@livetiles/reach-components-react 0.4.0-preview.360 → 0.4.0-preview.361

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.umd.js CHANGED
@@ -160,7 +160,7 @@ var Rhe=function(){return Rhe=Object.assign||function(e){for(var t,n=1,i=argumen
160
160
  object-assign
161
161
  (c) Sindre Sorhus
162
162
  @license MIT
163
- */function Gje(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}var qje=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 i=Object.getOwnPropertyNames(t).map((function(e){return t[e]}));if("0123456789"!==i.join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,i,r=Gje(e),a=1;a<arguments.length;a++){for(var o in n=Object(arguments[a]))zje.call(n,o)&&(r[o]=n[o]);if(Oje){i=Oje(n);for(var s=0;s<i.length;s++)Bje.call(n,i[s])&&(r[i[s]]=n[i[s]])}}return r},Uje="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",Hje=function(){};if("production"!==process.env.NODE_ENV){var Wje=Uje,Yje={},Vje=Function.call.bind(Object.prototype.hasOwnProperty);Hje=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}}function Kje(e,t,n,i,r){if("production"!==process.env.NODE_ENV)for(var a in e)if(Vje(e,a)){var o;try{if("function"!=typeof e[a]){var s=Error((i||"React class")+": "+n+" type `"+a+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[a]+"`.");throw s.name="Invariant Violation",s}o=e[a](t,a,i,n,null,Wje)}catch(e){o=e}if(!o||o instanceof Error||Hje((i||"React class")+": type specification of "+n+" `"+a+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof o+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),o instanceof Error&&!(o.message in Yje)){Yje[o.message]=!0;var l=r?r():"";Hje("Failed "+n+" type: "+o.message+(null!=l?l:""))}}}Kje.resetWarningCache=function(){"production"!==process.env.NODE_ENV&&(Yje={})};var Qje=Kje,Jje=w.default,Zje=qje,$je=Uje,Xje=Qje,eNe=Function.call.bind(Object.prototype.hasOwnProperty),tNe=function(){};function nNe(){return null}"production"!==process.env.NODE_ENV&&(tNe=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}});function iNe(){}function rNe(){}rNe.resetWarningCache=iNe;if("production"!==process.env.NODE_ENV){var aNe=w.default;Rje.exports=function(e,t){var n="function"==typeof Symbol&&Symbol.iterator,i="<<anonymous>>",r={array:l("array"),bool:l("boolean"),func:l("function"),number:l("number"),object:l("object"),string:l("string"),symbol:l("symbol"),any:s(nNe),arrayOf:function(e){return s((function(t,n,i,r,a){if("function"!=typeof e)return new o("Property `"+a+"` of component `"+i+"` has invalid PropType notation inside arrayOf.");var s=t[n];if(!Array.isArray(s))return new o("Invalid "+r+" `"+a+"` of type `"+c(s)+"` supplied to `"+i+"`, expected an array.");for(var l=0;l<s.length;l++){var u=e(s,l,i,r,a+"["+l+"]",$je);if(u instanceof Error)return u}return null}))},element:s((function(t,n,i,r,a){var s=t[n];return e(s)?null:new o("Invalid "+r+" `"+a+"` of type `"+c(s)+"` supplied to `"+i+"`, expected a single ReactElement.")})),elementType:s((function(e,t,n,i,r){var a=e[t];return Jje.isValidElementType(a)?null:new o("Invalid "+i+" `"+r+"` of type `"+c(a)+"` supplied to `"+n+"`, expected a single ReactElement type.")})),instanceOf:function(e){return s((function(t,n,r,a,s){if(!(t[n]instanceof e)){var l=e.name||i;return new o("Invalid "+a+" `"+s+"` of type `"+((u=t[n]).constructor&&u.constructor.name?u.constructor.name:i)+"` supplied to `"+r+"`, expected instance of `"+l+"`.")}var u;return null}))},node:s((function(e,t,n,i,r){return u(e[t])?null:new o("Invalid "+i+" `"+r+"` supplied to `"+n+"`, expected a ReactNode.")})),objectOf:function(e){return s((function(t,n,i,r,a){if("function"!=typeof e)return new o("Property `"+a+"` of component `"+i+"` has invalid PropType notation inside objectOf.");var s=t[n],l=c(s);if("object"!==l)return new o("Invalid "+r+" `"+a+"` of type `"+l+"` supplied to `"+i+"`, expected an object.");for(var u in s)if(eNe(s,u)){var d=e(s,u,i,r,a+"."+u,$je);if(d instanceof Error)return d}return null}))},oneOf:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&tNe(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."),nNe;function t(t,n,i,r,s){for(var l=t[n],u=0;u<e.length;u++)if(a(l,e[u]))return null;var c=JSON.stringify(e,(function(e,t){return"symbol"===d(t)?String(t):t}));return new o("Invalid "+r+" `"+s+"` of value `"+String(l)+"` supplied to `"+i+"`, expected one of "+c+".")}return s(t)},oneOfType:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&tNe("Invalid argument supplied to oneOfType, expected an instance of array."),nNe;for(var t=0;t<e.length;t++){var n=e[t];if("function"!=typeof n)return tNe("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+f(n)+" at index "+t+"."),nNe}return s((function(t,n,i,r,a){for(var s=0;s<e.length;s++)if(null==(0,e[s])(t,n,i,r,a,$je))return null;return new o("Invalid "+r+" `"+a+"` supplied to `"+i+"`.")}))},shape:function(e){return s((function(t,n,i,r,a){var s=t[n],l=c(s);if("object"!==l)return new o("Invalid "+r+" `"+a+"` of type `"+l+"` supplied to `"+i+"`, expected `object`.");for(var u in e){var d=e[u];if(d){var f=d(s,u,i,r,a+"."+u,$je);if(f)return f}}return null}))},exact:function(e){return s((function(t,n,i,r,a){var s=t[n],l=c(s);if("object"!==l)return new o("Invalid "+r+" `"+a+"` of type `"+l+"` supplied to `"+i+"`, expected `object`.");var u=Zje({},t[n],e);for(var d in u){var f=e[d];if(!f)return new o("Invalid "+r+" `"+a+"` key `"+d+"` supplied to `"+i+"`.\nBad object: "+JSON.stringify(t[n],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var p=f(s,d,i,r,a+"."+d,$je);if(p)return p}return null}))}};function a(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function o(e){this.message=e,this.stack=""}function s(e){if("production"!==process.env.NODE_ENV)var n={},r=0;function a(a,s,l,u,c,d,f){if(u=u||i,d=d||l,f!==$je){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=u+":"+l;!n[h]&&r<3&&(tNe("You are manually calling a React.PropTypes validation function for the `"+d+"` prop on `"+u+"`. 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,r++)}}return null==s[l]?a?null===s[l]?new o("The "+c+" `"+d+"` is marked as required in `"+u+"`, but its value is `null`."):new o("The "+c+" `"+d+"` is marked as required in `"+u+"`, but its value is `undefined`."):null:e(s,l,u,c,d)}var s=a.bind(null,!1);return s.isRequired=a.bind(null,!0),s}function l(e){return s((function(t,n,i,r,a,s){var l=t[n];return c(l)!==e?new o("Invalid "+r+" `"+a+"` of type `"+d(l)+"` supplied to `"+i+"`, expected `"+e+"`."):null}))}function u(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(u);if(null===t||e(t))return!0;var i=function(e){var t=e&&(n&&e[n]||e["@@iterator"]);if("function"==typeof t)return t}(t);if(!i)return!1;var r,a=i.call(t);if(i!==t.entries){for(;!(r=a.next()).done;)if(!u(r.value))return!1}else for(;!(r=a.next()).done;){var o=r.value;if(o&&!u(o[1]))return!1}return!0;default:return!1}}function c(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=c(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 o.prototype=Error.prototype,r.checkPropTypes=Xje,r.resetWarningCache=Xje.resetWarningCache,r.PropTypes=r,r}(aNe.isElement,!0)}else Rje.exports=function(){function e(e,t,n,i,r,a){if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==a){var o=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 o.name="Invariant Violation",o}}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:rNe,resetWarningCache:iNe};return n.PropTypes=n,n}();var oNe=Rje.exports,sNe=Object.freeze({__proto__:null,useCurrentUser:i0,useAccountApi:I0,useAuthenticationContext:BF,useEnvironmentConfig:Tg,useNotificationContext:P9,usePromise:IF,LinkContext:gx,TextLink:OPe,logger:im,createId:am,ResourceContext:kx,usePluginSettings:function(){var e=i.useContext(R2).settings;return null!=e?e:{}},usePluginStorage:j3,usePluginDeviceStore:j3,usePluginSubscriptionStore:function(){return i.useContext(R2).subscriptionStore},usePluginSubscriptionStoreValue:function(e,t){var n=i.useContext(R2).subscriptionStore,r=IF((function(){return n.get(e)}),void 0,aV(aV([],t||[]),[e])),a=r[0],o=r[1],s=r[2],l=r[3];return{data:a,set:function(t){return l(t),n.set(e,t)},isLoading:o,error:s,refresh:r[4],remove:function(){return l(void 0),n.delete(e)}}},usePluginUserStore:function(){return i.useContext(R2).userStore},usePluginUserStoreValue:function(e,t){var n=i.useContext(R2).userStore,r=IF((function(){return n.get(e)}),void 0,aV(aV([],t||[]),[e])),a=r[0],o=r[1],s=r[2],l=r[3];return{data:a,set:function(t){return l(t),n.set(e,t)},isLoading:o,error:s,refresh:r[4],remove:function(){return l(void 0),n.delete(e)}}},useReachApiEndPoints:function(){return{apiEndpoint:Ag().apiEndpoint}},AccountType:BX,PeoplePicker:Xye,GutterToggle:function(e){var n=e.checked,i=e.readOnly,r=e.onChange,a=e.className,o=e.iconName,s=e.activeIconName,l=e.tooltipResourceKey,u=e.ariaLabelResourceKey,c=HE().formatMessage,d=n?s||o||"CheckboxComposite":o||"Checkbox";return t.jsx(Hye,Rhe({className:a},{children:i?t.jsx(Yye,{},void 0):t.jsx(Sye,Rhe({resourceKey:l},{children:t.jsx(Wye,{iconProps:{iconName:d},onClick:function(){return r(!n)},ariaLabel:u?c({id:u}):null},void 0)}),void 0)}),void 0)},EditorSettingsDialog:qye,Spinner:o.Spinner,SelectionMode:o.SelectionMode,EditorHighlight:function(e){var n=e.tooltipResourceKey,i=e.className,r=Ohe(e,["tooltipResourceKey","className"]);return t.jsx(Sye,Rhe({resourceKey:n,className:i},{children:t.jsx(Pye,Rhe({},r,{"data-highlight-bubble":!0}),void 0)}),void 0)},useTheme:function(){return i.useContext(J6).theme},useSubscriptionHandlePathBuilder:P2});var lNe=[{name:"@reach/core",packageDefinition:Rhe({default:{}},sNe)}],uNe=[{name:"react",packageDefinition:Rhe(Rhe({},m.default),{default:m.default})},{name:"react-dom",packageDefinition:Rhe(Rhe({},y),{default:y})},{name:"react-is",packageDefinition:Rhe(Rhe({},w.default),{default:w.default})},{name:"prop-types",packageDefinition:Rhe({default:oNe},oNe)},{name:"react-router-dom",packageDefinition:Rhe({},v)},{name:"styled-components",packageDefinition:{default:_.default,createGlobalStyle:a.createGlobalStyle,css:a.css,useTheme:a.useTheme,isStyledComponent:a.isStyledComponent,keyframes:a.keyframes,withTheme:a.withTheme,ThemeProvider:a.ThemeProvider,ThemeContext:a.ThemeContext,ThemeConsumer:a.ThemeConsumer}},{name:"office-ui-fabric-react",packageDefinition:{default:{},Checkbox:o.Checkbox,Label:o.Label,PrimaryButton:o.PrimaryButton,Icon:o.Icon,Link:o.Link,TextField:o.TextField,ActionButton:o.ActionButton,IconButton:o.IconButton,DefaultButton:o.DefaultButton,Spinner:o.Spinner,Dropdown:o.Dropdown,ProgressIndicator:o.ProgressIndicator,Shimmer:o.Shimmer,ShimmerElementsGroup:o.ShimmerElementsGroup,ShimmerElementType:o.ShimmerElementType,DirectionalHint:o.DirectionalHint,PersonaSize:o.PersonaSize,TooltipHost:o.TooltipHost,DialogType:o.DialogType,Dialog:Hhe}},{name:"react-intl",packageDefinition:{default:{},FormattedMessage:cx,useIntl:HE,FormattedDate:dx,FormattedTime:fx,IntlProvider:XE}},{name:"@apollo/client",packageDefinition:{default:{},gql:UM,useQuery:function(e,t){return lj(e,t,!1)},ApolloClient:jM,ApolloProvider:XM,from:cL,ApolloLink:uL,fromPromise:iL,split:dL,HttpLink:bL,InMemoryCache:gM,useLazyQuery:function(e,t){return lj(e,t,!0)},useMutation:function(e,t){var n=i.useContext(ZM()),r=i.useState({called:!1,loading:!1}),a=r[0],o=r[1],s=t?Fa(Fa({},t),{mutation:e}):{mutation:e},l=i.useRef(),u=(l.current||(l.current=new aj({options:s,context:n,result:a,setResult:o})),l.current);return u.setOptions(s),u.context=n,i.useEffect((function(){return u.afterExecute()})),u.execute(a)},ApolloError:vM,useApolloClient:ej,useSubscription:function(e,t){var n=i.useReducer((function(e){return e+1}),0)[1],r=i.useContext(ZM()),a=t?Fa(Fa({},t),{subscription:e}):{subscription:e},o=i.useState({loading:!a.skip,error:void 0,data:void 0}),s=o[0],l=o[1],u=i.useRef(),c=(u.current||(u.current=new rj({options:a,context:r,setResult:l})),u.current);return c.setOptions(a,!0),c.context=r,__DEV__&&sj(n),i.useEffect((function(){return c.afterExecute()})),i.useEffect((function(){return function(){c.cleanup(),u.current=void 0}}),[]),c.execute(s)}}},{name:"subscriptions-transport-ws",packageDefinition:{default:{},SubscriptionClient:dN}},{name:"@apollo/client/link/ws",packageDefinition:{default:{},WebSocketLink:xN}},{name:"@apollo/client/utilities",packageDefinition:{default:{},getMainDefinition:ZA}},{name:"@apollo/client/link/context",packageDefinition:{default:{},setContext:uj}}],cNe=function(e){var n=e.onRequestToken,r=e.children,a=e.subscriptionId,o=i.useState(null),s=o[0],l=o[1],u=i.useMemo((function(){return{onRequestToken:null!=n?n:function(){return Promise.resolve(s)},getIsAuthenticated:function(){return Ea(void 0,void 0,void 0,(function(){return xa(this,(function(e){return[2,null!=n||null!=s]}))}))},getCurrentEmail:function(){return Ea(void 0,void 0,void 0,(function(){return xa(this,(function(e){return[2,null]}))}))},setToken:l,onHandleError:function(e,t){return Ea(void 0,void 0,void 0,(function(){return xa(this,(function(n){return im.error(e,t),[2,Promise.reject(e)]}))}))}}}),[a,s]);return t.jsx(zF.Provider,Fa({value:u},{children:r}),void 0)},dNe="0.4.0-preview.360",fNe="100978",pNe="0d99f8f5f8ebf2d01040f3b06ffc4796a796f542",hNe=Y,gNe=O,mNe=xn("match"),vNe=function(e){var t;return hNe(e)&&(void 0!==(t=e[mNe])?!!t:"RegExp"==gNe(e))},_Ne=xn("match"),bNe=function(e){if(vNe(e))throw TypeError("The method doesn't accept regular expressions");return e},yNe=q,wNe=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[_Ne]=!1,"/./"[e](t)}catch(e){}}return!1};cn({target:"String",proto:!0,forced:!wNe("includes")},{includes:function(e){return!!~String(yNe(this)).indexOf(bNe(e),arguments.length>1?arguments[1]:void 0)}});var FNe,kNe,ENe={configType:"local",authentication:{azuread:{clientId:"781a9147-6ddc-43fb-9cce-e01d7838ffe6",apiScope:"api://781a9147-6ddc-43fb-9cce-e01d7838ffe6/access_as_user",extraScopes:["https://graph.microsoft.com/User.Read","https://graph.microsoft.com/User.ReadBasic.All"],basePolicyUrl:"https://login.microsoftonline.com/",signInPolicy:"common"},b2c:{postLogoutRedirectUri:"https://livetilesglobal.com/products/livetiles-reach",clientId:"b13f12ba-c1c5-41da-8e22-1252b5fed0e4",basePolicyUrl:"https://condenseappexternaldev.b2clogin.com/condenseappexternaldev.onmicrosoft.com/",signInPolicy:"B2C_1_SignInSignUpPolicy",forgotPasswordPolicy:"B2C_1_ResetPasswordPolicy",apiScope:"https://condenseappexternaldev.onmicrosoft.com/web/access_as_user"},teams:{clientId:"c17acfe6-6106-47e6-b9ac-12c6a9e78db6",scopes:["email","openid","profile","offline_access"],extraScopes:["https://graph.microsoft.com/User.Read","https://graph.microsoft.com/User.ReadBasic.All"],basePolicyUrl:"https://login.microsoftonline.com/"}},apiEndpoint:"http://localhost:5000/api/v1",api2Endpoint:"http://localhost:5000/api/v2",api3Endpoint:"http://localhost:5000/api/v3",webSocketsEndpoint:"ws://localhost:5000/api/v2",productWebsite:"https://reach.livetilesglobal.com/",supportUrl:"https://support.livetilesglobal.com/hc/en-us/categories/360001273732-Reach",releaseNotesUrl:"https://support.livetilesglobal.com/hc/en-us/sections/900001715263-Reach",privacyUrl:"https://livetilesglobal.com/livetiles-privacy-policy",eulaUrl:"https://livetilesglobal.com/livetiles-privacy-policy",unsplash:{appName:"Condense",apiKey:"N/A",clientId:"8b17ad8ed176954881976b7e08a2a6305d01b9b708455c14bbd43780ff6b62ba"},canva:{apiKey:"6vvsr2srHeve85SXxMX1k1LD"},zendeskMessaging:{enable:!0,apiKey:"816bfec7-3beb-457a-a4a1-f462c9cb403f"},webAppUrl:"http://localhost:3000",hyperfish:{regionJumperUrl:"https://antrearegionjumper.azurewebsites.net/api/antrearegionjumper",regionJumperKey:"T1YDqmyQX/bXhFapRLdaPBenzRLMCCNafSVwzmwI7fYnkwj6wLL0Hg=="},maxFileSizeInMb:100,giphy:{apiKey:"idBrSgzpBdNCqLmXPRaoHz9DFGKK79wU"},userflow:{userflowToken:"ct_gjkrqpboc5edlg6vduhnxfti3e"},oneSignal:{appId:"dd89af4f-325e-447e-a030-654043cfbc6a"}},xNe={configType:"production",authentication:{azuread:{clientId:"d492530a-8cff-481c-90da-9c3c3f1be7da",apiScope:"api://d492530a-8cff-481c-90da-9c3c3f1be7da/access_as_user",extraScopes:["https://graph.microsoft.com/User.Read","https://graph.microsoft.com/User.ReadBasic.All"]},b2c:{clientId:"cc9987a7-c666-4be1-a81c-f80dba7ef2e9",basePolicyUrl:"https://condenseappexternal.b2clogin.com/condenseappexternal.onmicrosoft.com/",signInPolicy:"B2C_1_SignInSignUpPolicy",forgotPasswordPolicy:"B2C_1_ResetPasswordPolicy",apiScope:"https://condenseappexternal.onmicrosoft.com/web/access_as_user"},teams:{clientId:"a7c1920d-3ac0-42db-9757-078a2b321fd8"},teamsAustralia:{clientId:"29942469-c421-4026-92ef-9bf24a6fc08c"}},apiEndpoint:"https://api.reach.livetiles.io/api/v1",api2Endpoint:"https://api.reach.livetiles.io/api/v2",api3Endpoint:"https://api.reach.livetiles.io/api/v3",webSocketsEndpoint:"wss://ws.reach.livetiles.io/api/v2",webAppUrl:"https://reach.livetiles.io",additionalWebAppUrls:["https://app.reach.livetiles.io","https://app.condense.ch"],appInsightsKey:"c4758fee-1409-47a9-a508-03efd775256c",canva:{apiKey:"mYnapNU5aDqD-1xEMFZkpdzT"},giphy:{apiKey:"jqAFrpqGDwOFqeu8Rn6YfjRGkKhlxZyn"},userflow:{userflowToken:"ct_3um627fkk5cxvnkwawnaf2b4gy"},oneSignal:{appId:"47a684a5-e9e0-4aaf-84b8-9f3e6585b292"}},CNe=["//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"],SNe=function(e){var n=e.children,r=Ag().apiEndpoint,a=i.useMemo((function(){return function(e){return"number"!=typeof e.maxFileSizeInMb&&(e.maxFileSizeInMb=parseInt(e.maxFileSizeInMb)),e}(function(){var e=!CNe.some((function(e){return r.toLowerCase().includes(e)}));if(!e)return im.info("Will use non prod client config..."),Fa({},ENe);return Fa(Fa({},ENe),xNe)}())}),[r]);return t.jsx(Ug.Provider,Fa({value:a},{children:n}),void 0)},DNe=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 Ea(this,void 0,void 0,(function(){return xa(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 Ea(this,void 0,void 0,(function(){return xa(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}(),PNe=new DNe,ANe=function(e){var n=e.subscriptionId,i=e.children;return e.shouldUsePublicAccess?t.jsx(TNe,Fa({subscriptionId:n},{children:i}),void 0):t.jsx(t.Fragment,{children:i},void 0)},TNe=function(e){var n=e.subscriptionId,r=e.children,a=i.useContext(zF).setToken,o=vx(),s=function(){var e=eU().fetchFromApi,t=tU();return i.useMemo((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=eU().fetchFromApi,u=i.useContext(hx),c=u.handleFatalError,d=u.handleAccessDeniedError,f=IF((function(){return Ea(this,void 0,void 0,(function(){var e,t,i;return xa(this,(function(r){switch(r.label){case 0:return e="Reach::PublicAccessToken::"+n,[4,o.getString(e)];case 1:return(t=r.sent())?(a(t),[2,!0]):[4,s(n)];case 2:return r.sent().allowPublicAccess?[4,v(n)]:[3,5];case 3:return i=r.sent(),a(i),[4,o.setString(e,i)];case 4:return r.sent(),[2,!0];case 5:return[2,!1]}}))}))}),!1,[n]),p=f[0],h=f[1],g=f[2];if(g)return im.error(g),c({error:g}),null;if(h)return null;if(!p){var m={message:"Public access is not enabled for the subscription "+n+"!"};return im.error(m.message),d({error:m}),null}return t.jsx(t.Fragment,{children:r},void 0);function v(e){return l("/subscriptions/"+e+"/public_access_token").then((function(e){return e.status<=200?e.text():Promise.reject(e.status)}))}},LNe=function(e){var n=e.children,r=i.useState(),a=r[0],o=r[1],s=i.useState(),l=s[0],u=s[1],c=i.useState(),d=c[0],f=c[1],p=i.useMemo((function(){return{handleFatalError:o,handleAccessDeniedError:u,handleNotFoundError:f}}),[o,u,f]);return t.jsx(hx.Provider,Fa({value:p},{children:t.jsx(INe,Fa({fatalError:a,notFoundError:d,accessDeniedError:l},{children:n}),void 0)}),void 0)},INe=function(e){var n=e.fatalError,i=e.accessDeniedError,r=e.notFoundError,a=e.children;return n?t.jsx(MNe,{messageId:n.messageId,error:n.error},void 0):i?t.jsx(MNe,{messageId:"AccessDenied.genericMessage",error:i.error},void 0):r?t.jsx(MNe,{messageId:"NotFound.message"},void 0):t.jsx(t.Fragment,{children:a},void 0)},MNe=function(e){var n=e.messageId,r=e.error,a=HE().formatMessage,o=i.useState(!1),s=o[0],l=o[1];return t.jsx(xje,Fa({errorType:kje.GenericError,alertText:a({id:n||"FatalError.genericMessage"}),onClick:function(){return l(!s)}},{children:s&&t.jsxs(jNe,{children:[t.jsx(cx,{id:"Generic.error.details"},void 0),t.jsx(NNe,{children:JSON.stringify(r)||"Not provided"},void 0)]},void 0)}),void 0)},jNe=_.default.div.withConfig({displayName:"ReachErrorProvider__DetailsContainer",componentId:"sc-15225g3-0"})(FNe||(FNe=Ia(["\n margin-top: ","px;\n"],["\n margin-top: ","px;\n"])),o9),NNe=_.default.p.withConfig({displayName:"ReachErrorProvider__Details",componentId:"sc-15225g3-1"})(kNe||(kNe=Ia(["\n opacity: 0.4;\n font-size: small;\n"],["\n opacity: 0.4;\n font-size: small;\n"]))),RNe=function(e){var n=e.children,r=i.useMemo((function(){return{onShare:function(){return Ea(void 0,void 0,void 0,(function(){return xa(this,(function(e){return[2,null]}))}))},onOpenExternalLink:a,tryGetInternalLink:function(){return null}}}),[]);return t.jsx(gx.Provider,Fa({value:r},{children:n}),void 0);function a(e){window.open(e,"_blank")}},ONe=function(){return null},zNe=Object.freeze({__proto__:null,Page:ONe,NavLinkSidebarItem:ONe,PageMenuActionItem:ONe});!function(){if(window.__is_reach_app)return;if(console.info("Reach Component Library: "+dNe+" ("+fNe+") ["+pNe+"]"),window.__did_initialize_reach_context)return;o.initializeIcons()}();var BNe=function(e){var n,r=e.children,a=i.useContext(J6).setTheme,o=M0().getCurrentUser,s=IF((function(){var e;return Ea(this,void 0,void 0,(function(){var t,n;return xa(this,(function(i){switch(i.label){case 0:return i.trys.push([0,2,,3]),[4,o()];case 1:return t=i.sent(),(null===(e=null==t?void 0:t.subscription)||void 0===e?void 0:e.theme)&&a(t.subscription.theme),[2,t];case 2:throw n=i.sent(),im.error(n),n;case 3:return[2]}}))}))})),l=s[0],u=s[1],c=s[2],d=s[3],f=i.useContext(hx),p=f.handleFatalError,h=f.handleNotFoundError,g=f.handleAccessDeniedError,m=i.useMemo((function(){return{user:l,refreshUser:function(e){return Promise.resolve(e&&d(e))}}}),[l]);return c?(403===(null===(n=null==c?void 0:c.response)||void 0===n?void 0:n.statusCode)?g({error:c}):p({error:c}),null):u?null:null==l?(h({}),null):t.jsx(t0.Provider,Fa({value:m},{children:r}),void 0)},GNe=function(){return i.useEffect((function(){var e=document.createElement("style");e.innerHTML="@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700');",document.head.appendChild(e)}),[]),t.jsxs(t.Fragment,{children:[t.jsx(cV,{},void 0),t.jsx(fV,{},void 0)]},void 0)};var qNe=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,UNe=/[\0-\x1F\x7F-\x9F]/,HNe=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,WNe=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\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 YNe(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 VNe(e){return Object.prototype.toString.call(e)}function KNe(e){return"[object Function]"===VNe(e)}function QNe(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var JNe={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};var ZNe={"http:":{validate:function(e,t,n){var i=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(i)?i.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,n){var i=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(i)?t>=3&&":"===e[t-3]||t>=3&&"/"===e[t-3]?0:i.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,n){var i=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(i)?i.match(n.re.mailto)[0].length:0}}},$Ne="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function XNe(e){var t=e.re=function(e){var t={};return t.src_Any=qNe.source,t.src_Cc=UNe.source,t.src_Z=HNe.source,t.src_P=WNe.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 i(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(i(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(i(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(i(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(i(t.tpl_host_fuzzy_test),"i");var r=[];function a(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 i={validate:null,link:null};if(e.__compiled__[t]=i,function(e){return"[object Object]"===VNe(e)}(n))return!function(e){return"[object RegExp]"===VNe(e)}(n.validate)?KNe(n.validate)?i.validate=n.validate:a(t,n):i.validate=function(e){return function(t,n){var i=t.slice(n);return e.test(i)?i.match(e)[0].length:0}}(n.validate),void(KNe(n.normalize)?i.normalize=n.normalize:n.normalize?a(t,n):i.normalize=function(e,t){t.normalize(e)});!function(e){return"[object String]"===VNe(e)}(n)?a(t,n):r.push(t)}})),r.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 o=Object.keys(e.__compiled__).filter((function(t){return t.length>0&&e.__compiled__[t]})).map(QNe).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+o+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+o+")","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 eRe(e,t){var n=e.__index__,i=e.__last_index__,r=e.__text_cache__.slice(n,i);this.schema=e.__schema__.toLowerCase(),this.index=n+t,this.lastIndex=i+t,this.raw=r,this.text=r,this.url=r}function tRe(e,t){var n=new eRe(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function nRe(e,t){if(!(this instanceof nRe))return new nRe(e,t);t||function(e){return Object.keys(e||{}).reduce((function(e,t){return e||JNe.hasOwnProperty(t)}),!1)}(e)&&(t=e,e={}),this.__opts__=YNe({},JNe,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=YNe({},ZNe,e),this.__compiled__={},this.__tlds__=$Ne,this.__tlds_replaced__=!1,this.re={},XNe(this)}nRe.prototype.add=function(e,t){return this.__schemas__[e]=t,XNe(this),this},nRe.prototype.set=function(e){return this.__opts__=YNe(this.__opts__,e),this},nRe.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var t,n,i,r,a,o,s,l;if(this.re.schema_test.test(e))for((s=this.re.schema_search).lastIndex=0;null!==(t=s.exec(e));)if(r=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+r;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(l=e.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||l<this.__index__)&&null!==(n=e.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))&&(a=n.index+n[1].length,(this.__index__<0||a<this.__index__)&&(this.__schema__="",this.__index__=a,this.__last_index__=n.index+n[0].length)),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&e.indexOf("@")>=0&&null!==(i=e.match(this.re.email_fuzzy))&&(a=i.index+i[1].length,o=i.index+i[0].length,(this.__index__<0||a<this.__index__||a===this.__index__&&o>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=a,this.__last_index__=o)),this.__index__>=0},nRe.prototype.pretest=function(e){return this.re.pretest.test(e)},nRe.prototype.testSchemaAt=function(e,t,n){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,n,this):0},nRe.prototype.match=function(e){var t=0,n=[];this.__index__>=0&&this.__text_cache__===e&&(n.push(tRe(this,t)),t=this.__last_index__);for(var i=t?e.slice(t):e;this.test(i);)n.push(tRe(this,t)),i=i.slice(this.__last_index__),t+=this.__last_index__;return n.length?n:null},nRe.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(),XNe(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,XNe(this),this)},nRe.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},nRe.prototype.onCompile=function(){};var iRe=nRe;function rRe(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 aRe(){return aRe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},aRe.apply(this,arguments)}function oRe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sRe(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function lRe(e,t,n){return t&&sRe(e.prototype,t),n&&sRe(e,n),e}function uRe(e){return uRe="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},uRe(e)}function cRe(e){return cRe="function"==typeof Symbol&&"symbol"===uRe(Symbol.iterator)?function(e){return uRe(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":uRe(e)},cRe(e)}function dRe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fRe(e,t){return!t||"object"!==cRe(t)&&"function"!=typeof t?dRe(e):t}function pRe(e){return pRe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},pRe(e)}function hRe(e,t){return hRe=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},hRe(e,t)}function gRe(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&&hRe(e,t)}function mRe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function vRe(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],i=!0,r=!1,a=void 0;try{for(var o,s=e[Symbol.iterator]();!(i=(o=s.next()).done)&&(n.push(o.value),!t||n.length!==t);i=!0);}catch(e){r=!0,a=e}finally{try{i||null==s.return||s.return()}finally{if(r)throw a}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function _Re(e,t){if(null==e)return{};var n,i,r=function(e,t){if(null==e)return{};var n,i,r={},a=Object.keys(e);for(i=0;i<a.length;i++)n=a[i],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)n=a[i],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function bRe(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function yRe(e){return function(e){if(Array.isArray(e))return bRe(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 bRe(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)?bRe(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 wRe=function(e){return e===Object(e)?Object.keys(e):[]},FRe=function(e){return e===Object(e)?Object.values(e):[]};function kRe(e,t){var n=Object.assign({},e);return CRe(e)&&CRe(t)&&wRe(t).forEach((function(i){CRe(t[i])&&i in e?n[i]=kRe(e[i],t[i]):Object.assign(n,H8({},i,t[i]))})),n}var ERe=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];return n.reduce((function(e,t){return kRe(e,t)}),e)},xRe=function(e,t){var n=Object.assign({},e);if(t)for(var i=0;i<t.length;i++)delete n[t[i]];return n},CRe=function(e){return!(e!==Object(e)||e instanceof Date||Array.isArray(e))},SRe=function(e){return(e||[]).filter(Boolean)},DRe=function(e){return"&"===e[0]},PRe=function(e){return!DRe(e)},ARe=function(e){return e.replace(/-(\w)/g,(function(e,t){return t.toUpperCase()}))},TRe=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=wRe(e),i={},r=0,a=n.length;r<a;r+=1){var o=n[r],s="[object Object]"!==Object.prototype.toString.call(e[o])||":"===o[0]||"@"===o[0]||t.indexOf(o)>=0;s&&(i[o]=e[o])}return i},LRe=function(e,t){for(var n=t.map(ARe),i=wRe(e),r={},a=0,o=i.length;a<o;a+=1){var s=i[a];(t.indexOf(s)>=0||n.indexOf(ARe(s))>=0)&&(r[s]=e[s])}return r},IRe=function e(t,n){for(var i=ERe.apply(void 0,[{},xRe(t,n)].concat(yRe(FRe(LRe(t,n))))),r=wRe(i).filter(DRe),a=0,o=r.length;a<o;a+=1){var s=r[a],l=e(i[s],n);n.indexOf(s)>=0?(delete i[s],i=ERe({},i,l)):i[s]=l}return i};function MRe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function jRe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?MRe(Object(n),!0).forEach((function(t){H8(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):MRe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var NRe=["animationName"],RRe=function(e){var t=e.style,n=e.className;return jRe(jRe({},t?{style:TRe(t,NRe)}:{}),n?{className:n}:{})},ORe=i.createContext(RRe);ORe.Provider;var zRe=function(e){if(!e)return[];if("string"==typeof e)return[e];if(!Array.isArray(e)){var t=e;return wRe(e).reduce((function(e,n){return e.concat(t[n]?[n]:[])}),[])}return e},BRe={},GRe=function(e){return function(t,n){var i,r=n||BRe;e.memoize=e.memoize||new WeakMap,e.memoize.has(r)?i=e.memoize.get(r):(i={},e.memoize.set(r,i));var a=zRe(t).join(" ");return a in i?i[a]:i[a]=e(t||[],n)}};function qRe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function URe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?qRe(Object(n),!0).forEach((function(t){H8(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):qRe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var HRe=function(e){var t=e&&wRe(e)[0];return t&&t.split("__")[0].split("--")[0]},WRe=function(e,t,n){if(e){var i=e.split(" ")[0],r=[].concat(yRe(0===t.length?n.map((function(e){return"".concat(i,"--").concat(e.substring(1))})):[]),yRe(t.map((function(e){return"".concat(i,"__").concat(e)}))));return 0===t.length?[e].concat(yRe(r)):r}};function YRe(e){var t=e.style,n=e.className,i=e.classNames,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:RRe,a=n||HRe(i)||(null==t?void 0:t.className),o="function"==typeof t?t:GRe((function(e,n){var o=zRe(e);jhe(Array.isArray(o),"First parameter must be a string, an array of strings, a plain object with boolean values, or a falsy value."),jhe(!n||CRe(n),"Optional second parameter must be a plain object.");var s=o.filter(DRe),l=o.filter(PRe),u=l.length>0?function(e){return FRe(LRe(e,l))}:function(e){return[e]},c=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return u(IRe(e,s))},d=WRe(a,l,s);return YRe(URe(URe(URe({},(t||n)&&{style:ERe.apply(void 0,[{}].concat(yRe(c(n)),yRe(c(t))))}),d&&{className:d.join(" ")}),i&&{classNames:i}),r)})),s=URe({},"function"==typeof t?t:{style:t}),l=yRe(new Set([].concat(yRe(s.className?s.className.split(" "):[]),yRe(a?a.split(" "):[])))),u=i?SRe(l.map((function(e){return i[e]}))):l,c=r(URe(URe({},s),u.length>0?{className:u.join(" ")}:{}));return Object.assign(o,c),o}function VRe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function KRe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?VRe(Object(n),!0).forEach((function(t){H8(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):VRe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var QRe=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 KRe(KRe(KRe({},e),"function"==typeof t?t:{}),{},{style:KRe(KRe({},e.style),"function"==typeof t?t.style:t)})}),{})},JRe=function(e,t,n){var r=t.style,a=t.className,o=t.classNames,s=i.useContext(ORe);return i.useMemo((function(){return YRe({style:r,className:a,classNames:o},s)}),[r,a,o,s])(n,e)},ZRe=function(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")},$Re="__id__",XRe="__display__",eOe=function(e,t){jhe("id"===t||"display"===t,'Second arg must be either "id" or "display", got: "'.concat(t,'"'));var n=e.indexOf(XRe),i=e.indexOf($Re);return n<0&&(n=null),i<0&&(i=null),jhe(null!==n||null!==i,"The markup '".concat(e,"' does not contain either of the placeholders '__id__' or '__display__'")),null!==n&&null!==i?"id"===t&&i<=n||"display"===t&&n<=i?0:1:0},tOe=function(e){var t=/^\/(.+)\/(\w+)?$/;return new RegExp(e.map((function(e){var n=vRe(t.exec(e.toString()),3),i=n[1],r=n[2];return jhe(!r,"RegExp flags are not supported. Change /".concat(i,"/").concat(r," into /").concat(i,"/")),"(".concat(i,")")})).join("|"),"g")},nOe=function(e){var t=0;return e.indexOf("__id__")>=0&&t++,e.indexOf("__display__")>=0&&t++,t},iOe=function(){},rOe=function(e,t,n){for(var i,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:iOe,a=tOe(t.map((function(e){return e.regex}))),o=2,s=t.map((function(e){var t=e.markup,n=o;return o+=nOe(t)+1,n})),l=0,u=0;null!==(i=a.exec(e));){var c=s.find((function(e){return!!i[e]})),d=s.indexOf(c),f=t[d],p=f.markup,h=f.displayTransform,g=c+eOe(p,"id"),m=c+eOe(p,"display"),v=i[g],_=h(v,i[m]),b=e.substring(l,i.index);r(b,l,u),u+=b.length,n(i[0],i.index,u,v,_,d,l),u+=_.length,l=a.lastIndex}l<e.length&&r(e.substring(l),l,u)},aOe=function(e,t){var n="";return rOe(e,t,(function(e,t,i,r,a){n+=a}),(function(e){n+=e})),n},oOe=function(e,t,n){var i,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"START";if("number"!=typeof n)return n;var a=function(e,t,r){void 0===i&&r+e.length>=n&&(i=t+n-r)},o=function(e,t,a,o,s,l,u){void 0===i&&a+s.length>n&&(i="NULL"===r?null:t+("END"===r?e.length:0))};return rOe(e,t,o,a),void 0===i?e.length:i},sOe=function(e,t,n,i){return e.substring(0,t)+i+e.substring(n)},lOe=function(e,t){var n=[];return rOe(e,t,(function(e,t,i,r,a,o,s){n.push({id:r,display:a,childIndex:o,index:t,plainTextIndex:i})})),n},uOe=function(e,t){return"".concat(e,"-").concat(t)},cOe=function(e){return Object.values(e).reduce((function(e,t){return e+t.results.length}),0)},dOe=function(e){var t=ZRe(e),n=e[e.indexOf(XRe)+XRe.length],i=e[e.indexOf($Re)+$Re.length];return new RegExp(t.replace(XRe,"([^".concat(ZRe(n||""),"]+?)")).replace($Re,"([^".concat(ZRe(i||""),"]+?)")))},fOe=function(e){return i.Children.toArray(e).map((function(e){var t=e.props,n=t.markup,i=t.regex,r=t.displayTransform;return{markup:n,regex:i?pOe(i,n):dOe(n),displayTransform:r||function(e,t){return t||e}}}))},pOe=function(e,t){var n=new RegExp(e.toString()+"|").exec("").length-1,i=nOe(t);return jhe(n===i,"Number of capturing groups in RegExp ".concat(e.toString()," (").concat(n,") does not match the number of placeholders in the markup '").concat(t,"' (").concat(i,")")),e},hOe=[{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}],gOe=function(e){return function(e){var t=e;return hOe.forEach((function(e){t=t.replace(e.letters,e.base)})),t}(e).toLowerCase()},mOe=function(e,t,n){return n?gOe(e).indexOf(gOe(t)):e.toLowerCase().indexOf(t.toLowerCase())},vOe=function(e){return"number"==typeof e},_Oe=function(e){return e===Object(e)?Object.keys(e):[]},bOe=function(e){for(var t,n=arguments.length,i=new Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];var a=(t=[]).concat.apply(t,i);return Object.keys(e).reduce((function(t,n){return e.hasOwnProperty(n)&&!a.includes(n)&&void 0!==e[n]&&(t[n]=e[n]),t}),{})};function yOe(e,t){return function(n){var i=function(i){var r=i.style,a=i.className,o=i.classNames,s=_Re(i,["style","className","classNames"]),l=t?t(s):void 0,u=JRe(e,{style:r,className:a,classNames:o},l);return m.default.createElement(n,aRe({},s,{style:u}))},r=n.displayName||n.name||"Component";return i.displayName="defaultStyle(".concat(r,")"),i}}var wOe=function(e){function t(){var e;return oRe(this,t),mRe(dRe(e=fRe(this,pRe(t).apply(this,arguments))),"setCaretElement",(function(t){e.caretElement=t})),e.state={left:void 0,top:void 0},e}return gRe(t,e),lRe(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 i={left:t,top:n};this.setState(i),this.props.onCaretPositionChange(i)}}}},{key:"render",value:function(){var e,t=this,n=this.props,i=n.selectionStart,r=n.selectionEnd,a=n.value,o=n.style,s=n.children,l=n.containerRef,u=fOe(s);i===r&&(e=oOe(a,u,i,"START"));var c=[],d={},f=c,p=0;return rOe(a,u,(function(e,n,i,r,a,o,s){var l=function(e,t){return e.hasOwnProperty(t)?e[t]++:e[t]=0,t+"_"+e[t]}(d,r);f.push(t.getMentionComponentForMatch(r,a,o,l))}),(function(n,i,r){if(vOe(e)&&e>=i&&e<=i+n.length){var a=e-i;f.push(t.renderSubstring(n.substring(0,a),p)),f=[t.renderSubstring(n.substring(a),p)]}else f.push(t.renderSubstring(n,p));p++})),f.push(" "),f!==c&&c.push(this.renderHighlighterCaret(f)),m.default.createElement("div",aRe({},o,{ref:l}),c)}},{key:"renderSubstring",value:function(e,t){return m.default.createElement("span",aRe({},this.props.style("substring"),{key:t}),e)}},{key:"getMentionComponentForMatch",value:function(e,t,n,r){var a={id:e,display:t,key:r},o=i.Children.toArray(this.props.children)[n];return m.default.cloneElement(o,a)}},{key:"renderHighlighterCaret",value:function(e){return m.default.createElement("span",aRe({},this.props.style("caret"),{ref:this.setCaretElement,key:"caret"}),e)}}]),t}(i.Component);mRe(wOe,"propTypes",{selectionStart:NW.number,selectionEnd:NW.number,value:NW.string.isRequired,onCaretPositionChange:NW.func.isRequired,containerRef:NW.oneOfType([NW.func,NW.shape({current:"undefined"==typeof Element?NW.any:NW.instanceOf(Element)})]),children:NW.oneOfType([NW.element,NW.arrayOf(NW.element)]).isRequired}),mRe(wOe,"defaultProps",{value:""});var FOe=yOe({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}}))(wOe),kOe=function(e){function t(){return oRe(this,t),fRe(this,pRe(t).apply(this,arguments))}return gRe(t,e),lRe(t,[{key:"render",value:function(){var e=bOe(this.props,["style","classNames","className"],_Oe(t.propTypes));return m.default.createElement("li",aRe({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,i=e.suggestion,r=e.index,a=e.focused,o=this.getDisplay(),s=this.renderHighlightedDisplay(o,t);return n?n(i,t,s,r,a):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,i=t.query,r=t.style,a=mOe(e,i,n);return-1===a?m.default.createElement("span",r("display"),e):m.default.createElement("span",r("display"),e.substring(0,a),m.default.createElement("b",r("highlight"),e.substring(a,a+i.length)),e.substring(a+i.length))}}]),t}(i.Component);mRe(kOe,"propTypes",{id:NW.string.isRequired,query:NW.string.isRequired,index:NW.number.isRequired,ignoreAccents:NW.bool,suggestion:NW.oneOfType([NW.string,NW.shape({id:NW.oneOfType([NW.string,NW.number]).isRequired,display:NW.string})]).isRequired,renderSuggestion:NW.func,focused:NW.bool});var EOe=yOe({cursor:"pointer"},(function(e){return{"&focused":e.focused}}))(kOe);function xOe(){var e=JRe(),t=e("spinner");return m.default.createElement("div",e,m.default.createElement("div",t,m.default.createElement("div",t(["element","element1"])),m.default.createElement("div",t(["element","element2"])),m.default.createElement("div",t(["element","element3"])),m.default.createElement("div",t(["element","element4"])),m.default.createElement("div",t(["element","element5"]))))}var COe=function(e){function t(){var e,n;oRe(this,t);for(var i=arguments.length,r=new Array(i),a=0;a<i;a++)r[a]=arguments[a];return mRe(dRe(n=fRe(this,(e=pRe(t)).call.apply(e,[this].concat(r)))),"handleMouseEnter",(function(e,t){n.props.onMouseEnter&&n.props.onMouseEnter(e)})),mRe(dRe(n),"select",(function(e,t){n.props.onSelect(e,t)})),mRe(dRe(n),"setUlElement",(function(e){n.ulElement=e})),n}return gRe(t,e),lRe(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,i=t.bottom,r=this.ulElement.getBoundingClientRect().top;i=i-r+e,(n=n-r+e)<e?this.ulElement.scrollTop=n:i>this.ulElement.offsetHeight&&(this.ulElement.scrollTop=i-this.ulElement.offsetHeight)}}},{key:"render",value:function(){var e=this.props,t=e.id,n=e.a11ySuggestionsListLabel,i=e.isOpened,r=e.style,a=e.onMouseDown,o=e.containerRef,s=e.position,l=e.left,u=e.top;return i?m.default.createElement("div",aRe({},QRe({position:s||"absolute",left:l,top:u},r),{onMouseDown:a,ref:o}),m.default.createElement("ul",aRe({ref:this.setUlElement,id:t,role:"listbox","aria-label":n},r("list")),this.renderSuggestions()),this.renderLoadingIndicator()):null}},{key:"renderSuggestions",value:function(){var e=this;return Object.values(this.props.suggestions).reduce((function(t,n){var i=n.results,r=n.queryInfo;return[].concat(rRe(t),rRe(i.map((function(n,i){return e.renderSuggestion(n,r,t.length+i)}))))}),[])}},{key:"renderSuggestion",value:function(e,t,n){var r=this,a=n===this.props.focusIndex,o=t.childIndex,s=t.query,l=i.Children.toArray(this.props.children)[o].props.renderSuggestion,u=this.props.ignoreAccents;return m.default.createElement(EOe,{style:this.props.style("item"),key:"".concat(o,"-").concat(SOe(e)),id:uOe(this.props.id,n),query:s,index:n,ignoreAccents:u,renderSuggestion:l,suggestion:e,focused:a,onClick:function(){return r.select(e,t)},onMouseEnter:function(){return r.handleMouseEnter(n)}})}},{key:"renderLoadingIndicator",value:function(){if(this.props.isLoading)return m.default.createElement(xOe,{style:this.props.style("loadingIndicator")})}}]),t}(i.Component);mRe(COe,"propTypes",{id:NW.string.isRequired,suggestions:NW.object.isRequired,a11ySuggestionsListLabel:NW.string,focusIndex:NW.number,position:NW.string,left:NW.number,top:NW.number,scrollFocusedIntoView:NW.bool,isLoading:NW.bool,isOpened:NW.bool.isRequired,onSelect:NW.func,ignoreAccents:NW.bool,containerRef:NW.oneOfType([NW.func,NW.shape({current:"undefined"==typeof Element?NW.any:NW.instanceOf(Element)})]),children:NW.oneOfType([NW.element,NW.arrayOf(NW.element)]).isRequired}),mRe(COe,"defaultProps",{suggestions:{},onSelect:function(){return null}});var SOe=function(e){return"string"==typeof e?e:e.id},DOe=yOe({zIndex:1,backgroundColor:"white",marginTop:14,minWidth:100,list:{margin:0,padding:0,listStyleType:"none"}})(COe);function POe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function AOe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?POe(n,!0).forEach((function(t){mRe(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):POe(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var TOe={TAB:9,RETURN:13,ESC:27,UP:38,DOWN:40},LOe=!1,IOe={singleLine:NW.bool,allowSpaceInQuery:NW.bool,allowSuggestionsAboveCursor:NW.bool,forceSuggestionsAboveCursor:NW.bool,ignoreAccents:NW.bool,a11ySuggestionsListLabel:NW.string,value:NW.string,onKeyDown:NW.func,onSelect:NW.func,onBlur:NW.func,onChange:NW.func,suggestionsPortalHost:"undefined"==typeof Element?NW.any:NW.PropTypes.instanceOf(Element),inputRef:NW.oneOfType([NW.func,NW.shape({current:"undefined"==typeof Element?NW.any:NW.instanceOf(Element)})]),children:NW.oneOfType([NW.element,NW.arrayOf(NW.element)]).isRequired},MOe=function(e){function t(e){var n;return oRe(this,t),mRe(dRe(n=fRe(this,pRe(t).call(this,e))),"setContainerElement",(function(e){n.containerElement=e})),mRe(dRe(n),"getInputProps",(function(){var e=n.props,t=e.readOnly,i=e.disabled,r=e.style;return AOe({},bOe(n.props,["style","classNames","className"],_Oe(IOe)),{},r("input"),{value:n.getPlainText()},!t&&!i&&{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":uOe(n.uuidSuggestionsOverlay,n.state.focusIndex)})})),mRe(dRe(n),"renderControl",(function(){var e=n.props,t=e.singleLine,i=e.style,r=n.getInputProps();return m.default.createElement("div",i("control"),n.renderHighlighter(),t?n.renderInput(r):n.renderTextarea(r))})),mRe(dRe(n),"renderInput",(function(e){return m.default.createElement("input",aRe({type:"text",ref:n.setInputRef},e))})),mRe(dRe(n),"renderTextarea",(function(e){return m.default.createElement("textarea",aRe({ref:n.setInputRef},e))})),mRe(dRe(n),"setInputRef",(function(e){n.inputElement=e;var t=n.props.inputRef;"function"==typeof t?t(e):t&&(t.current=e)})),mRe(dRe(n),"setSuggestionsElement",(function(e){n.suggestionsElement=e})),mRe(dRe(n),"renderSuggestionsOverlay",(function(){if(!vOe(n.state.selectionStart))return null;var e=n.state.suggestionsPosition,t=e.position,i=e.left,r=e.top,a=m.default.createElement(DOe,{id:n.uuidSuggestionsOverlay,style:n.props.style("suggestions"),position:t,left:i,top:r,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?b.default.createPortal(a,n.props.suggestionsPortalHost):a})),mRe(dRe(n),"renderHighlighter",(function(){var e=n.state,t=e.selectionStart,i=e.selectionEnd,r=n.props,a=r.singleLine,o=r.children,s=r.value,l=r.style;return m.default.createElement(FOe,{containerRef:n.setHighlighterElement,style:l("highlighter"),value:s,singleLine:a,selectionStart:t,selectionEnd:i,onCaretPositionChange:n.handleCaretPositionChange},o)})),mRe(dRe(n),"setHighlighterElement",(function(e){n.highlighterElement=e})),mRe(dRe(n),"handleCaretPositionChange",(function(e){n.setState({caretPosition:e})})),mRe(dRe(n),"getPlainText",(function(){return aOe(n.props.value||"",fOe(n.props.children))})),mRe(dRe(n),"executeOnChange",(function(e){for(var t=arguments.length,i=new Array(t>1?t-1:0),r=1;r<t;r++)i[r-1]=arguments[r];var a,o;return n.props.onChange?(a=n.props).onChange.apply(a,[e].concat(i)):n.props.valueLink?(o=n.props.valueLink).requestChange.apply(o,[e.target.value].concat(i)):void 0})),mRe(dRe(n),"handleChange",(function(e){if(LOe=!1,(document.activeElement&&document.activeElement.contentDocument||document).activeElement===e.target){var t=n.props.value||"",i=fOe(n.props.children),r=e.target.value,a=function(e,t,n,i){var r=n.selectionStartBefore,a=n.selectionEndBefore,o=n.selectionEndAfter,s=aOe(e,i),l=s.length-t.length;"undefined"===r&&(r=o+l),"undefined"===a&&(a=r),r===a&&a===o&&s.length===t.length&&(r-=1);var u=t.slice(r,o),c=Math.min(r,o),d=a;r===o&&(d=Math.max(a,r+l));var f=oOe(e,i,c,"START"),p=oOe(e,i,d,"END"),h=oOe(e,i,c,"NULL"),g=oOe(e,i,d,"NULL"),m=null===h||null===g,v=sOe(e,f,p,u);if(!m){var _=aOe(v,i);if(_!==t){for(c=0;t[c]===_[c];)c++;u=t.slice(c,o),d=s.lastIndexOf(t.substring(o)),f=oOe(e,i,c,"START"),p=oOe(e,i,d,"END"),v=sOe(e,f,p,u)}}return v}(t,r,{selectionStartBefore:n.state.selectionStart,selectionEndBefore:n.state.selectionEnd,selectionEndAfter:e.target.selectionEnd},i);r=aOe(a,i);var o=e.target.selectionStart,s=e.target.selectionEnd,l=!1,u=function(e,t,n){var i=n,r=!1;if(rOe(e,t,(function(e,t,a,o,s,l,u){a<=n&&a+s.length>n&&(i=a,r=!0)})),r)return i}(t,i,o);void 0!==u&&n.state.selectionEnd>u&&(s=o=u,l=!0),n.setState({selectionStart:o,selectionEnd:s,setSelectionAfterMentionChange:l});var c=lOe(a,i),d={target:{value:a}};n.executeOnChange(d,a,r,c)}})),mRe(dRe(n),"handleSelect",(function(e){if(n.setState({selectionStart:e.target.selectionStart,selectionEnd:e.target.selectionEnd}),!LOe){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)}})),mRe(dRe(n),"handleKeyDown",(function(e){if(0!==cOe(n.state.suggestions)&&n.suggestionsElement)switch(Object.values(TOe).indexOf(e.keyCode)>=0&&(e.preventDefault(),e.stopPropagation()),e.keyCode){case TOe.ESC:return void n.clearSuggestions();case TOe.DOWN:return void n.shiftFocus(1);case TOe.UP:return void n.shiftFocus(-1);case TOe.RETURN:case TOe.TAB:return void n.selectFocused();default:return}else n.props.onKeyDown(e)})),mRe(dRe(n),"shiftFocus",(function(e){var t=cOe(n.state.suggestions);n.setState({focusIndex:(t+n.state.focusIndex+e)%t,scrollFocusedIntoView:!0})})),mRe(dRe(n),"selectFocused",(function(){var e=n.state,t=e.suggestions,i=e.focusIndex,r=Object.values(t).reduce((function(e,t){var n=t.results,i=t.queryInfo;return[].concat(rRe(e),rRe(n.map((function(e){return{result:e,queryInfo:i}}))))}),[])[i],a=r.result,o=r.queryInfo;n.addMention(a,o),n.setState({focusIndex:0})})),mRe(dRe(n),"handleBlur",(function(e){var t=n._suggestionsMouseDown;n._suggestionsMouseDown=!1,t||n.setState({selectionStart:null,selectionEnd:null}),window.setTimeout((function(){n.updateHighlighterScroll()}),1),n.props.onBlur(e,t)})),mRe(dRe(n),"handleSuggestionsMouseDown",(function(e){n._suggestionsMouseDown=!0})),mRe(dRe(n),"handleSuggestionsMouseEnter",(function(e){n.setState({focusIndex:e,scrollFocusedIntoView:!1})})),mRe(dRe(n),"updateSuggestionsPosition",(function(){var e=n.state.caretPosition,t=n.props,i=t.suggestionsPortalHost,r=t.allowSuggestionsAboveCursor,a=t.forceSuggestionsAboveCursor;if(e&&n.suggestionsElement){var o=n.suggestionsElement,s=n.highlighterElement,l=s.getBoundingClientRect(),u=jOe(s,"font-size"),c={left:l.left+e.left,top:l.top+e.top+u},d=Math.max(document.documentElement.clientHeight,window.innerHeight||0);if(o){var f={};if(i){f.position="fixed";var p=c.left,h=c.top;p-=jOe(o,"margin-left"),h-=jOe(o,"margin-top"),p-=s.scrollLeft,h-=s.scrollTop;var g=Math.max(document.documentElement.clientWidth,window.innerWidth||0);p+o.offsetWidth>g?f.left=Math.max(0,g-o.offsetWidth):f.left=p,r&&h+o.offsetHeight>d&&o.offsetHeight<h-u||a?f.top=Math.max(0,h-o.offsetHeight-u):f.top=h}else{var m=e.left-s.scrollLeft,v=e.top-s.scrollTop;m+o.offsetWidth>n.containerElement.offsetWidth?f.right=0:f.left=m,r&&c.top-s.scrollTop+o.offsetHeight>d&&o.offsetHeight<l.top-u-s.scrollTop?f.top=v-o.offsetHeight-u: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})}}})),mRe(dRe(n),"updateHighlighterScroll",(function(){var e=n.inputElement,t=n.highlighterElement;e&&t&&(t.scrollLeft=e.scrollLeft,t.scrollTop=e.scrollTop,t.height=e.height)})),mRe(dRe(n),"handleCompositionStart",(function(){LOe=!0})),mRe(dRe(n),"handleCompositionEnd",(function(){LOe=!1})),mRe(dRe(n),"setSelection",(function(e,t){if(null!==e&&null!==t){var i=n.inputElement;if(i.setSelectionRange)i.setSelectionRange(e,t);else if(i.createTextRange){var r=i.createTextRange();r.collapse(!0),r.moveEnd("character",t),r.moveStart("character",e),r.select()}}})),mRe(dRe(n),"updateMentionsQueries",(function(e,t){n._queryId++,n.suggestions={},n.setState({suggestions:{}});var i=n.props.value||"",r=n.props.children,a=fOe(r),o=oOe(i,a,t,"NULL");if(null!==o){var s=function(e,t){var n=lOe(e,t),i=n[n.length-1];return i?i.plainTextIndex+i.display.length:0}(i.substring(0,o),a),l=e.substring(s,t);m.default.Children.forEach(r,(function(t,i){if(t){var r=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e instanceof RegExp)return e;var n=t.allowSpaceInQuery,i=ZRe(e);return new RegExp("(?:^|\\s)(".concat(i,"([^").concat(n?"":"\\s").concat(i,"]*))$"))}(t.props.trigger,n.props),a=l.match(r);if(a){var o=s+l.indexOf(a[1],a.index);n.queryData(a[2],i,o,o+a[1].length,e)}}}))}})),mRe(dRe(n),"clearSuggestions",(function(){n._queryId++,n.suggestions={},n.setState({suggestions:{},focusIndex:0})})),mRe(dRe(n),"queryData",(function(e,t,r,a,o){var s=n.props,l=s.children,u=s.ignoreAccents,c=function(e,t){return e instanceof Array?function(n,i){for(var r=[],a=0,o=e.length;a<o;++a){var s=e[a].display||e[a].id;mOe(s,n,t)>=0&&r.push(e[a])}return r}:e}(i.Children.toArray(l)[t].props.data,u),d=c(e,n.updateSuggestions.bind(null,n._queryId,t,e,r,a,o));d instanceof Array&&n.updateSuggestions(n._queryId,t,e,r,a,o,d)})),mRe(dRe(n),"updateSuggestions",(function(e,t,i,r,a,o,s){if(e===n._queryId){n.suggestions=AOe({},n.suggestions,mRe({},t,{queryInfo:{childIndex:t,query:i,querySequenceStart:r,querySequenceEnd:a,plainTextValue:o},results:s}));var l=n.state.focusIndex,u=cOe(n.suggestions);n.setState({suggestions:n.suggestions,focusIndex:l>=u?Math.max(u-1,0):l})}})),mRe(dRe(n),"addMention",(function(e,t){var r=e.id,a=e.display,o=t.childIndex,s=t.querySequenceStart,l=t.querySequenceEnd,u=t.plainTextValue,c=n.props.value||"",d=fOe(n.props.children),f=i.Children.toArray(n.props.children)[o].props,p=f.markup,h=f.displayTransform,g=f.appendSpaceOnAdd,m=f.onAdd,v=oOe(c,d,s,"START"),_=v+l-s,b=function(e,t,n){return e.replace($Re,t).replace(XRe,n)}(p,r,a);g&&(b+=" ");var y=sOe(c,v,_,b);n.inputElement.focus();var w=h(r,a);g&&(w+=" ");var F=s+w.length;n.setState({selectionStart:F,selectionEnd:F,setSelectionAfterMentionChange:!0});var k={target:{value:y}},E=lOe(y,d),x=sOe(u,s,l,w);n.executeOnChange(k,y,x,E),m&&m(r,a,v,_),n.clearSuggestions()})),mRe(dRe(n),"isLoading",(function(){var e=!1;return m.default.Children.forEach(n.props.children,(function(t){e=e||t&&t.props.isLoading})),e})),mRe(dRe(n),"isOpened",(function(){return vOe(n.state.selectionStart)&&(0!==cOe(n.state.suggestions)||n.isLoading())})),mRe(dRe(n),"_queryId",0),n.suggestions={},n.uuidSuggestionsOverlay=Math.random().toString(16).substring(2),n.handleCopy=n.handleCopy.bind(dRe(n)),n.handleCut=n.handleCut.bind(dRe(n)),n.handlePaste=n.handlePaste.bind(dRe(n)),n.state={focusIndex:0,selectionStart:null,selectionEnd:null,suggestions:{},caretPosition:null,suggestionsPosition:{}},n}return gRe(t,e),lRe(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 m.default.createElement("div",aRe({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,i=t.selectionEnd,r=this.props,a=r.value,o=r.children,s=fOe(o),l=oOe(a,s,n,"START"),u=oOe(a,s,i,"END"),c=e.clipboardData.getData("text/react-mentions"),d=e.clipboardData.getData("text/plain"),f=sOe(a,l,u,c||d).replace(/\r/g,""),p=aOe(f,s),h={target:AOe({},e.target,{value:f})};this.executeOnChange(h,f,p,lOe(f,s))}}},{key:"saveSelectionToClipboard",value:function(e){var t=this.state,n=t.selectionStart,i=t.selectionEnd,r=this.props,a=r.children,o=r.value,s=fOe(a),l=oOe(o,s,n,"START"),u=oOe(o,s,i,"END");e.clipboardData.setData("text/plain",e.target.value.slice(n,i)),e.clipboardData.setData("text/react-mentions",o.slice(l,u))}},{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,i=t.selectionEnd,r=this.props,a=r.children,o=r.value,s=fOe(a),l=oOe(o,s,n,"START"),u=oOe(o,s,i,"END"),c=[o.slice(0,l),o.slice(u)].join(""),d=aOe(c,s),f={target:AOe({},e.target,{value:d})};this.executeOnChange(f,c,d,lOe(o,s))}}}]),t}(m.default.Component);mRe(MOe,"propTypes",IOe),mRe(MOe,"defaultProps",{ignoreAccents:!1,singleLine:!1,allowSuggestionsAboveCursor:!1,onKeyDown:function(){return null},onSelect:function(){return null},onBlur:function(){return null}});var jOe=function(e,t){var n=parseFloat(window.getComputedStyle(e,null).getPropertyValue(t));return isFinite(n)?n:0},NOe=yOe({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:AOe({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}}))(MOe),ROe={fontWeight:"inherit"},OOe=function(e){var t=e.display,n=e.style,i=e.className,r=e.classNames,a=JRe(ROe,{style:n,className:i,classNames:r});return m.default.createElement("strong",a,t)};OOe.propTypes={onAdd:NW.func,onRemove:NW.func,renderSuggestion:NW.func,trigger:NW.oneOfType([NW.string,NW.instanceOf(RegExp)]),markup:NW.string,displayTransform:NW.func,allowSpaceInQuery:NW.bool,isLoading:NW.bool},OOe.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 zOe=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 BOe(e,t){var n=function(e){var t=e.name;if(t&&-1!==t.lastIndexOf(".")&&!e.type){var n=t.split(".").pop().toLowerCase(),i=zOe.get(n);i&&Object.defineProperty(e,"type",{value:i,writable:!1,configurable:!1,enumerable:!0})}return e}(e);if("string"!=typeof n.path){var i=e.webkitRelativePath;Object.defineProperty(n,"path",{value:"string"==typeof t?t:"string"==typeof i&&i.length>0?i:e.name,writable:!1,configurable:!1,enumerable:!0})}return n}var GOe=[".DS_Store","Thumbs.db"];function qOe(e){return Ea(this,void 0,void 0,(function(){return xa(this,(function(t){return[2,(n=e,n.dataTransfer&&e.dataTransfer?HOe(e.dataTransfer,e.type):UOe(e))];var n}))}))}function UOe(e){return(null!==e.target&&e.target.files?YOe(e.target.files):[]).map((function(e){return BOe(e)}))}function HOe(e,t){return Ea(this,void 0,void 0,(function(){var n;return xa(this,(function(i){switch(i.label){case 0:return e.items?(n=YOe(e.items).filter((function(e){return"file"===e.kind})),"drop"!==t?[2,n]:[4,Promise.all(n.map(VOe))]):[3,2];case 1:return[2,WOe(KOe(i.sent()))];case 2:return[2,WOe(YOe(e.files).map((function(e){return BOe(e)})))]}}))}))}function WOe(e){return e.filter((function(e){return-1===GOe.indexOf(e.name)}))}function YOe(e){for(var t=[],n=0;n<e.length;n++){var i=e[n];t.push(i)}return t}function VOe(e){if("function"!=typeof e.webkitGetAsEntry)return QOe(e);var t=e.webkitGetAsEntry();return t&&t.isDirectory?ZOe(t):QOe(e)}function KOe(e){return e.reduce((function(e,t){return Pa(e,Array.isArray(t)?KOe(t):[t])}),[])}function QOe(e){var t=e.getAsFile();if(!t)return Promise.reject(e+" is not a File");var n=BOe(t);return Promise.resolve(n)}function JOe(e){return Ea(this,void 0,void 0,(function(){return xa(this,(function(t){return[2,e.isDirectory?ZOe(e):$Oe(e)]}))}))}function ZOe(e){var t=e.createReader();return new Promise((function(e,n){var i=[];!function r(){var a=this;t.readEntries((function(t){return Ea(a,void 0,void 0,(function(){var a,o,s;return xa(this,(function(l){switch(l.label){case 0:if(t.length)return[3,5];l.label=1;case 1:return l.trys.push([1,3,,4]),[4,Promise.all(i)];case 2:return a=l.sent(),e(a),[3,4];case 3:return o=l.sent(),n(o),[3,4];case 4:return[3,6];case 5:s=Promise.all(t.map(JOe)),i.push(s),r(),l.label=6;case 6:return[2]}}))}))}),(function(e){n(e)}))}()}))}function $Oe(e){return Ea(this,void 0,void 0,(function(){return xa(this,(function(t){return[2,new Promise((function(t,n){e.file((function(n){var i=BOe(n,e.fullPath);t(i)}),(function(e){n(e)}))}))]}))}))}function XOe(e,t){return"application/x-moz-file"===e.type||function(e,t){if(e&&t){var n=Array.isArray(t)?t:t.split(","),i=e.name||"",r=(e.type||"").toLowerCase(),a=r.replace(/\/.*$/,"");return n.some((function(e){var t=e.trim().toLowerCase();return"."===t.charAt(0)?i.toLowerCase().endsWith(t):t.endsWith("/*")?a===t.replace(/\/.*$/,""):r===t}))}return!0}(e,t)}function eze(e,t,n){if(tze(e.size)){if(tze(t)&&tze(n))return e.size>=t&&e.size<=n;if(tze(t))return e.size>=t;if(tze(n))return e.size<=n}return!0}function tze(e){return null!=e}function nze(e,t,n,i){return e.every((function(e){return XOe(e,t)&&eze(e,n,i)}))}function ize(e){return"function"==typeof e.isPropagationStopped?e.isPropagationStopped():void 0!==e.cancelBubble&&e.cancelBubble}function rze(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 aze(e){e.preventDefault()}function oze(e){return-1!==e.indexOf("MSIE")||-1!==e.indexOf("Trident/")}function sze(e){return-1!==e.indexOf("Edge/")}function lze(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.navigator.userAgent;return oze(e)||sze(e)}function uze(){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,i=new Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];return t.some((function(t){return!ize(e)&&t&&t.apply(void 0,[e].concat(i)),ize(e)}))}}function cze(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 dze(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=[],i=!0,r=!1,a=void 0;try{for(var o,s=e[Symbol.iterator]();!(i=(o=s.next()).done)&&(n.push(o.value),!t||n.length!==t);i=!0);}catch(e){r=!0,a=e}finally{try{i||null==s.return||s.return()}finally{if(r)throw a}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function fze(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function pze(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?fze(n,!0).forEach((function(t){hze(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):fze(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function hze(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function gze(e,t){if(null==e)return{};var n,i,r=function(e,t){if(null==e)return{};var n,i,r={},a=Object.keys(e);for(i=0;i<a.length;i++)n=a[i],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)n=a[i],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var mze=i.forwardRef((function(e,t){var n=e.children,r=_ze(gze(e,["children"])),a=r.open,o=gze(r,["open"]);return i.useImperativeHandle(t,(function(){return{open:a}}),[a]),m.default.createElement(i.Fragment,null,n(pze({},o,{open:a})))}));mze.displayName="Dropzone",mze.propTypes={children:NW.func,accept:NW.oneOfType([NW.string,NW.arrayOf(NW.string)]),multiple:NW.bool,preventDropOnDocument:NW.bool,noClick:NW.bool,noKeyboard:NW.bool,noDrag:NW.bool,noDragEventsBubbling:NW.bool,minSize:NW.number,maxSize:NW.number,disabled:NW.bool,getFilesFromEvent:NW.func,onFileDialogCancel:NW.func,onDragEnter:NW.func,onDragLeave:NW.func,onDragOver:NW.func,onDrop:NW.func,onDropAccepted:NW.func,onDropRejected:NW.func};var vze={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,draggedFiles:[],acceptedFiles:[],rejectedFiles:[]};function _ze(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.accept,n=e.disabled,r=void 0!==n&&n,a=e.getFilesFromEvent,o=void 0===a?qOe:a,s=e.maxSize,l=void 0===s?1/0:s,u=e.minSize,c=void 0===u?0:u,d=e.multiple,f=void 0===d||d,p=e.onDragEnter,h=e.onDragLeave,g=e.onDragOver,m=e.onDrop,v=e.onDropAccepted,_=e.onDropRejected,b=e.onFileDialogCancel,y=e.preventDropOnDocument,w=void 0===y||y,F=e.noClick,k=void 0!==F&&F,E=e.noKeyboard,x=void 0!==E&&E,C=e.noDrag,S=void 0!==C&&C,D=e.noDragEventsBubbling,P=void 0!==D&&D,A=i.useRef(null),T=i.useRef(null),L=i.useReducer(bze,vze),I=dze(L,2),M=I[0],j=I[1],N=M.isFocused,R=M.isFileDialogActive,O=M.draggedFiles,z=i.useCallback((function(){T.current&&(j({type:"openDialog"}),T.current.value=null,T.current.click())}),[j]),B=function(){R&&setTimeout((function(){T.current&&(T.current.files.length||(j({type:"closeDialog"}),"function"==typeof b&&b()))}),300)};i.useEffect((function(){return window.addEventListener("focus",B,!1),function(){window.removeEventListener("focus",B,!1)}}),[T,R,b]);var G=i.useCallback((function(e){A.current&&A.current.isEqualNode(e.target)&&(32!==e.keyCode&&13!==e.keyCode||(e.preventDefault(),z()))}),[A,T]),q=i.useCallback((function(){j({type:"focus"})}),[]),U=i.useCallback((function(){j({type:"blur"})}),[]),H=i.useCallback((function(){k||(lze()?setTimeout(z,0):z())}),[T,k]),W=i.useRef([]),Y=function(e){A.current&&A.current.contains(e.target)||(e.preventDefault(),W.current=[])};i.useEffect((function(){return w&&(document.addEventListener("dragover",aze,!1),document.addEventListener("drop",Y,!1)),function(){w&&(document.removeEventListener("dragover",aze),document.removeEventListener("drop",Y))}}),[A,w]);var V=i.useCallback((function(e){e.preventDefault(),e.persist(),ee(e),-1===W.current.indexOf(e.target)&&(W.current=[].concat(cze(W.current),[e.target])),rze(e)&&Promise.resolve(o(e)).then((function(t){ize(e)&&!P||(j({draggedFiles:t,isDragActive:!0,type:"setDraggedFiles"}),p&&p(e))}))}),[o,p,P]),K=i.useCallback((function(e){if(e.preventDefault(),e.persist(),ee(e),e.dataTransfer)try{e.dataTransfer.dropEffect="copy"}catch(e){}return rze(e)&&g&&g(e),!1}),[g,P]),Q=i.useCallback((function(e){e.preventDefault(),e.persist(),ee(e);var t=W.current.filter((function(t){return t!==e.target&&A.current&&A.current.contains(t)}));W.current=t,t.length>0||(j({isDragActive:!1,type:"setDraggedFiles",draggedFiles:[]}),rze(e)&&h&&h(e))}),[A,h,P]),J=i.useCallback((function(e){e.preventDefault(),e.persist(),ee(e),W.current=[],j({type:"reset"}),rze(e)&&Promise.resolve(o(e)).then((function(n){if(!ize(e)||P){var i=[],r=[];n.forEach((function(e){XOe(e,t)&&eze(e,c,l)?i.push(e):r.push(e)})),!f&&i.length>1&&r.push.apply(r,cze(i.splice(0))),j({acceptedFiles:i,rejectedFiles:r,type:"setFiles"}),m&&m(i,r,e),r.length>0&&_&&_(r,e),i.length>0&&v&&v(i,e)}}))}),[f,t,c,l,o,m,v,_,P]),Z=function(e){return r?null:e},$=function(e){return x?null:Z(e)},X=function(e){return S?null:Z(e)},ee=function(e){P&&e.stopPropagation()},te=i.useMemo((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,a=e.onFocus,o=e.onBlur,s=e.onClick,l=e.onDragEnter,u=e.onDragOver,c=e.onDragLeave,d=e.onDrop,f=gze(e,["refKey","onKeyDown","onFocus","onBlur","onClick","onDragEnter","onDragOver","onDragLeave","onDrop"]);return pze(hze({onKeyDown:$(uze(i,G)),onFocus:$(uze(a,q)),onBlur:$(uze(o,U)),onClick:Z(uze(s,H)),onDragEnter:X(uze(l,V)),onDragOver:X(uze(u,K)),onDragLeave:X(uze(c,Q)),onDrop:X(uze(d,J))},n,A),r||x?{}:{tabIndex:0},{},f)}}),[A,G,q,U,H,V,K,Q,J,x,S,r]),ne=i.useCallback((function(e){e.stopPropagation()}),[]),ie=i.useMemo((function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.refKey,i=void 0===n?"ref":n,r=e.onChange,a=e.onClick,o=gze(e,["refKey","onChange","onClick"]),s=hze({accept:t,multiple:f,type:"file",style:{display:"none"},onChange:Z(uze(r,J)),onClick:Z(uze(a,ne)),autoComplete:"off",tabIndex:-1},i,T);return pze({},s,{},o)}}),[T,t,f,J,r]),re=O.length,ae=f||re<=1,oe=re>0&&nze(O,t,c,l),se=re>0&&(!oe||!ae);return pze({},M,{isDragAccept:oe,isDragReject:se,isFocused:N&&!r,getRootProps:te,getInputProps:ie,rootRef:A,inputRef:T,open:Z(z)})}function bze(e,t){switch(t.type){case"focus":return pze({},e,{isFocused:!0});case"blur":return pze({},e,{isFocused:!1});case"openDialog":return pze({},e,{isFileDialogActive:!0});case"closeDialog":return pze({},e,{isFileDialogActive:!1});case"setDraggedFiles":var n=t.isDragActive;return pze({},e,{draggedFiles:t.draggedFiles,isDragActive:n});case"setFiles":return pze({},e,{acceptedFiles:t.acceptedFiles,rejectedFiles:t.rejectedFiles});case"reset":return pze({},e,{isFileDialogActive:!1,isDragActive:!1,draggedFiles:[]});default:return e}}var yze={exports:{}};!function(e,t){var n;n=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,i){if("string"!=typeof n)throw new Error("slugify: string argument expected");var r=t[(i="string"==typeof i?{replacement:i}:i||{}).locale]||{},a=i.replacement||"-",o=n.split("").reduce((function(t,n){return t+(r[n]||e[n]||n)}),"").replace(i.remove||/[^\w\s$*_+~.()'"!\-:@]+/g,"").trim().replace(new RegExp("[\\s"+a+"]+","g"),a);return i.lower&&(o=o.toLowerCase()),i.strict&&(o=o.replace(new RegExp("[^a-zA-Z0-9"+a+"]","g"),"")),o}return n.extend=function(t){for(var n in t)e[n]=t[n]},n},e.exports=n(),e.exports.default=n()}(yze);var wze,Fze=yze.exports;!function(e){e.BOTH="both",e.MOUSE="mouse",e.TOUCH="touch"}(wze||(wze={}));var kze={exports:{}};!function(e,t){e.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 o(e)?e:V(e)}function i(e){return s(e)?e:K(e)}function r(e){return l(e)?e:Q(e)}function a(e){return o(e)&&!u(e)?e:J(e)}function o(e){return!(!e||!e[d])}function s(e){return!(!e||!e[f])}function l(e){return!(!e||!e[p])}function u(e){return s(e)||l(e)}function c(e){return!(!e||!e[h])}t(i,n),t(r,n),t(a,n),n.isIterable=o,n.isKeyed=s,n.isIndexed=l,n.isAssociative=u,n.isOrdered=c,n.Keyed=i,n.Indexed=r,n.Set=a;var d="@@__IMMUTABLE_ITERABLE__@@",f="@@__IMMUTABLE_KEYED__@@",p="@@__IMMUTABLE_INDEXED__@@",h="@@__IMMUTABLE_ORDERED__@@",g="delete",m=5,v=1<<m,_=v-1,b={},y={value:!1},w={value:!1};function F(e){return e.value=!1,e}function k(e){e&&(e.value=!0)}function E(){}function x(e,t){t=t||0;for(var n=Math.max(0,e.length-t),i=new Array(n),r=0;r<n;r++)i[r]=e[r+t];return i}function C(e){return void 0===e.size&&(e.size=e.__iterate(D)),e.size}function S(e,t){if("number"!=typeof t){var n=t>>>0;if(""+n!==t||4294967295===n)return NaN;t=n}return t<0?C(e)+t:t}function D(){return!0}function P(e,t,n){return(0===e||void 0!==n&&e<=-n)&&(void 0===t||void 0!==n&&t>=n)}function A(e,t){return L(e,t,0)}function T(e,t){return L(e,t,t)}function L(e,t,n){return void 0===e?n:e<0?Math.max(0,t+e):void 0===t?e:Math.min(t,e)}var I=0,M=1,j=2,N="function"==typeof Symbol&&Symbol.iterator,R="@@iterator",O=N||R;function z(e){this.next=e}function B(e,t,n,i){var r=0===e?t:1===e?n:[t,n];return i?i.value=r:i={value:r,done:!1},i}function G(){return{value:void 0,done:!0}}function q(e){return!!W(e)}function U(e){return e&&"function"==typeof e.next}function H(e){var t=W(e);return t&&t.call(e)}function W(e){var t=e&&(N&&e[N]||e[R]);if("function"==typeof t)return t}function Y(e){return e&&"number"==typeof e.length}function V(e){return null==e?oe():o(e)?e.toSeq():ue(e)}function K(e){return null==e?oe().toKeyedSeq():o(e)?s(e)?e.toSeq():e.fromEntrySeq():se(e)}function Q(e){return null==e?oe():o(e)?s(e)?e.entrySeq():e.toIndexedSeq():le(e)}function J(e){return(null==e?oe():o(e)?s(e)?e.entrySeq():e:le(e)).toSetSeq()}z.prototype.toString=function(){return"[Iterator]"},z.KEYS=I,z.VALUES=M,z.ENTRIES=j,z.prototype.inspect=z.prototype.toSource=function(){return this.toString()},z.prototype[O]=function(){return this},t(V,n),V.of=function(){return V(arguments)},V.prototype.toSeq=function(){return this},V.prototype.toString=function(){return this.__toString("Seq {","}")},V.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},V.prototype.__iterate=function(e,t){return de(this,e,t,!0)},V.prototype.__iterator=function(e,t){return fe(this,e,t,!0)},t(K,V),K.prototype.toKeyedSeq=function(){return this},t(Q,V),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(J,V),J.of=function(){return J(arguments)},J.prototype.toSetSeq=function(){return this},V.isSeq=ae,V.Keyed=K,V.Set=J,V.Indexed=Q;var Z,$,X,ee="@@__IMMUTABLE_SEQ__@@";function te(e){this._array=e,this.size=e.length}function ne(e){var t=Object.keys(e);this._object=e,this._keys=t,this.size=t.length}function ie(e){this._iterable=e,this.size=e.length||e.size}function re(e){this._iterator=e,this._iteratorCache=[]}function ae(e){return!(!e||!e[ee])}function oe(){return Z||(Z=new te([]))}function se(e){var t=Array.isArray(e)?new te(e).fromEntrySeq():U(e)?new re(e).fromEntrySeq():q(e)?new ie(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 le(e){var t=ce(e);if(!t)throw new TypeError("Expected Array or iterable object of values: "+e);return t}function ue(e){var t=ce(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 ce(e){return Y(e)?new te(e):U(e)?new re(e):q(e)?new ie(e):void 0}function de(e,t,n,i){var r=e._cache;if(r){for(var a=r.length-1,o=0;o<=a;o++){var s=r[n?a-o:o];if(!1===t(s[1],i?s[0]:o,e))return o+1}return o}return e.__iterateUncached(t,n)}function fe(e,t,n,i){var r=e._cache;if(r){var a=r.length-1,o=0;return new z((function(){var e=r[n?a-o:o];return o++>a?G():B(t,i?e[0]:o-1,e[1])}))}return e.__iteratorUncached(t,n)}function pe(e,t){return t?he(t,e,"",{"":e}):ge(e)}function he(e,t,n,i){return Array.isArray(t)?e.call(i,n,Q(t).map((function(n,i){return he(e,n,i,t)}))):me(t)?e.call(i,n,K(t).map((function(n,i){return he(e,n,i,t)}))):t}function ge(e){return Array.isArray(e)?Q(e).map(ge).toList():me(e)?K(e).map(ge).toMap():e}function me(e){return e&&(e.constructor===Object||void 0===e.constructor)}function ve(e,t){if(e===t||e!=e&&t!=t)return!0;if(!e||!t)return!1;if("function"==typeof e.valueOf&&"function"==typeof t.valueOf){if((e=e.valueOf())===(t=t.valueOf())||e!=e&&t!=t)return!0;if(!e||!t)return!1}return!("function"!=typeof e.equals||"function"!=typeof t.equals||!e.equals(t))}function _e(e,t){if(e===t)return!0;if(!o(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)||l(e)!==l(t)||c(e)!==c(t))return!1;if(0===e.size&&0===t.size)return!0;var n=!u(e);if(c(e)){var i=e.entries();return t.every((function(e,t){var r=i.next().value;return r&&ve(r[1],e)&&(n||ve(r[0],t))}))&&i.next().done}var r=!1;if(void 0===e.size)if(void 0===t.size)"function"==typeof e.cacheResult&&e.cacheResult();else{r=!0;var a=e;e=t,t=a}var d=!0,f=t.__iterate((function(t,i){if(n?!e.has(t):r?!ve(t,e.get(i,b)):!ve(e.get(i,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($)return $;$=this}}function ye(e,t){if(!e)throw new Error(t)}function we(e,t,n){if(!(this instanceof we))return new we(e,t,n);if(ye(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 Fe(){throw TypeError("Abstract")}function ke(){}function Ee(){}function xe(){}V.prototype[ee]=!0,t(te,Q),te.prototype.get=function(e,t){return this.has(e)?this._array[S(this,e)]:t},te.prototype.__iterate=function(e,t){for(var n=this._array,i=n.length-1,r=0;r<=i;r++)if(!1===e(n[t?i-r:r],r,this))return r+1;return r},te.prototype.__iterator=function(e,t){var n=this._array,i=n.length-1,r=0;return new z((function(){return r>i?G():B(e,r,n[t?i-r++:r++])}))},t(ne,K),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,i=this._keys,r=i.length-1,a=0;a<=r;a++){var o=i[t?r-a:a];if(!1===e(n[o],o,this))return a+1}return a},ne.prototype.__iterator=function(e,t){var n=this._object,i=this._keys,r=i.length-1,a=0;return new z((function(){var o=i[t?r-a:a];return a++>r?G():B(e,o,n[o])}))},ne.prototype[h]=!0,t(ie,Q),ie.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);var n=H(this._iterable),i=0;if(U(n))for(var r;!(r=n.next()).done&&!1!==e(r.value,i++,this););return i},ie.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=H(this._iterable);if(!U(n))return new z(G);var i=0;return new z((function(){var t=n.next();return t.done?t:B(e,i++,t.value)}))},t(re,Q),re.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);for(var n,i=this._iterator,r=this._iteratorCache,a=0;a<r.length;)if(!1===e(r[a],a++,this))return a;for(;!(n=i.next()).done;){var o=n.value;if(r[a]=o,!1===e(o,a++,this))break}return a},re.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=this._iterator,i=this._iteratorCache,r=0;return new z((function(){if(r>=i.length){var t=n.next();if(t.done)return t;i[r]=t.value}return B(e,r,i[r++])}))},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 P(e,t,n)?this:new be(this._value,T(t,n)-A(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,i=0;return new z((function(){return i<n.size?B(e,i++,n._value):G()}))},be.prototype.equals=function(e){return e instanceof be?ve(this._value,e._value):_e(e)},t(we,Q),we.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(this._step>1?" by "+this._step:"")+" ]"},we.prototype.get=function(e,t){return this.has(e)?this._start+S(this,e)*this._step:t},we.prototype.includes=function(e){var t=(e-this._start)/this._step;return t>=0&&t<this.size&&t===Math.floor(t)},we.prototype.slice=function(e,t){return P(e,t,this.size)?this:(e=A(e,this.size),(t=T(t,this.size))<=e?new we(0,0):new we(this.get(e,this._end),this.get(t,this._end),this._step))},we.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},we.prototype.lastIndexOf=function(e){return this.indexOf(e)},we.prototype.__iterate=function(e,t){for(var n=this.size-1,i=this._step,r=t?this._start+n*i:this._start,a=0;a<=n;a++){if(!1===e(r,a,this))return a+1;r+=t?-i:i}return a},we.prototype.__iterator=function(e,t){var n=this.size-1,i=this._step,r=t?this._start+n*i:this._start,a=0;return new z((function(){var o=r;return r+=t?-i:i,a>n?G():B(e,a++,o)}))},we.prototype.equals=function(e){return e instanceof we?this._start===e._start&&this._end===e._end&&this._step===e._step:_e(this,e)},t(Fe,n),t(ke,Fe),t(Ee,Fe),t(xe,Fe),Fe.Keyed=ke,Fe.Indexed=Ee,Fe.Set=xe;var Ce="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(e,t){var n=65535&(e|=0),i=65535&(t|=0);return n*i+((e>>>16)*i+n*(t>>>16)<<16>>>0)|0};function Se(e){return e>>>1&1073741824|3221225471&e}function De(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 Se(n)}if("string"===t)return e.length>ze?Pe(e):Ae(e);if("function"==typeof e.hashCode)return e.hashCode();if("object"===t)return Te(e);if("function"==typeof e.toString)return Ae(e.toString());throw new Error("Value type "+t+" cannot be hashed.")}function Pe(e){var t=qe[e];return void 0===t&&(t=Ae(e),Ge===Be&&(Ge=0,qe={}),Ge++,qe[e]=t),t}function Ae(e){for(var t=0,n=0;n<e.length;n++)t=31*t+e.charCodeAt(n)|0;return Se(t)}function Te(e){var t;if(Ne&&void 0!==(t=je.get(e)))return t;if(void 0!==(t=e[Oe]))return t;if(!Ie){if(void 0!==(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[Oe]))return t;if(void 0!==(t=Me(e)))return t}if(t=++Re,1073741824&Re&&(Re=0),Ne)je.set(e,t);else{if(void 0!==Le&&!1===Le(e))throw new Error("Non-extensible objects are not allowed as keys.");if(Ie)Object.defineProperty(e,Oe,{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[Oe]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[Oe]=t}}return t}var Le=Object.isExtensible,Ie=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,Ne="function"==typeof WeakMap;Ne&&(je=new WeakMap);var Re=0,Oe="__immutablehash__";"function"==typeof Symbol&&(Oe=Symbol(Oe));var ze=16,Be=255,Ge=0,qe={};function Ue(e){ye(e!==1/0,"Cannot perform this action with an infinite size.")}function He(e){return null==e?rt():We(e)&&!c(e)?e:rt().withMutations((function(t){var n=i(e);Ue(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function We(e){return!(!e||!e[Ve])}t(He,ke),He.prototype.toString=function(){return this.__toString("Map {","}")},He.prototype.get=function(e,t){return this._root?this._root.get(0,void 0,e,t):t},He.prototype.set=function(e,t){return at(this,e,t)},He.prototype.setIn=function(e,t){return this.updateIn(e,b,(function(){return t}))},He.prototype.remove=function(e){return at(this,e,b)},He.prototype.deleteIn=function(e){return this.updateIn(e,(function(){return b}))},He.prototype.update=function(e,t,n){return 1===arguments.length?e(this):this.updateIn([e],t,n)},He.prototype.updateIn=function(e,t,n){n||(n=t,t=void 0);var i=mt(this,Fn(e),t,n);return i===b?void 0:i},He.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):rt()},He.prototype.merge=function(){return ft(this,void 0,arguments)},He.prototype.mergeWith=function(t){return ft(this,t,e.call(arguments,1))},He.prototype.mergeIn=function(t){var n=e.call(arguments,1);return this.updateIn(t,rt(),(function(e){return"function"==typeof e.merge?e.merge.apply(e,n):n[n.length-1]}))},He.prototype.mergeDeep=function(){return ft(this,pt,arguments)},He.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return ft(this,ht(t),n)},He.prototype.mergeDeepIn=function(t){var n=e.call(arguments,1);return this.updateIn(t,rt(),(function(e){return"function"==typeof e.mergeDeep?e.mergeDeep.apply(e,n):n[n.length-1]}))},He.prototype.sort=function(e){return qt(dn(this,e))},He.prototype.sortBy=function(e,t){return qt(dn(this,t,e))},He.prototype.withMutations=function(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this},He.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new E)},He.prototype.asImmutable=function(){return this.__ensureOwner()},He.prototype.wasAltered=function(){return this.__altered},He.prototype.__iterator=function(e,t){return new et(this,e,t)},He.prototype.__iterate=function(e,t){var n=this,i=0;return this._root&&this._root.iterate((function(t){return i++,e(t[1],t[0],n)}),t),i},He.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?it(this.size,this._root,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},He.isMap=We;var Ye,Ve="@@__IMMUTABLE_MAP__@@",Ke=He.prototype;function Qe(e,t){this.ownerID=e,this.entries=t}function Je(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 $e(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 it(e,t,n,i){var r=Object.create(Ke);return r.size=e,r._root=t,r.__ownerID=n,r.__hash=i,r.__altered=!1,r}function rt(){return Ye||(Ye=it(0))}function at(e,t,n){var i,r;if(e._root){var a=F(y),o=F(w);if(i=ot(e._root,e.__ownerID,0,void 0,t,n,a,o),!o.value)return e;r=e.size+(a.value?n===b?-1:1:0)}else{if(n===b)return e;r=1,i=new Qe(e.__ownerID,[[t,n]])}return e.__ownerID?(e.size=r,e._root=i,e.__hash=void 0,e.__altered=!0,e):i?it(r,i):rt()}function ot(e,t,n,i,r,a,o,s){return e?e.update(t,n,i,r,a,o,s):a===b?e:(k(s),k(o),new Xe(t,i,[r,a]))}function st(e){return e.constructor===Xe||e.constructor===$e}function lt(e,t,n,i,r){if(e.keyHash===i)return new $e(t,i,[e.entry,r]);var a,o=(0===n?e.keyHash:e.keyHash>>>n)&_,s=(0===n?i:i>>>n)&_;return new Je(t,1<<o|1<<s,o===s?[lt(e,t,n+m,i,r)]:(a=new Xe(t,i,r),o<s?[e,a]:[a,e]))}function ut(e,t,n,i){e||(e=new E);for(var r=new Xe(e,De(n),[n,i]),a=0;a<t.length;a++){var o=t[a];r=r.update(e,0,void 0,o[0],o[1])}return r}function ct(e,t,n,i){for(var r=0,a=0,o=new Array(n),s=0,l=1,u=t.length;s<u;s++,l<<=1){var c=t[s];void 0!==c&&s!==i&&(r|=l,o[a++]=c)}return new Je(e,r,o)}function dt(e,t,n,i,r){for(var a=0,o=new Array(v),s=0;0!==n;s++,n>>>=1)o[s]=1&n?t[a++]:void 0;return o[i]=r,new Ze(e,a+1,o)}function ft(e,t,n){for(var r=[],a=0;a<n.length;a++){var s=n[a],l=i(s);o(s)||(l=l.map((function(e){return pe(e)}))),r.push(l)}return gt(e,t,r)}function pt(e,t,n){return e&&e.mergeDeep&&o(t)?e.mergeDeep(t):ve(e,t)?e:t}function ht(e){return function(t,n,i){if(t&&t.mergeDeepWith&&o(n))return t.mergeDeepWith(e,n);var r=e(t,n,i);return ve(t,r)?t:r}}function gt(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 i=t?function(n,i){e.update(i,b,(function(e){return e===b?n:t(e,n,i)}))}:function(t,n){e.set(n,t)},r=0;r<n.length;r++)n[r].forEach(i)})):e.constructor(n[0])}function mt(e,t,n,i){var r=e===b,a=t.next();if(a.done){var o=r?n:e,s=i(o);return s===o?e:s}ye(r||e&&e.set,"invalid keyPath");var l=a.value,u=r?b:e.get(l,b),c=mt(u,t,n,i);return c===u?e:c===b?e.remove(l):(r?rt():e).set(l,c)}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 _t(e,t,n,i){var r=i?e:x(e);return r[t]=n,r}function bt(e,t,n,i){var r=e.length+1;if(i&&t+1===r)return e[t]=n,e;for(var a=new Array(r),o=0,s=0;s<r;s++)s===t?(a[s]=n,o=-1):a[s]=e[s+o];return a}function yt(e,t,n){var i=e.length-1;if(n&&t===i)return e.pop(),e;for(var r=new Array(i),a=0,o=0;o<i;o++)o===t&&(a=1),r[o]=e[o+a];return r}Ke[Ve]=!0,Ke[g]=Ke.remove,Ke.removeIn=Ke.deleteIn,Qe.prototype.get=function(e,t,n,i){for(var r=this.entries,a=0,o=r.length;a<o;a++)if(ve(n,r[a][0]))return r[a][1];return i},Qe.prototype.update=function(e,t,n,i,r,a,o){for(var s=r===b,l=this.entries,u=0,c=l.length;u<c&&!ve(i,l[u][0]);u++);var d=u<c;if(d?l[u][1]===r:s)return this;if(k(o),(s||!d)&&k(a),!s||1!==l.length){if(!d&&!s&&l.length>=wt)return ut(e,l,i,r);var f=e&&e===this.ownerID,p=f?l:x(l);return d?s?u===c-1?p.pop():p[u]=p.pop():p[u]=[i,r]:p.push([i,r]),f?(this.entries=p,this):new Qe(e,p)}},Je.prototype.get=function(e,t,n,i){void 0===t&&(t=De(n));var r=1<<((0===e?t:t>>>e)&_),a=this.bitmap;return 0==(a&r)?i:this.nodes[vt(a&r-1)].get(e+m,t,n,i)},Je.prototype.update=function(e,t,n,i,r,a,o){void 0===n&&(n=De(i));var s=(0===t?n:n>>>t)&_,l=1<<s,u=this.bitmap,c=0!=(u&l);if(!c&&r===b)return this;var d=vt(u&l-1),f=this.nodes,p=c?f[d]:void 0,h=ot(p,e,t+m,n,i,r,a,o);if(h===p)return this;if(!c&&h&&f.length>=Ft)return dt(e,f,u,s,h);if(c&&!h&&2===f.length&&st(f[1^d]))return f[1^d];if(c&&h&&1===f.length&&st(h))return h;var g=e&&e===this.ownerID,v=c?h?u:u^l:u|l,y=c?h?_t(f,d,h,g):yt(f,d,g):bt(f,d,h,g);return g?(this.bitmap=v,this.nodes=y,this):new Je(e,v,y)},Ze.prototype.get=function(e,t,n,i){void 0===t&&(t=De(n));var r=(0===e?t:t>>>e)&_,a=this.nodes[r];return a?a.get(e+m,t,n,i):i},Ze.prototype.update=function(e,t,n,i,r,a,o){void 0===n&&(n=De(i));var s=(0===t?n:n>>>t)&_,l=r===b,u=this.nodes,c=u[s];if(l&&!c)return this;var d=ot(c,e,t+m,n,i,r,a,o);if(d===c)return this;var f=this.count;if(c){if(!d&&--f<kt)return ct(e,u,f,s)}else f++;var p=e&&e===this.ownerID,h=_t(u,s,d,p);return p?(this.count=f,this.nodes=h,this):new Ze(e,f,h)},$e.prototype.get=function(e,t,n,i){for(var r=this.entries,a=0,o=r.length;a<o;a++)if(ve(n,r[a][0]))return r[a][1];return i},$e.prototype.update=function(e,t,n,i,r,a,o){void 0===n&&(n=De(i));var s=r===b;if(n!==this.keyHash)return s?this:(k(o),k(a),lt(this,e,t,n,[i,r]));for(var l=this.entries,u=0,c=l.length;u<c&&!ve(i,l[u][0]);u++);var d=u<c;if(d?l[u][1]===r:s)return this;if(k(o),(s||!d)&&k(a),s&&2===c)return new Xe(e,this.keyHash,l[1^u]);var f=e&&e===this.ownerID,p=f?l:x(l);return d?s?u===c-1?p.pop():p[u]=p.pop():p[u]=[i,r]:p.push([i,r]),f?(this.entries=p,this):new $e(e,this.keyHash,p)},Xe.prototype.get=function(e,t,n,i){return ve(n,this.entry[0])?this.entry[1]:i},Xe.prototype.update=function(e,t,n,i,r,a,o){var s=r===b,l=ve(i,this.entry[0]);return(l?r===this.entry[1]:s)?this:(k(o),s?void k(a):l?e&&e===this.ownerID?(this.entry[1]=r,this):new Xe(e,this.keyHash,[i,r]):(k(a),lt(this,e,t,De(i),[i,r])))},Qe.prototype.iterate=$e.prototype.iterate=function(e,t){for(var n=this.entries,i=0,r=n.length-1;i<=r;i++)if(!1===e(n[t?r-i:i]))return!1},Je.prototype.iterate=Ze.prototype.iterate=function(e,t){for(var n=this.nodes,i=0,r=n.length-1;i<=r;i++){var a=n[t?r-i:i];if(a&&!1===a.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,i=t.node,r=t.index++;if(i.entry){if(0===r)return tt(e,i.entry)}else if(i.entries){if(r<=(n=i.entries.length-1))return tt(e,i.entries[this._reverse?n-r:r])}else if(r<=(n=i.nodes.length-1)){var a=i.nodes[this._reverse?n-r:r];if(a){if(a.entry)return tt(e,a.entry);t=this._stack=nt(a,t)}continue}t=this._stack=this._stack.__prev}return G()};var wt=v/4,Ft=v/2,kt=v/4;function Et(e){var t=Mt();if(null==e)return t;if(xt(e))return e;var n=r(e),i=n.size;return 0===i?t:(Ue(i),i>0&&i<v?It(0,i,m,null,new Dt(n.toArray())):t.withMutations((function(e){e.setSize(i),n.forEach((function(t,n){return e.set(n,t)}))})))}function xt(e){return!(!e||!e[Ct])}t(Et,Ee),Et.of=function(){return this(arguments)},Et.prototype.toString=function(){return this.__toString("List [","]")},Et.prototype.get=function(e,t){if((e=S(this,e))>=0&&e<this.size){var n=Ot(this,e+=this._origin);return n&&n.array[e&_]}return t},Et.prototype.set=function(e,t){return jt(this,e,t)},Et.prototype.remove=function(e){return this.has(e)?0===e?this.shift():e===this.size-1?this.pop():this.splice(e,1):this},Et.prototype.insert=function(e,t){return this.splice(e,0,t)},Et.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=m,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):Mt()},Et.prototype.push=function(){var e=arguments,t=this.size;return this.withMutations((function(n){zt(n,0,t+e.length);for(var i=0;i<e.length;i++)n.set(t+i,e[i])}))},Et.prototype.pop=function(){return zt(this,0,-1)},Et.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])}))},Et.prototype.shift=function(){return zt(this,1)},Et.prototype.merge=function(){return Bt(this,void 0,arguments)},Et.prototype.mergeWith=function(t){return Bt(this,t,e.call(arguments,1))},Et.prototype.mergeDeep=function(){return Bt(this,pt,arguments)},Et.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return Bt(this,ht(t),n)},Et.prototype.setSize=function(e){return zt(this,0,e)},Et.prototype.slice=function(e,t){var n=this.size;return P(e,t,n)?this:zt(this,A(e,n),T(t,n))},Et.prototype.__iterator=function(e,t){var n=0,i=Lt(this,t);return new z((function(){var t=i();return t===Tt?G():B(e,n++,t)}))},Et.prototype.__iterate=function(e,t){for(var n,i=0,r=Lt(this,t);(n=r())!==Tt&&!1!==e(n,i++,this););return i},Et.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?It(this._origin,this._capacity,this._level,this._root,this._tail,e,this.__hash):(this.__ownerID=e,this)},Et.isList=xt;var Ct="@@__IMMUTABLE_LIST__@@",St=Et.prototype;function Dt(e,t){this.array=e,this.ownerID=t}St[Ct]=!0,St[g]=St.remove,St.setIn=Ke.setIn,St.deleteIn=St.removeIn=Ke.removeIn,St.update=Ke.update,St.updateIn=Ke.updateIn,St.mergeIn=Ke.mergeIn,St.mergeDeepIn=Ke.mergeDeepIn,St.withMutations=Ke.withMutations,St.asMutable=Ke.asMutable,St.asImmutable=Ke.asImmutable,St.wasAltered=Ke.wasAltered,Dt.prototype.removeBefore=function(e,t,n){if(n===t?1<<t:0===this.array.length)return this;var i=n>>>t&_;if(i>=this.array.length)return new Dt([],e);var r,a=0===i;if(t>0){var o=this.array[i];if((r=o&&o.removeBefore(e,t-m,n))===o&&a)return this}if(a&&!r)return this;var s=Rt(this,e);if(!a)for(var l=0;l<i;l++)s.array[l]=void 0;return r&&(s.array[i]=r),s},Dt.prototype.removeAfter=function(e,t,n){if(n===(t?1<<t:0)||0===this.array.length)return this;var i,r=n-1>>>t&_;if(r>=this.array.length)return this;if(t>0){var a=this.array[r];if((i=a&&a.removeAfter(e,t-m,n))===a&&r===this.array.length-1)return this}var o=Rt(this,e);return o.array.splice(r+1),i&&(o.array[r]=i),o};var Pt,At,Tt={};function Lt(e,t){var n=e._origin,i=e._capacity,r=Gt(i),a=e._tail;return o(e._root,e._level,0);function o(e,t,n){return 0===t?s(e,n):l(e,t,n)}function s(e,o){var s=o===r?a&&a.array:e&&e.array,l=o>n?0:n-o,u=i-o;return u>v&&(u=v),function(){if(l===u)return Tt;var e=t?--u:l++;return s&&s[e]}}function l(e,r,a){var s,l=e&&e.array,u=a>n?0:n-a>>r,c=1+(i-a>>r);return c>v&&(c=v),function(){for(;;){if(s){var e=s();if(e!==Tt)return e;s=null}if(u===c)return Tt;var n=t?--c:u++;s=o(l&&l[n],r-m,a+(n<<r))}}}}function It(e,t,n,i,r,a,o){var s=Object.create(St);return s.size=t-e,s._origin=e,s._capacity=t,s._level=n,s._root=i,s._tail=r,s.__ownerID=a,s.__hash=o,s.__altered=!1,s}function Mt(){return Pt||(Pt=It(0,0,m))}function jt(e,t,n){if((t=S(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 i=e._tail,r=e._root,a=F(w);return t>=Gt(e._capacity)?i=Nt(i,e.__ownerID,0,t,n,a):r=Nt(r,e.__ownerID,e._level,t,n,a),a.value?e.__ownerID?(e._root=r,e._tail=i,e.__hash=void 0,e.__altered=!0,e):It(e._origin,e._capacity,e._level,r,i):e}function Nt(e,t,n,i,r,a){var o,s=i>>>n&_,l=e&&s<e.array.length;if(!l&&void 0===r)return e;if(n>0){var u=e&&e.array[s],c=Nt(u,t,n-m,i,r,a);return c===u?e:((o=Rt(e,t)).array[s]=c,o)}return l&&e.array[s]===r?e:(k(a),o=Rt(e,t),void 0===r&&s===o.array.length-1?o.array.pop():o.array[s]=r,o)}function Rt(e,t){return t&&e&&t===e.ownerID?e:new Dt(e?e.array.slice():[],t)}function Ot(e,t){if(t>=Gt(e._capacity))return e._tail;if(t<1<<e._level+m){for(var n=e._root,i=e._level;n&&i>0;)n=n.array[t>>>i&_],i-=m;return n}}function zt(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var i=e.__ownerID||new E,r=e._origin,a=e._capacity,o=r+t,s=void 0===n?a:n<0?a+n:r+n;if(o===r&&s===a)return e;if(o>=s)return e.clear();for(var l=e._level,u=e._root,c=0;o+c<0;)u=new Dt(u&&u.array.length?[void 0,u]:[],i),c+=1<<(l+=m);c&&(o+=c,r+=c,s+=c,a+=c);for(var d=Gt(a),f=Gt(s);f>=1<<l+m;)u=new Dt(u&&u.array.length?[u]:[],i),l+=m;var p=e._tail,h=f<d?Ot(e,s-1):f>d?new Dt([],i):p;if(p&&f>d&&o<a&&p.array.length){for(var g=u=Rt(u,i),v=l;v>m;v-=m){var b=d>>>v&_;g=g.array[b]=Rt(g.array[b],i)}g.array[d>>>m&_]=p}if(s<a&&(h=h&&h.removeAfter(i,0,s)),o>=f)o-=f,s-=f,l=m,u=null,h=h&&h.removeBefore(i,0,o);else if(o>r||f<d){for(c=0;u;){var y=o>>>l&_;if(y!==f>>>l&_)break;y&&(c+=(1<<l)*y),l-=m,u=u.array[y]}u&&o>r&&(u=u.removeBefore(i,l,o-c)),u&&f<d&&(u=u.removeAfter(i,l,f-c)),c&&(o-=c,s-=c)}return e.__ownerID?(e.size=s-o,e._origin=o,e._capacity=s,e._level=l,e._root=u,e._tail=h,e.__hash=void 0,e.__altered=!0,e):It(o,s,l,u,h)}function Bt(e,t,n){for(var i=[],a=0,s=0;s<n.length;s++){var l=n[s],u=r(l);u.size>a&&(a=u.size),o(l)||(u=u.map((function(e){return pe(e)}))),i.push(u)}return a>e.size&&(e=e.setSize(a)),gt(e,t,i)}function Gt(e){return e<v?0:e-1>>>m<<m}function qt(e){return null==e?Wt():Ut(e)?e:Wt().withMutations((function(t){var n=i(e);Ue(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function Ut(e){return We(e)&&c(e)}function Ht(e,t,n,i){var r=Object.create(qt.prototype);return r.size=e?e.size:0,r._map=e,r._list=t,r.__ownerID=n,r.__hash=i,r}function Wt(){return At||(At=Ht(rt(),Mt()))}function Yt(e,t,n){var i,r,a=e._map,o=e._list,s=a.get(t),l=void 0!==s;if(n===b){if(!l)return e;o.size>=v&&o.size>=2*a.size?(i=(r=o.filter((function(e,t){return void 0!==e&&s!==t}))).toKeyedSeq().map((function(e){return e[0]})).flip().toMap(),e.__ownerID&&(i.__ownerID=r.__ownerID=e.__ownerID)):(i=a.remove(t),r=s===o.size-1?o.pop():o.set(s,void 0))}else if(l){if(n===o.get(s)[1])return e;i=a,r=o.set(s,[t,n])}else i=a.set(t,o.size),r=o.set(o.size,[t,n]);return e.__ownerID?(e.size=i.size,e._map=i,e._list=r,e.__hash=void 0,e):Ht(i,r)}function Vt(e,t){this._iter=e,this._useKeys=t,this.size=e.size}function Kt(e){this._iter=e,this.size=e.size}function Qt(e){this._iter=e,this.size=e.size}function Jt(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=yn,t.__iterateUncached=function(t,n){var i=this;return e.__iterate((function(e,n){return!1!==t(n,e,i)}),n)},t.__iteratorUncached=function(t,n){if(t===j){var i=e.__iterator(t,n);return new z((function(){var e=i.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?I:M,n)},t}function $t(e,t,n){var i=bn(e);return i.size=e.size,i.has=function(t){return e.has(t)},i.get=function(i,r){var a=e.get(i,b);return a===b?r:t.call(n,a,i,e)},i.__iterateUncached=function(i,r){var a=this;return e.__iterate((function(e,r,o){return!1!==i(t.call(n,e,r,o),r,a)}),r)},i.__iteratorUncached=function(i,r){var a=e.__iterator(j,r);return new z((function(){var r=a.next();if(r.done)return r;var o=r.value,s=o[0];return B(i,s,t.call(n,o[1],s,e),r)}))},i}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,i){return e.get(t?n:-1-n,i)},n.has=function(n){return e.has(t?n:-1-n)},n.includes=function(t){return e.includes(t)},n.cacheResult=yn,n.__iterate=function(t,n){var i=this;return e.__iterate((function(e,n){return t(e,n,i)}),!n)},n.__iterator=function(t,n){return e.__iterator(t,!n)},n}function en(e,t,n,i){var r=bn(e);return i&&(r.has=function(i){var r=e.get(i,b);return r!==b&&!!t.call(n,r,i,e)},r.get=function(i,r){var a=e.get(i,b);return a!==b&&t.call(n,a,i,e)?a:r}),r.__iterateUncached=function(r,a){var o=this,s=0;return e.__iterate((function(e,a,l){if(t.call(n,e,a,l))return s++,r(e,i?a:s-1,o)}),a),s},r.__iteratorUncached=function(r,a){var o=e.__iterator(j,a),s=0;return new z((function(){for(;;){var a=o.next();if(a.done)return a;var l=a.value,u=l[0],c=l[1];if(t.call(n,c,u,e))return B(r,i?u:s++,c,a)}}))},r}function tn(e,t,n){var i=He().asMutable();return e.__iterate((function(r,a){i.update(t.call(n,r,a,e),0,(function(e){return e+1}))})),i.asImmutable()}function nn(e,t,n){var i=s(e),r=(c(e)?qt():He()).asMutable();e.__iterate((function(a,o){r.update(t.call(n,a,o,e),(function(e){return(e=e||[]).push(i?[o,a]:a),e}))}));var a=_n(e);return r.map((function(t){return gn(e,a(t))}))}function rn(e,t,n,i){var r=e.size;if(void 0!==t&&(t|=0),void 0!==n&&(n|=0),P(t,n,r))return e;var a=A(t,r),o=T(n,r);if(a!=a||o!=o)return rn(e.toSeq().cacheResult(),t,n,i);var s,l=o-a;l==l&&(s=l<0?0:l);var u=bn(e);return u.size=0===s?s:e.size&&s||void 0,!i&&ae(e)&&s>=0&&(u.get=function(t,n){return(t=S(this,t))>=0&&t<s?e.get(t+a,n):n}),u.__iterateUncached=function(t,n){var r=this;if(0===s)return 0;if(n)return this.cacheResult().__iterate(t,n);var o=0,l=!0,u=0;return e.__iterate((function(e,n){if(!l||!(l=o++<a))return u++,!1!==t(e,i?n:u-1,r)&&u!==s})),u},u.__iteratorUncached=function(t,n){if(0!==s&&n)return this.cacheResult().__iterator(t,n);var r=0!==s&&e.__iterator(t,n),o=0,l=0;return new z((function(){for(;o++<a;)r.next();if(++l>s)return G();var e=r.next();return i||t===M?e:B(t,l-1,t===I?void 0:e.value[1],e)}))},u}function an(e,t,n){var i=bn(e);return i.__iterateUncached=function(i,r){var a=this;if(r)return this.cacheResult().__iterate(i,r);var o=0;return e.__iterate((function(e,r,s){return t.call(n,e,r,s)&&++o&&i(e,r,a)})),o},i.__iteratorUncached=function(i,r){var a=this;if(r)return this.cacheResult().__iterator(i,r);var o=e.__iterator(j,r),s=!0;return new z((function(){if(!s)return G();var e=o.next();if(e.done)return e;var r=e.value,l=r[0],u=r[1];return t.call(n,u,l,a)?i===j?e:B(i,l,u,e):(s=!1,G())}))},i}function on(e,t,n,i){var r=bn(e);return r.__iterateUncached=function(r,a){var o=this;if(a)return this.cacheResult().__iterate(r,a);var s=!0,l=0;return e.__iterate((function(e,a,u){if(!s||!(s=t.call(n,e,a,u)))return l++,r(e,i?a:l-1,o)})),l},r.__iteratorUncached=function(r,a){var o=this;if(a)return this.cacheResult().__iterator(r,a);var s=e.__iterator(j,a),l=!0,u=0;return new z((function(){var e,a,c;do{if((e=s.next()).done)return i||r===M?e:B(r,u++,r===I?void 0:e.value[1],e);var d=e.value;a=d[0],c=d[1],l&&(l=t.call(n,c,a,o))}while(l);return r===j?e:B(r,a,c,e)}))},r}function sn(e,t){var n=s(e),r=[e].concat(t).map((function(e){return o(e)?n&&(e=i(e)):e=n?se(e):le(Array.isArray(e)?e:[e]),e})).filter((function(e){return 0!==e.size}));if(0===r.length)return e;if(1===r.length){var a=r[0];if(a===e||n&&s(a)||l(e)&&l(a))return a}var u=new te(r);return n?u=u.toKeyedSeq():l(e)||(u=u.toSetSeq()),(u=u.flatten(!0)).size=r.reduce((function(e,t){if(void 0!==e){var n=t.size;if(void 0!==n)return e+n}}),0),u}function ln(e,t,n){var i=bn(e);return i.__iterateUncached=function(i,r){var a=0,s=!1;function l(e,u){var c=this;e.__iterate((function(e,r){return(!t||u<t)&&o(e)?l(e,u+1):!1===i(e,n?r:a++,c)&&(s=!0),!s}),r)}return l(e,0),a},i.__iteratorUncached=function(i,r){var a=e.__iterator(i,r),s=[],l=0;return new z((function(){for(;a;){var e=a.next();if(!1===e.done){var u=e.value;if(i===j&&(u=u[1]),t&&!(s.length<t)||!o(u))return n?e:B(i,l++,u,e);s.push(a),a=u.__iterator(i,r)}else a=s.pop()}return G()}))},i}function un(e,t,n){var i=_n(e);return e.toSeq().map((function(r,a){return i(t.call(n,r,a,e))})).flatten(!0)}function cn(e,t){var n=bn(e);return n.size=e.size&&2*e.size-1,n.__iterateUncached=function(n,i){var r=this,a=0;return e.__iterate((function(e,i){return(!a||!1!==n(t,a++,r))&&!1!==n(e,a++,r)}),i),a},n.__iteratorUncached=function(n,i){var r,a=e.__iterator(M,i),o=0;return new z((function(){return(!r||o%2)&&(r=a.next()).done?r:o%2?B(n,o++,t):B(n,o++,r.value,r)}))},n}function dn(e,t,n){t||(t=wn);var i=s(e),r=0,a=e.toSeq().map((function(t,i){return[i,t,r++,n?n(t,i,e):t]})).toArray();return a.sort((function(e,n){return t(e[3],n[3])||e[2]-n[2]})).forEach(i?function(e,t){a[t].length=2}:function(e,t){a[t]=e[1]}),i?K(a):l(e)?Q(a):J(a)}function fn(e,t,n){if(t||(t=wn),n){var i=e.toSeq().map((function(t,i){return[t,n(t,i,e)]})).reduce((function(e,n){return pn(t,e[1],n[1])?n:e}));return i&&i[0]}return e.reduce((function(e,n){return pn(t,e,n)?n:e}))}function pn(e,t,n){var i=e(n,t);return 0===i&&n!==t&&(null==n||n!=n)||i>0}function hn(e,t,i){var r=bn(e);return r.size=new te(i).map((function(e){return e.size})).min(),r.__iterate=function(e,t){for(var n,i=this.__iterator(M,t),r=0;!(n=i.next()).done&&!1!==e(n.value,r++,this););return r},r.__iteratorUncached=function(e,r){var a=i.map((function(e){return e=n(e),H(r?e.reverse():e)})),o=0,s=!1;return new z((function(){var n;return s||(n=a.map((function(e){return e.next()})),s=n.some((function(e){return e.done}))),s?G():B(e,o++,t.apply(null,n.map((function(e){return e.value}))))}))},r}function gn(e,t){return ae(e)?t:e.constructor(t)}function mn(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function vn(e){return Ue(e.size),C(e)}function _n(e){return s(e)?i:l(e)?r:a}function bn(e){return Object.create((s(e)?K:l(e)?Q:J).prototype)}function yn(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):V.prototype.cacheResult.call(this)}function wn(e,t){return e>t?1:e<t?-1:0}function Fn(e){var t=H(e);if(!t){if(!Y(e))throw new TypeError("Expected iterable or array-like: "+e);t=H(n(e))}return t}function kn(e,t){var n,i=function(a){if(a instanceof i)return a;if(!(this instanceof i))return new i(a);if(!n){n=!0;var o=Object.keys(e);Sn(r,o),r.size=o.length,r._name=t,r._keys=o,r._defaultValues=e}this._map=He(a)},r=i.prototype=Object.create(En);return r.constructor=i,i}t(qt,He),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):Wt()},qt.prototype.set=function(e,t){return Yt(this,e,t)},qt.prototype.remove=function(e){return Yt(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?Ht(t,n,e,this.__hash):(this.__ownerID=e,this._map=t,this._list=n,this)},qt.isOrderedMap=Ut,qt.prototype[h]=!0,qt.prototype[g]=qt.prototype.remove,t(Vt,K),Vt.prototype.get=function(e,t){return this._iter.get(e,t)},Vt.prototype.has=function(e){return this._iter.has(e)},Vt.prototype.valueSeq=function(){return this._iter.valueSeq()},Vt.prototype.reverse=function(){var e=this,t=Xt(this,!0);return this._useKeys||(t.valueSeq=function(){return e._iter.toSeq().reverse()}),t},Vt.prototype.map=function(e,t){var n=this,i=$t(this,e,t);return this._useKeys||(i.valueSeq=function(){return n._iter.toSeq().map(e,t)}),i},Vt.prototype.__iterate=function(e,t){var n,i=this;return this._iter.__iterate(this._useKeys?function(t,n){return e(t,n,i)}:(n=t?vn(this):0,function(r){return e(r,t?--n:n++,i)}),t)},Vt.prototype.__iterator=function(e,t){if(this._useKeys)return this._iter.__iterator(e,t);var n=this._iter.__iterator(M,t),i=t?vn(this):0;return new z((function(){var r=n.next();return r.done?r:B(e,t?--i:i++,r.value,r)}))},Vt.prototype[h]=!0,t(Kt,Q),Kt.prototype.includes=function(e){return this._iter.includes(e)},Kt.prototype.__iterate=function(e,t){var n=this,i=0;return this._iter.__iterate((function(t){return e(t,i++,n)}),t)},Kt.prototype.__iterator=function(e,t){var n=this._iter.__iterator(M,t),i=0;return new z((function(){var t=n.next();return t.done?t:B(e,i++,t.value,t)}))},t(Qt,J),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(Jt,K),Jt.prototype.entrySeq=function(){return this._iter.toSeq()},Jt.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t){if(t){mn(t);var i=o(t);return e(i?t.get(1):t[1],i?t.get(0):t[0],n)}}),t)},Jt.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 i=t.value;if(i){mn(i);var r=o(i);return B(e,r?i.get(0):i[0],r?i.get(1):i[1],t)}}}))},Kt.prototype.cacheResult=Vt.prototype.cacheResult=Qt.prototype.cacheResult=Jt.prototype.cacheResult=yn,t(kn,ke),kn.prototype.toString=function(){return this.__toString(Cn(this)+" {","}")},kn.prototype.has=function(e){return this._defaultValues.hasOwnProperty(e)},kn.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},kn.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var e=this.constructor;return e._empty||(e._empty=xn(this,rt()))},kn.prototype.set=function(e,t){if(!this.has(e))throw new Error('Cannot set unknown key "'+e+'" on '+Cn(this));var n=this._map&&this._map.set(e,t);return this.__ownerID||n===this._map?this:xn(this,n)},kn.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:xn(this,t)},kn.prototype.wasAltered=function(){return this._map.wasAltered()},kn.prototype.__iterator=function(e,t){var n=this;return i(this._defaultValues).map((function(e,t){return n.get(t)})).__iterator(e,t)},kn.prototype.__iterate=function(e,t){var n=this;return i(this._defaultValues).map((function(e,t){return n.get(t)})).__iterate(e,t)},kn.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map&&this._map.__ensureOwner(e);return e?xn(this,t,e):(this.__ownerID=e,this._map=t,this)};var En=kn.prototype;function xn(e,t,n){var i=Object.create(Object.getPrototypeOf(e));return i._map=t,i.__ownerID=n,i}function Cn(e){return e._name||e.constructor.name||"Record"}function Sn(e,t){try{t.forEach(Dn.bind(void 0,e))}catch(e){}}function Dn(e,t){Object.defineProperty(e,t,{get:function(){return this.get(t)},set:function(e){ye(this.__ownerID,"Cannot set on an immutable record."),this.set(t,e)}})}function Pn(e){return null==e?Nn():An(e)&&!c(e)?e:Nn().withMutations((function(t){var n=a(e);Ue(n.size),n.forEach((function(e){return t.add(e)}))}))}function An(e){return!(!e||!e[Ln])}En[g]=En.remove,En.deleteIn=En.removeIn=Ke.removeIn,En.merge=Ke.merge,En.mergeWith=Ke.mergeWith,En.mergeIn=Ke.mergeIn,En.mergeDeep=Ke.mergeDeep,En.mergeDeepWith=Ke.mergeDeepWith,En.mergeDeepIn=Ke.mergeDeepIn,En.setIn=Ke.setIn,En.update=Ke.update,En.updateIn=Ke.updateIn,En.withMutations=Ke.withMutations,En.asMutable=Ke.asMutable,En.asImmutable=Ke.asImmutable,t(Pn,xe),Pn.of=function(){return this(arguments)},Pn.fromKeys=function(e){return this(i(e).keySeq())},Pn.prototype.toString=function(){return this.__toString("Set {","}")},Pn.prototype.has=function(e){return this._map.has(e)},Pn.prototype.add=function(e){return Mn(this,this._map.set(e,!0))},Pn.prototype.remove=function(e){return Mn(this,this._map.remove(e))},Pn.prototype.clear=function(){return Mn(this,this._map.clear())},Pn.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++)a(t[n]).forEach((function(t){return e.add(t)}))})):this.constructor(t[0])},Pn.prototype.intersect=function(){var t=e.call(arguments,0);if(0===t.length)return this;t=t.map((function(e){return a(e)}));var n=this;return this.withMutations((function(e){n.forEach((function(n){t.every((function(e){return e.includes(n)}))||e.remove(n)}))}))},Pn.prototype.subtract=function(){var t=e.call(arguments,0);if(0===t.length)return this;t=t.map((function(e){return a(e)}));var n=this;return this.withMutations((function(e){n.forEach((function(n){t.some((function(e){return e.includes(n)}))&&e.remove(n)}))}))},Pn.prototype.merge=function(){return this.union.apply(this,arguments)},Pn.prototype.mergeWith=function(t){var n=e.call(arguments,1);return this.union.apply(this,n)},Pn.prototype.sort=function(e){return Rn(dn(this,e))},Pn.prototype.sortBy=function(e,t){return Rn(dn(this,t,e))},Pn.prototype.wasAltered=function(){return this._map.wasAltered()},Pn.prototype.__iterate=function(e,t){var n=this;return this._map.__iterate((function(t,i){return e(i,i,n)}),t)},Pn.prototype.__iterator=function(e,t){return this._map.map((function(e,t){return t})).__iterator(e,t)},Pn.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)},Pn.isSet=An;var Tn,Ln="@@__IMMUTABLE_SET__@@",In=Pn.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(In);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function Nn(){return Tn||(Tn=jn(rt()))}function Rn(e){return null==e?qn():On(e)?e:qn().withMutations((function(t){var n=a(e);Ue(n.size),n.forEach((function(e){return t.add(e)}))}))}function On(e){return An(e)&&c(e)}In[Ln]=!0,In[g]=In.remove,In.mergeDeep=In.merge,In.mergeDeepWith=In.mergeWith,In.withMutations=Ke.withMutations,In.asMutable=Ke.asMutable,In.asImmutable=Ke.asImmutable,In.__empty=Nn,In.__make=jn,t(Rn,Pn),Rn.of=function(){return this(arguments)},Rn.fromKeys=function(e){return this(i(e).keySeq())},Rn.prototype.toString=function(){return this.__toString("OrderedSet {","}")},Rn.isOrderedSet=On;var zn,Bn=Rn.prototype;function Gn(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=Gn(Wt()))}function Un(e){return null==e?Qn():Hn(e)?e:Qn().unshiftAll(e)}function Hn(e){return!(!e||!e[Yn])}Bn[h]=!0,Bn.__empty=qn,Bn.__make=Gn,t(Un,Ee),Un.of=function(){return this(arguments)},Un.prototype.toString=function(){return this.__toString("Stack [","]")},Un.prototype.get=function(e,t){var n=this._head;for(e=S(this,e);n&&e--;)n=n.next;return n?n.value:t},Un.prototype.peek=function(){return this._head&&this._head.value},Un.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):Kn(e,t)},Un.prototype.pushAll=function(e){if(0===(e=r(e)).size)return this;Ue(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):Kn(t,n)},Un.prototype.pop=function(){return this.slice(1)},Un.prototype.unshift=function(){return this.push.apply(this,arguments)},Un.prototype.unshiftAll=function(e){return this.pushAll(e)},Un.prototype.shift=function(){return this.pop.apply(this,arguments)},Un.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()},Un.prototype.slice=function(e,t){if(P(e,t,this.size))return this;var n=A(e,this.size);if(T(t,this.size)!==this.size)return Ee.prototype.slice.call(this,e,t);for(var i=this.size-n,r=this._head;n--;)r=r.next;return this.__ownerID?(this.size=i,this._head=r,this.__hash=void 0,this.__altered=!0,this):Kn(i,r)},Un.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Kn(this.size,this._head,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},Un.prototype.__iterate=function(e,t){if(t)return this.reverse().__iterate(e);for(var n=0,i=this._head;i&&!1!==e(i.value,n++,this);)i=i.next;return n},Un.prototype.__iterator=function(e,t){if(t)return this.reverse().__iterator(e);var n=0,i=this._head;return new z((function(){if(i){var t=i.value;return i=i.next,B(e,n++,t)}return G()}))},Un.isStack=Hn;var Wn,Yn="@@__IMMUTABLE_STACK__@@",Vn=Un.prototype;function Kn(e,t,n,i){var r=Object.create(Vn);return r.size=e,r._head=t,r.__ownerID=n,r.__hash=i,r.__altered=!1,r}function Qn(){return Wn||(Wn=Kn(0))}function Jn(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}Vn[Yn]=!0,Vn.withMutations=Ke.withMutations,Vn.asMutable=Ke.asMutable,Vn.asImmutable=Ke.asImmutable,Vn.wasAltered=Ke.wasAltered,n.Iterator=z,Jn(n,{toArray:function(){Ue(this.size);var e=new Array(this.size||0);return this.valueSeq().__iterate((function(t,n){e[n]=t})),e},toIndexedSeq:function(){return new Kt(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 Vt(this,!0)},toMap:function(){return He(this.toKeyedSeq())},toObject:function(){Ue(this.size);var e={};return this.__iterate((function(t,n){e[n]=t})),e},toOrderedMap:function(){return qt(this.toKeyedSeq())},toOrderedSet:function(){return Rn(s(this)?this.valueSeq():this)},toSet:function(){return Pn(s(this)?this.valueSeq():this)},toSetSeq:function(){return new Qt(this)},toSeq:function(){return l(this)?this.toIndexedSeq():s(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return Un(s(this)?this.valueSeq():this)},toList:function(){return Et(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 gn(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){Ue(this.size);var n=!0;return this.__iterate((function(i,r,a){if(!e.call(t,i,r,a))return n=!1,!1})),n},filter:function(e,t){return gn(this,en(this,e,t,!0))},find:function(e,t,n){var i=this.findEntry(e,t);return i?i[1]:n},findEntry:function(e,t){var n;return this.__iterate((function(i,r,a){if(e.call(t,i,r,a))return n=[r,i],!1})),n},findLastEntry:function(e,t){return this.toSeq().reverse().findEntry(e,t)},forEach:function(e,t){return Ue(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){Ue(this.size),e=void 0!==e?""+e:",";var t="",n=!0;return this.__iterate((function(i){n?n=!1:t+=e,t+=null!=i?i.toString():""})),t},keys:function(){return this.__iterator(I)},map:function(e,t){return gn(this,$t(this,e,t))},reduce:function(e,t,n){var i,r;return Ue(this.size),arguments.length<2?r=!0:i=t,this.__iterate((function(t,a,o){r?(r=!1,i=t):i=e.call(n,i,t,a,o)})),i},reduceRight:function(e,t,n){var i=this.toKeyedSeq().reverse();return i.reduce.apply(i,arguments)},reverse:function(){return gn(this,Xt(this,!0))},slice:function(e,t){return gn(this,rn(this,e,t,!0))},some:function(e,t){return!this.every(ti(e),t)},sort:function(e){return gn(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 C(e?this.toSeq().filter(e,t):this)},countBy:function(e,t){return tn(this,e,t)},equals:function(e){return _e(this,e)},entrySeq:function(){var e=this;if(e._cache)return new te(e._cache);var t=e.toSeq().map(ei).toIndexedSeq();return t.fromEntrySeq=function(){return e.toSeq()},t},filterNot:function(e,t){return this.filter(ti(e),t)},findLast:function(e,t,n){return this.toKeyedSeq().reverse().find(e,t,n)},first:function(){return this.find(D)},flatMap:function(e,t){return gn(this,un(this,e,t))},flatten:function(e){return gn(this,ln(this,e,!0))},fromEntrySeq:function(){return new Jt(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,i=this,r=Fn(e);!(n=r.next()).done;){var a=n.value;if((i=i&&i.get?i.get(a,b):b)===b)return t}return i},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?ni(e):ai)},minBy:function(e,t){return fn(this,t?ni(t):ai,e)},rest:function(){return this.slice(1)},skip:function(e){return this.slice(Math.max(0,e))},skipLast:function(e){return gn(this,this.toSeq().reverse().skip(e).reverse())},skipWhile:function(e,t){return gn(this,on(this,e,t,!0))},skipUntil:function(e,t){return this.skipWhile(ti(e),t)},sortBy:function(e,t){return gn(this,dn(this,t,e))},take:function(e){return this.slice(0,Math.max(0,e))},takeLast:function(e){return gn(this,this.toSeq().reverse().take(e).reverse())},takeWhile:function(e,t){return gn(this,an(this,e,t))},takeUntil:function(e,t){return this.takeWhile(ti(e),t)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=oi(this))}});var Zn=n.prototype;Zn[d]=!0,Zn[O]=Zn.values,Zn.__toJS=Zn.toArray,Zn.__toStringMapper=ii,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){}}(),Jn(i,{flip:function(){return gn(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,i=0;return gn(this,this.toSeq().map((function(r,a){return e.call(t,[a,r],i++,n)})).fromEntrySeq())},mapKeys:function(e,t){var n=this;return gn(this,this.toSeq().flip().map((function(i,r){return e.call(t,i,r,n)})).flip())}});var $n=i.prototype;function Xn(e,t){return t}function ei(e,t){return[t,e]}function ti(e){return function(){return!e.apply(this,arguments)}}function ni(e){return function(){return-e.apply(this,arguments)}}function ii(e){return"string"==typeof e?JSON.stringify(e):e}function ri(){return x(arguments)}function ai(e,t){return e<t?1:e>t?-1:0}function oi(e){if(e.size===1/0)return 0;var t=c(e),n=s(e),i=t?1:0;return si(e.__iterate(n?t?function(e,t){i=31*i+li(De(e),De(t))|0}:function(e,t){i=i+li(De(e),De(t))|0}:t?function(e){i=31*i+De(e)|0}:function(e){i=i+De(e)|0}),i)}function si(e,t){return t=Ce(t,3432918353),t=Ce(t<<15|t>>>-15,461845907),t=Ce(t<<13|t>>>-13,5),t=Ce((t=(t+3864292196|0)^e)^t>>>16,2246822507),t=Se((t=Ce(t^t>>>13,3266489909))^t>>>16)}function li(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}return $n[f]=!0,$n[O]=Zn.entries,$n.__toJS=Zn.toObject,$n.__toStringMapper=function(e,t){return JSON.stringify(t)+": "+ii(e)},Jn(r,{toKeyedSeq:function(){return new Vt(this,!1)},filter:function(e,t){return gn(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 gn(this,Xt(this,!1))},slice:function(e,t){return gn(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=A(e,e<0?this.count():this.size);var i=this.slice(0,e);return gn(this,1===n?i:i.concat(x(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 gn(this,ln(this,e,!1))},get:function(e,t){return(e=S(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=S(this,e))>=0&&(void 0!==this.size?this.size===1/0||e<this.size:-1!==this.indexOf(e))},interpose:function(e){return gn(this,cn(this,e))},interleave:function(){var e=[this].concat(x(arguments)),t=hn(this.toSeq(),Q.of,e),n=t.flatten(!0);return t.size&&(n.size=t.size*e.length),gn(this,n)},last:function(){return this.get(-1)},skipWhile:function(e,t){return gn(this,on(this,e,t,!1))},zip:function(){return gn(this,hn(this,ri,[this].concat(x(arguments))))},zipWith:function(e){var t=x(arguments);return t[0]=this,gn(this,hn(this,e,t))}}),r.prototype[p]=!0,r.prototype[h]=!0,Jn(a,{get:function(e,t){return this.has(e)?e:t},includes:function(e){return this.has(e)},keySeq:function(){return this.valueSeq()}}),a.prototype.has=Zn.includes,Jn(K,i.prototype),Jn(Q,r.prototype),Jn(J,a.prototype),Jn(ke,i.prototype),Jn(Ee,r.prototype),Jn(xe,a.prototype),{Iterable:n,Seq:V,Collection:Fe,Map:He,OrderedMap:qt,List:Et,Stack:Un,Set:Pn,OrderedSet:Rn,Record:kn,Range:we,Repeat:be,is:ve,fromJS:pe}}()}(kze);var Eze=kze.exports.OrderedMap,xze={createFromArray:function(e){return Eze(e.map((function(e){return[e.getKey(),e]})))}},Cze=xze;var Sze=kze.exports,Dze=Sze.Map,Pze=Sze.OrderedSet,Aze=Sze.Record,Tze=Pze(),Lze={style:Tze,entity:null},Ize=function(e){var t,n;function i(){return e.apply(this,arguments)||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=i.prototype;return r.getStyle=function(){return this.get("style")},r.getEntity=function(){return this.get("entity")},r.hasStyle=function(e){return this.getStyle().includes(e)},i.applyStyle=function(e,t){var n=e.set("style",e.getStyle().add(t));return i.create(n)},i.removeStyle=function(e,t){var n=e.set("style",e.getStyle().remove(t));return i.create(n)},i.applyEntity=function(e,t){var n=e.getEntity()===t?e:e.set("entity",t);return i.create(n)},i.create=function(e){if(!e)return Mze;var t=Dze({style:Tze,entity:null}).merge(e),n=jze.get(t);if(n)return n;var r=new i(t);return jze=jze.set(t,r),r},i.fromJS=function(e){var t=e.style,n=e.entity;return new i({style:Array.isArray(t)?Pze(t):t,entity:Array.isArray(n)?Pze(n):n})},i}(Aze(Lze)),Mze=new Ize,jze=Dze([[Dze(Lze),Mze]]);Ize.EMPTY=Mze;var Nze=Ize;var Rze=function(e,t,n,i){if(e.size){var r=0;e.reduce((function(e,a,o){return t(e,a)||(n(e)&&i(r,o),r=o),a})),n(e.last())&&i(r,e.count())}};var Oze=Nze,zze=Rze,Bze=kze.exports,Gze=Bze.List,qze=Bze.Map,Uze=Bze.OrderedSet,Hze=Bze.Record,Wze=Bze.Repeat,Yze=Uze(),Vze=Hze({key:"",type:"unstyled",text:"",characterList:Gze(),depth:0,data:qze()}),Kze=function(e){var t,n;function i(t){return e.call(this,function(e){if(!e)return e;var t=e.characterList,n=e.text;return n&&!t&&(e.characterList=Gze(Wze(Oze.EMPTY,n.length))),e}(t))||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=i.prototype;return r.getKey=function(){return this.get("key")},r.getType=function(){return this.get("type")},r.getText=function(){return this.get("text")},r.getCharacterList=function(){return this.get("characterList")},r.getLength=function(){return this.getText().length},r.getDepth=function(){return this.get("depth")},r.getData=function(){return this.get("data")},r.getInlineStyleAt=function(e){var t=this.getCharacterList().get(e);return t?t.getStyle():Yze},r.getEntityAt=function(e){var t=this.getCharacterList().get(e);return t?t.getEntity():null},r.findStyleRanges=function(e,t){zze(this.getCharacterList(),Qze,e,t)},r.findEntityRanges=function(e,t){zze(this.getCharacterList(),Jze,e,t)},i}(Vze);function Qze(e,t){return e.getStyle()===t.getStyle()}function Jze(e,t){return e.getEntity()===t.getEntity()}var Zze=Kze;var $ze=Nze,Xze=Rze,eBe=kze.exports,tBe=eBe.List,nBe=eBe.Map,iBe=eBe.OrderedSet,rBe=eBe.Record,aBe=eBe.Repeat,oBe=iBe(),sBe={parent:null,characterList:tBe(),data:nBe(),depth:0,key:"",text:"",type:"unstyled",children:tBe(),prevSibling:null,nextSibling:null},lBe=function(e,t){return e.getStyle()===t.getStyle()},uBe=function(e,t){return e.getEntity()===t.getEntity()},cBe=function(e){if(!e)return e;var t=e.characterList,n=e.text;return n&&!t&&(e.characterList=tBe(aBe($ze.EMPTY,n.length))),e},dBe=function(e){var t,n;function i(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:sBe;return e.call(this,cBe(t))||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=i.prototype;return r.getKey=function(){return this.get("key")},r.getType=function(){return this.get("type")},r.getText=function(){return this.get("text")},r.getCharacterList=function(){return this.get("characterList")},r.getLength=function(){return this.getText().length},r.getDepth=function(){return this.get("depth")},r.getData=function(){return this.get("data")},r.getInlineStyleAt=function(e){var t=this.getCharacterList().get(e);return t?t.getStyle():oBe},r.getEntityAt=function(e){var t=this.getCharacterList().get(e);return t?t.getEntity():null},r.getChildKeys=function(){return this.get("children")},r.getParentKey=function(){return this.get("parent")},r.getPrevSiblingKey=function(){return this.get("prevSibling")},r.getNextSiblingKey=function(){return this.get("nextSibling")},r.findStyleRanges=function(e,t){Xze(this.getCharacterList(),lBe,e,t)},r.findEntityRanges=function(e,t){Xze(this.getCharacterList(),uBe,e,t)},i}(rBe(sBe)),fBe=dBe,pBe=Nze,hBe=kze.exports.Map;function gBe(e,t,n,i){var r=e.getBlockMap(),a=t.getStartKey(),o=t.getStartOffset(),s=t.getEndKey(),l=t.getEndOffset(),u=r.skipUntil((function(e,t){return t===a})).takeUntil((function(e,t){return t===s})).concat(hBe([[s,r.get(s)]])).map((function(e,t){var r,u;a===s?(r=o,u=l):(r=t===a?o:0,u=t===s?l:e.getLength());for(var c,d=e.getCharacterList();r<u;)c=d.get(r),d=d.set(r,i?pBe.applyStyle(c,n):pBe.removeStyle(c,n)),r++;return e.set("characterList",d)}));return e.merge({blockMap:r.merge(u),selectionBefore:t,selectionAfter:t})}var mBe={add:function(e,t,n){return gBe(e,t,n,!0)},remove:function(e,t,n){return gBe(e,t,n,!1)}},vBe=Nze;var _Be=function(e,t,n,i){for(var r=t,a=e.getCharacterList();r<n;)a=a.set(r,vBe.applyEntity(a.get(r),i)),r++;return e.set("characterList",a)},bBe=kze.exports;var yBe=function(e,t,n){var i=e.getBlockMap(),r=t.getStartKey(),a=t.getStartOffset(),o=t.getEndKey(),s=t.getEndOffset(),l=i.skipUntil((function(e,t){return t===r})).takeUntil((function(e,t){return t===o})).toOrderedMap().merge(bBe.OrderedMap([[o,i.get(o)]])).map((function(e,t){var i=t===r?a:0,l=t===o?s:e.getLength();return _Be(e,i,l,n)}));return e.merge({blockMap:i.merge(l),selectionBefore:t,selectionAfter:t})},wBe={getRemovalRange:function(e,t,n,i,r){var a=n.split(" ");a=a.map((function(e,t){if("forward"===r){if(t>0)return" "+e}else if(t<a.length-1)return e+" ";return e}));for(var o,s=i,l=null,u=null,c=0;c<a.length;c++){if(e<(o=s+a[c].length)&&s<t)null!==l||(l=s),u=o;else if(null!==l)break;s=o}var d=i+n.length,f=l===i,p=u===d;return(!f&&p||f&&!p)&&("forward"===r?u!==d&&u++:l!==i&&l--),{start:l,end:u}}},FBe="production"!==go.env.NODE_ENV?function(e){}:function(e){if(void 0===e)throw new Error("invariant(...): Second argument must be a string.")};var kBe=function(e,t){for(var n=arguments.length,i=new Array(n>2?n-2:0),r=2;r<n;r++)i[r-2]=arguments[r];if(FBe(t),!e){var a;if(void 0===t)a=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var o=0;(a=new Error(t.replace(/%s/g,(function(){return String(i[o++])})))).name="Invariant Violation"}throw a.framesToPop=1,a}},EBe=kBe;var xBe=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"!==go.env.NODE_ENV?EBe(!1,"Entity key not found in this range."):EBe(!1)),n},CBe=wBe,SBe=xBe,DBe=kBe;function PBe(e,t,n,i,r,a,o){var s=n.getStartOffset(),l=n.getEndOffset(),u=e.__get(r).getMutability(),c=o?s:l;if("MUTABLE"===u)return n;var d=SBe(t,r).filter((function(e){return c<=e.end&&c>=e.start}));1!=d.length&&("production"!==go.env.NODE_ENV?DBe(!1,"There should only be one entity range within this removal range."):DBe(!1));var f=d[0];if("IMMUTABLE"===u)return n.merge({anchorOffset:f.start,focusOffset:f.end,isBackward:!1});a||(o?l=f.end:s=f.start);var p=CBe.getRemovalRange(s,l,t.getText().slice(f.start,f.end),f.start,i);return n.merge({anchorOffset:p.start,focusOffset:p.end,isBackward:!1})}var ABe=function(e,t,n,i,r){var a=i.getStartOffset(),o=i.getEndOffset(),s=t.getEntityAt(a),l=n.getEntityAt(o-1);if(!s&&!l)return i;var u=i;if(s&&s===l)u=PBe(e,t,u,r,s,!0,!0);else if(s&&l){var c=PBe(e,t,u,r,s,!1,!0),d=PBe(e,n,u,r,l,!1,!1);u=u.merge({anchorOffset:c.getAnchorOffset(),focusOffset:d.getFocusOffset(),isBackward:!1})}else if(s){var f=PBe(e,t,u,r,s,!1,!0);u=u.merge({anchorOffset:f.getStartOffset(),isBackward:!1})}else if(l){var p=PBe(e,n,u,r,l,!1,!1);u=u.merge({focusOffset:p.getEndOffset(),isBackward:!1})}return u},TBe={},LBe=Math.pow(2,24);var IBe=function(){for(var e;void 0===e||TBe.hasOwnProperty(e)||!isNaN(+e);)e=Math.floor(Math.random()*LBe).toString(32);return TBe[e]=!0,e},MBe=fBe,jBe=IBe,NBe=kze.exports.OrderedMap,RBe=function(e){return e.first()instanceof MBe?function(e){var t,n={};return NBe(e.withMutations((function(e){e.forEach((function(i,r){var a=i.getKey(),o=i.getNextSiblingKey(),s=i.getPrevSiblingKey(),l=i.getChildKeys(),u=i.getParentKey(),c=jBe();if(n[a]=c,o&&(e.get(o)?e.setIn([o,"prevSibling"],c):e.setIn([a,"nextSibling"],null)),s&&(e.get(s)?e.setIn([s,"nextSibling"],c):e.setIn([a,"prevSibling"],null)),u&&e.get(u)){var d=e.get(u).getChildKeys();e.setIn([u,"children"],d.set(d.indexOf(i.getKey()),c))}else e.setIn([a,"parent"],null),t&&(e.setIn([t.getKey(),"nextSibling"],c),e.setIn([a,"prevSibling"],n[t.getKey()])),t=e.get(a);l.forEach((function(t){e.get(t)?e.setIn([t,"parent"],c):e.setIn([a,"children"],i.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 NBe(e.toArray().map((function(e){var t=jBe();return[t,e.set("key",t)]})))}(e)},OBe=Nze,zBe=Rze,BBe=kBe;function GBe(e,t,n){var i=t.getCharacterList(),r=n>0?i.get(n-1):void 0,a=n<i.count()?i.get(n):void 0,o=r?r.getEntity():void 0,s=a?a.getEntity():void 0;if(s&&s===o&&"MUTABLE"!==e.__get(s).getMutability()){for(var l,u=function(e,t,n){var i;return zBe(e,(function(e,t){return e.getEntity()===t.getEntity()}),(function(e){return e.getEntity()===t}),(function(e,t){e<=n&&t>=n&&(i={start:e,end:t})})),"object"!=typeof i&&("production"!==go.env.NODE_ENV?BBe(!1,"Removal range must exist within character list."):BBe(!1)),i}(i,s,n),c=u.start,d=u.end;c<d;)l=i.get(c),i=i.set(c,OBe.applyEntity(l,null)),c++;return t.set("characterList",i)}return t}var qBe=function(e,t){var n=e.getBlockMap(),i=e.getEntityMap(),r={},a=t.getStartKey(),o=t.getStartOffset(),s=n.get(a),l=GBe(i,s,o);l!==s&&(r[a]=l);var u=t.getEndKey(),c=t.getEndOffset(),d=n.get(u);a===u&&(d=l);var f=GBe(i,d,c);return f!==d&&(r[u]=f),Object.keys(r).length?e.merge({blockMap:n.merge(r),selectionAfter:t}):e.set("selectionAfter",t)},UBe=RBe,HBe=qBe,WBe=function(e,t){var n=t.getStartKey(),i=t.getStartOffset(),r=t.getEndKey(),a=t.getEndOffset(),o=HBe(e,t).getBlockMap(),s=o.keySeq(),l=s.indexOf(n),u=s.indexOf(r)+1;return UBe(o.slice(l,u).map((function(e,t){var o=e.getText(),s=e.getCharacterList();return n===r?e.merge({text:o.slice(i,a),characterList:s.slice(i,a)}):t===n?e.merge({text:o.slice(i),characterList:s.slice(i)}):t===r?e.merge({text:o.slice(0,a),characterList:s.slice(0,a)}):e})))};var YBe=function(e,t,n){var i=e;if(n===i.count())t.forEach((function(e){i=i.push(e)}));else if(0===n)t.reverse().forEach((function(e){i=i.unshift(e)}));else{var r=i.slice(0,n),a=i.slice(n);i=r.concat(t,a).toList()}return i},VBe=Cze,KBe=fBe,QBe=YBe,JBe=kBe,ZBe=RBe,$Be=kze.exports.List,XBe=function(e,t,n,i,r,a){var o=arguments.length>6&&void 0!==arguments[6]?arguments[6]:"REPLACE_WITH_NEW_DATA",s=n.get(r),l=s.getText(),u=s.getCharacterList(),c=r,d=a+i.getText().length,f=null;switch(o){case"MERGE_OLD_DATA_TO_NEW_DATA":f=i.getData().merge(s.getData());break;case"REPLACE_WITH_NEW_DATA":f=i.getData()}var p=s.getType();l&&"unstyled"===p&&(p=i.getType());var h=s.merge({text:l.slice(0,a)+i.getText()+l.slice(a),characterList:QBe(u,i.getCharacterList(),a),type:p,data:f});return e.merge({blockMap:n.set(r,h),selectionBefore:t,selectionAfter:t.merge({anchorKey:c,anchorOffset:d,focusKey:c,focusOffset:d,isBackward:!1})})},eGe=function(e,t,n,i,r,a){var o=n.first()instanceof KBe,s=[],l=i.size,u=n.get(r),c=i.first(),d=i.last(),f=d.getLength(),p=d.getKey(),h=o&&(!u.getChildKeys().isEmpty()||!c.getChildKeys().isEmpty());n.forEach((function(e,t){t===r?(h?s.push(e):s.push(function(e,t,n){var i=e.getText(),r=e.getCharacterList(),a=i.slice(0,t),o=r.slice(0,t),s=n.first();return e.merge({text:a+s.getText(),characterList:o.concat(s.getCharacterList()),type:a?e.getType():s.getType(),data:s.getData()})}(e,a,i)),i.slice(h?0:1,l-1).forEach((function(e){return s.push(e)})),s.push(function(e,t,n){var i=e.getText(),r=e.getCharacterList(),a=i.length,o=i.slice(t,a),s=r.slice(t,a),l=n.last();return l.merge({text:l.getText()+o,characterList:l.getCharacterList().concat(s),data:l.getData()})}(e,a,i))):s.push(e)}));var g=VBe.createFromArray(s);return o&&(g=function(e,t,n,i){return e.withMutations((function(t){var r=n.getKey(),a=i.getKey(),o=n.getNextSiblingKey(),s=n.getParentKey(),l=function(e,t){var n=e.getKey(),i=e,r=[];for(t.get(n)&&r.push(n);i&&i.getNextSiblingKey();){var a=i.getNextSiblingKey();if(!a)break;r.push(a),i=t.get(a)}return r}(i,e),u=l[l.length-1];if(t.get(a)?(t.setIn([r,"nextSibling"],a),t.setIn([a,"prevSibling"],r)):(t.setIn([r,"nextSibling"],i.getNextSiblingKey()),t.setIn([i.getNextSiblingKey(),"prevSibling"],r)),t.setIn([u,"nextSibling"],o),o&&t.setIn([o,"prevSibling"],u),l.forEach((function(e){return t.setIn([e,"parent"],s)})),s){var c=e.get(s).getChildKeys(),d=c.indexOf(r)+1,f=c.toArray();f.splice.apply(f,[d,0].concat(l)),t.setIn([s,"children"],$Be(f))}}))}(g,0,u,c)),e.merge({blockMap:g,selectionBefore:t,selectionAfter:t.merge({anchorKey:p,anchorOffset:f,focusKey:p,focusOffset:f,isBackward:!1})})},tGe=function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"REPLACE_WITH_NEW_DATA";t.isCollapsed()||("production"!==go.env.NODE_ENV?JBe(!1,"`insertFragment` should only be called with a collapsed selection state."):JBe(!1));var r=e.getBlockMap(),a=ZBe(n),o=t.getStartKey(),s=t.getStartOffset(),l=r.get(o);return l instanceof KBe&&(l.getChildKeys().isEmpty()||("production"!==go.env.NODE_ENV?JBe(!1,"`insertFragment` should not be called when a container node is selected."):JBe(!1))),1===a.size?XBe(e,t,r,a.first(),o,s,i):eGe(e,t,r,a,o,s)},nGe=YBe,iGe=kBe,rGe=kze.exports.Repeat;var aGe=function(e,t,n,i){t.isCollapsed()||("production"!==go.env.NODE_ENV?iGe(!1,"`insertText` should only be called with a collapsed range."):iGe(!1));var r=null;if(null!=n&&(r=n.length),null==r||0===r)return e;var a=e.getBlockMap(),o=t.getStartKey(),s=t.getStartOffset(),l=a.get(o),u=l.getText(),c=l.merge({text:u.slice(0,s)+n+u.slice(s,l.getLength()),characterList:nGe(l.getCharacterList(),rGe(i,r).toList(),s)}),d=s+r;return e.merge({blockMap:a.set(o,c),selectionAfter:t.merge({anchorOffset:d,focusOffset:d})})},oGe=kze.exports.Map;var sGe=function(e,t,n){var i=t.getStartKey(),r=t.getEndKey(),a=e.getBlockMap(),o=a.toSeq().skipUntil((function(e,t){return t===i})).takeUntil((function(e,t){return t===r})).concat(oGe([[r,a.get(r)]])).map(n);return e.merge({blockMap:a.merge(o),selectionBefore:t,selectionAfter:t})},lGe=fBe,uGe=function(e,t){if(!(e instanceof lGe))return null;var n=e.getNextSiblingKey();if(n)return n;var i=e.getParentKey();if(!i)return null;for(var r=t.get(i);r&&!r.getNextSiblingKey();){var a=r.getParentKey();r=a?t.get(a):null}return r?r.getNextSiblingKey():null},cGe=fBe,dGe=uGe,fGe=kze.exports;fGe.List;var pGe=fGe.Map,hGe=function(e,t,n){if(e){var i=t.get(e);i&&t.set(e,n(i))}},gGe=function(e,t){var n=[];if(!e)return n;for(var i=t.get(e);i&&i.getParentKey();){var r=i.getParentKey();r&&n.push(r),i=r?t.get(r):null}return n},mGe=function(e,t,n){if(!e)return null;for(var i=n.get(e.getKey()).getNextSiblingKey();i&&!t.get(i);)i=n.get(i).getNextSiblingKey()||null;return i},vGe=function(e,t,n){if(!e)return null;for(var i=n.get(e.getKey()).getPrevSiblingKey();i&&!t.get(i);)i=n.get(i).getPrevSiblingKey()||null;return i},_Ge=function(e,t,n,i){return e.withMutations((function(r){if(hGe(t.getKey(),r,(function(e){return e.merge({nextSibling:mGe(e,r,i),prevSibling:vGe(e,r,i)})})),hGe(n.getKey(),r,(function(e){return e.merge({nextSibling:mGe(e,r,i),prevSibling:vGe(e,r,i)})})),gGe(t.getKey(),i).forEach((function(e){return hGe(e,r,(function(e){return e.merge({children:e.getChildKeys().filter((function(e){return r.get(e)})),nextSibling:mGe(e,r,i),prevSibling:vGe(e,r,i)})}))})),hGe(t.getNextSiblingKey(),r,(function(e){return e.merge({prevSibling:t.getPrevSiblingKey()})})),hGe(t.getPrevSiblingKey(),r,(function(e){return e.merge({nextSibling:mGe(e,r,i)})})),hGe(n.getNextSiblingKey(),r,(function(e){return e.merge({prevSibling:vGe(e,r,i)})})),hGe(n.getPrevSiblingKey(),r,(function(e){return e.merge({nextSibling:n.getNextSiblingKey()})})),gGe(n.getKey(),i).forEach((function(e){hGe(e,r,(function(e){return e.merge({children:e.getChildKeys().filter((function(e){return r.get(e)})),nextSibling:mGe(e,r,i),prevSibling:vGe(e,r,i)})}))})),function(e,t){var n=[];if(!e)return n;for(var i=dGe(e,t);i&&t.get(i);){var r=t.get(i);n.push(i),i=r.getParentKey()?dGe(r,t):null}return n}(n,i).forEach((function(e){return hGe(e,r,(function(e){return e.merge({nextSibling:mGe(e,r,i),prevSibling:vGe(e,r,i)})}))})),null==e.get(t.getKey())&&null!=e.get(n.getKey())&&n.getParentKey()===t.getKey()&&null==n.getPrevSiblingKey()){var a=t.getPrevSiblingKey();hGe(n.getKey(),r,(function(e){return e.merge({prevSibling:a})})),hGe(a,r,(function(e){return e.merge({nextSibling:n.getKey()})}));var o=a?e.get(a):null,s=o?o.getParentKey():null;if(t.getChildKeys().forEach((function(e){hGe(e,r,(function(e){return e.merge({parent:s})}))})),null!=s){var l=e.get(s);hGe(s,r,(function(e){return e.merge({children:l.getChildKeys().concat(t.getChildKeys())})}))}hGe(t.getChildKeys().find((function(t){return null===e.get(t).getNextSiblingKey()})),r,(function(e){return e.merge({nextSibling:t.getNextSiblingKey()})}))}}))},bGe=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 i=e.slice(0,t),r=e.slice(n);e=i.concat(r).toList()}return e},yGe=function(e,t){if(t.isCollapsed())return e;var n,i=e.getBlockMap(),r=t.getStartKey(),a=t.getStartOffset(),o=t.getEndKey(),s=t.getEndOffset(),l=i.get(r),u=i.get(o),c=l instanceof cGe,d=[];if(c){var f=u.getChildKeys(),p=gGe(o,i);u.getNextSiblingKey()&&(d=d.concat(p)),f.isEmpty()||(d=d.concat(p.concat([o]))),d=d.concat(gGe(dGe(u,i),i))}n=l===u?bGe(l.getCharacterList(),a,s):l.getCharacterList().slice(0,a).concat(u.getCharacterList().slice(s));var h=l.merge({text:l.getText().slice(0,a)+u.getText().slice(s),characterList:n}),g=c&&0===a&&0===s&&u.getParentKey()===r&&null==u.getPrevSiblingKey()?pGe([[r,null]]):i.toSeq().skipUntil((function(e,t){return t===r})).takeUntil((function(e,t){return t===o})).filter((function(e,t){return-1===d.indexOf(t)})).concat(pGe([[o,null]])).map((function(e,t){return t===r?h:null})),m=i.merge(g).filter((function(e){return!!e}));return c&&l!==u&&(m=_Ge(m,l,u,i)),e.merge({blockMap:m,selectionBefore:t,selectionAfter:t.merge({anchorKey:r,anchorOffset:a,focusKey:r,focusOffset:a,isBackward:!1})})},wGe=fBe,FGe=IBe,kGe=kze.exports,EGe=kBe,xGe=sGe,CGe=kGe.List,SGe=kGe.Map,DGe=function(e,t,n){if(e){var i=t.get(e);i&&t.set(e,n(i))}},PGe=function(e,t){t.isCollapsed()||("production"!==go.env.NODE_ENV?EGe(!1,"Selection range must be collapsed."):EGe(!1));var n=t.getAnchorKey(),i=e.getBlockMap(),r=i.get(n),a=r.getText();if(!a){var o=r.getType();if("unordered-list-item"===o||"ordered-list-item"===o)return xGe(e,t,(function(e){return e.merge({type:"unstyled",depth:0})}))}var s=t.getAnchorOffset(),l=r.getCharacterList(),u=FGe(),c=r instanceof wGe,d=r.merge({text:a.slice(0,s),characterList:l.slice(0,s)}),f=d.merge({key:u,text:a.slice(s),characterList:l.slice(s),data:SGe()}),p=i.toSeq().takeUntil((function(e){return e===r})),h=i.toSeq().skipUntil((function(e){return e===r})).rest(),g=p.concat([[n,d],[u,f]],h).toOrderedMap();return c&&(r.getChildKeys().isEmpty()||("production"!==go.env.NODE_ENV?EGe(!1,"ContentBlockNode must not have children"):EGe(!1)),g=function(e,t,n){return e.withMutations((function(e){var i=t.getKey(),r=n.getKey();DGe(t.getParentKey(),e,(function(e){var t=e.getChildKeys(),n=t.indexOf(i)+1,a=t.toArray();return a.splice(n,0,r),e.merge({children:CGe(a)})})),DGe(t.getNextSiblingKey(),e,(function(e){return e.merge({prevSibling:r})})),DGe(i,e,(function(e){return e.merge({nextSibling:r})})),DGe(r,e,(function(e){return e.merge({prevSibling:i})}))}))}(g,d,f)),e.merge({blockMap:g,selectionBefore:t,selectionAfter:t.merge({anchorKey:u,anchorOffset:0,focusKey:u,focusOffset:0,isBackward:!1})})},AGe=Nze,TGe=mBe,LGe=yBe,IGe=ABe,MGe=WBe,jGe=tGe,NGe=aGe,RGe=kBe,OGe=sGe,zGe=qBe,BGe=yGe,GGe=PGe,qGe=kze.exports.OrderedSet,UGe={replaceText:function(e,t,n,i,r){var a=zGe(e,t),o=BGe(a,t),s=AGe.create({style:i||qGe(),entity:r||null});return NGe(o,o.getSelectionAfter(),n,s)},insertText:function(e,t,n,i,r){return t.isCollapsed()||("production"!==go.env.NODE_ENV?RGe(!1,"Target range must be collapsed for `insertText`."):RGe(!1)),UGe.replaceText(e,t,n,i,r)},moveText:function(e,t,n){var i=MGe(e,t),r=UGe.removeRange(e,t,"backward");return UGe.replaceWithFragment(r,n,i)},replaceWithFragment:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"REPLACE_WITH_NEW_DATA",r=zGe(e,t),a=BGe(r,t);return jGe(a,a.getSelectionAfter(),n,i)},removeRange:function(e,t,n){var i,r,a,o;t.getIsBackward()&&(t=t.merge({anchorKey:t.getFocusKey(),anchorOffset:t.getFocusOffset(),focusKey:t.getAnchorKey(),focusOffset:t.getAnchorOffset(),isBackward:!1})),i=t.getAnchorKey(),r=t.getFocusKey(),a=e.getBlockForKey(i),o=e.getBlockForKey(r);var s=t.getStartOffset(),l=t.getEndOffset(),u=a.getEntityAt(s),c=o.getEntityAt(l-1);if(i===r&&u&&u===c){var d=IGe(e.getEntityMap(),a,o,t,n);return BGe(e,d)}var f=zGe(e,t);return BGe(f,t)},splitBlock:function(e,t){var n=zGe(e,t),i=BGe(n,t);return GGe(i,i.getSelectionAfter())},applyInlineStyle:function(e,t,n){return TGe.add(e,t,n)},removeInlineStyle:function(e,t,n){return TGe.remove(e,t,n)},setBlockType:function(e,t,n){return OGe(e,t,(function(e){return e.merge({type:n,depth:0})}))},setBlockData:function(e,t,n){return OGe(e,t,(function(e){return e.merge({data:n})}))},mergeBlockData:function(e,t,n){return OGe(e,t,(function(e){return e.merge({data:e.getData().merge(n)})}))},applyEntity:function(e,t,n){var i=zGe(e,t);return LGe(i,t,n)}},HGe=UGe;var WGe=function(e){return Object.keys(e).map((function(t){return e[t]}))};function YGe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var VGe=Rze,KGe=WGe,QGe=kze.exports,JGe=QGe.List,ZGe=QGe.Repeat,$Ge=QGe.Record,XGe=function(){return!0},eqe=$Ge({start:null,end:null}),tqe=$Ge({start:null,end:null,decoratorKey:null,leaves:null}),nqe={generate:function(e,t,n){var i=t.getLength();if(!i)return JGe.of(new tqe({start:0,end:0,decoratorKey:null,leaves:JGe.of(new eqe({start:0,end:0}))}));var r=[],a=n?n.getDecorations(t,e):JGe(ZGe(null,i)),o=t.getCharacterList();return VGe(a,rqe,XGe,(function(e,t){r.push(new tqe({start:e,end:t,decoratorKey:a.get(e),leaves:iqe(o.slice(e,t).toList(),e)}))})),JGe(r)},fromJS:function(e){var t=e.leaves,n=function(e,t){if(null==e)return{};var n,i,r={},a=Object.keys(e);for(i=0;i<a.length;i++)n=a[i],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,["leaves"]);return new tqe(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){YGe(e,t,n[t])}))}return e}({},n,{leaves:null!=t?JGe(Array.isArray(t)?t:KGe(t)).map((function(e){return eqe(e)})):null}))}};function iqe(e,t){var n=[],i=e.map((function(e){return e.getStyle()})).toList();return VGe(i,rqe,XGe,(function(e,i){n.push(new eqe({start:e+t,end:i+t}))})),JGe(n)}function rqe(e,t){return e===t}var aqe=nqe;var oqe=function(e){var t,n;function i(){return e.apply(this,arguments)||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=i.prototype;return r.getType=function(){return this.get("type")},r.getMutability=function(){return this.get("mutability")},r.getData=function(){return this.get("data")},i}((0,kze.exports.Record)({type:"TOKEN",mutability:"IMMUTABLE",data:Object})),sqe=oqe;var lqe=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 uqe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var cqe=sqe,dqe=kBe,fqe=lqe,pqe=(0,kze.exports.Map)(),hqe=fqe();function gqe(e,t){console.warn("WARNING: "+e+' will be deprecated soon!\nPlease use "'+t+'" instead.')}var mqe={getLastCreatedEntityKey:function(){return gqe("DraftEntity.getLastCreatedEntityKey","contentState.getLastCreatedEntityKey"),mqe.__getLastCreatedEntityKey()},create:function(e,t,n){return gqe("DraftEntity.create","contentState.createEntity"),mqe.__create(e,t,n)},add:function(e){return gqe("DraftEntity.add","contentState.addEntity"),mqe.__add(e)},get:function(e){return gqe("DraftEntity.get","contentState.getEntity"),mqe.__get(e)},__getAll:function(){return pqe},__loadWithEntities:function(e){pqe=e,hqe=fqe()},mergeData:function(e,t){return gqe("DraftEntity.mergeData","contentState.mergeEntityData"),mqe.__mergeData(e,t)},replaceData:function(e,t){return gqe("DraftEntity.replaceData","contentState.replaceEntityData"),mqe.__replaceData(e,t)},__getLastCreatedEntityKey:function(){return hqe},__create:function(e,t,n){return mqe.__add(new cqe({type:e,mutability:t,data:n||{}}))},__add:function(e){return hqe=fqe(),pqe=pqe.set(hqe,e),hqe},__get:function(e){var t=pqe.get(e);return t||("production"!==go.env.NODE_ENV?dqe(!1,"Unknown DraftEntity key: %s.",e):dqe(!1)),t},__mergeData:function(e,t){var n=mqe.__get(e),i=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){uqe(e,t,n[t])}))}return e}({},n.getData(),t),r=n.set("data",i);return pqe=pqe.set(e,r),r},__replaceData:function(e,t){var n=mqe.__get(e).set("data",t);return pqe=pqe.set(e,n),n}},vqe=mqe;var _qe=function(e){var t,n;function i(){return e.apply(this,arguments)||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=i.prototype;return r.serialize=function(){return"Anchor: "+this.getAnchorKey()+":"+this.getAnchorOffset()+", Focus: "+this.getFocusKey()+":"+this.getFocusOffset()+", Is Backward: "+String(this.getIsBackward())+", Has Focus: "+String(this.getHasFocus())},r.getAnchorKey=function(){return this.get("anchorKey")},r.getAnchorOffset=function(){return this.get("anchorOffset")},r.getFocusKey=function(){return this.get("focusKey")},r.getFocusOffset=function(){return this.get("focusOffset")},r.getIsBackward=function(){return this.get("isBackward")},r.getHasFocus=function(){return this.get("hasFocus")},r.hasEdgeWithin=function(e,t,n){var i=this.getAnchorKey(),r=this.getFocusKey();if(i===r&&i===e){var a=this.getStartOffset(),o=this.getEndOffset();return t<=a&&a<=n||t<=o&&o<=n}if(e!==i&&e!==r)return!1;var s=e===i?this.getAnchorOffset():this.getFocusOffset();return t<=s&&n>=s},r.isCollapsed=function(){return this.getAnchorKey()===this.getFocusKey()&&this.getAnchorOffset()===this.getFocusOffset()},r.getStartKey=function(){return this.getIsBackward()?this.getFocusKey():this.getAnchorKey()},r.getStartOffset=function(){return this.getIsBackward()?this.getFocusOffset():this.getAnchorOffset()},r.getEndKey=function(){return this.getIsBackward()?this.getAnchorKey():this.getFocusKey()},r.getEndOffset=function(){return this.getIsBackward()?this.getAnchorOffset():this.getFocusOffset()},i.createEmpty=function(e){return new i({anchorKey:e,anchorOffset:0,focusKey:e,focusOffset:0,isBackward:!1,hasFocus:!1})},i}((0,kze.exports.Record)({anchorKey:"",anchorOffset:0,focusKey:"",focusOffset:0,isBackward:!1,hasFocus:!1})),bqe=_qe,yqe=function(e){return!("undefined"==typeof window||!window.__DRAFT_GKX)&&!!window.__DRAFT_GKX[e]},wqe=new RegExp("\r","g");var Fqe=function(e){return e.replace(wqe,"")};function kqe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){Eqe(e,t,n[t])}))}return e}function Eqe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var xqe=Cze,Cqe=Nze,Sqe=Zze,Dqe=fBe,Pqe=vqe,Aqe=bqe,Tqe=IBe,Lqe=WGe,Iqe=yqe,Mqe=kze.exports,jqe=Fqe,Nqe=Mqe.List,Rqe=Mqe.Record,Oqe=Mqe.Repeat,zqe=Mqe.Map,Bqe=Mqe.OrderedMap,Gqe=Rqe({entityMap:null,blockMap:null,selectionBefore:null,selectionAfter:null}),qqe=Iqe("draft_tree_data_support")?Dqe:Sqe,Uqe=function(e){var t,n;function i(){return e.apply(this,arguments)||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=i.prototype;return r.getEntityMap=function(){return Pqe},r.getBlockMap=function(){return this.get("blockMap")},r.getSelectionBefore=function(){return this.get("selectionBefore")},r.getSelectionAfter=function(){return this.get("selectionAfter")},r.getBlockForKey=function(e){return this.getBlockMap().get(e)},r.getKeyBefore=function(e){return this.getBlockMap().reverse().keySeq().skipUntil((function(t){return t===e})).skip(1).first()},r.getKeyAfter=function(e){return this.getBlockMap().keySeq().skipUntil((function(t){return t===e})).skip(1).first()},r.getBlockAfter=function(e){return this.getBlockMap().skipUntil((function(t,n){return n===e})).skip(1).first()},r.getBlockBefore=function(e){return this.getBlockMap().reverse().skipUntil((function(t,n){return n===e})).skip(1).first()},r.getBlocksAsArray=function(){return this.getBlockMap().toArray()},r.getFirstBlock=function(){return this.getBlockMap().first()},r.getLastBlock=function(){return this.getBlockMap().last()},r.getPlainText=function(e){return this.getBlockMap().map((function(e){return e?e.getText():""})).join(e||"\n")},r.getLastCreatedEntityKey=function(){return Pqe.__getLastCreatedEntityKey()},r.hasText=function(){var e=this.getBlockMap();return e.size>1||escape(e.first().getText()).replace(/%u200B/g,"").length>0},r.createEntity=function(e,t,n){return Pqe.__create(e,t,n),this},r.mergeEntityData=function(e,t){return Pqe.__mergeData(e,t),this},r.replaceEntityData=function(e,t){return Pqe.__replaceData(e,t),this},r.addEntity=function(e){return Pqe.__add(e),this},r.getEntity=function(e){return Pqe.__get(e)},r.getAllEntities=function(){return Pqe.__getAll()},r.loadWithEntities=function(e){return Pqe.__loadWithEntities(e)},i.createFromBlockArray=function(e,t){var n=Array.isArray(e)?e:e.contentBlocks,r=xqe.createFromArray(n),a=r.isEmpty()?new Aqe:Aqe.createEmpty(r.first().getKey());return new i({blockMap:r,entityMap:t||Pqe,selectionBefore:a,selectionAfter:a})},i.createFromText=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:/\r\n?|\n/g,n=e.split(t),r=n.map((function(e){return e=jqe(e),new qqe({key:Tqe(),text:e,type:"unstyled",characterList:Nqe(Oqe(Cqe.EMPTY,e.length))})}));return i.createFromBlockArray(r)},i.fromJS=function(e){return new i(kqe({},e,{blockMap:Bqe(e.blockMap).map(i.createContentBlockFromJS),selectionBefore:new Aqe(e.selectionBefore),selectionAfter:new Aqe(e.selectionAfter)}))},i.createContentBlockFromJS=function(e){var t=e.characterList;return new qqe(kqe({},e,{data:zqe(e.data),characterList:null!=t?Nqe((Array.isArray(t)?t:Lqe(t)).map((function(e){return Cqe.fromJS(e)}))):void 0}))},i}(Gqe),Hqe=Uqe,Wqe=kBe,Yqe="LTR",Vqe=null;function Kqe(e){return e===Yqe||"RTL"===e}function Qqe(e){return Kqe(e)||("production"!==go.env.NODE_ENV?Wqe(!1,"`dir` must be a strong direction to be converted to HTML Direction"):Wqe(!1)),e===Yqe?"ltr":"rtl"}function Jqe(e){Vqe=e}var Zqe={NEUTRAL:"NEUTRAL",LTR:Yqe,RTL:"RTL",isStrong:Kqe,getHTMLDir:Qqe,getHTMLDirIfDifferent:function(e,t){return Kqe(e)||("production"!==go.env.NODE_ENV?Wqe(!1,"`dir` must be a strong direction to be converted to HTML Direction"):Wqe(!1)),Kqe(t)||("production"!==go.env.NODE_ENV?Wqe(!1,"`otherDir` must be a strong direction to be converted to HTML Direction"):Wqe(!1)),e===t?null:Qqe(e)},setGlobalDir:Jqe,initGlobalDir:function(){Jqe(Yqe)},getGlobalDir:function(){return Vqe||this.initGlobalDir(),Vqe||("production"!==go.env.NODE_ENV?Wqe(!1,"Global direction not set."):Wqe(!1)),Vqe}},$qe=Zqe,Xqe=kBe,eUe="֐־׀׃׆׈-׏א-ת׫-ׯװ-ײ׳-״׵-׿߀-߉ߊ-ߪߴ-ߵߺ߻-߿ࠀ-ࠕࠚࠤࠨ࠮-࠯࠰-࠾࠿ࡀ-ࡘ࡜-࡝࡞࡟-࢟‏יִײַ-ﬨשׁ-זּ﬷טּ-לּ﬽מּ﬿נּ-סּ﭂ףּ-פּ﭅צּ-ﭏ",tUe="؈؋؍؛؜؝؞-؟ؠ-ؿـف-ي٭ٮ-ٯٱ-ۓ۔ەۥ-ۦۮ-ۯۺ-ۼ۽-۾ۿ܀-܍܎܏ܐܒ-ܯ݋-݌ݍ-ޥޱ޲-޿ࢠ-ࢲࢳ-ࣣﭐ-ﮱ﮲-﯁﯂-﯒ﯓ-ﴽ﵀-﵏ﵐ-ﶏ﶐-﶑ﶒ-ﷇ﷈-﷏ﷰ-ﷻ﷼﷾-﷿ﹰ-ﹴ﹵ﹶ-ﻼ﻽-﻾",nUe=new RegExp("["+"A-Za-zªµºÀ-ÖØ-öø-ƺƻƼ-ƿǀ-ǃDŽ-ʓʔʕ-ʯʰ-ʸʻ-ˁː-ˑˠ-ˤˮͰ-ͳͶ-ͷͺͻ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁ҂Ҋ-ԯԱ-Ֆՙ՚-՟ա-և։ःऄ-हऻऽा-ीॉ-ौॎ-ॏॐक़-ॡ।-॥०-९॰ॱॲ-ঀং-ঃঅ-ঌএ-ঐও-নপ-রলশ-হঽা-ীে-ৈো-ৌৎৗড়-ঢ়য়-ৡ০-৯ৰ-ৱ৴-৹৺ਃਅ-ਊਏ-ਐਓ-ਨਪ-ਰਲ-ਲ਼ਵ-ਸ਼ਸ-ਹਾ-ੀਖ਼-ੜਫ਼੦-੯ੲ-ੴઃઅ-ઍએ-ઑઓ-નપ-રલ-ળવ-હઽા-ીૉો-ૌૐૠ-ૡ૦-૯૰ଂ-ଃଅ-ଌଏ-ଐଓ-ନପ-ରଲ-ଳଵ-ହଽାୀେ-ୈୋ-ୌୗଡ଼-ଢ଼ୟ-ୡ୦-୯୰ୱ୲-୷ஃஅ-ஊஎ-ஐஒ-கங-சஜஞ-டண-தந-பம-ஹா-ிு-ூெ-ைொ-ௌௐௗ௦-௯௰-௲ఁ-ఃఅ-ఌఎ-ఐఒ-నప-హఽు-ౄౘ-ౙౠ-ౡ౦-౯౿ಂ-ಃಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽಾಿೀ-ೄೆೇ-ೈೊ-ೋೕ-ೖೞೠ-ೡ೦-೯ೱ-ೲം-ഃഅ-ഌഎ-ഐഒ-ഺഽാ-ീെ-ൈൊ-ൌൎൗൠ-ൡ൦-൯൰-൵൹ൺ-ൿං-ඃඅ-ඖක-නඳ-රලව-ෆා-ෑෘ-ෟ෦-෯ෲ-ෳ෴ก-ะา-ำเ-ๅๆ๏๐-๙๚-๛ກ-ຂຄງ-ຈຊຍດ-ທນ-ຟມ-ຣລວສ-ຫອ-ະາ-ຳຽເ-ໄໆ໐-໙ໜ-ໟༀ༁-༃༄-༒༓༔༕-༗༚-༟༠-༩༪-༳༴༶༸༾-༿ཀ-ཇཉ-ཬཿ྅ྈ-ྌ྾-࿅࿇-࿌࿎-࿏࿐-࿔࿕-࿘࿙-࿚က-ဪါ-ာေးျ-ြဿ၀-၉၊-၏ၐ-ၕၖ-ၗၚ-ၝၡၢ-ၤၥ-ၦၧ-ၭၮ-ၰၵ-ႁႃ-ႄႇ-ႌႎႏ႐-႙ႚ-ႜ႞-႟Ⴀ-ჅჇჍა-ჺ჻ჼჽ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚ፠-፨፩-፼ᎀ-ᎏᎠ-Ᏼᐁ-ᙬ᙭-᙮ᙯ-ᙿᚁ-ᚚᚠ-ᛪ᛫-᛭ᛮ-ᛰᛱ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱ᜵-᜶ᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳាើ-ៅះ-ៈ។-៖ៗ៘-៚ៜ០-៩᠐-᠙ᠠ-ᡂᡃᡄ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᤣ-ᤦᤩ-ᤫᤰ-ᤱᤳ-ᤸ᥆-᥏ᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧀᧁ-ᧇᧈ-ᧉ᧐-᧙᧚ᨀ-ᨖᨙ-ᨚ᨞-᨟ᨠ-ᩔᩕᩗᩡᩣ-ᩤᩭ-ᩲ᪀-᪉᪐-᪙᪠-᪦ᪧ᪨-᪭ᬄᬅ-ᬳᬵᬻᬽ-ᭁᭃ-᭄ᭅ-ᭋ᭐-᭙᭚-᭠᭡-᭪᭴-᭼ᮂᮃ-ᮠᮡᮦ-ᮧ᮪ᮮ-ᮯ᮰-᮹ᮺ-ᯥᯧᯪ-ᯬᯮ᯲-᯳᯼-᯿ᰀ-ᰣᰤ-ᰫᰴ-ᰵ᰻-᰿᱀-᱉ᱍ-ᱏ᱐-᱙ᱚ-ᱷᱸ-ᱽ᱾-᱿᳀-᳇᳓᳡ᳩ-ᳬᳮ-ᳱᳲ-ᳳᳵ-ᳶᴀ-ᴫᴬ-ᵪᵫ-ᵷᵸᵹ-ᶚᶛ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼ‎ⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℴℵ-ℸℹℼ-ℿⅅ-ⅉⅎ⅏Ⅰ-ↂↃ-ↄↅ-ↈ⌶-⍺⎕⒜-ⓩ⚬⠀-⣿Ⰰ-Ⱞⰰ-ⱞⱠ-ⱻⱼ-ⱽⱾ-ⳤⳫ-ⳮⳲ-ⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯ⵰ⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々〆〇〡-〩〮-〯〱-〵〸-〺〻〼ぁ-ゖゝ-ゞゟァ-ヺー-ヾヿㄅ-ㄭㄱ-ㆎ㆐-㆑㆒-㆕㆖-㆟ㆠ-ㆺㇰ-ㇿ㈀-㈜㈠-㈩㈪-㉇㉈-㉏㉠-㉻㉿㊀-㊉㊊-㊰㋀-㋋㋐-㋾㌀-㍶㍻-㏝㏠-㏾㐀-䶵一-鿌ꀀ-ꀔꀕꀖ-ꒌꓐ-ꓷꓸ-ꓽ꓾-꓿ꔀ-ꘋꘌꘐ-ꘟ꘠-꘩ꘪ-ꘫꙀ-ꙭꙮꚀ-ꚛꚜ-ꚝꚠ-ꛥꛦ-ꛯ꛲-꛷Ꜣ-ꝯꝰꝱ-ꞇ꞉-꞊Ꞌ-ꞎꞐ-ꞭꞰ-Ʇꟷꟸ-ꟹꟺꟻ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꠣ-ꠤꠧ꠰-꠵꠶-꠷ꡀ-ꡳꢀ-ꢁꢂ-ꢳꢴ-ꣃ꣎-꣏꣐-꣙ꣲ-ꣷ꣸-꣺ꣻ꤀-꤉ꤊ-ꤥ꤮-꤯ꤰ-ꥆꥒ-꥓꥟ꥠ-ꥼꦃꦄ-ꦲꦴ-ꦵꦺ-ꦻꦽ-꧀꧁-꧍ꧏ꧐-꧙꧞-꧟ꧠ-ꧤꧦꧧ-ꧯ꧰-꧹ꧺ-ꧾꨀ-ꨨꨯ-ꨰꨳ-ꨴꩀ-ꩂꩄ-ꩋꩍ꩐-꩙꩜-꩟ꩠ-ꩯꩰꩱ-ꩶ꩷-꩹ꩺꩻꩽꩾ-ꪯꪱꪵ-ꪶꪹ-ꪽꫀꫂꫛ-ꫜꫝ꫞-꫟ꫠ-ꫪꫫꫮ-ꫯ꫰-꫱ꫲꫳ-ꫴꫵꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚ꭛ꭜ-ꭟꭤ-ꭥꯀ-ꯢꯣ-ꯤꯦ-ꯧꯩ-ꯪ꯫꯬꯰-꯹가-힣ힰ-ퟆퟋ-ퟻ-豈-舘並-龎ff-stﬓ-ﬗA-Za-zヲ-ッーア-ン゙-゚ᅠ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ"+eUe+tUe+"]"),iUe=new RegExp("["+eUe+tUe+"]");function rUe(e){var t=nUe.exec(e);return null==t?null:t[0]}function aUe(e){var t=rUe(e);return null==t?$qe.NEUTRAL:iUe.exec(t)?$qe.RTL:$qe.LTR}function oUe(e,t){if(t=t||$qe.NEUTRAL,!e.length)return t;var n=aUe(e);return n===$qe.NEUTRAL?t:n}function sUe(e,t){return t||(t=$qe.getGlobalDir()),$qe.isStrong(t)||("production"!==go.env.NODE_ENV?Xqe(!1,"Fallback direction must be a strong direction"):Xqe(!1)),oUe(e,t)}var lUe={firstStrongChar:rUe,firstStrongCharDir:aUe,resolveBlockDir:oUe,getDirection:sUe,isDirectionLTR:function(e,t){return sUe(e,t)===$qe.LTR},isDirectionRTL:function(e,t){return sUe(e,t)===$qe.RTL}};function uUe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var cUe,dUe=lUe,fUe=Zqe,pUe=kBe,hUe=function(){function e(e){uUe(this,"_defaultDir",void 0),uUe(this,"_lastDir",void 0),e?fUe.isStrong(e)||("production"!==go.env.NODE_ENV?pUe(!1,"Default direction must be a strong direction (LTR or RTL)"):pUe(!1)):e=fUe.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=dUe.getDirection(e,this._lastDir),this._lastDir},e}(),gUe=function(e){if(null!=e)return e;throw new Error("Got unexpected null or undefined")},mUe=hUe,vUe=kze.exports,_Ue=gUe,bUe=vUe.OrderedMap,yUe={getDirectionMap:function(e,t){cUe?cUe.reset():cUe=new mUe;var n=e.getBlockMap(),i=n.valueSeq().map((function(e){return _Ue(cUe).getDirection(e.getText())})),r=bUe(n.keySeq().zip(i));return null!=t&&vUe.is(t,r)?t:r}};function wUe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){FUe(e,t,n[t])}))}return e}function FUe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var kUe=aqe,EUe=Hqe,xUe=yUe,CUe=bqe,SUe=kze.exports,DUe=SUe.OrderedSet,PUe=SUe.Record,AUe=SUe.Stack,TUe=SUe.OrderedMap,LUe=SUe.List,IUe=PUe({allowUndo:!0,currentContent:null,decorator:null,directionMap:null,forceSelection:!1,inCompositionMode:!1,inlineStyleOverride:null,lastChangeType:null,nativelyRenderedContent:null,redoStack:AUe(),selection:null,treeMap:null,undoStack:AUe()}),MUe=function(){t.createEmpty=function(e){return t.createWithContent(EUe.createFromText(""),e)},t.createWithContent=function(e,n){if(0===e.getBlockMap().count())return t.createEmpty(n);var i=e.getBlockMap().first().getKey();return t.create({currentContent:e,undoStack:AUe(),redoStack:AUe(),decorator:n||null,selection:CUe.createEmpty(i)})},t.create=function(e){var n=e.currentContent,i=wUe({},e,{treeMap:NUe(n,e.decorator),directionMap:xUe.getDirectionMap(n)});return new t(new IUe(i))},t.fromJS=function(e){return new t(new IUe(wUe({},e,{directionMap:null!=e.directionMap?TUe(e.directionMap):e.directionMap,inlineStyleOverride:null!=e.inlineStyleOverride?DUe(e.inlineStyleOverride):e.inlineStyleOverride,nativelyRenderedContent:null!=e.nativelyRenderedContent?EUe.fromJS(e.nativelyRenderedContent):e.nativelyRenderedContent,redoStack:null!=e.redoStack?AUe(e.redoStack.map((function(e){return EUe.fromJS(e)}))):e.redoStack,selection:null!=e.selection?new CUe(e.selection):e.selection,treeMap:null!=e.treeMap?TUe(e.treeMap).map((function(e){return LUe(e).map((function(e){return kUe.fromJS(e)}))})):e.treeMap,undoStack:null!=e.undoStack?AUe(e.undoStack.map((function(e){return EUe.fromJS(e)}))):e.undoStack,currentContent:EUe.fromJS(e.currentContent)})))},t.set=function(e,n){var i=e.getImmutable().withMutations((function(t){var i=t.get("decorator"),r=i;null===n.decorator?r=null:n.decorator&&(r=n.decorator);var a=n.currentContent||e.getCurrentContent();if(r!==i){var o,s=t.get("treeMap");return o=r&&i?function(e,t,n,i,r){return n.merge(t.toSeq().filter((function(t){return i.getDecorations(t,e)!==r.getDecorations(t,e)})).map((function(t){return kUe.generate(e,t,i)})))}(a,a.getBlockMap(),s,r,i):NUe(a,r),void t.merge({decorator:r,treeMap:o,nativelyRenderedContent:null})}a!==e.getCurrentContent()&&t.set("treeMap",function(e,t,n,i){var r=e.getCurrentContent().set("entityMap",n),a=r.getBlockMap();return e.getImmutable().get("treeMap").merge(t.toSeq().filter((function(e,t){return e!==a.get(t)})).map((function(e){return kUe.generate(r,e,i)})))}(e,a.getBlockMap(),a.getEntityMap(),r)),t.merge(n)}));return new t(i)};var e=t.prototype;function t(e){FUe(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(),i=t.getStartOffset(),r=e.getBlockForKey(n);if(i>0)return r.getInlineStyleAt(i-1);if(r.getLength())return r.getInlineStyleAt(0);return OUe(e,n)}(t,n):function(e,t){var n=t.getStartKey(),i=t.getStartOffset(),r=e.getBlockForKey(n);if(i<r.getLength())return r.getInlineStyleAt(i);if(i>0)return r.getInlineStyleAt(i-1);return OUe(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 jUe(e,t,!1)},t.forceSelection=function(e,t){return t.getHasFocus()||(t=t.set("hasFocus",!0)),jUe(e,t,!0)},t.moveSelectionToEnd=function(e){var n=e.getCurrentContent().getLastBlock(),i=n.getKey(),r=n.getLength();return t.acceptSelection(e,new CUe({anchorKey:i,anchorOffset:r,focusKey:i,focusOffset:r,isBackward:!1}))},t.moveFocusToEnd=function(e){var n=t.moveSelectionToEnd(e);return t.forceSelection(n,n.getSelection())},t.push=function(e,n,i){var r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];if(e.getCurrentContent()===n)return e;var a=xUe.getDirectionMap(n,e.getDirectionMap());if(!e.getAllowUndo())return t.set(e,{currentContent:n,directionMap:a,lastChangeType:i,selection:n.getSelectionAfter(),forceSelection:r,inlineStyleOverride:null});var o=e.getSelection(),s=e.getCurrentContent(),l=e.getUndoStack(),u=n;o!==s.getSelectionAfter()||RUe(e,i)?(l=l.push(s),u=u.set("selectionBefore",o)):"insert-characters"!==i&&"backspace-character"!==i&&"delete-character"!==i||(u=u.set("selectionBefore",s.getSelectionBefore()));var c=e.getInlineStyleOverride(),d=["adjust-depth","change-block-type","split-block"];-1===d.indexOf(i)&&(c=null);var f={currentContent:u,directionMap:a,undoStack:l,redoStack:AUe(),lastChangeType:i,selection:n.getSelectionAfter(),forceSelection:r,inlineStyleOverride:c};return t.set(e,f)},t.undo=function(e){if(!e.getAllowUndo())return e;var n=e.getUndoStack(),i=n.peek();if(!i)return e;var r=e.getCurrentContent(),a=xUe.getDirectionMap(i,e.getDirectionMap());return t.set(e,{currentContent:i,directionMap:a,undoStack:n.shift(),redoStack:e.getRedoStack().push(r),forceSelection:!0,inlineStyleOverride:null,lastChangeType:"undo",nativelyRenderedContent:null,selection:r.getSelectionBefore()})},t.redo=function(e){if(!e.getAllowUndo())return e;var n=e.getRedoStack(),i=n.peek();if(!i)return e;var r=e.getCurrentContent(),a=xUe.getDirectionMap(i,e.getDirectionMap());return t.set(e,{currentContent:i,directionMap:a,undoStack:e.getUndoStack().push(r),redoStack:n.shift(),forceSelection:!0,inlineStyleOverride:null,lastChangeType:"redo",nativelyRenderedContent:null,selection:i.getSelectionAfter()})},e.getImmutable=function(){return this._immutable},t}();function jUe(e,t,n){return MUe.set(e,{selection:t,forceSelection:n,nativelyRenderedContent:null,inlineStyleOverride:null})}function NUe(e,t){return e.getBlockMap().map((function(n){return kUe.generate(e,n,t)})).toOrderedMap()}function RUe(e,t){return t!==e.getLastChangeType()||"insert-characters"!==t&&"backspace-character"!==t&&"delete-character"!==t}function OUe(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):DUe()}var zUe=MUe,BUe=fBe,GUe=uGe,qUe=kze.exports,UUe=kBe,HUe=qUe.OrderedMap,WUe=qUe.List,YUe=function(e,t,n){if(e){var i=t.get(e);i&&t.set(e,n(i))}},VUe=function(e,t,n,i,r){if(!r)return e;var a="after"===i,o=t.getKey(),s=n.getKey(),l=t.getParentKey(),u=t.getNextSiblingKey(),c=t.getPrevSiblingKey(),d=n.getParentKey(),f=a?n.getNextSiblingKey():s,p=a?s:n.getPrevSiblingKey();return e.withMutations((function(e){YUe(l,e,(function(e){var t=e.getChildKeys();return e.merge({children:t.delete(t.indexOf(o))})})),YUe(c,e,(function(e){return e.merge({nextSibling:u})})),YUe(u,e,(function(e){return e.merge({prevSibling:c})})),YUe(f,e,(function(e){return e.merge({prevSibling:o})})),YUe(p,e,(function(e){return e.merge({nextSibling:o})})),YUe(d,e,(function(e){var t=e.getChildKeys(),n=t.indexOf(s),i=a?n+1:0!==n?n-1:0,r=t.toArray();return r.splice(i,0,o),e.merge({children:WUe(r)})})),YUe(o,e,(function(e){return e.merge({nextSibling:f,prevSibling:p,parent:d})}))}))},KUe=function(e,t,n,i){"replace"===i&&("production"!==go.env.NODE_ENV?UUe(!1,"Replacing blocks is not supported."):UUe(!1));var r=n.getKey(),a=t.getKey();a===r&&("production"!==go.env.NODE_ENV?UUe(!1,"Block cannot be moved next to itself."):UUe(!1));var o=e.getBlockMap(),s=t instanceof BUe,l=[t],u=o.delete(a);s&&(l=[],u=o.withMutations((function(e){var n=t.getNextSiblingKey(),i=GUe(t,e);e.toSeq().skipUntil((function(e){return e.getKey()===a})).takeWhile((function(e){var t=e.getKey(),r=t===a,o=n&&t!==n,s=!n&&e.getParentKey()&&(!i||t!==i);return!!(r||o||s)})).forEach((function(t){l.push(t),e.delete(t.getKey())}))})));var c=u.toSeq().takeUntil((function(e){return e===n})),d=u.toSeq().skipUntil((function(e){return e===n})).skip(1),f=l.map((function(e){return[e.getKey(),e]})),p=HUe();if("before"===i){var h=e.getBlockBefore(r);h&&h.getKey()===t.getKey()&&("production"!==go.env.NODE_ENV?UUe(!1,"Block cannot be moved next to itself."):UUe(!1)),p=c.concat([].concat(f,[[r,n]]),d).toOrderedMap()}else if("after"===i){var g=e.getBlockAfter(r);g&&g.getKey()===a&&("production"!==go.env.NODE_ENV?UUe(!1,"Block cannot be moved next to itself."):UUe(!1)),p=c.concat([[r,n]].concat(f),d).toOrderedMap()}return e.merge({blockMap:VUe(p,t,n,i,s),selectionBefore:e.getSelectionAfter(),selectionAfter:e.getSelectionAfter().merge({anchorKey:a,focusKey:a})})};function QUe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){JUe(e,t,n[t])}))}return e}function JUe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ZUe=Cze,$Ue=Nze,XUe=Zze,eHe=fBe,tHe=HGe,nHe=zUe,iHe=IBe,rHe=kze.exports,aHe=KUe,oHe=yqe("draft_tree_data_support"),sHe=oHe?eHe:XUe,lHe=rHe.List,uHe=rHe.Repeat,cHe={insertAtomicBlock:function(e,t,n){var i=e.getCurrentContent(),r=e.getSelection(),a=tHe.removeRange(i,r,"backward"),o=a.getSelectionAfter(),s=tHe.splitBlock(a,o),l=s.getSelectionAfter(),u=tHe.setBlockType(s,l,"atomic"),c=$Ue.create({entity:t}),d={key:iHe(),type:"atomic",text:n,characterList:lHe(uHe(c,n.length))},f={key:iHe(),type:"unstyled"};oHe&&(d=QUe({},d,{nextSibling:f.key}),f=QUe({},f,{prevSibling:d.key}));var p=[new sHe(d),new sHe(f)],h=ZUe.createFromArray(p),g=tHe.replaceWithFragment(u,l,h),m=g.merge({selectionBefore:r,selectionAfter:g.getSelectionAfter().set("hasFocus",!0)});return nHe.push(e,m,"insert-fragment")},moveAtomicBlock:function(e,t,n,i){var r,a=e.getCurrentContent(),o=e.getSelection();if("before"===i||"after"===i){var s=a.getBlockForKey("before"===i?n.getStartKey():n.getEndKey());r=aHe(a,t,s,i)}else{var l=tHe.removeRange(a,n,"backward"),u=l.getSelectionAfter(),c=l.getBlockForKey(u.getFocusKey());if(0===u.getStartOffset())r=aHe(l,t,c,"before");else if(u.getEndOffset()===c.getLength())r=aHe(l,t,c,"after");else{var d=tHe.splitBlock(l,u),f=d.getSelectionAfter(),p=d.getBlockForKey(f.getFocusKey());r=aHe(d,t,p,"before")}}var h=r.merge({selectionBefore:o,selectionAfter:r.getSelectionAfter().set("hasFocus",!0)});return nHe.push(e,h,"move-block")}};var dHe=kze.exports.List,fHe=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(i,r){var a=0;(0,i.strategy)(e,(function(e,t){(function(e,t,n){for(var i=t;i<n;i++)if(null!=e[i])return!1;return!0})(n,e,t)&&(!function(e,t,n,i){for(var r=t;r<n;r++)e[r]=i}(n,e,t,r+"."+a),a++)}),t)})),dHe(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 pHe=fHe;function hHe(e){return e.replace(/\//g,"-")}var gHe=function(e){return"object"==typeof e?Object.keys(e).filter((function(t){return e[t]})).map(hHe).join(" "):Array.prototype.map.call(arguments,hHe).join(" ")},mHe=m.default,vHe=gHe,_He=(0,kze.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:mHe.createElement("ul",{className:vHe("public/DraftStyleDefault/ul")})},"ordered-list-item":{element:"li",wrapper:mHe.createElement("ol",{className:vHe("public/DraftStyleDefault/ol")})},blockquote:{element:"blockquote"},atomic:{element:"figure"},"code-block":{element:"pre",wrapper:mHe.createElement("pre",{className:vHe("public/DraftStyleDefault/pre")})},unstyled:{element:"div",aliasedElements:["p"]}}),bHe={BOLD:{fontWeight:"bold"},CODE:{fontFamily:"monospace",wordWrap:"break-word"},ITALIC:{fontStyle:"italic"},STRIKETHROUGH:{textDecoration:"line-through"},UNDERLINE:{textDecoration:"underline"}},yHe={exports:{}};!function(e,t){!function(n,i){var r="function",a="undefined",o="object",s="string",l="model",u="name",c="type",d="vendor",f="version",p="architecture",h="console",g="mobile",m="tablet",v="smarttv",_="wearable",b="embedded",y="Amazon",w="Apple",F="ASUS",k="BlackBerry",E="Firefox",x="Google",C="Huawei",S="LG",D="Microsoft",P="Motorola",A="Opera",T="Samsung",L="Sony",I="Xiaomi",M="Zebra",j="Facebook",N=function(e){for(var t={},n=0;n<e.length;n++)t[e[n].toUpperCase()]=e[n];return t},R=function(e,t){return typeof e===s&&-1!==O(t).indexOf(O(e))},O=function(e){return e.toLowerCase()},z=function(e,t){if(typeof e===s)return e=e.replace(/^\s\s*/,"").replace(/\s\s*$/,""),typeof t===a?e:e.substring(0,255)},B=function(e,t){for(var n,a,s,l,u,c,d=0;d<t.length&&!u;){var f=t[d],p=t[d+1];for(n=a=0;n<f.length&&!u;)if(u=f[n++].exec(e))for(s=0;s<p.length;s++)c=u[++a],typeof(l=p[s])===o&&l.length>0?2===l.length?typeof l[1]==r?this[l[0]]=l[1].call(this,c):this[l[0]]=l[1]:3===l.length?typeof l[1]!==r||l[1].exec&&l[1].test?this[l[0]]=c?c.replace(l[1],l[2]):i:this[l[0]]=c?l[1].call(this,c,l[2]):i:4===l.length&&(this[l[0]]=c?l[3].call(this,c.replace(l[1],l[2])):i):this[l]=c||i;d+=2}},G=function(e,t){for(var n in t)if(typeof t[n]===o&&t[n].length>0){for(var r=0;r<t[n].length;r++)if(R(t[n][r],e))return"?"===n?i:n}else if(R(t[n],e))return"?"===n?i: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"},U={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[f,[u,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[f,[u,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[u,f],[/opios[\/ ]+([\w\.]+)/i],[f,[u,"Opera Mini"]],[/\bopr\/([\w\.]+)/i],[f,[u,A]],[/(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],[u,f],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[f,[u,"UCBrowser"]],[/\bqbcore\/([\w\.]+)/i],[f,[u,"WeChat(Win) Desktop"]],[/micromessenger\/([\w\.]+)/i],[f,[u,"WeChat"]],[/konqueror\/([\w\.]+)/i],[f,[u,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[f,[u,"IE"]],[/yabrowser\/([\w\.]+)/i],[f,[u,"Yandex"]],[/(avast|avg)\/([\w\.]+)/i],[[u,/(.+)/,"$1 Secure Browser"],f],[/\bfocus\/([\w\.]+)/i],[f,[u,"Firefox Focus"]],[/\bopt\/([\w\.]+)/i],[f,[u,"Opera Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[f,[u,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[f,[u,"Dolphin"]],[/coast\/([\w\.]+)/i],[f,[u,"Opera Coast"]],[/miuibrowser\/([\w\.]+)/i],[f,[u,"MIUI Browser"]],[/fxios\/([-\w\.]+)/i],[f,[u,E]],[/\bqihu|(qi?ho?o?|360)browser/i],[[u,"360 Browser"]],[/(oculus|samsung|sailfish)browser\/([\w\.]+)/i],[[u,/(.+)/,"$1 Browser"],f],[/(comodo_dragon)\/([\w\.]+)/i],[[u,/_/g," "],f],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i],[u,f],[/(metasr)[\/ ]?([\w\.]+)/i,/(lbbrowser)/i],[u],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[u,j],f],[/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(chromium|instagram)[\/ ]([-\w\.]+)/i],[u,f],[/\bgsa\/([\w\.]+) .*safari\//i],[f,[u,"GSA"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[f,[u,"Chrome Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[u,"Chrome WebView"],f],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[f,[u,"Android Browser"]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[u,f],[/version\/([\w\.]+) .*mobile\/\w+ (safari)/i],[f,[u,"Mobile Safari"]],[/version\/([\w\.]+) .*(mobile ?safari|safari)/i],[f,u],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[u,[f,G,{"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],[u,f],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[u,"Netscape"],f],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[f,[u,"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],[u,f]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[p,"amd64"]],[/(ia32(?=;))/i],[[p,O]],[/((?: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/,"",O]],[/(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,O]]],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],[l,[d,T],[c,m]],[/\b((?:s[cgp]h|gt|sm)-\w+|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[l,[d,T],[c,g]],[/\((ip(?:hone|od)[\w ]*);/i],[l,[d,w],[c,g]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[l,[d,w],[c,m]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[l,[d,C],[c,m]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}-[atu]?[ln][01259x][012359][an]?)\b(?!.+d\/s)/i],[l,[d,C],[c,g]],[/\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],[[l,/_/g," "],[d,I],[c,g]],[/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[l,/_/g," "],[d,I],[c,m]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[l,[d,"OPPO"],[c,g]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[l,[d,"Vivo"],[c,g]],[/\b(rmx[12]\d{3})(?: bui|;|\))/i],[l,[d,"Realme"],[c,g]],[/\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],[l,[d,P],[c,g]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[l,[d,P],[c,m]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[l,[d,S],[c,m]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[l,[d,S],[c,g]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[l,[d,"Lenovo"],[c,m]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[l,/_/g," "],[d,"Nokia"],[c,g]],[/(pixel c)\b/i],[l,[d,x],[c,m]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[l,[d,x],[c,g]],[/droid.+ ([c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[l,[d,L],[c,g]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[l,"Xperia Tablet"],[d,L],[c,m]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[l,[d,"OnePlus"],[c,g]],[/(alexa)webm/i,/(kf[a-z]{2}wi)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[l,[d,y],[c,m]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[l,/(.+)/g,"Fire Phone $1"],[d,y],[c,g]],[/(playbook);[-\w\),; ]+(rim)/i],[l,d,[c,m]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[l,[d,k],[c,g]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[l,[d,F],[c,m]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[l,[d,F],[c,g]],[/(nexus 9)/i],[l,[d,"HTC"],[c,m]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic|sony)[-_ ]?([-\w]*)/i],[d,[l,/_/g," "],[c,g]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[l,[d,"Acer"],[c,m]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[l,[d,"Meizu"],[c,g]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[l,[d,"Sharp"],[c,g]],[/(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,l,[c,g]],[/(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,l,[c,m]],[/(surface duo)/i],[l,[d,D],[c,m]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[l,[d,"Fairphone"],[c,g]],[/(u304aa)/i],[l,[d,"AT&T"],[c,g]],[/\bsie-(\w*)/i],[l,[d,"Siemens"],[c,g]],[/\b(rct\w+) b/i],[l,[d,"RCA"],[c,m]],[/\b(venue[\d ]{2,7}) b/i],[l,[d,"Dell"],[c,m]],[/\b(q(?:mv|ta)\w+) b/i],[l,[d,"Verizon"],[c,m]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[l,[d,"Barnes & Noble"],[c,m]],[/\b(tm\d{3}\w+) b/i],[l,[d,"NuVision"],[c,m]],[/\b(k88) b/i],[l,[d,"ZTE"],[c,m]],[/\b(nx\d{3}j) b/i],[l,[d,"ZTE"],[c,g]],[/\b(gen\d{3}) b.+49h/i],[l,[d,"Swiss"],[c,g]],[/\b(zur\d{3}) b/i],[l,[d,"Swiss"],[c,m]],[/\b((zeki)?tb.*\b) b/i],[l,[d,"Zeki"],[c,m]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[d,"Dragon Touch"],l,[c,m]],[/\b(ns-?\w{0,9}) b/i],[l,[d,"Insignia"],[c,m]],[/\b((nxa|next)-?\w{0,9}) b/i],[l,[d,"NextBook"],[c,m]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[d,"Voice"],l,[c,g]],[/\b(lvtel\-)?(v1[12]) b/i],[[d,"LvTel"],l,[c,g]],[/\b(ph-1) /i],[l,[d,"Essential"],[c,g]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[l,[d,"Envizen"],[c,m]],[/\b(trio[-\w\. ]+) b/i],[l,[d,"MachSpeed"],[c,m]],[/\btu_(1491) b/i],[l,[d,"Rotor"],[c,m]],[/(shield[\w ]+) b/i],[l,[d,"Nvidia"],[c,m]],[/(sprint) (\w+)/i],[d,l,[c,g]],[/(kin\.[onetw]{3})/i],[[l,/\./g," "],[d,D],[c,g]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[l,[d,M],[c,m]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[l,[d,M],[c,g]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[d,l,[c,h]],[/droid.+; (shield) bui/i],[l,[d,"Nvidia"],[c,h]],[/(playstation [345portablevi]+)/i],[l,[d,L],[c,h]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[l,[d,D],[c,h]],[/smart-tv.+(samsung)/i],[d,[c,v]],[/hbbtv.+maple;(\d+)/i],[[l,/^/,"SmartTV"],[d,T],[c,v]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[d,S],[c,v]],[/(apple) ?tv/i],[d,[l,"Apple TV"],[c,v]],[/crkey/i],[[l,"Chromecast"],[d,x],[c,v]],[/droid.+aft(\w)( bui|\))/i],[l,[d,y],[c,v]],[/\(dtv[\);].+(aquos)/i],[l,[d,"Sharp"],[c,v]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w ]*; *(\w[^;]*);([^;]*)/i],[[d,z],[l,z],[c,v]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[c,v]],[/((pebble))app/i],[d,l,[c,_]],[/droid.+; (glass) \d/i],[l,[d,x],[c,_]],[/droid.+; (wt63?0{2,3})\)/i],[l,[d,M],[c,_]],[/(quest( 2)?)/i],[l,[d,j],[c,_]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[d,[c,b]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+? mobile safari/i],[l,[c,g]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[l,[c,m]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[c,m]],[/(phone|mobile(?:[;\/]| safari)|pda(?=.+windows ce))/i],[[c,g]],[/(android[-\w\. ]{0,9});.+buil/i],[l,[d,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[f,[u,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[f,[u,"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],[u,f],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[f,u]],os:[[/microsoft (windows) (vista|xp)/i],[u,f],[/(windows) nt 6\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i,/(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i],[u,[f,G,q]],[/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[u,"Windows"],[f,G,q]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/cfnetwork\/.+darwin/i],[[f,/_/g,"."],[u,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[u,"Mac OS"],[f,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86)/i],[f,u],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[u,f],[/\(bb(10);/i],[f,[u,k]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[f,[u,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[f,[u,"Firefox OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[f,[u,"webOS"]],[/crkey\/([\d\.]+)/i],[f,[u,"Chromecast"]],[/(cros) [\w]+ ([\w\.]+\w)/i],[[u,"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],[u,f],[/(sunos) ?([\w\.\d]*)/i],[[u,"Solaris"],f],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux)/i,/(unix) ?([\w\.]*)/i],[u,f]]},H=function(e,t){if(typeof e===o&&(t=e,e=i),!(this instanceof H))return new H(e,t).getResult();var r=e||(typeof n!==a&&n.navigator&&n.navigator.userAgent?n.navigator.userAgent:""),l=t?function(e,t){var n={};for(var i in e)t[i]&&t[i].length%2==0?n[i]=t[i].concat(e[i]):n[i]=e[i];return n}(U,t):U;return this.getBrowser=function(){var e={};return e.name=i,e.version=i,B.call(e,r,l.browser),e.major=function(e){return typeof e===s?e.replace(/[^\d\.]/g,"").split(".")[0]:i}(e.version),e},this.getCPU=function(){var e={};return e.architecture=i,B.call(e,r,l.cpu),e},this.getDevice=function(){var e={};return e.vendor=i,e.model=i,e.type=i,B.call(e,r,l.device),e},this.getEngine=function(){var e={};return e.name=i,e.version=i,B.call(e,r,l.engine),e},this.getOS=function(){var e={};return e.name=i,e.version=i,B.call(e,r,l.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 r},this.setUA=function(e){return r=typeof e===s&&e.length>255?z(e,255):e,this},this.setUA(r),this};H.VERSION="0.7.31",H.BROWSER=N([u,f,"major"]),H.CPU=N([p]),H.DEVICE=N([l,d,c,h,g,v,m,_,b]),H.ENGINE=H.OS=N([u,f]),e.exports&&(t=e.exports=H),t.UAParser=H;var W=typeof n!==a&&(n.jQuery||n.Zepto);if(W&&!W.ua){var Y=new H;W.ua=Y.getResult(),W.ua.get=function(){return Y.getUA()},W.ua.set=function(e){Y.setUA(e);var t=Y.getResult();for(var n in t)W.ua[n]=t[n]}}}("object"==typeof window?window:k)}(yHe,yHe.exports);var wHe="Unknown",FHe={"Mac OS":"Mac OS X"};var kHe=(new(0,yHe.exports)).getResult(),EHe=function(e){if(!e)return{major:"",minor:""};var t=e.split(".");return{major:t[0],minor:t[1]}}(kHe.browser.version),xHe={browserArchitecture:kHe.cpu.architecture||wHe,browserFullVersion:kHe.browser.version||wHe,browserMinorVersion:EHe.minor||wHe,browserName:kHe.browser.name||wHe,browserVersion:kHe.browser.major||wHe,deviceName:kHe.device.model||wHe,engineName:kHe.engine.name||wHe,engineVersion:kHe.engine.version||wHe,platformArchitecture:kHe.cpu.architecture||wHe,platformName:function(e){return FHe[e]||e}(kHe.os.name)||wHe,platformVersion:kHe.os.version||wHe,platformFullVersion:kHe.os.version||wHe},CHe=xHe,SHe=kBe,DHe=/\./,PHe=/\|\|/,AHe=/\s+\-\s+/,THe=/^(<=|<|=|>=|~>|~|>|)?\s*(.+)/,LHe=/^(\d*)(.*)/;function IHe(e,t){var n=e.split(PHe);return n.length>1?n.some((function(e){return HHe.contains(e,t)})):function(e,t){var n=e.split(AHe);if(n.length>0&&n.length<=2||("production"!==go.env.NODE_ENV?SHe(!1,'the "-" operator expects exactly 2 operands'):SHe(!1)),1===n.length)return MHe(n[0],t);var i=n[0],r=n[1];return zHe(i)&&zHe(r)||("production"!==go.env.NODE_ENV?SHe(!1,'operands to the "-" operator must be simple (no modifiers)'):SHe(!1)),MHe(">="+i,t)&&MHe("<="+r,t)}(e=n[0].trim(),t)}function MHe(e,t){if(""===(e=e.trim()))return!0;var n=t.split(DHe),i=RHe(e),r=i.modifier,a=i.rangeComponents;switch(r){case"<":return jHe(n,a);case"<=":return function(e,t){var n=UHe(e,t);return-1===n||0===n}(n,a);case">=":return NHe(n,a);case">":return function(e,t){return 1===UHe(e,t)}(n,a);case"~":case"~>":return function(e,t){var n=t.slice(),i=t.slice();i.length>1&&i.pop();var r=i.length-1,a=parseInt(i[r],10);OHe(a)&&(i[r]=a+1+"");return NHe(e,n)&&jHe(e,i)}(n,a);default:return function(e,t){return 0===UHe(e,t)}(n,a)}}function jHe(e,t){return-1===UHe(e,t)}function NHe(e,t){var n=UHe(e,t);return 1===n||0===n}function RHe(e){var t=e.split(DHe),n=t[0].match(THe);return n||("production"!==go.env.NODE_ENV?SHe(!1,"expected regex to match but it did not"):SHe(!1)),{modifier:n[1],rangeComponents:[n[2]].concat(t.slice(1))}}function OHe(e){return!isNaN(e)&&isFinite(e)}function zHe(e){return!RHe(e).modifier}function BHe(e,t){for(var n=e.length;n<t;n++)e[n]="0"}function GHe(e,t){var n=e.match(LHe)[1],i=t.match(LHe)[1],r=parseInt(n,10),a=parseInt(i,10);return OHe(r)&&OHe(a)&&r!==a?qHe(r,a):qHe(e,t)}function qHe(e,t){return typeof e!=typeof t&&("production"!==go.env.NODE_ENV?SHe(!1,'"a" and "b" must be of the same type'):SHe(!1)),e>t?1:e<t?-1:0}function UHe(e,t){for(var n=function(e,t){BHe(e=e.slice(),(t=t.slice()).length);for(var n=0;n<t.length;n++){var i=t[n].match(/^[x*]$/i);if(i&&(t[n]=e[n]="0","*"===i[0]&&n===t.length-1))for(var r=n;r<e.length;r++)e[r]="0"}return BHe(t,e.length),[e,t]}(e,t),i=n[0],r=n[1],a=0;a<r.length;a++){var o=GHe(i[a],r[a]);if(o)return o}return 0}var HHe={contains:function(e,t){return IHe(e.trim(),t.trim())}},WHe=HHe,YHe=Object.prototype.hasOwnProperty;var VHe=function(e,t,n){if(!e)return null;var i={};for(var r in e)YHe.call(e,r)&&(i[r]=t.call(n,e[r],r,e));return i};var KHe=function(e){var t={};return function(n){return t.hasOwnProperty(n)||(t[n]=e.call(this,n)),t[n]}},QHe=CHe,JHe=WHe;function ZHe(e,t,n,i){if(e===n)return!0;if(!n.startsWith(e))return!1;var r=n.slice(e.length);return!!t&&(r=i?i(r):r,JHe.contains(r,t))}function $He(e){return"Windows"===QHe.platformName?e.replace(/^\s*NT/,""):e}var XHe=VHe({isBrowser:function(e){return ZHe(QHe.browserName,QHe.browserFullVersion,e)},isBrowserArchitecture:function(e){return ZHe(QHe.browserArchitecture,null,e)},isDevice:function(e){return ZHe(QHe.deviceName,null,e)},isEngine:function(e){return ZHe(QHe.engineName,QHe.engineVersion,e)},isPlatform:function(e){return ZHe(QHe.platformName,QHe.platformFullVersion,e,$He)},isPlatformArchitecture:function(e){return ZHe(QHe.platformArchitecture,null,e)}},KHe);var eWe=function(e){return e&&e.ownerDocument?e.ownerDocument:document};var tWe=function(e){return!(!e||!e.ownerDocument)&&e.nodeType===Node.ELEMENT_NODE},nWe=tWe;var iWe=function e(t){if(nWe(t)){var n=t,i=n.getAttribute("data-offset-key");if(i)return i;for(var r=0;r<n.childNodes.length;r++){var a=e(n.childNodes[r]);if(a)return a}}return null},rWe=eWe,aWe=iWe;var oWe=function(e){for(var t=e;t&&t!==rWe(e).documentElement;){var n=aWe(t);if(null!=n)return n;t=t.parentNode}return null};var sWe=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView?e.ownerDocument.defaultView:window};function lWe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var uWe=XHe,cWe=oWe,dWe=sWe,fWe=kBe,pWe=gUe,hWe=kze.exports.Map,gWe={subtree:!0,characterData:!0,childList:!0,characterDataOldValue:!1,attributes:!1},mWe=uWe.isBrowser("IE <= 11"),vWe=function(){function e(e){var t=this;lWe(this,"observer",void 0),lWe(this,"container",void 0),lWe(this,"mutations",void 0),lWe(this,"onCharData",void 0),this.container=e,this.mutations=hWe();var n=dWe(e);n.MutationObserver&&!mWe?this.observer=new n.MutationObserver((function(e){return t.registerMutations(e)})):this.onCharData=function(e){e.target instanceof Node||("production"!==go.env.NODE_ENV?fWe(!1,"Expected target to be an instance of Node"):fWe(!1)),t.registerMutation({type:"characterData",target:e.target})}}var t=e.prototype;return t.start=function(){this.observer?this.observer.observe(this.container,gWe):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=hWe(),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,i=e.removedNodes;if("characterData"===t){if(""!==n.textContent)return mWe?n.textContent.replace("\n",""):n.textContent}else if("childList"===t){if(i&&i.length)return"";if(""!==n.textContent)return n.textContent}return null},t.registerMutation=function(e){var t=this.getMutationTextContent(e);if(null!=t){var n=pWe(cWe(e.target));this.mutations=this.mutations.set(n,t)}},e}(),_We="-",bWe={encode:function(e,t,n){return e+_We+t+_We+n},decode:function(e){var t=e.split(_We).reverse(),n=t[0],i=t[1];return{blockKey:t.slice(2).reverse().join(_We),decoratorKey:parseInt(i,10),leafKey:parseInt(n,10)}}},yWe={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},wWe={logBlockedSelectionEvent:function(){return null},logSelectionStateFailure:function(){return null}};var FWe=function(e){return!(!e||!e.ownerDocument)&&(e.ownerDocument.defaultView?e instanceof e.ownerDocument.defaultView.HTMLElement:e instanceof HTMLElement)},kWe=kBe,EWe=FWe;var xWe=function(e){var t=e.editorContainer;return t||("production"!==go.env.NODE_ENV?kWe(!1,"Missing editorNode"):kWe(!1)),EWe(t.firstChild)||("production"!==go.env.NODE_ENV?kWe(!1,"editorNode.firstChild is not an HTMLElement"):kWe(!1)),t.firstChild},CWe=bWe,SWe=gUe;var DWe=function(e,t,n,i,r){var a=SWe(e.getSelection());if(!t||!i)return"production"!==go.env.NODE_ENV&&console.warn("Invalid selection state.",arguments,e.toJS()),a;var o=CWe.decode(t),s=o.blockKey,l=e.getBlockTree(s),u=l&&l.getIn([o.decoratorKey,"leaves",o.leafKey]),c=CWe.decode(i),d=c.blockKey,f=e.getBlockTree(d),p=f&&f.getIn([c.decoratorKey,"leaves",c.leafKey]);if(!u||!p)return"production"!==go.env.NODE_ENV&&console.warn("Invalid selection state.",arguments,e.toJS()),a;var h=u.get("start"),g=p.get("start"),m=u?h+n:null,v=p?g+r:null,_=a.getAnchorKey()===s&&a.getAnchorOffset()===m&&a.getFocusKey()===d&&a.getFocusOffset()===v;if(_)return a;var b=!1;if(s===d){var y=u.get("end"),w=p.get("end");b=g===h&&w===y?r<n:g<h}else{var F=e.getCurrentContent().getBlockMap().keySeq().skipUntil((function(e){return e===s||e===d})).first();b=F===d}return a.merge({anchorKey:s,anchorOffset:m,focusKey:d,focusOffset:v,isBackward:b})},PWe=oWe,AWe=iWe,TWe=DWe,LWe=kBe,IWe=tWe,MWe=gUe;function jWe(e,t,n){var i=t,r=PWe(i);(null!=r||e&&(e===i||e.firstChild===i)||("production"!==go.env.NODE_ENV?LWe(!1,"Unknown node in selection range."):LWe(!1)),e===i)&&(i=i.firstChild,IWe(i)||("production"!==go.env.NODE_ENV?LWe(!1,"Invalid DraftEditorContents node."):LWe(!1)),"true"!==(i=i).getAttribute("data-contents")&&("production"!==go.env.NODE_ENV?LWe(!1,"Invalid DraftEditorContents structure."):LWe(!1)),n>0&&(n=i.childNodes.length));if(0===n){var a=null;if(null!=r)a=r;else{var o=function(e){for(;e.firstChild&&(IWe(e.firstChild)&&"true"===e.firstChild.getAttribute("data-blocks")||AWe(e.firstChild));)e=e.firstChild;return e}(i);a=MWe(AWe(o))}return{key:a,offset:0}}var s=i.childNodes[n-1],l=null,u=null;if(AWe(s)){var c=function(e){for(;e.lastChild&&(IWe(e.lastChild)&&"true"===e.lastChild.getAttribute("data-blocks")||AWe(e.lastChild));)e=e.lastChild;return e}(s);l=MWe(AWe(c)),u=NWe(c)}else l=MWe(r),u=NWe(s);return{key:l,offset:u}}function NWe(e){var t=e.textContent;return"\n"===t?0:t.length}var RWe=function(e,t,n,i,r,a){var o=n.nodeType===Node.TEXT_NODE,s=r.nodeType===Node.TEXT_NODE;if(o&&s)return{selectionState:TWe(e,MWe(PWe(n)),i,MWe(PWe(r)),a),needsRecovery:!1};var l=null,u=null,c=!0;return o?(l={key:MWe(PWe(n)),offset:i},u=jWe(t,r,a)):s?(u={key:MWe(PWe(r)),offset:a},l=jWe(t,n,i)):(l=jWe(t,n,i),u=jWe(t,r,a),n===r&&i===a&&(c=!!n.firstChild&&"BR"!==n.firstChild.nodeName)),{selectionState:TWe(e,l.key,l.offset,u.key,u.offset),needsRecovery:c}},OWe=RWe;var zWe=function(e,t){var n=t.ownerDocument.defaultView.getSelection(),i=n.anchorNode,r=n.anchorOffset,a=n.focusNode,o=n.focusOffset;return 0===n.rangeCount||null==i||null==a?{selectionState:e.getSelection().set("hasFocus",!1),needsRecovery:!1}:OWe(e,t,i,r,a,o)},BWe=wWe,GWe=zUe,qWe=xWe,UWe=zWe;var HWe=function(e){if(e._blockSelectEvents||e._latestEditorState!==e.props.editorState){if(e._blockSelectEvents){var t=e.props.editorState.getSelection();BWe.logBlockedSelectionEvent({anonymizedDom:"N/A",extraParams:JSON.stringify({stacktrace:(new Error).stack}),selectionState:JSON.stringify(t.toJS())})}}else{var n=e.props.editorState,i=UWe(n,qWe(e)),r=i.selectionState;r!==n.getSelection()&&(n=i.needsRecovery?GWe.forceSelection(n,r):GWe.acceptSelection(n,r),e.update(n))}};var WWe={notEmptyKey:function(e){return null!=e&&""!=e}},YWe=WWe.notEmptyKey;function VWe(e,t){return YWe(t)&&"MUTABLE"===e.__get(t).getMutability()?t:null}var KWe=function(e,t){var n;if(t.isCollapsed()){var i=t.getAnchorKey(),r=t.getAnchorOffset();return r>0?(n=e.getBlockForKey(i).getEntityAt(r-1))!==e.getBlockForKey(i).getEntityAt(r)?null:VWe(e.getEntityMap(),n):null}var a=t.getStartKey(),o=t.getStartOffset(),s=e.getBlockForKey(a);return n=o===s.getLength()?null:s.getEntityAt(o),VWe(e.getEntityMap(),n)},QWe=vWe,JWe=HGe,ZWe=bWe,$We=zUe,XWe=yWe,eYe=xWe,tYe=zWe,nYe=KWe,iYe=gUe,rYe=!1,aYe=!1,oYe=null;var sYe={onCompositionStart:function(e){aYe=!0,function(e){oYe||(oYe=new QWe(eYe(e))).start()}(e)},onCompositionEnd:function(e){rYe=!1,aYe=!1,setTimeout((function(){rYe||sYe.resolveComposition(e)}),20)},onSelect:HWe,onKeyDown:function(e,t){if(!aYe)return sYe.resolveComposition(e),void e._onKeyDown(t);t.which!==XWe.RIGHT&&t.which!==XWe.LEFT||t.preventDefault()},onKeyPress:function(e,t){t.which===XWe.RETURN&&t.preventDefault()},resolveComposition:function(e){if(!aYe){var t=iYe(oYe).stopAndFlushMutations();oYe=null,rYe=!0;var n=$We.set(e._latestEditorState,{inCompositionMode:!1});if(e.exitCurrentMode(),t.size){var i=n.getCurrentContent();t.forEach((function(e,t){var r=ZWe.decode(t),a=r.blockKey,o=r.decoratorKey,s=r.leafKey,l=n.getBlockTree(a).getIn([o,"leaves",s]),u=l.start,c=l.end,d=n.getSelection().merge({anchorKey:a,focusKey:a,anchorOffset:u,focusOffset:c,isBackward:!1}),f=nYe(i,d),p=i.getBlockForKey(a).getInlineStyleAt(u);i=JWe.replaceText(i,d,e,p,f),n=$We.set(n,{currentContent:i})}));var r=tYe(n,eYe(e)).selectionState;e.restoreEditorDOM();var a=$We.acceptSelection(n,r);e.update($We.push(a,i,"insert-characters"))}else e.update(n)}}},lYe=sYe,uYe=_W;function cYe(){return cYe=uYe||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},cYe.apply(this,arguments)}var dYe=bWe,fYe=m.default,pYe=lUe,hYe=Zqe,gYe=function(e){var t,n;function i(){return e.apply(this,arguments)||this}return n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,i.prototype.render=function(){var e=this.props,t=e.block,n=e.children,i=e.contentState,r=e.decorator,a=e.decoratorKey,o=e.direction,s=e.leafSet,l=e.text,u=t.getKey(),c=s.get("leaves"),d=r.getComponentForKey(a),f=r.getPropsForKey(a),p=dYe.encode(u,parseInt(a,10),0),h=l.slice(c.first().get("start"),c.last().get("end")),g=hYe.getHTMLDirIfDifferent(pYe.getDirection(h),o);return fYe.createElement(d,cYe({},f,{contentState:i,decoratedText:h,dir:g,key:p,entityKey:t.getEntityAt(s.get("start")),offsetKey:p}),n)},i}(fYe.Component),mYe=gYe;function vYe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _Ye(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var bYe=m.default,yYe=kBe,wYe=tWe,FYe=XHe.isBrowser("IE <= 11");var kYe=function(e){var t,n;function i(t){var n;return _Ye(vYe(n=e.call(this,t)||this),"_forceFlag",void 0),_Ye(vYe(n),"_node",void 0),n._forceFlag=!1,n}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=i.prototype;return r.shouldComponentUpdate=function(e){var t=this._node,n=""===e.children;wYe(t)||("production"!==go.env.NODE_ENV?yYe(!1,"node is not an Element"):yYe(!1));var i=t;return n?!function(e){return FYe?"\n"===e.textContent:"BR"===e.tagName}(i):i.textContent!==e.children},r.componentDidMount=function(){this._forceFlag=!this._forceFlag},r.componentDidUpdate=function(){this._forceFlag=!this._forceFlag},r.render=function(){var e,t=this;return""===this.props.children?this._forceFlag?(e=function(e){return t._node=e},FYe?bYe.createElement("span",{key:"A","data-text":"true",ref:e},"\n"):bYe.createElement("br",{key:"A","data-text":"true",ref:e})):function(e){return FYe?bYe.createElement("span",{key:"B","data-text":"true",ref:e},"\n"):bYe.createElement("br",{key:"B","data-text":"true",ref:e})}((function(e){return t._node=e})):bYe.createElement("span",{key:this._forceFlag?"A":"B","data-text":"true",ref:function(e){return t._node=e}},this.props.children)},i}(bYe.Component),EYe=kYe,xYe=tWe;var CYe=function(e){return!(!e||!e.ownerDocument)&&(xYe(e)&&"BR"===e.nodeName)};var SYe=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 DYe=function(e){return SYe(e)&&3==e.nodeType};var PYe=function e(t,n){return!(!t||!n)&&(t===n||!DYe(t)&&(DYe(n)?e(t,n.parentNode):"contains"in t?t.contains(n):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(n))))};var AYe=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}},TYe=wWe,LYe=PYe,IYe=AYe,MYe=eWe,jYe=kBe,NYe=tWe,RYe=XHe.isBrowser("IE");function OYe(e,t){if(!e)return"[empty]";var n=zYe(e,t);return n.nodeType===Node.TEXT_NODE?n.textContent:(NYe(n)||("production"!==go.env.NODE_ENV?jYe(!1,"Node must be an Element if it is not a text node."):jYe(!1)),n.outerHTML)}function zYe(e,t){var n=void 0!==t?t(e):[];if(e.nodeType===Node.TEXT_NODE){var i=e.textContent.length;return MYe(e).createTextNode("[text "+i+(n.length?" | "+n.join(", "):"")+"]")}var r=e.cloneNode();1===r.nodeType&&n.length&&r.setAttribute("data-labels",n.join(", "));for(var a=e.childNodes,o=0;o<a.length;o++)r.appendChild(zYe(a[o],t));return r}function BYe(e,t){for(var n=e,i=n;n;){if(NYe(n)&&i.hasAttribute("contenteditable"))return OYe(n,t);i=n=n.parentNode}return"Could not find contentEditable parent of node"}function GYe(e){return null===e.nodeValue?e.childNodes.length:e.nodeValue.length}function qYe(e,t,n,i){var r=IYe();if(e.extend&&null!=t&&LYe(r,t)){n>GYe(t)&&TYe.logSelectionStateFailure({anonymizedDom:BYe(t),extraParams:JSON.stringify({offset:n}),selectionState:JSON.stringify(i.toJS())});var a=t===e.focusNode;try{e.rangeCount>0&&e.extend&&e.extend(t,n)}catch(o){throw TYe.logSelectionStateFailure({anonymizedDom:BYe(t,(function(t){var n=[];return t===r&&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:r?r.nodeName:null,nodeIsFocus:t===e.focusNode,nodeWasFocus:a,selectionRangeCount:e.rangeCount,selectionAnchorNodeName:e.anchorNode?e.anchorNode.nodeName:null,selectionAnchorOffset:e.anchorOffset,selectionFocusNodeName:e.focusNode?e.focusNode.nodeName:null,selectionFocusOffset:e.focusOffset,message:o?""+o:null,offset:n},null,2),selectionState:JSON.stringify(i.toJS(),null,2)}),o}}else if(t&&e.rangeCount>0){var o=e.getRangeAt(0);o.setEnd(t,n),e.addRange(o.cloneRange())}}function UYe(e,t,n,i){var r=MYe(t).createRange();if(n>GYe(t)&&TYe.logSelectionStateFailure({anonymizedDom:BYe(t),extraParams:JSON.stringify({offset:n}),selectionState:JSON.stringify(i.toJS())}),r.setStart(t,n),RYe)try{e.addRange(r)}catch(e){"production"!==go.env.NODE_ENV&&console.warn("Call to selection.addRange() threw exception: ",e)}else e.addRange(r)}var HYe=function(e,t,n,i,r){var a=MYe(t);if(LYe(a.documentElement,t)){var o=a.defaultView.getSelection(),s=e.getAnchorKey(),l=e.getAnchorOffset(),u=e.getFocusKey(),c=e.getFocusOffset(),d=e.getIsBackward();if(!o.extend&&d){var f=s,p=l;s=u,l=c,u=f,c=p,d=!1}var h=s===n&&i<=l&&r>=l,g=u===n&&i<=c&&r>=c;if(h&&g)return o.removeAllRanges(),UYe(o,t,l-i,e),void qYe(o,t,c-i,e);if(d){if(g&&(o.removeAllRanges(),UYe(o,t,c-i,e)),h){var m=o.focusNode,v=o.focusOffset;o.removeAllRanges(),UYe(o,t,l-i,e),qYe(o,m,v,e)}}else h&&(o.removeAllRanges(),UYe(o,t,l-i,e)),g&&qYe(o,t,c-i,e)}},WYe=_W;function YYe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function VYe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var KYe=EYe,QYe=m.default,JYe=kBe,ZYe=CYe,$Ye=HYe,XYe=function(e){var t,n;function i(){for(var t,n=arguments.length,i=new Array(n),r=0;r<n;r++)i[r]=arguments[r];return VYe(YYe(t=e.call.apply(e,[this].concat(i))||this),"leaf",void 0),t}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=i.prototype;return r._setSelection=function(){var e=this.props.selection;if(null!=e&&e.getHasFocus()){var t=this.props,n=t.block,i=t.start,r=t.text,a=n.getKey(),o=i+r.length;if(e.hasEdgeWithin(a,i,o)){var s=this.leaf;s||("production"!==go.env.NODE_ENV?JYe(!1,"Missing node"):JYe(!1));var l,u=s.firstChild;u||("production"!==go.env.NODE_ENV?JYe(!1,"Missing child"):JYe(!1)),u.nodeType===Node.TEXT_NODE?l=u:ZYe(u)?l=s:(l=u.firstChild)||("production"!==go.env.NODE_ENV?JYe(!1,"Missing targetNode"):JYe(!1)),$Ye(e,l,a,i,o)}}},r.shouldComponentUpdate=function(e){var t=this.leaf;return t||("production"!==go.env.NODE_ENV?JYe(!1,"Missing leafNode"):JYe(!1)),t.textContent!==e.text||e.styleSet!==this.props.styleSet||e.forceSelection},r.componentDidUpdate=function(){this._setSelection()},r.componentDidMount=function(){this._setSelection()},r.render=function(){var e=this,t=this.props.block,n=this.props.text;n.endsWith("\n")&&this.props.isLast&&(n+="\n");var i=this.props,r=i.customStyleMap,a=i.customStyleFn,o=i.offsetKey,s=i.styleSet,l=s.reduce((function(e,t){var n={},i=r[t];return void 0!==i&&e.textDecoration!==i.textDecoration&&(n.textDecoration=[e.textDecoration,i.textDecoration].join(" ").trim()),WYe(e,i,n)}),{});if(a){var u=a(s,t);l=WYe(l,u)}return QYe.createElement("span",{"data-offset-key":o,ref:function(t){return e.leaf=t},style:l},QYe.createElement(KYe,null,n))},i}(QYe.Component),eVe=XYe;var tVe=mYe,nVe=eVe,iVe=bWe,rVe=kze.exports,aVe=m.default,oVe=gHe;rVe.List;var sVe=function(e){var t,n;function i(){return e.apply(this,arguments)||this}return n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,i.prototype.render=function(){var e=this.props,t=e.block,n=e.contentState,i=e.customStyleFn,r=e.customStyleMap,a=e.decorator,o=e.direction,s=e.forceSelection,l=e.hasSelection,u=e.selection,c=e.tree,d=t.getKey(),f=t.getText(),p=c.size-1,h=this.props.children||c.map((function(e,c){var h=e.get("decoratorKey"),g=e.get("leaves"),m=g.size-1,v=g.map((function(e,n){var a=iVe.encode(d,c,n),o=e.get("start"),g=e.get("end");return aVe.createElement(nVe,{key:a,offsetKey:a,block:t,start:o,selection:l?u:null,forceSelection:s,text:f.slice(o,g),styleSet:t.getInlineStyleAt(o),customStyleMap:r,customStyleFn:i,isLast:h===p&&n===m})})).toArray();return h&&a?aVe.createElement(tVe,{block:t,children:v,contentState:n,decorator:a,decoratorKey:h,direction:o,leafSet:e,text:f,key:c}):v})).toArray();return aVe.createElement("div",{"data-offset-key":iVe.encode(d,0,0),className:oVe({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":"LTR"===o,"public/DraftStyleDefault/rtl":"RTL"===o})},h)},i}(aVe.Component),lVe=sVe;function uVe(e,t){return!!t&&(e===t.documentElement||e===t.body)}var cVe={getTop:function(e){var t=e.ownerDocument;return uVe(e,t)?t.body.scrollTop||t.documentElement.scrollTop:e.scrollTop},setTop:function(e,t){var n=e.ownerDocument;uVe(e,n)?n.body.scrollTop=n.documentElement.scrollTop=t:e.scrollTop=t},getLeft:function(e){var t=e.ownerDocument;return uVe(e,t)?t.body.scrollLeft||t.documentElement.scrollLeft:e.scrollLeft},setLeft:function(e,t){var n=e.ownerDocument;uVe(e,n)?n.body.scrollLeft=n.documentElement.scrollLeft=t:e.scrollLeft=t}},dVe=cVe,fVe=/-(.)/g;var pVe=/([A-Z])/g;var hVe=function(e){return e.replace(fVe,(function(e,t){return t.toUpperCase()}))},gVe=function(e){return e.replace(pVe,"-$1").toLowerCase()};function mVe(e){return null==e?e:String(e)}var vVe=function(e,t){var n;if(window.getComputedStyle&&(n=window.getComputedStyle(e,null)))return mVe(n.getPropertyValue(gVe(t)));if(document.defaultView&&document.defaultView.getComputedStyle){if(n=document.defaultView.getComputedStyle(e,null))return mVe(n.getPropertyValue(gVe(t)));if("display"===t)return"none"}return e.currentStyle?mVe("float"===t?e.currentStyle.cssFloat||e.currentStyle.styleFloat:e.currentStyle[hVe(t)]):mVe(e.style&&e.style[hVe(t)])};function _Ve(e,t){var n=bVe.get(e,t);return"auto"===n||"scroll"===n}var bVe={get:vVe,getScrollParent:function(e){if(!e)return null;for(var t=e.ownerDocument;e&&e!==t.body;){if(_Ve(e,"overflow")||_Ve(e,"overflowY")||_Ve(e,"overflowX"))return e;e=e.parentNode}return t.defaultView||t.parentWindow}},yVe=bVe,wVe=PYe;var FVe=function(e){var t=e.ownerDocument.documentElement;if(!("getBoundingClientRect"in e)||!wVe(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 kVe=function(e){var t=FVe(e);return{x:t.left,y:t.top,width:t.right-t.left,height:t.bottom-t.top}},EVe="undefined"!=typeof navigator&&navigator.userAgent.indexOf("AppleWebKit")>-1;var xVe=function(e){return(e=e||document).scrollingElement?e.scrollingElement:EVe||"CSS1Compat"!==e.compatMode?e.body:e.documentElement};var CVe=xVe,SVe=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 DVe=function(e){var t=CVe(e.ownerDocument||e.document);e.Window&&e instanceof e.Window&&(e=t);var n=SVe(e),i=e===t?e.ownerDocument.documentElement:e,r=e.scrollWidth-i.clientWidth,a=e.scrollHeight-i.clientHeight;return n.x=Math.max(0,Math.min(n.x,r)),n.y=Math.max(0,Math.min(n.y,a)),n};function PVe(){var e;return document.documentElement&&(e=document.documentElement.clientWidth),!e&&document.body&&(e=document.body.clientWidth),e||0}function AVe(){var e;return document.documentElement&&(e=document.documentElement.clientHeight),!e&&document.body&&(e=document.body.clientHeight),e||0}function TVe(){return{width:window.innerWidth||PVe(),height:window.innerHeight||AVe()}}TVe.withoutScrollbars=function(){return{width:PVe(),height:AVe()}};var LVe=TVe,IVe=_W;function MVe(){return MVe=IVe||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},MVe.apply(this,arguments)}function jVe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function NVe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){RVe(e,t,n[t])}))}return e}function RVe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var OVe=lVe,zVe=bWe,BVe=m.default,GVe=dVe,qVe=yVe,UVe=kVe,HVe=DVe,WVe=LVe,YVe=kBe,VVe=FWe;kze.exports.List;var KVe=function(e,t){return e.getAnchorKey()===t||e.getFocusKey()===t},QVe=function(e,t){var n=t.get(e.getType())||t.get("unstyled"),i=n.wrapper;return{Element:n.element||t.get("unstyled").element,wrapperTemplate:i}},JVe=function(e,t){var n=t(e);return n?{CustomComponent:n.component,customProps:n.props,customEditable:n.editable}:{}},ZVe=function(e,t,n,i,r,a){var o={"data-block":!0,"data-editor":t,"data-offset-key":n,key:e.getKey(),ref:a},s=i(e);return s&&(o.className=s),void 0!==r.customEditable&&(o=NVe({},o,{contentEditable:r.customEditable,suppressContentEditableWarning:!0})),o},$Ve=function(e){var t,n;function i(){for(var t,n=arguments.length,i=new Array(n),r=0;r<n;r++)i[r]=arguments[r];return RVe(jVe(t=e.call.apply(e,[this].concat(i))||this),"wrapperRef",BVe.createRef()),t}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=i.prototype;return r.shouldComponentUpdate=function(e){var t=this.props,n=t.block,i=t.direction,r=t.tree,a=!n.getChildKeys().isEmpty(),o=n!==e.block||r!==e.tree||i!==e.direction||KVe(e.selection,e.block.getKey())&&e.forceSelection;return a||o},r.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 i,r=qVe.getScrollParent(n),a=HVe(r);if(r===window){var o=UVe(n);(i=o.y+o.height-WVe().height)>0&&window.scrollTo(a.x,a.y+i+10)}else{VVe(n)||("production"!==go.env.NODE_ENV?YVe(!1,"blockNode is not an HTMLElement"):YVe(!1));var s=n;(i=s.offsetHeight+s.offsetTop-(r.offsetHeight+a.y))>0&&GVe.setTop(r,GVe.getTop(r)+i+10)}}}},r.render=function(){var e=this,t=this.props,n=t.block,r=t.blockRenderMap,a=t.blockRendererFn,o=t.blockStyleFn,s=t.contentState,l=t.decorator,u=t.editorKey,c=t.editorState,d=t.customStyleFn,f=t.customStyleMap,p=t.direction,h=t.forceSelection,g=t.selection,m=t.tree,v=null;n.children.size&&(v=n.children.reduce((function(t,n){var l=zVe.encode(n,0,0),d=s.getBlockForKey(n),f=JVe(d,a),p=f.CustomComponent||i,h=QVe(d,r),g=h.Element,m=h.wrapperTemplate,v=ZVe(d,u,l,o,f,null),_=NVe({},e.props,{tree:c.getBlockTree(n),blockProps:f.customProps,offsetKey:l,block:d});return t.push(BVe.createElement(g,v,BVe.createElement(p,_))),!m||function(e,t){var n=e.getNextSiblingKey();return!!n&&t.getBlockForKey(n).getType()===e.getType()}(d,s)||function(e,t,n){var i=[],r=!0,a=!1,o=void 0;try{for(var s,l=n.reverse()[Symbol.iterator]();!(r=(s=l.next()).done);r=!0){var u=s.value;if(u.type!==t)break;i.push(u)}}catch(e){a=!0,o=e}finally{try{r||null==l.return||l.return()}finally{if(a)throw o}}n.splice(n.indexOf(i[0]),i.length+1);var c=i.reverse(),d=c[0].key;n.push(BVe.cloneElement(e,{key:"".concat(d,"-wrap"),"data-offset-key":zVe.encode(d,0,0)},c))}(m,g,t),t}),[]));var _=n.getKey(),b=zVe.encode(_,0,0),y=JVe(n,a),w=y.CustomComponent,F=null!=w?BVe.createElement(w,MVe({},this.props,{tree:c.getBlockTree(_),blockProps:y.customProps,offsetKey:b,block:n})):BVe.createElement(OVe,{block:n,children:v,contentState:s,customStyleFn:d,customStyleMap:f,decorator:l,direction:p,forceSelection:h,hasSelection:KVe(g,_),selection:g,tree:m});if(n.getParentKey())return F;var k=QVe(n,r).Element,E=ZVe(n,u,b,o,y,this.wrapperRef);return BVe.createElement(k,E,F)},i}(BVe.Component),XVe=_W;function eKe(){return eKe=XVe||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},eKe.apply(this,arguments)}var tKe=$Ve,nKe=bWe,iKe=m.default,rKe=gUe,aKe=function(e){var t,n;function i(){return e.apply(this,arguments)||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=i.prototype;return r.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 i=n.getNativelyRenderedContent(),r=t.isInCompositionMode(),a=n.isInCompositionMode();if(t===n||null!==i&&n.getCurrentContent()===i||r&&a)return!1;var o=t.getCurrentContent(),s=n.getCurrentContent(),l=t.getDecorator(),u=n.getDecorator();return r!==a||o!==s||l!==u||n.mustForceSelection()},r.render=function(){for(var e=this.props,t=e.blockRenderMap,n=e.blockRendererFn,i=e.blockStyleFn,r=e.customStyleMap,a=e.customStyleFn,o=e.editorState,s=e.editorKey,l=e.textDirectionality,u=o.getCurrentContent(),c=o.getSelection(),d=o.mustForceSelection(),f=o.getDecorator(),p=rKe(o.getDirectionMap()),h=[],g=u.getBlocksAsArray()[0];g;){var m=g.getKey(),v={blockRenderMap:t,blockRendererFn:n,blockStyleFn:i,contentState:u,customStyleFn:a,customStyleMap:r,decorator:f,editorKey:s,editorState:o,forceSelection:d,selection:c,block:g,direction:l||p.get(m),tree:o.getBlockTree(m)},_=(t.get(g.getType())||t.get("unstyled")).wrapper;h.push({block:iKe.createElement(tKe,eKe({key:m},v)),wrapperTemplate:_,key:m,offsetKey:nKe.encode(m,0,0)});var b=g.getNextSiblingKey();g=b?u.getBlockForKey(b):null}for(var y=[],w=0;w<h.length;){var F=h[w];if(F.wrapperTemplate){var k=[];do{k.push(h[w].block),w++}while(w<h.length&&h[w].wrapperTemplate===F.wrapperTemplate);var E=iKe.cloneElement(F.wrapperTemplate,{key:F.key+"-wrap","data-offset-key":F.offsetKey},k);y.push(E)}else y.push(F.block),w++}return iKe.createElement("div",{"data-contents":"true"},y)},i}(iKe.Component),oKe=aKe,sKe=_W;function lKe(){return lKe=sKe||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},lKe.apply(this,arguments)}function uKe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cKe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var dKe=eVe,fKe=bWe,pKe=m.default,hKe=dVe,gKe=yVe,mKe=lUe,vKe=Zqe,_Ke=gHe,bKe=kVe,yKe=DVe,wKe=LVe,FKe=kBe,kKe=FWe,EKe=gUe,xKe=function(e,t){return e.getAnchorKey()===t||e.getFocusKey()===t},CKe=function(e){var t,n;function i(){for(var t,n=arguments.length,i=new Array(n),r=0;r<n;r++)i[r]=arguments[r];return cKe(uKe(t=e.call.apply(e,[this].concat(i))||this),"_node",void 0),t}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=i.prototype;return r.shouldComponentUpdate=function(e){return this.props.block!==e.block||this.props.tree!==e.tree||this.props.direction!==e.direction||xKe(e.selection,e.block.getKey())&&e.forceSelection},r.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 i,r=gKe.getScrollParent(n),a=yKe(r);if(r===window){var o=bKe(n);(i=o.y+o.height-wKe().height)>0&&window.scrollTo(a.x,a.y+i+10)}else{kKe(n)||("production"!==go.env.NODE_ENV?FKe(!1,"blockNode is not an HTMLElement"):FKe(!1)),(i=n.offsetHeight+n.offsetTop-(r.offsetTop+r.offsetHeight+a.y))>0&&hKe.setTop(r,hKe.getTop(r)+i+10)}}}}},r._renderChildren=function(){var e=this,t=this.props.block,n=t.getKey(),i=t.getText(),r=this.props.tree.size-1,a=xKe(this.props.selection,n);return this.props.tree.map((function(o,s){var l=o.get("leaves");if(0===l.size)return null;var u=l.size-1,c=l.map((function(o,l){var c=fKe.encode(n,s,l),d=o.get("start"),f=o.get("end");return pKe.createElement(dKe,{key:c,offsetKey:c,block:t,start:d,selection:a?e.props.selection:null,forceSelection:e.props.forceSelection,text:i.slice(d,f),styleSet:t.getInlineStyleAt(d),customStyleMap:e.props.customStyleMap,customStyleFn:e.props.customStyleFn,isLast:s===r&&l===u})})).toArray(),d=o.get("decoratorKey");if(null==d)return c;if(!e.props.decorator)return c;var f=EKe(e.props.decorator),p=f.getComponentForKey(d);if(!p)return c;var h=f.getPropsForKey(d),g=fKe.encode(n,s,0),m=l.first().get("start"),v=l.last().get("end"),_=i.slice(m,v),b=t.getEntityAt(o.get("start")),y=vKe.getHTMLDirIfDifferent(mKe.getDirection(_),e.props.direction),w={contentState:e.props.contentState,decoratedText:_,dir:y,start:m,end:v,blockKey:n,entityKey:b,offsetKey:g};return pKe.createElement(p,lKe({},h,w,{key:g}),c)})).toArray()},r.render=function(){var e=this,t=this.props,n=t.direction,i=t.offsetKey,r=_Ke({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":"LTR"===n,"public/DraftStyleDefault/rtl":"RTL"===n});return pKe.createElement("div",{"data-offset-key":i,className:r,ref:function(t){return e._node=t}},this._renderChildren())},i}(pKe.Component),SKe=CKe;var DKe=function(e){var t=e||"",n=arguments.length;if(n>1)for(var i=1;i<n;i++){var r=arguments[i];r&&(t=(t?t+" ":"")+r)}return t},PKe=_W;function AKe(){return AKe=PKe||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},AKe.apply(this,arguments)}function TKe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){LKe(e,t,n[t])}))}return e}function LKe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var IKe=SKe,MKe=bWe,jKe=m.default,NKe=gHe,RKe=DKe,OKe=gUe,zKe=function(e,t,n,i){return NKe({"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"===i,"public/DraftStyleDefault/listRTL":"RTL"===i})},BKe=function(e){var t,n;function i(){return e.apply(this,arguments)||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=i.prototype;return r.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 i=n.getNativelyRenderedContent(),r=t.isInCompositionMode(),a=n.isInCompositionMode();if(t===n||null!==i&&n.getCurrentContent()===i||r&&a)return!1;var o=t.getCurrentContent(),s=n.getCurrentContent(),l=t.getDecorator(),u=n.getDecorator();return r!==a||o!==s||l!==u||n.mustForceSelection()},r.render=function(){for(var e=this.props,t=e.blockRenderMap,n=e.blockRendererFn,i=e.blockStyleFn,r=e.customStyleMap,a=e.customStyleFn,o=e.editorState,s=e.editorKey,l=e.preventScroll,u=e.textDirectionality,c=o.getCurrentContent(),d=o.getSelection(),f=o.mustForceSelection(),p=o.getDecorator(),h=OKe(o.getDirectionMap()),g=c.getBlocksAsArray(),m=[],v=null,_=null,b=0;b<g.length;b++){var y=g[b],w=y.getKey(),F=y.getType(),k=n(y),E=void 0,x=void 0,C=void 0;k&&(E=k.component,x=k.props,C=k.editable);var S=u||h.get(w),D=MKe.encode(w,0,0),P={contentState:c,block:y,blockProps:x,blockStyleFn:i,customStyleMap:r,customStyleFn:a,decorator:p,direction:S,forceSelection:f,offsetKey:D,preventScroll:l,selection:d,tree:o.getBlockTree(w)},A=t.get(F)||t.get("unstyled"),T=A.wrapper,L=A.element||t.get("unstyled").element,I=y.getDepth(),M="";if(i&&(M=i(y)),"li"===L)M=RKe(M,zKe(F,I,_!==T||null===v||I>v,S));var j=E||IKe,N={className:M,"data-block":!0,"data-editor":s,"data-offset-key":D,key:w};void 0!==C&&(N=TKe({},N,{contentEditable:C,suppressContentEditableWarning:!0}));var R=jKe.createElement(L,N,jKe.createElement(j,AKe({},P,{key:w})));m.push({block:R,wrapperTemplate:T,key:w,offsetKey:D}),v=T?y.getDepth():null,_=T}for(var O=[],z=0;z<m.length;){var B=m[z];if(B.wrapperTemplate){var G=[];do{G.push(m[z].block),z++}while(z<m.length&&m[z].wrapperTemplate===B.wrapperTemplate);var q=jKe.cloneElement(B.wrapperTemplate,{key:B.key+"-wrap","data-offset-key":B.offsetKey},G);O.push(q)}else O.push(B.block),z++}return jKe.createElement("div",{"data-contents":"true"},O)},i}(jKe.Component),GKe=BKe,qKe=yqe("draft_tree_data_support")?oKe:GKe,UKe={isImage:function(e){return"image"===HKe(e)[0]},isJpeg:function(e){var t=HKe(e);return UKe.isImage(e)&&("jpeg"===t[1]||"pjpeg"===t[1])}};function HKe(e){return e.split("/")}var WKe=UKe,YKe=kBe;var VKe=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"!==go.env.NODE_ENV?YKe(!1,"toArray: Array-like object expected"):YKe(!1)),"number"!=typeof t&&("production"!==go.env.NODE_ENV?YKe(!1,"toArray: Object needs a length property"):YKe(!1)),0===t||t-1 in e||("production"!==go.env.NODE_ENV?YKe(!1,"toArray: Object should have keys for indices"):YKe(!1)),"function"==typeof e.callee&&("production"!==go.env.NODE_ENV?YKe(!1,"toArray: Object can't be `arguments`. Use rest params (function(...args) {}) or Array.from() instead."):YKe(!1)),e.hasOwnProperty)try{return Array.prototype.slice.call(e)}catch(e){}for(var n=Array(t),i=0;i<t;i++)n[i]=e[i];return n}(e):[e]};function KKe(e){return function(){return e}}var QKe=function(){};QKe.thatReturns=KKe,QKe.thatReturnsFalse=KKe(!1),QKe.thatReturnsTrue=KKe(!0),QKe.thatReturnsNull=KKe(null),QKe.thatReturnsThis=function(){return this},QKe.thatReturnsArgument=function(e){return e};var JKe=QKe,ZKe=WKe,$Ke=VKe,XKe=JKe,eQe=new RegExp("\r\n","g"),tQe={"text/rtf":1,"text/html":1};function nQe(e){if("file"==e.kind)return e.getAsFile()}var iQe=function(){function e(e){this.data=e,this.types=e.types?$Ke(e.types):[]}var t=e.prototype;return t.isRichText=function(){return!(!this.getHTML()||!this.getText())||!this.isImage()&&this.types.some((function(e){return tQe[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(eQe,"\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 i=t[n].type;if(!ZKe.isImage(i))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(nQe).filter(XKe.thatReturnsArgument):this.data.files?Array.prototype.slice.call(this.data.files):[]},t.hasFiles=function(){return this.getFiles().length>0},e}(),rQe=iQe,aQe=kBe,oQe=/\.textClipping$/,sQe={"text/plain":!0,"text/html":!0,"text/rtf":!0};var lQe=function(e,t){var n=0,i=[];e.forEach((function(r){!function(e,t){if(!k.FileReader||e.type&&!(e.type in sQe))return void t("");if(""===e.type){var n="";return oQe.test(e.name)&&(n=e.name.replace(oQe,"")),void t(n)}var i=new FileReader;i.onload=function(){var e=i.result;"string"!=typeof e&&("production"!==go.env.NODE_ENV?aQe(!1,'We should be calling "FileReader.readAsText" which returns a string'):aQe(!1)),t(e)},i.onerror=function(){t("")},i.readAsText(e)}(r,(function(r){n++,r&&i.push(r.slice(0,5e3)),n==e.length&&t(i.join("\r"))}))}))};var uQe=function(e){return"handled"===e||!0===e},cQe=rQe,dQe=HGe,fQe=zUe,pQe=oWe,hQe=eWe,gQe=lQe,mQe=DWe,vQe=sWe,_Qe=uQe,bQe=gUe;var yQe={onDragEnd:function(e){e.exitCurrentMode(),wQe(e)},onDrop:function(e,t){var n=new cQe(t.nativeEvent.dataTransfer),i=e._latestEditorState,r=function(e,t){var n=null,i=null,r=hQe(e.currentTarget);if("function"==typeof r.caretRangeFromPoint){var a=r.caretRangeFromPoint(e.x,e.y);n=a.startContainer,i=a.startOffset}else{if(!e.rangeParent)return null;n=e.rangeParent,i=e.rangeOffset}n=bQe(n),i=bQe(i);var o=bQe(pQe(n));return mQe(t,o,i,o,i)}(t.nativeEvent,i);if(t.preventDefault(),e._dragCount=0,e.exitCurrentMode(),null!=r){var a=n.getFiles();if(a.length>0){if(e.props.handleDroppedFiles&&_Qe(e.props.handleDroppedFiles(r,a)))return;gQe(a,(function(t){t&&e.update(FQe(i,r,t))}))}else{var o=e._internalDrag?"internal":"external";e.props.handleDrop&&_Qe(e.props.handleDrop(r,n,o))||(e._internalDrag?e.update(function(e,t){var n=dQe.moveText(e.getCurrentContent(),e.getSelection(),t);return fQe.push(e,n,"insert-fragment")}(i,r)):e.update(FQe(i,r,n.getText()))),wQe(e)}}}};function wQe(e){e._internalDrag=!1;var t=e.editorContainer;if(t){var n=new MouseEvent("mouseup",{view:vQe(t),bubbles:!0,cancelable:!0});t.dispatchEvent(n)}}function FQe(e,t,n){var i=dQe.insertText(e.getCurrentContent(),t,n,e.getCurrentInlineStyle());return fQe.push(e,i,"insert-fragment")}var kQe=yQe;var EQe=function(e){var t=e.getSelection(),n=t.getAnchorKey(),i=e.getBlockTree(n),r=t.getStartOffset(),a=!1;return i.some((function(e){return r===e.get("start")?(a=!0,!0):r<e.get("end")&&e.get("leaves").some((function(e){var t=e.get("start");return r===t&&(a=!0,!0)}))})),a};!function(e,t){if(!e.setImmediate){var n,i,r,a=1,o={},s=!1,l=e.document,u=Object.getPrototypeOf&&Object.getPrototypeOf(e);u=u&&u.setTimeout?u:e,"[object process]"==={}.toString.call(e.process)?n=function(e){go.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}}()?(i="setImmediate$"+Math.random()+"$",r=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(i)&&d(+t.data.slice(i.length))},e.addEventListener?e.addEventListener("message",r,!1):e.attachEvent("onmessage",r),n=function(t){e.postMessage(i+t,"*")}):e.MessageChannel?function(){var e=new MessageChannel;e.port1.onmessage=function(e){d(e.data)},n=function(t){e.port2.postMessage(t)}}():l&&"onreadystatechange"in l.createElement("script")?function(){var e=l.documentElement;n=function(t){var n=l.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)},u.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),i=0;i<t.length;i++)t[i]=arguments[i+1];var r={callback:e,args:t};return o[a]=r,n(a),a++},u.clearImmediate=c}function c(e){delete o[e]}function d(e){if(s)setTimeout(d,0,e);else{var t=o[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{c(e),s=!1}}}}}("undefined"==typeof self?k:self);var xQe=k.setImmediate,CQe=HGe,SQe=zUe,DQe=KWe,PQe=uQe,AQe=EQe,TQe=gUe,LQe=xQe,IQe=XHe.isBrowser("Firefox");function MQe(e,t,n,i,r){var a=CQe.replaceText(e.getCurrentContent(),e.getSelection(),t,n,i);return SQe.push(e,a,"insert-characters",r)}var jQe=function(e,t){void 0!==e._pendingStateFromBeforeInput&&(e.update(e._pendingStateFromBeforeInput),e._pendingStateFromBeforeInput=void 0);var n=e._latestEditorState,i=t.data;if(i)if(e.props.handleBeforeInput&&PQe(e.props.handleBeforeInput(i,n,t.timeStamp)))t.preventDefault();else{var r=n.getSelection(),a=r.getStartOffset(),o=r.getAnchorKey();if(!r.isCollapsed())return t.preventDefault(),void e.update(MQe(n,i,n.getCurrentInlineStyle(),DQe(n.getCurrentContent(),n.getSelection()),!0));var s,l=MQe(n,i,n.getCurrentInlineStyle(),DQe(n.getCurrentContent(),n.getSelection()),!1),u=!1;if(u||(u=AQe(e._latestCommittedEditorState)),!u){var c=n.getBlockTree(o),d=l.getBlockTree(o);u=c.size!==d.size||c.zip(d).some((function(e){var t=e[0],n=e[1],r=t.get("start"),o=r+(r>=a?i.length:0),s=t.get("end"),l=s+(s>=a?i.length:0),u=n.get("start"),c=n.get("end"),d=n.get("decoratorKey");return t.get("decoratorKey")!==d||t.get("leaves").size!==n.get("leaves").size||o!==u||l!==c||null!=d&&c-u!=s-r}))}if(u||(s=i,u=IQe&&("'"==s||"/"==s)),u||(u=TQe(l.getDirectionMap()).get(o)!==TQe(n.getDirectionMap()).get(o)),u)return t.preventDefault(),l=SQe.set(l,{forceSelection:!0}),void e.update(l);l=SQe.set(l,{nativelyRenderedContent:l.getCurrentContent()}),e._pendingStateFromBeforeInput=l,LQe((function(){void 0!==e._pendingStateFromBeforeInput&&(e.update(e._pendingStateFromBeforeInput),e._pendingStateFromBeforeInput=void 0)}))}},NQe=zUe,RQe=PYe,OQe=AYe;var zQe=function(e,t){var n=t.currentTarget.ownerDocument;if(!Boolean(e.props.preserveSelectionOnBlur)&&OQe(n)===n.body){var i=n.defaultView.getSelection(),r=e.editor;1===i.rangeCount&&RQe(r,i.anchorNode)&&RQe(r,i.focusNode)&&i.removeAllRanges()}var a=e._latestEditorState,o=a.getSelection();if(o.getHasFocus()){var s=o.set("hasFocus",!1);e.props.onBlur&&e.props.onBlur(t),e.update(NQe.acceptSelection(a,s))}},BQe=zUe;var GQe=function(e,t){e.setMode("composite"),e.update(BQe.set(e._latestEditorState,{inCompositionMode:!0})),e._onCompositionStart(t)},qQe=WBe;var UQe=function(e){var t=e.getSelection();return t.isCollapsed()?null:qQe(e.getCurrentContent(),t)},HQe=UQe;var WQe=function(e,t){e._latestEditorState.getSelection().isCollapsed()?t.preventDefault():e.setClipboard(HQe(e._latestEditorState))};var YQe=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},VQe=HGe,KQe=zUe,QQe=yVe,JQe=UQe,ZQe=DVe,$Qe=YQe;var XQe=function(e,t){var n,i=e._latestEditorState,r=i.getSelection(),a=t.target;if(r.isCollapsed())t.preventDefault();else{if($Qe(a)){var o=a;n=ZQe(QQe.getScrollParent(o))}var s=JQe(i);e.setClipboard(s),e.setMode("cut"),setTimeout((function(){e.restoreEditorDOM(n),e.exitCurrentMode(),e.update(function(e){var t=VQe.removeRange(e.getCurrentContent(),e.getSelection(),"forward");return KQe.push(e,t,"remove-range")}(i))}),0)}};var eJe=function(e,t){e.setMode("drag"),t.preventDefault()};var tJe=function(e){e._internalDrag=!0,e.setMode("drag")},nJe=zUe,iJe=XHe;var rJe=function(e,t){var n=e._latestEditorState,i=n.getSelection();if(!i.getHasFocus()){var r=i.set("hasFocus",!0);e.props.onFocus&&e.props.onFocus(t),iJe.isBrowser("Chrome < 60.0.3081.0")?e.update(nJe.forceSelection(n,r)):e.update(nJe.acceptSelection(n,r))}},aJe=kBe,oJe=/[\uD800-\uDFFF]/;function sJe(e){return 55296<=e&&e<=57343}function lJe(e){return oJe.test(e)}function uJe(e,t){return 1+sJe(e.charCodeAt(t))}function cJe(e,t,n){if(t=t||0,n=void 0===n?1/0:n||0,!lJe(e))return e.substr(t,n);var i=e.length;if(i<=0||t>i||n<=0)return"";var r=0;if(t>0){for(;t>0&&r<i;t--)r+=uJe(e,r);if(r>=i)return""}else if(t<0){for(r=i;t<0&&0<r;t++)r-=uJe(e,r-1);r<0&&(r=0)}var a=i;if(n<i)for(a=r;n>0&&a<i;n--)a+=uJe(e,a);return e.substring(r,a)}var dJe={getCodePoints:function(e){for(var t=[],n=0;n<e.length;n+=uJe(e,n))t.push(e.codePointAt(n));return t},getUTF16Length:uJe,hasSurrogateUnit:lJe,isCodeUnitInSurrogateRange:sJe,isSurrogatePair:function(e,t){if(0<=t&&t<e.length||("production"!==go.env.NODE_ENV?aJe(!1,"isSurrogatePair: Invalid index %s for string length %s.",t,e.length):aJe(!1)),t+1===e.length)return!1;var n=e.charCodeAt(t),i=e.charCodeAt(t+1);return 55296<=n&&n<=56319&&56320<=i&&i<=57343},strlen:function(e){if(!lJe(e))return e.length;for(var t=0,n=0;n<e.length;n+=uJe(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 i=Math.abs(n-t);return cJe(e,t=t<n?t:n,i)},substr:cJe},fJe=dJe,pJe=JKe;function hJe(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];var r=0,a="Warning: "+e.replace(/%s/g,(function(){return n[r++]}));"undefined"!=typeof console&&console.error(a);try{throw new Error(a)}catch(e){}}var gJe="production"!==go.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,i=new Array(n>2?n-2:0),r=2;r<n;r++)i[r-2]=arguments[r];hJe.apply(void 0,[t].concat(i))}}:pJe,mJe=gJe,vJe=mJe;var _Je=function(e,t){var n=e.getSelection();"production"!==go.env.NODE_ENV&&vJe(n.isCollapsed(),"moveSelectionBackward should only be called with a collapsed SelectionState");var i=e.getCurrentContent(),r=n.getStartKey(),a=n.getStartOffset(),o=r,s=0;if(t>a){var l=i.getKeyBefore(r);if(null==l)o=r;else o=l,s=i.getBlockForKey(l).getText().length}else s=a-t;return n.merge({focusKey:o,focusOffset:s,isBackward:!0})},bJe=HGe,yJe=yqe("draft_tree_data_support");var wJe=function(e,t,n){var i=e.getSelection(),r=e.getCurrentContent(),a=i,o=i.getAnchorKey(),s=i.getFocusKey(),l=r.getBlockForKey(o);if(yJe&&"forward"===n&&o!==s)return r;if(i.isCollapsed()){if("forward"===n){if(e.isSelectionAtEndOfContent())return r;if(yJe)if(i.getAnchorOffset()===r.getBlockForKey(o).getLength()){var u=r.getBlockForKey(l.nextSibling);if(!u||0===u.getLength())return r}}else if(e.isSelectionAtStartOfContent())return r;if((a=t(e))===i)return r}return bJe.removeRange(r,a,n)},FJe=zUe,kJe=fJe,EJe=_Je,xJe=wJe;var CJe=function(e){var t=xJe(e,(function(e){var t=e.getSelection(),n=e.getCurrentContent(),i=t.getAnchorKey(),r=t.getAnchorOffset(),a=n.getBlockForKey(i).getText()[r-1];return EJe(e,a?kJe.getUTF16Length(a,0):1)}),"backward");if(t===e.getCurrentContent())return e;var n=e.getSelection();return FJe.push(e,t.set("selectionBefore",n),n.isCollapsed()?"backspace-character":"remove-range")},SJe=HGe,DJe=bWe,PJe=zUe,AJe=WWe.notEmptyKey,TJe=oWe,LJe=CJe,IJe=gUe,MJe=XHe.isEngine("Gecko");var jJe=function(e,t){void 0!==e._pendingStateFromBeforeInput&&(e.update(e._pendingStateFromBeforeInput),e._pendingStateFromBeforeInput=void 0);var n=e.editor.ownerDocument.defaultView.getSelection(),i=n.anchorNode,r=n.isCollapsed,a=(null==i?void 0:i.nodeType)!==Node.TEXT_NODE&&(null==i?void 0:i.nodeType)!==Node.ELEMENT_NODE;if(null!=i&&!a){if(i.nodeType===Node.TEXT_NODE&&(null!==i.previousSibling||null!==i.nextSibling)){var o=i.parentNode;if(null==o)return;i.nodeValue=o.textContent;for(var s=o.firstChild;null!=s;s=s.nextSibling)s!==i&&o.removeChild(s)}var l=i.textContent,u=e._latestEditorState,c=IJe(TJe(i)),d=DJe.decode(c),f=d.blockKey,p=d.decoratorKey,h=d.leafKey,g=u.getBlockTree(f).getIn([p,"leaves",h]),m=g.start,v=g.end,_=u.getCurrentContent(),b=_.getBlockForKey(f),y=b.getText().slice(m,v);if(l.endsWith("\n\n")&&(l=l.slice(0,-1)),l!==y){var w,F,k,E,x=u.getSelection(),C=x.merge({anchorOffset:m,focusOffset:v,isBackward:!1}),S=b.getEntityAt(m),D=AJe(S)?_.getEntity(S):null,P="MUTABLE"===(null!=D?D.getMutability():null),A=P?"spellcheck-change":"apply-entity",T=SJe.replaceText(_,C,l,b.getInlineStyleAt(m),P?b.getEntityAt(m):null);if(MJe)w=n.anchorOffset,F=n.focusOffset,E=(k=m+Math.min(w,F))+Math.abs(w-F),w=k,F=E;else{var L=l.length-y.length;k=x.getStartOffset(),E=x.getEndOffset(),w=r?E+L:k,F=E+L}var I=T.merge({selectionBefore:_.getSelectionAfter(),selectionAfter:x.merge({anchorOffset:w,focusOffset:F})});e.update(PJe.push(u,I,A))}else{var M=t.nativeEvent.inputType;if(M){var j=function(e,t){return"deleteContentBackward"===e?LJe(t):t}(M,u);if(j!==u)return e.restoreEditorDOM(),void e.update(j)}}}},NJe=yWe;var RJe=function(e){return e.which===NJe.RETURN&&(e.getModifierState("Shift")||e.getModifierState("Alt")||e.getModifierState("Control"))},OJe=RJe,zJe=XHe.isPlatform("Mac OS X"),BJe={isCtrlKeyCommand:function(e){return!!e.ctrlKey&&!e.altKey},isOptionKeyCommand:function(e){return zJe&&e.altKey},usesMacOSHeuristics:function(){return zJe},hasCommandModifier:function(e){return zJe?!!e.metaKey&&!e.altKey:BJe.isCtrlKeyCommand(e)},isSoftNewlineEvent:OJe},GJe=BJe,qJe=HGe,UJe=zUe,HJe=WBe,WJe=gUe,YJe=null,VJe={cut:function(e){var t=e.getCurrentContent(),n=e.getSelection(),i=null;if(n.isCollapsed()){var r=n.getAnchorKey(),a=t.getBlockForKey(r).getLength();if(a===n.getAnchorOffset()){var o=t.getKeyAfter(r);if(null==o)return e;i=n.set("focusKey",o).set("focusOffset",0)}else i=n.set("focusOffset",a)}else i=n;i=WJe(i),YJe=HJe(t,i);var s=qJe.removeRange(t,i,"forward");return s===t?e:UJe.push(e,s,"remove-range")},paste:function(e){if(!YJe)return e;var t=qJe.replaceWithFragment(e.getCurrentContent(),e.getSelection(),YJe);return UJe.push(e,t,"insert-fragment")}},KJe=kBe;var QJe=XHe.isBrowser("Chrome")?function(e){for(var t=e.cloneRange(),n=[],i=e.endContainer;null!=i;i=i.parentNode){var r=i===e.commonAncestorContainer;r?t.setStart(e.startContainer,e.startOffset):t.setStart(t.endContainer,0);var a,o=Array.from(t.getClientRects());if(n.push(o),r)return n.reverse(),(a=[]).concat.apply(a,n);t.setEndBefore(i)}"production"!==go.env.NODE_ENV?KJe(!1,"Found an unexpected detached subtree when getting range client rects."):KJe(!1)}:function(e){return Array.from(e.getClientRects())},JJe=fJe,ZJe=eWe,$Je=QJe,XJe=kBe;function eZe(e,t){for(var n=1/0,i=1/0,r=-1/0,a=-1/0,o=0;o<e.length;o++){var s=e[o];0!==s.width&&1!==s.width&&(n=Math.min(n,s.top),i=Math.min(i,s.bottom),r=Math.max(r,s.top),a=Math.max(a,s.bottom))}return r<=i&&r-n<t&&a-i<t}function tZe(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 nZe=zUe,iZe=function(e){e.collapsed||("production"!==go.env.NODE_ENV?XJe(!1,"expandRangeToStartOfLine: Provided range is not collapsed."):XJe(!1));var t=(e=e.cloneRange()).startContainer;1!==t.nodeType&&(t=t.parentNode);var n=function(e){var t=getComputedStyle(e),n=ZJe(e),i=n.createElement("div");i.style.fontFamily=t.fontFamily,i.style.fontSize=t.fontSize,i.style.fontStyle=t.fontStyle,i.style.fontWeight=t.fontWeight,i.style.lineHeight=t.lineHeight,i.style.position="absolute",i.textContent="M";var r=n.body;r||("production"!==go.env.NODE_ENV?XJe(!1,"Missing document.body"):XJe(!1)),r.appendChild(i);var a=i.getBoundingClientRect();return r.removeChild(i),a.height}(t),i=e.endContainer,r=e.endOffset;for(e.setStart(e.startContainer,0);eZe($Je(e),n)&&(i=e.startContainer,r=e.startOffset,i.parentNode||("production"!==go.env.NODE_ENV?XJe(!1,"Found unexpected detached subtree when traversing."):XJe(!1)),e.setStartBefore(i),1!==i.nodeType||"inline"===getComputedStyle(i).display););for(var a=i,o=r-1;;){for(var s=a.nodeValue,l=o;l>=0;l--)if(!(null!=s&&l>0&&JJe.isSurrogatePair(s,l-1))){if(e.setStart(a,l),!eZe($Je(e),n))break;i=a,r=l}if(-1===l||0===a.childNodes.length)break;o=tZe(a=a.childNodes[l])}return e.setStart(i,r),e},rZe=RWe,aZe=_Je,oZe=wJe;var sZe=function(e,t){var n=oZe(e,(function(e){var n=e.getSelection();if(n.isCollapsed()&&0===n.getAnchorOffset())return aZe(e,1);var i=t.currentTarget.ownerDocument.defaultView.getSelection().getRangeAt(0);return i=iZe(i),rZe(e,null,i.endContainer,i.endOffset,i.startContainer,i.startOffset).selectionState}),"backward");return n===e.getCurrentContent()?e:nZe.push(e,n,"remove-range")},lZe="\\s|(?![_])"+{getPunctuation:function(){return"[.,+*?$|#{}()'\\^\\-\\[\\]\\\\\\/!@%\"~=<>_:;・、。〈-】〔-〟:-?!-/[-`{-・⸮؟٪-٬؛،؍﴾﴿᠁।၊။‐-‧‰-⁞¡-±´-¸º»¿]"}}.getPunctuation(),uZe=new RegExp("^(?:"+lZe+")*(?:"+"['‘’]|(?!"+lZe+").)*(?:(?!"+lZe+").)"),cZe=new RegExp("(?:(?!"+lZe+").)(?:"+"['‘’]|(?!"+lZe+").)*(?:"+lZe+")*$");function dZe(e,t){var n=t?cZe.exec(e):uZe.exec(e);return n?n[0]:e}var fZe={getBackward:function(e){return dZe(e,!0)},getForward:function(e){return dZe(e,!1)}},pZe=fZe,hZe=zUe,gZe=_Je,mZe=wJe;var vZe=mJe;var _Ze=function(e,t){var n=e.getSelection();"production"!==go.env.NODE_ENV&&vZe(n.isCollapsed(),"moveSelectionForward should only be called with a collapsed SelectionState");var i,r=n.getStartKey(),a=n.getStartOffset(),o=e.getCurrentContent(),s=r;return t>o.getBlockForKey(r).getText().length-a?(s=o.getKeyAfter(r),i=0):i=a+t,n.merge({focusKey:s,focusOffset:i})},bZe=fZe,yZe=zUe,wZe=_Ze,FZe=wJe;var kZe=HGe,EZe=zUe;var xZe=zUe;var CZe=zUe;var SZe=zUe,DZe=fJe,PZe=_Ze,AZe=wJe;var TZe=HGe,LZe=zUe,IZe=WBe;var MZe=zUe;var jZe=function(e,t,n){var i=MZe.undo(t);if("spellcheck-change"!==t.getLastChangeType())e.preventDefault(),t.getNativelyRenderedContent()?(n(MZe.set(t,{nativelyRenderedContent:null})),setTimeout((function(){n(i)}),0)):n(i);else{var r=i.getCurrentContent();n(MZe.set(i,{nativelyRenderedContent:r}))}},NZe=HGe,RZe=zUe,OZe=yWe,zZe=VJe,BZe=XHe,GZe=uQe,qZe=sZe,UZe=function(e){var t=mZe(e,(function(e){var t=e.getSelection(),n=t.getStartOffset();if(0===n)return gZe(e,1);var i=t.getStartKey(),r=e.getCurrentContent().getBlockForKey(i).getText().slice(0,n),a=pZe.getBackward(r);return gZe(e,a.length||1)}),"backward");return t===e.getCurrentContent()?e:hZe.push(e,t,"remove-range")},HZe=function(e){var t=FZe(e,(function(e){var t=e.getSelection(),n=t.getStartOffset(),i=t.getStartKey(),r=e.getCurrentContent().getBlockForKey(i).getText().slice(n),a=bZe.getForward(r);return wZe(e,a.length||1)}),"forward");return t===e.getCurrentContent()?e:yZe.push(e,t,"remove-range")},WZe=function(e){var t=kZe.splitBlock(e.getCurrentContent(),e.getSelection());return EZe.push(e,t,"split-block")},YZe=function(e){var t=e.getSelection(),n=t.getEndKey(),i=e.getCurrentContent().getBlockForKey(n).getLength();return xZe.set(e,{selection:t.merge({anchorKey:n,anchorOffset:i,focusKey:n,focusOffset:i,isBackward:!1}),forceSelection:!0})},VZe=function(e){var t=e.getSelection(),n=t.getStartKey();return CZe.set(e,{selection:t.merge({anchorKey:n,anchorOffset:0,focusKey:n,focusOffset:0,isBackward:!1}),forceSelection:!0})},KZe=CJe,QZe=function(e){var t=AZe(e,(function(e){var t=e.getSelection(),n=e.getCurrentContent(),i=t.getAnchorKey(),r=t.getAnchorOffset(),a=n.getBlockForKey(i).getText()[r];return PZe(e,a?DZe.getUTF16Length(a,0):1)}),"forward");if(t===e.getCurrentContent())return e;var n=e.getSelection();return SZe.push(e,t.set("selectionBefore",n),n.isCollapsed()?"delete-character":"remove-range")},JZe=function(e){var t=e.getSelection();if(!t.isCollapsed())return e;var n=t.getAnchorOffset();if(0===n)return e;var i,r,a=t.getAnchorKey(),o=e.getCurrentContent(),s=o.getBlockForKey(a).getLength();if(s<=1)return e;n===s?(i=t.set("anchorOffset",n-1),r=t):r=(i=t.set("focusOffset",n+1)).set("anchorOffset",n+1);var l=IZe(o,i),u=TZe.removeRange(o,i,"backward"),c=u.getSelectionAfter(),d=c.getAnchorOffset()-1,f=c.merge({anchorOffset:d,focusOffset:d}),p=TZe.replaceWithFragment(u,f,l),h=LZe.push(e,p,"insert-fragment");return LZe.acceptSelection(h,r)},ZZe=jZe,$Ze=GJe.isOptionKeyCommand,XZe=BZe.isBrowser("Chrome");var e$e=function(e,t){var n=t.which,i=e._latestEditorState;function r(n){var i=e.props[n];return!!i&&(i(t),!0)}switch(n){case OZe.RETURN:if(t.preventDefault(),e.props.handleReturn&&GZe(e.props.handleReturn(t,i)))return;break;case OZe.ESC:if(t.preventDefault(),r("onEscape"))return;break;case OZe.TAB:if(r("onTab"))return;break;case OZe.UP:if(r("onUpArrow"))return;break;case OZe.RIGHT:if(r("onRightArrow"))return;break;case OZe.DOWN:if(r("onDownArrow"))return;break;case OZe.LEFT:if(r("onLeftArrow"))return;break;case OZe.SPACE:XZe&&$Ze(t)&&t.preventDefault()}var a=e.props.keyBindingFn(t);if(null!=a&&""!==a)if("undo"!==a){if(t.preventDefault(),!e.props.handleKeyCommand||!GZe(e.props.handleKeyCommand(a,i,t.timeStamp))){var o=function(e,t,n){switch(e){case"redo":return RZe.redo(t);case"delete":return QZe(t);case"delete-word":return HZe(t);case"backspace":return KZe(t);case"backspace-word":return UZe(t);case"backspace-to-start-of-line":return qZe(t,n);case"split-block":return WZe(t);case"transpose-characters":return JZe(t);case"move-selection-to-start-of-block":return VZe(t);case"move-selection-to-end-of-block":return YZe(t);case"secondary-cut":return zZe.cut(t);case"secondary-paste":return zZe.paste(t);default:return t}}(a,i,t);o!==i&&e.update(o)}}else ZZe(t,i,e.update);else if(n===OZe.SPACE&&XZe&&$Ze(t)){var s=NZe.replaceText(i.getCurrentContent(),i.getSelection()," ");e.update(RZe.push(i,s,"insert-characters"))}};var t$e=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}(),n$e=t$e,i$e=kBe,r$e=XHe.isBrowser("IE <= 9");var a$e=function(e){var t,n=null;return!r$e&&document.implementation&&document.implementation.createHTMLDocument&&((t=document.implementation.createHTMLDocument("foo")).documentElement||("production"!==go.env.NODE_ENV?i$e(!1,"Missing doc.documentElement"):i$e(!1)),t.documentElement.innerHTML=e,n=t.getElementsByTagName("body")[0]),n},o$e=tWe;var s$e=function(e){return!(!e||!e.ownerDocument)&&(o$e(e)&&"A"===e.nodeName)},l$e=tWe;var u$e,c$e=function(e){return!(!e||!e.ownerDocument)&&(l$e(e)&&"IMG"===e.nodeName)};function d$e(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){f$e(e,t,n[t])}))}return e}function f$e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var p$e=Nze,h$e=Zze,g$e=fBe,m$e=_He,v$e=vqe,_$e=n$e,b$e=gHe,y$e=IBe,w$e=a$e,F$e=yqe,k$e=kze.exports,E$e=k$e.List,x$e=k$e.Map,C$e=k$e.OrderedSet,S$e=s$e,D$e=CYe,P$e=FWe,A$e=c$e,T$e=F$e("draft_tree_data_support"),L$e=new RegExp("\r","g"),I$e=new RegExp("\n","g"),M$e=new RegExp("^\n","g"),j$e=new RegExp("&nbsp;","g"),N$e=new RegExp("&#13;?","g"),R$e=new RegExp("&#8203;?","g"),O$e=["bold","bolder","500","600","700","800","900"],z$e=["light","lighter","normal","100","200","300","400"],B$e=["className","href","rel","target","title"],G$e=["alt","className","height","src","width"],q$e=(f$e(u$e={},b$e("public/DraftStyleDefault/depth0"),0),f$e(u$e,b$e("public/DraftStyleDefault/depth1"),1),f$e(u$e,b$e("public/DraftStyleDefault/depth2"),2),f$e(u$e,b$e("public/DraftStyleDefault/depth3"),3),f$e(u$e,b$e("public/DraftStyleDefault/depth4"),4),u$e),U$e=x$e({b:"BOLD",code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",i:"ITALIC",s:"STRIKETHROUGH",strike:"STRIKETHROUGH",strong:"BOLD",u:"UNDERLINE",mark:"HIGHLIGHT"}),H$e=function(e){var t={};return e.mapKeys((function(e,n){var i=[n.element];void 0!==n.aliasedElements&&i.push.apply(i,n.aliasedElements),i.forEach((function(n){void 0===t[n]?t[n]=e:"string"==typeof t[n]?t[n]=[t[n],e]:t[n].push(e)}))})),x$e(t)},W$e=function(e){if(P$e(e)&&e.style.fontFamily.includes("monospace"))return"CODE";return null},Y$e=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Object.keys(q$e).some((function(n){e.classList.contains(n)&&(t=q$e[n])})),t},V$e=function(e){if(!S$e(e))return!1;var t=e;return!(!t.href||"http:"!==t.protocol&&"https:"!==t.protocol&&"mailto:"!==t.protocol&&"tel:"!==t.protocol)},K$e=function(e){if(!A$e(e))return!1;var t=e;return!(!t.attributes.getNamedItem("src")||!t.attributes.getNamedItem("src").value)},Q$e=function(e,t){if(!P$e(e))return t;var n=e,i=n.style.fontWeight,r=n.style.fontStyle,a=n.style.textDecoration;return t.withMutations((function(e){O$e.indexOf(i)>=0?e.add("BOLD"):z$e.indexOf(i)>=0&&e.remove("BOLD"),"italic"===r?e.add("ITALIC"):"normal"===r&&e.remove("ITALIC"),"underline"===a&&e.add("UNDERLINE"),"line-through"===a&&e.add("STRIKETHROUGH"),"none"===a&&(e.remove("UNDERLINE"),e.remove("STRIKETHROUGH"))}))},J$e=function(e){return"ul"===e||"ol"===e},Z$e=function(){function e(e,t){f$e(this,"characterList",E$e()),f$e(this,"currentBlockType","unstyled"),f$e(this,"currentDepth",0),f$e(this,"currentEntity",null),f$e(this,"currentText",""),f$e(this,"wrapper",null),f$e(this,"blockConfigs",[]),f$e(this,"contentBlocks",[]),f$e(this,"entityMap",v$e),f$e(this,"blockTypeMap",void 0),f$e(this,"disambiguate",void 0),this.clear(),this.blockTypeMap=e,this.disambiguate=t}var t=e.prototype;return t.clear=function(){this.characterList=E$e(),this.blockConfigs=[],this.currentBlockType="unstyled",this.currentDepth=0,this.currentEntity=null,this.currentText="",this.entityMap=v$e,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],C$e())),this._trimCurrentText(),""!==this.currentText&&this.blockConfigs.push(this._makeBlockConfig()),this},t.getContentBlocks=function(){return 0===this.contentBlocks.length&&(T$e?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||y$e(),n=d$e({key:t,type:this.currentBlockType,text:this.currentText,characterList:this.characterList,depth:this.currentDepth,parent:null,children:E$e(),prevSibling:null,nextSibling:null,childConfigs:[]},e);return this.characterList=E$e(),this.currentBlockType="unstyled",this.currentText="",n},t._toBlockConfigs=function(e,t){for(var n=[],i=0;i<e.length;i++){var r=e[i],a=r.nodeName.toLowerCase();if("body"===a||J$e(a)){this._trimCurrentText(),""!==this.currentText&&n.push(this._makeBlockConfig());var o=this.currentDepth,s=this.wrapper;J$e(a)&&(this.wrapper=a,J$e(s)&&this.currentDepth++),n.push.apply(n,this._toBlockConfigs(Array.from(r.childNodes),t)),this.currentDepth=o,this.wrapper=s}else{var l=this.blockTypeMap.get(a);if(void 0===l)if("#text"!==a)if("br"!==a)if(K$e(r))this._addImgNode(r,t);else if(V$e(r))this._addAnchorNode(r,n,t);else{var u=t;U$e.has(a)&&(u=u.add(U$e.get(a))),u=Q$e(r,u);var c=W$e(r);null!=c&&(u=u.add(c)),n.push.apply(n,this._toBlockConfigs(Array.from(r.childNodes),u))}else this._addBreakNode(r,t);else this._addTextNode(r,t);else{this._trimCurrentText(),""!==this.currentText&&n.push(this._makeBlockConfig());var d=this.currentDepth,f=this.wrapper;if(this.wrapper="pre"===a?"pre":this.wrapper,"string"!=typeof l&&(l=this.disambiguate(a,this.wrapper)||l[0]||"unstyled"),!T$e&&P$e(r)&&("unordered-list-item"===l||"ordered-list-item"===l)){var p=r;this.currentDepth=Y$e(p,this.currentDepth)}var h=y$e(),g=this._toBlockConfigs(Array.from(r.childNodes),t);this._trimCurrentText(),n.push(this._makeBlockConfig({key:h,childConfigs:g,type:l})),this.currentDepth=d,this.wrapper=f}}}return n},t._appendText=function(e,t){var n;this.currentText+=e;var i=p$e.create({style:t,entity:this.currentEntity});this.characterList=(n=this.characterList).push.apply(n,Array(e.length).fill(i))},t._trimCurrentText=function(){var e=this.currentText.length,t=e-this.currentText.trimLeft().length,n=this.currentText.trimRight().length,i=this.characterList.findEntry((function(e){return null!==e.getEntity()}));(t=void 0!==i?Math.min(t,i[0]):t)>(n=void 0!==(i=this.characterList.reverse().findEntry((function(e){return null!==e.getEntity()})))?Math.max(n,e-i[0]):n)?(this.currentText="",this.characterList=E$e()):(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(M$e,"")).replace(I$e," ")),this._appendText(n,t)},t._addBreakNode=function(e,t){D$e(e)&&this._appendText("\n",t)},t._addImgNode=function(e,t){if(A$e(e)){var n=e,i={};G$e.forEach((function(e){var t=n.getAttribute(e);t&&(i[e]=t)})),this.currentEntity=this.entityMap.__create("IMAGE","IMMUTABLE",i),F$e("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(S$e(e)){var i=e,r={};B$e.forEach((function(e){var t=i.getAttribute(e);t&&(r[e]=t)})),r.url=new _$e(i.href).toString(),this.currentEntity=this.entityMap.__create("LINK","MUTABLE",r||{}),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,i=0;i<=n;i++){var r=e[i];r.parent=t,r.prevSibling=i>0?e[i-1].key:null,r.nextSibling=i<n?e[i+1].key:null,r.children=E$e(r.childConfigs.map((function(e){return e.key}))),this.contentBlocks.push(new g$e(d$e({},r))),this._toContentBlocks(r.childConfigs,r.key)}},t._hoistContainersInBlockConfigs=function(e){var t=this;return E$e(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),i=n.text,r=n.characterList;t.contentBlocks.push(new h$e(d$e({},e,{text:e.text+i,characterList:e.characterList.concat(r)})))}))},t._extractTextFromBlockConfigs=function(e){for(var t=e.length-1,n="",i=E$e(),r=0;r<=t;r++){var a=e[r];n+=a.text,i=i.concat(a.characterList),""!==n&&"unstyled"!==a.type&&(n+="\n",i=i.push(i.last()));var o=this._extractTextFromBlockConfigs(a.childConfigs);n+=o.text,i=i.concat(o.characterList)}return{text:n,characterList:i}},e}(),$$e=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:w$e,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:m$e,i=t(e=e.trim().replace(L$e,"").replace(j$e," ").replace(N$e,"").replace(R$e,""));if(!i)return null;var r=H$e(n),a=function(e,t){return"li"===e?"ol"===t?"ordered-list-item":"unordered-list-item":null};return new Z$e(r,a).addDOMNode(i).getContentBlocks()};function X$e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var eXe=Zze,tXe=fBe,nXe=$$e,iXe=IBe,rXe=a$e,aXe=yqe,oXe=kze.exports,sXe=Fqe,lXe=oXe.List,uXe=oXe.Repeat,cXe=aXe("draft_tree_data_support"),dXe=cXe?tXe:eXe,fXe={processHTML:function(e,t){return nXe(e,rXe,t)},processText:function(e,t,n){return e.reduce((function(e,i,r){i=sXe(i);var a=iXe(),o={key:a,type:n,text:i,characterList:lXe(uXe(t,i.length))};if(cXe&&0!==r){var s=r-1;o=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){X$e(e,t,n[t])}))}return e}({},o,{prevSibling:(e[s]=e[s].merge({nextSibling:a})).getKey()})}return e.push(new dXe(o)),e}),[])}};var pXe=function(e,t,n,i){var r=t.getStartKey(),a=t.getEndKey(),o=e.getBlockMap(),s=o.toSeq().skipUntil((function(e,t){return t===r})).takeUntil((function(e,t){return t===a})).concat([[a,o.get(a)]]).map((function(e){var t=e.getDepth()+n;return t=Math.max(0,Math.min(t,i)),e.set("depth",t)}));return o=o.merge(s),e.merge({blockMap:o,selectionBefore:t,selectionAfter:t})},hXe=HGe,gXe=zUe,mXe=pXe,vXe=gUe,_Xe={currentBlockContainsLink:function(e){var t=e.getSelection(),n=e.getCurrentContent(),i=n.getEntityMap();return n.getBlockForKey(t.getAnchorKey()).getCharacterList().slice(t.getStartOffset(),t.getEndOffset()).some((function(e){var t=e.getEntity();return!!t&&"LINK"===i.__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 _Xe.toggleInlineStyle(e,"BOLD");case"italic":return _Xe.toggleInlineStyle(e,"ITALIC");case"underline":return _Xe.toggleInlineStyle(e,"UNDERLINE");case"code":return _Xe.toggleCode(e);case"backspace":case"backspace-word":case"backspace-to-start-of-line":return _Xe.onBackspace(e);case"delete":case"delete-word":case"delete-to-end-of-block":return _Xe.onDelete(e);default:return null}},insertSoftNewline:function(e){var t=hXe.insertText(e.getCurrentContent(),e.getSelection(),"\n",e.getCurrentInlineStyle(),null),n=gXe.push(e,t,"insert-characters");return gXe.forceSelection(n,t.getSelectionAfter())},onBackspace:function(e){var t=e.getSelection();if(!t.isCollapsed()||t.getAnchorOffset()||t.getFocusOffset())return null;var n=e.getCurrentContent(),i=t.getStartKey(),r=n.getBlockBefore(i);if(r&&"atomic"===r.getType()){var a=n.getBlockMap().delete(r.getKey()),o=n.merge({blockMap:a,selectionAfter:t});if(o!==n)return gXe.push(e,o,"remove-range")}var s=_Xe.tryToRemoveBlockStyle(e);return s?gXe.push(e,s,"change-block-type"):null},onDelete:function(e){var t=e.getSelection();if(!t.isCollapsed())return null;var n=e.getCurrentContent(),i=t.getStartKey(),r=n.getBlockForKey(i).getLength();if(t.getStartOffset()<r)return null;var a=n.getBlockAfter(i);if(!a||"atomic"!==a.getType())return null;var o=t.merge({focusKey:a.getKey(),focusOffset:a.getLength()}),s=hXe.removeRange(n,o,"forward");return s!==n?gXe.push(e,s,"remove-range"):null},onTab:function(e,t,n){var i=t.getSelection(),r=i.getAnchorKey();if(r!==i.getFocusKey())return t;var a=t.getCurrentContent(),o=a.getBlockForKey(r),s=o.getType();if("unordered-list-item"!==s&&"ordered-list-item"!==s)return t;e.preventDefault();var l=o.getDepth();if(!e.shiftKey&&l===n)return t;var u=mXe(a,i,e.shiftKey?-1:1,n);return gXe.push(t,u,"adjust-depth")},toggleBlockType:function(e,t){var n=e.getSelection(),i=n.getStartKey(),r=n.getEndKey(),a=e.getCurrentContent(),o=n;if(i!==r&&0===n.getEndOffset()){var s=vXe(a.getBlockBefore(r));r=s.getKey(),o=o.merge({anchorKey:i,anchorOffset:n.getStartOffset(),focusKey:r,focusOffset:s.getLength(),isBackward:!1})}if(a.getBlockMap().skipWhile((function(e,t){return t!==i})).reverse().skipWhile((function(e,t){return t!==r})).some((function(e){return"atomic"===e.getType()})))return e;var l=a.getBlockForKey(i).getType()===t?"unstyled":t;return gXe.push(e,hXe.setBlockType(a,o,l),"change-block-type")},toggleCode:function(e){var t=e.getSelection(),n=t.getAnchorKey(),i=t.getFocusKey();return t.isCollapsed()||n!==i?_Xe.toggleBlockType(e,"code-block"):_Xe.toggleInlineStyle(e,"CODE")},toggleInlineStyle:function(e,t){var n=e.getSelection(),i=e.getCurrentInlineStyle();if(n.isCollapsed())return gXe.setInlineStyleOverride(e,i.has(t)?i.remove(t):i.add(t));var r,a=e.getCurrentContent();return r=i.has(t)?hXe.removeInlineStyle(a,n,t):hXe.applyInlineStyle(a,n,t),gXe.push(e,r,"change-inline-style")},toggleLink:function(e,t,n){var i=hXe.applyEntity(e.getCurrentContent(),t,n);return gXe.push(e,i,"apply-entity")},tryToRemoveBlockStyle:function(e){var t=e.getSelection(),n=t.getAnchorOffset();if(t.isCollapsed()&&0===n){var i=t.getAnchorKey(),r=e.getCurrentContent(),a=r.getBlockForKey(i).getType(),o=r.getBlockBefore(i);if("code-block"===a&&o&&"code-block"===o.getType()&&0!==o.getLength())return null;if("unstyled"!==a)return hXe.setBlockType(r,t,"unstyled")}return null}},bXe=_Xe,yXe=/\r\n?|\n/g;var wXe=Cze,FXe=Nze,kXe=rQe,EXe=HGe,xXe=fXe,CXe=zUe,SXe=bXe,DXe=KWe,PXe=lQe,AXe=uQe,TXe=function(e){return e.split(yXe)};function LXe(e,t,n){var i=EXe.replaceWithFragment(e.getCurrentContent(),e.getSelection(),t);return CXe.push(e,i.set("entityMap",n),"insert-fragment")}var IXe=function(e,t){t.preventDefault();var n=new kXe(t.clipboardData);if(!n.isRichText()){var i=n.getFiles(),r=n.getText();if(i.length>0){if(e.props.handlePastedFiles&&AXe(e.props.handlePastedFiles(i)))return;return void PXe(i,(function(t){if(t=t||r){var n=e._latestEditorState,i=TXe(t),a=FXe.create({style:n.getCurrentInlineStyle(),entity:DXe(n.getCurrentContent(),n.getSelection())}),o=SXe.getCurrentBlockType(n),s=xXe.processText(i,a,o),l=wXe.createFromArray(s),u=EXe.replaceWithFragment(n.getCurrentContent(),n.getSelection(),l);e.update(CXe.push(n,u,"insert-fragment"))}}))}}var a=[],o=n.getText(),s=n.getHTML(),l=e._latestEditorState;if(!e.props.handlePastedText||!AXe(e.props.handlePastedText(o,s,l))){if(o&&(a=TXe(o)),!e.props.stripPastedStyles){var u=e.getClipboard();if(n.isRichText()&&u){if(-1!==s.indexOf(e.getEditorKey())||1===a.length&&1===u.size&&u.first().getText()===o)return void e.update(LXe(e._latestEditorState,u))}else if(u&&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]}))}(a,u))return void e.update(LXe(e._latestEditorState,u));if(s){var c=xXe.processHTML(s,e.props.blockRenderMap);if(c){var d=c.contentBlocks,f=c.entityMap;if(d){var p=wXe.createFromArray(d);return void e.update(LXe(e._latestEditorState,p,f))}}}e.setClipboard(null)}if(a.length){var h=FXe.create({style:l.getCurrentInlineStyle(),entity:DXe(l.getCurrentContent(),l.getSelection())}),g=SXe.getCurrentBlockType(l),m=xXe.processText(a,h,g),v=wXe.createFromArray(m);e.update(LXe(e._latestEditorState,v))}}},MXe=XHe,jXe=jQe,NXe=zQe,RXe=GQe,OXe=WQe,zXe=XQe,BXe=eJe,GXe=tJe,qXe=rJe,UXe=jJe,HXe=e$e,WXe=IXe,YXe=HWe,VXe=MXe.isBrowser("Chrome"),KXe=MXe.isBrowser("Firefox"),QXe=VXe||KXe?YXe:function(e){},JXe={onBeforeInput:jXe,onBlur:NXe,onCompositionStart:RXe,onCopy:OXe,onCut:zXe,onDragOver:BXe,onDragStart:GXe,onFocus:qXe,onInput:UXe,onKeyDown:HXe,onPaste:WXe,onSelect:YXe,onMouseUp:QXe,onKeyUp:QXe},ZXe=b.default.unstable_flushControlled;var $Xe=m.default,XXe=gHe,e0e=function(e){var t,n;function i(){return e.apply(this,arguments)||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=i.prototype;return r.shouldComponentUpdate=function(e){return this.props.text!==e.text||this.props.editorState.getSelection().getHasFocus()!==e.editorState.getSelection().getHasFocus()},r.render=function(){var e=this.props.editorState.getSelection().getHasFocus(),t=XXe({"public/DraftEditorPlaceholder/root":!0,"public/DraftEditorPlaceholder/hasFocus":e});return $Xe.createElement("div",{className:t},$Xe.createElement("div",{className:XXe("public/DraftEditorPlaceholder/inner"),id:this.props.accessibilityID,style:{whiteSpace:"pre-wrap"}},this.props.text))},i}($Xe.Component),t0e=e0e,n0e=GJe,i0e=yWe,r0e=XHe,a0e=r0e.isPlatform("Mac OS X"),o0e=a0e&&r0e.isBrowser("Firefox < 29"),s0e=n0e.hasCommandModifier,l0e=n0e.isCtrlKeyCommand;function u0e(e){return a0e&&e.altKey||l0e(e)}var c0e=function(e){switch(e.keyCode){case 66:return s0e(e)?"bold":null;case 68:return l0e(e)?"delete":null;case 72:return l0e(e)?"backspace":null;case 73:return s0e(e)?"italic":null;case 74:return s0e(e)?"code":null;case 75:return a0e&&l0e(e)?"secondary-cut":null;case 77:case 79:return l0e(e)?"split-block":null;case 84:return a0e&&l0e(e)?"transpose-characters":null;case 85:return s0e(e)?"underline":null;case 87:return a0e&&l0e(e)?"backspace-word":null;case 89:return l0e(e)?a0e?"secondary-paste":"redo":null;case 90:return function(e){return s0e(e)?e.shiftKey?"redo":"undo":null}(e)||null;case i0e.RETURN:return"split-block";case i0e.DELETE:return function(e){return!a0e&&e.shiftKey?null:u0e(e)?"delete-word":"delete"}(e);case i0e.BACKSPACE:return function(e){return s0e(e)&&a0e?"backspace-to-start-of-line":u0e(e)?"backspace-word":"backspace"}(e);case i0e.LEFT:return o0e&&s0e(e)?"move-selection-to-start-of-block":null;case i0e.RIGHT:return o0e&&s0e(e)?"move-selection-to-end-of-block":null;default:return null}},d0e=_W;function f0e(){return f0e=d0e||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},f0e.apply(this,arguments)}function p0e(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){g0e(e,t,n[t])}))}return e}function h0e(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g0e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function m0e(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var v0e=_He,_0e=bHe,b0e=lYe,y0e=qKe,w0e=kQe,F0e=JXe,k0e=ZXe,E0e=t0e,x0e=zUe,C0e=m.default,S0e=dVe,D0e=yVe,P0e=gHe,A0e=IBe,T0e=c0e,L0e=DVe,I0e=yqe,M0e=kBe,j0e=FWe,N0e=gUe,R0e=XHe.isBrowser("IE"),O0e=!R0e,z0e={edit:F0e,composite:b0e,drag:w0e,cut:null,render:null},B0e=!1,G0e=function(e){function t(){return e.apply(this,arguments)||this}m0e(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}(C0e.Component),q0e=function(e){function t(t){var n;return g0e(h0e(n=e.call(this,t)||this),"_blockSelectEvents",void 0),g0e(h0e(n),"_clipboard",void 0),g0e(h0e(n),"_handler",void 0),g0e(h0e(n),"_dragCount",void 0),g0e(h0e(n),"_internalDrag",void 0),g0e(h0e(n),"_editorKey",void 0),g0e(h0e(n),"_placeholderAccessibilityID",void 0),g0e(h0e(n),"_latestEditorState",void 0),g0e(h0e(n),"_latestCommittedEditorState",void 0),g0e(h0e(n),"_pendingStateFromBeforeInput",void 0),g0e(h0e(n),"_onBeforeInput",void 0),g0e(h0e(n),"_onBlur",void 0),g0e(h0e(n),"_onCharacterData",void 0),g0e(h0e(n),"_onCompositionEnd",void 0),g0e(h0e(n),"_onCompositionStart",void 0),g0e(h0e(n),"_onCopy",void 0),g0e(h0e(n),"_onCut",void 0),g0e(h0e(n),"_onDragEnd",void 0),g0e(h0e(n),"_onDragOver",void 0),g0e(h0e(n),"_onDragStart",void 0),g0e(h0e(n),"_onDrop",void 0),g0e(h0e(n),"_onInput",void 0),g0e(h0e(n),"_onFocus",void 0),g0e(h0e(n),"_onKeyDown",void 0),g0e(h0e(n),"_onKeyPress",void 0),g0e(h0e(n),"_onKeyUp",void 0),g0e(h0e(n),"_onMouseDown",void 0),g0e(h0e(n),"_onMouseUp",void 0),g0e(h0e(n),"_onPaste",void 0),g0e(h0e(n),"_onSelect",void 0),g0e(h0e(n),"editor",void 0),g0e(h0e(n),"editorContainer",void 0),g0e(h0e(n),"focus",void 0),g0e(h0e(n),"blur",void 0),g0e(h0e(n),"setMode",void 0),g0e(h0e(n),"exitCurrentMode",void 0),g0e(h0e(n),"restoreEditorDOM",void 0),g0e(h0e(n),"setClipboard",void 0),g0e(h0e(n),"getClipboard",void 0),g0e(h0e(n),"getEditorKey",void 0),g0e(h0e(n),"update",void 0),g0e(h0e(n),"onDragEnter",void 0),g0e(h0e(n),"onDragLeave",void 0),g0e(h0e(n),"_handleEditorContainerRef",(function(e){n.editorContainer=e,n.editor=null!==e?e.firstChild:null})),g0e(h0e(n),"focus",(function(e){var t=n.props.editorState,i=t.getSelection().getHasFocus(),r=n.editor;if(r){var a=D0e.getScrollParent(r),o=e||L0e(a),s=o.x,l=o.y;j0e(r)||("production"!==go.env.NODE_ENV?M0e(!1,"editorNode is not an HTMLElement"):M0e(!1)),r.focus(),a===window?window.scrollTo(s,l):S0e.setTop(a,l),i||n.update(x0e.forceSelection(t,t.getSelection()))}})),g0e(h0e(n),"blur",(function(){var e=n.editor;e&&(j0e(e)||("production"!==go.env.NODE_ENV?M0e(!1,"editorNode is not an HTMLElement"):M0e(!1)),e.blur())})),g0e(h0e(n),"setMode",(function(e){var t=n.props,i=t.onPaste,r=t.onCut,a=t.onCopy,o=p0e({},z0e.edit);i&&(o.onPaste=i),r&&(o.onCut=r),a&&(o.onCopy=a);var s=p0e({},z0e,{edit:o});n._handler=s[e]})),g0e(h0e(n),"exitCurrentMode",(function(){n.setMode("edit")})),g0e(h0e(n),"restoreEditorDOM",(function(e){n.setState({contentsKey:n.state.contentsKey+1},(function(){n.focus(e)}))})),g0e(h0e(n),"setClipboard",(function(e){n._clipboard=e})),g0e(h0e(n),"getClipboard",(function(){return n._clipboard})),g0e(h0e(n),"update",(function(e){n._latestEditorState=e,n.props.onChange(e)})),g0e(h0e(n),"onDragEnter",(function(){n._dragCount++})),g0e(h0e(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||A0e(),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"!==go.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}m0e(t,e);var n=t.prototype;return n._buildHandler=function(e){var t=this;return function(n){if(!t.props.readOnly){var i=t._handler&&t._handler[e];i&&(k0e?k0e((function(){return i(t,n)})):i(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:N0e(this.props.placeholder),editorState:this.props.editorState,textAlignment:this.props.textAlignment,accessibilityID:this._placeholderAccessibilityID};return C0e.createElement(E0e,e)}return null},n.render=function(){var e=this.props,t=e.blockRenderMap,n=e.blockRendererFn,i=e.blockStyleFn,r=e.customStyleFn,a=e.customStyleMap,o=e.editorState,s=e.preventScroll,l=e.readOnly,u=e.textAlignment,c=e.textDirectionality,d=P0e({"DraftEditor/root":!0,"DraftEditor/alignLeft":"left"===u,"DraftEditor/alignRight":"right"===u,"DraftEditor/alignCenter":"center"===u}),f=this.props.role||"textbox",p="combobox"===f?!!this.props.ariaExpanded:null,h={blockRenderMap:t,blockRendererFn:n,blockStyleFn:i,customStyleMap:p0e({},_0e,a),customStyleFn:r,editorKey:this._editorKey,editorState:o,preventScroll:s,textDirectionality:c};return C0e.createElement("div",{className:d},this._renderPlaceholder(),C0e.createElement("div",{className:P0e("DraftEditor/editorContainer"),ref:this._handleEditorContainerRef},C0e.createElement("div",{"aria-activedescendant":l?null:this.props.ariaActiveDescendantID,"aria-autocomplete":l?null:this.props.ariaAutoComplete,"aria-controls":l?null:this.props.ariaControls,"aria-describedby":this.props.ariaDescribedBy||this._placeholderAccessibilityID,"aria-expanded":l?null:p,"aria-label":this.props.ariaLabel,"aria-labelledby":this.props.ariaLabelledBy,"aria-multiline":this.props.ariaMultiline,"aria-owns":l?null:this.props.ariaOwneeID,autoCapitalize:this.props.autoCapitalize,autoComplete:this.props.autoComplete,autoCorrect:this.props.autoCorrect,className:P0e({notranslate:!l,"public/DraftEditor/content":!0}),contentEditable:!l,"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:l?null:f,spellCheck:O0e&&this.props.spellCheck,style:{outline:"none",userSelect:"text",WebkitUserSelect:"text",whiteSpace:"pre-wrap",wordWrap:"break-word"},suppressContentEditableWarning:!0,tabIndex:this.props.tabIndex},C0e.createElement(G0e,{editor:this,editorState:o}),C0e.createElement(y0e,f0e({},h,{key:"contents"+this.state.contentsKey})))))},n.componentDidMount=function(){this._blockSelectEvents=!1,!B0e&&I0e("draft_ods_enabled")&&(B0e=!0),this.setMode("edit"),R0e&&(this.editor?this.editor.ownerDocument.execCommand("AutoUrlDetect",!1,!1):k.execCommand("AutoUrlDetect",!1,!1))},n.componentDidUpdate=function(){this._blockSelectEvents=!1,this._latestEditorState=this.props.editorState,this._latestCommittedEditorState=this.props.editorState},t}(C0e.Component);g0e(q0e,"defaultProps",{blockRenderMap:v0e,blockRendererFn:function(){return null},blockStyleFn:function(){return""},keyBindingFn:T0e,readOnly:!1,spellCheck:!1,stripPastedStyles:!1});var U0e=q0e,H0e=x(Object.freeze({__proto__:null})),W0e={stringify:function(e){return"_"+String(e)},unstringify:function(e){return e.slice(1)}},Y0e=W0e,V0e=fJe.strlen;var K0e=function(e,t){var n=[];return e.findEntityRanges((function(e){return!!e.getEntity()}),(function(i,r){var a=e.getText(),o=e.getEntityAt(i);n.push({offset:V0e(a.slice(0,i)),length:V0e(a.slice(i,r)),key:Number(t[Y0e.stringify(o)])})})),n},Q0e=fJe,J0e=Rze,Z0e=function(e,t){return e===t},$0e=function(e){return!!e},X0e=[];var e1e=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 i=[],r=t.map((function(e){return e.has(n)})).toList();return J0e(r,Z0e,$0e,(function(t,r){var a=e.getText();i.push({offset:Q0e.strlen(a.slice(0,t)),length:Q0e.strlen(a.slice(t,r)),style:n})})),i}(e,t,n)}));return Array.prototype.concat.apply(X0e,n.toJS())};function t1e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var n1e=Zze,i1e=fBe,r1e=W0e,a1e=K0e,o1e=e1e,s1e=kBe,l1e=function(e,t){return{key:e.getKey(),text:e.getText(),type:e.getType(),depth:e.getDepth(),inlineStyleRanges:o1e(e),entityRanges:a1e(e,t),data:e.getData().toObject()}},u1e=function(e,t,n,i){if(e instanceof n1e)n.push(l1e(e,t));else{e instanceof i1e||("production"!==go.env.NODE_ENV?s1e(!1,"block is not a BlockNode"):s1e(!1));var r=e.getParentKey(),a=i[e.getKey()]=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){t1e(e,t,n[t])}))}return e}({},l1e(e,t),{children:[]});r?i[r].children.push(a):n.push(a)}},c1e=function(e){var t={entityMap:{},blocks:[]};return t=function(e,t){var n=t.entityMap,i=[],r={},a={},o=0;return e.getBlockMap().forEach((function(e){e.findEntityRanges((function(e){return null!==e.getEntity()}),(function(t){var i=e.getEntityAt(t),r=r1e.stringify(i);a[r]||(a[r]=i,n[r]="".concat(o),o++)})),u1e(e,n,i,r)})),{blocks:i,entityMap:n}}(e,t),t=function(e,t){var n=t.blocks,i=t.entityMap,r={};return Object.keys(i).forEach((function(t,n){var i=e.getEntity(r1e.unstringify(t));r[n]={type:i.getType(),mutability:i.getMutability(),data:i.getData()}})),{blocks:n,entityMap:r}}(e,t),t};function d1e(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){f1e(e,t,n[t])}))}return e}function f1e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var p1e=IBe,h1e=kBe,g1e=function(e){if(!e||!e.type)return!1;var t=e.type;return"unordered-list-item"===t||"ordered-list-item"===t},m1e={fromRawTreeStateToRawState:function(e){var t=e.blocks,n=[];return Array.isArray(t)||("production"!==go.env.NODE_ENV?h1e(!1,"Invalid raw state"):h1e(!1)),Array.isArray(t)&&t.length?(function(e,t){for(var n=[].concat(e).reverse();n.length;){var i=n.pop();t(i);var r=i.children;Array.isArray(r)||("production"!==go.env.NODE_ENV?h1e(!1,"Invalid tree raw block"):h1e(!1)),n=n.concat([].concat(r.reverse()))}}(t,(function(e){var t=d1e({},e);g1e(e)&&(t.depth=t.depth||0,function(e){Array.isArray(e.children)&&(e.children=e.children.map((function(t){return t.type===e.type?d1e({},t,{depth:(e.depth||0)+1}):t})))}(e),null!=e.children&&e.children.length>0)||(delete t.children,n.push(t))})),e.blocks=n,d1e({},e,{blocks:n})):e},fromRawStateToRawTreeState:function(e){var t=[],n=[];return e.blocks.forEach((function(e){var i=g1e(e),r=e.depth||0,a=d1e({},e,{children:[]});if(i){var o=n[0];if(null==o&&0===r)t.push(a);else if(null==o||o.depth<r-1){var s={key:p1e(),text:"",depth:r-1,type:e.type,children:[],entityRanges:[],inlineStyleRanges:[]};n.unshift(s),1===r?t.push(s):null!=o&&o.children.push(s),s.children.push(a)}else if(o.depth===r-1)o.children.push(a);else{for(;null!=o&&o.depth>=r;)n.shift(),o=n[0];r>0?o.children.push(a):t.push(a)}}else t.push(a)})),d1e({},e,{blocks:t})}},v1e=m1e,_1e=mJe,b1e={isValidBlock:function(e,t){var n=e.getKey(),i=e.getParentKey();if(null!=i&&!t.get(i).getChildKeys().includes(n))return"production"!==go.env.NODE_ENV&&_1e(!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"!==go.env.NODE_ENV&&_1e(!0,"Tree is missing child -> parent pointer on %s",n),!1;var r=e.getPrevSiblingKey();if(null!=r&&t.get(r).getNextSiblingKey()!==n)return"production"!==go.env.NODE_ENV&&_1e(!0,"Tree is missing nextSibling pointer on %s's prevSibling",n),!1;var a=e.getNextSiblingKey();if(null!=a&&t.get(a).getPrevSiblingKey()!==n)return"production"!==go.env.NODE_ENV&&_1e(!0,"Tree is missing prevSibling pointer on %s's nextSibling",n),!1;return null!==a&&null!==r&&r===a?("production"!==go.env.NODE_ENV&&_1e(!0,"Tree has a two-node cycle at %s",n),!1):!(""!=e.text&&e.getChildKeys().size>0)||("production"!==go.env.NODE_ENV&&_1e(!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"!==go.env.NODE_ENV&&_1e(!0,"Tree is not connected. More or less than one first node"),!1;for(var n=0,i=t.shift().getKey(),r=[];null!=i;){var a=e.get(i),o=a.getChildKeys(),s=a.getNextSiblingKey();if(o.size>0){null!=s&&r.unshift(s);var l=o.map((function(t){return e.get(t)})).find((function(e){return null==e.getPrevSiblingKey()}));if(null==l)return"production"!==go.env.NODE_ENV&&_1e(!0,"%s has no first child",i),!1;i=l.getKey()}else i=null!=a.getNextSiblingKey()?a.getNextSiblingKey():r.shift();n++}return n===e.size||("production"!==go.env.NODE_ENV&&_1e(!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)}},y1e=b1e,w1e=Nze,F1e=kze.exports.List;var k1e=function(e,t){var n=e.map((function(e,n){var i=t[n];return w1e.create({style:e,entity:i})}));return F1e(n)},E1e=fJe.substr;var x1e=function(e,t){var n=Array(e.length).fill(null);return t&&t.forEach((function(t){for(var i=E1e(e,0,t.offset).length,r=i+E1e(e,t.offset,t.length).length,a=i;a<r;a++)n[a]=t.key})),n},C1e=fJe,S1e=kze.exports.OrderedSet,D1e=C1e.substr,P1e=S1e();var A1e=function(e,t){var n=Array(e.length).fill(P1e);return t&&t.forEach((function(t){for(var i=D1e(e,0,t.offset).length,r=i+D1e(e,t.offset,t.length).length;i<r;)n[i]=n[i].add(t.style),i++})),n};function T1e(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){L1e(e,t,n[t])}))}return e}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 I1e=Zze,M1e=fBe,j1e=Hqe,N1e=vqe,R1e=v1e,O1e=y1e,z1e=bqe,B1e=k1e,G1e=x1e,q1e=A1e,U1e=IBe,H1e=kze.exports,W1e=kBe,Y1e=yqe("draft_tree_data_support"),V1e=H1e.List,K1e=H1e.Map,Q1e=H1e.OrderedMap,J1e=function(e,t){var n=e.key,i=e.type,r=e.data;return{text:e.text,depth:e.depth||0,type:i||"unstyled",key:n||U1e(),data:K1e(r),characterList:Z1e(e,t)}},Z1e=function(e,t){var n=e.text,i=e.entityRanges,r=e.inlineStyleRanges,a=i||[];return B1e(q1e(n,r||[]),G1e(n,a.filter((function(e){return t.hasOwnProperty(e.key)})).map((function(e){return T1e({},e,{key:t[e.key]})}))))},$1e=function(e){return T1e({},e,{key:e.key||U1e()})},X1e=function(e,t,n){var i=t.map((function(e){return T1e({},e,{parentRef:n})}));return e.concat(i.reverse())},e2e=function(e,t){var n=e.blocks.find((function(e){return Array.isArray(e.children)&&e.children.length>0})),i=Y1e&&!n?R1e.fromRawStateToRawTreeState(e).blocks:e.blocks;if(!Y1e)return function(e,t){return Q1e(e.map((function(e){var n=new I1e(J1e(e,t));return[n.getKey(),n]})))}(n?R1e.fromRawTreeStateToRawState(e).blocks:i,t);var r=function(e,t){return e.map($1e).reduce((function(n,i,r){Array.isArray(i.children)||("production"!==go.env.NODE_ENV?W1e(!1,"invalid RawDraftContentBlock can not be converted to ContentBlockNode"):W1e(!1));var a=i.children.map($1e),o=new M1e(T1e({},J1e(i,t),{prevSibling:0===r?null:e[r-1].key,nextSibling:r===e.length-1?null:e[r+1].key,children:V1e(a.map((function(e){return e.key})))}));n=n.set(o.getKey(),o);for(var s=X1e([],a,o);s.length>0;){var l=s.pop(),u=l.parentRef,c=u.getChildKeys(),d=c.indexOf(l.key),f=Array.isArray(l.children);if(!f){f||("production"!==go.env.NODE_ENV?W1e(!1,"invalid RawDraftContentBlock can not be converted to ContentBlockNode"):W1e(!1));break}var p=l.children.map($1e),h=new M1e(T1e({},J1e(l,t),{parent:u.getKey(),children:V1e(p.map((function(e){return e.key}))),prevSibling:0===d?null:c.get(d-1),nextSibling:d===c.size-1?null:c.get(d+1)}));n=n.set(h.getKey(),h),s=X1e(s,p,h)}return n}),Q1e())}(i,t);return"production"!==go.env.NODE_ENV&&(O1e.isValidTree(r)||("production"!==go.env.NODE_ENV?W1e(!1,"Should be a valid tree"):W1e(!1))),r},t2e=function(e){Array.isArray(e.blocks)||("production"!==go.env.NODE_ENV?W1e(!1,"invalid RawDraftContentState"):W1e(!1));var t=function(e){var t=e.entityMap,n={};return Object.keys(t).forEach((function(e){var i=t[e],r=i.type,a=i.mutability,o=i.data;n[e]=N1e.__create(r,a,o||{})})),n}(e),n=e2e(e,t),i=n.isEmpty()?new z1e:z1e.createEmpty(n.first().getKey());return new j1e({blockMap:n,entityMap:t,selectionBefore:i,selectionAfter:i})},n2e=QJe;var i2e=function(e){var t=n2e(e),n=0,i=0,r=0,a=0;if(t.length){if(t.length>1&&0===t[0].width){var o=t[1];n=o.top,i=o.right,r=o.bottom,a=o.left}else{var s=t[0];n=s.top,i=s.right,r=s.bottom,a=s.left}for(var l=1;l<t.length;l++){var u=t[l];0!==u.height&&0!==u.width&&(n=Math.min(n,u.top),i=Math.max(i,u.right),r=Math.max(r,u.bottom),a=Math.min(a,u.left))}}return{top:n,right:i,bottom:r,left:a,width:i-a,height:r-n}};var r2e={Editor:U0e,EditorBlock:SKe,EditorState:zUe,CompositeDecorator:pHe,Entity:vqe,EntityInstance:sqe,BlockMapBuilder:Cze,CharacterMetadata:Nze,ContentBlock:Zze,ContentState:Hqe,RawDraftContentState:H0e,SelectionState:bqe,AtomicBlockUtils:cHe,KeyBindingUtil:GJe,Modifier:HGe,RichUtils:bXe,DefaultDraftBlockRenderMap:_He,DefaultDraftInlineStyle:bHe,convertFromHTML:$$e,convertFromRaw:t2e,convertToRaw:c1e,genKey:IBe,getDefaultKeyBinding:c0e,getVisibleSelectionRect:function(e){var t=e.getSelection();if(!t.rangeCount)return null;var n=t.getRangeAt(0),i=i2e(n),r=i.top,a=i.right,o=i.bottom,s=i.left;return 0===r&&0===a&&0===o&&0===s?null:i}},a2e=function(e,t){return e.offset===t.offset?t.length-e.length:e.offset-t.offset};function o2e(e){return o2e="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},o2e(e)}m.default.createElement("p",null),m.default.createElement("p",null),m.default.createElement("h1",null),m.default.createElement("h2",null),m.default.createElement("h3",null),m.default.createElement("h4",null),m.default.createElement("h5",null),m.default.createElement("h6",null),m.default.createElement("blockquote",null),m.default.createElement("li",null),m.default.createElement("ul",null),m.default.createElement("li",null),m.default.createElement("figure",null),m.default.createElement("figure",null);var s2e={exports:{}};!function(e,t){e.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 o(e)?e:V(e)}function i(e){return s(e)?e:K(e)}function r(e){return l(e)?e:Q(e)}function a(e){return o(e)&&!u(e)?e:J(e)}function o(e){return!(!e||!e[d])}function s(e){return!(!e||!e[f])}function l(e){return!(!e||!e[p])}function u(e){return s(e)||l(e)}function c(e){return!(!e||!e[h])}t(i,n),t(r,n),t(a,n),n.isIterable=o,n.isKeyed=s,n.isIndexed=l,n.isAssociative=u,n.isOrdered=c,n.Keyed=i,n.Indexed=r,n.Set=a;var d="@@__IMMUTABLE_ITERABLE__@@",f="@@__IMMUTABLE_KEYED__@@",p="@@__IMMUTABLE_INDEXED__@@",h="@@__IMMUTABLE_ORDERED__@@",g="delete",m=5,v=1<<m,_=v-1,b={},y={value:!1},w={value:!1};function F(e){return e.value=!1,e}function k(e){e&&(e.value=!0)}function E(){}function x(e,t){t=t||0;for(var n=Math.max(0,e.length-t),i=new Array(n),r=0;r<n;r++)i[r]=e[r+t];return i}function C(e){return void 0===e.size&&(e.size=e.__iterate(D)),e.size}function S(e,t){if("number"!=typeof t){var n=t>>>0;if(""+n!==t||4294967295===n)return NaN;t=n}return t<0?C(e)+t:t}function D(){return!0}function P(e,t,n){return(0===e||void 0!==n&&e<=-n)&&(void 0===t||void 0!==n&&t>=n)}function A(e,t){return L(e,t,0)}function T(e,t){return L(e,t,t)}function L(e,t,n){return void 0===e?n:e<0?Math.max(0,t+e):void 0===t?e:Math.min(t,e)}var I=0,M=1,j=2,N="function"==typeof Symbol&&Symbol.iterator,R="@@iterator",O=N||R;function z(e){this.next=e}function B(e,t,n,i){var r=0===e?t:1===e?n:[t,n];return i?i.value=r:i={value:r,done:!1},i}function G(){return{value:void 0,done:!0}}function q(e){return!!W(e)}function U(e){return e&&"function"==typeof e.next}function H(e){var t=W(e);return t&&t.call(e)}function W(e){var t=e&&(N&&e[N]||e[R]);if("function"==typeof t)return t}function Y(e){return e&&"number"==typeof e.length}function V(e){return null==e?oe():o(e)?e.toSeq():ue(e)}function K(e){return null==e?oe().toKeyedSeq():o(e)?s(e)?e.toSeq():e.fromEntrySeq():se(e)}function Q(e){return null==e?oe():o(e)?s(e)?e.entrySeq():e.toIndexedSeq():le(e)}function J(e){return(null==e?oe():o(e)?s(e)?e.entrySeq():e:le(e)).toSetSeq()}z.prototype.toString=function(){return"[Iterator]"},z.KEYS=I,z.VALUES=M,z.ENTRIES=j,z.prototype.inspect=z.prototype.toSource=function(){return this.toString()},z.prototype[O]=function(){return this},t(V,n),V.of=function(){return V(arguments)},V.prototype.toSeq=function(){return this},V.prototype.toString=function(){return this.__toString("Seq {","}")},V.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},V.prototype.__iterate=function(e,t){return de(this,e,t,!0)},V.prototype.__iterator=function(e,t){return fe(this,e,t,!0)},t(K,V),K.prototype.toKeyedSeq=function(){return this},t(Q,V),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(J,V),J.of=function(){return J(arguments)},J.prototype.toSetSeq=function(){return this},V.isSeq=ae,V.Keyed=K,V.Set=J,V.Indexed=Q;var Z,$,X,ee="@@__IMMUTABLE_SEQ__@@";function te(e){this._array=e,this.size=e.length}function ne(e){var t=Object.keys(e);this._object=e,this._keys=t,this.size=t.length}function ie(e){this._iterable=e,this.size=e.length||e.size}function re(e){this._iterator=e,this._iteratorCache=[]}function ae(e){return!(!e||!e[ee])}function oe(){return Z||(Z=new te([]))}function se(e){var t=Array.isArray(e)?new te(e).fromEntrySeq():U(e)?new re(e).fromEntrySeq():q(e)?new ie(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 le(e){var t=ce(e);if(!t)throw new TypeError("Expected Array or iterable object of values: "+e);return t}function ue(e){var t=ce(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 ce(e){return Y(e)?new te(e):U(e)?new re(e):q(e)?new ie(e):void 0}function de(e,t,n,i){var r=e._cache;if(r){for(var a=r.length-1,o=0;o<=a;o++){var s=r[n?a-o:o];if(!1===t(s[1],i?s[0]:o,e))return o+1}return o}return e.__iterateUncached(t,n)}function fe(e,t,n,i){var r=e._cache;if(r){var a=r.length-1,o=0;return new z((function(){var e=r[n?a-o:o];return o++>a?G():B(t,i?e[0]:o-1,e[1])}))}return e.__iteratorUncached(t,n)}function pe(e,t){return t?he(t,e,"",{"":e}):ge(e)}function he(e,t,n,i){return Array.isArray(t)?e.call(i,n,Q(t).map((function(n,i){return he(e,n,i,t)}))):me(t)?e.call(i,n,K(t).map((function(n,i){return he(e,n,i,t)}))):t}function ge(e){return Array.isArray(e)?Q(e).map(ge).toList():me(e)?K(e).map(ge).toMap():e}function me(e){return e&&(e.constructor===Object||void 0===e.constructor)}function ve(e,t){if(e===t||e!=e&&t!=t)return!0;if(!e||!t)return!1;if("function"==typeof e.valueOf&&"function"==typeof t.valueOf){if((e=e.valueOf())===(t=t.valueOf())||e!=e&&t!=t)return!0;if(!e||!t)return!1}return!("function"!=typeof e.equals||"function"!=typeof t.equals||!e.equals(t))}function _e(e,t){if(e===t)return!0;if(!o(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)||l(e)!==l(t)||c(e)!==c(t))return!1;if(0===e.size&&0===t.size)return!0;var n=!u(e);if(c(e)){var i=e.entries();return t.every((function(e,t){var r=i.next().value;return r&&ve(r[1],e)&&(n||ve(r[0],t))}))&&i.next().done}var r=!1;if(void 0===e.size)if(void 0===t.size)"function"==typeof e.cacheResult&&e.cacheResult();else{r=!0;var a=e;e=t,t=a}var d=!0,f=t.__iterate((function(t,i){if(n?!e.has(t):r?!ve(t,e.get(i,b)):!ve(e.get(i,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($)return $;$=this}}function ye(e,t){if(!e)throw new Error(t)}function we(e,t,n){if(!(this instanceof we))return new we(e,t,n);if(ye(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 Fe(){throw TypeError("Abstract")}function ke(){}function Ee(){}function xe(){}V.prototype[ee]=!0,t(te,Q),te.prototype.get=function(e,t){return this.has(e)?this._array[S(this,e)]:t},te.prototype.__iterate=function(e,t){for(var n=this._array,i=n.length-1,r=0;r<=i;r++)if(!1===e(n[t?i-r:r],r,this))return r+1;return r},te.prototype.__iterator=function(e,t){var n=this._array,i=n.length-1,r=0;return new z((function(){return r>i?G():B(e,r,n[t?i-r++:r++])}))},t(ne,K),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,i=this._keys,r=i.length-1,a=0;a<=r;a++){var o=i[t?r-a:a];if(!1===e(n[o],o,this))return a+1}return a},ne.prototype.__iterator=function(e,t){var n=this._object,i=this._keys,r=i.length-1,a=0;return new z((function(){var o=i[t?r-a:a];return a++>r?G():B(e,o,n[o])}))},ne.prototype[h]=!0,t(ie,Q),ie.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);var n=H(this._iterable),i=0;if(U(n))for(var r;!(r=n.next()).done&&!1!==e(r.value,i++,this););return i},ie.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=H(this._iterable);if(!U(n))return new z(G);var i=0;return new z((function(){var t=n.next();return t.done?t:B(e,i++,t.value)}))},t(re,Q),re.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);for(var n,i=this._iterator,r=this._iteratorCache,a=0;a<r.length;)if(!1===e(r[a],a++,this))return a;for(;!(n=i.next()).done;){var o=n.value;if(r[a]=o,!1===e(o,a++,this))break}return a},re.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=this._iterator,i=this._iteratorCache,r=0;return new z((function(){if(r>=i.length){var t=n.next();if(t.done)return t;i[r]=t.value}return B(e,r,i[r++])}))},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 P(e,t,n)?this:new be(this._value,T(t,n)-A(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,i=0;return new z((function(){return i<n.size?B(e,i++,n._value):G()}))},be.prototype.equals=function(e){return e instanceof be?ve(this._value,e._value):_e(e)},t(we,Q),we.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(this._step>1?" by "+this._step:"")+" ]"},we.prototype.get=function(e,t){return this.has(e)?this._start+S(this,e)*this._step:t},we.prototype.includes=function(e){var t=(e-this._start)/this._step;return t>=0&&t<this.size&&t===Math.floor(t)},we.prototype.slice=function(e,t){return P(e,t,this.size)?this:(e=A(e,this.size),(t=T(t,this.size))<=e?new we(0,0):new we(this.get(e,this._end),this.get(t,this._end),this._step))},we.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},we.prototype.lastIndexOf=function(e){return this.indexOf(e)},we.prototype.__iterate=function(e,t){for(var n=this.size-1,i=this._step,r=t?this._start+n*i:this._start,a=0;a<=n;a++){if(!1===e(r,a,this))return a+1;r+=t?-i:i}return a},we.prototype.__iterator=function(e,t){var n=this.size-1,i=this._step,r=t?this._start+n*i:this._start,a=0;return new z((function(){var o=r;return r+=t?-i:i,a>n?G():B(e,a++,o)}))},we.prototype.equals=function(e){return e instanceof we?this._start===e._start&&this._end===e._end&&this._step===e._step:_e(this,e)},t(Fe,n),t(ke,Fe),t(Ee,Fe),t(xe,Fe),Fe.Keyed=ke,Fe.Indexed=Ee,Fe.Set=xe;var Ce="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(e,t){var n=65535&(e|=0),i=65535&(t|=0);return n*i+((e>>>16)*i+n*(t>>>16)<<16>>>0)|0};function Se(e){return e>>>1&1073741824|3221225471&e}function De(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 Se(n)}if("string"===t)return e.length>ze?Pe(e):Ae(e);if("function"==typeof e.hashCode)return e.hashCode();if("object"===t)return Te(e);if("function"==typeof e.toString)return Ae(e.toString());throw new Error("Value type "+t+" cannot be hashed.")}function Pe(e){var t=qe[e];return void 0===t&&(t=Ae(e),Ge===Be&&(Ge=0,qe={}),Ge++,qe[e]=t),t}function Ae(e){for(var t=0,n=0;n<e.length;n++)t=31*t+e.charCodeAt(n)|0;return Se(t)}function Te(e){var t;if(Ne&&void 0!==(t=je.get(e)))return t;if(void 0!==(t=e[Oe]))return t;if(!Ie){if(void 0!==(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[Oe]))return t;if(void 0!==(t=Me(e)))return t}if(t=++Re,1073741824&Re&&(Re=0),Ne)je.set(e,t);else{if(void 0!==Le&&!1===Le(e))throw new Error("Non-extensible objects are not allowed as keys.");if(Ie)Object.defineProperty(e,Oe,{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[Oe]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[Oe]=t}}return t}var Le=Object.isExtensible,Ie=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,Ne="function"==typeof WeakMap;Ne&&(je=new WeakMap);var Re=0,Oe="__immutablehash__";"function"==typeof Symbol&&(Oe=Symbol(Oe));var ze=16,Be=255,Ge=0,qe={};function Ue(e){ye(e!==1/0,"Cannot perform this action with an infinite size.")}function He(e){return null==e?rt():We(e)&&!c(e)?e:rt().withMutations((function(t){var n=i(e);Ue(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function We(e){return!(!e||!e[Ve])}t(He,ke),He.prototype.toString=function(){return this.__toString("Map {","}")},He.prototype.get=function(e,t){return this._root?this._root.get(0,void 0,e,t):t},He.prototype.set=function(e,t){return at(this,e,t)},He.prototype.setIn=function(e,t){return this.updateIn(e,b,(function(){return t}))},He.prototype.remove=function(e){return at(this,e,b)},He.prototype.deleteIn=function(e){return this.updateIn(e,(function(){return b}))},He.prototype.update=function(e,t,n){return 1===arguments.length?e(this):this.updateIn([e],t,n)},He.prototype.updateIn=function(e,t,n){n||(n=t,t=void 0);var i=mt(this,Fn(e),t,n);return i===b?void 0:i},He.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):rt()},He.prototype.merge=function(){return ft(this,void 0,arguments)},He.prototype.mergeWith=function(t){return ft(this,t,e.call(arguments,1))},He.prototype.mergeIn=function(t){var n=e.call(arguments,1);return this.updateIn(t,rt(),(function(e){return"function"==typeof e.merge?e.merge.apply(e,n):n[n.length-1]}))},He.prototype.mergeDeep=function(){return ft(this,pt,arguments)},He.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return ft(this,ht(t),n)},He.prototype.mergeDeepIn=function(t){var n=e.call(arguments,1);return this.updateIn(t,rt(),(function(e){return"function"==typeof e.mergeDeep?e.mergeDeep.apply(e,n):n[n.length-1]}))},He.prototype.sort=function(e){return qt(dn(this,e))},He.prototype.sortBy=function(e,t){return qt(dn(this,t,e))},He.prototype.withMutations=function(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this},He.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new E)},He.prototype.asImmutable=function(){return this.__ensureOwner()},He.prototype.wasAltered=function(){return this.__altered},He.prototype.__iterator=function(e,t){return new et(this,e,t)},He.prototype.__iterate=function(e,t){var n=this,i=0;return this._root&&this._root.iterate((function(t){return i++,e(t[1],t[0],n)}),t),i},He.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?it(this.size,this._root,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},He.isMap=We;var Ye,Ve="@@__IMMUTABLE_MAP__@@",Ke=He.prototype;function Qe(e,t){this.ownerID=e,this.entries=t}function Je(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 $e(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 it(e,t,n,i){var r=Object.create(Ke);return r.size=e,r._root=t,r.__ownerID=n,r.__hash=i,r.__altered=!1,r}function rt(){return Ye||(Ye=it(0))}function at(e,t,n){var i,r;if(e._root){var a=F(y),o=F(w);if(i=ot(e._root,e.__ownerID,0,void 0,t,n,a,o),!o.value)return e;r=e.size+(a.value?n===b?-1:1:0)}else{if(n===b)return e;r=1,i=new Qe(e.__ownerID,[[t,n]])}return e.__ownerID?(e.size=r,e._root=i,e.__hash=void 0,e.__altered=!0,e):i?it(r,i):rt()}function ot(e,t,n,i,r,a,o,s){return e?e.update(t,n,i,r,a,o,s):a===b?e:(k(s),k(o),new Xe(t,i,[r,a]))}function st(e){return e.constructor===Xe||e.constructor===$e}function lt(e,t,n,i,r){if(e.keyHash===i)return new $e(t,i,[e.entry,r]);var a,o=(0===n?e.keyHash:e.keyHash>>>n)&_,s=(0===n?i:i>>>n)&_;return new Je(t,1<<o|1<<s,o===s?[lt(e,t,n+m,i,r)]:(a=new Xe(t,i,r),o<s?[e,a]:[a,e]))}function ut(e,t,n,i){e||(e=new E);for(var r=new Xe(e,De(n),[n,i]),a=0;a<t.length;a++){var o=t[a];r=r.update(e,0,void 0,o[0],o[1])}return r}function ct(e,t,n,i){for(var r=0,a=0,o=new Array(n),s=0,l=1,u=t.length;s<u;s++,l<<=1){var c=t[s];void 0!==c&&s!==i&&(r|=l,o[a++]=c)}return new Je(e,r,o)}function dt(e,t,n,i,r){for(var a=0,o=new Array(v),s=0;0!==n;s++,n>>>=1)o[s]=1&n?t[a++]:void 0;return o[i]=r,new Ze(e,a+1,o)}function ft(e,t,n){for(var r=[],a=0;a<n.length;a++){var s=n[a],l=i(s);o(s)||(l=l.map((function(e){return pe(e)}))),r.push(l)}return gt(e,t,r)}function pt(e,t,n){return e&&e.mergeDeep&&o(t)?e.mergeDeep(t):ve(e,t)?e:t}function ht(e){return function(t,n,i){if(t&&t.mergeDeepWith&&o(n))return t.mergeDeepWith(e,n);var r=e(t,n,i);return ve(t,r)?t:r}}function gt(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 i=t?function(n,i){e.update(i,b,(function(e){return e===b?n:t(e,n,i)}))}:function(t,n){e.set(n,t)},r=0;r<n.length;r++)n[r].forEach(i)})):e.constructor(n[0])}function mt(e,t,n,i){var r=e===b,a=t.next();if(a.done){var o=r?n:e,s=i(o);return s===o?e:s}ye(r||e&&e.set,"invalid keyPath");var l=a.value,u=r?b:e.get(l,b),c=mt(u,t,n,i);return c===u?e:c===b?e.remove(l):(r?rt():e).set(l,c)}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 _t(e,t,n,i){var r=i?e:x(e);return r[t]=n,r}function bt(e,t,n,i){var r=e.length+1;if(i&&t+1===r)return e[t]=n,e;for(var a=new Array(r),o=0,s=0;s<r;s++)s===t?(a[s]=n,o=-1):a[s]=e[s+o];return a}function yt(e,t,n){var i=e.length-1;if(n&&t===i)return e.pop(),e;for(var r=new Array(i),a=0,o=0;o<i;o++)o===t&&(a=1),r[o]=e[o+a];return r}Ke[Ve]=!0,Ke[g]=Ke.remove,Ke.removeIn=Ke.deleteIn,Qe.prototype.get=function(e,t,n,i){for(var r=this.entries,a=0,o=r.length;a<o;a++)if(ve(n,r[a][0]))return r[a][1];return i},Qe.prototype.update=function(e,t,n,i,r,a,o){for(var s=r===b,l=this.entries,u=0,c=l.length;u<c&&!ve(i,l[u][0]);u++);var d=u<c;if(d?l[u][1]===r:s)return this;if(k(o),(s||!d)&&k(a),!s||1!==l.length){if(!d&&!s&&l.length>=wt)return ut(e,l,i,r);var f=e&&e===this.ownerID,p=f?l:x(l);return d?s?u===c-1?p.pop():p[u]=p.pop():p[u]=[i,r]:p.push([i,r]),f?(this.entries=p,this):new Qe(e,p)}},Je.prototype.get=function(e,t,n,i){void 0===t&&(t=De(n));var r=1<<((0===e?t:t>>>e)&_),a=this.bitmap;return 0==(a&r)?i:this.nodes[vt(a&r-1)].get(e+m,t,n,i)},Je.prototype.update=function(e,t,n,i,r,a,o){void 0===n&&(n=De(i));var s=(0===t?n:n>>>t)&_,l=1<<s,u=this.bitmap,c=0!=(u&l);if(!c&&r===b)return this;var d=vt(u&l-1),f=this.nodes,p=c?f[d]:void 0,h=ot(p,e,t+m,n,i,r,a,o);if(h===p)return this;if(!c&&h&&f.length>=Ft)return dt(e,f,u,s,h);if(c&&!h&&2===f.length&&st(f[1^d]))return f[1^d];if(c&&h&&1===f.length&&st(h))return h;var g=e&&e===this.ownerID,v=c?h?u:u^l:u|l,y=c?h?_t(f,d,h,g):yt(f,d,g):bt(f,d,h,g);return g?(this.bitmap=v,this.nodes=y,this):new Je(e,v,y)},Ze.prototype.get=function(e,t,n,i){void 0===t&&(t=De(n));var r=(0===e?t:t>>>e)&_,a=this.nodes[r];return a?a.get(e+m,t,n,i):i},Ze.prototype.update=function(e,t,n,i,r,a,o){void 0===n&&(n=De(i));var s=(0===t?n:n>>>t)&_,l=r===b,u=this.nodes,c=u[s];if(l&&!c)return this;var d=ot(c,e,t+m,n,i,r,a,o);if(d===c)return this;var f=this.count;if(c){if(!d&&--f<kt)return ct(e,u,f,s)}else f++;var p=e&&e===this.ownerID,h=_t(u,s,d,p);return p?(this.count=f,this.nodes=h,this):new Ze(e,f,h)},$e.prototype.get=function(e,t,n,i){for(var r=this.entries,a=0,o=r.length;a<o;a++)if(ve(n,r[a][0]))return r[a][1];return i},$e.prototype.update=function(e,t,n,i,r,a,o){void 0===n&&(n=De(i));var s=r===b;if(n!==this.keyHash)return s?this:(k(o),k(a),lt(this,e,t,n,[i,r]));for(var l=this.entries,u=0,c=l.length;u<c&&!ve(i,l[u][0]);u++);var d=u<c;if(d?l[u][1]===r:s)return this;if(k(o),(s||!d)&&k(a),s&&2===c)return new Xe(e,this.keyHash,l[1^u]);var f=e&&e===this.ownerID,p=f?l:x(l);return d?s?u===c-1?p.pop():p[u]=p.pop():p[u]=[i,r]:p.push([i,r]),f?(this.entries=p,this):new $e(e,this.keyHash,p)},Xe.prototype.get=function(e,t,n,i){return ve(n,this.entry[0])?this.entry[1]:i},Xe.prototype.update=function(e,t,n,i,r,a,o){var s=r===b,l=ve(i,this.entry[0]);return(l?r===this.entry[1]:s)?this:(k(o),s?void k(a):l?e&&e===this.ownerID?(this.entry[1]=r,this):new Xe(e,this.keyHash,[i,r]):(k(a),lt(this,e,t,De(i),[i,r])))},Qe.prototype.iterate=$e.prototype.iterate=function(e,t){for(var n=this.entries,i=0,r=n.length-1;i<=r;i++)if(!1===e(n[t?r-i:i]))return!1},Je.prototype.iterate=Ze.prototype.iterate=function(e,t){for(var n=this.nodes,i=0,r=n.length-1;i<=r;i++){var a=n[t?r-i:i];if(a&&!1===a.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,i=t.node,r=t.index++;if(i.entry){if(0===r)return tt(e,i.entry)}else if(i.entries){if(r<=(n=i.entries.length-1))return tt(e,i.entries[this._reverse?n-r:r])}else if(r<=(n=i.nodes.length-1)){var a=i.nodes[this._reverse?n-r:r];if(a){if(a.entry)return tt(e,a.entry);t=this._stack=nt(a,t)}continue}t=this._stack=this._stack.__prev}return G()};var wt=v/4,Ft=v/2,kt=v/4;function Et(e){var t=Mt();if(null==e)return t;if(xt(e))return e;var n=r(e),i=n.size;return 0===i?t:(Ue(i),i>0&&i<v?It(0,i,m,null,new Dt(n.toArray())):t.withMutations((function(e){e.setSize(i),n.forEach((function(t,n){return e.set(n,t)}))})))}function xt(e){return!(!e||!e[Ct])}t(Et,Ee),Et.of=function(){return this(arguments)},Et.prototype.toString=function(){return this.__toString("List [","]")},Et.prototype.get=function(e,t){if((e=S(this,e))>=0&&e<this.size){var n=Ot(this,e+=this._origin);return n&&n.array[e&_]}return t},Et.prototype.set=function(e,t){return jt(this,e,t)},Et.prototype.remove=function(e){return this.has(e)?0===e?this.shift():e===this.size-1?this.pop():this.splice(e,1):this},Et.prototype.insert=function(e,t){return this.splice(e,0,t)},Et.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=m,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):Mt()},Et.prototype.push=function(){var e=arguments,t=this.size;return this.withMutations((function(n){zt(n,0,t+e.length);for(var i=0;i<e.length;i++)n.set(t+i,e[i])}))},Et.prototype.pop=function(){return zt(this,0,-1)},Et.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])}))},Et.prototype.shift=function(){return zt(this,1)},Et.prototype.merge=function(){return Bt(this,void 0,arguments)},Et.prototype.mergeWith=function(t){return Bt(this,t,e.call(arguments,1))},Et.prototype.mergeDeep=function(){return Bt(this,pt,arguments)},Et.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return Bt(this,ht(t),n)},Et.prototype.setSize=function(e){return zt(this,0,e)},Et.prototype.slice=function(e,t){var n=this.size;return P(e,t,n)?this:zt(this,A(e,n),T(t,n))},Et.prototype.__iterator=function(e,t){var n=0,i=Lt(this,t);return new z((function(){var t=i();return t===Tt?G():B(e,n++,t)}))},Et.prototype.__iterate=function(e,t){for(var n,i=0,r=Lt(this,t);(n=r())!==Tt&&!1!==e(n,i++,this););return i},Et.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?It(this._origin,this._capacity,this._level,this._root,this._tail,e,this.__hash):(this.__ownerID=e,this)},Et.isList=xt;var Ct="@@__IMMUTABLE_LIST__@@",St=Et.prototype;function Dt(e,t){this.array=e,this.ownerID=t}St[Ct]=!0,St[g]=St.remove,St.setIn=Ke.setIn,St.deleteIn=St.removeIn=Ke.removeIn,St.update=Ke.update,St.updateIn=Ke.updateIn,St.mergeIn=Ke.mergeIn,St.mergeDeepIn=Ke.mergeDeepIn,St.withMutations=Ke.withMutations,St.asMutable=Ke.asMutable,St.asImmutable=Ke.asImmutable,St.wasAltered=Ke.wasAltered,Dt.prototype.removeBefore=function(e,t,n){if(n===t?1<<t:0===this.array.length)return this;var i=n>>>t&_;if(i>=this.array.length)return new Dt([],e);var r,a=0===i;if(t>0){var o=this.array[i];if((r=o&&o.removeBefore(e,t-m,n))===o&&a)return this}if(a&&!r)return this;var s=Rt(this,e);if(!a)for(var l=0;l<i;l++)s.array[l]=void 0;return r&&(s.array[i]=r),s},Dt.prototype.removeAfter=function(e,t,n){if(n===(t?1<<t:0)||0===this.array.length)return this;var i,r=n-1>>>t&_;if(r>=this.array.length)return this;if(t>0){var a=this.array[r];if((i=a&&a.removeAfter(e,t-m,n))===a&&r===this.array.length-1)return this}var o=Rt(this,e);return o.array.splice(r+1),i&&(o.array[r]=i),o};var Pt,At,Tt={};function Lt(e,t){var n=e._origin,i=e._capacity,r=Gt(i),a=e._tail;return o(e._root,e._level,0);function o(e,t,n){return 0===t?s(e,n):l(e,t,n)}function s(e,o){var s=o===r?a&&a.array:e&&e.array,l=o>n?0:n-o,u=i-o;return u>v&&(u=v),function(){if(l===u)return Tt;var e=t?--u:l++;return s&&s[e]}}function l(e,r,a){var s,l=e&&e.array,u=a>n?0:n-a>>r,c=1+(i-a>>r);return c>v&&(c=v),function(){for(;;){if(s){var e=s();if(e!==Tt)return e;s=null}if(u===c)return Tt;var n=t?--c:u++;s=o(l&&l[n],r-m,a+(n<<r))}}}}function It(e,t,n,i,r,a,o){var s=Object.create(St);return s.size=t-e,s._origin=e,s._capacity=t,s._level=n,s._root=i,s._tail=r,s.__ownerID=a,s.__hash=o,s.__altered=!1,s}function Mt(){return Pt||(Pt=It(0,0,m))}function jt(e,t,n){if((t=S(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 i=e._tail,r=e._root,a=F(w);return t>=Gt(e._capacity)?i=Nt(i,e.__ownerID,0,t,n,a):r=Nt(r,e.__ownerID,e._level,t,n,a),a.value?e.__ownerID?(e._root=r,e._tail=i,e.__hash=void 0,e.__altered=!0,e):It(e._origin,e._capacity,e._level,r,i):e}function Nt(e,t,n,i,r,a){var o,s=i>>>n&_,l=e&&s<e.array.length;if(!l&&void 0===r)return e;if(n>0){var u=e&&e.array[s],c=Nt(u,t,n-m,i,r,a);return c===u?e:((o=Rt(e,t)).array[s]=c,o)}return l&&e.array[s]===r?e:(k(a),o=Rt(e,t),void 0===r&&s===o.array.length-1?o.array.pop():o.array[s]=r,o)}function Rt(e,t){return t&&e&&t===e.ownerID?e:new Dt(e?e.array.slice():[],t)}function Ot(e,t){if(t>=Gt(e._capacity))return e._tail;if(t<1<<e._level+m){for(var n=e._root,i=e._level;n&&i>0;)n=n.array[t>>>i&_],i-=m;return n}}function zt(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var i=e.__ownerID||new E,r=e._origin,a=e._capacity,o=r+t,s=void 0===n?a:n<0?a+n:r+n;if(o===r&&s===a)return e;if(o>=s)return e.clear();for(var l=e._level,u=e._root,c=0;o+c<0;)u=new Dt(u&&u.array.length?[void 0,u]:[],i),c+=1<<(l+=m);c&&(o+=c,r+=c,s+=c,a+=c);for(var d=Gt(a),f=Gt(s);f>=1<<l+m;)u=new Dt(u&&u.array.length?[u]:[],i),l+=m;var p=e._tail,h=f<d?Ot(e,s-1):f>d?new Dt([],i):p;if(p&&f>d&&o<a&&p.array.length){for(var g=u=Rt(u,i),v=l;v>m;v-=m){var b=d>>>v&_;g=g.array[b]=Rt(g.array[b],i)}g.array[d>>>m&_]=p}if(s<a&&(h=h&&h.removeAfter(i,0,s)),o>=f)o-=f,s-=f,l=m,u=null,h=h&&h.removeBefore(i,0,o);else if(o>r||f<d){for(c=0;u;){var y=o>>>l&_;if(y!==f>>>l&_)break;y&&(c+=(1<<l)*y),l-=m,u=u.array[y]}u&&o>r&&(u=u.removeBefore(i,l,o-c)),u&&f<d&&(u=u.removeAfter(i,l,f-c)),c&&(o-=c,s-=c)}return e.__ownerID?(e.size=s-o,e._origin=o,e._capacity=s,e._level=l,e._root=u,e._tail=h,e.__hash=void 0,e.__altered=!0,e):It(o,s,l,u,h)}function Bt(e,t,n){for(var i=[],a=0,s=0;s<n.length;s++){var l=n[s],u=r(l);u.size>a&&(a=u.size),o(l)||(u=u.map((function(e){return pe(e)}))),i.push(u)}return a>e.size&&(e=e.setSize(a)),gt(e,t,i)}function Gt(e){return e<v?0:e-1>>>m<<m}function qt(e){return null==e?Wt():Ut(e)?e:Wt().withMutations((function(t){var n=i(e);Ue(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function Ut(e){return We(e)&&c(e)}function Ht(e,t,n,i){var r=Object.create(qt.prototype);return r.size=e?e.size:0,r._map=e,r._list=t,r.__ownerID=n,r.__hash=i,r}function Wt(){return At||(At=Ht(rt(),Mt()))}function Yt(e,t,n){var i,r,a=e._map,o=e._list,s=a.get(t),l=void 0!==s;if(n===b){if(!l)return e;o.size>=v&&o.size>=2*a.size?(i=(r=o.filter((function(e,t){return void 0!==e&&s!==t}))).toKeyedSeq().map((function(e){return e[0]})).flip().toMap(),e.__ownerID&&(i.__ownerID=r.__ownerID=e.__ownerID)):(i=a.remove(t),r=s===o.size-1?o.pop():o.set(s,void 0))}else if(l){if(n===o.get(s)[1])return e;i=a,r=o.set(s,[t,n])}else i=a.set(t,o.size),r=o.set(o.size,[t,n]);return e.__ownerID?(e.size=i.size,e._map=i,e._list=r,e.__hash=void 0,e):Ht(i,r)}function Vt(e,t){this._iter=e,this._useKeys=t,this.size=e.size}function Kt(e){this._iter=e,this.size=e.size}function Qt(e){this._iter=e,this.size=e.size}function Jt(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=yn,t.__iterateUncached=function(t,n){var i=this;return e.__iterate((function(e,n){return!1!==t(n,e,i)}),n)},t.__iteratorUncached=function(t,n){if(t===j){var i=e.__iterator(t,n);return new z((function(){var e=i.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?I:M,n)},t}function $t(e,t,n){var i=bn(e);return i.size=e.size,i.has=function(t){return e.has(t)},i.get=function(i,r){var a=e.get(i,b);return a===b?r:t.call(n,a,i,e)},i.__iterateUncached=function(i,r){var a=this;return e.__iterate((function(e,r,o){return!1!==i(t.call(n,e,r,o),r,a)}),r)},i.__iteratorUncached=function(i,r){var a=e.__iterator(j,r);return new z((function(){var r=a.next();if(r.done)return r;var o=r.value,s=o[0];return B(i,s,t.call(n,o[1],s,e),r)}))},i}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,i){return e.get(t?n:-1-n,i)},n.has=function(n){return e.has(t?n:-1-n)},n.includes=function(t){return e.includes(t)},n.cacheResult=yn,n.__iterate=function(t,n){var i=this;return e.__iterate((function(e,n){return t(e,n,i)}),!n)},n.__iterator=function(t,n){return e.__iterator(t,!n)},n}function en(e,t,n,i){var r=bn(e);return i&&(r.has=function(i){var r=e.get(i,b);return r!==b&&!!t.call(n,r,i,e)},r.get=function(i,r){var a=e.get(i,b);return a!==b&&t.call(n,a,i,e)?a:r}),r.__iterateUncached=function(r,a){var o=this,s=0;return e.__iterate((function(e,a,l){if(t.call(n,e,a,l))return s++,r(e,i?a:s-1,o)}),a),s},r.__iteratorUncached=function(r,a){var o=e.__iterator(j,a),s=0;return new z((function(){for(;;){var a=o.next();if(a.done)return a;var l=a.value,u=l[0],c=l[1];if(t.call(n,c,u,e))return B(r,i?u:s++,c,a)}}))},r}function tn(e,t,n){var i=He().asMutable();return e.__iterate((function(r,a){i.update(t.call(n,r,a,e),0,(function(e){return e+1}))})),i.asImmutable()}function nn(e,t,n){var i=s(e),r=(c(e)?qt():He()).asMutable();e.__iterate((function(a,o){r.update(t.call(n,a,o,e),(function(e){return(e=e||[]).push(i?[o,a]:a),e}))}));var a=_n(e);return r.map((function(t){return gn(e,a(t))}))}function rn(e,t,n,i){var r=e.size;if(void 0!==t&&(t|=0),void 0!==n&&(n|=0),P(t,n,r))return e;var a=A(t,r),o=T(n,r);if(a!=a||o!=o)return rn(e.toSeq().cacheResult(),t,n,i);var s,l=o-a;l==l&&(s=l<0?0:l);var u=bn(e);return u.size=0===s?s:e.size&&s||void 0,!i&&ae(e)&&s>=0&&(u.get=function(t,n){return(t=S(this,t))>=0&&t<s?e.get(t+a,n):n}),u.__iterateUncached=function(t,n){var r=this;if(0===s)return 0;if(n)return this.cacheResult().__iterate(t,n);var o=0,l=!0,u=0;return e.__iterate((function(e,n){if(!l||!(l=o++<a))return u++,!1!==t(e,i?n:u-1,r)&&u!==s})),u},u.__iteratorUncached=function(t,n){if(0!==s&&n)return this.cacheResult().__iterator(t,n);var r=0!==s&&e.__iterator(t,n),o=0,l=0;return new z((function(){for(;o++<a;)r.next();if(++l>s)return G();var e=r.next();return i||t===M?e:B(t,l-1,t===I?void 0:e.value[1],e)}))},u}function an(e,t,n){var i=bn(e);return i.__iterateUncached=function(i,r){var a=this;if(r)return this.cacheResult().__iterate(i,r);var o=0;return e.__iterate((function(e,r,s){return t.call(n,e,r,s)&&++o&&i(e,r,a)})),o},i.__iteratorUncached=function(i,r){var a=this;if(r)return this.cacheResult().__iterator(i,r);var o=e.__iterator(j,r),s=!0;return new z((function(){if(!s)return G();var e=o.next();if(e.done)return e;var r=e.value,l=r[0],u=r[1];return t.call(n,u,l,a)?i===j?e:B(i,l,u,e):(s=!1,G())}))},i}function on(e,t,n,i){var r=bn(e);return r.__iterateUncached=function(r,a){var o=this;if(a)return this.cacheResult().__iterate(r,a);var s=!0,l=0;return e.__iterate((function(e,a,u){if(!s||!(s=t.call(n,e,a,u)))return l++,r(e,i?a:l-1,o)})),l},r.__iteratorUncached=function(r,a){var o=this;if(a)return this.cacheResult().__iterator(r,a);var s=e.__iterator(j,a),l=!0,u=0;return new z((function(){var e,a,c;do{if((e=s.next()).done)return i||r===M?e:B(r,u++,r===I?void 0:e.value[1],e);var d=e.value;a=d[0],c=d[1],l&&(l=t.call(n,c,a,o))}while(l);return r===j?e:B(r,a,c,e)}))},r}function sn(e,t){var n=s(e),r=[e].concat(t).map((function(e){return o(e)?n&&(e=i(e)):e=n?se(e):le(Array.isArray(e)?e:[e]),e})).filter((function(e){return 0!==e.size}));if(0===r.length)return e;if(1===r.length){var a=r[0];if(a===e||n&&s(a)||l(e)&&l(a))return a}var u=new te(r);return n?u=u.toKeyedSeq():l(e)||(u=u.toSetSeq()),(u=u.flatten(!0)).size=r.reduce((function(e,t){if(void 0!==e){var n=t.size;if(void 0!==n)return e+n}}),0),u}function ln(e,t,n){var i=bn(e);return i.__iterateUncached=function(i,r){var a=0,s=!1;function l(e,u){var c=this;e.__iterate((function(e,r){return(!t||u<t)&&o(e)?l(e,u+1):!1===i(e,n?r:a++,c)&&(s=!0),!s}),r)}return l(e,0),a},i.__iteratorUncached=function(i,r){var a=e.__iterator(i,r),s=[],l=0;return new z((function(){for(;a;){var e=a.next();if(!1===e.done){var u=e.value;if(i===j&&(u=u[1]),t&&!(s.length<t)||!o(u))return n?e:B(i,l++,u,e);s.push(a),a=u.__iterator(i,r)}else a=s.pop()}return G()}))},i}function un(e,t,n){var i=_n(e);return e.toSeq().map((function(r,a){return i(t.call(n,r,a,e))})).flatten(!0)}function cn(e,t){var n=bn(e);return n.size=e.size&&2*e.size-1,n.__iterateUncached=function(n,i){var r=this,a=0;return e.__iterate((function(e,i){return(!a||!1!==n(t,a++,r))&&!1!==n(e,a++,r)}),i),a},n.__iteratorUncached=function(n,i){var r,a=e.__iterator(M,i),o=0;return new z((function(){return(!r||o%2)&&(r=a.next()).done?r:o%2?B(n,o++,t):B(n,o++,r.value,r)}))},n}function dn(e,t,n){t||(t=wn);var i=s(e),r=0,a=e.toSeq().map((function(t,i){return[i,t,r++,n?n(t,i,e):t]})).toArray();return a.sort((function(e,n){return t(e[3],n[3])||e[2]-n[2]})).forEach(i?function(e,t){a[t].length=2}:function(e,t){a[t]=e[1]}),i?K(a):l(e)?Q(a):J(a)}function fn(e,t,n){if(t||(t=wn),n){var i=e.toSeq().map((function(t,i){return[t,n(t,i,e)]})).reduce((function(e,n){return pn(t,e[1],n[1])?n:e}));return i&&i[0]}return e.reduce((function(e,n){return pn(t,e,n)?n:e}))}function pn(e,t,n){var i=e(n,t);return 0===i&&n!==t&&(null==n||n!=n)||i>0}function hn(e,t,i){var r=bn(e);return r.size=new te(i).map((function(e){return e.size})).min(),r.__iterate=function(e,t){for(var n,i=this.__iterator(M,t),r=0;!(n=i.next()).done&&!1!==e(n.value,r++,this););return r},r.__iteratorUncached=function(e,r){var a=i.map((function(e){return e=n(e),H(r?e.reverse():e)})),o=0,s=!1;return new z((function(){var n;return s||(n=a.map((function(e){return e.next()})),s=n.some((function(e){return e.done}))),s?G():B(e,o++,t.apply(null,n.map((function(e){return e.value}))))}))},r}function gn(e,t){return ae(e)?t:e.constructor(t)}function mn(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function vn(e){return Ue(e.size),C(e)}function _n(e){return s(e)?i:l(e)?r:a}function bn(e){return Object.create((s(e)?K:l(e)?Q:J).prototype)}function yn(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):V.prototype.cacheResult.call(this)}function wn(e,t){return e>t?1:e<t?-1:0}function Fn(e){var t=H(e);if(!t){if(!Y(e))throw new TypeError("Expected iterable or array-like: "+e);t=H(n(e))}return t}function kn(e,t){var n,i=function(a){if(a instanceof i)return a;if(!(this instanceof i))return new i(a);if(!n){n=!0;var o=Object.keys(e);Sn(r,o),r.size=o.length,r._name=t,r._keys=o,r._defaultValues=e}this._map=He(a)},r=i.prototype=Object.create(En);return r.constructor=i,i}t(qt,He),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):Wt()},qt.prototype.set=function(e,t){return Yt(this,e,t)},qt.prototype.remove=function(e){return Yt(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?Ht(t,n,e,this.__hash):(this.__ownerID=e,this._map=t,this._list=n,this)},qt.isOrderedMap=Ut,qt.prototype[h]=!0,qt.prototype[g]=qt.prototype.remove,t(Vt,K),Vt.prototype.get=function(e,t){return this._iter.get(e,t)},Vt.prototype.has=function(e){return this._iter.has(e)},Vt.prototype.valueSeq=function(){return this._iter.valueSeq()},Vt.prototype.reverse=function(){var e=this,t=Xt(this,!0);return this._useKeys||(t.valueSeq=function(){return e._iter.toSeq().reverse()}),t},Vt.prototype.map=function(e,t){var n=this,i=$t(this,e,t);return this._useKeys||(i.valueSeq=function(){return n._iter.toSeq().map(e,t)}),i},Vt.prototype.__iterate=function(e,t){var n,i=this;return this._iter.__iterate(this._useKeys?function(t,n){return e(t,n,i)}:(n=t?vn(this):0,function(r){return e(r,t?--n:n++,i)}),t)},Vt.prototype.__iterator=function(e,t){if(this._useKeys)return this._iter.__iterator(e,t);var n=this._iter.__iterator(M,t),i=t?vn(this):0;return new z((function(){var r=n.next();return r.done?r:B(e,t?--i:i++,r.value,r)}))},Vt.prototype[h]=!0,t(Kt,Q),Kt.prototype.includes=function(e){return this._iter.includes(e)},Kt.prototype.__iterate=function(e,t){var n=this,i=0;return this._iter.__iterate((function(t){return e(t,i++,n)}),t)},Kt.prototype.__iterator=function(e,t){var n=this._iter.__iterator(M,t),i=0;return new z((function(){var t=n.next();return t.done?t:B(e,i++,t.value,t)}))},t(Qt,J),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(Jt,K),Jt.prototype.entrySeq=function(){return this._iter.toSeq()},Jt.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t){if(t){mn(t);var i=o(t);return e(i?t.get(1):t[1],i?t.get(0):t[0],n)}}),t)},Jt.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 i=t.value;if(i){mn(i);var r=o(i);return B(e,r?i.get(0):i[0],r?i.get(1):i[1],t)}}}))},Kt.prototype.cacheResult=Vt.prototype.cacheResult=Qt.prototype.cacheResult=Jt.prototype.cacheResult=yn,t(kn,ke),kn.prototype.toString=function(){return this.__toString(Cn(this)+" {","}")},kn.prototype.has=function(e){return this._defaultValues.hasOwnProperty(e)},kn.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},kn.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var e=this.constructor;return e._empty||(e._empty=xn(this,rt()))},kn.prototype.set=function(e,t){if(!this.has(e))throw new Error('Cannot set unknown key "'+e+'" on '+Cn(this));var n=this._map&&this._map.set(e,t);return this.__ownerID||n===this._map?this:xn(this,n)},kn.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:xn(this,t)},kn.prototype.wasAltered=function(){return this._map.wasAltered()},kn.prototype.__iterator=function(e,t){var n=this;return i(this._defaultValues).map((function(e,t){return n.get(t)})).__iterator(e,t)},kn.prototype.__iterate=function(e,t){var n=this;return i(this._defaultValues).map((function(e,t){return n.get(t)})).__iterate(e,t)},kn.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map&&this._map.__ensureOwner(e);return e?xn(this,t,e):(this.__ownerID=e,this._map=t,this)};var En=kn.prototype;function xn(e,t,n){var i=Object.create(Object.getPrototypeOf(e));return i._map=t,i.__ownerID=n,i}function Cn(e){return e._name||e.constructor.name||"Record"}function Sn(e,t){try{t.forEach(Dn.bind(void 0,e))}catch(e){}}function Dn(e,t){Object.defineProperty(e,t,{get:function(){return this.get(t)},set:function(e){ye(this.__ownerID,"Cannot set on an immutable record."),this.set(t,e)}})}function Pn(e){return null==e?Nn():An(e)&&!c(e)?e:Nn().withMutations((function(t){var n=a(e);Ue(n.size),n.forEach((function(e){return t.add(e)}))}))}function An(e){return!(!e||!e[Ln])}En[g]=En.remove,En.deleteIn=En.removeIn=Ke.removeIn,En.merge=Ke.merge,En.mergeWith=Ke.mergeWith,En.mergeIn=Ke.mergeIn,En.mergeDeep=Ke.mergeDeep,En.mergeDeepWith=Ke.mergeDeepWith,En.mergeDeepIn=Ke.mergeDeepIn,En.setIn=Ke.setIn,En.update=Ke.update,En.updateIn=Ke.updateIn,En.withMutations=Ke.withMutations,En.asMutable=Ke.asMutable,En.asImmutable=Ke.asImmutable,t(Pn,xe),Pn.of=function(){return this(arguments)},Pn.fromKeys=function(e){return this(i(e).keySeq())},Pn.prototype.toString=function(){return this.__toString("Set {","}")},Pn.prototype.has=function(e){return this._map.has(e)},Pn.prototype.add=function(e){return Mn(this,this._map.set(e,!0))},Pn.prototype.remove=function(e){return Mn(this,this._map.remove(e))},Pn.prototype.clear=function(){return Mn(this,this._map.clear())},Pn.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++)a(t[n]).forEach((function(t){return e.add(t)}))})):this.constructor(t[0])},Pn.prototype.intersect=function(){var t=e.call(arguments,0);if(0===t.length)return this;t=t.map((function(e){return a(e)}));var n=this;return this.withMutations((function(e){n.forEach((function(n){t.every((function(e){return e.includes(n)}))||e.remove(n)}))}))},Pn.prototype.subtract=function(){var t=e.call(arguments,0);if(0===t.length)return this;t=t.map((function(e){return a(e)}));var n=this;return this.withMutations((function(e){n.forEach((function(n){t.some((function(e){return e.includes(n)}))&&e.remove(n)}))}))},Pn.prototype.merge=function(){return this.union.apply(this,arguments)},Pn.prototype.mergeWith=function(t){var n=e.call(arguments,1);return this.union.apply(this,n)},Pn.prototype.sort=function(e){return Rn(dn(this,e))},Pn.prototype.sortBy=function(e,t){return Rn(dn(this,t,e))},Pn.prototype.wasAltered=function(){return this._map.wasAltered()},Pn.prototype.__iterate=function(e,t){var n=this;return this._map.__iterate((function(t,i){return e(i,i,n)}),t)},Pn.prototype.__iterator=function(e,t){return this._map.map((function(e,t){return t})).__iterator(e,t)},Pn.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)},Pn.isSet=An;var Tn,Ln="@@__IMMUTABLE_SET__@@",In=Pn.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(In);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function Nn(){return Tn||(Tn=jn(rt()))}function Rn(e){return null==e?qn():On(e)?e:qn().withMutations((function(t){var n=a(e);Ue(n.size),n.forEach((function(e){return t.add(e)}))}))}function On(e){return An(e)&&c(e)}In[Ln]=!0,In[g]=In.remove,In.mergeDeep=In.merge,In.mergeDeepWith=In.mergeWith,In.withMutations=Ke.withMutations,In.asMutable=Ke.asMutable,In.asImmutable=Ke.asImmutable,In.__empty=Nn,In.__make=jn,t(Rn,Pn),Rn.of=function(){return this(arguments)},Rn.fromKeys=function(e){return this(i(e).keySeq())},Rn.prototype.toString=function(){return this.__toString("OrderedSet {","}")},Rn.isOrderedSet=On;var zn,Bn=Rn.prototype;function Gn(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=Gn(Wt()))}function Un(e){return null==e?Qn():Hn(e)?e:Qn().unshiftAll(e)}function Hn(e){return!(!e||!e[Yn])}Bn[h]=!0,Bn.__empty=qn,Bn.__make=Gn,t(Un,Ee),Un.of=function(){return this(arguments)},Un.prototype.toString=function(){return this.__toString("Stack [","]")},Un.prototype.get=function(e,t){var n=this._head;for(e=S(this,e);n&&e--;)n=n.next;return n?n.value:t},Un.prototype.peek=function(){return this._head&&this._head.value},Un.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):Kn(e,t)},Un.prototype.pushAll=function(e){if(0===(e=r(e)).size)return this;Ue(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):Kn(t,n)},Un.prototype.pop=function(){return this.slice(1)},Un.prototype.unshift=function(){return this.push.apply(this,arguments)},Un.prototype.unshiftAll=function(e){return this.pushAll(e)},Un.prototype.shift=function(){return this.pop.apply(this,arguments)},Un.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()},Un.prototype.slice=function(e,t){if(P(e,t,this.size))return this;var n=A(e,this.size);if(T(t,this.size)!==this.size)return Ee.prototype.slice.call(this,e,t);for(var i=this.size-n,r=this._head;n--;)r=r.next;return this.__ownerID?(this.size=i,this._head=r,this.__hash=void 0,this.__altered=!0,this):Kn(i,r)},Un.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Kn(this.size,this._head,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},Un.prototype.__iterate=function(e,t){if(t)return this.reverse().__iterate(e);for(var n=0,i=this._head;i&&!1!==e(i.value,n++,this);)i=i.next;return n},Un.prototype.__iterator=function(e,t){if(t)return this.reverse().__iterator(e);var n=0,i=this._head;return new z((function(){if(i){var t=i.value;return i=i.next,B(e,n++,t)}return G()}))},Un.isStack=Hn;var Wn,Yn="@@__IMMUTABLE_STACK__@@",Vn=Un.prototype;function Kn(e,t,n,i){var r=Object.create(Vn);return r.size=e,r._head=t,r.__ownerID=n,r.__hash=i,r.__altered=!1,r}function Qn(){return Wn||(Wn=Kn(0))}function Jn(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}Vn[Yn]=!0,Vn.withMutations=Ke.withMutations,Vn.asMutable=Ke.asMutable,Vn.asImmutable=Ke.asImmutable,Vn.wasAltered=Ke.wasAltered,n.Iterator=z,Jn(n,{toArray:function(){Ue(this.size);var e=new Array(this.size||0);return this.valueSeq().__iterate((function(t,n){e[n]=t})),e},toIndexedSeq:function(){return new Kt(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 Vt(this,!0)},toMap:function(){return He(this.toKeyedSeq())},toObject:function(){Ue(this.size);var e={};return this.__iterate((function(t,n){e[n]=t})),e},toOrderedMap:function(){return qt(this.toKeyedSeq())},toOrderedSet:function(){return Rn(s(this)?this.valueSeq():this)},toSet:function(){return Pn(s(this)?this.valueSeq():this)},toSetSeq:function(){return new Qt(this)},toSeq:function(){return l(this)?this.toIndexedSeq():s(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return Un(s(this)?this.valueSeq():this)},toList:function(){return Et(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 gn(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){Ue(this.size);var n=!0;return this.__iterate((function(i,r,a){if(!e.call(t,i,r,a))return n=!1,!1})),n},filter:function(e,t){return gn(this,en(this,e,t,!0))},find:function(e,t,n){var i=this.findEntry(e,t);return i?i[1]:n},findEntry:function(e,t){var n;return this.__iterate((function(i,r,a){if(e.call(t,i,r,a))return n=[r,i],!1})),n},findLastEntry:function(e,t){return this.toSeq().reverse().findEntry(e,t)},forEach:function(e,t){return Ue(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){Ue(this.size),e=void 0!==e?""+e:",";var t="",n=!0;return this.__iterate((function(i){n?n=!1:t+=e,t+=null!=i?i.toString():""})),t},keys:function(){return this.__iterator(I)},map:function(e,t){return gn(this,$t(this,e,t))},reduce:function(e,t,n){var i,r;return Ue(this.size),arguments.length<2?r=!0:i=t,this.__iterate((function(t,a,o){r?(r=!1,i=t):i=e.call(n,i,t,a,o)})),i},reduceRight:function(e,t,n){var i=this.toKeyedSeq().reverse();return i.reduce.apply(i,arguments)},reverse:function(){return gn(this,Xt(this,!0))},slice:function(e,t){return gn(this,rn(this,e,t,!0))},some:function(e,t){return!this.every(ti(e),t)},sort:function(e){return gn(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 C(e?this.toSeq().filter(e,t):this)},countBy:function(e,t){return tn(this,e,t)},equals:function(e){return _e(this,e)},entrySeq:function(){var e=this;if(e._cache)return new te(e._cache);var t=e.toSeq().map(ei).toIndexedSeq();return t.fromEntrySeq=function(){return e.toSeq()},t},filterNot:function(e,t){return this.filter(ti(e),t)},findLast:function(e,t,n){return this.toKeyedSeq().reverse().find(e,t,n)},first:function(){return this.find(D)},flatMap:function(e,t){return gn(this,un(this,e,t))},flatten:function(e){return gn(this,ln(this,e,!0))},fromEntrySeq:function(){return new Jt(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,i=this,r=Fn(e);!(n=r.next()).done;){var a=n.value;if((i=i&&i.get?i.get(a,b):b)===b)return t}return i},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?ni(e):ai)},minBy:function(e,t){return fn(this,t?ni(t):ai,e)},rest:function(){return this.slice(1)},skip:function(e){return this.slice(Math.max(0,e))},skipLast:function(e){return gn(this,this.toSeq().reverse().skip(e).reverse())},skipWhile:function(e,t){return gn(this,on(this,e,t,!0))},skipUntil:function(e,t){return this.skipWhile(ti(e),t)},sortBy:function(e,t){return gn(this,dn(this,t,e))},take:function(e){return this.slice(0,Math.max(0,e))},takeLast:function(e){return gn(this,this.toSeq().reverse().take(e).reverse())},takeWhile:function(e,t){return gn(this,an(this,e,t))},takeUntil:function(e,t){return this.takeWhile(ti(e),t)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=oi(this))}});var Zn=n.prototype;Zn[d]=!0,Zn[O]=Zn.values,Zn.__toJS=Zn.toArray,Zn.__toStringMapper=ii,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){}}(),Jn(i,{flip:function(){return gn(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,i=0;return gn(this,this.toSeq().map((function(r,a){return e.call(t,[a,r],i++,n)})).fromEntrySeq())},mapKeys:function(e,t){var n=this;return gn(this,this.toSeq().flip().map((function(i,r){return e.call(t,i,r,n)})).flip())}});var $n=i.prototype;function Xn(e,t){return t}function ei(e,t){return[t,e]}function ti(e){return function(){return!e.apply(this,arguments)}}function ni(e){return function(){return-e.apply(this,arguments)}}function ii(e){return"string"==typeof e?JSON.stringify(e):e}function ri(){return x(arguments)}function ai(e,t){return e<t?1:e>t?-1:0}function oi(e){if(e.size===1/0)return 0;var t=c(e),n=s(e),i=t?1:0;return si(e.__iterate(n?t?function(e,t){i=31*i+li(De(e),De(t))|0}:function(e,t){i=i+li(De(e),De(t))|0}:t?function(e){i=31*i+De(e)|0}:function(e){i=i+De(e)|0}),i)}function si(e,t){return t=Ce(t,3432918353),t=Ce(t<<15|t>>>-15,461845907),t=Ce(t<<13|t>>>-13,5),t=Ce((t=(t+3864292196|0)^e)^t>>>16,2246822507),t=Se((t=Ce(t^t>>>13,3266489909))^t>>>16)}function li(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}return $n[f]=!0,$n[O]=Zn.entries,$n.__toJS=Zn.toObject,$n.__toStringMapper=function(e,t){return JSON.stringify(t)+": "+ii(e)},Jn(r,{toKeyedSeq:function(){return new Vt(this,!1)},filter:function(e,t){return gn(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 gn(this,Xt(this,!1))},slice:function(e,t){return gn(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=A(e,e<0?this.count():this.size);var i=this.slice(0,e);return gn(this,1===n?i:i.concat(x(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 gn(this,ln(this,e,!1))},get:function(e,t){return(e=S(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=S(this,e))>=0&&(void 0!==this.size?this.size===1/0||e<this.size:-1!==this.indexOf(e))},interpose:function(e){return gn(this,cn(this,e))},interleave:function(){var e=[this].concat(x(arguments)),t=hn(this.toSeq(),Q.of,e),n=t.flatten(!0);return t.size&&(n.size=t.size*e.length),gn(this,n)},last:function(){return this.get(-1)},skipWhile:function(e,t){return gn(this,on(this,e,t,!1))},zip:function(){return gn(this,hn(this,ri,[this].concat(x(arguments))))},zipWith:function(e){var t=x(arguments);return t[0]=this,gn(this,hn(this,e,t))}}),r.prototype[p]=!0,r.prototype[h]=!0,Jn(a,{get:function(e,t){return this.has(e)?e:t},includes:function(e){return this.has(e)},keySeq:function(){return this.valueSeq()}}),a.prototype.has=Zn.includes,Jn(K,i.prototype),Jn(Q,r.prototype),Jn(J,a.prototype),Jn(ke,i.prototype),Jn(Ee,r.prototype),Jn(xe,a.prototype),{Iterable:n,Seq:V,Collection:Fe,Map:He,OrderedMap:qt,List:Et,Stack:Un,Set:Pn,OrderedSet:Rn,Record:kn,Range:we,Repeat:be,is:ve,fromJS:pe}}()}(s2e);var l2e=function(e){var t=document.implementation.createHTMLDocument("");return t.documentElement.innerHTML=e,t};function u2e(e){var t;"undefined"!=typeof DOMParser?null!==(t=(new DOMParser).parseFromString(e,"text/html"))&&null!==t.body||(t=l2e(e)):t=l2e(e);return t.body}var c2e=" ",d2e=new RegExp("\r","g"),f2e=new RegExp("\n","g"),p2e=new RegExp("&nbsp;","g"),h2e=new RegExp("\r","g"),g2e=["p","h1","h2","h3","h4","h5","h6","li","blockquote","pre"],m2e={b:"BOLD",code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",i:"ITALIC",s:"STRIKETHROUGH",strike:"STRIKETHROUGH",strong:"BOLD",u:"UNDERLINE"},v2e=function(e,t){return e&&!0===e.__isMiddleware?e(t):e},_2e=function(e,t,n){},b2e=function(e,t,n){return n},y2e=function(e,t){},w2e=function(e){return[]},F2e=function(e){if(null!=e)return e;throw new Error("Got unexpected null or undefined")};function k2e(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:s2e.exports.Map();return!0===n?{text:"\r",inlines:[s2e.exports.OrderedSet()],entities:new Array(1),blocks:[{type:e,data:i,depth:Math.max(0,Math.min(4,t))}],isNewline:!0}:{text:"\n",inlines:[s2e.exports.OrderedSet()],entities:new Array(1),blocks:[]}}function E2e(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:s2e.exports.Map();return{text:"\r",inlines:[s2e.exports.OrderedSet()],entities:new Array(1),blocks:[{type:e,data:n,depth:Math.max(0,Math.min(4,t))}]}}function x2e(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 C2e(e,t,n){return x2e(e,n)}function S2e(e,t,n){var i=m2e[e];if(i)n=n.add(i).toOrderedSet();else if(t instanceof HTMLElement){var r=t;n=n.withMutations((function(e){"bold"===r.style.fontWeight&&e.add("BOLD"),"italic"===r.style.fontStyle&&e.add("ITALIC"),"underline"===r.style.textDecoration&&e.add("UNDERLINE"),"line-through"===r.style.textDecoration&&e.add("STRIKETHROUGH")})).toOrderedSet()}return n}function D2e(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:s2e.exports.OrderedSet();return S2e(e,t,n)}function P2e(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=t.text.slice(0,1),r=e.text.slice(-1),a="\r"===r&&"\r"===i,o="\r"!==e.text&&"\r"!==t.text,s="\r"===e.text&&!e.isNewline&&t.isNewline;if(a&&(o||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===c2e||"\n"===t.text)return e;i!==c2e&&"\n"!==i||(t.text=t.text.slice(1),t.inlines.shift(),t.entities.shift())}var l=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:l}}function A2e(e,t,n,i,r,a,o,s,l,u,c,d,f,p,h,g){var m=e.nodeName.toLowerCase(),v=!1,_="unstyled";if("#text"===m){var b=e.textContent;if(""===b.trim()&&null===i)return{text:"",inlines:[],entities:[],blocks:[]};if(""===b.trim()&&"code-block"!==i)return function(e){var t=new Array(1);return e&&(t[0]=e),{text:c2e,inlines:[s2e.exports.OrderedSet()],entities:t,blocks:[]}}(g);"code-block"!==i&&(b=b.replace(f2e,c2e));var y=Array(b.length).fill(g),w=0;return l(b,c,d,f,p).sort(a2e).forEach((function(e){var t=e.entity,n=e.offset,i=e.length,r=e.result,a=n+w;null==r&&(r=b.substr(a,i));var o=b.split("");o.splice.bind(o,a,i).apply(o,r.split("")),b=o.join(""),y.splice.bind(y,a,i).apply(y,Array(r.length).fill(t)),w+=r.length-i})),{text:b,inlines:Array(b.length).fill(t),entities:y,blocks:[]}}if("br"===m){var F=i;return null===F?k2e("unstyled",a,!0):k2e(F||"unstyled",a,h.flat)}var k={text:"",inlines:[],entities:[],blocks:[]};t=o(m,e,t=S2e(m,e,t)),"ul"!==m&&"ol"!==m||(n&&(a+=1),n=m,i=null);var E,x,C=u(m,e,n,i);if(!1===C)return{text:"",inlines:[],entities:[],blocks:[]};if("string"==typeof(C=C||{})?(E=C,x=s2e.exports.Map()):(E="string"==typeof C?C:C.type,x=C.data?s2e.exports.Map(C.data):s2e.exports.Map()),i||-1===r.indexOf(m)&&!E)if(!n||"ordered-list-item"!==i&&"unordered-list-item"!==i||"li"!==m)i&&"atomic"!==i&&"atomic"===E&&(i=E,v=!0,k=k2e(E,a,!0,x));else{var S=x2e(m,n);k=E2e(S,a),i=S,v=!0,_="ul"===n?"unordered-list-item":"ordered-list-item"}else k=E2e(E||x2e(m,n),a,x),i=E||x2e(m,n),v=!0;var D=e.firstChild;null!=D||!g||"atomic"!==E&&"atomic"!==i||(D=document.createTextNode("a")),null!=D&&(m=D.nodeName.toLowerCase());for(var P=null;D;){P=s(m,D,c,d,f,p),k=P2e(k,A2e(D,t,n,i,r,a,o,s,l,u,c,d,f,p,h,P||g),h.flat);var A=D.nextSibling;if(A&&r.indexOf(m)>=0&&i){var T=u(m,D,n,i),L=void 0,I=void 0;!1!==T&&("string"==typeof(T=T||{})?(L=T,I=s2e.exports.Map()):(L=T.type||x2e(m,n),I=T.data?s2e.exports.Map(T.data):s2e.exports.Map()),k=P2e(k,k2e(L,a,h.flat,I),h.flat))}A&&(m=A.nodeName.toLowerCase()),D=A}return v&&(k=P2e(k,E2e(_,a,s2e.exports.Map()),h.flat)),k}function T2e(e,t,n,i,r,a,o,s,l,u,c){var d=c(e=e.trim().replace(d2e,"").replace(p2e,c2e));if(!d)return null;var f=function(e){return g2e.some((function(t){return-1!==e.indexOf("<".concat(t))}))}(e)?g2e.concat(["div"]):["div"],p=A2e(d,s2e.exports.OrderedSet(),"ul",null,f,-1,t,n,i,r,a,o,s,l,u);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:s2e.exports.Map(),depth:0}),p.text.split("\r").length===p.blocks.length+1&&p.blocks.unshift({type:"unstyled",data:s2e.exports.Map(),depth:0}),p}function L2e(e,t,n,i,r,a,o,s,l,u,c,d){var f=T2e(e,t,n,i,r,a,o,s,l,u,c);if(null==f)return[];var p=0;return f.text.split("\r").map((function(e,t){e=e.replace(h2e,"");var n=p+e.length,i=F2e(f).inlines.slice(p,n),r=F2e(f).entities.slice(p,n),a=s2e.exports.List(i.map((function(e,t){var n={style:e,entity:null};return r[t]&&(n.entity=r[t]),r2e.CharacterMetadata.create(n)})));return p=n+1,new r2e.ContentBlock({key:d(),type:F2e(f).blocks[t].type,data:F2e(f).blocks[t].data,depth:F2e(f).blocks[t].depth,text:e,characterList:a})}))}var I2e=function(e){var t=e.htmlToStyle,n=void 0===t?b2e:t,i=e.htmlToEntity,r=void 0===i?y2e:i,a=e.textToEntity,o=void 0===a?w2e:a,s=e.htmlToBlock,l=void 0===s?_2e:s;return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{flat:!1},i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:u2e,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:r2e.genKey,s=r2e.ContentState.createFromText(""),u=function(){var e;return s.createEntity?(s=(e=s).createEntity.apply(e,arguments)).getLastCreatedEntityKey():r2e.Entity.create.apply(r2e.Entity,arguments)},c=function(){var e;return s.getEntity?(e=s).getEntity.apply(e,arguments):r2e.Entity.get.apply(r2e.Entity,arguments)},d=function(){var e;s.mergeEntityData?s=(e=s).mergeEntityData.apply(e,arguments):r2e.Entity.mergeData.apply(r2e.Entity,arguments)},f=function(){var e;s.replaceEntityData?s=(e=s).replaceEntityData.apply(e,arguments):r2e.Entity.replaceData.apply(r2e.Entity,arguments)},p=L2e(e,v2e(n,D2e),v2e(r,y2e),v2e(o,w2e),v2e(l,C2e),u,c,d,f,t,i,a),h=r2e.BlockMapBuilder.createFromArray(p),g=p[0].getKey();return s.merge({blockMap:h,selectionBefore:r2e.SelectionState.createEmpty(g),selectionAfter:r2e.SelectionState.createEmpty(g)})}};BY('/**\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 M2e=32,j2e=31,N2e={};function R2e(e){e&&(e.value=!0)}function O2e(){}function z2e(e){return void 0===e.size&&(e.size=e.__iterate(G2e)),e.size}function B2e(e,t){if("number"!=typeof t){var n=t>>>0;if(""+n!==t||4294967295===n)return NaN;t=n}return t<0?z2e(e)+t:t}function G2e(){return!0}function q2e(e,t,n){return(0===e&&!Y2e(e)||void 0!==n&&e<=-n)&&(void 0===t||void 0!==n&&t>=n)}function U2e(e,t){return W2e(e,t,0)}function H2e(e,t){return W2e(e,t,t)}function W2e(e,t,n){return void 0===e?n:Y2e(e)?t===1/0?t:0|Math.max(0,t+e):void 0===t||t===e?e:0|Math.min(t,e)}function Y2e(e){return e<0||0===e&&1/e==-1/0}var V2e="@@__IMMUTABLE_ITERABLE__@@";function K2e(e){return Boolean(e&&e[V2e])}var Q2e="@@__IMMUTABLE_KEYED__@@";function J2e(e){return Boolean(e&&e[Q2e])}var Z2e="@@__IMMUTABLE_INDEXED__@@";function $2e(e){return Boolean(e&&e[Z2e])}function X2e(e){return J2e(e)||$2e(e)}var e3e=function(e){return K2e(e)?e:F3e(e)},t3e=function(e){function t(e){return J2e(e)?e:k3e(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(e3e),n3e=function(e){function t(e){return $2e(e)?e:E3e(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(e3e),i3e=function(e){function t(e){return K2e(e)&&!X2e(e)?e:x3e(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(e3e);e3e.Keyed=t3e,e3e.Indexed=n3e,e3e.Set=i3e;var r3e="@@__IMMUTABLE_SEQ__@@";function a3e(e){return Boolean(e&&e[r3e])}function o3e(e){return Boolean(e&&e["@@__IMMUTABLE_RECORD__@@"])}function s3e(e){return K2e(e)||o3e(e)}var l3e="@@__IMMUTABLE_ORDERED__@@";function u3e(e){return Boolean(e&&e[l3e])}var c3e="function"==typeof Symbol&&Symbol.iterator,d3e="@@iterator",f3e=c3e||d3e,p3e=function(e){this.next=e};function h3e(e,t,n,i){var r=0===e?t:1===e?n:[t,n];return i?i.value=r:i={value:r,done:!1},i}function g3e(){return{value:void 0,done:!0}}function m3e(e){return!!b3e(e)}function v3e(e){return e&&"function"==typeof e.next}function _3e(e){var t=b3e(e);return t&&t.call(e)}function b3e(e){var t=e&&(c3e&&e[c3e]||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 y3e=Object.prototype.hasOwnProperty;function w3e(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 F3e=function(e){function t(e){return null==e?A3e():s3e(e)?e.toSeq():function(e){var t=I3e(e);if(t)return t;if("object"==typeof e)return new S3e(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 i=n.length,r=0;r!==i;){var a=n[t?i-++r:r++];if(!1===e(a[1],a[0],this))break}return r}return this.__iterateUncached(e,t)},t.prototype.__iterator=function(e,t){var n=this._cache;if(n){var i=n.length,r=0;return new p3e((function(){if(r===i)return{value:void 0,done:!0};var a=n[t?i-++r:r++];return h3e(e,a[0],a[1])}))}return this.__iteratorUncached(e,t)},t}(e3e),k3e=function(e){function t(e){return null==e?A3e().toKeyedSeq():K2e(e)?J2e(e)?e.toSeq():e.fromEntrySeq():o3e(e)?e.toSeq():T3e(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.toKeyedSeq=function(){return this},t}(F3e),E3e=function(e){function t(e){return null==e?A3e():K2e(e)?J2e(e)?e.entrySeq():e.toIndexedSeq():o3e(e)?e.toSeq().entrySeq():L3e(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}(F3e),x3e=function(e){function t(e){return(K2e(e)&&!X2e(e)?e:E3e(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}(F3e);F3e.isSeq=a3e,F3e.Keyed=k3e,F3e.Set=x3e,F3e.Indexed=E3e,F3e.prototype[r3e]=!0;var C3e=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[B2e(this,e)]:t},t.prototype.__iterate=function(e,t){for(var n=this._array,i=n.length,r=0;r!==i;){var a=t?i-++r:r++;if(!1===e(n[a],a,this))break}return r},t.prototype.__iterator=function(e,t){var n=this._array,i=n.length,r=0;return new p3e((function(){if(r===i)return{value:void 0,done:!0};var a=t?i-++r:r++;return h3e(e,a,n[a])}))},t}(E3e),S3e=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 y3e.call(this._object,e)},t.prototype.__iterate=function(e,t){for(var n=this._object,i=this._keys,r=i.length,a=0;a!==r;){var o=i[t?r-++a:a++];if(!1===e(n[o],o,this))break}return a},t.prototype.__iterator=function(e,t){var n=this._object,i=this._keys,r=i.length,a=0;return new p3e((function(){if(a===r)return{value:void 0,done:!0};var o=i[t?r-++a:a++];return h3e(e,o,n[o])}))},t}(k3e);S3e.prototype[l3e]=!0;var D3e,P3e=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=_3e(this._collection),i=0;if(v3e(n))for(var r;!(r=n.next()).done&&!1!==e(r.value,i++,this););return i},t.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=_3e(this._collection);if(!v3e(n))return new p3e(g3e);var i=0;return new p3e((function(){var t=n.next();return t.done?t:h3e(e,i++,t.value)}))},t}(E3e);function A3e(){return D3e||(D3e=new C3e([]))}function T3e(e){var t=Array.isArray(e)?new C3e(e):m3e(e)?new P3e(e):void 0;if(t)return t.fromEntrySeq();if("object"==typeof e)return new S3e(e);throw new TypeError("Expected Array or collection object of [k, v] entries, or keyed object: "+e)}function L3e(e){var t=I3e(e);if(t)return t;throw new TypeError("Expected Array or collection object of values: "+e)}function I3e(e){return w3e(e)?new C3e(e):m3e(e)?new P3e(e):void 0}var M3e="@@__IMMUTABLE_MAP__@@";function j3e(e){return Boolean(e&&e[M3e])}function N3e(e){return j3e(e)&&u3e(e)}function R3e(e){return Boolean(e&&"function"==typeof e.equals&&"function"==typeof e.hashCode)}function O3e(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 z3e="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(e,t){var n=65535&(e|=0),i=65535&(t|=0);return n*i+((e>>>16)*i+n*(t>>>16)<<16>>>0)|0};function B3e(e){return e>>>1&1073741824|3221225471&e}var G3e=Object.prototype.valueOf;function q3e(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 B3e(t)}(e);case"string":return e.length>J3e?function(e){var t=X3e[e];void 0===t&&(t=U3e(e),$3e===Z3e&&($3e=0,X3e={}),$3e++,X3e[e]=t);return t}(e):U3e(e);case"object":case"function":return null===e?1108378658:"function"==typeof e.hashCode?B3e(e.hashCode(e)):(e.valueOf!==G3e&&"function"==typeof e.valueOf&&(e=e.valueOf(e)),function(e){var t;if(V3e&&void 0!==(t=Y3e.get(e)))return t;if(void 0!==(t=e[Q3e]))return t;if(!W3e){if(void 0!==(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[Q3e]))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=++K3e,1073741824&K3e&&(K3e=0);if(V3e)Y3e.set(e,t);else{if(void 0!==H3e&&!1===H3e(e))throw new Error("Non-extensible objects are not allowed as keys.");if(W3e)Object.defineProperty(e,Q3e,{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[Q3e]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[Q3e]=t}}return t}(e));case"undefined":return 1108378659;default:if("function"==typeof e.toString)return U3e(e.toString());throw new Error("Value type "+typeof e+" cannot be hashed.")}}function U3e(e){for(var t=0,n=0;n<e.length;n++)t=31*t+e.charCodeAt(n)|0;return B3e(t)}var H3e=Object.isExtensible,W3e=function(){try{return Object.defineProperty({},"@",{}),!0}catch(e){return!1}}();var Y3e,V3e="function"==typeof WeakMap;V3e&&(Y3e=new WeakMap);var K3e=0,Q3e="__immutablehash__";"function"==typeof Symbol&&(Q3e=Symbol(Q3e));var J3e=16,Z3e=255,$3e=0,X3e={},e4e=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,i=a4e(this,e,t);return this._useKeys||(i.valueSeq=function(){return n._iter.toSeq().map(e,t)}),i},t.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t,i){return e(t,i,n)}),t)},t.prototype.__iterator=function(e,t){return this._iter.__iterator(e,t)},t}(k3e);e4e.prototype[l3e]=!0;var 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.includes=function(e){return this._iter.includes(e)},t.prototype.__iterate=function(e,t){var n=this,i=0;return t&&z2e(this),this._iter.__iterate((function(r){return e(r,t?n.size-++i:i++,n)}),t)},t.prototype.__iterator=function(e,t){var n=this,i=this._iter.__iterator(1,t),r=0;return t&&z2e(this),new p3e((function(){var a=i.next();return a.done?a:h3e(e,t?n.size-++r:r++,a.value,a)}))},t}(E3e),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.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}(x3e),i4e=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){v4e(t);var i=K2e(t);return e(i?t.get(1):t[1],i?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 i=t.value;if(i){v4e(i);var r=K2e(i);return h3e(e,r?i.get(0):i[0],r?i.get(1):i[1],t)}}}))},t}(k3e);function r4e(e){var t=b4e(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=y4e,t.__iterateUncached=function(t,n){var i=this;return e.__iterate((function(e,n){return!1!==t(n,e,i)}),n)},t.__iteratorUncached=function(t,n){if(2===t){var i=e.__iterator(t,n);return new p3e((function(){var e=i.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 a4e(e,t,n){var i=b4e(e);return i.size=e.size,i.has=function(t){return e.has(t)},i.get=function(i,r){var a=e.get(i,N2e);return a===N2e?r:t.call(n,a,i,e)},i.__iterateUncached=function(i,r){var a=this;return e.__iterate((function(e,r,o){return!1!==i(t.call(n,e,r,o),r,a)}),r)},i.__iteratorUncached=function(i,r){var a=e.__iterator(2,r);return new p3e((function(){var r=a.next();if(r.done)return r;var o=r.value,s=o[0];return h3e(i,s,t.call(n,o[1],s,e),r)}))},i}function o4e(e,t){var n=this,i=b4e(e);return i._iter=e,i.size=e.size,i.reverse=function(){return e},e.flip&&(i.flip=function(){var t=r4e(e);return t.reverse=function(){return e.flip()},t}),i.get=function(n,i){return e.get(t?n:-1-n,i)},i.has=function(n){return e.has(t?n:-1-n)},i.includes=function(t){return e.includes(t)},i.cacheResult=y4e,i.__iterate=function(n,i){var r=this,a=0;return i&&z2e(e),e.__iterate((function(e,o){return n(e,t?o:i?r.size-++a:a++,r)}),!i)},i.__iterator=function(i,r){var a=0;r&&z2e(e);var o=e.__iterator(2,!r);return new p3e((function(){var e=o.next();if(e.done)return e;var s=e.value;return h3e(i,t?s[0]:r?n.size-++a:a++,s[1],e)}))},i}function s4e(e,t,n,i){var r=b4e(e);return i&&(r.has=function(i){var r=e.get(i,N2e);return r!==N2e&&!!t.call(n,r,i,e)},r.get=function(i,r){var a=e.get(i,N2e);return a!==N2e&&t.call(n,a,i,e)?a:r}),r.__iterateUncached=function(r,a){var o=this,s=0;return e.__iterate((function(e,a,l){if(t.call(n,e,a,l))return s++,r(e,i?a:s-1,o)}),a),s},r.__iteratorUncached=function(r,a){var o=e.__iterator(2,a),s=0;return new p3e((function(){for(;;){var a=o.next();if(a.done)return a;var l=a.value,u=l[0],c=l[1];if(t.call(n,c,u,e))return h3e(r,i?u:s++,c,a)}}))},r}function l4e(e,t,n,i){var r=e.size;if(q2e(t,n,r))return e;var a=U2e(t,r),o=H2e(n,r);if(a!=a||o!=o)return l4e(e.toSeq().cacheResult(),t,n,i);var s,l=o-a;l==l&&(s=l<0?0:l);var u=b4e(e);return u.size=0===s?s:e.size&&s||void 0,!i&&a3e(e)&&s>=0&&(u.get=function(t,n){return(t=B2e(this,t))>=0&&t<s?e.get(t+a,n):n}),u.__iterateUncached=function(t,n){var r=this;if(0===s)return 0;if(n)return this.cacheResult().__iterate(t,n);var o=0,l=!0,u=0;return e.__iterate((function(e,n){if(!l||!(l=o++<a))return u++,!1!==t(e,i?n:u-1,r)&&u!==s})),u},u.__iteratorUncached=function(t,n){if(0!==s&&n)return this.cacheResult().__iterator(t,n);if(0===s)return new p3e(g3e);var r=e.__iterator(t,n),o=0,l=0;return new p3e((function(){for(;o++<a;)r.next();if(++l>s)return{value:void 0,done:!0};var e=r.next();return i||1===t||e.done?e:h3e(t,l-1,0===t?void 0:e.value[1],e)}))},u}function u4e(e,t,n,i){var r=b4e(e);return r.__iterateUncached=function(r,a){var o=this;if(a)return this.cacheResult().__iterate(r,a);var s=!0,l=0;return e.__iterate((function(e,a,u){if(!s||!(s=t.call(n,e,a,u)))return l++,r(e,i?a:l-1,o)})),l},r.__iteratorUncached=function(r,a){var o=this;if(a)return this.cacheResult().__iterator(r,a);var s=e.__iterator(2,a),l=!0,u=0;return new p3e((function(){var e,a,c;do{if((e=s.next()).done)return i||1===r?e:h3e(r,u++,0===r?void 0:e.value[1],e);var d=e.value;a=d[0],c=d[1],l&&(l=t.call(n,c,a,o))}while(l);return 2===r?e:h3e(r,a,c,e)}))},r}function c4e(e,t){var n=J2e(e),i=[e].concat(t).map((function(e){return K2e(e)?n&&(e=t3e(e)):e=n?T3e(e):L3e(Array.isArray(e)?e:[e]),e})).filter((function(e){return 0!==e.size}));if(0===i.length)return e;if(1===i.length){var r=i[0];if(r===e||n&&J2e(r)||$2e(e)&&$2e(r))return r}var a=new C3e(i);return n?a=a.toKeyedSeq():$2e(e)||(a=a.toSetSeq()),(a=a.flatten(!0)).size=i.reduce((function(e,t){if(void 0!==e){var n=t.size;if(void 0!==n)return e+n}}),0),a}function d4e(e,t,n){var i=b4e(e);return i.__iterateUncached=function(r,a){if(a)return this.cacheResult().__iterate(r,a);var o=0,s=!1;return function e(l,u){l.__iterate((function(a,l){return(!t||u<t)&&K2e(a)?e(a,u+1):(o++,!1===r(a,n?l:o-1,i)&&(s=!0)),!s}),a)}(e,0),o},i.__iteratorUncached=function(i,r){if(r)return this.cacheResult().__iterator(i,r);var a=e.__iterator(i,r),o=[],s=0;return new p3e((function(){for(;a;){var e=a.next();if(!1===e.done){var l=e.value;if(2===i&&(l=l[1]),t&&!(o.length<t)||!K2e(l))return n?e:h3e(i,s++,l,e);o.push(a),a=l.__iterator(i,r)}else a=o.pop()}return{value:void 0,done:!0}}))},i}function f4e(e,t,n){t||(t=w4e);var i=J2e(e),r=0,a=e.toSeq().map((function(t,i){return[i,t,r++,n?n(t,i,e):t]})).valueSeq().toArray();return a.sort((function(e,n){return t(e[3],n[3])||e[2]-n[2]})).forEach(i?function(e,t){a[t].length=2}:function(e,t){a[t]=e[1]}),i?k3e(a):$2e(e)?E3e(a):x3e(a)}function p4e(e,t,n){if(t||(t=w4e),n){var i=e.toSeq().map((function(t,i){return[t,n(t,i,e)]})).reduce((function(e,n){return h4e(t,e[1],n[1])?n:e}));return i&&i[0]}return e.reduce((function(e,n){return h4e(t,e,n)?n:e}))}function h4e(e,t,n){var i=e(n,t);return 0===i&&n!==t&&(null==n||n!=n)||i>0}function g4e(e,t,n,i){var r=b4e(e),a=new C3e(n).map((function(e){return e.size}));return r.size=i?a.max():a.min(),r.__iterate=function(e,t){for(var n,i=this.__iterator(1,t),r=0;!(n=i.next()).done&&!1!==e(n.value,r++,this););return r},r.__iteratorUncached=function(e,r){var a=n.map((function(e){return e=e3e(e),_3e(r?e.reverse():e)})),o=0,s=!1;return new p3e((function(){var n;return s||(n=a.map((function(e){return e.next()})),s=i?n.every((function(e){return e.done})):n.some((function(e){return e.done}))),s?{value:void 0,done:!0}:h3e(e,o++,t.apply(null,n.map((function(e){return e.value}))))}))},r}function m4e(e,t){return e===t?e:a3e(e)?t:e.constructor(t)}function v4e(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function _4e(e){return J2e(e)?t3e:$2e(e)?n3e:i3e}function b4e(e){return Object.create((J2e(e)?k3e:$2e(e)?E3e:x3e).prototype)}function y4e(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):F3e.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 F4e(e,t){t=t||0;for(var n=Math.max(0,e.length-t),i=new Array(n),r=0;r<n;r++)i[r]=e[r+t];return i}function k4e(e,t){if(!e)throw new Error(t)}function E4e(e){k4e(e!==1/0,"Cannot perform this action with an infinite size.")}function x4e(e){if(w3e(e)&&"string"!=typeof e)return e;if(u3e(e))return e.toArray();throw new TypeError("Invalid keyPath: expected Ordered Collection or Array: "+e)}function C4e(e){return"object"==typeof e&&(s3e(e)||Array.isArray(e)||function(e){return e&&("function"!=typeof e.constructor||"Object"===e.constructor.name)}(e))}function S4e(e){try{return"string"==typeof e?JSON.stringify(e):String(e)}catch(t){return JSON.stringify(e)}}function D4e(e,t,n){return s3e(e)?e.get(t,n):function(e,t){return s3e(e)?e.has(t):C4e(e)&&y3e.call(e,t)}(e,t)?"function"==typeof e.get?e.get(t):e[t]:n}function P4e(e){if(Array.isArray(e))return F4e(e);var t={};for(var n in e)y3e.call(e,n)&&(t[n]=e[n]);return t}function A4e(e,t,n,i){i||(i=n,n=void 0);var r=T4e(s3e(e),e,x4e(t),0,n,i);return r===N2e?n:r}function T4e(e,t,n,i,r,a){var o=t===N2e;if(i===n.length){var s=o?r:t,l=a(s);return l===s?t:l}if(!o&&!C4e(t))throw new TypeError("Cannot update within non-data-structure value in path ["+n.slice(0,i).map(S4e)+"]: "+t);var u=n[i],c=o?N2e:D4e(t,u,N2e),d=T4e(c===N2e?e:s3e(c),c,n,i+1,r,a);return d===c?t:d===N2e?function(e,t){if(!C4e(e))throw new TypeError("Cannot update non-data-structure value: "+e);if(s3e(e)){if(!e.remove)throw new TypeError("Cannot update immutable value without .remove() method: "+e);return e.remove(t)}if(!y3e.call(e,t))return e;var n=P4e(e);return Array.isArray(n)?n.splice(t,1):delete n[t],n}(t,u):function(e,t,n){if(!C4e(e))throw new TypeError("Cannot update non-data-structure value: "+e);if(s3e(e)){if(!e.set)throw new TypeError("Cannot update immutable value without .set() method: "+e);return e.set(t,n)}if(y3e.call(e,t)&&n===e[t])return e;var i=P4e(e);return i[t]=n,i}(o?e?r6e():{}:t,u,d)}function L4e(e,t){return function(e,t,n){return A4e(e,t,N2e,(function(){return n}))}(this,e,t)}function I4e(e){return function(e,t){return A4e(e,t,(function(){return N2e}))}(this,e)}function M4e(e,t,n,i){return A4e(e,[t],n,i)}function j4e(e,t,n){return 1===arguments.length?e(this):M4e(this,e,t,n)}function N4e(e,t,n){return A4e(this,e,t,n)}function R4e(e,t,n){for(var i=[],r=0;r<t.length;r++){var a=t3e(t[r]);0!==a.size&&i.push(a)}return 0===i.length?e:0!==e.toSeq().size||e.__ownerID||1!==i.length?e.withMutations((function(e){for(var t=n?function(t,i){M4e(e,i,N2e,(function(e){return e===N2e?t:n(e,t,i)}))}:function(t,n){e.set(n,t)},r=0;r<i.length;r++)i[r].forEach(t)})):e.constructor(i[0])}function O4e(e,t,n){return z4e(e,t,function(e){function t(n,i,r){return C4e(n)&&C4e(i)?z4e(n,[i],t):e?e(n,i,r):i}return t}(n))}function z4e(e,t,n){if(!C4e(e))throw new TypeError("Cannot merge into non-data-structure value: "+e);if(s3e(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 i=Array.isArray(e),r=e,a=i?n3e:t3e,o=i?function(t){r===e&&(r=P4e(r)),r.push(t)}:function(t,i){var a=y3e.call(r,i),o=a&&n?n(r[i],t,i):t;a&&o===r[i]||(r===e&&(r=P4e(r)),r[i]=o)},s=0;s<t.length;s++)a(t[s]).forEach(o);return r}function B4e(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return A4e(this,e,r6e(),(function(e){return z4e(e,t)}))}function G4e(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return A4e(this,e,r6e(),(function(e){return O4e(e,t)}))}function q4e(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this}function U4e(){return this.__ownerID?this:this.__ensureOwner(new O2e)}function H4e(){return this.__ensureOwner()}function W4e(){return this.__altered}t4e.prototype.cacheResult=e4e.prototype.cacheResult=n4e.prototype.cacheResult=i4e.prototype.cacheResult=y4e;var Y4e=function(e){function t(t){return null==t?r6e():j3e(t)&&!u3e(t)?t:r6e().withMutations((function(n){var i=e(t);E4e(i.size),i.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 r6e().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 a6e(this,e,t)},t.prototype.remove=function(e){return a6e(this,e,N2e)},t.prototype.deleteAll=function(e){var t=e3e(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):r6e()},t.prototype.sort=function(e){return A6e(f4e(this,e))},t.prototype.sortBy=function(e,t){return A6e(f4e(this,t,e))},t.prototype.map=function(e,t){return this.withMutations((function(n){n.forEach((function(i,r){n.set(r,e.call(t,i,r,n))}))}))},t.prototype.__iterator=function(e,t){return new e6e(this,e,t)},t.prototype.__iterate=function(e,t){var n=this,i=0;return this._root&&this._root.iterate((function(t){return i++,e(t[1],t[0],n)}),t),i},t.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?i6e(this.size,this._root,e,this.__hash):0===this.size?r6e():(this.__ownerID=e,this.__altered=!1,this)},t}(t3e);Y4e.isMap=j3e;var V4e=Y4e.prototype;V4e[M3e]=!0,V4e.delete=V4e.remove,V4e.removeAll=V4e.deleteAll,V4e.setIn=L4e,V4e.removeIn=V4e.deleteIn=I4e,V4e.update=j4e,V4e.updateIn=N4e,V4e.merge=V4e.concat=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return R4e(this,e)},V4e.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)},V4e.mergeDeep=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return O4e(this,e)},V4e.mergeDeepWith=function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return O4e(this,t,e)},V4e.mergeIn=B4e,V4e.mergeDeepIn=G4e,V4e.withMutations=q4e,V4e.wasAltered=W4e,V4e.asImmutable=H4e,V4e["@@transducer/init"]=V4e.asMutable=U4e,V4e["@@transducer/step"]=function(e,t){return e.set(t[0],t[1])},V4e["@@transducer/result"]=function(e){return e.asImmutable()};var K4e=function(e,t){this.ownerID=e,this.entries=t};K4e.prototype.get=function(e,t,n,i){for(var r=this.entries,a=0,o=r.length;a<o;a++)if(O3e(n,r[a][0]))return r[a][1];return i},K4e.prototype.update=function(e,t,n,i,r,a,o){for(var s=r===N2e,l=this.entries,u=0,c=l.length;u<c&&!O3e(i,l[u][0]);u++);var d=u<c;if(d?l[u][1]===r:s)return this;if(R2e(o),(s||!d)&&R2e(a),!s||1!==l.length){if(!d&&!s&&l.length>=d6e)return function(e,t,n,i){e||(e=new O2e);for(var r=new $4e(e,q3e(n),[n,i]),a=0;a<t.length;a++){var o=t[a];r=r.update(e,0,void 0,o[0],o[1])}return r}(e,l,i,r);var f=e&&e===this.ownerID,p=f?l:F4e(l);return d?s?u===c-1?p.pop():p[u]=p.pop():p[u]=[i,r]:p.push([i,r]),f?(this.entries=p,this):new K4e(e,p)}};var Q4e=function(e,t,n){this.ownerID=e,this.bitmap=t,this.nodes=n};Q4e.prototype.get=function(e,t,n,i){void 0===t&&(t=q3e(n));var r=1<<((0===e?t:t>>>e)&j2e),a=this.bitmap;return 0==(a&r)?i:this.nodes[u6e(a&r-1)].get(e+5,t,n,i)},Q4e.prototype.update=function(e,t,n,i,r,a,o){void 0===n&&(n=q3e(i));var s=(0===t?n:n>>>t)&j2e,l=1<<s,u=this.bitmap,c=0!=(u&l);if(!c&&r===N2e)return this;var d=u6e(u&l-1),f=this.nodes,p=c?f[d]:void 0,h=o6e(p,e,t+5,n,i,r,a,o);if(h===p)return this;if(!c&&h&&f.length>=f6e)return function(e,t,n,i,r){for(var a=0,o=new Array(M2e),s=0;0!==n;s++,n>>>=1)o[s]=1&n?t[a++]:void 0;return o[i]=r,new J4e(e,a+1,o)}(e,f,u,s,h);if(c&&!h&&2===f.length&&s6e(f[1^d]))return f[1^d];if(c&&h&&1===f.length&&s6e(h))return h;var g=e&&e===this.ownerID,m=c?h?u:u^l:u|l,v=c?h?c6e(f,d,h,g):function(e,t,n){var i=e.length-1;if(n&&t===i)return e.pop(),e;for(var r=new Array(i),a=0,o=0;o<i;o++)o===t&&(a=1),r[o]=e[o+a];return r}(f,d,g):function(e,t,n,i){var r=e.length+1;if(i&&t+1===r)return e[t]=n,e;for(var a=new Array(r),o=0,s=0;s<r;s++)s===t?(a[s]=n,o=-1):a[s]=e[s+o];return a}(f,d,h,g);return g?(this.bitmap=m,this.nodes=v,this):new Q4e(e,m,v)};var J4e=function(e,t,n){this.ownerID=e,this.count=t,this.nodes=n};J4e.prototype.get=function(e,t,n,i){void 0===t&&(t=q3e(n));var r=(0===e?t:t>>>e)&j2e,a=this.nodes[r];return a?a.get(e+5,t,n,i):i},J4e.prototype.update=function(e,t,n,i,r,a,o){void 0===n&&(n=q3e(i));var s=(0===t?n:n>>>t)&j2e,l=r===N2e,u=this.nodes,c=u[s];if(l&&!c)return this;var d=o6e(c,e,t+5,n,i,r,a,o);if(d===c)return this;var f=this.count;if(c){if(!d&&--f<p6e)return function(e,t,n,i){for(var r=0,a=0,o=new Array(n),s=0,l=1,u=t.length;s<u;s++,l<<=1){var c=t[s];void 0!==c&&s!==i&&(r|=l,o[a++]=c)}return new Q4e(e,r,o)}(e,u,f,s)}else f++;var p=e&&e===this.ownerID,h=c6e(u,s,d,p);return p?(this.count=f,this.nodes=h,this):new J4e(e,f,h)};var Z4e=function(e,t,n){this.ownerID=e,this.keyHash=t,this.entries=n};Z4e.prototype.get=function(e,t,n,i){for(var r=this.entries,a=0,o=r.length;a<o;a++)if(O3e(n,r[a][0]))return r[a][1];return i},Z4e.prototype.update=function(e,t,n,i,r,a,o){void 0===n&&(n=q3e(i));var s=r===N2e;if(n!==this.keyHash)return s?this:(R2e(o),R2e(a),l6e(this,e,t,n,[i,r]));for(var l=this.entries,u=0,c=l.length;u<c&&!O3e(i,l[u][0]);u++);var d=u<c;if(d?l[u][1]===r:s)return this;if(R2e(o),(s||!d)&&R2e(a),s&&2===c)return new $4e(e,this.keyHash,l[1^u]);var f=e&&e===this.ownerID,p=f?l:F4e(l);return d?s?u===c-1?p.pop():p[u]=p.pop():p[u]=[i,r]:p.push([i,r]),f?(this.entries=p,this):new Z4e(e,this.keyHash,p)};var $4e=function(e,t,n){this.ownerID=e,this.keyHash=t,this.entry=n};$4e.prototype.get=function(e,t,n,i){return O3e(n,this.entry[0])?this.entry[1]:i},$4e.prototype.update=function(e,t,n,i,r,a,o){var s=r===N2e,l=O3e(i,this.entry[0]);return(l?r===this.entry[1]:s)?this:(R2e(o),s?void R2e(a):l?e&&e===this.ownerID?(this.entry[1]=r,this):new $4e(e,this.keyHash,[i,r]):(R2e(a),l6e(this,e,t,q3e(i),[i,r])))},K4e.prototype.iterate=Z4e.prototype.iterate=function(e,t){for(var n=this.entries,i=0,r=n.length-1;i<=r;i++)if(!1===e(n[t?r-i:i]))return!1},Q4e.prototype.iterate=J4e.prototype.iterate=function(e,t){for(var n=this.nodes,i=0,r=n.length-1;i<=r;i++){var a=n[t?r-i:i];if(a&&!1===a.iterate(e,t))return!1}},$4e.prototype.iterate=function(e,t){return e(this.entry)};var X4e,e6e=function(e){function t(e,t,n){this._type=t,this._reverse=n,this._stack=e._root&&n6e(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,i=t.index++,r=void 0;if(n.entry){if(0===i)return t6e(e,n.entry)}else if(n.entries){if(i<=(r=n.entries.length-1))return t6e(e,n.entries[this._reverse?r-i:i])}else if(i<=(r=n.nodes.length-1)){var a=n.nodes[this._reverse?r-i:i];if(a){if(a.entry)return t6e(e,a.entry);t=this._stack=n6e(a,t)}continue}t=this._stack=this._stack.__prev}return{value:void 0,done:!0}},t}(p3e);function t6e(e,t){return h3e(e,t[0],t[1])}function n6e(e,t){return{node:e,index:0,__prev:t}}function i6e(e,t,n,i){var r=Object.create(V4e);return r.size=e,r._root=t,r.__ownerID=n,r.__hash=i,r.__altered=!1,r}function r6e(){return X4e||(X4e=i6e(0))}function a6e(e,t,n){var i,r;if(e._root){var a={value:!1},o={value:!1};if(i=o6e(e._root,e.__ownerID,0,void 0,t,n,a,o),!o.value)return e;r=e.size+(a.value?n===N2e?-1:1:0)}else{if(n===N2e)return e;r=1,i=new K4e(e.__ownerID,[[t,n]])}return e.__ownerID?(e.size=r,e._root=i,e.__hash=void 0,e.__altered=!0,e):i?i6e(r,i):r6e()}function o6e(e,t,n,i,r,a,o,s){return e?e.update(t,n,i,r,a,o,s):a===N2e?e:(R2e(s),R2e(o),new $4e(t,i,[r,a]))}function s6e(e){return e.constructor===$4e||e.constructor===Z4e}function l6e(e,t,n,i,r){if(e.keyHash===i)return new Z4e(t,i,[e.entry,r]);var a,o=(0===n?e.keyHash:e.keyHash>>>n)&j2e,s=(0===n?i:i>>>n)&j2e,l=o===s?[l6e(e,t,n+5,i,r)]:(a=new $4e(t,i,r),o<s?[e,a]:[a,e]);return new Q4e(t,1<<o|1<<s,l)}function u6e(e){return e=(e=(858993459&(e-=e>>1&1431655765))+(e>>2&858993459))+(e>>4)&252645135,e+=e>>8,127&(e+=e>>16)}function c6e(e,t,n,i){var r=i?e:F4e(e);return r[t]=n,r}var d6e=8,f6e=16,p6e=8,h6e="@@__IMMUTABLE_LIST__@@";function g6e(e){return Boolean(e&&e[h6e])}var m6e=function(e){function t(t){var n=k6e();if(null==t)return n;if(g6e(t))return t;var i=e(t),r=i.size;return 0===r?n:(E4e(r),r>0&&r<M2e?F6e(0,r,5,null,new _6e(i.toArray())):n.withMutations((function(e){e.setSize(r),i.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=B2e(this,e))>=0&&e<this.size){var n=C6e(this,e+=this._origin);return n&&n.array[e&j2e]}return t},t.prototype.set=function(e,t){return function(e,t,n){if((t=B2e(e,t))!=t)return e;if(t>=e.size||t<0)return e.withMutations((function(e){t<0?S6e(e,t).set(0,n):S6e(e,0,t+1).set(t,n)}));t+=e._origin;var i=e._tail,r=e._root,a={value:!1};t>=D6e(e._capacity)?i=E6e(i,e.__ownerID,0,t,n,a):r=E6e(r,e.__ownerID,e._level,t,n,a);if(!a.value)return e;if(e.__ownerID)return e._root=r,e._tail=i,e.__hash=void 0,e.__altered=!0,e;return F6e(e._origin,e._capacity,e._level,r,i)}(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):k6e()},t.prototype.push=function(){var e=arguments,t=this.size;return this.withMutations((function(n){S6e(n,0,t+e.length);for(var i=0;i<e.length;i++)n.set(t+i,e[i])}))},t.prototype.pop=function(){return S6e(this,0,-1)},t.prototype.unshift=function(){var e=arguments;return this.withMutations((function(t){S6e(t,-e.length);for(var n=0;n<e.length;n++)t.set(n,e[n])}))},t.prototype.shift=function(){return S6e(this,1)},t.prototype.concat=function(){for(var t=arguments,n=[],i=0;i<arguments.length;i++){var r=t[i],a=e("string"!=typeof r&&m3e(r)?r:[r]);0!==a.size&&n.push(a)}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 S6e(this,0,e)},t.prototype.map=function(e,t){var n=this;return this.withMutations((function(i){for(var r=0;r<n.size;r++)i.set(r,e.call(t,i.get(r),r,i))}))},t.prototype.slice=function(e,t){var n=this.size;return q2e(e,t,n)?this:S6e(this,U2e(e,n),H2e(t,n))},t.prototype.__iterator=function(e,t){var n=t?this.size:0,i=w6e(this,t);return new p3e((function(){var r=i();return r===y6e?{value:void 0,done:!0}:h3e(e,t?--n:n++,r)}))},t.prototype.__iterate=function(e,t){for(var n,i=t?this.size:0,r=w6e(this,t);(n=r())!==y6e&&!1!==e(n,t?--i:i++,this););return i},t.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?F6e(this._origin,this._capacity,this._level,this._root,this._tail,e,this.__hash):0===this.size?k6e():(this.__ownerID=e,this.__altered=!1,this)},t}(n3e);m6e.isList=g6e;var v6e=m6e.prototype;v6e[h6e]=!0,v6e.delete=v6e.remove,v6e.merge=v6e.concat,v6e.setIn=L4e,v6e.deleteIn=v6e.removeIn=I4e,v6e.update=j4e,v6e.updateIn=N4e,v6e.mergeIn=B4e,v6e.mergeDeepIn=G4e,v6e.withMutations=q4e,v6e.wasAltered=W4e,v6e.asImmutable=H4e,v6e["@@transducer/init"]=v6e.asMutable=U4e,v6e["@@transducer/step"]=function(e,t){return e.push(t)},v6e["@@transducer/result"]=function(e){return e.asImmutable()};var _6e=function(e,t){this.array=e,this.ownerID=t};_6e.prototype.removeBefore=function(e,t,n){if(n===t?1<<t:0===this.array.length)return this;var i=n>>>t&j2e;if(i>=this.array.length)return new _6e([],e);var r,a=0===i;if(t>0){var o=this.array[i];if((r=o&&o.removeBefore(e,t-5,n))===o&&a)return this}if(a&&!r)return this;var s=x6e(this,e);if(!a)for(var l=0;l<i;l++)s.array[l]=void 0;return r&&(s.array[i]=r),s},_6e.prototype.removeAfter=function(e,t,n){if(n===(t?1<<t:0)||0===this.array.length)return this;var i,r=n-1>>>t&j2e;if(r>=this.array.length)return this;if(t>0){var a=this.array[r];if((i=a&&a.removeAfter(e,t-5,n))===a&&r===this.array.length-1)return this}var o=x6e(this,e);return o.array.splice(r+1),i&&(o.array[r]=i),o};var b6e,y6e={};function w6e(e,t){var n=e._origin,i=e._capacity,r=D6e(i),a=e._tail;return o(e._root,e._level,0);function o(e,s,l){return 0===s?function(e,o){var s=o===r?a&&a.array:e&&e.array,l=o>n?0:n-o,u=i-o;u>M2e&&(u=M2e);return function(){if(l===u)return y6e;var e=t?--u:l++;return s&&s[e]}}(e,l):function(e,r,a){var s,l=e&&e.array,u=a>n?0:n-a>>r,c=1+(i-a>>r);c>M2e&&(c=M2e);return function(){for(;;){if(s){var e=s();if(e!==y6e)return e;s=null}if(u===c)return y6e;var n=t?--c:u++;s=o(l&&l[n],r-5,a+(n<<r))}}}(e,s,l)}}function F6e(e,t,n,i,r,a,o){var s=Object.create(v6e);return s.size=t-e,s._origin=e,s._capacity=t,s._level=n,s._root=i,s._tail=r,s.__ownerID=a,s.__hash=o,s.__altered=!1,s}function k6e(){return b6e||(b6e=F6e(0,0,5))}function E6e(e,t,n,i,r,a){var o,s=i>>>n&j2e,l=e&&s<e.array.length;if(!l&&void 0===r)return e;if(n>0){var u=e&&e.array[s],c=E6e(u,t,n-5,i,r,a);return c===u?e:((o=x6e(e,t)).array[s]=c,o)}return l&&e.array[s]===r?e:(a&&R2e(a),o=x6e(e,t),void 0===r&&s===o.array.length-1?o.array.pop():o.array[s]=r,o)}function x6e(e,t){return t&&e&&t===e.ownerID?e:new _6e(e?e.array.slice():[],t)}function C6e(e,t){if(t>=D6e(e._capacity))return e._tail;if(t<1<<e._level+5){for(var n=e._root,i=e._level;n&&i>0;)n=n.array[t>>>i&j2e],i-=5;return n}}function S6e(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var i=e.__ownerID||new O2e,r=e._origin,a=e._capacity,o=r+t,s=void 0===n?a:n<0?a+n:r+n;if(o===r&&s===a)return e;if(o>=s)return e.clear();for(var l=e._level,u=e._root,c=0;o+c<0;)u=new _6e(u&&u.array.length?[void 0,u]:[],i),c+=1<<(l+=5);c&&(o+=c,r+=c,s+=c,a+=c);for(var d=D6e(a),f=D6e(s);f>=1<<l+5;)u=new _6e(u&&u.array.length?[u]:[],i),l+=5;var p=e._tail,h=f<d?C6e(e,s-1):f>d?new _6e([],i):p;if(p&&f>d&&o<a&&p.array.length){for(var g=u=x6e(u,i),m=l;m>5;m-=5){var v=d>>>m&j2e;g=g.array[v]=x6e(g.array[v],i)}g.array[d>>>5&j2e]=p}if(s<a&&(h=h&&h.removeAfter(i,0,s)),o>=f)o-=f,s-=f,l=5,u=null,h=h&&h.removeBefore(i,0,o);else if(o>r||f<d){for(c=0;u;){var _=o>>>l&j2e;if(_!==f>>>l&j2e)break;_&&(c+=(1<<l)*_),l-=5,u=u.array[_]}u&&o>r&&(u=u.removeBefore(i,l,o-c)),u&&f<d&&(u=u.removeAfter(i,l,f-c)),c&&(o-=c,s-=c)}return e.__ownerID?(e.size=s-o,e._origin=o,e._capacity=s,e._level=l,e._root=u,e._tail=h,e.__hash=void 0,e.__altered=!0,e):F6e(o,s,l,u,h)}function D6e(e){return e<M2e?0:e-1>>>5<<5}var P6e,A6e=function(e){function t(e){return null==e?L6e():N3e(e)?e:L6e().withMutations((function(t){var n=t3e(e);E4e(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):L6e()},t.prototype.set=function(e,t){return I6e(this,e,t)},t.prototype.remove=function(e){return I6e(this,e,N2e)},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?T6e(t,n,e,this.__hash):0===this.size?L6e():(this.__ownerID=e,this._map=t,this._list=n,this)},t}(Y4e);function T6e(e,t,n,i){var r=Object.create(A6e.prototype);return r.size=e?e.size:0,r._map=e,r._list=t,r.__ownerID=n,r.__hash=i,r}function L6e(){return P6e||(P6e=T6e(r6e(),k6e()))}function I6e(e,t,n){var i,r,a=e._map,o=e._list,s=a.get(t),l=void 0!==s;if(n===N2e){if(!l)return e;o.size>=M2e&&o.size>=2*a.size?(i=(r=o.filter((function(e,t){return void 0!==e&&s!==t}))).toKeyedSeq().map((function(e){return e[0]})).flip().toMap(),e.__ownerID&&(i.__ownerID=r.__ownerID=e.__ownerID)):(i=a.remove(t),r=s===o.size-1?o.pop():o.set(s,void 0))}else if(l){if(n===o.get(s)[1])return e;i=a,r=o.set(s,[t,n])}else i=a.set(t,o.size),r=o.set(o.size,[t,n]);return e.__ownerID?(e.size=i.size,e._map=i,e._list=r,e.__hash=void 0,e):T6e(i,r)}A6e.isOrderedMap=N3e,A6e.prototype[l3e]=!0,A6e.prototype.delete=A6e.prototype.remove;var M6e="@@__IMMUTABLE_STACK__@@";function j6e(e){return Boolean(e&&e[M6e])}var N6e=function(e){function t(e){return null==e?B6e():j6e(e)?e:B6e().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=B2e(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,i=arguments.length-1;i>=0;i--)n={value:e[i],next:n};return this.__ownerID?(this.size=t,this._head=n,this.__hash=void 0,this.__altered=!0,this):z6e(t,n)},t.prototype.pushAll=function(t){if(0===(t=e(t)).size)return this;if(0===this.size&&j6e(t))return t;E4e(t.size);var n=this.size,i=this._head;return t.__iterate((function(e){n++,i={value:e,next:i}}),!0),this.__ownerID?(this.size=n,this._head=i,this.__hash=void 0,this.__altered=!0,this):z6e(n,i)},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):B6e()},t.prototype.slice=function(t,n){if(q2e(t,n,this.size))return this;var i=U2e(t,this.size);if(H2e(n,this.size)!==this.size)return e.prototype.slice.call(this,t,n);for(var r=this.size-i,a=this._head;i--;)a=a.next;return this.__ownerID?(this.size=r,this._head=a,this.__hash=void 0,this.__altered=!0,this):z6e(r,a)},t.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?z6e(this.size,this._head,e,this.__hash):0===this.size?B6e():(this.__ownerID=e,this.__altered=!1,this)},t.prototype.__iterate=function(e,t){var n=this;if(t)return new C3e(this.toArray()).__iterate((function(t,i){return e(t,i,n)}),t);for(var i=0,r=this._head;r&&!1!==e(r.value,i++,this);)r=r.next;return i},t.prototype.__iterator=function(e,t){if(t)return new C3e(this.toArray()).__iterator(e,t);var n=0,i=this._head;return new p3e((function(){if(i){var t=i.value;return i=i.next,h3e(e,n++,t)}return{value:void 0,done:!0}}))},t}(n3e);N6e.isStack=j6e;var R6e,O6e=N6e.prototype;function z6e(e,t,n,i){var r=Object.create(O6e);return r.size=e,r._head=t,r.__ownerID=n,r.__hash=i,r.__altered=!1,r}function B6e(){return R6e||(R6e=z6e(0))}O6e[M6e]=!0,O6e.shift=O6e.pop,O6e.unshift=O6e.push,O6e.unshiftAll=O6e.pushAll,O6e.withMutations=q4e,O6e.wasAltered=W4e,O6e.asImmutable=H4e,O6e["@@transducer/init"]=O6e.asMutable=U4e,O6e["@@transducer/step"]=function(e,t){return e.unshift(t)},O6e["@@transducer/result"]=function(e){return e.asImmutable()};var G6e="@@__IMMUTABLE_SET__@@";function q6e(e){return Boolean(e&&e[G6e])}function U6e(e){return q6e(e)&&u3e(e)}function H6e(e,t){if(e===t)return!0;if(!K2e(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||J2e(e)!==J2e(t)||$2e(e)!==$2e(t)||u3e(e)!==u3e(t))return!1;if(0===e.size&&0===t.size)return!0;var n=!X2e(e);if(u3e(e)){var i=e.entries();return t.every((function(e,t){var r=i.next().value;return r&&O3e(r[1],e)&&(n||O3e(r[0],t))}))&&i.next().done}var r=!1;if(void 0===e.size)if(void 0===t.size)"function"==typeof e.cacheResult&&e.cacheResult();else{r=!0;var a=e;e=t,t=a}var o=!0,s=t.__iterate((function(t,i){if(n?!e.has(t):r?!O3e(t,e.get(i,N2e)):!O3e(e.get(i,N2e),t))return o=!1,!1}));return o&&e.size===s}function W6e(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 Y6e(e){if(!e||"object"!=typeof e)return e;if(!K2e(e)){if(!C4e(e))return e;e=F3e(e)}if(J2e(e)){var t={};return e.__iterate((function(e,n){t[n]=Y6e(e)})),t}var n=[];return e.__iterate((function(e){n.push(Y6e(e))})),n}var V6e=function(e){function t(t){return null==t?$6e():q6e(t)&&!u3e(t)?t:$6e().withMutations((function(n){var i=e(t);E4e(i.size),i.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(t3e(e).keySeq())},t.intersect=function(e){return(e=e3e(e).toArray()).length?Q6e.intersect.apply(t(e.pop()),e):$6e()},t.union=function(e){return(e=e3e(e).toArray()).length?Q6e.union.apply(t(e.pop()),e):$6e()},t.prototype.toString=function(){return this.__toString("Set {","}")},t.prototype.has=function(e){return this._map.has(e)},t.prototype.add=function(e){return J6e(this,this._map.set(e,e))},t.prototype.remove=function(e){return J6e(this,this._map.remove(e))},t.prototype.clear=function(){return J6e(this,this._map.clear())},t.prototype.map=function(e,t){var n=this,i=[],r=[];return this.forEach((function(a){var o=e.call(t,a,a,n);o!==a&&(i.push(a),r.push(o))})),this.withMutations((function(e){i.forEach((function(t){return e.remove(t)})),r.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 i=0;i<t.length;i++)e(t[i]).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 i=[];return this.forEach((function(e){t.every((function(t){return t.includes(e)}))||i.push(e)})),this.withMutations((function(e){i.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 i=[];return this.forEach((function(e){t.some((function(t){return t.includes(e)}))&&i.push(e)})),this.withMutations((function(e){i.forEach((function(t){e.remove(t)}))}))},t.prototype.sort=function(e){return h9e(f4e(this,e))},t.prototype.sortBy=function(e,t){return h9e(f4e(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}(i3e);V6e.isSet=q6e;var K6e,Q6e=V6e.prototype;function J6e(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 Z6e(e,t){var n=Object.create(Q6e);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function $6e(){return K6e||(K6e=Z6e(r6e()))}Q6e[G6e]=!0,Q6e.delete=Q6e.remove,Q6e.merge=Q6e.concat=Q6e.union,Q6e.withMutations=q4e,Q6e.asImmutable=H4e,Q6e["@@transducer/init"]=Q6e.asMutable=U4e,Q6e["@@transducer/step"]=function(e,t){return e.add(t)},Q6e["@@transducer/result"]=function(e){return e.asImmutable()},Q6e.__empty=$6e,Q6e.__make=Z6e;var X6e,e9e=function(e){function t(e,n,i){if(!(this instanceof t))return new t(e,n,i);if(k4e(0!==i,"Cannot step a Range by 0"),e=e||0,void 0===n&&(n=1/0),i=void 0===i?1:Math.abs(i),n<e&&(i=-i),this._start=e,this._end=n,this._step=i,this.size=Math.max(0,Math.ceil((n-e)/i-1)+1),0===this.size){if(X6e)return X6e;X6e=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+B2e(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 q2e(e,n,this.size)?this:(e=U2e(e,this.size),(n=H2e(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,i=this._step,r=t?this._start+(n-1)*i:this._start,a=0;a!==n&&!1!==e(r,t?n-++a:a++,this);)r+=t?-i:i;return a},t.prototype.__iterator=function(e,t){var n=this.size,i=this._step,r=t?this._start+(n-1)*i:this._start,a=0;return new p3e((function(){if(a===n)return{value:void 0,done:!0};var o=r;return r+=t?-i:i,h3e(e,t?n-++a:a++,o)}))},t.prototype.equals=function(e){return e instanceof t?this._start===e._start&&this._end===e._end&&this._step===e._step:H6e(this,e)},t}(E3e);function t9e(e,t,n){for(var i=x4e(t),r=0;r!==i.length;)if((e=D4e(e,i[r++],N2e))===N2e)return n;return e}function n9e(){E4e(this.size);var e={};return this.__iterate((function(t,n){e[n]=t})),e}e3e.isIterable=K2e,e3e.isKeyed=J2e,e3e.isIndexed=$2e,e3e.isAssociative=X2e,e3e.isOrdered=u3e,e3e.Iterator=p3e,W6e(e3e,{toArray:function(){E4e(this.size);var e=new Array(this.size||0),t=J2e(this),n=0;return this.__iterate((function(i,r){e[n++]=t?[r,i]:i})),e},toIndexedSeq:function(){return new t4e(this)},toJS:function(){return Y6e(this)},toKeyedSeq:function(){return new e4e(this,!0)},toMap:function(){return Y4e(this.toKeyedSeq())},toObject:n9e,toOrderedMap:function(){return A6e(this.toKeyedSeq())},toOrderedSet:function(){return h9e(J2e(this)?this.valueSeq():this)},toSet:function(){return V6e(J2e(this)?this.valueSeq():this)},toSetSeq:function(){return new n4e(this)},toSeq:function(){return $2e(this)?this.toIndexedSeq():J2e(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return N6e(J2e(this)?this.valueSeq():this)},toList:function(){return m6e(J2e(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 O3e(t,e)}))},entries:function(){return this.__iterator(2)},every:function(e,t){E4e(this.size);var n=!0;return this.__iterate((function(i,r,a){if(!e.call(t,i,r,a))return n=!1,!1})),n},filter:function(e,t){return m4e(this,s4e(this,e,t,!0))},find:function(e,t,n){var i=this.findEntry(e,t);return i?i[1]:n},forEach:function(e,t){return E4e(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){E4e(this.size),e=void 0!==e?""+e:",";var t="",n=!0;return this.__iterate((function(i){n?n=!1:t+=e,t+=null!=i?i.toString():""})),t},keys:function(){return this.__iterator(0)},map:function(e,t){return m4e(this,a4e(this,e,t))},reduce:function(e,t,n){return o9e(this,e,t,n,arguments.length<2,!1)},reduceRight:function(e,t,n){return o9e(this,e,t,n,arguments.length<2,!0)},reverse:function(){return m4e(this,o4e(this,!0))},slice:function(e,t){return m4e(this,l4e(this,e,t,!0))},some:function(e,t){return!this.every(u9e(e),t)},sort:function(e){return m4e(this,f4e(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 z2e(e?this.toSeq().filter(e,t):this)},countBy:function(e,t){return function(e,t,n){var i=Y4e().asMutable();return e.__iterate((function(r,a){i.update(t.call(n,r,a,e),0,(function(e){return e+1}))})),i.asImmutable()}(this,e,t)},equals:function(e){return H6e(this,e)},entrySeq:function(){var e=this;if(e._cache)return new C3e(e._cache);var t=e.toSeq().map(l9e).toIndexedSeq();return t.fromEntrySeq=function(){return e.toSeq()},t},filterNot:function(e,t){return this.filter(u9e(e),t)},findEntry:function(e,t,n){var i=n;return this.__iterate((function(n,r,a){if(e.call(t,n,r,a))return i=[r,n],!1})),i},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(G2e,null,e)},flatMap:function(e,t){return m4e(this,function(e,t,n){var i=_4e(e);return e.toSeq().map((function(r,a){return i(t.call(n,r,a,e))})).flatten(!0)}(this,e,t))},flatten:function(e){return m4e(this,d4e(this,e,!0))},fromEntrySeq:function(){return new i4e(this)},get:function(e,t){return this.find((function(t,n){return O3e(n,e)}),void 0,t)},getIn:function(e,t){return t9e(this,e,t)},groupBy:function(e,t){return function(e,t,n){var i=J2e(e),r=(u3e(e)?A6e():Y4e()).asMutable();e.__iterate((function(a,o){r.update(t.call(n,a,o,e),(function(e){return(e=e||[]).push(i?[o,a]:a),e}))}));var a=_4e(e);return r.map((function(t){return m4e(e,a(t))})).asImmutable()}(this,e,t)},has:function(e){return this.get(e,N2e)!==N2e},hasIn:function(e){return function(e,t){return t9e(e,t,N2e)!==N2e}(this,e)},isSubset:function(e){return e="function"==typeof e.includes?e:e3e(e),this.every((function(t){return e.includes(t)}))},isSuperset:function(e){return(e="function"==typeof e.isSubset?e:e3e(e)).isSubset(this)},keyOf:function(e){return this.findKey((function(t){return O3e(t,e)}))},keySeq:function(){return this.toSeq().map(s9e).toIndexedSeq()},last:function(e){return this.toSeq().reverse().first(e)},lastKeyOf:function(e){return this.toKeyedSeq().reverse().keyOf(e)},max:function(e){return p4e(this,e)},maxBy:function(e,t){return p4e(this,t,e)},min:function(e){return p4e(this,e?c9e(e):f9e)},minBy:function(e,t){return p4e(this,t?c9e(t):f9e,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(u9e(e),t)},sortBy:function(e,t){return m4e(this,f4e(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 i=b4e(e);return i.__iterateUncached=function(i,r){var a=this;if(r)return this.cacheResult().__iterate(i,r);var o=0;return e.__iterate((function(e,r,s){return t.call(n,e,r,s)&&++o&&i(e,r,a)})),o},i.__iteratorUncached=function(i,r){var a=this;if(r)return this.cacheResult().__iterator(i,r);var o=e.__iterator(2,r),s=!0;return new p3e((function(){if(!s)return{value:void 0,done:!0};var e=o.next();if(e.done)return e;var r=e.value,l=r[0],u=r[1];return t.call(n,u,l,a)?2===i?e:h3e(i,l,u,e):(s=!1,{value:void 0,done:!0})}))},i}(this,e,t))},takeUntil:function(e,t){return this.takeWhile(u9e(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=u3e(e),n=J2e(e),i=t?1:0;return function(e,t){return t=z3e(t,3432918353),t=z3e(t<<15|t>>>-15,461845907),t=z3e(t<<13|t>>>-13,5),t=z3e((t=(t+3864292196|0)^e)^t>>>16,2246822507),t=B3e((t=z3e(t^t>>>13,3266489909))^t>>>16)}(e.__iterate(n?t?function(e,t){i=31*i+p9e(q3e(e),q3e(t))|0}:function(e,t){i=i+p9e(q3e(e),q3e(t))|0}:t?function(e){i=31*i+q3e(e)|0}:function(e){i=i+q3e(e)|0}),i)}(this))}});var i9e=e3e.prototype;i9e[V2e]=!0,i9e[f3e]=i9e.values,i9e.toJSON=i9e.toArray,i9e.__toStringMapper=S4e,i9e.inspect=i9e.toSource=function(){return this.toString()},i9e.chain=i9e.flatMap,i9e.contains=i9e.includes,W6e(t3e,{flip:function(){return m4e(this,r4e(this))},mapEntries:function(e,t){var n=this,i=0;return m4e(this,this.toSeq().map((function(r,a){return e.call(t,[a,r],i++,n)})).fromEntrySeq())},mapKeys:function(e,t){var n=this;return m4e(this,this.toSeq().flip().map((function(i,r){return e.call(t,i,r,n)})).flip())}});var r9e=t3e.prototype;r9e[Q2e]=!0,r9e[f3e]=i9e.entries,r9e.toJSON=n9e,r9e.__toStringMapper=function(e,t){return S4e(t)+": "+S4e(e)},W6e(n3e,{toKeyedSeq:function(){return new e4e(this,!1)},filter:function(e,t){return m4e(this,s4e(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,l4e(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=U2e(e,e<0?this.count():this.size);var i=this.slice(0,e);return m4e(this,1===n?i:i.concat(F4e(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,d4e(this,e,!1))},get:function(e,t){return(e=B2e(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=B2e(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=b4e(e);return n.size=e.size&&2*e.size-1,n.__iterateUncached=function(n,i){var r=this,a=0;return e.__iterate((function(e){return(!a||!1!==n(t,a++,r))&&!1!==n(e,a++,r)}),i),a},n.__iteratorUncached=function(n,i){var r,a=e.__iterator(1,i),o=0;return new p3e((function(){return(!r||o%2)&&(r=a.next()).done?r:o%2?h3e(n,o++,t):h3e(n,o++,r.value,r)}))},n}(this,e))},interleave:function(){var e=[this].concat(F4e(arguments)),t=g4e(this.toSeq(),E3e.of,e),n=t.flatten(!0);return t.size&&(n.size=t.size*e.length),m4e(this,n)},keySeq:function(){return e9e(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(F4e(arguments));return m4e(this,g4e(this,d9e,e))},zipAll:function(){var e=[this].concat(F4e(arguments));return m4e(this,g4e(this,d9e,e,!0))},zipWith:function(e){var t=F4e(arguments);return t[0]=this,m4e(this,g4e(this,e,t))}});var a9e=n3e.prototype;function o9e(e,t,n,i,r,a){return E4e(e.size),e.__iterate((function(e,a,o){r?(r=!1,n=e):n=t.call(i,n,e,a,o)}),a),n}function s9e(e,t){return t}function l9e(e,t){return[t,e]}function u9e(e){return function(){return!e.apply(this,arguments)}}function c9e(e){return function(){return-e.apply(this,arguments)}}function d9e(){return F4e(arguments)}function f9e(e,t){return e<t?1:e>t?-1:0}function p9e(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}a9e[Z2e]=!0,a9e[l3e]=!0,W6e(i3e,{get:function(e,t){return this.has(e)?e:t},includes:function(e){return this.has(e)},keySeq:function(){return this.valueSeq()}}),i3e.prototype.has=i9e.includes,i3e.prototype.contains=i3e.prototype.includes,W6e(k3e,t3e.prototype),W6e(E3e,n3e.prototype),W6e(x3e,i3e.prototype);var h9e=function(e){function t(e){return null==e?_9e():U6e(e)?e:_9e().withMutations((function(t){var n=i3e(e);E4e(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(t3e(e).keySeq())},t.prototype.toString=function(){return this.__toString("OrderedSet {","}")},t}(V6e);h9e.isOrderedSet=U6e;var g9e,m9e=h9e.prototype;function v9e(e,t){var n=Object.create(m9e);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function _9e(){return g9e||(g9e=v9e(L6e()))}m9e[l3e]=!0,m9e.zip=a9e.zip,m9e.zipWith=a9e.zipWith,m9e.__empty=_9e,m9e.__make=v9e;var b9e={exports:{}};
163
+ */function Gje(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}var qje=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 i=Object.getOwnPropertyNames(t).map((function(e){return t[e]}));if("0123456789"!==i.join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,i,r=Gje(e),a=1;a<arguments.length;a++){for(var o in n=Object(arguments[a]))zje.call(n,o)&&(r[o]=n[o]);if(Oje){i=Oje(n);for(var s=0;s<i.length;s++)Bje.call(n,i[s])&&(r[i[s]]=n[i[s]])}}return r},Uje="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",Hje=function(){};if("production"!==process.env.NODE_ENV){var Wje=Uje,Yje={},Vje=Function.call.bind(Object.prototype.hasOwnProperty);Hje=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}}function Kje(e,t,n,i,r){if("production"!==process.env.NODE_ENV)for(var a in e)if(Vje(e,a)){var o;try{if("function"!=typeof e[a]){var s=Error((i||"React class")+": "+n+" type `"+a+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[a]+"`.");throw s.name="Invariant Violation",s}o=e[a](t,a,i,n,null,Wje)}catch(e){o=e}if(!o||o instanceof Error||Hje((i||"React class")+": type specification of "+n+" `"+a+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof o+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),o instanceof Error&&!(o.message in Yje)){Yje[o.message]=!0;var l=r?r():"";Hje("Failed "+n+" type: "+o.message+(null!=l?l:""))}}}Kje.resetWarningCache=function(){"production"!==process.env.NODE_ENV&&(Yje={})};var Qje=Kje,Jje=w.default,Zje=qje,$je=Uje,Xje=Qje,eNe=Function.call.bind(Object.prototype.hasOwnProperty),tNe=function(){};function nNe(){return null}"production"!==process.env.NODE_ENV&&(tNe=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}});function iNe(){}function rNe(){}rNe.resetWarningCache=iNe;if("production"!==process.env.NODE_ENV){var aNe=w.default;Rje.exports=function(e,t){var n="function"==typeof Symbol&&Symbol.iterator,i="<<anonymous>>",r={array:l("array"),bool:l("boolean"),func:l("function"),number:l("number"),object:l("object"),string:l("string"),symbol:l("symbol"),any:s(nNe),arrayOf:function(e){return s((function(t,n,i,r,a){if("function"!=typeof e)return new o("Property `"+a+"` of component `"+i+"` has invalid PropType notation inside arrayOf.");var s=t[n];if(!Array.isArray(s))return new o("Invalid "+r+" `"+a+"` of type `"+c(s)+"` supplied to `"+i+"`, expected an array.");for(var l=0;l<s.length;l++){var u=e(s,l,i,r,a+"["+l+"]",$je);if(u instanceof Error)return u}return null}))},element:s((function(t,n,i,r,a){var s=t[n];return e(s)?null:new o("Invalid "+r+" `"+a+"` of type `"+c(s)+"` supplied to `"+i+"`, expected a single ReactElement.")})),elementType:s((function(e,t,n,i,r){var a=e[t];return Jje.isValidElementType(a)?null:new o("Invalid "+i+" `"+r+"` of type `"+c(a)+"` supplied to `"+n+"`, expected a single ReactElement type.")})),instanceOf:function(e){return s((function(t,n,r,a,s){if(!(t[n]instanceof e)){var l=e.name||i;return new o("Invalid "+a+" `"+s+"` of type `"+((u=t[n]).constructor&&u.constructor.name?u.constructor.name:i)+"` supplied to `"+r+"`, expected instance of `"+l+"`.")}var u;return null}))},node:s((function(e,t,n,i,r){return u(e[t])?null:new o("Invalid "+i+" `"+r+"` supplied to `"+n+"`, expected a ReactNode.")})),objectOf:function(e){return s((function(t,n,i,r,a){if("function"!=typeof e)return new o("Property `"+a+"` of component `"+i+"` has invalid PropType notation inside objectOf.");var s=t[n],l=c(s);if("object"!==l)return new o("Invalid "+r+" `"+a+"` of type `"+l+"` supplied to `"+i+"`, expected an object.");for(var u in s)if(eNe(s,u)){var d=e(s,u,i,r,a+"."+u,$je);if(d instanceof Error)return d}return null}))},oneOf:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&tNe(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."),nNe;function t(t,n,i,r,s){for(var l=t[n],u=0;u<e.length;u++)if(a(l,e[u]))return null;var c=JSON.stringify(e,(function(e,t){return"symbol"===d(t)?String(t):t}));return new o("Invalid "+r+" `"+s+"` of value `"+String(l)+"` supplied to `"+i+"`, expected one of "+c+".")}return s(t)},oneOfType:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&tNe("Invalid argument supplied to oneOfType, expected an instance of array."),nNe;for(var t=0;t<e.length;t++){var n=e[t];if("function"!=typeof n)return tNe("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+f(n)+" at index "+t+"."),nNe}return s((function(t,n,i,r,a){for(var s=0;s<e.length;s++)if(null==(0,e[s])(t,n,i,r,a,$je))return null;return new o("Invalid "+r+" `"+a+"` supplied to `"+i+"`.")}))},shape:function(e){return s((function(t,n,i,r,a){var s=t[n],l=c(s);if("object"!==l)return new o("Invalid "+r+" `"+a+"` of type `"+l+"` supplied to `"+i+"`, expected `object`.");for(var u in e){var d=e[u];if(d){var f=d(s,u,i,r,a+"."+u,$je);if(f)return f}}return null}))},exact:function(e){return s((function(t,n,i,r,a){var s=t[n],l=c(s);if("object"!==l)return new o("Invalid "+r+" `"+a+"` of type `"+l+"` supplied to `"+i+"`, expected `object`.");var u=Zje({},t[n],e);for(var d in u){var f=e[d];if(!f)return new o("Invalid "+r+" `"+a+"` key `"+d+"` supplied to `"+i+"`.\nBad object: "+JSON.stringify(t[n],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var p=f(s,d,i,r,a+"."+d,$je);if(p)return p}return null}))}};function a(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function o(e){this.message=e,this.stack=""}function s(e){if("production"!==process.env.NODE_ENV)var n={},r=0;function a(a,s,l,u,c,d,f){if(u=u||i,d=d||l,f!==$je){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=u+":"+l;!n[h]&&r<3&&(tNe("You are manually calling a React.PropTypes validation function for the `"+d+"` prop on `"+u+"`. 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,r++)}}return null==s[l]?a?null===s[l]?new o("The "+c+" `"+d+"` is marked as required in `"+u+"`, but its value is `null`."):new o("The "+c+" `"+d+"` is marked as required in `"+u+"`, but its value is `undefined`."):null:e(s,l,u,c,d)}var s=a.bind(null,!1);return s.isRequired=a.bind(null,!0),s}function l(e){return s((function(t,n,i,r,a,s){var l=t[n];return c(l)!==e?new o("Invalid "+r+" `"+a+"` of type `"+d(l)+"` supplied to `"+i+"`, expected `"+e+"`."):null}))}function u(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(u);if(null===t||e(t))return!0;var i=function(e){var t=e&&(n&&e[n]||e["@@iterator"]);if("function"==typeof t)return t}(t);if(!i)return!1;var r,a=i.call(t);if(i!==t.entries){for(;!(r=a.next()).done;)if(!u(r.value))return!1}else for(;!(r=a.next()).done;){var o=r.value;if(o&&!u(o[1]))return!1}return!0;default:return!1}}function c(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=c(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 o.prototype=Error.prototype,r.checkPropTypes=Xje,r.resetWarningCache=Xje.resetWarningCache,r.PropTypes=r,r}(aNe.isElement,!0)}else Rje.exports=function(){function e(e,t,n,i,r,a){if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==a){var o=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 o.name="Invariant Violation",o}}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:rNe,resetWarningCache:iNe};return n.PropTypes=n,n}();var oNe=Rje.exports,sNe=Object.freeze({__proto__:null,useCurrentUser:i0,useAccountApi:I0,useAuthenticationContext:BF,useEnvironmentConfig:Tg,useNotificationContext:P9,usePromise:IF,LinkContext:gx,TextLink:OPe,logger:im,createId:am,ResourceContext:kx,usePluginSettings:function(){var e=i.useContext(R2).settings;return null!=e?e:{}},usePluginStorage:j3,usePluginDeviceStore:j3,usePluginSubscriptionStore:function(){return i.useContext(R2).subscriptionStore},usePluginSubscriptionStoreValue:function(e,t){var n=i.useContext(R2).subscriptionStore,r=IF((function(){return n.get(e)}),void 0,aV(aV([],t||[]),[e])),a=r[0],o=r[1],s=r[2],l=r[3];return{data:a,set:function(t){return l(t),n.set(e,t)},isLoading:o,error:s,refresh:r[4],remove:function(){return l(void 0),n.delete(e)}}},usePluginUserStore:function(){return i.useContext(R2).userStore},usePluginUserStoreValue:function(e,t){var n=i.useContext(R2).userStore,r=IF((function(){return n.get(e)}),void 0,aV(aV([],t||[]),[e])),a=r[0],o=r[1],s=r[2],l=r[3];return{data:a,set:function(t){return l(t),n.set(e,t)},isLoading:o,error:s,refresh:r[4],remove:function(){return l(void 0),n.delete(e)}}},useReachApiEndPoints:function(){return{apiEndpoint:Ag().apiEndpoint}},AccountType:BX,PeoplePicker:Xye,GutterToggle:function(e){var n=e.checked,i=e.readOnly,r=e.onChange,a=e.className,o=e.iconName,s=e.activeIconName,l=e.tooltipResourceKey,u=e.ariaLabelResourceKey,c=HE().formatMessage,d=n?s||o||"CheckboxComposite":o||"Checkbox";return t.jsx(Hye,Rhe({className:a},{children:i?t.jsx(Yye,{},void 0):t.jsx(Sye,Rhe({resourceKey:l},{children:t.jsx(Wye,{iconProps:{iconName:d},onClick:function(){return r(!n)},ariaLabel:u?c({id:u}):null},void 0)}),void 0)}),void 0)},EditorSettingsDialog:qye,Spinner:o.Spinner,SelectionMode:o.SelectionMode,EditorHighlight:function(e){var n=e.tooltipResourceKey,i=e.className,r=Ohe(e,["tooltipResourceKey","className"]);return t.jsx(Sye,Rhe({resourceKey:n,className:i},{children:t.jsx(Pye,Rhe({},r,{"data-highlight-bubble":!0}),void 0)}),void 0)},useTheme:function(){return i.useContext(J6).theme},useSubscriptionHandlePathBuilder:P2});var lNe=[{name:"@reach/core",packageDefinition:Rhe({default:{}},sNe)}],uNe=[{name:"react",packageDefinition:Rhe(Rhe({},m.default),{default:m.default})},{name:"react-dom",packageDefinition:Rhe(Rhe({},y),{default:y})},{name:"react-is",packageDefinition:Rhe(Rhe({},w.default),{default:w.default})},{name:"prop-types",packageDefinition:Rhe({default:oNe},oNe)},{name:"react-router-dom",packageDefinition:Rhe({},v)},{name:"styled-components",packageDefinition:{default:_.default,createGlobalStyle:a.createGlobalStyle,css:a.css,useTheme:a.useTheme,isStyledComponent:a.isStyledComponent,keyframes:a.keyframes,withTheme:a.withTheme,ThemeProvider:a.ThemeProvider,ThemeContext:a.ThemeContext,ThemeConsumer:a.ThemeConsumer}},{name:"office-ui-fabric-react",packageDefinition:{default:{},Checkbox:o.Checkbox,Label:o.Label,PrimaryButton:o.PrimaryButton,Icon:o.Icon,Link:o.Link,TextField:o.TextField,ActionButton:o.ActionButton,IconButton:o.IconButton,DefaultButton:o.DefaultButton,Spinner:o.Spinner,Dropdown:o.Dropdown,ProgressIndicator:o.ProgressIndicator,Shimmer:o.Shimmer,ShimmerElementsGroup:o.ShimmerElementsGroup,ShimmerElementType:o.ShimmerElementType,DirectionalHint:o.DirectionalHint,PersonaSize:o.PersonaSize,TooltipHost:o.TooltipHost,DialogType:o.DialogType,Dialog:Hhe}},{name:"react-intl",packageDefinition:{default:{},FormattedMessage:cx,useIntl:HE,FormattedDate:dx,FormattedTime:fx,IntlProvider:XE}},{name:"@apollo/client",packageDefinition:{default:{},gql:UM,useQuery:function(e,t){return lj(e,t,!1)},ApolloClient:jM,ApolloProvider:XM,from:cL,ApolloLink:uL,fromPromise:iL,split:dL,HttpLink:bL,InMemoryCache:gM,useLazyQuery:function(e,t){return lj(e,t,!0)},useMutation:function(e,t){var n=i.useContext(ZM()),r=i.useState({called:!1,loading:!1}),a=r[0],o=r[1],s=t?Fa(Fa({},t),{mutation:e}):{mutation:e},l=i.useRef(),u=(l.current||(l.current=new aj({options:s,context:n,result:a,setResult:o})),l.current);return u.setOptions(s),u.context=n,i.useEffect((function(){return u.afterExecute()})),u.execute(a)},ApolloError:vM,useApolloClient:ej,useSubscription:function(e,t){var n=i.useReducer((function(e){return e+1}),0)[1],r=i.useContext(ZM()),a=t?Fa(Fa({},t),{subscription:e}):{subscription:e},o=i.useState({loading:!a.skip,error:void 0,data:void 0}),s=o[0],l=o[1],u=i.useRef(),c=(u.current||(u.current=new rj({options:a,context:r,setResult:l})),u.current);return c.setOptions(a,!0),c.context=r,__DEV__&&sj(n),i.useEffect((function(){return c.afterExecute()})),i.useEffect((function(){return function(){c.cleanup(),u.current=void 0}}),[]),c.execute(s)}}},{name:"subscriptions-transport-ws",packageDefinition:{default:{},SubscriptionClient:dN}},{name:"@apollo/client/link/ws",packageDefinition:{default:{},WebSocketLink:xN}},{name:"@apollo/client/utilities",packageDefinition:{default:{},getMainDefinition:ZA}},{name:"@apollo/client/link/context",packageDefinition:{default:{},setContext:uj}}],cNe=function(e){var n=e.onRequestToken,r=e.children,a=e.subscriptionId,o=i.useState(null),s=o[0],l=o[1],u=i.useMemo((function(){return{onRequestToken:null!=n?n:function(){return Promise.resolve(s)},getIsAuthenticated:function(){return Ea(void 0,void 0,void 0,(function(){return xa(this,(function(e){return[2,null!=n||null!=s]}))}))},getCurrentEmail:function(){return Ea(void 0,void 0,void 0,(function(){return xa(this,(function(e){return[2,null]}))}))},setToken:l,onHandleError:function(e,t){return Ea(void 0,void 0,void 0,(function(){return xa(this,(function(n){return im.error(e,t),[2,Promise.reject(e)]}))}))}}}),[a,s]);return t.jsx(zF.Provider,Fa({value:u},{children:r}),void 0)},dNe="0.4.0-preview.361",fNe="100993",pNe="01f2ee8b4c61e9b3d6726b1631c0d41999cd449a",hNe=Y,gNe=O,mNe=xn("match"),vNe=function(e){var t;return hNe(e)&&(void 0!==(t=e[mNe])?!!t:"RegExp"==gNe(e))},_Ne=xn("match"),bNe=function(e){if(vNe(e))throw TypeError("The method doesn't accept regular expressions");return e},yNe=q,wNe=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[_Ne]=!1,"/./"[e](t)}catch(e){}}return!1};cn({target:"String",proto:!0,forced:!wNe("includes")},{includes:function(e){return!!~String(yNe(this)).indexOf(bNe(e),arguments.length>1?arguments[1]:void 0)}});var FNe,kNe,ENe={configType:"local",authentication:{azuread:{clientId:"781a9147-6ddc-43fb-9cce-e01d7838ffe6",apiScope:"api://781a9147-6ddc-43fb-9cce-e01d7838ffe6/access_as_user",extraScopes:["https://graph.microsoft.com/User.Read","https://graph.microsoft.com/User.ReadBasic.All"],basePolicyUrl:"https://login.microsoftonline.com/",signInPolicy:"common"},b2c:{postLogoutRedirectUri:"https://livetilesglobal.com/products/livetiles-reach",clientId:"b13f12ba-c1c5-41da-8e22-1252b5fed0e4",basePolicyUrl:"https://condenseappexternaldev.b2clogin.com/condenseappexternaldev.onmicrosoft.com/",signInPolicy:"B2C_1_SignInSignUpPolicy",forgotPasswordPolicy:"B2C_1_ResetPasswordPolicy",apiScope:"https://condenseappexternaldev.onmicrosoft.com/web/access_as_user"},teams:{clientId:"c17acfe6-6106-47e6-b9ac-12c6a9e78db6",scopes:["email","openid","profile","offline_access"],extraScopes:["https://graph.microsoft.com/User.Read","https://graph.microsoft.com/User.ReadBasic.All"],basePolicyUrl:"https://login.microsoftonline.com/"}},apiEndpoint:"http://localhost:5000/api/v1",api2Endpoint:"http://localhost:5000/api/v2",api3Endpoint:"http://localhost:5000/api/v3",webSocketsEndpoint:"ws://localhost:5000/api/v2",productWebsite:"https://reach.livetilesglobal.com/",supportUrl:"https://support.livetilesglobal.com/hc/en-us/categories/360001273732-Reach",releaseNotesUrl:"https://support.livetilesglobal.com/hc/en-us/sections/900001715263-Reach",privacyUrl:"https://livetilesglobal.com/livetiles-privacy-policy",eulaUrl:"https://livetilesglobal.com/livetiles-privacy-policy",unsplash:{appName:"Condense",apiKey:"N/A",clientId:"8b17ad8ed176954881976b7e08a2a6305d01b9b708455c14bbd43780ff6b62ba"},canva:{apiKey:"6vvsr2srHeve85SXxMX1k1LD"},zendeskMessaging:{enable:!0,apiKey:"816bfec7-3beb-457a-a4a1-f462c9cb403f"},webAppUrl:"http://localhost:3000",hyperfish:{regionJumperUrl:"https://antrearegionjumper.azurewebsites.net/api/antrearegionjumper",regionJumperKey:"T1YDqmyQX/bXhFapRLdaPBenzRLMCCNafSVwzmwI7fYnkwj6wLL0Hg=="},maxFileSizeInMb:100,giphy:{apiKey:"idBrSgzpBdNCqLmXPRaoHz9DFGKK79wU"},userflow:{userflowToken:"ct_gjkrqpboc5edlg6vduhnxfti3e"},oneSignal:{appId:"dd89af4f-325e-447e-a030-654043cfbc6a"}},xNe={configType:"production",authentication:{azuread:{clientId:"d492530a-8cff-481c-90da-9c3c3f1be7da",apiScope:"api://d492530a-8cff-481c-90da-9c3c3f1be7da/access_as_user",extraScopes:["https://graph.microsoft.com/User.Read","https://graph.microsoft.com/User.ReadBasic.All"]},b2c:{clientId:"cc9987a7-c666-4be1-a81c-f80dba7ef2e9",basePolicyUrl:"https://condenseappexternal.b2clogin.com/condenseappexternal.onmicrosoft.com/",signInPolicy:"B2C_1_SignInSignUpPolicy",forgotPasswordPolicy:"B2C_1_ResetPasswordPolicy",apiScope:"https://condenseappexternal.onmicrosoft.com/web/access_as_user"},teams:{clientId:"a7c1920d-3ac0-42db-9757-078a2b321fd8"},teamsAustralia:{clientId:"29942469-c421-4026-92ef-9bf24a6fc08c"}},apiEndpoint:"https://api.reach.livetiles.io/api/v1",api2Endpoint:"https://api.reach.livetiles.io/api/v2",api3Endpoint:"https://api.reach.livetiles.io/api/v3",webSocketsEndpoint:"wss://ws.reach.livetiles.io/api/v2",webAppUrl:"https://reach.livetiles.io",additionalWebAppUrls:["https://app.reach.livetiles.io","https://app.condense.ch"],appInsightsKey:"c4758fee-1409-47a9-a508-03efd775256c",canva:{apiKey:"mYnapNU5aDqD-1xEMFZkpdzT"},giphy:{apiKey:"jqAFrpqGDwOFqeu8Rn6YfjRGkKhlxZyn"},userflow:{userflowToken:"ct_3um627fkk5cxvnkwawnaf2b4gy"},oneSignal:{appId:"47a684a5-e9e0-4aaf-84b8-9f3e6585b292"}},CNe=["//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"],SNe=function(e){var n=e.children,r=Ag().apiEndpoint,a=i.useMemo((function(){return function(e){return"number"!=typeof e.maxFileSizeInMb&&(e.maxFileSizeInMb=parseInt(e.maxFileSizeInMb)),e}(function(){var e=!CNe.some((function(e){return r.toLowerCase().includes(e)}));if(!e)return im.info("Will use non prod client config..."),Fa({},ENe);return Fa(Fa({},ENe),xNe)}())}),[r]);return t.jsx(Ug.Provider,Fa({value:a},{children:n}),void 0)},DNe=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 Ea(this,void 0,void 0,(function(){return xa(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 Ea(this,void 0,void 0,(function(){return xa(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}(),PNe=new DNe,ANe=function(e){var n=e.subscriptionId,i=e.children;return e.shouldUsePublicAccess?t.jsx(TNe,Fa({subscriptionId:n},{children:i}),void 0):t.jsx(t.Fragment,{children:i},void 0)},TNe=function(e){var n=e.subscriptionId,r=e.children,a=i.useContext(zF).setToken,o=vx(),s=function(){var e=eU().fetchFromApi,t=tU();return i.useMemo((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=eU().fetchFromApi,u=i.useContext(hx),c=u.handleFatalError,d=u.handleAccessDeniedError,f=IF((function(){return Ea(this,void 0,void 0,(function(){var e,t,i;return xa(this,(function(r){switch(r.label){case 0:return e="Reach::PublicAccessToken::"+n,[4,o.getString(e)];case 1:return(t=r.sent())?(a(t),[2,!0]):[4,s(n)];case 2:return r.sent().allowPublicAccess?[4,v(n)]:[3,5];case 3:return i=r.sent(),a(i),[4,o.setString(e,i)];case 4:return r.sent(),[2,!0];case 5:return[2,!1]}}))}))}),!1,[n]),p=f[0],h=f[1],g=f[2];if(g)return im.error(g),c({error:g}),null;if(h)return null;if(!p){var m={message:"Public access is not enabled for the subscription "+n+"!"};return im.error(m.message),d({error:m}),null}return t.jsx(t.Fragment,{children:r},void 0);function v(e){return l("/subscriptions/"+e+"/public_access_token").then((function(e){return e.status<=200?e.text():Promise.reject(e.status)}))}},LNe=function(e){var n=e.children,r=i.useState(),a=r[0],o=r[1],s=i.useState(),l=s[0],u=s[1],c=i.useState(),d=c[0],f=c[1],p=i.useMemo((function(){return{handleFatalError:o,handleAccessDeniedError:u,handleNotFoundError:f}}),[o,u,f]);return t.jsx(hx.Provider,Fa({value:p},{children:t.jsx(INe,Fa({fatalError:a,notFoundError:d,accessDeniedError:l},{children:n}),void 0)}),void 0)},INe=function(e){var n=e.fatalError,i=e.accessDeniedError,r=e.notFoundError,a=e.children;return n?t.jsx(MNe,{messageId:n.messageId,error:n.error},void 0):i?t.jsx(MNe,{messageId:"AccessDenied.genericMessage",error:i.error},void 0):r?t.jsx(MNe,{messageId:"NotFound.message"},void 0):t.jsx(t.Fragment,{children:a},void 0)},MNe=function(e){var n=e.messageId,r=e.error,a=HE().formatMessage,o=i.useState(!1),s=o[0],l=o[1];return t.jsx(xje,Fa({errorType:kje.GenericError,alertText:a({id:n||"FatalError.genericMessage"}),onClick:function(){return l(!s)}},{children:s&&t.jsxs(jNe,{children:[t.jsx(cx,{id:"Generic.error.details"},void 0),t.jsx(NNe,{children:JSON.stringify(r)||"Not provided"},void 0)]},void 0)}),void 0)},jNe=_.default.div.withConfig({displayName:"ReachErrorProvider__DetailsContainer",componentId:"sc-15225g3-0"})(FNe||(FNe=Ia(["\n margin-top: ","px;\n"],["\n margin-top: ","px;\n"])),o9),NNe=_.default.p.withConfig({displayName:"ReachErrorProvider__Details",componentId:"sc-15225g3-1"})(kNe||(kNe=Ia(["\n opacity: 0.4;\n font-size: small;\n"],["\n opacity: 0.4;\n font-size: small;\n"]))),RNe=function(e){var n=e.children,r=i.useMemo((function(){return{onShare:function(){return Ea(void 0,void 0,void 0,(function(){return xa(this,(function(e){return[2,null]}))}))},onOpenExternalLink:a,tryGetInternalLink:function(){return null}}}),[]);return t.jsx(gx.Provider,Fa({value:r},{children:n}),void 0);function a(e){window.open(e,"_blank")}},ONe=function(){return null},zNe=Object.freeze({__proto__:null,Page:ONe,NavLinkSidebarItem:ONe,PageMenuActionItem:ONe});!function(){if(window.__is_reach_app)return;if(console.info("Reach Component Library: "+dNe+" ("+fNe+") ["+pNe+"]"),window.__did_initialize_reach_context)return;o.initializeIcons()}();var BNe=function(e){var n,r=e.children,a=i.useContext(J6).setTheme,o=M0().getCurrentUser,s=IF((function(){var e;return Ea(this,void 0,void 0,(function(){var t,n;return xa(this,(function(i){switch(i.label){case 0:return i.trys.push([0,2,,3]),[4,o()];case 1:return t=i.sent(),(null===(e=null==t?void 0:t.subscription)||void 0===e?void 0:e.theme)&&a(t.subscription.theme),[2,t];case 2:throw n=i.sent(),im.error(n),n;case 3:return[2]}}))}))})),l=s[0],u=s[1],c=s[2],d=s[3],f=i.useContext(hx),p=f.handleFatalError,h=f.handleNotFoundError,g=f.handleAccessDeniedError,m=i.useMemo((function(){return{user:l,refreshUser:function(e){return Promise.resolve(e&&d(e))}}}),[l]);return c?(403===(null===(n=null==c?void 0:c.response)||void 0===n?void 0:n.statusCode)?g({error:c}):p({error:c}),null):u?null:null==l?(h({}),null):t.jsx(t0.Provider,Fa({value:m},{children:r}),void 0)},GNe=function(){return i.useEffect((function(){var e=document.createElement("style");e.innerHTML="@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700');",document.head.appendChild(e)}),[]),t.jsxs(t.Fragment,{children:[t.jsx(cV,{},void 0),t.jsx(fV,{},void 0)]},void 0)};var qNe=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,UNe=/[\0-\x1F\x7F-\x9F]/,HNe=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,WNe=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\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 YNe(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 VNe(e){return Object.prototype.toString.call(e)}function KNe(e){return"[object Function]"===VNe(e)}function QNe(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var JNe={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};var ZNe={"http:":{validate:function(e,t,n){var i=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(i)?i.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,n){var i=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(i)?t>=3&&":"===e[t-3]||t>=3&&"/"===e[t-3]?0:i.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,n){var i=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(i)?i.match(n.re.mailto)[0].length:0}}},$Ne="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function XNe(e){var t=e.re=function(e){var t={};return t.src_Any=qNe.source,t.src_Cc=UNe.source,t.src_Z=HNe.source,t.src_P=WNe.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 i(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(i(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(i(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(i(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(i(t.tpl_host_fuzzy_test),"i");var r=[];function a(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 i={validate:null,link:null};if(e.__compiled__[t]=i,function(e){return"[object Object]"===VNe(e)}(n))return!function(e){return"[object RegExp]"===VNe(e)}(n.validate)?KNe(n.validate)?i.validate=n.validate:a(t,n):i.validate=function(e){return function(t,n){var i=t.slice(n);return e.test(i)?i.match(e)[0].length:0}}(n.validate),void(KNe(n.normalize)?i.normalize=n.normalize:n.normalize?a(t,n):i.normalize=function(e,t){t.normalize(e)});!function(e){return"[object String]"===VNe(e)}(n)?a(t,n):r.push(t)}})),r.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 o=Object.keys(e.__compiled__).filter((function(t){return t.length>0&&e.__compiled__[t]})).map(QNe).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+o+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+o+")","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 eRe(e,t){var n=e.__index__,i=e.__last_index__,r=e.__text_cache__.slice(n,i);this.schema=e.__schema__.toLowerCase(),this.index=n+t,this.lastIndex=i+t,this.raw=r,this.text=r,this.url=r}function tRe(e,t){var n=new eRe(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function nRe(e,t){if(!(this instanceof nRe))return new nRe(e,t);t||function(e){return Object.keys(e||{}).reduce((function(e,t){return e||JNe.hasOwnProperty(t)}),!1)}(e)&&(t=e,e={}),this.__opts__=YNe({},JNe,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=YNe({},ZNe,e),this.__compiled__={},this.__tlds__=$Ne,this.__tlds_replaced__=!1,this.re={},XNe(this)}nRe.prototype.add=function(e,t){return this.__schemas__[e]=t,XNe(this),this},nRe.prototype.set=function(e){return this.__opts__=YNe(this.__opts__,e),this},nRe.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var t,n,i,r,a,o,s,l;if(this.re.schema_test.test(e))for((s=this.re.schema_search).lastIndex=0;null!==(t=s.exec(e));)if(r=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+r;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(l=e.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||l<this.__index__)&&null!==(n=e.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))&&(a=n.index+n[1].length,(this.__index__<0||a<this.__index__)&&(this.__schema__="",this.__index__=a,this.__last_index__=n.index+n[0].length)),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&e.indexOf("@")>=0&&null!==(i=e.match(this.re.email_fuzzy))&&(a=i.index+i[1].length,o=i.index+i[0].length,(this.__index__<0||a<this.__index__||a===this.__index__&&o>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=a,this.__last_index__=o)),this.__index__>=0},nRe.prototype.pretest=function(e){return this.re.pretest.test(e)},nRe.prototype.testSchemaAt=function(e,t,n){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,n,this):0},nRe.prototype.match=function(e){var t=0,n=[];this.__index__>=0&&this.__text_cache__===e&&(n.push(tRe(this,t)),t=this.__last_index__);for(var i=t?e.slice(t):e;this.test(i);)n.push(tRe(this,t)),i=i.slice(this.__last_index__),t+=this.__last_index__;return n.length?n:null},nRe.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(),XNe(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,XNe(this),this)},nRe.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},nRe.prototype.onCompile=function(){};var iRe=nRe;function rRe(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 aRe(){return aRe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},aRe.apply(this,arguments)}function oRe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sRe(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function lRe(e,t,n){return t&&sRe(e.prototype,t),n&&sRe(e,n),e}function uRe(e){return uRe="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},uRe(e)}function cRe(e){return cRe="function"==typeof Symbol&&"symbol"===uRe(Symbol.iterator)?function(e){return uRe(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":uRe(e)},cRe(e)}function dRe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fRe(e,t){return!t||"object"!==cRe(t)&&"function"!=typeof t?dRe(e):t}function pRe(e){return pRe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},pRe(e)}function hRe(e,t){return hRe=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},hRe(e,t)}function gRe(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&&hRe(e,t)}function mRe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function vRe(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],i=!0,r=!1,a=void 0;try{for(var o,s=e[Symbol.iterator]();!(i=(o=s.next()).done)&&(n.push(o.value),!t||n.length!==t);i=!0);}catch(e){r=!0,a=e}finally{try{i||null==s.return||s.return()}finally{if(r)throw a}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function _Re(e,t){if(null==e)return{};var n,i,r=function(e,t){if(null==e)return{};var n,i,r={},a=Object.keys(e);for(i=0;i<a.length;i++)n=a[i],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)n=a[i],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function bRe(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function yRe(e){return function(e){if(Array.isArray(e))return bRe(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 bRe(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)?bRe(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 wRe=function(e){return e===Object(e)?Object.keys(e):[]},FRe=function(e){return e===Object(e)?Object.values(e):[]};function kRe(e,t){var n=Object.assign({},e);return CRe(e)&&CRe(t)&&wRe(t).forEach((function(i){CRe(t[i])&&i in e?n[i]=kRe(e[i],t[i]):Object.assign(n,H8({},i,t[i]))})),n}var ERe=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];return n.reduce((function(e,t){return kRe(e,t)}),e)},xRe=function(e,t){var n=Object.assign({},e);if(t)for(var i=0;i<t.length;i++)delete n[t[i]];return n},CRe=function(e){return!(e!==Object(e)||e instanceof Date||Array.isArray(e))},SRe=function(e){return(e||[]).filter(Boolean)},DRe=function(e){return"&"===e[0]},PRe=function(e){return!DRe(e)},ARe=function(e){return e.replace(/-(\w)/g,(function(e,t){return t.toUpperCase()}))},TRe=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=wRe(e),i={},r=0,a=n.length;r<a;r+=1){var o=n[r],s="[object Object]"!==Object.prototype.toString.call(e[o])||":"===o[0]||"@"===o[0]||t.indexOf(o)>=0;s&&(i[o]=e[o])}return i},LRe=function(e,t){for(var n=t.map(ARe),i=wRe(e),r={},a=0,o=i.length;a<o;a+=1){var s=i[a];(t.indexOf(s)>=0||n.indexOf(ARe(s))>=0)&&(r[s]=e[s])}return r},IRe=function e(t,n){for(var i=ERe.apply(void 0,[{},xRe(t,n)].concat(yRe(FRe(LRe(t,n))))),r=wRe(i).filter(DRe),a=0,o=r.length;a<o;a+=1){var s=r[a],l=e(i[s],n);n.indexOf(s)>=0?(delete i[s],i=ERe({},i,l)):i[s]=l}return i};function MRe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function jRe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?MRe(Object(n),!0).forEach((function(t){H8(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):MRe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var NRe=["animationName"],RRe=function(e){var t=e.style,n=e.className;return jRe(jRe({},t?{style:TRe(t,NRe)}:{}),n?{className:n}:{})},ORe=i.createContext(RRe);ORe.Provider;var zRe=function(e){if(!e)return[];if("string"==typeof e)return[e];if(!Array.isArray(e)){var t=e;return wRe(e).reduce((function(e,n){return e.concat(t[n]?[n]:[])}),[])}return e},BRe={},GRe=function(e){return function(t,n){var i,r=n||BRe;e.memoize=e.memoize||new WeakMap,e.memoize.has(r)?i=e.memoize.get(r):(i={},e.memoize.set(r,i));var a=zRe(t).join(" ");return a in i?i[a]:i[a]=e(t||[],n)}};function qRe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function URe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?qRe(Object(n),!0).forEach((function(t){H8(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):qRe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var HRe=function(e){var t=e&&wRe(e)[0];return t&&t.split("__")[0].split("--")[0]},WRe=function(e,t,n){if(e){var i=e.split(" ")[0],r=[].concat(yRe(0===t.length?n.map((function(e){return"".concat(i,"--").concat(e.substring(1))})):[]),yRe(t.map((function(e){return"".concat(i,"__").concat(e)}))));return 0===t.length?[e].concat(yRe(r)):r}};function YRe(e){var t=e.style,n=e.className,i=e.classNames,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:RRe,a=n||HRe(i)||(null==t?void 0:t.className),o="function"==typeof t?t:GRe((function(e,n){var o=zRe(e);jhe(Array.isArray(o),"First parameter must be a string, an array of strings, a plain object with boolean values, or a falsy value."),jhe(!n||CRe(n),"Optional second parameter must be a plain object.");var s=o.filter(DRe),l=o.filter(PRe),u=l.length>0?function(e){return FRe(LRe(e,l))}:function(e){return[e]},c=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return u(IRe(e,s))},d=WRe(a,l,s);return YRe(URe(URe(URe({},(t||n)&&{style:ERe.apply(void 0,[{}].concat(yRe(c(n)),yRe(c(t))))}),d&&{className:d.join(" ")}),i&&{classNames:i}),r)})),s=URe({},"function"==typeof t?t:{style:t}),l=yRe(new Set([].concat(yRe(s.className?s.className.split(" "):[]),yRe(a?a.split(" "):[])))),u=i?SRe(l.map((function(e){return i[e]}))):l,c=r(URe(URe({},s),u.length>0?{className:u.join(" ")}:{}));return Object.assign(o,c),o}function VRe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function KRe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?VRe(Object(n),!0).forEach((function(t){H8(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):VRe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var QRe=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 KRe(KRe(KRe({},e),"function"==typeof t?t:{}),{},{style:KRe(KRe({},e.style),"function"==typeof t?t.style:t)})}),{})},JRe=function(e,t,n){var r=t.style,a=t.className,o=t.classNames,s=i.useContext(ORe);return i.useMemo((function(){return YRe({style:r,className:a,classNames:o},s)}),[r,a,o,s])(n,e)},ZRe=function(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")},$Re="__id__",XRe="__display__",eOe=function(e,t){jhe("id"===t||"display"===t,'Second arg must be either "id" or "display", got: "'.concat(t,'"'));var n=e.indexOf(XRe),i=e.indexOf($Re);return n<0&&(n=null),i<0&&(i=null),jhe(null!==n||null!==i,"The markup '".concat(e,"' does not contain either of the placeholders '__id__' or '__display__'")),null!==n&&null!==i?"id"===t&&i<=n||"display"===t&&n<=i?0:1:0},tOe=function(e){var t=/^\/(.+)\/(\w+)?$/;return new RegExp(e.map((function(e){var n=vRe(t.exec(e.toString()),3),i=n[1],r=n[2];return jhe(!r,"RegExp flags are not supported. Change /".concat(i,"/").concat(r," into /").concat(i,"/")),"(".concat(i,")")})).join("|"),"g")},nOe=function(e){var t=0;return e.indexOf("__id__")>=0&&t++,e.indexOf("__display__")>=0&&t++,t},iOe=function(){},rOe=function(e,t,n){for(var i,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:iOe,a=tOe(t.map((function(e){return e.regex}))),o=2,s=t.map((function(e){var t=e.markup,n=o;return o+=nOe(t)+1,n})),l=0,u=0;null!==(i=a.exec(e));){var c=s.find((function(e){return!!i[e]})),d=s.indexOf(c),f=t[d],p=f.markup,h=f.displayTransform,g=c+eOe(p,"id"),m=c+eOe(p,"display"),v=i[g],_=h(v,i[m]),b=e.substring(l,i.index);r(b,l,u),u+=b.length,n(i[0],i.index,u,v,_,d,l),u+=_.length,l=a.lastIndex}l<e.length&&r(e.substring(l),l,u)},aOe=function(e,t){var n="";return rOe(e,t,(function(e,t,i,r,a){n+=a}),(function(e){n+=e})),n},oOe=function(e,t,n){var i,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"START";if("number"!=typeof n)return n;var a=function(e,t,r){void 0===i&&r+e.length>=n&&(i=t+n-r)},o=function(e,t,a,o,s,l,u){void 0===i&&a+s.length>n&&(i="NULL"===r?null:t+("END"===r?e.length:0))};return rOe(e,t,o,a),void 0===i?e.length:i},sOe=function(e,t,n,i){return e.substring(0,t)+i+e.substring(n)},lOe=function(e,t){var n=[];return rOe(e,t,(function(e,t,i,r,a,o,s){n.push({id:r,display:a,childIndex:o,index:t,plainTextIndex:i})})),n},uOe=function(e,t){return"".concat(e,"-").concat(t)},cOe=function(e){return Object.values(e).reduce((function(e,t){return e+t.results.length}),0)},dOe=function(e){var t=ZRe(e),n=e[e.indexOf(XRe)+XRe.length],i=e[e.indexOf($Re)+$Re.length];return new RegExp(t.replace(XRe,"([^".concat(ZRe(n||""),"]+?)")).replace($Re,"([^".concat(ZRe(i||""),"]+?)")))},fOe=function(e){return i.Children.toArray(e).map((function(e){var t=e.props,n=t.markup,i=t.regex,r=t.displayTransform;return{markup:n,regex:i?pOe(i,n):dOe(n),displayTransform:r||function(e,t){return t||e}}}))},pOe=function(e,t){var n=new RegExp(e.toString()+"|").exec("").length-1,i=nOe(t);return jhe(n===i,"Number of capturing groups in RegExp ".concat(e.toString()," (").concat(n,") does not match the number of placeholders in the markup '").concat(t,"' (").concat(i,")")),e},hOe=[{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}],gOe=function(e){return function(e){var t=e;return hOe.forEach((function(e){t=t.replace(e.letters,e.base)})),t}(e).toLowerCase()},mOe=function(e,t,n){return n?gOe(e).indexOf(gOe(t)):e.toLowerCase().indexOf(t.toLowerCase())},vOe=function(e){return"number"==typeof e},_Oe=function(e){return e===Object(e)?Object.keys(e):[]},bOe=function(e){for(var t,n=arguments.length,i=new Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];var a=(t=[]).concat.apply(t,i);return Object.keys(e).reduce((function(t,n){return e.hasOwnProperty(n)&&!a.includes(n)&&void 0!==e[n]&&(t[n]=e[n]),t}),{})};function yOe(e,t){return function(n){var i=function(i){var r=i.style,a=i.className,o=i.classNames,s=_Re(i,["style","className","classNames"]),l=t?t(s):void 0,u=JRe(e,{style:r,className:a,classNames:o},l);return m.default.createElement(n,aRe({},s,{style:u}))},r=n.displayName||n.name||"Component";return i.displayName="defaultStyle(".concat(r,")"),i}}var wOe=function(e){function t(){var e;return oRe(this,t),mRe(dRe(e=fRe(this,pRe(t).apply(this,arguments))),"setCaretElement",(function(t){e.caretElement=t})),e.state={left:void 0,top:void 0},e}return gRe(t,e),lRe(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 i={left:t,top:n};this.setState(i),this.props.onCaretPositionChange(i)}}}},{key:"render",value:function(){var e,t=this,n=this.props,i=n.selectionStart,r=n.selectionEnd,a=n.value,o=n.style,s=n.children,l=n.containerRef,u=fOe(s);i===r&&(e=oOe(a,u,i,"START"));var c=[],d={},f=c,p=0;return rOe(a,u,(function(e,n,i,r,a,o,s){var l=function(e,t){return e.hasOwnProperty(t)?e[t]++:e[t]=0,t+"_"+e[t]}(d,r);f.push(t.getMentionComponentForMatch(r,a,o,l))}),(function(n,i,r){if(vOe(e)&&e>=i&&e<=i+n.length){var a=e-i;f.push(t.renderSubstring(n.substring(0,a),p)),f=[t.renderSubstring(n.substring(a),p)]}else f.push(t.renderSubstring(n,p));p++})),f.push(" "),f!==c&&c.push(this.renderHighlighterCaret(f)),m.default.createElement("div",aRe({},o,{ref:l}),c)}},{key:"renderSubstring",value:function(e,t){return m.default.createElement("span",aRe({},this.props.style("substring"),{key:t}),e)}},{key:"getMentionComponentForMatch",value:function(e,t,n,r){var a={id:e,display:t,key:r},o=i.Children.toArray(this.props.children)[n];return m.default.cloneElement(o,a)}},{key:"renderHighlighterCaret",value:function(e){return m.default.createElement("span",aRe({},this.props.style("caret"),{ref:this.setCaretElement,key:"caret"}),e)}}]),t}(i.Component);mRe(wOe,"propTypes",{selectionStart:NW.number,selectionEnd:NW.number,value:NW.string.isRequired,onCaretPositionChange:NW.func.isRequired,containerRef:NW.oneOfType([NW.func,NW.shape({current:"undefined"==typeof Element?NW.any:NW.instanceOf(Element)})]),children:NW.oneOfType([NW.element,NW.arrayOf(NW.element)]).isRequired}),mRe(wOe,"defaultProps",{value:""});var FOe=yOe({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}}))(wOe),kOe=function(e){function t(){return oRe(this,t),fRe(this,pRe(t).apply(this,arguments))}return gRe(t,e),lRe(t,[{key:"render",value:function(){var e=bOe(this.props,["style","classNames","className"],_Oe(t.propTypes));return m.default.createElement("li",aRe({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,i=e.suggestion,r=e.index,a=e.focused,o=this.getDisplay(),s=this.renderHighlightedDisplay(o,t);return n?n(i,t,s,r,a):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,i=t.query,r=t.style,a=mOe(e,i,n);return-1===a?m.default.createElement("span",r("display"),e):m.default.createElement("span",r("display"),e.substring(0,a),m.default.createElement("b",r("highlight"),e.substring(a,a+i.length)),e.substring(a+i.length))}}]),t}(i.Component);mRe(kOe,"propTypes",{id:NW.string.isRequired,query:NW.string.isRequired,index:NW.number.isRequired,ignoreAccents:NW.bool,suggestion:NW.oneOfType([NW.string,NW.shape({id:NW.oneOfType([NW.string,NW.number]).isRequired,display:NW.string})]).isRequired,renderSuggestion:NW.func,focused:NW.bool});var EOe=yOe({cursor:"pointer"},(function(e){return{"&focused":e.focused}}))(kOe);function xOe(){var e=JRe(),t=e("spinner");return m.default.createElement("div",e,m.default.createElement("div",t,m.default.createElement("div",t(["element","element1"])),m.default.createElement("div",t(["element","element2"])),m.default.createElement("div",t(["element","element3"])),m.default.createElement("div",t(["element","element4"])),m.default.createElement("div",t(["element","element5"]))))}var COe=function(e){function t(){var e,n;oRe(this,t);for(var i=arguments.length,r=new Array(i),a=0;a<i;a++)r[a]=arguments[a];return mRe(dRe(n=fRe(this,(e=pRe(t)).call.apply(e,[this].concat(r)))),"handleMouseEnter",(function(e,t){n.props.onMouseEnter&&n.props.onMouseEnter(e)})),mRe(dRe(n),"select",(function(e,t){n.props.onSelect(e,t)})),mRe(dRe(n),"setUlElement",(function(e){n.ulElement=e})),n}return gRe(t,e),lRe(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,i=t.bottom,r=this.ulElement.getBoundingClientRect().top;i=i-r+e,(n=n-r+e)<e?this.ulElement.scrollTop=n:i>this.ulElement.offsetHeight&&(this.ulElement.scrollTop=i-this.ulElement.offsetHeight)}}},{key:"render",value:function(){var e=this.props,t=e.id,n=e.a11ySuggestionsListLabel,i=e.isOpened,r=e.style,a=e.onMouseDown,o=e.containerRef,s=e.position,l=e.left,u=e.top;return i?m.default.createElement("div",aRe({},QRe({position:s||"absolute",left:l,top:u},r),{onMouseDown:a,ref:o}),m.default.createElement("ul",aRe({ref:this.setUlElement,id:t,role:"listbox","aria-label":n},r("list")),this.renderSuggestions()),this.renderLoadingIndicator()):null}},{key:"renderSuggestions",value:function(){var e=this;return Object.values(this.props.suggestions).reduce((function(t,n){var i=n.results,r=n.queryInfo;return[].concat(rRe(t),rRe(i.map((function(n,i){return e.renderSuggestion(n,r,t.length+i)}))))}),[])}},{key:"renderSuggestion",value:function(e,t,n){var r=this,a=n===this.props.focusIndex,o=t.childIndex,s=t.query,l=i.Children.toArray(this.props.children)[o].props.renderSuggestion,u=this.props.ignoreAccents;return m.default.createElement(EOe,{style:this.props.style("item"),key:"".concat(o,"-").concat(SOe(e)),id:uOe(this.props.id,n),query:s,index:n,ignoreAccents:u,renderSuggestion:l,suggestion:e,focused:a,onClick:function(){return r.select(e,t)},onMouseEnter:function(){return r.handleMouseEnter(n)}})}},{key:"renderLoadingIndicator",value:function(){if(this.props.isLoading)return m.default.createElement(xOe,{style:this.props.style("loadingIndicator")})}}]),t}(i.Component);mRe(COe,"propTypes",{id:NW.string.isRequired,suggestions:NW.object.isRequired,a11ySuggestionsListLabel:NW.string,focusIndex:NW.number,position:NW.string,left:NW.number,top:NW.number,scrollFocusedIntoView:NW.bool,isLoading:NW.bool,isOpened:NW.bool.isRequired,onSelect:NW.func,ignoreAccents:NW.bool,containerRef:NW.oneOfType([NW.func,NW.shape({current:"undefined"==typeof Element?NW.any:NW.instanceOf(Element)})]),children:NW.oneOfType([NW.element,NW.arrayOf(NW.element)]).isRequired}),mRe(COe,"defaultProps",{suggestions:{},onSelect:function(){return null}});var SOe=function(e){return"string"==typeof e?e:e.id},DOe=yOe({zIndex:1,backgroundColor:"white",marginTop:14,minWidth:100,list:{margin:0,padding:0,listStyleType:"none"}})(COe);function POe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function AOe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?POe(n,!0).forEach((function(t){mRe(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):POe(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var TOe={TAB:9,RETURN:13,ESC:27,UP:38,DOWN:40},LOe=!1,IOe={singleLine:NW.bool,allowSpaceInQuery:NW.bool,allowSuggestionsAboveCursor:NW.bool,forceSuggestionsAboveCursor:NW.bool,ignoreAccents:NW.bool,a11ySuggestionsListLabel:NW.string,value:NW.string,onKeyDown:NW.func,onSelect:NW.func,onBlur:NW.func,onChange:NW.func,suggestionsPortalHost:"undefined"==typeof Element?NW.any:NW.PropTypes.instanceOf(Element),inputRef:NW.oneOfType([NW.func,NW.shape({current:"undefined"==typeof Element?NW.any:NW.instanceOf(Element)})]),children:NW.oneOfType([NW.element,NW.arrayOf(NW.element)]).isRequired},MOe=function(e){function t(e){var n;return oRe(this,t),mRe(dRe(n=fRe(this,pRe(t).call(this,e))),"setContainerElement",(function(e){n.containerElement=e})),mRe(dRe(n),"getInputProps",(function(){var e=n.props,t=e.readOnly,i=e.disabled,r=e.style;return AOe({},bOe(n.props,["style","classNames","className"],_Oe(IOe)),{},r("input"),{value:n.getPlainText()},!t&&!i&&{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":uOe(n.uuidSuggestionsOverlay,n.state.focusIndex)})})),mRe(dRe(n),"renderControl",(function(){var e=n.props,t=e.singleLine,i=e.style,r=n.getInputProps();return m.default.createElement("div",i("control"),n.renderHighlighter(),t?n.renderInput(r):n.renderTextarea(r))})),mRe(dRe(n),"renderInput",(function(e){return m.default.createElement("input",aRe({type:"text",ref:n.setInputRef},e))})),mRe(dRe(n),"renderTextarea",(function(e){return m.default.createElement("textarea",aRe({ref:n.setInputRef},e))})),mRe(dRe(n),"setInputRef",(function(e){n.inputElement=e;var t=n.props.inputRef;"function"==typeof t?t(e):t&&(t.current=e)})),mRe(dRe(n),"setSuggestionsElement",(function(e){n.suggestionsElement=e})),mRe(dRe(n),"renderSuggestionsOverlay",(function(){if(!vOe(n.state.selectionStart))return null;var e=n.state.suggestionsPosition,t=e.position,i=e.left,r=e.top,a=m.default.createElement(DOe,{id:n.uuidSuggestionsOverlay,style:n.props.style("suggestions"),position:t,left:i,top:r,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?b.default.createPortal(a,n.props.suggestionsPortalHost):a})),mRe(dRe(n),"renderHighlighter",(function(){var e=n.state,t=e.selectionStart,i=e.selectionEnd,r=n.props,a=r.singleLine,o=r.children,s=r.value,l=r.style;return m.default.createElement(FOe,{containerRef:n.setHighlighterElement,style:l("highlighter"),value:s,singleLine:a,selectionStart:t,selectionEnd:i,onCaretPositionChange:n.handleCaretPositionChange},o)})),mRe(dRe(n),"setHighlighterElement",(function(e){n.highlighterElement=e})),mRe(dRe(n),"handleCaretPositionChange",(function(e){n.setState({caretPosition:e})})),mRe(dRe(n),"getPlainText",(function(){return aOe(n.props.value||"",fOe(n.props.children))})),mRe(dRe(n),"executeOnChange",(function(e){for(var t=arguments.length,i=new Array(t>1?t-1:0),r=1;r<t;r++)i[r-1]=arguments[r];var a,o;return n.props.onChange?(a=n.props).onChange.apply(a,[e].concat(i)):n.props.valueLink?(o=n.props.valueLink).requestChange.apply(o,[e.target.value].concat(i)):void 0})),mRe(dRe(n),"handleChange",(function(e){if(LOe=!1,(document.activeElement&&document.activeElement.contentDocument||document).activeElement===e.target){var t=n.props.value||"",i=fOe(n.props.children),r=e.target.value,a=function(e,t,n,i){var r=n.selectionStartBefore,a=n.selectionEndBefore,o=n.selectionEndAfter,s=aOe(e,i),l=s.length-t.length;"undefined"===r&&(r=o+l),"undefined"===a&&(a=r),r===a&&a===o&&s.length===t.length&&(r-=1);var u=t.slice(r,o),c=Math.min(r,o),d=a;r===o&&(d=Math.max(a,r+l));var f=oOe(e,i,c,"START"),p=oOe(e,i,d,"END"),h=oOe(e,i,c,"NULL"),g=oOe(e,i,d,"NULL"),m=null===h||null===g,v=sOe(e,f,p,u);if(!m){var _=aOe(v,i);if(_!==t){for(c=0;t[c]===_[c];)c++;u=t.slice(c,o),d=s.lastIndexOf(t.substring(o)),f=oOe(e,i,c,"START"),p=oOe(e,i,d,"END"),v=sOe(e,f,p,u)}}return v}(t,r,{selectionStartBefore:n.state.selectionStart,selectionEndBefore:n.state.selectionEnd,selectionEndAfter:e.target.selectionEnd},i);r=aOe(a,i);var o=e.target.selectionStart,s=e.target.selectionEnd,l=!1,u=function(e,t,n){var i=n,r=!1;if(rOe(e,t,(function(e,t,a,o,s,l,u){a<=n&&a+s.length>n&&(i=a,r=!0)})),r)return i}(t,i,o);void 0!==u&&n.state.selectionEnd>u&&(s=o=u,l=!0),n.setState({selectionStart:o,selectionEnd:s,setSelectionAfterMentionChange:l});var c=lOe(a,i),d={target:{value:a}};n.executeOnChange(d,a,r,c)}})),mRe(dRe(n),"handleSelect",(function(e){if(n.setState({selectionStart:e.target.selectionStart,selectionEnd:e.target.selectionEnd}),!LOe){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)}})),mRe(dRe(n),"handleKeyDown",(function(e){if(0!==cOe(n.state.suggestions)&&n.suggestionsElement)switch(Object.values(TOe).indexOf(e.keyCode)>=0&&(e.preventDefault(),e.stopPropagation()),e.keyCode){case TOe.ESC:return void n.clearSuggestions();case TOe.DOWN:return void n.shiftFocus(1);case TOe.UP:return void n.shiftFocus(-1);case TOe.RETURN:case TOe.TAB:return void n.selectFocused();default:return}else n.props.onKeyDown(e)})),mRe(dRe(n),"shiftFocus",(function(e){var t=cOe(n.state.suggestions);n.setState({focusIndex:(t+n.state.focusIndex+e)%t,scrollFocusedIntoView:!0})})),mRe(dRe(n),"selectFocused",(function(){var e=n.state,t=e.suggestions,i=e.focusIndex,r=Object.values(t).reduce((function(e,t){var n=t.results,i=t.queryInfo;return[].concat(rRe(e),rRe(n.map((function(e){return{result:e,queryInfo:i}}))))}),[])[i],a=r.result,o=r.queryInfo;n.addMention(a,o),n.setState({focusIndex:0})})),mRe(dRe(n),"handleBlur",(function(e){var t=n._suggestionsMouseDown;n._suggestionsMouseDown=!1,t||n.setState({selectionStart:null,selectionEnd:null}),window.setTimeout((function(){n.updateHighlighterScroll()}),1),n.props.onBlur(e,t)})),mRe(dRe(n),"handleSuggestionsMouseDown",(function(e){n._suggestionsMouseDown=!0})),mRe(dRe(n),"handleSuggestionsMouseEnter",(function(e){n.setState({focusIndex:e,scrollFocusedIntoView:!1})})),mRe(dRe(n),"updateSuggestionsPosition",(function(){var e=n.state.caretPosition,t=n.props,i=t.suggestionsPortalHost,r=t.allowSuggestionsAboveCursor,a=t.forceSuggestionsAboveCursor;if(e&&n.suggestionsElement){var o=n.suggestionsElement,s=n.highlighterElement,l=s.getBoundingClientRect(),u=jOe(s,"font-size"),c={left:l.left+e.left,top:l.top+e.top+u},d=Math.max(document.documentElement.clientHeight,window.innerHeight||0);if(o){var f={};if(i){f.position="fixed";var p=c.left,h=c.top;p-=jOe(o,"margin-left"),h-=jOe(o,"margin-top"),p-=s.scrollLeft,h-=s.scrollTop;var g=Math.max(document.documentElement.clientWidth,window.innerWidth||0);p+o.offsetWidth>g?f.left=Math.max(0,g-o.offsetWidth):f.left=p,r&&h+o.offsetHeight>d&&o.offsetHeight<h-u||a?f.top=Math.max(0,h-o.offsetHeight-u):f.top=h}else{var m=e.left-s.scrollLeft,v=e.top-s.scrollTop;m+o.offsetWidth>n.containerElement.offsetWidth?f.right=0:f.left=m,r&&c.top-s.scrollTop+o.offsetHeight>d&&o.offsetHeight<l.top-u-s.scrollTop?f.top=v-o.offsetHeight-u: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})}}})),mRe(dRe(n),"updateHighlighterScroll",(function(){var e=n.inputElement,t=n.highlighterElement;e&&t&&(t.scrollLeft=e.scrollLeft,t.scrollTop=e.scrollTop,t.height=e.height)})),mRe(dRe(n),"handleCompositionStart",(function(){LOe=!0})),mRe(dRe(n),"handleCompositionEnd",(function(){LOe=!1})),mRe(dRe(n),"setSelection",(function(e,t){if(null!==e&&null!==t){var i=n.inputElement;if(i.setSelectionRange)i.setSelectionRange(e,t);else if(i.createTextRange){var r=i.createTextRange();r.collapse(!0),r.moveEnd("character",t),r.moveStart("character",e),r.select()}}})),mRe(dRe(n),"updateMentionsQueries",(function(e,t){n._queryId++,n.suggestions={},n.setState({suggestions:{}});var i=n.props.value||"",r=n.props.children,a=fOe(r),o=oOe(i,a,t,"NULL");if(null!==o){var s=function(e,t){var n=lOe(e,t),i=n[n.length-1];return i?i.plainTextIndex+i.display.length:0}(i.substring(0,o),a),l=e.substring(s,t);m.default.Children.forEach(r,(function(t,i){if(t){var r=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e instanceof RegExp)return e;var n=t.allowSpaceInQuery,i=ZRe(e);return new RegExp("(?:^|\\s)(".concat(i,"([^").concat(n?"":"\\s").concat(i,"]*))$"))}(t.props.trigger,n.props),a=l.match(r);if(a){var o=s+l.indexOf(a[1],a.index);n.queryData(a[2],i,o,o+a[1].length,e)}}}))}})),mRe(dRe(n),"clearSuggestions",(function(){n._queryId++,n.suggestions={},n.setState({suggestions:{},focusIndex:0})})),mRe(dRe(n),"queryData",(function(e,t,r,a,o){var s=n.props,l=s.children,u=s.ignoreAccents,c=function(e,t){return e instanceof Array?function(n,i){for(var r=[],a=0,o=e.length;a<o;++a){var s=e[a].display||e[a].id;mOe(s,n,t)>=0&&r.push(e[a])}return r}:e}(i.Children.toArray(l)[t].props.data,u),d=c(e,n.updateSuggestions.bind(null,n._queryId,t,e,r,a,o));d instanceof Array&&n.updateSuggestions(n._queryId,t,e,r,a,o,d)})),mRe(dRe(n),"updateSuggestions",(function(e,t,i,r,a,o,s){if(e===n._queryId){n.suggestions=AOe({},n.suggestions,mRe({},t,{queryInfo:{childIndex:t,query:i,querySequenceStart:r,querySequenceEnd:a,plainTextValue:o},results:s}));var l=n.state.focusIndex,u=cOe(n.suggestions);n.setState({suggestions:n.suggestions,focusIndex:l>=u?Math.max(u-1,0):l})}})),mRe(dRe(n),"addMention",(function(e,t){var r=e.id,a=e.display,o=t.childIndex,s=t.querySequenceStart,l=t.querySequenceEnd,u=t.plainTextValue,c=n.props.value||"",d=fOe(n.props.children),f=i.Children.toArray(n.props.children)[o].props,p=f.markup,h=f.displayTransform,g=f.appendSpaceOnAdd,m=f.onAdd,v=oOe(c,d,s,"START"),_=v+l-s,b=function(e,t,n){return e.replace($Re,t).replace(XRe,n)}(p,r,a);g&&(b+=" ");var y=sOe(c,v,_,b);n.inputElement.focus();var w=h(r,a);g&&(w+=" ");var F=s+w.length;n.setState({selectionStart:F,selectionEnd:F,setSelectionAfterMentionChange:!0});var k={target:{value:y}},E=lOe(y,d),x=sOe(u,s,l,w);n.executeOnChange(k,y,x,E),m&&m(r,a,v,_),n.clearSuggestions()})),mRe(dRe(n),"isLoading",(function(){var e=!1;return m.default.Children.forEach(n.props.children,(function(t){e=e||t&&t.props.isLoading})),e})),mRe(dRe(n),"isOpened",(function(){return vOe(n.state.selectionStart)&&(0!==cOe(n.state.suggestions)||n.isLoading())})),mRe(dRe(n),"_queryId",0),n.suggestions={},n.uuidSuggestionsOverlay=Math.random().toString(16).substring(2),n.handleCopy=n.handleCopy.bind(dRe(n)),n.handleCut=n.handleCut.bind(dRe(n)),n.handlePaste=n.handlePaste.bind(dRe(n)),n.state={focusIndex:0,selectionStart:null,selectionEnd:null,suggestions:{},caretPosition:null,suggestionsPosition:{}},n}return gRe(t,e),lRe(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 m.default.createElement("div",aRe({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,i=t.selectionEnd,r=this.props,a=r.value,o=r.children,s=fOe(o),l=oOe(a,s,n,"START"),u=oOe(a,s,i,"END"),c=e.clipboardData.getData("text/react-mentions"),d=e.clipboardData.getData("text/plain"),f=sOe(a,l,u,c||d).replace(/\r/g,""),p=aOe(f,s),h={target:AOe({},e.target,{value:f})};this.executeOnChange(h,f,p,lOe(f,s))}}},{key:"saveSelectionToClipboard",value:function(e){var t=this.state,n=t.selectionStart,i=t.selectionEnd,r=this.props,a=r.children,o=r.value,s=fOe(a),l=oOe(o,s,n,"START"),u=oOe(o,s,i,"END");e.clipboardData.setData("text/plain",e.target.value.slice(n,i)),e.clipboardData.setData("text/react-mentions",o.slice(l,u))}},{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,i=t.selectionEnd,r=this.props,a=r.children,o=r.value,s=fOe(a),l=oOe(o,s,n,"START"),u=oOe(o,s,i,"END"),c=[o.slice(0,l),o.slice(u)].join(""),d=aOe(c,s),f={target:AOe({},e.target,{value:d})};this.executeOnChange(f,c,d,lOe(o,s))}}}]),t}(m.default.Component);mRe(MOe,"propTypes",IOe),mRe(MOe,"defaultProps",{ignoreAccents:!1,singleLine:!1,allowSuggestionsAboveCursor:!1,onKeyDown:function(){return null},onSelect:function(){return null},onBlur:function(){return null}});var jOe=function(e,t){var n=parseFloat(window.getComputedStyle(e,null).getPropertyValue(t));return isFinite(n)?n:0},NOe=yOe({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:AOe({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}}))(MOe),ROe={fontWeight:"inherit"},OOe=function(e){var t=e.display,n=e.style,i=e.className,r=e.classNames,a=JRe(ROe,{style:n,className:i,classNames:r});return m.default.createElement("strong",a,t)};OOe.propTypes={onAdd:NW.func,onRemove:NW.func,renderSuggestion:NW.func,trigger:NW.oneOfType([NW.string,NW.instanceOf(RegExp)]),markup:NW.string,displayTransform:NW.func,allowSpaceInQuery:NW.bool,isLoading:NW.bool},OOe.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 zOe=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 BOe(e,t){var n=function(e){var t=e.name;if(t&&-1!==t.lastIndexOf(".")&&!e.type){var n=t.split(".").pop().toLowerCase(),i=zOe.get(n);i&&Object.defineProperty(e,"type",{value:i,writable:!1,configurable:!1,enumerable:!0})}return e}(e);if("string"!=typeof n.path){var i=e.webkitRelativePath;Object.defineProperty(n,"path",{value:"string"==typeof t?t:"string"==typeof i&&i.length>0?i:e.name,writable:!1,configurable:!1,enumerable:!0})}return n}var GOe=[".DS_Store","Thumbs.db"];function qOe(e){return Ea(this,void 0,void 0,(function(){return xa(this,(function(t){return[2,(n=e,n.dataTransfer&&e.dataTransfer?HOe(e.dataTransfer,e.type):UOe(e))];var n}))}))}function UOe(e){return(null!==e.target&&e.target.files?YOe(e.target.files):[]).map((function(e){return BOe(e)}))}function HOe(e,t){return Ea(this,void 0,void 0,(function(){var n;return xa(this,(function(i){switch(i.label){case 0:return e.items?(n=YOe(e.items).filter((function(e){return"file"===e.kind})),"drop"!==t?[2,n]:[4,Promise.all(n.map(VOe))]):[3,2];case 1:return[2,WOe(KOe(i.sent()))];case 2:return[2,WOe(YOe(e.files).map((function(e){return BOe(e)})))]}}))}))}function WOe(e){return e.filter((function(e){return-1===GOe.indexOf(e.name)}))}function YOe(e){for(var t=[],n=0;n<e.length;n++){var i=e[n];t.push(i)}return t}function VOe(e){if("function"!=typeof e.webkitGetAsEntry)return QOe(e);var t=e.webkitGetAsEntry();return t&&t.isDirectory?ZOe(t):QOe(e)}function KOe(e){return e.reduce((function(e,t){return Pa(e,Array.isArray(t)?KOe(t):[t])}),[])}function QOe(e){var t=e.getAsFile();if(!t)return Promise.reject(e+" is not a File");var n=BOe(t);return Promise.resolve(n)}function JOe(e){return Ea(this,void 0,void 0,(function(){return xa(this,(function(t){return[2,e.isDirectory?ZOe(e):$Oe(e)]}))}))}function ZOe(e){var t=e.createReader();return new Promise((function(e,n){var i=[];!function r(){var a=this;t.readEntries((function(t){return Ea(a,void 0,void 0,(function(){var a,o,s;return xa(this,(function(l){switch(l.label){case 0:if(t.length)return[3,5];l.label=1;case 1:return l.trys.push([1,3,,4]),[4,Promise.all(i)];case 2:return a=l.sent(),e(a),[3,4];case 3:return o=l.sent(),n(o),[3,4];case 4:return[3,6];case 5:s=Promise.all(t.map(JOe)),i.push(s),r(),l.label=6;case 6:return[2]}}))}))}),(function(e){n(e)}))}()}))}function $Oe(e){return Ea(this,void 0,void 0,(function(){return xa(this,(function(t){return[2,new Promise((function(t,n){e.file((function(n){var i=BOe(n,e.fullPath);t(i)}),(function(e){n(e)}))}))]}))}))}function XOe(e,t){return"application/x-moz-file"===e.type||function(e,t){if(e&&t){var n=Array.isArray(t)?t:t.split(","),i=e.name||"",r=(e.type||"").toLowerCase(),a=r.replace(/\/.*$/,"");return n.some((function(e){var t=e.trim().toLowerCase();return"."===t.charAt(0)?i.toLowerCase().endsWith(t):t.endsWith("/*")?a===t.replace(/\/.*$/,""):r===t}))}return!0}(e,t)}function eze(e,t,n){if(tze(e.size)){if(tze(t)&&tze(n))return e.size>=t&&e.size<=n;if(tze(t))return e.size>=t;if(tze(n))return e.size<=n}return!0}function tze(e){return null!=e}function nze(e,t,n,i){return e.every((function(e){return XOe(e,t)&&eze(e,n,i)}))}function ize(e){return"function"==typeof e.isPropagationStopped?e.isPropagationStopped():void 0!==e.cancelBubble&&e.cancelBubble}function rze(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 aze(e){e.preventDefault()}function oze(e){return-1!==e.indexOf("MSIE")||-1!==e.indexOf("Trident/")}function sze(e){return-1!==e.indexOf("Edge/")}function lze(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.navigator.userAgent;return oze(e)||sze(e)}function uze(){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,i=new Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];return t.some((function(t){return!ize(e)&&t&&t.apply(void 0,[e].concat(i)),ize(e)}))}}function cze(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 dze(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=[],i=!0,r=!1,a=void 0;try{for(var o,s=e[Symbol.iterator]();!(i=(o=s.next()).done)&&(n.push(o.value),!t||n.length!==t);i=!0);}catch(e){r=!0,a=e}finally{try{i||null==s.return||s.return()}finally{if(r)throw a}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function fze(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function pze(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?fze(n,!0).forEach((function(t){hze(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):fze(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function hze(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function gze(e,t){if(null==e)return{};var n,i,r=function(e,t){if(null==e)return{};var n,i,r={},a=Object.keys(e);for(i=0;i<a.length;i++)n=a[i],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)n=a[i],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var mze=i.forwardRef((function(e,t){var n=e.children,r=_ze(gze(e,["children"])),a=r.open,o=gze(r,["open"]);return i.useImperativeHandle(t,(function(){return{open:a}}),[a]),m.default.createElement(i.Fragment,null,n(pze({},o,{open:a})))}));mze.displayName="Dropzone",mze.propTypes={children:NW.func,accept:NW.oneOfType([NW.string,NW.arrayOf(NW.string)]),multiple:NW.bool,preventDropOnDocument:NW.bool,noClick:NW.bool,noKeyboard:NW.bool,noDrag:NW.bool,noDragEventsBubbling:NW.bool,minSize:NW.number,maxSize:NW.number,disabled:NW.bool,getFilesFromEvent:NW.func,onFileDialogCancel:NW.func,onDragEnter:NW.func,onDragLeave:NW.func,onDragOver:NW.func,onDrop:NW.func,onDropAccepted:NW.func,onDropRejected:NW.func};var vze={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,draggedFiles:[],acceptedFiles:[],rejectedFiles:[]};function _ze(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.accept,n=e.disabled,r=void 0!==n&&n,a=e.getFilesFromEvent,o=void 0===a?qOe:a,s=e.maxSize,l=void 0===s?1/0:s,u=e.minSize,c=void 0===u?0:u,d=e.multiple,f=void 0===d||d,p=e.onDragEnter,h=e.onDragLeave,g=e.onDragOver,m=e.onDrop,v=e.onDropAccepted,_=e.onDropRejected,b=e.onFileDialogCancel,y=e.preventDropOnDocument,w=void 0===y||y,F=e.noClick,k=void 0!==F&&F,E=e.noKeyboard,x=void 0!==E&&E,C=e.noDrag,S=void 0!==C&&C,D=e.noDragEventsBubbling,P=void 0!==D&&D,A=i.useRef(null),T=i.useRef(null),L=i.useReducer(bze,vze),I=dze(L,2),M=I[0],j=I[1],N=M.isFocused,R=M.isFileDialogActive,O=M.draggedFiles,z=i.useCallback((function(){T.current&&(j({type:"openDialog"}),T.current.value=null,T.current.click())}),[j]),B=function(){R&&setTimeout((function(){T.current&&(T.current.files.length||(j({type:"closeDialog"}),"function"==typeof b&&b()))}),300)};i.useEffect((function(){return window.addEventListener("focus",B,!1),function(){window.removeEventListener("focus",B,!1)}}),[T,R,b]);var G=i.useCallback((function(e){A.current&&A.current.isEqualNode(e.target)&&(32!==e.keyCode&&13!==e.keyCode||(e.preventDefault(),z()))}),[A,T]),q=i.useCallback((function(){j({type:"focus"})}),[]),U=i.useCallback((function(){j({type:"blur"})}),[]),H=i.useCallback((function(){k||(lze()?setTimeout(z,0):z())}),[T,k]),W=i.useRef([]),Y=function(e){A.current&&A.current.contains(e.target)||(e.preventDefault(),W.current=[])};i.useEffect((function(){return w&&(document.addEventListener("dragover",aze,!1),document.addEventListener("drop",Y,!1)),function(){w&&(document.removeEventListener("dragover",aze),document.removeEventListener("drop",Y))}}),[A,w]);var V=i.useCallback((function(e){e.preventDefault(),e.persist(),ee(e),-1===W.current.indexOf(e.target)&&(W.current=[].concat(cze(W.current),[e.target])),rze(e)&&Promise.resolve(o(e)).then((function(t){ize(e)&&!P||(j({draggedFiles:t,isDragActive:!0,type:"setDraggedFiles"}),p&&p(e))}))}),[o,p,P]),K=i.useCallback((function(e){if(e.preventDefault(),e.persist(),ee(e),e.dataTransfer)try{e.dataTransfer.dropEffect="copy"}catch(e){}return rze(e)&&g&&g(e),!1}),[g,P]),Q=i.useCallback((function(e){e.preventDefault(),e.persist(),ee(e);var t=W.current.filter((function(t){return t!==e.target&&A.current&&A.current.contains(t)}));W.current=t,t.length>0||(j({isDragActive:!1,type:"setDraggedFiles",draggedFiles:[]}),rze(e)&&h&&h(e))}),[A,h,P]),J=i.useCallback((function(e){e.preventDefault(),e.persist(),ee(e),W.current=[],j({type:"reset"}),rze(e)&&Promise.resolve(o(e)).then((function(n){if(!ize(e)||P){var i=[],r=[];n.forEach((function(e){XOe(e,t)&&eze(e,c,l)?i.push(e):r.push(e)})),!f&&i.length>1&&r.push.apply(r,cze(i.splice(0))),j({acceptedFiles:i,rejectedFiles:r,type:"setFiles"}),m&&m(i,r,e),r.length>0&&_&&_(r,e),i.length>0&&v&&v(i,e)}}))}),[f,t,c,l,o,m,v,_,P]),Z=function(e){return r?null:e},$=function(e){return x?null:Z(e)},X=function(e){return S?null:Z(e)},ee=function(e){P&&e.stopPropagation()},te=i.useMemo((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,a=e.onFocus,o=e.onBlur,s=e.onClick,l=e.onDragEnter,u=e.onDragOver,c=e.onDragLeave,d=e.onDrop,f=gze(e,["refKey","onKeyDown","onFocus","onBlur","onClick","onDragEnter","onDragOver","onDragLeave","onDrop"]);return pze(hze({onKeyDown:$(uze(i,G)),onFocus:$(uze(a,q)),onBlur:$(uze(o,U)),onClick:Z(uze(s,H)),onDragEnter:X(uze(l,V)),onDragOver:X(uze(u,K)),onDragLeave:X(uze(c,Q)),onDrop:X(uze(d,J))},n,A),r||x?{}:{tabIndex:0},{},f)}}),[A,G,q,U,H,V,K,Q,J,x,S,r]),ne=i.useCallback((function(e){e.stopPropagation()}),[]),ie=i.useMemo((function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.refKey,i=void 0===n?"ref":n,r=e.onChange,a=e.onClick,o=gze(e,["refKey","onChange","onClick"]),s=hze({accept:t,multiple:f,type:"file",style:{display:"none"},onChange:Z(uze(r,J)),onClick:Z(uze(a,ne)),autoComplete:"off",tabIndex:-1},i,T);return pze({},s,{},o)}}),[T,t,f,J,r]),re=O.length,ae=f||re<=1,oe=re>0&&nze(O,t,c,l),se=re>0&&(!oe||!ae);return pze({},M,{isDragAccept:oe,isDragReject:se,isFocused:N&&!r,getRootProps:te,getInputProps:ie,rootRef:A,inputRef:T,open:Z(z)})}function bze(e,t){switch(t.type){case"focus":return pze({},e,{isFocused:!0});case"blur":return pze({},e,{isFocused:!1});case"openDialog":return pze({},e,{isFileDialogActive:!0});case"closeDialog":return pze({},e,{isFileDialogActive:!1});case"setDraggedFiles":var n=t.isDragActive;return pze({},e,{draggedFiles:t.draggedFiles,isDragActive:n});case"setFiles":return pze({},e,{acceptedFiles:t.acceptedFiles,rejectedFiles:t.rejectedFiles});case"reset":return pze({},e,{isFileDialogActive:!1,isDragActive:!1,draggedFiles:[]});default:return e}}var yze={exports:{}};!function(e,t){var n;n=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,i){if("string"!=typeof n)throw new Error("slugify: string argument expected");var r=t[(i="string"==typeof i?{replacement:i}:i||{}).locale]||{},a=i.replacement||"-",o=n.split("").reduce((function(t,n){return t+(r[n]||e[n]||n)}),"").replace(i.remove||/[^\w\s$*_+~.()'"!\-:@]+/g,"").trim().replace(new RegExp("[\\s"+a+"]+","g"),a);return i.lower&&(o=o.toLowerCase()),i.strict&&(o=o.replace(new RegExp("[^a-zA-Z0-9"+a+"]","g"),"")),o}return n.extend=function(t){for(var n in t)e[n]=t[n]},n},e.exports=n(),e.exports.default=n()}(yze);var wze,Fze=yze.exports;!function(e){e.BOTH="both",e.MOUSE="mouse",e.TOUCH="touch"}(wze||(wze={}));var kze={exports:{}};!function(e,t){e.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 o(e)?e:V(e)}function i(e){return s(e)?e:K(e)}function r(e){return l(e)?e:Q(e)}function a(e){return o(e)&&!u(e)?e:J(e)}function o(e){return!(!e||!e[d])}function s(e){return!(!e||!e[f])}function l(e){return!(!e||!e[p])}function u(e){return s(e)||l(e)}function c(e){return!(!e||!e[h])}t(i,n),t(r,n),t(a,n),n.isIterable=o,n.isKeyed=s,n.isIndexed=l,n.isAssociative=u,n.isOrdered=c,n.Keyed=i,n.Indexed=r,n.Set=a;var d="@@__IMMUTABLE_ITERABLE__@@",f="@@__IMMUTABLE_KEYED__@@",p="@@__IMMUTABLE_INDEXED__@@",h="@@__IMMUTABLE_ORDERED__@@",g="delete",m=5,v=1<<m,_=v-1,b={},y={value:!1},w={value:!1};function F(e){return e.value=!1,e}function k(e){e&&(e.value=!0)}function E(){}function x(e,t){t=t||0;for(var n=Math.max(0,e.length-t),i=new Array(n),r=0;r<n;r++)i[r]=e[r+t];return i}function C(e){return void 0===e.size&&(e.size=e.__iterate(D)),e.size}function S(e,t){if("number"!=typeof t){var n=t>>>0;if(""+n!==t||4294967295===n)return NaN;t=n}return t<0?C(e)+t:t}function D(){return!0}function P(e,t,n){return(0===e||void 0!==n&&e<=-n)&&(void 0===t||void 0!==n&&t>=n)}function A(e,t){return L(e,t,0)}function T(e,t){return L(e,t,t)}function L(e,t,n){return void 0===e?n:e<0?Math.max(0,t+e):void 0===t?e:Math.min(t,e)}var I=0,M=1,j=2,N="function"==typeof Symbol&&Symbol.iterator,R="@@iterator",O=N||R;function z(e){this.next=e}function B(e,t,n,i){var r=0===e?t:1===e?n:[t,n];return i?i.value=r:i={value:r,done:!1},i}function G(){return{value:void 0,done:!0}}function q(e){return!!W(e)}function U(e){return e&&"function"==typeof e.next}function H(e){var t=W(e);return t&&t.call(e)}function W(e){var t=e&&(N&&e[N]||e[R]);if("function"==typeof t)return t}function Y(e){return e&&"number"==typeof e.length}function V(e){return null==e?oe():o(e)?e.toSeq():ue(e)}function K(e){return null==e?oe().toKeyedSeq():o(e)?s(e)?e.toSeq():e.fromEntrySeq():se(e)}function Q(e){return null==e?oe():o(e)?s(e)?e.entrySeq():e.toIndexedSeq():le(e)}function J(e){return(null==e?oe():o(e)?s(e)?e.entrySeq():e:le(e)).toSetSeq()}z.prototype.toString=function(){return"[Iterator]"},z.KEYS=I,z.VALUES=M,z.ENTRIES=j,z.prototype.inspect=z.prototype.toSource=function(){return this.toString()},z.prototype[O]=function(){return this},t(V,n),V.of=function(){return V(arguments)},V.prototype.toSeq=function(){return this},V.prototype.toString=function(){return this.__toString("Seq {","}")},V.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},V.prototype.__iterate=function(e,t){return de(this,e,t,!0)},V.prototype.__iterator=function(e,t){return fe(this,e,t,!0)},t(K,V),K.prototype.toKeyedSeq=function(){return this},t(Q,V),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(J,V),J.of=function(){return J(arguments)},J.prototype.toSetSeq=function(){return this},V.isSeq=ae,V.Keyed=K,V.Set=J,V.Indexed=Q;var Z,$,X,ee="@@__IMMUTABLE_SEQ__@@";function te(e){this._array=e,this.size=e.length}function ne(e){var t=Object.keys(e);this._object=e,this._keys=t,this.size=t.length}function ie(e){this._iterable=e,this.size=e.length||e.size}function re(e){this._iterator=e,this._iteratorCache=[]}function ae(e){return!(!e||!e[ee])}function oe(){return Z||(Z=new te([]))}function se(e){var t=Array.isArray(e)?new te(e).fromEntrySeq():U(e)?new re(e).fromEntrySeq():q(e)?new ie(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 le(e){var t=ce(e);if(!t)throw new TypeError("Expected Array or iterable object of values: "+e);return t}function ue(e){var t=ce(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 ce(e){return Y(e)?new te(e):U(e)?new re(e):q(e)?new ie(e):void 0}function de(e,t,n,i){var r=e._cache;if(r){for(var a=r.length-1,o=0;o<=a;o++){var s=r[n?a-o:o];if(!1===t(s[1],i?s[0]:o,e))return o+1}return o}return e.__iterateUncached(t,n)}function fe(e,t,n,i){var r=e._cache;if(r){var a=r.length-1,o=0;return new z((function(){var e=r[n?a-o:o];return o++>a?G():B(t,i?e[0]:o-1,e[1])}))}return e.__iteratorUncached(t,n)}function pe(e,t){return t?he(t,e,"",{"":e}):ge(e)}function he(e,t,n,i){return Array.isArray(t)?e.call(i,n,Q(t).map((function(n,i){return he(e,n,i,t)}))):me(t)?e.call(i,n,K(t).map((function(n,i){return he(e,n,i,t)}))):t}function ge(e){return Array.isArray(e)?Q(e).map(ge).toList():me(e)?K(e).map(ge).toMap():e}function me(e){return e&&(e.constructor===Object||void 0===e.constructor)}function ve(e,t){if(e===t||e!=e&&t!=t)return!0;if(!e||!t)return!1;if("function"==typeof e.valueOf&&"function"==typeof t.valueOf){if((e=e.valueOf())===(t=t.valueOf())||e!=e&&t!=t)return!0;if(!e||!t)return!1}return!("function"!=typeof e.equals||"function"!=typeof t.equals||!e.equals(t))}function _e(e,t){if(e===t)return!0;if(!o(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)||l(e)!==l(t)||c(e)!==c(t))return!1;if(0===e.size&&0===t.size)return!0;var n=!u(e);if(c(e)){var i=e.entries();return t.every((function(e,t){var r=i.next().value;return r&&ve(r[1],e)&&(n||ve(r[0],t))}))&&i.next().done}var r=!1;if(void 0===e.size)if(void 0===t.size)"function"==typeof e.cacheResult&&e.cacheResult();else{r=!0;var a=e;e=t,t=a}var d=!0,f=t.__iterate((function(t,i){if(n?!e.has(t):r?!ve(t,e.get(i,b)):!ve(e.get(i,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($)return $;$=this}}function ye(e,t){if(!e)throw new Error(t)}function we(e,t,n){if(!(this instanceof we))return new we(e,t,n);if(ye(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 Fe(){throw TypeError("Abstract")}function ke(){}function Ee(){}function xe(){}V.prototype[ee]=!0,t(te,Q),te.prototype.get=function(e,t){return this.has(e)?this._array[S(this,e)]:t},te.prototype.__iterate=function(e,t){for(var n=this._array,i=n.length-1,r=0;r<=i;r++)if(!1===e(n[t?i-r:r],r,this))return r+1;return r},te.prototype.__iterator=function(e,t){var n=this._array,i=n.length-1,r=0;return new z((function(){return r>i?G():B(e,r,n[t?i-r++:r++])}))},t(ne,K),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,i=this._keys,r=i.length-1,a=0;a<=r;a++){var o=i[t?r-a:a];if(!1===e(n[o],o,this))return a+1}return a},ne.prototype.__iterator=function(e,t){var n=this._object,i=this._keys,r=i.length-1,a=0;return new z((function(){var o=i[t?r-a:a];return a++>r?G():B(e,o,n[o])}))},ne.prototype[h]=!0,t(ie,Q),ie.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);var n=H(this._iterable),i=0;if(U(n))for(var r;!(r=n.next()).done&&!1!==e(r.value,i++,this););return i},ie.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=H(this._iterable);if(!U(n))return new z(G);var i=0;return new z((function(){var t=n.next();return t.done?t:B(e,i++,t.value)}))},t(re,Q),re.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);for(var n,i=this._iterator,r=this._iteratorCache,a=0;a<r.length;)if(!1===e(r[a],a++,this))return a;for(;!(n=i.next()).done;){var o=n.value;if(r[a]=o,!1===e(o,a++,this))break}return a},re.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=this._iterator,i=this._iteratorCache,r=0;return new z((function(){if(r>=i.length){var t=n.next();if(t.done)return t;i[r]=t.value}return B(e,r,i[r++])}))},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 P(e,t,n)?this:new be(this._value,T(t,n)-A(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,i=0;return new z((function(){return i<n.size?B(e,i++,n._value):G()}))},be.prototype.equals=function(e){return e instanceof be?ve(this._value,e._value):_e(e)},t(we,Q),we.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(this._step>1?" by "+this._step:"")+" ]"},we.prototype.get=function(e,t){return this.has(e)?this._start+S(this,e)*this._step:t},we.prototype.includes=function(e){var t=(e-this._start)/this._step;return t>=0&&t<this.size&&t===Math.floor(t)},we.prototype.slice=function(e,t){return P(e,t,this.size)?this:(e=A(e,this.size),(t=T(t,this.size))<=e?new we(0,0):new we(this.get(e,this._end),this.get(t,this._end),this._step))},we.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},we.prototype.lastIndexOf=function(e){return this.indexOf(e)},we.prototype.__iterate=function(e,t){for(var n=this.size-1,i=this._step,r=t?this._start+n*i:this._start,a=0;a<=n;a++){if(!1===e(r,a,this))return a+1;r+=t?-i:i}return a},we.prototype.__iterator=function(e,t){var n=this.size-1,i=this._step,r=t?this._start+n*i:this._start,a=0;return new z((function(){var o=r;return r+=t?-i:i,a>n?G():B(e,a++,o)}))},we.prototype.equals=function(e){return e instanceof we?this._start===e._start&&this._end===e._end&&this._step===e._step:_e(this,e)},t(Fe,n),t(ke,Fe),t(Ee,Fe),t(xe,Fe),Fe.Keyed=ke,Fe.Indexed=Ee,Fe.Set=xe;var Ce="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(e,t){var n=65535&(e|=0),i=65535&(t|=0);return n*i+((e>>>16)*i+n*(t>>>16)<<16>>>0)|0};function Se(e){return e>>>1&1073741824|3221225471&e}function De(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 Se(n)}if("string"===t)return e.length>ze?Pe(e):Ae(e);if("function"==typeof e.hashCode)return e.hashCode();if("object"===t)return Te(e);if("function"==typeof e.toString)return Ae(e.toString());throw new Error("Value type "+t+" cannot be hashed.")}function Pe(e){var t=qe[e];return void 0===t&&(t=Ae(e),Ge===Be&&(Ge=0,qe={}),Ge++,qe[e]=t),t}function Ae(e){for(var t=0,n=0;n<e.length;n++)t=31*t+e.charCodeAt(n)|0;return Se(t)}function Te(e){var t;if(Ne&&void 0!==(t=je.get(e)))return t;if(void 0!==(t=e[Oe]))return t;if(!Ie){if(void 0!==(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[Oe]))return t;if(void 0!==(t=Me(e)))return t}if(t=++Re,1073741824&Re&&(Re=0),Ne)je.set(e,t);else{if(void 0!==Le&&!1===Le(e))throw new Error("Non-extensible objects are not allowed as keys.");if(Ie)Object.defineProperty(e,Oe,{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[Oe]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[Oe]=t}}return t}var Le=Object.isExtensible,Ie=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,Ne="function"==typeof WeakMap;Ne&&(je=new WeakMap);var Re=0,Oe="__immutablehash__";"function"==typeof Symbol&&(Oe=Symbol(Oe));var ze=16,Be=255,Ge=0,qe={};function Ue(e){ye(e!==1/0,"Cannot perform this action with an infinite size.")}function He(e){return null==e?rt():We(e)&&!c(e)?e:rt().withMutations((function(t){var n=i(e);Ue(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function We(e){return!(!e||!e[Ve])}t(He,ke),He.prototype.toString=function(){return this.__toString("Map {","}")},He.prototype.get=function(e,t){return this._root?this._root.get(0,void 0,e,t):t},He.prototype.set=function(e,t){return at(this,e,t)},He.prototype.setIn=function(e,t){return this.updateIn(e,b,(function(){return t}))},He.prototype.remove=function(e){return at(this,e,b)},He.prototype.deleteIn=function(e){return this.updateIn(e,(function(){return b}))},He.prototype.update=function(e,t,n){return 1===arguments.length?e(this):this.updateIn([e],t,n)},He.prototype.updateIn=function(e,t,n){n||(n=t,t=void 0);var i=mt(this,Fn(e),t,n);return i===b?void 0:i},He.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):rt()},He.prototype.merge=function(){return ft(this,void 0,arguments)},He.prototype.mergeWith=function(t){return ft(this,t,e.call(arguments,1))},He.prototype.mergeIn=function(t){var n=e.call(arguments,1);return this.updateIn(t,rt(),(function(e){return"function"==typeof e.merge?e.merge.apply(e,n):n[n.length-1]}))},He.prototype.mergeDeep=function(){return ft(this,pt,arguments)},He.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return ft(this,ht(t),n)},He.prototype.mergeDeepIn=function(t){var n=e.call(arguments,1);return this.updateIn(t,rt(),(function(e){return"function"==typeof e.mergeDeep?e.mergeDeep.apply(e,n):n[n.length-1]}))},He.prototype.sort=function(e){return qt(dn(this,e))},He.prototype.sortBy=function(e,t){return qt(dn(this,t,e))},He.prototype.withMutations=function(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this},He.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new E)},He.prototype.asImmutable=function(){return this.__ensureOwner()},He.prototype.wasAltered=function(){return this.__altered},He.prototype.__iterator=function(e,t){return new et(this,e,t)},He.prototype.__iterate=function(e,t){var n=this,i=0;return this._root&&this._root.iterate((function(t){return i++,e(t[1],t[0],n)}),t),i},He.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?it(this.size,this._root,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},He.isMap=We;var Ye,Ve="@@__IMMUTABLE_MAP__@@",Ke=He.prototype;function Qe(e,t){this.ownerID=e,this.entries=t}function Je(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 $e(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 it(e,t,n,i){var r=Object.create(Ke);return r.size=e,r._root=t,r.__ownerID=n,r.__hash=i,r.__altered=!1,r}function rt(){return Ye||(Ye=it(0))}function at(e,t,n){var i,r;if(e._root){var a=F(y),o=F(w);if(i=ot(e._root,e.__ownerID,0,void 0,t,n,a,o),!o.value)return e;r=e.size+(a.value?n===b?-1:1:0)}else{if(n===b)return e;r=1,i=new Qe(e.__ownerID,[[t,n]])}return e.__ownerID?(e.size=r,e._root=i,e.__hash=void 0,e.__altered=!0,e):i?it(r,i):rt()}function ot(e,t,n,i,r,a,o,s){return e?e.update(t,n,i,r,a,o,s):a===b?e:(k(s),k(o),new Xe(t,i,[r,a]))}function st(e){return e.constructor===Xe||e.constructor===$e}function lt(e,t,n,i,r){if(e.keyHash===i)return new $e(t,i,[e.entry,r]);var a,o=(0===n?e.keyHash:e.keyHash>>>n)&_,s=(0===n?i:i>>>n)&_;return new Je(t,1<<o|1<<s,o===s?[lt(e,t,n+m,i,r)]:(a=new Xe(t,i,r),o<s?[e,a]:[a,e]))}function ut(e,t,n,i){e||(e=new E);for(var r=new Xe(e,De(n),[n,i]),a=0;a<t.length;a++){var o=t[a];r=r.update(e,0,void 0,o[0],o[1])}return r}function ct(e,t,n,i){for(var r=0,a=0,o=new Array(n),s=0,l=1,u=t.length;s<u;s++,l<<=1){var c=t[s];void 0!==c&&s!==i&&(r|=l,o[a++]=c)}return new Je(e,r,o)}function dt(e,t,n,i,r){for(var a=0,o=new Array(v),s=0;0!==n;s++,n>>>=1)o[s]=1&n?t[a++]:void 0;return o[i]=r,new Ze(e,a+1,o)}function ft(e,t,n){for(var r=[],a=0;a<n.length;a++){var s=n[a],l=i(s);o(s)||(l=l.map((function(e){return pe(e)}))),r.push(l)}return gt(e,t,r)}function pt(e,t,n){return e&&e.mergeDeep&&o(t)?e.mergeDeep(t):ve(e,t)?e:t}function ht(e){return function(t,n,i){if(t&&t.mergeDeepWith&&o(n))return t.mergeDeepWith(e,n);var r=e(t,n,i);return ve(t,r)?t:r}}function gt(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 i=t?function(n,i){e.update(i,b,(function(e){return e===b?n:t(e,n,i)}))}:function(t,n){e.set(n,t)},r=0;r<n.length;r++)n[r].forEach(i)})):e.constructor(n[0])}function mt(e,t,n,i){var r=e===b,a=t.next();if(a.done){var o=r?n:e,s=i(o);return s===o?e:s}ye(r||e&&e.set,"invalid keyPath");var l=a.value,u=r?b:e.get(l,b),c=mt(u,t,n,i);return c===u?e:c===b?e.remove(l):(r?rt():e).set(l,c)}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 _t(e,t,n,i){var r=i?e:x(e);return r[t]=n,r}function bt(e,t,n,i){var r=e.length+1;if(i&&t+1===r)return e[t]=n,e;for(var a=new Array(r),o=0,s=0;s<r;s++)s===t?(a[s]=n,o=-1):a[s]=e[s+o];return a}function yt(e,t,n){var i=e.length-1;if(n&&t===i)return e.pop(),e;for(var r=new Array(i),a=0,o=0;o<i;o++)o===t&&(a=1),r[o]=e[o+a];return r}Ke[Ve]=!0,Ke[g]=Ke.remove,Ke.removeIn=Ke.deleteIn,Qe.prototype.get=function(e,t,n,i){for(var r=this.entries,a=0,o=r.length;a<o;a++)if(ve(n,r[a][0]))return r[a][1];return i},Qe.prototype.update=function(e,t,n,i,r,a,o){for(var s=r===b,l=this.entries,u=0,c=l.length;u<c&&!ve(i,l[u][0]);u++);var d=u<c;if(d?l[u][1]===r:s)return this;if(k(o),(s||!d)&&k(a),!s||1!==l.length){if(!d&&!s&&l.length>=wt)return ut(e,l,i,r);var f=e&&e===this.ownerID,p=f?l:x(l);return d?s?u===c-1?p.pop():p[u]=p.pop():p[u]=[i,r]:p.push([i,r]),f?(this.entries=p,this):new Qe(e,p)}},Je.prototype.get=function(e,t,n,i){void 0===t&&(t=De(n));var r=1<<((0===e?t:t>>>e)&_),a=this.bitmap;return 0==(a&r)?i:this.nodes[vt(a&r-1)].get(e+m,t,n,i)},Je.prototype.update=function(e,t,n,i,r,a,o){void 0===n&&(n=De(i));var s=(0===t?n:n>>>t)&_,l=1<<s,u=this.bitmap,c=0!=(u&l);if(!c&&r===b)return this;var d=vt(u&l-1),f=this.nodes,p=c?f[d]:void 0,h=ot(p,e,t+m,n,i,r,a,o);if(h===p)return this;if(!c&&h&&f.length>=Ft)return dt(e,f,u,s,h);if(c&&!h&&2===f.length&&st(f[1^d]))return f[1^d];if(c&&h&&1===f.length&&st(h))return h;var g=e&&e===this.ownerID,v=c?h?u:u^l:u|l,y=c?h?_t(f,d,h,g):yt(f,d,g):bt(f,d,h,g);return g?(this.bitmap=v,this.nodes=y,this):new Je(e,v,y)},Ze.prototype.get=function(e,t,n,i){void 0===t&&(t=De(n));var r=(0===e?t:t>>>e)&_,a=this.nodes[r];return a?a.get(e+m,t,n,i):i},Ze.prototype.update=function(e,t,n,i,r,a,o){void 0===n&&(n=De(i));var s=(0===t?n:n>>>t)&_,l=r===b,u=this.nodes,c=u[s];if(l&&!c)return this;var d=ot(c,e,t+m,n,i,r,a,o);if(d===c)return this;var f=this.count;if(c){if(!d&&--f<kt)return ct(e,u,f,s)}else f++;var p=e&&e===this.ownerID,h=_t(u,s,d,p);return p?(this.count=f,this.nodes=h,this):new Ze(e,f,h)},$e.prototype.get=function(e,t,n,i){for(var r=this.entries,a=0,o=r.length;a<o;a++)if(ve(n,r[a][0]))return r[a][1];return i},$e.prototype.update=function(e,t,n,i,r,a,o){void 0===n&&(n=De(i));var s=r===b;if(n!==this.keyHash)return s?this:(k(o),k(a),lt(this,e,t,n,[i,r]));for(var l=this.entries,u=0,c=l.length;u<c&&!ve(i,l[u][0]);u++);var d=u<c;if(d?l[u][1]===r:s)return this;if(k(o),(s||!d)&&k(a),s&&2===c)return new Xe(e,this.keyHash,l[1^u]);var f=e&&e===this.ownerID,p=f?l:x(l);return d?s?u===c-1?p.pop():p[u]=p.pop():p[u]=[i,r]:p.push([i,r]),f?(this.entries=p,this):new $e(e,this.keyHash,p)},Xe.prototype.get=function(e,t,n,i){return ve(n,this.entry[0])?this.entry[1]:i},Xe.prototype.update=function(e,t,n,i,r,a,o){var s=r===b,l=ve(i,this.entry[0]);return(l?r===this.entry[1]:s)?this:(k(o),s?void k(a):l?e&&e===this.ownerID?(this.entry[1]=r,this):new Xe(e,this.keyHash,[i,r]):(k(a),lt(this,e,t,De(i),[i,r])))},Qe.prototype.iterate=$e.prototype.iterate=function(e,t){for(var n=this.entries,i=0,r=n.length-1;i<=r;i++)if(!1===e(n[t?r-i:i]))return!1},Je.prototype.iterate=Ze.prototype.iterate=function(e,t){for(var n=this.nodes,i=0,r=n.length-1;i<=r;i++){var a=n[t?r-i:i];if(a&&!1===a.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,i=t.node,r=t.index++;if(i.entry){if(0===r)return tt(e,i.entry)}else if(i.entries){if(r<=(n=i.entries.length-1))return tt(e,i.entries[this._reverse?n-r:r])}else if(r<=(n=i.nodes.length-1)){var a=i.nodes[this._reverse?n-r:r];if(a){if(a.entry)return tt(e,a.entry);t=this._stack=nt(a,t)}continue}t=this._stack=this._stack.__prev}return G()};var wt=v/4,Ft=v/2,kt=v/4;function Et(e){var t=Mt();if(null==e)return t;if(xt(e))return e;var n=r(e),i=n.size;return 0===i?t:(Ue(i),i>0&&i<v?It(0,i,m,null,new Dt(n.toArray())):t.withMutations((function(e){e.setSize(i),n.forEach((function(t,n){return e.set(n,t)}))})))}function xt(e){return!(!e||!e[Ct])}t(Et,Ee),Et.of=function(){return this(arguments)},Et.prototype.toString=function(){return this.__toString("List [","]")},Et.prototype.get=function(e,t){if((e=S(this,e))>=0&&e<this.size){var n=Ot(this,e+=this._origin);return n&&n.array[e&_]}return t},Et.prototype.set=function(e,t){return jt(this,e,t)},Et.prototype.remove=function(e){return this.has(e)?0===e?this.shift():e===this.size-1?this.pop():this.splice(e,1):this},Et.prototype.insert=function(e,t){return this.splice(e,0,t)},Et.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=m,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):Mt()},Et.prototype.push=function(){var e=arguments,t=this.size;return this.withMutations((function(n){zt(n,0,t+e.length);for(var i=0;i<e.length;i++)n.set(t+i,e[i])}))},Et.prototype.pop=function(){return zt(this,0,-1)},Et.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])}))},Et.prototype.shift=function(){return zt(this,1)},Et.prototype.merge=function(){return Bt(this,void 0,arguments)},Et.prototype.mergeWith=function(t){return Bt(this,t,e.call(arguments,1))},Et.prototype.mergeDeep=function(){return Bt(this,pt,arguments)},Et.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return Bt(this,ht(t),n)},Et.prototype.setSize=function(e){return zt(this,0,e)},Et.prototype.slice=function(e,t){var n=this.size;return P(e,t,n)?this:zt(this,A(e,n),T(t,n))},Et.prototype.__iterator=function(e,t){var n=0,i=Lt(this,t);return new z((function(){var t=i();return t===Tt?G():B(e,n++,t)}))},Et.prototype.__iterate=function(e,t){for(var n,i=0,r=Lt(this,t);(n=r())!==Tt&&!1!==e(n,i++,this););return i},Et.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?It(this._origin,this._capacity,this._level,this._root,this._tail,e,this.__hash):(this.__ownerID=e,this)},Et.isList=xt;var Ct="@@__IMMUTABLE_LIST__@@",St=Et.prototype;function Dt(e,t){this.array=e,this.ownerID=t}St[Ct]=!0,St[g]=St.remove,St.setIn=Ke.setIn,St.deleteIn=St.removeIn=Ke.removeIn,St.update=Ke.update,St.updateIn=Ke.updateIn,St.mergeIn=Ke.mergeIn,St.mergeDeepIn=Ke.mergeDeepIn,St.withMutations=Ke.withMutations,St.asMutable=Ke.asMutable,St.asImmutable=Ke.asImmutable,St.wasAltered=Ke.wasAltered,Dt.prototype.removeBefore=function(e,t,n){if(n===t?1<<t:0===this.array.length)return this;var i=n>>>t&_;if(i>=this.array.length)return new Dt([],e);var r,a=0===i;if(t>0){var o=this.array[i];if((r=o&&o.removeBefore(e,t-m,n))===o&&a)return this}if(a&&!r)return this;var s=Rt(this,e);if(!a)for(var l=0;l<i;l++)s.array[l]=void 0;return r&&(s.array[i]=r),s},Dt.prototype.removeAfter=function(e,t,n){if(n===(t?1<<t:0)||0===this.array.length)return this;var i,r=n-1>>>t&_;if(r>=this.array.length)return this;if(t>0){var a=this.array[r];if((i=a&&a.removeAfter(e,t-m,n))===a&&r===this.array.length-1)return this}var o=Rt(this,e);return o.array.splice(r+1),i&&(o.array[r]=i),o};var Pt,At,Tt={};function Lt(e,t){var n=e._origin,i=e._capacity,r=Gt(i),a=e._tail;return o(e._root,e._level,0);function o(e,t,n){return 0===t?s(e,n):l(e,t,n)}function s(e,o){var s=o===r?a&&a.array:e&&e.array,l=o>n?0:n-o,u=i-o;return u>v&&(u=v),function(){if(l===u)return Tt;var e=t?--u:l++;return s&&s[e]}}function l(e,r,a){var s,l=e&&e.array,u=a>n?0:n-a>>r,c=1+(i-a>>r);return c>v&&(c=v),function(){for(;;){if(s){var e=s();if(e!==Tt)return e;s=null}if(u===c)return Tt;var n=t?--c:u++;s=o(l&&l[n],r-m,a+(n<<r))}}}}function It(e,t,n,i,r,a,o){var s=Object.create(St);return s.size=t-e,s._origin=e,s._capacity=t,s._level=n,s._root=i,s._tail=r,s.__ownerID=a,s.__hash=o,s.__altered=!1,s}function Mt(){return Pt||(Pt=It(0,0,m))}function jt(e,t,n){if((t=S(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 i=e._tail,r=e._root,a=F(w);return t>=Gt(e._capacity)?i=Nt(i,e.__ownerID,0,t,n,a):r=Nt(r,e.__ownerID,e._level,t,n,a),a.value?e.__ownerID?(e._root=r,e._tail=i,e.__hash=void 0,e.__altered=!0,e):It(e._origin,e._capacity,e._level,r,i):e}function Nt(e,t,n,i,r,a){var o,s=i>>>n&_,l=e&&s<e.array.length;if(!l&&void 0===r)return e;if(n>0){var u=e&&e.array[s],c=Nt(u,t,n-m,i,r,a);return c===u?e:((o=Rt(e,t)).array[s]=c,o)}return l&&e.array[s]===r?e:(k(a),o=Rt(e,t),void 0===r&&s===o.array.length-1?o.array.pop():o.array[s]=r,o)}function Rt(e,t){return t&&e&&t===e.ownerID?e:new Dt(e?e.array.slice():[],t)}function Ot(e,t){if(t>=Gt(e._capacity))return e._tail;if(t<1<<e._level+m){for(var n=e._root,i=e._level;n&&i>0;)n=n.array[t>>>i&_],i-=m;return n}}function zt(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var i=e.__ownerID||new E,r=e._origin,a=e._capacity,o=r+t,s=void 0===n?a:n<0?a+n:r+n;if(o===r&&s===a)return e;if(o>=s)return e.clear();for(var l=e._level,u=e._root,c=0;o+c<0;)u=new Dt(u&&u.array.length?[void 0,u]:[],i),c+=1<<(l+=m);c&&(o+=c,r+=c,s+=c,a+=c);for(var d=Gt(a),f=Gt(s);f>=1<<l+m;)u=new Dt(u&&u.array.length?[u]:[],i),l+=m;var p=e._tail,h=f<d?Ot(e,s-1):f>d?new Dt([],i):p;if(p&&f>d&&o<a&&p.array.length){for(var g=u=Rt(u,i),v=l;v>m;v-=m){var b=d>>>v&_;g=g.array[b]=Rt(g.array[b],i)}g.array[d>>>m&_]=p}if(s<a&&(h=h&&h.removeAfter(i,0,s)),o>=f)o-=f,s-=f,l=m,u=null,h=h&&h.removeBefore(i,0,o);else if(o>r||f<d){for(c=0;u;){var y=o>>>l&_;if(y!==f>>>l&_)break;y&&(c+=(1<<l)*y),l-=m,u=u.array[y]}u&&o>r&&(u=u.removeBefore(i,l,o-c)),u&&f<d&&(u=u.removeAfter(i,l,f-c)),c&&(o-=c,s-=c)}return e.__ownerID?(e.size=s-o,e._origin=o,e._capacity=s,e._level=l,e._root=u,e._tail=h,e.__hash=void 0,e.__altered=!0,e):It(o,s,l,u,h)}function Bt(e,t,n){for(var i=[],a=0,s=0;s<n.length;s++){var l=n[s],u=r(l);u.size>a&&(a=u.size),o(l)||(u=u.map((function(e){return pe(e)}))),i.push(u)}return a>e.size&&(e=e.setSize(a)),gt(e,t,i)}function Gt(e){return e<v?0:e-1>>>m<<m}function qt(e){return null==e?Wt():Ut(e)?e:Wt().withMutations((function(t){var n=i(e);Ue(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function Ut(e){return We(e)&&c(e)}function Ht(e,t,n,i){var r=Object.create(qt.prototype);return r.size=e?e.size:0,r._map=e,r._list=t,r.__ownerID=n,r.__hash=i,r}function Wt(){return At||(At=Ht(rt(),Mt()))}function Yt(e,t,n){var i,r,a=e._map,o=e._list,s=a.get(t),l=void 0!==s;if(n===b){if(!l)return e;o.size>=v&&o.size>=2*a.size?(i=(r=o.filter((function(e,t){return void 0!==e&&s!==t}))).toKeyedSeq().map((function(e){return e[0]})).flip().toMap(),e.__ownerID&&(i.__ownerID=r.__ownerID=e.__ownerID)):(i=a.remove(t),r=s===o.size-1?o.pop():o.set(s,void 0))}else if(l){if(n===o.get(s)[1])return e;i=a,r=o.set(s,[t,n])}else i=a.set(t,o.size),r=o.set(o.size,[t,n]);return e.__ownerID?(e.size=i.size,e._map=i,e._list=r,e.__hash=void 0,e):Ht(i,r)}function Vt(e,t){this._iter=e,this._useKeys=t,this.size=e.size}function Kt(e){this._iter=e,this.size=e.size}function Qt(e){this._iter=e,this.size=e.size}function Jt(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=yn,t.__iterateUncached=function(t,n){var i=this;return e.__iterate((function(e,n){return!1!==t(n,e,i)}),n)},t.__iteratorUncached=function(t,n){if(t===j){var i=e.__iterator(t,n);return new z((function(){var e=i.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?I:M,n)},t}function $t(e,t,n){var i=bn(e);return i.size=e.size,i.has=function(t){return e.has(t)},i.get=function(i,r){var a=e.get(i,b);return a===b?r:t.call(n,a,i,e)},i.__iterateUncached=function(i,r){var a=this;return e.__iterate((function(e,r,o){return!1!==i(t.call(n,e,r,o),r,a)}),r)},i.__iteratorUncached=function(i,r){var a=e.__iterator(j,r);return new z((function(){var r=a.next();if(r.done)return r;var o=r.value,s=o[0];return B(i,s,t.call(n,o[1],s,e),r)}))},i}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,i){return e.get(t?n:-1-n,i)},n.has=function(n){return e.has(t?n:-1-n)},n.includes=function(t){return e.includes(t)},n.cacheResult=yn,n.__iterate=function(t,n){var i=this;return e.__iterate((function(e,n){return t(e,n,i)}),!n)},n.__iterator=function(t,n){return e.__iterator(t,!n)},n}function en(e,t,n,i){var r=bn(e);return i&&(r.has=function(i){var r=e.get(i,b);return r!==b&&!!t.call(n,r,i,e)},r.get=function(i,r){var a=e.get(i,b);return a!==b&&t.call(n,a,i,e)?a:r}),r.__iterateUncached=function(r,a){var o=this,s=0;return e.__iterate((function(e,a,l){if(t.call(n,e,a,l))return s++,r(e,i?a:s-1,o)}),a),s},r.__iteratorUncached=function(r,a){var o=e.__iterator(j,a),s=0;return new z((function(){for(;;){var a=o.next();if(a.done)return a;var l=a.value,u=l[0],c=l[1];if(t.call(n,c,u,e))return B(r,i?u:s++,c,a)}}))},r}function tn(e,t,n){var i=He().asMutable();return e.__iterate((function(r,a){i.update(t.call(n,r,a,e),0,(function(e){return e+1}))})),i.asImmutable()}function nn(e,t,n){var i=s(e),r=(c(e)?qt():He()).asMutable();e.__iterate((function(a,o){r.update(t.call(n,a,o,e),(function(e){return(e=e||[]).push(i?[o,a]:a),e}))}));var a=_n(e);return r.map((function(t){return gn(e,a(t))}))}function rn(e,t,n,i){var r=e.size;if(void 0!==t&&(t|=0),void 0!==n&&(n|=0),P(t,n,r))return e;var a=A(t,r),o=T(n,r);if(a!=a||o!=o)return rn(e.toSeq().cacheResult(),t,n,i);var s,l=o-a;l==l&&(s=l<0?0:l);var u=bn(e);return u.size=0===s?s:e.size&&s||void 0,!i&&ae(e)&&s>=0&&(u.get=function(t,n){return(t=S(this,t))>=0&&t<s?e.get(t+a,n):n}),u.__iterateUncached=function(t,n){var r=this;if(0===s)return 0;if(n)return this.cacheResult().__iterate(t,n);var o=0,l=!0,u=0;return e.__iterate((function(e,n){if(!l||!(l=o++<a))return u++,!1!==t(e,i?n:u-1,r)&&u!==s})),u},u.__iteratorUncached=function(t,n){if(0!==s&&n)return this.cacheResult().__iterator(t,n);var r=0!==s&&e.__iterator(t,n),o=0,l=0;return new z((function(){for(;o++<a;)r.next();if(++l>s)return G();var e=r.next();return i||t===M?e:B(t,l-1,t===I?void 0:e.value[1],e)}))},u}function an(e,t,n){var i=bn(e);return i.__iterateUncached=function(i,r){var a=this;if(r)return this.cacheResult().__iterate(i,r);var o=0;return e.__iterate((function(e,r,s){return t.call(n,e,r,s)&&++o&&i(e,r,a)})),o},i.__iteratorUncached=function(i,r){var a=this;if(r)return this.cacheResult().__iterator(i,r);var o=e.__iterator(j,r),s=!0;return new z((function(){if(!s)return G();var e=o.next();if(e.done)return e;var r=e.value,l=r[0],u=r[1];return t.call(n,u,l,a)?i===j?e:B(i,l,u,e):(s=!1,G())}))},i}function on(e,t,n,i){var r=bn(e);return r.__iterateUncached=function(r,a){var o=this;if(a)return this.cacheResult().__iterate(r,a);var s=!0,l=0;return e.__iterate((function(e,a,u){if(!s||!(s=t.call(n,e,a,u)))return l++,r(e,i?a:l-1,o)})),l},r.__iteratorUncached=function(r,a){var o=this;if(a)return this.cacheResult().__iterator(r,a);var s=e.__iterator(j,a),l=!0,u=0;return new z((function(){var e,a,c;do{if((e=s.next()).done)return i||r===M?e:B(r,u++,r===I?void 0:e.value[1],e);var d=e.value;a=d[0],c=d[1],l&&(l=t.call(n,c,a,o))}while(l);return r===j?e:B(r,a,c,e)}))},r}function sn(e,t){var n=s(e),r=[e].concat(t).map((function(e){return o(e)?n&&(e=i(e)):e=n?se(e):le(Array.isArray(e)?e:[e]),e})).filter((function(e){return 0!==e.size}));if(0===r.length)return e;if(1===r.length){var a=r[0];if(a===e||n&&s(a)||l(e)&&l(a))return a}var u=new te(r);return n?u=u.toKeyedSeq():l(e)||(u=u.toSetSeq()),(u=u.flatten(!0)).size=r.reduce((function(e,t){if(void 0!==e){var n=t.size;if(void 0!==n)return e+n}}),0),u}function ln(e,t,n){var i=bn(e);return i.__iterateUncached=function(i,r){var a=0,s=!1;function l(e,u){var c=this;e.__iterate((function(e,r){return(!t||u<t)&&o(e)?l(e,u+1):!1===i(e,n?r:a++,c)&&(s=!0),!s}),r)}return l(e,0),a},i.__iteratorUncached=function(i,r){var a=e.__iterator(i,r),s=[],l=0;return new z((function(){for(;a;){var e=a.next();if(!1===e.done){var u=e.value;if(i===j&&(u=u[1]),t&&!(s.length<t)||!o(u))return n?e:B(i,l++,u,e);s.push(a),a=u.__iterator(i,r)}else a=s.pop()}return G()}))},i}function un(e,t,n){var i=_n(e);return e.toSeq().map((function(r,a){return i(t.call(n,r,a,e))})).flatten(!0)}function cn(e,t){var n=bn(e);return n.size=e.size&&2*e.size-1,n.__iterateUncached=function(n,i){var r=this,a=0;return e.__iterate((function(e,i){return(!a||!1!==n(t,a++,r))&&!1!==n(e,a++,r)}),i),a},n.__iteratorUncached=function(n,i){var r,a=e.__iterator(M,i),o=0;return new z((function(){return(!r||o%2)&&(r=a.next()).done?r:o%2?B(n,o++,t):B(n,o++,r.value,r)}))},n}function dn(e,t,n){t||(t=wn);var i=s(e),r=0,a=e.toSeq().map((function(t,i){return[i,t,r++,n?n(t,i,e):t]})).toArray();return a.sort((function(e,n){return t(e[3],n[3])||e[2]-n[2]})).forEach(i?function(e,t){a[t].length=2}:function(e,t){a[t]=e[1]}),i?K(a):l(e)?Q(a):J(a)}function fn(e,t,n){if(t||(t=wn),n){var i=e.toSeq().map((function(t,i){return[t,n(t,i,e)]})).reduce((function(e,n){return pn(t,e[1],n[1])?n:e}));return i&&i[0]}return e.reduce((function(e,n){return pn(t,e,n)?n:e}))}function pn(e,t,n){var i=e(n,t);return 0===i&&n!==t&&(null==n||n!=n)||i>0}function hn(e,t,i){var r=bn(e);return r.size=new te(i).map((function(e){return e.size})).min(),r.__iterate=function(e,t){for(var n,i=this.__iterator(M,t),r=0;!(n=i.next()).done&&!1!==e(n.value,r++,this););return r},r.__iteratorUncached=function(e,r){var a=i.map((function(e){return e=n(e),H(r?e.reverse():e)})),o=0,s=!1;return new z((function(){var n;return s||(n=a.map((function(e){return e.next()})),s=n.some((function(e){return e.done}))),s?G():B(e,o++,t.apply(null,n.map((function(e){return e.value}))))}))},r}function gn(e,t){return ae(e)?t:e.constructor(t)}function mn(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function vn(e){return Ue(e.size),C(e)}function _n(e){return s(e)?i:l(e)?r:a}function bn(e){return Object.create((s(e)?K:l(e)?Q:J).prototype)}function yn(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):V.prototype.cacheResult.call(this)}function wn(e,t){return e>t?1:e<t?-1:0}function Fn(e){var t=H(e);if(!t){if(!Y(e))throw new TypeError("Expected iterable or array-like: "+e);t=H(n(e))}return t}function kn(e,t){var n,i=function(a){if(a instanceof i)return a;if(!(this instanceof i))return new i(a);if(!n){n=!0;var o=Object.keys(e);Sn(r,o),r.size=o.length,r._name=t,r._keys=o,r._defaultValues=e}this._map=He(a)},r=i.prototype=Object.create(En);return r.constructor=i,i}t(qt,He),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):Wt()},qt.prototype.set=function(e,t){return Yt(this,e,t)},qt.prototype.remove=function(e){return Yt(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?Ht(t,n,e,this.__hash):(this.__ownerID=e,this._map=t,this._list=n,this)},qt.isOrderedMap=Ut,qt.prototype[h]=!0,qt.prototype[g]=qt.prototype.remove,t(Vt,K),Vt.prototype.get=function(e,t){return this._iter.get(e,t)},Vt.prototype.has=function(e){return this._iter.has(e)},Vt.prototype.valueSeq=function(){return this._iter.valueSeq()},Vt.prototype.reverse=function(){var e=this,t=Xt(this,!0);return this._useKeys||(t.valueSeq=function(){return e._iter.toSeq().reverse()}),t},Vt.prototype.map=function(e,t){var n=this,i=$t(this,e,t);return this._useKeys||(i.valueSeq=function(){return n._iter.toSeq().map(e,t)}),i},Vt.prototype.__iterate=function(e,t){var n,i=this;return this._iter.__iterate(this._useKeys?function(t,n){return e(t,n,i)}:(n=t?vn(this):0,function(r){return e(r,t?--n:n++,i)}),t)},Vt.prototype.__iterator=function(e,t){if(this._useKeys)return this._iter.__iterator(e,t);var n=this._iter.__iterator(M,t),i=t?vn(this):0;return new z((function(){var r=n.next();return r.done?r:B(e,t?--i:i++,r.value,r)}))},Vt.prototype[h]=!0,t(Kt,Q),Kt.prototype.includes=function(e){return this._iter.includes(e)},Kt.prototype.__iterate=function(e,t){var n=this,i=0;return this._iter.__iterate((function(t){return e(t,i++,n)}),t)},Kt.prototype.__iterator=function(e,t){var n=this._iter.__iterator(M,t),i=0;return new z((function(){var t=n.next();return t.done?t:B(e,i++,t.value,t)}))},t(Qt,J),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(Jt,K),Jt.prototype.entrySeq=function(){return this._iter.toSeq()},Jt.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t){if(t){mn(t);var i=o(t);return e(i?t.get(1):t[1],i?t.get(0):t[0],n)}}),t)},Jt.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 i=t.value;if(i){mn(i);var r=o(i);return B(e,r?i.get(0):i[0],r?i.get(1):i[1],t)}}}))},Kt.prototype.cacheResult=Vt.prototype.cacheResult=Qt.prototype.cacheResult=Jt.prototype.cacheResult=yn,t(kn,ke),kn.prototype.toString=function(){return this.__toString(Cn(this)+" {","}")},kn.prototype.has=function(e){return this._defaultValues.hasOwnProperty(e)},kn.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},kn.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var e=this.constructor;return e._empty||(e._empty=xn(this,rt()))},kn.prototype.set=function(e,t){if(!this.has(e))throw new Error('Cannot set unknown key "'+e+'" on '+Cn(this));var n=this._map&&this._map.set(e,t);return this.__ownerID||n===this._map?this:xn(this,n)},kn.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:xn(this,t)},kn.prototype.wasAltered=function(){return this._map.wasAltered()},kn.prototype.__iterator=function(e,t){var n=this;return i(this._defaultValues).map((function(e,t){return n.get(t)})).__iterator(e,t)},kn.prototype.__iterate=function(e,t){var n=this;return i(this._defaultValues).map((function(e,t){return n.get(t)})).__iterate(e,t)},kn.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map&&this._map.__ensureOwner(e);return e?xn(this,t,e):(this.__ownerID=e,this._map=t,this)};var En=kn.prototype;function xn(e,t,n){var i=Object.create(Object.getPrototypeOf(e));return i._map=t,i.__ownerID=n,i}function Cn(e){return e._name||e.constructor.name||"Record"}function Sn(e,t){try{t.forEach(Dn.bind(void 0,e))}catch(e){}}function Dn(e,t){Object.defineProperty(e,t,{get:function(){return this.get(t)},set:function(e){ye(this.__ownerID,"Cannot set on an immutable record."),this.set(t,e)}})}function Pn(e){return null==e?Nn():An(e)&&!c(e)?e:Nn().withMutations((function(t){var n=a(e);Ue(n.size),n.forEach((function(e){return t.add(e)}))}))}function An(e){return!(!e||!e[Ln])}En[g]=En.remove,En.deleteIn=En.removeIn=Ke.removeIn,En.merge=Ke.merge,En.mergeWith=Ke.mergeWith,En.mergeIn=Ke.mergeIn,En.mergeDeep=Ke.mergeDeep,En.mergeDeepWith=Ke.mergeDeepWith,En.mergeDeepIn=Ke.mergeDeepIn,En.setIn=Ke.setIn,En.update=Ke.update,En.updateIn=Ke.updateIn,En.withMutations=Ke.withMutations,En.asMutable=Ke.asMutable,En.asImmutable=Ke.asImmutable,t(Pn,xe),Pn.of=function(){return this(arguments)},Pn.fromKeys=function(e){return this(i(e).keySeq())},Pn.prototype.toString=function(){return this.__toString("Set {","}")},Pn.prototype.has=function(e){return this._map.has(e)},Pn.prototype.add=function(e){return Mn(this,this._map.set(e,!0))},Pn.prototype.remove=function(e){return Mn(this,this._map.remove(e))},Pn.prototype.clear=function(){return Mn(this,this._map.clear())},Pn.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++)a(t[n]).forEach((function(t){return e.add(t)}))})):this.constructor(t[0])},Pn.prototype.intersect=function(){var t=e.call(arguments,0);if(0===t.length)return this;t=t.map((function(e){return a(e)}));var n=this;return this.withMutations((function(e){n.forEach((function(n){t.every((function(e){return e.includes(n)}))||e.remove(n)}))}))},Pn.prototype.subtract=function(){var t=e.call(arguments,0);if(0===t.length)return this;t=t.map((function(e){return a(e)}));var n=this;return this.withMutations((function(e){n.forEach((function(n){t.some((function(e){return e.includes(n)}))&&e.remove(n)}))}))},Pn.prototype.merge=function(){return this.union.apply(this,arguments)},Pn.prototype.mergeWith=function(t){var n=e.call(arguments,1);return this.union.apply(this,n)},Pn.prototype.sort=function(e){return Rn(dn(this,e))},Pn.prototype.sortBy=function(e,t){return Rn(dn(this,t,e))},Pn.prototype.wasAltered=function(){return this._map.wasAltered()},Pn.prototype.__iterate=function(e,t){var n=this;return this._map.__iterate((function(t,i){return e(i,i,n)}),t)},Pn.prototype.__iterator=function(e,t){return this._map.map((function(e,t){return t})).__iterator(e,t)},Pn.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)},Pn.isSet=An;var Tn,Ln="@@__IMMUTABLE_SET__@@",In=Pn.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(In);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function Nn(){return Tn||(Tn=jn(rt()))}function Rn(e){return null==e?qn():On(e)?e:qn().withMutations((function(t){var n=a(e);Ue(n.size),n.forEach((function(e){return t.add(e)}))}))}function On(e){return An(e)&&c(e)}In[Ln]=!0,In[g]=In.remove,In.mergeDeep=In.merge,In.mergeDeepWith=In.mergeWith,In.withMutations=Ke.withMutations,In.asMutable=Ke.asMutable,In.asImmutable=Ke.asImmutable,In.__empty=Nn,In.__make=jn,t(Rn,Pn),Rn.of=function(){return this(arguments)},Rn.fromKeys=function(e){return this(i(e).keySeq())},Rn.prototype.toString=function(){return this.__toString("OrderedSet {","}")},Rn.isOrderedSet=On;var zn,Bn=Rn.prototype;function Gn(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=Gn(Wt()))}function Un(e){return null==e?Qn():Hn(e)?e:Qn().unshiftAll(e)}function Hn(e){return!(!e||!e[Yn])}Bn[h]=!0,Bn.__empty=qn,Bn.__make=Gn,t(Un,Ee),Un.of=function(){return this(arguments)},Un.prototype.toString=function(){return this.__toString("Stack [","]")},Un.prototype.get=function(e,t){var n=this._head;for(e=S(this,e);n&&e--;)n=n.next;return n?n.value:t},Un.prototype.peek=function(){return this._head&&this._head.value},Un.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):Kn(e,t)},Un.prototype.pushAll=function(e){if(0===(e=r(e)).size)return this;Ue(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):Kn(t,n)},Un.prototype.pop=function(){return this.slice(1)},Un.prototype.unshift=function(){return this.push.apply(this,arguments)},Un.prototype.unshiftAll=function(e){return this.pushAll(e)},Un.prototype.shift=function(){return this.pop.apply(this,arguments)},Un.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()},Un.prototype.slice=function(e,t){if(P(e,t,this.size))return this;var n=A(e,this.size);if(T(t,this.size)!==this.size)return Ee.prototype.slice.call(this,e,t);for(var i=this.size-n,r=this._head;n--;)r=r.next;return this.__ownerID?(this.size=i,this._head=r,this.__hash=void 0,this.__altered=!0,this):Kn(i,r)},Un.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Kn(this.size,this._head,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},Un.prototype.__iterate=function(e,t){if(t)return this.reverse().__iterate(e);for(var n=0,i=this._head;i&&!1!==e(i.value,n++,this);)i=i.next;return n},Un.prototype.__iterator=function(e,t){if(t)return this.reverse().__iterator(e);var n=0,i=this._head;return new z((function(){if(i){var t=i.value;return i=i.next,B(e,n++,t)}return G()}))},Un.isStack=Hn;var Wn,Yn="@@__IMMUTABLE_STACK__@@",Vn=Un.prototype;function Kn(e,t,n,i){var r=Object.create(Vn);return r.size=e,r._head=t,r.__ownerID=n,r.__hash=i,r.__altered=!1,r}function Qn(){return Wn||(Wn=Kn(0))}function Jn(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}Vn[Yn]=!0,Vn.withMutations=Ke.withMutations,Vn.asMutable=Ke.asMutable,Vn.asImmutable=Ke.asImmutable,Vn.wasAltered=Ke.wasAltered,n.Iterator=z,Jn(n,{toArray:function(){Ue(this.size);var e=new Array(this.size||0);return this.valueSeq().__iterate((function(t,n){e[n]=t})),e},toIndexedSeq:function(){return new Kt(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 Vt(this,!0)},toMap:function(){return He(this.toKeyedSeq())},toObject:function(){Ue(this.size);var e={};return this.__iterate((function(t,n){e[n]=t})),e},toOrderedMap:function(){return qt(this.toKeyedSeq())},toOrderedSet:function(){return Rn(s(this)?this.valueSeq():this)},toSet:function(){return Pn(s(this)?this.valueSeq():this)},toSetSeq:function(){return new Qt(this)},toSeq:function(){return l(this)?this.toIndexedSeq():s(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return Un(s(this)?this.valueSeq():this)},toList:function(){return Et(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 gn(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){Ue(this.size);var n=!0;return this.__iterate((function(i,r,a){if(!e.call(t,i,r,a))return n=!1,!1})),n},filter:function(e,t){return gn(this,en(this,e,t,!0))},find:function(e,t,n){var i=this.findEntry(e,t);return i?i[1]:n},findEntry:function(e,t){var n;return this.__iterate((function(i,r,a){if(e.call(t,i,r,a))return n=[r,i],!1})),n},findLastEntry:function(e,t){return this.toSeq().reverse().findEntry(e,t)},forEach:function(e,t){return Ue(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){Ue(this.size),e=void 0!==e?""+e:",";var t="",n=!0;return this.__iterate((function(i){n?n=!1:t+=e,t+=null!=i?i.toString():""})),t},keys:function(){return this.__iterator(I)},map:function(e,t){return gn(this,$t(this,e,t))},reduce:function(e,t,n){var i,r;return Ue(this.size),arguments.length<2?r=!0:i=t,this.__iterate((function(t,a,o){r?(r=!1,i=t):i=e.call(n,i,t,a,o)})),i},reduceRight:function(e,t,n){var i=this.toKeyedSeq().reverse();return i.reduce.apply(i,arguments)},reverse:function(){return gn(this,Xt(this,!0))},slice:function(e,t){return gn(this,rn(this,e,t,!0))},some:function(e,t){return!this.every(ti(e),t)},sort:function(e){return gn(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 C(e?this.toSeq().filter(e,t):this)},countBy:function(e,t){return tn(this,e,t)},equals:function(e){return _e(this,e)},entrySeq:function(){var e=this;if(e._cache)return new te(e._cache);var t=e.toSeq().map(ei).toIndexedSeq();return t.fromEntrySeq=function(){return e.toSeq()},t},filterNot:function(e,t){return this.filter(ti(e),t)},findLast:function(e,t,n){return this.toKeyedSeq().reverse().find(e,t,n)},first:function(){return this.find(D)},flatMap:function(e,t){return gn(this,un(this,e,t))},flatten:function(e){return gn(this,ln(this,e,!0))},fromEntrySeq:function(){return new Jt(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,i=this,r=Fn(e);!(n=r.next()).done;){var a=n.value;if((i=i&&i.get?i.get(a,b):b)===b)return t}return i},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?ni(e):ai)},minBy:function(e,t){return fn(this,t?ni(t):ai,e)},rest:function(){return this.slice(1)},skip:function(e){return this.slice(Math.max(0,e))},skipLast:function(e){return gn(this,this.toSeq().reverse().skip(e).reverse())},skipWhile:function(e,t){return gn(this,on(this,e,t,!0))},skipUntil:function(e,t){return this.skipWhile(ti(e),t)},sortBy:function(e,t){return gn(this,dn(this,t,e))},take:function(e){return this.slice(0,Math.max(0,e))},takeLast:function(e){return gn(this,this.toSeq().reverse().take(e).reverse())},takeWhile:function(e,t){return gn(this,an(this,e,t))},takeUntil:function(e,t){return this.takeWhile(ti(e),t)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=oi(this))}});var Zn=n.prototype;Zn[d]=!0,Zn[O]=Zn.values,Zn.__toJS=Zn.toArray,Zn.__toStringMapper=ii,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){}}(),Jn(i,{flip:function(){return gn(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,i=0;return gn(this,this.toSeq().map((function(r,a){return e.call(t,[a,r],i++,n)})).fromEntrySeq())},mapKeys:function(e,t){var n=this;return gn(this,this.toSeq().flip().map((function(i,r){return e.call(t,i,r,n)})).flip())}});var $n=i.prototype;function Xn(e,t){return t}function ei(e,t){return[t,e]}function ti(e){return function(){return!e.apply(this,arguments)}}function ni(e){return function(){return-e.apply(this,arguments)}}function ii(e){return"string"==typeof e?JSON.stringify(e):e}function ri(){return x(arguments)}function ai(e,t){return e<t?1:e>t?-1:0}function oi(e){if(e.size===1/0)return 0;var t=c(e),n=s(e),i=t?1:0;return si(e.__iterate(n?t?function(e,t){i=31*i+li(De(e),De(t))|0}:function(e,t){i=i+li(De(e),De(t))|0}:t?function(e){i=31*i+De(e)|0}:function(e){i=i+De(e)|0}),i)}function si(e,t){return t=Ce(t,3432918353),t=Ce(t<<15|t>>>-15,461845907),t=Ce(t<<13|t>>>-13,5),t=Ce((t=(t+3864292196|0)^e)^t>>>16,2246822507),t=Se((t=Ce(t^t>>>13,3266489909))^t>>>16)}function li(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}return $n[f]=!0,$n[O]=Zn.entries,$n.__toJS=Zn.toObject,$n.__toStringMapper=function(e,t){return JSON.stringify(t)+": "+ii(e)},Jn(r,{toKeyedSeq:function(){return new Vt(this,!1)},filter:function(e,t){return gn(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 gn(this,Xt(this,!1))},slice:function(e,t){return gn(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=A(e,e<0?this.count():this.size);var i=this.slice(0,e);return gn(this,1===n?i:i.concat(x(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 gn(this,ln(this,e,!1))},get:function(e,t){return(e=S(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=S(this,e))>=0&&(void 0!==this.size?this.size===1/0||e<this.size:-1!==this.indexOf(e))},interpose:function(e){return gn(this,cn(this,e))},interleave:function(){var e=[this].concat(x(arguments)),t=hn(this.toSeq(),Q.of,e),n=t.flatten(!0);return t.size&&(n.size=t.size*e.length),gn(this,n)},last:function(){return this.get(-1)},skipWhile:function(e,t){return gn(this,on(this,e,t,!1))},zip:function(){return gn(this,hn(this,ri,[this].concat(x(arguments))))},zipWith:function(e){var t=x(arguments);return t[0]=this,gn(this,hn(this,e,t))}}),r.prototype[p]=!0,r.prototype[h]=!0,Jn(a,{get:function(e,t){return this.has(e)?e:t},includes:function(e){return this.has(e)},keySeq:function(){return this.valueSeq()}}),a.prototype.has=Zn.includes,Jn(K,i.prototype),Jn(Q,r.prototype),Jn(J,a.prototype),Jn(ke,i.prototype),Jn(Ee,r.prototype),Jn(xe,a.prototype),{Iterable:n,Seq:V,Collection:Fe,Map:He,OrderedMap:qt,List:Et,Stack:Un,Set:Pn,OrderedSet:Rn,Record:kn,Range:we,Repeat:be,is:ve,fromJS:pe}}()}(kze);var Eze=kze.exports.OrderedMap,xze={createFromArray:function(e){return Eze(e.map((function(e){return[e.getKey(),e]})))}},Cze=xze;var Sze=kze.exports,Dze=Sze.Map,Pze=Sze.OrderedSet,Aze=Sze.Record,Tze=Pze(),Lze={style:Tze,entity:null},Ize=function(e){var t,n;function i(){return e.apply(this,arguments)||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=i.prototype;return r.getStyle=function(){return this.get("style")},r.getEntity=function(){return this.get("entity")},r.hasStyle=function(e){return this.getStyle().includes(e)},i.applyStyle=function(e,t){var n=e.set("style",e.getStyle().add(t));return i.create(n)},i.removeStyle=function(e,t){var n=e.set("style",e.getStyle().remove(t));return i.create(n)},i.applyEntity=function(e,t){var n=e.getEntity()===t?e:e.set("entity",t);return i.create(n)},i.create=function(e){if(!e)return Mze;var t=Dze({style:Tze,entity:null}).merge(e),n=jze.get(t);if(n)return n;var r=new i(t);return jze=jze.set(t,r),r},i.fromJS=function(e){var t=e.style,n=e.entity;return new i({style:Array.isArray(t)?Pze(t):t,entity:Array.isArray(n)?Pze(n):n})},i}(Aze(Lze)),Mze=new Ize,jze=Dze([[Dze(Lze),Mze]]);Ize.EMPTY=Mze;var Nze=Ize;var Rze=function(e,t,n,i){if(e.size){var r=0;e.reduce((function(e,a,o){return t(e,a)||(n(e)&&i(r,o),r=o),a})),n(e.last())&&i(r,e.count())}};var Oze=Nze,zze=Rze,Bze=kze.exports,Gze=Bze.List,qze=Bze.Map,Uze=Bze.OrderedSet,Hze=Bze.Record,Wze=Bze.Repeat,Yze=Uze(),Vze=Hze({key:"",type:"unstyled",text:"",characterList:Gze(),depth:0,data:qze()}),Kze=function(e){var t,n;function i(t){return e.call(this,function(e){if(!e)return e;var t=e.characterList,n=e.text;return n&&!t&&(e.characterList=Gze(Wze(Oze.EMPTY,n.length))),e}(t))||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=i.prototype;return r.getKey=function(){return this.get("key")},r.getType=function(){return this.get("type")},r.getText=function(){return this.get("text")},r.getCharacterList=function(){return this.get("characterList")},r.getLength=function(){return this.getText().length},r.getDepth=function(){return this.get("depth")},r.getData=function(){return this.get("data")},r.getInlineStyleAt=function(e){var t=this.getCharacterList().get(e);return t?t.getStyle():Yze},r.getEntityAt=function(e){var t=this.getCharacterList().get(e);return t?t.getEntity():null},r.findStyleRanges=function(e,t){zze(this.getCharacterList(),Qze,e,t)},r.findEntityRanges=function(e,t){zze(this.getCharacterList(),Jze,e,t)},i}(Vze);function Qze(e,t){return e.getStyle()===t.getStyle()}function Jze(e,t){return e.getEntity()===t.getEntity()}var Zze=Kze;var $ze=Nze,Xze=Rze,eBe=kze.exports,tBe=eBe.List,nBe=eBe.Map,iBe=eBe.OrderedSet,rBe=eBe.Record,aBe=eBe.Repeat,oBe=iBe(),sBe={parent:null,characterList:tBe(),data:nBe(),depth:0,key:"",text:"",type:"unstyled",children:tBe(),prevSibling:null,nextSibling:null},lBe=function(e,t){return e.getStyle()===t.getStyle()},uBe=function(e,t){return e.getEntity()===t.getEntity()},cBe=function(e){if(!e)return e;var t=e.characterList,n=e.text;return n&&!t&&(e.characterList=tBe(aBe($ze.EMPTY,n.length))),e},dBe=function(e){var t,n;function i(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:sBe;return e.call(this,cBe(t))||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=i.prototype;return r.getKey=function(){return this.get("key")},r.getType=function(){return this.get("type")},r.getText=function(){return this.get("text")},r.getCharacterList=function(){return this.get("characterList")},r.getLength=function(){return this.getText().length},r.getDepth=function(){return this.get("depth")},r.getData=function(){return this.get("data")},r.getInlineStyleAt=function(e){var t=this.getCharacterList().get(e);return t?t.getStyle():oBe},r.getEntityAt=function(e){var t=this.getCharacterList().get(e);return t?t.getEntity():null},r.getChildKeys=function(){return this.get("children")},r.getParentKey=function(){return this.get("parent")},r.getPrevSiblingKey=function(){return this.get("prevSibling")},r.getNextSiblingKey=function(){return this.get("nextSibling")},r.findStyleRanges=function(e,t){Xze(this.getCharacterList(),lBe,e,t)},r.findEntityRanges=function(e,t){Xze(this.getCharacterList(),uBe,e,t)},i}(rBe(sBe)),fBe=dBe,pBe=Nze,hBe=kze.exports.Map;function gBe(e,t,n,i){var r=e.getBlockMap(),a=t.getStartKey(),o=t.getStartOffset(),s=t.getEndKey(),l=t.getEndOffset(),u=r.skipUntil((function(e,t){return t===a})).takeUntil((function(e,t){return t===s})).concat(hBe([[s,r.get(s)]])).map((function(e,t){var r,u;a===s?(r=o,u=l):(r=t===a?o:0,u=t===s?l:e.getLength());for(var c,d=e.getCharacterList();r<u;)c=d.get(r),d=d.set(r,i?pBe.applyStyle(c,n):pBe.removeStyle(c,n)),r++;return e.set("characterList",d)}));return e.merge({blockMap:r.merge(u),selectionBefore:t,selectionAfter:t})}var mBe={add:function(e,t,n){return gBe(e,t,n,!0)},remove:function(e,t,n){return gBe(e,t,n,!1)}},vBe=Nze;var _Be=function(e,t,n,i){for(var r=t,a=e.getCharacterList();r<n;)a=a.set(r,vBe.applyEntity(a.get(r),i)),r++;return e.set("characterList",a)},bBe=kze.exports;var yBe=function(e,t,n){var i=e.getBlockMap(),r=t.getStartKey(),a=t.getStartOffset(),o=t.getEndKey(),s=t.getEndOffset(),l=i.skipUntil((function(e,t){return t===r})).takeUntil((function(e,t){return t===o})).toOrderedMap().merge(bBe.OrderedMap([[o,i.get(o)]])).map((function(e,t){var i=t===r?a:0,l=t===o?s:e.getLength();return _Be(e,i,l,n)}));return e.merge({blockMap:i.merge(l),selectionBefore:t,selectionAfter:t})},wBe={getRemovalRange:function(e,t,n,i,r){var a=n.split(" ");a=a.map((function(e,t){if("forward"===r){if(t>0)return" "+e}else if(t<a.length-1)return e+" ";return e}));for(var o,s=i,l=null,u=null,c=0;c<a.length;c++){if(e<(o=s+a[c].length)&&s<t)null!==l||(l=s),u=o;else if(null!==l)break;s=o}var d=i+n.length,f=l===i,p=u===d;return(!f&&p||f&&!p)&&("forward"===r?u!==d&&u++:l!==i&&l--),{start:l,end:u}}},FBe="production"!==go.env.NODE_ENV?function(e){}:function(e){if(void 0===e)throw new Error("invariant(...): Second argument must be a string.")};var kBe=function(e,t){for(var n=arguments.length,i=new Array(n>2?n-2:0),r=2;r<n;r++)i[r-2]=arguments[r];if(FBe(t),!e){var a;if(void 0===t)a=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var o=0;(a=new Error(t.replace(/%s/g,(function(){return String(i[o++])})))).name="Invariant Violation"}throw a.framesToPop=1,a}},EBe=kBe;var xBe=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"!==go.env.NODE_ENV?EBe(!1,"Entity key not found in this range."):EBe(!1)),n},CBe=wBe,SBe=xBe,DBe=kBe;function PBe(e,t,n,i,r,a,o){var s=n.getStartOffset(),l=n.getEndOffset(),u=e.__get(r).getMutability(),c=o?s:l;if("MUTABLE"===u)return n;var d=SBe(t,r).filter((function(e){return c<=e.end&&c>=e.start}));1!=d.length&&("production"!==go.env.NODE_ENV?DBe(!1,"There should only be one entity range within this removal range."):DBe(!1));var f=d[0];if("IMMUTABLE"===u)return n.merge({anchorOffset:f.start,focusOffset:f.end,isBackward:!1});a||(o?l=f.end:s=f.start);var p=CBe.getRemovalRange(s,l,t.getText().slice(f.start,f.end),f.start,i);return n.merge({anchorOffset:p.start,focusOffset:p.end,isBackward:!1})}var ABe=function(e,t,n,i,r){var a=i.getStartOffset(),o=i.getEndOffset(),s=t.getEntityAt(a),l=n.getEntityAt(o-1);if(!s&&!l)return i;var u=i;if(s&&s===l)u=PBe(e,t,u,r,s,!0,!0);else if(s&&l){var c=PBe(e,t,u,r,s,!1,!0),d=PBe(e,n,u,r,l,!1,!1);u=u.merge({anchorOffset:c.getAnchorOffset(),focusOffset:d.getFocusOffset(),isBackward:!1})}else if(s){var f=PBe(e,t,u,r,s,!1,!0);u=u.merge({anchorOffset:f.getStartOffset(),isBackward:!1})}else if(l){var p=PBe(e,n,u,r,l,!1,!1);u=u.merge({focusOffset:p.getEndOffset(),isBackward:!1})}return u},TBe={},LBe=Math.pow(2,24);var IBe=function(){for(var e;void 0===e||TBe.hasOwnProperty(e)||!isNaN(+e);)e=Math.floor(Math.random()*LBe).toString(32);return TBe[e]=!0,e},MBe=fBe,jBe=IBe,NBe=kze.exports.OrderedMap,RBe=function(e){return e.first()instanceof MBe?function(e){var t,n={};return NBe(e.withMutations((function(e){e.forEach((function(i,r){var a=i.getKey(),o=i.getNextSiblingKey(),s=i.getPrevSiblingKey(),l=i.getChildKeys(),u=i.getParentKey(),c=jBe();if(n[a]=c,o&&(e.get(o)?e.setIn([o,"prevSibling"],c):e.setIn([a,"nextSibling"],null)),s&&(e.get(s)?e.setIn([s,"nextSibling"],c):e.setIn([a,"prevSibling"],null)),u&&e.get(u)){var d=e.get(u).getChildKeys();e.setIn([u,"children"],d.set(d.indexOf(i.getKey()),c))}else e.setIn([a,"parent"],null),t&&(e.setIn([t.getKey(),"nextSibling"],c),e.setIn([a,"prevSibling"],n[t.getKey()])),t=e.get(a);l.forEach((function(t){e.get(t)?e.setIn([t,"parent"],c):e.setIn([a,"children"],i.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 NBe(e.toArray().map((function(e){var t=jBe();return[t,e.set("key",t)]})))}(e)},OBe=Nze,zBe=Rze,BBe=kBe;function GBe(e,t,n){var i=t.getCharacterList(),r=n>0?i.get(n-1):void 0,a=n<i.count()?i.get(n):void 0,o=r?r.getEntity():void 0,s=a?a.getEntity():void 0;if(s&&s===o&&"MUTABLE"!==e.__get(s).getMutability()){for(var l,u=function(e,t,n){var i;return zBe(e,(function(e,t){return e.getEntity()===t.getEntity()}),(function(e){return e.getEntity()===t}),(function(e,t){e<=n&&t>=n&&(i={start:e,end:t})})),"object"!=typeof i&&("production"!==go.env.NODE_ENV?BBe(!1,"Removal range must exist within character list."):BBe(!1)),i}(i,s,n),c=u.start,d=u.end;c<d;)l=i.get(c),i=i.set(c,OBe.applyEntity(l,null)),c++;return t.set("characterList",i)}return t}var qBe=function(e,t){var n=e.getBlockMap(),i=e.getEntityMap(),r={},a=t.getStartKey(),o=t.getStartOffset(),s=n.get(a),l=GBe(i,s,o);l!==s&&(r[a]=l);var u=t.getEndKey(),c=t.getEndOffset(),d=n.get(u);a===u&&(d=l);var f=GBe(i,d,c);return f!==d&&(r[u]=f),Object.keys(r).length?e.merge({blockMap:n.merge(r),selectionAfter:t}):e.set("selectionAfter",t)},UBe=RBe,HBe=qBe,WBe=function(e,t){var n=t.getStartKey(),i=t.getStartOffset(),r=t.getEndKey(),a=t.getEndOffset(),o=HBe(e,t).getBlockMap(),s=o.keySeq(),l=s.indexOf(n),u=s.indexOf(r)+1;return UBe(o.slice(l,u).map((function(e,t){var o=e.getText(),s=e.getCharacterList();return n===r?e.merge({text:o.slice(i,a),characterList:s.slice(i,a)}):t===n?e.merge({text:o.slice(i),characterList:s.slice(i)}):t===r?e.merge({text:o.slice(0,a),characterList:s.slice(0,a)}):e})))};var YBe=function(e,t,n){var i=e;if(n===i.count())t.forEach((function(e){i=i.push(e)}));else if(0===n)t.reverse().forEach((function(e){i=i.unshift(e)}));else{var r=i.slice(0,n),a=i.slice(n);i=r.concat(t,a).toList()}return i},VBe=Cze,KBe=fBe,QBe=YBe,JBe=kBe,ZBe=RBe,$Be=kze.exports.List,XBe=function(e,t,n,i,r,a){var o=arguments.length>6&&void 0!==arguments[6]?arguments[6]:"REPLACE_WITH_NEW_DATA",s=n.get(r),l=s.getText(),u=s.getCharacterList(),c=r,d=a+i.getText().length,f=null;switch(o){case"MERGE_OLD_DATA_TO_NEW_DATA":f=i.getData().merge(s.getData());break;case"REPLACE_WITH_NEW_DATA":f=i.getData()}var p=s.getType();l&&"unstyled"===p&&(p=i.getType());var h=s.merge({text:l.slice(0,a)+i.getText()+l.slice(a),characterList:QBe(u,i.getCharacterList(),a),type:p,data:f});return e.merge({blockMap:n.set(r,h),selectionBefore:t,selectionAfter:t.merge({anchorKey:c,anchorOffset:d,focusKey:c,focusOffset:d,isBackward:!1})})},eGe=function(e,t,n,i,r,a){var o=n.first()instanceof KBe,s=[],l=i.size,u=n.get(r),c=i.first(),d=i.last(),f=d.getLength(),p=d.getKey(),h=o&&(!u.getChildKeys().isEmpty()||!c.getChildKeys().isEmpty());n.forEach((function(e,t){t===r?(h?s.push(e):s.push(function(e,t,n){var i=e.getText(),r=e.getCharacterList(),a=i.slice(0,t),o=r.slice(0,t),s=n.first();return e.merge({text:a+s.getText(),characterList:o.concat(s.getCharacterList()),type:a?e.getType():s.getType(),data:s.getData()})}(e,a,i)),i.slice(h?0:1,l-1).forEach((function(e){return s.push(e)})),s.push(function(e,t,n){var i=e.getText(),r=e.getCharacterList(),a=i.length,o=i.slice(t,a),s=r.slice(t,a),l=n.last();return l.merge({text:l.getText()+o,characterList:l.getCharacterList().concat(s),data:l.getData()})}(e,a,i))):s.push(e)}));var g=VBe.createFromArray(s);return o&&(g=function(e,t,n,i){return e.withMutations((function(t){var r=n.getKey(),a=i.getKey(),o=n.getNextSiblingKey(),s=n.getParentKey(),l=function(e,t){var n=e.getKey(),i=e,r=[];for(t.get(n)&&r.push(n);i&&i.getNextSiblingKey();){var a=i.getNextSiblingKey();if(!a)break;r.push(a),i=t.get(a)}return r}(i,e),u=l[l.length-1];if(t.get(a)?(t.setIn([r,"nextSibling"],a),t.setIn([a,"prevSibling"],r)):(t.setIn([r,"nextSibling"],i.getNextSiblingKey()),t.setIn([i.getNextSiblingKey(),"prevSibling"],r)),t.setIn([u,"nextSibling"],o),o&&t.setIn([o,"prevSibling"],u),l.forEach((function(e){return t.setIn([e,"parent"],s)})),s){var c=e.get(s).getChildKeys(),d=c.indexOf(r)+1,f=c.toArray();f.splice.apply(f,[d,0].concat(l)),t.setIn([s,"children"],$Be(f))}}))}(g,0,u,c)),e.merge({blockMap:g,selectionBefore:t,selectionAfter:t.merge({anchorKey:p,anchorOffset:f,focusKey:p,focusOffset:f,isBackward:!1})})},tGe=function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"REPLACE_WITH_NEW_DATA";t.isCollapsed()||("production"!==go.env.NODE_ENV?JBe(!1,"`insertFragment` should only be called with a collapsed selection state."):JBe(!1));var r=e.getBlockMap(),a=ZBe(n),o=t.getStartKey(),s=t.getStartOffset(),l=r.get(o);return l instanceof KBe&&(l.getChildKeys().isEmpty()||("production"!==go.env.NODE_ENV?JBe(!1,"`insertFragment` should not be called when a container node is selected."):JBe(!1))),1===a.size?XBe(e,t,r,a.first(),o,s,i):eGe(e,t,r,a,o,s)},nGe=YBe,iGe=kBe,rGe=kze.exports.Repeat;var aGe=function(e,t,n,i){t.isCollapsed()||("production"!==go.env.NODE_ENV?iGe(!1,"`insertText` should only be called with a collapsed range."):iGe(!1));var r=null;if(null!=n&&(r=n.length),null==r||0===r)return e;var a=e.getBlockMap(),o=t.getStartKey(),s=t.getStartOffset(),l=a.get(o),u=l.getText(),c=l.merge({text:u.slice(0,s)+n+u.slice(s,l.getLength()),characterList:nGe(l.getCharacterList(),rGe(i,r).toList(),s)}),d=s+r;return e.merge({blockMap:a.set(o,c),selectionAfter:t.merge({anchorOffset:d,focusOffset:d})})},oGe=kze.exports.Map;var sGe=function(e,t,n){var i=t.getStartKey(),r=t.getEndKey(),a=e.getBlockMap(),o=a.toSeq().skipUntil((function(e,t){return t===i})).takeUntil((function(e,t){return t===r})).concat(oGe([[r,a.get(r)]])).map(n);return e.merge({blockMap:a.merge(o),selectionBefore:t,selectionAfter:t})},lGe=fBe,uGe=function(e,t){if(!(e instanceof lGe))return null;var n=e.getNextSiblingKey();if(n)return n;var i=e.getParentKey();if(!i)return null;for(var r=t.get(i);r&&!r.getNextSiblingKey();){var a=r.getParentKey();r=a?t.get(a):null}return r?r.getNextSiblingKey():null},cGe=fBe,dGe=uGe,fGe=kze.exports;fGe.List;var pGe=fGe.Map,hGe=function(e,t,n){if(e){var i=t.get(e);i&&t.set(e,n(i))}},gGe=function(e,t){var n=[];if(!e)return n;for(var i=t.get(e);i&&i.getParentKey();){var r=i.getParentKey();r&&n.push(r),i=r?t.get(r):null}return n},mGe=function(e,t,n){if(!e)return null;for(var i=n.get(e.getKey()).getNextSiblingKey();i&&!t.get(i);)i=n.get(i).getNextSiblingKey()||null;return i},vGe=function(e,t,n){if(!e)return null;for(var i=n.get(e.getKey()).getPrevSiblingKey();i&&!t.get(i);)i=n.get(i).getPrevSiblingKey()||null;return i},_Ge=function(e,t,n,i){return e.withMutations((function(r){if(hGe(t.getKey(),r,(function(e){return e.merge({nextSibling:mGe(e,r,i),prevSibling:vGe(e,r,i)})})),hGe(n.getKey(),r,(function(e){return e.merge({nextSibling:mGe(e,r,i),prevSibling:vGe(e,r,i)})})),gGe(t.getKey(),i).forEach((function(e){return hGe(e,r,(function(e){return e.merge({children:e.getChildKeys().filter((function(e){return r.get(e)})),nextSibling:mGe(e,r,i),prevSibling:vGe(e,r,i)})}))})),hGe(t.getNextSiblingKey(),r,(function(e){return e.merge({prevSibling:t.getPrevSiblingKey()})})),hGe(t.getPrevSiblingKey(),r,(function(e){return e.merge({nextSibling:mGe(e,r,i)})})),hGe(n.getNextSiblingKey(),r,(function(e){return e.merge({prevSibling:vGe(e,r,i)})})),hGe(n.getPrevSiblingKey(),r,(function(e){return e.merge({nextSibling:n.getNextSiblingKey()})})),gGe(n.getKey(),i).forEach((function(e){hGe(e,r,(function(e){return e.merge({children:e.getChildKeys().filter((function(e){return r.get(e)})),nextSibling:mGe(e,r,i),prevSibling:vGe(e,r,i)})}))})),function(e,t){var n=[];if(!e)return n;for(var i=dGe(e,t);i&&t.get(i);){var r=t.get(i);n.push(i),i=r.getParentKey()?dGe(r,t):null}return n}(n,i).forEach((function(e){return hGe(e,r,(function(e){return e.merge({nextSibling:mGe(e,r,i),prevSibling:vGe(e,r,i)})}))})),null==e.get(t.getKey())&&null!=e.get(n.getKey())&&n.getParentKey()===t.getKey()&&null==n.getPrevSiblingKey()){var a=t.getPrevSiblingKey();hGe(n.getKey(),r,(function(e){return e.merge({prevSibling:a})})),hGe(a,r,(function(e){return e.merge({nextSibling:n.getKey()})}));var o=a?e.get(a):null,s=o?o.getParentKey():null;if(t.getChildKeys().forEach((function(e){hGe(e,r,(function(e){return e.merge({parent:s})}))})),null!=s){var l=e.get(s);hGe(s,r,(function(e){return e.merge({children:l.getChildKeys().concat(t.getChildKeys())})}))}hGe(t.getChildKeys().find((function(t){return null===e.get(t).getNextSiblingKey()})),r,(function(e){return e.merge({nextSibling:t.getNextSiblingKey()})}))}}))},bGe=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 i=e.slice(0,t),r=e.slice(n);e=i.concat(r).toList()}return e},yGe=function(e,t){if(t.isCollapsed())return e;var n,i=e.getBlockMap(),r=t.getStartKey(),a=t.getStartOffset(),o=t.getEndKey(),s=t.getEndOffset(),l=i.get(r),u=i.get(o),c=l instanceof cGe,d=[];if(c){var f=u.getChildKeys(),p=gGe(o,i);u.getNextSiblingKey()&&(d=d.concat(p)),f.isEmpty()||(d=d.concat(p.concat([o]))),d=d.concat(gGe(dGe(u,i),i))}n=l===u?bGe(l.getCharacterList(),a,s):l.getCharacterList().slice(0,a).concat(u.getCharacterList().slice(s));var h=l.merge({text:l.getText().slice(0,a)+u.getText().slice(s),characterList:n}),g=c&&0===a&&0===s&&u.getParentKey()===r&&null==u.getPrevSiblingKey()?pGe([[r,null]]):i.toSeq().skipUntil((function(e,t){return t===r})).takeUntil((function(e,t){return t===o})).filter((function(e,t){return-1===d.indexOf(t)})).concat(pGe([[o,null]])).map((function(e,t){return t===r?h:null})),m=i.merge(g).filter((function(e){return!!e}));return c&&l!==u&&(m=_Ge(m,l,u,i)),e.merge({blockMap:m,selectionBefore:t,selectionAfter:t.merge({anchorKey:r,anchorOffset:a,focusKey:r,focusOffset:a,isBackward:!1})})},wGe=fBe,FGe=IBe,kGe=kze.exports,EGe=kBe,xGe=sGe,CGe=kGe.List,SGe=kGe.Map,DGe=function(e,t,n){if(e){var i=t.get(e);i&&t.set(e,n(i))}},PGe=function(e,t){t.isCollapsed()||("production"!==go.env.NODE_ENV?EGe(!1,"Selection range must be collapsed."):EGe(!1));var n=t.getAnchorKey(),i=e.getBlockMap(),r=i.get(n),a=r.getText();if(!a){var o=r.getType();if("unordered-list-item"===o||"ordered-list-item"===o)return xGe(e,t,(function(e){return e.merge({type:"unstyled",depth:0})}))}var s=t.getAnchorOffset(),l=r.getCharacterList(),u=FGe(),c=r instanceof wGe,d=r.merge({text:a.slice(0,s),characterList:l.slice(0,s)}),f=d.merge({key:u,text:a.slice(s),characterList:l.slice(s),data:SGe()}),p=i.toSeq().takeUntil((function(e){return e===r})),h=i.toSeq().skipUntil((function(e){return e===r})).rest(),g=p.concat([[n,d],[u,f]],h).toOrderedMap();return c&&(r.getChildKeys().isEmpty()||("production"!==go.env.NODE_ENV?EGe(!1,"ContentBlockNode must not have children"):EGe(!1)),g=function(e,t,n){return e.withMutations((function(e){var i=t.getKey(),r=n.getKey();DGe(t.getParentKey(),e,(function(e){var t=e.getChildKeys(),n=t.indexOf(i)+1,a=t.toArray();return a.splice(n,0,r),e.merge({children:CGe(a)})})),DGe(t.getNextSiblingKey(),e,(function(e){return e.merge({prevSibling:r})})),DGe(i,e,(function(e){return e.merge({nextSibling:r})})),DGe(r,e,(function(e){return e.merge({prevSibling:i})}))}))}(g,d,f)),e.merge({blockMap:g,selectionBefore:t,selectionAfter:t.merge({anchorKey:u,anchorOffset:0,focusKey:u,focusOffset:0,isBackward:!1})})},AGe=Nze,TGe=mBe,LGe=yBe,IGe=ABe,MGe=WBe,jGe=tGe,NGe=aGe,RGe=kBe,OGe=sGe,zGe=qBe,BGe=yGe,GGe=PGe,qGe=kze.exports.OrderedSet,UGe={replaceText:function(e,t,n,i,r){var a=zGe(e,t),o=BGe(a,t),s=AGe.create({style:i||qGe(),entity:r||null});return NGe(o,o.getSelectionAfter(),n,s)},insertText:function(e,t,n,i,r){return t.isCollapsed()||("production"!==go.env.NODE_ENV?RGe(!1,"Target range must be collapsed for `insertText`."):RGe(!1)),UGe.replaceText(e,t,n,i,r)},moveText:function(e,t,n){var i=MGe(e,t),r=UGe.removeRange(e,t,"backward");return UGe.replaceWithFragment(r,n,i)},replaceWithFragment:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"REPLACE_WITH_NEW_DATA",r=zGe(e,t),a=BGe(r,t);return jGe(a,a.getSelectionAfter(),n,i)},removeRange:function(e,t,n){var i,r,a,o;t.getIsBackward()&&(t=t.merge({anchorKey:t.getFocusKey(),anchorOffset:t.getFocusOffset(),focusKey:t.getAnchorKey(),focusOffset:t.getAnchorOffset(),isBackward:!1})),i=t.getAnchorKey(),r=t.getFocusKey(),a=e.getBlockForKey(i),o=e.getBlockForKey(r);var s=t.getStartOffset(),l=t.getEndOffset(),u=a.getEntityAt(s),c=o.getEntityAt(l-1);if(i===r&&u&&u===c){var d=IGe(e.getEntityMap(),a,o,t,n);return BGe(e,d)}var f=zGe(e,t);return BGe(f,t)},splitBlock:function(e,t){var n=zGe(e,t),i=BGe(n,t);return GGe(i,i.getSelectionAfter())},applyInlineStyle:function(e,t,n){return TGe.add(e,t,n)},removeInlineStyle:function(e,t,n){return TGe.remove(e,t,n)},setBlockType:function(e,t,n){return OGe(e,t,(function(e){return e.merge({type:n,depth:0})}))},setBlockData:function(e,t,n){return OGe(e,t,(function(e){return e.merge({data:n})}))},mergeBlockData:function(e,t,n){return OGe(e,t,(function(e){return e.merge({data:e.getData().merge(n)})}))},applyEntity:function(e,t,n){var i=zGe(e,t);return LGe(i,t,n)}},HGe=UGe;var WGe=function(e){return Object.keys(e).map((function(t){return e[t]}))};function YGe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var VGe=Rze,KGe=WGe,QGe=kze.exports,JGe=QGe.List,ZGe=QGe.Repeat,$Ge=QGe.Record,XGe=function(){return!0},eqe=$Ge({start:null,end:null}),tqe=$Ge({start:null,end:null,decoratorKey:null,leaves:null}),nqe={generate:function(e,t,n){var i=t.getLength();if(!i)return JGe.of(new tqe({start:0,end:0,decoratorKey:null,leaves:JGe.of(new eqe({start:0,end:0}))}));var r=[],a=n?n.getDecorations(t,e):JGe(ZGe(null,i)),o=t.getCharacterList();return VGe(a,rqe,XGe,(function(e,t){r.push(new tqe({start:e,end:t,decoratorKey:a.get(e),leaves:iqe(o.slice(e,t).toList(),e)}))})),JGe(r)},fromJS:function(e){var t=e.leaves,n=function(e,t){if(null==e)return{};var n,i,r={},a=Object.keys(e);for(i=0;i<a.length;i++)n=a[i],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,["leaves"]);return new tqe(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){YGe(e,t,n[t])}))}return e}({},n,{leaves:null!=t?JGe(Array.isArray(t)?t:KGe(t)).map((function(e){return eqe(e)})):null}))}};function iqe(e,t){var n=[],i=e.map((function(e){return e.getStyle()})).toList();return VGe(i,rqe,XGe,(function(e,i){n.push(new eqe({start:e+t,end:i+t}))})),JGe(n)}function rqe(e,t){return e===t}var aqe=nqe;var oqe=function(e){var t,n;function i(){return e.apply(this,arguments)||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=i.prototype;return r.getType=function(){return this.get("type")},r.getMutability=function(){return this.get("mutability")},r.getData=function(){return this.get("data")},i}((0,kze.exports.Record)({type:"TOKEN",mutability:"IMMUTABLE",data:Object})),sqe=oqe;var lqe=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 uqe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var cqe=sqe,dqe=kBe,fqe=lqe,pqe=(0,kze.exports.Map)(),hqe=fqe();function gqe(e,t){console.warn("WARNING: "+e+' will be deprecated soon!\nPlease use "'+t+'" instead.')}var mqe={getLastCreatedEntityKey:function(){return gqe("DraftEntity.getLastCreatedEntityKey","contentState.getLastCreatedEntityKey"),mqe.__getLastCreatedEntityKey()},create:function(e,t,n){return gqe("DraftEntity.create","contentState.createEntity"),mqe.__create(e,t,n)},add:function(e){return gqe("DraftEntity.add","contentState.addEntity"),mqe.__add(e)},get:function(e){return gqe("DraftEntity.get","contentState.getEntity"),mqe.__get(e)},__getAll:function(){return pqe},__loadWithEntities:function(e){pqe=e,hqe=fqe()},mergeData:function(e,t){return gqe("DraftEntity.mergeData","contentState.mergeEntityData"),mqe.__mergeData(e,t)},replaceData:function(e,t){return gqe("DraftEntity.replaceData","contentState.replaceEntityData"),mqe.__replaceData(e,t)},__getLastCreatedEntityKey:function(){return hqe},__create:function(e,t,n){return mqe.__add(new cqe({type:e,mutability:t,data:n||{}}))},__add:function(e){return hqe=fqe(),pqe=pqe.set(hqe,e),hqe},__get:function(e){var t=pqe.get(e);return t||("production"!==go.env.NODE_ENV?dqe(!1,"Unknown DraftEntity key: %s.",e):dqe(!1)),t},__mergeData:function(e,t){var n=mqe.__get(e),i=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){uqe(e,t,n[t])}))}return e}({},n.getData(),t),r=n.set("data",i);return pqe=pqe.set(e,r),r},__replaceData:function(e,t){var n=mqe.__get(e).set("data",t);return pqe=pqe.set(e,n),n}},vqe=mqe;var _qe=function(e){var t,n;function i(){return e.apply(this,arguments)||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=i.prototype;return r.serialize=function(){return"Anchor: "+this.getAnchorKey()+":"+this.getAnchorOffset()+", Focus: "+this.getFocusKey()+":"+this.getFocusOffset()+", Is Backward: "+String(this.getIsBackward())+", Has Focus: "+String(this.getHasFocus())},r.getAnchorKey=function(){return this.get("anchorKey")},r.getAnchorOffset=function(){return this.get("anchorOffset")},r.getFocusKey=function(){return this.get("focusKey")},r.getFocusOffset=function(){return this.get("focusOffset")},r.getIsBackward=function(){return this.get("isBackward")},r.getHasFocus=function(){return this.get("hasFocus")},r.hasEdgeWithin=function(e,t,n){var i=this.getAnchorKey(),r=this.getFocusKey();if(i===r&&i===e){var a=this.getStartOffset(),o=this.getEndOffset();return t<=a&&a<=n||t<=o&&o<=n}if(e!==i&&e!==r)return!1;var s=e===i?this.getAnchorOffset():this.getFocusOffset();return t<=s&&n>=s},r.isCollapsed=function(){return this.getAnchorKey()===this.getFocusKey()&&this.getAnchorOffset()===this.getFocusOffset()},r.getStartKey=function(){return this.getIsBackward()?this.getFocusKey():this.getAnchorKey()},r.getStartOffset=function(){return this.getIsBackward()?this.getFocusOffset():this.getAnchorOffset()},r.getEndKey=function(){return this.getIsBackward()?this.getAnchorKey():this.getFocusKey()},r.getEndOffset=function(){return this.getIsBackward()?this.getAnchorOffset():this.getFocusOffset()},i.createEmpty=function(e){return new i({anchorKey:e,anchorOffset:0,focusKey:e,focusOffset:0,isBackward:!1,hasFocus:!1})},i}((0,kze.exports.Record)({anchorKey:"",anchorOffset:0,focusKey:"",focusOffset:0,isBackward:!1,hasFocus:!1})),bqe=_qe,yqe=function(e){return!("undefined"==typeof window||!window.__DRAFT_GKX)&&!!window.__DRAFT_GKX[e]},wqe=new RegExp("\r","g");var Fqe=function(e){return e.replace(wqe,"")};function kqe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){Eqe(e,t,n[t])}))}return e}function Eqe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var xqe=Cze,Cqe=Nze,Sqe=Zze,Dqe=fBe,Pqe=vqe,Aqe=bqe,Tqe=IBe,Lqe=WGe,Iqe=yqe,Mqe=kze.exports,jqe=Fqe,Nqe=Mqe.List,Rqe=Mqe.Record,Oqe=Mqe.Repeat,zqe=Mqe.Map,Bqe=Mqe.OrderedMap,Gqe=Rqe({entityMap:null,blockMap:null,selectionBefore:null,selectionAfter:null}),qqe=Iqe("draft_tree_data_support")?Dqe:Sqe,Uqe=function(e){var t,n;function i(){return e.apply(this,arguments)||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=i.prototype;return r.getEntityMap=function(){return Pqe},r.getBlockMap=function(){return this.get("blockMap")},r.getSelectionBefore=function(){return this.get("selectionBefore")},r.getSelectionAfter=function(){return this.get("selectionAfter")},r.getBlockForKey=function(e){return this.getBlockMap().get(e)},r.getKeyBefore=function(e){return this.getBlockMap().reverse().keySeq().skipUntil((function(t){return t===e})).skip(1).first()},r.getKeyAfter=function(e){return this.getBlockMap().keySeq().skipUntil((function(t){return t===e})).skip(1).first()},r.getBlockAfter=function(e){return this.getBlockMap().skipUntil((function(t,n){return n===e})).skip(1).first()},r.getBlockBefore=function(e){return this.getBlockMap().reverse().skipUntil((function(t,n){return n===e})).skip(1).first()},r.getBlocksAsArray=function(){return this.getBlockMap().toArray()},r.getFirstBlock=function(){return this.getBlockMap().first()},r.getLastBlock=function(){return this.getBlockMap().last()},r.getPlainText=function(e){return this.getBlockMap().map((function(e){return e?e.getText():""})).join(e||"\n")},r.getLastCreatedEntityKey=function(){return Pqe.__getLastCreatedEntityKey()},r.hasText=function(){var e=this.getBlockMap();return e.size>1||escape(e.first().getText()).replace(/%u200B/g,"").length>0},r.createEntity=function(e,t,n){return Pqe.__create(e,t,n),this},r.mergeEntityData=function(e,t){return Pqe.__mergeData(e,t),this},r.replaceEntityData=function(e,t){return Pqe.__replaceData(e,t),this},r.addEntity=function(e){return Pqe.__add(e),this},r.getEntity=function(e){return Pqe.__get(e)},r.getAllEntities=function(){return Pqe.__getAll()},r.loadWithEntities=function(e){return Pqe.__loadWithEntities(e)},i.createFromBlockArray=function(e,t){var n=Array.isArray(e)?e:e.contentBlocks,r=xqe.createFromArray(n),a=r.isEmpty()?new Aqe:Aqe.createEmpty(r.first().getKey());return new i({blockMap:r,entityMap:t||Pqe,selectionBefore:a,selectionAfter:a})},i.createFromText=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:/\r\n?|\n/g,n=e.split(t),r=n.map((function(e){return e=jqe(e),new qqe({key:Tqe(),text:e,type:"unstyled",characterList:Nqe(Oqe(Cqe.EMPTY,e.length))})}));return i.createFromBlockArray(r)},i.fromJS=function(e){return new i(kqe({},e,{blockMap:Bqe(e.blockMap).map(i.createContentBlockFromJS),selectionBefore:new Aqe(e.selectionBefore),selectionAfter:new Aqe(e.selectionAfter)}))},i.createContentBlockFromJS=function(e){var t=e.characterList;return new qqe(kqe({},e,{data:zqe(e.data),characterList:null!=t?Nqe((Array.isArray(t)?t:Lqe(t)).map((function(e){return Cqe.fromJS(e)}))):void 0}))},i}(Gqe),Hqe=Uqe,Wqe=kBe,Yqe="LTR",Vqe=null;function Kqe(e){return e===Yqe||"RTL"===e}function Qqe(e){return Kqe(e)||("production"!==go.env.NODE_ENV?Wqe(!1,"`dir` must be a strong direction to be converted to HTML Direction"):Wqe(!1)),e===Yqe?"ltr":"rtl"}function Jqe(e){Vqe=e}var Zqe={NEUTRAL:"NEUTRAL",LTR:Yqe,RTL:"RTL",isStrong:Kqe,getHTMLDir:Qqe,getHTMLDirIfDifferent:function(e,t){return Kqe(e)||("production"!==go.env.NODE_ENV?Wqe(!1,"`dir` must be a strong direction to be converted to HTML Direction"):Wqe(!1)),Kqe(t)||("production"!==go.env.NODE_ENV?Wqe(!1,"`otherDir` must be a strong direction to be converted to HTML Direction"):Wqe(!1)),e===t?null:Qqe(e)},setGlobalDir:Jqe,initGlobalDir:function(){Jqe(Yqe)},getGlobalDir:function(){return Vqe||this.initGlobalDir(),Vqe||("production"!==go.env.NODE_ENV?Wqe(!1,"Global direction not set."):Wqe(!1)),Vqe}},$qe=Zqe,Xqe=kBe,eUe="֐־׀׃׆׈-׏א-ת׫-ׯװ-ײ׳-״׵-׿߀-߉ߊ-ߪߴ-ߵߺ߻-߿ࠀ-ࠕࠚࠤࠨ࠮-࠯࠰-࠾࠿ࡀ-ࡘ࡜-࡝࡞࡟-࢟‏יִײַ-ﬨשׁ-זּ﬷טּ-לּ﬽מּ﬿נּ-סּ﭂ףּ-פּ﭅צּ-ﭏ",tUe="؈؋؍؛؜؝؞-؟ؠ-ؿـف-ي٭ٮ-ٯٱ-ۓ۔ەۥ-ۦۮ-ۯۺ-ۼ۽-۾ۿ܀-܍܎܏ܐܒ-ܯ݋-݌ݍ-ޥޱ޲-޿ࢠ-ࢲࢳ-ࣣﭐ-ﮱ﮲-﯁﯂-﯒ﯓ-ﴽ﵀-﵏ﵐ-ﶏ﶐-﶑ﶒ-ﷇ﷈-﷏ﷰ-ﷻ﷼﷾-﷿ﹰ-ﹴ﹵ﹶ-ﻼ﻽-﻾",nUe=new RegExp("["+"A-Za-zªµºÀ-ÖØ-öø-ƺƻƼ-ƿǀ-ǃDŽ-ʓʔʕ-ʯʰ-ʸʻ-ˁː-ˑˠ-ˤˮͰ-ͳͶ-ͷͺͻ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁ҂Ҋ-ԯԱ-Ֆՙ՚-՟ա-և։ःऄ-हऻऽा-ीॉ-ौॎ-ॏॐक़-ॡ।-॥०-९॰ॱॲ-ঀং-ঃঅ-ঌএ-ঐও-নপ-রলশ-হঽা-ীে-ৈো-ৌৎৗড়-ঢ়য়-ৡ০-৯ৰ-ৱ৴-৹৺ਃਅ-ਊਏ-ਐਓ-ਨਪ-ਰਲ-ਲ਼ਵ-ਸ਼ਸ-ਹਾ-ੀਖ਼-ੜਫ਼੦-੯ੲ-ੴઃઅ-ઍએ-ઑઓ-નપ-રલ-ળવ-હઽા-ીૉો-ૌૐૠ-ૡ૦-૯૰ଂ-ଃଅ-ଌଏ-ଐଓ-ନପ-ରଲ-ଳଵ-ହଽାୀେ-ୈୋ-ୌୗଡ଼-ଢ଼ୟ-ୡ୦-୯୰ୱ୲-୷ஃஅ-ஊஎ-ஐஒ-கங-சஜஞ-டண-தந-பம-ஹா-ிு-ூெ-ைொ-ௌௐௗ௦-௯௰-௲ఁ-ఃఅ-ఌఎ-ఐఒ-నప-హఽు-ౄౘ-ౙౠ-ౡ౦-౯౿ಂ-ಃಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽಾಿೀ-ೄೆೇ-ೈೊ-ೋೕ-ೖೞೠ-ೡ೦-೯ೱ-ೲം-ഃഅ-ഌഎ-ഐഒ-ഺഽാ-ീെ-ൈൊ-ൌൎൗൠ-ൡ൦-൯൰-൵൹ൺ-ൿං-ඃඅ-ඖක-නඳ-රලව-ෆා-ෑෘ-ෟ෦-෯ෲ-ෳ෴ก-ะา-ำเ-ๅๆ๏๐-๙๚-๛ກ-ຂຄງ-ຈຊຍດ-ທນ-ຟມ-ຣລວສ-ຫອ-ະາ-ຳຽເ-ໄໆ໐-໙ໜ-ໟༀ༁-༃༄-༒༓༔༕-༗༚-༟༠-༩༪-༳༴༶༸༾-༿ཀ-ཇཉ-ཬཿ྅ྈ-ྌ྾-࿅࿇-࿌࿎-࿏࿐-࿔࿕-࿘࿙-࿚က-ဪါ-ာေးျ-ြဿ၀-၉၊-၏ၐ-ၕၖ-ၗၚ-ၝၡၢ-ၤၥ-ၦၧ-ၭၮ-ၰၵ-ႁႃ-ႄႇ-ႌႎႏ႐-႙ႚ-ႜ႞-႟Ⴀ-ჅჇჍა-ჺ჻ჼჽ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚ፠-፨፩-፼ᎀ-ᎏᎠ-Ᏼᐁ-ᙬ᙭-᙮ᙯ-ᙿᚁ-ᚚᚠ-ᛪ᛫-᛭ᛮ-ᛰᛱ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱ᜵-᜶ᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳាើ-ៅះ-ៈ។-៖ៗ៘-៚ៜ០-៩᠐-᠙ᠠ-ᡂᡃᡄ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᤣ-ᤦᤩ-ᤫᤰ-ᤱᤳ-ᤸ᥆-᥏ᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧀᧁ-ᧇᧈ-ᧉ᧐-᧙᧚ᨀ-ᨖᨙ-ᨚ᨞-᨟ᨠ-ᩔᩕᩗᩡᩣ-ᩤᩭ-ᩲ᪀-᪉᪐-᪙᪠-᪦ᪧ᪨-᪭ᬄᬅ-ᬳᬵᬻᬽ-ᭁᭃ-᭄ᭅ-ᭋ᭐-᭙᭚-᭠᭡-᭪᭴-᭼ᮂᮃ-ᮠᮡᮦ-ᮧ᮪ᮮ-ᮯ᮰-᮹ᮺ-ᯥᯧᯪ-ᯬᯮ᯲-᯳᯼-᯿ᰀ-ᰣᰤ-ᰫᰴ-ᰵ᰻-᰿᱀-᱉ᱍ-ᱏ᱐-᱙ᱚ-ᱷᱸ-ᱽ᱾-᱿᳀-᳇᳓᳡ᳩ-ᳬᳮ-ᳱᳲ-ᳳᳵ-ᳶᴀ-ᴫᴬ-ᵪᵫ-ᵷᵸᵹ-ᶚᶛ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼ‎ⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℴℵ-ℸℹℼ-ℿⅅ-ⅉⅎ⅏Ⅰ-ↂↃ-ↄↅ-ↈ⌶-⍺⎕⒜-ⓩ⚬⠀-⣿Ⰰ-Ⱞⰰ-ⱞⱠ-ⱻⱼ-ⱽⱾ-ⳤⳫ-ⳮⳲ-ⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯ⵰ⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々〆〇〡-〩〮-〯〱-〵〸-〺〻〼ぁ-ゖゝ-ゞゟァ-ヺー-ヾヿㄅ-ㄭㄱ-ㆎ㆐-㆑㆒-㆕㆖-㆟ㆠ-ㆺㇰ-ㇿ㈀-㈜㈠-㈩㈪-㉇㉈-㉏㉠-㉻㉿㊀-㊉㊊-㊰㋀-㋋㋐-㋾㌀-㍶㍻-㏝㏠-㏾㐀-䶵一-鿌ꀀ-ꀔꀕꀖ-ꒌꓐ-ꓷꓸ-ꓽ꓾-꓿ꔀ-ꘋꘌꘐ-ꘟ꘠-꘩ꘪ-ꘫꙀ-ꙭꙮꚀ-ꚛꚜ-ꚝꚠ-ꛥꛦ-ꛯ꛲-꛷Ꜣ-ꝯꝰꝱ-ꞇ꞉-꞊Ꞌ-ꞎꞐ-ꞭꞰ-Ʇꟷꟸ-ꟹꟺꟻ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꠣ-ꠤꠧ꠰-꠵꠶-꠷ꡀ-ꡳꢀ-ꢁꢂ-ꢳꢴ-ꣃ꣎-꣏꣐-꣙ꣲ-ꣷ꣸-꣺ꣻ꤀-꤉ꤊ-ꤥ꤮-꤯ꤰ-ꥆꥒ-꥓꥟ꥠ-ꥼꦃꦄ-ꦲꦴ-ꦵꦺ-ꦻꦽ-꧀꧁-꧍ꧏ꧐-꧙꧞-꧟ꧠ-ꧤꧦꧧ-ꧯ꧰-꧹ꧺ-ꧾꨀ-ꨨꨯ-ꨰꨳ-ꨴꩀ-ꩂꩄ-ꩋꩍ꩐-꩙꩜-꩟ꩠ-ꩯꩰꩱ-ꩶ꩷-꩹ꩺꩻꩽꩾ-ꪯꪱꪵ-ꪶꪹ-ꪽꫀꫂꫛ-ꫜꫝ꫞-꫟ꫠ-ꫪꫫꫮ-ꫯ꫰-꫱ꫲꫳ-ꫴꫵꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚ꭛ꭜ-ꭟꭤ-ꭥꯀ-ꯢꯣ-ꯤꯦ-ꯧꯩ-ꯪ꯫꯬꯰-꯹가-힣ힰ-ퟆퟋ-ퟻ-豈-舘並-龎ff-stﬓ-ﬗA-Za-zヲ-ッーア-ン゙-゚ᅠ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ"+eUe+tUe+"]"),iUe=new RegExp("["+eUe+tUe+"]");function rUe(e){var t=nUe.exec(e);return null==t?null:t[0]}function aUe(e){var t=rUe(e);return null==t?$qe.NEUTRAL:iUe.exec(t)?$qe.RTL:$qe.LTR}function oUe(e,t){if(t=t||$qe.NEUTRAL,!e.length)return t;var n=aUe(e);return n===$qe.NEUTRAL?t:n}function sUe(e,t){return t||(t=$qe.getGlobalDir()),$qe.isStrong(t)||("production"!==go.env.NODE_ENV?Xqe(!1,"Fallback direction must be a strong direction"):Xqe(!1)),oUe(e,t)}var lUe={firstStrongChar:rUe,firstStrongCharDir:aUe,resolveBlockDir:oUe,getDirection:sUe,isDirectionLTR:function(e,t){return sUe(e,t)===$qe.LTR},isDirectionRTL:function(e,t){return sUe(e,t)===$qe.RTL}};function uUe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var cUe,dUe=lUe,fUe=Zqe,pUe=kBe,hUe=function(){function e(e){uUe(this,"_defaultDir",void 0),uUe(this,"_lastDir",void 0),e?fUe.isStrong(e)||("production"!==go.env.NODE_ENV?pUe(!1,"Default direction must be a strong direction (LTR or RTL)"):pUe(!1)):e=fUe.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=dUe.getDirection(e,this._lastDir),this._lastDir},e}(),gUe=function(e){if(null!=e)return e;throw new Error("Got unexpected null or undefined")},mUe=hUe,vUe=kze.exports,_Ue=gUe,bUe=vUe.OrderedMap,yUe={getDirectionMap:function(e,t){cUe?cUe.reset():cUe=new mUe;var n=e.getBlockMap(),i=n.valueSeq().map((function(e){return _Ue(cUe).getDirection(e.getText())})),r=bUe(n.keySeq().zip(i));return null!=t&&vUe.is(t,r)?t:r}};function wUe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){FUe(e,t,n[t])}))}return e}function FUe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var kUe=aqe,EUe=Hqe,xUe=yUe,CUe=bqe,SUe=kze.exports,DUe=SUe.OrderedSet,PUe=SUe.Record,AUe=SUe.Stack,TUe=SUe.OrderedMap,LUe=SUe.List,IUe=PUe({allowUndo:!0,currentContent:null,decorator:null,directionMap:null,forceSelection:!1,inCompositionMode:!1,inlineStyleOverride:null,lastChangeType:null,nativelyRenderedContent:null,redoStack:AUe(),selection:null,treeMap:null,undoStack:AUe()}),MUe=function(){t.createEmpty=function(e){return t.createWithContent(EUe.createFromText(""),e)},t.createWithContent=function(e,n){if(0===e.getBlockMap().count())return t.createEmpty(n);var i=e.getBlockMap().first().getKey();return t.create({currentContent:e,undoStack:AUe(),redoStack:AUe(),decorator:n||null,selection:CUe.createEmpty(i)})},t.create=function(e){var n=e.currentContent,i=wUe({},e,{treeMap:NUe(n,e.decorator),directionMap:xUe.getDirectionMap(n)});return new t(new IUe(i))},t.fromJS=function(e){return new t(new IUe(wUe({},e,{directionMap:null!=e.directionMap?TUe(e.directionMap):e.directionMap,inlineStyleOverride:null!=e.inlineStyleOverride?DUe(e.inlineStyleOverride):e.inlineStyleOverride,nativelyRenderedContent:null!=e.nativelyRenderedContent?EUe.fromJS(e.nativelyRenderedContent):e.nativelyRenderedContent,redoStack:null!=e.redoStack?AUe(e.redoStack.map((function(e){return EUe.fromJS(e)}))):e.redoStack,selection:null!=e.selection?new CUe(e.selection):e.selection,treeMap:null!=e.treeMap?TUe(e.treeMap).map((function(e){return LUe(e).map((function(e){return kUe.fromJS(e)}))})):e.treeMap,undoStack:null!=e.undoStack?AUe(e.undoStack.map((function(e){return EUe.fromJS(e)}))):e.undoStack,currentContent:EUe.fromJS(e.currentContent)})))},t.set=function(e,n){var i=e.getImmutable().withMutations((function(t){var i=t.get("decorator"),r=i;null===n.decorator?r=null:n.decorator&&(r=n.decorator);var a=n.currentContent||e.getCurrentContent();if(r!==i){var o,s=t.get("treeMap");return o=r&&i?function(e,t,n,i,r){return n.merge(t.toSeq().filter((function(t){return i.getDecorations(t,e)!==r.getDecorations(t,e)})).map((function(t){return kUe.generate(e,t,i)})))}(a,a.getBlockMap(),s,r,i):NUe(a,r),void t.merge({decorator:r,treeMap:o,nativelyRenderedContent:null})}a!==e.getCurrentContent()&&t.set("treeMap",function(e,t,n,i){var r=e.getCurrentContent().set("entityMap",n),a=r.getBlockMap();return e.getImmutable().get("treeMap").merge(t.toSeq().filter((function(e,t){return e!==a.get(t)})).map((function(e){return kUe.generate(r,e,i)})))}(e,a.getBlockMap(),a.getEntityMap(),r)),t.merge(n)}));return new t(i)};var e=t.prototype;function t(e){FUe(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(),i=t.getStartOffset(),r=e.getBlockForKey(n);if(i>0)return r.getInlineStyleAt(i-1);if(r.getLength())return r.getInlineStyleAt(0);return OUe(e,n)}(t,n):function(e,t){var n=t.getStartKey(),i=t.getStartOffset(),r=e.getBlockForKey(n);if(i<r.getLength())return r.getInlineStyleAt(i);if(i>0)return r.getInlineStyleAt(i-1);return OUe(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 jUe(e,t,!1)},t.forceSelection=function(e,t){return t.getHasFocus()||(t=t.set("hasFocus",!0)),jUe(e,t,!0)},t.moveSelectionToEnd=function(e){var n=e.getCurrentContent().getLastBlock(),i=n.getKey(),r=n.getLength();return t.acceptSelection(e,new CUe({anchorKey:i,anchorOffset:r,focusKey:i,focusOffset:r,isBackward:!1}))},t.moveFocusToEnd=function(e){var n=t.moveSelectionToEnd(e);return t.forceSelection(n,n.getSelection())},t.push=function(e,n,i){var r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];if(e.getCurrentContent()===n)return e;var a=xUe.getDirectionMap(n,e.getDirectionMap());if(!e.getAllowUndo())return t.set(e,{currentContent:n,directionMap:a,lastChangeType:i,selection:n.getSelectionAfter(),forceSelection:r,inlineStyleOverride:null});var o=e.getSelection(),s=e.getCurrentContent(),l=e.getUndoStack(),u=n;o!==s.getSelectionAfter()||RUe(e,i)?(l=l.push(s),u=u.set("selectionBefore",o)):"insert-characters"!==i&&"backspace-character"!==i&&"delete-character"!==i||(u=u.set("selectionBefore",s.getSelectionBefore()));var c=e.getInlineStyleOverride(),d=["adjust-depth","change-block-type","split-block"];-1===d.indexOf(i)&&(c=null);var f={currentContent:u,directionMap:a,undoStack:l,redoStack:AUe(),lastChangeType:i,selection:n.getSelectionAfter(),forceSelection:r,inlineStyleOverride:c};return t.set(e,f)},t.undo=function(e){if(!e.getAllowUndo())return e;var n=e.getUndoStack(),i=n.peek();if(!i)return e;var r=e.getCurrentContent(),a=xUe.getDirectionMap(i,e.getDirectionMap());return t.set(e,{currentContent:i,directionMap:a,undoStack:n.shift(),redoStack:e.getRedoStack().push(r),forceSelection:!0,inlineStyleOverride:null,lastChangeType:"undo",nativelyRenderedContent:null,selection:r.getSelectionBefore()})},t.redo=function(e){if(!e.getAllowUndo())return e;var n=e.getRedoStack(),i=n.peek();if(!i)return e;var r=e.getCurrentContent(),a=xUe.getDirectionMap(i,e.getDirectionMap());return t.set(e,{currentContent:i,directionMap:a,undoStack:e.getUndoStack().push(r),redoStack:n.shift(),forceSelection:!0,inlineStyleOverride:null,lastChangeType:"redo",nativelyRenderedContent:null,selection:i.getSelectionAfter()})},e.getImmutable=function(){return this._immutable},t}();function jUe(e,t,n){return MUe.set(e,{selection:t,forceSelection:n,nativelyRenderedContent:null,inlineStyleOverride:null})}function NUe(e,t){return e.getBlockMap().map((function(n){return kUe.generate(e,n,t)})).toOrderedMap()}function RUe(e,t){return t!==e.getLastChangeType()||"insert-characters"!==t&&"backspace-character"!==t&&"delete-character"!==t}function OUe(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):DUe()}var zUe=MUe,BUe=fBe,GUe=uGe,qUe=kze.exports,UUe=kBe,HUe=qUe.OrderedMap,WUe=qUe.List,YUe=function(e,t,n){if(e){var i=t.get(e);i&&t.set(e,n(i))}},VUe=function(e,t,n,i,r){if(!r)return e;var a="after"===i,o=t.getKey(),s=n.getKey(),l=t.getParentKey(),u=t.getNextSiblingKey(),c=t.getPrevSiblingKey(),d=n.getParentKey(),f=a?n.getNextSiblingKey():s,p=a?s:n.getPrevSiblingKey();return e.withMutations((function(e){YUe(l,e,(function(e){var t=e.getChildKeys();return e.merge({children:t.delete(t.indexOf(o))})})),YUe(c,e,(function(e){return e.merge({nextSibling:u})})),YUe(u,e,(function(e){return e.merge({prevSibling:c})})),YUe(f,e,(function(e){return e.merge({prevSibling:o})})),YUe(p,e,(function(e){return e.merge({nextSibling:o})})),YUe(d,e,(function(e){var t=e.getChildKeys(),n=t.indexOf(s),i=a?n+1:0!==n?n-1:0,r=t.toArray();return r.splice(i,0,o),e.merge({children:WUe(r)})})),YUe(o,e,(function(e){return e.merge({nextSibling:f,prevSibling:p,parent:d})}))}))},KUe=function(e,t,n,i){"replace"===i&&("production"!==go.env.NODE_ENV?UUe(!1,"Replacing blocks is not supported."):UUe(!1));var r=n.getKey(),a=t.getKey();a===r&&("production"!==go.env.NODE_ENV?UUe(!1,"Block cannot be moved next to itself."):UUe(!1));var o=e.getBlockMap(),s=t instanceof BUe,l=[t],u=o.delete(a);s&&(l=[],u=o.withMutations((function(e){var n=t.getNextSiblingKey(),i=GUe(t,e);e.toSeq().skipUntil((function(e){return e.getKey()===a})).takeWhile((function(e){var t=e.getKey(),r=t===a,o=n&&t!==n,s=!n&&e.getParentKey()&&(!i||t!==i);return!!(r||o||s)})).forEach((function(t){l.push(t),e.delete(t.getKey())}))})));var c=u.toSeq().takeUntil((function(e){return e===n})),d=u.toSeq().skipUntil((function(e){return e===n})).skip(1),f=l.map((function(e){return[e.getKey(),e]})),p=HUe();if("before"===i){var h=e.getBlockBefore(r);h&&h.getKey()===t.getKey()&&("production"!==go.env.NODE_ENV?UUe(!1,"Block cannot be moved next to itself."):UUe(!1)),p=c.concat([].concat(f,[[r,n]]),d).toOrderedMap()}else if("after"===i){var g=e.getBlockAfter(r);g&&g.getKey()===a&&("production"!==go.env.NODE_ENV?UUe(!1,"Block cannot be moved next to itself."):UUe(!1)),p=c.concat([[r,n]].concat(f),d).toOrderedMap()}return e.merge({blockMap:VUe(p,t,n,i,s),selectionBefore:e.getSelectionAfter(),selectionAfter:e.getSelectionAfter().merge({anchorKey:a,focusKey:a})})};function QUe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){JUe(e,t,n[t])}))}return e}function JUe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ZUe=Cze,$Ue=Nze,XUe=Zze,eHe=fBe,tHe=HGe,nHe=zUe,iHe=IBe,rHe=kze.exports,aHe=KUe,oHe=yqe("draft_tree_data_support"),sHe=oHe?eHe:XUe,lHe=rHe.List,uHe=rHe.Repeat,cHe={insertAtomicBlock:function(e,t,n){var i=e.getCurrentContent(),r=e.getSelection(),a=tHe.removeRange(i,r,"backward"),o=a.getSelectionAfter(),s=tHe.splitBlock(a,o),l=s.getSelectionAfter(),u=tHe.setBlockType(s,l,"atomic"),c=$Ue.create({entity:t}),d={key:iHe(),type:"atomic",text:n,characterList:lHe(uHe(c,n.length))},f={key:iHe(),type:"unstyled"};oHe&&(d=QUe({},d,{nextSibling:f.key}),f=QUe({},f,{prevSibling:d.key}));var p=[new sHe(d),new sHe(f)],h=ZUe.createFromArray(p),g=tHe.replaceWithFragment(u,l,h),m=g.merge({selectionBefore:r,selectionAfter:g.getSelectionAfter().set("hasFocus",!0)});return nHe.push(e,m,"insert-fragment")},moveAtomicBlock:function(e,t,n,i){var r,a=e.getCurrentContent(),o=e.getSelection();if("before"===i||"after"===i){var s=a.getBlockForKey("before"===i?n.getStartKey():n.getEndKey());r=aHe(a,t,s,i)}else{var l=tHe.removeRange(a,n,"backward"),u=l.getSelectionAfter(),c=l.getBlockForKey(u.getFocusKey());if(0===u.getStartOffset())r=aHe(l,t,c,"before");else if(u.getEndOffset()===c.getLength())r=aHe(l,t,c,"after");else{var d=tHe.splitBlock(l,u),f=d.getSelectionAfter(),p=d.getBlockForKey(f.getFocusKey());r=aHe(d,t,p,"before")}}var h=r.merge({selectionBefore:o,selectionAfter:r.getSelectionAfter().set("hasFocus",!0)});return nHe.push(e,h,"move-block")}};var dHe=kze.exports.List,fHe=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(i,r){var a=0;(0,i.strategy)(e,(function(e,t){(function(e,t,n){for(var i=t;i<n;i++)if(null!=e[i])return!1;return!0})(n,e,t)&&(!function(e,t,n,i){for(var r=t;r<n;r++)e[r]=i}(n,e,t,r+"."+a),a++)}),t)})),dHe(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 pHe=fHe;function hHe(e){return e.replace(/\//g,"-")}var gHe=function(e){return"object"==typeof e?Object.keys(e).filter((function(t){return e[t]})).map(hHe).join(" "):Array.prototype.map.call(arguments,hHe).join(" ")},mHe=m.default,vHe=gHe,_He=(0,kze.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:mHe.createElement("ul",{className:vHe("public/DraftStyleDefault/ul")})},"ordered-list-item":{element:"li",wrapper:mHe.createElement("ol",{className:vHe("public/DraftStyleDefault/ol")})},blockquote:{element:"blockquote"},atomic:{element:"figure"},"code-block":{element:"pre",wrapper:mHe.createElement("pre",{className:vHe("public/DraftStyleDefault/pre")})},unstyled:{element:"div",aliasedElements:["p"]}}),bHe={BOLD:{fontWeight:"bold"},CODE:{fontFamily:"monospace",wordWrap:"break-word"},ITALIC:{fontStyle:"italic"},STRIKETHROUGH:{textDecoration:"line-through"},UNDERLINE:{textDecoration:"underline"}},yHe={exports:{}};!function(e,t){!function(n,i){var r="function",a="undefined",o="object",s="string",l="model",u="name",c="type",d="vendor",f="version",p="architecture",h="console",g="mobile",m="tablet",v="smarttv",_="wearable",b="embedded",y="Amazon",w="Apple",F="ASUS",k="BlackBerry",E="Firefox",x="Google",C="Huawei",S="LG",D="Microsoft",P="Motorola",A="Opera",T="Samsung",L="Sony",I="Xiaomi",M="Zebra",j="Facebook",N=function(e){for(var t={},n=0;n<e.length;n++)t[e[n].toUpperCase()]=e[n];return t},R=function(e,t){return typeof e===s&&-1!==O(t).indexOf(O(e))},O=function(e){return e.toLowerCase()},z=function(e,t){if(typeof e===s)return e=e.replace(/^\s\s*/,"").replace(/\s\s*$/,""),typeof t===a?e:e.substring(0,255)},B=function(e,t){for(var n,a,s,l,u,c,d=0;d<t.length&&!u;){var f=t[d],p=t[d+1];for(n=a=0;n<f.length&&!u;)if(u=f[n++].exec(e))for(s=0;s<p.length;s++)c=u[++a],typeof(l=p[s])===o&&l.length>0?2===l.length?typeof l[1]==r?this[l[0]]=l[1].call(this,c):this[l[0]]=l[1]:3===l.length?typeof l[1]!==r||l[1].exec&&l[1].test?this[l[0]]=c?c.replace(l[1],l[2]):i:this[l[0]]=c?l[1].call(this,c,l[2]):i:4===l.length&&(this[l[0]]=c?l[3].call(this,c.replace(l[1],l[2])):i):this[l]=c||i;d+=2}},G=function(e,t){for(var n in t)if(typeof t[n]===o&&t[n].length>0){for(var r=0;r<t[n].length;r++)if(R(t[n][r],e))return"?"===n?i:n}else if(R(t[n],e))return"?"===n?i: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"},U={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[f,[u,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[f,[u,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[u,f],[/opios[\/ ]+([\w\.]+)/i],[f,[u,"Opera Mini"]],[/\bopr\/([\w\.]+)/i],[f,[u,A]],[/(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],[u,f],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[f,[u,"UCBrowser"]],[/\bqbcore\/([\w\.]+)/i],[f,[u,"WeChat(Win) Desktop"]],[/micromessenger\/([\w\.]+)/i],[f,[u,"WeChat"]],[/konqueror\/([\w\.]+)/i],[f,[u,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[f,[u,"IE"]],[/yabrowser\/([\w\.]+)/i],[f,[u,"Yandex"]],[/(avast|avg)\/([\w\.]+)/i],[[u,/(.+)/,"$1 Secure Browser"],f],[/\bfocus\/([\w\.]+)/i],[f,[u,"Firefox Focus"]],[/\bopt\/([\w\.]+)/i],[f,[u,"Opera Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[f,[u,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[f,[u,"Dolphin"]],[/coast\/([\w\.]+)/i],[f,[u,"Opera Coast"]],[/miuibrowser\/([\w\.]+)/i],[f,[u,"MIUI Browser"]],[/fxios\/([-\w\.]+)/i],[f,[u,E]],[/\bqihu|(qi?ho?o?|360)browser/i],[[u,"360 Browser"]],[/(oculus|samsung|sailfish)browser\/([\w\.]+)/i],[[u,/(.+)/,"$1 Browser"],f],[/(comodo_dragon)\/([\w\.]+)/i],[[u,/_/g," "],f],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i],[u,f],[/(metasr)[\/ ]?([\w\.]+)/i,/(lbbrowser)/i],[u],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[u,j],f],[/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(chromium|instagram)[\/ ]([-\w\.]+)/i],[u,f],[/\bgsa\/([\w\.]+) .*safari\//i],[f,[u,"GSA"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[f,[u,"Chrome Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[u,"Chrome WebView"],f],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[f,[u,"Android Browser"]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[u,f],[/version\/([\w\.]+) .*mobile\/\w+ (safari)/i],[f,[u,"Mobile Safari"]],[/version\/([\w\.]+) .*(mobile ?safari|safari)/i],[f,u],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[u,[f,G,{"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],[u,f],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[u,"Netscape"],f],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[f,[u,"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],[u,f]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[p,"amd64"]],[/(ia32(?=;))/i],[[p,O]],[/((?: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/,"",O]],[/(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,O]]],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],[l,[d,T],[c,m]],[/\b((?:s[cgp]h|gt|sm)-\w+|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[l,[d,T],[c,g]],[/\((ip(?:hone|od)[\w ]*);/i],[l,[d,w],[c,g]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[l,[d,w],[c,m]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[l,[d,C],[c,m]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}-[atu]?[ln][01259x][012359][an]?)\b(?!.+d\/s)/i],[l,[d,C],[c,g]],[/\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],[[l,/_/g," "],[d,I],[c,g]],[/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[l,/_/g," "],[d,I],[c,m]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[l,[d,"OPPO"],[c,g]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[l,[d,"Vivo"],[c,g]],[/\b(rmx[12]\d{3})(?: bui|;|\))/i],[l,[d,"Realme"],[c,g]],[/\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],[l,[d,P],[c,g]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[l,[d,P],[c,m]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[l,[d,S],[c,m]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[l,[d,S],[c,g]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[l,[d,"Lenovo"],[c,m]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[l,/_/g," "],[d,"Nokia"],[c,g]],[/(pixel c)\b/i],[l,[d,x],[c,m]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[l,[d,x],[c,g]],[/droid.+ ([c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[l,[d,L],[c,g]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[l,"Xperia Tablet"],[d,L],[c,m]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[l,[d,"OnePlus"],[c,g]],[/(alexa)webm/i,/(kf[a-z]{2}wi)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[l,[d,y],[c,m]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[l,/(.+)/g,"Fire Phone $1"],[d,y],[c,g]],[/(playbook);[-\w\),; ]+(rim)/i],[l,d,[c,m]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[l,[d,k],[c,g]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[l,[d,F],[c,m]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[l,[d,F],[c,g]],[/(nexus 9)/i],[l,[d,"HTC"],[c,m]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic|sony)[-_ ]?([-\w]*)/i],[d,[l,/_/g," "],[c,g]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[l,[d,"Acer"],[c,m]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[l,[d,"Meizu"],[c,g]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[l,[d,"Sharp"],[c,g]],[/(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,l,[c,g]],[/(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,l,[c,m]],[/(surface duo)/i],[l,[d,D],[c,m]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[l,[d,"Fairphone"],[c,g]],[/(u304aa)/i],[l,[d,"AT&T"],[c,g]],[/\bsie-(\w*)/i],[l,[d,"Siemens"],[c,g]],[/\b(rct\w+) b/i],[l,[d,"RCA"],[c,m]],[/\b(venue[\d ]{2,7}) b/i],[l,[d,"Dell"],[c,m]],[/\b(q(?:mv|ta)\w+) b/i],[l,[d,"Verizon"],[c,m]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[l,[d,"Barnes & Noble"],[c,m]],[/\b(tm\d{3}\w+) b/i],[l,[d,"NuVision"],[c,m]],[/\b(k88) b/i],[l,[d,"ZTE"],[c,m]],[/\b(nx\d{3}j) b/i],[l,[d,"ZTE"],[c,g]],[/\b(gen\d{3}) b.+49h/i],[l,[d,"Swiss"],[c,g]],[/\b(zur\d{3}) b/i],[l,[d,"Swiss"],[c,m]],[/\b((zeki)?tb.*\b) b/i],[l,[d,"Zeki"],[c,m]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[d,"Dragon Touch"],l,[c,m]],[/\b(ns-?\w{0,9}) b/i],[l,[d,"Insignia"],[c,m]],[/\b((nxa|next)-?\w{0,9}) b/i],[l,[d,"NextBook"],[c,m]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[d,"Voice"],l,[c,g]],[/\b(lvtel\-)?(v1[12]) b/i],[[d,"LvTel"],l,[c,g]],[/\b(ph-1) /i],[l,[d,"Essential"],[c,g]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[l,[d,"Envizen"],[c,m]],[/\b(trio[-\w\. ]+) b/i],[l,[d,"MachSpeed"],[c,m]],[/\btu_(1491) b/i],[l,[d,"Rotor"],[c,m]],[/(shield[\w ]+) b/i],[l,[d,"Nvidia"],[c,m]],[/(sprint) (\w+)/i],[d,l,[c,g]],[/(kin\.[onetw]{3})/i],[[l,/\./g," "],[d,D],[c,g]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[l,[d,M],[c,m]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[l,[d,M],[c,g]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[d,l,[c,h]],[/droid.+; (shield) bui/i],[l,[d,"Nvidia"],[c,h]],[/(playstation [345portablevi]+)/i],[l,[d,L],[c,h]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[l,[d,D],[c,h]],[/smart-tv.+(samsung)/i],[d,[c,v]],[/hbbtv.+maple;(\d+)/i],[[l,/^/,"SmartTV"],[d,T],[c,v]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[d,S],[c,v]],[/(apple) ?tv/i],[d,[l,"Apple TV"],[c,v]],[/crkey/i],[[l,"Chromecast"],[d,x],[c,v]],[/droid.+aft(\w)( bui|\))/i],[l,[d,y],[c,v]],[/\(dtv[\);].+(aquos)/i],[l,[d,"Sharp"],[c,v]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w ]*; *(\w[^;]*);([^;]*)/i],[[d,z],[l,z],[c,v]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[c,v]],[/((pebble))app/i],[d,l,[c,_]],[/droid.+; (glass) \d/i],[l,[d,x],[c,_]],[/droid.+; (wt63?0{2,3})\)/i],[l,[d,M],[c,_]],[/(quest( 2)?)/i],[l,[d,j],[c,_]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[d,[c,b]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+? mobile safari/i],[l,[c,g]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[l,[c,m]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[c,m]],[/(phone|mobile(?:[;\/]| safari)|pda(?=.+windows ce))/i],[[c,g]],[/(android[-\w\. ]{0,9});.+buil/i],[l,[d,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[f,[u,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[f,[u,"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],[u,f],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[f,u]],os:[[/microsoft (windows) (vista|xp)/i],[u,f],[/(windows) nt 6\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i,/(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i],[u,[f,G,q]],[/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[u,"Windows"],[f,G,q]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/cfnetwork\/.+darwin/i],[[f,/_/g,"."],[u,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[u,"Mac OS"],[f,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86)/i],[f,u],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[u,f],[/\(bb(10);/i],[f,[u,k]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[f,[u,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[f,[u,"Firefox OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[f,[u,"webOS"]],[/crkey\/([\d\.]+)/i],[f,[u,"Chromecast"]],[/(cros) [\w]+ ([\w\.]+\w)/i],[[u,"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],[u,f],[/(sunos) ?([\w\.\d]*)/i],[[u,"Solaris"],f],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux)/i,/(unix) ?([\w\.]*)/i],[u,f]]},H=function(e,t){if(typeof e===o&&(t=e,e=i),!(this instanceof H))return new H(e,t).getResult();var r=e||(typeof n!==a&&n.navigator&&n.navigator.userAgent?n.navigator.userAgent:""),l=t?function(e,t){var n={};for(var i in e)t[i]&&t[i].length%2==0?n[i]=t[i].concat(e[i]):n[i]=e[i];return n}(U,t):U;return this.getBrowser=function(){var e={};return e.name=i,e.version=i,B.call(e,r,l.browser),e.major=function(e){return typeof e===s?e.replace(/[^\d\.]/g,"").split(".")[0]:i}(e.version),e},this.getCPU=function(){var e={};return e.architecture=i,B.call(e,r,l.cpu),e},this.getDevice=function(){var e={};return e.vendor=i,e.model=i,e.type=i,B.call(e,r,l.device),e},this.getEngine=function(){var e={};return e.name=i,e.version=i,B.call(e,r,l.engine),e},this.getOS=function(){var e={};return e.name=i,e.version=i,B.call(e,r,l.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 r},this.setUA=function(e){return r=typeof e===s&&e.length>255?z(e,255):e,this},this.setUA(r),this};H.VERSION="0.7.31",H.BROWSER=N([u,f,"major"]),H.CPU=N([p]),H.DEVICE=N([l,d,c,h,g,v,m,_,b]),H.ENGINE=H.OS=N([u,f]),e.exports&&(t=e.exports=H),t.UAParser=H;var W=typeof n!==a&&(n.jQuery||n.Zepto);if(W&&!W.ua){var Y=new H;W.ua=Y.getResult(),W.ua.get=function(){return Y.getUA()},W.ua.set=function(e){Y.setUA(e);var t=Y.getResult();for(var n in t)W.ua[n]=t[n]}}}("object"==typeof window?window:k)}(yHe,yHe.exports);var wHe="Unknown",FHe={"Mac OS":"Mac OS X"};var kHe=(new(0,yHe.exports)).getResult(),EHe=function(e){if(!e)return{major:"",minor:""};var t=e.split(".");return{major:t[0],minor:t[1]}}(kHe.browser.version),xHe={browserArchitecture:kHe.cpu.architecture||wHe,browserFullVersion:kHe.browser.version||wHe,browserMinorVersion:EHe.minor||wHe,browserName:kHe.browser.name||wHe,browserVersion:kHe.browser.major||wHe,deviceName:kHe.device.model||wHe,engineName:kHe.engine.name||wHe,engineVersion:kHe.engine.version||wHe,platformArchitecture:kHe.cpu.architecture||wHe,platformName:function(e){return FHe[e]||e}(kHe.os.name)||wHe,platformVersion:kHe.os.version||wHe,platformFullVersion:kHe.os.version||wHe},CHe=xHe,SHe=kBe,DHe=/\./,PHe=/\|\|/,AHe=/\s+\-\s+/,THe=/^(<=|<|=|>=|~>|~|>|)?\s*(.+)/,LHe=/^(\d*)(.*)/;function IHe(e,t){var n=e.split(PHe);return n.length>1?n.some((function(e){return HHe.contains(e,t)})):function(e,t){var n=e.split(AHe);if(n.length>0&&n.length<=2||("production"!==go.env.NODE_ENV?SHe(!1,'the "-" operator expects exactly 2 operands'):SHe(!1)),1===n.length)return MHe(n[0],t);var i=n[0],r=n[1];return zHe(i)&&zHe(r)||("production"!==go.env.NODE_ENV?SHe(!1,'operands to the "-" operator must be simple (no modifiers)'):SHe(!1)),MHe(">="+i,t)&&MHe("<="+r,t)}(e=n[0].trim(),t)}function MHe(e,t){if(""===(e=e.trim()))return!0;var n=t.split(DHe),i=RHe(e),r=i.modifier,a=i.rangeComponents;switch(r){case"<":return jHe(n,a);case"<=":return function(e,t){var n=UHe(e,t);return-1===n||0===n}(n,a);case">=":return NHe(n,a);case">":return function(e,t){return 1===UHe(e,t)}(n,a);case"~":case"~>":return function(e,t){var n=t.slice(),i=t.slice();i.length>1&&i.pop();var r=i.length-1,a=parseInt(i[r],10);OHe(a)&&(i[r]=a+1+"");return NHe(e,n)&&jHe(e,i)}(n,a);default:return function(e,t){return 0===UHe(e,t)}(n,a)}}function jHe(e,t){return-1===UHe(e,t)}function NHe(e,t){var n=UHe(e,t);return 1===n||0===n}function RHe(e){var t=e.split(DHe),n=t[0].match(THe);return n||("production"!==go.env.NODE_ENV?SHe(!1,"expected regex to match but it did not"):SHe(!1)),{modifier:n[1],rangeComponents:[n[2]].concat(t.slice(1))}}function OHe(e){return!isNaN(e)&&isFinite(e)}function zHe(e){return!RHe(e).modifier}function BHe(e,t){for(var n=e.length;n<t;n++)e[n]="0"}function GHe(e,t){var n=e.match(LHe)[1],i=t.match(LHe)[1],r=parseInt(n,10),a=parseInt(i,10);return OHe(r)&&OHe(a)&&r!==a?qHe(r,a):qHe(e,t)}function qHe(e,t){return typeof e!=typeof t&&("production"!==go.env.NODE_ENV?SHe(!1,'"a" and "b" must be of the same type'):SHe(!1)),e>t?1:e<t?-1:0}function UHe(e,t){for(var n=function(e,t){BHe(e=e.slice(),(t=t.slice()).length);for(var n=0;n<t.length;n++){var i=t[n].match(/^[x*]$/i);if(i&&(t[n]=e[n]="0","*"===i[0]&&n===t.length-1))for(var r=n;r<e.length;r++)e[r]="0"}return BHe(t,e.length),[e,t]}(e,t),i=n[0],r=n[1],a=0;a<r.length;a++){var o=GHe(i[a],r[a]);if(o)return o}return 0}var HHe={contains:function(e,t){return IHe(e.trim(),t.trim())}},WHe=HHe,YHe=Object.prototype.hasOwnProperty;var VHe=function(e,t,n){if(!e)return null;var i={};for(var r in e)YHe.call(e,r)&&(i[r]=t.call(n,e[r],r,e));return i};var KHe=function(e){var t={};return function(n){return t.hasOwnProperty(n)||(t[n]=e.call(this,n)),t[n]}},QHe=CHe,JHe=WHe;function ZHe(e,t,n,i){if(e===n)return!0;if(!n.startsWith(e))return!1;var r=n.slice(e.length);return!!t&&(r=i?i(r):r,JHe.contains(r,t))}function $He(e){return"Windows"===QHe.platformName?e.replace(/^\s*NT/,""):e}var XHe=VHe({isBrowser:function(e){return ZHe(QHe.browserName,QHe.browserFullVersion,e)},isBrowserArchitecture:function(e){return ZHe(QHe.browserArchitecture,null,e)},isDevice:function(e){return ZHe(QHe.deviceName,null,e)},isEngine:function(e){return ZHe(QHe.engineName,QHe.engineVersion,e)},isPlatform:function(e){return ZHe(QHe.platformName,QHe.platformFullVersion,e,$He)},isPlatformArchitecture:function(e){return ZHe(QHe.platformArchitecture,null,e)}},KHe);var eWe=function(e){return e&&e.ownerDocument?e.ownerDocument:document};var tWe=function(e){return!(!e||!e.ownerDocument)&&e.nodeType===Node.ELEMENT_NODE},nWe=tWe;var iWe=function e(t){if(nWe(t)){var n=t,i=n.getAttribute("data-offset-key");if(i)return i;for(var r=0;r<n.childNodes.length;r++){var a=e(n.childNodes[r]);if(a)return a}}return null},rWe=eWe,aWe=iWe;var oWe=function(e){for(var t=e;t&&t!==rWe(e).documentElement;){var n=aWe(t);if(null!=n)return n;t=t.parentNode}return null};var sWe=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView?e.ownerDocument.defaultView:window};function lWe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var uWe=XHe,cWe=oWe,dWe=sWe,fWe=kBe,pWe=gUe,hWe=kze.exports.Map,gWe={subtree:!0,characterData:!0,childList:!0,characterDataOldValue:!1,attributes:!1},mWe=uWe.isBrowser("IE <= 11"),vWe=function(){function e(e){var t=this;lWe(this,"observer",void 0),lWe(this,"container",void 0),lWe(this,"mutations",void 0),lWe(this,"onCharData",void 0),this.container=e,this.mutations=hWe();var n=dWe(e);n.MutationObserver&&!mWe?this.observer=new n.MutationObserver((function(e){return t.registerMutations(e)})):this.onCharData=function(e){e.target instanceof Node||("production"!==go.env.NODE_ENV?fWe(!1,"Expected target to be an instance of Node"):fWe(!1)),t.registerMutation({type:"characterData",target:e.target})}}var t=e.prototype;return t.start=function(){this.observer?this.observer.observe(this.container,gWe):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=hWe(),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,i=e.removedNodes;if("characterData"===t){if(""!==n.textContent)return mWe?n.textContent.replace("\n",""):n.textContent}else if("childList"===t){if(i&&i.length)return"";if(""!==n.textContent)return n.textContent}return null},t.registerMutation=function(e){var t=this.getMutationTextContent(e);if(null!=t){var n=pWe(cWe(e.target));this.mutations=this.mutations.set(n,t)}},e}(),_We="-",bWe={encode:function(e,t,n){return e+_We+t+_We+n},decode:function(e){var t=e.split(_We).reverse(),n=t[0],i=t[1];return{blockKey:t.slice(2).reverse().join(_We),decoratorKey:parseInt(i,10),leafKey:parseInt(n,10)}}},yWe={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},wWe={logBlockedSelectionEvent:function(){return null},logSelectionStateFailure:function(){return null}};var FWe=function(e){return!(!e||!e.ownerDocument)&&(e.ownerDocument.defaultView?e instanceof e.ownerDocument.defaultView.HTMLElement:e instanceof HTMLElement)},kWe=kBe,EWe=FWe;var xWe=function(e){var t=e.editorContainer;return t||("production"!==go.env.NODE_ENV?kWe(!1,"Missing editorNode"):kWe(!1)),EWe(t.firstChild)||("production"!==go.env.NODE_ENV?kWe(!1,"editorNode.firstChild is not an HTMLElement"):kWe(!1)),t.firstChild},CWe=bWe,SWe=gUe;var DWe=function(e,t,n,i,r){var a=SWe(e.getSelection());if(!t||!i)return"production"!==go.env.NODE_ENV&&console.warn("Invalid selection state.",arguments,e.toJS()),a;var o=CWe.decode(t),s=o.blockKey,l=e.getBlockTree(s),u=l&&l.getIn([o.decoratorKey,"leaves",o.leafKey]),c=CWe.decode(i),d=c.blockKey,f=e.getBlockTree(d),p=f&&f.getIn([c.decoratorKey,"leaves",c.leafKey]);if(!u||!p)return"production"!==go.env.NODE_ENV&&console.warn("Invalid selection state.",arguments,e.toJS()),a;var h=u.get("start"),g=p.get("start"),m=u?h+n:null,v=p?g+r:null,_=a.getAnchorKey()===s&&a.getAnchorOffset()===m&&a.getFocusKey()===d&&a.getFocusOffset()===v;if(_)return a;var b=!1;if(s===d){var y=u.get("end"),w=p.get("end");b=g===h&&w===y?r<n:g<h}else{var F=e.getCurrentContent().getBlockMap().keySeq().skipUntil((function(e){return e===s||e===d})).first();b=F===d}return a.merge({anchorKey:s,anchorOffset:m,focusKey:d,focusOffset:v,isBackward:b})},PWe=oWe,AWe=iWe,TWe=DWe,LWe=kBe,IWe=tWe,MWe=gUe;function jWe(e,t,n){var i=t,r=PWe(i);(null!=r||e&&(e===i||e.firstChild===i)||("production"!==go.env.NODE_ENV?LWe(!1,"Unknown node in selection range."):LWe(!1)),e===i)&&(i=i.firstChild,IWe(i)||("production"!==go.env.NODE_ENV?LWe(!1,"Invalid DraftEditorContents node."):LWe(!1)),"true"!==(i=i).getAttribute("data-contents")&&("production"!==go.env.NODE_ENV?LWe(!1,"Invalid DraftEditorContents structure."):LWe(!1)),n>0&&(n=i.childNodes.length));if(0===n){var a=null;if(null!=r)a=r;else{var o=function(e){for(;e.firstChild&&(IWe(e.firstChild)&&"true"===e.firstChild.getAttribute("data-blocks")||AWe(e.firstChild));)e=e.firstChild;return e}(i);a=MWe(AWe(o))}return{key:a,offset:0}}var s=i.childNodes[n-1],l=null,u=null;if(AWe(s)){var c=function(e){for(;e.lastChild&&(IWe(e.lastChild)&&"true"===e.lastChild.getAttribute("data-blocks")||AWe(e.lastChild));)e=e.lastChild;return e}(s);l=MWe(AWe(c)),u=NWe(c)}else l=MWe(r),u=NWe(s);return{key:l,offset:u}}function NWe(e){var t=e.textContent;return"\n"===t?0:t.length}var RWe=function(e,t,n,i,r,a){var o=n.nodeType===Node.TEXT_NODE,s=r.nodeType===Node.TEXT_NODE;if(o&&s)return{selectionState:TWe(e,MWe(PWe(n)),i,MWe(PWe(r)),a),needsRecovery:!1};var l=null,u=null,c=!0;return o?(l={key:MWe(PWe(n)),offset:i},u=jWe(t,r,a)):s?(u={key:MWe(PWe(r)),offset:a},l=jWe(t,n,i)):(l=jWe(t,n,i),u=jWe(t,r,a),n===r&&i===a&&(c=!!n.firstChild&&"BR"!==n.firstChild.nodeName)),{selectionState:TWe(e,l.key,l.offset,u.key,u.offset),needsRecovery:c}},OWe=RWe;var zWe=function(e,t){var n=t.ownerDocument.defaultView.getSelection(),i=n.anchorNode,r=n.anchorOffset,a=n.focusNode,o=n.focusOffset;return 0===n.rangeCount||null==i||null==a?{selectionState:e.getSelection().set("hasFocus",!1),needsRecovery:!1}:OWe(e,t,i,r,a,o)},BWe=wWe,GWe=zUe,qWe=xWe,UWe=zWe;var HWe=function(e){if(e._blockSelectEvents||e._latestEditorState!==e.props.editorState){if(e._blockSelectEvents){var t=e.props.editorState.getSelection();BWe.logBlockedSelectionEvent({anonymizedDom:"N/A",extraParams:JSON.stringify({stacktrace:(new Error).stack}),selectionState:JSON.stringify(t.toJS())})}}else{var n=e.props.editorState,i=UWe(n,qWe(e)),r=i.selectionState;r!==n.getSelection()&&(n=i.needsRecovery?GWe.forceSelection(n,r):GWe.acceptSelection(n,r),e.update(n))}};var WWe={notEmptyKey:function(e){return null!=e&&""!=e}},YWe=WWe.notEmptyKey;function VWe(e,t){return YWe(t)&&"MUTABLE"===e.__get(t).getMutability()?t:null}var KWe=function(e,t){var n;if(t.isCollapsed()){var i=t.getAnchorKey(),r=t.getAnchorOffset();return r>0?(n=e.getBlockForKey(i).getEntityAt(r-1))!==e.getBlockForKey(i).getEntityAt(r)?null:VWe(e.getEntityMap(),n):null}var a=t.getStartKey(),o=t.getStartOffset(),s=e.getBlockForKey(a);return n=o===s.getLength()?null:s.getEntityAt(o),VWe(e.getEntityMap(),n)},QWe=vWe,JWe=HGe,ZWe=bWe,$We=zUe,XWe=yWe,eYe=xWe,tYe=zWe,nYe=KWe,iYe=gUe,rYe=!1,aYe=!1,oYe=null;var sYe={onCompositionStart:function(e){aYe=!0,function(e){oYe||(oYe=new QWe(eYe(e))).start()}(e)},onCompositionEnd:function(e){rYe=!1,aYe=!1,setTimeout((function(){rYe||sYe.resolveComposition(e)}),20)},onSelect:HWe,onKeyDown:function(e,t){if(!aYe)return sYe.resolveComposition(e),void e._onKeyDown(t);t.which!==XWe.RIGHT&&t.which!==XWe.LEFT||t.preventDefault()},onKeyPress:function(e,t){t.which===XWe.RETURN&&t.preventDefault()},resolveComposition:function(e){if(!aYe){var t=iYe(oYe).stopAndFlushMutations();oYe=null,rYe=!0;var n=$We.set(e._latestEditorState,{inCompositionMode:!1});if(e.exitCurrentMode(),t.size){var i=n.getCurrentContent();t.forEach((function(e,t){var r=ZWe.decode(t),a=r.blockKey,o=r.decoratorKey,s=r.leafKey,l=n.getBlockTree(a).getIn([o,"leaves",s]),u=l.start,c=l.end,d=n.getSelection().merge({anchorKey:a,focusKey:a,anchorOffset:u,focusOffset:c,isBackward:!1}),f=nYe(i,d),p=i.getBlockForKey(a).getInlineStyleAt(u);i=JWe.replaceText(i,d,e,p,f),n=$We.set(n,{currentContent:i})}));var r=tYe(n,eYe(e)).selectionState;e.restoreEditorDOM();var a=$We.acceptSelection(n,r);e.update($We.push(a,i,"insert-characters"))}else e.update(n)}}},lYe=sYe,uYe=_W;function cYe(){return cYe=uYe||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},cYe.apply(this,arguments)}var dYe=bWe,fYe=m.default,pYe=lUe,hYe=Zqe,gYe=function(e){var t,n;function i(){return e.apply(this,arguments)||this}return n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,i.prototype.render=function(){var e=this.props,t=e.block,n=e.children,i=e.contentState,r=e.decorator,a=e.decoratorKey,o=e.direction,s=e.leafSet,l=e.text,u=t.getKey(),c=s.get("leaves"),d=r.getComponentForKey(a),f=r.getPropsForKey(a),p=dYe.encode(u,parseInt(a,10),0),h=l.slice(c.first().get("start"),c.last().get("end")),g=hYe.getHTMLDirIfDifferent(pYe.getDirection(h),o);return fYe.createElement(d,cYe({},f,{contentState:i,decoratedText:h,dir:g,key:p,entityKey:t.getEntityAt(s.get("start")),offsetKey:p}),n)},i}(fYe.Component),mYe=gYe;function vYe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _Ye(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var bYe=m.default,yYe=kBe,wYe=tWe,FYe=XHe.isBrowser("IE <= 11");var kYe=function(e){var t,n;function i(t){var n;return _Ye(vYe(n=e.call(this,t)||this),"_forceFlag",void 0),_Ye(vYe(n),"_node",void 0),n._forceFlag=!1,n}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=i.prototype;return r.shouldComponentUpdate=function(e){var t=this._node,n=""===e.children;wYe(t)||("production"!==go.env.NODE_ENV?yYe(!1,"node is not an Element"):yYe(!1));var i=t;return n?!function(e){return FYe?"\n"===e.textContent:"BR"===e.tagName}(i):i.textContent!==e.children},r.componentDidMount=function(){this._forceFlag=!this._forceFlag},r.componentDidUpdate=function(){this._forceFlag=!this._forceFlag},r.render=function(){var e,t=this;return""===this.props.children?this._forceFlag?(e=function(e){return t._node=e},FYe?bYe.createElement("span",{key:"A","data-text":"true",ref:e},"\n"):bYe.createElement("br",{key:"A","data-text":"true",ref:e})):function(e){return FYe?bYe.createElement("span",{key:"B","data-text":"true",ref:e},"\n"):bYe.createElement("br",{key:"B","data-text":"true",ref:e})}((function(e){return t._node=e})):bYe.createElement("span",{key:this._forceFlag?"A":"B","data-text":"true",ref:function(e){return t._node=e}},this.props.children)},i}(bYe.Component),EYe=kYe,xYe=tWe;var CYe=function(e){return!(!e||!e.ownerDocument)&&(xYe(e)&&"BR"===e.nodeName)};var SYe=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 DYe=function(e){return SYe(e)&&3==e.nodeType};var PYe=function e(t,n){return!(!t||!n)&&(t===n||!DYe(t)&&(DYe(n)?e(t,n.parentNode):"contains"in t?t.contains(n):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(n))))};var AYe=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}},TYe=wWe,LYe=PYe,IYe=AYe,MYe=eWe,jYe=kBe,NYe=tWe,RYe=XHe.isBrowser("IE");function OYe(e,t){if(!e)return"[empty]";var n=zYe(e,t);return n.nodeType===Node.TEXT_NODE?n.textContent:(NYe(n)||("production"!==go.env.NODE_ENV?jYe(!1,"Node must be an Element if it is not a text node."):jYe(!1)),n.outerHTML)}function zYe(e,t){var n=void 0!==t?t(e):[];if(e.nodeType===Node.TEXT_NODE){var i=e.textContent.length;return MYe(e).createTextNode("[text "+i+(n.length?" | "+n.join(", "):"")+"]")}var r=e.cloneNode();1===r.nodeType&&n.length&&r.setAttribute("data-labels",n.join(", "));for(var a=e.childNodes,o=0;o<a.length;o++)r.appendChild(zYe(a[o],t));return r}function BYe(e,t){for(var n=e,i=n;n;){if(NYe(n)&&i.hasAttribute("contenteditable"))return OYe(n,t);i=n=n.parentNode}return"Could not find contentEditable parent of node"}function GYe(e){return null===e.nodeValue?e.childNodes.length:e.nodeValue.length}function qYe(e,t,n,i){var r=IYe();if(e.extend&&null!=t&&LYe(r,t)){n>GYe(t)&&TYe.logSelectionStateFailure({anonymizedDom:BYe(t),extraParams:JSON.stringify({offset:n}),selectionState:JSON.stringify(i.toJS())});var a=t===e.focusNode;try{e.rangeCount>0&&e.extend&&e.extend(t,n)}catch(o){throw TYe.logSelectionStateFailure({anonymizedDom:BYe(t,(function(t){var n=[];return t===r&&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:r?r.nodeName:null,nodeIsFocus:t===e.focusNode,nodeWasFocus:a,selectionRangeCount:e.rangeCount,selectionAnchorNodeName:e.anchorNode?e.anchorNode.nodeName:null,selectionAnchorOffset:e.anchorOffset,selectionFocusNodeName:e.focusNode?e.focusNode.nodeName:null,selectionFocusOffset:e.focusOffset,message:o?""+o:null,offset:n},null,2),selectionState:JSON.stringify(i.toJS(),null,2)}),o}}else if(t&&e.rangeCount>0){var o=e.getRangeAt(0);o.setEnd(t,n),e.addRange(o.cloneRange())}}function UYe(e,t,n,i){var r=MYe(t).createRange();if(n>GYe(t)&&TYe.logSelectionStateFailure({anonymizedDom:BYe(t),extraParams:JSON.stringify({offset:n}),selectionState:JSON.stringify(i.toJS())}),r.setStart(t,n),RYe)try{e.addRange(r)}catch(e){"production"!==go.env.NODE_ENV&&console.warn("Call to selection.addRange() threw exception: ",e)}else e.addRange(r)}var HYe=function(e,t,n,i,r){var a=MYe(t);if(LYe(a.documentElement,t)){var o=a.defaultView.getSelection(),s=e.getAnchorKey(),l=e.getAnchorOffset(),u=e.getFocusKey(),c=e.getFocusOffset(),d=e.getIsBackward();if(!o.extend&&d){var f=s,p=l;s=u,l=c,u=f,c=p,d=!1}var h=s===n&&i<=l&&r>=l,g=u===n&&i<=c&&r>=c;if(h&&g)return o.removeAllRanges(),UYe(o,t,l-i,e),void qYe(o,t,c-i,e);if(d){if(g&&(o.removeAllRanges(),UYe(o,t,c-i,e)),h){var m=o.focusNode,v=o.focusOffset;o.removeAllRanges(),UYe(o,t,l-i,e),qYe(o,m,v,e)}}else h&&(o.removeAllRanges(),UYe(o,t,l-i,e)),g&&qYe(o,t,c-i,e)}},WYe=_W;function YYe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function VYe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var KYe=EYe,QYe=m.default,JYe=kBe,ZYe=CYe,$Ye=HYe,XYe=function(e){var t,n;function i(){for(var t,n=arguments.length,i=new Array(n),r=0;r<n;r++)i[r]=arguments[r];return VYe(YYe(t=e.call.apply(e,[this].concat(i))||this),"leaf",void 0),t}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=i.prototype;return r._setSelection=function(){var e=this.props.selection;if(null!=e&&e.getHasFocus()){var t=this.props,n=t.block,i=t.start,r=t.text,a=n.getKey(),o=i+r.length;if(e.hasEdgeWithin(a,i,o)){var s=this.leaf;s||("production"!==go.env.NODE_ENV?JYe(!1,"Missing node"):JYe(!1));var l,u=s.firstChild;u||("production"!==go.env.NODE_ENV?JYe(!1,"Missing child"):JYe(!1)),u.nodeType===Node.TEXT_NODE?l=u:ZYe(u)?l=s:(l=u.firstChild)||("production"!==go.env.NODE_ENV?JYe(!1,"Missing targetNode"):JYe(!1)),$Ye(e,l,a,i,o)}}},r.shouldComponentUpdate=function(e){var t=this.leaf;return t||("production"!==go.env.NODE_ENV?JYe(!1,"Missing leafNode"):JYe(!1)),t.textContent!==e.text||e.styleSet!==this.props.styleSet||e.forceSelection},r.componentDidUpdate=function(){this._setSelection()},r.componentDidMount=function(){this._setSelection()},r.render=function(){var e=this,t=this.props.block,n=this.props.text;n.endsWith("\n")&&this.props.isLast&&(n+="\n");var i=this.props,r=i.customStyleMap,a=i.customStyleFn,o=i.offsetKey,s=i.styleSet,l=s.reduce((function(e,t){var n={},i=r[t];return void 0!==i&&e.textDecoration!==i.textDecoration&&(n.textDecoration=[e.textDecoration,i.textDecoration].join(" ").trim()),WYe(e,i,n)}),{});if(a){var u=a(s,t);l=WYe(l,u)}return QYe.createElement("span",{"data-offset-key":o,ref:function(t){return e.leaf=t},style:l},QYe.createElement(KYe,null,n))},i}(QYe.Component),eVe=XYe;var tVe=mYe,nVe=eVe,iVe=bWe,rVe=kze.exports,aVe=m.default,oVe=gHe;rVe.List;var sVe=function(e){var t,n;function i(){return e.apply(this,arguments)||this}return n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,i.prototype.render=function(){var e=this.props,t=e.block,n=e.contentState,i=e.customStyleFn,r=e.customStyleMap,a=e.decorator,o=e.direction,s=e.forceSelection,l=e.hasSelection,u=e.selection,c=e.tree,d=t.getKey(),f=t.getText(),p=c.size-1,h=this.props.children||c.map((function(e,c){var h=e.get("decoratorKey"),g=e.get("leaves"),m=g.size-1,v=g.map((function(e,n){var a=iVe.encode(d,c,n),o=e.get("start"),g=e.get("end");return aVe.createElement(nVe,{key:a,offsetKey:a,block:t,start:o,selection:l?u:null,forceSelection:s,text:f.slice(o,g),styleSet:t.getInlineStyleAt(o),customStyleMap:r,customStyleFn:i,isLast:h===p&&n===m})})).toArray();return h&&a?aVe.createElement(tVe,{block:t,children:v,contentState:n,decorator:a,decoratorKey:h,direction:o,leafSet:e,text:f,key:c}):v})).toArray();return aVe.createElement("div",{"data-offset-key":iVe.encode(d,0,0),className:oVe({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":"LTR"===o,"public/DraftStyleDefault/rtl":"RTL"===o})},h)},i}(aVe.Component),lVe=sVe;function uVe(e,t){return!!t&&(e===t.documentElement||e===t.body)}var cVe={getTop:function(e){var t=e.ownerDocument;return uVe(e,t)?t.body.scrollTop||t.documentElement.scrollTop:e.scrollTop},setTop:function(e,t){var n=e.ownerDocument;uVe(e,n)?n.body.scrollTop=n.documentElement.scrollTop=t:e.scrollTop=t},getLeft:function(e){var t=e.ownerDocument;return uVe(e,t)?t.body.scrollLeft||t.documentElement.scrollLeft:e.scrollLeft},setLeft:function(e,t){var n=e.ownerDocument;uVe(e,n)?n.body.scrollLeft=n.documentElement.scrollLeft=t:e.scrollLeft=t}},dVe=cVe,fVe=/-(.)/g;var pVe=/([A-Z])/g;var hVe=function(e){return e.replace(fVe,(function(e,t){return t.toUpperCase()}))},gVe=function(e){return e.replace(pVe,"-$1").toLowerCase()};function mVe(e){return null==e?e:String(e)}var vVe=function(e,t){var n;if(window.getComputedStyle&&(n=window.getComputedStyle(e,null)))return mVe(n.getPropertyValue(gVe(t)));if(document.defaultView&&document.defaultView.getComputedStyle){if(n=document.defaultView.getComputedStyle(e,null))return mVe(n.getPropertyValue(gVe(t)));if("display"===t)return"none"}return e.currentStyle?mVe("float"===t?e.currentStyle.cssFloat||e.currentStyle.styleFloat:e.currentStyle[hVe(t)]):mVe(e.style&&e.style[hVe(t)])};function _Ve(e,t){var n=bVe.get(e,t);return"auto"===n||"scroll"===n}var bVe={get:vVe,getScrollParent:function(e){if(!e)return null;for(var t=e.ownerDocument;e&&e!==t.body;){if(_Ve(e,"overflow")||_Ve(e,"overflowY")||_Ve(e,"overflowX"))return e;e=e.parentNode}return t.defaultView||t.parentWindow}},yVe=bVe,wVe=PYe;var FVe=function(e){var t=e.ownerDocument.documentElement;if(!("getBoundingClientRect"in e)||!wVe(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 kVe=function(e){var t=FVe(e);return{x:t.left,y:t.top,width:t.right-t.left,height:t.bottom-t.top}},EVe="undefined"!=typeof navigator&&navigator.userAgent.indexOf("AppleWebKit")>-1;var xVe=function(e){return(e=e||document).scrollingElement?e.scrollingElement:EVe||"CSS1Compat"!==e.compatMode?e.body:e.documentElement};var CVe=xVe,SVe=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 DVe=function(e){var t=CVe(e.ownerDocument||e.document);e.Window&&e instanceof e.Window&&(e=t);var n=SVe(e),i=e===t?e.ownerDocument.documentElement:e,r=e.scrollWidth-i.clientWidth,a=e.scrollHeight-i.clientHeight;return n.x=Math.max(0,Math.min(n.x,r)),n.y=Math.max(0,Math.min(n.y,a)),n};function PVe(){var e;return document.documentElement&&(e=document.documentElement.clientWidth),!e&&document.body&&(e=document.body.clientWidth),e||0}function AVe(){var e;return document.documentElement&&(e=document.documentElement.clientHeight),!e&&document.body&&(e=document.body.clientHeight),e||0}function TVe(){return{width:window.innerWidth||PVe(),height:window.innerHeight||AVe()}}TVe.withoutScrollbars=function(){return{width:PVe(),height:AVe()}};var LVe=TVe,IVe=_W;function MVe(){return MVe=IVe||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},MVe.apply(this,arguments)}function jVe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function NVe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){RVe(e,t,n[t])}))}return e}function RVe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var OVe=lVe,zVe=bWe,BVe=m.default,GVe=dVe,qVe=yVe,UVe=kVe,HVe=DVe,WVe=LVe,YVe=kBe,VVe=FWe;kze.exports.List;var KVe=function(e,t){return e.getAnchorKey()===t||e.getFocusKey()===t},QVe=function(e,t){var n=t.get(e.getType())||t.get("unstyled"),i=n.wrapper;return{Element:n.element||t.get("unstyled").element,wrapperTemplate:i}},JVe=function(e,t){var n=t(e);return n?{CustomComponent:n.component,customProps:n.props,customEditable:n.editable}:{}},ZVe=function(e,t,n,i,r,a){var o={"data-block":!0,"data-editor":t,"data-offset-key":n,key:e.getKey(),ref:a},s=i(e);return s&&(o.className=s),void 0!==r.customEditable&&(o=NVe({},o,{contentEditable:r.customEditable,suppressContentEditableWarning:!0})),o},$Ve=function(e){var t,n;function i(){for(var t,n=arguments.length,i=new Array(n),r=0;r<n;r++)i[r]=arguments[r];return RVe(jVe(t=e.call.apply(e,[this].concat(i))||this),"wrapperRef",BVe.createRef()),t}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=i.prototype;return r.shouldComponentUpdate=function(e){var t=this.props,n=t.block,i=t.direction,r=t.tree,a=!n.getChildKeys().isEmpty(),o=n!==e.block||r!==e.tree||i!==e.direction||KVe(e.selection,e.block.getKey())&&e.forceSelection;return a||o},r.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 i,r=qVe.getScrollParent(n),a=HVe(r);if(r===window){var o=UVe(n);(i=o.y+o.height-WVe().height)>0&&window.scrollTo(a.x,a.y+i+10)}else{VVe(n)||("production"!==go.env.NODE_ENV?YVe(!1,"blockNode is not an HTMLElement"):YVe(!1));var s=n;(i=s.offsetHeight+s.offsetTop-(r.offsetHeight+a.y))>0&&GVe.setTop(r,GVe.getTop(r)+i+10)}}}},r.render=function(){var e=this,t=this.props,n=t.block,r=t.blockRenderMap,a=t.blockRendererFn,o=t.blockStyleFn,s=t.contentState,l=t.decorator,u=t.editorKey,c=t.editorState,d=t.customStyleFn,f=t.customStyleMap,p=t.direction,h=t.forceSelection,g=t.selection,m=t.tree,v=null;n.children.size&&(v=n.children.reduce((function(t,n){var l=zVe.encode(n,0,0),d=s.getBlockForKey(n),f=JVe(d,a),p=f.CustomComponent||i,h=QVe(d,r),g=h.Element,m=h.wrapperTemplate,v=ZVe(d,u,l,o,f,null),_=NVe({},e.props,{tree:c.getBlockTree(n),blockProps:f.customProps,offsetKey:l,block:d});return t.push(BVe.createElement(g,v,BVe.createElement(p,_))),!m||function(e,t){var n=e.getNextSiblingKey();return!!n&&t.getBlockForKey(n).getType()===e.getType()}(d,s)||function(e,t,n){var i=[],r=!0,a=!1,o=void 0;try{for(var s,l=n.reverse()[Symbol.iterator]();!(r=(s=l.next()).done);r=!0){var u=s.value;if(u.type!==t)break;i.push(u)}}catch(e){a=!0,o=e}finally{try{r||null==l.return||l.return()}finally{if(a)throw o}}n.splice(n.indexOf(i[0]),i.length+1);var c=i.reverse(),d=c[0].key;n.push(BVe.cloneElement(e,{key:"".concat(d,"-wrap"),"data-offset-key":zVe.encode(d,0,0)},c))}(m,g,t),t}),[]));var _=n.getKey(),b=zVe.encode(_,0,0),y=JVe(n,a),w=y.CustomComponent,F=null!=w?BVe.createElement(w,MVe({},this.props,{tree:c.getBlockTree(_),blockProps:y.customProps,offsetKey:b,block:n})):BVe.createElement(OVe,{block:n,children:v,contentState:s,customStyleFn:d,customStyleMap:f,decorator:l,direction:p,forceSelection:h,hasSelection:KVe(g,_),selection:g,tree:m});if(n.getParentKey())return F;var k=QVe(n,r).Element,E=ZVe(n,u,b,o,y,this.wrapperRef);return BVe.createElement(k,E,F)},i}(BVe.Component),XVe=_W;function eKe(){return eKe=XVe||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},eKe.apply(this,arguments)}var tKe=$Ve,nKe=bWe,iKe=m.default,rKe=gUe,aKe=function(e){var t,n;function i(){return e.apply(this,arguments)||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=i.prototype;return r.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 i=n.getNativelyRenderedContent(),r=t.isInCompositionMode(),a=n.isInCompositionMode();if(t===n||null!==i&&n.getCurrentContent()===i||r&&a)return!1;var o=t.getCurrentContent(),s=n.getCurrentContent(),l=t.getDecorator(),u=n.getDecorator();return r!==a||o!==s||l!==u||n.mustForceSelection()},r.render=function(){for(var e=this.props,t=e.blockRenderMap,n=e.blockRendererFn,i=e.blockStyleFn,r=e.customStyleMap,a=e.customStyleFn,o=e.editorState,s=e.editorKey,l=e.textDirectionality,u=o.getCurrentContent(),c=o.getSelection(),d=o.mustForceSelection(),f=o.getDecorator(),p=rKe(o.getDirectionMap()),h=[],g=u.getBlocksAsArray()[0];g;){var m=g.getKey(),v={blockRenderMap:t,blockRendererFn:n,blockStyleFn:i,contentState:u,customStyleFn:a,customStyleMap:r,decorator:f,editorKey:s,editorState:o,forceSelection:d,selection:c,block:g,direction:l||p.get(m),tree:o.getBlockTree(m)},_=(t.get(g.getType())||t.get("unstyled")).wrapper;h.push({block:iKe.createElement(tKe,eKe({key:m},v)),wrapperTemplate:_,key:m,offsetKey:nKe.encode(m,0,0)});var b=g.getNextSiblingKey();g=b?u.getBlockForKey(b):null}for(var y=[],w=0;w<h.length;){var F=h[w];if(F.wrapperTemplate){var k=[];do{k.push(h[w].block),w++}while(w<h.length&&h[w].wrapperTemplate===F.wrapperTemplate);var E=iKe.cloneElement(F.wrapperTemplate,{key:F.key+"-wrap","data-offset-key":F.offsetKey},k);y.push(E)}else y.push(F.block),w++}return iKe.createElement("div",{"data-contents":"true"},y)},i}(iKe.Component),oKe=aKe,sKe=_W;function lKe(){return lKe=sKe||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},lKe.apply(this,arguments)}function uKe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cKe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var dKe=eVe,fKe=bWe,pKe=m.default,hKe=dVe,gKe=yVe,mKe=lUe,vKe=Zqe,_Ke=gHe,bKe=kVe,yKe=DVe,wKe=LVe,FKe=kBe,kKe=FWe,EKe=gUe,xKe=function(e,t){return e.getAnchorKey()===t||e.getFocusKey()===t},CKe=function(e){var t,n;function i(){for(var t,n=arguments.length,i=new Array(n),r=0;r<n;r++)i[r]=arguments[r];return cKe(uKe(t=e.call.apply(e,[this].concat(i))||this),"_node",void 0),t}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=i.prototype;return r.shouldComponentUpdate=function(e){return this.props.block!==e.block||this.props.tree!==e.tree||this.props.direction!==e.direction||xKe(e.selection,e.block.getKey())&&e.forceSelection},r.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 i,r=gKe.getScrollParent(n),a=yKe(r);if(r===window){var o=bKe(n);(i=o.y+o.height-wKe().height)>0&&window.scrollTo(a.x,a.y+i+10)}else{kKe(n)||("production"!==go.env.NODE_ENV?FKe(!1,"blockNode is not an HTMLElement"):FKe(!1)),(i=n.offsetHeight+n.offsetTop-(r.offsetTop+r.offsetHeight+a.y))>0&&hKe.setTop(r,hKe.getTop(r)+i+10)}}}}},r._renderChildren=function(){var e=this,t=this.props.block,n=t.getKey(),i=t.getText(),r=this.props.tree.size-1,a=xKe(this.props.selection,n);return this.props.tree.map((function(o,s){var l=o.get("leaves");if(0===l.size)return null;var u=l.size-1,c=l.map((function(o,l){var c=fKe.encode(n,s,l),d=o.get("start"),f=o.get("end");return pKe.createElement(dKe,{key:c,offsetKey:c,block:t,start:d,selection:a?e.props.selection:null,forceSelection:e.props.forceSelection,text:i.slice(d,f),styleSet:t.getInlineStyleAt(d),customStyleMap:e.props.customStyleMap,customStyleFn:e.props.customStyleFn,isLast:s===r&&l===u})})).toArray(),d=o.get("decoratorKey");if(null==d)return c;if(!e.props.decorator)return c;var f=EKe(e.props.decorator),p=f.getComponentForKey(d);if(!p)return c;var h=f.getPropsForKey(d),g=fKe.encode(n,s,0),m=l.first().get("start"),v=l.last().get("end"),_=i.slice(m,v),b=t.getEntityAt(o.get("start")),y=vKe.getHTMLDirIfDifferent(mKe.getDirection(_),e.props.direction),w={contentState:e.props.contentState,decoratedText:_,dir:y,start:m,end:v,blockKey:n,entityKey:b,offsetKey:g};return pKe.createElement(p,lKe({},h,w,{key:g}),c)})).toArray()},r.render=function(){var e=this,t=this.props,n=t.direction,i=t.offsetKey,r=_Ke({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":"LTR"===n,"public/DraftStyleDefault/rtl":"RTL"===n});return pKe.createElement("div",{"data-offset-key":i,className:r,ref:function(t){return e._node=t}},this._renderChildren())},i}(pKe.Component),SKe=CKe;var DKe=function(e){var t=e||"",n=arguments.length;if(n>1)for(var i=1;i<n;i++){var r=arguments[i];r&&(t=(t?t+" ":"")+r)}return t},PKe=_W;function AKe(){return AKe=PKe||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},AKe.apply(this,arguments)}function TKe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){LKe(e,t,n[t])}))}return e}function LKe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var IKe=SKe,MKe=bWe,jKe=m.default,NKe=gHe,RKe=DKe,OKe=gUe,zKe=function(e,t,n,i){return NKe({"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"===i,"public/DraftStyleDefault/listRTL":"RTL"===i})},BKe=function(e){var t,n;function i(){return e.apply(this,arguments)||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=i.prototype;return r.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 i=n.getNativelyRenderedContent(),r=t.isInCompositionMode(),a=n.isInCompositionMode();if(t===n||null!==i&&n.getCurrentContent()===i||r&&a)return!1;var o=t.getCurrentContent(),s=n.getCurrentContent(),l=t.getDecorator(),u=n.getDecorator();return r!==a||o!==s||l!==u||n.mustForceSelection()},r.render=function(){for(var e=this.props,t=e.blockRenderMap,n=e.blockRendererFn,i=e.blockStyleFn,r=e.customStyleMap,a=e.customStyleFn,o=e.editorState,s=e.editorKey,l=e.preventScroll,u=e.textDirectionality,c=o.getCurrentContent(),d=o.getSelection(),f=o.mustForceSelection(),p=o.getDecorator(),h=OKe(o.getDirectionMap()),g=c.getBlocksAsArray(),m=[],v=null,_=null,b=0;b<g.length;b++){var y=g[b],w=y.getKey(),F=y.getType(),k=n(y),E=void 0,x=void 0,C=void 0;k&&(E=k.component,x=k.props,C=k.editable);var S=u||h.get(w),D=MKe.encode(w,0,0),P={contentState:c,block:y,blockProps:x,blockStyleFn:i,customStyleMap:r,customStyleFn:a,decorator:p,direction:S,forceSelection:f,offsetKey:D,preventScroll:l,selection:d,tree:o.getBlockTree(w)},A=t.get(F)||t.get("unstyled"),T=A.wrapper,L=A.element||t.get("unstyled").element,I=y.getDepth(),M="";if(i&&(M=i(y)),"li"===L)M=RKe(M,zKe(F,I,_!==T||null===v||I>v,S));var j=E||IKe,N={className:M,"data-block":!0,"data-editor":s,"data-offset-key":D,key:w};void 0!==C&&(N=TKe({},N,{contentEditable:C,suppressContentEditableWarning:!0}));var R=jKe.createElement(L,N,jKe.createElement(j,AKe({},P,{key:w})));m.push({block:R,wrapperTemplate:T,key:w,offsetKey:D}),v=T?y.getDepth():null,_=T}for(var O=[],z=0;z<m.length;){var B=m[z];if(B.wrapperTemplate){var G=[];do{G.push(m[z].block),z++}while(z<m.length&&m[z].wrapperTemplate===B.wrapperTemplate);var q=jKe.cloneElement(B.wrapperTemplate,{key:B.key+"-wrap","data-offset-key":B.offsetKey},G);O.push(q)}else O.push(B.block),z++}return jKe.createElement("div",{"data-contents":"true"},O)},i}(jKe.Component),GKe=BKe,qKe=yqe("draft_tree_data_support")?oKe:GKe,UKe={isImage:function(e){return"image"===HKe(e)[0]},isJpeg:function(e){var t=HKe(e);return UKe.isImage(e)&&("jpeg"===t[1]||"pjpeg"===t[1])}};function HKe(e){return e.split("/")}var WKe=UKe,YKe=kBe;var VKe=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"!==go.env.NODE_ENV?YKe(!1,"toArray: Array-like object expected"):YKe(!1)),"number"!=typeof t&&("production"!==go.env.NODE_ENV?YKe(!1,"toArray: Object needs a length property"):YKe(!1)),0===t||t-1 in e||("production"!==go.env.NODE_ENV?YKe(!1,"toArray: Object should have keys for indices"):YKe(!1)),"function"==typeof e.callee&&("production"!==go.env.NODE_ENV?YKe(!1,"toArray: Object can't be `arguments`. Use rest params (function(...args) {}) or Array.from() instead."):YKe(!1)),e.hasOwnProperty)try{return Array.prototype.slice.call(e)}catch(e){}for(var n=Array(t),i=0;i<t;i++)n[i]=e[i];return n}(e):[e]};function KKe(e){return function(){return e}}var QKe=function(){};QKe.thatReturns=KKe,QKe.thatReturnsFalse=KKe(!1),QKe.thatReturnsTrue=KKe(!0),QKe.thatReturnsNull=KKe(null),QKe.thatReturnsThis=function(){return this},QKe.thatReturnsArgument=function(e){return e};var JKe=QKe,ZKe=WKe,$Ke=VKe,XKe=JKe,eQe=new RegExp("\r\n","g"),tQe={"text/rtf":1,"text/html":1};function nQe(e){if("file"==e.kind)return e.getAsFile()}var iQe=function(){function e(e){this.data=e,this.types=e.types?$Ke(e.types):[]}var t=e.prototype;return t.isRichText=function(){return!(!this.getHTML()||!this.getText())||!this.isImage()&&this.types.some((function(e){return tQe[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(eQe,"\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 i=t[n].type;if(!ZKe.isImage(i))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(nQe).filter(XKe.thatReturnsArgument):this.data.files?Array.prototype.slice.call(this.data.files):[]},t.hasFiles=function(){return this.getFiles().length>0},e}(),rQe=iQe,aQe=kBe,oQe=/\.textClipping$/,sQe={"text/plain":!0,"text/html":!0,"text/rtf":!0};var lQe=function(e,t){var n=0,i=[];e.forEach((function(r){!function(e,t){if(!k.FileReader||e.type&&!(e.type in sQe))return void t("");if(""===e.type){var n="";return oQe.test(e.name)&&(n=e.name.replace(oQe,"")),void t(n)}var i=new FileReader;i.onload=function(){var e=i.result;"string"!=typeof e&&("production"!==go.env.NODE_ENV?aQe(!1,'We should be calling "FileReader.readAsText" which returns a string'):aQe(!1)),t(e)},i.onerror=function(){t("")},i.readAsText(e)}(r,(function(r){n++,r&&i.push(r.slice(0,5e3)),n==e.length&&t(i.join("\r"))}))}))};var uQe=function(e){return"handled"===e||!0===e},cQe=rQe,dQe=HGe,fQe=zUe,pQe=oWe,hQe=eWe,gQe=lQe,mQe=DWe,vQe=sWe,_Qe=uQe,bQe=gUe;var yQe={onDragEnd:function(e){e.exitCurrentMode(),wQe(e)},onDrop:function(e,t){var n=new cQe(t.nativeEvent.dataTransfer),i=e._latestEditorState,r=function(e,t){var n=null,i=null,r=hQe(e.currentTarget);if("function"==typeof r.caretRangeFromPoint){var a=r.caretRangeFromPoint(e.x,e.y);n=a.startContainer,i=a.startOffset}else{if(!e.rangeParent)return null;n=e.rangeParent,i=e.rangeOffset}n=bQe(n),i=bQe(i);var o=bQe(pQe(n));return mQe(t,o,i,o,i)}(t.nativeEvent,i);if(t.preventDefault(),e._dragCount=0,e.exitCurrentMode(),null!=r){var a=n.getFiles();if(a.length>0){if(e.props.handleDroppedFiles&&_Qe(e.props.handleDroppedFiles(r,a)))return;gQe(a,(function(t){t&&e.update(FQe(i,r,t))}))}else{var o=e._internalDrag?"internal":"external";e.props.handleDrop&&_Qe(e.props.handleDrop(r,n,o))||(e._internalDrag?e.update(function(e,t){var n=dQe.moveText(e.getCurrentContent(),e.getSelection(),t);return fQe.push(e,n,"insert-fragment")}(i,r)):e.update(FQe(i,r,n.getText()))),wQe(e)}}}};function wQe(e){e._internalDrag=!1;var t=e.editorContainer;if(t){var n=new MouseEvent("mouseup",{view:vQe(t),bubbles:!0,cancelable:!0});t.dispatchEvent(n)}}function FQe(e,t,n){var i=dQe.insertText(e.getCurrentContent(),t,n,e.getCurrentInlineStyle());return fQe.push(e,i,"insert-fragment")}var kQe=yQe;var EQe=function(e){var t=e.getSelection(),n=t.getAnchorKey(),i=e.getBlockTree(n),r=t.getStartOffset(),a=!1;return i.some((function(e){return r===e.get("start")?(a=!0,!0):r<e.get("end")&&e.get("leaves").some((function(e){var t=e.get("start");return r===t&&(a=!0,!0)}))})),a};!function(e,t){if(!e.setImmediate){var n,i,r,a=1,o={},s=!1,l=e.document,u=Object.getPrototypeOf&&Object.getPrototypeOf(e);u=u&&u.setTimeout?u:e,"[object process]"==={}.toString.call(e.process)?n=function(e){go.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}}()?(i="setImmediate$"+Math.random()+"$",r=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(i)&&d(+t.data.slice(i.length))},e.addEventListener?e.addEventListener("message",r,!1):e.attachEvent("onmessage",r),n=function(t){e.postMessage(i+t,"*")}):e.MessageChannel?function(){var e=new MessageChannel;e.port1.onmessage=function(e){d(e.data)},n=function(t){e.port2.postMessage(t)}}():l&&"onreadystatechange"in l.createElement("script")?function(){var e=l.documentElement;n=function(t){var n=l.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)},u.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),i=0;i<t.length;i++)t[i]=arguments[i+1];var r={callback:e,args:t};return o[a]=r,n(a),a++},u.clearImmediate=c}function c(e){delete o[e]}function d(e){if(s)setTimeout(d,0,e);else{var t=o[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{c(e),s=!1}}}}}("undefined"==typeof self?k:self);var xQe=k.setImmediate,CQe=HGe,SQe=zUe,DQe=KWe,PQe=uQe,AQe=EQe,TQe=gUe,LQe=xQe,IQe=XHe.isBrowser("Firefox");function MQe(e,t,n,i,r){var a=CQe.replaceText(e.getCurrentContent(),e.getSelection(),t,n,i);return SQe.push(e,a,"insert-characters",r)}var jQe=function(e,t){void 0!==e._pendingStateFromBeforeInput&&(e.update(e._pendingStateFromBeforeInput),e._pendingStateFromBeforeInput=void 0);var n=e._latestEditorState,i=t.data;if(i)if(e.props.handleBeforeInput&&PQe(e.props.handleBeforeInput(i,n,t.timeStamp)))t.preventDefault();else{var r=n.getSelection(),a=r.getStartOffset(),o=r.getAnchorKey();if(!r.isCollapsed())return t.preventDefault(),void e.update(MQe(n,i,n.getCurrentInlineStyle(),DQe(n.getCurrentContent(),n.getSelection()),!0));var s,l=MQe(n,i,n.getCurrentInlineStyle(),DQe(n.getCurrentContent(),n.getSelection()),!1),u=!1;if(u||(u=AQe(e._latestCommittedEditorState)),!u){var c=n.getBlockTree(o),d=l.getBlockTree(o);u=c.size!==d.size||c.zip(d).some((function(e){var t=e[0],n=e[1],r=t.get("start"),o=r+(r>=a?i.length:0),s=t.get("end"),l=s+(s>=a?i.length:0),u=n.get("start"),c=n.get("end"),d=n.get("decoratorKey");return t.get("decoratorKey")!==d||t.get("leaves").size!==n.get("leaves").size||o!==u||l!==c||null!=d&&c-u!=s-r}))}if(u||(s=i,u=IQe&&("'"==s||"/"==s)),u||(u=TQe(l.getDirectionMap()).get(o)!==TQe(n.getDirectionMap()).get(o)),u)return t.preventDefault(),l=SQe.set(l,{forceSelection:!0}),void e.update(l);l=SQe.set(l,{nativelyRenderedContent:l.getCurrentContent()}),e._pendingStateFromBeforeInput=l,LQe((function(){void 0!==e._pendingStateFromBeforeInput&&(e.update(e._pendingStateFromBeforeInput),e._pendingStateFromBeforeInput=void 0)}))}},NQe=zUe,RQe=PYe,OQe=AYe;var zQe=function(e,t){var n=t.currentTarget.ownerDocument;if(!Boolean(e.props.preserveSelectionOnBlur)&&OQe(n)===n.body){var i=n.defaultView.getSelection(),r=e.editor;1===i.rangeCount&&RQe(r,i.anchorNode)&&RQe(r,i.focusNode)&&i.removeAllRanges()}var a=e._latestEditorState,o=a.getSelection();if(o.getHasFocus()){var s=o.set("hasFocus",!1);e.props.onBlur&&e.props.onBlur(t),e.update(NQe.acceptSelection(a,s))}},BQe=zUe;var GQe=function(e,t){e.setMode("composite"),e.update(BQe.set(e._latestEditorState,{inCompositionMode:!0})),e._onCompositionStart(t)},qQe=WBe;var UQe=function(e){var t=e.getSelection();return t.isCollapsed()?null:qQe(e.getCurrentContent(),t)},HQe=UQe;var WQe=function(e,t){e._latestEditorState.getSelection().isCollapsed()?t.preventDefault():e.setClipboard(HQe(e._latestEditorState))};var YQe=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},VQe=HGe,KQe=zUe,QQe=yVe,JQe=UQe,ZQe=DVe,$Qe=YQe;var XQe=function(e,t){var n,i=e._latestEditorState,r=i.getSelection(),a=t.target;if(r.isCollapsed())t.preventDefault();else{if($Qe(a)){var o=a;n=ZQe(QQe.getScrollParent(o))}var s=JQe(i);e.setClipboard(s),e.setMode("cut"),setTimeout((function(){e.restoreEditorDOM(n),e.exitCurrentMode(),e.update(function(e){var t=VQe.removeRange(e.getCurrentContent(),e.getSelection(),"forward");return KQe.push(e,t,"remove-range")}(i))}),0)}};var eJe=function(e,t){e.setMode("drag"),t.preventDefault()};var tJe=function(e){e._internalDrag=!0,e.setMode("drag")},nJe=zUe,iJe=XHe;var rJe=function(e,t){var n=e._latestEditorState,i=n.getSelection();if(!i.getHasFocus()){var r=i.set("hasFocus",!0);e.props.onFocus&&e.props.onFocus(t),iJe.isBrowser("Chrome < 60.0.3081.0")?e.update(nJe.forceSelection(n,r)):e.update(nJe.acceptSelection(n,r))}},aJe=kBe,oJe=/[\uD800-\uDFFF]/;function sJe(e){return 55296<=e&&e<=57343}function lJe(e){return oJe.test(e)}function uJe(e,t){return 1+sJe(e.charCodeAt(t))}function cJe(e,t,n){if(t=t||0,n=void 0===n?1/0:n||0,!lJe(e))return e.substr(t,n);var i=e.length;if(i<=0||t>i||n<=0)return"";var r=0;if(t>0){for(;t>0&&r<i;t--)r+=uJe(e,r);if(r>=i)return""}else if(t<0){for(r=i;t<0&&0<r;t++)r-=uJe(e,r-1);r<0&&(r=0)}var a=i;if(n<i)for(a=r;n>0&&a<i;n--)a+=uJe(e,a);return e.substring(r,a)}var dJe={getCodePoints:function(e){for(var t=[],n=0;n<e.length;n+=uJe(e,n))t.push(e.codePointAt(n));return t},getUTF16Length:uJe,hasSurrogateUnit:lJe,isCodeUnitInSurrogateRange:sJe,isSurrogatePair:function(e,t){if(0<=t&&t<e.length||("production"!==go.env.NODE_ENV?aJe(!1,"isSurrogatePair: Invalid index %s for string length %s.",t,e.length):aJe(!1)),t+1===e.length)return!1;var n=e.charCodeAt(t),i=e.charCodeAt(t+1);return 55296<=n&&n<=56319&&56320<=i&&i<=57343},strlen:function(e){if(!lJe(e))return e.length;for(var t=0,n=0;n<e.length;n+=uJe(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 i=Math.abs(n-t);return cJe(e,t=t<n?t:n,i)},substr:cJe},fJe=dJe,pJe=JKe;function hJe(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];var r=0,a="Warning: "+e.replace(/%s/g,(function(){return n[r++]}));"undefined"!=typeof console&&console.error(a);try{throw new Error(a)}catch(e){}}var gJe="production"!==go.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,i=new Array(n>2?n-2:0),r=2;r<n;r++)i[r-2]=arguments[r];hJe.apply(void 0,[t].concat(i))}}:pJe,mJe=gJe,vJe=mJe;var _Je=function(e,t){var n=e.getSelection();"production"!==go.env.NODE_ENV&&vJe(n.isCollapsed(),"moveSelectionBackward should only be called with a collapsed SelectionState");var i=e.getCurrentContent(),r=n.getStartKey(),a=n.getStartOffset(),o=r,s=0;if(t>a){var l=i.getKeyBefore(r);if(null==l)o=r;else o=l,s=i.getBlockForKey(l).getText().length}else s=a-t;return n.merge({focusKey:o,focusOffset:s,isBackward:!0})},bJe=HGe,yJe=yqe("draft_tree_data_support");var wJe=function(e,t,n){var i=e.getSelection(),r=e.getCurrentContent(),a=i,o=i.getAnchorKey(),s=i.getFocusKey(),l=r.getBlockForKey(o);if(yJe&&"forward"===n&&o!==s)return r;if(i.isCollapsed()){if("forward"===n){if(e.isSelectionAtEndOfContent())return r;if(yJe)if(i.getAnchorOffset()===r.getBlockForKey(o).getLength()){var u=r.getBlockForKey(l.nextSibling);if(!u||0===u.getLength())return r}}else if(e.isSelectionAtStartOfContent())return r;if((a=t(e))===i)return r}return bJe.removeRange(r,a,n)},FJe=zUe,kJe=fJe,EJe=_Je,xJe=wJe;var CJe=function(e){var t=xJe(e,(function(e){var t=e.getSelection(),n=e.getCurrentContent(),i=t.getAnchorKey(),r=t.getAnchorOffset(),a=n.getBlockForKey(i).getText()[r-1];return EJe(e,a?kJe.getUTF16Length(a,0):1)}),"backward");if(t===e.getCurrentContent())return e;var n=e.getSelection();return FJe.push(e,t.set("selectionBefore",n),n.isCollapsed()?"backspace-character":"remove-range")},SJe=HGe,DJe=bWe,PJe=zUe,AJe=WWe.notEmptyKey,TJe=oWe,LJe=CJe,IJe=gUe,MJe=XHe.isEngine("Gecko");var jJe=function(e,t){void 0!==e._pendingStateFromBeforeInput&&(e.update(e._pendingStateFromBeforeInput),e._pendingStateFromBeforeInput=void 0);var n=e.editor.ownerDocument.defaultView.getSelection(),i=n.anchorNode,r=n.isCollapsed,a=(null==i?void 0:i.nodeType)!==Node.TEXT_NODE&&(null==i?void 0:i.nodeType)!==Node.ELEMENT_NODE;if(null!=i&&!a){if(i.nodeType===Node.TEXT_NODE&&(null!==i.previousSibling||null!==i.nextSibling)){var o=i.parentNode;if(null==o)return;i.nodeValue=o.textContent;for(var s=o.firstChild;null!=s;s=s.nextSibling)s!==i&&o.removeChild(s)}var l=i.textContent,u=e._latestEditorState,c=IJe(TJe(i)),d=DJe.decode(c),f=d.blockKey,p=d.decoratorKey,h=d.leafKey,g=u.getBlockTree(f).getIn([p,"leaves",h]),m=g.start,v=g.end,_=u.getCurrentContent(),b=_.getBlockForKey(f),y=b.getText().slice(m,v);if(l.endsWith("\n\n")&&(l=l.slice(0,-1)),l!==y){var w,F,k,E,x=u.getSelection(),C=x.merge({anchorOffset:m,focusOffset:v,isBackward:!1}),S=b.getEntityAt(m),D=AJe(S)?_.getEntity(S):null,P="MUTABLE"===(null!=D?D.getMutability():null),A=P?"spellcheck-change":"apply-entity",T=SJe.replaceText(_,C,l,b.getInlineStyleAt(m),P?b.getEntityAt(m):null);if(MJe)w=n.anchorOffset,F=n.focusOffset,E=(k=m+Math.min(w,F))+Math.abs(w-F),w=k,F=E;else{var L=l.length-y.length;k=x.getStartOffset(),E=x.getEndOffset(),w=r?E+L:k,F=E+L}var I=T.merge({selectionBefore:_.getSelectionAfter(),selectionAfter:x.merge({anchorOffset:w,focusOffset:F})});e.update(PJe.push(u,I,A))}else{var M=t.nativeEvent.inputType;if(M){var j=function(e,t){return"deleteContentBackward"===e?LJe(t):t}(M,u);if(j!==u)return e.restoreEditorDOM(),void e.update(j)}}}},NJe=yWe;var RJe=function(e){return e.which===NJe.RETURN&&(e.getModifierState("Shift")||e.getModifierState("Alt")||e.getModifierState("Control"))},OJe=RJe,zJe=XHe.isPlatform("Mac OS X"),BJe={isCtrlKeyCommand:function(e){return!!e.ctrlKey&&!e.altKey},isOptionKeyCommand:function(e){return zJe&&e.altKey},usesMacOSHeuristics:function(){return zJe},hasCommandModifier:function(e){return zJe?!!e.metaKey&&!e.altKey:BJe.isCtrlKeyCommand(e)},isSoftNewlineEvent:OJe},GJe=BJe,qJe=HGe,UJe=zUe,HJe=WBe,WJe=gUe,YJe=null,VJe={cut:function(e){var t=e.getCurrentContent(),n=e.getSelection(),i=null;if(n.isCollapsed()){var r=n.getAnchorKey(),a=t.getBlockForKey(r).getLength();if(a===n.getAnchorOffset()){var o=t.getKeyAfter(r);if(null==o)return e;i=n.set("focusKey",o).set("focusOffset",0)}else i=n.set("focusOffset",a)}else i=n;i=WJe(i),YJe=HJe(t,i);var s=qJe.removeRange(t,i,"forward");return s===t?e:UJe.push(e,s,"remove-range")},paste:function(e){if(!YJe)return e;var t=qJe.replaceWithFragment(e.getCurrentContent(),e.getSelection(),YJe);return UJe.push(e,t,"insert-fragment")}},KJe=kBe;var QJe=XHe.isBrowser("Chrome")?function(e){for(var t=e.cloneRange(),n=[],i=e.endContainer;null!=i;i=i.parentNode){var r=i===e.commonAncestorContainer;r?t.setStart(e.startContainer,e.startOffset):t.setStart(t.endContainer,0);var a,o=Array.from(t.getClientRects());if(n.push(o),r)return n.reverse(),(a=[]).concat.apply(a,n);t.setEndBefore(i)}"production"!==go.env.NODE_ENV?KJe(!1,"Found an unexpected detached subtree when getting range client rects."):KJe(!1)}:function(e){return Array.from(e.getClientRects())},JJe=fJe,ZJe=eWe,$Je=QJe,XJe=kBe;function eZe(e,t){for(var n=1/0,i=1/0,r=-1/0,a=-1/0,o=0;o<e.length;o++){var s=e[o];0!==s.width&&1!==s.width&&(n=Math.min(n,s.top),i=Math.min(i,s.bottom),r=Math.max(r,s.top),a=Math.max(a,s.bottom))}return r<=i&&r-n<t&&a-i<t}function tZe(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 nZe=zUe,iZe=function(e){e.collapsed||("production"!==go.env.NODE_ENV?XJe(!1,"expandRangeToStartOfLine: Provided range is not collapsed."):XJe(!1));var t=(e=e.cloneRange()).startContainer;1!==t.nodeType&&(t=t.parentNode);var n=function(e){var t=getComputedStyle(e),n=ZJe(e),i=n.createElement("div");i.style.fontFamily=t.fontFamily,i.style.fontSize=t.fontSize,i.style.fontStyle=t.fontStyle,i.style.fontWeight=t.fontWeight,i.style.lineHeight=t.lineHeight,i.style.position="absolute",i.textContent="M";var r=n.body;r||("production"!==go.env.NODE_ENV?XJe(!1,"Missing document.body"):XJe(!1)),r.appendChild(i);var a=i.getBoundingClientRect();return r.removeChild(i),a.height}(t),i=e.endContainer,r=e.endOffset;for(e.setStart(e.startContainer,0);eZe($Je(e),n)&&(i=e.startContainer,r=e.startOffset,i.parentNode||("production"!==go.env.NODE_ENV?XJe(!1,"Found unexpected detached subtree when traversing."):XJe(!1)),e.setStartBefore(i),1!==i.nodeType||"inline"===getComputedStyle(i).display););for(var a=i,o=r-1;;){for(var s=a.nodeValue,l=o;l>=0;l--)if(!(null!=s&&l>0&&JJe.isSurrogatePair(s,l-1))){if(e.setStart(a,l),!eZe($Je(e),n))break;i=a,r=l}if(-1===l||0===a.childNodes.length)break;o=tZe(a=a.childNodes[l])}return e.setStart(i,r),e},rZe=RWe,aZe=_Je,oZe=wJe;var sZe=function(e,t){var n=oZe(e,(function(e){var n=e.getSelection();if(n.isCollapsed()&&0===n.getAnchorOffset())return aZe(e,1);var i=t.currentTarget.ownerDocument.defaultView.getSelection().getRangeAt(0);return i=iZe(i),rZe(e,null,i.endContainer,i.endOffset,i.startContainer,i.startOffset).selectionState}),"backward");return n===e.getCurrentContent()?e:nZe.push(e,n,"remove-range")},lZe="\\s|(?![_])"+{getPunctuation:function(){return"[.,+*?$|#{}()'\\^\\-\\[\\]\\\\\\/!@%\"~=<>_:;・、。〈-】〔-〟:-?!-/[-`{-・⸮؟٪-٬؛،؍﴾﴿᠁।၊။‐-‧‰-⁞¡-±´-¸º»¿]"}}.getPunctuation(),uZe=new RegExp("^(?:"+lZe+")*(?:"+"['‘’]|(?!"+lZe+").)*(?:(?!"+lZe+").)"),cZe=new RegExp("(?:(?!"+lZe+").)(?:"+"['‘’]|(?!"+lZe+").)*(?:"+lZe+")*$");function dZe(e,t){var n=t?cZe.exec(e):uZe.exec(e);return n?n[0]:e}var fZe={getBackward:function(e){return dZe(e,!0)},getForward:function(e){return dZe(e,!1)}},pZe=fZe,hZe=zUe,gZe=_Je,mZe=wJe;var vZe=mJe;var _Ze=function(e,t){var n=e.getSelection();"production"!==go.env.NODE_ENV&&vZe(n.isCollapsed(),"moveSelectionForward should only be called with a collapsed SelectionState");var i,r=n.getStartKey(),a=n.getStartOffset(),o=e.getCurrentContent(),s=r;return t>o.getBlockForKey(r).getText().length-a?(s=o.getKeyAfter(r),i=0):i=a+t,n.merge({focusKey:s,focusOffset:i})},bZe=fZe,yZe=zUe,wZe=_Ze,FZe=wJe;var kZe=HGe,EZe=zUe;var xZe=zUe;var CZe=zUe;var SZe=zUe,DZe=fJe,PZe=_Ze,AZe=wJe;var TZe=HGe,LZe=zUe,IZe=WBe;var MZe=zUe;var jZe=function(e,t,n){var i=MZe.undo(t);if("spellcheck-change"!==t.getLastChangeType())e.preventDefault(),t.getNativelyRenderedContent()?(n(MZe.set(t,{nativelyRenderedContent:null})),setTimeout((function(){n(i)}),0)):n(i);else{var r=i.getCurrentContent();n(MZe.set(i,{nativelyRenderedContent:r}))}},NZe=HGe,RZe=zUe,OZe=yWe,zZe=VJe,BZe=XHe,GZe=uQe,qZe=sZe,UZe=function(e){var t=mZe(e,(function(e){var t=e.getSelection(),n=t.getStartOffset();if(0===n)return gZe(e,1);var i=t.getStartKey(),r=e.getCurrentContent().getBlockForKey(i).getText().slice(0,n),a=pZe.getBackward(r);return gZe(e,a.length||1)}),"backward");return t===e.getCurrentContent()?e:hZe.push(e,t,"remove-range")},HZe=function(e){var t=FZe(e,(function(e){var t=e.getSelection(),n=t.getStartOffset(),i=t.getStartKey(),r=e.getCurrentContent().getBlockForKey(i).getText().slice(n),a=bZe.getForward(r);return wZe(e,a.length||1)}),"forward");return t===e.getCurrentContent()?e:yZe.push(e,t,"remove-range")},WZe=function(e){var t=kZe.splitBlock(e.getCurrentContent(),e.getSelection());return EZe.push(e,t,"split-block")},YZe=function(e){var t=e.getSelection(),n=t.getEndKey(),i=e.getCurrentContent().getBlockForKey(n).getLength();return xZe.set(e,{selection:t.merge({anchorKey:n,anchorOffset:i,focusKey:n,focusOffset:i,isBackward:!1}),forceSelection:!0})},VZe=function(e){var t=e.getSelection(),n=t.getStartKey();return CZe.set(e,{selection:t.merge({anchorKey:n,anchorOffset:0,focusKey:n,focusOffset:0,isBackward:!1}),forceSelection:!0})},KZe=CJe,QZe=function(e){var t=AZe(e,(function(e){var t=e.getSelection(),n=e.getCurrentContent(),i=t.getAnchorKey(),r=t.getAnchorOffset(),a=n.getBlockForKey(i).getText()[r];return PZe(e,a?DZe.getUTF16Length(a,0):1)}),"forward");if(t===e.getCurrentContent())return e;var n=e.getSelection();return SZe.push(e,t.set("selectionBefore",n),n.isCollapsed()?"delete-character":"remove-range")},JZe=function(e){var t=e.getSelection();if(!t.isCollapsed())return e;var n=t.getAnchorOffset();if(0===n)return e;var i,r,a=t.getAnchorKey(),o=e.getCurrentContent(),s=o.getBlockForKey(a).getLength();if(s<=1)return e;n===s?(i=t.set("anchorOffset",n-1),r=t):r=(i=t.set("focusOffset",n+1)).set("anchorOffset",n+1);var l=IZe(o,i),u=TZe.removeRange(o,i,"backward"),c=u.getSelectionAfter(),d=c.getAnchorOffset()-1,f=c.merge({anchorOffset:d,focusOffset:d}),p=TZe.replaceWithFragment(u,f,l),h=LZe.push(e,p,"insert-fragment");return LZe.acceptSelection(h,r)},ZZe=jZe,$Ze=GJe.isOptionKeyCommand,XZe=BZe.isBrowser("Chrome");var e$e=function(e,t){var n=t.which,i=e._latestEditorState;function r(n){var i=e.props[n];return!!i&&(i(t),!0)}switch(n){case OZe.RETURN:if(t.preventDefault(),e.props.handleReturn&&GZe(e.props.handleReturn(t,i)))return;break;case OZe.ESC:if(t.preventDefault(),r("onEscape"))return;break;case OZe.TAB:if(r("onTab"))return;break;case OZe.UP:if(r("onUpArrow"))return;break;case OZe.RIGHT:if(r("onRightArrow"))return;break;case OZe.DOWN:if(r("onDownArrow"))return;break;case OZe.LEFT:if(r("onLeftArrow"))return;break;case OZe.SPACE:XZe&&$Ze(t)&&t.preventDefault()}var a=e.props.keyBindingFn(t);if(null!=a&&""!==a)if("undo"!==a){if(t.preventDefault(),!e.props.handleKeyCommand||!GZe(e.props.handleKeyCommand(a,i,t.timeStamp))){var o=function(e,t,n){switch(e){case"redo":return RZe.redo(t);case"delete":return QZe(t);case"delete-word":return HZe(t);case"backspace":return KZe(t);case"backspace-word":return UZe(t);case"backspace-to-start-of-line":return qZe(t,n);case"split-block":return WZe(t);case"transpose-characters":return JZe(t);case"move-selection-to-start-of-block":return VZe(t);case"move-selection-to-end-of-block":return YZe(t);case"secondary-cut":return zZe.cut(t);case"secondary-paste":return zZe.paste(t);default:return t}}(a,i,t);o!==i&&e.update(o)}}else ZZe(t,i,e.update);else if(n===OZe.SPACE&&XZe&&$Ze(t)){var s=NZe.replaceText(i.getCurrentContent(),i.getSelection()," ");e.update(RZe.push(i,s,"insert-characters"))}};var t$e=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}(),n$e=t$e,i$e=kBe,r$e=XHe.isBrowser("IE <= 9");var a$e=function(e){var t,n=null;return!r$e&&document.implementation&&document.implementation.createHTMLDocument&&((t=document.implementation.createHTMLDocument("foo")).documentElement||("production"!==go.env.NODE_ENV?i$e(!1,"Missing doc.documentElement"):i$e(!1)),t.documentElement.innerHTML=e,n=t.getElementsByTagName("body")[0]),n},o$e=tWe;var s$e=function(e){return!(!e||!e.ownerDocument)&&(o$e(e)&&"A"===e.nodeName)},l$e=tWe;var u$e,c$e=function(e){return!(!e||!e.ownerDocument)&&(l$e(e)&&"IMG"===e.nodeName)};function d$e(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){f$e(e,t,n[t])}))}return e}function f$e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var p$e=Nze,h$e=Zze,g$e=fBe,m$e=_He,v$e=vqe,_$e=n$e,b$e=gHe,y$e=IBe,w$e=a$e,F$e=yqe,k$e=kze.exports,E$e=k$e.List,x$e=k$e.Map,C$e=k$e.OrderedSet,S$e=s$e,D$e=CYe,P$e=FWe,A$e=c$e,T$e=F$e("draft_tree_data_support"),L$e=new RegExp("\r","g"),I$e=new RegExp("\n","g"),M$e=new RegExp("^\n","g"),j$e=new RegExp("&nbsp;","g"),N$e=new RegExp("&#13;?","g"),R$e=new RegExp("&#8203;?","g"),O$e=["bold","bolder","500","600","700","800","900"],z$e=["light","lighter","normal","100","200","300","400"],B$e=["className","href","rel","target","title"],G$e=["alt","className","height","src","width"],q$e=(f$e(u$e={},b$e("public/DraftStyleDefault/depth0"),0),f$e(u$e,b$e("public/DraftStyleDefault/depth1"),1),f$e(u$e,b$e("public/DraftStyleDefault/depth2"),2),f$e(u$e,b$e("public/DraftStyleDefault/depth3"),3),f$e(u$e,b$e("public/DraftStyleDefault/depth4"),4),u$e),U$e=x$e({b:"BOLD",code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",i:"ITALIC",s:"STRIKETHROUGH",strike:"STRIKETHROUGH",strong:"BOLD",u:"UNDERLINE",mark:"HIGHLIGHT"}),H$e=function(e){var t={};return e.mapKeys((function(e,n){var i=[n.element];void 0!==n.aliasedElements&&i.push.apply(i,n.aliasedElements),i.forEach((function(n){void 0===t[n]?t[n]=e:"string"==typeof t[n]?t[n]=[t[n],e]:t[n].push(e)}))})),x$e(t)},W$e=function(e){if(P$e(e)&&e.style.fontFamily.includes("monospace"))return"CODE";return null},Y$e=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Object.keys(q$e).some((function(n){e.classList.contains(n)&&(t=q$e[n])})),t},V$e=function(e){if(!S$e(e))return!1;var t=e;return!(!t.href||"http:"!==t.protocol&&"https:"!==t.protocol&&"mailto:"!==t.protocol&&"tel:"!==t.protocol)},K$e=function(e){if(!A$e(e))return!1;var t=e;return!(!t.attributes.getNamedItem("src")||!t.attributes.getNamedItem("src").value)},Q$e=function(e,t){if(!P$e(e))return t;var n=e,i=n.style.fontWeight,r=n.style.fontStyle,a=n.style.textDecoration;return t.withMutations((function(e){O$e.indexOf(i)>=0?e.add("BOLD"):z$e.indexOf(i)>=0&&e.remove("BOLD"),"italic"===r?e.add("ITALIC"):"normal"===r&&e.remove("ITALIC"),"underline"===a&&e.add("UNDERLINE"),"line-through"===a&&e.add("STRIKETHROUGH"),"none"===a&&(e.remove("UNDERLINE"),e.remove("STRIKETHROUGH"))}))},J$e=function(e){return"ul"===e||"ol"===e},Z$e=function(){function e(e,t){f$e(this,"characterList",E$e()),f$e(this,"currentBlockType","unstyled"),f$e(this,"currentDepth",0),f$e(this,"currentEntity",null),f$e(this,"currentText",""),f$e(this,"wrapper",null),f$e(this,"blockConfigs",[]),f$e(this,"contentBlocks",[]),f$e(this,"entityMap",v$e),f$e(this,"blockTypeMap",void 0),f$e(this,"disambiguate",void 0),this.clear(),this.blockTypeMap=e,this.disambiguate=t}var t=e.prototype;return t.clear=function(){this.characterList=E$e(),this.blockConfigs=[],this.currentBlockType="unstyled",this.currentDepth=0,this.currentEntity=null,this.currentText="",this.entityMap=v$e,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],C$e())),this._trimCurrentText(),""!==this.currentText&&this.blockConfigs.push(this._makeBlockConfig()),this},t.getContentBlocks=function(){return 0===this.contentBlocks.length&&(T$e?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||y$e(),n=d$e({key:t,type:this.currentBlockType,text:this.currentText,characterList:this.characterList,depth:this.currentDepth,parent:null,children:E$e(),prevSibling:null,nextSibling:null,childConfigs:[]},e);return this.characterList=E$e(),this.currentBlockType="unstyled",this.currentText="",n},t._toBlockConfigs=function(e,t){for(var n=[],i=0;i<e.length;i++){var r=e[i],a=r.nodeName.toLowerCase();if("body"===a||J$e(a)){this._trimCurrentText(),""!==this.currentText&&n.push(this._makeBlockConfig());var o=this.currentDepth,s=this.wrapper;J$e(a)&&(this.wrapper=a,J$e(s)&&this.currentDepth++),n.push.apply(n,this._toBlockConfigs(Array.from(r.childNodes),t)),this.currentDepth=o,this.wrapper=s}else{var l=this.blockTypeMap.get(a);if(void 0===l)if("#text"!==a)if("br"!==a)if(K$e(r))this._addImgNode(r,t);else if(V$e(r))this._addAnchorNode(r,n,t);else{var u=t;U$e.has(a)&&(u=u.add(U$e.get(a))),u=Q$e(r,u);var c=W$e(r);null!=c&&(u=u.add(c)),n.push.apply(n,this._toBlockConfigs(Array.from(r.childNodes),u))}else this._addBreakNode(r,t);else this._addTextNode(r,t);else{this._trimCurrentText(),""!==this.currentText&&n.push(this._makeBlockConfig());var d=this.currentDepth,f=this.wrapper;if(this.wrapper="pre"===a?"pre":this.wrapper,"string"!=typeof l&&(l=this.disambiguate(a,this.wrapper)||l[0]||"unstyled"),!T$e&&P$e(r)&&("unordered-list-item"===l||"ordered-list-item"===l)){var p=r;this.currentDepth=Y$e(p,this.currentDepth)}var h=y$e(),g=this._toBlockConfigs(Array.from(r.childNodes),t);this._trimCurrentText(),n.push(this._makeBlockConfig({key:h,childConfigs:g,type:l})),this.currentDepth=d,this.wrapper=f}}}return n},t._appendText=function(e,t){var n;this.currentText+=e;var i=p$e.create({style:t,entity:this.currentEntity});this.characterList=(n=this.characterList).push.apply(n,Array(e.length).fill(i))},t._trimCurrentText=function(){var e=this.currentText.length,t=e-this.currentText.trimLeft().length,n=this.currentText.trimRight().length,i=this.characterList.findEntry((function(e){return null!==e.getEntity()}));(t=void 0!==i?Math.min(t,i[0]):t)>(n=void 0!==(i=this.characterList.reverse().findEntry((function(e){return null!==e.getEntity()})))?Math.max(n,e-i[0]):n)?(this.currentText="",this.characterList=E$e()):(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(M$e,"")).replace(I$e," ")),this._appendText(n,t)},t._addBreakNode=function(e,t){D$e(e)&&this._appendText("\n",t)},t._addImgNode=function(e,t){if(A$e(e)){var n=e,i={};G$e.forEach((function(e){var t=n.getAttribute(e);t&&(i[e]=t)})),this.currentEntity=this.entityMap.__create("IMAGE","IMMUTABLE",i),F$e("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(S$e(e)){var i=e,r={};B$e.forEach((function(e){var t=i.getAttribute(e);t&&(r[e]=t)})),r.url=new _$e(i.href).toString(),this.currentEntity=this.entityMap.__create("LINK","MUTABLE",r||{}),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,i=0;i<=n;i++){var r=e[i];r.parent=t,r.prevSibling=i>0?e[i-1].key:null,r.nextSibling=i<n?e[i+1].key:null,r.children=E$e(r.childConfigs.map((function(e){return e.key}))),this.contentBlocks.push(new g$e(d$e({},r))),this._toContentBlocks(r.childConfigs,r.key)}},t._hoistContainersInBlockConfigs=function(e){var t=this;return E$e(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),i=n.text,r=n.characterList;t.contentBlocks.push(new h$e(d$e({},e,{text:e.text+i,characterList:e.characterList.concat(r)})))}))},t._extractTextFromBlockConfigs=function(e){for(var t=e.length-1,n="",i=E$e(),r=0;r<=t;r++){var a=e[r];n+=a.text,i=i.concat(a.characterList),""!==n&&"unstyled"!==a.type&&(n+="\n",i=i.push(i.last()));var o=this._extractTextFromBlockConfigs(a.childConfigs);n+=o.text,i=i.concat(o.characterList)}return{text:n,characterList:i}},e}(),$$e=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:w$e,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:m$e,i=t(e=e.trim().replace(L$e,"").replace(j$e," ").replace(N$e,"").replace(R$e,""));if(!i)return null;var r=H$e(n),a=function(e,t){return"li"===e?"ol"===t?"ordered-list-item":"unordered-list-item":null};return new Z$e(r,a).addDOMNode(i).getContentBlocks()};function X$e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var eXe=Zze,tXe=fBe,nXe=$$e,iXe=IBe,rXe=a$e,aXe=yqe,oXe=kze.exports,sXe=Fqe,lXe=oXe.List,uXe=oXe.Repeat,cXe=aXe("draft_tree_data_support"),dXe=cXe?tXe:eXe,fXe={processHTML:function(e,t){return nXe(e,rXe,t)},processText:function(e,t,n){return e.reduce((function(e,i,r){i=sXe(i);var a=iXe(),o={key:a,type:n,text:i,characterList:lXe(uXe(t,i.length))};if(cXe&&0!==r){var s=r-1;o=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){X$e(e,t,n[t])}))}return e}({},o,{prevSibling:(e[s]=e[s].merge({nextSibling:a})).getKey()})}return e.push(new dXe(o)),e}),[])}};var pXe=function(e,t,n,i){var r=t.getStartKey(),a=t.getEndKey(),o=e.getBlockMap(),s=o.toSeq().skipUntil((function(e,t){return t===r})).takeUntil((function(e,t){return t===a})).concat([[a,o.get(a)]]).map((function(e){var t=e.getDepth()+n;return t=Math.max(0,Math.min(t,i)),e.set("depth",t)}));return o=o.merge(s),e.merge({blockMap:o,selectionBefore:t,selectionAfter:t})},hXe=HGe,gXe=zUe,mXe=pXe,vXe=gUe,_Xe={currentBlockContainsLink:function(e){var t=e.getSelection(),n=e.getCurrentContent(),i=n.getEntityMap();return n.getBlockForKey(t.getAnchorKey()).getCharacterList().slice(t.getStartOffset(),t.getEndOffset()).some((function(e){var t=e.getEntity();return!!t&&"LINK"===i.__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 _Xe.toggleInlineStyle(e,"BOLD");case"italic":return _Xe.toggleInlineStyle(e,"ITALIC");case"underline":return _Xe.toggleInlineStyle(e,"UNDERLINE");case"code":return _Xe.toggleCode(e);case"backspace":case"backspace-word":case"backspace-to-start-of-line":return _Xe.onBackspace(e);case"delete":case"delete-word":case"delete-to-end-of-block":return _Xe.onDelete(e);default:return null}},insertSoftNewline:function(e){var t=hXe.insertText(e.getCurrentContent(),e.getSelection(),"\n",e.getCurrentInlineStyle(),null),n=gXe.push(e,t,"insert-characters");return gXe.forceSelection(n,t.getSelectionAfter())},onBackspace:function(e){var t=e.getSelection();if(!t.isCollapsed()||t.getAnchorOffset()||t.getFocusOffset())return null;var n=e.getCurrentContent(),i=t.getStartKey(),r=n.getBlockBefore(i);if(r&&"atomic"===r.getType()){var a=n.getBlockMap().delete(r.getKey()),o=n.merge({blockMap:a,selectionAfter:t});if(o!==n)return gXe.push(e,o,"remove-range")}var s=_Xe.tryToRemoveBlockStyle(e);return s?gXe.push(e,s,"change-block-type"):null},onDelete:function(e){var t=e.getSelection();if(!t.isCollapsed())return null;var n=e.getCurrentContent(),i=t.getStartKey(),r=n.getBlockForKey(i).getLength();if(t.getStartOffset()<r)return null;var a=n.getBlockAfter(i);if(!a||"atomic"!==a.getType())return null;var o=t.merge({focusKey:a.getKey(),focusOffset:a.getLength()}),s=hXe.removeRange(n,o,"forward");return s!==n?gXe.push(e,s,"remove-range"):null},onTab:function(e,t,n){var i=t.getSelection(),r=i.getAnchorKey();if(r!==i.getFocusKey())return t;var a=t.getCurrentContent(),o=a.getBlockForKey(r),s=o.getType();if("unordered-list-item"!==s&&"ordered-list-item"!==s)return t;e.preventDefault();var l=o.getDepth();if(!e.shiftKey&&l===n)return t;var u=mXe(a,i,e.shiftKey?-1:1,n);return gXe.push(t,u,"adjust-depth")},toggleBlockType:function(e,t){var n=e.getSelection(),i=n.getStartKey(),r=n.getEndKey(),a=e.getCurrentContent(),o=n;if(i!==r&&0===n.getEndOffset()){var s=vXe(a.getBlockBefore(r));r=s.getKey(),o=o.merge({anchorKey:i,anchorOffset:n.getStartOffset(),focusKey:r,focusOffset:s.getLength(),isBackward:!1})}if(a.getBlockMap().skipWhile((function(e,t){return t!==i})).reverse().skipWhile((function(e,t){return t!==r})).some((function(e){return"atomic"===e.getType()})))return e;var l=a.getBlockForKey(i).getType()===t?"unstyled":t;return gXe.push(e,hXe.setBlockType(a,o,l),"change-block-type")},toggleCode:function(e){var t=e.getSelection(),n=t.getAnchorKey(),i=t.getFocusKey();return t.isCollapsed()||n!==i?_Xe.toggleBlockType(e,"code-block"):_Xe.toggleInlineStyle(e,"CODE")},toggleInlineStyle:function(e,t){var n=e.getSelection(),i=e.getCurrentInlineStyle();if(n.isCollapsed())return gXe.setInlineStyleOverride(e,i.has(t)?i.remove(t):i.add(t));var r,a=e.getCurrentContent();return r=i.has(t)?hXe.removeInlineStyle(a,n,t):hXe.applyInlineStyle(a,n,t),gXe.push(e,r,"change-inline-style")},toggleLink:function(e,t,n){var i=hXe.applyEntity(e.getCurrentContent(),t,n);return gXe.push(e,i,"apply-entity")},tryToRemoveBlockStyle:function(e){var t=e.getSelection(),n=t.getAnchorOffset();if(t.isCollapsed()&&0===n){var i=t.getAnchorKey(),r=e.getCurrentContent(),a=r.getBlockForKey(i).getType(),o=r.getBlockBefore(i);if("code-block"===a&&o&&"code-block"===o.getType()&&0!==o.getLength())return null;if("unstyled"!==a)return hXe.setBlockType(r,t,"unstyled")}return null}},bXe=_Xe,yXe=/\r\n?|\n/g;var wXe=Cze,FXe=Nze,kXe=rQe,EXe=HGe,xXe=fXe,CXe=zUe,SXe=bXe,DXe=KWe,PXe=lQe,AXe=uQe,TXe=function(e){return e.split(yXe)};function LXe(e,t,n){var i=EXe.replaceWithFragment(e.getCurrentContent(),e.getSelection(),t);return CXe.push(e,i.set("entityMap",n),"insert-fragment")}var IXe=function(e,t){t.preventDefault();var n=new kXe(t.clipboardData);if(!n.isRichText()){var i=n.getFiles(),r=n.getText();if(i.length>0){if(e.props.handlePastedFiles&&AXe(e.props.handlePastedFiles(i)))return;return void PXe(i,(function(t){if(t=t||r){var n=e._latestEditorState,i=TXe(t),a=FXe.create({style:n.getCurrentInlineStyle(),entity:DXe(n.getCurrentContent(),n.getSelection())}),o=SXe.getCurrentBlockType(n),s=xXe.processText(i,a,o),l=wXe.createFromArray(s),u=EXe.replaceWithFragment(n.getCurrentContent(),n.getSelection(),l);e.update(CXe.push(n,u,"insert-fragment"))}}))}}var a=[],o=n.getText(),s=n.getHTML(),l=e._latestEditorState;if(!e.props.handlePastedText||!AXe(e.props.handlePastedText(o,s,l))){if(o&&(a=TXe(o)),!e.props.stripPastedStyles){var u=e.getClipboard();if(n.isRichText()&&u){if(-1!==s.indexOf(e.getEditorKey())||1===a.length&&1===u.size&&u.first().getText()===o)return void e.update(LXe(e._latestEditorState,u))}else if(u&&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]}))}(a,u))return void e.update(LXe(e._latestEditorState,u));if(s){var c=xXe.processHTML(s,e.props.blockRenderMap);if(c){var d=c.contentBlocks,f=c.entityMap;if(d){var p=wXe.createFromArray(d);return void e.update(LXe(e._latestEditorState,p,f))}}}e.setClipboard(null)}if(a.length){var h=FXe.create({style:l.getCurrentInlineStyle(),entity:DXe(l.getCurrentContent(),l.getSelection())}),g=SXe.getCurrentBlockType(l),m=xXe.processText(a,h,g),v=wXe.createFromArray(m);e.update(LXe(e._latestEditorState,v))}}},MXe=XHe,jXe=jQe,NXe=zQe,RXe=GQe,OXe=WQe,zXe=XQe,BXe=eJe,GXe=tJe,qXe=rJe,UXe=jJe,HXe=e$e,WXe=IXe,YXe=HWe,VXe=MXe.isBrowser("Chrome"),KXe=MXe.isBrowser("Firefox"),QXe=VXe||KXe?YXe:function(e){},JXe={onBeforeInput:jXe,onBlur:NXe,onCompositionStart:RXe,onCopy:OXe,onCut:zXe,onDragOver:BXe,onDragStart:GXe,onFocus:qXe,onInput:UXe,onKeyDown:HXe,onPaste:WXe,onSelect:YXe,onMouseUp:QXe,onKeyUp:QXe},ZXe=b.default.unstable_flushControlled;var $Xe=m.default,XXe=gHe,e0e=function(e){var t,n;function i(){return e.apply(this,arguments)||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=i.prototype;return r.shouldComponentUpdate=function(e){return this.props.text!==e.text||this.props.editorState.getSelection().getHasFocus()!==e.editorState.getSelection().getHasFocus()},r.render=function(){var e=this.props.editorState.getSelection().getHasFocus(),t=XXe({"public/DraftEditorPlaceholder/root":!0,"public/DraftEditorPlaceholder/hasFocus":e});return $Xe.createElement("div",{className:t},$Xe.createElement("div",{className:XXe("public/DraftEditorPlaceholder/inner"),id:this.props.accessibilityID,style:{whiteSpace:"pre-wrap"}},this.props.text))},i}($Xe.Component),t0e=e0e,n0e=GJe,i0e=yWe,r0e=XHe,a0e=r0e.isPlatform("Mac OS X"),o0e=a0e&&r0e.isBrowser("Firefox < 29"),s0e=n0e.hasCommandModifier,l0e=n0e.isCtrlKeyCommand;function u0e(e){return a0e&&e.altKey||l0e(e)}var c0e=function(e){switch(e.keyCode){case 66:return s0e(e)?"bold":null;case 68:return l0e(e)?"delete":null;case 72:return l0e(e)?"backspace":null;case 73:return s0e(e)?"italic":null;case 74:return s0e(e)?"code":null;case 75:return a0e&&l0e(e)?"secondary-cut":null;case 77:case 79:return l0e(e)?"split-block":null;case 84:return a0e&&l0e(e)?"transpose-characters":null;case 85:return s0e(e)?"underline":null;case 87:return a0e&&l0e(e)?"backspace-word":null;case 89:return l0e(e)?a0e?"secondary-paste":"redo":null;case 90:return function(e){return s0e(e)?e.shiftKey?"redo":"undo":null}(e)||null;case i0e.RETURN:return"split-block";case i0e.DELETE:return function(e){return!a0e&&e.shiftKey?null:u0e(e)?"delete-word":"delete"}(e);case i0e.BACKSPACE:return function(e){return s0e(e)&&a0e?"backspace-to-start-of-line":u0e(e)?"backspace-word":"backspace"}(e);case i0e.LEFT:return o0e&&s0e(e)?"move-selection-to-start-of-block":null;case i0e.RIGHT:return o0e&&s0e(e)?"move-selection-to-end-of-block":null;default:return null}},d0e=_W;function f0e(){return f0e=d0e||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},f0e.apply(this,arguments)}function p0e(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){g0e(e,t,n[t])}))}return e}function h0e(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g0e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function m0e(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var v0e=_He,_0e=bHe,b0e=lYe,y0e=qKe,w0e=kQe,F0e=JXe,k0e=ZXe,E0e=t0e,x0e=zUe,C0e=m.default,S0e=dVe,D0e=yVe,P0e=gHe,A0e=IBe,T0e=c0e,L0e=DVe,I0e=yqe,M0e=kBe,j0e=FWe,N0e=gUe,R0e=XHe.isBrowser("IE"),O0e=!R0e,z0e={edit:F0e,composite:b0e,drag:w0e,cut:null,render:null},B0e=!1,G0e=function(e){function t(){return e.apply(this,arguments)||this}m0e(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}(C0e.Component),q0e=function(e){function t(t){var n;return g0e(h0e(n=e.call(this,t)||this),"_blockSelectEvents",void 0),g0e(h0e(n),"_clipboard",void 0),g0e(h0e(n),"_handler",void 0),g0e(h0e(n),"_dragCount",void 0),g0e(h0e(n),"_internalDrag",void 0),g0e(h0e(n),"_editorKey",void 0),g0e(h0e(n),"_placeholderAccessibilityID",void 0),g0e(h0e(n),"_latestEditorState",void 0),g0e(h0e(n),"_latestCommittedEditorState",void 0),g0e(h0e(n),"_pendingStateFromBeforeInput",void 0),g0e(h0e(n),"_onBeforeInput",void 0),g0e(h0e(n),"_onBlur",void 0),g0e(h0e(n),"_onCharacterData",void 0),g0e(h0e(n),"_onCompositionEnd",void 0),g0e(h0e(n),"_onCompositionStart",void 0),g0e(h0e(n),"_onCopy",void 0),g0e(h0e(n),"_onCut",void 0),g0e(h0e(n),"_onDragEnd",void 0),g0e(h0e(n),"_onDragOver",void 0),g0e(h0e(n),"_onDragStart",void 0),g0e(h0e(n),"_onDrop",void 0),g0e(h0e(n),"_onInput",void 0),g0e(h0e(n),"_onFocus",void 0),g0e(h0e(n),"_onKeyDown",void 0),g0e(h0e(n),"_onKeyPress",void 0),g0e(h0e(n),"_onKeyUp",void 0),g0e(h0e(n),"_onMouseDown",void 0),g0e(h0e(n),"_onMouseUp",void 0),g0e(h0e(n),"_onPaste",void 0),g0e(h0e(n),"_onSelect",void 0),g0e(h0e(n),"editor",void 0),g0e(h0e(n),"editorContainer",void 0),g0e(h0e(n),"focus",void 0),g0e(h0e(n),"blur",void 0),g0e(h0e(n),"setMode",void 0),g0e(h0e(n),"exitCurrentMode",void 0),g0e(h0e(n),"restoreEditorDOM",void 0),g0e(h0e(n),"setClipboard",void 0),g0e(h0e(n),"getClipboard",void 0),g0e(h0e(n),"getEditorKey",void 0),g0e(h0e(n),"update",void 0),g0e(h0e(n),"onDragEnter",void 0),g0e(h0e(n),"onDragLeave",void 0),g0e(h0e(n),"_handleEditorContainerRef",(function(e){n.editorContainer=e,n.editor=null!==e?e.firstChild:null})),g0e(h0e(n),"focus",(function(e){var t=n.props.editorState,i=t.getSelection().getHasFocus(),r=n.editor;if(r){var a=D0e.getScrollParent(r),o=e||L0e(a),s=o.x,l=o.y;j0e(r)||("production"!==go.env.NODE_ENV?M0e(!1,"editorNode is not an HTMLElement"):M0e(!1)),r.focus(),a===window?window.scrollTo(s,l):S0e.setTop(a,l),i||n.update(x0e.forceSelection(t,t.getSelection()))}})),g0e(h0e(n),"blur",(function(){var e=n.editor;e&&(j0e(e)||("production"!==go.env.NODE_ENV?M0e(!1,"editorNode is not an HTMLElement"):M0e(!1)),e.blur())})),g0e(h0e(n),"setMode",(function(e){var t=n.props,i=t.onPaste,r=t.onCut,a=t.onCopy,o=p0e({},z0e.edit);i&&(o.onPaste=i),r&&(o.onCut=r),a&&(o.onCopy=a);var s=p0e({},z0e,{edit:o});n._handler=s[e]})),g0e(h0e(n),"exitCurrentMode",(function(){n.setMode("edit")})),g0e(h0e(n),"restoreEditorDOM",(function(e){n.setState({contentsKey:n.state.contentsKey+1},(function(){n.focus(e)}))})),g0e(h0e(n),"setClipboard",(function(e){n._clipboard=e})),g0e(h0e(n),"getClipboard",(function(){return n._clipboard})),g0e(h0e(n),"update",(function(e){n._latestEditorState=e,n.props.onChange(e)})),g0e(h0e(n),"onDragEnter",(function(){n._dragCount++})),g0e(h0e(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||A0e(),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"!==go.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}m0e(t,e);var n=t.prototype;return n._buildHandler=function(e){var t=this;return function(n){if(!t.props.readOnly){var i=t._handler&&t._handler[e];i&&(k0e?k0e((function(){return i(t,n)})):i(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:N0e(this.props.placeholder),editorState:this.props.editorState,textAlignment:this.props.textAlignment,accessibilityID:this._placeholderAccessibilityID};return C0e.createElement(E0e,e)}return null},n.render=function(){var e=this.props,t=e.blockRenderMap,n=e.blockRendererFn,i=e.blockStyleFn,r=e.customStyleFn,a=e.customStyleMap,o=e.editorState,s=e.preventScroll,l=e.readOnly,u=e.textAlignment,c=e.textDirectionality,d=P0e({"DraftEditor/root":!0,"DraftEditor/alignLeft":"left"===u,"DraftEditor/alignRight":"right"===u,"DraftEditor/alignCenter":"center"===u}),f=this.props.role||"textbox",p="combobox"===f?!!this.props.ariaExpanded:null,h={blockRenderMap:t,blockRendererFn:n,blockStyleFn:i,customStyleMap:p0e({},_0e,a),customStyleFn:r,editorKey:this._editorKey,editorState:o,preventScroll:s,textDirectionality:c};return C0e.createElement("div",{className:d},this._renderPlaceholder(),C0e.createElement("div",{className:P0e("DraftEditor/editorContainer"),ref:this._handleEditorContainerRef},C0e.createElement("div",{"aria-activedescendant":l?null:this.props.ariaActiveDescendantID,"aria-autocomplete":l?null:this.props.ariaAutoComplete,"aria-controls":l?null:this.props.ariaControls,"aria-describedby":this.props.ariaDescribedBy||this._placeholderAccessibilityID,"aria-expanded":l?null:p,"aria-label":this.props.ariaLabel,"aria-labelledby":this.props.ariaLabelledBy,"aria-multiline":this.props.ariaMultiline,"aria-owns":l?null:this.props.ariaOwneeID,autoCapitalize:this.props.autoCapitalize,autoComplete:this.props.autoComplete,autoCorrect:this.props.autoCorrect,className:P0e({notranslate:!l,"public/DraftEditor/content":!0}),contentEditable:!l,"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:l?null:f,spellCheck:O0e&&this.props.spellCheck,style:{outline:"none",userSelect:"text",WebkitUserSelect:"text",whiteSpace:"pre-wrap",wordWrap:"break-word"},suppressContentEditableWarning:!0,tabIndex:this.props.tabIndex},C0e.createElement(G0e,{editor:this,editorState:o}),C0e.createElement(y0e,f0e({},h,{key:"contents"+this.state.contentsKey})))))},n.componentDidMount=function(){this._blockSelectEvents=!1,!B0e&&I0e("draft_ods_enabled")&&(B0e=!0),this.setMode("edit"),R0e&&(this.editor?this.editor.ownerDocument.execCommand("AutoUrlDetect",!1,!1):k.execCommand("AutoUrlDetect",!1,!1))},n.componentDidUpdate=function(){this._blockSelectEvents=!1,this._latestEditorState=this.props.editorState,this._latestCommittedEditorState=this.props.editorState},t}(C0e.Component);g0e(q0e,"defaultProps",{blockRenderMap:v0e,blockRendererFn:function(){return null},blockStyleFn:function(){return""},keyBindingFn:T0e,readOnly:!1,spellCheck:!1,stripPastedStyles:!1});var U0e=q0e,H0e=x(Object.freeze({__proto__:null})),W0e={stringify:function(e){return"_"+String(e)},unstringify:function(e){return e.slice(1)}},Y0e=W0e,V0e=fJe.strlen;var K0e=function(e,t){var n=[];return e.findEntityRanges((function(e){return!!e.getEntity()}),(function(i,r){var a=e.getText(),o=e.getEntityAt(i);n.push({offset:V0e(a.slice(0,i)),length:V0e(a.slice(i,r)),key:Number(t[Y0e.stringify(o)])})})),n},Q0e=fJe,J0e=Rze,Z0e=function(e,t){return e===t},$0e=function(e){return!!e},X0e=[];var e1e=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 i=[],r=t.map((function(e){return e.has(n)})).toList();return J0e(r,Z0e,$0e,(function(t,r){var a=e.getText();i.push({offset:Q0e.strlen(a.slice(0,t)),length:Q0e.strlen(a.slice(t,r)),style:n})})),i}(e,t,n)}));return Array.prototype.concat.apply(X0e,n.toJS())};function t1e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var n1e=Zze,i1e=fBe,r1e=W0e,a1e=K0e,o1e=e1e,s1e=kBe,l1e=function(e,t){return{key:e.getKey(),text:e.getText(),type:e.getType(),depth:e.getDepth(),inlineStyleRanges:o1e(e),entityRanges:a1e(e,t),data:e.getData().toObject()}},u1e=function(e,t,n,i){if(e instanceof n1e)n.push(l1e(e,t));else{e instanceof i1e||("production"!==go.env.NODE_ENV?s1e(!1,"block is not a BlockNode"):s1e(!1));var r=e.getParentKey(),a=i[e.getKey()]=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){t1e(e,t,n[t])}))}return e}({},l1e(e,t),{children:[]});r?i[r].children.push(a):n.push(a)}},c1e=function(e){var t={entityMap:{},blocks:[]};return t=function(e,t){var n=t.entityMap,i=[],r={},a={},o=0;return e.getBlockMap().forEach((function(e){e.findEntityRanges((function(e){return null!==e.getEntity()}),(function(t){var i=e.getEntityAt(t),r=r1e.stringify(i);a[r]||(a[r]=i,n[r]="".concat(o),o++)})),u1e(e,n,i,r)})),{blocks:i,entityMap:n}}(e,t),t=function(e,t){var n=t.blocks,i=t.entityMap,r={};return Object.keys(i).forEach((function(t,n){var i=e.getEntity(r1e.unstringify(t));r[n]={type:i.getType(),mutability:i.getMutability(),data:i.getData()}})),{blocks:n,entityMap:r}}(e,t),t};function d1e(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){f1e(e,t,n[t])}))}return e}function f1e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var p1e=IBe,h1e=kBe,g1e=function(e){if(!e||!e.type)return!1;var t=e.type;return"unordered-list-item"===t||"ordered-list-item"===t},m1e={fromRawTreeStateToRawState:function(e){var t=e.blocks,n=[];return Array.isArray(t)||("production"!==go.env.NODE_ENV?h1e(!1,"Invalid raw state"):h1e(!1)),Array.isArray(t)&&t.length?(function(e,t){for(var n=[].concat(e).reverse();n.length;){var i=n.pop();t(i);var r=i.children;Array.isArray(r)||("production"!==go.env.NODE_ENV?h1e(!1,"Invalid tree raw block"):h1e(!1)),n=n.concat([].concat(r.reverse()))}}(t,(function(e){var t=d1e({},e);g1e(e)&&(t.depth=t.depth||0,function(e){Array.isArray(e.children)&&(e.children=e.children.map((function(t){return t.type===e.type?d1e({},t,{depth:(e.depth||0)+1}):t})))}(e),null!=e.children&&e.children.length>0)||(delete t.children,n.push(t))})),e.blocks=n,d1e({},e,{blocks:n})):e},fromRawStateToRawTreeState:function(e){var t=[],n=[];return e.blocks.forEach((function(e){var i=g1e(e),r=e.depth||0,a=d1e({},e,{children:[]});if(i){var o=n[0];if(null==o&&0===r)t.push(a);else if(null==o||o.depth<r-1){var s={key:p1e(),text:"",depth:r-1,type:e.type,children:[],entityRanges:[],inlineStyleRanges:[]};n.unshift(s),1===r?t.push(s):null!=o&&o.children.push(s),s.children.push(a)}else if(o.depth===r-1)o.children.push(a);else{for(;null!=o&&o.depth>=r;)n.shift(),o=n[0];r>0?o.children.push(a):t.push(a)}}else t.push(a)})),d1e({},e,{blocks:t})}},v1e=m1e,_1e=mJe,b1e={isValidBlock:function(e,t){var n=e.getKey(),i=e.getParentKey();if(null!=i&&!t.get(i).getChildKeys().includes(n))return"production"!==go.env.NODE_ENV&&_1e(!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"!==go.env.NODE_ENV&&_1e(!0,"Tree is missing child -> parent pointer on %s",n),!1;var r=e.getPrevSiblingKey();if(null!=r&&t.get(r).getNextSiblingKey()!==n)return"production"!==go.env.NODE_ENV&&_1e(!0,"Tree is missing nextSibling pointer on %s's prevSibling",n),!1;var a=e.getNextSiblingKey();if(null!=a&&t.get(a).getPrevSiblingKey()!==n)return"production"!==go.env.NODE_ENV&&_1e(!0,"Tree is missing prevSibling pointer on %s's nextSibling",n),!1;return null!==a&&null!==r&&r===a?("production"!==go.env.NODE_ENV&&_1e(!0,"Tree has a two-node cycle at %s",n),!1):!(""!=e.text&&e.getChildKeys().size>0)||("production"!==go.env.NODE_ENV&&_1e(!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"!==go.env.NODE_ENV&&_1e(!0,"Tree is not connected. More or less than one first node"),!1;for(var n=0,i=t.shift().getKey(),r=[];null!=i;){var a=e.get(i),o=a.getChildKeys(),s=a.getNextSiblingKey();if(o.size>0){null!=s&&r.unshift(s);var l=o.map((function(t){return e.get(t)})).find((function(e){return null==e.getPrevSiblingKey()}));if(null==l)return"production"!==go.env.NODE_ENV&&_1e(!0,"%s has no first child",i),!1;i=l.getKey()}else i=null!=a.getNextSiblingKey()?a.getNextSiblingKey():r.shift();n++}return n===e.size||("production"!==go.env.NODE_ENV&&_1e(!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)}},y1e=b1e,w1e=Nze,F1e=kze.exports.List;var k1e=function(e,t){var n=e.map((function(e,n){var i=t[n];return w1e.create({style:e,entity:i})}));return F1e(n)},E1e=fJe.substr;var x1e=function(e,t){var n=Array(e.length).fill(null);return t&&t.forEach((function(t){for(var i=E1e(e,0,t.offset).length,r=i+E1e(e,t.offset,t.length).length,a=i;a<r;a++)n[a]=t.key})),n},C1e=fJe,S1e=kze.exports.OrderedSet,D1e=C1e.substr,P1e=S1e();var A1e=function(e,t){var n=Array(e.length).fill(P1e);return t&&t.forEach((function(t){for(var i=D1e(e,0,t.offset).length,r=i+D1e(e,t.offset,t.length).length;i<r;)n[i]=n[i].add(t.style),i++})),n};function T1e(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){L1e(e,t,n[t])}))}return e}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 I1e=Zze,M1e=fBe,j1e=Hqe,N1e=vqe,R1e=v1e,O1e=y1e,z1e=bqe,B1e=k1e,G1e=x1e,q1e=A1e,U1e=IBe,H1e=kze.exports,W1e=kBe,Y1e=yqe("draft_tree_data_support"),V1e=H1e.List,K1e=H1e.Map,Q1e=H1e.OrderedMap,J1e=function(e,t){var n=e.key,i=e.type,r=e.data;return{text:e.text,depth:e.depth||0,type:i||"unstyled",key:n||U1e(),data:K1e(r),characterList:Z1e(e,t)}},Z1e=function(e,t){var n=e.text,i=e.entityRanges,r=e.inlineStyleRanges,a=i||[];return B1e(q1e(n,r||[]),G1e(n,a.filter((function(e){return t.hasOwnProperty(e.key)})).map((function(e){return T1e({},e,{key:t[e.key]})}))))},$1e=function(e){return T1e({},e,{key:e.key||U1e()})},X1e=function(e,t,n){var i=t.map((function(e){return T1e({},e,{parentRef:n})}));return e.concat(i.reverse())},e2e=function(e,t){var n=e.blocks.find((function(e){return Array.isArray(e.children)&&e.children.length>0})),i=Y1e&&!n?R1e.fromRawStateToRawTreeState(e).blocks:e.blocks;if(!Y1e)return function(e,t){return Q1e(e.map((function(e){var n=new I1e(J1e(e,t));return[n.getKey(),n]})))}(n?R1e.fromRawTreeStateToRawState(e).blocks:i,t);var r=function(e,t){return e.map($1e).reduce((function(n,i,r){Array.isArray(i.children)||("production"!==go.env.NODE_ENV?W1e(!1,"invalid RawDraftContentBlock can not be converted to ContentBlockNode"):W1e(!1));var a=i.children.map($1e),o=new M1e(T1e({},J1e(i,t),{prevSibling:0===r?null:e[r-1].key,nextSibling:r===e.length-1?null:e[r+1].key,children:V1e(a.map((function(e){return e.key})))}));n=n.set(o.getKey(),o);for(var s=X1e([],a,o);s.length>0;){var l=s.pop(),u=l.parentRef,c=u.getChildKeys(),d=c.indexOf(l.key),f=Array.isArray(l.children);if(!f){f||("production"!==go.env.NODE_ENV?W1e(!1,"invalid RawDraftContentBlock can not be converted to ContentBlockNode"):W1e(!1));break}var p=l.children.map($1e),h=new M1e(T1e({},J1e(l,t),{parent:u.getKey(),children:V1e(p.map((function(e){return e.key}))),prevSibling:0===d?null:c.get(d-1),nextSibling:d===c.size-1?null:c.get(d+1)}));n=n.set(h.getKey(),h),s=X1e(s,p,h)}return n}),Q1e())}(i,t);return"production"!==go.env.NODE_ENV&&(O1e.isValidTree(r)||("production"!==go.env.NODE_ENV?W1e(!1,"Should be a valid tree"):W1e(!1))),r},t2e=function(e){Array.isArray(e.blocks)||("production"!==go.env.NODE_ENV?W1e(!1,"invalid RawDraftContentState"):W1e(!1));var t=function(e){var t=e.entityMap,n={};return Object.keys(t).forEach((function(e){var i=t[e],r=i.type,a=i.mutability,o=i.data;n[e]=N1e.__create(r,a,o||{})})),n}(e),n=e2e(e,t),i=n.isEmpty()?new z1e:z1e.createEmpty(n.first().getKey());return new j1e({blockMap:n,entityMap:t,selectionBefore:i,selectionAfter:i})},n2e=QJe;var i2e=function(e){var t=n2e(e),n=0,i=0,r=0,a=0;if(t.length){if(t.length>1&&0===t[0].width){var o=t[1];n=o.top,i=o.right,r=o.bottom,a=o.left}else{var s=t[0];n=s.top,i=s.right,r=s.bottom,a=s.left}for(var l=1;l<t.length;l++){var u=t[l];0!==u.height&&0!==u.width&&(n=Math.min(n,u.top),i=Math.max(i,u.right),r=Math.max(r,u.bottom),a=Math.min(a,u.left))}}return{top:n,right:i,bottom:r,left:a,width:i-a,height:r-n}};var r2e={Editor:U0e,EditorBlock:SKe,EditorState:zUe,CompositeDecorator:pHe,Entity:vqe,EntityInstance:sqe,BlockMapBuilder:Cze,CharacterMetadata:Nze,ContentBlock:Zze,ContentState:Hqe,RawDraftContentState:H0e,SelectionState:bqe,AtomicBlockUtils:cHe,KeyBindingUtil:GJe,Modifier:HGe,RichUtils:bXe,DefaultDraftBlockRenderMap:_He,DefaultDraftInlineStyle:bHe,convertFromHTML:$$e,convertFromRaw:t2e,convertToRaw:c1e,genKey:IBe,getDefaultKeyBinding:c0e,getVisibleSelectionRect:function(e){var t=e.getSelection();if(!t.rangeCount)return null;var n=t.getRangeAt(0),i=i2e(n),r=i.top,a=i.right,o=i.bottom,s=i.left;return 0===r&&0===a&&0===o&&0===s?null:i}},a2e=function(e,t){return e.offset===t.offset?t.length-e.length:e.offset-t.offset};function o2e(e){return o2e="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},o2e(e)}m.default.createElement("p",null),m.default.createElement("p",null),m.default.createElement("h1",null),m.default.createElement("h2",null),m.default.createElement("h3",null),m.default.createElement("h4",null),m.default.createElement("h5",null),m.default.createElement("h6",null),m.default.createElement("blockquote",null),m.default.createElement("li",null),m.default.createElement("ul",null),m.default.createElement("li",null),m.default.createElement("figure",null),m.default.createElement("figure",null);var s2e={exports:{}};!function(e,t){e.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 o(e)?e:V(e)}function i(e){return s(e)?e:K(e)}function r(e){return l(e)?e:Q(e)}function a(e){return o(e)&&!u(e)?e:J(e)}function o(e){return!(!e||!e[d])}function s(e){return!(!e||!e[f])}function l(e){return!(!e||!e[p])}function u(e){return s(e)||l(e)}function c(e){return!(!e||!e[h])}t(i,n),t(r,n),t(a,n),n.isIterable=o,n.isKeyed=s,n.isIndexed=l,n.isAssociative=u,n.isOrdered=c,n.Keyed=i,n.Indexed=r,n.Set=a;var d="@@__IMMUTABLE_ITERABLE__@@",f="@@__IMMUTABLE_KEYED__@@",p="@@__IMMUTABLE_INDEXED__@@",h="@@__IMMUTABLE_ORDERED__@@",g="delete",m=5,v=1<<m,_=v-1,b={},y={value:!1},w={value:!1};function F(e){return e.value=!1,e}function k(e){e&&(e.value=!0)}function E(){}function x(e,t){t=t||0;for(var n=Math.max(0,e.length-t),i=new Array(n),r=0;r<n;r++)i[r]=e[r+t];return i}function C(e){return void 0===e.size&&(e.size=e.__iterate(D)),e.size}function S(e,t){if("number"!=typeof t){var n=t>>>0;if(""+n!==t||4294967295===n)return NaN;t=n}return t<0?C(e)+t:t}function D(){return!0}function P(e,t,n){return(0===e||void 0!==n&&e<=-n)&&(void 0===t||void 0!==n&&t>=n)}function A(e,t){return L(e,t,0)}function T(e,t){return L(e,t,t)}function L(e,t,n){return void 0===e?n:e<0?Math.max(0,t+e):void 0===t?e:Math.min(t,e)}var I=0,M=1,j=2,N="function"==typeof Symbol&&Symbol.iterator,R="@@iterator",O=N||R;function z(e){this.next=e}function B(e,t,n,i){var r=0===e?t:1===e?n:[t,n];return i?i.value=r:i={value:r,done:!1},i}function G(){return{value:void 0,done:!0}}function q(e){return!!W(e)}function U(e){return e&&"function"==typeof e.next}function H(e){var t=W(e);return t&&t.call(e)}function W(e){var t=e&&(N&&e[N]||e[R]);if("function"==typeof t)return t}function Y(e){return e&&"number"==typeof e.length}function V(e){return null==e?oe():o(e)?e.toSeq():ue(e)}function K(e){return null==e?oe().toKeyedSeq():o(e)?s(e)?e.toSeq():e.fromEntrySeq():se(e)}function Q(e){return null==e?oe():o(e)?s(e)?e.entrySeq():e.toIndexedSeq():le(e)}function J(e){return(null==e?oe():o(e)?s(e)?e.entrySeq():e:le(e)).toSetSeq()}z.prototype.toString=function(){return"[Iterator]"},z.KEYS=I,z.VALUES=M,z.ENTRIES=j,z.prototype.inspect=z.prototype.toSource=function(){return this.toString()},z.prototype[O]=function(){return this},t(V,n),V.of=function(){return V(arguments)},V.prototype.toSeq=function(){return this},V.prototype.toString=function(){return this.__toString("Seq {","}")},V.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},V.prototype.__iterate=function(e,t){return de(this,e,t,!0)},V.prototype.__iterator=function(e,t){return fe(this,e,t,!0)},t(K,V),K.prototype.toKeyedSeq=function(){return this},t(Q,V),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(J,V),J.of=function(){return J(arguments)},J.prototype.toSetSeq=function(){return this},V.isSeq=ae,V.Keyed=K,V.Set=J,V.Indexed=Q;var Z,$,X,ee="@@__IMMUTABLE_SEQ__@@";function te(e){this._array=e,this.size=e.length}function ne(e){var t=Object.keys(e);this._object=e,this._keys=t,this.size=t.length}function ie(e){this._iterable=e,this.size=e.length||e.size}function re(e){this._iterator=e,this._iteratorCache=[]}function ae(e){return!(!e||!e[ee])}function oe(){return Z||(Z=new te([]))}function se(e){var t=Array.isArray(e)?new te(e).fromEntrySeq():U(e)?new re(e).fromEntrySeq():q(e)?new ie(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 le(e){var t=ce(e);if(!t)throw new TypeError("Expected Array or iterable object of values: "+e);return t}function ue(e){var t=ce(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 ce(e){return Y(e)?new te(e):U(e)?new re(e):q(e)?new ie(e):void 0}function de(e,t,n,i){var r=e._cache;if(r){for(var a=r.length-1,o=0;o<=a;o++){var s=r[n?a-o:o];if(!1===t(s[1],i?s[0]:o,e))return o+1}return o}return e.__iterateUncached(t,n)}function fe(e,t,n,i){var r=e._cache;if(r){var a=r.length-1,o=0;return new z((function(){var e=r[n?a-o:o];return o++>a?G():B(t,i?e[0]:o-1,e[1])}))}return e.__iteratorUncached(t,n)}function pe(e,t){return t?he(t,e,"",{"":e}):ge(e)}function he(e,t,n,i){return Array.isArray(t)?e.call(i,n,Q(t).map((function(n,i){return he(e,n,i,t)}))):me(t)?e.call(i,n,K(t).map((function(n,i){return he(e,n,i,t)}))):t}function ge(e){return Array.isArray(e)?Q(e).map(ge).toList():me(e)?K(e).map(ge).toMap():e}function me(e){return e&&(e.constructor===Object||void 0===e.constructor)}function ve(e,t){if(e===t||e!=e&&t!=t)return!0;if(!e||!t)return!1;if("function"==typeof e.valueOf&&"function"==typeof t.valueOf){if((e=e.valueOf())===(t=t.valueOf())||e!=e&&t!=t)return!0;if(!e||!t)return!1}return!("function"!=typeof e.equals||"function"!=typeof t.equals||!e.equals(t))}function _e(e,t){if(e===t)return!0;if(!o(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)||l(e)!==l(t)||c(e)!==c(t))return!1;if(0===e.size&&0===t.size)return!0;var n=!u(e);if(c(e)){var i=e.entries();return t.every((function(e,t){var r=i.next().value;return r&&ve(r[1],e)&&(n||ve(r[0],t))}))&&i.next().done}var r=!1;if(void 0===e.size)if(void 0===t.size)"function"==typeof e.cacheResult&&e.cacheResult();else{r=!0;var a=e;e=t,t=a}var d=!0,f=t.__iterate((function(t,i){if(n?!e.has(t):r?!ve(t,e.get(i,b)):!ve(e.get(i,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($)return $;$=this}}function ye(e,t){if(!e)throw new Error(t)}function we(e,t,n){if(!(this instanceof we))return new we(e,t,n);if(ye(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 Fe(){throw TypeError("Abstract")}function ke(){}function Ee(){}function xe(){}V.prototype[ee]=!0,t(te,Q),te.prototype.get=function(e,t){return this.has(e)?this._array[S(this,e)]:t},te.prototype.__iterate=function(e,t){for(var n=this._array,i=n.length-1,r=0;r<=i;r++)if(!1===e(n[t?i-r:r],r,this))return r+1;return r},te.prototype.__iterator=function(e,t){var n=this._array,i=n.length-1,r=0;return new z((function(){return r>i?G():B(e,r,n[t?i-r++:r++])}))},t(ne,K),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,i=this._keys,r=i.length-1,a=0;a<=r;a++){var o=i[t?r-a:a];if(!1===e(n[o],o,this))return a+1}return a},ne.prototype.__iterator=function(e,t){var n=this._object,i=this._keys,r=i.length-1,a=0;return new z((function(){var o=i[t?r-a:a];return a++>r?G():B(e,o,n[o])}))},ne.prototype[h]=!0,t(ie,Q),ie.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);var n=H(this._iterable),i=0;if(U(n))for(var r;!(r=n.next()).done&&!1!==e(r.value,i++,this););return i},ie.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=H(this._iterable);if(!U(n))return new z(G);var i=0;return new z((function(){var t=n.next();return t.done?t:B(e,i++,t.value)}))},t(re,Q),re.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);for(var n,i=this._iterator,r=this._iteratorCache,a=0;a<r.length;)if(!1===e(r[a],a++,this))return a;for(;!(n=i.next()).done;){var o=n.value;if(r[a]=o,!1===e(o,a++,this))break}return a},re.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=this._iterator,i=this._iteratorCache,r=0;return new z((function(){if(r>=i.length){var t=n.next();if(t.done)return t;i[r]=t.value}return B(e,r,i[r++])}))},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 P(e,t,n)?this:new be(this._value,T(t,n)-A(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,i=0;return new z((function(){return i<n.size?B(e,i++,n._value):G()}))},be.prototype.equals=function(e){return e instanceof be?ve(this._value,e._value):_e(e)},t(we,Q),we.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(this._step>1?" by "+this._step:"")+" ]"},we.prototype.get=function(e,t){return this.has(e)?this._start+S(this,e)*this._step:t},we.prototype.includes=function(e){var t=(e-this._start)/this._step;return t>=0&&t<this.size&&t===Math.floor(t)},we.prototype.slice=function(e,t){return P(e,t,this.size)?this:(e=A(e,this.size),(t=T(t,this.size))<=e?new we(0,0):new we(this.get(e,this._end),this.get(t,this._end),this._step))},we.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},we.prototype.lastIndexOf=function(e){return this.indexOf(e)},we.prototype.__iterate=function(e,t){for(var n=this.size-1,i=this._step,r=t?this._start+n*i:this._start,a=0;a<=n;a++){if(!1===e(r,a,this))return a+1;r+=t?-i:i}return a},we.prototype.__iterator=function(e,t){var n=this.size-1,i=this._step,r=t?this._start+n*i:this._start,a=0;return new z((function(){var o=r;return r+=t?-i:i,a>n?G():B(e,a++,o)}))},we.prototype.equals=function(e){return e instanceof we?this._start===e._start&&this._end===e._end&&this._step===e._step:_e(this,e)},t(Fe,n),t(ke,Fe),t(Ee,Fe),t(xe,Fe),Fe.Keyed=ke,Fe.Indexed=Ee,Fe.Set=xe;var Ce="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(e,t){var n=65535&(e|=0),i=65535&(t|=0);return n*i+((e>>>16)*i+n*(t>>>16)<<16>>>0)|0};function Se(e){return e>>>1&1073741824|3221225471&e}function De(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 Se(n)}if("string"===t)return e.length>ze?Pe(e):Ae(e);if("function"==typeof e.hashCode)return e.hashCode();if("object"===t)return Te(e);if("function"==typeof e.toString)return Ae(e.toString());throw new Error("Value type "+t+" cannot be hashed.")}function Pe(e){var t=qe[e];return void 0===t&&(t=Ae(e),Ge===Be&&(Ge=0,qe={}),Ge++,qe[e]=t),t}function Ae(e){for(var t=0,n=0;n<e.length;n++)t=31*t+e.charCodeAt(n)|0;return Se(t)}function Te(e){var t;if(Ne&&void 0!==(t=je.get(e)))return t;if(void 0!==(t=e[Oe]))return t;if(!Ie){if(void 0!==(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[Oe]))return t;if(void 0!==(t=Me(e)))return t}if(t=++Re,1073741824&Re&&(Re=0),Ne)je.set(e,t);else{if(void 0!==Le&&!1===Le(e))throw new Error("Non-extensible objects are not allowed as keys.");if(Ie)Object.defineProperty(e,Oe,{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[Oe]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[Oe]=t}}return t}var Le=Object.isExtensible,Ie=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,Ne="function"==typeof WeakMap;Ne&&(je=new WeakMap);var Re=0,Oe="__immutablehash__";"function"==typeof Symbol&&(Oe=Symbol(Oe));var ze=16,Be=255,Ge=0,qe={};function Ue(e){ye(e!==1/0,"Cannot perform this action with an infinite size.")}function He(e){return null==e?rt():We(e)&&!c(e)?e:rt().withMutations((function(t){var n=i(e);Ue(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function We(e){return!(!e||!e[Ve])}t(He,ke),He.prototype.toString=function(){return this.__toString("Map {","}")},He.prototype.get=function(e,t){return this._root?this._root.get(0,void 0,e,t):t},He.prototype.set=function(e,t){return at(this,e,t)},He.prototype.setIn=function(e,t){return this.updateIn(e,b,(function(){return t}))},He.prototype.remove=function(e){return at(this,e,b)},He.prototype.deleteIn=function(e){return this.updateIn(e,(function(){return b}))},He.prototype.update=function(e,t,n){return 1===arguments.length?e(this):this.updateIn([e],t,n)},He.prototype.updateIn=function(e,t,n){n||(n=t,t=void 0);var i=mt(this,Fn(e),t,n);return i===b?void 0:i},He.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):rt()},He.prototype.merge=function(){return ft(this,void 0,arguments)},He.prototype.mergeWith=function(t){return ft(this,t,e.call(arguments,1))},He.prototype.mergeIn=function(t){var n=e.call(arguments,1);return this.updateIn(t,rt(),(function(e){return"function"==typeof e.merge?e.merge.apply(e,n):n[n.length-1]}))},He.prototype.mergeDeep=function(){return ft(this,pt,arguments)},He.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return ft(this,ht(t),n)},He.prototype.mergeDeepIn=function(t){var n=e.call(arguments,1);return this.updateIn(t,rt(),(function(e){return"function"==typeof e.mergeDeep?e.mergeDeep.apply(e,n):n[n.length-1]}))},He.prototype.sort=function(e){return qt(dn(this,e))},He.prototype.sortBy=function(e,t){return qt(dn(this,t,e))},He.prototype.withMutations=function(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this},He.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new E)},He.prototype.asImmutable=function(){return this.__ensureOwner()},He.prototype.wasAltered=function(){return this.__altered},He.prototype.__iterator=function(e,t){return new et(this,e,t)},He.prototype.__iterate=function(e,t){var n=this,i=0;return this._root&&this._root.iterate((function(t){return i++,e(t[1],t[0],n)}),t),i},He.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?it(this.size,this._root,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},He.isMap=We;var Ye,Ve="@@__IMMUTABLE_MAP__@@",Ke=He.prototype;function Qe(e,t){this.ownerID=e,this.entries=t}function Je(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 $e(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 it(e,t,n,i){var r=Object.create(Ke);return r.size=e,r._root=t,r.__ownerID=n,r.__hash=i,r.__altered=!1,r}function rt(){return Ye||(Ye=it(0))}function at(e,t,n){var i,r;if(e._root){var a=F(y),o=F(w);if(i=ot(e._root,e.__ownerID,0,void 0,t,n,a,o),!o.value)return e;r=e.size+(a.value?n===b?-1:1:0)}else{if(n===b)return e;r=1,i=new Qe(e.__ownerID,[[t,n]])}return e.__ownerID?(e.size=r,e._root=i,e.__hash=void 0,e.__altered=!0,e):i?it(r,i):rt()}function ot(e,t,n,i,r,a,o,s){return e?e.update(t,n,i,r,a,o,s):a===b?e:(k(s),k(o),new Xe(t,i,[r,a]))}function st(e){return e.constructor===Xe||e.constructor===$e}function lt(e,t,n,i,r){if(e.keyHash===i)return new $e(t,i,[e.entry,r]);var a,o=(0===n?e.keyHash:e.keyHash>>>n)&_,s=(0===n?i:i>>>n)&_;return new Je(t,1<<o|1<<s,o===s?[lt(e,t,n+m,i,r)]:(a=new Xe(t,i,r),o<s?[e,a]:[a,e]))}function ut(e,t,n,i){e||(e=new E);for(var r=new Xe(e,De(n),[n,i]),a=0;a<t.length;a++){var o=t[a];r=r.update(e,0,void 0,o[0],o[1])}return r}function ct(e,t,n,i){for(var r=0,a=0,o=new Array(n),s=0,l=1,u=t.length;s<u;s++,l<<=1){var c=t[s];void 0!==c&&s!==i&&(r|=l,o[a++]=c)}return new Je(e,r,o)}function dt(e,t,n,i,r){for(var a=0,o=new Array(v),s=0;0!==n;s++,n>>>=1)o[s]=1&n?t[a++]:void 0;return o[i]=r,new Ze(e,a+1,o)}function ft(e,t,n){for(var r=[],a=0;a<n.length;a++){var s=n[a],l=i(s);o(s)||(l=l.map((function(e){return pe(e)}))),r.push(l)}return gt(e,t,r)}function pt(e,t,n){return e&&e.mergeDeep&&o(t)?e.mergeDeep(t):ve(e,t)?e:t}function ht(e){return function(t,n,i){if(t&&t.mergeDeepWith&&o(n))return t.mergeDeepWith(e,n);var r=e(t,n,i);return ve(t,r)?t:r}}function gt(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 i=t?function(n,i){e.update(i,b,(function(e){return e===b?n:t(e,n,i)}))}:function(t,n){e.set(n,t)},r=0;r<n.length;r++)n[r].forEach(i)})):e.constructor(n[0])}function mt(e,t,n,i){var r=e===b,a=t.next();if(a.done){var o=r?n:e,s=i(o);return s===o?e:s}ye(r||e&&e.set,"invalid keyPath");var l=a.value,u=r?b:e.get(l,b),c=mt(u,t,n,i);return c===u?e:c===b?e.remove(l):(r?rt():e).set(l,c)}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 _t(e,t,n,i){var r=i?e:x(e);return r[t]=n,r}function bt(e,t,n,i){var r=e.length+1;if(i&&t+1===r)return e[t]=n,e;for(var a=new Array(r),o=0,s=0;s<r;s++)s===t?(a[s]=n,o=-1):a[s]=e[s+o];return a}function yt(e,t,n){var i=e.length-1;if(n&&t===i)return e.pop(),e;for(var r=new Array(i),a=0,o=0;o<i;o++)o===t&&(a=1),r[o]=e[o+a];return r}Ke[Ve]=!0,Ke[g]=Ke.remove,Ke.removeIn=Ke.deleteIn,Qe.prototype.get=function(e,t,n,i){for(var r=this.entries,a=0,o=r.length;a<o;a++)if(ve(n,r[a][0]))return r[a][1];return i},Qe.prototype.update=function(e,t,n,i,r,a,o){for(var s=r===b,l=this.entries,u=0,c=l.length;u<c&&!ve(i,l[u][0]);u++);var d=u<c;if(d?l[u][1]===r:s)return this;if(k(o),(s||!d)&&k(a),!s||1!==l.length){if(!d&&!s&&l.length>=wt)return ut(e,l,i,r);var f=e&&e===this.ownerID,p=f?l:x(l);return d?s?u===c-1?p.pop():p[u]=p.pop():p[u]=[i,r]:p.push([i,r]),f?(this.entries=p,this):new Qe(e,p)}},Je.prototype.get=function(e,t,n,i){void 0===t&&(t=De(n));var r=1<<((0===e?t:t>>>e)&_),a=this.bitmap;return 0==(a&r)?i:this.nodes[vt(a&r-1)].get(e+m,t,n,i)},Je.prototype.update=function(e,t,n,i,r,a,o){void 0===n&&(n=De(i));var s=(0===t?n:n>>>t)&_,l=1<<s,u=this.bitmap,c=0!=(u&l);if(!c&&r===b)return this;var d=vt(u&l-1),f=this.nodes,p=c?f[d]:void 0,h=ot(p,e,t+m,n,i,r,a,o);if(h===p)return this;if(!c&&h&&f.length>=Ft)return dt(e,f,u,s,h);if(c&&!h&&2===f.length&&st(f[1^d]))return f[1^d];if(c&&h&&1===f.length&&st(h))return h;var g=e&&e===this.ownerID,v=c?h?u:u^l:u|l,y=c?h?_t(f,d,h,g):yt(f,d,g):bt(f,d,h,g);return g?(this.bitmap=v,this.nodes=y,this):new Je(e,v,y)},Ze.prototype.get=function(e,t,n,i){void 0===t&&(t=De(n));var r=(0===e?t:t>>>e)&_,a=this.nodes[r];return a?a.get(e+m,t,n,i):i},Ze.prototype.update=function(e,t,n,i,r,a,o){void 0===n&&(n=De(i));var s=(0===t?n:n>>>t)&_,l=r===b,u=this.nodes,c=u[s];if(l&&!c)return this;var d=ot(c,e,t+m,n,i,r,a,o);if(d===c)return this;var f=this.count;if(c){if(!d&&--f<kt)return ct(e,u,f,s)}else f++;var p=e&&e===this.ownerID,h=_t(u,s,d,p);return p?(this.count=f,this.nodes=h,this):new Ze(e,f,h)},$e.prototype.get=function(e,t,n,i){for(var r=this.entries,a=0,o=r.length;a<o;a++)if(ve(n,r[a][0]))return r[a][1];return i},$e.prototype.update=function(e,t,n,i,r,a,o){void 0===n&&(n=De(i));var s=r===b;if(n!==this.keyHash)return s?this:(k(o),k(a),lt(this,e,t,n,[i,r]));for(var l=this.entries,u=0,c=l.length;u<c&&!ve(i,l[u][0]);u++);var d=u<c;if(d?l[u][1]===r:s)return this;if(k(o),(s||!d)&&k(a),s&&2===c)return new Xe(e,this.keyHash,l[1^u]);var f=e&&e===this.ownerID,p=f?l:x(l);return d?s?u===c-1?p.pop():p[u]=p.pop():p[u]=[i,r]:p.push([i,r]),f?(this.entries=p,this):new $e(e,this.keyHash,p)},Xe.prototype.get=function(e,t,n,i){return ve(n,this.entry[0])?this.entry[1]:i},Xe.prototype.update=function(e,t,n,i,r,a,o){var s=r===b,l=ve(i,this.entry[0]);return(l?r===this.entry[1]:s)?this:(k(o),s?void k(a):l?e&&e===this.ownerID?(this.entry[1]=r,this):new Xe(e,this.keyHash,[i,r]):(k(a),lt(this,e,t,De(i),[i,r])))},Qe.prototype.iterate=$e.prototype.iterate=function(e,t){for(var n=this.entries,i=0,r=n.length-1;i<=r;i++)if(!1===e(n[t?r-i:i]))return!1},Je.prototype.iterate=Ze.prototype.iterate=function(e,t){for(var n=this.nodes,i=0,r=n.length-1;i<=r;i++){var a=n[t?r-i:i];if(a&&!1===a.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,i=t.node,r=t.index++;if(i.entry){if(0===r)return tt(e,i.entry)}else if(i.entries){if(r<=(n=i.entries.length-1))return tt(e,i.entries[this._reverse?n-r:r])}else if(r<=(n=i.nodes.length-1)){var a=i.nodes[this._reverse?n-r:r];if(a){if(a.entry)return tt(e,a.entry);t=this._stack=nt(a,t)}continue}t=this._stack=this._stack.__prev}return G()};var wt=v/4,Ft=v/2,kt=v/4;function Et(e){var t=Mt();if(null==e)return t;if(xt(e))return e;var n=r(e),i=n.size;return 0===i?t:(Ue(i),i>0&&i<v?It(0,i,m,null,new Dt(n.toArray())):t.withMutations((function(e){e.setSize(i),n.forEach((function(t,n){return e.set(n,t)}))})))}function xt(e){return!(!e||!e[Ct])}t(Et,Ee),Et.of=function(){return this(arguments)},Et.prototype.toString=function(){return this.__toString("List [","]")},Et.prototype.get=function(e,t){if((e=S(this,e))>=0&&e<this.size){var n=Ot(this,e+=this._origin);return n&&n.array[e&_]}return t},Et.prototype.set=function(e,t){return jt(this,e,t)},Et.prototype.remove=function(e){return this.has(e)?0===e?this.shift():e===this.size-1?this.pop():this.splice(e,1):this},Et.prototype.insert=function(e,t){return this.splice(e,0,t)},Et.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=m,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):Mt()},Et.prototype.push=function(){var e=arguments,t=this.size;return this.withMutations((function(n){zt(n,0,t+e.length);for(var i=0;i<e.length;i++)n.set(t+i,e[i])}))},Et.prototype.pop=function(){return zt(this,0,-1)},Et.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])}))},Et.prototype.shift=function(){return zt(this,1)},Et.prototype.merge=function(){return Bt(this,void 0,arguments)},Et.prototype.mergeWith=function(t){return Bt(this,t,e.call(arguments,1))},Et.prototype.mergeDeep=function(){return Bt(this,pt,arguments)},Et.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return Bt(this,ht(t),n)},Et.prototype.setSize=function(e){return zt(this,0,e)},Et.prototype.slice=function(e,t){var n=this.size;return P(e,t,n)?this:zt(this,A(e,n),T(t,n))},Et.prototype.__iterator=function(e,t){var n=0,i=Lt(this,t);return new z((function(){var t=i();return t===Tt?G():B(e,n++,t)}))},Et.prototype.__iterate=function(e,t){for(var n,i=0,r=Lt(this,t);(n=r())!==Tt&&!1!==e(n,i++,this););return i},Et.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?It(this._origin,this._capacity,this._level,this._root,this._tail,e,this.__hash):(this.__ownerID=e,this)},Et.isList=xt;var Ct="@@__IMMUTABLE_LIST__@@",St=Et.prototype;function Dt(e,t){this.array=e,this.ownerID=t}St[Ct]=!0,St[g]=St.remove,St.setIn=Ke.setIn,St.deleteIn=St.removeIn=Ke.removeIn,St.update=Ke.update,St.updateIn=Ke.updateIn,St.mergeIn=Ke.mergeIn,St.mergeDeepIn=Ke.mergeDeepIn,St.withMutations=Ke.withMutations,St.asMutable=Ke.asMutable,St.asImmutable=Ke.asImmutable,St.wasAltered=Ke.wasAltered,Dt.prototype.removeBefore=function(e,t,n){if(n===t?1<<t:0===this.array.length)return this;var i=n>>>t&_;if(i>=this.array.length)return new Dt([],e);var r,a=0===i;if(t>0){var o=this.array[i];if((r=o&&o.removeBefore(e,t-m,n))===o&&a)return this}if(a&&!r)return this;var s=Rt(this,e);if(!a)for(var l=0;l<i;l++)s.array[l]=void 0;return r&&(s.array[i]=r),s},Dt.prototype.removeAfter=function(e,t,n){if(n===(t?1<<t:0)||0===this.array.length)return this;var i,r=n-1>>>t&_;if(r>=this.array.length)return this;if(t>0){var a=this.array[r];if((i=a&&a.removeAfter(e,t-m,n))===a&&r===this.array.length-1)return this}var o=Rt(this,e);return o.array.splice(r+1),i&&(o.array[r]=i),o};var Pt,At,Tt={};function Lt(e,t){var n=e._origin,i=e._capacity,r=Gt(i),a=e._tail;return o(e._root,e._level,0);function o(e,t,n){return 0===t?s(e,n):l(e,t,n)}function s(e,o){var s=o===r?a&&a.array:e&&e.array,l=o>n?0:n-o,u=i-o;return u>v&&(u=v),function(){if(l===u)return Tt;var e=t?--u:l++;return s&&s[e]}}function l(e,r,a){var s,l=e&&e.array,u=a>n?0:n-a>>r,c=1+(i-a>>r);return c>v&&(c=v),function(){for(;;){if(s){var e=s();if(e!==Tt)return e;s=null}if(u===c)return Tt;var n=t?--c:u++;s=o(l&&l[n],r-m,a+(n<<r))}}}}function It(e,t,n,i,r,a,o){var s=Object.create(St);return s.size=t-e,s._origin=e,s._capacity=t,s._level=n,s._root=i,s._tail=r,s.__ownerID=a,s.__hash=o,s.__altered=!1,s}function Mt(){return Pt||(Pt=It(0,0,m))}function jt(e,t,n){if((t=S(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 i=e._tail,r=e._root,a=F(w);return t>=Gt(e._capacity)?i=Nt(i,e.__ownerID,0,t,n,a):r=Nt(r,e.__ownerID,e._level,t,n,a),a.value?e.__ownerID?(e._root=r,e._tail=i,e.__hash=void 0,e.__altered=!0,e):It(e._origin,e._capacity,e._level,r,i):e}function Nt(e,t,n,i,r,a){var o,s=i>>>n&_,l=e&&s<e.array.length;if(!l&&void 0===r)return e;if(n>0){var u=e&&e.array[s],c=Nt(u,t,n-m,i,r,a);return c===u?e:((o=Rt(e,t)).array[s]=c,o)}return l&&e.array[s]===r?e:(k(a),o=Rt(e,t),void 0===r&&s===o.array.length-1?o.array.pop():o.array[s]=r,o)}function Rt(e,t){return t&&e&&t===e.ownerID?e:new Dt(e?e.array.slice():[],t)}function Ot(e,t){if(t>=Gt(e._capacity))return e._tail;if(t<1<<e._level+m){for(var n=e._root,i=e._level;n&&i>0;)n=n.array[t>>>i&_],i-=m;return n}}function zt(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var i=e.__ownerID||new E,r=e._origin,a=e._capacity,o=r+t,s=void 0===n?a:n<0?a+n:r+n;if(o===r&&s===a)return e;if(o>=s)return e.clear();for(var l=e._level,u=e._root,c=0;o+c<0;)u=new Dt(u&&u.array.length?[void 0,u]:[],i),c+=1<<(l+=m);c&&(o+=c,r+=c,s+=c,a+=c);for(var d=Gt(a),f=Gt(s);f>=1<<l+m;)u=new Dt(u&&u.array.length?[u]:[],i),l+=m;var p=e._tail,h=f<d?Ot(e,s-1):f>d?new Dt([],i):p;if(p&&f>d&&o<a&&p.array.length){for(var g=u=Rt(u,i),v=l;v>m;v-=m){var b=d>>>v&_;g=g.array[b]=Rt(g.array[b],i)}g.array[d>>>m&_]=p}if(s<a&&(h=h&&h.removeAfter(i,0,s)),o>=f)o-=f,s-=f,l=m,u=null,h=h&&h.removeBefore(i,0,o);else if(o>r||f<d){for(c=0;u;){var y=o>>>l&_;if(y!==f>>>l&_)break;y&&(c+=(1<<l)*y),l-=m,u=u.array[y]}u&&o>r&&(u=u.removeBefore(i,l,o-c)),u&&f<d&&(u=u.removeAfter(i,l,f-c)),c&&(o-=c,s-=c)}return e.__ownerID?(e.size=s-o,e._origin=o,e._capacity=s,e._level=l,e._root=u,e._tail=h,e.__hash=void 0,e.__altered=!0,e):It(o,s,l,u,h)}function Bt(e,t,n){for(var i=[],a=0,s=0;s<n.length;s++){var l=n[s],u=r(l);u.size>a&&(a=u.size),o(l)||(u=u.map((function(e){return pe(e)}))),i.push(u)}return a>e.size&&(e=e.setSize(a)),gt(e,t,i)}function Gt(e){return e<v?0:e-1>>>m<<m}function qt(e){return null==e?Wt():Ut(e)?e:Wt().withMutations((function(t){var n=i(e);Ue(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function Ut(e){return We(e)&&c(e)}function Ht(e,t,n,i){var r=Object.create(qt.prototype);return r.size=e?e.size:0,r._map=e,r._list=t,r.__ownerID=n,r.__hash=i,r}function Wt(){return At||(At=Ht(rt(),Mt()))}function Yt(e,t,n){var i,r,a=e._map,o=e._list,s=a.get(t),l=void 0!==s;if(n===b){if(!l)return e;o.size>=v&&o.size>=2*a.size?(i=(r=o.filter((function(e,t){return void 0!==e&&s!==t}))).toKeyedSeq().map((function(e){return e[0]})).flip().toMap(),e.__ownerID&&(i.__ownerID=r.__ownerID=e.__ownerID)):(i=a.remove(t),r=s===o.size-1?o.pop():o.set(s,void 0))}else if(l){if(n===o.get(s)[1])return e;i=a,r=o.set(s,[t,n])}else i=a.set(t,o.size),r=o.set(o.size,[t,n]);return e.__ownerID?(e.size=i.size,e._map=i,e._list=r,e.__hash=void 0,e):Ht(i,r)}function Vt(e,t){this._iter=e,this._useKeys=t,this.size=e.size}function Kt(e){this._iter=e,this.size=e.size}function Qt(e){this._iter=e,this.size=e.size}function Jt(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=yn,t.__iterateUncached=function(t,n){var i=this;return e.__iterate((function(e,n){return!1!==t(n,e,i)}),n)},t.__iteratorUncached=function(t,n){if(t===j){var i=e.__iterator(t,n);return new z((function(){var e=i.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?I:M,n)},t}function $t(e,t,n){var i=bn(e);return i.size=e.size,i.has=function(t){return e.has(t)},i.get=function(i,r){var a=e.get(i,b);return a===b?r:t.call(n,a,i,e)},i.__iterateUncached=function(i,r){var a=this;return e.__iterate((function(e,r,o){return!1!==i(t.call(n,e,r,o),r,a)}),r)},i.__iteratorUncached=function(i,r){var a=e.__iterator(j,r);return new z((function(){var r=a.next();if(r.done)return r;var o=r.value,s=o[0];return B(i,s,t.call(n,o[1],s,e),r)}))},i}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,i){return e.get(t?n:-1-n,i)},n.has=function(n){return e.has(t?n:-1-n)},n.includes=function(t){return e.includes(t)},n.cacheResult=yn,n.__iterate=function(t,n){var i=this;return e.__iterate((function(e,n){return t(e,n,i)}),!n)},n.__iterator=function(t,n){return e.__iterator(t,!n)},n}function en(e,t,n,i){var r=bn(e);return i&&(r.has=function(i){var r=e.get(i,b);return r!==b&&!!t.call(n,r,i,e)},r.get=function(i,r){var a=e.get(i,b);return a!==b&&t.call(n,a,i,e)?a:r}),r.__iterateUncached=function(r,a){var o=this,s=0;return e.__iterate((function(e,a,l){if(t.call(n,e,a,l))return s++,r(e,i?a:s-1,o)}),a),s},r.__iteratorUncached=function(r,a){var o=e.__iterator(j,a),s=0;return new z((function(){for(;;){var a=o.next();if(a.done)return a;var l=a.value,u=l[0],c=l[1];if(t.call(n,c,u,e))return B(r,i?u:s++,c,a)}}))},r}function tn(e,t,n){var i=He().asMutable();return e.__iterate((function(r,a){i.update(t.call(n,r,a,e),0,(function(e){return e+1}))})),i.asImmutable()}function nn(e,t,n){var i=s(e),r=(c(e)?qt():He()).asMutable();e.__iterate((function(a,o){r.update(t.call(n,a,o,e),(function(e){return(e=e||[]).push(i?[o,a]:a),e}))}));var a=_n(e);return r.map((function(t){return gn(e,a(t))}))}function rn(e,t,n,i){var r=e.size;if(void 0!==t&&(t|=0),void 0!==n&&(n|=0),P(t,n,r))return e;var a=A(t,r),o=T(n,r);if(a!=a||o!=o)return rn(e.toSeq().cacheResult(),t,n,i);var s,l=o-a;l==l&&(s=l<0?0:l);var u=bn(e);return u.size=0===s?s:e.size&&s||void 0,!i&&ae(e)&&s>=0&&(u.get=function(t,n){return(t=S(this,t))>=0&&t<s?e.get(t+a,n):n}),u.__iterateUncached=function(t,n){var r=this;if(0===s)return 0;if(n)return this.cacheResult().__iterate(t,n);var o=0,l=!0,u=0;return e.__iterate((function(e,n){if(!l||!(l=o++<a))return u++,!1!==t(e,i?n:u-1,r)&&u!==s})),u},u.__iteratorUncached=function(t,n){if(0!==s&&n)return this.cacheResult().__iterator(t,n);var r=0!==s&&e.__iterator(t,n),o=0,l=0;return new z((function(){for(;o++<a;)r.next();if(++l>s)return G();var e=r.next();return i||t===M?e:B(t,l-1,t===I?void 0:e.value[1],e)}))},u}function an(e,t,n){var i=bn(e);return i.__iterateUncached=function(i,r){var a=this;if(r)return this.cacheResult().__iterate(i,r);var o=0;return e.__iterate((function(e,r,s){return t.call(n,e,r,s)&&++o&&i(e,r,a)})),o},i.__iteratorUncached=function(i,r){var a=this;if(r)return this.cacheResult().__iterator(i,r);var o=e.__iterator(j,r),s=!0;return new z((function(){if(!s)return G();var e=o.next();if(e.done)return e;var r=e.value,l=r[0],u=r[1];return t.call(n,u,l,a)?i===j?e:B(i,l,u,e):(s=!1,G())}))},i}function on(e,t,n,i){var r=bn(e);return r.__iterateUncached=function(r,a){var o=this;if(a)return this.cacheResult().__iterate(r,a);var s=!0,l=0;return e.__iterate((function(e,a,u){if(!s||!(s=t.call(n,e,a,u)))return l++,r(e,i?a:l-1,o)})),l},r.__iteratorUncached=function(r,a){var o=this;if(a)return this.cacheResult().__iterator(r,a);var s=e.__iterator(j,a),l=!0,u=0;return new z((function(){var e,a,c;do{if((e=s.next()).done)return i||r===M?e:B(r,u++,r===I?void 0:e.value[1],e);var d=e.value;a=d[0],c=d[1],l&&(l=t.call(n,c,a,o))}while(l);return r===j?e:B(r,a,c,e)}))},r}function sn(e,t){var n=s(e),r=[e].concat(t).map((function(e){return o(e)?n&&(e=i(e)):e=n?se(e):le(Array.isArray(e)?e:[e]),e})).filter((function(e){return 0!==e.size}));if(0===r.length)return e;if(1===r.length){var a=r[0];if(a===e||n&&s(a)||l(e)&&l(a))return a}var u=new te(r);return n?u=u.toKeyedSeq():l(e)||(u=u.toSetSeq()),(u=u.flatten(!0)).size=r.reduce((function(e,t){if(void 0!==e){var n=t.size;if(void 0!==n)return e+n}}),0),u}function ln(e,t,n){var i=bn(e);return i.__iterateUncached=function(i,r){var a=0,s=!1;function l(e,u){var c=this;e.__iterate((function(e,r){return(!t||u<t)&&o(e)?l(e,u+1):!1===i(e,n?r:a++,c)&&(s=!0),!s}),r)}return l(e,0),a},i.__iteratorUncached=function(i,r){var a=e.__iterator(i,r),s=[],l=0;return new z((function(){for(;a;){var e=a.next();if(!1===e.done){var u=e.value;if(i===j&&(u=u[1]),t&&!(s.length<t)||!o(u))return n?e:B(i,l++,u,e);s.push(a),a=u.__iterator(i,r)}else a=s.pop()}return G()}))},i}function un(e,t,n){var i=_n(e);return e.toSeq().map((function(r,a){return i(t.call(n,r,a,e))})).flatten(!0)}function cn(e,t){var n=bn(e);return n.size=e.size&&2*e.size-1,n.__iterateUncached=function(n,i){var r=this,a=0;return e.__iterate((function(e,i){return(!a||!1!==n(t,a++,r))&&!1!==n(e,a++,r)}),i),a},n.__iteratorUncached=function(n,i){var r,a=e.__iterator(M,i),o=0;return new z((function(){return(!r||o%2)&&(r=a.next()).done?r:o%2?B(n,o++,t):B(n,o++,r.value,r)}))},n}function dn(e,t,n){t||(t=wn);var i=s(e),r=0,a=e.toSeq().map((function(t,i){return[i,t,r++,n?n(t,i,e):t]})).toArray();return a.sort((function(e,n){return t(e[3],n[3])||e[2]-n[2]})).forEach(i?function(e,t){a[t].length=2}:function(e,t){a[t]=e[1]}),i?K(a):l(e)?Q(a):J(a)}function fn(e,t,n){if(t||(t=wn),n){var i=e.toSeq().map((function(t,i){return[t,n(t,i,e)]})).reduce((function(e,n){return pn(t,e[1],n[1])?n:e}));return i&&i[0]}return e.reduce((function(e,n){return pn(t,e,n)?n:e}))}function pn(e,t,n){var i=e(n,t);return 0===i&&n!==t&&(null==n||n!=n)||i>0}function hn(e,t,i){var r=bn(e);return r.size=new te(i).map((function(e){return e.size})).min(),r.__iterate=function(e,t){for(var n,i=this.__iterator(M,t),r=0;!(n=i.next()).done&&!1!==e(n.value,r++,this););return r},r.__iteratorUncached=function(e,r){var a=i.map((function(e){return e=n(e),H(r?e.reverse():e)})),o=0,s=!1;return new z((function(){var n;return s||(n=a.map((function(e){return e.next()})),s=n.some((function(e){return e.done}))),s?G():B(e,o++,t.apply(null,n.map((function(e){return e.value}))))}))},r}function gn(e,t){return ae(e)?t:e.constructor(t)}function mn(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function vn(e){return Ue(e.size),C(e)}function _n(e){return s(e)?i:l(e)?r:a}function bn(e){return Object.create((s(e)?K:l(e)?Q:J).prototype)}function yn(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):V.prototype.cacheResult.call(this)}function wn(e,t){return e>t?1:e<t?-1:0}function Fn(e){var t=H(e);if(!t){if(!Y(e))throw new TypeError("Expected iterable or array-like: "+e);t=H(n(e))}return t}function kn(e,t){var n,i=function(a){if(a instanceof i)return a;if(!(this instanceof i))return new i(a);if(!n){n=!0;var o=Object.keys(e);Sn(r,o),r.size=o.length,r._name=t,r._keys=o,r._defaultValues=e}this._map=He(a)},r=i.prototype=Object.create(En);return r.constructor=i,i}t(qt,He),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):Wt()},qt.prototype.set=function(e,t){return Yt(this,e,t)},qt.prototype.remove=function(e){return Yt(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?Ht(t,n,e,this.__hash):(this.__ownerID=e,this._map=t,this._list=n,this)},qt.isOrderedMap=Ut,qt.prototype[h]=!0,qt.prototype[g]=qt.prototype.remove,t(Vt,K),Vt.prototype.get=function(e,t){return this._iter.get(e,t)},Vt.prototype.has=function(e){return this._iter.has(e)},Vt.prototype.valueSeq=function(){return this._iter.valueSeq()},Vt.prototype.reverse=function(){var e=this,t=Xt(this,!0);return this._useKeys||(t.valueSeq=function(){return e._iter.toSeq().reverse()}),t},Vt.prototype.map=function(e,t){var n=this,i=$t(this,e,t);return this._useKeys||(i.valueSeq=function(){return n._iter.toSeq().map(e,t)}),i},Vt.prototype.__iterate=function(e,t){var n,i=this;return this._iter.__iterate(this._useKeys?function(t,n){return e(t,n,i)}:(n=t?vn(this):0,function(r){return e(r,t?--n:n++,i)}),t)},Vt.prototype.__iterator=function(e,t){if(this._useKeys)return this._iter.__iterator(e,t);var n=this._iter.__iterator(M,t),i=t?vn(this):0;return new z((function(){var r=n.next();return r.done?r:B(e,t?--i:i++,r.value,r)}))},Vt.prototype[h]=!0,t(Kt,Q),Kt.prototype.includes=function(e){return this._iter.includes(e)},Kt.prototype.__iterate=function(e,t){var n=this,i=0;return this._iter.__iterate((function(t){return e(t,i++,n)}),t)},Kt.prototype.__iterator=function(e,t){var n=this._iter.__iterator(M,t),i=0;return new z((function(){var t=n.next();return t.done?t:B(e,i++,t.value,t)}))},t(Qt,J),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(Jt,K),Jt.prototype.entrySeq=function(){return this._iter.toSeq()},Jt.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t){if(t){mn(t);var i=o(t);return e(i?t.get(1):t[1],i?t.get(0):t[0],n)}}),t)},Jt.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 i=t.value;if(i){mn(i);var r=o(i);return B(e,r?i.get(0):i[0],r?i.get(1):i[1],t)}}}))},Kt.prototype.cacheResult=Vt.prototype.cacheResult=Qt.prototype.cacheResult=Jt.prototype.cacheResult=yn,t(kn,ke),kn.prototype.toString=function(){return this.__toString(Cn(this)+" {","}")},kn.prototype.has=function(e){return this._defaultValues.hasOwnProperty(e)},kn.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},kn.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var e=this.constructor;return e._empty||(e._empty=xn(this,rt()))},kn.prototype.set=function(e,t){if(!this.has(e))throw new Error('Cannot set unknown key "'+e+'" on '+Cn(this));var n=this._map&&this._map.set(e,t);return this.__ownerID||n===this._map?this:xn(this,n)},kn.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:xn(this,t)},kn.prototype.wasAltered=function(){return this._map.wasAltered()},kn.prototype.__iterator=function(e,t){var n=this;return i(this._defaultValues).map((function(e,t){return n.get(t)})).__iterator(e,t)},kn.prototype.__iterate=function(e,t){var n=this;return i(this._defaultValues).map((function(e,t){return n.get(t)})).__iterate(e,t)},kn.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map&&this._map.__ensureOwner(e);return e?xn(this,t,e):(this.__ownerID=e,this._map=t,this)};var En=kn.prototype;function xn(e,t,n){var i=Object.create(Object.getPrototypeOf(e));return i._map=t,i.__ownerID=n,i}function Cn(e){return e._name||e.constructor.name||"Record"}function Sn(e,t){try{t.forEach(Dn.bind(void 0,e))}catch(e){}}function Dn(e,t){Object.defineProperty(e,t,{get:function(){return this.get(t)},set:function(e){ye(this.__ownerID,"Cannot set on an immutable record."),this.set(t,e)}})}function Pn(e){return null==e?Nn():An(e)&&!c(e)?e:Nn().withMutations((function(t){var n=a(e);Ue(n.size),n.forEach((function(e){return t.add(e)}))}))}function An(e){return!(!e||!e[Ln])}En[g]=En.remove,En.deleteIn=En.removeIn=Ke.removeIn,En.merge=Ke.merge,En.mergeWith=Ke.mergeWith,En.mergeIn=Ke.mergeIn,En.mergeDeep=Ke.mergeDeep,En.mergeDeepWith=Ke.mergeDeepWith,En.mergeDeepIn=Ke.mergeDeepIn,En.setIn=Ke.setIn,En.update=Ke.update,En.updateIn=Ke.updateIn,En.withMutations=Ke.withMutations,En.asMutable=Ke.asMutable,En.asImmutable=Ke.asImmutable,t(Pn,xe),Pn.of=function(){return this(arguments)},Pn.fromKeys=function(e){return this(i(e).keySeq())},Pn.prototype.toString=function(){return this.__toString("Set {","}")},Pn.prototype.has=function(e){return this._map.has(e)},Pn.prototype.add=function(e){return Mn(this,this._map.set(e,!0))},Pn.prototype.remove=function(e){return Mn(this,this._map.remove(e))},Pn.prototype.clear=function(){return Mn(this,this._map.clear())},Pn.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++)a(t[n]).forEach((function(t){return e.add(t)}))})):this.constructor(t[0])},Pn.prototype.intersect=function(){var t=e.call(arguments,0);if(0===t.length)return this;t=t.map((function(e){return a(e)}));var n=this;return this.withMutations((function(e){n.forEach((function(n){t.every((function(e){return e.includes(n)}))||e.remove(n)}))}))},Pn.prototype.subtract=function(){var t=e.call(arguments,0);if(0===t.length)return this;t=t.map((function(e){return a(e)}));var n=this;return this.withMutations((function(e){n.forEach((function(n){t.some((function(e){return e.includes(n)}))&&e.remove(n)}))}))},Pn.prototype.merge=function(){return this.union.apply(this,arguments)},Pn.prototype.mergeWith=function(t){var n=e.call(arguments,1);return this.union.apply(this,n)},Pn.prototype.sort=function(e){return Rn(dn(this,e))},Pn.prototype.sortBy=function(e,t){return Rn(dn(this,t,e))},Pn.prototype.wasAltered=function(){return this._map.wasAltered()},Pn.prototype.__iterate=function(e,t){var n=this;return this._map.__iterate((function(t,i){return e(i,i,n)}),t)},Pn.prototype.__iterator=function(e,t){return this._map.map((function(e,t){return t})).__iterator(e,t)},Pn.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)},Pn.isSet=An;var Tn,Ln="@@__IMMUTABLE_SET__@@",In=Pn.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(In);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function Nn(){return Tn||(Tn=jn(rt()))}function Rn(e){return null==e?qn():On(e)?e:qn().withMutations((function(t){var n=a(e);Ue(n.size),n.forEach((function(e){return t.add(e)}))}))}function On(e){return An(e)&&c(e)}In[Ln]=!0,In[g]=In.remove,In.mergeDeep=In.merge,In.mergeDeepWith=In.mergeWith,In.withMutations=Ke.withMutations,In.asMutable=Ke.asMutable,In.asImmutable=Ke.asImmutable,In.__empty=Nn,In.__make=jn,t(Rn,Pn),Rn.of=function(){return this(arguments)},Rn.fromKeys=function(e){return this(i(e).keySeq())},Rn.prototype.toString=function(){return this.__toString("OrderedSet {","}")},Rn.isOrderedSet=On;var zn,Bn=Rn.prototype;function Gn(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=Gn(Wt()))}function Un(e){return null==e?Qn():Hn(e)?e:Qn().unshiftAll(e)}function Hn(e){return!(!e||!e[Yn])}Bn[h]=!0,Bn.__empty=qn,Bn.__make=Gn,t(Un,Ee),Un.of=function(){return this(arguments)},Un.prototype.toString=function(){return this.__toString("Stack [","]")},Un.prototype.get=function(e,t){var n=this._head;for(e=S(this,e);n&&e--;)n=n.next;return n?n.value:t},Un.prototype.peek=function(){return this._head&&this._head.value},Un.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):Kn(e,t)},Un.prototype.pushAll=function(e){if(0===(e=r(e)).size)return this;Ue(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):Kn(t,n)},Un.prototype.pop=function(){return this.slice(1)},Un.prototype.unshift=function(){return this.push.apply(this,arguments)},Un.prototype.unshiftAll=function(e){return this.pushAll(e)},Un.prototype.shift=function(){return this.pop.apply(this,arguments)},Un.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()},Un.prototype.slice=function(e,t){if(P(e,t,this.size))return this;var n=A(e,this.size);if(T(t,this.size)!==this.size)return Ee.prototype.slice.call(this,e,t);for(var i=this.size-n,r=this._head;n--;)r=r.next;return this.__ownerID?(this.size=i,this._head=r,this.__hash=void 0,this.__altered=!0,this):Kn(i,r)},Un.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Kn(this.size,this._head,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},Un.prototype.__iterate=function(e,t){if(t)return this.reverse().__iterate(e);for(var n=0,i=this._head;i&&!1!==e(i.value,n++,this);)i=i.next;return n},Un.prototype.__iterator=function(e,t){if(t)return this.reverse().__iterator(e);var n=0,i=this._head;return new z((function(){if(i){var t=i.value;return i=i.next,B(e,n++,t)}return G()}))},Un.isStack=Hn;var Wn,Yn="@@__IMMUTABLE_STACK__@@",Vn=Un.prototype;function Kn(e,t,n,i){var r=Object.create(Vn);return r.size=e,r._head=t,r.__ownerID=n,r.__hash=i,r.__altered=!1,r}function Qn(){return Wn||(Wn=Kn(0))}function Jn(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}Vn[Yn]=!0,Vn.withMutations=Ke.withMutations,Vn.asMutable=Ke.asMutable,Vn.asImmutable=Ke.asImmutable,Vn.wasAltered=Ke.wasAltered,n.Iterator=z,Jn(n,{toArray:function(){Ue(this.size);var e=new Array(this.size||0);return this.valueSeq().__iterate((function(t,n){e[n]=t})),e},toIndexedSeq:function(){return new Kt(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 Vt(this,!0)},toMap:function(){return He(this.toKeyedSeq())},toObject:function(){Ue(this.size);var e={};return this.__iterate((function(t,n){e[n]=t})),e},toOrderedMap:function(){return qt(this.toKeyedSeq())},toOrderedSet:function(){return Rn(s(this)?this.valueSeq():this)},toSet:function(){return Pn(s(this)?this.valueSeq():this)},toSetSeq:function(){return new Qt(this)},toSeq:function(){return l(this)?this.toIndexedSeq():s(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return Un(s(this)?this.valueSeq():this)},toList:function(){return Et(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 gn(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){Ue(this.size);var n=!0;return this.__iterate((function(i,r,a){if(!e.call(t,i,r,a))return n=!1,!1})),n},filter:function(e,t){return gn(this,en(this,e,t,!0))},find:function(e,t,n){var i=this.findEntry(e,t);return i?i[1]:n},findEntry:function(e,t){var n;return this.__iterate((function(i,r,a){if(e.call(t,i,r,a))return n=[r,i],!1})),n},findLastEntry:function(e,t){return this.toSeq().reverse().findEntry(e,t)},forEach:function(e,t){return Ue(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){Ue(this.size),e=void 0!==e?""+e:",";var t="",n=!0;return this.__iterate((function(i){n?n=!1:t+=e,t+=null!=i?i.toString():""})),t},keys:function(){return this.__iterator(I)},map:function(e,t){return gn(this,$t(this,e,t))},reduce:function(e,t,n){var i,r;return Ue(this.size),arguments.length<2?r=!0:i=t,this.__iterate((function(t,a,o){r?(r=!1,i=t):i=e.call(n,i,t,a,o)})),i},reduceRight:function(e,t,n){var i=this.toKeyedSeq().reverse();return i.reduce.apply(i,arguments)},reverse:function(){return gn(this,Xt(this,!0))},slice:function(e,t){return gn(this,rn(this,e,t,!0))},some:function(e,t){return!this.every(ti(e),t)},sort:function(e){return gn(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 C(e?this.toSeq().filter(e,t):this)},countBy:function(e,t){return tn(this,e,t)},equals:function(e){return _e(this,e)},entrySeq:function(){var e=this;if(e._cache)return new te(e._cache);var t=e.toSeq().map(ei).toIndexedSeq();return t.fromEntrySeq=function(){return e.toSeq()},t},filterNot:function(e,t){return this.filter(ti(e),t)},findLast:function(e,t,n){return this.toKeyedSeq().reverse().find(e,t,n)},first:function(){return this.find(D)},flatMap:function(e,t){return gn(this,un(this,e,t))},flatten:function(e){return gn(this,ln(this,e,!0))},fromEntrySeq:function(){return new Jt(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,i=this,r=Fn(e);!(n=r.next()).done;){var a=n.value;if((i=i&&i.get?i.get(a,b):b)===b)return t}return i},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?ni(e):ai)},minBy:function(e,t){return fn(this,t?ni(t):ai,e)},rest:function(){return this.slice(1)},skip:function(e){return this.slice(Math.max(0,e))},skipLast:function(e){return gn(this,this.toSeq().reverse().skip(e).reverse())},skipWhile:function(e,t){return gn(this,on(this,e,t,!0))},skipUntil:function(e,t){return this.skipWhile(ti(e),t)},sortBy:function(e,t){return gn(this,dn(this,t,e))},take:function(e){return this.slice(0,Math.max(0,e))},takeLast:function(e){return gn(this,this.toSeq().reverse().take(e).reverse())},takeWhile:function(e,t){return gn(this,an(this,e,t))},takeUntil:function(e,t){return this.takeWhile(ti(e),t)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=oi(this))}});var Zn=n.prototype;Zn[d]=!0,Zn[O]=Zn.values,Zn.__toJS=Zn.toArray,Zn.__toStringMapper=ii,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){}}(),Jn(i,{flip:function(){return gn(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,i=0;return gn(this,this.toSeq().map((function(r,a){return e.call(t,[a,r],i++,n)})).fromEntrySeq())},mapKeys:function(e,t){var n=this;return gn(this,this.toSeq().flip().map((function(i,r){return e.call(t,i,r,n)})).flip())}});var $n=i.prototype;function Xn(e,t){return t}function ei(e,t){return[t,e]}function ti(e){return function(){return!e.apply(this,arguments)}}function ni(e){return function(){return-e.apply(this,arguments)}}function ii(e){return"string"==typeof e?JSON.stringify(e):e}function ri(){return x(arguments)}function ai(e,t){return e<t?1:e>t?-1:0}function oi(e){if(e.size===1/0)return 0;var t=c(e),n=s(e),i=t?1:0;return si(e.__iterate(n?t?function(e,t){i=31*i+li(De(e),De(t))|0}:function(e,t){i=i+li(De(e),De(t))|0}:t?function(e){i=31*i+De(e)|0}:function(e){i=i+De(e)|0}),i)}function si(e,t){return t=Ce(t,3432918353),t=Ce(t<<15|t>>>-15,461845907),t=Ce(t<<13|t>>>-13,5),t=Ce((t=(t+3864292196|0)^e)^t>>>16,2246822507),t=Se((t=Ce(t^t>>>13,3266489909))^t>>>16)}function li(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}return $n[f]=!0,$n[O]=Zn.entries,$n.__toJS=Zn.toObject,$n.__toStringMapper=function(e,t){return JSON.stringify(t)+": "+ii(e)},Jn(r,{toKeyedSeq:function(){return new Vt(this,!1)},filter:function(e,t){return gn(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 gn(this,Xt(this,!1))},slice:function(e,t){return gn(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=A(e,e<0?this.count():this.size);var i=this.slice(0,e);return gn(this,1===n?i:i.concat(x(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 gn(this,ln(this,e,!1))},get:function(e,t){return(e=S(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=S(this,e))>=0&&(void 0!==this.size?this.size===1/0||e<this.size:-1!==this.indexOf(e))},interpose:function(e){return gn(this,cn(this,e))},interleave:function(){var e=[this].concat(x(arguments)),t=hn(this.toSeq(),Q.of,e),n=t.flatten(!0);return t.size&&(n.size=t.size*e.length),gn(this,n)},last:function(){return this.get(-1)},skipWhile:function(e,t){return gn(this,on(this,e,t,!1))},zip:function(){return gn(this,hn(this,ri,[this].concat(x(arguments))))},zipWith:function(e){var t=x(arguments);return t[0]=this,gn(this,hn(this,e,t))}}),r.prototype[p]=!0,r.prototype[h]=!0,Jn(a,{get:function(e,t){return this.has(e)?e:t},includes:function(e){return this.has(e)},keySeq:function(){return this.valueSeq()}}),a.prototype.has=Zn.includes,Jn(K,i.prototype),Jn(Q,r.prototype),Jn(J,a.prototype),Jn(ke,i.prototype),Jn(Ee,r.prototype),Jn(xe,a.prototype),{Iterable:n,Seq:V,Collection:Fe,Map:He,OrderedMap:qt,List:Et,Stack:Un,Set:Pn,OrderedSet:Rn,Record:kn,Range:we,Repeat:be,is:ve,fromJS:pe}}()}(s2e);var l2e=function(e){var t=document.implementation.createHTMLDocument("");return t.documentElement.innerHTML=e,t};function u2e(e){var t;"undefined"!=typeof DOMParser?null!==(t=(new DOMParser).parseFromString(e,"text/html"))&&null!==t.body||(t=l2e(e)):t=l2e(e);return t.body}var c2e=" ",d2e=new RegExp("\r","g"),f2e=new RegExp("\n","g"),p2e=new RegExp("&nbsp;","g"),h2e=new RegExp("\r","g"),g2e=["p","h1","h2","h3","h4","h5","h6","li","blockquote","pre"],m2e={b:"BOLD",code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",i:"ITALIC",s:"STRIKETHROUGH",strike:"STRIKETHROUGH",strong:"BOLD",u:"UNDERLINE"},v2e=function(e,t){return e&&!0===e.__isMiddleware?e(t):e},_2e=function(e,t,n){},b2e=function(e,t,n){return n},y2e=function(e,t){},w2e=function(e){return[]},F2e=function(e){if(null!=e)return e;throw new Error("Got unexpected null or undefined")};function k2e(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:s2e.exports.Map();return!0===n?{text:"\r",inlines:[s2e.exports.OrderedSet()],entities:new Array(1),blocks:[{type:e,data:i,depth:Math.max(0,Math.min(4,t))}],isNewline:!0}:{text:"\n",inlines:[s2e.exports.OrderedSet()],entities:new Array(1),blocks:[]}}function E2e(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:s2e.exports.Map();return{text:"\r",inlines:[s2e.exports.OrderedSet()],entities:new Array(1),blocks:[{type:e,data:n,depth:Math.max(0,Math.min(4,t))}]}}function x2e(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 C2e(e,t,n){return x2e(e,n)}function S2e(e,t,n){var i=m2e[e];if(i)n=n.add(i).toOrderedSet();else if(t instanceof HTMLElement){var r=t;n=n.withMutations((function(e){"bold"===r.style.fontWeight&&e.add("BOLD"),"italic"===r.style.fontStyle&&e.add("ITALIC"),"underline"===r.style.textDecoration&&e.add("UNDERLINE"),"line-through"===r.style.textDecoration&&e.add("STRIKETHROUGH")})).toOrderedSet()}return n}function D2e(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:s2e.exports.OrderedSet();return S2e(e,t,n)}function P2e(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=t.text.slice(0,1),r=e.text.slice(-1),a="\r"===r&&"\r"===i,o="\r"!==e.text&&"\r"!==t.text,s="\r"===e.text&&!e.isNewline&&t.isNewline;if(a&&(o||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===c2e||"\n"===t.text)return e;i!==c2e&&"\n"!==i||(t.text=t.text.slice(1),t.inlines.shift(),t.entities.shift())}var l=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:l}}function A2e(e,t,n,i,r,a,o,s,l,u,c,d,f,p,h,g){var m=e.nodeName.toLowerCase(),v=!1,_="unstyled";if("#text"===m){var b=e.textContent;if(""===b.trim()&&null===i)return{text:"",inlines:[],entities:[],blocks:[]};if(""===b.trim()&&"code-block"!==i)return function(e){var t=new Array(1);return e&&(t[0]=e),{text:c2e,inlines:[s2e.exports.OrderedSet()],entities:t,blocks:[]}}(g);"code-block"!==i&&(b=b.replace(f2e,c2e));var y=Array(b.length).fill(g),w=0;return l(b,c,d,f,p).sort(a2e).forEach((function(e){var t=e.entity,n=e.offset,i=e.length,r=e.result,a=n+w;null==r&&(r=b.substr(a,i));var o=b.split("");o.splice.bind(o,a,i).apply(o,r.split("")),b=o.join(""),y.splice.bind(y,a,i).apply(y,Array(r.length).fill(t)),w+=r.length-i})),{text:b,inlines:Array(b.length).fill(t),entities:y,blocks:[]}}if("br"===m){var F=i;return null===F?k2e("unstyled",a,!0):k2e(F||"unstyled",a,h.flat)}var k={text:"",inlines:[],entities:[],blocks:[]};t=o(m,e,t=S2e(m,e,t)),"ul"!==m&&"ol"!==m||(n&&(a+=1),n=m,i=null);var E,x,C=u(m,e,n,i);if(!1===C)return{text:"",inlines:[],entities:[],blocks:[]};if("string"==typeof(C=C||{})?(E=C,x=s2e.exports.Map()):(E="string"==typeof C?C:C.type,x=C.data?s2e.exports.Map(C.data):s2e.exports.Map()),i||-1===r.indexOf(m)&&!E)if(!n||"ordered-list-item"!==i&&"unordered-list-item"!==i||"li"!==m)i&&"atomic"!==i&&"atomic"===E&&(i=E,v=!0,k=k2e(E,a,!0,x));else{var S=x2e(m,n);k=E2e(S,a),i=S,v=!0,_="ul"===n?"unordered-list-item":"ordered-list-item"}else k=E2e(E||x2e(m,n),a,x),i=E||x2e(m,n),v=!0;var D=e.firstChild;null!=D||!g||"atomic"!==E&&"atomic"!==i||(D=document.createTextNode("a")),null!=D&&(m=D.nodeName.toLowerCase());for(var P=null;D;){P=s(m,D,c,d,f,p),k=P2e(k,A2e(D,t,n,i,r,a,o,s,l,u,c,d,f,p,h,P||g),h.flat);var A=D.nextSibling;if(A&&r.indexOf(m)>=0&&i){var T=u(m,D,n,i),L=void 0,I=void 0;!1!==T&&("string"==typeof(T=T||{})?(L=T,I=s2e.exports.Map()):(L=T.type||x2e(m,n),I=T.data?s2e.exports.Map(T.data):s2e.exports.Map()),k=P2e(k,k2e(L,a,h.flat,I),h.flat))}A&&(m=A.nodeName.toLowerCase()),D=A}return v&&(k=P2e(k,E2e(_,a,s2e.exports.Map()),h.flat)),k}function T2e(e,t,n,i,r,a,o,s,l,u,c){var d=c(e=e.trim().replace(d2e,"").replace(p2e,c2e));if(!d)return null;var f=function(e){return g2e.some((function(t){return-1!==e.indexOf("<".concat(t))}))}(e)?g2e.concat(["div"]):["div"],p=A2e(d,s2e.exports.OrderedSet(),"ul",null,f,-1,t,n,i,r,a,o,s,l,u);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:s2e.exports.Map(),depth:0}),p.text.split("\r").length===p.blocks.length+1&&p.blocks.unshift({type:"unstyled",data:s2e.exports.Map(),depth:0}),p}function L2e(e,t,n,i,r,a,o,s,l,u,c,d){var f=T2e(e,t,n,i,r,a,o,s,l,u,c);if(null==f)return[];var p=0;return f.text.split("\r").map((function(e,t){e=e.replace(h2e,"");var n=p+e.length,i=F2e(f).inlines.slice(p,n),r=F2e(f).entities.slice(p,n),a=s2e.exports.List(i.map((function(e,t){var n={style:e,entity:null};return r[t]&&(n.entity=r[t]),r2e.CharacterMetadata.create(n)})));return p=n+1,new r2e.ContentBlock({key:d(),type:F2e(f).blocks[t].type,data:F2e(f).blocks[t].data,depth:F2e(f).blocks[t].depth,text:e,characterList:a})}))}var I2e=function(e){var t=e.htmlToStyle,n=void 0===t?b2e:t,i=e.htmlToEntity,r=void 0===i?y2e:i,a=e.textToEntity,o=void 0===a?w2e:a,s=e.htmlToBlock,l=void 0===s?_2e:s;return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{flat:!1},i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:u2e,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:r2e.genKey,s=r2e.ContentState.createFromText(""),u=function(){var e;return s.createEntity?(s=(e=s).createEntity.apply(e,arguments)).getLastCreatedEntityKey():r2e.Entity.create.apply(r2e.Entity,arguments)},c=function(){var e;return s.getEntity?(e=s).getEntity.apply(e,arguments):r2e.Entity.get.apply(r2e.Entity,arguments)},d=function(){var e;s.mergeEntityData?s=(e=s).mergeEntityData.apply(e,arguments):r2e.Entity.mergeData.apply(r2e.Entity,arguments)},f=function(){var e;s.replaceEntityData?s=(e=s).replaceEntityData.apply(e,arguments):r2e.Entity.replaceData.apply(r2e.Entity,arguments)},p=L2e(e,v2e(n,D2e),v2e(r,y2e),v2e(o,w2e),v2e(l,C2e),u,c,d,f,t,i,a),h=r2e.BlockMapBuilder.createFromArray(p),g=p[0].getKey();return s.merge({blockMap:h,selectionBefore:r2e.SelectionState.createEmpty(g),selectionAfter:r2e.SelectionState.createEmpty(g)})}};BY('/**\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 M2e=32,j2e=31,N2e={};function R2e(e){e&&(e.value=!0)}function O2e(){}function z2e(e){return void 0===e.size&&(e.size=e.__iterate(G2e)),e.size}function B2e(e,t){if("number"!=typeof t){var n=t>>>0;if(""+n!==t||4294967295===n)return NaN;t=n}return t<0?z2e(e)+t:t}function G2e(){return!0}function q2e(e,t,n){return(0===e&&!Y2e(e)||void 0!==n&&e<=-n)&&(void 0===t||void 0!==n&&t>=n)}function U2e(e,t){return W2e(e,t,0)}function H2e(e,t){return W2e(e,t,t)}function W2e(e,t,n){return void 0===e?n:Y2e(e)?t===1/0?t:0|Math.max(0,t+e):void 0===t||t===e?e:0|Math.min(t,e)}function Y2e(e){return e<0||0===e&&1/e==-1/0}var V2e="@@__IMMUTABLE_ITERABLE__@@";function K2e(e){return Boolean(e&&e[V2e])}var Q2e="@@__IMMUTABLE_KEYED__@@";function J2e(e){return Boolean(e&&e[Q2e])}var Z2e="@@__IMMUTABLE_INDEXED__@@";function $2e(e){return Boolean(e&&e[Z2e])}function X2e(e){return J2e(e)||$2e(e)}var e3e=function(e){return K2e(e)?e:F3e(e)},t3e=function(e){function t(e){return J2e(e)?e:k3e(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(e3e),n3e=function(e){function t(e){return $2e(e)?e:E3e(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(e3e),i3e=function(e){function t(e){return K2e(e)&&!X2e(e)?e:x3e(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(e3e);e3e.Keyed=t3e,e3e.Indexed=n3e,e3e.Set=i3e;var r3e="@@__IMMUTABLE_SEQ__@@";function a3e(e){return Boolean(e&&e[r3e])}function o3e(e){return Boolean(e&&e["@@__IMMUTABLE_RECORD__@@"])}function s3e(e){return K2e(e)||o3e(e)}var l3e="@@__IMMUTABLE_ORDERED__@@";function u3e(e){return Boolean(e&&e[l3e])}var c3e="function"==typeof Symbol&&Symbol.iterator,d3e="@@iterator",f3e=c3e||d3e,p3e=function(e){this.next=e};function h3e(e,t,n,i){var r=0===e?t:1===e?n:[t,n];return i?i.value=r:i={value:r,done:!1},i}function g3e(){return{value:void 0,done:!0}}function m3e(e){return!!b3e(e)}function v3e(e){return e&&"function"==typeof e.next}function _3e(e){var t=b3e(e);return t&&t.call(e)}function b3e(e){var t=e&&(c3e&&e[c3e]||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 y3e=Object.prototype.hasOwnProperty;function w3e(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 F3e=function(e){function t(e){return null==e?A3e():s3e(e)?e.toSeq():function(e){var t=I3e(e);if(t)return t;if("object"==typeof e)return new S3e(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 i=n.length,r=0;r!==i;){var a=n[t?i-++r:r++];if(!1===e(a[1],a[0],this))break}return r}return this.__iterateUncached(e,t)},t.prototype.__iterator=function(e,t){var n=this._cache;if(n){var i=n.length,r=0;return new p3e((function(){if(r===i)return{value:void 0,done:!0};var a=n[t?i-++r:r++];return h3e(e,a[0],a[1])}))}return this.__iteratorUncached(e,t)},t}(e3e),k3e=function(e){function t(e){return null==e?A3e().toKeyedSeq():K2e(e)?J2e(e)?e.toSeq():e.fromEntrySeq():o3e(e)?e.toSeq():T3e(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.toKeyedSeq=function(){return this},t}(F3e),E3e=function(e){function t(e){return null==e?A3e():K2e(e)?J2e(e)?e.entrySeq():e.toIndexedSeq():o3e(e)?e.toSeq().entrySeq():L3e(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}(F3e),x3e=function(e){function t(e){return(K2e(e)&&!X2e(e)?e:E3e(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}(F3e);F3e.isSeq=a3e,F3e.Keyed=k3e,F3e.Set=x3e,F3e.Indexed=E3e,F3e.prototype[r3e]=!0;var C3e=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[B2e(this,e)]:t},t.prototype.__iterate=function(e,t){for(var n=this._array,i=n.length,r=0;r!==i;){var a=t?i-++r:r++;if(!1===e(n[a],a,this))break}return r},t.prototype.__iterator=function(e,t){var n=this._array,i=n.length,r=0;return new p3e((function(){if(r===i)return{value:void 0,done:!0};var a=t?i-++r:r++;return h3e(e,a,n[a])}))},t}(E3e),S3e=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 y3e.call(this._object,e)},t.prototype.__iterate=function(e,t){for(var n=this._object,i=this._keys,r=i.length,a=0;a!==r;){var o=i[t?r-++a:a++];if(!1===e(n[o],o,this))break}return a},t.prototype.__iterator=function(e,t){var n=this._object,i=this._keys,r=i.length,a=0;return new p3e((function(){if(a===r)return{value:void 0,done:!0};var o=i[t?r-++a:a++];return h3e(e,o,n[o])}))},t}(k3e);S3e.prototype[l3e]=!0;var D3e,P3e=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=_3e(this._collection),i=0;if(v3e(n))for(var r;!(r=n.next()).done&&!1!==e(r.value,i++,this););return i},t.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=_3e(this._collection);if(!v3e(n))return new p3e(g3e);var i=0;return new p3e((function(){var t=n.next();return t.done?t:h3e(e,i++,t.value)}))},t}(E3e);function A3e(){return D3e||(D3e=new C3e([]))}function T3e(e){var t=Array.isArray(e)?new C3e(e):m3e(e)?new P3e(e):void 0;if(t)return t.fromEntrySeq();if("object"==typeof e)return new S3e(e);throw new TypeError("Expected Array or collection object of [k, v] entries, or keyed object: "+e)}function L3e(e){var t=I3e(e);if(t)return t;throw new TypeError("Expected Array or collection object of values: "+e)}function I3e(e){return w3e(e)?new C3e(e):m3e(e)?new P3e(e):void 0}var M3e="@@__IMMUTABLE_MAP__@@";function j3e(e){return Boolean(e&&e[M3e])}function N3e(e){return j3e(e)&&u3e(e)}function R3e(e){return Boolean(e&&"function"==typeof e.equals&&"function"==typeof e.hashCode)}function O3e(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 z3e="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(e,t){var n=65535&(e|=0),i=65535&(t|=0);return n*i+((e>>>16)*i+n*(t>>>16)<<16>>>0)|0};function B3e(e){return e>>>1&1073741824|3221225471&e}var G3e=Object.prototype.valueOf;function q3e(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 B3e(t)}(e);case"string":return e.length>J3e?function(e){var t=X3e[e];void 0===t&&(t=U3e(e),$3e===Z3e&&($3e=0,X3e={}),$3e++,X3e[e]=t);return t}(e):U3e(e);case"object":case"function":return null===e?1108378658:"function"==typeof e.hashCode?B3e(e.hashCode(e)):(e.valueOf!==G3e&&"function"==typeof e.valueOf&&(e=e.valueOf(e)),function(e){var t;if(V3e&&void 0!==(t=Y3e.get(e)))return t;if(void 0!==(t=e[Q3e]))return t;if(!W3e){if(void 0!==(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[Q3e]))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=++K3e,1073741824&K3e&&(K3e=0);if(V3e)Y3e.set(e,t);else{if(void 0!==H3e&&!1===H3e(e))throw new Error("Non-extensible objects are not allowed as keys.");if(W3e)Object.defineProperty(e,Q3e,{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[Q3e]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[Q3e]=t}}return t}(e));case"undefined":return 1108378659;default:if("function"==typeof e.toString)return U3e(e.toString());throw new Error("Value type "+typeof e+" cannot be hashed.")}}function U3e(e){for(var t=0,n=0;n<e.length;n++)t=31*t+e.charCodeAt(n)|0;return B3e(t)}var H3e=Object.isExtensible,W3e=function(){try{return Object.defineProperty({},"@",{}),!0}catch(e){return!1}}();var Y3e,V3e="function"==typeof WeakMap;V3e&&(Y3e=new WeakMap);var K3e=0,Q3e="__immutablehash__";"function"==typeof Symbol&&(Q3e=Symbol(Q3e));var J3e=16,Z3e=255,$3e=0,X3e={},e4e=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,i=a4e(this,e,t);return this._useKeys||(i.valueSeq=function(){return n._iter.toSeq().map(e,t)}),i},t.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t,i){return e(t,i,n)}),t)},t.prototype.__iterator=function(e,t){return this._iter.__iterator(e,t)},t}(k3e);e4e.prototype[l3e]=!0;var 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.includes=function(e){return this._iter.includes(e)},t.prototype.__iterate=function(e,t){var n=this,i=0;return t&&z2e(this),this._iter.__iterate((function(r){return e(r,t?n.size-++i:i++,n)}),t)},t.prototype.__iterator=function(e,t){var n=this,i=this._iter.__iterator(1,t),r=0;return t&&z2e(this),new p3e((function(){var a=i.next();return a.done?a:h3e(e,t?n.size-++r:r++,a.value,a)}))},t}(E3e),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.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}(x3e),i4e=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){v4e(t);var i=K2e(t);return e(i?t.get(1):t[1],i?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 i=t.value;if(i){v4e(i);var r=K2e(i);return h3e(e,r?i.get(0):i[0],r?i.get(1):i[1],t)}}}))},t}(k3e);function r4e(e){var t=b4e(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=y4e,t.__iterateUncached=function(t,n){var i=this;return e.__iterate((function(e,n){return!1!==t(n,e,i)}),n)},t.__iteratorUncached=function(t,n){if(2===t){var i=e.__iterator(t,n);return new p3e((function(){var e=i.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 a4e(e,t,n){var i=b4e(e);return i.size=e.size,i.has=function(t){return e.has(t)},i.get=function(i,r){var a=e.get(i,N2e);return a===N2e?r:t.call(n,a,i,e)},i.__iterateUncached=function(i,r){var a=this;return e.__iterate((function(e,r,o){return!1!==i(t.call(n,e,r,o),r,a)}),r)},i.__iteratorUncached=function(i,r){var a=e.__iterator(2,r);return new p3e((function(){var r=a.next();if(r.done)return r;var o=r.value,s=o[0];return h3e(i,s,t.call(n,o[1],s,e),r)}))},i}function o4e(e,t){var n=this,i=b4e(e);return i._iter=e,i.size=e.size,i.reverse=function(){return e},e.flip&&(i.flip=function(){var t=r4e(e);return t.reverse=function(){return e.flip()},t}),i.get=function(n,i){return e.get(t?n:-1-n,i)},i.has=function(n){return e.has(t?n:-1-n)},i.includes=function(t){return e.includes(t)},i.cacheResult=y4e,i.__iterate=function(n,i){var r=this,a=0;return i&&z2e(e),e.__iterate((function(e,o){return n(e,t?o:i?r.size-++a:a++,r)}),!i)},i.__iterator=function(i,r){var a=0;r&&z2e(e);var o=e.__iterator(2,!r);return new p3e((function(){var e=o.next();if(e.done)return e;var s=e.value;return h3e(i,t?s[0]:r?n.size-++a:a++,s[1],e)}))},i}function s4e(e,t,n,i){var r=b4e(e);return i&&(r.has=function(i){var r=e.get(i,N2e);return r!==N2e&&!!t.call(n,r,i,e)},r.get=function(i,r){var a=e.get(i,N2e);return a!==N2e&&t.call(n,a,i,e)?a:r}),r.__iterateUncached=function(r,a){var o=this,s=0;return e.__iterate((function(e,a,l){if(t.call(n,e,a,l))return s++,r(e,i?a:s-1,o)}),a),s},r.__iteratorUncached=function(r,a){var o=e.__iterator(2,a),s=0;return new p3e((function(){for(;;){var a=o.next();if(a.done)return a;var l=a.value,u=l[0],c=l[1];if(t.call(n,c,u,e))return h3e(r,i?u:s++,c,a)}}))},r}function l4e(e,t,n,i){var r=e.size;if(q2e(t,n,r))return e;var a=U2e(t,r),o=H2e(n,r);if(a!=a||o!=o)return l4e(e.toSeq().cacheResult(),t,n,i);var s,l=o-a;l==l&&(s=l<0?0:l);var u=b4e(e);return u.size=0===s?s:e.size&&s||void 0,!i&&a3e(e)&&s>=0&&(u.get=function(t,n){return(t=B2e(this,t))>=0&&t<s?e.get(t+a,n):n}),u.__iterateUncached=function(t,n){var r=this;if(0===s)return 0;if(n)return this.cacheResult().__iterate(t,n);var o=0,l=!0,u=0;return e.__iterate((function(e,n){if(!l||!(l=o++<a))return u++,!1!==t(e,i?n:u-1,r)&&u!==s})),u},u.__iteratorUncached=function(t,n){if(0!==s&&n)return this.cacheResult().__iterator(t,n);if(0===s)return new p3e(g3e);var r=e.__iterator(t,n),o=0,l=0;return new p3e((function(){for(;o++<a;)r.next();if(++l>s)return{value:void 0,done:!0};var e=r.next();return i||1===t||e.done?e:h3e(t,l-1,0===t?void 0:e.value[1],e)}))},u}function u4e(e,t,n,i){var r=b4e(e);return r.__iterateUncached=function(r,a){var o=this;if(a)return this.cacheResult().__iterate(r,a);var s=!0,l=0;return e.__iterate((function(e,a,u){if(!s||!(s=t.call(n,e,a,u)))return l++,r(e,i?a:l-1,o)})),l},r.__iteratorUncached=function(r,a){var o=this;if(a)return this.cacheResult().__iterator(r,a);var s=e.__iterator(2,a),l=!0,u=0;return new p3e((function(){var e,a,c;do{if((e=s.next()).done)return i||1===r?e:h3e(r,u++,0===r?void 0:e.value[1],e);var d=e.value;a=d[0],c=d[1],l&&(l=t.call(n,c,a,o))}while(l);return 2===r?e:h3e(r,a,c,e)}))},r}function c4e(e,t){var n=J2e(e),i=[e].concat(t).map((function(e){return K2e(e)?n&&(e=t3e(e)):e=n?T3e(e):L3e(Array.isArray(e)?e:[e]),e})).filter((function(e){return 0!==e.size}));if(0===i.length)return e;if(1===i.length){var r=i[0];if(r===e||n&&J2e(r)||$2e(e)&&$2e(r))return r}var a=new C3e(i);return n?a=a.toKeyedSeq():$2e(e)||(a=a.toSetSeq()),(a=a.flatten(!0)).size=i.reduce((function(e,t){if(void 0!==e){var n=t.size;if(void 0!==n)return e+n}}),0),a}function d4e(e,t,n){var i=b4e(e);return i.__iterateUncached=function(r,a){if(a)return this.cacheResult().__iterate(r,a);var o=0,s=!1;return function e(l,u){l.__iterate((function(a,l){return(!t||u<t)&&K2e(a)?e(a,u+1):(o++,!1===r(a,n?l:o-1,i)&&(s=!0)),!s}),a)}(e,0),o},i.__iteratorUncached=function(i,r){if(r)return this.cacheResult().__iterator(i,r);var a=e.__iterator(i,r),o=[],s=0;return new p3e((function(){for(;a;){var e=a.next();if(!1===e.done){var l=e.value;if(2===i&&(l=l[1]),t&&!(o.length<t)||!K2e(l))return n?e:h3e(i,s++,l,e);o.push(a),a=l.__iterator(i,r)}else a=o.pop()}return{value:void 0,done:!0}}))},i}function f4e(e,t,n){t||(t=w4e);var i=J2e(e),r=0,a=e.toSeq().map((function(t,i){return[i,t,r++,n?n(t,i,e):t]})).valueSeq().toArray();return a.sort((function(e,n){return t(e[3],n[3])||e[2]-n[2]})).forEach(i?function(e,t){a[t].length=2}:function(e,t){a[t]=e[1]}),i?k3e(a):$2e(e)?E3e(a):x3e(a)}function p4e(e,t,n){if(t||(t=w4e),n){var i=e.toSeq().map((function(t,i){return[t,n(t,i,e)]})).reduce((function(e,n){return h4e(t,e[1],n[1])?n:e}));return i&&i[0]}return e.reduce((function(e,n){return h4e(t,e,n)?n:e}))}function h4e(e,t,n){var i=e(n,t);return 0===i&&n!==t&&(null==n||n!=n)||i>0}function g4e(e,t,n,i){var r=b4e(e),a=new C3e(n).map((function(e){return e.size}));return r.size=i?a.max():a.min(),r.__iterate=function(e,t){for(var n,i=this.__iterator(1,t),r=0;!(n=i.next()).done&&!1!==e(n.value,r++,this););return r},r.__iteratorUncached=function(e,r){var a=n.map((function(e){return e=e3e(e),_3e(r?e.reverse():e)})),o=0,s=!1;return new p3e((function(){var n;return s||(n=a.map((function(e){return e.next()})),s=i?n.every((function(e){return e.done})):n.some((function(e){return e.done}))),s?{value:void 0,done:!0}:h3e(e,o++,t.apply(null,n.map((function(e){return e.value}))))}))},r}function m4e(e,t){return e===t?e:a3e(e)?t:e.constructor(t)}function v4e(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function _4e(e){return J2e(e)?t3e:$2e(e)?n3e:i3e}function b4e(e){return Object.create((J2e(e)?k3e:$2e(e)?E3e:x3e).prototype)}function y4e(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):F3e.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 F4e(e,t){t=t||0;for(var n=Math.max(0,e.length-t),i=new Array(n),r=0;r<n;r++)i[r]=e[r+t];return i}function k4e(e,t){if(!e)throw new Error(t)}function E4e(e){k4e(e!==1/0,"Cannot perform this action with an infinite size.")}function x4e(e){if(w3e(e)&&"string"!=typeof e)return e;if(u3e(e))return e.toArray();throw new TypeError("Invalid keyPath: expected Ordered Collection or Array: "+e)}function C4e(e){return"object"==typeof e&&(s3e(e)||Array.isArray(e)||function(e){return e&&("function"!=typeof e.constructor||"Object"===e.constructor.name)}(e))}function S4e(e){try{return"string"==typeof e?JSON.stringify(e):String(e)}catch(t){return JSON.stringify(e)}}function D4e(e,t,n){return s3e(e)?e.get(t,n):function(e,t){return s3e(e)?e.has(t):C4e(e)&&y3e.call(e,t)}(e,t)?"function"==typeof e.get?e.get(t):e[t]:n}function P4e(e){if(Array.isArray(e))return F4e(e);var t={};for(var n in e)y3e.call(e,n)&&(t[n]=e[n]);return t}function A4e(e,t,n,i){i||(i=n,n=void 0);var r=T4e(s3e(e),e,x4e(t),0,n,i);return r===N2e?n:r}function T4e(e,t,n,i,r,a){var o=t===N2e;if(i===n.length){var s=o?r:t,l=a(s);return l===s?t:l}if(!o&&!C4e(t))throw new TypeError("Cannot update within non-data-structure value in path ["+n.slice(0,i).map(S4e)+"]: "+t);var u=n[i],c=o?N2e:D4e(t,u,N2e),d=T4e(c===N2e?e:s3e(c),c,n,i+1,r,a);return d===c?t:d===N2e?function(e,t){if(!C4e(e))throw new TypeError("Cannot update non-data-structure value: "+e);if(s3e(e)){if(!e.remove)throw new TypeError("Cannot update immutable value without .remove() method: "+e);return e.remove(t)}if(!y3e.call(e,t))return e;var n=P4e(e);return Array.isArray(n)?n.splice(t,1):delete n[t],n}(t,u):function(e,t,n){if(!C4e(e))throw new TypeError("Cannot update non-data-structure value: "+e);if(s3e(e)){if(!e.set)throw new TypeError("Cannot update immutable value without .set() method: "+e);return e.set(t,n)}if(y3e.call(e,t)&&n===e[t])return e;var i=P4e(e);return i[t]=n,i}(o?e?r6e():{}:t,u,d)}function L4e(e,t){return function(e,t,n){return A4e(e,t,N2e,(function(){return n}))}(this,e,t)}function I4e(e){return function(e,t){return A4e(e,t,(function(){return N2e}))}(this,e)}function M4e(e,t,n,i){return A4e(e,[t],n,i)}function j4e(e,t,n){return 1===arguments.length?e(this):M4e(this,e,t,n)}function N4e(e,t,n){return A4e(this,e,t,n)}function R4e(e,t,n){for(var i=[],r=0;r<t.length;r++){var a=t3e(t[r]);0!==a.size&&i.push(a)}return 0===i.length?e:0!==e.toSeq().size||e.__ownerID||1!==i.length?e.withMutations((function(e){for(var t=n?function(t,i){M4e(e,i,N2e,(function(e){return e===N2e?t:n(e,t,i)}))}:function(t,n){e.set(n,t)},r=0;r<i.length;r++)i[r].forEach(t)})):e.constructor(i[0])}function O4e(e,t,n){return z4e(e,t,function(e){function t(n,i,r){return C4e(n)&&C4e(i)?z4e(n,[i],t):e?e(n,i,r):i}return t}(n))}function z4e(e,t,n){if(!C4e(e))throw new TypeError("Cannot merge into non-data-structure value: "+e);if(s3e(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 i=Array.isArray(e),r=e,a=i?n3e:t3e,o=i?function(t){r===e&&(r=P4e(r)),r.push(t)}:function(t,i){var a=y3e.call(r,i),o=a&&n?n(r[i],t,i):t;a&&o===r[i]||(r===e&&(r=P4e(r)),r[i]=o)},s=0;s<t.length;s++)a(t[s]).forEach(o);return r}function B4e(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return A4e(this,e,r6e(),(function(e){return z4e(e,t)}))}function G4e(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return A4e(this,e,r6e(),(function(e){return O4e(e,t)}))}function q4e(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this}function U4e(){return this.__ownerID?this:this.__ensureOwner(new O2e)}function H4e(){return this.__ensureOwner()}function W4e(){return this.__altered}t4e.prototype.cacheResult=e4e.prototype.cacheResult=n4e.prototype.cacheResult=i4e.prototype.cacheResult=y4e;var Y4e=function(e){function t(t){return null==t?r6e():j3e(t)&&!u3e(t)?t:r6e().withMutations((function(n){var i=e(t);E4e(i.size),i.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 r6e().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 a6e(this,e,t)},t.prototype.remove=function(e){return a6e(this,e,N2e)},t.prototype.deleteAll=function(e){var t=e3e(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):r6e()},t.prototype.sort=function(e){return A6e(f4e(this,e))},t.prototype.sortBy=function(e,t){return A6e(f4e(this,t,e))},t.prototype.map=function(e,t){return this.withMutations((function(n){n.forEach((function(i,r){n.set(r,e.call(t,i,r,n))}))}))},t.prototype.__iterator=function(e,t){return new e6e(this,e,t)},t.prototype.__iterate=function(e,t){var n=this,i=0;return this._root&&this._root.iterate((function(t){return i++,e(t[1],t[0],n)}),t),i},t.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?i6e(this.size,this._root,e,this.__hash):0===this.size?r6e():(this.__ownerID=e,this.__altered=!1,this)},t}(t3e);Y4e.isMap=j3e;var V4e=Y4e.prototype;V4e[M3e]=!0,V4e.delete=V4e.remove,V4e.removeAll=V4e.deleteAll,V4e.setIn=L4e,V4e.removeIn=V4e.deleteIn=I4e,V4e.update=j4e,V4e.updateIn=N4e,V4e.merge=V4e.concat=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return R4e(this,e)},V4e.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)},V4e.mergeDeep=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return O4e(this,e)},V4e.mergeDeepWith=function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return O4e(this,t,e)},V4e.mergeIn=B4e,V4e.mergeDeepIn=G4e,V4e.withMutations=q4e,V4e.wasAltered=W4e,V4e.asImmutable=H4e,V4e["@@transducer/init"]=V4e.asMutable=U4e,V4e["@@transducer/step"]=function(e,t){return e.set(t[0],t[1])},V4e["@@transducer/result"]=function(e){return e.asImmutable()};var K4e=function(e,t){this.ownerID=e,this.entries=t};K4e.prototype.get=function(e,t,n,i){for(var r=this.entries,a=0,o=r.length;a<o;a++)if(O3e(n,r[a][0]))return r[a][1];return i},K4e.prototype.update=function(e,t,n,i,r,a,o){for(var s=r===N2e,l=this.entries,u=0,c=l.length;u<c&&!O3e(i,l[u][0]);u++);var d=u<c;if(d?l[u][1]===r:s)return this;if(R2e(o),(s||!d)&&R2e(a),!s||1!==l.length){if(!d&&!s&&l.length>=d6e)return function(e,t,n,i){e||(e=new O2e);for(var r=new $4e(e,q3e(n),[n,i]),a=0;a<t.length;a++){var o=t[a];r=r.update(e,0,void 0,o[0],o[1])}return r}(e,l,i,r);var f=e&&e===this.ownerID,p=f?l:F4e(l);return d?s?u===c-1?p.pop():p[u]=p.pop():p[u]=[i,r]:p.push([i,r]),f?(this.entries=p,this):new K4e(e,p)}};var Q4e=function(e,t,n){this.ownerID=e,this.bitmap=t,this.nodes=n};Q4e.prototype.get=function(e,t,n,i){void 0===t&&(t=q3e(n));var r=1<<((0===e?t:t>>>e)&j2e),a=this.bitmap;return 0==(a&r)?i:this.nodes[u6e(a&r-1)].get(e+5,t,n,i)},Q4e.prototype.update=function(e,t,n,i,r,a,o){void 0===n&&(n=q3e(i));var s=(0===t?n:n>>>t)&j2e,l=1<<s,u=this.bitmap,c=0!=(u&l);if(!c&&r===N2e)return this;var d=u6e(u&l-1),f=this.nodes,p=c?f[d]:void 0,h=o6e(p,e,t+5,n,i,r,a,o);if(h===p)return this;if(!c&&h&&f.length>=f6e)return function(e,t,n,i,r){for(var a=0,o=new Array(M2e),s=0;0!==n;s++,n>>>=1)o[s]=1&n?t[a++]:void 0;return o[i]=r,new J4e(e,a+1,o)}(e,f,u,s,h);if(c&&!h&&2===f.length&&s6e(f[1^d]))return f[1^d];if(c&&h&&1===f.length&&s6e(h))return h;var g=e&&e===this.ownerID,m=c?h?u:u^l:u|l,v=c?h?c6e(f,d,h,g):function(e,t,n){var i=e.length-1;if(n&&t===i)return e.pop(),e;for(var r=new Array(i),a=0,o=0;o<i;o++)o===t&&(a=1),r[o]=e[o+a];return r}(f,d,g):function(e,t,n,i){var r=e.length+1;if(i&&t+1===r)return e[t]=n,e;for(var a=new Array(r),o=0,s=0;s<r;s++)s===t?(a[s]=n,o=-1):a[s]=e[s+o];return a}(f,d,h,g);return g?(this.bitmap=m,this.nodes=v,this):new Q4e(e,m,v)};var J4e=function(e,t,n){this.ownerID=e,this.count=t,this.nodes=n};J4e.prototype.get=function(e,t,n,i){void 0===t&&(t=q3e(n));var r=(0===e?t:t>>>e)&j2e,a=this.nodes[r];return a?a.get(e+5,t,n,i):i},J4e.prototype.update=function(e,t,n,i,r,a,o){void 0===n&&(n=q3e(i));var s=(0===t?n:n>>>t)&j2e,l=r===N2e,u=this.nodes,c=u[s];if(l&&!c)return this;var d=o6e(c,e,t+5,n,i,r,a,o);if(d===c)return this;var f=this.count;if(c){if(!d&&--f<p6e)return function(e,t,n,i){for(var r=0,a=0,o=new Array(n),s=0,l=1,u=t.length;s<u;s++,l<<=1){var c=t[s];void 0!==c&&s!==i&&(r|=l,o[a++]=c)}return new Q4e(e,r,o)}(e,u,f,s)}else f++;var p=e&&e===this.ownerID,h=c6e(u,s,d,p);return p?(this.count=f,this.nodes=h,this):new J4e(e,f,h)};var Z4e=function(e,t,n){this.ownerID=e,this.keyHash=t,this.entries=n};Z4e.prototype.get=function(e,t,n,i){for(var r=this.entries,a=0,o=r.length;a<o;a++)if(O3e(n,r[a][0]))return r[a][1];return i},Z4e.prototype.update=function(e,t,n,i,r,a,o){void 0===n&&(n=q3e(i));var s=r===N2e;if(n!==this.keyHash)return s?this:(R2e(o),R2e(a),l6e(this,e,t,n,[i,r]));for(var l=this.entries,u=0,c=l.length;u<c&&!O3e(i,l[u][0]);u++);var d=u<c;if(d?l[u][1]===r:s)return this;if(R2e(o),(s||!d)&&R2e(a),s&&2===c)return new $4e(e,this.keyHash,l[1^u]);var f=e&&e===this.ownerID,p=f?l:F4e(l);return d?s?u===c-1?p.pop():p[u]=p.pop():p[u]=[i,r]:p.push([i,r]),f?(this.entries=p,this):new Z4e(e,this.keyHash,p)};var $4e=function(e,t,n){this.ownerID=e,this.keyHash=t,this.entry=n};$4e.prototype.get=function(e,t,n,i){return O3e(n,this.entry[0])?this.entry[1]:i},$4e.prototype.update=function(e,t,n,i,r,a,o){var s=r===N2e,l=O3e(i,this.entry[0]);return(l?r===this.entry[1]:s)?this:(R2e(o),s?void R2e(a):l?e&&e===this.ownerID?(this.entry[1]=r,this):new $4e(e,this.keyHash,[i,r]):(R2e(a),l6e(this,e,t,q3e(i),[i,r])))},K4e.prototype.iterate=Z4e.prototype.iterate=function(e,t){for(var n=this.entries,i=0,r=n.length-1;i<=r;i++)if(!1===e(n[t?r-i:i]))return!1},Q4e.prototype.iterate=J4e.prototype.iterate=function(e,t){for(var n=this.nodes,i=0,r=n.length-1;i<=r;i++){var a=n[t?r-i:i];if(a&&!1===a.iterate(e,t))return!1}},$4e.prototype.iterate=function(e,t){return e(this.entry)};var X4e,e6e=function(e){function t(e,t,n){this._type=t,this._reverse=n,this._stack=e._root&&n6e(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,i=t.index++,r=void 0;if(n.entry){if(0===i)return t6e(e,n.entry)}else if(n.entries){if(i<=(r=n.entries.length-1))return t6e(e,n.entries[this._reverse?r-i:i])}else if(i<=(r=n.nodes.length-1)){var a=n.nodes[this._reverse?r-i:i];if(a){if(a.entry)return t6e(e,a.entry);t=this._stack=n6e(a,t)}continue}t=this._stack=this._stack.__prev}return{value:void 0,done:!0}},t}(p3e);function t6e(e,t){return h3e(e,t[0],t[1])}function n6e(e,t){return{node:e,index:0,__prev:t}}function i6e(e,t,n,i){var r=Object.create(V4e);return r.size=e,r._root=t,r.__ownerID=n,r.__hash=i,r.__altered=!1,r}function r6e(){return X4e||(X4e=i6e(0))}function a6e(e,t,n){var i,r;if(e._root){var a={value:!1},o={value:!1};if(i=o6e(e._root,e.__ownerID,0,void 0,t,n,a,o),!o.value)return e;r=e.size+(a.value?n===N2e?-1:1:0)}else{if(n===N2e)return e;r=1,i=new K4e(e.__ownerID,[[t,n]])}return e.__ownerID?(e.size=r,e._root=i,e.__hash=void 0,e.__altered=!0,e):i?i6e(r,i):r6e()}function o6e(e,t,n,i,r,a,o,s){return e?e.update(t,n,i,r,a,o,s):a===N2e?e:(R2e(s),R2e(o),new $4e(t,i,[r,a]))}function s6e(e){return e.constructor===$4e||e.constructor===Z4e}function l6e(e,t,n,i,r){if(e.keyHash===i)return new Z4e(t,i,[e.entry,r]);var a,o=(0===n?e.keyHash:e.keyHash>>>n)&j2e,s=(0===n?i:i>>>n)&j2e,l=o===s?[l6e(e,t,n+5,i,r)]:(a=new $4e(t,i,r),o<s?[e,a]:[a,e]);return new Q4e(t,1<<o|1<<s,l)}function u6e(e){return e=(e=(858993459&(e-=e>>1&1431655765))+(e>>2&858993459))+(e>>4)&252645135,e+=e>>8,127&(e+=e>>16)}function c6e(e,t,n,i){var r=i?e:F4e(e);return r[t]=n,r}var d6e=8,f6e=16,p6e=8,h6e="@@__IMMUTABLE_LIST__@@";function g6e(e){return Boolean(e&&e[h6e])}var m6e=function(e){function t(t){var n=k6e();if(null==t)return n;if(g6e(t))return t;var i=e(t),r=i.size;return 0===r?n:(E4e(r),r>0&&r<M2e?F6e(0,r,5,null,new _6e(i.toArray())):n.withMutations((function(e){e.setSize(r),i.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=B2e(this,e))>=0&&e<this.size){var n=C6e(this,e+=this._origin);return n&&n.array[e&j2e]}return t},t.prototype.set=function(e,t){return function(e,t,n){if((t=B2e(e,t))!=t)return e;if(t>=e.size||t<0)return e.withMutations((function(e){t<0?S6e(e,t).set(0,n):S6e(e,0,t+1).set(t,n)}));t+=e._origin;var i=e._tail,r=e._root,a={value:!1};t>=D6e(e._capacity)?i=E6e(i,e.__ownerID,0,t,n,a):r=E6e(r,e.__ownerID,e._level,t,n,a);if(!a.value)return e;if(e.__ownerID)return e._root=r,e._tail=i,e.__hash=void 0,e.__altered=!0,e;return F6e(e._origin,e._capacity,e._level,r,i)}(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):k6e()},t.prototype.push=function(){var e=arguments,t=this.size;return this.withMutations((function(n){S6e(n,0,t+e.length);for(var i=0;i<e.length;i++)n.set(t+i,e[i])}))},t.prototype.pop=function(){return S6e(this,0,-1)},t.prototype.unshift=function(){var e=arguments;return this.withMutations((function(t){S6e(t,-e.length);for(var n=0;n<e.length;n++)t.set(n,e[n])}))},t.prototype.shift=function(){return S6e(this,1)},t.prototype.concat=function(){for(var t=arguments,n=[],i=0;i<arguments.length;i++){var r=t[i],a=e("string"!=typeof r&&m3e(r)?r:[r]);0!==a.size&&n.push(a)}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 S6e(this,0,e)},t.prototype.map=function(e,t){var n=this;return this.withMutations((function(i){for(var r=0;r<n.size;r++)i.set(r,e.call(t,i.get(r),r,i))}))},t.prototype.slice=function(e,t){var n=this.size;return q2e(e,t,n)?this:S6e(this,U2e(e,n),H2e(t,n))},t.prototype.__iterator=function(e,t){var n=t?this.size:0,i=w6e(this,t);return new p3e((function(){var r=i();return r===y6e?{value:void 0,done:!0}:h3e(e,t?--n:n++,r)}))},t.prototype.__iterate=function(e,t){for(var n,i=t?this.size:0,r=w6e(this,t);(n=r())!==y6e&&!1!==e(n,t?--i:i++,this););return i},t.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?F6e(this._origin,this._capacity,this._level,this._root,this._tail,e,this.__hash):0===this.size?k6e():(this.__ownerID=e,this.__altered=!1,this)},t}(n3e);m6e.isList=g6e;var v6e=m6e.prototype;v6e[h6e]=!0,v6e.delete=v6e.remove,v6e.merge=v6e.concat,v6e.setIn=L4e,v6e.deleteIn=v6e.removeIn=I4e,v6e.update=j4e,v6e.updateIn=N4e,v6e.mergeIn=B4e,v6e.mergeDeepIn=G4e,v6e.withMutations=q4e,v6e.wasAltered=W4e,v6e.asImmutable=H4e,v6e["@@transducer/init"]=v6e.asMutable=U4e,v6e["@@transducer/step"]=function(e,t){return e.push(t)},v6e["@@transducer/result"]=function(e){return e.asImmutable()};var _6e=function(e,t){this.array=e,this.ownerID=t};_6e.prototype.removeBefore=function(e,t,n){if(n===t?1<<t:0===this.array.length)return this;var i=n>>>t&j2e;if(i>=this.array.length)return new _6e([],e);var r,a=0===i;if(t>0){var o=this.array[i];if((r=o&&o.removeBefore(e,t-5,n))===o&&a)return this}if(a&&!r)return this;var s=x6e(this,e);if(!a)for(var l=0;l<i;l++)s.array[l]=void 0;return r&&(s.array[i]=r),s},_6e.prototype.removeAfter=function(e,t,n){if(n===(t?1<<t:0)||0===this.array.length)return this;var i,r=n-1>>>t&j2e;if(r>=this.array.length)return this;if(t>0){var a=this.array[r];if((i=a&&a.removeAfter(e,t-5,n))===a&&r===this.array.length-1)return this}var o=x6e(this,e);return o.array.splice(r+1),i&&(o.array[r]=i),o};var b6e,y6e={};function w6e(e,t){var n=e._origin,i=e._capacity,r=D6e(i),a=e._tail;return o(e._root,e._level,0);function o(e,s,l){return 0===s?function(e,o){var s=o===r?a&&a.array:e&&e.array,l=o>n?0:n-o,u=i-o;u>M2e&&(u=M2e);return function(){if(l===u)return y6e;var e=t?--u:l++;return s&&s[e]}}(e,l):function(e,r,a){var s,l=e&&e.array,u=a>n?0:n-a>>r,c=1+(i-a>>r);c>M2e&&(c=M2e);return function(){for(;;){if(s){var e=s();if(e!==y6e)return e;s=null}if(u===c)return y6e;var n=t?--c:u++;s=o(l&&l[n],r-5,a+(n<<r))}}}(e,s,l)}}function F6e(e,t,n,i,r,a,o){var s=Object.create(v6e);return s.size=t-e,s._origin=e,s._capacity=t,s._level=n,s._root=i,s._tail=r,s.__ownerID=a,s.__hash=o,s.__altered=!1,s}function k6e(){return b6e||(b6e=F6e(0,0,5))}function E6e(e,t,n,i,r,a){var o,s=i>>>n&j2e,l=e&&s<e.array.length;if(!l&&void 0===r)return e;if(n>0){var u=e&&e.array[s],c=E6e(u,t,n-5,i,r,a);return c===u?e:((o=x6e(e,t)).array[s]=c,o)}return l&&e.array[s]===r?e:(a&&R2e(a),o=x6e(e,t),void 0===r&&s===o.array.length-1?o.array.pop():o.array[s]=r,o)}function x6e(e,t){return t&&e&&t===e.ownerID?e:new _6e(e?e.array.slice():[],t)}function C6e(e,t){if(t>=D6e(e._capacity))return e._tail;if(t<1<<e._level+5){for(var n=e._root,i=e._level;n&&i>0;)n=n.array[t>>>i&j2e],i-=5;return n}}function S6e(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var i=e.__ownerID||new O2e,r=e._origin,a=e._capacity,o=r+t,s=void 0===n?a:n<0?a+n:r+n;if(o===r&&s===a)return e;if(o>=s)return e.clear();for(var l=e._level,u=e._root,c=0;o+c<0;)u=new _6e(u&&u.array.length?[void 0,u]:[],i),c+=1<<(l+=5);c&&(o+=c,r+=c,s+=c,a+=c);for(var d=D6e(a),f=D6e(s);f>=1<<l+5;)u=new _6e(u&&u.array.length?[u]:[],i),l+=5;var p=e._tail,h=f<d?C6e(e,s-1):f>d?new _6e([],i):p;if(p&&f>d&&o<a&&p.array.length){for(var g=u=x6e(u,i),m=l;m>5;m-=5){var v=d>>>m&j2e;g=g.array[v]=x6e(g.array[v],i)}g.array[d>>>5&j2e]=p}if(s<a&&(h=h&&h.removeAfter(i,0,s)),o>=f)o-=f,s-=f,l=5,u=null,h=h&&h.removeBefore(i,0,o);else if(o>r||f<d){for(c=0;u;){var _=o>>>l&j2e;if(_!==f>>>l&j2e)break;_&&(c+=(1<<l)*_),l-=5,u=u.array[_]}u&&o>r&&(u=u.removeBefore(i,l,o-c)),u&&f<d&&(u=u.removeAfter(i,l,f-c)),c&&(o-=c,s-=c)}return e.__ownerID?(e.size=s-o,e._origin=o,e._capacity=s,e._level=l,e._root=u,e._tail=h,e.__hash=void 0,e.__altered=!0,e):F6e(o,s,l,u,h)}function D6e(e){return e<M2e?0:e-1>>>5<<5}var P6e,A6e=function(e){function t(e){return null==e?L6e():N3e(e)?e:L6e().withMutations((function(t){var n=t3e(e);E4e(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):L6e()},t.prototype.set=function(e,t){return I6e(this,e,t)},t.prototype.remove=function(e){return I6e(this,e,N2e)},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?T6e(t,n,e,this.__hash):0===this.size?L6e():(this.__ownerID=e,this._map=t,this._list=n,this)},t}(Y4e);function T6e(e,t,n,i){var r=Object.create(A6e.prototype);return r.size=e?e.size:0,r._map=e,r._list=t,r.__ownerID=n,r.__hash=i,r}function L6e(){return P6e||(P6e=T6e(r6e(),k6e()))}function I6e(e,t,n){var i,r,a=e._map,o=e._list,s=a.get(t),l=void 0!==s;if(n===N2e){if(!l)return e;o.size>=M2e&&o.size>=2*a.size?(i=(r=o.filter((function(e,t){return void 0!==e&&s!==t}))).toKeyedSeq().map((function(e){return e[0]})).flip().toMap(),e.__ownerID&&(i.__ownerID=r.__ownerID=e.__ownerID)):(i=a.remove(t),r=s===o.size-1?o.pop():o.set(s,void 0))}else if(l){if(n===o.get(s)[1])return e;i=a,r=o.set(s,[t,n])}else i=a.set(t,o.size),r=o.set(o.size,[t,n]);return e.__ownerID?(e.size=i.size,e._map=i,e._list=r,e.__hash=void 0,e):T6e(i,r)}A6e.isOrderedMap=N3e,A6e.prototype[l3e]=!0,A6e.prototype.delete=A6e.prototype.remove;var M6e="@@__IMMUTABLE_STACK__@@";function j6e(e){return Boolean(e&&e[M6e])}var N6e=function(e){function t(e){return null==e?B6e():j6e(e)?e:B6e().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=B2e(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,i=arguments.length-1;i>=0;i--)n={value:e[i],next:n};return this.__ownerID?(this.size=t,this._head=n,this.__hash=void 0,this.__altered=!0,this):z6e(t,n)},t.prototype.pushAll=function(t){if(0===(t=e(t)).size)return this;if(0===this.size&&j6e(t))return t;E4e(t.size);var n=this.size,i=this._head;return t.__iterate((function(e){n++,i={value:e,next:i}}),!0),this.__ownerID?(this.size=n,this._head=i,this.__hash=void 0,this.__altered=!0,this):z6e(n,i)},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):B6e()},t.prototype.slice=function(t,n){if(q2e(t,n,this.size))return this;var i=U2e(t,this.size);if(H2e(n,this.size)!==this.size)return e.prototype.slice.call(this,t,n);for(var r=this.size-i,a=this._head;i--;)a=a.next;return this.__ownerID?(this.size=r,this._head=a,this.__hash=void 0,this.__altered=!0,this):z6e(r,a)},t.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?z6e(this.size,this._head,e,this.__hash):0===this.size?B6e():(this.__ownerID=e,this.__altered=!1,this)},t.prototype.__iterate=function(e,t){var n=this;if(t)return new C3e(this.toArray()).__iterate((function(t,i){return e(t,i,n)}),t);for(var i=0,r=this._head;r&&!1!==e(r.value,i++,this);)r=r.next;return i},t.prototype.__iterator=function(e,t){if(t)return new C3e(this.toArray()).__iterator(e,t);var n=0,i=this._head;return new p3e((function(){if(i){var t=i.value;return i=i.next,h3e(e,n++,t)}return{value:void 0,done:!0}}))},t}(n3e);N6e.isStack=j6e;var R6e,O6e=N6e.prototype;function z6e(e,t,n,i){var r=Object.create(O6e);return r.size=e,r._head=t,r.__ownerID=n,r.__hash=i,r.__altered=!1,r}function B6e(){return R6e||(R6e=z6e(0))}O6e[M6e]=!0,O6e.shift=O6e.pop,O6e.unshift=O6e.push,O6e.unshiftAll=O6e.pushAll,O6e.withMutations=q4e,O6e.wasAltered=W4e,O6e.asImmutable=H4e,O6e["@@transducer/init"]=O6e.asMutable=U4e,O6e["@@transducer/step"]=function(e,t){return e.unshift(t)},O6e["@@transducer/result"]=function(e){return e.asImmutable()};var G6e="@@__IMMUTABLE_SET__@@";function q6e(e){return Boolean(e&&e[G6e])}function U6e(e){return q6e(e)&&u3e(e)}function H6e(e,t){if(e===t)return!0;if(!K2e(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||J2e(e)!==J2e(t)||$2e(e)!==$2e(t)||u3e(e)!==u3e(t))return!1;if(0===e.size&&0===t.size)return!0;var n=!X2e(e);if(u3e(e)){var i=e.entries();return t.every((function(e,t){var r=i.next().value;return r&&O3e(r[1],e)&&(n||O3e(r[0],t))}))&&i.next().done}var r=!1;if(void 0===e.size)if(void 0===t.size)"function"==typeof e.cacheResult&&e.cacheResult();else{r=!0;var a=e;e=t,t=a}var o=!0,s=t.__iterate((function(t,i){if(n?!e.has(t):r?!O3e(t,e.get(i,N2e)):!O3e(e.get(i,N2e),t))return o=!1,!1}));return o&&e.size===s}function W6e(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 Y6e(e){if(!e||"object"!=typeof e)return e;if(!K2e(e)){if(!C4e(e))return e;e=F3e(e)}if(J2e(e)){var t={};return e.__iterate((function(e,n){t[n]=Y6e(e)})),t}var n=[];return e.__iterate((function(e){n.push(Y6e(e))})),n}var V6e=function(e){function t(t){return null==t?$6e():q6e(t)&&!u3e(t)?t:$6e().withMutations((function(n){var i=e(t);E4e(i.size),i.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(t3e(e).keySeq())},t.intersect=function(e){return(e=e3e(e).toArray()).length?Q6e.intersect.apply(t(e.pop()),e):$6e()},t.union=function(e){return(e=e3e(e).toArray()).length?Q6e.union.apply(t(e.pop()),e):$6e()},t.prototype.toString=function(){return this.__toString("Set {","}")},t.prototype.has=function(e){return this._map.has(e)},t.prototype.add=function(e){return J6e(this,this._map.set(e,e))},t.prototype.remove=function(e){return J6e(this,this._map.remove(e))},t.prototype.clear=function(){return J6e(this,this._map.clear())},t.prototype.map=function(e,t){var n=this,i=[],r=[];return this.forEach((function(a){var o=e.call(t,a,a,n);o!==a&&(i.push(a),r.push(o))})),this.withMutations((function(e){i.forEach((function(t){return e.remove(t)})),r.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 i=0;i<t.length;i++)e(t[i]).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 i=[];return this.forEach((function(e){t.every((function(t){return t.includes(e)}))||i.push(e)})),this.withMutations((function(e){i.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 i=[];return this.forEach((function(e){t.some((function(t){return t.includes(e)}))&&i.push(e)})),this.withMutations((function(e){i.forEach((function(t){e.remove(t)}))}))},t.prototype.sort=function(e){return h9e(f4e(this,e))},t.prototype.sortBy=function(e,t){return h9e(f4e(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}(i3e);V6e.isSet=q6e;var K6e,Q6e=V6e.prototype;function J6e(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 Z6e(e,t){var n=Object.create(Q6e);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function $6e(){return K6e||(K6e=Z6e(r6e()))}Q6e[G6e]=!0,Q6e.delete=Q6e.remove,Q6e.merge=Q6e.concat=Q6e.union,Q6e.withMutations=q4e,Q6e.asImmutable=H4e,Q6e["@@transducer/init"]=Q6e.asMutable=U4e,Q6e["@@transducer/step"]=function(e,t){return e.add(t)},Q6e["@@transducer/result"]=function(e){return e.asImmutable()},Q6e.__empty=$6e,Q6e.__make=Z6e;var X6e,e9e=function(e){function t(e,n,i){if(!(this instanceof t))return new t(e,n,i);if(k4e(0!==i,"Cannot step a Range by 0"),e=e||0,void 0===n&&(n=1/0),i=void 0===i?1:Math.abs(i),n<e&&(i=-i),this._start=e,this._end=n,this._step=i,this.size=Math.max(0,Math.ceil((n-e)/i-1)+1),0===this.size){if(X6e)return X6e;X6e=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+B2e(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 q2e(e,n,this.size)?this:(e=U2e(e,this.size),(n=H2e(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,i=this._step,r=t?this._start+(n-1)*i:this._start,a=0;a!==n&&!1!==e(r,t?n-++a:a++,this);)r+=t?-i:i;return a},t.prototype.__iterator=function(e,t){var n=this.size,i=this._step,r=t?this._start+(n-1)*i:this._start,a=0;return new p3e((function(){if(a===n)return{value:void 0,done:!0};var o=r;return r+=t?-i:i,h3e(e,t?n-++a:a++,o)}))},t.prototype.equals=function(e){return e instanceof t?this._start===e._start&&this._end===e._end&&this._step===e._step:H6e(this,e)},t}(E3e);function t9e(e,t,n){for(var i=x4e(t),r=0;r!==i.length;)if((e=D4e(e,i[r++],N2e))===N2e)return n;return e}function n9e(){E4e(this.size);var e={};return this.__iterate((function(t,n){e[n]=t})),e}e3e.isIterable=K2e,e3e.isKeyed=J2e,e3e.isIndexed=$2e,e3e.isAssociative=X2e,e3e.isOrdered=u3e,e3e.Iterator=p3e,W6e(e3e,{toArray:function(){E4e(this.size);var e=new Array(this.size||0),t=J2e(this),n=0;return this.__iterate((function(i,r){e[n++]=t?[r,i]:i})),e},toIndexedSeq:function(){return new t4e(this)},toJS:function(){return Y6e(this)},toKeyedSeq:function(){return new e4e(this,!0)},toMap:function(){return Y4e(this.toKeyedSeq())},toObject:n9e,toOrderedMap:function(){return A6e(this.toKeyedSeq())},toOrderedSet:function(){return h9e(J2e(this)?this.valueSeq():this)},toSet:function(){return V6e(J2e(this)?this.valueSeq():this)},toSetSeq:function(){return new n4e(this)},toSeq:function(){return $2e(this)?this.toIndexedSeq():J2e(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return N6e(J2e(this)?this.valueSeq():this)},toList:function(){return m6e(J2e(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 O3e(t,e)}))},entries:function(){return this.__iterator(2)},every:function(e,t){E4e(this.size);var n=!0;return this.__iterate((function(i,r,a){if(!e.call(t,i,r,a))return n=!1,!1})),n},filter:function(e,t){return m4e(this,s4e(this,e,t,!0))},find:function(e,t,n){var i=this.findEntry(e,t);return i?i[1]:n},forEach:function(e,t){return E4e(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){E4e(this.size),e=void 0!==e?""+e:",";var t="",n=!0;return this.__iterate((function(i){n?n=!1:t+=e,t+=null!=i?i.toString():""})),t},keys:function(){return this.__iterator(0)},map:function(e,t){return m4e(this,a4e(this,e,t))},reduce:function(e,t,n){return o9e(this,e,t,n,arguments.length<2,!1)},reduceRight:function(e,t,n){return o9e(this,e,t,n,arguments.length<2,!0)},reverse:function(){return m4e(this,o4e(this,!0))},slice:function(e,t){return m4e(this,l4e(this,e,t,!0))},some:function(e,t){return!this.every(u9e(e),t)},sort:function(e){return m4e(this,f4e(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 z2e(e?this.toSeq().filter(e,t):this)},countBy:function(e,t){return function(e,t,n){var i=Y4e().asMutable();return e.__iterate((function(r,a){i.update(t.call(n,r,a,e),0,(function(e){return e+1}))})),i.asImmutable()}(this,e,t)},equals:function(e){return H6e(this,e)},entrySeq:function(){var e=this;if(e._cache)return new C3e(e._cache);var t=e.toSeq().map(l9e).toIndexedSeq();return t.fromEntrySeq=function(){return e.toSeq()},t},filterNot:function(e,t){return this.filter(u9e(e),t)},findEntry:function(e,t,n){var i=n;return this.__iterate((function(n,r,a){if(e.call(t,n,r,a))return i=[r,n],!1})),i},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(G2e,null,e)},flatMap:function(e,t){return m4e(this,function(e,t,n){var i=_4e(e);return e.toSeq().map((function(r,a){return i(t.call(n,r,a,e))})).flatten(!0)}(this,e,t))},flatten:function(e){return m4e(this,d4e(this,e,!0))},fromEntrySeq:function(){return new i4e(this)},get:function(e,t){return this.find((function(t,n){return O3e(n,e)}),void 0,t)},getIn:function(e,t){return t9e(this,e,t)},groupBy:function(e,t){return function(e,t,n){var i=J2e(e),r=(u3e(e)?A6e():Y4e()).asMutable();e.__iterate((function(a,o){r.update(t.call(n,a,o,e),(function(e){return(e=e||[]).push(i?[o,a]:a),e}))}));var a=_4e(e);return r.map((function(t){return m4e(e,a(t))})).asImmutable()}(this,e,t)},has:function(e){return this.get(e,N2e)!==N2e},hasIn:function(e){return function(e,t){return t9e(e,t,N2e)!==N2e}(this,e)},isSubset:function(e){return e="function"==typeof e.includes?e:e3e(e),this.every((function(t){return e.includes(t)}))},isSuperset:function(e){return(e="function"==typeof e.isSubset?e:e3e(e)).isSubset(this)},keyOf:function(e){return this.findKey((function(t){return O3e(t,e)}))},keySeq:function(){return this.toSeq().map(s9e).toIndexedSeq()},last:function(e){return this.toSeq().reverse().first(e)},lastKeyOf:function(e){return this.toKeyedSeq().reverse().keyOf(e)},max:function(e){return p4e(this,e)},maxBy:function(e,t){return p4e(this,t,e)},min:function(e){return p4e(this,e?c9e(e):f9e)},minBy:function(e,t){return p4e(this,t?c9e(t):f9e,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(u9e(e),t)},sortBy:function(e,t){return m4e(this,f4e(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 i=b4e(e);return i.__iterateUncached=function(i,r){var a=this;if(r)return this.cacheResult().__iterate(i,r);var o=0;return e.__iterate((function(e,r,s){return t.call(n,e,r,s)&&++o&&i(e,r,a)})),o},i.__iteratorUncached=function(i,r){var a=this;if(r)return this.cacheResult().__iterator(i,r);var o=e.__iterator(2,r),s=!0;return new p3e((function(){if(!s)return{value:void 0,done:!0};var e=o.next();if(e.done)return e;var r=e.value,l=r[0],u=r[1];return t.call(n,u,l,a)?2===i?e:h3e(i,l,u,e):(s=!1,{value:void 0,done:!0})}))},i}(this,e,t))},takeUntil:function(e,t){return this.takeWhile(u9e(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=u3e(e),n=J2e(e),i=t?1:0;return function(e,t){return t=z3e(t,3432918353),t=z3e(t<<15|t>>>-15,461845907),t=z3e(t<<13|t>>>-13,5),t=z3e((t=(t+3864292196|0)^e)^t>>>16,2246822507),t=B3e((t=z3e(t^t>>>13,3266489909))^t>>>16)}(e.__iterate(n?t?function(e,t){i=31*i+p9e(q3e(e),q3e(t))|0}:function(e,t){i=i+p9e(q3e(e),q3e(t))|0}:t?function(e){i=31*i+q3e(e)|0}:function(e){i=i+q3e(e)|0}),i)}(this))}});var i9e=e3e.prototype;i9e[V2e]=!0,i9e[f3e]=i9e.values,i9e.toJSON=i9e.toArray,i9e.__toStringMapper=S4e,i9e.inspect=i9e.toSource=function(){return this.toString()},i9e.chain=i9e.flatMap,i9e.contains=i9e.includes,W6e(t3e,{flip:function(){return m4e(this,r4e(this))},mapEntries:function(e,t){var n=this,i=0;return m4e(this,this.toSeq().map((function(r,a){return e.call(t,[a,r],i++,n)})).fromEntrySeq())},mapKeys:function(e,t){var n=this;return m4e(this,this.toSeq().flip().map((function(i,r){return e.call(t,i,r,n)})).flip())}});var r9e=t3e.prototype;r9e[Q2e]=!0,r9e[f3e]=i9e.entries,r9e.toJSON=n9e,r9e.__toStringMapper=function(e,t){return S4e(t)+": "+S4e(e)},W6e(n3e,{toKeyedSeq:function(){return new e4e(this,!1)},filter:function(e,t){return m4e(this,s4e(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,l4e(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=U2e(e,e<0?this.count():this.size);var i=this.slice(0,e);return m4e(this,1===n?i:i.concat(F4e(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,d4e(this,e,!1))},get:function(e,t){return(e=B2e(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=B2e(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=b4e(e);return n.size=e.size&&2*e.size-1,n.__iterateUncached=function(n,i){var r=this,a=0;return e.__iterate((function(e){return(!a||!1!==n(t,a++,r))&&!1!==n(e,a++,r)}),i),a},n.__iteratorUncached=function(n,i){var r,a=e.__iterator(1,i),o=0;return new p3e((function(){return(!r||o%2)&&(r=a.next()).done?r:o%2?h3e(n,o++,t):h3e(n,o++,r.value,r)}))},n}(this,e))},interleave:function(){var e=[this].concat(F4e(arguments)),t=g4e(this.toSeq(),E3e.of,e),n=t.flatten(!0);return t.size&&(n.size=t.size*e.length),m4e(this,n)},keySeq:function(){return e9e(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(F4e(arguments));return m4e(this,g4e(this,d9e,e))},zipAll:function(){var e=[this].concat(F4e(arguments));return m4e(this,g4e(this,d9e,e,!0))},zipWith:function(e){var t=F4e(arguments);return t[0]=this,m4e(this,g4e(this,e,t))}});var a9e=n3e.prototype;function o9e(e,t,n,i,r,a){return E4e(e.size),e.__iterate((function(e,a,o){r?(r=!1,n=e):n=t.call(i,n,e,a,o)}),a),n}function s9e(e,t){return t}function l9e(e,t){return[t,e]}function u9e(e){return function(){return!e.apply(this,arguments)}}function c9e(e){return function(){return-e.apply(this,arguments)}}function d9e(){return F4e(arguments)}function f9e(e,t){return e<t?1:e>t?-1:0}function p9e(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}a9e[Z2e]=!0,a9e[l3e]=!0,W6e(i3e,{get:function(e,t){return this.has(e)?e:t},includes:function(e){return this.has(e)},keySeq:function(){return this.valueSeq()}}),i3e.prototype.has=i9e.includes,i3e.prototype.contains=i3e.prototype.includes,W6e(k3e,t3e.prototype),W6e(E3e,n3e.prototype),W6e(x3e,i3e.prototype);var h9e=function(e){function t(e){return null==e?_9e():U6e(e)?e:_9e().withMutations((function(t){var n=i3e(e);E4e(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(t3e(e).keySeq())},t.prototype.toString=function(){return this.__toString("OrderedSet {","}")},t}(V6e);h9e.isOrderedSet=U6e;var g9e,m9e=h9e.prototype;function v9e(e,t){var n=Object.create(m9e);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function _9e(){return g9e||(g9e=v9e(L6e()))}m9e[l3e]=!0,m9e.zip=a9e.zip,m9e.zipWith=a9e.zipWith,m9e.__empty=_9e,m9e.__make=v9e;var b9e={exports:{}};
164
164
  /*!
165
165
  Copyright (c) 2015 Jed Watson.
166
166
  Based on code that is Copyright 2013-2015, Facebook, Inc.