@livetiles/reach-components-react 0.4.0-preview.543 → 0.4.0-preview.546

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
@@ -142,7 +142,7 @@ var Bhe=function(){return Bhe=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 $je(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}var Zje=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=$je(e),o=1;o<arguments.length;o++){for(var a in n=Object(arguments[o]))Yje.call(n,a)&&(i[a]=n[a]);if(Gje){r=Gje(n);for(var s=0;s<r.length;s++)Qje.call(n,r[s])&&(i[r[s]]=n[r[s]])}}return i},Jje="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",Xje=function(){};if("production"!==process.env.NODE_ENV){var eRe=Jje,tRe={},nRe=Function.call.bind(Object.prototype.hasOwnProperty);Xje=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}}function rRe(e,t,n,r,i){if("production"!==process.env.NODE_ENV)for(var o in e)if(nRe(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,eRe)}catch(e){a=e}if(!a||a instanceof Error||Xje((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 tRe)){tRe[a.message]=!0;var u=i?i():"";Xje("Failed "+n+" type: "+a.message+(null!=u?u:""))}}}rRe.resetWarningCache=function(){"production"!==process.env.NODE_ENV&&(tRe={})};var iRe=Se,oRe=Zje,aRe=Jje,sRe=rRe,uRe=Function.call.bind(Object.prototype.hasOwnProperty),cRe=function(){};function lRe(){return null}"production"!==process.env.NODE_ENV&&(cRe=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}});function dRe(){}function fRe(){}fRe.resetWarningCache=dRe;if("production"!==process.env.NODE_ENV){var pRe=Se;Wje.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(lRe),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+"]",aRe);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 iRe.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(uRe(s,c)){var d=e(s,c,r,i,o+"."+c,aRe);if(d instanceof Error)return d}return null}))},oneOf:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&cRe(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."),lRe;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&&cRe("Invalid argument supplied to oneOfType, expected an instance of array."),lRe;for(var t=0;t<e.length;t++){var n=e[t];if("function"!=typeof n)return cRe("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+f(n)+" at index "+t+"."),lRe}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,aRe))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,aRe);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=oRe({},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,aRe);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!==aRe){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&&(cRe("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=sRe,i.resetWarningCache=sRe.resetWarningCache,i.PropTypes=i,i}(pRe.isElement,!0)}else Wje.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:fRe,resetWarningCache:dRe};return n.PropTypes=n,n}();var hRe=Wje.exports,mRe=Object.freeze({__proto__:null,useCurrentUser:z0,useAccountApi:m1,useAuthenticationContext:HS,useEnvironmentConfig:Yg,useNotificationContext:F6,usePromise:FS,LinkContext:bE,TextLink:qTe,logger:vv,createId:bv,ResourceContext:IE,usePluginSettings:function(){var e=a(m3).settings;return null!=e?e:{}},usePluginStorage:f4,usePluginDeviceStore:f4,usePluginSubscriptionStore:function(){return a(m3).subscriptionStore},usePluginSubscriptionStoreValue:function(e,t){var n=this,r=a(m3).subscriptionStore,i=FS((function(){return r.get(e).catch(h4)}),void 0,HG(HG([],t||[]),[e])),o=i[0],s=i[1],u=i[2],c=i[3],l=i[4];return{data:o,set:function(t){return VG(n,void 0,void 0,(function(){var n;return KG(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),h4(e)}))];case 1:return[2,i.sent()]}}))}))},isLoading:s,error:u,refresh:l,remove:function(){return VG(n,void 0,void 0,(function(){var t;return KG(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),h4(e)}))];case 1:return[2,n.sent()]}}))}))}}},usePluginUserStore:function(){return a(m3).userStore},usePluginUserStoreValue:function(e,t){var n=this,r=a(m3).userStore,i=FS((function(){return r.get(e).catch(h4)}),void 0,HG(HG([],t||[]),[e])),o=i[0],s=i[1],u=i[2],c=i[3],l=i[4];return{data:o,set:function(t){return VG(n,void 0,void 0,(function(){var n;return KG(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),h4(e)}))];case 1:return[2,i.sent()]}}))}))},isLoading:s,error:u,refresh:l,remove:function(){return VG(n,void 0,void 0,(function(){var t;return KG(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),h4(e)}))];case 1:return[2,n.sent()]}}))}))}}},useReachApiEndPoints:function(){return{apiEndpoint:Gg().apiEndpoint}},AccountType:_0,PeoplePicker:Zwe,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=QC().formatMessage,d=n?s||a||"CheckboxComposite":a||"Checkbox";return e(qwe,Bhe({className:o},{children:r?e(Kwe,{},void 0):e(Cwe,Bhe({resourceKey:u},{children:e(Vwe,{iconProps:{iconName:d},onClick:function(){return i(!n)},ariaLabel:c?l({id:c}):null},void 0)}),void 0)}),void 0)},EditorSettingsDialog:Bwe,Spinner:L,SelectionMode:ee,EditorHighlight:function(t){var n=t.tooltipResourceKey,r=t.className,i=Uhe(t,["tooltipResourceKey","className"]);return e(Cwe,Bhe({resourceKey:n,className:r},{children:e(Iwe,Bhe({},i,{"data-highlight-bubble":!0}),void 0)}),void 0)},useTheme:function(){return a(_6).theme},useSubscriptionHandlePathBuilder:s3,useSubscriptionWebAppUrl:u3});var gRe,vRe=[{name:"@reach/core",packageDefinition:Bhe({default:{}},mRe)}],yRe=[{name:"react",packageDefinition:Bhe(Bhe({},o),{default:o})},{name:"react-dom",packageDefinition:Bhe(Bhe({},Me),{default:Me})},{name:"react-is",packageDefinition:Bhe(Bhe({},Se),{default:Se})},{name:"prop-types",packageDefinition:Bhe({default:hRe},hRe)},{name:"react-router-dom",packageDefinition:Bhe({},he)},{name:"styled-components",packageDefinition:{default:ke,createGlobalStyle:Ce,css:Ee,useTheme:Oe,isStyledComponent:Te,keyframes:Ne,withTheme:De,ThemeProvider:Ie,ThemeContext:Pe,ThemeConsumer:Ae}},{name:"office-ui-fabric-react",packageDefinition:{default:{},Checkbox:q,Label:V,PrimaryButton:A,Icon:j,Link:T,TextField:P,ActionButton:D,IconButton:O,DefaultButton:M,Spinner:L,Dropdown:K,ProgressIndicator:H,Shimmer:W,ShimmerElementsGroup:G,ShimmerElementType:Y,DirectionalHint:Q,PersonaSize:$,TooltipHost:B,DialogType:Z,Dialog:Ghe}},{name:"react-intl",packageDefinition:{default:{},FormattedMessage:hE,useIntl:QC,FormattedDate:mE,FormattedTime:gE,IntlProvider:iE}},{name:"@apollo/client",packageDefinition:{default:{},gql:Uj,useQuery:function(e,t){return aR(e,t,!1)},ApolloClient:Aj,ApolloProvider:Zj,from:cA,ApolloLink:uA,fromPromise:nA,split:lA,HttpLink:yA,InMemoryCache:pj,useLazyQuery:function(e,t){return aR(e,t,!0)},useMutation:function(e,t){var n=a(Qj()),r=d({called:!1,loading:!1}),i=r[0],o=r[1],s=t?ts(ts({},t),{mutation:e}):{mutation:e},u=c(),f=(u.current||(u.current=new rR({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:mj,useApolloClient:Jj,useSubscription:function(e,t){var n=p((function(e){return e+1}),0)[1],r=a(Qj()),i=t?ts(ts({},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 nR({options:i,context:r,setResult:u})),f.current);return h.setOptions(i,!0),h.context=r,__DEV__&&oR(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:cL}},{name:"@apollo/client/link/ws",packageDefinition:{default:{},WebSocketLink:SL}},{name:"@apollo/client/utilities",packageDefinition:{default:{},getMainDefinition:ZD}},{name:"@apollo/client/link/context",packageDefinition:{default:{},setContext:sR}}];ke.div.withConfig({displayName:"ColorEditor__Host",componentId:"sc-add00t-0"})(gRe||(gRe=Hhe(["\n .ms-ColorPicker-panel {\n padding: 0;\n }\n .ms-ColorPicker-table {\n table-layout: fixed;\n width: 100%;\n }\n\n @media (max-width: 900px) {\n margin-top: ","px;\n margin-left: 0;\n }\n"],["\n .ms-ColorPicker-panel {\n padding: 0;\n }\n .ms-ColorPicker-table {\n table-layout: fixed;\n width: 100%;\n }\n\n @media (max-width: 900px) {\n margin-top: ","px;\n margin-left: 0;\n }\n"])),20);var bRe=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 rs(void 0,void 0,void 0,(function(){return is(this,(function(e){return[2,null!=n||null!=a]}))}))},getCurrentEmail:function(){return rs(void 0,void 0,void 0,(function(){return is(this,(function(e){return[2,null]}))}))},setToken:s,onHandleError:function(e,t){return rs(void 0,void 0,void 0,(function(){return is(this,(function(n){return vv.error(e,t),[2,Promise.reject(e)]}))}))}}}),[i,a]);return e(KS.Provider,ts({value:c},{children:r}),void 0)},wRe="0.4.0-preview.543",xRe="103655",_Re="e2dc9ccb65e114eca5eb551fe42512c1b53021af",SRe=Ot,kRe=xt,CRe=ai("match"),ERe=function(e){var t;return SRe(e)&&(void 0!==(t=e[CRe])?!!t:"RegExp"==kRe(e))},IRe=ai("match"),ORe=function(e){if(ERe(e))throw TypeError("The method doesn't accept regular expressions");return e},TRe=kt,NRe=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[IRe]=!1,"/./"[e](t)}catch(e){}}return!1};Hr({target:"String",proto:!0,forced:!NRe("includes")},{includes:function(e){return!!~String(TRe(this)).indexOf(ORe(e),arguments.length>1?arguments[1]:void 0)}});var DRe,PRe,ARe={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"},oneSignal:{appId:"dd89af4f-325e-447e-a030-654043cfbc6a"}},MRe={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"},oneSignal:{appId:"47a684a5-e9e0-4aaf-84b8-9f3e6585b292"}},jRe=["//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"],RRe=function(t){var n=t.children,r=Gg().apiEndpoint,i=u((function(){return function(e){return"number"!=typeof e.maxFileSizeInMb&&(e.maxFileSizeInMb=parseInt(e.maxFileSizeInMb)),e}(function(){var e=!jRe.some((function(e){return r.toLowerCase().includes(e)}));if(!e)return vv.info("Will use non prod client config..."),ts({},ARe);return ts(ts({},ARe),MRe)}())}),[r]);return e(iv.Provider,ts({value:i},{children:n}),void 0)},LRe=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 rs(this,void 0,void 0,(function(){return is(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 rs(this,void 0,void 0,(function(){return is(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}(),FRe=new LRe,zRe=function(n){var r=n.subscriptionId,i=n.children;return n.shouldUsePublicAccess?e(BRe,ts({subscriptionId:r},{children:i}),void 0):e(t,{children:i},void 0)},BRe=function(n){var r=n.subscriptionId,i=n.children,o=a(KS).setToken,s=xE(),c=function(){var e=GV().fetchFromApi,t=YV();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=GV().fetchFromApi,d=a(yE),f=d.handleFatalError,p=d.handleAccessDeniedError,h=FS((function(){return rs(this,void 0,void 0,(function(){var e,t,n;return is(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 vv.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 vv.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)}))}},URe=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(yE.Provider,ts({value:h},{children:e(qRe,ts({fatalError:i,notFoundError:f,accessDeniedError:s},{children:n}),void 0)}),void 0)},qRe=function(n){var r=n.fatalError,i=n.accessDeniedError,o=n.notFoundError,a=n.children;return r?e(VRe,{messageId:r.messageId,error:r.error},void 0):i?e(VRe,{messageId:"AccessDenied.genericMessage",error:i.error},void 0):o?e(VRe,{messageId:"NotFound.message"},void 0):e(t,{children:a},void 0)},VRe=function(t){var r=t.messageId,i=t.error,o=QC().formatMessage,a=d(!1),s=a[0],u=a[1];return e(Mje,ts({errorType:Pje.GenericError,alertText:o({id:r||"FatalError.genericMessage"}),onClick:function(){return u(!s)}},{children:s&&n(KRe,{children:[e(hE,{id:"Generic.error.details"},void 0),e(HRe,{children:JSON.stringify(i)||"Not provided"},void 0)]},void 0)}),void 0)},KRe=ke.div.withConfig({displayName:"ReachErrorProvider__DetailsContainer",componentId:"sc-15225g3-0"})(DRe||(DRe=fs(["\n margin-top: ","px;\n"],["\n margin-top: ","px;\n"])),20),HRe=ke.p.withConfig({displayName:"ReachErrorProvider__Details",componentId:"sc-15225g3-1"})(PRe||(PRe=fs(["\n opacity: 0.4;\n font-size: small;\n"],["\n opacity: 0.4;\n font-size: small;\n"]))),WRe=function(t){var n=t.children,r=u3(),i=u((function(){return{onShare:function(){return rs(void 0,void 0,void 0,(function(){return is(this,(function(e){return[2,null]}))}))},onOpenExternalLink:o,tryGetInternalLink:function(){return null},changeHistory:a}}),[]);return e(bE.Provider,ts({value:i},{children:n}),void 0);function o(e){window.open(e,"_blank")}function a(e){window.open(""+r+e)}},GRe=function(){return null},YRe=Object.freeze({__proto__:null,Page:GRe,NavLinkSidebarItem:GRe,PageMenuActionItem:GRe});!function(){if(window.__is_reach_app)return;if(console.info("Reach Component Library: "+wRe+" ("+xRe+") ["+_Re+"]"),window.__did_initialize_reach_context)return;ce()}();var QRe=function(r){var i,o,s,c,d=null!=a(Wg);l((function(){var e,t;window.__did_initialize_reach_context||(window.__did_initialize_reach_context=!0,d||window.__is_reach_app||(v3.apply(void 0,Khe(["ReachCorePackages"],Khe(Khe([],yRe),vRe))),e=require("./"),t=[{name:"@livetiles/reach-components-react",packageDefinition:ts({default:{}},e)},{name:"@reach/chrome",packageDefinition:ts({default:{}},YRe)}],v3.apply(void 0,ls(["ReachComponentLibraryPackages"],t))))}),[]);var f=u((function(){var e,t,n,i,o,a,s,u;return{env:{deviceInfo:{},version:wRe,commitId:_Re,buildId:xRe},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?(vv.warn("A ReachContext already exists. Ignoring the given context: "+JSON.stringify(ts({subscriptionId:r.subscriptionId},r.config),null,2)),e(t,{children:r.children},void 0)):e("div",ts({className:tY},{children:e(Wg.Provider,ts({value:f},{children:e(we,{children:e(wE.Provider,ts({value:FRe},{children:e(RRe,{children:e(w0,ts({language:r.language},{children:e(S6,ts({disableUiFabricThemeOverwrite:r.disableUiFabricThemeOverwrite},{children:e(URe,{children:e(bRe,ts({onRequestToken:r.onRequestToken,subscriptionId:r.subscriptionId},{children:e(kE,ts({subscriptionId:r.subscriptionId},{children:e(zRe,ts({subscriptionId:r.subscriptionId,shouldUsePublicAccess:!r.onRequestToken},{children:e(WRe,{children:e(ZT.Provider,ts({value:{hideChrome:!1}},{children:e($Re,{children:e(jK,ts({gqlClientConfig:{endPoint:f.appConfig.api3Endpoint,webSocketsEndpoint:f.appConfig.webSocketsEndpoint}},{children:e(Q2,{children:e(t7,{children:n(H6,{children:[e(Q6,{},void 0),e(Ywe,{},void 0),e(ZRe,{},void 0),n(xe,{children:[e(_e,{path:"/:subscriptionHandleOrId",render:function(){return r.children}},void 0),e(_e,{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)},$Re=function(t){var n,r=t.children,i=a(_6).setTheme,o=a(IE).changeSettings,s=g1().getCurrentUser,c=FS((function(){var e,t;return rs(this,void 0,void 0,(function(){var n,r,a,u;return is(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=yS(n.preferredUiLanguage,vS(),null===(t=n.subscription)||void 0===t?void 0:t.defaultLanguage),a=dAe(n),o(r,a).then((function(){return null}),vv.error),[2,n];case 2:throw u=c.sent(),vv.error(u),u;case 3:return[2]}}))}))})),l=c[0],d=c[1],f=c[2],p=c[3],h=a(yE),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(L0.Provider,ts({value:y},{children:r}),void 0)},ZRe=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(ZG,{},void 0),e(eY,{},void 0)]},void 0)};var JRe=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,XRe=/[\0-\x1F\x7F-\x9F]/,eLe=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,tLe=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\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 nLe(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 rLe(e){return Object.prototype.toString.call(e)}function iLe(e){return"[object Function]"===rLe(e)}function oLe(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var aLe={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};var sLe={"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}}},uLe="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function cLe(e){var t=e.re=function(e){var t={};return t.src_Any=JRe.source,t.src_Cc=XRe.source,t.src_Z=eLe.source,t.src_P=tLe.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]"===rLe(e)}(n))return!function(e){return"[object RegExp]"===rLe(e)}(n.validate)?iLe(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(iLe(n.normalize)?r.normalize=n.normalize:n.normalize?o(t,n):r.normalize=function(e,t){t.normalize(e)});!function(e){return"[object String]"===rLe(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(oLe).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 lLe(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 dLe(e,t){var n=new lLe(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function fLe(e,t){if(!(this instanceof fLe))return new fLe(e,t);t||function(e){return Object.keys(e||{}).reduce((function(e,t){return e||aLe.hasOwnProperty(t)}),!1)}(e)&&(t=e,e={}),this.__opts__=nLe({},aLe,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=nLe({},sLe,e),this.__compiled__={},this.__tlds__=uLe,this.__tlds_replaced__=!1,this.re={},cLe(this)}fLe.prototype.add=function(e,t){return this.__schemas__[e]=t,cLe(this),this},fLe.prototype.set=function(e){return this.__opts__=nLe(this.__opts__,e),this},fLe.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},fLe.prototype.pretest=function(e){return this.re.pretest.test(e)},fLe.prototype.testSchemaAt=function(e,t,n){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,n,this):0},fLe.prototype.match=function(e){var t=0,n=[];this.__index__>=0&&this.__text_cache__===e&&(n.push(dLe(this,t)),t=this.__last_index__);for(var r=t?e.slice(t):e;this.test(r);)n.push(dLe(this,t)),r=r.slice(this.__last_index__),t+=this.__last_index__;return n.length?n:null},fLe.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(),cLe(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,cLe(this),this)},fLe.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},fLe.prototype.onCompile=function(){};var pLe=fLe;function hLe(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 mLe(){return mLe=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},mLe.apply(this,arguments)}function gLe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vLe(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 yLe(e,t,n){return t&&vLe(e.prototype,t),n&&vLe(e,n),e}function bLe(e){return bLe="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},bLe(e)}function wLe(e){return wLe="function"==typeof Symbol&&"symbol"===bLe(Symbol.iterator)?function(e){return bLe(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":bLe(e)},wLe(e)}function xLe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _Le(e,t){return!t||"object"!==wLe(t)&&"function"!=typeof t?xLe(e):t}function SLe(e){return SLe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},SLe(e)}function kLe(e,t){return kLe=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},kLe(e,t)}function CLe(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&&kLe(e,t)}function ELe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ILe(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 OLe(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 TLe(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 NLe(e){return function(e){if(Array.isArray(e))return TLe(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 TLe(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)?TLe(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 DLe=function(e){return e===Object(e)?Object.keys(e):[]},PLe=function(e){return e===Object(e)?Object.values(e):[]};function ALe(e,t){var n=Object.assign({},e);return RLe(e)&&RLe(t)&&DLe(t).forEach((function(r){RLe(t[r])&&r in e?n[r]=ALe(e[r],t[r]):Object.assign(n,r9({},r,t[r]))})),n}var MLe=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 ALe(e,t)}),e)},jLe=function(e,t){var n=Object.assign({},e);if(t)for(var r=0;r<t.length;r++)delete n[t[r]];return n},RLe=function(e){return!(e!==Object(e)||e instanceof Date||Array.isArray(e))},LLe=function(e){return(e||[]).filter(Boolean)},FLe=function(e){return"&"===e[0]},zLe=function(e){return!FLe(e)},BLe=function(e){return e.replace(/-(\w)/g,(function(e,t){return t.toUpperCase()}))},ULe=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=DLe(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},qLe=function(e,t){for(var n=t.map(BLe),r=DLe(e),i={},o=0,a=r.length;o<a;o+=1){var s=r[o];(t.indexOf(s)>=0||n.indexOf(BLe(s))>=0)&&(i[s]=e[s])}return i},VLe=function e(t,n){for(var r=MLe.apply(void 0,[{},jLe(t,n)].concat(NLe(PLe(qLe(t,n))))),i=DLe(r).filter(FLe),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=MLe({},r,u)):r[s]=u}return r};function KLe(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?KLe(Object(n),!0).forEach((function(t){r9(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):KLe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var WLe=["animationName"],GLe=function(e){var t=e.style,n=e.className;return HLe(HLe({},t?{style:ULe(t,WLe)}:{}),n?{className:n}:{})},YLe=s(GLe);YLe.Provider;var QLe=function(e){if(!e)return[];if("string"==typeof e)return[e];if(!Array.isArray(e)){var t=e;return DLe(e).reduce((function(e,n){return e.concat(t[n]?[n]:[])}),[])}return e},$Le={},ZLe=function(e){return function(t,n){var r,i=n||$Le;e.memoize=e.memoize||new WeakMap,e.memoize.has(i)?r=e.memoize.get(i):(r={},e.memoize.set(i,r));var o=QLe(t).join(" ");return o in r?r[o]:r[o]=e(t||[],n)}};function JLe(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 XLe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?JLe(Object(n),!0).forEach((function(t){r9(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):JLe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var eFe=function(e){var t=e&&DLe(e)[0];return t&&t.split("__")[0].split("--")[0]},tFe=function(e,t,n){if(e){var r=e.split(" ")[0],i=[].concat(NLe(0===t.length?n.map((function(e){return"".concat(r,"--").concat(e.substring(1))})):[]),NLe(t.map((function(e){return"".concat(r,"__").concat(e)}))));return 0===t.length?[e].concat(NLe(i)):i}};function nFe(e){var t=e.style,n=e.className,r=e.classNames,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:GLe,o=n||eFe(r)||(null==t?void 0:t.className),a="function"==typeof t?t:ZLe((function(e,n){var a=QLe(e);Fhe(Array.isArray(a),"First parameter must be a string, an array of strings, a plain object with boolean values, or a falsy value."),Fhe(!n||RLe(n),"Optional second parameter must be a plain object.");var s=a.filter(FLe),u=a.filter(zLe),c=u.length>0?function(e){return PLe(qLe(e,u))}:function(e){return[e]},l=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return c(VLe(e,s))},d=tFe(o,u,s);return nFe(XLe(XLe(XLe({},(t||n)&&{style:MLe.apply(void 0,[{}].concat(NLe(l(n)),NLe(l(t))))}),d&&{className:d.join(" ")}),r&&{classNames:r}),i)})),s=XLe({},"function"==typeof t?t:{style:t}),u=NLe(new Set([].concat(NLe(s.className?s.className.split(" "):[]),NLe(o?o.split(" "):[])))),c=r?LLe(u.map((function(e){return r[e]}))):u,l=i(XLe(XLe({},s),c.length>0?{className:c.join(" ")}:{}));return Object.assign(a,l),a}function rFe(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 iFe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?rFe(Object(n),!0).forEach((function(t){r9(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):rFe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var oFe=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 iFe(iFe(iFe({},e),"function"==typeof t?t:{}),{},{style:iFe(iFe({},e.style),"function"==typeof t?t.style:t)})}),{})},aFe=function(e,t,n){var r=t.style,i=t.className,o=t.classNames,s=a(YLe);return u((function(){return nFe({style:r,className:i,classNames:o},s)}),[r,i,o,s])(n,e)},sFe=function(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")},uFe="__id__",cFe="__display__",lFe=function(e,t){Fhe("id"===t||"display"===t,'Second arg must be either "id" or "display", got: "'.concat(t,'"'));var n=e.indexOf(cFe),r=e.indexOf(uFe);return n<0&&(n=null),r<0&&(r=null),Fhe(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},dFe=function(e){var t=/^\/(.+)\/(\w+)?$/;return new RegExp(e.map((function(e){var n=ILe(t.exec(e.toString()),3),r=n[1],i=n[2];return Fhe(!i,"RegExp flags are not supported. Change /".concat(r,"/").concat(i," into /").concat(r,"/")),"(".concat(r,")")})).join("|"),"g")},fFe=function(e){var t=0;return e.indexOf("__id__")>=0&&t++,e.indexOf("__display__")>=0&&t++,t},pFe=function(){},hFe=function(e,t,n){for(var r,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:pFe,o=dFe(t.map((function(e){return e.regex}))),a=2,s=t.map((function(e){var t=e.markup,n=a;return a+=fFe(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+lFe(p,"id"),g=l+lFe(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)},mFe=function(e,t){var n="";return hFe(e,t,(function(e,t,r,i,o){n+=o}),(function(e){n+=e})),n},gFe=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 hFe(e,t,a,o),void 0===r?e.length:r},vFe=function(e,t,n,r){return e.substring(0,t)+r+e.substring(n)},yFe=function(e,t){var n=[];return hFe(e,t,(function(e,t,r,i,o,a,s){n.push({id:i,display:o,childIndex:a,index:t,plainTextIndex:r})})),n},bFe=function(e,t){return"".concat(e,"-").concat(t)},wFe=function(e){return Object.values(e).reduce((function(e,t){return e+t.results.length}),0)},xFe=function(e){var t=sFe(e),n=e[e.indexOf(cFe)+cFe.length],r=e[e.indexOf(uFe)+uFe.length];return new RegExp(t.replace(cFe,"([^".concat(sFe(n||""),"]+?)")).replace(uFe,"([^".concat(sFe(r||""),"]+?)")))},_Fe=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?SFe(r,n):xFe(n),displayTransform:i||function(e,t){return t||e}}}))},SFe=function(e,t){var n=new RegExp(e.toString()+"|").exec("").length-1,r=fFe(t);return Fhe(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},kFe=[{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}],CFe=function(e){return function(e){var t=e;return kFe.forEach((function(e){t=t.replace(e.letters,e.base)})),t}(e).toLowerCase()},EFe=function(e,t,n){return n?CFe(e).indexOf(CFe(t)):e.toLowerCase().indexOf(t.toLowerCase())},IFe=function(e){return"number"==typeof e},OFe=function(e){return e===Object(e)?Object.keys(e):[]},TFe=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 NFe(e,t){return function(n){var r=function(r){var i=r.style,a=r.className,s=r.classNames,u=OLe(r,["style","className","classNames"]),c=t?t(u):void 0,l=aFe(e,{style:i,className:a,classNames:s},c);return o.createElement(n,mLe({},u,{style:l}))},i=n.displayName||n.name||"Component";return r.displayName="defaultStyle(".concat(i,")"),r}}var DFe=function(e){function t(){var e;return gLe(this,t),ELe(xLe(e=_Le(this,SLe(t).apply(this,arguments))),"setCaretElement",(function(t){e.caretElement=t})),e.state={left:void 0,top:void 0},e}return CLe(t,v),yLe(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=_Fe(u);r===i&&(e=gFe(a,l,r,"START"));var d=[],f={},p=d,h=0;return hFe(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(IFe(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",mLe({},s,{ref:c}),d)}},{key:"renderSubstring",value:function(e,t){return o.createElement("span",mLe({},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",mLe({},this.props.style("caret"),{ref:this.setCaretElement,key:"caret"}),e)}}]),t}();ELe(DFe,"propTypes",{selectionStart:IW.number,selectionEnd:IW.number,value:IW.string.isRequired,onCaretPositionChange:IW.func.isRequired,containerRef:IW.oneOfType([IW.func,IW.shape({current:"undefined"==typeof Element?IW.any:IW.instanceOf(Element)})]),children:IW.oneOfType([IW.element,IW.arrayOf(IW.element)]).isRequired}),ELe(DFe,"defaultProps",{value:""});var PFe=NFe({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}}))(DFe),AFe=function(e){function t(){return gLe(this,t),_Le(this,SLe(t).apply(this,arguments))}return CLe(t,v),yLe(t,[{key:"render",value:function(){var e=TFe(this.props,["style","classNames","className"],OFe(t.propTypes));return o.createElement("li",mLe({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=EFe(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}();ELe(AFe,"propTypes",{id:IW.string.isRequired,query:IW.string.isRequired,index:IW.number.isRequired,ignoreAccents:IW.bool,suggestion:IW.oneOfType([IW.string,IW.shape({id:IW.oneOfType([IW.string,IW.number]).isRequired,display:IW.string})]).isRequired,renderSuggestion:IW.func,focused:IW.bool});var MFe=NFe({cursor:"pointer"},(function(e){return{"&focused":e.focused}}))(AFe);function jFe(){var e=aFe(),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 RFe=function(e){function t(){var e,n;gLe(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return ELe(xLe(n=_Le(this,(e=SLe(t)).call.apply(e,[this].concat(i)))),"handleMouseEnter",(function(e,t){n.props.onMouseEnter&&n.props.onMouseEnter(e)})),ELe(xLe(n),"select",(function(e,t){n.props.onSelect(e,t)})),ELe(xLe(n),"setUlElement",(function(e){n.ulElement=e})),n}return CLe(t,v),yLe(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",mLe({},oFe({position:u||"absolute",left:c,top:l},i),{onMouseDown:a,ref:s}),o.createElement("ul",mLe({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(hLe(t),hLe(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(MFe,{style:this.props.style("item"),key:"".concat(a,"-").concat(LFe(e)),id:bFe(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(jFe,{style:this.props.style("loadingIndicator")})}}]),t}();ELe(RFe,"propTypes",{id:IW.string.isRequired,suggestions:IW.object.isRequired,a11ySuggestionsListLabel:IW.string,focusIndex:IW.number,position:IW.string,left:IW.number,top:IW.number,scrollFocusedIntoView:IW.bool,isLoading:IW.bool,isOpened:IW.bool.isRequired,onSelect:IW.func,ignoreAccents:IW.bool,containerRef:IW.oneOfType([IW.func,IW.shape({current:"undefined"==typeof Element?IW.any:IW.instanceOf(Element)})]),children:IW.oneOfType([IW.element,IW.arrayOf(IW.element)]).isRequired}),ELe(RFe,"defaultProps",{suggestions:{},onSelect:function(){return null}});var LFe=function(e){return"string"==typeof e?e:e.id},FFe=NFe({zIndex:1,backgroundColor:"white",marginTop:14,minWidth:100,list:{margin:0,padding:0,listStyleType:"none"}})(RFe);function zFe(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 BFe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?zFe(n,!0).forEach((function(t){ELe(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):zFe(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var UFe={TAB:9,RETURN:13,ESC:27,UP:38,DOWN:40},qFe=!1,VFe={singleLine:IW.bool,allowSpaceInQuery:IW.bool,allowSuggestionsAboveCursor:IW.bool,forceSuggestionsAboveCursor:IW.bool,ignoreAccents:IW.bool,a11ySuggestionsListLabel:IW.string,value:IW.string,onKeyDown:IW.func,onSelect:IW.func,onBlur:IW.func,onChange:IW.func,suggestionsPortalHost:"undefined"==typeof Element?IW.any:IW.PropTypes.instanceOf(Element),inputRef:IW.oneOfType([IW.func,IW.shape({current:"undefined"==typeof Element?IW.any:IW.instanceOf(Element)})]),children:IW.oneOfType([IW.element,IW.arrayOf(IW.element)]).isRequired},KFe=function(e){function t(e){var n;return gLe(this,t),ELe(xLe(n=_Le(this,SLe(t).call(this,e))),"setContainerElement",(function(e){n.containerElement=e})),ELe(xLe(n),"getInputProps",(function(){var e=n.props,t=e.readOnly,r=e.disabled,i=e.style;return BFe({},TFe(n.props,["style","classNames","className"],OFe(VFe)),{},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":bFe(n.uuidSuggestionsOverlay,n.state.focusIndex)})})),ELe(xLe(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))})),ELe(xLe(n),"renderInput",(function(e){return o.createElement("input",mLe({type:"text",ref:n.setInputRef},e))})),ELe(xLe(n),"renderTextarea",(function(e){return o.createElement("textarea",mLe({ref:n.setInputRef},e))})),ELe(xLe(n),"setInputRef",(function(e){n.inputElement=e;var t=n.props.inputRef;"function"==typeof t?t(e):t&&(t.current=e)})),ELe(xLe(n),"setSuggestionsElement",(function(e){n.suggestionsElement=e})),ELe(xLe(n),"renderSuggestionsOverlay",(function(){if(!IFe(n.state.selectionStart))return null;var e=n.state.suggestionsPosition,t=e.position,r=e.left,i=e.top,a=o.createElement(FFe,{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?je.createPortal(a,n.props.suggestionsPortalHost):a})),ELe(xLe(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(PFe,{containerRef:n.setHighlighterElement,style:c("highlighter"),value:u,singleLine:a,selectionStart:t,selectionEnd:r,onCaretPositionChange:n.handleCaretPositionChange},s)})),ELe(xLe(n),"setHighlighterElement",(function(e){n.highlighterElement=e})),ELe(xLe(n),"handleCaretPositionChange",(function(e){n.setState({caretPosition:e})})),ELe(xLe(n),"getPlainText",(function(){return mFe(n.props.value||"",_Fe(n.props.children))})),ELe(xLe(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})),ELe(xLe(n),"handleChange",(function(e){if(qFe=!1,(document.activeElement&&document.activeElement.contentDocument||document).activeElement===e.target){var t=n.props.value||"",r=_Fe(n.props.children),i=e.target.value,o=function(e,t,n,r){var i=n.selectionStartBefore,o=n.selectionEndBefore,a=n.selectionEndAfter,s=mFe(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=gFe(e,r,l,"START"),p=gFe(e,r,d,"END"),h=gFe(e,r,l,"NULL"),m=gFe(e,r,d,"NULL"),g=null===h||null===m,v=vFe(e,f,p,c);if(!g){var y=mFe(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=gFe(e,r,l,"START"),p=gFe(e,r,d,"END"),v=vFe(e,f,p,c)}}return v}(t,i,{selectionStartBefore:n.state.selectionStart,selectionEndBefore:n.state.selectionEnd,selectionEndAfter:e.target.selectionEnd},r);i=mFe(o,r);var a=e.target.selectionStart,s=e.target.selectionEnd,u=!1,c=function(e,t,n){var r=n,i=!1;if(hFe(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=yFe(o,r),d={target:{value:o}};n.executeOnChange(d,o,i,l)}})),ELe(xLe(n),"handleSelect",(function(e){if(n.setState({selectionStart:e.target.selectionStart,selectionEnd:e.target.selectionEnd}),!qFe){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)}})),ELe(xLe(n),"handleKeyDown",(function(e){if(0!==wFe(n.state.suggestions)&&n.suggestionsElement)switch(Object.values(UFe).indexOf(e.keyCode)>=0&&(e.preventDefault(),e.stopPropagation()),e.keyCode){case UFe.ESC:return void n.clearSuggestions();case UFe.DOWN:return void n.shiftFocus(1);case UFe.UP:return void n.shiftFocus(-1);case UFe.RETURN:case UFe.TAB:return void n.selectFocused();default:return}else n.props.onKeyDown(e)})),ELe(xLe(n),"shiftFocus",(function(e){var t=wFe(n.state.suggestions);n.setState({focusIndex:(t+n.state.focusIndex+e)%t,scrollFocusedIntoView:!0})})),ELe(xLe(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(hLe(e),hLe(n.map((function(e){return{result:e,queryInfo:r}}))))}),[])[r],o=i.result,a=i.queryInfo;n.addMention(o,a),n.setState({focusIndex:0})})),ELe(xLe(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)})),ELe(xLe(n),"handleSuggestionsMouseDown",(function(e){n._suggestionsMouseDown=!0})),ELe(xLe(n),"handleSuggestionsMouseEnter",(function(e){n.setState({focusIndex:e,scrollFocusedIntoView:!1})})),ELe(xLe(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=HFe(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-=HFe(a,"margin-left"),h-=HFe(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})}}})),ELe(xLe(n),"updateHighlighterScroll",(function(){var e=n.inputElement,t=n.highlighterElement;e&&t&&(t.scrollLeft=e.scrollLeft,t.scrollTop=e.scrollTop,t.height=e.height)})),ELe(xLe(n),"handleCompositionStart",(function(){qFe=!0})),ELe(xLe(n),"handleCompositionEnd",(function(){qFe=!1})),ELe(xLe(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()}}})),ELe(xLe(n),"updateMentionsQueries",(function(e,t){n._queryId++,n.suggestions={},n.setState({suggestions:{}});var r=n.props.value||"",i=n.props.children,a=_Fe(i),s=gFe(r,a,t,"NULL");if(null!==s){var u=function(e,t){var n=yFe(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=sFe(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)}}}))}})),ELe(xLe(n),"clearSuggestions",(function(){n._queryId++,n.suggestions={},n.setState({suggestions:{},focusIndex:0})})),ELe(xLe(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;EFe(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)})),ELe(xLe(n),"updateSuggestions",(function(e,t,r,i,o,a,s){if(e===n._queryId){n.suggestions=BFe({},n.suggestions,ELe({},t,{queryInfo:{childIndex:t,query:r,querySequenceStart:i,querySequenceEnd:o,plainTextValue:a},results:s}));var u=n.state.focusIndex,c=wFe(n.suggestions);n.setState({suggestions:n.suggestions,focusIndex:u>=c?Math.max(c-1,0):u})}})),ELe(xLe(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=_Fe(n.props.children),d=h.toArray(n.props.children)[o].props,f=d.markup,p=d.displayTransform,m=d.appendSpaceOnAdd,g=d.onAdd,v=gFe(c,l,a,"START"),y=v+s-a,b=function(e,t,n){return e.replace(uFe,t).replace(cFe,n)}(f,r,i);m&&(b+=" ");var w=vFe(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=yFe(w,l),C=vFe(u,a,s,x);n.executeOnChange(S,w,C,k),g&&g(r,i,v,y),n.clearSuggestions()})),ELe(xLe(n),"isLoading",(function(){var e=!1;return o.Children.forEach(n.props.children,(function(t){e=e||t&&t.props.isLoading})),e})),ELe(xLe(n),"isOpened",(function(){return IFe(n.state.selectionStart)&&(0!==wFe(n.state.suggestions)||n.isLoading())})),ELe(xLe(n),"_queryId",0),n.suggestions={},n.uuidSuggestionsOverlay=Math.random().toString(16).substring(2),n.handleCopy=n.handleCopy.bind(xLe(n)),n.handleCut=n.handleCut.bind(xLe(n)),n.handlePaste=n.handlePaste.bind(xLe(n)),n.state={focusIndex:0,selectionStart:null,selectionEnd:null,suggestions:{},caretPosition:null,suggestionsPosition:{}},n}return CLe(t,o.Component),yLe(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",mLe({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=_Fe(a),u=gFe(o,s,n,"START"),c=gFe(o,s,r,"END"),l=e.clipboardData.getData("text/react-mentions"),d=e.clipboardData.getData("text/plain"),f=vFe(o,u,c,l||d).replace(/\r/g,""),p=mFe(f,s),h={target:BFe({},e.target,{value:f})};this.executeOnChange(h,f,p,yFe(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=_Fe(o),u=gFe(a,s,n,"START"),c=gFe(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=_Fe(o),u=gFe(a,s,n,"START"),c=gFe(a,s,r,"END"),l=[a.slice(0,u),a.slice(c)].join(""),d=mFe(l,s),f={target:BFe({},e.target,{value:d})};this.executeOnChange(f,l,d,yFe(a,s))}}}]),t}();ELe(KFe,"propTypes",VFe),ELe(KFe,"defaultProps",{ignoreAccents:!1,singleLine:!1,allowSuggestionsAboveCursor:!1,onKeyDown:function(){return null},onSelect:function(){return null},onBlur:function(){return null}});var HFe=function(e,t){var n=parseFloat(window.getComputedStyle(e,null).getPropertyValue(t));return isFinite(n)?n:0},WFe=NFe({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:BFe({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}}))(KFe),GFe={fontWeight:"inherit"},YFe=function(e){var t=e.display,n=e.style,r=e.className,i=e.classNames,a=aFe(GFe,{style:n,className:r,classNames:i});return o.createElement("strong",a,t)};YFe.propTypes={onAdd:IW.func,onRemove:IW.func,renderSuggestion:IW.func,trigger:IW.oneOfType([IW.string,IW.instanceOf(RegExp)]),markup:IW.string,displayTransform:IW.func,allowSpaceInQuery:IW.bool,isLoading:IW.bool},YFe.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 QFe=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 $Fe(e,t){var n=function(e){var t=e.name;if(t&&-1!==t.lastIndexOf(".")&&!e.type){var n=t.split(".").pop().toLowerCase(),r=QFe.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 ZFe=[".DS_Store","Thumbs.db"];function JFe(e){return rs(this,void 0,void 0,(function(){return is(this,(function(t){return[2,(n=e,n.dataTransfer&&e.dataTransfer?eze(e.dataTransfer,e.type):XFe(e))];var n}))}))}function XFe(e){return(null!==e.target&&e.target.files?nze(e.target.files):[]).map((function(e){return $Fe(e)}))}function eze(e,t){return rs(this,void 0,void 0,(function(){var n;return is(this,(function(r){switch(r.label){case 0:return e.items?(n=nze(e.items).filter((function(e){return"file"===e.kind})),"drop"!==t?[2,n]:[4,Promise.all(n.map(rze))]):[3,2];case 1:return[2,tze(ize(r.sent()))];case 2:return[2,tze(nze(e.files).map((function(e){return $Fe(e)})))]}}))}))}function tze(e){return e.filter((function(e){return-1===ZFe.indexOf(e.name)}))}function nze(e){for(var t=[],n=0;n<e.length;n++){var r=e[n];t.push(r)}return t}function rze(e){if("function"!=typeof e.webkitGetAsEntry)return oze(e);var t=e.webkitGetAsEntry();return t&&t.isDirectory?sze(t):oze(e)}function ize(e){return e.reduce((function(e,t){return us(e,Array.isArray(t)?ize(t):[t])}),[])}function oze(e){var t=e.getAsFile();if(!t)return Promise.reject(e+" is not a File");var n=$Fe(t);return Promise.resolve(n)}function aze(e){return rs(this,void 0,void 0,(function(){return is(this,(function(t){return[2,e.isDirectory?sze(e):uze(e)]}))}))}function sze(e){var t=e.createReader();return new Promise((function(e,n){var r=[];!function i(){var o=this;t.readEntries((function(t){return rs(o,void 0,void 0,(function(){var o,a,s;return is(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(aze)),r.push(s),i(),u.label=6;case 6:return[2]}}))}))}),(function(e){n(e)}))}()}))}function uze(e){return rs(this,void 0,void 0,(function(){return is(this,(function(t){return[2,new Promise((function(t,n){e.file((function(n){var r=$Fe(n,e.fullPath);t(r)}),(function(e){n(e)}))}))]}))}))}function cze(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 lze(e,t,n){if(dze(e.size)){if(dze(t)&&dze(n))return e.size>=t&&e.size<=n;if(dze(t))return e.size>=t;if(dze(n))return e.size<=n}return!0}function dze(e){return null!=e}function fze(e,t,n,r){return e.every((function(e){return cze(e,t)&&lze(e,n,r)}))}function pze(e){return"function"==typeof e.isPropagationStopped?e.isPropagationStopped():void 0!==e.cancelBubble&&e.cancelBubble}function hze(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 mze(e){e.preventDefault()}function gze(e){return-1!==e.indexOf("MSIE")||-1!==e.indexOf("Trident/")}function vze(e){return-1!==e.indexOf("Edge/")}function yze(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.navigator.userAgent;return gze(e)||vze(e)}function bze(){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!pze(e)&&t&&t.apply(void 0,[e].concat(r)),pze(e)}))}}function wze(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 xze(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 _ze(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 Sze(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_ze(n,!0).forEach((function(t){kze(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_ze(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function kze(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Cze(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 Eze=w((function(e,t){var n=e.children,r=Oze(Cze(e,["children"])),i=r.open,a=Cze(r,["open"]);return S(t,(function(){return{open:i}}),[i]),o.createElement(k,null,n(Sze({},a,{open:i})))}));Eze.displayName="Dropzone",Eze.propTypes={children:IW.func,accept:IW.oneOfType([IW.string,IW.arrayOf(IW.string)]),multiple:IW.bool,preventDropOnDocument:IW.bool,noClick:IW.bool,noKeyboard:IW.bool,noDrag:IW.bool,noDragEventsBubbling:IW.bool,minSize:IW.number,maxSize:IW.number,disabled:IW.bool,getFilesFromEvent:IW.func,onFileDialogCancel:IW.func,onDragEnter:IW.func,onDragLeave:IW.func,onDragOver:IW.func,onDrop:IW.func,onDropAccepted:IW.func,onDropRejected:IW.func};var Ize={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,draggedFiles:[],acceptedFiles:[],rejectedFiles:[]};function Oze(){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?JFe: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,P=e.noDragEventsBubbling,A=void 0!==P&&P,M=c(null),j=c(null),R=p(Tze,Ize),L=xze(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||(yze()?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",mze,!1),document.addEventListener("drop",$,!1)),function(){C&&(document.removeEventListener("dragover",mze),document.removeEventListener("drop",$))}}),[M,C]);var Z=f((function(e){e.preventDefault(),e.persist(),ie(e),-1===Q.current.indexOf(e.target)&&(Q.current=[].concat(wze(Q.current),[e.target])),hze(e)&&Promise.resolve(o(e)).then((function(t){pze(e)&&!A||(z({draggedFiles:t,isDragActive:!0,type:"setDraggedFiles"}),v&&v(e))}))}),[o,v,A]),J=f((function(e){if(e.preventDefault(),e.persist(),ie(e),e.dataTransfer)try{e.dataTransfer.dropEffect="copy"}catch(e){}return hze(e)&&b&&b(e),!1}),[b,A]),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:[]}),hze(e)&&y&&y(e))}),[M,y,A]),ee=f((function(e){e.preventDefault(),e.persist(),ie(e),Q.current=[],z({type:"reset"}),hze(e)&&Promise.resolve(o(e)).then((function(n){if(!pze(e)||A){var r=[],i=[];n.forEach((function(e){cze(e,t)&&lze(e,h,s)?r.push(e):i.push(e)})),!g&&r.length>1&&i.push.apply(i,wze(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,_,A]),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){A&&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=Cze(e,["refKey","onKeyDown","onFocus","onBlur","onClick","onDragEnter","onDragOver","onDragLeave","onDrop"]);return Sze(kze({onKeyDown:ne(bze(i,H)),onFocus:ne(bze(o,W)),onBlur:ne(bze(a,G)),onClick:te(bze(s,Y)),onDragEnter:re(bze(u,Z)),onDragOver:re(bze(c,J)),onDragLeave:re(bze(l,X)),onDrop:re(bze(d,ee))},n,M),r||T?{}:{tabIndex:0},{},f)}}),[M,H,W,G,Y,Z,J,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=Cze(e,["refKey","onChange","onClick"]),s=kze({accept:t,multiple:g,type:"file",style:{display:"none"},onChange:te(bze(i,ee)),onClick:te(bze(o,ae)),autoComplete:"off",tabIndex:-1},r,j);return Sze({},s,{},a)}}),[j,t,g,ee,r]),ue=q.length,ce=g||ue<=1,le=ue>0&&fze(q,t,h,s),de=ue>0&&(!le||!ce);return Sze({},F,{isDragAccept:le,isDragReject:de,isFocused:B&&!r,getRootProps:oe,getInputProps:se,rootRef:M,inputRef:j,open:te(V)})}function Tze(e,t){switch(t.type){case"focus":return Sze({},e,{isFocused:!0});case"blur":return Sze({},e,{isFocused:!1});case"openDialog":return Sze({},e,{isFileDialogActive:!0});case"closeDialog":return Sze({},e,{isFileDialogActive:!1});case"setDraggedFiles":var n=t.isDragActive;return Sze({},e,{draggedFiles:t.draggedFiles,isDragActive:n});case"setFiles":return Sze({},e,{acceptedFiles:t.acceptedFiles,rejectedFiles:t.rejectedFiles});case"reset":return Sze({},e,{isFileDialogActive:!1,isDragActive:!1,draggedFiles:[]});default:return e}}var Nze={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}))}(Nze);var Dze,Pze=Nze.exports;!function(e){e.BOTH="both",e.MOUSE="mouse",e.TOUCH="touch"}(Dze||(Dze={}));var Aze={exports:{}},Mze=st(Aze.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="",P=void 0,A=(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=A(g))[r.toLowerCase()]:g;var o=N===+a;D=i+" "+(o?n:""),P=!0===o&&null!=c?Object.assign({},y,c):y;var u={children:r,className:D,key:t,style:P};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}}])),jze={exports:{}},Rze=(jze.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 P(e,t,0)}function D(e,t){return P(e,t,t)}function P(e,t,n){return void 0===e?n:e<0?Math.max(0,t+e):void 0===t?e:Math.min(t,e)}var A=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=A,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 Z,J,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 Z||(Z=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(J)return J;J=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(!Ae){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!==Pe&&!1===Pe(e))throw new Error("Non-extensible objects are not allowed as keys.");if(Ae)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 Pe=Object.isExtensible,Ae=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 Ze(e,t,n){this.ownerID=e,this.count=t,this.nodes=n}function Je(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===Je}function ut(e,t,n,r,i){if(e.keyHash===r)return new Je(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 Ze(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)},Ze.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},Ze.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 Ze(e,f,h)},Je.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},Je.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 Je(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=Je.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=Ze.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?At(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=Pt(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=Pt(this,t);(n=i())!==Dt&&!1!==e(n,r++,this););return r},kt.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?At(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 Pt(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 At(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=At(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):At(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):At(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 Zt(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?A:M,n)},t}function Jt(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=Zt(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===A?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===A?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=Jt(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[Pn])}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,Pn="@@__IMMUTABLE_SET__@@",An=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(An);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)}An[Pn]=!0,An[m]=An.remove,An.mergeDeep=An.merge,An.mergeDeepWith=An.mergeWith,An.withMutations=Ye.withMutations,An.asMutable=Ye.asMutable,An.asImmutable=Ye.asImmutable,An.__empty=Rn,An.__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(A)},map:function(e,t){return mn(this,Jt(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 Zn=n.prototype;Zn[d]=!0,Zn[F]=Zn.values,Zn.__toJS=Zn.toArray,Zn.__toStringMapper=rr,Zn.inspect=Zn.toSource=function(){return this.toString()},Zn.chain=Zn.flatMap,Zn.contains=Zn.includes,function(){try{Object.defineProperty(Zn,"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,Zt(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 Jn=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 Jn[f]=!0,Jn[F]=Zn.entries,Jn.__toJS=Zn.toObject,Jn.__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=Zn.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,Lze={createFromArray:function(e){return Rze(e.map((function(e){return[e.getKey(),e]})))}},Fze=Lze;var zze=jze.exports,Bze=zze.Map,Uze=zze.OrderedSet,qze=zze.Record,Vze=Uze(),Kze={style:Vze,entity:null},Hze=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 Wze;var t=Bze({style:Vze,entity:null}).merge(e),n=Gze.get(t);if(n)return n;var i=new r(t);return Gze=Gze.set(t,i),i},r.fromJS=function(e){var t=e.style,n=e.entity;return new r({style:Array.isArray(t)?Uze(t):t,entity:Array.isArray(n)?Uze(n):n})},r}(qze(Kze)),Wze=new Hze,Gze=Bze([[Bze(Kze),Wze]]);Hze.EMPTY=Wze;var Yze=Hze;var Qze=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 $ze=Yze,Zze=Qze,Jze=jze.exports,Xze=Jze.List,eBe=Jze.Map,tBe=Jze.OrderedSet,nBe=Jze.Record,rBe=Jze.Repeat,iBe=tBe(),oBe=nBe({key:"",type:"unstyled",text:"",characterList:Xze(),depth:0,data:eBe()}),aBe=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=Xze(rBe($ze.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():iBe},i.getEntityAt=function(e){var t=this.getCharacterList().get(e);return t?t.getEntity():null},i.findStyleRanges=function(e,t){Zze(this.getCharacterList(),sBe,e,t)},i.findEntityRanges=function(e,t){Zze(this.getCharacterList(),uBe,e,t)},r}(oBe);function sBe(e,t){return e.getStyle()===t.getStyle()}function uBe(e,t){return e.getEntity()===t.getEntity()}var cBe=aBe;var lBe=Yze,dBe=Qze,fBe=jze.exports,pBe=fBe.List,hBe=fBe.Map,mBe=fBe.OrderedSet,gBe=fBe.Record,vBe=fBe.Repeat,yBe=mBe(),bBe={parent:null,characterList:pBe(),data:hBe(),depth:0,key:"",text:"",type:"unstyled",children:pBe(),prevSibling:null,nextSibling:null},wBe=function(e,t){return e.getStyle()===t.getStyle()},xBe=function(e,t){return e.getEntity()===t.getEntity()},_Be=function(e){if(!e)return e;var t=e.characterList,n=e.text;return n&&!t&&(e.characterList=pBe(vBe(lBe.EMPTY,n.length))),e},SBe=function(e){var t,n;function r(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:bBe;return e.call(this,_Be(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():yBe},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){dBe(this.getCharacterList(),wBe,e,t)},i.findEntityRanges=function(e,t){dBe(this.getCharacterList(),xBe,e,t)},r}(gBe(bBe)),kBe=SBe,CBe=Yze,EBe=jze.exports.Map;function IBe(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(EBe([[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?CBe.applyStyle(l,n):CBe.removeStyle(l,n)),i++;return e.set("characterList",d)}));return e.merge({blockMap:i.merge(c),selectionBefore:t,selectionAfter:t})}var OBe={add:function(e,t,n){return IBe(e,t,n,!0)},remove:function(e,t,n){return IBe(e,t,n,!1)}},TBe=Yze;var NBe=function(e,t,n,r){for(var i=t,o=e.getCharacterList();i<n;)o=o.set(i,TBe.applyEntity(o.get(i),r)),i++;return e.set("characterList",o)},DBe=jze.exports;var PBe=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(DBe.OrderedMap([[a,r.get(a)]])).map((function(e,t){var r=t===i?o:0,u=t===a?s:e.getLength();return NBe(e,r,u,n)}));return e.merge({blockMap:r.merge(u),selectionBefore:t,selectionAfter:t})},ABe={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}}},MBe="production"!==Gs.env.NODE_ENV?function(e){}:function(e){if(void 0===e)throw new Error("invariant(...): Second argument must be a string.")};var jBe=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(MBe(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}},RBe=jBe;var LBe=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"!==Gs.env.NODE_ENV?RBe(!1,"Entity key not found in this range."):RBe(!1)),n},FBe=ABe,zBe=LBe,BBe=jBe;function UBe(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=zBe(t,i).filter((function(e){return l<=e.end&&l>=e.start}));1!=d.length&&("production"!==Gs.env.NODE_ENV?BBe(!1,"There should only be one entity range within this removal range."):BBe(!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=FBe.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 qBe=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=UBe(e,t,c,i,s,!0,!0);else if(s&&u){var l=UBe(e,t,c,i,s,!1,!0),d=UBe(e,n,c,i,u,!1,!1);c=c.merge({anchorOffset:l.getAnchorOffset(),focusOffset:d.getFocusOffset(),isBackward:!1})}else if(s){var f=UBe(e,t,c,i,s,!1,!0);c=c.merge({anchorOffset:f.getStartOffset(),isBackward:!1})}else if(u){var p=UBe(e,n,c,i,u,!1,!1);c=c.merge({focusOffset:p.getEndOffset(),isBackward:!1})}return c},VBe={},KBe=Math.pow(2,24);var HBe=function(){for(var e;void 0===e||VBe.hasOwnProperty(e)||!isNaN(+e);)e=Math.floor(Math.random()*KBe).toString(32);return VBe[e]=!0,e},WBe=kBe,GBe=HBe,YBe=jze.exports.OrderedMap,QBe=function(e){return e.first()instanceof WBe?function(e){var t,n={};return YBe(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=GBe();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 YBe(e.toArray().map((function(e){var t=GBe();return[t,e.set("key",t)]})))}(e)},$Be=Yze,ZBe=Qze,JBe=jBe;function XBe(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 ZBe(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"!==Gs.env.NODE_ENV?JBe(!1,"Removal range must exist within character list."):JBe(!1)),r}(r,s,n),l=c.start,d=c.end;l<d;)u=r.get(l),r=r.set(l,$Be.applyEntity(u,null)),l++;return t.set("characterList",r)}return t}var eUe=function(e,t){var n=e.getBlockMap(),r=e.getEntityMap(),i={},o=t.getStartKey(),a=t.getStartOffset(),s=n.get(o),u=XBe(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=XBe(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)},tUe=QBe,nUe=eUe,rUe=function(e,t){var n=t.getStartKey(),r=t.getStartOffset(),i=t.getEndKey(),o=t.getEndOffset(),a=nUe(e,t).getBlockMap(),s=a.keySeq(),u=s.indexOf(n),c=s.indexOf(i)+1;return tUe(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 iUe=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},oUe=Fze,aUe=kBe,sUe=iUe,uUe=jBe,cUe=QBe,lUe=jze.exports.List,dUe=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:sUe(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})})},fUe=function(e,t,n,r,i,o){var a=n.first()instanceof aUe,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=oUe.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"],lUe(f))}}))}(m,0,c,l)),e.merge({blockMap:m,selectionBefore:t,selectionAfter:t.merge({anchorKey:p,anchorOffset:f,focusKey:p,focusOffset:f,isBackward:!1})})},pUe=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"REPLACE_WITH_NEW_DATA";t.isCollapsed()||("production"!==Gs.env.NODE_ENV?uUe(!1,"`insertFragment` should only be called with a collapsed selection state."):uUe(!1));var i=e.getBlockMap(),o=cUe(n),a=t.getStartKey(),s=t.getStartOffset(),u=i.get(a);return u instanceof aUe&&(u.getChildKeys().isEmpty()||("production"!==Gs.env.NODE_ENV?uUe(!1,"`insertFragment` should not be called when a container node is selected."):uUe(!1))),1===o.size?dUe(e,t,i,o.first(),a,s,r):fUe(e,t,i,o,a,s)},hUe=iUe,mUe=jBe,gUe=jze.exports.Repeat;var vUe=function(e,t,n,r){t.isCollapsed()||("production"!==Gs.env.NODE_ENV?mUe(!1,"`insertText` should only be called with a collapsed range."):mUe(!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:hUe(u.getCharacterList(),gUe(r,i).toList(),s)}),d=s+i;return e.merge({blockMap:o.set(a,l),selectionAfter:t.merge({anchorOffset:d,focusOffset:d})})},yUe=jze.exports.Map;var bUe=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(yUe([[i,o.get(i)]])).map(n);return e.merge({blockMap:o.merge(a),selectionBefore:t,selectionAfter:t})},wUe=kBe,xUe=function(e,t){if(!(e instanceof wUe))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},_Ue=kBe,SUe=xUe,kUe=jze.exports;kUe.List;var CUe=kUe.Map,EUe=function(e,t,n){if(e){var r=t.get(e);r&&t.set(e,n(r))}},IUe=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},OUe=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},TUe=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},NUe=function(e,t,n,r){return e.withMutations((function(i){if(EUe(t.getKey(),i,(function(e){return e.merge({nextSibling:OUe(e,i,r),prevSibling:TUe(e,i,r)})})),EUe(n.getKey(),i,(function(e){return e.merge({nextSibling:OUe(e,i,r),prevSibling:TUe(e,i,r)})})),IUe(t.getKey(),r).forEach((function(e){return EUe(e,i,(function(e){return e.merge({children:e.getChildKeys().filter((function(e){return i.get(e)})),nextSibling:OUe(e,i,r),prevSibling:TUe(e,i,r)})}))})),EUe(t.getNextSiblingKey(),i,(function(e){return e.merge({prevSibling:t.getPrevSiblingKey()})})),EUe(t.getPrevSiblingKey(),i,(function(e){return e.merge({nextSibling:OUe(e,i,r)})})),EUe(n.getNextSiblingKey(),i,(function(e){return e.merge({prevSibling:TUe(e,i,r)})})),EUe(n.getPrevSiblingKey(),i,(function(e){return e.merge({nextSibling:n.getNextSiblingKey()})})),IUe(n.getKey(),r).forEach((function(e){EUe(e,i,(function(e){return e.merge({children:e.getChildKeys().filter((function(e){return i.get(e)})),nextSibling:OUe(e,i,r),prevSibling:TUe(e,i,r)})}))})),function(e,t){var n=[];if(!e)return n;for(var r=SUe(e,t);r&&t.get(r);){var i=t.get(r);n.push(r),r=i.getParentKey()?SUe(i,t):null}return n}(n,r).forEach((function(e){return EUe(e,i,(function(e){return e.merge({nextSibling:OUe(e,i,r),prevSibling:TUe(e,i,r)})}))})),null==e.get(t.getKey())&&null!=e.get(n.getKey())&&n.getParentKey()===t.getKey()&&null==n.getPrevSiblingKey()){var o=t.getPrevSiblingKey();EUe(n.getKey(),i,(function(e){return e.merge({prevSibling:o})})),EUe(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){EUe(e,i,(function(e){return e.merge({parent:s})}))})),null!=s){var u=e.get(s);EUe(s,i,(function(e){return e.merge({children:u.getChildKeys().concat(t.getChildKeys())})}))}EUe(t.getChildKeys().find((function(t){return null===e.get(t).getNextSiblingKey()})),i,(function(e){return e.merge({nextSibling:t.getNextSiblingKey()})}))}}))},DUe=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},PUe=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 _Ue,d=[];if(l){var f=c.getChildKeys(),p=IUe(a,r);c.getNextSiblingKey()&&(d=d.concat(p)),f.isEmpty()||(d=d.concat(p.concat([a]))),d=d.concat(IUe(SUe(c,r),r))}n=u===c?DUe(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()?CUe([[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(CUe([[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=NUe(g,u,c,r)),e.merge({blockMap:g,selectionBefore:t,selectionAfter:t.merge({anchorKey:i,anchorOffset:o,focusKey:i,focusOffset:o,isBackward:!1})})},AUe=kBe,MUe=HBe,jUe=jze.exports,RUe=jBe,LUe=bUe,FUe=jUe.List,zUe=jUe.Map,BUe=function(e,t,n){if(e){var r=t.get(e);r&&t.set(e,n(r))}},UUe=function(e,t){t.isCollapsed()||("production"!==Gs.env.NODE_ENV?RUe(!1,"Selection range must be collapsed."):RUe(!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 LUe(e,t,(function(e){return e.merge({type:"unstyled",depth:0})}))}var s=t.getAnchorOffset(),u=i.getCharacterList(),c=MUe(),l=i instanceof AUe,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:zUe()}),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"!==Gs.env.NODE_ENV?RUe(!1,"ContentBlockNode must not have children"):RUe(!1)),m=function(e,t,n){return e.withMutations((function(e){var r=t.getKey(),i=n.getKey();BUe(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:FUe(o)})})),BUe(t.getNextSiblingKey(),e,(function(e){return e.merge({prevSibling:i})})),BUe(r,e,(function(e){return e.merge({nextSibling:i})})),BUe(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})})},qUe=Yze,VUe=OBe,KUe=PBe,HUe=qBe,WUe=rUe,GUe=pUe,YUe=vUe,QUe=jBe,$Ue=bUe,ZUe=eUe,JUe=PUe,XUe=UUe,eqe=jze.exports.OrderedSet,tqe={replaceText:function(e,t,n,r,i){var o=ZUe(e,t),a=JUe(o,t),s=qUe.create({style:r||eqe(),entity:i||null});return YUe(a,a.getSelectionAfter(),n,s)},insertText:function(e,t,n,r,i){return t.isCollapsed()||("production"!==Gs.env.NODE_ENV?QUe(!1,"Target range must be collapsed for `insertText`."):QUe(!1)),tqe.replaceText(e,t,n,r,i)},moveText:function(e,t,n){var r=WUe(e,t),i=tqe.removeRange(e,t,"backward");return tqe.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=ZUe(e,t),o=JUe(i,t);return GUe(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=HUe(e.getEntityMap(),o,a,t,n);return JUe(e,d)}var f=ZUe(e,t);return JUe(f,t)},splitBlock:function(e,t){var n=ZUe(e,t),r=JUe(n,t);return XUe(r,r.getSelectionAfter())},applyInlineStyle:function(e,t,n){return VUe.add(e,t,n)},removeInlineStyle:function(e,t,n){return VUe.remove(e,t,n)},setBlockType:function(e,t,n){return $Ue(e,t,(function(e){return e.merge({type:n,depth:0})}))},setBlockData:function(e,t,n){return $Ue(e,t,(function(e){return e.merge({data:n})}))},mergeBlockData:function(e,t,n){return $Ue(e,t,(function(e){return e.merge({data:e.getData().merge(n)})}))},applyEntity:function(e,t,n){var r=ZUe(e,t);return KUe(r,t,n)}},nqe=tqe;var rqe=function(e){return Object.keys(e).map((function(t){return e[t]}))};function iqe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var oqe=Qze,aqe=rqe,sqe=jze.exports,uqe=sqe.List,cqe=sqe.Repeat,lqe=sqe.Record,dqe=function(){return!0},fqe=lqe({start:null,end:null}),pqe=lqe({start:null,end:null,decoratorKey:null,leaves:null}),hqe={generate:function(e,t,n){var r=t.getLength();if(!r)return uqe.of(new pqe({start:0,end:0,decoratorKey:null,leaves:uqe.of(new fqe({start:0,end:0}))}));var i=[],o=n?n.getDecorations(t,e):uqe(cqe(null,r)),a=t.getCharacterList();return oqe(o,gqe,dqe,(function(e,t){i.push(new pqe({start:e,end:t,decoratorKey:o.get(e),leaves:mqe(a.slice(e,t).toList(),e)}))})),uqe(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 pqe(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){iqe(e,t,n[t])}))}return e}({},n,{leaves:null!=t?uqe(Array.isArray(t)?t:aqe(t)).map((function(e){return fqe(e)})):null}))}};function mqe(e,t){var n=[],r=e.map((function(e){return e.getStyle()})).toList();return oqe(r,gqe,dqe,(function(e,r){n.push(new fqe({start:e+t,end:r+t}))})),uqe(n)}function gqe(e,t){return e===t}var vqe=hqe;var yqe=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,jze.exports.Record)({type:"TOKEN",mutability:"IMMUTABLE",data:Object})),bqe=yqe;var wqe=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 xqe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var _qe=bqe,Sqe=jBe,kqe=wqe,Cqe=(0,jze.exports.Map)(),Eqe=kqe();function Iqe(e,t){console.warn("WARNING: "+e+' will be deprecated soon!\nPlease use "'+t+'" instead.')}var Oqe={getLastCreatedEntityKey:function(){return Iqe("DraftEntity.getLastCreatedEntityKey","contentState.getLastCreatedEntityKey"),Oqe.__getLastCreatedEntityKey()},create:function(e,t,n){return Iqe("DraftEntity.create","contentState.createEntity"),Oqe.__create(e,t,n)},add:function(e){return Iqe("DraftEntity.add","contentState.addEntity"),Oqe.__add(e)},get:function(e){return Iqe("DraftEntity.get","contentState.getEntity"),Oqe.__get(e)},__getAll:function(){return Cqe},__loadWithEntities:function(e){Cqe=e,Eqe=kqe()},mergeData:function(e,t){return Iqe("DraftEntity.mergeData","contentState.mergeEntityData"),Oqe.__mergeData(e,t)},replaceData:function(e,t){return Iqe("DraftEntity.replaceData","contentState.replaceEntityData"),Oqe.__replaceData(e,t)},__getLastCreatedEntityKey:function(){return Eqe},__create:function(e,t,n){return Oqe.__add(new _qe({type:e,mutability:t,data:n||{}}))},__add:function(e){return Eqe=kqe(),Cqe=Cqe.set(Eqe,e),Eqe},__get:function(e){var t=Cqe.get(e);return t||("production"!==Gs.env.NODE_ENV?Sqe(!1,"Unknown DraftEntity key: %s.",e):Sqe(!1)),t},__mergeData:function(e,t){var n=Oqe.__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){xqe(e,t,n[t])}))}return e}({},n.getData(),t),i=n.set("data",r);return Cqe=Cqe.set(e,i),i},__replaceData:function(e,t){var n=Oqe.__get(e).set("data",t);return Cqe=Cqe.set(e,n),n}},Tqe=Oqe;var Nqe=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,jze.exports.Record)({anchorKey:"",anchorOffset:0,focusKey:"",focusOffset:0,isBackward:!1,hasFocus:!1})),Dqe=Nqe,Pqe=function(e){return!("undefined"==typeof window||!window.__DRAFT_GKX)&&!!window.__DRAFT_GKX[e]},Aqe=new RegExp("\r","g");var Mqe=function(e){return e.replace(Aqe,"")};function jqe(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){Rqe(e,t,n[t])}))}return e}function Rqe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Lqe=Fze,Fqe=Yze,zqe=cBe,Bqe=kBe,Uqe=Tqe,qqe=Dqe,Vqe=HBe,Kqe=rqe,Hqe=Pqe,Wqe=jze.exports,Gqe=Mqe,Yqe=Wqe.List,Qqe=Wqe.Record,$qe=Wqe.Repeat,Zqe=Wqe.Map,Jqe=Wqe.OrderedMap,Xqe=Qqe({entityMap:null,blockMap:null,selectionBefore:null,selectionAfter:null}),eVe=Hqe("draft_tree_data_support")?Bqe:zqe,tVe=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 Uqe},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 Uqe.__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 Uqe.__create(e,t,n),this},i.mergeEntityData=function(e,t){return Uqe.__mergeData(e,t),this},i.replaceEntityData=function(e,t){return Uqe.__replaceData(e,t),this},i.addEntity=function(e){return Uqe.__add(e),this},i.getEntity=function(e){return Uqe.__get(e)},i.getAllEntities=function(){return Uqe.__getAll()},i.loadWithEntities=function(e){return Uqe.__loadWithEntities(e)},r.createFromBlockArray=function(e,t){var n=Array.isArray(e)?e:e.contentBlocks,i=Lqe.createFromArray(n),o=i.isEmpty()?new qqe:qqe.createEmpty(i.first().getKey());return new r({blockMap:i,entityMap:t||Uqe,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=Gqe(e),new eVe({key:Vqe(),text:e,type:"unstyled",characterList:Yqe($qe(Fqe.EMPTY,e.length))})}));return r.createFromBlockArray(i)},r.fromJS=function(e){return new r(jqe({},e,{blockMap:Jqe(e.blockMap).map(r.createContentBlockFromJS),selectionBefore:new qqe(e.selectionBefore),selectionAfter:new qqe(e.selectionAfter)}))},r.createContentBlockFromJS=function(e){var t=e.characterList;return new eVe(jqe({},e,{data:Zqe(e.data),characterList:null!=t?Yqe((Array.isArray(t)?t:Kqe(t)).map((function(e){return Fqe.fromJS(e)}))):void 0}))},r}(Xqe),nVe=tVe,rVe=jBe,iVe=null;function oVe(e){return"LTR"===e||"RTL"===e}function aVe(e){return oVe(e)||("production"!==Gs.env.NODE_ENV?rVe(!1,"`dir` must be a strong direction to be converted to HTML Direction"):rVe(!1)),"LTR"===e?"ltr":"rtl"}function sVe(e){iVe=e}var uVe={NEUTRAL:"NEUTRAL",LTR:"LTR",RTL:"RTL",isStrong:oVe,getHTMLDir:aVe,getHTMLDirIfDifferent:function(e,t){return oVe(e)||("production"!==Gs.env.NODE_ENV?rVe(!1,"`dir` must be a strong direction to be converted to HTML Direction"):rVe(!1)),oVe(t)||("production"!==Gs.env.NODE_ENV?rVe(!1,"`otherDir` must be a strong direction to be converted to HTML Direction"):rVe(!1)),e===t?null:aVe(e)},setGlobalDir:sVe,initGlobalDir:function(){sVe("LTR")},getGlobalDir:function(){return iVe||this.initGlobalDir(),iVe||("production"!==Gs.env.NODE_ENV?rVe(!1,"Global direction not set."):rVe(!1)),iVe}},cVe=uVe,lVe=jBe,dVe="֐־׀׃׆׈-׏א-ת׫-ׯװ-ײ׳-״׵-׿߀-߉ߊ-ߪߴ-ߵߺ߻-߿ࠀ-ࠕࠚࠤࠨ࠮-࠯࠰-࠾࠿ࡀ-ࡘ࡜-࡝࡞࡟-࢟‏יִײַ-ﬨשׁ-זּ﬷טּ-לּ﬽מּ﬿נּ-סּ﭂ףּ-פּ﭅צּ-ﭏ",fVe="؈؋؍؛؜؝؞-؟ؠ-ؿـف-ي٭ٮ-ٯٱ-ۓ۔ەۥ-ۦۮ-ۯۺ-ۼ۽-۾ۿ܀-܍܎܏ܐܒ-ܯ݋-݌ݍ-ޥޱ޲-޿ࢠ-ࢲࢳ-ࣣﭐ-ﮱ﮲-﯁﯂-﯒ﯓ-ﴽ﵀-﵏ﵐ-ﶏ﶐-﶑ﶒ-ﷇ﷈-﷏ﷰ-ﷻ﷼﷾-﷿ﹰ-ﹴ﹵ﹶ-ﻼ﻽-﻾",pVe=new RegExp("["+"A-Za-zªµºÀ-ÖØ-öø-ƺƻƼ-ƿǀ-ǃDŽ-ʓʔʕ-ʯʰ-ʸʻ-ˁː-ˑˠ-ˤˮͰ-ͳͶ-ͷͺͻ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁ҂Ҋ-ԯԱ-Ֆՙ՚-՟ա-և։ःऄ-हऻऽा-ीॉ-ौॎ-ॏॐक़-ॡ।-॥०-९॰ॱॲ-ঀং-ঃঅ-ঌএ-ঐও-নপ-রলশ-হঽা-ীে-ৈো-ৌৎৗড়-ঢ়য়-ৡ০-৯ৰ-ৱ৴-৹৺ਃਅ-ਊਏ-ਐਓ-ਨਪ-ਰਲ-ਲ਼ਵ-ਸ਼ਸ-ਹਾ-ੀਖ਼-ੜਫ਼੦-੯ੲ-ੴઃઅ-ઍએ-ઑઓ-નપ-રલ-ળવ-હઽા-ીૉો-ૌૐૠ-ૡ૦-૯૰ଂ-ଃଅ-ଌଏ-ଐଓ-ନପ-ରଲ-ଳଵ-ହଽାୀେ-ୈୋ-ୌୗଡ଼-ଢ଼ୟ-ୡ୦-୯୰ୱ୲-୷ஃஅ-ஊஎ-ஐஒ-கங-சஜஞ-டண-தந-பம-ஹா-ிு-ூெ-ைொ-ௌௐௗ௦-௯௰-௲ఁ-ఃఅ-ఌఎ-ఐఒ-నప-హఽు-ౄౘ-ౙౠ-ౡ౦-౯౿ಂ-ಃಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽಾಿೀ-ೄೆೇ-ೈೊ-ೋೕ-ೖೞೠ-ೡ೦-೯ೱ-ೲം-ഃഅ-ഌഎ-ഐഒ-ഺഽാ-ീെ-ൈൊ-ൌൎൗൠ-ൡ൦-൯൰-൵൹ൺ-ൿං-ඃඅ-ඖක-නඳ-රලව-ෆා-ෑෘ-ෟ෦-෯ෲ-ෳ෴ก-ะา-ำเ-ๅๆ๏๐-๙๚-๛ກ-ຂຄງ-ຈຊຍດ-ທນ-ຟມ-ຣລວສ-ຫອ-ະາ-ຳຽເ-ໄໆ໐-໙ໜ-ໟༀ༁-༃༄-༒༓༔༕-༗༚-༟༠-༩༪-༳༴༶༸༾-༿ཀ-ཇཉ-ཬཿ྅ྈ-ྌ྾-࿅࿇-࿌࿎-࿏࿐-࿔࿕-࿘࿙-࿚က-ဪါ-ာေးျ-ြဿ၀-၉၊-၏ၐ-ၕၖ-ၗၚ-ၝၡၢ-ၤၥ-ၦၧ-ၭၮ-ၰၵ-ႁႃ-ႄႇ-ႌႎႏ႐-႙ႚ-ႜ႞-႟Ⴀ-ჅჇჍა-ჺ჻ჼჽ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚ፠-፨፩-፼ᎀ-ᎏᎠ-Ᏼᐁ-ᙬ᙭-᙮ᙯ-ᙿᚁ-ᚚᚠ-ᛪ᛫-᛭ᛮ-ᛰᛱ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱ᜵-᜶ᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳាើ-ៅះ-ៈ។-៖ៗ៘-៚ៜ០-៩᠐-᠙ᠠ-ᡂᡃᡄ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᤣ-ᤦᤩ-ᤫᤰ-ᤱᤳ-ᤸ᥆-᥏ᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧀᧁ-ᧇᧈ-ᧉ᧐-᧙᧚ᨀ-ᨖᨙ-ᨚ᨞-᨟ᨠ-ᩔᩕᩗᩡᩣ-ᩤᩭ-ᩲ᪀-᪉᪐-᪙᪠-᪦ᪧ᪨-᪭ᬄᬅ-ᬳᬵᬻᬽ-ᭁᭃ-᭄ᭅ-ᭋ᭐-᭙᭚-᭠᭡-᭪᭴-᭼ᮂᮃ-ᮠᮡᮦ-ᮧ᮪ᮮ-ᮯ᮰-᮹ᮺ-ᯥᯧᯪ-ᯬᯮ᯲-᯳᯼-᯿ᰀ-ᰣᰤ-ᰫᰴ-ᰵ᰻-᰿᱀-᱉ᱍ-ᱏ᱐-᱙ᱚ-ᱷᱸ-ᱽ᱾-᱿᳀-᳇᳓᳡ᳩ-ᳬᳮ-ᳱᳲ-ᳳᳵ-ᳶᴀ-ᴫᴬ-ᵪᵫ-ᵷᵸᵹ-ᶚᶛ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼ‎ⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℴℵ-ℸℹℼ-ℿⅅ-ⅉⅎ⅏Ⅰ-ↂↃ-ↄↅ-ↈ⌶-⍺⎕⒜-ⓩ⚬⠀-⣿Ⰰ-Ⱞⰰ-ⱞⱠ-ⱻⱼ-ⱽⱾ-ⳤⳫ-ⳮⳲ-ⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯ⵰ⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々〆〇〡-〩〮-〯〱-〵〸-〺〻〼ぁ-ゖゝ-ゞゟァ-ヺー-ヾヿㄅ-ㄭㄱ-ㆎ㆐-㆑㆒-㆕㆖-㆟ㆠ-ㆺㇰ-ㇿ㈀-㈜㈠-㈩㈪-㉇㉈-㉏㉠-㉻㉿㊀-㊉㊊-㊰㋀-㋋㋐-㋾㌀-㍶㍻-㏝㏠-㏾㐀-䶵一-鿌ꀀ-ꀔꀕꀖ-ꒌꓐ-ꓷꓸ-ꓽ꓾-꓿ꔀ-ꘋꘌꘐ-ꘟ꘠-꘩ꘪ-ꘫꙀ-ꙭꙮꚀ-ꚛꚜ-ꚝꚠ-ꛥꛦ-ꛯ꛲-꛷Ꜣ-ꝯꝰꝱ-ꞇ꞉-꞊Ꞌ-ꞎꞐ-ꞭꞰ-Ʇꟷꟸ-ꟹꟺꟻ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꠣ-ꠤꠧ꠰-꠵꠶-꠷ꡀ-ꡳꢀ-ꢁꢂ-ꢳꢴ-ꣃ꣎-꣏꣐-꣙ꣲ-ꣷ꣸-꣺ꣻ꤀-꤉ꤊ-ꤥ꤮-꤯ꤰ-ꥆꥒ-꥓꥟ꥠ-ꥼꦃꦄ-ꦲꦴ-ꦵꦺ-ꦻꦽ-꧀꧁-꧍ꧏ꧐-꧙꧞-꧟ꧠ-ꧤꧦꧧ-ꧯ꧰-꧹ꧺ-ꧾꨀ-ꨨꨯ-ꨰꨳ-ꨴꩀ-ꩂꩄ-ꩋꩍ꩐-꩙꩜-꩟ꩠ-ꩯꩰꩱ-ꩶ꩷-꩹ꩺꩻꩽꩾ-ꪯꪱꪵ-ꪶꪹ-ꪽꫀꫂꫛ-ꫜꫝ꫞-꫟ꫠ-ꫪꫫꫮ-ꫯ꫰-꫱ꫲꫳ-ꫴꫵꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚ꭛ꭜ-ꭟꭤ-ꭥꯀ-ꯢꯣ-ꯤꯦ-ꯧꯩ-ꯪ꯫꯬꯰-꯹가-힣ힰ-ퟆퟋ-ퟻ-豈-舘並-龎ff-stﬓ-ﬗA-Za-zヲ-ッーア-ン゙-゚ᅠ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ"+dVe+fVe+"]"),hVe=new RegExp("["+dVe+fVe+"]");function mVe(e){var t=pVe.exec(e);return null==t?null:t[0]}function gVe(e){var t=mVe(e);return null==t?cVe.NEUTRAL:hVe.exec(t)?cVe.RTL:cVe.LTR}function vVe(e,t){if(t=t||cVe.NEUTRAL,!e.length)return t;var n=gVe(e);return n===cVe.NEUTRAL?t:n}function yVe(e,t){return t||(t=cVe.getGlobalDir()),cVe.isStrong(t)||("production"!==Gs.env.NODE_ENV?lVe(!1,"Fallback direction must be a strong direction"):lVe(!1)),vVe(e,t)}var bVe={firstStrongChar:mVe,firstStrongCharDir:gVe,resolveBlockDir:vVe,getDirection:yVe,isDirectionLTR:function(e,t){return yVe(e,t)===cVe.LTR},isDirectionRTL:function(e,t){return yVe(e,t)===cVe.RTL}};function wVe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var xVe,_Ve=bVe,SVe=uVe,kVe=jBe,CVe=function(){function e(e){wVe(this,"_defaultDir",void 0),wVe(this,"_lastDir",void 0),e?SVe.isStrong(e)||("production"!==Gs.env.NODE_ENV?kVe(!1,"Default direction must be a strong direction (LTR or RTL)"):kVe(!1)):e=SVe.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=_Ve.getDirection(e,this._lastDir),this._lastDir},e}(),EVe=function(e){if(null!=e)return e;throw new Error("Got unexpected null or undefined")},IVe=CVe,OVe=jze.exports,TVe=EVe,NVe=OVe.OrderedMap,DVe={getDirectionMap:function(e,t){xVe?xVe.reset():xVe=new IVe;var n=e.getBlockMap(),r=n.valueSeq().map((function(e){return TVe(xVe).getDirection(e.getText())})),i=NVe(n.keySeq().zip(r));return null!=t&&OVe.is(t,i)?t:i}};function PVe(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){AVe(e,t,n[t])}))}return e}function AVe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var MVe=vqe,jVe=nVe,RVe=DVe,LVe=Dqe,FVe=jze.exports,zVe=FVe.OrderedSet,BVe=FVe.Record,UVe=FVe.Stack,qVe=FVe.OrderedMap,VVe=FVe.List,KVe=BVe({allowUndo:!0,currentContent:null,decorator:null,directionMap:null,forceSelection:!1,inCompositionMode:!1,inlineStyleOverride:null,lastChangeType:null,nativelyRenderedContent:null,redoStack:UVe(),selection:null,treeMap:null,undoStack:UVe()}),HVe=function(){t.createEmpty=function(e){return t.createWithContent(jVe.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:UVe(),redoStack:UVe(),decorator:n||null,selection:LVe.createEmpty(r)})},t.create=function(e){var n=e.currentContent,r=PVe({},e,{treeMap:GVe(n,e.decorator),directionMap:RVe.getDirectionMap(n)});return new t(new KVe(r))},t.fromJS=function(e){return new t(new KVe(PVe({},e,{directionMap:null!=e.directionMap?qVe(e.directionMap):e.directionMap,inlineStyleOverride:null!=e.inlineStyleOverride?zVe(e.inlineStyleOverride):e.inlineStyleOverride,nativelyRenderedContent:null!=e.nativelyRenderedContent?jVe.fromJS(e.nativelyRenderedContent):e.nativelyRenderedContent,redoStack:null!=e.redoStack?UVe(e.redoStack.map((function(e){return jVe.fromJS(e)}))):e.redoStack,selection:null!=e.selection?new LVe(e.selection):e.selection,treeMap:null!=e.treeMap?qVe(e.treeMap).map((function(e){return VVe(e).map((function(e){return MVe.fromJS(e)}))})):e.treeMap,undoStack:null!=e.undoStack?UVe(e.undoStack.map((function(e){return jVe.fromJS(e)}))):e.undoStack,currentContent:jVe.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 MVe.generate(e,t,r)})))}(o,o.getBlockMap(),s,i,r):GVe(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 MVe.generate(i,e,r)})))}(e,o.getBlockMap(),o.getEntityMap(),i)),t.merge(n)}));return new t(r)};var e=t.prototype;function t(e){AVe(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 QVe(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 QVe(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 WVe(e,t,!1)},t.forceSelection=function(e,t){return t.getHasFocus()||(t=t.set("hasFocus",!0)),WVe(e,t,!0)},t.moveSelectionToEnd=function(e){var n=e.getCurrentContent().getLastBlock(),r=n.getKey(),i=n.getLength();return t.acceptSelection(e,new LVe({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=RVe.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()||YVe(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:UVe(),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=RVe.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=RVe.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 WVe(e,t,n){return HVe.set(e,{selection:t,forceSelection:n,nativelyRenderedContent:null,inlineStyleOverride:null})}function GVe(e,t){return e.getBlockMap().map((function(n){return MVe.generate(e,n,t)})).toOrderedMap()}function YVe(e,t){return t!==e.getLastChangeType()||"insert-characters"!==t&&"backspace-character"!==t&&"delete-character"!==t}function QVe(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):zVe()}var $Ve=HVe,ZVe=kBe,JVe=xUe,XVe=jze.exports,eKe=jBe,tKe=XVe.OrderedMap,nKe=XVe.List,rKe=function(e,t,n){if(e){var r=t.get(e);r&&t.set(e,n(r))}},iKe=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){rKe(u,e,(function(e){var t=e.getChildKeys();return e.merge({children:t.delete(t.indexOf(a))})})),rKe(l,e,(function(e){return e.merge({nextSibling:c})})),rKe(c,e,(function(e){return e.merge({prevSibling:l})})),rKe(f,e,(function(e){return e.merge({prevSibling:a})})),rKe(p,e,(function(e){return e.merge({nextSibling:a})})),rKe(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:nKe(i)})})),rKe(a,e,(function(e){return e.merge({nextSibling:f,prevSibling:p,parent:d})}))}))},oKe=function(e,t,n,r){"replace"===r&&("production"!==Gs.env.NODE_ENV?eKe(!1,"Replacing blocks is not supported."):eKe(!1));var i=n.getKey(),o=t.getKey();o===i&&("production"!==Gs.env.NODE_ENV?eKe(!1,"Block cannot be moved next to itself."):eKe(!1));var a=e.getBlockMap(),s=t instanceof ZVe,u=[t],c=a.delete(o);s&&(u=[],c=a.withMutations((function(e){var n=t.getNextSiblingKey(),r=JVe(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=tKe();if("before"===r){var h=e.getBlockBefore(i);h&&h.getKey()===t.getKey()&&("production"!==Gs.env.NODE_ENV?eKe(!1,"Block cannot be moved next to itself."):eKe(!1)),p=l.concat([].concat(f,[[i,n]]),d).toOrderedMap()}else if("after"===r){var m=e.getBlockAfter(i);m&&m.getKey()===o&&("production"!==Gs.env.NODE_ENV?eKe(!1,"Block cannot be moved next to itself."):eKe(!1)),p=l.concat([[i,n]].concat(f),d).toOrderedMap()}return e.merge({blockMap:iKe(p,t,n,r,s),selectionBefore:e.getSelectionAfter(),selectionAfter:e.getSelectionAfter().merge({anchorKey:o,focusKey:o})})};function aKe(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){sKe(e,t,n[t])}))}return e}function sKe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var uKe=Fze,cKe=Yze,lKe=cBe,dKe=kBe,fKe=nqe,pKe=$Ve,hKe=HBe,mKe=jze.exports,gKe=oKe,vKe=Pqe("draft_tree_data_support"),yKe=vKe?dKe:lKe,bKe=mKe.List,wKe=mKe.Repeat,xKe={insertAtomicBlock:function(e,t,n){var r=e.getCurrentContent(),i=e.getSelection(),o=fKe.removeRange(r,i,"backward"),a=o.getSelectionAfter(),s=fKe.splitBlock(o,a),u=s.getSelectionAfter(),c=fKe.setBlockType(s,u,"atomic"),l=cKe.create({entity:t}),d={key:hKe(),type:"atomic",text:n,characterList:bKe(wKe(l,n.length))},f={key:hKe(),type:"unstyled"};vKe&&(d=aKe({},d,{nextSibling:f.key}),f=aKe({},f,{prevSibling:d.key}));var p=[new yKe(d),new yKe(f)],h=uKe.createFromArray(p),m=fKe.replaceWithFragment(c,u,h),g=m.merge({selectionBefore:i,selectionAfter:m.getSelectionAfter().set("hasFocus",!0)});return pKe.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=gKe(o,t,s,r)}else{var u=fKe.removeRange(o,n,"backward"),c=u.getSelectionAfter(),l=u.getBlockForKey(c.getFocusKey());if(0===c.getStartOffset())i=gKe(u,t,l,"before");else if(c.getEndOffset()===l.getLength())i=gKe(u,t,l,"after");else{var d=fKe.splitBlock(u,c),f=d.getSelectionAfter(),p=d.getBlockForKey(f.getFocusKey());i=gKe(d,t,p,"before")}}var h=i.merge({selectionBefore:a,selectionAfter:i.getSelectionAfter().set("hasFocus",!0)});return pKe.push(e,h,"move-block")}};var _Ke=jze.exports.List,SKe=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)})),_Ke(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 kKe=SKe;function CKe(e){return e.replace(/\//g,"-")}var EKe=function(e){return"object"==typeof e?Object.keys(e).filter((function(t){return e[t]})).map(CKe).join(" "):Array.prototype.map.call(arguments,CKe).join(" ")},IKe=o,OKe=EKe,TKe=(0,jze.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:IKe.createElement("ul",{className:OKe("public/DraftStyleDefault/ul")})},"ordered-list-item":{element:"li",wrapper:IKe.createElement("ol",{className:OKe("public/DraftStyleDefault/ol")})},blockquote:{element:"blockquote"},atomic:{element:"figure"},"code-block":{element:"pre",wrapper:IKe.createElement("pre",{className:OKe("public/DraftStyleDefault/pre")})},unstyled:{element:"div",aliasedElements:["p"]}}),NKe={BOLD:{fontWeight:"bold"},CODE:{fontFamily:"monospace",wordWrap:"break-word"},ITALIC:{fontStyle:"italic"},STRIKETHROUGH:{textDecoration:"line-through"},UNDERLINE:{textDecoration:"underline"}},DKe={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",P="Sony",A="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,A],[l,m]],[/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[u,/_/g," "],[d,A],[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,P],[l,m]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[u,"Xperia Tablet"],[d,P],[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,P],[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:at)}(DKe,DKe.exports);var PKe="Unknown",AKe={"Mac OS":"Mac OS X"};var MKe=(new(0,DKe.exports)).getResult(),jKe=function(e){if(!e)return{major:"",minor:""};var t=e.split(".");return{major:t[0],minor:t[1]}}(MKe.browser.version),RKe={browserArchitecture:MKe.cpu.architecture||PKe,browserFullVersion:MKe.browser.version||PKe,browserMinorVersion:jKe.minor||PKe,browserName:MKe.browser.name||PKe,browserVersion:MKe.browser.major||PKe,deviceName:MKe.device.model||PKe,engineName:MKe.engine.name||PKe,engineVersion:MKe.engine.version||PKe,platformArchitecture:MKe.cpu.architecture||PKe,platformName:function(e){return AKe[e]||e}(MKe.os.name)||PKe,platformVersion:MKe.os.version||PKe,platformFullVersion:MKe.os.version||PKe},LKe=RKe,FKe=jBe,zKe=/\./,BKe=/\|\|/,UKe=/\s+\-\s+/,qKe=/^(<=|<|=|>=|~>|~|>|)?\s*(.+)/,VKe=/^(\d*)(.*)/;function KKe(e,t){var n=e.split(BKe);return n.length>1?n.some((function(e){return tHe.contains(e,t)})):function(e,t){var n=e.split(UKe);if(n.length>0&&n.length<=2||("production"!==Gs.env.NODE_ENV?FKe(!1,'the "-" operator expects exactly 2 operands'):FKe(!1)),1===n.length)return HKe(n[0],t);var r=n[0],i=n[1];return $Ke(r)&&$Ke(i)||("production"!==Gs.env.NODE_ENV?FKe(!1,'operands to the "-" operator must be simple (no modifiers)'):FKe(!1)),HKe(">="+r,t)&&HKe("<="+i,t)}(e=n[0].trim(),t)}function HKe(e,t){if(""===(e=e.trim()))return!0;var n=t.split(zKe),r=YKe(e),i=r.modifier,o=r.rangeComponents;switch(i){case"<":return WKe(n,o);case"<=":return function(e,t){var n=eHe(e,t);return-1===n||0===n}(n,o);case">=":return GKe(n,o);case">":return function(e,t){return 1===eHe(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);QKe(o)&&(r[i]=o+1+"");return GKe(e,n)&&WKe(e,r)}(n,o);default:return function(e,t){return 0===eHe(e,t)}(n,o)}}function WKe(e,t){return-1===eHe(e,t)}function GKe(e,t){var n=eHe(e,t);return 1===n||0===n}function YKe(e){var t=e.split(zKe),n=t[0].match(qKe);return n||("production"!==Gs.env.NODE_ENV?FKe(!1,"expected regex to match but it did not"):FKe(!1)),{modifier:n[1],rangeComponents:[n[2]].concat(t.slice(1))}}function QKe(e){return!isNaN(e)&&isFinite(e)}function $Ke(e){return!YKe(e).modifier}function ZKe(e,t){for(var n=e.length;n<t;n++)e[n]="0"}function JKe(e,t){var n=e.match(VKe)[1],r=t.match(VKe)[1],i=parseInt(n,10),o=parseInt(r,10);return QKe(i)&&QKe(o)&&i!==o?XKe(i,o):XKe(e,t)}function XKe(e,t){return typeof e!=typeof t&&("production"!==Gs.env.NODE_ENV?FKe(!1,'"a" and "b" must be of the same type'):FKe(!1)),e>t?1:e<t?-1:0}function eHe(e,t){for(var n=function(e,t){ZKe(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 ZKe(t,e.length),[e,t]}(e,t),r=n[0],i=n[1],o=0;o<i.length;o++){var a=JKe(r[o],i[o]);if(a)return a}return 0}var tHe={contains:function(e,t){return KKe(e.trim(),t.trim())}},nHe=tHe,rHe=Object.prototype.hasOwnProperty;var iHe=function(e,t,n){if(!e)return null;var r={};for(var i in e)rHe.call(e,i)&&(r[i]=t.call(n,e[i],i,e));return r};var oHe=function(e){var t={};return function(n){return t.hasOwnProperty(n)||(t[n]=e.call(this,n)),t[n]}},aHe=LKe,sHe=nHe;function uHe(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,sHe.contains(i,t))}function cHe(e){return"Windows"===aHe.platformName?e.replace(/^\s*NT/,""):e}var lHe=iHe({isBrowser:function(e){return uHe(aHe.browserName,aHe.browserFullVersion,e)},isBrowserArchitecture:function(e){return uHe(aHe.browserArchitecture,null,e)},isDevice:function(e){return uHe(aHe.deviceName,null,e)},isEngine:function(e){return uHe(aHe.engineName,aHe.engineVersion,e)},isPlatform:function(e){return uHe(aHe.platformName,aHe.platformFullVersion,e,cHe)},isPlatformArchitecture:function(e){return uHe(aHe.platformArchitecture,null,e)}},oHe);var dHe=function(e){return e&&e.ownerDocument?e.ownerDocument:document};var fHe=function(e){return!(!e||!e.ownerDocument)&&e.nodeType===Node.ELEMENT_NODE},pHe=fHe;var hHe=function e(t){if(pHe(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},mHe=dHe,gHe=hHe;var vHe=function(e){for(var t=e;t&&t!==mHe(e).documentElement;){var n=gHe(t);if(null!=n)return n;t=t.parentNode}return null};var yHe=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView?e.ownerDocument.defaultView:window};function bHe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var wHe=lHe,xHe=vHe,_He=yHe,SHe=jBe,kHe=EVe,CHe=jze.exports.Map,EHe={subtree:!0,characterData:!0,childList:!0,characterDataOldValue:!1,attributes:!1},IHe=wHe.isBrowser("IE <= 11"),OHe=function(){function e(e){var t=this;bHe(this,"observer",void 0),bHe(this,"container",void 0),bHe(this,"mutations",void 0),bHe(this,"onCharData",void 0),this.container=e,this.mutations=CHe();var n=_He(e);n.MutationObserver&&!IHe?this.observer=new n.MutationObserver((function(e){return t.registerMutations(e)})):this.onCharData=function(e){e.target instanceof Node||("production"!==Gs.env.NODE_ENV?SHe(!1,"Expected target to be an instance of Node"):SHe(!1)),t.registerMutation({type:"characterData",target:e.target})}}var t=e.prototype;return t.start=function(){this.observer?this.observer.observe(this.container,EHe):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=CHe(),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 IHe?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=kHe(xHe(e.target));this.mutations=this.mutations.set(n,t)}},e}(),THe={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)}}},NHe={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},DHe={logBlockedSelectionEvent:function(){return null},logSelectionStateFailure:function(){return null}};var PHe=function(e){return!(!e||!e.ownerDocument)&&(e.ownerDocument.defaultView?e instanceof e.ownerDocument.defaultView.HTMLElement:e instanceof HTMLElement)},AHe=jBe,MHe=PHe;var jHe=function(e){var t=e.editorContainer;return t||("production"!==Gs.env.NODE_ENV?AHe(!1,"Missing editorNode"):AHe(!1)),MHe(t.firstChild)||("production"!==Gs.env.NODE_ENV?AHe(!1,"editorNode.firstChild is not an HTMLElement"):AHe(!1)),t.firstChild},RHe=THe,LHe=EVe;var FHe=function(e,t,n,r,i){var o=LHe(e.getSelection());if(!t||!r)return"production"!==Gs.env.NODE_ENV&&console.warn("Invalid selection state.",arguments,e.toJS()),o;var a=RHe.decode(t),s=a.blockKey,u=e.getBlockTree(s),c=u&&u.getIn([a.decoratorKey,"leaves",a.leafKey]),l=RHe.decode(r),d=l.blockKey,f=e.getBlockTree(d),p=f&&f.getIn([l.decoratorKey,"leaves",l.leafKey]);if(!c||!p)return"production"!==Gs.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})},zHe=vHe,BHe=hHe,UHe=FHe,qHe=jBe,VHe=fHe,KHe=EVe;function HHe(e,t,n){var r=t,i=zHe(r);(null!=i||e&&(e===r||e.firstChild===r)||("production"!==Gs.env.NODE_ENV?qHe(!1,"Unknown node in selection range."):qHe(!1)),e===r)&&(r=r.firstChild,VHe(r)||("production"!==Gs.env.NODE_ENV?qHe(!1,"Invalid DraftEditorContents node."):qHe(!1)),"true"!==(r=r).getAttribute("data-contents")&&("production"!==Gs.env.NODE_ENV?qHe(!1,"Invalid DraftEditorContents structure."):qHe(!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&&(VHe(e.firstChild)&&"true"===e.firstChild.getAttribute("data-blocks")||BHe(e.firstChild));)e=e.firstChild;return e}(r);o=KHe(BHe(a))}return{key:o,offset:0}}var s=r.childNodes[n-1],u=null,c=null;if(BHe(s)){var l=function(e){for(;e.lastChild&&(VHe(e.lastChild)&&"true"===e.lastChild.getAttribute("data-blocks")||BHe(e.lastChild));)e=e.lastChild;return e}(s);u=KHe(BHe(l)),c=WHe(l)}else u=KHe(i),c=WHe(s);return{key:u,offset:c}}function WHe(e){var t=e.textContent;return"\n"===t?0:t.length}var GHe=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:UHe(e,KHe(zHe(n)),r,KHe(zHe(i)),o),needsRecovery:!1};var u=null,c=null,l=!0;return a?(u={key:KHe(zHe(n)),offset:r},c=HHe(t,i,o)):s?(c={key:KHe(zHe(i)),offset:o},u=HHe(t,n,r)):(u=HHe(t,n,r),c=HHe(t,i,o),n===i&&r===o&&(l=!!n.firstChild&&"BR"!==n.firstChild.nodeName)),{selectionState:UHe(e,u.key,u.offset,c.key,c.offset),needsRecovery:l}},YHe=GHe;var QHe=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}:YHe(e,t,r,i,o,a)},$He=DHe,ZHe=$Ve,JHe=jHe,XHe=QHe;var eWe=function(e){if(e._blockSelectEvents||e._latestEditorState!==e.props.editorState){if(e._blockSelectEvents){var t=e.props.editorState.getSelection();$He.logBlockedSelectionEvent({anonymizedDom:"N/A",extraParams:JSON.stringify({stacktrace:(new Error).stack}),selectionState:JSON.stringify(t.toJS())})}}else{var n=e.props.editorState,r=XHe(n,JHe(e)),i=r.selectionState;i!==n.getSelection()&&(n=r.needsRecovery?ZHe.forceSelection(n,i):ZHe.acceptSelection(n,i),e.update(n))}};var tWe={notEmptyKey:function(e){return null!=e&&""!=e}},nWe=tWe.notEmptyKey;function rWe(e,t){return nWe(t)&&"MUTABLE"===e.__get(t).getMutability()?t:null}var iWe=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:rWe(e.getEntityMap(),n):null}var o=t.getStartKey(),a=t.getStartOffset(),s=e.getBlockForKey(o);return n=a===s.getLength()?null:s.getEntityAt(a),rWe(e.getEntityMap(),n)},oWe=OHe,aWe=nqe,sWe=THe,uWe=$Ve,cWe=NHe,lWe=jHe,dWe=QHe,fWe=iWe,pWe=EVe,hWe=!1,mWe=!1,gWe=null;var vWe={onCompositionStart:function(e){mWe=!0,function(e){gWe||(gWe=new oWe(lWe(e))).start()}(e)},onCompositionEnd:function(e){hWe=!1,mWe=!1,setTimeout((function(){hWe||vWe.resolveComposition(e)}),20)},onSelect:eWe,onKeyDown:function(e,t){if(!mWe)return vWe.resolveComposition(e),void e._onKeyDown(t);t.which!==cWe.RIGHT&&t.which!==cWe.LEFT||t.preventDefault()},onKeyPress:function(e,t){t.which===cWe.RETURN&&t.preventDefault()},resolveComposition:function(e){if(!mWe){var t=pWe(gWe).stopAndFlushMutations();gWe=null,hWe=!0;var n=uWe.set(e._latestEditorState,{inCompositionMode:!1});if(e.exitCurrentMode(),t.size){var r=n.getCurrentContent();t.forEach((function(e,t){var i=sWe.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=fWe(r,d),p=r.getBlockForKey(o).getInlineStyleAt(c);r=aWe.replaceText(r,d,e,p,f),n=uWe.set(n,{currentContent:r})}));var i=dWe(n,lWe(e)).selectionState;e.restoreEditorDOM();var o=uWe.acceptSelection(n,i);e.update(uWe.push(o,r,"insert-characters"))}else e.update(n)}}},yWe=vWe,bWe=dW;function wWe(){return wWe=bWe||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},wWe.apply(this,arguments)}var xWe=THe,_We=o,SWe=bVe,kWe=uVe,CWe=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=xWe.encode(c,parseInt(o,10),0),h=u.slice(l.first().get("start"),l.last().get("end")),m=kWe.getHTMLDirIfDifferent(SWe.getDirection(h),a);return _We.createElement(d,wWe({},f,{contentState:r,decoratedText:h,dir:m,key:p,entityKey:t.getEntityAt(s.get("start")),offsetKey:p}),n)},r}(_We.Component),EWe=CWe;function IWe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function OWe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var TWe=o,NWe=jBe,DWe=fHe,PWe=lHe.isBrowser("IE <= 11");var AWe=function(e){var t,n;function r(t){var n;return OWe(IWe(n=e.call(this,t)||this),"_forceFlag",void 0),OWe(IWe(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;DWe(t)||("production"!==Gs.env.NODE_ENV?NWe(!1,"node is not an Element"):NWe(!1));var r=t;return n?!function(e){return PWe?"\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},PWe?TWe.createElement("span",{key:"A","data-text":"true",ref:e},"\n"):TWe.createElement("br",{key:"A","data-text":"true",ref:e})):function(e){return PWe?TWe.createElement("span",{key:"B","data-text":"true",ref:e},"\n"):TWe.createElement("br",{key:"B","data-text":"true",ref:e})}((function(e){return t._node=e})):TWe.createElement("span",{key:this._forceFlag?"A":"B","data-text":"true",ref:function(e){return t._node=e}},this.props.children)},r}(TWe.Component),MWe=AWe,jWe=fHe;var RWe=function(e){return!(!e||!e.ownerDocument)&&(jWe(e)&&"BR"===e.nodeName)};var LWe=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 FWe=function(e){return LWe(e)&&3==e.nodeType};var zWe=function e(t,n){return!(!t||!n)&&(t===n||!FWe(t)&&(FWe(n)?e(t,n.parentNode):"contains"in t?t.contains(n):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(n))))};var BWe=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}},UWe=DHe,qWe=zWe,VWe=BWe,KWe=dHe,HWe=jBe,WWe=fHe,GWe=lHe.isBrowser("IE");function YWe(e,t){if(!e)return"[empty]";var n=QWe(e,t);return n.nodeType===Node.TEXT_NODE?n.textContent:(WWe(n)||("production"!==Gs.env.NODE_ENV?HWe(!1,"Node must be an Element if it is not a text node."):HWe(!1)),n.outerHTML)}function QWe(e,t){var n=void 0!==t?t(e):[];if(e.nodeType===Node.TEXT_NODE){var r=e.textContent.length;return KWe(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(QWe(o[a],t));return i}function $We(e,t){for(var n=e,r=n;n;){if(WWe(n)&&r.hasAttribute("contenteditable"))return YWe(n,t);r=n=n.parentNode}return"Could not find contentEditable parent of node"}function ZWe(e){return null===e.nodeValue?e.childNodes.length:e.nodeValue.length}function JWe(e,t,n,r){var i=VWe();if(e.extend&&null!=t&&qWe(i,t)){n>ZWe(t)&&UWe.logSelectionStateFailure({anonymizedDom:$We(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 UWe.logSelectionStateFailure({anonymizedDom:$We(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 XWe(e,t,n,r){var i=KWe(t).createRange();if(n>ZWe(t)&&UWe.logSelectionStateFailure({anonymizedDom:$We(t),extraParams:JSON.stringify({offset:n}),selectionState:JSON.stringify(r.toJS())}),i.setStart(t,n),GWe)try{e.addRange(i)}catch(e){"production"!==Gs.env.NODE_ENV&&console.warn("Call to selection.addRange() threw exception: ",e)}else e.addRange(i)}var eGe=function(e,t,n,r,i){var o=KWe(t);if(qWe(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(),XWe(a,t,u-r,e),void JWe(a,t,l-r,e);if(d){if(m&&(a.removeAllRanges(),XWe(a,t,l-r,e)),h){var g=a.focusNode,v=a.focusOffset;a.removeAllRanges(),XWe(a,t,u-r,e),JWe(a,g,v,e)}}else h&&(a.removeAllRanges(),XWe(a,t,u-r,e)),m&&JWe(a,t,l-r,e)}},tGe=dW;function nGe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rGe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var iGe=MWe,oGe=o,aGe=jBe,sGe=RWe,uGe=eGe,cGe=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 rGe(nGe(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"!==Gs.env.NODE_ENV?aGe(!1,"Missing node"):aGe(!1));var u,c=s.firstChild;c||("production"!==Gs.env.NODE_ENV?aGe(!1,"Missing child"):aGe(!1)),c.nodeType===Node.TEXT_NODE?u=c:sGe(c)?u=s:(u=c.firstChild)||("production"!==Gs.env.NODE_ENV?aGe(!1,"Missing targetNode"):aGe(!1)),uGe(e,u,o,r,a)}}},i.shouldComponentUpdate=function(e){var t=this.leaf;return t||("production"!==Gs.env.NODE_ENV?aGe(!1,"Missing leafNode"):aGe(!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()),tGe(e,r,n)}),{});if(o){var c=o(s,t);u=tGe(u,c)}return oGe.createElement("span",{"data-offset-key":a,ref:function(t){return e.leaf=t},style:u},oGe.createElement(iGe,null,n))},r}(oGe.Component),lGe=cGe;var dGe=EWe,fGe=lGe,pGe=THe,hGe=o,mGe=EKe;jze.exports.List;var gGe=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=pGe.encode(d,l,n),a=e.get("start"),m=e.get("end");return hGe.createElement(fGe,{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?hGe.createElement(dGe,{block:t,children:v,contentState:n,decorator:o,decoratorKey:h,direction:a,leafSet:e,text:f,key:l}):v})).toArray();return hGe.createElement("div",{"data-offset-key":pGe.encode(d,0,0),className:mGe({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":"LTR"===a,"public/DraftStyleDefault/rtl":"RTL"===a})},h)},r}(hGe.Component),vGe=gGe;function yGe(e,t){return!!t&&(e===t.documentElement||e===t.body)}var bGe={getTop:function(e){var t=e.ownerDocument;return yGe(e,t)?t.body.scrollTop||t.documentElement.scrollTop:e.scrollTop},setTop:function(e,t){var n=e.ownerDocument;yGe(e,n)?n.body.scrollTop=n.documentElement.scrollTop=t:e.scrollTop=t},getLeft:function(e){var t=e.ownerDocument;return yGe(e,t)?t.body.scrollLeft||t.documentElement.scrollLeft:e.scrollLeft},setLeft:function(e,t){var n=e.ownerDocument;yGe(e,n)?n.body.scrollLeft=n.documentElement.scrollLeft=t:e.scrollLeft=t}},wGe=bGe,xGe=/-(.)/g;var _Ge=/([A-Z])/g;var SGe=function(e){return e.replace(xGe,(function(e,t){return t.toUpperCase()}))},kGe=function(e){return e.replace(_Ge,"-$1").toLowerCase()};function CGe(e){return null==e?e:String(e)}var EGe=function(e,t){var n;if(window.getComputedStyle&&(n=window.getComputedStyle(e,null)))return CGe(n.getPropertyValue(kGe(t)));if(document.defaultView&&document.defaultView.getComputedStyle){if(n=document.defaultView.getComputedStyle(e,null))return CGe(n.getPropertyValue(kGe(t)));if("display"===t)return"none"}return e.currentStyle?CGe("float"===t?e.currentStyle.cssFloat||e.currentStyle.styleFloat:e.currentStyle[SGe(t)]):CGe(e.style&&e.style[SGe(t)])};function IGe(e,t){var n=OGe.get(e,t);return"auto"===n||"scroll"===n}var OGe={get:EGe,getScrollParent:function(e){if(!e)return null;for(var t=e.ownerDocument;e&&e!==t.body;){if(IGe(e,"overflow")||IGe(e,"overflowY")||IGe(e,"overflowX"))return e;e=e.parentNode}return t.defaultView||t.parentWindow}},TGe=OGe,NGe=zWe;var DGe=function(e){var t=e.ownerDocument.documentElement;if(!("getBoundingClientRect"in e)||!NGe(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 PGe=function(e){var t=DGe(e);return{x:t.left,y:t.top,width:t.right-t.left,height:t.bottom-t.top}},AGe="undefined"!=typeof navigator&&navigator.userAgent.indexOf("AppleWebKit")>-1;var MGe=function(e){return(e=e||document).scrollingElement?e.scrollingElement:AGe||"CSS1Compat"!==e.compatMode?e.body:e.documentElement};var jGe=MGe,RGe=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 LGe=function(e){var t=jGe(e.ownerDocument||e.document);e.Window&&e instanceof e.Window&&(e=t);var n=RGe(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 FGe(){var e;return document.documentElement&&(e=document.documentElement.clientWidth),!e&&document.body&&(e=document.body.clientWidth),e||0}function zGe(){var e;return document.documentElement&&(e=document.documentElement.clientHeight),!e&&document.body&&(e=document.body.clientHeight),e||0}function BGe(){return{width:window.innerWidth||FGe(),height:window.innerHeight||zGe()}}BGe.withoutScrollbars=function(){return{width:FGe(),height:zGe()}};var UGe=BGe,qGe=dW;function VGe(){return VGe=qGe||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},VGe.apply(this,arguments)}function KGe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HGe(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){WGe(e,t,n[t])}))}return e}function WGe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var GGe=vGe,YGe=THe,QGe=o,$Ge=wGe,ZGe=TGe,JGe=PGe,XGe=LGe,eYe=UGe,tYe=jBe,nYe=PHe;jze.exports.List;var rYe=function(e,t){return e.getAnchorKey()===t||e.getFocusKey()===t},iYe=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}},oYe=function(e,t){var n=t(e);return n?{CustomComponent:n.component,customProps:n.props,customEditable:n.editable}:{}},aYe=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=HGe({},a,{contentEditable:i.customEditable,suppressContentEditableWarning:!0})),a},sYe=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 WGe(KGe(t=e.call.apply(e,[this].concat(r))||this),"wrapperRef",QGe.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||rYe(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=ZGe.getScrollParent(n),o=XGe(i);if(i===window){var a=JGe(n);(r=a.y+a.height-eYe().height)>0&&window.scrollTo(o.x,o.y+r+10)}else{nYe(n)||("production"!==Gs.env.NODE_ENV?tYe(!1,"blockNode is not an HTMLElement"):tYe(!1));var s=n;(r=s.offsetHeight+s.offsetTop-(i.offsetHeight+o.y))>0&&$Ge.setTop(i,$Ge.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=YGe.encode(n,0,0),d=s.getBlockForKey(n),f=oYe(d,o),p=f.CustomComponent||r,h=iYe(d,i),m=h.Element,g=h.wrapperTemplate,v=aYe(d,c,u,a,f,null),y=HGe({},e.props,{tree:l.getBlockTree(n),blockProps:f.customProps,offsetKey:u,block:d});return t.push(QGe.createElement(m,v,QGe.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(QGe.cloneElement(e,{key:"".concat(d,"-wrap"),"data-offset-key":YGe.encode(d,0,0)},l))}(g,m,t),t}),[]));var y=n.getKey(),b=YGe.encode(y,0,0),w=oYe(n,o),x=w.CustomComponent,_=null!=x?QGe.createElement(x,VGe({},this.props,{tree:l.getBlockTree(y),blockProps:w.customProps,offsetKey:b,block:n})):QGe.createElement(GGe,{block:n,children:v,contentState:s,customStyleFn:d,customStyleMap:f,decorator:u,direction:p,forceSelection:h,hasSelection:rYe(m,y),selection:m,tree:g});if(n.getParentKey())return _;var S=iYe(n,i).Element,k=aYe(n,c,b,a,w,this.wrapperRef);return QGe.createElement(S,k,_)},r}(QGe.Component),uYe=dW;function cYe(){return cYe=uYe||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},cYe.apply(this,arguments)}var lYe=sYe,dYe=THe,fYe=o,pYe=EVe,hYe=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=pYe(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:fYe.createElement(lYe,cYe({key:g},v)),wrapperTemplate:y,key:g,offsetKey:dYe.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=fYe.cloneElement(_.wrapperTemplate,{key:_.key+"-wrap","data-offset-key":_.offsetKey},S);w.push(k)}else w.push(_.block),x++}return fYe.createElement("div",{"data-contents":"true"},w)},r}(fYe.Component),mYe=hYe,gYe=dW;function vYe(){return vYe=gYe||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},vYe.apply(this,arguments)}function yYe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bYe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var wYe=lGe,xYe=THe,_Ye=o,SYe=wGe,kYe=TGe,CYe=bVe,EYe=uVe,IYe=EKe,OYe=PGe,TYe=LGe,NYe=UGe,DYe=jBe,PYe=PHe,AYe=EVe,MYe=function(e,t){return e.getAnchorKey()===t||e.getFocusKey()===t},jYe=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 bYe(yYe(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||MYe(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=kYe.getScrollParent(n),o=TYe(i);if(i===window){var a=OYe(n);(r=a.y+a.height-NYe().height)>0&&window.scrollTo(o.x,o.y+r+10)}else{PYe(n)||("production"!==Gs.env.NODE_ENV?DYe(!1,"blockNode is not an HTMLElement"):DYe(!1)),(r=n.offsetHeight+n.offsetTop-(i.offsetTop+i.offsetHeight+o.y))>0&&SYe.setTop(i,SYe.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=MYe(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=xYe.encode(n,s,u),d=a.get("start"),f=a.get("end");return _Ye.createElement(wYe,{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=AYe(e.props.decorator),p=f.getComponentForKey(d);if(!p)return l;var h=f.getPropsForKey(d),m=xYe.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=EYe.getHTMLDirIfDifferent(CYe.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 _Ye.createElement(p,vYe({},h,x,{key:m}),l)})).toArray()},i.render=function(){var e=this,t=this.props,n=t.direction,r=t.offsetKey,i=IYe({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":"LTR"===n,"public/DraftStyleDefault/rtl":"RTL"===n});return _Ye.createElement("div",{"data-offset-key":r,className:i,ref:function(t){return e._node=t}},this._renderChildren())},r}(_Ye.Component),RYe=jYe;var LYe=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},FYe=dW;function zYe(){return zYe=FYe||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},zYe.apply(this,arguments)}function BYe(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){UYe(e,t,n[t])}))}return e}function UYe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var qYe=RYe,VYe=THe,KYe=o,HYe=EKe,WYe=LYe,GYe=EVe,YYe=function(e,t,n,r){return HYe({"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})},QYe=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=GYe(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=VYe.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,P=N.element||t.get("unstyled").element,A=w.getDepth(),M="";if(r&&(M=r(w)),"li"===P)M=WYe(M,YYe(_,A,y!==D||null===v||A>v,I));var j=k||qYe,R={className:M,"data-block":!0,"data-editor":s,"data-offset-key":O,key:x};void 0!==E&&(R=BYe({},R,{contentEditable:E,suppressContentEditableWarning:!0}));var L=KYe.createElement(P,R,KYe.createElement(j,zYe({},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=KYe.cloneElement(B.wrapperTemplate,{key:B.key+"-wrap","data-offset-key":B.offsetKey},U);F.push(q)}else F.push(B.block),z++}return KYe.createElement("div",{"data-contents":"true"},F)},r}(KYe.Component),$Ye=QYe,ZYe=Pqe("draft_tree_data_support")?mYe:$Ye,JYe={isImage:function(e){return"image"===XYe(e)[0]},isJpeg:function(e){var t=XYe(e);return JYe.isImage(e)&&("jpeg"===t[1]||"pjpeg"===t[1])}};function XYe(e){return e.split("/")}var eQe=JYe,tQe=jBe;var nQe=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"!==Gs.env.NODE_ENV?tQe(!1,"toArray: Array-like object expected"):tQe(!1)),"number"!=typeof t&&("production"!==Gs.env.NODE_ENV?tQe(!1,"toArray: Object needs a length property"):tQe(!1)),0===t||t-1 in e||("production"!==Gs.env.NODE_ENV?tQe(!1,"toArray: Object should have keys for indices"):tQe(!1)),"function"==typeof e.callee&&("production"!==Gs.env.NODE_ENV?tQe(!1,"toArray: Object can't be `arguments`. Use rest params (function(...args) {}) or Array.from() instead."):tQe(!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 rQe(e){return function(){return e}}var iQe=function(){};iQe.thatReturns=rQe,iQe.thatReturnsFalse=rQe(!1),iQe.thatReturnsTrue=rQe(!0),iQe.thatReturnsNull=rQe(null),iQe.thatReturnsThis=function(){return this},iQe.thatReturnsArgument=function(e){return e};var oQe=iQe,aQe=eQe,sQe=nQe,uQe=oQe,cQe=new RegExp("\r\n","g"),lQe={"text/rtf":1,"text/html":1};function dQe(e){if("file"==e.kind)return e.getAsFile()}var fQe=function(){function e(e){this.data=e,this.types=e.types?sQe(e.types):[]}var t=e.prototype;return t.isRichText=function(){return!(!this.getHTML()||!this.getText())||!this.isImage()&&this.types.some((function(e){return lQe[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(cQe,"\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(!aQe.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(dQe).filter(uQe.thatReturnsArgument):this.data.files?Array.prototype.slice.call(this.data.files):[]},t.hasFiles=function(){return this.getFiles().length>0},e}(),pQe=fQe,hQe=jBe,mQe=/\.textClipping$/,gQe={"text/plain":!0,"text/html":!0,"text/rtf":!0};var vQe=function(e,t){var n=0,r=[];e.forEach((function(i){!function(e,t){if(!at.FileReader||e.type&&!(e.type in gQe))return void t("");if(""===e.type){var n="";return mQe.test(e.name)&&(n=e.name.replace(mQe,"")),void t(n)}var r=new FileReader;r.onload=function(){var e=r.result;"string"!=typeof e&&("production"!==Gs.env.NODE_ENV?hQe(!1,'We should be calling "FileReader.readAsText" which returns a string'):hQe(!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 yQe=function(e){return"handled"===e||!0===e},bQe=pQe,wQe=nqe,xQe=$Ve,_Qe=vHe,SQe=dHe,kQe=vQe,CQe=FHe,EQe=yHe,IQe=yQe,OQe=EVe;var TQe={onDragEnd:function(e){e.exitCurrentMode(),NQe(e)},onDrop:function(e,t){var n=new bQe(t.nativeEvent.dataTransfer),r=e._latestEditorState,i=function(e,t){var n=null,r=null,i=SQe(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=OQe(n),r=OQe(r);var a=OQe(_Qe(n));return CQe(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&&IQe(e.props.handleDroppedFiles(i,o)))return;kQe(o,(function(t){t&&e.update(DQe(r,i,t))}))}else{var a=e._internalDrag?"internal":"external";e.props.handleDrop&&IQe(e.props.handleDrop(i,n,a))||(e._internalDrag?e.update(function(e,t){var n=wQe.moveText(e.getCurrentContent(),e.getSelection(),t);return xQe.push(e,n,"insert-fragment")}(r,i)):e.update(DQe(r,i,n.getText()))),NQe(e)}}}};function NQe(e){e._internalDrag=!1;var t=e.editorContainer;if(t){var n=new MouseEvent("mouseup",{view:EQe(t),bubbles:!0,cancelable:!0});t.dispatchEvent(n)}}function DQe(e,t,n){var r=wQe.insertText(e.getCurrentContent(),t,n,e.getCurrentInlineStyle());return xQe.push(e,r,"insert-fragment")}var PQe=TQe;var AQe=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){Gs.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?at:self);var MQe=at.setImmediate,jQe=nqe,RQe=$Ve,LQe=iWe,FQe=yQe,zQe=AQe,BQe=EVe,UQe=MQe,qQe=lHe.isBrowser("Firefox");function VQe(e,t,n,r,i){var o=jQe.replaceText(e.getCurrentContent(),e.getSelection(),t,n,r);return RQe.push(e,o,"insert-characters",i)}var KQe=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&&FQe(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(VQe(n,r,n.getCurrentInlineStyle(),LQe(n.getCurrentContent(),n.getSelection()),!0));var s,u=VQe(n,r,n.getCurrentInlineStyle(),LQe(n.getCurrentContent(),n.getSelection()),!1),c=!1;if(c||(c=zQe(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=qQe&&("'"==s||"/"==s)),c||(c=BQe(u.getDirectionMap()).get(a)!==BQe(n.getDirectionMap()).get(a)),c)return t.preventDefault(),u=RQe.set(u,{forceSelection:!0}),void e.update(u);u=RQe.set(u,{nativelyRenderedContent:u.getCurrentContent()}),e._pendingStateFromBeforeInput=u,UQe((function(){void 0!==e._pendingStateFromBeforeInput&&(e.update(e._pendingStateFromBeforeInput),e._pendingStateFromBeforeInput=void 0)}))}},HQe=$Ve,WQe=zWe,GQe=BWe;var YQe=function(e,t){var n=t.currentTarget.ownerDocument;if(!Boolean(e.props.preserveSelectionOnBlur)&&GQe(n)===n.body){var r=n.defaultView.getSelection(),i=e.editor;1===r.rangeCount&&WQe(i,r.anchorNode)&&WQe(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(HQe.acceptSelection(o,s))}},QQe=$Ve;var $Qe=function(e,t){e.setMode("composite"),e.update(QQe.set(e._latestEditorState,{inCompositionMode:!0})),e._onCompositionStart(t)},ZQe=rUe;var JQe=function(e){var t=e.getSelection();return t.isCollapsed()?null:ZQe(e.getCurrentContent(),t)},XQe=JQe;var e$e=function(e,t){e._latestEditorState.getSelection().isCollapsed()?t.preventDefault():e.setClipboard(XQe(e._latestEditorState))};var t$e=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},n$e=nqe,r$e=$Ve,i$e=TGe,o$e=JQe,a$e=LGe,s$e=t$e;var u$e=function(e,t){var n,r=e._latestEditorState,i=r.getSelection(),o=t.target;if(i.isCollapsed())t.preventDefault();else{if(s$e(o)){var a=o;n=a$e(i$e.getScrollParent(a))}var s=o$e(r);e.setClipboard(s),e.setMode("cut"),setTimeout((function(){e.restoreEditorDOM(n),e.exitCurrentMode(),e.update(function(e){var t=n$e.removeRange(e.getCurrentContent(),e.getSelection(),"forward");return r$e.push(e,t,"remove-range")}(r))}),0)}};var c$e=function(e,t){e.setMode("drag"),t.preventDefault()};var l$e=function(e){e._internalDrag=!0,e.setMode("drag")},d$e=$Ve,f$e=lHe;var p$e=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),f$e.isBrowser("Chrome < 60.0.3081.0")?e.update(d$e.forceSelection(n,i)):e.update(d$e.acceptSelection(n,i))}},h$e=jBe,m$e=/[\uD800-\uDFFF]/;function g$e(e){return 55296<=e&&e<=57343}function v$e(e){return m$e.test(e)}function y$e(e,t){return 1+g$e(e.charCodeAt(t))}function b$e(e,t,n){if(t=t||0,n=void 0===n?1/0:n||0,!v$e(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+=y$e(e,i);if(i>=r)return""}else if(t<0){for(i=r;t<0&&0<i;t++)i-=y$e(e,i-1);i<0&&(i=0)}var o=r;if(n<r)for(o=i;n>0&&o<r;n--)o+=y$e(e,o);return e.substring(i,o)}var w$e={getCodePoints:function(e){for(var t=[],n=0;n<e.length;n+=y$e(e,n))t.push(e.codePointAt(n));return t},getUTF16Length:y$e,hasSurrogateUnit:v$e,isCodeUnitInSurrogateRange:g$e,isSurrogatePair:function(e,t){if(0<=t&&t<e.length||("production"!==Gs.env.NODE_ENV?h$e(!1,"isSurrogatePair: Invalid index %s for string length %s.",t,e.length):h$e(!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(!v$e(e))return e.length;for(var t=0,n=0;n<e.length;n+=y$e(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 b$e(e,t=t<n?t:n,r)},substr:b$e},x$e=w$e,_$e=oQe;function S$e(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 k$e="production"!==Gs.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];S$e.apply(void 0,[t].concat(r))}}:_$e,C$e=k$e,E$e=C$e;var I$e=function(e,t){var n=e.getSelection();"production"!==Gs.env.NODE_ENV&&E$e(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})},O$e=nqe,T$e=Pqe("draft_tree_data_support");var N$e=function(e,t,n){var r=e.getSelection(),i=e.getCurrentContent(),o=r,a=r.getAnchorKey(),s=r.getFocusKey(),u=i.getBlockForKey(a);if(T$e&&"forward"===n&&a!==s)return i;if(r.isCollapsed()){if("forward"===n){if(e.isSelectionAtEndOfContent())return i;if(T$e)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 O$e.removeRange(i,o,n)},D$e=$Ve,P$e=x$e,A$e=I$e,M$e=N$e;var j$e=function(e){var t=M$e(e,(function(e){var t=e.getSelection(),n=e.getCurrentContent(),r=t.getAnchorKey(),i=t.getAnchorOffset(),o=n.getBlockForKey(r).getText()[i-1];return A$e(e,o?P$e.getUTF16Length(o,0):1)}),"backward");if(t===e.getCurrentContent())return e;var n=e.getSelection();return D$e.push(e,t.set("selectionBefore",n),n.isCollapsed()?"backspace-character":"remove-range")},R$e=nqe,L$e=THe,F$e=$Ve,z$e=tWe.notEmptyKey,B$e=vHe,U$e=j$e,q$e=EVe,V$e=lHe.isEngine("Gecko");var K$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=q$e(B$e(r)),d=L$e.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=z$e(I)?y.getEntity(I):null,T="MUTABLE"===(null!=O?O.getMutability():null),N=T?"spellcheck-change":"apply-entity",D=R$e.replaceText(y,E,u,b.getInlineStyleAt(g),T?b.getEntityAt(g):null);if(V$e)x=n.anchorOffset,_=n.focusOffset,k=(S=g+Math.min(x,_))+Math.abs(x-_),x=S,_=k;else{var P=u.length-w.length;S=C.getStartOffset(),k=C.getEndOffset(),x=i?k+P:S,_=k+P}var A=D.merge({selectionBefore:y.getSelectionAfter(),selectionAfter:C.merge({anchorOffset:x,focusOffset:_})});e.update(F$e.push(c,A,N))}else{var M=t.nativeEvent.inputType;if(M){var j=function(e,t){return"deleteContentBackward"===e?U$e(t):t}(M,c);if(j!==c)return e.restoreEditorDOM(),void e.update(j)}}}},H$e=NHe;var W$e=function(e){return e.which===H$e.RETURN&&(e.getModifierState("Shift")||e.getModifierState("Alt")||e.getModifierState("Control"))},G$e=W$e,Y$e=lHe.isPlatform("Mac OS X"),Q$e={isCtrlKeyCommand:function(e){return!!e.ctrlKey&&!e.altKey},isOptionKeyCommand:function(e){return Y$e&&e.altKey},usesMacOSHeuristics:function(){return Y$e},hasCommandModifier:function(e){return Y$e?!!e.metaKey&&!e.altKey:Q$e.isCtrlKeyCommand(e)},isSoftNewlineEvent:G$e},$$e=Q$e,Z$e=nqe,J$e=$Ve,X$e=rUe,eZe=EVe,tZe=null,nZe={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=eZe(r),tZe=X$e(t,r);var s=Z$e.removeRange(t,r,"forward");return s===t?e:J$e.push(e,s,"remove-range")},paste:function(e){if(!tZe)return e;var t=Z$e.replaceWithFragment(e.getCurrentContent(),e.getSelection(),tZe);return J$e.push(e,t,"insert-fragment")}},rZe=jBe;var iZe=lHe.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"!==Gs.env.NODE_ENV?rZe(!1,"Found an unexpected detached subtree when getting range client rects."):rZe(!1)}:function(e){return Array.from(e.getClientRects())},oZe=x$e,aZe=dHe,sZe=iZe,uZe=jBe;function cZe(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 lZe(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 dZe=$Ve,fZe=function(e){e.collapsed||("production"!==Gs.env.NODE_ENV?uZe(!1,"expandRangeToStartOfLine: Provided range is not collapsed."):uZe(!1));var t=(e=e.cloneRange()).startContainer;1!==t.nodeType&&(t=t.parentNode);var n=function(e){var t=getComputedStyle(e),n=aZe(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"!==Gs.env.NODE_ENV?uZe(!1,"Missing document.body"):uZe(!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);cZe(sZe(e),n)&&(r=e.startContainer,i=e.startOffset,r.parentNode||("production"!==Gs.env.NODE_ENV?uZe(!1,"Found unexpected detached subtree when traversing."):uZe(!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&&oZe.isSurrogatePair(s,u-1))){if(e.setStart(o,u),!cZe(sZe(e),n))break;r=o,i=u}if(-1===u||0===o.childNodes.length)break;a=lZe(o=o.childNodes[u])}return e.setStart(r,i),e},pZe=GHe,hZe=I$e,mZe=N$e;var gZe=function(e,t){var n=mZe(e,(function(e){var n=e.getSelection();if(n.isCollapsed()&&0===n.getAnchorOffset())return hZe(e,1);var r=t.currentTarget.ownerDocument.defaultView.getSelection().getRangeAt(0);return r=fZe(r),pZe(e,null,r.endContainer,r.endOffset,r.startContainer,r.startOffset).selectionState}),"backward");return n===e.getCurrentContent()?e:dZe.push(e,n,"remove-range")},vZe="\\s|(?![_])"+{getPunctuation:function(){return"[.,+*?$|#{}()'\\^\\-\\[\\]\\\\\\/!@%\"~=<>_:;・、。〈-】〔-〟:-?!-/[-`{-・⸮؟٪-٬؛،؍﴾﴿᠁।၊။‐-‧‰-⁞¡-±´-¸º»¿]"}}.getPunctuation(),yZe=new RegExp("^(?:"+vZe+")*(?:['‘’]|(?!"+vZe+").)*(?:(?!"+vZe+").)"),bZe=new RegExp("(?:(?!"+vZe+").)(?:['‘’]|(?!"+vZe+").)*(?:"+vZe+")*$");function wZe(e,t){var n=t?bZe.exec(e):yZe.exec(e);return n?n[0]:e}var xZe={getBackward:function(e){return wZe(e,!0)},getForward:function(e){return wZe(e,!1)}},_Ze=xZe,SZe=$Ve,kZe=I$e,CZe=N$e;var EZe=C$e;var IZe=function(e,t){var n=e.getSelection();"production"!==Gs.env.NODE_ENV&&EZe(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})},OZe=xZe,TZe=$Ve,NZe=IZe,DZe=N$e;var PZe=nqe,AZe=$Ve;var MZe=$Ve;var jZe=$Ve;var RZe=$Ve,LZe=x$e,FZe=IZe,zZe=N$e;var BZe=nqe,UZe=$Ve,qZe=rUe;var VZe=$Ve;var KZe=function(e,t,n){var r=VZe.undo(t);if("spellcheck-change"!==t.getLastChangeType())e.preventDefault(),t.getNativelyRenderedContent()?(n(VZe.set(t,{nativelyRenderedContent:null})),setTimeout((function(){n(r)}),0)):n(r);else{var i=r.getCurrentContent();n(VZe.set(r,{nativelyRenderedContent:i}))}},HZe=nqe,WZe=$Ve,GZe=NHe,YZe=nZe,QZe=lHe,$Ze=yQe,ZZe=gZe,JZe=function(e){var t=CZe(e,(function(e){var t=e.getSelection(),n=t.getStartOffset();if(0===n)return kZe(e,1);var r=t.getStartKey(),i=e.getCurrentContent().getBlockForKey(r).getText().slice(0,n),o=_Ze.getBackward(i);return kZe(e,o.length||1)}),"backward");return t===e.getCurrentContent()?e:SZe.push(e,t,"remove-range")},XZe=function(e){var t=DZe(e,(function(e){var t=e.getSelection(),n=t.getStartOffset(),r=t.getStartKey(),i=e.getCurrentContent().getBlockForKey(r).getText().slice(n),o=OZe.getForward(i);return NZe(e,o.length||1)}),"forward");return t===e.getCurrentContent()?e:TZe.push(e,t,"remove-range")},eJe=function(e){var t=PZe.splitBlock(e.getCurrentContent(),e.getSelection());return AZe.push(e,t,"split-block")},tJe=function(e){var t=e.getSelection(),n=t.getEndKey(),r=e.getCurrentContent().getBlockForKey(n).getLength();return MZe.set(e,{selection:t.merge({anchorKey:n,anchorOffset:r,focusKey:n,focusOffset:r,isBackward:!1}),forceSelection:!0})},nJe=function(e){var t=e.getSelection(),n=t.getStartKey();return jZe.set(e,{selection:t.merge({anchorKey:n,anchorOffset:0,focusKey:n,focusOffset:0,isBackward:!1}),forceSelection:!0})},rJe=j$e,iJe=function(e){var t=zZe(e,(function(e){var t=e.getSelection(),n=e.getCurrentContent(),r=t.getAnchorKey(),i=t.getAnchorOffset(),o=n.getBlockForKey(r).getText()[i];return FZe(e,o?LZe.getUTF16Length(o,0):1)}),"forward");if(t===e.getCurrentContent())return e;var n=e.getSelection();return RZe.push(e,t.set("selectionBefore",n),n.isCollapsed()?"delete-character":"remove-range")},oJe=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=qZe(a,r),c=BZe.removeRange(a,r,"backward"),l=c.getSelectionAfter(),d=l.getAnchorOffset()-1,f=l.merge({anchorOffset:d,focusOffset:d}),p=BZe.replaceWithFragment(c,f,u),h=UZe.push(e,p,"insert-fragment");return UZe.acceptSelection(h,i)},aJe=KZe,sJe=$$e.isOptionKeyCommand,uJe=QZe.isBrowser("Chrome");var cJe=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 GZe.RETURN:if(t.preventDefault(),e.props.handleReturn&&$Ze(e.props.handleReturn(t,r)))return;break;case GZe.ESC:if(t.preventDefault(),i("onEscape"))return;break;case GZe.TAB:if(i("onTab"))return;break;case GZe.UP:if(i("onUpArrow"))return;break;case GZe.RIGHT:if(i("onRightArrow"))return;break;case GZe.DOWN:if(i("onDownArrow"))return;break;case GZe.LEFT:if(i("onLeftArrow"))return;break;case GZe.SPACE:uJe&&sJe(t)&&t.preventDefault()}var o=e.props.keyBindingFn(t);if(null!=o&&""!==o)if("undo"!==o){if(t.preventDefault(),!e.props.handleKeyCommand||!$Ze(e.props.handleKeyCommand(o,r,t.timeStamp))){var a=function(e,t,n){switch(e){case"redo":return WZe.redo(t);case"delete":return iJe(t);case"delete-word":return XZe(t);case"backspace":return rJe(t);case"backspace-word":return JZe(t);case"backspace-to-start-of-line":return ZZe(t,n);case"split-block":return eJe(t);case"transpose-characters":return oJe(t);case"move-selection-to-start-of-block":return nJe(t);case"move-selection-to-end-of-block":return tJe(t);case"secondary-cut":return YZe.cut(t);case"secondary-paste":return YZe.paste(t);default:return t}}(o,r,t);a!==r&&e.update(a)}}else aJe(t,r,e.update);else if(n===GZe.SPACE&&uJe&&sJe(t)){var s=HZe.replaceText(r.getCurrentContent(),r.getSelection()," ");e.update(WZe.push(r,s,"insert-characters"))}};var lJe=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}(),dJe=lJe,fJe=jBe,pJe=lHe.isBrowser("IE <= 9");var hJe=function(e){var t,n=null;return!pJe&&document.implementation&&document.implementation.createHTMLDocument&&((t=document.implementation.createHTMLDocument("foo")).documentElement||("production"!==Gs.env.NODE_ENV?fJe(!1,"Missing doc.documentElement"):fJe(!1)),t.documentElement.innerHTML=e,n=t.getElementsByTagName("body")[0]),n},mJe=fHe;var gJe=function(e){return!(!e||!e.ownerDocument)&&(mJe(e)&&"A"===e.nodeName)},vJe=fHe;var yJe,bJe=function(e){return!(!e||!e.ownerDocument)&&(vJe(e)&&"IMG"===e.nodeName)};function wJe(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){xJe(e,t,n[t])}))}return e}function xJe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var _Je=Yze,SJe=cBe,kJe=kBe,CJe=TKe,EJe=Tqe,IJe=dJe,OJe=EKe,TJe=HBe,NJe=hJe,DJe=Pqe,PJe=jze.exports,AJe=PJe.List,MJe=PJe.Map,jJe=PJe.OrderedSet,RJe=gJe,LJe=RWe,FJe=PHe,zJe=bJe,BJe=DJe("draft_tree_data_support"),UJe=new RegExp("\r","g"),qJe=new RegExp("\n","g"),VJe=new RegExp("^\n","g"),KJe=new RegExp("&nbsp;","g"),HJe=new RegExp("&#13;?","g"),WJe=new RegExp("&#8203;?","g"),GJe=["bold","bolder","500","600","700","800","900"],YJe=["light","lighter","normal","100","200","300","400"],QJe=["className","href","rel","target","title"],$Je=["alt","className","height","src","width"],ZJe=(xJe(yJe={},OJe("public/DraftStyleDefault/depth0"),0),xJe(yJe,OJe("public/DraftStyleDefault/depth1"),1),xJe(yJe,OJe("public/DraftStyleDefault/depth2"),2),xJe(yJe,OJe("public/DraftStyleDefault/depth3"),3),xJe(yJe,OJe("public/DraftStyleDefault/depth4"),4),yJe),JJe=MJe({b:"BOLD",code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",i:"ITALIC",s:"STRIKETHROUGH",strike:"STRIKETHROUGH",strong:"BOLD",u:"UNDERLINE",mark:"HIGHLIGHT"}),XJe=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)}))})),MJe(t)},eXe=function(e){if(FJe(e)&&e.style.fontFamily.includes("monospace"))return"CODE";return null},tXe=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Object.keys(ZJe).some((function(n){e.classList.contains(n)&&(t=ZJe[n])})),t},nXe=function(e){if(!RJe(e))return!1;var t=e;return!(!t.href||"http:"!==t.protocol&&"https:"!==t.protocol&&"mailto:"!==t.protocol&&"tel:"!==t.protocol)},rXe=function(e){if(!zJe(e))return!1;var t=e;return!(!t.attributes.getNamedItem("src")||!t.attributes.getNamedItem("src").value)},iXe=function(e,t){if(!FJe(e))return t;var n=e,r=n.style.fontWeight,i=n.style.fontStyle,o=n.style.textDecoration;return t.withMutations((function(e){GJe.indexOf(r)>=0?e.add("BOLD"):YJe.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"))}))},oXe=function(e){return"ul"===e||"ol"===e},aXe=function(){function e(e,t){xJe(this,"characterList",AJe()),xJe(this,"currentBlockType","unstyled"),xJe(this,"currentDepth",0),xJe(this,"currentEntity",null),xJe(this,"currentText",""),xJe(this,"wrapper",null),xJe(this,"blockConfigs",[]),xJe(this,"contentBlocks",[]),xJe(this,"entityMap",EJe),xJe(this,"blockTypeMap",void 0),xJe(this,"disambiguate",void 0),this.clear(),this.blockTypeMap=e,this.disambiguate=t}var t=e.prototype;return t.clear=function(){this.characterList=AJe(),this.blockConfigs=[],this.currentBlockType="unstyled",this.currentDepth=0,this.currentEntity=null,this.currentText="",this.entityMap=EJe,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],jJe())),this._trimCurrentText(),""!==this.currentText&&this.blockConfigs.push(this._makeBlockConfig()),this},t.getContentBlocks=function(){return 0===this.contentBlocks.length&&(BJe?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||TJe(),n=wJe({key:t,type:this.currentBlockType,text:this.currentText,characterList:this.characterList,depth:this.currentDepth,parent:null,children:AJe(),prevSibling:null,nextSibling:null,childConfigs:[]},e);return this.characterList=AJe(),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||oXe(o)){this._trimCurrentText(),""!==this.currentText&&n.push(this._makeBlockConfig());var a=this.currentDepth,s=this.wrapper;oXe(o)&&(this.wrapper=o,oXe(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(rXe(i))this._addImgNode(i,t);else if(nXe(i))this._addAnchorNode(i,n,t);else{var c=t;JJe.has(o)&&(c=c.add(JJe.get(o))),c=iXe(i,c);var l=eXe(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"),!BJe&&FJe(i)&&("unordered-list-item"===u||"ordered-list-item"===u)){var p=i;this.currentDepth=tXe(p,this.currentDepth)}var h=TJe(),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=_Je.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=AJe()):(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(VJe,"")).replace(qJe," ")),this._appendText(n,t)},t._addBreakNode=function(e,t){LJe(e)&&this._appendText("\n",t)},t._addImgNode=function(e,t){if(zJe(e)){var n=e,r={};$Je.forEach((function(e){var t=n.getAttribute(e);t&&(r[e]=t)})),this.currentEntity=this.entityMap.__create("IMAGE","IMMUTABLE",r),DJe("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(RJe(e)){var r=e,i={};QJe.forEach((function(e){var t=r.getAttribute(e);t&&(i[e]=t)})),i.url=new IJe(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=AJe(i.childConfigs.map((function(e){return e.key}))),this.contentBlocks.push(new kJe(wJe({},i))),this._toContentBlocks(i.childConfigs,i.key)}},t._hoistContainersInBlockConfigs=function(e){var t=this;return AJe(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 SJe(wJe({},e,{text:e.text+r,characterList:e.characterList.concat(i)})))}))},t._extractTextFromBlockConfigs=function(e){for(var t=e.length-1,n="",r=AJe(),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}(),sXe=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:NJe,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:CJe,r=t(e=e.trim().replace(UJe,"").replace(KJe," ").replace(HJe,"").replace(WJe,""));if(!r)return null;var i=XJe(n),o=function(e,t){return"li"===e?"ol"===t?"ordered-list-item":"unordered-list-item":null};return new aXe(i,o).addDOMNode(r).getContentBlocks()};function uXe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var cXe=cBe,lXe=kBe,dXe=sXe,fXe=HBe,pXe=hJe,hXe=Pqe,mXe=jze.exports,gXe=Mqe,vXe=mXe.List,yXe=mXe.Repeat,bXe=hXe("draft_tree_data_support"),wXe=bXe?lXe:cXe,xXe={processHTML:function(e,t){return dXe(e,pXe,t)},processText:function(e,t,n){return e.reduce((function(e,r,i){r=gXe(r);var o=fXe(),a={key:o,type:n,text:r,characterList:vXe(yXe(t,r.length))};if(bXe&&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){uXe(e,t,n[t])}))}return e}({},a,{prevSibling:(e[s]=e[s].merge({nextSibling:o})).getKey()})}return e.push(new wXe(a)),e}),[])}};var _Xe=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})},SXe=nqe,kXe=$Ve,CXe=_Xe,EXe=EVe,IXe={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 IXe.toggleInlineStyle(e,"BOLD");case"italic":return IXe.toggleInlineStyle(e,"ITALIC");case"underline":return IXe.toggleInlineStyle(e,"UNDERLINE");case"code":return IXe.toggleCode(e);case"backspace":case"backspace-word":case"backspace-to-start-of-line":return IXe.onBackspace(e);case"delete":case"delete-word":case"delete-to-end-of-block":return IXe.onDelete(e);default:return null}},insertSoftNewline:function(e){var t=SXe.insertText(e.getCurrentContent(),e.getSelection(),"\n",e.getCurrentInlineStyle(),null),n=kXe.push(e,t,"insert-characters");return kXe.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 kXe.push(e,a,"remove-range")}var s=IXe.tryToRemoveBlockStyle(e);return s?kXe.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=SXe.removeRange(n,a,"forward");return s!==n?kXe.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=CXe(o,r,e.shiftKey?-1:1,n);return kXe.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=EXe(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 kXe.push(e,SXe.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?IXe.toggleBlockType(e,"code-block"):IXe.toggleInlineStyle(e,"CODE")},toggleInlineStyle:function(e,t){var n=e.getSelection(),r=e.getCurrentInlineStyle();if(n.isCollapsed())return kXe.setInlineStyleOverride(e,r.has(t)?r.remove(t):r.add(t));var i,o=e.getCurrentContent();return i=r.has(t)?SXe.removeInlineStyle(o,n,t):SXe.applyInlineStyle(o,n,t),kXe.push(e,i,"change-inline-style")},toggleLink:function(e,t,n){var r=SXe.applyEntity(e.getCurrentContent(),t,n);return kXe.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 SXe.setBlockType(i,t,"unstyled")}return null}},OXe=IXe,TXe=/\r\n?|\n/g;var NXe=Fze,DXe=Yze,PXe=pQe,AXe=nqe,MXe=xXe,jXe=$Ve,RXe=OXe,LXe=iWe,FXe=vQe,zXe=yQe,BXe=function(e){return e.split(TXe)};function UXe(e,t,n){var r=AXe.replaceWithFragment(e.getCurrentContent(),e.getSelection(),t);return jXe.push(e,r.set("entityMap",n),"insert-fragment")}var qXe=function(e,t){t.preventDefault();var n=new PXe(t.clipboardData);if(!n.isRichText()){var r=n.getFiles(),i=n.getText();if(r.length>0){if(e.props.handlePastedFiles&&zXe(e.props.handlePastedFiles(r)))return;return void FXe(r,(function(t){if(t=t||i){var n=e._latestEditorState,r=BXe(t),o=DXe.create({style:n.getCurrentInlineStyle(),entity:LXe(n.getCurrentContent(),n.getSelection())}),a=RXe.getCurrentBlockType(n),s=MXe.processText(r,o,a),u=NXe.createFromArray(s),c=AXe.replaceWithFragment(n.getCurrentContent(),n.getSelection(),u);e.update(jXe.push(n,c,"insert-fragment"))}}))}}var o=[],a=n.getText(),s=n.getHTML(),u=e._latestEditorState;if(!e.props.handlePastedText||!zXe(e.props.handlePastedText(a,s,u))){if(a&&(o=BXe(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(UXe(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(UXe(e._latestEditorState,c));if(s){var l=MXe.processHTML(s,e.props.blockRenderMap);if(l){var d=l.contentBlocks,f=l.entityMap;if(d){var p=NXe.createFromArray(d);return void e.update(UXe(e._latestEditorState,p,f))}}}e.setClipboard(null)}if(o.length){var h=DXe.create({style:u.getCurrentInlineStyle(),entity:LXe(u.getCurrentContent(),u.getSelection())}),m=RXe.getCurrentBlockType(u),g=MXe.processText(o,h,m),v=NXe.createFromArray(g);e.update(UXe(e._latestEditorState,v))}}},VXe=lHe,KXe=KQe,HXe=YQe,WXe=$Qe,GXe=e$e,YXe=u$e,QXe=c$e,$Xe=l$e,ZXe=p$e,JXe=K$e,XXe=cJe,e0e=qXe,t0e=eWe,n0e=VXe.isBrowser("Chrome"),r0e=VXe.isBrowser("Firefox"),i0e=n0e||r0e?t0e:function(e){},o0e={onBeforeInput:KXe,onBlur:HXe,onCompositionStart:WXe,onCopy:GXe,onCut:YXe,onDragOver:QXe,onDragStart:$Xe,onFocus:ZXe,onInput:JXe,onKeyDown:XXe,onPaste:e0e,onSelect:t0e,onMouseUp:i0e,onKeyUp:i0e},a0e=je.unstable_flushControlled;var s0e=o,u0e=EKe,c0e=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=u0e({"public/DraftEditorPlaceholder/root":!0,"public/DraftEditorPlaceholder/hasFocus":e});return s0e.createElement("div",{className:t},s0e.createElement("div",{className:u0e("public/DraftEditorPlaceholder/inner"),id:this.props.accessibilityID,style:{whiteSpace:"pre-wrap"}},this.props.text))},r}(s0e.Component),l0e=c0e,d0e=$$e,f0e=NHe,p0e=lHe,h0e=p0e.isPlatform("Mac OS X"),m0e=h0e&&p0e.isBrowser("Firefox < 29"),g0e=d0e.hasCommandModifier,v0e=d0e.isCtrlKeyCommand;function y0e(e){return h0e&&e.altKey||v0e(e)}var b0e=function(e){switch(e.keyCode){case 66:return g0e(e)?"bold":null;case 68:return v0e(e)?"delete":null;case 72:return v0e(e)?"backspace":null;case 73:return g0e(e)?"italic":null;case 74:return g0e(e)?"code":null;case 75:return h0e&&v0e(e)?"secondary-cut":null;case 77:case 79:return v0e(e)?"split-block":null;case 84:return h0e&&v0e(e)?"transpose-characters":null;case 85:return g0e(e)?"underline":null;case 87:return h0e&&v0e(e)?"backspace-word":null;case 89:return v0e(e)?h0e?"secondary-paste":"redo":null;case 90:return function(e){return g0e(e)?e.shiftKey?"redo":"undo":null}(e)||null;case f0e.RETURN:return"split-block";case f0e.DELETE:return function(e){return!h0e&&e.shiftKey?null:y0e(e)?"delete-word":"delete"}(e);case f0e.BACKSPACE:return function(e){return g0e(e)&&h0e?"backspace-to-start-of-line":y0e(e)?"backspace-word":"backspace"}(e);case f0e.LEFT:return m0e&&g0e(e)?"move-selection-to-start-of-block":null;case f0e.RIGHT:return m0e&&g0e(e)?"move-selection-to-end-of-block":null;default:return null}},w0e=dW;function x0e(){return x0e=w0e||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},x0e.apply(this,arguments)}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){k0e(e,t,n[t])}))}return e}function S0e(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function k0e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function C0e(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var E0e=TKe,I0e=NKe,O0e=yWe,T0e=ZYe,N0e=PQe,D0e=o0e,P0e=a0e,A0e=l0e,M0e=$Ve,j0e=o,R0e=wGe,L0e=TGe,F0e=EKe,z0e=HBe,B0e=b0e,U0e=LGe,q0e=Pqe,V0e=jBe,K0e=PHe,H0e=EVe,W0e=lHe.isBrowser("IE"),G0e=!W0e,Y0e={edit:D0e,composite:O0e,drag:N0e,cut:null,render:null},Q0e=!1,$0e=function(e){function t(){return e.apply(this,arguments)||this}C0e(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}(j0e.Component),Z0e=function(e){function t(t){var n;return k0e(S0e(n=e.call(this,t)||this),"_blockSelectEvents",void 0),k0e(S0e(n),"_clipboard",void 0),k0e(S0e(n),"_handler",void 0),k0e(S0e(n),"_dragCount",void 0),k0e(S0e(n),"_internalDrag",void 0),k0e(S0e(n),"_editorKey",void 0),k0e(S0e(n),"_placeholderAccessibilityID",void 0),k0e(S0e(n),"_latestEditorState",void 0),k0e(S0e(n),"_latestCommittedEditorState",void 0),k0e(S0e(n),"_pendingStateFromBeforeInput",void 0),k0e(S0e(n),"_onBeforeInput",void 0),k0e(S0e(n),"_onBlur",void 0),k0e(S0e(n),"_onCharacterData",void 0),k0e(S0e(n),"_onCompositionEnd",void 0),k0e(S0e(n),"_onCompositionStart",void 0),k0e(S0e(n),"_onCopy",void 0),k0e(S0e(n),"_onCut",void 0),k0e(S0e(n),"_onDragEnd",void 0),k0e(S0e(n),"_onDragOver",void 0),k0e(S0e(n),"_onDragStart",void 0),k0e(S0e(n),"_onDrop",void 0),k0e(S0e(n),"_onInput",void 0),k0e(S0e(n),"_onFocus",void 0),k0e(S0e(n),"_onKeyDown",void 0),k0e(S0e(n),"_onKeyPress",void 0),k0e(S0e(n),"_onKeyUp",void 0),k0e(S0e(n),"_onMouseDown",void 0),k0e(S0e(n),"_onMouseUp",void 0),k0e(S0e(n),"_onPaste",void 0),k0e(S0e(n),"_onSelect",void 0),k0e(S0e(n),"editor",void 0),k0e(S0e(n),"editorContainer",void 0),k0e(S0e(n),"focus",void 0),k0e(S0e(n),"blur",void 0),k0e(S0e(n),"setMode",void 0),k0e(S0e(n),"exitCurrentMode",void 0),k0e(S0e(n),"restoreEditorDOM",void 0),k0e(S0e(n),"setClipboard",void 0),k0e(S0e(n),"getClipboard",void 0),k0e(S0e(n),"getEditorKey",void 0),k0e(S0e(n),"update",void 0),k0e(S0e(n),"onDragEnter",void 0),k0e(S0e(n),"onDragLeave",void 0),k0e(S0e(n),"_handleEditorContainerRef",(function(e){n.editorContainer=e,n.editor=null!==e?e.firstChild:null})),k0e(S0e(n),"focus",(function(e){var t=n.props.editorState,r=t.getSelection().getHasFocus(),i=n.editor;if(i){var o=L0e.getScrollParent(i),a=e||U0e(o),s=a.x,u=a.y;K0e(i)||("production"!==Gs.env.NODE_ENV?V0e(!1,"editorNode is not an HTMLElement"):V0e(!1)),i.focus(),o===window?window.scrollTo(s,u):R0e.setTop(o,u),r||n.update(M0e.forceSelection(t,t.getSelection()))}})),k0e(S0e(n),"blur",(function(){var e=n.editor;e&&(K0e(e)||("production"!==Gs.env.NODE_ENV?V0e(!1,"editorNode is not an HTMLElement"):V0e(!1)),e.blur())})),k0e(S0e(n),"setMode",(function(e){var t=n.props,r=t.onPaste,i=t.onCut,o=t.onCopy,a=_0e({},Y0e.edit);r&&(a.onPaste=r),i&&(a.onCut=i),o&&(a.onCopy=o);var s=_0e({},Y0e,{edit:a});n._handler=s[e]})),k0e(S0e(n),"exitCurrentMode",(function(){n.setMode("edit")})),k0e(S0e(n),"restoreEditorDOM",(function(e){n.setState({contentsKey:n.state.contentsKey+1},(function(){n.focus(e)}))})),k0e(S0e(n),"setClipboard",(function(e){n._clipboard=e})),k0e(S0e(n),"getClipboard",(function(){return n._clipboard})),k0e(S0e(n),"update",(function(e){n._latestEditorState=e,n.props.onChange(e)})),k0e(S0e(n),"onDragEnter",(function(){n._dragCount++})),k0e(S0e(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||z0e(),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"!==Gs.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}C0e(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&&(P0e?P0e((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:H0e(this.props.placeholder),editorState:this.props.editorState,textAlignment:this.props.textAlignment,accessibilityID:this._placeholderAccessibilityID};return j0e.createElement(A0e,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=F0e({"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:_0e({},I0e,o),customStyleFn:i,editorKey:this._editorKey,editorState:a,preventScroll:s,textDirectionality:l};return j0e.createElement("div",{className:d},this._renderPlaceholder(),j0e.createElement("div",{className:F0e("DraftEditor/editorContainer"),ref:this._handleEditorContainerRef},j0e.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:F0e({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:G0e&&this.props.spellCheck,style:{outline:"none",userSelect:"text",WebkitUserSelect:"text",whiteSpace:"pre-wrap",wordWrap:"break-word"},suppressContentEditableWarning:!0,tabIndex:this.props.tabIndex},j0e.createElement($0e,{editor:this,editorState:a}),j0e.createElement(T0e,x0e({},h,{key:"contents"+this.state.contentsKey})))))},n.componentDidMount=function(){this._blockSelectEvents=!1,!Q0e&&q0e("draft_ods_enabled")&&(Q0e=!0),this.setMode("edit"),W0e&&(this.editor?this.editor.ownerDocument.execCommand("AutoUrlDetect",!1,!1):at.execCommand("AutoUrlDetect",!1,!1))},n.componentDidUpdate=function(){this._blockSelectEvents=!1,this._latestEditorState=this.props.editorState,this._latestCommittedEditorState=this.props.editorState},t}(j0e.Component);k0e(Z0e,"defaultProps",{blockRenderMap:E0e,blockRendererFn:function(){return null},blockStyleFn:function(){return""},keyBindingFn:B0e,readOnly:!1,spellCheck:!1,stripPastedStyles:!1});var J0e=Z0e,X0e=ut(Object.freeze({__proto__:null})),e1e={stringify:function(e){return"_"+String(e)},unstringify:function(e){return e.slice(1)}},t1e=e1e,n1e=x$e.strlen;var r1e=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:n1e(o.slice(0,r)),length:n1e(o.slice(r,i)),key:Number(t[t1e.stringify(a)])})})),n},i1e=x$e,o1e=Qze,a1e=function(e,t){return e===t},s1e=function(e){return!!e},u1e=[];var c1e=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 o1e(i,a1e,s1e,(function(t,i){var o=e.getText();r.push({offset:i1e.strlen(o.slice(0,t)),length:i1e.strlen(o.slice(t,i)),style:n})})),r}(e,t,n)}));return Array.prototype.concat.apply(u1e,n.toJS())};function l1e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var d1e=cBe,f1e=kBe,p1e=e1e,h1e=r1e,m1e=c1e,g1e=jBe,v1e=function(e,t){return{key:e.getKey(),text:e.getText(),type:e.getType(),depth:e.getDepth(),inlineStyleRanges:m1e(e),entityRanges:h1e(e,t),data:e.getData().toObject()}},y1e=function(e,t,n,r){if(e instanceof d1e)n.push(v1e(e,t));else{e instanceof f1e||("production"!==Gs.env.NODE_ENV?g1e(!1,"block is not a BlockNode"):g1e(!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){l1e(e,t,n[t])}))}return e}({},v1e(e,t),{children:[]});i?r[i].children.push(o):n.push(o)}},b1e=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=p1e.stringify(r);o[i]||(o[i]=r,n[i]="".concat(a),a++)})),y1e(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(p1e.unstringify(t));i[n]={type:r.getType(),mutability:r.getMutability(),data:r.getData()}})),{blocks:n,entityMap:i}}(e,t),t};function w1e(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){x1e(e,t,n[t])}))}return e}function x1e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var _1e=HBe,S1e=jBe,k1e=function(e){if(!e||!e.type)return!1;var t=e.type;return"unordered-list-item"===t||"ordered-list-item"===t},C1e={fromRawTreeStateToRawState:function(e){var t=e.blocks,n=[];return Array.isArray(t)||("production"!==Gs.env.NODE_ENV?S1e(!1,"Invalid raw state"):S1e(!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"!==Gs.env.NODE_ENV?S1e(!1,"Invalid tree raw block"):S1e(!1)),n=n.concat([].concat(i.reverse()))}}(t,(function(e){var t=w1e({},e);k1e(e)&&(t.depth=t.depth||0,function(e){Array.isArray(e.children)&&(e.children=e.children.map((function(t){return t.type===e.type?w1e({},t,{depth:(e.depth||0)+1}):t})))}(e),null!=e.children&&e.children.length>0)||(delete t.children,n.push(t))})),e.blocks=n,w1e({},e,{blocks:n})):e},fromRawStateToRawTreeState:function(e){var t=[],n=[];return e.blocks.forEach((function(e){var r=k1e(e),i=e.depth||0,o=w1e({},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:_1e(),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)})),w1e({},e,{blocks:t})}},E1e=C1e,I1e=C$e,O1e={isValidBlock:function(e,t){var n=e.getKey(),r=e.getParentKey();if(null!=r&&!t.get(r).getChildKeys().includes(n))return"production"!==Gs.env.NODE_ENV&&I1e(!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"!==Gs.env.NODE_ENV&&I1e(!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"!==Gs.env.NODE_ENV&&I1e(!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"!==Gs.env.NODE_ENV&&I1e(!0,"Tree is missing prevSibling pointer on %s's nextSibling",n),!1;return null!==o&&null!==i&&i===o?("production"!==Gs.env.NODE_ENV&&I1e(!0,"Tree has a two-node cycle at %s",n),!1):!(""!=e.text&&e.getChildKeys().size>0)||("production"!==Gs.env.NODE_ENV&&I1e(!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"!==Gs.env.NODE_ENV&&I1e(!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"!==Gs.env.NODE_ENV&&I1e(!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"!==Gs.env.NODE_ENV&&I1e(!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)}},T1e=O1e,N1e=Yze,D1e=jze.exports.List;var P1e=function(e,t){var n=e.map((function(e,n){var r=t[n];return N1e.create({style:e,entity:r})}));return D1e(n)},A1e=x$e.substr;var M1e=function(e,t){var n=Array(e.length).fill(null);return t&&t.forEach((function(t){for(var r=A1e(e,0,t.offset).length,i=r+A1e(e,t.offset,t.length).length,o=r;o<i;o++)n[o]=t.key})),n},j1e=x$e,R1e=jze.exports.OrderedSet,L1e=j1e.substr,F1e=R1e();var z1e=function(e,t){var n=Array(e.length).fill(F1e);return t&&t.forEach((function(t){for(var r=L1e(e,0,t.offset).length,i=r+L1e(e,t.offset,t.length).length;r<i;)n[r]=n[r].add(t.style),r++})),n};function B1e(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){U1e(e,t,n[t])}))}return e}function U1e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var q1e=cBe,V1e=kBe,K1e=nVe,H1e=Tqe,W1e=E1e,G1e=T1e,Y1e=Dqe,Q1e=P1e,$1e=M1e,Z1e=z1e,J1e=HBe,X1e=jze.exports,e2e=jBe,t2e=Pqe("draft_tree_data_support"),n2e=X1e.List,r2e=X1e.Map,i2e=X1e.OrderedMap,o2e=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||J1e(),data:r2e(i),characterList:a2e(e,t)}},a2e=function(e,t){var n=e.text,r=e.entityRanges,i=e.inlineStyleRanges,o=r||[];return Q1e(Z1e(n,i||[]),$1e(n,o.filter((function(e){return t.hasOwnProperty(e.key)})).map((function(e){return B1e({},e,{key:t[e.key]})}))))},s2e=function(e){return B1e({},e,{key:e.key||J1e()})},u2e=function(e,t,n){var r=t.map((function(e){return B1e({},e,{parentRef:n})}));return e.concat(r.reverse())},c2e=function(e,t){var n=e.blocks.find((function(e){return Array.isArray(e.children)&&e.children.length>0})),r=t2e&&!n?W1e.fromRawStateToRawTreeState(e).blocks:e.blocks;if(!t2e)return function(e,t){return i2e(e.map((function(e){var n=new q1e(o2e(e,t));return[n.getKey(),n]})))}(n?W1e.fromRawTreeStateToRawState(e).blocks:r,t);var i=function(e,t){return e.map(s2e).reduce((function(n,r,i){Array.isArray(r.children)||("production"!==Gs.env.NODE_ENV?e2e(!1,"invalid RawDraftContentBlock can not be converted to ContentBlockNode"):e2e(!1));var o=r.children.map(s2e),a=new V1e(B1e({},o2e(r,t),{prevSibling:0===i?null:e[i-1].key,nextSibling:i===e.length-1?null:e[i+1].key,children:n2e(o.map((function(e){return e.key})))}));n=n.set(a.getKey(),a);for(var s=u2e([],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"!==Gs.env.NODE_ENV?e2e(!1,"invalid RawDraftContentBlock can not be converted to ContentBlockNode"):e2e(!1));break}var p=u.children.map(s2e),h=new V1e(B1e({},o2e(u,t),{parent:c.getKey(),children:n2e(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=u2e(s,p,h)}return n}),i2e())}(r,t);return"production"!==Gs.env.NODE_ENV&&(G1e.isValidTree(i)||("production"!==Gs.env.NODE_ENV?e2e(!1,"Should be a valid tree"):e2e(!1))),i},l2e=function(e){Array.isArray(e.blocks)||("production"!==Gs.env.NODE_ENV?e2e(!1,"invalid RawDraftContentState"):e2e(!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]=H1e.__create(i,o,a||{})})),n}(e),n=c2e(e,t),r=n.isEmpty()?new Y1e:Y1e.createEmpty(n.first().getKey());return new K1e({blockMap:n,entityMap:t,selectionBefore:r,selectionAfter:r})},d2e=iZe;var f2e=function(e){var t=d2e(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 p2e={Editor:J0e,EditorBlock:RYe,EditorState:$Ve,CompositeDecorator:kKe,Entity:Tqe,EntityInstance:bqe,BlockMapBuilder:Fze,CharacterMetadata:Yze,ContentBlock:cBe,ContentState:nVe,RawDraftContentState:X0e,SelectionState:Dqe,AtomicBlockUtils:xKe,KeyBindingUtil:$$e,Modifier:nqe,RichUtils:OXe,DefaultDraftBlockRenderMap:TKe,DefaultDraftInlineStyle:NKe,convertFromHTML:sXe,convertFromRaw:l2e,convertToRaw:b1e,genKey:HBe,getDefaultKeyBinding:b0e,getVisibleSelectionRect:function(e){var t=e.getSelection();if(!t.rangeCount)return null;var n=t.getRangeAt(0),r=f2e(n),i=r.top,o=r.right,a=r.bottom,s=r.left;return 0===i&&0===o&&0===a&&0===s?null:r}},h2e=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 m2e={exports:{}};m2e.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 P(e,t,0)}function D(e,t){return P(e,t,t)}function P(e,t,n){return void 0===e?n:e<0?Math.max(0,t+e):void 0===t?e:Math.min(t,e)}var A=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=A,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 Z,J,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 Z||(Z=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(J)return J;J=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(!Ae){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!==Pe&&!1===Pe(e))throw new Error("Non-extensible objects are not allowed as keys.");if(Ae)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 Pe=Object.isExtensible,Ae=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 Ze(e,t,n){this.ownerID=e,this.count=t,this.nodes=n}function Je(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===Je}function ut(e,t,n,r,i){if(e.keyHash===r)return new Je(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 Ze(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)},Ze.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},Ze.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 Ze(e,f,h)},Je.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},Je.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 Je(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=Je.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=Ze.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?At(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=Pt(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=Pt(this,t);(n=i())!==Dt&&!1!==e(n,r++,this););return r},kt.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?At(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 Pt(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 At(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=At(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):At(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):At(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 Zt(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?A:M,n)},t}function Jt(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=Zt(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===A?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===A?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=Jt(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[Pn])}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,Pn="@@__IMMUTABLE_SET__@@",An=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(An);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)}An[Pn]=!0,An[m]=An.remove,An.mergeDeep=An.merge,An.mergeDeepWith=An.mergeWith,An.withMutations=Ye.withMutations,An.asMutable=Ye.asMutable,An.asImmutable=Ye.asImmutable,An.__empty=Rn,An.__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(A)},map:function(e,t){return mn(this,Jt(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 Zn=n.prototype;Zn[d]=!0,Zn[F]=Zn.values,Zn.__toJS=Zn.toArray,Zn.__toStringMapper=rr,Zn.inspect=Zn.toSource=function(){return this.toString()},Zn.chain=Zn.flatMap,Zn.contains=Zn.includes,function(){try{Object.defineProperty(Zn,"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,Zt(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 Jn=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 Jn[f]=!0,Jn[F]=Zn.entries,Jn.__toJS=Zn.toObject,Jn.__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=Zn.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 g2e=function(e){var t=document.implementation.createHTMLDocument("");return t.documentElement.innerHTML=e,t};function v2e(e){var t;"undefined"!=typeof DOMParser?null!==(t=(new DOMParser).parseFromString(e,"text/html"))&&null!==t.body||(t=g2e(e)):t=g2e(e);return t.body}var y2e=new RegExp("\r","g"),b2e=new RegExp("\n","g"),w2e=new RegExp("&nbsp;","g"),x2e=new RegExp("\r","g"),_2e=["p","h1","h2","h3","h4","h5","h6","li","blockquote","pre"],S2e={b:"BOLD",code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",i:"ITALIC",s:"STRIKETHROUGH",strike:"STRIKETHROUGH",strong:"BOLD",u:"UNDERLINE"},k2e=function(e,t){return e&&!0===e.__isMiddleware?e(t):e},C2e=function(e,t,n){},E2e=function(e,t,n){return n},I2e=function(e,t){},O2e=function(e){return[]},T2e=function(e){if(null!=e)return e;throw new Error("Got unexpected null or undefined")};function N2e(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:m2e.exports.Map();return!0===n?{text:"\r",inlines:[m2e.exports.OrderedSet()],entities:new Array(1),blocks:[{type:e,data:r,depth:Math.max(0,Math.min(4,t))}],isNewline:!0}:{text:"\n",inlines:[m2e.exports.OrderedSet()],entities:new Array(1),blocks:[]}}function D2e(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:m2e.exports.Map();return{text:"\r",inlines:[m2e.exports.OrderedSet()],entities:new Array(1),blocks:[{type:e,data:n,depth:Math.max(0,Math.min(4,t))}]}}function P2e(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 A2e(e,t,n){return P2e(e,n)}function M2e(e,t,n){var r=S2e[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 j2e(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:m2e.exports.OrderedSet();return M2e(e,t,n)}function R2e(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 L2e(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:[m2e.exports.OrderedSet()],entities:t,blocks:[]}}(m);"code-block"!==r&&(b=b.replace(b2e," "));var w=Array(b.length).fill(m),x=0;return u(b,l,d,f,p).sort(h2e).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===_?N2e("unstyled",o,!0):N2e(_||"unstyled",o,h.flat)}var S={text:"",inlines:[],entities:[],blocks:[]};t=a(g,e,t=M2e(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=m2e.exports.Map()):(k="string"==typeof E?E:E.type,C=E.data?m2e.exports.Map(E.data):m2e.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=N2e(k,o,!0,C));else{var I=P2e(g,n);S=D2e(I,o),r=I,v=!0,y="ul"===n?"unordered-list-item":"ordered-list-item"}else S=D2e(k||P2e(g,n),o,C),r=k||P2e(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=R2e(S,L2e(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),P=void 0,A=void 0;!1!==D&&("string"==typeof(D=D||{})?(P=D,A=m2e.exports.Map()):(P=D.type||P2e(g,n),A=D.data?m2e.exports.Map(D.data):m2e.exports.Map()),S=R2e(S,N2e(P,o,h.flat,A),h.flat))}N&&(g=N.nodeName.toLowerCase()),O=N}return v&&(S=R2e(S,D2e(y,o,m2e.exports.Map()),h.flat)),S}function F2e(e,t,n,r,i,o,a,s,u,c,l){var d=l(e=e.trim().replace(y2e,"").replace(w2e," "));if(!d)return null;var f=function(e){return _2e.some((function(t){return-1!==e.indexOf("<".concat(t))}))}(e)?_2e.concat(["div"]):["div"],p=L2e(d,m2e.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:m2e.exports.Map(),depth:0}),p.text.split("\r").length===p.blocks.length+1&&p.blocks.unshift({type:"unstyled",data:m2e.exports.Map(),depth:0}),p}function z2e(e,t,n,r,i,o,a,s,u,c,l,d){var f=F2e(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(x2e,"");var n=p+e.length,r=T2e(f).inlines.slice(p,n),i=T2e(f).entities.slice(p,n),o=m2e.exports.List(r.map((function(e,t){var n={style:e,entity:null};return i[t]&&(n.entity=i[t]),p2e.CharacterMetadata.create(n)})));return p=n+1,new p2e.ContentBlock({key:d(),type:T2e(f).blocks[t].type,data:T2e(f).blocks[t].data,depth:T2e(f).blocks[t].depth,text:e,characterList:o})}))}var B2e=function(e){var t=e.htmlToStyle,n=void 0===t?E2e:t,r=e.htmlToEntity,i=void 0===r?I2e:r,o=e.textToEntity,a=void 0===o?O2e:o,s=e.htmlToBlock,u=void 0===s?C2e: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]:v2e,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:p2e.genKey,s=p2e.ContentState.createFromText(""),c=function(){var e;return s.createEntity?(s=(e=s).createEntity.apply(e,arguments)).getLastCreatedEntityKey():p2e.Entity.create.apply(p2e.Entity,arguments)},l=function(){var e;return s.getEntity?(e=s).getEntity.apply(e,arguments):p2e.Entity.get.apply(p2e.Entity,arguments)},d=function(){var e;s.mergeEntityData?s=(e=s).mergeEntityData.apply(e,arguments):p2e.Entity.mergeData.apply(p2e.Entity,arguments)},f=function(){var e;s.replaceEntityData?s=(e=s).replaceEntityData.apply(e,arguments):p2e.Entity.replaceData.apply(p2e.Entity,arguments)},p=z2e(e,k2e(n,j2e),k2e(i,I2e),k2e(a,O2e),k2e(u,A2e),c,l,d,f,t,r,o),h=p2e.BlockMapBuilder.createFromArray(p),m=p[0].getKey();return s.merge({blockMap:h,selectionBefore:p2e.SelectionState.createEmpty(m),selectionAfter:p2e.SelectionState.createEmpty(m)})}};EG('/**\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 U2e={};function q2e(e){e&&(e.value=!0)}function V2e(){}function K2e(e){return void 0===e.size&&(e.size=e.__iterate(W2e)),e.size}function H2e(e,t){if("number"!=typeof t){var n=t>>>0;if(""+n!==t||4294967295===n)return NaN;t=n}return t<0?K2e(e)+t:t}function W2e(){return!0}function G2e(e,t,n){return(0===e&&!Z2e(e)||void 0!==n&&e<=-n)&&(void 0===t||void 0!==n&&t>=n)}function Y2e(e,t){return $2e(e,t,0)}function Q2e(e,t){return $2e(e,t,t)}function $2e(e,t,n){return void 0===e?n:Z2e(e)?t===1/0?t:0|Math.max(0,t+e):void 0===t||t===e?e:0|Math.min(t,e)}function Z2e(e){return e<0||0===e&&1/e==-1/0}function J2e(e){return Boolean(e&&e["@@__IMMUTABLE_ITERABLE__@@"])}function X2e(e){return Boolean(e&&e["@@__IMMUTABLE_KEYED__@@"])}function e3e(e){return Boolean(e&&e["@@__IMMUTABLE_INDEXED__@@"])}function t3e(e){return X2e(e)||e3e(e)}var n3e=function(e){return J2e(e)?e:_3e(e)},r3e=function(e){function t(e){return X2e(e)?e:S3e(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(n3e),i3e=function(e){function t(e){return e3e(e)?e:k3e(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(n3e),o3e=function(e){function t(e){return J2e(e)&&!t3e(e)?e:C3e(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(n3e);n3e.Keyed=r3e,n3e.Indexed=i3e,n3e.Set=o3e;function a3e(e){return Boolean(e&&e["@@__IMMUTABLE_SEQ__@@"])}function s3e(e){return Boolean(e&&e["@@__IMMUTABLE_RECORD__@@"])}function u3e(e){return J2e(e)||s3e(e)}var c3e="@@__IMMUTABLE_ORDERED__@@";function l3e(e){return Boolean(e&&e[c3e])}var d3e="function"==typeof Symbol&&Symbol.iterator,f3e=d3e||"@@iterator",p3e=function(e){this.next=e};function h3e(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 m3e(){return{value:void 0,done:!0}}function g3e(e){return!!b3e(e)}function v3e(e){return e&&"function"==typeof e.next}function y3e(e){var t=b3e(e);return t&&t.call(e)}function b3e(e){var t=e&&(d3e&&e[d3e]||e["@@iterator"]);if("function"==typeof t)return t}p3e.prototype.toString=function(){return"[Iterator]"},p3e.KEYS=0,p3e.VALUES=1,p3e.ENTRIES=2,p3e.prototype.inspect=p3e.prototype.toSource=function(){return this.toString()},p3e.prototype[f3e]=function(){return this};var w3e=Object.prototype.hasOwnProperty;function x3e(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 _3e=function(e){function t(e){return null==e?N3e():u3e(e)?e.toSeq():function(e){var t=A3e(e);if(t)return t;if("object"==typeof e)return new I3e(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 p3e((function(){if(i===r)return{value:void 0,done:!0};var o=n[t?r-++i:i++];return h3e(e,o[0],o[1])}))}return this.__iteratorUncached(e,t)},t}(n3e),S3e=function(e){function t(e){return null==e?N3e().toKeyedSeq():J2e(e)?X2e(e)?e.toSeq():e.fromEntrySeq():s3e(e)?e.toSeq():D3e(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.toKeyedSeq=function(){return this},t}(_3e),k3e=function(e){function t(e){return null==e?N3e():J2e(e)?X2e(e)?e.entrySeq():e.toIndexedSeq():s3e(e)?e.toSeq().entrySeq():P3e(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}(_3e),C3e=function(e){function t(e){return(J2e(e)&&!t3e(e)?e:k3e(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}(_3e);_3e.isSeq=a3e,_3e.Keyed=S3e,_3e.Set=C3e,_3e.Indexed=k3e,_3e.prototype["@@__IMMUTABLE_SEQ__@@"]=!0;var E3e=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[H2e(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 p3e((function(){if(i===r)return{value:void 0,done:!0};var o=t?r-++i:i++;return h3e(e,o,n[o])}))},t}(k3e),I3e=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 w3e.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 p3e((function(){if(o===i)return{value:void 0,done:!0};var a=r[t?i-++o:o++];return h3e(e,a,n[a])}))},t}(S3e);I3e.prototype[c3e]=!0;var O3e,T3e=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=y3e(this._collection),r=0;if(v3e(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=y3e(this._collection);if(!v3e(n))return new p3e(m3e);var r=0;return new p3e((function(){var t=n.next();return t.done?t:h3e(e,r++,t.value)}))},t}(k3e);function N3e(){return O3e||(O3e=new E3e([]))}function D3e(e){var t=Array.isArray(e)?new E3e(e):g3e(e)?new T3e(e):void 0;if(t)return t.fromEntrySeq();if("object"==typeof e)return new I3e(e);throw new TypeError("Expected Array or collection object of [k, v] entries, or keyed object: "+e)}function P3e(e){var t=A3e(e);if(t)return t;throw new TypeError("Expected Array or collection object of values: "+e)}function A3e(e){return x3e(e)?new E3e(e):g3e(e)?new T3e(e):void 0}function M3e(e){return Boolean(e&&e["@@__IMMUTABLE_MAP__@@"])}function j3e(e){return M3e(e)&&l3e(e)}function R3e(e){return Boolean(e&&"function"==typeof e.equals&&"function"==typeof e.hashCode)}function L3e(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!!(R3e(e)&&R3e(t)&&e.equals(t))}var F3e="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 z3e(e){return e>>>1&1073741824|3221225471&e}var B3e=Object.prototype.valueOf;function U3e(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 z3e(t)}(e);case"string":return e.length>Q3e?function(e){var t=J3e[e];void 0===t&&(t=q3e(e),Z3e===$3e&&(Z3e=0,J3e={}),Z3e++,J3e[e]=t);return t}(e):q3e(e);case"object":case"function":return null===e?1108378658:"function"==typeof e.hashCode?z3e(e.hashCode(e)):(e.valueOf!==B3e&&"function"==typeof e.valueOf&&(e=e.valueOf(e)),function(e){var t;if(W3e&&void 0!==(t=H3e.get(e)))return t;if(void 0!==(t=e[Y3e]))return t;if(!K3e){if(void 0!==(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[Y3e]))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=++G3e,1073741824&G3e&&(G3e=0);if(W3e)H3e.set(e,t);else{if(void 0!==V3e&&!1===V3e(e))throw new Error("Non-extensible objects are not allowed as keys.");if(K3e)Object.defineProperty(e,Y3e,{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[Y3e]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[Y3e]=t}}return t}(e));case"undefined":return 1108378659;default:if("function"==typeof e.toString)return q3e(e.toString());throw new Error("Value type "+typeof e+" cannot be hashed.")}}function q3e(e){for(var t=0,n=0;n<e.length;n++)t=31*t+e.charCodeAt(n)|0;return z3e(t)}var V3e=Object.isExtensible,K3e=function(){try{return Object.defineProperty({},"@",{}),!0}catch(e){return!1}}();var H3e,W3e="function"==typeof WeakMap;W3e&&(H3e=new WeakMap);var G3e=0,Y3e="__immutablehash__";"function"==typeof Symbol&&(Y3e=Symbol(Y3e));var Q3e=16,$3e=255,Z3e=0,J3e={},X3e=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=o4e(this,!0);return this._useKeys||(t.valueSeq=function(){return e._iter.toSeq().reverse()}),t},t.prototype.map=function(e,t){var n=this,r=i4e(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}(S3e);X3e.prototype[c3e]=!0;var e4e=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&&K2e(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&&K2e(this),new p3e((function(){var o=r.next();return o.done?o:h3e(e,t?n.size-++i:i++,o.value,o)}))},t}(k3e),t4e=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 p3e((function(){var t=n.next();return t.done?t:h3e(e,t.value,t.value,t)}))},t}(C3e),n4e=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){g4e(t);var r=J2e(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 p3e((function(){for(;;){var t=n.next();if(t.done)return t;var r=t.value;if(r){g4e(r);var i=J2e(r);return h3e(e,i?r.get(0):r[0],i?r.get(1):r[1],t)}}}))},t}(S3e);function r4e(e){var t=y4e(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=b4e,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 p3e((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 i4e(e,t,n){var r=y4e(e);return r.size=e.size,r.has=function(t){return e.has(t)},r.get=function(r,i){var o=e.get(r,U2e);return o===U2e?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 p3e((function(){var i=o.next();if(i.done)return i;var a=i.value,s=a[0];return h3e(r,s,t.call(n,a[1],s,e),i)}))},r}function o4e(e,t){var n=this,r=y4e(e);return r._iter=e,r.size=e.size,r.reverse=function(){return e},e.flip&&(r.flip=function(){var t=r4e(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=b4e,r.__iterate=function(n,r){var i=this,o=0;return r&&K2e(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&&K2e(e);var a=e.__iterator(2,!i);return new p3e((function(){var e=a.next();if(e.done)return e;var s=e.value;return h3e(r,t?s[0]:i?n.size-++o:o++,s[1],e)}))},r}function a4e(e,t,n,r){var i=y4e(e);return r&&(i.has=function(r){var i=e.get(r,U2e);return i!==U2e&&!!t.call(n,i,r,e)},i.get=function(r,i){var o=e.get(r,U2e);return o!==U2e&&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 p3e((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 h3e(i,r?c:s++,l,o)}}))},i}function s4e(e,t,n,r){var i=e.size;if(G2e(t,n,i))return e;var o=Y2e(t,i),a=Q2e(n,i);if(o!=o||a!=a)return s4e(e.toSeq().cacheResult(),t,n,r);var s,u=a-o;u==u&&(s=u<0?0:u);var c=y4e(e);return c.size=0===s?s:e.size&&s||void 0,!r&&a3e(e)&&s>=0&&(c.get=function(t,n){return(t=H2e(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 p3e(m3e);var i=e.__iterator(t,n),a=0,u=0;return new p3e((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:h3e(t,u-1,0===t?void 0:e.value[1],e)}))},c}function u4e(e,t,n,r){var i=y4e(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 p3e((function(){var e,o,l;do{if((e=s.next()).done)return r||1===i?e:h3e(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:h3e(i,o,l,e)}))},i}function c4e(e,t){var n=X2e(e),r=[e].concat(t).map((function(e){return J2e(e)?n&&(e=r3e(e)):e=n?D3e(e):P3e(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&&X2e(i)||e3e(e)&&e3e(i))return i}var o=new E3e(r);return n?o=o.toKeyedSeq():e3e(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 l4e(e,t,n){var r=y4e(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)&&J2e(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 p3e((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)||!J2e(u))return n?e:h3e(r,s++,u,e);a.push(o),o=u.__iterator(r,i)}else o=a.pop()}return{value:void 0,done:!0}}))},r}function d4e(e,t,n){t||(t=w4e);var r=X2e(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?S3e(o):e3e(e)?k3e(o):C3e(o)}function f4e(e,t,n){if(t||(t=w4e),n){var r=e.toSeq().map((function(t,r){return[t,n(t,r,e)]})).reduce((function(e,n){return p4e(t,e[1],n[1])?n:e}));return r&&r[0]}return e.reduce((function(e,n){return p4e(t,e,n)?n:e}))}function p4e(e,t,n){var r=e(n,t);return 0===r&&n!==t&&(null==n||n!=n)||r>0}function h4e(e,t,n,r){var i=y4e(e),o=new E3e(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=n3e(e),y3e(i?e.reverse():e)})),a=0,s=!1;return new p3e((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}:h3e(e,a++,t.apply(null,n.map((function(e){return e.value}))))}))},i}function m4e(e,t){return e===t?e:a3e(e)?t:e.constructor(t)}function g4e(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function v4e(e){return X2e(e)?r3e:e3e(e)?i3e:o3e}function y4e(e){return Object.create((X2e(e)?S3e:e3e(e)?k3e:C3e).prototype)}function b4e(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):_3e.prototype.cacheResult.call(this)}function w4e(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 x4e(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 _4e(e,t){if(!e)throw new Error(t)}function S4e(e){_4e(e!==1/0,"Cannot perform this action with an infinite size.")}function k4e(e){if(x3e(e)&&"string"!=typeof e)return e;if(l3e(e))return e.toArray();throw new TypeError("Invalid keyPath: expected Ordered Collection or Array: "+e)}function C4e(e){return"object"==typeof e&&(u3e(e)||Array.isArray(e)||function(e){return e&&("function"!=typeof e.constructor||"Object"===e.constructor.name)}(e))}function E4e(e){try{return"string"==typeof e?JSON.stringify(e):String(e)}catch(t){return JSON.stringify(e)}}function I4e(e,t,n){return u3e(e)?e.get(t,n):function(e,t){return u3e(e)?e.has(t):C4e(e)&&w3e.call(e,t)}(e,t)?"function"==typeof e.get?e.get(t):e[t]:n}function O4e(e){if(Array.isArray(e))return x4e(e);var t={};for(var n in e)w3e.call(e,n)&&(t[n]=e[n]);return t}function T4e(e,t,n,r){r||(r=n,n=void 0);var i=N4e(u3e(e),e,k4e(t),0,n,r);return i===U2e?n:i}function N4e(e,t,n,r,i,o){var a=t===U2e;if(r===n.length){var s=a?i:t,u=o(s);return u===s?t:u}if(!a&&!C4e(t))throw new TypeError("Cannot update within non-data-structure value in path ["+n.slice(0,r).map(E4e)+"]: "+t);var c=n[r],l=a?U2e:I4e(t,c,U2e),d=N4e(l===U2e?e:u3e(l),l,n,r+1,i,o);return d===l?t:d===U2e?function(e,t){if(!C4e(e))throw new TypeError("Cannot update non-data-structure value: "+e);if(u3e(e)){if(!e.remove)throw new TypeError("Cannot update immutable value without .remove() method: "+e);return e.remove(t)}if(!w3e.call(e,t))return e;var n=O4e(e);return Array.isArray(n)?n.splice(t,1):delete n[t],n}(t,c):function(e,t,n){if(!C4e(e))throw new TypeError("Cannot update non-data-structure value: "+e);if(u3e(e)){if(!e.set)throw new TypeError("Cannot update immutable value without .set() method: "+e);return e.set(t,n)}if(w3e.call(e,t)&&n===e[t])return e;var r=O4e(e);return r[t]=n,r}(a?e?r5e():{}:t,c,d)}function D4e(e,t){return function(e,t,n){return T4e(e,t,U2e,(function(){return n}))}(this,e,t)}function P4e(e){return function(e,t){return T4e(e,t,(function(){return U2e}))}(this,e)}function A4e(e,t,n,r){return T4e(e,[t],n,r)}function M4e(e,t,n){return 1===arguments.length?e(this):A4e(this,e,t,n)}function j4e(e,t,n){return T4e(this,e,t,n)}function R4e(e,t,n){for(var r=[],i=0;i<t.length;i++){var o=r3e(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){A4e(e,r,U2e,(function(e){return e===U2e?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 L4e(e,t,n){return F4e(e,t,function(e){function t(n,r,i){return C4e(n)&&C4e(r)?F4e(n,[r],t):e?e(n,r,i):r}return t}(n))}function F4e(e,t,n){if(!C4e(e))throw new TypeError("Cannot merge into non-data-structure value: "+e);if(u3e(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?i3e:r3e,a=r?function(t){i===e&&(i=O4e(i)),i.push(t)}:function(t,r){var o=w3e.call(i,r),a=o&&n?n(i[r],t,r):t;o&&a===i[r]||(i===e&&(i=O4e(i)),i[r]=a)},s=0;s<t.length;s++)o(t[s]).forEach(a);return i}function z4e(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return T4e(this,e,r5e(),(function(e){return F4e(e,t)}))}function B4e(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return T4e(this,e,r5e(),(function(e){return L4e(e,t)}))}function U4e(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this}function q4e(){return this.__ownerID?this:this.__ensureOwner(new V2e)}function V4e(){return this.__ensureOwner()}function K4e(){return this.__altered}e4e.prototype.cacheResult=X3e.prototype.cacheResult=t4e.prototype.cacheResult=n4e.prototype.cacheResult=b4e;var H4e=function(e){function t(t){return null==t?r5e():M3e(t)&&!l3e(t)?t:r5e().withMutations((function(n){var r=e(t);S4e(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 r5e().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 i5e(this,e,t)},t.prototype.remove=function(e){return i5e(this,e,U2e)},t.prototype.deleteAll=function(e){var t=n3e(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):r5e()},t.prototype.sort=function(e){return O5e(d4e(this,e))},t.prototype.sortBy=function(e,t){return O5e(d4e(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 X4e(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?n5e(this.size,this._root,e,this.__hash):0===this.size?r5e():(this.__ownerID=e,this.__altered=!1,this)},t}(r3e);H4e.isMap=M3e;var W4e=H4e.prototype;W4e["@@__IMMUTABLE_MAP__@@"]=!0,W4e.delete=W4e.remove,W4e.removeAll=W4e.deleteAll,W4e.setIn=D4e,W4e.removeIn=W4e.deleteIn=P4e,W4e.update=M4e,W4e.updateIn=j4e,W4e.merge=W4e.concat=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return R4e(this,e)},W4e.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 R4e(this,t,e)},W4e.mergeDeep=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return L4e(this,e)},W4e.mergeDeepWith=function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return L4e(this,t,e)},W4e.mergeIn=z4e,W4e.mergeDeepIn=B4e,W4e.withMutations=U4e,W4e.wasAltered=K4e,W4e.asImmutable=V4e,W4e["@@transducer/init"]=W4e.asMutable=q4e,W4e["@@transducer/step"]=function(e,t){return e.set(t[0],t[1])},W4e["@@transducer/result"]=function(e){return e.asImmutable()};var G4e=function(e,t){this.ownerID=e,this.entries=t};G4e.prototype.get=function(e,t,n,r){for(var i=this.entries,o=0,a=i.length;o<a;o++)if(L3e(n,i[o][0]))return i[o][1];return r},G4e.prototype.update=function(e,t,n,r,i,o,a){for(var s=i===U2e,u=this.entries,c=0,l=u.length;c<l&&!L3e(r,u[c][0]);c++);var d=c<l;if(d?u[c][1]===i:s)return this;if(q2e(a),(s||!d)&&q2e(o),!s||1!==u.length){if(!d&&!s&&u.length>=l5e)return function(e,t,n,r){e||(e=new V2e);for(var i=new Z4e(e,U3e(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:x4e(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 G4e(e,p)}};var Y4e=function(e,t,n){this.ownerID=e,this.bitmap=t,this.nodes=n};Y4e.prototype.get=function(e,t,n,r){void 0===t&&(t=U3e(n));var i=1<<(31&(0===e?t:t>>>e)),o=this.bitmap;return 0==(o&i)?r:this.nodes[u5e(o&i-1)].get(e+5,t,n,r)},Y4e.prototype.update=function(e,t,n,r,i,o,a){void 0===n&&(n=U3e(r));var s=31&(0===t?n:n>>>t),u=1<<s,c=this.bitmap,l=0!=(c&u);if(!l&&i===U2e)return this;var d=u5e(c&u-1),f=this.nodes,p=l?f[d]:void 0,h=o5e(p,e,t+5,n,r,i,o,a);if(h===p)return this;if(!l&&h&&f.length>=d5e)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 Q4e(e,o+1,a)}(e,f,c,s,h);if(l&&!h&&2===f.length&&a5e(f[1^d]))return f[1^d];if(l&&h&&1===f.length&&a5e(h))return h;var m=e&&e===this.ownerID,g=l?h?c:c^u:c|u,v=l?h?c5e(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 Y4e(e,g,v)};var Q4e=function(e,t,n){this.ownerID=e,this.count=t,this.nodes=n};Q4e.prototype.get=function(e,t,n,r){void 0===t&&(t=U3e(n));var i=31&(0===e?t:t>>>e),o=this.nodes[i];return o?o.get(e+5,t,n,r):r},Q4e.prototype.update=function(e,t,n,r,i,o,a){void 0===n&&(n=U3e(r));var s=31&(0===t?n:n>>>t),u=i===U2e,c=this.nodes,l=c[s];if(u&&!l)return this;var d=o5e(l,e,t+5,n,r,i,o,a);if(d===l)return this;var f=this.count;if(l){if(!d&&--f<f5e)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 Y4e(e,i,a)}(e,c,f,s)}else f++;var p=e&&e===this.ownerID,h=c5e(c,s,d,p);return p?(this.count=f,this.nodes=h,this):new Q4e(e,f,h)};var $4e=function(e,t,n){this.ownerID=e,this.keyHash=t,this.entries=n};$4e.prototype.get=function(e,t,n,r){for(var i=this.entries,o=0,a=i.length;o<a;o++)if(L3e(n,i[o][0]))return i[o][1];return r},$4e.prototype.update=function(e,t,n,r,i,o,a){void 0===n&&(n=U3e(r));var s=i===U2e;if(n!==this.keyHash)return s?this:(q2e(a),q2e(o),s5e(this,e,t,n,[r,i]));for(var u=this.entries,c=0,l=u.length;c<l&&!L3e(r,u[c][0]);c++);var d=c<l;if(d?u[c][1]===i:s)return this;if(q2e(a),(s||!d)&&q2e(o),s&&2===l)return new Z4e(e,this.keyHash,u[1^c]);var f=e&&e===this.ownerID,p=f?u:x4e(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 $4e(e,this.keyHash,p)};var Z4e=function(e,t,n){this.ownerID=e,this.keyHash=t,this.entry=n};Z4e.prototype.get=function(e,t,n,r){return L3e(n,this.entry[0])?this.entry[1]:r},Z4e.prototype.update=function(e,t,n,r,i,o,a){var s=i===U2e,u=L3e(r,this.entry[0]);return(u?i===this.entry[1]:s)?this:(q2e(a),s?void q2e(o):u?e&&e===this.ownerID?(this.entry[1]=i,this):new Z4e(e,this.keyHash,[r,i]):(q2e(o),s5e(this,e,t,U3e(r),[r,i])))},G4e.prototype.iterate=$4e.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},Y4e.prototype.iterate=Q4e.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}},Z4e.prototype.iterate=function(e,t){return e(this.entry)};var J4e,X4e=function(e){function t(e,t,n){this._type=t,this._reverse=n,this._stack=e._root&&t5e(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 e5e(e,n.entry)}else if(n.entries){if(r<=(i=n.entries.length-1))return e5e(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 e5e(e,o.entry);t=this._stack=t5e(o,t)}continue}t=this._stack=this._stack.__prev}return{value:void 0,done:!0}},t}(p3e);function e5e(e,t){return h3e(e,t[0],t[1])}function t5e(e,t){return{node:e,index:0,__prev:t}}function n5e(e,t,n,r){var i=Object.create(W4e);return i.size=e,i._root=t,i.__ownerID=n,i.__hash=r,i.__altered=!1,i}function r5e(){return J4e||(J4e=n5e(0))}function i5e(e,t,n){var r,i;if(e._root){var o={value:!1},a={value:!1};if(r=o5e(e._root,e.__ownerID,0,void 0,t,n,o,a),!a.value)return e;i=e.size+(o.value?n===U2e?-1:1:0)}else{if(n===U2e)return e;i=1,r=new G4e(e.__ownerID,[[t,n]])}return e.__ownerID?(e.size=i,e._root=r,e.__hash=void 0,e.__altered=!0,e):r?n5e(i,r):r5e()}function o5e(e,t,n,r,i,o,a,s){return e?e.update(t,n,r,i,o,a,s):o===U2e?e:(q2e(s),q2e(a),new Z4e(t,r,[i,o]))}function a5e(e){return e.constructor===Z4e||e.constructor===$4e}function s5e(e,t,n,r,i){if(e.keyHash===r)return new $4e(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?[s5e(e,t,n+5,r,i)]:(o=new Z4e(t,r,i),a<s?[e,o]:[o,e]);return new Y4e(t,1<<a|1<<s,u)}function u5e(e){return e=(e=(858993459&(e-=e>>1&1431655765))+(e>>2&858993459))+(e>>4)&252645135,e+=e>>8,127&(e+=e>>16)}function c5e(e,t,n,r){var i=r?e:x4e(e);return i[t]=n,i}var l5e=8,d5e=16,f5e=8;function p5e(e){return Boolean(e&&e["@@__IMMUTABLE_LIST__@@"])}var h5e=function(e){function t(t){var n=x5e();if(null==t)return n;if(p5e(t))return t;var r=e(t),i=r.size;return 0===i?n:(S4e(i),i>0&&i<32?w5e(0,i,5,null,new g5e(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=H2e(this,e))>=0&&e<this.size){var n=k5e(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=H2e(e,t))!=t)return e;if(t>=e.size||t<0)return e.withMutations((function(e){t<0?C5e(e,t).set(0,n):C5e(e,0,t+1).set(t,n)}));t+=e._origin;var r=e._tail,i=e._root,o={value:!1};t>=E5e(e._capacity)?r=_5e(r,e.__ownerID,0,t,n,o):i=_5e(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 w5e(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):x5e()},t.prototype.push=function(){var e=arguments,t=this.size;return this.withMutations((function(n){C5e(n,0,t+e.length);for(var r=0;r<e.length;r++)n.set(t+r,e[r])}))},t.prototype.pop=function(){return C5e(this,0,-1)},t.prototype.unshift=function(){var e=arguments;return this.withMutations((function(t){C5e(t,-e.length);for(var n=0;n<e.length;n++)t.set(n,e[n])}))},t.prototype.shift=function(){return C5e(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&&g3e(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 C5e(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 G2e(e,t,n)?this:C5e(this,Y2e(e,n),Q2e(t,n))},t.prototype.__iterator=function(e,t){var n=t?this.size:0,r=b5e(this,t);return new p3e((function(){var i=r();return i===y5e?{value:void 0,done:!0}:h3e(e,t?--n:n++,i)}))},t.prototype.__iterate=function(e,t){for(var n,r=t?this.size:0,i=b5e(this,t);(n=i())!==y5e&&!1!==e(n,t?--r:r++,this););return r},t.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?w5e(this._origin,this._capacity,this._level,this._root,this._tail,e,this.__hash):0===this.size?x5e():(this.__ownerID=e,this.__altered=!1,this)},t}(i3e);h5e.isList=p5e;var m5e=h5e.prototype;m5e["@@__IMMUTABLE_LIST__@@"]=!0,m5e.delete=m5e.remove,m5e.merge=m5e.concat,m5e.setIn=D4e,m5e.deleteIn=m5e.removeIn=P4e,m5e.update=M4e,m5e.updateIn=j4e,m5e.mergeIn=z4e,m5e.mergeDeepIn=B4e,m5e.withMutations=U4e,m5e.wasAltered=K4e,m5e.asImmutable=V4e,m5e["@@transducer/init"]=m5e.asMutable=q4e,m5e["@@transducer/step"]=function(e,t){return e.push(t)},m5e["@@transducer/result"]=function(e){return e.asImmutable()};var g5e=function(e,t){this.array=e,this.ownerID=t};g5e.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 g5e([],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=S5e(this,e);if(!o)for(var u=0;u<r;u++)s.array[u]=void 0;return i&&(s.array[r]=i),s},g5e.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=S5e(this,e);return a.array.splice(i+1),r&&(a.array[i]=r),a};var v5e,y5e={};function b5e(e,t){var n=e._origin,r=e._capacity,i=E5e(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 y5e;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!==y5e)return e;s=null}if(c===l)return y5e;var n=t?--l:c++;s=a(u&&u[n],i-5,o+(n<<i))}}}(e,s,u)}}function w5e(e,t,n,r,i,o,a){var s=Object.create(m5e);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 x5e(){return v5e||(v5e=w5e(0,0,5))}function _5e(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=_5e(c,t,n-5,r,i,o);return l===c?e:((a=S5e(e,t)).array[s]=l,a)}return u&&e.array[s]===i?e:(o&&q2e(o),a=S5e(e,t),void 0===i&&s===a.array.length-1?a.array.pop():a.array[s]=i,a)}function S5e(e,t){return t&&e&&t===e.ownerID?e:new g5e(e?e.array.slice():[],t)}function k5e(e,t){if(t>=E5e(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 C5e(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var r=e.__ownerID||new V2e,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 g5e(c&&c.array.length?[void 0,c]:[],r),l+=1<<(u+=5);l&&(a+=l,i+=l,s+=l,o+=l);for(var d=E5e(o),f=E5e(s);f>=1<<u+5;)c=new g5e(c&&c.array.length?[c]:[],r),u+=5;var p=e._tail,h=f<d?k5e(e,s-1):f>d?new g5e([],r):p;if(p&&f>d&&a<o&&p.array.length){for(var m=c=S5e(c,r),g=u;g>5;g-=5){var v=d>>>g&31;m=m.array[v]=S5e(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):w5e(a,s,u,c,h)}function E5e(e){return e<32?0:e-1>>>5<<5}var I5e,O5e=function(e){function t(e){return null==e?N5e():j3e(e)?e:N5e().withMutations((function(t){var n=r3e(e);S4e(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):N5e()},t.prototype.set=function(e,t){return D5e(this,e,t)},t.prototype.remove=function(e){return D5e(this,e,U2e)},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?T5e(t,n,e,this.__hash):0===this.size?N5e():(this.__ownerID=e,this._map=t,this._list=n,this)},t}(H4e);function T5e(e,t,n,r){var i=Object.create(O5e.prototype);return i.size=e?e.size:0,i._map=e,i._list=t,i.__ownerID=n,i.__hash=r,i}function N5e(){return I5e||(I5e=T5e(r5e(),x5e()))}function D5e(e,t,n){var r,i,o=e._map,a=e._list,s=o.get(t),u=void 0!==s;if(n===U2e){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):T5e(r,i)}O5e.isOrderedMap=j3e,O5e.prototype[c3e]=!0,O5e.prototype.delete=O5e.prototype.remove;function P5e(e){return Boolean(e&&e["@@__IMMUTABLE_STACK__@@"])}var A5e=function(e){function t(e){return null==e?L5e():P5e(e)?e:L5e().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=H2e(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):R5e(t,n)},t.prototype.pushAll=function(t){if(0===(t=e(t)).size)return this;if(0===this.size&&P5e(t))return t;S4e(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):R5e(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):L5e()},t.prototype.slice=function(t,n){if(G2e(t,n,this.size))return this;var r=Y2e(t,this.size);if(Q2e(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):R5e(i,o)},t.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?R5e(this.size,this._head,e,this.__hash):0===this.size?L5e():(this.__ownerID=e,this.__altered=!1,this)},t.prototype.__iterate=function(e,t){var n=this;if(t)return new E3e(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 E3e(this.toArray()).__iterator(e,t);var n=0,r=this._head;return new p3e((function(){if(r){var t=r.value;return r=r.next,h3e(e,n++,t)}return{value:void 0,done:!0}}))},t}(i3e);A5e.isStack=P5e;var M5e,j5e=A5e.prototype;function R5e(e,t,n,r){var i=Object.create(j5e);return i.size=e,i._head=t,i.__ownerID=n,i.__hash=r,i.__altered=!1,i}function L5e(){return M5e||(M5e=R5e(0))}j5e["@@__IMMUTABLE_STACK__@@"]=!0,j5e.shift=j5e.pop,j5e.unshift=j5e.push,j5e.unshiftAll=j5e.pushAll,j5e.withMutations=U4e,j5e.wasAltered=K4e,j5e.asImmutable=V4e,j5e["@@transducer/init"]=j5e.asMutable=q4e,j5e["@@transducer/step"]=function(e,t){return e.unshift(t)},j5e["@@transducer/result"]=function(e){return e.asImmutable()};function F5e(e){return Boolean(e&&e["@@__IMMUTABLE_SET__@@"])}function z5e(e){return F5e(e)&&l3e(e)}function B5e(e,t){if(e===t)return!0;if(!J2e(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||X2e(e)!==X2e(t)||e3e(e)!==e3e(t)||l3e(e)!==l3e(t))return!1;if(0===e.size&&0===t.size)return!0;var n=!t3e(e);if(l3e(e)){var r=e.entries();return t.every((function(e,t){var i=r.next().value;return i&&L3e(i[1],e)&&(n||L3e(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?!L3e(t,e.get(r,U2e)):!L3e(e.get(r,U2e),t))return a=!1,!1}));return a&&e.size===s}function U5e(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 q5e(e){if(!e||"object"!=typeof e)return e;if(!J2e(e)){if(!C4e(e))return e;e=_3e(e)}if(X2e(e)){var t={};return e.__iterate((function(e,n){t[n]=q5e(e)})),t}var n=[];return e.__iterate((function(e){n.push(q5e(e))})),n}var V5e=function(e){function t(t){return null==t?Y5e():F5e(t)&&!l3e(t)?t:Y5e().withMutations((function(n){var r=e(t);S4e(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(r3e(e).keySeq())},t.intersect=function(e){return(e=n3e(e).toArray()).length?H5e.intersect.apply(t(e.pop()),e):Y5e()},t.union=function(e){return(e=n3e(e).toArray()).length?H5e.union.apply(t(e.pop()),e):Y5e()},t.prototype.toString=function(){return this.__toString("Set {","}")},t.prototype.has=function(e){return this._map.has(e)},t.prototype.add=function(e){return W5e(this,this._map.set(e,e))},t.prototype.remove=function(e){return W5e(this,this._map.remove(e))},t.prototype.clear=function(){return W5e(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 l6e(d4e(this,e))},t.prototype.sortBy=function(e,t){return l6e(d4e(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}(o3e);V5e.isSet=F5e;var K5e,H5e=V5e.prototype;function W5e(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 G5e(e,t){var n=Object.create(H5e);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function Y5e(){return K5e||(K5e=G5e(r5e()))}H5e["@@__IMMUTABLE_SET__@@"]=!0,H5e.delete=H5e.remove,H5e.merge=H5e.concat=H5e.union,H5e.withMutations=U4e,H5e.asImmutable=V4e,H5e["@@transducer/init"]=H5e.asMutable=q4e,H5e["@@transducer/step"]=function(e,t){return e.add(t)},H5e["@@transducer/result"]=function(e){return e.asImmutable()},H5e.__empty=Y5e,H5e.__make=G5e;var Q5e,$5e=function(e){function t(e,n,r){if(!(this instanceof t))return new t(e,n,r);if(_4e(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(Q5e)return Q5e;Q5e=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+H2e(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 G2e(e,n,this.size)?this:(e=Y2e(e,this.size),(n=Q2e(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 p3e((function(){if(o===n)return{value:void 0,done:!0};var a=i;return i+=t?-r:r,h3e(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:B5e(this,e)},t}(k3e);function Z5e(e,t,n){for(var r=k4e(t),i=0;i!==r.length;)if((e=I4e(e,r[i++],U2e))===U2e)return n;return e}function J5e(){S4e(this.size);var e={};return this.__iterate((function(t,n){e[n]=t})),e}n3e.isIterable=J2e,n3e.isKeyed=X2e,n3e.isIndexed=e3e,n3e.isAssociative=t3e,n3e.isOrdered=l3e,n3e.Iterator=p3e,U5e(n3e,{toArray:function(){S4e(this.size);var e=new Array(this.size||0),t=X2e(this),n=0;return this.__iterate((function(r,i){e[n++]=t?[i,r]:r})),e},toIndexedSeq:function(){return new e4e(this)},toJS:function(){return q5e(this)},toKeyedSeq:function(){return new X3e(this,!0)},toMap:function(){return H4e(this.toKeyedSeq())},toObject:J5e,toOrderedMap:function(){return O5e(this.toKeyedSeq())},toOrderedSet:function(){return l6e(X2e(this)?this.valueSeq():this)},toSet:function(){return V5e(X2e(this)?this.valueSeq():this)},toSetSeq:function(){return new t4e(this)},toSeq:function(){return e3e(this)?this.toIndexedSeq():X2e(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return A5e(X2e(this)?this.valueSeq():this)},toList:function(){return h5e(X2e(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 m4e(this,c4e(this,e))},includes:function(e){return this.some((function(t){return L3e(t,e)}))},entries:function(){return this.__iterator(2)},every:function(e,t){S4e(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 m4e(this,a4e(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 S4e(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){S4e(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 m4e(this,i4e(this,e,t))},reduce:function(e,t,n){return n6e(this,e,t,n,arguments.length<2,!1)},reduceRight:function(e,t,n){return n6e(this,e,t,n,arguments.length<2,!0)},reverse:function(){return m4e(this,o4e(this,!0))},slice:function(e,t){return m4e(this,s4e(this,e,t,!0))},some:function(e,t){return!this.every(o6e(e),t)},sort:function(e){return m4e(this,d4e(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 K2e(e?this.toSeq().filter(e,t):this)},countBy:function(e,t){return function(e,t,n){var r=H4e().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 B5e(this,e)},entrySeq:function(){var e=this;if(e._cache)return new E3e(e._cache);var t=e.toSeq().map(i6e).toIndexedSeq();return t.fromEntrySeq=function(){return e.toSeq()},t},filterNot:function(e,t){return this.filter(o6e(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(W2e,null,e)},flatMap:function(e,t){return m4e(this,function(e,t,n){var r=v4e(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 m4e(this,l4e(this,e,!0))},fromEntrySeq:function(){return new n4e(this)},get:function(e,t){return this.find((function(t,n){return L3e(n,e)}),void 0,t)},getIn:function(e,t){return Z5e(this,e,t)},groupBy:function(e,t){return function(e,t,n){var r=X2e(e),i=(l3e(e)?O5e():H4e()).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=v4e(e);return i.map((function(t){return m4e(e,o(t))})).asImmutable()}(this,e,t)},has:function(e){return this.get(e,U2e)!==U2e},hasIn:function(e){return function(e,t){return Z5e(e,t,U2e)!==U2e}(this,e)},isSubset:function(e){return e="function"==typeof e.includes?e:n3e(e),this.every((function(t){return e.includes(t)}))},isSuperset:function(e){return(e="function"==typeof e.isSubset?e:n3e(e)).isSubset(this)},keyOf:function(e){return this.findKey((function(t){return L3e(t,e)}))},keySeq:function(){return this.toSeq().map(r6e).toIndexedSeq()},last:function(e){return this.toSeq().reverse().first(e)},lastKeyOf:function(e){return this.toKeyedSeq().reverse().keyOf(e)},max:function(e){return f4e(this,e)},maxBy:function(e,t){return f4e(this,t,e)},min:function(e){return f4e(this,e?a6e(e):u6e)},minBy:function(e,t){return f4e(this,t?a6e(t):u6e,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 m4e(this,u4e(this,e,t,!0))},skipUntil:function(e,t){return this.skipWhile(o6e(e),t)},sortBy:function(e,t){return m4e(this,d4e(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 m4e(this,function(e,t,n){var r=y4e(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 p3e((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:h3e(r,u,c,e):(s=!1,{value:void 0,done:!0})}))},r}(this,e,t))},takeUntil:function(e,t){return this.takeWhile(o6e(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=l3e(e),n=X2e(e),r=t?1:0;return function(e,t){return t=F3e(t,3432918353),t=F3e(t<<15|t>>>-15,461845907),t=F3e(t<<13|t>>>-13,5),t=F3e((t=(t+3864292196|0)^e)^t>>>16,2246822507),t=z3e((t=F3e(t^t>>>13,3266489909))^t>>>16)}(e.__iterate(n?t?function(e,t){r=31*r+c6e(U3e(e),U3e(t))|0}:function(e,t){r=r+c6e(U3e(e),U3e(t))|0}:t?function(e){r=31*r+U3e(e)|0}:function(e){r=r+U3e(e)|0}),r)}(this))}});var X5e=n3e.prototype;X5e["@@__IMMUTABLE_ITERABLE__@@"]=!0,X5e[f3e]=X5e.values,X5e.toJSON=X5e.toArray,X5e.__toStringMapper=E4e,X5e.inspect=X5e.toSource=function(){return this.toString()},X5e.chain=X5e.flatMap,X5e.contains=X5e.includes,U5e(r3e,{flip:function(){return m4e(this,r4e(this))},mapEntries:function(e,t){var n=this,r=0;return m4e(this,this.toSeq().map((function(i,o){return e.call(t,[o,i],r++,n)})).fromEntrySeq())},mapKeys:function(e,t){var n=this;return m4e(this,this.toSeq().flip().map((function(r,i){return e.call(t,r,i,n)})).flip())}});var e6e=r3e.prototype;e6e["@@__IMMUTABLE_KEYED__@@"]=!0,e6e[f3e]=X5e.entries,e6e.toJSON=J5e,e6e.__toStringMapper=function(e,t){return E4e(t)+": "+E4e(e)},U5e(i3e,{toKeyedSeq:function(){return new X3e(this,!1)},filter:function(e,t){return m4e(this,a4e(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 m4e(this,o4e(this,!1))},slice:function(e,t){return m4e(this,s4e(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=Y2e(e,e<0?this.count():this.size);var r=this.slice(0,e);return m4e(this,1===n?r:r.concat(x4e(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 m4e(this,l4e(this,e,!1))},get:function(e,t){return(e=H2e(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=H2e(this,e))>=0&&(void 0!==this.size?this.size===1/0||e<this.size:-1!==this.indexOf(e))},interpose:function(e){return m4e(this,function(e,t){var n=y4e(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 p3e((function(){return(!i||a%2)&&(i=o.next()).done?i:a%2?h3e(n,a++,t):h3e(n,a++,i.value,i)}))},n}(this,e))},interleave:function(){var e=[this].concat(x4e(arguments)),t=h4e(this.toSeq(),k3e.of,e),n=t.flatten(!0);return t.size&&(n.size=t.size*e.length),m4e(this,n)},keySeq:function(){return $5e(0,this.size)},last:function(e){return this.get(-1,e)},skipWhile:function(e,t){return m4e(this,u4e(this,e,t,!1))},zip:function(){var e=[this].concat(x4e(arguments));return m4e(this,h4e(this,s6e,e))},zipAll:function(){var e=[this].concat(x4e(arguments));return m4e(this,h4e(this,s6e,e,!0))},zipWith:function(e){var t=x4e(arguments);return t[0]=this,m4e(this,h4e(this,e,t))}});var t6e=i3e.prototype;function n6e(e,t,n,r,i,o){return S4e(e.size),e.__iterate((function(e,o,a){i?(i=!1,n=e):n=t.call(r,n,e,o,a)}),o),n}function r6e(e,t){return t}function i6e(e,t){return[t,e]}function o6e(e){return function(){return!e.apply(this,arguments)}}function a6e(e){return function(){return-e.apply(this,arguments)}}function s6e(){return x4e(arguments)}function u6e(e,t){return e<t?1:e>t?-1:0}function c6e(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}t6e["@@__IMMUTABLE_INDEXED__@@"]=!0,t6e[c3e]=!0,U5e(o3e,{get:function(e,t){return this.has(e)?e:t},includes:function(e){return this.has(e)},keySeq:function(){return this.valueSeq()}}),o3e.prototype.has=X5e.includes,o3e.prototype.contains=o3e.prototype.includes,U5e(S3e,r3e.prototype),U5e(k3e,i3e.prototype),U5e(C3e,o3e.prototype);var l6e=function(e){function t(e){return null==e?h6e():z5e(e)?e:h6e().withMutations((function(t){var n=o3e(e);S4e(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(r3e(e).keySeq())},t.prototype.toString=function(){return this.__toString("OrderedSet {","}")},t}(V5e);l6e.isOrderedSet=z5e;var d6e,f6e=l6e.prototype;function p6e(e,t){var n=Object.create(f6e);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function h6e(){return d6e||(d6e=p6e(N5e()))}f6e[c3e]=!0,f6e.zip=t6e.zip,f6e.zipWith=t6e.zipWith,f6e.__empty=h6e,f6e.__make=p6e;var m6e={exports:{}};
145
+ */function $je(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}var Zje=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=$je(e),o=1;o<arguments.length;o++){for(var a in n=Object(arguments[o]))Yje.call(n,a)&&(i[a]=n[a]);if(Gje){r=Gje(n);for(var s=0;s<r.length;s++)Qje.call(n,r[s])&&(i[r[s]]=n[r[s]])}}return i},Jje="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",Xje=function(){};if("production"!==process.env.NODE_ENV){var eRe=Jje,tRe={},nRe=Function.call.bind(Object.prototype.hasOwnProperty);Xje=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}}function rRe(e,t,n,r,i){if("production"!==process.env.NODE_ENV)for(var o in e)if(nRe(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,eRe)}catch(e){a=e}if(!a||a instanceof Error||Xje((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 tRe)){tRe[a.message]=!0;var u=i?i():"";Xje("Failed "+n+" type: "+a.message+(null!=u?u:""))}}}rRe.resetWarningCache=function(){"production"!==process.env.NODE_ENV&&(tRe={})};var iRe=Se,oRe=Zje,aRe=Jje,sRe=rRe,uRe=Function.call.bind(Object.prototype.hasOwnProperty),cRe=function(){};function lRe(){return null}"production"!==process.env.NODE_ENV&&(cRe=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}});function dRe(){}function fRe(){}fRe.resetWarningCache=dRe;if("production"!==process.env.NODE_ENV){var pRe=Se;Wje.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(lRe),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+"]",aRe);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 iRe.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(uRe(s,c)){var d=e(s,c,r,i,o+"."+c,aRe);if(d instanceof Error)return d}return null}))},oneOf:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&cRe(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."),lRe;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&&cRe("Invalid argument supplied to oneOfType, expected an instance of array."),lRe;for(var t=0;t<e.length;t++){var n=e[t];if("function"!=typeof n)return cRe("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+f(n)+" at index "+t+"."),lRe}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,aRe))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,aRe);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=oRe({},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,aRe);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!==aRe){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&&(cRe("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=sRe,i.resetWarningCache=sRe.resetWarningCache,i.PropTypes=i,i}(pRe.isElement,!0)}else Wje.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:fRe,resetWarningCache:dRe};return n.PropTypes=n,n}();var hRe=Wje.exports,mRe=Object.freeze({__proto__:null,useCurrentUser:z0,useAccountApi:m1,useAuthenticationContext:HS,useEnvironmentConfig:Yg,useNotificationContext:F6,usePromise:FS,LinkContext:bE,TextLink:qTe,logger:vv,createId:bv,ResourceContext:IE,usePluginSettings:function(){var e=a(m3).settings;return null!=e?e:{}},usePluginStorage:f4,usePluginDeviceStore:f4,usePluginSubscriptionStore:function(){return a(m3).subscriptionStore},usePluginSubscriptionStoreValue:function(e,t){var n=this,r=a(m3).subscriptionStore,i=FS((function(){return r.get(e).catch(h4)}),void 0,HG(HG([],t||[]),[e])),o=i[0],s=i[1],u=i[2],c=i[3],l=i[4];return{data:o,set:function(t){return VG(n,void 0,void 0,(function(){var n;return KG(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),h4(e)}))];case 1:return[2,i.sent()]}}))}))},isLoading:s,error:u,refresh:l,remove:function(){return VG(n,void 0,void 0,(function(){var t;return KG(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),h4(e)}))];case 1:return[2,n.sent()]}}))}))}}},usePluginUserStore:function(){return a(m3).userStore},usePluginUserStoreValue:function(e,t){var n=this,r=a(m3).userStore,i=FS((function(){return r.get(e).catch(h4)}),void 0,HG(HG([],t||[]),[e])),o=i[0],s=i[1],u=i[2],c=i[3],l=i[4];return{data:o,set:function(t){return VG(n,void 0,void 0,(function(){var n;return KG(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),h4(e)}))];case 1:return[2,i.sent()]}}))}))},isLoading:s,error:u,refresh:l,remove:function(){return VG(n,void 0,void 0,(function(){var t;return KG(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),h4(e)}))];case 1:return[2,n.sent()]}}))}))}}},useReachApiEndPoints:function(){return{apiEndpoint:Gg().apiEndpoint}},AccountType:_0,PeoplePicker:Zwe,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=QC().formatMessage,d=n?s||a||"CheckboxComposite":a||"Checkbox";return e(qwe,Bhe({className:o},{children:r?e(Kwe,{},void 0):e(Cwe,Bhe({resourceKey:u},{children:e(Vwe,{iconProps:{iconName:d},onClick:function(){return i(!n)},ariaLabel:c?l({id:c}):null},void 0)}),void 0)}),void 0)},EditorSettingsDialog:Bwe,Spinner:L,SelectionMode:ee,EditorHighlight:function(t){var n=t.tooltipResourceKey,r=t.className,i=Uhe(t,["tooltipResourceKey","className"]);return e(Cwe,Bhe({resourceKey:n,className:r},{children:e(Iwe,Bhe({},i,{"data-highlight-bubble":!0}),void 0)}),void 0)},useTheme:function(){return a(_6).theme},useSubscriptionHandlePathBuilder:s3,useSubscriptionWebAppUrl:u3});var gRe,vRe=[{name:"@reach/core",packageDefinition:Bhe({default:{}},mRe)}],yRe=[{name:"react",packageDefinition:Bhe(Bhe({},o),{default:o})},{name:"react-dom",packageDefinition:Bhe(Bhe({},Me),{default:Me})},{name:"react-is",packageDefinition:Bhe(Bhe({},Se),{default:Se})},{name:"prop-types",packageDefinition:Bhe({default:hRe},hRe)},{name:"react-router-dom",packageDefinition:Bhe({},he)},{name:"styled-components",packageDefinition:{default:ke,createGlobalStyle:Ce,css:Ee,useTheme:Oe,isStyledComponent:Te,keyframes:Ne,withTheme:De,ThemeProvider:Ie,ThemeContext:Pe,ThemeConsumer:Ae}},{name:"office-ui-fabric-react",packageDefinition:{default:{},Checkbox:q,Label:V,PrimaryButton:A,Icon:j,Link:T,TextField:P,ActionButton:D,IconButton:O,DefaultButton:M,Spinner:L,Dropdown:K,ProgressIndicator:H,Shimmer:W,ShimmerElementsGroup:G,ShimmerElementType:Y,DirectionalHint:Q,PersonaSize:$,TooltipHost:B,DialogType:Z,Dialog:Ghe}},{name:"react-intl",packageDefinition:{default:{},FormattedMessage:hE,useIntl:QC,FormattedDate:mE,FormattedTime:gE,IntlProvider:iE}},{name:"@apollo/client",packageDefinition:{default:{},gql:Uj,useQuery:function(e,t){return aR(e,t,!1)},ApolloClient:Aj,ApolloProvider:Zj,from:cA,ApolloLink:uA,fromPromise:nA,split:lA,HttpLink:yA,InMemoryCache:pj,useLazyQuery:function(e,t){return aR(e,t,!0)},useMutation:function(e,t){var n=a(Qj()),r=d({called:!1,loading:!1}),i=r[0],o=r[1],s=t?ts(ts({},t),{mutation:e}):{mutation:e},u=c(),f=(u.current||(u.current=new rR({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:mj,useApolloClient:Jj,useSubscription:function(e,t){var n=p((function(e){return e+1}),0)[1],r=a(Qj()),i=t?ts(ts({},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 nR({options:i,context:r,setResult:u})),f.current);return h.setOptions(i,!0),h.context=r,__DEV__&&oR(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:cL}},{name:"@apollo/client/link/ws",packageDefinition:{default:{},WebSocketLink:SL}},{name:"@apollo/client/utilities",packageDefinition:{default:{},getMainDefinition:ZD}},{name:"@apollo/client/link/context",packageDefinition:{default:{},setContext:sR}}];ke.div.withConfig({displayName:"ColorEditor__Host",componentId:"sc-add00t-0"})(gRe||(gRe=Hhe(["\n .ms-ColorPicker-panel {\n padding: 0;\n }\n .ms-ColorPicker-table {\n table-layout: fixed;\n width: 100%;\n }\n\n @media (max-width: 900px) {\n margin-top: ","px;\n margin-left: 0;\n }\n"],["\n .ms-ColorPicker-panel {\n padding: 0;\n }\n .ms-ColorPicker-table {\n table-layout: fixed;\n width: 100%;\n }\n\n @media (max-width: 900px) {\n margin-top: ","px;\n margin-left: 0;\n }\n"])),20);var bRe=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 rs(void 0,void 0,void 0,(function(){return is(this,(function(e){return[2,null!=n||null!=a]}))}))},getCurrentEmail:function(){return rs(void 0,void 0,void 0,(function(){return is(this,(function(e){return[2,null]}))}))},setToken:s,onHandleError:function(e,t){return rs(void 0,void 0,void 0,(function(){return is(this,(function(n){return vv.error(e,t),[2,Promise.reject(e)]}))}))}}}),[i,a]);return e(KS.Provider,ts({value:c},{children:r}),void 0)},wRe="0.4.0-preview.546",xRe="103688",_Re="284108eee5dd56eb2f50a697547fbc480598d5e4",SRe=Ot,kRe=xt,CRe=ai("match"),ERe=function(e){var t;return SRe(e)&&(void 0!==(t=e[CRe])?!!t:"RegExp"==kRe(e))},IRe=ai("match"),ORe=function(e){if(ERe(e))throw TypeError("The method doesn't accept regular expressions");return e},TRe=kt,NRe=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[IRe]=!1,"/./"[e](t)}catch(e){}}return!1};Hr({target:"String",proto:!0,forced:!NRe("includes")},{includes:function(e){return!!~String(TRe(this)).indexOf(ORe(e),arguments.length>1?arguments[1]:void 0)}});var DRe,PRe,ARe={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"},oneSignal:{appId:"dd89af4f-325e-447e-a030-654043cfbc6a"}},MRe={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"},oneSignal:{appId:"47a684a5-e9e0-4aaf-84b8-9f3e6585b292"}},jRe=["//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"],RRe=function(t){var n=t.children,r=Gg().apiEndpoint,i=u((function(){return function(e){return"number"!=typeof e.maxFileSizeInMb&&(e.maxFileSizeInMb=parseInt(e.maxFileSizeInMb)),e}(function(){var e=!jRe.some((function(e){return r.toLowerCase().includes(e)}));if(!e)return vv.info("Will use non prod client config..."),ts({},ARe);return ts(ts({},ARe),MRe)}())}),[r]);return e(iv.Provider,ts({value:i},{children:n}),void 0)},LRe=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 rs(this,void 0,void 0,(function(){return is(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 rs(this,void 0,void 0,(function(){return is(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}(),FRe=new LRe,zRe=function(n){var r=n.subscriptionId,i=n.children;return n.shouldUsePublicAccess?e(BRe,ts({subscriptionId:r},{children:i}),void 0):e(t,{children:i},void 0)},BRe=function(n){var r=n.subscriptionId,i=n.children,o=a(KS).setToken,s=xE(),c=function(){var e=GV().fetchFromApi,t=YV();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=GV().fetchFromApi,d=a(yE),f=d.handleFatalError,p=d.handleAccessDeniedError,h=FS((function(){return rs(this,void 0,void 0,(function(){var e,t,n;return is(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 vv.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 vv.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)}))}},URe=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(yE.Provider,ts({value:h},{children:e(qRe,ts({fatalError:i,notFoundError:f,accessDeniedError:s},{children:n}),void 0)}),void 0)},qRe=function(n){var r=n.fatalError,i=n.accessDeniedError,o=n.notFoundError,a=n.children;return r?e(VRe,{messageId:r.messageId,error:r.error},void 0):i?e(VRe,{messageId:"AccessDenied.genericMessage",error:i.error},void 0):o?e(VRe,{messageId:"NotFound.message"},void 0):e(t,{children:a},void 0)},VRe=function(t){var r=t.messageId,i=t.error,o=QC().formatMessage,a=d(!1),s=a[0],u=a[1];return e(Mje,ts({errorType:Pje.GenericError,alertText:o({id:r||"FatalError.genericMessage"}),onClick:function(){return u(!s)}},{children:s&&n(KRe,{children:[e(hE,{id:"Generic.error.details"},void 0),e(HRe,{children:JSON.stringify(i)||"Not provided"},void 0)]},void 0)}),void 0)},KRe=ke.div.withConfig({displayName:"ReachErrorProvider__DetailsContainer",componentId:"sc-15225g3-0"})(DRe||(DRe=fs(["\n margin-top: ","px;\n"],["\n margin-top: ","px;\n"])),20),HRe=ke.p.withConfig({displayName:"ReachErrorProvider__Details",componentId:"sc-15225g3-1"})(PRe||(PRe=fs(["\n opacity: 0.4;\n font-size: small;\n"],["\n opacity: 0.4;\n font-size: small;\n"]))),WRe=function(t){var n=t.children,r=u3(),i=u((function(){return{onShare:function(){return rs(void 0,void 0,void 0,(function(){return is(this,(function(e){return[2,null]}))}))},onOpenExternalLink:o,tryGetInternalLink:function(){return null},changeHistory:a}}),[]);return e(bE.Provider,ts({value:i},{children:n}),void 0);function o(e){window.open(e,"_blank")}function a(e){window.open(""+r+e)}},GRe=function(){return null},YRe=Object.freeze({__proto__:null,Page:GRe,NavLinkSidebarItem:GRe,PageMenuActionItem:GRe});!function(){if(window.__is_reach_app)return;if(console.info("Reach Component Library: "+wRe+" ("+xRe+") ["+_Re+"]"),window.__did_initialize_reach_context)return;ce()}();var QRe=function(r){var i,o,s,c,d=null!=a(Wg);l((function(){var e,t;window.__did_initialize_reach_context||(window.__did_initialize_reach_context=!0,d||window.__is_reach_app||(v3.apply(void 0,Khe(["ReachCorePackages"],Khe(Khe([],yRe),vRe))),e=require("./"),t=[{name:"@livetiles/reach-components-react",packageDefinition:ts({default:{}},e)},{name:"@reach/chrome",packageDefinition:ts({default:{}},YRe)}],v3.apply(void 0,ls(["ReachComponentLibraryPackages"],t))))}),[]);var f=u((function(){var e,t,n,i,o,a,s,u;return{env:{deviceInfo:{},version:wRe,commitId:_Re,buildId:xRe},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?(vv.warn("A ReachContext already exists. Ignoring the given context: "+JSON.stringify(ts({subscriptionId:r.subscriptionId},r.config),null,2)),e(t,{children:r.children},void 0)):e("div",ts({className:tY},{children:e(Wg.Provider,ts({value:f},{children:e(we,{children:e(wE.Provider,ts({value:FRe},{children:e(RRe,{children:e(w0,ts({language:r.language},{children:e(S6,ts({disableUiFabricThemeOverwrite:r.disableUiFabricThemeOverwrite},{children:e(URe,{children:e(bRe,ts({onRequestToken:r.onRequestToken,subscriptionId:r.subscriptionId},{children:e(kE,ts({subscriptionId:r.subscriptionId},{children:e(zRe,ts({subscriptionId:r.subscriptionId,shouldUsePublicAccess:!r.onRequestToken},{children:e(WRe,{children:e(ZT.Provider,ts({value:{hideChrome:!1}},{children:e($Re,{children:e(jK,ts({gqlClientConfig:{endPoint:f.appConfig.api3Endpoint,webSocketsEndpoint:f.appConfig.webSocketsEndpoint}},{children:e(Q2,{children:e(t7,{children:n(H6,{children:[e(Q6,{},void 0),e(Ywe,{},void 0),e(ZRe,{},void 0),n(xe,{children:[e(_e,{path:"/:subscriptionHandleOrId",render:function(){return r.children}},void 0),e(_e,{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)},$Re=function(t){var n,r=t.children,i=a(_6).setTheme,o=a(IE).changeSettings,s=g1().getCurrentUser,c=FS((function(){var e,t;return rs(this,void 0,void 0,(function(){var n,r,a,u;return is(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=yS(n.preferredUiLanguage,vS(),null===(t=n.subscription)||void 0===t?void 0:t.defaultLanguage),a=dAe(n),o(r,a).then((function(){return null}),vv.error),[2,n];case 2:throw u=c.sent(),vv.error(u),u;case 3:return[2]}}))}))})),l=c[0],d=c[1],f=c[2],p=c[3],h=a(yE),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(L0.Provider,ts({value:y},{children:r}),void 0)},ZRe=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(ZG,{},void 0),e(eY,{},void 0)]},void 0)};var JRe=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,XRe=/[\0-\x1F\x7F-\x9F]/,eLe=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,tLe=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\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 nLe(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 rLe(e){return Object.prototype.toString.call(e)}function iLe(e){return"[object Function]"===rLe(e)}function oLe(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var aLe={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};var sLe={"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}}},uLe="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function cLe(e){var t=e.re=function(e){var t={};return t.src_Any=JRe.source,t.src_Cc=XRe.source,t.src_Z=eLe.source,t.src_P=tLe.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]"===rLe(e)}(n))return!function(e){return"[object RegExp]"===rLe(e)}(n.validate)?iLe(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(iLe(n.normalize)?r.normalize=n.normalize:n.normalize?o(t,n):r.normalize=function(e,t){t.normalize(e)});!function(e){return"[object String]"===rLe(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(oLe).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 lLe(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 dLe(e,t){var n=new lLe(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function fLe(e,t){if(!(this instanceof fLe))return new fLe(e,t);t||function(e){return Object.keys(e||{}).reduce((function(e,t){return e||aLe.hasOwnProperty(t)}),!1)}(e)&&(t=e,e={}),this.__opts__=nLe({},aLe,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=nLe({},sLe,e),this.__compiled__={},this.__tlds__=uLe,this.__tlds_replaced__=!1,this.re={},cLe(this)}fLe.prototype.add=function(e,t){return this.__schemas__[e]=t,cLe(this),this},fLe.prototype.set=function(e){return this.__opts__=nLe(this.__opts__,e),this},fLe.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},fLe.prototype.pretest=function(e){return this.re.pretest.test(e)},fLe.prototype.testSchemaAt=function(e,t,n){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,n,this):0},fLe.prototype.match=function(e){var t=0,n=[];this.__index__>=0&&this.__text_cache__===e&&(n.push(dLe(this,t)),t=this.__last_index__);for(var r=t?e.slice(t):e;this.test(r);)n.push(dLe(this,t)),r=r.slice(this.__last_index__),t+=this.__last_index__;return n.length?n:null},fLe.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(),cLe(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,cLe(this),this)},fLe.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},fLe.prototype.onCompile=function(){};var pLe=fLe;function hLe(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 mLe(){return mLe=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},mLe.apply(this,arguments)}function gLe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vLe(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 yLe(e,t,n){return t&&vLe(e.prototype,t),n&&vLe(e,n),e}function bLe(e){return bLe="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},bLe(e)}function wLe(e){return wLe="function"==typeof Symbol&&"symbol"===bLe(Symbol.iterator)?function(e){return bLe(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":bLe(e)},wLe(e)}function xLe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _Le(e,t){return!t||"object"!==wLe(t)&&"function"!=typeof t?xLe(e):t}function SLe(e){return SLe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},SLe(e)}function kLe(e,t){return kLe=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},kLe(e,t)}function CLe(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&&kLe(e,t)}function ELe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ILe(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 OLe(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 TLe(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 NLe(e){return function(e){if(Array.isArray(e))return TLe(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 TLe(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)?TLe(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 DLe=function(e){return e===Object(e)?Object.keys(e):[]},PLe=function(e){return e===Object(e)?Object.values(e):[]};function ALe(e,t){var n=Object.assign({},e);return RLe(e)&&RLe(t)&&DLe(t).forEach((function(r){RLe(t[r])&&r in e?n[r]=ALe(e[r],t[r]):Object.assign(n,r9({},r,t[r]))})),n}var MLe=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 ALe(e,t)}),e)},jLe=function(e,t){var n=Object.assign({},e);if(t)for(var r=0;r<t.length;r++)delete n[t[r]];return n},RLe=function(e){return!(e!==Object(e)||e instanceof Date||Array.isArray(e))},LLe=function(e){return(e||[]).filter(Boolean)},FLe=function(e){return"&"===e[0]},zLe=function(e){return!FLe(e)},BLe=function(e){return e.replace(/-(\w)/g,(function(e,t){return t.toUpperCase()}))},ULe=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=DLe(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},qLe=function(e,t){for(var n=t.map(BLe),r=DLe(e),i={},o=0,a=r.length;o<a;o+=1){var s=r[o];(t.indexOf(s)>=0||n.indexOf(BLe(s))>=0)&&(i[s]=e[s])}return i},VLe=function e(t,n){for(var r=MLe.apply(void 0,[{},jLe(t,n)].concat(NLe(PLe(qLe(t,n))))),i=DLe(r).filter(FLe),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=MLe({},r,u)):r[s]=u}return r};function KLe(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?KLe(Object(n),!0).forEach((function(t){r9(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):KLe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var WLe=["animationName"],GLe=function(e){var t=e.style,n=e.className;return HLe(HLe({},t?{style:ULe(t,WLe)}:{}),n?{className:n}:{})},YLe=s(GLe);YLe.Provider;var QLe=function(e){if(!e)return[];if("string"==typeof e)return[e];if(!Array.isArray(e)){var t=e;return DLe(e).reduce((function(e,n){return e.concat(t[n]?[n]:[])}),[])}return e},$Le={},ZLe=function(e){return function(t,n){var r,i=n||$Le;e.memoize=e.memoize||new WeakMap,e.memoize.has(i)?r=e.memoize.get(i):(r={},e.memoize.set(i,r));var o=QLe(t).join(" ");return o in r?r[o]:r[o]=e(t||[],n)}};function JLe(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 XLe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?JLe(Object(n),!0).forEach((function(t){r9(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):JLe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var eFe=function(e){var t=e&&DLe(e)[0];return t&&t.split("__")[0].split("--")[0]},tFe=function(e,t,n){if(e){var r=e.split(" ")[0],i=[].concat(NLe(0===t.length?n.map((function(e){return"".concat(r,"--").concat(e.substring(1))})):[]),NLe(t.map((function(e){return"".concat(r,"__").concat(e)}))));return 0===t.length?[e].concat(NLe(i)):i}};function nFe(e){var t=e.style,n=e.className,r=e.classNames,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:GLe,o=n||eFe(r)||(null==t?void 0:t.className),a="function"==typeof t?t:ZLe((function(e,n){var a=QLe(e);Fhe(Array.isArray(a),"First parameter must be a string, an array of strings, a plain object with boolean values, or a falsy value."),Fhe(!n||RLe(n),"Optional second parameter must be a plain object.");var s=a.filter(FLe),u=a.filter(zLe),c=u.length>0?function(e){return PLe(qLe(e,u))}:function(e){return[e]},l=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return c(VLe(e,s))},d=tFe(o,u,s);return nFe(XLe(XLe(XLe({},(t||n)&&{style:MLe.apply(void 0,[{}].concat(NLe(l(n)),NLe(l(t))))}),d&&{className:d.join(" ")}),r&&{classNames:r}),i)})),s=XLe({},"function"==typeof t?t:{style:t}),u=NLe(new Set([].concat(NLe(s.className?s.className.split(" "):[]),NLe(o?o.split(" "):[])))),c=r?LLe(u.map((function(e){return r[e]}))):u,l=i(XLe(XLe({},s),c.length>0?{className:c.join(" ")}:{}));return Object.assign(a,l),a}function rFe(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 iFe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?rFe(Object(n),!0).forEach((function(t){r9(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):rFe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var oFe=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 iFe(iFe(iFe({},e),"function"==typeof t?t:{}),{},{style:iFe(iFe({},e.style),"function"==typeof t?t.style:t)})}),{})},aFe=function(e,t,n){var r=t.style,i=t.className,o=t.classNames,s=a(YLe);return u((function(){return nFe({style:r,className:i,classNames:o},s)}),[r,i,o,s])(n,e)},sFe=function(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")},uFe="__id__",cFe="__display__",lFe=function(e,t){Fhe("id"===t||"display"===t,'Second arg must be either "id" or "display", got: "'.concat(t,'"'));var n=e.indexOf(cFe),r=e.indexOf(uFe);return n<0&&(n=null),r<0&&(r=null),Fhe(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},dFe=function(e){var t=/^\/(.+)\/(\w+)?$/;return new RegExp(e.map((function(e){var n=ILe(t.exec(e.toString()),3),r=n[1],i=n[2];return Fhe(!i,"RegExp flags are not supported. Change /".concat(r,"/").concat(i," into /").concat(r,"/")),"(".concat(r,")")})).join("|"),"g")},fFe=function(e){var t=0;return e.indexOf("__id__")>=0&&t++,e.indexOf("__display__")>=0&&t++,t},pFe=function(){},hFe=function(e,t,n){for(var r,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:pFe,o=dFe(t.map((function(e){return e.regex}))),a=2,s=t.map((function(e){var t=e.markup,n=a;return a+=fFe(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+lFe(p,"id"),g=l+lFe(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)},mFe=function(e,t){var n="";return hFe(e,t,(function(e,t,r,i,o){n+=o}),(function(e){n+=e})),n},gFe=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 hFe(e,t,a,o),void 0===r?e.length:r},vFe=function(e,t,n,r){return e.substring(0,t)+r+e.substring(n)},yFe=function(e,t){var n=[];return hFe(e,t,(function(e,t,r,i,o,a,s){n.push({id:i,display:o,childIndex:a,index:t,plainTextIndex:r})})),n},bFe=function(e,t){return"".concat(e,"-").concat(t)},wFe=function(e){return Object.values(e).reduce((function(e,t){return e+t.results.length}),0)},xFe=function(e){var t=sFe(e),n=e[e.indexOf(cFe)+cFe.length],r=e[e.indexOf(uFe)+uFe.length];return new RegExp(t.replace(cFe,"([^".concat(sFe(n||""),"]+?)")).replace(uFe,"([^".concat(sFe(r||""),"]+?)")))},_Fe=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?SFe(r,n):xFe(n),displayTransform:i||function(e,t){return t||e}}}))},SFe=function(e,t){var n=new RegExp(e.toString()+"|").exec("").length-1,r=fFe(t);return Fhe(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},kFe=[{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}],CFe=function(e){return function(e){var t=e;return kFe.forEach((function(e){t=t.replace(e.letters,e.base)})),t}(e).toLowerCase()},EFe=function(e,t,n){return n?CFe(e).indexOf(CFe(t)):e.toLowerCase().indexOf(t.toLowerCase())},IFe=function(e){return"number"==typeof e},OFe=function(e){return e===Object(e)?Object.keys(e):[]},TFe=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 NFe(e,t){return function(n){var r=function(r){var i=r.style,a=r.className,s=r.classNames,u=OLe(r,["style","className","classNames"]),c=t?t(u):void 0,l=aFe(e,{style:i,className:a,classNames:s},c);return o.createElement(n,mLe({},u,{style:l}))},i=n.displayName||n.name||"Component";return r.displayName="defaultStyle(".concat(i,")"),r}}var DFe=function(e){function t(){var e;return gLe(this,t),ELe(xLe(e=_Le(this,SLe(t).apply(this,arguments))),"setCaretElement",(function(t){e.caretElement=t})),e.state={left:void 0,top:void 0},e}return CLe(t,v),yLe(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=_Fe(u);r===i&&(e=gFe(a,l,r,"START"));var d=[],f={},p=d,h=0;return hFe(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(IFe(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",mLe({},s,{ref:c}),d)}},{key:"renderSubstring",value:function(e,t){return o.createElement("span",mLe({},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",mLe({},this.props.style("caret"),{ref:this.setCaretElement,key:"caret"}),e)}}]),t}();ELe(DFe,"propTypes",{selectionStart:IW.number,selectionEnd:IW.number,value:IW.string.isRequired,onCaretPositionChange:IW.func.isRequired,containerRef:IW.oneOfType([IW.func,IW.shape({current:"undefined"==typeof Element?IW.any:IW.instanceOf(Element)})]),children:IW.oneOfType([IW.element,IW.arrayOf(IW.element)]).isRequired}),ELe(DFe,"defaultProps",{value:""});var PFe=NFe({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}}))(DFe),AFe=function(e){function t(){return gLe(this,t),_Le(this,SLe(t).apply(this,arguments))}return CLe(t,v),yLe(t,[{key:"render",value:function(){var e=TFe(this.props,["style","classNames","className"],OFe(t.propTypes));return o.createElement("li",mLe({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=EFe(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}();ELe(AFe,"propTypes",{id:IW.string.isRequired,query:IW.string.isRequired,index:IW.number.isRequired,ignoreAccents:IW.bool,suggestion:IW.oneOfType([IW.string,IW.shape({id:IW.oneOfType([IW.string,IW.number]).isRequired,display:IW.string})]).isRequired,renderSuggestion:IW.func,focused:IW.bool});var MFe=NFe({cursor:"pointer"},(function(e){return{"&focused":e.focused}}))(AFe);function jFe(){var e=aFe(),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 RFe=function(e){function t(){var e,n;gLe(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return ELe(xLe(n=_Le(this,(e=SLe(t)).call.apply(e,[this].concat(i)))),"handleMouseEnter",(function(e,t){n.props.onMouseEnter&&n.props.onMouseEnter(e)})),ELe(xLe(n),"select",(function(e,t){n.props.onSelect(e,t)})),ELe(xLe(n),"setUlElement",(function(e){n.ulElement=e})),n}return CLe(t,v),yLe(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",mLe({},oFe({position:u||"absolute",left:c,top:l},i),{onMouseDown:a,ref:s}),o.createElement("ul",mLe({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(hLe(t),hLe(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(MFe,{style:this.props.style("item"),key:"".concat(a,"-").concat(LFe(e)),id:bFe(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(jFe,{style:this.props.style("loadingIndicator")})}}]),t}();ELe(RFe,"propTypes",{id:IW.string.isRequired,suggestions:IW.object.isRequired,a11ySuggestionsListLabel:IW.string,focusIndex:IW.number,position:IW.string,left:IW.number,top:IW.number,scrollFocusedIntoView:IW.bool,isLoading:IW.bool,isOpened:IW.bool.isRequired,onSelect:IW.func,ignoreAccents:IW.bool,containerRef:IW.oneOfType([IW.func,IW.shape({current:"undefined"==typeof Element?IW.any:IW.instanceOf(Element)})]),children:IW.oneOfType([IW.element,IW.arrayOf(IW.element)]).isRequired}),ELe(RFe,"defaultProps",{suggestions:{},onSelect:function(){return null}});var LFe=function(e){return"string"==typeof e?e:e.id},FFe=NFe({zIndex:1,backgroundColor:"white",marginTop:14,minWidth:100,list:{margin:0,padding:0,listStyleType:"none"}})(RFe);function zFe(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 BFe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?zFe(n,!0).forEach((function(t){ELe(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):zFe(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var UFe={TAB:9,RETURN:13,ESC:27,UP:38,DOWN:40},qFe=!1,VFe={singleLine:IW.bool,allowSpaceInQuery:IW.bool,allowSuggestionsAboveCursor:IW.bool,forceSuggestionsAboveCursor:IW.bool,ignoreAccents:IW.bool,a11ySuggestionsListLabel:IW.string,value:IW.string,onKeyDown:IW.func,onSelect:IW.func,onBlur:IW.func,onChange:IW.func,suggestionsPortalHost:"undefined"==typeof Element?IW.any:IW.PropTypes.instanceOf(Element),inputRef:IW.oneOfType([IW.func,IW.shape({current:"undefined"==typeof Element?IW.any:IW.instanceOf(Element)})]),children:IW.oneOfType([IW.element,IW.arrayOf(IW.element)]).isRequired},KFe=function(e){function t(e){var n;return gLe(this,t),ELe(xLe(n=_Le(this,SLe(t).call(this,e))),"setContainerElement",(function(e){n.containerElement=e})),ELe(xLe(n),"getInputProps",(function(){var e=n.props,t=e.readOnly,r=e.disabled,i=e.style;return BFe({},TFe(n.props,["style","classNames","className"],OFe(VFe)),{},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":bFe(n.uuidSuggestionsOverlay,n.state.focusIndex)})})),ELe(xLe(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))})),ELe(xLe(n),"renderInput",(function(e){return o.createElement("input",mLe({type:"text",ref:n.setInputRef},e))})),ELe(xLe(n),"renderTextarea",(function(e){return o.createElement("textarea",mLe({ref:n.setInputRef},e))})),ELe(xLe(n),"setInputRef",(function(e){n.inputElement=e;var t=n.props.inputRef;"function"==typeof t?t(e):t&&(t.current=e)})),ELe(xLe(n),"setSuggestionsElement",(function(e){n.suggestionsElement=e})),ELe(xLe(n),"renderSuggestionsOverlay",(function(){if(!IFe(n.state.selectionStart))return null;var e=n.state.suggestionsPosition,t=e.position,r=e.left,i=e.top,a=o.createElement(FFe,{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?je.createPortal(a,n.props.suggestionsPortalHost):a})),ELe(xLe(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(PFe,{containerRef:n.setHighlighterElement,style:c("highlighter"),value:u,singleLine:a,selectionStart:t,selectionEnd:r,onCaretPositionChange:n.handleCaretPositionChange},s)})),ELe(xLe(n),"setHighlighterElement",(function(e){n.highlighterElement=e})),ELe(xLe(n),"handleCaretPositionChange",(function(e){n.setState({caretPosition:e})})),ELe(xLe(n),"getPlainText",(function(){return mFe(n.props.value||"",_Fe(n.props.children))})),ELe(xLe(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})),ELe(xLe(n),"handleChange",(function(e){if(qFe=!1,(document.activeElement&&document.activeElement.contentDocument||document).activeElement===e.target){var t=n.props.value||"",r=_Fe(n.props.children),i=e.target.value,o=function(e,t,n,r){var i=n.selectionStartBefore,o=n.selectionEndBefore,a=n.selectionEndAfter,s=mFe(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=gFe(e,r,l,"START"),p=gFe(e,r,d,"END"),h=gFe(e,r,l,"NULL"),m=gFe(e,r,d,"NULL"),g=null===h||null===m,v=vFe(e,f,p,c);if(!g){var y=mFe(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=gFe(e,r,l,"START"),p=gFe(e,r,d,"END"),v=vFe(e,f,p,c)}}return v}(t,i,{selectionStartBefore:n.state.selectionStart,selectionEndBefore:n.state.selectionEnd,selectionEndAfter:e.target.selectionEnd},r);i=mFe(o,r);var a=e.target.selectionStart,s=e.target.selectionEnd,u=!1,c=function(e,t,n){var r=n,i=!1;if(hFe(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=yFe(o,r),d={target:{value:o}};n.executeOnChange(d,o,i,l)}})),ELe(xLe(n),"handleSelect",(function(e){if(n.setState({selectionStart:e.target.selectionStart,selectionEnd:e.target.selectionEnd}),!qFe){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)}})),ELe(xLe(n),"handleKeyDown",(function(e){if(0!==wFe(n.state.suggestions)&&n.suggestionsElement)switch(Object.values(UFe).indexOf(e.keyCode)>=0&&(e.preventDefault(),e.stopPropagation()),e.keyCode){case UFe.ESC:return void n.clearSuggestions();case UFe.DOWN:return void n.shiftFocus(1);case UFe.UP:return void n.shiftFocus(-1);case UFe.RETURN:case UFe.TAB:return void n.selectFocused();default:return}else n.props.onKeyDown(e)})),ELe(xLe(n),"shiftFocus",(function(e){var t=wFe(n.state.suggestions);n.setState({focusIndex:(t+n.state.focusIndex+e)%t,scrollFocusedIntoView:!0})})),ELe(xLe(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(hLe(e),hLe(n.map((function(e){return{result:e,queryInfo:r}}))))}),[])[r],o=i.result,a=i.queryInfo;n.addMention(o,a),n.setState({focusIndex:0})})),ELe(xLe(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)})),ELe(xLe(n),"handleSuggestionsMouseDown",(function(e){n._suggestionsMouseDown=!0})),ELe(xLe(n),"handleSuggestionsMouseEnter",(function(e){n.setState({focusIndex:e,scrollFocusedIntoView:!1})})),ELe(xLe(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=HFe(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-=HFe(a,"margin-left"),h-=HFe(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})}}})),ELe(xLe(n),"updateHighlighterScroll",(function(){var e=n.inputElement,t=n.highlighterElement;e&&t&&(t.scrollLeft=e.scrollLeft,t.scrollTop=e.scrollTop,t.height=e.height)})),ELe(xLe(n),"handleCompositionStart",(function(){qFe=!0})),ELe(xLe(n),"handleCompositionEnd",(function(){qFe=!1})),ELe(xLe(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()}}})),ELe(xLe(n),"updateMentionsQueries",(function(e,t){n._queryId++,n.suggestions={},n.setState({suggestions:{}});var r=n.props.value||"",i=n.props.children,a=_Fe(i),s=gFe(r,a,t,"NULL");if(null!==s){var u=function(e,t){var n=yFe(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=sFe(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)}}}))}})),ELe(xLe(n),"clearSuggestions",(function(){n._queryId++,n.suggestions={},n.setState({suggestions:{},focusIndex:0})})),ELe(xLe(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;EFe(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)})),ELe(xLe(n),"updateSuggestions",(function(e,t,r,i,o,a,s){if(e===n._queryId){n.suggestions=BFe({},n.suggestions,ELe({},t,{queryInfo:{childIndex:t,query:r,querySequenceStart:i,querySequenceEnd:o,plainTextValue:a},results:s}));var u=n.state.focusIndex,c=wFe(n.suggestions);n.setState({suggestions:n.suggestions,focusIndex:u>=c?Math.max(c-1,0):u})}})),ELe(xLe(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=_Fe(n.props.children),d=h.toArray(n.props.children)[o].props,f=d.markup,p=d.displayTransform,m=d.appendSpaceOnAdd,g=d.onAdd,v=gFe(c,l,a,"START"),y=v+s-a,b=function(e,t,n){return e.replace(uFe,t).replace(cFe,n)}(f,r,i);m&&(b+=" ");var w=vFe(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=yFe(w,l),C=vFe(u,a,s,x);n.executeOnChange(S,w,C,k),g&&g(r,i,v,y),n.clearSuggestions()})),ELe(xLe(n),"isLoading",(function(){var e=!1;return o.Children.forEach(n.props.children,(function(t){e=e||t&&t.props.isLoading})),e})),ELe(xLe(n),"isOpened",(function(){return IFe(n.state.selectionStart)&&(0!==wFe(n.state.suggestions)||n.isLoading())})),ELe(xLe(n),"_queryId",0),n.suggestions={},n.uuidSuggestionsOverlay=Math.random().toString(16).substring(2),n.handleCopy=n.handleCopy.bind(xLe(n)),n.handleCut=n.handleCut.bind(xLe(n)),n.handlePaste=n.handlePaste.bind(xLe(n)),n.state={focusIndex:0,selectionStart:null,selectionEnd:null,suggestions:{},caretPosition:null,suggestionsPosition:{}},n}return CLe(t,o.Component),yLe(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",mLe({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=_Fe(a),u=gFe(o,s,n,"START"),c=gFe(o,s,r,"END"),l=e.clipboardData.getData("text/react-mentions"),d=e.clipboardData.getData("text/plain"),f=vFe(o,u,c,l||d).replace(/\r/g,""),p=mFe(f,s),h={target:BFe({},e.target,{value:f})};this.executeOnChange(h,f,p,yFe(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=_Fe(o),u=gFe(a,s,n,"START"),c=gFe(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=_Fe(o),u=gFe(a,s,n,"START"),c=gFe(a,s,r,"END"),l=[a.slice(0,u),a.slice(c)].join(""),d=mFe(l,s),f={target:BFe({},e.target,{value:d})};this.executeOnChange(f,l,d,yFe(a,s))}}}]),t}();ELe(KFe,"propTypes",VFe),ELe(KFe,"defaultProps",{ignoreAccents:!1,singleLine:!1,allowSuggestionsAboveCursor:!1,onKeyDown:function(){return null},onSelect:function(){return null},onBlur:function(){return null}});var HFe=function(e,t){var n=parseFloat(window.getComputedStyle(e,null).getPropertyValue(t));return isFinite(n)?n:0},WFe=NFe({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:BFe({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}}))(KFe),GFe={fontWeight:"inherit"},YFe=function(e){var t=e.display,n=e.style,r=e.className,i=e.classNames,a=aFe(GFe,{style:n,className:r,classNames:i});return o.createElement("strong",a,t)};YFe.propTypes={onAdd:IW.func,onRemove:IW.func,renderSuggestion:IW.func,trigger:IW.oneOfType([IW.string,IW.instanceOf(RegExp)]),markup:IW.string,displayTransform:IW.func,allowSpaceInQuery:IW.bool,isLoading:IW.bool},YFe.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 QFe=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 $Fe(e,t){var n=function(e){var t=e.name;if(t&&-1!==t.lastIndexOf(".")&&!e.type){var n=t.split(".").pop().toLowerCase(),r=QFe.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 ZFe=[".DS_Store","Thumbs.db"];function JFe(e){return rs(this,void 0,void 0,(function(){return is(this,(function(t){return[2,(n=e,n.dataTransfer&&e.dataTransfer?eze(e.dataTransfer,e.type):XFe(e))];var n}))}))}function XFe(e){return(null!==e.target&&e.target.files?nze(e.target.files):[]).map((function(e){return $Fe(e)}))}function eze(e,t){return rs(this,void 0,void 0,(function(){var n;return is(this,(function(r){switch(r.label){case 0:return e.items?(n=nze(e.items).filter((function(e){return"file"===e.kind})),"drop"!==t?[2,n]:[4,Promise.all(n.map(rze))]):[3,2];case 1:return[2,tze(ize(r.sent()))];case 2:return[2,tze(nze(e.files).map((function(e){return $Fe(e)})))]}}))}))}function tze(e){return e.filter((function(e){return-1===ZFe.indexOf(e.name)}))}function nze(e){for(var t=[],n=0;n<e.length;n++){var r=e[n];t.push(r)}return t}function rze(e){if("function"!=typeof e.webkitGetAsEntry)return oze(e);var t=e.webkitGetAsEntry();return t&&t.isDirectory?sze(t):oze(e)}function ize(e){return e.reduce((function(e,t){return us(e,Array.isArray(t)?ize(t):[t])}),[])}function oze(e){var t=e.getAsFile();if(!t)return Promise.reject(e+" is not a File");var n=$Fe(t);return Promise.resolve(n)}function aze(e){return rs(this,void 0,void 0,(function(){return is(this,(function(t){return[2,e.isDirectory?sze(e):uze(e)]}))}))}function sze(e){var t=e.createReader();return new Promise((function(e,n){var r=[];!function i(){var o=this;t.readEntries((function(t){return rs(o,void 0,void 0,(function(){var o,a,s;return is(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(aze)),r.push(s),i(),u.label=6;case 6:return[2]}}))}))}),(function(e){n(e)}))}()}))}function uze(e){return rs(this,void 0,void 0,(function(){return is(this,(function(t){return[2,new Promise((function(t,n){e.file((function(n){var r=$Fe(n,e.fullPath);t(r)}),(function(e){n(e)}))}))]}))}))}function cze(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 lze(e,t,n){if(dze(e.size)){if(dze(t)&&dze(n))return e.size>=t&&e.size<=n;if(dze(t))return e.size>=t;if(dze(n))return e.size<=n}return!0}function dze(e){return null!=e}function fze(e,t,n,r){return e.every((function(e){return cze(e,t)&&lze(e,n,r)}))}function pze(e){return"function"==typeof e.isPropagationStopped?e.isPropagationStopped():void 0!==e.cancelBubble&&e.cancelBubble}function hze(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 mze(e){e.preventDefault()}function gze(e){return-1!==e.indexOf("MSIE")||-1!==e.indexOf("Trident/")}function vze(e){return-1!==e.indexOf("Edge/")}function yze(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.navigator.userAgent;return gze(e)||vze(e)}function bze(){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!pze(e)&&t&&t.apply(void 0,[e].concat(r)),pze(e)}))}}function wze(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 xze(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 _ze(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 Sze(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_ze(n,!0).forEach((function(t){kze(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_ze(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function kze(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Cze(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 Eze=w((function(e,t){var n=e.children,r=Oze(Cze(e,["children"])),i=r.open,a=Cze(r,["open"]);return S(t,(function(){return{open:i}}),[i]),o.createElement(k,null,n(Sze({},a,{open:i})))}));Eze.displayName="Dropzone",Eze.propTypes={children:IW.func,accept:IW.oneOfType([IW.string,IW.arrayOf(IW.string)]),multiple:IW.bool,preventDropOnDocument:IW.bool,noClick:IW.bool,noKeyboard:IW.bool,noDrag:IW.bool,noDragEventsBubbling:IW.bool,minSize:IW.number,maxSize:IW.number,disabled:IW.bool,getFilesFromEvent:IW.func,onFileDialogCancel:IW.func,onDragEnter:IW.func,onDragLeave:IW.func,onDragOver:IW.func,onDrop:IW.func,onDropAccepted:IW.func,onDropRejected:IW.func};var Ize={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,draggedFiles:[],acceptedFiles:[],rejectedFiles:[]};function Oze(){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?JFe: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,P=e.noDragEventsBubbling,A=void 0!==P&&P,M=c(null),j=c(null),R=p(Tze,Ize),L=xze(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||(yze()?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",mze,!1),document.addEventListener("drop",$,!1)),function(){C&&(document.removeEventListener("dragover",mze),document.removeEventListener("drop",$))}}),[M,C]);var Z=f((function(e){e.preventDefault(),e.persist(),ie(e),-1===Q.current.indexOf(e.target)&&(Q.current=[].concat(wze(Q.current),[e.target])),hze(e)&&Promise.resolve(o(e)).then((function(t){pze(e)&&!A||(z({draggedFiles:t,isDragActive:!0,type:"setDraggedFiles"}),v&&v(e))}))}),[o,v,A]),J=f((function(e){if(e.preventDefault(),e.persist(),ie(e),e.dataTransfer)try{e.dataTransfer.dropEffect="copy"}catch(e){}return hze(e)&&b&&b(e),!1}),[b,A]),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:[]}),hze(e)&&y&&y(e))}),[M,y,A]),ee=f((function(e){e.preventDefault(),e.persist(),ie(e),Q.current=[],z({type:"reset"}),hze(e)&&Promise.resolve(o(e)).then((function(n){if(!pze(e)||A){var r=[],i=[];n.forEach((function(e){cze(e,t)&&lze(e,h,s)?r.push(e):i.push(e)})),!g&&r.length>1&&i.push.apply(i,wze(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,_,A]),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){A&&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=Cze(e,["refKey","onKeyDown","onFocus","onBlur","onClick","onDragEnter","onDragOver","onDragLeave","onDrop"]);return Sze(kze({onKeyDown:ne(bze(i,H)),onFocus:ne(bze(o,W)),onBlur:ne(bze(a,G)),onClick:te(bze(s,Y)),onDragEnter:re(bze(u,Z)),onDragOver:re(bze(c,J)),onDragLeave:re(bze(l,X)),onDrop:re(bze(d,ee))},n,M),r||T?{}:{tabIndex:0},{},f)}}),[M,H,W,G,Y,Z,J,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=Cze(e,["refKey","onChange","onClick"]),s=kze({accept:t,multiple:g,type:"file",style:{display:"none"},onChange:te(bze(i,ee)),onClick:te(bze(o,ae)),autoComplete:"off",tabIndex:-1},r,j);return Sze({},s,{},a)}}),[j,t,g,ee,r]),ue=q.length,ce=g||ue<=1,le=ue>0&&fze(q,t,h,s),de=ue>0&&(!le||!ce);return Sze({},F,{isDragAccept:le,isDragReject:de,isFocused:B&&!r,getRootProps:oe,getInputProps:se,rootRef:M,inputRef:j,open:te(V)})}function Tze(e,t){switch(t.type){case"focus":return Sze({},e,{isFocused:!0});case"blur":return Sze({},e,{isFocused:!1});case"openDialog":return Sze({},e,{isFileDialogActive:!0});case"closeDialog":return Sze({},e,{isFileDialogActive:!1});case"setDraggedFiles":var n=t.isDragActive;return Sze({},e,{draggedFiles:t.draggedFiles,isDragActive:n});case"setFiles":return Sze({},e,{acceptedFiles:t.acceptedFiles,rejectedFiles:t.rejectedFiles});case"reset":return Sze({},e,{isFileDialogActive:!1,isDragActive:!1,draggedFiles:[]});default:return e}}var Nze={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}))}(Nze);var Dze,Pze=Nze.exports;!function(e){e.BOTH="both",e.MOUSE="mouse",e.TOUCH="touch"}(Dze||(Dze={}));var Aze={exports:{}},Mze=st(Aze.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="",P=void 0,A=(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=A(g))[r.toLowerCase()]:g;var o=N===+a;D=i+" "+(o?n:""),P=!0===o&&null!=c?Object.assign({},y,c):y;var u={children:r,className:D,key:t,style:P};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}}])),jze={exports:{}},Rze=(jze.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 P(e,t,0)}function D(e,t){return P(e,t,t)}function P(e,t,n){return void 0===e?n:e<0?Math.max(0,t+e):void 0===t?e:Math.min(t,e)}var A=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=A,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 Z,J,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 Z||(Z=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(J)return J;J=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(!Ae){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!==Pe&&!1===Pe(e))throw new Error("Non-extensible objects are not allowed as keys.");if(Ae)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 Pe=Object.isExtensible,Ae=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 Ze(e,t,n){this.ownerID=e,this.count=t,this.nodes=n}function Je(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===Je}function ut(e,t,n,r,i){if(e.keyHash===r)return new Je(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 Ze(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)},Ze.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},Ze.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 Ze(e,f,h)},Je.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},Je.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 Je(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=Je.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=Ze.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?At(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=Pt(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=Pt(this,t);(n=i())!==Dt&&!1!==e(n,r++,this););return r},kt.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?At(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 Pt(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 At(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=At(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):At(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):At(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 Zt(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?A:M,n)},t}function Jt(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=Zt(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===A?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===A?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=Jt(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[Pn])}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,Pn="@@__IMMUTABLE_SET__@@",An=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(An);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)}An[Pn]=!0,An[m]=An.remove,An.mergeDeep=An.merge,An.mergeDeepWith=An.mergeWith,An.withMutations=Ye.withMutations,An.asMutable=Ye.asMutable,An.asImmutable=Ye.asImmutable,An.__empty=Rn,An.__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(A)},map:function(e,t){return mn(this,Jt(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 Zn=n.prototype;Zn[d]=!0,Zn[F]=Zn.values,Zn.__toJS=Zn.toArray,Zn.__toStringMapper=rr,Zn.inspect=Zn.toSource=function(){return this.toString()},Zn.chain=Zn.flatMap,Zn.contains=Zn.includes,function(){try{Object.defineProperty(Zn,"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,Zt(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 Jn=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 Jn[f]=!0,Jn[F]=Zn.entries,Jn.__toJS=Zn.toObject,Jn.__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=Zn.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,Lze={createFromArray:function(e){return Rze(e.map((function(e){return[e.getKey(),e]})))}},Fze=Lze;var zze=jze.exports,Bze=zze.Map,Uze=zze.OrderedSet,qze=zze.Record,Vze=Uze(),Kze={style:Vze,entity:null},Hze=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 Wze;var t=Bze({style:Vze,entity:null}).merge(e),n=Gze.get(t);if(n)return n;var i=new r(t);return Gze=Gze.set(t,i),i},r.fromJS=function(e){var t=e.style,n=e.entity;return new r({style:Array.isArray(t)?Uze(t):t,entity:Array.isArray(n)?Uze(n):n})},r}(qze(Kze)),Wze=new Hze,Gze=Bze([[Bze(Kze),Wze]]);Hze.EMPTY=Wze;var Yze=Hze;var Qze=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 $ze=Yze,Zze=Qze,Jze=jze.exports,Xze=Jze.List,eBe=Jze.Map,tBe=Jze.OrderedSet,nBe=Jze.Record,rBe=Jze.Repeat,iBe=tBe(),oBe=nBe({key:"",type:"unstyled",text:"",characterList:Xze(),depth:0,data:eBe()}),aBe=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=Xze(rBe($ze.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():iBe},i.getEntityAt=function(e){var t=this.getCharacterList().get(e);return t?t.getEntity():null},i.findStyleRanges=function(e,t){Zze(this.getCharacterList(),sBe,e,t)},i.findEntityRanges=function(e,t){Zze(this.getCharacterList(),uBe,e,t)},r}(oBe);function sBe(e,t){return e.getStyle()===t.getStyle()}function uBe(e,t){return e.getEntity()===t.getEntity()}var cBe=aBe;var lBe=Yze,dBe=Qze,fBe=jze.exports,pBe=fBe.List,hBe=fBe.Map,mBe=fBe.OrderedSet,gBe=fBe.Record,vBe=fBe.Repeat,yBe=mBe(),bBe={parent:null,characterList:pBe(),data:hBe(),depth:0,key:"",text:"",type:"unstyled",children:pBe(),prevSibling:null,nextSibling:null},wBe=function(e,t){return e.getStyle()===t.getStyle()},xBe=function(e,t){return e.getEntity()===t.getEntity()},_Be=function(e){if(!e)return e;var t=e.characterList,n=e.text;return n&&!t&&(e.characterList=pBe(vBe(lBe.EMPTY,n.length))),e},SBe=function(e){var t,n;function r(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:bBe;return e.call(this,_Be(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():yBe},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){dBe(this.getCharacterList(),wBe,e,t)},i.findEntityRanges=function(e,t){dBe(this.getCharacterList(),xBe,e,t)},r}(gBe(bBe)),kBe=SBe,CBe=Yze,EBe=jze.exports.Map;function IBe(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(EBe([[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?CBe.applyStyle(l,n):CBe.removeStyle(l,n)),i++;return e.set("characterList",d)}));return e.merge({blockMap:i.merge(c),selectionBefore:t,selectionAfter:t})}var OBe={add:function(e,t,n){return IBe(e,t,n,!0)},remove:function(e,t,n){return IBe(e,t,n,!1)}},TBe=Yze;var NBe=function(e,t,n,r){for(var i=t,o=e.getCharacterList();i<n;)o=o.set(i,TBe.applyEntity(o.get(i),r)),i++;return e.set("characterList",o)},DBe=jze.exports;var PBe=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(DBe.OrderedMap([[a,r.get(a)]])).map((function(e,t){var r=t===i?o:0,u=t===a?s:e.getLength();return NBe(e,r,u,n)}));return e.merge({blockMap:r.merge(u),selectionBefore:t,selectionAfter:t})},ABe={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}}},MBe="production"!==Gs.env.NODE_ENV?function(e){}:function(e){if(void 0===e)throw new Error("invariant(...): Second argument must be a string.")};var jBe=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(MBe(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}},RBe=jBe;var LBe=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"!==Gs.env.NODE_ENV?RBe(!1,"Entity key not found in this range."):RBe(!1)),n},FBe=ABe,zBe=LBe,BBe=jBe;function UBe(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=zBe(t,i).filter((function(e){return l<=e.end&&l>=e.start}));1!=d.length&&("production"!==Gs.env.NODE_ENV?BBe(!1,"There should only be one entity range within this removal range."):BBe(!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=FBe.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 qBe=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=UBe(e,t,c,i,s,!0,!0);else if(s&&u){var l=UBe(e,t,c,i,s,!1,!0),d=UBe(e,n,c,i,u,!1,!1);c=c.merge({anchorOffset:l.getAnchorOffset(),focusOffset:d.getFocusOffset(),isBackward:!1})}else if(s){var f=UBe(e,t,c,i,s,!1,!0);c=c.merge({anchorOffset:f.getStartOffset(),isBackward:!1})}else if(u){var p=UBe(e,n,c,i,u,!1,!1);c=c.merge({focusOffset:p.getEndOffset(),isBackward:!1})}return c},VBe={},KBe=Math.pow(2,24);var HBe=function(){for(var e;void 0===e||VBe.hasOwnProperty(e)||!isNaN(+e);)e=Math.floor(Math.random()*KBe).toString(32);return VBe[e]=!0,e},WBe=kBe,GBe=HBe,YBe=jze.exports.OrderedMap,QBe=function(e){return e.first()instanceof WBe?function(e){var t,n={};return YBe(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=GBe();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 YBe(e.toArray().map((function(e){var t=GBe();return[t,e.set("key",t)]})))}(e)},$Be=Yze,ZBe=Qze,JBe=jBe;function XBe(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 ZBe(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"!==Gs.env.NODE_ENV?JBe(!1,"Removal range must exist within character list."):JBe(!1)),r}(r,s,n),l=c.start,d=c.end;l<d;)u=r.get(l),r=r.set(l,$Be.applyEntity(u,null)),l++;return t.set("characterList",r)}return t}var eUe=function(e,t){var n=e.getBlockMap(),r=e.getEntityMap(),i={},o=t.getStartKey(),a=t.getStartOffset(),s=n.get(o),u=XBe(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=XBe(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)},tUe=QBe,nUe=eUe,rUe=function(e,t){var n=t.getStartKey(),r=t.getStartOffset(),i=t.getEndKey(),o=t.getEndOffset(),a=nUe(e,t).getBlockMap(),s=a.keySeq(),u=s.indexOf(n),c=s.indexOf(i)+1;return tUe(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 iUe=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},oUe=Fze,aUe=kBe,sUe=iUe,uUe=jBe,cUe=QBe,lUe=jze.exports.List,dUe=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:sUe(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})})},fUe=function(e,t,n,r,i,o){var a=n.first()instanceof aUe,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=oUe.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"],lUe(f))}}))}(m,0,c,l)),e.merge({blockMap:m,selectionBefore:t,selectionAfter:t.merge({anchorKey:p,anchorOffset:f,focusKey:p,focusOffset:f,isBackward:!1})})},pUe=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"REPLACE_WITH_NEW_DATA";t.isCollapsed()||("production"!==Gs.env.NODE_ENV?uUe(!1,"`insertFragment` should only be called with a collapsed selection state."):uUe(!1));var i=e.getBlockMap(),o=cUe(n),a=t.getStartKey(),s=t.getStartOffset(),u=i.get(a);return u instanceof aUe&&(u.getChildKeys().isEmpty()||("production"!==Gs.env.NODE_ENV?uUe(!1,"`insertFragment` should not be called when a container node is selected."):uUe(!1))),1===o.size?dUe(e,t,i,o.first(),a,s,r):fUe(e,t,i,o,a,s)},hUe=iUe,mUe=jBe,gUe=jze.exports.Repeat;var vUe=function(e,t,n,r){t.isCollapsed()||("production"!==Gs.env.NODE_ENV?mUe(!1,"`insertText` should only be called with a collapsed range."):mUe(!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:hUe(u.getCharacterList(),gUe(r,i).toList(),s)}),d=s+i;return e.merge({blockMap:o.set(a,l),selectionAfter:t.merge({anchorOffset:d,focusOffset:d})})},yUe=jze.exports.Map;var bUe=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(yUe([[i,o.get(i)]])).map(n);return e.merge({blockMap:o.merge(a),selectionBefore:t,selectionAfter:t})},wUe=kBe,xUe=function(e,t){if(!(e instanceof wUe))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},_Ue=kBe,SUe=xUe,kUe=jze.exports;kUe.List;var CUe=kUe.Map,EUe=function(e,t,n){if(e){var r=t.get(e);r&&t.set(e,n(r))}},IUe=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},OUe=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},TUe=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},NUe=function(e,t,n,r){return e.withMutations((function(i){if(EUe(t.getKey(),i,(function(e){return e.merge({nextSibling:OUe(e,i,r),prevSibling:TUe(e,i,r)})})),EUe(n.getKey(),i,(function(e){return e.merge({nextSibling:OUe(e,i,r),prevSibling:TUe(e,i,r)})})),IUe(t.getKey(),r).forEach((function(e){return EUe(e,i,(function(e){return e.merge({children:e.getChildKeys().filter((function(e){return i.get(e)})),nextSibling:OUe(e,i,r),prevSibling:TUe(e,i,r)})}))})),EUe(t.getNextSiblingKey(),i,(function(e){return e.merge({prevSibling:t.getPrevSiblingKey()})})),EUe(t.getPrevSiblingKey(),i,(function(e){return e.merge({nextSibling:OUe(e,i,r)})})),EUe(n.getNextSiblingKey(),i,(function(e){return e.merge({prevSibling:TUe(e,i,r)})})),EUe(n.getPrevSiblingKey(),i,(function(e){return e.merge({nextSibling:n.getNextSiblingKey()})})),IUe(n.getKey(),r).forEach((function(e){EUe(e,i,(function(e){return e.merge({children:e.getChildKeys().filter((function(e){return i.get(e)})),nextSibling:OUe(e,i,r),prevSibling:TUe(e,i,r)})}))})),function(e,t){var n=[];if(!e)return n;for(var r=SUe(e,t);r&&t.get(r);){var i=t.get(r);n.push(r),r=i.getParentKey()?SUe(i,t):null}return n}(n,r).forEach((function(e){return EUe(e,i,(function(e){return e.merge({nextSibling:OUe(e,i,r),prevSibling:TUe(e,i,r)})}))})),null==e.get(t.getKey())&&null!=e.get(n.getKey())&&n.getParentKey()===t.getKey()&&null==n.getPrevSiblingKey()){var o=t.getPrevSiblingKey();EUe(n.getKey(),i,(function(e){return e.merge({prevSibling:o})})),EUe(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){EUe(e,i,(function(e){return e.merge({parent:s})}))})),null!=s){var u=e.get(s);EUe(s,i,(function(e){return e.merge({children:u.getChildKeys().concat(t.getChildKeys())})}))}EUe(t.getChildKeys().find((function(t){return null===e.get(t).getNextSiblingKey()})),i,(function(e){return e.merge({nextSibling:t.getNextSiblingKey()})}))}}))},DUe=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},PUe=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 _Ue,d=[];if(l){var f=c.getChildKeys(),p=IUe(a,r);c.getNextSiblingKey()&&(d=d.concat(p)),f.isEmpty()||(d=d.concat(p.concat([a]))),d=d.concat(IUe(SUe(c,r),r))}n=u===c?DUe(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()?CUe([[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(CUe([[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=NUe(g,u,c,r)),e.merge({blockMap:g,selectionBefore:t,selectionAfter:t.merge({anchorKey:i,anchorOffset:o,focusKey:i,focusOffset:o,isBackward:!1})})},AUe=kBe,MUe=HBe,jUe=jze.exports,RUe=jBe,LUe=bUe,FUe=jUe.List,zUe=jUe.Map,BUe=function(e,t,n){if(e){var r=t.get(e);r&&t.set(e,n(r))}},UUe=function(e,t){t.isCollapsed()||("production"!==Gs.env.NODE_ENV?RUe(!1,"Selection range must be collapsed."):RUe(!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 LUe(e,t,(function(e){return e.merge({type:"unstyled",depth:0})}))}var s=t.getAnchorOffset(),u=i.getCharacterList(),c=MUe(),l=i instanceof AUe,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:zUe()}),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"!==Gs.env.NODE_ENV?RUe(!1,"ContentBlockNode must not have children"):RUe(!1)),m=function(e,t,n){return e.withMutations((function(e){var r=t.getKey(),i=n.getKey();BUe(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:FUe(o)})})),BUe(t.getNextSiblingKey(),e,(function(e){return e.merge({prevSibling:i})})),BUe(r,e,(function(e){return e.merge({nextSibling:i})})),BUe(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})})},qUe=Yze,VUe=OBe,KUe=PBe,HUe=qBe,WUe=rUe,GUe=pUe,YUe=vUe,QUe=jBe,$Ue=bUe,ZUe=eUe,JUe=PUe,XUe=UUe,eqe=jze.exports.OrderedSet,tqe={replaceText:function(e,t,n,r,i){var o=ZUe(e,t),a=JUe(o,t),s=qUe.create({style:r||eqe(),entity:i||null});return YUe(a,a.getSelectionAfter(),n,s)},insertText:function(e,t,n,r,i){return t.isCollapsed()||("production"!==Gs.env.NODE_ENV?QUe(!1,"Target range must be collapsed for `insertText`."):QUe(!1)),tqe.replaceText(e,t,n,r,i)},moveText:function(e,t,n){var r=WUe(e,t),i=tqe.removeRange(e,t,"backward");return tqe.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=ZUe(e,t),o=JUe(i,t);return GUe(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=HUe(e.getEntityMap(),o,a,t,n);return JUe(e,d)}var f=ZUe(e,t);return JUe(f,t)},splitBlock:function(e,t){var n=ZUe(e,t),r=JUe(n,t);return XUe(r,r.getSelectionAfter())},applyInlineStyle:function(e,t,n){return VUe.add(e,t,n)},removeInlineStyle:function(e,t,n){return VUe.remove(e,t,n)},setBlockType:function(e,t,n){return $Ue(e,t,(function(e){return e.merge({type:n,depth:0})}))},setBlockData:function(e,t,n){return $Ue(e,t,(function(e){return e.merge({data:n})}))},mergeBlockData:function(e,t,n){return $Ue(e,t,(function(e){return e.merge({data:e.getData().merge(n)})}))},applyEntity:function(e,t,n){var r=ZUe(e,t);return KUe(r,t,n)}},nqe=tqe;var rqe=function(e){return Object.keys(e).map((function(t){return e[t]}))};function iqe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var oqe=Qze,aqe=rqe,sqe=jze.exports,uqe=sqe.List,cqe=sqe.Repeat,lqe=sqe.Record,dqe=function(){return!0},fqe=lqe({start:null,end:null}),pqe=lqe({start:null,end:null,decoratorKey:null,leaves:null}),hqe={generate:function(e,t,n){var r=t.getLength();if(!r)return uqe.of(new pqe({start:0,end:0,decoratorKey:null,leaves:uqe.of(new fqe({start:0,end:0}))}));var i=[],o=n?n.getDecorations(t,e):uqe(cqe(null,r)),a=t.getCharacterList();return oqe(o,gqe,dqe,(function(e,t){i.push(new pqe({start:e,end:t,decoratorKey:o.get(e),leaves:mqe(a.slice(e,t).toList(),e)}))})),uqe(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 pqe(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){iqe(e,t,n[t])}))}return e}({},n,{leaves:null!=t?uqe(Array.isArray(t)?t:aqe(t)).map((function(e){return fqe(e)})):null}))}};function mqe(e,t){var n=[],r=e.map((function(e){return e.getStyle()})).toList();return oqe(r,gqe,dqe,(function(e,r){n.push(new fqe({start:e+t,end:r+t}))})),uqe(n)}function gqe(e,t){return e===t}var vqe=hqe;var yqe=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,jze.exports.Record)({type:"TOKEN",mutability:"IMMUTABLE",data:Object})),bqe=yqe;var wqe=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 xqe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var _qe=bqe,Sqe=jBe,kqe=wqe,Cqe=(0,jze.exports.Map)(),Eqe=kqe();function Iqe(e,t){console.warn("WARNING: "+e+' will be deprecated soon!\nPlease use "'+t+'" instead.')}var Oqe={getLastCreatedEntityKey:function(){return Iqe("DraftEntity.getLastCreatedEntityKey","contentState.getLastCreatedEntityKey"),Oqe.__getLastCreatedEntityKey()},create:function(e,t,n){return Iqe("DraftEntity.create","contentState.createEntity"),Oqe.__create(e,t,n)},add:function(e){return Iqe("DraftEntity.add","contentState.addEntity"),Oqe.__add(e)},get:function(e){return Iqe("DraftEntity.get","contentState.getEntity"),Oqe.__get(e)},__getAll:function(){return Cqe},__loadWithEntities:function(e){Cqe=e,Eqe=kqe()},mergeData:function(e,t){return Iqe("DraftEntity.mergeData","contentState.mergeEntityData"),Oqe.__mergeData(e,t)},replaceData:function(e,t){return Iqe("DraftEntity.replaceData","contentState.replaceEntityData"),Oqe.__replaceData(e,t)},__getLastCreatedEntityKey:function(){return Eqe},__create:function(e,t,n){return Oqe.__add(new _qe({type:e,mutability:t,data:n||{}}))},__add:function(e){return Eqe=kqe(),Cqe=Cqe.set(Eqe,e),Eqe},__get:function(e){var t=Cqe.get(e);return t||("production"!==Gs.env.NODE_ENV?Sqe(!1,"Unknown DraftEntity key: %s.",e):Sqe(!1)),t},__mergeData:function(e,t){var n=Oqe.__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){xqe(e,t,n[t])}))}return e}({},n.getData(),t),i=n.set("data",r);return Cqe=Cqe.set(e,i),i},__replaceData:function(e,t){var n=Oqe.__get(e).set("data",t);return Cqe=Cqe.set(e,n),n}},Tqe=Oqe;var Nqe=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,jze.exports.Record)({anchorKey:"",anchorOffset:0,focusKey:"",focusOffset:0,isBackward:!1,hasFocus:!1})),Dqe=Nqe,Pqe=function(e){return!("undefined"==typeof window||!window.__DRAFT_GKX)&&!!window.__DRAFT_GKX[e]},Aqe=new RegExp("\r","g");var Mqe=function(e){return e.replace(Aqe,"")};function jqe(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){Rqe(e,t,n[t])}))}return e}function Rqe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Lqe=Fze,Fqe=Yze,zqe=cBe,Bqe=kBe,Uqe=Tqe,qqe=Dqe,Vqe=HBe,Kqe=rqe,Hqe=Pqe,Wqe=jze.exports,Gqe=Mqe,Yqe=Wqe.List,Qqe=Wqe.Record,$qe=Wqe.Repeat,Zqe=Wqe.Map,Jqe=Wqe.OrderedMap,Xqe=Qqe({entityMap:null,blockMap:null,selectionBefore:null,selectionAfter:null}),eVe=Hqe("draft_tree_data_support")?Bqe:zqe,tVe=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 Uqe},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 Uqe.__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 Uqe.__create(e,t,n),this},i.mergeEntityData=function(e,t){return Uqe.__mergeData(e,t),this},i.replaceEntityData=function(e,t){return Uqe.__replaceData(e,t),this},i.addEntity=function(e){return Uqe.__add(e),this},i.getEntity=function(e){return Uqe.__get(e)},i.getAllEntities=function(){return Uqe.__getAll()},i.loadWithEntities=function(e){return Uqe.__loadWithEntities(e)},r.createFromBlockArray=function(e,t){var n=Array.isArray(e)?e:e.contentBlocks,i=Lqe.createFromArray(n),o=i.isEmpty()?new qqe:qqe.createEmpty(i.first().getKey());return new r({blockMap:i,entityMap:t||Uqe,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=Gqe(e),new eVe({key:Vqe(),text:e,type:"unstyled",characterList:Yqe($qe(Fqe.EMPTY,e.length))})}));return r.createFromBlockArray(i)},r.fromJS=function(e){return new r(jqe({},e,{blockMap:Jqe(e.blockMap).map(r.createContentBlockFromJS),selectionBefore:new qqe(e.selectionBefore),selectionAfter:new qqe(e.selectionAfter)}))},r.createContentBlockFromJS=function(e){var t=e.characterList;return new eVe(jqe({},e,{data:Zqe(e.data),characterList:null!=t?Yqe((Array.isArray(t)?t:Kqe(t)).map((function(e){return Fqe.fromJS(e)}))):void 0}))},r}(Xqe),nVe=tVe,rVe=jBe,iVe=null;function oVe(e){return"LTR"===e||"RTL"===e}function aVe(e){return oVe(e)||("production"!==Gs.env.NODE_ENV?rVe(!1,"`dir` must be a strong direction to be converted to HTML Direction"):rVe(!1)),"LTR"===e?"ltr":"rtl"}function sVe(e){iVe=e}var uVe={NEUTRAL:"NEUTRAL",LTR:"LTR",RTL:"RTL",isStrong:oVe,getHTMLDir:aVe,getHTMLDirIfDifferent:function(e,t){return oVe(e)||("production"!==Gs.env.NODE_ENV?rVe(!1,"`dir` must be a strong direction to be converted to HTML Direction"):rVe(!1)),oVe(t)||("production"!==Gs.env.NODE_ENV?rVe(!1,"`otherDir` must be a strong direction to be converted to HTML Direction"):rVe(!1)),e===t?null:aVe(e)},setGlobalDir:sVe,initGlobalDir:function(){sVe("LTR")},getGlobalDir:function(){return iVe||this.initGlobalDir(),iVe||("production"!==Gs.env.NODE_ENV?rVe(!1,"Global direction not set."):rVe(!1)),iVe}},cVe=uVe,lVe=jBe,dVe="֐־׀׃׆׈-׏א-ת׫-ׯװ-ײ׳-״׵-׿߀-߉ߊ-ߪߴ-ߵߺ߻-߿ࠀ-ࠕࠚࠤࠨ࠮-࠯࠰-࠾࠿ࡀ-ࡘ࡜-࡝࡞࡟-࢟‏יִײַ-ﬨשׁ-זּ﬷טּ-לּ﬽מּ﬿נּ-סּ﭂ףּ-פּ﭅צּ-ﭏ",fVe="؈؋؍؛؜؝؞-؟ؠ-ؿـف-ي٭ٮ-ٯٱ-ۓ۔ەۥ-ۦۮ-ۯۺ-ۼ۽-۾ۿ܀-܍܎܏ܐܒ-ܯ݋-݌ݍ-ޥޱ޲-޿ࢠ-ࢲࢳ-ࣣﭐ-ﮱ﮲-﯁﯂-﯒ﯓ-ﴽ﵀-﵏ﵐ-ﶏ﶐-﶑ﶒ-ﷇ﷈-﷏ﷰ-ﷻ﷼﷾-﷿ﹰ-ﹴ﹵ﹶ-ﻼ﻽-﻾",pVe=new RegExp("["+"A-Za-zªµºÀ-ÖØ-öø-ƺƻƼ-ƿǀ-ǃDŽ-ʓʔʕ-ʯʰ-ʸʻ-ˁː-ˑˠ-ˤˮͰ-ͳͶ-ͷͺͻ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁ҂Ҋ-ԯԱ-Ֆՙ՚-՟ա-և։ःऄ-हऻऽा-ीॉ-ौॎ-ॏॐक़-ॡ।-॥०-९॰ॱॲ-ঀং-ঃঅ-ঌএ-ঐও-নপ-রলশ-হঽা-ীে-ৈো-ৌৎৗড়-ঢ়য়-ৡ০-৯ৰ-ৱ৴-৹৺ਃਅ-ਊਏ-ਐਓ-ਨਪ-ਰਲ-ਲ਼ਵ-ਸ਼ਸ-ਹਾ-ੀਖ਼-ੜਫ਼੦-੯ੲ-ੴઃઅ-ઍએ-ઑઓ-નપ-રલ-ળવ-હઽા-ીૉો-ૌૐૠ-ૡ૦-૯૰ଂ-ଃଅ-ଌଏ-ଐଓ-ନପ-ରଲ-ଳଵ-ହଽାୀେ-ୈୋ-ୌୗଡ଼-ଢ଼ୟ-ୡ୦-୯୰ୱ୲-୷ஃஅ-ஊஎ-ஐஒ-கங-சஜஞ-டண-தந-பம-ஹா-ிு-ூெ-ைொ-ௌௐௗ௦-௯௰-௲ఁ-ఃఅ-ఌఎ-ఐఒ-నప-హఽు-ౄౘ-ౙౠ-ౡ౦-౯౿ಂ-ಃಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽಾಿೀ-ೄೆೇ-ೈೊ-ೋೕ-ೖೞೠ-ೡ೦-೯ೱ-ೲം-ഃഅ-ഌഎ-ഐഒ-ഺഽാ-ീെ-ൈൊ-ൌൎൗൠ-ൡ൦-൯൰-൵൹ൺ-ൿං-ඃඅ-ඖක-නඳ-රලව-ෆා-ෑෘ-ෟ෦-෯ෲ-ෳ෴ก-ะา-ำเ-ๅๆ๏๐-๙๚-๛ກ-ຂຄງ-ຈຊຍດ-ທນ-ຟມ-ຣລວສ-ຫອ-ະາ-ຳຽເ-ໄໆ໐-໙ໜ-ໟༀ༁-༃༄-༒༓༔༕-༗༚-༟༠-༩༪-༳༴༶༸༾-༿ཀ-ཇཉ-ཬཿ྅ྈ-ྌ྾-࿅࿇-࿌࿎-࿏࿐-࿔࿕-࿘࿙-࿚က-ဪါ-ာေးျ-ြဿ၀-၉၊-၏ၐ-ၕၖ-ၗၚ-ၝၡၢ-ၤၥ-ၦၧ-ၭၮ-ၰၵ-ႁႃ-ႄႇ-ႌႎႏ႐-႙ႚ-ႜ႞-႟Ⴀ-ჅჇჍა-ჺ჻ჼჽ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚ፠-፨፩-፼ᎀ-ᎏᎠ-Ᏼᐁ-ᙬ᙭-᙮ᙯ-ᙿᚁ-ᚚᚠ-ᛪ᛫-᛭ᛮ-ᛰᛱ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱ᜵-᜶ᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳាើ-ៅះ-ៈ។-៖ៗ៘-៚ៜ០-៩᠐-᠙ᠠ-ᡂᡃᡄ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᤣ-ᤦᤩ-ᤫᤰ-ᤱᤳ-ᤸ᥆-᥏ᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧀᧁ-ᧇᧈ-ᧉ᧐-᧙᧚ᨀ-ᨖᨙ-ᨚ᨞-᨟ᨠ-ᩔᩕᩗᩡᩣ-ᩤᩭ-ᩲ᪀-᪉᪐-᪙᪠-᪦ᪧ᪨-᪭ᬄᬅ-ᬳᬵᬻᬽ-ᭁᭃ-᭄ᭅ-ᭋ᭐-᭙᭚-᭠᭡-᭪᭴-᭼ᮂᮃ-ᮠᮡᮦ-ᮧ᮪ᮮ-ᮯ᮰-᮹ᮺ-ᯥᯧᯪ-ᯬᯮ᯲-᯳᯼-᯿ᰀ-ᰣᰤ-ᰫᰴ-ᰵ᰻-᰿᱀-᱉ᱍ-ᱏ᱐-᱙ᱚ-ᱷᱸ-ᱽ᱾-᱿᳀-᳇᳓᳡ᳩ-ᳬᳮ-ᳱᳲ-ᳳᳵ-ᳶᴀ-ᴫᴬ-ᵪᵫ-ᵷᵸᵹ-ᶚᶛ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼ‎ⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℴℵ-ℸℹℼ-ℿⅅ-ⅉⅎ⅏Ⅰ-ↂↃ-ↄↅ-ↈ⌶-⍺⎕⒜-ⓩ⚬⠀-⣿Ⰰ-Ⱞⰰ-ⱞⱠ-ⱻⱼ-ⱽⱾ-ⳤⳫ-ⳮⳲ-ⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯ⵰ⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々〆〇〡-〩〮-〯〱-〵〸-〺〻〼ぁ-ゖゝ-ゞゟァ-ヺー-ヾヿㄅ-ㄭㄱ-ㆎ㆐-㆑㆒-㆕㆖-㆟ㆠ-ㆺㇰ-ㇿ㈀-㈜㈠-㈩㈪-㉇㉈-㉏㉠-㉻㉿㊀-㊉㊊-㊰㋀-㋋㋐-㋾㌀-㍶㍻-㏝㏠-㏾㐀-䶵一-鿌ꀀ-ꀔꀕꀖ-ꒌꓐ-ꓷꓸ-ꓽ꓾-꓿ꔀ-ꘋꘌꘐ-ꘟ꘠-꘩ꘪ-ꘫꙀ-ꙭꙮꚀ-ꚛꚜ-ꚝꚠ-ꛥꛦ-ꛯ꛲-꛷Ꜣ-ꝯꝰꝱ-ꞇ꞉-꞊Ꞌ-ꞎꞐ-ꞭꞰ-Ʇꟷꟸ-ꟹꟺꟻ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꠣ-ꠤꠧ꠰-꠵꠶-꠷ꡀ-ꡳꢀ-ꢁꢂ-ꢳꢴ-ꣃ꣎-꣏꣐-꣙ꣲ-ꣷ꣸-꣺ꣻ꤀-꤉ꤊ-ꤥ꤮-꤯ꤰ-ꥆꥒ-꥓꥟ꥠ-ꥼꦃꦄ-ꦲꦴ-ꦵꦺ-ꦻꦽ-꧀꧁-꧍ꧏ꧐-꧙꧞-꧟ꧠ-ꧤꧦꧧ-ꧯ꧰-꧹ꧺ-ꧾꨀ-ꨨꨯ-ꨰꨳ-ꨴꩀ-ꩂꩄ-ꩋꩍ꩐-꩙꩜-꩟ꩠ-ꩯꩰꩱ-ꩶ꩷-꩹ꩺꩻꩽꩾ-ꪯꪱꪵ-ꪶꪹ-ꪽꫀꫂꫛ-ꫜꫝ꫞-꫟ꫠ-ꫪꫫꫮ-ꫯ꫰-꫱ꫲꫳ-ꫴꫵꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚ꭛ꭜ-ꭟꭤ-ꭥꯀ-ꯢꯣ-ꯤꯦ-ꯧꯩ-ꯪ꯫꯬꯰-꯹가-힣ힰ-ퟆퟋ-ퟻ-豈-舘並-龎ff-stﬓ-ﬗA-Za-zヲ-ッーア-ン゙-゚ᅠ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ"+dVe+fVe+"]"),hVe=new RegExp("["+dVe+fVe+"]");function mVe(e){var t=pVe.exec(e);return null==t?null:t[0]}function gVe(e){var t=mVe(e);return null==t?cVe.NEUTRAL:hVe.exec(t)?cVe.RTL:cVe.LTR}function vVe(e,t){if(t=t||cVe.NEUTRAL,!e.length)return t;var n=gVe(e);return n===cVe.NEUTRAL?t:n}function yVe(e,t){return t||(t=cVe.getGlobalDir()),cVe.isStrong(t)||("production"!==Gs.env.NODE_ENV?lVe(!1,"Fallback direction must be a strong direction"):lVe(!1)),vVe(e,t)}var bVe={firstStrongChar:mVe,firstStrongCharDir:gVe,resolveBlockDir:vVe,getDirection:yVe,isDirectionLTR:function(e,t){return yVe(e,t)===cVe.LTR},isDirectionRTL:function(e,t){return yVe(e,t)===cVe.RTL}};function wVe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var xVe,_Ve=bVe,SVe=uVe,kVe=jBe,CVe=function(){function e(e){wVe(this,"_defaultDir",void 0),wVe(this,"_lastDir",void 0),e?SVe.isStrong(e)||("production"!==Gs.env.NODE_ENV?kVe(!1,"Default direction must be a strong direction (LTR or RTL)"):kVe(!1)):e=SVe.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=_Ve.getDirection(e,this._lastDir),this._lastDir},e}(),EVe=function(e){if(null!=e)return e;throw new Error("Got unexpected null or undefined")},IVe=CVe,OVe=jze.exports,TVe=EVe,NVe=OVe.OrderedMap,DVe={getDirectionMap:function(e,t){xVe?xVe.reset():xVe=new IVe;var n=e.getBlockMap(),r=n.valueSeq().map((function(e){return TVe(xVe).getDirection(e.getText())})),i=NVe(n.keySeq().zip(r));return null!=t&&OVe.is(t,i)?t:i}};function PVe(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){AVe(e,t,n[t])}))}return e}function AVe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var MVe=vqe,jVe=nVe,RVe=DVe,LVe=Dqe,FVe=jze.exports,zVe=FVe.OrderedSet,BVe=FVe.Record,UVe=FVe.Stack,qVe=FVe.OrderedMap,VVe=FVe.List,KVe=BVe({allowUndo:!0,currentContent:null,decorator:null,directionMap:null,forceSelection:!1,inCompositionMode:!1,inlineStyleOverride:null,lastChangeType:null,nativelyRenderedContent:null,redoStack:UVe(),selection:null,treeMap:null,undoStack:UVe()}),HVe=function(){t.createEmpty=function(e){return t.createWithContent(jVe.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:UVe(),redoStack:UVe(),decorator:n||null,selection:LVe.createEmpty(r)})},t.create=function(e){var n=e.currentContent,r=PVe({},e,{treeMap:GVe(n,e.decorator),directionMap:RVe.getDirectionMap(n)});return new t(new KVe(r))},t.fromJS=function(e){return new t(new KVe(PVe({},e,{directionMap:null!=e.directionMap?qVe(e.directionMap):e.directionMap,inlineStyleOverride:null!=e.inlineStyleOverride?zVe(e.inlineStyleOverride):e.inlineStyleOverride,nativelyRenderedContent:null!=e.nativelyRenderedContent?jVe.fromJS(e.nativelyRenderedContent):e.nativelyRenderedContent,redoStack:null!=e.redoStack?UVe(e.redoStack.map((function(e){return jVe.fromJS(e)}))):e.redoStack,selection:null!=e.selection?new LVe(e.selection):e.selection,treeMap:null!=e.treeMap?qVe(e.treeMap).map((function(e){return VVe(e).map((function(e){return MVe.fromJS(e)}))})):e.treeMap,undoStack:null!=e.undoStack?UVe(e.undoStack.map((function(e){return jVe.fromJS(e)}))):e.undoStack,currentContent:jVe.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 MVe.generate(e,t,r)})))}(o,o.getBlockMap(),s,i,r):GVe(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 MVe.generate(i,e,r)})))}(e,o.getBlockMap(),o.getEntityMap(),i)),t.merge(n)}));return new t(r)};var e=t.prototype;function t(e){AVe(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 QVe(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 QVe(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 WVe(e,t,!1)},t.forceSelection=function(e,t){return t.getHasFocus()||(t=t.set("hasFocus",!0)),WVe(e,t,!0)},t.moveSelectionToEnd=function(e){var n=e.getCurrentContent().getLastBlock(),r=n.getKey(),i=n.getLength();return t.acceptSelection(e,new LVe({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=RVe.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()||YVe(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:UVe(),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=RVe.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=RVe.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 WVe(e,t,n){return HVe.set(e,{selection:t,forceSelection:n,nativelyRenderedContent:null,inlineStyleOverride:null})}function GVe(e,t){return e.getBlockMap().map((function(n){return MVe.generate(e,n,t)})).toOrderedMap()}function YVe(e,t){return t!==e.getLastChangeType()||"insert-characters"!==t&&"backspace-character"!==t&&"delete-character"!==t}function QVe(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):zVe()}var $Ve=HVe,ZVe=kBe,JVe=xUe,XVe=jze.exports,eKe=jBe,tKe=XVe.OrderedMap,nKe=XVe.List,rKe=function(e,t,n){if(e){var r=t.get(e);r&&t.set(e,n(r))}},iKe=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){rKe(u,e,(function(e){var t=e.getChildKeys();return e.merge({children:t.delete(t.indexOf(a))})})),rKe(l,e,(function(e){return e.merge({nextSibling:c})})),rKe(c,e,(function(e){return e.merge({prevSibling:l})})),rKe(f,e,(function(e){return e.merge({prevSibling:a})})),rKe(p,e,(function(e){return e.merge({nextSibling:a})})),rKe(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:nKe(i)})})),rKe(a,e,(function(e){return e.merge({nextSibling:f,prevSibling:p,parent:d})}))}))},oKe=function(e,t,n,r){"replace"===r&&("production"!==Gs.env.NODE_ENV?eKe(!1,"Replacing blocks is not supported."):eKe(!1));var i=n.getKey(),o=t.getKey();o===i&&("production"!==Gs.env.NODE_ENV?eKe(!1,"Block cannot be moved next to itself."):eKe(!1));var a=e.getBlockMap(),s=t instanceof ZVe,u=[t],c=a.delete(o);s&&(u=[],c=a.withMutations((function(e){var n=t.getNextSiblingKey(),r=JVe(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=tKe();if("before"===r){var h=e.getBlockBefore(i);h&&h.getKey()===t.getKey()&&("production"!==Gs.env.NODE_ENV?eKe(!1,"Block cannot be moved next to itself."):eKe(!1)),p=l.concat([].concat(f,[[i,n]]),d).toOrderedMap()}else if("after"===r){var m=e.getBlockAfter(i);m&&m.getKey()===o&&("production"!==Gs.env.NODE_ENV?eKe(!1,"Block cannot be moved next to itself."):eKe(!1)),p=l.concat([[i,n]].concat(f),d).toOrderedMap()}return e.merge({blockMap:iKe(p,t,n,r,s),selectionBefore:e.getSelectionAfter(),selectionAfter:e.getSelectionAfter().merge({anchorKey:o,focusKey:o})})};function aKe(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){sKe(e,t,n[t])}))}return e}function sKe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var uKe=Fze,cKe=Yze,lKe=cBe,dKe=kBe,fKe=nqe,pKe=$Ve,hKe=HBe,mKe=jze.exports,gKe=oKe,vKe=Pqe("draft_tree_data_support"),yKe=vKe?dKe:lKe,bKe=mKe.List,wKe=mKe.Repeat,xKe={insertAtomicBlock:function(e,t,n){var r=e.getCurrentContent(),i=e.getSelection(),o=fKe.removeRange(r,i,"backward"),a=o.getSelectionAfter(),s=fKe.splitBlock(o,a),u=s.getSelectionAfter(),c=fKe.setBlockType(s,u,"atomic"),l=cKe.create({entity:t}),d={key:hKe(),type:"atomic",text:n,characterList:bKe(wKe(l,n.length))},f={key:hKe(),type:"unstyled"};vKe&&(d=aKe({},d,{nextSibling:f.key}),f=aKe({},f,{prevSibling:d.key}));var p=[new yKe(d),new yKe(f)],h=uKe.createFromArray(p),m=fKe.replaceWithFragment(c,u,h),g=m.merge({selectionBefore:i,selectionAfter:m.getSelectionAfter().set("hasFocus",!0)});return pKe.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=gKe(o,t,s,r)}else{var u=fKe.removeRange(o,n,"backward"),c=u.getSelectionAfter(),l=u.getBlockForKey(c.getFocusKey());if(0===c.getStartOffset())i=gKe(u,t,l,"before");else if(c.getEndOffset()===l.getLength())i=gKe(u,t,l,"after");else{var d=fKe.splitBlock(u,c),f=d.getSelectionAfter(),p=d.getBlockForKey(f.getFocusKey());i=gKe(d,t,p,"before")}}var h=i.merge({selectionBefore:a,selectionAfter:i.getSelectionAfter().set("hasFocus",!0)});return pKe.push(e,h,"move-block")}};var _Ke=jze.exports.List,SKe=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)})),_Ke(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 kKe=SKe;function CKe(e){return e.replace(/\//g,"-")}var EKe=function(e){return"object"==typeof e?Object.keys(e).filter((function(t){return e[t]})).map(CKe).join(" "):Array.prototype.map.call(arguments,CKe).join(" ")},IKe=o,OKe=EKe,TKe=(0,jze.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:IKe.createElement("ul",{className:OKe("public/DraftStyleDefault/ul")})},"ordered-list-item":{element:"li",wrapper:IKe.createElement("ol",{className:OKe("public/DraftStyleDefault/ol")})},blockquote:{element:"blockquote"},atomic:{element:"figure"},"code-block":{element:"pre",wrapper:IKe.createElement("pre",{className:OKe("public/DraftStyleDefault/pre")})},unstyled:{element:"div",aliasedElements:["p"]}}),NKe={BOLD:{fontWeight:"bold"},CODE:{fontFamily:"monospace",wordWrap:"break-word"},ITALIC:{fontStyle:"italic"},STRIKETHROUGH:{textDecoration:"line-through"},UNDERLINE:{textDecoration:"underline"}},DKe={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",P="Sony",A="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,A],[l,m]],[/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[u,/_/g," "],[d,A],[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,P],[l,m]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[u,"Xperia Tablet"],[d,P],[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,P],[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:at)}(DKe,DKe.exports);var PKe="Unknown",AKe={"Mac OS":"Mac OS X"};var MKe=(new(0,DKe.exports)).getResult(),jKe=function(e){if(!e)return{major:"",minor:""};var t=e.split(".");return{major:t[0],minor:t[1]}}(MKe.browser.version),RKe={browserArchitecture:MKe.cpu.architecture||PKe,browserFullVersion:MKe.browser.version||PKe,browserMinorVersion:jKe.minor||PKe,browserName:MKe.browser.name||PKe,browserVersion:MKe.browser.major||PKe,deviceName:MKe.device.model||PKe,engineName:MKe.engine.name||PKe,engineVersion:MKe.engine.version||PKe,platformArchitecture:MKe.cpu.architecture||PKe,platformName:function(e){return AKe[e]||e}(MKe.os.name)||PKe,platformVersion:MKe.os.version||PKe,platformFullVersion:MKe.os.version||PKe},LKe=RKe,FKe=jBe,zKe=/\./,BKe=/\|\|/,UKe=/\s+\-\s+/,qKe=/^(<=|<|=|>=|~>|~|>|)?\s*(.+)/,VKe=/^(\d*)(.*)/;function KKe(e,t){var n=e.split(BKe);return n.length>1?n.some((function(e){return tHe.contains(e,t)})):function(e,t){var n=e.split(UKe);if(n.length>0&&n.length<=2||("production"!==Gs.env.NODE_ENV?FKe(!1,'the "-" operator expects exactly 2 operands'):FKe(!1)),1===n.length)return HKe(n[0],t);var r=n[0],i=n[1];return $Ke(r)&&$Ke(i)||("production"!==Gs.env.NODE_ENV?FKe(!1,'operands to the "-" operator must be simple (no modifiers)'):FKe(!1)),HKe(">="+r,t)&&HKe("<="+i,t)}(e=n[0].trim(),t)}function HKe(e,t){if(""===(e=e.trim()))return!0;var n=t.split(zKe),r=YKe(e),i=r.modifier,o=r.rangeComponents;switch(i){case"<":return WKe(n,o);case"<=":return function(e,t){var n=eHe(e,t);return-1===n||0===n}(n,o);case">=":return GKe(n,o);case">":return function(e,t){return 1===eHe(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);QKe(o)&&(r[i]=o+1+"");return GKe(e,n)&&WKe(e,r)}(n,o);default:return function(e,t){return 0===eHe(e,t)}(n,o)}}function WKe(e,t){return-1===eHe(e,t)}function GKe(e,t){var n=eHe(e,t);return 1===n||0===n}function YKe(e){var t=e.split(zKe),n=t[0].match(qKe);return n||("production"!==Gs.env.NODE_ENV?FKe(!1,"expected regex to match but it did not"):FKe(!1)),{modifier:n[1],rangeComponents:[n[2]].concat(t.slice(1))}}function QKe(e){return!isNaN(e)&&isFinite(e)}function $Ke(e){return!YKe(e).modifier}function ZKe(e,t){for(var n=e.length;n<t;n++)e[n]="0"}function JKe(e,t){var n=e.match(VKe)[1],r=t.match(VKe)[1],i=parseInt(n,10),o=parseInt(r,10);return QKe(i)&&QKe(o)&&i!==o?XKe(i,o):XKe(e,t)}function XKe(e,t){return typeof e!=typeof t&&("production"!==Gs.env.NODE_ENV?FKe(!1,'"a" and "b" must be of the same type'):FKe(!1)),e>t?1:e<t?-1:0}function eHe(e,t){for(var n=function(e,t){ZKe(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 ZKe(t,e.length),[e,t]}(e,t),r=n[0],i=n[1],o=0;o<i.length;o++){var a=JKe(r[o],i[o]);if(a)return a}return 0}var tHe={contains:function(e,t){return KKe(e.trim(),t.trim())}},nHe=tHe,rHe=Object.prototype.hasOwnProperty;var iHe=function(e,t,n){if(!e)return null;var r={};for(var i in e)rHe.call(e,i)&&(r[i]=t.call(n,e[i],i,e));return r};var oHe=function(e){var t={};return function(n){return t.hasOwnProperty(n)||(t[n]=e.call(this,n)),t[n]}},aHe=LKe,sHe=nHe;function uHe(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,sHe.contains(i,t))}function cHe(e){return"Windows"===aHe.platformName?e.replace(/^\s*NT/,""):e}var lHe=iHe({isBrowser:function(e){return uHe(aHe.browserName,aHe.browserFullVersion,e)},isBrowserArchitecture:function(e){return uHe(aHe.browserArchitecture,null,e)},isDevice:function(e){return uHe(aHe.deviceName,null,e)},isEngine:function(e){return uHe(aHe.engineName,aHe.engineVersion,e)},isPlatform:function(e){return uHe(aHe.platformName,aHe.platformFullVersion,e,cHe)},isPlatformArchitecture:function(e){return uHe(aHe.platformArchitecture,null,e)}},oHe);var dHe=function(e){return e&&e.ownerDocument?e.ownerDocument:document};var fHe=function(e){return!(!e||!e.ownerDocument)&&e.nodeType===Node.ELEMENT_NODE},pHe=fHe;var hHe=function e(t){if(pHe(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},mHe=dHe,gHe=hHe;var vHe=function(e){for(var t=e;t&&t!==mHe(e).documentElement;){var n=gHe(t);if(null!=n)return n;t=t.parentNode}return null};var yHe=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView?e.ownerDocument.defaultView:window};function bHe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var wHe=lHe,xHe=vHe,_He=yHe,SHe=jBe,kHe=EVe,CHe=jze.exports.Map,EHe={subtree:!0,characterData:!0,childList:!0,characterDataOldValue:!1,attributes:!1},IHe=wHe.isBrowser("IE <= 11"),OHe=function(){function e(e){var t=this;bHe(this,"observer",void 0),bHe(this,"container",void 0),bHe(this,"mutations",void 0),bHe(this,"onCharData",void 0),this.container=e,this.mutations=CHe();var n=_He(e);n.MutationObserver&&!IHe?this.observer=new n.MutationObserver((function(e){return t.registerMutations(e)})):this.onCharData=function(e){e.target instanceof Node||("production"!==Gs.env.NODE_ENV?SHe(!1,"Expected target to be an instance of Node"):SHe(!1)),t.registerMutation({type:"characterData",target:e.target})}}var t=e.prototype;return t.start=function(){this.observer?this.observer.observe(this.container,EHe):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=CHe(),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 IHe?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=kHe(xHe(e.target));this.mutations=this.mutations.set(n,t)}},e}(),THe={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)}}},NHe={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},DHe={logBlockedSelectionEvent:function(){return null},logSelectionStateFailure:function(){return null}};var PHe=function(e){return!(!e||!e.ownerDocument)&&(e.ownerDocument.defaultView?e instanceof e.ownerDocument.defaultView.HTMLElement:e instanceof HTMLElement)},AHe=jBe,MHe=PHe;var jHe=function(e){var t=e.editorContainer;return t||("production"!==Gs.env.NODE_ENV?AHe(!1,"Missing editorNode"):AHe(!1)),MHe(t.firstChild)||("production"!==Gs.env.NODE_ENV?AHe(!1,"editorNode.firstChild is not an HTMLElement"):AHe(!1)),t.firstChild},RHe=THe,LHe=EVe;var FHe=function(e,t,n,r,i){var o=LHe(e.getSelection());if(!t||!r)return"production"!==Gs.env.NODE_ENV&&console.warn("Invalid selection state.",arguments,e.toJS()),o;var a=RHe.decode(t),s=a.blockKey,u=e.getBlockTree(s),c=u&&u.getIn([a.decoratorKey,"leaves",a.leafKey]),l=RHe.decode(r),d=l.blockKey,f=e.getBlockTree(d),p=f&&f.getIn([l.decoratorKey,"leaves",l.leafKey]);if(!c||!p)return"production"!==Gs.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})},zHe=vHe,BHe=hHe,UHe=FHe,qHe=jBe,VHe=fHe,KHe=EVe;function HHe(e,t,n){var r=t,i=zHe(r);(null!=i||e&&(e===r||e.firstChild===r)||("production"!==Gs.env.NODE_ENV?qHe(!1,"Unknown node in selection range."):qHe(!1)),e===r)&&(r=r.firstChild,VHe(r)||("production"!==Gs.env.NODE_ENV?qHe(!1,"Invalid DraftEditorContents node."):qHe(!1)),"true"!==(r=r).getAttribute("data-contents")&&("production"!==Gs.env.NODE_ENV?qHe(!1,"Invalid DraftEditorContents structure."):qHe(!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&&(VHe(e.firstChild)&&"true"===e.firstChild.getAttribute("data-blocks")||BHe(e.firstChild));)e=e.firstChild;return e}(r);o=KHe(BHe(a))}return{key:o,offset:0}}var s=r.childNodes[n-1],u=null,c=null;if(BHe(s)){var l=function(e){for(;e.lastChild&&(VHe(e.lastChild)&&"true"===e.lastChild.getAttribute("data-blocks")||BHe(e.lastChild));)e=e.lastChild;return e}(s);u=KHe(BHe(l)),c=WHe(l)}else u=KHe(i),c=WHe(s);return{key:u,offset:c}}function WHe(e){var t=e.textContent;return"\n"===t?0:t.length}var GHe=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:UHe(e,KHe(zHe(n)),r,KHe(zHe(i)),o),needsRecovery:!1};var u=null,c=null,l=!0;return a?(u={key:KHe(zHe(n)),offset:r},c=HHe(t,i,o)):s?(c={key:KHe(zHe(i)),offset:o},u=HHe(t,n,r)):(u=HHe(t,n,r),c=HHe(t,i,o),n===i&&r===o&&(l=!!n.firstChild&&"BR"!==n.firstChild.nodeName)),{selectionState:UHe(e,u.key,u.offset,c.key,c.offset),needsRecovery:l}},YHe=GHe;var QHe=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}:YHe(e,t,r,i,o,a)},$He=DHe,ZHe=$Ve,JHe=jHe,XHe=QHe;var eWe=function(e){if(e._blockSelectEvents||e._latestEditorState!==e.props.editorState){if(e._blockSelectEvents){var t=e.props.editorState.getSelection();$He.logBlockedSelectionEvent({anonymizedDom:"N/A",extraParams:JSON.stringify({stacktrace:(new Error).stack}),selectionState:JSON.stringify(t.toJS())})}}else{var n=e.props.editorState,r=XHe(n,JHe(e)),i=r.selectionState;i!==n.getSelection()&&(n=r.needsRecovery?ZHe.forceSelection(n,i):ZHe.acceptSelection(n,i),e.update(n))}};var tWe={notEmptyKey:function(e){return null!=e&&""!=e}},nWe=tWe.notEmptyKey;function rWe(e,t){return nWe(t)&&"MUTABLE"===e.__get(t).getMutability()?t:null}var iWe=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:rWe(e.getEntityMap(),n):null}var o=t.getStartKey(),a=t.getStartOffset(),s=e.getBlockForKey(o);return n=a===s.getLength()?null:s.getEntityAt(a),rWe(e.getEntityMap(),n)},oWe=OHe,aWe=nqe,sWe=THe,uWe=$Ve,cWe=NHe,lWe=jHe,dWe=QHe,fWe=iWe,pWe=EVe,hWe=!1,mWe=!1,gWe=null;var vWe={onCompositionStart:function(e){mWe=!0,function(e){gWe||(gWe=new oWe(lWe(e))).start()}(e)},onCompositionEnd:function(e){hWe=!1,mWe=!1,setTimeout((function(){hWe||vWe.resolveComposition(e)}),20)},onSelect:eWe,onKeyDown:function(e,t){if(!mWe)return vWe.resolveComposition(e),void e._onKeyDown(t);t.which!==cWe.RIGHT&&t.which!==cWe.LEFT||t.preventDefault()},onKeyPress:function(e,t){t.which===cWe.RETURN&&t.preventDefault()},resolveComposition:function(e){if(!mWe){var t=pWe(gWe).stopAndFlushMutations();gWe=null,hWe=!0;var n=uWe.set(e._latestEditorState,{inCompositionMode:!1});if(e.exitCurrentMode(),t.size){var r=n.getCurrentContent();t.forEach((function(e,t){var i=sWe.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=fWe(r,d),p=r.getBlockForKey(o).getInlineStyleAt(c);r=aWe.replaceText(r,d,e,p,f),n=uWe.set(n,{currentContent:r})}));var i=dWe(n,lWe(e)).selectionState;e.restoreEditorDOM();var o=uWe.acceptSelection(n,i);e.update(uWe.push(o,r,"insert-characters"))}else e.update(n)}}},yWe=vWe,bWe=dW;function wWe(){return wWe=bWe||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},wWe.apply(this,arguments)}var xWe=THe,_We=o,SWe=bVe,kWe=uVe,CWe=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=xWe.encode(c,parseInt(o,10),0),h=u.slice(l.first().get("start"),l.last().get("end")),m=kWe.getHTMLDirIfDifferent(SWe.getDirection(h),a);return _We.createElement(d,wWe({},f,{contentState:r,decoratedText:h,dir:m,key:p,entityKey:t.getEntityAt(s.get("start")),offsetKey:p}),n)},r}(_We.Component),EWe=CWe;function IWe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function OWe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var TWe=o,NWe=jBe,DWe=fHe,PWe=lHe.isBrowser("IE <= 11");var AWe=function(e){var t,n;function r(t){var n;return OWe(IWe(n=e.call(this,t)||this),"_forceFlag",void 0),OWe(IWe(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;DWe(t)||("production"!==Gs.env.NODE_ENV?NWe(!1,"node is not an Element"):NWe(!1));var r=t;return n?!function(e){return PWe?"\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},PWe?TWe.createElement("span",{key:"A","data-text":"true",ref:e},"\n"):TWe.createElement("br",{key:"A","data-text":"true",ref:e})):function(e){return PWe?TWe.createElement("span",{key:"B","data-text":"true",ref:e},"\n"):TWe.createElement("br",{key:"B","data-text":"true",ref:e})}((function(e){return t._node=e})):TWe.createElement("span",{key:this._forceFlag?"A":"B","data-text":"true",ref:function(e){return t._node=e}},this.props.children)},r}(TWe.Component),MWe=AWe,jWe=fHe;var RWe=function(e){return!(!e||!e.ownerDocument)&&(jWe(e)&&"BR"===e.nodeName)};var LWe=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 FWe=function(e){return LWe(e)&&3==e.nodeType};var zWe=function e(t,n){return!(!t||!n)&&(t===n||!FWe(t)&&(FWe(n)?e(t,n.parentNode):"contains"in t?t.contains(n):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(n))))};var BWe=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}},UWe=DHe,qWe=zWe,VWe=BWe,KWe=dHe,HWe=jBe,WWe=fHe,GWe=lHe.isBrowser("IE");function YWe(e,t){if(!e)return"[empty]";var n=QWe(e,t);return n.nodeType===Node.TEXT_NODE?n.textContent:(WWe(n)||("production"!==Gs.env.NODE_ENV?HWe(!1,"Node must be an Element if it is not a text node."):HWe(!1)),n.outerHTML)}function QWe(e,t){var n=void 0!==t?t(e):[];if(e.nodeType===Node.TEXT_NODE){var r=e.textContent.length;return KWe(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(QWe(o[a],t));return i}function $We(e,t){for(var n=e,r=n;n;){if(WWe(n)&&r.hasAttribute("contenteditable"))return YWe(n,t);r=n=n.parentNode}return"Could not find contentEditable parent of node"}function ZWe(e){return null===e.nodeValue?e.childNodes.length:e.nodeValue.length}function JWe(e,t,n,r){var i=VWe();if(e.extend&&null!=t&&qWe(i,t)){n>ZWe(t)&&UWe.logSelectionStateFailure({anonymizedDom:$We(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 UWe.logSelectionStateFailure({anonymizedDom:$We(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 XWe(e,t,n,r){var i=KWe(t).createRange();if(n>ZWe(t)&&UWe.logSelectionStateFailure({anonymizedDom:$We(t),extraParams:JSON.stringify({offset:n}),selectionState:JSON.stringify(r.toJS())}),i.setStart(t,n),GWe)try{e.addRange(i)}catch(e){"production"!==Gs.env.NODE_ENV&&console.warn("Call to selection.addRange() threw exception: ",e)}else e.addRange(i)}var eGe=function(e,t,n,r,i){var o=KWe(t);if(qWe(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(),XWe(a,t,u-r,e),void JWe(a,t,l-r,e);if(d){if(m&&(a.removeAllRanges(),XWe(a,t,l-r,e)),h){var g=a.focusNode,v=a.focusOffset;a.removeAllRanges(),XWe(a,t,u-r,e),JWe(a,g,v,e)}}else h&&(a.removeAllRanges(),XWe(a,t,u-r,e)),m&&JWe(a,t,l-r,e)}},tGe=dW;function nGe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rGe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var iGe=MWe,oGe=o,aGe=jBe,sGe=RWe,uGe=eGe,cGe=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 rGe(nGe(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"!==Gs.env.NODE_ENV?aGe(!1,"Missing node"):aGe(!1));var u,c=s.firstChild;c||("production"!==Gs.env.NODE_ENV?aGe(!1,"Missing child"):aGe(!1)),c.nodeType===Node.TEXT_NODE?u=c:sGe(c)?u=s:(u=c.firstChild)||("production"!==Gs.env.NODE_ENV?aGe(!1,"Missing targetNode"):aGe(!1)),uGe(e,u,o,r,a)}}},i.shouldComponentUpdate=function(e){var t=this.leaf;return t||("production"!==Gs.env.NODE_ENV?aGe(!1,"Missing leafNode"):aGe(!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()),tGe(e,r,n)}),{});if(o){var c=o(s,t);u=tGe(u,c)}return oGe.createElement("span",{"data-offset-key":a,ref:function(t){return e.leaf=t},style:u},oGe.createElement(iGe,null,n))},r}(oGe.Component),lGe=cGe;var dGe=EWe,fGe=lGe,pGe=THe,hGe=o,mGe=EKe;jze.exports.List;var gGe=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=pGe.encode(d,l,n),a=e.get("start"),m=e.get("end");return hGe.createElement(fGe,{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?hGe.createElement(dGe,{block:t,children:v,contentState:n,decorator:o,decoratorKey:h,direction:a,leafSet:e,text:f,key:l}):v})).toArray();return hGe.createElement("div",{"data-offset-key":pGe.encode(d,0,0),className:mGe({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":"LTR"===a,"public/DraftStyleDefault/rtl":"RTL"===a})},h)},r}(hGe.Component),vGe=gGe;function yGe(e,t){return!!t&&(e===t.documentElement||e===t.body)}var bGe={getTop:function(e){var t=e.ownerDocument;return yGe(e,t)?t.body.scrollTop||t.documentElement.scrollTop:e.scrollTop},setTop:function(e,t){var n=e.ownerDocument;yGe(e,n)?n.body.scrollTop=n.documentElement.scrollTop=t:e.scrollTop=t},getLeft:function(e){var t=e.ownerDocument;return yGe(e,t)?t.body.scrollLeft||t.documentElement.scrollLeft:e.scrollLeft},setLeft:function(e,t){var n=e.ownerDocument;yGe(e,n)?n.body.scrollLeft=n.documentElement.scrollLeft=t:e.scrollLeft=t}},wGe=bGe,xGe=/-(.)/g;var _Ge=/([A-Z])/g;var SGe=function(e){return e.replace(xGe,(function(e,t){return t.toUpperCase()}))},kGe=function(e){return e.replace(_Ge,"-$1").toLowerCase()};function CGe(e){return null==e?e:String(e)}var EGe=function(e,t){var n;if(window.getComputedStyle&&(n=window.getComputedStyle(e,null)))return CGe(n.getPropertyValue(kGe(t)));if(document.defaultView&&document.defaultView.getComputedStyle){if(n=document.defaultView.getComputedStyle(e,null))return CGe(n.getPropertyValue(kGe(t)));if("display"===t)return"none"}return e.currentStyle?CGe("float"===t?e.currentStyle.cssFloat||e.currentStyle.styleFloat:e.currentStyle[SGe(t)]):CGe(e.style&&e.style[SGe(t)])};function IGe(e,t){var n=OGe.get(e,t);return"auto"===n||"scroll"===n}var OGe={get:EGe,getScrollParent:function(e){if(!e)return null;for(var t=e.ownerDocument;e&&e!==t.body;){if(IGe(e,"overflow")||IGe(e,"overflowY")||IGe(e,"overflowX"))return e;e=e.parentNode}return t.defaultView||t.parentWindow}},TGe=OGe,NGe=zWe;var DGe=function(e){var t=e.ownerDocument.documentElement;if(!("getBoundingClientRect"in e)||!NGe(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 PGe=function(e){var t=DGe(e);return{x:t.left,y:t.top,width:t.right-t.left,height:t.bottom-t.top}},AGe="undefined"!=typeof navigator&&navigator.userAgent.indexOf("AppleWebKit")>-1;var MGe=function(e){return(e=e||document).scrollingElement?e.scrollingElement:AGe||"CSS1Compat"!==e.compatMode?e.body:e.documentElement};var jGe=MGe,RGe=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 LGe=function(e){var t=jGe(e.ownerDocument||e.document);e.Window&&e instanceof e.Window&&(e=t);var n=RGe(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 FGe(){var e;return document.documentElement&&(e=document.documentElement.clientWidth),!e&&document.body&&(e=document.body.clientWidth),e||0}function zGe(){var e;return document.documentElement&&(e=document.documentElement.clientHeight),!e&&document.body&&(e=document.body.clientHeight),e||0}function BGe(){return{width:window.innerWidth||FGe(),height:window.innerHeight||zGe()}}BGe.withoutScrollbars=function(){return{width:FGe(),height:zGe()}};var UGe=BGe,qGe=dW;function VGe(){return VGe=qGe||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},VGe.apply(this,arguments)}function KGe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HGe(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){WGe(e,t,n[t])}))}return e}function WGe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var GGe=vGe,YGe=THe,QGe=o,$Ge=wGe,ZGe=TGe,JGe=PGe,XGe=LGe,eYe=UGe,tYe=jBe,nYe=PHe;jze.exports.List;var rYe=function(e,t){return e.getAnchorKey()===t||e.getFocusKey()===t},iYe=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}},oYe=function(e,t){var n=t(e);return n?{CustomComponent:n.component,customProps:n.props,customEditable:n.editable}:{}},aYe=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=HGe({},a,{contentEditable:i.customEditable,suppressContentEditableWarning:!0})),a},sYe=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 WGe(KGe(t=e.call.apply(e,[this].concat(r))||this),"wrapperRef",QGe.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||rYe(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=ZGe.getScrollParent(n),o=XGe(i);if(i===window){var a=JGe(n);(r=a.y+a.height-eYe().height)>0&&window.scrollTo(o.x,o.y+r+10)}else{nYe(n)||("production"!==Gs.env.NODE_ENV?tYe(!1,"blockNode is not an HTMLElement"):tYe(!1));var s=n;(r=s.offsetHeight+s.offsetTop-(i.offsetHeight+o.y))>0&&$Ge.setTop(i,$Ge.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=YGe.encode(n,0,0),d=s.getBlockForKey(n),f=oYe(d,o),p=f.CustomComponent||r,h=iYe(d,i),m=h.Element,g=h.wrapperTemplate,v=aYe(d,c,u,a,f,null),y=HGe({},e.props,{tree:l.getBlockTree(n),blockProps:f.customProps,offsetKey:u,block:d});return t.push(QGe.createElement(m,v,QGe.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(QGe.cloneElement(e,{key:"".concat(d,"-wrap"),"data-offset-key":YGe.encode(d,0,0)},l))}(g,m,t),t}),[]));var y=n.getKey(),b=YGe.encode(y,0,0),w=oYe(n,o),x=w.CustomComponent,_=null!=x?QGe.createElement(x,VGe({},this.props,{tree:l.getBlockTree(y),blockProps:w.customProps,offsetKey:b,block:n})):QGe.createElement(GGe,{block:n,children:v,contentState:s,customStyleFn:d,customStyleMap:f,decorator:u,direction:p,forceSelection:h,hasSelection:rYe(m,y),selection:m,tree:g});if(n.getParentKey())return _;var S=iYe(n,i).Element,k=aYe(n,c,b,a,w,this.wrapperRef);return QGe.createElement(S,k,_)},r}(QGe.Component),uYe=dW;function cYe(){return cYe=uYe||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},cYe.apply(this,arguments)}var lYe=sYe,dYe=THe,fYe=o,pYe=EVe,hYe=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=pYe(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:fYe.createElement(lYe,cYe({key:g},v)),wrapperTemplate:y,key:g,offsetKey:dYe.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=fYe.cloneElement(_.wrapperTemplate,{key:_.key+"-wrap","data-offset-key":_.offsetKey},S);w.push(k)}else w.push(_.block),x++}return fYe.createElement("div",{"data-contents":"true"},w)},r}(fYe.Component),mYe=hYe,gYe=dW;function vYe(){return vYe=gYe||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},vYe.apply(this,arguments)}function yYe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bYe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var wYe=lGe,xYe=THe,_Ye=o,SYe=wGe,kYe=TGe,CYe=bVe,EYe=uVe,IYe=EKe,OYe=PGe,TYe=LGe,NYe=UGe,DYe=jBe,PYe=PHe,AYe=EVe,MYe=function(e,t){return e.getAnchorKey()===t||e.getFocusKey()===t},jYe=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 bYe(yYe(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||MYe(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=kYe.getScrollParent(n),o=TYe(i);if(i===window){var a=OYe(n);(r=a.y+a.height-NYe().height)>0&&window.scrollTo(o.x,o.y+r+10)}else{PYe(n)||("production"!==Gs.env.NODE_ENV?DYe(!1,"blockNode is not an HTMLElement"):DYe(!1)),(r=n.offsetHeight+n.offsetTop-(i.offsetTop+i.offsetHeight+o.y))>0&&SYe.setTop(i,SYe.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=MYe(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=xYe.encode(n,s,u),d=a.get("start"),f=a.get("end");return _Ye.createElement(wYe,{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=AYe(e.props.decorator),p=f.getComponentForKey(d);if(!p)return l;var h=f.getPropsForKey(d),m=xYe.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=EYe.getHTMLDirIfDifferent(CYe.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 _Ye.createElement(p,vYe({},h,x,{key:m}),l)})).toArray()},i.render=function(){var e=this,t=this.props,n=t.direction,r=t.offsetKey,i=IYe({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":"LTR"===n,"public/DraftStyleDefault/rtl":"RTL"===n});return _Ye.createElement("div",{"data-offset-key":r,className:i,ref:function(t){return e._node=t}},this._renderChildren())},r}(_Ye.Component),RYe=jYe;var LYe=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},FYe=dW;function zYe(){return zYe=FYe||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},zYe.apply(this,arguments)}function BYe(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){UYe(e,t,n[t])}))}return e}function UYe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var qYe=RYe,VYe=THe,KYe=o,HYe=EKe,WYe=LYe,GYe=EVe,YYe=function(e,t,n,r){return HYe({"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})},QYe=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=GYe(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=VYe.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,P=N.element||t.get("unstyled").element,A=w.getDepth(),M="";if(r&&(M=r(w)),"li"===P)M=WYe(M,YYe(_,A,y!==D||null===v||A>v,I));var j=k||qYe,R={className:M,"data-block":!0,"data-editor":s,"data-offset-key":O,key:x};void 0!==E&&(R=BYe({},R,{contentEditable:E,suppressContentEditableWarning:!0}));var L=KYe.createElement(P,R,KYe.createElement(j,zYe({},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=KYe.cloneElement(B.wrapperTemplate,{key:B.key+"-wrap","data-offset-key":B.offsetKey},U);F.push(q)}else F.push(B.block),z++}return KYe.createElement("div",{"data-contents":"true"},F)},r}(KYe.Component),$Ye=QYe,ZYe=Pqe("draft_tree_data_support")?mYe:$Ye,JYe={isImage:function(e){return"image"===XYe(e)[0]},isJpeg:function(e){var t=XYe(e);return JYe.isImage(e)&&("jpeg"===t[1]||"pjpeg"===t[1])}};function XYe(e){return e.split("/")}var eQe=JYe,tQe=jBe;var nQe=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"!==Gs.env.NODE_ENV?tQe(!1,"toArray: Array-like object expected"):tQe(!1)),"number"!=typeof t&&("production"!==Gs.env.NODE_ENV?tQe(!1,"toArray: Object needs a length property"):tQe(!1)),0===t||t-1 in e||("production"!==Gs.env.NODE_ENV?tQe(!1,"toArray: Object should have keys for indices"):tQe(!1)),"function"==typeof e.callee&&("production"!==Gs.env.NODE_ENV?tQe(!1,"toArray: Object can't be `arguments`. Use rest params (function(...args) {}) or Array.from() instead."):tQe(!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 rQe(e){return function(){return e}}var iQe=function(){};iQe.thatReturns=rQe,iQe.thatReturnsFalse=rQe(!1),iQe.thatReturnsTrue=rQe(!0),iQe.thatReturnsNull=rQe(null),iQe.thatReturnsThis=function(){return this},iQe.thatReturnsArgument=function(e){return e};var oQe=iQe,aQe=eQe,sQe=nQe,uQe=oQe,cQe=new RegExp("\r\n","g"),lQe={"text/rtf":1,"text/html":1};function dQe(e){if("file"==e.kind)return e.getAsFile()}var fQe=function(){function e(e){this.data=e,this.types=e.types?sQe(e.types):[]}var t=e.prototype;return t.isRichText=function(){return!(!this.getHTML()||!this.getText())||!this.isImage()&&this.types.some((function(e){return lQe[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(cQe,"\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(!aQe.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(dQe).filter(uQe.thatReturnsArgument):this.data.files?Array.prototype.slice.call(this.data.files):[]},t.hasFiles=function(){return this.getFiles().length>0},e}(),pQe=fQe,hQe=jBe,mQe=/\.textClipping$/,gQe={"text/plain":!0,"text/html":!0,"text/rtf":!0};var vQe=function(e,t){var n=0,r=[];e.forEach((function(i){!function(e,t){if(!at.FileReader||e.type&&!(e.type in gQe))return void t("");if(""===e.type){var n="";return mQe.test(e.name)&&(n=e.name.replace(mQe,"")),void t(n)}var r=new FileReader;r.onload=function(){var e=r.result;"string"!=typeof e&&("production"!==Gs.env.NODE_ENV?hQe(!1,'We should be calling "FileReader.readAsText" which returns a string'):hQe(!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 yQe=function(e){return"handled"===e||!0===e},bQe=pQe,wQe=nqe,xQe=$Ve,_Qe=vHe,SQe=dHe,kQe=vQe,CQe=FHe,EQe=yHe,IQe=yQe,OQe=EVe;var TQe={onDragEnd:function(e){e.exitCurrentMode(),NQe(e)},onDrop:function(e,t){var n=new bQe(t.nativeEvent.dataTransfer),r=e._latestEditorState,i=function(e,t){var n=null,r=null,i=SQe(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=OQe(n),r=OQe(r);var a=OQe(_Qe(n));return CQe(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&&IQe(e.props.handleDroppedFiles(i,o)))return;kQe(o,(function(t){t&&e.update(DQe(r,i,t))}))}else{var a=e._internalDrag?"internal":"external";e.props.handleDrop&&IQe(e.props.handleDrop(i,n,a))||(e._internalDrag?e.update(function(e,t){var n=wQe.moveText(e.getCurrentContent(),e.getSelection(),t);return xQe.push(e,n,"insert-fragment")}(r,i)):e.update(DQe(r,i,n.getText()))),NQe(e)}}}};function NQe(e){e._internalDrag=!1;var t=e.editorContainer;if(t){var n=new MouseEvent("mouseup",{view:EQe(t),bubbles:!0,cancelable:!0});t.dispatchEvent(n)}}function DQe(e,t,n){var r=wQe.insertText(e.getCurrentContent(),t,n,e.getCurrentInlineStyle());return xQe.push(e,r,"insert-fragment")}var PQe=TQe;var AQe=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){Gs.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?at:self);var MQe=at.setImmediate,jQe=nqe,RQe=$Ve,LQe=iWe,FQe=yQe,zQe=AQe,BQe=EVe,UQe=MQe,qQe=lHe.isBrowser("Firefox");function VQe(e,t,n,r,i){var o=jQe.replaceText(e.getCurrentContent(),e.getSelection(),t,n,r);return RQe.push(e,o,"insert-characters",i)}var KQe=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&&FQe(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(VQe(n,r,n.getCurrentInlineStyle(),LQe(n.getCurrentContent(),n.getSelection()),!0));var s,u=VQe(n,r,n.getCurrentInlineStyle(),LQe(n.getCurrentContent(),n.getSelection()),!1),c=!1;if(c||(c=zQe(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=qQe&&("'"==s||"/"==s)),c||(c=BQe(u.getDirectionMap()).get(a)!==BQe(n.getDirectionMap()).get(a)),c)return t.preventDefault(),u=RQe.set(u,{forceSelection:!0}),void e.update(u);u=RQe.set(u,{nativelyRenderedContent:u.getCurrentContent()}),e._pendingStateFromBeforeInput=u,UQe((function(){void 0!==e._pendingStateFromBeforeInput&&(e.update(e._pendingStateFromBeforeInput),e._pendingStateFromBeforeInput=void 0)}))}},HQe=$Ve,WQe=zWe,GQe=BWe;var YQe=function(e,t){var n=t.currentTarget.ownerDocument;if(!Boolean(e.props.preserveSelectionOnBlur)&&GQe(n)===n.body){var r=n.defaultView.getSelection(),i=e.editor;1===r.rangeCount&&WQe(i,r.anchorNode)&&WQe(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(HQe.acceptSelection(o,s))}},QQe=$Ve;var $Qe=function(e,t){e.setMode("composite"),e.update(QQe.set(e._latestEditorState,{inCompositionMode:!0})),e._onCompositionStart(t)},ZQe=rUe;var JQe=function(e){var t=e.getSelection();return t.isCollapsed()?null:ZQe(e.getCurrentContent(),t)},XQe=JQe;var e$e=function(e,t){e._latestEditorState.getSelection().isCollapsed()?t.preventDefault():e.setClipboard(XQe(e._latestEditorState))};var t$e=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},n$e=nqe,r$e=$Ve,i$e=TGe,o$e=JQe,a$e=LGe,s$e=t$e;var u$e=function(e,t){var n,r=e._latestEditorState,i=r.getSelection(),o=t.target;if(i.isCollapsed())t.preventDefault();else{if(s$e(o)){var a=o;n=a$e(i$e.getScrollParent(a))}var s=o$e(r);e.setClipboard(s),e.setMode("cut"),setTimeout((function(){e.restoreEditorDOM(n),e.exitCurrentMode(),e.update(function(e){var t=n$e.removeRange(e.getCurrentContent(),e.getSelection(),"forward");return r$e.push(e,t,"remove-range")}(r))}),0)}};var c$e=function(e,t){e.setMode("drag"),t.preventDefault()};var l$e=function(e){e._internalDrag=!0,e.setMode("drag")},d$e=$Ve,f$e=lHe;var p$e=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),f$e.isBrowser("Chrome < 60.0.3081.0")?e.update(d$e.forceSelection(n,i)):e.update(d$e.acceptSelection(n,i))}},h$e=jBe,m$e=/[\uD800-\uDFFF]/;function g$e(e){return 55296<=e&&e<=57343}function v$e(e){return m$e.test(e)}function y$e(e,t){return 1+g$e(e.charCodeAt(t))}function b$e(e,t,n){if(t=t||0,n=void 0===n?1/0:n||0,!v$e(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+=y$e(e,i);if(i>=r)return""}else if(t<0){for(i=r;t<0&&0<i;t++)i-=y$e(e,i-1);i<0&&(i=0)}var o=r;if(n<r)for(o=i;n>0&&o<r;n--)o+=y$e(e,o);return e.substring(i,o)}var w$e={getCodePoints:function(e){for(var t=[],n=0;n<e.length;n+=y$e(e,n))t.push(e.codePointAt(n));return t},getUTF16Length:y$e,hasSurrogateUnit:v$e,isCodeUnitInSurrogateRange:g$e,isSurrogatePair:function(e,t){if(0<=t&&t<e.length||("production"!==Gs.env.NODE_ENV?h$e(!1,"isSurrogatePair: Invalid index %s for string length %s.",t,e.length):h$e(!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(!v$e(e))return e.length;for(var t=0,n=0;n<e.length;n+=y$e(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 b$e(e,t=t<n?t:n,r)},substr:b$e},x$e=w$e,_$e=oQe;function S$e(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 k$e="production"!==Gs.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];S$e.apply(void 0,[t].concat(r))}}:_$e,C$e=k$e,E$e=C$e;var I$e=function(e,t){var n=e.getSelection();"production"!==Gs.env.NODE_ENV&&E$e(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})},O$e=nqe,T$e=Pqe("draft_tree_data_support");var N$e=function(e,t,n){var r=e.getSelection(),i=e.getCurrentContent(),o=r,a=r.getAnchorKey(),s=r.getFocusKey(),u=i.getBlockForKey(a);if(T$e&&"forward"===n&&a!==s)return i;if(r.isCollapsed()){if("forward"===n){if(e.isSelectionAtEndOfContent())return i;if(T$e)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 O$e.removeRange(i,o,n)},D$e=$Ve,P$e=x$e,A$e=I$e,M$e=N$e;var j$e=function(e){var t=M$e(e,(function(e){var t=e.getSelection(),n=e.getCurrentContent(),r=t.getAnchorKey(),i=t.getAnchorOffset(),o=n.getBlockForKey(r).getText()[i-1];return A$e(e,o?P$e.getUTF16Length(o,0):1)}),"backward");if(t===e.getCurrentContent())return e;var n=e.getSelection();return D$e.push(e,t.set("selectionBefore",n),n.isCollapsed()?"backspace-character":"remove-range")},R$e=nqe,L$e=THe,F$e=$Ve,z$e=tWe.notEmptyKey,B$e=vHe,U$e=j$e,q$e=EVe,V$e=lHe.isEngine("Gecko");var K$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=q$e(B$e(r)),d=L$e.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=z$e(I)?y.getEntity(I):null,T="MUTABLE"===(null!=O?O.getMutability():null),N=T?"spellcheck-change":"apply-entity",D=R$e.replaceText(y,E,u,b.getInlineStyleAt(g),T?b.getEntityAt(g):null);if(V$e)x=n.anchorOffset,_=n.focusOffset,k=(S=g+Math.min(x,_))+Math.abs(x-_),x=S,_=k;else{var P=u.length-w.length;S=C.getStartOffset(),k=C.getEndOffset(),x=i?k+P:S,_=k+P}var A=D.merge({selectionBefore:y.getSelectionAfter(),selectionAfter:C.merge({anchorOffset:x,focusOffset:_})});e.update(F$e.push(c,A,N))}else{var M=t.nativeEvent.inputType;if(M){var j=function(e,t){return"deleteContentBackward"===e?U$e(t):t}(M,c);if(j!==c)return e.restoreEditorDOM(),void e.update(j)}}}},H$e=NHe;var W$e=function(e){return e.which===H$e.RETURN&&(e.getModifierState("Shift")||e.getModifierState("Alt")||e.getModifierState("Control"))},G$e=W$e,Y$e=lHe.isPlatform("Mac OS X"),Q$e={isCtrlKeyCommand:function(e){return!!e.ctrlKey&&!e.altKey},isOptionKeyCommand:function(e){return Y$e&&e.altKey},usesMacOSHeuristics:function(){return Y$e},hasCommandModifier:function(e){return Y$e?!!e.metaKey&&!e.altKey:Q$e.isCtrlKeyCommand(e)},isSoftNewlineEvent:G$e},$$e=Q$e,Z$e=nqe,J$e=$Ve,X$e=rUe,eZe=EVe,tZe=null,nZe={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=eZe(r),tZe=X$e(t,r);var s=Z$e.removeRange(t,r,"forward");return s===t?e:J$e.push(e,s,"remove-range")},paste:function(e){if(!tZe)return e;var t=Z$e.replaceWithFragment(e.getCurrentContent(),e.getSelection(),tZe);return J$e.push(e,t,"insert-fragment")}},rZe=jBe;var iZe=lHe.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"!==Gs.env.NODE_ENV?rZe(!1,"Found an unexpected detached subtree when getting range client rects."):rZe(!1)}:function(e){return Array.from(e.getClientRects())},oZe=x$e,aZe=dHe,sZe=iZe,uZe=jBe;function cZe(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 lZe(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 dZe=$Ve,fZe=function(e){e.collapsed||("production"!==Gs.env.NODE_ENV?uZe(!1,"expandRangeToStartOfLine: Provided range is not collapsed."):uZe(!1));var t=(e=e.cloneRange()).startContainer;1!==t.nodeType&&(t=t.parentNode);var n=function(e){var t=getComputedStyle(e),n=aZe(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"!==Gs.env.NODE_ENV?uZe(!1,"Missing document.body"):uZe(!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);cZe(sZe(e),n)&&(r=e.startContainer,i=e.startOffset,r.parentNode||("production"!==Gs.env.NODE_ENV?uZe(!1,"Found unexpected detached subtree when traversing."):uZe(!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&&oZe.isSurrogatePair(s,u-1))){if(e.setStart(o,u),!cZe(sZe(e),n))break;r=o,i=u}if(-1===u||0===o.childNodes.length)break;a=lZe(o=o.childNodes[u])}return e.setStart(r,i),e},pZe=GHe,hZe=I$e,mZe=N$e;var gZe=function(e,t){var n=mZe(e,(function(e){var n=e.getSelection();if(n.isCollapsed()&&0===n.getAnchorOffset())return hZe(e,1);var r=t.currentTarget.ownerDocument.defaultView.getSelection().getRangeAt(0);return r=fZe(r),pZe(e,null,r.endContainer,r.endOffset,r.startContainer,r.startOffset).selectionState}),"backward");return n===e.getCurrentContent()?e:dZe.push(e,n,"remove-range")},vZe="\\s|(?![_])"+{getPunctuation:function(){return"[.,+*?$|#{}()'\\^\\-\\[\\]\\\\\\/!@%\"~=<>_:;・、。〈-】〔-〟:-?!-/[-`{-・⸮؟٪-٬؛،؍﴾﴿᠁।၊။‐-‧‰-⁞¡-±´-¸º»¿]"}}.getPunctuation(),yZe=new RegExp("^(?:"+vZe+")*(?:['‘’]|(?!"+vZe+").)*(?:(?!"+vZe+").)"),bZe=new RegExp("(?:(?!"+vZe+").)(?:['‘’]|(?!"+vZe+").)*(?:"+vZe+")*$");function wZe(e,t){var n=t?bZe.exec(e):yZe.exec(e);return n?n[0]:e}var xZe={getBackward:function(e){return wZe(e,!0)},getForward:function(e){return wZe(e,!1)}},_Ze=xZe,SZe=$Ve,kZe=I$e,CZe=N$e;var EZe=C$e;var IZe=function(e,t){var n=e.getSelection();"production"!==Gs.env.NODE_ENV&&EZe(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})},OZe=xZe,TZe=$Ve,NZe=IZe,DZe=N$e;var PZe=nqe,AZe=$Ve;var MZe=$Ve;var jZe=$Ve;var RZe=$Ve,LZe=x$e,FZe=IZe,zZe=N$e;var BZe=nqe,UZe=$Ve,qZe=rUe;var VZe=$Ve;var KZe=function(e,t,n){var r=VZe.undo(t);if("spellcheck-change"!==t.getLastChangeType())e.preventDefault(),t.getNativelyRenderedContent()?(n(VZe.set(t,{nativelyRenderedContent:null})),setTimeout((function(){n(r)}),0)):n(r);else{var i=r.getCurrentContent();n(VZe.set(r,{nativelyRenderedContent:i}))}},HZe=nqe,WZe=$Ve,GZe=NHe,YZe=nZe,QZe=lHe,$Ze=yQe,ZZe=gZe,JZe=function(e){var t=CZe(e,(function(e){var t=e.getSelection(),n=t.getStartOffset();if(0===n)return kZe(e,1);var r=t.getStartKey(),i=e.getCurrentContent().getBlockForKey(r).getText().slice(0,n),o=_Ze.getBackward(i);return kZe(e,o.length||1)}),"backward");return t===e.getCurrentContent()?e:SZe.push(e,t,"remove-range")},XZe=function(e){var t=DZe(e,(function(e){var t=e.getSelection(),n=t.getStartOffset(),r=t.getStartKey(),i=e.getCurrentContent().getBlockForKey(r).getText().slice(n),o=OZe.getForward(i);return NZe(e,o.length||1)}),"forward");return t===e.getCurrentContent()?e:TZe.push(e,t,"remove-range")},eJe=function(e){var t=PZe.splitBlock(e.getCurrentContent(),e.getSelection());return AZe.push(e,t,"split-block")},tJe=function(e){var t=e.getSelection(),n=t.getEndKey(),r=e.getCurrentContent().getBlockForKey(n).getLength();return MZe.set(e,{selection:t.merge({anchorKey:n,anchorOffset:r,focusKey:n,focusOffset:r,isBackward:!1}),forceSelection:!0})},nJe=function(e){var t=e.getSelection(),n=t.getStartKey();return jZe.set(e,{selection:t.merge({anchorKey:n,anchorOffset:0,focusKey:n,focusOffset:0,isBackward:!1}),forceSelection:!0})},rJe=j$e,iJe=function(e){var t=zZe(e,(function(e){var t=e.getSelection(),n=e.getCurrentContent(),r=t.getAnchorKey(),i=t.getAnchorOffset(),o=n.getBlockForKey(r).getText()[i];return FZe(e,o?LZe.getUTF16Length(o,0):1)}),"forward");if(t===e.getCurrentContent())return e;var n=e.getSelection();return RZe.push(e,t.set("selectionBefore",n),n.isCollapsed()?"delete-character":"remove-range")},oJe=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=qZe(a,r),c=BZe.removeRange(a,r,"backward"),l=c.getSelectionAfter(),d=l.getAnchorOffset()-1,f=l.merge({anchorOffset:d,focusOffset:d}),p=BZe.replaceWithFragment(c,f,u),h=UZe.push(e,p,"insert-fragment");return UZe.acceptSelection(h,i)},aJe=KZe,sJe=$$e.isOptionKeyCommand,uJe=QZe.isBrowser("Chrome");var cJe=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 GZe.RETURN:if(t.preventDefault(),e.props.handleReturn&&$Ze(e.props.handleReturn(t,r)))return;break;case GZe.ESC:if(t.preventDefault(),i("onEscape"))return;break;case GZe.TAB:if(i("onTab"))return;break;case GZe.UP:if(i("onUpArrow"))return;break;case GZe.RIGHT:if(i("onRightArrow"))return;break;case GZe.DOWN:if(i("onDownArrow"))return;break;case GZe.LEFT:if(i("onLeftArrow"))return;break;case GZe.SPACE:uJe&&sJe(t)&&t.preventDefault()}var o=e.props.keyBindingFn(t);if(null!=o&&""!==o)if("undo"!==o){if(t.preventDefault(),!e.props.handleKeyCommand||!$Ze(e.props.handleKeyCommand(o,r,t.timeStamp))){var a=function(e,t,n){switch(e){case"redo":return WZe.redo(t);case"delete":return iJe(t);case"delete-word":return XZe(t);case"backspace":return rJe(t);case"backspace-word":return JZe(t);case"backspace-to-start-of-line":return ZZe(t,n);case"split-block":return eJe(t);case"transpose-characters":return oJe(t);case"move-selection-to-start-of-block":return nJe(t);case"move-selection-to-end-of-block":return tJe(t);case"secondary-cut":return YZe.cut(t);case"secondary-paste":return YZe.paste(t);default:return t}}(o,r,t);a!==r&&e.update(a)}}else aJe(t,r,e.update);else if(n===GZe.SPACE&&uJe&&sJe(t)){var s=HZe.replaceText(r.getCurrentContent(),r.getSelection()," ");e.update(WZe.push(r,s,"insert-characters"))}};var lJe=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}(),dJe=lJe,fJe=jBe,pJe=lHe.isBrowser("IE <= 9");var hJe=function(e){var t,n=null;return!pJe&&document.implementation&&document.implementation.createHTMLDocument&&((t=document.implementation.createHTMLDocument("foo")).documentElement||("production"!==Gs.env.NODE_ENV?fJe(!1,"Missing doc.documentElement"):fJe(!1)),t.documentElement.innerHTML=e,n=t.getElementsByTagName("body")[0]),n},mJe=fHe;var gJe=function(e){return!(!e||!e.ownerDocument)&&(mJe(e)&&"A"===e.nodeName)},vJe=fHe;var yJe,bJe=function(e){return!(!e||!e.ownerDocument)&&(vJe(e)&&"IMG"===e.nodeName)};function wJe(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){xJe(e,t,n[t])}))}return e}function xJe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var _Je=Yze,SJe=cBe,kJe=kBe,CJe=TKe,EJe=Tqe,IJe=dJe,OJe=EKe,TJe=HBe,NJe=hJe,DJe=Pqe,PJe=jze.exports,AJe=PJe.List,MJe=PJe.Map,jJe=PJe.OrderedSet,RJe=gJe,LJe=RWe,FJe=PHe,zJe=bJe,BJe=DJe("draft_tree_data_support"),UJe=new RegExp("\r","g"),qJe=new RegExp("\n","g"),VJe=new RegExp("^\n","g"),KJe=new RegExp("&nbsp;","g"),HJe=new RegExp("&#13;?","g"),WJe=new RegExp("&#8203;?","g"),GJe=["bold","bolder","500","600","700","800","900"],YJe=["light","lighter","normal","100","200","300","400"],QJe=["className","href","rel","target","title"],$Je=["alt","className","height","src","width"],ZJe=(xJe(yJe={},OJe("public/DraftStyleDefault/depth0"),0),xJe(yJe,OJe("public/DraftStyleDefault/depth1"),1),xJe(yJe,OJe("public/DraftStyleDefault/depth2"),2),xJe(yJe,OJe("public/DraftStyleDefault/depth3"),3),xJe(yJe,OJe("public/DraftStyleDefault/depth4"),4),yJe),JJe=MJe({b:"BOLD",code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",i:"ITALIC",s:"STRIKETHROUGH",strike:"STRIKETHROUGH",strong:"BOLD",u:"UNDERLINE",mark:"HIGHLIGHT"}),XJe=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)}))})),MJe(t)},eXe=function(e){if(FJe(e)&&e.style.fontFamily.includes("monospace"))return"CODE";return null},tXe=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Object.keys(ZJe).some((function(n){e.classList.contains(n)&&(t=ZJe[n])})),t},nXe=function(e){if(!RJe(e))return!1;var t=e;return!(!t.href||"http:"!==t.protocol&&"https:"!==t.protocol&&"mailto:"!==t.protocol&&"tel:"!==t.protocol)},rXe=function(e){if(!zJe(e))return!1;var t=e;return!(!t.attributes.getNamedItem("src")||!t.attributes.getNamedItem("src").value)},iXe=function(e,t){if(!FJe(e))return t;var n=e,r=n.style.fontWeight,i=n.style.fontStyle,o=n.style.textDecoration;return t.withMutations((function(e){GJe.indexOf(r)>=0?e.add("BOLD"):YJe.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"))}))},oXe=function(e){return"ul"===e||"ol"===e},aXe=function(){function e(e,t){xJe(this,"characterList",AJe()),xJe(this,"currentBlockType","unstyled"),xJe(this,"currentDepth",0),xJe(this,"currentEntity",null),xJe(this,"currentText",""),xJe(this,"wrapper",null),xJe(this,"blockConfigs",[]),xJe(this,"contentBlocks",[]),xJe(this,"entityMap",EJe),xJe(this,"blockTypeMap",void 0),xJe(this,"disambiguate",void 0),this.clear(),this.blockTypeMap=e,this.disambiguate=t}var t=e.prototype;return t.clear=function(){this.characterList=AJe(),this.blockConfigs=[],this.currentBlockType="unstyled",this.currentDepth=0,this.currentEntity=null,this.currentText="",this.entityMap=EJe,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],jJe())),this._trimCurrentText(),""!==this.currentText&&this.blockConfigs.push(this._makeBlockConfig()),this},t.getContentBlocks=function(){return 0===this.contentBlocks.length&&(BJe?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||TJe(),n=wJe({key:t,type:this.currentBlockType,text:this.currentText,characterList:this.characterList,depth:this.currentDepth,parent:null,children:AJe(),prevSibling:null,nextSibling:null,childConfigs:[]},e);return this.characterList=AJe(),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||oXe(o)){this._trimCurrentText(),""!==this.currentText&&n.push(this._makeBlockConfig());var a=this.currentDepth,s=this.wrapper;oXe(o)&&(this.wrapper=o,oXe(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(rXe(i))this._addImgNode(i,t);else if(nXe(i))this._addAnchorNode(i,n,t);else{var c=t;JJe.has(o)&&(c=c.add(JJe.get(o))),c=iXe(i,c);var l=eXe(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"),!BJe&&FJe(i)&&("unordered-list-item"===u||"ordered-list-item"===u)){var p=i;this.currentDepth=tXe(p,this.currentDepth)}var h=TJe(),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=_Je.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=AJe()):(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(VJe,"")).replace(qJe," ")),this._appendText(n,t)},t._addBreakNode=function(e,t){LJe(e)&&this._appendText("\n",t)},t._addImgNode=function(e,t){if(zJe(e)){var n=e,r={};$Je.forEach((function(e){var t=n.getAttribute(e);t&&(r[e]=t)})),this.currentEntity=this.entityMap.__create("IMAGE","IMMUTABLE",r),DJe("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(RJe(e)){var r=e,i={};QJe.forEach((function(e){var t=r.getAttribute(e);t&&(i[e]=t)})),i.url=new IJe(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=AJe(i.childConfigs.map((function(e){return e.key}))),this.contentBlocks.push(new kJe(wJe({},i))),this._toContentBlocks(i.childConfigs,i.key)}},t._hoistContainersInBlockConfigs=function(e){var t=this;return AJe(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 SJe(wJe({},e,{text:e.text+r,characterList:e.characterList.concat(i)})))}))},t._extractTextFromBlockConfigs=function(e){for(var t=e.length-1,n="",r=AJe(),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}(),sXe=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:NJe,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:CJe,r=t(e=e.trim().replace(UJe,"").replace(KJe," ").replace(HJe,"").replace(WJe,""));if(!r)return null;var i=XJe(n),o=function(e,t){return"li"===e?"ol"===t?"ordered-list-item":"unordered-list-item":null};return new aXe(i,o).addDOMNode(r).getContentBlocks()};function uXe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var cXe=cBe,lXe=kBe,dXe=sXe,fXe=HBe,pXe=hJe,hXe=Pqe,mXe=jze.exports,gXe=Mqe,vXe=mXe.List,yXe=mXe.Repeat,bXe=hXe("draft_tree_data_support"),wXe=bXe?lXe:cXe,xXe={processHTML:function(e,t){return dXe(e,pXe,t)},processText:function(e,t,n){return e.reduce((function(e,r,i){r=gXe(r);var o=fXe(),a={key:o,type:n,text:r,characterList:vXe(yXe(t,r.length))};if(bXe&&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){uXe(e,t,n[t])}))}return e}({},a,{prevSibling:(e[s]=e[s].merge({nextSibling:o})).getKey()})}return e.push(new wXe(a)),e}),[])}};var _Xe=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})},SXe=nqe,kXe=$Ve,CXe=_Xe,EXe=EVe,IXe={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 IXe.toggleInlineStyle(e,"BOLD");case"italic":return IXe.toggleInlineStyle(e,"ITALIC");case"underline":return IXe.toggleInlineStyle(e,"UNDERLINE");case"code":return IXe.toggleCode(e);case"backspace":case"backspace-word":case"backspace-to-start-of-line":return IXe.onBackspace(e);case"delete":case"delete-word":case"delete-to-end-of-block":return IXe.onDelete(e);default:return null}},insertSoftNewline:function(e){var t=SXe.insertText(e.getCurrentContent(),e.getSelection(),"\n",e.getCurrentInlineStyle(),null),n=kXe.push(e,t,"insert-characters");return kXe.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 kXe.push(e,a,"remove-range")}var s=IXe.tryToRemoveBlockStyle(e);return s?kXe.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=SXe.removeRange(n,a,"forward");return s!==n?kXe.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=CXe(o,r,e.shiftKey?-1:1,n);return kXe.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=EXe(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 kXe.push(e,SXe.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?IXe.toggleBlockType(e,"code-block"):IXe.toggleInlineStyle(e,"CODE")},toggleInlineStyle:function(e,t){var n=e.getSelection(),r=e.getCurrentInlineStyle();if(n.isCollapsed())return kXe.setInlineStyleOverride(e,r.has(t)?r.remove(t):r.add(t));var i,o=e.getCurrentContent();return i=r.has(t)?SXe.removeInlineStyle(o,n,t):SXe.applyInlineStyle(o,n,t),kXe.push(e,i,"change-inline-style")},toggleLink:function(e,t,n){var r=SXe.applyEntity(e.getCurrentContent(),t,n);return kXe.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 SXe.setBlockType(i,t,"unstyled")}return null}},OXe=IXe,TXe=/\r\n?|\n/g;var NXe=Fze,DXe=Yze,PXe=pQe,AXe=nqe,MXe=xXe,jXe=$Ve,RXe=OXe,LXe=iWe,FXe=vQe,zXe=yQe,BXe=function(e){return e.split(TXe)};function UXe(e,t,n){var r=AXe.replaceWithFragment(e.getCurrentContent(),e.getSelection(),t);return jXe.push(e,r.set("entityMap",n),"insert-fragment")}var qXe=function(e,t){t.preventDefault();var n=new PXe(t.clipboardData);if(!n.isRichText()){var r=n.getFiles(),i=n.getText();if(r.length>0){if(e.props.handlePastedFiles&&zXe(e.props.handlePastedFiles(r)))return;return void FXe(r,(function(t){if(t=t||i){var n=e._latestEditorState,r=BXe(t),o=DXe.create({style:n.getCurrentInlineStyle(),entity:LXe(n.getCurrentContent(),n.getSelection())}),a=RXe.getCurrentBlockType(n),s=MXe.processText(r,o,a),u=NXe.createFromArray(s),c=AXe.replaceWithFragment(n.getCurrentContent(),n.getSelection(),u);e.update(jXe.push(n,c,"insert-fragment"))}}))}}var o=[],a=n.getText(),s=n.getHTML(),u=e._latestEditorState;if(!e.props.handlePastedText||!zXe(e.props.handlePastedText(a,s,u))){if(a&&(o=BXe(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(UXe(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(UXe(e._latestEditorState,c));if(s){var l=MXe.processHTML(s,e.props.blockRenderMap);if(l){var d=l.contentBlocks,f=l.entityMap;if(d){var p=NXe.createFromArray(d);return void e.update(UXe(e._latestEditorState,p,f))}}}e.setClipboard(null)}if(o.length){var h=DXe.create({style:u.getCurrentInlineStyle(),entity:LXe(u.getCurrentContent(),u.getSelection())}),m=RXe.getCurrentBlockType(u),g=MXe.processText(o,h,m),v=NXe.createFromArray(g);e.update(UXe(e._latestEditorState,v))}}},VXe=lHe,KXe=KQe,HXe=YQe,WXe=$Qe,GXe=e$e,YXe=u$e,QXe=c$e,$Xe=l$e,ZXe=p$e,JXe=K$e,XXe=cJe,e0e=qXe,t0e=eWe,n0e=VXe.isBrowser("Chrome"),r0e=VXe.isBrowser("Firefox"),i0e=n0e||r0e?t0e:function(e){},o0e={onBeforeInput:KXe,onBlur:HXe,onCompositionStart:WXe,onCopy:GXe,onCut:YXe,onDragOver:QXe,onDragStart:$Xe,onFocus:ZXe,onInput:JXe,onKeyDown:XXe,onPaste:e0e,onSelect:t0e,onMouseUp:i0e,onKeyUp:i0e},a0e=je.unstable_flushControlled;var s0e=o,u0e=EKe,c0e=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=u0e({"public/DraftEditorPlaceholder/root":!0,"public/DraftEditorPlaceholder/hasFocus":e});return s0e.createElement("div",{className:t},s0e.createElement("div",{className:u0e("public/DraftEditorPlaceholder/inner"),id:this.props.accessibilityID,style:{whiteSpace:"pre-wrap"}},this.props.text))},r}(s0e.Component),l0e=c0e,d0e=$$e,f0e=NHe,p0e=lHe,h0e=p0e.isPlatform("Mac OS X"),m0e=h0e&&p0e.isBrowser("Firefox < 29"),g0e=d0e.hasCommandModifier,v0e=d0e.isCtrlKeyCommand;function y0e(e){return h0e&&e.altKey||v0e(e)}var b0e=function(e){switch(e.keyCode){case 66:return g0e(e)?"bold":null;case 68:return v0e(e)?"delete":null;case 72:return v0e(e)?"backspace":null;case 73:return g0e(e)?"italic":null;case 74:return g0e(e)?"code":null;case 75:return h0e&&v0e(e)?"secondary-cut":null;case 77:case 79:return v0e(e)?"split-block":null;case 84:return h0e&&v0e(e)?"transpose-characters":null;case 85:return g0e(e)?"underline":null;case 87:return h0e&&v0e(e)?"backspace-word":null;case 89:return v0e(e)?h0e?"secondary-paste":"redo":null;case 90:return function(e){return g0e(e)?e.shiftKey?"redo":"undo":null}(e)||null;case f0e.RETURN:return"split-block";case f0e.DELETE:return function(e){return!h0e&&e.shiftKey?null:y0e(e)?"delete-word":"delete"}(e);case f0e.BACKSPACE:return function(e){return g0e(e)&&h0e?"backspace-to-start-of-line":y0e(e)?"backspace-word":"backspace"}(e);case f0e.LEFT:return m0e&&g0e(e)?"move-selection-to-start-of-block":null;case f0e.RIGHT:return m0e&&g0e(e)?"move-selection-to-end-of-block":null;default:return null}},w0e=dW;function x0e(){return x0e=w0e||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},x0e.apply(this,arguments)}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){k0e(e,t,n[t])}))}return e}function S0e(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function k0e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function C0e(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var E0e=TKe,I0e=NKe,O0e=yWe,T0e=ZYe,N0e=PQe,D0e=o0e,P0e=a0e,A0e=l0e,M0e=$Ve,j0e=o,R0e=wGe,L0e=TGe,F0e=EKe,z0e=HBe,B0e=b0e,U0e=LGe,q0e=Pqe,V0e=jBe,K0e=PHe,H0e=EVe,W0e=lHe.isBrowser("IE"),G0e=!W0e,Y0e={edit:D0e,composite:O0e,drag:N0e,cut:null,render:null},Q0e=!1,$0e=function(e){function t(){return e.apply(this,arguments)||this}C0e(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}(j0e.Component),Z0e=function(e){function t(t){var n;return k0e(S0e(n=e.call(this,t)||this),"_blockSelectEvents",void 0),k0e(S0e(n),"_clipboard",void 0),k0e(S0e(n),"_handler",void 0),k0e(S0e(n),"_dragCount",void 0),k0e(S0e(n),"_internalDrag",void 0),k0e(S0e(n),"_editorKey",void 0),k0e(S0e(n),"_placeholderAccessibilityID",void 0),k0e(S0e(n),"_latestEditorState",void 0),k0e(S0e(n),"_latestCommittedEditorState",void 0),k0e(S0e(n),"_pendingStateFromBeforeInput",void 0),k0e(S0e(n),"_onBeforeInput",void 0),k0e(S0e(n),"_onBlur",void 0),k0e(S0e(n),"_onCharacterData",void 0),k0e(S0e(n),"_onCompositionEnd",void 0),k0e(S0e(n),"_onCompositionStart",void 0),k0e(S0e(n),"_onCopy",void 0),k0e(S0e(n),"_onCut",void 0),k0e(S0e(n),"_onDragEnd",void 0),k0e(S0e(n),"_onDragOver",void 0),k0e(S0e(n),"_onDragStart",void 0),k0e(S0e(n),"_onDrop",void 0),k0e(S0e(n),"_onInput",void 0),k0e(S0e(n),"_onFocus",void 0),k0e(S0e(n),"_onKeyDown",void 0),k0e(S0e(n),"_onKeyPress",void 0),k0e(S0e(n),"_onKeyUp",void 0),k0e(S0e(n),"_onMouseDown",void 0),k0e(S0e(n),"_onMouseUp",void 0),k0e(S0e(n),"_onPaste",void 0),k0e(S0e(n),"_onSelect",void 0),k0e(S0e(n),"editor",void 0),k0e(S0e(n),"editorContainer",void 0),k0e(S0e(n),"focus",void 0),k0e(S0e(n),"blur",void 0),k0e(S0e(n),"setMode",void 0),k0e(S0e(n),"exitCurrentMode",void 0),k0e(S0e(n),"restoreEditorDOM",void 0),k0e(S0e(n),"setClipboard",void 0),k0e(S0e(n),"getClipboard",void 0),k0e(S0e(n),"getEditorKey",void 0),k0e(S0e(n),"update",void 0),k0e(S0e(n),"onDragEnter",void 0),k0e(S0e(n),"onDragLeave",void 0),k0e(S0e(n),"_handleEditorContainerRef",(function(e){n.editorContainer=e,n.editor=null!==e?e.firstChild:null})),k0e(S0e(n),"focus",(function(e){var t=n.props.editorState,r=t.getSelection().getHasFocus(),i=n.editor;if(i){var o=L0e.getScrollParent(i),a=e||U0e(o),s=a.x,u=a.y;K0e(i)||("production"!==Gs.env.NODE_ENV?V0e(!1,"editorNode is not an HTMLElement"):V0e(!1)),i.focus(),o===window?window.scrollTo(s,u):R0e.setTop(o,u),r||n.update(M0e.forceSelection(t,t.getSelection()))}})),k0e(S0e(n),"blur",(function(){var e=n.editor;e&&(K0e(e)||("production"!==Gs.env.NODE_ENV?V0e(!1,"editorNode is not an HTMLElement"):V0e(!1)),e.blur())})),k0e(S0e(n),"setMode",(function(e){var t=n.props,r=t.onPaste,i=t.onCut,o=t.onCopy,a=_0e({},Y0e.edit);r&&(a.onPaste=r),i&&(a.onCut=i),o&&(a.onCopy=o);var s=_0e({},Y0e,{edit:a});n._handler=s[e]})),k0e(S0e(n),"exitCurrentMode",(function(){n.setMode("edit")})),k0e(S0e(n),"restoreEditorDOM",(function(e){n.setState({contentsKey:n.state.contentsKey+1},(function(){n.focus(e)}))})),k0e(S0e(n),"setClipboard",(function(e){n._clipboard=e})),k0e(S0e(n),"getClipboard",(function(){return n._clipboard})),k0e(S0e(n),"update",(function(e){n._latestEditorState=e,n.props.onChange(e)})),k0e(S0e(n),"onDragEnter",(function(){n._dragCount++})),k0e(S0e(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||z0e(),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"!==Gs.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}C0e(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&&(P0e?P0e((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:H0e(this.props.placeholder),editorState:this.props.editorState,textAlignment:this.props.textAlignment,accessibilityID:this._placeholderAccessibilityID};return j0e.createElement(A0e,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=F0e({"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:_0e({},I0e,o),customStyleFn:i,editorKey:this._editorKey,editorState:a,preventScroll:s,textDirectionality:l};return j0e.createElement("div",{className:d},this._renderPlaceholder(),j0e.createElement("div",{className:F0e("DraftEditor/editorContainer"),ref:this._handleEditorContainerRef},j0e.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:F0e({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:G0e&&this.props.spellCheck,style:{outline:"none",userSelect:"text",WebkitUserSelect:"text",whiteSpace:"pre-wrap",wordWrap:"break-word"},suppressContentEditableWarning:!0,tabIndex:this.props.tabIndex},j0e.createElement($0e,{editor:this,editorState:a}),j0e.createElement(T0e,x0e({},h,{key:"contents"+this.state.contentsKey})))))},n.componentDidMount=function(){this._blockSelectEvents=!1,!Q0e&&q0e("draft_ods_enabled")&&(Q0e=!0),this.setMode("edit"),W0e&&(this.editor?this.editor.ownerDocument.execCommand("AutoUrlDetect",!1,!1):at.execCommand("AutoUrlDetect",!1,!1))},n.componentDidUpdate=function(){this._blockSelectEvents=!1,this._latestEditorState=this.props.editorState,this._latestCommittedEditorState=this.props.editorState},t}(j0e.Component);k0e(Z0e,"defaultProps",{blockRenderMap:E0e,blockRendererFn:function(){return null},blockStyleFn:function(){return""},keyBindingFn:B0e,readOnly:!1,spellCheck:!1,stripPastedStyles:!1});var J0e=Z0e,X0e=ut(Object.freeze({__proto__:null})),e1e={stringify:function(e){return"_"+String(e)},unstringify:function(e){return e.slice(1)}},t1e=e1e,n1e=x$e.strlen;var r1e=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:n1e(o.slice(0,r)),length:n1e(o.slice(r,i)),key:Number(t[t1e.stringify(a)])})})),n},i1e=x$e,o1e=Qze,a1e=function(e,t){return e===t},s1e=function(e){return!!e},u1e=[];var c1e=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 o1e(i,a1e,s1e,(function(t,i){var o=e.getText();r.push({offset:i1e.strlen(o.slice(0,t)),length:i1e.strlen(o.slice(t,i)),style:n})})),r}(e,t,n)}));return Array.prototype.concat.apply(u1e,n.toJS())};function l1e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var d1e=cBe,f1e=kBe,p1e=e1e,h1e=r1e,m1e=c1e,g1e=jBe,v1e=function(e,t){return{key:e.getKey(),text:e.getText(),type:e.getType(),depth:e.getDepth(),inlineStyleRanges:m1e(e),entityRanges:h1e(e,t),data:e.getData().toObject()}},y1e=function(e,t,n,r){if(e instanceof d1e)n.push(v1e(e,t));else{e instanceof f1e||("production"!==Gs.env.NODE_ENV?g1e(!1,"block is not a BlockNode"):g1e(!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){l1e(e,t,n[t])}))}return e}({},v1e(e,t),{children:[]});i?r[i].children.push(o):n.push(o)}},b1e=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=p1e.stringify(r);o[i]||(o[i]=r,n[i]="".concat(a),a++)})),y1e(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(p1e.unstringify(t));i[n]={type:r.getType(),mutability:r.getMutability(),data:r.getData()}})),{blocks:n,entityMap:i}}(e,t),t};function w1e(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){x1e(e,t,n[t])}))}return e}function x1e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var _1e=HBe,S1e=jBe,k1e=function(e){if(!e||!e.type)return!1;var t=e.type;return"unordered-list-item"===t||"ordered-list-item"===t},C1e={fromRawTreeStateToRawState:function(e){var t=e.blocks,n=[];return Array.isArray(t)||("production"!==Gs.env.NODE_ENV?S1e(!1,"Invalid raw state"):S1e(!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"!==Gs.env.NODE_ENV?S1e(!1,"Invalid tree raw block"):S1e(!1)),n=n.concat([].concat(i.reverse()))}}(t,(function(e){var t=w1e({},e);k1e(e)&&(t.depth=t.depth||0,function(e){Array.isArray(e.children)&&(e.children=e.children.map((function(t){return t.type===e.type?w1e({},t,{depth:(e.depth||0)+1}):t})))}(e),null!=e.children&&e.children.length>0)||(delete t.children,n.push(t))})),e.blocks=n,w1e({},e,{blocks:n})):e},fromRawStateToRawTreeState:function(e){var t=[],n=[];return e.blocks.forEach((function(e){var r=k1e(e),i=e.depth||0,o=w1e({},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:_1e(),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)})),w1e({},e,{blocks:t})}},E1e=C1e,I1e=C$e,O1e={isValidBlock:function(e,t){var n=e.getKey(),r=e.getParentKey();if(null!=r&&!t.get(r).getChildKeys().includes(n))return"production"!==Gs.env.NODE_ENV&&I1e(!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"!==Gs.env.NODE_ENV&&I1e(!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"!==Gs.env.NODE_ENV&&I1e(!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"!==Gs.env.NODE_ENV&&I1e(!0,"Tree is missing prevSibling pointer on %s's nextSibling",n),!1;return null!==o&&null!==i&&i===o?("production"!==Gs.env.NODE_ENV&&I1e(!0,"Tree has a two-node cycle at %s",n),!1):!(""!=e.text&&e.getChildKeys().size>0)||("production"!==Gs.env.NODE_ENV&&I1e(!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"!==Gs.env.NODE_ENV&&I1e(!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"!==Gs.env.NODE_ENV&&I1e(!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"!==Gs.env.NODE_ENV&&I1e(!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)}},T1e=O1e,N1e=Yze,D1e=jze.exports.List;var P1e=function(e,t){var n=e.map((function(e,n){var r=t[n];return N1e.create({style:e,entity:r})}));return D1e(n)},A1e=x$e.substr;var M1e=function(e,t){var n=Array(e.length).fill(null);return t&&t.forEach((function(t){for(var r=A1e(e,0,t.offset).length,i=r+A1e(e,t.offset,t.length).length,o=r;o<i;o++)n[o]=t.key})),n},j1e=x$e,R1e=jze.exports.OrderedSet,L1e=j1e.substr,F1e=R1e();var z1e=function(e,t){var n=Array(e.length).fill(F1e);return t&&t.forEach((function(t){for(var r=L1e(e,0,t.offset).length,i=r+L1e(e,t.offset,t.length).length;r<i;)n[r]=n[r].add(t.style),r++})),n};function B1e(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){U1e(e,t,n[t])}))}return e}function U1e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var q1e=cBe,V1e=kBe,K1e=nVe,H1e=Tqe,W1e=E1e,G1e=T1e,Y1e=Dqe,Q1e=P1e,$1e=M1e,Z1e=z1e,J1e=HBe,X1e=jze.exports,e2e=jBe,t2e=Pqe("draft_tree_data_support"),n2e=X1e.List,r2e=X1e.Map,i2e=X1e.OrderedMap,o2e=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||J1e(),data:r2e(i),characterList:a2e(e,t)}},a2e=function(e,t){var n=e.text,r=e.entityRanges,i=e.inlineStyleRanges,o=r||[];return Q1e(Z1e(n,i||[]),$1e(n,o.filter((function(e){return t.hasOwnProperty(e.key)})).map((function(e){return B1e({},e,{key:t[e.key]})}))))},s2e=function(e){return B1e({},e,{key:e.key||J1e()})},u2e=function(e,t,n){var r=t.map((function(e){return B1e({},e,{parentRef:n})}));return e.concat(r.reverse())},c2e=function(e,t){var n=e.blocks.find((function(e){return Array.isArray(e.children)&&e.children.length>0})),r=t2e&&!n?W1e.fromRawStateToRawTreeState(e).blocks:e.blocks;if(!t2e)return function(e,t){return i2e(e.map((function(e){var n=new q1e(o2e(e,t));return[n.getKey(),n]})))}(n?W1e.fromRawTreeStateToRawState(e).blocks:r,t);var i=function(e,t){return e.map(s2e).reduce((function(n,r,i){Array.isArray(r.children)||("production"!==Gs.env.NODE_ENV?e2e(!1,"invalid RawDraftContentBlock can not be converted to ContentBlockNode"):e2e(!1));var o=r.children.map(s2e),a=new V1e(B1e({},o2e(r,t),{prevSibling:0===i?null:e[i-1].key,nextSibling:i===e.length-1?null:e[i+1].key,children:n2e(o.map((function(e){return e.key})))}));n=n.set(a.getKey(),a);for(var s=u2e([],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"!==Gs.env.NODE_ENV?e2e(!1,"invalid RawDraftContentBlock can not be converted to ContentBlockNode"):e2e(!1));break}var p=u.children.map(s2e),h=new V1e(B1e({},o2e(u,t),{parent:c.getKey(),children:n2e(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=u2e(s,p,h)}return n}),i2e())}(r,t);return"production"!==Gs.env.NODE_ENV&&(G1e.isValidTree(i)||("production"!==Gs.env.NODE_ENV?e2e(!1,"Should be a valid tree"):e2e(!1))),i},l2e=function(e){Array.isArray(e.blocks)||("production"!==Gs.env.NODE_ENV?e2e(!1,"invalid RawDraftContentState"):e2e(!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]=H1e.__create(i,o,a||{})})),n}(e),n=c2e(e,t),r=n.isEmpty()?new Y1e:Y1e.createEmpty(n.first().getKey());return new K1e({blockMap:n,entityMap:t,selectionBefore:r,selectionAfter:r})},d2e=iZe;var f2e=function(e){var t=d2e(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 p2e={Editor:J0e,EditorBlock:RYe,EditorState:$Ve,CompositeDecorator:kKe,Entity:Tqe,EntityInstance:bqe,BlockMapBuilder:Fze,CharacterMetadata:Yze,ContentBlock:cBe,ContentState:nVe,RawDraftContentState:X0e,SelectionState:Dqe,AtomicBlockUtils:xKe,KeyBindingUtil:$$e,Modifier:nqe,RichUtils:OXe,DefaultDraftBlockRenderMap:TKe,DefaultDraftInlineStyle:NKe,convertFromHTML:sXe,convertFromRaw:l2e,convertToRaw:b1e,genKey:HBe,getDefaultKeyBinding:b0e,getVisibleSelectionRect:function(e){var t=e.getSelection();if(!t.rangeCount)return null;var n=t.getRangeAt(0),r=f2e(n),i=r.top,o=r.right,a=r.bottom,s=r.left;return 0===i&&0===o&&0===a&&0===s?null:r}},h2e=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 m2e={exports:{}};m2e.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 P(e,t,0)}function D(e,t){return P(e,t,t)}function P(e,t,n){return void 0===e?n:e<0?Math.max(0,t+e):void 0===t?e:Math.min(t,e)}var A=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=A,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 Z,J,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 Z||(Z=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(J)return J;J=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(!Ae){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!==Pe&&!1===Pe(e))throw new Error("Non-extensible objects are not allowed as keys.");if(Ae)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 Pe=Object.isExtensible,Ae=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 Ze(e,t,n){this.ownerID=e,this.count=t,this.nodes=n}function Je(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===Je}function ut(e,t,n,r,i){if(e.keyHash===r)return new Je(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 Ze(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)},Ze.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},Ze.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 Ze(e,f,h)},Je.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},Je.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 Je(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=Je.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=Ze.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?At(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=Pt(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=Pt(this,t);(n=i())!==Dt&&!1!==e(n,r++,this););return r},kt.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?At(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 Pt(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 At(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=At(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):At(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):At(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 Zt(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?A:M,n)},t}function Jt(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=Zt(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===A?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===A?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=Jt(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[Pn])}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,Pn="@@__IMMUTABLE_SET__@@",An=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(An);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)}An[Pn]=!0,An[m]=An.remove,An.mergeDeep=An.merge,An.mergeDeepWith=An.mergeWith,An.withMutations=Ye.withMutations,An.asMutable=Ye.asMutable,An.asImmutable=Ye.asImmutable,An.__empty=Rn,An.__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(A)},map:function(e,t){return mn(this,Jt(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 Zn=n.prototype;Zn[d]=!0,Zn[F]=Zn.values,Zn.__toJS=Zn.toArray,Zn.__toStringMapper=rr,Zn.inspect=Zn.toSource=function(){return this.toString()},Zn.chain=Zn.flatMap,Zn.contains=Zn.includes,function(){try{Object.defineProperty(Zn,"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,Zt(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 Jn=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 Jn[f]=!0,Jn[F]=Zn.entries,Jn.__toJS=Zn.toObject,Jn.__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=Zn.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 g2e=function(e){var t=document.implementation.createHTMLDocument("");return t.documentElement.innerHTML=e,t};function v2e(e){var t;"undefined"!=typeof DOMParser?null!==(t=(new DOMParser).parseFromString(e,"text/html"))&&null!==t.body||(t=g2e(e)):t=g2e(e);return t.body}var y2e=new RegExp("\r","g"),b2e=new RegExp("\n","g"),w2e=new RegExp("&nbsp;","g"),x2e=new RegExp("\r","g"),_2e=["p","h1","h2","h3","h4","h5","h6","li","blockquote","pre"],S2e={b:"BOLD",code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",i:"ITALIC",s:"STRIKETHROUGH",strike:"STRIKETHROUGH",strong:"BOLD",u:"UNDERLINE"},k2e=function(e,t){return e&&!0===e.__isMiddleware?e(t):e},C2e=function(e,t,n){},E2e=function(e,t,n){return n},I2e=function(e,t){},O2e=function(e){return[]},T2e=function(e){if(null!=e)return e;throw new Error("Got unexpected null or undefined")};function N2e(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:m2e.exports.Map();return!0===n?{text:"\r",inlines:[m2e.exports.OrderedSet()],entities:new Array(1),blocks:[{type:e,data:r,depth:Math.max(0,Math.min(4,t))}],isNewline:!0}:{text:"\n",inlines:[m2e.exports.OrderedSet()],entities:new Array(1),blocks:[]}}function D2e(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:m2e.exports.Map();return{text:"\r",inlines:[m2e.exports.OrderedSet()],entities:new Array(1),blocks:[{type:e,data:n,depth:Math.max(0,Math.min(4,t))}]}}function P2e(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 A2e(e,t,n){return P2e(e,n)}function M2e(e,t,n){var r=S2e[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 j2e(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:m2e.exports.OrderedSet();return M2e(e,t,n)}function R2e(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 L2e(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:[m2e.exports.OrderedSet()],entities:t,blocks:[]}}(m);"code-block"!==r&&(b=b.replace(b2e," "));var w=Array(b.length).fill(m),x=0;return u(b,l,d,f,p).sort(h2e).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===_?N2e("unstyled",o,!0):N2e(_||"unstyled",o,h.flat)}var S={text:"",inlines:[],entities:[],blocks:[]};t=a(g,e,t=M2e(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=m2e.exports.Map()):(k="string"==typeof E?E:E.type,C=E.data?m2e.exports.Map(E.data):m2e.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=N2e(k,o,!0,C));else{var I=P2e(g,n);S=D2e(I,o),r=I,v=!0,y="ul"===n?"unordered-list-item":"ordered-list-item"}else S=D2e(k||P2e(g,n),o,C),r=k||P2e(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=R2e(S,L2e(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),P=void 0,A=void 0;!1!==D&&("string"==typeof(D=D||{})?(P=D,A=m2e.exports.Map()):(P=D.type||P2e(g,n),A=D.data?m2e.exports.Map(D.data):m2e.exports.Map()),S=R2e(S,N2e(P,o,h.flat,A),h.flat))}N&&(g=N.nodeName.toLowerCase()),O=N}return v&&(S=R2e(S,D2e(y,o,m2e.exports.Map()),h.flat)),S}function F2e(e,t,n,r,i,o,a,s,u,c,l){var d=l(e=e.trim().replace(y2e,"").replace(w2e," "));if(!d)return null;var f=function(e){return _2e.some((function(t){return-1!==e.indexOf("<".concat(t))}))}(e)?_2e.concat(["div"]):["div"],p=L2e(d,m2e.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:m2e.exports.Map(),depth:0}),p.text.split("\r").length===p.blocks.length+1&&p.blocks.unshift({type:"unstyled",data:m2e.exports.Map(),depth:0}),p}function z2e(e,t,n,r,i,o,a,s,u,c,l,d){var f=F2e(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(x2e,"");var n=p+e.length,r=T2e(f).inlines.slice(p,n),i=T2e(f).entities.slice(p,n),o=m2e.exports.List(r.map((function(e,t){var n={style:e,entity:null};return i[t]&&(n.entity=i[t]),p2e.CharacterMetadata.create(n)})));return p=n+1,new p2e.ContentBlock({key:d(),type:T2e(f).blocks[t].type,data:T2e(f).blocks[t].data,depth:T2e(f).blocks[t].depth,text:e,characterList:o})}))}var B2e=function(e){var t=e.htmlToStyle,n=void 0===t?E2e:t,r=e.htmlToEntity,i=void 0===r?I2e:r,o=e.textToEntity,a=void 0===o?O2e:o,s=e.htmlToBlock,u=void 0===s?C2e: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]:v2e,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:p2e.genKey,s=p2e.ContentState.createFromText(""),c=function(){var e;return s.createEntity?(s=(e=s).createEntity.apply(e,arguments)).getLastCreatedEntityKey():p2e.Entity.create.apply(p2e.Entity,arguments)},l=function(){var e;return s.getEntity?(e=s).getEntity.apply(e,arguments):p2e.Entity.get.apply(p2e.Entity,arguments)},d=function(){var e;s.mergeEntityData?s=(e=s).mergeEntityData.apply(e,arguments):p2e.Entity.mergeData.apply(p2e.Entity,arguments)},f=function(){var e;s.replaceEntityData?s=(e=s).replaceEntityData.apply(e,arguments):p2e.Entity.replaceData.apply(p2e.Entity,arguments)},p=z2e(e,k2e(n,j2e),k2e(i,I2e),k2e(a,O2e),k2e(u,A2e),c,l,d,f,t,r,o),h=p2e.BlockMapBuilder.createFromArray(p),m=p[0].getKey();return s.merge({blockMap:h,selectionBefore:p2e.SelectionState.createEmpty(m),selectionAfter:p2e.SelectionState.createEmpty(m)})}};EG('/**\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 U2e={};function q2e(e){e&&(e.value=!0)}function V2e(){}function K2e(e){return void 0===e.size&&(e.size=e.__iterate(W2e)),e.size}function H2e(e,t){if("number"!=typeof t){var n=t>>>0;if(""+n!==t||4294967295===n)return NaN;t=n}return t<0?K2e(e)+t:t}function W2e(){return!0}function G2e(e,t,n){return(0===e&&!Z2e(e)||void 0!==n&&e<=-n)&&(void 0===t||void 0!==n&&t>=n)}function Y2e(e,t){return $2e(e,t,0)}function Q2e(e,t){return $2e(e,t,t)}function $2e(e,t,n){return void 0===e?n:Z2e(e)?t===1/0?t:0|Math.max(0,t+e):void 0===t||t===e?e:0|Math.min(t,e)}function Z2e(e){return e<0||0===e&&1/e==-1/0}function J2e(e){return Boolean(e&&e["@@__IMMUTABLE_ITERABLE__@@"])}function X2e(e){return Boolean(e&&e["@@__IMMUTABLE_KEYED__@@"])}function e3e(e){return Boolean(e&&e["@@__IMMUTABLE_INDEXED__@@"])}function t3e(e){return X2e(e)||e3e(e)}var n3e=function(e){return J2e(e)?e:_3e(e)},r3e=function(e){function t(e){return X2e(e)?e:S3e(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(n3e),i3e=function(e){function t(e){return e3e(e)?e:k3e(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(n3e),o3e=function(e){function t(e){return J2e(e)&&!t3e(e)?e:C3e(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(n3e);n3e.Keyed=r3e,n3e.Indexed=i3e,n3e.Set=o3e;function a3e(e){return Boolean(e&&e["@@__IMMUTABLE_SEQ__@@"])}function s3e(e){return Boolean(e&&e["@@__IMMUTABLE_RECORD__@@"])}function u3e(e){return J2e(e)||s3e(e)}var c3e="@@__IMMUTABLE_ORDERED__@@";function l3e(e){return Boolean(e&&e[c3e])}var d3e="function"==typeof Symbol&&Symbol.iterator,f3e=d3e||"@@iterator",p3e=function(e){this.next=e};function h3e(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 m3e(){return{value:void 0,done:!0}}function g3e(e){return!!b3e(e)}function v3e(e){return e&&"function"==typeof e.next}function y3e(e){var t=b3e(e);return t&&t.call(e)}function b3e(e){var t=e&&(d3e&&e[d3e]||e["@@iterator"]);if("function"==typeof t)return t}p3e.prototype.toString=function(){return"[Iterator]"},p3e.KEYS=0,p3e.VALUES=1,p3e.ENTRIES=2,p3e.prototype.inspect=p3e.prototype.toSource=function(){return this.toString()},p3e.prototype[f3e]=function(){return this};var w3e=Object.prototype.hasOwnProperty;function x3e(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 _3e=function(e){function t(e){return null==e?N3e():u3e(e)?e.toSeq():function(e){var t=A3e(e);if(t)return t;if("object"==typeof e)return new I3e(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 p3e((function(){if(i===r)return{value:void 0,done:!0};var o=n[t?r-++i:i++];return h3e(e,o[0],o[1])}))}return this.__iteratorUncached(e,t)},t}(n3e),S3e=function(e){function t(e){return null==e?N3e().toKeyedSeq():J2e(e)?X2e(e)?e.toSeq():e.fromEntrySeq():s3e(e)?e.toSeq():D3e(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.toKeyedSeq=function(){return this},t}(_3e),k3e=function(e){function t(e){return null==e?N3e():J2e(e)?X2e(e)?e.entrySeq():e.toIndexedSeq():s3e(e)?e.toSeq().entrySeq():P3e(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}(_3e),C3e=function(e){function t(e){return(J2e(e)&&!t3e(e)?e:k3e(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}(_3e);_3e.isSeq=a3e,_3e.Keyed=S3e,_3e.Set=C3e,_3e.Indexed=k3e,_3e.prototype["@@__IMMUTABLE_SEQ__@@"]=!0;var E3e=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[H2e(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 p3e((function(){if(i===r)return{value:void 0,done:!0};var o=t?r-++i:i++;return h3e(e,o,n[o])}))},t}(k3e),I3e=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 w3e.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 p3e((function(){if(o===i)return{value:void 0,done:!0};var a=r[t?i-++o:o++];return h3e(e,a,n[a])}))},t}(S3e);I3e.prototype[c3e]=!0;var O3e,T3e=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=y3e(this._collection),r=0;if(v3e(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=y3e(this._collection);if(!v3e(n))return new p3e(m3e);var r=0;return new p3e((function(){var t=n.next();return t.done?t:h3e(e,r++,t.value)}))},t}(k3e);function N3e(){return O3e||(O3e=new E3e([]))}function D3e(e){var t=Array.isArray(e)?new E3e(e):g3e(e)?new T3e(e):void 0;if(t)return t.fromEntrySeq();if("object"==typeof e)return new I3e(e);throw new TypeError("Expected Array or collection object of [k, v] entries, or keyed object: "+e)}function P3e(e){var t=A3e(e);if(t)return t;throw new TypeError("Expected Array or collection object of values: "+e)}function A3e(e){return x3e(e)?new E3e(e):g3e(e)?new T3e(e):void 0}function M3e(e){return Boolean(e&&e["@@__IMMUTABLE_MAP__@@"])}function j3e(e){return M3e(e)&&l3e(e)}function R3e(e){return Boolean(e&&"function"==typeof e.equals&&"function"==typeof e.hashCode)}function L3e(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!!(R3e(e)&&R3e(t)&&e.equals(t))}var F3e="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 z3e(e){return e>>>1&1073741824|3221225471&e}var B3e=Object.prototype.valueOf;function U3e(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 z3e(t)}(e);case"string":return e.length>Q3e?function(e){var t=J3e[e];void 0===t&&(t=q3e(e),Z3e===$3e&&(Z3e=0,J3e={}),Z3e++,J3e[e]=t);return t}(e):q3e(e);case"object":case"function":return null===e?1108378658:"function"==typeof e.hashCode?z3e(e.hashCode(e)):(e.valueOf!==B3e&&"function"==typeof e.valueOf&&(e=e.valueOf(e)),function(e){var t;if(W3e&&void 0!==(t=H3e.get(e)))return t;if(void 0!==(t=e[Y3e]))return t;if(!K3e){if(void 0!==(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[Y3e]))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=++G3e,1073741824&G3e&&(G3e=0);if(W3e)H3e.set(e,t);else{if(void 0!==V3e&&!1===V3e(e))throw new Error("Non-extensible objects are not allowed as keys.");if(K3e)Object.defineProperty(e,Y3e,{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[Y3e]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[Y3e]=t}}return t}(e));case"undefined":return 1108378659;default:if("function"==typeof e.toString)return q3e(e.toString());throw new Error("Value type "+typeof e+" cannot be hashed.")}}function q3e(e){for(var t=0,n=0;n<e.length;n++)t=31*t+e.charCodeAt(n)|0;return z3e(t)}var V3e=Object.isExtensible,K3e=function(){try{return Object.defineProperty({},"@",{}),!0}catch(e){return!1}}();var H3e,W3e="function"==typeof WeakMap;W3e&&(H3e=new WeakMap);var G3e=0,Y3e="__immutablehash__";"function"==typeof Symbol&&(Y3e=Symbol(Y3e));var Q3e=16,$3e=255,Z3e=0,J3e={},X3e=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=o4e(this,!0);return this._useKeys||(t.valueSeq=function(){return e._iter.toSeq().reverse()}),t},t.prototype.map=function(e,t){var n=this,r=i4e(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}(S3e);X3e.prototype[c3e]=!0;var e4e=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&&K2e(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&&K2e(this),new p3e((function(){var o=r.next();return o.done?o:h3e(e,t?n.size-++i:i++,o.value,o)}))},t}(k3e),t4e=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 p3e((function(){var t=n.next();return t.done?t:h3e(e,t.value,t.value,t)}))},t}(C3e),n4e=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){g4e(t);var r=J2e(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 p3e((function(){for(;;){var t=n.next();if(t.done)return t;var r=t.value;if(r){g4e(r);var i=J2e(r);return h3e(e,i?r.get(0):r[0],i?r.get(1):r[1],t)}}}))},t}(S3e);function r4e(e){var t=y4e(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=b4e,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 p3e((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 i4e(e,t,n){var r=y4e(e);return r.size=e.size,r.has=function(t){return e.has(t)},r.get=function(r,i){var o=e.get(r,U2e);return o===U2e?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 p3e((function(){var i=o.next();if(i.done)return i;var a=i.value,s=a[0];return h3e(r,s,t.call(n,a[1],s,e),i)}))},r}function o4e(e,t){var n=this,r=y4e(e);return r._iter=e,r.size=e.size,r.reverse=function(){return e},e.flip&&(r.flip=function(){var t=r4e(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=b4e,r.__iterate=function(n,r){var i=this,o=0;return r&&K2e(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&&K2e(e);var a=e.__iterator(2,!i);return new p3e((function(){var e=a.next();if(e.done)return e;var s=e.value;return h3e(r,t?s[0]:i?n.size-++o:o++,s[1],e)}))},r}function a4e(e,t,n,r){var i=y4e(e);return r&&(i.has=function(r){var i=e.get(r,U2e);return i!==U2e&&!!t.call(n,i,r,e)},i.get=function(r,i){var o=e.get(r,U2e);return o!==U2e&&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 p3e((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 h3e(i,r?c:s++,l,o)}}))},i}function s4e(e,t,n,r){var i=e.size;if(G2e(t,n,i))return e;var o=Y2e(t,i),a=Q2e(n,i);if(o!=o||a!=a)return s4e(e.toSeq().cacheResult(),t,n,r);var s,u=a-o;u==u&&(s=u<0?0:u);var c=y4e(e);return c.size=0===s?s:e.size&&s||void 0,!r&&a3e(e)&&s>=0&&(c.get=function(t,n){return(t=H2e(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 p3e(m3e);var i=e.__iterator(t,n),a=0,u=0;return new p3e((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:h3e(t,u-1,0===t?void 0:e.value[1],e)}))},c}function u4e(e,t,n,r){var i=y4e(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 p3e((function(){var e,o,l;do{if((e=s.next()).done)return r||1===i?e:h3e(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:h3e(i,o,l,e)}))},i}function c4e(e,t){var n=X2e(e),r=[e].concat(t).map((function(e){return J2e(e)?n&&(e=r3e(e)):e=n?D3e(e):P3e(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&&X2e(i)||e3e(e)&&e3e(i))return i}var o=new E3e(r);return n?o=o.toKeyedSeq():e3e(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 l4e(e,t,n){var r=y4e(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)&&J2e(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 p3e((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)||!J2e(u))return n?e:h3e(r,s++,u,e);a.push(o),o=u.__iterator(r,i)}else o=a.pop()}return{value:void 0,done:!0}}))},r}function d4e(e,t,n){t||(t=w4e);var r=X2e(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?S3e(o):e3e(e)?k3e(o):C3e(o)}function f4e(e,t,n){if(t||(t=w4e),n){var r=e.toSeq().map((function(t,r){return[t,n(t,r,e)]})).reduce((function(e,n){return p4e(t,e[1],n[1])?n:e}));return r&&r[0]}return e.reduce((function(e,n){return p4e(t,e,n)?n:e}))}function p4e(e,t,n){var r=e(n,t);return 0===r&&n!==t&&(null==n||n!=n)||r>0}function h4e(e,t,n,r){var i=y4e(e),o=new E3e(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=n3e(e),y3e(i?e.reverse():e)})),a=0,s=!1;return new p3e((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}:h3e(e,a++,t.apply(null,n.map((function(e){return e.value}))))}))},i}function m4e(e,t){return e===t?e:a3e(e)?t:e.constructor(t)}function g4e(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function v4e(e){return X2e(e)?r3e:e3e(e)?i3e:o3e}function y4e(e){return Object.create((X2e(e)?S3e:e3e(e)?k3e:C3e).prototype)}function b4e(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):_3e.prototype.cacheResult.call(this)}function w4e(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 x4e(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 _4e(e,t){if(!e)throw new Error(t)}function S4e(e){_4e(e!==1/0,"Cannot perform this action with an infinite size.")}function k4e(e){if(x3e(e)&&"string"!=typeof e)return e;if(l3e(e))return e.toArray();throw new TypeError("Invalid keyPath: expected Ordered Collection or Array: "+e)}function C4e(e){return"object"==typeof e&&(u3e(e)||Array.isArray(e)||function(e){return e&&("function"!=typeof e.constructor||"Object"===e.constructor.name)}(e))}function E4e(e){try{return"string"==typeof e?JSON.stringify(e):String(e)}catch(t){return JSON.stringify(e)}}function I4e(e,t,n){return u3e(e)?e.get(t,n):function(e,t){return u3e(e)?e.has(t):C4e(e)&&w3e.call(e,t)}(e,t)?"function"==typeof e.get?e.get(t):e[t]:n}function O4e(e){if(Array.isArray(e))return x4e(e);var t={};for(var n in e)w3e.call(e,n)&&(t[n]=e[n]);return t}function T4e(e,t,n,r){r||(r=n,n=void 0);var i=N4e(u3e(e),e,k4e(t),0,n,r);return i===U2e?n:i}function N4e(e,t,n,r,i,o){var a=t===U2e;if(r===n.length){var s=a?i:t,u=o(s);return u===s?t:u}if(!a&&!C4e(t))throw new TypeError("Cannot update within non-data-structure value in path ["+n.slice(0,r).map(E4e)+"]: "+t);var c=n[r],l=a?U2e:I4e(t,c,U2e),d=N4e(l===U2e?e:u3e(l),l,n,r+1,i,o);return d===l?t:d===U2e?function(e,t){if(!C4e(e))throw new TypeError("Cannot update non-data-structure value: "+e);if(u3e(e)){if(!e.remove)throw new TypeError("Cannot update immutable value without .remove() method: "+e);return e.remove(t)}if(!w3e.call(e,t))return e;var n=O4e(e);return Array.isArray(n)?n.splice(t,1):delete n[t],n}(t,c):function(e,t,n){if(!C4e(e))throw new TypeError("Cannot update non-data-structure value: "+e);if(u3e(e)){if(!e.set)throw new TypeError("Cannot update immutable value without .set() method: "+e);return e.set(t,n)}if(w3e.call(e,t)&&n===e[t])return e;var r=O4e(e);return r[t]=n,r}(a?e?r5e():{}:t,c,d)}function D4e(e,t){return function(e,t,n){return T4e(e,t,U2e,(function(){return n}))}(this,e,t)}function P4e(e){return function(e,t){return T4e(e,t,(function(){return U2e}))}(this,e)}function A4e(e,t,n,r){return T4e(e,[t],n,r)}function M4e(e,t,n){return 1===arguments.length?e(this):A4e(this,e,t,n)}function j4e(e,t,n){return T4e(this,e,t,n)}function R4e(e,t,n){for(var r=[],i=0;i<t.length;i++){var o=r3e(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){A4e(e,r,U2e,(function(e){return e===U2e?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 L4e(e,t,n){return F4e(e,t,function(e){function t(n,r,i){return C4e(n)&&C4e(r)?F4e(n,[r],t):e?e(n,r,i):r}return t}(n))}function F4e(e,t,n){if(!C4e(e))throw new TypeError("Cannot merge into non-data-structure value: "+e);if(u3e(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?i3e:r3e,a=r?function(t){i===e&&(i=O4e(i)),i.push(t)}:function(t,r){var o=w3e.call(i,r),a=o&&n?n(i[r],t,r):t;o&&a===i[r]||(i===e&&(i=O4e(i)),i[r]=a)},s=0;s<t.length;s++)o(t[s]).forEach(a);return i}function z4e(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return T4e(this,e,r5e(),(function(e){return F4e(e,t)}))}function B4e(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return T4e(this,e,r5e(),(function(e){return L4e(e,t)}))}function U4e(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this}function q4e(){return this.__ownerID?this:this.__ensureOwner(new V2e)}function V4e(){return this.__ensureOwner()}function K4e(){return this.__altered}e4e.prototype.cacheResult=X3e.prototype.cacheResult=t4e.prototype.cacheResult=n4e.prototype.cacheResult=b4e;var H4e=function(e){function t(t){return null==t?r5e():M3e(t)&&!l3e(t)?t:r5e().withMutations((function(n){var r=e(t);S4e(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 r5e().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 i5e(this,e,t)},t.prototype.remove=function(e){return i5e(this,e,U2e)},t.prototype.deleteAll=function(e){var t=n3e(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):r5e()},t.prototype.sort=function(e){return O5e(d4e(this,e))},t.prototype.sortBy=function(e,t){return O5e(d4e(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 X4e(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?n5e(this.size,this._root,e,this.__hash):0===this.size?r5e():(this.__ownerID=e,this.__altered=!1,this)},t}(r3e);H4e.isMap=M3e;var W4e=H4e.prototype;W4e["@@__IMMUTABLE_MAP__@@"]=!0,W4e.delete=W4e.remove,W4e.removeAll=W4e.deleteAll,W4e.setIn=D4e,W4e.removeIn=W4e.deleteIn=P4e,W4e.update=M4e,W4e.updateIn=j4e,W4e.merge=W4e.concat=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return R4e(this,e)},W4e.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 R4e(this,t,e)},W4e.mergeDeep=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return L4e(this,e)},W4e.mergeDeepWith=function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return L4e(this,t,e)},W4e.mergeIn=z4e,W4e.mergeDeepIn=B4e,W4e.withMutations=U4e,W4e.wasAltered=K4e,W4e.asImmutable=V4e,W4e["@@transducer/init"]=W4e.asMutable=q4e,W4e["@@transducer/step"]=function(e,t){return e.set(t[0],t[1])},W4e["@@transducer/result"]=function(e){return e.asImmutable()};var G4e=function(e,t){this.ownerID=e,this.entries=t};G4e.prototype.get=function(e,t,n,r){for(var i=this.entries,o=0,a=i.length;o<a;o++)if(L3e(n,i[o][0]))return i[o][1];return r},G4e.prototype.update=function(e,t,n,r,i,o,a){for(var s=i===U2e,u=this.entries,c=0,l=u.length;c<l&&!L3e(r,u[c][0]);c++);var d=c<l;if(d?u[c][1]===i:s)return this;if(q2e(a),(s||!d)&&q2e(o),!s||1!==u.length){if(!d&&!s&&u.length>=l5e)return function(e,t,n,r){e||(e=new V2e);for(var i=new Z4e(e,U3e(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:x4e(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 G4e(e,p)}};var Y4e=function(e,t,n){this.ownerID=e,this.bitmap=t,this.nodes=n};Y4e.prototype.get=function(e,t,n,r){void 0===t&&(t=U3e(n));var i=1<<(31&(0===e?t:t>>>e)),o=this.bitmap;return 0==(o&i)?r:this.nodes[u5e(o&i-1)].get(e+5,t,n,r)},Y4e.prototype.update=function(e,t,n,r,i,o,a){void 0===n&&(n=U3e(r));var s=31&(0===t?n:n>>>t),u=1<<s,c=this.bitmap,l=0!=(c&u);if(!l&&i===U2e)return this;var d=u5e(c&u-1),f=this.nodes,p=l?f[d]:void 0,h=o5e(p,e,t+5,n,r,i,o,a);if(h===p)return this;if(!l&&h&&f.length>=d5e)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 Q4e(e,o+1,a)}(e,f,c,s,h);if(l&&!h&&2===f.length&&a5e(f[1^d]))return f[1^d];if(l&&h&&1===f.length&&a5e(h))return h;var m=e&&e===this.ownerID,g=l?h?c:c^u:c|u,v=l?h?c5e(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 Y4e(e,g,v)};var Q4e=function(e,t,n){this.ownerID=e,this.count=t,this.nodes=n};Q4e.prototype.get=function(e,t,n,r){void 0===t&&(t=U3e(n));var i=31&(0===e?t:t>>>e),o=this.nodes[i];return o?o.get(e+5,t,n,r):r},Q4e.prototype.update=function(e,t,n,r,i,o,a){void 0===n&&(n=U3e(r));var s=31&(0===t?n:n>>>t),u=i===U2e,c=this.nodes,l=c[s];if(u&&!l)return this;var d=o5e(l,e,t+5,n,r,i,o,a);if(d===l)return this;var f=this.count;if(l){if(!d&&--f<f5e)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 Y4e(e,i,a)}(e,c,f,s)}else f++;var p=e&&e===this.ownerID,h=c5e(c,s,d,p);return p?(this.count=f,this.nodes=h,this):new Q4e(e,f,h)};var $4e=function(e,t,n){this.ownerID=e,this.keyHash=t,this.entries=n};$4e.prototype.get=function(e,t,n,r){for(var i=this.entries,o=0,a=i.length;o<a;o++)if(L3e(n,i[o][0]))return i[o][1];return r},$4e.prototype.update=function(e,t,n,r,i,o,a){void 0===n&&(n=U3e(r));var s=i===U2e;if(n!==this.keyHash)return s?this:(q2e(a),q2e(o),s5e(this,e,t,n,[r,i]));for(var u=this.entries,c=0,l=u.length;c<l&&!L3e(r,u[c][0]);c++);var d=c<l;if(d?u[c][1]===i:s)return this;if(q2e(a),(s||!d)&&q2e(o),s&&2===l)return new Z4e(e,this.keyHash,u[1^c]);var f=e&&e===this.ownerID,p=f?u:x4e(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 $4e(e,this.keyHash,p)};var Z4e=function(e,t,n){this.ownerID=e,this.keyHash=t,this.entry=n};Z4e.prototype.get=function(e,t,n,r){return L3e(n,this.entry[0])?this.entry[1]:r},Z4e.prototype.update=function(e,t,n,r,i,o,a){var s=i===U2e,u=L3e(r,this.entry[0]);return(u?i===this.entry[1]:s)?this:(q2e(a),s?void q2e(o):u?e&&e===this.ownerID?(this.entry[1]=i,this):new Z4e(e,this.keyHash,[r,i]):(q2e(o),s5e(this,e,t,U3e(r),[r,i])))},G4e.prototype.iterate=$4e.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},Y4e.prototype.iterate=Q4e.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}},Z4e.prototype.iterate=function(e,t){return e(this.entry)};var J4e,X4e=function(e){function t(e,t,n){this._type=t,this._reverse=n,this._stack=e._root&&t5e(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 e5e(e,n.entry)}else if(n.entries){if(r<=(i=n.entries.length-1))return e5e(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 e5e(e,o.entry);t=this._stack=t5e(o,t)}continue}t=this._stack=this._stack.__prev}return{value:void 0,done:!0}},t}(p3e);function e5e(e,t){return h3e(e,t[0],t[1])}function t5e(e,t){return{node:e,index:0,__prev:t}}function n5e(e,t,n,r){var i=Object.create(W4e);return i.size=e,i._root=t,i.__ownerID=n,i.__hash=r,i.__altered=!1,i}function r5e(){return J4e||(J4e=n5e(0))}function i5e(e,t,n){var r,i;if(e._root){var o={value:!1},a={value:!1};if(r=o5e(e._root,e.__ownerID,0,void 0,t,n,o,a),!a.value)return e;i=e.size+(o.value?n===U2e?-1:1:0)}else{if(n===U2e)return e;i=1,r=new G4e(e.__ownerID,[[t,n]])}return e.__ownerID?(e.size=i,e._root=r,e.__hash=void 0,e.__altered=!0,e):r?n5e(i,r):r5e()}function o5e(e,t,n,r,i,o,a,s){return e?e.update(t,n,r,i,o,a,s):o===U2e?e:(q2e(s),q2e(a),new Z4e(t,r,[i,o]))}function a5e(e){return e.constructor===Z4e||e.constructor===$4e}function s5e(e,t,n,r,i){if(e.keyHash===r)return new $4e(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?[s5e(e,t,n+5,r,i)]:(o=new Z4e(t,r,i),a<s?[e,o]:[o,e]);return new Y4e(t,1<<a|1<<s,u)}function u5e(e){return e=(e=(858993459&(e-=e>>1&1431655765))+(e>>2&858993459))+(e>>4)&252645135,e+=e>>8,127&(e+=e>>16)}function c5e(e,t,n,r){var i=r?e:x4e(e);return i[t]=n,i}var l5e=8,d5e=16,f5e=8;function p5e(e){return Boolean(e&&e["@@__IMMUTABLE_LIST__@@"])}var h5e=function(e){function t(t){var n=x5e();if(null==t)return n;if(p5e(t))return t;var r=e(t),i=r.size;return 0===i?n:(S4e(i),i>0&&i<32?w5e(0,i,5,null,new g5e(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=H2e(this,e))>=0&&e<this.size){var n=k5e(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=H2e(e,t))!=t)return e;if(t>=e.size||t<0)return e.withMutations((function(e){t<0?C5e(e,t).set(0,n):C5e(e,0,t+1).set(t,n)}));t+=e._origin;var r=e._tail,i=e._root,o={value:!1};t>=E5e(e._capacity)?r=_5e(r,e.__ownerID,0,t,n,o):i=_5e(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 w5e(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):x5e()},t.prototype.push=function(){var e=arguments,t=this.size;return this.withMutations((function(n){C5e(n,0,t+e.length);for(var r=0;r<e.length;r++)n.set(t+r,e[r])}))},t.prototype.pop=function(){return C5e(this,0,-1)},t.prototype.unshift=function(){var e=arguments;return this.withMutations((function(t){C5e(t,-e.length);for(var n=0;n<e.length;n++)t.set(n,e[n])}))},t.prototype.shift=function(){return C5e(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&&g3e(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 C5e(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 G2e(e,t,n)?this:C5e(this,Y2e(e,n),Q2e(t,n))},t.prototype.__iterator=function(e,t){var n=t?this.size:0,r=b5e(this,t);return new p3e((function(){var i=r();return i===y5e?{value:void 0,done:!0}:h3e(e,t?--n:n++,i)}))},t.prototype.__iterate=function(e,t){for(var n,r=t?this.size:0,i=b5e(this,t);(n=i())!==y5e&&!1!==e(n,t?--r:r++,this););return r},t.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?w5e(this._origin,this._capacity,this._level,this._root,this._tail,e,this.__hash):0===this.size?x5e():(this.__ownerID=e,this.__altered=!1,this)},t}(i3e);h5e.isList=p5e;var m5e=h5e.prototype;m5e["@@__IMMUTABLE_LIST__@@"]=!0,m5e.delete=m5e.remove,m5e.merge=m5e.concat,m5e.setIn=D4e,m5e.deleteIn=m5e.removeIn=P4e,m5e.update=M4e,m5e.updateIn=j4e,m5e.mergeIn=z4e,m5e.mergeDeepIn=B4e,m5e.withMutations=U4e,m5e.wasAltered=K4e,m5e.asImmutable=V4e,m5e["@@transducer/init"]=m5e.asMutable=q4e,m5e["@@transducer/step"]=function(e,t){return e.push(t)},m5e["@@transducer/result"]=function(e){return e.asImmutable()};var g5e=function(e,t){this.array=e,this.ownerID=t};g5e.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 g5e([],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=S5e(this,e);if(!o)for(var u=0;u<r;u++)s.array[u]=void 0;return i&&(s.array[r]=i),s},g5e.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=S5e(this,e);return a.array.splice(i+1),r&&(a.array[i]=r),a};var v5e,y5e={};function b5e(e,t){var n=e._origin,r=e._capacity,i=E5e(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 y5e;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!==y5e)return e;s=null}if(c===l)return y5e;var n=t?--l:c++;s=a(u&&u[n],i-5,o+(n<<i))}}}(e,s,u)}}function w5e(e,t,n,r,i,o,a){var s=Object.create(m5e);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 x5e(){return v5e||(v5e=w5e(0,0,5))}function _5e(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=_5e(c,t,n-5,r,i,o);return l===c?e:((a=S5e(e,t)).array[s]=l,a)}return u&&e.array[s]===i?e:(o&&q2e(o),a=S5e(e,t),void 0===i&&s===a.array.length-1?a.array.pop():a.array[s]=i,a)}function S5e(e,t){return t&&e&&t===e.ownerID?e:new g5e(e?e.array.slice():[],t)}function k5e(e,t){if(t>=E5e(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 C5e(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var r=e.__ownerID||new V2e,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 g5e(c&&c.array.length?[void 0,c]:[],r),l+=1<<(u+=5);l&&(a+=l,i+=l,s+=l,o+=l);for(var d=E5e(o),f=E5e(s);f>=1<<u+5;)c=new g5e(c&&c.array.length?[c]:[],r),u+=5;var p=e._tail,h=f<d?k5e(e,s-1):f>d?new g5e([],r):p;if(p&&f>d&&a<o&&p.array.length){for(var m=c=S5e(c,r),g=u;g>5;g-=5){var v=d>>>g&31;m=m.array[v]=S5e(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):w5e(a,s,u,c,h)}function E5e(e){return e<32?0:e-1>>>5<<5}var I5e,O5e=function(e){function t(e){return null==e?N5e():j3e(e)?e:N5e().withMutations((function(t){var n=r3e(e);S4e(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):N5e()},t.prototype.set=function(e,t){return D5e(this,e,t)},t.prototype.remove=function(e){return D5e(this,e,U2e)},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?T5e(t,n,e,this.__hash):0===this.size?N5e():(this.__ownerID=e,this._map=t,this._list=n,this)},t}(H4e);function T5e(e,t,n,r){var i=Object.create(O5e.prototype);return i.size=e?e.size:0,i._map=e,i._list=t,i.__ownerID=n,i.__hash=r,i}function N5e(){return I5e||(I5e=T5e(r5e(),x5e()))}function D5e(e,t,n){var r,i,o=e._map,a=e._list,s=o.get(t),u=void 0!==s;if(n===U2e){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):T5e(r,i)}O5e.isOrderedMap=j3e,O5e.prototype[c3e]=!0,O5e.prototype.delete=O5e.prototype.remove;function P5e(e){return Boolean(e&&e["@@__IMMUTABLE_STACK__@@"])}var A5e=function(e){function t(e){return null==e?L5e():P5e(e)?e:L5e().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=H2e(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):R5e(t,n)},t.prototype.pushAll=function(t){if(0===(t=e(t)).size)return this;if(0===this.size&&P5e(t))return t;S4e(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):R5e(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):L5e()},t.prototype.slice=function(t,n){if(G2e(t,n,this.size))return this;var r=Y2e(t,this.size);if(Q2e(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):R5e(i,o)},t.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?R5e(this.size,this._head,e,this.__hash):0===this.size?L5e():(this.__ownerID=e,this.__altered=!1,this)},t.prototype.__iterate=function(e,t){var n=this;if(t)return new E3e(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 E3e(this.toArray()).__iterator(e,t);var n=0,r=this._head;return new p3e((function(){if(r){var t=r.value;return r=r.next,h3e(e,n++,t)}return{value:void 0,done:!0}}))},t}(i3e);A5e.isStack=P5e;var M5e,j5e=A5e.prototype;function R5e(e,t,n,r){var i=Object.create(j5e);return i.size=e,i._head=t,i.__ownerID=n,i.__hash=r,i.__altered=!1,i}function L5e(){return M5e||(M5e=R5e(0))}j5e["@@__IMMUTABLE_STACK__@@"]=!0,j5e.shift=j5e.pop,j5e.unshift=j5e.push,j5e.unshiftAll=j5e.pushAll,j5e.withMutations=U4e,j5e.wasAltered=K4e,j5e.asImmutable=V4e,j5e["@@transducer/init"]=j5e.asMutable=q4e,j5e["@@transducer/step"]=function(e,t){return e.unshift(t)},j5e["@@transducer/result"]=function(e){return e.asImmutable()};function F5e(e){return Boolean(e&&e["@@__IMMUTABLE_SET__@@"])}function z5e(e){return F5e(e)&&l3e(e)}function B5e(e,t){if(e===t)return!0;if(!J2e(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||X2e(e)!==X2e(t)||e3e(e)!==e3e(t)||l3e(e)!==l3e(t))return!1;if(0===e.size&&0===t.size)return!0;var n=!t3e(e);if(l3e(e)){var r=e.entries();return t.every((function(e,t){var i=r.next().value;return i&&L3e(i[1],e)&&(n||L3e(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?!L3e(t,e.get(r,U2e)):!L3e(e.get(r,U2e),t))return a=!1,!1}));return a&&e.size===s}function U5e(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 q5e(e){if(!e||"object"!=typeof e)return e;if(!J2e(e)){if(!C4e(e))return e;e=_3e(e)}if(X2e(e)){var t={};return e.__iterate((function(e,n){t[n]=q5e(e)})),t}var n=[];return e.__iterate((function(e){n.push(q5e(e))})),n}var V5e=function(e){function t(t){return null==t?Y5e():F5e(t)&&!l3e(t)?t:Y5e().withMutations((function(n){var r=e(t);S4e(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(r3e(e).keySeq())},t.intersect=function(e){return(e=n3e(e).toArray()).length?H5e.intersect.apply(t(e.pop()),e):Y5e()},t.union=function(e){return(e=n3e(e).toArray()).length?H5e.union.apply(t(e.pop()),e):Y5e()},t.prototype.toString=function(){return this.__toString("Set {","}")},t.prototype.has=function(e){return this._map.has(e)},t.prototype.add=function(e){return W5e(this,this._map.set(e,e))},t.prototype.remove=function(e){return W5e(this,this._map.remove(e))},t.prototype.clear=function(){return W5e(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 l6e(d4e(this,e))},t.prototype.sortBy=function(e,t){return l6e(d4e(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}(o3e);V5e.isSet=F5e;var K5e,H5e=V5e.prototype;function W5e(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 G5e(e,t){var n=Object.create(H5e);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function Y5e(){return K5e||(K5e=G5e(r5e()))}H5e["@@__IMMUTABLE_SET__@@"]=!0,H5e.delete=H5e.remove,H5e.merge=H5e.concat=H5e.union,H5e.withMutations=U4e,H5e.asImmutable=V4e,H5e["@@transducer/init"]=H5e.asMutable=q4e,H5e["@@transducer/step"]=function(e,t){return e.add(t)},H5e["@@transducer/result"]=function(e){return e.asImmutable()},H5e.__empty=Y5e,H5e.__make=G5e;var Q5e,$5e=function(e){function t(e,n,r){if(!(this instanceof t))return new t(e,n,r);if(_4e(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(Q5e)return Q5e;Q5e=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+H2e(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 G2e(e,n,this.size)?this:(e=Y2e(e,this.size),(n=Q2e(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 p3e((function(){if(o===n)return{value:void 0,done:!0};var a=i;return i+=t?-r:r,h3e(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:B5e(this,e)},t}(k3e);function Z5e(e,t,n){for(var r=k4e(t),i=0;i!==r.length;)if((e=I4e(e,r[i++],U2e))===U2e)return n;return e}function J5e(){S4e(this.size);var e={};return this.__iterate((function(t,n){e[n]=t})),e}n3e.isIterable=J2e,n3e.isKeyed=X2e,n3e.isIndexed=e3e,n3e.isAssociative=t3e,n3e.isOrdered=l3e,n3e.Iterator=p3e,U5e(n3e,{toArray:function(){S4e(this.size);var e=new Array(this.size||0),t=X2e(this),n=0;return this.__iterate((function(r,i){e[n++]=t?[i,r]:r})),e},toIndexedSeq:function(){return new e4e(this)},toJS:function(){return q5e(this)},toKeyedSeq:function(){return new X3e(this,!0)},toMap:function(){return H4e(this.toKeyedSeq())},toObject:J5e,toOrderedMap:function(){return O5e(this.toKeyedSeq())},toOrderedSet:function(){return l6e(X2e(this)?this.valueSeq():this)},toSet:function(){return V5e(X2e(this)?this.valueSeq():this)},toSetSeq:function(){return new t4e(this)},toSeq:function(){return e3e(this)?this.toIndexedSeq():X2e(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return A5e(X2e(this)?this.valueSeq():this)},toList:function(){return h5e(X2e(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 m4e(this,c4e(this,e))},includes:function(e){return this.some((function(t){return L3e(t,e)}))},entries:function(){return this.__iterator(2)},every:function(e,t){S4e(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 m4e(this,a4e(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 S4e(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){S4e(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 m4e(this,i4e(this,e,t))},reduce:function(e,t,n){return n6e(this,e,t,n,arguments.length<2,!1)},reduceRight:function(e,t,n){return n6e(this,e,t,n,arguments.length<2,!0)},reverse:function(){return m4e(this,o4e(this,!0))},slice:function(e,t){return m4e(this,s4e(this,e,t,!0))},some:function(e,t){return!this.every(o6e(e),t)},sort:function(e){return m4e(this,d4e(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 K2e(e?this.toSeq().filter(e,t):this)},countBy:function(e,t){return function(e,t,n){var r=H4e().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 B5e(this,e)},entrySeq:function(){var e=this;if(e._cache)return new E3e(e._cache);var t=e.toSeq().map(i6e).toIndexedSeq();return t.fromEntrySeq=function(){return e.toSeq()},t},filterNot:function(e,t){return this.filter(o6e(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(W2e,null,e)},flatMap:function(e,t){return m4e(this,function(e,t,n){var r=v4e(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 m4e(this,l4e(this,e,!0))},fromEntrySeq:function(){return new n4e(this)},get:function(e,t){return this.find((function(t,n){return L3e(n,e)}),void 0,t)},getIn:function(e,t){return Z5e(this,e,t)},groupBy:function(e,t){return function(e,t,n){var r=X2e(e),i=(l3e(e)?O5e():H4e()).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=v4e(e);return i.map((function(t){return m4e(e,o(t))})).asImmutable()}(this,e,t)},has:function(e){return this.get(e,U2e)!==U2e},hasIn:function(e){return function(e,t){return Z5e(e,t,U2e)!==U2e}(this,e)},isSubset:function(e){return e="function"==typeof e.includes?e:n3e(e),this.every((function(t){return e.includes(t)}))},isSuperset:function(e){return(e="function"==typeof e.isSubset?e:n3e(e)).isSubset(this)},keyOf:function(e){return this.findKey((function(t){return L3e(t,e)}))},keySeq:function(){return this.toSeq().map(r6e).toIndexedSeq()},last:function(e){return this.toSeq().reverse().first(e)},lastKeyOf:function(e){return this.toKeyedSeq().reverse().keyOf(e)},max:function(e){return f4e(this,e)},maxBy:function(e,t){return f4e(this,t,e)},min:function(e){return f4e(this,e?a6e(e):u6e)},minBy:function(e,t){return f4e(this,t?a6e(t):u6e,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 m4e(this,u4e(this,e,t,!0))},skipUntil:function(e,t){return this.skipWhile(o6e(e),t)},sortBy:function(e,t){return m4e(this,d4e(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 m4e(this,function(e,t,n){var r=y4e(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 p3e((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:h3e(r,u,c,e):(s=!1,{value:void 0,done:!0})}))},r}(this,e,t))},takeUntil:function(e,t){return this.takeWhile(o6e(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=l3e(e),n=X2e(e),r=t?1:0;return function(e,t){return t=F3e(t,3432918353),t=F3e(t<<15|t>>>-15,461845907),t=F3e(t<<13|t>>>-13,5),t=F3e((t=(t+3864292196|0)^e)^t>>>16,2246822507),t=z3e((t=F3e(t^t>>>13,3266489909))^t>>>16)}(e.__iterate(n?t?function(e,t){r=31*r+c6e(U3e(e),U3e(t))|0}:function(e,t){r=r+c6e(U3e(e),U3e(t))|0}:t?function(e){r=31*r+U3e(e)|0}:function(e){r=r+U3e(e)|0}),r)}(this))}});var X5e=n3e.prototype;X5e["@@__IMMUTABLE_ITERABLE__@@"]=!0,X5e[f3e]=X5e.values,X5e.toJSON=X5e.toArray,X5e.__toStringMapper=E4e,X5e.inspect=X5e.toSource=function(){return this.toString()},X5e.chain=X5e.flatMap,X5e.contains=X5e.includes,U5e(r3e,{flip:function(){return m4e(this,r4e(this))},mapEntries:function(e,t){var n=this,r=0;return m4e(this,this.toSeq().map((function(i,o){return e.call(t,[o,i],r++,n)})).fromEntrySeq())},mapKeys:function(e,t){var n=this;return m4e(this,this.toSeq().flip().map((function(r,i){return e.call(t,r,i,n)})).flip())}});var e6e=r3e.prototype;e6e["@@__IMMUTABLE_KEYED__@@"]=!0,e6e[f3e]=X5e.entries,e6e.toJSON=J5e,e6e.__toStringMapper=function(e,t){return E4e(t)+": "+E4e(e)},U5e(i3e,{toKeyedSeq:function(){return new X3e(this,!1)},filter:function(e,t){return m4e(this,a4e(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 m4e(this,o4e(this,!1))},slice:function(e,t){return m4e(this,s4e(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=Y2e(e,e<0?this.count():this.size);var r=this.slice(0,e);return m4e(this,1===n?r:r.concat(x4e(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 m4e(this,l4e(this,e,!1))},get:function(e,t){return(e=H2e(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=H2e(this,e))>=0&&(void 0!==this.size?this.size===1/0||e<this.size:-1!==this.indexOf(e))},interpose:function(e){return m4e(this,function(e,t){var n=y4e(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 p3e((function(){return(!i||a%2)&&(i=o.next()).done?i:a%2?h3e(n,a++,t):h3e(n,a++,i.value,i)}))},n}(this,e))},interleave:function(){var e=[this].concat(x4e(arguments)),t=h4e(this.toSeq(),k3e.of,e),n=t.flatten(!0);return t.size&&(n.size=t.size*e.length),m4e(this,n)},keySeq:function(){return $5e(0,this.size)},last:function(e){return this.get(-1,e)},skipWhile:function(e,t){return m4e(this,u4e(this,e,t,!1))},zip:function(){var e=[this].concat(x4e(arguments));return m4e(this,h4e(this,s6e,e))},zipAll:function(){var e=[this].concat(x4e(arguments));return m4e(this,h4e(this,s6e,e,!0))},zipWith:function(e){var t=x4e(arguments);return t[0]=this,m4e(this,h4e(this,e,t))}});var t6e=i3e.prototype;function n6e(e,t,n,r,i,o){return S4e(e.size),e.__iterate((function(e,o,a){i?(i=!1,n=e):n=t.call(r,n,e,o,a)}),o),n}function r6e(e,t){return t}function i6e(e,t){return[t,e]}function o6e(e){return function(){return!e.apply(this,arguments)}}function a6e(e){return function(){return-e.apply(this,arguments)}}function s6e(){return x4e(arguments)}function u6e(e,t){return e<t?1:e>t?-1:0}function c6e(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}t6e["@@__IMMUTABLE_INDEXED__@@"]=!0,t6e[c3e]=!0,U5e(o3e,{get:function(e,t){return this.has(e)?e:t},includes:function(e){return this.has(e)},keySeq:function(){return this.valueSeq()}}),o3e.prototype.has=X5e.includes,o3e.prototype.contains=o3e.prototype.includes,U5e(S3e,r3e.prototype),U5e(k3e,i3e.prototype),U5e(C3e,o3e.prototype);var l6e=function(e){function t(e){return null==e?h6e():z5e(e)?e:h6e().withMutations((function(t){var n=o3e(e);S4e(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(r3e(e).keySeq())},t.prototype.toString=function(){return this.__toString("OrderedSet {","}")},t}(V5e);l6e.isOrderedSet=z5e;var d6e,f6e=l6e.prototype;function p6e(e,t){var n=Object.create(f6e);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function h6e(){return d6e||(d6e=p6e(N5e()))}f6e[c3e]=!0,f6e.zip=t6e.zip,f6e.zipWith=t6e.zipWith,f6e.__empty=h6e,f6e.__make=p6e;var m6e={exports:{}};
146
146
  /*!
147
147
  Copyright (c) 2015 Jed Watson.
148
148
  Based on code that is Copyright 2013-2015, Facebook, Inc.