@standardnotes/community-cdn 0.15.7 → 0.15.8
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/CHANGELOG.md +4 -0
- package/dist/entries/com.sncommunity.advanced-checklist.json +3 -3
- package/dist/packages.json +3 -3
- package/dist/static/com.sncommunity.advanced-checklist/build/static/js/main.js +1 -1
- package/dist/static/com.sncommunity.advanced-checklist/build/static/js/main.js.map +1 -1
- package/dist/zips/com.sncommunity.advanced-checklist.zip +0 -0
- package/package.json +2 -2
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/*! For license information please see main.js.LICENSE.txt */
|
|
2
|
-
!function(){var e={613:function(e,t,n){var r=n(61).default,o=n(156).default,i=n(704).default,a=n(690).default,u=n(728).default,l=n(416).default;self,e.exports=function(){var e={156:function(e){var t;self,t=function(){return function(){"use strict";var e,t,n={d:function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o:function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}},r={};n.d(r,{default:function(){return _}}),function(e){e[e.Web=1]="Web",e[e.Desktop=2]="Desktop",e[e.Mobile=3]="Mobile"}(e||(e={}));var o=new Uint8Array(16);function c(){if(!t&&!(t="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return t(o)}for(var s=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,f=function(e){return"string"==typeof e&&s.test(e)},d=[],p=0;p<256;++p)d.push((p+256).toString(16).substr(1));var h,v,g,m,y,b=function(t){var n,r,o=(l(n={},e.Web,"web"),l(n,e.Desktop,"desktop"),l(n,e.Mobile,"mobile"),n);return null!==(r=o[t])&&void 0!==r?r:o[e.Web]},w=function(){},x=function(){function e(){a(this,e)}return u(e,null,[{key:"isSupported",get:function(){return!(!window.console&&!console)}},{key:"info",get:function(){return e.isSupported&&this.enabled?console.log.bind(console):w}},{key:"error",get:function(){return e.isSupported?console.error.bind(console):w}}]),e}();function E(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function k(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?E(Object(n),!0).forEach((function(t){S(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):E(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function S(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}(v="enabled")in(h=x)?Object.defineProperty(h,v,{value:!1,enumerable:!0,configurable:!0,writable:!0}):h[v]=!1,function(e){e.Shift="Shift",e.Ctrl="Control",e.Meta="Meta"}(g||(g={})),function(e){e.Component="component"}(m||(m={})),function(e){e.SetSize="set-size",e.StreamItems="stream-items",e.StreamContextItem="stream-context-item",e.SaveItems="save-items",e.CreateItem="create-item",e.CreateItems="create-items",e.DeleteItems="delete-items",e.SetComponentData="set-component-data",e.RequestPermissions="request-permissions",e.DuplicateItem="duplicate-item",e.ComponentRegistered="component-registered",e.ActivateThemes="themes",e.Reply="reply",e.ThemesActivated="themes-activated",e.KeyDown="key-down",e.KeyUp="key-up",e.Click="click"}(y||(y={}));var _=function(){function t(e){var n,r;if(a(this,t),S(this,"contentWindow",void 0),S(this,"component",{activeThemes:[],acceptsThemes:!0}),S(this,"sentMessages",[]),S(this,"messageQueue",[]),S(this,"lastStreamedItem",void 0),S(this,"pendingSaveItems",void 0),S(this,"pendingSaveTimeout",void 0),S(this,"pendingSaveParams",void 0),S(this,"messageHandler",void 0),S(this,"keyDownEventListener",void 0),S(this,"keyUpEventListener",void 0),S(this,"clickEventListener",void 0),S(this,"concernTimeouts",[]),S(this,"options",void 0),S(this,"params",void 0),!e||!e.targetWindow)throw new Error("contentWindow must be a valid Window object.");this.params=e,this.options=e.options||{},null==this.options.coallesedSaving&&(this.options.coallesedSaving=!0),null==this.options.coallesedSavingDelay&&(this.options.coallesedSavingDelay=250),null!=this.options.acceptsThemes&&(this.component.acceptsThemes=null===(r=this.options.acceptsThemes)||void 0===r||r),x.enabled=null!==(n=this.options.debug)&&void 0!==n&&n,this.contentWindow=e.targetWindow,this.registerMessageHandler(),this.registerKeyboardEventListeners(),this.registerMouseEventListeners()}return u(t,[{key:"deinit",value:function(){this.params.onReady=void 0,this.component={acceptsThemes:!0,activeThemes:[]},this.messageQueue=[],this.sentMessages=[],this.lastStreamedItem=void 0,this.pendingSaveItems=void 0,this.pendingSaveTimeout=void 0,this.pendingSaveParams=void 0,this.messageHandler&&(this.contentWindow.document.removeEventListener("message",this.messageHandler),this.contentWindow.removeEventListener("message",this.messageHandler)),this.keyDownEventListener&&this.contentWindow.removeEventListener("keydown",this.keyDownEventListener),this.keyUpEventListener&&this.contentWindow.removeEventListener("keyup",this.keyUpEventListener),this.clickEventListener&&this.contentWindow.removeEventListener("click",this.clickEventListener)}},{key:"registerMessageHandler",value:function(){var e=this;this.messageHandler=function(t){if(x.info("Components API Message received:",t.data),!document.referrer||new URL(document.referrer).origin===new URL(t.origin).origin){var n=t.data,r=function(e){if("string"!=typeof e)return!1;try{var t=JSON.parse(e),n=Object.prototype.toString.call(t);return"[object Object]"===n||"[object Array]"===n}catch(e){return!1}}(n)?JSON.parse(n):n;if(r){if(void 0===e.component.origin&&r.action===y.ComponentRegistered)e.component.origin=t.origin;else if(t.origin!==e.component.origin)return;e.handleMessage(r)}else x.error("Invalid data received. Skipping...")}},this.contentWindow.document.addEventListener("message",this.messageHandler,!1),this.contentWindow.addEventListener("message",this.messageHandler,!1),x.info("Waiting for messages...")}},{key:"registerKeyboardEventListeners",value:function(){var e=this;this.keyDownEventListener=function(t){x.info("A key has been pressed: ".concat(t.key)),t.ctrlKey?e.keyDownEvent(g.Ctrl):t.shiftKey?e.keyDownEvent(g.Shift):(t.metaKey||"Meta"===t.key)&&e.keyDownEvent(g.Meta)},this.keyUpEventListener=function(t){x.info("A key has been released: ".concat(t.key)),"Control"===t.key?e.keyUpEvent(g.Ctrl):"Shift"===t.key?e.keyUpEvent(g.Shift):"Meta"===t.key&&e.keyUpEvent(g.Meta)},this.contentWindow.addEventListener("keydown",this.keyDownEventListener,!1),this.contentWindow.addEventListener("keyup",this.keyUpEventListener,!1)}},{key:"registerMouseEventListeners",value:function(){var e=this;this.clickEventListener=function(t){x.info("A click has been performed."),e.mouseClickEvent()},this.contentWindow.addEventListener("click",this.clickEventListener,!1)}},{key:"handleMessage",value:function(e){switch(e.action){case y.ComponentRegistered:this.component.sessionKey=e.sessionKey,e.componentData&&(this.component.data=e.componentData),this.onReady(e.data),x.info("Component successfully registered with payload:",e);break;case y.ActivateThemes:this.activateThemes(e.data.themes);break;default:var t,n;if(!e.original)return;var r=null===(t=this.sentMessages)||void 0===t?void 0:t.filter((function(t){var n;return t.messageId===(null===(n=e.original)||void 0===n?void 0:n.messageId)}))[0];if(!r){var o=this.contentWindow.document.title,i=("The extension '".concat(o,"' is attempting to communicate with Standard Notes, ")+"but an error is preventing it from doing so. Please restart this extension and try again.").replace(" "," ");return void x.info(i)}null==r||null===(n=r.callback)||void 0===n||n.call(r,e.data)}}},{key:"onReady",value:function(e){this.component.environment=e.environment,this.component.platform=e.platform,this.component.uuid=e.uuid;var t,n=i(this.messageQueue);try{for(n.s();!(t=n.n()).done;){var r=t.value;this.postMessage(r.action,r.data,r.callback)}}catch(o){n.e(o)}finally{n.f()}this.messageQueue=[],x.info("Data passed to onReady:",e),this.activateThemes(e.activeThemeUrls||[]),this.postMessage(y.ThemesActivated,{}),this.params.onReady&&this.params.onReady()}},{key:"getSelfComponentUUID",value:function(){return this.component.uuid}},{key:"isRunningInDesktopApplication",value:function(){return this.component.environment===b(e.Desktop)}},{key:"isRunningInMobileApplication",value:function(){return this.component.environment===b(e.Mobile)}},{key:"getComponentDataValueForKey",value:function(e){if(this.component.data)return this.component.data[e]}},{key:"setComponentDataValueForKey",value:function(e,t){if(!this.component.data)throw new Error("The component has not been initialized.");if(!e||e&&0===e.length)throw new Error("The key for the data value should be a valid string.");this.component.data=k(k({},this.component.data),{},l({},e,t)),this.postMessage(y.SetComponentData,{componentData:this.component.data})}},{key:"clearComponentData",value:function(){this.component.data={},this.postMessage(y.SetComponentData,{componentData:this.component.data})}},{key:"postMessage",value:function(e,t,n){if(this.component.sessionKey){e===y.SaveItems&&(t.height=this.params.handleRequestForContentHeight());var r,o={action:e,data:t,messageId:this.generateUUID(),sessionKey:this.component.sessionKey,api:m.Component},i=JSON.parse(JSON.stringify(o));i.callback=n,this.sentMessages.push(i),r=this.isRunningInMobileApplication()?JSON.stringify(o):o,x.info("Posting message:",r),this.contentWindow.parent.postMessage(r,this.component.origin)}else this.messageQueue.push({action:e,data:t,api:m.Component,callback:n})}},{key:"activateThemes",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(this.component.acceptsThemes){x.info("Incoming themes:",e);var t=this.component.activeThemes;if(!t||t.sort().toString()!=e.sort().toString()){var n,r=e,o=[],a=i(t);try{var u=function(){var t=n.value;e.includes(t)?r=r.filter((function(e){return e!==t})):o.push(t)};for(a.s();!(n=a.n()).done;)u()}catch(v){a.e(v)}finally{a.f()}x.info("Deactivating themes:",o),x.info("Activating themes:",r);for(var l=0,c=o;l<c.length;l++){var s=c[l];this.deactivateTheme(s)}this.component.activeThemes=e;var f,d=i(r);try{for(d.s();!(f=d.n()).done;){var p=f.value;if(p){var h=this.contentWindow.document.createElement("link");h.id=btoa(p),h.href=p,h.type="text/css",h.rel="stylesheet",h.media="screen,print",h.className="custom-theme",this.contentWindow.document.getElementsByTagName("head")[0].appendChild(h)}}}catch(v){d.e(v)}finally{d.f()}this.params.onThemesChange&&this.params.onThemesChange()}}}},{key:"themeElementForUrl",value:function(e){return Array.from(this.contentWindow.document.getElementsByClassName("custom-theme")).slice().find((function(t){return t.id==btoa(e)}))}},{key:"deactivateTheme",value:function(e){var t=this.themeElementForUrl(e);t&&t.parentNode&&(t.setAttribute("disabled","true"),t.parentNode.removeChild(t))}},{key:"generateUUID",value:function(){return function(e,t,n){var r=(e=e||{}).random||(e.rng||c)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,t){n=n||0;for(var o=0;o<16;++o)t[n+o]=r[o];return t}return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=(d[e[t+0]]+d[e[t+1]]+d[e[t+2]]+d[e[t+3]]+"-"+d[e[t+4]]+d[e[t+5]]+"-"+d[e[t+6]]+d[e[t+7]]+"-"+d[e[t+8]]+d[e[t+9]]+"-"+d[e[t+10]]+d[e[t+11]]+d[e[t+12]]+d[e[t+13]]+d[e[t+14]]+d[e[t+15]]).toLowerCase();if(!f(n))throw TypeError("Stringified UUID is invalid");return n}(r)}()}},{key:"platform",get:function(){return this.component.platform}},{key:"environment",get:function(){return this.component.environment}},{key:"streamItems",value:function(e,t){this.postMessage(y.StreamItems,{content_types:e},(function(e){t(e.items)}))}},{key:"streamContextItem",value:function(e){var t=this;this.postMessage(y.StreamContextItem,{},(function(n){var r=n.item;(!t.lastStreamedItem||t.lastStreamedItem.uuid!==r.uuid)&&t.pendingSaveTimeout&&(clearTimeout(t.pendingSaveTimeout),t.performSavingOfItems(t.pendingSaveParams),t.pendingSaveTimeout=void 0,t.pendingSaveParams=void 0),t.lastStreamedItem=r,e(t.lastStreamedItem)}))}},{key:"createItem",value:function(e,t){this.postMessage(y.CreateItem,{item:this.jsonObjectForItem(e)},(function(e){var n=e.item;!n&&e.items&&e.items.length>0&&(n=e.items[0]),t&&t(n)}))}},{key:"createItems",value:function(e,t){var n=this,r=e.map((function(e){return n.jsonObjectForItem(e)}));this.postMessage(y.CreateItems,{items:r},(function(e){t&&t(e.items)}))}},{key:"deleteItem",value:function(e,t){this.deleteItems([e],t)}},{key:"deleteItems",value:function(e,t){var n=this,r={items:e.map((function(e){return n.jsonObjectForItem(e)}))};this.postMessage(y.DeleteItems,r,(function(e){t&&t(e)}))}},{key:"sendCustomEvent",value:function(e,t,n){this.postMessage(e,t,(function(e){n&&n(e)}))}},{key:"saveItem",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];this.saveItems([e],t,n)}},{key:"saveItemWithPresave",value:function(e,t,n){this.saveItemsWithPresave([e],t,n)}},{key:"saveItemsWithPresave",value:function(e,t,n){this.saveItems(e,n,!1,t)}},{key:"performSavingOfItems",value:function(e){var t=this,n=e.items,r=e.presave,o=e.callback,a=setTimeout((function(){t.concernTimeouts.forEach((function(e){return clearTimeout(e)})),alert("This editor is unable to communicate with Standard Notes. Your changes may not be saved. Please backup your changes, then restart the application and try again.")}),5e3);this.concernTimeouts.push(a),r&&r();var u,l=[],c=i(n);try{for(c.s();!(u=c.n()).done;){var s=u.value;l.push(this.jsonObjectForItem(s))}}catch(f){c.e(f)}finally{c.f()}this.postMessage(y.SaveItems,{items:l},(function(){t.concernTimeouts.forEach((function(e){return clearTimeout(e)})),null==o||o()}))}},{key:"saveItems",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=arguments.length>3?arguments[3]:void 0;if(this.pendingSaveItems||(this.pendingSaveItems=[]),this.options.coallesedSaving&&!r){this.pendingSaveTimeout&&clearTimeout(this.pendingSaveTimeout);var i=e.map((function(e){return e.uuid})),a=this.pendingSaveItems.filter((function(e){return!i.includes(e.uuid)}));this.pendingSaveItems=a.concat(e),this.pendingSaveParams={items:this.pendingSaveItems,presave:o,callback:t},this.pendingSaveTimeout=setTimeout((function(){n.performSavingOfItems(n.pendingSaveParams),n.pendingSaveItems=[],n.pendingSaveTimeout=void 0,n.pendingSaveParams=null}),this.options.coallesedSavingDelay)}else this.performSavingOfItems({items:e,presave:o,callback:t})}},{key:"setSize",value:function(e,t){this.postMessage(y.SetSize,{type:"container",width:e,height:t})}},{key:"keyDownEvent",value:function(e){this.postMessage(y.KeyDown,{keyboardModifier:e})}},{key:"keyUpEvent",value:function(e){this.postMessage(y.KeyUp,{keyboardModifier:e})}},{key:"mouseClickEvent",value:function(){this.postMessage(y.Click,{})}},{key:"jsonObjectForItem",value:function(e){var t=Object.assign({},e);return t.children=null,t.parent=null,t}},{key:"getItemAppDataValue",value:function(e,t){var n,r,o=null==e||null===(n=e.content)||void 0===n||null===(r=n.appData)||void 0===r?void 0:r["org.standardnotes.sn"];return null==o?void 0:o[t]}}]),t}();return r.default}()},e.exports=t()}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={exports:{}};return e[r](i,i.exports,n),i.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)};var c={};return function(){"use strict";n.d(c,{default:function(){return l}});var e=n(156),t=n.n(e);function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var l=function(){function e(t,n){a(this,e),this.delegate=t,this.options=n,i(this,"componentRelay",void 0),i(this,"note",void 0),i(this,"ignoreNextTextChange",void 0),this.connectToBridge()}return u(e,[{key:"connectToBridge",value:function(){var e=this,n=this.options,i=n.coallesedSaving,a=n.coallesedSavingDelay,u=n.mode;this.componentRelay=new(t())({targetWindow:window,options:{coallesedSaving:i,coallesedSavingDelay:a},onReady:function(){var t=e.componentRelay.platform;t&&document.documentElement.classList.add(t)},onThemesChange:this.delegate.onThemesChange,handleRequestForContentHeight:function(){return e.delegate.handleRequestForContentHeight()}}),this.componentRelay.streamContextItem(function(){var t=o(r().mark((function t(n){var o,i,a,l,c,s,f,d,p,h;return r().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(i=!0,e.note&&e.note.uuid==n.uuid&&(i=!1),a=e.note,e.note=n,!n.isMetadataUpdate){t.next=5;break}return t.abrupt("return");case 5:if(l=(null===(o=n.content)||void 0===o?void 0:o.text)||"","html"===u&&i&&(/<[a-z][\s\S]*>/i.test(l)||(e.ignoreNextTextChange=!0)),t.t0=e.delegate.onNoteValueChange,!t.t0){t.next=11;break}return t.next=11,e.delegate.onNoteValueChange(n);case 11:if(e.delegate.setEditorRawText(l),!e.delegate.onNoteLockToggle){t.next=15;break}f=null!==(c=e.componentRelay.getItemAppDataValue(a,"locked"))&&void 0!==c&&c,d=null!==(s=e.componentRelay.getItemAppDataValue(e.note,"locked"))&&void 0!==s&&s,f!==d&&e.delegate.onNoteLockToggle(d);case 15:i&&(null===(p=(h=e.delegate).clearUndoHistory)||void 0===p||p.call(h));case 16:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}())}},{key:"configureFileSafe",value:function(){for(var e=0,t=["getCurrentLineText","getPreviousLineText","replaceText","getElementsBySelector","insertElement","preprocessElement","insertRawText"];e<t.length;e++){var n=t[e];if(!this.delegate[n])throw Error("Missing ".concat(n," delegate function."))}}},{key:"onEditorValueChanged",value:function(e){var t=this,n=this.options.mode;if(this.ignoreNextTextChange)this.ignoreNextTextChange=!1;else if(this.note){var r=this.note;this.componentRelay.saveItemWithPresave(r,(function(){if(r.content.text=e,t.delegate.generateCustomPreview){var o,i=t.delegate.generateCustomPreview(e);r.content.preview_plain=null!==(o=i.plain)&&void 0!==o?o:" ",r.content.preview_html=i.html}else{if("html"===n){var a=e;a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:90;return e.length<=t?e:e.substring(0,t)+"..."}(function(e){var t=document.implementation.createHTMLDocument().body;return t.innerHTML=e,t.textContent||t.innerText||""}(a)),r.content.preview_plain=a.length>0?a:" "}else r.content.preview_plain=e;r.content.preview_html=void 0}}))}}},{key:"saveItemWithPresave",value:function(e,t){this.componentRelay.saveItemWithPresave(e,t)}},{key:"platform",get:function(){return this.componentRelay.platform}},{key:"environment",get:function(){return this.componentRelay.environment}},{key:"getComponentDataValueForKey",value:function(e){return this.componentRelay.getComponentDataValueForKey(e)}},{key:"setComponentDataValueForKey",value:function(e,t){this.componentRelay.setComponentDataValueForKey(e,t)}},{key:"isRunningInMobileApplication",value:function(){return this.componentRelay.isRunningInMobileApplication()}}]),e}()}(),c.default}()},379:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Deferred=void 0;t.Deferred=function(){var e,t,n=new Promise((function(n,r){e=n,t=r}));return{resolve:e,reject:t,promise:n}}},622:function(e,t,n){"use strict";var r=n(61).default,o=n(861).default,i=n(704).default,a=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{l(r.next(e))}catch(t){i(t)}}function u(e){try{l(r.throw(e))}catch(t){i(t)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,u)}l((r=r.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.isSameDay=t.assertUnreachable=t.sleep=t.truncateHexString=t.hasGetter=t.isValidUrl=t.deepFreeze=t.pickByCopy=t.deepMerge=t.Copy=t.joinPaths=t.omitByCopy=t.omitInPlace=t.withoutLastElement=t.jsonParseEmbeddedKeys=t.topLevelCompare=t.dateSorted=t.omitUndefinedCopy=t.sortByKey=t.sortedCopy=t.objectToValueArray=t.arrayByRemovingFromIndex=t.addAtIndex=t.removeFromIndex=t.compareValues=t.arrayByDifference=t.filterFromArray=t.addIfUnique=t.removeFromArray=t.subtractFromArray=t.extendArray=t.lastElement=t.uniqueArrayByKey=t.uniqueArray=t.uniqCombineObjArrays=t.greaterOfTwoDates=t.isString=t.isEmpty=t.isNotUndefined=t.isNullOrUndefined=t.isFunction=t.isObject=t.sureSearchArray=t.searchArray=t.findInArray=t.isReactNativeEnvironment=t.isWebCryptoAvailable=t.isWebEnvironment=t.dictToArray=t.getGlobalScope=void 0,t.useBoolean=t.assert=t.log=t.secondHalfOfString=t.firstHalfOfString=t.splitString=t.nonSecureRandomIdentifier=t.dateToLocalizedString=t.sanitizeHtmlString=t.convertTimestampToMilliseconds=t.arraysEqual=t.naturalSort=void 0;var u=n(703),l=n(763),c="undefined"!==typeof Intl?new Intl.Collator("en",{numeric:!0}):void 0;function s(){return"undefined"!==typeof window?window:"undefined"!==typeof n.g?n.g:null}function f(){return null!==s()}function d(){return"undefined"!==typeof navigator&&"ReactNative"===navigator.product}function p(e,t){return(0,l.find)(e,t)}function h(e){return null!==e&&("function"===typeof e||"object"===typeof e)}function v(e){return null===e||void 0===e}function g(e,t){var n=e.indexOf(t);-1!==n&&e.splice(n,1)}function m(e,t){e.splice(t,1)}t.getGlobalScope=s,t.dictToArray=function(e){return Object.values(e)},t.isWebEnvironment=f,t.isWebCryptoAvailable=function(){return f()&&!d()&&!(document&&document.documentMode)||/Edge/.test(navigator.userAgent)&&window.crypto&&!!window.crypto.subtle},t.isReactNativeEnvironment=d,t.findInArray=function(e,t,n){return e.find((function(e){return e[t]===n}))},t.searchArray=p,t.sureSearchArray=function(e,t){return p(e,t)},t.isObject=h,t.isFunction=function(e){return null!==e&&"function"===typeof e},t.isNullOrUndefined=v,t.isNotUndefined=function(e){return void 0!=e},t.isEmpty=function(e){return!e||0===e.length},t.isString=function(e){return"string"===typeof e||e instanceof String},t.greaterOfTwoDates=function(e,t){return e>t?e:t},t.uniqCombineObjArrays=function(e,t,n){return(0,l.uniqWith)(e.concat(t),(function(e,t){var r,o=i(n);try{for(o.s();!(r=o.n()).done;){var a=r.value;if(e[a]!==t[a])return!1}}catch(u){o.e(u)}finally{o.f()}return!0}))},t.uniqueArray=function(e){return(0,l.uniq)(e)},t.uniqueArrayByKey=function(e,t){return(0,l.uniqWith)(e,(function(e,n){return e[t]===n[t]}))},t.lastElement=function(e){return e[e.length-1]},t.extendArray=function(e,t){var n,r=i(t);try{for(r.s();!(n=r.n()).done;){var o=n.value;e.push(o)}}catch(a){r.e(a)}finally{r.f()}},t.subtractFromArray=function(e,t){var n,r=i(t);try{for(r.s();!(n=r.n()).done;){g(e,n.value)}}catch(o){r.e(o)}finally{r.f()}},t.removeFromArray=g,t.addIfUnique=function(e,t){return!e.includes(t)&&(e.push(t),!0)},t.filterFromArray=function(e,t){(0,l.remove)(e,t)},t.arrayByDifference=function(e,t){return e.filter((function(e){return!t.includes(e)})).concat(t.filter((function(t){return!e.includes(t)})))},t.compareValues=function(e,t){return!(e&&!t||!e&&t)&&(e instanceof Date&&t instanceof Date?e.getTime()===t.getTime():e instanceof String&&t instanceof String?e===t:y(e,t))},t.removeFromIndex=m,t.addAtIndex=function(e,t,n){e.splice(n,0,t)},t.arrayByRemovingFromIndex=function(e,t){var n=e.slice();return m(n,t),n},t.objectToValueArray=function(e){for(var t=[],n=0,r=Object.keys(e);n<r.length;n++){var o=r[n];t.push(e[o])}return t},t.sortedCopy=function(e){var t,n=Object.keys(e).sort(),r={},o=i(n);try{for(o.s();!(t=o.n()).done;){var a=t.value;r[a]=e[a]}}catch(u){o.e(u)}finally{o.f()}return b(r)};function y(e,t){if(!e&&!t)return!0;if(!e||!t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var o=0,i=n;o<i.length;o++){var a=i[o];if(e[a]!==t[a])return!1}return!0}t.sortByKey=function(e,t){var n=o(e);return n.sort((function(e,n){var r=e[t],o=n[t];return r<o?-1:r>o?1:0})),n},t.omitUndefinedCopy=function(e){for(var t={},n=0,r=Object.keys(e);n<r.length;n++){var o=r[n];v(e[o])||(t[o]=e[o])}return t},t.dateSorted=function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return e.sort((function(e,r){var o=e[t].getTime(),i=r[t].getTime(),a=n?1:-1;return o<i?-1*a:o>i?1*a:0}))},t.topLevelCompare=y,t.jsonParseEmbeddedKeys=function(e){for(var t={},n=0,r=Object.keys(e);n<r.length;n++){var o=r[n],i=void 0;try{i=JSON.parse(e[o])}catch(a){i=e[o]}t[o]=i}return t};function b(e){return e instanceof Date?new Date(e):h(e)?JSON.parse(JSON.stringify(e)):e}t.withoutLastElement=function(e){return e.slice(0,-1)},t.omitInPlace=function(e,t){if(e){var n,r=i(t);try{for(r.s();!(n=r.n()).done;){delete e[n.value]}}catch(o){r.e(o)}finally{r.f()}}},t.omitByCopy=function(e,t){if(!v(e)){var n,r=Object.assign({},e),o=i(t);try{for(o.s();!(n=o.n()).done;){delete r[n.value]}}catch(a){o.e(a)}finally{o.f()}return r}},t.joinPaths=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.map((function(e,t){return 0===t?e.trim().replace(/[/]*$/g,""):e.trim().replace(/(^[/]*|[/]*$)/g,"")})).filter((function(e){return e.length})).join("/")},t.Copy=b,t.deepMerge=function(e,t){if(!e||!t)throw"Attempting to deepMerge with null values";return(0,l.mergeWith)(e,t,(function(e,t){if((0,l.isArray)(e))return t})),e},t.pickByCopy=function(e,t){var n,r={},o=i(t);try{for(o.s();!(n=o.n()).done;){var a=n.value;r[a]=e[a]}}catch(u){o.e(u)}finally{o.f()}return b(r)},t.deepFreeze=function e(t){var n,r=Object.getOwnPropertyNames(t),o=i(r);try{for(o.s();!(n=o.n()).done;){var a=n.value,u=t[a];u&&"object"===typeof u&&!Object.isFrozen(u)?t[a]=e(u):t[a]=u}}catch(l){o.e(l)}finally{o.f()}return Object.freeze(t)},t.isValidUrl=function(e){try{return new URL(e),!0}catch(t){return!1}},t.hasGetter=function(e,t){var n=Object.getOwnPropertyDescriptor(Object.getPrototypeOf(e),t);return n&&!v(n.get)},t.truncateHexString=function(e,t){var n=t/4;return e.substring(0,n)},t.sleep=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return a(this,void 0,void 0,r().mark((function n(){return r().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return t&&console.warn("Sleeping for ".concat(e,"ms")),n.abrupt("return",new Promise((function(t){setTimeout((function(){t()}),e)})));case 2:case"end":return n.stop()}}),n)})))},t.assertUnreachable=function(e){throw Error("Unchecked case "+e)},t.isSameDay=function(e,t){return e.getFullYear()===t.getFullYear()&&e.getMonth()===t.getMonth()&&e.getDate()===t.getDate()},t.naturalSort=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"asc";switch(n){case"asc":return o(e).sort(c?function(e,n){return c.compare(e[t],n[t])}:function(e,n){return e[t].localeCompare(n[t],"en",{numeric:!0})});case"desc":return o(e).sort(c?function(e,n){return c.compare(n[t],e[t])}:function(e,n){return n[t].localeCompare(e[t],"en",{numeric:!0})})}},t.arraysEqual=function(e,t){return e.length===t.length&&(e.every((function(e){return t.includes(e)}))&&t.every((function(t){return e.includes(t)})))};var w,x;function E(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];Function.prototype.apply.call(console.log,console,arguments)}!function(e){e[e.Seconds=10]="Seconds",e[e.Milliseconds=13]="Milliseconds",e[e.Microseconds=16]="Microseconds"}(w||(w={})),t.convertTimestampToMilliseconds=function(e){switch(String(e).length){case w.Seconds:return 1e3*e;case w.Milliseconds:return e;case w.Microseconds:return Math.floor(e/1e3);default:throw"Unhandled timestamp precision: ".concat(e)}},t.sanitizeHtmlString=function(e){return(0,u.sanitize)(e)},t.dateToLocalizedString=function(e){if("undefined"!==typeof Intl&&Intl.DateTimeFormat&&"undefined"!==typeof navigator){if(!x){var t=navigator.languages&&navigator.languages.length?navigator.languages[0]:navigator.language;x=new Intl.DateTimeFormat(t,{year:"numeric",month:"short",day:"2-digit",weekday:"long",hour:"2-digit",minute:"2-digit"})}return x.format(e)}return e.toDateString()+" "+e.toLocaleTimeString()},t.nonSecureRandomIdentifier=function(){return"".concat(100*Math.random()).replace(".","")},t.splitString=function(e,t){for(var n=e.length/t,r=[],o=0;o<t;o++){var i=e.slice(n*o,n*(o+1));r.push(i)}return r},t.firstHalfOfString=function(e){return e.substring(0,e.length/2)},t.secondHalfOfString=function(e){return e.substring(e.length/2,e.length)},t.log=function(e){for(var t=new Date,n="".concat(t.toLocaleTimeString().replace(" PM","").replace(" AM",""),".").concat(t.getMilliseconds()),r=arguments.length,o=new Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];E.apply(void 0,["%c".concat(e,"%c").concat(n),"color: black; font-weight: bold; margin-right: 4px","color: gray"].concat(o))},t.assert=function(e){if(void 0===e)throw new Error("Assertion failed; value must be defined")},t.useBoolean=function(e,t){return void 0!=e?e:t}},632:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Uuids=void 0,t.Uuids=function(e){return e.map((function(e){return e.uuid}))}},528:function(e,t,n){"use strict";var r=n(690).default,o=n(728).default;Object.defineProperty(t,"__esModule",{value:!0}),t.UuidGenerator=void 0;var i=function(){function e(){r(this,e)}return o(e,null,[{key:"SetGenerator",value:function(e){this.syncUuidFunc=e}},{key:"GenerateUuid",value:function(){return this.syncUuidFunc()}}]),e}();t.UuidGenerator=i},942:function(e,t,n){"use strict";var r=n(704).default,o=n(690).default,i=n(728).default;Object.defineProperty(t,"__esModule",{value:!0}),t.UuidMap=void 0;var a=n(622),u=function(){function e(){o(this,e),this.directMap={},this.inverseMap={}}return i(e,[{key:"makeCopy",value:function(){var t=new e;return t.directMap=Object.assign({},this.directMap),t.inverseMap=Object.assign({},this.inverseMap),t}},{key:"getDirectRelationships",value:function(e){return this.directMap[e]||[]}},{key:"getInverseRelationships",value:function(e){return this.inverseMap[e]||[]}},{key:"establishRelationship",value:function(e,t){this.establishDirectRelationship(e,t),this.establishInverseRelationship(e,t)}},{key:"deestablishRelationship",value:function(e,t){this.deestablishDirectRelationship(e,t),this.deestablishInverseRelationship(e,t)}},{key:"setAllRelationships",value:function(e,t){var n=this.directMap[e]||[];this.directMap[e]=t;var o,i=r(n);try{for(i.s();!(o=i.n()).done;){var a=o.value;this.deestablishInverseRelationship(e,a)}}catch(s){i.e(s)}finally{i.f()}var u,l=r(t);try{for(l.s();!(u=l.n()).done;){var c=u.value;this.establishInverseRelationship(e,c)}}catch(s){l.e(s)}finally{l.f()}}},{key:"removeFromMap",value:function(e){var t,n=this.directMap[e]||[],o=r(n);try{for(o.s();!(t=o.n()).done;){var i=t.value;(0,a.removeFromArray)(this.inverseMap[i]||[],e)}}catch(f){o.e(f)}finally{o.f()}delete this.directMap[e];var u,l=this.inverseMap[e]||[],c=r(l);try{for(c.s();!(u=c.n()).done;){var s=u.value;(0,a.removeFromArray)(this.directMap[s]||[],e)}}catch(f){c.e(f)}finally{c.f()}delete this.inverseMap[e]}},{key:"establishDirectRelationship",value:function(e,t){var n=this.directMap[e]||[];(0,a.addIfUnique)(n,t),this.directMap[e]=n}},{key:"establishInverseRelationship",value:function(e,t){var n=this.inverseMap[t]||[];(0,a.addIfUnique)(n,e),this.inverseMap[t]=n}},{key:"deestablishDirectRelationship",value:function(e,t){var n=this.directMap[e]||[];(0,a.removeFromArray)(n,t),this.directMap[e]=n}},{key:"deestablishInverseRelationship",value:function(e,t){var n=this.inverseMap[t]||[];(0,a.removeFromArray)(n,e),this.inverseMap[t]=n}}]),e}();t.UuidMap=u},911:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(622),t),o(n(528),t),o(n(942),t),o(n(632),t),o(n(379),t)},516:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(911),t)},703:function(e){e.exports=function(){"use strict";function e(t){return e="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},e(t)}function t(e,n){return t=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},t(e,n)}function n(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function r(e,o,i){return r=n()?Reflect.construct:function(e,n,r){var o=[null];o.push.apply(o,n);var i=new(Function.bind.apply(e,o));return r&&t(i,r.prototype),i},r.apply(null,arguments)}function o(e){return i(e)||a(e)||u(e)||c()}function i(e){if(Array.isArray(e))return l(e)}function a(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function u(e,t){if(e){if("string"===typeof e)return l(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)?l(e,t):void 0}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function c(){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 s=Object.hasOwnProperty,f=Object.setPrototypeOf,d=Object.isFrozen,p=Object.getPrototypeOf,h=Object.getOwnPropertyDescriptor,v=Object.freeze,g=Object.seal,m=Object.create,y="undefined"!==typeof Reflect&&Reflect,b=y.apply,w=y.construct;b||(b=function(e,t,n){return e.apply(t,n)}),v||(v=function(e){return e}),g||(g=function(e){return e}),w||(w=function(e,t){return r(e,o(t))});var x=T(Array.prototype.forEach),E=T(Array.prototype.pop),k=T(Array.prototype.push),S=T(String.prototype.toLowerCase),_=T(String.prototype.match),C=T(String.prototype.replace),O=T(String.prototype.indexOf),I=T(String.prototype.trim),N=T(RegExp.prototype.test),D=R(TypeError);function T(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return b(e,t,r)}}function R(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return w(e,n)}}function A(e,t,n){n=n||S,f&&f(e,null);for(var r=t.length;r--;){var o=t[r];if("string"===typeof o){var i=n(o);i!==o&&(d(t)||(t[r]=i),o=i)}e[o]=!0}return e}function P(e){var t,n=m(null);for(t in e)b(s,e,[t])&&(n[t]=e[t]);return n}function L(e,t){for(;null!==e;){var n=h(e,t);if(n){if(n.get)return T(n.get);if("function"===typeof n.value)return T(n.value)}e=p(e)}function r(e){return console.warn("fallback value for",e),null}return r}var M=v(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),j=v(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),F=v(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),B=v(["animate","color-profile","cursor","discard","fedropshadow","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),z=v(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"]),U=v(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),W=v(["#text"]),H=v(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),G=v(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),V=v(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),$=v(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),q=g(/\{\{[\w\W]*|[\w\W]*\}\}/gm),K=g(/<%[\w\W]*|[\w\W]*%>/gm),Y=g(/^data-[\-\w.\u00B7-\uFFFF]/),Z=g(/^aria-[\-\w]+$/),X=g(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Q=g(/^(?:\w+script|data):/i),J=g(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),ee=g(/^html$/i),te=function(){return"undefined"===typeof window?null:window},ne=function(t,n){if("object"!==e(t)||"function"!==typeof t.createPolicy)return null;var r=null,o="data-tt-policy-suffix";n.currentScript&&n.currentScript.hasAttribute(o)&&(r=n.currentScript.getAttribute(o));var i="dompurify"+(r?"#"+r:"");try{return t.createPolicy(i,{createHTML:function(e){return e},createScriptURL:function(e){return e}})}catch(a){return console.warn("TrustedTypes policy "+i+" could not be created."),null}};function re(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:te(),n=function(e){return re(e)};if(n.version="2.4.0",n.removed=[],!t||!t.document||9!==t.document.nodeType)return n.isSupported=!1,n;var r=t.document,i=t.document,a=t.DocumentFragment,u=t.HTMLTemplateElement,l=t.Node,c=t.Element,s=t.NodeFilter,f=t.NamedNodeMap,d=void 0===f?t.NamedNodeMap||t.MozNamedAttrMap:f,p=t.HTMLFormElement,h=t.DOMParser,g=t.trustedTypes,m=c.prototype,y=L(m,"cloneNode"),b=L(m,"nextSibling"),w=L(m,"childNodes"),T=L(m,"parentNode");if("function"===typeof u){var R=i.createElement("template");R.content&&R.content.ownerDocument&&(i=R.content.ownerDocument)}var oe=ne(g,r),ie=oe?oe.createHTML(""):"",ae=i,ue=ae.implementation,le=ae.createNodeIterator,ce=ae.createDocumentFragment,se=ae.getElementsByTagName,fe=r.importNode,de={};try{de=P(i).documentMode?i.documentMode:{}}catch(Ot){}var pe={};n.isSupported="function"===typeof T&&ue&&"undefined"!==typeof ue.createHTMLDocument&&9!==de;var he,ve,ge=q,me=K,ye=Y,be=Z,we=Q,xe=J,Ee=X,ke=null,Se=A({},[].concat(o(M),o(j),o(F),o(z),o(W))),_e=null,Ce=A({},[].concat(o(H),o(G),o(V),o($))),Oe=Object.seal(Object.create(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Ie=null,Ne=null,De=!0,Te=!0,Re=!1,Ae=!1,Pe=!1,Le=!1,Me=!1,je=!1,Fe=!1,Be=!1,ze=!0,Ue=!1,We="user-content-",He=!0,Ge=!1,Ve={},$e=null,qe=A({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),Ke=null,Ye=A({},["audio","video","img","source","image","track"]),Ze=null,Xe=A({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Qe="http://www.w3.org/1998/Math/MathML",Je="http://www.w3.org/2000/svg",et="http://www.w3.org/1999/xhtml",tt=et,nt=!1,rt=["application/xhtml+xml","text/html"],ot="text/html",it=null,at=i.createElement("form"),ut=function(e){return e instanceof RegExp||e instanceof Function},lt=function(t){it&&it===t||(t&&"object"===e(t)||(t={}),t=P(t),he=he=-1===rt.indexOf(t.PARSER_MEDIA_TYPE)?ot:t.PARSER_MEDIA_TYPE,ve="application/xhtml+xml"===he?function(e){return e}:S,ke="ALLOWED_TAGS"in t?A({},t.ALLOWED_TAGS,ve):Se,_e="ALLOWED_ATTR"in t?A({},t.ALLOWED_ATTR,ve):Ce,Ze="ADD_URI_SAFE_ATTR"in t?A(P(Xe),t.ADD_URI_SAFE_ATTR,ve):Xe,Ke="ADD_DATA_URI_TAGS"in t?A(P(Ye),t.ADD_DATA_URI_TAGS,ve):Ye,$e="FORBID_CONTENTS"in t?A({},t.FORBID_CONTENTS,ve):qe,Ie="FORBID_TAGS"in t?A({},t.FORBID_TAGS,ve):{},Ne="FORBID_ATTR"in t?A({},t.FORBID_ATTR,ve):{},Ve="USE_PROFILES"in t&&t.USE_PROFILES,De=!1!==t.ALLOW_ARIA_ATTR,Te=!1!==t.ALLOW_DATA_ATTR,Re=t.ALLOW_UNKNOWN_PROTOCOLS||!1,Ae=t.SAFE_FOR_TEMPLATES||!1,Pe=t.WHOLE_DOCUMENT||!1,je=t.RETURN_DOM||!1,Fe=t.RETURN_DOM_FRAGMENT||!1,Be=t.RETURN_TRUSTED_TYPE||!1,Me=t.FORCE_BODY||!1,ze=!1!==t.SANITIZE_DOM,Ue=t.SANITIZE_NAMED_PROPS||!1,He=!1!==t.KEEP_CONTENT,Ge=t.IN_PLACE||!1,Ee=t.ALLOWED_URI_REGEXP||Ee,tt=t.NAMESPACE||et,t.CUSTOM_ELEMENT_HANDLING&&ut(t.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(Oe.tagNameCheck=t.CUSTOM_ELEMENT_HANDLING.tagNameCheck),t.CUSTOM_ELEMENT_HANDLING&&ut(t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(Oe.attributeNameCheck=t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),t.CUSTOM_ELEMENT_HANDLING&&"boolean"===typeof t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(Oe.allowCustomizedBuiltInElements=t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Ae&&(Te=!1),Fe&&(je=!0),Ve&&(ke=A({},o(W)),_e=[],!0===Ve.html&&(A(ke,M),A(_e,H)),!0===Ve.svg&&(A(ke,j),A(_e,G),A(_e,$)),!0===Ve.svgFilters&&(A(ke,F),A(_e,G),A(_e,$)),!0===Ve.mathMl&&(A(ke,z),A(_e,V),A(_e,$))),t.ADD_TAGS&&(ke===Se&&(ke=P(ke)),A(ke,t.ADD_TAGS,ve)),t.ADD_ATTR&&(_e===Ce&&(_e=P(_e)),A(_e,t.ADD_ATTR,ve)),t.ADD_URI_SAFE_ATTR&&A(Ze,t.ADD_URI_SAFE_ATTR,ve),t.FORBID_CONTENTS&&($e===qe&&($e=P($e)),A($e,t.FORBID_CONTENTS,ve)),He&&(ke["#text"]=!0),Pe&&A(ke,["html","head","body"]),ke.table&&(A(ke,["tbody"]),delete Ie.tbody),v&&v(t),it=t)},ct=A({},["mi","mo","mn","ms","mtext"]),st=A({},["foreignobject","desc","title","annotation-xml"]),ft=A({},["title","style","font","a","script"]),dt=A({},j);A(dt,F),A(dt,B);var pt=A({},z);A(pt,U);var ht=function(e){var t=T(e);t&&t.tagName||(t={namespaceURI:et,tagName:"template"});var n=S(e.tagName),r=S(t.tagName);return e.namespaceURI===Je?t.namespaceURI===et?"svg"===n:t.namespaceURI===Qe?"svg"===n&&("annotation-xml"===r||ct[r]):Boolean(dt[n]):e.namespaceURI===Qe?t.namespaceURI===et?"math"===n:t.namespaceURI===Je?"math"===n&&st[r]:Boolean(pt[n]):e.namespaceURI===et&&!(t.namespaceURI===Je&&!st[r])&&!(t.namespaceURI===Qe&&!ct[r])&&!pt[n]&&(ft[n]||!dt[n])},vt=function(e){k(n.removed,{element:e});try{e.parentNode.removeChild(e)}catch(Ot){try{e.outerHTML=ie}catch(Ot){e.remove()}}},gt=function(e,t){try{k(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(Ot){k(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!_e[e])if(je||Fe)try{vt(t)}catch(Ot){}else try{t.setAttribute(e,"")}catch(Ot){}},mt=function(e){var t,n;if(Me)e="<remove></remove>"+e;else{var r=_(e,/^[\r\n\t ]+/);n=r&&r[0]}"application/xhtml+xml"===he&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");var o=oe?oe.createHTML(e):e;if(tt===et)try{t=(new h).parseFromString(o,he)}catch(Ot){}if(!t||!t.documentElement){t=ue.createDocument(tt,"template",null);try{t.documentElement.innerHTML=nt?"":o}catch(Ot){}}var a=t.body||t.documentElement;return e&&n&&a.insertBefore(i.createTextNode(n),a.childNodes[0]||null),tt===et?se.call(t,Pe?"html":"body")[0]:Pe?t.documentElement:a},yt=function(e){return le.call(e.ownerDocument||e,e,s.SHOW_ELEMENT|s.SHOW_COMMENT|s.SHOW_TEXT,null,!1)},bt=function(e){return e instanceof p&&("string"!==typeof e.nodeName||"string"!==typeof e.textContent||"function"!==typeof e.removeChild||!(e.attributes instanceof d)||"function"!==typeof e.removeAttribute||"function"!==typeof e.setAttribute||"string"!==typeof e.namespaceURI||"function"!==typeof e.insertBefore)},wt=function(t){return"object"===e(l)?t instanceof l:t&&"object"===e(t)&&"number"===typeof t.nodeType&&"string"===typeof t.nodeName},xt=function(e,t,r){pe[e]&&x(pe[e],(function(e){e.call(n,t,r,it)}))},Et=function(e){var t;if(xt("beforeSanitizeElements",e,null),bt(e))return vt(e),!0;if(N(/[\u0080-\uFFFF]/,e.nodeName))return vt(e),!0;var r=ve(e.nodeName);if(xt("uponSanitizeElement",e,{tagName:r,allowedTags:ke}),e.hasChildNodes()&&!wt(e.firstElementChild)&&(!wt(e.content)||!wt(e.content.firstElementChild))&&N(/<[/\w]/g,e.innerHTML)&&N(/<[/\w]/g,e.textContent))return vt(e),!0;if("select"===r&&N(/<template/i,e.innerHTML))return vt(e),!0;if(!ke[r]||Ie[r]){if(!Ie[r]&&St(r)){if(Oe.tagNameCheck instanceof RegExp&&N(Oe.tagNameCheck,r))return!1;if(Oe.tagNameCheck instanceof Function&&Oe.tagNameCheck(r))return!1}if(He&&!$e[r]){var o=T(e)||e.parentNode,i=w(e)||e.childNodes;if(i&&o)for(var a=i.length-1;a>=0;--a)o.insertBefore(y(i[a],!0),b(e))}return vt(e),!0}return e instanceof c&&!ht(e)?(vt(e),!0):"noscript"!==r&&"noembed"!==r||!N(/<\/no(script|embed)/i,e.innerHTML)?(Ae&&3===e.nodeType&&(t=e.textContent,t=C(t,ge," "),t=C(t,me," "),e.textContent!==t&&(k(n.removed,{element:e.cloneNode()}),e.textContent=t)),xt("afterSanitizeElements",e,null),!1):(vt(e),!0)},kt=function(e,t,n){if(ze&&("id"===t||"name"===t)&&(n in i||n in at))return!1;if(Te&&!Ne[t]&&N(ye,t));else if(De&&N(be,t));else if(!_e[t]||Ne[t]){if(!(St(e)&&(Oe.tagNameCheck instanceof RegExp&&N(Oe.tagNameCheck,e)||Oe.tagNameCheck instanceof Function&&Oe.tagNameCheck(e))&&(Oe.attributeNameCheck instanceof RegExp&&N(Oe.attributeNameCheck,t)||Oe.attributeNameCheck instanceof Function&&Oe.attributeNameCheck(t))||"is"===t&&Oe.allowCustomizedBuiltInElements&&(Oe.tagNameCheck instanceof RegExp&&N(Oe.tagNameCheck,n)||Oe.tagNameCheck instanceof Function&&Oe.tagNameCheck(n))))return!1}else if(Ze[t]);else if(N(Ee,C(n,xe,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==O(n,"data:")||!Ke[e])if(Re&&!N(we,C(n,xe,"")));else if(n)return!1;return!0},St=function(e){return e.indexOf("-")>0},_t=function(t){var r,o,i,a;xt("beforeSanitizeAttributes",t,null);var u=t.attributes;if(u){var l={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:_e};for(a=u.length;a--;){var c=r=u[a],s=c.name,f=c.namespaceURI;if(o="value"===s?r.value:I(r.value),i=ve(s),l.attrName=i,l.attrValue=o,l.keepAttr=!0,l.forceKeepAttr=void 0,xt("uponSanitizeAttribute",t,l),o=l.attrValue,!l.forceKeepAttr&&(gt(s,t),l.keepAttr))if(N(/\/>/i,o))gt(s,t);else{Ae&&(o=C(o,ge," "),o=C(o,me," "));var d=ve(t.nodeName);if(kt(d,i,o)){if(!Ue||"id"!==i&&"name"!==i||(gt(s,t),o=We+o),oe&&"object"===e(g)&&"function"===typeof g.getAttributeType)if(f);else switch(g.getAttributeType(d,i)){case"TrustedHTML":o=oe.createHTML(o);break;case"TrustedScriptURL":o=oe.createScriptURL(o)}try{f?t.setAttributeNS(f,s,o):t.setAttribute(s,o),E(n.removed)}catch(Ot){}}}}xt("afterSanitizeAttributes",t,null)}},Ct=function e(t){var n,r=yt(t);for(xt("beforeSanitizeShadowDOM",t,null);n=r.nextNode();)xt("uponSanitizeShadowNode",n,null),Et(n)||(n.content instanceof a&&e(n.content),_t(n));xt("afterSanitizeShadowDOM",t,null)};return n.sanitize=function(o){var i,u,c,s,f,d=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if((nt=!o)&&(o="\x3c!--\x3e"),"string"!==typeof o&&!wt(o)){if("function"!==typeof o.toString)throw D("toString is not a function");if("string"!==typeof(o=o.toString()))throw D("dirty is not a string, aborting")}if(!n.isSupported){if("object"===e(t.toStaticHTML)||"function"===typeof t.toStaticHTML){if("string"===typeof o)return t.toStaticHTML(o);if(wt(o))return t.toStaticHTML(o.outerHTML)}return o}if(Le||lt(d),n.removed=[],"string"===typeof o&&(Ge=!1),Ge){if(o.nodeName){var p=ve(o.nodeName);if(!ke[p]||Ie[p])throw D("root node is forbidden and cannot be sanitized in-place")}}else if(o instanceof l)1===(u=(i=mt("\x3c!----\x3e")).ownerDocument.importNode(o,!0)).nodeType&&"BODY"===u.nodeName||"HTML"===u.nodeName?i=u:i.appendChild(u);else{if(!je&&!Ae&&!Pe&&-1===o.indexOf("<"))return oe&&Be?oe.createHTML(o):o;if(!(i=mt(o)))return je?null:Be?ie:""}i&&Me&&vt(i.firstChild);for(var h=yt(Ge?o:i);c=h.nextNode();)3===c.nodeType&&c===s||Et(c)||(c.content instanceof a&&Ct(c.content),_t(c),s=c);if(s=null,Ge)return o;if(je){if(Fe)for(f=ce.call(i.ownerDocument);i.firstChild;)f.appendChild(i.firstChild);else f=i;return _e.shadowroot&&(f=fe.call(r,f,!0)),f}var v=Pe?i.outerHTML:i.innerHTML;return Pe&&ke["!doctype"]&&i.ownerDocument&&i.ownerDocument.doctype&&i.ownerDocument.doctype.name&&N(ee,i.ownerDocument.doctype.name)&&(v="<!DOCTYPE "+i.ownerDocument.doctype.name+">\n"+v),Ae&&(v=C(v,ge," "),v=C(v,me," ")),oe&&Be?oe.createHTML(v):v},n.setConfig=function(e){lt(e),Le=!0},n.clearConfig=function(){it=null,Le=!1},n.isValidAttribute=function(e,t,n){it||lt({});var r=ve(e),o=ve(t);return kt(r,o,n)},n.addHook=function(e,t){"function"===typeof t&&(pe[e]=pe[e]||[],k(pe[e],t))},n.removeHook=function(e){if(pe[e])return E(pe[e])},n.removeHooks=function(e){pe[e]&&(pe[e]=[])},n.removeAllHooks=function(){pe={}},n}return re()}()},110:function(e,t,n){"use strict";var r=n(309),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},u={};function l(e){return r.isMemo(e)?a:u[e.$$typeof]||o}u[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},u[r.Memo]=a;var c=Object.defineProperty,s=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!==typeof n){if(h){var o=p(n);o&&o!==h&&e(t,o,r)}var a=s(n);f&&(a=a.concat(f(n)));for(var u=l(t),v=l(n),g=0;g<a.length;++g){var m=a[g];if(!i[m]&&(!r||!r[m])&&(!v||!v[m])&&(!u||!u[m])){var y=d(n,m);try{c(t,m,y)}catch(b){}}}}return t}},746:function(e,t){"use strict";var n="function"===typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,i=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,u=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,s=n?Symbol.for("react.async_mode"):60111,f=n?Symbol.for("react.concurrent_mode"):60111,d=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,v=n?Symbol.for("react.memo"):60115,g=n?Symbol.for("react.lazy"):60116,m=n?Symbol.for("react.block"):60121,y=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function x(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case s:case f:case i:case u:case a:case p:return e;default:switch(e=e&&e.$$typeof){case c:case d:case g:case v:case l:return e;default:return t}}case o:return t}}}function E(e){return x(e)===f}t.AsyncMode=s,t.ConcurrentMode=f,t.ContextConsumer=c,t.ContextProvider=l,t.Element=r,t.ForwardRef=d,t.Fragment=i,t.Lazy=g,t.Memo=v,t.Portal=o,t.Profiler=u,t.StrictMode=a,t.Suspense=p,t.isAsyncMode=function(e){return E(e)||x(e)===s},t.isConcurrentMode=E,t.isContextConsumer=function(e){return x(e)===c},t.isContextProvider=function(e){return x(e)===l},t.isElement=function(e){return"object"===typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return x(e)===d},t.isFragment=function(e){return x(e)===i},t.isLazy=function(e){return x(e)===g},t.isMemo=function(e){return x(e)===v},t.isPortal=function(e){return x(e)===o},t.isProfiler=function(e){return x(e)===u},t.isStrictMode=function(e){return x(e)===a},t.isSuspense=function(e){return x(e)===p},t.isValidElementType=function(e){return"string"===typeof e||"function"===typeof e||e===i||e===f||e===u||e===a||e===p||e===h||"object"===typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===v||e.$$typeof===l||e.$$typeof===c||e.$$typeof===d||e.$$typeof===y||e.$$typeof===b||e.$$typeof===w||e.$$typeof===m)},t.typeOf=x},309:function(e,t,n){"use strict";e.exports=n(746)},176:function(e){"use strict";e.exports=function(e,t,n,r,o,i,a,u){if(!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,o,i,a,u],s=0;(l=new Error(t.replace(/%s/g,(function(){return c[s++]})))).name="Invariant Violation"}throw l.framesToPop=1,l}}},763:function(e,t,n){var r;e=n.nmd(e),function(){var o,i="Expected a function",a="__lodash_hash_undefined__",u="__lodash_placeholder__",l=16,c=32,s=64,f=128,d=256,p=1/0,h=9007199254740991,v=NaN,g=4294967295,m=[["ary",f],["bind",1],["bindKey",2],["curry",8],["curryRight",l],["flip",512],["partial",c],["partialRight",s],["rearg",d]],y="[object Arguments]",b="[object Array]",w="[object Boolean]",x="[object Date]",E="[object Error]",k="[object Function]",S="[object GeneratorFunction]",_="[object Map]",C="[object Number]",O="[object Object]",I="[object Promise]",N="[object RegExp]",D="[object Set]",T="[object String]",R="[object Symbol]",A="[object WeakMap]",P="[object ArrayBuffer]",L="[object DataView]",M="[object Float32Array]",j="[object Float64Array]",F="[object Int8Array]",B="[object Int16Array]",z="[object Int32Array]",U="[object Uint8Array]",W="[object Uint8ClampedArray]",H="[object Uint16Array]",G="[object Uint32Array]",V=/\b__p \+= '';/g,$=/\b(__p \+=) '' \+/g,q=/(__e\(.*?\)|\b__t\)) \+\n'';/g,K=/&(?:amp|lt|gt|quot|#39);/g,Y=/[&<>"']/g,Z=RegExp(K.source),X=RegExp(Y.source),Q=/<%-([\s\S]+?)%>/g,J=/<%([\s\S]+?)%>/g,ee=/<%=([\s\S]+?)%>/g,te=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ne=/^\w*$/,re=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,oe=/[\\^$.*+?()[\]{}|]/g,ie=RegExp(oe.source),ae=/^\s+/,ue=/\s/,le=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ce=/\{\n\/\* \[wrapped with (.+)\] \*/,se=/,? & /,fe=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,de=/[()=,{}\[\]\/\s]/,pe=/\\(\\)?/g,he=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,ve=/\w*$/,ge=/^[-+]0x[0-9a-f]+$/i,me=/^0b[01]+$/i,ye=/^\[object .+?Constructor\]$/,be=/^0o[0-7]+$/i,we=/^(?:0|[1-9]\d*)$/,xe=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Ee=/($^)/,ke=/['\n\r\u2028\u2029\\]/g,Se="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",_e="\\u2700-\\u27bf",Ce="a-z\\xdf-\\xf6\\xf8-\\xff",Oe="A-Z\\xc0-\\xd6\\xd8-\\xde",Ie="\\ufe0e\\ufe0f",Ne="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",De="['\u2019]",Te="[\\ud800-\\udfff]",Re="["+Ne+"]",Ae="["+Se+"]",Pe="\\d+",Le="[\\u2700-\\u27bf]",Me="["+Ce+"]",je="[^\\ud800-\\udfff"+Ne+Pe+_e+Ce+Oe+"]",Fe="\\ud83c[\\udffb-\\udfff]",Be="[^\\ud800-\\udfff]",ze="(?:\\ud83c[\\udde6-\\uddff]){2}",Ue="[\\ud800-\\udbff][\\udc00-\\udfff]",We="["+Oe+"]",He="(?:"+Me+"|"+je+")",Ge="(?:"+We+"|"+je+")",Ve="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",$e="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",qe="(?:"+Ae+"|"+Fe+")"+"?",Ke="[\\ufe0e\\ufe0f]?",Ye=Ke+qe+("(?:\\u200d(?:"+[Be,ze,Ue].join("|")+")"+Ke+qe+")*"),Ze="(?:"+[Le,ze,Ue].join("|")+")"+Ye,Xe="(?:"+[Be+Ae+"?",Ae,ze,Ue,Te].join("|")+")",Qe=RegExp(De,"g"),Je=RegExp(Ae,"g"),et=RegExp(Fe+"(?="+Fe+")|"+Xe+Ye,"g"),tt=RegExp([We+"?"+Me+"+"+Ve+"(?="+[Re,We,"$"].join("|")+")",Ge+"+"+$e+"(?="+[Re,We+He,"$"].join("|")+")",We+"?"+He+"+"+Ve,We+"+"+$e,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Pe,Ze].join("|"),"g"),nt=RegExp("[\\u200d\\ud800-\\udfff"+Se+Ie+"]"),rt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,ot=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],it=-1,at={};at[M]=at[j]=at[F]=at[B]=at[z]=at[U]=at[W]=at[H]=at[G]=!0,at[y]=at[b]=at[P]=at[w]=at[L]=at[x]=at[E]=at[k]=at[_]=at[C]=at[O]=at[N]=at[D]=at[T]=at[A]=!1;var ut={};ut[y]=ut[b]=ut[P]=ut[L]=ut[w]=ut[x]=ut[M]=ut[j]=ut[F]=ut[B]=ut[z]=ut[_]=ut[C]=ut[O]=ut[N]=ut[D]=ut[T]=ut[R]=ut[U]=ut[W]=ut[H]=ut[G]=!0,ut[E]=ut[k]=ut[A]=!1;var lt={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},ct=parseFloat,st=parseInt,ft="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,dt="object"==typeof self&&self&&self.Object===Object&&self,pt=ft||dt||Function("return this")(),ht=t&&!t.nodeType&&t,vt=ht&&e&&!e.nodeType&&e,gt=vt&&vt.exports===ht,mt=gt&&ft.process,yt=function(){try{var e=vt&&vt.require&&vt.require("util").types;return e||mt&&mt.binding&&mt.binding("util")}catch(t){}}(),bt=yt&&yt.isArrayBuffer,wt=yt&&yt.isDate,xt=yt&&yt.isMap,Et=yt&&yt.isRegExp,kt=yt&&yt.isSet,St=yt&&yt.isTypedArray;function _t(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function Ct(e,t,n,r){for(var o=-1,i=null==e?0:e.length;++o<i;){var a=e[o];t(r,a,n(a),e)}return r}function Ot(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}function It(e,t){for(var n=null==e?0:e.length;n--&&!1!==t(e[n],n,e););return e}function Nt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}function Dt(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}function Tt(e,t){return!!(null==e?0:e.length)&&Ut(e,t,0)>-1}function Rt(e,t,n){for(var r=-1,o=null==e?0:e.length;++r<o;)if(n(t,e[r]))return!0;return!1}function At(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}function Pt(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}function Lt(e,t,n,r){var o=-1,i=null==e?0:e.length;for(r&&i&&(n=e[++o]);++o<i;)n=t(n,e[o],o,e);return n}function Mt(e,t,n,r){var o=null==e?0:e.length;for(r&&o&&(n=e[--o]);o--;)n=t(n,e[o],o,e);return n}function jt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}var Ft=Vt("length");function Bt(e,t,n){var r;return n(e,(function(e,n,o){if(t(e,n,o))return r=n,!1})),r}function zt(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i<o;)if(t(e[i],i,e))return i;return-1}function Ut(e,t,n){return t===t?function(e,t,n){var r=n-1,o=e.length;for(;++r<o;)if(e[r]===t)return r;return-1}(e,t,n):zt(e,Ht,n)}function Wt(e,t,n,r){for(var o=n-1,i=e.length;++o<i;)if(r(e[o],t))return o;return-1}function Ht(e){return e!==e}function Gt(e,t){var n=null==e?0:e.length;return n?Kt(e,t)/n:v}function Vt(e){return function(t){return null==t?o:t[e]}}function $t(e){return function(t){return null==e?o:e[t]}}function qt(e,t,n,r,o){return o(e,(function(e,o,i){n=r?(r=!1,e):t(n,e,o,i)})),n}function Kt(e,t){for(var n,r=-1,i=e.length;++r<i;){var a=t(e[r]);a!==o&&(n=n===o?a:n+a)}return n}function Yt(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function Zt(e){return e?e.slice(0,vn(e)+1).replace(ae,""):e}function Xt(e){return function(t){return e(t)}}function Qt(e,t){return At(t,(function(t){return e[t]}))}function Jt(e,t){return e.has(t)}function en(e,t){for(var n=-1,r=e.length;++n<r&&Ut(t,e[n],0)>-1;);return n}function tn(e,t){for(var n=e.length;n--&&Ut(t,e[n],0)>-1;);return n}function nn(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}var rn=$t({"\xc0":"A","\xc1":"A","\xc2":"A","\xc3":"A","\xc4":"A","\xc5":"A","\xe0":"a","\xe1":"a","\xe2":"a","\xe3":"a","\xe4":"a","\xe5":"a","\xc7":"C","\xe7":"c","\xd0":"D","\xf0":"d","\xc8":"E","\xc9":"E","\xca":"E","\xcb":"E","\xe8":"e","\xe9":"e","\xea":"e","\xeb":"e","\xcc":"I","\xcd":"I","\xce":"I","\xcf":"I","\xec":"i","\xed":"i","\xee":"i","\xef":"i","\xd1":"N","\xf1":"n","\xd2":"O","\xd3":"O","\xd4":"O","\xd5":"O","\xd6":"O","\xd8":"O","\xf2":"o","\xf3":"o","\xf4":"o","\xf5":"o","\xf6":"o","\xf8":"o","\xd9":"U","\xda":"U","\xdb":"U","\xdc":"U","\xf9":"u","\xfa":"u","\xfb":"u","\xfc":"u","\xdd":"Y","\xfd":"y","\xff":"y","\xc6":"Ae","\xe6":"ae","\xde":"Th","\xfe":"th","\xdf":"ss","\u0100":"A","\u0102":"A","\u0104":"A","\u0101":"a","\u0103":"a","\u0105":"a","\u0106":"C","\u0108":"C","\u010a":"C","\u010c":"C","\u0107":"c","\u0109":"c","\u010b":"c","\u010d":"c","\u010e":"D","\u0110":"D","\u010f":"d","\u0111":"d","\u0112":"E","\u0114":"E","\u0116":"E","\u0118":"E","\u011a":"E","\u0113":"e","\u0115":"e","\u0117":"e","\u0119":"e","\u011b":"e","\u011c":"G","\u011e":"G","\u0120":"G","\u0122":"G","\u011d":"g","\u011f":"g","\u0121":"g","\u0123":"g","\u0124":"H","\u0126":"H","\u0125":"h","\u0127":"h","\u0128":"I","\u012a":"I","\u012c":"I","\u012e":"I","\u0130":"I","\u0129":"i","\u012b":"i","\u012d":"i","\u012f":"i","\u0131":"i","\u0134":"J","\u0135":"j","\u0136":"K","\u0137":"k","\u0138":"k","\u0139":"L","\u013b":"L","\u013d":"L","\u013f":"L","\u0141":"L","\u013a":"l","\u013c":"l","\u013e":"l","\u0140":"l","\u0142":"l","\u0143":"N","\u0145":"N","\u0147":"N","\u014a":"N","\u0144":"n","\u0146":"n","\u0148":"n","\u014b":"n","\u014c":"O","\u014e":"O","\u0150":"O","\u014d":"o","\u014f":"o","\u0151":"o","\u0154":"R","\u0156":"R","\u0158":"R","\u0155":"r","\u0157":"r","\u0159":"r","\u015a":"S","\u015c":"S","\u015e":"S","\u0160":"S","\u015b":"s","\u015d":"s","\u015f":"s","\u0161":"s","\u0162":"T","\u0164":"T","\u0166":"T","\u0163":"t","\u0165":"t","\u0167":"t","\u0168":"U","\u016a":"U","\u016c":"U","\u016e":"U","\u0170":"U","\u0172":"U","\u0169":"u","\u016b":"u","\u016d":"u","\u016f":"u","\u0171":"u","\u0173":"u","\u0174":"W","\u0175":"w","\u0176":"Y","\u0177":"y","\u0178":"Y","\u0179":"Z","\u017b":"Z","\u017d":"Z","\u017a":"z","\u017c":"z","\u017e":"z","\u0132":"IJ","\u0133":"ij","\u0152":"Oe","\u0153":"oe","\u0149":"'n","\u017f":"s"}),on=$t({"&":"&","<":"<",">":">",'"':""","'":"'"});function an(e){return"\\"+lt[e]}function un(e){return nt.test(e)}function ln(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function cn(e,t){return function(n){return e(t(n))}}function sn(e,t){for(var n=-1,r=e.length,o=0,i=[];++n<r;){var a=e[n];a!==t&&a!==u||(e[n]=u,i[o++]=n)}return i}function fn(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}function dn(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=[e,e]})),n}function pn(e){return un(e)?function(e){var t=et.lastIndex=0;for(;et.test(e);)++t;return t}(e):Ft(e)}function hn(e){return un(e)?function(e){return e.match(et)||[]}(e):function(e){return e.split("")}(e)}function vn(e){for(var t=e.length;t--&&ue.test(e.charAt(t)););return t}var gn=$t({"&":"&","<":"<",">":">",""":'"',"'":"'"});var mn=function e(t){var n=(t=null==t?pt:mn.defaults(pt.Object(),t,mn.pick(pt,ot))).Array,r=t.Date,ue=t.Error,Se=t.Function,_e=t.Math,Ce=t.Object,Oe=t.RegExp,Ie=t.String,Ne=t.TypeError,De=n.prototype,Te=Se.prototype,Re=Ce.prototype,Ae=t["__core-js_shared__"],Pe=Te.toString,Le=Re.hasOwnProperty,Me=0,je=function(){var e=/[^.]+$/.exec(Ae&&Ae.keys&&Ae.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),Fe=Re.toString,Be=Pe.call(Ce),ze=pt._,Ue=Oe("^"+Pe.call(Le).replace(oe,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),We=gt?t.Buffer:o,He=t.Symbol,Ge=t.Uint8Array,Ve=We?We.allocUnsafe:o,$e=cn(Ce.getPrototypeOf,Ce),qe=Ce.create,Ke=Re.propertyIsEnumerable,Ye=De.splice,Ze=He?He.isConcatSpreadable:o,Xe=He?He.iterator:o,et=He?He.toStringTag:o,nt=function(){try{var e=pi(Ce,"defineProperty");return e({},"",{}),e}catch(t){}}(),lt=t.clearTimeout!==pt.clearTimeout&&t.clearTimeout,ft=r&&r.now!==pt.Date.now&&r.now,dt=t.setTimeout!==pt.setTimeout&&t.setTimeout,ht=_e.ceil,vt=_e.floor,mt=Ce.getOwnPropertySymbols,yt=We?We.isBuffer:o,Ft=t.isFinite,$t=De.join,yn=cn(Ce.keys,Ce),bn=_e.max,wn=_e.min,xn=r.now,En=t.parseInt,kn=_e.random,Sn=De.reverse,_n=pi(t,"DataView"),Cn=pi(t,"Map"),On=pi(t,"Promise"),In=pi(t,"Set"),Nn=pi(t,"WeakMap"),Dn=pi(Ce,"create"),Tn=Nn&&new Nn,Rn={},An=zi(_n),Pn=zi(Cn),Ln=zi(On),Mn=zi(In),jn=zi(Nn),Fn=He?He.prototype:o,Bn=Fn?Fn.valueOf:o,zn=Fn?Fn.toString:o;function Un(e){if(ru(e)&&!$a(e)&&!(e instanceof Vn)){if(e instanceof Gn)return e;if(Le.call(e,"__wrapped__"))return Ui(e)}return new Gn(e)}var Wn=function(){function e(){}return function(t){if(!nu(t))return{};if(qe)return qe(t);e.prototype=t;var n=new e;return e.prototype=o,n}}();function Hn(){}function Gn(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=o}function Vn(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=g,this.__views__=[]}function $n(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function qn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Kn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Yn(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new Kn;++t<n;)this.add(e[t])}function Zn(e){var t=this.__data__=new qn(e);this.size=t.size}function Xn(e,t){var n=$a(e),r=!n&&Va(e),o=!n&&!r&&Za(e),i=!n&&!r&&!o&&fu(e),a=n||r||o||i,u=a?Yt(e.length,Ie):[],l=u.length;for(var c in e)!t&&!Le.call(e,c)||a&&("length"==c||o&&("offset"==c||"parent"==c)||i&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||wi(c,l))||u.push(c);return u}function Qn(e){var t=e.length;return t?e[Yr(0,t-1)]:o}function Jn(e,t){return ji(To(e),lr(t,0,e.length))}function er(e){return ji(To(e))}function tr(e,t,n){(n!==o&&!Wa(e[t],n)||n===o&&!(t in e))&&ar(e,t,n)}function nr(e,t,n){var r=e[t];Le.call(e,t)&&Wa(r,n)&&(n!==o||t in e)||ar(e,t,n)}function rr(e,t){for(var n=e.length;n--;)if(Wa(e[n][0],t))return n;return-1}function or(e,t,n,r){return pr(e,(function(e,o,i){t(r,e,n(e),i)})),r}function ir(e,t){return e&&Ro(t,Au(t),e)}function ar(e,t,n){"__proto__"==t&&nt?nt(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function ur(e,t){for(var r=-1,i=t.length,a=n(i),u=null==e;++r<i;)a[r]=u?o:Iu(e,t[r]);return a}function lr(e,t,n){return e===e&&(n!==o&&(e=e<=n?e:n),t!==o&&(e=e>=t?e:t)),e}function cr(e,t,n,r,i,a){var u,l=1&t,c=2&t,s=4&t;if(n&&(u=i?n(e,r,i,a):n(e)),u!==o)return u;if(!nu(e))return e;var f=$a(e);if(f){if(u=function(e){var t=e.length,n=new e.constructor(t);t&&"string"==typeof e[0]&&Le.call(e,"index")&&(n.index=e.index,n.input=e.input);return n}(e),!l)return To(e,u)}else{var d=gi(e),p=d==k||d==S;if(Za(e))return _o(e,l);if(d==O||d==y||p&&!i){if(u=c||p?{}:yi(e),!l)return c?function(e,t){return Ro(e,vi(e),t)}(e,function(e,t){return e&&Ro(t,Pu(t),e)}(u,e)):function(e,t){return Ro(e,hi(e),t)}(e,ir(u,e))}else{if(!ut[d])return i?e:{};u=function(e,t,n){var r=e.constructor;switch(t){case P:return Co(e);case w:case x:return new r(+e);case L:return function(e,t){var n=t?Co(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case M:case j:case F:case B:case z:case U:case W:case H:case G:return Oo(e,n);case _:return new r;case C:case T:return new r(e);case N:return function(e){var t=new e.constructor(e.source,ve.exec(e));return t.lastIndex=e.lastIndex,t}(e);case D:return new r;case R:return o=e,Bn?Ce(Bn.call(o)):{}}var o}(e,d,l)}}a||(a=new Zn);var h=a.get(e);if(h)return h;a.set(e,u),lu(e)?e.forEach((function(r){u.add(cr(r,t,n,r,e,a))})):ou(e)&&e.forEach((function(r,o){u.set(o,cr(r,t,n,o,e,a))}));var v=f?o:(s?c?ai:ii:c?Pu:Au)(e);return Ot(v||e,(function(r,o){v&&(r=e[o=r]),nr(u,o,cr(r,t,n,o,e,a))})),u}function sr(e,t,n){var r=n.length;if(null==e)return!r;for(e=Ce(e);r--;){var i=n[r],a=t[i],u=e[i];if(u===o&&!(i in e)||!a(u))return!1}return!0}function fr(e,t,n){if("function"!=typeof e)throw new Ne(i);return Ai((function(){e.apply(o,n)}),t)}function dr(e,t,n,r){var o=-1,i=Tt,a=!0,u=e.length,l=[],c=t.length;if(!u)return l;n&&(t=At(t,Xt(n))),r?(i=Rt,a=!1):t.length>=200&&(i=Jt,a=!1,t=new Yn(t));e:for(;++o<u;){var s=e[o],f=null==n?s:n(s);if(s=r||0!==s?s:0,a&&f===f){for(var d=c;d--;)if(t[d]===f)continue e;l.push(s)}else i(t,f,r)||l.push(s)}return l}Un.templateSettings={escape:Q,evaluate:J,interpolate:ee,variable:"",imports:{_:Un}},Un.prototype=Hn.prototype,Un.prototype.constructor=Un,Gn.prototype=Wn(Hn.prototype),Gn.prototype.constructor=Gn,Vn.prototype=Wn(Hn.prototype),Vn.prototype.constructor=Vn,$n.prototype.clear=function(){this.__data__=Dn?Dn(null):{},this.size=0},$n.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},$n.prototype.get=function(e){var t=this.__data__;if(Dn){var n=t[e];return n===a?o:n}return Le.call(t,e)?t[e]:o},$n.prototype.has=function(e){var t=this.__data__;return Dn?t[e]!==o:Le.call(t,e)},$n.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=Dn&&t===o?a:t,this},qn.prototype.clear=function(){this.__data__=[],this.size=0},qn.prototype.delete=function(e){var t=this.__data__,n=rr(t,e);return!(n<0)&&(n==t.length-1?t.pop():Ye.call(t,n,1),--this.size,!0)},qn.prototype.get=function(e){var t=this.__data__,n=rr(t,e);return n<0?o:t[n][1]},qn.prototype.has=function(e){return rr(this.__data__,e)>-1},qn.prototype.set=function(e,t){var n=this.__data__,r=rr(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},Kn.prototype.clear=function(){this.size=0,this.__data__={hash:new $n,map:new(Cn||qn),string:new $n}},Kn.prototype.delete=function(e){var t=fi(this,e).delete(e);return this.size-=t?1:0,t},Kn.prototype.get=function(e){return fi(this,e).get(e)},Kn.prototype.has=function(e){return fi(this,e).has(e)},Kn.prototype.set=function(e,t){var n=fi(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},Yn.prototype.add=Yn.prototype.push=function(e){return this.__data__.set(e,a),this},Yn.prototype.has=function(e){return this.__data__.has(e)},Zn.prototype.clear=function(){this.__data__=new qn,this.size=0},Zn.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Zn.prototype.get=function(e){return this.__data__.get(e)},Zn.prototype.has=function(e){return this.__data__.has(e)},Zn.prototype.set=function(e,t){var n=this.__data__;if(n instanceof qn){var r=n.__data__;if(!Cn||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Kn(r)}return n.set(e,t),this.size=n.size,this};var pr=Lo(xr),hr=Lo(Er,!0);function vr(e,t){var n=!0;return pr(e,(function(e,r,o){return n=!!t(e,r,o)})),n}function gr(e,t,n){for(var r=-1,i=e.length;++r<i;){var a=e[r],u=t(a);if(null!=u&&(l===o?u===u&&!su(u):n(u,l)))var l=u,c=a}return c}function mr(e,t){var n=[];return pr(e,(function(e,r,o){t(e,r,o)&&n.push(e)})),n}function yr(e,t,n,r,o){var i=-1,a=e.length;for(n||(n=bi),o||(o=[]);++i<a;){var u=e[i];t>0&&n(u)?t>1?yr(u,t-1,n,r,o):Pt(o,u):r||(o[o.length]=u)}return o}var br=Mo(),wr=Mo(!0);function xr(e,t){return e&&br(e,t,Au)}function Er(e,t){return e&&wr(e,t,Au)}function kr(e,t){return Dt(t,(function(t){return Ja(e[t])}))}function Sr(e,t){for(var n=0,r=(t=xo(t,e)).length;null!=e&&n<r;)e=e[Bi(t[n++])];return n&&n==r?e:o}function _r(e,t,n){var r=t(e);return $a(e)?r:Pt(r,n(e))}function Cr(e){return null==e?e===o?"[object Undefined]":"[object Null]":et&&et in Ce(e)?function(e){var t=Le.call(e,et),n=e[et];try{e[et]=o;var r=!0}catch(a){}var i=Fe.call(e);r&&(t?e[et]=n:delete e[et]);return i}(e):function(e){return Fe.call(e)}(e)}function Or(e,t){return e>t}function Ir(e,t){return null!=e&&Le.call(e,t)}function Nr(e,t){return null!=e&&t in Ce(e)}function Dr(e,t,r){for(var i=r?Rt:Tt,a=e[0].length,u=e.length,l=u,c=n(u),s=1/0,f=[];l--;){var d=e[l];l&&t&&(d=At(d,Xt(t))),s=wn(d.length,s),c[l]=!r&&(t||a>=120&&d.length>=120)?new Yn(l&&d):o}d=e[0];var p=-1,h=c[0];e:for(;++p<a&&f.length<s;){var v=d[p],g=t?t(v):v;if(v=r||0!==v?v:0,!(h?Jt(h,g):i(f,g,r))){for(l=u;--l;){var m=c[l];if(!(m?Jt(m,g):i(e[l],g,r)))continue e}h&&h.push(g),f.push(v)}}return f}function Tr(e,t,n){var r=null==(e=Ni(e,t=xo(t,e)))?e:e[Bi(Qi(t))];return null==r?o:_t(r,e,n)}function Rr(e){return ru(e)&&Cr(e)==y}function Ar(e,t,n,r,i){return e===t||(null==e||null==t||!ru(e)&&!ru(t)?e!==e&&t!==t:function(e,t,n,r,i,a){var u=$a(e),l=$a(t),c=u?b:gi(e),s=l?b:gi(t),f=(c=c==y?O:c)==O,d=(s=s==y?O:s)==O,p=c==s;if(p&&Za(e)){if(!Za(t))return!1;u=!0,f=!1}if(p&&!f)return a||(a=new Zn),u||fu(e)?ri(e,t,n,r,i,a):function(e,t,n,r,o,i,a){switch(n){case L:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case P:return!(e.byteLength!=t.byteLength||!i(new Ge(e),new Ge(t)));case w:case x:case C:return Wa(+e,+t);case E:return e.name==t.name&&e.message==t.message;case N:case T:return e==t+"";case _:var u=ln;case D:var l=1&r;if(u||(u=fn),e.size!=t.size&&!l)return!1;var c=a.get(e);if(c)return c==t;r|=2,a.set(e,t);var s=ri(u(e),u(t),r,o,i,a);return a.delete(e),s;case R:if(Bn)return Bn.call(e)==Bn.call(t)}return!1}(e,t,c,n,r,i,a);if(!(1&n)){var h=f&&Le.call(e,"__wrapped__"),v=d&&Le.call(t,"__wrapped__");if(h||v){var g=h?e.value():e,m=v?t.value():t;return a||(a=new Zn),i(g,m,n,r,a)}}if(!p)return!1;return a||(a=new Zn),function(e,t,n,r,i,a){var u=1&n,l=ii(e),c=l.length,s=ii(t).length;if(c!=s&&!u)return!1;var f=c;for(;f--;){var d=l[f];if(!(u?d in t:Le.call(t,d)))return!1}var p=a.get(e),h=a.get(t);if(p&&h)return p==t&&h==e;var v=!0;a.set(e,t),a.set(t,e);var g=u;for(;++f<c;){var m=e[d=l[f]],y=t[d];if(r)var b=u?r(y,m,d,t,e,a):r(m,y,d,e,t,a);if(!(b===o?m===y||i(m,y,n,r,a):b)){v=!1;break}g||(g="constructor"==d)}if(v&&!g){var w=e.constructor,x=t.constructor;w==x||!("constructor"in e)||!("constructor"in t)||"function"==typeof w&&w instanceof w&&"function"==typeof x&&x instanceof x||(v=!1)}return a.delete(e),a.delete(t),v}(e,t,n,r,i,a)}(e,t,n,r,Ar,i))}function Pr(e,t,n,r){var i=n.length,a=i,u=!r;if(null==e)return!a;for(e=Ce(e);i--;){var l=n[i];if(u&&l[2]?l[1]!==e[l[0]]:!(l[0]in e))return!1}for(;++i<a;){var c=(l=n[i])[0],s=e[c],f=l[1];if(u&&l[2]){if(s===o&&!(c in e))return!1}else{var d=new Zn;if(r)var p=r(s,f,c,e,t,d);if(!(p===o?Ar(f,s,3,r,d):p))return!1}}return!0}function Lr(e){return!(!nu(e)||(t=e,je&&je in t))&&(Ja(e)?Ue:ye).test(zi(e));var t}function Mr(e){return"function"==typeof e?e:null==e?il:"object"==typeof e?$a(e)?Wr(e[0],e[1]):Ur(e):hl(e)}function jr(e){if(!_i(e))return yn(e);var t=[];for(var n in Ce(e))Le.call(e,n)&&"constructor"!=n&&t.push(n);return t}function Fr(e){if(!nu(e))return function(e){var t=[];if(null!=e)for(var n in Ce(e))t.push(n);return t}(e);var t=_i(e),n=[];for(var r in e)("constructor"!=r||!t&&Le.call(e,r))&&n.push(r);return n}function Br(e,t){return e<t}function zr(e,t){var r=-1,o=Ka(e)?n(e.length):[];return pr(e,(function(e,n,i){o[++r]=t(e,n,i)})),o}function Ur(e){var t=di(e);return 1==t.length&&t[0][2]?Oi(t[0][0],t[0][1]):function(n){return n===e||Pr(n,e,t)}}function Wr(e,t){return Ei(e)&&Ci(t)?Oi(Bi(e),t):function(n){var r=Iu(n,e);return r===o&&r===t?Nu(n,e):Ar(t,r,3)}}function Hr(e,t,n,r,i){e!==t&&br(t,(function(a,u){if(i||(i=new Zn),nu(a))!function(e,t,n,r,i,a,u){var l=Ti(e,n),c=Ti(t,n),s=u.get(c);if(s)return void tr(e,n,s);var f=a?a(l,c,n+"",e,t,u):o,d=f===o;if(d){var p=$a(c),h=!p&&Za(c),v=!p&&!h&&fu(c);f=c,p||h||v?$a(l)?f=l:Ya(l)?f=To(l):h?(d=!1,f=_o(c,!0)):v?(d=!1,f=Oo(c,!0)):f=[]:au(c)||Va(c)?(f=l,Va(l)?f=bu(l):nu(l)&&!Ja(l)||(f=yi(c))):d=!1}d&&(u.set(c,f),i(f,c,r,a,u),u.delete(c));tr(e,n,f)}(e,t,u,n,Hr,r,i);else{var l=r?r(Ti(e,u),a,u+"",e,t,i):o;l===o&&(l=a),tr(e,u,l)}}),Pu)}function Gr(e,t){var n=e.length;if(n)return wi(t+=t<0?n:0,n)?e[t]:o}function Vr(e,t,n){t=t.length?At(t,(function(e){return $a(e)?function(t){return Sr(t,1===e.length?e[0]:e)}:e})):[il];var r=-1;t=At(t,Xt(si()));var o=zr(e,(function(e,n,o){var i=At(t,(function(t){return t(e)}));return{criteria:i,index:++r,value:e}}));return function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}(o,(function(e,t){return function(e,t,n){var r=-1,o=e.criteria,i=t.criteria,a=o.length,u=n.length;for(;++r<a;){var l=Io(o[r],i[r]);if(l)return r>=u?l:l*("desc"==n[r]?-1:1)}return e.index-t.index}(e,t,n)}))}function $r(e,t,n){for(var r=-1,o=t.length,i={};++r<o;){var a=t[r],u=Sr(e,a);n(u,a)&&eo(i,xo(a,e),u)}return i}function qr(e,t,n,r){var o=r?Wt:Ut,i=-1,a=t.length,u=e;for(e===t&&(t=To(t)),n&&(u=At(e,Xt(n)));++i<a;)for(var l=0,c=t[i],s=n?n(c):c;(l=o(u,s,l,r))>-1;)u!==e&&Ye.call(u,l,1),Ye.call(e,l,1);return e}function Kr(e,t){for(var n=e?t.length:0,r=n-1;n--;){var o=t[n];if(n==r||o!==i){var i=o;wi(o)?Ye.call(e,o,1):po(e,o)}}return e}function Yr(e,t){return e+vt(kn()*(t-e+1))}function Zr(e,t){var n="";if(!e||t<1||t>h)return n;do{t%2&&(n+=e),(t=vt(t/2))&&(e+=e)}while(t);return n}function Xr(e,t){return Pi(Ii(e,t,il),e+"")}function Qr(e){return Qn(Wu(e))}function Jr(e,t){var n=Wu(e);return ji(n,lr(t,0,n.length))}function eo(e,t,n,r){if(!nu(e))return e;for(var i=-1,a=(t=xo(t,e)).length,u=a-1,l=e;null!=l&&++i<a;){var c=Bi(t[i]),s=n;if("__proto__"===c||"constructor"===c||"prototype"===c)return e;if(i!=u){var f=l[c];(s=r?r(f,c,l):o)===o&&(s=nu(f)?f:wi(t[i+1])?[]:{})}nr(l,c,s),l=l[c]}return e}var to=Tn?function(e,t){return Tn.set(e,t),e}:il,no=nt?function(e,t){return nt(e,"toString",{configurable:!0,enumerable:!1,value:nl(t),writable:!0})}:il;function ro(e){return ji(Wu(e))}function oo(e,t,r){var o=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(r=r>i?i:r)<0&&(r+=i),i=t>r?0:r-t>>>0,t>>>=0;for(var a=n(i);++o<i;)a[o]=e[o+t];return a}function io(e,t){var n;return pr(e,(function(e,r,o){return!(n=t(e,r,o))})),!!n}function ao(e,t,n){var r=0,o=null==e?r:e.length;if("number"==typeof t&&t===t&&o<=2147483647){for(;r<o;){var i=r+o>>>1,a=e[i];null!==a&&!su(a)&&(n?a<=t:a<t)?r=i+1:o=i}return o}return uo(e,t,il,n)}function uo(e,t,n,r){var i=0,a=null==e?0:e.length;if(0===a)return 0;for(var u=(t=n(t))!==t,l=null===t,c=su(t),s=t===o;i<a;){var f=vt((i+a)/2),d=n(e[f]),p=d!==o,h=null===d,v=d===d,g=su(d);if(u)var m=r||v;else m=s?v&&(r||p):l?v&&p&&(r||!h):c?v&&p&&!h&&(r||!g):!h&&!g&&(r?d<=t:d<t);m?i=f+1:a=f}return wn(a,4294967294)}function lo(e,t){for(var n=-1,r=e.length,o=0,i=[];++n<r;){var a=e[n],u=t?t(a):a;if(!n||!Wa(u,l)){var l=u;i[o++]=0===a?0:a}}return i}function co(e){return"number"==typeof e?e:su(e)?v:+e}function so(e){if("string"==typeof e)return e;if($a(e))return At(e,so)+"";if(su(e))return zn?zn.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function fo(e,t,n){var r=-1,o=Tt,i=e.length,a=!0,u=[],l=u;if(n)a=!1,o=Rt;else if(i>=200){var c=t?null:Xo(e);if(c)return fn(c);a=!1,o=Jt,l=new Yn}else l=t?[]:u;e:for(;++r<i;){var s=e[r],f=t?t(s):s;if(s=n||0!==s?s:0,a&&f===f){for(var d=l.length;d--;)if(l[d]===f)continue e;t&&l.push(f),u.push(s)}else o(l,f,n)||(l!==u&&l.push(f),u.push(s))}return u}function po(e,t){return null==(e=Ni(e,t=xo(t,e)))||delete e[Bi(Qi(t))]}function ho(e,t,n,r){return eo(e,t,n(Sr(e,t)),r)}function vo(e,t,n,r){for(var o=e.length,i=r?o:-1;(r?i--:++i<o)&&t(e[i],i,e););return n?oo(e,r?0:i,r?i+1:o):oo(e,r?i+1:0,r?o:i)}function go(e,t){var n=e;return n instanceof Vn&&(n=n.value()),Lt(t,(function(e,t){return t.func.apply(t.thisArg,Pt([e],t.args))}),n)}function mo(e,t,r){var o=e.length;if(o<2)return o?fo(e[0]):[];for(var i=-1,a=n(o);++i<o;)for(var u=e[i],l=-1;++l<o;)l!=i&&(a[i]=dr(a[i]||u,e[l],t,r));return fo(yr(a,1),t,r)}function yo(e,t,n){for(var r=-1,i=e.length,a=t.length,u={};++r<i;){var l=r<a?t[r]:o;n(u,e[r],l)}return u}function bo(e){return Ya(e)?e:[]}function wo(e){return"function"==typeof e?e:il}function xo(e,t){return $a(e)?e:Ei(e,t)?[e]:Fi(wu(e))}var Eo=Xr;function ko(e,t,n){var r=e.length;return n=n===o?r:n,!t&&n>=r?e:oo(e,t,n)}var So=lt||function(e){return pt.clearTimeout(e)};function _o(e,t){if(t)return e.slice();var n=e.length,r=Ve?Ve(n):new e.constructor(n);return e.copy(r),r}function Co(e){var t=new e.constructor(e.byteLength);return new Ge(t).set(new Ge(e)),t}function Oo(e,t){var n=t?Co(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function Io(e,t){if(e!==t){var n=e!==o,r=null===e,i=e===e,a=su(e),u=t!==o,l=null===t,c=t===t,s=su(t);if(!l&&!s&&!a&&e>t||a&&u&&c&&!l&&!s||r&&u&&c||!n&&c||!i)return 1;if(!r&&!a&&!s&&e<t||s&&n&&i&&!r&&!a||l&&n&&i||!u&&i||!c)return-1}return 0}function No(e,t,r,o){for(var i=-1,a=e.length,u=r.length,l=-1,c=t.length,s=bn(a-u,0),f=n(c+s),d=!o;++l<c;)f[l]=t[l];for(;++i<u;)(d||i<a)&&(f[r[i]]=e[i]);for(;s--;)f[l++]=e[i++];return f}function Do(e,t,r,o){for(var i=-1,a=e.length,u=-1,l=r.length,c=-1,s=t.length,f=bn(a-l,0),d=n(f+s),p=!o;++i<f;)d[i]=e[i];for(var h=i;++c<s;)d[h+c]=t[c];for(;++u<l;)(p||i<a)&&(d[h+r[u]]=e[i++]);return d}function To(e,t){var r=-1,o=e.length;for(t||(t=n(o));++r<o;)t[r]=e[r];return t}function Ro(e,t,n,r){var i=!n;n||(n={});for(var a=-1,u=t.length;++a<u;){var l=t[a],c=r?r(n[l],e[l],l,n,e):o;c===o&&(c=e[l]),i?ar(n,l,c):nr(n,l,c)}return n}function Ao(e,t){return function(n,r){var o=$a(n)?Ct:or,i=t?t():{};return o(n,e,si(r,2),i)}}function Po(e){return Xr((function(t,n){var r=-1,i=n.length,a=i>1?n[i-1]:o,u=i>2?n[2]:o;for(a=e.length>3&&"function"==typeof a?(i--,a):o,u&&xi(n[0],n[1],u)&&(a=i<3?o:a,i=1),t=Ce(t);++r<i;){var l=n[r];l&&e(t,l,r,a)}return t}))}function Lo(e,t){return function(n,r){if(null==n)return n;if(!Ka(n))return e(n,r);for(var o=n.length,i=t?o:-1,a=Ce(n);(t?i--:++i<o)&&!1!==r(a[i],i,a););return n}}function Mo(e){return function(t,n,r){for(var o=-1,i=Ce(t),a=r(t),u=a.length;u--;){var l=a[e?u:++o];if(!1===n(i[l],l,i))break}return t}}function jo(e){return function(t){var n=un(t=wu(t))?hn(t):o,r=n?n[0]:t.charAt(0),i=n?ko(n,1).join(""):t.slice(1);return r[e]()+i}}function Fo(e){return function(t){return Lt(Ju(Vu(t).replace(Qe,"")),e,"")}}function Bo(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=Wn(e.prototype),r=e.apply(n,t);return nu(r)?r:n}}function zo(e){return function(t,n,r){var i=Ce(t);if(!Ka(t)){var a=si(n,3);t=Au(t),n=function(e){return a(i[e],e,i)}}var u=e(t,n,r);return u>-1?i[a?t[u]:u]:o}}function Uo(e){return oi((function(t){var n=t.length,r=n,a=Gn.prototype.thru;for(e&&t.reverse();r--;){var u=t[r];if("function"!=typeof u)throw new Ne(i);if(a&&!l&&"wrapper"==li(u))var l=new Gn([],!0)}for(r=l?r:n;++r<n;){var c=li(u=t[r]),s="wrapper"==c?ui(u):o;l=s&&ki(s[0])&&424==s[1]&&!s[4].length&&1==s[9]?l[li(s[0])].apply(l,s[3]):1==u.length&&ki(u)?l[c]():l.thru(u)}return function(){var e=arguments,r=e[0];if(l&&1==e.length&&$a(r))return l.plant(r).value();for(var o=0,i=n?t[o].apply(this,e):r;++o<n;)i=t[o].call(this,i);return i}}))}function Wo(e,t,r,i,a,u,l,c,s,d){var p=t&f,h=1&t,v=2&t,g=24&t,m=512&t,y=v?o:Bo(e);return function o(){for(var f=arguments.length,b=n(f),w=f;w--;)b[w]=arguments[w];if(g)var x=ci(o),E=nn(b,x);if(i&&(b=No(b,i,a,g)),u&&(b=Do(b,u,l,g)),f-=E,g&&f<d){var k=sn(b,x);return Yo(e,t,Wo,o.placeholder,r,b,k,c,s,d-f)}var S=h?r:this,_=v?S[e]:e;return f=b.length,c?b=Di(b,c):m&&f>1&&b.reverse(),p&&s<f&&(b.length=s),this&&this!==pt&&this instanceof o&&(_=y||Bo(_)),_.apply(S,b)}}function Ho(e,t){return function(n,r){return function(e,t,n,r){return xr(e,(function(e,o,i){t(r,n(e),o,i)})),r}(n,e,t(r),{})}}function Go(e,t){return function(n,r){var i;if(n===o&&r===o)return t;if(n!==o&&(i=n),r!==o){if(i===o)return r;"string"==typeof n||"string"==typeof r?(n=so(n),r=so(r)):(n=co(n),r=co(r)),i=e(n,r)}return i}}function Vo(e){return oi((function(t){return t=At(t,Xt(si())),Xr((function(n){var r=this;return e(t,(function(e){return _t(e,r,n)}))}))}))}function $o(e,t){var n=(t=t===o?" ":so(t)).length;if(n<2)return n?Zr(t,e):t;var r=Zr(t,ht(e/pn(t)));return un(t)?ko(hn(r),0,e).join(""):r.slice(0,e)}function qo(e){return function(t,r,i){return i&&"number"!=typeof i&&xi(t,r,i)&&(r=i=o),t=vu(t),r===o?(r=t,t=0):r=vu(r),function(e,t,r,o){for(var i=-1,a=bn(ht((t-e)/(r||1)),0),u=n(a);a--;)u[o?a:++i]=e,e+=r;return u}(t,r,i=i===o?t<r?1:-1:vu(i),e)}}function Ko(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=yu(t),n=yu(n)),e(t,n)}}function Yo(e,t,n,r,i,a,u,l,f,d){var p=8&t;t|=p?c:s,4&(t&=~(p?s:c))||(t&=-4);var h=[e,t,i,p?a:o,p?u:o,p?o:a,p?o:u,l,f,d],v=n.apply(o,h);return ki(e)&&Ri(v,h),v.placeholder=r,Li(v,e,t)}function Zo(e){var t=_e[e];return function(e,n){if(e=yu(e),(n=null==n?0:wn(gu(n),292))&&Ft(e)){var r=(wu(e)+"e").split("e");return+((r=(wu(t(r[0]+"e"+(+r[1]+n)))+"e").split("e"))[0]+"e"+(+r[1]-n))}return t(e)}}var Xo=In&&1/fn(new In([,-0]))[1]==p?function(e){return new In(e)}:sl;function Qo(e){return function(t){var n=gi(t);return n==_?ln(t):n==D?dn(t):function(e,t){return At(t,(function(t){return[t,e[t]]}))}(t,e(t))}}function Jo(e,t,r,a,p,h,v,g){var m=2&t;if(!m&&"function"!=typeof e)throw new Ne(i);var y=a?a.length:0;if(y||(t&=-97,a=p=o),v=v===o?v:bn(gu(v),0),g=g===o?g:gu(g),y-=p?p.length:0,t&s){var b=a,w=p;a=p=o}var x=m?o:ui(e),E=[e,t,r,a,p,b,w,h,v,g];if(x&&function(e,t){var n=e[1],r=t[1],o=n|r,i=o<131,a=r==f&&8==n||r==f&&n==d&&e[7].length<=t[8]||384==r&&t[7].length<=t[8]&&8==n;if(!i&&!a)return e;1&r&&(e[2]=t[2],o|=1&n?0:4);var l=t[3];if(l){var c=e[3];e[3]=c?No(c,l,t[4]):l,e[4]=c?sn(e[3],u):t[4]}(l=t[5])&&(c=e[5],e[5]=c?Do(c,l,t[6]):l,e[6]=c?sn(e[5],u):t[6]);(l=t[7])&&(e[7]=l);r&f&&(e[8]=null==e[8]?t[8]:wn(e[8],t[8]));null==e[9]&&(e[9]=t[9]);e[0]=t[0],e[1]=o}(E,x),e=E[0],t=E[1],r=E[2],a=E[3],p=E[4],!(g=E[9]=E[9]===o?m?0:e.length:bn(E[9]-y,0))&&24&t&&(t&=-25),t&&1!=t)k=8==t||t==l?function(e,t,r){var i=Bo(e);return function a(){for(var u=arguments.length,l=n(u),c=u,s=ci(a);c--;)l[c]=arguments[c];var f=u<3&&l[0]!==s&&l[u-1]!==s?[]:sn(l,s);return(u-=f.length)<r?Yo(e,t,Wo,a.placeholder,o,l,f,o,o,r-u):_t(this&&this!==pt&&this instanceof a?i:e,this,l)}}(e,t,g):t!=c&&33!=t||p.length?Wo.apply(o,E):function(e,t,r,o){var i=1&t,a=Bo(e);return function t(){for(var u=-1,l=arguments.length,c=-1,s=o.length,f=n(s+l),d=this&&this!==pt&&this instanceof t?a:e;++c<s;)f[c]=o[c];for(;l--;)f[c++]=arguments[++u];return _t(d,i?r:this,f)}}(e,t,r,a);else var k=function(e,t,n){var r=1&t,o=Bo(e);return function t(){return(this&&this!==pt&&this instanceof t?o:e).apply(r?n:this,arguments)}}(e,t,r);return Li((x?to:Ri)(k,E),e,t)}function ei(e,t,n,r){return e===o||Wa(e,Re[n])&&!Le.call(r,n)?t:e}function ti(e,t,n,r,i,a){return nu(e)&&nu(t)&&(a.set(t,e),Hr(e,t,o,ti,a),a.delete(t)),e}function ni(e){return au(e)?o:e}function ri(e,t,n,r,i,a){var u=1&n,l=e.length,c=t.length;if(l!=c&&!(u&&c>l))return!1;var s=a.get(e),f=a.get(t);if(s&&f)return s==t&&f==e;var d=-1,p=!0,h=2&n?new Yn:o;for(a.set(e,t),a.set(t,e);++d<l;){var v=e[d],g=t[d];if(r)var m=u?r(g,v,d,t,e,a):r(v,g,d,e,t,a);if(m!==o){if(m)continue;p=!1;break}if(h){if(!jt(t,(function(e,t){if(!Jt(h,t)&&(v===e||i(v,e,n,r,a)))return h.push(t)}))){p=!1;break}}else if(v!==g&&!i(v,g,n,r,a)){p=!1;break}}return a.delete(e),a.delete(t),p}function oi(e){return Pi(Ii(e,o,qi),e+"")}function ii(e){return _r(e,Au,hi)}function ai(e){return _r(e,Pu,vi)}var ui=Tn?function(e){return Tn.get(e)}:sl;function li(e){for(var t=e.name+"",n=Rn[t],r=Le.call(Rn,t)?n.length:0;r--;){var o=n[r],i=o.func;if(null==i||i==e)return o.name}return t}function ci(e){return(Le.call(Un,"placeholder")?Un:e).placeholder}function si(){var e=Un.iteratee||al;return e=e===al?Mr:e,arguments.length?e(arguments[0],arguments[1]):e}function fi(e,t){var n=e.__data__;return function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}(t)?n["string"==typeof t?"string":"hash"]:n.map}function di(e){for(var t=Au(e),n=t.length;n--;){var r=t[n],o=e[r];t[n]=[r,o,Ci(o)]}return t}function pi(e,t){var n=function(e,t){return null==e?o:e[t]}(e,t);return Lr(n)?n:o}var hi=mt?function(e){return null==e?[]:(e=Ce(e),Dt(mt(e),(function(t){return Ke.call(e,t)})))}:ml,vi=mt?function(e){for(var t=[];e;)Pt(t,hi(e)),e=$e(e);return t}:ml,gi=Cr;function mi(e,t,n){for(var r=-1,o=(t=xo(t,e)).length,i=!1;++r<o;){var a=Bi(t[r]);if(!(i=null!=e&&n(e,a)))break;e=e[a]}return i||++r!=o?i:!!(o=null==e?0:e.length)&&tu(o)&&wi(a,o)&&($a(e)||Va(e))}function yi(e){return"function"!=typeof e.constructor||_i(e)?{}:Wn($e(e))}function bi(e){return $a(e)||Va(e)||!!(Ze&&e&&e[Ze])}function wi(e,t){var n=typeof e;return!!(t=null==t?h:t)&&("number"==n||"symbol"!=n&&we.test(e))&&e>-1&&e%1==0&&e<t}function xi(e,t,n){if(!nu(n))return!1;var r=typeof t;return!!("number"==r?Ka(n)&&wi(t,n.length):"string"==r&&t in n)&&Wa(n[t],e)}function Ei(e,t){if($a(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!su(e))||(ne.test(e)||!te.test(e)||null!=t&&e in Ce(t))}function ki(e){var t=li(e),n=Un[t];if("function"!=typeof n||!(t in Vn.prototype))return!1;if(e===n)return!0;var r=ui(n);return!!r&&e===r[0]}(_n&&gi(new _n(new ArrayBuffer(1)))!=L||Cn&&gi(new Cn)!=_||On&&gi(On.resolve())!=I||In&&gi(new In)!=D||Nn&&gi(new Nn)!=A)&&(gi=function(e){var t=Cr(e),n=t==O?e.constructor:o,r=n?zi(n):"";if(r)switch(r){case An:return L;case Pn:return _;case Ln:return I;case Mn:return D;case jn:return A}return t});var Si=Ae?Ja:yl;function _i(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Re)}function Ci(e){return e===e&&!nu(e)}function Oi(e,t){return function(n){return null!=n&&(n[e]===t&&(t!==o||e in Ce(n)))}}function Ii(e,t,r){return t=bn(t===o?e.length-1:t,0),function(){for(var o=arguments,i=-1,a=bn(o.length-t,0),u=n(a);++i<a;)u[i]=o[t+i];i=-1;for(var l=n(t+1);++i<t;)l[i]=o[i];return l[t]=r(u),_t(e,this,l)}}function Ni(e,t){return t.length<2?e:Sr(e,oo(t,0,-1))}function Di(e,t){for(var n=e.length,r=wn(t.length,n),i=To(e);r--;){var a=t[r];e[r]=wi(a,n)?i[a]:o}return e}function Ti(e,t){if(("constructor"!==t||"function"!==typeof e[t])&&"__proto__"!=t)return e[t]}var Ri=Mi(to),Ai=dt||function(e,t){return pt.setTimeout(e,t)},Pi=Mi(no);function Li(e,t,n){var r=t+"";return Pi(e,function(e,t){var n=t.length;if(!n)return e;var r=n-1;return t[r]=(n>1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(le,"{\n/* [wrapped with "+t+"] */\n")}(r,function(e,t){return Ot(m,(function(n){var r="_."+n[0];t&n[1]&&!Tt(e,r)&&e.push(r)})),e.sort()}(function(e){var t=e.match(ce);return t?t[1].split(se):[]}(r),n)))}function Mi(e){var t=0,n=0;return function(){var r=xn(),i=16-(r-n);if(n=r,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(o,arguments)}}function ji(e,t){var n=-1,r=e.length,i=r-1;for(t=t===o?r:t;++n<t;){var a=Yr(n,i),u=e[a];e[a]=e[n],e[n]=u}return e.length=t,e}var Fi=function(e){var t=Ma(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(re,(function(e,n,r,o){t.push(r?o.replace(pe,"$1"):n||e)})),t}));function Bi(e){if("string"==typeof e||su(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function zi(e){if(null!=e){try{return Pe.call(e)}catch(t){}try{return e+""}catch(t){}}return""}function Ui(e){if(e instanceof Vn)return e.clone();var t=new Gn(e.__wrapped__,e.__chain__);return t.__actions__=To(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var Wi=Xr((function(e,t){return Ya(e)?dr(e,yr(t,1,Ya,!0)):[]})),Hi=Xr((function(e,t){var n=Qi(t);return Ya(n)&&(n=o),Ya(e)?dr(e,yr(t,1,Ya,!0),si(n,2)):[]})),Gi=Xr((function(e,t){var n=Qi(t);return Ya(n)&&(n=o),Ya(e)?dr(e,yr(t,1,Ya,!0),o,n):[]}));function Vi(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:gu(n);return o<0&&(o=bn(r+o,0)),zt(e,si(t,3),o)}function $i(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=r-1;return n!==o&&(i=gu(n),i=n<0?bn(r+i,0):wn(i,r-1)),zt(e,si(t,3),i,!0)}function qi(e){return(null==e?0:e.length)?yr(e,1):[]}function Ki(e){return e&&e.length?e[0]:o}var Yi=Xr((function(e){var t=At(e,bo);return t.length&&t[0]===e[0]?Dr(t):[]})),Zi=Xr((function(e){var t=Qi(e),n=At(e,bo);return t===Qi(n)?t=o:n.pop(),n.length&&n[0]===e[0]?Dr(n,si(t,2)):[]})),Xi=Xr((function(e){var t=Qi(e),n=At(e,bo);return(t="function"==typeof t?t:o)&&n.pop(),n.length&&n[0]===e[0]?Dr(n,o,t):[]}));function Qi(e){var t=null==e?0:e.length;return t?e[t-1]:o}var Ji=Xr(ea);function ea(e,t){return e&&e.length&&t&&t.length?qr(e,t):e}var ta=oi((function(e,t){var n=null==e?0:e.length,r=ur(e,t);return Kr(e,At(t,(function(e){return wi(e,n)?+e:e})).sort(Io)),r}));function na(e){return null==e?e:Sn.call(e)}var ra=Xr((function(e){return fo(yr(e,1,Ya,!0))})),oa=Xr((function(e){var t=Qi(e);return Ya(t)&&(t=o),fo(yr(e,1,Ya,!0),si(t,2))})),ia=Xr((function(e){var t=Qi(e);return t="function"==typeof t?t:o,fo(yr(e,1,Ya,!0),o,t)}));function aa(e){if(!e||!e.length)return[];var t=0;return e=Dt(e,(function(e){if(Ya(e))return t=bn(e.length,t),!0})),Yt(t,(function(t){return At(e,Vt(t))}))}function ua(e,t){if(!e||!e.length)return[];var n=aa(e);return null==t?n:At(n,(function(e){return _t(t,o,e)}))}var la=Xr((function(e,t){return Ya(e)?dr(e,t):[]})),ca=Xr((function(e){return mo(Dt(e,Ya))})),sa=Xr((function(e){var t=Qi(e);return Ya(t)&&(t=o),mo(Dt(e,Ya),si(t,2))})),fa=Xr((function(e){var t=Qi(e);return t="function"==typeof t?t:o,mo(Dt(e,Ya),o,t)})),da=Xr(aa);var pa=Xr((function(e){var t=e.length,n=t>1?e[t-1]:o;return n="function"==typeof n?(e.pop(),n):o,ua(e,n)}));function ha(e){var t=Un(e);return t.__chain__=!0,t}function va(e,t){return t(e)}var ga=oi((function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,i=function(t){return ur(t,e)};return!(t>1||this.__actions__.length)&&r instanceof Vn&&wi(n)?((r=r.slice(n,+n+(t?1:0))).__actions__.push({func:va,args:[i],thisArg:o}),new Gn(r,this.__chain__).thru((function(e){return t&&!e.length&&e.push(o),e}))):this.thru(i)}));var ma=Ao((function(e,t,n){Le.call(e,n)?++e[n]:ar(e,n,1)}));var ya=zo(Vi),ba=zo($i);function wa(e,t){return($a(e)?Ot:pr)(e,si(t,3))}function xa(e,t){return($a(e)?It:hr)(e,si(t,3))}var Ea=Ao((function(e,t,n){Le.call(e,n)?e[n].push(t):ar(e,n,[t])}));var ka=Xr((function(e,t,r){var o=-1,i="function"==typeof t,a=Ka(e)?n(e.length):[];return pr(e,(function(e){a[++o]=i?_t(t,e,r):Tr(e,t,r)})),a})),Sa=Ao((function(e,t,n){ar(e,n,t)}));function _a(e,t){return($a(e)?At:zr)(e,si(t,3))}var Ca=Ao((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]}));var Oa=Xr((function(e,t){if(null==e)return[];var n=t.length;return n>1&&xi(e,t[0],t[1])?t=[]:n>2&&xi(t[0],t[1],t[2])&&(t=[t[0]]),Vr(e,yr(t,1),[])})),Ia=ft||function(){return pt.Date.now()};function Na(e,t,n){return t=n?o:t,t=e&&null==t?e.length:t,Jo(e,f,o,o,o,o,t)}function Da(e,t){var n;if("function"!=typeof t)throw new Ne(i);return e=gu(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=o),n}}var Ta=Xr((function(e,t,n){var r=1;if(n.length){var o=sn(n,ci(Ta));r|=c}return Jo(e,r,t,n,o)})),Ra=Xr((function(e,t,n){var r=3;if(n.length){var o=sn(n,ci(Ra));r|=c}return Jo(t,r,e,n,o)}));function Aa(e,t,n){var r,a,u,l,c,s,f=0,d=!1,p=!1,h=!0;if("function"!=typeof e)throw new Ne(i);function v(t){var n=r,i=a;return r=a=o,f=t,l=e.apply(i,n)}function g(e){return f=e,c=Ai(y,t),d?v(e):l}function m(e){var n=e-s;return s===o||n>=t||n<0||p&&e-f>=u}function y(){var e=Ia();if(m(e))return b(e);c=Ai(y,function(e){var n=t-(e-s);return p?wn(n,u-(e-f)):n}(e))}function b(e){return c=o,h&&r?v(e):(r=a=o,l)}function w(){var e=Ia(),n=m(e);if(r=arguments,a=this,s=e,n){if(c===o)return g(s);if(p)return So(c),c=Ai(y,t),v(s)}return c===o&&(c=Ai(y,t)),l}return t=yu(t)||0,nu(n)&&(d=!!n.leading,u=(p="maxWait"in n)?bn(yu(n.maxWait)||0,t):u,h="trailing"in n?!!n.trailing:h),w.cancel=function(){c!==o&&So(c),f=0,r=s=a=c=o},w.flush=function(){return c===o?l:b(Ia())},w}var Pa=Xr((function(e,t){return fr(e,1,t)})),La=Xr((function(e,t,n){return fr(e,yu(t)||0,n)}));function Ma(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new Ne(i);var n=function n(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(Ma.Cache||Kn),n}function ja(e){if("function"!=typeof e)throw new Ne(i);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}Ma.Cache=Kn;var Fa=Eo((function(e,t){var n=(t=1==t.length&&$a(t[0])?At(t[0],Xt(si())):At(yr(t,1),Xt(si()))).length;return Xr((function(r){for(var o=-1,i=wn(r.length,n);++o<i;)r[o]=t[o].call(this,r[o]);return _t(e,this,r)}))})),Ba=Xr((function(e,t){var n=sn(t,ci(Ba));return Jo(e,c,o,t,n)})),za=Xr((function(e,t){var n=sn(t,ci(za));return Jo(e,s,o,t,n)})),Ua=oi((function(e,t){return Jo(e,d,o,o,o,t)}));function Wa(e,t){return e===t||e!==e&&t!==t}var Ha=Ko(Or),Ga=Ko((function(e,t){return e>=t})),Va=Rr(function(){return arguments}())?Rr:function(e){return ru(e)&&Le.call(e,"callee")&&!Ke.call(e,"callee")},$a=n.isArray,qa=bt?Xt(bt):function(e){return ru(e)&&Cr(e)==P};function Ka(e){return null!=e&&tu(e.length)&&!Ja(e)}function Ya(e){return ru(e)&&Ka(e)}var Za=yt||yl,Xa=wt?Xt(wt):function(e){return ru(e)&&Cr(e)==x};function Qa(e){if(!ru(e))return!1;var t=Cr(e);return t==E||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!au(e)}function Ja(e){if(!nu(e))return!1;var t=Cr(e);return t==k||t==S||"[object AsyncFunction]"==t||"[object Proxy]"==t}function eu(e){return"number"==typeof e&&e==gu(e)}function tu(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=h}function nu(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function ru(e){return null!=e&&"object"==typeof e}var ou=xt?Xt(xt):function(e){return ru(e)&&gi(e)==_};function iu(e){return"number"==typeof e||ru(e)&&Cr(e)==C}function au(e){if(!ru(e)||Cr(e)!=O)return!1;var t=$e(e);if(null===t)return!0;var n=Le.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Pe.call(n)==Be}var uu=Et?Xt(Et):function(e){return ru(e)&&Cr(e)==N};var lu=kt?Xt(kt):function(e){return ru(e)&&gi(e)==D};function cu(e){return"string"==typeof e||!$a(e)&&ru(e)&&Cr(e)==T}function su(e){return"symbol"==typeof e||ru(e)&&Cr(e)==R}var fu=St?Xt(St):function(e){return ru(e)&&tu(e.length)&&!!at[Cr(e)]};var du=Ko(Br),pu=Ko((function(e,t){return e<=t}));function hu(e){if(!e)return[];if(Ka(e))return cu(e)?hn(e):To(e);if(Xe&&e[Xe])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[Xe]());var t=gi(e);return(t==_?ln:t==D?fn:Wu)(e)}function vu(e){return e?(e=yu(e))===p||e===-1/0?17976931348623157e292*(e<0?-1:1):e===e?e:0:0===e?e:0}function gu(e){var t=vu(e),n=t%1;return t===t?n?t-n:t:0}function mu(e){return e?lr(gu(e),0,g):0}function yu(e){if("number"==typeof e)return e;if(su(e))return v;if(nu(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=nu(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Zt(e);var n=me.test(e);return n||be.test(e)?st(e.slice(2),n?2:8):ge.test(e)?v:+e}function bu(e){return Ro(e,Pu(e))}function wu(e){return null==e?"":so(e)}var xu=Po((function(e,t){if(_i(t)||Ka(t))Ro(t,Au(t),e);else for(var n in t)Le.call(t,n)&&nr(e,n,t[n])})),Eu=Po((function(e,t){Ro(t,Pu(t),e)})),ku=Po((function(e,t,n,r){Ro(t,Pu(t),e,r)})),Su=Po((function(e,t,n,r){Ro(t,Au(t),e,r)})),_u=oi(ur);var Cu=Xr((function(e,t){e=Ce(e);var n=-1,r=t.length,i=r>2?t[2]:o;for(i&&xi(t[0],t[1],i)&&(r=1);++n<r;)for(var a=t[n],u=Pu(a),l=-1,c=u.length;++l<c;){var s=u[l],f=e[s];(f===o||Wa(f,Re[s])&&!Le.call(e,s))&&(e[s]=a[s])}return e})),Ou=Xr((function(e){return e.push(o,ti),_t(Mu,o,e)}));function Iu(e,t,n){var r=null==e?o:Sr(e,t);return r===o?n:r}function Nu(e,t){return null!=e&&mi(e,t,Nr)}var Du=Ho((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Fe.call(t)),e[t]=n}),nl(il)),Tu=Ho((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Fe.call(t)),Le.call(e,t)?e[t].push(n):e[t]=[n]}),si),Ru=Xr(Tr);function Au(e){return Ka(e)?Xn(e):jr(e)}function Pu(e){return Ka(e)?Xn(e,!0):Fr(e)}var Lu=Po((function(e,t,n){Hr(e,t,n)})),Mu=Po((function(e,t,n,r){Hr(e,t,n,r)})),ju=oi((function(e,t){var n={};if(null==e)return n;var r=!1;t=At(t,(function(t){return t=xo(t,e),r||(r=t.length>1),t})),Ro(e,ai(e),n),r&&(n=cr(n,7,ni));for(var o=t.length;o--;)po(n,t[o]);return n}));var Fu=oi((function(e,t){return null==e?{}:function(e,t){return $r(e,t,(function(t,n){return Nu(e,n)}))}(e,t)}));function Bu(e,t){if(null==e)return{};var n=At(ai(e),(function(e){return[e]}));return t=si(t),$r(e,n,(function(e,n){return t(e,n[0])}))}var zu=Qo(Au),Uu=Qo(Pu);function Wu(e){return null==e?[]:Qt(e,Au(e))}var Hu=Fo((function(e,t,n){return t=t.toLowerCase(),e+(n?Gu(t):t)}));function Gu(e){return Qu(wu(e).toLowerCase())}function Vu(e){return(e=wu(e))&&e.replace(xe,rn).replace(Je,"")}var $u=Fo((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),qu=Fo((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),Ku=jo("toLowerCase");var Yu=Fo((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}));var Zu=Fo((function(e,t,n){return e+(n?" ":"")+Qu(t)}));var Xu=Fo((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),Qu=jo("toUpperCase");function Ju(e,t,n){return e=wu(e),(t=n?o:t)===o?function(e){return rt.test(e)}(e)?function(e){return e.match(tt)||[]}(e):function(e){return e.match(fe)||[]}(e):e.match(t)||[]}var el=Xr((function(e,t){try{return _t(e,o,t)}catch(n){return Qa(n)?n:new ue(n)}})),tl=oi((function(e,t){return Ot(t,(function(t){t=Bi(t),ar(e,t,Ta(e[t],e))})),e}));function nl(e){return function(){return e}}var rl=Uo(),ol=Uo(!0);function il(e){return e}function al(e){return Mr("function"==typeof e?e:cr(e,1))}var ul=Xr((function(e,t){return function(n){return Tr(n,e,t)}})),ll=Xr((function(e,t){return function(n){return Tr(e,n,t)}}));function cl(e,t,n){var r=Au(t),o=kr(t,r);null!=n||nu(t)&&(o.length||!r.length)||(n=t,t=e,e=this,o=kr(t,Au(t)));var i=!(nu(n)&&"chain"in n)||!!n.chain,a=Ja(e);return Ot(o,(function(n){var r=t[n];e[n]=r,a&&(e.prototype[n]=function(){var t=this.__chain__;if(i||t){var n=e(this.__wrapped__),o=n.__actions__=To(this.__actions__);return o.push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,Pt([this.value()],arguments))})})),e}function sl(){}var fl=Vo(At),dl=Vo(Nt),pl=Vo(jt);function hl(e){return Ei(e)?Vt(Bi(e)):function(e){return function(t){return Sr(t,e)}}(e)}var vl=qo(),gl=qo(!0);function ml(){return[]}function yl(){return!1}var bl=Go((function(e,t){return e+t}),0),wl=Zo("ceil"),xl=Go((function(e,t){return e/t}),1),El=Zo("floor");var kl=Go((function(e,t){return e*t}),1),Sl=Zo("round"),_l=Go((function(e,t){return e-t}),0);return Un.after=function(e,t){if("function"!=typeof t)throw new Ne(i);return e=gu(e),function(){if(--e<1)return t.apply(this,arguments)}},Un.ary=Na,Un.assign=xu,Un.assignIn=Eu,Un.assignInWith=ku,Un.assignWith=Su,Un.at=_u,Un.before=Da,Un.bind=Ta,Un.bindAll=tl,Un.bindKey=Ra,Un.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return $a(e)?e:[e]},Un.chain=ha,Un.chunk=function(e,t,r){t=(r?xi(e,t,r):t===o)?1:bn(gu(t),0);var i=null==e?0:e.length;if(!i||t<1)return[];for(var a=0,u=0,l=n(ht(i/t));a<i;)l[u++]=oo(e,a,a+=t);return l},Un.compact=function(e){for(var t=-1,n=null==e?0:e.length,r=0,o=[];++t<n;){var i=e[t];i&&(o[r++]=i)}return o},Un.concat=function(){var e=arguments.length;if(!e)return[];for(var t=n(e-1),r=arguments[0],o=e;o--;)t[o-1]=arguments[o];return Pt($a(r)?To(r):[r],yr(t,1))},Un.cond=function(e){var t=null==e?0:e.length,n=si();return e=t?At(e,(function(e){if("function"!=typeof e[1])throw new Ne(i);return[n(e[0]),e[1]]})):[],Xr((function(n){for(var r=-1;++r<t;){var o=e[r];if(_t(o[0],this,n))return _t(o[1],this,n)}}))},Un.conforms=function(e){return function(e){var t=Au(e);return function(n){return sr(n,e,t)}}(cr(e,1))},Un.constant=nl,Un.countBy=ma,Un.create=function(e,t){var n=Wn(e);return null==t?n:ir(n,t)},Un.curry=function e(t,n,r){var i=Jo(t,8,o,o,o,o,o,n=r?o:n);return i.placeholder=e.placeholder,i},Un.curryRight=function e(t,n,r){var i=Jo(t,l,o,o,o,o,o,n=r?o:n);return i.placeholder=e.placeholder,i},Un.debounce=Aa,Un.defaults=Cu,Un.defaultsDeep=Ou,Un.defer=Pa,Un.delay=La,Un.difference=Wi,Un.differenceBy=Hi,Un.differenceWith=Gi,Un.drop=function(e,t,n){var r=null==e?0:e.length;return r?oo(e,(t=n||t===o?1:gu(t))<0?0:t,r):[]},Un.dropRight=function(e,t,n){var r=null==e?0:e.length;return r?oo(e,0,(t=r-(t=n||t===o?1:gu(t)))<0?0:t):[]},Un.dropRightWhile=function(e,t){return e&&e.length?vo(e,si(t,3),!0,!0):[]},Un.dropWhile=function(e,t){return e&&e.length?vo(e,si(t,3),!0):[]},Un.fill=function(e,t,n,r){var i=null==e?0:e.length;return i?(n&&"number"!=typeof n&&xi(e,t,n)&&(n=0,r=i),function(e,t,n,r){var i=e.length;for((n=gu(n))<0&&(n=-n>i?0:i+n),(r=r===o||r>i?i:gu(r))<0&&(r+=i),r=n>r?0:mu(r);n<r;)e[n++]=t;return e}(e,t,n,r)):[]},Un.filter=function(e,t){return($a(e)?Dt:mr)(e,si(t,3))},Un.flatMap=function(e,t){return yr(_a(e,t),1)},Un.flatMapDeep=function(e,t){return yr(_a(e,t),p)},Un.flatMapDepth=function(e,t,n){return n=n===o?1:gu(n),yr(_a(e,t),n)},Un.flatten=qi,Un.flattenDeep=function(e){return(null==e?0:e.length)?yr(e,p):[]},Un.flattenDepth=function(e,t){return(null==e?0:e.length)?yr(e,t=t===o?1:gu(t)):[]},Un.flip=function(e){return Jo(e,512)},Un.flow=rl,Un.flowRight=ol,Un.fromPairs=function(e){for(var t=-1,n=null==e?0:e.length,r={};++t<n;){var o=e[t];r[o[0]]=o[1]}return r},Un.functions=function(e){return null==e?[]:kr(e,Au(e))},Un.functionsIn=function(e){return null==e?[]:kr(e,Pu(e))},Un.groupBy=Ea,Un.initial=function(e){return(null==e?0:e.length)?oo(e,0,-1):[]},Un.intersection=Yi,Un.intersectionBy=Zi,Un.intersectionWith=Xi,Un.invert=Du,Un.invertBy=Tu,Un.invokeMap=ka,Un.iteratee=al,Un.keyBy=Sa,Un.keys=Au,Un.keysIn=Pu,Un.map=_a,Un.mapKeys=function(e,t){var n={};return t=si(t,3),xr(e,(function(e,r,o){ar(n,t(e,r,o),e)})),n},Un.mapValues=function(e,t){var n={};return t=si(t,3),xr(e,(function(e,r,o){ar(n,r,t(e,r,o))})),n},Un.matches=function(e){return Ur(cr(e,1))},Un.matchesProperty=function(e,t){return Wr(e,cr(t,1))},Un.memoize=Ma,Un.merge=Lu,Un.mergeWith=Mu,Un.method=ul,Un.methodOf=ll,Un.mixin=cl,Un.negate=ja,Un.nthArg=function(e){return e=gu(e),Xr((function(t){return Gr(t,e)}))},Un.omit=ju,Un.omitBy=function(e,t){return Bu(e,ja(si(t)))},Un.once=function(e){return Da(2,e)},Un.orderBy=function(e,t,n,r){return null==e?[]:($a(t)||(t=null==t?[]:[t]),$a(n=r?o:n)||(n=null==n?[]:[n]),Vr(e,t,n))},Un.over=fl,Un.overArgs=Fa,Un.overEvery=dl,Un.overSome=pl,Un.partial=Ba,Un.partialRight=za,Un.partition=Ca,Un.pick=Fu,Un.pickBy=Bu,Un.property=hl,Un.propertyOf=function(e){return function(t){return null==e?o:Sr(e,t)}},Un.pull=Ji,Un.pullAll=ea,Un.pullAllBy=function(e,t,n){return e&&e.length&&t&&t.length?qr(e,t,si(n,2)):e},Un.pullAllWith=function(e,t,n){return e&&e.length&&t&&t.length?qr(e,t,o,n):e},Un.pullAt=ta,Un.range=vl,Un.rangeRight=gl,Un.rearg=Ua,Un.reject=function(e,t){return($a(e)?Dt:mr)(e,ja(si(t,3)))},Un.remove=function(e,t){var n=[];if(!e||!e.length)return n;var r=-1,o=[],i=e.length;for(t=si(t,3);++r<i;){var a=e[r];t(a,r,e)&&(n.push(a),o.push(r))}return Kr(e,o),n},Un.rest=function(e,t){if("function"!=typeof e)throw new Ne(i);return Xr(e,t=t===o?t:gu(t))},Un.reverse=na,Un.sampleSize=function(e,t,n){return t=(n?xi(e,t,n):t===o)?1:gu(t),($a(e)?Jn:Jr)(e,t)},Un.set=function(e,t,n){return null==e?e:eo(e,t,n)},Un.setWith=function(e,t,n,r){return r="function"==typeof r?r:o,null==e?e:eo(e,t,n,r)},Un.shuffle=function(e){return($a(e)?er:ro)(e)},Un.slice=function(e,t,n){var r=null==e?0:e.length;return r?(n&&"number"!=typeof n&&xi(e,t,n)?(t=0,n=r):(t=null==t?0:gu(t),n=n===o?r:gu(n)),oo(e,t,n)):[]},Un.sortBy=Oa,Un.sortedUniq=function(e){return e&&e.length?lo(e):[]},Un.sortedUniqBy=function(e,t){return e&&e.length?lo(e,si(t,2)):[]},Un.split=function(e,t,n){return n&&"number"!=typeof n&&xi(e,t,n)&&(t=n=o),(n=n===o?g:n>>>0)?(e=wu(e))&&("string"==typeof t||null!=t&&!uu(t))&&!(t=so(t))&&un(e)?ko(hn(e),0,n):e.split(t,n):[]},Un.spread=function(e,t){if("function"!=typeof e)throw new Ne(i);return t=null==t?0:bn(gu(t),0),Xr((function(n){var r=n[t],o=ko(n,0,t);return r&&Pt(o,r),_t(e,this,o)}))},Un.tail=function(e){var t=null==e?0:e.length;return t?oo(e,1,t):[]},Un.take=function(e,t,n){return e&&e.length?oo(e,0,(t=n||t===o?1:gu(t))<0?0:t):[]},Un.takeRight=function(e,t,n){var r=null==e?0:e.length;return r?oo(e,(t=r-(t=n||t===o?1:gu(t)))<0?0:t,r):[]},Un.takeRightWhile=function(e,t){return e&&e.length?vo(e,si(t,3),!1,!0):[]},Un.takeWhile=function(e,t){return e&&e.length?vo(e,si(t,3)):[]},Un.tap=function(e,t){return t(e),e},Un.throttle=function(e,t,n){var r=!0,o=!0;if("function"!=typeof e)throw new Ne(i);return nu(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),Aa(e,t,{leading:r,maxWait:t,trailing:o})},Un.thru=va,Un.toArray=hu,Un.toPairs=zu,Un.toPairsIn=Uu,Un.toPath=function(e){return $a(e)?At(e,Bi):su(e)?[e]:To(Fi(wu(e)))},Un.toPlainObject=bu,Un.transform=function(e,t,n){var r=$a(e),o=r||Za(e)||fu(e);if(t=si(t,4),null==n){var i=e&&e.constructor;n=o?r?new i:[]:nu(e)&&Ja(i)?Wn($e(e)):{}}return(o?Ot:xr)(e,(function(e,r,o){return t(n,e,r,o)})),n},Un.unary=function(e){return Na(e,1)},Un.union=ra,Un.unionBy=oa,Un.unionWith=ia,Un.uniq=function(e){return e&&e.length?fo(e):[]},Un.uniqBy=function(e,t){return e&&e.length?fo(e,si(t,2)):[]},Un.uniqWith=function(e,t){return t="function"==typeof t?t:o,e&&e.length?fo(e,o,t):[]},Un.unset=function(e,t){return null==e||po(e,t)},Un.unzip=aa,Un.unzipWith=ua,Un.update=function(e,t,n){return null==e?e:ho(e,t,wo(n))},Un.updateWith=function(e,t,n,r){return r="function"==typeof r?r:o,null==e?e:ho(e,t,wo(n),r)},Un.values=Wu,Un.valuesIn=function(e){return null==e?[]:Qt(e,Pu(e))},Un.without=la,Un.words=Ju,Un.wrap=function(e,t){return Ba(wo(t),e)},Un.xor=ca,Un.xorBy=sa,Un.xorWith=fa,Un.zip=da,Un.zipObject=function(e,t){return yo(e||[],t||[],nr)},Un.zipObjectDeep=function(e,t){return yo(e||[],t||[],eo)},Un.zipWith=pa,Un.entries=zu,Un.entriesIn=Uu,Un.extend=Eu,Un.extendWith=ku,cl(Un,Un),Un.add=bl,Un.attempt=el,Un.camelCase=Hu,Un.capitalize=Gu,Un.ceil=wl,Un.clamp=function(e,t,n){return n===o&&(n=t,t=o),n!==o&&(n=(n=yu(n))===n?n:0),t!==o&&(t=(t=yu(t))===t?t:0),lr(yu(e),t,n)},Un.clone=function(e){return cr(e,4)},Un.cloneDeep=function(e){return cr(e,5)},Un.cloneDeepWith=function(e,t){return cr(e,5,t="function"==typeof t?t:o)},Un.cloneWith=function(e,t){return cr(e,4,t="function"==typeof t?t:o)},Un.conformsTo=function(e,t){return null==t||sr(e,t,Au(t))},Un.deburr=Vu,Un.defaultTo=function(e,t){return null==e||e!==e?t:e},Un.divide=xl,Un.endsWith=function(e,t,n){e=wu(e),t=so(t);var r=e.length,i=n=n===o?r:lr(gu(n),0,r);return(n-=t.length)>=0&&e.slice(n,i)==t},Un.eq=Wa,Un.escape=function(e){return(e=wu(e))&&X.test(e)?e.replace(Y,on):e},Un.escapeRegExp=function(e){return(e=wu(e))&&ie.test(e)?e.replace(oe,"\\$&"):e},Un.every=function(e,t,n){var r=$a(e)?Nt:vr;return n&&xi(e,t,n)&&(t=o),r(e,si(t,3))},Un.find=ya,Un.findIndex=Vi,Un.findKey=function(e,t){return Bt(e,si(t,3),xr)},Un.findLast=ba,Un.findLastIndex=$i,Un.findLastKey=function(e,t){return Bt(e,si(t,3),Er)},Un.floor=El,Un.forEach=wa,Un.forEachRight=xa,Un.forIn=function(e,t){return null==e?e:br(e,si(t,3),Pu)},Un.forInRight=function(e,t){return null==e?e:wr(e,si(t,3),Pu)},Un.forOwn=function(e,t){return e&&xr(e,si(t,3))},Un.forOwnRight=function(e,t){return e&&Er(e,si(t,3))},Un.get=Iu,Un.gt=Ha,Un.gte=Ga,Un.has=function(e,t){return null!=e&&mi(e,t,Ir)},Un.hasIn=Nu,Un.head=Ki,Un.identity=il,Un.includes=function(e,t,n,r){e=Ka(e)?e:Wu(e),n=n&&!r?gu(n):0;var o=e.length;return n<0&&(n=bn(o+n,0)),cu(e)?n<=o&&e.indexOf(t,n)>-1:!!o&&Ut(e,t,n)>-1},Un.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:gu(n);return o<0&&(o=bn(r+o,0)),Ut(e,t,o)},Un.inRange=function(e,t,n){return t=vu(t),n===o?(n=t,t=0):n=vu(n),function(e,t,n){return e>=wn(t,n)&&e<bn(t,n)}(e=yu(e),t,n)},Un.invoke=Ru,Un.isArguments=Va,Un.isArray=$a,Un.isArrayBuffer=qa,Un.isArrayLike=Ka,Un.isArrayLikeObject=Ya,Un.isBoolean=function(e){return!0===e||!1===e||ru(e)&&Cr(e)==w},Un.isBuffer=Za,Un.isDate=Xa,Un.isElement=function(e){return ru(e)&&1===e.nodeType&&!au(e)},Un.isEmpty=function(e){if(null==e)return!0;if(Ka(e)&&($a(e)||"string"==typeof e||"function"==typeof e.splice||Za(e)||fu(e)||Va(e)))return!e.length;var t=gi(e);if(t==_||t==D)return!e.size;if(_i(e))return!jr(e).length;for(var n in e)if(Le.call(e,n))return!1;return!0},Un.isEqual=function(e,t){return Ar(e,t)},Un.isEqualWith=function(e,t,n){var r=(n="function"==typeof n?n:o)?n(e,t):o;return r===o?Ar(e,t,o,n):!!r},Un.isError=Qa,Un.isFinite=function(e){return"number"==typeof e&&Ft(e)},Un.isFunction=Ja,Un.isInteger=eu,Un.isLength=tu,Un.isMap=ou,Un.isMatch=function(e,t){return e===t||Pr(e,t,di(t))},Un.isMatchWith=function(e,t,n){return n="function"==typeof n?n:o,Pr(e,t,di(t),n)},Un.isNaN=function(e){return iu(e)&&e!=+e},Un.isNative=function(e){if(Si(e))throw new ue("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Lr(e)},Un.isNil=function(e){return null==e},Un.isNull=function(e){return null===e},Un.isNumber=iu,Un.isObject=nu,Un.isObjectLike=ru,Un.isPlainObject=au,Un.isRegExp=uu,Un.isSafeInteger=function(e){return eu(e)&&e>=-9007199254740991&&e<=h},Un.isSet=lu,Un.isString=cu,Un.isSymbol=su,Un.isTypedArray=fu,Un.isUndefined=function(e){return e===o},Un.isWeakMap=function(e){return ru(e)&&gi(e)==A},Un.isWeakSet=function(e){return ru(e)&&"[object WeakSet]"==Cr(e)},Un.join=function(e,t){return null==e?"":$t.call(e,t)},Un.kebabCase=$u,Un.last=Qi,Un.lastIndexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=r;return n!==o&&(i=(i=gu(n))<0?bn(r+i,0):wn(i,r-1)),t===t?function(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}(e,t,i):zt(e,Ht,i,!0)},Un.lowerCase=qu,Un.lowerFirst=Ku,Un.lt=du,Un.lte=pu,Un.max=function(e){return e&&e.length?gr(e,il,Or):o},Un.maxBy=function(e,t){return e&&e.length?gr(e,si(t,2),Or):o},Un.mean=function(e){return Gt(e,il)},Un.meanBy=function(e,t){return Gt(e,si(t,2))},Un.min=function(e){return e&&e.length?gr(e,il,Br):o},Un.minBy=function(e,t){return e&&e.length?gr(e,si(t,2),Br):o},Un.stubArray=ml,Un.stubFalse=yl,Un.stubObject=function(){return{}},Un.stubString=function(){return""},Un.stubTrue=function(){return!0},Un.multiply=kl,Un.nth=function(e,t){return e&&e.length?Gr(e,gu(t)):o},Un.noConflict=function(){return pt._===this&&(pt._=ze),this},Un.noop=sl,Un.now=Ia,Un.pad=function(e,t,n){e=wu(e);var r=(t=gu(t))?pn(e):0;if(!t||r>=t)return e;var o=(t-r)/2;return $o(vt(o),n)+e+$o(ht(o),n)},Un.padEnd=function(e,t,n){e=wu(e);var r=(t=gu(t))?pn(e):0;return t&&r<t?e+$o(t-r,n):e},Un.padStart=function(e,t,n){e=wu(e);var r=(t=gu(t))?pn(e):0;return t&&r<t?$o(t-r,n)+e:e},Un.parseInt=function(e,t,n){return n||null==t?t=0:t&&(t=+t),En(wu(e).replace(ae,""),t||0)},Un.random=function(e,t,n){if(n&&"boolean"!=typeof n&&xi(e,t,n)&&(t=n=o),n===o&&("boolean"==typeof t?(n=t,t=o):"boolean"==typeof e&&(n=e,e=o)),e===o&&t===o?(e=0,t=1):(e=vu(e),t===o?(t=e,e=0):t=vu(t)),e>t){var r=e;e=t,t=r}if(n||e%1||t%1){var i=kn();return wn(e+i*(t-e+ct("1e-"+((i+"").length-1))),t)}return Yr(e,t)},Un.reduce=function(e,t,n){var r=$a(e)?Lt:qt,o=arguments.length<3;return r(e,si(t,4),n,o,pr)},Un.reduceRight=function(e,t,n){var r=$a(e)?Mt:qt,o=arguments.length<3;return r(e,si(t,4),n,o,hr)},Un.repeat=function(e,t,n){return t=(n?xi(e,t,n):t===o)?1:gu(t),Zr(wu(e),t)},Un.replace=function(){var e=arguments,t=wu(e[0]);return e.length<3?t:t.replace(e[1],e[2])},Un.result=function(e,t,n){var r=-1,i=(t=xo(t,e)).length;for(i||(i=1,e=o);++r<i;){var a=null==e?o:e[Bi(t[r])];a===o&&(r=i,a=n),e=Ja(a)?a.call(e):a}return e},Un.round=Sl,Un.runInContext=e,Un.sample=function(e){return($a(e)?Qn:Qr)(e)},Un.size=function(e){if(null==e)return 0;if(Ka(e))return cu(e)?pn(e):e.length;var t=gi(e);return t==_||t==D?e.size:jr(e).length},Un.snakeCase=Yu,Un.some=function(e,t,n){var r=$a(e)?jt:io;return n&&xi(e,t,n)&&(t=o),r(e,si(t,3))},Un.sortedIndex=function(e,t){return ao(e,t)},Un.sortedIndexBy=function(e,t,n){return uo(e,t,si(n,2))},Un.sortedIndexOf=function(e,t){var n=null==e?0:e.length;if(n){var r=ao(e,t);if(r<n&&Wa(e[r],t))return r}return-1},Un.sortedLastIndex=function(e,t){return ao(e,t,!0)},Un.sortedLastIndexBy=function(e,t,n){return uo(e,t,si(n,2),!0)},Un.sortedLastIndexOf=function(e,t){if(null==e?0:e.length){var n=ao(e,t,!0)-1;if(Wa(e[n],t))return n}return-1},Un.startCase=Zu,Un.startsWith=function(e,t,n){return e=wu(e),n=null==n?0:lr(gu(n),0,e.length),t=so(t),e.slice(n,n+t.length)==t},Un.subtract=_l,Un.sum=function(e){return e&&e.length?Kt(e,il):0},Un.sumBy=function(e,t){return e&&e.length?Kt(e,si(t,2)):0},Un.template=function(e,t,n){var r=Un.templateSettings;n&&xi(e,t,n)&&(t=o),e=wu(e),t=ku({},t,r,ei);var i,a,u=ku({},t.imports,r.imports,ei),l=Au(u),c=Qt(u,l),s=0,f=t.interpolate||Ee,d="__p += '",p=Oe((t.escape||Ee).source+"|"+f.source+"|"+(f===ee?he:Ee).source+"|"+(t.evaluate||Ee).source+"|$","g"),h="//# sourceURL="+(Le.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++it+"]")+"\n";e.replace(p,(function(t,n,r,o,u,l){return r||(r=o),d+=e.slice(s,l).replace(ke,an),n&&(i=!0,d+="' +\n__e("+n+") +\n'"),u&&(a=!0,d+="';\n"+u+";\n__p += '"),r&&(d+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),s=l+t.length,t})),d+="';\n";var v=Le.call(t,"variable")&&t.variable;if(v){if(de.test(v))throw new ue("Invalid `variable` option passed into `_.template`")}else d="with (obj) {\n"+d+"\n}\n";d=(a?d.replace(V,""):d).replace($,"$1").replace(q,"$1;"),d="function("+(v||"obj")+") {\n"+(v?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(i?", __e = _.escape":"")+(a?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+d+"return __p\n}";var g=el((function(){return Se(l,h+"return "+d).apply(o,c)}));if(g.source=d,Qa(g))throw g;return g},Un.times=function(e,t){if((e=gu(e))<1||e>h)return[];var n=g,r=wn(e,g);t=si(t),e-=g;for(var o=Yt(r,t);++n<e;)t(n);return o},Un.toFinite=vu,Un.toInteger=gu,Un.toLength=mu,Un.toLower=function(e){return wu(e).toLowerCase()},Un.toNumber=yu,Un.toSafeInteger=function(e){return e?lr(gu(e),-9007199254740991,h):0===e?e:0},Un.toString=wu,Un.toUpper=function(e){return wu(e).toUpperCase()},Un.trim=function(e,t,n){if((e=wu(e))&&(n||t===o))return Zt(e);if(!e||!(t=so(t)))return e;var r=hn(e),i=hn(t);return ko(r,en(r,i),tn(r,i)+1).join("")},Un.trimEnd=function(e,t,n){if((e=wu(e))&&(n||t===o))return e.slice(0,vn(e)+1);if(!e||!(t=so(t)))return e;var r=hn(e);return ko(r,0,tn(r,hn(t))+1).join("")},Un.trimStart=function(e,t,n){if((e=wu(e))&&(n||t===o))return e.replace(ae,"");if(!e||!(t=so(t)))return e;var r=hn(e);return ko(r,en(r,hn(t))).join("")},Un.truncate=function(e,t){var n=30,r="...";if(nu(t)){var i="separator"in t?t.separator:i;n="length"in t?gu(t.length):n,r="omission"in t?so(t.omission):r}var a=(e=wu(e)).length;if(un(e)){var u=hn(e);a=u.length}if(n>=a)return e;var l=n-pn(r);if(l<1)return r;var c=u?ko(u,0,l).join(""):e.slice(0,l);if(i===o)return c+r;if(u&&(l+=c.length-l),uu(i)){if(e.slice(l).search(i)){var s,f=c;for(i.global||(i=Oe(i.source,wu(ve.exec(i))+"g")),i.lastIndex=0;s=i.exec(f);)var d=s.index;c=c.slice(0,d===o?l:d)}}else if(e.indexOf(so(i),l)!=l){var p=c.lastIndexOf(i);p>-1&&(c=c.slice(0,p))}return c+r},Un.unescape=function(e){return(e=wu(e))&&Z.test(e)?e.replace(K,gn):e},Un.uniqueId=function(e){var t=++Me;return wu(e)+t},Un.upperCase=Xu,Un.upperFirst=Qu,Un.each=wa,Un.eachRight=xa,Un.first=Ki,cl(Un,function(){var e={};return xr(Un,(function(t,n){Le.call(Un.prototype,n)||(e[n]=t)})),e}(),{chain:!1}),Un.VERSION="4.17.21",Ot(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){Un[e].placeholder=Un})),Ot(["drop","take"],(function(e,t){Vn.prototype[e]=function(n){n=n===o?1:bn(gu(n),0);var r=this.__filtered__&&!t?new Vn(this):this.clone();return r.__filtered__?r.__takeCount__=wn(n,r.__takeCount__):r.__views__.push({size:wn(n,g),type:e+(r.__dir__<0?"Right":"")}),r},Vn.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),Ot(["filter","map","takeWhile"],(function(e,t){var n=t+1,r=1==n||3==n;Vn.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:si(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}})),Ot(["head","last"],(function(e,t){var n="take"+(t?"Right":"");Vn.prototype[e]=function(){return this[n](1).value()[0]}})),Ot(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");Vn.prototype[e]=function(){return this.__filtered__?new Vn(this):this[n](1)}})),Vn.prototype.compact=function(){return this.filter(il)},Vn.prototype.find=function(e){return this.filter(e).head()},Vn.prototype.findLast=function(e){return this.reverse().find(e)},Vn.prototype.invokeMap=Xr((function(e,t){return"function"==typeof e?new Vn(this):this.map((function(n){return Tr(n,e,t)}))})),Vn.prototype.reject=function(e){return this.filter(ja(si(e)))},Vn.prototype.slice=function(e,t){e=gu(e);var n=this;return n.__filtered__&&(e>0||t<0)?new Vn(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==o&&(n=(t=gu(t))<0?n.dropRight(-t):n.take(t-e)),n)},Vn.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Vn.prototype.toArray=function(){return this.take(g)},xr(Vn.prototype,(function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),r=/^(?:head|last)$/.test(t),i=Un[r?"take"+("last"==t?"Right":""):t],a=r||/^find/.test(t);i&&(Un.prototype[t]=function(){var t=this.__wrapped__,u=r?[1]:arguments,l=t instanceof Vn,c=u[0],s=l||$a(t),f=function(e){var t=i.apply(Un,Pt([e],u));return r&&d?t[0]:t};s&&n&&"function"==typeof c&&1!=c.length&&(l=s=!1);var d=this.__chain__,p=!!this.__actions__.length,h=a&&!d,v=l&&!p;if(!a&&s){t=v?t:new Vn(this);var g=e.apply(t,u);return g.__actions__.push({func:va,args:[f],thisArg:o}),new Gn(g,d)}return h&&v?e.apply(this,u):(g=this.thru(f),h?r?g.value()[0]:g.value():g)})})),Ot(["pop","push","shift","sort","splice","unshift"],(function(e){var t=De[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);Un.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var o=this.value();return t.apply($a(o)?o:[],e)}return this[n]((function(n){return t.apply($a(n)?n:[],e)}))}})),xr(Vn.prototype,(function(e,t){var n=Un[t];if(n){var r=n.name+"";Le.call(Rn,r)||(Rn[r]=[]),Rn[r].push({name:t,func:n})}})),Rn[Wo(o,2).name]=[{name:"wrapper",func:o}],Vn.prototype.clone=function(){var e=new Vn(this.__wrapped__);return e.__actions__=To(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=To(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=To(this.__views__),e},Vn.prototype.reverse=function(){if(this.__filtered__){var e=new Vn(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},Vn.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=$a(e),r=t<0,o=n?e.length:0,i=function(e,t,n){var r=-1,o=n.length;for(;++r<o;){var i=n[r],a=i.size;switch(i.type){case"drop":e+=a;break;case"dropRight":t-=a;break;case"take":t=wn(t,e+a);break;case"takeRight":e=bn(e,t-a)}}return{start:e,end:t}}(0,o,this.__views__),a=i.start,u=i.end,l=u-a,c=r?u:a-1,s=this.__iteratees__,f=s.length,d=0,p=wn(l,this.__takeCount__);if(!n||!r&&o==l&&p==l)return go(e,this.__actions__);var h=[];e:for(;l--&&d<p;){for(var v=-1,g=e[c+=t];++v<f;){var m=s[v],y=m.iteratee,b=m.type,w=y(g);if(2==b)g=w;else if(!w){if(1==b)continue e;break e}}h[d++]=g}return h},Un.prototype.at=ga,Un.prototype.chain=function(){return ha(this)},Un.prototype.commit=function(){return new Gn(this.value(),this.__chain__)},Un.prototype.next=function(){this.__values__===o&&(this.__values__=hu(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?o:this.__values__[this.__index__++]}},Un.prototype.plant=function(e){for(var t,n=this;n instanceof Hn;){var r=Ui(n);r.__index__=0,r.__values__=o,t?i.__wrapped__=r:t=r;var i=r;n=n.__wrapped__}return i.__wrapped__=e,t},Un.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof Vn){var t=e;return this.__actions__.length&&(t=new Vn(this)),(t=t.reverse()).__actions__.push({func:va,args:[na],thisArg:o}),new Gn(t,this.__chain__)}return this.thru(na)},Un.prototype.toJSON=Un.prototype.valueOf=Un.prototype.value=function(){return go(this.__wrapped__,this.__actions__)},Un.prototype.first=Un.prototype.head,Xe&&(Un.prototype[Xe]=function(){return this}),Un}();pt._=mn,(r=function(){return mn}.call(t,n,t,e))===o||(e.exports=r)}.call(this)},725:function(e){"use strict";var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function o(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(o){return!1}}()?Object.assign:function(e,i){for(var a,u,l=o(e),c=1;c<arguments.length;c++){for(var s in a=Object(arguments[c]))n.call(a,s)&&(l[s]=a[s]);if(t){u=t(a);for(var f=0;f<u.length;f++)r.call(a,u[f])&&(l[u[f]]=a[u[f]])}}return l}},888:function(e,t,n){"use strict";var r=n(47);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var u=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 u.name="Invariant Violation",u}}function t(){return e}e.isRequired=e;var n={array:e,bigint: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:i,resetWarningCache:o};return n.PropTypes=n,n}},7:function(e,t,n){e.exports=n(888)()},47:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},424:function(e,t,n){"use strict";var r=n(725),o=n(791);function i(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var a=60106,u=60107,l=60108,c=60114,s=60109,f=60110,d=60112,p=60113,h=60120,v=60115,g=60116,m=60121,y=60117,b=60119,w=60129,x=60131;if("function"===typeof Symbol&&Symbol.for){var E=Symbol.for;a=E("react.portal"),u=E("react.fragment"),l=E("react.strict_mode"),c=E("react.profiler"),s=E("react.provider"),f=E("react.context"),d=E("react.forward_ref"),p=E("react.suspense"),h=E("react.suspense_list"),v=E("react.memo"),g=E("react.lazy"),m=E("react.block"),y=E("react.fundamental"),b=E("react.scope"),w=E("react.debug_trace_mode"),x=E("react.legacy_hidden")}function k(e){if(null==e)return null;if("function"===typeof e)return e.displayName||e.name||null;if("string"===typeof e)return e;switch(e){case u:return"Fragment";case a:return"Portal";case c:return"Profiler";case l:return"StrictMode";case p:return"Suspense";case h:return"SuspenseList"}if("object"===typeof e)switch(e.$$typeof){case f:return(e.displayName||"Context")+".Consumer";case s:return(e._context.displayName||"Context")+".Provider";case d:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case v:return k(e.type);case m:return k(e._render);case g:t=e._payload,e=e._init;try{return k(e(t))}catch(n){}}return null}var S=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,_={};function C(e,t){for(var n=0|e._threadCount;n<=t;n++)e[n]=e._currentValue2,e._threadCount=n+1}for(var O=new Uint16Array(16),I=0;15>I;I++)O[I]=I+1;O[15]=0;var N=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,D=Object.prototype.hasOwnProperty,T={},R={};function A(e){return!!D.call(R,e)||!D.call(T,e)&&(N.test(e)?R[e]=!0:(T[e]=!0,!1))}function P(e,t,n,r,o,i,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=a}var L={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){L[e]=new P(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];L[t]=new P(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){L[e]=new P(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){L[e]=new P(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){L[e]=new P(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){L[e]=new P(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){L[e]=new P(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){L[e]=new P(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){L[e]=new P(e,5,!1,e.toLowerCase(),null,!1,!1)}));var M=/[\-:]([a-z])/g;function j(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(M,j);L[t]=new P(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(M,j);L[t]=new P(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(M,j);L[t]=new P(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){L[e]=new P(e,1,!1,e.toLowerCase(),null,!1,!1)})),L.xlinkHref=new P("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){L[e]=new P(e,1,!1,e.toLowerCase(),null,!0,!0)}));var F=/["'&<>]/;function B(e){if("boolean"===typeof e||"number"===typeof e)return""+e;e=""+e;var t=F.exec(e);if(t){var n,r="",o=0;for(n=t.index;n<e.length;n++){switch(e.charCodeAt(n)){case 34:t=""";break;case 38:t="&";break;case 39:t="'";break;case 60:t="<";break;case 62:t=">";break;default:continue}o!==n&&(r+=e.substring(o,n)),o=n+1,r+=t}e=o!==n?r+e.substring(o,n):r}return e}function z(e,t){var n,r=L.hasOwnProperty(e)?L[e]:null;return(n="style"!==e)&&(n=null!==r?0===r.type:2<e.length&&("o"===e[0]||"O"===e[0])&&("n"===e[1]||"N"===e[1])),n||function(e,t,n,r){if(null===t||"undefined"===typeof t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(e,t,r,!1)?"":null!==r?(e=r.attributeName,3===(n=r.type)||4===n&&!0===t?e+'=""':(r.sanitizeURL&&(t=""+t),e+'="'+B(t)+'"')):A(e)?e+'="'+B(t)+'"':""}var U="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t},W=null,H=null,G=null,V=!1,$=!1,q=null,K=0;function Y(){if(null===W)throw Error(i(321));return W}function Z(){if(0<K)throw Error(i(312));return{memoizedState:null,queue:null,next:null}}function X(){return null===G?null===H?(V=!1,H=G=Z()):(V=!0,G=H):null===G.next?(V=!1,G=G.next=Z()):(V=!0,G=G.next),G}function Q(e,t,n,r){for(;$;)$=!1,K+=1,G=null,n=e(t,r);return J(),n}function J(){W=null,$=!1,H=null,K=0,G=q=null}function ee(e,t){return"function"===typeof t?t(e):t}function te(e,t,n){if(W=Y(),G=X(),V){var r=G.queue;if(t=r.dispatch,null!==q&&void 0!==(n=q.get(r))){q.delete(r),r=G.memoizedState;do{r=e(r,n.action),n=n.next}while(null!==n);return G.memoizedState=r,[r,t]}return[G.memoizedState,t]}return e=e===ee?"function"===typeof t?t():t:void 0!==n?n(t):t,G.memoizedState=e,e=(e=G.queue={last:null,dispatch:null}).dispatch=re.bind(null,W,e),[G.memoizedState,e]}function ne(e,t){if(W=Y(),t=void 0===t?null:t,null!==(G=X())){var n=G.memoizedState;if(null!==n&&null!==t){var r=n[1];e:if(null===r)r=!1;else{for(var o=0;o<r.length&&o<t.length;o++)if(!U(t[o],r[o])){r=!1;break e}r=!0}if(r)return n[0]}}return e=e(),G.memoizedState=[e,t],e}function re(e,t,n){if(!(25>K))throw Error(i(301));if(e===W)if($=!0,e={action:n,next:null},null===q&&(q=new Map),void 0===(n=q.get(t)))q.set(t,e);else{for(t=n;null!==t.next;)t=t.next;t.next=e}}function oe(){}var ie=null,ae={readContext:function(e){var t=ie.threadID;return C(e,t),e[t]},useContext:function(e){Y();var t=ie.threadID;return C(e,t),e[t]},useMemo:ne,useReducer:te,useRef:function(e){W=Y();var t=(G=X()).memoizedState;return null===t?(e={current:e},G.memoizedState=e):t},useState:function(e){return te(ee,e)},useLayoutEffect:function(){},useCallback:function(e,t){return ne((function(){return e}),t)},useImperativeHandle:oe,useEffect:oe,useDebugValue:oe,useDeferredValue:function(e){return Y(),e},useTransition:function(){return Y(),[function(e){e()},!1]},useOpaqueIdentifier:function(){return(ie.identifierPrefix||"")+"R:"+(ie.uniqueID++).toString(36)},useMutableSource:function(e,t){return Y(),t(e._source)}},ue="http://www.w3.org/1999/xhtml";function le(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}var ce={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},se=r({menuitem:!0},ce),fe={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},de=["Webkit","ms","Moz","O"];Object.keys(fe).forEach((function(e){de.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),fe[t]=fe[e]}))}));var pe=/([A-Z])/g,he=/^ms-/,ve=o.Children.toArray,ge=S.ReactCurrentDispatcher,me={listing:!0,pre:!0,textarea:!0},ye=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,be={},we={};var xe=Object.prototype.hasOwnProperty,Ee={children:null,dangerouslySetInnerHTML:null,suppressContentEditableWarning:null,suppressHydrationWarning:null};function ke(e,t){if(void 0===e)throw Error(i(152,k(t)||"Component"))}function Se(e,t,n){function a(o,a){var u=a.prototype&&a.prototype.isReactComponent,l=function(e,t,n,r){if(r&&"object"===typeof(r=e.contextType)&&null!==r)return C(r,n),r[n];if(e=e.contextTypes){for(var o in n={},e)n[o]=t[o];t=n}else t=_;return t}(a,t,n,u),c=[],s=!1,f={isMounted:function(){return!1},enqueueForceUpdate:function(){if(null===c)return null},enqueueReplaceState:function(e,t){s=!0,c=[t]},enqueueSetState:function(e,t){if(null===c)return null;c.push(t)}};if(u){if(u=new a(o.props,l,f),"function"===typeof a.getDerivedStateFromProps){var d=a.getDerivedStateFromProps.call(null,o.props,u.state);null!=d&&(u.state=r({},u.state,d))}}else if(W={},u=a(o.props,l,f),null==(u=Q(a,o.props,u,l))||null==u.render)return void ke(e=u,a);if(u.props=o.props,u.context=l,u.updater=f,void 0===(f=u.state)&&(u.state=f=null),"function"===typeof u.UNSAFE_componentWillMount||"function"===typeof u.componentWillMount)if("function"===typeof u.componentWillMount&&"function"!==typeof a.getDerivedStateFromProps&&u.componentWillMount(),"function"===typeof u.UNSAFE_componentWillMount&&"function"!==typeof a.getDerivedStateFromProps&&u.UNSAFE_componentWillMount(),c.length){f=c;var p=s;if(c=null,s=!1,p&&1===f.length)u.state=f[0];else{d=p?f[0]:u.state;var h=!0;for(p=p?1:0;p<f.length;p++){var v=f[p];null!=(v="function"===typeof v?v.call(u,d,o.props,l):v)&&(h?(h=!1,d=r({},d,v)):r(d,v))}u.state=d}}else c=null;if(ke(e=u.render(),a),"function"===typeof u.getChildContext&&"object"===typeof(o=a.childContextTypes)){var g=u.getChildContext();for(var m in g)if(!(m in o))throw Error(i(108,k(a)||"Unknown",m))}g&&(t=r({},t,g))}for(;o.isValidElement(e);){var u=e,l=u.type;if("function"!==typeof l)break;a(u,l)}return{child:e,context:t}}var _e=function(){function e(e,t,n){o.isValidElement(e)?e.type!==u?e=[e]:(e=e.props.children,e=o.isValidElement(e)?[e]:ve(e)):e=ve(e),e={type:null,domNamespace:ue,children:e,childIndex:0,context:_,footer:""};var r=O[0];if(0===r){var a=O,l=2*(r=a.length);if(!(65536>=l))throw Error(i(304));var c=new Uint16Array(l);for(c.set(a),(O=c)[0]=r+1,a=r;a<l-1;a++)O[a]=a+1;O[l-1]=0}else O[0]=O[r];this.threadID=r,this.stack=[e],this.exhausted=!1,this.currentSelectValue=null,this.previousWasTextNode=!1,this.makeStaticMarkup=t,this.suspenseDepth=0,this.contextIndex=-1,this.contextStack=[],this.contextValueStack=[],this.uniqueID=0,this.identifierPrefix=n&&n.identifierPrefix||""}var t=e.prototype;return t.destroy=function(){if(!this.exhausted){this.exhausted=!0,this.clearProviders();var e=this.threadID;O[e]=O[0],O[0]=e}},t.pushProvider=function(e){var t=++this.contextIndex,n=e.type._context,r=this.threadID;C(n,r);var o=n[r];this.contextStack[t]=n,this.contextValueStack[t]=o,n[r]=e.props.value},t.popProvider=function(){var e=this.contextIndex,t=this.contextStack[e],n=this.contextValueStack[e];this.contextStack[e]=null,this.contextValueStack[e]=null,this.contextIndex--,t[this.threadID]=n},t.clearProviders=function(){for(var e=this.contextIndex;0<=e;e--)this.contextStack[e][this.threadID]=this.contextValueStack[e]},t.read=function(e){if(this.exhausted)return null;var t=ie;ie=this;var n=ge.current;ge.current=ae;try{for(var r=[""],o=!1;r[0].length<e;){if(0===this.stack.length){this.exhausted=!0;var a=this.threadID;O[a]=O[0],O[0]=a;break}var u=this.stack[this.stack.length-1];if(o||u.childIndex>=u.children.length){var l=u.footer;if(""!==l&&(this.previousWasTextNode=!1),this.stack.pop(),"select"===u.type)this.currentSelectValue=null;else if(null!=u.type&&null!=u.type.type&&u.type.type.$$typeof===s)this.popProvider(u.type);else if(u.type===p){this.suspenseDepth--;var c=r.pop();if(o){o=!1;var f=u.fallbackFrame;if(!f)throw Error(i(303));this.stack.push(f),r[this.suspenseDepth]+="\x3c!--$!--\x3e";continue}r[this.suspenseDepth]+=c}r[this.suspenseDepth]+=l}else{var d=u.children[u.childIndex++],h="";try{h+=this.render(d,u.context,u.domNamespace)}catch(v){if(null!=v&&"function"===typeof v.then)throw Error(i(294));throw v}r.length<=this.suspenseDepth&&r.push(""),r[this.suspenseDepth]+=h}}return r[0]}finally{ge.current=n,ie=t,J()}},t.render=function(e,t,n){if("string"===typeof e||"number"===typeof e)return""===(n=""+e)?"":this.makeStaticMarkup?B(n):this.previousWasTextNode?"\x3c!-- --\x3e"+B(n):(this.previousWasTextNode=!0,B(n));if(e=(t=Se(e,t,this.threadID)).child,t=t.context,null===e||!1===e)return"";if(!o.isValidElement(e)){if(null!=e&&null!=e.$$typeof){if((n=e.$$typeof)===a)throw Error(i(257));throw Error(i(258,n.toString()))}return e=ve(e),this.stack.push({type:null,domNamespace:n,children:e,childIndex:0,context:t,footer:""}),""}var m=e.type;if("string"===typeof m)return this.renderDOM(e,t,n);switch(m){case x:case w:case l:case c:case h:case u:return e=ve(e.props.children),this.stack.push({type:null,domNamespace:n,children:e,childIndex:0,context:t,footer:""}),"";case p:throw Error(i(294));case b:throw Error(i(343))}if("object"===typeof m&&null!==m)switch(m.$$typeof){case d:W={};var E=m.render(e.props,e.ref);return E=Q(m.render,e.props,E,e.ref),E=ve(E),this.stack.push({type:null,domNamespace:n,children:E,childIndex:0,context:t,footer:""}),"";case v:return e=[o.createElement(m.type,r({ref:e.ref},e.props))],this.stack.push({type:null,domNamespace:n,children:e,childIndex:0,context:t,footer:""}),"";case s:return n={type:e,domNamespace:n,children:m=ve(e.props.children),childIndex:0,context:t,footer:""},this.pushProvider(e),this.stack.push(n),"";case f:m=e.type,E=e.props;var k=this.threadID;return C(m,k),m=ve(E.children(m[k])),this.stack.push({type:e,domNamespace:n,children:m,childIndex:0,context:t,footer:""}),"";case y:throw Error(i(338));case g:return m=(E=(m=e.type)._init)(m._payload),e=[o.createElement(m,r({ref:e.ref},e.props))],this.stack.push({type:null,domNamespace:n,children:e,childIndex:0,context:t,footer:""}),""}throw Error(i(130,null==m?m:typeof m,""))},t.renderDOM=function(e,t,n){var a=e.type.toLowerCase();if(n===ue&&le(a),!be.hasOwnProperty(a)){if(!ye.test(a))throw Error(i(65,a));be[a]=!0}var u=e.props;if("input"===a)u=r({type:void 0},u,{defaultChecked:void 0,defaultValue:void 0,value:null!=u.value?u.value:u.defaultValue,checked:null!=u.checked?u.checked:u.defaultChecked});else if("textarea"===a){var l=u.value;if(null==l){l=u.defaultValue;var c=u.children;if(null!=c){if(null!=l)throw Error(i(92));if(Array.isArray(c)){if(!(1>=c.length))throw Error(i(93));c=c[0]}l=""+c}null==l&&(l="")}u=r({},u,{value:void 0,children:""+l})}else if("select"===a)this.currentSelectValue=null!=u.value?u.value:u.defaultValue,u=r({},u,{value:void 0});else if("option"===a){c=this.currentSelectValue;var s=function(e){if(void 0===e||null===e)return e;var t="";return o.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(u.children);if(null!=c){var f=null!=u.value?u.value+"":s;if(l=!1,Array.isArray(c)){for(var d=0;d<c.length;d++)if(""+c[d]===f){l=!0;break}}else l=""+c===f;u=r({selected:void 0,children:void 0},u,{selected:l,children:s})}}if(l=u){if(se[a]&&(null!=l.children||null!=l.dangerouslySetInnerHTML))throw Error(i(137,a));if(null!=l.dangerouslySetInnerHTML){if(null!=l.children)throw Error(i(60));if("object"!==typeof l.dangerouslySetInnerHTML||!("__html"in l.dangerouslySetInnerHTML))throw Error(i(61))}if(null!=l.style&&"object"!==typeof l.style)throw Error(i(62))}l=u,c=this.makeStaticMarkup,s=1===this.stack.length,f="<"+e.type;e:if(-1===a.indexOf("-"))d="string"===typeof l.is;else switch(a){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":d=!1;break e;default:d=!0}for(x in l)if(xe.call(l,x)){var p=l[x];if(null!=p){if("style"===x){var h=void 0,v="",g="";for(h in p)if(p.hasOwnProperty(h)){var m=0===h.indexOf("--"),y=p[h];if(null!=y){if(m)var b=h;else if(b=h,we.hasOwnProperty(b))b=we[b];else{var w=b.replace(pe,"-$1").toLowerCase().replace(he,"-ms-");b=we[b]=w}v+=g+b+":",g=h,v+=m=null==y||"boolean"===typeof y||""===y?"":m||"number"!==typeof y||0===y||fe.hasOwnProperty(g)&&fe[g]?(""+y).trim():y+"px",g=";"}}p=v||null}h=null,d?Ee.hasOwnProperty(x)||(h=A(h=x)&&null!=p?h+'="'+B(p)+'"':""):h=z(x,p),h&&(f+=" "+h)}}c||s&&(f+=' data-reactroot=""');var x=f;l="",ce.hasOwnProperty(a)?x+="/>":(x+=">",l="</"+e.type+">");e:{if(null!=(c=u.dangerouslySetInnerHTML)){if(null!=c.__html){c=c.__html;break e}}else if("string"===typeof(c=u.children)||"number"===typeof c){c=B(c);break e}c=null}return null!=c?(u=[],me.hasOwnProperty(a)&&"\n"===c.charAt(0)&&(x+="\n"),x+=c):u=ve(u.children),e=e.type,n=null==n||"http://www.w3.org/1999/xhtml"===n?le(e):"http://www.w3.org/2000/svg"===n&&"foreignObject"===e?"http://www.w3.org/1999/xhtml":n,this.stack.push({domNamespace:n,type:a,children:u,childIndex:0,context:t,footer:l}),this.previousWasTextNode=!1,x},e}();t.renderToString=function(e,t){e=new _e(e,!1,t);try{return e.read(1/0)}finally{e.destroy()}}},463:function(e,t,n){"use strict";var r=n(791),o=n(725),i=n(296);function a(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!r)throw Error(a(227));var u=new Set,l={};function c(e,t){s(e,t),s(e+"Capture",t)}function s(e,t){for(l[e]=t,e=0;e<t.length;e++)u.add(t[e])}var f=!("undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement),d=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,p=Object.prototype.hasOwnProperty,h={},v={};function g(e,t,n,r,o,i,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=a}var m={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){m[e]=new g(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];m[t]=new g(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){m[e]=new g(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){m[e]=new g(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){m[e]=new g(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){m[e]=new g(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){m[e]=new g(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){m[e]=new g(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){m[e]=new g(e,5,!1,e.toLowerCase(),null,!1,!1)}));var y=/[\-:]([a-z])/g;function b(e){return e[1].toUpperCase()}function w(e,t,n,r){var o=m.hasOwnProperty(t)?m[t]:null;(null!==o?0===o.type:!r&&(2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1])))||(function(e,t,n,r){if(null===t||"undefined"===typeof t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,o,r)&&(n=null),r||null===o?function(e){return!!p.call(v,e)||!p.call(h,e)&&(d.test(e)?v[e]=!0:(h[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(o=o.type)||4===o&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(y,b);m[t]=new g(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(y,b);m[t]=new g(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(y,b);m[t]=new g(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){m[e]=new g(e,1,!1,e.toLowerCase(),null,!1,!1)})),m.xlinkHref=new g("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){m[e]=new g(e,1,!1,e.toLowerCase(),null,!0,!0)}));var x=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,E=60103,k=60106,S=60107,_=60108,C=60114,O=60109,I=60110,N=60112,D=60113,T=60120,R=60115,A=60116,P=60121,L=60128,M=60129,j=60130,F=60131;if("function"===typeof Symbol&&Symbol.for){var B=Symbol.for;E=B("react.element"),k=B("react.portal"),S=B("react.fragment"),_=B("react.strict_mode"),C=B("react.profiler"),O=B("react.provider"),I=B("react.context"),N=B("react.forward_ref"),D=B("react.suspense"),T=B("react.suspense_list"),R=B("react.memo"),A=B("react.lazy"),P=B("react.block"),B("react.scope"),L=B("react.opaque.id"),M=B("react.debug_trace_mode"),j=B("react.offscreen"),F=B("react.legacy_hidden")}var z,U="function"===typeof Symbol&&Symbol.iterator;function W(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=U&&e[U]||e["@@iterator"])?e:null}function H(e){if(void 0===z)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);z=t&&t[1]||""}return"\n"+z+e}var G=!1;function V(e,t){if(!e||G)return"";G=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"===typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(l){var r=l}Reflect.construct(e,[],t)}else{try{t.call()}catch(l){r=l}e.call(t.prototype)}else{try{throw Error()}catch(l){r=l}e()}}catch(l){if(l&&r&&"string"===typeof l.stack){for(var o=l.stack.split("\n"),i=r.stack.split("\n"),a=o.length-1,u=i.length-1;1<=a&&0<=u&&o[a]!==i[u];)u--;for(;1<=a&&0<=u;a--,u--)if(o[a]!==i[u]){if(1!==a||1!==u)do{if(a--,0>--u||o[a]!==i[u])return"\n"+o[a].replace(" at new "," at ")}while(1<=a&&0<=u);break}}}finally{G=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?H(e):""}function $(e){switch(e.tag){case 5:return H(e.type);case 16:return H("Lazy");case 13:return H("Suspense");case 19:return H("SuspenseList");case 0:case 2:case 15:return e=V(e.type,!1);case 11:return e=V(e.type.render,!1);case 22:return e=V(e.type._render,!1);case 1:return e=V(e.type,!0);default:return""}}function q(e){if(null==e)return null;if("function"===typeof e)return e.displayName||e.name||null;if("string"===typeof e)return e;switch(e){case S:return"Fragment";case k:return"Portal";case C:return"Profiler";case _:return"StrictMode";case D:return"Suspense";case T:return"SuspenseList"}if("object"===typeof e)switch(e.$$typeof){case I:return(e.displayName||"Context")+".Consumer";case O:return(e._context.displayName||"Context")+".Provider";case N:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case R:return q(e.type);case P:return q(e._render);case A:t=e._payload,e=e._init;try{return q(e(t))}catch(n){}}return null}function K(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function Y(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function Z(e){e._valueTracker||(e._valueTracker=function(e){var t=Y(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&"undefined"!==typeof n&&"function"===typeof n.get&&"function"===typeof n.set){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=""+e,i.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function X(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Y(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function Q(e){if("undefined"===typeof(e=e||("undefined"!==typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function J(e,t){var n=t.checked;return o({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function ee(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=K(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function te(e,t){null!=(t=t.checked)&&w(e,"checked",t,!1)}function ne(e,t){te(e,t);var n=K(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?oe(e,t.type,n):t.hasOwnProperty("defaultValue")&&oe(e,t.type,K(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function re(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function oe(e,t,n){"number"===t&&Q(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function ie(e,t){return e=o({children:void 0},t),(t=function(e){var t="";return r.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(t.children))&&(e.children=t),e}function ae(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+K(n),t=null,o=0;o<e.length;o++){if(e[o].value===n)return e[o].selected=!0,void(r&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function ue(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(a(91));return o({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function le(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(a(92));if(Array.isArray(n)){if(!(1>=n.length))throw Error(a(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:K(n)}}function ce(e,t){var n=K(t.value),r=K(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function se(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}var fe="http://www.w3.org/1999/xhtml",de="http://www.w3.org/2000/svg";function pe(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function he(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?pe(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var ve,ge,me=(ge=function(e,t){if(e.namespaceURI!==de||"innerHTML"in e)e.innerHTML=t;else{for((ve=ve||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ve.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!==typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return ge(e,t)}))}:ge);function ye(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var be={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},we=["Webkit","ms","Moz","O"];function xe(e,t,n){return null==t||"boolean"===typeof t||""===t?"":n||"number"!==typeof t||0===t||be.hasOwnProperty(e)&&be[e]?(""+t).trim():t+"px"}function Ee(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=xe(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(be).forEach((function(e){we.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),be[t]=be[e]}))}));var ke=o({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Se(e,t){if(t){if(ke[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(a(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(a(60));if("object"!==typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(a(61))}if(null!=t.style&&"object"!==typeof t.style)throw Error(a(62))}}function _e(e,t){if(-1===e.indexOf("-"))return"string"===typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function Ce(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Oe=null,Ie=null,Ne=null;function De(e){if(e=ro(e)){if("function"!==typeof Oe)throw Error(a(280));var t=e.stateNode;t&&(t=io(t),Oe(e.stateNode,e.type,t))}}function Te(e){Ie?Ne?Ne.push(e):Ne=[e]:Ie=e}function Re(){if(Ie){var e=Ie,t=Ne;if(Ne=Ie=null,De(e),t)for(e=0;e<t.length;e++)De(t[e])}}function Ae(e,t){return e(t)}function Pe(e,t,n,r,o){return e(t,n,r,o)}function Le(){}var Me=Ae,je=!1,Fe=!1;function Be(){null===Ie&&null===Ne||(Le(),Re())}function ze(e,t){var n=e.stateNode;if(null===n)return null;var r=io(n);if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!==typeof n)throw Error(a(231,t,typeof n));return n}var Ue=!1;if(f)try{var We={};Object.defineProperty(We,"passive",{get:function(){Ue=!0}}),window.addEventListener("test",We,We),window.removeEventListener("test",We,We)}catch(ge){Ue=!1}function He(e,t,n,r,o,i,a,u,l){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(s){this.onError(s)}}var Ge=!1,Ve=null,$e=!1,qe=null,Ke={onError:function(e){Ge=!0,Ve=e}};function Ye(e,t,n,r,o,i,a,u,l){Ge=!1,Ve=null,He.apply(Ke,arguments)}function Ze(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!==(1026&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function Xe(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function Qe(e){if(Ze(e)!==e)throw Error(a(188))}function Je(e){if(e=function(e){var t=e.alternate;if(!t){if(null===(t=Ze(e)))throw Error(a(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(null===o)break;var i=o.alternate;if(null===i){if(null!==(r=o.return)){n=r;continue}break}if(o.child===i.child){for(i=o.child;i;){if(i===n)return Qe(o),e;if(i===r)return Qe(o),t;i=i.sibling}throw Error(a(188))}if(n.return!==r.return)n=o,r=i;else{for(var u=!1,l=o.child;l;){if(l===n){u=!0,n=o,r=i;break}if(l===r){u=!0,r=o,n=i;break}l=l.sibling}if(!u){for(l=i.child;l;){if(l===n){u=!0,n=i,r=o;break}if(l===r){u=!0,r=i,n=o;break}l=l.sibling}if(!u)throw Error(a(189))}}if(n.alternate!==r)throw Error(a(190))}if(3!==n.tag)throw Error(a(188));return n.stateNode.current===n?e:t}(e),!e)return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function et(e,t){for(var n=e.alternate;null!==t;){if(t===e||t===n)return!0;t=t.return}return!1}var tt,nt,rt,ot,it=!1,at=[],ut=null,lt=null,ct=null,st=new Map,ft=new Map,dt=[],pt="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function ht(e,t,n,r,o){return{blockedOn:e,domEventName:t,eventSystemFlags:16|n,nativeEvent:o,targetContainers:[r]}}function vt(e,t){switch(e){case"focusin":case"focusout":ut=null;break;case"dragenter":case"dragleave":lt=null;break;case"mouseover":case"mouseout":ct=null;break;case"pointerover":case"pointerout":st.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":ft.delete(t.pointerId)}}function gt(e,t,n,r,o,i){return null===e||e.nativeEvent!==i?(e=ht(t,n,r,o,i),null!==t&&(null!==(t=ro(t))&&nt(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o),e)}function mt(e){var t=no(e.target);if(null!==t){var n=Ze(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=Xe(n)))return e.blockedOn=t,void ot(e.lanePriority,(function(){i.unstable_runWithPriority(e.priority,(function(){rt(n)}))}))}else if(3===t&&n.stateNode.hydrate)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function yt(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Jt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=ro(n))&&nt(t),e.blockedOn=n,!1;t.shift()}return!0}function bt(e,t,n){yt(e)&&n.delete(t)}function wt(){for(it=!1;0<at.length;){var e=at[0];if(null!==e.blockedOn){null!==(e=ro(e.blockedOn))&&tt(e);break}for(var t=e.targetContainers;0<t.length;){var n=Jt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n){e.blockedOn=n;break}t.shift()}null===e.blockedOn&&at.shift()}null!==ut&&yt(ut)&&(ut=null),null!==lt&&yt(lt)&&(lt=null),null!==ct&&yt(ct)&&(ct=null),st.forEach(bt),ft.forEach(bt)}function xt(e,t){e.blockedOn===t&&(e.blockedOn=null,it||(it=!0,i.unstable_scheduleCallback(i.unstable_NormalPriority,wt)))}function Et(e){function t(t){return xt(t,e)}if(0<at.length){xt(at[0],e);for(var n=1;n<at.length;n++){var r=at[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==ut&&xt(ut,e),null!==lt&&xt(lt,e),null!==ct&&xt(ct,e),st.forEach(t),ft.forEach(t),n=0;n<dt.length;n++)(r=dt[n]).blockedOn===e&&(r.blockedOn=null);for(;0<dt.length&&null===(n=dt[0]).blockedOn;)mt(n),null===n.blockedOn&&dt.shift()}function kt(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var St={animationend:kt("Animation","AnimationEnd"),animationiteration:kt("Animation","AnimationIteration"),animationstart:kt("Animation","AnimationStart"),transitionend:kt("Transition","TransitionEnd")},_t={},Ct={};function Ot(e){if(_t[e])return _t[e];if(!St[e])return e;var t,n=St[e];for(t in n)if(n.hasOwnProperty(t)&&t in Ct)return _t[e]=n[t];return e}f&&(Ct=document.createElement("div").style,"AnimationEvent"in window||(delete St.animationend.animation,delete St.animationiteration.animation,delete St.animationstart.animation),"TransitionEvent"in window||delete St.transitionend.transition);var It=Ot("animationend"),Nt=Ot("animationiteration"),Dt=Ot("animationstart"),Tt=Ot("transitionend"),Rt=new Map,At=new Map,Pt=["abort","abort",It,"animationEnd",Nt,"animationIteration",Dt,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",Tt,"transitionEnd","waiting","waiting"];function Lt(e,t){for(var n=0;n<e.length;n+=2){var r=e[n],o=e[n+1];o="on"+(o[0].toUpperCase()+o.slice(1)),At.set(r,t),Rt.set(r,o),c(o,[r])}}(0,i.unstable_now)();var Mt=8;function jt(e){if(0!==(1&e))return Mt=15,1;if(0!==(2&e))return Mt=14,2;if(0!==(4&e))return Mt=13,4;var t=24&e;return 0!==t?(Mt=12,t):0!==(32&e)?(Mt=11,32):0!==(t=192&e)?(Mt=10,t):0!==(256&e)?(Mt=9,256):0!==(t=3584&e)?(Mt=8,t):0!==(4096&e)?(Mt=7,4096):0!==(t=4186112&e)?(Mt=6,t):0!==(t=62914560&e)?(Mt=5,t):67108864&e?(Mt=4,67108864):0!==(134217728&e)?(Mt=3,134217728):0!==(t=805306368&e)?(Mt=2,t):0!==(1073741824&e)?(Mt=1,1073741824):(Mt=8,e)}function Ft(e,t){var n=e.pendingLanes;if(0===n)return Mt=0;var r=0,o=0,i=e.expiredLanes,a=e.suspendedLanes,u=e.pingedLanes;if(0!==i)r=i,o=Mt=15;else if(0!==(i=134217727&n)){var l=i&~a;0!==l?(r=jt(l),o=Mt):0!==(u&=i)&&(r=jt(u),o=Mt)}else 0!==(i=n&~a)?(r=jt(i),o=Mt):0!==u&&(r=jt(u),o=Mt);if(0===r)return 0;if(r=n&((0>(r=31-Gt(r))?0:1<<r)<<1)-1,0!==t&&t!==r&&0===(t&a)){if(jt(t),o<=Mt)return t;Mt=o}if(0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)o=1<<(n=31-Gt(t)),r|=e[n],t&=~o;return r}function Bt(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function zt(e,t){switch(e){case 15:return 1;case 14:return 2;case 12:return 0===(e=Ut(24&~t))?zt(10,t):e;case 10:return 0===(e=Ut(192&~t))?zt(8,t):e;case 8:return 0===(e=Ut(3584&~t))&&(0===(e=Ut(4186112&~t))&&(e=512)),e;case 2:return 0===(t=Ut(805306368&~t))&&(t=268435456),t}throw Error(a(358,e))}function Ut(e){return e&-e}function Wt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Ht(e,t,n){e.pendingLanes|=t;var r=t-1;e.suspendedLanes&=r,e.pingedLanes&=r,(e=e.eventTimes)[t=31-Gt(t)]=n}var Gt=Math.clz32?Math.clz32:function(e){return 0===e?32:31-(Vt(e)/$t|0)|0},Vt=Math.log,$t=Math.LN2;var qt=i.unstable_UserBlockingPriority,Kt=i.unstable_runWithPriority,Yt=!0;function Zt(e,t,n,r){je||Le();var o=Qt,i=je;je=!0;try{Pe(o,e,t,n,r)}finally{(je=i)||Be()}}function Xt(e,t,n,r){Kt(qt,Qt.bind(null,e,t,n,r))}function Qt(e,t,n,r){var o;if(Yt)if((o=0===(4&t))&&0<at.length&&-1<pt.indexOf(e))e=ht(null,e,t,n,r),at.push(e);else{var i=Jt(e,t,n,r);if(null===i)o&&vt(e,r);else{if(o){if(-1<pt.indexOf(e))return e=ht(i,e,t,n,r),void at.push(e);if(function(e,t,n,r,o){switch(t){case"focusin":return ut=gt(ut,e,t,n,r,o),!0;case"dragenter":return lt=gt(lt,e,t,n,r,o),!0;case"mouseover":return ct=gt(ct,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return st.set(i,gt(st.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,ft.set(i,gt(ft.get(i)||null,e,t,n,r,o)),!0}return!1}(i,e,t,n,r))return;vt(e,r)}Lr(e,t,r,null,n)}}}function Jt(e,t,n,r){var o=Ce(r);if(null!==(o=no(o))){var i=Ze(o);if(null===i)o=null;else{var a=i.tag;if(13===a){if(null!==(o=Xe(i)))return o;o=null}else if(3===a){if(i.stateNode.hydrate)return 3===i.tag?i.stateNode.containerInfo:null;o=null}else i!==o&&(o=null)}}return Lr(e,t,r,o,n),null}var en=null,tn=null,nn=null;function rn(){if(nn)return nn;var e,t,n=tn,r=n.length,o="value"in en?en.value:en.textContent,i=o.length;for(e=0;e<r&&n[e]===o[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===o[i-t];t++);return nn=o.slice(e,1<t?1-t:void 0)}function on(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function an(){return!0}function un(){return!1}function ln(e){function t(t,n,r,o,i){for(var a in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=o,this.target=i,this.currentTarget=null,e)e.hasOwnProperty(a)&&(t=e[a],this[a]=t?t(o):o[a]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?an:un,this.isPropagationStopped=un,this}return o(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!==typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=an)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!==typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=an)},persist:function(){},isPersistent:an}),t}var cn,sn,fn,dn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},pn=ln(dn),hn=o({},dn,{view:0,detail:0}),vn=ln(hn),gn=o({},hn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:In,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==fn&&(fn&&"mousemove"===e.type?(cn=e.screenX-fn.screenX,sn=e.screenY-fn.screenY):sn=cn=0,fn=e),cn)},movementY:function(e){return"movementY"in e?e.movementY:sn}}),mn=ln(gn),yn=ln(o({},gn,{dataTransfer:0})),bn=ln(o({},hn,{relatedTarget:0})),wn=ln(o({},dn,{animationName:0,elapsedTime:0,pseudoElement:0})),xn=o({},dn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),En=ln(xn),kn=ln(o({},dn,{data:0})),Sn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},_n={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Cn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function On(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Cn[e])&&!!t[e]}function In(){return On}var Nn=o({},hn,{key:function(e){if(e.key){var t=Sn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=on(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?_n[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:In,charCode:function(e){return"keypress"===e.type?on(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?on(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),Dn=ln(Nn),Tn=ln(o({},gn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Rn=ln(o({},hn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:In})),An=ln(o({},dn,{propertyName:0,elapsedTime:0,pseudoElement:0})),Pn=o({},gn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Ln=ln(Pn),Mn=[9,13,27,32],jn=f&&"CompositionEvent"in window,Fn=null;f&&"documentMode"in document&&(Fn=document.documentMode);var Bn=f&&"TextEvent"in window&&!Fn,zn=f&&(!jn||Fn&&8<Fn&&11>=Fn),Un=String.fromCharCode(32),Wn=!1;function Hn(e,t){switch(e){case"keyup":return-1!==Mn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Gn(e){return"object"===typeof(e=e.detail)&&"data"in e?e.data:null}var Vn=!1;var $n={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function qn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!$n[e.type]:"textarea"===t}function Kn(e,t,n,r){Te(r),0<(t=jr(t,"onChange")).length&&(n=new pn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Yn=null,Zn=null;function Xn(e){Nr(e,0)}function Qn(e){if(X(oo(e)))return e}function Jn(e,t){if("change"===e)return t}var er=!1;if(f){var tr;if(f){var nr="oninput"in document;if(!nr){var rr=document.createElement("div");rr.setAttribute("oninput","return;"),nr="function"===typeof rr.oninput}tr=nr}else tr=!1;er=tr&&(!document.documentMode||9<document.documentMode)}function or(){Yn&&(Yn.detachEvent("onpropertychange",ir),Zn=Yn=null)}function ir(e){if("value"===e.propertyName&&Qn(Zn)){var t=[];if(Kn(t,Zn,e,Ce(e)),e=Xn,je)e(t);else{je=!0;try{Ae(e,t)}finally{je=!1,Be()}}}}function ar(e,t,n){"focusin"===e?(or(),Zn=n,(Yn=t).attachEvent("onpropertychange",ir)):"focusout"===e&&or()}function ur(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Qn(Zn)}function lr(e,t){if("click"===e)return Qn(t)}function cr(e,t){if("input"===e||"change"===e)return Qn(t)}var sr="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t},fr=Object.prototype.hasOwnProperty;function dr(e,t){if(sr(e,t))return!0;if("object"!==typeof e||null===e||"object"!==typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++)if(!fr.call(t,n[r])||!sr(e[n[r]],t[n[r]]))return!1;return!0}function pr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function hr(e,t){var n,r=pr(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=pr(r)}}function vr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?vr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function gr(){for(var e=window,t=Q();t instanceof e.HTMLIFrameElement;){try{var n="string"===typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=Q((e=t.contentWindow).document)}return t}function mr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var yr=f&&"documentMode"in document&&11>=document.documentMode,br=null,wr=null,xr=null,Er=!1;function kr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;Er||null==br||br!==Q(r)||("selectionStart"in(r=br)&&mr(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},xr&&dr(xr,r)||(xr=r,0<(r=jr(wr,"onSelect")).length&&(t=new pn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=br)))}Lt("cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focusin focus focusout blur input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),Lt("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),Lt(Pt,2);for(var Sr="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),_r=0;_r<Sr.length;_r++)At.set(Sr[_r],0);s("onMouseEnter",["mouseout","mouseover"]),s("onMouseLeave",["mouseout","mouseover"]),s("onPointerEnter",["pointerout","pointerover"]),s("onPointerLeave",["pointerout","pointerover"]),c("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),c("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),c("onBeforeInput",["compositionend","keypress","textInput","paste"]),c("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),c("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),c("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Cr="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Or=new Set("cancel close invalid load scroll toggle".split(" ").concat(Cr));function Ir(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,o,i,u,l,c){if(Ye.apply(this,arguments),Ge){if(!Ge)throw Error(a(198));var s=Ve;Ge=!1,Ve=null,$e||($e=!0,qe=s)}}(r,t,void 0,e),e.currentTarget=null}function Nr(e,t){t=0!==(4&t);for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var i=void 0;if(t)for(var a=r.length-1;0<=a;a--){var u=r[a],l=u.instance,c=u.currentTarget;if(u=u.listener,l!==i&&o.isPropagationStopped())break e;Ir(o,u,c),i=l}else for(a=0;a<r.length;a++){if(l=(u=r[a]).instance,c=u.currentTarget,u=u.listener,l!==i&&o.isPropagationStopped())break e;Ir(o,u,c),i=l}}}if($e)throw e=qe,$e=!1,qe=null,e}function Dr(e,t){var n=ao(t),r=e+"__bubble";n.has(r)||(Pr(t,e,2,!1),n.add(r))}var Tr="_reactListening"+Math.random().toString(36).slice(2);function Rr(e){e[Tr]||(e[Tr]=!0,u.forEach((function(t){Or.has(t)||Ar(t,!1,e,null),Ar(t,!0,e,null)})))}function Ar(e,t,n,r){var o=4<arguments.length&&void 0!==arguments[4]?arguments[4]:0,i=n;if("selectionchange"===e&&9!==n.nodeType&&(i=n.ownerDocument),null!==r&&!t&&Or.has(e)){if("scroll"!==e)return;o|=2,i=r}var a=ao(i),u=e+"__"+(t?"capture":"bubble");a.has(u)||(t&&(o|=4),Pr(i,e,o,t),a.add(u))}function Pr(e,t,n,r){var o=At.get(t);switch(void 0===o?2:o){case 0:o=Zt;break;case 1:o=Xt;break;default:o=Qt}n=o.bind(null,t,n,e),o=void 0,!Ue||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(o=!0),r?void 0!==o?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):void 0!==o?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function Lr(e,t,n,r,o){var i=r;if(0===(1&t)&&0===(2&t)&&null!==r)e:for(;;){if(null===r)return;var a=r.tag;if(3===a||4===a){var u=r.stateNode.containerInfo;if(u===o||8===u.nodeType&&u.parentNode===o)break;if(4===a)for(a=r.return;null!==a;){var l=a.tag;if((3===l||4===l)&&((l=a.stateNode.containerInfo)===o||8===l.nodeType&&l.parentNode===o))return;a=a.return}for(;null!==u;){if(null===(a=no(u)))return;if(5===(l=a.tag)||6===l){r=i=a;continue e}u=u.parentNode}}r=r.return}!function(e,t,n){if(Fe)return e(t,n);Fe=!0;try{Me(e,t,n)}finally{Fe=!1,Be()}}((function(){var r=i,o=Ce(n),a=[];e:{var u=Rt.get(e);if(void 0!==u){var l=pn,c=e;switch(e){case"keypress":if(0===on(n))break e;case"keydown":case"keyup":l=Dn;break;case"focusin":c="focus",l=bn;break;case"focusout":c="blur",l=bn;break;case"beforeblur":case"afterblur":l=bn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":l=mn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":l=yn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":l=Rn;break;case It:case Nt:case Dt:l=wn;break;case Tt:l=An;break;case"scroll":l=vn;break;case"wheel":l=Ln;break;case"copy":case"cut":case"paste":l=En;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":l=Tn}var s=0!==(4&t),f=!s&&"scroll"===e,d=s?null!==u?u+"Capture":null:u;s=[];for(var p,h=r;null!==h;){var v=(p=h).stateNode;if(5===p.tag&&null!==v&&(p=v,null!==d&&(null!=(v=ze(h,d))&&s.push(Mr(h,v,p)))),f)break;h=h.return}0<s.length&&(u=new l(u,c,null,n,o),a.push({event:u,listeners:s}))}}if(0===(7&t)){if(l="mouseout"===e||"pointerout"===e,(!(u="mouseover"===e||"pointerover"===e)||0!==(16&t)||!(c=n.relatedTarget||n.fromElement)||!no(c)&&!c[eo])&&(l||u)&&(u=o.window===o?o:(u=o.ownerDocument)?u.defaultView||u.parentWindow:window,l?(l=r,null!==(c=(c=n.relatedTarget||n.toElement)?no(c):null)&&(c!==(f=Ze(c))||5!==c.tag&&6!==c.tag)&&(c=null)):(l=null,c=r),l!==c)){if(s=mn,v="onMouseLeave",d="onMouseEnter",h="mouse","pointerout"!==e&&"pointerover"!==e||(s=Tn,v="onPointerLeave",d="onPointerEnter",h="pointer"),f=null==l?u:oo(l),p=null==c?u:oo(c),(u=new s(v,h+"leave",l,n,o)).target=f,u.relatedTarget=p,v=null,no(o)===r&&((s=new s(d,h+"enter",c,n,o)).target=p,s.relatedTarget=f,v=s),f=v,l&&c)e:{for(d=c,h=0,p=s=l;p;p=Fr(p))h++;for(p=0,v=d;v;v=Fr(v))p++;for(;0<h-p;)s=Fr(s),h--;for(;0<p-h;)d=Fr(d),p--;for(;h--;){if(s===d||null!==d&&s===d.alternate)break e;s=Fr(s),d=Fr(d)}s=null}else s=null;null!==l&&Br(a,u,l,s,!1),null!==c&&null!==f&&Br(a,f,c,s,!0)}if("select"===(l=(u=r?oo(r):window).nodeName&&u.nodeName.toLowerCase())||"input"===l&&"file"===u.type)var g=Jn;else if(qn(u))if(er)g=cr;else{g=ur;var m=ar}else(l=u.nodeName)&&"input"===l.toLowerCase()&&("checkbox"===u.type||"radio"===u.type)&&(g=lr);switch(g&&(g=g(e,r))?Kn(a,g,n,o):(m&&m(e,u,r),"focusout"===e&&(m=u._wrapperState)&&m.controlled&&"number"===u.type&&oe(u,"number",u.value)),m=r?oo(r):window,e){case"focusin":(qn(m)||"true"===m.contentEditable)&&(br=m,wr=r,xr=null);break;case"focusout":xr=wr=br=null;break;case"mousedown":Er=!0;break;case"contextmenu":case"mouseup":case"dragend":Er=!1,kr(a,n,o);break;case"selectionchange":if(yr)break;case"keydown":case"keyup":kr(a,n,o)}var y;if(jn)e:{switch(e){case"compositionstart":var b="onCompositionStart";break e;case"compositionend":b="onCompositionEnd";break e;case"compositionupdate":b="onCompositionUpdate";break e}b=void 0}else Vn?Hn(e,n)&&(b="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(b="onCompositionStart");b&&(zn&&"ko"!==n.locale&&(Vn||"onCompositionStart"!==b?"onCompositionEnd"===b&&Vn&&(y=rn()):(tn="value"in(en=o)?en.value:en.textContent,Vn=!0)),0<(m=jr(r,b)).length&&(b=new kn(b,e,null,n,o),a.push({event:b,listeners:m}),y?b.data=y:null!==(y=Gn(n))&&(b.data=y))),(y=Bn?function(e,t){switch(e){case"compositionend":return Gn(t);case"keypress":return 32!==t.which?null:(Wn=!0,Un);case"textInput":return(e=t.data)===Un&&Wn?null:e;default:return null}}(e,n):function(e,t){if(Vn)return"compositionend"===e||!jn&&Hn(e,t)?(e=rn(),nn=tn=en=null,Vn=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return zn&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(r=jr(r,"onBeforeInput")).length&&(o=new kn("onBeforeInput","beforeinput",null,n,o),a.push({event:o,listeners:r}),o.data=y))}Nr(a,t)}))}function Mr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function jr(e,t){for(var n=t+"Capture",r=[];null!==e;){var o=e,i=o.stateNode;5===o.tag&&null!==i&&(o=i,null!=(i=ze(e,n))&&r.unshift(Mr(e,i,o)),null!=(i=ze(e,t))&&r.push(Mr(e,i,o))),e=e.return}return r}function Fr(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Br(e,t,n,r,o){for(var i=t._reactName,a=[];null!==n&&n!==r;){var u=n,l=u.alternate,c=u.stateNode;if(null!==l&&l===r)break;5===u.tag&&null!==c&&(u=c,o?null!=(l=ze(n,i))&&a.unshift(Mr(n,l,u)):o||null!=(l=ze(n,i))&&a.push(Mr(n,l,u))),n=n.return}0!==a.length&&e.push({event:t,listeners:a})}function zr(){}var Ur=null,Wr=null;function Hr(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function Gr(e,t){return"textarea"===e||"option"===e||"noscript"===e||"string"===typeof t.children||"number"===typeof t.children||"object"===typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var Vr="function"===typeof setTimeout?setTimeout:void 0,$r="function"===typeof clearTimeout?clearTimeout:void 0;function qr(e){1===e.nodeType?e.textContent="":9===e.nodeType&&(null!=(e=e.body)&&(e.textContent=""))}function Kr(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}function Yr(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var Zr=0;var Xr=Math.random().toString(36).slice(2),Qr="__reactFiber$"+Xr,Jr="__reactProps$"+Xr,eo="__reactContainer$"+Xr,to="__reactEvents$"+Xr;function no(e){var t=e[Qr];if(t)return t;for(var n=e.parentNode;n;){if(t=n[eo]||n[Qr]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=Yr(e);null!==e;){if(n=e[Qr])return n;e=Yr(e)}return t}n=(e=n).parentNode}return null}function ro(e){return!(e=e[Qr]||e[eo])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function oo(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(a(33))}function io(e){return e[Jr]||null}function ao(e){var t=e[to];return void 0===t&&(t=e[to]=new Set),t}var uo=[],lo=-1;function co(e){return{current:e}}function so(e){0>lo||(e.current=uo[lo],uo[lo]=null,lo--)}function fo(e,t){lo++,uo[lo]=e.current,e.current=t}var po={},ho=co(po),vo=co(!1),go=po;function mo(e,t){var n=e.type.contextTypes;if(!n)return po;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,i={};for(o in n)i[o]=t[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function yo(e){return null!==(e=e.childContextTypes)&&void 0!==e}function bo(){so(vo),so(ho)}function wo(e,t,n){if(ho.current!==po)throw Error(a(168));fo(ho,t),fo(vo,n)}function xo(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,"function"!==typeof r.getChildContext)return n;for(var i in r=r.getChildContext())if(!(i in e))throw Error(a(108,q(t)||"Unknown",i));return o({},n,r)}function Eo(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||po,go=ho.current,fo(ho,e),fo(vo,vo.current),!0}function ko(e,t,n){var r=e.stateNode;if(!r)throw Error(a(169));n?(e=xo(e,t,go),r.__reactInternalMemoizedMergedChildContext=e,so(vo),so(ho),fo(ho,e)):so(vo),fo(vo,n)}var So=null,_o=null,Co=i.unstable_runWithPriority,Oo=i.unstable_scheduleCallback,Io=i.unstable_cancelCallback,No=i.unstable_shouldYield,Do=i.unstable_requestPaint,To=i.unstable_now,Ro=i.unstable_getCurrentPriorityLevel,Ao=i.unstable_ImmediatePriority,Po=i.unstable_UserBlockingPriority,Lo=i.unstable_NormalPriority,Mo=i.unstable_LowPriority,jo=i.unstable_IdlePriority,Fo={},Bo=void 0!==Do?Do:function(){},zo=null,Uo=null,Wo=!1,Ho=To(),Go=1e4>Ho?To:function(){return To()-Ho};function Vo(){switch(Ro()){case Ao:return 99;case Po:return 98;case Lo:return 97;case Mo:return 96;case jo:return 95;default:throw Error(a(332))}}function $o(e){switch(e){case 99:return Ao;case 98:return Po;case 97:return Lo;case 96:return Mo;case 95:return jo;default:throw Error(a(332))}}function qo(e,t){return e=$o(e),Co(e,t)}function Ko(e,t,n){return e=$o(e),Oo(e,t,n)}function Yo(){if(null!==Uo){var e=Uo;Uo=null,Io(e)}Zo()}function Zo(){if(!Wo&&null!==zo){Wo=!0;var e=0;try{var t=zo;qo(99,(function(){for(;e<t.length;e++){var n=t[e];do{n=n(!0)}while(null!==n)}})),zo=null}catch(n){throw null!==zo&&(zo=zo.slice(e+1)),Oo(Ao,Yo),n}finally{Wo=!1}}}var Xo=x.ReactCurrentBatchConfig;function Qo(e,t){if(e&&e.defaultProps){for(var n in t=o({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var Jo=co(null),ei=null,ti=null,ni=null;function ri(){ni=ti=ei=null}function oi(e){var t=Jo.current;so(Jo),e.type._context._currentValue=t}function ii(e,t){for(;null!==e;){var n=e.alternate;if((e.childLanes&t)===t){if(null===n||(n.childLanes&t)===t)break;n.childLanes|=t}else e.childLanes|=t,null!==n&&(n.childLanes|=t);e=e.return}}function ai(e,t){ei=e,ni=ti=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!==(e.lanes&t)&&(ja=!0),e.firstContext=null)}function ui(e,t){if(ni!==e&&!1!==t&&0!==t)if("number"===typeof t&&1073741823!==t||(ni=e,t=1073741823),t={context:e,observedBits:t,next:null},null===ti){if(null===ei)throw Error(a(308));ti=t,ei.dependencies={lanes:0,firstContext:t,responders:null}}else ti=ti.next=t;return e._currentValue}var li=!1;function ci(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function si(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function fi(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function di(e,t){if(null!==(e=e.updateQueue)){var n=(e=e.shared).pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}}function pi(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var o=null,i=null;if(null!==(n=n.firstBaseUpdate)){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===i?o=i=a:i=i.next=a,n=n.next}while(null!==n);null===i?o=i=t:i=i.next=t}else o=i=t;return n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function hi(e,t,n,r){var i=e.updateQueue;li=!1;var a=i.firstBaseUpdate,u=i.lastBaseUpdate,l=i.shared.pending;if(null!==l){i.shared.pending=null;var c=l,s=c.next;c.next=null,null===u?a=s:u.next=s,u=c;var f=e.alternate;if(null!==f){var d=(f=f.updateQueue).lastBaseUpdate;d!==u&&(null===d?f.firstBaseUpdate=s:d.next=s,f.lastBaseUpdate=c)}}if(null!==a){for(d=i.baseState,u=0,f=s=c=null;;){l=a.lane;var p=a.eventTime;if((r&l)===l){null!==f&&(f=f.next={eventTime:p,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var h=e,v=a;switch(l=t,p=n,v.tag){case 1:if("function"===typeof(h=v.payload)){d=h.call(p,d,l);break e}d=h;break e;case 3:h.flags=-4097&h.flags|64;case 0:if(null===(l="function"===typeof(h=v.payload)?h.call(p,d,l):h)||void 0===l)break e;d=o({},d,l);break e;case 2:li=!0}}null!==a.callback&&(e.flags|=32,null===(l=i.effects)?i.effects=[a]:l.push(a))}else p={eventTime:p,lane:l,tag:a.tag,payload:a.payload,callback:a.callback,next:null},null===f?(s=f=p,c=d):f=f.next=p,u|=l;if(null===(a=a.next)){if(null===(l=i.shared.pending))break;a=l.next,l.next=null,i.lastBaseUpdate=l,i.shared.pending=null}}null===f&&(c=d),i.baseState=c,i.firstBaseUpdate=s,i.lastBaseUpdate=f,Uu|=u,e.lanes=u,e.memoizedState=d}}function vi(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(null!==o){if(r.callback=null,r=n,"function"!==typeof o)throw Error(a(191,o));o.call(r)}}}var gi=(new r.Component).refs;function mi(e,t,n,r){n=null===(n=n(r,t=e.memoizedState))||void 0===n?t:o({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var yi={isMounted:function(e){return!!(e=e._reactInternals)&&Ze(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=dl(),o=pl(e),i=fi(r,o);i.payload=t,void 0!==n&&null!==n&&(i.callback=n),di(e,i),hl(e,o,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=dl(),o=pl(e),i=fi(r,o);i.tag=1,i.payload=t,void 0!==n&&null!==n&&(i.callback=n),di(e,i),hl(e,o,r)},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=dl(),r=pl(e),o=fi(n,r);o.tag=2,void 0!==t&&null!==t&&(o.callback=t),di(e,o),hl(e,r,n)}};function bi(e,t,n,r,o,i,a){return"function"===typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,i,a):!t.prototype||!t.prototype.isPureReactComponent||(!dr(n,r)||!dr(o,i))}function wi(e,t,n){var r=!1,o=po,i=t.contextType;return"object"===typeof i&&null!==i?i=ui(i):(o=yo(t)?go:ho.current,i=(r=null!==(r=t.contextTypes)&&void 0!==r)?mo(e,o):po),t=new t(n,i),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=yi,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function xi(e,t,n,r){e=t.state,"function"===typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"===typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&yi.enqueueReplaceState(t,t.state,null)}function Ei(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=gi,ci(e);var i=t.contextType;"object"===typeof i&&null!==i?o.context=ui(i):(i=yo(t)?go:ho.current,o.context=mo(e,i)),hi(e,n,o,r),o.state=e.memoizedState,"function"===typeof(i=t.getDerivedStateFromProps)&&(mi(e,t,i,n),o.state=e.memoizedState),"function"===typeof t.getDerivedStateFromProps||"function"===typeof o.getSnapshotBeforeUpdate||"function"!==typeof o.UNSAFE_componentWillMount&&"function"!==typeof o.componentWillMount||(t=o.state,"function"===typeof o.componentWillMount&&o.componentWillMount(),"function"===typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),t!==o.state&&yi.enqueueReplaceState(o,o.state,null),hi(e,n,o,r),o.state=e.memoizedState),"function"===typeof o.componentDidMount&&(e.flags|=4)}var ki=Array.isArray;function Si(e,t,n){if(null!==(e=n.ref)&&"function"!==typeof e&&"object"!==typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(a(309));var r=n.stateNode}if(!r)throw Error(a(147,e));var o=""+e;return null!==t&&null!==t.ref&&"function"===typeof t.ref&&t.ref._stringRef===o?t.ref:(t=function(e){var t=r.refs;t===gi&&(t=r.refs={}),null===e?delete t[o]:t[o]=e},t._stringRef=o,t)}if("string"!==typeof e)throw Error(a(284));if(!n._owner)throw Error(a(290,e))}return e}function _i(e,t){if("textarea"!==e.type)throw Error(a(31,"[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t))}function Ci(e){function t(t,n){if(e){var r=t.lastEffect;null!==r?(r.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n,n.nextEffect=null,n.flags=8}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function o(e,t){return(e=$l(e,t)).index=0,e.sibling=null,e}function i(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags=2,n):r:(t.flags=2,n):n}function u(t){return e&&null===t.alternate&&(t.flags=2),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=Zl(n,e.mode,r)).return=e,t):((t=o(t,n)).return=e,t)}function c(e,t,n,r){return null!==t&&t.elementType===n.type?((r=o(t,n.props)).ref=Si(e,t,n),r.return=e,r):((r=ql(n.type,n.key,n.props,null,e.mode,r)).ref=Si(e,t,n),r.return=e,r)}function s(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Xl(n,e.mode,r)).return=e,t):((t=o(t,n.children||[])).return=e,t)}function f(e,t,n,r,i){return null===t||7!==t.tag?((t=Kl(n,e.mode,r,i)).return=e,t):((t=o(t,n)).return=e,t)}function d(e,t,n){if("string"===typeof t||"number"===typeof t)return(t=Zl(""+t,e.mode,n)).return=e,t;if("object"===typeof t&&null!==t){switch(t.$$typeof){case E:return(n=ql(t.type,t.key,t.props,null,e.mode,n)).ref=Si(e,null,t),n.return=e,n;case k:return(t=Xl(t,e.mode,n)).return=e,t}if(ki(t)||W(t))return(t=Kl(t,e.mode,n,null)).return=e,t;_i(e,t)}return null}function p(e,t,n,r){var o=null!==t?t.key:null;if("string"===typeof n||"number"===typeof n)return null!==o?null:l(e,t,""+n,r);if("object"===typeof n&&null!==n){switch(n.$$typeof){case E:return n.key===o?n.type===S?f(e,t,n.props.children,r,o):c(e,t,n,r):null;case k:return n.key===o?s(e,t,n,r):null}if(ki(n)||W(n))return null!==o?null:f(e,t,n,r,null);_i(e,n)}return null}function h(e,t,n,r,o){if("string"===typeof r||"number"===typeof r)return l(t,e=e.get(n)||null,""+r,o);if("object"===typeof r&&null!==r){switch(r.$$typeof){case E:return e=e.get(null===r.key?n:r.key)||null,r.type===S?f(t,e,r.props.children,o,r.key):c(t,e,r,o);case k:return s(t,e=e.get(null===r.key?n:r.key)||null,r,o)}if(ki(r)||W(r))return f(t,e=e.get(n)||null,r,o,null);_i(t,r)}return null}function v(o,a,u,l){for(var c=null,s=null,f=a,v=a=0,g=null;null!==f&&v<u.length;v++){f.index>v?(g=f,f=null):g=f.sibling;var m=p(o,f,u[v],l);if(null===m){null===f&&(f=g);break}e&&f&&null===m.alternate&&t(o,f),a=i(m,a,v),null===s?c=m:s.sibling=m,s=m,f=g}if(v===u.length)return n(o,f),c;if(null===f){for(;v<u.length;v++)null!==(f=d(o,u[v],l))&&(a=i(f,a,v),null===s?c=f:s.sibling=f,s=f);return c}for(f=r(o,f);v<u.length;v++)null!==(g=h(f,o,v,u[v],l))&&(e&&null!==g.alternate&&f.delete(null===g.key?v:g.key),a=i(g,a,v),null===s?c=g:s.sibling=g,s=g);return e&&f.forEach((function(e){return t(o,e)})),c}function g(o,u,l,c){var s=W(l);if("function"!==typeof s)throw Error(a(150));if(null==(l=s.call(l)))throw Error(a(151));for(var f=s=null,v=u,g=u=0,m=null,y=l.next();null!==v&&!y.done;g++,y=l.next()){v.index>g?(m=v,v=null):m=v.sibling;var b=p(o,v,y.value,c);if(null===b){null===v&&(v=m);break}e&&v&&null===b.alternate&&t(o,v),u=i(b,u,g),null===f?s=b:f.sibling=b,f=b,v=m}if(y.done)return n(o,v),s;if(null===v){for(;!y.done;g++,y=l.next())null!==(y=d(o,y.value,c))&&(u=i(y,u,g),null===f?s=y:f.sibling=y,f=y);return s}for(v=r(o,v);!y.done;g++,y=l.next())null!==(y=h(v,o,g,y.value,c))&&(e&&null!==y.alternate&&v.delete(null===y.key?g:y.key),u=i(y,u,g),null===f?s=y:f.sibling=y,f=y);return e&&v.forEach((function(e){return t(o,e)})),s}return function(e,r,i,l){var c="object"===typeof i&&null!==i&&i.type===S&&null===i.key;c&&(i=i.props.children);var s="object"===typeof i&&null!==i;if(s)switch(i.$$typeof){case E:e:{for(s=i.key,c=r;null!==c;){if(c.key===s){if(7===c.tag){if(i.type===S){n(e,c.sibling),(r=o(c,i.props.children)).return=e,e=r;break e}}else if(c.elementType===i.type){n(e,c.sibling),(r=o(c,i.props)).ref=Si(e,c,i),r.return=e,e=r;break e}n(e,c);break}t(e,c),c=c.sibling}i.type===S?((r=Kl(i.props.children,e.mode,l,i.key)).return=e,e=r):((l=ql(i.type,i.key,i.props,null,e.mode,l)).ref=Si(e,r,i),l.return=e,e=l)}return u(e);case k:e:{for(c=i.key;null!==r;){if(r.key===c){if(4===r.tag&&r.stateNode.containerInfo===i.containerInfo&&r.stateNode.implementation===i.implementation){n(e,r.sibling),(r=o(r,i.children||[])).return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}(r=Xl(i,e.mode,l)).return=e,e=r}return u(e)}if("string"===typeof i||"number"===typeof i)return i=""+i,null!==r&&6===r.tag?(n(e,r.sibling),(r=o(r,i)).return=e,e=r):(n(e,r),(r=Zl(i,e.mode,l)).return=e,e=r),u(e);if(ki(i))return v(e,r,i,l);if(W(i))return g(e,r,i,l);if(s&&_i(e,i),"undefined"===typeof i&&!c)switch(e.tag){case 1:case 22:case 0:case 11:case 15:throw Error(a(152,q(e.type)||"Component"))}return n(e,r)}}var Oi=Ci(!0),Ii=Ci(!1),Ni={},Di=co(Ni),Ti=co(Ni),Ri=co(Ni);function Ai(e){if(e===Ni)throw Error(a(174));return e}function Pi(e,t){switch(fo(Ri,t),fo(Ti,e),fo(Di,Ni),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:he(null,"");break;default:t=he(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}so(Di),fo(Di,t)}function Li(){so(Di),so(Ti),so(Ri)}function Mi(e){Ai(Ri.current);var t=Ai(Di.current),n=he(t,e.type);t!==n&&(fo(Ti,e),fo(Di,n))}function ji(e){Ti.current===e&&(so(Di),so(Ti))}var Fi=co(0);function Bi(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!==(64&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var zi=null,Ui=null,Wi=!1;function Hi(e,t){var n=Gl(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.flags=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function Gi(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);default:return!1}}function Vi(e){if(Wi){var t=Ui;if(t){var n=t;if(!Gi(e,t)){if(!(t=Kr(n.nextSibling))||!Gi(e,t))return e.flags=-1025&e.flags|2,Wi=!1,void(zi=e);Hi(zi,n)}zi=e,Ui=Kr(t.firstChild)}else e.flags=-1025&e.flags|2,Wi=!1,zi=e}}function $i(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;zi=e}function qi(e){if(e!==zi)return!1;if(!Wi)return $i(e),Wi=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!Gr(t,e.memoizedProps))for(t=Ui;t;)Hi(e,t),t=Kr(t.nextSibling);if($i(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(a(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){Ui=Kr(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}Ui=null}}else Ui=zi?Kr(e.stateNode.nextSibling):null;return!0}function Ki(){Ui=zi=null,Wi=!1}var Yi=[];function Zi(){for(var e=0;e<Yi.length;e++)Yi[e]._workInProgressVersionPrimary=null;Yi.length=0}var Xi=x.ReactCurrentDispatcher,Qi=x.ReactCurrentBatchConfig,Ji=0,ea=null,ta=null,na=null,ra=!1,oa=!1;function ia(){throw Error(a(321))}function aa(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!sr(e[n],t[n]))return!1;return!0}function ua(e,t,n,r,o,i){if(Ji=i,ea=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Xi.current=null===e||null===e.memoizedState?Aa:Pa,e=n(r,o),oa){i=0;do{if(oa=!1,!(25>i))throw Error(a(301));i+=1,na=ta=null,t.updateQueue=null,Xi.current=La,e=n(r,o)}while(oa)}if(Xi.current=Ra,t=null!==ta&&null!==ta.next,Ji=0,na=ta=ea=null,ra=!1,t)throw Error(a(300));return e}function la(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===na?ea.memoizedState=na=e:na=na.next=e,na}function ca(){if(null===ta){var e=ea.alternate;e=null!==e?e.memoizedState:null}else e=ta.next;var t=null===na?ea.memoizedState:na.next;if(null!==t)na=t,ta=e;else{if(null===e)throw Error(a(310));e={memoizedState:(ta=e).memoizedState,baseState:ta.baseState,baseQueue:ta.baseQueue,queue:ta.queue,next:null},null===na?ea.memoizedState=na=e:na=na.next=e}return na}function sa(e,t){return"function"===typeof t?t(e):t}function fa(e){var t=ca(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=ta,o=r.baseQueue,i=n.pending;if(null!==i){if(null!==o){var u=o.next;o.next=i.next,i.next=u}r.baseQueue=o=i,n.pending=null}if(null!==o){o=o.next,r=r.baseState;var l=u=i=null,c=o;do{var s=c.lane;if((Ji&s)===s)null!==l&&(l=l.next={lane:0,action:c.action,eagerReducer:c.eagerReducer,eagerState:c.eagerState,next:null}),r=c.eagerReducer===e?c.eagerState:e(r,c.action);else{var f={lane:s,action:c.action,eagerReducer:c.eagerReducer,eagerState:c.eagerState,next:null};null===l?(u=l=f,i=r):l=l.next=f,ea.lanes|=s,Uu|=s}c=c.next}while(null!==c&&c!==o);null===l?i=r:l.next=u,sr(r,t.memoizedState)||(ja=!0),t.memoizedState=r,t.baseState=i,t.baseQueue=l,n.lastRenderedState=r}return[t.memoizedState,n.dispatch]}function da(e){var t=ca(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,i=t.memoizedState;if(null!==o){n.pending=null;var u=o=o.next;do{i=e(i,u.action),u=u.next}while(u!==o);sr(i,t.memoizedState)||(ja=!0),t.memoizedState=i,null===t.baseQueue&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function pa(e,t,n){var r=t._getVersion;r=r(t._source);var o=t._workInProgressVersionPrimary;if(null!==o?e=o===r:(e=e.mutableReadLanes,(e=(Ji&e)===e)&&(t._workInProgressVersionPrimary=r,Yi.push(t))),e)return n(t._source);throw Yi.push(t),Error(a(350))}function ha(e,t,n,r){var o=Au;if(null===o)throw Error(a(349));var i=t._getVersion,u=i(t._source),l=Xi.current,c=l.useState((function(){return pa(o,t,n)})),s=c[1],f=c[0];c=na;var d=e.memoizedState,p=d.refs,h=p.getSnapshot,v=d.source;d=d.subscribe;var g=ea;return e.memoizedState={refs:p,source:t,subscribe:r},l.useEffect((function(){p.getSnapshot=n,p.setSnapshot=s;var e=i(t._source);if(!sr(u,e)){e=n(t._source),sr(f,e)||(s(e),e=pl(g),o.mutableReadLanes|=e&o.pendingLanes),e=o.mutableReadLanes,o.entangledLanes|=e;for(var r=o.entanglements,a=e;0<a;){var l=31-Gt(a),c=1<<l;r[l]|=e,a&=~c}}}),[n,t,r]),l.useEffect((function(){return r(t._source,(function(){var e=p.getSnapshot,n=p.setSnapshot;try{n(e(t._source));var r=pl(g);o.mutableReadLanes|=r&o.pendingLanes}catch(i){n((function(){throw i}))}}))}),[t,r]),sr(h,n)&&sr(v,t)&&sr(d,r)||((e={pending:null,dispatch:null,lastRenderedReducer:sa,lastRenderedState:f}).dispatch=s=Ta.bind(null,ea,e),c.queue=e,c.baseQueue=null,f=pa(o,t,n),c.memoizedState=c.baseState=f),f}function va(e,t,n){return ha(ca(),e,t,n)}function ga(e){var t=la();return"function"===typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={pending:null,dispatch:null,lastRenderedReducer:sa,lastRenderedState:e}).dispatch=Ta.bind(null,ea,e),[t.memoizedState,e]}function ma(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=ea.updateQueue)?(t={lastEffect:null},ea.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function ya(e){return e={current:e},la().memoizedState=e}function ba(){return ca().memoizedState}function wa(e,t,n,r){var o=la();ea.flags|=e,o.memoizedState=ma(1|t,n,void 0,void 0===r?null:r)}function xa(e,t,n,r){var o=ca();r=void 0===r?null:r;var i=void 0;if(null!==ta){var a=ta.memoizedState;if(i=a.destroy,null!==r&&aa(r,a.deps))return void ma(t,n,i,r)}ea.flags|=e,o.memoizedState=ma(1|t,n,i,r)}function Ea(e,t){return wa(516,4,e,t)}function ka(e,t){return xa(516,4,e,t)}function Sa(e,t){return xa(4,2,e,t)}function _a(e,t){return"function"===typeof t?(e=e(),t(e),function(){t(null)}):null!==t&&void 0!==t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Ca(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,xa(4,2,_a.bind(null,t,e),n)}function Oa(){}function Ia(e,t){var n=ca();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&aa(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Na(e,t){var n=ca();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&aa(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Da(e,t){var n=Vo();qo(98>n?98:n,(function(){e(!0)})),qo(97<n?97:n,(function(){var n=Qi.transition;Qi.transition=1;try{e(!1),t()}finally{Qi.transition=n}}))}function Ta(e,t,n){var r=dl(),o=pl(e),i={lane:o,action:n,eagerReducer:null,eagerState:null,next:null},a=t.pending;if(null===a?i.next=i:(i.next=a.next,a.next=i),t.pending=i,a=e.alternate,e===ea||null!==a&&a===ea)oa=ra=!0;else{if(0===e.lanes&&(null===a||0===a.lanes)&&null!==(a=t.lastRenderedReducer))try{var u=t.lastRenderedState,l=a(u,n);if(i.eagerReducer=a,i.eagerState=l,sr(l,u))return}catch(c){}hl(e,o,r)}}var Ra={readContext:ui,useCallback:ia,useContext:ia,useEffect:ia,useImperativeHandle:ia,useLayoutEffect:ia,useMemo:ia,useReducer:ia,useRef:ia,useState:ia,useDebugValue:ia,useDeferredValue:ia,useTransition:ia,useMutableSource:ia,useOpaqueIdentifier:ia,unstable_isNewReconciler:!1},Aa={readContext:ui,useCallback:function(e,t){return la().memoizedState=[e,void 0===t?null:t],e},useContext:ui,useEffect:Ea,useImperativeHandle:function(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,wa(4,2,_a.bind(null,t,e),n)},useLayoutEffect:function(e,t){return wa(4,2,e,t)},useMemo:function(e,t){var n=la();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=la();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e=(e=r.queue={pending:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t}).dispatch=Ta.bind(null,ea,e),[r.memoizedState,e]},useRef:ya,useState:ga,useDebugValue:Oa,useDeferredValue:function(e){var t=ga(e),n=t[0],r=t[1];return Ea((function(){var t=Qi.transition;Qi.transition=1;try{r(e)}finally{Qi.transition=t}}),[e]),n},useTransition:function(){var e=ga(!1),t=e[0];return ya(e=Da.bind(null,e[1])),[e,t]},useMutableSource:function(e,t,n){var r=la();return r.memoizedState={refs:{getSnapshot:t,setSnapshot:null},source:e,subscribe:n},ha(r,e,t,n)},useOpaqueIdentifier:function(){if(Wi){var e=!1,t=function(e){return{$$typeof:L,toString:e,valueOf:e}}((function(){throw e||(e=!0,n("r:"+(Zr++).toString(36))),Error(a(355))})),n=ga(t)[1];return 0===(2&ea.mode)&&(ea.flags|=516,ma(5,(function(){n("r:"+(Zr++).toString(36))}),void 0,null)),t}return ga(t="r:"+(Zr++).toString(36)),t},unstable_isNewReconciler:!1},Pa={readContext:ui,useCallback:Ia,useContext:ui,useEffect:ka,useImperativeHandle:Ca,useLayoutEffect:Sa,useMemo:Na,useReducer:fa,useRef:ba,useState:function(){return fa(sa)},useDebugValue:Oa,useDeferredValue:function(e){var t=fa(sa),n=t[0],r=t[1];return ka((function(){var t=Qi.transition;Qi.transition=1;try{r(e)}finally{Qi.transition=t}}),[e]),n},useTransition:function(){var e=fa(sa)[0];return[ba().current,e]},useMutableSource:va,useOpaqueIdentifier:function(){return fa(sa)[0]},unstable_isNewReconciler:!1},La={readContext:ui,useCallback:Ia,useContext:ui,useEffect:ka,useImperativeHandle:Ca,useLayoutEffect:Sa,useMemo:Na,useReducer:da,useRef:ba,useState:function(){return da(sa)},useDebugValue:Oa,useDeferredValue:function(e){var t=da(sa),n=t[0],r=t[1];return ka((function(){var t=Qi.transition;Qi.transition=1;try{r(e)}finally{Qi.transition=t}}),[e]),n},useTransition:function(){var e=da(sa)[0];return[ba().current,e]},useMutableSource:va,useOpaqueIdentifier:function(){return da(sa)[0]},unstable_isNewReconciler:!1},Ma=x.ReactCurrentOwner,ja=!1;function Fa(e,t,n,r){t.child=null===e?Ii(t,null,n,r):Oi(t,e.child,n,r)}function Ba(e,t,n,r,o){n=n.render;var i=t.ref;return ai(t,o),r=ua(e,t,n,r,i,o),null===e||ja?(t.flags|=1,Fa(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~o,iu(e,t,o))}function za(e,t,n,r,o,i){if(null===e){var a=n.type;return"function"!==typeof a||Vl(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=ql(n.type,null,r,t,t.mode,i)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,Ua(e,t,a,r,o,i))}return a=e.child,0===(o&i)&&(o=a.memoizedProps,(n=null!==(n=n.compare)?n:dr)(o,r)&&e.ref===t.ref)?iu(e,t,i):(t.flags|=1,(e=$l(a,r)).ref=t.ref,e.return=t,t.child=e)}function Ua(e,t,n,r,o,i){if(null!==e&&dr(e.memoizedProps,r)&&e.ref===t.ref){if(ja=!1,0===(i&o))return t.lanes=e.lanes,iu(e,t,i);0!==(16384&e.flags)&&(ja=!0)}return Ga(e,t,n,r,i)}function Wa(e,t,n){var r=t.pendingProps,o=r.children,i=null!==e?e.memoizedState:null;if("hidden"===r.mode||"unstable-defer-without-hiding"===r.mode)if(0===(4&t.mode))t.memoizedState={baseLanes:0},El(t,n);else{if(0===(1073741824&n))return e=null!==i?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e},El(t,e),null;t.memoizedState={baseLanes:0},El(t,null!==i?i.baseLanes:n)}else null!==i?(r=i.baseLanes|n,t.memoizedState=null):r=n,El(t,r);return Fa(e,t,o,n),t.child}function Ha(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=128)}function Ga(e,t,n,r,o){var i=yo(n)?go:ho.current;return i=mo(t,i),ai(t,o),n=ua(e,t,n,r,i,o),null===e||ja?(t.flags|=1,Fa(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~o,iu(e,t,o))}function Va(e,t,n,r,o){if(yo(n)){var i=!0;Eo(t)}else i=!1;if(ai(t,o),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),wi(t,n,r),Ei(t,n,r,o),r=!0;else if(null===e){var a=t.stateNode,u=t.memoizedProps;a.props=u;var l=a.context,c=n.contextType;"object"===typeof c&&null!==c?c=ui(c):c=mo(t,c=yo(n)?go:ho.current);var s=n.getDerivedStateFromProps,f="function"===typeof s||"function"===typeof a.getSnapshotBeforeUpdate;f||"function"!==typeof a.UNSAFE_componentWillReceiveProps&&"function"!==typeof a.componentWillReceiveProps||(u!==r||l!==c)&&xi(t,a,r,c),li=!1;var d=t.memoizedState;a.state=d,hi(t,r,a,o),l=t.memoizedState,u!==r||d!==l||vo.current||li?("function"===typeof s&&(mi(t,n,s,r),l=t.memoizedState),(u=li||bi(t,n,u,r,d,l,c))?(f||"function"!==typeof a.UNSAFE_componentWillMount&&"function"!==typeof a.componentWillMount||("function"===typeof a.componentWillMount&&a.componentWillMount(),"function"===typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"===typeof a.componentDidMount&&(t.flags|=4)):("function"===typeof a.componentDidMount&&(t.flags|=4),t.memoizedProps=r,t.memoizedState=l),a.props=r,a.state=l,a.context=c,r=u):("function"===typeof a.componentDidMount&&(t.flags|=4),r=!1)}else{a=t.stateNode,si(e,t),u=t.memoizedProps,c=t.type===t.elementType?u:Qo(t.type,u),a.props=c,f=t.pendingProps,d=a.context,"object"===typeof(l=n.contextType)&&null!==l?l=ui(l):l=mo(t,l=yo(n)?go:ho.current);var p=n.getDerivedStateFromProps;(s="function"===typeof p||"function"===typeof a.getSnapshotBeforeUpdate)||"function"!==typeof a.UNSAFE_componentWillReceiveProps&&"function"!==typeof a.componentWillReceiveProps||(u!==f||d!==l)&&xi(t,a,r,l),li=!1,d=t.memoizedState,a.state=d,hi(t,r,a,o);var h=t.memoizedState;u!==f||d!==h||vo.current||li?("function"===typeof p&&(mi(t,n,p,r),h=t.memoizedState),(c=li||bi(t,n,c,r,d,h,l))?(s||"function"!==typeof a.UNSAFE_componentWillUpdate&&"function"!==typeof a.componentWillUpdate||("function"===typeof a.componentWillUpdate&&a.componentWillUpdate(r,h,l),"function"===typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,h,l)),"function"===typeof a.componentDidUpdate&&(t.flags|=4),"function"===typeof a.getSnapshotBeforeUpdate&&(t.flags|=256)):("function"!==typeof a.componentDidUpdate||u===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!==typeof a.getSnapshotBeforeUpdate||u===e.memoizedProps&&d===e.memoizedState||(t.flags|=256),t.memoizedProps=r,t.memoizedState=h),a.props=r,a.state=h,a.context=l,r=c):("function"!==typeof a.componentDidUpdate||u===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!==typeof a.getSnapshotBeforeUpdate||u===e.memoizedProps&&d===e.memoizedState||(t.flags|=256),r=!1)}return $a(e,t,n,r,i,o)}function $a(e,t,n,r,o,i){Ha(e,t);var a=0!==(64&t.flags);if(!r&&!a)return o&&ko(t,n,!1),iu(e,t,i);r=t.stateNode,Ma.current=t;var u=a&&"function"!==typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&a?(t.child=Oi(t,e.child,null,i),t.child=Oi(t,null,u,i)):Fa(e,t,u,i),t.memoizedState=r.state,o&&ko(t,n,!0),t.child}function qa(e){var t=e.stateNode;t.pendingContext?wo(0,t.pendingContext,t.pendingContext!==t.context):t.context&&wo(0,t.context,!1),Pi(e,t.containerInfo)}var Ka,Ya,Za,Xa={dehydrated:null,retryLane:0};function Qa(e,t,n){var r,o=t.pendingProps,i=Fi.current,a=!1;return(r=0!==(64&t.flags))||(r=(null===e||null!==e.memoizedState)&&0!==(2&i)),r?(a=!0,t.flags&=-65):null!==e&&null===e.memoizedState||void 0===o.fallback||!0===o.unstable_avoidThisFallback||(i|=1),fo(Fi,1&i),null===e?(void 0!==o.fallback&&Vi(t),e=o.children,i=o.fallback,a?(e=Ja(t,e,i,n),t.child.memoizedState={baseLanes:n},t.memoizedState=Xa,e):"number"===typeof o.unstable_expectedLoadTime?(e=Ja(t,e,i,n),t.child.memoizedState={baseLanes:n},t.memoizedState=Xa,t.lanes=33554432,e):((n=Yl({mode:"visible",children:e},t.mode,n,null)).return=t,t.child=n)):(e.memoizedState,a?(o=tu(e,t,o.children,o.fallback,n),a=t.child,i=e.child.memoizedState,a.memoizedState=null===i?{baseLanes:n}:{baseLanes:i.baseLanes|n},a.childLanes=e.childLanes&~n,t.memoizedState=Xa,o):(n=eu(e,t,o.children,n),t.memoizedState=null,n))}function Ja(e,t,n,r){var o=e.mode,i=e.child;return t={mode:"hidden",children:t},0===(2&o)&&null!==i?(i.childLanes=0,i.pendingProps=t):i=Yl(t,o,0,null),n=Kl(n,o,r,null),i.return=e,n.return=e,i.sibling=n,e.child=i,n}function eu(e,t,n,r){var o=e.child;return e=o.sibling,n=$l(o,{mode:"visible",children:n}),0===(2&t.mode)&&(n.lanes=r),n.return=t,n.sibling=null,null!==e&&(e.nextEffect=null,e.flags=8,t.firstEffect=t.lastEffect=e),t.child=n}function tu(e,t,n,r,o){var i=t.mode,a=e.child;e=a.sibling;var u={mode:"hidden",children:n};return 0===(2&i)&&t.child!==a?((n=t.child).childLanes=0,n.pendingProps=u,null!==(a=n.lastEffect)?(t.firstEffect=n.firstEffect,t.lastEffect=a,a.nextEffect=null):t.firstEffect=t.lastEffect=null):n=$l(a,u),null!==e?r=$l(e,r):(r=Kl(r,i,o,null)).flags|=2,r.return=t,n.return=t,n.sibling=r,t.child=n,r}function nu(e,t){e.lanes|=t;var n=e.alternate;null!==n&&(n.lanes|=t),ii(e.return,t)}function ru(e,t,n,r,o,i){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o,lastEffect:i}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailMode=o,a.lastEffect=i)}function ou(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(Fa(e,t,r.children,n),0!==(2&(r=Fi.current)))r=1&r|2,t.flags|=64;else{if(null!==e&&0!==(64&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&nu(e,n);else if(19===e.tag)nu(e,n);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(fo(Fi,r),0===(2&t.mode))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===Bi(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),ru(t,!1,o,n,i,t.lastEffect);break;case"backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===Bi(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}ru(t,!0,n,null,i,t.lastEffect);break;case"together":ru(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function iu(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Uu|=t.lanes,0!==(n&t.childLanes)){if(null!==e&&t.child!==e.child)throw Error(a(153));if(null!==t.child){for(n=$l(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=$l(e,e.pendingProps)).return=t;n.sibling=null}return t.child}return null}function au(e,t){if(!Wi)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function uu(e,t,n){var r=t.pendingProps;switch(t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:case 17:return yo(t.type)&&bo(),null;case 3:return Li(),so(vo),so(ho),Zi(),(r=t.stateNode).pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(qi(t)?t.flags|=4:r.hydrate||(t.flags|=256)),null;case 5:ji(t);var i=Ai(Ri.current);if(n=t.type,null!==e&&null!=t.stateNode)Ya(e,t,n,r),e.ref!==t.ref&&(t.flags|=128);else{if(!r){if(null===t.stateNode)throw Error(a(166));return null}if(e=Ai(Di.current),qi(t)){r=t.stateNode,n=t.type;var u=t.memoizedProps;switch(r[Qr]=t,r[Jr]=u,n){case"dialog":Dr("cancel",r),Dr("close",r);break;case"iframe":case"object":case"embed":Dr("load",r);break;case"video":case"audio":for(e=0;e<Cr.length;e++)Dr(Cr[e],r);break;case"source":Dr("error",r);break;case"img":case"image":case"link":Dr("error",r),Dr("load",r);break;case"details":Dr("toggle",r);break;case"input":ee(r,u),Dr("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!u.multiple},Dr("invalid",r);break;case"textarea":le(r,u),Dr("invalid",r)}for(var c in Se(n,u),e=null,u)u.hasOwnProperty(c)&&(i=u[c],"children"===c?"string"===typeof i?r.textContent!==i&&(e=["children",i]):"number"===typeof i&&r.textContent!==""+i&&(e=["children",""+i]):l.hasOwnProperty(c)&&null!=i&&"onScroll"===c&&Dr("scroll",r));switch(n){case"input":Z(r),re(r,u,!0);break;case"textarea":Z(r),se(r);break;case"select":case"option":break;default:"function"===typeof u.onClick&&(r.onclick=zr)}r=e,t.updateQueue=r,null!==r&&(t.flags|=4)}else{switch(c=9===i.nodeType?i:i.ownerDocument,e===fe&&(e=pe(n)),e===fe?"script"===n?((e=c.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"===typeof r.is?e=c.createElement(n,{is:r.is}):(e=c.createElement(n),"select"===n&&(c=e,r.multiple?c.multiple=!0:r.size&&(c.size=r.size))):e=c.createElementNS(e,n),e[Qr]=t,e[Jr]=r,Ka(e,t),t.stateNode=e,c=_e(n,r),n){case"dialog":Dr("cancel",e),Dr("close",e),i=r;break;case"iframe":case"object":case"embed":Dr("load",e),i=r;break;case"video":case"audio":for(i=0;i<Cr.length;i++)Dr(Cr[i],e);i=r;break;case"source":Dr("error",e),i=r;break;case"img":case"image":case"link":Dr("error",e),Dr("load",e),i=r;break;case"details":Dr("toggle",e),i=r;break;case"input":ee(e,r),i=J(e,r),Dr("invalid",e);break;case"option":i=ie(e,r);break;case"select":e._wrapperState={wasMultiple:!!r.multiple},i=o({},r,{value:void 0}),Dr("invalid",e);break;case"textarea":le(e,r),i=ue(e,r),Dr("invalid",e);break;default:i=r}Se(n,i);var s=i;for(u in s)if(s.hasOwnProperty(u)){var f=s[u];"style"===u?Ee(e,f):"dangerouslySetInnerHTML"===u?null!=(f=f?f.__html:void 0)&&me(e,f):"children"===u?"string"===typeof f?("textarea"!==n||""!==f)&&ye(e,f):"number"===typeof f&&ye(e,""+f):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(l.hasOwnProperty(u)?null!=f&&"onScroll"===u&&Dr("scroll",e):null!=f&&w(e,u,f,c))}switch(n){case"input":Z(e),re(e,r,!1);break;case"textarea":Z(e),se(e);break;case"option":null!=r.value&&e.setAttribute("value",""+K(r.value));break;case"select":e.multiple=!!r.multiple,null!=(u=r.value)?ae(e,!!r.multiple,u,!1):null!=r.defaultValue&&ae(e,!!r.multiple,r.defaultValue,!0);break;default:"function"===typeof i.onClick&&(e.onclick=zr)}Hr(n,r)&&(t.flags|=4)}null!==t.ref&&(t.flags|=128)}return null;case 6:if(e&&null!=t.stateNode)Za(0,t,e.memoizedProps,r);else{if("string"!==typeof r&&null===t.stateNode)throw Error(a(166));n=Ai(Ri.current),Ai(Di.current),qi(t)?(r=t.stateNode,n=t.memoizedProps,r[Qr]=t,r.nodeValue!==n&&(t.flags|=4)):((r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[Qr]=t,t.stateNode=r)}return null;case 13:return so(Fi),r=t.memoizedState,0!==(64&t.flags)?(t.lanes=n,t):(r=null!==r,n=!1,null===e?void 0!==t.memoizedProps.fallback&&qi(t):n=null!==e.memoizedState,r&&!n&&0!==(2&t.mode)&&(null===e&&!0!==t.memoizedProps.unstable_avoidThisFallback||0!==(1&Fi.current)?0===Fu&&(Fu=3):(0!==Fu&&3!==Fu||(Fu=4),null===Au||0===(134217727&Uu)&&0===(134217727&Wu)||yl(Au,Lu))),(r||n)&&(t.flags|=4),null);case 4:return Li(),null===e&&Rr(t.stateNode.containerInfo),null;case 10:return oi(t),null;case 19:if(so(Fi),null===(r=t.memoizedState))return null;if(u=0!==(64&t.flags),null===(c=r.rendering))if(u)au(r,!1);else{if(0!==Fu||null!==e&&0!==(64&e.flags))for(e=t.child;null!==e;){if(null!==(c=Bi(e))){for(t.flags|=64,au(r,!1),null!==(u=c.updateQueue)&&(t.updateQueue=u,t.flags|=4),null===r.lastEffect&&(t.firstEffect=null),t.lastEffect=r.lastEffect,r=n,n=t.child;null!==n;)e=r,(u=n).flags&=2,u.nextEffect=null,u.firstEffect=null,u.lastEffect=null,null===(c=u.alternate)?(u.childLanes=0,u.lanes=e,u.child=null,u.memoizedProps=null,u.memoizedState=null,u.updateQueue=null,u.dependencies=null,u.stateNode=null):(u.childLanes=c.childLanes,u.lanes=c.lanes,u.child=c.child,u.memoizedProps=c.memoizedProps,u.memoizedState=c.memoizedState,u.updateQueue=c.updateQueue,u.type=c.type,e=c.dependencies,u.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return fo(Fi,1&Fi.current|2),t.child}e=e.sibling}null!==r.tail&&Go()>$u&&(t.flags|=64,u=!0,au(r,!1),t.lanes=33554432)}else{if(!u)if(null!==(e=Bi(c))){if(t.flags|=64,u=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),au(r,!0),null===r.tail&&"hidden"===r.tailMode&&!c.alternate&&!Wi)return null!==(t=t.lastEffect=r.lastEffect)&&(t.nextEffect=null),null}else 2*Go()-r.renderingStartTime>$u&&1073741824!==n&&(t.flags|=64,u=!0,au(r,!1),t.lanes=33554432);r.isBackwards?(c.sibling=t.child,t.child=c):(null!==(n=r.last)?n.sibling=c:t.child=c,r.last=c)}return null!==r.tail?(n=r.tail,r.rendering=n,r.tail=n.sibling,r.lastEffect=t.lastEffect,r.renderingStartTime=Go(),n.sibling=null,t=Fi.current,fo(Fi,u?1&t|2:1&t),n):null;case 23:case 24:return kl(),null!==e&&null!==e.memoizedState!==(null!==t.memoizedState)&&"unstable-defer-without-hiding"!==r.mode&&(t.flags|=4),null}throw Error(a(156,t.tag))}function lu(e){switch(e.tag){case 1:yo(e.type)&&bo();var t=e.flags;return 4096&t?(e.flags=-4097&t|64,e):null;case 3:if(Li(),so(vo),so(ho),Zi(),0!==(64&(t=e.flags)))throw Error(a(285));return e.flags=-4097&t|64,e;case 5:return ji(e),null;case 13:return so(Fi),4096&(t=e.flags)?(e.flags=-4097&t|64,e):null;case 19:return so(Fi),null;case 4:return Li(),null;case 10:return oi(e),null;case 23:case 24:return kl(),null;default:return null}}function cu(e,t){try{var n="",r=t;do{n+=$(r),r=r.return}while(r);var o=n}catch(i){o="\nError generating stack: "+i.message+"\n"+i.stack}return{value:e,source:t,stack:o}}function su(e,t){try{console.error(t.value)}catch(n){setTimeout((function(){throw n}))}}Ka=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Ya=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,Ai(Di.current);var a,u=null;switch(n){case"input":i=J(e,i),r=J(e,r),u=[];break;case"option":i=ie(e,i),r=ie(e,r),u=[];break;case"select":i=o({},i,{value:void 0}),r=o({},r,{value:void 0}),u=[];break;case"textarea":i=ue(e,i),r=ue(e,r),u=[];break;default:"function"!==typeof i.onClick&&"function"===typeof r.onClick&&(e.onclick=zr)}for(f in Se(n,r),n=null,i)if(!r.hasOwnProperty(f)&&i.hasOwnProperty(f)&&null!=i[f])if("style"===f){var c=i[f];for(a in c)c.hasOwnProperty(a)&&(n||(n={}),n[a]="")}else"dangerouslySetInnerHTML"!==f&&"children"!==f&&"suppressContentEditableWarning"!==f&&"suppressHydrationWarning"!==f&&"autoFocus"!==f&&(l.hasOwnProperty(f)?u||(u=[]):(u=u||[]).push(f,null));for(f in r){var s=r[f];if(c=null!=i?i[f]:void 0,r.hasOwnProperty(f)&&s!==c&&(null!=s||null!=c))if("style"===f)if(c){for(a in c)!c.hasOwnProperty(a)||s&&s.hasOwnProperty(a)||(n||(n={}),n[a]="");for(a in s)s.hasOwnProperty(a)&&c[a]!==s[a]&&(n||(n={}),n[a]=s[a])}else n||(u||(u=[]),u.push(f,n)),n=s;else"dangerouslySetInnerHTML"===f?(s=s?s.__html:void 0,c=c?c.__html:void 0,null!=s&&c!==s&&(u=u||[]).push(f,s)):"children"===f?"string"!==typeof s&&"number"!==typeof s||(u=u||[]).push(f,""+s):"suppressContentEditableWarning"!==f&&"suppressHydrationWarning"!==f&&(l.hasOwnProperty(f)?(null!=s&&"onScroll"===f&&Dr("scroll",e),u||c===s||(u=[])):"object"===typeof s&&null!==s&&s.$$typeof===L?s.toString():(u=u||[]).push(f,s))}n&&(u=u||[]).push("style",n);var f=u;(t.updateQueue=f)&&(t.flags|=4)}},Za=function(e,t,n,r){n!==r&&(t.flags|=4)};var fu="function"===typeof WeakMap?WeakMap:Map;function du(e,t,n){(n=fi(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Zu||(Zu=!0,Xu=r),su(0,t)},n}function pu(e,t,n){(n=fi(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"===typeof r){var o=t.value;n.payload=function(){return su(0,t),r(o)}}var i=e.stateNode;return null!==i&&"function"===typeof i.componentDidCatch&&(n.callback=function(){"function"!==typeof r&&(null===Qu?Qu=new Set([this]):Qu.add(this),su(0,t));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}var hu="function"===typeof WeakSet?WeakSet:Set;function vu(e){var t=e.ref;if(null!==t)if("function"===typeof t)try{t(null)}catch(n){zl(e,n)}else t.current=null}function gu(e,t){switch(t.tag){case 0:case 11:case 15:case 22:case 5:case 6:case 4:case 17:return;case 1:if(256&t.flags&&null!==e){var n=e.memoizedProps,r=e.memoizedState;t=(e=t.stateNode).getSnapshotBeforeUpdate(t.elementType===t.type?n:Qo(t.type,n),r),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:return void(256&t.flags&&qr(t.stateNode.containerInfo))}throw Error(a(163))}function mu(e,t,n){switch(n.tag){case 0:case 11:case 15:case 22:if(null!==(t=null!==(t=n.updateQueue)?t.lastEffect:null)){e=t=t.next;do{if(3===(3&e.tag)){var r=e.create;e.destroy=r()}e=e.next}while(e!==t)}if(null!==(t=null!==(t=n.updateQueue)?t.lastEffect:null)){e=t=t.next;do{var o=e;r=o.next,0!==(4&(o=o.tag))&&0!==(1&o)&&(jl(n,e),Ml(n,e)),e=r}while(e!==t)}return;case 1:return e=n.stateNode,4&n.flags&&(null===t?e.componentDidMount():(r=n.elementType===n.type?t.memoizedProps:Qo(n.type,t.memoizedProps),e.componentDidUpdate(r,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate))),void(null!==(t=n.updateQueue)&&vi(n,t,e));case 3:if(null!==(t=n.updateQueue)){if(e=null,null!==n.child)switch(n.child.tag){case 5:case 1:e=n.child.stateNode}vi(n,t,e)}return;case 5:return e=n.stateNode,void(null===t&&4&n.flags&&Hr(n.type,n.memoizedProps)&&e.focus());case 6:case 4:case 12:case 19:case 17:case 20:case 21:case 23:case 24:return;case 13:return void(null===n.memoizedState&&(n=n.alternate,null!==n&&(n=n.memoizedState,null!==n&&(n=n.dehydrated,null!==n&&Et(n)))))}throw Error(a(163))}function yu(e,t){for(var n=e;;){if(5===n.tag){var r=n.stateNode;if(t)"function"===typeof(r=r.style).setProperty?r.setProperty("display","none","important"):r.display="none";else{r=n.stateNode;var o=n.memoizedProps.style;o=void 0!==o&&null!==o&&o.hasOwnProperty("display")?o.display:null,r.style.display=xe("display",o)}}else if(6===n.tag)n.stateNode.nodeValue=t?"":n.memoizedProps;else if((23!==n.tag&&24!==n.tag||null===n.memoizedState||n===e)&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===e)break;for(;null===n.sibling;){if(null===n.return||n.return===e)return;n=n.return}n.sibling.return=n.return,n=n.sibling}}function bu(e,t){if(_o&&"function"===typeof _o.onCommitFiberUnmount)try{_o.onCommitFiberUnmount(So,t)}catch(i){}switch(t.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(e=t.updateQueue)&&null!==(e=e.lastEffect)){var n=e=e.next;do{var r=n,o=r.destroy;if(r=r.tag,void 0!==o)if(0!==(4&r))jl(t,n);else{r=t;try{o()}catch(i){zl(r,i)}}n=n.next}while(n!==e)}break;case 1:if(vu(t),"function"===typeof(e=t.stateNode).componentWillUnmount)try{e.props=t.memoizedProps,e.state=t.memoizedState,e.componentWillUnmount()}catch(i){zl(t,i)}break;case 5:vu(t);break;case 4:_u(e,t)}}function wu(e){e.alternate=null,e.child=null,e.dependencies=null,e.firstEffect=null,e.lastEffect=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.return=null,e.updateQueue=null}function xu(e){return 5===e.tag||3===e.tag||4===e.tag}function Eu(e){e:{for(var t=e.return;null!==t;){if(xu(t))break e;t=t.return}throw Error(a(160))}var n=t;switch(t=n.stateNode,n.tag){case 5:var r=!1;break;case 3:case 4:t=t.containerInfo,r=!0;break;default:throw Error(a(161))}16&n.flags&&(ye(t,""),n.flags&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||xu(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag&&18!==n.tag;){if(2&n.flags)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.flags)){n=n.stateNode;break e}}r?ku(e,n,t):Su(e,n,t)}function ku(e,t,n){var r=e.tag,o=5===r||6===r;if(o)e=o?e.stateNode:e.stateNode.instance,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!==(n=n._reactRootContainer)&&void 0!==n||null!==t.onclick||(t.onclick=zr));else if(4!==r&&null!==(e=e.child))for(ku(e,t,n),e=e.sibling;null!==e;)ku(e,t,n),e=e.sibling}function Su(e,t,n){var r=e.tag,o=5===r||6===r;if(o)e=o?e.stateNode:e.stateNode.instance,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(Su(e,t,n),e=e.sibling;null!==e;)Su(e,t,n),e=e.sibling}function _u(e,t){for(var n,r,o=t,i=!1;;){if(!i){i=o.return;e:for(;;){if(null===i)throw Error(a(160));switch(n=i.stateNode,i.tag){case 5:r=!1;break e;case 3:case 4:n=n.containerInfo,r=!0;break e}i=i.return}i=!0}if(5===o.tag||6===o.tag){e:for(var u=e,l=o,c=l;;)if(bu(u,c),null!==c.child&&4!==c.tag)c.child.return=c,c=c.child;else{if(c===l)break e;for(;null===c.sibling;){if(null===c.return||c.return===l)break e;c=c.return}c.sibling.return=c.return,c=c.sibling}r?(u=n,l=o.stateNode,8===u.nodeType?u.parentNode.removeChild(l):u.removeChild(l)):n.removeChild(o.stateNode)}else if(4===o.tag){if(null!==o.child){n=o.stateNode.containerInfo,r=!0,o.child.return=o,o=o.child;continue}}else if(bu(e,o),null!==o.child){o.child.return=o,o=o.child;continue}if(o===t)break;for(;null===o.sibling;){if(null===o.return||o.return===t)return;4===(o=o.return).tag&&(i=!1)}o.sibling.return=o.return,o=o.sibling}}function Cu(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:var n=t.updateQueue;if(null!==(n=null!==n?n.lastEffect:null)){var r=n=n.next;do{3===(3&r.tag)&&(e=r.destroy,r.destroy=void 0,void 0!==e&&e()),r=r.next}while(r!==n)}return;case 1:case 12:case 17:return;case 5:if(null!=(n=t.stateNode)){r=t.memoizedProps;var o=null!==e?e.memoizedProps:r;e=t.type;var i=t.updateQueue;if(t.updateQueue=null,null!==i){for(n[Jr]=r,"input"===e&&"radio"===r.type&&null!=r.name&&te(n,r),_e(e,o),t=_e(e,r),o=0;o<i.length;o+=2){var u=i[o],l=i[o+1];"style"===u?Ee(n,l):"dangerouslySetInnerHTML"===u?me(n,l):"children"===u?ye(n,l):w(n,u,l,t)}switch(e){case"input":ne(n,r);break;case"textarea":ce(n,r);break;case"select":e=n._wrapperState.wasMultiple,n._wrapperState.wasMultiple=!!r.multiple,null!=(i=r.value)?ae(n,!!r.multiple,i,!1):e!==!!r.multiple&&(null!=r.defaultValue?ae(n,!!r.multiple,r.defaultValue,!0):ae(n,!!r.multiple,r.multiple?[]:"",!1))}}}return;case 6:if(null===t.stateNode)throw Error(a(162));return void(t.stateNode.nodeValue=t.memoizedProps);case 3:return void((n=t.stateNode).hydrate&&(n.hydrate=!1,Et(n.containerInfo)));case 13:return null!==t.memoizedState&&(Vu=Go(),yu(t.child,!0)),void Ou(t);case 19:return void Ou(t);case 23:case 24:return void yu(t,null!==t.memoizedState)}throw Error(a(163))}function Ou(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new hu),t.forEach((function(t){var r=Wl.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function Iu(e,t){return null!==e&&(null===(e=e.memoizedState)||null!==e.dehydrated)&&(null!==(t=t.memoizedState)&&null===t.dehydrated)}var Nu=Math.ceil,Du=x.ReactCurrentDispatcher,Tu=x.ReactCurrentOwner,Ru=0,Au=null,Pu=null,Lu=0,Mu=0,ju=co(0),Fu=0,Bu=null,zu=0,Uu=0,Wu=0,Hu=0,Gu=null,Vu=0,$u=1/0;function qu(){$u=Go()+500}var Ku,Yu=null,Zu=!1,Xu=null,Qu=null,Ju=!1,el=null,tl=90,nl=[],rl=[],ol=null,il=0,al=null,ul=-1,ll=0,cl=0,sl=null,fl=!1;function dl(){return 0!==(48&Ru)?Go():-1!==ul?ul:ul=Go()}function pl(e){if(0===(2&(e=e.mode)))return 1;if(0===(4&e))return 99===Vo()?1:2;if(0===ll&&(ll=zu),0!==Xo.transition){0!==cl&&(cl=null!==Gu?Gu.pendingLanes:0),e=ll;var t=4186112&~cl;return 0===(t&=-t)&&(0===(t=(e=4186112&~e)&-e)&&(t=8192)),t}return e=Vo(),0!==(4&Ru)&&98===e?e=zt(12,ll):e=zt(e=function(e){switch(e){case 99:return 15;case 98:return 10;case 97:case 96:return 8;case 95:return 2;default:return 0}}(e),ll),e}function hl(e,t,n){if(50<il)throw il=0,al=null,Error(a(185));if(null===(e=vl(e,t)))return null;Ht(e,t,n),e===Au&&(Wu|=t,4===Fu&&yl(e,Lu));var r=Vo();1===t?0!==(8&Ru)&&0===(48&Ru)?bl(e):(gl(e,n),0===Ru&&(qu(),Yo())):(0===(4&Ru)||98!==r&&99!==r||(null===ol?ol=new Set([e]):ol.add(e)),gl(e,n)),Gu=e}function vl(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}function gl(e,t){for(var n=e.callbackNode,r=e.suspendedLanes,o=e.pingedLanes,i=e.expirationTimes,u=e.pendingLanes;0<u;){var l=31-Gt(u),c=1<<l,s=i[l];if(-1===s){if(0===(c&r)||0!==(c&o)){s=t,jt(c);var f=Mt;i[l]=10<=f?s+250:6<=f?s+5e3:-1}}else s<=t&&(e.expiredLanes|=c);u&=~c}if(r=Ft(e,e===Au?Lu:0),t=Mt,0===r)null!==n&&(n!==Fo&&Io(n),e.callbackNode=null,e.callbackPriority=0);else{if(null!==n){if(e.callbackPriority===t)return;n!==Fo&&Io(n)}15===t?(n=bl.bind(null,e),null===zo?(zo=[n],Uo=Oo(Ao,Zo)):zo.push(n),n=Fo):14===t?n=Ko(99,bl.bind(null,e)):(n=function(e){switch(e){case 15:case 14:return 99;case 13:case 12:case 11:case 10:return 98;case 9:case 8:case 7:case 6:case 4:case 5:return 97;case 3:case 2:case 1:return 95;case 0:return 90;default:throw Error(a(358,e))}}(t),n=Ko(n,ml.bind(null,e))),e.callbackPriority=t,e.callbackNode=n}}function ml(e){if(ul=-1,cl=ll=0,0!==(48&Ru))throw Error(a(327));var t=e.callbackNode;if(Ll()&&e.callbackNode!==t)return null;var n=Ft(e,e===Au?Lu:0);if(0===n)return null;var r=n,o=Ru;Ru|=16;var i=Cl();for(Au===e&&Lu===r||(qu(),Sl(e,r));;)try{Nl();break}catch(l){_l(e,l)}if(ri(),Du.current=i,Ru=o,null!==Pu?r=0:(Au=null,Lu=0,r=Fu),0!==(zu&Wu))Sl(e,0);else if(0!==r){if(2===r&&(Ru|=64,e.hydrate&&(e.hydrate=!1,qr(e.containerInfo)),0!==(n=Bt(e))&&(r=Ol(e,n))),1===r)throw t=Bu,Sl(e,0),yl(e,n),gl(e,Go()),t;switch(e.finishedWork=e.current.alternate,e.finishedLanes=n,r){case 0:case 1:throw Error(a(345));case 2:case 5:Rl(e);break;case 3:if(yl(e,n),(62914560&n)===n&&10<(r=Vu+500-Go())){if(0!==Ft(e,0))break;if(((o=e.suspendedLanes)&n)!==n){dl(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=Vr(Rl.bind(null,e),r);break}Rl(e);break;case 4:if(yl(e,n),(4186112&n)===n)break;for(r=e.eventTimes,o=-1;0<n;){var u=31-Gt(n);i=1<<u,(u=r[u])>o&&(o=u),n&=~i}if(n=o,10<(n=(120>(n=Go()-n)?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*Nu(n/1960))-n)){e.timeoutHandle=Vr(Rl.bind(null,e),n);break}Rl(e);break;default:throw Error(a(329))}}return gl(e,Go()),e.callbackNode===t?ml.bind(null,e):null}function yl(e,t){for(t&=~Hu,t&=~Wu,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Gt(t),r=1<<n;e[n]=-1,t&=~r}}function bl(e){if(0!==(48&Ru))throw Error(a(327));if(Ll(),e===Au&&0!==(e.expiredLanes&Lu)){var t=Lu,n=Ol(e,t);0!==(zu&Wu)&&(n=Ol(e,t=Ft(e,t)))}else n=Ol(e,t=Ft(e,0));if(0!==e.tag&&2===n&&(Ru|=64,e.hydrate&&(e.hydrate=!1,qr(e.containerInfo)),0!==(t=Bt(e))&&(n=Ol(e,t))),1===n)throw n=Bu,Sl(e,0),yl(e,t),gl(e,Go()),n;return e.finishedWork=e.current.alternate,e.finishedLanes=t,Rl(e),gl(e,Go()),null}function wl(e,t){var n=Ru;Ru|=1;try{return e(t)}finally{0===(Ru=n)&&(qu(),Yo())}}function xl(e,t){var n=Ru;Ru&=-2,Ru|=8;try{return e(t)}finally{0===(Ru=n)&&(qu(),Yo())}}function El(e,t){fo(ju,Mu),Mu|=t,zu|=t}function kl(){Mu=ju.current,so(ju)}function Sl(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,$r(n)),null!==Pu)for(n=Pu.return;null!==n;){var r=n;switch(r.tag){case 1:null!==(r=r.type.childContextTypes)&&void 0!==r&&bo();break;case 3:Li(),so(vo),so(ho),Zi();break;case 5:ji(r);break;case 4:Li();break;case 13:case 19:so(Fi);break;case 10:oi(r);break;case 23:case 24:kl()}n=n.return}Au=e,Pu=$l(e.current,null),Lu=Mu=zu=t,Fu=0,Bu=null,Hu=Wu=Uu=0}function _l(e,t){for(;;){var n=Pu;try{if(ri(),Xi.current=Ra,ra){for(var r=ea.memoizedState;null!==r;){var o=r.queue;null!==o&&(o.pending=null),r=r.next}ra=!1}if(Ji=0,na=ta=ea=null,oa=!1,Tu.current=null,null===n||null===n.return){Fu=1,Bu=t,Pu=null;break}e:{var i=e,a=n.return,u=n,l=t;if(t=Lu,u.flags|=2048,u.firstEffect=u.lastEffect=null,null!==l&&"object"===typeof l&&"function"===typeof l.then){var c=l;if(0===(2&u.mode)){var s=u.alternate;s?(u.updateQueue=s.updateQueue,u.memoizedState=s.memoizedState,u.lanes=s.lanes):(u.updateQueue=null,u.memoizedState=null)}var f=0!==(1&Fi.current),d=a;do{var p;if(p=13===d.tag){var h=d.memoizedState;if(null!==h)p=null!==h.dehydrated;else{var v=d.memoizedProps;p=void 0!==v.fallback&&(!0!==v.unstable_avoidThisFallback||!f)}}if(p){var g=d.updateQueue;if(null===g){var m=new Set;m.add(c),d.updateQueue=m}else g.add(c);if(0===(2&d.mode)){if(d.flags|=64,u.flags|=16384,u.flags&=-2981,1===u.tag)if(null===u.alternate)u.tag=17;else{var y=fi(-1,1);y.tag=2,di(u,y)}u.lanes|=1;break e}l=void 0,u=t;var b=i.pingCache;if(null===b?(b=i.pingCache=new fu,l=new Set,b.set(c,l)):void 0===(l=b.get(c))&&(l=new Set,b.set(c,l)),!l.has(u)){l.add(u);var w=Ul.bind(null,i,c,u);c.then(w,w)}d.flags|=4096,d.lanes=t;break e}d=d.return}while(null!==d);l=Error((q(u.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.")}5!==Fu&&(Fu=2),l=cu(l,u),d=a;do{switch(d.tag){case 3:i=l,d.flags|=4096,t&=-t,d.lanes|=t,pi(d,du(0,i,t));break e;case 1:i=l;var x=d.type,E=d.stateNode;if(0===(64&d.flags)&&("function"===typeof x.getDerivedStateFromError||null!==E&&"function"===typeof E.componentDidCatch&&(null===Qu||!Qu.has(E)))){d.flags|=4096,t&=-t,d.lanes|=t,pi(d,pu(d,i,t));break e}}d=d.return}while(null!==d)}Tl(n)}catch(k){t=k,Pu===n&&null!==n&&(Pu=n=n.return);continue}break}}function Cl(){var e=Du.current;return Du.current=Ra,null===e?Ra:e}function Ol(e,t){var n=Ru;Ru|=16;var r=Cl();for(Au===e&&Lu===t||Sl(e,t);;)try{Il();break}catch(o){_l(e,o)}if(ri(),Ru=n,Du.current=r,null!==Pu)throw Error(a(261));return Au=null,Lu=0,Fu}function Il(){for(;null!==Pu;)Dl(Pu)}function Nl(){for(;null!==Pu&&!No();)Dl(Pu)}function Dl(e){var t=Ku(e.alternate,e,Mu);e.memoizedProps=e.pendingProps,null===t?Tl(e):Pu=t,Tu.current=null}function Tl(e){var t=e;do{var n=t.alternate;if(e=t.return,0===(2048&t.flags)){if(null!==(n=uu(n,t,Mu)))return void(Pu=n);if(24!==(n=t).tag&&23!==n.tag||null===n.memoizedState||0!==(1073741824&Mu)||0===(4&n.mode)){for(var r=0,o=n.child;null!==o;)r|=o.lanes|o.childLanes,o=o.sibling;n.childLanes=r}null!==e&&0===(2048&e.flags)&&(null===e.firstEffect&&(e.firstEffect=t.firstEffect),null!==t.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=t.firstEffect),e.lastEffect=t.lastEffect),1<t.flags&&(null!==e.lastEffect?e.lastEffect.nextEffect=t:e.firstEffect=t,e.lastEffect=t))}else{if(null!==(n=lu(t)))return n.flags&=2047,void(Pu=n);null!==e&&(e.firstEffect=e.lastEffect=null,e.flags|=2048)}if(null!==(t=t.sibling))return void(Pu=t);Pu=t=e}while(null!==t);0===Fu&&(Fu=5)}function Rl(e){var t=Vo();return qo(99,Al.bind(null,e,t)),null}function Al(e,t){do{Ll()}while(null!==el);if(0!==(48&Ru))throw Error(a(327));var n=e.finishedWork;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(a(177));e.callbackNode=null;var r=n.lanes|n.childLanes,o=r,i=e.pendingLanes&~o;e.pendingLanes=o,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=o,e.mutableReadLanes&=o,e.entangledLanes&=o,o=e.entanglements;for(var u=e.eventTimes,l=e.expirationTimes;0<i;){var c=31-Gt(i),s=1<<c;o[c]=0,u[c]=-1,l[c]=-1,i&=~s}if(null!==ol&&0===(24&r)&&ol.has(e)&&ol.delete(e),e===Au&&(Pu=Au=null,Lu=0),1<n.flags?null!==n.lastEffect?(n.lastEffect.nextEffect=n,r=n.firstEffect):r=n:r=n.firstEffect,null!==r){if(o=Ru,Ru|=32,Tu.current=null,Ur=Yt,mr(u=gr())){if("selectionStart"in u)l={start:u.selectionStart,end:u.selectionEnd};else e:if(l=(l=u.ownerDocument)&&l.defaultView||window,(s=l.getSelection&&l.getSelection())&&0!==s.rangeCount){l=s.anchorNode,i=s.anchorOffset,c=s.focusNode,s=s.focusOffset;try{l.nodeType,c.nodeType}catch(C){l=null;break e}var f=0,d=-1,p=-1,h=0,v=0,g=u,m=null;t:for(;;){for(var y;g!==l||0!==i&&3!==g.nodeType||(d=f+i),g!==c||0!==s&&3!==g.nodeType||(p=f+s),3===g.nodeType&&(f+=g.nodeValue.length),null!==(y=g.firstChild);)m=g,g=y;for(;;){if(g===u)break t;if(m===l&&++h===i&&(d=f),m===c&&++v===s&&(p=f),null!==(y=g.nextSibling))break;m=(g=m).parentNode}g=y}l=-1===d||-1===p?null:{start:d,end:p}}else l=null;l=l||{start:0,end:0}}else l=null;Wr={focusedElem:u,selectionRange:l},Yt=!1,sl=null,fl=!1,Yu=r;do{try{Pl()}catch(C){if(null===Yu)throw Error(a(330));zl(Yu,C),Yu=Yu.nextEffect}}while(null!==Yu);sl=null,Yu=r;do{try{for(u=e;null!==Yu;){var b=Yu.flags;if(16&b&&ye(Yu.stateNode,""),128&b){var w=Yu.alternate;if(null!==w){var x=w.ref;null!==x&&("function"===typeof x?x(null):x.current=null)}}switch(1038&b){case 2:Eu(Yu),Yu.flags&=-3;break;case 6:Eu(Yu),Yu.flags&=-3,Cu(Yu.alternate,Yu);break;case 1024:Yu.flags&=-1025;break;case 1028:Yu.flags&=-1025,Cu(Yu.alternate,Yu);break;case 4:Cu(Yu.alternate,Yu);break;case 8:_u(u,l=Yu);var E=l.alternate;wu(l),null!==E&&wu(E)}Yu=Yu.nextEffect}}catch(C){if(null===Yu)throw Error(a(330));zl(Yu,C),Yu=Yu.nextEffect}}while(null!==Yu);if(x=Wr,w=gr(),b=x.focusedElem,u=x.selectionRange,w!==b&&b&&b.ownerDocument&&vr(b.ownerDocument.documentElement,b)){null!==u&&mr(b)&&(w=u.start,void 0===(x=u.end)&&(x=w),"selectionStart"in b?(b.selectionStart=w,b.selectionEnd=Math.min(x,b.value.length)):(x=(w=b.ownerDocument||document)&&w.defaultView||window).getSelection&&(x=x.getSelection(),l=b.textContent.length,E=Math.min(u.start,l),u=void 0===u.end?E:Math.min(u.end,l),!x.extend&&E>u&&(l=u,u=E,E=l),l=hr(b,E),i=hr(b,u),l&&i&&(1!==x.rangeCount||x.anchorNode!==l.node||x.anchorOffset!==l.offset||x.focusNode!==i.node||x.focusOffset!==i.offset)&&((w=w.createRange()).setStart(l.node,l.offset),x.removeAllRanges(),E>u?(x.addRange(w),x.extend(i.node,i.offset)):(w.setEnd(i.node,i.offset),x.addRange(w))))),w=[];for(x=b;x=x.parentNode;)1===x.nodeType&&w.push({element:x,left:x.scrollLeft,top:x.scrollTop});for("function"===typeof b.focus&&b.focus(),b=0;b<w.length;b++)(x=w[b]).element.scrollLeft=x.left,x.element.scrollTop=x.top}Yt=!!Ur,Wr=Ur=null,e.current=n,Yu=r;do{try{for(b=e;null!==Yu;){var k=Yu.flags;if(36&k&&mu(b,Yu.alternate,Yu),128&k){w=void 0;var S=Yu.ref;if(null!==S){var _=Yu.stateNode;Yu.tag,w=_,"function"===typeof S?S(w):S.current=w}}Yu=Yu.nextEffect}}catch(C){if(null===Yu)throw Error(a(330));zl(Yu,C),Yu=Yu.nextEffect}}while(null!==Yu);Yu=null,Bo(),Ru=o}else e.current=n;if(Ju)Ju=!1,el=e,tl=t;else for(Yu=r;null!==Yu;)t=Yu.nextEffect,Yu.nextEffect=null,8&Yu.flags&&((k=Yu).sibling=null,k.stateNode=null),Yu=t;if(0===(r=e.pendingLanes)&&(Qu=null),1===r?e===al?il++:(il=0,al=e):il=0,n=n.stateNode,_o&&"function"===typeof _o.onCommitFiberRoot)try{_o.onCommitFiberRoot(So,n,void 0,64===(64&n.current.flags))}catch(C){}if(gl(e,Go()),Zu)throw Zu=!1,e=Xu,Xu=null,e;return 0!==(8&Ru)||Yo(),null}function Pl(){for(;null!==Yu;){var e=Yu.alternate;fl||null===sl||(0!==(8&Yu.flags)?et(Yu,sl)&&(fl=!0):13===Yu.tag&&Iu(e,Yu)&&et(Yu,sl)&&(fl=!0));var t=Yu.flags;0!==(256&t)&&gu(e,Yu),0===(512&t)||Ju||(Ju=!0,Ko(97,(function(){return Ll(),null}))),Yu=Yu.nextEffect}}function Ll(){if(90!==tl){var e=97<tl?97:tl;return tl=90,qo(e,Fl)}return!1}function Ml(e,t){nl.push(t,e),Ju||(Ju=!0,Ko(97,(function(){return Ll(),null})))}function jl(e,t){rl.push(t,e),Ju||(Ju=!0,Ko(97,(function(){return Ll(),null})))}function Fl(){if(null===el)return!1;var e=el;if(el=null,0!==(48&Ru))throw Error(a(331));var t=Ru;Ru|=32;var n=rl;rl=[];for(var r=0;r<n.length;r+=2){var o=n[r],i=n[r+1],u=o.destroy;if(o.destroy=void 0,"function"===typeof u)try{u()}catch(c){if(null===i)throw Error(a(330));zl(i,c)}}for(n=nl,nl=[],r=0;r<n.length;r+=2){o=n[r],i=n[r+1];try{var l=o.create;o.destroy=l()}catch(c){if(null===i)throw Error(a(330));zl(i,c)}}for(l=e.current.firstEffect;null!==l;)e=l.nextEffect,l.nextEffect=null,8&l.flags&&(l.sibling=null,l.stateNode=null),l=e;return Ru=t,Yo(),!0}function Bl(e,t,n){di(e,t=du(0,t=cu(n,t),1)),t=dl(),null!==(e=vl(e,1))&&(Ht(e,1,t),gl(e,t))}function zl(e,t){if(3===e.tag)Bl(e,e,t);else for(var n=e.return;null!==n;){if(3===n.tag){Bl(n,e,t);break}if(1===n.tag){var r=n.stateNode;if("function"===typeof n.type.getDerivedStateFromError||"function"===typeof r.componentDidCatch&&(null===Qu||!Qu.has(r))){var o=pu(n,e=cu(t,e),1);if(di(n,o),o=dl(),null!==(n=vl(n,1)))Ht(n,1,o),gl(n,o);else if("function"===typeof r.componentDidCatch&&(null===Qu||!Qu.has(r)))try{r.componentDidCatch(t,e)}catch(i){}break}}n=n.return}}function Ul(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=dl(),e.pingedLanes|=e.suspendedLanes&n,Au===e&&(Lu&n)===n&&(4===Fu||3===Fu&&(62914560&Lu)===Lu&&500>Go()-Vu?Sl(e,0):Hu|=n),gl(e,t)}function Wl(e,t){var n=e.stateNode;null!==n&&n.delete(t),0===(t=0)&&(0===(2&(t=e.mode))?t=1:0===(4&t)?t=99===Vo()?1:2:(0===ll&&(ll=zu),0===(t=Ut(62914560&~ll))&&(t=4194304))),n=dl(),null!==(e=vl(e,t))&&(Ht(e,t,n),gl(e,n))}function Hl(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.flags=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childLanes=this.lanes=0,this.alternate=null}function Gl(e,t,n,r){return new Hl(e,t,n,r)}function Vl(e){return!(!(e=e.prototype)||!e.isReactComponent)}function $l(e,t){var n=e.alternate;return null===n?((n=Gl(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function ql(e,t,n,r,o,i){var u=2;if(r=e,"function"===typeof e)Vl(e)&&(u=1);else if("string"===typeof e)u=5;else e:switch(e){case S:return Kl(n.children,o,i,t);case M:u=8,o|=16;break;case _:u=8,o|=1;break;case C:return(e=Gl(12,n,t,8|o)).elementType=C,e.type=C,e.lanes=i,e;case D:return(e=Gl(13,n,t,o)).type=D,e.elementType=D,e.lanes=i,e;case T:return(e=Gl(19,n,t,o)).elementType=T,e.lanes=i,e;case j:return Yl(n,o,i,t);case F:return(e=Gl(24,n,t,o)).elementType=F,e.lanes=i,e;default:if("object"===typeof e&&null!==e)switch(e.$$typeof){case O:u=10;break e;case I:u=9;break e;case N:u=11;break e;case R:u=14;break e;case A:u=16,r=null;break e;case P:u=22;break e}throw Error(a(130,null==e?e:typeof e,""))}return(t=Gl(u,n,t,o)).elementType=e,t.type=r,t.lanes=i,t}function Kl(e,t,n,r){return(e=Gl(7,e,r,t)).lanes=n,e}function Yl(e,t,n,r){return(e=Gl(23,e,r,t)).elementType=j,e.lanes=n,e}function Zl(e,t,n){return(e=Gl(6,e,null,t)).lanes=n,e}function Xl(e,t,n){return(t=Gl(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Ql(e,t,n){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=0,this.eventTimes=Wt(0),this.expirationTimes=Wt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Wt(0),this.mutableSourceEagerHydrationData=null}function Jl(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:k,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}function ec(e,t,n,r){var o=t.current,i=dl(),u=pl(o);e:if(n){t:{if(Ze(n=n._reactInternals)!==n||1!==n.tag)throw Error(a(170));var l=n;do{switch(l.tag){case 3:l=l.stateNode.context;break t;case 1:if(yo(l.type)){l=l.stateNode.__reactInternalMemoizedMergedChildContext;break t}}l=l.return}while(null!==l);throw Error(a(171))}if(1===n.tag){var c=n.type;if(yo(c)){n=xo(n,c,l);break e}}n=l}else n=po;return null===t.context?t.context=n:t.pendingContext=n,(t=fi(i,u)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),di(o,t),hl(o,u,i),u}function tc(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function nc(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function rc(e,t){nc(e,t),(e=e.alternate)&&nc(e,t)}function oc(e,t,n){var r=null!=n&&null!=n.hydrationOptions&&n.hydrationOptions.mutableSources||null;if(n=new Ql(e,t,null!=n&&!0===n.hydrate),t=Gl(3,null,null,2===t?7:1===t?3:0),n.current=t,t.stateNode=n,ci(t),e[eo]=n.current,Rr(8===e.nodeType?e.parentNode:e),r)for(e=0;e<r.length;e++){var o=(t=r[e])._getVersion;o=o(t._source),null==n.mutableSourceEagerHydrationData?n.mutableSourceEagerHydrationData=[t,o]:n.mutableSourceEagerHydrationData.push(t,o)}this._internalRoot=n}function ic(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function ac(e,t,n,r,o){var i=n._reactRootContainer;if(i){var a=i._internalRoot;if("function"===typeof o){var u=o;o=function(){var e=tc(a);u.call(e)}}ec(t,a,e,o)}else{if(i=n._reactRootContainer=function(e,t){if(t||(t=!(!(t=e?9===e.nodeType?e.documentElement:e.firstChild:null)||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new oc(e,0,t?{hydrate:!0}:void 0)}(n,r),a=i._internalRoot,"function"===typeof o){var l=o;o=function(){var e=tc(a);l.call(e)}}xl((function(){ec(t,a,e,o)}))}return tc(a)}function uc(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!ic(t))throw Error(a(200));return Jl(e,t,null,n)}Ku=function(e,t,n){var r=t.lanes;if(null!==e)if(e.memoizedProps!==t.pendingProps||vo.current)ja=!0;else{if(0===(n&r)){switch(ja=!1,t.tag){case 3:qa(t),Ki();break;case 5:Mi(t);break;case 1:yo(t.type)&&Eo(t);break;case 4:Pi(t,t.stateNode.containerInfo);break;case 10:r=t.memoizedProps.value;var o=t.type._context;fo(Jo,o._currentValue),o._currentValue=r;break;case 13:if(null!==t.memoizedState)return 0!==(n&t.child.childLanes)?Qa(e,t,n):(fo(Fi,1&Fi.current),null!==(t=iu(e,t,n))?t.sibling:null);fo(Fi,1&Fi.current);break;case 19:if(r=0!==(n&t.childLanes),0!==(64&e.flags)){if(r)return ou(e,t,n);t.flags|=64}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),fo(Fi,Fi.current),r)break;return null;case 23:case 24:return t.lanes=0,Wa(e,t,n)}return iu(e,t,n)}ja=0!==(16384&e.flags)}else ja=!1;switch(t.lanes=0,t.tag){case 2:if(r=t.type,null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,o=mo(t,ho.current),ai(t,n),o=ua(null,t,r,e,o,n),t.flags|=1,"object"===typeof o&&null!==o&&"function"===typeof o.render&&void 0===o.$$typeof){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,yo(r)){var i=!0;Eo(t)}else i=!1;t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,ci(t);var u=r.getDerivedStateFromProps;"function"===typeof u&&mi(t,r,u,e),o.updater=yi,t.stateNode=o,o._reactInternals=t,Ei(t,r,e,n),t=$a(null,t,r,!0,i,n)}else t.tag=0,Fa(null,t,o,n),t=t.child;return t;case 16:o=t.elementType;e:{switch(null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,o=(i=o._init)(o._payload),t.type=o,i=t.tag=function(e){if("function"===typeof e)return Vl(e)?1:0;if(void 0!==e&&null!==e){if((e=e.$$typeof)===N)return 11;if(e===R)return 14}return 2}(o),e=Qo(o,e),i){case 0:t=Ga(null,t,o,e,n);break e;case 1:t=Va(null,t,o,e,n);break e;case 11:t=Ba(null,t,o,e,n);break e;case 14:t=za(null,t,o,Qo(o.type,e),r,n);break e}throw Error(a(306,o,""))}return t;case 0:return r=t.type,o=t.pendingProps,Ga(e,t,r,o=t.elementType===r?o:Qo(r,o),n);case 1:return r=t.type,o=t.pendingProps,Va(e,t,r,o=t.elementType===r?o:Qo(r,o),n);case 3:if(qa(t),r=t.updateQueue,null===e||null===r)throw Error(a(282));if(r=t.pendingProps,o=null!==(o=t.memoizedState)?o.element:null,si(e,t),hi(t,r,null,n),(r=t.memoizedState.element)===o)Ki(),t=iu(e,t,n);else{if((i=(o=t.stateNode).hydrate)&&(Ui=Kr(t.stateNode.containerInfo.firstChild),zi=t,i=Wi=!0),i){if(null!=(e=o.mutableSourceEagerHydrationData))for(o=0;o<e.length;o+=2)(i=e[o])._workInProgressVersionPrimary=e[o+1],Yi.push(i);for(n=Ii(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|1024,n=n.sibling}else Fa(e,t,r,n),Ki();t=t.child}return t;case 5:return Mi(t),null===e&&Vi(t),r=t.type,o=t.pendingProps,i=null!==e?e.memoizedProps:null,u=o.children,Gr(r,o)?u=null:null!==i&&Gr(r,i)&&(t.flags|=16),Ha(e,t),Fa(e,t,u,n),t.child;case 6:return null===e&&Vi(t),null;case 13:return Qa(e,t,n);case 4:return Pi(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Oi(t,null,r,n):Fa(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,Ba(e,t,r,o=t.elementType===r?o:Qo(r,o),n);case 7:return Fa(e,t,t.pendingProps,n),t.child;case 8:case 12:return Fa(e,t,t.pendingProps.children,n),t.child;case 10:e:{r=t.type._context,o=t.pendingProps,u=t.memoizedProps,i=o.value;var l=t.type._context;if(fo(Jo,l._currentValue),l._currentValue=i,null!==u)if(l=u.value,0===(i=sr(l,i)?0:0|("function"===typeof r._calculateChangedBits?r._calculateChangedBits(l,i):1073741823))){if(u.children===o.children&&!vo.current){t=iu(e,t,n);break e}}else for(null!==(l=t.child)&&(l.return=t);null!==l;){var c=l.dependencies;if(null!==c){u=l.child;for(var s=c.firstContext;null!==s;){if(s.context===r&&0!==(s.observedBits&i)){1===l.tag&&((s=fi(-1,n&-n)).tag=2,di(l,s)),l.lanes|=n,null!==(s=l.alternate)&&(s.lanes|=n),ii(l.return,n),c.lanes|=n;break}s=s.next}}else u=10===l.tag&&l.type===t.type?null:l.child;if(null!==u)u.return=l;else for(u=l;null!==u;){if(u===t){u=null;break}if(null!==(l=u.sibling)){l.return=u.return,u=l;break}u=u.return}l=u}Fa(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=(i=t.pendingProps).children,ai(t,n),r=r(o=ui(o,i.unstable_observedBits)),t.flags|=1,Fa(e,t,r,n),t.child;case 14:return i=Qo(o=t.type,t.pendingProps),za(e,t,o,i=Qo(o.type,i),r,n);case 15:return Ua(e,t,t.type,t.pendingProps,r,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Qo(r,o),null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),t.tag=1,yo(r)?(e=!0,Eo(t)):e=!1,ai(t,n),wi(t,r,o),Ei(t,r,o,n),$a(null,t,r,!0,e,n);case 19:return ou(e,t,n);case 23:case 24:return Wa(e,t,n)}throw Error(a(156,t.tag))},oc.prototype.render=function(e){ec(e,this._internalRoot,null,null)},oc.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;ec(null,e,null,(function(){t[eo]=null}))},tt=function(e){13===e.tag&&(hl(e,4,dl()),rc(e,4))},nt=function(e){13===e.tag&&(hl(e,67108864,dl()),rc(e,67108864))},rt=function(e){if(13===e.tag){var t=dl(),n=pl(e);hl(e,n,t),rc(e,n)}},ot=function(e,t){return t()},Oe=function(e,t,n){switch(t){case"input":if(ne(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=io(r);if(!o)throw Error(a(90));X(r),ne(r,o)}}}break;case"textarea":ce(e,n);break;case"select":null!=(t=n.value)&&ae(e,!!n.multiple,t,!1)}},Ae=wl,Pe=function(e,t,n,r,o){var i=Ru;Ru|=4;try{return qo(98,e.bind(null,t,n,r,o))}finally{0===(Ru=i)&&(qu(),Yo())}},Le=function(){0===(49&Ru)&&(function(){if(null!==ol){var e=ol;ol=null,e.forEach((function(e){e.expiredLanes|=24&e.pendingLanes,gl(e,Go())}))}Yo()}(),Ll())},Me=function(e,t){var n=Ru;Ru|=2;try{return e(t)}finally{0===(Ru=n)&&(qu(),Yo())}};var lc={Events:[ro,oo,io,Te,Re,Ll,{current:!1}]},cc={findFiberByHostInstance:no,bundleType:0,version:"17.0.2",rendererPackageName:"react-dom"},sc={bundleType:cc.bundleType,version:cc.version,rendererPackageName:cc.rendererPackageName,rendererConfig:cc.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:x.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=Je(e))?null:e.stateNode},findFiberByHostInstance:cc.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var fc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!fc.isDisabled&&fc.supportsFiber)try{So=fc.inject(sc),_o=fc}catch(ge){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=lc,t.createPortal=uc,t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"===typeof e.render)throw Error(a(188));throw Error(a(268,Object.keys(e)))}return e=null===(e=Je(t))?null:e.stateNode},t.flushSync=function(e,t){var n=Ru;if(0!==(48&n))return e(t);Ru|=1;try{if(e)return qo(99,e.bind(null,t))}finally{Ru=n,Yo()}},t.hydrate=function(e,t,n){if(!ic(t))throw Error(a(200));return ac(null,e,t,!0,n)},t.render=function(e,t,n){if(!ic(t))throw Error(a(200));return ac(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!ic(e))throw Error(a(40));return!!e._reactRootContainer&&(xl((function(){ac(null,null,e,!1,(function(){e._reactRootContainer=null,e[eo]=null}))})),!0)},t.unstable_batchedUpdates=wl,t.unstable_createPortal=function(e,t){return uc(e,t,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)},t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!ic(n))throw Error(a(200));if(null==e||void 0===e._reactInternals)throw Error(a(38));return ac(e,t,n,!1,r)},t.version="17.0.2"},164:function(e,t,n){"use strict";!function e(){if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}(),e.exports=n(463)},340:function(e,t,n){"use strict";e.exports=n(424)},372:function(e,t){"use strict";var n=60103,r=60106,o=60107,i=60108,a=60114,u=60109,l=60110,c=60112,s=60113,f=60120,d=60115,p=60116,h=60121,v=60122,g=60117,m=60129,y=60131;if("function"===typeof Symbol&&Symbol.for){var b=Symbol.for;n=b("react.element"),r=b("react.portal"),o=b("react.fragment"),i=b("react.strict_mode"),a=b("react.profiler"),u=b("react.provider"),l=b("react.context"),c=b("react.forward_ref"),s=b("react.suspense"),f=b("react.suspense_list"),d=b("react.memo"),p=b("react.lazy"),h=b("react.block"),v=b("react.server.block"),g=b("react.fundamental"),m=b("react.debug_trace_mode"),y=b("react.legacy_hidden")}function w(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case o:case a:case i:case s:case f:return e;default:switch(e=e&&e.$$typeof){case l:case c:case p:case d:case u:return e;default:return t}}case r:return t}}}t.isContextConsumer=function(e){return w(e)===l},t.isFragment=function(e){return w(e)===o},t.isValidElementType=function(e){return"string"===typeof e||"function"===typeof e||e===o||e===a||e===m||e===i||e===s||e===f||e===y||"object"===typeof e&&null!==e&&(e.$$typeof===p||e.$$typeof===d||e.$$typeof===u||e.$$typeof===l||e.$$typeof===c||e.$$typeof===g||e.$$typeof===h||e[0]===v)},t.typeOf=w},441:function(e,t,n){"use strict";e.exports=n(372)},374:function(e,t,n){"use strict";n(725);var r=n(791),o=60103;if(t.Fragment=60107,"function"===typeof Symbol&&Symbol.for){var i=Symbol.for;o=i("react.element"),t.Fragment=i("react.fragment")}var a=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,u=Object.prototype.hasOwnProperty,l={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,n){var r,i={},c=null,s=null;for(r in void 0!==n&&(c=""+n),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(s=t.ref),t)u.call(t,r)&&!l.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===i[r]&&(i[r]=t[r]);return{$$typeof:o,type:e,key:c,ref:s,props:i,_owner:a.current}}t.jsx=c,t.jsxs=c},117:function(e,t,n){"use strict";var r=n(725),o=60103,i=60106;t.Fragment=60107,t.StrictMode=60108,t.Profiler=60114;var a=60109,u=60110,l=60112;t.Suspense=60113;var c=60115,s=60116;if("function"===typeof Symbol&&Symbol.for){var f=Symbol.for;o=f("react.element"),i=f("react.portal"),t.Fragment=f("react.fragment"),t.StrictMode=f("react.strict_mode"),t.Profiler=f("react.profiler"),a=f("react.provider"),u=f("react.context"),l=f("react.forward_ref"),t.Suspense=f("react.suspense"),c=f("react.memo"),s=f("react.lazy")}var d="function"===typeof Symbol&&Symbol.iterator;function p(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},v={};function g(e,t,n){this.props=e,this.context=t,this.refs=v,this.updater=n||h}function m(){}function y(e,t,n){this.props=e,this.context=t,this.refs=v,this.updater=n||h}g.prototype.isReactComponent={},g.prototype.setState=function(e,t){if("object"!==typeof e&&"function"!==typeof e&&null!=e)throw Error(p(85));this.updater.enqueueSetState(this,e,t,"setState")},g.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},m.prototype=g.prototype;var b=y.prototype=new m;b.constructor=y,r(b,g.prototype),b.isPureReactComponent=!0;var w={current:null},x=Object.prototype.hasOwnProperty,E={key:!0,ref:!0,__self:!0,__source:!0};function k(e,t,n){var r,i={},a=null,u=null;if(null!=t)for(r in void 0!==t.ref&&(u=t.ref),void 0!==t.key&&(a=""+t.key),t)x.call(t,r)&&!E.hasOwnProperty(r)&&(i[r]=t[r]);var l=arguments.length-2;if(1===l)i.children=n;else if(1<l){for(var c=Array(l),s=0;s<l;s++)c[s]=arguments[s+2];i.children=c}if(e&&e.defaultProps)for(r in l=e.defaultProps)void 0===i[r]&&(i[r]=l[r]);return{$$typeof:o,type:e,key:a,ref:u,props:i,_owner:w.current}}function S(e){return"object"===typeof e&&null!==e&&e.$$typeof===o}var _=/\/+/g;function C(e,t){return"object"===typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function O(e,t,n,r,a){var u=typeof e;"undefined"!==u&&"boolean"!==u||(e=null);var l=!1;if(null===e)l=!0;else switch(u){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case o:case i:l=!0}}if(l)return a=a(l=e),e=""===r?"."+C(l,0):r,Array.isArray(a)?(n="",null!=e&&(n=e.replace(_,"$&/")+"/"),O(a,t,n,"",(function(e){return e}))):null!=a&&(S(a)&&(a=function(e,t){return{$$typeof:o,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(a,n+(!a.key||l&&l.key===a.key?"":(""+a.key).replace(_,"$&/")+"/")+e)),t.push(a)),1;if(l=0,r=""===r?".":r+":",Array.isArray(e))for(var c=0;c<e.length;c++){var s=r+C(u=e[c],c);l+=O(u,t,n,s,a)}else if(s=function(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=d&&e[d]||e["@@iterator"])?e:null}(e),"function"===typeof s)for(e=s.call(e),c=0;!(u=e.next()).done;)l+=O(u=u.value,t,n,s=r+C(u,c++),a);else if("object"===u)throw t=""+e,Error(p(31,"[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t));return l}function I(e,t,n){if(null==e)return e;var r=[],o=0;return O(e,r,"","",(function(e){return t.call(n,e,o++)})),r}function N(e){if(-1===e._status){var t=e._result;t=t(),e._status=0,e._result=t,t.then((function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)}),(function(t){0===e._status&&(e._status=2,e._result=t)}))}if(1===e._status)return e._result;throw e._result}var D={current:null};function T(){var e=D.current;if(null===e)throw Error(p(321));return e}var R={ReactCurrentDispatcher:D,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:w,IsSomeRendererActing:{current:!1},assign:r};t.Children={map:I,forEach:function(e,t,n){I(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return I(e,(function(){t++})),t},toArray:function(e){return I(e,(function(e){return e}))||[]},only:function(e){if(!S(e))throw Error(p(143));return e}},t.Component=g,t.PureComponent=y,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=R,t.cloneElement=function(e,t,n){if(null===e||void 0===e)throw Error(p(267,e));var i=r({},e.props),a=e.key,u=e.ref,l=e._owner;if(null!=t){if(void 0!==t.ref&&(u=t.ref,l=w.current),void 0!==t.key&&(a=""+t.key),e.type&&e.type.defaultProps)var c=e.type.defaultProps;for(s in t)x.call(t,s)&&!E.hasOwnProperty(s)&&(i[s]=void 0===t[s]&&void 0!==c?c[s]:t[s])}var s=arguments.length-2;if(1===s)i.children=n;else if(1<s){c=Array(s);for(var f=0;f<s;f++)c[f]=arguments[f+2];i.children=c}return{$$typeof:o,type:e.type,key:a,ref:u,props:i,_owner:l}},t.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:u,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:a,_context:e},e.Consumer=e},t.createElement=k,t.createFactory=function(e){var t=k.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:l,render:e}},t.isValidElement=S,t.lazy=function(e){return{$$typeof:s,_payload:{_status:-1,_result:e},_init:N}},t.memo=function(e,t){return{$$typeof:c,type:e,compare:void 0===t?null:t}},t.useCallback=function(e,t){return T().useCallback(e,t)},t.useContext=function(e,t){return T().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return T().useEffect(e,t)},t.useImperativeHandle=function(e,t,n){return T().useImperativeHandle(e,t,n)},t.useLayoutEffect=function(e,t){return T().useLayoutEffect(e,t)},t.useMemo=function(e,t){return T().useMemo(e,t)},t.useReducer=function(e,t,n){return T().useReducer(e,t,n)},t.useRef=function(e){return T().useRef(e)},t.useState=function(e){return T().useState(e)},t.version="17.0.2"},791:function(e,t,n){"use strict";e.exports=n(117)},184:function(e,t,n){"use strict";e.exports=n(374)},813:function(e,t){"use strict";var n,r,o,i;if("object"===typeof performance&&"function"===typeof performance.now){var a=performance;t.unstable_now=function(){return a.now()}}else{var u=Date,l=u.now();t.unstable_now=function(){return u.now()-l}}if("undefined"===typeof window||"function"!==typeof MessageChannel){var c=null,s=null,f=function e(){if(null!==c)try{var n=t.unstable_now();c(!0,n),c=null}catch(r){throw setTimeout(e,0),r}};n=function(e){null!==c?setTimeout(n,0,e):(c=e,setTimeout(f,0))},r=function(e,t){s=setTimeout(e,t)},o=function(){clearTimeout(s)},t.unstable_shouldYield=function(){return!1},i=t.unstable_forceFrameRate=function(){}}else{var d=window.setTimeout,p=window.clearTimeout;if("undefined"!==typeof console){var h=window.cancelAnimationFrame;"function"!==typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),"function"!==typeof h&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var v=!1,g=null,m=-1,y=5,b=0;t.unstable_shouldYield=function(){return t.unstable_now()>=b},i=function(){},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):y=0<e?Math.floor(1e3/e):5};var w=new MessageChannel,x=w.port2;w.port1.onmessage=function(){if(null!==g){var e=t.unstable_now();b=e+y;try{g(!0,e)?x.postMessage(null):(v=!1,g=null)}catch(n){throw x.postMessage(null),n}}else v=!1},n=function(e){g=e,v||(v=!0,x.postMessage(null))},r=function(e,n){m=d((function(){e(t.unstable_now())}),n)},o=function(){p(m),m=-1}}function E(e,t){var n=e.length;e.push(t);e:for(;;){var r=n-1>>>1,o=e[r];if(!(void 0!==o&&0<_(o,t)))break e;e[r]=t,e[n]=o,n=r}}function k(e){return void 0===(e=e[0])?null:e}function S(e){var t=e[0];if(void 0!==t){var n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,o=e.length;r<o;){var i=2*(r+1)-1,a=e[i],u=i+1,l=e[u];if(void 0!==a&&0>_(a,n))void 0!==l&&0>_(l,a)?(e[r]=l,e[u]=n,r=u):(e[r]=a,e[i]=n,r=i);else{if(!(void 0!==l&&0>_(l,n)))break e;e[r]=l,e[u]=n,r=u}}}return t}return null}function _(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var C=[],O=[],I=1,N=null,D=3,T=!1,R=!1,A=!1;function P(e){for(var t=k(O);null!==t;){if(null===t.callback)S(O);else{if(!(t.startTime<=e))break;S(O),t.sortIndex=t.expirationTime,E(C,t)}t=k(O)}}function L(e){if(A=!1,P(e),!R)if(null!==k(C))R=!0,n(M);else{var t=k(O);null!==t&&r(L,t.startTime-e)}}function M(e,n){R=!1,A&&(A=!1,o()),T=!0;var i=D;try{for(P(n),N=k(C);null!==N&&(!(N.expirationTime>n)||e&&!t.unstable_shouldYield());){var a=N.callback;if("function"===typeof a){N.callback=null,D=N.priorityLevel;var u=a(N.expirationTime<=n);n=t.unstable_now(),"function"===typeof u?N.callback=u:N===k(C)&&S(C),P(n)}else S(C);N=k(C)}if(null!==N)var l=!0;else{var c=k(O);null!==c&&r(L,c.startTime-n),l=!1}return l}finally{N=null,D=i,T=!1}}var j=i;t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){R||T||(R=!0,n(M))},t.unstable_getCurrentPriorityLevel=function(){return D},t.unstable_getFirstCallbackNode=function(){return k(C)},t.unstable_next=function(e){switch(D){case 1:case 2:case 3:var t=3;break;default:t=D}var n=D;D=t;try{return e()}finally{D=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=j,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=D;D=e;try{return t()}finally{D=n}},t.unstable_scheduleCallback=function(e,i,a){var u=t.unstable_now();switch("object"===typeof a&&null!==a?a="number"===typeof(a=a.delay)&&0<a?u+a:u:a=u,e){case 1:var l=-1;break;case 2:l=250;break;case 5:l=1073741823;break;case 4:l=1e4;break;default:l=5e3}return e={id:I++,callback:i,priorityLevel:e,startTime:a,expirationTime:l=a+l,sortIndex:-1},a>u?(e.sortIndex=a,E(O,e),null===k(C)&&e===k(O)&&(A?o():A=!0,r(L,a-u))):(e.sortIndex=l,E(C,e),R||T||(R=!0,n(M))),e},t.unstable_wrapCallback=function(e){var t=D;return function(){var n=D;D=t;try{return e.apply(this,arguments)}finally{D=n}}}},296:function(e,t,n){"use strict";e.exports=n(813)},823:function(e){e.exports=function(e,t,n,r){var o=n?n.call(r,e,t):void 0;if(void 0!==o)return!!o;if(e===t)return!0;if("object"!==typeof e||!e||"object"!==typeof t||!t)return!1;var i=Object.keys(e),a=Object.keys(t);if(i.length!==a.length)return!1;for(var u=Object.prototype.hasOwnProperty.bind(t),l=0;l<i.length;l++){var c=i[l];if(!u(c))return!1;var s=e[c],f=t[c];if(!1===(o=n?n.call(r,s,f,c):void 0)||void 0===o&&s!==f)return!1}return!0}},9:function(e){var t=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'],n=t.join(","),r="undefined"===typeof Element?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector;function o(e,t){t=t||{};var o,a,u,s=[],f=[],d=e.querySelectorAll(n);for(t.includeContainer&&r.call(e,n)&&(d=Array.prototype.slice.apply(d)).unshift(e),o=0;o<d.length;o++)i(a=d[o])&&(0===(u=l(a))?s.push(a):f.push({documentOrder:o,tabIndex:u,node:a}));return f.sort(c).map((function(e){return e.node})).concat(s)}function i(e){return!(!a(e)||function(e){return function(e){return s(e)&&"radio"===e.type}(e)&&!function(e){if(!e.name)return!0;var t=function(e){for(var t=0;t<e.length;t++)if(e[t].checked)return e[t]}(e.ownerDocument.querySelectorAll('input[type="radio"][name="'+e.name+'"]'));return!t||t===e}(e)}(e)||l(e)<0)}function a(e){return!(e.disabled||function(e){return s(e)&&"hidden"===e.type}(e)||function(e){return null===e.offsetParent||"hidden"===getComputedStyle(e).visibility}(e))}o.isTabbable=function(e){if(!e)throw new Error("No node provided");return!1!==r.call(e,n)&&i(e)},o.isFocusable=function(e){if(!e)throw new Error("No node provided");return!1!==r.call(e,u)&&a(e)};var u=t.concat("iframe").join(",");function l(e){var t=parseInt(e.getAttribute("tabindex"),10);return isNaN(t)?function(e){return"true"===e.contentEditable}(e)?0:e.tabIndex:t}function c(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex}function s(e){return"INPUT"===e.tagName}e.exports=o},897:function(e){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r},e.exports.__esModule=!0,e.exports.default=e.exports},405:function(e,t,n){var r=n(897);e.exports=function(e){if(Array.isArray(e))return r(e)},e.exports.__esModule=!0,e.exports.default=e.exports},156:function(e){function t(e,t,n,r,o,i,a){try{var u=e[i](a),l=u.value}catch(c){return void n(c)}u.done?t(l):Promise.resolve(l).then(r,o)}e.exports=function(e){return function(){var n=this,r=arguments;return new Promise((function(o,i){var a=e.apply(n,r);function u(e){t(a,o,i,u,l,"next",e)}function l(e){t(a,o,i,u,l,"throw",e)}u(void 0)}))}},e.exports.__esModule=!0,e.exports.default=e.exports},690:function(e){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.__esModule=!0,e.exports.default=e.exports},728:function(e){function t(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e.exports=function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e},e.exports.__esModule=!0,e.exports.default=e.exports},704:function(e,t,n){var r=n(116);e.exports=function(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=r(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var o=0,i=function(){};return{s:i,n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,u=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return u=e.done,e},e:function(e){l=!0,a=e},f:function(){try{u||null==n.return||n.return()}finally{if(l)throw a}}}},e.exports.__esModule=!0,e.exports.default=e.exports},416:function(e){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.__esModule=!0,e.exports.default=e.exports},498:function(e){e.exports=function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.__esModule=!0,e.exports.default=e.exports},281:function(e){e.exports=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.")},e.exports.__esModule=!0,e.exports.default=e.exports},61:function(e,t,n){var r=n(698).default;function o(){"use strict";e.exports=o=function(){return t},e.exports.__esModule=!0,e.exports.default=e.exports;var t={},n=Object.prototype,i=n.hasOwnProperty,a="function"==typeof Symbol?Symbol:{},u=a.iterator||"@@iterator",l=a.asyncIterator||"@@asyncIterator",c=a.toStringTag||"@@toStringTag";function s(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(N){s=function(e,t,n){return e[t]=n}}function f(e,t,n,r){var o=t&&t.prototype instanceof h?t:h,i=Object.create(o.prototype),a=new C(r||[]);return i._invoke=function(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return I()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var u=k(a,n);if(u){if(u===p)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=d(e,t,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===p)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}(e,n,a),i}function d(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(N){return{type:"throw",arg:N}}}t.wrap=f;var p={};function h(){}function v(){}function g(){}var m={};s(m,u,(function(){return this}));var y=Object.getPrototypeOf,b=y&&y(y(O([])));b&&b!==n&&i.call(b,u)&&(m=b);var w=g.prototype=h.prototype=Object.create(m);function x(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function E(e,t){function n(o,a,u,l){var c=d(e[o],e,a);if("throw"!==c.type){var s=c.arg,f=s.value;return f&&"object"==r(f)&&i.call(f,"__await")?t.resolve(f.__await).then((function(e){n("next",e,u,l)}),(function(e){n("throw",e,u,l)})):t.resolve(f).then((function(e){s.value=e,u(s)}),(function(e){return n("throw",e,u,l)}))}l(c.arg)}var o;this._invoke=function(e,r){function i(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(i,i):i()}}function k(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,k(e,t),"throw"===t.method))return p;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return p}var r=d(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,p;var o=r.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,p):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,p)}function S(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function _(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function O(e){if(e){var t=e[u];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,r=function t(){for(;++n<e.length;)if(i.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return r.next=r}}return{next:I}}function I(){return{value:void 0,done:!0}}return v.prototype=g,s(w,"constructor",g),s(g,"constructor",v),v.displayName=s(g,c,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===v||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,g):(e.__proto__=g,s(e,c,"GeneratorFunction")),e.prototype=Object.create(w),e},t.awrap=function(e){return{__await:e}},x(E.prototype),s(E.prototype,l,(function(){return this})),t.AsyncIterator=E,t.async=function(e,n,r,o,i){void 0===i&&(i=Promise);var a=new E(f(e,n,r,o),i);return t.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},x(w),s(w,c,"Generator"),s(w,u,(function(){return this})),s(w,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},t.values=O,C.prototype={constructor:C,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(_),!e)for(var t in this)"t"===t.charAt(0)&&i.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r],a=o.completion;if("root"===o.tryLoc)return n("end");if(o.tryLoc<=this.prev){var u=i.call(o,"catchLoc"),l=i.call(o,"finallyLoc");if(u&&l){if(this.prev<o.catchLoc)return n(o.catchLoc,!0);if(this.prev<o.finallyLoc)return n(o.finallyLoc)}else if(u){if(this.prev<o.catchLoc)return n(o.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return n(o.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,p):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),p},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),_(n),p}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;_(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:O(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),p}},t}e.exports=o,e.exports.__esModule=!0,e.exports.default=e.exports},861:function(e,t,n){var r=n(405),o=n(498),i=n(116),a=n(281);e.exports=function(e){return r(e)||o(e)||i(e)||a()},e.exports.__esModule=!0,e.exports.default=e.exports},698:function(e){function t(n){return e.exports=t="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},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},116:function(e,t,n){var r=n(897);e.exports=function(e,t){if(e){if("string"===typeof e)return r(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)?r(e,t):void 0}},e.exports.__esModule=!0,e.exports.default=e.exports}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={id:r,loaded:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.loaded=!0,i.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}(),n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e},n.nc=void 0,function(){"use strict";function e(t){return e="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},e(t)}function t(){t=function(){return n};var n={},r=Object.prototype,o=r.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(I){c=function(e,t,n){return e[t]=n}}function s(e,t,n,r){var o=t&&t.prototype instanceof p?t:p,i=Object.create(o.prototype),a=new _(r||[]);return i._invoke=function(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return O()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var u=E(a,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=f(e,t,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}(e,n,a),i}function f(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(I){return{type:"throw",arg:I}}}n.wrap=s;var d={};function p(){}function h(){}function v(){}var g={};c(g,a,(function(){return this}));var m=Object.getPrototypeOf,y=m&&m(m(C([])));y&&y!==r&&o.call(y,a)&&(g=y);var b=v.prototype=p.prototype=Object.create(g);function w(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function x(t,n){function r(i,a,u,l){var c=f(t[i],t,a);if("throw"!==c.type){var s=c.arg,d=s.value;return d&&"object"==e(d)&&o.call(d,"__await")?n.resolve(d.__await).then((function(e){r("next",e,u,l)}),(function(e){r("throw",e,u,l)})):n.resolve(d).then((function(e){s.value=e,u(s)}),(function(e){return r("throw",e,u,l)}))}l(c.arg)}var i;this._invoke=function(e,t){function o(){return new n((function(n,o){r(e,t,n,o)}))}return i=i?i.then(o,o):o()}}function E(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,E(e,t),"throw"===t.method))return d;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return d}var r=f(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,d;var o=r.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,d):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,d)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function _(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function C(e){if(e){var t=e[a];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,r=function t(){for(;++n<e.length;)if(o.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return r.next=r}}return{next:O}}function O(){return{value:void 0,done:!0}}return h.prototype=v,c(b,"constructor",v),c(v,"constructor",h),h.displayName=c(v,l,"GeneratorFunction"),n.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===h||"GeneratorFunction"===(t.displayName||t.name))},n.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,c(e,l,"GeneratorFunction")),e.prototype=Object.create(b),e},n.awrap=function(e){return{__await:e}},w(x.prototype),c(x.prototype,u,(function(){return this})),n.AsyncIterator=x,n.async=function(e,t,r,o,i){void 0===i&&(i=Promise);var a=new x(s(e,t,r,o),i);return n.isGeneratorFunction(t)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},w(b),c(b,l,"Generator"),c(b,a,(function(){return this})),c(b,"toString",(function(){return"[object Generator]"})),n.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},n.values=C,_.prototype={constructor:_,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!e)for(var t in this)"t"===t.charAt(0)&&o.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var u=o.call(i,"catchLoc"),l=o.call(i,"finallyLoc");if(u&&l){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&o.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,d):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),d},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),S(n),d}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;S(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:C(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),d}},n}function r(e,t,n,r,o,i,a){try{var u=e[i](a),l=u.value}catch(c){return void n(c)}u.done?t(l):Promise.resolve(l).then(r,o)}function o(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var i=n(613),a=n.n(i),u=n(791),l=n(164),c=n(340),s=u.createContext(null);var f=function(e){e()},d=function(){return f};var p={notify:function(){},get:function(){return[]}};function h(e,t){var n,r=p;function o(){a.onStateChange&&a.onStateChange()}function i(){n||(n=t?t.addNestedSub(o):e.subscribe(o),r=function(){var e=d(),t=null,n=null;return{clear:function(){t=null,n=null},notify:function(){e((function(){for(var e=t;e;)e.callback(),e=e.next}))},get:function(){for(var e=[],n=t;n;)e.push(n),n=n.next;return e},subscribe:function(e){var r=!0,o=n={callback:e,next:null,prev:n};return o.prev?o.prev.next=o:t=o,function(){r&&null!==t&&(r=!1,o.next?o.next.prev=o.prev:n=o.prev,o.prev?o.prev.next=o.next:t=o.next)}}}}())}var a={addNestedSub:function(e){return i(),r.subscribe(e)},notifyNestedSubs:function(){r.notify()},handleChangeWrapper:o,isSubscribed:function(){return Boolean(n)},trySubscribe:i,tryUnsubscribe:function(){n&&(n(),n=void 0,r.clear(),r=p)},getListeners:function(){return r}};return a}var v="undefined"!==typeof window&&"undefined"!==typeof window.document&&"undefined"!==typeof window.document.createElement?u.useLayoutEffect:u.useEffect;var g=function(e){var t=e.store,n=e.context,r=e.children,o=(0,u.useMemo)((function(){var e=h(t);return{store:t,subscription:e}}),[t]),i=(0,u.useMemo)((function(){return t.getState()}),[t]);v((function(){var e=o.subscription;return e.onStateChange=e.notifyNestedSubs,e.trySubscribe(),i!==t.getState()&&e.notifyNestedSubs(),function(){e.tryUnsubscribe(),e.onStateChange=null}}),[o,i]);var a=n||s;return u.createElement(a.Provider,{value:o},r)},m=n(110),y=n.n(m),b=n(441);function w(){return w=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},w.apply(this,arguments)}function x(){return(0,u.useContext)(s)}function E(e){void 0===e&&(e=s);var t=e===s?x:function(){return(0,u.useContext)(e)};return function(){return t().store}}var k=E();function S(e){void 0===e&&(e=s);var t=e===s?k:E(e);return function(){return t().dispatch}}var _=S(),C=function(e,t){return e===t};function O(e){void 0===e&&(e=s);var t=e===s?x:function(){return(0,u.useContext)(e)};return function(e,n){void 0===n&&(n=C);var r=t(),o=function(e,t,n,r){var o,i=(0,u.useReducer)((function(e){return e+1}),0)[1],a=(0,u.useMemo)((function(){return h(n,r)}),[n,r]),l=(0,u.useRef)(),c=(0,u.useRef)(),s=(0,u.useRef)(),f=(0,u.useRef)(),d=n.getState();try{if(e!==c.current||d!==s.current||l.current){var p=e(d);o=void 0!==f.current&&t(p,f.current)?f.current:p}else o=f.current}catch(g){throw l.current&&(g.message+="\nThe error may be correlated with this previous error:\n"+l.current.stack+"\n\n"),g}return v((function(){c.current=e,s.current=d,f.current=o,l.current=void 0})),v((function(){function e(){try{var e=n.getState();if(e===s.current)return;var r=c.current(e);if(t(r,f.current))return;f.current=r,s.current=e}catch(g){l.current=g}i()}return a.onStateChange=e,a.trySubscribe(),e(),function(){return a.tryUnsubscribe()}}),[n,a]),o}(e,n,r.store,r.subscription);return(0,u.useDebugValue)(o),o}}var I,N=O();I=l.unstable_batchedUpdates,f=I;var D=n(823),T=n.n(D);var R=function(e){function t(e,r,l,c,d){for(var p,h,v,g,w,E=0,k=0,S=0,_=0,C=0,R=0,P=v=p=0,M=0,j=0,F=0,B=0,z=l.length,U=z-1,W="",H="",G="",V="";M<z;){if(h=l.charCodeAt(M),M===U&&0!==k+_+S+E&&(0!==k&&(h=47===k?10:47),_=S=E=0,z++,U++),0===k+_+S+E){if(M===U&&(0<j&&(W=W.replace(f,"")),0<W.trim().length)){switch(h){case 32:case 9:case 59:case 13:case 10:break;default:W+=l.charAt(M)}h=59}switch(h){case 123:for(p=(W=W.trim()).charCodeAt(0),v=1,B=++M;M<z;){switch(h=l.charCodeAt(M)){case 123:v++;break;case 125:v--;break;case 47:switch(h=l.charCodeAt(M+1)){case 42:case 47:e:{for(P=M+1;P<U;++P)switch(l.charCodeAt(P)){case 47:if(42===h&&42===l.charCodeAt(P-1)&&M+2!==P){M=P+1;break e}break;case 10:if(47===h){M=P+1;break e}}M=P}}break;case 91:h++;case 40:h++;case 34:case 39:for(;M++<U&&l.charCodeAt(M)!==h;);}if(0===v)break;M++}if(v=l.substring(B,M),0===p&&(p=(W=W.replace(s,"").trim()).charCodeAt(0)),64===p){switch(0<j&&(W=W.replace(f,"")),h=W.charCodeAt(1)){case 100:case 109:case 115:case 45:j=r;break;default:j=T}if(B=(v=t(r,j,v,h,d+1)).length,0<A&&(w=u(3,v,j=n(T,W,F),r,I,O,B,h,d,c),W=j.join(""),void 0!==w&&0===(B=(v=w.trim()).length)&&(h=0,v="")),0<B)switch(h){case 115:W=W.replace(x,a);case 100:case 109:case 45:v=W+"{"+v+"}";break;case 107:v=(W=W.replace(m,"$1 $2"))+"{"+v+"}",v=1===D||2===D&&i("@"+v,3)?"@-webkit-"+v+"@"+v:"@"+v;break;default:v=W+v,112===c&&(H+=v,v="")}else v=""}else v=t(r,n(r,W,F),v,c,d+1);G+=v,v=F=j=P=p=0,W="",h=l.charCodeAt(++M);break;case 125:case 59:if(1<(B=(W=(0<j?W.replace(f,""):W).trim()).length))switch(0===P&&(p=W.charCodeAt(0),45===p||96<p&&123>p)&&(B=(W=W.replace(" ",":")).length),0<A&&void 0!==(w=u(1,W,r,e,I,O,H.length,c,d,c))&&0===(B=(W=w.trim()).length)&&(W="\0\0"),p=W.charCodeAt(0),h=W.charCodeAt(1),p){case 0:break;case 64:if(105===h||99===h){V+=W+l.charAt(M);break}default:58!==W.charCodeAt(B-1)&&(H+=o(W,p,h,W.charCodeAt(2)))}F=j=P=p=0,W="",h=l.charCodeAt(++M)}}switch(h){case 13:case 10:47===k?k=0:0===1+p&&107!==c&&0<W.length&&(j=1,W+="\0"),0<A*L&&u(0,W,r,e,I,O,H.length,c,d,c),O=1,I++;break;case 59:case 125:if(0===k+_+S+E){O++;break}default:switch(O++,g=l.charAt(M),h){case 9:case 32:if(0===_+E+k)switch(C){case 44:case 58:case 9:case 32:g="";break;default:32!==h&&(g=" ")}break;case 0:g="\\0";break;case 12:g="\\f";break;case 11:g="\\v";break;case 38:0===_+k+E&&(j=F=1,g="\f"+g);break;case 108:if(0===_+k+E+N&&0<P)switch(M-P){case 2:112===C&&58===l.charCodeAt(M-3)&&(N=C);case 8:111===R&&(N=R)}break;case 58:0===_+k+E&&(P=M);break;case 44:0===k+S+_+E&&(j=1,g+="\r");break;case 34:case 39:0===k&&(_=_===h?0:0===_?h:_);break;case 91:0===_+k+S&&E++;break;case 93:0===_+k+S&&E--;break;case 41:0===_+k+E&&S--;break;case 40:if(0===_+k+E){if(0===p)if(2*C+3*R===533);else p=1;S++}break;case 64:0===k+S+_+E+P+v&&(v=1);break;case 42:case 47:if(!(0<_+E+S))switch(k){case 0:switch(2*h+3*l.charCodeAt(M+1)){case 235:k=47;break;case 220:B=M,k=42}break;case 42:47===h&&42===C&&B+2!==M&&(33===l.charCodeAt(B+2)&&(H+=l.substring(B,M+1)),g="",k=0)}}0===k&&(W+=g)}R=C,C=h,M++}if(0<(B=H.length)){if(j=r,0<A&&(void 0!==(w=u(2,H,j,e,I,O,B,c,d,c))&&0===(H=w).length))return V+H+G;if(H=j.join(",")+"{"+H+"}",0!==D*N){switch(2!==D||i(H,2)||(N=0),N){case 111:H=H.replace(b,":-moz-$1")+H;break;case 112:H=H.replace(y,"::-webkit-input-$1")+H.replace(y,"::-moz-$1")+H.replace(y,":-ms-input-$1")+H}N=0}}return V+H+G}function n(e,t,n){var o=t.trim().split(v);t=o;var i=o.length,a=e.length;switch(a){case 0:case 1:var u=0;for(e=0===a?"":e[0]+" ";u<i;++u)t[u]=r(e,t[u],n).trim();break;default:var l=u=0;for(t=[];u<i;++u)for(var c=0;c<a;++c)t[l++]=r(e[c]+" ",o[u],n).trim()}return t}function r(e,t,n){var r=t.charCodeAt(0);switch(33>r&&(r=(t=t.trim()).charCodeAt(0)),r){case 38:return t.replace(g,"$1"+e.trim());case 58:return e.trim()+t.replace(g,"$1"+e.trim());default:if(0<1*n&&0<t.indexOf("\f"))return t.replace(g,(58===e.charCodeAt(0)?"":"$1")+e.trim())}return e+t}function o(e,t,n,r){var a=e+";",u=2*t+3*n+4*r;if(944===u){e=a.indexOf(":",9)+1;var l=a.substring(e,a.length-1).trim();return l=a.substring(0,e).trim()+l+";",1===D||2===D&&i(l,1)?"-webkit-"+l+l:l}if(0===D||2===D&&!i(a,1))return a;switch(u){case 1015:return 97===a.charCodeAt(10)?"-webkit-"+a+a:a;case 951:return 116===a.charCodeAt(3)?"-webkit-"+a+a:a;case 963:return 110===a.charCodeAt(5)?"-webkit-"+a+a:a;case 1009:if(100!==a.charCodeAt(4))break;case 969:case 942:return"-webkit-"+a+a;case 978:return"-webkit-"+a+"-moz-"+a+a;case 1019:case 983:return"-webkit-"+a+"-moz-"+a+"-ms-"+a+a;case 883:if(45===a.charCodeAt(8))return"-webkit-"+a+a;if(0<a.indexOf("image-set(",11))return a.replace(C,"$1-webkit-$2")+a;break;case 932:if(45===a.charCodeAt(4))switch(a.charCodeAt(5)){case 103:return"-webkit-box-"+a.replace("-grow","")+"-webkit-"+a+"-ms-"+a.replace("grow","positive")+a;case 115:return"-webkit-"+a+"-ms-"+a.replace("shrink","negative")+a;case 98:return"-webkit-"+a+"-ms-"+a.replace("basis","preferred-size")+a}return"-webkit-"+a+"-ms-"+a+a;case 964:return"-webkit-"+a+"-ms-flex-"+a+a;case 1023:if(99!==a.charCodeAt(8))break;return"-webkit-box-pack"+(l=a.substring(a.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+a+"-ms-flex-pack"+l+a;case 1005:return p.test(a)?a.replace(d,":-webkit-")+a.replace(d,":-moz-")+a:a;case 1e3:switch(t=(l=a.substring(13).trim()).indexOf("-")+1,l.charCodeAt(0)+l.charCodeAt(t)){case 226:l=a.replace(w,"tb");break;case 232:l=a.replace(w,"tb-rl");break;case 220:l=a.replace(w,"lr");break;default:return a}return"-webkit-"+a+"-ms-"+l+a;case 1017:if(-1===a.indexOf("sticky",9))break;case 975:switch(t=(a=e).length-10,u=(l=(33===a.charCodeAt(t)?a.substring(0,t):a).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|l.charCodeAt(7))){case 203:if(111>l.charCodeAt(8))break;case 115:a=a.replace(l,"-webkit-"+l)+";"+a;break;case 207:case 102:a=a.replace(l,"-webkit-"+(102<u?"inline-":"")+"box")+";"+a.replace(l,"-webkit-"+l)+";"+a.replace(l,"-ms-"+l+"box")+";"+a}return a+";";case 938:if(45===a.charCodeAt(5))switch(a.charCodeAt(6)){case 105:return l=a.replace("-items",""),"-webkit-"+a+"-webkit-box-"+l+"-ms-flex-"+l+a;case 115:return"-webkit-"+a+"-ms-flex-item-"+a.replace(k,"")+a;default:return"-webkit-"+a+"-ms-flex-line-pack"+a.replace("align-content","").replace(k,"")+a}break;case 973:case 989:if(45!==a.charCodeAt(3)||122===a.charCodeAt(4))break;case 931:case 953:if(!0===_.test(e))return 115===(l=e.substring(e.indexOf(":")+1)).charCodeAt(0)?o(e.replace("stretch","fill-available"),t,n,r).replace(":fill-available",":stretch"):a.replace(l,"-webkit-"+l)+a.replace(l,"-moz-"+l.replace("fill-",""))+a;break;case 962:if(a="-webkit-"+a+(102===a.charCodeAt(5)?"-ms-"+a:"")+a,211===n+r&&105===a.charCodeAt(13)&&0<a.indexOf("transform",10))return a.substring(0,a.indexOf(";",27)+1).replace(h,"$1-webkit-$2")+a}return a}function i(e,t){var n=e.indexOf(1===t?":":"{"),r=e.substring(0,3!==t?n:10);return n=e.substring(n+1,e.length-1),P(2!==t?r:r.replace(S,"$1"),n,t)}function a(e,t){var n=o(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return n!==t+";"?n.replace(E," or ($1)").substring(4):"("+t+")"}function u(e,t,n,r,o,i,a,u,l,s){for(var f,d=0,p=t;d<A;++d)switch(f=R[d].call(c,e,p,n,r,o,i,a,u,l,s)){case void 0:case!1:case!0:case null:break;default:p=f}if(p!==t)return p}function l(e){return void 0!==(e=e.prefix)&&(P=null,e?"function"!==typeof e?D=1:(D=2,P=e):D=0),l}function c(e,n){var r=e;if(33>r.charCodeAt(0)&&(r=r.trim()),r=[r],0<A){var o=u(-1,n,r,r,I,O,0,0,0,0);void 0!==o&&"string"===typeof o&&(n=o)}var i=t(T,r,n,0,0);return 0<A&&(void 0!==(o=u(-2,i,r,r,I,O,i.length,0,0,0))&&(i=o)),"",N=0,O=I=1,i}var s=/^\0+/g,f=/[\0\r\f]/g,d=/: */g,p=/zoo|gra/,h=/([,: ])(transform)/g,v=/,\r+?/g,g=/([\t\r\n ])*\f?&/g,m=/@(k\w+)\s*(\S*)\s*/,y=/::(place)/g,b=/:(read-only)/g,w=/[svh]\w+-[tblr]{2}/,x=/\(\s*(.*)\s*\)/g,E=/([\s\S]*?);/g,k=/-self|flex-/g,S=/[^]*?(:[rp][el]a[\w-]+)[^]*/,_=/stretch|:\s*\w+\-(?:conte|avail)/,C=/([^-])(image-set\()/,O=1,I=1,N=0,D=1,T=[],R=[],A=0,P=null,L=0;return c.use=function e(t){switch(t){case void 0:case null:A=R.length=0;break;default:if("function"===typeof t)R[A++]=t;else if("object"===typeof t)for(var n=0,r=t.length;n<r;++n)e(t[n]);else L=0|!!t}return e},c.set=l,void 0!==e&&l(e),c},A={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};var P=function(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}},L=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,M=P((function(e){return L.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}));function j(){return(j=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var F=function(e,t){for(var n=[e[0]],r=0,o=t.length;r<o;r+=1)n.push(t[r],e[r+1]);return n},B=function(e){return null!==e&&"object"==typeof e&&"[object Object]"===(e.toString?e.toString():Object.prototype.toString.call(e))&&!(0,b.typeOf)(e)},z=Object.freeze([]),U=Object.freeze({});function W(e){return"function"==typeof e}function H(e){return e.displayName||e.name||"Component"}function G(e){return e&&"string"==typeof e.styledComponentId}var V="undefined"!=typeof process&&({NODE_ENV:"production",PUBLIC_URL:".",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.REACT_APP_SC_ATTR||{NODE_ENV:"production",PUBLIC_URL:".",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.SC_ATTR)||"data-styled",$="undefined"!=typeof window&&"HTMLElement"in window,q=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!=={NODE_ENV:"production",PUBLIC_URL:".",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.REACT_APP_SC_DISABLE_SPEEDY&&""!=={NODE_ENV:"production",PUBLIC_URL:".",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.REACT_APP_SC_DISABLE_SPEEDY?"false"!=={NODE_ENV:"production",PUBLIC_URL:".",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.REACT_APP_SC_DISABLE_SPEEDY&&{NODE_ENV:"production",PUBLIC_URL:".",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.REACT_APP_SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!=={NODE_ENV:"production",PUBLIC_URL:".",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.SC_DISABLE_SPEEDY&&""!=={NODE_ENV:"production",PUBLIC_URL:".",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.SC_DISABLE_SPEEDY&&("false"!=={NODE_ENV:"production",PUBLIC_URL:".",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.SC_DISABLE_SPEEDY&&{NODE_ENV:"production",PUBLIC_URL:".",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.SC_DISABLE_SPEEDY));function K(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw new Error("An error occurred. See https://git.io/JUIaE#"+e+" for more information."+(n.length>0?" Args: "+n.join(", "):""))}var Y=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}var t=e.prototype;return t.indexOfGroup=function(e){for(var t=0,n=0;n<e;n++)t+=this.groupSizes[n];return t},t.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,o=r;e>=o;)(o<<=1)<0&&K(16,""+e);this.groupSizes=new Uint32Array(o),this.groupSizes.set(n),this.length=o;for(var i=r;i<o;i++)this.groupSizes[i]=0}for(var a=this.indexOfGroup(e+1),u=0,l=t.length;u<l;u++)this.tag.insertRule(a,t[u])&&(this.groupSizes[e]++,a++)},t.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],n=this.indexOfGroup(e),r=n+t;this.groupSizes[e]=0;for(var o=n;o<r;o++)this.tag.deleteRule(n)}},t.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],r=this.indexOfGroup(e),o=r+n,i=r;i<o;i++)t+=this.tag.getRule(i)+"/*!sc*/\n";return t},e}(),Z=new Map,X=new Map,Q=1,J=function(e){if(Z.has(e))return Z.get(e);for(;X.has(Q);)Q++;var t=Q++;return Z.set(e,t),X.set(t,e),t},ee=function(e){return X.get(e)},te=function(e,t){t>=Q&&(Q=t+1),Z.set(e,t),X.set(t,e)},ne="style["+V+'][data-styled-version="5.3.5"]',re=new RegExp("^"+V+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),oe=function(e,t,n){for(var r,o=n.split(","),i=0,a=o.length;i<a;i++)(r=o[i])&&e.registerName(t,r)},ie=function(e,t){for(var n=(t.textContent||"").split("/*!sc*/\n"),r=[],o=0,i=n.length;o<i;o++){var a=n[o].trim();if(a){var u=a.match(re);if(u){var l=0|parseInt(u[1],10),c=u[2];0!==l&&(te(c,l),oe(e,c,u[3]),e.getTag().insertRules(l,r)),r.length=0}else r.push(a)}}},ae=function(){return"undefined"!=typeof window&&void 0!==window.__webpack_nonce__?window.__webpack_nonce__:null},ue=function(e){var t=document.head,n=e||t,r=document.createElement("style"),o=function(e){for(var t=e.childNodes,n=t.length;n>=0;n--){var r=t[n];if(r&&1===r.nodeType&&r.hasAttribute(V))return r}}(n),i=void 0!==o?o.nextSibling:null;r.setAttribute(V,"active"),r.setAttribute("data-styled-version","5.3.5");var a=ae();return a&&r.setAttribute("nonce",a),n.insertBefore(r,i),r},le=function(){function e(e){var t=this.element=ue(e);t.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,r=t.length;n<r;n++){var o=t[n];if(o.ownerNode===e)return o}K(17)}(t),this.length=0}var t=e.prototype;return t.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},t.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},t.getRule=function(e){var t=this.sheet.cssRules[e];return void 0!==t&&"string"==typeof t.cssText?t.cssText:""},e}(),ce=function(){function e(e){var t=this.element=ue(e);this.nodes=t.childNodes,this.length=0}var t=e.prototype;return t.insertRule=function(e,t){if(e<=this.length&&e>=0){var n=document.createTextNode(t),r=this.nodes[e];return this.element.insertBefore(n,r||null),this.length++,!0}return!1},t.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},t.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),se=function(){function e(e){this.rules=[],this.length=0}var t=e.prototype;return t.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},t.deleteRule=function(e){this.rules.splice(e,1),this.length--},t.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),fe=$,de={isServer:!$,useCSSOMInjection:!q},pe=function(){function e(e,t,n){void 0===e&&(e=U),void 0===t&&(t={}),this.options=j({},de,{},e),this.gs=t,this.names=new Map(n),this.server=!!e.isServer,!this.server&&$&&fe&&(fe=!1,function(e){for(var t=document.querySelectorAll(ne),n=0,r=t.length;n<r;n++){var o=t[n];o&&"active"!==o.getAttribute(V)&&(ie(e,o),o.parentNode&&o.parentNode.removeChild(o))}}(this))}e.registerId=function(e){return J(e)};var t=e.prototype;return t.reconstructWithOptions=function(t,n){return void 0===n&&(n=!0),new e(j({},this.options,{},t),this.gs,n&&this.names||void 0)},t.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},t.getTag=function(){return this.tag||(this.tag=(n=(t=this.options).isServer,r=t.useCSSOMInjection,o=t.target,e=n?new se(o):r?new le(o):new ce(o),new Y(e)));var e,t,n,r,o},t.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},t.registerName=function(e,t){if(J(e),this.names.has(e))this.names.get(e).add(t);else{var n=new Set;n.add(t),this.names.set(e,n)}},t.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(J(e),n)},t.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},t.clearRules=function(e){this.getTag().clearGroup(J(e)),this.clearNames(e)},t.clearTag=function(){this.tag=void 0},t.toString=function(){return function(e){for(var t=e.getTag(),n=t.length,r="",o=0;o<n;o++){var i=ee(o);if(void 0!==i){var a=e.names.get(i),u=t.getGroup(o);if(a&&u&&a.size){var l=V+".g"+o+'[id="'+i+'"]',c="";void 0!==a&&a.forEach((function(e){e.length>0&&(c+=e+",")})),r+=""+u+l+'{content:"'+c+'"}/*!sc*/\n'}}}return r}(this)},e}(),he=/(a)(d)/gi,ve=function(e){return String.fromCharCode(e+(e>25?39:97))};function ge(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=ve(t%52)+n;return(ve(t%52)+n).replace(he,"$1-$2")}var me=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},ye=function(e){return me(5381,e)};function be(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(W(n)&&!G(n))return!1}return!0}var we=ye("5.3.5"),xe=function(){function e(e,t,n){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===n||n.isStatic)&&be(e),this.componentId=t,this.baseHash=me(we,t),this.baseStyle=n,pe.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,n){var r=this.componentId,o=[];if(this.baseStyle&&o.push(this.baseStyle.generateAndInjectStyles(e,t,n)),this.isStatic&&!n.hash)if(this.staticRulesId&&t.hasNameForId(r,this.staticRulesId))o.push(this.staticRulesId);else{var i=Be(this.rules,e,t,n).join(""),a=ge(me(this.baseHash,i)>>>0);if(!t.hasNameForId(r,a)){var u=n(i,"."+a,void 0,r);t.insertRules(r,a,u)}o.push(a),this.staticRulesId=a}else{for(var l=this.rules.length,c=me(this.baseHash,n.hash),s="",f=0;f<l;f++){var d=this.rules[f];if("string"==typeof d)s+=d;else if(d){var p=Be(d,e,t,n),h=Array.isArray(p)?p.join(""):p;c=me(c,h+f),s+=h}}if(s){var v=ge(c>>>0);if(!t.hasNameForId(r,v)){var g=n(s,"."+v,void 0,r);t.insertRules(r,v,g)}o.push(v)}}return o.join(" ")},e}(),Ee=/^\s*\/\/.*$/gm,ke=[":","[",".","#"];function Se(e){var t,n,r,o,i=void 0===e?U:e,a=i.options,u=void 0===a?U:a,l=i.plugins,c=void 0===l?z:l,s=new R(u),f=[],d=function(e){function t(t){if(t)try{e(t+"}")}catch(e){}}return function(n,r,o,i,a,u,l,c,s,f){switch(n){case 1:if(0===s&&64===r.charCodeAt(0))return e(r+";"),"";break;case 2:if(0===c)return r+"/*|*/";break;case 3:switch(c){case 102:case 112:return e(o[0]+r),"";default:return r+(0===f?"/*|*/":"")}case-2:r.split("/*|*/}").forEach(t)}}}((function(e){f.push(e)})),p=function(e,r,i){return 0===r&&-1!==ke.indexOf(i[n.length])||i.match(o)?e:"."+t};function h(e,i,a,u){void 0===u&&(u="&");var l=e.replace(Ee,""),c=i&&a?a+" "+i+" { "+l+" }":l;return t=u,n=i,r=new RegExp("\\"+n+"\\b","g"),o=new RegExp("(\\"+n+"\\b){2,}"),s(a||!i?"":i,c)}return s.use([].concat(c,[function(e,t,o){2===e&&o.length&&o[0].lastIndexOf(n)>0&&(o[0]=o[0].replace(r,p))},d,function(e){if(-2===e){var t=f;return f=[],t}}])),h.hash=c.length?c.reduce((function(e,t){return t.name||K(15),me(e,t.name)}),5381).toString():"",h}var _e=u.createContext(),Ce=(_e.Consumer,u.createContext()),Oe=(Ce.Consumer,new pe),Ie=Se();function Ne(){return(0,u.useContext)(_e)||Oe}function De(){return(0,u.useContext)(Ce)||Ie}function Te(e){var t=(0,u.useState)(e.stylisPlugins),n=t[0],r=t[1],o=Ne(),i=(0,u.useMemo)((function(){var t=o;return e.sheet?t=e.sheet:e.target&&(t=t.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(t=t.reconstructWithOptions({useCSSOMInjection:!1})),t}),[e.disableCSSOMInjection,e.sheet,e.target]),a=(0,u.useMemo)((function(){return Se({options:{prefix:!e.disableVendorPrefixes},plugins:n})}),[e.disableVendorPrefixes,n]);return(0,u.useEffect)((function(){T()(n,e.stylisPlugins)||r(e.stylisPlugins)}),[e.stylisPlugins]),u.createElement(_e.Provider,{value:i},u.createElement(Ce.Provider,{value:a},e.children))}var Re=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=Ie);var r=n.name+t.hash;e.hasNameForId(n.id,r)||e.insertRules(n.id,r,t(n.rules,r,"@keyframes"))},this.toString=function(){return K(12,String(n.name))},this.name=e,this.id="sc-keyframes-"+e,this.rules=t}return e.prototype.getName=function(e){return void 0===e&&(e=Ie),this.name+e.hash},e}(),Ae=/([A-Z])/,Pe=/([A-Z])/g,Le=/^ms-/,Me=function(e){return"-"+e.toLowerCase()};function je(e){return Ae.test(e)?e.replace(Pe,Me).replace(Le,"-ms-"):e}var Fe=function(e){return null==e||!1===e||""===e};function Be(e,t,n,r){if(Array.isArray(e)){for(var o,i=[],a=0,u=e.length;a<u;a+=1)""!==(o=Be(e[a],t,n,r))&&(Array.isArray(o)?i.push.apply(i,o):i.push(o));return i}return Fe(e)?"":G(e)?"."+e.styledComponentId:W(e)?"function"!=typeof(l=e)||l.prototype&&l.prototype.isReactComponent||!t?e:Be(e(t),t,n,r):e instanceof Re?n?(e.inject(n,r),e.getName(r)):e:B(e)?function e(t,n){var r,o,i=[];for(var a in t)t.hasOwnProperty(a)&&!Fe(t[a])&&(Array.isArray(t[a])&&t[a].isCss||W(t[a])?i.push(je(a)+":",t[a],";"):B(t[a])?i.push.apply(i,e(t[a],a)):i.push(je(a)+": "+(r=a,(null==(o=t[a])||"boolean"==typeof o||""===o?"":"number"!=typeof o||0===o||r in A?String(o).trim():o+"px")+";")));return n?[n+" {"].concat(i,["}"]):i}(e):e.toString();var l}var ze=function(e){return Array.isArray(e)&&(e.isCss=!0),e};function Ue(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return W(e)||B(e)?ze(Be(F(z,[e].concat(n)))):0===n.length&&1===e.length&&"string"==typeof e[0]?e:ze(Be(F(e,n)))}new Set;var We=function(e,t,n){return void 0===n&&(n=U),e.theme!==n.theme&&e.theme||t||n.theme},He=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,Ge=/(^-|-$)/g;function Ve(e){return e.replace(He,"-").replace(Ge,"")}var $e=function(e){return ge(ye(e)>>>0)};function qe(e){return"string"==typeof e&&!0}var Ke=function(e){return"function"==typeof e||"object"==typeof e&&null!==e&&!Array.isArray(e)},Ye=function(e){return"__proto__"!==e&&"constructor"!==e&&"prototype"!==e};function Ze(e,t,n){var r=e[n];Ke(t)&&Ke(r)?Xe(r,t):e[n]=t}function Xe(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];for(var o=0,i=n;o<i.length;o++){var a=i[o];if(Ke(a))for(var u in a)Ye(u)&&Ze(e,a[u],u)}return e}var Qe=u.createContext();Qe.Consumer;var Je={};function et(e,t,n){var r=G(e),o=!qe(e),i=t.attrs,a=void 0===i?z:i,l=t.componentId,c=void 0===l?function(e,t){var n="string"!=typeof e?"sc":Ve(e);Je[n]=(Je[n]||0)+1;var r=n+"-"+$e("5.3.5"+n+Je[n]);return t?t+"-"+r:r}(t.displayName,t.parentComponentId):l,s=t.displayName,f=void 0===s?function(e){return qe(e)?"styled."+e:"Styled("+H(e)+")"}(e):s,d=t.displayName&&t.componentId?Ve(t.displayName)+"-"+t.componentId:t.componentId||c,p=r&&e.attrs?Array.prototype.concat(e.attrs,a).filter(Boolean):a,h=t.shouldForwardProp;r&&e.shouldForwardProp&&(h=t.shouldForwardProp?function(n,r,o){return e.shouldForwardProp(n,r,o)&&t.shouldForwardProp(n,r,o)}:e.shouldForwardProp);var v,g=new xe(n,d,r?e.componentStyle:void 0),m=g.isStatic&&0===a.length,b=function(e,t){return function(e,t,n,r){var o=e.attrs,i=e.componentStyle,a=e.defaultProps,l=e.foldedComponentIds,c=e.shouldForwardProp,s=e.styledComponentId,f=e.target,d=function(e,t,n){void 0===e&&(e=U);var r=j({},t,{theme:e}),o={};return n.forEach((function(e){var t,n,i,a=e;for(t in W(a)&&(a=a(r)),a)r[t]=o[t]="className"===t?(n=o[t],i=a[t],n&&i?n+" "+i:n||i):a[t]})),[r,o]}(We(t,(0,u.useContext)(Qe),a)||U,t,o),p=d[0],h=d[1],v=function(e,t,n,r){var o=Ne(),i=De();return t?e.generateAndInjectStyles(U,o,i):e.generateAndInjectStyles(n,o,i)}(i,r,p),g=n,m=h.$as||t.$as||h.as||t.as||f,y=qe(m),b=h!==t?j({},t,{},h):t,w={};for(var x in b)"$"!==x[0]&&"as"!==x&&("forwardedAs"===x?w.as=b[x]:(c?c(x,M,m):!y||M(x))&&(w[x]=b[x]));return t.style&&h.style!==t.style&&(w.style=j({},t.style,{},h.style)),w.className=Array.prototype.concat(l,s,v!==s?v:null,t.className,h.className).filter(Boolean).join(" "),w.ref=g,(0,u.createElement)(m,w)}(v,e,t,m)};return b.displayName=f,(v=u.forwardRef(b)).attrs=p,v.componentStyle=g,v.displayName=f,v.shouldForwardProp=h,v.foldedComponentIds=r?Array.prototype.concat(e.foldedComponentIds,e.styledComponentId):z,v.styledComponentId=d,v.target=r?e.target:e,v.withComponent=function(e){var r=t.componentId,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(t,["componentId"]),i=r&&r+"-"+(qe(e)?e:Ve(H(e)));return et(e,j({},o,{attrs:p,componentId:i}),n)},Object.defineProperty(v,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(t){this._foldedDefaultProps=r?Xe({},e.defaultProps,t):t}}),v.toString=function(){return"."+v.styledComponentId},o&&y()(v,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),v}var tt=function(e){return function e(t,n,r){if(void 0===r&&(r=U),!(0,b.isValidElementType)(n))return K(1,String(n));var o=function(){return t(n,r,Ue.apply(void 0,arguments))};return o.withConfig=function(o){return e(t,n,j({},r,{},o))},o.attrs=function(o){return e(t,n,j({},r,{attrs:Array.prototype.concat(r.attrs,o).filter(Boolean)}))},o}(et,e)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","textPath","tspan"].forEach((function(e){tt[e]=tt(e)}));!function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=be(e),pe.registerId(this.componentId+1)}var t=e.prototype;t.createStyles=function(e,t,n,r){var o=r(Be(this.rules,t,n,r).join(""),""),i=this.componentId+e;n.insertRules(i,i,o)},t.removeStyles=function(e,t){t.clearRules(this.componentId+e)},t.renderStyles=function(e,t,n,r){e>2&&pe.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,r)}}();!function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString();if(!t)return"";var n=ae();return"<style "+[n&&'nonce="'+n+'"',V+'="true"','data-styled-version="5.3.5"'].filter(Boolean).join(" ")+">"+t+"</style>"},this.getStyleTags=function(){return e.sealed?K(2):e._emitSheetCSS()},this.getStyleElement=function(){var t;if(e.sealed)return K(2);var n=((t={})[V]="",t["data-styled-version"]="5.3.5",t.dangerouslySetInnerHTML={__html:e.instance.toString()},t),r=ae();return r&&(n.nonce=r),[u.createElement("style",j({},n,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new pe({isServer:!0}),this.sealed=!1}var t=e.prototype;t.collectStyles=function(e){return this.sealed?K(2):u.createElement(Te,{sheet:this.instance},e)},t.interleaveWithNodeStream=function(e){return K(3)}}();var nt=tt;function rt(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function ot(e,t){if(e){if("string"===typeof e)return rt(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)?rt(e,t):void 0}}function it(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,u=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(l){u=!0,o=l}finally{try{a||null==n.return||n.return()}finally{if(u)throw o}}return i}}(e,t)||ot(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var at,ut=[],lt="ResizeObserver loop completed with undelivered notifications.";!function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"}(at||(at={}));var ct,st,ft=function(e){return Object.freeze(e)},dt=function(e,t){this.inlineSize=e,this.blockSize=t,ft(this)},pt=function(){function e(e,t,n,r){return this.x=e,this.y=t,this.width=n,this.height=r,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,ft(this)}return e.prototype.toJSON=function(){var e=this;return{x:e.x,y:e.y,top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.width,height:e.height}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}(),ht=function(e){return e instanceof SVGElement&&"getBBox"in e},vt=function(e){if(ht(e)){var t=e.getBBox(),n=t.width,r=t.height;return!n&&!r}var o=e,i=o.offsetWidth,a=o.offsetHeight;return!(i||a||e.getClientRects().length)},gt=function(e){var t;if(e instanceof Element)return!0;var n=null===(t=null===e||void 0===e?void 0:e.ownerDocument)||void 0===t?void 0:t.defaultView;return!!(n&&e instanceof n.Element)},mt="undefined"!==typeof window?window:{},yt=new WeakMap,bt=/auto|scroll/,wt=/^tb|vertical/,xt=/msie|trident/i.test(mt.navigator&&mt.navigator.userAgent),Et=function(e){return parseFloat(e||"0")},kt=function(e,t,n){return void 0===e&&(e=0),void 0===t&&(t=0),void 0===n&&(n=!1),new dt((n?t:e)||0,(n?e:t)||0)},St=ft({devicePixelContentBoxSize:kt(),borderBoxSize:kt(),contentBoxSize:kt(),contentRect:new pt(0,0,0,0)}),_t=function(e,t){if(void 0===t&&(t=!1),yt.has(e)&&!t)return yt.get(e);if(vt(e))return yt.set(e,St),St;var n=getComputedStyle(e),r=ht(e)&&e.ownerSVGElement&&e.getBBox(),o=!xt&&"border-box"===n.boxSizing,i=wt.test(n.writingMode||""),a=!r&&bt.test(n.overflowY||""),u=!r&&bt.test(n.overflowX||""),l=r?0:Et(n.paddingTop),c=r?0:Et(n.paddingRight),s=r?0:Et(n.paddingBottom),f=r?0:Et(n.paddingLeft),d=r?0:Et(n.borderTopWidth),p=r?0:Et(n.borderRightWidth),h=r?0:Et(n.borderBottomWidth),v=f+c,g=l+s,m=(r?0:Et(n.borderLeftWidth))+p,y=d+h,b=u?e.offsetHeight-y-e.clientHeight:0,w=a?e.offsetWidth-m-e.clientWidth:0,x=o?v+m:0,E=o?g+y:0,k=r?r.width:Et(n.width)-x-w,S=r?r.height:Et(n.height)-E-b,_=k+v+w+m,C=S+g+b+y,O=ft({devicePixelContentBoxSize:kt(Math.round(k*devicePixelRatio),Math.round(S*devicePixelRatio),i),borderBoxSize:kt(_,C,i),contentBoxSize:kt(k,S,i),contentRect:new pt(f,l,k,S)});return yt.set(e,O),O},Ct=function(e,t,n){var r=_t(e,n),o=r.borderBoxSize,i=r.contentBoxSize,a=r.devicePixelContentBoxSize;switch(t){case at.DEVICE_PIXEL_CONTENT_BOX:return a;case at.BORDER_BOX:return o;default:return i}},Ot=function(e){var t=_t(e);this.target=e,this.contentRect=t.contentRect,this.borderBoxSize=ft([t.borderBoxSize]),this.contentBoxSize=ft([t.contentBoxSize]),this.devicePixelContentBoxSize=ft([t.devicePixelContentBoxSize])},It=function(e){if(vt(e))return 1/0;for(var t=0,n=e.parentNode;n;)t+=1,n=n.parentNode;return t},Nt=function(){var e=1/0,t=[];ut.forEach((function(n){if(0!==n.activeTargets.length){var r=[];n.activeTargets.forEach((function(t){var n=new Ot(t.target),o=It(t.target);r.push(n),t.lastReportedSize=Ct(t.target,t.observedBox),o<e&&(e=o)})),t.push((function(){n.callback.call(n.observer,r,n.observer)})),n.activeTargets.splice(0,n.activeTargets.length)}}));for(var n=0,r=t;n<r.length;n++){(0,r[n])()}return e},Dt=function(e){ut.forEach((function(t){t.activeTargets.splice(0,t.activeTargets.length),t.skippedTargets.splice(0,t.skippedTargets.length),t.observationTargets.forEach((function(n){n.isActive()&&(It(n.target)>e?t.activeTargets.push(n):t.skippedTargets.push(n))}))}))},Tt=function(){var e=0;for(Dt(e);ut.some((function(e){return e.activeTargets.length>0}));)e=Nt(),Dt(e);return ut.some((function(e){return e.skippedTargets.length>0}))&&function(){var e;"function"===typeof ErrorEvent?e=new ErrorEvent("error",{message:lt}):((e=document.createEvent("Event")).initEvent("error",!1,!1),e.message=lt),window.dispatchEvent(e)}(),e>0},Rt=[],At=function(e){if(!ct){var t=0,n=document.createTextNode("");new MutationObserver((function(){return Rt.splice(0).forEach((function(e){return e()}))})).observe(n,{characterData:!0}),ct=function(){n.textContent="".concat(t?t--:t++)}}Rt.push(e),ct()},Pt=0,Lt={attributes:!0,characterData:!0,childList:!0,subtree:!0},Mt=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],jt=function(e){return void 0===e&&(e=0),Date.now()+e},Ft=!1,Bt=new(function(){function e(){var e=this;this.stopped=!0,this.listener=function(){return e.schedule()}}return e.prototype.run=function(e){var t=this;if(void 0===e&&(e=250),!Ft){Ft=!0;var n,r=jt(e);n=function(){var n=!1;try{n=Tt()}finally{if(Ft=!1,e=r-jt(),!Pt)return;n?t.run(1e3):e>0?t.run(e):t.start()}},At((function(){requestAnimationFrame(n)}))}},e.prototype.schedule=function(){this.stop(),this.run()},e.prototype.observe=function(){var e=this,t=function(){return e.observer&&e.observer.observe(document.body,Lt)};document.body?t():mt.addEventListener("DOMContentLoaded",t)},e.prototype.start=function(){var e=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),Mt.forEach((function(t){return mt.addEventListener(t,e.listener,!0)})))},e.prototype.stop=function(){var e=this;this.stopped||(this.observer&&this.observer.disconnect(),Mt.forEach((function(t){return mt.removeEventListener(t,e.listener,!0)})),this.stopped=!0)},e}()),zt=function(e){!Pt&&e>0&&Bt.start(),!(Pt+=e)&&Bt.stop()},Ut=function(){function e(e,t){this.target=e,this.observedBox=t||at.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var e,t=Ct(this.target,this.observedBox,!0);return e=this.target,ht(e)||function(e){switch(e.tagName){case"INPUT":if("image"!==e.type)break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1}(e)||"inline"!==getComputedStyle(e).display||(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},e}(),Wt=function(e,t){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=e,this.callback=t},Ht=new WeakMap,Gt=function(e,t){for(var n=0;n<e.length;n+=1)if(e[n].target===t)return n;return-1},Vt=function(){function e(){}return e.connect=function(e,t){var n=new Wt(e,t);Ht.set(e,n)},e.observe=function(e,t,n){var r=Ht.get(e),o=0===r.observationTargets.length;Gt(r.observationTargets,t)<0&&(o&&ut.push(r),r.observationTargets.push(new Ut(t,n&&n.box)),zt(1),Bt.schedule())},e.unobserve=function(e,t){var n=Ht.get(e),r=Gt(n.observationTargets,t),o=1===n.observationTargets.length;r>=0&&(o&&ut.splice(ut.indexOf(n),1),n.observationTargets.splice(r,1),zt(-1))},e.disconnect=function(e){var t=this,n=Ht.get(e);n.observationTargets.slice().forEach((function(n){return t.unobserve(e,n.target)})),n.activeTargets.splice(0,n.activeTargets.length)},e}(),$t=function(){function e(e){if(0===arguments.length)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if("function"!==typeof e)throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");Vt.connect(this,e)}return e.prototype.observe=function(e,t){if(0===arguments.length)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!gt(e))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");Vt.observe(this,e,t)},e.prototype.unobserve=function(e){if(0===arguments.length)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!gt(e))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");Vt.unobserve(this,e)},e.prototype.disconnect=function(){Vt.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}(),qt=u["undefined"!==typeof document&&void 0!==document.createElement?"useLayoutEffect":"useEffect"],Kt=function(e){var t=u.useRef(e);return u.useEffect((function(){t.current=e})),t},Yt="undefined"!==typeof window&&"ResizeObserver"in window?window.ResizeObserver:$t;function Zt(){}var Xt=function(){return st||(st=function(){var e=!1,t=[],n=new Map,r=new Yt((function(r,o){t=t.concat(r),e||window.requestAnimationFrame((function(){for(var r=new Set,i=function(e){if(r.has(t[e].target))return"continue";r.add(t[e].target);var i=n.get(t[e].target);null===i||void 0===i||i.forEach((function(n){return n(t[e],o)}))},a=0;a<t.length;a++)i(a);t=[],e=!1})),e=!0}));return{observer:r,subscribe:function(e,t){var o;r.observe(e);var i=null!==(o=n.get(e))&&void 0!==o?o:[];i.push(t),n.set(e,i)},unsubscribe:function(e,t){var o,i=null!==(o=n.get(e))&&void 0!==o?o:[];if(1===i.length)return r.unobserve(e),void n.delete(e);var a=i.indexOf(t);-1!==a&&i.splice(a,1),n.set(e,i)}}}())},Qt=function(e,t){var n=Xt(),r=Kt(t);return qt((function(){var t=!1,o=e&&"current"in e?e.current:e;if(!o)return Zt;function i(e,n){t||r.current(e,n)}return n.subscribe(o,i),function(){t=!0,n.unsubscribe(o,i)}}),[e,n,r]),n.observer},Jt=function(){return _()},en=N,tn=function(e,t){var n=it((0,u.useState)(),2),r=n[0],o=n[1];Qt(e,(function(e){var n,i,a=e.contentRect,u=e.target;n=r,i=a,JSON.stringify(n)!==JSON.stringify(i)&&(o(a),t(u))}))},nn=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500,n=(0,u.useRef)();clearTimeout(n.current),n.current=setTimeout((function(){e()}),t)};function rn(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+e+(n.length?" "+n.map((function(e){return"'"+e+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function on(e){return!!e&&!!e[Kn]}function an(e){return!!e&&(function(e){if(!e||"object"!=typeof e)return!1;var t=Object.getPrototypeOf(e);if(null===t)return!0;var n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return n===Object||"function"==typeof n&&Function.toString.call(n)===Yn}(e)||Array.isArray(e)||!!e[qn]||!!e.constructor[qn]||pn(e)||hn(e))}function un(e,t,n){void 0===n&&(n=!1),0===ln(e)?(n?Object.keys:Zn)(e).forEach((function(r){n&&"symbol"==typeof r||t(r,e[r],e)})):e.forEach((function(n,r){return t(r,n,e)}))}function ln(e){var t=e[Kn];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:pn(e)?2:hn(e)?3:0}function cn(e,t){return 2===ln(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function sn(e,t){return 2===ln(e)?e.get(t):e[t]}function fn(e,t,n){var r=ln(e);2===r?e.set(t,n):3===r?(e.delete(t),e.add(n)):e[t]=n}function dn(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function pn(e){return Hn&&e instanceof Map}function hn(e){return Gn&&e instanceof Set}function vn(e){return e.o||e.t}function gn(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=Xn(e);delete t[Kn];for(var n=Zn(t),r=0;r<n.length;r++){var o=n[r],i=t[o];!1===i.writable&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(t[o]={configurable:!0,writable:!0,enumerable:i.enumerable,value:e[o]})}return Object.create(Object.getPrototypeOf(e),t)}function mn(e,t){return void 0===t&&(t=!1),bn(e)||on(e)||!an(e)||(ln(e)>1&&(e.set=e.add=e.clear=e.delete=yn),Object.freeze(e),t&&un(e,(function(e,t){return mn(t,!0)}),!0)),e}function yn(){rn(2)}function bn(e){return null==e||"object"!=typeof e||Object.isFrozen(e)}function wn(e){var t=Qn[e];return t||rn(18,e),t}function xn(e,t){Qn[e]||(Qn[e]=t)}function En(){return Un}function kn(e,t){t&&(wn("Patches"),e.u=[],e.s=[],e.v=t)}function Sn(e){_n(e),e.p.forEach(On),e.p=null}function _n(e){e===Un&&(Un=e.l)}function Cn(e){return Un={p:[],l:Un,h:e,m:!0,_:0}}function On(e){var t=e[Kn];0===t.i||1===t.i?t.j():t.O=!0}function In(e,t){t._=t.p.length;var n=t.p[0],r=void 0!==e&&e!==n;return t.h.g||wn("ES5").S(t,e,r),r?(n[Kn].P&&(Sn(t),rn(4)),an(e)&&(e=Nn(t,e),t.l||Tn(t,e)),t.u&&wn("Patches").M(n[Kn].t,e,t.u,t.s)):e=Nn(t,n,[]),Sn(t),t.u&&t.v(t.u,t.s),e!==$n?e:void 0}function Nn(e,t,n){if(bn(t))return t;var r=t[Kn];if(!r)return un(t,(function(o,i){return Dn(e,r,t,o,i,n)}),!0),t;if(r.A!==e)return t;if(!r.P)return Tn(e,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var o=4===r.i||5===r.i?r.o=gn(r.k):r.o;un(3===r.i?new Set(o):o,(function(t,i){return Dn(e,r,o,t,i,n)})),Tn(e,o,!1),n&&e.u&&wn("Patches").R(r,n,e.u,e.s)}return r.o}function Dn(e,t,n,r,o,i){if(on(o)){var a=Nn(e,o,i&&t&&3!==t.i&&!cn(t.D,r)?i.concat(r):void 0);if(fn(n,r,a),!on(a))return;e.m=!1}if(an(o)&&!bn(o)){if(!e.h.F&&e._<1)return;Nn(e,o),t&&t.A.l||Tn(e,o)}}function Tn(e,t,n){void 0===n&&(n=!1),e.h.F&&e.m&&mn(t,n)}function Rn(e,t){var n=e[Kn];return(n?vn(n):e)[t]}function An(e,t){if(t in e)for(var n=Object.getPrototypeOf(e);n;){var r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=Object.getPrototypeOf(n)}}function Pn(e){e.P||(e.P=!0,e.l&&Pn(e.l))}function Ln(e){e.o||(e.o=gn(e.t))}function Mn(e,t,n){var r=pn(t)?wn("MapSet").N(t,n):hn(t)?wn("MapSet").T(t,n):e.g?function(e,t){var n=Array.isArray(e),r={i:n?1:0,A:t?t.A:En(),P:!1,I:!1,D:{},l:t,t:e,k:null,o:null,j:null,C:!1},o=r,i=Jn;n&&(o=[r],i=er);var a=Proxy.revocable(o,i),u=a.revoke,l=a.proxy;return r.k=l,r.j=u,l}(t,n):wn("ES5").J(t,n);return(n?n.A:En()).p.push(r),r}function jn(e){return on(e)||rn(22,e),function e(t){if(!an(t))return t;var n,r=t[Kn],o=ln(t);if(r){if(!r.P&&(r.i<4||!wn("ES5").K(r)))return r.t;r.I=!0,n=Fn(t,o),r.I=!1}else n=Fn(t,o);return un(n,(function(t,o){r&&sn(r.t,t)===o||fn(n,t,e(o))})),3===o?new Set(n):n}(e)}function Fn(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return gn(e)}function Bn(){function e(e,t){var n=o[e];return n?n.enumerable=t:o[e]=n={configurable:!0,enumerable:t,get:function(){var t=this[Kn];return Jn.get(t,e)},set:function(t){var n=this[Kn];Jn.set(n,e,t)}},n}function t(e){for(var t=e.length-1;t>=0;t--){var o=e[t][Kn];if(!o.P)switch(o.i){case 5:r(o)&&Pn(o);break;case 4:n(o)&&Pn(o)}}}function n(e){for(var t=e.t,n=e.k,r=Zn(n),o=r.length-1;o>=0;o--){var i=r[o];if(i!==Kn){var a=t[i];if(void 0===a&&!cn(t,i))return!0;var u=n[i],l=u&&u[Kn];if(l?l.t!==a:!dn(u,a))return!0}}var c=!!t[Kn];return r.length!==Zn(t).length+(c?0:1)}function r(e){var t=e.k;if(t.length!==e.t.length)return!0;var n=Object.getOwnPropertyDescriptor(t,t.length-1);if(n&&!n.get)return!0;for(var r=0;r<t.length;r++)if(!t.hasOwnProperty(r))return!0;return!1}var o={};xn("ES5",{J:function(t,n){var r=Array.isArray(t),o=function(t,n){if(t){for(var r=Array(n.length),o=0;o<n.length;o++)Object.defineProperty(r,""+o,e(o,!0));return r}var i=Xn(n);delete i[Kn];for(var a=Zn(i),u=0;u<a.length;u++){var l=a[u];i[l]=e(l,t||!!i[l].enumerable)}return Object.create(Object.getPrototypeOf(n),i)}(r,t),i={i:r?5:4,A:n?n.A:En(),P:!1,I:!1,D:{},l:n,t:t,k:o,o:null,O:!1,C:!1};return Object.defineProperty(o,Kn,{value:i,writable:!0}),o},S:function(e,n,o){o?on(n)&&n[Kn].A===e&&t(e.p):(e.u&&function e(t){if(t&&"object"==typeof t){var n=t[Kn];if(n){var o=n.t,i=n.k,a=n.D,u=n.i;if(4===u)un(i,(function(t){t!==Kn&&(void 0!==o[t]||cn(o,t)?a[t]||e(i[t]):(a[t]=!0,Pn(n)))})),un(o,(function(e){void 0!==i[e]||cn(i,e)||(a[e]=!1,Pn(n))}));else if(5===u){if(r(n)&&(Pn(n),a.length=!0),i.length<o.length)for(var l=i.length;l<o.length;l++)a[l]=!1;else for(var c=o.length;c<i.length;c++)a[c]=!0;for(var s=Math.min(i.length,o.length),f=0;f<s;f++)i.hasOwnProperty(f)||(a[f]=!0),void 0===a[f]&&e(i[f])}}}}(e.p[0]),t(e.p))},K:function(e){return 4===e.i?n(e):r(e)}})}var zn,Un,Wn="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),Hn="undefined"!=typeof Map,Gn="undefined"!=typeof Set,Vn="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,$n=Wn?Symbol.for("immer-nothing"):((zn={})["immer-nothing"]=!0,zn),qn=Wn?Symbol.for("immer-draftable"):"__$immer_draftable",Kn=Wn?Symbol.for("immer-state"):"__$immer_state",Yn=("undefined"!=typeof Symbol&&Symbol.iterator,""+Object.prototype.constructor),Zn="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,Xn=Object.getOwnPropertyDescriptors||function(e){var t={};return Zn(e).forEach((function(n){t[n]=Object.getOwnPropertyDescriptor(e,n)})),t},Qn={},Jn={get:function(e,t){if(t===Kn)return e;var n=vn(e);if(!cn(n,t))return function(e,t,n){var r,o=An(t,n);return o?"value"in o?o.value:null===(r=o.get)||void 0===r?void 0:r.call(e.k):void 0}(e,n,t);var r=n[t];return e.I||!an(r)?r:r===Rn(e.t,t)?(Ln(e),e.o[t]=Mn(e.A.h,r,e)):r},has:function(e,t){return t in vn(e)},ownKeys:function(e){return Reflect.ownKeys(vn(e))},set:function(e,t,n){var r=An(vn(e),t);if(null==r?void 0:r.set)return r.set.call(e.k,n),!0;if(!e.P){var o=Rn(vn(e),t),i=null==o?void 0:o[Kn];if(i&&i.t===n)return e.o[t]=n,e.D[t]=!1,!0;if(dn(n,o)&&(void 0!==n||cn(e.t,t)))return!0;Ln(e),Pn(e)}return e.o[t]===n&&"number"!=typeof n&&(void 0!==n||t in e.o)||(e.o[t]=n,e.D[t]=!0,!0)},deleteProperty:function(e,t){return void 0!==Rn(e.t,t)||t in e.t?(e.D[t]=!1,Ln(e),Pn(e)):delete e.D[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var n=vn(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r?{writable:!0,configurable:1!==e.i||"length"!==t,enumerable:r.enumerable,value:n[t]}:r},defineProperty:function(){rn(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){rn(12)}},er={};un(Jn,(function(e,t){er[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}})),er.deleteProperty=function(e,t){return er.set.call(this,e,t,void 0)},er.set=function(e,t,n){return Jn.set.call(this,e[0],t,n,e[0])};var tr=function(){function e(e){var t=this;this.g=Vn,this.F=!0,this.produce=function(e,n,r){if("function"==typeof e&&"function"!=typeof n){var o=n;n=e;var i=t;return function(e){var t=this;void 0===e&&(e=o);for(var r=arguments.length,a=Array(r>1?r-1:0),u=1;u<r;u++)a[u-1]=arguments[u];return i.produce(e,(function(e){var r;return(r=n).call.apply(r,[t,e].concat(a))}))}}var a;if("function"!=typeof n&&rn(6),void 0!==r&&"function"!=typeof r&&rn(7),an(e)){var u=Cn(t),l=Mn(t,e,void 0),c=!0;try{a=n(l),c=!1}finally{c?Sn(u):_n(u)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(e){return kn(u,r),In(e,u)}),(function(e){throw Sn(u),e})):(kn(u,r),In(a,u))}if(!e||"object"!=typeof e){if(void 0===(a=n(e))&&(a=e),a===$n&&(a=void 0),t.F&&mn(a,!0),r){var s=[],f=[];wn("Patches").M(e,a,s,f),r(s,f)}return a}rn(21,e)},this.produceWithPatches=function(e,n){if("function"==typeof e)return function(n){for(var r=arguments.length,o=Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return t.produceWithPatches(n,(function(t){return e.apply(void 0,[t].concat(o))}))};var r,o,i=t.produce(e,n,(function(e,t){r=e,o=t}));return"undefined"!=typeof Promise&&i instanceof Promise?i.then((function(e){return[e,r,o]})):[i,r,o]},"boolean"==typeof(null==e?void 0:e.useProxies)&&this.setUseProxies(e.useProxies),"boolean"==typeof(null==e?void 0:e.autoFreeze)&&this.setAutoFreeze(e.autoFreeze)}var t=e.prototype;return t.createDraft=function(e){an(e)||rn(8),on(e)&&(e=jn(e));var t=Cn(this),n=Mn(this,e,void 0);return n[Kn].C=!0,_n(t),n},t.finishDraft=function(e,t){var n=(e&&e[Kn]).A;return kn(n,t),In(void 0,n)},t.setAutoFreeze=function(e){this.F=e},t.setUseProxies=function(e){e&&!Vn&&rn(20),this.g=e},t.applyPatches=function(e,t){var n;for(n=t.length-1;n>=0;n--){var r=t[n];if(0===r.path.length&&"replace"===r.op){e=r.value;break}}n>-1&&(t=t.slice(n+1));var o=wn("Patches").$;return on(e)?o(e,t):this.produce(e,(function(e){return o(e,t)}))},e}(),nr=new tr,rr=nr.produce,or=(nr.produceWithPatches.bind(nr),nr.setAutoFreeze.bind(nr),nr.setUseProxies.bind(nr),nr.applyPatches.bind(nr),nr.createDraft.bind(nr),nr.finishDraft.bind(nr),rr);function ir(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ar(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ur(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ar(Object(n),!0).forEach((function(t){ir(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ar(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function lr(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var cr="function"===typeof Symbol&&Symbol.observable||"@@observable",sr=function(){return Math.random().toString(36).substring(7).split("").join(".")},fr={INIT:"@@redux/INIT"+sr(),REPLACE:"@@redux/REPLACE"+sr(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+sr()}};function dr(e){if("object"!==typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function pr(e,t,n){var r;if("function"===typeof t&&"function"===typeof n||"function"===typeof n&&"function"===typeof arguments[3])throw new Error(lr(0));if("function"===typeof t&&"undefined"===typeof n&&(n=t,t=void 0),"undefined"!==typeof n){if("function"!==typeof n)throw new Error(lr(1));return n(pr)(e,t)}if("function"!==typeof e)throw new Error(lr(2));var o=e,i=t,a=[],u=a,l=!1;function c(){u===a&&(u=a.slice())}function s(){if(l)throw new Error(lr(3));return i}function f(e){if("function"!==typeof e)throw new Error(lr(4));if(l)throw new Error(lr(5));var t=!0;return c(),u.push(e),function(){if(t){if(l)throw new Error(lr(6));t=!1,c();var n=u.indexOf(e);u.splice(n,1),a=null}}}function d(e){if(!dr(e))throw new Error(lr(7));if("undefined"===typeof e.type)throw new Error(lr(8));if(l)throw new Error(lr(9));try{l=!0,i=o(i,e)}finally{l=!1}for(var t=a=u,n=0;n<t.length;n++){(0,t[n])()}return e}function p(e){if("function"!==typeof e)throw new Error(lr(10));o=e,d({type:fr.REPLACE})}function h(){var e,t=f;return(e={subscribe:function(e){if("object"!==typeof e||null===e)throw new Error(lr(11));function n(){e.next&&e.next(s())}return n(),{unsubscribe:t(n)}}})[cr]=function(){return this},e}return d({type:fr.INIT}),(r={dispatch:d,subscribe:f,getState:s,replaceReducer:p})[cr]=h,r}function hr(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++){var o=t[r];0,"function"===typeof e[o]&&(n[o]=e[o])}var i,a=Object.keys(n);try{!function(e){Object.keys(e).forEach((function(t){var n=e[t];if("undefined"===typeof n(void 0,{type:fr.INIT}))throw new Error(lr(12));if("undefined"===typeof n(void 0,{type:fr.PROBE_UNKNOWN_ACTION()}))throw new Error(lr(13))}))}(n)}catch(u){i=u}return function(e,t){if(void 0===e&&(e={}),i)throw i;for(var r=!1,o={},u=0;u<a.length;u++){var l=a[u],c=n[l],s=e[l],f=c(s,t);if("undefined"===typeof f){t&&t.type;throw new Error(lr(14))}o[l]=f,r=r||f!==s}return(r=r||a.length!==Object.keys(e).length)?o:e}}function vr(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}function gr(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return function(){var n=e.apply(void 0,arguments),r=function(){throw new Error(lr(15))},o={getState:n.getState,dispatch:function(){return r.apply(void 0,arguments)}},i=t.map((function(e){return e(o)}));return r=vr.apply(void 0,i)(n.dispatch),ur(ur({},n),{},{dispatch:r})}}}function mr(e){return function(t){var n=t.dispatch,r=t.getState;return function(t){return function(o){return"function"===typeof o?o(n,r,e):t(o)}}}}var yr=mr();yr.withExtraArgument=mr;var br=yr,wr=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),xr=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"===typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(i){return function(u){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(u){i=[6,u],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,u])}}},Er=function(e,t){for(var n=0,r=t.length,o=e.length;n<r;n++,o++)e[o]=t[n];return e},kr=Object.defineProperty,Sr=(Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols),_r=Object.prototype.hasOwnProperty,Cr=Object.prototype.propertyIsEnumerable,Or=function(e,t,n){return t in e?kr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n},Ir=function(e,t){for(var n in t||(t={}))_r.call(t,n)&&Or(e,n,t[n]);if(Sr)for(var r=0,o=Sr(t);r<o.length;r++){n=o[r];Cr.call(t,n)&&Or(e,n,t[n])}return e},Nr=function(e,t,n){return new Promise((function(r,o){var i=function(e){try{u(n.next(e))}catch(t){o(t)}},a=function(e){try{u(n.throw(e))}catch(t){o(t)}},u=function(e){return e.done?r(e.value):Promise.resolve(e.value).then(i,a)};u((n=n.apply(e,t)).next())}))},Dr="undefined"!==typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"===typeof arguments[0]?vr:vr.apply(null,arguments)};"undefined"!==typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__&&window.__REDUX_DEVTOOLS_EXTENSION__;function Tr(e){if("object"!==typeof e||null===e)return!1;var t=Object.getPrototypeOf(e);if(null===t)return!0;for(var n=t;null!==Object.getPrototypeOf(n);)n=Object.getPrototypeOf(n);return t===n}var Rr=function(e){function t(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var o=e.apply(this,n)||this;return Object.setPrototypeOf(o,t.prototype),o}return wr(t,e),Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.prototype.concat.apply(this,t)},t.prototype.prepend=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return 1===e.length&&Array.isArray(e[0])?new(t.bind.apply(t,Er([void 0],e[0].concat(this)))):new(t.bind.apply(t,Er([void 0],e.concat(this))))},t}(Array);function Ar(){return function(e){return function(e){void 0===e&&(e={});var t=e.thunk,n=void 0===t||t,r=(e.immutableCheck,e.serializableCheck,new Rr);n&&(!function(e){return"boolean"===typeof e}(n)?r.push(br.withExtraArgument(n.extraArgument)):r.push(br));0;return r}(e)}}function Pr(e,t){function n(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];if(t){var o=t.apply(void 0,n);if(!o)throw new Error("prepareAction did not return an object");return Ir(Ir({type:e,payload:o.payload},"meta"in o&&{meta:o.meta}),"error"in o&&{error:o.error})}return{type:e,payload:n[0]}}return n.toString=function(){return""+e},n.type=e,n.match=function(t){return t.type===e},n}function Lr(e){var t,n={},r=[],o={addCase:function(e,t){var r="string"===typeof e?e:e.type;if(r in n)throw new Error("addCase cannot be called with two reducers for the same action type");return n[r]=t,o},addMatcher:function(e,t){return r.push({matcher:e,reducer:t}),o},addDefaultCase:function(e){return t=e,o}};return e(o),[n,r,t]}function Mr(e){var t=e.name;if(!t)throw new Error("`name` is a required option for createSlice");var n,r="function"==typeof e.initialState?e.initialState:or(e.initialState,(function(){})),o=e.reducers||{},i=Object.keys(o),a={},u={},l={};function c(){var t="function"===typeof e.extraReducers?Lr(e.extraReducers):[e.extraReducers],n=t[0],o=void 0===n?{}:n,i=t[1],a=void 0===i?[]:i,l=t[2],c=void 0===l?void 0:l,s=Ir(Ir({},o),u);return function(e,t,n,r){void 0===n&&(n=[]);var o,i="function"===typeof t?Lr(t):[t,n,r],a=i[0],u=i[1],l=i[2];if(function(e){return"function"===typeof e}(e))o=function(){return or(e(),(function(){}))};else{var c=or(e,(function(){}));o=function(){return c}}function s(e,t){void 0===e&&(e=o());var n=Er([a[t.type]],u.filter((function(e){return(0,e.matcher)(t)})).map((function(e){return e.reducer})));return 0===n.filter((function(e){return!!e})).length&&(n=[l]),n.reduce((function(e,n){if(n){var r;if(on(e))return"undefined"===typeof(r=n(e,t))?e:r;if(an(e))return or(e,(function(e){return n(e,t)}));if("undefined"===typeof(r=n(e,t))){if(null===e)return e;throw Error("A case reducer on a non-draftable value must not return undefined")}return r}return e}),e)}return s.getInitialState=o,s}(r,s,a,c)}return i.forEach((function(e){var n,r,i=o[e],c=t+"/"+e;"reducer"in i?(n=i.reducer,r=i.prepare):n=i,a[e]=n,u[c]=n,l[e]=r?Pr(c,r):Pr(c)})),{name:t,reducer:function(e,t){return n||(n=c()),n(e,t)},actions:l,caseReducers:a,getInitialState:function(){return n||(n=c()),n.getInitialState()}}}var jr=function(e){void 0===e&&(e=21);for(var t="",n=e;n--;)t+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return t};var Fr=function(e,t){return function(e){return e&&"function"===typeof e.match}(e)?e.match(t):e(t)};function Br(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(t){return e.some((function(e){return Fr(e,t)}))}}var zr=function(e,t){if("function"!==typeof e)throw new TypeError(t+" is not a function")},Ur=function(){},Wr=function(e,t){return void 0===t&&(t=Ur),e.catch(t),e},Hr=function(e,t){e.addEventListener("abort",t,{once:!0})},Gr=function(e,t){var n=e.signal;n.aborted||("reason"in n||Object.defineProperty(n,"reason",{enumerable:!0,value:t,configurable:!0,writable:!0}),e.abort(t))},Vr="listener-cancelled",$r=function(e){this.code=e,this.name="TaskAbortError",this.message="task cancelled (reason: "+e+")"},qr=function(e){if(e.aborted)throw new $r(e.reason)},Kr=function(e){return Wr(new Promise((function(t,n){var r=function(){return n(new $r(e.reason))};e.aborted?r():Hr(e,r)})))},Yr=function(e){return function(t){return Wr(Promise.race([Kr(e),t]).then((function(t){return qr(e),t})))}},Zr=function(e){var t=Yr(e);return function(e){return t(new Promise((function(t){return setTimeout(t,e)})))}},Xr=Object.assign,Qr={},Jr="listenerMiddleware",eo=function(e){return function(t){zr(t,"taskExecutor");var n,r=new AbortController;n=r,Hr(e,(function(){return Gr(n,e.reason)}));var o,i,a=(o=function(){return Nr(void 0,null,(function(){var n;return xr(this,(function(o){switch(o.label){case 0:return qr(e),qr(r.signal),[4,t({pause:Yr(r.signal),delay:Zr(r.signal),signal:r.signal})];case 1:return n=o.sent(),qr(r.signal),[2,n]}}))}))},i=function(){return Gr(r,"task-completed")},Nr(void 0,null,(function(){var e;return xr(this,(function(t){switch(t.label){case 0:return t.trys.push([0,3,4,5]),[4,Promise.resolve()];case 1:return t.sent(),[4,o()];case 2:return[2,{status:"ok",value:t.sent()}];case 3:return[2,{status:(e=t.sent())instanceof $r?"cancelled":"rejected",error:e}];case 4:return null==i||i(),[7];case 5:return[2]}}))})));return{result:Yr(e)(a),cancel:function(){Gr(r,"task-cancelled")}}}},to=function(e,t){return function(n,r){return Wr(function(n,r){return Nr(void 0,null,(function(){var o,i,a,u;return xr(this,(function(l){switch(l.label){case 0:qr(t),o=function(){},i=new Promise((function(t){o=e({predicate:n,effect:function(e,n){n.unsubscribe(),t([e,n.getState(),n.getOriginalState()])}})})),a=[Kr(t),i],null!=r&&a.push(new Promise((function(e){return setTimeout(e,r,null)}))),l.label=1;case 1:return l.trys.push([1,,3,4]),[4,Promise.race(a)];case 2:return u=l.sent(),qr(t),[2,u];case 3:return o(),[7];case 4:return[2]}}))}))}(n,r))}},no=function(e){var t=e.type,n=e.actionCreator,r=e.matcher,o=e.predicate,i=e.effect;if(t)o=Pr(t).match;else if(n)t=n.type,o=n.match;else if(r)o=r;else if(!o)throw new Error("Creating or removing a listener requires one of the known fields for matching an action");return zr(i,"options.listener"),{predicate:o,type:t,effect:i}},ro=function(e,t,n){try{e(t,n)}catch(r){setTimeout((function(){throw r}),0)}},oo=Pr(Jr+"/add"),io=Pr(Jr+"/removeAll"),ao=Pr(Jr+"/remove"),uo=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];console.error.apply(console,Er([Jr+"/error"],e))},lo=function(e){e.pending.forEach((function(e){Gr(e,Vr)}))};Bn();var co,so=Mr({name:"settings",initialState:{canEdit:!0,isRunningOnMobile:!1,spellCheckerEnabled:!0},reducers:{setCanEdit:function(e,t){e.canEdit=t.payload},setIsRunningOnMobile:function(e,t){e.isRunningOnMobile=t.payload},setSpellCheckerEnabled:function(e,t){e.spellCheckerEnabled=t.payload}}}),fo=so.actions,po=fo.setCanEdit,ho=fo.setIsRunningOnMobile,vo=fo.setSpellCheckerEnabled,go=so.reducer;function mo(e){return function(e){if(Array.isArray(e))return rt(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||ot(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 yo=new Uint8Array(16);function bo(){if(!co&&!(co="undefined"!==typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!==typeof msCrypto&&"function"===typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return co(yo)}var wo=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;for(var xo=function(e){return"string"===typeof e&&wo.test(e)},Eo=[],ko=0;ko<256;++ko)Eo.push((ko+256).toString(16).substr(1));var So=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=(Eo[e[t+0]]+Eo[e[t+1]]+Eo[e[t+2]]+Eo[e[t+3]]+"-"+Eo[e[t+4]]+Eo[e[t+5]]+"-"+Eo[e[t+6]]+Eo[e[t+7]]+"-"+Eo[e[t+8]]+Eo[e[t+9]]+"-"+Eo[e[t+10]]+Eo[e[t+11]]+Eo[e[t+12]]+Eo[e[t+13]]+Eo[e[t+14]]+Eo[e[t+15]]).toLowerCase();if(!xo(n))throw TypeError("Stringified UUID is invalid");return n};var _o=function(e,t,n){var r=(e=e||{}).random||(e.rng||bo)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,t){n=n||0;for(var o=0;o<16;++o)t[n+o]=r[o];return t}return So(r)};function Co(e,t,n){return function(e,t,n){var r=t<0?e.length+t:t;if(r>=0&&r<e.length){var o=n<0?e.length+n:n,i=it(e.splice(t,1),1)[0];e.splice(o,0,i)}}(e=mo(e),t,n),e}function Oo(e,t){if(0===e||0===t)return 0;var n=Math.min(e,t),r=Math.max(e,t);return Number((n/r*100).toFixed(2))}function Io(e){var t=e.filter((function(e){return!e.completed})),n=e.filter((function(e){return e.completed}));return{openTasks:t,completedTasks:n}}function No(e){var t=[];return e.forEach((function(e){t=t.concat(e.tasks)})),t}function Do(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:50;return e.length<=t?e:e.substring(0,t)+"..."}function To(e){if(e){if(/^- \[[x ]\] .*/gim.test(e)){var t=e.split("\n"),n=[];if(t.filter((function(e){return e.replace(/ /g,"").length>0})).map((function(e){return function(e){var t=/^- \[x\] /i,n=e.replace("- [ ] ","").replace(t,"");if(0!==n.length)return{id:_o(),description:n,completed:t.test(e),createdAt:new Date}}(e)})).forEach((function(e){return e&&n.push(e)})),0!==n.length)return{name:"Checklist",tasks:n,sections:Po}}}}function Ro(e){var t=e.value,n=e.defaultValue;return t?0===t.length?n:t:n}var Ao="1.0.0",Po=[{id:"open-tasks",name:"Open"},{id:"completed-tasks",name:"Completed"}],Lo={schemaVersion:Ao,defaultSections:[],groups:[]},Mo=Mr({name:"tasks",initialState:Lo,reducers:{taskAdded:function(e,t){var n=t.payload,r=n.groupName,o=n.task,i=e.groups.find((function(e){return e.name===r}));i&&(delete i.draft,i.tasks.unshift(ur(ur({},o),{},{completed:!1,createdAt:new Date})))},taskModified:function(e,t){var n=t.payload,r=n.groupName,o=n.task,i=e.groups.find((function(e){return e.name===r}));if(i){var a=i.tasks.find((function(e){return e.id===o.id}));a&&(a.description=o.description,a.updatedAt=new Date)}},taskDeleted:function(e,t){var n=t.payload,r=n.id,o=n.groupName,i=e.groups.find((function(e){return e.name===o}));i&&(i.tasks=i.tasks.filter((function(e){return e.id!==r})))},taskToggled:function(e,t){var n=t.payload,r=n.id,o=n.groupName,i=e.groups.find((function(e){return e.name===o}));if(i){var a=i.tasks.find((function(e){return e.id===r}));if(a){a.completed=!a.completed,a.updatedAt=new Date,a.completed?a.completedAt=new Date:delete a.completedAt;var u=i.tasks.filter((function(e){return e.id!==r}));i.tasks=[a].concat(mo(u))}}},openAllCompleted:function(e,t){var n=t.payload.groupName,r=e.groups.find((function(e){return e.name===n}));r&&r.tasks.forEach((function(e){e.completed=!1,delete e.completedAt}))},deleteAllCompleted:function(e,t){var n=t.payload.groupName,r=e.groups.find((function(e){return e.name===n}));r&&(r.tasks=r.tasks.filter((function(e){return!1===e.completed})))},tasksReordered:function(e,t){var n=t.payload,r=n.groupName,o=n.swapTaskIndex,i=n.withTaskIndex;if(n.isSameSection){var a=e.groups.find((function(e){return e.name===r}));a&&(a.tasks=Co(a.tasks,o,i))}},tasksGroupAdded:function(e,t){var n=t.payload.groupName;e.groups.find((function(e){return e.name===n}))||e.groups.push({name:n,tasks:[]})},tasksGroupReordered:function(e,t){var n=t.payload,r=n.swapGroupIndex,o=n.withGroupIndex;e.groups=Co(e.groups,r,o)},tasksGroupDeleted:function(e,t){var n=t.payload.groupName;e.groups=e.groups.filter((function(e){return e.name!==n}))},tasksGroupMerged:function(e,t){var n,r=t.payload,o=r.groupName,i=r.mergeWith;if(o!==i){var a=e.groups.find((function(e){return e.name===o}));if(a){var u=e.groups.find((function(e){return e.name===i}));u&&(a.name=i,a.tasks=[].concat(mo(null!==(n=u.tasks)&&void 0!==n?n:[]),mo(a.tasks)),e.groups=e.groups.filter((function(e){return e!==u})))}}},tasksGroupRenamed:function(e,t){var n=t.payload,r=n.groupName,o=n.newName;if(r!==o){var i=e.groups.find((function(e){return e.name===r}));i&&(i.name=o)}},tasksGroupCollapsed:function(e,t){var n=t.payload,r=n.groupName,o=n.type,i=n.collapsed,a=e.groups.find((function(e){return e.name===r}));if(a)if("group"!==o){a.sections||(a.sections=e.defaultSections.map((function(e){return{id:e.id,name:e.name}})));var u=a.sections.find((function(e){return e.id===o}));u&&(u.collapsed=i)}else a.collapsed=i},tasksGroupDraft:function(e,t){var n=t.payload,r=n.groupName,o=n.draft,i=e.groups.find((function(e){return e.name===r}));i&&(i.draft=o)},tasksGroupLastActive:function(e,t){var n=t.payload.groupName,r=e.groups.find((function(e){return e.name===n}));r&&(r.lastActive=new Date)},tasksLegacyContentMigrated:function(e,t){var n=t.payload;e.legacyContent&&(n.continue?(e.initialized=!0,e.groups.push(e.legacyContent),delete e.lastError):(e.initialized=!1,e.groups=[],e.lastError="The legacy content migration has been canceled by the user. Please reload this note to try again or switch to the Basic Checklist editor."),delete e.legacyContent)},tasksLoaded:function(e,t){var n=t.payload;n||e.initialized||(n="{}");try{var r,o;if(!function(e){try{JSON.parse(e)}catch(t){return!1}return!0}(n)){var i=To(n);if(i)return e.legacyContent=i,void(e.initialized=!1)}var a=JSON.parse(n),u={schemaVersion:null!==(r=null===a||void 0===a?void 0:a.schemaVersion)&&void 0!==r?r:Ao,defaultSections:Ro({value:null===a||void 0===a?void 0:a.defaultSections,defaultValue:Po}),groups:null!==(o=null===a||void 0===a?void 0:a.groups)&&void 0!==o?o:[]};u!==Lo&&(e.schemaVersion=u.schemaVersion,e.groups=u.groups,e.defaultSections=u.defaultSections,e.initialized=!0,delete e.lastError)}catch(l){return e.initialized=!1,void(e.lastError="An error has occurred while parsing the note's content: ".concat(l))}}}}),jo=Mo.actions,Fo=jo.taskAdded,Bo=jo.taskModified,zo=jo.taskToggled,Uo=jo.taskDeleted,Wo=jo.openAllCompleted,Ho=jo.deleteAllCompleted,Go=jo.tasksLoaded,Vo=jo.tasksLegacyContentMigrated,$o=jo.tasksGroupAdded,qo=jo.tasksReordered,Ko=jo.tasksGroupReordered,Yo=jo.tasksGroupDeleted,Zo=jo.tasksGroupMerged,Xo=jo.tasksGroupRenamed,Qo=jo.tasksGroupCollapsed,Jo=jo.tasksGroupDraft,ei=jo.tasksGroupLastActive,ti=Mo.reducer,ni=function(e){var t=this;void 0===e&&(e={});var n=new Map,r=e.extra,o=e.onError,i=void 0===o?uo:o;zr(i,"onError");var a=function(e){for(var t=0,r=n.values();t<r.length;t++){var o=r[t];if(e(o))return o}},u=function(e){var t=a((function(t){return t.effect===e.effect}));return t||(t=function(e){var t=no(e),n=t.type,r=t.predicate,o=t.effect;return{id:jr(),effect:o,type:n,predicate:r,pending:new Set,unsubscribe:function(){throw new Error("Unsubscribe not initialized")}}}(e)),function(e){return e.unsubscribe=function(){return n.delete(e.id)},n.set(e.id,e),function(t){e.unsubscribe(),(null==t?void 0:t.cancelActive)&&lo(e)}}(t)},l=function(e){var t=no(e),n=t.type,r=t.effect,o=t.predicate,i=a((function(e){return("string"===typeof n?e.type===n:e.predicate===o)&&e.effect===r}));return i&&(i.unsubscribe(),e.cancelActive&&lo(i)),!!i},c=function(e,o,a,l){return Nr(t,null,(function(){var t,c,s;return xr(this,(function(f){switch(f.label){case 0:t=new AbortController,c=to(u,t.signal),f.label=1;case 1:return f.trys.push([1,3,4,5]),e.pending.add(t),[4,Promise.resolve(e.effect(o,Xr({},a,{getOriginalState:l,condition:function(e,t){return c(e,t).then(Boolean)},take:c,delay:Zr(t.signal),pause:Yr(t.signal),extra:r,signal:t.signal,fork:eo(t.signal),unsubscribe:e.unsubscribe,subscribe:function(){n.set(e.id,e)},cancelActiveListeners:function(){e.pending.forEach((function(e,n,r){e!==t&&(Gr(e,Vr),r.delete(e))}))}})))];case 2:return f.sent(),[3,5];case 3:return(s=f.sent())instanceof $r||ro(i,s,{raisedBy:"effect"}),[3,5];case 4:return Gr(t,"listener-completed"),e.pending.delete(t),[7];case 5:return[2]}}))}))},s=function(e){return function(){e.forEach(lo),e.clear()}}(n);return{middleware:function(e){return function(t){return function(r){if(oo.match(r))return u(r.payload);if(!io.match(r)){if(ao.match(r))return l(r.payload);var o,a=e.getState(),f=function(){if(a===Qr)throw new Error(Jr+": getOriginalState can only be called synchronously");return a};try{if(o=t(r),n.size>0)for(var d=e.getState(),p=Array.from(n.values()),h=0,v=p;h<v.length;h++){var g=v[h],m=!1;try{m=g.predicate(r,d,a)}catch(y){m=!1,ro(i,y,{raisedBy:"predicate"})}m&&c(g,r,e,f)}}finally{a=Qr}return o}s()}}},startListening:u,stopListening:l,clearListeners:s}}(),ri=Br(Fo,Bo,zo,Uo,Wo,Ho,qo,$o,Yo,Zo,Qo);ni.startListening({matcher:ri,effect:function(e,t){var n=e.payload.groupName;t.dispatch(ei({groupName:n}))}});var oi,ii,ai=ni.middleware,ui=function(e){var t,n=Ar(),r=e||{},o=r.reducer,i=void 0===o?void 0:o,a=r.middleware,u=void 0===a?n():a,l=r.devTools,c=void 0===l||l,s=r.preloadedState,f=void 0===s?void 0:s,d=r.enhancers,p=void 0===d?void 0:d;if("function"===typeof i)t=i;else{if(!Tr(i))throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');t=hr(i)}var h=u;"function"===typeof h&&(h=h(n));var v=gr.apply(void 0,h),g=vr;c&&(g=Dr(Ir({trace:!1},"object"===typeof c&&c)));var m=[v];return Array.isArray(p)?m=Er([v],p):"function"===typeof p&&(m=p(m)),pr(t,f,g.apply(void 0,m))}({reducer:{tasks:ti,settings:go},middleware:function(e){return e().prepend(ai)}}),li=n(184),ci=(0,u.forwardRef)((function(e,t){var n=e.checked,r=e.disabled,o=e.testId,i=e.onChange,a=e.onClick;return(0,li.jsxs)("label",{className:"checkbox-container",children:[(0,li.jsx)("input",{className:"checkbox-state",type:"checkbox",checked:n,"data-testid":o,disabled:r,onChange:i,ref:t}),(0,li.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",viewBox:"3 2 22 20",className:"checkbox-button",onClick:a,children:[(0,li.jsx)("use",{xlinkHref:"#checkbox-square",className:"checkbox-square"}),(0,li.jsx)("use",{xlinkHref:"#checkbox-mark",className:"checkbox-mark"}),(0,li.jsx)("use",{xlinkHref:"#checkbox-circle",className:"checkbox-circle"})]})]})})),si=nt.circle(oi||(oi=o(["\n fill: none;\n stroke: var(--sn-stylekit-neutral-color);\n"]))),fi=nt.circle(ii||(ii=o(["\n fill: none;\n stroke: var(--sn-stylekit-info-color);\n transition: all 0.5s;\n"]))),di=function(e){var t=e.size,n=e.percentage,r=it((0,u.useState)(0),2),o=r[0],i=r[1];(0,u.useEffect)((function(){i(n)}),[n]);var a="0 0 ".concat(t," ").concat(t),l=.001*t*100+1,c=(t-l)/2,s=c*Math.PI*2,f=o*s/100;return(0,li.jsxs)("svg",{height:t,viewBox:a,width:t,"data-testid":"circular-progress-bar",children:[(0,li.jsx)(si,{cx:t/2,cy:t/2,r:c,strokeWidth:l}),(0,li.jsx)(fi,{cx:t/2,cy:t/2,r:c,strokeWidth:l,transform:"rotate(-90 ".concat(t/2," ").concat(t/2,")"),strokeDasharray:"".concat(f," ").concat(s-f),strokeLinecap:"round",style:{transition:"all 0.5s"}})]})};function pi(){return!("undefined"===typeof window||!window.document||!window.document.createElement)}var hi=pi()?u.useLayoutEffect:u.useEffect;function vi(){var e=(0,u.useState)(Object.create(null))[1];return(0,u.useCallback)((function(){e(Object.create(null))}),[])}var gi=function(e){var t=e.children,n=e.type,r=void 0===n?"reach-portal":n,o=e.containerRef,i=(0,u.useRef)(null),a=(0,u.useRef)(null),c=vi();return hi((function(){if(i.current){var e=i.current.ownerDocument,t=(null==o?void 0:o.current)||e.body;return a.current=null==e?void 0:e.createElement(r),t.appendChild(a.current),c(),function(){a.current&&t&&t.removeChild(a.current)}}}),[r,c,o]),a.current?(0,l.createPortal)(t,a.current):(0,u.createElement)("span",{ref:i})};function mi(e){return pi()?e?e.ownerDocument:document:null}function yi(){}function bi(e){return!(!e||"[object Function]"!={}.toString.call(e))}function wi(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function xi(e,t){var n;if("undefined"===typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"===typeof e)return wi(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)?wi(e,t):void 0}}(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function Ei(e,t){if(null!=e)if(bi(e))e(t);else try{e.current=t}catch(n){throw new Error('Cannot assign value "'+t+'" to ref "'+e+'"')}}function ki(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,u.useCallback)((function(e){for(var n,r=xi(t);!(n=r()).done;){Ei(n.value,e)}}),t)}function Si(e,t){return function(n){if(e&&e(n),!n.defaultPrevented)return t(n)}}function _i(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}var Ci="data-focus-lock",Oi="data-focus-lock-disabled";function Ii(e,t){return function(e,t){var n=(0,u.useState)((function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(e){var t=n.value;t!==e&&(n.value=e,n.callback(e,t))}}}}))[0];return n.callback=t,n.facade}(t||null,(function(t){return e.forEach((function(e){return function(e,t){return"function"===typeof e?e(t):e&&(e.current=t),e}(e,t)}))}))}var Ni={width:"1px",height:"0px",padding:0,overflow:"hidden",position:"fixed",top:"1px",left:"1px"},Di=function(e){var t=e.children;return u.createElement(u.Fragment,null,u.createElement("div",{key:"guard-first","data-focus-guard":!0,"data-focus-auto-guard":!0,style:Ni}),t,t&&u.createElement("div",{key:"guard-last","data-focus-guard":!0,"data-focus-auto-guard":!0,style:Ni}))};Di.propTypes={},Di.defaultProps={children:null};var Ti=function(){return Ti=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Ti.apply(this,arguments)};function Ri(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}Object.create;Object.create;function Ai(e){return e}function Pi(e,t){void 0===t&&(t=Ai);var n=[],r=!1,o={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(e){var o=t(e,r);return n.push(o),function(){n=n.filter((function(e){return e!==o}))}},assignSyncMedium:function(e){for(r=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){r=!0;var t=[];if(n.length){var o=n;n=[],o.forEach(e),t=n}var i=function(){var n=t;t=[],n.forEach(e)},a=function(){return Promise.resolve().then(i)};a(),n={push:function(e){t.push(e),a()},filter:function(e){return t=t.filter(e),n}}}};return o}function Li(e,t){return void 0===t&&(t=Ai),Pi(e,t)}function Mi(e){void 0===e&&(e={});var t=Pi(null);return t.options=Ti({async:!0,ssr:!1},e),t}var ji=Li({},(function(e){return{target:e.target,currentTarget:e.currentTarget}})),Fi=Li(),Bi=Li(),zi=Mi({async:!0}),Ui=[],Wi=u.forwardRef((function(e,t){var n,r=u.useState(),o=r[0],i=r[1],a=u.useRef(),l=u.useRef(!1),c=u.useRef(null),s=e.children,f=e.disabled,d=e.noFocusGuards,p=e.persistentFocus,h=e.crossFrame,v=e.autoFocus,g=(e.allowTextSelection,e.group),m=e.className,y=e.whiteList,b=e.hasPositiveIndices,x=e.shards,E=void 0===x?Ui:x,k=e.as,S=void 0===k?"div":k,_=e.lockProps,C=void 0===_?{}:_,O=e.sideCar,I=e.returnFocus,N=e.focusOptions,D=e.onActivation,T=e.onDeactivation,R=u.useState({})[0],A=u.useCallback((function(){c.current=c.current||document&&document.activeElement,a.current&&D&&D(a.current),l.current=!0}),[D]),P=u.useCallback((function(){l.current=!1,T&&T(a.current)}),[T]);(0,u.useEffect)((function(){f||(c.current=null)}),[]);var L=u.useCallback((function(e){var t=c.current;if(t&&t.focus){var n="function"===typeof I?I(t):I;if(n){var r="object"===typeof n?n:void 0;c.current=null,e?Promise.resolve().then((function(){return t.focus(r)})):t.focus(r)}}}),[I]),M=u.useCallback((function(e){l.current&&ji.useMedium(e)}),[]),j=Fi.useMedium,F=u.useCallback((function(e){a.current!==e&&(a.current=e,i(e))}),[]);var B=w(((n={})[Oi]=f&&"disabled",n[Ci]=g,n),C),z=!0!==d,U=z&&"tail"!==d,W=Ii([t,F]);return u.createElement(u.Fragment,null,z&&[u.createElement("div",{key:"guard-first","data-focus-guard":!0,tabIndex:f?-1:0,style:Ni}),b?u.createElement("div",{key:"guard-nearest","data-focus-guard":!0,tabIndex:f?-1:1,style:Ni}):null],!f&&u.createElement(O,{id:R,sideCar:zi,observed:o,disabled:f,persistentFocus:p,crossFrame:h,autoFocus:v,whiteList:y,shards:E,onActivation:A,onDeactivation:P,returnFocus:L,focusOptions:N}),u.createElement(S,w({ref:W},B,{className:m,onBlur:j,onFocus:M}),s),U&&u.createElement("div",{"data-focus-guard":!0,tabIndex:f?-1:0,style:Ni}))}));Wi.propTypes={},Wi.defaultProps={children:void 0,disabled:!1,returnFocus:!1,focusOptions:void 0,noFocusGuards:!1,autoFocus:!0,persistentFocus:!1,crossFrame:!0,hasPositiveIndices:void 0,allowTextSelection:void 0,group:void 0,className:void 0,whiteList:void 0,shards:void 0,as:"div",lockProps:{},onActivation:void 0,onDeactivation:void 0};var Hi=Wi;function Gi(e,t){return Gi=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Gi(e,t)}function Vi(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Gi(e,t)}var $i=function(e,t){return function(n){var r,o=[];function i(){r=e(o.map((function(e){return e.props}))),t(r)}var a=function(e){function t(){return e.apply(this,arguments)||this}Vi(t,e),t.peek=function(){return r};var a=t.prototype;return a.componentDidMount=function(){o.push(this),i()},a.componentDidUpdate=function(){i()},a.componentWillUnmount=function(){var e=o.indexOf(this);o.splice(e,1),i()},a.render=function(){return u.createElement(n,this.props)},t}(u.PureComponent);return ir(a,"displayName","SideEffect("+function(e){return e.displayName||e.name||"Component"}(n)+")"),a}},qi=function(e){for(var t=Array(e.length),n=0;n<e.length;++n)t[n]=e[n];return t},Ki=function(e){return Array.isArray(e)?e:[e]},Yi=function(e){return e.parentNode&&e.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE?e.parentNode.host:e.parentNode},Zi=function(e){return e===document||e&&e.nodeType===Node.DOCUMENT_NODE},Xi=function(e,t){return!e||Zi(e)||!function(e){if(e.nodeType!==Node.ELEMENT_NODE)return!1;var t=window.getComputedStyle(e,null);return!(!t||!t.getPropertyValue)&&("none"===t.getPropertyValue("display")||"hidden"===t.getPropertyValue("visibility"))}(e)&&t(Yi(e))},Qi=function e(t,n){var r=t.get(n);if(void 0!==r)return r;var o=Xi(n,e.bind(void 0,t));return t.set(n,o),o},Ji=function e(t,n){var r=t.get(n);if(void 0!==r)return r;var o=function(e,t){return!(e&&!Zi(e))||!!ra(e)&&t(Yi(e))}(n,e.bind(void 0,t));return t.set(n,o),o},ea=function(e){return e.dataset},ta=function(e){return"INPUT"===e.tagName},na=function(e){return ta(e)&&"radio"===e.type},ra=function(e){var t=e.getAttribute("data-no-autofocus");return![!0,"true",""].includes(t)},oa=function(e){var t;return Boolean(e&&(null===(t=ea(e))||void 0===t?void 0:t.focusGuard))},ia=function(e){return!oa(e)},aa=function(e){return Boolean(e)},ua=function(e,t){var n=e.tabIndex-t.tabIndex,r=e.index-t.index;if(n){if(!e.tabIndex)return 1;if(!t.tabIndex)return-1}return n||r},la=function(e,t,n){return qi(e).map((function(e,t){return{node:e,index:t,tabIndex:n&&-1===e.tabIndex?(e.dataset||{}).focusGuard?0:-1:e.tabIndex}})).filter((function(e){return!t||e.tabIndex>=0})).sort(ua)},ca=["button:enabled","select:enabled","textarea:enabled","input:enabled","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[tabindex]","[contenteditable]","[autofocus]"].join(","),sa="".concat(ca,", [data-focus-guard]"),fa=function e(t,n){var r;return qi((null===(r=t.shadowRoot)||void 0===r?void 0:r.children)||t.children).reduce((function(t,r){return t.concat(r.matches(n?sa:ca)?[r]:[],e(r))}),[])},da=function(e,t){return e.reduce((function(e,n){return e.concat(fa(n,t),n.parentNode?qi(n.parentNode.querySelectorAll(ca)).filter((function(e){return e===n})):[])}),[])},pa=function(e,t){return qi(e).filter((function(e){return Qi(t,e)})).filter((function(e){return function(e){return!((ta(e)||function(e){return"BUTTON"===e.tagName}(e))&&("hidden"===e.type||e.disabled))}(e)}))},ha=function(e,t){return void 0===t&&(t=new Map),qi(e).filter((function(e){return Ji(t,e)}))},va=function(e,t,n){return la(pa(da(e,n),t),!0,n)},ga=function(e,t){return la(pa(da(e),t),!1)},ma=function(e,t){return pa(function(e){var t=e.querySelectorAll("[".concat("data-autofocus-inside","]"));return qi(t).map((function(e){return da([e])})).reduce((function(e,t){return e.concat(t)}),[])}(e),t)},ya=function e(t,n){return t.shadowRoot?e(t.shadowRoot,n):!(void 0===Object.getPrototypeOf(t).contains||!Object.getPrototypeOf(t).contains.call(t,n))||qi(t.children).some((function(t){return e(t,n)}))},ba=function e(t){return t.activeElement?t.activeElement.shadowRoot?e(t.activeElement.shadowRoot):t.activeElement:void 0},wa=function(){return document.activeElement?document.activeElement.shadowRoot?ba(document.activeElement.shadowRoot):document.activeElement:void 0},xa=function e(t){return t.parentNode?e(t.parentNode):t},Ea=function(e){return Ki(e).filter(Boolean).reduce((function(e,t){var n=t.getAttribute(Ci);return e.push.apply(e,n?function(e){for(var t=new Set,n=e.length,r=0;r<n;r+=1)for(var o=r+1;o<n;o+=1){var i=e[r].compareDocumentPosition(e[o]);(i&Node.DOCUMENT_POSITION_CONTAINED_BY)>0&&t.add(o),(i&Node.DOCUMENT_POSITION_CONTAINS)>0&&t.add(r)}return e.filter((function(e,n){return!t.has(n)}))}(qi(xa(t).querySelectorAll("[".concat(Ci,'="').concat(n,'"]:not([').concat(Oi,'="disabled"])')))):[t]),e}),[])},ka=function(e){return Boolean(qi(e.querySelectorAll("iframe")).some((function(e){return e===document.activeElement})))},Sa=function(e){var t=document&&wa();return!(!t||t.dataset&&t.dataset.focusGuard)&&Ea(e).some((function(e){return ya(e,t)||ka(e)}))},_a=function(e,t){return na(e)&&e.name?function(e,t){return t.filter(na).filter((function(t){return t.name===e.name})).filter((function(e){return e.checked}))[0]||e}(e,t):e},Ca=function(e){return e[0]&&e.length>1?_a(e[0],e):e[0]},Oa=function(e,t){return e.length>1?e.indexOf(_a(e[t],e)):t},Ia="NEW_FOCUS",Na=function(e,t,n,r){var o=e.length,i=e[0],a=e[o-1],u=oa(n);if(!(n&&e.indexOf(n)>=0)){var l=void 0!==n?t.indexOf(n):-1,c=r?t.indexOf(r):l,s=r?e.indexOf(r):-1,f=l-c,d=t.indexOf(i),p=t.indexOf(a),h=function(e){var t=new Set;return e.forEach((function(n){return t.add(_a(n,e))})),e.filter((function(e){return t.has(e)}))}(t),v=(void 0!==n?h.indexOf(n):-1)-(r?h.indexOf(r):l),g=Oa(e,0),m=Oa(e,o-1);return-1===l||-1===s?Ia:!f&&s>=0?s:l<=d&&u&&Math.abs(f)>1?m:l>=p&&u&&Math.abs(f)>1?g:f&&Math.abs(v)>1?s:l<=d?m:l>p?g:f?Math.abs(f)>1?s:(o+s+f)%o:void 0}},Da=function(e,t,n){var r,o=e.map((function(e){return e.node})),i=ha(o.filter((r=n,function(e){var t,n=null===(t=ea(e))||void 0===t?void 0:t.autofocus;return e.autofocus||void 0!==n&&"false"!==n||r.indexOf(e)>=0})));return i&&i.length?Ca(i):Ca(ha(t))},Ta=function e(t,n){return void 0===n&&(n=[]),n.push(t),t.parentNode&&e(t.parentNode.host||t.parentNode,n),n},Ra=function(e,t){for(var n=Ta(e),r=Ta(t),o=0;o<n.length;o+=1){var i=n[o];if(r.indexOf(i)>=0)return i}return!1},Aa=function(e,t,n){var r=Ki(e),o=Ki(t),i=r[0],a=!1;return o.filter(Boolean).forEach((function(e){a=Ra(a||e,e)||a,n.filter(Boolean).forEach((function(e){var t=Ra(i,e);t&&(a=!a||ya(t,a)?t:Ra(t,a))}))})),a},Pa=function(e,t){return e.reduce((function(e,n){return e.concat(ma(n,t))}),[])},La=function(e,t){var n=document&&wa(),r=Ea(e).filter(ia),o=Aa(n||e,e,r),i=new Map,a=ga(r,i),u=va(r,i).filter((function(e){var t=e.node;return ia(t)}));if(u[0]||(u=a)[0]){var l=ga([o],i).map((function(e){return e.node})),c=function(e,t){var n=new Map;return t.forEach((function(e){return n.set(e.node,e)})),e.map((function(e){return n.get(e)})).filter(aa)}(l,u),s=c.map((function(e){return e.node})),f=Na(s,l,n,t);return f===Ia?{node:Da(a,s,Pa(r,i))}:void 0===f?f:c[f]}},Ma=0,ja=!1,Fa=function(e,t,n){void 0===n&&(n={});var r,o,i=La(e,t);if(!ja&&i){if(Ma>2)return console.error("FocusLock: focus-fighting detected. Only one focus management system could be active. See https://github.com/theKashey/focus-lock/#focus-fighting"),ja=!0,void setTimeout((function(){ja=!1}),1);Ma++,r=i.node,o=n.focusOptions,"focus"in r&&r.focus(o),"contentWindow"in r&&r.contentWindow&&r.contentWindow.focus(),Ma--}},Ba=function(e){var t=Ea(e).filter(ia),n=Aa(e,e,t),r=new Map,o=va([n],r,!0),i=va(t,r).filter((function(e){var t=e.node;return ia(t)})).map((function(e){return e.node}));return o.map((function(e){var t=e.node;return{node:t,index:e.index,lockItem:i.indexOf(t)>=0,guard:oa(t)}}))};function za(e){var t=window.setImmediate;"undefined"!==typeof t?t(e):setTimeout(e,1)}var Ua=function(){return document&&document.activeElement===document.body||function(){var e=document&&wa();return!!e&&qi(document.querySelectorAll("[".concat("data-no-focus-lock","]"))).some((function(t){return ya(t,e)}))}()},Wa=null,Ha=null,Ga=null,Va=!1,$a=function(){return!0};function qa(e,t,n,r){var o=null,i=e;do{var a=r[i];if(a.guard)a.node.dataset.focusAutoGuard&&(o=a);else{if(!a.lockItem)break;if(i!==e)return;o=null}}while((i+=n)!==t);o&&(o.node.tabIndex=0)}var Ka=function(e){return e&&"current"in e?e.current:e},Ya=function e(t,n,r){return n&&(n.host===t&&(!n.activeElement||r.contains(n.activeElement))||n.parentNode&&e(t,n.parentNode,r))},Za=function(){var e,t=!1;if(Wa){var n=Wa,r=n.observed,o=n.persistentFocus,i=n.autoFocus,a=n.shards,u=n.crossFrame,l=n.focusOptions,c=r||Ga&&Ga.portaledElement,s=document&&document.activeElement;if(c){var f=[c].concat(a.map(Ka).filter(Boolean));if(s&&!function(e){return(Wa.whiteList||$a)(e)}(s)||(o||(u?Boolean(Va):"meanwhile"===Va)||!Ua()||!Ha&&i)&&(c&&!(Sa(f)||s&&function(e,t){return t.some((function(t){return Ya(e,t,t)}))}(s,f)||(e=s,Ga&&Ga.portaledElement===e))&&(document&&!Ha&&s&&!i?(s.blur&&s.blur(),document.body.focus()):(t=Fa(f,Ha,{focusOptions:l}),Ga={})),Va=!1,Ha=document&&document.activeElement),document){var d=document&&document.activeElement,p=Ba(f),h=p.map((function(e){return e.node})).indexOf(d);h>-1&&(p.filter((function(e){var t=e.guard,n=e.node;return t&&n.dataset.focusAutoGuard})).forEach((function(e){return e.node.removeAttribute("tabIndex")})),qa(h,p.length,1,p),qa(h,-1,-1,p))}}}return t},Xa=function(e){Za()&&e&&(e.stopPropagation(),e.preventDefault())},Qa=function(){return za(Za)},Ja=function(e){var t=e.target,n=e.currentTarget;n.contains(t)||(Ga={observerNode:n,portaledElement:t})},eu=function(){Va="just",setTimeout((function(){Va="meanwhile"}),0)};ji.assignSyncMedium(Ja),Fi.assignMedium(Qa),Bi.assignMedium((function(e){return e({moveFocusInside:Fa,focusInside:Sa})}));var tu=$i((function(e){return e.filter((function(e){return!e.disabled}))}),(function(e){var t=e.slice(-1)[0];t&&!Wa&&(document.addEventListener("focusin",Xa),document.addEventListener("focusout",Qa),window.addEventListener("blur",eu));var n=Wa,r=n&&t&&t.id===n.id;Wa=t,n&&!r&&(n.onDeactivation(),e.filter((function(e){return e.id===n.id})).length||n.returnFocus(!t)),t?(Ha=null,r&&n.observed===t.observed||t.onActivation(),Za(),za(Za)):(document.removeEventListener("focusin",Xa),document.removeEventListener("focusout",Qa),window.removeEventListener("blur",eu),Ha=null)}))((function(){return null})),nu=u.forwardRef((function(e,t){return u.createElement(Hi,w({sideCar:tu,ref:t},e))})),ru=Hi.propTypes||{};ru.sideCar,_i(ru,["sideCar"]);nu.propTypes={};var ou=nu,iu="right-scroll-bar-position",au="width-before-scroll-bar",uu=Mi(),lu=function(){},cu=u.forwardRef((function(e,t){var n=u.useRef(null),r=u.useState({onScrollCapture:lu,onWheelCapture:lu,onTouchMoveCapture:lu}),o=r[0],i=r[1],a=e.forwardProps,l=e.children,c=e.className,s=e.removeScrollBar,f=e.enabled,d=e.shards,p=e.sideCar,h=e.noIsolation,v=e.inert,g=e.allowPinchZoom,m=e.as,y=void 0===m?"div":m,b=Ri(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),w=p,x=Ii([n,t]),E=Ti(Ti({},b),o);return u.createElement(u.Fragment,null,f&&u.createElement(w,{sideCar:uu,removeScrollBar:s,shards:d,noIsolation:h,inert:v,setCallbacks:i,allowPinchZoom:!!g,lockRef:n}),a?u.cloneElement(u.Children.only(l),Ti(Ti({},E),{ref:x})):u.createElement(y,Ti({},E,{className:c,ref:x}),l))}));cu.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},cu.classNames={fullWidth:au,zeroRight:iu};var su,fu=function(e){var t=e.sideCar,n=Ri(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return u.createElement(r,Ti({},n))};fu.isSideCarExport=!0;function du(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=su||n.nc;return t&&e.setAttribute("nonce",t),e}var pu=function(){var e=0,t=null;return{add:function(n){var r,o;0==e&&(t=du())&&(o=n,(r=t).styleSheet?r.styleSheet.cssText=o:r.appendChild(document.createTextNode(o)),function(e){(document.head||document.getElementsByTagName("head")[0]).appendChild(e)}(t)),e++},remove:function(){!--e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},hu=function(){var e=function(){var e=pu();return function(t,n){u.useEffect((function(){return e.add(t),function(){e.remove()}}),[t&&n])}}();return function(t){var n=t.styles,r=t.dynamic;return e(n,r),null}},vu={left:0,top:0,right:0,gap:0},gu=function(e){return parseInt(e||"",10)||0},mu=function(e){if(void 0===e&&(e="margin"),"undefined"===typeof window)return vu;var t=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],r=t["padding"===e?"paddingTop":"marginTop"],o=t["padding"===e?"paddingRight":"marginRight"];return[gu(n),gu(r),gu(o)]}(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},yu=hu(),bu=function(e,t,n,r){var o=e.left,i=e.top,a=e.right,u=e.gap;return void 0===n&&(n="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(r,";\n padding-right: ").concat(u,"px ").concat(r,";\n }\n body {\n overflow: hidden ").concat(r,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(r,";"),"margin"===n&&"\n padding-left: ".concat(o,"px;\n padding-top: ").concat(i,"px;\n padding-right: ").concat(a,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(u,"px ").concat(r,";\n "),"padding"===n&&"padding-right: ".concat(u,"px ").concat(r,";")].filter(Boolean).join(""),"\n }\n \n .").concat(iu," {\n right: ").concat(u,"px ").concat(r,";\n }\n \n .").concat(au," {\n margin-right: ").concat(u,"px ").concat(r,";\n }\n \n .").concat(iu," .").concat(iu," {\n right: 0 ").concat(r,";\n }\n \n .").concat(au," .").concat(au," {\n margin-right: 0 ").concat(r,";\n }\n \n body {\n ").concat("--removed-body-scroll-bar-size",": ").concat(u,"px;\n }\n")},wu=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=void 0===r?"margin":r,i=u.useMemo((function(){return mu(o)}),[o]);return u.createElement(yu,{styles:bu(i,!t,o,n?"":"!important")})},xu=!1;if("undefined"!==typeof window)try{var Eu=Object.defineProperty({},"passive",{get:function(){return xu=!0,!0}});window.addEventListener("test",Eu,Eu),window.removeEventListener("test",Eu,Eu)}catch(Um){xu=!1}var ku=!!xu&&{passive:!1},Su=function(e,t){var n=window.getComputedStyle(e);return"hidden"!==n[t]&&!(n.overflowY===n.overflowX&&!function(e){return"TEXTAREA"===e.tagName}(e)&&"visible"===n[t])},_u=function(e,t){var n=t;do{if("undefined"!==typeof ShadowRoot&&n instanceof ShadowRoot&&(n=n.host),Cu(e,n)){var r=Ou(e,n);if(r[1]>r[2])return!0}n=n.parentNode}while(n&&n!==document.body);return!1},Cu=function(e,t){return"v"===e?function(e){return Su(e,"overflowY")}(t):function(e){return Su(e,"overflowX")}(t)},Ou=function(e,t){return"v"===e?[(n=t).scrollTop,n.scrollHeight,n.clientHeight]:function(e){return[e.scrollLeft,e.scrollWidth,e.clientWidth]}(t);var n},Iu=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Nu=function(e){return[e.deltaX,e.deltaY]},Du=function(e){return e&&"current"in e?e.current:e},Tu=function(e){return"\n .block-interactivity-".concat(e," {pointer-events: none;}\n .allow-interactivity-").concat(e," {pointer-events: all;}\n")},Ru=0,Au=[];var Pu,Lu=(Pu=function(e){var t=u.useRef([]),n=u.useRef([0,0]),r=u.useRef(),o=u.useState(Ru++)[0],i=u.useState((function(){return hu()}))[0],a=u.useRef(e);u.useEffect((function(){a.current=e}),[e]),u.useEffect((function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var t=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}([e.lockRef.current],(e.shards||[]).map(Du),!0).filter(Boolean);return t.forEach((function(e){return e.classList.add("allow-interactivity-".concat(o))})),function(){document.body.classList.remove("block-interactivity-".concat(o)),t.forEach((function(e){return e.classList.remove("allow-interactivity-".concat(o))}))}}}),[e.inert,e.lockRef.current,e.shards]);var l=u.useCallback((function(e,t){if("touches"in e&&2===e.touches.length)return!a.current.allowPinchZoom;var o,i=Iu(e),u=n.current,l="deltaX"in e?e.deltaX:u[0]-i[0],c="deltaY"in e?e.deltaY:u[1]-i[1],s=e.target,f=Math.abs(l)>Math.abs(c)?"h":"v";if("touches"in e&&"h"===f&&"range"===s.type)return!1;var d=_u(f,s);if(!d)return!0;if(d?o=f:(o="v"===f?"h":"v",d=_u(f,s)),!d)return!1;if(!r.current&&"changedTouches"in e&&(l||c)&&(r.current=o),!o)return!0;var p=r.current||o;return function(e,t,n,r,o){var i=function(e,t){return"h"===e&&"rtl"===t?-1:1}(e,window.getComputedStyle(t).direction),a=i*r,u=n.target,l=t.contains(u),c=!1,s=a>0,f=0,d=0;do{var p=Ou(e,u),h=p[0],v=p[1]-p[2]-i*h;(h||v)&&Cu(e,u)&&(f+=v,d+=h),u=u.parentNode}while(!l&&u!==document.body||l&&(t.contains(u)||t===u));return(s&&(o&&0===f||!o&&a>f)||!s&&(o&&0===d||!o&&-a>d))&&(c=!0),c}(p,t,e,"h"===p?l:c,!0)}),[]),c=u.useCallback((function(e){var n=e;if(Au.length&&Au[Au.length-1]===i){var r="deltaY"in n?Nu(n):Iu(n),o=t.current.filter((function(e){return e.name===n.type&&e.target===n.target&&function(e,t){return e[0]===t[0]&&e[1]===t[1]}(e.delta,r)}))[0];if(o&&o.should)n.cancelable&&n.preventDefault();else if(!o){var u=(a.current.shards||[]).map(Du).filter(Boolean).filter((function(e){return e.contains(n.target)}));(u.length>0?l(n,u[0]):!a.current.noIsolation)&&n.cancelable&&n.preventDefault()}}}),[]),s=u.useCallback((function(e,n,r,o){var i={name:e,delta:n,target:r,should:o};t.current.push(i),setTimeout((function(){t.current=t.current.filter((function(e){return e!==i}))}),1)}),[]),f=u.useCallback((function(e){n.current=Iu(e),r.current=void 0}),[]),d=u.useCallback((function(t){s(t.type,Nu(t),t.target,l(t,e.lockRef.current))}),[]),p=u.useCallback((function(t){s(t.type,Iu(t),t.target,l(t,e.lockRef.current))}),[]);u.useEffect((function(){return Au.push(i),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:p}),document.addEventListener("wheel",c,ku),document.addEventListener("touchmove",c,ku),document.addEventListener("touchstart",f,ku),function(){Au=Au.filter((function(e){return e!==i})),document.removeEventListener("wheel",c,ku),document.removeEventListener("touchmove",c,ku),document.removeEventListener("touchstart",f,ku)}}),[]);var h=e.removeScrollBar,v=e.inert;return u.createElement(u.Fragment,null,v?u.createElement(i,{styles:Tu(o)}):null,h?u.createElement(wu,{gapMode:"margin"}):null)},uu.useMedium(Pu),fu),Mu=u.forwardRef((function(e,t){return u.createElement(cu,Ti({},e,{ref:t,sideCar:Lu}))}));Mu.classNames=cu.classNames;var ju=Mu,Fu=n(7),Bu=n.n(Fu);function zu(){return zu=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},zu.apply(this,arguments)}function Uu(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}var Wu=["as","isOpen"],Hu=["allowPinchZoom","as","dangerouslyBypassFocusLock","dangerouslyBypassScrollLock","initialFocusRef","onClick","onDismiss","onKeyDown","onMouseDown","unstable_lockFocusAcrossFrames"],Gu=["as","onClick","onKeyDown"],Vu=(Bu().bool,Bu().bool,Bu().bool,Bu().func,(0,u.forwardRef)((function(e,t){var n=e.as,r=void 0===n?"div":n,o=e.isOpen,i=void 0===o||o,a=Uu(e,Wu);return(0,u.useEffect)((function(){i?window.__REACH_DISABLE_TOOLTIPS=!0:window.requestAnimationFrame((function(){window.__REACH_DISABLE_TOOLTIPS=!1}))}),[i]),i?(0,u.createElement)(gi,{"data-reach-dialog-wrapper":""},(0,u.createElement)($u,zu({ref:t,as:r},a))):null})));var $u=(0,u.forwardRef)((function(e,t){var n=e.allowPinchZoom,r=e.as,o=void 0===r?"div":r,i=e.dangerouslyBypassFocusLock,a=void 0!==i&&i,l=e.dangerouslyBypassScrollLock,c=void 0!==l&&l,s=e.initialFocusRef,f=e.onClick,d=e.onDismiss,p=void 0===d?yi:d,h=e.onKeyDown,v=e.onMouseDown,g=e.unstable_lockFocusAcrossFrames,m=Uu(e,Hu);var y=(0,u.useRef)(null),b=(0,u.useRef)(null),w=ki(b,t),x=(0,u.useCallback)((function(){s&&s.current&&s.current.focus()}),[s]);return(0,u.useEffect)((function(){return b.current?function(e){var t=[],n=[],r=mi(e);if(!e)return yi;return Array.prototype.forEach.call(r.querySelectorAll("body > *"),(function(r){var o,i;if(r!==(null==(o=e.parentNode)||null==(i=o.parentNode)?void 0:i.parentNode)){var a=r.getAttribute("aria-hidden");null!==a&&"false"!==a||(t.push(a),n.push(r),r.setAttribute("aria-hidden","true"))}})),function(){n.forEach((function(e,n){var r=t[n];null===r?e.removeAttribute("aria-hidden"):e.setAttribute("aria-hidden",r)}))}}(b.current):void 0}),[]),(0,u.createElement)(ou,{autoFocus:!0,returnFocus:!0,onActivation:x,disabled:a,crossFrame:null==g||g},(0,u.createElement)(ju,{allowPinchZoom:n,enabled:!c},(0,u.createElement)(o,zu({},m,{ref:w,"data-reach-dialog-overlay":"",onClick:Si(f,(function(e){y.current===e.target&&(e.stopPropagation(),p(e))})),onKeyDown:Si(h,(function(e){"Escape"===e.key&&(e.stopPropagation(),p(e))})),onMouseDown:Si(v,(function(e){y.current=e.target}))}))))}));var qu=(0,u.forwardRef)((function(e,t){var n=e.as,r=void 0===n?"div":n,o=e.onClick;e.onKeyDown;var i=Uu(e,Gu);return(0,u.createElement)(r,zu({"aria-modal":"true",role:"dialog",tabIndex:-1},i,{ref:t,"data-reach-dialog-content":"",onClick:Si(o,(function(e){e.stopPropagation()}))}))}));var Ku=!1,Yu=0,Zu=function(){return++Yu};function Xu(e){var t=e||(Ku?Zu():null),n=(0,u.useState)(t),r=n[0],o=n[1];return hi((function(){null===r&&o(Zu())}),[]),(0,u.useEffect)((function(){!1===Ku&&(Ku=!0)}),[]),null!=r?String(r):void 0}function Qu(e,t){return(0,u.createContext)(t)}function Ju(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter((function(e){return null!=e})).join("--")}var el=n(176),tl=n.n(el);function nl(){return nl=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},nl.apply(this,arguments)}function rl(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}var ol=["leastDestructiveRef"],il=["children"],al=["as"],ul=["as"],ll=["id","isOpen","onDismiss","leastDestructiveRef"],cl=Qu(0,{}),sl=(0,u.forwardRef)((function(e,t){var n=e.leastDestructiveRef,r=rl(e,ol),o=(0,u.useRef)(null),i=ki(t,o),a=Xu(r.id),l=a?Ju("alert-dialog",a):void 0,c=a?Ju("alert-dialog-description",a):void 0;return(0,u.createElement)(cl.Provider,{value:{labelId:l,descriptionId:c,overlayRef:o,leastDestructiveRef:n}},(0,u.createElement)(Vu,nl({},r,{ref:i,"data-reach-alert-dialog-overlay":!0,initialFocusRef:n})))}));var fl=(0,u.forwardRef)((function(e,t){var n=e.children,r=rl(e,il),o=(0,u.useContext)(cl),i=o.descriptionId,a=o.labelId,l=o.leastDestructiveRef,c=o.overlayRef;return(0,u.useEffect)((function(){var e=mi(c.current);a&&(e.getElementById(a)||tl()(!1)),l||tl()(!1)}),[a,l]),(0,u.createElement)(qu,nl({role:"alertdialog","aria-describedby":i,"aria-labelledby":r["aria-label"]?void 0:a},r,{ref:t,"data-reach-alert-dialong-content":!0,"data-reach-alert-dialog-content":!0}),n)}));var dl=(0,u.forwardRef)((function(e,t){var n=e.as,r=void 0===n?"div":n,o=rl(e,al),i=(0,u.useContext)(cl).labelId;return(0,u.createElement)(r,nl({},o,{ref:t,id:i,"data-reach-alert-dialog-label":!0}))}));var pl=(0,u.forwardRef)((function(e,t){var n=e.as,r=void 0===n?"div":n,o=rl(e,ul),i=(0,u.useContext)(cl).descriptionId;return(0,u.createElement)(r,nl({},o,{ref:t,id:i,"data-reach-alert-dialog-description":!0}))}));var hl=(0,u.forwardRef)((function(e,t){var n=e.id,r=e.isOpen,o=e.onDismiss,i=e.leastDestructiveRef,a=rl(e,ll);return(0,u.createElement)(sl,{isOpen:r,onDismiss:o,leastDestructiveRef:i,id:n},(0,u.createElement)(fl,nl({ref:t},a)))}));var vl,gl=n(516),ml=function(e){var t=e.testId,n=e.title,r=void 0===n?"":n,o=e.confirmButtonText,i=void 0===o?"Confirm":o,a=e.confirmButtonStyle,l=void 0===a?"info":a,c=e.confirmButtonCb,s=e.cancelButtonText,f=void 0===s?"Cancel":s,d=e.cancelButtonCb,p=e.children,h=(0,u.useRef)(null);return(0,li.jsx)(hl,{"data-testid":t,onDismiss:d,leastDestructiveRef:h,children:(0,li.jsx)("div",{className:"sk-modal-content",children:(0,li.jsx)("div",{className:"sn-component",children:(0,li.jsx)("div",{className:"sk-panel",children:(0,li.jsx)("div",{className:"sk-panel-content",children:(0,li.jsxs)("div",{className:"sk-panel-section",children:[(0,li.jsx)(dl,{className:"sk-h3 sk-panel-section-title",dangerouslySetInnerHTML:{__html:(0,gl.sanitizeHtmlString)(r)}}),(0,li.jsx)(pl,{className:"sk-panel-row",children:(0,li.jsx)("p",{className:"color-foreground",children:p})}),(0,li.jsxs)("div",{className:"flex my-1",children:[(0,li.jsx)("button",{"data-testid":"cancel-dialog-button",className:"sn-button small neutral",onClick:d,ref:h,children:f}),(0,li.jsx)("button",{"data-testid":"confirm-dialog-button",className:"sn-button small ml-2 ".concat(l),onClick:c,children:i})]})]})})})})})})},yl=nt.span(vl||(vl=o(["\n color: var(--sn-stylekit-paragraph-text-color);\n font-size: var(--sn-stylekit-font-size-p);\n margin: 0 10px;\n"])));function bl(e,t){if(null==e)return{};var n,r,o=_i(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var wl,xl,El,kl,Sl,_l,Cl,Ol,Il,Nl,Dl,Tl,Rl,Al,Pl,Ll,Ml=["children","highlight","crossed"],jl=nt.h1(wl||(wl=o(["\n color: var(--sn-stylekit-editor-foreground-color);\n display: inline;\n font-size: 1.125rem !important;\n margin-right: 10px !important;\n text-decoration: ",";\n"])),(function(e){return e.crossed?"line-through":"none"})),Fl=function(e){var t=e.children,n=e.highlight,r=void 0!==n&&n,o=e.crossed,i=void 0!==o&&o,a=bl(e,Ml);return(0,li.jsx)(jl,ur(ur({className:"sk-h1 ".concat(r?"info":""),crossed:i},a),{},{children:t}))},Bl=function(e){var t=e.testId,n=e.onClick,r=e.children,o=e.size,i=void 0===o?"normal":o;return(0,li.jsx)("button",{"data-testid":t,className:"sn-icon-button ".concat(i),onClick:n,children:r})},zl=nt.h3(xl||(xl=o(["\n color: var(--sn-stylekit-foreground-color);\n cursor: pointer;\n font-size: var(--sn-stylekit-font-size-h3);\n font-weight: 500;\n margin: 10px 0px;\n opacity: 0.55;\n\n &::first-letter {\n text-transform: capitalize;\n }\n"]))),Ul=nt.textarea(El||(El=o(["\n background-color: transparent;\n border: none;\n color: inherit;\n font-size: 0.98rem;\n font-weight: 400;\n margin-left: 2px;\n outline: none;\n overflow: hidden;\n resize: none;\n width: 100%;\n"]))),Wl=(0,u.forwardRef)((function(e,t){var n=e.value,r=e.className,o=e.dir,i=void 0===o?"auto":o,a=e.disabled,u=e.spellCheck,l=e.testId,c=e.onChange,s=e.onKeyPress,f=e.onKeyUp;return(0,li.jsx)(Ul,{className:r,"data-testid":l,dir:i,disabled:a,onChange:c,onKeyPress:s,onKeyUp:f,ref:t,spellCheck:u,value:n})})),Hl=nt.input(kl||(kl=o(["\n background-color: unset;\n border: none;\n color: var(--sn-stylekit-foreground-color);\n font-size: ",";\n font-weight: ",";\n height: auto;\n margin: 6px 0 6px 0;\n outline: none;\n padding: 0;\n width: 100%;\n\n /* Remove default shadow for iOS mobile */\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n\n ::placeholder {\n color: var(--sn-stylekit-input-placeholder-color);\n }\n"])),(function(e){return"big"===e.textSize?"1.125rem":"var(--sn-stylekit-font-size-h3)"}),(function(e){return"big"===e.textSize?"500":"400"})),Gl=(0,u.forwardRef)((function(e,t){var n=e.value,r=e.autoFocus,o=e.dir,i=void 0===o?"auto":o,a=e.disabled,u=e.enterKeyHint,l=e.placeholder,c=e.spellCheck,s=e.testId,f=e.textSize,d=void 0===f?"normal":f,p=e.onBlur,h=e.onChange,v=e.onKeyPress;return(0,li.jsx)(Hl,{type:"text",autoFocus:r,"data-testid":s,dir:i,disabled:a,enterKeyHint:u,onBlur:p,onChange:h,onKeyPress:v,placeholder:l,ref:t,spellCheck:c,textSize:d,value:n})})),Vl=nt.button(Sl||(Sl=o(["\n align-items: center;\n background-color: var(--sn-stylekit-background-color);\n border-radius: 8px;\n border: 1px solid var(--sn-stylekit-border-color);\n box-sizing: border-box;\n color: var(--sn-stylekit-paragraph-text-color);\n cursor: pointer;\n display: flex;\n height: 36px;\n justify-content: center;\n width: 100%;\n"]))),$l=function(){return(0,li.jsx)("svg",{className:"sn-icon small block",fill:"none",height:"14",viewBox:"0 0 14 14",width:"14",xmlns:"http://www.w3.org/2000/svg",children:(0,li.jsx)("path",{d:"M14 7C14 7.55228 13.5523 8 13 8H8V13C8 13.5523 7.55228 14 7 14C6.44772 14 6 13.5523 6 13V8H1C0.447715 8 0 7.55228 0 7C0 6.44772 0.447715 6 1 6H6V1C6 0.447715 6.44772 0 7 0C7.55228 0 8 0.447715 8 1V6H13C13.5523 6 14 6.44772 14 7Z"})})},ql=function(){return(0,li.jsx)("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"sn-icon block",children:(0,li.jsx)("path",{d:"M6.17622 7.15015L10.0012 10.9751L13.8262 7.15015L15.0012 8.33348L10.0012 13.3335L5.00122 8.33348L6.17622 7.15015Z"})})},Kl=function(){return(0,li.jsx)("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"sn-icon block",children:(0,li.jsx)("path",{d:"M13.826 13.3335L10.001 9.5085L6.17597 13.3335L5.00097 12.1502L10.001 7.15017L15.001 12.1502L13.826 13.3335Z"})})},Yl=function(){return(0,li.jsx)("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"sn-icon block",children:(0,li.jsx)("path",{d:"M8 17L12 13H15.2C15.6 14.2 16.7 15 18 15C19.7 15 21 13.7 21 12C21 10.3 19.7 9 18 9C16.7 9 15.6 9.8 15.2 11H12L8 7V3H3V8H6L10.2 12L6 16H3V21H8V17Z"})})},Zl=nt((function(e){var t=Object.assign({},e);return(0,li.jsx)("span",ur(ur({"aria-hidden":!0},t),{},{children:"\u2026"}))}))(_l||(_l=o(["\n font-weight: 800;\n height: 18px;\n line-height: 10px;\n"]))),Xl=function(){return(0,li.jsx)("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"sn-icon block",children:(0,li.jsx)("path",{d:"M11.7167 7.5L12.5 8.28333L4.93333 15.8333H4.16667V15.0667L11.7167 7.5ZM14.7167 2.5C14.5083 2.5 14.2917 2.58333 14.1333 2.74167L12.6083 4.26667L15.7333 7.39167L17.2583 5.86667C17.5833 5.54167 17.5833 5 17.2583 4.69167L15.3083 2.74167C15.1417 2.575 14.9333 2.5 14.7167 2.5ZM11.7167 5.15833L2.5 14.375V17.5H5.625L14.8417 8.28333L11.7167 5.15833Z"})})},Ql=function(){return(0,li.jsx)("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"sn-icon block",children:(0,li.jsx)("path",{d:"M7.49992 2.5V3.33333H3.33325V5H4.16659V15.8333C4.16659 16.2754 4.34218 16.6993 4.65474 17.0118C4.9673 17.3244 5.39122 17.5 5.83325 17.5H14.1666C14.6086 17.5 15.0325 17.3244 15.3451 17.0118C15.6577 16.6993 15.8333 16.2754 15.8333 15.8333V5H16.6666V3.33333H12.4999V2.5H7.49992ZM5.83325 5H14.1666V15.8333H5.83325V5ZM7.49992 6.66667V14.1667H9.16658V6.66667H7.49992ZM10.8333 6.66667V14.1667H12.4999V6.66667H10.8333Z"})})},Jl=function(e){var t=e.style;return(0,li.jsx)("svg",{className:"fill-info-color",style:t,width:"157",height:"367",viewBox:"0 0 157 367",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,li.jsx)("path",{d:"M99.0001 247.998L98.647 248.934L99.0001 247.998ZM24.5 132L25.2141 132.7L24.5 132ZM0.5 0L5.37125 10.4692L12.0022 1.01598L0.5 0ZM6.92587 6.02551C8.4365 7.25097 9.90374 8.51179 11.327 9.8054L12.6722 8.32536C11.2213 7.00667 9.72566 5.72144 8.18586 4.47231L6.92587 6.02551ZM15.508 13.8262C16.8709 15.213 18.1874 16.6313 19.4569 18.0783L20.9603 16.7594C19.6661 15.2841 18.3239 13.8381 16.9344 12.4243L15.508 13.8262ZM23.1595 22.549C24.3562 24.0807 25.5035 25.6394 26.6005 27.2222L28.2443 26.0828C27.1256 24.4688 25.9557 22.8795 24.7355 21.3176L23.1595 22.549ZM29.7675 32.0834C30.7805 33.7408 31.7408 35.4199 32.6478 37.1178L34.4118 36.1754C33.4866 34.4434 32.5071 32.7307 31.474 31.0404L29.7675 32.0834ZM35.229 42.3095C36.0427 44.0742 36.8004 45.8551 37.5014 47.6489L39.3642 46.9209C38.6488 45.0901 37.8755 43.2727 37.0453 41.472L35.229 42.3095ZM39.4487 53.1125C40.0447 54.9603 40.5813 56.8179 41.0577 58.6819L42.9954 58.1866C42.5087 56.2824 41.9607 54.3852 41.3521 52.4985L39.4487 53.1125ZM42.315 64.3374C42.6759 66.2444 42.9736 68.1544 43.2076 70.0638L45.1927 69.8205C44.9534 67.8677 44.649 65.9148 44.2802 63.9656L42.315 64.3374ZM43.72 75.8346C43.8262 77.7696 43.8658 79.7001 43.838 81.6224L45.8378 81.6513C45.8663 79.6823 45.8257 77.7055 45.717 75.725L43.72 75.8346ZM43.5481 87.4004C43.3815 89.3283 43.1449 91.2438 42.8374 93.1429L44.8117 93.4626C45.1272 91.5138 45.3699 89.5491 45.5407 87.5725L43.5481 87.4004ZM41.6958 98.8108C41.2422 100.686 40.7159 102.54 40.1162 104.37L42.0168 104.992C42.6331 103.112 43.1738 101.207 43.6397 99.2812L41.6958 98.8108ZM38.0959 109.781C37.3508 111.553 36.5318 113.296 35.6381 115.006L37.4108 115.932C38.3304 114.172 39.173 112.379 39.9394 110.557L38.0959 109.781ZM32.7511 120.008C31.7252 121.624 30.6262 123.205 29.4531 124.748L31.045 125.958C32.2524 124.371 33.3837 122.743 34.4396 121.08L32.7511 120.008ZM25.7707 129.19C25.127 129.903 24.4654 130.607 23.7859 131.3L25.2141 132.7C25.9129 131.987 26.5935 131.264 27.2557 130.529L25.7707 129.19ZM23.7859 131.3C23.046 132.055 22.3444 132.839 21.6813 133.652L23.231 134.916C23.8557 134.151 24.5168 133.411 25.2141 132.7L23.7859 131.3ZM18.1578 138.875C17.1527 140.7 16.3036 142.621 15.6128 144.626L17.5038 145.278C18.1582 143.378 18.9612 141.562 19.9097 139.84L18.1578 138.875ZM14.0481 150.705C13.6914 152.726 13.4758 154.809 13.4028 156.942L15.4017 157.011C15.4715 154.967 15.6778 152.978 16.0176 151.053L14.0481 150.705ZM13.585 163.182C13.7679 165.206 14.0703 167.265 14.4936 169.35L16.4536 168.952C16.0444 166.936 15.7529 164.95 15.5769 163.002L13.585 163.182ZM16.0352 175.382C16.6308 177.318 17.3275 179.271 18.1263 181.235L19.9788 180.481C19.2016 178.571 18.5247 176.673 17.9468 174.794L16.0352 175.382ZM20.6917 186.878C21.6019 188.689 22.5984 190.504 23.6822 192.319L25.3994 191.293C24.3398 189.519 23.3666 187.746 22.4787 185.98L20.6917 186.878ZM27.037 197.53C28.1854 199.191 29.408 200.849 30.7054 202.501L32.278 201.265C31.0054 199.645 29.807 198.02 28.6823 196.393L27.037 197.53ZM34.6618 207.248C36.0002 208.766 37.4036 210.274 38.8726 211.771L40.3002 210.371C38.8556 208.898 37.4763 207.416 36.1617 205.925L34.6618 207.248ZM43.3085 216.071C44.7959 217.443 46.3409 218.804 47.9437 220.15L49.2299 218.618C47.6506 217.292 46.129 215.952 44.6647 214.601L43.3085 216.071ZM52.7561 224.013C54.3617 225.245 56.0184 226.463 57.7266 227.665L58.8774 226.029C57.1915 224.843 55.5572 223.641 53.9738 222.426L52.7561 224.013ZM62.8386 231.112C64.5391 232.211 66.2854 233.294 68.078 234.36L69.1003 232.641C67.3288 231.588 65.6036 230.517 63.9242 229.432L62.8386 231.112ZM73.4332 237.416C75.2119 238.39 77.0321 239.348 78.8941 240.287L79.7949 238.501C77.9528 237.572 76.1525 236.625 74.3938 235.662L73.4332 237.416ZM84.4528 242.979C86.285 243.831 88.1546 244.665 90.0618 245.481L90.8487 243.643C88.9601 242.834 87.1092 242.008 85.2956 241.165L84.4528 242.979ZM95.746 247.816C96.7041 248.193 97.6711 248.566 98.647 248.934L99.3532 247.063C98.3862 246.698 97.428 246.328 96.4788 245.955L95.746 247.816ZM98.647 248.934C99.569 249.282 100.479 249.633 101.376 249.988L102.112 248.129C101.204 247.77 100.285 247.414 99.3532 247.063L98.647 248.934ZM106.705 252.201C108.507 252.985 110.255 253.786 111.948 254.602L112.816 252.8C111.099 251.973 109.328 251.162 107.504 250.367L106.705 252.201ZM117.086 257.212C118.821 258.141 120.491 259.088 122.097 260.052L123.126 258.337C121.491 257.356 119.793 256.393 118.031 255.449L117.086 257.212ZM126.949 263.145C128.575 264.248 130.125 265.37 131.601 266.512L132.825 264.931C131.315 263.762 129.731 262.615 128.071 261.49L126.949 263.145ZM136.004 270.174C137.46 271.478 138.826 272.804 140.105 274.152L141.556 272.775C140.238 271.387 138.833 270.023 137.339 268.684L136.004 270.174ZM143.856 278.48C145.057 280.005 146.156 281.555 147.154 283.129L148.843 282.058C147.807 280.425 146.669 278.82 145.427 277.243L143.856 278.48ZM149.937 288.094C150.78 289.817 151.513 291.566 152.14 293.34L154.026 292.675C153.373 290.827 152.61 289.006 151.733 287.215L149.937 288.094ZM153.714 298.803C154.131 300.648 154.441 302.519 154.647 304.415L156.635 304.199C156.422 302.229 156.099 300.283 155.665 298.362L153.714 298.803ZM154.953 310.107C154.955 311.983 154.861 313.882 154.674 315.802L156.664 315.996C156.858 314.013 156.955 312.05 156.953 310.106L154.953 310.107ZM153.863 321.471C153.518 323.312 153.092 325.172 152.587 327.048L154.518 327.568C155.036 325.644 155.474 323.734 155.829 321.839L153.863 321.471ZM150.903 332.531C150.291 334.311 149.61 336.104 148.864 337.911L150.712 338.675C151.473 336.833 152.168 335.001 152.794 333.182L150.903 332.531ZM146.519 343.175C145.708 344.875 144.842 346.585 143.92 348.305L145.682 349.25C146.618 347.504 147.5 345.765 148.325 344.036L146.519 343.175ZM141.091 353.325C140.128 354.954 139.118 356.59 138.062 358.235L139.744 359.316C140.814 357.651 141.837 355.993 142.812 354.342L141.091 353.325ZM134.858 363.039C134.311 363.83 133.754 364.623 133.186 365.418L134.814 366.58C135.387 365.777 135.951 364.976 136.504 364.175L134.858 363.039Z"})})},ec=nt.div(Cl||(Cl=o(["\n background-color: var(--sn-stylekit-background-color);\n border: 1px solid var(--sn-stylekit-border-color);\n border-radius: 8px;\n box-sizing: border-box;\n padding: 16px;\n width: 100%;\n"]))),tc=nt.div(Ol||(Ol=o(["\n display: flex;\n flex-direction: column;\n margin-top: 9px;\n position: relative;\n"]))),nc=nt.div(Il||(Il=o(["\n align-items: center;\n align-content: center;\n display: flex;\n flex-direction: column;\n position: absolute;\n width: 100%;\n z-index: 100;\n"]))),rc=nt.div(Nl||(Nl=o(["\n color: var(--sn-stylekit-paragraph-text-color);\n font-size: var(--sn-stylekit-font-size-h2);\n margin: 0;\n text-align: center;\n width: 194px;\n"]))),oc=nt.div(Dl||(Dl=o(["\n background-color: var(--sn-stylekit-border-color);\n border-radius: 8px;\n box-sizing: border-box;\n height: 66px;\n padding: 16px;\n margin-bottom: 9px;\n"]))),ic=nt(oc)(Tl||(Tl=o(["\n opacity: 0.8;\n"]))),ac=nt(oc)(Rl||(Rl=o(["\n opacity: 0.6;\n"]))),uc=nt(oc)(Al||(Al=o(["\n opacity: 0.4;\n"]))),lc=nt(oc)(Pl||(Pl=o(["\n opacity: 0.2;\n"]))),cc=function(){var e=(0,u.createRef)(),t=Jt(),n=it((0,u.useState)(""),2),r=n[0],o=n[1],i=it((0,u.useState)(!1),2),a=i[0],l=i[1],c=en((function(e){return e.settings.canEdit})),s=en((function(e){return e.settings.spellCheckerEnabled})),f=en((function(e){return e.tasks.groups})).length;return c?(0,li.jsx)(li.Fragment,{children:!a&&f>0?(0,li.jsx)(Vl,{"data-testid":"create-group-button",onClick:function(){l(!a)},children:(0,li.jsx)($l,{})}):(0,li.jsxs)(li.Fragment,{children:[(0,li.jsx)(ec,{children:(0,li.jsx)(Gl,{testId:"create-group-input",value:r,enterKeyHint:"go",onBlur:function(e){l(!1),o("")},onChange:function(e){o(e.target.value)},onKeyPress:function(e){if("Enter"===e.key){var n=e.target.value;n.length>0&&t($o({groupName:n})),l(!1),o("")}},placeholder:"Name your task group and press enter",ref:e,spellCheck:s,textSize:"big",autoFocus:!0})}),0===f&&(0,li.jsxs)(tc,{children:[(0,li.jsxs)(nc,{children:[(0,li.jsx)(Jl,{style:{marginRight:140,marginBottom:12}}),(0,li.jsx)(rc,{children:"Get started by naming your first task group"})]}),(0,li.jsx)(ic,{}),(0,li.jsx)(ac,{}),(0,li.jsx)(uc,{}),(0,li.jsx)(lc,{})]})]})}):(0,li.jsx)(li.Fragment,{})},sc=nt.div(Ll||(Ll=o(["\n background-color: var(--sn-stylekit-background-color);\n border: 1px solid var(--sn-stylekit-border-color);\n border-radius: 8px;\n box-sizing: border-box;\n height: 100%;\n padding: 16px;\n margin-bottom: 9px;\n"]))),fc=function(){var e=en((function(e){return e.tasks.lastError}));return e?(0,li.jsx)(sc,{children:e}):(0,li.jsx)(li.Fragment,{})},dc=function(){var e=(0,u.useRef)(null),t=Jt();return(0,li.jsx)(hl,{"data-testid":"migrate-legacy-content-dialog",leastDestructiveRef:e,children:(0,li.jsx)("div",{className:"sk-modal-content",children:(0,li.jsx)("div",{className:"sn-component",children:(0,li.jsx)("div",{className:"sk-panel",children:(0,li.jsx)("div",{className:"sk-panel-content",children:(0,li.jsxs)("div",{className:"sk-panel-section",children:[(0,li.jsx)(dl,{className:"sk-h3 sk-panel-section-title",children:"Are you sure you want to migrate legacy content to the new format?"}),(0,li.jsxs)("div",{className:"flex my-1",children:[(0,li.jsx)("button",{className:"sn-button small neutral",onClick:function(){t(Vo({continue:!1}))},ref:e,children:"Cancel"}),(0,li.jsx)("button",{className:"sn-button small ml-2 info",onClick:function(){t(Vo({continue:!0}))},children:"Migrate"})]})]})})})})})})},pc=function(e){var t=e.children;return(0,li.jsx)("p",{className:"ml-2 w-full font-medium",children:t})},hc=function(e){var t=e.groups,n=t.length,r=t.slice(0,Math.min(n,3));if(0===r.length)return(0,li.jsx)(li.Fragment,{});var o=n-r.length,i=o>1?"groups":"group";return(0,li.jsxs)(li.Fragment,{children:[(0,li.jsx)("div",{className:"my-2",children:r.map((function(e,t){var n=e.tasks.length,r=e.tasks.filter((function(e){return!0===e.completed})).length;return(0,li.jsxs)("p",{"data-testid":"group-summary",className:"mb-1",children:[Do(e.name,30),(0,li.jsxs)("span",{className:"px-2 neutral",children:[r,"/",n]})]},"group-".concat(e.name))}))}),o>0&&(0,li.jsxs)("p",{"data-testid":"groups-remaining",children:["And ",o," other ",i]})]})},vc=function(e){var t=e.groupedTasks,n=No(t),r=Io(n).completedTasks,o=Oo(n.length,r.length),i=10*Math.floor(o/10);return(0,li.jsxs)(li.Fragment,{children:[(0,li.jsxs)("div",{className:"flex flex-grow items-center mb-3",children:[(0,li.jsxs)("svg",{"data-testid":"circular-progress-bar",className:"sk-circular-progress",viewBox:"0 0 18 18",children:[(0,li.jsx)("circle",{className:"background"}),(0,li.jsx)("circle",{className:"progress p-".concat(i)})]}),(0,li.jsxs)(pc,{children:[r.length,"/",n.length," tasks completed"]})]}),(0,li.jsx)(hc,{groups:t})]})};function gc(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var mc="function"===typeof Symbol&&Symbol.observable||"@@observable",yc=function(){return Math.random().toString(36).substring(7).split("").join(".")},bc={INIT:"@@redux/INIT"+yc(),REPLACE:"@@redux/REPLACE"+yc(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+yc()}};function wc(e){if("object"!==typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function xc(e,t,n){var r;if("function"===typeof t&&"function"===typeof n||"function"===typeof n&&"function"===typeof arguments[3])throw new Error(gc(0));if("function"===typeof t&&"undefined"===typeof n&&(n=t,t=void 0),"undefined"!==typeof n){if("function"!==typeof n)throw new Error(gc(1));return n(xc)(e,t)}if("function"!==typeof e)throw new Error(gc(2));var o=e,i=t,a=[],u=a,l=!1;function c(){u===a&&(u=a.slice())}function s(){if(l)throw new Error(gc(3));return i}function f(e){if("function"!==typeof e)throw new Error(gc(4));if(l)throw new Error(gc(5));var t=!0;return c(),u.push(e),function(){if(t){if(l)throw new Error(gc(6));t=!1,c();var n=u.indexOf(e);u.splice(n,1),a=null}}}function d(e){if(!wc(e))throw new Error(gc(7));if("undefined"===typeof e.type)throw new Error(gc(8));if(l)throw new Error(gc(9));try{l=!0,i=o(i,e)}finally{l=!1}for(var t=a=u,n=0;n<t.length;n++){(0,t[n])()}return e}function p(e){if("function"!==typeof e)throw new Error(gc(10));o=e,d({type:bc.REPLACE})}function h(){var e,t=f;return(e={subscribe:function(e){if("object"!==typeof e||null===e)throw new Error(gc(11));function n(){e.next&&e.next(s())}return n(),{unsubscribe:t(n)}}})[mc]=function(){return this},e}return d({type:bc.INIT}),(r={dispatch:d,subscribe:f,getState:s,replaceReducer:p})[mc]=h,r}function Ec(e,t){return function(){return t(e.apply(this,arguments))}}function kc(e,t){if("function"===typeof e)return Ec(e,t);if("object"!==typeof e||null===e)throw new Error(gc(16));var n={};for(var r in e){var o=e[r];"function"===typeof o&&(n[r]=Ec(o,t))}return n}function Sc(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}var _c=u.createContext(null);var Cc=function(e){e()};function Oc(){var e=Cc,t=null,n=null;return{clear:function(){t=null,n=null},notify:function(){e((function(){for(var e=t;e;)e.callback(),e=e.next}))},get:function(){for(var e=[],n=t;n;)e.push(n),n=n.next;return e},subscribe:function(e){var r=!0,o=n={callback:e,next:null,prev:n};return o.prev?o.prev.next=o:t=o,function(){r&&null!==t&&(r=!1,o.next?o.next.prev=o.prev:n=o.prev,o.prev?o.prev.next=o.next:t=o.next)}}}}var Ic={notify:function(){},get:function(){return[]}};function Nc(e,t){var n,r=Ic;function o(){a.onStateChange&&a.onStateChange()}function i(){n||(n=t?t.addNestedSub(o):e.subscribe(o),r=Oc())}var a={addNestedSub:function(e){return i(),r.subscribe(e)},notifyNestedSubs:function(){r.notify()},handleChangeWrapper:o,isSubscribed:function(){return Boolean(n)},trySubscribe:i,tryUnsubscribe:function(){n&&(n(),n=void 0,r.clear(),r=Ic)},getListeners:function(){return r}};return a}var Dc="undefined"!==typeof window&&"undefined"!==typeof window.document&&"undefined"!==typeof window.document.createElement?u.useLayoutEffect:u.useEffect;var Tc=function(e){var t=e.store,n=e.context,r=e.children,o=(0,u.useMemo)((function(){var e=Nc(t);return{store:t,subscription:e}}),[t]),i=(0,u.useMemo)((function(){return t.getState()}),[t]);Dc((function(){var e=o.subscription;return e.onStateChange=e.notifyNestedSubs,e.trySubscribe(),i!==t.getState()&&e.notifyNestedSubs(),function(){e.tryUnsubscribe(),e.onStateChange=null}}),[o,i]);var a=n||_c;return u.createElement(a.Provider,{value:o},r)},Rc=["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"],Ac=["reactReduxForwardedRef"],Pc=[],Lc=[null,null];function Mc(e,t){var n=e[1];return[t.payload,n+1]}function jc(e,t,n){Dc((function(){return e.apply(void 0,t)}),n)}function Fc(e,t,n,r,o,i,a){e.current=r,t.current=o,n.current=!1,i.current&&(i.current=null,a())}function Bc(e,t,n,r,o,i,a,u,l,c){if(e){var s=!1,f=null,d=function(){if(!s){var e,n,d=t.getState();try{e=r(d,o.current)}catch(p){n=p,f=p}n||(f=null),e===i.current?a.current||l():(i.current=e,u.current=e,a.current=!0,c({type:"STORE_UPDATED",payload:{error:n}}))}};n.onStateChange=d,n.trySubscribe(),d();return function(){if(s=!0,n.tryUnsubscribe(),n.onStateChange=null,f)throw f}}}var zc=function(){return[null,0]};function Uc(e,t){void 0===t&&(t={});var n=t,r=n.getDisplayName,o=void 0===r?function(e){return"ConnectAdvanced("+e+")"}:r,i=n.methodName,a=void 0===i?"connectAdvanced":i,l=n.renderCountProp,c=void 0===l?void 0:l,s=n.shouldHandleStateChanges,f=void 0===s||s,d=n.storeKey,p=void 0===d?"store":d,h=(n.withRef,n.forwardRef),v=void 0!==h&&h,g=n.context,m=void 0===g?_c:g,x=_i(n,Rc),E=m;return function(t){var n=t.displayName||t.name||"Component",r=o(n),i=w({},x,{getDisplayName:o,methodName:a,renderCountProp:c,shouldHandleStateChanges:f,storeKey:p,displayName:r,wrappedComponentName:n,WrappedComponent:t}),l=x.pure;var s=l?u.useMemo:function(e){return e()};function d(n){var r=(0,u.useMemo)((function(){var e=n.reactReduxForwardedRef,t=_i(n,Ac);return[n.context,e,t]}),[n]),o=r[0],a=r[1],l=r[2],c=(0,u.useMemo)((function(){return o&&o.Consumer&&(0,b.isContextConsumer)(u.createElement(o.Consumer,null))?o:E}),[o,E]),d=(0,u.useContext)(c),p=Boolean(n.store)&&Boolean(n.store.getState)&&Boolean(n.store.dispatch);Boolean(d)&&Boolean(d.store);var h=p?n.store:d.store,v=(0,u.useMemo)((function(){return function(t){return e(t.dispatch,i)}(h)}),[h]),g=(0,u.useMemo)((function(){if(!f)return Lc;var e=Nc(h,p?null:d.subscription),t=e.notifyNestedSubs.bind(e);return[e,t]}),[h,p,d]),m=g[0],y=g[1],x=(0,u.useMemo)((function(){return p?d:w({},d,{subscription:m})}),[p,d,m]),k=(0,u.useReducer)(Mc,Pc,zc),S=k[0][0],_=k[1];if(S&&S.error)throw S.error;var C=(0,u.useRef)(),O=(0,u.useRef)(l),I=(0,u.useRef)(),N=(0,u.useRef)(!1),D=s((function(){return I.current&&l===O.current?I.current:v(h.getState(),l)}),[h,S,l]);jc(Fc,[O,C,N,l,D,I,y]),jc(Bc,[f,h,m,v,O,C,N,I,y,_],[h,m,v]);var T=(0,u.useMemo)((function(){return u.createElement(t,w({},D,{ref:a}))}),[a,t,D]);return(0,u.useMemo)((function(){return f?u.createElement(c.Provider,{value:x},T):T}),[c,T,x])}var h=l?u.memo(d):d;if(h.WrappedComponent=t,h.displayName=d.displayName=r,v){var g=u.forwardRef((function(e,t){return u.createElement(h,w({},e,{reactReduxForwardedRef:t}))}));return g.displayName=r,g.WrappedComponent=t,y()(g,t)}return y()(h,t)}}function Wc(e,t){return e===t?0!==e||0!==t||1/e===1/t:e!==e&&t!==t}function Hc(e,t){if(Wc(e,t))return!0;if("object"!==typeof e||null===e||"object"!==typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var o=0;o<n.length;o++)if(!Object.prototype.hasOwnProperty.call(t,n[o])||!Wc(e[n[o]],t[n[o]]))return!1;return!0}function Gc(e){return function(t,n){var r=e(t,n);function o(){return r}return o.dependsOnOwnProps=!1,o}}function Vc(e){return null!==e.dependsOnOwnProps&&void 0!==e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function $c(e,t){return function(t,n){n.displayName;var r=function(e,t){return r.dependsOnOwnProps?r.mapToProps(e,t):r.mapToProps(e)};return r.dependsOnOwnProps=!0,r.mapToProps=function(t,n){r.mapToProps=e,r.dependsOnOwnProps=Vc(e);var o=r(t,n);return"function"===typeof o&&(r.mapToProps=o,r.dependsOnOwnProps=Vc(o),o=r(t,n)),o},r}}var qc=[function(e){return"function"===typeof e?$c(e):void 0},function(e){return e?void 0:Gc((function(e){return{dispatch:e}}))},function(e){return e&&"object"===typeof e?Gc((function(t){return function(e,t){var n={},r=function(r){var o=e[r];"function"===typeof o&&(n[r]=function(){return t(o.apply(void 0,arguments))})};for(var o in e)r(o);return n}(e,t)})):void 0}];var Kc=[function(e){return"function"===typeof e?$c(e):void 0},function(e){return e?void 0:Gc((function(){return{}}))}];function Yc(e,t,n){return w({},n,e,t)}var Zc=[function(e){return"function"===typeof e?function(e){return function(t,n){n.displayName;var r,o=n.pure,i=n.areMergedPropsEqual,a=!1;return function(t,n,u){var l=e(t,n,u);return a?o&&i(l,r)||(r=l):(a=!0,r=l),r}}}(e):void 0},function(e){return e?void 0:function(){return Yc}}],Xc=["initMapStateToProps","initMapDispatchToProps","initMergeProps"];function Qc(e,t,n,r){return function(o,i){return n(e(o,i),t(r,i),i)}}function Jc(e,t,n,r,o){var i,a,u,l,c,s=o.areStatesEqual,f=o.areOwnPropsEqual,d=o.areStatePropsEqual,p=!1;function h(o,p){var h=!f(p,a),v=!s(o,i,p,a);return i=o,a=p,h&&v?(u=e(i,a),t.dependsOnOwnProps&&(l=t(r,a)),c=n(u,l,a)):h?(e.dependsOnOwnProps&&(u=e(i,a)),t.dependsOnOwnProps&&(l=t(r,a)),c=n(u,l,a)):v?function(){var t=e(i,a),r=!d(t,u);return u=t,r&&(c=n(u,l,a)),c}():c}return function(o,s){return p?h(o,s):(u=e(i=o,a=s),l=t(r,a),c=n(u,l,a),p=!0,c)}}function es(e,t){var n=t.initMapStateToProps,r=t.initMapDispatchToProps,o=t.initMergeProps,i=_i(t,Xc),a=n(e,i),u=r(e,i),l=o(e,i);return(i.pure?Jc:Qc)(a,u,l,e,i)}var ts=["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"];function ns(e,t,n){for(var r=t.length-1;r>=0;r--){var o=t[r](e);if(o)return o}return function(t,r){throw new Error("Invalid value of type "+typeof e+" for "+n+" argument when connecting component "+r.wrappedComponentName+".")}}function rs(e,t){return e===t}function os(e){var t=void 0===e?{}:e,n=t.connectHOC,r=void 0===n?Uc:n,o=t.mapStateToPropsFactories,i=void 0===o?Kc:o,a=t.mapDispatchToPropsFactories,u=void 0===a?qc:a,l=t.mergePropsFactories,c=void 0===l?Zc:l,s=t.selectorFactory,f=void 0===s?es:s;return function(e,t,n,o){void 0===o&&(o={});var a=o,l=a.pure,s=void 0===l||l,d=a.areStatesEqual,p=void 0===d?rs:d,h=a.areOwnPropsEqual,v=void 0===h?Hc:h,g=a.areStatePropsEqual,m=void 0===g?Hc:g,y=a.areMergedPropsEqual,b=void 0===y?Hc:y,x=_i(a,ts),E=ns(e,i,"mapStateToProps"),k=ns(t,u,"mapDispatchToProps"),S=ns(n,c,"mergeProps");return r(f,w({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:Boolean(e),initMapStateToProps:E,initMapDispatchToProps:k,initMergeProps:S,pure:s,areStatesEqual:p,areOwnPropsEqual:v,areStatePropsEqual:m,areMergedPropsEqual:b},x))}}var is=os();function as(e,t){var n=(0,u.useState)((function(){return{inputs:t,result:e()}}))[0],r=(0,u.useRef)(!0),o=(0,u.useRef)(n),i=r.current||Boolean(t&&o.current.inputs&&function(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}(t,o.current.inputs))?o.current:{inputs:t,result:e()};return(0,u.useEffect)((function(){r.current=!1,o.current=i}),[i]),i.result}!function(e){Cc=e}(l.unstable_batchedUpdates);var us=as,ls=function(e,t){return as((function(){return e}),t)},cs="Invariant failed";var ss=function(e){var t=e.top,n=e.right,r=e.bottom,o=e.left;return{top:t,right:n,bottom:r,left:o,width:n-o,height:r-t,x:o,y:t,center:{x:(n+o)/2,y:(r+t)/2}}},fs=function(e,t){return{top:e.top-t.top,left:e.left-t.left,bottom:e.bottom+t.bottom,right:e.right+t.right}},ds=function(e,t){return{top:e.top+t.top,left:e.left+t.left,bottom:e.bottom-t.bottom,right:e.right-t.right}},ps={top:0,right:0,bottom:0,left:0},hs=function(e){var t=e.borderBox,n=e.margin,r=void 0===n?ps:n,o=e.border,i=void 0===o?ps:o,a=e.padding,u=void 0===a?ps:a,l=ss(fs(t,r)),c=ss(ds(t,i)),s=ss(ds(c,u));return{marginBox:l,borderBox:ss(t),paddingBox:c,contentBox:s,margin:r,border:i,padding:u}},vs=function(e){var t=e.slice(0,-2);if("px"!==e.slice(-2))return 0;var n=Number(t);return isNaN(n)&&function(e,t){if(!e)throw new Error(cs)}(!1),n},gs=function(e,t){var n,r,o=e.borderBox,i=e.border,a=e.margin,u=e.padding,l=(r=t,{top:(n=o).top+r.y,left:n.left+r.x,bottom:n.bottom+r.y,right:n.right+r.x});return hs({borderBox:l,border:i,margin:a,padding:u})},ms=function(e,t){return void 0===t&&(t={x:window.pageXOffset,y:window.pageYOffset}),gs(e,t)},ys=function(e,t){var n={top:vs(t.marginTop),right:vs(t.marginRight),bottom:vs(t.marginBottom),left:vs(t.marginLeft)},r={top:vs(t.paddingTop),right:vs(t.paddingRight),bottom:vs(t.paddingBottom),left:vs(t.paddingLeft)},o={top:vs(t.borderTopWidth),right:vs(t.borderRightWidth),bottom:vs(t.borderBottomWidth),left:vs(t.borderLeftWidth)};return hs({borderBox:e,margin:n,padding:r,border:o})},bs=function(e){var t=e.getBoundingClientRect(),n=window.getComputedStyle(e);return ys(t,n)},ws=Number.isNaN||function(e){return"number"===typeof e&&e!==e};function xs(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(r=e[n],o=t[n],!(r===o||ws(r)&&ws(o)))return!1;var r,o;return!0}var Es=function(e,t){var n;void 0===t&&(t=xs);var r,o=[],i=!1;return function(){for(var a=[],u=0;u<arguments.length;u++)a[u]=arguments[u];return i&&n===this&&t(a,o)||(r=e.apply(this,a),i=!0,n=this,o=a),r}},ks=function(e){var t=[],n=null,r=function(){for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];t=o,n||(n=requestAnimationFrame((function(){n=null,e.apply(void 0,t)})))};return r.cancel=function(){n&&(cancelAnimationFrame(n),n=null)},r};function Ss(e,t){}Ss.bind(null,"warn"),Ss.bind(null,"error");function _s(){}function Cs(e,t,n){var r=t.map((function(t){var r=function(e,t){return w({},e,{},t)}(n,t.options);return e.addEventListener(t.eventName,t.fn,r),function(){e.removeEventListener(t.eventName,t.fn,r)}}));return function(){r.forEach((function(e){e()}))}}var Os="Invariant failed";function Is(e){this.message=e}function Ns(e,t){if(!e)throw new Is(Os)}Is.prototype.toString=function(){return this.message};var Ds=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).callbacks=null,t.unbind=_s,t.onWindowError=function(e){var n=t.getCallbacks();n.isDragging()&&n.tryAbort(),e.error instanceof Is&&e.preventDefault()},t.getCallbacks=function(){if(!t.callbacks)throw new Error("Unable to find AppCallbacks in <ErrorBoundary/>");return t.callbacks},t.setCallbacks=function(e){t.callbacks=e},t}Vi(t,e);var n=t.prototype;return n.componentDidMount=function(){this.unbind=Cs(window,[{eventName:"error",fn:this.onWindowError}])},n.componentDidCatch=function(e){if(!(e instanceof Is))throw e;this.setState({})},n.componentWillUnmount=function(){this.unbind()},n.render=function(){return this.props.children(this.setCallbacks)},t}(u.Component),Ts=function(e){return e+1},Rs=function(e,t){var n=e.droppableId===t.droppableId,r=Ts(e.index),o=Ts(t.index);return n?"\n You have moved the item from position "+r+"\n to position "+o+"\n ":"\n You have moved the item from position "+r+"\n in list "+e.droppableId+"\n to list "+t.droppableId+"\n in position "+o+"\n "},As=function(e,t,n){return t.droppableId===n.droppableId?"\n The item "+e+"\n has been combined with "+n.draggableId:"\n The item "+e+"\n in list "+t.droppableId+"\n has been combined with "+n.draggableId+"\n in list "+n.droppableId+"\n "},Ps=function(e){return"\n The item has returned to its starting position\n of "+Ts(e.index)+"\n"},Ls="\n Press space bar to start a drag.\n When dragging you can use the arrow keys to move the item around and escape to cancel.\n Some screen readers may require you to be in focus mode or to use your pass through key\n",Ms=function(e){return"\n You have lifted an item in position "+Ts(e.source.index)+"\n"},js=function(e){var t=e.destination;if(t)return Rs(e.source,t);var n=e.combine;return n?As(e.draggableId,e.source,n):"You are over an area that cannot be dropped on"},Fs=function(e){if("CANCEL"===e.reason)return"\n Movement cancelled.\n "+Ps(e.source)+"\n ";var t=e.destination,n=e.combine;return t?"\n You have dropped the item.\n "+Rs(e.source,t)+"\n ":n?"\n You have dropped the item.\n "+As(e.draggableId,e.source,n)+"\n ":"\n The item has been dropped while not over a drop area.\n "+Ps(e.source)+"\n "},Bs={x:0,y:0},zs=function(e,t){return{x:e.x+t.x,y:e.y+t.y}},Us=function(e,t){return{x:e.x-t.x,y:e.y-t.y}},Ws=function(e,t){return e.x===t.x&&e.y===t.y},Hs=function(e){return{x:0!==e.x?-e.x:0,y:0!==e.y?-e.y:0}},Gs=function(e,t,n){var r;return void 0===n&&(n=0),(r={})[e]=t,r["x"===e?"y":"x"]=n,r},Vs=function(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))},$s=function(e,t){return Math.min.apply(Math,t.map((function(t){return Vs(e,t)})))},qs=function(e){return function(t){return{x:e(t.x),y:e(t.y)}}},Ks=function(e,t){return{top:e.top+t.y,left:e.left+t.x,bottom:e.bottom+t.y,right:e.right+t.x}},Ys=function(e){return[{x:e.left,y:e.top},{x:e.right,y:e.top},{x:e.left,y:e.bottom},{x:e.right,y:e.bottom}]},Zs=function(e,t){return t&&t.shouldClipSubject?function(e,t){var n=ss({top:Math.max(t.top,e.top),right:Math.min(t.right,e.right),bottom:Math.min(t.bottom,e.bottom),left:Math.max(t.left,e.left)});return n.width<=0||n.height<=0?null:n}(t.pageMarginBox,e):ss(e)},Xs=function(e){var t=e.page,n=e.withPlaceholder,r=e.axis,o=e.frame,i=function(e,t){return t?Ks(e,t.scroll.diff.displacement):e}(t.marginBox,o),a=function(e,t,n){var r;return n&&n.increasedBy?w({},e,((r={})[t.end]=e[t.end]+n.increasedBy[t.line],r)):e}(i,r,n);return{page:t,withPlaceholder:n,active:Zs(a,o)}},Qs=function(e,t){e.frame||Ns(!1);var n=e.frame,r=Us(t,n.scroll.initial),o=Hs(r),i=w({},n,{scroll:{initial:n.scroll.initial,current:t,diff:{value:r,displacement:o},max:n.scroll.max}});return w({},e,{frame:i,subject:Xs({page:e.subject.page,withPlaceholder:e.subject.withPlaceholder,axis:e.axis,frame:i})})};function Js(e){return Object.values?Object.values(e):Object.keys(e).map((function(t){return e[t]}))}function ef(e,t){if(e.findIndex)return e.findIndex(t);for(var n=0;n<e.length;n++)if(t(e[n]))return n;return-1}function tf(e,t){if(e.find)return e.find(t);var n=ef(e,t);return-1!==n?e[n]:void 0}function nf(e){return Array.prototype.slice.call(e)}var rf=Es((function(e){return e.reduce((function(e,t){return e[t.descriptor.id]=t,e}),{})})),of=Es((function(e){return e.reduce((function(e,t){return e[t.descriptor.id]=t,e}),{})})),af=Es((function(e){return Js(e)})),uf=Es((function(e){return Js(e)})),lf=Es((function(e,t){var n=uf(t).filter((function(t){return e===t.descriptor.droppableId})).sort((function(e,t){return e.descriptor.index-t.descriptor.index}));return n}));function cf(e){return e.at&&"REORDER"===e.at.type?e.at.destination:null}function sf(e){return e.at&&"COMBINE"===e.at.type?e.at.combine:null}var ff=Es((function(e,t){return t.filter((function(t){return t.descriptor.id!==e.descriptor.id}))})),df=function(e,t){return e.descriptor.droppableId===t.descriptor.id},pf={point:Bs,value:0},hf={invisible:{},visible:{},all:[]},vf={displaced:hf,displacedBy:pf,at:null},gf=function(e,t){return function(n){return e<=n&&n<=t}},mf=function(e){var t=gf(e.top,e.bottom),n=gf(e.left,e.right);return function(r){if(t(r.top)&&t(r.bottom)&&n(r.left)&&n(r.right))return!0;var o=t(r.top)||t(r.bottom),i=n(r.left)||n(r.right);if(o&&i)return!0;var a=r.top<e.top&&r.bottom>e.bottom,u=r.left<e.left&&r.right>e.right;return!(!a||!u)||(a&&i||u&&o)}},yf=function(e){var t=gf(e.top,e.bottom),n=gf(e.left,e.right);return function(e){return t(e.top)&&t(e.bottom)&&n(e.left)&&n(e.right)}},bf={direction:"vertical",line:"y",crossAxisLine:"x",start:"top",end:"bottom",size:"height",crossAxisStart:"left",crossAxisEnd:"right",crossAxisSize:"width"},wf={direction:"horizontal",line:"x",crossAxisLine:"y",start:"left",end:"right",size:"width",crossAxisStart:"top",crossAxisEnd:"bottom",crossAxisSize:"height"},xf=function(e){var t=e.target,n=e.destination,r=e.viewport,o=e.withDroppableDisplacement,i=e.isVisibleThroughFrameFn,a=o?function(e,t){var n=t.frame?t.frame.scroll.diff.displacement:Bs;return Ks(e,n)}(t,n):t;return function(e,t,n){return!!t.subject.active&&n(t.subject.active)(e)}(a,n,i)&&function(e,t,n){return n(t)(e)}(a,r,i)},Ef=function(e){return xf(w({},e,{isVisibleThroughFrameFn:mf}))},kf=function(e){return xf(w({},e,{isVisibleThroughFrameFn:yf}))};function Sf(e){var t=e.afterDragging,n=e.destination,r=e.displacedBy,o=e.viewport,i=e.forceShouldAnimate,a=e.last;return t.reduce((function(e,t){var u=function(e,t){var n=e.page.marginBox,r={top:t.point.y,right:0,bottom:0,left:t.point.x};return ss(fs(n,r))}(t,r),l=t.descriptor.id;if(e.all.push(l),!Ef({target:u,destination:n,viewport:o,withDroppableDisplacement:!0}))return e.invisible[t.descriptor.id]=!0,e;var c=function(e,t,n){if("boolean"===typeof n)return n;if(!t)return!0;var r=t.invisible,o=t.visible;if(r[e])return!1;var i=o[e];return!i||i.shouldAnimate}(l,a,i),s={draggableId:l,shouldAnimate:c};return e.visible[l]=s,e}),{all:[],visible:{},invisible:{}})}function _f(e){var t=e.insideDestination,n=e.inHomeList,r=e.displacedBy,o=e.destination,i=function(e,t){if(!e.length)return 0;var n=e[e.length-1].descriptor.index;return t.inHomeList?n:n+1}(t,{inHomeList:n});return{displaced:hf,displacedBy:r,at:{type:"REORDER",destination:{droppableId:o.descriptor.id,index:i}}}}function Cf(e){var t=e.draggable,n=e.insideDestination,r=e.destination,o=e.viewport,i=e.displacedBy,a=e.last,u=e.index,l=e.forceShouldAnimate,c=df(t,r);if(null==u)return _f({insideDestination:n,inHomeList:c,displacedBy:i,destination:r});var s=tf(n,(function(e){return e.descriptor.index===u}));if(!s)return _f({insideDestination:n,inHomeList:c,displacedBy:i,destination:r});var f=ff(t,n),d=n.indexOf(s);return{displaced:Sf({afterDragging:f.slice(d),destination:r,displacedBy:i,last:a,viewport:o.frame,forceShouldAnimate:l}),displacedBy:i,at:{type:"REORDER",destination:{droppableId:r.descriptor.id,index:u}}}}function Of(e,t){return Boolean(t.effected[e])}var If=function(e){var t=e.isMovingForward,n=e.isInHomeList,r=e.draggable,o=e.draggables,i=e.destination,a=e.insideDestination,u=e.previousImpact,l=e.viewport,c=e.afterCritical,s=u.at;if(s||Ns(!1),"REORDER"===s.type){var f=function(e){var t=e.isMovingForward,n=e.isInHomeList,r=e.insideDestination,o=e.location;if(!r.length)return null;var i=o.index,a=t?i+1:i-1,u=r[0].descriptor.index,l=r[r.length-1].descriptor.index;return a<u||a>(n?l:l+1)?null:a}({isMovingForward:t,isInHomeList:n,location:s.destination,insideDestination:a});return null==f?null:Cf({draggable:r,insideDestination:a,destination:i,viewport:l,last:u.displaced,displacedBy:u.displacedBy,index:f})}var d=function(e){var t=e.isMovingForward,n=e.destination,r=e.draggables,o=e.combine,i=e.afterCritical;if(!n.isCombineEnabled)return null;var a=o.draggableId,u=r[a].descriptor.index;return Of(a,i)?t?u:u-1:t?u+1:u}({isMovingForward:t,destination:i,displaced:u.displaced,draggables:o,combine:s.combine,afterCritical:c});return null==d?null:Cf({draggable:r,insideDestination:a,destination:i,viewport:l,last:u.displaced,displacedBy:u.displacedBy,index:d})},Nf=function(e){var t=e.afterCritical,n=e.impact,r=e.draggables,o=sf(n);o||Ns(!1);var i=o.draggableId,a=r[i].page.borderBox.center,u=function(e){var t=e.displaced,n=e.afterCritical,r=e.combineWith,o=e.displacedBy,i=Boolean(t.visible[r]||t.invisible[r]);return Of(r,n)?i?Bs:Hs(o.point):i?o.point:Bs}({displaced:n.displaced,afterCritical:t,combineWith:i,displacedBy:n.displacedBy});return zs(a,u)},Df=function(e,t){return t.margin[e.start]+t.borderBox[e.size]/2},Tf=function(e,t,n){return t[e.crossAxisStart]+n.margin[e.crossAxisStart]+n.borderBox[e.crossAxisSize]/2},Rf=function(e){var t=e.axis,n=e.moveRelativeTo,r=e.isMoving;return Gs(t.line,n.marginBox[t.end]+Df(t,r),Tf(t,n.marginBox,r))},Af=function(e){var t=e.axis,n=e.moveRelativeTo,r=e.isMoving;return Gs(t.line,n.marginBox[t.start]-function(e,t){return t.margin[e.end]+t.borderBox[e.size]/2}(t,r),Tf(t,n.marginBox,r))},Pf=function(e){var t=e.impact,n=e.draggable,r=e.draggables,o=e.droppable,i=e.afterCritical,a=lf(o.descriptor.id,r),u=n.page,l=o.axis;if(!a.length)return function(e){var t=e.axis,n=e.moveInto,r=e.isMoving;return Gs(t.line,n.contentBox[t.start]+Df(t,r),Tf(t,n.contentBox,r))}({axis:l,moveInto:o.page,isMoving:u});var c=t.displaced,s=t.displacedBy,f=c.all[0];if(f){var d=r[f];if(Of(f,i))return Af({axis:l,moveRelativeTo:d.page,isMoving:u});var p=gs(d.page,s.point);return Af({axis:l,moveRelativeTo:p,isMoving:u})}var h=a[a.length-1];if(h.descriptor.id===n.descriptor.id)return u.borderBox.center;if(Of(h.descriptor.id,i)){var v=gs(h.page,Hs(i.displacedBy.point));return Rf({axis:l,moveRelativeTo:v,isMoving:u})}return Rf({axis:l,moveRelativeTo:h.page,isMoving:u})},Lf=function(e,t){var n=e.frame;return n?zs(t,n.scroll.diff.displacement):t},Mf=function(e){var t=function(e){var t=e.impact,n=e.draggable,r=e.droppable,o=e.draggables,i=e.afterCritical,a=n.page.borderBox.center,u=t.at;return r&&u?"REORDER"===u.type?Pf({impact:t,draggable:n,draggables:o,droppable:r,afterCritical:i}):Nf({impact:t,draggables:o,afterCritical:i}):a}(e),n=e.droppable;return n?Lf(n,t):t},jf=function(e,t){var n=Us(t,e.scroll.initial),r=Hs(n);return{frame:ss({top:t.y,bottom:t.y+e.frame.height,left:t.x,right:t.x+e.frame.width}),scroll:{initial:e.scroll.initial,max:e.scroll.max,current:t,diff:{value:n,displacement:r}}}};function Ff(e,t){return e.map((function(e){return t[e]}))}var Bf=function(e){var t=e.pageBorderBoxCenter,n=e.draggable,r=function(e,t){return zs(e.scroll.diff.displacement,t)}(e.viewport,t),o=Us(r,n.page.borderBox.center);return zs(n.client.borderBox.center,o)},zf=function(e){var t=e.draggable,n=e.destination,r=e.newPageBorderBoxCenter,o=e.viewport,i=e.withDroppableDisplacement,a=e.onlyOnMainAxis,u=void 0!==a&&a,l=Us(r,t.page.borderBox.center),c={target:Ks(t.page.borderBox,l),destination:n,withDroppableDisplacement:i,viewport:o};return u?function(e){return xf(w({},e,{isVisibleThroughFrameFn:(t=e.destination.axis,function(e){var n=gf(e.top,e.bottom),r=gf(e.left,e.right);return function(e){return t===bf?n(e.top)&&n(e.bottom):r(e.left)&&r(e.right)}})}));var t}(c):kf(c)},Uf=function(e){var t=e.isMovingForward,n=e.draggable,r=e.destination,o=e.draggables,i=e.previousImpact,a=e.viewport,u=e.previousPageBorderBoxCenter,l=e.previousClientSelection,c=e.afterCritical;if(!r.isEnabled)return null;var s=lf(r.descriptor.id,o),f=df(n,r),d=function(e){var t=e.isMovingForward,n=e.draggable,r=e.destination,o=e.insideDestination,i=e.previousImpact;if(!r.isCombineEnabled)return null;if(!cf(i))return null;function a(e){var t={type:"COMBINE",combine:{draggableId:e,droppableId:r.descriptor.id}};return w({},i,{at:t})}var u=i.displaced.all,l=u.length?u[0]:null;if(t)return l?a(l):null;var c=ff(n,o);if(!l)return c.length?a(c[c.length-1].descriptor.id):null;var s=ef(c,(function(e){return e.descriptor.id===l}));-1===s&&Ns(!1);var f=s-1;return f<0?null:a(c[f].descriptor.id)}({isMovingForward:t,draggable:n,destination:r,insideDestination:s,previousImpact:i})||If({isMovingForward:t,isInHomeList:f,draggable:n,draggables:o,destination:r,insideDestination:s,previousImpact:i,viewport:a,afterCritical:c});if(!d)return null;var p=Mf({impact:d,draggable:n,droppable:r,draggables:o,afterCritical:c});if(zf({draggable:n,destination:r,newPageBorderBoxCenter:p,viewport:a.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0}))return{clientSelection:Bf({pageBorderBoxCenter:p,draggable:n,viewport:a}),impact:d,scrollJumpRequest:null};var h=Us(p,u),v=function(e){var t=e.impact,n=e.viewport,r=e.destination,o=e.draggables,i=e.maxScrollChange,a=jf(n,zs(n.scroll.current,i)),u=r.frame?Qs(r,zs(r.frame.scroll.current,i)):r,l=t.displaced,c=Sf({afterDragging:Ff(l.all,o),destination:r,displacedBy:t.displacedBy,viewport:a.frame,last:l,forceShouldAnimate:!1}),s=Sf({afterDragging:Ff(l.all,o),destination:u,displacedBy:t.displacedBy,viewport:n.frame,last:l,forceShouldAnimate:!1}),f={},d={},p=[l,c,s];return l.all.forEach((function(e){var t=function(e,t){for(var n=0;n<t.length;n++){var r=t[n].visible[e];if(r)return r}return null}(e,p);t?d[e]=t:f[e]=!0})),w({},t,{displaced:{all:l.all,invisible:f,visible:d}})}({impact:d,viewport:a,destination:r,draggables:o,maxScrollChange:h});return{clientSelection:l,impact:v,scrollJumpRequest:h}},Wf=function(e){var t=e.subject.active;return t||Ns(!1),t},Hf=function(e,t){var n=e.page.borderBox.center;return Of(e.descriptor.id,t)?Us(n,t.displacedBy.point):n},Gf=function(e,t){var n=e.page.borderBox;return Of(e.descriptor.id,t)?Ks(n,Hs(t.displacedBy.point)):n},Vf=Es((function(e,t){var n=t[e.line];return{value:n,point:Gs(e.line,n)}})),$f=function(e,t){return w({},e,{scroll:w({},e.scroll,{max:t})})},qf=function(e,t,n){var r=e.frame;df(t,e)&&Ns(!1),e.subject.withPlaceholder&&Ns(!1);var o=Vf(e.axis,t.displaceBy).point,i=function(e,t,n){var r=e.axis;if("virtual"===e.descriptor.mode)return Gs(r.line,t[r.line]);var o=e.subject.page.contentBox[r.size],i=lf(e.descriptor.id,n).reduce((function(e,t){return e+t.client.marginBox[r.size]}),0)+t[r.line]-o;return i<=0?null:Gs(r.line,i)}(e,o,n),a={placeholderSize:o,increasedBy:i,oldFrameMaxScroll:e.frame?e.frame.scroll.max:null};if(!r)return w({},e,{subject:Xs({page:e.subject.page,withPlaceholder:a,axis:e.axis,frame:e.frame})});var u=i?zs(r.scroll.max,i):r.scroll.max,l=$f(r,u);return w({},e,{subject:Xs({page:e.subject.page,withPlaceholder:a,axis:e.axis,frame:l}),frame:l})},Kf=function(e){var t=e.isMovingForward,n=e.previousPageBorderBoxCenter,r=e.draggable,o=e.isOver,i=e.draggables,a=e.droppables,u=e.viewport,l=e.afterCritical,c=function(e){var t=e.isMovingForward,n=e.pageBorderBoxCenter,r=e.source,o=e.droppables,i=e.viewport,a=r.subject.active;if(!a)return null;var u=r.axis,l=gf(a[u.start],a[u.end]),c=af(o).filter((function(e){return e!==r})).filter((function(e){return e.isEnabled})).filter((function(e){return Boolean(e.subject.active)})).filter((function(e){return mf(i.frame)(Wf(e))})).filter((function(e){var n=Wf(e);return t?a[u.crossAxisEnd]<n[u.crossAxisEnd]:n[u.crossAxisStart]<a[u.crossAxisStart]})).filter((function(e){var t=Wf(e),n=gf(t[u.start],t[u.end]);return l(t[u.start])||l(t[u.end])||n(a[u.start])||n(a[u.end])})).sort((function(e,n){var r=Wf(e)[u.crossAxisStart],o=Wf(n)[u.crossAxisStart];return t?r-o:o-r})).filter((function(e,t,n){return Wf(e)[u.crossAxisStart]===Wf(n[0])[u.crossAxisStart]}));if(!c.length)return null;if(1===c.length)return c[0];var s=c.filter((function(e){return gf(Wf(e)[u.start],Wf(e)[u.end])(n[u.line])}));return 1===s.length?s[0]:s.length>1?s.sort((function(e,t){return Wf(e)[u.start]-Wf(t)[u.start]}))[0]:c.sort((function(e,t){var r=$s(n,Ys(Wf(e))),o=$s(n,Ys(Wf(t)));return r!==o?r-o:Wf(e)[u.start]-Wf(t)[u.start]}))[0]}({isMovingForward:t,pageBorderBoxCenter:n,source:o,droppables:a,viewport:u});if(!c)return null;var s=lf(c.descriptor.id,i),f=function(e){var t=e.pageBorderBoxCenter,n=e.viewport,r=e.destination,o=e.insideDestination,i=e.afterCritical,a=o.filter((function(e){return kf({target:Gf(e,i),destination:r,viewport:n.frame,withDroppableDisplacement:!0})})).sort((function(e,n){var o=Vs(t,Lf(r,Hf(e,i))),a=Vs(t,Lf(r,Hf(n,i)));return o<a?-1:a<o?1:e.descriptor.index-n.descriptor.index}));return a[0]||null}({pageBorderBoxCenter:n,viewport:u,destination:c,insideDestination:s,afterCritical:l}),d=function(e){var t=e.previousPageBorderBoxCenter,n=e.moveRelativeTo,r=e.insideDestination,o=e.draggable,i=e.draggables,a=e.destination,u=e.viewport,l=e.afterCritical;if(!n){if(r.length)return null;var c={displaced:hf,displacedBy:pf,at:{type:"REORDER",destination:{droppableId:a.descriptor.id,index:0}}},s=Mf({impact:c,draggable:o,droppable:a,draggables:i,afterCritical:l}),f=df(o,a)?a:qf(a,o,i);return zf({draggable:o,destination:f,newPageBorderBoxCenter:s,viewport:u.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0})?c:null}var d=Boolean(t[a.axis.line]<=n.page.borderBox.center[a.axis.line]),p=function(){var e=n.descriptor.index;return n.descriptor.id===o.descriptor.id||d?e:e+1}(),h=Vf(a.axis,o.displaceBy);return Cf({draggable:o,insideDestination:r,destination:a,viewport:u,displacedBy:h,last:hf,index:p})}({previousPageBorderBoxCenter:n,destination:c,draggable:r,draggables:i,moveRelativeTo:f,insideDestination:s,viewport:u,afterCritical:l});if(!d)return null;var p=Mf({impact:d,draggable:r,droppable:c,draggables:i,afterCritical:l});return{clientSelection:Bf({pageBorderBoxCenter:p,draggable:r,viewport:u}),impact:d,scrollJumpRequest:null}},Yf=function(e){var t=e.at;return t?"REORDER"===t.type?t.destination.droppableId:t.combine.droppableId:null},Zf=function(e){var t=e.state,n=e.type,r=function(e,t){var n=Yf(e);return n?t[n]:null}(t.impact,t.dimensions.droppables),o=Boolean(r),i=t.dimensions.droppables[t.critical.droppable.id],a=r||i,u=a.axis.direction,l="vertical"===u&&("MOVE_UP"===n||"MOVE_DOWN"===n)||"horizontal"===u&&("MOVE_LEFT"===n||"MOVE_RIGHT"===n);if(l&&!o)return null;var c="MOVE_DOWN"===n||"MOVE_RIGHT"===n,s=t.dimensions.draggables[t.critical.draggable.id],f=t.current.page.borderBoxCenter,d=t.dimensions,p=d.draggables,h=d.droppables;return l?Uf({isMovingForward:c,previousPageBorderBoxCenter:f,draggable:s,destination:a,draggables:p,viewport:t.viewport,previousClientSelection:t.current.client.selection,previousImpact:t.impact,afterCritical:t.afterCritical}):Kf({isMovingForward:c,previousPageBorderBoxCenter:f,draggable:s,isOver:a,draggables:p,droppables:h,viewport:t.viewport,afterCritical:t.afterCritical})};function Xf(e){return"DRAGGING"===e.phase||"COLLECTING"===e.phase}function Qf(e){var t=gf(e.top,e.bottom),n=gf(e.left,e.right);return function(e){return t(e.y)&&n(e.x)}}function Jf(e){var t=e.pageBorderBox,n=e.draggable,r=e.droppables,o=af(r).filter((function(e){if(!e.isEnabled)return!1;var n,r,o=e.subject.active;if(!o)return!1;if(r=o,!((n=t).left<r.right&&n.right>r.left&&n.top<r.bottom&&n.bottom>r.top))return!1;if(Qf(o)(t.center))return!0;var i=e.axis,a=o.center[i.crossAxisLine],u=t[i.crossAxisStart],l=t[i.crossAxisEnd],c=gf(o[i.crossAxisStart],o[i.crossAxisEnd]),s=c(u),f=c(l);return!s&&!f||(s?u<a:l>a)}));return o.length?1===o.length?o[0].descriptor.id:function(e){var t=e.pageBorderBox,n=e.draggable,r=e.candidates,o=n.page.borderBox.center,i=r.map((function(e){var n=e.axis,r=Gs(e.axis.line,t.center[n.line],e.page.borderBox.center[n.crossAxisLine]);return{id:e.descriptor.id,distance:Vs(o,r)}})).sort((function(e,t){return t.distance-e.distance}));return i[0]?i[0].id:null}({pageBorderBox:t,draggable:n,candidates:o}):null}var ed=function(e,t){return ss(Ks(e,t))};function td(e){var t=e.displaced,n=e.id;return Boolean(t.visible[n]||t.invisible[n])}var nd=function(e){var t=e.pageOffset,n=e.draggable,r=e.draggables,o=e.droppables,i=e.previousImpact,a=e.viewport,u=e.afterCritical,l=ed(n.page.borderBox,t),c=Jf({pageBorderBox:l,draggable:n,droppables:o});if(!c)return vf;var s=o[c],f=lf(s.descriptor.id,r),d=function(e,t){var n=e.frame;return n?ed(t,n.scroll.diff.value):t}(s,l);return function(e){var t=e.draggable,n=e.pageBorderBoxWithDroppableScroll,r=e.previousImpact,o=e.destination,i=e.insideDestination,a=e.afterCritical;if(!o.isCombineEnabled)return null;var u=o.axis,l=Vf(o.axis,t.displaceBy),c=l.value,s=n[u.start],f=n[u.end],d=tf(ff(t,i),(function(e){var t=e.descriptor.id,n=e.page.borderBox,o=n[u.size]/4,i=Of(t,a),l=td({displaced:r.displaced,id:t});return i?l?f>n[u.start]+o&&f<n[u.end]-o:s>n[u.start]-c+o&&s<n[u.end]-c-o:l?f>n[u.start]+c+o&&f<n[u.end]+c-o:s>n[u.start]+o&&s<n[u.end]-o}));return d?{displacedBy:l,displaced:r.displaced,at:{type:"COMBINE",combine:{draggableId:d.descriptor.id,droppableId:o.descriptor.id}}}:null}({pageBorderBoxWithDroppableScroll:d,draggable:n,previousImpact:i,destination:s,insideDestination:f,afterCritical:u})||function(e){var t=e.pageBorderBoxWithDroppableScroll,n=e.draggable,r=e.destination,o=e.insideDestination,i=e.last,a=e.viewport,u=e.afterCritical,l=r.axis,c=Vf(r.axis,n.displaceBy),s=c.value,f=t[l.start],d=t[l.end],p=tf(ff(n,o),(function(e){var t=e.descriptor.id,n=e.page.borderBox.center[l.line],r=Of(t,u),o=td({displaced:i,id:t});return r?o?d<=n:f<n-s:o?d<=n+s:f<n})),h=function(e){var t=e.draggable,n=e.closest,r=e.inHomeList;return n?r&&n.descriptor.index>t.descriptor.index?n.descriptor.index-1:n.descriptor.index:null}({draggable:n,closest:p,inHomeList:df(n,r)});return Cf({draggable:n,insideDestination:o,destination:r,viewport:a,last:i,displacedBy:c,index:h})}({pageBorderBoxWithDroppableScroll:d,draggable:n,destination:s,insideDestination:f,last:i.displaced,viewport:a,afterCritical:u})},rd=function(e,t){var n;return w({},e,((n={})[t.descriptor.id]=t,n))},od=function(e){var t=e.previousImpact,n=e.impact,r=e.droppables,o=Yf(t),i=Yf(n);if(!o)return r;if(o===i)return r;var a=r[o];if(!a.subject.withPlaceholder)return r;var u=function(e){var t=e.subject.withPlaceholder;t||Ns(!1);var n=e.frame;if(!n)return w({},e,{subject:Xs({page:e.subject.page,axis:e.axis,frame:null,withPlaceholder:null})});var r=t.oldFrameMaxScroll;r||Ns(!1);var o=$f(n,r);return w({},e,{subject:Xs({page:e.subject.page,axis:e.axis,frame:o,withPlaceholder:null}),frame:o})}(a);return rd(r,u)},id=function(e){var t=e.state,n=e.clientSelection,r=e.dimensions,o=e.viewport,i=e.impact,a=e.scrollJumpRequest,u=o||t.viewport,l=r||t.dimensions,c=n||t.current.client.selection,s=Us(c,t.initial.client.selection),f={offset:s,selection:c,borderBoxCenter:zs(t.initial.client.borderBoxCenter,s)},d={selection:zs(f.selection,u.scroll.current),borderBoxCenter:zs(f.borderBoxCenter,u.scroll.current),offset:zs(f.offset,u.scroll.diff.value)},p={client:f,page:d};if("COLLECTING"===t.phase)return w({phase:"COLLECTING"},t,{dimensions:l,viewport:u,current:p});var h=l.draggables[t.critical.draggable.id],v=i||nd({pageOffset:d.offset,draggable:h,draggables:l.draggables,droppables:l.droppables,previousImpact:t.impact,viewport:u,afterCritical:t.afterCritical}),g=function(e){var t=e.draggable,n=e.draggables,r=e.droppables,o=e.previousImpact,i=e.impact,a=od({previousImpact:o,impact:i,droppables:r}),u=Yf(i);if(!u)return a;var l=r[u];if(df(t,l))return a;if(l.subject.withPlaceholder)return a;var c=qf(l,t,n);return rd(a,c)}({draggable:h,impact:v,previousImpact:t.impact,draggables:l.draggables,droppables:l.droppables});return w({},t,{current:p,dimensions:{draggables:l.draggables,droppables:g},impact:v,viewport:u,scrollJumpRequest:a||null,forceShouldAnimate:!a&&null})};var ad=function(e){var t=e.impact,n=e.viewport,r=e.draggables,o=e.destination,i=e.forceShouldAnimate,a=t.displaced,u=function(e,t){return e.map((function(e){return t[e]}))}(a.all,r);return w({},t,{displaced:Sf({afterDragging:u,destination:o,displacedBy:t.displacedBy,viewport:n.frame,forceShouldAnimate:i,last:a})})},ud=function(e){var t=e.impact,n=e.draggable,r=e.droppable,o=e.draggables,i=e.viewport,a=e.afterCritical,u=Mf({impact:t,draggable:n,draggables:o,droppable:r,afterCritical:a});return Bf({pageBorderBoxCenter:u,draggable:n,viewport:i})},ld=function(e){var t=e.state,n=e.dimensions,r=e.viewport;"SNAP"!==t.movementMode&&Ns(!1);var o=t.impact,i=r||t.viewport,a=n||t.dimensions,u=a.draggables,l=a.droppables,c=u[t.critical.draggable.id],s=Yf(o);s||Ns(!1);var f=l[s],d=ad({impact:o,viewport:i,destination:f,draggables:u}),p=ud({impact:d,draggable:c,droppable:f,draggables:u,viewport:i,afterCritical:t.afterCritical});return id({impact:d,clientSelection:p,state:t,dimensions:a,viewport:i})},cd=function(e){var t=e.draggable,n=e.home,r=e.draggables,o=e.viewport,i=Vf(n.axis,t.displaceBy),a=lf(n.descriptor.id,r),u=a.indexOf(t);-1===u&&Ns(!1);var l,c=a.slice(u+1),s=c.reduce((function(e,t){return e[t.descriptor.id]=!0,e}),{}),f={inVirtualList:"virtual"===n.descriptor.mode,displacedBy:i,effected:s};return{impact:{displaced:Sf({afterDragging:c,destination:n,displacedBy:i,last:null,viewport:o.frame,forceShouldAnimate:!1}),displacedBy:i,at:{type:"REORDER",destination:(l=t.descriptor,{index:l.index,droppableId:l.droppableId})}},afterCritical:f}},sd=function(e){0},fd=function(e){0},dd=function(e){var t=e.additions,n=e.updatedDroppables,r=e.viewport,o=r.scroll.diff.value;return t.map((function(e){var t=e.descriptor.droppableId,i=function(e){var t=e.frame;return t||Ns(!1),t}(n[t]),a=i.scroll.diff.value,u=function(e){var t=e.draggable,n=e.offset,r=e.initialWindowScroll,o=gs(t.client,n),i=ms(o,r);return w({},t,{placeholder:w({},t.placeholder,{client:o}),client:o,page:i})}({draggable:e,offset:zs(o,a),initialWindowScroll:r.scroll.initial});return u}))},pd=function(e){return"SNAP"===e.movementMode},hd=function(e,t,n){var r=function(e,t){return{draggables:e.draggables,droppables:rd(e.droppables,t)}}(e.dimensions,t);return!pd(e)||n?id({state:e,dimensions:r}):ld({state:e,dimensions:r})};function vd(e){return e.isDragging&&"SNAP"===e.movementMode?w({phase:"DRAGGING"},e,{scrollJumpRequest:null}):e}var gd={phase:"IDLE",completed:null,shouldFlush:!1},md=function(e,t){if(void 0===e&&(e=gd),"FLUSH"===t.type)return w({},gd,{shouldFlush:!0});if("INITIAL_PUBLISH"===t.type){"IDLE"!==e.phase&&Ns(!1);var n=t.payload,r=n.critical,o=n.clientSelection,i=n.viewport,a=n.dimensions,u=n.movementMode,l=a.draggables[r.draggable.id],c=a.droppables[r.droppable.id],s={selection:o,borderBoxCenter:l.client.borderBox.center,offset:Bs},f={client:s,page:{selection:zs(s.selection,i.scroll.initial),borderBoxCenter:zs(s.selection,i.scroll.initial),offset:zs(s.selection,i.scroll.diff.value)}},d=af(a.droppables).every((function(e){return!e.isFixedOnPage})),p=cd({draggable:l,home:c,draggables:a.draggables,viewport:i}),h=p.impact;return{phase:"DRAGGING",isDragging:!0,critical:r,movementMode:u,dimensions:a,initial:f,current:f,isWindowScrollAllowed:d,impact:h,afterCritical:p.afterCritical,onLiftImpact:h,viewport:i,scrollJumpRequest:null,forceShouldAnimate:null}}if("COLLECTION_STARTING"===t.type)return"COLLECTING"===e.phase||"DROP_PENDING"===e.phase?e:("DRAGGING"!==e.phase&&Ns(!1),w({phase:"COLLECTING"},e,{phase:"COLLECTING"}));if("PUBLISH_WHILE_DRAGGING"===t.type)return"COLLECTING"!==e.phase&&"DROP_PENDING"!==e.phase&&Ns(!1),function(e){var t=e.state,n=e.published;sd();var r=n.modified.map((function(e){var n=t.dimensions.droppables[e.droppableId];return Qs(n,e.scroll)})),o=w({},t.dimensions.droppables,{},rf(r)),i=of(dd({additions:n.additions,updatedDroppables:o,viewport:t.viewport})),a=w({},t.dimensions.draggables,{},i);n.removals.forEach((function(e){delete a[e]}));var u={droppables:o,draggables:a},l=Yf(t.impact),c=l?u.droppables[l]:null,s=u.draggables[t.critical.draggable.id],f=u.droppables[t.critical.droppable.id],d=cd({draggable:s,home:f,draggables:a,viewport:t.viewport}),p=d.impact,h=d.afterCritical,v=c&&c.isCombineEnabled?t.impact:p,g=nd({pageOffset:t.current.page.offset,draggable:u.draggables[t.critical.draggable.id],draggables:u.draggables,droppables:u.droppables,previousImpact:v,viewport:t.viewport,afterCritical:h});fd();var m=w({phase:"DRAGGING"},t,{phase:"DRAGGING",impact:g,onLiftImpact:p,dimensions:u,afterCritical:h,forceShouldAnimate:!1});return"COLLECTING"===t.phase?m:w({phase:"DROP_PENDING"},m,{phase:"DROP_PENDING",reason:t.reason,isWaiting:!1})}({state:e,published:t.payload});if("MOVE"===t.type){if("DROP_PENDING"===e.phase)return e;Xf(e)||Ns(!1);var v=t.payload.client;return Ws(v,e.current.client.selection)?e:id({state:e,clientSelection:v,impact:pd(e)?e.impact:null})}if("UPDATE_DROPPABLE_SCROLL"===t.type){if("DROP_PENDING"===e.phase)return vd(e);if("COLLECTING"===e.phase)return vd(e);Xf(e)||Ns(!1);var g=t.payload,m=g.id,y=g.newScroll,b=e.dimensions.droppables[m];if(!b)return e;var x=Qs(b,y);return hd(e,x,!1)}if("UPDATE_DROPPABLE_IS_ENABLED"===t.type){if("DROP_PENDING"===e.phase)return e;Xf(e)||Ns(!1);var E=t.payload,k=E.id,S=E.isEnabled,_=e.dimensions.droppables[k];_||Ns(!1),_.isEnabled===S&&Ns(!1);var C=w({},_,{isEnabled:S});return hd(e,C,!0)}if("UPDATE_DROPPABLE_IS_COMBINE_ENABLED"===t.type){if("DROP_PENDING"===e.phase)return e;Xf(e)||Ns(!1);var O=t.payload,I=O.id,N=O.isCombineEnabled,D=e.dimensions.droppables[I];D||Ns(!1),D.isCombineEnabled===N&&Ns(!1);var T=w({},D,{isCombineEnabled:N});return hd(e,T,!0)}if("MOVE_BY_WINDOW_SCROLL"===t.type){if("DROP_PENDING"===e.phase||"DROP_ANIMATING"===e.phase)return e;Xf(e)||Ns(!1),e.isWindowScrollAllowed||Ns(!1);var R=t.payload.newScroll;if(Ws(e.viewport.scroll.current,R))return vd(e);var A=jf(e.viewport,R);return pd(e)?ld({state:e,viewport:A}):id({state:e,viewport:A})}if("UPDATE_VIEWPORT_MAX_SCROLL"===t.type){if(!Xf(e))return e;var P=t.payload.maxScroll;if(Ws(P,e.viewport.scroll.max))return e;var L=w({},e.viewport,{scroll:w({},e.viewport.scroll,{max:P})});return w({phase:"DRAGGING"},e,{viewport:L})}if("MOVE_UP"===t.type||"MOVE_DOWN"===t.type||"MOVE_LEFT"===t.type||"MOVE_RIGHT"===t.type){if("COLLECTING"===e.phase||"DROP_PENDING"===e.phase)return e;"DRAGGING"!==e.phase&&Ns(!1);var M=Zf({state:e,type:t.type});return M?id({state:e,impact:M.impact,clientSelection:M.clientSelection,scrollJumpRequest:M.scrollJumpRequest}):e}if("DROP_PENDING"===t.type){var j=t.payload.reason;return"COLLECTING"!==e.phase&&Ns(!1),w({phase:"DROP_PENDING"},e,{phase:"DROP_PENDING",isWaiting:!0,reason:j})}if("DROP_ANIMATE"===t.type){var F=t.payload,B=F.completed,z=F.dropDuration,U=F.newHomeClientOffset;return"DRAGGING"!==e.phase&&"DROP_PENDING"!==e.phase&&Ns(!1),{phase:"DROP_ANIMATING",completed:B,dropDuration:z,newHomeClientOffset:U,dimensions:e.dimensions}}return"DROP_COMPLETE"===t.type?{phase:"IDLE",completed:t.payload.completed,shouldFlush:!1}:e},yd=function(e){return{type:"PUBLISH_WHILE_DRAGGING",payload:e}},bd=function(){return{type:"COLLECTION_STARTING",payload:null}},wd=function(e){return{type:"UPDATE_DROPPABLE_SCROLL",payload:e}},xd=function(e){return{type:"UPDATE_DROPPABLE_IS_ENABLED",payload:e}},Ed=function(e){return{type:"UPDATE_DROPPABLE_IS_COMBINE_ENABLED",payload:e}},kd=function(e){return{type:"MOVE",payload:e}},Sd=function(){return{type:"MOVE_UP",payload:null}},_d=function(){return{type:"MOVE_DOWN",payload:null}},Cd=function(){return{type:"MOVE_RIGHT",payload:null}},Od=function(){return{type:"MOVE_LEFT",payload:null}},Id=function(e){return{type:"DROP_COMPLETE",payload:e}},Nd=function(e){return{type:"DROP",payload:e}},Dd=function(){return{type:"DROP_ANIMATION_FINISHED",payload:null}};var Td="cubic-bezier(.2,1,.1,1)",Rd={drop:0,combining:.7},Ad={drop:.75},Pd=.2+"s "+"cubic-bezier(0.2, 0, 0, 1)",Ld={fluid:"opacity "+Pd,snap:"transform "+Pd+", opacity "+Pd,drop:function(e){var t=e+"s "+Td;return"transform "+t+", opacity "+t},outOfTheWay:"transform "+Pd,placeholder:"height "+Pd+", width "+Pd+", margin "+Pd},Md=function(e){return Ws(e,Bs)?null:"translate("+e.x+"px, "+e.y+"px)"},jd=Md,Fd=function(e,t){var n=Md(e);return n?t?n+" scale("+Ad.drop+")":n:null},Bd=.33,zd=.55,Ud=zd-Bd,Wd=function(e){var t=e.getState,n=e.dispatch;return function(e){return function(r){if("DROP"===r.type){var o=t(),i=r.payload.reason;if("COLLECTING"!==o.phase){if("IDLE"!==o.phase){"DROP_PENDING"===o.phase&&o.isWaiting&&Ns(!1),"DRAGGING"!==o.phase&&"DROP_PENDING"!==o.phase&&Ns(!1);var a=o.critical,u=o.dimensions,l=u.draggables[o.critical.draggable.id],c=function(e){var t=e.draggables,n=e.reason,r=e.lastImpact,o=e.home,i=e.viewport,a=e.onLiftImpact;return r.at&&"DROP"===n?"REORDER"===r.at.type?{impact:r,didDropInsideDroppable:!0}:{impact:w({},r,{displaced:hf}),didDropInsideDroppable:!0}:{impact:ad({draggables:t,impact:a,destination:o,viewport:i,forceShouldAnimate:!0}),didDropInsideDroppable:!1}}({reason:i,lastImpact:o.impact,afterCritical:o.afterCritical,onLiftImpact:o.onLiftImpact,home:o.dimensions.droppables[o.critical.droppable.id],viewport:o.viewport,draggables:o.dimensions.draggables}),s=c.impact,f=c.didDropInsideDroppable,d=f?cf(s):null,p=f?sf(s):null,h={index:a.draggable.index,droppableId:a.droppable.id},v={draggableId:l.descriptor.id,type:l.descriptor.type,source:h,reason:i,mode:o.movementMode,destination:d,combine:p},g=function(e){var t=e.impact,n=e.draggable,r=e.dimensions,o=e.viewport,i=e.afterCritical,a=r.draggables,u=r.droppables,l=Yf(t),c=l?u[l]:null,s=u[n.descriptor.droppableId],f=ud({impact:t,draggable:n,draggables:a,afterCritical:i,droppable:c||s,viewport:o});return Us(f,n.client.borderBox.center)}({impact:s,draggable:l,dimensions:u,viewport:o.viewport,afterCritical:o.afterCritical}),m={critical:o.critical,afterCritical:o.afterCritical,result:v,impact:s};if(!Ws(o.current.client.offset,g)||Boolean(v.combine)){var y=function(e){var t=e.current,n=e.destination,r=e.reason,o=Vs(t,n);if(o<=0)return Bd;if(o>=1500)return zd;var i=Bd+Ud*(o/1500);return Number(("CANCEL"===r?.6*i:i).toFixed(2))}({current:o.current.client.offset,destination:g,reason:i});n(function(e){return{type:"DROP_ANIMATE",payload:e}}({newHomeClientOffset:g,dropDuration:y,completed:m}))}else n(Id({completed:m}))}}else n(function(e){return{type:"DROP_PENDING",payload:e}}({reason:i}))}else e(r)}}},Hd=function(){return{x:window.pageXOffset,y:window.pageYOffset}};function Gd(e){var t=e.onWindowScroll;var n=ks((function(){t(Hd())})),r=function(e){return{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(t){t.target!==window&&t.target!==window.document||e()}}}(n),o=_s;function i(){return o!==_s}return{start:function(){i()&&Ns(!1),o=Cs(window,[r])},stop:function(){i()||Ns(!1),n.cancel(),o(),o=_s},isActive:i}}var Vd=function(e){var t=Gd({onWindowScroll:function(t){e.dispatch({type:"MOVE_BY_WINDOW_SCROLL",payload:{newScroll:t}})}});return function(e){return function(n){t.isActive()||"INITIAL_PUBLISH"!==n.type||t.start(),t.isActive()&&function(e){return"DROP_COMPLETE"===e.type||"DROP_ANIMATE"===e.type||"FLUSH"===e.type}(n)&&t.stop(),e(n)}}},$d=function(){var e=[];return{add:function(t){var n=setTimeout((function(){return function(t){var n=ef(e,(function(e){return e.timerId===t}));-1===n&&Ns(!1),e.splice(n,1)[0].callback()}(n)})),r={timerId:n,callback:t};e.push(r)},flush:function(){if(e.length){var t=[].concat(e);e.length=0,t.forEach((function(e){clearTimeout(e.timerId),e.callback()}))}}}},qd=function(e,t){sd(),t(),fd()},Kd=function(e,t){return{draggableId:e.draggable.id,type:e.droppable.type,source:{droppableId:e.droppable.id,index:e.draggable.index},mode:t}},Yd=function(e,t,n,r){if(e){var o=function(e){var t=!1,n=!1,r=setTimeout((function(){n=!0})),o=function(o){t||n||(t=!0,e(o),clearTimeout(r))};return o.wasCalled=function(){return t},o}(n);e(t,{announce:o}),o.wasCalled()||n(r(t))}else n(r(t))},Zd=function(e,t){var n=function(e,t){var n=$d(),r=null,o=function(n){r||Ns(!1),r=null,qd(0,(function(){return Yd(e().onDragEnd,n,t,Fs)}))};return{beforeCapture:function(t,n){r&&Ns(!1),qd(0,(function(){var r=e().onBeforeCapture;r&&r({draggableId:t,mode:n})}))},beforeStart:function(t,n){r&&Ns(!1),qd(0,(function(){var r=e().onBeforeDragStart;r&&r(Kd(t,n))}))},start:function(o,i){r&&Ns(!1);var a=Kd(o,i);r={mode:i,lastCritical:o,lastLocation:a.source,lastCombine:null},n.add((function(){qd(0,(function(){return Yd(e().onDragStart,a,t,Ms)}))}))},update:function(o,i){var a=cf(i),u=sf(i);r||Ns(!1);var l=!function(e,t){if(e===t)return!0;var n=e.draggable.id===t.draggable.id&&e.draggable.droppableId===t.draggable.droppableId&&e.draggable.type===t.draggable.type&&e.draggable.index===t.draggable.index,r=e.droppable.id===t.droppable.id&&e.droppable.type===t.droppable.type;return n&&r}(o,r.lastCritical);l&&(r.lastCritical=o);var c,s,f=(s=a,!(null==(c=r.lastLocation)&&null==s||null!=c&&null!=s&&c.droppableId===s.droppableId&&c.index===s.index));f&&(r.lastLocation=a);var d=!function(e,t){return null==e&&null==t||null!=e&&null!=t&&e.draggableId===t.draggableId&&e.droppableId===t.droppableId}(r.lastCombine,u);if(d&&(r.lastCombine=u),l||f||d){var p=w({},Kd(o,r.mode),{combine:u,destination:a});n.add((function(){qd(0,(function(){return Yd(e().onDragUpdate,p,t,js)}))}))}},flush:function(){r||Ns(!1),n.flush()},drop:o,abort:function(){if(r){var e=w({},Kd(r.lastCritical,r.mode),{combine:null,destination:null,reason:"CANCEL"});o(e)}}}}(e,t);return function(e){return function(t){return function(r){if("BEFORE_INITIAL_CAPTURE"!==r.type){if("INITIAL_PUBLISH"===r.type){var o=r.payload.critical;return n.beforeStart(o,r.payload.movementMode),t(r),void n.start(o,r.payload.movementMode)}if("DROP_COMPLETE"===r.type){var i=r.payload.completed.result;return n.flush(),t(r),void n.drop(i)}if(t(r),"FLUSH"!==r.type){var a=e.getState();"DRAGGING"===a.phase&&n.update(a.critical,a.impact)}else n.abort()}else n.beforeCapture(r.payload.draggableId,r.payload.movementMode)}}}},Xd=function(e){return function(t){return function(n){if("DROP_ANIMATION_FINISHED"===n.type){var r=e.getState();"DROP_ANIMATING"!==r.phase&&Ns(!1),e.dispatch(Id({completed:r.completed}))}else t(n)}}},Qd=function(e){var t=null,n=null;return function(r){return function(o){if("FLUSH"!==o.type&&"DROP_COMPLETE"!==o.type&&"DROP_ANIMATION_FINISHED"!==o.type||(n&&(cancelAnimationFrame(n),n=null),t&&(t(),t=null)),r(o),"DROP_ANIMATE"===o.type){var i={eventName:"scroll",options:{capture:!0,passive:!1,once:!0},fn:function(){"DROP_ANIMATING"===e.getState().phase&&e.dispatch({type:"DROP_ANIMATION_FINISHED",payload:null})}};n=requestAnimationFrame((function(){n=null,t=Cs(window,[i])}))}}}},Jd=function(e){return function(t){return function(n){if(t(n),"PUBLISH_WHILE_DRAGGING"===n.type){var r=e.getState();"DROP_PENDING"===r.phase&&(r.isWaiting||e.dispatch(Nd({reason:r.reason})))}}}},ep=Sc,tp=function(e){var t,n=e.dimensionMarshal,r=e.focusMarshal,o=e.styleMarshal,i=e.getResponders,a=e.announce,u=e.autoScroller;return xc(md,ep(function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return function(){var n=e.apply(void 0,arguments),r=function(){throw new Error(gc(15))},o={getState:n.getState,dispatch:function(){return r.apply(void 0,arguments)}},i=t.map((function(e){return e(o)}));return r=Sc.apply(void 0,i)(n.dispatch),ur(ur({},n),{},{dispatch:r})}}}((t=o,function(){return function(e){return function(n){"INITIAL_PUBLISH"===n.type&&t.dragging(),"DROP_ANIMATE"===n.type&&t.dropping(n.payload.completed.result.reason),"FLUSH"!==n.type&&"DROP_COMPLETE"!==n.type||t.resting(),e(n)}}}),function(e){return function(){return function(t){return function(n){"DROP_COMPLETE"!==n.type&&"FLUSH"!==n.type&&"DROP_ANIMATE"!==n.type||e.stopPublishing(),t(n)}}}}(n),function(e){return function(t){var n=t.getState,r=t.dispatch;return function(t){return function(o){if("LIFT"===o.type){var i=o.payload,a=i.id,u=i.clientSelection,l=i.movementMode,c=n();"DROP_ANIMATING"===c.phase&&r(Id({completed:c.completed})),"IDLE"!==n().phase&&Ns(!1),r({type:"FLUSH",payload:null}),r({type:"BEFORE_INITIAL_CAPTURE",payload:{draggableId:a,movementMode:l}});var s={draggableId:a,scrollOptions:{shouldPublishImmediately:"SNAP"===l}},f=e.startPublishing(s),d=f.critical,p=f.dimensions,h=f.viewport;r({type:"INITIAL_PUBLISH",payload:{critical:d,dimensions:p,clientSelection:u,movementMode:l,viewport:h}})}else t(o)}}}}(n),Wd,Xd,Qd,Jd,function(e){return function(t){return function(n){return function(r){if(function(e){return"DROP_COMPLETE"===e.type||"DROP_ANIMATE"===e.type||"FLUSH"===e.type}(r))return e.stop(),void n(r);if("INITIAL_PUBLISH"===r.type){n(r);var o=t.getState();return"DRAGGING"!==o.phase&&Ns(!1),void e.start(o)}n(r),e.scroll(t.getState())}}}}(u),Vd,function(e){var t=!1;return function(){return function(n){return function(r){if("INITIAL_PUBLISH"===r.type)return t=!0,e.tryRecordFocus(r.payload.critical.draggable.id),n(r),void e.tryRestoreFocusRecorded();if(n(r),t){if("FLUSH"===r.type)return t=!1,void e.tryRestoreFocusRecorded();if("DROP_COMPLETE"===r.type){t=!1;var o=r.payload.completed.result;o.combine&&e.tryShiftRecord(o.draggableId,o.combine.draggableId),e.tryRestoreFocusRecorded()}}}}}}(r),Zd(i,a))))};var np=function(e){var t=e.scrollHeight,n=e.scrollWidth,r=e.height,o=e.width,i=Us({x:n,y:t},{x:o,y:r});return{x:Math.max(0,i.x),y:Math.max(0,i.y)}},rp=function(){var e=document.documentElement;return e||Ns(!1),e},op=function(){var e=rp();return np({scrollHeight:e.scrollHeight,scrollWidth:e.scrollWidth,width:e.clientWidth,height:e.clientHeight})},ip=function(e){var t=e.critical,n=e.scrollOptions,r=e.registry;sd();var o=function(){var e=Hd(),t=op(),n=e.y,r=e.x,o=rp(),i=o.clientWidth,a=o.clientHeight;return{frame:ss({top:n,left:r,right:r+i,bottom:n+a}),scroll:{initial:e,current:e,max:t,diff:{value:Bs,displacement:Bs}}}}(),i=o.scroll.current,a=t.droppable,u=r.droppable.getAllByType(a.type).map((function(e){return e.callbacks.getDimensionAndWatchScroll(i,n)})),l=r.draggable.getAllByType(t.draggable.type).map((function(e){return e.getDimension(i)})),c={draggables:of(l),droppables:rf(u)};return fd(),{dimensions:c,critical:t,viewport:o}};function ap(e,t,n){return n.descriptor.id!==t.id&&(n.descriptor.type===t.type&&"virtual"===e.droppable.getById(n.descriptor.droppableId).descriptor.mode)}var up=function(e,t){var n=null,r=function(e){var t=e.registry,n=e.callbacks,r={additions:{},removals:{},modified:{}},o=null,i=function(){o||(n.collectionStarting(),o=requestAnimationFrame((function(){o=null,sd();var e=r,i=e.additions,a=e.removals,u=e.modified,l=Object.keys(i).map((function(e){return t.draggable.getById(e).getDimension(Bs)})).sort((function(e,t){return e.descriptor.index-t.descriptor.index})),c=Object.keys(u).map((function(e){return{droppableId:e,scroll:t.droppable.getById(e).callbacks.getScrollWhileDragging()}})),s={additions:l,removals:Object.keys(a),modified:c};r={additions:{},removals:{},modified:{}},fd(),n.publish(s)})))};return{add:function(e){var t=e.descriptor.id;r.additions[t]=e,r.modified[e.descriptor.droppableId]=!0,r.removals[t]&&delete r.removals[t],i()},remove:function(e){var t=e.descriptor;r.removals[t.id]=!0,r.modified[t.droppableId]=!0,r.additions[t.id]&&delete r.additions[t.id],i()},stop:function(){o&&(cancelAnimationFrame(o),o=null,r={additions:{},removals:{},modified:{}})}}}({callbacks:{publish:t.publishWhileDragging,collectionStarting:t.collectionStarting},registry:e}),o=function(t){n||Ns(!1);var o=n.critical.draggable;"ADDITION"===t.type&&ap(e,o,t.value)&&r.add(t.value),"REMOVAL"===t.type&&ap(e,o,t.value)&&r.remove(t.value)},i={updateDroppableIsEnabled:function(r,o){e.droppable.exists(r)||Ns(!1),n&&t.updateDroppableIsEnabled({id:r,isEnabled:o})},updateDroppableIsCombineEnabled:function(r,o){n&&(e.droppable.exists(r)||Ns(!1),t.updateDroppableIsCombineEnabled({id:r,isCombineEnabled:o}))},scrollDroppable:function(t,r){n&&e.droppable.getById(t).callbacks.scroll(r)},updateDroppableScroll:function(r,o){n&&(e.droppable.exists(r)||Ns(!1),t.updateDroppableScroll({id:r,newScroll:o}))},startPublishing:function(t){n&&Ns(!1);var r=e.draggable.getById(t.draggableId),i=e.droppable.getById(r.descriptor.droppableId),a={draggable:r.descriptor,droppable:i.descriptor},u=e.subscribe(o);return n={critical:a,unsubscribe:u},ip({critical:a,registry:e,scrollOptions:t.scrollOptions})},stopPublishing:function(){if(n){r.stop();var t=n.critical.droppable;e.droppable.getAllByType(t.type).forEach((function(e){return e.callbacks.dragStopped()})),n.unsubscribe(),n=null}}};return i},lp=function(e,t){return"IDLE"===e.phase||"DROP_ANIMATING"===e.phase&&(e.completed.result.draggableId!==t&&"DROP"===e.completed.result.reason)},cp=function(e){window.scrollBy(e.x,e.y)},sp=Es((function(e){return af(e).filter((function(e){return!!e.isEnabled&&!!e.frame}))})),fp=function(e){var t=e.center,n=e.destination,r=e.droppables;if(n){var o=r[n];return o.frame?o:null}var i=function(e,t){var n=tf(sp(t),(function(t){return t.frame||Ns(!1),Qf(t.frame.pageMarginBox)(e)}));return n}(t,r);return i},dp=.25,pp=.05,hp=28,vp=function(e){return Math.pow(e,2)},gp={stopDampeningAt:1200,accelerateAt:360},mp=function(e){var t=e.startOfRange,n=e.endOfRange,r=e.current,o=n-t;return 0===o?0:(r-t)/o},yp=gp.accelerateAt,bp=gp.stopDampeningAt,wp=function(e){var t=e.distanceToEdge,n=e.thresholds,r=e.dragStartTime,o=e.shouldUseTimeDampening,i=function(e,t){if(e>t.startScrollingFrom)return 0;if(e<=t.maxScrollValueAt)return hp;if(e===t.startScrollingFrom)return 1;var n=mp({startOfRange:t.maxScrollValueAt,endOfRange:t.startScrollingFrom,current:e}),r=hp*vp(1-n);return Math.ceil(r)}(t,n);return 0===i?0:o?Math.max(function(e,t){var n=t,r=bp,o=Date.now()-n;if(o>=bp)return e;if(o<yp)return 1;var i=mp({startOfRange:yp,endOfRange:r,current:o}),a=e*vp(i);return Math.ceil(a)}(i,r),1):i},xp=function(e){var t=e.container,n=e.distanceToEdges,r=e.dragStartTime,o=e.axis,i=e.shouldUseTimeDampening,a=function(e,t){return{startScrollingFrom:e[t.size]*dp,maxScrollValueAt:e[t.size]*pp}}(t,o);return n[o.end]<n[o.start]?wp({distanceToEdge:n[o.end],thresholds:a,dragStartTime:r,shouldUseTimeDampening:i}):-1*wp({distanceToEdge:n[o.start],thresholds:a,dragStartTime:r,shouldUseTimeDampening:i})},Ep=qs((function(e){return 0===e?0:e})),kp=function(e){var t=e.dragStartTime,n=e.container,r=e.subject,o=e.center,i=e.shouldUseTimeDampening,a={top:o.y-n.top,right:n.right-o.x,bottom:n.bottom-o.y,left:o.x-n.left},u=xp({container:n,distanceToEdges:a,dragStartTime:t,axis:bf,shouldUseTimeDampening:i}),l=xp({container:n,distanceToEdges:a,dragStartTime:t,axis:wf,shouldUseTimeDampening:i}),c=Ep({x:l,y:u});if(Ws(c,Bs))return null;var s=function(e){var t=e.container,n=e.subject,r=e.proposedScroll,o=n.height>t.height,i=n.width>t.width;return i||o?i&&o?null:{x:i?0:r.x,y:o?0:r.y}:r}({container:n,subject:r,proposedScroll:c});return s?Ws(s,Bs)?null:s:null},Sp=qs((function(e){return 0===e?0:e>0?1:-1})),_p=function(){var e=function(e,t){return e<0?e:e>t?e-t:0};return function(t){var n=t.current,r=t.max,o=t.change,i=zs(n,o),a={x:e(i.x,r.x),y:e(i.y,r.y)};return Ws(a,Bs)?null:a}}(),Cp=function(e){var t=e.max,n=e.current,r=e.change,o={x:Math.max(n.x,t.x),y:Math.max(n.y,t.y)},i=Sp(r),a=_p({max:o,current:n,change:i});return!a||(0!==i.x&&0===a.x||0!==i.y&&0===a.y)},Op=function(e,t){return Cp({current:e.scroll.current,max:e.scroll.max,change:t})},Ip=function(e,t){var n=e.frame;return!!n&&Cp({current:n.scroll.current,max:n.scroll.max,change:t})},Np=function(e){var t=e.state,n=e.dragStartTime,r=e.shouldUseTimeDampening,o=e.scrollWindow,i=e.scrollDroppable,a=t.current.page.borderBoxCenter,u=t.dimensions.draggables[t.critical.draggable.id].page.marginBox;if(t.isWindowScrollAllowed){var l=function(e){var t=e.viewport,n=e.subject,r=e.center,o=e.dragStartTime,i=e.shouldUseTimeDampening,a=kp({dragStartTime:o,container:t.frame,subject:n,center:r,shouldUseTimeDampening:i});return a&&Op(t,a)?a:null}({dragStartTime:n,viewport:t.viewport,subject:u,center:a,shouldUseTimeDampening:r});if(l)return void o(l)}var c=fp({center:a,destination:Yf(t.impact),droppables:t.dimensions.droppables});if(c){var s=function(e){var t=e.droppable,n=e.subject,r=e.center,o=e.dragStartTime,i=e.shouldUseTimeDampening,a=t.frame;if(!a)return null;var u=kp({dragStartTime:o,container:a.pageMarginBox,subject:n,center:r,shouldUseTimeDampening:i});return u&&Ip(t,u)?u:null}({dragStartTime:n,droppable:c,subject:u,center:a,shouldUseTimeDampening:r});s&&i(c.descriptor.id,s)}},Dp=function(e){var t=e.move,n=e.scrollDroppable,r=e.scrollWindow,o=function(e,t){if(!Ip(e,t))return t;var r=function(e,t){var n=e.frame;return n&&Ip(e,t)?_p({current:n.scroll.current,max:n.scroll.max,change:t}):null}(e,t);if(!r)return n(e.descriptor.id,t),null;var o=Us(t,r);return n(e.descriptor.id,o),Us(t,o)},i=function(e,t,n){if(!e)return n;if(!Op(t,n))return n;var o=function(e,t){if(!Op(e,t))return null;var n=e.scroll.max,r=e.scroll.current;return _p({current:r,max:n,change:t})}(t,n);if(!o)return r(n),null;var i=Us(n,o);return r(i),Us(n,i)};return function(e){var n=e.scrollJumpRequest;if(n){var r=Yf(e.impact);r||Ns(!1);var a=o(e.dimensions.droppables[r],n);if(a){var u=e.viewport,l=i(e.isWindowScrollAllowed,u,a);l&&function(e,n){var r=zs(e.current.client.selection,n);t({client:r})}(e,l)}}}},Tp=function(e){var t=e.scrollDroppable,n=e.scrollWindow,r=e.move,o=function(e){var t=e.scrollWindow,n=e.scrollDroppable,r=ks(t),o=ks(n),i=null,a=function(e){i||Ns(!1);var t=i,n=t.shouldUseTimeDampening,a=t.dragStartTime;Np({state:e,scrollWindow:r,scrollDroppable:o,dragStartTime:a,shouldUseTimeDampening:n})};return{start:function(e){sd(),i&&Ns(!1);var t=Date.now(),n=!1,r=function(){n=!0};Np({state:e,dragStartTime:0,shouldUseTimeDampening:!1,scrollWindow:r,scrollDroppable:r}),i={dragStartTime:t,shouldUseTimeDampening:n},fd(),n&&a(e)},stop:function(){i&&(r.cancel(),o.cancel(),i=null)},scroll:a}}({scrollWindow:n,scrollDroppable:t}),i=Dp({move:r,scrollWindow:n,scrollDroppable:t});return{scroll:function(e){"DRAGGING"===e.phase&&("FLUID"!==e.movementMode?e.scrollJumpRequest&&i(e):o.scroll(e))},start:o.start,stop:o.stop}},Rp=function(){var e="data-rbd-drag-handle";return{base:e,draggableId:e+"-draggable-id",contextId:e+"-context-id"}}(),Ap=function(){var e="data-rbd-draggable";return{base:e,contextId:e+"-context-id",id:e+"-id"}}(),Pp=function(){var e="data-rbd-droppable";return{base:e,contextId:e+"-context-id",id:e+"-id"}}(),Lp={contextId:"data-rbd-scroll-container-context-id"},Mp=function(e,t){return e.map((function(e){var n=e.styles[t];return n?e.selector+" { "+n+" }":""})).join(" ")},jp="undefined"!==typeof window&&"undefined"!==typeof window.document&&"undefined"!==typeof window.document.createElement?u.useLayoutEffect:u.useEffect,Fp=function(){var e=document.querySelector("head");return e||Ns(!1),e},Bp=function(e){var t=document.createElement("style");return e&&t.setAttribute("nonce",e),t.type="text/css",t};function zp(e,t){var n=us((function(){return function(e){var t,n=(t=e,function(e){return"["+e+'="'+t+'"]'}),r=function(){var e="\n cursor: -webkit-grab;\n cursor: grab;\n ";return{selector:n(Rp.contextId),styles:{always:"\n -webkit-touch-callout: none;\n -webkit-tap-highlight-color: rgba(0,0,0,0);\n touch-action: manipulation;\n ",resting:e,dragging:"pointer-events: none;",dropAnimating:e}}}(),o=[function(){var e="\n transition: "+Ld.outOfTheWay+";\n ";return{selector:n(Ap.contextId),styles:{dragging:e,dropAnimating:e,userCancel:e}}}(),r,{selector:n(Pp.contextId),styles:{always:"overflow-anchor: none;"}},{selector:"body",styles:{dragging:"\n cursor: grabbing;\n cursor: -webkit-grabbing;\n user-select: none;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n overflow-anchor: none;\n "}}];return{always:Mp(o,"always"),resting:Mp(o,"resting"),dragging:Mp(o,"dragging"),dropAnimating:Mp(o,"dropAnimating"),userCancel:Mp(o,"userCancel")}}(e)}),[e]),r=(0,u.useRef)(null),o=(0,u.useRef)(null),i=ls(Es((function(e){var t=o.current;t||Ns(!1),t.textContent=e})),[]),a=ls((function(e){var t=r.current;t||Ns(!1),t.textContent=e}),[]);jp((function(){(r.current||o.current)&&Ns(!1);var u=Bp(t),l=Bp(t);return r.current=u,o.current=l,u.setAttribute("data-rbd-always",e),l.setAttribute("data-rbd-dynamic",e),Fp().appendChild(u),Fp().appendChild(l),a(n.always),i(n.resting),function(){var e=function(e){var t=e.current;t||Ns(!1),Fp().removeChild(t),e.current=null};e(r),e(o)}}),[t,a,i,n.always,n.resting,e]);var l=ls((function(){return i(n.dragging)}),[i,n.dragging]),c=ls((function(e){i("DROP"!==e?n.userCancel:n.dropAnimating)}),[i,n.dropAnimating,n.userCancel]),s=ls((function(){o.current&&i(n.resting)}),[i,n.resting]);return us((function(){return{dragging:l,dropping:c,resting:s}}),[l,c,s])}var Up=function(e){return e&&e.ownerDocument?e.ownerDocument.defaultView:window};function Wp(e){return e instanceof Up(e).HTMLElement}function Hp(e,t){var n="["+Rp.contextId+'="'+e+'"]',r=nf(document.querySelectorAll(n));if(!r.length)return null;var o=tf(r,(function(e){return e.getAttribute(Rp.draggableId)===t}));return o&&Wp(o)?o:null}function Gp(){var e={draggables:{},droppables:{}},t=[];function n(e){t.length&&t.forEach((function(t){return t(e)}))}function r(t){return e.draggables[t]||null}var o={register:function(t){e.draggables[t.descriptor.id]=t,n({type:"ADDITION",value:t})},update:function(t,n){var r=e.draggables[n.descriptor.id];r&&r.uniqueId===t.uniqueId&&(delete e.draggables[n.descriptor.id],e.draggables[t.descriptor.id]=t)},unregister:function(t){var o=t.descriptor.id,i=r(o);i&&t.uniqueId===i.uniqueId&&(delete e.draggables[o],n({type:"REMOVAL",value:t}))},getById:function(e){var t=r(e);return t||Ns(!1),t},findById:r,exists:function(e){return Boolean(r(e))},getAllByType:function(t){return Js(e.draggables).filter((function(e){return e.descriptor.type===t}))}};function i(t){return e.droppables[t]||null}var a={register:function(t){e.droppables[t.descriptor.id]=t},unregister:function(t){var n=i(t.descriptor.id);n&&t.uniqueId===n.uniqueId&&delete e.droppables[t.descriptor.id]},getById:function(e){var t=i(e);return t||Ns(!1),t},findById:i,exists:function(e){return Boolean(i(e))},getAllByType:function(t){return Js(e.droppables).filter((function(e){return e.descriptor.type===t}))}};return{draggable:o,droppable:a,subscribe:function(e){return t.push(e),function(){var n=t.indexOf(e);-1!==n&&t.splice(n,1)}},clean:function(){e.draggables={},e.droppables={},t.length=0}}}var Vp=u.createContext(null),$p=function(){var e=document.body;return e||Ns(!1),e},qp={position:"absolute",width:"1px",height:"1px",margin:"-1px",border:"0",padding:"0",overflow:"hidden",clip:"rect(0 0 0 0)","clip-path":"inset(100%)"};var Kp=0,Yp={separator:"::"};function Zp(e,t){return void 0===t&&(t=Yp),us((function(){return""+e+t.separator+Kp++}),[t.separator,e])}var Xp=u.createContext(null);function Qp(e){0}function Jp(e,t){Qp()}function eh(){Jp()}function th(e){var t=(0,u.useRef)(e);return(0,u.useEffect)((function(){t.current=e})),t}var nh,rh=((nh={})[13]=!0,nh[9]=!0,nh),oh=function(e){rh[e.keyCode]&&e.preventDefault()},ih=function(){var e="visibilitychange";return"undefined"===typeof document?e:tf([e,"ms"+e,"webkit"+e,"moz"+e,"o"+e],(function(e){return"on"+e in document}))||e}();var ah,uh={type:"IDLE"};function lh(e){var t=e.cancel,n=e.completed,r=e.getPhase,o=e.setPhase;return[{eventName:"mousemove",fn:function(e){var t=e.button,n=e.clientX,i=e.clientY;if(0===t){var a={x:n,y:i},u=r();if("DRAGGING"===u.type)return e.preventDefault(),void u.actions.move(a);if("PENDING"!==u.type&&Ns(!1),function(e,t){return Math.abs(t.x-e.x)>=5||Math.abs(t.y-e.y)>=5}(u.point,a)){e.preventDefault();var l=u.actions.fluidLift(a);o({type:"DRAGGING",actions:l})}}}},{eventName:"mouseup",fn:function(e){var o=r();"DRAGGING"===o.type?(e.preventDefault(),o.actions.drop({shouldBlockNextClick:!0}),n()):t()}},{eventName:"mousedown",fn:function(e){"DRAGGING"===r().type&&e.preventDefault(),t()}},{eventName:"keydown",fn:function(e){if("PENDING"!==r().type)return 27===e.keyCode?(e.preventDefault(),void t()):void oh(e);t()}},{eventName:"resize",fn:t},{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(){"PENDING"===r().type&&t()}},{eventName:"webkitmouseforcedown",fn:function(e){var n=r();"IDLE"===n.type&&Ns(!1),n.actions.shouldRespectForcePress()?t():e.preventDefault()}},{eventName:ih,fn:t}]}function ch(){}var sh=((ah={})[34]=!0,ah[33]=!0,ah[36]=!0,ah[35]=!0,ah);function fh(e,t){function n(){t(),e.cancel()}return[{eventName:"keydown",fn:function(r){return 27===r.keyCode?(r.preventDefault(),void n()):32===r.keyCode?(r.preventDefault(),t(),void e.drop()):40===r.keyCode?(r.preventDefault(),void e.moveDown()):38===r.keyCode?(r.preventDefault(),void e.moveUp()):39===r.keyCode?(r.preventDefault(),void e.moveRight()):37===r.keyCode?(r.preventDefault(),void e.moveLeft()):void(sh[r.keyCode]?r.preventDefault():oh(r))}},{eventName:"mousedown",fn:n},{eventName:"mouseup",fn:n},{eventName:"click",fn:n},{eventName:"touchstart",fn:n},{eventName:"resize",fn:n},{eventName:"wheel",fn:n,options:{passive:!0}},{eventName:ih,fn:n}]}var dh={type:"IDLE"};var ph={input:!0,button:!0,textarea:!0,select:!0,option:!0,optgroup:!0,video:!0,audio:!0};function hh(e,t){if(null==t)return!1;if(Boolean(ph[t.tagName.toLowerCase()]))return!0;var n=t.getAttribute("contenteditable");return"true"===n||""===n||t!==e&&hh(e,t.parentElement)}function vh(e,t){var n=t.target;return!!Wp(n)&&hh(e,n)}var gh=function(e){return ss(e.getBoundingClientRect()).center};var mh=function(){var e="matches";return"undefined"===typeof document?e:tf([e,"msMatchesSelector","webkitMatchesSelector"],(function(e){return e in Element.prototype}))||e}();function yh(e,t){return null==e?null:e[mh](t)?e:yh(e.parentElement,t)}function bh(e,t){return e.closest?e.closest(t):yh(e,t)}function wh(e,t){var n,r=t.target;if(!((n=r)instanceof Up(n).Element))return null;var o=function(e){return"["+Rp.contextId+'="'+e+'"]'}(e),i=bh(r,o);return i&&Wp(i)?i:null}function xh(e){e.preventDefault()}function Eh(e){var t=e.expected,n=e.phase,r=e.isLockActive;e.shouldWarn;return!!r()&&t===n}function kh(e){var t=e.lockAPI,n=e.store,r=e.registry,o=e.draggableId;if(t.isClaimed())return!1;var i=r.draggable.findById(o);return!!i&&(!!i.options.isEnabled&&!!lp(n.getState(),o))}function Sh(e){var t=e.lockAPI,n=e.contextId,r=e.store,o=e.registry,i=e.draggableId,a=e.forceSensorStop,u=e.sourceEvent;if(!kh({lockAPI:t,store:r,registry:o,draggableId:i}))return null;var l=o.draggable.getById(i),c=function(e,t){var n="["+Ap.contextId+'="'+e+'"]',r=tf(nf(document.querySelectorAll(n)),(function(e){return e.getAttribute(Ap.id)===t}));return r&&Wp(r)?r:null}(n,l.descriptor.id);if(!c)return null;if(u&&!l.options.canDragInteractiveElements&&vh(c,u))return null;var s=t.claim(a||_s),f="PRE_DRAG";function d(){return l.options.shouldRespectForcePress}function p(){return t.isActive(s)}var h=function(e,t){Eh({expected:e,phase:f,isLockActive:p,shouldWarn:!0})&&r.dispatch(t())}.bind(null,"DRAGGING");function v(e){function n(){t.release(),f="COMPLETED"}function o(t,o){if(void 0===o&&(o={shouldBlockNextClick:!1}),e.cleanup(),o.shouldBlockNextClick){var i=Cs(window,[{eventName:"click",fn:xh,options:{once:!0,passive:!1,capture:!0}}]);setTimeout(i)}n(),r.dispatch(Nd({reason:t}))}return"PRE_DRAG"!==f&&(n(),"PRE_DRAG"!==f&&Ns(!1)),r.dispatch(function(e){return{type:"LIFT",payload:e}}(e.liftActionArgs)),f="DRAGGING",w({isActive:function(){return Eh({expected:"DRAGGING",phase:f,isLockActive:p,shouldWarn:!1})},shouldRespectForcePress:d,drop:function(e){return o("DROP",e)},cancel:function(e){return o("CANCEL",e)}},e.actions)}return{isActive:function(){return Eh({expected:"PRE_DRAG",phase:f,isLockActive:p,shouldWarn:!1})},shouldRespectForcePress:d,fluidLift:function(e){var t=ks((function(e){h((function(){return kd({client:e})}))}));return w({},v({liftActionArgs:{id:i,clientSelection:e,movementMode:"FLUID"},cleanup:function(){return t.cancel()},actions:{move:t}}),{move:t})},snapLift:function(){var e={moveUp:function(){return h(Sd)},moveRight:function(){return h(Cd)},moveDown:function(){return h(_d)},moveLeft:function(){return h(Od)}};return v({liftActionArgs:{id:i,clientSelection:gh(c),movementMode:"SNAP"},cleanup:_s,actions:e})},abort:function(){Eh({expected:"PRE_DRAG",phase:f,isLockActive:p,shouldWarn:!0})&&t.release()}}}var _h=[function(e){var t=(0,u.useRef)(uh),n=(0,u.useRef)(_s),r=us((function(){return{eventName:"mousedown",fn:function(t){if(!t.defaultPrevented&&0===t.button&&!(t.ctrlKey||t.metaKey||t.shiftKey||t.altKey)){var r=e.findClosestDraggableId(t);if(r){var o=e.tryGetLock(r,a,{sourceEvent:t});if(o){t.preventDefault();var i={x:t.clientX,y:t.clientY};n.current(),s(o,i)}}}}}}),[e]),o=us((function(){return{eventName:"webkitmouseforcewillbegin",fn:function(t){if(!t.defaultPrevented){var n=e.findClosestDraggableId(t);if(n){var r=e.findOptionsForDraggable(n);r&&(r.shouldRespectForcePress||e.canGetLock(n)&&t.preventDefault())}}}}}),[e]),i=ls((function(){n.current=Cs(window,[o,r],{passive:!1,capture:!0})}),[o,r]),a=ls((function(){"IDLE"!==t.current.type&&(t.current=uh,n.current(),i())}),[i]),l=ls((function(){var e=t.current;a(),"DRAGGING"===e.type&&e.actions.cancel({shouldBlockNextClick:!0}),"PENDING"===e.type&&e.actions.abort()}),[a]),c=ls((function(){var e=lh({cancel:l,completed:a,getPhase:function(){return t.current},setPhase:function(e){t.current=e}});n.current=Cs(window,e,{capture:!0,passive:!1})}),[l,a]),s=ls((function(e,n){"IDLE"!==t.current.type&&Ns(!1),t.current={type:"PENDING",point:n,actions:e},c()}),[c]);jp((function(){return i(),function(){n.current()}}),[i])},function(e){var t=(0,u.useRef)(ch),n=us((function(){return{eventName:"keydown",fn:function(n){if(!n.defaultPrevented&&32===n.keyCode){var o=e.findClosestDraggableId(n);if(o){var i=e.tryGetLock(o,l,{sourceEvent:n});if(i){n.preventDefault();var a=!0,u=i.snapLift();t.current(),t.current=Cs(window,fh(u,l),{capture:!0,passive:!1})}}}function l(){a||Ns(!1),a=!1,t.current(),r()}}}}),[e]),r=ls((function(){t.current=Cs(window,[n],{passive:!1,capture:!0})}),[n]);jp((function(){return r(),function(){t.current()}}),[r])},function(e){var t=(0,u.useRef)(dh),n=(0,u.useRef)(_s),r=ls((function(){return t.current}),[]),o=ls((function(e){t.current=e}),[]),i=us((function(){return{eventName:"touchstart",fn:function(t){if(!t.defaultPrevented){var r=e.findClosestDraggableId(t);if(r){var o=e.tryGetLock(r,l,{sourceEvent:t});if(o){var i=t.touches[0],a={x:i.clientX,y:i.clientY};n.current(),d(o,a)}}}}}}),[e]),a=ls((function(){n.current=Cs(window,[i],{capture:!0,passive:!1})}),[i]),l=ls((function(){var e=t.current;"IDLE"!==e.type&&("PENDING"===e.type&&clearTimeout(e.longPressTimerId),o(dh),n.current(),a())}),[a,o]),c=ls((function(){var e=t.current;l(),"DRAGGING"===e.type&&e.actions.cancel({shouldBlockNextClick:!0}),"PENDING"===e.type&&e.actions.abort()}),[l]),s=ls((function(){var e={capture:!0,passive:!1},t={cancel:c,completed:l,getPhase:r},o=Cs(window,function(e){var t=e.cancel,n=e.completed,r=e.getPhase;return[{eventName:"touchmove",options:{capture:!1},fn:function(e){var n=r();if("DRAGGING"===n.type){n.hasMoved=!0;var o=e.touches[0],i={x:o.clientX,y:o.clientY};e.preventDefault(),n.actions.move(i)}else t()}},{eventName:"touchend",fn:function(e){var o=r();"DRAGGING"===o.type?(e.preventDefault(),o.actions.drop({shouldBlockNextClick:!0}),n()):t()}},{eventName:"touchcancel",fn:function(e){"DRAGGING"===r().type?(e.preventDefault(),t()):t()}},{eventName:"touchforcechange",fn:function(e){var n=r();"IDLE"===n.type&&Ns(!1);var o=e.touches[0];if(o&&o.force>=.15){var i=n.actions.shouldRespectForcePress();if("PENDING"!==n.type)return i?n.hasMoved?void e.preventDefault():void t():void e.preventDefault();i&&t()}}},{eventName:ih,fn:t}]}(t),e),i=Cs(window,function(e){var t=e.cancel,n=e.getPhase;return[{eventName:"orientationchange",fn:t},{eventName:"resize",fn:t},{eventName:"contextmenu",fn:function(e){e.preventDefault()}},{eventName:"keydown",fn:function(e){"DRAGGING"===n().type?(27===e.keyCode&&e.preventDefault(),t()):t()}},{eventName:ih,fn:t}]}(t),e);n.current=function(){o(),i()}}),[c,r,l]),f=ls((function(){var e=r();"PENDING"!==e.type&&Ns(!1);var t=e.actions.fluidLift(e.point);o({type:"DRAGGING",actions:t,hasMoved:!1})}),[r,o]),d=ls((function(e,t){"IDLE"!==r().type&&Ns(!1);var n=setTimeout(f,120);o({type:"PENDING",point:t,actions:e,longPressTimerId:n}),s()}),[s,r,o,f]);jp((function(){return a(),function(){n.current();var e=r();"PENDING"===e.type&&(clearTimeout(e.longPressTimerId),o(dh))}}),[r,a,o]),jp((function(){return Cs(window,[{eventName:"touchmove",fn:function(){},options:{capture:!1,passive:!1}}])}),[])}];function Ch(e){var t=e.contextId,n=e.store,r=e.registry,o=e.customSensors,i=e.enableDefaultSensors,a=[].concat(i?_h:[],o||[]),l=(0,u.useState)((function(){return function(){var e=null;function t(){e||Ns(!1),e=null}return{isClaimed:function(){return Boolean(e)},isActive:function(t){return t===e},claim:function(t){e&&Ns(!1);var n={abandon:t};return e=n,n},release:t,tryAbandon:function(){e&&(e.abandon(),t())}}}()}))[0],c=ls((function(e,t){e.isDragging&&!t.isDragging&&l.tryAbandon()}),[l]);jp((function(){var e=n.getState();return n.subscribe((function(){var t=n.getState();c(e,t),e=t}))}),[l,n,c]),jp((function(){return l.tryAbandon}),[l.tryAbandon]);var s=ls((function(e){return kh({lockAPI:l,registry:r,store:n,draggableId:e})}),[l,r,n]),f=ls((function(e,o,i){return Sh({lockAPI:l,registry:r,contextId:t,store:n,draggableId:e,forceSensorStop:o,sourceEvent:i&&i.sourceEvent?i.sourceEvent:null})}),[t,l,r,n]),d=ls((function(e){return function(e,t){var n=wh(e,t);return n?n.getAttribute(Rp.draggableId):null}(t,e)}),[t]),p=ls((function(e){var t=r.draggable.findById(e);return t?t.options:null}),[r.draggable]),h=ls((function(){l.isClaimed()&&(l.tryAbandon(),"IDLE"!==n.getState().phase&&n.dispatch({type:"FLUSH",payload:null}))}),[l,n]),v=ls(l.isClaimed,[l]),g=us((function(){return{canGetLock:s,tryGetLock:f,findClosestDraggableId:d,findOptionsForDraggable:p,tryReleaseLock:h,isLockClaimed:v}}),[s,f,d,p,h,v]);Qp();for(var m=0;m<a.length;m++)a[m](g)}function Oh(e){return e.current||Ns(!1),e.current}function Ih(e){var t=e.contextId,n=e.setCallbacks,r=e.sensors,o=e.nonce,i=e.dragHandleUsageInstructions,a=(0,u.useRef)(null);eh();var l=th(e),c=ls((function(){return function(e){return{onBeforeCapture:e.onBeforeCapture,onBeforeDragStart:e.onBeforeDragStart,onDragStart:e.onDragStart,onDragEnd:e.onDragEnd,onDragUpdate:e.onDragUpdate}}(l.current)}),[l]),s=function(e){var t=us((function(){return function(e){return"rbd-announcement-"+e}(e)}),[e]),n=(0,u.useRef)(null);return(0,u.useEffect)((function(){var e=document.createElement("div");return n.current=e,e.id=t,e.setAttribute("aria-live","assertive"),e.setAttribute("aria-atomic","true"),w(e.style,qp),$p().appendChild(e),function(){setTimeout((function(){var t=$p();t.contains(e)&&t.removeChild(e),e===n.current&&(n.current=null)}))}}),[t]),ls((function(e){var t=n.current;t&&(t.textContent=e)}),[])}(t),f=function(e){var t=e.contextId,n=e.text,r=Zp("hidden-text",{separator:"-"}),o=us((function(){return function(e){return"rbd-hidden-text-"+e.contextId+"-"+e.uniqueId}({contextId:t,uniqueId:r})}),[r,t]);return(0,u.useEffect)((function(){var e=document.createElement("div");return e.id=o,e.textContent=n,e.style.display="none",$p().appendChild(e),function(){var t=$p();t.contains(e)&&t.removeChild(e)}}),[o,n]),o}({contextId:t,text:i}),d=zp(t,o),p=ls((function(e){Oh(a).dispatch(e)}),[]),h=us((function(){return kc({publishWhileDragging:yd,updateDroppableScroll:wd,updateDroppableIsEnabled:xd,updateDroppableIsCombineEnabled:Ed,collectionStarting:bd},p)}),[p]),v=function(){var e=us(Gp,[]);return(0,u.useEffect)((function(){return function(){requestAnimationFrame(e.clean)}}),[e]),e}(),g=us((function(){return up(v,h)}),[v,h]),m=us((function(){return Tp(w({scrollWindow:cp,scrollDroppable:g.scrollDroppable},kc({move:kd},p)))}),[g.scrollDroppable,p]),y=function(e){var t=(0,u.useRef)({}),n=(0,u.useRef)(null),r=(0,u.useRef)(null),o=(0,u.useRef)(!1),i=ls((function(e,n){var r={id:e,focus:n};return t.current[e]=r,function(){var n=t.current;n[e]!==r&&delete n[e]}}),[]),a=ls((function(t){var n=Hp(e,t);n&&n!==document.activeElement&&n.focus()}),[e]),l=ls((function(e,t){n.current===e&&(n.current=t)}),[]),c=ls((function(){r.current||o.current&&(r.current=requestAnimationFrame((function(){r.current=null;var e=n.current;e&&a(e)})))}),[a]),s=ls((function(e){n.current=null;var t=document.activeElement;t&&t.getAttribute(Rp.draggableId)===e&&(n.current=e)}),[]);return jp((function(){return o.current=!0,function(){o.current=!1;var e=r.current;e&&cancelAnimationFrame(e)}}),[]),us((function(){return{register:i,tryRecordFocus:s,tryRestoreFocusRecorded:c,tryShiftRecord:l}}),[i,s,c,l])}(t),b=us((function(){return tp({announce:s,autoScroller:m,dimensionMarshal:g,focusMarshal:y,getResponders:c,styleMarshal:d})}),[s,m,g,y,c,d]);a.current=b;var x=ls((function(){var e=Oh(a);"IDLE"!==e.getState().phase&&e.dispatch({type:"FLUSH",payload:null})}),[]),E=ls((function(){var e=Oh(a).getState();return e.isDragging||"DROP_ANIMATING"===e.phase}),[]);n(us((function(){return{isDragging:E,tryAbort:x}}),[E,x]));var k=ls((function(e){return lp(Oh(a).getState(),e)}),[]),S=ls((function(){return Xf(Oh(a).getState())}),[]),_=us((function(){return{marshal:g,focus:y,contextId:t,canLift:k,isMovementAllowed:S,dragHandleUsageInstructionsId:f,registry:v}}),[t,g,f,y,k,S,v]);return Ch({contextId:t,store:b,registry:v,customSensors:r,enableDefaultSensors:!1!==e.enableDefaultSensors}),(0,u.useEffect)((function(){return x}),[x]),u.createElement(Xp.Provider,{value:_},u.createElement(Tc,{context:Vp,store:b},e.children))}var Nh=0;function Dh(e){var t=us((function(){return""+Nh++}),[]),n=e.dragHandleUsageInstructions||Ls;return u.createElement(Ds,null,(function(r){return u.createElement(Ih,{nonce:e.nonce,contextId:t,setCallbacks:r,dragHandleUsageInstructions:n,enableDefaultSensors:e.enableDefaultSensors,sensors:e.sensors,onBeforeCapture:e.onBeforeCapture,onBeforeDragStart:e.onBeforeDragStart,onDragStart:e.onDragStart,onDragUpdate:e.onDragUpdate,onDragEnd:e.onDragEnd},e.children)}))}var Th=function(e){return function(t){return e===t}},Rh=Th("scroll"),Ah=Th("auto"),Ph=(Th("visible"),function(e,t){return t(e.overflowX)||t(e.overflowY)}),Lh=function(e){var t=window.getComputedStyle(e),n={overflowX:t.overflowX,overflowY:t.overflowY};return Ph(n,Rh)||Ph(n,Ah)},Mh=function e(t){return null==t||t===document.body||t===document.documentElement?null:Lh(t)?t:e(t.parentElement)},jh=function(e){return{x:e.scrollLeft,y:e.scrollTop}},Fh=function e(t){return!!t&&("fixed"===window.getComputedStyle(t).position||e(t.parentElement))},Bh=function(e){return{closestScrollable:Mh(e),isFixedOnPage:Fh(e)}},zh=function(e){var t=e.ref,n=e.descriptor,r=e.env,o=e.windowScroll,i=e.direction,a=e.isDropDisabled,u=e.isCombineEnabled,l=e.shouldClipSubject,c=r.closestScrollable,s=function(e,t){var n=bs(e);if(!t)return n;if(e!==t)return n;var r=n.paddingBox.top-t.scrollTop,o=n.paddingBox.left-t.scrollLeft,i=r+t.scrollHeight,a=o+t.scrollWidth,u=fs({top:r,right:a,bottom:i,left:o},n.border);return hs({borderBox:u,margin:n.margin,border:n.border,padding:n.padding})}(t,c),f=ms(s,o),d=function(){if(!c)return null;var e=bs(c),t={scrollHeight:c.scrollHeight,scrollWidth:c.scrollWidth};return{client:e,page:ms(e,o),scroll:jh(c),scrollSize:t,shouldClipSubject:l}}(),p=function(e){var t=e.descriptor,n=e.isEnabled,r=e.isCombineEnabled,o=e.isFixedOnPage,i=e.direction,a=e.client,u=e.page,l=e.closest,c=function(){if(!l)return null;var e=l.scrollSize,t=l.client,n=np({scrollHeight:e.scrollHeight,scrollWidth:e.scrollWidth,height:t.paddingBox.height,width:t.paddingBox.width});return{pageMarginBox:l.page.marginBox,frameClient:t,scrollSize:e,shouldClipSubject:l.shouldClipSubject,scroll:{initial:l.scroll,current:l.scroll,max:n,diff:{value:Bs,displacement:Bs}}}}(),s="vertical"===i?bf:wf;return{descriptor:t,isCombineEnabled:r,isFixedOnPage:o,axis:s,isEnabled:n,client:a,page:u,frame:c,subject:Xs({page:u,withPlaceholder:null,axis:s,frame:c})}}({descriptor:n,isEnabled:!a,isCombineEnabled:u,isFixedOnPage:r.isFixedOnPage,direction:i,client:s,page:f,closest:d});return p},Uh={passive:!1},Wh={passive:!0},Hh=function(e){return e.shouldPublishImmediately?Uh:Wh};function Gh(e){var t=(0,u.useContext)(e);return t||Ns(!1),t}var Vh=function(e){return e&&e.env.closestScrollable||null};function $h(){}var qh={width:0,height:0,margin:{top:0,right:0,bottom:0,left:0}},Kh=function(e){var t=e.isAnimatingOpenOnMount,n=e.placeholder,r=e.animate,o=function(e){var t=e.isAnimatingOpenOnMount,n=e.placeholder,r=e.animate;return t||"close"===r?qh:{height:n.client.borderBox.height,width:n.client.borderBox.width,margin:n.client.margin}}({isAnimatingOpenOnMount:t,placeholder:n,animate:r});return{display:n.display,boxSizing:"border-box",width:o.width,height:o.height,marginTop:o.margin.top,marginRight:o.margin.right,marginBottom:o.margin.bottom,marginLeft:o.margin.left,flexShrink:"0",flexGrow:"0",pointerEvents:"none",transition:"none"!==r?Ld.placeholder:null}};var Yh=u.memo((function(e){var t=(0,u.useRef)(null),n=ls((function(){t.current&&(clearTimeout(t.current),t.current=null)}),[]),r=e.animate,o=e.onTransitionEnd,i=e.onClose,a=e.contextId,l=(0,u.useState)("open"===e.animate),c=l[0],s=l[1];(0,u.useEffect)((function(){return c?"open"!==r?(n(),s(!1),$h):t.current?$h:(t.current=setTimeout((function(){t.current=null,s(!1)})),n):$h}),[r,c,n]);var f=ls((function(e){"height"===e.propertyName&&(o(),"close"===r&&i())}),[r,i,o]),d=Kh({isAnimatingOpenOnMount:c,animate:e.animate,placeholder:e.placeholder});return u.createElement(e.placeholder.tagName,{style:d,"data-rbd-placeholder-context-id":a,onTransitionEnd:f,ref:e.innerRef})})),Zh=u.createContext(null);var Xh=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).state={isVisible:Boolean(t.props.on),data:t.props.on,animate:t.props.shouldAnimate&&t.props.on?"open":"none"},t.onClose=function(){"close"===t.state.animate&&t.setState({isVisible:!1})},t}return Vi(t,e),t.getDerivedStateFromProps=function(e,t){return e.shouldAnimate?e.on?{isVisible:!0,data:e.on,animate:"open"}:t.isVisible?{isVisible:!0,data:t.data,animate:"close"}:{isVisible:!1,animate:"close",data:null}:{isVisible:Boolean(e.on),data:e.on,animate:"none"}},t.prototype.render=function(){if(!this.state.isVisible)return null;var e={onClose:this.onClose,data:this.state.data,animate:this.state.animate};return this.props.children(e)},t}(u.PureComponent),Qh=5e3,Jh=4500,ev=function(e,t){return t?Ld.drop(t.duration):e?Ld.snap:Ld.fluid},tv=function(e,t){return e?t?Rd.drop:Rd.combining:null};function nv(e){return"DRAGGING"===e.type?function(e){var t=e.dimension.client,n=e.offset,r=e.combineWith,o=e.dropping,i=Boolean(r),a=function(e){return null!=e.forceShouldAnimate?e.forceShouldAnimate:"SNAP"===e.mode}(e),u=Boolean(o),l=u?Fd(n,i):jd(n);return{position:"fixed",top:t.marginBox.top,left:t.marginBox.left,boxSizing:"border-box",width:t.borderBox.width,height:t.borderBox.height,transition:ev(a,o),transform:l,opacity:tv(i,u),zIndex:u?Jh:Qh,pointerEvents:"none"}}(e):{transform:jd((t=e).offset),transition:t.shouldAnimateDisplacement?null:"none"};var t}function rv(e){var t=Zp("draggable"),n=e.descriptor,r=e.registry,o=e.getDraggableRef,i=e.canDragInteractiveElements,a=e.shouldRespectForcePress,l=e.isEnabled,c=us((function(){return{canDragInteractiveElements:i,shouldRespectForcePress:a,isEnabled:l}}),[i,l,a]),s=ls((function(e){var t=o();return t||Ns(!1),function(e,t,n){void 0===n&&(n=Bs);var r=window.getComputedStyle(t),o=t.getBoundingClientRect(),i=ys(o,r),a=ms(i,n);return{descriptor:e,placeholder:{client:i,tagName:t.tagName.toLowerCase(),display:r.display},displaceBy:{x:i.marginBox.width,y:i.marginBox.height},client:i,page:a}}(n,t,e)}),[n,o]),f=us((function(){return{uniqueId:t,descriptor:n,options:c,getDimension:s}}),[n,s,c,t]),d=(0,u.useRef)(f),p=(0,u.useRef)(!0);jp((function(){return r.draggable.register(d.current),function(){return r.draggable.unregister(d.current)}}),[r.draggable]),jp((function(){if(p.current)p.current=!1;else{var e=d.current;d.current=f,r.draggable.update(f,e)}}),[f,r.draggable])}function ov(e,t,n){Jp()}function iv(e){e.preventDefault()}var av=function(e,t){return e===t},uv=function(e){var t=e.combine,n=e.destination;return n?n.droppableId:t?t.droppableId:null};function lv(e){return{isDragging:!1,isDropAnimating:!1,isClone:!1,dropAnimation:null,mode:null,draggingOver:null,combineTargetFor:e,combineWith:null}}var cv={mapped:{type:"SECONDARY",offset:Bs,combineTargetFor:null,shouldAnimateDisplacement:!0,snapshot:lv(null)}};var sv=is((function(){var e=function(){var e=Es((function(e,t){return{x:e,y:t}})),t=Es((function(e,t,n,r,o){return{isDragging:!0,isClone:t,isDropAnimating:Boolean(o),dropAnimation:o,mode:e,draggingOver:n,combineWith:r,combineTargetFor:null}})),n=Es((function(e,n,r,o,i,a,u){return{mapped:{type:"DRAGGING",dropping:null,draggingOver:i,combineWith:a,mode:n,offset:e,dimension:r,forceShouldAnimate:u,snapshot:t(n,o,i,a,null)}}}));return function(r,o){if(r.isDragging){if(r.critical.draggable.id!==o.draggableId)return null;var i=r.current.client.offset,a=r.dimensions.draggables[o.draggableId],u=Yf(r.impact),l=(s=r.impact).at&&"COMBINE"===s.at.type?s.at.combine.draggableId:null,c=r.forceShouldAnimate;return n(e(i.x,i.y),r.movementMode,a,o.isClone,u,l,c)}var s;if("DROP_ANIMATING"===r.phase){var f=r.completed;if(f.result.draggableId!==o.draggableId)return null;var d=o.isClone,p=r.dimensions.draggables[o.draggableId],h=f.result,v=h.mode,g=uv(h),m=function(e){return e.combine?e.combine.draggableId:null}(h),y={duration:r.dropDuration,curve:Td,moveTo:r.newHomeClientOffset,opacity:m?Rd.drop:null,scale:m?Ad.drop:null};return{mapped:{type:"DRAGGING",offset:r.newHomeClientOffset,dimension:p,dropping:y,draggingOver:g,combineWith:m,mode:v,forceShouldAnimate:null,snapshot:t(v,d,g,m,y)}}}return null}}(),t=function(){var e=Es((function(e,t){return{x:e,y:t}})),t=Es(lv),n=Es((function(e,n,r){return void 0===n&&(n=null),{mapped:{type:"SECONDARY",offset:e,combineTargetFor:n,shouldAnimateDisplacement:r,snapshot:t(n)}}})),r=function(e){return e?n(Bs,e,!0):null},o=function(t,o,i,a){var u=i.displaced.visible[t],l=Boolean(a.inVirtualList&&a.effected[t]),c=sf(i),s=c&&c.draggableId===t?o:null;if(!u){if(!l)return r(s);if(i.displaced.invisible[t])return null;var f=Hs(a.displacedBy.point),d=e(f.x,f.y);return n(d,s,!0)}if(l)return r(s);var p=i.displacedBy.point,h=e(p.x,p.y);return n(h,s,u.shouldAnimate)};return function(e,t){if(e.isDragging)return e.critical.draggable.id===t.draggableId?null:o(t.draggableId,e.critical.draggable.id,e.impact,e.afterCritical);if("DROP_ANIMATING"===e.phase){var n=e.completed;return n.result.draggableId===t.draggableId?null:o(t.draggableId,n.result.draggableId,n.impact,n.afterCritical)}return null}}();return function(n,r){return e(n,r)||t(n,r)||cv}}),{dropAnimationFinished:Dd},null,{context:Vp,pure:!0,areStatePropsEqual:av})((function(e){var t=(0,u.useRef)(null),n=ls((function(e){t.current=e}),[]),r=ls((function(){return t.current}),[]),o=Gh(Xp),i=o.contextId,a=o.dragHandleUsageInstructionsId,l=o.registry,c=Gh(Zh),s=c.type,f=c.droppableId,d=us((function(){return{id:e.draggableId,index:e.index,type:s,droppableId:f}}),[e.draggableId,e.index,s,f]),p=e.children,h=e.draggableId,v=e.isEnabled,g=e.shouldRespectForcePress,m=e.canDragInteractiveElements,y=e.isClone,b=e.mapped,w=e.dropAnimationFinished;ov(),Qp(),y||rv(us((function(){return{descriptor:d,registry:l,getDraggableRef:r,canDragInteractiveElements:m,shouldRespectForcePress:g,isEnabled:v}}),[d,l,r,m,g,v]));var x=us((function(){return v?{tabIndex:0,role:"button","aria-describedby":a,"data-rbd-drag-handle-draggable-id":h,"data-rbd-drag-handle-context-id":i,draggable:!1,onDragStart:iv}:null}),[i,a,h,v]),E=ls((function(e){"DRAGGING"===b.type&&b.dropping&&"transform"===e.propertyName&&w()}),[w,b]),k=us((function(){var e=nv(b),t="DRAGGING"===b.type&&b.dropping?E:null;return{innerRef:n,draggableProps:{"data-rbd-draggable-context-id":i,"data-rbd-draggable-id":h,style:e,onTransitionEnd:t},dragHandleProps:x}}),[i,x,h,b,E,n]),S=us((function(){return{draggableId:d.id,type:d.type,source:{index:d.index,droppableId:d.droppableId}}}),[d.droppableId,d.id,d.index,d.type]);return p(k,b.snapshot,S)}));function fv(e){return Gh(Zh).isUsingCloneFor!==e.draggableId||e.isClone?u.createElement(sv,e):null}function dv(e){var t="boolean"!==typeof e.isDragDisabled||!e.isDragDisabled,n=Boolean(e.disableInteractiveElementBlocking),r=Boolean(e.shouldRespectForcePress);return u.createElement(fv,w({},e,{isClone:!1,isEnabled:t,canDragInteractiveElements:n,shouldRespectForcePress:r}))}var pv=function(e,t){return e===t.droppable.type},hv=function(e,t){return t.draggables[e.draggable.id]};var vv,gv={mode:"standard",type:"DEFAULT",direction:"vertical",isDropDisabled:!1,isCombineEnabled:!1,ignoreContainerClipping:!1,renderClone:null,getContainerForClone:function(){return document.body||Ns(!1),document.body}},mv=is((function(){var e={placeholder:null,shouldAnimatePlaceholder:!0,snapshot:{isDraggingOver:!1,draggingOverWith:null,draggingFromThisWith:null,isUsingPlaceholder:!1},useClone:null},t=w({},e,{shouldAnimatePlaceholder:!1}),n=Es((function(e){return{draggableId:e.id,type:e.type,source:{index:e.index,droppableId:e.droppableId}}})),r=Es((function(r,o,i,a,u,l){var c=u.descriptor.id;if(u.descriptor.droppableId===r){var s=l?{render:l,dragging:n(u.descriptor)}:null,f={isDraggingOver:i,draggingOverWith:i?c:null,draggingFromThisWith:c,isUsingPlaceholder:!0};return{placeholder:u.placeholder,shouldAnimatePlaceholder:!1,snapshot:f,useClone:s}}if(!o)return t;if(!a)return e;var d={isDraggingOver:i,draggingOverWith:c,draggingFromThisWith:null,isUsingPlaceholder:!0};return{placeholder:u.placeholder,shouldAnimatePlaceholder:!0,snapshot:d,useClone:null}}));return function(n,o){var i=o.droppableId,a=o.type,u=!o.isDropDisabled,l=o.renderClone;if(n.isDragging){var c=n.critical;if(!pv(a,c))return t;var s=hv(c,n.dimensions),f=Yf(n.impact)===i;return r(i,u,f,f,s,l)}if("DROP_ANIMATING"===n.phase){var d=n.completed;if(!pv(a,d.critical))return t;var p=hv(d.critical,n.dimensions);return r(i,u,uv(d.result)===i,Yf(d.impact)===i,p,l)}if("IDLE"===n.phase&&n.completed&&!n.shouldFlush){var h=n.completed;if(!pv(a,h.critical))return t;var v=Yf(h.impact)===i,g=Boolean(h.impact.at&&"COMBINE"===h.impact.at.type),m=h.critical.droppable.id===i;return v?g?e:t:m?e:t}return t}}),{updateViewportMaxScroll:function(e){return{type:"UPDATE_VIEWPORT_MAX_SCROLL",payload:e}}},null,{context:Vp,pure:!0,areStatePropsEqual:av})((function(e){var t=(0,u.useContext)(Xp);t||Ns(!1);var n=t.contextId,r=t.isMovementAllowed,o=(0,u.useRef)(null),i=(0,u.useRef)(null),a=e.children,c=e.droppableId,s=e.type,f=e.mode,d=e.direction,p=e.ignoreContainerClipping,h=e.isDropDisabled,v=e.isCombineEnabled,g=e.snapshot,m=e.useClone,y=e.updateViewportMaxScroll,b=e.getContainerForClone,w=ls((function(){return o.current}),[]),x=ls((function(e){o.current=e}),[]),E=(ls((function(){return i.current}),[]),ls((function(e){i.current=e}),[]));Jp();var k=ls((function(){r()&&y({maxScroll:op()})}),[r,y]);!function(e){var t=(0,u.useRef)(null),n=Gh(Xp),r=Zp("droppable"),o=n.registry,i=n.marshal,a=th(e),l=us((function(){return{id:e.droppableId,type:e.type,mode:e.mode}}),[e.droppableId,e.mode,e.type]),c=(0,u.useRef)(l),s=us((function(){return Es((function(e,n){t.current||Ns(!1);var r={x:e,y:n};i.updateDroppableScroll(l.id,r)}))}),[l.id,i]),f=ls((function(){var e=t.current;return e&&e.env.closestScrollable?jh(e.env.closestScrollable):Bs}),[]),d=ls((function(){var e=f();s(e.x,e.y)}),[f,s]),p=us((function(){return ks(d)}),[d]),h=ls((function(){var e=t.current,n=Vh(e);e&&n||Ns(!1),e.scrollOptions.shouldPublishImmediately?d():p()}),[p,d]),v=ls((function(e,r){t.current&&Ns(!1);var o=a.current,i=o.getDroppableRef();i||Ns(!1);var u=Bh(i),c={ref:i,descriptor:l,env:u,scrollOptions:r};t.current=c;var s=zh({ref:i,descriptor:l,env:u,windowScroll:e,direction:o.direction,isDropDisabled:o.isDropDisabled,isCombineEnabled:o.isCombineEnabled,shouldClipSubject:!o.ignoreContainerClipping}),f=u.closestScrollable;return f&&(f.setAttribute(Lp.contextId,n.contextId),f.addEventListener("scroll",h,Hh(c.scrollOptions))),s}),[n.contextId,l,h,a]),g=ls((function(){var e=t.current,n=Vh(e);return e&&n||Ns(!1),jh(n)}),[]),m=ls((function(){var e=t.current;e||Ns(!1);var n=Vh(e);t.current=null,n&&(p.cancel(),n.removeAttribute(Lp.contextId),n.removeEventListener("scroll",h,Hh(e.scrollOptions)))}),[h,p]),y=ls((function(e){var n=t.current;n||Ns(!1);var r=Vh(n);r||Ns(!1),r.scrollTop+=e.y,r.scrollLeft+=e.x}),[]),b=us((function(){return{getDimensionAndWatchScroll:v,getScrollWhileDragging:g,dragStopped:m,scroll:y}}),[m,v,g,y]),w=us((function(){return{uniqueId:r,descriptor:l,callbacks:b}}),[b,l,r]);jp((function(){return c.current=w.descriptor,o.droppable.register(w),function(){t.current&&m(),o.droppable.unregister(w)}}),[b,l,m,w,i,o.droppable]),jp((function(){t.current&&i.updateDroppableIsEnabled(c.current.id,!e.isDropDisabled)}),[e.isDropDisabled,i]),jp((function(){t.current&&i.updateDroppableIsCombineEnabled(c.current.id,e.isCombineEnabled)}),[e.isCombineEnabled,i])}({droppableId:c,type:s,mode:f,direction:d,isDropDisabled:h,isCombineEnabled:v,ignoreContainerClipping:p,getDroppableRef:w});var S=u.createElement(Xh,{on:e.placeholder,shouldAnimate:e.shouldAnimatePlaceholder},(function(e){var t=e.onClose,r=e.data,o=e.animate;return u.createElement(Yh,{placeholder:r,onClose:t,innerRef:E,animate:o,contextId:n,onTransitionEnd:k})})),_=us((function(){return{innerRef:x,placeholder:S,droppableProps:{"data-rbd-droppable-id":c,"data-rbd-droppable-context-id":n}}}),[n,c,S,x]),C=m?m.dragging.draggableId:null,O=us((function(){return{droppableId:c,type:s,isUsingCloneFor:C}}),[c,C,s]);return u.createElement(Zh.Provider,{value:O},a(_,g),function(){if(!m)return null;var e=m.dragging,t=m.render,n=u.createElement(fv,{draggableId:e.draggableId,index:e.source.index,isClone:!0,isEnabled:!0,shouldRespectForcePress:!1,canDragInteractiveElements:!0},(function(n,r){return t(n,r,e)}));return l.createPortal(n,b())}())}));mv.defaultProps=gv;var yv,bv=nt.div(vv||(vv=o(["\n align-items: center;\n display: flex;\n margin-bottom: 8px;\n"]))),wv=function(e){var t,n=e.group,r=(0,u.createRef)(),o=Jt(),i=en((function(e){return e.settings.spellCheckerEnabled})),a=en((function(e){return e.settings.canEdit})),l=en((function(e){return e.tasks.groups})),c=n.name,s=it((0,u.useState)(null!==(t=n.draft)&&void 0!==t?t:""),2),f=s[0],d=s[1];if(nn((function(){var e;(null!==(e=n.draft)&&void 0!==e?e:"")!==f&&o(Jo({groupName:c,draft:f}))})),!a)return(0,li.jsx)(li.Fragment,{});var p=function(e,t){return 0===e.length||e.reduce((function(e,t){return e.lastActive?t.lastActive?e.lastActive>t.lastActive?e:t:e:t})).name===t}(l,c);return(0,li.jsx)(bv,{children:(0,li.jsx)(Gl,{testId:"create-task-input",disabled:!a,enterKeyHint:"go",onChange:function(e){d(e.target.value)},onKeyPress:function(e){if("Enter"===e.key){var t=e.target.value;if(0===t.length)return;o(Fo({task:{id:_o(),description:t},groupName:c})),d("")}},placeholder:"Type a task and press enter",ref:r,spellCheck:i,value:f,autoFocus:p})})},xv=nt.button(yv||(yv=o(["\n background-color: var(--sn-stylekit-contrast-background-color);\n border-radius: 4px;\n border-style: none;\n color: var(--sn-stylekit-paragraph-text-color);\n cursor: pointer;\n display: inline;\n font-size: var(--sn-stylekit-font-size-h6);\n font-weight: 500;\n height: 25px;\n margin-right: 10px;\n opacity: 0.96;\n padding: 4px 10px 4px;\n\n &:hover {\n opacity: 0.8;\n text-decoration: none;\n }\n"]))),Ev=function(e){var t=e.groupName,n=Jt(),r=en((function(e){return e.settings.canEdit})),o=it((0,u.useState)(!1),2),i=o[0],a=o[1],l=it((0,u.useState)(!1),2),c=l[0],s=l[1];return r?(0,li.jsxs)("div",{"data-testid":"completed-tasks-actions",children:[(0,li.jsx)(xv,{onClick:function(){return a(!0)},"data-testid":"reopen-completed-button",children:"Reopen Completed"}),(0,li.jsx)(xv,{onClick:function(){return s(!0)},"data-testid":"delete-completed-button",children:"Delete Completed"}),i&&(0,li.jsxs)(ml,{testId:"reopen-all-tasks-dialog",confirmButtonStyle:"danger",confirmButtonCb:function(){return n(Wo({groupName:t}))},cancelButtonCb:function(){return a(!1)},children:["Are you sure you want to reopen completed tasks in the '",(0,li.jsx)("strong",{children:t}),"' group?"]}),c&&(0,li.jsxs)(ml,{testId:"delete-completed-tasks-dialog",confirmButtonStyle:"danger",confirmButtonCb:function(){return n(Ho({groupName:t}))},cancelButtonCb:function(){return s(!1)},children:["Are you sure you want to delete completed tasks in the '",(0,li.jsx)("strong",{children:t}),"' group?"]})]}):(0,li.jsx)(li.Fragment,{})};var kv=u.createContext(null);function Sv(e,t){var n=Object.create(null);return e&&u.Children.map(e,(function(e){return e})).forEach((function(e){n[e.key]=function(e){return t&&(0,u.isValidElement)(e)?t(e):e}(e)})),n}function _v(e,t,n){return null!=n[t]?n[t]:e.props[t]}function Cv(e,t){return Sv(e.children,(function(n){return(0,u.cloneElement)(n,{onExited:t.bind(null,n),in:!0,appear:_v(n,"appear",e),enter:_v(n,"enter",e),exit:_v(n,"exit",e)})}))}function Ov(e,t,n){var r=Sv(e.children),o=function(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var r,o=Object.create(null),i=[];for(var a in e)a in t?i.length&&(o[a]=i,i=[]):i.push(a);var u={};for(var l in t){if(o[l])for(r=0;r<o[l].length;r++){var c=o[l][r];u[o[l][r]]=n(c)}u[l]=n(l)}for(r=0;r<i.length;r++)u[i[r]]=n(i[r]);return u}(t,r);return Object.keys(o).forEach((function(i){var a=o[i];if((0,u.isValidElement)(a)){var l=i in t,c=i in r,s=t[i],f=(0,u.isValidElement)(s)&&!s.props.in;!c||l&&!f?c||!l||f?c&&l&&(0,u.isValidElement)(s)&&(o[i]=(0,u.cloneElement)(a,{onExited:n.bind(null,a),in:s.props.in,exit:_v(a,"exit",e),enter:_v(a,"enter",e)})):o[i]=(0,u.cloneElement)(a,{in:!1}):o[i]=(0,u.cloneElement)(a,{onExited:n.bind(null,a),in:!0,exit:_v(a,"exit",e),enter:_v(a,"enter",e)})}})),o}var Iv=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},Nv=function(e){function t(t,n){var r,o=(r=e.call(this,t,n)||this).handleExited.bind(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(r));return r.state={contextValue:{isMounting:!0},handleExited:o,firstRender:!0},r}Vi(t,e);var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var n=t.children,r=t.handleExited;return{children:t.firstRender?Cv(e,r):Ov(e,n,r),firstRender:!1}},n.handleExited=function(e,t){var n=Sv(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var n=w({},t.children);return delete n[e.key],{children:n}})))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,r=_i(e,["component","childFactory"]),o=this.state.contextValue,i=Iv(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,null===t?u.createElement(kv.Provider,{value:o},i):u.createElement(kv.Provider,{value:o},u.createElement(t,r,i))},t}(u.Component);Nv.propTypes={},Nv.defaultProps={component:"div",childFactory:function(e){return e}};var Dv=Nv;function Tv(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}var Rv=!1,Av="unmounted",Pv="exited",Lv="entering",Mv="entered",jv="exiting",Fv=function(e){function t(t,n){var r;r=e.call(this,t,n)||this;var o,i=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?i?(o=Pv,r.appearStatus=Lv):o=Mv:o=t.unmountOnExit||t.mountOnEnter?Av:Pv,r.state={status:o},r.nextCallback=null,r}Vi(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===Av?{status:Pv}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==Lv&&n!==Mv&&(t=Lv):n!==Lv&&n!==Mv||(t=jv)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!==typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){void 0===e&&(e=!1),null!==t?(this.cancelNextCallback(),t===Lv?this.performEnter(e):this.performExit()):this.props.unmountOnExit&&this.state.status===Pv&&this.setState({status:Av})},n.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,o=this.props.nodeRef?[r]:[l.findDOMNode(this),r],i=o[0],a=o[1],u=this.getTimeouts(),c=r?u.appear:u.enter;!e&&!n||Rv?this.safeSetState({status:Mv},(function(){t.props.onEntered(i)})):(this.props.onEnter(i,a),this.safeSetState({status:Lv},(function(){t.props.onEntering(i,a),t.onTransitionEnd(c,(function(){t.safeSetState({status:Mv},(function(){t.props.onEntered(i,a)}))}))})))},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:l.findDOMNode(this);t&&!Rv?(this.props.onExit(r),this.safeSetState({status:jv},(function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:Pv},(function(){e.props.onExited(r)}))}))}))):this.safeSetState({status:Pv},(function(){e.props.onExited(r)}))},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:l.findDOMNode(this),r=null==e&&!this.props.addEndListener;if(n&&!r){if(this.props.addEndListener){var o=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],i=o[0],a=o[1];this.props.addEndListener(i,a)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===Av)return null;var t=this.props,n=t.children,r=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,_i(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return u.createElement(kv.Provider,{value:null},"function"===typeof n?n(e,r):u.cloneElement(u.Children.only(n),r))},t}(u.Component);function Bv(){}Fv.contextType=kv,Fv.propTypes={},Fv.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Bv,onEntering:Bv,onEntered:Bv,onExit:Bv,onExiting:Bv,onExited:Bv},Fv.UNMOUNTED=Av,Fv.EXITED=Pv,Fv.ENTERING=Lv,Fv.ENTERED=Mv,Fv.EXITING=jv;var zv=Fv,Uv=function(e,t){return e&&t&&t.split(" ").forEach((function(t){return r=t,void((n=e).classList?n.classList.remove(r):"string"===typeof n.className?n.className=Tv(n.className,r):n.setAttribute("class",Tv(n.className&&n.className.baseVal||"",r)));var n,r}))},Wv=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).appliedClasses={appear:{},enter:{},exit:{}},t.onEnter=function(e,n){var r=t.resolveArguments(e,n),o=r[0],i=r[1];t.removeClasses(o,"exit"),t.addClass(o,i?"appear":"enter","base"),t.props.onEnter&&t.props.onEnter(e,n)},t.onEntering=function(e,n){var r=t.resolveArguments(e,n),o=r[0],i=r[1]?"appear":"enter";t.addClass(o,i,"active"),t.props.onEntering&&t.props.onEntering(e,n)},t.onEntered=function(e,n){var r=t.resolveArguments(e,n),o=r[0],i=r[1]?"appear":"enter";t.removeClasses(o,i),t.addClass(o,i,"done"),t.props.onEntered&&t.props.onEntered(e,n)},t.onExit=function(e){var n=t.resolveArguments(e)[0];t.removeClasses(n,"appear"),t.removeClasses(n,"enter"),t.addClass(n,"exit","base"),t.props.onExit&&t.props.onExit(e)},t.onExiting=function(e){var n=t.resolveArguments(e)[0];t.addClass(n,"exit","active"),t.props.onExiting&&t.props.onExiting(e)},t.onExited=function(e){var n=t.resolveArguments(e)[0];t.removeClasses(n,"exit"),t.addClass(n,"exit","done"),t.props.onExited&&t.props.onExited(e)},t.resolveArguments=function(e,n){return t.props.nodeRef?[t.props.nodeRef.current,e]:[e,n]},t.getClassNames=function(e){var n=t.props.classNames,r="string"===typeof n,o=r?""+(r&&n?n+"-":"")+e:n[e];return{baseClassName:o,activeClassName:r?o+"-active":n[e+"Active"],doneClassName:r?o+"-done":n[e+"Done"]}},t}Vi(t,e);var n=t.prototype;return n.addClass=function(e,t,n){var r=this.getClassNames(t)[n+"ClassName"],o=this.getClassNames("enter").doneClassName;"appear"===t&&"done"===n&&o&&(r+=" "+o),"active"===n&&e&&e.scrollTop,r&&(this.appliedClasses[t][n]=r,function(e,t){e&&t&&t.split(" ").forEach((function(t){return r=t,void((n=e).classList?n.classList.add(r):function(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")}(n,r)||("string"===typeof n.className?n.className=n.className+" "+r:n.setAttribute("class",(n.className&&n.className.baseVal||"")+" "+r)));var n,r}))}(e,r))},n.removeClasses=function(e,t){var n=this.appliedClasses[t],r=n.base,o=n.active,i=n.done;this.appliedClasses[t]={},r&&Uv(e,r),o&&Uv(e,o),i&&Uv(e,i)},n.render=function(){var e=this.props,t=(e.classNames,_i(e,["classNames"]));return u.createElement(zv,w({},t,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},t}(u.Component);Wv.defaultProps={classNames:""},Wv.propTypes={};var Hv,Gv,Vv,$v,qv,Kv,Yv=Wv,Zv=nt.div(Hv||(Hv=o(["\n align-content: center;\n align-items: center;\n display: flex;\n flex-direction: row;\n min-width: 10%;\n max-width: 90%;\n"]))),Xv=function(e){var t=e.task,n=e.groupName,r=(0,u.useRef)(null),o=(0,u.useRef)(null),i=Jt(),a=en((function(e){return e.settings.canEdit})),l=en((function(e){return e.settings.spellCheckerEnabled})),c=it((0,u.useState)(!!t.completed),2),s=c[0],f=c[1],d=it((0,u.useState)(t.description),2),p=d[0],h=d[1];function v(e){if(e){e.style.height="1px",e.style.height=e.scrollHeight-4+"px";var t=parseFloat(e.style.height),n=r.current;t>20?(null===n||void 0===n||n.classList.add("align-baseline"),null===n||void 0===n||n.classList.remove("align-center")):(null===n||void 0===n||n.classList.add("align-center"),null===n||void 0===n||n.classList.remove("align-baseline"))}}return nn((function(){p!==t.description&&i(Bo({task:{id:t.id,description:p},groupName:n}))})),tn(o,v),(0,li.jsxs)(Zv,{className:"task-item","data-testid":"task-item",ref:r,children:[(0,li.jsx)(ci,{testId:"check-box-input",checked:s,disabled:!a,onChange:function(){var e=!s;f(e);var r,a=o.current;e?null===a||void 0===a||(r=a.classList).add.apply(r,["cross-out","info-color"]):null===a||void 0===a||a.classList.add("no-text-decoration"),i(zo({id:t.id,groupName:n}))},onClick:function(e){var n,o=e.currentTarget,i=null===(n=r.current)||void 0===n?void 0:n.parentElement;t.completed?(o.classList.remove("explode"),null===i||void 0===i||i.classList.add("completed")):(o.classList.add("explode"),null===i||void 0===i||i.classList.add("opened"))}}),(0,li.jsx)(Wl,{testId:"text-area-input",className:"text-area-input",disabled:!a||!!s,onChange:function(e){h(e.target.value)},onKeyPress:function(e){"Enter"===e.key&&e.preventDefault()},onKeyUp:function(e){"Enter"===e.key&&0===p.length&&(i(Uo({id:t.id,groupName:n})),e.preventDefault()),v(e.target)},ref:o,spellCheck:l,value:p})]})},Qv=["style"],Jv=nt.div(Gv||(Gv=o(["\n align-items: center;\n display: flex;\n\n & > *:first-child {\n margin-right: 14px;\n }\n"]))),eg=nt.div(Vv||(Vv=o(["\n display: flex;\n flex-direction: column;\n\n & > *:not(:last-child) {\n margin-bottom: 9px;\n }\n"]))),tg=nt.div($v||($v=o(["\n margin-bottom: ",";\n"])),(function(e){var t=e.addMargin,n=e.items,r=e.collapsed;return t&&n>0&&!r?"10px":"0"})),ng=nt.div(qv||(qv=o(["\n margin-top: ",";\n"])),(function(e){var t=e.addMargin,n=e.items;return t&&n>0?"15px":"0"})),rg=nt.div(Kv||(Kv=o(["\n color: var(--sn-stylekit-foreground-color);\n"])));var og,ig,ag=function(e,t){return ur(ur({},t),e&&{color:"var(--sn-stylekit-info-color)",fontWeight:500})},ug=function(e){var t=e.groupName,n=e.tasks,r=e.section,o=e.allTasks,i=e.testId,a=e.children,l=Jt(),c=en((function(e){return e.settings.canEdit})),s="".concat(r.id,"-droppable"),f=it((0,u.useState)(!!r.collapsed),2),d=f[0],p=f[1];function h(){p(!d)}var v=function(e){var t=(0,u.useRef)();return(0,u.useEffect)((function(){t.current=e}),[e]),t.current}(o);return(0,u.useEffect)((function(){l(Qo({groupName:t,type:r.id,collapsed:d}))}),[d,l,t,r.id]),(0,li.jsx)(tg,{"data-testid":i,addMargin:"open-tasks"===r.id,items:n.length,collapsed:d,children:(0,li.jsx)(mv,{droppableId:s,isDropDisabled:!c,children:function(e){return(0,li.jsxs)(rg,{children:[(0,li.jsx)(Jv,{children:(0,li.jsx)(zl,{onClick:h,children:r.name})}),!d&&(0,li.jsxs)(eg,ur(ur({},e.droppableProps),{},{className:"".concat(r.id,"-container"),ref:e.innerRef,children:[(0,li.jsx)(Dv,{component:null,children:n.map((function(e,n){var r=function(e){return{enter:e?1800:1200,exit:e?1200:1800}}(e.completed);return(0,li.jsx)(Yv,{timeout:r,classNames:{enter:"fade-in",enterActive:"fade-in",enterDone:"fade-in",exit:"fade-out",exitActive:"fade-out",exitDone:"fade-out"},onEnter:function(t){var n=v.find((function(t){return t.id===e.id}));n&&t.classList.add("hide");var r=!!e.completed;r&&t.classList.add("explode"),!r&&t.classList.remove("explode")},onEntered:function(e){e.classList.remove("hide"),setTimeout((function(){var t;return(t=e.classList).remove.apply(t,["fade-in","explode"])}),r.enter)},children:(0,li.jsx)(dv,{draggableId:"draggable-".concat(e.id),index:n,isDragDisabled:!c,children:function(n,r){var o=n.innerRef,i=n.draggableProps,a=n.dragHandleProps,u=r.isDragging,l=i.style,c=bl(i,Qv);return(0,li.jsx)("div",ur(ur(ur({style:ag(u,l),ref:o},c),a),{},{children:(0,li.jsx)(Xv,{task:e,groupName:t},"task-item-".concat(e.id))}))}},"draggable-".concat(e.id))},e.id)}))}),e.placeholder]})),(0,li.jsx)(ng,{addMargin:"completed-tasks"===r.id,items:n.length,children:a})]})}})})},lg=nt.div(og||(og=o(["\n position: relative;\n"]))),cg=function(e){var t,n=e.group,r=Jt(),o=en((function(e){return e.tasks.defaultSections}));function i(e){if(!!e.destination){var t=e.source,o=e.destination;o&&r(qo({groupName:n.name,swapTaskIndex:t.index,withTaskIndex:o.index,isSameSection:t.droppableId===o.droppableId}))}}var a=null!==(t=n.sections)&&void 0!==t?t:o;return(0,li.jsx)(lg,{"data-testid":"task-section-list",children:a.map((function(e){var t=n.tasks.filter((function(t){return"completed-tasks"===e.id?!0===t.completed:!t.completed}));return(0,li.jsx)(Dh,{onDragEnd:i,children:(0,li.jsx)(ug,{testId:"".concat(e.id,"-section"),groupName:n.name,section:e,tasks:t,allTasks:n.tasks,children:"completed-tasks"===e.id&&t.length>0&&(0,li.jsx)(Ev,{groupName:n.name})})},"".concat(e.id,"-section-dnd"))}))})},sg=["bottom","height","left","right","top","width"],fg=new Map,dg=function e(){var t=[];fg.forEach((function(e,n){var r=n.getBoundingClientRect();(function(e,t){return void 0===e&&(e={}),void 0===t&&(t={}),sg.some((function(n){return e[n]!==t[n]}))})(r,e.rect)&&(e.rect=r,t.push(e))})),t.forEach((function(e){e.callbacks.forEach((function(t){return t(e.rect)}))})),ig=window.requestAnimationFrame(e)};var pg=function(e,t){return{observe:function(){var n=0===fg.size;fg.has(e)?fg.get(e).callbacks.push(t):fg.set(e,{rect:void 0,hasRectChanged:!1,callbacks:[t]}),n&&dg()},unobserve:function(){var n=fg.get(e);if(n){var r=n.callbacks.indexOf(t);r>=0&&n.callbacks.splice(r,1),n.callbacks.length||fg.delete(e),fg.size||cancelAnimationFrame(ig)}}}};function hg(e,t,n){var r,o,i;"boolean"===typeof t?r=t:(r=null==(i=null==t?void 0:t.observe)||i,o=null==t?void 0:t.onChange);bi(n)&&(o=n);var a=(0,u.useState)(e.current),l=a[0],c=a[1],s=(0,u.useRef)(!1),f=(0,u.useRef)(!1),d=(0,u.useState)(null),p=d[0],h=d[1],v=(0,u.useRef)(o);return hi((function(){v.current=o,e.current!==l&&c(e.current)})),hi((function(){l&&!s.current&&(s.current=!0,h(l.getBoundingClientRect()))}),[l]),hi((function(){if(r){var t=l;if(f.current||(f.current=!0,t=e.current),t){var n=pg(t,(function(e){null==v.current||v.current(e),h(e)}));return n.observe(),function(){n.unobserve()}}}}),[r,l,e]),p}var vg=n(9),gg=n.n(vg);function mg(){return mg=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},mg.apply(this,arguments)}var yg=["as","targetRef","position","unstable_observableRefs"],bg=(0,u.forwardRef)((function(e,t){return(0,u.createElement)(gi,null,(0,u.createElement)(wg,mg({ref:t},e)))}));var wg=(0,u.forwardRef)((function(e,t){var n=e.as,r=void 0===n?"div":n,o=e.targetRef,i=e.position,a=void 0===i?kg:i,l=e.unstable_observableRefs,c=void 0===l?[]:l,s=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,yg),f=(0,u.useRef)(null),d=hg(f,{observe:!s.hidden}),p=hg(o,{observe:!s.hidden}),h=ki(f,t);return function(e,t){var n=mi(e.current);function r(e){"Tab"===e.key&&t.current&&0===gg()(t.current).length||("Tab"===e.key&&e.shiftKey?s(e)?f(e):d(e)?p(e):v(e)&&m():"Tab"===e.key&&(i()?a(e):l()?c(e):h(e)&&m()))}function o(){var r=gg()(n),o=r&&e.current?r.indexOf(e.current):-1,i=r&&r[o+1];return(!t.current||!t.current.contains(i||null))&&i}function i(){return!!e.current&&e.current===n.activeElement}function a(e){var n=t.current&&gg()(t.current);n&&n[0]&&(e.preventDefault(),n[0].focus())}function l(){if(!!t.current&&t.current.contains(n.activeElement||null)){var e=t.current&&gg()(t.current);return Boolean(e&&e[e.length-1]===n.activeElement)}return!1}function c(e){var t=o();t&&(e.preventDefault(),t.focus())}function s(e){if(e.shiftKey){var t=o();return e.target===t}}function f(e){var n=t.current&&gg()(t.current),r=n&&n[n.length-1];r&&(e.preventDefault(),r.focus())}function d(e){var n=t.current&&gg()(t.current);return!!n&&(0!==n.length&&e.target===n[0])}function p(t){var n;t.preventDefault(),null==(n=e.current)||n.focus()}function h(e){var r=t.current?gg()(n).filter((function(e){return!t.current.contains(e)})):null;return!!r&&e.target===r[r.length-1]}function v(e){return e.target===gg()(n)[0]}(0,u.useEffect)((function(){return n.addEventListener("keydown",r),function(){n.removeEventListener("keydown",r)}}),[]);var g=[];function m(){var e=t.current&&gg()(t.current);e&&(e.forEach((function(e){g.push([e,e.tabIndex]),e.tabIndex=-1})),n.addEventListener("focusin",y))}function y(){n.removeEventListener("focusin",y),g.forEach((function(e){var t=e[0],n=e[1];t.tabIndex=n}))}}(o,f),(0,u.createElement)(r,mg({"data-reach-popover":"",ref:h},s,{style:mg({position:"absolute"},xg.apply(void 0,[a,p,d].concat(c)),s.style)}))}));function xg(e,t,n){for(var r=arguments.length,o=new Array(r>3?r-3:0),i=3;i<r;i++)o[i-3]=arguments[i];return n?e.apply(void 0,[t,n].concat(o.map((function(e){return e.current})))):{visibility:"hidden"}}function Eg(e,t,n){return{top:n?e.top-t.height+window.pageYOffset+"px":e.top+e.height+window.pageYOffset+"px"}}var kg=function(e,t){if(!e||!t)return{};var n=Sg(e,t),r=n.directionRight,o=n.directionUp;return mg({left:r?e.right-t.width+window.pageXOffset+"px":e.left+window.pageXOffset+"px"},Eg(e,t,o))};function Sg(e,t,n,r){void 0===n&&(n=0),void 0===r&&(r=0);var o={top:e.top-t.height<0,right:window.innerWidth<e.left+t.width-n,bottom:window.innerHeight<e.bottom+t.height-r,left:e.left+e.width-t.width<0};return{directionRight:o.right&&!o.left,directionLeft:o.left&&!o.right,directionUp:o.bottom&&!o.top,directionDown:o.top&&!o.bottom}}function _g(){return _g=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},_g.apply(this,arguments)}var Cg=["element","index"];function Og(e,t){void 0===t&&(t={});return Qu(0,_g({descendants:[],registerDescendant:yi,unregisterDescendant:yi},t))}function Ig(e){var t=e.context,n=e.children,r=e.items,o=e.set,i=(0,u.useCallback)((function(e){var t=e.element,n=e.index,r=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,Cg);t&&o((function(e){var o;if(null!=n)return[].concat(e,[_g({},r,{element:t,index:n})]).sort((function(e,t){return e.index-t.index}));if(0===e.length)o=[_g({},r,{element:t,index:0})];else if(e.find((function(e){return e.element===t})))o=e;else{var i=e.findIndex((function(e){return!(!e.element||!t)&&Boolean(e.element.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_PRECEDING)})),a=_g({},r,{element:t,index:i});o=-1===i?[].concat(e,[a]):[].concat(e.slice(0,i),[a],e.slice(i))}return o.map((function(e,t){return _g({},e,{index:t})}))}))}),[]),a=(0,u.useCallback)((function(e){e&&o((function(t){return t.filter((function(t){return e!==t.element}))}))}),[]);return(0,u.createElement)(t.Provider,{value:(0,u.useMemo)((function(){return{descendants:r,registerDescendant:i,unregisterDescendant:a}}),[r,i,a])},n)}function Ng(e){return"which"in e?3===e.which:"button"in e&&2===e.button}function Dg(e){var t=(0,u.useRef)(null);return(0,u.useEffect)((function(){t.current=e}),[e]),t.current}function Tg(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function Rg(){return Rg=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Rg.apply(this,arguments)}var Ag=["onKeyDown","onMouseDown","id","ref"],Pg=["index","isLink","onClick","onDragStart","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseUp","onSelect","disabled","onFocus","valueText","ref"],Lg=["id","onKeyDown","ref"],Mg=["onBlur","portal","position","ref"],jg="CLEAR_SELECTION_INDEX",Fg="CLICK_MENU_ITEM",Bg="CLOSE_MENU",zg="OPEN_MENU_AT_INDEX",Ug="OPEN_MENU_CLEARED",Wg="SEARCH_FOR_ITEM",Hg="SELECT_ITEM_AT_INDEX",Gg="SET_BUTTON_ID",Vg=Og(),$g=Qu(0,{}),qg={triggerId:null,isExpanded:!1,typeaheadQuery:"",selectionIndex:-1},Kg=function(e){var t=e.id,n=e.children,r=(0,u.useRef)(null),o=(0,u.useRef)(null),i=(0,u.useRef)(null),a=(0,u.useState)([]),l=a[0],c=a[1],s=Xu(t),f=t||Ju("menu",s),d=Ju("menu-button",f),p=(0,u.useReducer)(tm,Rg({},qg,{triggerId:d})),h=p[0],v=p[1],g=(0,u.useRef)(!1),m=(0,u.useRef)([]),y=(0,u.useRef)(!1),b=(0,u.useRef)({x:0,y:0}),w={dispatch:v,dropdownId:f,dropdownRef:o,mouseDownStartPosRef:b,popoverRef:i,readyToSelect:y,selectCallbacks:m,state:h,triggerClickedRef:g,triggerRef:r};return(0,u.useEffect)((function(){h.isExpanded?(window.__REACH_DISABLE_TOOLTIPS=!0,window.requestAnimationFrame((function(){em(o.current)}))):window.__REACH_DISABLE_TOOLTIPS=!1}),[h.isExpanded]),(0,u.createElement)(Ig,{context:Vg,items:l,set:c},(0,u.createElement)($g.Provider,{value:w},bi(n)?n({isExpanded:h.isExpanded,isOpen:h.isExpanded}):n))};function Yg(e){var t=e.onKeyDown,n=e.onMouseDown,r=e.id,o=e.ref,i=Tg(e,Ag),a=nm(),l=a.dispatch,c=a.dropdownId,s=a.mouseDownStartPosRef,f=a.triggerClickedRef,d=a.triggerRef,p=a.state,h=p.triggerId,v=p.isExpanded,g=ki(d,o),m=rm(),y=(0,u.useMemo)((function(){return m.findIndex((function(e){return!e.disabled}))}),[m]);return(0,u.useEffect)((function(){null!=r&&r!==h&&l({type:Gg,payload:r})}),[h,l,r]),{data:{isExpanded:v,controls:c},props:Rg({},i,{ref:g,id:h||void 0,onKeyDown:Si(t,(function(e){switch(e.key){case"ArrowDown":case"ArrowUp":e.preventDefault(),l({type:zg,payload:{index:y}});break;case"Enter":case" ":l({type:zg,payload:{index:y}})}})),onMouseDown:Si(n,(function(e){Ng(e.nativeEvent)||(s.current={x:e.clientX,y:e.clientY},v||(f.current=!0),l(v?{type:Bg}:{type:Ug}))})),type:"button"})}}function Zg(e){var t=e.index,n=e.isLink,r=void 0!==n&&n,o=e.onClick,i=e.onDragStart,a=e.onMouseDown,l=e.onMouseEnter,c=e.onMouseLeave,s=e.onMouseMove,f=e.onMouseUp,d=e.onSelect,p=e.disabled,h=e.onFocus,v=e.valueText,g=e.ref,m=Tg(e,Pg),y=nm(),b=y.dispatch,w=y.dropdownRef,x=y.mouseDownStartPosRef,E=y.readyToSelect,k=y.selectCallbacks,S=y.triggerRef,_=y.state,C=_.selectionIndex,O=_.isExpanded,I=(0,u.useRef)(null),N=(0,u.useState)(v||""),D=N[0],T=N[1],R=(0,u.useCallback)((function(e){!v&&null!=e&&e.textContent&&T(e.textContent)}),[v]),A=(0,u.useRef)(!1),P=function(e,t){var n=(0,u.useState)(t),r=n[0],o=n[1];return[r,(0,u.useCallback)((function(t){e.current=t,o(t)}),[])]}(I,null),L=P[0],M=P[1],j=function(e,t,n){var r=vi(),o=(0,u.useContext)(t),i=o.registerDescendant,a=o.unregisterDescendant,l=o.descendants,c=null!=n?n:l.findIndex((function(t){return t.element===e.element}));return hi((function(){return e.element||r(),i(_g({},e,{index:c})),function(){a(e.element)}}),[e,r,c,i,a].concat(Object.values(e))),c}((0,u.useMemo)((function(){return{element:L,key:D,disabled:p,isLink:r}}),[p,L,r,D]),Vg,t),F=j===C&&!p,B=ki(g,M,R);function z(){em(S.current),d&&d(),b({type:Fg})}return k.current[j]=d,(0,u.useEffect)((function(){if(O){var e=window.setTimeout((function(){E.current=!0}),400);return function(){window.clearTimeout(e)}}E.current=!1}),[O,E]),(0,u.useEffect)((function(){var e=mi(I.current);return e.addEventListener("mouseup",t),function(){e.removeEventListener("mouseup",t)};function t(){A.current=!1}}),[]),{data:{disabled:p},props:Rg({id:Jg(j),tabIndex:-1},m,{ref:B,"data-disabled":p?"":void 0,"data-selected":F?"":void 0,"data-valuetext":D,onClick:Si(o,(function(e){Ng(e.nativeEvent)||r&&(p?e.preventDefault():z())})),onDragStart:Si(i,(function(e){r&&e.preventDefault()})),onMouseDown:Si(a,(function(e){Ng(e.nativeEvent)||(r?A.current=!0:e.preventDefault())})),onMouseEnter:Si(l,(function(e){var t=mi(w.current);F||null==j||p||(null!=w&&w.current&&w.current!==t.activeElement&&I.current!==t.activeElement&&w.current.focus(),b({type:Hg,payload:{index:j}}))})),onMouseLeave:Si(c,(function(e){b({type:jg})})),onMouseMove:Si(s,(function(e){if(!E.current){var t=Math.abs(e.clientX-x.current.x),n=Math.abs(e.clientY-x.current.y);(t>8||n>8)&&(E.current=!0)}F||null==j||p||b({type:Hg,payload:{index:j,dropdownRef:w}})})),onFocus:Si(h,(function(){E.current=!0,F||null==j||p||b({type:Hg,payload:{index:j}})})),onMouseUp:Si(f,(function(e){Ng(e.nativeEvent)||(E.current?r?A.current?A.current=!1:I.current&&I.current.click():p||z():E.current=!0)}))})}}function Xg(e){e.id;var t=e.onKeyDown,n=e.ref,r=Tg(e,Lg),o=nm(),i=o.dispatch,a=o.triggerRef,l=o.dropdownRef,c=o.selectCallbacks,s=o.dropdownId,f=o.state,d=f.isExpanded,p=f.triggerId,h=f.selectionIndex,v=f.typeaheadQuery,g=rm(),m=ki(l,n);(0,u.useEffect)((function(){var e=function(e,t){void 0===t&&(t="");if(!t)return null;var n=e.find((function(e){var n,r,o;return!e.disabled&&(null==(n=e.element)||null==(r=n.dataset)||null==(o=r.valuetext)?void 0:o.toLowerCase().startsWith(t))}));return n?e.indexOf(n):null}(g,v);v&&null!=e&&i({type:Hg,payload:{index:e,dropdownRef:l}});var t=window.setTimeout((function(){return v&&i({type:Wg,payload:""})}),1e3);return function(){return window.clearTimeout(t)}}),[i,g,v,l]);var y=Dg(g.length),b=Dg(g[h]),w=Dg(h);(0,u.useEffect)((function(){h>g.length-1?i({type:Hg,payload:{index:g.length-1,dropdownRef:l}}):y!==g.length&&h>-1&&b&&w===h&&g[h]!==b&&i({type:Hg,payload:{index:g.findIndex((function(e){return e.key===(null==b?void 0:b.key)})),dropdownRef:l}})}),[l,i,g,y,b,w,h]);var x=Si((function(e){var t=e.key;if(d)switch(t){case"Enter":case" ":var n=g.find((function(e){return e.index===h}));n&&!n.disabled&&(e.preventDefault(),n.isLink&&n.element?n.element.click():(em(a.current),c.current[n.index]&&c.current[n.index](),i({type:Fg})));break;case"Escape":em(a.current),i({type:Bg});break;case"Tab":e.preventDefault();break;default:if("string"===typeof t&&1===t.length){var r=v+t.toLowerCase();i({type:Wg,payload:r})}}}),function(e,t){var n=(0,u.useContext)(e).descendants,r=t.callback,o=t.currentIndex,i=t.filter,a=t.key,l=void 0===a?"index":a,c=t.orientation,s=void 0===c?"vertical":c,f=t.rotate,d=void 0===f||f,p=t.rtl,h=void 0!==p&&p;return function(e){if(["ArrowDown","ArrowUp","ArrowLeft","ArrowRight","PageUp","PageDown","Home","End"].includes(e.key)){var t=null!=o?o:-1,a=i?n.filter(i):n;if(a.length){var u=a.findIndex((function(e){return e.index===o}));switch(e.key){case"ArrowDown":if("vertical"===s||"both"===s){e.preventDefault();var c=w();r("option"===l?c:c[l])}break;case"ArrowUp":if("vertical"===s||"both"===s){e.preventDefault();var f=x();r("option"===l?f:f[l])}break;case"ArrowLeft":if("horizontal"===s||"both"===s){e.preventDefault();var p=(h?w:x)();r("option"===l?p:p[l])}break;case"ArrowRight":if("horizontal"===s||"both"===s){e.preventDefault();var v=(h?x:w)();r("option"===l?v:v[l])}break;case"PageUp":e.preventDefault();var g=(e.ctrlKey?x:E)();r("option"===l?g:g[l]);break;case"Home":e.preventDefault();var m=E();r("option"===l?m:m[l]);break;case"PageDown":e.preventDefault();var y=(e.ctrlKey?w:k)();r("option"===l?y:y[l]);break;case"End":e.preventDefault();var b=k();r("option"===l?b:b[l])}}}function w(){return t===k().index?d?E():a[u]:a[(u+1)%a.length]}function x(){return t===E().index?d?k():a[u]:a[(u-1+a.length)%a.length]}function E(){return a[0]}function k(){return a[a.length-1]}}}(Vg,{currentIndex:h,orientation:"vertical",rotate:!1,filter:function(e){return!e.disabled},callback:function(e){i({type:Hg,payload:{index:e,dropdownRef:l}})},key:"index"}));return{data:{activeDescendant:Jg(h)||void 0,triggerId:p},props:Rg({tabIndex:-1},r,{ref:m,id:s,onKeyDown:Si(t,x)})}}function Qg(e){var t=e.onBlur,n=e.portal,r=void 0===n||n,o=e.position,i=e.ref,a=Tg(e,Mg),l=nm(),c=l.triggerRef,s=l.triggerClickedRef,f=l.dispatch,d=l.dropdownRef,p=l.popoverRef,h=l.state.isExpanded,v=ki(p,i);return(0,u.useEffect)((function(){if(h){var e=mi(p.current);return e.addEventListener("mousedown",t),function(){e.removeEventListener("mousedown",t)}}function t(e){var t,n;s.current?s.current=!1:(t=p.current,n=e.target,t&&t.contains(n)||f({type:Bg}))}}),[s,c,f,d,p,h]),{data:{portal:r,position:o,targetRef:c,isExpanded:h},props:Rg({ref:v,hidden:!h,onBlur:Si(t,(function(e){e.currentTarget.contains(e.relatedTarget)||f({type:Bg})}))},a)}}function Jg(e){var t=(0,u.useContext)($g).dropdownId;return null!=e&&e>-1?Ju("option-"+e,t):void 0}function em(e){e&&e.focus()}function tm(e,t){switch(void 0===t&&(t={}),t.type){case Fg:case Bg:return Rg({},e,{isExpanded:!1,selectionIndex:-1});case"OPEN_MENU_AT_FIRST_ITEM":return Rg({},e,{isExpanded:!0,selectionIndex:0});case zg:return Rg({},e,{isExpanded:!0,selectionIndex:t.payload.index});case Ug:return Rg({},e,{isExpanded:!0,selectionIndex:-1});case Hg:var n=t.payload.dropdownRef,r=void 0===n?{current:null}:n;if(t.payload.index>=0&&t.payload.index!==e.selectionIndex){if(r.current){var o=mi(r.current);r.current!==(null==o?void 0:o.activeElement)&&r.current.focus()}return Rg({},e,{selectionIndex:null!=t.payload.max?Math.min(Math.max(t.payload.index,0),t.payload.max):Math.max(t.payload.index,0)})}return e;case jg:return Rg({},e,{selectionIndex:-1});case Gg:return Rg({},e,{triggerId:t.payload});case Wg:return"undefined"!==typeof t.payload?Rg({},e,{typeaheadQuery:t.payload}):e;default:return e}}function nm(){return(0,u.useContext)($g)}function rm(){return e=Vg,(0,u.useContext)(e).descendants;var e}function om(){return om=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},om.apply(this,arguments)}function im(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}var am=["as","id","children"],um=["as"],lm=["as"],cm=["as"],sm=["as"],fm=["portal"],dm=["as"],pm=(0,u.forwardRef)((function(e,t){var n=e.as,r=void 0===n?u.Fragment:n,o=e.id,i=e.children,a=im(e,am),l=(0,u.useMemo)((function(){try{return(0,b.isFragment)((0,u.createElement)(r,null))}catch(Um){return!1}}),[r])?{}:om({ref:t,id:o,"data-reach-menu":""},a);return(0,u.createElement)(r,l,(0,u.createElement)(Kg,{id:o,children:i}))}));var hm=(0,u.forwardRef)((function(e,t){var n=e.as,r=void 0===n?"button":n,o=Yg(om({},im(e,um),{ref:t})),i=o.data,a=i.isExpanded,l=i.controls,c=o.props;return(0,u.createElement)(r,om({"aria-expanded":!!a||void 0,"aria-haspopup":!0,"aria-controls":l},c,{"data-reach-menu-button":""}))}));var vm=(0,u.forwardRef)((function(e,t){var n=e.as,r=void 0===n?"div":n,o=Zg(om({},im(e,lm),{ref:t})),i=o.data.disabled,a=o.props;return(0,u.createElement)(r,om({role:"menuitem"},a,{"aria-disabled":i||void 0,"data-reach-menu-item":""}))})),gm=(0,u.forwardRef)((function(e,t){var n=e.as,r=void 0===n?"div":n,o=im(e,cm);return(0,u.createElement)(vm,om({},o,{ref:t,as:r}))}));var mm=(0,u.forwardRef)((function(e,t){var n=e.as,r=void 0===n?"div":n,o=Xg(om({},im(e,sm),{ref:t})),i=o.data,a=i.activeDescendant,l=i.triggerId,c=o.props;return(0,u.createElement)(r,om({"aria-activedescendant":a,"aria-labelledby":l||void 0,role:"menu"},c,{"data-reach-menu-items":""}))}));var ym=(0,u.forwardRef)((function(e,t){var n=e.portal,r=void 0===n||n,o=im(e,fm);return(0,u.createElement)(bm,{portal:r},(0,u.createElement)(mm,om({},o,{ref:t,"data-reach-menu-list":""})))}));var bm=(0,u.forwardRef)((function(e,t){var n=e.as,r=void 0===n?"div":n,o=Qg(om({},im(e,dm),{ref:t})),i=o.data,a=i.portal,l=i.targetRef,c=i.position,s=o.props,f={"data-reach-menu-popover":""};return a?(0,u.createElement)(bg,om({},s,f,{as:r,targetRef:l,position:c})):(0,u.createElement)(r,om({},s,f))}));function wm(){return wm=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},wm.apply(this,arguments)}var xm=["as","style"],Em=(0,u.forwardRef)((function(e,t){var n=e.as,r=void 0===n?"span":n,o=e.style,i=void 0===o?{}:o,a=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,xm);return(0,u.createElement)(r,wm({ref:t,style:wm({border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap",wordWrap:"normal"},i)},a))}));var km,Sm,_m,Cm,Om=Em,Im=function(e){var t=e.groupName,n=e.handleClose,r=(0,u.useRef)(null),o=Jt(),i=en((function(e){return e.tasks.groups})).filter((function(e){return e.name!==t})),a=it((0,u.useState)(),2),l=a[0],c=a[1];return(0,li.jsx)(hl,{"data-testid":"merge-task-group-dialog",leastDestructiveRef:r,children:(0,li.jsx)("div",{className:"sk-modal-content",children:(0,li.jsx)("div",{className:"sn-component",children:(0,li.jsx)("div",{className:"sk-panel",children:(0,li.jsx)("div",{className:"sk-panel-content",children:(0,li.jsxs)("div",{className:"sk-panel-section",children:[(0,li.jsx)(dl,{className:"sk-h3 sk-panel-section-title",children:"Merging task groups"}),i.length>0?(0,li.jsxs)(li.Fragment,{children:[(0,li.jsx)(pl,{className:"sk-panel-row",children:(0,li.jsxs)("p",{className:"color-foreground",children:["Select which group you want to merge '",(0,li.jsx)("strong",{children:t}),"' into:"]})}),(0,li.jsx)("fieldset",{className:"flex flex-col",onChange:function(e){var t=e.target.value;c(t)},children:i.map((function(e){return(0,li.jsxs)("label",{className:"flex items-center mb-1",children:[(0,li.jsx)("input",{type:"radio",value:e.name,checked:e.name===l,readOnly:!0}),e.name]},e.name)}))})]}):(0,li.jsx)(pl,{children:(0,li.jsxs)("p",{className:"color-foreground",children:["There are no other groups to merge '",(0,li.jsx)("strong",{children:t}),"' with."]})}),(0,li.jsxs)("div",{className:"flex my-1 mt-4",children:[(0,li.jsx)("button",{className:"sn-button small neutral",onClick:n,ref:r,children:l?"Cancel":"Close"}),(0,li.jsx)("button",{className:"sn-button small ml-2 info",onClick:function(){l?(o(Zo({groupName:t,mergeWith:l})),n()):n()},children:"Merge groups"})]})]})})})})})})},Nm=function(e){var t=e.groupName,n=e.handleClose,r=(0,u.useRef)(null),o=Jt(),i=it((0,u.useState)(t),2),a=i[0],l=i[1];function c(){o(Xo({groupName:t,newName:a})),n()}return(0,li.jsx)(hl,{"data-testid":"rename-task-group-dialog",leastDestructiveRef:r,children:(0,li.jsx)("div",{className:"sk-modal-content",children:(0,li.jsx)("div",{className:"sn-component",children:(0,li.jsx)("div",{className:"sk-panel",children:(0,li.jsx)("div",{className:"sk-panel-content",children:(0,li.jsxs)("div",{className:"sk-panel-section",children:[(0,li.jsxs)(dl,{className:"sk-h3 sk-panel-section-title",children:["Renaming group '",(0,li.jsx)("strong",{children:t}),"':"]}),(0,li.jsx)(pl,{children:(0,li.jsx)(Gl,{testId:"new-group-name-input",autoFocus:!0,onChange:function(e){var t=e.target.value;l(t)},onKeyPress:function(e){"Enter"===e.key&&e.target.value.length>0&&c()},placeholder:"Enter new group name",value:a})}),(0,li.jsxs)("div",{className:"flex my-1 mt-4",children:[(0,li.jsx)("button",{className:"sn-button small neutral",onClick:n,ref:r,children:0===a.length?"Close":"Cancel"}),(0,li.jsx)("button",{className:"sn-button small ml-2 info",disabled:0===a.length,onClick:c,children:"Rename"})]})]})})})})})})},Dm=function(e){var t=e.groupName,n=Jt(),r=it((0,u.useState)(!1),2),o=r[0],i=r[1],a=it((0,u.useState)(!1),2),l=a[0],c=a[1],s=it((0,u.useState)(!1),2),f=s[0],d=s[1];return(0,li.jsxs)(li.Fragment,{children:[(0,li.jsxs)(pm,{children:[(0,li.jsxs)(hm,{"data-testid":"task-group-options",className:"sn-icon-button",children:[(0,li.jsxs)(Om,{children:["Options for '",t,"' group"]}),(0,li.jsx)(Zl,{})]}),(0,li.jsxs)(ym,{children:[(0,li.jsxs)(gm,{"data-testid":"delete-task-group",onSelect:function(){return c(!0)},children:[(0,li.jsx)(Ql,{}),(0,li.jsx)("span",{className:"px-1",children:"Delete group"})]}),(0,li.jsxs)(gm,{"data-testid":"merge-task-group",onSelect:function(){return i(!0)},children:[(0,li.jsx)(Yl,{}),(0,li.jsx)("span",{className:"px-1",children:"Merge into another group"})]}),(0,li.jsxs)(gm,{"data-testid":"rename-task-group",onSelect:function(){return d(!0)},children:[(0,li.jsx)(Xl,{}),(0,li.jsx)("span",{className:"px-1",children:"Rename"})]})]})]}),l&&(0,li.jsxs)(ml,{testId:"delete-task-group-dialog",title:"Delete group",confirmButtonText:"Delete",confirmButtonStyle:"danger",confirmButtonCb:function(){return n(Yo({groupName:t}))},cancelButtonCb:function(){return c(!1)},children:["Are you sure you want to delete the group '",(0,li.jsx)("strong",{children:t}),"'?"]}),o&&(0,li.jsx)(Im,{groupName:t,handleClose:function(){return i(!1)}}),f&&(0,li.jsx)(Nm,{groupName:t,handleClose:function(){return d(!1)}})]})},Tm=["group","isDragging","isLast","style","innerRef","onDragStart","onTransitionEnd"],Rm=nt.div(km||(km=o(["\n background-color: var(--sn-stylekit-background-color);\n border: 1px solid var(--sn-stylekit-border-color);\n border-radius: 4px;\n box-sizing: border-box;\n padding: 16px 18px;\n margin-bottom: ",";\n\n @media only screen and (max-width: 600px) {\n padding: 8px 10px;\n }\n"])),(function(e){return e.isLast?"0px":"9px"})),Am=function(e){var t=e.group,n=e.isDragging,r=e.isLast,o=e.style,i=e.innerRef,a=e.onDragStart,l=e.onTransitionEnd,c=bl(e,Tm),s=Jt(),f=t.name,d=t.tasks.filter((function(e){return e.completed})).length,p=t.tasks.length,h=Oo(d,p),v=it((0,u.useState)(!!t.collapsed),2),g=v[0],m=v[1],y=en((function(e){return e.settings.canEdit})),b=p>0&&p===d;return(0,u.useEffect)((function(){s(Qo({groupName:f,type:"group",collapsed:g}))}),[g,s,f]),(0,li.jsxs)(Rm,{ref:i,style:o,onDragStart:a,onTransitionEnd:l,isLast:r,children:[(0,li.jsxs)("div",{className:"flex items-center justify-between h-8",children:[(0,li.jsxs)("div",{className:"flex flex-grow items-center",onClick:function(){g&&m(!1)},children:[(0,li.jsx)(Fl,ur(ur({crossed:b&&g,highlight:n},c),{},{children:f})),(0,li.jsx)(di,{size:18,percentage:h}),(0,li.jsxs)(yl,{"data-testid":"task-group-stats",children:[d,"/",p]})]}),!n&&(0,li.jsxs)("div",{className:"flex items-center",children:[y&&(0,li.jsx)("div",{className:"ml-3",children:(0,li.jsx)(Dm,{groupName:f})}),(0,li.jsx)("div",{className:"ml-3",children:(0,li.jsx)(Bl,{testId:"collapse-task-group",onClick:function(){m(!g)},children:g?(0,li.jsx)(ql,{}):(0,li.jsx)(Kl,{})})})]})]}),!g&&(0,li.jsxs)(li.Fragment,{children:[(0,li.jsx)(wv,{group:t}),(0,li.jsx)(cg,{group:t})]})]})},Pm=["onTransitionEnd"],Lm=function(){var e=Jt(),t=en((function(e){return e.settings.canEdit})),n=en((function(e){return e.tasks.groups}));return(0,li.jsx)(Dh,{"data-testid":"task-group-list",onDragEnd:function(t){if(!!t.destination){var n=t.source,r=t.destination;r&&e(Ko({swapGroupIndex:n.index,withGroupIndex:r.index}))}},children:(0,li.jsx)(mv,{droppableId:"droppable-task-group-list",isDropDisabled:!t,children:function(e){return(0,li.jsxs)("div",ur(ur({},e.droppableProps),{},{ref:e.innerRef,children:[n.map((function(e,r){return(0,li.jsx)(dv,{draggableId:"draggable-".concat(e.name),index:r,isDragDisabled:!t,children:function(t,o){var i=t.innerRef,a=t.draggableProps,u=t.dragHandleProps,l=o.isDragging,c=a.onTransitionEnd,s=bl(a,Pm);return(0,li.jsx)(Am,ur(ur({group:e,isDragging:l,innerRef:i,onTransitionEnd:c,onDragStart:null===u||void 0===u?void 0:u.onDragStart,isLast:n.length-1===r},u),s),"group-".concat(e.name))}},"draggable-".concat(e.name))})),e.placeholder]}))}})})},Mm=function(){return(0,li.jsx)("svg",{viewBox:"0 0 0 0",style:{position:"absolute",zIndex:-1,opacity:0},children:(0,li.jsxs)("defs",{children:[(0,li.jsx)("path",{id:"checkbox-square",d:"M21 12.7v5c0 1.3-1 2.3-2.3 2.3H8.3C7 20 6 19 6 17.7V7.3C6 6 7 5 8.3 5h10.4C20 5 21 6 21 7.3v5.4"}),(0,li.jsx)("path",{id:"checkbox-mark",d:"M10 13l2 2 5-5"}),(0,li.jsx)("circle",{id:"checkbox-circle",cx:"13.5",cy:"12.5",r:"10"})]})})},jm=nt.div(Sm||(Sm=o(["\n margin: 6px;\n padding-bottom: 60px;\n"]))),Fm=nt.div(_m||(_m=o(["\n background-color: var(--sn-stylekit-secondary-background-color);\n border-top: 1px solid var(--sn-stylekit-border-color);\n bottom: 0;\n display: flex;\n position: fixed;\n width: 100%;\n"]))),Bm=nt.div(Cm||(Cm=o(["\n display: flex;\n justify-content: center;\n margin: 0px;\n padding: 12px 16px;\n position: relative;\n width: 98%;\n"]))),zm=function(){var e=(0,u.useRef)(),n=(0,u.useRef)(),o=en((function(e){return e.tasks.initialized})),i=en((function(e){return e.tasks.groups})),l=en((function(e){return e.tasks.legacyContent})),s=Jt();var f=(0,u.useCallback)((function(){var o={setEditorRawText:function(e){s(Go(e))},onNoteValueChange:function(){var o=function(e){return function(){var t=this,n=arguments;return new Promise((function(o,i){var a=e.apply(t,n);function u(e){r(a,o,i,u,l,"next",e)}function l(e){r(a,o,i,u,l,"throw",e)}u(void 0)}))}}(t().mark((function r(o){var i,a,u,l;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e.current=o,a=null!==(i=o.content.appData["org.standardnotes.sn"].locked)&&void 0!==i&&i,u=!a,l=o.content.spellcheck,s(po(u)),s(vo(l)),s(ho(n.current.isRunningInMobileApplication()));case 7:case"end":return t.stop()}}),r)})));return function(e){return o.apply(this,arguments)}}(),onNoteLockToggle:function(e){s(po(!e))},handleRequestForContentHeight:function(){}};n.current=new(a())(o,{mode:"json"})}),[s]);(0,u.useEffect)((function(){f()}),[f]);var d=(0,u.useCallback)((function(){var t=ui.getState().tasks.initialized,r=e.current;r&&t&&(ui.getState().settings.canEdit&&n.current.saveItemWithPresave(r,(function(){var e=ui.getState().tasks,t=e.schemaVersion,n=e.groups,o=e.defaultSections;r.content.text=JSON.stringify({schemaVersion:t,groups:n,defaultSections:o},null,2),r.content.preview_plain=function(e){var t=No(e),n=Io(t).completedTasks;return"".concat(n.length,"/").concat(t.length," tasks completed")}(n),r.content.preview_html=(0,c.renderToString)((0,li.jsx)(vc,{groupedTasks:n}))})))}),[]);return(0,u.useEffect)((function(){return ui.subscribe((function(){return o&&d()}))})),(0,u.useEffect)((function(){function e(e){e&&e.preventDefault()}return window.addEventListener("drop",e),window.addEventListener("dragover",e),function(){window.removeEventListener("drop",e),window.removeEventListener("dragover",e)}}),[]),l?(0,li.jsx)(jm,{children:(0,li.jsx)(dc,{})}):o?0===i.length?(0,li.jsx)(jm,{children:(0,li.jsx)(cc,{})}):(0,li.jsxs)(li.Fragment,{children:[(0,li.jsx)(Mm,{}),(0,li.jsx)(jm,{children:(0,li.jsx)(Lm,{})}),(0,li.jsx)(Fm,{children:(0,li.jsx)(Bm,{children:(0,li.jsx)(cc,{})})})]}):(0,li.jsx)(jm,{children:(0,li.jsx)(fc,{})})};l.render((0,li.jsx)(u.StrictMode,{children:(0,li.jsx)(g,{store:ui,children:(0,li.jsx)(zm,{})})}),document.getElementById("root"))}()}();
|
|
2
|
+
!function(){var e={613:function(e,t,n){var r=n(61).default,o=n(156).default,i=n(704).default,a=n(690).default,u=n(728).default,l=n(416).default;self,e.exports=function(){var e={156:function(e){var t;self,t=function(){return function(){"use strict";var e,t,n={d:function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o:function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}},r={};n.d(r,{default:function(){return _}}),function(e){e[e.Web=1]="Web",e[e.Desktop=2]="Desktop",e[e.Mobile=3]="Mobile"}(e||(e={}));var o=new Uint8Array(16);function c(){if(!t&&!(t="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return t(o)}for(var s=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,f=function(e){return"string"==typeof e&&s.test(e)},d=[],p=0;p<256;++p)d.push((p+256).toString(16).substr(1));var h,v,g,m,y,b=function(t){var n,r,o=(l(n={},e.Web,"web"),l(n,e.Desktop,"desktop"),l(n,e.Mobile,"mobile"),n);return null!==(r=o[t])&&void 0!==r?r:o[e.Web]},w=function(){},x=function(){function e(){a(this,e)}return u(e,null,[{key:"isSupported",get:function(){return!(!window.console&&!console)}},{key:"info",get:function(){return e.isSupported&&this.enabled?console.log.bind(console):w}},{key:"error",get:function(){return e.isSupported?console.error.bind(console):w}}]),e}();function E(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function k(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?E(Object(n),!0).forEach((function(t){S(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):E(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function S(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}(v="enabled")in(h=x)?Object.defineProperty(h,v,{value:!1,enumerable:!0,configurable:!0,writable:!0}):h[v]=!1,function(e){e.Shift="Shift",e.Ctrl="Control",e.Meta="Meta"}(g||(g={})),function(e){e.Component="component"}(m||(m={})),function(e){e.SetSize="set-size",e.StreamItems="stream-items",e.StreamContextItem="stream-context-item",e.SaveItems="save-items",e.CreateItem="create-item",e.CreateItems="create-items",e.DeleteItems="delete-items",e.SetComponentData="set-component-data",e.RequestPermissions="request-permissions",e.DuplicateItem="duplicate-item",e.ComponentRegistered="component-registered",e.ActivateThemes="themes",e.Reply="reply",e.ThemesActivated="themes-activated",e.KeyDown="key-down",e.KeyUp="key-up",e.Click="click"}(y||(y={}));var _=function(){function t(e){var n,r;if(a(this,t),S(this,"contentWindow",void 0),S(this,"component",{activeThemes:[],acceptsThemes:!0}),S(this,"sentMessages",[]),S(this,"messageQueue",[]),S(this,"lastStreamedItem",void 0),S(this,"pendingSaveItems",void 0),S(this,"pendingSaveTimeout",void 0),S(this,"pendingSaveParams",void 0),S(this,"messageHandler",void 0),S(this,"keyDownEventListener",void 0),S(this,"keyUpEventListener",void 0),S(this,"clickEventListener",void 0),S(this,"concernTimeouts",[]),S(this,"options",void 0),S(this,"params",void 0),!e||!e.targetWindow)throw new Error("contentWindow must be a valid Window object.");this.params=e,this.options=e.options||{},null==this.options.coallesedSaving&&(this.options.coallesedSaving=!0),null==this.options.coallesedSavingDelay&&(this.options.coallesedSavingDelay=250),null!=this.options.acceptsThemes&&(this.component.acceptsThemes=null===(r=this.options.acceptsThemes)||void 0===r||r),x.enabled=null!==(n=this.options.debug)&&void 0!==n&&n,this.contentWindow=e.targetWindow,this.registerMessageHandler(),this.registerKeyboardEventListeners(),this.registerMouseEventListeners()}return u(t,[{key:"deinit",value:function(){this.params.onReady=void 0,this.component={acceptsThemes:!0,activeThemes:[]},this.messageQueue=[],this.sentMessages=[],this.lastStreamedItem=void 0,this.pendingSaveItems=void 0,this.pendingSaveTimeout=void 0,this.pendingSaveParams=void 0,this.messageHandler&&(this.contentWindow.document.removeEventListener("message",this.messageHandler),this.contentWindow.removeEventListener("message",this.messageHandler)),this.keyDownEventListener&&this.contentWindow.removeEventListener("keydown",this.keyDownEventListener),this.keyUpEventListener&&this.contentWindow.removeEventListener("keyup",this.keyUpEventListener),this.clickEventListener&&this.contentWindow.removeEventListener("click",this.clickEventListener)}},{key:"registerMessageHandler",value:function(){var e=this;this.messageHandler=function(t){if(x.info("Components API Message received:",t.data),!document.referrer||new URL(document.referrer).origin===new URL(t.origin).origin){var n=t.data,r=function(e){if("string"!=typeof e)return!1;try{var t=JSON.parse(e),n=Object.prototype.toString.call(t);return"[object Object]"===n||"[object Array]"===n}catch(e){return!1}}(n)?JSON.parse(n):n;if(r){if(void 0===e.component.origin&&r.action===y.ComponentRegistered)e.component.origin=t.origin;else if(t.origin!==e.component.origin)return;e.handleMessage(r)}else x.error("Invalid data received. Skipping...")}},this.contentWindow.document.addEventListener("message",this.messageHandler,!1),this.contentWindow.addEventListener("message",this.messageHandler,!1),x.info("Waiting for messages...")}},{key:"registerKeyboardEventListeners",value:function(){var e=this;this.keyDownEventListener=function(t){x.info("A key has been pressed: ".concat(t.key)),t.ctrlKey?e.keyDownEvent(g.Ctrl):t.shiftKey?e.keyDownEvent(g.Shift):(t.metaKey||"Meta"===t.key)&&e.keyDownEvent(g.Meta)},this.keyUpEventListener=function(t){x.info("A key has been released: ".concat(t.key)),"Control"===t.key?e.keyUpEvent(g.Ctrl):"Shift"===t.key?e.keyUpEvent(g.Shift):"Meta"===t.key&&e.keyUpEvent(g.Meta)},this.contentWindow.addEventListener("keydown",this.keyDownEventListener,!1),this.contentWindow.addEventListener("keyup",this.keyUpEventListener,!1)}},{key:"registerMouseEventListeners",value:function(){var e=this;this.clickEventListener=function(t){x.info("A click has been performed."),e.mouseClickEvent()},this.contentWindow.addEventListener("click",this.clickEventListener,!1)}},{key:"handleMessage",value:function(e){switch(e.action){case y.ComponentRegistered:this.component.sessionKey=e.sessionKey,e.componentData&&(this.component.data=e.componentData),this.onReady(e.data),x.info("Component successfully registered with payload:",e);break;case y.ActivateThemes:this.activateThemes(e.data.themes);break;default:var t,n;if(!e.original)return;var r=null===(t=this.sentMessages)||void 0===t?void 0:t.filter((function(t){var n;return t.messageId===(null===(n=e.original)||void 0===n?void 0:n.messageId)}))[0];if(!r){var o=this.contentWindow.document.title,i=("The extension '".concat(o,"' is attempting to communicate with Standard Notes, ")+"but an error is preventing it from doing so. Please restart this extension and try again.").replace(" "," ");return void x.info(i)}null==r||null===(n=r.callback)||void 0===n||n.call(r,e.data)}}},{key:"onReady",value:function(e){this.component.environment=e.environment,this.component.platform=e.platform,this.component.uuid=e.uuid;var t,n=i(this.messageQueue);try{for(n.s();!(t=n.n()).done;){var r=t.value;this.postMessage(r.action,r.data,r.callback)}}catch(o){n.e(o)}finally{n.f()}this.messageQueue=[],x.info("Data passed to onReady:",e),this.activateThemes(e.activeThemeUrls||[]),this.postMessage(y.ThemesActivated,{}),this.params.onReady&&this.params.onReady()}},{key:"getSelfComponentUUID",value:function(){return this.component.uuid}},{key:"isRunningInDesktopApplication",value:function(){return this.component.environment===b(e.Desktop)}},{key:"isRunningInMobileApplication",value:function(){return this.component.environment===b(e.Mobile)}},{key:"getComponentDataValueForKey",value:function(e){if(this.component.data)return this.component.data[e]}},{key:"setComponentDataValueForKey",value:function(e,t){if(!this.component.data)throw new Error("The component has not been initialized.");if(!e||e&&0===e.length)throw new Error("The key for the data value should be a valid string.");this.component.data=k(k({},this.component.data),{},l({},e,t)),this.postMessage(y.SetComponentData,{componentData:this.component.data})}},{key:"clearComponentData",value:function(){this.component.data={},this.postMessage(y.SetComponentData,{componentData:this.component.data})}},{key:"postMessage",value:function(e,t,n){if(this.component.sessionKey){e===y.SaveItems&&(t.height=this.params.handleRequestForContentHeight());var r,o={action:e,data:t,messageId:this.generateUUID(),sessionKey:this.component.sessionKey,api:m.Component},i=JSON.parse(JSON.stringify(o));i.callback=n,this.sentMessages.push(i),r=this.isRunningInMobileApplication()?JSON.stringify(o):o,x.info("Posting message:",r),this.contentWindow.parent.postMessage(r,this.component.origin)}else this.messageQueue.push({action:e,data:t,api:m.Component,callback:n})}},{key:"activateThemes",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(this.component.acceptsThemes){x.info("Incoming themes:",e);var t=this.component.activeThemes;if(!t||t.sort().toString()!=e.sort().toString()){var n,r=e,o=[],a=i(t);try{var u=function(){var t=n.value;e.includes(t)?r=r.filter((function(e){return e!==t})):o.push(t)};for(a.s();!(n=a.n()).done;)u()}catch(v){a.e(v)}finally{a.f()}x.info("Deactivating themes:",o),x.info("Activating themes:",r);for(var l=0,c=o;l<c.length;l++){var s=c[l];this.deactivateTheme(s)}this.component.activeThemes=e;var f,d=i(r);try{for(d.s();!(f=d.n()).done;){var p=f.value;if(p){var h=this.contentWindow.document.createElement("link");h.id=btoa(p),h.href=p,h.type="text/css",h.rel="stylesheet",h.media="screen,print",h.className="custom-theme",this.contentWindow.document.getElementsByTagName("head")[0].appendChild(h)}}}catch(v){d.e(v)}finally{d.f()}this.params.onThemesChange&&this.params.onThemesChange()}}}},{key:"themeElementForUrl",value:function(e){return Array.from(this.contentWindow.document.getElementsByClassName("custom-theme")).slice().find((function(t){return t.id==btoa(e)}))}},{key:"deactivateTheme",value:function(e){var t=this.themeElementForUrl(e);t&&t.parentNode&&(t.setAttribute("disabled","true"),t.parentNode.removeChild(t))}},{key:"generateUUID",value:function(){return function(e,t,n){var r=(e=e||{}).random||(e.rng||c)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,t){n=n||0;for(var o=0;o<16;++o)t[n+o]=r[o];return t}return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=(d[e[t+0]]+d[e[t+1]]+d[e[t+2]]+d[e[t+3]]+"-"+d[e[t+4]]+d[e[t+5]]+"-"+d[e[t+6]]+d[e[t+7]]+"-"+d[e[t+8]]+d[e[t+9]]+"-"+d[e[t+10]]+d[e[t+11]]+d[e[t+12]]+d[e[t+13]]+d[e[t+14]]+d[e[t+15]]).toLowerCase();if(!f(n))throw TypeError("Stringified UUID is invalid");return n}(r)}()}},{key:"platform",get:function(){return this.component.platform}},{key:"environment",get:function(){return this.component.environment}},{key:"streamItems",value:function(e,t){this.postMessage(y.StreamItems,{content_types:e},(function(e){t(e.items)}))}},{key:"streamContextItem",value:function(e){var t=this;this.postMessage(y.StreamContextItem,{},(function(n){var r=n.item;(!t.lastStreamedItem||t.lastStreamedItem.uuid!==r.uuid)&&t.pendingSaveTimeout&&(clearTimeout(t.pendingSaveTimeout),t.performSavingOfItems(t.pendingSaveParams),t.pendingSaveTimeout=void 0,t.pendingSaveParams=void 0),t.lastStreamedItem=r,e(t.lastStreamedItem)}))}},{key:"createItem",value:function(e,t){this.postMessage(y.CreateItem,{item:this.jsonObjectForItem(e)},(function(e){var n=e.item;!n&&e.items&&e.items.length>0&&(n=e.items[0]),t&&t(n)}))}},{key:"createItems",value:function(e,t){var n=this,r=e.map((function(e){return n.jsonObjectForItem(e)}));this.postMessage(y.CreateItems,{items:r},(function(e){t&&t(e.items)}))}},{key:"deleteItem",value:function(e,t){this.deleteItems([e],t)}},{key:"deleteItems",value:function(e,t){var n=this,r={items:e.map((function(e){return n.jsonObjectForItem(e)}))};this.postMessage(y.DeleteItems,r,(function(e){t&&t(e)}))}},{key:"sendCustomEvent",value:function(e,t,n){this.postMessage(e,t,(function(e){n&&n(e)}))}},{key:"saveItem",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];this.saveItems([e],t,n)}},{key:"saveItemWithPresave",value:function(e,t,n){this.saveItemsWithPresave([e],t,n)}},{key:"saveItemsWithPresave",value:function(e,t,n){this.saveItems(e,n,!1,t)}},{key:"performSavingOfItems",value:function(e){var t=this,n=e.items,r=e.presave,o=e.callback,a=setTimeout((function(){t.concernTimeouts.forEach((function(e){return clearTimeout(e)})),alert("This editor is unable to communicate with Standard Notes. Your changes may not be saved. Please backup your changes, then restart the application and try again.")}),5e3);this.concernTimeouts.push(a),r&&r();var u,l=[],c=i(n);try{for(c.s();!(u=c.n()).done;){var s=u.value;l.push(this.jsonObjectForItem(s))}}catch(f){c.e(f)}finally{c.f()}this.postMessage(y.SaveItems,{items:l},(function(){t.concernTimeouts.forEach((function(e){return clearTimeout(e)})),null==o||o()}))}},{key:"saveItems",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=arguments.length>3?arguments[3]:void 0;if(this.pendingSaveItems||(this.pendingSaveItems=[]),this.options.coallesedSaving&&!r){this.pendingSaveTimeout&&clearTimeout(this.pendingSaveTimeout);var i=e.map((function(e){return e.uuid})),a=this.pendingSaveItems.filter((function(e){return!i.includes(e.uuid)}));this.pendingSaveItems=a.concat(e),this.pendingSaveParams={items:this.pendingSaveItems,presave:o,callback:t},this.pendingSaveTimeout=setTimeout((function(){n.performSavingOfItems(n.pendingSaveParams),n.pendingSaveItems=[],n.pendingSaveTimeout=void 0,n.pendingSaveParams=null}),this.options.coallesedSavingDelay)}else this.performSavingOfItems({items:e,presave:o,callback:t})}},{key:"setSize",value:function(e,t){this.postMessage(y.SetSize,{type:"container",width:e,height:t})}},{key:"keyDownEvent",value:function(e){this.postMessage(y.KeyDown,{keyboardModifier:e})}},{key:"keyUpEvent",value:function(e){this.postMessage(y.KeyUp,{keyboardModifier:e})}},{key:"mouseClickEvent",value:function(){this.postMessage(y.Click,{})}},{key:"jsonObjectForItem",value:function(e){var t=Object.assign({},e);return t.children=null,t.parent=null,t}},{key:"getItemAppDataValue",value:function(e,t){var n,r,o=null==e||null===(n=e.content)||void 0===n||null===(r=n.appData)||void 0===r?void 0:r["org.standardnotes.sn"];return null==o?void 0:o[t]}}]),t}();return r.default}()},e.exports=t()}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={exports:{}};return e[r](i,i.exports,n),i.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)};var c={};return function(){"use strict";n.d(c,{default:function(){return l}});var e=n(156),t=n.n(e);function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var l=function(){function e(t,n){a(this,e),this.delegate=t,this.options=n,i(this,"componentRelay",void 0),i(this,"note",void 0),i(this,"ignoreNextTextChange",void 0),this.connectToBridge()}return u(e,[{key:"connectToBridge",value:function(){var e=this,n=this.options,i=n.coallesedSaving,a=n.coallesedSavingDelay,u=n.mode;this.componentRelay=new(t())({targetWindow:window,options:{coallesedSaving:i,coallesedSavingDelay:a},onReady:function(){var t=e.componentRelay.platform;t&&document.documentElement.classList.add(t)},onThemesChange:this.delegate.onThemesChange,handleRequestForContentHeight:function(){return e.delegate.handleRequestForContentHeight()}}),this.componentRelay.streamContextItem(function(){var t=o(r().mark((function t(n){var o,i,a,l,c,s,f,d,p,h;return r().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(i=!0,e.note&&e.note.uuid==n.uuid&&(i=!1),a=e.note,e.note=n,!n.isMetadataUpdate){t.next=5;break}return t.abrupt("return");case 5:if(l=(null===(o=n.content)||void 0===o?void 0:o.text)||"","html"===u&&i&&(/<[a-z][\s\S]*>/i.test(l)||(e.ignoreNextTextChange=!0)),t.t0=e.delegate.onNoteValueChange,!t.t0){t.next=11;break}return t.next=11,e.delegate.onNoteValueChange(n);case 11:if(e.delegate.setEditorRawText(l),!e.delegate.onNoteLockToggle){t.next=15;break}f=null!==(c=e.componentRelay.getItemAppDataValue(a,"locked"))&&void 0!==c&&c,d=null!==(s=e.componentRelay.getItemAppDataValue(e.note,"locked"))&&void 0!==s&&s,f!==d&&e.delegate.onNoteLockToggle(d);case 15:i&&(null===(p=(h=e.delegate).clearUndoHistory)||void 0===p||p.call(h));case 16:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}())}},{key:"configureFileSafe",value:function(){for(var e=0,t=["getCurrentLineText","getPreviousLineText","replaceText","getElementsBySelector","insertElement","preprocessElement","insertRawText"];e<t.length;e++){var n=t[e];if(!this.delegate[n])throw Error("Missing ".concat(n," delegate function."))}}},{key:"onEditorValueChanged",value:function(e){var t=this,n=this.options.mode;if(this.ignoreNextTextChange)this.ignoreNextTextChange=!1;else if(this.note){var r=this.note;this.componentRelay.saveItemWithPresave(r,(function(){if(r.content.text=e,t.delegate.generateCustomPreview){var o,i=t.delegate.generateCustomPreview(e);r.content.preview_plain=null!==(o=i.plain)&&void 0!==o?o:" ",r.content.preview_html=i.html}else{if("html"===n){var a=e;a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:90;return e.length<=t?e:e.substring(0,t)+"..."}(function(e){var t=document.implementation.createHTMLDocument().body;return t.innerHTML=e,t.textContent||t.innerText||""}(a)),r.content.preview_plain=a.length>0?a:" "}else r.content.preview_plain=e;r.content.preview_html=void 0}}))}}},{key:"saveItemWithPresave",value:function(e,t){this.componentRelay.saveItemWithPresave(e,t)}},{key:"platform",get:function(){return this.componentRelay.platform}},{key:"environment",get:function(){return this.componentRelay.environment}},{key:"getComponentDataValueForKey",value:function(e){return this.componentRelay.getComponentDataValueForKey(e)}},{key:"setComponentDataValueForKey",value:function(e,t){this.componentRelay.setComponentDataValueForKey(e,t)}},{key:"isRunningInMobileApplication",value:function(){return this.componentRelay.isRunningInMobileApplication()}}]),e}()}(),c.default}()},379:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Deferred=void 0;t.Deferred=function(){var e,t,n=new Promise((function(n,r){e=n,t=r}));return{resolve:e,reject:t,promise:n}}},622:function(e,t,n){"use strict";var r=n(61).default,o=n(861).default,i=n(704).default,a=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{l(r.next(e))}catch(t){i(t)}}function u(e){try{l(r.throw(e))}catch(t){i(t)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,u)}l((r=r.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.isSameDay=t.assertUnreachable=t.sleep=t.truncateHexString=t.hasGetter=t.isValidUrl=t.deepFreeze=t.pickByCopy=t.deepMerge=t.Copy=t.joinPaths=t.omitByCopy=t.omitInPlace=t.withoutLastElement=t.jsonParseEmbeddedKeys=t.topLevelCompare=t.dateSorted=t.omitUndefinedCopy=t.sortByKey=t.sortedCopy=t.objectToValueArray=t.arrayByRemovingFromIndex=t.addAtIndex=t.removeFromIndex=t.compareValues=t.arrayByDifference=t.filterFromArray=t.addIfUnique=t.removeFromArray=t.subtractFromArray=t.extendArray=t.lastElement=t.uniqueArrayByKey=t.uniqueArray=t.uniqCombineObjArrays=t.greaterOfTwoDates=t.isString=t.isEmpty=t.isNotUndefined=t.isNullOrUndefined=t.isFunction=t.isObject=t.sureSearchArray=t.searchArray=t.findInArray=t.isReactNativeEnvironment=t.isWebCryptoAvailable=t.isWebEnvironment=t.dictToArray=t.getGlobalScope=void 0,t.useBoolean=t.assert=t.log=t.secondHalfOfString=t.firstHalfOfString=t.splitString=t.nonSecureRandomIdentifier=t.dateToLocalizedString=t.sanitizeHtmlString=t.convertTimestampToMilliseconds=t.arraysEqual=t.naturalSort=void 0;var u=n(703),l=n(763),c="undefined"!==typeof Intl?new Intl.Collator("en",{numeric:!0}):void 0;function s(){return"undefined"!==typeof window?window:"undefined"!==typeof n.g?n.g:null}function f(){return null!==s()}function d(){return"undefined"!==typeof navigator&&"ReactNative"===navigator.product}function p(e,t){return(0,l.find)(e,t)}function h(e){return null!==e&&("function"===typeof e||"object"===typeof e)}function v(e){return null===e||void 0===e}function g(e,t){var n=e.indexOf(t);-1!==n&&e.splice(n,1)}function m(e,t){e.splice(t,1)}t.getGlobalScope=s,t.dictToArray=function(e){return Object.values(e)},t.isWebEnvironment=f,t.isWebCryptoAvailable=function(){return f()&&!d()&&!(document&&document.documentMode)||/Edge/.test(navigator.userAgent)&&window.crypto&&!!window.crypto.subtle},t.isReactNativeEnvironment=d,t.findInArray=function(e,t,n){return e.find((function(e){return e[t]===n}))},t.searchArray=p,t.sureSearchArray=function(e,t){return p(e,t)},t.isObject=h,t.isFunction=function(e){return null!==e&&"function"===typeof e},t.isNullOrUndefined=v,t.isNotUndefined=function(e){return void 0!=e},t.isEmpty=function(e){return!e||0===e.length},t.isString=function(e){return"string"===typeof e||e instanceof String},t.greaterOfTwoDates=function(e,t){return e>t?e:t},t.uniqCombineObjArrays=function(e,t,n){return(0,l.uniqWith)(e.concat(t),(function(e,t){var r,o=i(n);try{for(o.s();!(r=o.n()).done;){var a=r.value;if(e[a]!==t[a])return!1}}catch(u){o.e(u)}finally{o.f()}return!0}))},t.uniqueArray=function(e){return(0,l.uniq)(e)},t.uniqueArrayByKey=function(e,t){return(0,l.uniqWith)(e,(function(e,n){return e[t]===n[t]}))},t.lastElement=function(e){return e[e.length-1]},t.extendArray=function(e,t){var n,r=i(t);try{for(r.s();!(n=r.n()).done;){var o=n.value;e.push(o)}}catch(a){r.e(a)}finally{r.f()}},t.subtractFromArray=function(e,t){var n,r=i(t);try{for(r.s();!(n=r.n()).done;){g(e,n.value)}}catch(o){r.e(o)}finally{r.f()}},t.removeFromArray=g,t.addIfUnique=function(e,t){return!e.includes(t)&&(e.push(t),!0)},t.filterFromArray=function(e,t){(0,l.remove)(e,t)},t.arrayByDifference=function(e,t){return e.filter((function(e){return!t.includes(e)})).concat(t.filter((function(t){return!e.includes(t)})))},t.compareValues=function(e,t){return!(e&&!t||!e&&t)&&(e instanceof Date&&t instanceof Date?e.getTime()===t.getTime():e instanceof String&&t instanceof String?e===t:y(e,t))},t.removeFromIndex=m,t.addAtIndex=function(e,t,n){e.splice(n,0,t)},t.arrayByRemovingFromIndex=function(e,t){var n=e.slice();return m(n,t),n},t.objectToValueArray=function(e){for(var t=[],n=0,r=Object.keys(e);n<r.length;n++){var o=r[n];t.push(e[o])}return t},t.sortedCopy=function(e){var t,n=Object.keys(e).sort(),r={},o=i(n);try{for(o.s();!(t=o.n()).done;){var a=t.value;r[a]=e[a]}}catch(u){o.e(u)}finally{o.f()}return b(r)};function y(e,t){if(!e&&!t)return!0;if(!e||!t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var o=0,i=n;o<i.length;o++){var a=i[o];if(e[a]!==t[a])return!1}return!0}t.sortByKey=function(e,t){var n=o(e);return n.sort((function(e,n){var r=e[t],o=n[t];return r<o?-1:r>o?1:0})),n},t.omitUndefinedCopy=function(e){for(var t={},n=0,r=Object.keys(e);n<r.length;n++){var o=r[n];v(e[o])||(t[o]=e[o])}return t},t.dateSorted=function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return e.sort((function(e,r){var o=e[t].getTime(),i=r[t].getTime(),a=n?1:-1;return o<i?-1*a:o>i?1*a:0}))},t.topLevelCompare=y,t.jsonParseEmbeddedKeys=function(e){for(var t={},n=0,r=Object.keys(e);n<r.length;n++){var o=r[n],i=void 0;try{i=JSON.parse(e[o])}catch(a){i=e[o]}t[o]=i}return t};function b(e){return e instanceof Date?new Date(e):h(e)?JSON.parse(JSON.stringify(e)):e}t.withoutLastElement=function(e){return e.slice(0,-1)},t.omitInPlace=function(e,t){if(e){var n,r=i(t);try{for(r.s();!(n=r.n()).done;){delete e[n.value]}}catch(o){r.e(o)}finally{r.f()}}},t.omitByCopy=function(e,t){if(!v(e)){var n,r=Object.assign({},e),o=i(t);try{for(o.s();!(n=o.n()).done;){delete r[n.value]}}catch(a){o.e(a)}finally{o.f()}return r}},t.joinPaths=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.map((function(e,t){return 0===t?e.trim().replace(/[/]*$/g,""):e.trim().replace(/(^[/]*|[/]*$)/g,"")})).filter((function(e){return e.length})).join("/")},t.Copy=b,t.deepMerge=function(e,t){if(!e||!t)throw"Attempting to deepMerge with null values";return(0,l.mergeWith)(e,t,(function(e,t){if((0,l.isArray)(e))return t})),e},t.pickByCopy=function(e,t){var n,r={},o=i(t);try{for(o.s();!(n=o.n()).done;){var a=n.value;r[a]=e[a]}}catch(u){o.e(u)}finally{o.f()}return b(r)},t.deepFreeze=function e(t){var n,r=Object.getOwnPropertyNames(t),o=i(r);try{for(o.s();!(n=o.n()).done;){var a=n.value,u=t[a];u&&"object"===typeof u&&!Object.isFrozen(u)?t[a]=e(u):t[a]=u}}catch(l){o.e(l)}finally{o.f()}return Object.freeze(t)},t.isValidUrl=function(e){try{return new URL(e),!0}catch(t){return!1}},t.hasGetter=function(e,t){var n=Object.getOwnPropertyDescriptor(Object.getPrototypeOf(e),t);return n&&!v(n.get)},t.truncateHexString=function(e,t){var n=t/4;return e.substring(0,n)},t.sleep=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return a(this,void 0,void 0,r().mark((function n(){return r().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return t&&console.warn("Sleeping for ".concat(e,"ms")),n.abrupt("return",new Promise((function(t){setTimeout((function(){t()}),e)})));case 2:case"end":return n.stop()}}),n)})))},t.assertUnreachable=function(e){throw Error("Unchecked case "+e)},t.isSameDay=function(e,t){return e.getFullYear()===t.getFullYear()&&e.getMonth()===t.getMonth()&&e.getDate()===t.getDate()},t.naturalSort=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"asc";switch(n){case"asc":return o(e).sort(c?function(e,n){return c.compare(e[t],n[t])}:function(e,n){return e[t].localeCompare(n[t],"en",{numeric:!0})});case"desc":return o(e).sort(c?function(e,n){return c.compare(n[t],e[t])}:function(e,n){return n[t].localeCompare(e[t],"en",{numeric:!0})})}},t.arraysEqual=function(e,t){return e.length===t.length&&(e.every((function(e){return t.includes(e)}))&&t.every((function(t){return e.includes(t)})))};var w,x;function E(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];Function.prototype.apply.call(console.log,console,arguments)}!function(e){e[e.Seconds=10]="Seconds",e[e.Milliseconds=13]="Milliseconds",e[e.Microseconds=16]="Microseconds"}(w||(w={})),t.convertTimestampToMilliseconds=function(e){switch(String(e).length){case w.Seconds:return 1e3*e;case w.Milliseconds:return e;case w.Microseconds:return Math.floor(e/1e3);default:throw"Unhandled timestamp precision: ".concat(e)}},t.sanitizeHtmlString=function(e){return(0,u.sanitize)(e)},t.dateToLocalizedString=function(e){if("undefined"!==typeof Intl&&Intl.DateTimeFormat&&"undefined"!==typeof navigator){if(!x){var t=navigator.languages&&navigator.languages.length?navigator.languages[0]:navigator.language;x=new Intl.DateTimeFormat(t,{year:"numeric",month:"short",day:"2-digit",weekday:"long",hour:"2-digit",minute:"2-digit"})}return x.format(e)}return e.toDateString()+" "+e.toLocaleTimeString()},t.nonSecureRandomIdentifier=function(){return"".concat(100*Math.random()).replace(".","")},t.splitString=function(e,t){for(var n=e.length/t,r=[],o=0;o<t;o++){var i=e.slice(n*o,n*(o+1));r.push(i)}return r},t.firstHalfOfString=function(e){return e.substring(0,e.length/2)},t.secondHalfOfString=function(e){return e.substring(e.length/2,e.length)},t.log=function(e){for(var t=new Date,n="".concat(t.toLocaleTimeString().replace(" PM","").replace(" AM",""),".").concat(t.getMilliseconds()),r=arguments.length,o=new Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];E.apply(void 0,["%c".concat(e,"%c").concat(n),"color: black; font-weight: bold; margin-right: 4px","color: gray"].concat(o))},t.assert=function(e){if(void 0===e)throw new Error("Assertion failed; value must be defined")},t.useBoolean=function(e,t){return void 0!=e?e:t}},632:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Uuids=void 0,t.Uuids=function(e){return e.map((function(e){return e.uuid}))}},528:function(e,t,n){"use strict";var r=n(690).default,o=n(728).default;Object.defineProperty(t,"__esModule",{value:!0}),t.UuidGenerator=void 0;var i=function(){function e(){r(this,e)}return o(e,null,[{key:"SetGenerator",value:function(e){this.syncUuidFunc=e}},{key:"GenerateUuid",value:function(){return this.syncUuidFunc()}}]),e}();t.UuidGenerator=i},942:function(e,t,n){"use strict";var r=n(704).default,o=n(690).default,i=n(728).default;Object.defineProperty(t,"__esModule",{value:!0}),t.UuidMap=void 0;var a=n(622),u=function(){function e(){o(this,e),this.directMap={},this.inverseMap={}}return i(e,[{key:"makeCopy",value:function(){var t=new e;return t.directMap=Object.assign({},this.directMap),t.inverseMap=Object.assign({},this.inverseMap),t}},{key:"getDirectRelationships",value:function(e){return this.directMap[e]||[]}},{key:"getInverseRelationships",value:function(e){return this.inverseMap[e]||[]}},{key:"establishRelationship",value:function(e,t){this.establishDirectRelationship(e,t),this.establishInverseRelationship(e,t)}},{key:"deestablishRelationship",value:function(e,t){this.deestablishDirectRelationship(e,t),this.deestablishInverseRelationship(e,t)}},{key:"setAllRelationships",value:function(e,t){var n=this.directMap[e]||[];this.directMap[e]=t;var o,i=r(n);try{for(i.s();!(o=i.n()).done;){var a=o.value;this.deestablishInverseRelationship(e,a)}}catch(s){i.e(s)}finally{i.f()}var u,l=r(t);try{for(l.s();!(u=l.n()).done;){var c=u.value;this.establishInverseRelationship(e,c)}}catch(s){l.e(s)}finally{l.f()}}},{key:"removeFromMap",value:function(e){var t,n=this.directMap[e]||[],o=r(n);try{for(o.s();!(t=o.n()).done;){var i=t.value;(0,a.removeFromArray)(this.inverseMap[i]||[],e)}}catch(f){o.e(f)}finally{o.f()}delete this.directMap[e];var u,l=this.inverseMap[e]||[],c=r(l);try{for(c.s();!(u=c.n()).done;){var s=u.value;(0,a.removeFromArray)(this.directMap[s]||[],e)}}catch(f){c.e(f)}finally{c.f()}delete this.inverseMap[e]}},{key:"establishDirectRelationship",value:function(e,t){var n=this.directMap[e]||[];(0,a.addIfUnique)(n,t),this.directMap[e]=n}},{key:"establishInverseRelationship",value:function(e,t){var n=this.inverseMap[t]||[];(0,a.addIfUnique)(n,e),this.inverseMap[t]=n}},{key:"deestablishDirectRelationship",value:function(e,t){var n=this.directMap[e]||[];(0,a.removeFromArray)(n,t),this.directMap[e]=n}},{key:"deestablishInverseRelationship",value:function(e,t){var n=this.inverseMap[t]||[];(0,a.removeFromArray)(n,e),this.inverseMap[t]=n}}]),e}();t.UuidMap=u},911:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(622),t),o(n(528),t),o(n(942),t),o(n(632),t),o(n(379),t)},516:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(911),t)},703:function(e){e.exports=function(){"use strict";function e(t){return e="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},e(t)}function t(e,n){return t=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},t(e,n)}function n(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function r(e,o,i){return r=n()?Reflect.construct:function(e,n,r){var o=[null];o.push.apply(o,n);var i=new(Function.bind.apply(e,o));return r&&t(i,r.prototype),i},r.apply(null,arguments)}function o(e){return i(e)||a(e)||u(e)||c()}function i(e){if(Array.isArray(e))return l(e)}function a(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function u(e,t){if(e){if("string"===typeof e)return l(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)?l(e,t):void 0}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function c(){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 s=Object.hasOwnProperty,f=Object.setPrototypeOf,d=Object.isFrozen,p=Object.getPrototypeOf,h=Object.getOwnPropertyDescriptor,v=Object.freeze,g=Object.seal,m=Object.create,y="undefined"!==typeof Reflect&&Reflect,b=y.apply,w=y.construct;b||(b=function(e,t,n){return e.apply(t,n)}),v||(v=function(e){return e}),g||(g=function(e){return e}),w||(w=function(e,t){return r(e,o(t))});var x=T(Array.prototype.forEach),E=T(Array.prototype.pop),k=T(Array.prototype.push),S=T(String.prototype.toLowerCase),_=T(String.prototype.match),C=T(String.prototype.replace),O=T(String.prototype.indexOf),I=T(String.prototype.trim),N=T(RegExp.prototype.test),D=R(TypeError);function T(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return b(e,t,r)}}function R(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return w(e,n)}}function A(e,t,n){n=n||S,f&&f(e,null);for(var r=t.length;r--;){var o=t[r];if("string"===typeof o){var i=n(o);i!==o&&(d(t)||(t[r]=i),o=i)}e[o]=!0}return e}function P(e){var t,n=m(null);for(t in e)b(s,e,[t])&&(n[t]=e[t]);return n}function L(e,t){for(;null!==e;){var n=h(e,t);if(n){if(n.get)return T(n.get);if("function"===typeof n.value)return T(n.value)}e=p(e)}function r(e){return console.warn("fallback value for",e),null}return r}var M=v(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),j=v(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),F=v(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),B=v(["animate","color-profile","cursor","discard","fedropshadow","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),z=v(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"]),U=v(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),W=v(["#text"]),H=v(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),G=v(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),V=v(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),$=v(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),q=g(/\{\{[\w\W]*|[\w\W]*\}\}/gm),K=g(/<%[\w\W]*|[\w\W]*%>/gm),Y=g(/^data-[\-\w.\u00B7-\uFFFF]/),Z=g(/^aria-[\-\w]+$/),X=g(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Q=g(/^(?:\w+script|data):/i),J=g(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),ee=g(/^html$/i),te=function(){return"undefined"===typeof window?null:window},ne=function(t,n){if("object"!==e(t)||"function"!==typeof t.createPolicy)return null;var r=null,o="data-tt-policy-suffix";n.currentScript&&n.currentScript.hasAttribute(o)&&(r=n.currentScript.getAttribute(o));var i="dompurify"+(r?"#"+r:"");try{return t.createPolicy(i,{createHTML:function(e){return e},createScriptURL:function(e){return e}})}catch(a){return console.warn("TrustedTypes policy "+i+" could not be created."),null}};function re(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:te(),n=function(e){return re(e)};if(n.version="2.4.0",n.removed=[],!t||!t.document||9!==t.document.nodeType)return n.isSupported=!1,n;var r=t.document,i=t.document,a=t.DocumentFragment,u=t.HTMLTemplateElement,l=t.Node,c=t.Element,s=t.NodeFilter,f=t.NamedNodeMap,d=void 0===f?t.NamedNodeMap||t.MozNamedAttrMap:f,p=t.HTMLFormElement,h=t.DOMParser,g=t.trustedTypes,m=c.prototype,y=L(m,"cloneNode"),b=L(m,"nextSibling"),w=L(m,"childNodes"),T=L(m,"parentNode");if("function"===typeof u){var R=i.createElement("template");R.content&&R.content.ownerDocument&&(i=R.content.ownerDocument)}var oe=ne(g,r),ie=oe?oe.createHTML(""):"",ae=i,ue=ae.implementation,le=ae.createNodeIterator,ce=ae.createDocumentFragment,se=ae.getElementsByTagName,fe=r.importNode,de={};try{de=P(i).documentMode?i.documentMode:{}}catch(Ot){}var pe={};n.isSupported="function"===typeof T&&ue&&"undefined"!==typeof ue.createHTMLDocument&&9!==de;var he,ve,ge=q,me=K,ye=Y,be=Z,we=Q,xe=J,Ee=X,ke=null,Se=A({},[].concat(o(M),o(j),o(F),o(z),o(W))),_e=null,Ce=A({},[].concat(o(H),o(G),o(V),o($))),Oe=Object.seal(Object.create(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Ie=null,Ne=null,De=!0,Te=!0,Re=!1,Ae=!1,Pe=!1,Le=!1,Me=!1,je=!1,Fe=!1,Be=!1,ze=!0,Ue=!1,We="user-content-",He=!0,Ge=!1,Ve={},$e=null,qe=A({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),Ke=null,Ye=A({},["audio","video","img","source","image","track"]),Ze=null,Xe=A({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Qe="http://www.w3.org/1998/Math/MathML",Je="http://www.w3.org/2000/svg",et="http://www.w3.org/1999/xhtml",tt=et,nt=!1,rt=["application/xhtml+xml","text/html"],ot="text/html",it=null,at=i.createElement("form"),ut=function(e){return e instanceof RegExp||e instanceof Function},lt=function(t){it&&it===t||(t&&"object"===e(t)||(t={}),t=P(t),he=he=-1===rt.indexOf(t.PARSER_MEDIA_TYPE)?ot:t.PARSER_MEDIA_TYPE,ve="application/xhtml+xml"===he?function(e){return e}:S,ke="ALLOWED_TAGS"in t?A({},t.ALLOWED_TAGS,ve):Se,_e="ALLOWED_ATTR"in t?A({},t.ALLOWED_ATTR,ve):Ce,Ze="ADD_URI_SAFE_ATTR"in t?A(P(Xe),t.ADD_URI_SAFE_ATTR,ve):Xe,Ke="ADD_DATA_URI_TAGS"in t?A(P(Ye),t.ADD_DATA_URI_TAGS,ve):Ye,$e="FORBID_CONTENTS"in t?A({},t.FORBID_CONTENTS,ve):qe,Ie="FORBID_TAGS"in t?A({},t.FORBID_TAGS,ve):{},Ne="FORBID_ATTR"in t?A({},t.FORBID_ATTR,ve):{},Ve="USE_PROFILES"in t&&t.USE_PROFILES,De=!1!==t.ALLOW_ARIA_ATTR,Te=!1!==t.ALLOW_DATA_ATTR,Re=t.ALLOW_UNKNOWN_PROTOCOLS||!1,Ae=t.SAFE_FOR_TEMPLATES||!1,Pe=t.WHOLE_DOCUMENT||!1,je=t.RETURN_DOM||!1,Fe=t.RETURN_DOM_FRAGMENT||!1,Be=t.RETURN_TRUSTED_TYPE||!1,Me=t.FORCE_BODY||!1,ze=!1!==t.SANITIZE_DOM,Ue=t.SANITIZE_NAMED_PROPS||!1,He=!1!==t.KEEP_CONTENT,Ge=t.IN_PLACE||!1,Ee=t.ALLOWED_URI_REGEXP||Ee,tt=t.NAMESPACE||et,t.CUSTOM_ELEMENT_HANDLING&&ut(t.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(Oe.tagNameCheck=t.CUSTOM_ELEMENT_HANDLING.tagNameCheck),t.CUSTOM_ELEMENT_HANDLING&&ut(t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(Oe.attributeNameCheck=t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),t.CUSTOM_ELEMENT_HANDLING&&"boolean"===typeof t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(Oe.allowCustomizedBuiltInElements=t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Ae&&(Te=!1),Fe&&(je=!0),Ve&&(ke=A({},o(W)),_e=[],!0===Ve.html&&(A(ke,M),A(_e,H)),!0===Ve.svg&&(A(ke,j),A(_e,G),A(_e,$)),!0===Ve.svgFilters&&(A(ke,F),A(_e,G),A(_e,$)),!0===Ve.mathMl&&(A(ke,z),A(_e,V),A(_e,$))),t.ADD_TAGS&&(ke===Se&&(ke=P(ke)),A(ke,t.ADD_TAGS,ve)),t.ADD_ATTR&&(_e===Ce&&(_e=P(_e)),A(_e,t.ADD_ATTR,ve)),t.ADD_URI_SAFE_ATTR&&A(Ze,t.ADD_URI_SAFE_ATTR,ve),t.FORBID_CONTENTS&&($e===qe&&($e=P($e)),A($e,t.FORBID_CONTENTS,ve)),He&&(ke["#text"]=!0),Pe&&A(ke,["html","head","body"]),ke.table&&(A(ke,["tbody"]),delete Ie.tbody),v&&v(t),it=t)},ct=A({},["mi","mo","mn","ms","mtext"]),st=A({},["foreignobject","desc","title","annotation-xml"]),ft=A({},["title","style","font","a","script"]),dt=A({},j);A(dt,F),A(dt,B);var pt=A({},z);A(pt,U);var ht=function(e){var t=T(e);t&&t.tagName||(t={namespaceURI:et,tagName:"template"});var n=S(e.tagName),r=S(t.tagName);return e.namespaceURI===Je?t.namespaceURI===et?"svg"===n:t.namespaceURI===Qe?"svg"===n&&("annotation-xml"===r||ct[r]):Boolean(dt[n]):e.namespaceURI===Qe?t.namespaceURI===et?"math"===n:t.namespaceURI===Je?"math"===n&&st[r]:Boolean(pt[n]):e.namespaceURI===et&&!(t.namespaceURI===Je&&!st[r])&&!(t.namespaceURI===Qe&&!ct[r])&&!pt[n]&&(ft[n]||!dt[n])},vt=function(e){k(n.removed,{element:e});try{e.parentNode.removeChild(e)}catch(Ot){try{e.outerHTML=ie}catch(Ot){e.remove()}}},gt=function(e,t){try{k(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(Ot){k(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!_e[e])if(je||Fe)try{vt(t)}catch(Ot){}else try{t.setAttribute(e,"")}catch(Ot){}},mt=function(e){var t,n;if(Me)e="<remove></remove>"+e;else{var r=_(e,/^[\r\n\t ]+/);n=r&&r[0]}"application/xhtml+xml"===he&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");var o=oe?oe.createHTML(e):e;if(tt===et)try{t=(new h).parseFromString(o,he)}catch(Ot){}if(!t||!t.documentElement){t=ue.createDocument(tt,"template",null);try{t.documentElement.innerHTML=nt?"":o}catch(Ot){}}var a=t.body||t.documentElement;return e&&n&&a.insertBefore(i.createTextNode(n),a.childNodes[0]||null),tt===et?se.call(t,Pe?"html":"body")[0]:Pe?t.documentElement:a},yt=function(e){return le.call(e.ownerDocument||e,e,s.SHOW_ELEMENT|s.SHOW_COMMENT|s.SHOW_TEXT,null,!1)},bt=function(e){return e instanceof p&&("string"!==typeof e.nodeName||"string"!==typeof e.textContent||"function"!==typeof e.removeChild||!(e.attributes instanceof d)||"function"!==typeof e.removeAttribute||"function"!==typeof e.setAttribute||"string"!==typeof e.namespaceURI||"function"!==typeof e.insertBefore)},wt=function(t){return"object"===e(l)?t instanceof l:t&&"object"===e(t)&&"number"===typeof t.nodeType&&"string"===typeof t.nodeName},xt=function(e,t,r){pe[e]&&x(pe[e],(function(e){e.call(n,t,r,it)}))},Et=function(e){var t;if(xt("beforeSanitizeElements",e,null),bt(e))return vt(e),!0;if(N(/[\u0080-\uFFFF]/,e.nodeName))return vt(e),!0;var r=ve(e.nodeName);if(xt("uponSanitizeElement",e,{tagName:r,allowedTags:ke}),e.hasChildNodes()&&!wt(e.firstElementChild)&&(!wt(e.content)||!wt(e.content.firstElementChild))&&N(/<[/\w]/g,e.innerHTML)&&N(/<[/\w]/g,e.textContent))return vt(e),!0;if("select"===r&&N(/<template/i,e.innerHTML))return vt(e),!0;if(!ke[r]||Ie[r]){if(!Ie[r]&&St(r)){if(Oe.tagNameCheck instanceof RegExp&&N(Oe.tagNameCheck,r))return!1;if(Oe.tagNameCheck instanceof Function&&Oe.tagNameCheck(r))return!1}if(He&&!$e[r]){var o=T(e)||e.parentNode,i=w(e)||e.childNodes;if(i&&o)for(var a=i.length-1;a>=0;--a)o.insertBefore(y(i[a],!0),b(e))}return vt(e),!0}return e instanceof c&&!ht(e)?(vt(e),!0):"noscript"!==r&&"noembed"!==r||!N(/<\/no(script|embed)/i,e.innerHTML)?(Ae&&3===e.nodeType&&(t=e.textContent,t=C(t,ge," "),t=C(t,me," "),e.textContent!==t&&(k(n.removed,{element:e.cloneNode()}),e.textContent=t)),xt("afterSanitizeElements",e,null),!1):(vt(e),!0)},kt=function(e,t,n){if(ze&&("id"===t||"name"===t)&&(n in i||n in at))return!1;if(Te&&!Ne[t]&&N(ye,t));else if(De&&N(be,t));else if(!_e[t]||Ne[t]){if(!(St(e)&&(Oe.tagNameCheck instanceof RegExp&&N(Oe.tagNameCheck,e)||Oe.tagNameCheck instanceof Function&&Oe.tagNameCheck(e))&&(Oe.attributeNameCheck instanceof RegExp&&N(Oe.attributeNameCheck,t)||Oe.attributeNameCheck instanceof Function&&Oe.attributeNameCheck(t))||"is"===t&&Oe.allowCustomizedBuiltInElements&&(Oe.tagNameCheck instanceof RegExp&&N(Oe.tagNameCheck,n)||Oe.tagNameCheck instanceof Function&&Oe.tagNameCheck(n))))return!1}else if(Ze[t]);else if(N(Ee,C(n,xe,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==O(n,"data:")||!Ke[e])if(Re&&!N(we,C(n,xe,"")));else if(n)return!1;return!0},St=function(e){return e.indexOf("-")>0},_t=function(t){var r,o,i,a;xt("beforeSanitizeAttributes",t,null);var u=t.attributes;if(u){var l={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:_e};for(a=u.length;a--;){var c=r=u[a],s=c.name,f=c.namespaceURI;if(o="value"===s?r.value:I(r.value),i=ve(s),l.attrName=i,l.attrValue=o,l.keepAttr=!0,l.forceKeepAttr=void 0,xt("uponSanitizeAttribute",t,l),o=l.attrValue,!l.forceKeepAttr&&(gt(s,t),l.keepAttr))if(N(/\/>/i,o))gt(s,t);else{Ae&&(o=C(o,ge," "),o=C(o,me," "));var d=ve(t.nodeName);if(kt(d,i,o)){if(!Ue||"id"!==i&&"name"!==i||(gt(s,t),o=We+o),oe&&"object"===e(g)&&"function"===typeof g.getAttributeType)if(f);else switch(g.getAttributeType(d,i)){case"TrustedHTML":o=oe.createHTML(o);break;case"TrustedScriptURL":o=oe.createScriptURL(o)}try{f?t.setAttributeNS(f,s,o):t.setAttribute(s,o),E(n.removed)}catch(Ot){}}}}xt("afterSanitizeAttributes",t,null)}},Ct=function e(t){var n,r=yt(t);for(xt("beforeSanitizeShadowDOM",t,null);n=r.nextNode();)xt("uponSanitizeShadowNode",n,null),Et(n)||(n.content instanceof a&&e(n.content),_t(n));xt("afterSanitizeShadowDOM",t,null)};return n.sanitize=function(o){var i,u,c,s,f,d=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if((nt=!o)&&(o="\x3c!--\x3e"),"string"!==typeof o&&!wt(o)){if("function"!==typeof o.toString)throw D("toString is not a function");if("string"!==typeof(o=o.toString()))throw D("dirty is not a string, aborting")}if(!n.isSupported){if("object"===e(t.toStaticHTML)||"function"===typeof t.toStaticHTML){if("string"===typeof o)return t.toStaticHTML(o);if(wt(o))return t.toStaticHTML(o.outerHTML)}return o}if(Le||lt(d),n.removed=[],"string"===typeof o&&(Ge=!1),Ge){if(o.nodeName){var p=ve(o.nodeName);if(!ke[p]||Ie[p])throw D("root node is forbidden and cannot be sanitized in-place")}}else if(o instanceof l)1===(u=(i=mt("\x3c!----\x3e")).ownerDocument.importNode(o,!0)).nodeType&&"BODY"===u.nodeName||"HTML"===u.nodeName?i=u:i.appendChild(u);else{if(!je&&!Ae&&!Pe&&-1===o.indexOf("<"))return oe&&Be?oe.createHTML(o):o;if(!(i=mt(o)))return je?null:Be?ie:""}i&&Me&&vt(i.firstChild);for(var h=yt(Ge?o:i);c=h.nextNode();)3===c.nodeType&&c===s||Et(c)||(c.content instanceof a&&Ct(c.content),_t(c),s=c);if(s=null,Ge)return o;if(je){if(Fe)for(f=ce.call(i.ownerDocument);i.firstChild;)f.appendChild(i.firstChild);else f=i;return _e.shadowroot&&(f=fe.call(r,f,!0)),f}var v=Pe?i.outerHTML:i.innerHTML;return Pe&&ke["!doctype"]&&i.ownerDocument&&i.ownerDocument.doctype&&i.ownerDocument.doctype.name&&N(ee,i.ownerDocument.doctype.name)&&(v="<!DOCTYPE "+i.ownerDocument.doctype.name+">\n"+v),Ae&&(v=C(v,ge," "),v=C(v,me," ")),oe&&Be?oe.createHTML(v):v},n.setConfig=function(e){lt(e),Le=!0},n.clearConfig=function(){it=null,Le=!1},n.isValidAttribute=function(e,t,n){it||lt({});var r=ve(e),o=ve(t);return kt(r,o,n)},n.addHook=function(e,t){"function"===typeof t&&(pe[e]=pe[e]||[],k(pe[e],t))},n.removeHook=function(e){if(pe[e])return E(pe[e])},n.removeHooks=function(e){pe[e]&&(pe[e]=[])},n.removeAllHooks=function(){pe={}},n}return re()}()},110:function(e,t,n){"use strict";var r=n(309),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},u={};function l(e){return r.isMemo(e)?a:u[e.$$typeof]||o}u[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},u[r.Memo]=a;var c=Object.defineProperty,s=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!==typeof n){if(h){var o=p(n);o&&o!==h&&e(t,o,r)}var a=s(n);f&&(a=a.concat(f(n)));for(var u=l(t),v=l(n),g=0;g<a.length;++g){var m=a[g];if(!i[m]&&(!r||!r[m])&&(!v||!v[m])&&(!u||!u[m])){var y=d(n,m);try{c(t,m,y)}catch(b){}}}}return t}},746:function(e,t){"use strict";var n="function"===typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,i=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,u=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,s=n?Symbol.for("react.async_mode"):60111,f=n?Symbol.for("react.concurrent_mode"):60111,d=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,v=n?Symbol.for("react.memo"):60115,g=n?Symbol.for("react.lazy"):60116,m=n?Symbol.for("react.block"):60121,y=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function x(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case s:case f:case i:case u:case a:case p:return e;default:switch(e=e&&e.$$typeof){case c:case d:case g:case v:case l:return e;default:return t}}case o:return t}}}function E(e){return x(e)===f}t.AsyncMode=s,t.ConcurrentMode=f,t.ContextConsumer=c,t.ContextProvider=l,t.Element=r,t.ForwardRef=d,t.Fragment=i,t.Lazy=g,t.Memo=v,t.Portal=o,t.Profiler=u,t.StrictMode=a,t.Suspense=p,t.isAsyncMode=function(e){return E(e)||x(e)===s},t.isConcurrentMode=E,t.isContextConsumer=function(e){return x(e)===c},t.isContextProvider=function(e){return x(e)===l},t.isElement=function(e){return"object"===typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return x(e)===d},t.isFragment=function(e){return x(e)===i},t.isLazy=function(e){return x(e)===g},t.isMemo=function(e){return x(e)===v},t.isPortal=function(e){return x(e)===o},t.isProfiler=function(e){return x(e)===u},t.isStrictMode=function(e){return x(e)===a},t.isSuspense=function(e){return x(e)===p},t.isValidElementType=function(e){return"string"===typeof e||"function"===typeof e||e===i||e===f||e===u||e===a||e===p||e===h||"object"===typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===v||e.$$typeof===l||e.$$typeof===c||e.$$typeof===d||e.$$typeof===y||e.$$typeof===b||e.$$typeof===w||e.$$typeof===m)},t.typeOf=x},309:function(e,t,n){"use strict";e.exports=n(746)},176:function(e){"use strict";e.exports=function(e,t,n,r,o,i,a,u){if(!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,o,i,a,u],s=0;(l=new Error(t.replace(/%s/g,(function(){return c[s++]})))).name="Invariant Violation"}throw l.framesToPop=1,l}}},763:function(e,t,n){var r;e=n.nmd(e),function(){var o,i="Expected a function",a="__lodash_hash_undefined__",u="__lodash_placeholder__",l=16,c=32,s=64,f=128,d=256,p=1/0,h=9007199254740991,v=NaN,g=4294967295,m=[["ary",f],["bind",1],["bindKey",2],["curry",8],["curryRight",l],["flip",512],["partial",c],["partialRight",s],["rearg",d]],y="[object Arguments]",b="[object Array]",w="[object Boolean]",x="[object Date]",E="[object Error]",k="[object Function]",S="[object GeneratorFunction]",_="[object Map]",C="[object Number]",O="[object Object]",I="[object Promise]",N="[object RegExp]",D="[object Set]",T="[object String]",R="[object Symbol]",A="[object WeakMap]",P="[object ArrayBuffer]",L="[object DataView]",M="[object Float32Array]",j="[object Float64Array]",F="[object Int8Array]",B="[object Int16Array]",z="[object Int32Array]",U="[object Uint8Array]",W="[object Uint8ClampedArray]",H="[object Uint16Array]",G="[object Uint32Array]",V=/\b__p \+= '';/g,$=/\b(__p \+=) '' \+/g,q=/(__e\(.*?\)|\b__t\)) \+\n'';/g,K=/&(?:amp|lt|gt|quot|#39);/g,Y=/[&<>"']/g,Z=RegExp(K.source),X=RegExp(Y.source),Q=/<%-([\s\S]+?)%>/g,J=/<%([\s\S]+?)%>/g,ee=/<%=([\s\S]+?)%>/g,te=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ne=/^\w*$/,re=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,oe=/[\\^$.*+?()[\]{}|]/g,ie=RegExp(oe.source),ae=/^\s+/,ue=/\s/,le=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ce=/\{\n\/\* \[wrapped with (.+)\] \*/,se=/,? & /,fe=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,de=/[()=,{}\[\]\/\s]/,pe=/\\(\\)?/g,he=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,ve=/\w*$/,ge=/^[-+]0x[0-9a-f]+$/i,me=/^0b[01]+$/i,ye=/^\[object .+?Constructor\]$/,be=/^0o[0-7]+$/i,we=/^(?:0|[1-9]\d*)$/,xe=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Ee=/($^)/,ke=/['\n\r\u2028\u2029\\]/g,Se="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",_e="\\u2700-\\u27bf",Ce="a-z\\xdf-\\xf6\\xf8-\\xff",Oe="A-Z\\xc0-\\xd6\\xd8-\\xde",Ie="\\ufe0e\\ufe0f",Ne="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",De="['\u2019]",Te="[\\ud800-\\udfff]",Re="["+Ne+"]",Ae="["+Se+"]",Pe="\\d+",Le="[\\u2700-\\u27bf]",Me="["+Ce+"]",je="[^\\ud800-\\udfff"+Ne+Pe+_e+Ce+Oe+"]",Fe="\\ud83c[\\udffb-\\udfff]",Be="[^\\ud800-\\udfff]",ze="(?:\\ud83c[\\udde6-\\uddff]){2}",Ue="[\\ud800-\\udbff][\\udc00-\\udfff]",We="["+Oe+"]",He="(?:"+Me+"|"+je+")",Ge="(?:"+We+"|"+je+")",Ve="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",$e="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",qe="(?:"+Ae+"|"+Fe+")"+"?",Ke="[\\ufe0e\\ufe0f]?",Ye=Ke+qe+("(?:\\u200d(?:"+[Be,ze,Ue].join("|")+")"+Ke+qe+")*"),Ze="(?:"+[Le,ze,Ue].join("|")+")"+Ye,Xe="(?:"+[Be+Ae+"?",Ae,ze,Ue,Te].join("|")+")",Qe=RegExp(De,"g"),Je=RegExp(Ae,"g"),et=RegExp(Fe+"(?="+Fe+")|"+Xe+Ye,"g"),tt=RegExp([We+"?"+Me+"+"+Ve+"(?="+[Re,We,"$"].join("|")+")",Ge+"+"+$e+"(?="+[Re,We+He,"$"].join("|")+")",We+"?"+He+"+"+Ve,We+"+"+$e,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Pe,Ze].join("|"),"g"),nt=RegExp("[\\u200d\\ud800-\\udfff"+Se+Ie+"]"),rt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,ot=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],it=-1,at={};at[M]=at[j]=at[F]=at[B]=at[z]=at[U]=at[W]=at[H]=at[G]=!0,at[y]=at[b]=at[P]=at[w]=at[L]=at[x]=at[E]=at[k]=at[_]=at[C]=at[O]=at[N]=at[D]=at[T]=at[A]=!1;var ut={};ut[y]=ut[b]=ut[P]=ut[L]=ut[w]=ut[x]=ut[M]=ut[j]=ut[F]=ut[B]=ut[z]=ut[_]=ut[C]=ut[O]=ut[N]=ut[D]=ut[T]=ut[R]=ut[U]=ut[W]=ut[H]=ut[G]=!0,ut[E]=ut[k]=ut[A]=!1;var lt={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},ct=parseFloat,st=parseInt,ft="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,dt="object"==typeof self&&self&&self.Object===Object&&self,pt=ft||dt||Function("return this")(),ht=t&&!t.nodeType&&t,vt=ht&&e&&!e.nodeType&&e,gt=vt&&vt.exports===ht,mt=gt&&ft.process,yt=function(){try{var e=vt&&vt.require&&vt.require("util").types;return e||mt&&mt.binding&&mt.binding("util")}catch(t){}}(),bt=yt&&yt.isArrayBuffer,wt=yt&&yt.isDate,xt=yt&&yt.isMap,Et=yt&&yt.isRegExp,kt=yt&&yt.isSet,St=yt&&yt.isTypedArray;function _t(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function Ct(e,t,n,r){for(var o=-1,i=null==e?0:e.length;++o<i;){var a=e[o];t(r,a,n(a),e)}return r}function Ot(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}function It(e,t){for(var n=null==e?0:e.length;n--&&!1!==t(e[n],n,e););return e}function Nt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}function Dt(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}function Tt(e,t){return!!(null==e?0:e.length)&&Ut(e,t,0)>-1}function Rt(e,t,n){for(var r=-1,o=null==e?0:e.length;++r<o;)if(n(t,e[r]))return!0;return!1}function At(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}function Pt(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}function Lt(e,t,n,r){var o=-1,i=null==e?0:e.length;for(r&&i&&(n=e[++o]);++o<i;)n=t(n,e[o],o,e);return n}function Mt(e,t,n,r){var o=null==e?0:e.length;for(r&&o&&(n=e[--o]);o--;)n=t(n,e[o],o,e);return n}function jt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}var Ft=Vt("length");function Bt(e,t,n){var r;return n(e,(function(e,n,o){if(t(e,n,o))return r=n,!1})),r}function zt(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i<o;)if(t(e[i],i,e))return i;return-1}function Ut(e,t,n){return t===t?function(e,t,n){var r=n-1,o=e.length;for(;++r<o;)if(e[r]===t)return r;return-1}(e,t,n):zt(e,Ht,n)}function Wt(e,t,n,r){for(var o=n-1,i=e.length;++o<i;)if(r(e[o],t))return o;return-1}function Ht(e){return e!==e}function Gt(e,t){var n=null==e?0:e.length;return n?Kt(e,t)/n:v}function Vt(e){return function(t){return null==t?o:t[e]}}function $t(e){return function(t){return null==e?o:e[t]}}function qt(e,t,n,r,o){return o(e,(function(e,o,i){n=r?(r=!1,e):t(n,e,o,i)})),n}function Kt(e,t){for(var n,r=-1,i=e.length;++r<i;){var a=t(e[r]);a!==o&&(n=n===o?a:n+a)}return n}function Yt(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function Zt(e){return e?e.slice(0,vn(e)+1).replace(ae,""):e}function Xt(e){return function(t){return e(t)}}function Qt(e,t){return At(t,(function(t){return e[t]}))}function Jt(e,t){return e.has(t)}function en(e,t){for(var n=-1,r=e.length;++n<r&&Ut(t,e[n],0)>-1;);return n}function tn(e,t){for(var n=e.length;n--&&Ut(t,e[n],0)>-1;);return n}function nn(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}var rn=$t({"\xc0":"A","\xc1":"A","\xc2":"A","\xc3":"A","\xc4":"A","\xc5":"A","\xe0":"a","\xe1":"a","\xe2":"a","\xe3":"a","\xe4":"a","\xe5":"a","\xc7":"C","\xe7":"c","\xd0":"D","\xf0":"d","\xc8":"E","\xc9":"E","\xca":"E","\xcb":"E","\xe8":"e","\xe9":"e","\xea":"e","\xeb":"e","\xcc":"I","\xcd":"I","\xce":"I","\xcf":"I","\xec":"i","\xed":"i","\xee":"i","\xef":"i","\xd1":"N","\xf1":"n","\xd2":"O","\xd3":"O","\xd4":"O","\xd5":"O","\xd6":"O","\xd8":"O","\xf2":"o","\xf3":"o","\xf4":"o","\xf5":"o","\xf6":"o","\xf8":"o","\xd9":"U","\xda":"U","\xdb":"U","\xdc":"U","\xf9":"u","\xfa":"u","\xfb":"u","\xfc":"u","\xdd":"Y","\xfd":"y","\xff":"y","\xc6":"Ae","\xe6":"ae","\xde":"Th","\xfe":"th","\xdf":"ss","\u0100":"A","\u0102":"A","\u0104":"A","\u0101":"a","\u0103":"a","\u0105":"a","\u0106":"C","\u0108":"C","\u010a":"C","\u010c":"C","\u0107":"c","\u0109":"c","\u010b":"c","\u010d":"c","\u010e":"D","\u0110":"D","\u010f":"d","\u0111":"d","\u0112":"E","\u0114":"E","\u0116":"E","\u0118":"E","\u011a":"E","\u0113":"e","\u0115":"e","\u0117":"e","\u0119":"e","\u011b":"e","\u011c":"G","\u011e":"G","\u0120":"G","\u0122":"G","\u011d":"g","\u011f":"g","\u0121":"g","\u0123":"g","\u0124":"H","\u0126":"H","\u0125":"h","\u0127":"h","\u0128":"I","\u012a":"I","\u012c":"I","\u012e":"I","\u0130":"I","\u0129":"i","\u012b":"i","\u012d":"i","\u012f":"i","\u0131":"i","\u0134":"J","\u0135":"j","\u0136":"K","\u0137":"k","\u0138":"k","\u0139":"L","\u013b":"L","\u013d":"L","\u013f":"L","\u0141":"L","\u013a":"l","\u013c":"l","\u013e":"l","\u0140":"l","\u0142":"l","\u0143":"N","\u0145":"N","\u0147":"N","\u014a":"N","\u0144":"n","\u0146":"n","\u0148":"n","\u014b":"n","\u014c":"O","\u014e":"O","\u0150":"O","\u014d":"o","\u014f":"o","\u0151":"o","\u0154":"R","\u0156":"R","\u0158":"R","\u0155":"r","\u0157":"r","\u0159":"r","\u015a":"S","\u015c":"S","\u015e":"S","\u0160":"S","\u015b":"s","\u015d":"s","\u015f":"s","\u0161":"s","\u0162":"T","\u0164":"T","\u0166":"T","\u0163":"t","\u0165":"t","\u0167":"t","\u0168":"U","\u016a":"U","\u016c":"U","\u016e":"U","\u0170":"U","\u0172":"U","\u0169":"u","\u016b":"u","\u016d":"u","\u016f":"u","\u0171":"u","\u0173":"u","\u0174":"W","\u0175":"w","\u0176":"Y","\u0177":"y","\u0178":"Y","\u0179":"Z","\u017b":"Z","\u017d":"Z","\u017a":"z","\u017c":"z","\u017e":"z","\u0132":"IJ","\u0133":"ij","\u0152":"Oe","\u0153":"oe","\u0149":"'n","\u017f":"s"}),on=$t({"&":"&","<":"<",">":">",'"':""","'":"'"});function an(e){return"\\"+lt[e]}function un(e){return nt.test(e)}function ln(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function cn(e,t){return function(n){return e(t(n))}}function sn(e,t){for(var n=-1,r=e.length,o=0,i=[];++n<r;){var a=e[n];a!==t&&a!==u||(e[n]=u,i[o++]=n)}return i}function fn(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}function dn(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=[e,e]})),n}function pn(e){return un(e)?function(e){var t=et.lastIndex=0;for(;et.test(e);)++t;return t}(e):Ft(e)}function hn(e){return un(e)?function(e){return e.match(et)||[]}(e):function(e){return e.split("")}(e)}function vn(e){for(var t=e.length;t--&&ue.test(e.charAt(t)););return t}var gn=$t({"&":"&","<":"<",">":">",""":'"',"'":"'"});var mn=function e(t){var n=(t=null==t?pt:mn.defaults(pt.Object(),t,mn.pick(pt,ot))).Array,r=t.Date,ue=t.Error,Se=t.Function,_e=t.Math,Ce=t.Object,Oe=t.RegExp,Ie=t.String,Ne=t.TypeError,De=n.prototype,Te=Se.prototype,Re=Ce.prototype,Ae=t["__core-js_shared__"],Pe=Te.toString,Le=Re.hasOwnProperty,Me=0,je=function(){var e=/[^.]+$/.exec(Ae&&Ae.keys&&Ae.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),Fe=Re.toString,Be=Pe.call(Ce),ze=pt._,Ue=Oe("^"+Pe.call(Le).replace(oe,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),We=gt?t.Buffer:o,He=t.Symbol,Ge=t.Uint8Array,Ve=We?We.allocUnsafe:o,$e=cn(Ce.getPrototypeOf,Ce),qe=Ce.create,Ke=Re.propertyIsEnumerable,Ye=De.splice,Ze=He?He.isConcatSpreadable:o,Xe=He?He.iterator:o,et=He?He.toStringTag:o,nt=function(){try{var e=pi(Ce,"defineProperty");return e({},"",{}),e}catch(t){}}(),lt=t.clearTimeout!==pt.clearTimeout&&t.clearTimeout,ft=r&&r.now!==pt.Date.now&&r.now,dt=t.setTimeout!==pt.setTimeout&&t.setTimeout,ht=_e.ceil,vt=_e.floor,mt=Ce.getOwnPropertySymbols,yt=We?We.isBuffer:o,Ft=t.isFinite,$t=De.join,yn=cn(Ce.keys,Ce),bn=_e.max,wn=_e.min,xn=r.now,En=t.parseInt,kn=_e.random,Sn=De.reverse,_n=pi(t,"DataView"),Cn=pi(t,"Map"),On=pi(t,"Promise"),In=pi(t,"Set"),Nn=pi(t,"WeakMap"),Dn=pi(Ce,"create"),Tn=Nn&&new Nn,Rn={},An=zi(_n),Pn=zi(Cn),Ln=zi(On),Mn=zi(In),jn=zi(Nn),Fn=He?He.prototype:o,Bn=Fn?Fn.valueOf:o,zn=Fn?Fn.toString:o;function Un(e){if(ru(e)&&!$a(e)&&!(e instanceof Vn)){if(e instanceof Gn)return e;if(Le.call(e,"__wrapped__"))return Ui(e)}return new Gn(e)}var Wn=function(){function e(){}return function(t){if(!nu(t))return{};if(qe)return qe(t);e.prototype=t;var n=new e;return e.prototype=o,n}}();function Hn(){}function Gn(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=o}function Vn(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=g,this.__views__=[]}function $n(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function qn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Kn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Yn(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new Kn;++t<n;)this.add(e[t])}function Zn(e){var t=this.__data__=new qn(e);this.size=t.size}function Xn(e,t){var n=$a(e),r=!n&&Va(e),o=!n&&!r&&Za(e),i=!n&&!r&&!o&&fu(e),a=n||r||o||i,u=a?Yt(e.length,Ie):[],l=u.length;for(var c in e)!t&&!Le.call(e,c)||a&&("length"==c||o&&("offset"==c||"parent"==c)||i&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||wi(c,l))||u.push(c);return u}function Qn(e){var t=e.length;return t?e[Yr(0,t-1)]:o}function Jn(e,t){return ji(To(e),lr(t,0,e.length))}function er(e){return ji(To(e))}function tr(e,t,n){(n!==o&&!Wa(e[t],n)||n===o&&!(t in e))&&ar(e,t,n)}function nr(e,t,n){var r=e[t];Le.call(e,t)&&Wa(r,n)&&(n!==o||t in e)||ar(e,t,n)}function rr(e,t){for(var n=e.length;n--;)if(Wa(e[n][0],t))return n;return-1}function or(e,t,n,r){return pr(e,(function(e,o,i){t(r,e,n(e),i)})),r}function ir(e,t){return e&&Ro(t,Au(t),e)}function ar(e,t,n){"__proto__"==t&&nt?nt(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function ur(e,t){for(var r=-1,i=t.length,a=n(i),u=null==e;++r<i;)a[r]=u?o:Iu(e,t[r]);return a}function lr(e,t,n){return e===e&&(n!==o&&(e=e<=n?e:n),t!==o&&(e=e>=t?e:t)),e}function cr(e,t,n,r,i,a){var u,l=1&t,c=2&t,s=4&t;if(n&&(u=i?n(e,r,i,a):n(e)),u!==o)return u;if(!nu(e))return e;var f=$a(e);if(f){if(u=function(e){var t=e.length,n=new e.constructor(t);t&&"string"==typeof e[0]&&Le.call(e,"index")&&(n.index=e.index,n.input=e.input);return n}(e),!l)return To(e,u)}else{var d=gi(e),p=d==k||d==S;if(Za(e))return _o(e,l);if(d==O||d==y||p&&!i){if(u=c||p?{}:yi(e),!l)return c?function(e,t){return Ro(e,vi(e),t)}(e,function(e,t){return e&&Ro(t,Pu(t),e)}(u,e)):function(e,t){return Ro(e,hi(e),t)}(e,ir(u,e))}else{if(!ut[d])return i?e:{};u=function(e,t,n){var r=e.constructor;switch(t){case P:return Co(e);case w:case x:return new r(+e);case L:return function(e,t){var n=t?Co(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case M:case j:case F:case B:case z:case U:case W:case H:case G:return Oo(e,n);case _:return new r;case C:case T:return new r(e);case N:return function(e){var t=new e.constructor(e.source,ve.exec(e));return t.lastIndex=e.lastIndex,t}(e);case D:return new r;case R:return o=e,Bn?Ce(Bn.call(o)):{}}var o}(e,d,l)}}a||(a=new Zn);var h=a.get(e);if(h)return h;a.set(e,u),lu(e)?e.forEach((function(r){u.add(cr(r,t,n,r,e,a))})):ou(e)&&e.forEach((function(r,o){u.set(o,cr(r,t,n,o,e,a))}));var v=f?o:(s?c?ai:ii:c?Pu:Au)(e);return Ot(v||e,(function(r,o){v&&(r=e[o=r]),nr(u,o,cr(r,t,n,o,e,a))})),u}function sr(e,t,n){var r=n.length;if(null==e)return!r;for(e=Ce(e);r--;){var i=n[r],a=t[i],u=e[i];if(u===o&&!(i in e)||!a(u))return!1}return!0}function fr(e,t,n){if("function"!=typeof e)throw new Ne(i);return Ai((function(){e.apply(o,n)}),t)}function dr(e,t,n,r){var o=-1,i=Tt,a=!0,u=e.length,l=[],c=t.length;if(!u)return l;n&&(t=At(t,Xt(n))),r?(i=Rt,a=!1):t.length>=200&&(i=Jt,a=!1,t=new Yn(t));e:for(;++o<u;){var s=e[o],f=null==n?s:n(s);if(s=r||0!==s?s:0,a&&f===f){for(var d=c;d--;)if(t[d]===f)continue e;l.push(s)}else i(t,f,r)||l.push(s)}return l}Un.templateSettings={escape:Q,evaluate:J,interpolate:ee,variable:"",imports:{_:Un}},Un.prototype=Hn.prototype,Un.prototype.constructor=Un,Gn.prototype=Wn(Hn.prototype),Gn.prototype.constructor=Gn,Vn.prototype=Wn(Hn.prototype),Vn.prototype.constructor=Vn,$n.prototype.clear=function(){this.__data__=Dn?Dn(null):{},this.size=0},$n.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},$n.prototype.get=function(e){var t=this.__data__;if(Dn){var n=t[e];return n===a?o:n}return Le.call(t,e)?t[e]:o},$n.prototype.has=function(e){var t=this.__data__;return Dn?t[e]!==o:Le.call(t,e)},$n.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=Dn&&t===o?a:t,this},qn.prototype.clear=function(){this.__data__=[],this.size=0},qn.prototype.delete=function(e){var t=this.__data__,n=rr(t,e);return!(n<0)&&(n==t.length-1?t.pop():Ye.call(t,n,1),--this.size,!0)},qn.prototype.get=function(e){var t=this.__data__,n=rr(t,e);return n<0?o:t[n][1]},qn.prototype.has=function(e){return rr(this.__data__,e)>-1},qn.prototype.set=function(e,t){var n=this.__data__,r=rr(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},Kn.prototype.clear=function(){this.size=0,this.__data__={hash:new $n,map:new(Cn||qn),string:new $n}},Kn.prototype.delete=function(e){var t=fi(this,e).delete(e);return this.size-=t?1:0,t},Kn.prototype.get=function(e){return fi(this,e).get(e)},Kn.prototype.has=function(e){return fi(this,e).has(e)},Kn.prototype.set=function(e,t){var n=fi(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},Yn.prototype.add=Yn.prototype.push=function(e){return this.__data__.set(e,a),this},Yn.prototype.has=function(e){return this.__data__.has(e)},Zn.prototype.clear=function(){this.__data__=new qn,this.size=0},Zn.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Zn.prototype.get=function(e){return this.__data__.get(e)},Zn.prototype.has=function(e){return this.__data__.has(e)},Zn.prototype.set=function(e,t){var n=this.__data__;if(n instanceof qn){var r=n.__data__;if(!Cn||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Kn(r)}return n.set(e,t),this.size=n.size,this};var pr=Lo(xr),hr=Lo(Er,!0);function vr(e,t){var n=!0;return pr(e,(function(e,r,o){return n=!!t(e,r,o)})),n}function gr(e,t,n){for(var r=-1,i=e.length;++r<i;){var a=e[r],u=t(a);if(null!=u&&(l===o?u===u&&!su(u):n(u,l)))var l=u,c=a}return c}function mr(e,t){var n=[];return pr(e,(function(e,r,o){t(e,r,o)&&n.push(e)})),n}function yr(e,t,n,r,o){var i=-1,a=e.length;for(n||(n=bi),o||(o=[]);++i<a;){var u=e[i];t>0&&n(u)?t>1?yr(u,t-1,n,r,o):Pt(o,u):r||(o[o.length]=u)}return o}var br=Mo(),wr=Mo(!0);function xr(e,t){return e&&br(e,t,Au)}function Er(e,t){return e&&wr(e,t,Au)}function kr(e,t){return Dt(t,(function(t){return Ja(e[t])}))}function Sr(e,t){for(var n=0,r=(t=xo(t,e)).length;null!=e&&n<r;)e=e[Bi(t[n++])];return n&&n==r?e:o}function _r(e,t,n){var r=t(e);return $a(e)?r:Pt(r,n(e))}function Cr(e){return null==e?e===o?"[object Undefined]":"[object Null]":et&&et in Ce(e)?function(e){var t=Le.call(e,et),n=e[et];try{e[et]=o;var r=!0}catch(a){}var i=Fe.call(e);r&&(t?e[et]=n:delete e[et]);return i}(e):function(e){return Fe.call(e)}(e)}function Or(e,t){return e>t}function Ir(e,t){return null!=e&&Le.call(e,t)}function Nr(e,t){return null!=e&&t in Ce(e)}function Dr(e,t,r){for(var i=r?Rt:Tt,a=e[0].length,u=e.length,l=u,c=n(u),s=1/0,f=[];l--;){var d=e[l];l&&t&&(d=At(d,Xt(t))),s=wn(d.length,s),c[l]=!r&&(t||a>=120&&d.length>=120)?new Yn(l&&d):o}d=e[0];var p=-1,h=c[0];e:for(;++p<a&&f.length<s;){var v=d[p],g=t?t(v):v;if(v=r||0!==v?v:0,!(h?Jt(h,g):i(f,g,r))){for(l=u;--l;){var m=c[l];if(!(m?Jt(m,g):i(e[l],g,r)))continue e}h&&h.push(g),f.push(v)}}return f}function Tr(e,t,n){var r=null==(e=Ni(e,t=xo(t,e)))?e:e[Bi(Qi(t))];return null==r?o:_t(r,e,n)}function Rr(e){return ru(e)&&Cr(e)==y}function Ar(e,t,n,r,i){return e===t||(null==e||null==t||!ru(e)&&!ru(t)?e!==e&&t!==t:function(e,t,n,r,i,a){var u=$a(e),l=$a(t),c=u?b:gi(e),s=l?b:gi(t),f=(c=c==y?O:c)==O,d=(s=s==y?O:s)==O,p=c==s;if(p&&Za(e)){if(!Za(t))return!1;u=!0,f=!1}if(p&&!f)return a||(a=new Zn),u||fu(e)?ri(e,t,n,r,i,a):function(e,t,n,r,o,i,a){switch(n){case L:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case P:return!(e.byteLength!=t.byteLength||!i(new Ge(e),new Ge(t)));case w:case x:case C:return Wa(+e,+t);case E:return e.name==t.name&&e.message==t.message;case N:case T:return e==t+"";case _:var u=ln;case D:var l=1&r;if(u||(u=fn),e.size!=t.size&&!l)return!1;var c=a.get(e);if(c)return c==t;r|=2,a.set(e,t);var s=ri(u(e),u(t),r,o,i,a);return a.delete(e),s;case R:if(Bn)return Bn.call(e)==Bn.call(t)}return!1}(e,t,c,n,r,i,a);if(!(1&n)){var h=f&&Le.call(e,"__wrapped__"),v=d&&Le.call(t,"__wrapped__");if(h||v){var g=h?e.value():e,m=v?t.value():t;return a||(a=new Zn),i(g,m,n,r,a)}}if(!p)return!1;return a||(a=new Zn),function(e,t,n,r,i,a){var u=1&n,l=ii(e),c=l.length,s=ii(t).length;if(c!=s&&!u)return!1;var f=c;for(;f--;){var d=l[f];if(!(u?d in t:Le.call(t,d)))return!1}var p=a.get(e),h=a.get(t);if(p&&h)return p==t&&h==e;var v=!0;a.set(e,t),a.set(t,e);var g=u;for(;++f<c;){var m=e[d=l[f]],y=t[d];if(r)var b=u?r(y,m,d,t,e,a):r(m,y,d,e,t,a);if(!(b===o?m===y||i(m,y,n,r,a):b)){v=!1;break}g||(g="constructor"==d)}if(v&&!g){var w=e.constructor,x=t.constructor;w==x||!("constructor"in e)||!("constructor"in t)||"function"==typeof w&&w instanceof w&&"function"==typeof x&&x instanceof x||(v=!1)}return a.delete(e),a.delete(t),v}(e,t,n,r,i,a)}(e,t,n,r,Ar,i))}function Pr(e,t,n,r){var i=n.length,a=i,u=!r;if(null==e)return!a;for(e=Ce(e);i--;){var l=n[i];if(u&&l[2]?l[1]!==e[l[0]]:!(l[0]in e))return!1}for(;++i<a;){var c=(l=n[i])[0],s=e[c],f=l[1];if(u&&l[2]){if(s===o&&!(c in e))return!1}else{var d=new Zn;if(r)var p=r(s,f,c,e,t,d);if(!(p===o?Ar(f,s,3,r,d):p))return!1}}return!0}function Lr(e){return!(!nu(e)||(t=e,je&&je in t))&&(Ja(e)?Ue:ye).test(zi(e));var t}function Mr(e){return"function"==typeof e?e:null==e?il:"object"==typeof e?$a(e)?Wr(e[0],e[1]):Ur(e):hl(e)}function jr(e){if(!_i(e))return yn(e);var t=[];for(var n in Ce(e))Le.call(e,n)&&"constructor"!=n&&t.push(n);return t}function Fr(e){if(!nu(e))return function(e){var t=[];if(null!=e)for(var n in Ce(e))t.push(n);return t}(e);var t=_i(e),n=[];for(var r in e)("constructor"!=r||!t&&Le.call(e,r))&&n.push(r);return n}function Br(e,t){return e<t}function zr(e,t){var r=-1,o=Ka(e)?n(e.length):[];return pr(e,(function(e,n,i){o[++r]=t(e,n,i)})),o}function Ur(e){var t=di(e);return 1==t.length&&t[0][2]?Oi(t[0][0],t[0][1]):function(n){return n===e||Pr(n,e,t)}}function Wr(e,t){return Ei(e)&&Ci(t)?Oi(Bi(e),t):function(n){var r=Iu(n,e);return r===o&&r===t?Nu(n,e):Ar(t,r,3)}}function Hr(e,t,n,r,i){e!==t&&br(t,(function(a,u){if(i||(i=new Zn),nu(a))!function(e,t,n,r,i,a,u){var l=Ti(e,n),c=Ti(t,n),s=u.get(c);if(s)return void tr(e,n,s);var f=a?a(l,c,n+"",e,t,u):o,d=f===o;if(d){var p=$a(c),h=!p&&Za(c),v=!p&&!h&&fu(c);f=c,p||h||v?$a(l)?f=l:Ya(l)?f=To(l):h?(d=!1,f=_o(c,!0)):v?(d=!1,f=Oo(c,!0)):f=[]:au(c)||Va(c)?(f=l,Va(l)?f=bu(l):nu(l)&&!Ja(l)||(f=yi(c))):d=!1}d&&(u.set(c,f),i(f,c,r,a,u),u.delete(c));tr(e,n,f)}(e,t,u,n,Hr,r,i);else{var l=r?r(Ti(e,u),a,u+"",e,t,i):o;l===o&&(l=a),tr(e,u,l)}}),Pu)}function Gr(e,t){var n=e.length;if(n)return wi(t+=t<0?n:0,n)?e[t]:o}function Vr(e,t,n){t=t.length?At(t,(function(e){return $a(e)?function(t){return Sr(t,1===e.length?e[0]:e)}:e})):[il];var r=-1;t=At(t,Xt(si()));var o=zr(e,(function(e,n,o){var i=At(t,(function(t){return t(e)}));return{criteria:i,index:++r,value:e}}));return function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}(o,(function(e,t){return function(e,t,n){var r=-1,o=e.criteria,i=t.criteria,a=o.length,u=n.length;for(;++r<a;){var l=Io(o[r],i[r]);if(l)return r>=u?l:l*("desc"==n[r]?-1:1)}return e.index-t.index}(e,t,n)}))}function $r(e,t,n){for(var r=-1,o=t.length,i={};++r<o;){var a=t[r],u=Sr(e,a);n(u,a)&&eo(i,xo(a,e),u)}return i}function qr(e,t,n,r){var o=r?Wt:Ut,i=-1,a=t.length,u=e;for(e===t&&(t=To(t)),n&&(u=At(e,Xt(n)));++i<a;)for(var l=0,c=t[i],s=n?n(c):c;(l=o(u,s,l,r))>-1;)u!==e&&Ye.call(u,l,1),Ye.call(e,l,1);return e}function Kr(e,t){for(var n=e?t.length:0,r=n-1;n--;){var o=t[n];if(n==r||o!==i){var i=o;wi(o)?Ye.call(e,o,1):po(e,o)}}return e}function Yr(e,t){return e+vt(kn()*(t-e+1))}function Zr(e,t){var n="";if(!e||t<1||t>h)return n;do{t%2&&(n+=e),(t=vt(t/2))&&(e+=e)}while(t);return n}function Xr(e,t){return Pi(Ii(e,t,il),e+"")}function Qr(e){return Qn(Wu(e))}function Jr(e,t){var n=Wu(e);return ji(n,lr(t,0,n.length))}function eo(e,t,n,r){if(!nu(e))return e;for(var i=-1,a=(t=xo(t,e)).length,u=a-1,l=e;null!=l&&++i<a;){var c=Bi(t[i]),s=n;if("__proto__"===c||"constructor"===c||"prototype"===c)return e;if(i!=u){var f=l[c];(s=r?r(f,c,l):o)===o&&(s=nu(f)?f:wi(t[i+1])?[]:{})}nr(l,c,s),l=l[c]}return e}var to=Tn?function(e,t){return Tn.set(e,t),e}:il,no=nt?function(e,t){return nt(e,"toString",{configurable:!0,enumerable:!1,value:nl(t),writable:!0})}:il;function ro(e){return ji(Wu(e))}function oo(e,t,r){var o=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(r=r>i?i:r)<0&&(r+=i),i=t>r?0:r-t>>>0,t>>>=0;for(var a=n(i);++o<i;)a[o]=e[o+t];return a}function io(e,t){var n;return pr(e,(function(e,r,o){return!(n=t(e,r,o))})),!!n}function ao(e,t,n){var r=0,o=null==e?r:e.length;if("number"==typeof t&&t===t&&o<=2147483647){for(;r<o;){var i=r+o>>>1,a=e[i];null!==a&&!su(a)&&(n?a<=t:a<t)?r=i+1:o=i}return o}return uo(e,t,il,n)}function uo(e,t,n,r){var i=0,a=null==e?0:e.length;if(0===a)return 0;for(var u=(t=n(t))!==t,l=null===t,c=su(t),s=t===o;i<a;){var f=vt((i+a)/2),d=n(e[f]),p=d!==o,h=null===d,v=d===d,g=su(d);if(u)var m=r||v;else m=s?v&&(r||p):l?v&&p&&(r||!h):c?v&&p&&!h&&(r||!g):!h&&!g&&(r?d<=t:d<t);m?i=f+1:a=f}return wn(a,4294967294)}function lo(e,t){for(var n=-1,r=e.length,o=0,i=[];++n<r;){var a=e[n],u=t?t(a):a;if(!n||!Wa(u,l)){var l=u;i[o++]=0===a?0:a}}return i}function co(e){return"number"==typeof e?e:su(e)?v:+e}function so(e){if("string"==typeof e)return e;if($a(e))return At(e,so)+"";if(su(e))return zn?zn.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function fo(e,t,n){var r=-1,o=Tt,i=e.length,a=!0,u=[],l=u;if(n)a=!1,o=Rt;else if(i>=200){var c=t?null:Xo(e);if(c)return fn(c);a=!1,o=Jt,l=new Yn}else l=t?[]:u;e:for(;++r<i;){var s=e[r],f=t?t(s):s;if(s=n||0!==s?s:0,a&&f===f){for(var d=l.length;d--;)if(l[d]===f)continue e;t&&l.push(f),u.push(s)}else o(l,f,n)||(l!==u&&l.push(f),u.push(s))}return u}function po(e,t){return null==(e=Ni(e,t=xo(t,e)))||delete e[Bi(Qi(t))]}function ho(e,t,n,r){return eo(e,t,n(Sr(e,t)),r)}function vo(e,t,n,r){for(var o=e.length,i=r?o:-1;(r?i--:++i<o)&&t(e[i],i,e););return n?oo(e,r?0:i,r?i+1:o):oo(e,r?i+1:0,r?o:i)}function go(e,t){var n=e;return n instanceof Vn&&(n=n.value()),Lt(t,(function(e,t){return t.func.apply(t.thisArg,Pt([e],t.args))}),n)}function mo(e,t,r){var o=e.length;if(o<2)return o?fo(e[0]):[];for(var i=-1,a=n(o);++i<o;)for(var u=e[i],l=-1;++l<o;)l!=i&&(a[i]=dr(a[i]||u,e[l],t,r));return fo(yr(a,1),t,r)}function yo(e,t,n){for(var r=-1,i=e.length,a=t.length,u={};++r<i;){var l=r<a?t[r]:o;n(u,e[r],l)}return u}function bo(e){return Ya(e)?e:[]}function wo(e){return"function"==typeof e?e:il}function xo(e,t){return $a(e)?e:Ei(e,t)?[e]:Fi(wu(e))}var Eo=Xr;function ko(e,t,n){var r=e.length;return n=n===o?r:n,!t&&n>=r?e:oo(e,t,n)}var So=lt||function(e){return pt.clearTimeout(e)};function _o(e,t){if(t)return e.slice();var n=e.length,r=Ve?Ve(n):new e.constructor(n);return e.copy(r),r}function Co(e){var t=new e.constructor(e.byteLength);return new Ge(t).set(new Ge(e)),t}function Oo(e,t){var n=t?Co(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function Io(e,t){if(e!==t){var n=e!==o,r=null===e,i=e===e,a=su(e),u=t!==o,l=null===t,c=t===t,s=su(t);if(!l&&!s&&!a&&e>t||a&&u&&c&&!l&&!s||r&&u&&c||!n&&c||!i)return 1;if(!r&&!a&&!s&&e<t||s&&n&&i&&!r&&!a||l&&n&&i||!u&&i||!c)return-1}return 0}function No(e,t,r,o){for(var i=-1,a=e.length,u=r.length,l=-1,c=t.length,s=bn(a-u,0),f=n(c+s),d=!o;++l<c;)f[l]=t[l];for(;++i<u;)(d||i<a)&&(f[r[i]]=e[i]);for(;s--;)f[l++]=e[i++];return f}function Do(e,t,r,o){for(var i=-1,a=e.length,u=-1,l=r.length,c=-1,s=t.length,f=bn(a-l,0),d=n(f+s),p=!o;++i<f;)d[i]=e[i];for(var h=i;++c<s;)d[h+c]=t[c];for(;++u<l;)(p||i<a)&&(d[h+r[u]]=e[i++]);return d}function To(e,t){var r=-1,o=e.length;for(t||(t=n(o));++r<o;)t[r]=e[r];return t}function Ro(e,t,n,r){var i=!n;n||(n={});for(var a=-1,u=t.length;++a<u;){var l=t[a],c=r?r(n[l],e[l],l,n,e):o;c===o&&(c=e[l]),i?ar(n,l,c):nr(n,l,c)}return n}function Ao(e,t){return function(n,r){var o=$a(n)?Ct:or,i=t?t():{};return o(n,e,si(r,2),i)}}function Po(e){return Xr((function(t,n){var r=-1,i=n.length,a=i>1?n[i-1]:o,u=i>2?n[2]:o;for(a=e.length>3&&"function"==typeof a?(i--,a):o,u&&xi(n[0],n[1],u)&&(a=i<3?o:a,i=1),t=Ce(t);++r<i;){var l=n[r];l&&e(t,l,r,a)}return t}))}function Lo(e,t){return function(n,r){if(null==n)return n;if(!Ka(n))return e(n,r);for(var o=n.length,i=t?o:-1,a=Ce(n);(t?i--:++i<o)&&!1!==r(a[i],i,a););return n}}function Mo(e){return function(t,n,r){for(var o=-1,i=Ce(t),a=r(t),u=a.length;u--;){var l=a[e?u:++o];if(!1===n(i[l],l,i))break}return t}}function jo(e){return function(t){var n=un(t=wu(t))?hn(t):o,r=n?n[0]:t.charAt(0),i=n?ko(n,1).join(""):t.slice(1);return r[e]()+i}}function Fo(e){return function(t){return Lt(Ju(Vu(t).replace(Qe,"")),e,"")}}function Bo(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=Wn(e.prototype),r=e.apply(n,t);return nu(r)?r:n}}function zo(e){return function(t,n,r){var i=Ce(t);if(!Ka(t)){var a=si(n,3);t=Au(t),n=function(e){return a(i[e],e,i)}}var u=e(t,n,r);return u>-1?i[a?t[u]:u]:o}}function Uo(e){return oi((function(t){var n=t.length,r=n,a=Gn.prototype.thru;for(e&&t.reverse();r--;){var u=t[r];if("function"!=typeof u)throw new Ne(i);if(a&&!l&&"wrapper"==li(u))var l=new Gn([],!0)}for(r=l?r:n;++r<n;){var c=li(u=t[r]),s="wrapper"==c?ui(u):o;l=s&&ki(s[0])&&424==s[1]&&!s[4].length&&1==s[9]?l[li(s[0])].apply(l,s[3]):1==u.length&&ki(u)?l[c]():l.thru(u)}return function(){var e=arguments,r=e[0];if(l&&1==e.length&&$a(r))return l.plant(r).value();for(var o=0,i=n?t[o].apply(this,e):r;++o<n;)i=t[o].call(this,i);return i}}))}function Wo(e,t,r,i,a,u,l,c,s,d){var p=t&f,h=1&t,v=2&t,g=24&t,m=512&t,y=v?o:Bo(e);return function o(){for(var f=arguments.length,b=n(f),w=f;w--;)b[w]=arguments[w];if(g)var x=ci(o),E=nn(b,x);if(i&&(b=No(b,i,a,g)),u&&(b=Do(b,u,l,g)),f-=E,g&&f<d){var k=sn(b,x);return Yo(e,t,Wo,o.placeholder,r,b,k,c,s,d-f)}var S=h?r:this,_=v?S[e]:e;return f=b.length,c?b=Di(b,c):m&&f>1&&b.reverse(),p&&s<f&&(b.length=s),this&&this!==pt&&this instanceof o&&(_=y||Bo(_)),_.apply(S,b)}}function Ho(e,t){return function(n,r){return function(e,t,n,r){return xr(e,(function(e,o,i){t(r,n(e),o,i)})),r}(n,e,t(r),{})}}function Go(e,t){return function(n,r){var i;if(n===o&&r===o)return t;if(n!==o&&(i=n),r!==o){if(i===o)return r;"string"==typeof n||"string"==typeof r?(n=so(n),r=so(r)):(n=co(n),r=co(r)),i=e(n,r)}return i}}function Vo(e){return oi((function(t){return t=At(t,Xt(si())),Xr((function(n){var r=this;return e(t,(function(e){return _t(e,r,n)}))}))}))}function $o(e,t){var n=(t=t===o?" ":so(t)).length;if(n<2)return n?Zr(t,e):t;var r=Zr(t,ht(e/pn(t)));return un(t)?ko(hn(r),0,e).join(""):r.slice(0,e)}function qo(e){return function(t,r,i){return i&&"number"!=typeof i&&xi(t,r,i)&&(r=i=o),t=vu(t),r===o?(r=t,t=0):r=vu(r),function(e,t,r,o){for(var i=-1,a=bn(ht((t-e)/(r||1)),0),u=n(a);a--;)u[o?a:++i]=e,e+=r;return u}(t,r,i=i===o?t<r?1:-1:vu(i),e)}}function Ko(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=yu(t),n=yu(n)),e(t,n)}}function Yo(e,t,n,r,i,a,u,l,f,d){var p=8&t;t|=p?c:s,4&(t&=~(p?s:c))||(t&=-4);var h=[e,t,i,p?a:o,p?u:o,p?o:a,p?o:u,l,f,d],v=n.apply(o,h);return ki(e)&&Ri(v,h),v.placeholder=r,Li(v,e,t)}function Zo(e){var t=_e[e];return function(e,n){if(e=yu(e),(n=null==n?0:wn(gu(n),292))&&Ft(e)){var r=(wu(e)+"e").split("e");return+((r=(wu(t(r[0]+"e"+(+r[1]+n)))+"e").split("e"))[0]+"e"+(+r[1]-n))}return t(e)}}var Xo=In&&1/fn(new In([,-0]))[1]==p?function(e){return new In(e)}:sl;function Qo(e){return function(t){var n=gi(t);return n==_?ln(t):n==D?dn(t):function(e,t){return At(t,(function(t){return[t,e[t]]}))}(t,e(t))}}function Jo(e,t,r,a,p,h,v,g){var m=2&t;if(!m&&"function"!=typeof e)throw new Ne(i);var y=a?a.length:0;if(y||(t&=-97,a=p=o),v=v===o?v:bn(gu(v),0),g=g===o?g:gu(g),y-=p?p.length:0,t&s){var b=a,w=p;a=p=o}var x=m?o:ui(e),E=[e,t,r,a,p,b,w,h,v,g];if(x&&function(e,t){var n=e[1],r=t[1],o=n|r,i=o<131,a=r==f&&8==n||r==f&&n==d&&e[7].length<=t[8]||384==r&&t[7].length<=t[8]&&8==n;if(!i&&!a)return e;1&r&&(e[2]=t[2],o|=1&n?0:4);var l=t[3];if(l){var c=e[3];e[3]=c?No(c,l,t[4]):l,e[4]=c?sn(e[3],u):t[4]}(l=t[5])&&(c=e[5],e[5]=c?Do(c,l,t[6]):l,e[6]=c?sn(e[5],u):t[6]);(l=t[7])&&(e[7]=l);r&f&&(e[8]=null==e[8]?t[8]:wn(e[8],t[8]));null==e[9]&&(e[9]=t[9]);e[0]=t[0],e[1]=o}(E,x),e=E[0],t=E[1],r=E[2],a=E[3],p=E[4],!(g=E[9]=E[9]===o?m?0:e.length:bn(E[9]-y,0))&&24&t&&(t&=-25),t&&1!=t)k=8==t||t==l?function(e,t,r){var i=Bo(e);return function a(){for(var u=arguments.length,l=n(u),c=u,s=ci(a);c--;)l[c]=arguments[c];var f=u<3&&l[0]!==s&&l[u-1]!==s?[]:sn(l,s);return(u-=f.length)<r?Yo(e,t,Wo,a.placeholder,o,l,f,o,o,r-u):_t(this&&this!==pt&&this instanceof a?i:e,this,l)}}(e,t,g):t!=c&&33!=t||p.length?Wo.apply(o,E):function(e,t,r,o){var i=1&t,a=Bo(e);return function t(){for(var u=-1,l=arguments.length,c=-1,s=o.length,f=n(s+l),d=this&&this!==pt&&this instanceof t?a:e;++c<s;)f[c]=o[c];for(;l--;)f[c++]=arguments[++u];return _t(d,i?r:this,f)}}(e,t,r,a);else var k=function(e,t,n){var r=1&t,o=Bo(e);return function t(){return(this&&this!==pt&&this instanceof t?o:e).apply(r?n:this,arguments)}}(e,t,r);return Li((x?to:Ri)(k,E),e,t)}function ei(e,t,n,r){return e===o||Wa(e,Re[n])&&!Le.call(r,n)?t:e}function ti(e,t,n,r,i,a){return nu(e)&&nu(t)&&(a.set(t,e),Hr(e,t,o,ti,a),a.delete(t)),e}function ni(e){return au(e)?o:e}function ri(e,t,n,r,i,a){var u=1&n,l=e.length,c=t.length;if(l!=c&&!(u&&c>l))return!1;var s=a.get(e),f=a.get(t);if(s&&f)return s==t&&f==e;var d=-1,p=!0,h=2&n?new Yn:o;for(a.set(e,t),a.set(t,e);++d<l;){var v=e[d],g=t[d];if(r)var m=u?r(g,v,d,t,e,a):r(v,g,d,e,t,a);if(m!==o){if(m)continue;p=!1;break}if(h){if(!jt(t,(function(e,t){if(!Jt(h,t)&&(v===e||i(v,e,n,r,a)))return h.push(t)}))){p=!1;break}}else if(v!==g&&!i(v,g,n,r,a)){p=!1;break}}return a.delete(e),a.delete(t),p}function oi(e){return Pi(Ii(e,o,qi),e+"")}function ii(e){return _r(e,Au,hi)}function ai(e){return _r(e,Pu,vi)}var ui=Tn?function(e){return Tn.get(e)}:sl;function li(e){for(var t=e.name+"",n=Rn[t],r=Le.call(Rn,t)?n.length:0;r--;){var o=n[r],i=o.func;if(null==i||i==e)return o.name}return t}function ci(e){return(Le.call(Un,"placeholder")?Un:e).placeholder}function si(){var e=Un.iteratee||al;return e=e===al?Mr:e,arguments.length?e(arguments[0],arguments[1]):e}function fi(e,t){var n=e.__data__;return function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}(t)?n["string"==typeof t?"string":"hash"]:n.map}function di(e){for(var t=Au(e),n=t.length;n--;){var r=t[n],o=e[r];t[n]=[r,o,Ci(o)]}return t}function pi(e,t){var n=function(e,t){return null==e?o:e[t]}(e,t);return Lr(n)?n:o}var hi=mt?function(e){return null==e?[]:(e=Ce(e),Dt(mt(e),(function(t){return Ke.call(e,t)})))}:ml,vi=mt?function(e){for(var t=[];e;)Pt(t,hi(e)),e=$e(e);return t}:ml,gi=Cr;function mi(e,t,n){for(var r=-1,o=(t=xo(t,e)).length,i=!1;++r<o;){var a=Bi(t[r]);if(!(i=null!=e&&n(e,a)))break;e=e[a]}return i||++r!=o?i:!!(o=null==e?0:e.length)&&tu(o)&&wi(a,o)&&($a(e)||Va(e))}function yi(e){return"function"!=typeof e.constructor||_i(e)?{}:Wn($e(e))}function bi(e){return $a(e)||Va(e)||!!(Ze&&e&&e[Ze])}function wi(e,t){var n=typeof e;return!!(t=null==t?h:t)&&("number"==n||"symbol"!=n&&we.test(e))&&e>-1&&e%1==0&&e<t}function xi(e,t,n){if(!nu(n))return!1;var r=typeof t;return!!("number"==r?Ka(n)&&wi(t,n.length):"string"==r&&t in n)&&Wa(n[t],e)}function Ei(e,t){if($a(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!su(e))||(ne.test(e)||!te.test(e)||null!=t&&e in Ce(t))}function ki(e){var t=li(e),n=Un[t];if("function"!=typeof n||!(t in Vn.prototype))return!1;if(e===n)return!0;var r=ui(n);return!!r&&e===r[0]}(_n&&gi(new _n(new ArrayBuffer(1)))!=L||Cn&&gi(new Cn)!=_||On&&gi(On.resolve())!=I||In&&gi(new In)!=D||Nn&&gi(new Nn)!=A)&&(gi=function(e){var t=Cr(e),n=t==O?e.constructor:o,r=n?zi(n):"";if(r)switch(r){case An:return L;case Pn:return _;case Ln:return I;case Mn:return D;case jn:return A}return t});var Si=Ae?Ja:yl;function _i(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Re)}function Ci(e){return e===e&&!nu(e)}function Oi(e,t){return function(n){return null!=n&&(n[e]===t&&(t!==o||e in Ce(n)))}}function Ii(e,t,r){return t=bn(t===o?e.length-1:t,0),function(){for(var o=arguments,i=-1,a=bn(o.length-t,0),u=n(a);++i<a;)u[i]=o[t+i];i=-1;for(var l=n(t+1);++i<t;)l[i]=o[i];return l[t]=r(u),_t(e,this,l)}}function Ni(e,t){return t.length<2?e:Sr(e,oo(t,0,-1))}function Di(e,t){for(var n=e.length,r=wn(t.length,n),i=To(e);r--;){var a=t[r];e[r]=wi(a,n)?i[a]:o}return e}function Ti(e,t){if(("constructor"!==t||"function"!==typeof e[t])&&"__proto__"!=t)return e[t]}var Ri=Mi(to),Ai=dt||function(e,t){return pt.setTimeout(e,t)},Pi=Mi(no);function Li(e,t,n){var r=t+"";return Pi(e,function(e,t){var n=t.length;if(!n)return e;var r=n-1;return t[r]=(n>1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(le,"{\n/* [wrapped with "+t+"] */\n")}(r,function(e,t){return Ot(m,(function(n){var r="_."+n[0];t&n[1]&&!Tt(e,r)&&e.push(r)})),e.sort()}(function(e){var t=e.match(ce);return t?t[1].split(se):[]}(r),n)))}function Mi(e){var t=0,n=0;return function(){var r=xn(),i=16-(r-n);if(n=r,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(o,arguments)}}function ji(e,t){var n=-1,r=e.length,i=r-1;for(t=t===o?r:t;++n<t;){var a=Yr(n,i),u=e[a];e[a]=e[n],e[n]=u}return e.length=t,e}var Fi=function(e){var t=Ma(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(re,(function(e,n,r,o){t.push(r?o.replace(pe,"$1"):n||e)})),t}));function Bi(e){if("string"==typeof e||su(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function zi(e){if(null!=e){try{return Pe.call(e)}catch(t){}try{return e+""}catch(t){}}return""}function Ui(e){if(e instanceof Vn)return e.clone();var t=new Gn(e.__wrapped__,e.__chain__);return t.__actions__=To(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var Wi=Xr((function(e,t){return Ya(e)?dr(e,yr(t,1,Ya,!0)):[]})),Hi=Xr((function(e,t){var n=Qi(t);return Ya(n)&&(n=o),Ya(e)?dr(e,yr(t,1,Ya,!0),si(n,2)):[]})),Gi=Xr((function(e,t){var n=Qi(t);return Ya(n)&&(n=o),Ya(e)?dr(e,yr(t,1,Ya,!0),o,n):[]}));function Vi(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:gu(n);return o<0&&(o=bn(r+o,0)),zt(e,si(t,3),o)}function $i(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=r-1;return n!==o&&(i=gu(n),i=n<0?bn(r+i,0):wn(i,r-1)),zt(e,si(t,3),i,!0)}function qi(e){return(null==e?0:e.length)?yr(e,1):[]}function Ki(e){return e&&e.length?e[0]:o}var Yi=Xr((function(e){var t=At(e,bo);return t.length&&t[0]===e[0]?Dr(t):[]})),Zi=Xr((function(e){var t=Qi(e),n=At(e,bo);return t===Qi(n)?t=o:n.pop(),n.length&&n[0]===e[0]?Dr(n,si(t,2)):[]})),Xi=Xr((function(e){var t=Qi(e),n=At(e,bo);return(t="function"==typeof t?t:o)&&n.pop(),n.length&&n[0]===e[0]?Dr(n,o,t):[]}));function Qi(e){var t=null==e?0:e.length;return t?e[t-1]:o}var Ji=Xr(ea);function ea(e,t){return e&&e.length&&t&&t.length?qr(e,t):e}var ta=oi((function(e,t){var n=null==e?0:e.length,r=ur(e,t);return Kr(e,At(t,(function(e){return wi(e,n)?+e:e})).sort(Io)),r}));function na(e){return null==e?e:Sn.call(e)}var ra=Xr((function(e){return fo(yr(e,1,Ya,!0))})),oa=Xr((function(e){var t=Qi(e);return Ya(t)&&(t=o),fo(yr(e,1,Ya,!0),si(t,2))})),ia=Xr((function(e){var t=Qi(e);return t="function"==typeof t?t:o,fo(yr(e,1,Ya,!0),o,t)}));function aa(e){if(!e||!e.length)return[];var t=0;return e=Dt(e,(function(e){if(Ya(e))return t=bn(e.length,t),!0})),Yt(t,(function(t){return At(e,Vt(t))}))}function ua(e,t){if(!e||!e.length)return[];var n=aa(e);return null==t?n:At(n,(function(e){return _t(t,o,e)}))}var la=Xr((function(e,t){return Ya(e)?dr(e,t):[]})),ca=Xr((function(e){return mo(Dt(e,Ya))})),sa=Xr((function(e){var t=Qi(e);return Ya(t)&&(t=o),mo(Dt(e,Ya),si(t,2))})),fa=Xr((function(e){var t=Qi(e);return t="function"==typeof t?t:o,mo(Dt(e,Ya),o,t)})),da=Xr(aa);var pa=Xr((function(e){var t=e.length,n=t>1?e[t-1]:o;return n="function"==typeof n?(e.pop(),n):o,ua(e,n)}));function ha(e){var t=Un(e);return t.__chain__=!0,t}function va(e,t){return t(e)}var ga=oi((function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,i=function(t){return ur(t,e)};return!(t>1||this.__actions__.length)&&r instanceof Vn&&wi(n)?((r=r.slice(n,+n+(t?1:0))).__actions__.push({func:va,args:[i],thisArg:o}),new Gn(r,this.__chain__).thru((function(e){return t&&!e.length&&e.push(o),e}))):this.thru(i)}));var ma=Ao((function(e,t,n){Le.call(e,n)?++e[n]:ar(e,n,1)}));var ya=zo(Vi),ba=zo($i);function wa(e,t){return($a(e)?Ot:pr)(e,si(t,3))}function xa(e,t){return($a(e)?It:hr)(e,si(t,3))}var Ea=Ao((function(e,t,n){Le.call(e,n)?e[n].push(t):ar(e,n,[t])}));var ka=Xr((function(e,t,r){var o=-1,i="function"==typeof t,a=Ka(e)?n(e.length):[];return pr(e,(function(e){a[++o]=i?_t(t,e,r):Tr(e,t,r)})),a})),Sa=Ao((function(e,t,n){ar(e,n,t)}));function _a(e,t){return($a(e)?At:zr)(e,si(t,3))}var Ca=Ao((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]}));var Oa=Xr((function(e,t){if(null==e)return[];var n=t.length;return n>1&&xi(e,t[0],t[1])?t=[]:n>2&&xi(t[0],t[1],t[2])&&(t=[t[0]]),Vr(e,yr(t,1),[])})),Ia=ft||function(){return pt.Date.now()};function Na(e,t,n){return t=n?o:t,t=e&&null==t?e.length:t,Jo(e,f,o,o,o,o,t)}function Da(e,t){var n;if("function"!=typeof t)throw new Ne(i);return e=gu(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=o),n}}var Ta=Xr((function(e,t,n){var r=1;if(n.length){var o=sn(n,ci(Ta));r|=c}return Jo(e,r,t,n,o)})),Ra=Xr((function(e,t,n){var r=3;if(n.length){var o=sn(n,ci(Ra));r|=c}return Jo(t,r,e,n,o)}));function Aa(e,t,n){var r,a,u,l,c,s,f=0,d=!1,p=!1,h=!0;if("function"!=typeof e)throw new Ne(i);function v(t){var n=r,i=a;return r=a=o,f=t,l=e.apply(i,n)}function g(e){return f=e,c=Ai(y,t),d?v(e):l}function m(e){var n=e-s;return s===o||n>=t||n<0||p&&e-f>=u}function y(){var e=Ia();if(m(e))return b(e);c=Ai(y,function(e){var n=t-(e-s);return p?wn(n,u-(e-f)):n}(e))}function b(e){return c=o,h&&r?v(e):(r=a=o,l)}function w(){var e=Ia(),n=m(e);if(r=arguments,a=this,s=e,n){if(c===o)return g(s);if(p)return So(c),c=Ai(y,t),v(s)}return c===o&&(c=Ai(y,t)),l}return t=yu(t)||0,nu(n)&&(d=!!n.leading,u=(p="maxWait"in n)?bn(yu(n.maxWait)||0,t):u,h="trailing"in n?!!n.trailing:h),w.cancel=function(){c!==o&&So(c),f=0,r=s=a=c=o},w.flush=function(){return c===o?l:b(Ia())},w}var Pa=Xr((function(e,t){return fr(e,1,t)})),La=Xr((function(e,t,n){return fr(e,yu(t)||0,n)}));function Ma(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new Ne(i);var n=function n(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(Ma.Cache||Kn),n}function ja(e){if("function"!=typeof e)throw new Ne(i);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}Ma.Cache=Kn;var Fa=Eo((function(e,t){var n=(t=1==t.length&&$a(t[0])?At(t[0],Xt(si())):At(yr(t,1),Xt(si()))).length;return Xr((function(r){for(var o=-1,i=wn(r.length,n);++o<i;)r[o]=t[o].call(this,r[o]);return _t(e,this,r)}))})),Ba=Xr((function(e,t){var n=sn(t,ci(Ba));return Jo(e,c,o,t,n)})),za=Xr((function(e,t){var n=sn(t,ci(za));return Jo(e,s,o,t,n)})),Ua=oi((function(e,t){return Jo(e,d,o,o,o,t)}));function Wa(e,t){return e===t||e!==e&&t!==t}var Ha=Ko(Or),Ga=Ko((function(e,t){return e>=t})),Va=Rr(function(){return arguments}())?Rr:function(e){return ru(e)&&Le.call(e,"callee")&&!Ke.call(e,"callee")},$a=n.isArray,qa=bt?Xt(bt):function(e){return ru(e)&&Cr(e)==P};function Ka(e){return null!=e&&tu(e.length)&&!Ja(e)}function Ya(e){return ru(e)&&Ka(e)}var Za=yt||yl,Xa=wt?Xt(wt):function(e){return ru(e)&&Cr(e)==x};function Qa(e){if(!ru(e))return!1;var t=Cr(e);return t==E||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!au(e)}function Ja(e){if(!nu(e))return!1;var t=Cr(e);return t==k||t==S||"[object AsyncFunction]"==t||"[object Proxy]"==t}function eu(e){return"number"==typeof e&&e==gu(e)}function tu(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=h}function nu(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function ru(e){return null!=e&&"object"==typeof e}var ou=xt?Xt(xt):function(e){return ru(e)&&gi(e)==_};function iu(e){return"number"==typeof e||ru(e)&&Cr(e)==C}function au(e){if(!ru(e)||Cr(e)!=O)return!1;var t=$e(e);if(null===t)return!0;var n=Le.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Pe.call(n)==Be}var uu=Et?Xt(Et):function(e){return ru(e)&&Cr(e)==N};var lu=kt?Xt(kt):function(e){return ru(e)&&gi(e)==D};function cu(e){return"string"==typeof e||!$a(e)&&ru(e)&&Cr(e)==T}function su(e){return"symbol"==typeof e||ru(e)&&Cr(e)==R}var fu=St?Xt(St):function(e){return ru(e)&&tu(e.length)&&!!at[Cr(e)]};var du=Ko(Br),pu=Ko((function(e,t){return e<=t}));function hu(e){if(!e)return[];if(Ka(e))return cu(e)?hn(e):To(e);if(Xe&&e[Xe])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[Xe]());var t=gi(e);return(t==_?ln:t==D?fn:Wu)(e)}function vu(e){return e?(e=yu(e))===p||e===-1/0?17976931348623157e292*(e<0?-1:1):e===e?e:0:0===e?e:0}function gu(e){var t=vu(e),n=t%1;return t===t?n?t-n:t:0}function mu(e){return e?lr(gu(e),0,g):0}function yu(e){if("number"==typeof e)return e;if(su(e))return v;if(nu(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=nu(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Zt(e);var n=me.test(e);return n||be.test(e)?st(e.slice(2),n?2:8):ge.test(e)?v:+e}function bu(e){return Ro(e,Pu(e))}function wu(e){return null==e?"":so(e)}var xu=Po((function(e,t){if(_i(t)||Ka(t))Ro(t,Au(t),e);else for(var n in t)Le.call(t,n)&&nr(e,n,t[n])})),Eu=Po((function(e,t){Ro(t,Pu(t),e)})),ku=Po((function(e,t,n,r){Ro(t,Pu(t),e,r)})),Su=Po((function(e,t,n,r){Ro(t,Au(t),e,r)})),_u=oi(ur);var Cu=Xr((function(e,t){e=Ce(e);var n=-1,r=t.length,i=r>2?t[2]:o;for(i&&xi(t[0],t[1],i)&&(r=1);++n<r;)for(var a=t[n],u=Pu(a),l=-1,c=u.length;++l<c;){var s=u[l],f=e[s];(f===o||Wa(f,Re[s])&&!Le.call(e,s))&&(e[s]=a[s])}return e})),Ou=Xr((function(e){return e.push(o,ti),_t(Mu,o,e)}));function Iu(e,t,n){var r=null==e?o:Sr(e,t);return r===o?n:r}function Nu(e,t){return null!=e&&mi(e,t,Nr)}var Du=Ho((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Fe.call(t)),e[t]=n}),nl(il)),Tu=Ho((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Fe.call(t)),Le.call(e,t)?e[t].push(n):e[t]=[n]}),si),Ru=Xr(Tr);function Au(e){return Ka(e)?Xn(e):jr(e)}function Pu(e){return Ka(e)?Xn(e,!0):Fr(e)}var Lu=Po((function(e,t,n){Hr(e,t,n)})),Mu=Po((function(e,t,n,r){Hr(e,t,n,r)})),ju=oi((function(e,t){var n={};if(null==e)return n;var r=!1;t=At(t,(function(t){return t=xo(t,e),r||(r=t.length>1),t})),Ro(e,ai(e),n),r&&(n=cr(n,7,ni));for(var o=t.length;o--;)po(n,t[o]);return n}));var Fu=oi((function(e,t){return null==e?{}:function(e,t){return $r(e,t,(function(t,n){return Nu(e,n)}))}(e,t)}));function Bu(e,t){if(null==e)return{};var n=At(ai(e),(function(e){return[e]}));return t=si(t),$r(e,n,(function(e,n){return t(e,n[0])}))}var zu=Qo(Au),Uu=Qo(Pu);function Wu(e){return null==e?[]:Qt(e,Au(e))}var Hu=Fo((function(e,t,n){return t=t.toLowerCase(),e+(n?Gu(t):t)}));function Gu(e){return Qu(wu(e).toLowerCase())}function Vu(e){return(e=wu(e))&&e.replace(xe,rn).replace(Je,"")}var $u=Fo((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),qu=Fo((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),Ku=jo("toLowerCase");var Yu=Fo((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}));var Zu=Fo((function(e,t,n){return e+(n?" ":"")+Qu(t)}));var Xu=Fo((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),Qu=jo("toUpperCase");function Ju(e,t,n){return e=wu(e),(t=n?o:t)===o?function(e){return rt.test(e)}(e)?function(e){return e.match(tt)||[]}(e):function(e){return e.match(fe)||[]}(e):e.match(t)||[]}var el=Xr((function(e,t){try{return _t(e,o,t)}catch(n){return Qa(n)?n:new ue(n)}})),tl=oi((function(e,t){return Ot(t,(function(t){t=Bi(t),ar(e,t,Ta(e[t],e))})),e}));function nl(e){return function(){return e}}var rl=Uo(),ol=Uo(!0);function il(e){return e}function al(e){return Mr("function"==typeof e?e:cr(e,1))}var ul=Xr((function(e,t){return function(n){return Tr(n,e,t)}})),ll=Xr((function(e,t){return function(n){return Tr(e,n,t)}}));function cl(e,t,n){var r=Au(t),o=kr(t,r);null!=n||nu(t)&&(o.length||!r.length)||(n=t,t=e,e=this,o=kr(t,Au(t)));var i=!(nu(n)&&"chain"in n)||!!n.chain,a=Ja(e);return Ot(o,(function(n){var r=t[n];e[n]=r,a&&(e.prototype[n]=function(){var t=this.__chain__;if(i||t){var n=e(this.__wrapped__),o=n.__actions__=To(this.__actions__);return o.push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,Pt([this.value()],arguments))})})),e}function sl(){}var fl=Vo(At),dl=Vo(Nt),pl=Vo(jt);function hl(e){return Ei(e)?Vt(Bi(e)):function(e){return function(t){return Sr(t,e)}}(e)}var vl=qo(),gl=qo(!0);function ml(){return[]}function yl(){return!1}var bl=Go((function(e,t){return e+t}),0),wl=Zo("ceil"),xl=Go((function(e,t){return e/t}),1),El=Zo("floor");var kl=Go((function(e,t){return e*t}),1),Sl=Zo("round"),_l=Go((function(e,t){return e-t}),0);return Un.after=function(e,t){if("function"!=typeof t)throw new Ne(i);return e=gu(e),function(){if(--e<1)return t.apply(this,arguments)}},Un.ary=Na,Un.assign=xu,Un.assignIn=Eu,Un.assignInWith=ku,Un.assignWith=Su,Un.at=_u,Un.before=Da,Un.bind=Ta,Un.bindAll=tl,Un.bindKey=Ra,Un.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return $a(e)?e:[e]},Un.chain=ha,Un.chunk=function(e,t,r){t=(r?xi(e,t,r):t===o)?1:bn(gu(t),0);var i=null==e?0:e.length;if(!i||t<1)return[];for(var a=0,u=0,l=n(ht(i/t));a<i;)l[u++]=oo(e,a,a+=t);return l},Un.compact=function(e){for(var t=-1,n=null==e?0:e.length,r=0,o=[];++t<n;){var i=e[t];i&&(o[r++]=i)}return o},Un.concat=function(){var e=arguments.length;if(!e)return[];for(var t=n(e-1),r=arguments[0],o=e;o--;)t[o-1]=arguments[o];return Pt($a(r)?To(r):[r],yr(t,1))},Un.cond=function(e){var t=null==e?0:e.length,n=si();return e=t?At(e,(function(e){if("function"!=typeof e[1])throw new Ne(i);return[n(e[0]),e[1]]})):[],Xr((function(n){for(var r=-1;++r<t;){var o=e[r];if(_t(o[0],this,n))return _t(o[1],this,n)}}))},Un.conforms=function(e){return function(e){var t=Au(e);return function(n){return sr(n,e,t)}}(cr(e,1))},Un.constant=nl,Un.countBy=ma,Un.create=function(e,t){var n=Wn(e);return null==t?n:ir(n,t)},Un.curry=function e(t,n,r){var i=Jo(t,8,o,o,o,o,o,n=r?o:n);return i.placeholder=e.placeholder,i},Un.curryRight=function e(t,n,r){var i=Jo(t,l,o,o,o,o,o,n=r?o:n);return i.placeholder=e.placeholder,i},Un.debounce=Aa,Un.defaults=Cu,Un.defaultsDeep=Ou,Un.defer=Pa,Un.delay=La,Un.difference=Wi,Un.differenceBy=Hi,Un.differenceWith=Gi,Un.drop=function(e,t,n){var r=null==e?0:e.length;return r?oo(e,(t=n||t===o?1:gu(t))<0?0:t,r):[]},Un.dropRight=function(e,t,n){var r=null==e?0:e.length;return r?oo(e,0,(t=r-(t=n||t===o?1:gu(t)))<0?0:t):[]},Un.dropRightWhile=function(e,t){return e&&e.length?vo(e,si(t,3),!0,!0):[]},Un.dropWhile=function(e,t){return e&&e.length?vo(e,si(t,3),!0):[]},Un.fill=function(e,t,n,r){var i=null==e?0:e.length;return i?(n&&"number"!=typeof n&&xi(e,t,n)&&(n=0,r=i),function(e,t,n,r){var i=e.length;for((n=gu(n))<0&&(n=-n>i?0:i+n),(r=r===o||r>i?i:gu(r))<0&&(r+=i),r=n>r?0:mu(r);n<r;)e[n++]=t;return e}(e,t,n,r)):[]},Un.filter=function(e,t){return($a(e)?Dt:mr)(e,si(t,3))},Un.flatMap=function(e,t){return yr(_a(e,t),1)},Un.flatMapDeep=function(e,t){return yr(_a(e,t),p)},Un.flatMapDepth=function(e,t,n){return n=n===o?1:gu(n),yr(_a(e,t),n)},Un.flatten=qi,Un.flattenDeep=function(e){return(null==e?0:e.length)?yr(e,p):[]},Un.flattenDepth=function(e,t){return(null==e?0:e.length)?yr(e,t=t===o?1:gu(t)):[]},Un.flip=function(e){return Jo(e,512)},Un.flow=rl,Un.flowRight=ol,Un.fromPairs=function(e){for(var t=-1,n=null==e?0:e.length,r={};++t<n;){var o=e[t];r[o[0]]=o[1]}return r},Un.functions=function(e){return null==e?[]:kr(e,Au(e))},Un.functionsIn=function(e){return null==e?[]:kr(e,Pu(e))},Un.groupBy=Ea,Un.initial=function(e){return(null==e?0:e.length)?oo(e,0,-1):[]},Un.intersection=Yi,Un.intersectionBy=Zi,Un.intersectionWith=Xi,Un.invert=Du,Un.invertBy=Tu,Un.invokeMap=ka,Un.iteratee=al,Un.keyBy=Sa,Un.keys=Au,Un.keysIn=Pu,Un.map=_a,Un.mapKeys=function(e,t){var n={};return t=si(t,3),xr(e,(function(e,r,o){ar(n,t(e,r,o),e)})),n},Un.mapValues=function(e,t){var n={};return t=si(t,3),xr(e,(function(e,r,o){ar(n,r,t(e,r,o))})),n},Un.matches=function(e){return Ur(cr(e,1))},Un.matchesProperty=function(e,t){return Wr(e,cr(t,1))},Un.memoize=Ma,Un.merge=Lu,Un.mergeWith=Mu,Un.method=ul,Un.methodOf=ll,Un.mixin=cl,Un.negate=ja,Un.nthArg=function(e){return e=gu(e),Xr((function(t){return Gr(t,e)}))},Un.omit=ju,Un.omitBy=function(e,t){return Bu(e,ja(si(t)))},Un.once=function(e){return Da(2,e)},Un.orderBy=function(e,t,n,r){return null==e?[]:($a(t)||(t=null==t?[]:[t]),$a(n=r?o:n)||(n=null==n?[]:[n]),Vr(e,t,n))},Un.over=fl,Un.overArgs=Fa,Un.overEvery=dl,Un.overSome=pl,Un.partial=Ba,Un.partialRight=za,Un.partition=Ca,Un.pick=Fu,Un.pickBy=Bu,Un.property=hl,Un.propertyOf=function(e){return function(t){return null==e?o:Sr(e,t)}},Un.pull=Ji,Un.pullAll=ea,Un.pullAllBy=function(e,t,n){return e&&e.length&&t&&t.length?qr(e,t,si(n,2)):e},Un.pullAllWith=function(e,t,n){return e&&e.length&&t&&t.length?qr(e,t,o,n):e},Un.pullAt=ta,Un.range=vl,Un.rangeRight=gl,Un.rearg=Ua,Un.reject=function(e,t){return($a(e)?Dt:mr)(e,ja(si(t,3)))},Un.remove=function(e,t){var n=[];if(!e||!e.length)return n;var r=-1,o=[],i=e.length;for(t=si(t,3);++r<i;){var a=e[r];t(a,r,e)&&(n.push(a),o.push(r))}return Kr(e,o),n},Un.rest=function(e,t){if("function"!=typeof e)throw new Ne(i);return Xr(e,t=t===o?t:gu(t))},Un.reverse=na,Un.sampleSize=function(e,t,n){return t=(n?xi(e,t,n):t===o)?1:gu(t),($a(e)?Jn:Jr)(e,t)},Un.set=function(e,t,n){return null==e?e:eo(e,t,n)},Un.setWith=function(e,t,n,r){return r="function"==typeof r?r:o,null==e?e:eo(e,t,n,r)},Un.shuffle=function(e){return($a(e)?er:ro)(e)},Un.slice=function(e,t,n){var r=null==e?0:e.length;return r?(n&&"number"!=typeof n&&xi(e,t,n)?(t=0,n=r):(t=null==t?0:gu(t),n=n===o?r:gu(n)),oo(e,t,n)):[]},Un.sortBy=Oa,Un.sortedUniq=function(e){return e&&e.length?lo(e):[]},Un.sortedUniqBy=function(e,t){return e&&e.length?lo(e,si(t,2)):[]},Un.split=function(e,t,n){return n&&"number"!=typeof n&&xi(e,t,n)&&(t=n=o),(n=n===o?g:n>>>0)?(e=wu(e))&&("string"==typeof t||null!=t&&!uu(t))&&!(t=so(t))&&un(e)?ko(hn(e),0,n):e.split(t,n):[]},Un.spread=function(e,t){if("function"!=typeof e)throw new Ne(i);return t=null==t?0:bn(gu(t),0),Xr((function(n){var r=n[t],o=ko(n,0,t);return r&&Pt(o,r),_t(e,this,o)}))},Un.tail=function(e){var t=null==e?0:e.length;return t?oo(e,1,t):[]},Un.take=function(e,t,n){return e&&e.length?oo(e,0,(t=n||t===o?1:gu(t))<0?0:t):[]},Un.takeRight=function(e,t,n){var r=null==e?0:e.length;return r?oo(e,(t=r-(t=n||t===o?1:gu(t)))<0?0:t,r):[]},Un.takeRightWhile=function(e,t){return e&&e.length?vo(e,si(t,3),!1,!0):[]},Un.takeWhile=function(e,t){return e&&e.length?vo(e,si(t,3)):[]},Un.tap=function(e,t){return t(e),e},Un.throttle=function(e,t,n){var r=!0,o=!0;if("function"!=typeof e)throw new Ne(i);return nu(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),Aa(e,t,{leading:r,maxWait:t,trailing:o})},Un.thru=va,Un.toArray=hu,Un.toPairs=zu,Un.toPairsIn=Uu,Un.toPath=function(e){return $a(e)?At(e,Bi):su(e)?[e]:To(Fi(wu(e)))},Un.toPlainObject=bu,Un.transform=function(e,t,n){var r=$a(e),o=r||Za(e)||fu(e);if(t=si(t,4),null==n){var i=e&&e.constructor;n=o?r?new i:[]:nu(e)&&Ja(i)?Wn($e(e)):{}}return(o?Ot:xr)(e,(function(e,r,o){return t(n,e,r,o)})),n},Un.unary=function(e){return Na(e,1)},Un.union=ra,Un.unionBy=oa,Un.unionWith=ia,Un.uniq=function(e){return e&&e.length?fo(e):[]},Un.uniqBy=function(e,t){return e&&e.length?fo(e,si(t,2)):[]},Un.uniqWith=function(e,t){return t="function"==typeof t?t:o,e&&e.length?fo(e,o,t):[]},Un.unset=function(e,t){return null==e||po(e,t)},Un.unzip=aa,Un.unzipWith=ua,Un.update=function(e,t,n){return null==e?e:ho(e,t,wo(n))},Un.updateWith=function(e,t,n,r){return r="function"==typeof r?r:o,null==e?e:ho(e,t,wo(n),r)},Un.values=Wu,Un.valuesIn=function(e){return null==e?[]:Qt(e,Pu(e))},Un.without=la,Un.words=Ju,Un.wrap=function(e,t){return Ba(wo(t),e)},Un.xor=ca,Un.xorBy=sa,Un.xorWith=fa,Un.zip=da,Un.zipObject=function(e,t){return yo(e||[],t||[],nr)},Un.zipObjectDeep=function(e,t){return yo(e||[],t||[],eo)},Un.zipWith=pa,Un.entries=zu,Un.entriesIn=Uu,Un.extend=Eu,Un.extendWith=ku,cl(Un,Un),Un.add=bl,Un.attempt=el,Un.camelCase=Hu,Un.capitalize=Gu,Un.ceil=wl,Un.clamp=function(e,t,n){return n===o&&(n=t,t=o),n!==o&&(n=(n=yu(n))===n?n:0),t!==o&&(t=(t=yu(t))===t?t:0),lr(yu(e),t,n)},Un.clone=function(e){return cr(e,4)},Un.cloneDeep=function(e){return cr(e,5)},Un.cloneDeepWith=function(e,t){return cr(e,5,t="function"==typeof t?t:o)},Un.cloneWith=function(e,t){return cr(e,4,t="function"==typeof t?t:o)},Un.conformsTo=function(e,t){return null==t||sr(e,t,Au(t))},Un.deburr=Vu,Un.defaultTo=function(e,t){return null==e||e!==e?t:e},Un.divide=xl,Un.endsWith=function(e,t,n){e=wu(e),t=so(t);var r=e.length,i=n=n===o?r:lr(gu(n),0,r);return(n-=t.length)>=0&&e.slice(n,i)==t},Un.eq=Wa,Un.escape=function(e){return(e=wu(e))&&X.test(e)?e.replace(Y,on):e},Un.escapeRegExp=function(e){return(e=wu(e))&&ie.test(e)?e.replace(oe,"\\$&"):e},Un.every=function(e,t,n){var r=$a(e)?Nt:vr;return n&&xi(e,t,n)&&(t=o),r(e,si(t,3))},Un.find=ya,Un.findIndex=Vi,Un.findKey=function(e,t){return Bt(e,si(t,3),xr)},Un.findLast=ba,Un.findLastIndex=$i,Un.findLastKey=function(e,t){return Bt(e,si(t,3),Er)},Un.floor=El,Un.forEach=wa,Un.forEachRight=xa,Un.forIn=function(e,t){return null==e?e:br(e,si(t,3),Pu)},Un.forInRight=function(e,t){return null==e?e:wr(e,si(t,3),Pu)},Un.forOwn=function(e,t){return e&&xr(e,si(t,3))},Un.forOwnRight=function(e,t){return e&&Er(e,si(t,3))},Un.get=Iu,Un.gt=Ha,Un.gte=Ga,Un.has=function(e,t){return null!=e&&mi(e,t,Ir)},Un.hasIn=Nu,Un.head=Ki,Un.identity=il,Un.includes=function(e,t,n,r){e=Ka(e)?e:Wu(e),n=n&&!r?gu(n):0;var o=e.length;return n<0&&(n=bn(o+n,0)),cu(e)?n<=o&&e.indexOf(t,n)>-1:!!o&&Ut(e,t,n)>-1},Un.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:gu(n);return o<0&&(o=bn(r+o,0)),Ut(e,t,o)},Un.inRange=function(e,t,n){return t=vu(t),n===o?(n=t,t=0):n=vu(n),function(e,t,n){return e>=wn(t,n)&&e<bn(t,n)}(e=yu(e),t,n)},Un.invoke=Ru,Un.isArguments=Va,Un.isArray=$a,Un.isArrayBuffer=qa,Un.isArrayLike=Ka,Un.isArrayLikeObject=Ya,Un.isBoolean=function(e){return!0===e||!1===e||ru(e)&&Cr(e)==w},Un.isBuffer=Za,Un.isDate=Xa,Un.isElement=function(e){return ru(e)&&1===e.nodeType&&!au(e)},Un.isEmpty=function(e){if(null==e)return!0;if(Ka(e)&&($a(e)||"string"==typeof e||"function"==typeof e.splice||Za(e)||fu(e)||Va(e)))return!e.length;var t=gi(e);if(t==_||t==D)return!e.size;if(_i(e))return!jr(e).length;for(var n in e)if(Le.call(e,n))return!1;return!0},Un.isEqual=function(e,t){return Ar(e,t)},Un.isEqualWith=function(e,t,n){var r=(n="function"==typeof n?n:o)?n(e,t):o;return r===o?Ar(e,t,o,n):!!r},Un.isError=Qa,Un.isFinite=function(e){return"number"==typeof e&&Ft(e)},Un.isFunction=Ja,Un.isInteger=eu,Un.isLength=tu,Un.isMap=ou,Un.isMatch=function(e,t){return e===t||Pr(e,t,di(t))},Un.isMatchWith=function(e,t,n){return n="function"==typeof n?n:o,Pr(e,t,di(t),n)},Un.isNaN=function(e){return iu(e)&&e!=+e},Un.isNative=function(e){if(Si(e))throw new ue("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Lr(e)},Un.isNil=function(e){return null==e},Un.isNull=function(e){return null===e},Un.isNumber=iu,Un.isObject=nu,Un.isObjectLike=ru,Un.isPlainObject=au,Un.isRegExp=uu,Un.isSafeInteger=function(e){return eu(e)&&e>=-9007199254740991&&e<=h},Un.isSet=lu,Un.isString=cu,Un.isSymbol=su,Un.isTypedArray=fu,Un.isUndefined=function(e){return e===o},Un.isWeakMap=function(e){return ru(e)&&gi(e)==A},Un.isWeakSet=function(e){return ru(e)&&"[object WeakSet]"==Cr(e)},Un.join=function(e,t){return null==e?"":$t.call(e,t)},Un.kebabCase=$u,Un.last=Qi,Un.lastIndexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=r;return n!==o&&(i=(i=gu(n))<0?bn(r+i,0):wn(i,r-1)),t===t?function(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}(e,t,i):zt(e,Ht,i,!0)},Un.lowerCase=qu,Un.lowerFirst=Ku,Un.lt=du,Un.lte=pu,Un.max=function(e){return e&&e.length?gr(e,il,Or):o},Un.maxBy=function(e,t){return e&&e.length?gr(e,si(t,2),Or):o},Un.mean=function(e){return Gt(e,il)},Un.meanBy=function(e,t){return Gt(e,si(t,2))},Un.min=function(e){return e&&e.length?gr(e,il,Br):o},Un.minBy=function(e,t){return e&&e.length?gr(e,si(t,2),Br):o},Un.stubArray=ml,Un.stubFalse=yl,Un.stubObject=function(){return{}},Un.stubString=function(){return""},Un.stubTrue=function(){return!0},Un.multiply=kl,Un.nth=function(e,t){return e&&e.length?Gr(e,gu(t)):o},Un.noConflict=function(){return pt._===this&&(pt._=ze),this},Un.noop=sl,Un.now=Ia,Un.pad=function(e,t,n){e=wu(e);var r=(t=gu(t))?pn(e):0;if(!t||r>=t)return e;var o=(t-r)/2;return $o(vt(o),n)+e+$o(ht(o),n)},Un.padEnd=function(e,t,n){e=wu(e);var r=(t=gu(t))?pn(e):0;return t&&r<t?e+$o(t-r,n):e},Un.padStart=function(e,t,n){e=wu(e);var r=(t=gu(t))?pn(e):0;return t&&r<t?$o(t-r,n)+e:e},Un.parseInt=function(e,t,n){return n||null==t?t=0:t&&(t=+t),En(wu(e).replace(ae,""),t||0)},Un.random=function(e,t,n){if(n&&"boolean"!=typeof n&&xi(e,t,n)&&(t=n=o),n===o&&("boolean"==typeof t?(n=t,t=o):"boolean"==typeof e&&(n=e,e=o)),e===o&&t===o?(e=0,t=1):(e=vu(e),t===o?(t=e,e=0):t=vu(t)),e>t){var r=e;e=t,t=r}if(n||e%1||t%1){var i=kn();return wn(e+i*(t-e+ct("1e-"+((i+"").length-1))),t)}return Yr(e,t)},Un.reduce=function(e,t,n){var r=$a(e)?Lt:qt,o=arguments.length<3;return r(e,si(t,4),n,o,pr)},Un.reduceRight=function(e,t,n){var r=$a(e)?Mt:qt,o=arguments.length<3;return r(e,si(t,4),n,o,hr)},Un.repeat=function(e,t,n){return t=(n?xi(e,t,n):t===o)?1:gu(t),Zr(wu(e),t)},Un.replace=function(){var e=arguments,t=wu(e[0]);return e.length<3?t:t.replace(e[1],e[2])},Un.result=function(e,t,n){var r=-1,i=(t=xo(t,e)).length;for(i||(i=1,e=o);++r<i;){var a=null==e?o:e[Bi(t[r])];a===o&&(r=i,a=n),e=Ja(a)?a.call(e):a}return e},Un.round=Sl,Un.runInContext=e,Un.sample=function(e){return($a(e)?Qn:Qr)(e)},Un.size=function(e){if(null==e)return 0;if(Ka(e))return cu(e)?pn(e):e.length;var t=gi(e);return t==_||t==D?e.size:jr(e).length},Un.snakeCase=Yu,Un.some=function(e,t,n){var r=$a(e)?jt:io;return n&&xi(e,t,n)&&(t=o),r(e,si(t,3))},Un.sortedIndex=function(e,t){return ao(e,t)},Un.sortedIndexBy=function(e,t,n){return uo(e,t,si(n,2))},Un.sortedIndexOf=function(e,t){var n=null==e?0:e.length;if(n){var r=ao(e,t);if(r<n&&Wa(e[r],t))return r}return-1},Un.sortedLastIndex=function(e,t){return ao(e,t,!0)},Un.sortedLastIndexBy=function(e,t,n){return uo(e,t,si(n,2),!0)},Un.sortedLastIndexOf=function(e,t){if(null==e?0:e.length){var n=ao(e,t,!0)-1;if(Wa(e[n],t))return n}return-1},Un.startCase=Zu,Un.startsWith=function(e,t,n){return e=wu(e),n=null==n?0:lr(gu(n),0,e.length),t=so(t),e.slice(n,n+t.length)==t},Un.subtract=_l,Un.sum=function(e){return e&&e.length?Kt(e,il):0},Un.sumBy=function(e,t){return e&&e.length?Kt(e,si(t,2)):0},Un.template=function(e,t,n){var r=Un.templateSettings;n&&xi(e,t,n)&&(t=o),e=wu(e),t=ku({},t,r,ei);var i,a,u=ku({},t.imports,r.imports,ei),l=Au(u),c=Qt(u,l),s=0,f=t.interpolate||Ee,d="__p += '",p=Oe((t.escape||Ee).source+"|"+f.source+"|"+(f===ee?he:Ee).source+"|"+(t.evaluate||Ee).source+"|$","g"),h="//# sourceURL="+(Le.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++it+"]")+"\n";e.replace(p,(function(t,n,r,o,u,l){return r||(r=o),d+=e.slice(s,l).replace(ke,an),n&&(i=!0,d+="' +\n__e("+n+") +\n'"),u&&(a=!0,d+="';\n"+u+";\n__p += '"),r&&(d+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),s=l+t.length,t})),d+="';\n";var v=Le.call(t,"variable")&&t.variable;if(v){if(de.test(v))throw new ue("Invalid `variable` option passed into `_.template`")}else d="with (obj) {\n"+d+"\n}\n";d=(a?d.replace(V,""):d).replace($,"$1").replace(q,"$1;"),d="function("+(v||"obj")+") {\n"+(v?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(i?", __e = _.escape":"")+(a?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+d+"return __p\n}";var g=el((function(){return Se(l,h+"return "+d).apply(o,c)}));if(g.source=d,Qa(g))throw g;return g},Un.times=function(e,t){if((e=gu(e))<1||e>h)return[];var n=g,r=wn(e,g);t=si(t),e-=g;for(var o=Yt(r,t);++n<e;)t(n);return o},Un.toFinite=vu,Un.toInteger=gu,Un.toLength=mu,Un.toLower=function(e){return wu(e).toLowerCase()},Un.toNumber=yu,Un.toSafeInteger=function(e){return e?lr(gu(e),-9007199254740991,h):0===e?e:0},Un.toString=wu,Un.toUpper=function(e){return wu(e).toUpperCase()},Un.trim=function(e,t,n){if((e=wu(e))&&(n||t===o))return Zt(e);if(!e||!(t=so(t)))return e;var r=hn(e),i=hn(t);return ko(r,en(r,i),tn(r,i)+1).join("")},Un.trimEnd=function(e,t,n){if((e=wu(e))&&(n||t===o))return e.slice(0,vn(e)+1);if(!e||!(t=so(t)))return e;var r=hn(e);return ko(r,0,tn(r,hn(t))+1).join("")},Un.trimStart=function(e,t,n){if((e=wu(e))&&(n||t===o))return e.replace(ae,"");if(!e||!(t=so(t)))return e;var r=hn(e);return ko(r,en(r,hn(t))).join("")},Un.truncate=function(e,t){var n=30,r="...";if(nu(t)){var i="separator"in t?t.separator:i;n="length"in t?gu(t.length):n,r="omission"in t?so(t.omission):r}var a=(e=wu(e)).length;if(un(e)){var u=hn(e);a=u.length}if(n>=a)return e;var l=n-pn(r);if(l<1)return r;var c=u?ko(u,0,l).join(""):e.slice(0,l);if(i===o)return c+r;if(u&&(l+=c.length-l),uu(i)){if(e.slice(l).search(i)){var s,f=c;for(i.global||(i=Oe(i.source,wu(ve.exec(i))+"g")),i.lastIndex=0;s=i.exec(f);)var d=s.index;c=c.slice(0,d===o?l:d)}}else if(e.indexOf(so(i),l)!=l){var p=c.lastIndexOf(i);p>-1&&(c=c.slice(0,p))}return c+r},Un.unescape=function(e){return(e=wu(e))&&Z.test(e)?e.replace(K,gn):e},Un.uniqueId=function(e){var t=++Me;return wu(e)+t},Un.upperCase=Xu,Un.upperFirst=Qu,Un.each=wa,Un.eachRight=xa,Un.first=Ki,cl(Un,function(){var e={};return xr(Un,(function(t,n){Le.call(Un.prototype,n)||(e[n]=t)})),e}(),{chain:!1}),Un.VERSION="4.17.21",Ot(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){Un[e].placeholder=Un})),Ot(["drop","take"],(function(e,t){Vn.prototype[e]=function(n){n=n===o?1:bn(gu(n),0);var r=this.__filtered__&&!t?new Vn(this):this.clone();return r.__filtered__?r.__takeCount__=wn(n,r.__takeCount__):r.__views__.push({size:wn(n,g),type:e+(r.__dir__<0?"Right":"")}),r},Vn.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),Ot(["filter","map","takeWhile"],(function(e,t){var n=t+1,r=1==n||3==n;Vn.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:si(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}})),Ot(["head","last"],(function(e,t){var n="take"+(t?"Right":"");Vn.prototype[e]=function(){return this[n](1).value()[0]}})),Ot(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");Vn.prototype[e]=function(){return this.__filtered__?new Vn(this):this[n](1)}})),Vn.prototype.compact=function(){return this.filter(il)},Vn.prototype.find=function(e){return this.filter(e).head()},Vn.prototype.findLast=function(e){return this.reverse().find(e)},Vn.prototype.invokeMap=Xr((function(e,t){return"function"==typeof e?new Vn(this):this.map((function(n){return Tr(n,e,t)}))})),Vn.prototype.reject=function(e){return this.filter(ja(si(e)))},Vn.prototype.slice=function(e,t){e=gu(e);var n=this;return n.__filtered__&&(e>0||t<0)?new Vn(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==o&&(n=(t=gu(t))<0?n.dropRight(-t):n.take(t-e)),n)},Vn.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Vn.prototype.toArray=function(){return this.take(g)},xr(Vn.prototype,(function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),r=/^(?:head|last)$/.test(t),i=Un[r?"take"+("last"==t?"Right":""):t],a=r||/^find/.test(t);i&&(Un.prototype[t]=function(){var t=this.__wrapped__,u=r?[1]:arguments,l=t instanceof Vn,c=u[0],s=l||$a(t),f=function(e){var t=i.apply(Un,Pt([e],u));return r&&d?t[0]:t};s&&n&&"function"==typeof c&&1!=c.length&&(l=s=!1);var d=this.__chain__,p=!!this.__actions__.length,h=a&&!d,v=l&&!p;if(!a&&s){t=v?t:new Vn(this);var g=e.apply(t,u);return g.__actions__.push({func:va,args:[f],thisArg:o}),new Gn(g,d)}return h&&v?e.apply(this,u):(g=this.thru(f),h?r?g.value()[0]:g.value():g)})})),Ot(["pop","push","shift","sort","splice","unshift"],(function(e){var t=De[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);Un.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var o=this.value();return t.apply($a(o)?o:[],e)}return this[n]((function(n){return t.apply($a(n)?n:[],e)}))}})),xr(Vn.prototype,(function(e,t){var n=Un[t];if(n){var r=n.name+"";Le.call(Rn,r)||(Rn[r]=[]),Rn[r].push({name:t,func:n})}})),Rn[Wo(o,2).name]=[{name:"wrapper",func:o}],Vn.prototype.clone=function(){var e=new Vn(this.__wrapped__);return e.__actions__=To(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=To(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=To(this.__views__),e},Vn.prototype.reverse=function(){if(this.__filtered__){var e=new Vn(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},Vn.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=$a(e),r=t<0,o=n?e.length:0,i=function(e,t,n){var r=-1,o=n.length;for(;++r<o;){var i=n[r],a=i.size;switch(i.type){case"drop":e+=a;break;case"dropRight":t-=a;break;case"take":t=wn(t,e+a);break;case"takeRight":e=bn(e,t-a)}}return{start:e,end:t}}(0,o,this.__views__),a=i.start,u=i.end,l=u-a,c=r?u:a-1,s=this.__iteratees__,f=s.length,d=0,p=wn(l,this.__takeCount__);if(!n||!r&&o==l&&p==l)return go(e,this.__actions__);var h=[];e:for(;l--&&d<p;){for(var v=-1,g=e[c+=t];++v<f;){var m=s[v],y=m.iteratee,b=m.type,w=y(g);if(2==b)g=w;else if(!w){if(1==b)continue e;break e}}h[d++]=g}return h},Un.prototype.at=ga,Un.prototype.chain=function(){return ha(this)},Un.prototype.commit=function(){return new Gn(this.value(),this.__chain__)},Un.prototype.next=function(){this.__values__===o&&(this.__values__=hu(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?o:this.__values__[this.__index__++]}},Un.prototype.plant=function(e){for(var t,n=this;n instanceof Hn;){var r=Ui(n);r.__index__=0,r.__values__=o,t?i.__wrapped__=r:t=r;var i=r;n=n.__wrapped__}return i.__wrapped__=e,t},Un.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof Vn){var t=e;return this.__actions__.length&&(t=new Vn(this)),(t=t.reverse()).__actions__.push({func:va,args:[na],thisArg:o}),new Gn(t,this.__chain__)}return this.thru(na)},Un.prototype.toJSON=Un.prototype.valueOf=Un.prototype.value=function(){return go(this.__wrapped__,this.__actions__)},Un.prototype.first=Un.prototype.head,Xe&&(Un.prototype[Xe]=function(){return this}),Un}();pt._=mn,(r=function(){return mn}.call(t,n,t,e))===o||(e.exports=r)}.call(this)},725:function(e){"use strict";var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function o(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(o){return!1}}()?Object.assign:function(e,i){for(var a,u,l=o(e),c=1;c<arguments.length;c++){for(var s in a=Object(arguments[c]))n.call(a,s)&&(l[s]=a[s]);if(t){u=t(a);for(var f=0;f<u.length;f++)r.call(a,u[f])&&(l[u[f]]=a[u[f]])}}return l}},888:function(e,t,n){"use strict";var r=n(47);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var u=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 u.name="Invariant Violation",u}}function t(){return e}e.isRequired=e;var n={array:e,bigint: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:i,resetWarningCache:o};return n.PropTypes=n,n}},7:function(e,t,n){e.exports=n(888)()},47:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},424:function(e,t,n){"use strict";var r=n(725),o=n(791);function i(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var a=60106,u=60107,l=60108,c=60114,s=60109,f=60110,d=60112,p=60113,h=60120,v=60115,g=60116,m=60121,y=60117,b=60119,w=60129,x=60131;if("function"===typeof Symbol&&Symbol.for){var E=Symbol.for;a=E("react.portal"),u=E("react.fragment"),l=E("react.strict_mode"),c=E("react.profiler"),s=E("react.provider"),f=E("react.context"),d=E("react.forward_ref"),p=E("react.suspense"),h=E("react.suspense_list"),v=E("react.memo"),g=E("react.lazy"),m=E("react.block"),y=E("react.fundamental"),b=E("react.scope"),w=E("react.debug_trace_mode"),x=E("react.legacy_hidden")}function k(e){if(null==e)return null;if("function"===typeof e)return e.displayName||e.name||null;if("string"===typeof e)return e;switch(e){case u:return"Fragment";case a:return"Portal";case c:return"Profiler";case l:return"StrictMode";case p:return"Suspense";case h:return"SuspenseList"}if("object"===typeof e)switch(e.$$typeof){case f:return(e.displayName||"Context")+".Consumer";case s:return(e._context.displayName||"Context")+".Provider";case d:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case v:return k(e.type);case m:return k(e._render);case g:t=e._payload,e=e._init;try{return k(e(t))}catch(n){}}return null}var S=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,_={};function C(e,t){for(var n=0|e._threadCount;n<=t;n++)e[n]=e._currentValue2,e._threadCount=n+1}for(var O=new Uint16Array(16),I=0;15>I;I++)O[I]=I+1;O[15]=0;var N=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,D=Object.prototype.hasOwnProperty,T={},R={};function A(e){return!!D.call(R,e)||!D.call(T,e)&&(N.test(e)?R[e]=!0:(T[e]=!0,!1))}function P(e,t,n,r,o,i,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=a}var L={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){L[e]=new P(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];L[t]=new P(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){L[e]=new P(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){L[e]=new P(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){L[e]=new P(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){L[e]=new P(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){L[e]=new P(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){L[e]=new P(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){L[e]=new P(e,5,!1,e.toLowerCase(),null,!1,!1)}));var M=/[\-:]([a-z])/g;function j(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(M,j);L[t]=new P(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(M,j);L[t]=new P(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(M,j);L[t]=new P(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){L[e]=new P(e,1,!1,e.toLowerCase(),null,!1,!1)})),L.xlinkHref=new P("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){L[e]=new P(e,1,!1,e.toLowerCase(),null,!0,!0)}));var F=/["'&<>]/;function B(e){if("boolean"===typeof e||"number"===typeof e)return""+e;e=""+e;var t=F.exec(e);if(t){var n,r="",o=0;for(n=t.index;n<e.length;n++){switch(e.charCodeAt(n)){case 34:t=""";break;case 38:t="&";break;case 39:t="'";break;case 60:t="<";break;case 62:t=">";break;default:continue}o!==n&&(r+=e.substring(o,n)),o=n+1,r+=t}e=o!==n?r+e.substring(o,n):r}return e}function z(e,t){var n,r=L.hasOwnProperty(e)?L[e]:null;return(n="style"!==e)&&(n=null!==r?0===r.type:2<e.length&&("o"===e[0]||"O"===e[0])&&("n"===e[1]||"N"===e[1])),n||function(e,t,n,r){if(null===t||"undefined"===typeof t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(e,t,r,!1)?"":null!==r?(e=r.attributeName,3===(n=r.type)||4===n&&!0===t?e+'=""':(r.sanitizeURL&&(t=""+t),e+'="'+B(t)+'"')):A(e)?e+'="'+B(t)+'"':""}var U="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t},W=null,H=null,G=null,V=!1,$=!1,q=null,K=0;function Y(){if(null===W)throw Error(i(321));return W}function Z(){if(0<K)throw Error(i(312));return{memoizedState:null,queue:null,next:null}}function X(){return null===G?null===H?(V=!1,H=G=Z()):(V=!0,G=H):null===G.next?(V=!1,G=G.next=Z()):(V=!0,G=G.next),G}function Q(e,t,n,r){for(;$;)$=!1,K+=1,G=null,n=e(t,r);return J(),n}function J(){W=null,$=!1,H=null,K=0,G=q=null}function ee(e,t){return"function"===typeof t?t(e):t}function te(e,t,n){if(W=Y(),G=X(),V){var r=G.queue;if(t=r.dispatch,null!==q&&void 0!==(n=q.get(r))){q.delete(r),r=G.memoizedState;do{r=e(r,n.action),n=n.next}while(null!==n);return G.memoizedState=r,[r,t]}return[G.memoizedState,t]}return e=e===ee?"function"===typeof t?t():t:void 0!==n?n(t):t,G.memoizedState=e,e=(e=G.queue={last:null,dispatch:null}).dispatch=re.bind(null,W,e),[G.memoizedState,e]}function ne(e,t){if(W=Y(),t=void 0===t?null:t,null!==(G=X())){var n=G.memoizedState;if(null!==n&&null!==t){var r=n[1];e:if(null===r)r=!1;else{for(var o=0;o<r.length&&o<t.length;o++)if(!U(t[o],r[o])){r=!1;break e}r=!0}if(r)return n[0]}}return e=e(),G.memoizedState=[e,t],e}function re(e,t,n){if(!(25>K))throw Error(i(301));if(e===W)if($=!0,e={action:n,next:null},null===q&&(q=new Map),void 0===(n=q.get(t)))q.set(t,e);else{for(t=n;null!==t.next;)t=t.next;t.next=e}}function oe(){}var ie=null,ae={readContext:function(e){var t=ie.threadID;return C(e,t),e[t]},useContext:function(e){Y();var t=ie.threadID;return C(e,t),e[t]},useMemo:ne,useReducer:te,useRef:function(e){W=Y();var t=(G=X()).memoizedState;return null===t?(e={current:e},G.memoizedState=e):t},useState:function(e){return te(ee,e)},useLayoutEffect:function(){},useCallback:function(e,t){return ne((function(){return e}),t)},useImperativeHandle:oe,useEffect:oe,useDebugValue:oe,useDeferredValue:function(e){return Y(),e},useTransition:function(){return Y(),[function(e){e()},!1]},useOpaqueIdentifier:function(){return(ie.identifierPrefix||"")+"R:"+(ie.uniqueID++).toString(36)},useMutableSource:function(e,t){return Y(),t(e._source)}},ue="http://www.w3.org/1999/xhtml";function le(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}var ce={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},se=r({menuitem:!0},ce),fe={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},de=["Webkit","ms","Moz","O"];Object.keys(fe).forEach((function(e){de.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),fe[t]=fe[e]}))}));var pe=/([A-Z])/g,he=/^ms-/,ve=o.Children.toArray,ge=S.ReactCurrentDispatcher,me={listing:!0,pre:!0,textarea:!0},ye=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,be={},we={};var xe=Object.prototype.hasOwnProperty,Ee={children:null,dangerouslySetInnerHTML:null,suppressContentEditableWarning:null,suppressHydrationWarning:null};function ke(e,t){if(void 0===e)throw Error(i(152,k(t)||"Component"))}function Se(e,t,n){function a(o,a){var u=a.prototype&&a.prototype.isReactComponent,l=function(e,t,n,r){if(r&&"object"===typeof(r=e.contextType)&&null!==r)return C(r,n),r[n];if(e=e.contextTypes){for(var o in n={},e)n[o]=t[o];t=n}else t=_;return t}(a,t,n,u),c=[],s=!1,f={isMounted:function(){return!1},enqueueForceUpdate:function(){if(null===c)return null},enqueueReplaceState:function(e,t){s=!0,c=[t]},enqueueSetState:function(e,t){if(null===c)return null;c.push(t)}};if(u){if(u=new a(o.props,l,f),"function"===typeof a.getDerivedStateFromProps){var d=a.getDerivedStateFromProps.call(null,o.props,u.state);null!=d&&(u.state=r({},u.state,d))}}else if(W={},u=a(o.props,l,f),null==(u=Q(a,o.props,u,l))||null==u.render)return void ke(e=u,a);if(u.props=o.props,u.context=l,u.updater=f,void 0===(f=u.state)&&(u.state=f=null),"function"===typeof u.UNSAFE_componentWillMount||"function"===typeof u.componentWillMount)if("function"===typeof u.componentWillMount&&"function"!==typeof a.getDerivedStateFromProps&&u.componentWillMount(),"function"===typeof u.UNSAFE_componentWillMount&&"function"!==typeof a.getDerivedStateFromProps&&u.UNSAFE_componentWillMount(),c.length){f=c;var p=s;if(c=null,s=!1,p&&1===f.length)u.state=f[0];else{d=p?f[0]:u.state;var h=!0;for(p=p?1:0;p<f.length;p++){var v=f[p];null!=(v="function"===typeof v?v.call(u,d,o.props,l):v)&&(h?(h=!1,d=r({},d,v)):r(d,v))}u.state=d}}else c=null;if(ke(e=u.render(),a),"function"===typeof u.getChildContext&&"object"===typeof(o=a.childContextTypes)){var g=u.getChildContext();for(var m in g)if(!(m in o))throw Error(i(108,k(a)||"Unknown",m))}g&&(t=r({},t,g))}for(;o.isValidElement(e);){var u=e,l=u.type;if("function"!==typeof l)break;a(u,l)}return{child:e,context:t}}var _e=function(){function e(e,t,n){o.isValidElement(e)?e.type!==u?e=[e]:(e=e.props.children,e=o.isValidElement(e)?[e]:ve(e)):e=ve(e),e={type:null,domNamespace:ue,children:e,childIndex:0,context:_,footer:""};var r=O[0];if(0===r){var a=O,l=2*(r=a.length);if(!(65536>=l))throw Error(i(304));var c=new Uint16Array(l);for(c.set(a),(O=c)[0]=r+1,a=r;a<l-1;a++)O[a]=a+1;O[l-1]=0}else O[0]=O[r];this.threadID=r,this.stack=[e],this.exhausted=!1,this.currentSelectValue=null,this.previousWasTextNode=!1,this.makeStaticMarkup=t,this.suspenseDepth=0,this.contextIndex=-1,this.contextStack=[],this.contextValueStack=[],this.uniqueID=0,this.identifierPrefix=n&&n.identifierPrefix||""}var t=e.prototype;return t.destroy=function(){if(!this.exhausted){this.exhausted=!0,this.clearProviders();var e=this.threadID;O[e]=O[0],O[0]=e}},t.pushProvider=function(e){var t=++this.contextIndex,n=e.type._context,r=this.threadID;C(n,r);var o=n[r];this.contextStack[t]=n,this.contextValueStack[t]=o,n[r]=e.props.value},t.popProvider=function(){var e=this.contextIndex,t=this.contextStack[e],n=this.contextValueStack[e];this.contextStack[e]=null,this.contextValueStack[e]=null,this.contextIndex--,t[this.threadID]=n},t.clearProviders=function(){for(var e=this.contextIndex;0<=e;e--)this.contextStack[e][this.threadID]=this.contextValueStack[e]},t.read=function(e){if(this.exhausted)return null;var t=ie;ie=this;var n=ge.current;ge.current=ae;try{for(var r=[""],o=!1;r[0].length<e;){if(0===this.stack.length){this.exhausted=!0;var a=this.threadID;O[a]=O[0],O[0]=a;break}var u=this.stack[this.stack.length-1];if(o||u.childIndex>=u.children.length){var l=u.footer;if(""!==l&&(this.previousWasTextNode=!1),this.stack.pop(),"select"===u.type)this.currentSelectValue=null;else if(null!=u.type&&null!=u.type.type&&u.type.type.$$typeof===s)this.popProvider(u.type);else if(u.type===p){this.suspenseDepth--;var c=r.pop();if(o){o=!1;var f=u.fallbackFrame;if(!f)throw Error(i(303));this.stack.push(f),r[this.suspenseDepth]+="\x3c!--$!--\x3e";continue}r[this.suspenseDepth]+=c}r[this.suspenseDepth]+=l}else{var d=u.children[u.childIndex++],h="";try{h+=this.render(d,u.context,u.domNamespace)}catch(v){if(null!=v&&"function"===typeof v.then)throw Error(i(294));throw v}r.length<=this.suspenseDepth&&r.push(""),r[this.suspenseDepth]+=h}}return r[0]}finally{ge.current=n,ie=t,J()}},t.render=function(e,t,n){if("string"===typeof e||"number"===typeof e)return""===(n=""+e)?"":this.makeStaticMarkup?B(n):this.previousWasTextNode?"\x3c!-- --\x3e"+B(n):(this.previousWasTextNode=!0,B(n));if(e=(t=Se(e,t,this.threadID)).child,t=t.context,null===e||!1===e)return"";if(!o.isValidElement(e)){if(null!=e&&null!=e.$$typeof){if((n=e.$$typeof)===a)throw Error(i(257));throw Error(i(258,n.toString()))}return e=ve(e),this.stack.push({type:null,domNamespace:n,children:e,childIndex:0,context:t,footer:""}),""}var m=e.type;if("string"===typeof m)return this.renderDOM(e,t,n);switch(m){case x:case w:case l:case c:case h:case u:return e=ve(e.props.children),this.stack.push({type:null,domNamespace:n,children:e,childIndex:0,context:t,footer:""}),"";case p:throw Error(i(294));case b:throw Error(i(343))}if("object"===typeof m&&null!==m)switch(m.$$typeof){case d:W={};var E=m.render(e.props,e.ref);return E=Q(m.render,e.props,E,e.ref),E=ve(E),this.stack.push({type:null,domNamespace:n,children:E,childIndex:0,context:t,footer:""}),"";case v:return e=[o.createElement(m.type,r({ref:e.ref},e.props))],this.stack.push({type:null,domNamespace:n,children:e,childIndex:0,context:t,footer:""}),"";case s:return n={type:e,domNamespace:n,children:m=ve(e.props.children),childIndex:0,context:t,footer:""},this.pushProvider(e),this.stack.push(n),"";case f:m=e.type,E=e.props;var k=this.threadID;return C(m,k),m=ve(E.children(m[k])),this.stack.push({type:e,domNamespace:n,children:m,childIndex:0,context:t,footer:""}),"";case y:throw Error(i(338));case g:return m=(E=(m=e.type)._init)(m._payload),e=[o.createElement(m,r({ref:e.ref},e.props))],this.stack.push({type:null,domNamespace:n,children:e,childIndex:0,context:t,footer:""}),""}throw Error(i(130,null==m?m:typeof m,""))},t.renderDOM=function(e,t,n){var a=e.type.toLowerCase();if(n===ue&&le(a),!be.hasOwnProperty(a)){if(!ye.test(a))throw Error(i(65,a));be[a]=!0}var u=e.props;if("input"===a)u=r({type:void 0},u,{defaultChecked:void 0,defaultValue:void 0,value:null!=u.value?u.value:u.defaultValue,checked:null!=u.checked?u.checked:u.defaultChecked});else if("textarea"===a){var l=u.value;if(null==l){l=u.defaultValue;var c=u.children;if(null!=c){if(null!=l)throw Error(i(92));if(Array.isArray(c)){if(!(1>=c.length))throw Error(i(93));c=c[0]}l=""+c}null==l&&(l="")}u=r({},u,{value:void 0,children:""+l})}else if("select"===a)this.currentSelectValue=null!=u.value?u.value:u.defaultValue,u=r({},u,{value:void 0});else if("option"===a){c=this.currentSelectValue;var s=function(e){if(void 0===e||null===e)return e;var t="";return o.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(u.children);if(null!=c){var f=null!=u.value?u.value+"":s;if(l=!1,Array.isArray(c)){for(var d=0;d<c.length;d++)if(""+c[d]===f){l=!0;break}}else l=""+c===f;u=r({selected:void 0,children:void 0},u,{selected:l,children:s})}}if(l=u){if(se[a]&&(null!=l.children||null!=l.dangerouslySetInnerHTML))throw Error(i(137,a));if(null!=l.dangerouslySetInnerHTML){if(null!=l.children)throw Error(i(60));if("object"!==typeof l.dangerouslySetInnerHTML||!("__html"in l.dangerouslySetInnerHTML))throw Error(i(61))}if(null!=l.style&&"object"!==typeof l.style)throw Error(i(62))}l=u,c=this.makeStaticMarkup,s=1===this.stack.length,f="<"+e.type;e:if(-1===a.indexOf("-"))d="string"===typeof l.is;else switch(a){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":d=!1;break e;default:d=!0}for(x in l)if(xe.call(l,x)){var p=l[x];if(null!=p){if("style"===x){var h=void 0,v="",g="";for(h in p)if(p.hasOwnProperty(h)){var m=0===h.indexOf("--"),y=p[h];if(null!=y){if(m)var b=h;else if(b=h,we.hasOwnProperty(b))b=we[b];else{var w=b.replace(pe,"-$1").toLowerCase().replace(he,"-ms-");b=we[b]=w}v+=g+b+":",g=h,v+=m=null==y||"boolean"===typeof y||""===y?"":m||"number"!==typeof y||0===y||fe.hasOwnProperty(g)&&fe[g]?(""+y).trim():y+"px",g=";"}}p=v||null}h=null,d?Ee.hasOwnProperty(x)||(h=A(h=x)&&null!=p?h+'="'+B(p)+'"':""):h=z(x,p),h&&(f+=" "+h)}}c||s&&(f+=' data-reactroot=""');var x=f;l="",ce.hasOwnProperty(a)?x+="/>":(x+=">",l="</"+e.type+">");e:{if(null!=(c=u.dangerouslySetInnerHTML)){if(null!=c.__html){c=c.__html;break e}}else if("string"===typeof(c=u.children)||"number"===typeof c){c=B(c);break e}c=null}return null!=c?(u=[],me.hasOwnProperty(a)&&"\n"===c.charAt(0)&&(x+="\n"),x+=c):u=ve(u.children),e=e.type,n=null==n||"http://www.w3.org/1999/xhtml"===n?le(e):"http://www.w3.org/2000/svg"===n&&"foreignObject"===e?"http://www.w3.org/1999/xhtml":n,this.stack.push({domNamespace:n,type:a,children:u,childIndex:0,context:t,footer:l}),this.previousWasTextNode=!1,x},e}();t.renderToString=function(e,t){e=new _e(e,!1,t);try{return e.read(1/0)}finally{e.destroy()}}},463:function(e,t,n){"use strict";var r=n(791),o=n(725),i=n(296);function a(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!r)throw Error(a(227));var u=new Set,l={};function c(e,t){s(e,t),s(e+"Capture",t)}function s(e,t){for(l[e]=t,e=0;e<t.length;e++)u.add(t[e])}var f=!("undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement),d=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,p=Object.prototype.hasOwnProperty,h={},v={};function g(e,t,n,r,o,i,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=a}var m={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){m[e]=new g(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];m[t]=new g(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){m[e]=new g(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){m[e]=new g(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){m[e]=new g(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){m[e]=new g(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){m[e]=new g(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){m[e]=new g(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){m[e]=new g(e,5,!1,e.toLowerCase(),null,!1,!1)}));var y=/[\-:]([a-z])/g;function b(e){return e[1].toUpperCase()}function w(e,t,n,r){var o=m.hasOwnProperty(t)?m[t]:null;(null!==o?0===o.type:!r&&(2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1])))||(function(e,t,n,r){if(null===t||"undefined"===typeof t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,o,r)&&(n=null),r||null===o?function(e){return!!p.call(v,e)||!p.call(h,e)&&(d.test(e)?v[e]=!0:(h[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(o=o.type)||4===o&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(y,b);m[t]=new g(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(y,b);m[t]=new g(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(y,b);m[t]=new g(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){m[e]=new g(e,1,!1,e.toLowerCase(),null,!1,!1)})),m.xlinkHref=new g("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){m[e]=new g(e,1,!1,e.toLowerCase(),null,!0,!0)}));var x=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,E=60103,k=60106,S=60107,_=60108,C=60114,O=60109,I=60110,N=60112,D=60113,T=60120,R=60115,A=60116,P=60121,L=60128,M=60129,j=60130,F=60131;if("function"===typeof Symbol&&Symbol.for){var B=Symbol.for;E=B("react.element"),k=B("react.portal"),S=B("react.fragment"),_=B("react.strict_mode"),C=B("react.profiler"),O=B("react.provider"),I=B("react.context"),N=B("react.forward_ref"),D=B("react.suspense"),T=B("react.suspense_list"),R=B("react.memo"),A=B("react.lazy"),P=B("react.block"),B("react.scope"),L=B("react.opaque.id"),M=B("react.debug_trace_mode"),j=B("react.offscreen"),F=B("react.legacy_hidden")}var z,U="function"===typeof Symbol&&Symbol.iterator;function W(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=U&&e[U]||e["@@iterator"])?e:null}function H(e){if(void 0===z)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);z=t&&t[1]||""}return"\n"+z+e}var G=!1;function V(e,t){if(!e||G)return"";G=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"===typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(l){var r=l}Reflect.construct(e,[],t)}else{try{t.call()}catch(l){r=l}e.call(t.prototype)}else{try{throw Error()}catch(l){r=l}e()}}catch(l){if(l&&r&&"string"===typeof l.stack){for(var o=l.stack.split("\n"),i=r.stack.split("\n"),a=o.length-1,u=i.length-1;1<=a&&0<=u&&o[a]!==i[u];)u--;for(;1<=a&&0<=u;a--,u--)if(o[a]!==i[u]){if(1!==a||1!==u)do{if(a--,0>--u||o[a]!==i[u])return"\n"+o[a].replace(" at new "," at ")}while(1<=a&&0<=u);break}}}finally{G=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?H(e):""}function $(e){switch(e.tag){case 5:return H(e.type);case 16:return H("Lazy");case 13:return H("Suspense");case 19:return H("SuspenseList");case 0:case 2:case 15:return e=V(e.type,!1);case 11:return e=V(e.type.render,!1);case 22:return e=V(e.type._render,!1);case 1:return e=V(e.type,!0);default:return""}}function q(e){if(null==e)return null;if("function"===typeof e)return e.displayName||e.name||null;if("string"===typeof e)return e;switch(e){case S:return"Fragment";case k:return"Portal";case C:return"Profiler";case _:return"StrictMode";case D:return"Suspense";case T:return"SuspenseList"}if("object"===typeof e)switch(e.$$typeof){case I:return(e.displayName||"Context")+".Consumer";case O:return(e._context.displayName||"Context")+".Provider";case N:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case R:return q(e.type);case P:return q(e._render);case A:t=e._payload,e=e._init;try{return q(e(t))}catch(n){}}return null}function K(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function Y(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function Z(e){e._valueTracker||(e._valueTracker=function(e){var t=Y(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&"undefined"!==typeof n&&"function"===typeof n.get&&"function"===typeof n.set){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=""+e,i.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function X(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Y(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function Q(e){if("undefined"===typeof(e=e||("undefined"!==typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function J(e,t){var n=t.checked;return o({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function ee(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=K(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function te(e,t){null!=(t=t.checked)&&w(e,"checked",t,!1)}function ne(e,t){te(e,t);var n=K(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?oe(e,t.type,n):t.hasOwnProperty("defaultValue")&&oe(e,t.type,K(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function re(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function oe(e,t,n){"number"===t&&Q(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function ie(e,t){return e=o({children:void 0},t),(t=function(e){var t="";return r.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(t.children))&&(e.children=t),e}function ae(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+K(n),t=null,o=0;o<e.length;o++){if(e[o].value===n)return e[o].selected=!0,void(r&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function ue(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(a(91));return o({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function le(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(a(92));if(Array.isArray(n)){if(!(1>=n.length))throw Error(a(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:K(n)}}function ce(e,t){var n=K(t.value),r=K(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function se(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}var fe="http://www.w3.org/1999/xhtml",de="http://www.w3.org/2000/svg";function pe(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function he(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?pe(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var ve,ge,me=(ge=function(e,t){if(e.namespaceURI!==de||"innerHTML"in e)e.innerHTML=t;else{for((ve=ve||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ve.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!==typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return ge(e,t)}))}:ge);function ye(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var be={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},we=["Webkit","ms","Moz","O"];function xe(e,t,n){return null==t||"boolean"===typeof t||""===t?"":n||"number"!==typeof t||0===t||be.hasOwnProperty(e)&&be[e]?(""+t).trim():t+"px"}function Ee(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=xe(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(be).forEach((function(e){we.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),be[t]=be[e]}))}));var ke=o({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Se(e,t){if(t){if(ke[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(a(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(a(60));if("object"!==typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(a(61))}if(null!=t.style&&"object"!==typeof t.style)throw Error(a(62))}}function _e(e,t){if(-1===e.indexOf("-"))return"string"===typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function Ce(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Oe=null,Ie=null,Ne=null;function De(e){if(e=ro(e)){if("function"!==typeof Oe)throw Error(a(280));var t=e.stateNode;t&&(t=io(t),Oe(e.stateNode,e.type,t))}}function Te(e){Ie?Ne?Ne.push(e):Ne=[e]:Ie=e}function Re(){if(Ie){var e=Ie,t=Ne;if(Ne=Ie=null,De(e),t)for(e=0;e<t.length;e++)De(t[e])}}function Ae(e,t){return e(t)}function Pe(e,t,n,r,o){return e(t,n,r,o)}function Le(){}var Me=Ae,je=!1,Fe=!1;function Be(){null===Ie&&null===Ne||(Le(),Re())}function ze(e,t){var n=e.stateNode;if(null===n)return null;var r=io(n);if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!==typeof n)throw Error(a(231,t,typeof n));return n}var Ue=!1;if(f)try{var We={};Object.defineProperty(We,"passive",{get:function(){Ue=!0}}),window.addEventListener("test",We,We),window.removeEventListener("test",We,We)}catch(ge){Ue=!1}function He(e,t,n,r,o,i,a,u,l){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(s){this.onError(s)}}var Ge=!1,Ve=null,$e=!1,qe=null,Ke={onError:function(e){Ge=!0,Ve=e}};function Ye(e,t,n,r,o,i,a,u,l){Ge=!1,Ve=null,He.apply(Ke,arguments)}function Ze(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!==(1026&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function Xe(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function Qe(e){if(Ze(e)!==e)throw Error(a(188))}function Je(e){if(e=function(e){var t=e.alternate;if(!t){if(null===(t=Ze(e)))throw Error(a(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(null===o)break;var i=o.alternate;if(null===i){if(null!==(r=o.return)){n=r;continue}break}if(o.child===i.child){for(i=o.child;i;){if(i===n)return Qe(o),e;if(i===r)return Qe(o),t;i=i.sibling}throw Error(a(188))}if(n.return!==r.return)n=o,r=i;else{for(var u=!1,l=o.child;l;){if(l===n){u=!0,n=o,r=i;break}if(l===r){u=!0,r=o,n=i;break}l=l.sibling}if(!u){for(l=i.child;l;){if(l===n){u=!0,n=i,r=o;break}if(l===r){u=!0,r=i,n=o;break}l=l.sibling}if(!u)throw Error(a(189))}}if(n.alternate!==r)throw Error(a(190))}if(3!==n.tag)throw Error(a(188));return n.stateNode.current===n?e:t}(e),!e)return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function et(e,t){for(var n=e.alternate;null!==t;){if(t===e||t===n)return!0;t=t.return}return!1}var tt,nt,rt,ot,it=!1,at=[],ut=null,lt=null,ct=null,st=new Map,ft=new Map,dt=[],pt="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function ht(e,t,n,r,o){return{blockedOn:e,domEventName:t,eventSystemFlags:16|n,nativeEvent:o,targetContainers:[r]}}function vt(e,t){switch(e){case"focusin":case"focusout":ut=null;break;case"dragenter":case"dragleave":lt=null;break;case"mouseover":case"mouseout":ct=null;break;case"pointerover":case"pointerout":st.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":ft.delete(t.pointerId)}}function gt(e,t,n,r,o,i){return null===e||e.nativeEvent!==i?(e=ht(t,n,r,o,i),null!==t&&(null!==(t=ro(t))&&nt(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o),e)}function mt(e){var t=no(e.target);if(null!==t){var n=Ze(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=Xe(n)))return e.blockedOn=t,void ot(e.lanePriority,(function(){i.unstable_runWithPriority(e.priority,(function(){rt(n)}))}))}else if(3===t&&n.stateNode.hydrate)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function yt(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Jt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=ro(n))&&nt(t),e.blockedOn=n,!1;t.shift()}return!0}function bt(e,t,n){yt(e)&&n.delete(t)}function wt(){for(it=!1;0<at.length;){var e=at[0];if(null!==e.blockedOn){null!==(e=ro(e.blockedOn))&&tt(e);break}for(var t=e.targetContainers;0<t.length;){var n=Jt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n){e.blockedOn=n;break}t.shift()}null===e.blockedOn&&at.shift()}null!==ut&&yt(ut)&&(ut=null),null!==lt&&yt(lt)&&(lt=null),null!==ct&&yt(ct)&&(ct=null),st.forEach(bt),ft.forEach(bt)}function xt(e,t){e.blockedOn===t&&(e.blockedOn=null,it||(it=!0,i.unstable_scheduleCallback(i.unstable_NormalPriority,wt)))}function Et(e){function t(t){return xt(t,e)}if(0<at.length){xt(at[0],e);for(var n=1;n<at.length;n++){var r=at[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==ut&&xt(ut,e),null!==lt&&xt(lt,e),null!==ct&&xt(ct,e),st.forEach(t),ft.forEach(t),n=0;n<dt.length;n++)(r=dt[n]).blockedOn===e&&(r.blockedOn=null);for(;0<dt.length&&null===(n=dt[0]).blockedOn;)mt(n),null===n.blockedOn&&dt.shift()}function kt(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var St={animationend:kt("Animation","AnimationEnd"),animationiteration:kt("Animation","AnimationIteration"),animationstart:kt("Animation","AnimationStart"),transitionend:kt("Transition","TransitionEnd")},_t={},Ct={};function Ot(e){if(_t[e])return _t[e];if(!St[e])return e;var t,n=St[e];for(t in n)if(n.hasOwnProperty(t)&&t in Ct)return _t[e]=n[t];return e}f&&(Ct=document.createElement("div").style,"AnimationEvent"in window||(delete St.animationend.animation,delete St.animationiteration.animation,delete St.animationstart.animation),"TransitionEvent"in window||delete St.transitionend.transition);var It=Ot("animationend"),Nt=Ot("animationiteration"),Dt=Ot("animationstart"),Tt=Ot("transitionend"),Rt=new Map,At=new Map,Pt=["abort","abort",It,"animationEnd",Nt,"animationIteration",Dt,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",Tt,"transitionEnd","waiting","waiting"];function Lt(e,t){for(var n=0;n<e.length;n+=2){var r=e[n],o=e[n+1];o="on"+(o[0].toUpperCase()+o.slice(1)),At.set(r,t),Rt.set(r,o),c(o,[r])}}(0,i.unstable_now)();var Mt=8;function jt(e){if(0!==(1&e))return Mt=15,1;if(0!==(2&e))return Mt=14,2;if(0!==(4&e))return Mt=13,4;var t=24&e;return 0!==t?(Mt=12,t):0!==(32&e)?(Mt=11,32):0!==(t=192&e)?(Mt=10,t):0!==(256&e)?(Mt=9,256):0!==(t=3584&e)?(Mt=8,t):0!==(4096&e)?(Mt=7,4096):0!==(t=4186112&e)?(Mt=6,t):0!==(t=62914560&e)?(Mt=5,t):67108864&e?(Mt=4,67108864):0!==(134217728&e)?(Mt=3,134217728):0!==(t=805306368&e)?(Mt=2,t):0!==(1073741824&e)?(Mt=1,1073741824):(Mt=8,e)}function Ft(e,t){var n=e.pendingLanes;if(0===n)return Mt=0;var r=0,o=0,i=e.expiredLanes,a=e.suspendedLanes,u=e.pingedLanes;if(0!==i)r=i,o=Mt=15;else if(0!==(i=134217727&n)){var l=i&~a;0!==l?(r=jt(l),o=Mt):0!==(u&=i)&&(r=jt(u),o=Mt)}else 0!==(i=n&~a)?(r=jt(i),o=Mt):0!==u&&(r=jt(u),o=Mt);if(0===r)return 0;if(r=n&((0>(r=31-Gt(r))?0:1<<r)<<1)-1,0!==t&&t!==r&&0===(t&a)){if(jt(t),o<=Mt)return t;Mt=o}if(0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)o=1<<(n=31-Gt(t)),r|=e[n],t&=~o;return r}function Bt(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function zt(e,t){switch(e){case 15:return 1;case 14:return 2;case 12:return 0===(e=Ut(24&~t))?zt(10,t):e;case 10:return 0===(e=Ut(192&~t))?zt(8,t):e;case 8:return 0===(e=Ut(3584&~t))&&(0===(e=Ut(4186112&~t))&&(e=512)),e;case 2:return 0===(t=Ut(805306368&~t))&&(t=268435456),t}throw Error(a(358,e))}function Ut(e){return e&-e}function Wt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Ht(e,t,n){e.pendingLanes|=t;var r=t-1;e.suspendedLanes&=r,e.pingedLanes&=r,(e=e.eventTimes)[t=31-Gt(t)]=n}var Gt=Math.clz32?Math.clz32:function(e){return 0===e?32:31-(Vt(e)/$t|0)|0},Vt=Math.log,$t=Math.LN2;var qt=i.unstable_UserBlockingPriority,Kt=i.unstable_runWithPriority,Yt=!0;function Zt(e,t,n,r){je||Le();var o=Qt,i=je;je=!0;try{Pe(o,e,t,n,r)}finally{(je=i)||Be()}}function Xt(e,t,n,r){Kt(qt,Qt.bind(null,e,t,n,r))}function Qt(e,t,n,r){var o;if(Yt)if((o=0===(4&t))&&0<at.length&&-1<pt.indexOf(e))e=ht(null,e,t,n,r),at.push(e);else{var i=Jt(e,t,n,r);if(null===i)o&&vt(e,r);else{if(o){if(-1<pt.indexOf(e))return e=ht(i,e,t,n,r),void at.push(e);if(function(e,t,n,r,o){switch(t){case"focusin":return ut=gt(ut,e,t,n,r,o),!0;case"dragenter":return lt=gt(lt,e,t,n,r,o),!0;case"mouseover":return ct=gt(ct,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return st.set(i,gt(st.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,ft.set(i,gt(ft.get(i)||null,e,t,n,r,o)),!0}return!1}(i,e,t,n,r))return;vt(e,r)}Lr(e,t,r,null,n)}}}function Jt(e,t,n,r){var o=Ce(r);if(null!==(o=no(o))){var i=Ze(o);if(null===i)o=null;else{var a=i.tag;if(13===a){if(null!==(o=Xe(i)))return o;o=null}else if(3===a){if(i.stateNode.hydrate)return 3===i.tag?i.stateNode.containerInfo:null;o=null}else i!==o&&(o=null)}}return Lr(e,t,r,o,n),null}var en=null,tn=null,nn=null;function rn(){if(nn)return nn;var e,t,n=tn,r=n.length,o="value"in en?en.value:en.textContent,i=o.length;for(e=0;e<r&&n[e]===o[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===o[i-t];t++);return nn=o.slice(e,1<t?1-t:void 0)}function on(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function an(){return!0}function un(){return!1}function ln(e){function t(t,n,r,o,i){for(var a in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=o,this.target=i,this.currentTarget=null,e)e.hasOwnProperty(a)&&(t=e[a],this[a]=t?t(o):o[a]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?an:un,this.isPropagationStopped=un,this}return o(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!==typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=an)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!==typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=an)},persist:function(){},isPersistent:an}),t}var cn,sn,fn,dn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},pn=ln(dn),hn=o({},dn,{view:0,detail:0}),vn=ln(hn),gn=o({},hn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:In,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==fn&&(fn&&"mousemove"===e.type?(cn=e.screenX-fn.screenX,sn=e.screenY-fn.screenY):sn=cn=0,fn=e),cn)},movementY:function(e){return"movementY"in e?e.movementY:sn}}),mn=ln(gn),yn=ln(o({},gn,{dataTransfer:0})),bn=ln(o({},hn,{relatedTarget:0})),wn=ln(o({},dn,{animationName:0,elapsedTime:0,pseudoElement:0})),xn=o({},dn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),En=ln(xn),kn=ln(o({},dn,{data:0})),Sn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},_n={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Cn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function On(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Cn[e])&&!!t[e]}function In(){return On}var Nn=o({},hn,{key:function(e){if(e.key){var t=Sn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=on(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?_n[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:In,charCode:function(e){return"keypress"===e.type?on(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?on(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),Dn=ln(Nn),Tn=ln(o({},gn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Rn=ln(o({},hn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:In})),An=ln(o({},dn,{propertyName:0,elapsedTime:0,pseudoElement:0})),Pn=o({},gn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Ln=ln(Pn),Mn=[9,13,27,32],jn=f&&"CompositionEvent"in window,Fn=null;f&&"documentMode"in document&&(Fn=document.documentMode);var Bn=f&&"TextEvent"in window&&!Fn,zn=f&&(!jn||Fn&&8<Fn&&11>=Fn),Un=String.fromCharCode(32),Wn=!1;function Hn(e,t){switch(e){case"keyup":return-1!==Mn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Gn(e){return"object"===typeof(e=e.detail)&&"data"in e?e.data:null}var Vn=!1;var $n={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function qn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!$n[e.type]:"textarea"===t}function Kn(e,t,n,r){Te(r),0<(t=jr(t,"onChange")).length&&(n=new pn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Yn=null,Zn=null;function Xn(e){Nr(e,0)}function Qn(e){if(X(oo(e)))return e}function Jn(e,t){if("change"===e)return t}var er=!1;if(f){var tr;if(f){var nr="oninput"in document;if(!nr){var rr=document.createElement("div");rr.setAttribute("oninput","return;"),nr="function"===typeof rr.oninput}tr=nr}else tr=!1;er=tr&&(!document.documentMode||9<document.documentMode)}function or(){Yn&&(Yn.detachEvent("onpropertychange",ir),Zn=Yn=null)}function ir(e){if("value"===e.propertyName&&Qn(Zn)){var t=[];if(Kn(t,Zn,e,Ce(e)),e=Xn,je)e(t);else{je=!0;try{Ae(e,t)}finally{je=!1,Be()}}}}function ar(e,t,n){"focusin"===e?(or(),Zn=n,(Yn=t).attachEvent("onpropertychange",ir)):"focusout"===e&&or()}function ur(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Qn(Zn)}function lr(e,t){if("click"===e)return Qn(t)}function cr(e,t){if("input"===e||"change"===e)return Qn(t)}var sr="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t},fr=Object.prototype.hasOwnProperty;function dr(e,t){if(sr(e,t))return!0;if("object"!==typeof e||null===e||"object"!==typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++)if(!fr.call(t,n[r])||!sr(e[n[r]],t[n[r]]))return!1;return!0}function pr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function hr(e,t){var n,r=pr(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=pr(r)}}function vr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?vr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function gr(){for(var e=window,t=Q();t instanceof e.HTMLIFrameElement;){try{var n="string"===typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=Q((e=t.contentWindow).document)}return t}function mr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var yr=f&&"documentMode"in document&&11>=document.documentMode,br=null,wr=null,xr=null,Er=!1;function kr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;Er||null==br||br!==Q(r)||("selectionStart"in(r=br)&&mr(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},xr&&dr(xr,r)||(xr=r,0<(r=jr(wr,"onSelect")).length&&(t=new pn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=br)))}Lt("cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focusin focus focusout blur input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),Lt("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),Lt(Pt,2);for(var Sr="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),_r=0;_r<Sr.length;_r++)At.set(Sr[_r],0);s("onMouseEnter",["mouseout","mouseover"]),s("onMouseLeave",["mouseout","mouseover"]),s("onPointerEnter",["pointerout","pointerover"]),s("onPointerLeave",["pointerout","pointerover"]),c("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),c("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),c("onBeforeInput",["compositionend","keypress","textInput","paste"]),c("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),c("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),c("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Cr="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Or=new Set("cancel close invalid load scroll toggle".split(" ").concat(Cr));function Ir(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,o,i,u,l,c){if(Ye.apply(this,arguments),Ge){if(!Ge)throw Error(a(198));var s=Ve;Ge=!1,Ve=null,$e||($e=!0,qe=s)}}(r,t,void 0,e),e.currentTarget=null}function Nr(e,t){t=0!==(4&t);for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var i=void 0;if(t)for(var a=r.length-1;0<=a;a--){var u=r[a],l=u.instance,c=u.currentTarget;if(u=u.listener,l!==i&&o.isPropagationStopped())break e;Ir(o,u,c),i=l}else for(a=0;a<r.length;a++){if(l=(u=r[a]).instance,c=u.currentTarget,u=u.listener,l!==i&&o.isPropagationStopped())break e;Ir(o,u,c),i=l}}}if($e)throw e=qe,$e=!1,qe=null,e}function Dr(e,t){var n=ao(t),r=e+"__bubble";n.has(r)||(Pr(t,e,2,!1),n.add(r))}var Tr="_reactListening"+Math.random().toString(36).slice(2);function Rr(e){e[Tr]||(e[Tr]=!0,u.forEach((function(t){Or.has(t)||Ar(t,!1,e,null),Ar(t,!0,e,null)})))}function Ar(e,t,n,r){var o=4<arguments.length&&void 0!==arguments[4]?arguments[4]:0,i=n;if("selectionchange"===e&&9!==n.nodeType&&(i=n.ownerDocument),null!==r&&!t&&Or.has(e)){if("scroll"!==e)return;o|=2,i=r}var a=ao(i),u=e+"__"+(t?"capture":"bubble");a.has(u)||(t&&(o|=4),Pr(i,e,o,t),a.add(u))}function Pr(e,t,n,r){var o=At.get(t);switch(void 0===o?2:o){case 0:o=Zt;break;case 1:o=Xt;break;default:o=Qt}n=o.bind(null,t,n,e),o=void 0,!Ue||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(o=!0),r?void 0!==o?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):void 0!==o?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function Lr(e,t,n,r,o){var i=r;if(0===(1&t)&&0===(2&t)&&null!==r)e:for(;;){if(null===r)return;var a=r.tag;if(3===a||4===a){var u=r.stateNode.containerInfo;if(u===o||8===u.nodeType&&u.parentNode===o)break;if(4===a)for(a=r.return;null!==a;){var l=a.tag;if((3===l||4===l)&&((l=a.stateNode.containerInfo)===o||8===l.nodeType&&l.parentNode===o))return;a=a.return}for(;null!==u;){if(null===(a=no(u)))return;if(5===(l=a.tag)||6===l){r=i=a;continue e}u=u.parentNode}}r=r.return}!function(e,t,n){if(Fe)return e(t,n);Fe=!0;try{Me(e,t,n)}finally{Fe=!1,Be()}}((function(){var r=i,o=Ce(n),a=[];e:{var u=Rt.get(e);if(void 0!==u){var l=pn,c=e;switch(e){case"keypress":if(0===on(n))break e;case"keydown":case"keyup":l=Dn;break;case"focusin":c="focus",l=bn;break;case"focusout":c="blur",l=bn;break;case"beforeblur":case"afterblur":l=bn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":l=mn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":l=yn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":l=Rn;break;case It:case Nt:case Dt:l=wn;break;case Tt:l=An;break;case"scroll":l=vn;break;case"wheel":l=Ln;break;case"copy":case"cut":case"paste":l=En;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":l=Tn}var s=0!==(4&t),f=!s&&"scroll"===e,d=s?null!==u?u+"Capture":null:u;s=[];for(var p,h=r;null!==h;){var v=(p=h).stateNode;if(5===p.tag&&null!==v&&(p=v,null!==d&&(null!=(v=ze(h,d))&&s.push(Mr(h,v,p)))),f)break;h=h.return}0<s.length&&(u=new l(u,c,null,n,o),a.push({event:u,listeners:s}))}}if(0===(7&t)){if(l="mouseout"===e||"pointerout"===e,(!(u="mouseover"===e||"pointerover"===e)||0!==(16&t)||!(c=n.relatedTarget||n.fromElement)||!no(c)&&!c[eo])&&(l||u)&&(u=o.window===o?o:(u=o.ownerDocument)?u.defaultView||u.parentWindow:window,l?(l=r,null!==(c=(c=n.relatedTarget||n.toElement)?no(c):null)&&(c!==(f=Ze(c))||5!==c.tag&&6!==c.tag)&&(c=null)):(l=null,c=r),l!==c)){if(s=mn,v="onMouseLeave",d="onMouseEnter",h="mouse","pointerout"!==e&&"pointerover"!==e||(s=Tn,v="onPointerLeave",d="onPointerEnter",h="pointer"),f=null==l?u:oo(l),p=null==c?u:oo(c),(u=new s(v,h+"leave",l,n,o)).target=f,u.relatedTarget=p,v=null,no(o)===r&&((s=new s(d,h+"enter",c,n,o)).target=p,s.relatedTarget=f,v=s),f=v,l&&c)e:{for(d=c,h=0,p=s=l;p;p=Fr(p))h++;for(p=0,v=d;v;v=Fr(v))p++;for(;0<h-p;)s=Fr(s),h--;for(;0<p-h;)d=Fr(d),p--;for(;h--;){if(s===d||null!==d&&s===d.alternate)break e;s=Fr(s),d=Fr(d)}s=null}else s=null;null!==l&&Br(a,u,l,s,!1),null!==c&&null!==f&&Br(a,f,c,s,!0)}if("select"===(l=(u=r?oo(r):window).nodeName&&u.nodeName.toLowerCase())||"input"===l&&"file"===u.type)var g=Jn;else if(qn(u))if(er)g=cr;else{g=ur;var m=ar}else(l=u.nodeName)&&"input"===l.toLowerCase()&&("checkbox"===u.type||"radio"===u.type)&&(g=lr);switch(g&&(g=g(e,r))?Kn(a,g,n,o):(m&&m(e,u,r),"focusout"===e&&(m=u._wrapperState)&&m.controlled&&"number"===u.type&&oe(u,"number",u.value)),m=r?oo(r):window,e){case"focusin":(qn(m)||"true"===m.contentEditable)&&(br=m,wr=r,xr=null);break;case"focusout":xr=wr=br=null;break;case"mousedown":Er=!0;break;case"contextmenu":case"mouseup":case"dragend":Er=!1,kr(a,n,o);break;case"selectionchange":if(yr)break;case"keydown":case"keyup":kr(a,n,o)}var y;if(jn)e:{switch(e){case"compositionstart":var b="onCompositionStart";break e;case"compositionend":b="onCompositionEnd";break e;case"compositionupdate":b="onCompositionUpdate";break e}b=void 0}else Vn?Hn(e,n)&&(b="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(b="onCompositionStart");b&&(zn&&"ko"!==n.locale&&(Vn||"onCompositionStart"!==b?"onCompositionEnd"===b&&Vn&&(y=rn()):(tn="value"in(en=o)?en.value:en.textContent,Vn=!0)),0<(m=jr(r,b)).length&&(b=new kn(b,e,null,n,o),a.push({event:b,listeners:m}),y?b.data=y:null!==(y=Gn(n))&&(b.data=y))),(y=Bn?function(e,t){switch(e){case"compositionend":return Gn(t);case"keypress":return 32!==t.which?null:(Wn=!0,Un);case"textInput":return(e=t.data)===Un&&Wn?null:e;default:return null}}(e,n):function(e,t){if(Vn)return"compositionend"===e||!jn&&Hn(e,t)?(e=rn(),nn=tn=en=null,Vn=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return zn&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(r=jr(r,"onBeforeInput")).length&&(o=new kn("onBeforeInput","beforeinput",null,n,o),a.push({event:o,listeners:r}),o.data=y))}Nr(a,t)}))}function Mr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function jr(e,t){for(var n=t+"Capture",r=[];null!==e;){var o=e,i=o.stateNode;5===o.tag&&null!==i&&(o=i,null!=(i=ze(e,n))&&r.unshift(Mr(e,i,o)),null!=(i=ze(e,t))&&r.push(Mr(e,i,o))),e=e.return}return r}function Fr(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Br(e,t,n,r,o){for(var i=t._reactName,a=[];null!==n&&n!==r;){var u=n,l=u.alternate,c=u.stateNode;if(null!==l&&l===r)break;5===u.tag&&null!==c&&(u=c,o?null!=(l=ze(n,i))&&a.unshift(Mr(n,l,u)):o||null!=(l=ze(n,i))&&a.push(Mr(n,l,u))),n=n.return}0!==a.length&&e.push({event:t,listeners:a})}function zr(){}var Ur=null,Wr=null;function Hr(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function Gr(e,t){return"textarea"===e||"option"===e||"noscript"===e||"string"===typeof t.children||"number"===typeof t.children||"object"===typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var Vr="function"===typeof setTimeout?setTimeout:void 0,$r="function"===typeof clearTimeout?clearTimeout:void 0;function qr(e){1===e.nodeType?e.textContent="":9===e.nodeType&&(null!=(e=e.body)&&(e.textContent=""))}function Kr(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}function Yr(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var Zr=0;var Xr=Math.random().toString(36).slice(2),Qr="__reactFiber$"+Xr,Jr="__reactProps$"+Xr,eo="__reactContainer$"+Xr,to="__reactEvents$"+Xr;function no(e){var t=e[Qr];if(t)return t;for(var n=e.parentNode;n;){if(t=n[eo]||n[Qr]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=Yr(e);null!==e;){if(n=e[Qr])return n;e=Yr(e)}return t}n=(e=n).parentNode}return null}function ro(e){return!(e=e[Qr]||e[eo])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function oo(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(a(33))}function io(e){return e[Jr]||null}function ao(e){var t=e[to];return void 0===t&&(t=e[to]=new Set),t}var uo=[],lo=-1;function co(e){return{current:e}}function so(e){0>lo||(e.current=uo[lo],uo[lo]=null,lo--)}function fo(e,t){lo++,uo[lo]=e.current,e.current=t}var po={},ho=co(po),vo=co(!1),go=po;function mo(e,t){var n=e.type.contextTypes;if(!n)return po;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,i={};for(o in n)i[o]=t[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function yo(e){return null!==(e=e.childContextTypes)&&void 0!==e}function bo(){so(vo),so(ho)}function wo(e,t,n){if(ho.current!==po)throw Error(a(168));fo(ho,t),fo(vo,n)}function xo(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,"function"!==typeof r.getChildContext)return n;for(var i in r=r.getChildContext())if(!(i in e))throw Error(a(108,q(t)||"Unknown",i));return o({},n,r)}function Eo(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||po,go=ho.current,fo(ho,e),fo(vo,vo.current),!0}function ko(e,t,n){var r=e.stateNode;if(!r)throw Error(a(169));n?(e=xo(e,t,go),r.__reactInternalMemoizedMergedChildContext=e,so(vo),so(ho),fo(ho,e)):so(vo),fo(vo,n)}var So=null,_o=null,Co=i.unstable_runWithPriority,Oo=i.unstable_scheduleCallback,Io=i.unstable_cancelCallback,No=i.unstable_shouldYield,Do=i.unstable_requestPaint,To=i.unstable_now,Ro=i.unstable_getCurrentPriorityLevel,Ao=i.unstable_ImmediatePriority,Po=i.unstable_UserBlockingPriority,Lo=i.unstable_NormalPriority,Mo=i.unstable_LowPriority,jo=i.unstable_IdlePriority,Fo={},Bo=void 0!==Do?Do:function(){},zo=null,Uo=null,Wo=!1,Ho=To(),Go=1e4>Ho?To:function(){return To()-Ho};function Vo(){switch(Ro()){case Ao:return 99;case Po:return 98;case Lo:return 97;case Mo:return 96;case jo:return 95;default:throw Error(a(332))}}function $o(e){switch(e){case 99:return Ao;case 98:return Po;case 97:return Lo;case 96:return Mo;case 95:return jo;default:throw Error(a(332))}}function qo(e,t){return e=$o(e),Co(e,t)}function Ko(e,t,n){return e=$o(e),Oo(e,t,n)}function Yo(){if(null!==Uo){var e=Uo;Uo=null,Io(e)}Zo()}function Zo(){if(!Wo&&null!==zo){Wo=!0;var e=0;try{var t=zo;qo(99,(function(){for(;e<t.length;e++){var n=t[e];do{n=n(!0)}while(null!==n)}})),zo=null}catch(n){throw null!==zo&&(zo=zo.slice(e+1)),Oo(Ao,Yo),n}finally{Wo=!1}}}var Xo=x.ReactCurrentBatchConfig;function Qo(e,t){if(e&&e.defaultProps){for(var n in t=o({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var Jo=co(null),ei=null,ti=null,ni=null;function ri(){ni=ti=ei=null}function oi(e){var t=Jo.current;so(Jo),e.type._context._currentValue=t}function ii(e,t){for(;null!==e;){var n=e.alternate;if((e.childLanes&t)===t){if(null===n||(n.childLanes&t)===t)break;n.childLanes|=t}else e.childLanes|=t,null!==n&&(n.childLanes|=t);e=e.return}}function ai(e,t){ei=e,ni=ti=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!==(e.lanes&t)&&(ja=!0),e.firstContext=null)}function ui(e,t){if(ni!==e&&!1!==t&&0!==t)if("number"===typeof t&&1073741823!==t||(ni=e,t=1073741823),t={context:e,observedBits:t,next:null},null===ti){if(null===ei)throw Error(a(308));ti=t,ei.dependencies={lanes:0,firstContext:t,responders:null}}else ti=ti.next=t;return e._currentValue}var li=!1;function ci(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function si(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function fi(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function di(e,t){if(null!==(e=e.updateQueue)){var n=(e=e.shared).pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}}function pi(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var o=null,i=null;if(null!==(n=n.firstBaseUpdate)){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===i?o=i=a:i=i.next=a,n=n.next}while(null!==n);null===i?o=i=t:i=i.next=t}else o=i=t;return n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function hi(e,t,n,r){var i=e.updateQueue;li=!1;var a=i.firstBaseUpdate,u=i.lastBaseUpdate,l=i.shared.pending;if(null!==l){i.shared.pending=null;var c=l,s=c.next;c.next=null,null===u?a=s:u.next=s,u=c;var f=e.alternate;if(null!==f){var d=(f=f.updateQueue).lastBaseUpdate;d!==u&&(null===d?f.firstBaseUpdate=s:d.next=s,f.lastBaseUpdate=c)}}if(null!==a){for(d=i.baseState,u=0,f=s=c=null;;){l=a.lane;var p=a.eventTime;if((r&l)===l){null!==f&&(f=f.next={eventTime:p,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var h=e,v=a;switch(l=t,p=n,v.tag){case 1:if("function"===typeof(h=v.payload)){d=h.call(p,d,l);break e}d=h;break e;case 3:h.flags=-4097&h.flags|64;case 0:if(null===(l="function"===typeof(h=v.payload)?h.call(p,d,l):h)||void 0===l)break e;d=o({},d,l);break e;case 2:li=!0}}null!==a.callback&&(e.flags|=32,null===(l=i.effects)?i.effects=[a]:l.push(a))}else p={eventTime:p,lane:l,tag:a.tag,payload:a.payload,callback:a.callback,next:null},null===f?(s=f=p,c=d):f=f.next=p,u|=l;if(null===(a=a.next)){if(null===(l=i.shared.pending))break;a=l.next,l.next=null,i.lastBaseUpdate=l,i.shared.pending=null}}null===f&&(c=d),i.baseState=c,i.firstBaseUpdate=s,i.lastBaseUpdate=f,Uu|=u,e.lanes=u,e.memoizedState=d}}function vi(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(null!==o){if(r.callback=null,r=n,"function"!==typeof o)throw Error(a(191,o));o.call(r)}}}var gi=(new r.Component).refs;function mi(e,t,n,r){n=null===(n=n(r,t=e.memoizedState))||void 0===n?t:o({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var yi={isMounted:function(e){return!!(e=e._reactInternals)&&Ze(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=dl(),o=pl(e),i=fi(r,o);i.payload=t,void 0!==n&&null!==n&&(i.callback=n),di(e,i),hl(e,o,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=dl(),o=pl(e),i=fi(r,o);i.tag=1,i.payload=t,void 0!==n&&null!==n&&(i.callback=n),di(e,i),hl(e,o,r)},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=dl(),r=pl(e),o=fi(n,r);o.tag=2,void 0!==t&&null!==t&&(o.callback=t),di(e,o),hl(e,r,n)}};function bi(e,t,n,r,o,i,a){return"function"===typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,i,a):!t.prototype||!t.prototype.isPureReactComponent||(!dr(n,r)||!dr(o,i))}function wi(e,t,n){var r=!1,o=po,i=t.contextType;return"object"===typeof i&&null!==i?i=ui(i):(o=yo(t)?go:ho.current,i=(r=null!==(r=t.contextTypes)&&void 0!==r)?mo(e,o):po),t=new t(n,i),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=yi,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function xi(e,t,n,r){e=t.state,"function"===typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"===typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&yi.enqueueReplaceState(t,t.state,null)}function Ei(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=gi,ci(e);var i=t.contextType;"object"===typeof i&&null!==i?o.context=ui(i):(i=yo(t)?go:ho.current,o.context=mo(e,i)),hi(e,n,o,r),o.state=e.memoizedState,"function"===typeof(i=t.getDerivedStateFromProps)&&(mi(e,t,i,n),o.state=e.memoizedState),"function"===typeof t.getDerivedStateFromProps||"function"===typeof o.getSnapshotBeforeUpdate||"function"!==typeof o.UNSAFE_componentWillMount&&"function"!==typeof o.componentWillMount||(t=o.state,"function"===typeof o.componentWillMount&&o.componentWillMount(),"function"===typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),t!==o.state&&yi.enqueueReplaceState(o,o.state,null),hi(e,n,o,r),o.state=e.memoizedState),"function"===typeof o.componentDidMount&&(e.flags|=4)}var ki=Array.isArray;function Si(e,t,n){if(null!==(e=n.ref)&&"function"!==typeof e&&"object"!==typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(a(309));var r=n.stateNode}if(!r)throw Error(a(147,e));var o=""+e;return null!==t&&null!==t.ref&&"function"===typeof t.ref&&t.ref._stringRef===o?t.ref:(t=function(e){var t=r.refs;t===gi&&(t=r.refs={}),null===e?delete t[o]:t[o]=e},t._stringRef=o,t)}if("string"!==typeof e)throw Error(a(284));if(!n._owner)throw Error(a(290,e))}return e}function _i(e,t){if("textarea"!==e.type)throw Error(a(31,"[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t))}function Ci(e){function t(t,n){if(e){var r=t.lastEffect;null!==r?(r.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n,n.nextEffect=null,n.flags=8}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function o(e,t){return(e=$l(e,t)).index=0,e.sibling=null,e}function i(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags=2,n):r:(t.flags=2,n):n}function u(t){return e&&null===t.alternate&&(t.flags=2),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=Zl(n,e.mode,r)).return=e,t):((t=o(t,n)).return=e,t)}function c(e,t,n,r){return null!==t&&t.elementType===n.type?((r=o(t,n.props)).ref=Si(e,t,n),r.return=e,r):((r=ql(n.type,n.key,n.props,null,e.mode,r)).ref=Si(e,t,n),r.return=e,r)}function s(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Xl(n,e.mode,r)).return=e,t):((t=o(t,n.children||[])).return=e,t)}function f(e,t,n,r,i){return null===t||7!==t.tag?((t=Kl(n,e.mode,r,i)).return=e,t):((t=o(t,n)).return=e,t)}function d(e,t,n){if("string"===typeof t||"number"===typeof t)return(t=Zl(""+t,e.mode,n)).return=e,t;if("object"===typeof t&&null!==t){switch(t.$$typeof){case E:return(n=ql(t.type,t.key,t.props,null,e.mode,n)).ref=Si(e,null,t),n.return=e,n;case k:return(t=Xl(t,e.mode,n)).return=e,t}if(ki(t)||W(t))return(t=Kl(t,e.mode,n,null)).return=e,t;_i(e,t)}return null}function p(e,t,n,r){var o=null!==t?t.key:null;if("string"===typeof n||"number"===typeof n)return null!==o?null:l(e,t,""+n,r);if("object"===typeof n&&null!==n){switch(n.$$typeof){case E:return n.key===o?n.type===S?f(e,t,n.props.children,r,o):c(e,t,n,r):null;case k:return n.key===o?s(e,t,n,r):null}if(ki(n)||W(n))return null!==o?null:f(e,t,n,r,null);_i(e,n)}return null}function h(e,t,n,r,o){if("string"===typeof r||"number"===typeof r)return l(t,e=e.get(n)||null,""+r,o);if("object"===typeof r&&null!==r){switch(r.$$typeof){case E:return e=e.get(null===r.key?n:r.key)||null,r.type===S?f(t,e,r.props.children,o,r.key):c(t,e,r,o);case k:return s(t,e=e.get(null===r.key?n:r.key)||null,r,o)}if(ki(r)||W(r))return f(t,e=e.get(n)||null,r,o,null);_i(t,r)}return null}function v(o,a,u,l){for(var c=null,s=null,f=a,v=a=0,g=null;null!==f&&v<u.length;v++){f.index>v?(g=f,f=null):g=f.sibling;var m=p(o,f,u[v],l);if(null===m){null===f&&(f=g);break}e&&f&&null===m.alternate&&t(o,f),a=i(m,a,v),null===s?c=m:s.sibling=m,s=m,f=g}if(v===u.length)return n(o,f),c;if(null===f){for(;v<u.length;v++)null!==(f=d(o,u[v],l))&&(a=i(f,a,v),null===s?c=f:s.sibling=f,s=f);return c}for(f=r(o,f);v<u.length;v++)null!==(g=h(f,o,v,u[v],l))&&(e&&null!==g.alternate&&f.delete(null===g.key?v:g.key),a=i(g,a,v),null===s?c=g:s.sibling=g,s=g);return e&&f.forEach((function(e){return t(o,e)})),c}function g(o,u,l,c){var s=W(l);if("function"!==typeof s)throw Error(a(150));if(null==(l=s.call(l)))throw Error(a(151));for(var f=s=null,v=u,g=u=0,m=null,y=l.next();null!==v&&!y.done;g++,y=l.next()){v.index>g?(m=v,v=null):m=v.sibling;var b=p(o,v,y.value,c);if(null===b){null===v&&(v=m);break}e&&v&&null===b.alternate&&t(o,v),u=i(b,u,g),null===f?s=b:f.sibling=b,f=b,v=m}if(y.done)return n(o,v),s;if(null===v){for(;!y.done;g++,y=l.next())null!==(y=d(o,y.value,c))&&(u=i(y,u,g),null===f?s=y:f.sibling=y,f=y);return s}for(v=r(o,v);!y.done;g++,y=l.next())null!==(y=h(v,o,g,y.value,c))&&(e&&null!==y.alternate&&v.delete(null===y.key?g:y.key),u=i(y,u,g),null===f?s=y:f.sibling=y,f=y);return e&&v.forEach((function(e){return t(o,e)})),s}return function(e,r,i,l){var c="object"===typeof i&&null!==i&&i.type===S&&null===i.key;c&&(i=i.props.children);var s="object"===typeof i&&null!==i;if(s)switch(i.$$typeof){case E:e:{for(s=i.key,c=r;null!==c;){if(c.key===s){if(7===c.tag){if(i.type===S){n(e,c.sibling),(r=o(c,i.props.children)).return=e,e=r;break e}}else if(c.elementType===i.type){n(e,c.sibling),(r=o(c,i.props)).ref=Si(e,c,i),r.return=e,e=r;break e}n(e,c);break}t(e,c),c=c.sibling}i.type===S?((r=Kl(i.props.children,e.mode,l,i.key)).return=e,e=r):((l=ql(i.type,i.key,i.props,null,e.mode,l)).ref=Si(e,r,i),l.return=e,e=l)}return u(e);case k:e:{for(c=i.key;null!==r;){if(r.key===c){if(4===r.tag&&r.stateNode.containerInfo===i.containerInfo&&r.stateNode.implementation===i.implementation){n(e,r.sibling),(r=o(r,i.children||[])).return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}(r=Xl(i,e.mode,l)).return=e,e=r}return u(e)}if("string"===typeof i||"number"===typeof i)return i=""+i,null!==r&&6===r.tag?(n(e,r.sibling),(r=o(r,i)).return=e,e=r):(n(e,r),(r=Zl(i,e.mode,l)).return=e,e=r),u(e);if(ki(i))return v(e,r,i,l);if(W(i))return g(e,r,i,l);if(s&&_i(e,i),"undefined"===typeof i&&!c)switch(e.tag){case 1:case 22:case 0:case 11:case 15:throw Error(a(152,q(e.type)||"Component"))}return n(e,r)}}var Oi=Ci(!0),Ii=Ci(!1),Ni={},Di=co(Ni),Ti=co(Ni),Ri=co(Ni);function Ai(e){if(e===Ni)throw Error(a(174));return e}function Pi(e,t){switch(fo(Ri,t),fo(Ti,e),fo(Di,Ni),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:he(null,"");break;default:t=he(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}so(Di),fo(Di,t)}function Li(){so(Di),so(Ti),so(Ri)}function Mi(e){Ai(Ri.current);var t=Ai(Di.current),n=he(t,e.type);t!==n&&(fo(Ti,e),fo(Di,n))}function ji(e){Ti.current===e&&(so(Di),so(Ti))}var Fi=co(0);function Bi(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!==(64&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var zi=null,Ui=null,Wi=!1;function Hi(e,t){var n=Gl(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.flags=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function Gi(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);default:return!1}}function Vi(e){if(Wi){var t=Ui;if(t){var n=t;if(!Gi(e,t)){if(!(t=Kr(n.nextSibling))||!Gi(e,t))return e.flags=-1025&e.flags|2,Wi=!1,void(zi=e);Hi(zi,n)}zi=e,Ui=Kr(t.firstChild)}else e.flags=-1025&e.flags|2,Wi=!1,zi=e}}function $i(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;zi=e}function qi(e){if(e!==zi)return!1;if(!Wi)return $i(e),Wi=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!Gr(t,e.memoizedProps))for(t=Ui;t;)Hi(e,t),t=Kr(t.nextSibling);if($i(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(a(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){Ui=Kr(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}Ui=null}}else Ui=zi?Kr(e.stateNode.nextSibling):null;return!0}function Ki(){Ui=zi=null,Wi=!1}var Yi=[];function Zi(){for(var e=0;e<Yi.length;e++)Yi[e]._workInProgressVersionPrimary=null;Yi.length=0}var Xi=x.ReactCurrentDispatcher,Qi=x.ReactCurrentBatchConfig,Ji=0,ea=null,ta=null,na=null,ra=!1,oa=!1;function ia(){throw Error(a(321))}function aa(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!sr(e[n],t[n]))return!1;return!0}function ua(e,t,n,r,o,i){if(Ji=i,ea=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Xi.current=null===e||null===e.memoizedState?Aa:Pa,e=n(r,o),oa){i=0;do{if(oa=!1,!(25>i))throw Error(a(301));i+=1,na=ta=null,t.updateQueue=null,Xi.current=La,e=n(r,o)}while(oa)}if(Xi.current=Ra,t=null!==ta&&null!==ta.next,Ji=0,na=ta=ea=null,ra=!1,t)throw Error(a(300));return e}function la(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===na?ea.memoizedState=na=e:na=na.next=e,na}function ca(){if(null===ta){var e=ea.alternate;e=null!==e?e.memoizedState:null}else e=ta.next;var t=null===na?ea.memoizedState:na.next;if(null!==t)na=t,ta=e;else{if(null===e)throw Error(a(310));e={memoizedState:(ta=e).memoizedState,baseState:ta.baseState,baseQueue:ta.baseQueue,queue:ta.queue,next:null},null===na?ea.memoizedState=na=e:na=na.next=e}return na}function sa(e,t){return"function"===typeof t?t(e):t}function fa(e){var t=ca(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=ta,o=r.baseQueue,i=n.pending;if(null!==i){if(null!==o){var u=o.next;o.next=i.next,i.next=u}r.baseQueue=o=i,n.pending=null}if(null!==o){o=o.next,r=r.baseState;var l=u=i=null,c=o;do{var s=c.lane;if((Ji&s)===s)null!==l&&(l=l.next={lane:0,action:c.action,eagerReducer:c.eagerReducer,eagerState:c.eagerState,next:null}),r=c.eagerReducer===e?c.eagerState:e(r,c.action);else{var f={lane:s,action:c.action,eagerReducer:c.eagerReducer,eagerState:c.eagerState,next:null};null===l?(u=l=f,i=r):l=l.next=f,ea.lanes|=s,Uu|=s}c=c.next}while(null!==c&&c!==o);null===l?i=r:l.next=u,sr(r,t.memoizedState)||(ja=!0),t.memoizedState=r,t.baseState=i,t.baseQueue=l,n.lastRenderedState=r}return[t.memoizedState,n.dispatch]}function da(e){var t=ca(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,i=t.memoizedState;if(null!==o){n.pending=null;var u=o=o.next;do{i=e(i,u.action),u=u.next}while(u!==o);sr(i,t.memoizedState)||(ja=!0),t.memoizedState=i,null===t.baseQueue&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function pa(e,t,n){var r=t._getVersion;r=r(t._source);var o=t._workInProgressVersionPrimary;if(null!==o?e=o===r:(e=e.mutableReadLanes,(e=(Ji&e)===e)&&(t._workInProgressVersionPrimary=r,Yi.push(t))),e)return n(t._source);throw Yi.push(t),Error(a(350))}function ha(e,t,n,r){var o=Au;if(null===o)throw Error(a(349));var i=t._getVersion,u=i(t._source),l=Xi.current,c=l.useState((function(){return pa(o,t,n)})),s=c[1],f=c[0];c=na;var d=e.memoizedState,p=d.refs,h=p.getSnapshot,v=d.source;d=d.subscribe;var g=ea;return e.memoizedState={refs:p,source:t,subscribe:r},l.useEffect((function(){p.getSnapshot=n,p.setSnapshot=s;var e=i(t._source);if(!sr(u,e)){e=n(t._source),sr(f,e)||(s(e),e=pl(g),o.mutableReadLanes|=e&o.pendingLanes),e=o.mutableReadLanes,o.entangledLanes|=e;for(var r=o.entanglements,a=e;0<a;){var l=31-Gt(a),c=1<<l;r[l]|=e,a&=~c}}}),[n,t,r]),l.useEffect((function(){return r(t._source,(function(){var e=p.getSnapshot,n=p.setSnapshot;try{n(e(t._source));var r=pl(g);o.mutableReadLanes|=r&o.pendingLanes}catch(i){n((function(){throw i}))}}))}),[t,r]),sr(h,n)&&sr(v,t)&&sr(d,r)||((e={pending:null,dispatch:null,lastRenderedReducer:sa,lastRenderedState:f}).dispatch=s=Ta.bind(null,ea,e),c.queue=e,c.baseQueue=null,f=pa(o,t,n),c.memoizedState=c.baseState=f),f}function va(e,t,n){return ha(ca(),e,t,n)}function ga(e){var t=la();return"function"===typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={pending:null,dispatch:null,lastRenderedReducer:sa,lastRenderedState:e}).dispatch=Ta.bind(null,ea,e),[t.memoizedState,e]}function ma(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=ea.updateQueue)?(t={lastEffect:null},ea.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function ya(e){return e={current:e},la().memoizedState=e}function ba(){return ca().memoizedState}function wa(e,t,n,r){var o=la();ea.flags|=e,o.memoizedState=ma(1|t,n,void 0,void 0===r?null:r)}function xa(e,t,n,r){var o=ca();r=void 0===r?null:r;var i=void 0;if(null!==ta){var a=ta.memoizedState;if(i=a.destroy,null!==r&&aa(r,a.deps))return void ma(t,n,i,r)}ea.flags|=e,o.memoizedState=ma(1|t,n,i,r)}function Ea(e,t){return wa(516,4,e,t)}function ka(e,t){return xa(516,4,e,t)}function Sa(e,t){return xa(4,2,e,t)}function _a(e,t){return"function"===typeof t?(e=e(),t(e),function(){t(null)}):null!==t&&void 0!==t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Ca(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,xa(4,2,_a.bind(null,t,e),n)}function Oa(){}function Ia(e,t){var n=ca();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&aa(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Na(e,t){var n=ca();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&aa(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Da(e,t){var n=Vo();qo(98>n?98:n,(function(){e(!0)})),qo(97<n?97:n,(function(){var n=Qi.transition;Qi.transition=1;try{e(!1),t()}finally{Qi.transition=n}}))}function Ta(e,t,n){var r=dl(),o=pl(e),i={lane:o,action:n,eagerReducer:null,eagerState:null,next:null},a=t.pending;if(null===a?i.next=i:(i.next=a.next,a.next=i),t.pending=i,a=e.alternate,e===ea||null!==a&&a===ea)oa=ra=!0;else{if(0===e.lanes&&(null===a||0===a.lanes)&&null!==(a=t.lastRenderedReducer))try{var u=t.lastRenderedState,l=a(u,n);if(i.eagerReducer=a,i.eagerState=l,sr(l,u))return}catch(c){}hl(e,o,r)}}var Ra={readContext:ui,useCallback:ia,useContext:ia,useEffect:ia,useImperativeHandle:ia,useLayoutEffect:ia,useMemo:ia,useReducer:ia,useRef:ia,useState:ia,useDebugValue:ia,useDeferredValue:ia,useTransition:ia,useMutableSource:ia,useOpaqueIdentifier:ia,unstable_isNewReconciler:!1},Aa={readContext:ui,useCallback:function(e,t){return la().memoizedState=[e,void 0===t?null:t],e},useContext:ui,useEffect:Ea,useImperativeHandle:function(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,wa(4,2,_a.bind(null,t,e),n)},useLayoutEffect:function(e,t){return wa(4,2,e,t)},useMemo:function(e,t){var n=la();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=la();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e=(e=r.queue={pending:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t}).dispatch=Ta.bind(null,ea,e),[r.memoizedState,e]},useRef:ya,useState:ga,useDebugValue:Oa,useDeferredValue:function(e){var t=ga(e),n=t[0],r=t[1];return Ea((function(){var t=Qi.transition;Qi.transition=1;try{r(e)}finally{Qi.transition=t}}),[e]),n},useTransition:function(){var e=ga(!1),t=e[0];return ya(e=Da.bind(null,e[1])),[e,t]},useMutableSource:function(e,t,n){var r=la();return r.memoizedState={refs:{getSnapshot:t,setSnapshot:null},source:e,subscribe:n},ha(r,e,t,n)},useOpaqueIdentifier:function(){if(Wi){var e=!1,t=function(e){return{$$typeof:L,toString:e,valueOf:e}}((function(){throw e||(e=!0,n("r:"+(Zr++).toString(36))),Error(a(355))})),n=ga(t)[1];return 0===(2&ea.mode)&&(ea.flags|=516,ma(5,(function(){n("r:"+(Zr++).toString(36))}),void 0,null)),t}return ga(t="r:"+(Zr++).toString(36)),t},unstable_isNewReconciler:!1},Pa={readContext:ui,useCallback:Ia,useContext:ui,useEffect:ka,useImperativeHandle:Ca,useLayoutEffect:Sa,useMemo:Na,useReducer:fa,useRef:ba,useState:function(){return fa(sa)},useDebugValue:Oa,useDeferredValue:function(e){var t=fa(sa),n=t[0],r=t[1];return ka((function(){var t=Qi.transition;Qi.transition=1;try{r(e)}finally{Qi.transition=t}}),[e]),n},useTransition:function(){var e=fa(sa)[0];return[ba().current,e]},useMutableSource:va,useOpaqueIdentifier:function(){return fa(sa)[0]},unstable_isNewReconciler:!1},La={readContext:ui,useCallback:Ia,useContext:ui,useEffect:ka,useImperativeHandle:Ca,useLayoutEffect:Sa,useMemo:Na,useReducer:da,useRef:ba,useState:function(){return da(sa)},useDebugValue:Oa,useDeferredValue:function(e){var t=da(sa),n=t[0],r=t[1];return ka((function(){var t=Qi.transition;Qi.transition=1;try{r(e)}finally{Qi.transition=t}}),[e]),n},useTransition:function(){var e=da(sa)[0];return[ba().current,e]},useMutableSource:va,useOpaqueIdentifier:function(){return da(sa)[0]},unstable_isNewReconciler:!1},Ma=x.ReactCurrentOwner,ja=!1;function Fa(e,t,n,r){t.child=null===e?Ii(t,null,n,r):Oi(t,e.child,n,r)}function Ba(e,t,n,r,o){n=n.render;var i=t.ref;return ai(t,o),r=ua(e,t,n,r,i,o),null===e||ja?(t.flags|=1,Fa(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~o,iu(e,t,o))}function za(e,t,n,r,o,i){if(null===e){var a=n.type;return"function"!==typeof a||Vl(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=ql(n.type,null,r,t,t.mode,i)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,Ua(e,t,a,r,o,i))}return a=e.child,0===(o&i)&&(o=a.memoizedProps,(n=null!==(n=n.compare)?n:dr)(o,r)&&e.ref===t.ref)?iu(e,t,i):(t.flags|=1,(e=$l(a,r)).ref=t.ref,e.return=t,t.child=e)}function Ua(e,t,n,r,o,i){if(null!==e&&dr(e.memoizedProps,r)&&e.ref===t.ref){if(ja=!1,0===(i&o))return t.lanes=e.lanes,iu(e,t,i);0!==(16384&e.flags)&&(ja=!0)}return Ga(e,t,n,r,i)}function Wa(e,t,n){var r=t.pendingProps,o=r.children,i=null!==e?e.memoizedState:null;if("hidden"===r.mode||"unstable-defer-without-hiding"===r.mode)if(0===(4&t.mode))t.memoizedState={baseLanes:0},El(t,n);else{if(0===(1073741824&n))return e=null!==i?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e},El(t,e),null;t.memoizedState={baseLanes:0},El(t,null!==i?i.baseLanes:n)}else null!==i?(r=i.baseLanes|n,t.memoizedState=null):r=n,El(t,r);return Fa(e,t,o,n),t.child}function Ha(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=128)}function Ga(e,t,n,r,o){var i=yo(n)?go:ho.current;return i=mo(t,i),ai(t,o),n=ua(e,t,n,r,i,o),null===e||ja?(t.flags|=1,Fa(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~o,iu(e,t,o))}function Va(e,t,n,r,o){if(yo(n)){var i=!0;Eo(t)}else i=!1;if(ai(t,o),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),wi(t,n,r),Ei(t,n,r,o),r=!0;else if(null===e){var a=t.stateNode,u=t.memoizedProps;a.props=u;var l=a.context,c=n.contextType;"object"===typeof c&&null!==c?c=ui(c):c=mo(t,c=yo(n)?go:ho.current);var s=n.getDerivedStateFromProps,f="function"===typeof s||"function"===typeof a.getSnapshotBeforeUpdate;f||"function"!==typeof a.UNSAFE_componentWillReceiveProps&&"function"!==typeof a.componentWillReceiveProps||(u!==r||l!==c)&&xi(t,a,r,c),li=!1;var d=t.memoizedState;a.state=d,hi(t,r,a,o),l=t.memoizedState,u!==r||d!==l||vo.current||li?("function"===typeof s&&(mi(t,n,s,r),l=t.memoizedState),(u=li||bi(t,n,u,r,d,l,c))?(f||"function"!==typeof a.UNSAFE_componentWillMount&&"function"!==typeof a.componentWillMount||("function"===typeof a.componentWillMount&&a.componentWillMount(),"function"===typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"===typeof a.componentDidMount&&(t.flags|=4)):("function"===typeof a.componentDidMount&&(t.flags|=4),t.memoizedProps=r,t.memoizedState=l),a.props=r,a.state=l,a.context=c,r=u):("function"===typeof a.componentDidMount&&(t.flags|=4),r=!1)}else{a=t.stateNode,si(e,t),u=t.memoizedProps,c=t.type===t.elementType?u:Qo(t.type,u),a.props=c,f=t.pendingProps,d=a.context,"object"===typeof(l=n.contextType)&&null!==l?l=ui(l):l=mo(t,l=yo(n)?go:ho.current);var p=n.getDerivedStateFromProps;(s="function"===typeof p||"function"===typeof a.getSnapshotBeforeUpdate)||"function"!==typeof a.UNSAFE_componentWillReceiveProps&&"function"!==typeof a.componentWillReceiveProps||(u!==f||d!==l)&&xi(t,a,r,l),li=!1,d=t.memoizedState,a.state=d,hi(t,r,a,o);var h=t.memoizedState;u!==f||d!==h||vo.current||li?("function"===typeof p&&(mi(t,n,p,r),h=t.memoizedState),(c=li||bi(t,n,c,r,d,h,l))?(s||"function"!==typeof a.UNSAFE_componentWillUpdate&&"function"!==typeof a.componentWillUpdate||("function"===typeof a.componentWillUpdate&&a.componentWillUpdate(r,h,l),"function"===typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,h,l)),"function"===typeof a.componentDidUpdate&&(t.flags|=4),"function"===typeof a.getSnapshotBeforeUpdate&&(t.flags|=256)):("function"!==typeof a.componentDidUpdate||u===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!==typeof a.getSnapshotBeforeUpdate||u===e.memoizedProps&&d===e.memoizedState||(t.flags|=256),t.memoizedProps=r,t.memoizedState=h),a.props=r,a.state=h,a.context=l,r=c):("function"!==typeof a.componentDidUpdate||u===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!==typeof a.getSnapshotBeforeUpdate||u===e.memoizedProps&&d===e.memoizedState||(t.flags|=256),r=!1)}return $a(e,t,n,r,i,o)}function $a(e,t,n,r,o,i){Ha(e,t);var a=0!==(64&t.flags);if(!r&&!a)return o&&ko(t,n,!1),iu(e,t,i);r=t.stateNode,Ma.current=t;var u=a&&"function"!==typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&a?(t.child=Oi(t,e.child,null,i),t.child=Oi(t,null,u,i)):Fa(e,t,u,i),t.memoizedState=r.state,o&&ko(t,n,!0),t.child}function qa(e){var t=e.stateNode;t.pendingContext?wo(0,t.pendingContext,t.pendingContext!==t.context):t.context&&wo(0,t.context,!1),Pi(e,t.containerInfo)}var Ka,Ya,Za,Xa={dehydrated:null,retryLane:0};function Qa(e,t,n){var r,o=t.pendingProps,i=Fi.current,a=!1;return(r=0!==(64&t.flags))||(r=(null===e||null!==e.memoizedState)&&0!==(2&i)),r?(a=!0,t.flags&=-65):null!==e&&null===e.memoizedState||void 0===o.fallback||!0===o.unstable_avoidThisFallback||(i|=1),fo(Fi,1&i),null===e?(void 0!==o.fallback&&Vi(t),e=o.children,i=o.fallback,a?(e=Ja(t,e,i,n),t.child.memoizedState={baseLanes:n},t.memoizedState=Xa,e):"number"===typeof o.unstable_expectedLoadTime?(e=Ja(t,e,i,n),t.child.memoizedState={baseLanes:n},t.memoizedState=Xa,t.lanes=33554432,e):((n=Yl({mode:"visible",children:e},t.mode,n,null)).return=t,t.child=n)):(e.memoizedState,a?(o=tu(e,t,o.children,o.fallback,n),a=t.child,i=e.child.memoizedState,a.memoizedState=null===i?{baseLanes:n}:{baseLanes:i.baseLanes|n},a.childLanes=e.childLanes&~n,t.memoizedState=Xa,o):(n=eu(e,t,o.children,n),t.memoizedState=null,n))}function Ja(e,t,n,r){var o=e.mode,i=e.child;return t={mode:"hidden",children:t},0===(2&o)&&null!==i?(i.childLanes=0,i.pendingProps=t):i=Yl(t,o,0,null),n=Kl(n,o,r,null),i.return=e,n.return=e,i.sibling=n,e.child=i,n}function eu(e,t,n,r){var o=e.child;return e=o.sibling,n=$l(o,{mode:"visible",children:n}),0===(2&t.mode)&&(n.lanes=r),n.return=t,n.sibling=null,null!==e&&(e.nextEffect=null,e.flags=8,t.firstEffect=t.lastEffect=e),t.child=n}function tu(e,t,n,r,o){var i=t.mode,a=e.child;e=a.sibling;var u={mode:"hidden",children:n};return 0===(2&i)&&t.child!==a?((n=t.child).childLanes=0,n.pendingProps=u,null!==(a=n.lastEffect)?(t.firstEffect=n.firstEffect,t.lastEffect=a,a.nextEffect=null):t.firstEffect=t.lastEffect=null):n=$l(a,u),null!==e?r=$l(e,r):(r=Kl(r,i,o,null)).flags|=2,r.return=t,n.return=t,n.sibling=r,t.child=n,r}function nu(e,t){e.lanes|=t;var n=e.alternate;null!==n&&(n.lanes|=t),ii(e.return,t)}function ru(e,t,n,r,o,i){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o,lastEffect:i}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailMode=o,a.lastEffect=i)}function ou(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(Fa(e,t,r.children,n),0!==(2&(r=Fi.current)))r=1&r|2,t.flags|=64;else{if(null!==e&&0!==(64&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&nu(e,n);else if(19===e.tag)nu(e,n);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(fo(Fi,r),0===(2&t.mode))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===Bi(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),ru(t,!1,o,n,i,t.lastEffect);break;case"backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===Bi(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}ru(t,!0,n,null,i,t.lastEffect);break;case"together":ru(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function iu(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Uu|=t.lanes,0!==(n&t.childLanes)){if(null!==e&&t.child!==e.child)throw Error(a(153));if(null!==t.child){for(n=$l(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=$l(e,e.pendingProps)).return=t;n.sibling=null}return t.child}return null}function au(e,t){if(!Wi)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function uu(e,t,n){var r=t.pendingProps;switch(t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:case 17:return yo(t.type)&&bo(),null;case 3:return Li(),so(vo),so(ho),Zi(),(r=t.stateNode).pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(qi(t)?t.flags|=4:r.hydrate||(t.flags|=256)),null;case 5:ji(t);var i=Ai(Ri.current);if(n=t.type,null!==e&&null!=t.stateNode)Ya(e,t,n,r),e.ref!==t.ref&&(t.flags|=128);else{if(!r){if(null===t.stateNode)throw Error(a(166));return null}if(e=Ai(Di.current),qi(t)){r=t.stateNode,n=t.type;var u=t.memoizedProps;switch(r[Qr]=t,r[Jr]=u,n){case"dialog":Dr("cancel",r),Dr("close",r);break;case"iframe":case"object":case"embed":Dr("load",r);break;case"video":case"audio":for(e=0;e<Cr.length;e++)Dr(Cr[e],r);break;case"source":Dr("error",r);break;case"img":case"image":case"link":Dr("error",r),Dr("load",r);break;case"details":Dr("toggle",r);break;case"input":ee(r,u),Dr("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!u.multiple},Dr("invalid",r);break;case"textarea":le(r,u),Dr("invalid",r)}for(var c in Se(n,u),e=null,u)u.hasOwnProperty(c)&&(i=u[c],"children"===c?"string"===typeof i?r.textContent!==i&&(e=["children",i]):"number"===typeof i&&r.textContent!==""+i&&(e=["children",""+i]):l.hasOwnProperty(c)&&null!=i&&"onScroll"===c&&Dr("scroll",r));switch(n){case"input":Z(r),re(r,u,!0);break;case"textarea":Z(r),se(r);break;case"select":case"option":break;default:"function"===typeof u.onClick&&(r.onclick=zr)}r=e,t.updateQueue=r,null!==r&&(t.flags|=4)}else{switch(c=9===i.nodeType?i:i.ownerDocument,e===fe&&(e=pe(n)),e===fe?"script"===n?((e=c.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"===typeof r.is?e=c.createElement(n,{is:r.is}):(e=c.createElement(n),"select"===n&&(c=e,r.multiple?c.multiple=!0:r.size&&(c.size=r.size))):e=c.createElementNS(e,n),e[Qr]=t,e[Jr]=r,Ka(e,t),t.stateNode=e,c=_e(n,r),n){case"dialog":Dr("cancel",e),Dr("close",e),i=r;break;case"iframe":case"object":case"embed":Dr("load",e),i=r;break;case"video":case"audio":for(i=0;i<Cr.length;i++)Dr(Cr[i],e);i=r;break;case"source":Dr("error",e),i=r;break;case"img":case"image":case"link":Dr("error",e),Dr("load",e),i=r;break;case"details":Dr("toggle",e),i=r;break;case"input":ee(e,r),i=J(e,r),Dr("invalid",e);break;case"option":i=ie(e,r);break;case"select":e._wrapperState={wasMultiple:!!r.multiple},i=o({},r,{value:void 0}),Dr("invalid",e);break;case"textarea":le(e,r),i=ue(e,r),Dr("invalid",e);break;default:i=r}Se(n,i);var s=i;for(u in s)if(s.hasOwnProperty(u)){var f=s[u];"style"===u?Ee(e,f):"dangerouslySetInnerHTML"===u?null!=(f=f?f.__html:void 0)&&me(e,f):"children"===u?"string"===typeof f?("textarea"!==n||""!==f)&&ye(e,f):"number"===typeof f&&ye(e,""+f):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(l.hasOwnProperty(u)?null!=f&&"onScroll"===u&&Dr("scroll",e):null!=f&&w(e,u,f,c))}switch(n){case"input":Z(e),re(e,r,!1);break;case"textarea":Z(e),se(e);break;case"option":null!=r.value&&e.setAttribute("value",""+K(r.value));break;case"select":e.multiple=!!r.multiple,null!=(u=r.value)?ae(e,!!r.multiple,u,!1):null!=r.defaultValue&&ae(e,!!r.multiple,r.defaultValue,!0);break;default:"function"===typeof i.onClick&&(e.onclick=zr)}Hr(n,r)&&(t.flags|=4)}null!==t.ref&&(t.flags|=128)}return null;case 6:if(e&&null!=t.stateNode)Za(0,t,e.memoizedProps,r);else{if("string"!==typeof r&&null===t.stateNode)throw Error(a(166));n=Ai(Ri.current),Ai(Di.current),qi(t)?(r=t.stateNode,n=t.memoizedProps,r[Qr]=t,r.nodeValue!==n&&(t.flags|=4)):((r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[Qr]=t,t.stateNode=r)}return null;case 13:return so(Fi),r=t.memoizedState,0!==(64&t.flags)?(t.lanes=n,t):(r=null!==r,n=!1,null===e?void 0!==t.memoizedProps.fallback&&qi(t):n=null!==e.memoizedState,r&&!n&&0!==(2&t.mode)&&(null===e&&!0!==t.memoizedProps.unstable_avoidThisFallback||0!==(1&Fi.current)?0===Fu&&(Fu=3):(0!==Fu&&3!==Fu||(Fu=4),null===Au||0===(134217727&Uu)&&0===(134217727&Wu)||yl(Au,Lu))),(r||n)&&(t.flags|=4),null);case 4:return Li(),null===e&&Rr(t.stateNode.containerInfo),null;case 10:return oi(t),null;case 19:if(so(Fi),null===(r=t.memoizedState))return null;if(u=0!==(64&t.flags),null===(c=r.rendering))if(u)au(r,!1);else{if(0!==Fu||null!==e&&0!==(64&e.flags))for(e=t.child;null!==e;){if(null!==(c=Bi(e))){for(t.flags|=64,au(r,!1),null!==(u=c.updateQueue)&&(t.updateQueue=u,t.flags|=4),null===r.lastEffect&&(t.firstEffect=null),t.lastEffect=r.lastEffect,r=n,n=t.child;null!==n;)e=r,(u=n).flags&=2,u.nextEffect=null,u.firstEffect=null,u.lastEffect=null,null===(c=u.alternate)?(u.childLanes=0,u.lanes=e,u.child=null,u.memoizedProps=null,u.memoizedState=null,u.updateQueue=null,u.dependencies=null,u.stateNode=null):(u.childLanes=c.childLanes,u.lanes=c.lanes,u.child=c.child,u.memoizedProps=c.memoizedProps,u.memoizedState=c.memoizedState,u.updateQueue=c.updateQueue,u.type=c.type,e=c.dependencies,u.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return fo(Fi,1&Fi.current|2),t.child}e=e.sibling}null!==r.tail&&Go()>$u&&(t.flags|=64,u=!0,au(r,!1),t.lanes=33554432)}else{if(!u)if(null!==(e=Bi(c))){if(t.flags|=64,u=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),au(r,!0),null===r.tail&&"hidden"===r.tailMode&&!c.alternate&&!Wi)return null!==(t=t.lastEffect=r.lastEffect)&&(t.nextEffect=null),null}else 2*Go()-r.renderingStartTime>$u&&1073741824!==n&&(t.flags|=64,u=!0,au(r,!1),t.lanes=33554432);r.isBackwards?(c.sibling=t.child,t.child=c):(null!==(n=r.last)?n.sibling=c:t.child=c,r.last=c)}return null!==r.tail?(n=r.tail,r.rendering=n,r.tail=n.sibling,r.lastEffect=t.lastEffect,r.renderingStartTime=Go(),n.sibling=null,t=Fi.current,fo(Fi,u?1&t|2:1&t),n):null;case 23:case 24:return kl(),null!==e&&null!==e.memoizedState!==(null!==t.memoizedState)&&"unstable-defer-without-hiding"!==r.mode&&(t.flags|=4),null}throw Error(a(156,t.tag))}function lu(e){switch(e.tag){case 1:yo(e.type)&&bo();var t=e.flags;return 4096&t?(e.flags=-4097&t|64,e):null;case 3:if(Li(),so(vo),so(ho),Zi(),0!==(64&(t=e.flags)))throw Error(a(285));return e.flags=-4097&t|64,e;case 5:return ji(e),null;case 13:return so(Fi),4096&(t=e.flags)?(e.flags=-4097&t|64,e):null;case 19:return so(Fi),null;case 4:return Li(),null;case 10:return oi(e),null;case 23:case 24:return kl(),null;default:return null}}function cu(e,t){try{var n="",r=t;do{n+=$(r),r=r.return}while(r);var o=n}catch(i){o="\nError generating stack: "+i.message+"\n"+i.stack}return{value:e,source:t,stack:o}}function su(e,t){try{console.error(t.value)}catch(n){setTimeout((function(){throw n}))}}Ka=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Ya=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,Ai(Di.current);var a,u=null;switch(n){case"input":i=J(e,i),r=J(e,r),u=[];break;case"option":i=ie(e,i),r=ie(e,r),u=[];break;case"select":i=o({},i,{value:void 0}),r=o({},r,{value:void 0}),u=[];break;case"textarea":i=ue(e,i),r=ue(e,r),u=[];break;default:"function"!==typeof i.onClick&&"function"===typeof r.onClick&&(e.onclick=zr)}for(f in Se(n,r),n=null,i)if(!r.hasOwnProperty(f)&&i.hasOwnProperty(f)&&null!=i[f])if("style"===f){var c=i[f];for(a in c)c.hasOwnProperty(a)&&(n||(n={}),n[a]="")}else"dangerouslySetInnerHTML"!==f&&"children"!==f&&"suppressContentEditableWarning"!==f&&"suppressHydrationWarning"!==f&&"autoFocus"!==f&&(l.hasOwnProperty(f)?u||(u=[]):(u=u||[]).push(f,null));for(f in r){var s=r[f];if(c=null!=i?i[f]:void 0,r.hasOwnProperty(f)&&s!==c&&(null!=s||null!=c))if("style"===f)if(c){for(a in c)!c.hasOwnProperty(a)||s&&s.hasOwnProperty(a)||(n||(n={}),n[a]="");for(a in s)s.hasOwnProperty(a)&&c[a]!==s[a]&&(n||(n={}),n[a]=s[a])}else n||(u||(u=[]),u.push(f,n)),n=s;else"dangerouslySetInnerHTML"===f?(s=s?s.__html:void 0,c=c?c.__html:void 0,null!=s&&c!==s&&(u=u||[]).push(f,s)):"children"===f?"string"!==typeof s&&"number"!==typeof s||(u=u||[]).push(f,""+s):"suppressContentEditableWarning"!==f&&"suppressHydrationWarning"!==f&&(l.hasOwnProperty(f)?(null!=s&&"onScroll"===f&&Dr("scroll",e),u||c===s||(u=[])):"object"===typeof s&&null!==s&&s.$$typeof===L?s.toString():(u=u||[]).push(f,s))}n&&(u=u||[]).push("style",n);var f=u;(t.updateQueue=f)&&(t.flags|=4)}},Za=function(e,t,n,r){n!==r&&(t.flags|=4)};var fu="function"===typeof WeakMap?WeakMap:Map;function du(e,t,n){(n=fi(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Zu||(Zu=!0,Xu=r),su(0,t)},n}function pu(e,t,n){(n=fi(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"===typeof r){var o=t.value;n.payload=function(){return su(0,t),r(o)}}var i=e.stateNode;return null!==i&&"function"===typeof i.componentDidCatch&&(n.callback=function(){"function"!==typeof r&&(null===Qu?Qu=new Set([this]):Qu.add(this),su(0,t));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}var hu="function"===typeof WeakSet?WeakSet:Set;function vu(e){var t=e.ref;if(null!==t)if("function"===typeof t)try{t(null)}catch(n){zl(e,n)}else t.current=null}function gu(e,t){switch(t.tag){case 0:case 11:case 15:case 22:case 5:case 6:case 4:case 17:return;case 1:if(256&t.flags&&null!==e){var n=e.memoizedProps,r=e.memoizedState;t=(e=t.stateNode).getSnapshotBeforeUpdate(t.elementType===t.type?n:Qo(t.type,n),r),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:return void(256&t.flags&&qr(t.stateNode.containerInfo))}throw Error(a(163))}function mu(e,t,n){switch(n.tag){case 0:case 11:case 15:case 22:if(null!==(t=null!==(t=n.updateQueue)?t.lastEffect:null)){e=t=t.next;do{if(3===(3&e.tag)){var r=e.create;e.destroy=r()}e=e.next}while(e!==t)}if(null!==(t=null!==(t=n.updateQueue)?t.lastEffect:null)){e=t=t.next;do{var o=e;r=o.next,0!==(4&(o=o.tag))&&0!==(1&o)&&(jl(n,e),Ml(n,e)),e=r}while(e!==t)}return;case 1:return e=n.stateNode,4&n.flags&&(null===t?e.componentDidMount():(r=n.elementType===n.type?t.memoizedProps:Qo(n.type,t.memoizedProps),e.componentDidUpdate(r,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate))),void(null!==(t=n.updateQueue)&&vi(n,t,e));case 3:if(null!==(t=n.updateQueue)){if(e=null,null!==n.child)switch(n.child.tag){case 5:case 1:e=n.child.stateNode}vi(n,t,e)}return;case 5:return e=n.stateNode,void(null===t&&4&n.flags&&Hr(n.type,n.memoizedProps)&&e.focus());case 6:case 4:case 12:case 19:case 17:case 20:case 21:case 23:case 24:return;case 13:return void(null===n.memoizedState&&(n=n.alternate,null!==n&&(n=n.memoizedState,null!==n&&(n=n.dehydrated,null!==n&&Et(n)))))}throw Error(a(163))}function yu(e,t){for(var n=e;;){if(5===n.tag){var r=n.stateNode;if(t)"function"===typeof(r=r.style).setProperty?r.setProperty("display","none","important"):r.display="none";else{r=n.stateNode;var o=n.memoizedProps.style;o=void 0!==o&&null!==o&&o.hasOwnProperty("display")?o.display:null,r.style.display=xe("display",o)}}else if(6===n.tag)n.stateNode.nodeValue=t?"":n.memoizedProps;else if((23!==n.tag&&24!==n.tag||null===n.memoizedState||n===e)&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===e)break;for(;null===n.sibling;){if(null===n.return||n.return===e)return;n=n.return}n.sibling.return=n.return,n=n.sibling}}function bu(e,t){if(_o&&"function"===typeof _o.onCommitFiberUnmount)try{_o.onCommitFiberUnmount(So,t)}catch(i){}switch(t.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(e=t.updateQueue)&&null!==(e=e.lastEffect)){var n=e=e.next;do{var r=n,o=r.destroy;if(r=r.tag,void 0!==o)if(0!==(4&r))jl(t,n);else{r=t;try{o()}catch(i){zl(r,i)}}n=n.next}while(n!==e)}break;case 1:if(vu(t),"function"===typeof(e=t.stateNode).componentWillUnmount)try{e.props=t.memoizedProps,e.state=t.memoizedState,e.componentWillUnmount()}catch(i){zl(t,i)}break;case 5:vu(t);break;case 4:_u(e,t)}}function wu(e){e.alternate=null,e.child=null,e.dependencies=null,e.firstEffect=null,e.lastEffect=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.return=null,e.updateQueue=null}function xu(e){return 5===e.tag||3===e.tag||4===e.tag}function Eu(e){e:{for(var t=e.return;null!==t;){if(xu(t))break e;t=t.return}throw Error(a(160))}var n=t;switch(t=n.stateNode,n.tag){case 5:var r=!1;break;case 3:case 4:t=t.containerInfo,r=!0;break;default:throw Error(a(161))}16&n.flags&&(ye(t,""),n.flags&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||xu(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag&&18!==n.tag;){if(2&n.flags)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.flags)){n=n.stateNode;break e}}r?ku(e,n,t):Su(e,n,t)}function ku(e,t,n){var r=e.tag,o=5===r||6===r;if(o)e=o?e.stateNode:e.stateNode.instance,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!==(n=n._reactRootContainer)&&void 0!==n||null!==t.onclick||(t.onclick=zr));else if(4!==r&&null!==(e=e.child))for(ku(e,t,n),e=e.sibling;null!==e;)ku(e,t,n),e=e.sibling}function Su(e,t,n){var r=e.tag,o=5===r||6===r;if(o)e=o?e.stateNode:e.stateNode.instance,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(Su(e,t,n),e=e.sibling;null!==e;)Su(e,t,n),e=e.sibling}function _u(e,t){for(var n,r,o=t,i=!1;;){if(!i){i=o.return;e:for(;;){if(null===i)throw Error(a(160));switch(n=i.stateNode,i.tag){case 5:r=!1;break e;case 3:case 4:n=n.containerInfo,r=!0;break e}i=i.return}i=!0}if(5===o.tag||6===o.tag){e:for(var u=e,l=o,c=l;;)if(bu(u,c),null!==c.child&&4!==c.tag)c.child.return=c,c=c.child;else{if(c===l)break e;for(;null===c.sibling;){if(null===c.return||c.return===l)break e;c=c.return}c.sibling.return=c.return,c=c.sibling}r?(u=n,l=o.stateNode,8===u.nodeType?u.parentNode.removeChild(l):u.removeChild(l)):n.removeChild(o.stateNode)}else if(4===o.tag){if(null!==o.child){n=o.stateNode.containerInfo,r=!0,o.child.return=o,o=o.child;continue}}else if(bu(e,o),null!==o.child){o.child.return=o,o=o.child;continue}if(o===t)break;for(;null===o.sibling;){if(null===o.return||o.return===t)return;4===(o=o.return).tag&&(i=!1)}o.sibling.return=o.return,o=o.sibling}}function Cu(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:var n=t.updateQueue;if(null!==(n=null!==n?n.lastEffect:null)){var r=n=n.next;do{3===(3&r.tag)&&(e=r.destroy,r.destroy=void 0,void 0!==e&&e()),r=r.next}while(r!==n)}return;case 1:case 12:case 17:return;case 5:if(null!=(n=t.stateNode)){r=t.memoizedProps;var o=null!==e?e.memoizedProps:r;e=t.type;var i=t.updateQueue;if(t.updateQueue=null,null!==i){for(n[Jr]=r,"input"===e&&"radio"===r.type&&null!=r.name&&te(n,r),_e(e,o),t=_e(e,r),o=0;o<i.length;o+=2){var u=i[o],l=i[o+1];"style"===u?Ee(n,l):"dangerouslySetInnerHTML"===u?me(n,l):"children"===u?ye(n,l):w(n,u,l,t)}switch(e){case"input":ne(n,r);break;case"textarea":ce(n,r);break;case"select":e=n._wrapperState.wasMultiple,n._wrapperState.wasMultiple=!!r.multiple,null!=(i=r.value)?ae(n,!!r.multiple,i,!1):e!==!!r.multiple&&(null!=r.defaultValue?ae(n,!!r.multiple,r.defaultValue,!0):ae(n,!!r.multiple,r.multiple?[]:"",!1))}}}return;case 6:if(null===t.stateNode)throw Error(a(162));return void(t.stateNode.nodeValue=t.memoizedProps);case 3:return void((n=t.stateNode).hydrate&&(n.hydrate=!1,Et(n.containerInfo)));case 13:return null!==t.memoizedState&&(Vu=Go(),yu(t.child,!0)),void Ou(t);case 19:return void Ou(t);case 23:case 24:return void yu(t,null!==t.memoizedState)}throw Error(a(163))}function Ou(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new hu),t.forEach((function(t){var r=Wl.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function Iu(e,t){return null!==e&&(null===(e=e.memoizedState)||null!==e.dehydrated)&&(null!==(t=t.memoizedState)&&null===t.dehydrated)}var Nu=Math.ceil,Du=x.ReactCurrentDispatcher,Tu=x.ReactCurrentOwner,Ru=0,Au=null,Pu=null,Lu=0,Mu=0,ju=co(0),Fu=0,Bu=null,zu=0,Uu=0,Wu=0,Hu=0,Gu=null,Vu=0,$u=1/0;function qu(){$u=Go()+500}var Ku,Yu=null,Zu=!1,Xu=null,Qu=null,Ju=!1,el=null,tl=90,nl=[],rl=[],ol=null,il=0,al=null,ul=-1,ll=0,cl=0,sl=null,fl=!1;function dl(){return 0!==(48&Ru)?Go():-1!==ul?ul:ul=Go()}function pl(e){if(0===(2&(e=e.mode)))return 1;if(0===(4&e))return 99===Vo()?1:2;if(0===ll&&(ll=zu),0!==Xo.transition){0!==cl&&(cl=null!==Gu?Gu.pendingLanes:0),e=ll;var t=4186112&~cl;return 0===(t&=-t)&&(0===(t=(e=4186112&~e)&-e)&&(t=8192)),t}return e=Vo(),0!==(4&Ru)&&98===e?e=zt(12,ll):e=zt(e=function(e){switch(e){case 99:return 15;case 98:return 10;case 97:case 96:return 8;case 95:return 2;default:return 0}}(e),ll),e}function hl(e,t,n){if(50<il)throw il=0,al=null,Error(a(185));if(null===(e=vl(e,t)))return null;Ht(e,t,n),e===Au&&(Wu|=t,4===Fu&&yl(e,Lu));var r=Vo();1===t?0!==(8&Ru)&&0===(48&Ru)?bl(e):(gl(e,n),0===Ru&&(qu(),Yo())):(0===(4&Ru)||98!==r&&99!==r||(null===ol?ol=new Set([e]):ol.add(e)),gl(e,n)),Gu=e}function vl(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}function gl(e,t){for(var n=e.callbackNode,r=e.suspendedLanes,o=e.pingedLanes,i=e.expirationTimes,u=e.pendingLanes;0<u;){var l=31-Gt(u),c=1<<l,s=i[l];if(-1===s){if(0===(c&r)||0!==(c&o)){s=t,jt(c);var f=Mt;i[l]=10<=f?s+250:6<=f?s+5e3:-1}}else s<=t&&(e.expiredLanes|=c);u&=~c}if(r=Ft(e,e===Au?Lu:0),t=Mt,0===r)null!==n&&(n!==Fo&&Io(n),e.callbackNode=null,e.callbackPriority=0);else{if(null!==n){if(e.callbackPriority===t)return;n!==Fo&&Io(n)}15===t?(n=bl.bind(null,e),null===zo?(zo=[n],Uo=Oo(Ao,Zo)):zo.push(n),n=Fo):14===t?n=Ko(99,bl.bind(null,e)):(n=function(e){switch(e){case 15:case 14:return 99;case 13:case 12:case 11:case 10:return 98;case 9:case 8:case 7:case 6:case 4:case 5:return 97;case 3:case 2:case 1:return 95;case 0:return 90;default:throw Error(a(358,e))}}(t),n=Ko(n,ml.bind(null,e))),e.callbackPriority=t,e.callbackNode=n}}function ml(e){if(ul=-1,cl=ll=0,0!==(48&Ru))throw Error(a(327));var t=e.callbackNode;if(Ll()&&e.callbackNode!==t)return null;var n=Ft(e,e===Au?Lu:0);if(0===n)return null;var r=n,o=Ru;Ru|=16;var i=Cl();for(Au===e&&Lu===r||(qu(),Sl(e,r));;)try{Nl();break}catch(l){_l(e,l)}if(ri(),Du.current=i,Ru=o,null!==Pu?r=0:(Au=null,Lu=0,r=Fu),0!==(zu&Wu))Sl(e,0);else if(0!==r){if(2===r&&(Ru|=64,e.hydrate&&(e.hydrate=!1,qr(e.containerInfo)),0!==(n=Bt(e))&&(r=Ol(e,n))),1===r)throw t=Bu,Sl(e,0),yl(e,n),gl(e,Go()),t;switch(e.finishedWork=e.current.alternate,e.finishedLanes=n,r){case 0:case 1:throw Error(a(345));case 2:case 5:Rl(e);break;case 3:if(yl(e,n),(62914560&n)===n&&10<(r=Vu+500-Go())){if(0!==Ft(e,0))break;if(((o=e.suspendedLanes)&n)!==n){dl(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=Vr(Rl.bind(null,e),r);break}Rl(e);break;case 4:if(yl(e,n),(4186112&n)===n)break;for(r=e.eventTimes,o=-1;0<n;){var u=31-Gt(n);i=1<<u,(u=r[u])>o&&(o=u),n&=~i}if(n=o,10<(n=(120>(n=Go()-n)?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*Nu(n/1960))-n)){e.timeoutHandle=Vr(Rl.bind(null,e),n);break}Rl(e);break;default:throw Error(a(329))}}return gl(e,Go()),e.callbackNode===t?ml.bind(null,e):null}function yl(e,t){for(t&=~Hu,t&=~Wu,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Gt(t),r=1<<n;e[n]=-1,t&=~r}}function bl(e){if(0!==(48&Ru))throw Error(a(327));if(Ll(),e===Au&&0!==(e.expiredLanes&Lu)){var t=Lu,n=Ol(e,t);0!==(zu&Wu)&&(n=Ol(e,t=Ft(e,t)))}else n=Ol(e,t=Ft(e,0));if(0!==e.tag&&2===n&&(Ru|=64,e.hydrate&&(e.hydrate=!1,qr(e.containerInfo)),0!==(t=Bt(e))&&(n=Ol(e,t))),1===n)throw n=Bu,Sl(e,0),yl(e,t),gl(e,Go()),n;return e.finishedWork=e.current.alternate,e.finishedLanes=t,Rl(e),gl(e,Go()),null}function wl(e,t){var n=Ru;Ru|=1;try{return e(t)}finally{0===(Ru=n)&&(qu(),Yo())}}function xl(e,t){var n=Ru;Ru&=-2,Ru|=8;try{return e(t)}finally{0===(Ru=n)&&(qu(),Yo())}}function El(e,t){fo(ju,Mu),Mu|=t,zu|=t}function kl(){Mu=ju.current,so(ju)}function Sl(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,$r(n)),null!==Pu)for(n=Pu.return;null!==n;){var r=n;switch(r.tag){case 1:null!==(r=r.type.childContextTypes)&&void 0!==r&&bo();break;case 3:Li(),so(vo),so(ho),Zi();break;case 5:ji(r);break;case 4:Li();break;case 13:case 19:so(Fi);break;case 10:oi(r);break;case 23:case 24:kl()}n=n.return}Au=e,Pu=$l(e.current,null),Lu=Mu=zu=t,Fu=0,Bu=null,Hu=Wu=Uu=0}function _l(e,t){for(;;){var n=Pu;try{if(ri(),Xi.current=Ra,ra){for(var r=ea.memoizedState;null!==r;){var o=r.queue;null!==o&&(o.pending=null),r=r.next}ra=!1}if(Ji=0,na=ta=ea=null,oa=!1,Tu.current=null,null===n||null===n.return){Fu=1,Bu=t,Pu=null;break}e:{var i=e,a=n.return,u=n,l=t;if(t=Lu,u.flags|=2048,u.firstEffect=u.lastEffect=null,null!==l&&"object"===typeof l&&"function"===typeof l.then){var c=l;if(0===(2&u.mode)){var s=u.alternate;s?(u.updateQueue=s.updateQueue,u.memoizedState=s.memoizedState,u.lanes=s.lanes):(u.updateQueue=null,u.memoizedState=null)}var f=0!==(1&Fi.current),d=a;do{var p;if(p=13===d.tag){var h=d.memoizedState;if(null!==h)p=null!==h.dehydrated;else{var v=d.memoizedProps;p=void 0!==v.fallback&&(!0!==v.unstable_avoidThisFallback||!f)}}if(p){var g=d.updateQueue;if(null===g){var m=new Set;m.add(c),d.updateQueue=m}else g.add(c);if(0===(2&d.mode)){if(d.flags|=64,u.flags|=16384,u.flags&=-2981,1===u.tag)if(null===u.alternate)u.tag=17;else{var y=fi(-1,1);y.tag=2,di(u,y)}u.lanes|=1;break e}l=void 0,u=t;var b=i.pingCache;if(null===b?(b=i.pingCache=new fu,l=new Set,b.set(c,l)):void 0===(l=b.get(c))&&(l=new Set,b.set(c,l)),!l.has(u)){l.add(u);var w=Ul.bind(null,i,c,u);c.then(w,w)}d.flags|=4096,d.lanes=t;break e}d=d.return}while(null!==d);l=Error((q(u.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.")}5!==Fu&&(Fu=2),l=cu(l,u),d=a;do{switch(d.tag){case 3:i=l,d.flags|=4096,t&=-t,d.lanes|=t,pi(d,du(0,i,t));break e;case 1:i=l;var x=d.type,E=d.stateNode;if(0===(64&d.flags)&&("function"===typeof x.getDerivedStateFromError||null!==E&&"function"===typeof E.componentDidCatch&&(null===Qu||!Qu.has(E)))){d.flags|=4096,t&=-t,d.lanes|=t,pi(d,pu(d,i,t));break e}}d=d.return}while(null!==d)}Tl(n)}catch(k){t=k,Pu===n&&null!==n&&(Pu=n=n.return);continue}break}}function Cl(){var e=Du.current;return Du.current=Ra,null===e?Ra:e}function Ol(e,t){var n=Ru;Ru|=16;var r=Cl();for(Au===e&&Lu===t||Sl(e,t);;)try{Il();break}catch(o){_l(e,o)}if(ri(),Ru=n,Du.current=r,null!==Pu)throw Error(a(261));return Au=null,Lu=0,Fu}function Il(){for(;null!==Pu;)Dl(Pu)}function Nl(){for(;null!==Pu&&!No();)Dl(Pu)}function Dl(e){var t=Ku(e.alternate,e,Mu);e.memoizedProps=e.pendingProps,null===t?Tl(e):Pu=t,Tu.current=null}function Tl(e){var t=e;do{var n=t.alternate;if(e=t.return,0===(2048&t.flags)){if(null!==(n=uu(n,t,Mu)))return void(Pu=n);if(24!==(n=t).tag&&23!==n.tag||null===n.memoizedState||0!==(1073741824&Mu)||0===(4&n.mode)){for(var r=0,o=n.child;null!==o;)r|=o.lanes|o.childLanes,o=o.sibling;n.childLanes=r}null!==e&&0===(2048&e.flags)&&(null===e.firstEffect&&(e.firstEffect=t.firstEffect),null!==t.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=t.firstEffect),e.lastEffect=t.lastEffect),1<t.flags&&(null!==e.lastEffect?e.lastEffect.nextEffect=t:e.firstEffect=t,e.lastEffect=t))}else{if(null!==(n=lu(t)))return n.flags&=2047,void(Pu=n);null!==e&&(e.firstEffect=e.lastEffect=null,e.flags|=2048)}if(null!==(t=t.sibling))return void(Pu=t);Pu=t=e}while(null!==t);0===Fu&&(Fu=5)}function Rl(e){var t=Vo();return qo(99,Al.bind(null,e,t)),null}function Al(e,t){do{Ll()}while(null!==el);if(0!==(48&Ru))throw Error(a(327));var n=e.finishedWork;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(a(177));e.callbackNode=null;var r=n.lanes|n.childLanes,o=r,i=e.pendingLanes&~o;e.pendingLanes=o,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=o,e.mutableReadLanes&=o,e.entangledLanes&=o,o=e.entanglements;for(var u=e.eventTimes,l=e.expirationTimes;0<i;){var c=31-Gt(i),s=1<<c;o[c]=0,u[c]=-1,l[c]=-1,i&=~s}if(null!==ol&&0===(24&r)&&ol.has(e)&&ol.delete(e),e===Au&&(Pu=Au=null,Lu=0),1<n.flags?null!==n.lastEffect?(n.lastEffect.nextEffect=n,r=n.firstEffect):r=n:r=n.firstEffect,null!==r){if(o=Ru,Ru|=32,Tu.current=null,Ur=Yt,mr(u=gr())){if("selectionStart"in u)l={start:u.selectionStart,end:u.selectionEnd};else e:if(l=(l=u.ownerDocument)&&l.defaultView||window,(s=l.getSelection&&l.getSelection())&&0!==s.rangeCount){l=s.anchorNode,i=s.anchorOffset,c=s.focusNode,s=s.focusOffset;try{l.nodeType,c.nodeType}catch(C){l=null;break e}var f=0,d=-1,p=-1,h=0,v=0,g=u,m=null;t:for(;;){for(var y;g!==l||0!==i&&3!==g.nodeType||(d=f+i),g!==c||0!==s&&3!==g.nodeType||(p=f+s),3===g.nodeType&&(f+=g.nodeValue.length),null!==(y=g.firstChild);)m=g,g=y;for(;;){if(g===u)break t;if(m===l&&++h===i&&(d=f),m===c&&++v===s&&(p=f),null!==(y=g.nextSibling))break;m=(g=m).parentNode}g=y}l=-1===d||-1===p?null:{start:d,end:p}}else l=null;l=l||{start:0,end:0}}else l=null;Wr={focusedElem:u,selectionRange:l},Yt=!1,sl=null,fl=!1,Yu=r;do{try{Pl()}catch(C){if(null===Yu)throw Error(a(330));zl(Yu,C),Yu=Yu.nextEffect}}while(null!==Yu);sl=null,Yu=r;do{try{for(u=e;null!==Yu;){var b=Yu.flags;if(16&b&&ye(Yu.stateNode,""),128&b){var w=Yu.alternate;if(null!==w){var x=w.ref;null!==x&&("function"===typeof x?x(null):x.current=null)}}switch(1038&b){case 2:Eu(Yu),Yu.flags&=-3;break;case 6:Eu(Yu),Yu.flags&=-3,Cu(Yu.alternate,Yu);break;case 1024:Yu.flags&=-1025;break;case 1028:Yu.flags&=-1025,Cu(Yu.alternate,Yu);break;case 4:Cu(Yu.alternate,Yu);break;case 8:_u(u,l=Yu);var E=l.alternate;wu(l),null!==E&&wu(E)}Yu=Yu.nextEffect}}catch(C){if(null===Yu)throw Error(a(330));zl(Yu,C),Yu=Yu.nextEffect}}while(null!==Yu);if(x=Wr,w=gr(),b=x.focusedElem,u=x.selectionRange,w!==b&&b&&b.ownerDocument&&vr(b.ownerDocument.documentElement,b)){null!==u&&mr(b)&&(w=u.start,void 0===(x=u.end)&&(x=w),"selectionStart"in b?(b.selectionStart=w,b.selectionEnd=Math.min(x,b.value.length)):(x=(w=b.ownerDocument||document)&&w.defaultView||window).getSelection&&(x=x.getSelection(),l=b.textContent.length,E=Math.min(u.start,l),u=void 0===u.end?E:Math.min(u.end,l),!x.extend&&E>u&&(l=u,u=E,E=l),l=hr(b,E),i=hr(b,u),l&&i&&(1!==x.rangeCount||x.anchorNode!==l.node||x.anchorOffset!==l.offset||x.focusNode!==i.node||x.focusOffset!==i.offset)&&((w=w.createRange()).setStart(l.node,l.offset),x.removeAllRanges(),E>u?(x.addRange(w),x.extend(i.node,i.offset)):(w.setEnd(i.node,i.offset),x.addRange(w))))),w=[];for(x=b;x=x.parentNode;)1===x.nodeType&&w.push({element:x,left:x.scrollLeft,top:x.scrollTop});for("function"===typeof b.focus&&b.focus(),b=0;b<w.length;b++)(x=w[b]).element.scrollLeft=x.left,x.element.scrollTop=x.top}Yt=!!Ur,Wr=Ur=null,e.current=n,Yu=r;do{try{for(b=e;null!==Yu;){var k=Yu.flags;if(36&k&&mu(b,Yu.alternate,Yu),128&k){w=void 0;var S=Yu.ref;if(null!==S){var _=Yu.stateNode;Yu.tag,w=_,"function"===typeof S?S(w):S.current=w}}Yu=Yu.nextEffect}}catch(C){if(null===Yu)throw Error(a(330));zl(Yu,C),Yu=Yu.nextEffect}}while(null!==Yu);Yu=null,Bo(),Ru=o}else e.current=n;if(Ju)Ju=!1,el=e,tl=t;else for(Yu=r;null!==Yu;)t=Yu.nextEffect,Yu.nextEffect=null,8&Yu.flags&&((k=Yu).sibling=null,k.stateNode=null),Yu=t;if(0===(r=e.pendingLanes)&&(Qu=null),1===r?e===al?il++:(il=0,al=e):il=0,n=n.stateNode,_o&&"function"===typeof _o.onCommitFiberRoot)try{_o.onCommitFiberRoot(So,n,void 0,64===(64&n.current.flags))}catch(C){}if(gl(e,Go()),Zu)throw Zu=!1,e=Xu,Xu=null,e;return 0!==(8&Ru)||Yo(),null}function Pl(){for(;null!==Yu;){var e=Yu.alternate;fl||null===sl||(0!==(8&Yu.flags)?et(Yu,sl)&&(fl=!0):13===Yu.tag&&Iu(e,Yu)&&et(Yu,sl)&&(fl=!0));var t=Yu.flags;0!==(256&t)&&gu(e,Yu),0===(512&t)||Ju||(Ju=!0,Ko(97,(function(){return Ll(),null}))),Yu=Yu.nextEffect}}function Ll(){if(90!==tl){var e=97<tl?97:tl;return tl=90,qo(e,Fl)}return!1}function Ml(e,t){nl.push(t,e),Ju||(Ju=!0,Ko(97,(function(){return Ll(),null})))}function jl(e,t){rl.push(t,e),Ju||(Ju=!0,Ko(97,(function(){return Ll(),null})))}function Fl(){if(null===el)return!1;var e=el;if(el=null,0!==(48&Ru))throw Error(a(331));var t=Ru;Ru|=32;var n=rl;rl=[];for(var r=0;r<n.length;r+=2){var o=n[r],i=n[r+1],u=o.destroy;if(o.destroy=void 0,"function"===typeof u)try{u()}catch(c){if(null===i)throw Error(a(330));zl(i,c)}}for(n=nl,nl=[],r=0;r<n.length;r+=2){o=n[r],i=n[r+1];try{var l=o.create;o.destroy=l()}catch(c){if(null===i)throw Error(a(330));zl(i,c)}}for(l=e.current.firstEffect;null!==l;)e=l.nextEffect,l.nextEffect=null,8&l.flags&&(l.sibling=null,l.stateNode=null),l=e;return Ru=t,Yo(),!0}function Bl(e,t,n){di(e,t=du(0,t=cu(n,t),1)),t=dl(),null!==(e=vl(e,1))&&(Ht(e,1,t),gl(e,t))}function zl(e,t){if(3===e.tag)Bl(e,e,t);else for(var n=e.return;null!==n;){if(3===n.tag){Bl(n,e,t);break}if(1===n.tag){var r=n.stateNode;if("function"===typeof n.type.getDerivedStateFromError||"function"===typeof r.componentDidCatch&&(null===Qu||!Qu.has(r))){var o=pu(n,e=cu(t,e),1);if(di(n,o),o=dl(),null!==(n=vl(n,1)))Ht(n,1,o),gl(n,o);else if("function"===typeof r.componentDidCatch&&(null===Qu||!Qu.has(r)))try{r.componentDidCatch(t,e)}catch(i){}break}}n=n.return}}function Ul(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=dl(),e.pingedLanes|=e.suspendedLanes&n,Au===e&&(Lu&n)===n&&(4===Fu||3===Fu&&(62914560&Lu)===Lu&&500>Go()-Vu?Sl(e,0):Hu|=n),gl(e,t)}function Wl(e,t){var n=e.stateNode;null!==n&&n.delete(t),0===(t=0)&&(0===(2&(t=e.mode))?t=1:0===(4&t)?t=99===Vo()?1:2:(0===ll&&(ll=zu),0===(t=Ut(62914560&~ll))&&(t=4194304))),n=dl(),null!==(e=vl(e,t))&&(Ht(e,t,n),gl(e,n))}function Hl(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.flags=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childLanes=this.lanes=0,this.alternate=null}function Gl(e,t,n,r){return new Hl(e,t,n,r)}function Vl(e){return!(!(e=e.prototype)||!e.isReactComponent)}function $l(e,t){var n=e.alternate;return null===n?((n=Gl(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function ql(e,t,n,r,o,i){var u=2;if(r=e,"function"===typeof e)Vl(e)&&(u=1);else if("string"===typeof e)u=5;else e:switch(e){case S:return Kl(n.children,o,i,t);case M:u=8,o|=16;break;case _:u=8,o|=1;break;case C:return(e=Gl(12,n,t,8|o)).elementType=C,e.type=C,e.lanes=i,e;case D:return(e=Gl(13,n,t,o)).type=D,e.elementType=D,e.lanes=i,e;case T:return(e=Gl(19,n,t,o)).elementType=T,e.lanes=i,e;case j:return Yl(n,o,i,t);case F:return(e=Gl(24,n,t,o)).elementType=F,e.lanes=i,e;default:if("object"===typeof e&&null!==e)switch(e.$$typeof){case O:u=10;break e;case I:u=9;break e;case N:u=11;break e;case R:u=14;break e;case A:u=16,r=null;break e;case P:u=22;break e}throw Error(a(130,null==e?e:typeof e,""))}return(t=Gl(u,n,t,o)).elementType=e,t.type=r,t.lanes=i,t}function Kl(e,t,n,r){return(e=Gl(7,e,r,t)).lanes=n,e}function Yl(e,t,n,r){return(e=Gl(23,e,r,t)).elementType=j,e.lanes=n,e}function Zl(e,t,n){return(e=Gl(6,e,null,t)).lanes=n,e}function Xl(e,t,n){return(t=Gl(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Ql(e,t,n){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=0,this.eventTimes=Wt(0),this.expirationTimes=Wt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Wt(0),this.mutableSourceEagerHydrationData=null}function Jl(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:k,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}function ec(e,t,n,r){var o=t.current,i=dl(),u=pl(o);e:if(n){t:{if(Ze(n=n._reactInternals)!==n||1!==n.tag)throw Error(a(170));var l=n;do{switch(l.tag){case 3:l=l.stateNode.context;break t;case 1:if(yo(l.type)){l=l.stateNode.__reactInternalMemoizedMergedChildContext;break t}}l=l.return}while(null!==l);throw Error(a(171))}if(1===n.tag){var c=n.type;if(yo(c)){n=xo(n,c,l);break e}}n=l}else n=po;return null===t.context?t.context=n:t.pendingContext=n,(t=fi(i,u)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),di(o,t),hl(o,u,i),u}function tc(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function nc(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function rc(e,t){nc(e,t),(e=e.alternate)&&nc(e,t)}function oc(e,t,n){var r=null!=n&&null!=n.hydrationOptions&&n.hydrationOptions.mutableSources||null;if(n=new Ql(e,t,null!=n&&!0===n.hydrate),t=Gl(3,null,null,2===t?7:1===t?3:0),n.current=t,t.stateNode=n,ci(t),e[eo]=n.current,Rr(8===e.nodeType?e.parentNode:e),r)for(e=0;e<r.length;e++){var o=(t=r[e])._getVersion;o=o(t._source),null==n.mutableSourceEagerHydrationData?n.mutableSourceEagerHydrationData=[t,o]:n.mutableSourceEagerHydrationData.push(t,o)}this._internalRoot=n}function ic(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function ac(e,t,n,r,o){var i=n._reactRootContainer;if(i){var a=i._internalRoot;if("function"===typeof o){var u=o;o=function(){var e=tc(a);u.call(e)}}ec(t,a,e,o)}else{if(i=n._reactRootContainer=function(e,t){if(t||(t=!(!(t=e?9===e.nodeType?e.documentElement:e.firstChild:null)||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new oc(e,0,t?{hydrate:!0}:void 0)}(n,r),a=i._internalRoot,"function"===typeof o){var l=o;o=function(){var e=tc(a);l.call(e)}}xl((function(){ec(t,a,e,o)}))}return tc(a)}function uc(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!ic(t))throw Error(a(200));return Jl(e,t,null,n)}Ku=function(e,t,n){var r=t.lanes;if(null!==e)if(e.memoizedProps!==t.pendingProps||vo.current)ja=!0;else{if(0===(n&r)){switch(ja=!1,t.tag){case 3:qa(t),Ki();break;case 5:Mi(t);break;case 1:yo(t.type)&&Eo(t);break;case 4:Pi(t,t.stateNode.containerInfo);break;case 10:r=t.memoizedProps.value;var o=t.type._context;fo(Jo,o._currentValue),o._currentValue=r;break;case 13:if(null!==t.memoizedState)return 0!==(n&t.child.childLanes)?Qa(e,t,n):(fo(Fi,1&Fi.current),null!==(t=iu(e,t,n))?t.sibling:null);fo(Fi,1&Fi.current);break;case 19:if(r=0!==(n&t.childLanes),0!==(64&e.flags)){if(r)return ou(e,t,n);t.flags|=64}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),fo(Fi,Fi.current),r)break;return null;case 23:case 24:return t.lanes=0,Wa(e,t,n)}return iu(e,t,n)}ja=0!==(16384&e.flags)}else ja=!1;switch(t.lanes=0,t.tag){case 2:if(r=t.type,null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,o=mo(t,ho.current),ai(t,n),o=ua(null,t,r,e,o,n),t.flags|=1,"object"===typeof o&&null!==o&&"function"===typeof o.render&&void 0===o.$$typeof){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,yo(r)){var i=!0;Eo(t)}else i=!1;t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,ci(t);var u=r.getDerivedStateFromProps;"function"===typeof u&&mi(t,r,u,e),o.updater=yi,t.stateNode=o,o._reactInternals=t,Ei(t,r,e,n),t=$a(null,t,r,!0,i,n)}else t.tag=0,Fa(null,t,o,n),t=t.child;return t;case 16:o=t.elementType;e:{switch(null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,o=(i=o._init)(o._payload),t.type=o,i=t.tag=function(e){if("function"===typeof e)return Vl(e)?1:0;if(void 0!==e&&null!==e){if((e=e.$$typeof)===N)return 11;if(e===R)return 14}return 2}(o),e=Qo(o,e),i){case 0:t=Ga(null,t,o,e,n);break e;case 1:t=Va(null,t,o,e,n);break e;case 11:t=Ba(null,t,o,e,n);break e;case 14:t=za(null,t,o,Qo(o.type,e),r,n);break e}throw Error(a(306,o,""))}return t;case 0:return r=t.type,o=t.pendingProps,Ga(e,t,r,o=t.elementType===r?o:Qo(r,o),n);case 1:return r=t.type,o=t.pendingProps,Va(e,t,r,o=t.elementType===r?o:Qo(r,o),n);case 3:if(qa(t),r=t.updateQueue,null===e||null===r)throw Error(a(282));if(r=t.pendingProps,o=null!==(o=t.memoizedState)?o.element:null,si(e,t),hi(t,r,null,n),(r=t.memoizedState.element)===o)Ki(),t=iu(e,t,n);else{if((i=(o=t.stateNode).hydrate)&&(Ui=Kr(t.stateNode.containerInfo.firstChild),zi=t,i=Wi=!0),i){if(null!=(e=o.mutableSourceEagerHydrationData))for(o=0;o<e.length;o+=2)(i=e[o])._workInProgressVersionPrimary=e[o+1],Yi.push(i);for(n=Ii(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|1024,n=n.sibling}else Fa(e,t,r,n),Ki();t=t.child}return t;case 5:return Mi(t),null===e&&Vi(t),r=t.type,o=t.pendingProps,i=null!==e?e.memoizedProps:null,u=o.children,Gr(r,o)?u=null:null!==i&&Gr(r,i)&&(t.flags|=16),Ha(e,t),Fa(e,t,u,n),t.child;case 6:return null===e&&Vi(t),null;case 13:return Qa(e,t,n);case 4:return Pi(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Oi(t,null,r,n):Fa(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,Ba(e,t,r,o=t.elementType===r?o:Qo(r,o),n);case 7:return Fa(e,t,t.pendingProps,n),t.child;case 8:case 12:return Fa(e,t,t.pendingProps.children,n),t.child;case 10:e:{r=t.type._context,o=t.pendingProps,u=t.memoizedProps,i=o.value;var l=t.type._context;if(fo(Jo,l._currentValue),l._currentValue=i,null!==u)if(l=u.value,0===(i=sr(l,i)?0:0|("function"===typeof r._calculateChangedBits?r._calculateChangedBits(l,i):1073741823))){if(u.children===o.children&&!vo.current){t=iu(e,t,n);break e}}else for(null!==(l=t.child)&&(l.return=t);null!==l;){var c=l.dependencies;if(null!==c){u=l.child;for(var s=c.firstContext;null!==s;){if(s.context===r&&0!==(s.observedBits&i)){1===l.tag&&((s=fi(-1,n&-n)).tag=2,di(l,s)),l.lanes|=n,null!==(s=l.alternate)&&(s.lanes|=n),ii(l.return,n),c.lanes|=n;break}s=s.next}}else u=10===l.tag&&l.type===t.type?null:l.child;if(null!==u)u.return=l;else for(u=l;null!==u;){if(u===t){u=null;break}if(null!==(l=u.sibling)){l.return=u.return,u=l;break}u=u.return}l=u}Fa(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=(i=t.pendingProps).children,ai(t,n),r=r(o=ui(o,i.unstable_observedBits)),t.flags|=1,Fa(e,t,r,n),t.child;case 14:return i=Qo(o=t.type,t.pendingProps),za(e,t,o,i=Qo(o.type,i),r,n);case 15:return Ua(e,t,t.type,t.pendingProps,r,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Qo(r,o),null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),t.tag=1,yo(r)?(e=!0,Eo(t)):e=!1,ai(t,n),wi(t,r,o),Ei(t,r,o,n),$a(null,t,r,!0,e,n);case 19:return ou(e,t,n);case 23:case 24:return Wa(e,t,n)}throw Error(a(156,t.tag))},oc.prototype.render=function(e){ec(e,this._internalRoot,null,null)},oc.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;ec(null,e,null,(function(){t[eo]=null}))},tt=function(e){13===e.tag&&(hl(e,4,dl()),rc(e,4))},nt=function(e){13===e.tag&&(hl(e,67108864,dl()),rc(e,67108864))},rt=function(e){if(13===e.tag){var t=dl(),n=pl(e);hl(e,n,t),rc(e,n)}},ot=function(e,t){return t()},Oe=function(e,t,n){switch(t){case"input":if(ne(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=io(r);if(!o)throw Error(a(90));X(r),ne(r,o)}}}break;case"textarea":ce(e,n);break;case"select":null!=(t=n.value)&&ae(e,!!n.multiple,t,!1)}},Ae=wl,Pe=function(e,t,n,r,o){var i=Ru;Ru|=4;try{return qo(98,e.bind(null,t,n,r,o))}finally{0===(Ru=i)&&(qu(),Yo())}},Le=function(){0===(49&Ru)&&(function(){if(null!==ol){var e=ol;ol=null,e.forEach((function(e){e.expiredLanes|=24&e.pendingLanes,gl(e,Go())}))}Yo()}(),Ll())},Me=function(e,t){var n=Ru;Ru|=2;try{return e(t)}finally{0===(Ru=n)&&(qu(),Yo())}};var lc={Events:[ro,oo,io,Te,Re,Ll,{current:!1}]},cc={findFiberByHostInstance:no,bundleType:0,version:"17.0.2",rendererPackageName:"react-dom"},sc={bundleType:cc.bundleType,version:cc.version,rendererPackageName:cc.rendererPackageName,rendererConfig:cc.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:x.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=Je(e))?null:e.stateNode},findFiberByHostInstance:cc.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var fc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!fc.isDisabled&&fc.supportsFiber)try{So=fc.inject(sc),_o=fc}catch(ge){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=lc,t.createPortal=uc,t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"===typeof e.render)throw Error(a(188));throw Error(a(268,Object.keys(e)))}return e=null===(e=Je(t))?null:e.stateNode},t.flushSync=function(e,t){var n=Ru;if(0!==(48&n))return e(t);Ru|=1;try{if(e)return qo(99,e.bind(null,t))}finally{Ru=n,Yo()}},t.hydrate=function(e,t,n){if(!ic(t))throw Error(a(200));return ac(null,e,t,!0,n)},t.render=function(e,t,n){if(!ic(t))throw Error(a(200));return ac(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!ic(e))throw Error(a(40));return!!e._reactRootContainer&&(xl((function(){ac(null,null,e,!1,(function(){e._reactRootContainer=null,e[eo]=null}))})),!0)},t.unstable_batchedUpdates=wl,t.unstable_createPortal=function(e,t){return uc(e,t,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)},t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!ic(n))throw Error(a(200));if(null==e||void 0===e._reactInternals)throw Error(a(38));return ac(e,t,n,!1,r)},t.version="17.0.2"},164:function(e,t,n){"use strict";!function e(){if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}(),e.exports=n(463)},340:function(e,t,n){"use strict";e.exports=n(424)},372:function(e,t){"use strict";var n=60103,r=60106,o=60107,i=60108,a=60114,u=60109,l=60110,c=60112,s=60113,f=60120,d=60115,p=60116,h=60121,v=60122,g=60117,m=60129,y=60131;if("function"===typeof Symbol&&Symbol.for){var b=Symbol.for;n=b("react.element"),r=b("react.portal"),o=b("react.fragment"),i=b("react.strict_mode"),a=b("react.profiler"),u=b("react.provider"),l=b("react.context"),c=b("react.forward_ref"),s=b("react.suspense"),f=b("react.suspense_list"),d=b("react.memo"),p=b("react.lazy"),h=b("react.block"),v=b("react.server.block"),g=b("react.fundamental"),m=b("react.debug_trace_mode"),y=b("react.legacy_hidden")}function w(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case o:case a:case i:case s:case f:return e;default:switch(e=e&&e.$$typeof){case l:case c:case p:case d:case u:return e;default:return t}}case r:return t}}}t.isContextConsumer=function(e){return w(e)===l},t.isFragment=function(e){return w(e)===o},t.isValidElementType=function(e){return"string"===typeof e||"function"===typeof e||e===o||e===a||e===m||e===i||e===s||e===f||e===y||"object"===typeof e&&null!==e&&(e.$$typeof===p||e.$$typeof===d||e.$$typeof===u||e.$$typeof===l||e.$$typeof===c||e.$$typeof===g||e.$$typeof===h||e[0]===v)},t.typeOf=w},441:function(e,t,n){"use strict";e.exports=n(372)},374:function(e,t,n){"use strict";n(725);var r=n(791),o=60103;if(t.Fragment=60107,"function"===typeof Symbol&&Symbol.for){var i=Symbol.for;o=i("react.element"),t.Fragment=i("react.fragment")}var a=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,u=Object.prototype.hasOwnProperty,l={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,n){var r,i={},c=null,s=null;for(r in void 0!==n&&(c=""+n),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(s=t.ref),t)u.call(t,r)&&!l.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===i[r]&&(i[r]=t[r]);return{$$typeof:o,type:e,key:c,ref:s,props:i,_owner:a.current}}t.jsx=c,t.jsxs=c},117:function(e,t,n){"use strict";var r=n(725),o=60103,i=60106;t.Fragment=60107,t.StrictMode=60108,t.Profiler=60114;var a=60109,u=60110,l=60112;t.Suspense=60113;var c=60115,s=60116;if("function"===typeof Symbol&&Symbol.for){var f=Symbol.for;o=f("react.element"),i=f("react.portal"),t.Fragment=f("react.fragment"),t.StrictMode=f("react.strict_mode"),t.Profiler=f("react.profiler"),a=f("react.provider"),u=f("react.context"),l=f("react.forward_ref"),t.Suspense=f("react.suspense"),c=f("react.memo"),s=f("react.lazy")}var d="function"===typeof Symbol&&Symbol.iterator;function p(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},v={};function g(e,t,n){this.props=e,this.context=t,this.refs=v,this.updater=n||h}function m(){}function y(e,t,n){this.props=e,this.context=t,this.refs=v,this.updater=n||h}g.prototype.isReactComponent={},g.prototype.setState=function(e,t){if("object"!==typeof e&&"function"!==typeof e&&null!=e)throw Error(p(85));this.updater.enqueueSetState(this,e,t,"setState")},g.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},m.prototype=g.prototype;var b=y.prototype=new m;b.constructor=y,r(b,g.prototype),b.isPureReactComponent=!0;var w={current:null},x=Object.prototype.hasOwnProperty,E={key:!0,ref:!0,__self:!0,__source:!0};function k(e,t,n){var r,i={},a=null,u=null;if(null!=t)for(r in void 0!==t.ref&&(u=t.ref),void 0!==t.key&&(a=""+t.key),t)x.call(t,r)&&!E.hasOwnProperty(r)&&(i[r]=t[r]);var l=arguments.length-2;if(1===l)i.children=n;else if(1<l){for(var c=Array(l),s=0;s<l;s++)c[s]=arguments[s+2];i.children=c}if(e&&e.defaultProps)for(r in l=e.defaultProps)void 0===i[r]&&(i[r]=l[r]);return{$$typeof:o,type:e,key:a,ref:u,props:i,_owner:w.current}}function S(e){return"object"===typeof e&&null!==e&&e.$$typeof===o}var _=/\/+/g;function C(e,t){return"object"===typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function O(e,t,n,r,a){var u=typeof e;"undefined"!==u&&"boolean"!==u||(e=null);var l=!1;if(null===e)l=!0;else switch(u){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case o:case i:l=!0}}if(l)return a=a(l=e),e=""===r?"."+C(l,0):r,Array.isArray(a)?(n="",null!=e&&(n=e.replace(_,"$&/")+"/"),O(a,t,n,"",(function(e){return e}))):null!=a&&(S(a)&&(a=function(e,t){return{$$typeof:o,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(a,n+(!a.key||l&&l.key===a.key?"":(""+a.key).replace(_,"$&/")+"/")+e)),t.push(a)),1;if(l=0,r=""===r?".":r+":",Array.isArray(e))for(var c=0;c<e.length;c++){var s=r+C(u=e[c],c);l+=O(u,t,n,s,a)}else if(s=function(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=d&&e[d]||e["@@iterator"])?e:null}(e),"function"===typeof s)for(e=s.call(e),c=0;!(u=e.next()).done;)l+=O(u=u.value,t,n,s=r+C(u,c++),a);else if("object"===u)throw t=""+e,Error(p(31,"[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t));return l}function I(e,t,n){if(null==e)return e;var r=[],o=0;return O(e,r,"","",(function(e){return t.call(n,e,o++)})),r}function N(e){if(-1===e._status){var t=e._result;t=t(),e._status=0,e._result=t,t.then((function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)}),(function(t){0===e._status&&(e._status=2,e._result=t)}))}if(1===e._status)return e._result;throw e._result}var D={current:null};function T(){var e=D.current;if(null===e)throw Error(p(321));return e}var R={ReactCurrentDispatcher:D,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:w,IsSomeRendererActing:{current:!1},assign:r};t.Children={map:I,forEach:function(e,t,n){I(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return I(e,(function(){t++})),t},toArray:function(e){return I(e,(function(e){return e}))||[]},only:function(e){if(!S(e))throw Error(p(143));return e}},t.Component=g,t.PureComponent=y,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=R,t.cloneElement=function(e,t,n){if(null===e||void 0===e)throw Error(p(267,e));var i=r({},e.props),a=e.key,u=e.ref,l=e._owner;if(null!=t){if(void 0!==t.ref&&(u=t.ref,l=w.current),void 0!==t.key&&(a=""+t.key),e.type&&e.type.defaultProps)var c=e.type.defaultProps;for(s in t)x.call(t,s)&&!E.hasOwnProperty(s)&&(i[s]=void 0===t[s]&&void 0!==c?c[s]:t[s])}var s=arguments.length-2;if(1===s)i.children=n;else if(1<s){c=Array(s);for(var f=0;f<s;f++)c[f]=arguments[f+2];i.children=c}return{$$typeof:o,type:e.type,key:a,ref:u,props:i,_owner:l}},t.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:u,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:a,_context:e},e.Consumer=e},t.createElement=k,t.createFactory=function(e){var t=k.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:l,render:e}},t.isValidElement=S,t.lazy=function(e){return{$$typeof:s,_payload:{_status:-1,_result:e},_init:N}},t.memo=function(e,t){return{$$typeof:c,type:e,compare:void 0===t?null:t}},t.useCallback=function(e,t){return T().useCallback(e,t)},t.useContext=function(e,t){return T().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return T().useEffect(e,t)},t.useImperativeHandle=function(e,t,n){return T().useImperativeHandle(e,t,n)},t.useLayoutEffect=function(e,t){return T().useLayoutEffect(e,t)},t.useMemo=function(e,t){return T().useMemo(e,t)},t.useReducer=function(e,t,n){return T().useReducer(e,t,n)},t.useRef=function(e){return T().useRef(e)},t.useState=function(e){return T().useState(e)},t.version="17.0.2"},791:function(e,t,n){"use strict";e.exports=n(117)},184:function(e,t,n){"use strict";e.exports=n(374)},813:function(e,t){"use strict";var n,r,o,i;if("object"===typeof performance&&"function"===typeof performance.now){var a=performance;t.unstable_now=function(){return a.now()}}else{var u=Date,l=u.now();t.unstable_now=function(){return u.now()-l}}if("undefined"===typeof window||"function"!==typeof MessageChannel){var c=null,s=null,f=function e(){if(null!==c)try{var n=t.unstable_now();c(!0,n),c=null}catch(r){throw setTimeout(e,0),r}};n=function(e){null!==c?setTimeout(n,0,e):(c=e,setTimeout(f,0))},r=function(e,t){s=setTimeout(e,t)},o=function(){clearTimeout(s)},t.unstable_shouldYield=function(){return!1},i=t.unstable_forceFrameRate=function(){}}else{var d=window.setTimeout,p=window.clearTimeout;if("undefined"!==typeof console){var h=window.cancelAnimationFrame;"function"!==typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),"function"!==typeof h&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var v=!1,g=null,m=-1,y=5,b=0;t.unstable_shouldYield=function(){return t.unstable_now()>=b},i=function(){},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):y=0<e?Math.floor(1e3/e):5};var w=new MessageChannel,x=w.port2;w.port1.onmessage=function(){if(null!==g){var e=t.unstable_now();b=e+y;try{g(!0,e)?x.postMessage(null):(v=!1,g=null)}catch(n){throw x.postMessage(null),n}}else v=!1},n=function(e){g=e,v||(v=!0,x.postMessage(null))},r=function(e,n){m=d((function(){e(t.unstable_now())}),n)},o=function(){p(m),m=-1}}function E(e,t){var n=e.length;e.push(t);e:for(;;){var r=n-1>>>1,o=e[r];if(!(void 0!==o&&0<_(o,t)))break e;e[r]=t,e[n]=o,n=r}}function k(e){return void 0===(e=e[0])?null:e}function S(e){var t=e[0];if(void 0!==t){var n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,o=e.length;r<o;){var i=2*(r+1)-1,a=e[i],u=i+1,l=e[u];if(void 0!==a&&0>_(a,n))void 0!==l&&0>_(l,a)?(e[r]=l,e[u]=n,r=u):(e[r]=a,e[i]=n,r=i);else{if(!(void 0!==l&&0>_(l,n)))break e;e[r]=l,e[u]=n,r=u}}}return t}return null}function _(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var C=[],O=[],I=1,N=null,D=3,T=!1,R=!1,A=!1;function P(e){for(var t=k(O);null!==t;){if(null===t.callback)S(O);else{if(!(t.startTime<=e))break;S(O),t.sortIndex=t.expirationTime,E(C,t)}t=k(O)}}function L(e){if(A=!1,P(e),!R)if(null!==k(C))R=!0,n(M);else{var t=k(O);null!==t&&r(L,t.startTime-e)}}function M(e,n){R=!1,A&&(A=!1,o()),T=!0;var i=D;try{for(P(n),N=k(C);null!==N&&(!(N.expirationTime>n)||e&&!t.unstable_shouldYield());){var a=N.callback;if("function"===typeof a){N.callback=null,D=N.priorityLevel;var u=a(N.expirationTime<=n);n=t.unstable_now(),"function"===typeof u?N.callback=u:N===k(C)&&S(C),P(n)}else S(C);N=k(C)}if(null!==N)var l=!0;else{var c=k(O);null!==c&&r(L,c.startTime-n),l=!1}return l}finally{N=null,D=i,T=!1}}var j=i;t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){R||T||(R=!0,n(M))},t.unstable_getCurrentPriorityLevel=function(){return D},t.unstable_getFirstCallbackNode=function(){return k(C)},t.unstable_next=function(e){switch(D){case 1:case 2:case 3:var t=3;break;default:t=D}var n=D;D=t;try{return e()}finally{D=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=j,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=D;D=e;try{return t()}finally{D=n}},t.unstable_scheduleCallback=function(e,i,a){var u=t.unstable_now();switch("object"===typeof a&&null!==a?a="number"===typeof(a=a.delay)&&0<a?u+a:u:a=u,e){case 1:var l=-1;break;case 2:l=250;break;case 5:l=1073741823;break;case 4:l=1e4;break;default:l=5e3}return e={id:I++,callback:i,priorityLevel:e,startTime:a,expirationTime:l=a+l,sortIndex:-1},a>u?(e.sortIndex=a,E(O,e),null===k(C)&&e===k(O)&&(A?o():A=!0,r(L,a-u))):(e.sortIndex=l,E(C,e),R||T||(R=!0,n(M))),e},t.unstable_wrapCallback=function(e){var t=D;return function(){var n=D;D=t;try{return e.apply(this,arguments)}finally{D=n}}}},296:function(e,t,n){"use strict";e.exports=n(813)},823:function(e){e.exports=function(e,t,n,r){var o=n?n.call(r,e,t):void 0;if(void 0!==o)return!!o;if(e===t)return!0;if("object"!==typeof e||!e||"object"!==typeof t||!t)return!1;var i=Object.keys(e),a=Object.keys(t);if(i.length!==a.length)return!1;for(var u=Object.prototype.hasOwnProperty.bind(t),l=0;l<i.length;l++){var c=i[l];if(!u(c))return!1;var s=e[c],f=t[c];if(!1===(o=n?n.call(r,s,f,c):void 0)||void 0===o&&s!==f)return!1}return!0}},9:function(e){var t=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'],n=t.join(","),r="undefined"===typeof Element?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector;function o(e,t){t=t||{};var o,a,u,s=[],f=[],d=e.querySelectorAll(n);for(t.includeContainer&&r.call(e,n)&&(d=Array.prototype.slice.apply(d)).unshift(e),o=0;o<d.length;o++)i(a=d[o])&&(0===(u=l(a))?s.push(a):f.push({documentOrder:o,tabIndex:u,node:a}));return f.sort(c).map((function(e){return e.node})).concat(s)}function i(e){return!(!a(e)||function(e){return function(e){return s(e)&&"radio"===e.type}(e)&&!function(e){if(!e.name)return!0;var t=function(e){for(var t=0;t<e.length;t++)if(e[t].checked)return e[t]}(e.ownerDocument.querySelectorAll('input[type="radio"][name="'+e.name+'"]'));return!t||t===e}(e)}(e)||l(e)<0)}function a(e){return!(e.disabled||function(e){return s(e)&&"hidden"===e.type}(e)||function(e){return null===e.offsetParent||"hidden"===getComputedStyle(e).visibility}(e))}o.isTabbable=function(e){if(!e)throw new Error("No node provided");return!1!==r.call(e,n)&&i(e)},o.isFocusable=function(e){if(!e)throw new Error("No node provided");return!1!==r.call(e,u)&&a(e)};var u=t.concat("iframe").join(",");function l(e){var t=parseInt(e.getAttribute("tabindex"),10);return isNaN(t)?function(e){return"true"===e.contentEditable}(e)?0:e.tabIndex:t}function c(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex}function s(e){return"INPUT"===e.tagName}e.exports=o},897:function(e){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r},e.exports.__esModule=!0,e.exports.default=e.exports},405:function(e,t,n){var r=n(897);e.exports=function(e){if(Array.isArray(e))return r(e)},e.exports.__esModule=!0,e.exports.default=e.exports},156:function(e){function t(e,t,n,r,o,i,a){try{var u=e[i](a),l=u.value}catch(c){return void n(c)}u.done?t(l):Promise.resolve(l).then(r,o)}e.exports=function(e){return function(){var n=this,r=arguments;return new Promise((function(o,i){var a=e.apply(n,r);function u(e){t(a,o,i,u,l,"next",e)}function l(e){t(a,o,i,u,l,"throw",e)}u(void 0)}))}},e.exports.__esModule=!0,e.exports.default=e.exports},690:function(e){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.__esModule=!0,e.exports.default=e.exports},728:function(e){function t(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e.exports=function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e},e.exports.__esModule=!0,e.exports.default=e.exports},704:function(e,t,n){var r=n(116);e.exports=function(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=r(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var o=0,i=function(){};return{s:i,n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,u=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return u=e.done,e},e:function(e){l=!0,a=e},f:function(){try{u||null==n.return||n.return()}finally{if(l)throw a}}}},e.exports.__esModule=!0,e.exports.default=e.exports},416:function(e){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.__esModule=!0,e.exports.default=e.exports},498:function(e){e.exports=function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.__esModule=!0,e.exports.default=e.exports},281:function(e){e.exports=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.")},e.exports.__esModule=!0,e.exports.default=e.exports},61:function(e,t,n){var r=n(698).default;function o(){"use strict";e.exports=o=function(){return t},e.exports.__esModule=!0,e.exports.default=e.exports;var t={},n=Object.prototype,i=n.hasOwnProperty,a="function"==typeof Symbol?Symbol:{},u=a.iterator||"@@iterator",l=a.asyncIterator||"@@asyncIterator",c=a.toStringTag||"@@toStringTag";function s(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(N){s=function(e,t,n){return e[t]=n}}function f(e,t,n,r){var o=t&&t.prototype instanceof h?t:h,i=Object.create(o.prototype),a=new C(r||[]);return i._invoke=function(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return I()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var u=k(a,n);if(u){if(u===p)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=d(e,t,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===p)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}(e,n,a),i}function d(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(N){return{type:"throw",arg:N}}}t.wrap=f;var p={};function h(){}function v(){}function g(){}var m={};s(m,u,(function(){return this}));var y=Object.getPrototypeOf,b=y&&y(y(O([])));b&&b!==n&&i.call(b,u)&&(m=b);var w=g.prototype=h.prototype=Object.create(m);function x(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function E(e,t){function n(o,a,u,l){var c=d(e[o],e,a);if("throw"!==c.type){var s=c.arg,f=s.value;return f&&"object"==r(f)&&i.call(f,"__await")?t.resolve(f.__await).then((function(e){n("next",e,u,l)}),(function(e){n("throw",e,u,l)})):t.resolve(f).then((function(e){s.value=e,u(s)}),(function(e){return n("throw",e,u,l)}))}l(c.arg)}var o;this._invoke=function(e,r){function i(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(i,i):i()}}function k(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,k(e,t),"throw"===t.method))return p;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return p}var r=d(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,p;var o=r.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,p):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,p)}function S(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function _(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function O(e){if(e){var t=e[u];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,r=function t(){for(;++n<e.length;)if(i.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return r.next=r}}return{next:I}}function I(){return{value:void 0,done:!0}}return v.prototype=g,s(w,"constructor",g),s(g,"constructor",v),v.displayName=s(g,c,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===v||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,g):(e.__proto__=g,s(e,c,"GeneratorFunction")),e.prototype=Object.create(w),e},t.awrap=function(e){return{__await:e}},x(E.prototype),s(E.prototype,l,(function(){return this})),t.AsyncIterator=E,t.async=function(e,n,r,o,i){void 0===i&&(i=Promise);var a=new E(f(e,n,r,o),i);return t.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},x(w),s(w,c,"Generator"),s(w,u,(function(){return this})),s(w,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},t.values=O,C.prototype={constructor:C,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(_),!e)for(var t in this)"t"===t.charAt(0)&&i.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r],a=o.completion;if("root"===o.tryLoc)return n("end");if(o.tryLoc<=this.prev){var u=i.call(o,"catchLoc"),l=i.call(o,"finallyLoc");if(u&&l){if(this.prev<o.catchLoc)return n(o.catchLoc,!0);if(this.prev<o.finallyLoc)return n(o.finallyLoc)}else if(u){if(this.prev<o.catchLoc)return n(o.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return n(o.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,p):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),p},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),_(n),p}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;_(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:O(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),p}},t}e.exports=o,e.exports.__esModule=!0,e.exports.default=e.exports},861:function(e,t,n){var r=n(405),o=n(498),i=n(116),a=n(281);e.exports=function(e){return r(e)||o(e)||i(e)||a()},e.exports.__esModule=!0,e.exports.default=e.exports},698:function(e){function t(n){return e.exports=t="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},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},116:function(e,t,n){var r=n(897);e.exports=function(e,t){if(e){if("string"===typeof e)return r(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)?r(e,t):void 0}},e.exports.__esModule=!0,e.exports.default=e.exports}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={id:r,loaded:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.loaded=!0,i.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}(),n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e},n.nc=void 0,function(){"use strict";function e(t){return e="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},e(t)}function t(){t=function(){return n};var n={},r=Object.prototype,o=r.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(I){c=function(e,t,n){return e[t]=n}}function s(e,t,n,r){var o=t&&t.prototype instanceof p?t:p,i=Object.create(o.prototype),a=new _(r||[]);return i._invoke=function(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return O()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var u=E(a,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=f(e,t,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}(e,n,a),i}function f(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(I){return{type:"throw",arg:I}}}n.wrap=s;var d={};function p(){}function h(){}function v(){}var g={};c(g,a,(function(){return this}));var m=Object.getPrototypeOf,y=m&&m(m(C([])));y&&y!==r&&o.call(y,a)&&(g=y);var b=v.prototype=p.prototype=Object.create(g);function w(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function x(t,n){function r(i,a,u,l){var c=f(t[i],t,a);if("throw"!==c.type){var s=c.arg,d=s.value;return d&&"object"==e(d)&&o.call(d,"__await")?n.resolve(d.__await).then((function(e){r("next",e,u,l)}),(function(e){r("throw",e,u,l)})):n.resolve(d).then((function(e){s.value=e,u(s)}),(function(e){return r("throw",e,u,l)}))}l(c.arg)}var i;this._invoke=function(e,t){function o(){return new n((function(n,o){r(e,t,n,o)}))}return i=i?i.then(o,o):o()}}function E(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,E(e,t),"throw"===t.method))return d;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return d}var r=f(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,d;var o=r.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,d):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,d)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function _(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function C(e){if(e){var t=e[a];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,r=function t(){for(;++n<e.length;)if(o.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return r.next=r}}return{next:O}}function O(){return{value:void 0,done:!0}}return h.prototype=v,c(b,"constructor",v),c(v,"constructor",h),h.displayName=c(v,l,"GeneratorFunction"),n.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===h||"GeneratorFunction"===(t.displayName||t.name))},n.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,c(e,l,"GeneratorFunction")),e.prototype=Object.create(b),e},n.awrap=function(e){return{__await:e}},w(x.prototype),c(x.prototype,u,(function(){return this})),n.AsyncIterator=x,n.async=function(e,t,r,o,i){void 0===i&&(i=Promise);var a=new x(s(e,t,r,o),i);return n.isGeneratorFunction(t)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},w(b),c(b,l,"Generator"),c(b,a,(function(){return this})),c(b,"toString",(function(){return"[object Generator]"})),n.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},n.values=C,_.prototype={constructor:_,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!e)for(var t in this)"t"===t.charAt(0)&&o.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var u=o.call(i,"catchLoc"),l=o.call(i,"finallyLoc");if(u&&l){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&o.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,d):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),d},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),S(n),d}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;S(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:C(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),d}},n}function r(e,t,n,r,o,i,a){try{var u=e[i](a),l=u.value}catch(c){return void n(c)}u.done?t(l):Promise.resolve(l).then(r,o)}function o(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var i=n(613),a=n.n(i),u=n(791),l=n(164),c=n(340),s=u.createContext(null);var f=function(e){e()},d=function(){return f};var p={notify:function(){},get:function(){return[]}};function h(e,t){var n,r=p;function o(){a.onStateChange&&a.onStateChange()}function i(){n||(n=t?t.addNestedSub(o):e.subscribe(o),r=function(){var e=d(),t=null,n=null;return{clear:function(){t=null,n=null},notify:function(){e((function(){for(var e=t;e;)e.callback(),e=e.next}))},get:function(){for(var e=[],n=t;n;)e.push(n),n=n.next;return e},subscribe:function(e){var r=!0,o=n={callback:e,next:null,prev:n};return o.prev?o.prev.next=o:t=o,function(){r&&null!==t&&(r=!1,o.next?o.next.prev=o.prev:n=o.prev,o.prev?o.prev.next=o.next:t=o.next)}}}}())}var a={addNestedSub:function(e){return i(),r.subscribe(e)},notifyNestedSubs:function(){r.notify()},handleChangeWrapper:o,isSubscribed:function(){return Boolean(n)},trySubscribe:i,tryUnsubscribe:function(){n&&(n(),n=void 0,r.clear(),r=p)},getListeners:function(){return r}};return a}var v="undefined"!==typeof window&&"undefined"!==typeof window.document&&"undefined"!==typeof window.document.createElement?u.useLayoutEffect:u.useEffect;var g=function(e){var t=e.store,n=e.context,r=e.children,o=(0,u.useMemo)((function(){var e=h(t);return{store:t,subscription:e}}),[t]),i=(0,u.useMemo)((function(){return t.getState()}),[t]);v((function(){var e=o.subscription;return e.onStateChange=e.notifyNestedSubs,e.trySubscribe(),i!==t.getState()&&e.notifyNestedSubs(),function(){e.tryUnsubscribe(),e.onStateChange=null}}),[o,i]);var a=n||s;return u.createElement(a.Provider,{value:o},r)},m=n(110),y=n.n(m),b=n(441);function w(){return w=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},w.apply(this,arguments)}function x(){return(0,u.useContext)(s)}function E(e){void 0===e&&(e=s);var t=e===s?x:function(){return(0,u.useContext)(e)};return function(){return t().store}}var k=E();function S(e){void 0===e&&(e=s);var t=e===s?k:E(e);return function(){return t().dispatch}}var _=S(),C=function(e,t){return e===t};function O(e){void 0===e&&(e=s);var t=e===s?x:function(){return(0,u.useContext)(e)};return function(e,n){void 0===n&&(n=C);var r=t(),o=function(e,t,n,r){var o,i=(0,u.useReducer)((function(e){return e+1}),0)[1],a=(0,u.useMemo)((function(){return h(n,r)}),[n,r]),l=(0,u.useRef)(),c=(0,u.useRef)(),s=(0,u.useRef)(),f=(0,u.useRef)(),d=n.getState();try{if(e!==c.current||d!==s.current||l.current){var p=e(d);o=void 0!==f.current&&t(p,f.current)?f.current:p}else o=f.current}catch(g){throw l.current&&(g.message+="\nThe error may be correlated with this previous error:\n"+l.current.stack+"\n\n"),g}return v((function(){c.current=e,s.current=d,f.current=o,l.current=void 0})),v((function(){function e(){try{var e=n.getState();if(e===s.current)return;var r=c.current(e);if(t(r,f.current))return;f.current=r,s.current=e}catch(g){l.current=g}i()}return a.onStateChange=e,a.trySubscribe(),e(),function(){return a.tryUnsubscribe()}}),[n,a]),o}(e,n,r.store,r.subscription);return(0,u.useDebugValue)(o),o}}var I,N=O();I=l.unstable_batchedUpdates,f=I;var D=n(823),T=n.n(D);var R=function(e){function t(e,r,l,c,d){for(var p,h,v,g,w,E=0,k=0,S=0,_=0,C=0,R=0,P=v=p=0,M=0,j=0,F=0,B=0,z=l.length,U=z-1,W="",H="",G="",V="";M<z;){if(h=l.charCodeAt(M),M===U&&0!==k+_+S+E&&(0!==k&&(h=47===k?10:47),_=S=E=0,z++,U++),0===k+_+S+E){if(M===U&&(0<j&&(W=W.replace(f,"")),0<W.trim().length)){switch(h){case 32:case 9:case 59:case 13:case 10:break;default:W+=l.charAt(M)}h=59}switch(h){case 123:for(p=(W=W.trim()).charCodeAt(0),v=1,B=++M;M<z;){switch(h=l.charCodeAt(M)){case 123:v++;break;case 125:v--;break;case 47:switch(h=l.charCodeAt(M+1)){case 42:case 47:e:{for(P=M+1;P<U;++P)switch(l.charCodeAt(P)){case 47:if(42===h&&42===l.charCodeAt(P-1)&&M+2!==P){M=P+1;break e}break;case 10:if(47===h){M=P+1;break e}}M=P}}break;case 91:h++;case 40:h++;case 34:case 39:for(;M++<U&&l.charCodeAt(M)!==h;);}if(0===v)break;M++}if(v=l.substring(B,M),0===p&&(p=(W=W.replace(s,"").trim()).charCodeAt(0)),64===p){switch(0<j&&(W=W.replace(f,"")),h=W.charCodeAt(1)){case 100:case 109:case 115:case 45:j=r;break;default:j=T}if(B=(v=t(r,j,v,h,d+1)).length,0<A&&(w=u(3,v,j=n(T,W,F),r,I,O,B,h,d,c),W=j.join(""),void 0!==w&&0===(B=(v=w.trim()).length)&&(h=0,v="")),0<B)switch(h){case 115:W=W.replace(x,a);case 100:case 109:case 45:v=W+"{"+v+"}";break;case 107:v=(W=W.replace(m,"$1 $2"))+"{"+v+"}",v=1===D||2===D&&i("@"+v,3)?"@-webkit-"+v+"@"+v:"@"+v;break;default:v=W+v,112===c&&(H+=v,v="")}else v=""}else v=t(r,n(r,W,F),v,c,d+1);G+=v,v=F=j=P=p=0,W="",h=l.charCodeAt(++M);break;case 125:case 59:if(1<(B=(W=(0<j?W.replace(f,""):W).trim()).length))switch(0===P&&(p=W.charCodeAt(0),45===p||96<p&&123>p)&&(B=(W=W.replace(" ",":")).length),0<A&&void 0!==(w=u(1,W,r,e,I,O,H.length,c,d,c))&&0===(B=(W=w.trim()).length)&&(W="\0\0"),p=W.charCodeAt(0),h=W.charCodeAt(1),p){case 0:break;case 64:if(105===h||99===h){V+=W+l.charAt(M);break}default:58!==W.charCodeAt(B-1)&&(H+=o(W,p,h,W.charCodeAt(2)))}F=j=P=p=0,W="",h=l.charCodeAt(++M)}}switch(h){case 13:case 10:47===k?k=0:0===1+p&&107!==c&&0<W.length&&(j=1,W+="\0"),0<A*L&&u(0,W,r,e,I,O,H.length,c,d,c),O=1,I++;break;case 59:case 125:if(0===k+_+S+E){O++;break}default:switch(O++,g=l.charAt(M),h){case 9:case 32:if(0===_+E+k)switch(C){case 44:case 58:case 9:case 32:g="";break;default:32!==h&&(g=" ")}break;case 0:g="\\0";break;case 12:g="\\f";break;case 11:g="\\v";break;case 38:0===_+k+E&&(j=F=1,g="\f"+g);break;case 108:if(0===_+k+E+N&&0<P)switch(M-P){case 2:112===C&&58===l.charCodeAt(M-3)&&(N=C);case 8:111===R&&(N=R)}break;case 58:0===_+k+E&&(P=M);break;case 44:0===k+S+_+E&&(j=1,g+="\r");break;case 34:case 39:0===k&&(_=_===h?0:0===_?h:_);break;case 91:0===_+k+S&&E++;break;case 93:0===_+k+S&&E--;break;case 41:0===_+k+E&&S--;break;case 40:if(0===_+k+E){if(0===p)if(2*C+3*R===533);else p=1;S++}break;case 64:0===k+S+_+E+P+v&&(v=1);break;case 42:case 47:if(!(0<_+E+S))switch(k){case 0:switch(2*h+3*l.charCodeAt(M+1)){case 235:k=47;break;case 220:B=M,k=42}break;case 42:47===h&&42===C&&B+2!==M&&(33===l.charCodeAt(B+2)&&(H+=l.substring(B,M+1)),g="",k=0)}}0===k&&(W+=g)}R=C,C=h,M++}if(0<(B=H.length)){if(j=r,0<A&&(void 0!==(w=u(2,H,j,e,I,O,B,c,d,c))&&0===(H=w).length))return V+H+G;if(H=j.join(",")+"{"+H+"}",0!==D*N){switch(2!==D||i(H,2)||(N=0),N){case 111:H=H.replace(b,":-moz-$1")+H;break;case 112:H=H.replace(y,"::-webkit-input-$1")+H.replace(y,"::-moz-$1")+H.replace(y,":-ms-input-$1")+H}N=0}}return V+H+G}function n(e,t,n){var o=t.trim().split(v);t=o;var i=o.length,a=e.length;switch(a){case 0:case 1:var u=0;for(e=0===a?"":e[0]+" ";u<i;++u)t[u]=r(e,t[u],n).trim();break;default:var l=u=0;for(t=[];u<i;++u)for(var c=0;c<a;++c)t[l++]=r(e[c]+" ",o[u],n).trim()}return t}function r(e,t,n){var r=t.charCodeAt(0);switch(33>r&&(r=(t=t.trim()).charCodeAt(0)),r){case 38:return t.replace(g,"$1"+e.trim());case 58:return e.trim()+t.replace(g,"$1"+e.trim());default:if(0<1*n&&0<t.indexOf("\f"))return t.replace(g,(58===e.charCodeAt(0)?"":"$1")+e.trim())}return e+t}function o(e,t,n,r){var a=e+";",u=2*t+3*n+4*r;if(944===u){e=a.indexOf(":",9)+1;var l=a.substring(e,a.length-1).trim();return l=a.substring(0,e).trim()+l+";",1===D||2===D&&i(l,1)?"-webkit-"+l+l:l}if(0===D||2===D&&!i(a,1))return a;switch(u){case 1015:return 97===a.charCodeAt(10)?"-webkit-"+a+a:a;case 951:return 116===a.charCodeAt(3)?"-webkit-"+a+a:a;case 963:return 110===a.charCodeAt(5)?"-webkit-"+a+a:a;case 1009:if(100!==a.charCodeAt(4))break;case 969:case 942:return"-webkit-"+a+a;case 978:return"-webkit-"+a+"-moz-"+a+a;case 1019:case 983:return"-webkit-"+a+"-moz-"+a+"-ms-"+a+a;case 883:if(45===a.charCodeAt(8))return"-webkit-"+a+a;if(0<a.indexOf("image-set(",11))return a.replace(C,"$1-webkit-$2")+a;break;case 932:if(45===a.charCodeAt(4))switch(a.charCodeAt(5)){case 103:return"-webkit-box-"+a.replace("-grow","")+"-webkit-"+a+"-ms-"+a.replace("grow","positive")+a;case 115:return"-webkit-"+a+"-ms-"+a.replace("shrink","negative")+a;case 98:return"-webkit-"+a+"-ms-"+a.replace("basis","preferred-size")+a}return"-webkit-"+a+"-ms-"+a+a;case 964:return"-webkit-"+a+"-ms-flex-"+a+a;case 1023:if(99!==a.charCodeAt(8))break;return"-webkit-box-pack"+(l=a.substring(a.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+a+"-ms-flex-pack"+l+a;case 1005:return p.test(a)?a.replace(d,":-webkit-")+a.replace(d,":-moz-")+a:a;case 1e3:switch(t=(l=a.substring(13).trim()).indexOf("-")+1,l.charCodeAt(0)+l.charCodeAt(t)){case 226:l=a.replace(w,"tb");break;case 232:l=a.replace(w,"tb-rl");break;case 220:l=a.replace(w,"lr");break;default:return a}return"-webkit-"+a+"-ms-"+l+a;case 1017:if(-1===a.indexOf("sticky",9))break;case 975:switch(t=(a=e).length-10,u=(l=(33===a.charCodeAt(t)?a.substring(0,t):a).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|l.charCodeAt(7))){case 203:if(111>l.charCodeAt(8))break;case 115:a=a.replace(l,"-webkit-"+l)+";"+a;break;case 207:case 102:a=a.replace(l,"-webkit-"+(102<u?"inline-":"")+"box")+";"+a.replace(l,"-webkit-"+l)+";"+a.replace(l,"-ms-"+l+"box")+";"+a}return a+";";case 938:if(45===a.charCodeAt(5))switch(a.charCodeAt(6)){case 105:return l=a.replace("-items",""),"-webkit-"+a+"-webkit-box-"+l+"-ms-flex-"+l+a;case 115:return"-webkit-"+a+"-ms-flex-item-"+a.replace(k,"")+a;default:return"-webkit-"+a+"-ms-flex-line-pack"+a.replace("align-content","").replace(k,"")+a}break;case 973:case 989:if(45!==a.charCodeAt(3)||122===a.charCodeAt(4))break;case 931:case 953:if(!0===_.test(e))return 115===(l=e.substring(e.indexOf(":")+1)).charCodeAt(0)?o(e.replace("stretch","fill-available"),t,n,r).replace(":fill-available",":stretch"):a.replace(l,"-webkit-"+l)+a.replace(l,"-moz-"+l.replace("fill-",""))+a;break;case 962:if(a="-webkit-"+a+(102===a.charCodeAt(5)?"-ms-"+a:"")+a,211===n+r&&105===a.charCodeAt(13)&&0<a.indexOf("transform",10))return a.substring(0,a.indexOf(";",27)+1).replace(h,"$1-webkit-$2")+a}return a}function i(e,t){var n=e.indexOf(1===t?":":"{"),r=e.substring(0,3!==t?n:10);return n=e.substring(n+1,e.length-1),P(2!==t?r:r.replace(S,"$1"),n,t)}function a(e,t){var n=o(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return n!==t+";"?n.replace(E," or ($1)").substring(4):"("+t+")"}function u(e,t,n,r,o,i,a,u,l,s){for(var f,d=0,p=t;d<A;++d)switch(f=R[d].call(c,e,p,n,r,o,i,a,u,l,s)){case void 0:case!1:case!0:case null:break;default:p=f}if(p!==t)return p}function l(e){return void 0!==(e=e.prefix)&&(P=null,e?"function"!==typeof e?D=1:(D=2,P=e):D=0),l}function c(e,n){var r=e;if(33>r.charCodeAt(0)&&(r=r.trim()),r=[r],0<A){var o=u(-1,n,r,r,I,O,0,0,0,0);void 0!==o&&"string"===typeof o&&(n=o)}var i=t(T,r,n,0,0);return 0<A&&(void 0!==(o=u(-2,i,r,r,I,O,i.length,0,0,0))&&(i=o)),"",N=0,O=I=1,i}var s=/^\0+/g,f=/[\0\r\f]/g,d=/: */g,p=/zoo|gra/,h=/([,: ])(transform)/g,v=/,\r+?/g,g=/([\t\r\n ])*\f?&/g,m=/@(k\w+)\s*(\S*)\s*/,y=/::(place)/g,b=/:(read-only)/g,w=/[svh]\w+-[tblr]{2}/,x=/\(\s*(.*)\s*\)/g,E=/([\s\S]*?);/g,k=/-self|flex-/g,S=/[^]*?(:[rp][el]a[\w-]+)[^]*/,_=/stretch|:\s*\w+\-(?:conte|avail)/,C=/([^-])(image-set\()/,O=1,I=1,N=0,D=1,T=[],R=[],A=0,P=null,L=0;return c.use=function e(t){switch(t){case void 0:case null:A=R.length=0;break;default:if("function"===typeof t)R[A++]=t;else if("object"===typeof t)for(var n=0,r=t.length;n<r;++n)e(t[n]);else L=0|!!t}return e},c.set=l,void 0!==e&&l(e),c},A={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};var P=function(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}},L=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,M=P((function(e){return L.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}));function j(){return(j=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var F=function(e,t){for(var n=[e[0]],r=0,o=t.length;r<o;r+=1)n.push(t[r],e[r+1]);return n},B=function(e){return null!==e&&"object"==typeof e&&"[object Object]"===(e.toString?e.toString():Object.prototype.toString.call(e))&&!(0,b.typeOf)(e)},z=Object.freeze([]),U=Object.freeze({});function W(e){return"function"==typeof e}function H(e){return e.displayName||e.name||"Component"}function G(e){return e&&"string"==typeof e.styledComponentId}var V="undefined"!=typeof process&&({NODE_ENV:"production",PUBLIC_URL:".",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.REACT_APP_SC_ATTR||{NODE_ENV:"production",PUBLIC_URL:".",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.SC_ATTR)||"data-styled",$="undefined"!=typeof window&&"HTMLElement"in window,q=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!=={NODE_ENV:"production",PUBLIC_URL:".",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.REACT_APP_SC_DISABLE_SPEEDY&&""!=={NODE_ENV:"production",PUBLIC_URL:".",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.REACT_APP_SC_DISABLE_SPEEDY?"false"!=={NODE_ENV:"production",PUBLIC_URL:".",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.REACT_APP_SC_DISABLE_SPEEDY&&{NODE_ENV:"production",PUBLIC_URL:".",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.REACT_APP_SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!=={NODE_ENV:"production",PUBLIC_URL:".",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.SC_DISABLE_SPEEDY&&""!=={NODE_ENV:"production",PUBLIC_URL:".",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.SC_DISABLE_SPEEDY&&("false"!=={NODE_ENV:"production",PUBLIC_URL:".",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.SC_DISABLE_SPEEDY&&{NODE_ENV:"production",PUBLIC_URL:".",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.SC_DISABLE_SPEEDY));function K(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw new Error("An error occurred. See https://git.io/JUIaE#"+e+" for more information."+(n.length>0?" Args: "+n.join(", "):""))}var Y=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}var t=e.prototype;return t.indexOfGroup=function(e){for(var t=0,n=0;n<e;n++)t+=this.groupSizes[n];return t},t.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,o=r;e>=o;)(o<<=1)<0&&K(16,""+e);this.groupSizes=new Uint32Array(o),this.groupSizes.set(n),this.length=o;for(var i=r;i<o;i++)this.groupSizes[i]=0}for(var a=this.indexOfGroup(e+1),u=0,l=t.length;u<l;u++)this.tag.insertRule(a,t[u])&&(this.groupSizes[e]++,a++)},t.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],n=this.indexOfGroup(e),r=n+t;this.groupSizes[e]=0;for(var o=n;o<r;o++)this.tag.deleteRule(n)}},t.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],r=this.indexOfGroup(e),o=r+n,i=r;i<o;i++)t+=this.tag.getRule(i)+"/*!sc*/\n";return t},e}(),Z=new Map,X=new Map,Q=1,J=function(e){if(Z.has(e))return Z.get(e);for(;X.has(Q);)Q++;var t=Q++;return Z.set(e,t),X.set(t,e),t},ee=function(e){return X.get(e)},te=function(e,t){t>=Q&&(Q=t+1),Z.set(e,t),X.set(t,e)},ne="style["+V+'][data-styled-version="5.3.5"]',re=new RegExp("^"+V+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),oe=function(e,t,n){for(var r,o=n.split(","),i=0,a=o.length;i<a;i++)(r=o[i])&&e.registerName(t,r)},ie=function(e,t){for(var n=(t.textContent||"").split("/*!sc*/\n"),r=[],o=0,i=n.length;o<i;o++){var a=n[o].trim();if(a){var u=a.match(re);if(u){var l=0|parseInt(u[1],10),c=u[2];0!==l&&(te(c,l),oe(e,c,u[3]),e.getTag().insertRules(l,r)),r.length=0}else r.push(a)}}},ae=function(){return"undefined"!=typeof window&&void 0!==window.__webpack_nonce__?window.__webpack_nonce__:null},ue=function(e){var t=document.head,n=e||t,r=document.createElement("style"),o=function(e){for(var t=e.childNodes,n=t.length;n>=0;n--){var r=t[n];if(r&&1===r.nodeType&&r.hasAttribute(V))return r}}(n),i=void 0!==o?o.nextSibling:null;r.setAttribute(V,"active"),r.setAttribute("data-styled-version","5.3.5");var a=ae();return a&&r.setAttribute("nonce",a),n.insertBefore(r,i),r},le=function(){function e(e){var t=this.element=ue(e);t.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,r=t.length;n<r;n++){var o=t[n];if(o.ownerNode===e)return o}K(17)}(t),this.length=0}var t=e.prototype;return t.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},t.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},t.getRule=function(e){var t=this.sheet.cssRules[e];return void 0!==t&&"string"==typeof t.cssText?t.cssText:""},e}(),ce=function(){function e(e){var t=this.element=ue(e);this.nodes=t.childNodes,this.length=0}var t=e.prototype;return t.insertRule=function(e,t){if(e<=this.length&&e>=0){var n=document.createTextNode(t),r=this.nodes[e];return this.element.insertBefore(n,r||null),this.length++,!0}return!1},t.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},t.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),se=function(){function e(e){this.rules=[],this.length=0}var t=e.prototype;return t.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},t.deleteRule=function(e){this.rules.splice(e,1),this.length--},t.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),fe=$,de={isServer:!$,useCSSOMInjection:!q},pe=function(){function e(e,t,n){void 0===e&&(e=U),void 0===t&&(t={}),this.options=j({},de,{},e),this.gs=t,this.names=new Map(n),this.server=!!e.isServer,!this.server&&$&&fe&&(fe=!1,function(e){for(var t=document.querySelectorAll(ne),n=0,r=t.length;n<r;n++){var o=t[n];o&&"active"!==o.getAttribute(V)&&(ie(e,o),o.parentNode&&o.parentNode.removeChild(o))}}(this))}e.registerId=function(e){return J(e)};var t=e.prototype;return t.reconstructWithOptions=function(t,n){return void 0===n&&(n=!0),new e(j({},this.options,{},t),this.gs,n&&this.names||void 0)},t.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},t.getTag=function(){return this.tag||(this.tag=(n=(t=this.options).isServer,r=t.useCSSOMInjection,o=t.target,e=n?new se(o):r?new le(o):new ce(o),new Y(e)));var e,t,n,r,o},t.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},t.registerName=function(e,t){if(J(e),this.names.has(e))this.names.get(e).add(t);else{var n=new Set;n.add(t),this.names.set(e,n)}},t.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(J(e),n)},t.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},t.clearRules=function(e){this.getTag().clearGroup(J(e)),this.clearNames(e)},t.clearTag=function(){this.tag=void 0},t.toString=function(){return function(e){for(var t=e.getTag(),n=t.length,r="",o=0;o<n;o++){var i=ee(o);if(void 0!==i){var a=e.names.get(i),u=t.getGroup(o);if(a&&u&&a.size){var l=V+".g"+o+'[id="'+i+'"]',c="";void 0!==a&&a.forEach((function(e){e.length>0&&(c+=e+",")})),r+=""+u+l+'{content:"'+c+'"}/*!sc*/\n'}}}return r}(this)},e}(),he=/(a)(d)/gi,ve=function(e){return String.fromCharCode(e+(e>25?39:97))};function ge(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=ve(t%52)+n;return(ve(t%52)+n).replace(he,"$1-$2")}var me=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},ye=function(e){return me(5381,e)};function be(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(W(n)&&!G(n))return!1}return!0}var we=ye("5.3.5"),xe=function(){function e(e,t,n){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===n||n.isStatic)&&be(e),this.componentId=t,this.baseHash=me(we,t),this.baseStyle=n,pe.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,n){var r=this.componentId,o=[];if(this.baseStyle&&o.push(this.baseStyle.generateAndInjectStyles(e,t,n)),this.isStatic&&!n.hash)if(this.staticRulesId&&t.hasNameForId(r,this.staticRulesId))o.push(this.staticRulesId);else{var i=Be(this.rules,e,t,n).join(""),a=ge(me(this.baseHash,i)>>>0);if(!t.hasNameForId(r,a)){var u=n(i,"."+a,void 0,r);t.insertRules(r,a,u)}o.push(a),this.staticRulesId=a}else{for(var l=this.rules.length,c=me(this.baseHash,n.hash),s="",f=0;f<l;f++){var d=this.rules[f];if("string"==typeof d)s+=d;else if(d){var p=Be(d,e,t,n),h=Array.isArray(p)?p.join(""):p;c=me(c,h+f),s+=h}}if(s){var v=ge(c>>>0);if(!t.hasNameForId(r,v)){var g=n(s,"."+v,void 0,r);t.insertRules(r,v,g)}o.push(v)}}return o.join(" ")},e}(),Ee=/^\s*\/\/.*$/gm,ke=[":","[",".","#"];function Se(e){var t,n,r,o,i=void 0===e?U:e,a=i.options,u=void 0===a?U:a,l=i.plugins,c=void 0===l?z:l,s=new R(u),f=[],d=function(e){function t(t){if(t)try{e(t+"}")}catch(e){}}return function(n,r,o,i,a,u,l,c,s,f){switch(n){case 1:if(0===s&&64===r.charCodeAt(0))return e(r+";"),"";break;case 2:if(0===c)return r+"/*|*/";break;case 3:switch(c){case 102:case 112:return e(o[0]+r),"";default:return r+(0===f?"/*|*/":"")}case-2:r.split("/*|*/}").forEach(t)}}}((function(e){f.push(e)})),p=function(e,r,i){return 0===r&&-1!==ke.indexOf(i[n.length])||i.match(o)?e:"."+t};function h(e,i,a,u){void 0===u&&(u="&");var l=e.replace(Ee,""),c=i&&a?a+" "+i+" { "+l+" }":l;return t=u,n=i,r=new RegExp("\\"+n+"\\b","g"),o=new RegExp("(\\"+n+"\\b){2,}"),s(a||!i?"":i,c)}return s.use([].concat(c,[function(e,t,o){2===e&&o.length&&o[0].lastIndexOf(n)>0&&(o[0]=o[0].replace(r,p))},d,function(e){if(-2===e){var t=f;return f=[],t}}])),h.hash=c.length?c.reduce((function(e,t){return t.name||K(15),me(e,t.name)}),5381).toString():"",h}var _e=u.createContext(),Ce=(_e.Consumer,u.createContext()),Oe=(Ce.Consumer,new pe),Ie=Se();function Ne(){return(0,u.useContext)(_e)||Oe}function De(){return(0,u.useContext)(Ce)||Ie}function Te(e){var t=(0,u.useState)(e.stylisPlugins),n=t[0],r=t[1],o=Ne(),i=(0,u.useMemo)((function(){var t=o;return e.sheet?t=e.sheet:e.target&&(t=t.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(t=t.reconstructWithOptions({useCSSOMInjection:!1})),t}),[e.disableCSSOMInjection,e.sheet,e.target]),a=(0,u.useMemo)((function(){return Se({options:{prefix:!e.disableVendorPrefixes},plugins:n})}),[e.disableVendorPrefixes,n]);return(0,u.useEffect)((function(){T()(n,e.stylisPlugins)||r(e.stylisPlugins)}),[e.stylisPlugins]),u.createElement(_e.Provider,{value:i},u.createElement(Ce.Provider,{value:a},e.children))}var Re=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=Ie);var r=n.name+t.hash;e.hasNameForId(n.id,r)||e.insertRules(n.id,r,t(n.rules,r,"@keyframes"))},this.toString=function(){return K(12,String(n.name))},this.name=e,this.id="sc-keyframes-"+e,this.rules=t}return e.prototype.getName=function(e){return void 0===e&&(e=Ie),this.name+e.hash},e}(),Ae=/([A-Z])/,Pe=/([A-Z])/g,Le=/^ms-/,Me=function(e){return"-"+e.toLowerCase()};function je(e){return Ae.test(e)?e.replace(Pe,Me).replace(Le,"-ms-"):e}var Fe=function(e){return null==e||!1===e||""===e};function Be(e,t,n,r){if(Array.isArray(e)){for(var o,i=[],a=0,u=e.length;a<u;a+=1)""!==(o=Be(e[a],t,n,r))&&(Array.isArray(o)?i.push.apply(i,o):i.push(o));return i}return Fe(e)?"":G(e)?"."+e.styledComponentId:W(e)?"function"!=typeof(l=e)||l.prototype&&l.prototype.isReactComponent||!t?e:Be(e(t),t,n,r):e instanceof Re?n?(e.inject(n,r),e.getName(r)):e:B(e)?function e(t,n){var r,o,i=[];for(var a in t)t.hasOwnProperty(a)&&!Fe(t[a])&&(Array.isArray(t[a])&&t[a].isCss||W(t[a])?i.push(je(a)+":",t[a],";"):B(t[a])?i.push.apply(i,e(t[a],a)):i.push(je(a)+": "+(r=a,(null==(o=t[a])||"boolean"==typeof o||""===o?"":"number"!=typeof o||0===o||r in A?String(o).trim():o+"px")+";")));return n?[n+" {"].concat(i,["}"]):i}(e):e.toString();var l}var ze=function(e){return Array.isArray(e)&&(e.isCss=!0),e};function Ue(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return W(e)||B(e)?ze(Be(F(z,[e].concat(n)))):0===n.length&&1===e.length&&"string"==typeof e[0]?e:ze(Be(F(e,n)))}new Set;var We=function(e,t,n){return void 0===n&&(n=U),e.theme!==n.theme&&e.theme||t||n.theme},He=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,Ge=/(^-|-$)/g;function Ve(e){return e.replace(He,"-").replace(Ge,"")}var $e=function(e){return ge(ye(e)>>>0)};function qe(e){return"string"==typeof e&&!0}var Ke=function(e){return"function"==typeof e||"object"==typeof e&&null!==e&&!Array.isArray(e)},Ye=function(e){return"__proto__"!==e&&"constructor"!==e&&"prototype"!==e};function Ze(e,t,n){var r=e[n];Ke(t)&&Ke(r)?Xe(r,t):e[n]=t}function Xe(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];for(var o=0,i=n;o<i.length;o++){var a=i[o];if(Ke(a))for(var u in a)Ye(u)&&Ze(e,a[u],u)}return e}var Qe=u.createContext();Qe.Consumer;var Je={};function et(e,t,n){var r=G(e),o=!qe(e),i=t.attrs,a=void 0===i?z:i,l=t.componentId,c=void 0===l?function(e,t){var n="string"!=typeof e?"sc":Ve(e);Je[n]=(Je[n]||0)+1;var r=n+"-"+$e("5.3.5"+n+Je[n]);return t?t+"-"+r:r}(t.displayName,t.parentComponentId):l,s=t.displayName,f=void 0===s?function(e){return qe(e)?"styled."+e:"Styled("+H(e)+")"}(e):s,d=t.displayName&&t.componentId?Ve(t.displayName)+"-"+t.componentId:t.componentId||c,p=r&&e.attrs?Array.prototype.concat(e.attrs,a).filter(Boolean):a,h=t.shouldForwardProp;r&&e.shouldForwardProp&&(h=t.shouldForwardProp?function(n,r,o){return e.shouldForwardProp(n,r,o)&&t.shouldForwardProp(n,r,o)}:e.shouldForwardProp);var v,g=new xe(n,d,r?e.componentStyle:void 0),m=g.isStatic&&0===a.length,b=function(e,t){return function(e,t,n,r){var o=e.attrs,i=e.componentStyle,a=e.defaultProps,l=e.foldedComponentIds,c=e.shouldForwardProp,s=e.styledComponentId,f=e.target,d=function(e,t,n){void 0===e&&(e=U);var r=j({},t,{theme:e}),o={};return n.forEach((function(e){var t,n,i,a=e;for(t in W(a)&&(a=a(r)),a)r[t]=o[t]="className"===t?(n=o[t],i=a[t],n&&i?n+" "+i:n||i):a[t]})),[r,o]}(We(t,(0,u.useContext)(Qe),a)||U,t,o),p=d[0],h=d[1],v=function(e,t,n,r){var o=Ne(),i=De();return t?e.generateAndInjectStyles(U,o,i):e.generateAndInjectStyles(n,o,i)}(i,r,p),g=n,m=h.$as||t.$as||h.as||t.as||f,y=qe(m),b=h!==t?j({},t,{},h):t,w={};for(var x in b)"$"!==x[0]&&"as"!==x&&("forwardedAs"===x?w.as=b[x]:(c?c(x,M,m):!y||M(x))&&(w[x]=b[x]));return t.style&&h.style!==t.style&&(w.style=j({},t.style,{},h.style)),w.className=Array.prototype.concat(l,s,v!==s?v:null,t.className,h.className).filter(Boolean).join(" "),w.ref=g,(0,u.createElement)(m,w)}(v,e,t,m)};return b.displayName=f,(v=u.forwardRef(b)).attrs=p,v.componentStyle=g,v.displayName=f,v.shouldForwardProp=h,v.foldedComponentIds=r?Array.prototype.concat(e.foldedComponentIds,e.styledComponentId):z,v.styledComponentId=d,v.target=r?e.target:e,v.withComponent=function(e){var r=t.componentId,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(t,["componentId"]),i=r&&r+"-"+(qe(e)?e:Ve(H(e)));return et(e,j({},o,{attrs:p,componentId:i}),n)},Object.defineProperty(v,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(t){this._foldedDefaultProps=r?Xe({},e.defaultProps,t):t}}),v.toString=function(){return"."+v.styledComponentId},o&&y()(v,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),v}var tt=function(e){return function e(t,n,r){if(void 0===r&&(r=U),!(0,b.isValidElementType)(n))return K(1,String(n));var o=function(){return t(n,r,Ue.apply(void 0,arguments))};return o.withConfig=function(o){return e(t,n,j({},r,{},o))},o.attrs=function(o){return e(t,n,j({},r,{attrs:Array.prototype.concat(r.attrs,o).filter(Boolean)}))},o}(et,e)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","textPath","tspan"].forEach((function(e){tt[e]=tt(e)}));!function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=be(e),pe.registerId(this.componentId+1)}var t=e.prototype;t.createStyles=function(e,t,n,r){var o=r(Be(this.rules,t,n,r).join(""),""),i=this.componentId+e;n.insertRules(i,i,o)},t.removeStyles=function(e,t){t.clearRules(this.componentId+e)},t.renderStyles=function(e,t,n,r){e>2&&pe.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,r)}}();!function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString();if(!t)return"";var n=ae();return"<style "+[n&&'nonce="'+n+'"',V+'="true"','data-styled-version="5.3.5"'].filter(Boolean).join(" ")+">"+t+"</style>"},this.getStyleTags=function(){return e.sealed?K(2):e._emitSheetCSS()},this.getStyleElement=function(){var t;if(e.sealed)return K(2);var n=((t={})[V]="",t["data-styled-version"]="5.3.5",t.dangerouslySetInnerHTML={__html:e.instance.toString()},t),r=ae();return r&&(n.nonce=r),[u.createElement("style",j({},n,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new pe({isServer:!0}),this.sealed=!1}var t=e.prototype;t.collectStyles=function(e){return this.sealed?K(2):u.createElement(Te,{sheet:this.instance},e)},t.interleaveWithNodeStream=function(e){return K(3)}}();var nt=tt;function rt(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function ot(e,t){if(e){if("string"===typeof e)return rt(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)?rt(e,t):void 0}}function it(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,u=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(l){u=!0,o=l}finally{try{a||null==n.return||n.return()}finally{if(u)throw o}}return i}}(e,t)||ot(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var at,ut=[],lt="ResizeObserver loop completed with undelivered notifications.";!function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"}(at||(at={}));var ct,st,ft=function(e){return Object.freeze(e)},dt=function(e,t){this.inlineSize=e,this.blockSize=t,ft(this)},pt=function(){function e(e,t,n,r){return this.x=e,this.y=t,this.width=n,this.height=r,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,ft(this)}return e.prototype.toJSON=function(){var e=this;return{x:e.x,y:e.y,top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.width,height:e.height}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}(),ht=function(e){return e instanceof SVGElement&&"getBBox"in e},vt=function(e){if(ht(e)){var t=e.getBBox(),n=t.width,r=t.height;return!n&&!r}var o=e,i=o.offsetWidth,a=o.offsetHeight;return!(i||a||e.getClientRects().length)},gt=function(e){var t;if(e instanceof Element)return!0;var n=null===(t=null===e||void 0===e?void 0:e.ownerDocument)||void 0===t?void 0:t.defaultView;return!!(n&&e instanceof n.Element)},mt="undefined"!==typeof window?window:{},yt=new WeakMap,bt=/auto|scroll/,wt=/^tb|vertical/,xt=/msie|trident/i.test(mt.navigator&&mt.navigator.userAgent),Et=function(e){return parseFloat(e||"0")},kt=function(e,t,n){return void 0===e&&(e=0),void 0===t&&(t=0),void 0===n&&(n=!1),new dt((n?t:e)||0,(n?e:t)||0)},St=ft({devicePixelContentBoxSize:kt(),borderBoxSize:kt(),contentBoxSize:kt(),contentRect:new pt(0,0,0,0)}),_t=function(e,t){if(void 0===t&&(t=!1),yt.has(e)&&!t)return yt.get(e);if(vt(e))return yt.set(e,St),St;var n=getComputedStyle(e),r=ht(e)&&e.ownerSVGElement&&e.getBBox(),o=!xt&&"border-box"===n.boxSizing,i=wt.test(n.writingMode||""),a=!r&&bt.test(n.overflowY||""),u=!r&&bt.test(n.overflowX||""),l=r?0:Et(n.paddingTop),c=r?0:Et(n.paddingRight),s=r?0:Et(n.paddingBottom),f=r?0:Et(n.paddingLeft),d=r?0:Et(n.borderTopWidth),p=r?0:Et(n.borderRightWidth),h=r?0:Et(n.borderBottomWidth),v=f+c,g=l+s,m=(r?0:Et(n.borderLeftWidth))+p,y=d+h,b=u?e.offsetHeight-y-e.clientHeight:0,w=a?e.offsetWidth-m-e.clientWidth:0,x=o?v+m:0,E=o?g+y:0,k=r?r.width:Et(n.width)-x-w,S=r?r.height:Et(n.height)-E-b,_=k+v+w+m,C=S+g+b+y,O=ft({devicePixelContentBoxSize:kt(Math.round(k*devicePixelRatio),Math.round(S*devicePixelRatio),i),borderBoxSize:kt(_,C,i),contentBoxSize:kt(k,S,i),contentRect:new pt(f,l,k,S)});return yt.set(e,O),O},Ct=function(e,t,n){var r=_t(e,n),o=r.borderBoxSize,i=r.contentBoxSize,a=r.devicePixelContentBoxSize;switch(t){case at.DEVICE_PIXEL_CONTENT_BOX:return a;case at.BORDER_BOX:return o;default:return i}},Ot=function(e){var t=_t(e);this.target=e,this.contentRect=t.contentRect,this.borderBoxSize=ft([t.borderBoxSize]),this.contentBoxSize=ft([t.contentBoxSize]),this.devicePixelContentBoxSize=ft([t.devicePixelContentBoxSize])},It=function(e){if(vt(e))return 1/0;for(var t=0,n=e.parentNode;n;)t+=1,n=n.parentNode;return t},Nt=function(){var e=1/0,t=[];ut.forEach((function(n){if(0!==n.activeTargets.length){var r=[];n.activeTargets.forEach((function(t){var n=new Ot(t.target),o=It(t.target);r.push(n),t.lastReportedSize=Ct(t.target,t.observedBox),o<e&&(e=o)})),t.push((function(){n.callback.call(n.observer,r,n.observer)})),n.activeTargets.splice(0,n.activeTargets.length)}}));for(var n=0,r=t;n<r.length;n++){(0,r[n])()}return e},Dt=function(e){ut.forEach((function(t){t.activeTargets.splice(0,t.activeTargets.length),t.skippedTargets.splice(0,t.skippedTargets.length),t.observationTargets.forEach((function(n){n.isActive()&&(It(n.target)>e?t.activeTargets.push(n):t.skippedTargets.push(n))}))}))},Tt=function(){var e=0;for(Dt(e);ut.some((function(e){return e.activeTargets.length>0}));)e=Nt(),Dt(e);return ut.some((function(e){return e.skippedTargets.length>0}))&&function(){var e;"function"===typeof ErrorEvent?e=new ErrorEvent("error",{message:lt}):((e=document.createEvent("Event")).initEvent("error",!1,!1),e.message=lt),window.dispatchEvent(e)}(),e>0},Rt=[],At=function(e){if(!ct){var t=0,n=document.createTextNode("");new MutationObserver((function(){return Rt.splice(0).forEach((function(e){return e()}))})).observe(n,{characterData:!0}),ct=function(){n.textContent="".concat(t?t--:t++)}}Rt.push(e),ct()},Pt=0,Lt={attributes:!0,characterData:!0,childList:!0,subtree:!0},Mt=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],jt=function(e){return void 0===e&&(e=0),Date.now()+e},Ft=!1,Bt=new(function(){function e(){var e=this;this.stopped=!0,this.listener=function(){return e.schedule()}}return e.prototype.run=function(e){var t=this;if(void 0===e&&(e=250),!Ft){Ft=!0;var n,r=jt(e);n=function(){var n=!1;try{n=Tt()}finally{if(Ft=!1,e=r-jt(),!Pt)return;n?t.run(1e3):e>0?t.run(e):t.start()}},At((function(){requestAnimationFrame(n)}))}},e.prototype.schedule=function(){this.stop(),this.run()},e.prototype.observe=function(){var e=this,t=function(){return e.observer&&e.observer.observe(document.body,Lt)};document.body?t():mt.addEventListener("DOMContentLoaded",t)},e.prototype.start=function(){var e=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),Mt.forEach((function(t){return mt.addEventListener(t,e.listener,!0)})))},e.prototype.stop=function(){var e=this;this.stopped||(this.observer&&this.observer.disconnect(),Mt.forEach((function(t){return mt.removeEventListener(t,e.listener,!0)})),this.stopped=!0)},e}()),zt=function(e){!Pt&&e>0&&Bt.start(),!(Pt+=e)&&Bt.stop()},Ut=function(){function e(e,t){this.target=e,this.observedBox=t||at.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var e,t=Ct(this.target,this.observedBox,!0);return e=this.target,ht(e)||function(e){switch(e.tagName){case"INPUT":if("image"!==e.type)break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1}(e)||"inline"!==getComputedStyle(e).display||(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},e}(),Wt=function(e,t){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=e,this.callback=t},Ht=new WeakMap,Gt=function(e,t){for(var n=0;n<e.length;n+=1)if(e[n].target===t)return n;return-1},Vt=function(){function e(){}return e.connect=function(e,t){var n=new Wt(e,t);Ht.set(e,n)},e.observe=function(e,t,n){var r=Ht.get(e),o=0===r.observationTargets.length;Gt(r.observationTargets,t)<0&&(o&&ut.push(r),r.observationTargets.push(new Ut(t,n&&n.box)),zt(1),Bt.schedule())},e.unobserve=function(e,t){var n=Ht.get(e),r=Gt(n.observationTargets,t),o=1===n.observationTargets.length;r>=0&&(o&&ut.splice(ut.indexOf(n),1),n.observationTargets.splice(r,1),zt(-1))},e.disconnect=function(e){var t=this,n=Ht.get(e);n.observationTargets.slice().forEach((function(n){return t.unobserve(e,n.target)})),n.activeTargets.splice(0,n.activeTargets.length)},e}(),$t=function(){function e(e){if(0===arguments.length)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if("function"!==typeof e)throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");Vt.connect(this,e)}return e.prototype.observe=function(e,t){if(0===arguments.length)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!gt(e))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");Vt.observe(this,e,t)},e.prototype.unobserve=function(e){if(0===arguments.length)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!gt(e))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");Vt.unobserve(this,e)},e.prototype.disconnect=function(){Vt.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}(),qt=u["undefined"!==typeof document&&void 0!==document.createElement?"useLayoutEffect":"useEffect"],Kt=function(e){var t=u.useRef(e);return u.useEffect((function(){t.current=e})),t},Yt="undefined"!==typeof window&&"ResizeObserver"in window?window.ResizeObserver:$t;function Zt(){}var Xt=function(){return st||(st=function(){var e=!1,t=[],n=new Map,r=new Yt((function(r,o){t=t.concat(r),e||window.requestAnimationFrame((function(){for(var r=new Set,i=function(e){if(r.has(t[e].target))return"continue";r.add(t[e].target);var i=n.get(t[e].target);null===i||void 0===i||i.forEach((function(n){return n(t[e],o)}))},a=0;a<t.length;a++)i(a);t=[],e=!1})),e=!0}));return{observer:r,subscribe:function(e,t){var o;r.observe(e);var i=null!==(o=n.get(e))&&void 0!==o?o:[];i.push(t),n.set(e,i)},unsubscribe:function(e,t){var o,i=null!==(o=n.get(e))&&void 0!==o?o:[];if(1===i.length)return r.unobserve(e),void n.delete(e);var a=i.indexOf(t);-1!==a&&i.splice(a,1),n.set(e,i)}}}())},Qt=function(e,t){var n=Xt(),r=Kt(t);return qt((function(){var t=!1,o=e&&"current"in e?e.current:e;if(!o)return Zt;function i(e,n){t||r.current(e,n)}return n.subscribe(o,i),function(){t=!0,n.unsubscribe(o,i)}}),[e,n,r]),n.observer},Jt=function(){return _()},en=N,tn=function(e,t){var n=it((0,u.useState)(),2),r=n[0],o=n[1];Qt(e,(function(e){var n,i,a=e.contentRect,u=e.target;n=r,i=a,JSON.stringify(n)!==JSON.stringify(i)&&(o(a),t(u))}))},nn=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500,n=(0,u.useRef)();clearTimeout(n.current),n.current=setTimeout((function(){e()}),t)};function rn(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+e+(n.length?" "+n.map((function(e){return"'"+e+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function on(e){return!!e&&!!e[Kn]}function an(e){return!!e&&(function(e){if(!e||"object"!=typeof e)return!1;var t=Object.getPrototypeOf(e);if(null===t)return!0;var n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return n===Object||"function"==typeof n&&Function.toString.call(n)===Yn}(e)||Array.isArray(e)||!!e[qn]||!!e.constructor[qn]||pn(e)||hn(e))}function un(e,t,n){void 0===n&&(n=!1),0===ln(e)?(n?Object.keys:Zn)(e).forEach((function(r){n&&"symbol"==typeof r||t(r,e[r],e)})):e.forEach((function(n,r){return t(r,n,e)}))}function ln(e){var t=e[Kn];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:pn(e)?2:hn(e)?3:0}function cn(e,t){return 2===ln(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function sn(e,t){return 2===ln(e)?e.get(t):e[t]}function fn(e,t,n){var r=ln(e);2===r?e.set(t,n):3===r?(e.delete(t),e.add(n)):e[t]=n}function dn(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function pn(e){return Hn&&e instanceof Map}function hn(e){return Gn&&e instanceof Set}function vn(e){return e.o||e.t}function gn(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=Xn(e);delete t[Kn];for(var n=Zn(t),r=0;r<n.length;r++){var o=n[r],i=t[o];!1===i.writable&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(t[o]={configurable:!0,writable:!0,enumerable:i.enumerable,value:e[o]})}return Object.create(Object.getPrototypeOf(e),t)}function mn(e,t){return void 0===t&&(t=!1),bn(e)||on(e)||!an(e)||(ln(e)>1&&(e.set=e.add=e.clear=e.delete=yn),Object.freeze(e),t&&un(e,(function(e,t){return mn(t,!0)}),!0)),e}function yn(){rn(2)}function bn(e){return null==e||"object"!=typeof e||Object.isFrozen(e)}function wn(e){var t=Qn[e];return t||rn(18,e),t}function xn(e,t){Qn[e]||(Qn[e]=t)}function En(){return Un}function kn(e,t){t&&(wn("Patches"),e.u=[],e.s=[],e.v=t)}function Sn(e){_n(e),e.p.forEach(On),e.p=null}function _n(e){e===Un&&(Un=e.l)}function Cn(e){return Un={p:[],l:Un,h:e,m:!0,_:0}}function On(e){var t=e[Kn];0===t.i||1===t.i?t.j():t.O=!0}function In(e,t){t._=t.p.length;var n=t.p[0],r=void 0!==e&&e!==n;return t.h.g||wn("ES5").S(t,e,r),r?(n[Kn].P&&(Sn(t),rn(4)),an(e)&&(e=Nn(t,e),t.l||Tn(t,e)),t.u&&wn("Patches").M(n[Kn].t,e,t.u,t.s)):e=Nn(t,n,[]),Sn(t),t.u&&t.v(t.u,t.s),e!==$n?e:void 0}function Nn(e,t,n){if(bn(t))return t;var r=t[Kn];if(!r)return un(t,(function(o,i){return Dn(e,r,t,o,i,n)}),!0),t;if(r.A!==e)return t;if(!r.P)return Tn(e,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var o=4===r.i||5===r.i?r.o=gn(r.k):r.o;un(3===r.i?new Set(o):o,(function(t,i){return Dn(e,r,o,t,i,n)})),Tn(e,o,!1),n&&e.u&&wn("Patches").R(r,n,e.u,e.s)}return r.o}function Dn(e,t,n,r,o,i){if(on(o)){var a=Nn(e,o,i&&t&&3!==t.i&&!cn(t.D,r)?i.concat(r):void 0);if(fn(n,r,a),!on(a))return;e.m=!1}if(an(o)&&!bn(o)){if(!e.h.F&&e._<1)return;Nn(e,o),t&&t.A.l||Tn(e,o)}}function Tn(e,t,n){void 0===n&&(n=!1),e.h.F&&e.m&&mn(t,n)}function Rn(e,t){var n=e[Kn];return(n?vn(n):e)[t]}function An(e,t){if(t in e)for(var n=Object.getPrototypeOf(e);n;){var r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=Object.getPrototypeOf(n)}}function Pn(e){e.P||(e.P=!0,e.l&&Pn(e.l))}function Ln(e){e.o||(e.o=gn(e.t))}function Mn(e,t,n){var r=pn(t)?wn("MapSet").N(t,n):hn(t)?wn("MapSet").T(t,n):e.g?function(e,t){var n=Array.isArray(e),r={i:n?1:0,A:t?t.A:En(),P:!1,I:!1,D:{},l:t,t:e,k:null,o:null,j:null,C:!1},o=r,i=Jn;n&&(o=[r],i=er);var a=Proxy.revocable(o,i),u=a.revoke,l=a.proxy;return r.k=l,r.j=u,l}(t,n):wn("ES5").J(t,n);return(n?n.A:En()).p.push(r),r}function jn(e){return on(e)||rn(22,e),function e(t){if(!an(t))return t;var n,r=t[Kn],o=ln(t);if(r){if(!r.P&&(r.i<4||!wn("ES5").K(r)))return r.t;r.I=!0,n=Fn(t,o),r.I=!1}else n=Fn(t,o);return un(n,(function(t,o){r&&sn(r.t,t)===o||fn(n,t,e(o))})),3===o?new Set(n):n}(e)}function Fn(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return gn(e)}function Bn(){function e(e,t){var n=o[e];return n?n.enumerable=t:o[e]=n={configurable:!0,enumerable:t,get:function(){var t=this[Kn];return Jn.get(t,e)},set:function(t){var n=this[Kn];Jn.set(n,e,t)}},n}function t(e){for(var t=e.length-1;t>=0;t--){var o=e[t][Kn];if(!o.P)switch(o.i){case 5:r(o)&&Pn(o);break;case 4:n(o)&&Pn(o)}}}function n(e){for(var t=e.t,n=e.k,r=Zn(n),o=r.length-1;o>=0;o--){var i=r[o];if(i!==Kn){var a=t[i];if(void 0===a&&!cn(t,i))return!0;var u=n[i],l=u&&u[Kn];if(l?l.t!==a:!dn(u,a))return!0}}var c=!!t[Kn];return r.length!==Zn(t).length+(c?0:1)}function r(e){var t=e.k;if(t.length!==e.t.length)return!0;var n=Object.getOwnPropertyDescriptor(t,t.length-1);if(n&&!n.get)return!0;for(var r=0;r<t.length;r++)if(!t.hasOwnProperty(r))return!0;return!1}var o={};xn("ES5",{J:function(t,n){var r=Array.isArray(t),o=function(t,n){if(t){for(var r=Array(n.length),o=0;o<n.length;o++)Object.defineProperty(r,""+o,e(o,!0));return r}var i=Xn(n);delete i[Kn];for(var a=Zn(i),u=0;u<a.length;u++){var l=a[u];i[l]=e(l,t||!!i[l].enumerable)}return Object.create(Object.getPrototypeOf(n),i)}(r,t),i={i:r?5:4,A:n?n.A:En(),P:!1,I:!1,D:{},l:n,t:t,k:o,o:null,O:!1,C:!1};return Object.defineProperty(o,Kn,{value:i,writable:!0}),o},S:function(e,n,o){o?on(n)&&n[Kn].A===e&&t(e.p):(e.u&&function e(t){if(t&&"object"==typeof t){var n=t[Kn];if(n){var o=n.t,i=n.k,a=n.D,u=n.i;if(4===u)un(i,(function(t){t!==Kn&&(void 0!==o[t]||cn(o,t)?a[t]||e(i[t]):(a[t]=!0,Pn(n)))})),un(o,(function(e){void 0!==i[e]||cn(i,e)||(a[e]=!1,Pn(n))}));else if(5===u){if(r(n)&&(Pn(n),a.length=!0),i.length<o.length)for(var l=i.length;l<o.length;l++)a[l]=!1;else for(var c=o.length;c<i.length;c++)a[c]=!0;for(var s=Math.min(i.length,o.length),f=0;f<s;f++)i.hasOwnProperty(f)||(a[f]=!0),void 0===a[f]&&e(i[f])}}}}(e.p[0]),t(e.p))},K:function(e){return 4===e.i?n(e):r(e)}})}var zn,Un,Wn="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),Hn="undefined"!=typeof Map,Gn="undefined"!=typeof Set,Vn="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,$n=Wn?Symbol.for("immer-nothing"):((zn={})["immer-nothing"]=!0,zn),qn=Wn?Symbol.for("immer-draftable"):"__$immer_draftable",Kn=Wn?Symbol.for("immer-state"):"__$immer_state",Yn=("undefined"!=typeof Symbol&&Symbol.iterator,""+Object.prototype.constructor),Zn="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,Xn=Object.getOwnPropertyDescriptors||function(e){var t={};return Zn(e).forEach((function(n){t[n]=Object.getOwnPropertyDescriptor(e,n)})),t},Qn={},Jn={get:function(e,t){if(t===Kn)return e;var n=vn(e);if(!cn(n,t))return function(e,t,n){var r,o=An(t,n);return o?"value"in o?o.value:null===(r=o.get)||void 0===r?void 0:r.call(e.k):void 0}(e,n,t);var r=n[t];return e.I||!an(r)?r:r===Rn(e.t,t)?(Ln(e),e.o[t]=Mn(e.A.h,r,e)):r},has:function(e,t){return t in vn(e)},ownKeys:function(e){return Reflect.ownKeys(vn(e))},set:function(e,t,n){var r=An(vn(e),t);if(null==r?void 0:r.set)return r.set.call(e.k,n),!0;if(!e.P){var o=Rn(vn(e),t),i=null==o?void 0:o[Kn];if(i&&i.t===n)return e.o[t]=n,e.D[t]=!1,!0;if(dn(n,o)&&(void 0!==n||cn(e.t,t)))return!0;Ln(e),Pn(e)}return e.o[t]===n&&"number"!=typeof n&&(void 0!==n||t in e.o)||(e.o[t]=n,e.D[t]=!0,!0)},deleteProperty:function(e,t){return void 0!==Rn(e.t,t)||t in e.t?(e.D[t]=!1,Ln(e),Pn(e)):delete e.D[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var n=vn(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r?{writable:!0,configurable:1!==e.i||"length"!==t,enumerable:r.enumerable,value:n[t]}:r},defineProperty:function(){rn(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){rn(12)}},er={};un(Jn,(function(e,t){er[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}})),er.deleteProperty=function(e,t){return er.set.call(this,e,t,void 0)},er.set=function(e,t,n){return Jn.set.call(this,e[0],t,n,e[0])};var tr=function(){function e(e){var t=this;this.g=Vn,this.F=!0,this.produce=function(e,n,r){if("function"==typeof e&&"function"!=typeof n){var o=n;n=e;var i=t;return function(e){var t=this;void 0===e&&(e=o);for(var r=arguments.length,a=Array(r>1?r-1:0),u=1;u<r;u++)a[u-1]=arguments[u];return i.produce(e,(function(e){var r;return(r=n).call.apply(r,[t,e].concat(a))}))}}var a;if("function"!=typeof n&&rn(6),void 0!==r&&"function"!=typeof r&&rn(7),an(e)){var u=Cn(t),l=Mn(t,e,void 0),c=!0;try{a=n(l),c=!1}finally{c?Sn(u):_n(u)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(e){return kn(u,r),In(e,u)}),(function(e){throw Sn(u),e})):(kn(u,r),In(a,u))}if(!e||"object"!=typeof e){if(void 0===(a=n(e))&&(a=e),a===$n&&(a=void 0),t.F&&mn(a,!0),r){var s=[],f=[];wn("Patches").M(e,a,s,f),r(s,f)}return a}rn(21,e)},this.produceWithPatches=function(e,n){if("function"==typeof e)return function(n){for(var r=arguments.length,o=Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return t.produceWithPatches(n,(function(t){return e.apply(void 0,[t].concat(o))}))};var r,o,i=t.produce(e,n,(function(e,t){r=e,o=t}));return"undefined"!=typeof Promise&&i instanceof Promise?i.then((function(e){return[e,r,o]})):[i,r,o]},"boolean"==typeof(null==e?void 0:e.useProxies)&&this.setUseProxies(e.useProxies),"boolean"==typeof(null==e?void 0:e.autoFreeze)&&this.setAutoFreeze(e.autoFreeze)}var t=e.prototype;return t.createDraft=function(e){an(e)||rn(8),on(e)&&(e=jn(e));var t=Cn(this),n=Mn(this,e,void 0);return n[Kn].C=!0,_n(t),n},t.finishDraft=function(e,t){var n=(e&&e[Kn]).A;return kn(n,t),In(void 0,n)},t.setAutoFreeze=function(e){this.F=e},t.setUseProxies=function(e){e&&!Vn&&rn(20),this.g=e},t.applyPatches=function(e,t){var n;for(n=t.length-1;n>=0;n--){var r=t[n];if(0===r.path.length&&"replace"===r.op){e=r.value;break}}n>-1&&(t=t.slice(n+1));var o=wn("Patches").$;return on(e)?o(e,t):this.produce(e,(function(e){return o(e,t)}))},e}(),nr=new tr,rr=nr.produce,or=(nr.produceWithPatches.bind(nr),nr.setAutoFreeze.bind(nr),nr.setUseProxies.bind(nr),nr.applyPatches.bind(nr),nr.createDraft.bind(nr),nr.finishDraft.bind(nr),rr);function ir(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ar(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ur(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ar(Object(n),!0).forEach((function(t){ir(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ar(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function lr(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var cr="function"===typeof Symbol&&Symbol.observable||"@@observable",sr=function(){return Math.random().toString(36).substring(7).split("").join(".")},fr={INIT:"@@redux/INIT"+sr(),REPLACE:"@@redux/REPLACE"+sr(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+sr()}};function dr(e){if("object"!==typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function pr(e,t,n){var r;if("function"===typeof t&&"function"===typeof n||"function"===typeof n&&"function"===typeof arguments[3])throw new Error(lr(0));if("function"===typeof t&&"undefined"===typeof n&&(n=t,t=void 0),"undefined"!==typeof n){if("function"!==typeof n)throw new Error(lr(1));return n(pr)(e,t)}if("function"!==typeof e)throw new Error(lr(2));var o=e,i=t,a=[],u=a,l=!1;function c(){u===a&&(u=a.slice())}function s(){if(l)throw new Error(lr(3));return i}function f(e){if("function"!==typeof e)throw new Error(lr(4));if(l)throw new Error(lr(5));var t=!0;return c(),u.push(e),function(){if(t){if(l)throw new Error(lr(6));t=!1,c();var n=u.indexOf(e);u.splice(n,1),a=null}}}function d(e){if(!dr(e))throw new Error(lr(7));if("undefined"===typeof e.type)throw new Error(lr(8));if(l)throw new Error(lr(9));try{l=!0,i=o(i,e)}finally{l=!1}for(var t=a=u,n=0;n<t.length;n++){(0,t[n])()}return e}function p(e){if("function"!==typeof e)throw new Error(lr(10));o=e,d({type:fr.REPLACE})}function h(){var e,t=f;return(e={subscribe:function(e){if("object"!==typeof e||null===e)throw new Error(lr(11));function n(){e.next&&e.next(s())}return n(),{unsubscribe:t(n)}}})[cr]=function(){return this},e}return d({type:fr.INIT}),(r={dispatch:d,subscribe:f,getState:s,replaceReducer:p})[cr]=h,r}function hr(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++){var o=t[r];0,"function"===typeof e[o]&&(n[o]=e[o])}var i,a=Object.keys(n);try{!function(e){Object.keys(e).forEach((function(t){var n=e[t];if("undefined"===typeof n(void 0,{type:fr.INIT}))throw new Error(lr(12));if("undefined"===typeof n(void 0,{type:fr.PROBE_UNKNOWN_ACTION()}))throw new Error(lr(13))}))}(n)}catch(u){i=u}return function(e,t){if(void 0===e&&(e={}),i)throw i;for(var r=!1,o={},u=0;u<a.length;u++){var l=a[u],c=n[l],s=e[l],f=c(s,t);if("undefined"===typeof f){t&&t.type;throw new Error(lr(14))}o[l]=f,r=r||f!==s}return(r=r||a.length!==Object.keys(e).length)?o:e}}function vr(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}function gr(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return function(){var n=e.apply(void 0,arguments),r=function(){throw new Error(lr(15))},o={getState:n.getState,dispatch:function(){return r.apply(void 0,arguments)}},i=t.map((function(e){return e(o)}));return r=vr.apply(void 0,i)(n.dispatch),ur(ur({},n),{},{dispatch:r})}}}function mr(e){return function(t){var n=t.dispatch,r=t.getState;return function(t){return function(o){return"function"===typeof o?o(n,r,e):t(o)}}}}var yr=mr();yr.withExtraArgument=mr;var br=yr,wr=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),xr=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"===typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(i){return function(u){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(u){i=[6,u],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,u])}}},Er=function(e,t){for(var n=0,r=t.length,o=e.length;n<r;n++,o++)e[o]=t[n];return e},kr=Object.defineProperty,Sr=(Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols),_r=Object.prototype.hasOwnProperty,Cr=Object.prototype.propertyIsEnumerable,Or=function(e,t,n){return t in e?kr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n},Ir=function(e,t){for(var n in t||(t={}))_r.call(t,n)&&Or(e,n,t[n]);if(Sr)for(var r=0,o=Sr(t);r<o.length;r++){n=o[r];Cr.call(t,n)&&Or(e,n,t[n])}return e},Nr=function(e,t,n){return new Promise((function(r,o){var i=function(e){try{u(n.next(e))}catch(t){o(t)}},a=function(e){try{u(n.throw(e))}catch(t){o(t)}},u=function(e){return e.done?r(e.value):Promise.resolve(e.value).then(i,a)};u((n=n.apply(e,t)).next())}))},Dr="undefined"!==typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"===typeof arguments[0]?vr:vr.apply(null,arguments)};"undefined"!==typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__&&window.__REDUX_DEVTOOLS_EXTENSION__;function Tr(e){if("object"!==typeof e||null===e)return!1;var t=Object.getPrototypeOf(e);if(null===t)return!0;for(var n=t;null!==Object.getPrototypeOf(n);)n=Object.getPrototypeOf(n);return t===n}var Rr=function(e){function t(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var o=e.apply(this,n)||this;return Object.setPrototypeOf(o,t.prototype),o}return wr(t,e),Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.prototype.concat.apply(this,t)},t.prototype.prepend=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return 1===e.length&&Array.isArray(e[0])?new(t.bind.apply(t,Er([void 0],e[0].concat(this)))):new(t.bind.apply(t,Er([void 0],e.concat(this))))},t}(Array);function Ar(){return function(e){return function(e){void 0===e&&(e={});var t=e.thunk,n=void 0===t||t,r=(e.immutableCheck,e.serializableCheck,new Rr);n&&(!function(e){return"boolean"===typeof e}(n)?r.push(br.withExtraArgument(n.extraArgument)):r.push(br));0;return r}(e)}}function Pr(e,t){function n(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];if(t){var o=t.apply(void 0,n);if(!o)throw new Error("prepareAction did not return an object");return Ir(Ir({type:e,payload:o.payload},"meta"in o&&{meta:o.meta}),"error"in o&&{error:o.error})}return{type:e,payload:n[0]}}return n.toString=function(){return""+e},n.type=e,n.match=function(t){return t.type===e},n}function Lr(e){var t,n={},r=[],o={addCase:function(e,t){var r="string"===typeof e?e:e.type;if(r in n)throw new Error("addCase cannot be called with two reducers for the same action type");return n[r]=t,o},addMatcher:function(e,t){return r.push({matcher:e,reducer:t}),o},addDefaultCase:function(e){return t=e,o}};return e(o),[n,r,t]}function Mr(e){var t=e.name;if(!t)throw new Error("`name` is a required option for createSlice");var n,r="function"==typeof e.initialState?e.initialState:or(e.initialState,(function(){})),o=e.reducers||{},i=Object.keys(o),a={},u={},l={};function c(){var t="function"===typeof e.extraReducers?Lr(e.extraReducers):[e.extraReducers],n=t[0],o=void 0===n?{}:n,i=t[1],a=void 0===i?[]:i,l=t[2],c=void 0===l?void 0:l,s=Ir(Ir({},o),u);return function(e,t,n,r){void 0===n&&(n=[]);var o,i="function"===typeof t?Lr(t):[t,n,r],a=i[0],u=i[1],l=i[2];if(function(e){return"function"===typeof e}(e))o=function(){return or(e(),(function(){}))};else{var c=or(e,(function(){}));o=function(){return c}}function s(e,t){void 0===e&&(e=o());var n=Er([a[t.type]],u.filter((function(e){return(0,e.matcher)(t)})).map((function(e){return e.reducer})));return 0===n.filter((function(e){return!!e})).length&&(n=[l]),n.reduce((function(e,n){if(n){var r;if(on(e))return"undefined"===typeof(r=n(e,t))?e:r;if(an(e))return or(e,(function(e){return n(e,t)}));if("undefined"===typeof(r=n(e,t))){if(null===e)return e;throw Error("A case reducer on a non-draftable value must not return undefined")}return r}return e}),e)}return s.getInitialState=o,s}(r,s,a,c)}return i.forEach((function(e){var n,r,i=o[e],c=t+"/"+e;"reducer"in i?(n=i.reducer,r=i.prepare):n=i,a[e]=n,u[c]=n,l[e]=r?Pr(c,r):Pr(c)})),{name:t,reducer:function(e,t){return n||(n=c()),n(e,t)},actions:l,caseReducers:a,getInitialState:function(){return n||(n=c()),n.getInitialState()}}}var jr=function(e){void 0===e&&(e=21);for(var t="",n=e;n--;)t+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return t};var Fr=function(e,t){return function(e){return e&&"function"===typeof e.match}(e)?e.match(t):e(t)};function Br(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(t){return e.some((function(e){return Fr(e,t)}))}}var zr=function(e,t){if("function"!==typeof e)throw new TypeError(t+" is not a function")},Ur=function(){},Wr=function(e,t){return void 0===t&&(t=Ur),e.catch(t),e},Hr=function(e,t){e.addEventListener("abort",t,{once:!0})},Gr=function(e,t){var n=e.signal;n.aborted||("reason"in n||Object.defineProperty(n,"reason",{enumerable:!0,value:t,configurable:!0,writable:!0}),e.abort(t))},Vr="listener-cancelled",$r=function(e){this.code=e,this.name="TaskAbortError",this.message="task cancelled (reason: "+e+")"},qr=function(e){if(e.aborted)throw new $r(e.reason)},Kr=function(e){return Wr(new Promise((function(t,n){var r=function(){return n(new $r(e.reason))};e.aborted?r():Hr(e,r)})))},Yr=function(e){return function(t){return Wr(Promise.race([Kr(e),t]).then((function(t){return qr(e),t})))}},Zr=function(e){var t=Yr(e);return function(e){return t(new Promise((function(t){return setTimeout(t,e)})))}},Xr=Object.assign,Qr={},Jr="listenerMiddleware",eo=function(e){return function(t){zr(t,"taskExecutor");var n,r=new AbortController;n=r,Hr(e,(function(){return Gr(n,e.reason)}));var o,i,a=(o=function(){return Nr(void 0,null,(function(){var n;return xr(this,(function(o){switch(o.label){case 0:return qr(e),qr(r.signal),[4,t({pause:Yr(r.signal),delay:Zr(r.signal),signal:r.signal})];case 1:return n=o.sent(),qr(r.signal),[2,n]}}))}))},i=function(){return Gr(r,"task-completed")},Nr(void 0,null,(function(){var e;return xr(this,(function(t){switch(t.label){case 0:return t.trys.push([0,3,4,5]),[4,Promise.resolve()];case 1:return t.sent(),[4,o()];case 2:return[2,{status:"ok",value:t.sent()}];case 3:return[2,{status:(e=t.sent())instanceof $r?"cancelled":"rejected",error:e}];case 4:return null==i||i(),[7];case 5:return[2]}}))})));return{result:Yr(e)(a),cancel:function(){Gr(r,"task-cancelled")}}}},to=function(e,t){return function(n,r){return Wr(function(n,r){return Nr(void 0,null,(function(){var o,i,a,u;return xr(this,(function(l){switch(l.label){case 0:qr(t),o=function(){},i=new Promise((function(t){o=e({predicate:n,effect:function(e,n){n.unsubscribe(),t([e,n.getState(),n.getOriginalState()])}})})),a=[Kr(t),i],null!=r&&a.push(new Promise((function(e){return setTimeout(e,r,null)}))),l.label=1;case 1:return l.trys.push([1,,3,4]),[4,Promise.race(a)];case 2:return u=l.sent(),qr(t),[2,u];case 3:return o(),[7];case 4:return[2]}}))}))}(n,r))}},no=function(e){var t=e.type,n=e.actionCreator,r=e.matcher,o=e.predicate,i=e.effect;if(t)o=Pr(t).match;else if(n)t=n.type,o=n.match;else if(r)o=r;else if(!o)throw new Error("Creating or removing a listener requires one of the known fields for matching an action");return zr(i,"options.listener"),{predicate:o,type:t,effect:i}},ro=function(e,t,n){try{e(t,n)}catch(r){setTimeout((function(){throw r}),0)}},oo=Pr(Jr+"/add"),io=Pr(Jr+"/removeAll"),ao=Pr(Jr+"/remove"),uo=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];console.error.apply(console,Er([Jr+"/error"],e))},lo=function(e){e.pending.forEach((function(e){Gr(e,Vr)}))};Bn();var co,so=Mr({name:"settings",initialState:{canEdit:!0,isRunningOnMobile:!1,spellCheckerEnabled:!0},reducers:{setCanEdit:function(e,t){e.canEdit=t.payload},setIsRunningOnMobile:function(e,t){e.isRunningOnMobile=t.payload},setSpellCheckerEnabled:function(e,t){e.spellCheckerEnabled=t.payload}}}),fo=so.actions,po=fo.setCanEdit,ho=fo.setIsRunningOnMobile,vo=fo.setSpellCheckerEnabled,go=so.reducer;function mo(e){return function(e){if(Array.isArray(e))return rt(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||ot(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 yo=new Uint8Array(16);function bo(){if(!co&&!(co="undefined"!==typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!==typeof msCrypto&&"function"===typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return co(yo)}var wo=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;for(var xo=function(e){return"string"===typeof e&&wo.test(e)},Eo=[],ko=0;ko<256;++ko)Eo.push((ko+256).toString(16).substr(1));var So=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=(Eo[e[t+0]]+Eo[e[t+1]]+Eo[e[t+2]]+Eo[e[t+3]]+"-"+Eo[e[t+4]]+Eo[e[t+5]]+"-"+Eo[e[t+6]]+Eo[e[t+7]]+"-"+Eo[e[t+8]]+Eo[e[t+9]]+"-"+Eo[e[t+10]]+Eo[e[t+11]]+Eo[e[t+12]]+Eo[e[t+13]]+Eo[e[t+14]]+Eo[e[t+15]]).toLowerCase();if(!xo(n))throw TypeError("Stringified UUID is invalid");return n};var _o=function(e,t,n){var r=(e=e||{}).random||(e.rng||bo)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,t){n=n||0;for(var o=0;o<16;++o)t[n+o]=r[o];return t}return So(r)};function Co(e,t,n){return function(e,t,n){var r=t<0?e.length+t:t;if(r>=0&&r<e.length){var o=n<0?e.length+n:n,i=it(e.splice(t,1),1)[0];e.splice(o,0,i)}}(e=mo(e),t,n),e}function Oo(e,t){if(0===e||0===t)return 0;var n=Math.min(e,t),r=Math.max(e,t);return Number((n/r*100).toFixed(2))}function Io(e){var t=e.filter((function(e){return!e.completed})),n=e.filter((function(e){return e.completed}));return{openTasks:t,completedTasks:n}}function No(e){var t=[];return e.forEach((function(e){t=t.concat(e.tasks)})),t}function Do(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:50;return e.length<=t?e:e.substring(0,t)+"..."}function To(e){if(e){if(/^- \[[x ]\] .*/gim.test(e)){var t=e.split("\n"),n=[];if(t.filter((function(e){return e.replace(/ /g,"").length>0})).map((function(e){return function(e){var t=/^- \[x\] /i,n=e.replace("- [ ] ","").replace(t,"");if(0!==n.length)return{id:_o(),description:n,completed:t.test(e),createdAt:new Date}}(e)})).forEach((function(e){return e&&n.push(e)})),0!==n.length)return{name:"Checklist",tasks:n,sections:Po}}}}function Ro(e){var t=e.value,n=e.defaultValue;return t?0===t.length?n:t:n}var Ao="1.0.0",Po=[{id:"open-tasks",name:"Open"},{id:"completed-tasks",name:"Completed"}],Lo=Mr({name:"tasks",initialState:{schemaVersion:Ao,defaultSections:[],groups:[]},reducers:{taskAdded:function(e,t){var n=t.payload,r=n.groupName,o=n.task,i=e.groups.find((function(e){return e.name===r}));i&&(delete i.draft,i.tasks.unshift(ur(ur({},o),{},{completed:!1,createdAt:new Date})))},taskModified:function(e,t){var n=t.payload,r=n.groupName,o=n.task,i=e.groups.find((function(e){return e.name===r}));if(i){var a=i.tasks.find((function(e){return e.id===o.id}));a&&(a.description=o.description,a.updatedAt=new Date)}},taskDeleted:function(e,t){var n=t.payload,r=n.id,o=n.groupName,i=e.groups.find((function(e){return e.name===o}));i&&(i.tasks=i.tasks.filter((function(e){return e.id!==r})))},taskToggled:function(e,t){var n=t.payload,r=n.id,o=n.groupName,i=e.groups.find((function(e){return e.name===o}));if(i){var a=i.tasks.find((function(e){return e.id===r}));if(a){a.completed=!a.completed,a.updatedAt=new Date,a.completed?a.completedAt=new Date:delete a.completedAt;var u=i.tasks.filter((function(e){return e.id!==r}));i.tasks=[a].concat(mo(u))}}},openAllCompleted:function(e,t){var n=t.payload.groupName,r=e.groups.find((function(e){return e.name===n}));r&&r.tasks.forEach((function(e){e.completed=!1,delete e.completedAt}))},deleteAllCompleted:function(e,t){var n=t.payload.groupName,r=e.groups.find((function(e){return e.name===n}));r&&(r.tasks=r.tasks.filter((function(e){return!1===e.completed})))},tasksReordered:function(e,t){var n=t.payload,r=n.groupName,o=n.swapTaskIndex,i=n.withTaskIndex;if(n.isSameSection){var a=e.groups.find((function(e){return e.name===r}));a&&(a.tasks=Co(a.tasks,o,i))}},tasksGroupAdded:function(e,t){var n=t.payload.groupName;e.groups.find((function(e){return e.name===n}))||e.groups.push({name:n,tasks:[]})},tasksGroupReordered:function(e,t){var n=t.payload,r=n.swapGroupIndex,o=n.withGroupIndex;e.groups=Co(e.groups,r,o)},tasksGroupDeleted:function(e,t){var n=t.payload.groupName;e.groups=e.groups.filter((function(e){return e.name!==n}))},tasksGroupMerged:function(e,t){var n,r=t.payload,o=r.groupName,i=r.mergeWith;if(o!==i){var a=e.groups.find((function(e){return e.name===o}));if(a){var u=e.groups.find((function(e){return e.name===i}));u&&(a.name=i,a.tasks=[].concat(mo(null!==(n=u.tasks)&&void 0!==n?n:[]),mo(a.tasks)),e.groups=e.groups.filter((function(e){return e!==u})))}}},tasksGroupRenamed:function(e,t){var n=t.payload,r=n.groupName,o=n.newName;if(r!==o){var i=e.groups.find((function(e){return e.name===r}));i&&(i.name=o)}},tasksGroupCollapsed:function(e,t){var n=t.payload,r=n.groupName,o=n.type,i=n.collapsed,a=e.groups.find((function(e){return e.name===r}));if(a)if("group"!==o){a.sections||(a.sections=e.defaultSections.map((function(e){return{id:e.id,name:e.name}})));var u=a.sections.find((function(e){return e.id===o}));u&&(u.collapsed=i)}else a.collapsed=i},tasksGroupDraft:function(e,t){var n=t.payload,r=n.groupName,o=n.draft,i=e.groups.find((function(e){return e.name===r}));i&&(i.draft=o)},tasksGroupLastActive:function(e,t){var n=t.payload.groupName,r=e.groups.find((function(e){return e.name===n}));r&&(r.lastActive=new Date)},tasksLegacyContentMigrated:function(e,t){var n=t.payload;e.legacyContent&&(n.continue?(e.initialized=!0,e.groups.push(e.legacyContent),delete e.lastError):(e.initialized=!1,e.groups=[],e.lastError="The legacy content migration has been canceled by the user. Please reload this note to try again or switch to the Basic Checklist editor."),delete e.legacyContent)},tasksLoaded:function(e,t){var n=t.payload;n||e.initialized||(n="{}");try{var r,o;if(!function(e){try{JSON.parse(e)}catch(t){return!1}return!0}(n)){var i=To(n);if(i)return e.legacyContent=i,void(e.initialized=!1)}var a=JSON.parse(n),u={schemaVersion:null!==(r=null===a||void 0===a?void 0:a.schemaVersion)&&void 0!==r?r:Ao,defaultSections:Ro({value:null===a||void 0===a?void 0:a.defaultSections,defaultValue:Po}),groups:null!==(o=null===a||void 0===a?void 0:a.groups)&&void 0!==o?o:[]};e.schemaVersion=u.schemaVersion,e.groups=u.groups,e.defaultSections=u.defaultSections,e.initialized=!0,delete e.lastError}catch(l){return e.initialized=!1,void(e.lastError="An error has occurred while parsing the note's content: ".concat(l))}}}}),Mo=Lo.actions,jo=Mo.taskAdded,Fo=Mo.taskModified,Bo=Mo.taskToggled,zo=Mo.taskDeleted,Uo=Mo.openAllCompleted,Wo=Mo.deleteAllCompleted,Ho=Mo.tasksLoaded,Go=Mo.tasksLegacyContentMigrated,Vo=Mo.tasksGroupAdded,$o=Mo.tasksReordered,qo=Mo.tasksGroupReordered,Ko=Mo.tasksGroupDeleted,Yo=Mo.tasksGroupMerged,Zo=Mo.tasksGroupRenamed,Xo=Mo.tasksGroupCollapsed,Qo=Mo.tasksGroupDraft,Jo=Mo.tasksGroupLastActive,ei=Lo.reducer,ti=function(e){var t=this;void 0===e&&(e={});var n=new Map,r=e.extra,o=e.onError,i=void 0===o?uo:o;zr(i,"onError");var a=function(e){for(var t=0,r=n.values();t<r.length;t++){var o=r[t];if(e(o))return o}},u=function(e){var t=a((function(t){return t.effect===e.effect}));return t||(t=function(e){var t=no(e),n=t.type,r=t.predicate,o=t.effect;return{id:jr(),effect:o,type:n,predicate:r,pending:new Set,unsubscribe:function(){throw new Error("Unsubscribe not initialized")}}}(e)),function(e){return e.unsubscribe=function(){return n.delete(e.id)},n.set(e.id,e),function(t){e.unsubscribe(),(null==t?void 0:t.cancelActive)&&lo(e)}}(t)},l=function(e){var t=no(e),n=t.type,r=t.effect,o=t.predicate,i=a((function(e){return("string"===typeof n?e.type===n:e.predicate===o)&&e.effect===r}));return i&&(i.unsubscribe(),e.cancelActive&&lo(i)),!!i},c=function(e,o,a,l){return Nr(t,null,(function(){var t,c,s;return xr(this,(function(f){switch(f.label){case 0:t=new AbortController,c=to(u,t.signal),f.label=1;case 1:return f.trys.push([1,3,4,5]),e.pending.add(t),[4,Promise.resolve(e.effect(o,Xr({},a,{getOriginalState:l,condition:function(e,t){return c(e,t).then(Boolean)},take:c,delay:Zr(t.signal),pause:Yr(t.signal),extra:r,signal:t.signal,fork:eo(t.signal),unsubscribe:e.unsubscribe,subscribe:function(){n.set(e.id,e)},cancelActiveListeners:function(){e.pending.forEach((function(e,n,r){e!==t&&(Gr(e,Vr),r.delete(e))}))}})))];case 2:return f.sent(),[3,5];case 3:return(s=f.sent())instanceof $r||ro(i,s,{raisedBy:"effect"}),[3,5];case 4:return Gr(t,"listener-completed"),e.pending.delete(t),[7];case 5:return[2]}}))}))},s=function(e){return function(){e.forEach(lo),e.clear()}}(n);return{middleware:function(e){return function(t){return function(r){if(oo.match(r))return u(r.payload);if(!io.match(r)){if(ao.match(r))return l(r.payload);var o,a=e.getState(),f=function(){if(a===Qr)throw new Error(Jr+": getOriginalState can only be called synchronously");return a};try{if(o=t(r),n.size>0)for(var d=e.getState(),p=Array.from(n.values()),h=0,v=p;h<v.length;h++){var g=v[h],m=!1;try{m=g.predicate(r,d,a)}catch(y){m=!1,ro(i,y,{raisedBy:"predicate"})}m&&c(g,r,e,f)}}finally{a=Qr}return o}s()}}},startListening:u,stopListening:l,clearListeners:s}}(),ni=Br(jo,Fo,Bo,zo,Uo,Wo,$o,Vo,Ko,Yo,Xo);ti.startListening({matcher:ni,effect:function(e,t){var n=e.payload.groupName;t.dispatch(Jo({groupName:n}))}});var ri,oi,ii=ti.middleware,ai=function(e){var t,n=Ar(),r=e||{},o=r.reducer,i=void 0===o?void 0:o,a=r.middleware,u=void 0===a?n():a,l=r.devTools,c=void 0===l||l,s=r.preloadedState,f=void 0===s?void 0:s,d=r.enhancers,p=void 0===d?void 0:d;if("function"===typeof i)t=i;else{if(!Tr(i))throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');t=hr(i)}var h=u;"function"===typeof h&&(h=h(n));var v=gr.apply(void 0,h),g=vr;c&&(g=Dr(Ir({trace:!1},"object"===typeof c&&c)));var m=[v];return Array.isArray(p)?m=Er([v],p):"function"===typeof p&&(m=p(m)),pr(t,f,g.apply(void 0,m))}({reducer:{tasks:ei,settings:go},middleware:function(e){return e().prepend(ii)}}),ui=n(184),li=(0,u.forwardRef)((function(e,t){var n=e.checked,r=e.disabled,o=e.testId,i=e.onChange,a=e.onClick;return(0,ui.jsxs)("label",{className:"checkbox-container",children:[(0,ui.jsx)("input",{className:"checkbox-state",type:"checkbox",checked:n,"data-testid":o,disabled:r,onChange:i,ref:t}),(0,ui.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",viewBox:"3 2 22 20",className:"checkbox-button",onClick:a,children:[(0,ui.jsx)("use",{xlinkHref:"#checkbox-square",className:"checkbox-square"}),(0,ui.jsx)("use",{xlinkHref:"#checkbox-mark",className:"checkbox-mark"}),(0,ui.jsx)("use",{xlinkHref:"#checkbox-circle",className:"checkbox-circle"})]})]})})),ci=nt.circle(ri||(ri=o(["\n fill: none;\n stroke: var(--sn-stylekit-neutral-color);\n"]))),si=nt.circle(oi||(oi=o(["\n fill: none;\n stroke: var(--sn-stylekit-info-color);\n transition: all 0.5s;\n"]))),fi=function(e){var t=e.size,n=e.percentage,r=it((0,u.useState)(0),2),o=r[0],i=r[1];(0,u.useEffect)((function(){i(n)}),[n]);var a="0 0 ".concat(t," ").concat(t),l=.001*t*100+1,c=(t-l)/2,s=c*Math.PI*2,f=o*s/100;return(0,ui.jsxs)("svg",{height:t,viewBox:a,width:t,"data-testid":"circular-progress-bar",children:[(0,ui.jsx)(ci,{cx:t/2,cy:t/2,r:c,strokeWidth:l}),(0,ui.jsx)(si,{cx:t/2,cy:t/2,r:c,strokeWidth:l,transform:"rotate(-90 ".concat(t/2," ").concat(t/2,")"),strokeDasharray:"".concat(f," ").concat(s-f),strokeLinecap:"round",style:{transition:"all 0.5s"}})]})};function di(){return!("undefined"===typeof window||!window.document||!window.document.createElement)}var pi=di()?u.useLayoutEffect:u.useEffect;function hi(){var e=(0,u.useState)(Object.create(null))[1];return(0,u.useCallback)((function(){e(Object.create(null))}),[])}var vi=function(e){var t=e.children,n=e.type,r=void 0===n?"reach-portal":n,o=e.containerRef,i=(0,u.useRef)(null),a=(0,u.useRef)(null),c=hi();return pi((function(){if(i.current){var e=i.current.ownerDocument,t=(null==o?void 0:o.current)||e.body;return a.current=null==e?void 0:e.createElement(r),t.appendChild(a.current),c(),function(){a.current&&t&&t.removeChild(a.current)}}}),[r,c,o]),a.current?(0,l.createPortal)(t,a.current):(0,u.createElement)("span",{ref:i})};function gi(e){return di()?e?e.ownerDocument:document:null}function mi(){}function yi(e){return!(!e||"[object Function]"!={}.toString.call(e))}function bi(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function wi(e,t){var n;if("undefined"===typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"===typeof e)return bi(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)?bi(e,t):void 0}}(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function xi(e,t){if(null!=e)if(yi(e))e(t);else try{e.current=t}catch(n){throw new Error('Cannot assign value "'+t+'" to ref "'+e+'"')}}function Ei(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,u.useCallback)((function(e){for(var n,r=wi(t);!(n=r()).done;){xi(n.value,e)}}),t)}function ki(e,t){return function(n){if(e&&e(n),!n.defaultPrevented)return t(n)}}function Si(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}var _i="data-focus-lock",Ci="data-focus-lock-disabled";function Oi(e,t){return function(e,t){var n=(0,u.useState)((function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(e){var t=n.value;t!==e&&(n.value=e,n.callback(e,t))}}}}))[0];return n.callback=t,n.facade}(t||null,(function(t){return e.forEach((function(e){return function(e,t){return"function"===typeof e?e(t):e&&(e.current=t),e}(e,t)}))}))}var Ii={width:"1px",height:"0px",padding:0,overflow:"hidden",position:"fixed",top:"1px",left:"1px"},Ni=function(e){var t=e.children;return u.createElement(u.Fragment,null,u.createElement("div",{key:"guard-first","data-focus-guard":!0,"data-focus-auto-guard":!0,style:Ii}),t,t&&u.createElement("div",{key:"guard-last","data-focus-guard":!0,"data-focus-auto-guard":!0,style:Ii}))};Ni.propTypes={},Ni.defaultProps={children:null};var Di=function(){return Di=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Di.apply(this,arguments)};function Ti(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}Object.create;Object.create;function Ri(e){return e}function Ai(e,t){void 0===t&&(t=Ri);var n=[],r=!1,o={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(e){var o=t(e,r);return n.push(o),function(){n=n.filter((function(e){return e!==o}))}},assignSyncMedium:function(e){for(r=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){r=!0;var t=[];if(n.length){var o=n;n=[],o.forEach(e),t=n}var i=function(){var n=t;t=[],n.forEach(e)},a=function(){return Promise.resolve().then(i)};a(),n={push:function(e){t.push(e),a()},filter:function(e){return t=t.filter(e),n}}}};return o}function Pi(e,t){return void 0===t&&(t=Ri),Ai(e,t)}function Li(e){void 0===e&&(e={});var t=Ai(null);return t.options=Di({async:!0,ssr:!1},e),t}var Mi=Pi({},(function(e){return{target:e.target,currentTarget:e.currentTarget}})),ji=Pi(),Fi=Pi(),Bi=Li({async:!0}),zi=[],Ui=u.forwardRef((function(e,t){var n,r=u.useState(),o=r[0],i=r[1],a=u.useRef(),l=u.useRef(!1),c=u.useRef(null),s=e.children,f=e.disabled,d=e.noFocusGuards,p=e.persistentFocus,h=e.crossFrame,v=e.autoFocus,g=(e.allowTextSelection,e.group),m=e.className,y=e.whiteList,b=e.hasPositiveIndices,x=e.shards,E=void 0===x?zi:x,k=e.as,S=void 0===k?"div":k,_=e.lockProps,C=void 0===_?{}:_,O=e.sideCar,I=e.returnFocus,N=e.focusOptions,D=e.onActivation,T=e.onDeactivation,R=u.useState({})[0],A=u.useCallback((function(){c.current=c.current||document&&document.activeElement,a.current&&D&&D(a.current),l.current=!0}),[D]),P=u.useCallback((function(){l.current=!1,T&&T(a.current)}),[T]);(0,u.useEffect)((function(){f||(c.current=null)}),[]);var L=u.useCallback((function(e){var t=c.current;if(t&&t.focus){var n="function"===typeof I?I(t):I;if(n){var r="object"===typeof n?n:void 0;c.current=null,e?Promise.resolve().then((function(){return t.focus(r)})):t.focus(r)}}}),[I]),M=u.useCallback((function(e){l.current&&Mi.useMedium(e)}),[]),j=ji.useMedium,F=u.useCallback((function(e){a.current!==e&&(a.current=e,i(e))}),[]);var B=w(((n={})[Ci]=f&&"disabled",n[_i]=g,n),C),z=!0!==d,U=z&&"tail"!==d,W=Oi([t,F]);return u.createElement(u.Fragment,null,z&&[u.createElement("div",{key:"guard-first","data-focus-guard":!0,tabIndex:f?-1:0,style:Ii}),b?u.createElement("div",{key:"guard-nearest","data-focus-guard":!0,tabIndex:f?-1:1,style:Ii}):null],!f&&u.createElement(O,{id:R,sideCar:Bi,observed:o,disabled:f,persistentFocus:p,crossFrame:h,autoFocus:v,whiteList:y,shards:E,onActivation:A,onDeactivation:P,returnFocus:L,focusOptions:N}),u.createElement(S,w({ref:W},B,{className:m,onBlur:j,onFocus:M}),s),U&&u.createElement("div",{"data-focus-guard":!0,tabIndex:f?-1:0,style:Ii}))}));Ui.propTypes={},Ui.defaultProps={children:void 0,disabled:!1,returnFocus:!1,focusOptions:void 0,noFocusGuards:!1,autoFocus:!0,persistentFocus:!1,crossFrame:!0,hasPositiveIndices:void 0,allowTextSelection:void 0,group:void 0,className:void 0,whiteList:void 0,shards:void 0,as:"div",lockProps:{},onActivation:void 0,onDeactivation:void 0};var Wi=Ui;function Hi(e,t){return Hi=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Hi(e,t)}function Gi(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Hi(e,t)}var Vi=function(e,t){return function(n){var r,o=[];function i(){r=e(o.map((function(e){return e.props}))),t(r)}var a=function(e){function t(){return e.apply(this,arguments)||this}Gi(t,e),t.peek=function(){return r};var a=t.prototype;return a.componentDidMount=function(){o.push(this),i()},a.componentDidUpdate=function(){i()},a.componentWillUnmount=function(){var e=o.indexOf(this);o.splice(e,1),i()},a.render=function(){return u.createElement(n,this.props)},t}(u.PureComponent);return ir(a,"displayName","SideEffect("+function(e){return e.displayName||e.name||"Component"}(n)+")"),a}},$i=function(e){for(var t=Array(e.length),n=0;n<e.length;++n)t[n]=e[n];return t},qi=function(e){return Array.isArray(e)?e:[e]},Ki=function(e){return e.parentNode&&e.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE?e.parentNode.host:e.parentNode},Yi=function(e){return e===document||e&&e.nodeType===Node.DOCUMENT_NODE},Zi=function(e,t){return!e||Yi(e)||!function(e){if(e.nodeType!==Node.ELEMENT_NODE)return!1;var t=window.getComputedStyle(e,null);return!(!t||!t.getPropertyValue)&&("none"===t.getPropertyValue("display")||"hidden"===t.getPropertyValue("visibility"))}(e)&&t(Ki(e))},Xi=function e(t,n){var r=t.get(n);if(void 0!==r)return r;var o=Zi(n,e.bind(void 0,t));return t.set(n,o),o},Qi=function e(t,n){var r=t.get(n);if(void 0!==r)return r;var o=function(e,t){return!(e&&!Yi(e))||!!na(e)&&t(Ki(e))}(n,e.bind(void 0,t));return t.set(n,o),o},Ji=function(e){return e.dataset},ea=function(e){return"INPUT"===e.tagName},ta=function(e){return ea(e)&&"radio"===e.type},na=function(e){var t=e.getAttribute("data-no-autofocus");return![!0,"true",""].includes(t)},ra=function(e){var t;return Boolean(e&&(null===(t=Ji(e))||void 0===t?void 0:t.focusGuard))},oa=function(e){return!ra(e)},ia=function(e){return Boolean(e)},aa=function(e,t){var n=e.tabIndex-t.tabIndex,r=e.index-t.index;if(n){if(!e.tabIndex)return 1;if(!t.tabIndex)return-1}return n||r},ua=function(e,t,n){return $i(e).map((function(e,t){return{node:e,index:t,tabIndex:n&&-1===e.tabIndex?(e.dataset||{}).focusGuard?0:-1:e.tabIndex}})).filter((function(e){return!t||e.tabIndex>=0})).sort(aa)},la=["button:enabled","select:enabled","textarea:enabled","input:enabled","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[tabindex]","[contenteditable]","[autofocus]"].join(","),ca="".concat(la,", [data-focus-guard]"),sa=function e(t,n){var r;return $i((null===(r=t.shadowRoot)||void 0===r?void 0:r.children)||t.children).reduce((function(t,r){return t.concat(r.matches(n?ca:la)?[r]:[],e(r))}),[])},fa=function(e,t){return e.reduce((function(e,n){return e.concat(sa(n,t),n.parentNode?$i(n.parentNode.querySelectorAll(la)).filter((function(e){return e===n})):[])}),[])},da=function(e,t){return $i(e).filter((function(e){return Xi(t,e)})).filter((function(e){return function(e){return!((ea(e)||function(e){return"BUTTON"===e.tagName}(e))&&("hidden"===e.type||e.disabled))}(e)}))},pa=function(e,t){return void 0===t&&(t=new Map),$i(e).filter((function(e){return Qi(t,e)}))},ha=function(e,t,n){return ua(da(fa(e,n),t),!0,n)},va=function(e,t){return ua(da(fa(e),t),!1)},ga=function(e,t){return da(function(e){var t=e.querySelectorAll("[".concat("data-autofocus-inside","]"));return $i(t).map((function(e){return fa([e])})).reduce((function(e,t){return e.concat(t)}),[])}(e),t)},ma=function e(t,n){return t.shadowRoot?e(t.shadowRoot,n):!(void 0===Object.getPrototypeOf(t).contains||!Object.getPrototypeOf(t).contains.call(t,n))||$i(t.children).some((function(t){return e(t,n)}))},ya=function e(t){return t.activeElement?t.activeElement.shadowRoot?e(t.activeElement.shadowRoot):t.activeElement:void 0},ba=function(){return document.activeElement?document.activeElement.shadowRoot?ya(document.activeElement.shadowRoot):document.activeElement:void 0},wa=function e(t){return t.parentNode?e(t.parentNode):t},xa=function(e){return qi(e).filter(Boolean).reduce((function(e,t){var n=t.getAttribute(_i);return e.push.apply(e,n?function(e){for(var t=new Set,n=e.length,r=0;r<n;r+=1)for(var o=r+1;o<n;o+=1){var i=e[r].compareDocumentPosition(e[o]);(i&Node.DOCUMENT_POSITION_CONTAINED_BY)>0&&t.add(o),(i&Node.DOCUMENT_POSITION_CONTAINS)>0&&t.add(r)}return e.filter((function(e,n){return!t.has(n)}))}($i(wa(t).querySelectorAll("[".concat(_i,'="').concat(n,'"]:not([').concat(Ci,'="disabled"])')))):[t]),e}),[])},Ea=function(e){return Boolean($i(e.querySelectorAll("iframe")).some((function(e){return e===document.activeElement})))},ka=function(e){var t=document&&ba();return!(!t||t.dataset&&t.dataset.focusGuard)&&xa(e).some((function(e){return ma(e,t)||Ea(e)}))},Sa=function(e,t){return ta(e)&&e.name?function(e,t){return t.filter(ta).filter((function(t){return t.name===e.name})).filter((function(e){return e.checked}))[0]||e}(e,t):e},_a=function(e){return e[0]&&e.length>1?Sa(e[0],e):e[0]},Ca=function(e,t){return e.length>1?e.indexOf(Sa(e[t],e)):t},Oa="NEW_FOCUS",Ia=function(e,t,n,r){var o=e.length,i=e[0],a=e[o-1],u=ra(n);if(!(n&&e.indexOf(n)>=0)){var l=void 0!==n?t.indexOf(n):-1,c=r?t.indexOf(r):l,s=r?e.indexOf(r):-1,f=l-c,d=t.indexOf(i),p=t.indexOf(a),h=function(e){var t=new Set;return e.forEach((function(n){return t.add(Sa(n,e))})),e.filter((function(e){return t.has(e)}))}(t),v=(void 0!==n?h.indexOf(n):-1)-(r?h.indexOf(r):l),g=Ca(e,0),m=Ca(e,o-1);return-1===l||-1===s?Oa:!f&&s>=0?s:l<=d&&u&&Math.abs(f)>1?m:l>=p&&u&&Math.abs(f)>1?g:f&&Math.abs(v)>1?s:l<=d?m:l>p?g:f?Math.abs(f)>1?s:(o+s+f)%o:void 0}},Na=function(e,t,n){var r,o=e.map((function(e){return e.node})),i=pa(o.filter((r=n,function(e){var t,n=null===(t=Ji(e))||void 0===t?void 0:t.autofocus;return e.autofocus||void 0!==n&&"false"!==n||r.indexOf(e)>=0})));return i&&i.length?_a(i):_a(pa(t))},Da=function e(t,n){return void 0===n&&(n=[]),n.push(t),t.parentNode&&e(t.parentNode.host||t.parentNode,n),n},Ta=function(e,t){for(var n=Da(e),r=Da(t),o=0;o<n.length;o+=1){var i=n[o];if(r.indexOf(i)>=0)return i}return!1},Ra=function(e,t,n){var r=qi(e),o=qi(t),i=r[0],a=!1;return o.filter(Boolean).forEach((function(e){a=Ta(a||e,e)||a,n.filter(Boolean).forEach((function(e){var t=Ta(i,e);t&&(a=!a||ma(t,a)?t:Ta(t,a))}))})),a},Aa=function(e,t){return e.reduce((function(e,n){return e.concat(ga(n,t))}),[])},Pa=function(e,t){var n=document&&ba(),r=xa(e).filter(oa),o=Ra(n||e,e,r),i=new Map,a=va(r,i),u=ha(r,i).filter((function(e){var t=e.node;return oa(t)}));if(u[0]||(u=a)[0]){var l=va([o],i).map((function(e){return e.node})),c=function(e,t){var n=new Map;return t.forEach((function(e){return n.set(e.node,e)})),e.map((function(e){return n.get(e)})).filter(ia)}(l,u),s=c.map((function(e){return e.node})),f=Ia(s,l,n,t);return f===Oa?{node:Na(a,s,Aa(r,i))}:void 0===f?f:c[f]}},La=0,Ma=!1,ja=function(e,t,n){void 0===n&&(n={});var r,o,i=Pa(e,t);if(!Ma&&i){if(La>2)return console.error("FocusLock: focus-fighting detected. Only one focus management system could be active. See https://github.com/theKashey/focus-lock/#focus-fighting"),Ma=!0,void setTimeout((function(){Ma=!1}),1);La++,r=i.node,o=n.focusOptions,"focus"in r&&r.focus(o),"contentWindow"in r&&r.contentWindow&&r.contentWindow.focus(),La--}},Fa=function(e){var t=xa(e).filter(oa),n=Ra(e,e,t),r=new Map,o=ha([n],r,!0),i=ha(t,r).filter((function(e){var t=e.node;return oa(t)})).map((function(e){return e.node}));return o.map((function(e){var t=e.node;return{node:t,index:e.index,lockItem:i.indexOf(t)>=0,guard:ra(t)}}))};function Ba(e){var t=window.setImmediate;"undefined"!==typeof t?t(e):setTimeout(e,1)}var za=function(){return document&&document.activeElement===document.body||function(){var e=document&&ba();return!!e&&$i(document.querySelectorAll("[".concat("data-no-focus-lock","]"))).some((function(t){return ma(t,e)}))}()},Ua=null,Wa=null,Ha=null,Ga=!1,Va=function(){return!0};function $a(e,t,n,r){var o=null,i=e;do{var a=r[i];if(a.guard)a.node.dataset.focusAutoGuard&&(o=a);else{if(!a.lockItem)break;if(i!==e)return;o=null}}while((i+=n)!==t);o&&(o.node.tabIndex=0)}var qa=function(e){return e&&"current"in e?e.current:e},Ka=function e(t,n,r){return n&&(n.host===t&&(!n.activeElement||r.contains(n.activeElement))||n.parentNode&&e(t,n.parentNode,r))},Ya=function(){var e,t=!1;if(Ua){var n=Ua,r=n.observed,o=n.persistentFocus,i=n.autoFocus,a=n.shards,u=n.crossFrame,l=n.focusOptions,c=r||Ha&&Ha.portaledElement,s=document&&document.activeElement;if(c){var f=[c].concat(a.map(qa).filter(Boolean));if(s&&!function(e){return(Ua.whiteList||Va)(e)}(s)||(o||(u?Boolean(Ga):"meanwhile"===Ga)||!za()||!Wa&&i)&&(c&&!(ka(f)||s&&function(e,t){return t.some((function(t){return Ka(e,t,t)}))}(s,f)||(e=s,Ha&&Ha.portaledElement===e))&&(document&&!Wa&&s&&!i?(s.blur&&s.blur(),document.body.focus()):(t=ja(f,Wa,{focusOptions:l}),Ha={})),Ga=!1,Wa=document&&document.activeElement),document){var d=document&&document.activeElement,p=Fa(f),h=p.map((function(e){return e.node})).indexOf(d);h>-1&&(p.filter((function(e){var t=e.guard,n=e.node;return t&&n.dataset.focusAutoGuard})).forEach((function(e){return e.node.removeAttribute("tabIndex")})),$a(h,p.length,1,p),$a(h,-1,-1,p))}}}return t},Za=function(e){Ya()&&e&&(e.stopPropagation(),e.preventDefault())},Xa=function(){return Ba(Ya)},Qa=function(e){var t=e.target,n=e.currentTarget;n.contains(t)||(Ha={observerNode:n,portaledElement:t})},Ja=function(){Ga="just",setTimeout((function(){Ga="meanwhile"}),0)};Mi.assignSyncMedium(Qa),ji.assignMedium(Xa),Fi.assignMedium((function(e){return e({moveFocusInside:ja,focusInside:ka})}));var eu=Vi((function(e){return e.filter((function(e){return!e.disabled}))}),(function(e){var t=e.slice(-1)[0];t&&!Ua&&(document.addEventListener("focusin",Za),document.addEventListener("focusout",Xa),window.addEventListener("blur",Ja));var n=Ua,r=n&&t&&t.id===n.id;Ua=t,n&&!r&&(n.onDeactivation(),e.filter((function(e){return e.id===n.id})).length||n.returnFocus(!t)),t?(Wa=null,r&&n.observed===t.observed||t.onActivation(),Ya(),Ba(Ya)):(document.removeEventListener("focusin",Za),document.removeEventListener("focusout",Xa),window.removeEventListener("blur",Ja),Wa=null)}))((function(){return null})),tu=u.forwardRef((function(e,t){return u.createElement(Wi,w({sideCar:eu,ref:t},e))})),nu=Wi.propTypes||{};nu.sideCar,Si(nu,["sideCar"]);tu.propTypes={};var ru=tu,ou="right-scroll-bar-position",iu="width-before-scroll-bar",au=Li(),uu=function(){},lu=u.forwardRef((function(e,t){var n=u.useRef(null),r=u.useState({onScrollCapture:uu,onWheelCapture:uu,onTouchMoveCapture:uu}),o=r[0],i=r[1],a=e.forwardProps,l=e.children,c=e.className,s=e.removeScrollBar,f=e.enabled,d=e.shards,p=e.sideCar,h=e.noIsolation,v=e.inert,g=e.allowPinchZoom,m=e.as,y=void 0===m?"div":m,b=Ti(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),w=p,x=Oi([n,t]),E=Di(Di({},b),o);return u.createElement(u.Fragment,null,f&&u.createElement(w,{sideCar:au,removeScrollBar:s,shards:d,noIsolation:h,inert:v,setCallbacks:i,allowPinchZoom:!!g,lockRef:n}),a?u.cloneElement(u.Children.only(l),Di(Di({},E),{ref:x})):u.createElement(y,Di({},E,{className:c,ref:x}),l))}));lu.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},lu.classNames={fullWidth:iu,zeroRight:ou};var cu,su=function(e){var t=e.sideCar,n=Ti(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return u.createElement(r,Di({},n))};su.isSideCarExport=!0;function fu(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=cu||n.nc;return t&&e.setAttribute("nonce",t),e}var du=function(){var e=0,t=null;return{add:function(n){var r,o;0==e&&(t=fu())&&(o=n,(r=t).styleSheet?r.styleSheet.cssText=o:r.appendChild(document.createTextNode(o)),function(e){(document.head||document.getElementsByTagName("head")[0]).appendChild(e)}(t)),e++},remove:function(){!--e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},pu=function(){var e=function(){var e=du();return function(t,n){u.useEffect((function(){return e.add(t),function(){e.remove()}}),[t&&n])}}();return function(t){var n=t.styles,r=t.dynamic;return e(n,r),null}},hu={left:0,top:0,right:0,gap:0},vu=function(e){return parseInt(e||"",10)||0},gu=function(e){if(void 0===e&&(e="margin"),"undefined"===typeof window)return hu;var t=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],r=t["padding"===e?"paddingTop":"marginTop"],o=t["padding"===e?"paddingRight":"marginRight"];return[vu(n),vu(r),vu(o)]}(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},mu=pu(),yu=function(e,t,n,r){var o=e.left,i=e.top,a=e.right,u=e.gap;return void 0===n&&(n="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(r,";\n padding-right: ").concat(u,"px ").concat(r,";\n }\n body {\n overflow: hidden ").concat(r,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(r,";"),"margin"===n&&"\n padding-left: ".concat(o,"px;\n padding-top: ").concat(i,"px;\n padding-right: ").concat(a,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(u,"px ").concat(r,";\n "),"padding"===n&&"padding-right: ".concat(u,"px ").concat(r,";")].filter(Boolean).join(""),"\n }\n \n .").concat(ou," {\n right: ").concat(u,"px ").concat(r,";\n }\n \n .").concat(iu," {\n margin-right: ").concat(u,"px ").concat(r,";\n }\n \n .").concat(ou," .").concat(ou," {\n right: 0 ").concat(r,";\n }\n \n .").concat(iu," .").concat(iu," {\n margin-right: 0 ").concat(r,";\n }\n \n body {\n ").concat("--removed-body-scroll-bar-size",": ").concat(u,"px;\n }\n")},bu=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=void 0===r?"margin":r,i=u.useMemo((function(){return gu(o)}),[o]);return u.createElement(mu,{styles:yu(i,!t,o,n?"":"!important")})},wu=!1;if("undefined"!==typeof window)try{var xu=Object.defineProperty({},"passive",{get:function(){return wu=!0,!0}});window.addEventListener("test",xu,xu),window.removeEventListener("test",xu,xu)}catch(zm){wu=!1}var Eu=!!wu&&{passive:!1},ku=function(e,t){var n=window.getComputedStyle(e);return"hidden"!==n[t]&&!(n.overflowY===n.overflowX&&!function(e){return"TEXTAREA"===e.tagName}(e)&&"visible"===n[t])},Su=function(e,t){var n=t;do{if("undefined"!==typeof ShadowRoot&&n instanceof ShadowRoot&&(n=n.host),_u(e,n)){var r=Cu(e,n);if(r[1]>r[2])return!0}n=n.parentNode}while(n&&n!==document.body);return!1},_u=function(e,t){return"v"===e?function(e){return ku(e,"overflowY")}(t):function(e){return ku(e,"overflowX")}(t)},Cu=function(e,t){return"v"===e?[(n=t).scrollTop,n.scrollHeight,n.clientHeight]:function(e){return[e.scrollLeft,e.scrollWidth,e.clientWidth]}(t);var n},Ou=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Iu=function(e){return[e.deltaX,e.deltaY]},Nu=function(e){return e&&"current"in e?e.current:e},Du=function(e){return"\n .block-interactivity-".concat(e," {pointer-events: none;}\n .allow-interactivity-").concat(e," {pointer-events: all;}\n")},Tu=0,Ru=[];var Au,Pu=(Au=function(e){var t=u.useRef([]),n=u.useRef([0,0]),r=u.useRef(),o=u.useState(Tu++)[0],i=u.useState((function(){return pu()}))[0],a=u.useRef(e);u.useEffect((function(){a.current=e}),[e]),u.useEffect((function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var t=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}([e.lockRef.current],(e.shards||[]).map(Nu),!0).filter(Boolean);return t.forEach((function(e){return e.classList.add("allow-interactivity-".concat(o))})),function(){document.body.classList.remove("block-interactivity-".concat(o)),t.forEach((function(e){return e.classList.remove("allow-interactivity-".concat(o))}))}}}),[e.inert,e.lockRef.current,e.shards]);var l=u.useCallback((function(e,t){if("touches"in e&&2===e.touches.length)return!a.current.allowPinchZoom;var o,i=Ou(e),u=n.current,l="deltaX"in e?e.deltaX:u[0]-i[0],c="deltaY"in e?e.deltaY:u[1]-i[1],s=e.target,f=Math.abs(l)>Math.abs(c)?"h":"v";if("touches"in e&&"h"===f&&"range"===s.type)return!1;var d=Su(f,s);if(!d)return!0;if(d?o=f:(o="v"===f?"h":"v",d=Su(f,s)),!d)return!1;if(!r.current&&"changedTouches"in e&&(l||c)&&(r.current=o),!o)return!0;var p=r.current||o;return function(e,t,n,r,o){var i=function(e,t){return"h"===e&&"rtl"===t?-1:1}(e,window.getComputedStyle(t).direction),a=i*r,u=n.target,l=t.contains(u),c=!1,s=a>0,f=0,d=0;do{var p=Cu(e,u),h=p[0],v=p[1]-p[2]-i*h;(h||v)&&_u(e,u)&&(f+=v,d+=h),u=u.parentNode}while(!l&&u!==document.body||l&&(t.contains(u)||t===u));return(s&&(o&&0===f||!o&&a>f)||!s&&(o&&0===d||!o&&-a>d))&&(c=!0),c}(p,t,e,"h"===p?l:c,!0)}),[]),c=u.useCallback((function(e){var n=e;if(Ru.length&&Ru[Ru.length-1]===i){var r="deltaY"in n?Iu(n):Ou(n),o=t.current.filter((function(e){return e.name===n.type&&e.target===n.target&&function(e,t){return e[0]===t[0]&&e[1]===t[1]}(e.delta,r)}))[0];if(o&&o.should)n.cancelable&&n.preventDefault();else if(!o){var u=(a.current.shards||[]).map(Nu).filter(Boolean).filter((function(e){return e.contains(n.target)}));(u.length>0?l(n,u[0]):!a.current.noIsolation)&&n.cancelable&&n.preventDefault()}}}),[]),s=u.useCallback((function(e,n,r,o){var i={name:e,delta:n,target:r,should:o};t.current.push(i),setTimeout((function(){t.current=t.current.filter((function(e){return e!==i}))}),1)}),[]),f=u.useCallback((function(e){n.current=Ou(e),r.current=void 0}),[]),d=u.useCallback((function(t){s(t.type,Iu(t),t.target,l(t,e.lockRef.current))}),[]),p=u.useCallback((function(t){s(t.type,Ou(t),t.target,l(t,e.lockRef.current))}),[]);u.useEffect((function(){return Ru.push(i),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:p}),document.addEventListener("wheel",c,Eu),document.addEventListener("touchmove",c,Eu),document.addEventListener("touchstart",f,Eu),function(){Ru=Ru.filter((function(e){return e!==i})),document.removeEventListener("wheel",c,Eu),document.removeEventListener("touchmove",c,Eu),document.removeEventListener("touchstart",f,Eu)}}),[]);var h=e.removeScrollBar,v=e.inert;return u.createElement(u.Fragment,null,v?u.createElement(i,{styles:Du(o)}):null,h?u.createElement(bu,{gapMode:"margin"}):null)},au.useMedium(Au),su),Lu=u.forwardRef((function(e,t){return u.createElement(lu,Di({},e,{ref:t,sideCar:Pu}))}));Lu.classNames=lu.classNames;var Mu=Lu,ju=n(7),Fu=n.n(ju);function Bu(){return Bu=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Bu.apply(this,arguments)}function zu(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}var Uu=["as","isOpen"],Wu=["allowPinchZoom","as","dangerouslyBypassFocusLock","dangerouslyBypassScrollLock","initialFocusRef","onClick","onDismiss","onKeyDown","onMouseDown","unstable_lockFocusAcrossFrames"],Hu=["as","onClick","onKeyDown"],Gu=(Fu().bool,Fu().bool,Fu().bool,Fu().func,(0,u.forwardRef)((function(e,t){var n=e.as,r=void 0===n?"div":n,o=e.isOpen,i=void 0===o||o,a=zu(e,Uu);return(0,u.useEffect)((function(){i?window.__REACH_DISABLE_TOOLTIPS=!0:window.requestAnimationFrame((function(){window.__REACH_DISABLE_TOOLTIPS=!1}))}),[i]),i?(0,u.createElement)(vi,{"data-reach-dialog-wrapper":""},(0,u.createElement)(Vu,Bu({ref:t,as:r},a))):null})));var Vu=(0,u.forwardRef)((function(e,t){var n=e.allowPinchZoom,r=e.as,o=void 0===r?"div":r,i=e.dangerouslyBypassFocusLock,a=void 0!==i&&i,l=e.dangerouslyBypassScrollLock,c=void 0!==l&&l,s=e.initialFocusRef,f=e.onClick,d=e.onDismiss,p=void 0===d?mi:d,h=e.onKeyDown,v=e.onMouseDown,g=e.unstable_lockFocusAcrossFrames,m=zu(e,Wu);var y=(0,u.useRef)(null),b=(0,u.useRef)(null),w=Ei(b,t),x=(0,u.useCallback)((function(){s&&s.current&&s.current.focus()}),[s]);return(0,u.useEffect)((function(){return b.current?function(e){var t=[],n=[],r=gi(e);if(!e)return mi;return Array.prototype.forEach.call(r.querySelectorAll("body > *"),(function(r){var o,i;if(r!==(null==(o=e.parentNode)||null==(i=o.parentNode)?void 0:i.parentNode)){var a=r.getAttribute("aria-hidden");null!==a&&"false"!==a||(t.push(a),n.push(r),r.setAttribute("aria-hidden","true"))}})),function(){n.forEach((function(e,n){var r=t[n];null===r?e.removeAttribute("aria-hidden"):e.setAttribute("aria-hidden",r)}))}}(b.current):void 0}),[]),(0,u.createElement)(ru,{autoFocus:!0,returnFocus:!0,onActivation:x,disabled:a,crossFrame:null==g||g},(0,u.createElement)(Mu,{allowPinchZoom:n,enabled:!c},(0,u.createElement)(o,Bu({},m,{ref:w,"data-reach-dialog-overlay":"",onClick:ki(f,(function(e){y.current===e.target&&(e.stopPropagation(),p(e))})),onKeyDown:ki(h,(function(e){"Escape"===e.key&&(e.stopPropagation(),p(e))})),onMouseDown:ki(v,(function(e){y.current=e.target}))}))))}));var $u=(0,u.forwardRef)((function(e,t){var n=e.as,r=void 0===n?"div":n,o=e.onClick;e.onKeyDown;var i=zu(e,Hu);return(0,u.createElement)(r,Bu({"aria-modal":"true",role:"dialog",tabIndex:-1},i,{ref:t,"data-reach-dialog-content":"",onClick:ki(o,(function(e){e.stopPropagation()}))}))}));var qu=!1,Ku=0,Yu=function(){return++Ku};function Zu(e){var t=e||(qu?Yu():null),n=(0,u.useState)(t),r=n[0],o=n[1];return pi((function(){null===r&&o(Yu())}),[]),(0,u.useEffect)((function(){!1===qu&&(qu=!0)}),[]),null!=r?String(r):void 0}function Xu(e,t){return(0,u.createContext)(t)}function Qu(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter((function(e){return null!=e})).join("--")}var Ju=n(176),el=n.n(Ju);function tl(){return tl=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},tl.apply(this,arguments)}function nl(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}var rl=["leastDestructiveRef"],ol=["children"],il=["as"],al=["as"],ul=["id","isOpen","onDismiss","leastDestructiveRef"],ll=Xu(0,{}),cl=(0,u.forwardRef)((function(e,t){var n=e.leastDestructiveRef,r=nl(e,rl),o=(0,u.useRef)(null),i=Ei(t,o),a=Zu(r.id),l=a?Qu("alert-dialog",a):void 0,c=a?Qu("alert-dialog-description",a):void 0;return(0,u.createElement)(ll.Provider,{value:{labelId:l,descriptionId:c,overlayRef:o,leastDestructiveRef:n}},(0,u.createElement)(Gu,tl({},r,{ref:i,"data-reach-alert-dialog-overlay":!0,initialFocusRef:n})))}));var sl=(0,u.forwardRef)((function(e,t){var n=e.children,r=nl(e,ol),o=(0,u.useContext)(ll),i=o.descriptionId,a=o.labelId,l=o.leastDestructiveRef,c=o.overlayRef;return(0,u.useEffect)((function(){var e=gi(c.current);a&&(e.getElementById(a)||el()(!1)),l||el()(!1)}),[a,l]),(0,u.createElement)($u,tl({role:"alertdialog","aria-describedby":i,"aria-labelledby":r["aria-label"]?void 0:a},r,{ref:t,"data-reach-alert-dialong-content":!0,"data-reach-alert-dialog-content":!0}),n)}));var fl=(0,u.forwardRef)((function(e,t){var n=e.as,r=void 0===n?"div":n,o=nl(e,il),i=(0,u.useContext)(ll).labelId;return(0,u.createElement)(r,tl({},o,{ref:t,id:i,"data-reach-alert-dialog-label":!0}))}));var dl=(0,u.forwardRef)((function(e,t){var n=e.as,r=void 0===n?"div":n,o=nl(e,al),i=(0,u.useContext)(ll).descriptionId;return(0,u.createElement)(r,tl({},o,{ref:t,id:i,"data-reach-alert-dialog-description":!0}))}));var pl=(0,u.forwardRef)((function(e,t){var n=e.id,r=e.isOpen,o=e.onDismiss,i=e.leastDestructiveRef,a=nl(e,ul);return(0,u.createElement)(cl,{isOpen:r,onDismiss:o,leastDestructiveRef:i,id:n},(0,u.createElement)(sl,tl({ref:t},a)))}));var hl,vl=n(516),gl=function(e){var t=e.testId,n=e.title,r=void 0===n?"":n,o=e.confirmButtonText,i=void 0===o?"Confirm":o,a=e.confirmButtonStyle,l=void 0===a?"info":a,c=e.confirmButtonCb,s=e.cancelButtonText,f=void 0===s?"Cancel":s,d=e.cancelButtonCb,p=e.children,h=(0,u.useRef)(null);return(0,ui.jsx)(pl,{"data-testid":t,onDismiss:d,leastDestructiveRef:h,children:(0,ui.jsx)("div",{className:"sk-modal-content",children:(0,ui.jsx)("div",{className:"sn-component",children:(0,ui.jsx)("div",{className:"sk-panel",children:(0,ui.jsx)("div",{className:"sk-panel-content",children:(0,ui.jsxs)("div",{className:"sk-panel-section",children:[(0,ui.jsx)(fl,{className:"sk-h3 sk-panel-section-title",dangerouslySetInnerHTML:{__html:(0,vl.sanitizeHtmlString)(r)}}),(0,ui.jsx)(dl,{className:"sk-panel-row",children:(0,ui.jsx)("p",{className:"color-foreground",children:p})}),(0,ui.jsxs)("div",{className:"flex my-1",children:[(0,ui.jsx)("button",{"data-testid":"cancel-dialog-button",className:"sn-button small neutral",onClick:d,ref:h,children:f}),(0,ui.jsx)("button",{"data-testid":"confirm-dialog-button",className:"sn-button small ml-2 ".concat(l),onClick:c,children:i})]})]})})})})})})},ml=nt.span(hl||(hl=o(["\n color: var(--sn-stylekit-paragraph-text-color);\n font-size: var(--sn-stylekit-font-size-p);\n margin: 0 10px;\n"])));function yl(e,t){if(null==e)return{};var n,r,o=Si(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var bl,wl,xl,El,kl,Sl,_l,Cl,Ol,Il,Nl,Dl,Tl,Rl,Al,Pl,Ll=["children","highlight","crossed"],Ml=nt.h1(bl||(bl=o(["\n color: var(--sn-stylekit-editor-foreground-color);\n display: inline;\n font-size: 1.125rem !important;\n margin-right: 10px !important;\n text-decoration: ",";\n"])),(function(e){return e.crossed?"line-through":"none"})),jl=function(e){var t=e.children,n=e.highlight,r=void 0!==n&&n,o=e.crossed,i=void 0!==o&&o,a=yl(e,Ll);return(0,ui.jsx)(Ml,ur(ur({className:"sk-h1 ".concat(r?"info":""),crossed:i},a),{},{children:t}))},Fl=function(e){var t=e.testId,n=e.onClick,r=e.children,o=e.size,i=void 0===o?"normal":o;return(0,ui.jsx)("button",{"data-testid":t,className:"sn-icon-button ".concat(i),onClick:n,children:r})},Bl=nt.h3(wl||(wl=o(["\n color: var(--sn-stylekit-foreground-color);\n cursor: pointer;\n font-size: var(--sn-stylekit-font-size-h3);\n font-weight: 500;\n margin: 10px 0px;\n opacity: 0.55;\n\n &::first-letter {\n text-transform: capitalize;\n }\n"]))),zl=nt.textarea(xl||(xl=o(["\n background-color: transparent;\n border: none;\n color: inherit;\n font-size: 0.98rem;\n font-weight: 400;\n margin-left: 2px;\n outline: none;\n overflow: hidden;\n resize: none;\n width: 100%;\n"]))),Ul=(0,u.forwardRef)((function(e,t){var n=e.value,r=e.className,o=e.dir,i=void 0===o?"auto":o,a=e.disabled,u=e.spellCheck,l=e.testId,c=e.onChange,s=e.onKeyPress,f=e.onKeyUp;return(0,ui.jsx)(zl,{className:r,"data-testid":l,dir:i,disabled:a,onChange:c,onKeyPress:s,onKeyUp:f,ref:t,spellCheck:u,value:n})})),Wl=nt.input(El||(El=o(["\n background-color: unset;\n border: none;\n color: var(--sn-stylekit-foreground-color);\n font-size: ",";\n font-weight: ",";\n height: auto;\n margin: 6px 0 6px 0;\n outline: none;\n padding: 0;\n width: 100%;\n\n /* Remove default shadow for iOS mobile */\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n\n ::placeholder {\n color: var(--sn-stylekit-input-placeholder-color);\n }\n"])),(function(e){return"big"===e.textSize?"1.125rem":"var(--sn-stylekit-font-size-h3)"}),(function(e){return"big"===e.textSize?"500":"400"})),Hl=(0,u.forwardRef)((function(e,t){var n=e.value,r=e.autoFocus,o=e.dir,i=void 0===o?"auto":o,a=e.disabled,u=e.enterKeyHint,l=e.placeholder,c=e.spellCheck,s=e.testId,f=e.textSize,d=void 0===f?"normal":f,p=e.onBlur,h=e.onChange,v=e.onKeyPress;return(0,ui.jsx)(Wl,{type:"text",autoFocus:r,"data-testid":s,dir:i,disabled:a,enterKeyHint:u,onBlur:p,onChange:h,onKeyPress:v,placeholder:l,ref:t,spellCheck:c,textSize:d,value:n})})),Gl=nt.button(kl||(kl=o(["\n align-items: center;\n background-color: var(--sn-stylekit-background-color);\n border-radius: 8px;\n border: 1px solid var(--sn-stylekit-border-color);\n box-sizing: border-box;\n color: var(--sn-stylekit-paragraph-text-color);\n cursor: pointer;\n display: flex;\n height: 36px;\n justify-content: center;\n width: 100%;\n"]))),Vl=function(){return(0,ui.jsx)("svg",{className:"sn-icon small block",fill:"none",height:"14",viewBox:"0 0 14 14",width:"14",xmlns:"http://www.w3.org/2000/svg",children:(0,ui.jsx)("path",{d:"M14 7C14 7.55228 13.5523 8 13 8H8V13C8 13.5523 7.55228 14 7 14C6.44772 14 6 13.5523 6 13V8H1C0.447715 8 0 7.55228 0 7C0 6.44772 0.447715 6 1 6H6V1C6 0.447715 6.44772 0 7 0C7.55228 0 8 0.447715 8 1V6H13C13.5523 6 14 6.44772 14 7Z"})})},$l=function(){return(0,ui.jsx)("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"sn-icon block",children:(0,ui.jsx)("path",{d:"M6.17622 7.15015L10.0012 10.9751L13.8262 7.15015L15.0012 8.33348L10.0012 13.3335L5.00122 8.33348L6.17622 7.15015Z"})})},ql=function(){return(0,ui.jsx)("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"sn-icon block",children:(0,ui.jsx)("path",{d:"M13.826 13.3335L10.001 9.5085L6.17597 13.3335L5.00097 12.1502L10.001 7.15017L15.001 12.1502L13.826 13.3335Z"})})},Kl=function(){return(0,ui.jsx)("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"sn-icon block",children:(0,ui.jsx)("path",{d:"M8 17L12 13H15.2C15.6 14.2 16.7 15 18 15C19.7 15 21 13.7 21 12C21 10.3 19.7 9 18 9C16.7 9 15.6 9.8 15.2 11H12L8 7V3H3V8H6L10.2 12L6 16H3V21H8V17Z"})})},Yl=nt((function(e){var t=Object.assign({},e);return(0,ui.jsx)("span",ur(ur({"aria-hidden":!0},t),{},{children:"\u2026"}))}))(Sl||(Sl=o(["\n font-weight: 800;\n height: 18px;\n line-height: 10px;\n"]))),Zl=function(){return(0,ui.jsx)("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"sn-icon block",children:(0,ui.jsx)("path",{d:"M11.7167 7.5L12.5 8.28333L4.93333 15.8333H4.16667V15.0667L11.7167 7.5ZM14.7167 2.5C14.5083 2.5 14.2917 2.58333 14.1333 2.74167L12.6083 4.26667L15.7333 7.39167L17.2583 5.86667C17.5833 5.54167 17.5833 5 17.2583 4.69167L15.3083 2.74167C15.1417 2.575 14.9333 2.5 14.7167 2.5ZM11.7167 5.15833L2.5 14.375V17.5H5.625L14.8417 8.28333L11.7167 5.15833Z"})})},Xl=function(){return(0,ui.jsx)("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"sn-icon block",children:(0,ui.jsx)("path",{d:"M7.49992 2.5V3.33333H3.33325V5H4.16659V15.8333C4.16659 16.2754 4.34218 16.6993 4.65474 17.0118C4.9673 17.3244 5.39122 17.5 5.83325 17.5H14.1666C14.6086 17.5 15.0325 17.3244 15.3451 17.0118C15.6577 16.6993 15.8333 16.2754 15.8333 15.8333V5H16.6666V3.33333H12.4999V2.5H7.49992ZM5.83325 5H14.1666V15.8333H5.83325V5ZM7.49992 6.66667V14.1667H9.16658V6.66667H7.49992ZM10.8333 6.66667V14.1667H12.4999V6.66667H10.8333Z"})})},Ql=function(e){var t=e.style;return(0,ui.jsx)("svg",{className:"fill-info-color",style:t,width:"157",height:"367",viewBox:"0 0 157 367",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,ui.jsx)("path",{d:"M99.0001 247.998L98.647 248.934L99.0001 247.998ZM24.5 132L25.2141 132.7L24.5 132ZM0.5 0L5.37125 10.4692L12.0022 1.01598L0.5 0ZM6.92587 6.02551C8.4365 7.25097 9.90374 8.51179 11.327 9.8054L12.6722 8.32536C11.2213 7.00667 9.72566 5.72144 8.18586 4.47231L6.92587 6.02551ZM15.508 13.8262C16.8709 15.213 18.1874 16.6313 19.4569 18.0783L20.9603 16.7594C19.6661 15.2841 18.3239 13.8381 16.9344 12.4243L15.508 13.8262ZM23.1595 22.549C24.3562 24.0807 25.5035 25.6394 26.6005 27.2222L28.2443 26.0828C27.1256 24.4688 25.9557 22.8795 24.7355 21.3176L23.1595 22.549ZM29.7675 32.0834C30.7805 33.7408 31.7408 35.4199 32.6478 37.1178L34.4118 36.1754C33.4866 34.4434 32.5071 32.7307 31.474 31.0404L29.7675 32.0834ZM35.229 42.3095C36.0427 44.0742 36.8004 45.8551 37.5014 47.6489L39.3642 46.9209C38.6488 45.0901 37.8755 43.2727 37.0453 41.472L35.229 42.3095ZM39.4487 53.1125C40.0447 54.9603 40.5813 56.8179 41.0577 58.6819L42.9954 58.1866C42.5087 56.2824 41.9607 54.3852 41.3521 52.4985L39.4487 53.1125ZM42.315 64.3374C42.6759 66.2444 42.9736 68.1544 43.2076 70.0638L45.1927 69.8205C44.9534 67.8677 44.649 65.9148 44.2802 63.9656L42.315 64.3374ZM43.72 75.8346C43.8262 77.7696 43.8658 79.7001 43.838 81.6224L45.8378 81.6513C45.8663 79.6823 45.8257 77.7055 45.717 75.725L43.72 75.8346ZM43.5481 87.4004C43.3815 89.3283 43.1449 91.2438 42.8374 93.1429L44.8117 93.4626C45.1272 91.5138 45.3699 89.5491 45.5407 87.5725L43.5481 87.4004ZM41.6958 98.8108C41.2422 100.686 40.7159 102.54 40.1162 104.37L42.0168 104.992C42.6331 103.112 43.1738 101.207 43.6397 99.2812L41.6958 98.8108ZM38.0959 109.781C37.3508 111.553 36.5318 113.296 35.6381 115.006L37.4108 115.932C38.3304 114.172 39.173 112.379 39.9394 110.557L38.0959 109.781ZM32.7511 120.008C31.7252 121.624 30.6262 123.205 29.4531 124.748L31.045 125.958C32.2524 124.371 33.3837 122.743 34.4396 121.08L32.7511 120.008ZM25.7707 129.19C25.127 129.903 24.4654 130.607 23.7859 131.3L25.2141 132.7C25.9129 131.987 26.5935 131.264 27.2557 130.529L25.7707 129.19ZM23.7859 131.3C23.046 132.055 22.3444 132.839 21.6813 133.652L23.231 134.916C23.8557 134.151 24.5168 133.411 25.2141 132.7L23.7859 131.3ZM18.1578 138.875C17.1527 140.7 16.3036 142.621 15.6128 144.626L17.5038 145.278C18.1582 143.378 18.9612 141.562 19.9097 139.84L18.1578 138.875ZM14.0481 150.705C13.6914 152.726 13.4758 154.809 13.4028 156.942L15.4017 157.011C15.4715 154.967 15.6778 152.978 16.0176 151.053L14.0481 150.705ZM13.585 163.182C13.7679 165.206 14.0703 167.265 14.4936 169.35L16.4536 168.952C16.0444 166.936 15.7529 164.95 15.5769 163.002L13.585 163.182ZM16.0352 175.382C16.6308 177.318 17.3275 179.271 18.1263 181.235L19.9788 180.481C19.2016 178.571 18.5247 176.673 17.9468 174.794L16.0352 175.382ZM20.6917 186.878C21.6019 188.689 22.5984 190.504 23.6822 192.319L25.3994 191.293C24.3398 189.519 23.3666 187.746 22.4787 185.98L20.6917 186.878ZM27.037 197.53C28.1854 199.191 29.408 200.849 30.7054 202.501L32.278 201.265C31.0054 199.645 29.807 198.02 28.6823 196.393L27.037 197.53ZM34.6618 207.248C36.0002 208.766 37.4036 210.274 38.8726 211.771L40.3002 210.371C38.8556 208.898 37.4763 207.416 36.1617 205.925L34.6618 207.248ZM43.3085 216.071C44.7959 217.443 46.3409 218.804 47.9437 220.15L49.2299 218.618C47.6506 217.292 46.129 215.952 44.6647 214.601L43.3085 216.071ZM52.7561 224.013C54.3617 225.245 56.0184 226.463 57.7266 227.665L58.8774 226.029C57.1915 224.843 55.5572 223.641 53.9738 222.426L52.7561 224.013ZM62.8386 231.112C64.5391 232.211 66.2854 233.294 68.078 234.36L69.1003 232.641C67.3288 231.588 65.6036 230.517 63.9242 229.432L62.8386 231.112ZM73.4332 237.416C75.2119 238.39 77.0321 239.348 78.8941 240.287L79.7949 238.501C77.9528 237.572 76.1525 236.625 74.3938 235.662L73.4332 237.416ZM84.4528 242.979C86.285 243.831 88.1546 244.665 90.0618 245.481L90.8487 243.643C88.9601 242.834 87.1092 242.008 85.2956 241.165L84.4528 242.979ZM95.746 247.816C96.7041 248.193 97.6711 248.566 98.647 248.934L99.3532 247.063C98.3862 246.698 97.428 246.328 96.4788 245.955L95.746 247.816ZM98.647 248.934C99.569 249.282 100.479 249.633 101.376 249.988L102.112 248.129C101.204 247.77 100.285 247.414 99.3532 247.063L98.647 248.934ZM106.705 252.201C108.507 252.985 110.255 253.786 111.948 254.602L112.816 252.8C111.099 251.973 109.328 251.162 107.504 250.367L106.705 252.201ZM117.086 257.212C118.821 258.141 120.491 259.088 122.097 260.052L123.126 258.337C121.491 257.356 119.793 256.393 118.031 255.449L117.086 257.212ZM126.949 263.145C128.575 264.248 130.125 265.37 131.601 266.512L132.825 264.931C131.315 263.762 129.731 262.615 128.071 261.49L126.949 263.145ZM136.004 270.174C137.46 271.478 138.826 272.804 140.105 274.152L141.556 272.775C140.238 271.387 138.833 270.023 137.339 268.684L136.004 270.174ZM143.856 278.48C145.057 280.005 146.156 281.555 147.154 283.129L148.843 282.058C147.807 280.425 146.669 278.82 145.427 277.243L143.856 278.48ZM149.937 288.094C150.78 289.817 151.513 291.566 152.14 293.34L154.026 292.675C153.373 290.827 152.61 289.006 151.733 287.215L149.937 288.094ZM153.714 298.803C154.131 300.648 154.441 302.519 154.647 304.415L156.635 304.199C156.422 302.229 156.099 300.283 155.665 298.362L153.714 298.803ZM154.953 310.107C154.955 311.983 154.861 313.882 154.674 315.802L156.664 315.996C156.858 314.013 156.955 312.05 156.953 310.106L154.953 310.107ZM153.863 321.471C153.518 323.312 153.092 325.172 152.587 327.048L154.518 327.568C155.036 325.644 155.474 323.734 155.829 321.839L153.863 321.471ZM150.903 332.531C150.291 334.311 149.61 336.104 148.864 337.911L150.712 338.675C151.473 336.833 152.168 335.001 152.794 333.182L150.903 332.531ZM146.519 343.175C145.708 344.875 144.842 346.585 143.92 348.305L145.682 349.25C146.618 347.504 147.5 345.765 148.325 344.036L146.519 343.175ZM141.091 353.325C140.128 354.954 139.118 356.59 138.062 358.235L139.744 359.316C140.814 357.651 141.837 355.993 142.812 354.342L141.091 353.325ZM134.858 363.039C134.311 363.83 133.754 364.623 133.186 365.418L134.814 366.58C135.387 365.777 135.951 364.976 136.504 364.175L134.858 363.039Z"})})},Jl=nt.div(_l||(_l=o(["\n background-color: var(--sn-stylekit-background-color);\n border: 1px solid var(--sn-stylekit-border-color);\n border-radius: 8px;\n box-sizing: border-box;\n padding: 16px;\n width: 100%;\n"]))),ec=nt.div(Cl||(Cl=o(["\n display: flex;\n flex-direction: column;\n margin-top: 9px;\n position: relative;\n"]))),tc=nt.div(Ol||(Ol=o(["\n align-items: center;\n align-content: center;\n display: flex;\n flex-direction: column;\n position: absolute;\n width: 100%;\n z-index: 100;\n"]))),nc=nt.div(Il||(Il=o(["\n color: var(--sn-stylekit-paragraph-text-color);\n font-size: var(--sn-stylekit-font-size-h2);\n margin: 0;\n text-align: center;\n width: 194px;\n"]))),rc=nt.div(Nl||(Nl=o(["\n background-color: var(--sn-stylekit-border-color);\n border-radius: 8px;\n box-sizing: border-box;\n height: 66px;\n padding: 16px;\n margin-bottom: 9px;\n"]))),oc=nt(rc)(Dl||(Dl=o(["\n opacity: 0.8;\n"]))),ic=nt(rc)(Tl||(Tl=o(["\n opacity: 0.6;\n"]))),ac=nt(rc)(Rl||(Rl=o(["\n opacity: 0.4;\n"]))),uc=nt(rc)(Al||(Al=o(["\n opacity: 0.2;\n"]))),lc=function(){var e=(0,u.createRef)(),t=Jt(),n=it((0,u.useState)(""),2),r=n[0],o=n[1],i=it((0,u.useState)(!1),2),a=i[0],l=i[1],c=en((function(e){return e.settings.canEdit})),s=en((function(e){return e.settings.spellCheckerEnabled})),f=en((function(e){return e.tasks.groups})).length;return c?(0,ui.jsx)(ui.Fragment,{children:!a&&f>0?(0,ui.jsx)(Gl,{"data-testid":"create-group-button",onClick:function(){l(!a)},children:(0,ui.jsx)(Vl,{})}):(0,ui.jsxs)(ui.Fragment,{children:[(0,ui.jsx)(Jl,{children:(0,ui.jsx)(Hl,{testId:"create-group-input",value:r,enterKeyHint:"go",onBlur:function(e){l(!1),o("")},onChange:function(e){o(e.target.value)},onKeyPress:function(e){if("Enter"===e.key){var n=e.target.value;n.length>0&&t(Vo({groupName:n})),l(!1),o("")}},placeholder:"Name your task group and press enter",ref:e,spellCheck:s,textSize:"big",autoFocus:!0})}),0===f&&(0,ui.jsxs)(ec,{children:[(0,ui.jsxs)(tc,{children:[(0,ui.jsx)(Ql,{style:{marginRight:140,marginBottom:12}}),(0,ui.jsx)(nc,{children:"Get started by naming your first task group"})]}),(0,ui.jsx)(oc,{}),(0,ui.jsx)(ic,{}),(0,ui.jsx)(ac,{}),(0,ui.jsx)(uc,{})]})]})}):(0,ui.jsx)(ui.Fragment,{})},cc=nt.div(Pl||(Pl=o(["\n background-color: var(--sn-stylekit-background-color);\n border: 1px solid var(--sn-stylekit-border-color);\n border-radius: 8px;\n box-sizing: border-box;\n height: 100%;\n padding: 16px;\n margin-bottom: 9px;\n"]))),sc=function(){var e=en((function(e){return e.tasks.lastError}));return e?(0,ui.jsx)(cc,{children:e}):(0,ui.jsx)(ui.Fragment,{})},fc=function(){var e=(0,u.useRef)(null),t=Jt();return(0,ui.jsx)(pl,{"data-testid":"migrate-legacy-content-dialog",leastDestructiveRef:e,children:(0,ui.jsx)("div",{className:"sk-modal-content",children:(0,ui.jsx)("div",{className:"sn-component",children:(0,ui.jsx)("div",{className:"sk-panel",children:(0,ui.jsx)("div",{className:"sk-panel-content",children:(0,ui.jsxs)("div",{className:"sk-panel-section",children:[(0,ui.jsx)(fl,{className:"sk-h3 sk-panel-section-title",children:"Are you sure you want to migrate legacy content to the new format?"}),(0,ui.jsxs)("div",{className:"flex my-1",children:[(0,ui.jsx)("button",{className:"sn-button small neutral",onClick:function(){t(Go({continue:!1}))},ref:e,children:"Cancel"}),(0,ui.jsx)("button",{className:"sn-button small ml-2 info",onClick:function(){t(Go({continue:!0}))},children:"Migrate"})]})]})})})})})})},dc=function(e){var t=e.children;return(0,ui.jsx)("p",{className:"ml-2 w-full font-medium",children:t})},pc=function(e){var t=e.groups,n=t.length,r=t.slice(0,Math.min(n,3));if(0===r.length)return(0,ui.jsx)(ui.Fragment,{});var o=n-r.length,i=o>1?"groups":"group";return(0,ui.jsxs)(ui.Fragment,{children:[(0,ui.jsx)("div",{className:"my-2",children:r.map((function(e,t){var n=e.tasks.length,r=e.tasks.filter((function(e){return!0===e.completed})).length;return(0,ui.jsxs)("p",{"data-testid":"group-summary",className:"mb-1",children:[Do(e.name,30),(0,ui.jsxs)("span",{className:"px-2 neutral",children:[r,"/",n]})]},"group-".concat(e.name))}))}),o>0&&(0,ui.jsxs)("p",{"data-testid":"groups-remaining",children:["And ",o," other ",i]})]})},hc=function(e){var t=e.groupedTasks,n=No(t),r=Io(n).completedTasks,o=Oo(n.length,r.length),i=10*Math.floor(o/10);return(0,ui.jsxs)(ui.Fragment,{children:[(0,ui.jsxs)("div",{className:"flex flex-grow items-center mb-3",children:[(0,ui.jsxs)("svg",{"data-testid":"circular-progress-bar",className:"sk-circular-progress",viewBox:"0 0 18 18",children:[(0,ui.jsx)("circle",{className:"background"}),(0,ui.jsx)("circle",{className:"progress p-".concat(i)})]}),(0,ui.jsxs)(dc,{children:[r.length,"/",n.length," tasks completed"]})]}),(0,ui.jsx)(pc,{groups:t})]})};function vc(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var gc="function"===typeof Symbol&&Symbol.observable||"@@observable",mc=function(){return Math.random().toString(36).substring(7).split("").join(".")},yc={INIT:"@@redux/INIT"+mc(),REPLACE:"@@redux/REPLACE"+mc(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+mc()}};function bc(e){if("object"!==typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function wc(e,t,n){var r;if("function"===typeof t&&"function"===typeof n||"function"===typeof n&&"function"===typeof arguments[3])throw new Error(vc(0));if("function"===typeof t&&"undefined"===typeof n&&(n=t,t=void 0),"undefined"!==typeof n){if("function"!==typeof n)throw new Error(vc(1));return n(wc)(e,t)}if("function"!==typeof e)throw new Error(vc(2));var o=e,i=t,a=[],u=a,l=!1;function c(){u===a&&(u=a.slice())}function s(){if(l)throw new Error(vc(3));return i}function f(e){if("function"!==typeof e)throw new Error(vc(4));if(l)throw new Error(vc(5));var t=!0;return c(),u.push(e),function(){if(t){if(l)throw new Error(vc(6));t=!1,c();var n=u.indexOf(e);u.splice(n,1),a=null}}}function d(e){if(!bc(e))throw new Error(vc(7));if("undefined"===typeof e.type)throw new Error(vc(8));if(l)throw new Error(vc(9));try{l=!0,i=o(i,e)}finally{l=!1}for(var t=a=u,n=0;n<t.length;n++){(0,t[n])()}return e}function p(e){if("function"!==typeof e)throw new Error(vc(10));o=e,d({type:yc.REPLACE})}function h(){var e,t=f;return(e={subscribe:function(e){if("object"!==typeof e||null===e)throw new Error(vc(11));function n(){e.next&&e.next(s())}return n(),{unsubscribe:t(n)}}})[gc]=function(){return this},e}return d({type:yc.INIT}),(r={dispatch:d,subscribe:f,getState:s,replaceReducer:p})[gc]=h,r}function xc(e,t){return function(){return t(e.apply(this,arguments))}}function Ec(e,t){if("function"===typeof e)return xc(e,t);if("object"!==typeof e||null===e)throw new Error(vc(16));var n={};for(var r in e){var o=e[r];"function"===typeof o&&(n[r]=xc(o,t))}return n}function kc(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}var Sc=u.createContext(null);var _c=function(e){e()};function Cc(){var e=_c,t=null,n=null;return{clear:function(){t=null,n=null},notify:function(){e((function(){for(var e=t;e;)e.callback(),e=e.next}))},get:function(){for(var e=[],n=t;n;)e.push(n),n=n.next;return e},subscribe:function(e){var r=!0,o=n={callback:e,next:null,prev:n};return o.prev?o.prev.next=o:t=o,function(){r&&null!==t&&(r=!1,o.next?o.next.prev=o.prev:n=o.prev,o.prev?o.prev.next=o.next:t=o.next)}}}}var Oc={notify:function(){},get:function(){return[]}};function Ic(e,t){var n,r=Oc;function o(){a.onStateChange&&a.onStateChange()}function i(){n||(n=t?t.addNestedSub(o):e.subscribe(o),r=Cc())}var a={addNestedSub:function(e){return i(),r.subscribe(e)},notifyNestedSubs:function(){r.notify()},handleChangeWrapper:o,isSubscribed:function(){return Boolean(n)},trySubscribe:i,tryUnsubscribe:function(){n&&(n(),n=void 0,r.clear(),r=Oc)},getListeners:function(){return r}};return a}var Nc="undefined"!==typeof window&&"undefined"!==typeof window.document&&"undefined"!==typeof window.document.createElement?u.useLayoutEffect:u.useEffect;var Dc=function(e){var t=e.store,n=e.context,r=e.children,o=(0,u.useMemo)((function(){var e=Ic(t);return{store:t,subscription:e}}),[t]),i=(0,u.useMemo)((function(){return t.getState()}),[t]);Nc((function(){var e=o.subscription;return e.onStateChange=e.notifyNestedSubs,e.trySubscribe(),i!==t.getState()&&e.notifyNestedSubs(),function(){e.tryUnsubscribe(),e.onStateChange=null}}),[o,i]);var a=n||Sc;return u.createElement(a.Provider,{value:o},r)},Tc=["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"],Rc=["reactReduxForwardedRef"],Ac=[],Pc=[null,null];function Lc(e,t){var n=e[1];return[t.payload,n+1]}function Mc(e,t,n){Nc((function(){return e.apply(void 0,t)}),n)}function jc(e,t,n,r,o,i,a){e.current=r,t.current=o,n.current=!1,i.current&&(i.current=null,a())}function Fc(e,t,n,r,o,i,a,u,l,c){if(e){var s=!1,f=null,d=function(){if(!s){var e,n,d=t.getState();try{e=r(d,o.current)}catch(p){n=p,f=p}n||(f=null),e===i.current?a.current||l():(i.current=e,u.current=e,a.current=!0,c({type:"STORE_UPDATED",payload:{error:n}}))}};n.onStateChange=d,n.trySubscribe(),d();return function(){if(s=!0,n.tryUnsubscribe(),n.onStateChange=null,f)throw f}}}var Bc=function(){return[null,0]};function zc(e,t){void 0===t&&(t={});var n=t,r=n.getDisplayName,o=void 0===r?function(e){return"ConnectAdvanced("+e+")"}:r,i=n.methodName,a=void 0===i?"connectAdvanced":i,l=n.renderCountProp,c=void 0===l?void 0:l,s=n.shouldHandleStateChanges,f=void 0===s||s,d=n.storeKey,p=void 0===d?"store":d,h=(n.withRef,n.forwardRef),v=void 0!==h&&h,g=n.context,m=void 0===g?Sc:g,x=Si(n,Tc),E=m;return function(t){var n=t.displayName||t.name||"Component",r=o(n),i=w({},x,{getDisplayName:o,methodName:a,renderCountProp:c,shouldHandleStateChanges:f,storeKey:p,displayName:r,wrappedComponentName:n,WrappedComponent:t}),l=x.pure;var s=l?u.useMemo:function(e){return e()};function d(n){var r=(0,u.useMemo)((function(){var e=n.reactReduxForwardedRef,t=Si(n,Rc);return[n.context,e,t]}),[n]),o=r[0],a=r[1],l=r[2],c=(0,u.useMemo)((function(){return o&&o.Consumer&&(0,b.isContextConsumer)(u.createElement(o.Consumer,null))?o:E}),[o,E]),d=(0,u.useContext)(c),p=Boolean(n.store)&&Boolean(n.store.getState)&&Boolean(n.store.dispatch);Boolean(d)&&Boolean(d.store);var h=p?n.store:d.store,v=(0,u.useMemo)((function(){return function(t){return e(t.dispatch,i)}(h)}),[h]),g=(0,u.useMemo)((function(){if(!f)return Pc;var e=Ic(h,p?null:d.subscription),t=e.notifyNestedSubs.bind(e);return[e,t]}),[h,p,d]),m=g[0],y=g[1],x=(0,u.useMemo)((function(){return p?d:w({},d,{subscription:m})}),[p,d,m]),k=(0,u.useReducer)(Lc,Ac,Bc),S=k[0][0],_=k[1];if(S&&S.error)throw S.error;var C=(0,u.useRef)(),O=(0,u.useRef)(l),I=(0,u.useRef)(),N=(0,u.useRef)(!1),D=s((function(){return I.current&&l===O.current?I.current:v(h.getState(),l)}),[h,S,l]);Mc(jc,[O,C,N,l,D,I,y]),Mc(Fc,[f,h,m,v,O,C,N,I,y,_],[h,m,v]);var T=(0,u.useMemo)((function(){return u.createElement(t,w({},D,{ref:a}))}),[a,t,D]);return(0,u.useMemo)((function(){return f?u.createElement(c.Provider,{value:x},T):T}),[c,T,x])}var h=l?u.memo(d):d;if(h.WrappedComponent=t,h.displayName=d.displayName=r,v){var g=u.forwardRef((function(e,t){return u.createElement(h,w({},e,{reactReduxForwardedRef:t}))}));return g.displayName=r,g.WrappedComponent=t,y()(g,t)}return y()(h,t)}}function Uc(e,t){return e===t?0!==e||0!==t||1/e===1/t:e!==e&&t!==t}function Wc(e,t){if(Uc(e,t))return!0;if("object"!==typeof e||null===e||"object"!==typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var o=0;o<n.length;o++)if(!Object.prototype.hasOwnProperty.call(t,n[o])||!Uc(e[n[o]],t[n[o]]))return!1;return!0}function Hc(e){return function(t,n){var r=e(t,n);function o(){return r}return o.dependsOnOwnProps=!1,o}}function Gc(e){return null!==e.dependsOnOwnProps&&void 0!==e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function Vc(e,t){return function(t,n){n.displayName;var r=function(e,t){return r.dependsOnOwnProps?r.mapToProps(e,t):r.mapToProps(e)};return r.dependsOnOwnProps=!0,r.mapToProps=function(t,n){r.mapToProps=e,r.dependsOnOwnProps=Gc(e);var o=r(t,n);return"function"===typeof o&&(r.mapToProps=o,r.dependsOnOwnProps=Gc(o),o=r(t,n)),o},r}}var $c=[function(e){return"function"===typeof e?Vc(e):void 0},function(e){return e?void 0:Hc((function(e){return{dispatch:e}}))},function(e){return e&&"object"===typeof e?Hc((function(t){return function(e,t){var n={},r=function(r){var o=e[r];"function"===typeof o&&(n[r]=function(){return t(o.apply(void 0,arguments))})};for(var o in e)r(o);return n}(e,t)})):void 0}];var qc=[function(e){return"function"===typeof e?Vc(e):void 0},function(e){return e?void 0:Hc((function(){return{}}))}];function Kc(e,t,n){return w({},n,e,t)}var Yc=[function(e){return"function"===typeof e?function(e){return function(t,n){n.displayName;var r,o=n.pure,i=n.areMergedPropsEqual,a=!1;return function(t,n,u){var l=e(t,n,u);return a?o&&i(l,r)||(r=l):(a=!0,r=l),r}}}(e):void 0},function(e){return e?void 0:function(){return Kc}}],Zc=["initMapStateToProps","initMapDispatchToProps","initMergeProps"];function Xc(e,t,n,r){return function(o,i){return n(e(o,i),t(r,i),i)}}function Qc(e,t,n,r,o){var i,a,u,l,c,s=o.areStatesEqual,f=o.areOwnPropsEqual,d=o.areStatePropsEqual,p=!1;function h(o,p){var h=!f(p,a),v=!s(o,i,p,a);return i=o,a=p,h&&v?(u=e(i,a),t.dependsOnOwnProps&&(l=t(r,a)),c=n(u,l,a)):h?(e.dependsOnOwnProps&&(u=e(i,a)),t.dependsOnOwnProps&&(l=t(r,a)),c=n(u,l,a)):v?function(){var t=e(i,a),r=!d(t,u);return u=t,r&&(c=n(u,l,a)),c}():c}return function(o,s){return p?h(o,s):(u=e(i=o,a=s),l=t(r,a),c=n(u,l,a),p=!0,c)}}function Jc(e,t){var n=t.initMapStateToProps,r=t.initMapDispatchToProps,o=t.initMergeProps,i=Si(t,Zc),a=n(e,i),u=r(e,i),l=o(e,i);return(i.pure?Qc:Xc)(a,u,l,e,i)}var es=["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"];function ts(e,t,n){for(var r=t.length-1;r>=0;r--){var o=t[r](e);if(o)return o}return function(t,r){throw new Error("Invalid value of type "+typeof e+" for "+n+" argument when connecting component "+r.wrappedComponentName+".")}}function ns(e,t){return e===t}function rs(e){var t=void 0===e?{}:e,n=t.connectHOC,r=void 0===n?zc:n,o=t.mapStateToPropsFactories,i=void 0===o?qc:o,a=t.mapDispatchToPropsFactories,u=void 0===a?$c:a,l=t.mergePropsFactories,c=void 0===l?Yc:l,s=t.selectorFactory,f=void 0===s?Jc:s;return function(e,t,n,o){void 0===o&&(o={});var a=o,l=a.pure,s=void 0===l||l,d=a.areStatesEqual,p=void 0===d?ns:d,h=a.areOwnPropsEqual,v=void 0===h?Wc:h,g=a.areStatePropsEqual,m=void 0===g?Wc:g,y=a.areMergedPropsEqual,b=void 0===y?Wc:y,x=Si(a,es),E=ts(e,i,"mapStateToProps"),k=ts(t,u,"mapDispatchToProps"),S=ts(n,c,"mergeProps");return r(f,w({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:Boolean(e),initMapStateToProps:E,initMapDispatchToProps:k,initMergeProps:S,pure:s,areStatesEqual:p,areOwnPropsEqual:v,areStatePropsEqual:m,areMergedPropsEqual:b},x))}}var os=rs();function is(e,t){var n=(0,u.useState)((function(){return{inputs:t,result:e()}}))[0],r=(0,u.useRef)(!0),o=(0,u.useRef)(n),i=r.current||Boolean(t&&o.current.inputs&&function(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}(t,o.current.inputs))?o.current:{inputs:t,result:e()};return(0,u.useEffect)((function(){r.current=!1,o.current=i}),[i]),i.result}!function(e){_c=e}(l.unstable_batchedUpdates);var as=is,us=function(e,t){return is((function(){return e}),t)},ls="Invariant failed";var cs=function(e){var t=e.top,n=e.right,r=e.bottom,o=e.left;return{top:t,right:n,bottom:r,left:o,width:n-o,height:r-t,x:o,y:t,center:{x:(n+o)/2,y:(r+t)/2}}},ss=function(e,t){return{top:e.top-t.top,left:e.left-t.left,bottom:e.bottom+t.bottom,right:e.right+t.right}},fs=function(e,t){return{top:e.top+t.top,left:e.left+t.left,bottom:e.bottom-t.bottom,right:e.right-t.right}},ds={top:0,right:0,bottom:0,left:0},ps=function(e){var t=e.borderBox,n=e.margin,r=void 0===n?ds:n,o=e.border,i=void 0===o?ds:o,a=e.padding,u=void 0===a?ds:a,l=cs(ss(t,r)),c=cs(fs(t,i)),s=cs(fs(c,u));return{marginBox:l,borderBox:cs(t),paddingBox:c,contentBox:s,margin:r,border:i,padding:u}},hs=function(e){var t=e.slice(0,-2);if("px"!==e.slice(-2))return 0;var n=Number(t);return isNaN(n)&&function(e,t){if(!e)throw new Error(ls)}(!1),n},vs=function(e,t){var n,r,o=e.borderBox,i=e.border,a=e.margin,u=e.padding,l=(r=t,{top:(n=o).top+r.y,left:n.left+r.x,bottom:n.bottom+r.y,right:n.right+r.x});return ps({borderBox:l,border:i,margin:a,padding:u})},gs=function(e,t){return void 0===t&&(t={x:window.pageXOffset,y:window.pageYOffset}),vs(e,t)},ms=function(e,t){var n={top:hs(t.marginTop),right:hs(t.marginRight),bottom:hs(t.marginBottom),left:hs(t.marginLeft)},r={top:hs(t.paddingTop),right:hs(t.paddingRight),bottom:hs(t.paddingBottom),left:hs(t.paddingLeft)},o={top:hs(t.borderTopWidth),right:hs(t.borderRightWidth),bottom:hs(t.borderBottomWidth),left:hs(t.borderLeftWidth)};return ps({borderBox:e,margin:n,padding:r,border:o})},ys=function(e){var t=e.getBoundingClientRect(),n=window.getComputedStyle(e);return ms(t,n)},bs=Number.isNaN||function(e){return"number"===typeof e&&e!==e};function ws(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(r=e[n],o=t[n],!(r===o||bs(r)&&bs(o)))return!1;var r,o;return!0}var xs=function(e,t){var n;void 0===t&&(t=ws);var r,o=[],i=!1;return function(){for(var a=[],u=0;u<arguments.length;u++)a[u]=arguments[u];return i&&n===this&&t(a,o)||(r=e.apply(this,a),i=!0,n=this,o=a),r}},Es=function(e){var t=[],n=null,r=function(){for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];t=o,n||(n=requestAnimationFrame((function(){n=null,e.apply(void 0,t)})))};return r.cancel=function(){n&&(cancelAnimationFrame(n),n=null)},r};function ks(e,t){}ks.bind(null,"warn"),ks.bind(null,"error");function Ss(){}function _s(e,t,n){var r=t.map((function(t){var r=function(e,t){return w({},e,{},t)}(n,t.options);return e.addEventListener(t.eventName,t.fn,r),function(){e.removeEventListener(t.eventName,t.fn,r)}}));return function(){r.forEach((function(e){e()}))}}var Cs="Invariant failed";function Os(e){this.message=e}function Is(e,t){if(!e)throw new Os(Cs)}Os.prototype.toString=function(){return this.message};var Ns=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).callbacks=null,t.unbind=Ss,t.onWindowError=function(e){var n=t.getCallbacks();n.isDragging()&&n.tryAbort(),e.error instanceof Os&&e.preventDefault()},t.getCallbacks=function(){if(!t.callbacks)throw new Error("Unable to find AppCallbacks in <ErrorBoundary/>");return t.callbacks},t.setCallbacks=function(e){t.callbacks=e},t}Gi(t,e);var n=t.prototype;return n.componentDidMount=function(){this.unbind=_s(window,[{eventName:"error",fn:this.onWindowError}])},n.componentDidCatch=function(e){if(!(e instanceof Os))throw e;this.setState({})},n.componentWillUnmount=function(){this.unbind()},n.render=function(){return this.props.children(this.setCallbacks)},t}(u.Component),Ds=function(e){return e+1},Ts=function(e,t){var n=e.droppableId===t.droppableId,r=Ds(e.index),o=Ds(t.index);return n?"\n You have moved the item from position "+r+"\n to position "+o+"\n ":"\n You have moved the item from position "+r+"\n in list "+e.droppableId+"\n to list "+t.droppableId+"\n in position "+o+"\n "},Rs=function(e,t,n){return t.droppableId===n.droppableId?"\n The item "+e+"\n has been combined with "+n.draggableId:"\n The item "+e+"\n in list "+t.droppableId+"\n has been combined with "+n.draggableId+"\n in list "+n.droppableId+"\n "},As=function(e){return"\n The item has returned to its starting position\n of "+Ds(e.index)+"\n"},Ps="\n Press space bar to start a drag.\n When dragging you can use the arrow keys to move the item around and escape to cancel.\n Some screen readers may require you to be in focus mode or to use your pass through key\n",Ls=function(e){return"\n You have lifted an item in position "+Ds(e.source.index)+"\n"},Ms=function(e){var t=e.destination;if(t)return Ts(e.source,t);var n=e.combine;return n?Rs(e.draggableId,e.source,n):"You are over an area that cannot be dropped on"},js=function(e){if("CANCEL"===e.reason)return"\n Movement cancelled.\n "+As(e.source)+"\n ";var t=e.destination,n=e.combine;return t?"\n You have dropped the item.\n "+Ts(e.source,t)+"\n ":n?"\n You have dropped the item.\n "+Rs(e.draggableId,e.source,n)+"\n ":"\n The item has been dropped while not over a drop area.\n "+As(e.source)+"\n "},Fs={x:0,y:0},Bs=function(e,t){return{x:e.x+t.x,y:e.y+t.y}},zs=function(e,t){return{x:e.x-t.x,y:e.y-t.y}},Us=function(e,t){return e.x===t.x&&e.y===t.y},Ws=function(e){return{x:0!==e.x?-e.x:0,y:0!==e.y?-e.y:0}},Hs=function(e,t,n){var r;return void 0===n&&(n=0),(r={})[e]=t,r["x"===e?"y":"x"]=n,r},Gs=function(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))},Vs=function(e,t){return Math.min.apply(Math,t.map((function(t){return Gs(e,t)})))},$s=function(e){return function(t){return{x:e(t.x),y:e(t.y)}}},qs=function(e,t){return{top:e.top+t.y,left:e.left+t.x,bottom:e.bottom+t.y,right:e.right+t.x}},Ks=function(e){return[{x:e.left,y:e.top},{x:e.right,y:e.top},{x:e.left,y:e.bottom},{x:e.right,y:e.bottom}]},Ys=function(e,t){return t&&t.shouldClipSubject?function(e,t){var n=cs({top:Math.max(t.top,e.top),right:Math.min(t.right,e.right),bottom:Math.min(t.bottom,e.bottom),left:Math.max(t.left,e.left)});return n.width<=0||n.height<=0?null:n}(t.pageMarginBox,e):cs(e)},Zs=function(e){var t=e.page,n=e.withPlaceholder,r=e.axis,o=e.frame,i=function(e,t){return t?qs(e,t.scroll.diff.displacement):e}(t.marginBox,o),a=function(e,t,n){var r;return n&&n.increasedBy?w({},e,((r={})[t.end]=e[t.end]+n.increasedBy[t.line],r)):e}(i,r,n);return{page:t,withPlaceholder:n,active:Ys(a,o)}},Xs=function(e,t){e.frame||Is(!1);var n=e.frame,r=zs(t,n.scroll.initial),o=Ws(r),i=w({},n,{scroll:{initial:n.scroll.initial,current:t,diff:{value:r,displacement:o},max:n.scroll.max}});return w({},e,{frame:i,subject:Zs({page:e.subject.page,withPlaceholder:e.subject.withPlaceholder,axis:e.axis,frame:i})})};function Qs(e){return Object.values?Object.values(e):Object.keys(e).map((function(t){return e[t]}))}function Js(e,t){if(e.findIndex)return e.findIndex(t);for(var n=0;n<e.length;n++)if(t(e[n]))return n;return-1}function ef(e,t){if(e.find)return e.find(t);var n=Js(e,t);return-1!==n?e[n]:void 0}function tf(e){return Array.prototype.slice.call(e)}var nf=xs((function(e){return e.reduce((function(e,t){return e[t.descriptor.id]=t,e}),{})})),rf=xs((function(e){return e.reduce((function(e,t){return e[t.descriptor.id]=t,e}),{})})),of=xs((function(e){return Qs(e)})),af=xs((function(e){return Qs(e)})),uf=xs((function(e,t){var n=af(t).filter((function(t){return e===t.descriptor.droppableId})).sort((function(e,t){return e.descriptor.index-t.descriptor.index}));return n}));function lf(e){return e.at&&"REORDER"===e.at.type?e.at.destination:null}function cf(e){return e.at&&"COMBINE"===e.at.type?e.at.combine:null}var sf=xs((function(e,t){return t.filter((function(t){return t.descriptor.id!==e.descriptor.id}))})),ff=function(e,t){return e.descriptor.droppableId===t.descriptor.id},df={point:Fs,value:0},pf={invisible:{},visible:{},all:[]},hf={displaced:pf,displacedBy:df,at:null},vf=function(e,t){return function(n){return e<=n&&n<=t}},gf=function(e){var t=vf(e.top,e.bottom),n=vf(e.left,e.right);return function(r){if(t(r.top)&&t(r.bottom)&&n(r.left)&&n(r.right))return!0;var o=t(r.top)||t(r.bottom),i=n(r.left)||n(r.right);if(o&&i)return!0;var a=r.top<e.top&&r.bottom>e.bottom,u=r.left<e.left&&r.right>e.right;return!(!a||!u)||(a&&i||u&&o)}},mf=function(e){var t=vf(e.top,e.bottom),n=vf(e.left,e.right);return function(e){return t(e.top)&&t(e.bottom)&&n(e.left)&&n(e.right)}},yf={direction:"vertical",line:"y",crossAxisLine:"x",start:"top",end:"bottom",size:"height",crossAxisStart:"left",crossAxisEnd:"right",crossAxisSize:"width"},bf={direction:"horizontal",line:"x",crossAxisLine:"y",start:"left",end:"right",size:"width",crossAxisStart:"top",crossAxisEnd:"bottom",crossAxisSize:"height"},wf=function(e){var t=e.target,n=e.destination,r=e.viewport,o=e.withDroppableDisplacement,i=e.isVisibleThroughFrameFn,a=o?function(e,t){var n=t.frame?t.frame.scroll.diff.displacement:Fs;return qs(e,n)}(t,n):t;return function(e,t,n){return!!t.subject.active&&n(t.subject.active)(e)}(a,n,i)&&function(e,t,n){return n(t)(e)}(a,r,i)},xf=function(e){return wf(w({},e,{isVisibleThroughFrameFn:gf}))},Ef=function(e){return wf(w({},e,{isVisibleThroughFrameFn:mf}))};function kf(e){var t=e.afterDragging,n=e.destination,r=e.displacedBy,o=e.viewport,i=e.forceShouldAnimate,a=e.last;return t.reduce((function(e,t){var u=function(e,t){var n=e.page.marginBox,r={top:t.point.y,right:0,bottom:0,left:t.point.x};return cs(ss(n,r))}(t,r),l=t.descriptor.id;if(e.all.push(l),!xf({target:u,destination:n,viewport:o,withDroppableDisplacement:!0}))return e.invisible[t.descriptor.id]=!0,e;var c=function(e,t,n){if("boolean"===typeof n)return n;if(!t)return!0;var r=t.invisible,o=t.visible;if(r[e])return!1;var i=o[e];return!i||i.shouldAnimate}(l,a,i),s={draggableId:l,shouldAnimate:c};return e.visible[l]=s,e}),{all:[],visible:{},invisible:{}})}function Sf(e){var t=e.insideDestination,n=e.inHomeList,r=e.displacedBy,o=e.destination,i=function(e,t){if(!e.length)return 0;var n=e[e.length-1].descriptor.index;return t.inHomeList?n:n+1}(t,{inHomeList:n});return{displaced:pf,displacedBy:r,at:{type:"REORDER",destination:{droppableId:o.descriptor.id,index:i}}}}function _f(e){var t=e.draggable,n=e.insideDestination,r=e.destination,o=e.viewport,i=e.displacedBy,a=e.last,u=e.index,l=e.forceShouldAnimate,c=ff(t,r);if(null==u)return Sf({insideDestination:n,inHomeList:c,displacedBy:i,destination:r});var s=ef(n,(function(e){return e.descriptor.index===u}));if(!s)return Sf({insideDestination:n,inHomeList:c,displacedBy:i,destination:r});var f=sf(t,n),d=n.indexOf(s);return{displaced:kf({afterDragging:f.slice(d),destination:r,displacedBy:i,last:a,viewport:o.frame,forceShouldAnimate:l}),displacedBy:i,at:{type:"REORDER",destination:{droppableId:r.descriptor.id,index:u}}}}function Cf(e,t){return Boolean(t.effected[e])}var Of=function(e){var t=e.isMovingForward,n=e.isInHomeList,r=e.draggable,o=e.draggables,i=e.destination,a=e.insideDestination,u=e.previousImpact,l=e.viewport,c=e.afterCritical,s=u.at;if(s||Is(!1),"REORDER"===s.type){var f=function(e){var t=e.isMovingForward,n=e.isInHomeList,r=e.insideDestination,o=e.location;if(!r.length)return null;var i=o.index,a=t?i+1:i-1,u=r[0].descriptor.index,l=r[r.length-1].descriptor.index;return a<u||a>(n?l:l+1)?null:a}({isMovingForward:t,isInHomeList:n,location:s.destination,insideDestination:a});return null==f?null:_f({draggable:r,insideDestination:a,destination:i,viewport:l,last:u.displaced,displacedBy:u.displacedBy,index:f})}var d=function(e){var t=e.isMovingForward,n=e.destination,r=e.draggables,o=e.combine,i=e.afterCritical;if(!n.isCombineEnabled)return null;var a=o.draggableId,u=r[a].descriptor.index;return Cf(a,i)?t?u:u-1:t?u+1:u}({isMovingForward:t,destination:i,displaced:u.displaced,draggables:o,combine:s.combine,afterCritical:c});return null==d?null:_f({draggable:r,insideDestination:a,destination:i,viewport:l,last:u.displaced,displacedBy:u.displacedBy,index:d})},If=function(e){var t=e.afterCritical,n=e.impact,r=e.draggables,o=cf(n);o||Is(!1);var i=o.draggableId,a=r[i].page.borderBox.center,u=function(e){var t=e.displaced,n=e.afterCritical,r=e.combineWith,o=e.displacedBy,i=Boolean(t.visible[r]||t.invisible[r]);return Cf(r,n)?i?Fs:Ws(o.point):i?o.point:Fs}({displaced:n.displaced,afterCritical:t,combineWith:i,displacedBy:n.displacedBy});return Bs(a,u)},Nf=function(e,t){return t.margin[e.start]+t.borderBox[e.size]/2},Df=function(e,t,n){return t[e.crossAxisStart]+n.margin[e.crossAxisStart]+n.borderBox[e.crossAxisSize]/2},Tf=function(e){var t=e.axis,n=e.moveRelativeTo,r=e.isMoving;return Hs(t.line,n.marginBox[t.end]+Nf(t,r),Df(t,n.marginBox,r))},Rf=function(e){var t=e.axis,n=e.moveRelativeTo,r=e.isMoving;return Hs(t.line,n.marginBox[t.start]-function(e,t){return t.margin[e.end]+t.borderBox[e.size]/2}(t,r),Df(t,n.marginBox,r))},Af=function(e){var t=e.impact,n=e.draggable,r=e.draggables,o=e.droppable,i=e.afterCritical,a=uf(o.descriptor.id,r),u=n.page,l=o.axis;if(!a.length)return function(e){var t=e.axis,n=e.moveInto,r=e.isMoving;return Hs(t.line,n.contentBox[t.start]+Nf(t,r),Df(t,n.contentBox,r))}({axis:l,moveInto:o.page,isMoving:u});var c=t.displaced,s=t.displacedBy,f=c.all[0];if(f){var d=r[f];if(Cf(f,i))return Rf({axis:l,moveRelativeTo:d.page,isMoving:u});var p=vs(d.page,s.point);return Rf({axis:l,moveRelativeTo:p,isMoving:u})}var h=a[a.length-1];if(h.descriptor.id===n.descriptor.id)return u.borderBox.center;if(Cf(h.descriptor.id,i)){var v=vs(h.page,Ws(i.displacedBy.point));return Tf({axis:l,moveRelativeTo:v,isMoving:u})}return Tf({axis:l,moveRelativeTo:h.page,isMoving:u})},Pf=function(e,t){var n=e.frame;return n?Bs(t,n.scroll.diff.displacement):t},Lf=function(e){var t=function(e){var t=e.impact,n=e.draggable,r=e.droppable,o=e.draggables,i=e.afterCritical,a=n.page.borderBox.center,u=t.at;return r&&u?"REORDER"===u.type?Af({impact:t,draggable:n,draggables:o,droppable:r,afterCritical:i}):If({impact:t,draggables:o,afterCritical:i}):a}(e),n=e.droppable;return n?Pf(n,t):t},Mf=function(e,t){var n=zs(t,e.scroll.initial),r=Ws(n);return{frame:cs({top:t.y,bottom:t.y+e.frame.height,left:t.x,right:t.x+e.frame.width}),scroll:{initial:e.scroll.initial,max:e.scroll.max,current:t,diff:{value:n,displacement:r}}}};function jf(e,t){return e.map((function(e){return t[e]}))}var Ff=function(e){var t=e.pageBorderBoxCenter,n=e.draggable,r=function(e,t){return Bs(e.scroll.diff.displacement,t)}(e.viewport,t),o=zs(r,n.page.borderBox.center);return Bs(n.client.borderBox.center,o)},Bf=function(e){var t=e.draggable,n=e.destination,r=e.newPageBorderBoxCenter,o=e.viewport,i=e.withDroppableDisplacement,a=e.onlyOnMainAxis,u=void 0!==a&&a,l=zs(r,t.page.borderBox.center),c={target:qs(t.page.borderBox,l),destination:n,withDroppableDisplacement:i,viewport:o};return u?function(e){return wf(w({},e,{isVisibleThroughFrameFn:(t=e.destination.axis,function(e){var n=vf(e.top,e.bottom),r=vf(e.left,e.right);return function(e){return t===yf?n(e.top)&&n(e.bottom):r(e.left)&&r(e.right)}})}));var t}(c):Ef(c)},zf=function(e){var t=e.isMovingForward,n=e.draggable,r=e.destination,o=e.draggables,i=e.previousImpact,a=e.viewport,u=e.previousPageBorderBoxCenter,l=e.previousClientSelection,c=e.afterCritical;if(!r.isEnabled)return null;var s=uf(r.descriptor.id,o),f=ff(n,r),d=function(e){var t=e.isMovingForward,n=e.draggable,r=e.destination,o=e.insideDestination,i=e.previousImpact;if(!r.isCombineEnabled)return null;if(!lf(i))return null;function a(e){var t={type:"COMBINE",combine:{draggableId:e,droppableId:r.descriptor.id}};return w({},i,{at:t})}var u=i.displaced.all,l=u.length?u[0]:null;if(t)return l?a(l):null;var c=sf(n,o);if(!l)return c.length?a(c[c.length-1].descriptor.id):null;var s=Js(c,(function(e){return e.descriptor.id===l}));-1===s&&Is(!1);var f=s-1;return f<0?null:a(c[f].descriptor.id)}({isMovingForward:t,draggable:n,destination:r,insideDestination:s,previousImpact:i})||Of({isMovingForward:t,isInHomeList:f,draggable:n,draggables:o,destination:r,insideDestination:s,previousImpact:i,viewport:a,afterCritical:c});if(!d)return null;var p=Lf({impact:d,draggable:n,droppable:r,draggables:o,afterCritical:c});if(Bf({draggable:n,destination:r,newPageBorderBoxCenter:p,viewport:a.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0}))return{clientSelection:Ff({pageBorderBoxCenter:p,draggable:n,viewport:a}),impact:d,scrollJumpRequest:null};var h=zs(p,u),v=function(e){var t=e.impact,n=e.viewport,r=e.destination,o=e.draggables,i=e.maxScrollChange,a=Mf(n,Bs(n.scroll.current,i)),u=r.frame?Xs(r,Bs(r.frame.scroll.current,i)):r,l=t.displaced,c=kf({afterDragging:jf(l.all,o),destination:r,displacedBy:t.displacedBy,viewport:a.frame,last:l,forceShouldAnimate:!1}),s=kf({afterDragging:jf(l.all,o),destination:u,displacedBy:t.displacedBy,viewport:n.frame,last:l,forceShouldAnimate:!1}),f={},d={},p=[l,c,s];return l.all.forEach((function(e){var t=function(e,t){for(var n=0;n<t.length;n++){var r=t[n].visible[e];if(r)return r}return null}(e,p);t?d[e]=t:f[e]=!0})),w({},t,{displaced:{all:l.all,invisible:f,visible:d}})}({impact:d,viewport:a,destination:r,draggables:o,maxScrollChange:h});return{clientSelection:l,impact:v,scrollJumpRequest:h}},Uf=function(e){var t=e.subject.active;return t||Is(!1),t},Wf=function(e,t){var n=e.page.borderBox.center;return Cf(e.descriptor.id,t)?zs(n,t.displacedBy.point):n},Hf=function(e,t){var n=e.page.borderBox;return Cf(e.descriptor.id,t)?qs(n,Ws(t.displacedBy.point)):n},Gf=xs((function(e,t){var n=t[e.line];return{value:n,point:Hs(e.line,n)}})),Vf=function(e,t){return w({},e,{scroll:w({},e.scroll,{max:t})})},$f=function(e,t,n){var r=e.frame;ff(t,e)&&Is(!1),e.subject.withPlaceholder&&Is(!1);var o=Gf(e.axis,t.displaceBy).point,i=function(e,t,n){var r=e.axis;if("virtual"===e.descriptor.mode)return Hs(r.line,t[r.line]);var o=e.subject.page.contentBox[r.size],i=uf(e.descriptor.id,n).reduce((function(e,t){return e+t.client.marginBox[r.size]}),0)+t[r.line]-o;return i<=0?null:Hs(r.line,i)}(e,o,n),a={placeholderSize:o,increasedBy:i,oldFrameMaxScroll:e.frame?e.frame.scroll.max:null};if(!r)return w({},e,{subject:Zs({page:e.subject.page,withPlaceholder:a,axis:e.axis,frame:e.frame})});var u=i?Bs(r.scroll.max,i):r.scroll.max,l=Vf(r,u);return w({},e,{subject:Zs({page:e.subject.page,withPlaceholder:a,axis:e.axis,frame:l}),frame:l})},qf=function(e){var t=e.isMovingForward,n=e.previousPageBorderBoxCenter,r=e.draggable,o=e.isOver,i=e.draggables,a=e.droppables,u=e.viewport,l=e.afterCritical,c=function(e){var t=e.isMovingForward,n=e.pageBorderBoxCenter,r=e.source,o=e.droppables,i=e.viewport,a=r.subject.active;if(!a)return null;var u=r.axis,l=vf(a[u.start],a[u.end]),c=of(o).filter((function(e){return e!==r})).filter((function(e){return e.isEnabled})).filter((function(e){return Boolean(e.subject.active)})).filter((function(e){return gf(i.frame)(Uf(e))})).filter((function(e){var n=Uf(e);return t?a[u.crossAxisEnd]<n[u.crossAxisEnd]:n[u.crossAxisStart]<a[u.crossAxisStart]})).filter((function(e){var t=Uf(e),n=vf(t[u.start],t[u.end]);return l(t[u.start])||l(t[u.end])||n(a[u.start])||n(a[u.end])})).sort((function(e,n){var r=Uf(e)[u.crossAxisStart],o=Uf(n)[u.crossAxisStart];return t?r-o:o-r})).filter((function(e,t,n){return Uf(e)[u.crossAxisStart]===Uf(n[0])[u.crossAxisStart]}));if(!c.length)return null;if(1===c.length)return c[0];var s=c.filter((function(e){return vf(Uf(e)[u.start],Uf(e)[u.end])(n[u.line])}));return 1===s.length?s[0]:s.length>1?s.sort((function(e,t){return Uf(e)[u.start]-Uf(t)[u.start]}))[0]:c.sort((function(e,t){var r=Vs(n,Ks(Uf(e))),o=Vs(n,Ks(Uf(t)));return r!==o?r-o:Uf(e)[u.start]-Uf(t)[u.start]}))[0]}({isMovingForward:t,pageBorderBoxCenter:n,source:o,droppables:a,viewport:u});if(!c)return null;var s=uf(c.descriptor.id,i),f=function(e){var t=e.pageBorderBoxCenter,n=e.viewport,r=e.destination,o=e.insideDestination,i=e.afterCritical,a=o.filter((function(e){return Ef({target:Hf(e,i),destination:r,viewport:n.frame,withDroppableDisplacement:!0})})).sort((function(e,n){var o=Gs(t,Pf(r,Wf(e,i))),a=Gs(t,Pf(r,Wf(n,i)));return o<a?-1:a<o?1:e.descriptor.index-n.descriptor.index}));return a[0]||null}({pageBorderBoxCenter:n,viewport:u,destination:c,insideDestination:s,afterCritical:l}),d=function(e){var t=e.previousPageBorderBoxCenter,n=e.moveRelativeTo,r=e.insideDestination,o=e.draggable,i=e.draggables,a=e.destination,u=e.viewport,l=e.afterCritical;if(!n){if(r.length)return null;var c={displaced:pf,displacedBy:df,at:{type:"REORDER",destination:{droppableId:a.descriptor.id,index:0}}},s=Lf({impact:c,draggable:o,droppable:a,draggables:i,afterCritical:l}),f=ff(o,a)?a:$f(a,o,i);return Bf({draggable:o,destination:f,newPageBorderBoxCenter:s,viewport:u.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0})?c:null}var d=Boolean(t[a.axis.line]<=n.page.borderBox.center[a.axis.line]),p=function(){var e=n.descriptor.index;return n.descriptor.id===o.descriptor.id||d?e:e+1}(),h=Gf(a.axis,o.displaceBy);return _f({draggable:o,insideDestination:r,destination:a,viewport:u,displacedBy:h,last:pf,index:p})}({previousPageBorderBoxCenter:n,destination:c,draggable:r,draggables:i,moveRelativeTo:f,insideDestination:s,viewport:u,afterCritical:l});if(!d)return null;var p=Lf({impact:d,draggable:r,droppable:c,draggables:i,afterCritical:l});return{clientSelection:Ff({pageBorderBoxCenter:p,draggable:r,viewport:u}),impact:d,scrollJumpRequest:null}},Kf=function(e){var t=e.at;return t?"REORDER"===t.type?t.destination.droppableId:t.combine.droppableId:null},Yf=function(e){var t=e.state,n=e.type,r=function(e,t){var n=Kf(e);return n?t[n]:null}(t.impact,t.dimensions.droppables),o=Boolean(r),i=t.dimensions.droppables[t.critical.droppable.id],a=r||i,u=a.axis.direction,l="vertical"===u&&("MOVE_UP"===n||"MOVE_DOWN"===n)||"horizontal"===u&&("MOVE_LEFT"===n||"MOVE_RIGHT"===n);if(l&&!o)return null;var c="MOVE_DOWN"===n||"MOVE_RIGHT"===n,s=t.dimensions.draggables[t.critical.draggable.id],f=t.current.page.borderBoxCenter,d=t.dimensions,p=d.draggables,h=d.droppables;return l?zf({isMovingForward:c,previousPageBorderBoxCenter:f,draggable:s,destination:a,draggables:p,viewport:t.viewport,previousClientSelection:t.current.client.selection,previousImpact:t.impact,afterCritical:t.afterCritical}):qf({isMovingForward:c,previousPageBorderBoxCenter:f,draggable:s,isOver:a,draggables:p,droppables:h,viewport:t.viewport,afterCritical:t.afterCritical})};function Zf(e){return"DRAGGING"===e.phase||"COLLECTING"===e.phase}function Xf(e){var t=vf(e.top,e.bottom),n=vf(e.left,e.right);return function(e){return t(e.y)&&n(e.x)}}function Qf(e){var t=e.pageBorderBox,n=e.draggable,r=e.droppables,o=of(r).filter((function(e){if(!e.isEnabled)return!1;var n,r,o=e.subject.active;if(!o)return!1;if(r=o,!((n=t).left<r.right&&n.right>r.left&&n.top<r.bottom&&n.bottom>r.top))return!1;if(Xf(o)(t.center))return!0;var i=e.axis,a=o.center[i.crossAxisLine],u=t[i.crossAxisStart],l=t[i.crossAxisEnd],c=vf(o[i.crossAxisStart],o[i.crossAxisEnd]),s=c(u),f=c(l);return!s&&!f||(s?u<a:l>a)}));return o.length?1===o.length?o[0].descriptor.id:function(e){var t=e.pageBorderBox,n=e.draggable,r=e.candidates,o=n.page.borderBox.center,i=r.map((function(e){var n=e.axis,r=Hs(e.axis.line,t.center[n.line],e.page.borderBox.center[n.crossAxisLine]);return{id:e.descriptor.id,distance:Gs(o,r)}})).sort((function(e,t){return t.distance-e.distance}));return i[0]?i[0].id:null}({pageBorderBox:t,draggable:n,candidates:o}):null}var Jf=function(e,t){return cs(qs(e,t))};function ed(e){var t=e.displaced,n=e.id;return Boolean(t.visible[n]||t.invisible[n])}var td=function(e){var t=e.pageOffset,n=e.draggable,r=e.draggables,o=e.droppables,i=e.previousImpact,a=e.viewport,u=e.afterCritical,l=Jf(n.page.borderBox,t),c=Qf({pageBorderBox:l,draggable:n,droppables:o});if(!c)return hf;var s=o[c],f=uf(s.descriptor.id,r),d=function(e,t){var n=e.frame;return n?Jf(t,n.scroll.diff.value):t}(s,l);return function(e){var t=e.draggable,n=e.pageBorderBoxWithDroppableScroll,r=e.previousImpact,o=e.destination,i=e.insideDestination,a=e.afterCritical;if(!o.isCombineEnabled)return null;var u=o.axis,l=Gf(o.axis,t.displaceBy),c=l.value,s=n[u.start],f=n[u.end],d=ef(sf(t,i),(function(e){var t=e.descriptor.id,n=e.page.borderBox,o=n[u.size]/4,i=Cf(t,a),l=ed({displaced:r.displaced,id:t});return i?l?f>n[u.start]+o&&f<n[u.end]-o:s>n[u.start]-c+o&&s<n[u.end]-c-o:l?f>n[u.start]+c+o&&f<n[u.end]+c-o:s>n[u.start]+o&&s<n[u.end]-o}));return d?{displacedBy:l,displaced:r.displaced,at:{type:"COMBINE",combine:{draggableId:d.descriptor.id,droppableId:o.descriptor.id}}}:null}({pageBorderBoxWithDroppableScroll:d,draggable:n,previousImpact:i,destination:s,insideDestination:f,afterCritical:u})||function(e){var t=e.pageBorderBoxWithDroppableScroll,n=e.draggable,r=e.destination,o=e.insideDestination,i=e.last,a=e.viewport,u=e.afterCritical,l=r.axis,c=Gf(r.axis,n.displaceBy),s=c.value,f=t[l.start],d=t[l.end],p=ef(sf(n,o),(function(e){var t=e.descriptor.id,n=e.page.borderBox.center[l.line],r=Cf(t,u),o=ed({displaced:i,id:t});return r?o?d<=n:f<n-s:o?d<=n+s:f<n})),h=function(e){var t=e.draggable,n=e.closest,r=e.inHomeList;return n?r&&n.descriptor.index>t.descriptor.index?n.descriptor.index-1:n.descriptor.index:null}({draggable:n,closest:p,inHomeList:ff(n,r)});return _f({draggable:n,insideDestination:o,destination:r,viewport:a,last:i,displacedBy:c,index:h})}({pageBorderBoxWithDroppableScroll:d,draggable:n,destination:s,insideDestination:f,last:i.displaced,viewport:a,afterCritical:u})},nd=function(e,t){var n;return w({},e,((n={})[t.descriptor.id]=t,n))},rd=function(e){var t=e.previousImpact,n=e.impact,r=e.droppables,o=Kf(t),i=Kf(n);if(!o)return r;if(o===i)return r;var a=r[o];if(!a.subject.withPlaceholder)return r;var u=function(e){var t=e.subject.withPlaceholder;t||Is(!1);var n=e.frame;if(!n)return w({},e,{subject:Zs({page:e.subject.page,axis:e.axis,frame:null,withPlaceholder:null})});var r=t.oldFrameMaxScroll;r||Is(!1);var o=Vf(n,r);return w({},e,{subject:Zs({page:e.subject.page,axis:e.axis,frame:o,withPlaceholder:null}),frame:o})}(a);return nd(r,u)},od=function(e){var t=e.state,n=e.clientSelection,r=e.dimensions,o=e.viewport,i=e.impact,a=e.scrollJumpRequest,u=o||t.viewport,l=r||t.dimensions,c=n||t.current.client.selection,s=zs(c,t.initial.client.selection),f={offset:s,selection:c,borderBoxCenter:Bs(t.initial.client.borderBoxCenter,s)},d={selection:Bs(f.selection,u.scroll.current),borderBoxCenter:Bs(f.borderBoxCenter,u.scroll.current),offset:Bs(f.offset,u.scroll.diff.value)},p={client:f,page:d};if("COLLECTING"===t.phase)return w({phase:"COLLECTING"},t,{dimensions:l,viewport:u,current:p});var h=l.draggables[t.critical.draggable.id],v=i||td({pageOffset:d.offset,draggable:h,draggables:l.draggables,droppables:l.droppables,previousImpact:t.impact,viewport:u,afterCritical:t.afterCritical}),g=function(e){var t=e.draggable,n=e.draggables,r=e.droppables,o=e.previousImpact,i=e.impact,a=rd({previousImpact:o,impact:i,droppables:r}),u=Kf(i);if(!u)return a;var l=r[u];if(ff(t,l))return a;if(l.subject.withPlaceholder)return a;var c=$f(l,t,n);return nd(a,c)}({draggable:h,impact:v,previousImpact:t.impact,draggables:l.draggables,droppables:l.droppables});return w({},t,{current:p,dimensions:{draggables:l.draggables,droppables:g},impact:v,viewport:u,scrollJumpRequest:a||null,forceShouldAnimate:!a&&null})};var id=function(e){var t=e.impact,n=e.viewport,r=e.draggables,o=e.destination,i=e.forceShouldAnimate,a=t.displaced,u=function(e,t){return e.map((function(e){return t[e]}))}(a.all,r);return w({},t,{displaced:kf({afterDragging:u,destination:o,displacedBy:t.displacedBy,viewport:n.frame,forceShouldAnimate:i,last:a})})},ad=function(e){var t=e.impact,n=e.draggable,r=e.droppable,o=e.draggables,i=e.viewport,a=e.afterCritical,u=Lf({impact:t,draggable:n,draggables:o,droppable:r,afterCritical:a});return Ff({pageBorderBoxCenter:u,draggable:n,viewport:i})},ud=function(e){var t=e.state,n=e.dimensions,r=e.viewport;"SNAP"!==t.movementMode&&Is(!1);var o=t.impact,i=r||t.viewport,a=n||t.dimensions,u=a.draggables,l=a.droppables,c=u[t.critical.draggable.id],s=Kf(o);s||Is(!1);var f=l[s],d=id({impact:o,viewport:i,destination:f,draggables:u}),p=ad({impact:d,draggable:c,droppable:f,draggables:u,viewport:i,afterCritical:t.afterCritical});return od({impact:d,clientSelection:p,state:t,dimensions:a,viewport:i})},ld=function(e){var t=e.draggable,n=e.home,r=e.draggables,o=e.viewport,i=Gf(n.axis,t.displaceBy),a=uf(n.descriptor.id,r),u=a.indexOf(t);-1===u&&Is(!1);var l,c=a.slice(u+1),s=c.reduce((function(e,t){return e[t.descriptor.id]=!0,e}),{}),f={inVirtualList:"virtual"===n.descriptor.mode,displacedBy:i,effected:s};return{impact:{displaced:kf({afterDragging:c,destination:n,displacedBy:i,last:null,viewport:o.frame,forceShouldAnimate:!1}),displacedBy:i,at:{type:"REORDER",destination:(l=t.descriptor,{index:l.index,droppableId:l.droppableId})}},afterCritical:f}},cd=function(e){0},sd=function(e){0},fd=function(e){var t=e.additions,n=e.updatedDroppables,r=e.viewport,o=r.scroll.diff.value;return t.map((function(e){var t=e.descriptor.droppableId,i=function(e){var t=e.frame;return t||Is(!1),t}(n[t]),a=i.scroll.diff.value,u=function(e){var t=e.draggable,n=e.offset,r=e.initialWindowScroll,o=vs(t.client,n),i=gs(o,r);return w({},t,{placeholder:w({},t.placeholder,{client:o}),client:o,page:i})}({draggable:e,offset:Bs(o,a),initialWindowScroll:r.scroll.initial});return u}))},dd=function(e){return"SNAP"===e.movementMode},pd=function(e,t,n){var r=function(e,t){return{draggables:e.draggables,droppables:nd(e.droppables,t)}}(e.dimensions,t);return!dd(e)||n?od({state:e,dimensions:r}):ud({state:e,dimensions:r})};function hd(e){return e.isDragging&&"SNAP"===e.movementMode?w({phase:"DRAGGING"},e,{scrollJumpRequest:null}):e}var vd={phase:"IDLE",completed:null,shouldFlush:!1},gd=function(e,t){if(void 0===e&&(e=vd),"FLUSH"===t.type)return w({},vd,{shouldFlush:!0});if("INITIAL_PUBLISH"===t.type){"IDLE"!==e.phase&&Is(!1);var n=t.payload,r=n.critical,o=n.clientSelection,i=n.viewport,a=n.dimensions,u=n.movementMode,l=a.draggables[r.draggable.id],c=a.droppables[r.droppable.id],s={selection:o,borderBoxCenter:l.client.borderBox.center,offset:Fs},f={client:s,page:{selection:Bs(s.selection,i.scroll.initial),borderBoxCenter:Bs(s.selection,i.scroll.initial),offset:Bs(s.selection,i.scroll.diff.value)}},d=of(a.droppables).every((function(e){return!e.isFixedOnPage})),p=ld({draggable:l,home:c,draggables:a.draggables,viewport:i}),h=p.impact;return{phase:"DRAGGING",isDragging:!0,critical:r,movementMode:u,dimensions:a,initial:f,current:f,isWindowScrollAllowed:d,impact:h,afterCritical:p.afterCritical,onLiftImpact:h,viewport:i,scrollJumpRequest:null,forceShouldAnimate:null}}if("COLLECTION_STARTING"===t.type)return"COLLECTING"===e.phase||"DROP_PENDING"===e.phase?e:("DRAGGING"!==e.phase&&Is(!1),w({phase:"COLLECTING"},e,{phase:"COLLECTING"}));if("PUBLISH_WHILE_DRAGGING"===t.type)return"COLLECTING"!==e.phase&&"DROP_PENDING"!==e.phase&&Is(!1),function(e){var t=e.state,n=e.published;cd();var r=n.modified.map((function(e){var n=t.dimensions.droppables[e.droppableId];return Xs(n,e.scroll)})),o=w({},t.dimensions.droppables,{},nf(r)),i=rf(fd({additions:n.additions,updatedDroppables:o,viewport:t.viewport})),a=w({},t.dimensions.draggables,{},i);n.removals.forEach((function(e){delete a[e]}));var u={droppables:o,draggables:a},l=Kf(t.impact),c=l?u.droppables[l]:null,s=u.draggables[t.critical.draggable.id],f=u.droppables[t.critical.droppable.id],d=ld({draggable:s,home:f,draggables:a,viewport:t.viewport}),p=d.impact,h=d.afterCritical,v=c&&c.isCombineEnabled?t.impact:p,g=td({pageOffset:t.current.page.offset,draggable:u.draggables[t.critical.draggable.id],draggables:u.draggables,droppables:u.droppables,previousImpact:v,viewport:t.viewport,afterCritical:h});sd();var m=w({phase:"DRAGGING"},t,{phase:"DRAGGING",impact:g,onLiftImpact:p,dimensions:u,afterCritical:h,forceShouldAnimate:!1});return"COLLECTING"===t.phase?m:w({phase:"DROP_PENDING"},m,{phase:"DROP_PENDING",reason:t.reason,isWaiting:!1})}({state:e,published:t.payload});if("MOVE"===t.type){if("DROP_PENDING"===e.phase)return e;Zf(e)||Is(!1);var v=t.payload.client;return Us(v,e.current.client.selection)?e:od({state:e,clientSelection:v,impact:dd(e)?e.impact:null})}if("UPDATE_DROPPABLE_SCROLL"===t.type){if("DROP_PENDING"===e.phase)return hd(e);if("COLLECTING"===e.phase)return hd(e);Zf(e)||Is(!1);var g=t.payload,m=g.id,y=g.newScroll,b=e.dimensions.droppables[m];if(!b)return e;var x=Xs(b,y);return pd(e,x,!1)}if("UPDATE_DROPPABLE_IS_ENABLED"===t.type){if("DROP_PENDING"===e.phase)return e;Zf(e)||Is(!1);var E=t.payload,k=E.id,S=E.isEnabled,_=e.dimensions.droppables[k];_||Is(!1),_.isEnabled===S&&Is(!1);var C=w({},_,{isEnabled:S});return pd(e,C,!0)}if("UPDATE_DROPPABLE_IS_COMBINE_ENABLED"===t.type){if("DROP_PENDING"===e.phase)return e;Zf(e)||Is(!1);var O=t.payload,I=O.id,N=O.isCombineEnabled,D=e.dimensions.droppables[I];D||Is(!1),D.isCombineEnabled===N&&Is(!1);var T=w({},D,{isCombineEnabled:N});return pd(e,T,!0)}if("MOVE_BY_WINDOW_SCROLL"===t.type){if("DROP_PENDING"===e.phase||"DROP_ANIMATING"===e.phase)return e;Zf(e)||Is(!1),e.isWindowScrollAllowed||Is(!1);var R=t.payload.newScroll;if(Us(e.viewport.scroll.current,R))return hd(e);var A=Mf(e.viewport,R);return dd(e)?ud({state:e,viewport:A}):od({state:e,viewport:A})}if("UPDATE_VIEWPORT_MAX_SCROLL"===t.type){if(!Zf(e))return e;var P=t.payload.maxScroll;if(Us(P,e.viewport.scroll.max))return e;var L=w({},e.viewport,{scroll:w({},e.viewport.scroll,{max:P})});return w({phase:"DRAGGING"},e,{viewport:L})}if("MOVE_UP"===t.type||"MOVE_DOWN"===t.type||"MOVE_LEFT"===t.type||"MOVE_RIGHT"===t.type){if("COLLECTING"===e.phase||"DROP_PENDING"===e.phase)return e;"DRAGGING"!==e.phase&&Is(!1);var M=Yf({state:e,type:t.type});return M?od({state:e,impact:M.impact,clientSelection:M.clientSelection,scrollJumpRequest:M.scrollJumpRequest}):e}if("DROP_PENDING"===t.type){var j=t.payload.reason;return"COLLECTING"!==e.phase&&Is(!1),w({phase:"DROP_PENDING"},e,{phase:"DROP_PENDING",isWaiting:!0,reason:j})}if("DROP_ANIMATE"===t.type){var F=t.payload,B=F.completed,z=F.dropDuration,U=F.newHomeClientOffset;return"DRAGGING"!==e.phase&&"DROP_PENDING"!==e.phase&&Is(!1),{phase:"DROP_ANIMATING",completed:B,dropDuration:z,newHomeClientOffset:U,dimensions:e.dimensions}}return"DROP_COMPLETE"===t.type?{phase:"IDLE",completed:t.payload.completed,shouldFlush:!1}:e},md=function(e){return{type:"PUBLISH_WHILE_DRAGGING",payload:e}},yd=function(){return{type:"COLLECTION_STARTING",payload:null}},bd=function(e){return{type:"UPDATE_DROPPABLE_SCROLL",payload:e}},wd=function(e){return{type:"UPDATE_DROPPABLE_IS_ENABLED",payload:e}},xd=function(e){return{type:"UPDATE_DROPPABLE_IS_COMBINE_ENABLED",payload:e}},Ed=function(e){return{type:"MOVE",payload:e}},kd=function(){return{type:"MOVE_UP",payload:null}},Sd=function(){return{type:"MOVE_DOWN",payload:null}},_d=function(){return{type:"MOVE_RIGHT",payload:null}},Cd=function(){return{type:"MOVE_LEFT",payload:null}},Od=function(e){return{type:"DROP_COMPLETE",payload:e}},Id=function(e){return{type:"DROP",payload:e}},Nd=function(){return{type:"DROP_ANIMATION_FINISHED",payload:null}};var Dd="cubic-bezier(.2,1,.1,1)",Td={drop:0,combining:.7},Rd={drop:.75},Ad=.2+"s "+"cubic-bezier(0.2, 0, 0, 1)",Pd={fluid:"opacity "+Ad,snap:"transform "+Ad+", opacity "+Ad,drop:function(e){var t=e+"s "+Dd;return"transform "+t+", opacity "+t},outOfTheWay:"transform "+Ad,placeholder:"height "+Ad+", width "+Ad+", margin "+Ad},Ld=function(e){return Us(e,Fs)?null:"translate("+e.x+"px, "+e.y+"px)"},Md=Ld,jd=function(e,t){var n=Ld(e);return n?t?n+" scale("+Rd.drop+")":n:null},Fd=.33,Bd=.55,zd=Bd-Fd,Ud=function(e){var t=e.getState,n=e.dispatch;return function(e){return function(r){if("DROP"===r.type){var o=t(),i=r.payload.reason;if("COLLECTING"!==o.phase){if("IDLE"!==o.phase){"DROP_PENDING"===o.phase&&o.isWaiting&&Is(!1),"DRAGGING"!==o.phase&&"DROP_PENDING"!==o.phase&&Is(!1);var a=o.critical,u=o.dimensions,l=u.draggables[o.critical.draggable.id],c=function(e){var t=e.draggables,n=e.reason,r=e.lastImpact,o=e.home,i=e.viewport,a=e.onLiftImpact;return r.at&&"DROP"===n?"REORDER"===r.at.type?{impact:r,didDropInsideDroppable:!0}:{impact:w({},r,{displaced:pf}),didDropInsideDroppable:!0}:{impact:id({draggables:t,impact:a,destination:o,viewport:i,forceShouldAnimate:!0}),didDropInsideDroppable:!1}}({reason:i,lastImpact:o.impact,afterCritical:o.afterCritical,onLiftImpact:o.onLiftImpact,home:o.dimensions.droppables[o.critical.droppable.id],viewport:o.viewport,draggables:o.dimensions.draggables}),s=c.impact,f=c.didDropInsideDroppable,d=f?lf(s):null,p=f?cf(s):null,h={index:a.draggable.index,droppableId:a.droppable.id},v={draggableId:l.descriptor.id,type:l.descriptor.type,source:h,reason:i,mode:o.movementMode,destination:d,combine:p},g=function(e){var t=e.impact,n=e.draggable,r=e.dimensions,o=e.viewport,i=e.afterCritical,a=r.draggables,u=r.droppables,l=Kf(t),c=l?u[l]:null,s=u[n.descriptor.droppableId],f=ad({impact:t,draggable:n,draggables:a,afterCritical:i,droppable:c||s,viewport:o});return zs(f,n.client.borderBox.center)}({impact:s,draggable:l,dimensions:u,viewport:o.viewport,afterCritical:o.afterCritical}),m={critical:o.critical,afterCritical:o.afterCritical,result:v,impact:s};if(!Us(o.current.client.offset,g)||Boolean(v.combine)){var y=function(e){var t=e.current,n=e.destination,r=e.reason,o=Gs(t,n);if(o<=0)return Fd;if(o>=1500)return Bd;var i=Fd+zd*(o/1500);return Number(("CANCEL"===r?.6*i:i).toFixed(2))}({current:o.current.client.offset,destination:g,reason:i});n(function(e){return{type:"DROP_ANIMATE",payload:e}}({newHomeClientOffset:g,dropDuration:y,completed:m}))}else n(Od({completed:m}))}}else n(function(e){return{type:"DROP_PENDING",payload:e}}({reason:i}))}else e(r)}}},Wd=function(){return{x:window.pageXOffset,y:window.pageYOffset}};function Hd(e){var t=e.onWindowScroll;var n=Es((function(){t(Wd())})),r=function(e){return{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(t){t.target!==window&&t.target!==window.document||e()}}}(n),o=Ss;function i(){return o!==Ss}return{start:function(){i()&&Is(!1),o=_s(window,[r])},stop:function(){i()||Is(!1),n.cancel(),o(),o=Ss},isActive:i}}var Gd=function(e){var t=Hd({onWindowScroll:function(t){e.dispatch({type:"MOVE_BY_WINDOW_SCROLL",payload:{newScroll:t}})}});return function(e){return function(n){t.isActive()||"INITIAL_PUBLISH"!==n.type||t.start(),t.isActive()&&function(e){return"DROP_COMPLETE"===e.type||"DROP_ANIMATE"===e.type||"FLUSH"===e.type}(n)&&t.stop(),e(n)}}},Vd=function(){var e=[];return{add:function(t){var n=setTimeout((function(){return function(t){var n=Js(e,(function(e){return e.timerId===t}));-1===n&&Is(!1),e.splice(n,1)[0].callback()}(n)})),r={timerId:n,callback:t};e.push(r)},flush:function(){if(e.length){var t=[].concat(e);e.length=0,t.forEach((function(e){clearTimeout(e.timerId),e.callback()}))}}}},$d=function(e,t){cd(),t(),sd()},qd=function(e,t){return{draggableId:e.draggable.id,type:e.droppable.type,source:{droppableId:e.droppable.id,index:e.draggable.index},mode:t}},Kd=function(e,t,n,r){if(e){var o=function(e){var t=!1,n=!1,r=setTimeout((function(){n=!0})),o=function(o){t||n||(t=!0,e(o),clearTimeout(r))};return o.wasCalled=function(){return t},o}(n);e(t,{announce:o}),o.wasCalled()||n(r(t))}else n(r(t))},Yd=function(e,t){var n=function(e,t){var n=Vd(),r=null,o=function(n){r||Is(!1),r=null,$d(0,(function(){return Kd(e().onDragEnd,n,t,js)}))};return{beforeCapture:function(t,n){r&&Is(!1),$d(0,(function(){var r=e().onBeforeCapture;r&&r({draggableId:t,mode:n})}))},beforeStart:function(t,n){r&&Is(!1),$d(0,(function(){var r=e().onBeforeDragStart;r&&r(qd(t,n))}))},start:function(o,i){r&&Is(!1);var a=qd(o,i);r={mode:i,lastCritical:o,lastLocation:a.source,lastCombine:null},n.add((function(){$d(0,(function(){return Kd(e().onDragStart,a,t,Ls)}))}))},update:function(o,i){var a=lf(i),u=cf(i);r||Is(!1);var l=!function(e,t){if(e===t)return!0;var n=e.draggable.id===t.draggable.id&&e.draggable.droppableId===t.draggable.droppableId&&e.draggable.type===t.draggable.type&&e.draggable.index===t.draggable.index,r=e.droppable.id===t.droppable.id&&e.droppable.type===t.droppable.type;return n&&r}(o,r.lastCritical);l&&(r.lastCritical=o);var c,s,f=(s=a,!(null==(c=r.lastLocation)&&null==s||null!=c&&null!=s&&c.droppableId===s.droppableId&&c.index===s.index));f&&(r.lastLocation=a);var d=!function(e,t){return null==e&&null==t||null!=e&&null!=t&&e.draggableId===t.draggableId&&e.droppableId===t.droppableId}(r.lastCombine,u);if(d&&(r.lastCombine=u),l||f||d){var p=w({},qd(o,r.mode),{combine:u,destination:a});n.add((function(){$d(0,(function(){return Kd(e().onDragUpdate,p,t,Ms)}))}))}},flush:function(){r||Is(!1),n.flush()},drop:o,abort:function(){if(r){var e=w({},qd(r.lastCritical,r.mode),{combine:null,destination:null,reason:"CANCEL"});o(e)}}}}(e,t);return function(e){return function(t){return function(r){if("BEFORE_INITIAL_CAPTURE"!==r.type){if("INITIAL_PUBLISH"===r.type){var o=r.payload.critical;return n.beforeStart(o,r.payload.movementMode),t(r),void n.start(o,r.payload.movementMode)}if("DROP_COMPLETE"===r.type){var i=r.payload.completed.result;return n.flush(),t(r),void n.drop(i)}if(t(r),"FLUSH"!==r.type){var a=e.getState();"DRAGGING"===a.phase&&n.update(a.critical,a.impact)}else n.abort()}else n.beforeCapture(r.payload.draggableId,r.payload.movementMode)}}}},Zd=function(e){return function(t){return function(n){if("DROP_ANIMATION_FINISHED"===n.type){var r=e.getState();"DROP_ANIMATING"!==r.phase&&Is(!1),e.dispatch(Od({completed:r.completed}))}else t(n)}}},Xd=function(e){var t=null,n=null;return function(r){return function(o){if("FLUSH"!==o.type&&"DROP_COMPLETE"!==o.type&&"DROP_ANIMATION_FINISHED"!==o.type||(n&&(cancelAnimationFrame(n),n=null),t&&(t(),t=null)),r(o),"DROP_ANIMATE"===o.type){var i={eventName:"scroll",options:{capture:!0,passive:!1,once:!0},fn:function(){"DROP_ANIMATING"===e.getState().phase&&e.dispatch({type:"DROP_ANIMATION_FINISHED",payload:null})}};n=requestAnimationFrame((function(){n=null,t=_s(window,[i])}))}}}},Qd=function(e){return function(t){return function(n){if(t(n),"PUBLISH_WHILE_DRAGGING"===n.type){var r=e.getState();"DROP_PENDING"===r.phase&&(r.isWaiting||e.dispatch(Id({reason:r.reason})))}}}},Jd=kc,ep=function(e){var t,n=e.dimensionMarshal,r=e.focusMarshal,o=e.styleMarshal,i=e.getResponders,a=e.announce,u=e.autoScroller;return wc(gd,Jd(function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return function(){var n=e.apply(void 0,arguments),r=function(){throw new Error(vc(15))},o={getState:n.getState,dispatch:function(){return r.apply(void 0,arguments)}},i=t.map((function(e){return e(o)}));return r=kc.apply(void 0,i)(n.dispatch),ur(ur({},n),{},{dispatch:r})}}}((t=o,function(){return function(e){return function(n){"INITIAL_PUBLISH"===n.type&&t.dragging(),"DROP_ANIMATE"===n.type&&t.dropping(n.payload.completed.result.reason),"FLUSH"!==n.type&&"DROP_COMPLETE"!==n.type||t.resting(),e(n)}}}),function(e){return function(){return function(t){return function(n){"DROP_COMPLETE"!==n.type&&"FLUSH"!==n.type&&"DROP_ANIMATE"!==n.type||e.stopPublishing(),t(n)}}}}(n),function(e){return function(t){var n=t.getState,r=t.dispatch;return function(t){return function(o){if("LIFT"===o.type){var i=o.payload,a=i.id,u=i.clientSelection,l=i.movementMode,c=n();"DROP_ANIMATING"===c.phase&&r(Od({completed:c.completed})),"IDLE"!==n().phase&&Is(!1),r({type:"FLUSH",payload:null}),r({type:"BEFORE_INITIAL_CAPTURE",payload:{draggableId:a,movementMode:l}});var s={draggableId:a,scrollOptions:{shouldPublishImmediately:"SNAP"===l}},f=e.startPublishing(s),d=f.critical,p=f.dimensions,h=f.viewport;r({type:"INITIAL_PUBLISH",payload:{critical:d,dimensions:p,clientSelection:u,movementMode:l,viewport:h}})}else t(o)}}}}(n),Ud,Zd,Xd,Qd,function(e){return function(t){return function(n){return function(r){if(function(e){return"DROP_COMPLETE"===e.type||"DROP_ANIMATE"===e.type||"FLUSH"===e.type}(r))return e.stop(),void n(r);if("INITIAL_PUBLISH"===r.type){n(r);var o=t.getState();return"DRAGGING"!==o.phase&&Is(!1),void e.start(o)}n(r),e.scroll(t.getState())}}}}(u),Gd,function(e){var t=!1;return function(){return function(n){return function(r){if("INITIAL_PUBLISH"===r.type)return t=!0,e.tryRecordFocus(r.payload.critical.draggable.id),n(r),void e.tryRestoreFocusRecorded();if(n(r),t){if("FLUSH"===r.type)return t=!1,void e.tryRestoreFocusRecorded();if("DROP_COMPLETE"===r.type){t=!1;var o=r.payload.completed.result;o.combine&&e.tryShiftRecord(o.draggableId,o.combine.draggableId),e.tryRestoreFocusRecorded()}}}}}}(r),Yd(i,a))))};var tp=function(e){var t=e.scrollHeight,n=e.scrollWidth,r=e.height,o=e.width,i=zs({x:n,y:t},{x:o,y:r});return{x:Math.max(0,i.x),y:Math.max(0,i.y)}},np=function(){var e=document.documentElement;return e||Is(!1),e},rp=function(){var e=np();return tp({scrollHeight:e.scrollHeight,scrollWidth:e.scrollWidth,width:e.clientWidth,height:e.clientHeight})},op=function(e){var t=e.critical,n=e.scrollOptions,r=e.registry;cd();var o=function(){var e=Wd(),t=rp(),n=e.y,r=e.x,o=np(),i=o.clientWidth,a=o.clientHeight;return{frame:cs({top:n,left:r,right:r+i,bottom:n+a}),scroll:{initial:e,current:e,max:t,diff:{value:Fs,displacement:Fs}}}}(),i=o.scroll.current,a=t.droppable,u=r.droppable.getAllByType(a.type).map((function(e){return e.callbacks.getDimensionAndWatchScroll(i,n)})),l=r.draggable.getAllByType(t.draggable.type).map((function(e){return e.getDimension(i)})),c={draggables:rf(l),droppables:nf(u)};return sd(),{dimensions:c,critical:t,viewport:o}};function ip(e,t,n){return n.descriptor.id!==t.id&&(n.descriptor.type===t.type&&"virtual"===e.droppable.getById(n.descriptor.droppableId).descriptor.mode)}var ap=function(e,t){var n=null,r=function(e){var t=e.registry,n=e.callbacks,r={additions:{},removals:{},modified:{}},o=null,i=function(){o||(n.collectionStarting(),o=requestAnimationFrame((function(){o=null,cd();var e=r,i=e.additions,a=e.removals,u=e.modified,l=Object.keys(i).map((function(e){return t.draggable.getById(e).getDimension(Fs)})).sort((function(e,t){return e.descriptor.index-t.descriptor.index})),c=Object.keys(u).map((function(e){return{droppableId:e,scroll:t.droppable.getById(e).callbacks.getScrollWhileDragging()}})),s={additions:l,removals:Object.keys(a),modified:c};r={additions:{},removals:{},modified:{}},sd(),n.publish(s)})))};return{add:function(e){var t=e.descriptor.id;r.additions[t]=e,r.modified[e.descriptor.droppableId]=!0,r.removals[t]&&delete r.removals[t],i()},remove:function(e){var t=e.descriptor;r.removals[t.id]=!0,r.modified[t.droppableId]=!0,r.additions[t.id]&&delete r.additions[t.id],i()},stop:function(){o&&(cancelAnimationFrame(o),o=null,r={additions:{},removals:{},modified:{}})}}}({callbacks:{publish:t.publishWhileDragging,collectionStarting:t.collectionStarting},registry:e}),o=function(t){n||Is(!1);var o=n.critical.draggable;"ADDITION"===t.type&&ip(e,o,t.value)&&r.add(t.value),"REMOVAL"===t.type&&ip(e,o,t.value)&&r.remove(t.value)},i={updateDroppableIsEnabled:function(r,o){e.droppable.exists(r)||Is(!1),n&&t.updateDroppableIsEnabled({id:r,isEnabled:o})},updateDroppableIsCombineEnabled:function(r,o){n&&(e.droppable.exists(r)||Is(!1),t.updateDroppableIsCombineEnabled({id:r,isCombineEnabled:o}))},scrollDroppable:function(t,r){n&&e.droppable.getById(t).callbacks.scroll(r)},updateDroppableScroll:function(r,o){n&&(e.droppable.exists(r)||Is(!1),t.updateDroppableScroll({id:r,newScroll:o}))},startPublishing:function(t){n&&Is(!1);var r=e.draggable.getById(t.draggableId),i=e.droppable.getById(r.descriptor.droppableId),a={draggable:r.descriptor,droppable:i.descriptor},u=e.subscribe(o);return n={critical:a,unsubscribe:u},op({critical:a,registry:e,scrollOptions:t.scrollOptions})},stopPublishing:function(){if(n){r.stop();var t=n.critical.droppable;e.droppable.getAllByType(t.type).forEach((function(e){return e.callbacks.dragStopped()})),n.unsubscribe(),n=null}}};return i},up=function(e,t){return"IDLE"===e.phase||"DROP_ANIMATING"===e.phase&&(e.completed.result.draggableId!==t&&"DROP"===e.completed.result.reason)},lp=function(e){window.scrollBy(e.x,e.y)},cp=xs((function(e){return of(e).filter((function(e){return!!e.isEnabled&&!!e.frame}))})),sp=function(e){var t=e.center,n=e.destination,r=e.droppables;if(n){var o=r[n];return o.frame?o:null}var i=function(e,t){var n=ef(cp(t),(function(t){return t.frame||Is(!1),Xf(t.frame.pageMarginBox)(e)}));return n}(t,r);return i},fp=.25,dp=.05,pp=28,hp=function(e){return Math.pow(e,2)},vp={stopDampeningAt:1200,accelerateAt:360},gp=function(e){var t=e.startOfRange,n=e.endOfRange,r=e.current,o=n-t;return 0===o?0:(r-t)/o},mp=vp.accelerateAt,yp=vp.stopDampeningAt,bp=function(e){var t=e.distanceToEdge,n=e.thresholds,r=e.dragStartTime,o=e.shouldUseTimeDampening,i=function(e,t){if(e>t.startScrollingFrom)return 0;if(e<=t.maxScrollValueAt)return pp;if(e===t.startScrollingFrom)return 1;var n=gp({startOfRange:t.maxScrollValueAt,endOfRange:t.startScrollingFrom,current:e}),r=pp*hp(1-n);return Math.ceil(r)}(t,n);return 0===i?0:o?Math.max(function(e,t){var n=t,r=yp,o=Date.now()-n;if(o>=yp)return e;if(o<mp)return 1;var i=gp({startOfRange:mp,endOfRange:r,current:o}),a=e*hp(i);return Math.ceil(a)}(i,r),1):i},wp=function(e){var t=e.container,n=e.distanceToEdges,r=e.dragStartTime,o=e.axis,i=e.shouldUseTimeDampening,a=function(e,t){return{startScrollingFrom:e[t.size]*fp,maxScrollValueAt:e[t.size]*dp}}(t,o);return n[o.end]<n[o.start]?bp({distanceToEdge:n[o.end],thresholds:a,dragStartTime:r,shouldUseTimeDampening:i}):-1*bp({distanceToEdge:n[o.start],thresholds:a,dragStartTime:r,shouldUseTimeDampening:i})},xp=$s((function(e){return 0===e?0:e})),Ep=function(e){var t=e.dragStartTime,n=e.container,r=e.subject,o=e.center,i=e.shouldUseTimeDampening,a={top:o.y-n.top,right:n.right-o.x,bottom:n.bottom-o.y,left:o.x-n.left},u=wp({container:n,distanceToEdges:a,dragStartTime:t,axis:yf,shouldUseTimeDampening:i}),l=wp({container:n,distanceToEdges:a,dragStartTime:t,axis:bf,shouldUseTimeDampening:i}),c=xp({x:l,y:u});if(Us(c,Fs))return null;var s=function(e){var t=e.container,n=e.subject,r=e.proposedScroll,o=n.height>t.height,i=n.width>t.width;return i||o?i&&o?null:{x:i?0:r.x,y:o?0:r.y}:r}({container:n,subject:r,proposedScroll:c});return s?Us(s,Fs)?null:s:null},kp=$s((function(e){return 0===e?0:e>0?1:-1})),Sp=function(){var e=function(e,t){return e<0?e:e>t?e-t:0};return function(t){var n=t.current,r=t.max,o=t.change,i=Bs(n,o),a={x:e(i.x,r.x),y:e(i.y,r.y)};return Us(a,Fs)?null:a}}(),_p=function(e){var t=e.max,n=e.current,r=e.change,o={x:Math.max(n.x,t.x),y:Math.max(n.y,t.y)},i=kp(r),a=Sp({max:o,current:n,change:i});return!a||(0!==i.x&&0===a.x||0!==i.y&&0===a.y)},Cp=function(e,t){return _p({current:e.scroll.current,max:e.scroll.max,change:t})},Op=function(e,t){var n=e.frame;return!!n&&_p({current:n.scroll.current,max:n.scroll.max,change:t})},Ip=function(e){var t=e.state,n=e.dragStartTime,r=e.shouldUseTimeDampening,o=e.scrollWindow,i=e.scrollDroppable,a=t.current.page.borderBoxCenter,u=t.dimensions.draggables[t.critical.draggable.id].page.marginBox;if(t.isWindowScrollAllowed){var l=function(e){var t=e.viewport,n=e.subject,r=e.center,o=e.dragStartTime,i=e.shouldUseTimeDampening,a=Ep({dragStartTime:o,container:t.frame,subject:n,center:r,shouldUseTimeDampening:i});return a&&Cp(t,a)?a:null}({dragStartTime:n,viewport:t.viewport,subject:u,center:a,shouldUseTimeDampening:r});if(l)return void o(l)}var c=sp({center:a,destination:Kf(t.impact),droppables:t.dimensions.droppables});if(c){var s=function(e){var t=e.droppable,n=e.subject,r=e.center,o=e.dragStartTime,i=e.shouldUseTimeDampening,a=t.frame;if(!a)return null;var u=Ep({dragStartTime:o,container:a.pageMarginBox,subject:n,center:r,shouldUseTimeDampening:i});return u&&Op(t,u)?u:null}({dragStartTime:n,droppable:c,subject:u,center:a,shouldUseTimeDampening:r});s&&i(c.descriptor.id,s)}},Np=function(e){var t=e.move,n=e.scrollDroppable,r=e.scrollWindow,o=function(e,t){if(!Op(e,t))return t;var r=function(e,t){var n=e.frame;return n&&Op(e,t)?Sp({current:n.scroll.current,max:n.scroll.max,change:t}):null}(e,t);if(!r)return n(e.descriptor.id,t),null;var o=zs(t,r);return n(e.descriptor.id,o),zs(t,o)},i=function(e,t,n){if(!e)return n;if(!Cp(t,n))return n;var o=function(e,t){if(!Cp(e,t))return null;var n=e.scroll.max,r=e.scroll.current;return Sp({current:r,max:n,change:t})}(t,n);if(!o)return r(n),null;var i=zs(n,o);return r(i),zs(n,i)};return function(e){var n=e.scrollJumpRequest;if(n){var r=Kf(e.impact);r||Is(!1);var a=o(e.dimensions.droppables[r],n);if(a){var u=e.viewport,l=i(e.isWindowScrollAllowed,u,a);l&&function(e,n){var r=Bs(e.current.client.selection,n);t({client:r})}(e,l)}}}},Dp=function(e){var t=e.scrollDroppable,n=e.scrollWindow,r=e.move,o=function(e){var t=e.scrollWindow,n=e.scrollDroppable,r=Es(t),o=Es(n),i=null,a=function(e){i||Is(!1);var t=i,n=t.shouldUseTimeDampening,a=t.dragStartTime;Ip({state:e,scrollWindow:r,scrollDroppable:o,dragStartTime:a,shouldUseTimeDampening:n})};return{start:function(e){cd(),i&&Is(!1);var t=Date.now(),n=!1,r=function(){n=!0};Ip({state:e,dragStartTime:0,shouldUseTimeDampening:!1,scrollWindow:r,scrollDroppable:r}),i={dragStartTime:t,shouldUseTimeDampening:n},sd(),n&&a(e)},stop:function(){i&&(r.cancel(),o.cancel(),i=null)},scroll:a}}({scrollWindow:n,scrollDroppable:t}),i=Np({move:r,scrollWindow:n,scrollDroppable:t});return{scroll:function(e){"DRAGGING"===e.phase&&("FLUID"!==e.movementMode?e.scrollJumpRequest&&i(e):o.scroll(e))},start:o.start,stop:o.stop}},Tp=function(){var e="data-rbd-drag-handle";return{base:e,draggableId:e+"-draggable-id",contextId:e+"-context-id"}}(),Rp=function(){var e="data-rbd-draggable";return{base:e,contextId:e+"-context-id",id:e+"-id"}}(),Ap=function(){var e="data-rbd-droppable";return{base:e,contextId:e+"-context-id",id:e+"-id"}}(),Pp={contextId:"data-rbd-scroll-container-context-id"},Lp=function(e,t){return e.map((function(e){var n=e.styles[t];return n?e.selector+" { "+n+" }":""})).join(" ")},Mp="undefined"!==typeof window&&"undefined"!==typeof window.document&&"undefined"!==typeof window.document.createElement?u.useLayoutEffect:u.useEffect,jp=function(){var e=document.querySelector("head");return e||Is(!1),e},Fp=function(e){var t=document.createElement("style");return e&&t.setAttribute("nonce",e),t.type="text/css",t};function Bp(e,t){var n=as((function(){return function(e){var t,n=(t=e,function(e){return"["+e+'="'+t+'"]'}),r=function(){var e="\n cursor: -webkit-grab;\n cursor: grab;\n ";return{selector:n(Tp.contextId),styles:{always:"\n -webkit-touch-callout: none;\n -webkit-tap-highlight-color: rgba(0,0,0,0);\n touch-action: manipulation;\n ",resting:e,dragging:"pointer-events: none;",dropAnimating:e}}}(),o=[function(){var e="\n transition: "+Pd.outOfTheWay+";\n ";return{selector:n(Rp.contextId),styles:{dragging:e,dropAnimating:e,userCancel:e}}}(),r,{selector:n(Ap.contextId),styles:{always:"overflow-anchor: none;"}},{selector:"body",styles:{dragging:"\n cursor: grabbing;\n cursor: -webkit-grabbing;\n user-select: none;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n overflow-anchor: none;\n "}}];return{always:Lp(o,"always"),resting:Lp(o,"resting"),dragging:Lp(o,"dragging"),dropAnimating:Lp(o,"dropAnimating"),userCancel:Lp(o,"userCancel")}}(e)}),[e]),r=(0,u.useRef)(null),o=(0,u.useRef)(null),i=us(xs((function(e){var t=o.current;t||Is(!1),t.textContent=e})),[]),a=us((function(e){var t=r.current;t||Is(!1),t.textContent=e}),[]);Mp((function(){(r.current||o.current)&&Is(!1);var u=Fp(t),l=Fp(t);return r.current=u,o.current=l,u.setAttribute("data-rbd-always",e),l.setAttribute("data-rbd-dynamic",e),jp().appendChild(u),jp().appendChild(l),a(n.always),i(n.resting),function(){var e=function(e){var t=e.current;t||Is(!1),jp().removeChild(t),e.current=null};e(r),e(o)}}),[t,a,i,n.always,n.resting,e]);var l=us((function(){return i(n.dragging)}),[i,n.dragging]),c=us((function(e){i("DROP"!==e?n.userCancel:n.dropAnimating)}),[i,n.dropAnimating,n.userCancel]),s=us((function(){o.current&&i(n.resting)}),[i,n.resting]);return as((function(){return{dragging:l,dropping:c,resting:s}}),[l,c,s])}var zp=function(e){return e&&e.ownerDocument?e.ownerDocument.defaultView:window};function Up(e){return e instanceof zp(e).HTMLElement}function Wp(e,t){var n="["+Tp.contextId+'="'+e+'"]',r=tf(document.querySelectorAll(n));if(!r.length)return null;var o=ef(r,(function(e){return e.getAttribute(Tp.draggableId)===t}));return o&&Up(o)?o:null}function Hp(){var e={draggables:{},droppables:{}},t=[];function n(e){t.length&&t.forEach((function(t){return t(e)}))}function r(t){return e.draggables[t]||null}var o={register:function(t){e.draggables[t.descriptor.id]=t,n({type:"ADDITION",value:t})},update:function(t,n){var r=e.draggables[n.descriptor.id];r&&r.uniqueId===t.uniqueId&&(delete e.draggables[n.descriptor.id],e.draggables[t.descriptor.id]=t)},unregister:function(t){var o=t.descriptor.id,i=r(o);i&&t.uniqueId===i.uniqueId&&(delete e.draggables[o],n({type:"REMOVAL",value:t}))},getById:function(e){var t=r(e);return t||Is(!1),t},findById:r,exists:function(e){return Boolean(r(e))},getAllByType:function(t){return Qs(e.draggables).filter((function(e){return e.descriptor.type===t}))}};function i(t){return e.droppables[t]||null}var a={register:function(t){e.droppables[t.descriptor.id]=t},unregister:function(t){var n=i(t.descriptor.id);n&&t.uniqueId===n.uniqueId&&delete e.droppables[t.descriptor.id]},getById:function(e){var t=i(e);return t||Is(!1),t},findById:i,exists:function(e){return Boolean(i(e))},getAllByType:function(t){return Qs(e.droppables).filter((function(e){return e.descriptor.type===t}))}};return{draggable:o,droppable:a,subscribe:function(e){return t.push(e),function(){var n=t.indexOf(e);-1!==n&&t.splice(n,1)}},clean:function(){e.draggables={},e.droppables={},t.length=0}}}var Gp=u.createContext(null),Vp=function(){var e=document.body;return e||Is(!1),e},$p={position:"absolute",width:"1px",height:"1px",margin:"-1px",border:"0",padding:"0",overflow:"hidden",clip:"rect(0 0 0 0)","clip-path":"inset(100%)"};var qp=0,Kp={separator:"::"};function Yp(e,t){return void 0===t&&(t=Kp),as((function(){return""+e+t.separator+qp++}),[t.separator,e])}var Zp=u.createContext(null);function Xp(e){0}function Qp(e,t){Xp()}function Jp(){Qp()}function eh(e){var t=(0,u.useRef)(e);return(0,u.useEffect)((function(){t.current=e})),t}var th,nh=((th={})[13]=!0,th[9]=!0,th),rh=function(e){nh[e.keyCode]&&e.preventDefault()},oh=function(){var e="visibilitychange";return"undefined"===typeof document?e:ef([e,"ms"+e,"webkit"+e,"moz"+e,"o"+e],(function(e){return"on"+e in document}))||e}();var ih,ah={type:"IDLE"};function uh(e){var t=e.cancel,n=e.completed,r=e.getPhase,o=e.setPhase;return[{eventName:"mousemove",fn:function(e){var t=e.button,n=e.clientX,i=e.clientY;if(0===t){var a={x:n,y:i},u=r();if("DRAGGING"===u.type)return e.preventDefault(),void u.actions.move(a);if("PENDING"!==u.type&&Is(!1),function(e,t){return Math.abs(t.x-e.x)>=5||Math.abs(t.y-e.y)>=5}(u.point,a)){e.preventDefault();var l=u.actions.fluidLift(a);o({type:"DRAGGING",actions:l})}}}},{eventName:"mouseup",fn:function(e){var o=r();"DRAGGING"===o.type?(e.preventDefault(),o.actions.drop({shouldBlockNextClick:!0}),n()):t()}},{eventName:"mousedown",fn:function(e){"DRAGGING"===r().type&&e.preventDefault(),t()}},{eventName:"keydown",fn:function(e){if("PENDING"!==r().type)return 27===e.keyCode?(e.preventDefault(),void t()):void rh(e);t()}},{eventName:"resize",fn:t},{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(){"PENDING"===r().type&&t()}},{eventName:"webkitmouseforcedown",fn:function(e){var n=r();"IDLE"===n.type&&Is(!1),n.actions.shouldRespectForcePress()?t():e.preventDefault()}},{eventName:oh,fn:t}]}function lh(){}var ch=((ih={})[34]=!0,ih[33]=!0,ih[36]=!0,ih[35]=!0,ih);function sh(e,t){function n(){t(),e.cancel()}return[{eventName:"keydown",fn:function(r){return 27===r.keyCode?(r.preventDefault(),void n()):32===r.keyCode?(r.preventDefault(),t(),void e.drop()):40===r.keyCode?(r.preventDefault(),void e.moveDown()):38===r.keyCode?(r.preventDefault(),void e.moveUp()):39===r.keyCode?(r.preventDefault(),void e.moveRight()):37===r.keyCode?(r.preventDefault(),void e.moveLeft()):void(ch[r.keyCode]?r.preventDefault():rh(r))}},{eventName:"mousedown",fn:n},{eventName:"mouseup",fn:n},{eventName:"click",fn:n},{eventName:"touchstart",fn:n},{eventName:"resize",fn:n},{eventName:"wheel",fn:n,options:{passive:!0}},{eventName:oh,fn:n}]}var fh={type:"IDLE"};var dh={input:!0,button:!0,textarea:!0,select:!0,option:!0,optgroup:!0,video:!0,audio:!0};function ph(e,t){if(null==t)return!1;if(Boolean(dh[t.tagName.toLowerCase()]))return!0;var n=t.getAttribute("contenteditable");return"true"===n||""===n||t!==e&&ph(e,t.parentElement)}function hh(e,t){var n=t.target;return!!Up(n)&&ph(e,n)}var vh=function(e){return cs(e.getBoundingClientRect()).center};var gh=function(){var e="matches";return"undefined"===typeof document?e:ef([e,"msMatchesSelector","webkitMatchesSelector"],(function(e){return e in Element.prototype}))||e}();function mh(e,t){return null==e?null:e[gh](t)?e:mh(e.parentElement,t)}function yh(e,t){return e.closest?e.closest(t):mh(e,t)}function bh(e,t){var n,r=t.target;if(!((n=r)instanceof zp(n).Element))return null;var o=function(e){return"["+Tp.contextId+'="'+e+'"]'}(e),i=yh(r,o);return i&&Up(i)?i:null}function wh(e){e.preventDefault()}function xh(e){var t=e.expected,n=e.phase,r=e.isLockActive;e.shouldWarn;return!!r()&&t===n}function Eh(e){var t=e.lockAPI,n=e.store,r=e.registry,o=e.draggableId;if(t.isClaimed())return!1;var i=r.draggable.findById(o);return!!i&&(!!i.options.isEnabled&&!!up(n.getState(),o))}function kh(e){var t=e.lockAPI,n=e.contextId,r=e.store,o=e.registry,i=e.draggableId,a=e.forceSensorStop,u=e.sourceEvent;if(!Eh({lockAPI:t,store:r,registry:o,draggableId:i}))return null;var l=o.draggable.getById(i),c=function(e,t){var n="["+Rp.contextId+'="'+e+'"]',r=ef(tf(document.querySelectorAll(n)),(function(e){return e.getAttribute(Rp.id)===t}));return r&&Up(r)?r:null}(n,l.descriptor.id);if(!c)return null;if(u&&!l.options.canDragInteractiveElements&&hh(c,u))return null;var s=t.claim(a||Ss),f="PRE_DRAG";function d(){return l.options.shouldRespectForcePress}function p(){return t.isActive(s)}var h=function(e,t){xh({expected:e,phase:f,isLockActive:p,shouldWarn:!0})&&r.dispatch(t())}.bind(null,"DRAGGING");function v(e){function n(){t.release(),f="COMPLETED"}function o(t,o){if(void 0===o&&(o={shouldBlockNextClick:!1}),e.cleanup(),o.shouldBlockNextClick){var i=_s(window,[{eventName:"click",fn:wh,options:{once:!0,passive:!1,capture:!0}}]);setTimeout(i)}n(),r.dispatch(Id({reason:t}))}return"PRE_DRAG"!==f&&(n(),"PRE_DRAG"!==f&&Is(!1)),r.dispatch(function(e){return{type:"LIFT",payload:e}}(e.liftActionArgs)),f="DRAGGING",w({isActive:function(){return xh({expected:"DRAGGING",phase:f,isLockActive:p,shouldWarn:!1})},shouldRespectForcePress:d,drop:function(e){return o("DROP",e)},cancel:function(e){return o("CANCEL",e)}},e.actions)}return{isActive:function(){return xh({expected:"PRE_DRAG",phase:f,isLockActive:p,shouldWarn:!1})},shouldRespectForcePress:d,fluidLift:function(e){var t=Es((function(e){h((function(){return Ed({client:e})}))}));return w({},v({liftActionArgs:{id:i,clientSelection:e,movementMode:"FLUID"},cleanup:function(){return t.cancel()},actions:{move:t}}),{move:t})},snapLift:function(){var e={moveUp:function(){return h(kd)},moveRight:function(){return h(_d)},moveDown:function(){return h(Sd)},moveLeft:function(){return h(Cd)}};return v({liftActionArgs:{id:i,clientSelection:vh(c),movementMode:"SNAP"},cleanup:Ss,actions:e})},abort:function(){xh({expected:"PRE_DRAG",phase:f,isLockActive:p,shouldWarn:!0})&&t.release()}}}var Sh=[function(e){var t=(0,u.useRef)(ah),n=(0,u.useRef)(Ss),r=as((function(){return{eventName:"mousedown",fn:function(t){if(!t.defaultPrevented&&0===t.button&&!(t.ctrlKey||t.metaKey||t.shiftKey||t.altKey)){var r=e.findClosestDraggableId(t);if(r){var o=e.tryGetLock(r,a,{sourceEvent:t});if(o){t.preventDefault();var i={x:t.clientX,y:t.clientY};n.current(),s(o,i)}}}}}}),[e]),o=as((function(){return{eventName:"webkitmouseforcewillbegin",fn:function(t){if(!t.defaultPrevented){var n=e.findClosestDraggableId(t);if(n){var r=e.findOptionsForDraggable(n);r&&(r.shouldRespectForcePress||e.canGetLock(n)&&t.preventDefault())}}}}}),[e]),i=us((function(){n.current=_s(window,[o,r],{passive:!1,capture:!0})}),[o,r]),a=us((function(){"IDLE"!==t.current.type&&(t.current=ah,n.current(),i())}),[i]),l=us((function(){var e=t.current;a(),"DRAGGING"===e.type&&e.actions.cancel({shouldBlockNextClick:!0}),"PENDING"===e.type&&e.actions.abort()}),[a]),c=us((function(){var e=uh({cancel:l,completed:a,getPhase:function(){return t.current},setPhase:function(e){t.current=e}});n.current=_s(window,e,{capture:!0,passive:!1})}),[l,a]),s=us((function(e,n){"IDLE"!==t.current.type&&Is(!1),t.current={type:"PENDING",point:n,actions:e},c()}),[c]);Mp((function(){return i(),function(){n.current()}}),[i])},function(e){var t=(0,u.useRef)(lh),n=as((function(){return{eventName:"keydown",fn:function(n){if(!n.defaultPrevented&&32===n.keyCode){var o=e.findClosestDraggableId(n);if(o){var i=e.tryGetLock(o,l,{sourceEvent:n});if(i){n.preventDefault();var a=!0,u=i.snapLift();t.current(),t.current=_s(window,sh(u,l),{capture:!0,passive:!1})}}}function l(){a||Is(!1),a=!1,t.current(),r()}}}}),[e]),r=us((function(){t.current=_s(window,[n],{passive:!1,capture:!0})}),[n]);Mp((function(){return r(),function(){t.current()}}),[r])},function(e){var t=(0,u.useRef)(fh),n=(0,u.useRef)(Ss),r=us((function(){return t.current}),[]),o=us((function(e){t.current=e}),[]),i=as((function(){return{eventName:"touchstart",fn:function(t){if(!t.defaultPrevented){var r=e.findClosestDraggableId(t);if(r){var o=e.tryGetLock(r,l,{sourceEvent:t});if(o){var i=t.touches[0],a={x:i.clientX,y:i.clientY};n.current(),d(o,a)}}}}}}),[e]),a=us((function(){n.current=_s(window,[i],{capture:!0,passive:!1})}),[i]),l=us((function(){var e=t.current;"IDLE"!==e.type&&("PENDING"===e.type&&clearTimeout(e.longPressTimerId),o(fh),n.current(),a())}),[a,o]),c=us((function(){var e=t.current;l(),"DRAGGING"===e.type&&e.actions.cancel({shouldBlockNextClick:!0}),"PENDING"===e.type&&e.actions.abort()}),[l]),s=us((function(){var e={capture:!0,passive:!1},t={cancel:c,completed:l,getPhase:r},o=_s(window,function(e){var t=e.cancel,n=e.completed,r=e.getPhase;return[{eventName:"touchmove",options:{capture:!1},fn:function(e){var n=r();if("DRAGGING"===n.type){n.hasMoved=!0;var o=e.touches[0],i={x:o.clientX,y:o.clientY};e.preventDefault(),n.actions.move(i)}else t()}},{eventName:"touchend",fn:function(e){var o=r();"DRAGGING"===o.type?(e.preventDefault(),o.actions.drop({shouldBlockNextClick:!0}),n()):t()}},{eventName:"touchcancel",fn:function(e){"DRAGGING"===r().type?(e.preventDefault(),t()):t()}},{eventName:"touchforcechange",fn:function(e){var n=r();"IDLE"===n.type&&Is(!1);var o=e.touches[0];if(o&&o.force>=.15){var i=n.actions.shouldRespectForcePress();if("PENDING"!==n.type)return i?n.hasMoved?void e.preventDefault():void t():void e.preventDefault();i&&t()}}},{eventName:oh,fn:t}]}(t),e),i=_s(window,function(e){var t=e.cancel,n=e.getPhase;return[{eventName:"orientationchange",fn:t},{eventName:"resize",fn:t},{eventName:"contextmenu",fn:function(e){e.preventDefault()}},{eventName:"keydown",fn:function(e){"DRAGGING"===n().type?(27===e.keyCode&&e.preventDefault(),t()):t()}},{eventName:oh,fn:t}]}(t),e);n.current=function(){o(),i()}}),[c,r,l]),f=us((function(){var e=r();"PENDING"!==e.type&&Is(!1);var t=e.actions.fluidLift(e.point);o({type:"DRAGGING",actions:t,hasMoved:!1})}),[r,o]),d=us((function(e,t){"IDLE"!==r().type&&Is(!1);var n=setTimeout(f,120);o({type:"PENDING",point:t,actions:e,longPressTimerId:n}),s()}),[s,r,o,f]);Mp((function(){return a(),function(){n.current();var e=r();"PENDING"===e.type&&(clearTimeout(e.longPressTimerId),o(fh))}}),[r,a,o]),Mp((function(){return _s(window,[{eventName:"touchmove",fn:function(){},options:{capture:!1,passive:!1}}])}),[])}];function _h(e){var t=e.contextId,n=e.store,r=e.registry,o=e.customSensors,i=e.enableDefaultSensors,a=[].concat(i?Sh:[],o||[]),l=(0,u.useState)((function(){return function(){var e=null;function t(){e||Is(!1),e=null}return{isClaimed:function(){return Boolean(e)},isActive:function(t){return t===e},claim:function(t){e&&Is(!1);var n={abandon:t};return e=n,n},release:t,tryAbandon:function(){e&&(e.abandon(),t())}}}()}))[0],c=us((function(e,t){e.isDragging&&!t.isDragging&&l.tryAbandon()}),[l]);Mp((function(){var e=n.getState();return n.subscribe((function(){var t=n.getState();c(e,t),e=t}))}),[l,n,c]),Mp((function(){return l.tryAbandon}),[l.tryAbandon]);var s=us((function(e){return Eh({lockAPI:l,registry:r,store:n,draggableId:e})}),[l,r,n]),f=us((function(e,o,i){return kh({lockAPI:l,registry:r,contextId:t,store:n,draggableId:e,forceSensorStop:o,sourceEvent:i&&i.sourceEvent?i.sourceEvent:null})}),[t,l,r,n]),d=us((function(e){return function(e,t){var n=bh(e,t);return n?n.getAttribute(Tp.draggableId):null}(t,e)}),[t]),p=us((function(e){var t=r.draggable.findById(e);return t?t.options:null}),[r.draggable]),h=us((function(){l.isClaimed()&&(l.tryAbandon(),"IDLE"!==n.getState().phase&&n.dispatch({type:"FLUSH",payload:null}))}),[l,n]),v=us(l.isClaimed,[l]),g=as((function(){return{canGetLock:s,tryGetLock:f,findClosestDraggableId:d,findOptionsForDraggable:p,tryReleaseLock:h,isLockClaimed:v}}),[s,f,d,p,h,v]);Xp();for(var m=0;m<a.length;m++)a[m](g)}function Ch(e){return e.current||Is(!1),e.current}function Oh(e){var t=e.contextId,n=e.setCallbacks,r=e.sensors,o=e.nonce,i=e.dragHandleUsageInstructions,a=(0,u.useRef)(null);Jp();var l=eh(e),c=us((function(){return function(e){return{onBeforeCapture:e.onBeforeCapture,onBeforeDragStart:e.onBeforeDragStart,onDragStart:e.onDragStart,onDragEnd:e.onDragEnd,onDragUpdate:e.onDragUpdate}}(l.current)}),[l]),s=function(e){var t=as((function(){return function(e){return"rbd-announcement-"+e}(e)}),[e]),n=(0,u.useRef)(null);return(0,u.useEffect)((function(){var e=document.createElement("div");return n.current=e,e.id=t,e.setAttribute("aria-live","assertive"),e.setAttribute("aria-atomic","true"),w(e.style,$p),Vp().appendChild(e),function(){setTimeout((function(){var t=Vp();t.contains(e)&&t.removeChild(e),e===n.current&&(n.current=null)}))}}),[t]),us((function(e){var t=n.current;t&&(t.textContent=e)}),[])}(t),f=function(e){var t=e.contextId,n=e.text,r=Yp("hidden-text",{separator:"-"}),o=as((function(){return function(e){return"rbd-hidden-text-"+e.contextId+"-"+e.uniqueId}({contextId:t,uniqueId:r})}),[r,t]);return(0,u.useEffect)((function(){var e=document.createElement("div");return e.id=o,e.textContent=n,e.style.display="none",Vp().appendChild(e),function(){var t=Vp();t.contains(e)&&t.removeChild(e)}}),[o,n]),o}({contextId:t,text:i}),d=Bp(t,o),p=us((function(e){Ch(a).dispatch(e)}),[]),h=as((function(){return Ec({publishWhileDragging:md,updateDroppableScroll:bd,updateDroppableIsEnabled:wd,updateDroppableIsCombineEnabled:xd,collectionStarting:yd},p)}),[p]),v=function(){var e=as(Hp,[]);return(0,u.useEffect)((function(){return function(){requestAnimationFrame(e.clean)}}),[e]),e}(),g=as((function(){return ap(v,h)}),[v,h]),m=as((function(){return Dp(w({scrollWindow:lp,scrollDroppable:g.scrollDroppable},Ec({move:Ed},p)))}),[g.scrollDroppable,p]),y=function(e){var t=(0,u.useRef)({}),n=(0,u.useRef)(null),r=(0,u.useRef)(null),o=(0,u.useRef)(!1),i=us((function(e,n){var r={id:e,focus:n};return t.current[e]=r,function(){var n=t.current;n[e]!==r&&delete n[e]}}),[]),a=us((function(t){var n=Wp(e,t);n&&n!==document.activeElement&&n.focus()}),[e]),l=us((function(e,t){n.current===e&&(n.current=t)}),[]),c=us((function(){r.current||o.current&&(r.current=requestAnimationFrame((function(){r.current=null;var e=n.current;e&&a(e)})))}),[a]),s=us((function(e){n.current=null;var t=document.activeElement;t&&t.getAttribute(Tp.draggableId)===e&&(n.current=e)}),[]);return Mp((function(){return o.current=!0,function(){o.current=!1;var e=r.current;e&&cancelAnimationFrame(e)}}),[]),as((function(){return{register:i,tryRecordFocus:s,tryRestoreFocusRecorded:c,tryShiftRecord:l}}),[i,s,c,l])}(t),b=as((function(){return ep({announce:s,autoScroller:m,dimensionMarshal:g,focusMarshal:y,getResponders:c,styleMarshal:d})}),[s,m,g,y,c,d]);a.current=b;var x=us((function(){var e=Ch(a);"IDLE"!==e.getState().phase&&e.dispatch({type:"FLUSH",payload:null})}),[]),E=us((function(){var e=Ch(a).getState();return e.isDragging||"DROP_ANIMATING"===e.phase}),[]);n(as((function(){return{isDragging:E,tryAbort:x}}),[E,x]));var k=us((function(e){return up(Ch(a).getState(),e)}),[]),S=us((function(){return Zf(Ch(a).getState())}),[]),_=as((function(){return{marshal:g,focus:y,contextId:t,canLift:k,isMovementAllowed:S,dragHandleUsageInstructionsId:f,registry:v}}),[t,g,f,y,k,S,v]);return _h({contextId:t,store:b,registry:v,customSensors:r,enableDefaultSensors:!1!==e.enableDefaultSensors}),(0,u.useEffect)((function(){return x}),[x]),u.createElement(Zp.Provider,{value:_},u.createElement(Dc,{context:Gp,store:b},e.children))}var Ih=0;function Nh(e){var t=as((function(){return""+Ih++}),[]),n=e.dragHandleUsageInstructions||Ps;return u.createElement(Ns,null,(function(r){return u.createElement(Oh,{nonce:e.nonce,contextId:t,setCallbacks:r,dragHandleUsageInstructions:n,enableDefaultSensors:e.enableDefaultSensors,sensors:e.sensors,onBeforeCapture:e.onBeforeCapture,onBeforeDragStart:e.onBeforeDragStart,onDragStart:e.onDragStart,onDragUpdate:e.onDragUpdate,onDragEnd:e.onDragEnd},e.children)}))}var Dh=function(e){return function(t){return e===t}},Th=Dh("scroll"),Rh=Dh("auto"),Ah=(Dh("visible"),function(e,t){return t(e.overflowX)||t(e.overflowY)}),Ph=function(e){var t=window.getComputedStyle(e),n={overflowX:t.overflowX,overflowY:t.overflowY};return Ah(n,Th)||Ah(n,Rh)},Lh=function e(t){return null==t||t===document.body||t===document.documentElement?null:Ph(t)?t:e(t.parentElement)},Mh=function(e){return{x:e.scrollLeft,y:e.scrollTop}},jh=function e(t){return!!t&&("fixed"===window.getComputedStyle(t).position||e(t.parentElement))},Fh=function(e){return{closestScrollable:Lh(e),isFixedOnPage:jh(e)}},Bh=function(e){var t=e.ref,n=e.descriptor,r=e.env,o=e.windowScroll,i=e.direction,a=e.isDropDisabled,u=e.isCombineEnabled,l=e.shouldClipSubject,c=r.closestScrollable,s=function(e,t){var n=ys(e);if(!t)return n;if(e!==t)return n;var r=n.paddingBox.top-t.scrollTop,o=n.paddingBox.left-t.scrollLeft,i=r+t.scrollHeight,a=o+t.scrollWidth,u=ss({top:r,right:a,bottom:i,left:o},n.border);return ps({borderBox:u,margin:n.margin,border:n.border,padding:n.padding})}(t,c),f=gs(s,o),d=function(){if(!c)return null;var e=ys(c),t={scrollHeight:c.scrollHeight,scrollWidth:c.scrollWidth};return{client:e,page:gs(e,o),scroll:Mh(c),scrollSize:t,shouldClipSubject:l}}(),p=function(e){var t=e.descriptor,n=e.isEnabled,r=e.isCombineEnabled,o=e.isFixedOnPage,i=e.direction,a=e.client,u=e.page,l=e.closest,c=function(){if(!l)return null;var e=l.scrollSize,t=l.client,n=tp({scrollHeight:e.scrollHeight,scrollWidth:e.scrollWidth,height:t.paddingBox.height,width:t.paddingBox.width});return{pageMarginBox:l.page.marginBox,frameClient:t,scrollSize:e,shouldClipSubject:l.shouldClipSubject,scroll:{initial:l.scroll,current:l.scroll,max:n,diff:{value:Fs,displacement:Fs}}}}(),s="vertical"===i?yf:bf;return{descriptor:t,isCombineEnabled:r,isFixedOnPage:o,axis:s,isEnabled:n,client:a,page:u,frame:c,subject:Zs({page:u,withPlaceholder:null,axis:s,frame:c})}}({descriptor:n,isEnabled:!a,isCombineEnabled:u,isFixedOnPage:r.isFixedOnPage,direction:i,client:s,page:f,closest:d});return p},zh={passive:!1},Uh={passive:!0},Wh=function(e){return e.shouldPublishImmediately?zh:Uh};function Hh(e){var t=(0,u.useContext)(e);return t||Is(!1),t}var Gh=function(e){return e&&e.env.closestScrollable||null};function Vh(){}var $h={width:0,height:0,margin:{top:0,right:0,bottom:0,left:0}},qh=function(e){var t=e.isAnimatingOpenOnMount,n=e.placeholder,r=e.animate,o=function(e){var t=e.isAnimatingOpenOnMount,n=e.placeholder,r=e.animate;return t||"close"===r?$h:{height:n.client.borderBox.height,width:n.client.borderBox.width,margin:n.client.margin}}({isAnimatingOpenOnMount:t,placeholder:n,animate:r});return{display:n.display,boxSizing:"border-box",width:o.width,height:o.height,marginTop:o.margin.top,marginRight:o.margin.right,marginBottom:o.margin.bottom,marginLeft:o.margin.left,flexShrink:"0",flexGrow:"0",pointerEvents:"none",transition:"none"!==r?Pd.placeholder:null}};var Kh=u.memo((function(e){var t=(0,u.useRef)(null),n=us((function(){t.current&&(clearTimeout(t.current),t.current=null)}),[]),r=e.animate,o=e.onTransitionEnd,i=e.onClose,a=e.contextId,l=(0,u.useState)("open"===e.animate),c=l[0],s=l[1];(0,u.useEffect)((function(){return c?"open"!==r?(n(),s(!1),Vh):t.current?Vh:(t.current=setTimeout((function(){t.current=null,s(!1)})),n):Vh}),[r,c,n]);var f=us((function(e){"height"===e.propertyName&&(o(),"close"===r&&i())}),[r,i,o]),d=qh({isAnimatingOpenOnMount:c,animate:e.animate,placeholder:e.placeholder});return u.createElement(e.placeholder.tagName,{style:d,"data-rbd-placeholder-context-id":a,onTransitionEnd:f,ref:e.innerRef})})),Yh=u.createContext(null);var Zh=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).state={isVisible:Boolean(t.props.on),data:t.props.on,animate:t.props.shouldAnimate&&t.props.on?"open":"none"},t.onClose=function(){"close"===t.state.animate&&t.setState({isVisible:!1})},t}return Gi(t,e),t.getDerivedStateFromProps=function(e,t){return e.shouldAnimate?e.on?{isVisible:!0,data:e.on,animate:"open"}:t.isVisible?{isVisible:!0,data:t.data,animate:"close"}:{isVisible:!1,animate:"close",data:null}:{isVisible:Boolean(e.on),data:e.on,animate:"none"}},t.prototype.render=function(){if(!this.state.isVisible)return null;var e={onClose:this.onClose,data:this.state.data,animate:this.state.animate};return this.props.children(e)},t}(u.PureComponent),Xh=5e3,Qh=4500,Jh=function(e,t){return t?Pd.drop(t.duration):e?Pd.snap:Pd.fluid},ev=function(e,t){return e?t?Td.drop:Td.combining:null};function tv(e){return"DRAGGING"===e.type?function(e){var t=e.dimension.client,n=e.offset,r=e.combineWith,o=e.dropping,i=Boolean(r),a=function(e){return null!=e.forceShouldAnimate?e.forceShouldAnimate:"SNAP"===e.mode}(e),u=Boolean(o),l=u?jd(n,i):Md(n);return{position:"fixed",top:t.marginBox.top,left:t.marginBox.left,boxSizing:"border-box",width:t.borderBox.width,height:t.borderBox.height,transition:Jh(a,o),transform:l,opacity:ev(i,u),zIndex:u?Qh:Xh,pointerEvents:"none"}}(e):{transform:Md((t=e).offset),transition:t.shouldAnimateDisplacement?null:"none"};var t}function nv(e){var t=Yp("draggable"),n=e.descriptor,r=e.registry,o=e.getDraggableRef,i=e.canDragInteractiveElements,a=e.shouldRespectForcePress,l=e.isEnabled,c=as((function(){return{canDragInteractiveElements:i,shouldRespectForcePress:a,isEnabled:l}}),[i,l,a]),s=us((function(e){var t=o();return t||Is(!1),function(e,t,n){void 0===n&&(n=Fs);var r=window.getComputedStyle(t),o=t.getBoundingClientRect(),i=ms(o,r),a=gs(i,n);return{descriptor:e,placeholder:{client:i,tagName:t.tagName.toLowerCase(),display:r.display},displaceBy:{x:i.marginBox.width,y:i.marginBox.height},client:i,page:a}}(n,t,e)}),[n,o]),f=as((function(){return{uniqueId:t,descriptor:n,options:c,getDimension:s}}),[n,s,c,t]),d=(0,u.useRef)(f),p=(0,u.useRef)(!0);Mp((function(){return r.draggable.register(d.current),function(){return r.draggable.unregister(d.current)}}),[r.draggable]),Mp((function(){if(p.current)p.current=!1;else{var e=d.current;d.current=f,r.draggable.update(f,e)}}),[f,r.draggable])}function rv(e,t,n){Qp()}function ov(e){e.preventDefault()}var iv=function(e,t){return e===t},av=function(e){var t=e.combine,n=e.destination;return n?n.droppableId:t?t.droppableId:null};function uv(e){return{isDragging:!1,isDropAnimating:!1,isClone:!1,dropAnimation:null,mode:null,draggingOver:null,combineTargetFor:e,combineWith:null}}var lv={mapped:{type:"SECONDARY",offset:Fs,combineTargetFor:null,shouldAnimateDisplacement:!0,snapshot:uv(null)}};var cv=os((function(){var e=function(){var e=xs((function(e,t){return{x:e,y:t}})),t=xs((function(e,t,n,r,o){return{isDragging:!0,isClone:t,isDropAnimating:Boolean(o),dropAnimation:o,mode:e,draggingOver:n,combineWith:r,combineTargetFor:null}})),n=xs((function(e,n,r,o,i,a,u){return{mapped:{type:"DRAGGING",dropping:null,draggingOver:i,combineWith:a,mode:n,offset:e,dimension:r,forceShouldAnimate:u,snapshot:t(n,o,i,a,null)}}}));return function(r,o){if(r.isDragging){if(r.critical.draggable.id!==o.draggableId)return null;var i=r.current.client.offset,a=r.dimensions.draggables[o.draggableId],u=Kf(r.impact),l=(s=r.impact).at&&"COMBINE"===s.at.type?s.at.combine.draggableId:null,c=r.forceShouldAnimate;return n(e(i.x,i.y),r.movementMode,a,o.isClone,u,l,c)}var s;if("DROP_ANIMATING"===r.phase){var f=r.completed;if(f.result.draggableId!==o.draggableId)return null;var d=o.isClone,p=r.dimensions.draggables[o.draggableId],h=f.result,v=h.mode,g=av(h),m=function(e){return e.combine?e.combine.draggableId:null}(h),y={duration:r.dropDuration,curve:Dd,moveTo:r.newHomeClientOffset,opacity:m?Td.drop:null,scale:m?Rd.drop:null};return{mapped:{type:"DRAGGING",offset:r.newHomeClientOffset,dimension:p,dropping:y,draggingOver:g,combineWith:m,mode:v,forceShouldAnimate:null,snapshot:t(v,d,g,m,y)}}}return null}}(),t=function(){var e=xs((function(e,t){return{x:e,y:t}})),t=xs(uv),n=xs((function(e,n,r){return void 0===n&&(n=null),{mapped:{type:"SECONDARY",offset:e,combineTargetFor:n,shouldAnimateDisplacement:r,snapshot:t(n)}}})),r=function(e){return e?n(Fs,e,!0):null},o=function(t,o,i,a){var u=i.displaced.visible[t],l=Boolean(a.inVirtualList&&a.effected[t]),c=cf(i),s=c&&c.draggableId===t?o:null;if(!u){if(!l)return r(s);if(i.displaced.invisible[t])return null;var f=Ws(a.displacedBy.point),d=e(f.x,f.y);return n(d,s,!0)}if(l)return r(s);var p=i.displacedBy.point,h=e(p.x,p.y);return n(h,s,u.shouldAnimate)};return function(e,t){if(e.isDragging)return e.critical.draggable.id===t.draggableId?null:o(t.draggableId,e.critical.draggable.id,e.impact,e.afterCritical);if("DROP_ANIMATING"===e.phase){var n=e.completed;return n.result.draggableId===t.draggableId?null:o(t.draggableId,n.result.draggableId,n.impact,n.afterCritical)}return null}}();return function(n,r){return e(n,r)||t(n,r)||lv}}),{dropAnimationFinished:Nd},null,{context:Gp,pure:!0,areStatePropsEqual:iv})((function(e){var t=(0,u.useRef)(null),n=us((function(e){t.current=e}),[]),r=us((function(){return t.current}),[]),o=Hh(Zp),i=o.contextId,a=o.dragHandleUsageInstructionsId,l=o.registry,c=Hh(Yh),s=c.type,f=c.droppableId,d=as((function(){return{id:e.draggableId,index:e.index,type:s,droppableId:f}}),[e.draggableId,e.index,s,f]),p=e.children,h=e.draggableId,v=e.isEnabled,g=e.shouldRespectForcePress,m=e.canDragInteractiveElements,y=e.isClone,b=e.mapped,w=e.dropAnimationFinished;rv(),Xp(),y||nv(as((function(){return{descriptor:d,registry:l,getDraggableRef:r,canDragInteractiveElements:m,shouldRespectForcePress:g,isEnabled:v}}),[d,l,r,m,g,v]));var x=as((function(){return v?{tabIndex:0,role:"button","aria-describedby":a,"data-rbd-drag-handle-draggable-id":h,"data-rbd-drag-handle-context-id":i,draggable:!1,onDragStart:ov}:null}),[i,a,h,v]),E=us((function(e){"DRAGGING"===b.type&&b.dropping&&"transform"===e.propertyName&&w()}),[w,b]),k=as((function(){var e=tv(b),t="DRAGGING"===b.type&&b.dropping?E:null;return{innerRef:n,draggableProps:{"data-rbd-draggable-context-id":i,"data-rbd-draggable-id":h,style:e,onTransitionEnd:t},dragHandleProps:x}}),[i,x,h,b,E,n]),S=as((function(){return{draggableId:d.id,type:d.type,source:{index:d.index,droppableId:d.droppableId}}}),[d.droppableId,d.id,d.index,d.type]);return p(k,b.snapshot,S)}));function sv(e){return Hh(Yh).isUsingCloneFor!==e.draggableId||e.isClone?u.createElement(cv,e):null}function fv(e){var t="boolean"!==typeof e.isDragDisabled||!e.isDragDisabled,n=Boolean(e.disableInteractiveElementBlocking),r=Boolean(e.shouldRespectForcePress);return u.createElement(sv,w({},e,{isClone:!1,isEnabled:t,canDragInteractiveElements:n,shouldRespectForcePress:r}))}var dv=function(e,t){return e===t.droppable.type},pv=function(e,t){return t.draggables[e.draggable.id]};var hv,vv={mode:"standard",type:"DEFAULT",direction:"vertical",isDropDisabled:!1,isCombineEnabled:!1,ignoreContainerClipping:!1,renderClone:null,getContainerForClone:function(){return document.body||Is(!1),document.body}},gv=os((function(){var e={placeholder:null,shouldAnimatePlaceholder:!0,snapshot:{isDraggingOver:!1,draggingOverWith:null,draggingFromThisWith:null,isUsingPlaceholder:!1},useClone:null},t=w({},e,{shouldAnimatePlaceholder:!1}),n=xs((function(e){return{draggableId:e.id,type:e.type,source:{index:e.index,droppableId:e.droppableId}}})),r=xs((function(r,o,i,a,u,l){var c=u.descriptor.id;if(u.descriptor.droppableId===r){var s=l?{render:l,dragging:n(u.descriptor)}:null,f={isDraggingOver:i,draggingOverWith:i?c:null,draggingFromThisWith:c,isUsingPlaceholder:!0};return{placeholder:u.placeholder,shouldAnimatePlaceholder:!1,snapshot:f,useClone:s}}if(!o)return t;if(!a)return e;var d={isDraggingOver:i,draggingOverWith:c,draggingFromThisWith:null,isUsingPlaceholder:!0};return{placeholder:u.placeholder,shouldAnimatePlaceholder:!0,snapshot:d,useClone:null}}));return function(n,o){var i=o.droppableId,a=o.type,u=!o.isDropDisabled,l=o.renderClone;if(n.isDragging){var c=n.critical;if(!dv(a,c))return t;var s=pv(c,n.dimensions),f=Kf(n.impact)===i;return r(i,u,f,f,s,l)}if("DROP_ANIMATING"===n.phase){var d=n.completed;if(!dv(a,d.critical))return t;var p=pv(d.critical,n.dimensions);return r(i,u,av(d.result)===i,Kf(d.impact)===i,p,l)}if("IDLE"===n.phase&&n.completed&&!n.shouldFlush){var h=n.completed;if(!dv(a,h.critical))return t;var v=Kf(h.impact)===i,g=Boolean(h.impact.at&&"COMBINE"===h.impact.at.type),m=h.critical.droppable.id===i;return v?g?e:t:m?e:t}return t}}),{updateViewportMaxScroll:function(e){return{type:"UPDATE_VIEWPORT_MAX_SCROLL",payload:e}}},null,{context:Gp,pure:!0,areStatePropsEqual:iv})((function(e){var t=(0,u.useContext)(Zp);t||Is(!1);var n=t.contextId,r=t.isMovementAllowed,o=(0,u.useRef)(null),i=(0,u.useRef)(null),a=e.children,c=e.droppableId,s=e.type,f=e.mode,d=e.direction,p=e.ignoreContainerClipping,h=e.isDropDisabled,v=e.isCombineEnabled,g=e.snapshot,m=e.useClone,y=e.updateViewportMaxScroll,b=e.getContainerForClone,w=us((function(){return o.current}),[]),x=us((function(e){o.current=e}),[]),E=(us((function(){return i.current}),[]),us((function(e){i.current=e}),[]));Qp();var k=us((function(){r()&&y({maxScroll:rp()})}),[r,y]);!function(e){var t=(0,u.useRef)(null),n=Hh(Zp),r=Yp("droppable"),o=n.registry,i=n.marshal,a=eh(e),l=as((function(){return{id:e.droppableId,type:e.type,mode:e.mode}}),[e.droppableId,e.mode,e.type]),c=(0,u.useRef)(l),s=as((function(){return xs((function(e,n){t.current||Is(!1);var r={x:e,y:n};i.updateDroppableScroll(l.id,r)}))}),[l.id,i]),f=us((function(){var e=t.current;return e&&e.env.closestScrollable?Mh(e.env.closestScrollable):Fs}),[]),d=us((function(){var e=f();s(e.x,e.y)}),[f,s]),p=as((function(){return Es(d)}),[d]),h=us((function(){var e=t.current,n=Gh(e);e&&n||Is(!1),e.scrollOptions.shouldPublishImmediately?d():p()}),[p,d]),v=us((function(e,r){t.current&&Is(!1);var o=a.current,i=o.getDroppableRef();i||Is(!1);var u=Fh(i),c={ref:i,descriptor:l,env:u,scrollOptions:r};t.current=c;var s=Bh({ref:i,descriptor:l,env:u,windowScroll:e,direction:o.direction,isDropDisabled:o.isDropDisabled,isCombineEnabled:o.isCombineEnabled,shouldClipSubject:!o.ignoreContainerClipping}),f=u.closestScrollable;return f&&(f.setAttribute(Pp.contextId,n.contextId),f.addEventListener("scroll",h,Wh(c.scrollOptions))),s}),[n.contextId,l,h,a]),g=us((function(){var e=t.current,n=Gh(e);return e&&n||Is(!1),Mh(n)}),[]),m=us((function(){var e=t.current;e||Is(!1);var n=Gh(e);t.current=null,n&&(p.cancel(),n.removeAttribute(Pp.contextId),n.removeEventListener("scroll",h,Wh(e.scrollOptions)))}),[h,p]),y=us((function(e){var n=t.current;n||Is(!1);var r=Gh(n);r||Is(!1),r.scrollTop+=e.y,r.scrollLeft+=e.x}),[]),b=as((function(){return{getDimensionAndWatchScroll:v,getScrollWhileDragging:g,dragStopped:m,scroll:y}}),[m,v,g,y]),w=as((function(){return{uniqueId:r,descriptor:l,callbacks:b}}),[b,l,r]);Mp((function(){return c.current=w.descriptor,o.droppable.register(w),function(){t.current&&m(),o.droppable.unregister(w)}}),[b,l,m,w,i,o.droppable]),Mp((function(){t.current&&i.updateDroppableIsEnabled(c.current.id,!e.isDropDisabled)}),[e.isDropDisabled,i]),Mp((function(){t.current&&i.updateDroppableIsCombineEnabled(c.current.id,e.isCombineEnabled)}),[e.isCombineEnabled,i])}({droppableId:c,type:s,mode:f,direction:d,isDropDisabled:h,isCombineEnabled:v,ignoreContainerClipping:p,getDroppableRef:w});var S=u.createElement(Zh,{on:e.placeholder,shouldAnimate:e.shouldAnimatePlaceholder},(function(e){var t=e.onClose,r=e.data,o=e.animate;return u.createElement(Kh,{placeholder:r,onClose:t,innerRef:E,animate:o,contextId:n,onTransitionEnd:k})})),_=as((function(){return{innerRef:x,placeholder:S,droppableProps:{"data-rbd-droppable-id":c,"data-rbd-droppable-context-id":n}}}),[n,c,S,x]),C=m?m.dragging.draggableId:null,O=as((function(){return{droppableId:c,type:s,isUsingCloneFor:C}}),[c,C,s]);return u.createElement(Yh.Provider,{value:O},a(_,g),function(){if(!m)return null;var e=m.dragging,t=m.render,n=u.createElement(sv,{draggableId:e.draggableId,index:e.source.index,isClone:!0,isEnabled:!0,shouldRespectForcePress:!1,canDragInteractiveElements:!0},(function(n,r){return t(n,r,e)}));return l.createPortal(n,b())}())}));gv.defaultProps=vv;var mv,yv=nt.div(hv||(hv=o(["\n align-items: center;\n display: flex;\n margin-bottom: 8px;\n"]))),bv=function(e){var t,n=e.group,r=(0,u.createRef)(),o=Jt(),i=en((function(e){return e.settings.spellCheckerEnabled})),a=en((function(e){return e.settings.canEdit})),l=en((function(e){return e.tasks.groups})),c=n.name,s=it((0,u.useState)(null!==(t=n.draft)&&void 0!==t?t:""),2),f=s[0],d=s[1];if(nn((function(){var e;(null!==(e=n.draft)&&void 0!==e?e:"")!==f&&o(Qo({groupName:c,draft:f}))})),!a)return(0,ui.jsx)(ui.Fragment,{});var p=function(e,t){return 0===e.length||e.reduce((function(e,t){return e.lastActive?t.lastActive?e.lastActive>t.lastActive?e:t:e:t})).name===t}(l,c);return(0,ui.jsx)(yv,{children:(0,ui.jsx)(Hl,{testId:"create-task-input",disabled:!a,enterKeyHint:"go",onChange:function(e){d(e.target.value)},onKeyPress:function(e){if("Enter"===e.key){var t=e.target.value;if(0===t.length)return;o(jo({task:{id:_o(),description:t},groupName:c})),d("")}},placeholder:"Type a task and press enter",ref:r,spellCheck:i,value:f,autoFocus:p})})},wv=nt.button(mv||(mv=o(["\n background-color: var(--sn-stylekit-contrast-background-color);\n border-radius: 4px;\n border-style: none;\n color: var(--sn-stylekit-paragraph-text-color);\n cursor: pointer;\n display: inline;\n font-size: var(--sn-stylekit-font-size-h6);\n font-weight: 500;\n height: 25px;\n margin-right: 10px;\n opacity: 0.96;\n padding: 4px 10px 4px;\n\n &:hover {\n opacity: 0.8;\n text-decoration: none;\n }\n"]))),xv=function(e){var t=e.groupName,n=Jt(),r=en((function(e){return e.settings.canEdit})),o=it((0,u.useState)(!1),2),i=o[0],a=o[1],l=it((0,u.useState)(!1),2),c=l[0],s=l[1];return r?(0,ui.jsxs)("div",{"data-testid":"completed-tasks-actions",children:[(0,ui.jsx)(wv,{onClick:function(){return a(!0)},"data-testid":"reopen-completed-button",children:"Reopen Completed"}),(0,ui.jsx)(wv,{onClick:function(){return s(!0)},"data-testid":"delete-completed-button",children:"Delete Completed"}),i&&(0,ui.jsxs)(gl,{testId:"reopen-all-tasks-dialog",confirmButtonStyle:"danger",confirmButtonCb:function(){return n(Uo({groupName:t}))},cancelButtonCb:function(){return a(!1)},children:["Are you sure you want to reopen completed tasks in the '",(0,ui.jsx)("strong",{children:t}),"' group?"]}),c&&(0,ui.jsxs)(gl,{testId:"delete-completed-tasks-dialog",confirmButtonStyle:"danger",confirmButtonCb:function(){return n(Wo({groupName:t}))},cancelButtonCb:function(){return s(!1)},children:["Are you sure you want to delete completed tasks in the '",(0,ui.jsx)("strong",{children:t}),"' group?"]})]}):(0,ui.jsx)(ui.Fragment,{})};var Ev=u.createContext(null);function kv(e,t){var n=Object.create(null);return e&&u.Children.map(e,(function(e){return e})).forEach((function(e){n[e.key]=function(e){return t&&(0,u.isValidElement)(e)?t(e):e}(e)})),n}function Sv(e,t,n){return null!=n[t]?n[t]:e.props[t]}function _v(e,t){return kv(e.children,(function(n){return(0,u.cloneElement)(n,{onExited:t.bind(null,n),in:!0,appear:Sv(n,"appear",e),enter:Sv(n,"enter",e),exit:Sv(n,"exit",e)})}))}function Cv(e,t,n){var r=kv(e.children),o=function(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var r,o=Object.create(null),i=[];for(var a in e)a in t?i.length&&(o[a]=i,i=[]):i.push(a);var u={};for(var l in t){if(o[l])for(r=0;r<o[l].length;r++){var c=o[l][r];u[o[l][r]]=n(c)}u[l]=n(l)}for(r=0;r<i.length;r++)u[i[r]]=n(i[r]);return u}(t,r);return Object.keys(o).forEach((function(i){var a=o[i];if((0,u.isValidElement)(a)){var l=i in t,c=i in r,s=t[i],f=(0,u.isValidElement)(s)&&!s.props.in;!c||l&&!f?c||!l||f?c&&l&&(0,u.isValidElement)(s)&&(o[i]=(0,u.cloneElement)(a,{onExited:n.bind(null,a),in:s.props.in,exit:Sv(a,"exit",e),enter:Sv(a,"enter",e)})):o[i]=(0,u.cloneElement)(a,{in:!1}):o[i]=(0,u.cloneElement)(a,{onExited:n.bind(null,a),in:!0,exit:Sv(a,"exit",e),enter:Sv(a,"enter",e)})}})),o}var Ov=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},Iv=function(e){function t(t,n){var r,o=(r=e.call(this,t,n)||this).handleExited.bind(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(r));return r.state={contextValue:{isMounting:!0},handleExited:o,firstRender:!0},r}Gi(t,e);var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var n=t.children,r=t.handleExited;return{children:t.firstRender?_v(e,r):Cv(e,n,r),firstRender:!1}},n.handleExited=function(e,t){var n=kv(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var n=w({},t.children);return delete n[e.key],{children:n}})))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,r=Si(e,["component","childFactory"]),o=this.state.contextValue,i=Ov(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,null===t?u.createElement(Ev.Provider,{value:o},i):u.createElement(Ev.Provider,{value:o},u.createElement(t,r,i))},t}(u.Component);Iv.propTypes={},Iv.defaultProps={component:"div",childFactory:function(e){return e}};var Nv=Iv;function Dv(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}var Tv=!1,Rv="unmounted",Av="exited",Pv="entering",Lv="entered",Mv="exiting",jv=function(e){function t(t,n){var r;r=e.call(this,t,n)||this;var o,i=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?i?(o=Av,r.appearStatus=Pv):o=Lv:o=t.unmountOnExit||t.mountOnEnter?Rv:Av,r.state={status:o},r.nextCallback=null,r}Gi(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===Rv?{status:Av}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==Pv&&n!==Lv&&(t=Pv):n!==Pv&&n!==Lv||(t=Mv)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!==typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){void 0===e&&(e=!1),null!==t?(this.cancelNextCallback(),t===Pv?this.performEnter(e):this.performExit()):this.props.unmountOnExit&&this.state.status===Av&&this.setState({status:Rv})},n.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,o=this.props.nodeRef?[r]:[l.findDOMNode(this),r],i=o[0],a=o[1],u=this.getTimeouts(),c=r?u.appear:u.enter;!e&&!n||Tv?this.safeSetState({status:Lv},(function(){t.props.onEntered(i)})):(this.props.onEnter(i,a),this.safeSetState({status:Pv},(function(){t.props.onEntering(i,a),t.onTransitionEnd(c,(function(){t.safeSetState({status:Lv},(function(){t.props.onEntered(i,a)}))}))})))},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:l.findDOMNode(this);t&&!Tv?(this.props.onExit(r),this.safeSetState({status:Mv},(function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:Av},(function(){e.props.onExited(r)}))}))}))):this.safeSetState({status:Av},(function(){e.props.onExited(r)}))},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:l.findDOMNode(this),r=null==e&&!this.props.addEndListener;if(n&&!r){if(this.props.addEndListener){var o=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],i=o[0],a=o[1];this.props.addEndListener(i,a)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===Rv)return null;var t=this.props,n=t.children,r=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,Si(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return u.createElement(Ev.Provider,{value:null},"function"===typeof n?n(e,r):u.cloneElement(u.Children.only(n),r))},t}(u.Component);function Fv(){}jv.contextType=Ev,jv.propTypes={},jv.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Fv,onEntering:Fv,onEntered:Fv,onExit:Fv,onExiting:Fv,onExited:Fv},jv.UNMOUNTED=Rv,jv.EXITED=Av,jv.ENTERING=Pv,jv.ENTERED=Lv,jv.EXITING=Mv;var Bv=jv,zv=function(e,t){return e&&t&&t.split(" ").forEach((function(t){return r=t,void((n=e).classList?n.classList.remove(r):"string"===typeof n.className?n.className=Dv(n.className,r):n.setAttribute("class",Dv(n.className&&n.className.baseVal||"",r)));var n,r}))},Uv=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).appliedClasses={appear:{},enter:{},exit:{}},t.onEnter=function(e,n){var r=t.resolveArguments(e,n),o=r[0],i=r[1];t.removeClasses(o,"exit"),t.addClass(o,i?"appear":"enter","base"),t.props.onEnter&&t.props.onEnter(e,n)},t.onEntering=function(e,n){var r=t.resolveArguments(e,n),o=r[0],i=r[1]?"appear":"enter";t.addClass(o,i,"active"),t.props.onEntering&&t.props.onEntering(e,n)},t.onEntered=function(e,n){var r=t.resolveArguments(e,n),o=r[0],i=r[1]?"appear":"enter";t.removeClasses(o,i),t.addClass(o,i,"done"),t.props.onEntered&&t.props.onEntered(e,n)},t.onExit=function(e){var n=t.resolveArguments(e)[0];t.removeClasses(n,"appear"),t.removeClasses(n,"enter"),t.addClass(n,"exit","base"),t.props.onExit&&t.props.onExit(e)},t.onExiting=function(e){var n=t.resolveArguments(e)[0];t.addClass(n,"exit","active"),t.props.onExiting&&t.props.onExiting(e)},t.onExited=function(e){var n=t.resolveArguments(e)[0];t.removeClasses(n,"exit"),t.addClass(n,"exit","done"),t.props.onExited&&t.props.onExited(e)},t.resolveArguments=function(e,n){return t.props.nodeRef?[t.props.nodeRef.current,e]:[e,n]},t.getClassNames=function(e){var n=t.props.classNames,r="string"===typeof n,o=r?""+(r&&n?n+"-":"")+e:n[e];return{baseClassName:o,activeClassName:r?o+"-active":n[e+"Active"],doneClassName:r?o+"-done":n[e+"Done"]}},t}Gi(t,e);var n=t.prototype;return n.addClass=function(e,t,n){var r=this.getClassNames(t)[n+"ClassName"],o=this.getClassNames("enter").doneClassName;"appear"===t&&"done"===n&&o&&(r+=" "+o),"active"===n&&e&&e.scrollTop,r&&(this.appliedClasses[t][n]=r,function(e,t){e&&t&&t.split(" ").forEach((function(t){return r=t,void((n=e).classList?n.classList.add(r):function(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")}(n,r)||("string"===typeof n.className?n.className=n.className+" "+r:n.setAttribute("class",(n.className&&n.className.baseVal||"")+" "+r)));var n,r}))}(e,r))},n.removeClasses=function(e,t){var n=this.appliedClasses[t],r=n.base,o=n.active,i=n.done;this.appliedClasses[t]={},r&&zv(e,r),o&&zv(e,o),i&&zv(e,i)},n.render=function(){var e=this.props,t=(e.classNames,Si(e,["classNames"]));return u.createElement(Bv,w({},t,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},t}(u.Component);Uv.defaultProps={classNames:""},Uv.propTypes={};var Wv,Hv,Gv,Vv,$v,qv,Kv=Uv,Yv=nt.div(Wv||(Wv=o(["\n align-content: center;\n align-items: center;\n display: flex;\n flex-direction: row;\n min-width: 10%;\n max-width: 90%;\n"]))),Zv=function(e){var t=e.task,n=e.groupName,r=(0,u.useRef)(null),o=(0,u.useRef)(null),i=Jt(),a=en((function(e){return e.settings.canEdit})),l=en((function(e){return e.settings.spellCheckerEnabled})),c=it((0,u.useState)(!!t.completed),2),s=c[0],f=c[1],d=it((0,u.useState)(t.description),2),p=d[0],h=d[1];function v(e){if(e){e.style.height="1px",e.style.height=e.scrollHeight-4+"px";var t=parseFloat(e.style.height),n=r.current;t>20?(null===n||void 0===n||n.classList.add("align-baseline"),null===n||void 0===n||n.classList.remove("align-center")):(null===n||void 0===n||n.classList.add("align-center"),null===n||void 0===n||n.classList.remove("align-baseline"))}}return nn((function(){p!==t.description&&i(Fo({task:{id:t.id,description:p},groupName:n}))})),tn(o,v),(0,ui.jsxs)(Yv,{className:"task-item","data-testid":"task-item",ref:r,children:[(0,ui.jsx)(li,{testId:"check-box-input",checked:s,disabled:!a,onChange:function(){var e=!s;f(e);var r,a=o.current;e?null===a||void 0===a||(r=a.classList).add.apply(r,["cross-out","info-color"]):null===a||void 0===a||a.classList.add("no-text-decoration"),i(Bo({id:t.id,groupName:n}))},onClick:function(e){var n,o=e.currentTarget,i=null===(n=r.current)||void 0===n?void 0:n.parentElement;t.completed?(o.classList.remove("explode"),null===i||void 0===i||i.classList.add("completed")):(o.classList.add("explode"),null===i||void 0===i||i.classList.add("opened"))}}),(0,ui.jsx)(Ul,{testId:"text-area-input",className:"text-area-input",disabled:!a||!!s,onChange:function(e){h(e.target.value)},onKeyPress:function(e){"Enter"===e.key&&e.preventDefault()},onKeyUp:function(e){"Enter"===e.key&&0===p.length&&(i(zo({id:t.id,groupName:n})),e.preventDefault()),v(e.target)},ref:o,spellCheck:l,value:p})]})},Xv=["style"],Qv=nt.div(Hv||(Hv=o(["\n align-items: center;\n display: flex;\n\n & > *:first-child {\n margin-right: 14px;\n }\n"]))),Jv=nt.div(Gv||(Gv=o(["\n display: flex;\n flex-direction: column;\n\n & > *:not(:last-child) {\n margin-bottom: 9px;\n }\n"]))),eg=nt.div(Vv||(Vv=o(["\n margin-bottom: ",";\n"])),(function(e){var t=e.addMargin,n=e.items,r=e.collapsed;return t&&n>0&&!r?"10px":"0"})),tg=nt.div($v||($v=o(["\n margin-top: ",";\n"])),(function(e){var t=e.addMargin,n=e.items;return t&&n>0?"15px":"0"})),ng=nt.div(qv||(qv=o(["\n color: var(--sn-stylekit-foreground-color);\n"])));var rg,og,ig=function(e,t){return ur(ur({},t),e&&{color:"var(--sn-stylekit-info-color)",fontWeight:500})},ag=function(e){var t=e.groupName,n=e.tasks,r=e.section,o=e.allTasks,i=e.testId,a=e.children,l=Jt(),c=en((function(e){return e.settings.canEdit})),s="".concat(r.id,"-droppable"),f=it((0,u.useState)(!!r.collapsed),2),d=f[0],p=f[1];function h(){p(!d)}var v=function(e){var t=(0,u.useRef)();return(0,u.useEffect)((function(){t.current=e}),[e]),t.current}(o);return(0,u.useEffect)((function(){l(Xo({groupName:t,type:r.id,collapsed:d}))}),[d,l,t,r.id]),(0,ui.jsx)(eg,{"data-testid":i,addMargin:"open-tasks"===r.id,items:n.length,collapsed:d,children:(0,ui.jsx)(gv,{droppableId:s,isDropDisabled:!c,children:function(e){return(0,ui.jsxs)(ng,{children:[(0,ui.jsx)(Qv,{children:(0,ui.jsx)(Bl,{onClick:h,children:r.name})}),!d&&(0,ui.jsxs)(Jv,ur(ur({},e.droppableProps),{},{className:"".concat(r.id,"-container"),ref:e.innerRef,children:[(0,ui.jsx)(Nv,{component:null,children:n.map((function(e,n){var r=function(e){return{enter:e?1800:1200,exit:e?1200:1800}}(e.completed);return(0,ui.jsx)(Kv,{timeout:r,classNames:{enter:"fade-in",enterActive:"fade-in",enterDone:"fade-in",exit:"fade-out",exitActive:"fade-out",exitDone:"fade-out"},onEnter:function(t){var n=v.find((function(t){return t.id===e.id}));n&&t.classList.add("hide");var r=!!e.completed;r&&t.classList.add("explode"),!r&&t.classList.remove("explode")},onEntered:function(e){e.classList.remove("hide"),setTimeout((function(){var t;return(t=e.classList).remove.apply(t,["fade-in","explode"])}),r.enter)},children:(0,ui.jsx)(fv,{draggableId:"draggable-".concat(e.id),index:n,isDragDisabled:!c,children:function(n,r){var o=n.innerRef,i=n.draggableProps,a=n.dragHandleProps,u=r.isDragging,l=i.style,c=yl(i,Xv);return(0,ui.jsx)("div",ur(ur(ur({style:ig(u,l),ref:o},c),a),{},{children:(0,ui.jsx)(Zv,{task:e,groupName:t},"task-item-".concat(e.id))}))}},"draggable-".concat(e.id))},e.id)}))}),e.placeholder]})),(0,ui.jsx)(tg,{addMargin:"completed-tasks"===r.id,items:n.length,children:a})]})}})})},ug=nt.div(rg||(rg=o(["\n position: relative;\n"]))),lg=function(e){var t,n=e.group,r=Jt(),o=en((function(e){return e.tasks.defaultSections}));function i(e){if(!!e.destination){var t=e.source,o=e.destination;o&&r($o({groupName:n.name,swapTaskIndex:t.index,withTaskIndex:o.index,isSameSection:t.droppableId===o.droppableId}))}}var a=null!==(t=n.sections)&&void 0!==t?t:o;return(0,ui.jsx)(ug,{"data-testid":"task-section-list",children:a.map((function(e){var t=n.tasks.filter((function(t){return"completed-tasks"===e.id?!0===t.completed:!t.completed}));return(0,ui.jsx)(Nh,{onDragEnd:i,children:(0,ui.jsx)(ag,{testId:"".concat(e.id,"-section"),groupName:n.name,section:e,tasks:t,allTasks:n.tasks,children:"completed-tasks"===e.id&&t.length>0&&(0,ui.jsx)(xv,{groupName:n.name})})},"".concat(e.id,"-section-dnd"))}))})},cg=["bottom","height","left","right","top","width"],sg=new Map,fg=function e(){var t=[];sg.forEach((function(e,n){var r=n.getBoundingClientRect();(function(e,t){return void 0===e&&(e={}),void 0===t&&(t={}),cg.some((function(n){return e[n]!==t[n]}))})(r,e.rect)&&(e.rect=r,t.push(e))})),t.forEach((function(e){e.callbacks.forEach((function(t){return t(e.rect)}))})),og=window.requestAnimationFrame(e)};var dg=function(e,t){return{observe:function(){var n=0===sg.size;sg.has(e)?sg.get(e).callbacks.push(t):sg.set(e,{rect:void 0,hasRectChanged:!1,callbacks:[t]}),n&&fg()},unobserve:function(){var n=sg.get(e);if(n){var r=n.callbacks.indexOf(t);r>=0&&n.callbacks.splice(r,1),n.callbacks.length||sg.delete(e),sg.size||cancelAnimationFrame(og)}}}};function pg(e,t,n){var r,o,i;"boolean"===typeof t?r=t:(r=null==(i=null==t?void 0:t.observe)||i,o=null==t?void 0:t.onChange);yi(n)&&(o=n);var a=(0,u.useState)(e.current),l=a[0],c=a[1],s=(0,u.useRef)(!1),f=(0,u.useRef)(!1),d=(0,u.useState)(null),p=d[0],h=d[1],v=(0,u.useRef)(o);return pi((function(){v.current=o,e.current!==l&&c(e.current)})),pi((function(){l&&!s.current&&(s.current=!0,h(l.getBoundingClientRect()))}),[l]),pi((function(){if(r){var t=l;if(f.current||(f.current=!0,t=e.current),t){var n=dg(t,(function(e){null==v.current||v.current(e),h(e)}));return n.observe(),function(){n.unobserve()}}}}),[r,l,e]),p}var hg=n(9),vg=n.n(hg);function gg(){return gg=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},gg.apply(this,arguments)}var mg=["as","targetRef","position","unstable_observableRefs"],yg=(0,u.forwardRef)((function(e,t){return(0,u.createElement)(vi,null,(0,u.createElement)(bg,gg({ref:t},e)))}));var bg=(0,u.forwardRef)((function(e,t){var n=e.as,r=void 0===n?"div":n,o=e.targetRef,i=e.position,a=void 0===i?Eg:i,l=e.unstable_observableRefs,c=void 0===l?[]:l,s=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,mg),f=(0,u.useRef)(null),d=pg(f,{observe:!s.hidden}),p=pg(o,{observe:!s.hidden}),h=Ei(f,t);return function(e,t){var n=gi(e.current);function r(e){"Tab"===e.key&&t.current&&0===vg()(t.current).length||("Tab"===e.key&&e.shiftKey?s(e)?f(e):d(e)?p(e):v(e)&&m():"Tab"===e.key&&(i()?a(e):l()?c(e):h(e)&&m()))}function o(){var r=vg()(n),o=r&&e.current?r.indexOf(e.current):-1,i=r&&r[o+1];return(!t.current||!t.current.contains(i||null))&&i}function i(){return!!e.current&&e.current===n.activeElement}function a(e){var n=t.current&&vg()(t.current);n&&n[0]&&(e.preventDefault(),n[0].focus())}function l(){if(!!t.current&&t.current.contains(n.activeElement||null)){var e=t.current&&vg()(t.current);return Boolean(e&&e[e.length-1]===n.activeElement)}return!1}function c(e){var t=o();t&&(e.preventDefault(),t.focus())}function s(e){if(e.shiftKey){var t=o();return e.target===t}}function f(e){var n=t.current&&vg()(t.current),r=n&&n[n.length-1];r&&(e.preventDefault(),r.focus())}function d(e){var n=t.current&&vg()(t.current);return!!n&&(0!==n.length&&e.target===n[0])}function p(t){var n;t.preventDefault(),null==(n=e.current)||n.focus()}function h(e){var r=t.current?vg()(n).filter((function(e){return!t.current.contains(e)})):null;return!!r&&e.target===r[r.length-1]}function v(e){return e.target===vg()(n)[0]}(0,u.useEffect)((function(){return n.addEventListener("keydown",r),function(){n.removeEventListener("keydown",r)}}),[]);var g=[];function m(){var e=t.current&&vg()(t.current);e&&(e.forEach((function(e){g.push([e,e.tabIndex]),e.tabIndex=-1})),n.addEventListener("focusin",y))}function y(){n.removeEventListener("focusin",y),g.forEach((function(e){var t=e[0],n=e[1];t.tabIndex=n}))}}(o,f),(0,u.createElement)(r,gg({"data-reach-popover":"",ref:h},s,{style:gg({position:"absolute"},wg.apply(void 0,[a,p,d].concat(c)),s.style)}))}));function wg(e,t,n){for(var r=arguments.length,o=new Array(r>3?r-3:0),i=3;i<r;i++)o[i-3]=arguments[i];return n?e.apply(void 0,[t,n].concat(o.map((function(e){return e.current})))):{visibility:"hidden"}}function xg(e,t,n){return{top:n?e.top-t.height+window.pageYOffset+"px":e.top+e.height+window.pageYOffset+"px"}}var Eg=function(e,t){if(!e||!t)return{};var n=kg(e,t),r=n.directionRight,o=n.directionUp;return gg({left:r?e.right-t.width+window.pageXOffset+"px":e.left+window.pageXOffset+"px"},xg(e,t,o))};function kg(e,t,n,r){void 0===n&&(n=0),void 0===r&&(r=0);var o={top:e.top-t.height<0,right:window.innerWidth<e.left+t.width-n,bottom:window.innerHeight<e.bottom+t.height-r,left:e.left+e.width-t.width<0};return{directionRight:o.right&&!o.left,directionLeft:o.left&&!o.right,directionUp:o.bottom&&!o.top,directionDown:o.top&&!o.bottom}}function Sg(){return Sg=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Sg.apply(this,arguments)}var _g=["element","index"];function Cg(e,t){void 0===t&&(t={});return Xu(0,Sg({descendants:[],registerDescendant:mi,unregisterDescendant:mi},t))}function Og(e){var t=e.context,n=e.children,r=e.items,o=e.set,i=(0,u.useCallback)((function(e){var t=e.element,n=e.index,r=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,_g);t&&o((function(e){var o;if(null!=n)return[].concat(e,[Sg({},r,{element:t,index:n})]).sort((function(e,t){return e.index-t.index}));if(0===e.length)o=[Sg({},r,{element:t,index:0})];else if(e.find((function(e){return e.element===t})))o=e;else{var i=e.findIndex((function(e){return!(!e.element||!t)&&Boolean(e.element.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_PRECEDING)})),a=Sg({},r,{element:t,index:i});o=-1===i?[].concat(e,[a]):[].concat(e.slice(0,i),[a],e.slice(i))}return o.map((function(e,t){return Sg({},e,{index:t})}))}))}),[]),a=(0,u.useCallback)((function(e){e&&o((function(t){return t.filter((function(t){return e!==t.element}))}))}),[]);return(0,u.createElement)(t.Provider,{value:(0,u.useMemo)((function(){return{descendants:r,registerDescendant:i,unregisterDescendant:a}}),[r,i,a])},n)}function Ig(e){return"which"in e?3===e.which:"button"in e&&2===e.button}function Ng(e){var t=(0,u.useRef)(null);return(0,u.useEffect)((function(){t.current=e}),[e]),t.current}function Dg(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function Tg(){return Tg=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Tg.apply(this,arguments)}var Rg=["onKeyDown","onMouseDown","id","ref"],Ag=["index","isLink","onClick","onDragStart","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseUp","onSelect","disabled","onFocus","valueText","ref"],Pg=["id","onKeyDown","ref"],Lg=["onBlur","portal","position","ref"],Mg="CLEAR_SELECTION_INDEX",jg="CLICK_MENU_ITEM",Fg="CLOSE_MENU",Bg="OPEN_MENU_AT_INDEX",zg="OPEN_MENU_CLEARED",Ug="SEARCH_FOR_ITEM",Wg="SELECT_ITEM_AT_INDEX",Hg="SET_BUTTON_ID",Gg=Cg(),Vg=Xu(0,{}),$g={triggerId:null,isExpanded:!1,typeaheadQuery:"",selectionIndex:-1},qg=function(e){var t=e.id,n=e.children,r=(0,u.useRef)(null),o=(0,u.useRef)(null),i=(0,u.useRef)(null),a=(0,u.useState)([]),l=a[0],c=a[1],s=Zu(t),f=t||Qu("menu",s),d=Qu("menu-button",f),p=(0,u.useReducer)(em,Tg({},$g,{triggerId:d})),h=p[0],v=p[1],g=(0,u.useRef)(!1),m=(0,u.useRef)([]),y=(0,u.useRef)(!1),b=(0,u.useRef)({x:0,y:0}),w={dispatch:v,dropdownId:f,dropdownRef:o,mouseDownStartPosRef:b,popoverRef:i,readyToSelect:y,selectCallbacks:m,state:h,triggerClickedRef:g,triggerRef:r};return(0,u.useEffect)((function(){h.isExpanded?(window.__REACH_DISABLE_TOOLTIPS=!0,window.requestAnimationFrame((function(){Jg(o.current)}))):window.__REACH_DISABLE_TOOLTIPS=!1}),[h.isExpanded]),(0,u.createElement)(Og,{context:Gg,items:l,set:c},(0,u.createElement)(Vg.Provider,{value:w},yi(n)?n({isExpanded:h.isExpanded,isOpen:h.isExpanded}):n))};function Kg(e){var t=e.onKeyDown,n=e.onMouseDown,r=e.id,o=e.ref,i=Dg(e,Rg),a=tm(),l=a.dispatch,c=a.dropdownId,s=a.mouseDownStartPosRef,f=a.triggerClickedRef,d=a.triggerRef,p=a.state,h=p.triggerId,v=p.isExpanded,g=Ei(d,o),m=nm(),y=(0,u.useMemo)((function(){return m.findIndex((function(e){return!e.disabled}))}),[m]);return(0,u.useEffect)((function(){null!=r&&r!==h&&l({type:Hg,payload:r})}),[h,l,r]),{data:{isExpanded:v,controls:c},props:Tg({},i,{ref:g,id:h||void 0,onKeyDown:ki(t,(function(e){switch(e.key){case"ArrowDown":case"ArrowUp":e.preventDefault(),l({type:Bg,payload:{index:y}});break;case"Enter":case" ":l({type:Bg,payload:{index:y}})}})),onMouseDown:ki(n,(function(e){Ig(e.nativeEvent)||(s.current={x:e.clientX,y:e.clientY},v||(f.current=!0),l(v?{type:Fg}:{type:zg}))})),type:"button"})}}function Yg(e){var t=e.index,n=e.isLink,r=void 0!==n&&n,o=e.onClick,i=e.onDragStart,a=e.onMouseDown,l=e.onMouseEnter,c=e.onMouseLeave,s=e.onMouseMove,f=e.onMouseUp,d=e.onSelect,p=e.disabled,h=e.onFocus,v=e.valueText,g=e.ref,m=Dg(e,Ag),y=tm(),b=y.dispatch,w=y.dropdownRef,x=y.mouseDownStartPosRef,E=y.readyToSelect,k=y.selectCallbacks,S=y.triggerRef,_=y.state,C=_.selectionIndex,O=_.isExpanded,I=(0,u.useRef)(null),N=(0,u.useState)(v||""),D=N[0],T=N[1],R=(0,u.useCallback)((function(e){!v&&null!=e&&e.textContent&&T(e.textContent)}),[v]),A=(0,u.useRef)(!1),P=function(e,t){var n=(0,u.useState)(t),r=n[0],o=n[1];return[r,(0,u.useCallback)((function(t){e.current=t,o(t)}),[])]}(I,null),L=P[0],M=P[1],j=function(e,t,n){var r=hi(),o=(0,u.useContext)(t),i=o.registerDescendant,a=o.unregisterDescendant,l=o.descendants,c=null!=n?n:l.findIndex((function(t){return t.element===e.element}));return pi((function(){return e.element||r(),i(Sg({},e,{index:c})),function(){a(e.element)}}),[e,r,c,i,a].concat(Object.values(e))),c}((0,u.useMemo)((function(){return{element:L,key:D,disabled:p,isLink:r}}),[p,L,r,D]),Gg,t),F=j===C&&!p,B=Ei(g,M,R);function z(){Jg(S.current),d&&d(),b({type:jg})}return k.current[j]=d,(0,u.useEffect)((function(){if(O){var e=window.setTimeout((function(){E.current=!0}),400);return function(){window.clearTimeout(e)}}E.current=!1}),[O,E]),(0,u.useEffect)((function(){var e=gi(I.current);return e.addEventListener("mouseup",t),function(){e.removeEventListener("mouseup",t)};function t(){A.current=!1}}),[]),{data:{disabled:p},props:Tg({id:Qg(j),tabIndex:-1},m,{ref:B,"data-disabled":p?"":void 0,"data-selected":F?"":void 0,"data-valuetext":D,onClick:ki(o,(function(e){Ig(e.nativeEvent)||r&&(p?e.preventDefault():z())})),onDragStart:ki(i,(function(e){r&&e.preventDefault()})),onMouseDown:ki(a,(function(e){Ig(e.nativeEvent)||(r?A.current=!0:e.preventDefault())})),onMouseEnter:ki(l,(function(e){var t=gi(w.current);F||null==j||p||(null!=w&&w.current&&w.current!==t.activeElement&&I.current!==t.activeElement&&w.current.focus(),b({type:Wg,payload:{index:j}}))})),onMouseLeave:ki(c,(function(e){b({type:Mg})})),onMouseMove:ki(s,(function(e){if(!E.current){var t=Math.abs(e.clientX-x.current.x),n=Math.abs(e.clientY-x.current.y);(t>8||n>8)&&(E.current=!0)}F||null==j||p||b({type:Wg,payload:{index:j,dropdownRef:w}})})),onFocus:ki(h,(function(){E.current=!0,F||null==j||p||b({type:Wg,payload:{index:j}})})),onMouseUp:ki(f,(function(e){Ig(e.nativeEvent)||(E.current?r?A.current?A.current=!1:I.current&&I.current.click():p||z():E.current=!0)}))})}}function Zg(e){e.id;var t=e.onKeyDown,n=e.ref,r=Dg(e,Pg),o=tm(),i=o.dispatch,a=o.triggerRef,l=o.dropdownRef,c=o.selectCallbacks,s=o.dropdownId,f=o.state,d=f.isExpanded,p=f.triggerId,h=f.selectionIndex,v=f.typeaheadQuery,g=nm(),m=Ei(l,n);(0,u.useEffect)((function(){var e=function(e,t){void 0===t&&(t="");if(!t)return null;var n=e.find((function(e){var n,r,o;return!e.disabled&&(null==(n=e.element)||null==(r=n.dataset)||null==(o=r.valuetext)?void 0:o.toLowerCase().startsWith(t))}));return n?e.indexOf(n):null}(g,v);v&&null!=e&&i({type:Wg,payload:{index:e,dropdownRef:l}});var t=window.setTimeout((function(){return v&&i({type:Ug,payload:""})}),1e3);return function(){return window.clearTimeout(t)}}),[i,g,v,l]);var y=Ng(g.length),b=Ng(g[h]),w=Ng(h);(0,u.useEffect)((function(){h>g.length-1?i({type:Wg,payload:{index:g.length-1,dropdownRef:l}}):y!==g.length&&h>-1&&b&&w===h&&g[h]!==b&&i({type:Wg,payload:{index:g.findIndex((function(e){return e.key===(null==b?void 0:b.key)})),dropdownRef:l}})}),[l,i,g,y,b,w,h]);var x=ki((function(e){var t=e.key;if(d)switch(t){case"Enter":case" ":var n=g.find((function(e){return e.index===h}));n&&!n.disabled&&(e.preventDefault(),n.isLink&&n.element?n.element.click():(Jg(a.current),c.current[n.index]&&c.current[n.index](),i({type:jg})));break;case"Escape":Jg(a.current),i({type:Fg});break;case"Tab":e.preventDefault();break;default:if("string"===typeof t&&1===t.length){var r=v+t.toLowerCase();i({type:Ug,payload:r})}}}),function(e,t){var n=(0,u.useContext)(e).descendants,r=t.callback,o=t.currentIndex,i=t.filter,a=t.key,l=void 0===a?"index":a,c=t.orientation,s=void 0===c?"vertical":c,f=t.rotate,d=void 0===f||f,p=t.rtl,h=void 0!==p&&p;return function(e){if(["ArrowDown","ArrowUp","ArrowLeft","ArrowRight","PageUp","PageDown","Home","End"].includes(e.key)){var t=null!=o?o:-1,a=i?n.filter(i):n;if(a.length){var u=a.findIndex((function(e){return e.index===o}));switch(e.key){case"ArrowDown":if("vertical"===s||"both"===s){e.preventDefault();var c=w();r("option"===l?c:c[l])}break;case"ArrowUp":if("vertical"===s||"both"===s){e.preventDefault();var f=x();r("option"===l?f:f[l])}break;case"ArrowLeft":if("horizontal"===s||"both"===s){e.preventDefault();var p=(h?w:x)();r("option"===l?p:p[l])}break;case"ArrowRight":if("horizontal"===s||"both"===s){e.preventDefault();var v=(h?x:w)();r("option"===l?v:v[l])}break;case"PageUp":e.preventDefault();var g=(e.ctrlKey?x:E)();r("option"===l?g:g[l]);break;case"Home":e.preventDefault();var m=E();r("option"===l?m:m[l]);break;case"PageDown":e.preventDefault();var y=(e.ctrlKey?w:k)();r("option"===l?y:y[l]);break;case"End":e.preventDefault();var b=k();r("option"===l?b:b[l])}}}function w(){return t===k().index?d?E():a[u]:a[(u+1)%a.length]}function x(){return t===E().index?d?k():a[u]:a[(u-1+a.length)%a.length]}function E(){return a[0]}function k(){return a[a.length-1]}}}(Gg,{currentIndex:h,orientation:"vertical",rotate:!1,filter:function(e){return!e.disabled},callback:function(e){i({type:Wg,payload:{index:e,dropdownRef:l}})},key:"index"}));return{data:{activeDescendant:Qg(h)||void 0,triggerId:p},props:Tg({tabIndex:-1},r,{ref:m,id:s,onKeyDown:ki(t,x)})}}function Xg(e){var t=e.onBlur,n=e.portal,r=void 0===n||n,o=e.position,i=e.ref,a=Dg(e,Lg),l=tm(),c=l.triggerRef,s=l.triggerClickedRef,f=l.dispatch,d=l.dropdownRef,p=l.popoverRef,h=l.state.isExpanded,v=Ei(p,i);return(0,u.useEffect)((function(){if(h){var e=gi(p.current);return e.addEventListener("mousedown",t),function(){e.removeEventListener("mousedown",t)}}function t(e){var t,n;s.current?s.current=!1:(t=p.current,n=e.target,t&&t.contains(n)||f({type:Fg}))}}),[s,c,f,d,p,h]),{data:{portal:r,position:o,targetRef:c,isExpanded:h},props:Tg({ref:v,hidden:!h,onBlur:ki(t,(function(e){e.currentTarget.contains(e.relatedTarget)||f({type:Fg})}))},a)}}function Qg(e){var t=(0,u.useContext)(Vg).dropdownId;return null!=e&&e>-1?Qu("option-"+e,t):void 0}function Jg(e){e&&e.focus()}function em(e,t){switch(void 0===t&&(t={}),t.type){case jg:case Fg:return Tg({},e,{isExpanded:!1,selectionIndex:-1});case"OPEN_MENU_AT_FIRST_ITEM":return Tg({},e,{isExpanded:!0,selectionIndex:0});case Bg:return Tg({},e,{isExpanded:!0,selectionIndex:t.payload.index});case zg:return Tg({},e,{isExpanded:!0,selectionIndex:-1});case Wg:var n=t.payload.dropdownRef,r=void 0===n?{current:null}:n;if(t.payload.index>=0&&t.payload.index!==e.selectionIndex){if(r.current){var o=gi(r.current);r.current!==(null==o?void 0:o.activeElement)&&r.current.focus()}return Tg({},e,{selectionIndex:null!=t.payload.max?Math.min(Math.max(t.payload.index,0),t.payload.max):Math.max(t.payload.index,0)})}return e;case Mg:return Tg({},e,{selectionIndex:-1});case Hg:return Tg({},e,{triggerId:t.payload});case Ug:return"undefined"!==typeof t.payload?Tg({},e,{typeaheadQuery:t.payload}):e;default:return e}}function tm(){return(0,u.useContext)(Vg)}function nm(){return e=Gg,(0,u.useContext)(e).descendants;var e}function rm(){return rm=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},rm.apply(this,arguments)}function om(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}var im=["as","id","children"],am=["as"],um=["as"],lm=["as"],cm=["as"],sm=["portal"],fm=["as"],dm=(0,u.forwardRef)((function(e,t){var n=e.as,r=void 0===n?u.Fragment:n,o=e.id,i=e.children,a=om(e,im),l=(0,u.useMemo)((function(){try{return(0,b.isFragment)((0,u.createElement)(r,null))}catch(zm){return!1}}),[r])?{}:rm({ref:t,id:o,"data-reach-menu":""},a);return(0,u.createElement)(r,l,(0,u.createElement)(qg,{id:o,children:i}))}));var pm=(0,u.forwardRef)((function(e,t){var n=e.as,r=void 0===n?"button":n,o=Kg(rm({},om(e,am),{ref:t})),i=o.data,a=i.isExpanded,l=i.controls,c=o.props;return(0,u.createElement)(r,rm({"aria-expanded":!!a||void 0,"aria-haspopup":!0,"aria-controls":l},c,{"data-reach-menu-button":""}))}));var hm=(0,u.forwardRef)((function(e,t){var n=e.as,r=void 0===n?"div":n,o=Yg(rm({},om(e,um),{ref:t})),i=o.data.disabled,a=o.props;return(0,u.createElement)(r,rm({role:"menuitem"},a,{"aria-disabled":i||void 0,"data-reach-menu-item":""}))})),vm=(0,u.forwardRef)((function(e,t){var n=e.as,r=void 0===n?"div":n,o=om(e,lm);return(0,u.createElement)(hm,rm({},o,{ref:t,as:r}))}));var gm=(0,u.forwardRef)((function(e,t){var n=e.as,r=void 0===n?"div":n,o=Zg(rm({},om(e,cm),{ref:t})),i=o.data,a=i.activeDescendant,l=i.triggerId,c=o.props;return(0,u.createElement)(r,rm({"aria-activedescendant":a,"aria-labelledby":l||void 0,role:"menu"},c,{"data-reach-menu-items":""}))}));var mm=(0,u.forwardRef)((function(e,t){var n=e.portal,r=void 0===n||n,o=om(e,sm);return(0,u.createElement)(ym,{portal:r},(0,u.createElement)(gm,rm({},o,{ref:t,"data-reach-menu-list":""})))}));var ym=(0,u.forwardRef)((function(e,t){var n=e.as,r=void 0===n?"div":n,o=Xg(rm({},om(e,fm),{ref:t})),i=o.data,a=i.portal,l=i.targetRef,c=i.position,s=o.props,f={"data-reach-menu-popover":""};return a?(0,u.createElement)(yg,rm({},s,f,{as:r,targetRef:l,position:c})):(0,u.createElement)(r,rm({},s,f))}));function bm(){return bm=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},bm.apply(this,arguments)}var wm=["as","style"],xm=(0,u.forwardRef)((function(e,t){var n=e.as,r=void 0===n?"span":n,o=e.style,i=void 0===o?{}:o,a=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,wm);return(0,u.createElement)(r,bm({ref:t,style:bm({border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap",wordWrap:"normal"},i)},a))}));var Em,km,Sm,_m,Cm=xm,Om=function(e){var t=e.groupName,n=e.handleClose,r=(0,u.useRef)(null),o=Jt(),i=en((function(e){return e.tasks.groups})).filter((function(e){return e.name!==t})),a=it((0,u.useState)(),2),l=a[0],c=a[1];return(0,ui.jsx)(pl,{"data-testid":"merge-task-group-dialog",leastDestructiveRef:r,children:(0,ui.jsx)("div",{className:"sk-modal-content",children:(0,ui.jsx)("div",{className:"sn-component",children:(0,ui.jsx)("div",{className:"sk-panel",children:(0,ui.jsx)("div",{className:"sk-panel-content",children:(0,ui.jsxs)("div",{className:"sk-panel-section",children:[(0,ui.jsx)(fl,{className:"sk-h3 sk-panel-section-title",children:"Merging task groups"}),i.length>0?(0,ui.jsxs)(ui.Fragment,{children:[(0,ui.jsx)(dl,{className:"sk-panel-row",children:(0,ui.jsxs)("p",{className:"color-foreground",children:["Select which group you want to merge '",(0,ui.jsx)("strong",{children:t}),"' into:"]})}),(0,ui.jsx)("fieldset",{className:"flex flex-col",onChange:function(e){var t=e.target.value;c(t)},children:i.map((function(e){return(0,ui.jsxs)("label",{className:"flex items-center mb-1",children:[(0,ui.jsx)("input",{type:"radio",value:e.name,checked:e.name===l,readOnly:!0}),e.name]},e.name)}))})]}):(0,ui.jsx)(dl,{children:(0,ui.jsxs)("p",{className:"color-foreground",children:["There are no other groups to merge '",(0,ui.jsx)("strong",{children:t}),"' with."]})}),(0,ui.jsxs)("div",{className:"flex my-1 mt-4",children:[(0,ui.jsx)("button",{className:"sn-button small neutral",onClick:n,ref:r,children:l?"Cancel":"Close"}),(0,ui.jsx)("button",{className:"sn-button small ml-2 info",onClick:function(){l?(o(Yo({groupName:t,mergeWith:l})),n()):n()},children:"Merge groups"})]})]})})})})})})},Im=function(e){var t=e.groupName,n=e.handleClose,r=(0,u.useRef)(null),o=Jt(),i=it((0,u.useState)(t),2),a=i[0],l=i[1];function c(){o(Zo({groupName:t,newName:a})),n()}return(0,ui.jsx)(pl,{"data-testid":"rename-task-group-dialog",leastDestructiveRef:r,children:(0,ui.jsx)("div",{className:"sk-modal-content",children:(0,ui.jsx)("div",{className:"sn-component",children:(0,ui.jsx)("div",{className:"sk-panel",children:(0,ui.jsx)("div",{className:"sk-panel-content",children:(0,ui.jsxs)("div",{className:"sk-panel-section",children:[(0,ui.jsxs)(fl,{className:"sk-h3 sk-panel-section-title",children:["Renaming group '",(0,ui.jsx)("strong",{children:t}),"':"]}),(0,ui.jsx)(dl,{children:(0,ui.jsx)(Hl,{testId:"new-group-name-input",autoFocus:!0,onChange:function(e){var t=e.target.value;l(t)},onKeyPress:function(e){"Enter"===e.key&&e.target.value.length>0&&c()},placeholder:"Enter new group name",value:a})}),(0,ui.jsxs)("div",{className:"flex my-1 mt-4",children:[(0,ui.jsx)("button",{className:"sn-button small neutral",onClick:n,ref:r,children:0===a.length?"Close":"Cancel"}),(0,ui.jsx)("button",{className:"sn-button small ml-2 info",disabled:0===a.length,onClick:c,children:"Rename"})]})]})})})})})})},Nm=function(e){var t=e.groupName,n=Jt(),r=it((0,u.useState)(!1),2),o=r[0],i=r[1],a=it((0,u.useState)(!1),2),l=a[0],c=a[1],s=it((0,u.useState)(!1),2),f=s[0],d=s[1];return(0,ui.jsxs)(ui.Fragment,{children:[(0,ui.jsxs)(dm,{children:[(0,ui.jsxs)(pm,{"data-testid":"task-group-options",className:"sn-icon-button",children:[(0,ui.jsxs)(Cm,{children:["Options for '",t,"' group"]}),(0,ui.jsx)(Yl,{})]}),(0,ui.jsxs)(mm,{children:[(0,ui.jsxs)(vm,{"data-testid":"delete-task-group",onSelect:function(){return c(!0)},children:[(0,ui.jsx)(Xl,{}),(0,ui.jsx)("span",{className:"px-1",children:"Delete group"})]}),(0,ui.jsxs)(vm,{"data-testid":"merge-task-group",onSelect:function(){return i(!0)},children:[(0,ui.jsx)(Kl,{}),(0,ui.jsx)("span",{className:"px-1",children:"Merge into another group"})]}),(0,ui.jsxs)(vm,{"data-testid":"rename-task-group",onSelect:function(){return d(!0)},children:[(0,ui.jsx)(Zl,{}),(0,ui.jsx)("span",{className:"px-1",children:"Rename"})]})]})]}),l&&(0,ui.jsxs)(gl,{testId:"delete-task-group-dialog",title:"Delete group",confirmButtonText:"Delete",confirmButtonStyle:"danger",confirmButtonCb:function(){return n(Ko({groupName:t}))},cancelButtonCb:function(){return c(!1)},children:["Are you sure you want to delete the group '",(0,ui.jsx)("strong",{children:t}),"'?"]}),o&&(0,ui.jsx)(Om,{groupName:t,handleClose:function(){return i(!1)}}),f&&(0,ui.jsx)(Im,{groupName:t,handleClose:function(){return d(!1)}})]})},Dm=["group","isDragging","isLast","style","innerRef","onDragStart","onTransitionEnd"],Tm=nt.div(Em||(Em=o(["\n background-color: var(--sn-stylekit-background-color);\n border: 1px solid var(--sn-stylekit-border-color);\n border-radius: 4px;\n box-sizing: border-box;\n padding: 16px 18px;\n margin-bottom: ",";\n\n @media only screen and (max-width: 600px) {\n padding: 8px 10px;\n }\n"])),(function(e){return e.isLast?"0px":"9px"})),Rm=function(e){var t=e.group,n=e.isDragging,r=e.isLast,o=e.style,i=e.innerRef,a=e.onDragStart,l=e.onTransitionEnd,c=yl(e,Dm),s=Jt(),f=t.name,d=t.tasks.filter((function(e){return e.completed})).length,p=t.tasks.length,h=Oo(d,p),v=it((0,u.useState)(!!t.collapsed),2),g=v[0],m=v[1],y=en((function(e){return e.settings.canEdit})),b=p>0&&p===d;return(0,u.useEffect)((function(){s(Xo({groupName:f,type:"group",collapsed:g}))}),[g,s,f]),(0,ui.jsxs)(Tm,{ref:i,style:o,onDragStart:a,onTransitionEnd:l,isLast:r,children:[(0,ui.jsxs)("div",{className:"flex items-center justify-between h-8",children:[(0,ui.jsxs)("div",{className:"flex flex-grow items-center",onClick:function(){g&&m(!1)},children:[(0,ui.jsx)(jl,ur(ur({crossed:b&&g,highlight:n},c),{},{children:f})),(0,ui.jsx)(fi,{size:18,percentage:h}),(0,ui.jsxs)(ml,{"data-testid":"task-group-stats",children:[d,"/",p]})]}),!n&&(0,ui.jsxs)("div",{className:"flex items-center",children:[y&&(0,ui.jsx)("div",{className:"ml-3",children:(0,ui.jsx)(Nm,{groupName:f})}),(0,ui.jsx)("div",{className:"ml-3",children:(0,ui.jsx)(Fl,{testId:"collapse-task-group",onClick:function(){m(!g)},children:g?(0,ui.jsx)($l,{}):(0,ui.jsx)(ql,{})})})]})]}),!g&&(0,ui.jsxs)(ui.Fragment,{children:[(0,ui.jsx)(bv,{group:t}),(0,ui.jsx)(lg,{group:t})]})]})},Am=["onTransitionEnd"],Pm=function(){var e=Jt(),t=en((function(e){return e.settings.canEdit})),n=en((function(e){return e.tasks.groups}));return(0,ui.jsx)(Nh,{"data-testid":"task-group-list",onDragEnd:function(t){if(!!t.destination){var n=t.source,r=t.destination;r&&e(qo({swapGroupIndex:n.index,withGroupIndex:r.index}))}},children:(0,ui.jsx)(gv,{droppableId:"droppable-task-group-list",isDropDisabled:!t,children:function(e){return(0,ui.jsxs)("div",ur(ur({},e.droppableProps),{},{ref:e.innerRef,children:[n.map((function(e,r){return(0,ui.jsx)(fv,{draggableId:"draggable-".concat(e.name),index:r,isDragDisabled:!t,children:function(t,o){var i=t.innerRef,a=t.draggableProps,u=t.dragHandleProps,l=o.isDragging,c=a.onTransitionEnd,s=yl(a,Am);return(0,ui.jsx)(Rm,ur(ur({group:e,isDragging:l,innerRef:i,onTransitionEnd:c,onDragStart:null===u||void 0===u?void 0:u.onDragStart,isLast:n.length-1===r},u),s),"group-".concat(e.name))}},"draggable-".concat(e.name))})),e.placeholder]}))}})})},Lm=function(){return(0,ui.jsx)("svg",{viewBox:"0 0 0 0",style:{position:"absolute",zIndex:-1,opacity:0},children:(0,ui.jsxs)("defs",{children:[(0,ui.jsx)("path",{id:"checkbox-square",d:"M21 12.7v5c0 1.3-1 2.3-2.3 2.3H8.3C7 20 6 19 6 17.7V7.3C6 6 7 5 8.3 5h10.4C20 5 21 6 21 7.3v5.4"}),(0,ui.jsx)("path",{id:"checkbox-mark",d:"M10 13l2 2 5-5"}),(0,ui.jsx)("circle",{id:"checkbox-circle",cx:"13.5",cy:"12.5",r:"10"})]})})},Mm=nt.div(km||(km=o(["\n margin: 6px;\n padding-bottom: 60px;\n"]))),jm=nt.div(Sm||(Sm=o(["\n background-color: var(--sn-stylekit-secondary-background-color);\n border-top: 1px solid var(--sn-stylekit-border-color);\n bottom: 0;\n display: flex;\n position: fixed;\n width: 100%;\n"]))),Fm=nt.div(_m||(_m=o(["\n display: flex;\n justify-content: center;\n margin: 0px;\n padding: 12px 16px;\n position: relative;\n width: 98%;\n"]))),Bm=function(){var e=(0,u.useRef)(),n=(0,u.useRef)(),o=en((function(e){return e.tasks.initialized})),i=en((function(e){return e.tasks.groups})),l=en((function(e){return e.tasks.legacyContent})),s=Jt();var f=(0,u.useCallback)((function(){var o={setEditorRawText:function(e){s(Ho(e))},onNoteValueChange:function(){var o=function(e){return function(){var t=this,n=arguments;return new Promise((function(o,i){var a=e.apply(t,n);function u(e){r(a,o,i,u,l,"next",e)}function l(e){r(a,o,i,u,l,"throw",e)}u(void 0)}))}}(t().mark((function r(o){var i,a,u,l;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e.current=o,a=null!==(i=o.content.appData["org.standardnotes.sn"].locked)&&void 0!==i&&i,u=!a,l=o.content.spellcheck,s(po(u)),s(vo(l)),s(ho(n.current.isRunningInMobileApplication()));case 7:case"end":return t.stop()}}),r)})));return function(e){return o.apply(this,arguments)}}(),onNoteLockToggle:function(e){s(po(!e))},handleRequestForContentHeight:function(){}};n.current=new(a())(o,{mode:"json"})}),[s]);(0,u.useEffect)((function(){f()}),[f]);var d=(0,u.useCallback)((function(){var t=ai.getState().tasks.initialized,r=e.current;r&&t&&(ai.getState().settings.canEdit&&n.current.saveItemWithPresave(r,(function(){var e=ai.getState().tasks,t=e.schemaVersion,n=e.groups,o=e.defaultSections;r.content.text=JSON.stringify({schemaVersion:t,groups:n,defaultSections:o},null,2),r.content.preview_plain=function(e){var t=No(e),n=Io(t).completedTasks;return"".concat(n.length,"/").concat(t.length," tasks completed")}(n),r.content.preview_html=(0,c.renderToString)((0,ui.jsx)(hc,{groupedTasks:n}))})))}),[]);return(0,u.useEffect)((function(){return ai.subscribe((function(){return o&&d()}))})),(0,u.useEffect)((function(){function e(e){e&&e.preventDefault()}return window.addEventListener("drop",e),window.addEventListener("dragover",e),function(){window.removeEventListener("drop",e),window.removeEventListener("dragover",e)}}),[]),l?(0,ui.jsx)(Mm,{children:(0,ui.jsx)(fc,{})}):o?0===i.length?(0,ui.jsx)(Mm,{children:(0,ui.jsx)(lc,{})}):(0,ui.jsxs)(ui.Fragment,{children:[(0,ui.jsx)(Lm,{}),(0,ui.jsx)(Mm,{children:(0,ui.jsx)(Pm,{})}),(0,ui.jsx)(jm,{children:(0,ui.jsx)(Fm,{children:(0,ui.jsx)(lc,{})})})]}):(0,ui.jsx)(Mm,{children:(0,ui.jsx)(sc,{})})};l.render((0,ui.jsx)(u.StrictMode,{children:(0,ui.jsx)(g,{store:ai,children:(0,ui.jsx)(Bm,{})})}),document.getElementById("root"))}()}();
|
|
3
3
|
//# sourceMappingURL=main.js.map
|