@20minutes/tyr 0.1.85 → 0.1.87

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.
Files changed (64) hide show
  1. package/dist/assets/scripts/helpers/ajax.d.ts +3 -0
  2. package/dist/components/organisms/TagPage/TagPageArticlesList.d.ts +10 -3
  3. package/dist/containers/ArticleListBottomContainer/ArticleListBottomContainer.d.ts +3 -0
  4. package/dist/containers/ArticleListBottomContainer/index.d.ts +1 -0
  5. package/dist/css/articlePage-desktop-critical.css +1 -1
  6. package/dist/css/articlePage-mobile-critical.css +1 -1
  7. package/dist/css/articlePage-mobile-no-critical.css +1 -1
  8. package/dist/css/errorPage-desktop-critical.css +1 -1
  9. package/dist/css/errorPage-desktop-no-critical.css +1 -1
  10. package/dist/css/errorPage-mobile-no-critical.css +1 -1
  11. package/dist/css/global.css +1 -1
  12. package/dist/css/horoscopePage-desktop-critical.css +1 -1
  13. package/dist/css/horoscopePage-desktop-no-critical.css +1 -1
  14. package/dist/css/horoscopePage-mobile-no-critical.css +1 -1
  15. package/dist/css/horoscopehomePage-desktop-critical.css +1 -1
  16. package/dist/css/horoscopehomePage-desktop-no-critical.css +1 -1
  17. package/dist/css/horoscopehomePage-mobile-no-critical.css +1 -1
  18. package/dist/css/searchPage-desktop-critical.css +1 -1
  19. package/dist/css/searchPage-desktop-no-critical.css +1 -1
  20. package/dist/css/searchPage-mobile-no-critical.css +1 -1
  21. package/dist/css/tagPage-desktop-critical.css +1 -1
  22. package/dist/css/tagPage-desktop-no-critical.css +1 -1
  23. package/dist/css/tagPage-mobile-no-critical.css +1 -1
  24. package/dist/helpers/assetsHelper.d.ts +10 -0
  25. package/dist/helpers/base64Helper.d.ts +2 -0
  26. package/dist/helpers/dateHelper.d.ts +2 -0
  27. package/dist/helpers/globalIdHelper.d.ts +2 -0
  28. package/dist/helpers/helaHelper.d.ts +3 -0
  29. package/dist/helpers/index.d.ts +1 -3
  30. package/dist/helpers/transformQueryResultIntoPropsHelper.d.ts +9 -0
  31. package/dist/helpers/url.d.ts +3 -0
  32. package/dist/index.d.ts +5 -0
  33. package/dist/index.es.js +13671 -13458
  34. package/dist/index.umd.js +134 -134
  35. package/dist/js/atinternet.min.js +1 -1
  36. package/dist/js/awsRum.min.js +5 -5
  37. package/dist/js/datalayer.min.js +1 -1
  38. package/dist/js/main.min.js +38 -38
  39. package/dist/js/react-and-react-dom.min.js +33212 -397
  40. package/dist/managers/article/ArticlePageManager.d.ts +1 -1
  41. package/dist/templates/HtmlTemplate/HtmlTemplate.d.ts +2 -2
  42. package/dist/types/{ThirdParties/DataLayer → DataLayer}/DataLayerType.d.ts +2 -2
  43. package/dist/types/DataLayer/VariablesDataLayerType.d.ts +23 -0
  44. package/dist/types/EnvVariablesType.d.ts +2 -0
  45. package/dist/types/PageConfig.d.ts +1 -1
  46. package/dist/types/graphql.d.ts +13386 -0
  47. package/dist/types/index.d.ts +1 -1
  48. package/package.json +16 -10
  49. package/dist/types/ThirdParties/Ads/AdSizesType.d.ts +0 -83
  50. package/dist/types/ThirdParties/Ads/SlotType.d.ts +0 -5
  51. package/dist/types/ThirdParties/Ads/TargetingType.d.ts +0 -26
  52. package/dist/types/ThirdParties/Ads/index.d.ts +0 -3
  53. package/dist/types/ThirdParties/AtInternet.d.ts +0 -56
  54. package/dist/types/ThirdParties/Cmp/Didomi.d.ts +0 -31
  55. package/dist/types/ThirdParties/Cmp/VariablesCmpType.d.ts +0 -8
  56. package/dist/types/ThirdParties/Cmp/index.d.ts +0 -2
  57. package/dist/types/ThirdParties/DataLayer/VariablesDataLayerType.d.ts +0 -14
  58. package/dist/types/ThirdParties/Digiteka.d.ts +0 -6
  59. package/dist/types/ThirdParties/Hubvisor.d.ts +0 -4
  60. package/dist/types/ThirdParties/index.d.ts +0 -6
  61. package/dist/types/Window.d.ts +0 -28
  62. /package/dist/types/{ThirdParties/DataLayer → DataLayer}/DefaultDataLayerType.d.ts +0 -0
  63. /package/dist/types/{ThirdParties/DataLayer → DataLayer}/UserDataLayerType.d.ts +0 -0
  64. /package/dist/types/{ThirdParties/DataLayer → DataLayer}/index.d.ts +0 -0
@@ -1,31 +1,31 @@
1
- var TyrBundle=function(Ud,Q3,q,Vd){"use strict";var Qd=(t=>(t.MOBILE="mobile",t.DESKTOP="desktop",t))(Qd||{});const $d=(t,r)=>{const i=t==="dark";r.setAttribute("aria-checked",String(i));const a=r.querySelector("span[aria-hidden]");a&&(a.setAttribute("aria-hidden",String(i)),a.innerHTML=i?"on":"off")},Bb=(t=document.querySelector(".js-switch-dark-mode"))=>{const r=localStorage.getItem("theme")||"light";r&&t&&(document.documentElement.dataset.theme=r,$d(r,t))},Fb=(t=document.querySelector(".js-switch-dark-mode"))=>{t&&t.addEventListener("click",()=>{const r=document.documentElement.dataset.theme,i=!r||r==="light"?"dark":"light";document.documentElement.dataset.theme=i,localStorage.setItem("theme",i),$d(i,t)})},Pb=t=>{var r;const i=t.querySelector(".js-expandButton__label");t.setAttribute("aria-expanded","true"),i.innerHTML="Voir moins",(r=t.previousElementSibling)==null||r.setAttribute("aria-hidden","false")},Kb=t=>{var r;const i=t.querySelector(".js-expandButton__label");t.setAttribute("aria-expanded","false"),i.innerHTML="Voir plus",(r=t.previousElementSibling)==null||r.setAttribute("aria-hidden","true")},Rb=t=>{const r=t.currentTarget;return t.preventDefault(),r.getAttribute("aria-expanded")==="true"?Kb(r):Pb(r)},Ib=(t=document.querySelector(".js-expandButton"))=>{t&&document.querySelectorAll(".js-expandButton").forEach(r=>r.addEventListener("click",Rb))},jb=(t,r)=>{r.stopImmediatePropagation(),r.preventDefault();const i=r.currentTarget,a=document.querySelectorAll(".js-collapse__button"),u=document.querySelectorAll('[role="tabpanel"]'),f=i.getAttribute("aria-controls"),g=Object.values(u).find(y=>y.id===f);if(i.getAttribute("aria-expanded")==="true"){i.setAttribute("aria-expanded","false"),g?.setAttribute("aria-hidden","true");return}a.forEach(y=>{y.setAttribute("aria-expanded","false")}),u.forEach(y=>{y.setAttribute("aria-hidden","true")}),i.setAttribute("aria-expanded","true"),g&&g.removeAttribute("aria-hidden")},Tb=(t=document.querySelector(".js-collapse__button"))=>{t&&document.querySelectorAll(".c-collapse__button").forEach(r=>{r.addEventListener("click",jb.bind(!1,t))})},zb=({navigatedList:t,nextBtn:r,prevBtn:i})=>{t&&(t.scrollLeft>0&&(t.scrollLeft+t.clientWidth<t.scrollWidth&&r.classList.add("o-nav-button--visible"),r.classList.remove("o-nav-button--visible"),i.classList.add("o-nav-button--visible")),t.clientWidth<t.scrollWidth?r.classList.add("o-nav-button--visible"):(i.classList.remove("o-nav-button--visible"),r.classList.remove("o-nav-button--visible")),t.scrollLeft+t.clientWidth===t.scrollWidth&&r.classList.remove("o-nav-button--visible"))},Hb=({navigatedList:t,nextBtn:r,prevBtn:i,sliderVariant:a})=>{if(t)if(t.scrollWidth-t.clientWidth>t.clientWidth){let u=t.scrollLeft;switch(a){case"partners":u+=t.clientWidth+32;break;case"rubrics":u+=t.clientWidth-36;break;default:u+=Math.ceil(t.clientWidth*.6);break}t.scrollTo({left:u,behavior:"smooth"}),i.classList.add("o-nav-button--visible"),u+t.clientWidth>=t.scrollWidth&&r.classList.remove("o-nav-button--visible")}else{const u=t.scrollWidth-t.clientWidth;t.scrollTo({left:u,behavior:"smooth"}),r.classList.remove("o-nav-button--visible"),i.classList.add("o-nav-button--visible")}},qb=({navigatedList:t,nextBtn:r,prevBtn:i,sliderVariant:a})=>{if(t)if(t.clientWidth<t.scrollLeft){let u=t.scrollLeft;switch(a){case"partners":u-=t.clientWidth+32;break;case"rubrics":u-=t.clientWidth-36;break;default:u-=Math.ceil(t.clientWidth*.6);break}t.scrollTo({left:u,behavior:"smooth"}),r.classList.add("o-nav-button--visible"),u===0&&i.classList.remove("o-nav-button--visible")}else t.scrollTo({left:0,behavior:"smooth"}),i.classList.remove("o-nav-button--visible"),t.clientWidth<t.scrollWidth&&r.classList.add("o-nav-button--visible")},Ab=({navigatedList:t,nextBtn:r,prevBtn:i})=>{zb({navigatedList:t,nextBtn:r,prevBtn:i})},Ub=()=>{const t=document.querySelectorAll(".js-navigation-container");for(const r of Array.from(t)){const{sliderVariant:i}=r.dataset;if(r){const a=r.querySelector(".js-navigation-container__list"),u=r.querySelector(".o-nav-button--next-button"),f=r.querySelector(".o-nav-button--previous-button");a&&a.clientWidth<a.scrollWidth&&u?.classList.add("o-nav-button--visible"),u?.addEventListener("click",Hb.bind(!1,{navigatedList:a,nextBtn:u,prevBtn:f,sliderVariant:i})),f?.addEventListener("click",qb.bind(!1,{navigatedList:a,nextBtn:u,prevBtn:f,sliderVariant:i}))}}},Vb=()=>{const t=document.querySelectorAll(".js-navigation-container");for(const r of Array.from(t)){const{sliderVariant:i}=r.dataset;if(r){const a=r.querySelector(".js-navigation-container__list"),u=r.querySelector(".o-nav-button--next-button"),f=r.querySelector(".o-nav-button--previous-button");window.addEventListener("resize",Ab.bind(!1,{navigatedList:a,nextBtn:u,prevBtn:f,sliderVariant:i}))}}},Qb=(t,r)=>{r.preventDefault();const i=r.target,a=t.querySelectorAll('[role="tab"]'),u=t.querySelectorAll('[role="tabpanel"]'),f=i.getAttribute("aria-controls"),g=Object.values(u).find(y=>y.id===f);a.forEach(y=>{y.setAttribute("aria-selected","false")}),u.forEach(y=>{y.setAttribute("aria-hidden","true")}),i.setAttribute("aria-selected","true"),g&&g.removeAttribute("aria-hidden")},Xd=t=>t.code==="ArrowLeft"||t.keyCode===39,Zd=t=>t.code==="ArrowRight"||t.keyCode===37,$b=(t=document.querySelector(".js-tabs"))=>{if(t){const r=t.querySelectorAll('[role="tab"]');r.forEach(a=>{a.addEventListener("click",Qb.bind(!1,t))});const i=t.querySelector('[role="tablist"]');if(i&&r.length>0){let a=0;i.addEventListener("keydown",u=>{u instanceof KeyboardEvent&&(Xd(u)||Zd(u))&&(r[a].setAttribute("tabindex","-1"),Xd(u)?(a+=1,a>=r.length&&(a=0)):Zd(u)&&(a-=1,a<0&&(a=r.length-1)),r[a].setAttribute("tabindex","0"),r[a].focus())})}}},Xb=()=>{const t=document.documentElement.scrollTop;let r=document.documentElement.scrollHeight-document.documentElement.clientHeight;const i=document.querySelector(".js-limit-scroll-progress-bar");i&&(r=i.scrollHeight-document.documentElement.clientHeight+(window.pageYOffset+i.getBoundingClientRect().top));const a=Math.round(t/r*100),u=document.querySelector(".c-progress__bar");u&&(u.style.width=`${a}%`,a>=100&&(u.style.width="100%"))},Zb=()=>{document.querySelector(".c-progress")&&window.addEventListener("scroll",Xb)};var Jb=['a[href]:not([tabindex^="-"])','area[href]:not([tabindex^="-"])','input:not([type="hidden"]):not([type="radio"]):not([disabled]):not([tabindex^="-"])','input[type="radio"]:not([disabled]):not([tabindex^="-"])','select:not([disabled]):not([tabindex^="-"])','textarea:not([disabled]):not([tabindex^="-"])','button:not([disabled]):not([tabindex^="-"])','iframe:not([tabindex^="-"])','audio[controls]:not([tabindex^="-"])','video[controls]:not([tabindex^="-"])','[contenteditable]:not([tabindex^="-"])','[tabindex]:not([tabindex^="-"])'],Yb="Tab",Wb="Escape";function mi(t){this._show=this.show.bind(this),this._hide=this.hide.bind(this),this._maintainFocus=this._maintainFocus.bind(this),this._bindKeypress=this._bindKeypress.bind(this),this.$el=t,this.shown=!1,this._id=this.$el.getAttribute("data-a11y-dialog")||this.$el.id,this._previouslyFocused=null,this._listeners={},this.create()}mi.prototype.create=function(){this.$el.setAttribute("aria-hidden",!0),this.$el.setAttribute("aria-modal",!0),this.$el.setAttribute("tabindex",-1),this.$el.hasAttribute("role")||this.$el.setAttribute("role","dialog"),this._openers=dl('[data-a11y-dialog-show="'+this._id+'"]'),this._openers.forEach(function(r){r.addEventListener("click",this._show)}.bind(this));const t=this.$el;return this._closers=dl("[data-a11y-dialog-hide]",this.$el).filter(function(r){return r.closest('[aria-modal="true"], [data-a11y-dialog]')===t}).concat(dl('[data-a11y-dialog-hide="'+this._id+'"]')),this._closers.forEach(function(r){r.addEventListener("click",this._hide)}.bind(this)),this._fire("create"),this},mi.prototype.show=function(t){return this.shown?this:(this._previouslyFocused=document.activeElement,this.$el.removeAttribute("aria-hidden"),this.shown=!0,Jd(this.$el),document.body.addEventListener("focus",this._maintainFocus,!0),document.addEventListener("keydown",this._bindKeypress),this._fire("show",t),this)},mi.prototype.hide=function(t){return this.shown?(this.shown=!1,this.$el.setAttribute("aria-hidden","true"),this._previouslyFocused&&this._previouslyFocused.focus&&this._previouslyFocused.focus(),document.body.removeEventListener("focus",this._maintainFocus,!0),document.removeEventListener("keydown",this._bindKeypress),this._fire("hide",t),this):this},mi.prototype.destroy=function(){return this.hide(),this._openers.forEach(function(t){t.removeEventListener("click",this._show)}.bind(this)),this._closers.forEach(function(t){t.removeEventListener("click",this._hide)}.bind(this)),this._fire("destroy"),this._listeners={},this},mi.prototype.on=function(t,r){return typeof this._listeners[t]>"u"&&(this._listeners[t]=[]),this._listeners[t].push(r),this},mi.prototype.off=function(t,r){var i=(this._listeners[t]||[]).indexOf(r);return i>-1&&this._listeners[t].splice(i,1),this},mi.prototype._fire=function(t,r){var i=this._listeners[t]||[],a=new CustomEvent(t,{detail:r});this.$el.dispatchEvent(a),i.forEach(function(u){u(this.$el,r)}.bind(this))},mi.prototype._bindKeypress=function(t){const r=document.activeElement;r&&r.closest('[aria-modal="true"]')!==this.$el||(this.shown&&t.key===Wb&&this.$el.getAttribute("role")!=="alertdialog"&&(t.preventDefault(),this.hide(t)),this.shown&&t.key===Yb&&t0(this.$el,t))},mi.prototype._maintainFocus=function(t){this.shown&&!t.target.closest('[aria-modal="true"]')&&!t.target.closest("[data-a11y-dialog-ignore-focus-trap]")&&Jd(this.$el)};function Gb(t){return Array.prototype.slice.call(t)}function dl(t,r){return Gb((r||document).querySelectorAll(t))}function Jd(t){var r=t.querySelector("[autofocus]")||t;r.focus()}function e0(t){return dl(Jb.join(","),t).filter(function(r){return!!(r.offsetWidth||r.offsetHeight||r.getClientRects().length)})}function t0(t,r){var i=e0(t),a=i.indexOf(document.activeElement);r.shiftKey&&a===0?(i[i.length-1].focus(),r.preventDefault()):!r.shiftKey&&a===i.length-1&&(i[0].focus(),r.preventDefault())}function Gs(){dl("[data-a11y-dialog]").forEach(function(t){new mi(t)})}typeof document<"u"&&(document.readyState==="loading"?document.addEventListener("DOMContentLoaded",Gs):window.requestAnimationFrame?window.requestAnimationFrame(Gs):window.setTimeout(Gs,16));const n0=(t=document.querySelector(".js-modal"))=>{t&&new mi(t)},r0=t=>{var r;t.preventDefault();const i=t.currentTarget,a=(r=i.closest(".js-search-toggle"))==null?void 0:r.querySelector(".c-search-form");i.setAttribute("aria-hidden","true"),a?.setAttribute("aria-hidden","false")},i0=(t=document.querySelector(".js-search-toggle"))=>{if(t){const r=t.querySelector(".c-header__search-button");r?.addEventListener("click",r0)}},o0=()=>{const t=document.querySelectorAll(".js-header-link"),r=document.querySelector(".js-overlay");if(r)for(const i of t)i.addEventListener("mouseenter",()=>{const a=i.querySelector(".js-sub-menu");if(a){if(window.getComputedStyle(a).getPropertyValue("display")!=="none"){r.classList.remove("u-hidden");return}r.classList.add("u-hidden")}}),i.addEventListener("mouseleave",()=>{r.classList.add("u-hidden")})};let uu,Yd=0;const a0=()=>{uu="down",document.body.getBoundingClientRect().top>Yd&&(uu="up"),Yd=document.body.getBoundingClientRect().top;const t=document.querySelector(".c-read-also-banner");t&&(uu==="up"&&(t.classList.remove("c-read-also-banner__scrolldirection--down"),t.style.paddingTop="",t.style.paddingBottom="",t.classList.contains("c-read-also-banner__scrolldirection--up")||t.classList.add("c-read-also-banner__scrolldirection--up")),uu==="down"&&(t.classList.remove("c-read-also-banner__scrolldirection--up"),t.style.paddingTop="0",t.style.paddingBottom="0",t.classList.contains("c-read-also-banner__scrolldirection--down")||t.classList.add("c-read-also-banner__scrolldirection--down")))},l0=(t=document.querySelector(".c-read-also-banner"))=>{t&&window.addEventListener("scroll",a0)},u0=()=>{Bb(),Fb(),Ib(),$b(),Tb(),Zb(),i0(),n0(),l0(),window.layout===Qd.DESKTOP&&(Ub(),Vb(),o0())},s0=t=>document.cookie.indexOf(t)!==-1,c0=t=>{const r=document.cookie.split(";").filter(i=>i.indexOf(t)!==-1)[0];return r?r.split("=")[1]:"{}"},f0=t=>{const r=[`${t.name}=`,"expires=Thu, 1 Jan 1970 00:00:01 UTC","path=/"];t.domain&&r.push(`domain=${t.domain}`),document.cookie=r.join("; ")},ec=function(t){const r=localStorage.getItem(t);return r?JSON.parse(r):void 0};function d0(t){let r=t;const i="\xE3\xE0\xE1\xE4\xE2\u1EBD\xE8\xE9\xEB\xEA\xEC\xED\xEF\xEE\xF5\xF2\xF3\xF6\xF4\xF9\xFA\xFC\xFB\xF1\xE7\xB7/_,:;",a="aaaaaeeeeeiiiiooooouuuunc------";for(let u=0;u<i.length;u+=1)r=t.replace(new RegExp(i.charAt(u),"g"),a.charAt(u));return r}const p0=t=>{let r=t.toLowerCase().replace(/[\s-]+/g,"_");return r=d0(r),r.replace(/[^\w-]+/g,"")},tc=new Date;new Date().setMinutes(tc.getMinutes()-19),new Date().setHours(tc.getHours()-6),new Date().setDate(tc.getDate()-3);const h0=(t,r=100)=>{const i=t.getBoundingClientRect(),a=window.pageYOffset||document.documentElement.scrollTop,u=Math.max(document.documentElement.clientHeight,window.innerHeight||0),f=a+u,g=i.top+a;return f>g-r};var m0=(t=>(t[t.article=0]="article",t[t.divers=1]="divers",t[t.horoscope=2]="horoscope",t))(m0||{}),g0=(t=>(t.UNKNOWN="Non connu",t.SLIDESHOW_COVER="Slideshow cover",t.SLIDESHOW_COVER_LISTING_PAGE="Slideshow listing page",t.SLIDESHOW_PAGE="Slideshow page",t.ARTICLE="article",t.MISC="divers",t.HOME="home",t.LIVE="live",t.SECTION="section",t.TAG="tag",t))(g0||{}),v0=(t=>(t.MISC="divers",t.HOME="home",t.LOCAL="local",t.PLANET="plan\xE8te",t))(v0||{}),y0=(t=>(t.PAGETYPE="pageType",t.TAGS="tags",t))(y0||{});const b0="adDefined",_0=()=>{if(s0("20min_fp")){const t=c0("20min_fp");fetch(`https://securepubads.g.doubleclick.net/user_data_deletion?ppid=${t}&iu=49926454`,{referrerPolicy:"strict-origin-when-cross-origin"}).then(r=>{r.ok&&alert("La demande de suppression a bien \xE9t\xE9 prise en compte")}),f0({name:"20min_fp"})}},w0=()=>{const t=document.getElementById("delete-fingerprint");t&&t.addEventListener("click",_0)};let pl=[],Wd;const S0=(t,r)=>{let i=!1;return()=>{i||(t(),i=!0,Wd=setTimeout(()=>{i=!1},r))}},k0=t=>t.event&&h0(t.elem,Number(t.distance))?(t.elem.dispatchEvent(new Event(t.event)),t.elem.dataset.lazyLoaded="true",!1):!0,Gd=()=>{S0(()=>{pl=pl.filter(k0),pl.length<=0&&(clearTimeout(Wd),window.removeEventListener("scroll",Gd))},50)()},x0=()=>{pl.length<=0||window.addEventListener("scroll",Gd)},ep=t=>{pl.push(t),x0()},E0=()=>{document.addEventListener(b0,t=>{const r=t,{elem:i}=r.detail[0];if(i.getAttribute("data-delayed")!=="true")return;const a={elem:i,event:i.getAttribute("id"),distance:i.dataset.distanceVisible};ep(a)})},O0=()=>{document.querySelectorAll('[data-delayed="true"]:not([data-dfp-name])').forEach(t=>{const r={elem:t,event:t.getAttribute("id"),distance:t.dataset.distanceVisible};ep(r)})},N0=()=>{E0(),O0()},D0=(t,r,i=()=>{})=>{performance.mark(`20mn:${t}:Start`);const a=document.getElementsByTagName("script")[0],u=document.createElement("script");u.async=!0,u.src=r,u.onload=()=>{i(),performance.mark(`20mn:${t}:End`)},a&&a.parentNode&&a.parentNode.insertBefore(u,a)},M0=()=>{var t;!document.querySelector(".gcse-search")||!((t=window.envVariables)!=null&&t.googleSearchCode)||D0("googlesearch",`https://cse.google.com/cse.js?cx=${window.envVariables.googleSearchCode}`)},L0=()=>{M0()},C0=t=>{const r={},i=document.createElement("a");return i.href=t,i.search.substring(1).split("&").forEach(a=>{const u=a.split("=");r[u[0]]=decodeURIComponent(u[1])}),r},B0=()=>{var t,r;const i=C0(window.location.href),a=document.createElement("div");a.className="OUTBRAIN",a.setAttribute("data-widget-id","type|default('AR_1')"),a.setAttribute("data-src","https://www.20minutes.fr"),"advertisingId"in i&&"appVersion"in i&&(a.setAttribute("data-ob-user-id",i.advertisingId),a.setAttribute("data-ob-app-ver",i.appVersion),a.setAttribute("data-ob-installation-key","{{ outbrain_ios_id }}")),(r=(t=document?.currentScript)==null?void 0:t.parentNode)==null||r.insertBefore(a,document.currentScript)},F0=()=>{B0()};var hl=(t=>(t.MOBILE="mobile",t.DESKTOP="desktop",t))(hl||{}),Ma=(t=>(t.photo="photo",t.podcast="podcast",t.video="video",t))(Ma||{});const su={asset:{font:{"Oswald-Bold":{value:"fonts/Oswald-Bold",family:"Oswald",weight:"700",style:"normal",extensions:["woff2","woff"]},"SourceSerifPro-Regular":{value:"fonts/SourceSerifPro-Regular",family:"Source Serif Pro",weight:"400",style:"normal",extensions:["woff2","woff"]},"SourceSerifPro-Italic":{value:"fonts/SourceSerifPro-Italic",family:"Source Serif Pro",weight:"400",style:"italic",extensions:["woff2","woff"]},"SourceSerifPro-Bold":{value:"fonts/SourceSerifPro-Bold",family:"Source Serif Pro",weight:"700",style:"normal",extensions:["woff2","woff"]}}},breakpoint:{xs:{value:"0",description:"no minimum width value because we are in mobile-first"},sm:{value:"479",description:"minimum width value for a small devices (tablets)"},md:{value:"767",description:"minimum width value for a medium devices, (desktops)"},lg:{value:"1024",description:"minimum width value for a large devices (wide screen)"}},color:{primary:{ultramarine:{value:"#4742ff"},"ultramarine-light":{value:"#6b72fb"}},secondary:{orange:{value:"#fa9917"},yellow:{value:"#f2e500"},green:{value:"#6cac4b"},purple:{value:"#ae6ba2"},red:{value:"#ff3333"},blue:{value:"#0000ff"},pink:{value:"#ef2a82"},sponsoring:{value:"#fff5f1"}},greyscale:{black:{value:"#000000"},white:{value:"#ffffff"},"grey-100":{value:"#f7f7f7"},"grey-200":{value:"#dddddd"},"grey-300":{value:"#898a8c"},"grey-400":{value:"#6a6a6a"},"grey-500":{value:"#484848"},"grey-600":{value:"#2f3134"},"grey-700":{value:"#181a1e"},"grey-800":{value:"#0f1116"}},status:{error:{value:"#ff3333"}},rubric:{default:{value:"#000000"},direct:{value:"#f22b36"},sport:{value:"#00b4c0"},entertainment:{value:"#92317e"},planet:{value:"#88be27"},magazine:{value:"#008f8c"},production:{value:"#c5be00"},c2c:{value:"#f7562a"},tempo:{value:"#cc0f53"}}},"font-family":{base:{value:"Arial"},oswald:{value:"'Oswald', sans-serif"},"source-serif-pro":{value:"'Source Serif Pro', serif"}},"font-size":{"xxs-4":{value:"8px"},"xxs-3":{value:"11px"},"xxs-2":{value:"12px"},xxs:{value:"14px"},xs:{value:"16px"},s:{value:"18px"},m:{value:"20px"},l:{value:"22px"},xl:{value:"26px"},xxl:{value:"28px"},"xxl-2":{value:"38px"},"xxl-3":{value:"44px"},"xxl-4":{value:"48px"},"xxl-5":{value:"54px"}},"font-weight":{regular:{value:"400"},bold:{value:"700"}},"line-height":{base:{value:"1.2"},large:{value:"1.5"}},radius:{0:{value:"0"},"xxs-2":{value:"2px"},xxs:{value:"4px"},xs:{value:"6px"},s:{value:"10px"},m:{value:"20px"},l:{value:"40px"},xl:{value:"50px"},xxl:{value:"100px"}},spacing:{0:{value:"0"},"xxs-2":{value:"4px"},xxs:{value:"8px"},xs:{value:"12px"},s:{value:"16px"},m:{value:"24px"},l:{value:"32px"},xl:{value:"40px"},xxl:{value:"64px"},"xxl-2":{value:"120px"}},typography:{heading:{"xxs-2":{description:"use for titles of CardMedium (ad), CardSmall, CardExtraSmall and CardOverview",fontSize:{value:"18px"}},xxs:{description:"use for titles of Tabs, ArticleSummary, footer categories, OverviewBar and RubricCards",fontSize:{value:"20px"}},xs:{description:"use for minified header title",fontSize:{value:"22px"}},s:{description:"use for title of HeaderBanner and CardMostRead and for article subtitle",fontSize:{value:"26px"}},m:{description:"use for title of CardExtraLarge (mobile), CardLarge (mobile), CardMedium, Newsletter, LiveCards and PartnerCards",fontSize:{value:"28px"}},l:{description:"use for pages title (mobile)",fontSize:{value:"38px"}},xl:{description:"use for title of CardLarge (desktop) and CardMostRead",fontSize:{value:"44px"}},xxl:{description:"use for CardExtraLarge title (desktop)",fontSize:{value:"48px"}},"xxl-2":{description:"use for pages title (desktop)",fontSize:{value:"54px"}}},text:{"xxs-3":{description:"use for CardFooter",fontSize:{value:"8px"}},"xxs-2":{description:"use for advanced SocialBar numbers and Checkbox label (mobile)",fontSize:{value:"11px"}},xxs:{description:"use for Label, simple SocialBar numbers, date info in Signature and CardHeader, Checkbox label (desktop), HoroscopeTiles label and footer download buttons label",fontSize:{value:"12px"}},xs:{description:'use for "See more" button, images caption, HoroscopeHomepageContent heading subtitle and Newsletter button label',fontSize:{value:"14px"}},s:{description:"use for InfoBanner, Newsletter description (mobile), footer content, Tag, HoroscopeHomepageContent link and buttons label",fontSize:{value:"16px"}},m:{description:"use for HeaderPage subtitle (mobile), CardExtraLarge summary (mobile), HoroscopeContent, Newsletter description (desktop), input placeholder label in ArticleHeader summary and article quote author name",fontSize:{value:"18px"},lineHeight:{value:"1.5"}},l:{description:"use for ArticleContent and ArticleSummary content",fontSize:{value:"20px"},lineHeight:{value:"1.5"}},xl:{description:"use for HeaderPage subtitle (desktop) and CardExtraLarge summary (desktop)",fontSize:{value:"22px"}},xxl:{description:"use for ArticleHeader lead and article quote",fontSize:{value:"26px"}}}}};[...Object.keys(su.color.primary),...Object.keys(su.color.secondary),...Object.keys(su.color.rubric)];const P0={bg:["background-color"],color:["color"]},K0={align:["align-self"],basis:["flex-basis"],shrink:["flex-shrink"],grow:["flex-grow"]},R0={alignItems:["align-items"],alignContent:["align-content"],justifyContent:["justify-content"],gap:["gap"],gapX:["row-gap"],gapY:["col-gap"],inline:["inline"],direction:["direction"],wrap:["wrap"]},tp={radius:["border-radius"]},I0={m:["margin"],mt:["margin-top"],mr:["margin-right"],ml:["margin-left"],mb:["margin-bottom"],mx:["margin-left","margin-right"],my:["margin-top","margin-bottom"]},j0={p:["padding"],pt:["padding-top"],pr:["padding-right"],pl:["padding-left"],pb:["padding-bottom"],px:["padding-left","padding-right"],py:["padding-top","padding-bottom"]},np={...I0,...j0},T0={...np,...P0,...tp},z0={textAlign:["text-align"],weight:["font-weight"],italic:["font-style"],textDecoration:["text-decoration"],textTransform:["text-transform"],fontFamily:["font-family"]};Object.keys(su["font-family"]).filter(t=>!["base"].includes(t));const nc=typeof window<"u"?q.useLayoutEffect:()=>{};var La=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},rc={},H0={get exports(){return rc},set exports(t){rc=t}};/*!
1
+ var TyrBundle=function(ap,t4,P,uc){"use strict";var lp=(t=>(t.MOBILE="mobile",t.DESKTOP="desktop",t))(lp||{});const up=(t,r)=>{const i=t==="dark";r.setAttribute("aria-checked",String(i));const a=r.querySelector("span[aria-hidden]");a&&(a.setAttribute("aria-hidden",String(i)),a.innerHTML=i?"on":"off")},s0=(t=document.querySelector(".js-switch-dark-mode"))=>{const r=localStorage.getItem("theme")||"light";r&&t&&(document.documentElement.dataset.theme=r,up(r,t))},c0=(t=document.querySelector(".js-switch-dark-mode"))=>{t&&t.addEventListener("click",()=>{const r=document.documentElement.dataset.theme,i=!r||r==="light"?"dark":"light";document.documentElement.dataset.theme=i,localStorage.setItem("theme",i),up(i,t)})},f0=t=>{var r;const i=t.querySelector(".js-expandButton__label");t.setAttribute("aria-expanded","true"),i.innerHTML="Voir moins",(r=t.previousElementSibling)==null||r.setAttribute("aria-hidden","false")},d0=t=>{var r;const i=t.querySelector(".js-expandButton__label");t.setAttribute("aria-expanded","false"),i.innerHTML="Voir plus",(r=t.previousElementSibling)==null||r.setAttribute("aria-hidden","true")},p0=t=>{const r=t.currentTarget;return t.preventDefault(),r.getAttribute("aria-expanded")==="true"?d0(r):f0(r)},h0=(t=document.querySelector(".js-expandButton"))=>{t&&document.querySelectorAll(".js-expandButton").forEach(r=>r.addEventListener("click",p0))},m0=(t,r)=>{r.stopImmediatePropagation(),r.preventDefault();const i=r.currentTarget,a=document.querySelectorAll(".js-collapse__button"),u=document.querySelectorAll('[role="tabpanel"]'),c=i.getAttribute("aria-controls"),g=Object.values(u).find(y=>y.id===c);if(i.getAttribute("aria-expanded")==="true"){i.setAttribute("aria-expanded","false"),g?.setAttribute("aria-hidden","true");return}a.forEach(y=>{y.setAttribute("aria-expanded","false")}),u.forEach(y=>{y.setAttribute("aria-hidden","true")}),i.setAttribute("aria-expanded","true"),g&&g.removeAttribute("aria-hidden")},g0=(t=document.querySelector(".js-collapse__button"))=>{t&&document.querySelectorAll(".c-collapse__button").forEach(r=>{r.addEventListener("click",m0.bind(!1,t))})},v0=({navigatedList:t,nextBtn:r,prevBtn:i})=>{t&&(t.scrollLeft>0&&(t.scrollLeft+t.clientWidth<t.scrollWidth&&r.classList.add("o-nav-button--visible"),r.classList.remove("o-nav-button--visible"),i.classList.add("o-nav-button--visible")),t.clientWidth<t.scrollWidth?r.classList.add("o-nav-button--visible"):(i.classList.remove("o-nav-button--visible"),r.classList.remove("o-nav-button--visible")),t.scrollLeft+t.clientWidth===t.scrollWidth&&r.classList.remove("o-nav-button--visible"))},y0=({navigatedList:t,nextBtn:r,prevBtn:i,sliderVariant:a})=>{if(t)if(t.scrollWidth-t.clientWidth>t.clientWidth){let u=t.scrollLeft;switch(a){case"partners":u+=t.clientWidth+32;break;case"rubrics":u+=t.clientWidth-36;break;default:u+=Math.ceil(t.clientWidth*.6);break}t.scrollTo({left:u,behavior:"smooth"}),i.classList.add("o-nav-button--visible"),u+t.clientWidth>=t.scrollWidth&&r.classList.remove("o-nav-button--visible")}else{const u=t.scrollWidth-t.clientWidth;t.scrollTo({left:u,behavior:"smooth"}),r.classList.remove("o-nav-button--visible"),i.classList.add("o-nav-button--visible")}},b0=({navigatedList:t,nextBtn:r,prevBtn:i,sliderVariant:a})=>{if(t)if(t.clientWidth<t.scrollLeft){let u=t.scrollLeft;switch(a){case"partners":u-=t.clientWidth+32;break;case"rubrics":u-=t.clientWidth-36;break;default:u-=Math.ceil(t.clientWidth*.6);break}t.scrollTo({left:u,behavior:"smooth"}),r.classList.add("o-nav-button--visible"),u===0&&i.classList.remove("o-nav-button--visible")}else t.scrollTo({left:0,behavior:"smooth"}),i.classList.remove("o-nav-button--visible"),t.clientWidth<t.scrollWidth&&r.classList.add("o-nav-button--visible")},_0=({navigatedList:t,nextBtn:r,prevBtn:i})=>{v0({navigatedList:t,nextBtn:r,prevBtn:i})},w0=()=>{const t=document.querySelectorAll(".js-navigation-container");for(const r of Array.from(t)){const{sliderVariant:i}=r.dataset;if(r){const a=r.querySelector(".js-navigation-container__list"),u=r.querySelector(".o-nav-button--next-button"),c=r.querySelector(".o-nav-button--previous-button");a&&a.clientWidth<a.scrollWidth&&u?.classList.add("o-nav-button--visible"),u?.addEventListener("click",y0.bind(!1,{navigatedList:a,nextBtn:u,prevBtn:c,sliderVariant:i})),c?.addEventListener("click",b0.bind(!1,{navigatedList:a,nextBtn:u,prevBtn:c,sliderVariant:i}))}}},S0=()=>{const t=document.querySelectorAll(".js-navigation-container");for(const r of Array.from(t)){const{sliderVariant:i}=r.dataset;if(r){const a=r.querySelector(".js-navigation-container__list"),u=r.querySelector(".o-nav-button--next-button"),c=r.querySelector(".o-nav-button--previous-button");window.addEventListener("resize",_0.bind(!1,{navigatedList:a,nextBtn:u,prevBtn:c,sliderVariant:i}))}}},x0=(t,r)=>{r.preventDefault();const i=r.target,a=t.querySelectorAll('[role="tab"]'),u=t.querySelectorAll('[role="tabpanel"]'),c=i.getAttribute("aria-controls"),g=Object.values(u).find(y=>y.id===c);a.forEach(y=>{y.setAttribute("aria-selected","false")}),u.forEach(y=>{y.setAttribute("aria-hidden","true")}),i.setAttribute("aria-selected","true"),g&&g.removeAttribute("aria-hidden")},sp=t=>t.code==="ArrowLeft"||t.keyCode===39,cp=t=>t.code==="ArrowRight"||t.keyCode===37,E0=(t=document.querySelector(".js-tabs"))=>{if(t){const r=t.querySelectorAll('[role="tab"]');r.forEach(a=>{a.addEventListener("click",x0.bind(!1,t))});const i=t.querySelector('[role="tablist"]');if(i&&r.length>0){let a=0;i.addEventListener("keydown",u=>{u instanceof KeyboardEvent&&(sp(u)||cp(u))&&(r[a].setAttribute("tabindex","-1"),sp(u)?(a+=1,a>=r.length&&(a=0)):cp(u)&&(a-=1,a<0&&(a=r.length-1)),r[a].setAttribute("tabindex","0"),r[a].focus())})}}},k0=()=>{const t=document.documentElement.scrollTop;let r=document.documentElement.scrollHeight-document.documentElement.clientHeight;const i=document.querySelector(".js-limit-scroll-progress-bar");i&&(r=i.scrollHeight-document.documentElement.clientHeight+(window.pageYOffset+i.getBoundingClientRect().top));const a=Math.round(t/r*100),u=document.querySelector(".c-progress__bar");u&&(u.style.width=`${a}%`,a>=100&&(u.style.width="100%"))},N0=()=>{document.querySelector(".c-progress")&&window.addEventListener("scroll",k0)};var O0=['a[href]:not([tabindex^="-"])','area[href]:not([tabindex^="-"])','input:not([type="hidden"]):not([type="radio"]):not([disabled]):not([tabindex^="-"])','input[type="radio"]:not([disabled]):not([tabindex^="-"])','select:not([disabled]):not([tabindex^="-"])','textarea:not([disabled]):not([tabindex^="-"])','button:not([disabled]):not([tabindex^="-"])','iframe:not([tabindex^="-"])','audio[controls]:not([tabindex^="-"])','video[controls]:not([tabindex^="-"])','[contenteditable]:not([tabindex^="-"])','[tabindex]:not([tabindex^="-"])'],D0="Tab",M0="Escape";function yi(t){this._show=this.show.bind(this),this._hide=this.hide.bind(this),this._maintainFocus=this._maintainFocus.bind(this),this._bindKeypress=this._bindKeypress.bind(this),this.$el=t,this.shown=!1,this._id=this.$el.getAttribute("data-a11y-dialog")||this.$el.id,this._previouslyFocused=null,this._listeners={},this.create()}yi.prototype.create=function(){this.$el.setAttribute("aria-hidden",!0),this.$el.setAttribute("aria-modal",!0),this.$el.setAttribute("tabindex",-1),this.$el.hasAttribute("role")||this.$el.setAttribute("role","dialog"),this._openers=bl('[data-a11y-dialog-show="'+this._id+'"]'),this._openers.forEach(function(r){r.addEventListener("click",this._show)}.bind(this));const t=this.$el;return this._closers=bl("[data-a11y-dialog-hide]",this.$el).filter(function(r){return r.closest('[aria-modal="true"], [data-a11y-dialog]')===t}).concat(bl('[data-a11y-dialog-hide="'+this._id+'"]')),this._closers.forEach(function(r){r.addEventListener("click",this._hide)}.bind(this)),this._fire("create"),this},yi.prototype.show=function(t){return this.shown?this:(this._previouslyFocused=document.activeElement,this.$el.removeAttribute("aria-hidden"),this.shown=!0,fp(this.$el),document.body.addEventListener("focus",this._maintainFocus,!0),document.addEventListener("keydown",this._bindKeypress),this._fire("show",t),this)},yi.prototype.hide=function(t){return this.shown?(this.shown=!1,this.$el.setAttribute("aria-hidden","true"),this._previouslyFocused&&this._previouslyFocused.focus&&this._previouslyFocused.focus(),document.body.removeEventListener("focus",this._maintainFocus,!0),document.removeEventListener("keydown",this._bindKeypress),this._fire("hide",t),this):this},yi.prototype.destroy=function(){return this.hide(),this._openers.forEach(function(t){t.removeEventListener("click",this._show)}.bind(this)),this._closers.forEach(function(t){t.removeEventListener("click",this._hide)}.bind(this)),this._fire("destroy"),this._listeners={},this},yi.prototype.on=function(t,r){return typeof this._listeners[t]>"u"&&(this._listeners[t]=[]),this._listeners[t].push(r),this},yi.prototype.off=function(t,r){var i=(this._listeners[t]||[]).indexOf(r);return i>-1&&this._listeners[t].splice(i,1),this},yi.prototype._fire=function(t,r){var i=this._listeners[t]||[],a=new CustomEvent(t,{detail:r});this.$el.dispatchEvent(a),i.forEach(function(u){u(this.$el,r)}.bind(this))},yi.prototype._bindKeypress=function(t){const r=document.activeElement;r&&r.closest('[aria-modal="true"]')!==this.$el||(this.shown&&t.key===M0&&this.$el.getAttribute("role")!=="alertdialog"&&(t.preventDefault(),this.hide(t)),this.shown&&t.key===D0&&B0(this.$el,t))},yi.prototype._maintainFocus=function(t){this.shown&&!t.target.closest('[aria-modal="true"]')&&!t.target.closest("[data-a11y-dialog-ignore-focus-trap]")&&fp(this.$el)};function L0(t){return Array.prototype.slice.call(t)}function bl(t,r){return L0((r||document).querySelectorAll(t))}function fp(t){var r=t.querySelector("[autofocus]")||t;r.focus()}function C0(t){return bl(O0.join(","),t).filter(function(r){return!!(r.offsetWidth||r.offsetHeight||r.getClientRects().length)})}function B0(t,r){var i=C0(t),a=i.indexOf(document.activeElement);r.shiftKey&&a===0?(i[i.length-1].focus(),r.preventDefault()):!r.shiftKey&&a===i.length-1&&(i[0].focus(),r.preventDefault())}function sc(){bl("[data-a11y-dialog]").forEach(function(t){new yi(t)})}typeof document<"u"&&(document.readyState==="loading"?document.addEventListener("DOMContentLoaded",sc):window.requestAnimationFrame?window.requestAnimationFrame(sc):window.setTimeout(sc,16));const F0=(t=document.querySelector(".js-modal"))=>{t&&new yi(t)},P0=t=>{var r;t.preventDefault();const i=t.currentTarget,a=(r=i.closest(".js-search-toggle"))==null?void 0:r.querySelector(".c-search-form");i.setAttribute("aria-hidden","true"),a?.setAttribute("aria-hidden","false")},K0=(t=document.querySelector(".js-search-toggle"))=>{if(t){const r=t.querySelector(".c-header__search-button");r?.addEventListener("click",P0)}},R0=()=>{const t=document.querySelectorAll(".js-header-link"),r=document.querySelector(".js-overlay");if(r)for(const i of t)i.addEventListener("mouseenter",()=>{const a=i.querySelector(".js-sub-menu");if(a){if(window.getComputedStyle(a).getPropertyValue("display")!=="none"){r.classList.remove("u-hidden");return}r.classList.add("u-hidden")}}),i.addEventListener("mouseleave",()=>{r.classList.add("u-hidden")})};let vu,dp=0;const I0=()=>{vu="down",document.body.getBoundingClientRect().top>dp&&(vu="up"),dp=document.body.getBoundingClientRect().top;const t=document.querySelector(".c-read-also-banner");t&&(vu==="up"&&(t.classList.remove("c-read-also-banner__scrolldirection--down"),t.style.paddingTop="",t.style.paddingBottom="",t.classList.contains("c-read-also-banner__scrolldirection--up")||t.classList.add("c-read-also-banner__scrolldirection--up")),vu==="down"&&(t.classList.remove("c-read-also-banner__scrolldirection--up"),t.style.paddingTop="0",t.style.paddingBottom="0",t.classList.contains("c-read-also-banner__scrolldirection--down")||t.classList.add("c-read-also-banner__scrolldirection--down")))},j0=(t=document.querySelector(".c-read-also-banner"))=>{t&&window.addEventListener("scroll",I0)},T0=()=>{s0(),c0(),h0(),E0(),g0(),N0(),K0(),F0(),j0(),window.layout===lp.DESKTOP&&(w0(),S0(),R0())};var z0=(t=>(t[t.article=0]="article",t[t.divers=1]="divers",t[t.horoscope=2]="horoscope",t))(z0||{}),H0=(t=>(t.UNKNOWN="Non connu",t.SLIDESHOW_COVER="Slideshow cover",t.SLIDESHOW_COVER_LISTING_PAGE="Slideshow listing page",t.SLIDESHOW_PAGE="Slideshow page",t.ARTICLE="article",t.MISC="divers",t.HOME="home",t.LIVE="live",t.SECTION="section",t.TAG="tag",t))(H0||{}),A0=(t=>(t.MISC="divers",t.HOME="home",t.LOCAL="local",t.PLANET="plan\xE8te",t))(A0||{}),q0=(t=>(t.PAGETYPE="pageType",t.TAGS="tags",t))(q0||{});const U0="adDefined",V0=t=>document.cookie.indexOf(t)!==-1,Q0=t=>{const r=document.cookie.split(";").filter(i=>i.indexOf(t)!==-1)[0];return r?r.split("=")[1]:"{}"},X0=t=>{const r=[`${t.name}=`,"expires=Thu, 1 Jan 1970 00:00:01 UTC","path=/"];t.domain&&r.push(`domain=${t.domain}`),document.cookie=r.join("; ")},cc=function(t){const r=localStorage.getItem(t);return r?JSON.parse(r):void 0},Z0=t=>{let r=t;const i="\xE3\xE0\xE1\xE4\xE2\u1EBD\xE8\xE9\xEB\xEA\xEC\xED\xEF\xEE\xF5\xF2\xF3\xF6\xF4\xF9\xFA\xFC\xFB\xF1\xE7\xB7/_,:;",a="aaaaaeeeeeiiiiooooouuuunc------";for(let u=0;u<i.length;u+=1)r=r.replace(new RegExp(i.charAt(u),"g"),a.charAt(u));return r},$0=t=>{let r=t.toLowerCase().replace(/[\s-]+/g,"_");return r=Z0(r),r.replace(/[^\w-]+/g,"")},fc=new Date;new Date().setMinutes(fc.getMinutes()-19),new Date().setHours(fc.getHours()-6),new Date().setDate(fc.getDate()-3);const Y0=(t=window.location.href)=>{const r={},i=document.createElement("a");return i.href=t,i.search.substring(1).split("&").forEach(a=>{const u=a.split("=");r[u[0]]=decodeURIComponent(u[1])}),r},J0=(t,r=100)=>{const i=t.getBoundingClientRect(),a=window.pageYOffset||document.documentElement.scrollTop,u=Math.max(document.documentElement.clientHeight,window.innerHeight||0),c=a+u,g=i.top+a;return c>g-r},W0=()=>{if(V0("20min_fp")){const t=Q0("20min_fp");fetch(`https://securepubads.g.doubleclick.net/user_data_deletion?ppid=${t}&iu=49926454`,{referrerPolicy:"strict-origin-when-cross-origin"}).then(r=>{r.ok&&alert("La demande de suppression a bien \xE9t\xE9 prise en compte")}),X0({name:"20min_fp"})}},G0=()=>{const t=document.getElementById("delete-fingerprint");t&&t.addEventListener("click",W0)},e_=(t,r,i=()=>{})=>{performance.mark(`20mn:${t}:Start`);const a=document.getElementsByTagName("script")[0],u=document.createElement("script");u.async=!0,u.src=r,u.onload=()=>{i(),performance.mark(`20mn:${t}:End`)},a&&a.parentNode&&a.parentNode.insertBefore(u,a)},pp=(t,r,i,a="",u="",c="")=>{var g,y,b;if(!((b=(y=(g=window.ATInternet)==null?void 0:g.Tracker)==null?void 0:y.instances)!=null&&b.length))return;const w={elem:t,name:$0(r),type:i,chapter1:a,chapter2:u,chapter3:c};Object.keys(w).forEach(D=>{w[D]===""&&delete w[D]}),window.ATInternet.Tracker.instances[0].click.send(w)},t_=()=>{if(document.querySelector('iframe[src*="www.ultimedia.com"], iframe[data-src*="www.ultimedia.com"]')){const t=document.createElement("script");t.async=!0,t.src="https://www.ultimedia.com/js/common/visible_player.js",document.getElementsByTagName("head")[0].appendChild(t)}},n_=()=>{t_()},r_=()=>{var t;!document.querySelector(".gcse-search")||!((t=window.envVariables)!=null&&t.googleSearchCode)||e_("googlesearch",`https://cse.google.com/cse.js?cx=${window.envVariables.googleSearchCode}`)},i_=()=>{r_()};let _l=[],hp;const o_=(t,r)=>{let i=!1;return()=>{i||(t(),i=!0,hp=setTimeout(()=>{i=!1},r))}},a_=t=>t.event&&J0(t.elem,Number(t.distance))?(t.elem.dispatchEvent(new Event(t.event)),t.elem.dataset.lazyLoaded="true",!1):!0,mp=()=>{o_(()=>{_l=_l.filter(a_),_l.length<=0&&(clearTimeout(hp),window.removeEventListener("scroll",mp))},50)()},l_=()=>{_l.length<=0||window.addEventListener("scroll",mp)},gp=t=>{_l.push(t),l_()},u_=()=>{document.addEventListener(U0,t=>{const r=t,{elem:i}=r.detail[0];if(i.getAttribute("data-delayed")!=="true")return;const a={elem:i,event:i.getAttribute("id"),distance:i.dataset.distanceVisible};gp(a)})},s_=()=>{document.querySelectorAll('[data-delayed="true"]:not([data-dfp-name])').forEach(t=>{const r={elem:t,event:t.getAttribute("id"),distance:t.dataset.distanceVisible};gp(r)})},c_=()=>{u_(),s_()},f_=()=>{var t,r;const i=Y0(),a=document.createElement("div");a.className="OUTBRAIN",a.setAttribute("data-widget-id","type|default('AR_1')"),a.setAttribute("data-src","https://www.20minutes.fr"),"advertisingId"in i&&"appVersion"in i&&(a.setAttribute("data-ob-user-id",i.advertisingId),a.setAttribute("data-ob-app-ver",i.appVersion),a.setAttribute("data-ob-installation-key","{{ outbrain_ios_id }}")),(r=(t=document?.currentScript)==null?void 0:t.parentNode)==null||r.insertBefore(a,document.currentScript)},d_=()=>{f_()};var Dr=(t=>(t.MOBILE="mobile",t.DESKTOP="desktop",t))(Dr||{}),Fa=(t=>(t.photo="photo",t.podcast="podcast",t.video="video",t))(Fa||{});const wl={asset:{font:{"Oswald-Bold":{value:"fonts/Oswald-Bold",family:"Oswald",weight:"700",style:"normal",extensions:["woff2","woff"]},"SourceSerifPro-Regular":{value:"fonts/SourceSerifPro-Regular",family:"Source Serif Pro",weight:"400",style:"normal",extensions:["woff2","woff"]},"SourceSerifPro-Italic":{value:"fonts/SourceSerifPro-Italic",family:"Source Serif Pro",weight:"400",style:"italic",extensions:["woff2","woff"]},"SourceSerifPro-Bold":{value:"fonts/SourceSerifPro-Bold",family:"Source Serif Pro",weight:"700",style:"normal",extensions:["woff2","woff"]}}},breakpoint:{xs:{value:"0",description:"no minimum width value because we are in mobile-first"},sm:{value:"479",description:"minimum width value for a small devices (tablets)"},md:{value:"767",description:"minimum width value for a medium devices, (desktops)"},lg:{value:"1024",description:"minimum width value for a large devices (wide screen)"}},color:{primary:{ultramarine:{value:"#4742ff"},"ultramarine-light":{value:"#6b72fb"}},secondary:{orange:{value:"#fa9917"},yellow:{value:"#f2e500"},green:{value:"#6cac4b"},purple:{value:"#ae6ba2"},red:{value:"#ff3333"},blue:{value:"#0000ff"},pink:{value:"#ef2a82"},sponsoring:{value:"#fff5f1"}},greyscale:{black:{value:"#000000"},white:{value:"#ffffff"},"grey-100":{value:"#f7f7f7"},"grey-200":{value:"#dddddd"},"grey-300":{value:"#898a8c"},"grey-400":{value:"#6a6a6a"},"grey-500":{value:"#484848"},"grey-600":{value:"#2f3134"},"grey-700":{value:"#181a1e"},"grey-800":{value:"#0f1116"}},status:{error:{value:"#ff3333"}},rubric:{default:{value:"#000000"},direct:{value:"#f22b36"},sport:{value:"#00b4c0"},entertainment:{value:"#92317e"},planet:{value:"#88be27"},magazine:{value:"#008f8c"},production:{value:"#c5be00"},c2c:{value:"#f7562a"},tempo:{value:"#cc0f53"}}},"font-family":{base:{value:"Arial"},oswald:{value:"'Oswald', sans-serif"},"source-serif-pro":{value:"'Source Serif Pro', serif"}},"font-size":{"xxs-4":{value:"8px"},"xxs-3":{value:"11px"},"xxs-2":{value:"12px"},xxs:{value:"14px"},xs:{value:"16px"},s:{value:"18px"},m:{value:"20px"},l:{value:"22px"},xl:{value:"26px"},xxl:{value:"28px"},"xxl-2":{value:"38px"},"xxl-3":{value:"44px"},"xxl-4":{value:"48px"},"xxl-5":{value:"54px"}},"font-weight":{regular:{value:"400"},bold:{value:"700"}},"line-height":{base:{value:"1.2"},large:{value:"1.5"}},radius:{0:{value:"0"},"xxs-2":{value:"2px"},xxs:{value:"4px"},xs:{value:"6px"},s:{value:"10px"},m:{value:"20px"},l:{value:"40px"},xl:{value:"50px"},xxl:{value:"100px"}},spacing:{0:{value:"0"},"xxs-2":{value:"4px"},xxs:{value:"8px"},xs:{value:"12px"},s:{value:"16px"},m:{value:"24px"},l:{value:"32px"},xl:{value:"40px"},xxl:{value:"64px"},"xxl-2":{value:"120px"}},typography:{heading:{"xxs-2":{description:"use for titles of CardMedium (ad), CardSmall, CardExtraSmall and CardOverview",fontSize:{value:"18px"}},xxs:{description:"use for titles of Tabs, ArticleSummary, footer categories, OverviewBar and RubricCards",fontSize:{value:"20px"}},xs:{description:"use for minified header title",fontSize:{value:"22px"}},s:{description:"use for title of HeaderBanner and CardMostRead and for article subtitle",fontSize:{value:"26px"}},m:{description:"use for title of CardExtraLarge (mobile), CardLarge (mobile), CardMedium, Newsletter, LiveCards and PartnerCards",fontSize:{value:"28px"}},l:{description:"use for pages title (mobile)",fontSize:{value:"38px"}},xl:{description:"use for title of CardLarge (desktop) and CardMostRead",fontSize:{value:"44px"}},xxl:{description:"use for CardExtraLarge title (desktop)",fontSize:{value:"48px"}},"xxl-2":{description:"use for pages title (desktop)",fontSize:{value:"54px"}}},text:{"xxs-3":{description:"use for CardFooter",fontSize:{value:"8px"}},"xxs-2":{description:"use for advanced SocialBar numbers and Checkbox label (mobile)",fontSize:{value:"11px"}},xxs:{description:"use for Label, simple SocialBar numbers, date info in Signature and CardHeader, Checkbox label (desktop), HoroscopeTiles label and footer download buttons label",fontSize:{value:"12px"}},xs:{description:'use for "See more" button, images caption, HoroscopeHomepageContent heading subtitle and Newsletter button label',fontSize:{value:"14px"}},s:{description:"use for InfoBanner, Newsletter description (mobile), footer content, Tag, HoroscopeHomepageContent link and buttons label",fontSize:{value:"16px"}},m:{description:"use for HeaderPage subtitle (mobile), CardExtraLarge summary (mobile), HoroscopeContent, Newsletter description (desktop), input placeholder label in ArticleHeader summary and article quote author name",fontSize:{value:"18px"},lineHeight:{value:"1.5"}},l:{description:"use for ArticleContent and ArticleSummary content",fontSize:{value:"20px"},lineHeight:{value:"1.5"}},xl:{description:"use for HeaderPage subtitle (desktop) and CardExtraLarge summary (desktop)",fontSize:{value:"22px"}},xxl:{description:"use for ArticleHeader lead and article quote",fontSize:{value:"26px"}}}}};[...Object.keys(wl.color.primary),...Object.keys(wl.color.secondary),...Object.keys(wl.color.rubric)];const p_={bg:["background-color"],color:["color"]},h_={align:["align-self"],basis:["flex-basis"],shrink:["flex-shrink"],grow:["flex-grow"]},m_={alignItems:["align-items"],alignContent:["align-content"],justifyContent:["justify-content"],gap:["gap"],gapX:["row-gap"],gapY:["col-gap"],inline:["inline"],direction:["direction"],wrap:["wrap"]},vp={radius:["border-radius"]},g_={m:["margin"],mt:["margin-top"],mr:["margin-right"],ml:["margin-left"],mb:["margin-bottom"],mx:["margin-left","margin-right"],my:["margin-top","margin-bottom"]},v_={p:["padding"],pt:["padding-top"],pr:["padding-right"],pl:["padding-left"],pb:["padding-bottom"],px:["padding-left","padding-right"],py:["padding-top","padding-bottom"]},yp={...g_,...v_},y_={...yp,...p_,...vp},b_={textAlign:["text-align"],weight:["font-weight"],italic:["font-style"],textDecoration:["text-decoration"],textTransform:["text-transform"],fontFamily:["font-family"]};Object.keys(wl["font-family"]).filter(t=>!["base"].includes(t));const __=Object.keys(wl.color.rubric),dc=typeof window<"u"?P.useLayoutEffect:()=>{};var Pa=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},pc={},w_={get exports(){return pc},set exports(t){pc=t}};/*!
2
2
  Copyright (c) 2018 Jed Watson.
3
3
  Licensed under the MIT License (MIT), see
4
4
  http://jedwatson.github.io/classnames
5
- */(function(t){(function(){var r={}.hasOwnProperty;function i(){for(var a=[],u=0;u<arguments.length;u++){var f=arguments[u];if(f){var g=typeof f;if(g==="string"||g==="number")a.push(f);else if(Array.isArray(f)){if(f.length){var y=i.apply(null,f);y&&a.push(y)}}else if(g==="object"){if(f.toString!==Object.prototype.toString&&!f.toString.toString().includes("[native code]")){a.push(f.toString());continue}for(var b in f)r.call(f,b)&&f[b]&&a.push(b)}}}return a.join(" ")}t.exports?(i.default=i,t.exports=i):window.classNames=i})()})(H0);const st=rc;var mt={},q0={get exports(){return mt},set exports(t){mt=t}};(function(t,r){(function(i,a){t.exports=a()})(La,function(){var i=Array.prototype.slice;function a(l,c){c&&(l.prototype=Object.create(c.prototype)),l.prototype.constructor=l}function u(l){return b(l)?l:$e(l)}a(f,u);function f(l){return k(l)?l:ut(l)}a(g,u);function g(l){return D(l)?l:lt(l)}a(y,u);function y(l){return b(l)&&!P(l)?l:Bt(l)}function b(l){return!!(l&&l[T])}function k(l){return!!(l&&l[F])}function D(l){return!!(l&&l[R])}function P(l){return k(l)||D(l)}function L(l){return!!(l&&l[j])}u.isIterable=b,u.isKeyed=k,u.isIndexed=D,u.isAssociative=P,u.isOrdered=L,u.Keyed=f,u.Indexed=g,u.Set=y;var T="@@__IMMUTABLE_ITERABLE__@@",F="@@__IMMUTABLE_KEYED__@@",R="@@__IMMUTABLE_INDEXED__@@",j="@@__IMMUTABLE_ORDERED__@@",ne="delete",Y=5,W=1<<Y,J=W-1,le={},Se={value:!1},_e={value:!1};function Ie(l){return l.value=!1,l}function ve(l){l&&(l.value=!0)}function ke(){}function we(l,c){c=c||0;for(var v=Math.max(0,l.length-c),S=new Array(v),x=0;x<v;x++)S[x]=l[x+c];return S}function he(l){return l.size===void 0&&(l.size=l.__iterate(De)),l.size}function ge(l,c){if(typeof c!="number"){var v=c>>>0;if(""+v!==c||v===4294967295)return NaN;c=v}return c<0?he(l)+c:c}function De(){return!0}function je(l,c,v){return(l===0||v!==void 0&&l<=-v)&&(c===void 0||v!==void 0&&c>=v)}function Ce(l,c){return ue(l,c,0)}function He(l,c){return ue(l,c,c)}function ue(l,c,v){return l===void 0?v:l<0?Math.max(0,c+l):c===void 0?l:Math.min(c,l)}var fe=0,ae=1,Me=2,Ye=typeof Symbol=="function"&&Symbol.iterator,kt="@@iterator",Mt=Ye||kt;function Ae(l){this.next=l}Ae.prototype.toString=function(){return"[Iterator]"},Ae.KEYS=fe,Ae.VALUES=ae,Ae.ENTRIES=Me,Ae.prototype.inspect=Ae.prototype.toSource=function(){return this.toString()},Ae.prototype[Mt]=function(){return this};function Te(l,c,v,S){var x=l===0?c:l===1?v:[c,v];return S?S.value=x:S={value:x,done:!1},S}function dt(){return{value:void 0,done:!0}}function Pt(l){return!!xt(l)}function Kt(l){return l&&typeof l.next=="function"}function Ct(l){var c=xt(l);return c&&c.call(l)}function xt(l){var c=l&&(Ye&&l[Ye]||l[kt]);if(typeof c=="function")return c}function Jt(l){return l&&typeof l.length=="number"}a($e,u);function $e(l){return l==null?nt():b(l)?l.toSeq():Ge(l)}$e.of=function(){return $e(arguments)},$e.prototype.toSeq=function(){return this},$e.prototype.toString=function(){return this.__toString("Seq {","}")},$e.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},$e.prototype.__iterate=function(l,c){return ct(this,l,c,!0)},$e.prototype.__iterator=function(l,c){return Sn(this,l,c,!0)},a(ut,$e);function ut(l){return l==null?nt().toKeyedSeq():b(l)?k(l)?l.toSeq():l.fromEntrySeq():Je(l)}ut.prototype.toKeyedSeq=function(){return this},a(lt,$e);function lt(l){return l==null?nt():b(l)?k(l)?l.entrySeq():l.toIndexedSeq():ht(l)}lt.of=function(){return lt(arguments)},lt.prototype.toIndexedSeq=function(){return this},lt.prototype.toString=function(){return this.__toString("Seq [","]")},lt.prototype.__iterate=function(l,c){return ct(this,l,c,!1)},lt.prototype.__iterator=function(l,c){return Sn(this,l,c,!1)},a(Bt,$e);function Bt(l){return(l==null?nt():b(l)?k(l)?l.entrySeq():l:ht(l)).toSetSeq()}Bt.of=function(){return Bt(arguments)},Bt.prototype.toSetSeq=function(){return this},$e.isSeq=Ft,$e.Keyed=ut,$e.Set=Bt,$e.Indexed=lt;var pn="@@__IMMUTABLE_SEQ__@@";$e.prototype[pn]=!0,a(Lt,lt);function Lt(l){this._array=l,this.size=l.length}Lt.prototype.get=function(l,c){return this.has(l)?this._array[ge(this,l)]:c},Lt.prototype.__iterate=function(l,c){for(var v=this._array,S=v.length-1,x=0;x<=S;x++)if(l(v[c?S-x:x],x,this)===!1)return x+1;return x},Lt.prototype.__iterator=function(l,c){var v=this._array,S=v.length-1,x=0;return new Ae(function(){return x>S?dt():Te(l,x,v[c?S-x++:x++])})},a(Et,ut);function Et(l){var c=Object.keys(l);this._object=l,this._keys=c,this.size=c.length}Et.prototype.get=function(l,c){return c!==void 0&&!this.has(l)?c:this._object[l]},Et.prototype.has=function(l){return this._object.hasOwnProperty(l)},Et.prototype.__iterate=function(l,c){for(var v=this._object,S=this._keys,x=S.length-1,M=0;M<=x;M++){var I=S[c?x-M:M];if(l(v[I],I,this)===!1)return M+1}return M},Et.prototype.__iterator=function(l,c){var v=this._object,S=this._keys,x=S.length-1,M=0;return new Ae(function(){var I=S[c?x-M:M];return M++>x?dt():Te(l,I,v[I])})},Et.prototype[j]=!0,a(rt,lt);function rt(l){this._iterable=l,this.size=l.length||l.size}rt.prototype.__iterateUncached=function(l,c){if(c)return this.cacheResult().__iterate(l,c);var v=this._iterable,S=Ct(v),x=0;if(Kt(S))for(var M;!(M=S.next()).done&&l(M.value,x++,this)!==!1;);return x},rt.prototype.__iteratorUncached=function(l,c){if(c)return this.cacheResult().__iterator(l,c);var v=this._iterable,S=Ct(v);if(!Kt(S))return new Ae(dt);var x=0;return new Ae(function(){var M=S.next();return M.done?M:Te(l,x++,M.value)})},a(pt,lt);function pt(l){this._iterator=l,this._iteratorCache=[]}pt.prototype.__iterateUncached=function(l,c){if(c)return this.cacheResult().__iterate(l,c);for(var v=this._iterator,S=this._iteratorCache,x=0;x<S.length;)if(l(S[x],x++,this)===!1)return x;for(var M;!(M=v.next()).done;){var I=M.value;if(S[x]=I,l(I,x++,this)===!1)break}return x},pt.prototype.__iteratorUncached=function(l,c){if(c)return this.cacheResult().__iterator(l,c);var v=this._iterator,S=this._iteratorCache,x=0;return new Ae(function(){if(x>=S.length){var M=v.next();if(M.done)return M;S[x]=M.value}return Te(l,x,S[x++])})};function Ft(l){return!!(l&&l[pn])}var Fe;function nt(){return Fe||(Fe=new Lt([]))}function Je(l){var c=Array.isArray(l)?new Lt(l).fromEntrySeq():Kt(l)?new pt(l).fromEntrySeq():Pt(l)?new rt(l).fromEntrySeq():typeof l=="object"?new Et(l):void 0;if(!c)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+l);return c}function ht(l){var c=wn(l);if(!c)throw new TypeError("Expected Array or iterable object of values: "+l);return c}function Ge(l){var c=wn(l)||typeof l=="object"&&new Et(l);if(!c)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+l);return c}function wn(l){return Jt(l)?new Lt(l):Kt(l)?new pt(l):Pt(l)?new rt(l):void 0}function ct(l,c,v,S){var x=l._cache;if(x){for(var M=x.length-1,I=0;I<=M;I++){var A=x[v?M-I:I];if(c(A[1],S?A[0]:I,l)===!1)return I+1}return I}return l.__iterateUncached(c,v)}function Sn(l,c,v,S){var x=l._cache;if(x){var M=x.length-1,I=0;return new Ae(function(){var A=x[v?M-I:I];return I++>M?dt():Te(c,S?A[0]:I-1,A[1])})}return l.__iteratorUncached(c,v)}function Yt(l,c){return c?fr(c,l,"",{"":l}):Un(l)}function fr(l,c,v,S){return Array.isArray(c)?l.call(S,v,lt(c).map(function(x,M){return fr(l,x,M,c)})):eo(c)?l.call(S,v,ut(c).map(function(x,M){return fr(l,x,M,c)})):c}function Un(l){return Array.isArray(l)?lt(l).map(Un).toList():eo(l)?ut(l).map(Un).toMap():l}function eo(l){return l&&(l.constructor===Object||l.constructor===void 0)}function Rt(l,c){if(l===c||l!==l&&c!==c)return!0;if(!l||!c)return!1;if(typeof l.valueOf=="function"&&typeof c.valueOf=="function"){if(l=l.valueOf(),c=c.valueOf(),l===c||l!==l&&c!==c)return!0;if(!l||!c)return!1}return!!(typeof l.equals=="function"&&typeof c.equals=="function"&&l.equals(c))}function vi(l,c){if(l===c)return!0;if(!b(c)||l.size!==void 0&&c.size!==void 0&&l.size!==c.size||l.__hash!==void 0&&c.__hash!==void 0&&l.__hash!==c.__hash||k(l)!==k(c)||D(l)!==D(c)||L(l)!==L(c))return!1;if(l.size===0&&c.size===0)return!0;var v=!P(l);if(L(l)){var S=l.entries();return c.every(function(ee,re){var oe=S.next().value;return oe&&Rt(oe[1],ee)&&(v||Rt(oe[0],re))})&&S.next().done}var x=!1;if(l.size===void 0)if(c.size===void 0)typeof l.cacheResult=="function"&&l.cacheResult();else{x=!0;var M=l;l=c,c=M}var I=!0,A=c.__iterate(function(ee,re){if(v?!l.has(ee):x?!Rt(ee,l.get(re,le)):!Rt(l.get(re,le),ee))return I=!1,!1});return I&&l.size===A}a($t,lt);function $t(l,c){if(!(this instanceof $t))return new $t(l,c);if(this._value=l,this.size=c===void 0?1/0:Math.max(0,c),this.size===0){if(yi)return yi;yi=this}}$t.prototype.toString=function(){return this.size===0?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},$t.prototype.get=function(l,c){return this.has(l)?this._value:c},$t.prototype.includes=function(l){return Rt(this._value,l)},$t.prototype.slice=function(l,c){var v=this.size;return je(l,c,v)?this:new $t(this._value,He(c,v)-Ce(l,v))},$t.prototype.reverse=function(){return this},$t.prototype.indexOf=function(l){return Rt(this._value,l)?0:-1},$t.prototype.lastIndexOf=function(l){return Rt(this._value,l)?this.size:-1},$t.prototype.__iterate=function(l,c){for(var v=0;v<this.size;v++)if(l(this._value,v,this)===!1)return v+1;return v},$t.prototype.__iterator=function(l,c){var v=this,S=0;return new Ae(function(){return S<v.size?Te(l,S++,v._value):dt()})},$t.prototype.equals=function(l){return l instanceof $t?Rt(this._value,l._value):vi(l)};var yi;function sn(l,c){if(!l)throw new Error(c)}a(Ht,lt);function Ht(l,c,v){if(!(this instanceof Ht))return new Ht(l,c,v);if(sn(v!==0,"Cannot step a Range by 0"),l=l||0,c===void 0&&(c=1/0),v=v===void 0?1:Math.abs(v),c<l&&(v=-v),this._start=l,this._end=c,this._step=v,this.size=Math.max(0,Math.ceil((c-l)/v-1)+1),this.size===0){if(Tn)return Tn;Tn=this}}Ht.prototype.toString=function(){return this.size===0?"Range []":"Range [ "+this._start+"..."+this._end+(this._step>1?" by "+this._step:"")+" ]"},Ht.prototype.get=function(l,c){return this.has(l)?this._start+ge(this,l)*this._step:c},Ht.prototype.includes=function(l){var c=(l-this._start)/this._step;return c>=0&&c<this.size&&c===Math.floor(c)},Ht.prototype.slice=function(l,c){return je(l,c,this.size)?this:(l=Ce(l,this.size),c=He(c,this.size),c<=l?new Ht(0,0):new Ht(this.get(l,this._end),this.get(c,this._end),this._step))},Ht.prototype.indexOf=function(l){var c=l-this._start;if(c%this._step===0){var v=c/this._step;if(v>=0&&v<this.size)return v}return-1},Ht.prototype.lastIndexOf=function(l){return this.indexOf(l)},Ht.prototype.__iterate=function(l,c){for(var v=this.size-1,S=this._step,x=c?this._start+v*S:this._start,M=0;M<=v;M++){if(l(x,M,this)===!1)return M+1;x+=c?-S:S}return M},Ht.prototype.__iterator=function(l,c){var v=this.size-1,S=this._step,x=c?this._start+v*S:this._start,M=0;return new Ae(function(){var I=x;return x+=c?-S:S,M>v?dt():Te(l,M++,I)})},Ht.prototype.equals=function(l){return l instanceof Ht?this._start===l._start&&this._end===l._end&&this._step===l._step:vi(this,l)};var Tn;a(it,u);function it(){throw TypeError("Abstract")}a(Vn,it);function Vn(){}a(Qn,it);function Qn(){}a(Wn,it);function Wn(){}it.Keyed=Vn,it.Indexed=Qn,it.Set=Wn;var kn=typeof Math.imul=="function"&&Math.imul(4294967295,2)===-2?Math.imul:function(l,c){l=l|0,c=c|0;var v=l&65535,S=c&65535;return v*S+((l>>>16)*S+v*(c>>>16)<<16>>>0)|0};function Or(l){return l>>>1&1073741824|l&3221225471}function It(l){if(l===!1||l===null||l===void 0||typeof l.valueOf=="function"&&(l=l.valueOf(),l===!1||l===null||l===void 0))return 0;if(l===!0)return 1;var c=typeof l;if(c==="number"){var v=l|0;for(v!==l&&(v^=l*4294967295);l>4294967295;)l/=4294967295,v^=l;return Or(v)}if(c==="string")return l.length>Ki?to(l):Gn(l);if(typeof l.hashCode=="function")return l.hashCode();if(c==="object")return bi(l);if(typeof l.toString=="function")return Gn(l.toString());throw new Error("Value type "+c+" cannot be hashed.")}function to(l){var c=hr[l];return c===void 0&&(c=Gn(l),er===ro&&(er=0,hr={}),er++,hr[l]=c),c}function Gn(l){for(var c=0,v=0;v<l.length;v++)c=31*c+l.charCodeAt(v)|0;return Or(c)}function bi(l){var c;if(Yr&&(c=Wr.get(l),c!==void 0)||(c=l[pr],c!==void 0)||!no&&(c=l.propertyIsEnumerable&&l.propertyIsEnumerable[pr],c!==void 0||(c=Jr(l),c!==void 0)))return c;if(c=++dr,dr&1073741824&&(dr=0),Yr)Wr.set(l,c);else{if(Nr!==void 0&&Nr(l)===!1)throw new Error("Non-extensible objects are not allowed as keys.");if(no)Object.defineProperty(l,pr,{enumerable:!1,configurable:!1,writable:!1,value:c});else if(l.propertyIsEnumerable!==void 0&&l.propertyIsEnumerable===l.constructor.prototype.propertyIsEnumerable)l.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},l.propertyIsEnumerable[pr]=c;else if(l.nodeType!==void 0)l[pr]=c;else throw new Error("Unable to set a non-enumerable property on object.")}return c}var Nr=Object.isExtensible,no=function(){try{return Object.defineProperty({},"@",{}),!0}catch{return!1}}();function Jr(l){if(l&&l.nodeType>0)switch(l.nodeType){case 1:return l.uniqueID;case 9:return l.documentElement&&l.documentElement.uniqueID}}var Yr=typeof WeakMap=="function",Wr;Yr&&(Wr=new WeakMap);var dr=0,pr="__immutablehash__";typeof Symbol=="function"&&(pr=Symbol(pr));var Ki=16,ro=255,er=0,hr={};function hn(l){sn(l!==1/0,"Cannot perform this action with an infinite size.")}a(ot,Vn);function ot(l){return l==null?Xt():Dr(l)&&!L(l)?l:Xt().withMutations(function(c){var v=f(l);hn(v.size),v.forEach(function(S,x){return c.set(x,S)})})}ot.prototype.toString=function(){return this.__toString("Map {","}")},ot.prototype.get=function(l,c){return this._root?this._root.get(0,void 0,l,c):c},ot.prototype.set=function(l,c){return Ln(this,l,c)},ot.prototype.setIn=function(l,c){return this.updateIn(l,le,function(){return c})},ot.prototype.remove=function(l){return Ln(this,l,le)},ot.prototype.deleteIn=function(l){return this.updateIn(l,function(){return le})},ot.prototype.update=function(l,c,v){return arguments.length===1?l(this):this.updateIn([l],c,v)},ot.prototype.updateIn=function(l,c,v){v||(v=c,c=void 0);var S=w(this,Bn(l),c,v);return S===le?void 0:S},ot.prototype.clear=function(){return this.size===0?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):Xt()},ot.prototype.merge=function(){return gr(this,void 0,arguments)},ot.prototype.mergeWith=function(l){var c=i.call(arguments,1);return gr(this,l,c)},ot.prototype.mergeIn=function(l){var c=i.call(arguments,1);return this.updateIn(l,Xt(),function(v){return typeof v.merge=="function"?v.merge.apply(v,c):c[c.length-1]})},ot.prototype.mergeDeep=function(){return gr(this,Kr,arguments)},ot.prototype.mergeDeepWith=function(l){var c=i.call(arguments,1);return gr(this,Rr(l),c)},ot.prototype.mergeDeepIn=function(l){var c=i.call(arguments,1);return this.updateIn(l,Xt(),function(v){return typeof v.mergeDeep=="function"?v.mergeDeep.apply(v,c):c[c.length-1]})},ot.prototype.sort=function(l){return At(rr(this,l))},ot.prototype.sortBy=function(l,c){return At(rr(this,c,l))},ot.prototype.withMutations=function(l){var c=this.asMutable();return l(c),c.wasAltered()?c.__ensureOwner(this.__ownerID):this},ot.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new ke)},ot.prototype.asImmutable=function(){return this.__ensureOwner()},ot.prototype.wasAltered=function(){return this.__altered},ot.prototype.__iterator=function(l,c){return new ei(this,l,c)},ot.prototype.__iterate=function(l,c){var v=this,S=0;return this._root&&this._root.iterate(function(x){return S++,l(x[1],x[0],v)},c),S},ot.prototype.__ensureOwner=function(l){return l===this.__ownerID?this:l?Ri(this.size,this._root,l,this.__hash):(this.__ownerID=l,this.__altered=!1,this)};function Dr(l){return!!(l&&l[Mr])}ot.isMap=Dr;var Mr="@@__IMMUTABLE_MAP__@@",tt=ot.prototype;tt[Mr]=!0,tt[ne]=tt.remove,tt.removeIn=tt.deleteIn;function Lr(l,c){this.ownerID=l,this.entries=c}Lr.prototype.get=function(l,c,v,S){for(var x=this.entries,M=0,I=x.length;M<I;M++)if(Rt(v,x[M][0]))return x[M][1];return S},Lr.prototype.update=function(l,c,v,S,x,M,I){for(var A=x===le,ee=this.entries,re=0,oe=ee.length;re<oe&&!Rt(S,ee[re][0]);re++);var Oe=re<oe;if(Oe?ee[re][1]===x:A)return this;if(ve(I),(A||!Oe)&&ve(M),!(A&&ee.length===1)){if(!Oe&&!A&&ee.length>=ie)return io(l,ee,S,x);var Ee=l&&l===this.ownerID,Ze=Ee?ee:we(ee);return Oe?A?re===oe-1?Ze.pop():Ze[re]=Ze.pop():Ze[re]=[S,x]:Ze.push([S,x]),Ee?(this.entries=Ze,this):new Lr(l,Ze)}};function Cr(l,c,v){this.ownerID=l,this.bitmap=c,this.nodes=v}Cr.prototype.get=function(l,c,v,S){c===void 0&&(c=It(v));var x=1<<((l===0?c:c>>>l)&J),M=this.bitmap;return M&x?this.nodes[N(M&x-1)].get(l+Y,c,v,S):S},Cr.prototype.update=function(l,c,v,S,x,M,I){v===void 0&&(v=It(S));var A=(c===0?v:v>>>c)&J,ee=1<<A,re=this.bitmap,oe=(re&ee)!==0;if(!oe&&x===le)return this;var Oe=N(re&ee-1),Ee=this.nodes,Ze=oe?Ee[Oe]:void 0,at=Fr(Ze,l,c+Y,v,S,x,M,I);if(at===Ze)return this;if(!oe&&at&&Ee.length>=me)return Pr(l,Ee,re,A,at);if(oe&&!at&&Ee.length===2&&rn(Ee[Oe^1]))return Ee[Oe^1];if(oe&&at&&Ee.length===1&&rn(at))return at;var Tt=l&&l===this.ownerID,_r=oe?at?re:re^ee:re|ee,qr=oe?at?B(Ee,Oe,at,Tt):U(Ee,Oe,Tt):$(Ee,Oe,at,Tt);return Tt?(this.bitmap=_r,this.nodes=qr,this):new Cr(l,_r,qr)};function Gr(l,c,v){this.ownerID=l,this.count=c,this.nodes=v}Gr.prototype.get=function(l,c,v,S){c===void 0&&(c=It(v));var x=(l===0?c:c>>>l)&J,M=this.nodes[x];return M?M.get(l+Y,c,v,S):S},Gr.prototype.update=function(l,c,v,S,x,M,I){v===void 0&&(v=It(S));var A=(c===0?v:v>>>c)&J,ee=x===le,re=this.nodes,oe=re[A];if(ee&&!oe)return this;var Oe=Fr(oe,l,c+Y,v,S,x,M,I);if(Oe===oe)return this;var Ee=this.count;if(!oe)Ee++;else if(!Oe&&(Ee--,Ee<be))return oo(l,re,Ee,A);var Ze=l&&l===this.ownerID,at=B(re,A,Oe,Ze);return Ze?(this.count=Ee,this.nodes=at,this):new Gr(l,Ee,at)};function gt(l,c,v){this.ownerID=l,this.keyHash=c,this.entries=v}gt.prototype.get=function(l,c,v,S){for(var x=this.entries,M=0,I=x.length;M<I;M++)if(Rt(v,x[M][0]))return x[M][1];return S},gt.prototype.update=function(l,c,v,S,x,M,I){v===void 0&&(v=It(S));var A=x===le;if(v!==this.keyHash)return A?this:(ve(I),ve(M),_i(this,l,c,v,[S,x]));for(var ee=this.entries,re=0,oe=ee.length;re<oe&&!Rt(S,ee[re][0]);re++);var Oe=re<oe;if(Oe?ee[re][1]===x:A)return this;if(ve(I),(A||!Oe)&&ve(M),A&&oe===2)return new jt(l,this.keyHash,ee[re^1]);var Ee=l&&l===this.ownerID,Ze=Ee?ee:we(ee);return Oe?A?re===oe-1?Ze.pop():Ze[re]=Ze.pop():Ze[re]=[S,x]:Ze.push([S,x]),Ee?(this.entries=Ze,this):new gt(l,this.keyHash,Ze)};function jt(l,c,v){this.ownerID=l,this.keyHash=c,this.entry=v}jt.prototype.get=function(l,c,v,S){return Rt(v,this.entry[0])?this.entry[1]:S},jt.prototype.update=function(l,c,v,S,x,M,I){var A=x===le,ee=Rt(S,this.entry[0]);if(ee?x===this.entry[1]:A)return this;if(ve(I),A){ve(M);return}return ee?l&&l===this.ownerID?(this.entry[1]=x,this):new jt(l,this.keyHash,[S,x]):(ve(M),_i(this,l,c,It(S),[S,x]))},Lr.prototype.iterate=gt.prototype.iterate=function(l,c){for(var v=this.entries,S=0,x=v.length-1;S<=x;S++)if(l(v[c?x-S:S])===!1)return!1},Cr.prototype.iterate=Gr.prototype.iterate=function(l,c){for(var v=this.nodes,S=0,x=v.length-1;S<=x;S++){var M=v[c?x-S:S];if(M&&M.iterate(l,c)===!1)return!1}},jt.prototype.iterate=function(l,c){return l(this.entry)},a(ei,Ae);function ei(l,c,v){this._type=c,this._reverse=v,this._stack=l._root&&Br(l._root)}ei.prototype.next=function(){for(var l=this._type,c=this._stack;c;){var v=c.node,S=c.index++,x;if(v.entry){if(S===0)return ti(l,v.entry)}else if(v.entries){if(x=v.entries.length-1,S<=x)return ti(l,v.entries[this._reverse?x-S:S])}else if(x=v.nodes.length-1,S<=x){var M=v.nodes[this._reverse?x-S:S];if(M){if(M.entry)return ti(l,M.entry);c=this._stack=Br(M,c)}continue}c=this._stack=this._stack.__prev}return dt()};function ti(l,c){return Te(l,c[0],c[1])}function Br(l,c){return{node:l,index:0,__prev:c}}function Ri(l,c,v,S){var x=Object.create(tt);return x.size=l,x._root=c,x.__ownerID=v,x.__hash=S,x.__altered=!1,x}var mr;function Xt(){return mr||(mr=Ri(0))}function Ln(l,c,v){var S,x;if(l._root){var M=Ie(Se),I=Ie(_e);if(S=Fr(l._root,l.__ownerID,0,void 0,c,v,M,I),!I.value)return l;x=l.size+(M.value?v===le?-1:1:0)}else{if(v===le)return l;x=1,S=new Lr(l.__ownerID,[[c,v]])}return l.__ownerID?(l.size=x,l._root=S,l.__hash=void 0,l.__altered=!0,l):S?Ri(x,S):Xt()}function Fr(l,c,v,S,x,M,I,A){return l?l.update(c,v,S,x,M,I,A):M===le?l:(ve(A),ve(I),new jt(c,S,[x,M]))}function rn(l){return l.constructor===jt||l.constructor===gt}function _i(l,c,v,S,x){if(l.keyHash===S)return new gt(c,S,[l.entry,x]);var M=(v===0?l.keyHash:l.keyHash>>>v)&J,I=(v===0?S:S>>>v)&J,A,ee=M===I?[_i(l,c,v+Y,S,x)]:(A=new jt(c,S,x),M<I?[l,A]:[A,l]);return new Cr(c,1<<M|1<<I,ee)}function io(l,c,v,S){l||(l=new ke);for(var x=new jt(l,It(v),[v,S]),M=0;M<c.length;M++){var I=c[M];x=x.update(l,0,void 0,I[0],I[1])}return x}function oo(l,c,v,S){for(var x=0,M=0,I=new Array(v),A=0,ee=1,re=c.length;A<re;A++,ee<<=1){var oe=c[A];oe!==void 0&&A!==S&&(x|=ee,I[M++]=oe)}return new Cr(l,x,I)}function Pr(l,c,v,S,x){for(var M=0,I=new Array(W),A=0;v!==0;A++,v>>>=1)I[A]=v&1?c[M++]:void 0;return I[S]=x,new Gr(l,M+1,I)}function gr(l,c,v){for(var S=[],x=0;x<v.length;x++){var M=v[x],I=f(M);b(M)||(I=I.map(function(A){return Yt(A)})),S.push(I)}return p(l,c,S)}function Kr(l,c,v){return l&&l.mergeDeep&&b(c)?l.mergeDeep(c):Rt(l,c)?l:c}function Rr(l){return function(c,v,S){if(c&&c.mergeDeepWith&&b(v))return c.mergeDeepWith(l,v);var x=l(c,v,S);return Rt(c,x)?c:x}}function p(l,c,v){return v=v.filter(function(S){return S.size!==0}),v.length===0?l:l.size===0&&!l.__ownerID&&v.length===1?l.constructor(v[0]):l.withMutations(function(S){for(var x=c?function(I,A){S.update(A,le,function(ee){return ee===le?I:c(ee,I,A)})}:function(I,A){S.set(A,I)},M=0;M<v.length;M++)v[M].forEach(x)})}function w(l,c,v,S){var x=l===le,M=c.next();if(M.done){var I=x?v:l,A=S(I);return A===I?l:A}sn(x||l&&l.set,"invalid keyPath");var ee=M.value,re=x?le:l.get(ee,le),oe=w(re,c,v,S);return oe===re?l:oe===le?l.remove(ee):(x?Xt():l).set(ee,oe)}function N(l){return l=l-(l>>1&1431655765),l=(l&858993459)+(l>>2&858993459),l=l+(l>>4)&252645135,l=l+(l>>8),l=l+(l>>16),l&127}function B(l,c,v,S){var x=S?l:we(l);return x[c]=v,x}function $(l,c,v,S){var x=l.length+1;if(S&&c+1===x)return l[c]=v,l;for(var M=new Array(x),I=0,A=0;A<x;A++)A===c?(M[A]=v,I=-1):M[A]=l[A+I];return M}function U(l,c,v){var S=l.length-1;if(v&&c===S)return l.pop(),l;for(var x=new Array(S),M=0,I=0;I<S;I++)I===c&&(M=1),x[I]=l[I+M];return x}var ie=W/4,me=W/2,be=W/4;a(xe,Qn);function xe(l){var c=gn();if(l==null)return c;if(We(l))return l;var v=g(l),S=v.size;return S===0?c:(hn(S),S>0&&S<W?mn(0,S,Y,null,new Wt(v.toArray())):c.withMutations(function(x){x.setSize(S),v.forEach(function(M,I){return x.set(I,M)})}))}xe.of=function(){return this(arguments)},xe.prototype.toString=function(){return this.__toString("List [","]")},xe.prototype.get=function(l,c){if(l=ge(this,l),l>=0&&l<this.size){l+=this._origin;var v=Ir(this,l);return v&&v.array[l&J]}return c},xe.prototype.set=function(l,c){return tr(this,l,c)},xe.prototype.remove=function(l){return this.has(l)?l===0?this.shift():l===this.size-1?this.pop():this.splice(l,1):this},xe.prototype.insert=function(l,c){return this.splice(l,0,c)},xe.prototype.clear=function(){return this.size===0?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=Y,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):gn()},xe.prototype.push=function(){var l=arguments,c=this.size;return this.withMutations(function(v){ni(v,0,c+l.length);for(var S=0;S<l.length;S++)v.set(c+S,l[S])})},xe.prototype.pop=function(){return ni(this,0,-1)},xe.prototype.unshift=function(){var l=arguments;return this.withMutations(function(c){ni(c,-l.length);for(var v=0;v<l.length;v++)c.set(v,l[v])})},xe.prototype.shift=function(){return ni(this,1)},xe.prototype.merge=function(){return ao(this,void 0,arguments)},xe.prototype.mergeWith=function(l){var c=i.call(arguments,1);return ao(this,l,c)},xe.prototype.mergeDeep=function(){return ao(this,Kr,arguments)},xe.prototype.mergeDeepWith=function(l){var c=i.call(arguments,1);return ao(this,Rr(l),c)},xe.prototype.setSize=function(l){return ni(this,0,l)},xe.prototype.slice=function(l,c){var v=this.size;return je(l,c,v)?this:ni(this,Ce(l,v),He(c,v))},xe.prototype.__iterator=function(l,c){var v=0,S=vr(this,c);return new Ae(function(){var x=S();return x===on?dt():Te(l,v++,x)})},xe.prototype.__iterate=function(l,c){for(var v=0,S=vr(this,c),x;(x=S())!==on&&l(x,v++,this)!==!1;);return v},xe.prototype.__ensureOwner=function(l){return l===this.__ownerID?this:l?mn(this._origin,this._capacity,this._level,this._root,this._tail,l,this.__hash):(this.__ownerID=l,this)};function We(l){return!!(l&&l[wt])}xe.isList=We;var wt="@@__IMMUTABLE_LIST__@@",Ot=xe.prototype;Ot[wt]=!0,Ot[ne]=Ot.remove,Ot.setIn=tt.setIn,Ot.deleteIn=Ot.removeIn=tt.removeIn,Ot.update=tt.update,Ot.updateIn=tt.updateIn,Ot.mergeIn=tt.mergeIn,Ot.mergeDeepIn=tt.mergeDeepIn,Ot.withMutations=tt.withMutations,Ot.asMutable=tt.asMutable,Ot.asImmutable=tt.asImmutable,Ot.wasAltered=tt.wasAltered;function Wt(l,c){this.array=l,this.ownerID=c}Wt.prototype.removeBefore=function(l,c,v){if(v===c?1<<c:this.array.length===0)return this;var S=v>>>c&J;if(S>=this.array.length)return new Wt([],l);var x=S===0,M;if(c>0){var I=this.array[S];if(M=I&&I.removeBefore(l,c-Y,v),M===I&&x)return this}if(x&&!M)return this;var A=Hn(this,l);if(!x)for(var ee=0;ee<S;ee++)A.array[ee]=void 0;return M&&(A.array[S]=M),A},Wt.prototype.removeAfter=function(l,c,v){if(v===(c?1<<c:0)||this.array.length===0)return this;var S=v-1>>>c&J;if(S>=this.array.length)return this;var x;if(c>0){var M=this.array[S];if(x=M&&M.removeAfter(l,c-Y,v),x===M&&S===this.array.length-1)return this}var I=Hn(this,l);return I.array.splice(S+1),x&&(I.array[S]=x),I};var on={};function vr(l,c){var v=l._origin,S=l._capacity,x=jr(S),M=l._tail;return I(l._root,l._level,0);function I(re,oe,Oe){return oe===0?A(re,Oe):ee(re,oe,Oe)}function A(re,oe){var Oe=oe===x?M&&M.array:re&&re.array,Ee=oe>v?0:v-oe,Ze=S-oe;return Ze>W&&(Ze=W),function(){if(Ee===Ze)return on;var at=c?--Ze:Ee++;return Oe&&Oe[at]}}function ee(re,oe,Oe){var Ee,Ze=re&&re.array,at=Oe>v?0:v-Oe>>oe,Tt=(S-Oe>>oe)+1;return Tt>W&&(Tt=W),function(){do{if(Ee){var _r=Ee();if(_r!==on)return _r;Ee=null}if(at===Tt)return on;var qr=c?--Tt:at++;Ee=I(Ze&&Ze[qr],oe-Y,Oe+(qr<<oe))}while(!0)}}}function mn(l,c,v,S,x,M,I){var A=Object.create(Ot);return A.size=c-l,A._origin=l,A._capacity=c,A._level=v,A._root=S,A._tail=x,A.__ownerID=M,A.__hash=I,A.__altered=!1,A}var zn;function gn(){return zn||(zn=mn(0,0,Y))}function tr(l,c,v){if(c=ge(l,c),c!==c)return l;if(c>=l.size||c<0)return l.withMutations(function(I){c<0?ni(I,c).set(0,v):ni(I,0,c+1).set(c,v)});c+=l._origin;var S=l._tail,x=l._root,M=Ie(_e);return c>=jr(l._capacity)?S=Cn(S,l.__ownerID,0,c,v,M):x=Cn(x,l.__ownerID,l._level,c,v,M),M.value?l.__ownerID?(l._root=x,l._tail=S,l.__hash=void 0,l.__altered=!0,l):mn(l._origin,l._capacity,l._level,x,S):l}function Cn(l,c,v,S,x,M){var I=S>>>v&J,A=l&&I<l.array.length;if(!A&&x===void 0)return l;var ee;if(v>0){var re=l&&l.array[I],oe=Cn(re,c,v-Y,S,x,M);return oe===re?l:(ee=Hn(l,c),ee.array[I]=oe,ee)}return A&&l.array[I]===x?l:(ve(M),ee=Hn(l,c),x===void 0&&I===ee.array.length-1?ee.array.pop():ee.array[I]=x,ee)}function Hn(l,c){return c&&l&&c===l.ownerID?l:new Wt(l?l.array.slice():[],c)}function Ir(l,c){if(c>=jr(l._capacity))return l._tail;if(c<1<<l._level+Y){for(var v=l._root,S=l._level;v&&S>0;)v=v.array[c>>>S&J],S-=Y;return v}}function ni(l,c,v){c!==void 0&&(c=c|0),v!==void 0&&(v=v|0);var S=l.__ownerID||new ke,x=l._origin,M=l._capacity,I=x+c,A=v===void 0?M:v<0?M+v:x+v;if(I===x&&A===M)return l;if(I>=A)return l.clear();for(var ee=l._level,re=l._root,oe=0;I+oe<0;)re=new Wt(re&&re.array.length?[void 0,re]:[],S),ee+=Y,oe+=1<<ee;oe&&(I+=oe,x+=oe,A+=oe,M+=oe);for(var Oe=jr(M),Ee=jr(A);Ee>=1<<ee+Y;)re=new Wt(re&&re.array.length?[re]:[],S),ee+=Y;var Ze=l._tail,at=Ee<Oe?Ir(l,A-1):Ee>Oe?new Wt([],S):Ze;if(Ze&&Ee>Oe&&I<M&&Ze.array.length){re=Hn(re,S);for(var Tt=re,_r=ee;_r>Y;_r-=Y){var qr=Oe>>>_r&J;Tt=Tt.array[qr]=Hn(Tt.array[qr],S)}Tt.array[Oe>>>Y&J]=Ze}if(A<M&&(at=at&&at.removeAfter(S,0,A)),I>=Ee)I-=Ee,A-=Ee,ee=Y,re=null,at=at&&at.removeBefore(S,0,I);else if(I>x||Ee<Oe){for(oe=0;re;){var Io=I>>>ee&J;if(Io!==Ee>>>ee&J)break;Io&&(oe+=(1<<ee)*Io),ee-=Y,re=re.array[Io]}re&&I>x&&(re=re.removeBefore(S,ee,I-oe)),re&&Ee<Oe&&(re=re.removeAfter(S,ee,Ee-oe)),oe&&(I-=oe,A-=oe)}return l.__ownerID?(l.size=A-I,l._origin=I,l._capacity=A,l._level=ee,l._root=re,l._tail=at,l.__hash=void 0,l.__altered=!0,l):mn(I,A,ee,re,at)}function ao(l,c,v){for(var S=[],x=0,M=0;M<v.length;M++){var I=v[M],A=g(I);A.size>x&&(x=A.size),b(I)||(A=A.map(function(ee){return Yt(ee)})),S.push(A)}return x>l.size&&(l=l.setSize(x)),p(l,c,S)}function jr(l){return l<W?0:l-1>>>Y<<Y}a(At,ot);function At(l){return l==null?vt():nr(l)?l:vt().withMutations(function(c){var v=f(l);hn(v.size),v.forEach(function(S,x){return c.set(x,S)})})}At.of=function(){return this(arguments)},At.prototype.toString=function(){return this.__toString("OrderedMap {","}")},At.prototype.get=function(l,c){var v=this._map.get(l);return v!==void 0?this._list.get(v)[1]:c},At.prototype.clear=function(){return this.size===0?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):vt()},At.prototype.set=function(l,c){return yr(this,l,c)},At.prototype.remove=function(l){return yr(this,l,le)},At.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},At.prototype.__iterate=function(l,c){var v=this;return this._list.__iterate(function(S){return S&&l(S[1],S[0],v)},c)},At.prototype.__iterator=function(l,c){return this._list.fromEntrySeq().__iterator(l,c)},At.prototype.__ensureOwner=function(l){if(l===this.__ownerID)return this;var c=this._map.__ensureOwner(l),v=this._list.__ensureOwner(l);return l?ri(c,v,l,this.__hash):(this.__ownerID=l,this._map=c,this._list=v,this)};function nr(l){return Dr(l)&&L(l)}At.isOrderedMap=nr,At.prototype[j]=!0,At.prototype[ne]=At.prototype.remove;function ri(l,c,v,S){var x=Object.create(At.prototype);return x.size=l?l.size:0,x._map=l,x._list=c,x.__ownerID=v,x.__hash=S,x}var Ii;function vt(){return Ii||(Ii=ri(Xt(),gn()))}function yr(l,c,v){var S=l._map,x=l._list,M=S.get(c),I=M!==void 0,A,ee;if(v===le){if(!I)return l;x.size>=W&&x.size>=S.size*2?(ee=x.filter(function(re,oe){return re!==void 0&&M!==oe}),A=ee.toKeyedSeq().map(function(re){return re[0]}).flip().toMap(),l.__ownerID&&(A.__ownerID=ee.__ownerID=l.__ownerID)):(A=S.remove(c),ee=M===x.size-1?x.pop():x.set(M,void 0))}else if(I){if(v===x.get(M)[1])return l;A=S,ee=x.set(M,[c,v])}else A=S.set(c,x.size),ee=x.set(x.size,[c,v]);return l.__ownerID?(l.size=A.size,l._map=A,l._list=ee,l.__hash=void 0,l):ri(A,ee)}a(Gt,ut);function Gt(l,c){this._iter=l,this._useKeys=c,this.size=l.size}Gt.prototype.get=function(l,c){return this._iter.get(l,c)},Gt.prototype.has=function(l){return this._iter.has(l)},Gt.prototype.valueSeq=function(){return this._iter.valueSeq()},Gt.prototype.reverse=function(){var l=this,c=oi(this,!0);return this._useKeys||(c.valueSeq=function(){return l._iter.toSeq().reverse()}),c},Gt.prototype.map=function(l,c){var v=this,S=lo(this,l,c);return this._useKeys||(S.valueSeq=function(){return v._iter.toSeq().map(l,c)}),S},Gt.prototype.__iterate=function(l,c){var v=this,S;return this._iter.__iterate(this._useKeys?function(x,M){return l(x,M,v)}:(S=c?Hr(this):0,function(x){return l(x,c?--S:S++,v)}),c)},Gt.prototype.__iterator=function(l,c){if(this._useKeys)return this._iter.__iterator(l,c);var v=this._iter.__iterator(ae,c),S=c?Hr(this):0;return new Ae(function(){var x=v.next();return x.done?x:Te(l,c?--S:S++,x.value,x)})},Gt.prototype[j]=!0,a(xn,lt);function xn(l){this._iter=l,this.size=l.size}xn.prototype.includes=function(l){return this._iter.includes(l)},xn.prototype.__iterate=function(l,c){var v=this,S=0;return this._iter.__iterate(function(x){return l(x,S++,v)},c)},xn.prototype.__iterator=function(l,c){var v=this._iter.__iterator(ae,c),S=0;return new Ae(function(){var x=v.next();return x.done?x:Te(l,S++,x.value,x)})},a(vn,Bt);function vn(l){this._iter=l,this.size=l.size}vn.prototype.has=function(l){return this._iter.includes(l)},vn.prototype.__iterate=function(l,c){var v=this;return this._iter.__iterate(function(S){return l(S,S,v)},c)},vn.prototype.__iterator=function(l,c){var v=this._iter.__iterator(ae,c);return new Ae(function(){var S=v.next();return S.done?S:Te(l,S.value,S.value,S)})},a(Tr,ut);function Tr(l){this._iter=l,this.size=l.size}Tr.prototype.entrySeq=function(){return this._iter.toSeq()},Tr.prototype.__iterate=function(l,c){var v=this;return this._iter.__iterate(function(S){if(S){ai(S);var x=b(S);return l(x?S.get(1):S[1],x?S.get(0):S[0],v)}},c)},Tr.prototype.__iterator=function(l,c){var v=this._iter.__iterator(ae,c);return new Ae(function(){for(;;){var S=v.next();if(S.done)return S;var x=S.value;if(x){ai(x);var M=b(x);return Te(l,M?x.get(0):x[0],M?x.get(1):x[1],S)}}})},xn.prototype.cacheResult=Gt.prototype.cacheResult=vn.prototype.cacheResult=Tr.prototype.cacheResult=Lo;function ii(l){var c=$n(l);return c._iter=l,c.size=l.size,c.flip=function(){return l},c.reverse=function(){var v=l.reverse.apply(this);return v.flip=function(){return l.reverse()},v},c.has=function(v){return l.includes(v)},c.includes=function(v){return l.has(v)},c.cacheResult=Lo,c.__iterateUncached=function(v,S){var x=this;return l.__iterate(function(M,I){return v(I,M,x)!==!1},S)},c.__iteratorUncached=function(v,S){if(v===Me){var x=l.__iterator(v,S);return new Ae(function(){var M=x.next();if(!M.done){var I=M.value[0];M.value[0]=M.value[1],M.value[1]=I}return M})}return l.__iterator(v===ae?fe:ae,S)},c}function lo(l,c,v){var S=$n(l);return S.size=l.size,S.has=function(x){return l.has(x)},S.get=function(x,M){var I=l.get(x,le);return I===le?M:c.call(v,I,x,l)},S.__iterateUncached=function(x,M){var I=this;return l.__iterate(function(A,ee,re){return x(c.call(v,A,ee,re),ee,I)!==!1},M)},S.__iteratorUncached=function(x,M){var I=l.__iterator(Me,M);return new Ae(function(){var A=I.next();if(A.done)return A;var ee=A.value,re=ee[0];return Te(x,re,c.call(v,ee[1],re,l),A)})},S}function oi(l,c){var v=$n(l);return v._iter=l,v.size=l.size,v.reverse=function(){return l},l.flip&&(v.flip=function(){var S=ii(l);return S.reverse=function(){return l.flip()},S}),v.get=function(S,x){return l.get(c?S:-1-S,x)},v.has=function(S){return l.has(c?S:-1-S)},v.includes=function(S){return l.includes(S)},v.cacheResult=Lo,v.__iterate=function(S,x){var M=this;return l.__iterate(function(I,A){return S(I,A,M)},!x)},v.__iterator=function(S,x){return l.__iterator(S,!x)},v}function ji(l,c,v,S){var x=$n(l);return S&&(x.has=function(M){var I=l.get(M,le);return I!==le&&!!c.call(v,I,M,l)},x.get=function(M,I){var A=l.get(M,le);return A!==le&&c.call(v,A,M,l)?A:I}),x.__iterateUncached=function(M,I){var A=this,ee=0;return l.__iterate(function(re,oe,Oe){if(c.call(v,re,oe,Oe))return ee++,M(re,S?oe:ee-1,A)},I),ee},x.__iteratorUncached=function(M,I){var A=l.__iterator(Me,I),ee=0;return new Ae(function(){for(;;){var re=A.next();if(re.done)return re;var oe=re.value,Oe=oe[0],Ee=oe[1];if(c.call(v,Ee,Oe,l))return Te(M,S?Oe:ee++,Ee,re)}})},x}function fa(l,c,v){var S=ot().asMutable();return l.__iterate(function(x,M){S.update(c.call(v,x,M,l),0,function(I){return I+1})}),S.asImmutable()}function zr(l,c,v){var S=k(l),x=(L(l)?At():ot()).asMutable();l.__iterate(function(I,A){x.update(c.call(v,I,A,l),function(ee){return ee=ee||[],ee.push(S?[A,I]:I),ee})});var M=qi(l);return x.map(function(I){return ft(l,M(I))})}function Ti(l,c,v,S){var x=l.size;if(c!==void 0&&(c=c|0),v!==void 0&&(v=v|0),je(c,v,x))return l;var M=Ce(c,x),I=He(v,x);if(M!==M||I!==I)return Ti(l.toSeq().cacheResult(),c,v,S);var A=I-M,ee;A===A&&(ee=A<0?0:A);var re=$n(l);return re.size=ee===0?ee:l.size&&ee||void 0,!S&&Ft(l)&&ee>=0&&(re.get=function(oe,Oe){return oe=ge(this,oe),oe>=0&&oe<ee?l.get(oe+M,Oe):Oe}),re.__iterateUncached=function(oe,Oe){var Ee=this;if(ee===0)return 0;if(Oe)return this.cacheResult().__iterate(oe,Oe);var Ze=0,at=!0,Tt=0;return l.__iterate(function(_r,qr){if(!(at&&(at=Ze++<M)))return Tt++,oe(_r,S?qr:Tt-1,Ee)!==!1&&Tt!==ee}),Tt},re.__iteratorUncached=function(oe,Oe){if(ee!==0&&Oe)return this.cacheResult().__iterator(oe,Oe);var Ee=ee!==0&&l.__iterator(oe,Oe),Ze=0,at=0;return new Ae(function(){for(;Ze++<M;)Ee.next();if(++at>ee)return dt();var Tt=Ee.next();return S||oe===ae?Tt:oe===fe?Te(oe,at-1,void 0,Tt):Te(oe,at-1,Tt.value[1],Tt)})},re}function Mo(l,c,v){var S=$n(l);return S.__iterateUncached=function(x,M){var I=this;if(M)return this.cacheResult().__iterate(x,M);var A=0;return l.__iterate(function(ee,re,oe){return c.call(v,ee,re,oe)&&++A&&x(ee,re,I)}),A},S.__iteratorUncached=function(x,M){var I=this;if(M)return this.cacheResult().__iterator(x,M);var A=l.__iterator(Me,M),ee=!0;return new Ae(function(){if(!ee)return dt();var re=A.next();if(re.done)return re;var oe=re.value,Oe=oe[0],Ee=oe[1];return c.call(v,Ee,Oe,I)?x===Me?re:Te(x,Oe,Ee,re):(ee=!1,dt())})},S}function da(l,c,v,S){var x=$n(l);return x.__iterateUncached=function(M,I){var A=this;if(I)return this.cacheResult().__iterate(M,I);var ee=!0,re=0;return l.__iterate(function(oe,Oe,Ee){if(!(ee&&(ee=c.call(v,oe,Oe,Ee))))return re++,M(oe,S?Oe:re-1,A)}),re},x.__iteratorUncached=function(M,I){var A=this;if(I)return this.cacheResult().__iterator(M,I);var ee=l.__iterator(Me,I),re=!0,oe=0;return new Ae(function(){var Oe,Ee,Ze;do{if(Oe=ee.next(),Oe.done)return S||M===ae?Oe:M===fe?Te(M,oe++,void 0,Oe):Te(M,oe++,Oe.value[1],Oe);var at=Oe.value;Ee=at[0],Ze=at[1],re&&(re=c.call(v,Ze,Ee,A))}while(re);return M===Me?Oe:Te(M,Ee,Ze,Oe)})},x}function wi(l,c){var v=k(l),S=[l].concat(c).map(function(I){return b(I)?v&&(I=f(I)):I=v?Je(I):ht(Array.isArray(I)?I:[I]),I}).filter(function(I){return I.size!==0});if(S.length===0)return l;if(S.length===1){var x=S[0];if(x===l||v&&k(x)||D(l)&&D(x))return x}var M=new Lt(S);return v?M=M.toKeyedSeq():D(l)||(M=M.toSetSeq()),M=M.flatten(!0),M.size=S.reduce(function(I,A){if(I!==void 0){var ee=A.size;if(ee!==void 0)return I+ee}},0),M}function zi(l,c,v){var S=$n(l);return S.__iterateUncached=function(x,M){var I=0,A=!1;function ee(re,oe){var Oe=this;re.__iterate(function(Ee,Ze){return(!c||oe<c)&&b(Ee)?ee(Ee,oe+1):x(Ee,v?Ze:I++,Oe)===!1&&(A=!0),!A},M)}return ee(l,0),I},S.__iteratorUncached=function(x,M){var I=l.__iterator(x,M),A=[],ee=0;return new Ae(function(){for(;I;){var re=I.next();if(re.done!==!1){I=A.pop();continue}var oe=re.value;if(x===Me&&(oe=oe[1]),(!c||A.length<c)&&b(oe))A.push(I),I=oe.__iterator(x,M);else return v?re:Te(x,ee++,oe,re)}return dt()})},S}function uo(l,c,v){var S=qi(l);return l.toSeq().map(function(x,M){return S(c.call(v,x,M,l))}).flatten(!0)}function En(l,c){var v=$n(l);return v.size=l.size&&l.size*2-1,v.__iterateUncached=function(S,x){var M=this,I=0;return l.__iterate(function(A,ee){return(!I||S(c,I++,M)!==!1)&&S(A,I++,M)!==!1},x),I},v.__iteratorUncached=function(S,x){var M=l.__iterator(ae,x),I=0,A;return new Ae(function(){return(!A||I%2)&&(A=M.next(),A.done)?A:I%2?Te(S,I++,c):Te(S,I++,A.value,A)})},v}function rr(l,c,v){c||(c=Co);var S=k(l),x=0,M=l.toSeq().map(function(I,A){return[A,I,x++,v?v(I,A,l):I]}).toArray();return M.sort(function(I,A){return c(I[3],A[3])||I[2]-A[2]}).forEach(S?function(I,A){M[A].length=2}:function(I,A){M[A]=I[1]}),S?ut(M):D(l)?lt(M):Bt(M)}function br(l,c,v){if(c||(c=Co),v){var S=l.toSeq().map(function(x,M){return[x,v(x,M,l)]}).reduce(function(x,M){return Hi(c,x[1],M[1])?M:x});return S&&S[0]}else return l.reduce(function(x,M){return Hi(c,x,M)?M:x})}function Hi(l,c,v){var S=l(v,c);return S===0&&v!==c&&(v==null||v!==v)||S>0}function so(l,c,v){var S=$n(l);return S.size=new Lt(v).map(function(x){return x.size}).min(),S.__iterate=function(x,M){for(var I=this.__iterator(ae,M),A,ee=0;!(A=I.next()).done&&x(A.value,ee++,this)!==!1;);return ee},S.__iteratorUncached=function(x,M){var I=v.map(function(re){return re=u(re),Ct(M?re.reverse():re)}),A=0,ee=!1;return new Ae(function(){var re;return ee||(re=I.map(function(oe){return oe.next()}),ee=re.some(function(oe){return oe.done})),ee?dt():Te(x,A++,c.apply(null,re.map(function(oe){return oe.value})))})},S}function ft(l,c){return Ft(l)?c:l.constructor(c)}function ai(l){if(l!==Object(l))throw new TypeError("Expected [K, V] tuple: "+l)}function Hr(l){return hn(l.size),he(l)}function qi(l){return k(l)?f:D(l)?g:y}function $n(l){return Object.create((k(l)?ut:D(l)?lt:Bt).prototype)}function Lo(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):$e.prototype.cacheResult.call(this)}function Co(l,c){return l>c?1:l<c?-1:0}function Bn(l){var c=Ct(l);if(!c){if(!Jt(l))throw new TypeError("Expected iterable or array-like: "+l);c=Ct(u(l))}return c}a(yn,Vn);function yn(l,c){var v,S=function(M){if(M instanceof S)return M;if(!(this instanceof S))return new S(M);if(!v){v=!0;var I=Object.keys(l);Fo(x,I),x.size=I.length,x._name=c,x._keys=I,x._defaultValues=l}this._map=ot(M)},x=S.prototype=Object.create(en);return x.constructor=S,S}yn.prototype.toString=function(){return this.__toString(pa(this)+" {","}")},yn.prototype.has=function(l){return this._defaultValues.hasOwnProperty(l)},yn.prototype.get=function(l,c){if(!this.has(l))return c;var v=this._defaultValues[l];return this._map?this._map.get(l,v):v},yn.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var l=this.constructor;return l._empty||(l._empty=Bo(this,Xt()))},yn.prototype.set=function(l,c){if(!this.has(l))throw new Error('Cannot set unknown key "'+l+'" on '+pa(this));var v=this._map&&this._map.set(l,c);return this.__ownerID||v===this._map?this:Bo(this,v)},yn.prototype.remove=function(l){if(!this.has(l))return this;var c=this._map&&this._map.remove(l);return this.__ownerID||c===this._map?this:Bo(this,c)},yn.prototype.wasAltered=function(){return this._map.wasAltered()},yn.prototype.__iterator=function(l,c){var v=this;return f(this._defaultValues).map(function(S,x){return v.get(x)}).__iterator(l,c)},yn.prototype.__iterate=function(l,c){var v=this;return f(this._defaultValues).map(function(S,x){return v.get(x)}).__iterate(l,c)},yn.prototype.__ensureOwner=function(l){if(l===this.__ownerID)return this;var c=this._map&&this._map.__ensureOwner(l);return l?Bo(this,c,l):(this.__ownerID=l,this._map=c,this)};var en=yn.prototype;en[ne]=en.remove,en.deleteIn=en.removeIn=tt.removeIn,en.merge=tt.merge,en.mergeWith=tt.mergeWith,en.mergeIn=tt.mergeIn,en.mergeDeep=tt.mergeDeep,en.mergeDeepWith=tt.mergeDeepWith,en.mergeDeepIn=tt.mergeDeepIn,en.setIn=tt.setIn,en.update=tt.update,en.updateIn=tt.updateIn,en.withMutations=tt.withMutations,en.asMutable=tt.asMutable,en.asImmutable=tt.asImmutable;function Bo(l,c,v){var S=Object.create(Object.getPrototypeOf(l));return S._map=c,S.__ownerID=v,S}function pa(l){return l._name||l.constructor.name||"Record"}function Fo(l,c){try{c.forEach(Ua.bind(void 0,l))}catch{}}function Ua(l,c){Object.defineProperty(l,c,{get:function(){return this.get(c)},set:function(v){sn(this.__ownerID,"Cannot set on an immutable record."),this.set(c,v)}})}a(Nt,Wn);function Nt(l){return l==null?Ro():Ai(l)&&!L(l)?l:Ro().withMutations(function(c){var v=y(l);hn(v.size),v.forEach(function(S){return c.add(S)})})}Nt.of=function(){return this(arguments)},Nt.fromKeys=function(l){return this(f(l).keySeq())},Nt.prototype.toString=function(){return this.__toString("Set {","}")},Nt.prototype.has=function(l){return this._map.has(l)},Nt.prototype.add=function(l){return Po(this,this._map.set(l,!0))},Nt.prototype.remove=function(l){return Po(this,this._map.remove(l))},Nt.prototype.clear=function(){return Po(this,this._map.clear())},Nt.prototype.union=function(){var l=i.call(arguments,0);return l=l.filter(function(c){return c.size!==0}),l.length===0?this:this.size===0&&!this.__ownerID&&l.length===1?this.constructor(l[0]):this.withMutations(function(c){for(var v=0;v<l.length;v++)y(l[v]).forEach(function(S){return c.add(S)})})},Nt.prototype.intersect=function(){var l=i.call(arguments,0);if(l.length===0)return this;l=l.map(function(v){return y(v)});var c=this;return this.withMutations(function(v){c.forEach(function(S){l.every(function(x){return x.includes(S)})||v.remove(S)})})},Nt.prototype.subtract=function(){var l=i.call(arguments,0);if(l.length===0)return this;l=l.map(function(v){return y(v)});var c=this;return this.withMutations(function(v){c.forEach(function(S){l.some(function(x){return x.includes(S)})&&v.remove(S)})})},Nt.prototype.merge=function(){return this.union.apply(this,arguments)},Nt.prototype.mergeWith=function(l){var c=i.call(arguments,1);return this.union.apply(this,c)},Nt.prototype.sort=function(l){return h(rr(this,l))},Nt.prototype.sortBy=function(l,c){return h(rr(this,c,l))},Nt.prototype.wasAltered=function(){return this._map.wasAltered()},Nt.prototype.__iterate=function(l,c){var v=this;return this._map.__iterate(function(S,x){return l(x,x,v)},c)},Nt.prototype.__iterator=function(l,c){return this._map.map(function(v,S){return S}).__iterator(l,c)},Nt.prototype.__ensureOwner=function(l){if(l===this.__ownerID)return this;var c=this._map.__ensureOwner(l);return l?this.__make(c,l):(this.__ownerID=l,this._map=c,this)};function Ai(l){return!!(l&&l[co])}Nt.isSet=Ai;var co="@@__IMMUTABLE_SET__@@",Fn=Nt.prototype;Fn[co]=!0,Fn[ne]=Fn.remove,Fn.mergeDeep=Fn.merge,Fn.mergeDeepWith=Fn.mergeWith,Fn.withMutations=tt.withMutations,Fn.asMutable=tt.asMutable,Fn.asImmutable=tt.asImmutable,Fn.__empty=Ro,Fn.__make=fo;function Po(l,c){return l.__ownerID?(l.size=c.size,l._map=c,l):c===l._map?l:c.size===0?l.__empty():l.__make(c)}function fo(l,c){var v=Object.create(Fn);return v.size=l?l.size:0,v._map=l,v.__ownerID=c,v}var Ko;function Ro(){return Ko||(Ko=fo(Xt()))}a(h,Nt);function h(l){return l==null?V():_(l)?l:V().withMutations(function(c){var v=y(l);hn(v.size),v.forEach(function(S){return c.add(S)})})}h.of=function(){return this(arguments)},h.fromKeys=function(l){return this(f(l).keySeq())},h.prototype.toString=function(){return this.__toString("OrderedSet {","}")};function _(l){return Ai(l)&&L(l)}h.isOrderedSet=_;var O=h.prototype;O[j]=!0,O.__empty=V,O.__make=C;function C(l,c){var v=Object.create(O);return v.size=l?l.size:0,v._map=l,v.__ownerID=c,v}var X;function V(){return X||(X=C(vt()))}a(te,Qn);function te(l){return l==null?bn():pe(l)?l:bn().unshiftAll(l)}te.of=function(){return this(arguments)},te.prototype.toString=function(){return this.__toString("Stack [","]")},te.prototype.get=function(l,c){var v=this._head;for(l=ge(this,l);v&&l--;)v=v.next;return v?v.value:c},te.prototype.peek=function(){return this._head&&this._head.value},te.prototype.push=function(){if(arguments.length===0)return this;for(var l=this.size+arguments.length,c=this._head,v=arguments.length-1;v>=0;v--)c={value:arguments[v],next:c};return this.__ownerID?(this.size=l,this._head=c,this.__hash=void 0,this.__altered=!0,this):Ue(l,c)},te.prototype.pushAll=function(l){if(l=g(l),l.size===0)return this;hn(l.size);var c=this.size,v=this._head;return l.reverse().forEach(function(S){c++,v={value:S,next:v}}),this.__ownerID?(this.size=c,this._head=v,this.__hash=void 0,this.__altered=!0,this):Ue(c,v)},te.prototype.pop=function(){return this.slice(1)},te.prototype.unshift=function(){return this.push.apply(this,arguments)},te.prototype.unshiftAll=function(l){return this.pushAll(l)},te.prototype.shift=function(){return this.pop.apply(this,arguments)},te.prototype.clear=function(){return this.size===0?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):bn()},te.prototype.slice=function(l,c){if(je(l,c,this.size))return this;var v=Ce(l,this.size),S=He(c,this.size);if(S!==this.size)return Qn.prototype.slice.call(this,l,c);for(var x=this.size-v,M=this._head;v--;)M=M.next;return this.__ownerID?(this.size=x,this._head=M,this.__hash=void 0,this.__altered=!0,this):Ue(x,M)},te.prototype.__ensureOwner=function(l){return l===this.__ownerID?this:l?Ue(this.size,this._head,l,this.__hash):(this.__ownerID=l,this.__altered=!1,this)},te.prototype.__iterate=function(l,c){if(c)return this.reverse().__iterate(l);for(var v=0,S=this._head;S&&l(S.value,v++,this)!==!1;)S=S.next;return v},te.prototype.__iterator=function(l,c){if(c)return this.reverse().__iterator(l);var v=0,S=this._head;return new Ae(function(){if(S){var x=S.value;return S=S.next,Te(l,v++,x)}return dt()})};function pe(l){return!!(l&&l[qe])}te.isStack=pe;var qe="@@__IMMUTABLE_STACK__@@",Xe=te.prototype;Xe[qe]=!0,Xe.withMutations=tt.withMutations,Xe.asMutable=tt.asMutable,Xe.asImmutable=tt.asImmutable,Xe.wasAltered=tt.wasAltered;function Ue(l,c,v,S){var x=Object.create(Xe);return x.size=l,x._head=c,x.__ownerID=v,x.__hash=S,x.__altered=!1,x}var Dt;function bn(){return Dt||(Dt=Ue(0))}function Ut(l,c){var v=function(S){l.prototype[S]=c[S]};return Object.keys(c).forEach(v),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(c).forEach(v),l}u.Iterator=Ae,Ut(u,{toArray:function(){hn(this.size);var l=new Array(this.size||0);return this.valueSeq().__iterate(function(c,v){l[v]=c}),l},toIndexedSeq:function(){return new xn(this)},toJS:function(){return this.toSeq().map(function(l){return l&&typeof l.toJS=="function"?l.toJS():l}).__toJS()},toJSON:function(){return this.toSeq().map(function(l){return l&&typeof l.toJSON=="function"?l.toJSON():l}).__toJS()},toKeyedSeq:function(){return new Gt(this,!0)},toMap:function(){return ot(this.toKeyedSeq())},toObject:function(){hn(this.size);var l={};return this.__iterate(function(c,v){l[v]=c}),l},toOrderedMap:function(){return At(this.toKeyedSeq())},toOrderedSet:function(){return h(k(this)?this.valueSeq():this)},toSet:function(){return Nt(k(this)?this.valueSeq():this)},toSetSeq:function(){return new vn(this)},toSeq:function(){return D(this)?this.toIndexedSeq():k(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return te(k(this)?this.valueSeq():this)},toList:function(){return xe(k(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(l,c){return this.size===0?l+c:l+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+c},concat:function(){var l=i.call(arguments,0);return ft(this,wi(this,l))},includes:function(l){return this.some(function(c){return Rt(c,l)})},entries:function(){return this.__iterator(Me)},every:function(l,c){hn(this.size);var v=!0;return this.__iterate(function(S,x,M){if(!l.call(c,S,x,M))return v=!1,!1}),v},filter:function(l,c){return ft(this,ji(this,l,c,!0))},find:function(l,c,v){var S=this.findEntry(l,c);return S?S[1]:v},findEntry:function(l,c){var v;return this.__iterate(function(S,x,M){if(l.call(c,S,x,M))return v=[x,S],!1}),v},findLastEntry:function(l,c){return this.toSeq().reverse().findEntry(l,c)},forEach:function(l,c){return hn(this.size),this.__iterate(c?l.bind(c):l)},join:function(l){hn(this.size),l=l!==void 0?""+l:",";var c="",v=!0;return this.__iterate(function(S){v?v=!1:c+=l,c+=S!=null?S.toString():""}),c},keys:function(){return this.__iterator(fe)},map:function(l,c){return ft(this,lo(this,l,c))},reduce:function(l,c,v){hn(this.size);var S,x;return arguments.length<2?x=!0:S=c,this.__iterate(function(M,I,A){x?(x=!1,S=M):S=l.call(v,S,M,I,A)}),S},reduceRight:function(l,c,v){var S=this.toKeyedSeq().reverse();return S.reduce.apply(S,arguments)},reverse:function(){return ft(this,oi(this,!0))},slice:function(l,c){return ft(this,Ti(this,l,c,!0))},some:function(l,c){return!this.every(Va(l),c)},sort:function(l){return ft(this,rr(this,l))},values:function(){return this.__iterator(ae)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return this.size!==void 0?this.size===0:!this.some(function(){return!0})},count:function(l,c){return he(l?this.toSeq().filter(l,c):this)},countBy:function(l,c){return fa(this,l,c)},equals:function(l){return vi(this,l)},entrySeq:function(){var l=this;if(l._cache)return new Lt(l._cache);var c=l.toSeq().map(ui).toIndexedSeq();return c.fromEntrySeq=function(){return l.toSeq()},c},filterNot:function(l,c){return this.filter(Va(l),c)},findLast:function(l,c,v){return this.toKeyedSeq().reverse().find(l,c,v)},first:function(){return this.find(De)},flatMap:function(l,c){return ft(this,uo(this,l,c))},flatten:function(l){return ft(this,zi(this,l,!0))},fromEntrySeq:function(){return new Tr(this)},get:function(l,c){return this.find(function(v,S){return Rt(S,l)},void 0,c)},getIn:function(l,c){for(var v=this,S=Bn(l),x;!(x=S.next()).done;){var M=x.value;if(v=v&&v.get?v.get(M,le):le,v===le)return c}return v},groupBy:function(l,c){return zr(this,l,c)},has:function(l){return this.get(l,le)!==le},hasIn:function(l){return this.getIn(l,le)!==le},isSubset:function(l){return l=typeof l.includes=="function"?l:u(l),this.every(function(c){return l.includes(c)})},isSuperset:function(l){return l=typeof l.isSubset=="function"?l:u(l),l.isSubset(this)},keySeq:function(){return this.toSeq().map(ha).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},max:function(l){return br(this,l)},maxBy:function(l,c){return br(this,c,l)},min:function(l){return br(this,l?is(l):Hl)},minBy:function(l,c){return br(this,c?is(c):Hl,l)},rest:function(){return this.slice(1)},skip:function(l){return this.slice(Math.max(0,l))},skipLast:function(l){return ft(this,this.toSeq().reverse().skip(l).reverse())},skipWhile:function(l,c){return ft(this,da(this,l,c,!0))},skipUntil:function(l,c){return this.skipWhile(Va(l),c)},sortBy:function(l,c){return ft(this,rr(this,c,l))},take:function(l){return this.slice(0,Math.max(0,l))},takeLast:function(l){return ft(this,this.toSeq().reverse().take(l).reverse())},takeWhile:function(l,c){return ft(this,Mo(this,l,c))},takeUntil:function(l,c){return this.takeWhile(Va(l),c)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=ma(this))}});var St=u.prototype;St[T]=!0,St[Mt]=St.values,St.__toJS=St.toArray,St.__toStringMapper=os,St.inspect=St.toSource=function(){return this.toString()},St.chain=St.flatMap,St.contains=St.includes,function(){try{Object.defineProperty(St,"length",{get:function(){if(!u.noLengthWarning){var l;try{throw new Error}catch(c){l=c.stack}if(l.indexOf("_wrapObject")===-1)return console&&console.warn&&console.warn("iterable.length has been deprecated, use iterable.size or iterable.count(). This warning will become a silent error in a future version. "+l),this.size}}})}catch{}}(),Ut(f,{flip:function(){return ft(this,ii(this))},findKey:function(l,c){var v=this.findEntry(l,c);return v&&v[0]},findLastKey:function(l,c){return this.toSeq().reverse().findKey(l,c)},keyOf:function(l){return this.findKey(function(c){return Rt(c,l)})},lastKeyOf:function(l){return this.findLastKey(function(c){return Rt(c,l)})},mapEntries:function(l,c){var v=this,S=0;return ft(this,this.toSeq().map(function(x,M){return l.call(c,[M,x],S++,v)}).fromEntrySeq())},mapKeys:function(l,c){var v=this;return ft(this,this.toSeq().flip().map(function(S,x){return l.call(c,S,x,v)}).flip())}});var li=f.prototype;li[F]=!0,li[Mt]=St.entries,li.__toJS=St.toObject,li.__toStringMapper=function(l,c){return JSON.stringify(c)+": "+os(l)},Ut(g,{toKeyedSeq:function(){return new Gt(this,!1)},filter:function(l,c){return ft(this,ji(this,l,c,!1))},findIndex:function(l,c){var v=this.findEntry(l,c);return v?v[0]:-1},indexOf:function(l){var c=this.toKeyedSeq().keyOf(l);return c===void 0?-1:c},lastIndexOf:function(l){var c=this.toKeyedSeq().reverse().keyOf(l);return c===void 0?-1:c},reverse:function(){return ft(this,oi(this,!1))},slice:function(l,c){return ft(this,Ti(this,l,c,!1))},splice:function(l,c){var v=arguments.length;if(c=Math.max(c|0,0),v===0||v===2&&!c)return this;l=Ce(l,l<0?this.count():this.size);var S=this.slice(0,l);return ft(this,v===1?S:S.concat(we(arguments,2),this.slice(l+c)))},findLastIndex:function(l,c){var v=this.toKeyedSeq().findLastKey(l,c);return v===void 0?-1:v},first:function(){return this.get(0)},flatten:function(l){return ft(this,zi(this,l,!1))},get:function(l,c){return l=ge(this,l),l<0||this.size===1/0||this.size!==void 0&&l>this.size?c:this.find(function(v,S){return S===l},void 0,c)},has:function(l){return l=ge(this,l),l>=0&&(this.size!==void 0?this.size===1/0||l<this.size:this.indexOf(l)!==-1)},interpose:function(l){return ft(this,En(this,l))},interleave:function(){var l=[this].concat(we(arguments)),c=so(this.toSeq(),lt.of,l),v=c.flatten(!0);return c.size&&(v.size=c.size*l.length),ft(this,v)},last:function(){return this.get(-1)},skipWhile:function(l,c){return ft(this,da(this,l,c,!1))},zip:function(){var l=[this].concat(we(arguments));return ft(this,so(this,as,l))},zipWith:function(l){var c=we(arguments);return c[0]=this,ft(this,so(this,l,c))}}),g.prototype[R]=!0,g.prototype[j]=!0,Ut(y,{get:function(l,c){return this.has(l)?l:c},includes:function(l){return this.has(l)},keySeq:function(){return this.valueSeq()}}),y.prototype.has=St.includes,Ut(ut,f.prototype),Ut(lt,g.prototype),Ut(Bt,y.prototype),Ut(Vn,f.prototype),Ut(Qn,g.prototype),Ut(Wn,y.prototype);function ha(l,c){return c}function ui(l,c){return[c,l]}function Va(l){return function(){return!l.apply(this,arguments)}}function is(l){return function(){return-l.apply(this,arguments)}}function os(l){return typeof l=="string"?JSON.stringify(l):l}function as(){return we(arguments)}function Hl(l,c){return l<c?1:l>c?-1:0}function ma(l){if(l.size===1/0)return 0;var c=L(l),v=k(l),S=c?1:0,x=l.__iterate(v?c?function(M,I){S=31*S+ls(It(M),It(I))|0}:function(M,I){S=S+ls(It(M),It(I))|0}:c?function(M){S=31*S+It(M)|0}:function(M){S=S+It(M)|0});return ga(x,S)}function ga(l,c){return c=kn(c,3432918353),c=kn(c<<15|c>>>-15,461845907),c=kn(c<<13|c>>>-13,5),c=(c+3864292196|0)^l,c=kn(c^c>>>16,2246822507),c=kn(c^c>>>13,3266489909),c=Or(c^c>>>16),c}function ls(l,c){return l^c+2654435769+(l<<6)+(l>>2)|0}var Qa={Iterable:u,Seq:$e,Collection:it,Map:ot,OrderedMap:At,List:xe,Stack:te,Set:Nt,OrderedSet:h,Record:yn,Range:Ht,Repeat:$t,is:Rt,fromJS:Yt};return Qa})})(q0);var A0=mt,U0=A0.OrderedMap,V0={createFromArray:function(t){return U0(t.map(function(r){return[r.getKey(),r]}))}},ml=V0;function Q0(t,r){t.prototype=Object.create(r.prototype),t.prototype.constructor=t,t.__proto__=r}var ic=mt,oc=ic.Map,ac=ic.OrderedSet,$0=ic.Record,rp=ac(),ip={style:rp,entity:null},X0=$0(ip),lc=function(t){Q0(r,t);function r(){return t.apply(this,arguments)||this}var i=r.prototype;return i.getStyle=function(){return this.get("style")},i.getEntity=function(){return this.get("entity")},i.hasStyle=function(a){return this.getStyle().includes(a)},r.applyStyle=function(a,u){var f=a.set("style",a.getStyle().add(u));return r.create(f)},r.removeStyle=function(a,u){var f=a.set("style",a.getStyle().remove(u));return r.create(f)},r.applyEntity=function(a,u){var f=a.getEntity()===u?a:a.set("entity",u);return r.create(f)},r.create=function(a){if(!a)return uc;var u={style:rp,entity:null},f=oc(u).merge(a),g=sc.get(f);if(g)return g;var y=new r(f);return sc=sc.set(f,y),y},r.fromJS=function(a){var u=a.style,f=a.entity;return new r({style:Array.isArray(u)?ac(u):u,entity:Array.isArray(f)?ac(f):f})},r}(X0),uc=new lc,sc=oc([[oc(ip),uc]]);lc.EMPTY=uc;var Qr=lc;function Z0(t,r,i,a){if(t.size){var u=0;t.reduce(function(f,g,y){return r(f,g)||(i(f)&&a(u,y),u=y),g}),i(t.last())&&a(u,t.count())}}var gl=Z0;function J0(t,r){t.prototype=Object.create(r.prototype),t.prototype.constructor=t,t.__proto__=r}var Y0=Qr,op=gl,vl=mt,ap=vl.List,W0=vl.Map,G0=vl.OrderedSet,e1=vl.Record,t1=vl.Repeat,n1=G0(),r1={key:"",type:"unstyled",text:"",characterList:ap(),depth:0,data:W0()},i1=e1(r1),o1=function(t){if(!t)return t;var r=t.characterList,i=t.text;return i&&!r&&(t.characterList=ap(t1(Y0.EMPTY,i.length))),t},a1=function(t){J0(r,t);function r(a){return t.call(this,o1(a))||this}var i=r.prototype;return i.getKey=function(){return this.get("key")},i.getType=function(){return this.get("type")},i.getText=function(){return this.get("text")},i.getCharacterList=function(){return this.get("characterList")},i.getLength=function(){return this.getText().length},i.getDepth=function(){return this.get("depth")},i.getData=function(){return this.get("data")},i.getInlineStyleAt=function(a){var u=this.getCharacterList().get(a);return u?u.getStyle():n1},i.getEntityAt=function(a){var u=this.getCharacterList().get(a);return u?u.getEntity():null},i.findStyleRanges=function(a,u){op(this.getCharacterList(),l1,a,u)},i.findEntityRanges=function(a,u){op(this.getCharacterList(),u1,a,u)},r}(i1);function l1(t,r){return t.getStyle()===r.getStyle()}function u1(t,r){return t.getEntity()===r.getEntity()}var Wo=a1;function s1(t,r){t.prototype=Object.create(r.prototype),t.prototype.constructor=t,t.__proto__=r}var c1=Qr,lp=gl,yl=mt,cc=yl.List,f1=yl.Map,d1=yl.OrderedSet,p1=yl.Record,h1=yl.Repeat,m1=d1(),up={parent:null,characterList:cc(),data:f1(),depth:0,key:"",text:"",type:"unstyled",children:cc(),prevSibling:null,nextSibling:null},g1=function(t,r){return t.getStyle()===r.getStyle()},v1=function(t,r){return t.getEntity()===r.getEntity()},y1=function(t){if(!t)return t;var r=t.characterList,i=t.text;return i&&!r&&(t.characterList=cc(h1(c1.EMPTY,i.length))),t},b1=function(t){s1(r,t);function r(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:up;return t.call(this,y1(a))||this}var i=r.prototype;return i.getKey=function(){return this.get("key")},i.getType=function(){return this.get("type")},i.getText=function(){return this.get("text")},i.getCharacterList=function(){return this.get("characterList")},i.getLength=function(){return this.getText().length},i.getDepth=function(){return this.get("depth")},i.getData=function(){return this.get("data")},i.getInlineStyleAt=function(a){var u=this.getCharacterList().get(a);return u?u.getStyle():m1},i.getEntityAt=function(a){var u=this.getCharacterList().get(a);return u?u.getEntity():null},i.getChildKeys=function(){return this.get("children")},i.getParentKey=function(){return this.get("parent")},i.getPrevSiblingKey=function(){return this.get("prevSibling")},i.getNextSiblingKey=function(){return this.get("nextSibling")},i.findStyleRanges=function(a,u){lp(this.getCharacterList(),g1,a,u)},i.findEntityRanges=function(a,u){lp(this.getCharacterList(),v1,a,u)},r}(p1(up)),$r=b1,sp=Qr,_1=mt,w1=_1.Map,S1={add:function(t,r,i){return cp(t,r,i,!0)},remove:function(t,r,i){return cp(t,r,i,!1)}};function cp(t,r,i,a){var u=t.getBlockMap(),f=r.getStartKey(),g=r.getStartOffset(),y=r.getEndKey(),b=r.getEndOffset(),k=u.skipUntil(function(D,P){return P===f}).takeUntil(function(D,P){return P===y}).concat(w1([[y,u.get(y)]])).map(function(D,P){var L,T;f===y?(L=g,T=b):(L=P===f?g:0,T=P===y?b:D.getLength());for(var F=D.getCharacterList(),R;L<T;)R=F.get(L),F=F.set(L,a?sp.applyStyle(R,i):sp.removeStyle(R,i)),L++;return D.set("characterList",F)});return t.merge({blockMap:u.merge(k),selectionBefore:r,selectionAfter:r})}var k1=S1,x1=Qr;function E1(t,r,i,a){for(var u=r,f=t.getCharacterList();u<i;)f=f.set(u,x1.applyEntity(f.get(u),a)),u++;return t.set("characterList",f)}var O1=E1,N1=O1,D1=mt;function M1(t,r,i){var a=t.getBlockMap(),u=r.getStartKey(),f=r.getStartOffset(),g=r.getEndKey(),y=r.getEndOffset(),b=a.skipUntil(function(k,D){return D===u}).takeUntil(function(k,D){return D===g}).toOrderedMap().merge(D1.OrderedMap([[g,a.get(g)]])).map(function(k,D){var P=D===u?f:0,L=D===g?y:k.getLength();return N1(k,P,L,i)});return t.merge({blockMap:a.merge(b),selectionBefore:r,selectionAfter:r})}var L1=M1,C1={getRemovalRange:function(t,r,i,a,u){var f=i.split(" ");f=f.map(function(R,j){if(u==="forward"){if(j>0)return" "+R}else if(j<f.length-1)return R+" ";return R});for(var g=a,y,b,k=null,D=null,P=0;P<f.length;P++){if(b=f[P],y=g+b.length,t<y&&g<r)k!==null||(k=g),D=y;else if(k!==null)break;g=y}var L=a+i.length,T=k===a,F=D===L;return(!T&&F||T&&!F)&&(u==="forward"?D!==L&&D++:k!==a&&k--),{start:k,end:D}}},B1=C1;function F1(t,r){for(var i=arguments.length,a=new Array(i>2?i-2:0),u=2;u<i;u++)a[u-2]=arguments[u];if(!t){var f;if(r===void 0)f=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var g=0;f=new Error(r.replace(/%s/g,function(){return String(a[g++])})),f.name="Invariant Violation"}throw f.framesToPop=1,f}}var _t=F1,P1=_t;function K1(t,r){var i=[];return t.findEntityRanges(function(a){return a.getEntity()===r},function(a,u){i.push({start:a,end:u})}),i.length||P1(!1),i}var R1=K1,I1=B1,j1=R1,T1=_t;function z1(t,r,i,a,u){var f=a.getStartOffset(),g=a.getEndOffset(),y=r.getEntityAt(f),b=i.getEntityAt(g-1);if(!y&&!b)return a;var k=a;if(y&&y===b)k=bl(t,r,k,u,y,!0,!0);else if(y&&b){var D=bl(t,r,k,u,y,!1,!0),P=bl(t,i,k,u,b,!1,!1);k=k.merge({anchorOffset:D.getAnchorOffset(),focusOffset:P.getFocusOffset(),isBackward:!1})}else if(y){var L=bl(t,r,k,u,y,!1,!0);k=k.merge({anchorOffset:L.getStartOffset(),isBackward:!1})}else if(b){var T=bl(t,i,k,u,b,!1,!1);k=k.merge({focusOffset:T.getEndOffset(),isBackward:!1})}return k}function bl(t,r,i,a,u,f,g){var y=i.getStartOffset(),b=i.getEndOffset(),k=t.__get(u),D=k.getMutability(),P=g?y:b;if(D==="MUTABLE")return i;var L=j1(r,u).filter(function(R){return P<=R.end&&P>=R.start});L.length!=1&&T1(!1);var T=L[0];if(D==="IMMUTABLE")return i.merge({anchorOffset:T.start,focusOffset:T.end,isBackward:!1});f||(g?b=T.end:y=T.start);var F=I1.getRemovalRange(y,b,r.getText().slice(T.start,T.end),T.start,a);return i.merge({anchorOffset:F.start,focusOffset:F.end,isBackward:!1})}var H1=z1,fp={},q1=Math.pow(2,24);function A1(){for(var t;t===void 0||fp.hasOwnProperty(t)||!isNaN(+t);)t=Math.floor(Math.random()*q1).toString(32);return fp[t]=!0,t}var Ni=A1,U1=$r,dp=Ni,V1=mt,pp=V1.OrderedMap,Q1=function(t){var r={},i;return pp(t.withMutations(function(a){a.forEach(function(u,f){var g=u.getKey(),y=u.getNextSiblingKey(),b=u.getPrevSiblingKey(),k=u.getChildKeys(),D=u.getParentKey(),P=dp();if(r[g]=P,y){var L=a.get(y);L?a.setIn([y,"prevSibling"],P):a.setIn([g,"nextSibling"],null)}if(b){var T=a.get(b);T?a.setIn([b,"nextSibling"],P):a.setIn([g,"prevSibling"],null)}if(D&&a.get(D)){var F=a.get(D),R=F.getChildKeys();a.setIn([D,"children"],R.set(R.indexOf(u.getKey()),P))}else a.setIn([g,"parent"],null),i&&(a.setIn([i.getKey(),"nextSibling"],P),a.setIn([g,"prevSibling"],r[i.getKey()])),i=a.get(g);k.forEach(function(j){var ne=a.get(j);ne?a.setIn([j,"parent"],P):a.setIn([g,"children"],u.getChildKeys().filter(function(Y){return Y!==j}))})})}).toArray().map(function(a){return[r[a.getKey()],a.set("key",r[a.getKey()])]}))},$1=function(t){return pp(t.toArray().map(function(r){var i=dp();return[i,r.set("key",i)]}))},X1=function(t){var r=t.first()instanceof U1;return r?Q1(t):$1(t)},hp=X1,Z1=Qr,J1=gl,Y1=_t;function W1(t,r){var i=t.getBlockMap(),a=t.getEntityMap(),u={},f=r.getStartKey(),g=r.getStartOffset(),y=i.get(f),b=mp(a,y,g);b!==y&&(u[f]=b);var k=r.getEndKey(),D=r.getEndOffset(),P=i.get(k);f===k&&(P=b);var L=mp(a,P,D);return L!==P&&(u[k]=L),Object.keys(u).length?t.merge({blockMap:i.merge(u),selectionAfter:r}):t.set("selectionAfter",r)}function G1(t,r,i){var a;return J1(t,function(u,f){return u.getEntity()===f.getEntity()},function(u){return u.getEntity()===r},function(u,f){u<=i&&f>=i&&(a={start:u,end:f})}),typeof a!="object"&&Y1(!1),a}function mp(t,r,i){var a=r.getCharacterList(),u=i>0?a.get(i-1):void 0,f=i<a.count()?a.get(i):void 0,g=u?u.getEntity():void 0,y=f?f.getEntity():void 0;if(y&&y===g){var b=t.__get(y);if(b.getMutability()!=="MUTABLE"){for(var k=G1(a,y,i),D=k.start,P=k.end,L;D<P;)L=a.get(D),a=a.set(D,Z1.applyEntity(L,null)),D++;return r.set("characterList",a)}}return r}var gp=W1,e_=hp,t_=gp,n_=function(t,r){var i=r.getStartKey(),a=r.getStartOffset(),u=r.getEndKey(),f=r.getEndOffset(),g=t_(t,r),y=g.getBlockMap(),b=y.keySeq(),k=b.indexOf(i),D=b.indexOf(u)+1;return e_(y.slice(k,D).map(function(P,L){var T=P.getText(),F=P.getCharacterList();return i===u?P.merge({text:T.slice(a,f),characterList:F.slice(a,f)}):L===i?P.merge({text:T.slice(a),characterList:F.slice(a)}):L===u?P.merge({text:T.slice(0,f),characterList:F.slice(0,f)}):P}))},cu=n_;function r_(t,r,i){var a=t;if(i===a.count())r.forEach(function(g){a=a.push(g)});else if(i===0)r.reverse().forEach(function(g){a=a.unshift(g)});else{var u=a.slice(0,i),f=a.slice(i);a=u.concat(r,f).toList()}return a}var vp=r_,i_=ml,yp=$r,o_=mt,a_=vp,bp=_t,l_=hp,u_=o_.List,s_=function(t,r,i,a,u,f){var g=arguments.length>6&&arguments[6]!==void 0?arguments[6]:"REPLACE_WITH_NEW_DATA",y=i.get(u),b=y.getText(),k=y.getCharacterList(),D=u,P=f+a.getText().length,L=null;switch(g){case"MERGE_OLD_DATA_TO_NEW_DATA":L=a.getData().merge(y.getData());break;case"REPLACE_WITH_NEW_DATA":L=a.getData();break}var T=y.getType();b&&T==="unstyled"&&(T=a.getType());var F=y.merge({text:b.slice(0,f)+a.getText()+b.slice(f),characterList:a_(k,a.getCharacterList(),f),type:T,data:L});return t.merge({blockMap:i.set(u,F),selectionBefore:r,selectionAfter:r.merge({anchorKey:D,anchorOffset:P,focusKey:D,focusOffset:P,isBackward:!1})})},c_=function(t,r,i){var a=t.getText(),u=t.getCharacterList(),f=a.slice(0,r),g=u.slice(0,r),y=i.first();return t.merge({text:f+y.getText(),characterList:g.concat(y.getCharacterList()),type:f?t.getType():y.getType(),data:y.getData()})},f_=function(t,r,i){var a=t.getText(),u=t.getCharacterList(),f=a.length,g=a.slice(r,f),y=u.slice(r,f),b=i.last();return b.merge({text:b.getText()+g,characterList:b.getCharacterList().concat(y),data:b.getData()})},d_=function(t,r){var i=t.getKey(),a=t,u=[];for(r.get(i)&&u.push(i);a&&a.getNextSiblingKey();){var f=a.getNextSiblingKey();if(!f)break;u.push(f),a=r.get(f)}return u},p_=function(t,r,i,a){return t.withMutations(function(u){var f=i.getKey(),g=a.getKey(),y=i.getNextSiblingKey(),b=i.getParentKey(),k=d_(a,t),D=k[k.length-1];if(u.get(g)?(u.setIn([f,"nextSibling"],g),u.setIn([g,"prevSibling"],f)):(u.setIn([f,"nextSibling"],a.getNextSiblingKey()),u.setIn([a.getNextSiblingKey(),"prevSibling"],f)),u.setIn([D,"nextSibling"],y),y&&u.setIn([y,"prevSibling"],D),k.forEach(function(j){return u.setIn([j,"parent"],b)}),b){var P=t.get(b),L=P.getChildKeys(),T=L.indexOf(f),F=T+1,R=L.toArray();R.splice.apply(R,[F,0].concat(k)),u.setIn([b,"children"],u_(R))}})},h_=function(t,r,i,a,u,f){var g=i.first()instanceof yp,y=[],b=a.size,k=i.get(u),D=a.first(),P=a.last(),L=P.getLength(),T=P.getKey(),F=g&&(!k.getChildKeys().isEmpty()||!D.getChildKeys().isEmpty());i.forEach(function(j,ne){if(ne!==u){y.push(j);return}F?y.push(j):y.push(c_(j,f,a)),a.slice(F?0:1,b-1).forEach(function(Y){return y.push(Y)}),y.push(f_(j,f,a))});var R=i_.createFromArray(y);return g&&(R=p_(R,i,k,D)),t.merge({blockMap:R,selectionBefore:r,selectionAfter:r.merge({anchorKey:T,anchorOffset:L,focusKey:T,focusOffset:L,isBackward:!1})})},m_=function(t,r,i){var a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"REPLACE_WITH_NEW_DATA";r.isCollapsed()||bp(!1);var u=t.getBlockMap(),f=l_(i),g=r.getStartKey(),y=r.getStartOffset(),b=u.get(g);return b instanceof yp&&(b.getChildKeys().isEmpty()||bp(!1)),f.size===1?s_(t,r,u,f.first(),g,y,a):h_(t,r,u,f,g,y)},g_=m_,v_=mt,y_=vp,b_=_t,__=v_.Repeat;function w_(t,r,i,a){r.isCollapsed()||b_(!1);var u=null;if(i!=null&&(u=i.length),u==null||u===0)return t;var f=t.getBlockMap(),g=r.getStartKey(),y=r.getStartOffset(),b=f.get(g),k=b.getText(),D=b.merge({text:k.slice(0,y)+i+k.slice(y,b.getLength()),characterList:y_(b.getCharacterList(),__(a,u).toList(),y)}),P=y+u;return t.merge({blockMap:f.set(g,D),selectionAfter:r.merge({anchorOffset:P,focusOffset:P})})}var S_=w_,k_=mt,x_=k_.Map;function E_(t,r,i){var a=r.getStartKey(),u=r.getEndKey(),f=t.getBlockMap(),g=f.toSeq().skipUntil(function(y,b){return b===a}).takeUntil(function(y,b){return b===u}).concat(x_([[u,f.get(u)]])).map(i);return t.merge({blockMap:f.merge(g),selectionBefore:r,selectionAfter:r})}var _p=E_,O_=$r,N_=function(t,r){var i=t instanceof O_;if(!i)return null;var a=t.getNextSiblingKey();if(a)return a;var u=t.getParentKey();if(!u)return null;for(var f=r.get(u);f&&!f.getNextSiblingKey();){var g=f.getParentKey();f=g?r.get(g):null}return f?f.getNextSiblingKey():null},wp=N_,D_=$r,fc=wp,Sp=mt;Sp.List;var kp=Sp.Map,ar=function(t,r,i){if(t){var a=r.get(t);a&&r.set(t,i(a))}},fu=function(t,r){var i=[];if(!t)return i;for(var a=r.get(t);a&&a.getParentKey();){var u=a.getParentKey();u&&i.push(u),a=u?r.get(u):null}return i},M_=function(t,r){var i=[];if(!t)return i;for(var a=fc(t,r);a&&r.get(a);){var u=r.get(a);i.push(a),a=u.getParentKey()?fc(u,r):null}return i},Ca=function(t,r,i){if(!t)return null;for(var a=i.get(t.getKey()).getNextSiblingKey();a&&!r.get(a);)a=i.get(a).getNextSiblingKey()||null;return a},Ba=function(t,r,i){if(!t)return null;for(var a=i.get(t.getKey()).getPrevSiblingKey();a&&!r.get(a);)a=i.get(a).getPrevSiblingKey()||null;return a},L_=function(t,r,i,a){return t.withMutations(function(u){if(ar(r.getKey(),u,function(k){return k.merge({nextSibling:Ca(k,u,a),prevSibling:Ba(k,u,a)})}),ar(i.getKey(),u,function(k){return k.merge({nextSibling:Ca(k,u,a),prevSibling:Ba(k,u,a)})}),fu(r.getKey(),a).forEach(function(k){return ar(k,u,function(D){return D.merge({children:D.getChildKeys().filter(function(P){return u.get(P)}),nextSibling:Ca(D,u,a),prevSibling:Ba(D,u,a)})})}),ar(r.getNextSiblingKey(),u,function(k){return k.merge({prevSibling:r.getPrevSiblingKey()})}),ar(r.getPrevSiblingKey(),u,function(k){return k.merge({nextSibling:Ca(k,u,a)})}),ar(i.getNextSiblingKey(),u,function(k){return k.merge({prevSibling:Ba(k,u,a)})}),ar(i.getPrevSiblingKey(),u,function(k){return k.merge({nextSibling:i.getNextSiblingKey()})}),fu(i.getKey(),a).forEach(function(k){ar(k,u,function(D){return D.merge({children:D.getChildKeys().filter(function(P){return u.get(P)}),nextSibling:Ca(D,u,a),prevSibling:Ba(D,u,a)})})}),M_(i,a).forEach(function(k){return ar(k,u,function(D){return D.merge({nextSibling:Ca(D,u,a),prevSibling:Ba(D,u,a)})})}),t.get(r.getKey())==null&&t.get(i.getKey())!=null&&i.getParentKey()===r.getKey()&&i.getPrevSiblingKey()==null){var f=r.getPrevSiblingKey();ar(i.getKey(),u,function(k){return k.merge({prevSibling:f})}),ar(f,u,function(k){return k.merge({nextSibling:i.getKey()})});var g=f?t.get(f):null,y=g?g.getParentKey():null;if(r.getChildKeys().forEach(function(k){ar(k,u,function(D){return D.merge({parent:y})})}),y!=null){var b=t.get(y);ar(y,u,function(k){return k.merge({children:b.getChildKeys().concat(r.getChildKeys())})})}ar(r.getChildKeys().find(function(k){var D=t.get(k);return D.getNextSiblingKey()===null}),u,function(k){return k.merge({nextSibling:r.getNextSiblingKey()})})}})},C_=function(t,r){if(r.isCollapsed())return t;var i=t.getBlockMap(),a=r.getStartKey(),u=r.getStartOffset(),f=r.getEndKey(),g=r.getEndOffset(),y=i.get(a),b=i.get(f),k=y instanceof D_,D=[];if(k){var P=b.getChildKeys(),L=fu(f,i);b.getNextSiblingKey()&&(D=D.concat(L)),P.isEmpty()||(D=D.concat(L.concat([f]))),D=D.concat(fu(fc(b,i),i))}var T;y===b?T=B_(y.getCharacterList(),u,g):T=y.getCharacterList().slice(0,u).concat(b.getCharacterList().slice(g));var F=y.merge({text:y.getText().slice(0,u)+b.getText().slice(g),characterList:T}),R=k&&u===0&&g===0&&b.getParentKey()===a&&b.getPrevSiblingKey()==null,j=R?kp([[a,null]]):i.toSeq().skipUntil(function(Y,W){return W===a}).takeUntil(function(Y,W){return W===f}).filter(function(Y,W){return D.indexOf(W)===-1}).concat(kp([[f,null]])).map(function(Y,W){return W===a?F:null}),ne=i.merge(j).filter(function(Y){return!!Y});return k&&y!==b&&(ne=L_(ne,y,b,i)),t.merge({blockMap:ne,selectionBefore:r,selectionAfter:r.merge({anchorKey:a,anchorOffset:u,focusKey:a,focusOffset:u,isBackward:!1})})},B_=function(t,r,i){if(r===0)for(;r<i;)t=t.shift(),r++;else if(i===t.count())for(;i>r;)t=t.pop(),i--;else{var a=t.slice(0,r),u=t.slice(i);t=a.concat(u).toList()}return t},F_=C_,P_=$r,K_=Ni,xp=mt,Ep=_t,R_=_p,I_=xp.List,j_=xp.Map,du=function(t,r,i){if(t){var a=r.get(t);a&&r.set(t,i(a))}},T_=function(t,r,i){return t.withMutations(function(a){var u=r.getKey(),f=i.getKey();du(r.getParentKey(),a,function(g){var y=g.getChildKeys(),b=y.indexOf(u)+1,k=y.toArray();return k.splice(b,0,f),g.merge({children:I_(k)})}),du(r.getNextSiblingKey(),a,function(g){return g.merge({prevSibling:f})}),du(u,a,function(g){return g.merge({nextSibling:f})}),du(f,a,function(g){return g.merge({prevSibling:u})})})},z_=function(t,r){r.isCollapsed()||Ep(!1);var i=r.getAnchorKey(),a=t.getBlockMap(),u=a.get(i),f=u.getText();if(!f){var g=u.getType();if(g==="unordered-list-item"||g==="ordered-list-item")return R_(t,r,function(j){return j.merge({type:"unstyled",depth:0})})}var y=r.getAnchorOffset(),b=u.getCharacterList(),k=K_(),D=u instanceof P_,P=u.merge({text:f.slice(0,y),characterList:b.slice(0,y)}),L=P.merge({key:k,text:f.slice(y),characterList:b.slice(y),data:j_()}),T=a.toSeq().takeUntil(function(j){return j===u}),F=a.toSeq().skipUntil(function(j){return j===u}).rest(),R=T.concat([[i,P],[k,L]],F).toOrderedMap();return D&&(u.getChildKeys().isEmpty()||Ep(!1),R=T_(R,P,L)),t.merge({blockMap:R,selectionBefore:r,selectionAfter:r.merge({anchorKey:k,anchorOffset:0,focusKey:k,focusOffset:0,isBackward:!1})})},H_=z_,q_=Qr,Op=k1,A_=L1,U_=H1,V_=cu,Q_=mt,$_=g_,X_=S_,Z_=_t,dc=_p,_l=gp,wl=F_,J_=H_,Y_=Q_.OrderedSet,pu={replaceText:function(t,r,i,a,u){var f=_l(t,r),g=wl(f,r),y=q_.create({style:a||Y_(),entity:u||null});return X_(g,g.getSelectionAfter(),i,y)},insertText:function(t,r,i,a,u){return r.isCollapsed()||Z_(!1),pu.replaceText(t,r,i,a,u)},moveText:function(t,r,i){var a=V_(t,r),u=pu.removeRange(t,r,"backward");return pu.replaceWithFragment(u,i,a)},replaceWithFragment:function(t,r,i){var a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"REPLACE_WITH_NEW_DATA",u=_l(t,r),f=wl(u,r);return $_(f,f.getSelectionAfter(),i,a)},removeRange:function(t,r,i){var a,u,f,g;r.getIsBackward()&&(r=r.merge({anchorKey:r.getFocusKey(),anchorOffset:r.getFocusOffset(),focusKey:r.getAnchorKey(),focusOffset:r.getAnchorOffset(),isBackward:!1})),a=r.getAnchorKey(),u=r.getFocusKey(),f=t.getBlockForKey(a),g=t.getBlockForKey(u);var y=r.getStartOffset(),b=r.getEndOffset(),k=f.getEntityAt(y),D=g.getEntityAt(b-1);if(a===u&&k&&k===D){var P=U_(t.getEntityMap(),f,g,r,i);return wl(t,P)}var L=_l(t,r);return wl(L,r)},splitBlock:function(t,r){var i=_l(t,r),a=wl(i,r);return J_(a,a.getSelectionAfter())},applyInlineStyle:function(t,r,i){return Op.add(t,r,i)},removeInlineStyle:function(t,r,i){return Op.remove(t,r,i)},setBlockType:function(t,r,i){return dc(t,r,function(a){return a.merge({type:i,depth:0})})},setBlockData:function(t,r,i){return dc(t,r,function(a){return a.merge({data:i})})},mergeBlockData:function(t,r,i){return dc(t,r,function(a){return a.merge({data:a.getData().merge(i)})})},applyEntity:function(t,r,i){var a=_l(t,r);return A_(a,r,i)}},lr=pu;function W_(t){return Object.keys(t).map(function(r){return t[r]})}var Np=W_;function G_(t){for(var r=1;r<arguments.length;r++){var i=arguments[r]!=null?arguments[r]:{},a=Object.keys(i);typeof Object.getOwnPropertySymbols=="function"&&(a=a.concat(Object.getOwnPropertySymbols(i).filter(function(u){return Object.getOwnPropertyDescriptor(i,u).enumerable}))),a.forEach(function(u){ew(t,u,i[u])})}return t}function ew(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}function tw(t,r){if(t==null)return{};var i={},a=Object.keys(t),u,f;for(f=0;f<a.length;f++)u=a[f],!(r.indexOf(u)>=0)&&(i[u]=t[u]);return i}var Dp=gl,nw=Np,pc=mt,Fa=pc.List,rw=pc.Repeat,Mp=pc.Record,Lp=function(){return!0},iw={start:null,end:null},hc=Mp(iw),ow={start:null,end:null,decoratorKey:null,leaves:null},mc=Mp(ow),aw={generate:function(t,r,i){var a=r.getLength();if(!a)return Fa.of(new mc({start:0,end:0,decoratorKey:null,leaves:Fa.of(new hc({start:0,end:0}))}));var u=[],f=i?i.getDecorations(r,t):Fa(rw(null,a)),g=r.getCharacterList();return Dp(f,Cp,Lp,function(y,b){u.push(new mc({start:y,end:b,decoratorKey:f.get(y),leaves:lw(g.slice(y,b).toList(),y)}))}),Fa(u)},fromJS:function(t){var r=t.leaves,i=tw(t,["leaves"]);return new mc(G_({},i,{leaves:r!=null?Fa(Array.isArray(r)?r:nw(r)).map(function(a){return hc(a)}):null}))}};function lw(t,r){var i=[],a=t.map(function(u){return u.getStyle()}).toList();return Dp(a,Cp,Lp,function(u,f){i.push(new hc({start:u+r,end:f+r}))}),Fa(i)}function Cp(t,r){return t===r}var uw=aw;function sw(t,r){t.prototype=Object.create(r.prototype),t.prototype.constructor=t,t.__proto__=r}var cw=mt,fw=cw.Record,dw=fw({type:"TOKEN",mutability:"IMMUTABLE",data:Object}),pw=function(t){sw(r,t);function r(){return t.apply(this,arguments)||this}var i=r.prototype;return i.getType=function(){return this.get("type")},i.getMutability=function(){return this.get("mutability")},i.getData=function(){return this.get("data")},r}(dw),Bp=pw;function hw(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(t){var r=Math.random()*16|0,i=t=="x"?r:r&3|8;return i.toString(16)})}var mw=hw;function gw(t){for(var r=1;r<arguments.length;r++){var i=arguments[r]!=null?arguments[r]:{},a=Object.keys(i);typeof Object.getOwnPropertySymbols=="function"&&(a=a.concat(Object.getOwnPropertySymbols(i).filter(function(u){return Object.getOwnPropertyDescriptor(i,u).enumerable}))),a.forEach(function(u){vw(t,u,i[u])})}return t}function vw(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}var yw=Bp,bw=mt,_w=_t,gc=mw,ww=bw.Map,Xi=ww(),Sl=gc();function Pa(t,r){console.warn("WARNING: "+t+` will be deprecated soon!
6
- Please use "`+r+'" instead.')}var Di={getLastCreatedEntityKey:function(){return Pa("DraftEntity.getLastCreatedEntityKey","contentState.getLastCreatedEntityKey"),Di.__getLastCreatedEntityKey()},create:function(t,r,i){return Pa("DraftEntity.create","contentState.createEntity"),Di.__create(t,r,i)},add:function(t){return Pa("DraftEntity.add","contentState.addEntity"),Di.__add(t)},get:function(t){return Pa("DraftEntity.get","contentState.getEntity"),Di.__get(t)},__getAll:function(){return Xi},__loadWithEntities:function(t){Xi=t,Sl=gc()},mergeData:function(t,r){return Pa("DraftEntity.mergeData","contentState.mergeEntityData"),Di.__mergeData(t,r)},replaceData:function(t,r){return Pa("DraftEntity.replaceData","contentState.replaceEntityData"),Di.__replaceData(t,r)},__getLastCreatedEntityKey:function(){return Sl},__create:function(t,r,i){return Di.__add(new yw({type:t,mutability:r,data:i||{}}))},__add:function(t){return Sl=gc(),Xi=Xi.set(Sl,t),Sl},__get:function(t){var r=Xi.get(t);return r||_w(!1),r},__mergeData:function(t,r){var i=Di.__get(t),a=gw({},i.getData(),r),u=i.set("data",a);return Xi=Xi.set(t,u),u},__replaceData:function(t,r){var i=Di.__get(t),a=i.set("data",r);return Xi=Xi.set(t,a),a}},hu=Di;function Sw(t,r){t.prototype=Object.create(r.prototype),t.prototype.constructor=t,t.__proto__=r}var kw=mt,xw=kw.Record,Ew={anchorKey:"",anchorOffset:0,focusKey:"",focusOffset:0,isBackward:!1,hasFocus:!1},Ow=xw(Ew),Nw=function(t){Sw(r,t);function r(){return t.apply(this,arguments)||this}var i=r.prototype;return i.serialize=function(){return"Anchor: "+this.getAnchorKey()+":"+this.getAnchorOffset()+", Focus: "+this.getFocusKey()+":"+this.getFocusOffset()+", Is Backward: "+String(this.getIsBackward())+", Has Focus: "+String(this.getHasFocus())},i.getAnchorKey=function(){return this.get("anchorKey")},i.getAnchorOffset=function(){return this.get("anchorOffset")},i.getFocusKey=function(){return this.get("focusKey")},i.getFocusOffset=function(){return this.get("focusOffset")},i.getIsBackward=function(){return this.get("isBackward")},i.getHasFocus=function(){return this.get("hasFocus")},i.hasEdgeWithin=function(a,u,f){var g=this.getAnchorKey(),y=this.getFocusKey();if(g===y&&g===a){var b=this.getStartOffset(),k=this.getEndOffset();return u<=b&&b<=f||u<=k&&k<=f}if(a!==g&&a!==y)return!1;var D=a===g?this.getAnchorOffset():this.getFocusOffset();return u<=D&&f>=D},i.isCollapsed=function(){return this.getAnchorKey()===this.getFocusKey()&&this.getAnchorOffset()===this.getFocusOffset()},i.getStartKey=function(){return this.getIsBackward()?this.getFocusKey():this.getAnchorKey()},i.getStartOffset=function(){return this.getIsBackward()?this.getFocusOffset():this.getAnchorOffset()},i.getEndKey=function(){return this.getIsBackward()?this.getAnchorKey():this.getFocusKey()},i.getEndOffset=function(){return this.getIsBackward()?this.getAnchorOffset():this.getFocusOffset()},r.createEmpty=function(a){return new r({anchorKey:a,anchorOffset:0,focusKey:a,focusOffset:0,isBackward:!1,hasFocus:!1})},r}(Ow),mu=Nw,wo=function(t){return typeof window<"u"&&window.__DRAFT_GKX?!!window.__DRAFT_GKX[t]:!1},Dw=new RegExp("\r","g");function Mw(t){return t.replace(Dw,"")}var Fp=Mw;function Pp(t){for(var r=1;r<arguments.length;r++){var i=arguments[r]!=null?arguments[r]:{},a=Object.keys(i);typeof Object.getOwnPropertySymbols=="function"&&(a=a.concat(Object.getOwnPropertySymbols(i).filter(function(u){return Object.getOwnPropertyDescriptor(i,u).enumerable}))),a.forEach(function(u){Lw(t,u,i[u])})}return t}function Lw(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}function Cw(t,r){t.prototype=Object.create(r.prototype),t.prototype.constructor=t,t.__proto__=r}var Bw=ml,Kp=Qr,Fw=Wo,Pw=$r,Mi=hu,gu=mu,Kw=Ni,Rw=Np,Iw=wo,kl=mt,jw=Fp,Rp=kl.List,Tw=kl.Record,zw=kl.Repeat,Hw=kl.Map,qw=kl.OrderedMap,Aw={entityMap:null,blockMap:null,selectionBefore:null,selectionAfter:null},Uw=Tw(Aw),Ip=Iw("draft_tree_data_support")?Pw:Fw,Vw=function(t){Cw(r,t);function r(){return t.apply(this,arguments)||this}var i=r.prototype;return i.getEntityMap=function(){return Mi},i.getBlockMap=function(){return this.get("blockMap")},i.getSelectionBefore=function(){return this.get("selectionBefore")},i.getSelectionAfter=function(){return this.get("selectionAfter")},i.getBlockForKey=function(a){var u=this.getBlockMap().get(a);return u},i.getKeyBefore=function(a){return this.getBlockMap().reverse().keySeq().skipUntil(function(u){return u===a}).skip(1).first()},i.getKeyAfter=function(a){return this.getBlockMap().keySeq().skipUntil(function(u){return u===a}).skip(1).first()},i.getBlockAfter=function(a){return this.getBlockMap().skipUntil(function(u,f){return f===a}).skip(1).first()},i.getBlockBefore=function(a){return this.getBlockMap().reverse().skipUntil(function(u,f){return f===a}).skip(1).first()},i.getBlocksAsArray=function(){return this.getBlockMap().toArray()},i.getFirstBlock=function(){return this.getBlockMap().first()},i.getLastBlock=function(){return this.getBlockMap().last()},i.getPlainText=function(a){return this.getBlockMap().map(function(u){return u?u.getText():""}).join(a||`
7
- `)},i.getLastCreatedEntityKey=function(){return Mi.__getLastCreatedEntityKey()},i.hasText=function(){var a=this.getBlockMap();return a.size>1||escape(a.first().getText()).replace(/%u200B/g,"").length>0},i.createEntity=function(a,u,f){return Mi.__create(a,u,f),this},i.mergeEntityData=function(a,u){return Mi.__mergeData(a,u),this},i.replaceEntityData=function(a,u){return Mi.__replaceData(a,u),this},i.addEntity=function(a){return Mi.__add(a),this},i.getEntity=function(a){return Mi.__get(a)},i.getAllEntities=function(){return Mi.__getAll()},i.loadWithEntities=function(a){return Mi.__loadWithEntities(a)},r.createFromBlockArray=function(a,u){var f=Array.isArray(a)?a:a.contentBlocks,g=Bw.createFromArray(f),y=g.isEmpty()?new gu:gu.createEmpty(g.first().getKey());return new r({blockMap:g,entityMap:u||Mi,selectionBefore:y,selectionAfter:y})},r.createFromText=function(a){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:/\r\n?|\n/g,f=a.split(u),g=f.map(function(y){return y=jw(y),new Ip({key:Kw(),text:y,type:"unstyled",characterList:Rp(zw(Kp.EMPTY,y.length))})});return r.createFromBlockArray(g)},r.fromJS=function(a){return new r(Pp({},a,{blockMap:qw(a.blockMap).map(r.createContentBlockFromJS),selectionBefore:new gu(a.selectionBefore),selectionAfter:new gu(a.selectionAfter)}))},r.createContentBlockFromJS=function(a){var u=a.characterList;return new Ip(Pp({},a,{data:Hw(a.data),characterList:u!=null?Rp((Array.isArray(u)?u:Rw(u)).map(function(f){return Kp.fromJS(f)})):void 0}))},r}(Uw),vc=Vw,vu=_t,Qw="NEUTRAL",yu="LTR",jp="RTL",bu=null;function _u(t){return t===yu||t===jp}function Tp(t){return _u(t)||vu(!1),t===yu?"ltr":"rtl"}function $w(t,r){return _u(t)||vu(!1),_u(r)||vu(!1),t===r?null:Tp(t)}function zp(t){bu=t}function Xw(){zp(yu)}function Zw(){return bu||this.initGlobalDir(),bu||vu(!1),bu}var Jw={NEUTRAL:Qw,LTR:yu,RTL:jp,isStrong:_u,getHTMLDir:Tp,getHTMLDirIfDifferent:$w,setGlobalDir:zp,initGlobalDir:Xw,getGlobalDir:Zw},wu=Jw,Zi=wu,Yw=_t,xl={L:"A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u01BA\u01BB\u01BC-\u01BF\u01C0-\u01C3\u01C4-\u0293\u0294\u0295-\u02AF\u02B0-\u02B8\u02BB-\u02C1\u02D0-\u02D1\u02E0-\u02E4\u02EE\u0370-\u0373\u0376-\u0377\u037A\u037B-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0482\u048A-\u052F\u0531-\u0556\u0559\u055A-\u055F\u0561-\u0587\u0589\u0903\u0904-\u0939\u093B\u093D\u093E-\u0940\u0949-\u094C\u094E-\u094F\u0950\u0958-\u0961\u0964-\u0965\u0966-\u096F\u0970\u0971\u0972-\u0980\u0982-\u0983\u0985-\u098C\u098F-\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09BE-\u09C0\u09C7-\u09C8\u09CB-\u09CC\u09CE\u09D7\u09DC-\u09DD\u09DF-\u09E1\u09E6-\u09EF\u09F0-\u09F1\u09F4-\u09F9\u09FA\u0A03\u0A05-\u0A0A\u0A0F-\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32-\u0A33\u0A35-\u0A36\u0A38-\u0A39\u0A3E-\u0A40\u0A59-\u0A5C\u0A5E\u0A66-\u0A6F\u0A72-\u0A74\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2-\u0AB3\u0AB5-\u0AB9\u0ABD\u0ABE-\u0AC0\u0AC9\u0ACB-\u0ACC\u0AD0\u0AE0-\u0AE1\u0AE6-\u0AEF\u0AF0\u0B02-\u0B03\u0B05-\u0B0C\u0B0F-\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32-\u0B33\u0B35-\u0B39\u0B3D\u0B3E\u0B40\u0B47-\u0B48\u0B4B-\u0B4C\u0B57\u0B5C-\u0B5D\u0B5F-\u0B61\u0B66-\u0B6F\u0B70\u0B71\u0B72-\u0B77\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99-\u0B9A\u0B9C\u0B9E-\u0B9F\u0BA3-\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BBF\u0BC1-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCC\u0BD0\u0BD7\u0BE6-\u0BEF\u0BF0-\u0BF2\u0C01-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C41-\u0C44\u0C58-\u0C59\u0C60-\u0C61\u0C66-\u0C6F\u0C7F\u0C82-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CBE\u0CBF\u0CC0-\u0CC4\u0CC6\u0CC7-\u0CC8\u0CCA-\u0CCB\u0CD5-\u0CD6\u0CDE\u0CE0-\u0CE1\u0CE6-\u0CEF\u0CF1-\u0CF2\u0D02-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D3E-\u0D40\u0D46-\u0D48\u0D4A-\u0D4C\u0D4E\u0D57\u0D60-\u0D61\u0D66-\u0D6F\u0D70-\u0D75\u0D79\u0D7A-\u0D7F\u0D82-\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCF-\u0DD1\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2-\u0DF3\u0DF4\u0E01-\u0E30\u0E32-\u0E33\u0E40-\u0E45\u0E46\u0E4F\u0E50-\u0E59\u0E5A-\u0E5B\u0E81-\u0E82\u0E84\u0E87-\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA-\u0EAB\u0EAD-\u0EB0\u0EB2-\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F01-\u0F03\u0F04-\u0F12\u0F13\u0F14\u0F15-\u0F17\u0F1A-\u0F1F\u0F20-\u0F29\u0F2A-\u0F33\u0F34\u0F36\u0F38\u0F3E-\u0F3F\u0F40-\u0F47\u0F49-\u0F6C\u0F7F\u0F85\u0F88-\u0F8C\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE-\u0FCF\u0FD0-\u0FD4\u0FD5-\u0FD8\u0FD9-\u0FDA\u1000-\u102A\u102B-\u102C\u1031\u1038\u103B-\u103C\u103F\u1040-\u1049\u104A-\u104F\u1050-\u1055\u1056-\u1057\u105A-\u105D\u1061\u1062-\u1064\u1065-\u1066\u1067-\u106D\u106E-\u1070\u1075-\u1081\u1083-\u1084\u1087-\u108C\u108E\u108F\u1090-\u1099\u109A-\u109C\u109E-\u109F\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FB\u10FC\u10FD-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1360-\u1368\u1369-\u137C\u1380-\u138F\u13A0-\u13F4\u1401-\u166C\u166D-\u166E\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EB-\u16ED\u16EE-\u16F0\u16F1-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1735-\u1736\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17B6\u17BE-\u17C5\u17C7-\u17C8\u17D4-\u17D6\u17D7\u17D8-\u17DA\u17DC\u17E0-\u17E9\u1810-\u1819\u1820-\u1842\u1843\u1844-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1923-\u1926\u1929-\u192B\u1930-\u1931\u1933-\u1938\u1946-\u194F\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C0\u19C1-\u19C7\u19C8-\u19C9\u19D0-\u19D9\u19DA\u1A00-\u1A16\u1A19-\u1A1A\u1A1E-\u1A1F\u1A20-\u1A54\u1A55\u1A57\u1A61\u1A63-\u1A64\u1A6D-\u1A72\u1A80-\u1A89\u1A90-\u1A99\u1AA0-\u1AA6\u1AA7\u1AA8-\u1AAD\u1B04\u1B05-\u1B33\u1B35\u1B3B\u1B3D-\u1B41\u1B43-\u1B44\u1B45-\u1B4B\u1B50-\u1B59\u1B5A-\u1B60\u1B61-\u1B6A\u1B74-\u1B7C\u1B82\u1B83-\u1BA0\u1BA1\u1BA6-\u1BA7\u1BAA\u1BAE-\u1BAF\u1BB0-\u1BB9\u1BBA-\u1BE5\u1BE7\u1BEA-\u1BEC\u1BEE\u1BF2-\u1BF3\u1BFC-\u1BFF\u1C00-\u1C23\u1C24-\u1C2B\u1C34-\u1C35\u1C3B-\u1C3F\u1C40-\u1C49\u1C4D-\u1C4F\u1C50-\u1C59\u1C5A-\u1C77\u1C78-\u1C7D\u1C7E-\u1C7F\u1CC0-\u1CC7\u1CD3\u1CE1\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF2-\u1CF3\u1CF5-\u1CF6\u1D00-\u1D2B\u1D2C-\u1D6A\u1D6B-\u1D77\u1D78\u1D79-\u1D9A\u1D9B-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200E\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2134\u2135-\u2138\u2139\u213C-\u213F\u2145-\u2149\u214E\u214F\u2160-\u2182\u2183-\u2184\u2185-\u2188\u2336-\u237A\u2395\u249C-\u24E9\u26AC\u2800-\u28FF\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2C7B\u2C7C-\u2C7D\u2C7E-\u2CE4\u2CEB-\u2CEE\u2CF2-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D70\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005\u3006\u3007\u3021-\u3029\u302E-\u302F\u3031-\u3035\u3038-\u303A\u303B\u303C\u3041-\u3096\u309D-\u309E\u309F\u30A1-\u30FA\u30FC-\u30FE\u30FF\u3105-\u312D\u3131-\u318E\u3190-\u3191\u3192-\u3195\u3196-\u319F\u31A0-\u31BA\u31F0-\u31FF\u3200-\u321C\u3220-\u3229\u322A-\u3247\u3248-\u324F\u3260-\u327B\u327F\u3280-\u3289\u328A-\u32B0\u32C0-\u32CB\u32D0-\u32FE\u3300-\u3376\u337B-\u33DD\u33E0-\u33FE\u3400-\u4DB5\u4E00-\u9FCC\uA000-\uA014\uA015\uA016-\uA48C\uA4D0-\uA4F7\uA4F8-\uA4FD\uA4FE-\uA4FF\uA500-\uA60B\uA60C\uA610-\uA61F\uA620-\uA629\uA62A-\uA62B\uA640-\uA66D\uA66E\uA680-\uA69B\uA69C-\uA69D\uA6A0-\uA6E5\uA6E6-\uA6EF\uA6F2-\uA6F7\uA722-\uA76F\uA770\uA771-\uA787\uA789-\uA78A\uA78B-\uA78E\uA790-\uA7AD\uA7B0-\uA7B1\uA7F7\uA7F8-\uA7F9\uA7FA\uA7FB-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA823-\uA824\uA827\uA830-\uA835\uA836-\uA837\uA840-\uA873\uA880-\uA881\uA882-\uA8B3\uA8B4-\uA8C3\uA8CE-\uA8CF\uA8D0-\uA8D9\uA8F2-\uA8F7\uA8F8-\uA8FA\uA8FB\uA900-\uA909\uA90A-\uA925\uA92E-\uA92F\uA930-\uA946\uA952-\uA953\uA95F\uA960-\uA97C\uA983\uA984-\uA9B2\uA9B4-\uA9B5\uA9BA-\uA9BB\uA9BD-\uA9C0\uA9C1-\uA9CD\uA9CF\uA9D0-\uA9D9\uA9DE-\uA9DF\uA9E0-\uA9E4\uA9E6\uA9E7-\uA9EF\uA9F0-\uA9F9\uA9FA-\uA9FE\uAA00-\uAA28\uAA2F-\uAA30\uAA33-\uAA34\uAA40-\uAA42\uAA44-\uAA4B\uAA4D\uAA50-\uAA59\uAA5C-\uAA5F\uAA60-\uAA6F\uAA70\uAA71-\uAA76\uAA77-\uAA79\uAA7A\uAA7B\uAA7D\uAA7E-\uAAAF\uAAB1\uAAB5-\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADC\uAADD\uAADE-\uAADF\uAAE0-\uAAEA\uAAEB\uAAEE-\uAAEF\uAAF0-\uAAF1\uAAF2\uAAF3-\uAAF4\uAAF5\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5B\uAB5C-\uAB5F\uAB64-\uAB65\uABC0-\uABE2\uABE3-\uABE4\uABE6-\uABE7\uABE9-\uABEA\uABEB\uABEC\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uE000-\uF8FF\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFF6F\uFF70\uFF71-\uFF9D\uFF9E-\uFF9F\uFFA0-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC",R:"\u0590\u05BE\u05C0\u05C3\u05C6\u05C8-\u05CF\u05D0-\u05EA\u05EB-\u05EF\u05F0-\u05F2\u05F3-\u05F4\u05F5-\u05FF\u07C0-\u07C9\u07CA-\u07EA\u07F4-\u07F5\u07FA\u07FB-\u07FF\u0800-\u0815\u081A\u0824\u0828\u082E-\u082F\u0830-\u083E\u083F\u0840-\u0858\u085C-\u085D\u085E\u085F-\u089F\u200F\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB37\uFB38-\uFB3C\uFB3D\uFB3E\uFB3F\uFB40-\uFB41\uFB42\uFB43-\uFB44\uFB45\uFB46-\uFB4F",AL:"\u0608\u060B\u060D\u061B\u061C\u061D\u061E-\u061F\u0620-\u063F\u0640\u0641-\u064A\u066D\u066E-\u066F\u0671-\u06D3\u06D4\u06D5\u06E5-\u06E6\u06EE-\u06EF\u06FA-\u06FC\u06FD-\u06FE\u06FF\u0700-\u070D\u070E\u070F\u0710\u0712-\u072F\u074B-\u074C\u074D-\u07A5\u07B1\u07B2-\u07BF\u08A0-\u08B2\u08B3-\u08E3\uFB50-\uFBB1\uFBB2-\uFBC1\uFBC2-\uFBD2\uFBD3-\uFD3D\uFD40-\uFD4F\uFD50-\uFD8F\uFD90-\uFD91\uFD92-\uFDC7\uFDC8-\uFDCF\uFDF0-\uFDFB\uFDFC\uFDFE-\uFDFF\uFE70-\uFE74\uFE75\uFE76-\uFEFC\uFEFD-\uFEFE"},Ww=new RegExp("["+xl.L+xl.R+xl.AL+"]"),Gw=new RegExp("["+xl.R+xl.AL+"]");function Hp(t){var r=Ww.exec(t);return r==null?null:r[0]}function qp(t){var r=Hp(t);return r==null?Zi.NEUTRAL:Gw.exec(r)?Zi.RTL:Zi.LTR}function Ap(t,r){if(r=r||Zi.NEUTRAL,!t.length)return r;var i=qp(t);return i===Zi.NEUTRAL?r:i}function yc(t,r){return r||(r=Zi.getGlobalDir()),Zi.isStrong(r)||Yw(!1),Ap(t,r)}function eS(t,r){return yc(t,r)===Zi.LTR}function tS(t,r){return yc(t,r)===Zi.RTL}var nS={firstStrongChar:Hp,firstStrongCharDir:qp,resolveBlockDir:Ap,getDirection:yc,isDirectionLTR:eS,isDirectionRTL:tS},bc=nS;function Up(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}var rS=bc,Vp=wu,iS=_t,oS=function(){function t(i){Up(this,"_defaultDir",void 0),Up(this,"_lastDir",void 0),i?Vp.isStrong(i)||iS(!1):i=Vp.getGlobalDir(),this._defaultDir=i,this.reset()}var r=t.prototype;return r.reset=function(){this._lastDir=this._defaultDir},r.getDirection=function(i){return this._lastDir=rS.getDirection(i,this._lastDir),this._lastDir},t}(),aS=oS,lS=function(t){if(t!=null)return t;throw new Error("Got unexpected null or undefined")},ur=lS,uS=aS,Qp=mt,sS=ur,cS=Qp.OrderedMap,Su,fS={getDirectionMap:function(t,r){Su?Su.reset():Su=new uS;var i=t.getBlockMap(),a=i.valueSeq().map(function(f){return sS(Su).getDirection(f.getText())}),u=cS(i.keySeq().zip(a));return r!=null&&Qp.is(r,u)?r:u}},dS=fS;function $p(t){for(var r=1;r<arguments.length;r++){var i=arguments[r]!=null?arguments[r]:{},a=Object.keys(i);typeof Object.getOwnPropertySymbols=="function"&&(a=a.concat(Object.getOwnPropertySymbols(i).filter(function(u){return Object.getOwnPropertyDescriptor(i,u).enumerable}))),a.forEach(function(u){Xp(t,u,i[u])})}return t}function Xp(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}var ku=uw,El=vc,xu=dS,_c=mu,Ol=mt,Zp=Ol.OrderedSet,pS=Ol.Record,Go=Ol.Stack,Jp=Ol.OrderedMap,hS=Ol.List,mS={allowUndo:!0,currentContent:null,decorator:null,directionMap:null,forceSelection:!1,inCompositionMode:!1,inlineStyleOverride:null,lastChangeType:null,nativelyRenderedContent:null,redoStack:Go(),selection:null,treeMap:null,undoStack:Go()},Yp=pS(mS),Wp=function(){r.createEmpty=function(i){return this.createWithText("",i)},r.createWithText=function(i,a){return r.createWithContent(El.createFromText(i),a)},r.createWithContent=function(i,a){if(i.getBlockMap().count()===0)return r.createEmpty(a);var u=i.getBlockMap().first().getKey();return r.create({currentContent:i,undoStack:Go(),redoStack:Go(),decorator:a||null,selection:_c.createEmpty(u)})},r.create=function(i){var a=i.currentContent,u=i.decorator,f=$p({},i,{treeMap:eh(a,u),directionMap:xu.getDirectionMap(a)});return new r(new Yp(f))},r.fromJS=function(i){return new r(new Yp($p({},i,{directionMap:i.directionMap!=null?Jp(i.directionMap):i.directionMap,inlineStyleOverride:i.inlineStyleOverride!=null?Zp(i.inlineStyleOverride):i.inlineStyleOverride,nativelyRenderedContent:i.nativelyRenderedContent!=null?El.fromJS(i.nativelyRenderedContent):i.nativelyRenderedContent,redoStack:i.redoStack!=null?Go(i.redoStack.map(function(a){return El.fromJS(a)})):i.redoStack,selection:i.selection!=null?new _c(i.selection):i.selection,treeMap:i.treeMap!=null?Jp(i.treeMap).map(function(a){return hS(a).map(function(u){return ku.fromJS(u)})}):i.treeMap,undoStack:i.undoStack!=null?Go(i.undoStack.map(function(a){return El.fromJS(a)})):i.undoStack,currentContent:El.fromJS(i.currentContent)})))},r.set=function(i,a){var u=i.getImmutable().withMutations(function(f){var g=f.get("decorator"),y=g;a.decorator===null?y=null:a.decorator&&(y=a.decorator);var b=a.currentContent||i.getCurrentContent();if(y!==g){var k=f.get("treeMap"),D;y&&g?D=vS(b,b.getBlockMap(),k,y,g):D=eh(b,y),f.merge({decorator:y,treeMap:D,nativelyRenderedContent:null});return}var P=i.getCurrentContent();b!==P&&f.set("treeMap",gS(i,b.getBlockMap(),b.getEntityMap(),y)),f.merge(a)});return new r(u)};var t=r.prototype;t.toJS=function(){return this.getImmutable().toJS()},t.getAllowUndo=function(){return this.getImmutable().get("allowUndo")},t.getCurrentContent=function(){return this.getImmutable().get("currentContent")},t.getUndoStack=function(){return this.getImmutable().get("undoStack")},t.getRedoStack=function(){return this.getImmutable().get("redoStack")},t.getSelection=function(){return this.getImmutable().get("selection")},t.getDecorator=function(){return this.getImmutable().get("decorator")},t.isInCompositionMode=function(){return this.getImmutable().get("inCompositionMode")},t.mustForceSelection=function(){return this.getImmutable().get("forceSelection")},t.getNativelyRenderedContent=function(){return this.getImmutable().get("nativelyRenderedContent")},t.getLastChangeType=function(){return this.getImmutable().get("lastChangeType")},t.getInlineStyleOverride=function(){return this.getImmutable().get("inlineStyleOverride")},r.setInlineStyleOverride=function(i,a){return r.set(i,{inlineStyleOverride:a})},t.getCurrentInlineStyle=function(){var i=this.getInlineStyleOverride();if(i!=null)return i;var a=this.getCurrentContent(),u=this.getSelection();return u.isCollapsed()?bS(a,u):_S(a,u)},t.getBlockTree=function(i){return this.getImmutable().getIn(["treeMap",i])},t.isSelectionAtStartOfContent=function(){var i=this.getCurrentContent().getBlockMap().first().getKey();return this.getSelection().hasEdgeWithin(i,0,0)},t.isSelectionAtEndOfContent=function(){var i=this.getCurrentContent(),a=i.getBlockMap(),u=a.last(),f=u.getLength();return this.getSelection().hasEdgeWithin(u.getKey(),f,f)},t.getDirectionMap=function(){return this.getImmutable().get("directionMap")},r.acceptSelection=function(i,a){return Gp(i,a,!1)},r.forceSelection=function(i,a){return a.getHasFocus()||(a=a.set("hasFocus",!0)),Gp(i,a,!0)},r.moveSelectionToEnd=function(i){var a=i.getCurrentContent(),u=a.getLastBlock(),f=u.getKey(),g=u.getLength();return r.acceptSelection(i,new _c({anchorKey:f,anchorOffset:g,focusKey:f,focusOffset:g,isBackward:!1}))},r.moveFocusToEnd=function(i){var a=r.moveSelectionToEnd(i);return r.forceSelection(a,a.getSelection())},r.push=function(i,a,u){var f=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0;if(i.getCurrentContent()===a)return i;var g=xu.getDirectionMap(a,i.getDirectionMap());if(!i.getAllowUndo())return r.set(i,{currentContent:a,directionMap:g,lastChangeType:u,selection:a.getSelectionAfter(),forceSelection:f,inlineStyleOverride:null});var y=i.getSelection(),b=i.getCurrentContent(),k=i.getUndoStack(),D=a;y!==b.getSelectionAfter()||yS(i,u)?(k=k.push(b),D=D.set("selectionBefore",y)):(u==="insert-characters"||u==="backspace-character"||u==="delete-character")&&(D=D.set("selectionBefore",b.getSelectionBefore()));var P=i.getInlineStyleOverride(),L=["adjust-depth","change-block-type","split-block"];L.indexOf(u)===-1&&(P=null);var T={currentContent:D,directionMap:g,undoStack:k,redoStack:Go(),lastChangeType:u,selection:a.getSelectionAfter(),forceSelection:f,inlineStyleOverride:P};return r.set(i,T)},r.undo=function(i){if(!i.getAllowUndo())return i;var a=i.getUndoStack(),u=a.peek();if(!u)return i;var f=i.getCurrentContent(),g=xu.getDirectionMap(u,i.getDirectionMap());return r.set(i,{currentContent:u,directionMap:g,undoStack:a.shift(),redoStack:i.getRedoStack().push(f),forceSelection:!0,inlineStyleOverride:null,lastChangeType:"undo",nativelyRenderedContent:null,selection:f.getSelectionBefore()})},r.redo=function(i){if(!i.getAllowUndo())return i;var a=i.getRedoStack(),u=a.peek();if(!u)return i;var f=i.getCurrentContent(),g=xu.getDirectionMap(u,i.getDirectionMap());return r.set(i,{currentContent:u,directionMap:g,undoStack:i.getUndoStack().push(f),redoStack:a.shift(),forceSelection:!0,inlineStyleOverride:null,lastChangeType:"redo",nativelyRenderedContent:null,selection:u.getSelectionAfter()})};function r(i){Xp(this,"_immutable",void 0),this._immutable=i}return t.getImmutable=function(){return this._immutable},r}();function Gp(t,r,i){return Wp.set(t,{selection:r,forceSelection:i,nativelyRenderedContent:null,inlineStyleOverride:null})}function eh(t,r){return t.getBlockMap().map(function(i){return ku.generate(t,i,r)}).toOrderedMap()}function gS(t,r,i,a){var u=t.getCurrentContent().set("entityMap",i),f=u.getBlockMap(),g=t.getImmutable().get("treeMap");return g.merge(r.toSeq().filter(function(y,b){return y!==f.get(b)}).map(function(y){return ku.generate(u,y,a)}))}function vS(t,r,i,a,u){return i.merge(r.toSeq().filter(function(f){return a.getDecorations(f,t)!==u.getDecorations(f,t)}).map(function(f){return ku.generate(t,f,a)}))}function yS(t,r){var i=t.getLastChangeType();return r!==i||r!=="insert-characters"&&r!=="backspace-character"&&r!=="delete-character"}function bS(t,r){var i=r.getStartKey(),a=r.getStartOffset(),u=t.getBlockForKey(i);return a>0?u.getInlineStyleAt(a-1):u.getLength()?u.getInlineStyleAt(0):th(t,i)}function _S(t,r){var i=r.getStartKey(),a=r.getStartOffset(),u=t.getBlockForKey(i);return a<u.getLength()?u.getInlineStyleAt(a):a>0?u.getInlineStyleAt(a-1):th(t,i)}function th(t,r){var i=t.getBlockMap().reverse().skipUntil(function(a,u){return u===r}).skip(1).skipUntil(function(a,u){return a.getLength()}).first();return i?i.getInlineStyleAt(i.getLength()-1):Zp()}var zt=Wp,wS=$r,SS=wp,nh=mt,Eu=_t,kS=nh.OrderedMap,xS=nh.List,ea=function(t,r,i){if(t){var a=r.get(t);a&&r.set(t,i(a))}},ES=function(t,r,i,a,u){if(!u)return t;var f=a==="after",g=r.getKey(),y=i.getKey(),b=r.getParentKey(),k=r.getNextSiblingKey(),D=r.getPrevSiblingKey(),P=i.getParentKey(),L=f?i.getNextSiblingKey():y,T=f?y:i.getPrevSiblingKey();return t.withMutations(function(F){ea(b,F,function(R){var j=R.getChildKeys();return R.merge({children:j.delete(j.indexOf(g))})}),ea(D,F,function(R){return R.merge({nextSibling:k})}),ea(k,F,function(R){return R.merge({prevSibling:D})}),ea(L,F,function(R){return R.merge({prevSibling:g})}),ea(T,F,function(R){return R.merge({nextSibling:g})}),ea(P,F,function(R){var j=R.getChildKeys(),ne=j.indexOf(y),Y=f?ne+1:ne!==0?ne-1:0,W=j.toArray();return W.splice(Y,0,g),R.merge({children:xS(W)})}),ea(g,F,function(R){return R.merge({nextSibling:L,prevSibling:T,parent:P})})})},OS=function(t,r,i,a){a==="replace"&&Eu(!1);var u=i.getKey(),f=r.getKey();f===u&&Eu(!1);var g=t.getBlockMap(),y=r instanceof wS,b=[r],k=g.delete(f);y&&(b=[],k=g.withMutations(function(j){var ne=r.getNextSiblingKey(),Y=SS(r,j);j.toSeq().skipUntil(function(W){return W.getKey()===f}).takeWhile(function(W){var J=W.getKey(),le=J===f,Se=ne&&J!==ne,_e=!ne&&W.getParentKey()&&(!Y||J!==Y);return!!(le||Se||_e)}).forEach(function(W){b.push(W),j.delete(W.getKey())})}));var D=k.toSeq().takeUntil(function(j){return j===i}),P=k.toSeq().skipUntil(function(j){return j===i}).skip(1),L=b.map(function(j){return[j.getKey(),j]}),T=kS();if(a==="before"){var F=t.getBlockBefore(u);!F||F.getKey()!==r.getKey()||Eu(!1),T=D.concat([].concat(L,[[u,i]]),P).toOrderedMap()}else if(a==="after"){var R=t.getBlockAfter(u);!R||R.getKey()!==f||Eu(!1),T=D.concat([[u,i]].concat(L),P).toOrderedMap()}return t.merge({blockMap:ES(T,r,i,a,y),selectionBefore:t.getSelectionAfter(),selectionAfter:t.getSelectionAfter().merge({anchorKey:f,focusKey:f})})},NS=OS;function rh(t){for(var r=1;r<arguments.length;r++){var i=arguments[r]!=null?arguments[r]:{},a=Object.keys(i);typeof Object.getOwnPropertySymbols=="function"&&(a=a.concat(Object.getOwnPropertySymbols(i).filter(function(u){return Object.getOwnPropertyDescriptor(i,u).enumerable}))),a.forEach(function(u){DS(t,u,i[u])})}return t}function DS(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}var MS=ml,LS=Qr,CS=Wo,BS=$r,Ka=lr,ih=zt,oh=Ni,FS=wo,ah=mt,Ou=NS,lh=FS("draft_tree_data_support"),uh=lh?BS:CS,PS=ah.List,KS=ah.Repeat,RS={insertAtomicBlock:function(t,r,i){var a=t.getCurrentContent(),u=t.getSelection(),f=Ka.removeRange(a,u,"backward"),g=f.getSelectionAfter(),y=Ka.splitBlock(f,g),b=y.getSelectionAfter(),k=Ka.setBlockType(y,b,"atomic"),D=LS.create({entity:r}),P={key:oh(),type:"atomic",text:i,characterList:PS(KS(D,i.length))},L={key:oh(),type:"unstyled"};lh&&(P=rh({},P,{nextSibling:L.key}),L=rh({},L,{prevSibling:P.key}));var T=[new uh(P),new uh(L)],F=MS.createFromArray(T),R=Ka.replaceWithFragment(k,b,F),j=R.merge({selectionBefore:u,selectionAfter:R.getSelectionAfter().set("hasFocus",!0)});return ih.push(t,j,"insert-fragment")},moveAtomicBlock:function(t,r,i,a){var u=t.getCurrentContent(),f=t.getSelection(),g;if(a==="before"||a==="after"){var y=u.getBlockForKey(a==="before"?i.getStartKey():i.getEndKey());g=Ou(u,r,y,a)}else{var b=Ka.removeRange(u,i,"backward"),k=b.getSelectionAfter(),D=b.getBlockForKey(k.getFocusKey());if(k.getStartOffset()===0)g=Ou(b,r,D,"before");else if(k.getEndOffset()===D.getLength())g=Ou(b,r,D,"after");else{var P=Ka.splitBlock(b,k),L=P.getSelectionAfter(),T=P.getBlockForKey(L.getFocusKey());g=Ou(P,r,T,"before")}}var F=g.merge({selectionBefore:f,selectionAfter:g.getSelectionAfter().set("hasFocus",!0)});return ih.push(t,F,"move-block")}},IS=RS;function jS(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}var TS=mt,zS=TS.List,wc=".",HS=function(){function t(i){jS(this,"_decorators",void 0),this._decorators=i.slice()}var r=t.prototype;return r.getDecorations=function(i,a){var u=Array(i.getText().length).fill(null);return this._decorators.forEach(function(f,g){var y=0,b=f.strategy,k=function(D,P){qS(u,D,P)&&(AS(u,D,P,g+wc+y),y++)};b(i,k,a)}),zS(u)},r.getComponentForKey=function(i){var a=parseInt(i.split(wc)[0],10);return this._decorators[a].component},r.getPropsForKey=function(i){var a=parseInt(i.split(wc)[0],10);return this._decorators[a].props},t}();function qS(t,r,i){for(var a=r;a<i;a++)if(t[a]!=null)return!1;return!0}function AS(t,r,i,a){for(var u=r;u<i;u++)t[u]=a}var US=HS;function VS(t){return typeof t=="object"?Object.keys(t).filter(function(r){return t[r]}).map(sh).join(" "):Array.prototype.map.call(arguments,sh).join(" ")}function sh(t){return t.replace(/\//g,"-")}var ta=VS,Sc=q,kc=ta,QS=mt,$S=QS.Map,XS=Sc.createElement("ul",{className:kc("public/DraftStyleDefault/ul")}),ZS=Sc.createElement("ol",{className:kc("public/DraftStyleDefault/ol")}),JS=Sc.createElement("pre",{className:kc("public/DraftStyleDefault/pre")}),YS=$S({"header-one":{element:"h1"},"header-two":{element:"h2"},"header-three":{element:"h3"},"header-four":{element:"h4"},"header-five":{element:"h5"},"header-six":{element:"h6"},section:{element:"section"},article:{element:"article"},"unordered-list-item":{element:"li",wrapper:XS},"ordered-list-item":{element:"li",wrapper:ZS},blockquote:{element:"blockquote"},atomic:{element:"figure"},"code-block":{element:"pre",wrapper:JS},unstyled:{element:"div",aliasedElements:["p"]}}),xc=YS,ch={BOLD:{fontWeight:"bold"},CODE:{fontFamily:"monospace",wordWrap:"break-word"},ITALIC:{fontStyle:"italic"},STRIKETHROUGH:{textDecoration:"line-through"},UNDERLINE:{textDecoration:"underline"}};/*
5
+ */(function(t){(function(){var r={}.hasOwnProperty;function i(){for(var a=[],u=0;u<arguments.length;u++){var c=arguments[u];if(c){var g=typeof c;if(g==="string"||g==="number")a.push(c);else if(Array.isArray(c)){if(c.length){var y=i.apply(null,c);y&&a.push(y)}}else if(g==="object"){if(c.toString!==Object.prototype.toString&&!c.toString.toString().includes("[native code]")){a.push(c.toString());continue}for(var b in c)r.call(c,b)&&c[b]&&a.push(b)}}}return a.join(" ")}t.exports?(i.default=i,t.exports=i):window.classNames=i})()})(w_);const ot=pc;var mt={},S_={get exports(){return mt},set exports(t){mt=t}};(function(t,r){(function(i,a){t.exports=a()})(Pa,function(){var i=Array.prototype.slice;function a(l,f){f&&(l.prototype=Object.create(f.prototype)),l.prototype.constructor=l}function u(l){return b(l)?l:Xe(l)}a(c,u);function c(l){return w(l)?l:st(l)}a(g,u);function g(l){return D(l)?l:ut(l)}a(y,u);function y(l){return b(l)&&!K(l)?l:Pt(l)}function b(l){return!!(l&&l[T])}function w(l){return!!(l&&l[F])}function D(l){return!!(l&&l[R])}function K(l){return w(l)||D(l)}function L(l){return!!(l&&l[j])}u.isIterable=b,u.isKeyed=w,u.isIndexed=D,u.isAssociative=K,u.isOrdered=L,u.Keyed=c,u.Indexed=g,u.Set=y;var T="@@__IMMUTABLE_ITERABLE__@@",F="@@__IMMUTABLE_KEYED__@@",R="@@__IMMUTABLE_INDEXED__@@",j="@@__IMMUTABLE_ORDERED__@@",G="delete",Y=5,W=1<<Y,J=W-1,le={},Se={value:!1},_e={value:!1};function Ie(l){return l.value=!1,l}function ve(l){l&&(l.value=!0)}function xe(){}function we(l,f){f=f||0;for(var v=Math.max(0,l.length-f),x=new Array(v),E=0;E<v;E++)x[E]=l[E+f];return x}function he(l){return l.size===void 0&&(l.size=l.__iterate(De)),l.size}function ge(l,f){if(typeof f!="number"){var v=f>>>0;if(""+v!==f||v===4294967295)return NaN;f=v}return f<0?he(l)+f:f}function De(){return!0}function je(l,f,v){return(l===0||v!==void 0&&l<=-v)&&(f===void 0||v!==void 0&&f>=v)}function Ce(l,f){return ue(l,f,0)}function He(l,f){return ue(l,f,f)}function ue(l,f,v){return l===void 0?v:l<0?Math.max(0,f+l):f===void 0?l:Math.min(f,l)}var fe=0,ae=1,Me=2,Je=typeof Symbol=="function"&&Symbol.iterator,Et="@@iterator",Ct=Je||Et;function qe(l){this.next=l}qe.prototype.toString=function(){return"[Iterator]"},qe.KEYS=fe,qe.VALUES=ae,qe.ENTRIES=Me,qe.prototype.inspect=qe.prototype.toSource=function(){return this.toString()},qe.prototype[Ct]=function(){return this};function Te(l,f,v,x){var E=l===0?f:l===1?v:[f,v];return x?x.value=E:x={value:E,done:!1},x}function dt(){return{value:void 0,done:!0}}function Rt(l){return!!kt(l)}function It(l){return l&&typeof l.next=="function"}function Ft(l){var f=kt(l);return f&&f.call(l)}function kt(l){var f=l&&(Je&&l[Je]||l[Et]);if(typeof f=="function")return f}function en(l){return l&&typeof l.length=="number"}a(Xe,u);function Xe(l){return l==null?nt():b(l)?l.toSeq():Ge(l)}Xe.of=function(){return Xe(arguments)},Xe.prototype.toSeq=function(){return this},Xe.prototype.toString=function(){return this.__toString("Seq {","}")},Xe.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},Xe.prototype.__iterate=function(l,f){return ct(this,l,f,!0)},Xe.prototype.__iterator=function(l,f){return xn(this,l,f,!0)},a(st,Xe);function st(l){return l==null?nt().toKeyedSeq():b(l)?w(l)?l.toSeq():l.fromEntrySeq():Ye(l)}st.prototype.toKeyedSeq=function(){return this},a(ut,Xe);function ut(l){return l==null?nt():b(l)?w(l)?l.entrySeq():l.toIndexedSeq():ht(l)}ut.of=function(){return ut(arguments)},ut.prototype.toIndexedSeq=function(){return this},ut.prototype.toString=function(){return this.__toString("Seq [","]")},ut.prototype.__iterate=function(l,f){return ct(this,l,f,!1)},ut.prototype.__iterator=function(l,f){return xn(this,l,f,!1)},a(Pt,Xe);function Pt(l){return(l==null?nt():b(l)?w(l)?l.entrySeq():l:ht(l)).toSetSeq()}Pt.of=function(){return Pt(arguments)},Pt.prototype.toSetSeq=function(){return this},Xe.isSeq=Kt,Xe.Keyed=st,Xe.Set=Pt,Xe.Indexed=ut;var hn="@@__IMMUTABLE_SEQ__@@";Xe.prototype[hn]=!0,a(Bt,ut);function Bt(l){this._array=l,this.size=l.length}Bt.prototype.get=function(l,f){return this.has(l)?this._array[ge(this,l)]:f},Bt.prototype.__iterate=function(l,f){for(var v=this._array,x=v.length-1,E=0;E<=x;E++)if(l(v[f?x-E:E],E,this)===!1)return E+1;return E},Bt.prototype.__iterator=function(l,f){var v=this._array,x=v.length-1,E=0;return new qe(function(){return E>x?dt():Te(l,E,v[f?x-E++:E++])})},a(Nt,st);function Nt(l){var f=Object.keys(l);this._object=l,this._keys=f,this.size=f.length}Nt.prototype.get=function(l,f){return f!==void 0&&!this.has(l)?f:this._object[l]},Nt.prototype.has=function(l){return this._object.hasOwnProperty(l)},Nt.prototype.__iterate=function(l,f){for(var v=this._object,x=this._keys,E=x.length-1,M=0;M<=E;M++){var z=x[f?E-M:M];if(l(v[z],z,this)===!1)return M+1}return M},Nt.prototype.__iterator=function(l,f){var v=this._object,x=this._keys,E=x.length-1,M=0;return new qe(function(){var z=x[f?E-M:M];return M++>E?dt():Te(l,z,v[z])})},Nt.prototype[j]=!0,a(rt,ut);function rt(l){this._iterable=l,this.size=l.length||l.size}rt.prototype.__iterateUncached=function(l,f){if(f)return this.cacheResult().__iterate(l,f);var v=this._iterable,x=Ft(v),E=0;if(It(x))for(var M;!(M=x.next()).done&&l(M.value,E++,this)!==!1;);return E},rt.prototype.__iteratorUncached=function(l,f){if(f)return this.cacheResult().__iterator(l,f);var v=this._iterable,x=Ft(v);if(!It(x))return new qe(dt);var E=0;return new qe(function(){var M=x.next();return M.done?M:Te(l,E++,M.value)})},a(pt,ut);function pt(l){this._iterator=l,this._iteratorCache=[]}pt.prototype.__iterateUncached=function(l,f){if(f)return this.cacheResult().__iterate(l,f);for(var v=this._iterator,x=this._iteratorCache,E=0;E<x.length;)if(l(x[E],E++,this)===!1)return E;for(var M;!(M=v.next()).done;){var z=M.value;if(x[E]=z,l(z,E++,this)===!1)break}return E},pt.prototype.__iteratorUncached=function(l,f){if(f)return this.cacheResult().__iterator(l,f);var v=this._iterator,x=this._iteratorCache,E=0;return new qe(function(){if(E>=x.length){var M=v.next();if(M.done)return M;x[E]=M.value}return Te(l,E,x[E++])})};function Kt(l){return!!(l&&l[hn])}var Fe;function nt(){return Fe||(Fe=new Bt([]))}function Ye(l){var f=Array.isArray(l)?new Bt(l).fromEntrySeq():It(l)?new pt(l).fromEntrySeq():Rt(l)?new rt(l).fromEntrySeq():typeof l=="object"?new Nt(l):void 0;if(!f)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+l);return f}function ht(l){var f=Sn(l);if(!f)throw new TypeError("Expected Array or iterable object of values: "+l);return f}function Ge(l){var f=Sn(l)||typeof l=="object"&&new Nt(l);if(!f)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+l);return f}function Sn(l){return en(l)?new Bt(l):It(l)?new pt(l):Rt(l)?new rt(l):void 0}function ct(l,f,v,x){var E=l._cache;if(E){for(var M=E.length-1,z=0;z<=M;z++){var q=E[v?M-z:z];if(f(q[1],x?q[0]:z,l)===!1)return z+1}return z}return l.__iterateUncached(f,v)}function xn(l,f,v,x){var E=l._cache;if(E){var M=E.length-1,z=0;return new qe(function(){var q=E[v?M-z:z];return z++>M?dt():Te(f,x?q[0]:z-1,q[1])})}return l.__iteratorUncached(f,v)}function tn(l,f){return f?pr(f,l,"",{"":l}):Vn(l)}function pr(l,f,v,x){return Array.isArray(f)?l.call(x,v,ut(f).map(function(E,M){return pr(l,E,M,f)})):ro(f)?l.call(x,v,st(f).map(function(E,M){return pr(l,E,M,f)})):f}function Vn(l){return Array.isArray(l)?ut(l).map(Vn).toList():ro(l)?st(l).map(Vn).toMap():l}function ro(l){return l&&(l.constructor===Object||l.constructor===void 0)}function jt(l,f){if(l===f||l!==l&&f!==f)return!0;if(!l||!f)return!1;if(typeof l.valueOf=="function"&&typeof f.valueOf=="function"){if(l=l.valueOf(),f=f.valueOf(),l===f||l!==l&&f!==f)return!0;if(!l||!f)return!1}return!!(typeof l.equals=="function"&&typeof f.equals=="function"&&l.equals(f))}function _i(l,f){if(l===f)return!0;if(!b(f)||l.size!==void 0&&f.size!==void 0&&l.size!==f.size||l.__hash!==void 0&&f.__hash!==void 0&&l.__hash!==f.__hash||w(l)!==w(f)||D(l)!==D(f)||L(l)!==L(f))return!1;if(l.size===0&&f.size===0)return!0;var v=!K(l);if(L(l)){var x=l.entries();return f.every(function(te,re){var oe=x.next().value;return oe&&jt(oe[1],te)&&(v||jt(oe[0],re))})&&x.next().done}var E=!1;if(l.size===void 0)if(f.size===void 0)typeof l.cacheResult=="function"&&l.cacheResult();else{E=!0;var M=l;l=f,f=M}var z=!0,q=f.__iterate(function(te,re){if(v?!l.has(te):E?!jt(te,l.get(re,le)):!jt(l.get(re,le),te))return z=!1,!1});return z&&l.size===q}a(Jt,ut);function Jt(l,f){if(!(this instanceof Jt))return new Jt(l,f);if(this._value=l,this.size=f===void 0?1/0:Math.max(0,f),this.size===0){if(wi)return wi;wi=this}}Jt.prototype.toString=function(){return this.size===0?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},Jt.prototype.get=function(l,f){return this.has(l)?this._value:f},Jt.prototype.includes=function(l){return jt(this._value,l)},Jt.prototype.slice=function(l,f){var v=this.size;return je(l,f,v)?this:new Jt(this._value,He(f,v)-Ce(l,v))},Jt.prototype.reverse=function(){return this},Jt.prototype.indexOf=function(l){return jt(this._value,l)?0:-1},Jt.prototype.lastIndexOf=function(l){return jt(this._value,l)?this.size:-1},Jt.prototype.__iterate=function(l,f){for(var v=0;v<this.size;v++)if(l(this._value,v,this)===!1)return v+1;return v},Jt.prototype.__iterator=function(l,f){var v=this,x=0;return new qe(function(){return x<v.size?Te(l,x++,v._value):dt()})},Jt.prototype.equals=function(l){return l instanceof Jt?jt(this._value,l._value):_i(l)};var wi;function fn(l,f){if(!l)throw new Error(f)}a(qt,ut);function qt(l,f,v){if(!(this instanceof qt))return new qt(l,f,v);if(fn(v!==0,"Cannot step a Range by 0"),l=l||0,f===void 0&&(f=1/0),v=v===void 0?1:Math.abs(v),f<l&&(v=-v),this._start=l,this._end=f,this._step=v,this.size=Math.max(0,Math.ceil((f-l)/v-1)+1),this.size===0){if(zn)return zn;zn=this}}qt.prototype.toString=function(){return this.size===0?"Range []":"Range [ "+this._start+"..."+this._end+(this._step>1?" by "+this._step:"")+" ]"},qt.prototype.get=function(l,f){return this.has(l)?this._start+ge(this,l)*this._step:f},qt.prototype.includes=function(l){var f=(l-this._start)/this._step;return f>=0&&f<this.size&&f===Math.floor(f)},qt.prototype.slice=function(l,f){return je(l,f,this.size)?this:(l=Ce(l,this.size),f=He(f,this.size),f<=l?new qt(0,0):new qt(this.get(l,this._end),this.get(f,this._end),this._step))},qt.prototype.indexOf=function(l){var f=l-this._start;if(f%this._step===0){var v=f/this._step;if(v>=0&&v<this.size)return v}return-1},qt.prototype.lastIndexOf=function(l){return this.indexOf(l)},qt.prototype.__iterate=function(l,f){for(var v=this.size-1,x=this._step,E=f?this._start+v*x:this._start,M=0;M<=v;M++){if(l(E,M,this)===!1)return M+1;E+=f?-x:x}return M},qt.prototype.__iterator=function(l,f){var v=this.size-1,x=this._step,E=f?this._start+v*x:this._start,M=0;return new qe(function(){var z=E;return E+=f?-x:x,M>v?dt():Te(l,M++,z)})},qt.prototype.equals=function(l){return l instanceof qt?this._start===l._start&&this._end===l._end&&this._step===l._step:_i(this,l)};var zn;a(it,u);function it(){throw TypeError("Abstract")}a(Qn,it);function Qn(){}a(Xn,it);function Xn(){}a(er,it);function er(){}it.Keyed=Qn,it.Indexed=Xn,it.Set=er;var En=typeof Math.imul=="function"&&Math.imul(4294967295,2)===-2?Math.imul:function(l,f){l=l|0,f=f|0;var v=l&65535,x=f&65535;return v*x+((l>>>16)*x+v*(f>>>16)<<16>>>0)|0};function Mr(l){return l>>>1&1073741824|l&3221225471}function Tt(l){if(l===!1||l===null||l===void 0||typeof l.valueOf=="function"&&(l=l.valueOf(),l===!1||l===null||l===void 0))return 0;if(l===!0)return 1;var f=typeof l;if(f==="number"){var v=l|0;for(v!==l&&(v^=l*4294967295);l>4294967295;)l/=4294967295,v^=l;return Mr(v)}if(f==="string")return l.length>ji?io(l):tr(l);if(typeof l.hashCode=="function")return l.hashCode();if(f==="object")return Si(l);if(typeof l.toString=="function")return tr(l.toString());throw new Error("Value type "+f+" cannot be hashed.")}function io(l){var f=gr[l];return f===void 0&&(f=tr(l),nr===ao&&(nr=0,gr={}),nr++,gr[l]=f),f}function tr(l){for(var f=0,v=0;v<l.length;v++)f=31*f+l.charCodeAt(v)|0;return Mr(f)}function Si(l){var f;if(ei&&(f=ti.get(l),f!==void 0)||(f=l[mr],f!==void 0)||!oo&&(f=l.propertyIsEnumerable&&l.propertyIsEnumerable[mr],f!==void 0||(f=Gr(l),f!==void 0)))return f;if(f=++hr,hr&1073741824&&(hr=0),ei)ti.set(l,f);else{if(Lr!==void 0&&Lr(l)===!1)throw new Error("Non-extensible objects are not allowed as keys.");if(oo)Object.defineProperty(l,mr,{enumerable:!1,configurable:!1,writable:!1,value:f});else if(l.propertyIsEnumerable!==void 0&&l.propertyIsEnumerable===l.constructor.prototype.propertyIsEnumerable)l.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},l.propertyIsEnumerable[mr]=f;else if(l.nodeType!==void 0)l[mr]=f;else throw new Error("Unable to set a non-enumerable property on object.")}return f}var Lr=Object.isExtensible,oo=function(){try{return Object.defineProperty({},"@",{}),!0}catch{return!1}}();function Gr(l){if(l&&l.nodeType>0)switch(l.nodeType){case 1:return l.uniqueID;case 9:return l.documentElement&&l.documentElement.uniqueID}}var ei=typeof WeakMap=="function",ti;ei&&(ti=new WeakMap);var hr=0,mr="__immutablehash__";typeof Symbol=="function"&&(mr=Symbol(mr));var ji=16,ao=255,nr=0,gr={};function mn(l){fn(l!==1/0,"Cannot perform this action with an infinite size.")}a(at,Qn);function at(l){return l==null?Wt():Cr(l)&&!L(l)?l:Wt().withMutations(function(f){var v=c(l);mn(v.size),v.forEach(function(x,E){return f.set(E,x)})})}at.prototype.toString=function(){return this.__toString("Map {","}")},at.prototype.get=function(l,f){return this._root?this._root.get(0,void 0,l,f):f},at.prototype.set=function(l,f){return Bn(this,l,f)},at.prototype.setIn=function(l,f){return this.updateIn(l,le,function(){return f})},at.prototype.remove=function(l){return Bn(this,l,le)},at.prototype.deleteIn=function(l){return this.updateIn(l,function(){return le})},at.prototype.update=function(l,f,v){return arguments.length===1?l(this):this.updateIn([l],f,v)},at.prototype.updateIn=function(l,f,v){v||(v=f,f=void 0);var x=S(this,Pn(l),f,v);return x===le?void 0:x},at.prototype.clear=function(){return this.size===0?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):Wt()},at.prototype.merge=function(){return yr(this,void 0,arguments)},at.prototype.mergeWith=function(l){var f=i.call(arguments,1);return yr(this,l,f)},at.prototype.mergeIn=function(l){var f=i.call(arguments,1);return this.updateIn(l,Wt(),function(v){return typeof v.merge=="function"?v.merge.apply(v,f):f[f.length-1]})},at.prototype.mergeDeep=function(){return yr(this,jr,arguments)},at.prototype.mergeDeepWith=function(l){var f=i.call(arguments,1);return yr(this,Tr(l),f)},at.prototype.mergeDeepIn=function(l){var f=i.call(arguments,1);return this.updateIn(l,Wt(),function(v){return typeof v.mergeDeep=="function"?v.mergeDeep.apply(v,f):f[f.length-1]})},at.prototype.sort=function(l){return Xt(or(this,l))},at.prototype.sortBy=function(l,f){return Xt(or(this,f,l))},at.prototype.withMutations=function(l){var f=this.asMutable();return l(f),f.wasAltered()?f.__ensureOwner(this.__ownerID):this},at.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new xe)},at.prototype.asImmutable=function(){return this.__ensureOwner()},at.prototype.wasAltered=function(){return this.__altered},at.prototype.__iterator=function(l,f){return new ri(this,l,f)},at.prototype.__iterate=function(l,f){var v=this,x=0;return this._root&&this._root.iterate(function(E){return x++,l(E[1],E[0],v)},f),x},at.prototype.__ensureOwner=function(l){return l===this.__ownerID?this:l?Ti(this.size,this._root,l,this.__hash):(this.__ownerID=l,this.__altered=!1,this)};function Cr(l){return!!(l&&l[Br])}at.isMap=Cr;var Br="@@__IMMUTABLE_MAP__@@",tt=at.prototype;tt[Br]=!0,tt[G]=tt.remove,tt.removeIn=tt.deleteIn;function Fr(l,f){this.ownerID=l,this.entries=f}Fr.prototype.get=function(l,f,v,x){for(var E=this.entries,M=0,z=E.length;M<z;M++)if(jt(v,E[M][0]))return E[M][1];return x},Fr.prototype.update=function(l,f,v,x,E,M,z){for(var q=E===le,te=this.entries,re=0,oe=te.length;re<oe&&!jt(x,te[re][0]);re++);var Ne=re<oe;if(Ne?te[re][1]===E:q)return this;if(ve(z),(q||!Ne)&&ve(M),!(q&&te.length===1)){if(!Ne&&!q&&te.length>=ie)return lo(l,te,x,E);var ke=l&&l===this.ownerID,$e=ke?te:we(te);return Ne?q?re===oe-1?$e.pop():$e[re]=$e.pop():$e[re]=[x,E]:$e.push([x,E]),ke?(this.entries=$e,this):new Fr(l,$e)}};function Pr(l,f,v){this.ownerID=l,this.bitmap=f,this.nodes=v}Pr.prototype.get=function(l,f,v,x){f===void 0&&(f=Tt(v));var E=1<<((l===0?f:f>>>l)&J),M=this.bitmap;return M&E?this.nodes[O(M&E-1)].get(l+Y,f,v,x):x},Pr.prototype.update=function(l,f,v,x,E,M,z){v===void 0&&(v=Tt(x));var q=(f===0?v:v>>>f)&J,te=1<<q,re=this.bitmap,oe=(re&te)!==0;if(!oe&&E===le)return this;var Ne=O(re&te-1),ke=this.nodes,$e=oe?ke[Ne]:void 0,lt=Rr($e,l,f+Y,v,x,E,M,z);if(lt===$e)return this;if(!oe&&lt&&ke.length>=me)return Ir(l,ke,re,q,lt);if(oe&&!lt&&ke.length===2&&un(ke[Ne^1]))return ke[Ne^1];if(oe&&lt&&ke.length===1&&un(lt))return lt;var Ht=l&&l===this.ownerID,Sr=oe?lt?re:re^te:re|te,Vr=oe?lt?B(ke,Ne,lt,Ht):U(ke,Ne,Ht):X(ke,Ne,lt,Ht);return Ht?(this.bitmap=Sr,this.nodes=Vr,this):new Pr(l,Sr,Vr)};function ni(l,f,v){this.ownerID=l,this.count=f,this.nodes=v}ni.prototype.get=function(l,f,v,x){f===void 0&&(f=Tt(v));var E=(l===0?f:f>>>l)&J,M=this.nodes[E];return M?M.get(l+Y,f,v,x):x},ni.prototype.update=function(l,f,v,x,E,M,z){v===void 0&&(v=Tt(x));var q=(f===0?v:v>>>f)&J,te=E===le,re=this.nodes,oe=re[q];if(te&&!oe)return this;var Ne=Rr(oe,l,f+Y,v,x,E,M,z);if(Ne===oe)return this;var ke=this.count;if(!oe)ke++;else if(!Ne&&(ke--,ke<be))return uo(l,re,ke,q);var $e=l&&l===this.ownerID,lt=B(re,q,Ne,$e);return $e?(this.count=ke,this.nodes=lt,this):new ni(l,ke,lt)};function vt(l,f,v){this.ownerID=l,this.keyHash=f,this.entries=v}vt.prototype.get=function(l,f,v,x){for(var E=this.entries,M=0,z=E.length;M<z;M++)if(jt(v,E[M][0]))return E[M][1];return x},vt.prototype.update=function(l,f,v,x,E,M,z){v===void 0&&(v=Tt(x));var q=E===le;if(v!==this.keyHash)return q?this:(ve(z),ve(M),xi(this,l,f,v,[x,E]));for(var te=this.entries,re=0,oe=te.length;re<oe&&!jt(x,te[re][0]);re++);var Ne=re<oe;if(Ne?te[re][1]===E:q)return this;if(ve(z),(q||!Ne)&&ve(M),q&&oe===2)return new zt(l,this.keyHash,te[re^1]);var ke=l&&l===this.ownerID,$e=ke?te:we(te);return Ne?q?re===oe-1?$e.pop():$e[re]=$e.pop():$e[re]=[x,E]:$e.push([x,E]),ke?(this.entries=$e,this):new vt(l,this.keyHash,$e)};function zt(l,f,v){this.ownerID=l,this.keyHash=f,this.entry=v}zt.prototype.get=function(l,f,v,x){return jt(v,this.entry[0])?this.entry[1]:x},zt.prototype.update=function(l,f,v,x,E,M,z){var q=E===le,te=jt(x,this.entry[0]);if(te?E===this.entry[1]:q)return this;if(ve(z),q){ve(M);return}return te?l&&l===this.ownerID?(this.entry[1]=E,this):new zt(l,this.keyHash,[x,E]):(ve(M),xi(this,l,f,Tt(x),[x,E]))},Fr.prototype.iterate=vt.prototype.iterate=function(l,f){for(var v=this.entries,x=0,E=v.length-1;x<=E;x++)if(l(v[f?E-x:x])===!1)return!1},Pr.prototype.iterate=ni.prototype.iterate=function(l,f){for(var v=this.nodes,x=0,E=v.length-1;x<=E;x++){var M=v[f?E-x:x];if(M&&M.iterate(l,f)===!1)return!1}},zt.prototype.iterate=function(l,f){return l(this.entry)},a(ri,qe);function ri(l,f,v){this._type=f,this._reverse=v,this._stack=l._root&&Kr(l._root)}ri.prototype.next=function(){for(var l=this._type,f=this._stack;f;){var v=f.node,x=f.index++,E;if(v.entry){if(x===0)return ii(l,v.entry)}else if(v.entries){if(E=v.entries.length-1,x<=E)return ii(l,v.entries[this._reverse?E-x:x])}else if(E=v.nodes.length-1,x<=E){var M=v.nodes[this._reverse?E-x:x];if(M){if(M.entry)return ii(l,M.entry);f=this._stack=Kr(M,f)}continue}f=this._stack=this._stack.__prev}return dt()};function ii(l,f){return Te(l,f[0],f[1])}function Kr(l,f){return{node:l,index:0,__prev:f}}function Ti(l,f,v,x){var E=Object.create(tt);return E.size=l,E._root=f,E.__ownerID=v,E.__hash=x,E.__altered=!1,E}var vr;function Wt(){return vr||(vr=Ti(0))}function Bn(l,f,v){var x,E;if(l._root){var M=Ie(Se),z=Ie(_e);if(x=Rr(l._root,l.__ownerID,0,void 0,f,v,M,z),!z.value)return l;E=l.size+(M.value?v===le?-1:1:0)}else{if(v===le)return l;E=1,x=new Fr(l.__ownerID,[[f,v]])}return l.__ownerID?(l.size=E,l._root=x,l.__hash=void 0,l.__altered=!0,l):x?Ti(E,x):Wt()}function Rr(l,f,v,x,E,M,z,q){return l?l.update(f,v,x,E,M,z,q):M===le?l:(ve(q),ve(z),new zt(f,x,[E,M]))}function un(l){return l.constructor===zt||l.constructor===vt}function xi(l,f,v,x,E){if(l.keyHash===x)return new vt(f,x,[l.entry,E]);var M=(v===0?l.keyHash:l.keyHash>>>v)&J,z=(v===0?x:x>>>v)&J,q,te=M===z?[xi(l,f,v+Y,x,E)]:(q=new zt(f,x,E),M<z?[l,q]:[q,l]);return new Pr(f,1<<M|1<<z,te)}function lo(l,f,v,x){l||(l=new xe);for(var E=new zt(l,Tt(v),[v,x]),M=0;M<f.length;M++){var z=f[M];E=E.update(l,0,void 0,z[0],z[1])}return E}function uo(l,f,v,x){for(var E=0,M=0,z=new Array(v),q=0,te=1,re=f.length;q<re;q++,te<<=1){var oe=f[q];oe!==void 0&&q!==x&&(E|=te,z[M++]=oe)}return new Pr(l,E,z)}function Ir(l,f,v,x,E){for(var M=0,z=new Array(W),q=0;v!==0;q++,v>>>=1)z[q]=v&1?f[M++]:void 0;return z[x]=E,new ni(l,M+1,z)}function yr(l,f,v){for(var x=[],E=0;E<v.length;E++){var M=v[E],z=c(M);b(M)||(z=z.map(function(q){return tn(q)})),x.push(z)}return p(l,f,x)}function jr(l,f,v){return l&&l.mergeDeep&&b(f)?l.mergeDeep(f):jt(l,f)?l:f}function Tr(l){return function(f,v,x){if(f&&f.mergeDeepWith&&b(v))return f.mergeDeepWith(l,v);var E=l(f,v,x);return jt(f,E)?f:E}}function p(l,f,v){return v=v.filter(function(x){return x.size!==0}),v.length===0?l:l.size===0&&!l.__ownerID&&v.length===1?l.constructor(v[0]):l.withMutations(function(x){for(var E=f?function(z,q){x.update(q,le,function(te){return te===le?z:f(te,z,q)})}:function(z,q){x.set(q,z)},M=0;M<v.length;M++)v[M].forEach(E)})}function S(l,f,v,x){var E=l===le,M=f.next();if(M.done){var z=E?v:l,q=x(z);return q===z?l:q}fn(E||l&&l.set,"invalid keyPath");var te=M.value,re=E?le:l.get(te,le),oe=S(re,f,v,x);return oe===re?l:oe===le?l.remove(te):(E?Wt():l).set(te,oe)}function O(l){return l=l-(l>>1&1431655765),l=(l&858993459)+(l>>2&858993459),l=l+(l>>4)&252645135,l=l+(l>>8),l=l+(l>>16),l&127}function B(l,f,v,x){var E=x?l:we(l);return E[f]=v,E}function X(l,f,v,x){var E=l.length+1;if(x&&f+1===E)return l[f]=v,l;for(var M=new Array(E),z=0,q=0;q<E;q++)q===f?(M[q]=v,z=-1):M[q]=l[q+z];return M}function U(l,f,v){var x=l.length-1;if(v&&f===x)return l.pop(),l;for(var E=new Array(x),M=0,z=0;z<x;z++)z===f&&(M=1),E[z]=l[z+M];return E}var ie=W/4,me=W/2,be=W/4;a(Ee,Xn);function Ee(l){var f=vn();if(l==null)return f;if(We(l))return l;var v=g(l),x=v.size;return x===0?f:(mn(x),x>0&&x<W?gn(0,x,Y,null,new nn(v.toArray())):f.withMutations(function(E){E.setSize(x),v.forEach(function(M,z){return E.set(z,M)})}))}Ee.of=function(){return this(arguments)},Ee.prototype.toString=function(){return this.__toString("List [","]")},Ee.prototype.get=function(l,f){if(l=ge(this,l),l>=0&&l<this.size){l+=this._origin;var v=zr(this,l);return v&&v.array[l&J]}return f},Ee.prototype.set=function(l,f){return rr(this,l,f)},Ee.prototype.remove=function(l){return this.has(l)?l===0?this.shift():l===this.size-1?this.pop():this.splice(l,1):this},Ee.prototype.insert=function(l,f){return this.splice(l,0,f)},Ee.prototype.clear=function(){return this.size===0?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=Y,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):vn()},Ee.prototype.push=function(){var l=arguments,f=this.size;return this.withMutations(function(v){oi(v,0,f+l.length);for(var x=0;x<l.length;x++)v.set(f+x,l[x])})},Ee.prototype.pop=function(){return oi(this,0,-1)},Ee.prototype.unshift=function(){var l=arguments;return this.withMutations(function(f){oi(f,-l.length);for(var v=0;v<l.length;v++)f.set(v,l[v])})},Ee.prototype.shift=function(){return oi(this,1)},Ee.prototype.merge=function(){return so(this,void 0,arguments)},Ee.prototype.mergeWith=function(l){var f=i.call(arguments,1);return so(this,l,f)},Ee.prototype.mergeDeep=function(){return so(this,jr,arguments)},Ee.prototype.mergeDeepWith=function(l){var f=i.call(arguments,1);return so(this,Tr(l),f)},Ee.prototype.setSize=function(l){return oi(this,0,l)},Ee.prototype.slice=function(l,f){var v=this.size;return je(l,f,v)?this:oi(this,Ce(l,v),He(f,v))},Ee.prototype.__iterator=function(l,f){var v=0,x=br(this,f);return new qe(function(){var E=x();return E===sn?dt():Te(l,v++,E)})},Ee.prototype.__iterate=function(l,f){for(var v=0,x=br(this,f),E;(E=x())!==sn&&l(E,v++,this)!==!1;);return v},Ee.prototype.__ensureOwner=function(l){return l===this.__ownerID?this:l?gn(this._origin,this._capacity,this._level,this._root,this._tail,l,this.__hash):(this.__ownerID=l,this)};function We(l){return!!(l&&l[St])}Ee.isList=We;var St="@@__IMMUTABLE_LIST__@@",Ot=Ee.prototype;Ot[St]=!0,Ot[G]=Ot.remove,Ot.setIn=tt.setIn,Ot.deleteIn=Ot.removeIn=tt.removeIn,Ot.update=tt.update,Ot.updateIn=tt.updateIn,Ot.mergeIn=tt.mergeIn,Ot.mergeDeepIn=tt.mergeDeepIn,Ot.withMutations=tt.withMutations,Ot.asMutable=tt.asMutable,Ot.asImmutable=tt.asImmutable,Ot.wasAltered=tt.wasAltered;function nn(l,f){this.array=l,this.ownerID=f}nn.prototype.removeBefore=function(l,f,v){if(v===f?1<<f:this.array.length===0)return this;var x=v>>>f&J;if(x>=this.array.length)return new nn([],l);var E=x===0,M;if(f>0){var z=this.array[x];if(M=z&&z.removeBefore(l,f-Y,v),M===z&&E)return this}if(E&&!M)return this;var q=An(this,l);if(!E)for(var te=0;te<x;te++)q.array[te]=void 0;return M&&(q.array[x]=M),q},nn.prototype.removeAfter=function(l,f,v){if(v===(f?1<<f:0)||this.array.length===0)return this;var x=v-1>>>f&J;if(x>=this.array.length)return this;var E;if(f>0){var M=this.array[x];if(E=M&&M.removeAfter(l,f-Y,v),E===M&&x===this.array.length-1)return this}var z=An(this,l);return z.array.splice(x+1),E&&(z.array[x]=E),z};var sn={};function br(l,f){var v=l._origin,x=l._capacity,E=Hr(x),M=l._tail;return z(l._root,l._level,0);function z(re,oe,Ne){return oe===0?q(re,Ne):te(re,oe,Ne)}function q(re,oe){var Ne=oe===E?M&&M.array:re&&re.array,ke=oe>v?0:v-oe,$e=x-oe;return $e>W&&($e=W),function(){if(ke===$e)return sn;var lt=f?--$e:ke++;return Ne&&Ne[lt]}}function te(re,oe,Ne){var ke,$e=re&&re.array,lt=Ne>v?0:v-Ne>>oe,Ht=(x-Ne>>oe)+1;return Ht>W&&(Ht=W),function(){do{if(ke){var Sr=ke();if(Sr!==sn)return Sr;ke=null}if(lt===Ht)return sn;var Vr=f?--Ht:lt++;ke=z($e&&$e[Vr],oe-Y,Ne+(Vr<<oe))}while(!0)}}}function gn(l,f,v,x,E,M,z){var q=Object.create(Ot);return q.size=f-l,q._origin=l,q._capacity=f,q._level=v,q._root=x,q._tail=E,q.__ownerID=M,q.__hash=z,q.__altered=!1,q}var Hn;function vn(){return Hn||(Hn=gn(0,0,Y))}function rr(l,f,v){if(f=ge(l,f),f!==f)return l;if(f>=l.size||f<0)return l.withMutations(function(z){f<0?oi(z,f).set(0,v):oi(z,0,f+1).set(f,v)});f+=l._origin;var x=l._tail,E=l._root,M=Ie(_e);return f>=Hr(l._capacity)?x=Fn(x,l.__ownerID,0,f,v,M):E=Fn(E,l.__ownerID,l._level,f,v,M),M.value?l.__ownerID?(l._root=E,l._tail=x,l.__hash=void 0,l.__altered=!0,l):gn(l._origin,l._capacity,l._level,E,x):l}function Fn(l,f,v,x,E,M){var z=x>>>v&J,q=l&&z<l.array.length;if(!q&&E===void 0)return l;var te;if(v>0){var re=l&&l.array[z],oe=Fn(re,f,v-Y,x,E,M);return oe===re?l:(te=An(l,f),te.array[z]=oe,te)}return q&&l.array[z]===E?l:(ve(M),te=An(l,f),E===void 0&&z===te.array.length-1?te.array.pop():te.array[z]=E,te)}function An(l,f){return f&&l&&f===l.ownerID?l:new nn(l?l.array.slice():[],f)}function zr(l,f){if(f>=Hr(l._capacity))return l._tail;if(f<1<<l._level+Y){for(var v=l._root,x=l._level;v&&x>0;)v=v.array[f>>>x&J],x-=Y;return v}}function oi(l,f,v){f!==void 0&&(f=f|0),v!==void 0&&(v=v|0);var x=l.__ownerID||new xe,E=l._origin,M=l._capacity,z=E+f,q=v===void 0?M:v<0?M+v:E+v;if(z===E&&q===M)return l;if(z>=q)return l.clear();for(var te=l._level,re=l._root,oe=0;z+oe<0;)re=new nn(re&&re.array.length?[void 0,re]:[],x),te+=Y,oe+=1<<te;oe&&(z+=oe,E+=oe,q+=oe,M+=oe);for(var Ne=Hr(M),ke=Hr(q);ke>=1<<te+Y;)re=new nn(re&&re.array.length?[re]:[],x),te+=Y;var $e=l._tail,lt=ke<Ne?zr(l,q-1):ke>Ne?new nn([],x):$e;if($e&&ke>Ne&&z<M&&$e.array.length){re=An(re,x);for(var Ht=re,Sr=te;Sr>Y;Sr-=Y){var Vr=Ne>>>Sr&J;Ht=Ht.array[Vr]=An(Ht.array[Vr],x)}Ht.array[Ne>>>Y&J]=$e}if(q<M&&(lt=lt&&lt.removeAfter(x,0,q)),z>=ke)z-=ke,q-=ke,te=Y,re=null,lt=lt&&lt.removeBefore(x,0,z);else if(z>E||ke<Ne){for(oe=0;re;){var Ao=z>>>te&J;if(Ao!==ke>>>te&J)break;Ao&&(oe+=(1<<te)*Ao),te-=Y,re=re.array[Ao]}re&&z>E&&(re=re.removeBefore(x,te,z-oe)),re&&ke<Ne&&(re=re.removeAfter(x,te,ke-oe)),oe&&(z-=oe,q-=oe)}return l.__ownerID?(l.size=q-z,l._origin=z,l._capacity=q,l._level=te,l._root=re,l._tail=lt,l.__hash=void 0,l.__altered=!0,l):gn(z,q,te,re,lt)}function so(l,f,v){for(var x=[],E=0,M=0;M<v.length;M++){var z=v[M],q=g(z);q.size>E&&(E=q.size),b(z)||(q=q.map(function(te){return tn(te)})),x.push(q)}return E>l.size&&(l=l.setSize(E)),p(l,f,x)}function Hr(l){return l<W?0:l-1>>>Y<<Y}a(Xt,at);function Xt(l){return l==null?yt():ir(l)?l:yt().withMutations(function(f){var v=c(l);mn(v.size),v.forEach(function(x,E){return f.set(E,x)})})}Xt.of=function(){return this(arguments)},Xt.prototype.toString=function(){return this.__toString("OrderedMap {","}")},Xt.prototype.get=function(l,f){var v=this._map.get(l);return v!==void 0?this._list.get(v)[1]:f},Xt.prototype.clear=function(){return this.size===0?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):yt()},Xt.prototype.set=function(l,f){return _r(this,l,f)},Xt.prototype.remove=function(l){return _r(this,l,le)},Xt.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},Xt.prototype.__iterate=function(l,f){var v=this;return this._list.__iterate(function(x){return x&&l(x[1],x[0],v)},f)},Xt.prototype.__iterator=function(l,f){return this._list.fromEntrySeq().__iterator(l,f)},Xt.prototype.__ensureOwner=function(l){if(l===this.__ownerID)return this;var f=this._map.__ensureOwner(l),v=this._list.__ensureOwner(l);return l?ai(f,v,l,this.__hash):(this.__ownerID=l,this._map=f,this._list=v,this)};function ir(l){return Cr(l)&&L(l)}Xt.isOrderedMap=ir,Xt.prototype[j]=!0,Xt.prototype[G]=Xt.prototype.remove;function ai(l,f,v,x){var E=Object.create(Xt.prototype);return E.size=l?l.size:0,E._map=l,E._list=f,E.__ownerID=v,E.__hash=x,E}var zi;function yt(){return zi||(zi=ai(Wt(),vn()))}function _r(l,f,v){var x=l._map,E=l._list,M=x.get(f),z=M!==void 0,q,te;if(v===le){if(!z)return l;E.size>=W&&E.size>=x.size*2?(te=E.filter(function(re,oe){return re!==void 0&&M!==oe}),q=te.toKeyedSeq().map(function(re){return re[0]}).flip().toMap(),l.__ownerID&&(q.__ownerID=te.__ownerID=l.__ownerID)):(q=x.remove(f),te=M===E.size-1?E.pop():E.set(M,void 0))}else if(z){if(v===E.get(M)[1])return l;q=x,te=E.set(M,[f,v])}else q=x.set(f,E.size),te=E.set(E.size,[f,v]);return l.__ownerID?(l.size=q.size,l._map=q,l._list=te,l.__hash=void 0,l):ai(q,te)}a(rn,st);function rn(l,f){this._iter=l,this._useKeys=f,this.size=l.size}rn.prototype.get=function(l,f){return this._iter.get(l,f)},rn.prototype.has=function(l){return this._iter.has(l)},rn.prototype.valueSeq=function(){return this._iter.valueSeq()},rn.prototype.reverse=function(){var l=this,f=ui(this,!0);return this._useKeys||(f.valueSeq=function(){return l._iter.toSeq().reverse()}),f},rn.prototype.map=function(l,f){var v=this,x=co(this,l,f);return this._useKeys||(x.valueSeq=function(){return v._iter.toSeq().map(l,f)}),x},rn.prototype.__iterate=function(l,f){var v=this,x;return this._iter.__iterate(this._useKeys?function(E,M){return l(E,M,v)}:(x=f?Ur(this):0,function(E){return l(E,f?--x:x++,v)}),f)},rn.prototype.__iterator=function(l,f){if(this._useKeys)return this._iter.__iterator(l,f);var v=this._iter.__iterator(ae,f),x=f?Ur(this):0;return new qe(function(){var E=v.next();return E.done?E:Te(l,f?--x:x++,E.value,E)})},rn.prototype[j]=!0,a(kn,ut);function kn(l){this._iter=l,this.size=l.size}kn.prototype.includes=function(l){return this._iter.includes(l)},kn.prototype.__iterate=function(l,f){var v=this,x=0;return this._iter.__iterate(function(E){return l(E,x++,v)},f)},kn.prototype.__iterator=function(l,f){var v=this._iter.__iterator(ae,f),x=0;return new qe(function(){var E=v.next();return E.done?E:Te(l,x++,E.value,E)})},a(yn,Pt);function yn(l){this._iter=l,this.size=l.size}yn.prototype.has=function(l){return this._iter.includes(l)},yn.prototype.__iterate=function(l,f){var v=this;return this._iter.__iterate(function(x){return l(x,x,v)},f)},yn.prototype.__iterator=function(l,f){var v=this._iter.__iterator(ae,f);return new qe(function(){var x=v.next();return x.done?x:Te(l,x.value,x.value,x)})},a(Ar,st);function Ar(l){this._iter=l,this.size=l.size}Ar.prototype.entrySeq=function(){return this._iter.toSeq()},Ar.prototype.__iterate=function(l,f){var v=this;return this._iter.__iterate(function(x){if(x){si(x);var E=b(x);return l(E?x.get(1):x[1],E?x.get(0):x[0],v)}},f)},Ar.prototype.__iterator=function(l,f){var v=this._iter.__iterator(ae,f);return new qe(function(){for(;;){var x=v.next();if(x.done)return x;var E=x.value;if(E){si(E);var M=b(E);return Te(l,M?E.get(0):E[0],M?E.get(1):E[1],x)}}})},kn.prototype.cacheResult=rn.prototype.cacheResult=yn.prototype.cacheResult=Ar.prototype.cacheResult=Ko;function li(l){var f=Zn(l);return f._iter=l,f.size=l.size,f.flip=function(){return l},f.reverse=function(){var v=l.reverse.apply(this);return v.flip=function(){return l.reverse()},v},f.has=function(v){return l.includes(v)},f.includes=function(v){return l.has(v)},f.cacheResult=Ko,f.__iterateUncached=function(v,x){var E=this;return l.__iterate(function(M,z){return v(z,M,E)!==!1},x)},f.__iteratorUncached=function(v,x){if(v===Me){var E=l.__iterator(v,x);return new qe(function(){var M=E.next();if(!M.done){var z=M.value[0];M.value[0]=M.value[1],M.value[1]=z}return M})}return l.__iterator(v===ae?fe:ae,x)},f}function co(l,f,v){var x=Zn(l);return x.size=l.size,x.has=function(E){return l.has(E)},x.get=function(E,M){var z=l.get(E,le);return z===le?M:f.call(v,z,E,l)},x.__iterateUncached=function(E,M){var z=this;return l.__iterate(function(q,te,re){return E(f.call(v,q,te,re),te,z)!==!1},M)},x.__iteratorUncached=function(E,M){var z=l.__iterator(Me,M);return new qe(function(){var q=z.next();if(q.done)return q;var te=q.value,re=te[0];return Te(E,re,f.call(v,te[1],re,l),q)})},x}function ui(l,f){var v=Zn(l);return v._iter=l,v.size=l.size,v.reverse=function(){return l},l.flip&&(v.flip=function(){var x=li(l);return x.reverse=function(){return l.flip()},x}),v.get=function(x,E){return l.get(f?x:-1-x,E)},v.has=function(x){return l.has(f?x:-1-x)},v.includes=function(x){return l.includes(x)},v.cacheResult=Ko,v.__iterate=function(x,E){var M=this;return l.__iterate(function(z,q){return x(z,q,M)},!E)},v.__iterator=function(x,E){return l.__iterator(x,!E)},v}function Hi(l,f,v,x){var E=Zn(l);return x&&(E.has=function(M){var z=l.get(M,le);return z!==le&&!!f.call(v,z,M,l)},E.get=function(M,z){var q=l.get(M,le);return q!==le&&f.call(v,q,M,l)?q:z}),E.__iterateUncached=function(M,z){var q=this,te=0;return l.__iterate(function(re,oe,Ne){if(f.call(v,re,oe,Ne))return te++,M(re,x?oe:te-1,q)},z),te},E.__iteratorUncached=function(M,z){var q=l.__iterator(Me,z),te=0;return new qe(function(){for(;;){var re=q.next();if(re.done)return re;var oe=re.value,Ne=oe[0],ke=oe[1];if(f.call(v,ke,Ne,l))return Te(M,x?Ne:te++,ke,re)}})},E}function ma(l,f,v){var x=at().asMutable();return l.__iterate(function(E,M){x.update(f.call(v,E,M,l),0,function(z){return z+1})}),x.asImmutable()}function qr(l,f,v){var x=w(l),E=(L(l)?Xt():at()).asMutable();l.__iterate(function(z,q){E.update(f.call(v,z,q,l),function(te){return te=te||[],te.push(x?[q,z]:z),te})});var M=Vi(l);return E.map(function(z){return ft(l,M(z))})}function Ai(l,f,v,x){var E=l.size;if(f!==void 0&&(f=f|0),v!==void 0&&(v=v|0),je(f,v,E))return l;var M=Ce(f,E),z=He(v,E);if(M!==M||z!==z)return Ai(l.toSeq().cacheResult(),f,v,x);var q=z-M,te;q===q&&(te=q<0?0:q);var re=Zn(l);return re.size=te===0?te:l.size&&te||void 0,!x&&Kt(l)&&te>=0&&(re.get=function(oe,Ne){return oe=ge(this,oe),oe>=0&&oe<te?l.get(oe+M,Ne):Ne}),re.__iterateUncached=function(oe,Ne){var ke=this;if(te===0)return 0;if(Ne)return this.cacheResult().__iterate(oe,Ne);var $e=0,lt=!0,Ht=0;return l.__iterate(function(Sr,Vr){if(!(lt&&(lt=$e++<M)))return Ht++,oe(Sr,x?Vr:Ht-1,ke)!==!1&&Ht!==te}),Ht},re.__iteratorUncached=function(oe,Ne){if(te!==0&&Ne)return this.cacheResult().__iterator(oe,Ne);var ke=te!==0&&l.__iterator(oe,Ne),$e=0,lt=0;return new qe(function(){for(;$e++<M;)ke.next();if(++lt>te)return dt();var Ht=ke.next();return x||oe===ae?Ht:oe===fe?Te(oe,lt-1,void 0,Ht):Te(oe,lt-1,Ht.value[1],Ht)})},re}function Po(l,f,v){var x=Zn(l);return x.__iterateUncached=function(E,M){var z=this;if(M)return this.cacheResult().__iterate(E,M);var q=0;return l.__iterate(function(te,re,oe){return f.call(v,te,re,oe)&&++q&&E(te,re,z)}),q},x.__iteratorUncached=function(E,M){var z=this;if(M)return this.cacheResult().__iterator(E,M);var q=l.__iterator(Me,M),te=!0;return new qe(function(){if(!te)return dt();var re=q.next();if(re.done)return re;var oe=re.value,Ne=oe[0],ke=oe[1];return f.call(v,ke,Ne,z)?E===Me?re:Te(E,Ne,ke,re):(te=!1,dt())})},x}function ga(l,f,v,x){var E=Zn(l);return E.__iterateUncached=function(M,z){var q=this;if(z)return this.cacheResult().__iterate(M,z);var te=!0,re=0;return l.__iterate(function(oe,Ne,ke){if(!(te&&(te=f.call(v,oe,Ne,ke))))return re++,M(oe,x?Ne:re-1,q)}),re},E.__iteratorUncached=function(M,z){var q=this;if(z)return this.cacheResult().__iterator(M,z);var te=l.__iterator(Me,z),re=!0,oe=0;return new qe(function(){var Ne,ke,$e;do{if(Ne=te.next(),Ne.done)return x||M===ae?Ne:M===fe?Te(M,oe++,void 0,Ne):Te(M,oe++,Ne.value[1],Ne);var lt=Ne.value;ke=lt[0],$e=lt[1],re&&(re=f.call(v,$e,ke,q))}while(re);return M===Me?Ne:Te(M,ke,$e,Ne)})},E}function Ei(l,f){var v=w(l),x=[l].concat(f).map(function(z){return b(z)?v&&(z=c(z)):z=v?Ye(z):ht(Array.isArray(z)?z:[z]),z}).filter(function(z){return z.size!==0});if(x.length===0)return l;if(x.length===1){var E=x[0];if(E===l||v&&w(E)||D(l)&&D(E))return E}var M=new Bt(x);return v?M=M.toKeyedSeq():D(l)||(M=M.toSetSeq()),M=M.flatten(!0),M.size=x.reduce(function(z,q){if(z!==void 0){var te=q.size;if(te!==void 0)return z+te}},0),M}function qi(l,f,v){var x=Zn(l);return x.__iterateUncached=function(E,M){var z=0,q=!1;function te(re,oe){var Ne=this;re.__iterate(function(ke,$e){return(!f||oe<f)&&b(ke)?te(ke,oe+1):E(ke,v?$e:z++,Ne)===!1&&(q=!0),!q},M)}return te(l,0),z},x.__iteratorUncached=function(E,M){var z=l.__iterator(E,M),q=[],te=0;return new qe(function(){for(;z;){var re=z.next();if(re.done!==!1){z=q.pop();continue}var oe=re.value;if(E===Me&&(oe=oe[1]),(!f||q.length<f)&&b(oe))q.push(z),z=oe.__iterator(E,M);else return v?re:Te(E,te++,oe,re)}return dt()})},x}function fo(l,f,v){var x=Vi(l);return l.toSeq().map(function(E,M){return x(f.call(v,E,M,l))}).flatten(!0)}function Nn(l,f){var v=Zn(l);return v.size=l.size&&l.size*2-1,v.__iterateUncached=function(x,E){var M=this,z=0;return l.__iterate(function(q,te){return(!z||x(f,z++,M)!==!1)&&x(q,z++,M)!==!1},E),z},v.__iteratorUncached=function(x,E){var M=l.__iterator(ae,E),z=0,q;return new qe(function(){return(!q||z%2)&&(q=M.next(),q.done)?q:z%2?Te(x,z++,f):Te(x,z++,q.value,q)})},v}function or(l,f,v){f||(f=Ro);var x=w(l),E=0,M=l.toSeq().map(function(z,q){return[q,z,E++,v?v(z,q,l):z]}).toArray();return M.sort(function(z,q){return f(z[3],q[3])||z[2]-q[2]}).forEach(x?function(z,q){M[q].length=2}:function(z,q){M[q]=z[1]}),x?st(M):D(l)?ut(M):Pt(M)}function wr(l,f,v){if(f||(f=Ro),v){var x=l.toSeq().map(function(E,M){return[E,v(E,M,l)]}).reduce(function(E,M){return Ui(f,E[1],M[1])?M:E});return x&&x[0]}else return l.reduce(function(E,M){return Ui(f,E,M)?M:E})}function Ui(l,f,v){var x=l(v,f);return x===0&&v!==f&&(v==null||v!==v)||x>0}function po(l,f,v){var x=Zn(l);return x.size=new Bt(v).map(function(E){return E.size}).min(),x.__iterate=function(E,M){for(var z=this.__iterator(ae,M),q,te=0;!(q=z.next()).done&&E(q.value,te++,this)!==!1;);return te},x.__iteratorUncached=function(E,M){var z=v.map(function(re){return re=u(re),Ft(M?re.reverse():re)}),q=0,te=!1;return new qe(function(){var re;return te||(re=z.map(function(oe){return oe.next()}),te=re.some(function(oe){return oe.done})),te?dt():Te(E,q++,f.apply(null,re.map(function(oe){return oe.value})))})},x}function ft(l,f){return Kt(l)?f:l.constructor(f)}function si(l){if(l!==Object(l))throw new TypeError("Expected [K, V] tuple: "+l)}function Ur(l){return mn(l.size),he(l)}function Vi(l){return w(l)?c:D(l)?g:y}function Zn(l){return Object.create((w(l)?st:D(l)?ut:Pt).prototype)}function Ko(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):Xe.prototype.cacheResult.call(this)}function Ro(l,f){return l>f?1:l<f?-1:0}function Pn(l){var f=Ft(l);if(!f){if(!en(l))throw new TypeError("Expected iterable or array-like: "+l);f=Ft(u(l))}return f}a(bn,Qn);function bn(l,f){var v,x=function(M){if(M instanceof x)return M;if(!(this instanceof x))return new x(M);if(!v){v=!0;var z=Object.keys(l);jo(E,z),E.size=z.length,E._name=f,E._keys=z,E._defaultValues=l}this._map=at(M)},E=x.prototype=Object.create(on);return E.constructor=x,x}bn.prototype.toString=function(){return this.__toString(va(this)+" {","}")},bn.prototype.has=function(l){return this._defaultValues.hasOwnProperty(l)},bn.prototype.get=function(l,f){if(!this.has(l))return f;var v=this._defaultValues[l];return this._map?this._map.get(l,v):v},bn.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var l=this.constructor;return l._empty||(l._empty=Io(this,Wt()))},bn.prototype.set=function(l,f){if(!this.has(l))throw new Error('Cannot set unknown key "'+l+'" on '+va(this));var v=this._map&&this._map.set(l,f);return this.__ownerID||v===this._map?this:Io(this,v)},bn.prototype.remove=function(l){if(!this.has(l))return this;var f=this._map&&this._map.remove(l);return this.__ownerID||f===this._map?this:Io(this,f)},bn.prototype.wasAltered=function(){return this._map.wasAltered()},bn.prototype.__iterator=function(l,f){var v=this;return c(this._defaultValues).map(function(x,E){return v.get(E)}).__iterator(l,f)},bn.prototype.__iterate=function(l,f){var v=this;return c(this._defaultValues).map(function(x,E){return v.get(E)}).__iterate(l,f)},bn.prototype.__ensureOwner=function(l){if(l===this.__ownerID)return this;var f=this._map&&this._map.__ensureOwner(l);return l?Io(this,f,l):(this.__ownerID=l,this._map=f,this)};var on=bn.prototype;on[G]=on.remove,on.deleteIn=on.removeIn=tt.removeIn,on.merge=tt.merge,on.mergeWith=tt.mergeWith,on.mergeIn=tt.mergeIn,on.mergeDeep=tt.mergeDeep,on.mergeDeepWith=tt.mergeDeepWith,on.mergeDeepIn=tt.mergeDeepIn,on.setIn=tt.setIn,on.update=tt.update,on.updateIn=tt.updateIn,on.withMutations=tt.withMutations,on.asMutable=tt.asMutable,on.asImmutable=tt.asImmutable;function Io(l,f,v){var x=Object.create(Object.getPrototypeOf(l));return x._map=f,x.__ownerID=v,x}function va(l){return l._name||l.constructor.name||"Record"}function jo(l,f){try{f.forEach(Ja.bind(void 0,l))}catch{}}function Ja(l,f){Object.defineProperty(l,f,{get:function(){return this.get(f)},set:function(v){fn(this.__ownerID,"Cannot set on an immutable record."),this.set(f,v)}})}a(Dt,er);function Dt(l){return l==null?Ho():Qi(l)&&!L(l)?l:Ho().withMutations(function(f){var v=y(l);mn(v.size),v.forEach(function(x){return f.add(x)})})}Dt.of=function(){return this(arguments)},Dt.fromKeys=function(l){return this(c(l).keySeq())},Dt.prototype.toString=function(){return this.__toString("Set {","}")},Dt.prototype.has=function(l){return this._map.has(l)},Dt.prototype.add=function(l){return To(this,this._map.set(l,!0))},Dt.prototype.remove=function(l){return To(this,this._map.remove(l))},Dt.prototype.clear=function(){return To(this,this._map.clear())},Dt.prototype.union=function(){var l=i.call(arguments,0);return l=l.filter(function(f){return f.size!==0}),l.length===0?this:this.size===0&&!this.__ownerID&&l.length===1?this.constructor(l[0]):this.withMutations(function(f){for(var v=0;v<l.length;v++)y(l[v]).forEach(function(x){return f.add(x)})})},Dt.prototype.intersect=function(){var l=i.call(arguments,0);if(l.length===0)return this;l=l.map(function(v){return y(v)});var f=this;return this.withMutations(function(v){f.forEach(function(x){l.every(function(E){return E.includes(x)})||v.remove(x)})})},Dt.prototype.subtract=function(){var l=i.call(arguments,0);if(l.length===0)return this;l=l.map(function(v){return y(v)});var f=this;return this.withMutations(function(v){f.forEach(function(x){l.some(function(E){return E.includes(x)})&&v.remove(x)})})},Dt.prototype.merge=function(){return this.union.apply(this,arguments)},Dt.prototype.mergeWith=function(l){var f=i.call(arguments,1);return this.union.apply(this,f)},Dt.prototype.sort=function(l){return h(or(this,l))},Dt.prototype.sortBy=function(l,f){return h(or(this,f,l))},Dt.prototype.wasAltered=function(){return this._map.wasAltered()},Dt.prototype.__iterate=function(l,f){var v=this;return this._map.__iterate(function(x,E){return l(E,E,v)},f)},Dt.prototype.__iterator=function(l,f){return this._map.map(function(v,x){return x}).__iterator(l,f)},Dt.prototype.__ensureOwner=function(l){if(l===this.__ownerID)return this;var f=this._map.__ensureOwner(l);return l?this.__make(f,l):(this.__ownerID=l,this._map=f,this)};function Qi(l){return!!(l&&l[ho])}Dt.isSet=Qi;var ho="@@__IMMUTABLE_SET__@@",Kn=Dt.prototype;Kn[ho]=!0,Kn[G]=Kn.remove,Kn.mergeDeep=Kn.merge,Kn.mergeDeepWith=Kn.mergeWith,Kn.withMutations=tt.withMutations,Kn.asMutable=tt.asMutable,Kn.asImmutable=tt.asImmutable,Kn.__empty=Ho,Kn.__make=mo;function To(l,f){return l.__ownerID?(l.size=f.size,l._map=f,l):f===l._map?l:f.size===0?l.__empty():l.__make(f)}function mo(l,f){var v=Object.create(Kn);return v.size=l?l.size:0,v._map=l,v.__ownerID=f,v}var zo;function Ho(){return zo||(zo=mo(Wt()))}a(h,Dt);function h(l){return l==null?V():_(l)?l:V().withMutations(function(f){var v=y(l);mn(v.size),v.forEach(function(x){return f.add(x)})})}h.of=function(){return this(arguments)},h.fromKeys=function(l){return this(c(l).keySeq())},h.prototype.toString=function(){return this.__toString("OrderedSet {","}")};function _(l){return Qi(l)&&L(l)}h.isOrderedSet=_;var N=h.prototype;N[j]=!0,N.__empty=V,N.__make=C;function C(l,f){var v=Object.create(N);return v.size=l?l.size:0,v._map=l,v.__ownerID=f,v}var Z;function V(){return Z||(Z=C(yt()))}a(ne,Xn);function ne(l){return l==null?_n():pe(l)?l:_n().unshiftAll(l)}ne.of=function(){return this(arguments)},ne.prototype.toString=function(){return this.__toString("Stack [","]")},ne.prototype.get=function(l,f){var v=this._head;for(l=ge(this,l);v&&l--;)v=v.next;return v?v.value:f},ne.prototype.peek=function(){return this._head&&this._head.value},ne.prototype.push=function(){if(arguments.length===0)return this;for(var l=this.size+arguments.length,f=this._head,v=arguments.length-1;v>=0;v--)f={value:arguments[v],next:f};return this.__ownerID?(this.size=l,this._head=f,this.__hash=void 0,this.__altered=!0,this):Ue(l,f)},ne.prototype.pushAll=function(l){if(l=g(l),l.size===0)return this;mn(l.size);var f=this.size,v=this._head;return l.reverse().forEach(function(x){f++,v={value:x,next:v}}),this.__ownerID?(this.size=f,this._head=v,this.__hash=void 0,this.__altered=!0,this):Ue(f,v)},ne.prototype.pop=function(){return this.slice(1)},ne.prototype.unshift=function(){return this.push.apply(this,arguments)},ne.prototype.unshiftAll=function(l){return this.pushAll(l)},ne.prototype.shift=function(){return this.pop.apply(this,arguments)},ne.prototype.clear=function(){return this.size===0?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):_n()},ne.prototype.slice=function(l,f){if(je(l,f,this.size))return this;var v=Ce(l,this.size),x=He(f,this.size);if(x!==this.size)return Xn.prototype.slice.call(this,l,f);for(var E=this.size-v,M=this._head;v--;)M=M.next;return this.__ownerID?(this.size=E,this._head=M,this.__hash=void 0,this.__altered=!0,this):Ue(E,M)},ne.prototype.__ensureOwner=function(l){return l===this.__ownerID?this:l?Ue(this.size,this._head,l,this.__hash):(this.__ownerID=l,this.__altered=!1,this)},ne.prototype.__iterate=function(l,f){if(f)return this.reverse().__iterate(l);for(var v=0,x=this._head;x&&l(x.value,v++,this)!==!1;)x=x.next;return v},ne.prototype.__iterator=function(l,f){if(f)return this.reverse().__iterator(l);var v=0,x=this._head;return new qe(function(){if(x){var E=x.value;return x=x.next,Te(l,v++,E)}return dt()})};function pe(l){return!!(l&&l[Ae])}ne.isStack=pe;var Ae="@@__IMMUTABLE_STACK__@@",Ze=ne.prototype;Ze[Ae]=!0,Ze.withMutations=tt.withMutations,Ze.asMutable=tt.asMutable,Ze.asImmutable=tt.asImmutable,Ze.wasAltered=tt.wasAltered;function Ue(l,f,v,x){var E=Object.create(Ze);return E.size=l,E._head=f,E.__ownerID=v,E.__hash=x,E.__altered=!1,E}var Mt;function _n(){return Mt||(Mt=Ue(0))}function Zt(l,f){var v=function(x){l.prototype[x]=f[x]};return Object.keys(f).forEach(v),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(f).forEach(v),l}u.Iterator=qe,Zt(u,{toArray:function(){mn(this.size);var l=new Array(this.size||0);return this.valueSeq().__iterate(function(f,v){l[v]=f}),l},toIndexedSeq:function(){return new kn(this)},toJS:function(){return this.toSeq().map(function(l){return l&&typeof l.toJS=="function"?l.toJS():l}).__toJS()},toJSON:function(){return this.toSeq().map(function(l){return l&&typeof l.toJSON=="function"?l.toJSON():l}).__toJS()},toKeyedSeq:function(){return new rn(this,!0)},toMap:function(){return at(this.toKeyedSeq())},toObject:function(){mn(this.size);var l={};return this.__iterate(function(f,v){l[v]=f}),l},toOrderedMap:function(){return Xt(this.toKeyedSeq())},toOrderedSet:function(){return h(w(this)?this.valueSeq():this)},toSet:function(){return Dt(w(this)?this.valueSeq():this)},toSetSeq:function(){return new yn(this)},toSeq:function(){return D(this)?this.toIndexedSeq():w(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return ne(w(this)?this.valueSeq():this)},toList:function(){return Ee(w(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(l,f){return this.size===0?l+f:l+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+f},concat:function(){var l=i.call(arguments,0);return ft(this,Ei(this,l))},includes:function(l){return this.some(function(f){return jt(f,l)})},entries:function(){return this.__iterator(Me)},every:function(l,f){mn(this.size);var v=!0;return this.__iterate(function(x,E,M){if(!l.call(f,x,E,M))return v=!1,!1}),v},filter:function(l,f){return ft(this,Hi(this,l,f,!0))},find:function(l,f,v){var x=this.findEntry(l,f);return x?x[1]:v},findEntry:function(l,f){var v;return this.__iterate(function(x,E,M){if(l.call(f,x,E,M))return v=[E,x],!1}),v},findLastEntry:function(l,f){return this.toSeq().reverse().findEntry(l,f)},forEach:function(l,f){return mn(this.size),this.__iterate(f?l.bind(f):l)},join:function(l){mn(this.size),l=l!==void 0?""+l:",";var f="",v=!0;return this.__iterate(function(x){v?v=!1:f+=l,f+=x!=null?x.toString():""}),f},keys:function(){return this.__iterator(fe)},map:function(l,f){return ft(this,co(this,l,f))},reduce:function(l,f,v){mn(this.size);var x,E;return arguments.length<2?E=!0:x=f,this.__iterate(function(M,z,q){E?(E=!1,x=M):x=l.call(v,x,M,z,q)}),x},reduceRight:function(l,f,v){var x=this.toKeyedSeq().reverse();return x.reduce.apply(x,arguments)},reverse:function(){return ft(this,ui(this,!0))},slice:function(l,f){return ft(this,Ai(this,l,f,!0))},some:function(l,f){return!this.every(Wa(l),f)},sort:function(l){return ft(this,or(this,l))},values:function(){return this.__iterator(ae)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return this.size!==void 0?this.size===0:!this.some(function(){return!0})},count:function(l,f){return he(l?this.toSeq().filter(l,f):this)},countBy:function(l,f){return ma(this,l,f)},equals:function(l){return _i(this,l)},entrySeq:function(){var l=this;if(l._cache)return new Bt(l._cache);var f=l.toSeq().map(fi).toIndexedSeq();return f.fromEntrySeq=function(){return l.toSeq()},f},filterNot:function(l,f){return this.filter(Wa(l),f)},findLast:function(l,f,v){return this.toKeyedSeq().reverse().find(l,f,v)},first:function(){return this.find(De)},flatMap:function(l,f){return ft(this,fo(this,l,f))},flatten:function(l){return ft(this,qi(this,l,!0))},fromEntrySeq:function(){return new Ar(this)},get:function(l,f){return this.find(function(v,x){return jt(x,l)},void 0,f)},getIn:function(l,f){for(var v=this,x=Pn(l),E;!(E=x.next()).done;){var M=E.value;if(v=v&&v.get?v.get(M,le):le,v===le)return f}return v},groupBy:function(l,f){return qr(this,l,f)},has:function(l){return this.get(l,le)!==le},hasIn:function(l){return this.getIn(l,le)!==le},isSubset:function(l){return l=typeof l.includes=="function"?l:u(l),this.every(function(f){return l.includes(f)})},isSuperset:function(l){return l=typeof l.isSubset=="function"?l:u(l),l.isSubset(this)},keySeq:function(){return this.toSeq().map(ya).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},max:function(l){return wr(this,l)},maxBy:function(l,f){return wr(this,f,l)},min:function(l){return wr(this,l?ps(l):Yl)},minBy:function(l,f){return wr(this,f?ps(f):Yl,l)},rest:function(){return this.slice(1)},skip:function(l){return this.slice(Math.max(0,l))},skipLast:function(l){return ft(this,this.toSeq().reverse().skip(l).reverse())},skipWhile:function(l,f){return ft(this,ga(this,l,f,!0))},skipUntil:function(l,f){return this.skipWhile(Wa(l),f)},sortBy:function(l,f){return ft(this,or(this,f,l))},take:function(l){return this.slice(0,Math.max(0,l))},takeLast:function(l){return ft(this,this.toSeq().reverse().take(l).reverse())},takeWhile:function(l,f){return ft(this,Po(this,l,f))},takeUntil:function(l,f){return this.takeWhile(Wa(l),f)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=ba(this))}});var xt=u.prototype;xt[T]=!0,xt[Ct]=xt.values,xt.__toJS=xt.toArray,xt.__toStringMapper=hs,xt.inspect=xt.toSource=function(){return this.toString()},xt.chain=xt.flatMap,xt.contains=xt.includes,function(){try{Object.defineProperty(xt,"length",{get:function(){if(!u.noLengthWarning){var l;try{throw new Error}catch(f){l=f.stack}if(l.indexOf("_wrapObject")===-1)return console&&console.warn&&console.warn("iterable.length has been deprecated, use iterable.size or iterable.count(). This warning will become a silent error in a future version. "+l),this.size}}})}catch{}}(),Zt(c,{flip:function(){return ft(this,li(this))},findKey:function(l,f){var v=this.findEntry(l,f);return v&&v[0]},findLastKey:function(l,f){return this.toSeq().reverse().findKey(l,f)},keyOf:function(l){return this.findKey(function(f){return jt(f,l)})},lastKeyOf:function(l){return this.findLastKey(function(f){return jt(f,l)})},mapEntries:function(l,f){var v=this,x=0;return ft(this,this.toSeq().map(function(E,M){return l.call(f,[M,E],x++,v)}).fromEntrySeq())},mapKeys:function(l,f){var v=this;return ft(this,this.toSeq().flip().map(function(x,E){return l.call(f,x,E,v)}).flip())}});var ci=c.prototype;ci[F]=!0,ci[Ct]=xt.entries,ci.__toJS=xt.toObject,ci.__toStringMapper=function(l,f){return JSON.stringify(f)+": "+hs(l)},Zt(g,{toKeyedSeq:function(){return new rn(this,!1)},filter:function(l,f){return ft(this,Hi(this,l,f,!1))},findIndex:function(l,f){var v=this.findEntry(l,f);return v?v[0]:-1},indexOf:function(l){var f=this.toKeyedSeq().keyOf(l);return f===void 0?-1:f},lastIndexOf:function(l){var f=this.toKeyedSeq().reverse().keyOf(l);return f===void 0?-1:f},reverse:function(){return ft(this,ui(this,!1))},slice:function(l,f){return ft(this,Ai(this,l,f,!1))},splice:function(l,f){var v=arguments.length;if(f=Math.max(f|0,0),v===0||v===2&&!f)return this;l=Ce(l,l<0?this.count():this.size);var x=this.slice(0,l);return ft(this,v===1?x:x.concat(we(arguments,2),this.slice(l+f)))},findLastIndex:function(l,f){var v=this.toKeyedSeq().findLastKey(l,f);return v===void 0?-1:v},first:function(){return this.get(0)},flatten:function(l){return ft(this,qi(this,l,!1))},get:function(l,f){return l=ge(this,l),l<0||this.size===1/0||this.size!==void 0&&l>this.size?f:this.find(function(v,x){return x===l},void 0,f)},has:function(l){return l=ge(this,l),l>=0&&(this.size!==void 0?this.size===1/0||l<this.size:this.indexOf(l)!==-1)},interpose:function(l){return ft(this,Nn(this,l))},interleave:function(){var l=[this].concat(we(arguments)),f=po(this.toSeq(),ut.of,l),v=f.flatten(!0);return f.size&&(v.size=f.size*l.length),ft(this,v)},last:function(){return this.get(-1)},skipWhile:function(l,f){return ft(this,ga(this,l,f,!1))},zip:function(){var l=[this].concat(we(arguments));return ft(this,po(this,ms,l))},zipWith:function(l){var f=we(arguments);return f[0]=this,ft(this,po(this,l,f))}}),g.prototype[R]=!0,g.prototype[j]=!0,Zt(y,{get:function(l,f){return this.has(l)?l:f},includes:function(l){return this.has(l)},keySeq:function(){return this.valueSeq()}}),y.prototype.has=xt.includes,Zt(st,c.prototype),Zt(ut,g.prototype),Zt(Pt,y.prototype),Zt(Qn,c.prototype),Zt(Xn,g.prototype),Zt(er,y.prototype);function ya(l,f){return f}function fi(l,f){return[f,l]}function Wa(l){return function(){return!l.apply(this,arguments)}}function ps(l){return function(){return-l.apply(this,arguments)}}function hs(l){return typeof l=="string"?JSON.stringify(l):l}function ms(){return we(arguments)}function Yl(l,f){return l<f?1:l>f?-1:0}function ba(l){if(l.size===1/0)return 0;var f=L(l),v=w(l),x=f?1:0,E=l.__iterate(v?f?function(M,z){x=31*x+gs(Tt(M),Tt(z))|0}:function(M,z){x=x+gs(Tt(M),Tt(z))|0}:f?function(M){x=31*x+Tt(M)|0}:function(M){x=x+Tt(M)|0});return _a(E,x)}function _a(l,f){return f=En(f,3432918353),f=En(f<<15|f>>>-15,461845907),f=En(f<<13|f>>>-13,5),f=(f+3864292196|0)^l,f=En(f^f>>>16,2246822507),f=En(f^f>>>13,3266489909),f=Mr(f^f>>>16),f}function gs(l,f){return l^f+2654435769+(l<<6)+(l>>2)|0}var Ga={Iterable:u,Seq:Xe,Collection:it,Map:at,OrderedMap:Xt,List:Ee,Stack:ne,Set:Dt,OrderedSet:h,Record:bn,Range:qt,Repeat:Jt,is:jt,fromJS:tn};return Ga})})(S_);var x_=mt,E_=x_.OrderedMap,k_={createFromArray:function(t){return E_(t.map(function(r){return[r.getKey(),r]}))}},Sl=k_;function N_(t,r){t.prototype=Object.create(r.prototype),t.prototype.constructor=t,t.__proto__=r}var hc=mt,mc=hc.Map,gc=hc.OrderedSet,O_=hc.Record,bp=gc(),_p={style:bp,entity:null},D_=O_(_p),vc=function(t){N_(r,t);function r(){return t.apply(this,arguments)||this}var i=r.prototype;return i.getStyle=function(){return this.get("style")},i.getEntity=function(){return this.get("entity")},i.hasStyle=function(a){return this.getStyle().includes(a)},r.applyStyle=function(a,u){var c=a.set("style",a.getStyle().add(u));return r.create(c)},r.removeStyle=function(a,u){var c=a.set("style",a.getStyle().remove(u));return r.create(c)},r.applyEntity=function(a,u){var c=a.getEntity()===u?a:a.set("entity",u);return r.create(c)},r.create=function(a){if(!a)return yc;var u={style:bp,entity:null},c=mc(u).merge(a),g=bc.get(c);if(g)return g;var y=new r(c);return bc=bc.set(c,y),y},r.fromJS=function(a){var u=a.style,c=a.entity;return new r({style:Array.isArray(u)?gc(u):u,entity:Array.isArray(c)?gc(c):c})},r}(D_),yc=new vc,bc=mc([[mc(_p),yc]]);vc.EMPTY=yc;var $r=vc;function M_(t,r,i,a){if(t.size){var u=0;t.reduce(function(c,g,y){return r(c,g)||(i(c)&&a(u,y),u=y),g}),i(t.last())&&a(u,t.count())}}var xl=M_;function L_(t,r){t.prototype=Object.create(r.prototype),t.prototype.constructor=t,t.__proto__=r}var C_=$r,wp=xl,El=mt,Sp=El.List,B_=El.Map,F_=El.OrderedSet,P_=El.Record,K_=El.Repeat,R_=F_(),I_={key:"",type:"unstyled",text:"",characterList:Sp(),depth:0,data:B_()},j_=P_(I_),T_=function(t){if(!t)return t;var r=t.characterList,i=t.text;return i&&!r&&(t.characterList=Sp(K_(C_.EMPTY,i.length))),t},z_=function(t){L_(r,t);function r(a){return t.call(this,T_(a))||this}var i=r.prototype;return i.getKey=function(){return this.get("key")},i.getType=function(){return this.get("type")},i.getText=function(){return this.get("text")},i.getCharacterList=function(){return this.get("characterList")},i.getLength=function(){return this.getText().length},i.getDepth=function(){return this.get("depth")},i.getData=function(){return this.get("data")},i.getInlineStyleAt=function(a){var u=this.getCharacterList().get(a);return u?u.getStyle():R_},i.getEntityAt=function(a){var u=this.getCharacterList().get(a);return u?u.getEntity():null},i.findStyleRanges=function(a,u){wp(this.getCharacterList(),H_,a,u)},i.findEntityRanges=function(a,u){wp(this.getCharacterList(),A_,a,u)},r}(j_);function H_(t,r){return t.getStyle()===r.getStyle()}function A_(t,r){return t.getEntity()===r.getEntity()}var ra=z_;function q_(t,r){t.prototype=Object.create(r.prototype),t.prototype.constructor=t,t.__proto__=r}var U_=$r,xp=xl,kl=mt,_c=kl.List,V_=kl.Map,Q_=kl.OrderedSet,X_=kl.Record,Z_=kl.Repeat,$_=Q_(),Ep={parent:null,characterList:_c(),data:V_(),depth:0,key:"",text:"",type:"unstyled",children:_c(),prevSibling:null,nextSibling:null},Y_=function(t,r){return t.getStyle()===r.getStyle()},J_=function(t,r){return t.getEntity()===r.getEntity()},W_=function(t){if(!t)return t;var r=t.characterList,i=t.text;return i&&!r&&(t.characterList=_c(Z_(U_.EMPTY,i.length))),t},G_=function(t){q_(r,t);function r(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Ep;return t.call(this,W_(a))||this}var i=r.prototype;return i.getKey=function(){return this.get("key")},i.getType=function(){return this.get("type")},i.getText=function(){return this.get("text")},i.getCharacterList=function(){return this.get("characterList")},i.getLength=function(){return this.getText().length},i.getDepth=function(){return this.get("depth")},i.getData=function(){return this.get("data")},i.getInlineStyleAt=function(a){var u=this.getCharacterList().get(a);return u?u.getStyle():$_},i.getEntityAt=function(a){var u=this.getCharacterList().get(a);return u?u.getEntity():null},i.getChildKeys=function(){return this.get("children")},i.getParentKey=function(){return this.get("parent")},i.getPrevSiblingKey=function(){return this.get("prevSibling")},i.getNextSiblingKey=function(){return this.get("nextSibling")},i.findStyleRanges=function(a,u){xp(this.getCharacterList(),Y_,a,u)},i.findEntityRanges=function(a,u){xp(this.getCharacterList(),J_,a,u)},r}(X_(Ep)),Yr=G_,kp=$r,e1=mt,t1=e1.Map,n1={add:function(t,r,i){return Np(t,r,i,!0)},remove:function(t,r,i){return Np(t,r,i,!1)}};function Np(t,r,i,a){var u=t.getBlockMap(),c=r.getStartKey(),g=r.getStartOffset(),y=r.getEndKey(),b=r.getEndOffset(),w=u.skipUntil(function(D,K){return K===c}).takeUntil(function(D,K){return K===y}).concat(t1([[y,u.get(y)]])).map(function(D,K){var L,T;c===y?(L=g,T=b):(L=K===c?g:0,T=K===y?b:D.getLength());for(var F=D.getCharacterList(),R;L<T;)R=F.get(L),F=F.set(L,a?kp.applyStyle(R,i):kp.removeStyle(R,i)),L++;return D.set("characterList",F)});return t.merge({blockMap:u.merge(w),selectionBefore:r,selectionAfter:r})}var r1=n1,i1=$r;function o1(t,r,i,a){for(var u=r,c=t.getCharacterList();u<i;)c=c.set(u,i1.applyEntity(c.get(u),a)),u++;return t.set("characterList",c)}var a1=o1,l1=a1,u1=mt;function s1(t,r,i){var a=t.getBlockMap(),u=r.getStartKey(),c=r.getStartOffset(),g=r.getEndKey(),y=r.getEndOffset(),b=a.skipUntil(function(w,D){return D===u}).takeUntil(function(w,D){return D===g}).toOrderedMap().merge(u1.OrderedMap([[g,a.get(g)]])).map(function(w,D){var K=D===u?c:0,L=D===g?y:w.getLength();return l1(w,K,L,i)});return t.merge({blockMap:a.merge(b),selectionBefore:r,selectionAfter:r})}var c1=s1,f1={getRemovalRange:function(t,r,i,a,u){var c=i.split(" ");c=c.map(function(R,j){if(u==="forward"){if(j>0)return" "+R}else if(j<c.length-1)return R+" ";return R});for(var g=a,y,b,w=null,D=null,K=0;K<c.length;K++){if(b=c[K],y=g+b.length,t<y&&g<r)w!==null||(w=g),D=y;else if(w!==null)break;g=y}var L=a+i.length,T=w===a,F=D===L;return(!T&&F||T&&!F)&&(u==="forward"?D!==L&&D++:w!==a&&w--),{start:w,end:D}}},d1=f1;function p1(t,r){for(var i=arguments.length,a=new Array(i>2?i-2:0),u=2;u<i;u++)a[u-2]=arguments[u];if(!t){var c;if(r===void 0)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var g=0;c=new Error(r.replace(/%s/g,function(){return String(a[g++])})),c.name="Invariant Violation"}throw c.framesToPop=1,c}}var wt=p1,h1=wt;function m1(t,r){var i=[];return t.findEntityRanges(function(a){return a.getEntity()===r},function(a,u){i.push({start:a,end:u})}),i.length||h1(!1),i}var g1=m1,v1=d1,y1=g1,b1=wt;function _1(t,r,i,a,u){var c=a.getStartOffset(),g=a.getEndOffset(),y=r.getEntityAt(c),b=i.getEntityAt(g-1);if(!y&&!b)return a;var w=a;if(y&&y===b)w=Nl(t,r,w,u,y,!0,!0);else if(y&&b){var D=Nl(t,r,w,u,y,!1,!0),K=Nl(t,i,w,u,b,!1,!1);w=w.merge({anchorOffset:D.getAnchorOffset(),focusOffset:K.getFocusOffset(),isBackward:!1})}else if(y){var L=Nl(t,r,w,u,y,!1,!0);w=w.merge({anchorOffset:L.getStartOffset(),isBackward:!1})}else if(b){var T=Nl(t,i,w,u,b,!1,!1);w=w.merge({focusOffset:T.getEndOffset(),isBackward:!1})}return w}function Nl(t,r,i,a,u,c,g){var y=i.getStartOffset(),b=i.getEndOffset(),w=t.__get(u),D=w.getMutability(),K=g?y:b;if(D==="MUTABLE")return i;var L=y1(r,u).filter(function(R){return K<=R.end&&K>=R.start});L.length!=1&&b1(!1);var T=L[0];if(D==="IMMUTABLE")return i.merge({anchorOffset:T.start,focusOffset:T.end,isBackward:!1});c||(g?b=T.end:y=T.start);var F=v1.getRemovalRange(y,b,r.getText().slice(T.start,T.end),T.start,a);return i.merge({anchorOffset:F.start,focusOffset:F.end,isBackward:!1})}var w1=_1,Op={},S1=Math.pow(2,24);function x1(){for(var t;t===void 0||Op.hasOwnProperty(t)||!isNaN(+t);)t=Math.floor(Math.random()*S1).toString(32);return Op[t]=!0,t}var Li=x1,E1=Yr,Dp=Li,k1=mt,Mp=k1.OrderedMap,N1=function(t){var r={},i;return Mp(t.withMutations(function(a){a.forEach(function(u,c){var g=u.getKey(),y=u.getNextSiblingKey(),b=u.getPrevSiblingKey(),w=u.getChildKeys(),D=u.getParentKey(),K=Dp();if(r[g]=K,y){var L=a.get(y);L?a.setIn([y,"prevSibling"],K):a.setIn([g,"nextSibling"],null)}if(b){var T=a.get(b);T?a.setIn([b,"nextSibling"],K):a.setIn([g,"prevSibling"],null)}if(D&&a.get(D)){var F=a.get(D),R=F.getChildKeys();a.setIn([D,"children"],R.set(R.indexOf(u.getKey()),K))}else a.setIn([g,"parent"],null),i&&(a.setIn([i.getKey(),"nextSibling"],K),a.setIn([g,"prevSibling"],r[i.getKey()])),i=a.get(g);w.forEach(function(j){var G=a.get(j);G?a.setIn([j,"parent"],K):a.setIn([g,"children"],u.getChildKeys().filter(function(Y){return Y!==j}))})})}).toArray().map(function(a){return[r[a.getKey()],a.set("key",r[a.getKey()])]}))},O1=function(t){return Mp(t.toArray().map(function(r){var i=Dp();return[i,r.set("key",i)]}))},D1=function(t){var r=t.first()instanceof E1;return r?N1(t):O1(t)},Lp=D1,M1=$r,L1=xl,C1=wt;function B1(t,r){var i=t.getBlockMap(),a=t.getEntityMap(),u={},c=r.getStartKey(),g=r.getStartOffset(),y=i.get(c),b=Cp(a,y,g);b!==y&&(u[c]=b);var w=r.getEndKey(),D=r.getEndOffset(),K=i.get(w);c===w&&(K=b);var L=Cp(a,K,D);return L!==K&&(u[w]=L),Object.keys(u).length?t.merge({blockMap:i.merge(u),selectionAfter:r}):t.set("selectionAfter",r)}function F1(t,r,i){var a;return L1(t,function(u,c){return u.getEntity()===c.getEntity()},function(u){return u.getEntity()===r},function(u,c){u<=i&&c>=i&&(a={start:u,end:c})}),typeof a!="object"&&C1(!1),a}function Cp(t,r,i){var a=r.getCharacterList(),u=i>0?a.get(i-1):void 0,c=i<a.count()?a.get(i):void 0,g=u?u.getEntity():void 0,y=c?c.getEntity():void 0;if(y&&y===g){var b=t.__get(y);if(b.getMutability()!=="MUTABLE"){for(var w=F1(a,y,i),D=w.start,K=w.end,L;D<K;)L=a.get(D),a=a.set(D,M1.applyEntity(L,null)),D++;return r.set("characterList",a)}}return r}var Bp=B1,P1=Lp,K1=Bp,R1=function(t,r){var i=r.getStartKey(),a=r.getStartOffset(),u=r.getEndKey(),c=r.getEndOffset(),g=K1(t,r),y=g.getBlockMap(),b=y.keySeq(),w=b.indexOf(i),D=b.indexOf(u)+1;return P1(y.slice(w,D).map(function(K,L){var T=K.getText(),F=K.getCharacterList();return i===u?K.merge({text:T.slice(a,c),characterList:F.slice(a,c)}):L===i?K.merge({text:T.slice(a),characterList:F.slice(a)}):L===u?K.merge({text:T.slice(0,c),characterList:F.slice(0,c)}):K}))},yu=R1;function I1(t,r,i){var a=t;if(i===a.count())r.forEach(function(g){a=a.push(g)});else if(i===0)r.reverse().forEach(function(g){a=a.unshift(g)});else{var u=a.slice(0,i),c=a.slice(i);a=u.concat(r,c).toList()}return a}var Fp=I1,j1=Sl,Pp=Yr,T1=mt,z1=Fp,Kp=wt,H1=Lp,A1=T1.List,q1=function(t,r,i,a,u,c){var g=arguments.length>6&&arguments[6]!==void 0?arguments[6]:"REPLACE_WITH_NEW_DATA",y=i.get(u),b=y.getText(),w=y.getCharacterList(),D=u,K=c+a.getText().length,L=null;switch(g){case"MERGE_OLD_DATA_TO_NEW_DATA":L=a.getData().merge(y.getData());break;case"REPLACE_WITH_NEW_DATA":L=a.getData();break}var T=y.getType();b&&T==="unstyled"&&(T=a.getType());var F=y.merge({text:b.slice(0,c)+a.getText()+b.slice(c),characterList:z1(w,a.getCharacterList(),c),type:T,data:L});return t.merge({blockMap:i.set(u,F),selectionBefore:r,selectionAfter:r.merge({anchorKey:D,anchorOffset:K,focusKey:D,focusOffset:K,isBackward:!1})})},U1=function(t,r,i){var a=t.getText(),u=t.getCharacterList(),c=a.slice(0,r),g=u.slice(0,r),y=i.first();return t.merge({text:c+y.getText(),characterList:g.concat(y.getCharacterList()),type:c?t.getType():y.getType(),data:y.getData()})},V1=function(t,r,i){var a=t.getText(),u=t.getCharacterList(),c=a.length,g=a.slice(r,c),y=u.slice(r,c),b=i.last();return b.merge({text:b.getText()+g,characterList:b.getCharacterList().concat(y),data:b.getData()})},Q1=function(t,r){var i=t.getKey(),a=t,u=[];for(r.get(i)&&u.push(i);a&&a.getNextSiblingKey();){var c=a.getNextSiblingKey();if(!c)break;u.push(c),a=r.get(c)}return u},X1=function(t,r,i,a){return t.withMutations(function(u){var c=i.getKey(),g=a.getKey(),y=i.getNextSiblingKey(),b=i.getParentKey(),w=Q1(a,t),D=w[w.length-1];if(u.get(g)?(u.setIn([c,"nextSibling"],g),u.setIn([g,"prevSibling"],c)):(u.setIn([c,"nextSibling"],a.getNextSiblingKey()),u.setIn([a.getNextSiblingKey(),"prevSibling"],c)),u.setIn([D,"nextSibling"],y),y&&u.setIn([y,"prevSibling"],D),w.forEach(function(j){return u.setIn([j,"parent"],b)}),b){var K=t.get(b),L=K.getChildKeys(),T=L.indexOf(c),F=T+1,R=L.toArray();R.splice.apply(R,[F,0].concat(w)),u.setIn([b,"children"],A1(R))}})},Z1=function(t,r,i,a,u,c){var g=i.first()instanceof Pp,y=[],b=a.size,w=i.get(u),D=a.first(),K=a.last(),L=K.getLength(),T=K.getKey(),F=g&&(!w.getChildKeys().isEmpty()||!D.getChildKeys().isEmpty());i.forEach(function(j,G){if(G!==u){y.push(j);return}F?y.push(j):y.push(U1(j,c,a)),a.slice(F?0:1,b-1).forEach(function(Y){return y.push(Y)}),y.push(V1(j,c,a))});var R=j1.createFromArray(y);return g&&(R=X1(R,i,w,D)),t.merge({blockMap:R,selectionBefore:r,selectionAfter:r.merge({anchorKey:T,anchorOffset:L,focusKey:T,focusOffset:L,isBackward:!1})})},$1=function(t,r,i){var a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"REPLACE_WITH_NEW_DATA";r.isCollapsed()||Kp(!1);var u=t.getBlockMap(),c=H1(i),g=r.getStartKey(),y=r.getStartOffset(),b=u.get(g);return b instanceof Pp&&(b.getChildKeys().isEmpty()||Kp(!1)),c.size===1?q1(t,r,u,c.first(),g,y,a):Z1(t,r,u,c,g,y)},Y1=$1,J1=mt,W1=Fp,G1=wt,ew=J1.Repeat;function tw(t,r,i,a){r.isCollapsed()||G1(!1);var u=null;if(i!=null&&(u=i.length),u==null||u===0)return t;var c=t.getBlockMap(),g=r.getStartKey(),y=r.getStartOffset(),b=c.get(g),w=b.getText(),D=b.merge({text:w.slice(0,y)+i+w.slice(y,b.getLength()),characterList:W1(b.getCharacterList(),ew(a,u).toList(),y)}),K=y+u;return t.merge({blockMap:c.set(g,D),selectionAfter:r.merge({anchorOffset:K,focusOffset:K})})}var nw=tw,rw=mt,iw=rw.Map;function ow(t,r,i){var a=r.getStartKey(),u=r.getEndKey(),c=t.getBlockMap(),g=c.toSeq().skipUntil(function(y,b){return b===a}).takeUntil(function(y,b){return b===u}).concat(iw([[u,c.get(u)]])).map(i);return t.merge({blockMap:c.merge(g),selectionBefore:r,selectionAfter:r})}var Rp=ow,aw=Yr,lw=function(t,r){var i=t instanceof aw;if(!i)return null;var a=t.getNextSiblingKey();if(a)return a;var u=t.getParentKey();if(!u)return null;for(var c=r.get(u);c&&!c.getNextSiblingKey();){var g=c.getParentKey();c=g?r.get(g):null}return c?c.getNextSiblingKey():null},Ip=lw,uw=Yr,wc=Ip,jp=mt;jp.List;var Tp=jp.Map,ur=function(t,r,i){if(t){var a=r.get(t);a&&r.set(t,i(a))}},bu=function(t,r){var i=[];if(!t)return i;for(var a=r.get(t);a&&a.getParentKey();){var u=a.getParentKey();u&&i.push(u),a=u?r.get(u):null}return i},sw=function(t,r){var i=[];if(!t)return i;for(var a=wc(t,r);a&&r.get(a);){var u=r.get(a);i.push(a),a=u.getParentKey()?wc(u,r):null}return i},Ka=function(t,r,i){if(!t)return null;for(var a=i.get(t.getKey()).getNextSiblingKey();a&&!r.get(a);)a=i.get(a).getNextSiblingKey()||null;return a},Ra=function(t,r,i){if(!t)return null;for(var a=i.get(t.getKey()).getPrevSiblingKey();a&&!r.get(a);)a=i.get(a).getPrevSiblingKey()||null;return a},cw=function(t,r,i,a){return t.withMutations(function(u){if(ur(r.getKey(),u,function(w){return w.merge({nextSibling:Ka(w,u,a),prevSibling:Ra(w,u,a)})}),ur(i.getKey(),u,function(w){return w.merge({nextSibling:Ka(w,u,a),prevSibling:Ra(w,u,a)})}),bu(r.getKey(),a).forEach(function(w){return ur(w,u,function(D){return D.merge({children:D.getChildKeys().filter(function(K){return u.get(K)}),nextSibling:Ka(D,u,a),prevSibling:Ra(D,u,a)})})}),ur(r.getNextSiblingKey(),u,function(w){return w.merge({prevSibling:r.getPrevSiblingKey()})}),ur(r.getPrevSiblingKey(),u,function(w){return w.merge({nextSibling:Ka(w,u,a)})}),ur(i.getNextSiblingKey(),u,function(w){return w.merge({prevSibling:Ra(w,u,a)})}),ur(i.getPrevSiblingKey(),u,function(w){return w.merge({nextSibling:i.getNextSiblingKey()})}),bu(i.getKey(),a).forEach(function(w){ur(w,u,function(D){return D.merge({children:D.getChildKeys().filter(function(K){return u.get(K)}),nextSibling:Ka(D,u,a),prevSibling:Ra(D,u,a)})})}),sw(i,a).forEach(function(w){return ur(w,u,function(D){return D.merge({nextSibling:Ka(D,u,a),prevSibling:Ra(D,u,a)})})}),t.get(r.getKey())==null&&t.get(i.getKey())!=null&&i.getParentKey()===r.getKey()&&i.getPrevSiblingKey()==null){var c=r.getPrevSiblingKey();ur(i.getKey(),u,function(w){return w.merge({prevSibling:c})}),ur(c,u,function(w){return w.merge({nextSibling:i.getKey()})});var g=c?t.get(c):null,y=g?g.getParentKey():null;if(r.getChildKeys().forEach(function(w){ur(w,u,function(D){return D.merge({parent:y})})}),y!=null){var b=t.get(y);ur(y,u,function(w){return w.merge({children:b.getChildKeys().concat(r.getChildKeys())})})}ur(r.getChildKeys().find(function(w){var D=t.get(w);return D.getNextSiblingKey()===null}),u,function(w){return w.merge({nextSibling:r.getNextSiblingKey()})})}})},fw=function(t,r){if(r.isCollapsed())return t;var i=t.getBlockMap(),a=r.getStartKey(),u=r.getStartOffset(),c=r.getEndKey(),g=r.getEndOffset(),y=i.get(a),b=i.get(c),w=y instanceof uw,D=[];if(w){var K=b.getChildKeys(),L=bu(c,i);b.getNextSiblingKey()&&(D=D.concat(L)),K.isEmpty()||(D=D.concat(L.concat([c]))),D=D.concat(bu(wc(b,i),i))}var T;y===b?T=dw(y.getCharacterList(),u,g):T=y.getCharacterList().slice(0,u).concat(b.getCharacterList().slice(g));var F=y.merge({text:y.getText().slice(0,u)+b.getText().slice(g),characterList:T}),R=w&&u===0&&g===0&&b.getParentKey()===a&&b.getPrevSiblingKey()==null,j=R?Tp([[a,null]]):i.toSeq().skipUntil(function(Y,W){return W===a}).takeUntil(function(Y,W){return W===c}).filter(function(Y,W){return D.indexOf(W)===-1}).concat(Tp([[c,null]])).map(function(Y,W){return W===a?F:null}),G=i.merge(j).filter(function(Y){return!!Y});return w&&y!==b&&(G=cw(G,y,b,i)),t.merge({blockMap:G,selectionBefore:r,selectionAfter:r.merge({anchorKey:a,anchorOffset:u,focusKey:a,focusOffset:u,isBackward:!1})})},dw=function(t,r,i){if(r===0)for(;r<i;)t=t.shift(),r++;else if(i===t.count())for(;i>r;)t=t.pop(),i--;else{var a=t.slice(0,r),u=t.slice(i);t=a.concat(u).toList()}return t},pw=fw,hw=Yr,mw=Li,zp=mt,Hp=wt,gw=Rp,vw=zp.List,yw=zp.Map,_u=function(t,r,i){if(t){var a=r.get(t);a&&r.set(t,i(a))}},bw=function(t,r,i){return t.withMutations(function(a){var u=r.getKey(),c=i.getKey();_u(r.getParentKey(),a,function(g){var y=g.getChildKeys(),b=y.indexOf(u)+1,w=y.toArray();return w.splice(b,0,c),g.merge({children:vw(w)})}),_u(r.getNextSiblingKey(),a,function(g){return g.merge({prevSibling:c})}),_u(u,a,function(g){return g.merge({nextSibling:c})}),_u(c,a,function(g){return g.merge({prevSibling:u})})})},_w=function(t,r){r.isCollapsed()||Hp(!1);var i=r.getAnchorKey(),a=t.getBlockMap(),u=a.get(i),c=u.getText();if(!c){var g=u.getType();if(g==="unordered-list-item"||g==="ordered-list-item")return gw(t,r,function(j){return j.merge({type:"unstyled",depth:0})})}var y=r.getAnchorOffset(),b=u.getCharacterList(),w=mw(),D=u instanceof hw,K=u.merge({text:c.slice(0,y),characterList:b.slice(0,y)}),L=K.merge({key:w,text:c.slice(y),characterList:b.slice(y),data:yw()}),T=a.toSeq().takeUntil(function(j){return j===u}),F=a.toSeq().skipUntil(function(j){return j===u}).rest(),R=T.concat([[i,K],[w,L]],F).toOrderedMap();return D&&(u.getChildKeys().isEmpty()||Hp(!1),R=bw(R,K,L)),t.merge({blockMap:R,selectionBefore:r,selectionAfter:r.merge({anchorKey:w,anchorOffset:0,focusKey:w,focusOffset:0,isBackward:!1})})},ww=_w,Sw=$r,Ap=r1,xw=c1,Ew=w1,kw=yu,Nw=mt,Ow=Y1,Dw=nw,Mw=wt,Sc=Rp,Ol=Bp,Dl=pw,Lw=ww,Cw=Nw.OrderedSet,wu={replaceText:function(t,r,i,a,u){var c=Ol(t,r),g=Dl(c,r),y=Sw.create({style:a||Cw(),entity:u||null});return Dw(g,g.getSelectionAfter(),i,y)},insertText:function(t,r,i,a,u){return r.isCollapsed()||Mw(!1),wu.replaceText(t,r,i,a,u)},moveText:function(t,r,i){var a=kw(t,r),u=wu.removeRange(t,r,"backward");return wu.replaceWithFragment(u,i,a)},replaceWithFragment:function(t,r,i){var a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"REPLACE_WITH_NEW_DATA",u=Ol(t,r),c=Dl(u,r);return Ow(c,c.getSelectionAfter(),i,a)},removeRange:function(t,r,i){var a,u,c,g;r.getIsBackward()&&(r=r.merge({anchorKey:r.getFocusKey(),anchorOffset:r.getFocusOffset(),focusKey:r.getAnchorKey(),focusOffset:r.getAnchorOffset(),isBackward:!1})),a=r.getAnchorKey(),u=r.getFocusKey(),c=t.getBlockForKey(a),g=t.getBlockForKey(u);var y=r.getStartOffset(),b=r.getEndOffset(),w=c.getEntityAt(y),D=g.getEntityAt(b-1);if(a===u&&w&&w===D){var K=Ew(t.getEntityMap(),c,g,r,i);return Dl(t,K)}var L=Ol(t,r);return Dl(L,r)},splitBlock:function(t,r){var i=Ol(t,r),a=Dl(i,r);return Lw(a,a.getSelectionAfter())},applyInlineStyle:function(t,r,i){return Ap.add(t,r,i)},removeInlineStyle:function(t,r,i){return Ap.remove(t,r,i)},setBlockType:function(t,r,i){return Sc(t,r,function(a){return a.merge({type:i,depth:0})})},setBlockData:function(t,r,i){return Sc(t,r,function(a){return a.merge({data:i})})},mergeBlockData:function(t,r,i){return Sc(t,r,function(a){return a.merge({data:a.getData().merge(i)})})},applyEntity:function(t,r,i){var a=Ol(t,r);return xw(a,r,i)}},sr=wu;function Bw(t){return Object.keys(t).map(function(r){return t[r]})}var qp=Bw;function Fw(t){for(var r=1;r<arguments.length;r++){var i=arguments[r]!=null?arguments[r]:{},a=Object.keys(i);typeof Object.getOwnPropertySymbols=="function"&&(a=a.concat(Object.getOwnPropertySymbols(i).filter(function(u){return Object.getOwnPropertyDescriptor(i,u).enumerable}))),a.forEach(function(u){Pw(t,u,i[u])})}return t}function Pw(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}function Kw(t,r){if(t==null)return{};var i={},a=Object.keys(t),u,c;for(c=0;c<a.length;c++)u=a[c],!(r.indexOf(u)>=0)&&(i[u]=t[u]);return i}var Up=xl,Rw=qp,xc=mt,Ia=xc.List,Iw=xc.Repeat,Vp=xc.Record,Qp=function(){return!0},jw={start:null,end:null},Ec=Vp(jw),Tw={start:null,end:null,decoratorKey:null,leaves:null},kc=Vp(Tw),zw={generate:function(t,r,i){var a=r.getLength();if(!a)return Ia.of(new kc({start:0,end:0,decoratorKey:null,leaves:Ia.of(new Ec({start:0,end:0}))}));var u=[],c=i?i.getDecorations(r,t):Ia(Iw(null,a)),g=r.getCharacterList();return Up(c,Xp,Qp,function(y,b){u.push(new kc({start:y,end:b,decoratorKey:c.get(y),leaves:Hw(g.slice(y,b).toList(),y)}))}),Ia(u)},fromJS:function(t){var r=t.leaves,i=Kw(t,["leaves"]);return new kc(Fw({},i,{leaves:r!=null?Ia(Array.isArray(r)?r:Rw(r)).map(function(a){return Ec(a)}):null}))}};function Hw(t,r){var i=[],a=t.map(function(u){return u.getStyle()}).toList();return Up(a,Xp,Qp,function(u,c){i.push(new Ec({start:u+r,end:c+r}))}),Ia(i)}function Xp(t,r){return t===r}var Aw=zw;function qw(t,r){t.prototype=Object.create(r.prototype),t.prototype.constructor=t,t.__proto__=r}var Uw=mt,Vw=Uw.Record,Qw=Vw({type:"TOKEN",mutability:"IMMUTABLE",data:Object}),Xw=function(t){qw(r,t);function r(){return t.apply(this,arguments)||this}var i=r.prototype;return i.getType=function(){return this.get("type")},i.getMutability=function(){return this.get("mutability")},i.getData=function(){return this.get("data")},r}(Qw),Zp=Xw;function Zw(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(t){var r=Math.random()*16|0,i=t=="x"?r:r&3|8;return i.toString(16)})}var $w=Zw;function Yw(t){for(var r=1;r<arguments.length;r++){var i=arguments[r]!=null?arguments[r]:{},a=Object.keys(i);typeof Object.getOwnPropertySymbols=="function"&&(a=a.concat(Object.getOwnPropertySymbols(i).filter(function(u){return Object.getOwnPropertyDescriptor(i,u).enumerable}))),a.forEach(function(u){Jw(t,u,i[u])})}return t}function Jw(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}var Ww=Zp,Gw=mt,eS=wt,Nc=$w,tS=Gw.Map,Ji=tS(),Ml=Nc();function ja(t,r){console.warn("WARNING: "+t+` will be deprecated soon!
6
+ Please use "`+r+'" instead.')}var Ci={getLastCreatedEntityKey:function(){return ja("DraftEntity.getLastCreatedEntityKey","contentState.getLastCreatedEntityKey"),Ci.__getLastCreatedEntityKey()},create:function(t,r,i){return ja("DraftEntity.create","contentState.createEntity"),Ci.__create(t,r,i)},add:function(t){return ja("DraftEntity.add","contentState.addEntity"),Ci.__add(t)},get:function(t){return ja("DraftEntity.get","contentState.getEntity"),Ci.__get(t)},__getAll:function(){return Ji},__loadWithEntities:function(t){Ji=t,Ml=Nc()},mergeData:function(t,r){return ja("DraftEntity.mergeData","contentState.mergeEntityData"),Ci.__mergeData(t,r)},replaceData:function(t,r){return ja("DraftEntity.replaceData","contentState.replaceEntityData"),Ci.__replaceData(t,r)},__getLastCreatedEntityKey:function(){return Ml},__create:function(t,r,i){return Ci.__add(new Ww({type:t,mutability:r,data:i||{}}))},__add:function(t){return Ml=Nc(),Ji=Ji.set(Ml,t),Ml},__get:function(t){var r=Ji.get(t);return r||eS(!1),r},__mergeData:function(t,r){var i=Ci.__get(t),a=Yw({},i.getData(),r),u=i.set("data",a);return Ji=Ji.set(t,u),u},__replaceData:function(t,r){var i=Ci.__get(t),a=i.set("data",r);return Ji=Ji.set(t,a),a}},Su=Ci;function nS(t,r){t.prototype=Object.create(r.prototype),t.prototype.constructor=t,t.__proto__=r}var rS=mt,iS=rS.Record,oS={anchorKey:"",anchorOffset:0,focusKey:"",focusOffset:0,isBackward:!1,hasFocus:!1},aS=iS(oS),lS=function(t){nS(r,t);function r(){return t.apply(this,arguments)||this}var i=r.prototype;return i.serialize=function(){return"Anchor: "+this.getAnchorKey()+":"+this.getAnchorOffset()+", Focus: "+this.getFocusKey()+":"+this.getFocusOffset()+", Is Backward: "+String(this.getIsBackward())+", Has Focus: "+String(this.getHasFocus())},i.getAnchorKey=function(){return this.get("anchorKey")},i.getAnchorOffset=function(){return this.get("anchorOffset")},i.getFocusKey=function(){return this.get("focusKey")},i.getFocusOffset=function(){return this.get("focusOffset")},i.getIsBackward=function(){return this.get("isBackward")},i.getHasFocus=function(){return this.get("hasFocus")},i.hasEdgeWithin=function(a,u,c){var g=this.getAnchorKey(),y=this.getFocusKey();if(g===y&&g===a){var b=this.getStartOffset(),w=this.getEndOffset();return u<=b&&b<=c||u<=w&&w<=c}if(a!==g&&a!==y)return!1;var D=a===g?this.getAnchorOffset():this.getFocusOffset();return u<=D&&c>=D},i.isCollapsed=function(){return this.getAnchorKey()===this.getFocusKey()&&this.getAnchorOffset()===this.getFocusOffset()},i.getStartKey=function(){return this.getIsBackward()?this.getFocusKey():this.getAnchorKey()},i.getStartOffset=function(){return this.getIsBackward()?this.getFocusOffset():this.getAnchorOffset()},i.getEndKey=function(){return this.getIsBackward()?this.getAnchorKey():this.getFocusKey()},i.getEndOffset=function(){return this.getIsBackward()?this.getAnchorOffset():this.getFocusOffset()},r.createEmpty=function(a){return new r({anchorKey:a,anchorOffset:0,focusKey:a,focusOffset:0,isBackward:!1,hasFocus:!1})},r}(aS),xu=lS,Eo=function(t){return typeof window<"u"&&window.__DRAFT_GKX?!!window.__DRAFT_GKX[t]:!1},uS=new RegExp("\r","g");function sS(t){return t.replace(uS,"")}var $p=sS;function Yp(t){for(var r=1;r<arguments.length;r++){var i=arguments[r]!=null?arguments[r]:{},a=Object.keys(i);typeof Object.getOwnPropertySymbols=="function"&&(a=a.concat(Object.getOwnPropertySymbols(i).filter(function(u){return Object.getOwnPropertyDescriptor(i,u).enumerable}))),a.forEach(function(u){cS(t,u,i[u])})}return t}function cS(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}function fS(t,r){t.prototype=Object.create(r.prototype),t.prototype.constructor=t,t.__proto__=r}var dS=Sl,Jp=$r,pS=ra,hS=Yr,Bi=Su,Eu=xu,mS=Li,gS=qp,vS=Eo,Ll=mt,yS=$p,Wp=Ll.List,bS=Ll.Record,_S=Ll.Repeat,wS=Ll.Map,SS=Ll.OrderedMap,xS={entityMap:null,blockMap:null,selectionBefore:null,selectionAfter:null},ES=bS(xS),Gp=vS("draft_tree_data_support")?hS:pS,kS=function(t){fS(r,t);function r(){return t.apply(this,arguments)||this}var i=r.prototype;return i.getEntityMap=function(){return Bi},i.getBlockMap=function(){return this.get("blockMap")},i.getSelectionBefore=function(){return this.get("selectionBefore")},i.getSelectionAfter=function(){return this.get("selectionAfter")},i.getBlockForKey=function(a){var u=this.getBlockMap().get(a);return u},i.getKeyBefore=function(a){return this.getBlockMap().reverse().keySeq().skipUntil(function(u){return u===a}).skip(1).first()},i.getKeyAfter=function(a){return this.getBlockMap().keySeq().skipUntil(function(u){return u===a}).skip(1).first()},i.getBlockAfter=function(a){return this.getBlockMap().skipUntil(function(u,c){return c===a}).skip(1).first()},i.getBlockBefore=function(a){return this.getBlockMap().reverse().skipUntil(function(u,c){return c===a}).skip(1).first()},i.getBlocksAsArray=function(){return this.getBlockMap().toArray()},i.getFirstBlock=function(){return this.getBlockMap().first()},i.getLastBlock=function(){return this.getBlockMap().last()},i.getPlainText=function(a){return this.getBlockMap().map(function(u){return u?u.getText():""}).join(a||`
7
+ `)},i.getLastCreatedEntityKey=function(){return Bi.__getLastCreatedEntityKey()},i.hasText=function(){var a=this.getBlockMap();return a.size>1||escape(a.first().getText()).replace(/%u200B/g,"").length>0},i.createEntity=function(a,u,c){return Bi.__create(a,u,c),this},i.mergeEntityData=function(a,u){return Bi.__mergeData(a,u),this},i.replaceEntityData=function(a,u){return Bi.__replaceData(a,u),this},i.addEntity=function(a){return Bi.__add(a),this},i.getEntity=function(a){return Bi.__get(a)},i.getAllEntities=function(){return Bi.__getAll()},i.loadWithEntities=function(a){return Bi.__loadWithEntities(a)},r.createFromBlockArray=function(a,u){var c=Array.isArray(a)?a:a.contentBlocks,g=dS.createFromArray(c),y=g.isEmpty()?new Eu:Eu.createEmpty(g.first().getKey());return new r({blockMap:g,entityMap:u||Bi,selectionBefore:y,selectionAfter:y})},r.createFromText=function(a){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:/\r\n?|\n/g,c=a.split(u),g=c.map(function(y){return y=yS(y),new Gp({key:mS(),text:y,type:"unstyled",characterList:Wp(_S(Jp.EMPTY,y.length))})});return r.createFromBlockArray(g)},r.fromJS=function(a){return new r(Yp({},a,{blockMap:SS(a.blockMap).map(r.createContentBlockFromJS),selectionBefore:new Eu(a.selectionBefore),selectionAfter:new Eu(a.selectionAfter)}))},r.createContentBlockFromJS=function(a){var u=a.characterList;return new Gp(Yp({},a,{data:wS(a.data),characterList:u!=null?Wp((Array.isArray(u)?u:gS(u)).map(function(c){return Jp.fromJS(c)})):void 0}))},r}(ES),Oc=kS,ku=wt,NS="NEUTRAL",Nu="LTR",eh="RTL",Ou=null;function Du(t){return t===Nu||t===eh}function th(t){return Du(t)||ku(!1),t===Nu?"ltr":"rtl"}function OS(t,r){return Du(t)||ku(!1),Du(r)||ku(!1),t===r?null:th(t)}function nh(t){Ou=t}function DS(){nh(Nu)}function MS(){return Ou||this.initGlobalDir(),Ou||ku(!1),Ou}var LS={NEUTRAL:NS,LTR:Nu,RTL:eh,isStrong:Du,getHTMLDir:th,getHTMLDirIfDifferent:OS,setGlobalDir:nh,initGlobalDir:DS,getGlobalDir:MS},Mu=LS,Wi=Mu,CS=wt,Cl={L:"A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u01BA\u01BB\u01BC-\u01BF\u01C0-\u01C3\u01C4-\u0293\u0294\u0295-\u02AF\u02B0-\u02B8\u02BB-\u02C1\u02D0-\u02D1\u02E0-\u02E4\u02EE\u0370-\u0373\u0376-\u0377\u037A\u037B-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0482\u048A-\u052F\u0531-\u0556\u0559\u055A-\u055F\u0561-\u0587\u0589\u0903\u0904-\u0939\u093B\u093D\u093E-\u0940\u0949-\u094C\u094E-\u094F\u0950\u0958-\u0961\u0964-\u0965\u0966-\u096F\u0970\u0971\u0972-\u0980\u0982-\u0983\u0985-\u098C\u098F-\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09BE-\u09C0\u09C7-\u09C8\u09CB-\u09CC\u09CE\u09D7\u09DC-\u09DD\u09DF-\u09E1\u09E6-\u09EF\u09F0-\u09F1\u09F4-\u09F9\u09FA\u0A03\u0A05-\u0A0A\u0A0F-\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32-\u0A33\u0A35-\u0A36\u0A38-\u0A39\u0A3E-\u0A40\u0A59-\u0A5C\u0A5E\u0A66-\u0A6F\u0A72-\u0A74\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2-\u0AB3\u0AB5-\u0AB9\u0ABD\u0ABE-\u0AC0\u0AC9\u0ACB-\u0ACC\u0AD0\u0AE0-\u0AE1\u0AE6-\u0AEF\u0AF0\u0B02-\u0B03\u0B05-\u0B0C\u0B0F-\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32-\u0B33\u0B35-\u0B39\u0B3D\u0B3E\u0B40\u0B47-\u0B48\u0B4B-\u0B4C\u0B57\u0B5C-\u0B5D\u0B5F-\u0B61\u0B66-\u0B6F\u0B70\u0B71\u0B72-\u0B77\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99-\u0B9A\u0B9C\u0B9E-\u0B9F\u0BA3-\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BBF\u0BC1-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCC\u0BD0\u0BD7\u0BE6-\u0BEF\u0BF0-\u0BF2\u0C01-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C41-\u0C44\u0C58-\u0C59\u0C60-\u0C61\u0C66-\u0C6F\u0C7F\u0C82-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CBE\u0CBF\u0CC0-\u0CC4\u0CC6\u0CC7-\u0CC8\u0CCA-\u0CCB\u0CD5-\u0CD6\u0CDE\u0CE0-\u0CE1\u0CE6-\u0CEF\u0CF1-\u0CF2\u0D02-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D3E-\u0D40\u0D46-\u0D48\u0D4A-\u0D4C\u0D4E\u0D57\u0D60-\u0D61\u0D66-\u0D6F\u0D70-\u0D75\u0D79\u0D7A-\u0D7F\u0D82-\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCF-\u0DD1\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2-\u0DF3\u0DF4\u0E01-\u0E30\u0E32-\u0E33\u0E40-\u0E45\u0E46\u0E4F\u0E50-\u0E59\u0E5A-\u0E5B\u0E81-\u0E82\u0E84\u0E87-\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA-\u0EAB\u0EAD-\u0EB0\u0EB2-\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F01-\u0F03\u0F04-\u0F12\u0F13\u0F14\u0F15-\u0F17\u0F1A-\u0F1F\u0F20-\u0F29\u0F2A-\u0F33\u0F34\u0F36\u0F38\u0F3E-\u0F3F\u0F40-\u0F47\u0F49-\u0F6C\u0F7F\u0F85\u0F88-\u0F8C\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE-\u0FCF\u0FD0-\u0FD4\u0FD5-\u0FD8\u0FD9-\u0FDA\u1000-\u102A\u102B-\u102C\u1031\u1038\u103B-\u103C\u103F\u1040-\u1049\u104A-\u104F\u1050-\u1055\u1056-\u1057\u105A-\u105D\u1061\u1062-\u1064\u1065-\u1066\u1067-\u106D\u106E-\u1070\u1075-\u1081\u1083-\u1084\u1087-\u108C\u108E\u108F\u1090-\u1099\u109A-\u109C\u109E-\u109F\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FB\u10FC\u10FD-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1360-\u1368\u1369-\u137C\u1380-\u138F\u13A0-\u13F4\u1401-\u166C\u166D-\u166E\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EB-\u16ED\u16EE-\u16F0\u16F1-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1735-\u1736\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17B6\u17BE-\u17C5\u17C7-\u17C8\u17D4-\u17D6\u17D7\u17D8-\u17DA\u17DC\u17E0-\u17E9\u1810-\u1819\u1820-\u1842\u1843\u1844-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1923-\u1926\u1929-\u192B\u1930-\u1931\u1933-\u1938\u1946-\u194F\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C0\u19C1-\u19C7\u19C8-\u19C9\u19D0-\u19D9\u19DA\u1A00-\u1A16\u1A19-\u1A1A\u1A1E-\u1A1F\u1A20-\u1A54\u1A55\u1A57\u1A61\u1A63-\u1A64\u1A6D-\u1A72\u1A80-\u1A89\u1A90-\u1A99\u1AA0-\u1AA6\u1AA7\u1AA8-\u1AAD\u1B04\u1B05-\u1B33\u1B35\u1B3B\u1B3D-\u1B41\u1B43-\u1B44\u1B45-\u1B4B\u1B50-\u1B59\u1B5A-\u1B60\u1B61-\u1B6A\u1B74-\u1B7C\u1B82\u1B83-\u1BA0\u1BA1\u1BA6-\u1BA7\u1BAA\u1BAE-\u1BAF\u1BB0-\u1BB9\u1BBA-\u1BE5\u1BE7\u1BEA-\u1BEC\u1BEE\u1BF2-\u1BF3\u1BFC-\u1BFF\u1C00-\u1C23\u1C24-\u1C2B\u1C34-\u1C35\u1C3B-\u1C3F\u1C40-\u1C49\u1C4D-\u1C4F\u1C50-\u1C59\u1C5A-\u1C77\u1C78-\u1C7D\u1C7E-\u1C7F\u1CC0-\u1CC7\u1CD3\u1CE1\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF2-\u1CF3\u1CF5-\u1CF6\u1D00-\u1D2B\u1D2C-\u1D6A\u1D6B-\u1D77\u1D78\u1D79-\u1D9A\u1D9B-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200E\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2134\u2135-\u2138\u2139\u213C-\u213F\u2145-\u2149\u214E\u214F\u2160-\u2182\u2183-\u2184\u2185-\u2188\u2336-\u237A\u2395\u249C-\u24E9\u26AC\u2800-\u28FF\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2C7B\u2C7C-\u2C7D\u2C7E-\u2CE4\u2CEB-\u2CEE\u2CF2-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D70\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005\u3006\u3007\u3021-\u3029\u302E-\u302F\u3031-\u3035\u3038-\u303A\u303B\u303C\u3041-\u3096\u309D-\u309E\u309F\u30A1-\u30FA\u30FC-\u30FE\u30FF\u3105-\u312D\u3131-\u318E\u3190-\u3191\u3192-\u3195\u3196-\u319F\u31A0-\u31BA\u31F0-\u31FF\u3200-\u321C\u3220-\u3229\u322A-\u3247\u3248-\u324F\u3260-\u327B\u327F\u3280-\u3289\u328A-\u32B0\u32C0-\u32CB\u32D0-\u32FE\u3300-\u3376\u337B-\u33DD\u33E0-\u33FE\u3400-\u4DB5\u4E00-\u9FCC\uA000-\uA014\uA015\uA016-\uA48C\uA4D0-\uA4F7\uA4F8-\uA4FD\uA4FE-\uA4FF\uA500-\uA60B\uA60C\uA610-\uA61F\uA620-\uA629\uA62A-\uA62B\uA640-\uA66D\uA66E\uA680-\uA69B\uA69C-\uA69D\uA6A0-\uA6E5\uA6E6-\uA6EF\uA6F2-\uA6F7\uA722-\uA76F\uA770\uA771-\uA787\uA789-\uA78A\uA78B-\uA78E\uA790-\uA7AD\uA7B0-\uA7B1\uA7F7\uA7F8-\uA7F9\uA7FA\uA7FB-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA823-\uA824\uA827\uA830-\uA835\uA836-\uA837\uA840-\uA873\uA880-\uA881\uA882-\uA8B3\uA8B4-\uA8C3\uA8CE-\uA8CF\uA8D0-\uA8D9\uA8F2-\uA8F7\uA8F8-\uA8FA\uA8FB\uA900-\uA909\uA90A-\uA925\uA92E-\uA92F\uA930-\uA946\uA952-\uA953\uA95F\uA960-\uA97C\uA983\uA984-\uA9B2\uA9B4-\uA9B5\uA9BA-\uA9BB\uA9BD-\uA9C0\uA9C1-\uA9CD\uA9CF\uA9D0-\uA9D9\uA9DE-\uA9DF\uA9E0-\uA9E4\uA9E6\uA9E7-\uA9EF\uA9F0-\uA9F9\uA9FA-\uA9FE\uAA00-\uAA28\uAA2F-\uAA30\uAA33-\uAA34\uAA40-\uAA42\uAA44-\uAA4B\uAA4D\uAA50-\uAA59\uAA5C-\uAA5F\uAA60-\uAA6F\uAA70\uAA71-\uAA76\uAA77-\uAA79\uAA7A\uAA7B\uAA7D\uAA7E-\uAAAF\uAAB1\uAAB5-\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADC\uAADD\uAADE-\uAADF\uAAE0-\uAAEA\uAAEB\uAAEE-\uAAEF\uAAF0-\uAAF1\uAAF2\uAAF3-\uAAF4\uAAF5\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5B\uAB5C-\uAB5F\uAB64-\uAB65\uABC0-\uABE2\uABE3-\uABE4\uABE6-\uABE7\uABE9-\uABEA\uABEB\uABEC\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uE000-\uF8FF\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFF6F\uFF70\uFF71-\uFF9D\uFF9E-\uFF9F\uFFA0-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC",R:"\u0590\u05BE\u05C0\u05C3\u05C6\u05C8-\u05CF\u05D0-\u05EA\u05EB-\u05EF\u05F0-\u05F2\u05F3-\u05F4\u05F5-\u05FF\u07C0-\u07C9\u07CA-\u07EA\u07F4-\u07F5\u07FA\u07FB-\u07FF\u0800-\u0815\u081A\u0824\u0828\u082E-\u082F\u0830-\u083E\u083F\u0840-\u0858\u085C-\u085D\u085E\u085F-\u089F\u200F\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB37\uFB38-\uFB3C\uFB3D\uFB3E\uFB3F\uFB40-\uFB41\uFB42\uFB43-\uFB44\uFB45\uFB46-\uFB4F",AL:"\u0608\u060B\u060D\u061B\u061C\u061D\u061E-\u061F\u0620-\u063F\u0640\u0641-\u064A\u066D\u066E-\u066F\u0671-\u06D3\u06D4\u06D5\u06E5-\u06E6\u06EE-\u06EF\u06FA-\u06FC\u06FD-\u06FE\u06FF\u0700-\u070D\u070E\u070F\u0710\u0712-\u072F\u074B-\u074C\u074D-\u07A5\u07B1\u07B2-\u07BF\u08A0-\u08B2\u08B3-\u08E3\uFB50-\uFBB1\uFBB2-\uFBC1\uFBC2-\uFBD2\uFBD3-\uFD3D\uFD40-\uFD4F\uFD50-\uFD8F\uFD90-\uFD91\uFD92-\uFDC7\uFDC8-\uFDCF\uFDF0-\uFDFB\uFDFC\uFDFE-\uFDFF\uFE70-\uFE74\uFE75\uFE76-\uFEFC\uFEFD-\uFEFE"},BS=new RegExp("["+Cl.L+Cl.R+Cl.AL+"]"),FS=new RegExp("["+Cl.R+Cl.AL+"]");function rh(t){var r=BS.exec(t);return r==null?null:r[0]}function ih(t){var r=rh(t);return r==null?Wi.NEUTRAL:FS.exec(r)?Wi.RTL:Wi.LTR}function oh(t,r){if(r=r||Wi.NEUTRAL,!t.length)return r;var i=ih(t);return i===Wi.NEUTRAL?r:i}function Dc(t,r){return r||(r=Wi.getGlobalDir()),Wi.isStrong(r)||CS(!1),oh(t,r)}function PS(t,r){return Dc(t,r)===Wi.LTR}function KS(t,r){return Dc(t,r)===Wi.RTL}var RS={firstStrongChar:rh,firstStrongCharDir:ih,resolveBlockDir:oh,getDirection:Dc,isDirectionLTR:PS,isDirectionRTL:KS},Mc=RS;function ah(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}var IS=Mc,lh=Mu,jS=wt,TS=function(){function t(i){ah(this,"_defaultDir",void 0),ah(this,"_lastDir",void 0),i?lh.isStrong(i)||jS(!1):i=lh.getGlobalDir(),this._defaultDir=i,this.reset()}var r=t.prototype;return r.reset=function(){this._lastDir=this._defaultDir},r.getDirection=function(i){return this._lastDir=IS.getDirection(i,this._lastDir),this._lastDir},t}(),zS=TS,HS=function(t){if(t!=null)return t;throw new Error("Got unexpected null or undefined")},cr=HS,AS=zS,uh=mt,qS=cr,US=uh.OrderedMap,Lu,VS={getDirectionMap:function(t,r){Lu?Lu.reset():Lu=new AS;var i=t.getBlockMap(),a=i.valueSeq().map(function(c){return qS(Lu).getDirection(c.getText())}),u=US(i.keySeq().zip(a));return r!=null&&uh.is(r,u)?r:u}},QS=VS;function sh(t){for(var r=1;r<arguments.length;r++){var i=arguments[r]!=null?arguments[r]:{},a=Object.keys(i);typeof Object.getOwnPropertySymbols=="function"&&(a=a.concat(Object.getOwnPropertySymbols(i).filter(function(u){return Object.getOwnPropertyDescriptor(i,u).enumerable}))),a.forEach(function(u){ch(t,u,i[u])})}return t}function ch(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}var Cu=Aw,Bl=Oc,Bu=QS,Lc=xu,Fl=mt,fh=Fl.OrderedSet,XS=Fl.Record,ia=Fl.Stack,dh=Fl.OrderedMap,ZS=Fl.List,$S={allowUndo:!0,currentContent:null,decorator:null,directionMap:null,forceSelection:!1,inCompositionMode:!1,inlineStyleOverride:null,lastChangeType:null,nativelyRenderedContent:null,redoStack:ia(),selection:null,treeMap:null,undoStack:ia()},ph=XS($S),hh=function(){r.createEmpty=function(i){return this.createWithText("",i)},r.createWithText=function(i,a){return r.createWithContent(Bl.createFromText(i),a)},r.createWithContent=function(i,a){if(i.getBlockMap().count()===0)return r.createEmpty(a);var u=i.getBlockMap().first().getKey();return r.create({currentContent:i,undoStack:ia(),redoStack:ia(),decorator:a||null,selection:Lc.createEmpty(u)})},r.create=function(i){var a=i.currentContent,u=i.decorator,c=sh({},i,{treeMap:gh(a,u),directionMap:Bu.getDirectionMap(a)});return new r(new ph(c))},r.fromJS=function(i){return new r(new ph(sh({},i,{directionMap:i.directionMap!=null?dh(i.directionMap):i.directionMap,inlineStyleOverride:i.inlineStyleOverride!=null?fh(i.inlineStyleOverride):i.inlineStyleOverride,nativelyRenderedContent:i.nativelyRenderedContent!=null?Bl.fromJS(i.nativelyRenderedContent):i.nativelyRenderedContent,redoStack:i.redoStack!=null?ia(i.redoStack.map(function(a){return Bl.fromJS(a)})):i.redoStack,selection:i.selection!=null?new Lc(i.selection):i.selection,treeMap:i.treeMap!=null?dh(i.treeMap).map(function(a){return ZS(a).map(function(u){return Cu.fromJS(u)})}):i.treeMap,undoStack:i.undoStack!=null?ia(i.undoStack.map(function(a){return Bl.fromJS(a)})):i.undoStack,currentContent:Bl.fromJS(i.currentContent)})))},r.set=function(i,a){var u=i.getImmutable().withMutations(function(c){var g=c.get("decorator"),y=g;a.decorator===null?y=null:a.decorator&&(y=a.decorator);var b=a.currentContent||i.getCurrentContent();if(y!==g){var w=c.get("treeMap"),D;y&&g?D=JS(b,b.getBlockMap(),w,y,g):D=gh(b,y),c.merge({decorator:y,treeMap:D,nativelyRenderedContent:null});return}var K=i.getCurrentContent();b!==K&&c.set("treeMap",YS(i,b.getBlockMap(),b.getEntityMap(),y)),c.merge(a)});return new r(u)};var t=r.prototype;t.toJS=function(){return this.getImmutable().toJS()},t.getAllowUndo=function(){return this.getImmutable().get("allowUndo")},t.getCurrentContent=function(){return this.getImmutable().get("currentContent")},t.getUndoStack=function(){return this.getImmutable().get("undoStack")},t.getRedoStack=function(){return this.getImmutable().get("redoStack")},t.getSelection=function(){return this.getImmutable().get("selection")},t.getDecorator=function(){return this.getImmutable().get("decorator")},t.isInCompositionMode=function(){return this.getImmutable().get("inCompositionMode")},t.mustForceSelection=function(){return this.getImmutable().get("forceSelection")},t.getNativelyRenderedContent=function(){return this.getImmutable().get("nativelyRenderedContent")},t.getLastChangeType=function(){return this.getImmutable().get("lastChangeType")},t.getInlineStyleOverride=function(){return this.getImmutable().get("inlineStyleOverride")},r.setInlineStyleOverride=function(i,a){return r.set(i,{inlineStyleOverride:a})},t.getCurrentInlineStyle=function(){var i=this.getInlineStyleOverride();if(i!=null)return i;var a=this.getCurrentContent(),u=this.getSelection();return u.isCollapsed()?GS(a,u):ex(a,u)},t.getBlockTree=function(i){return this.getImmutable().getIn(["treeMap",i])},t.isSelectionAtStartOfContent=function(){var i=this.getCurrentContent().getBlockMap().first().getKey();return this.getSelection().hasEdgeWithin(i,0,0)},t.isSelectionAtEndOfContent=function(){var i=this.getCurrentContent(),a=i.getBlockMap(),u=a.last(),c=u.getLength();return this.getSelection().hasEdgeWithin(u.getKey(),c,c)},t.getDirectionMap=function(){return this.getImmutable().get("directionMap")},r.acceptSelection=function(i,a){return mh(i,a,!1)},r.forceSelection=function(i,a){return a.getHasFocus()||(a=a.set("hasFocus",!0)),mh(i,a,!0)},r.moveSelectionToEnd=function(i){var a=i.getCurrentContent(),u=a.getLastBlock(),c=u.getKey(),g=u.getLength();return r.acceptSelection(i,new Lc({anchorKey:c,anchorOffset:g,focusKey:c,focusOffset:g,isBackward:!1}))},r.moveFocusToEnd=function(i){var a=r.moveSelectionToEnd(i);return r.forceSelection(a,a.getSelection())},r.push=function(i,a,u){var c=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0;if(i.getCurrentContent()===a)return i;var g=Bu.getDirectionMap(a,i.getDirectionMap());if(!i.getAllowUndo())return r.set(i,{currentContent:a,directionMap:g,lastChangeType:u,selection:a.getSelectionAfter(),forceSelection:c,inlineStyleOverride:null});var y=i.getSelection(),b=i.getCurrentContent(),w=i.getUndoStack(),D=a;y!==b.getSelectionAfter()||WS(i,u)?(w=w.push(b),D=D.set("selectionBefore",y)):(u==="insert-characters"||u==="backspace-character"||u==="delete-character")&&(D=D.set("selectionBefore",b.getSelectionBefore()));var K=i.getInlineStyleOverride(),L=["adjust-depth","change-block-type","split-block"];L.indexOf(u)===-1&&(K=null);var T={currentContent:D,directionMap:g,undoStack:w,redoStack:ia(),lastChangeType:u,selection:a.getSelectionAfter(),forceSelection:c,inlineStyleOverride:K};return r.set(i,T)},r.undo=function(i){if(!i.getAllowUndo())return i;var a=i.getUndoStack(),u=a.peek();if(!u)return i;var c=i.getCurrentContent(),g=Bu.getDirectionMap(u,i.getDirectionMap());return r.set(i,{currentContent:u,directionMap:g,undoStack:a.shift(),redoStack:i.getRedoStack().push(c),forceSelection:!0,inlineStyleOverride:null,lastChangeType:"undo",nativelyRenderedContent:null,selection:c.getSelectionBefore()})},r.redo=function(i){if(!i.getAllowUndo())return i;var a=i.getRedoStack(),u=a.peek();if(!u)return i;var c=i.getCurrentContent(),g=Bu.getDirectionMap(u,i.getDirectionMap());return r.set(i,{currentContent:u,directionMap:g,undoStack:i.getUndoStack().push(c),redoStack:a.shift(),forceSelection:!0,inlineStyleOverride:null,lastChangeType:"redo",nativelyRenderedContent:null,selection:u.getSelectionAfter()})};function r(i){ch(this,"_immutable",void 0),this._immutable=i}return t.getImmutable=function(){return this._immutable},r}();function mh(t,r,i){return hh.set(t,{selection:r,forceSelection:i,nativelyRenderedContent:null,inlineStyleOverride:null})}function gh(t,r){return t.getBlockMap().map(function(i){return Cu.generate(t,i,r)}).toOrderedMap()}function YS(t,r,i,a){var u=t.getCurrentContent().set("entityMap",i),c=u.getBlockMap(),g=t.getImmutable().get("treeMap");return g.merge(r.toSeq().filter(function(y,b){return y!==c.get(b)}).map(function(y){return Cu.generate(u,y,a)}))}function JS(t,r,i,a,u){return i.merge(r.toSeq().filter(function(c){return a.getDecorations(c,t)!==u.getDecorations(c,t)}).map(function(c){return Cu.generate(t,c,a)}))}function WS(t,r){var i=t.getLastChangeType();return r!==i||r!=="insert-characters"&&r!=="backspace-character"&&r!=="delete-character"}function GS(t,r){var i=r.getStartKey(),a=r.getStartOffset(),u=t.getBlockForKey(i);return a>0?u.getInlineStyleAt(a-1):u.getLength()?u.getInlineStyleAt(0):vh(t,i)}function ex(t,r){var i=r.getStartKey(),a=r.getStartOffset(),u=t.getBlockForKey(i);return a<u.getLength()?u.getInlineStyleAt(a):a>0?u.getInlineStyleAt(a-1):vh(t,i)}function vh(t,r){var i=t.getBlockMap().reverse().skipUntil(function(a,u){return u===r}).skip(1).skipUntil(function(a,u){return a.getLength()}).first();return i?i.getInlineStyleAt(i.getLength()-1):fh()}var At=hh,tx=Yr,nx=Ip,yh=mt,Fu=wt,rx=yh.OrderedMap,ix=yh.List,oa=function(t,r,i){if(t){var a=r.get(t);a&&r.set(t,i(a))}},ox=function(t,r,i,a,u){if(!u)return t;var c=a==="after",g=r.getKey(),y=i.getKey(),b=r.getParentKey(),w=r.getNextSiblingKey(),D=r.getPrevSiblingKey(),K=i.getParentKey(),L=c?i.getNextSiblingKey():y,T=c?y:i.getPrevSiblingKey();return t.withMutations(function(F){oa(b,F,function(R){var j=R.getChildKeys();return R.merge({children:j.delete(j.indexOf(g))})}),oa(D,F,function(R){return R.merge({nextSibling:w})}),oa(w,F,function(R){return R.merge({prevSibling:D})}),oa(L,F,function(R){return R.merge({prevSibling:g})}),oa(T,F,function(R){return R.merge({nextSibling:g})}),oa(K,F,function(R){var j=R.getChildKeys(),G=j.indexOf(y),Y=c?G+1:G!==0?G-1:0,W=j.toArray();return W.splice(Y,0,g),R.merge({children:ix(W)})}),oa(g,F,function(R){return R.merge({nextSibling:L,prevSibling:T,parent:K})})})},ax=function(t,r,i,a){a==="replace"&&Fu(!1);var u=i.getKey(),c=r.getKey();c===u&&Fu(!1);var g=t.getBlockMap(),y=r instanceof tx,b=[r],w=g.delete(c);y&&(b=[],w=g.withMutations(function(j){var G=r.getNextSiblingKey(),Y=nx(r,j);j.toSeq().skipUntil(function(W){return W.getKey()===c}).takeWhile(function(W){var J=W.getKey(),le=J===c,Se=G&&J!==G,_e=!G&&W.getParentKey()&&(!Y||J!==Y);return!!(le||Se||_e)}).forEach(function(W){b.push(W),j.delete(W.getKey())})}));var D=w.toSeq().takeUntil(function(j){return j===i}),K=w.toSeq().skipUntil(function(j){return j===i}).skip(1),L=b.map(function(j){return[j.getKey(),j]}),T=rx();if(a==="before"){var F=t.getBlockBefore(u);!F||F.getKey()!==r.getKey()||Fu(!1),T=D.concat([].concat(L,[[u,i]]),K).toOrderedMap()}else if(a==="after"){var R=t.getBlockAfter(u);!R||R.getKey()!==c||Fu(!1),T=D.concat([[u,i]].concat(L),K).toOrderedMap()}return t.merge({blockMap:ox(T,r,i,a,y),selectionBefore:t.getSelectionAfter(),selectionAfter:t.getSelectionAfter().merge({anchorKey:c,focusKey:c})})},lx=ax;function bh(t){for(var r=1;r<arguments.length;r++){var i=arguments[r]!=null?arguments[r]:{},a=Object.keys(i);typeof Object.getOwnPropertySymbols=="function"&&(a=a.concat(Object.getOwnPropertySymbols(i).filter(function(u){return Object.getOwnPropertyDescriptor(i,u).enumerable}))),a.forEach(function(u){ux(t,u,i[u])})}return t}function ux(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}var sx=Sl,cx=$r,fx=ra,dx=Yr,Ta=sr,_h=At,wh=Li,px=Eo,Sh=mt,Pu=lx,xh=px("draft_tree_data_support"),Eh=xh?dx:fx,hx=Sh.List,mx=Sh.Repeat,gx={insertAtomicBlock:function(t,r,i){var a=t.getCurrentContent(),u=t.getSelection(),c=Ta.removeRange(a,u,"backward"),g=c.getSelectionAfter(),y=Ta.splitBlock(c,g),b=y.getSelectionAfter(),w=Ta.setBlockType(y,b,"atomic"),D=cx.create({entity:r}),K={key:wh(),type:"atomic",text:i,characterList:hx(mx(D,i.length))},L={key:wh(),type:"unstyled"};xh&&(K=bh({},K,{nextSibling:L.key}),L=bh({},L,{prevSibling:K.key}));var T=[new Eh(K),new Eh(L)],F=sx.createFromArray(T),R=Ta.replaceWithFragment(w,b,F),j=R.merge({selectionBefore:u,selectionAfter:R.getSelectionAfter().set("hasFocus",!0)});return _h.push(t,j,"insert-fragment")},moveAtomicBlock:function(t,r,i,a){var u=t.getCurrentContent(),c=t.getSelection(),g;if(a==="before"||a==="after"){var y=u.getBlockForKey(a==="before"?i.getStartKey():i.getEndKey());g=Pu(u,r,y,a)}else{var b=Ta.removeRange(u,i,"backward"),w=b.getSelectionAfter(),D=b.getBlockForKey(w.getFocusKey());if(w.getStartOffset()===0)g=Pu(b,r,D,"before");else if(w.getEndOffset()===D.getLength())g=Pu(b,r,D,"after");else{var K=Ta.splitBlock(b,w),L=K.getSelectionAfter(),T=K.getBlockForKey(L.getFocusKey());g=Pu(K,r,T,"before")}}var F=g.merge({selectionBefore:c,selectionAfter:g.getSelectionAfter().set("hasFocus",!0)});return _h.push(t,F,"move-block")}},vx=gx;function yx(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}var bx=mt,_x=bx.List,Cc=".",wx=function(){function t(i){yx(this,"_decorators",void 0),this._decorators=i.slice()}var r=t.prototype;return r.getDecorations=function(i,a){var u=Array(i.getText().length).fill(null);return this._decorators.forEach(function(c,g){var y=0,b=c.strategy,w=function(D,K){Sx(u,D,K)&&(xx(u,D,K,g+Cc+y),y++)};b(i,w,a)}),_x(u)},r.getComponentForKey=function(i){var a=parseInt(i.split(Cc)[0],10);return this._decorators[a].component},r.getPropsForKey=function(i){var a=parseInt(i.split(Cc)[0],10);return this._decorators[a].props},t}();function Sx(t,r,i){for(var a=r;a<i;a++)if(t[a]!=null)return!1;return!0}function xx(t,r,i,a){for(var u=r;u<i;u++)t[u]=a}var Ex=wx;function kx(t){return typeof t=="object"?Object.keys(t).filter(function(r){return t[r]}).map(kh).join(" "):Array.prototype.map.call(arguments,kh).join(" ")}function kh(t){return t.replace(/\//g,"-")}var aa=kx,Bc=P,Fc=aa,Nx=mt,Ox=Nx.Map,Dx=Bc.createElement("ul",{className:Fc("public/DraftStyleDefault/ul")}),Mx=Bc.createElement("ol",{className:Fc("public/DraftStyleDefault/ol")}),Lx=Bc.createElement("pre",{className:Fc("public/DraftStyleDefault/pre")}),Cx=Ox({"header-one":{element:"h1"},"header-two":{element:"h2"},"header-three":{element:"h3"},"header-four":{element:"h4"},"header-five":{element:"h5"},"header-six":{element:"h6"},section:{element:"section"},article:{element:"article"},"unordered-list-item":{element:"li",wrapper:Dx},"ordered-list-item":{element:"li",wrapper:Mx},blockquote:{element:"blockquote"},atomic:{element:"figure"},"code-block":{element:"pre",wrapper:Lx},unstyled:{element:"div",aliasedElements:["p"]}}),Pc=Cx,Nh={BOLD:{fontWeight:"bold"},CODE:{fontFamily:"monospace",wordWrap:"break-word"},ITALIC:{fontStyle:"italic"},STRIKETHROUGH:{textDecoration:"line-through"},UNDERLINE:{textDecoration:"underline"}};/*
8
8
  object-assign
9
9
  (c) Sindre Sorhus
10
10
  @license MIT
11
- */var fh=Object.getOwnPropertySymbols,WS=Object.prototype.hasOwnProperty,GS=Object.prototype.propertyIsEnumerable;function ek(t){if(t==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}function tk(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de",Object.getOwnPropertyNames(t)[0]==="5")return!1;for(var r={},i=0;i<10;i++)r["_"+String.fromCharCode(i)]=i;var a=Object.getOwnPropertyNames(r).map(function(f){return r[f]});if(a.join("")!=="0123456789")return!1;var u={};return"abcdefghijklmnopqrst".split("").forEach(function(f){u[f]=f}),Object.keys(Object.assign({},u)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}var na=tk()?Object.assign:function(t,r){for(var i,a=ek(t),u,f=1;f<arguments.length;f++){i=Object(arguments[f]);for(var g in i)WS.call(i,g)&&(a[g]=i[g]);if(fh){u=fh(i);for(var y=0;y<u.length;y++)GS.call(i,u[y])&&(a[u[y]]=i[u[y]])}}return a},Nu={},nk={get exports(){return Nu},set exports(t){Nu=t}};(function(t,r){(function(i,a){var u="0.7.33",f="",g="?",y="function",b="undefined",k="object",D="string",P="major",L="model",T="name",F="type",R="vendor",j="version",ne="architecture",Y="console",W="mobile",J="tablet",le="smarttv",Se="wearable",_e="embedded",Ie=350,ve="Amazon",ke="Apple",we="ASUS",he="BlackBerry",ge="Browser",De="Chrome",je="Edge",Ce="Firefox",He="Google",ue="Huawei",fe="LG",ae="Microsoft",Me="Motorola",Ye="Opera",kt="Samsung",Mt="Sharp",Ae="Sony",Te="Xiaomi",dt="Zebra",Pt="Facebook",Kt=function(Fe,nt){var Je={};for(var ht in Fe)nt[ht]&&nt[ht].length%2===0?Je[ht]=nt[ht].concat(Fe[ht]):Je[ht]=Fe[ht];return Je},Ct=function(Fe){for(var nt={},Je=0;Je<Fe.length;Je++)nt[Fe[Je].toUpperCase()]=Fe[Je];return nt},xt=function(Fe,nt){return typeof Fe===D?Jt(nt).indexOf(Jt(Fe))!==-1:!1},Jt=function(Fe){return Fe.toLowerCase()},$e=function(Fe){return typeof Fe===D?Fe.replace(/[^\d\.]/g,f).split(".")[0]:a},ut=function(Fe,nt){if(typeof Fe===D)return Fe=Fe.replace(/^\s\s*/,f),typeof nt===b?Fe:Fe.substring(0,Ie)},lt=function(Fe,nt){for(var Je=0,ht,Ge,wn,ct,Sn,Yt;Je<nt.length&&!Sn;){var fr=nt[Je],Un=nt[Je+1];for(ht=Ge=0;ht<fr.length&&!Sn;)if(Sn=fr[ht++].exec(Fe),Sn)for(wn=0;wn<Un.length;wn++)Yt=Sn[++Ge],ct=Un[wn],typeof ct===k&&ct.length>0?ct.length===2?typeof ct[1]==y?this[ct[0]]=ct[1].call(this,Yt):this[ct[0]]=ct[1]:ct.length===3?typeof ct[1]===y&&!(ct[1].exec&&ct[1].test)?this[ct[0]]=Yt?ct[1].call(this,Yt,ct[2]):a:this[ct[0]]=Yt?Yt.replace(ct[1],ct[2]):a:ct.length===4&&(this[ct[0]]=Yt?ct[3].call(this,Yt.replace(ct[1],ct[2])):a):this[ct]=Yt||a;Je+=2}},Bt=function(Fe,nt){for(var Je in nt)if(typeof nt[Je]===k&&nt[Je].length>0){for(var ht=0;ht<nt[Je].length;ht++)if(xt(nt[Je][ht],Fe))return Je===g?a:Je}else if(xt(nt[Je],Fe))return Je===g?a:Je;return Fe},pn={"1.0":"/8","1.2":"/1","1.3":"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"},Lt={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2","8.1":"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},Et={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[j,[T,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[j,[T,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[T,j],[/opios[\/ ]+([\w\.]+)/i],[j,[T,Ye+" Mini"]],[/\bopr\/([\w\.]+)/i],[j,[T,Ye]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant |iemobile|slim)(?:browser)?[\/ ]?([\w\.]*)/i,/(ba?idubrowser)[\/ ]?([\w\.]+)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i,/(weibo)__([\d\.]+)/i],[T,j],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[j,[T,"UC"+ge]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i],[j,[T,"WeChat(Win) Desktop"]],[/micromessenger\/([\w\.]+)/i],[j,[T,"WeChat"]],[/konqueror\/([\w\.]+)/i],[j,[T,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[j,[T,"IE"]],[/yabrowser\/([\w\.]+)/i],[j,[T,"Yandex"]],[/(avast|avg)\/([\w\.]+)/i],[[T,/(.+)/,"$1 Secure "+ge],j],[/\bfocus\/([\w\.]+)/i],[j,[T,Ce+" Focus"]],[/\bopt\/([\w\.]+)/i],[j,[T,Ye+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[j,[T,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[j,[T,"Dolphin"]],[/coast\/([\w\.]+)/i],[j,[T,Ye+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[j,[T,"MIUI "+ge]],[/fxios\/([-\w\.]+)/i],[j,[T,Ce]],[/\bqihu|(qi?ho?o?|360)browser/i],[[T,"360 "+ge]],[/(oculus|samsung|sailfish|huawei)browser\/([\w\.]+)/i],[[T,/(.+)/,"$1 "+ge],j],[/(comodo_dragon)\/([\w\.]+)/i],[[T,/_/g," "],j],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i],[T,j],[/(metasr)[\/ ]?([\w\.]+)/i,/(lbbrowser)/i,/\[(linkedin)app\]/i],[T],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[T,Pt],j],[/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(chromium|instagram)[\/ ]([-\w\.]+)/i],[T,j],[/\bgsa\/([\w\.]+) .*safari\//i],[j,[T,"GSA"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[j,[T,De+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[T,De+" WebView"],j],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[j,[T,"Android "+ge]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[T,j],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[j,[T,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[j,T],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[T,[j,Bt,pn]],[/(webkit|khtml)\/([\w\.]+)/i],[T,j],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[T,"Netscape"],j],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[j,[T,Ce+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i],[T,j],[/(cobalt)\/([\w\.]+)/i],[T,[j,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[ne,"amd64"]],[/(ia32(?=;))/i],[[ne,Jt]],[/((?:i[346]|x)86)[;\)]/i],[[ne,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[ne,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[ne,"armhf"]],[/windows (ce|mobile); ppc;/i],[[ne,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[ne,/ower/,f,Jt]],[/(sun4\w)[;\)]/i],[[ne,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[ne,Jt]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[L,[R,kt],[F,J]],[/\b((?:s[cgp]h|gt|sm)-\w+|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[L,[R,kt],[F,W]],[/\((ip(?:hone|od)[\w ]*);/i],[L,[R,ke],[F,W]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[L,[R,ke],[F,J]],[/(macintosh);/i],[L,[R,ke]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[L,[R,ue],[F,J]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[L,[R,ue],[F,W]],[/\b(poco[\w ]+)(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[L,/_/g," "],[R,Te],[F,W]],[/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[L,/_/g," "],[R,Te],[F,J]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[L,[R,"OPPO"],[F,W]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[L,[R,"Vivo"],[F,W]],[/\b(rmx[12]\d{3})(?: bui|;|\))/i],[L,[R,"Realme"],[F,W]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[L,[R,Me],[F,W]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[L,[R,Me],[F,J]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[L,[R,fe],[F,J]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[L,[R,fe],[F,W]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[L,[R,"Lenovo"],[F,J]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[L,/_/g," "],[R,"Nokia"],[F,W]],[/(pixel c)\b/i],[L,[R,He],[F,J]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[L,[R,He],[F,W]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[L,[R,Ae],[F,W]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[L,"Xperia Tablet"],[R,Ae],[F,J]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[L,[R,"OnePlus"],[F,W]],[/(alexa)webm/i,/(kf[a-z]{2}wi)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[L,[R,ve],[F,J]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[L,/(.+)/g,"Fire Phone $1"],[R,ve],[F,W]],[/(playbook);[-\w\),; ]+(rim)/i],[L,R,[F,J]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[L,[R,he],[F,W]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[L,[R,we],[F,J]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[L,[R,we],[F,W]],[/(nexus 9)/i],[L,[R,"HTC"],[F,J]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic|sony(?!-bra))[-_ ]?([-\w]*)/i],[R,[L,/_/g," "],[F,W]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[L,[R,"Acer"],[F,J]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[L,[R,"Meizu"],[F,W]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[L,[R,Mt],[F,W]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[R,L,[F,W]],[/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[R,L,[F,J]],[/(surface duo)/i],[L,[R,ae],[F,J]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[L,[R,"Fairphone"],[F,W]],[/(u304aa)/i],[L,[R,"AT&T"],[F,W]],[/\bsie-(\w*)/i],[L,[R,"Siemens"],[F,W]],[/\b(rct\w+) b/i],[L,[R,"RCA"],[F,J]],[/\b(venue[\d ]{2,7}) b/i],[L,[R,"Dell"],[F,J]],[/\b(q(?:mv|ta)\w+) b/i],[L,[R,"Verizon"],[F,J]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[L,[R,"Barnes & Noble"],[F,J]],[/\b(tm\d{3}\w+) b/i],[L,[R,"NuVision"],[F,J]],[/\b(k88) b/i],[L,[R,"ZTE"],[F,J]],[/\b(nx\d{3}j) b/i],[L,[R,"ZTE"],[F,W]],[/\b(gen\d{3}) b.+49h/i],[L,[R,"Swiss"],[F,W]],[/\b(zur\d{3}) b/i],[L,[R,"Swiss"],[F,J]],[/\b((zeki)?tb.*\b) b/i],[L,[R,"Zeki"],[F,J]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[R,"Dragon Touch"],L,[F,J]],[/\b(ns-?\w{0,9}) b/i],[L,[R,"Insignia"],[F,J]],[/\b((nxa|next)-?\w{0,9}) b/i],[L,[R,"NextBook"],[F,J]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[R,"Voice"],L,[F,W]],[/\b(lvtel\-)?(v1[12]) b/i],[[R,"LvTel"],L,[F,W]],[/\b(ph-1) /i],[L,[R,"Essential"],[F,W]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[L,[R,"Envizen"],[F,J]],[/\b(trio[-\w\. ]+) b/i],[L,[R,"MachSpeed"],[F,J]],[/\btu_(1491) b/i],[L,[R,"Rotor"],[F,J]],[/(shield[\w ]+) b/i],[L,[R,"Nvidia"],[F,J]],[/(sprint) (\w+)/i],[R,L,[F,W]],[/(kin\.[onetw]{3})/i],[[L,/\./g," "],[R,ae],[F,W]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[L,[R,dt],[F,J]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[L,[R,dt],[F,W]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[R,L,[F,Y]],[/droid.+; (shield) bui/i],[L,[R,"Nvidia"],[F,Y]],[/(playstation [345portablevi]+)/i],[L,[R,Ae],[F,Y]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[L,[R,ae],[F,Y]],[/smart-tv.+(samsung)/i],[R,[F,le]],[/hbbtv.+maple;(\d+)/i],[[L,/^/,"SmartTV"],[R,kt],[F,le]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[R,fe],[F,le]],[/(apple) ?tv/i],[R,[L,ke+" TV"],[F,le]],[/crkey/i],[[L,De+"cast"],[R,He],[F,le]],[/droid.+aft(\w)( bui|\))/i],[L,[R,ve],[F,le]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[L,[R,Mt],[F,le]],[/(bravia[\w ]+)( bui|\))/i],[L,[R,Ae],[F,le]],[/(mitv-\w{5}) bui/i],[L,[R,Te],[F,le]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w ]*; *(\w[^;]*);([^;]*)/i],[[R,ut],[L,ut],[F,le]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[F,le]],[/((pebble))app/i],[R,L,[F,Se]],[/droid.+; (glass) \d/i],[L,[R,He],[F,Se]],[/droid.+; (wt63?0{2,3})\)/i],[L,[R,dt],[F,Se]],[/(quest( 2)?)/i],[L,[R,Pt],[F,Se]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[R,[F,_e]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+? mobile safari/i],[L,[F,W]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[L,[F,J]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[F,J]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[F,W]],[/(android[-\w\. ]{0,9});.+buil/i],[L,[R,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[j,[T,je+"HTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[j,[T,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i],[T,j],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[j,T]],os:[[/microsoft (windows) (vista|xp)/i],[T,j],[/(windows) nt 6\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i,/(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i],[T,[j,Bt,Lt]],[/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[T,"Windows"],[j,Bt,Lt]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/cfnetwork\/.+darwin/i],[[j,/_/g,"."],[T,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[T,"Mac OS"],[j,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[j,T],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[T,j],[/\(bb(10);/i],[j,[T,he]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[j,[T,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[j,[T,Ce+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[j,[T,"webOS"]],[/crkey\/([\d\.]+)/i],[j,[T,De+"cast"]],[/(cros) [\w]+ ([\w\.]+\w)/i],[[T,"Chromium OS"],j],[/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[T,j],[/(sunos) ?([\w\.\d]*)/i],[[T,"Solaris"],j],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux)/i,/(unix) ?([\w\.]*)/i],[T,j]]},rt=function(Fe,nt){if(typeof Fe===k&&(nt=Fe,Fe=a),!(this instanceof rt))return new rt(Fe,nt).getResult();var Je=Fe||(typeof i!==b&&i.navigator&&i.navigator.userAgent?i.navigator.userAgent:f),ht=nt?Kt(Et,nt):Et;return this.getBrowser=function(){var Ge={};return Ge[T]=a,Ge[j]=a,lt.call(Ge,Je,ht.browser),Ge.major=$e(Ge.version),Ge},this.getCPU=function(){var Ge={};return Ge[ne]=a,lt.call(Ge,Je,ht.cpu),Ge},this.getDevice=function(){var Ge={};return Ge[R]=a,Ge[L]=a,Ge[F]=a,lt.call(Ge,Je,ht.device),Ge},this.getEngine=function(){var Ge={};return Ge[T]=a,Ge[j]=a,lt.call(Ge,Je,ht.engine),Ge},this.getOS=function(){var Ge={};return Ge[T]=a,Ge[j]=a,lt.call(Ge,Je,ht.os),Ge},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return Je},this.setUA=function(Ge){return Je=typeof Ge===D&&Ge.length>Ie?ut(Ge,Ie):Ge,this},this.setUA(Je),this};rt.VERSION=u,rt.BROWSER=Ct([T,j,P]),rt.CPU=Ct([ne]),rt.DEVICE=Ct([L,R,F,Y,W,le,J,Se,_e]),rt.ENGINE=rt.OS=Ct([T,j]),t.exports&&(r=t.exports=rt),r.UAParser=rt;var pt=typeof i!==b&&(i.jQuery||i.Zepto);if(pt&&!pt.ua){var Ft=new rt;pt.ua=Ft.getResult(),pt.ua.get=function(){return Ft.getUA()},pt.ua.set=function(Fe){Ft.setUA(Fe);var nt=Ft.getResult();for(var Je in nt)pt.ua[Je]=nt[Je]}}})(typeof window=="object"?window:La)})(nk,Nu);var rk=Nu,Xr="Unknown",ik={"Mac OS":"Mac OS X"};function ok(t){return ik[t]||t}function ak(t){if(!t)return{major:"",minor:""};var r=t.split(".");return{major:r[0],minor:r[1]}}var lk=new rk,Zr=lk.getResult(),uk=ak(Zr.browser.version),sk={browserArchitecture:Zr.cpu.architecture||Xr,browserFullVersion:Zr.browser.version||Xr,browserMinorVersion:uk.minor||Xr,browserName:Zr.browser.name||Xr,browserVersion:Zr.browser.major||Xr,deviceName:Zr.device.model||Xr,engineName:Zr.engine.name||Xr,engineVersion:Zr.engine.version||Xr,platformArchitecture:Zr.cpu.architecture||Xr,platformName:ok(Zr.os.name)||Xr,platformVersion:Zr.os.version||Xr,platformFullVersion:Zr.os.version||Xr},ck=sk,Du=_t,dh=/\./,fk=/\|\|/,dk=/\s+\-\s+/,pk=/^(<=|<|=|>=|~>|~|>|)?\s*(.+)/,ph=/^(\d*)(.*)/;function hk(t,r){var i=t.split(fk);return i.length>1?i.some(function(a){return _h.contains(a,r)}):(t=i[0].trim(),mk(t,r))}function mk(t,r){var i=t.split(dk);if(i.length>0&&i.length<=2||Du(!1),i.length===1)return Ec(i[0],r);var a=i[0],u=i[1];return vh(a)&&vh(u)||Du(!1),Ec(">="+a,r)&&Ec("<="+u,r)}function Ec(t,r){if(t=t.trim(),t==="")return!0;var i=r.split(dh),a=gh(t),u=a.modifier,f=a.rangeComponents;switch(u){case"<":return hh(i,f);case"<=":return gk(i,f);case">=":return mh(i,f);case">":return yk(i,f);case"~":case"~>":return bk(i,f);default:return vk(i,f)}}function hh(t,r){return Nl(t,r)===-1}function gk(t,r){var i=Nl(t,r);return i===-1||i===0}function vk(t,r){return Nl(t,r)===0}function mh(t,r){var i=Nl(t,r);return i===1||i===0}function yk(t,r){return Nl(t,r)===1}function bk(t,r){var i=r.slice(),a=r.slice();a.length>1&&a.pop();var u=a.length-1,f=parseInt(a[u],10);return Oc(f)&&(a[u]=f+1+""),mh(t,i)&&hh(t,a)}function gh(t){var r=t.split(dh),i=r[0].match(pk);return i||Du(!1),{modifier:i[1],rangeComponents:[i[2]].concat(r.slice(1))}}function Oc(t){return!isNaN(t)&&isFinite(t)}function vh(t){return!gh(t).modifier}function yh(t,r){for(var i=t.length;i<r;i++)t[i]="0"}function _k(t,r){t=t.slice(),r=r.slice(),yh(t,r.length);for(var i=0;i<r.length;i++){var a=r[i].match(/^[x*]$/i);if(a&&(r[i]=t[i]="0",a[0]==="*"&&i===r.length-1))for(var u=i;u<t.length;u++)t[u]="0"}return yh(r,t.length),[t,r]}function wk(t,r){var i=t.match(ph)[1],a=r.match(ph)[1],u=parseInt(i,10),f=parseInt(a,10);return Oc(u)&&Oc(f)&&u!==f?bh(u,f):bh(t,r)}function bh(t,r){return typeof t!=typeof r&&Du(!1),t>r?1:t<r?-1:0}function Nl(t,r){for(var i=_k(t,r),a=i[0],u=i[1],f=0;f<u.length;f++){var g=wk(a[f],u[f]);if(g)return g}return 0}var _h={contains:function(t,r){return hk(t.trim(),r.trim())}},Sk=_h,kk=Object.prototype.hasOwnProperty;function xk(t,r,i){if(!t)return null;var a={};for(var u in t)kk.call(t,u)&&(a[u]=r.call(i,t[u],u,t));return a}var Ek=xk;function Ok(t){var r={};return function(i){return r.hasOwnProperty(i)||(r[i]=t.call(this,i)),r[i]}}var Nk=Ok,Li=ck,Dk=Sk,Mk=Ek,Lk=Nk;function Ra(t,r,i,a){if(t===i)return!0;if(!i.startsWith(t))return!1;var u=i.slice(t.length);return r?(u=a?a(u):u,Dk.contains(u,r)):!1}function Ck(t){return Li.platformName==="Windows"?t.replace(/^\s*NT/,""):t}var Bk={isBrowser:function(t){return Ra(Li.browserName,Li.browserFullVersion,t)},isBrowserArchitecture:function(t){return Ra(Li.browserArchitecture,null,t)},isDevice:function(t){return Ra(Li.deviceName,null,t)},isEngine:function(t){return Ra(Li.engineName,Li.engineVersion,t)},isPlatform:function(t){return Ra(Li.platformName,Li.platformFullVersion,t,Ck)},isPlatformArchitecture:function(t){return Ra(Li.platformArchitecture,null,t)}},sr=Mk(Bk,Lk);function Fk(t){return!t||!t.ownerDocument?document:t.ownerDocument}var Mu=Fk;function Pk(t){return!t||!t.ownerDocument?!1:t.nodeType===Node.ELEMENT_NODE}var ra=Pk,Kk=ra;function wh(t){if(Kk(t)){var r=t,i=r.getAttribute("data-offset-key");if(i)return i;for(var a=0;a<r.childNodes.length;a++){var u=wh(r.childNodes[a]);if(u)return u}}return null}var Sh=wh,Rk=Mu,Ik=Sh;function jk(t){for(var r=t;r&&r!==Rk(t).documentElement;){var i=Ik(r);if(i!=null)return i;r=r.parentNode}return null}var Lu=jk;function Tk(t){return!t||!t.ownerDocument||!t.ownerDocument.defaultView?window:t.ownerDocument.defaultView}var kh=Tk;function Cu(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}var zk=sr,Hk=Lu,qk=kh,Ak=mt,Uk=_t,Vk=ur,xh=Ak.Map,Qk={subtree:!0,characterData:!0,childList:!0,characterDataOldValue:!1,attributes:!1},Eh=zk.isBrowser("IE <= 11"),$k=function(){function t(i){var a=this;Cu(this,"observer",void 0),Cu(this,"container",void 0),Cu(this,"mutations",void 0),Cu(this,"onCharData",void 0),this.container=i,this.mutations=xh();var u=qk(i);u.MutationObserver&&!Eh?this.observer=new u.MutationObserver(function(f){return a.registerMutations(f)}):this.onCharData=function(f){f.target instanceof Node||Uk(!1),a.registerMutation({type:"characterData",target:f.target})}}var r=t.prototype;return r.start=function(){this.observer?this.observer.observe(this.container,Qk):this.container.addEventListener("DOMCharacterDataModified",this.onCharData)},r.stopAndFlushMutations=function(){var i=this.observer;i?(this.registerMutations(i.takeRecords()),i.disconnect()):this.container.removeEventListener("DOMCharacterDataModified",this.onCharData);var a=this.mutations;return this.mutations=xh(),a},r.registerMutations=function(i){for(var a=0;a<i.length;a++)this.registerMutation(i[a])},r.getMutationTextContent=function(i){var a=i.type,u=i.target,f=i.removedNodes;if(a==="characterData"){if(u.textContent!=="")return Eh?u.textContent.replace(`
12
- `,""):u.textContent}else if(a==="childList"){if(f&&f.length)return"";if(u.textContent!=="")return u.textContent}return null},r.registerMutation=function(i){var a=this.getMutationTextContent(i);if(a!=null){var u=Vk(Hk(i.target));this.mutations=this.mutations.set(u,a)}},t}(),Xk=$k,Bu="-",Zk={encode:function(t,r,i){return t+Bu+r+Bu+i},decode:function(t){var r=t.split(Bu).reverse(),i=r[0],a=r[1],u=r.slice(2);return{blockKey:u.reverse().join(Bu),decoratorKey:parseInt(a,10),leafKey:parseInt(i,10)}}},Ji=Zk,Fu={BACKSPACE:8,TAB:9,RETURN:13,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46,COMMA:188,PERIOD:190,A:65,Z:90,ZERO:48,NUMPAD_0:96,NUMPAD_9:105},Oh={logBlockedSelectionEvent:function(){return null},logSelectionStateFailure:function(){return null}};function Jk(t){return!t||!t.ownerDocument?!1:t.ownerDocument.defaultView?t instanceof t.ownerDocument.defaultView.HTMLElement:t instanceof HTMLElement}var Dl=Jk,Nh=_t,Yk=Dl;function Wk(t){var r=t.editorContainer;r||Nh(!1),Yk(r.firstChild)||Nh(!1);var i=r.firstChild;return i}var Dh=Wk,Mh=Ji,Gk=ur;function ex(t,r,i,a,u){var f=Gk(t.getSelection());if(!r||!a)return f;var g=Mh.decode(r),y=g.blockKey,b=t.getBlockTree(y),k=b&&b.getIn([g.decoratorKey,"leaves",g.leafKey]),D=Mh.decode(a),P=D.blockKey,L=t.getBlockTree(P),T=L&&L.getIn([D.decoratorKey,"leaves",D.leafKey]);if(!k||!T)return f;var F=k.get("start"),R=T.get("start"),j=k?F+i:null,ne=T?R+u:null,Y=f.getAnchorKey()===y&&f.getAnchorOffset()===j&&f.getFocusKey()===P&&f.getFocusOffset()===ne;if(Y)return f;var W=!1;if(y===P){var J=k.get("end"),le=T.get("end");R===F&&le===J?W=u<i:W=R<F}else{var Se=t.getCurrentContent().getBlockMap().keySeq().skipUntil(function(_e){return _e===y||_e===P}).first();W=Se===P}return f.merge({anchorKey:y,anchorOffset:j,focusKey:P,focusOffset:ne,isBackward:W})}var Lh=ex,Ml=Lu,Ll=Sh,Ch=Lh,Nc=_t,Dc=ra,ia=ur;function tx(t,r,i,a,u,f){var g=i.nodeType===Node.TEXT_NODE,y=u.nodeType===Node.TEXT_NODE;if(g&&y)return{selectionState:Ch(t,ia(Ml(i)),a,ia(Ml(u)),f),needsRecovery:!1};var b=null,k=null,D=!0;return g?(b={key:ia(Ml(i)),offset:a},k=Pu(r,u,f)):y?(k={key:ia(Ml(u)),offset:f},b=Pu(r,i,a)):(b=Pu(r,i,a),k=Pu(r,u,f),i===u&&a===f&&(D=!!i.firstChild&&i.firstChild.nodeName!=="BR")),{selectionState:Ch(t,b.key,b.offset,k.key,k.offset),needsRecovery:D}}function nx(t){for(;t.firstChild&&(Dc(t.firstChild)&&t.firstChild.getAttribute("data-blocks")==="true"||Ll(t.firstChild));)t=t.firstChild;return t}function rx(t){for(;t.lastChild&&(Dc(t.lastChild)&&t.lastChild.getAttribute("data-blocks")==="true"||Ll(t.lastChild));)t=t.lastChild;return t}function Pu(t,r,i){var a=r,u=Ml(a);if(u!=null||t&&(t===a||t.firstChild===a)||Nc(!1),t===a){a=a.firstChild,Dc(a)||Nc(!1);var f=a;a=f,a.getAttribute("data-contents")!=="true"&&Nc(!1),i>0&&(i=a.childNodes.length)}if(i===0){var g=null;if(u!=null)g=u;else{var y=nx(a);g=ia(Ll(y))}return{key:g,offset:0}}var b=a.childNodes[i-1],k=null,D=null;if(!Ll(b))k=ia(u),D=Bh(b);else{var P=rx(b);k=ia(Ll(P)),D=Bh(P)}return{key:k,offset:D}}function Bh(t){var r=t.textContent;return r===`
13
- `?0:r.length}var Fh=tx,ix=Fh;function ox(t,r){var i=r.ownerDocument.defaultView.getSelection(),a=i.anchorNode,u=i.anchorOffset,f=i.focusNode,g=i.focusOffset,y=i.rangeCount;return y===0||a==null||f==null?{selectionState:t.getSelection().set("hasFocus",!1),needsRecovery:!1}:ix(t,r,a,u,f,g)}var Ph=ox,ax=Oh,Kh=zt,lx=Dh,ux=Ph;function sx(t){if(t._blockSelectEvents||t._latestEditorState!==t.props.editorState){if(t._blockSelectEvents){var r=t.props.editorState,i=r.getSelection();ax.logBlockedSelectionEvent({anonymizedDom:"N/A",extraParams:JSON.stringify({stacktrace:new Error().stack}),selectionState:JSON.stringify(i.toJS())})}return}var a=t.props.editorState,u=ux(a,lx(t)),f=u.selectionState;f!==a.getSelection()&&(u.needsRecovery?a=Kh.forceSelection(a,f):a=Kh.acceptSelection(a,f),t.update(a))}var Rh=sx;function cx(t){return t!=null&&t!=""}var Ih={notEmptyKey:cx},fx=Ih,dx=fx.notEmptyKey;function px(t,r){var i;if(r.isCollapsed()){var a=r.getAnchorKey(),u=r.getAnchorOffset();return u>0?(i=t.getBlockForKey(a).getEntityAt(u-1),i!==t.getBlockForKey(a).getEntityAt(u)?null:jh(t.getEntityMap(),i)):null}var f=r.getStartKey(),g=r.getStartOffset(),y=t.getBlockForKey(f);return i=g===y.getLength()?null:y.getEntityAt(g),jh(t.getEntityMap(),i)}function jh(t,r){if(dx(r)){var i=t.__get(r);return i.getMutability()==="MUTABLE"?r:null}return null}var Mc=px,hx=Xk,mx=lr,gx=Ji,Cl=zt,Lc=Fu,vx=sr,yx=Rh,Th=Dh,bx=Ph,_x=Mc,wx=ur,Sx=vx.isBrowser("IE"),kx=20,Cc=!1,Ku=!1,Bl=null;function xx(t){Bl||(Bl=new hx(Th(t)),Bl.start())}var Bc={onCompositionStart:function(t){Ku=!0,xx(t)},onCompositionEnd:function(t){Cc=!1,Ku=!1,setTimeout(function(){Cc||Bc.resolveComposition(t)},kx)},onSelect:yx,onKeyDown:function(t,r){if(!Ku){Bc.resolveComposition(t),t._onKeyDown(r);return}(r.which===Lc.RIGHT||r.which===Lc.LEFT)&&r.preventDefault()},onKeyPress:function(t,r){r.which===Lc.RETURN&&r.preventDefault()},resolveComposition:function(t){if(!Ku){var r=wx(Bl).stopAndFlushMutations();Bl=null,Cc=!0;var i=Cl.set(t._latestEditorState,{inCompositionMode:!1});if(t.exitCurrentMode(),!r.size){t.update(i);return}var a=i.getCurrentContent();r.forEach(function(y,b){var k=gx.decode(b),D=k.blockKey,P=k.decoratorKey,L=k.leafKey,T=i.getBlockTree(D).getIn([P,"leaves",L]),F=T.start,R=T.end,j=i.getSelection().merge({anchorKey:D,focusKey:D,anchorOffset:F,focusOffset:R,isBackward:!1}),ne=_x(a,j),Y=a.getBlockForKey(D).getInlineStyleAt(F);a=mx.replaceText(a,j,y,Y,ne),i=Cl.set(i,{currentContent:a})});var u=bx(i,Th(t)),f=u.selectionState;t.restoreEditorDOM();var g=Sx?Cl.forceSelection(i,f):Cl.acceptSelection(i,f);t.update(Cl.push(g,a,"insert-characters"))}}},Ex=Bc,Fc,zh;function Ox(){if(zh)return Fc;zh=1;var t=na;function r(){return r=t||function(b){for(var k=1;k<arguments.length;k++){var D=arguments[k];for(var P in D)Object.prototype.hasOwnProperty.call(D,P)&&(b[P]=D[P])}return b},r.apply(this,arguments)}function i(b,k){b.prototype=Object.create(k.prototype),b.prototype.constructor=b,b.__proto__=k}var a=Ji,u=q,f=bc,g=wu,y=function(b){i(k,b);function k(){return b.apply(this,arguments)||this}var D=k.prototype;return D.render=function(){var P=this.props,L=P.block,T=P.children,F=P.contentState,R=P.decorator,j=P.decoratorKey,ne=P.direction,Y=P.leafSet,W=P.text,J=L.getKey(),le=Y.get("leaves"),Se=R.getComponentForKey(j),_e=R.getPropsForKey(j),Ie=a.encode(J,parseInt(j,10),0),ve=W.slice(le.first().get("start"),le.last().get("end")),ke=g.getHTMLDirIfDifferent(f.getDirection(ve),ne);return u.createElement(Se,r({},_e,{contentState:F,decoratedText:ve,dir:ke,key:Ie,entityKey:L.getEntityAt(Y.get("start")),offsetKey:Ie}),T)},k}(u.Component);return Fc=y,Fc}function Hh(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Nx(t,r){t.prototype=Object.create(r.prototype),t.prototype.constructor=t,t.__proto__=r}function qh(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}var Ia=q,Dx=sr,Mx=_t,Lx=ra,Pc=Dx.isBrowser("IE <= 11");function Cx(t){return Pc?t.textContent===`
14
- `:t.tagName==="BR"}var Bx=function(t){return Pc?Ia.createElement("span",{key:"A","data-text":"true",ref:t},`
15
- `):Ia.createElement("br",{key:"A","data-text":"true",ref:t})},Fx=function(t){return Pc?Ia.createElement("span",{key:"B","data-text":"true",ref:t},`
16
- `):Ia.createElement("br",{key:"B","data-text":"true",ref:t})},Px=function(t){Nx(r,t);function r(a){var u;return u=t.call(this,a)||this,qh(Hh(u),"_forceFlag",void 0),qh(Hh(u),"_node",void 0),u._forceFlag=!1,u}var i=r.prototype;return i.shouldComponentUpdate=function(a){var u=this._node,f=a.children==="";Lx(u)||Mx(!1);var g=u;return f?!Cx(g):g.textContent!==a.children},i.componentDidMount=function(){this._forceFlag=!this._forceFlag},i.componentDidUpdate=function(){this._forceFlag=!this._forceFlag},i.render=function(){var a=this;return this.props.children===""?this._forceFlag?Bx(function(u){return a._node=u}):Fx(function(u){return a._node=u}):Ia.createElement("span",{key:this._forceFlag?"A":"B","data-text":"true",ref:function(u){return a._node=u}},this.props.children)},r}(Ia.Component),Kx=Px,Rx=ra;function Ix(t){return!t||!t.ownerDocument?!1:Rx(t)&&t.nodeName==="BR"}var Ah=Ix;function jx(t){var r=t?t.ownerDocument||t:document,i=r.defaultView||window;return!!(t&&(typeof i.Node=="function"?t instanceof i.Node:typeof t=="object"&&typeof t.nodeType=="number"&&typeof t.nodeName=="string"))}var Tx=jx,zx=Tx;function Hx(t){return zx(t)&&t.nodeType==3}var qx=Hx,Uh=qx;function Vh(t,r){return!t||!r?!1:t===r?!0:Uh(t)?!1:Uh(r)?Vh(t,r.parentNode):"contains"in t?t.contains(r):t.compareDocumentPosition?!!(t.compareDocumentPosition(r)&16):!1}var Kc=Vh;function Ax(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}var Qh=Ax,Rc=Oh,Ux=sr,$h=Kc,Vx=Qh,Ic=Mu,Qx=_t,Xh=ra,$x=Ux.isBrowser("IE");function Xx(t,r){if(!t)return"[empty]";var i=Zh(t,r);if(i.nodeType===Node.TEXT_NODE)return i.textContent;Xh(i)||Qx(!1);var a=i;return a.outerHTML}function Zh(t,r){var i=r!==void 0?r(t):[];if(t.nodeType===Node.TEXT_NODE){var a=t.textContent.length;return Ic(t).createTextNode("[text "+a+(i.length?" | "+i.join(", "):"")+"]")}var u=t.cloneNode();u.nodeType===1&&i.length&&u.setAttribute("data-labels",i.join(", "));for(var f=t.childNodes,g=0;g<f.length;g++)u.appendChild(Zh(f[g],r));return u}function jc(t,r){for(var i=t,a=i;i;){if(Xh(i)&&a.hasAttribute("contenteditable"))return Xx(i,r);i=i.parentNode,a=i}return"Could not find contentEditable parent of node"}function Jh(t){return t.nodeValue===null?t.childNodes.length:t.nodeValue.length}function Zx(t,r,i,a,u){var f=Ic(r);if($h(f.documentElement,r)){var g=f.defaultView.getSelection(),y=t.getAnchorKey(),b=t.getAnchorOffset(),k=t.getFocusKey(),D=t.getFocusOffset(),P=t.getIsBackward();if(!g.extend&&P){var L=y,T=b;y=k,b=D,k=L,D=T,P=!1}var F=y===i&&a<=b&&u>=b,R=k===i&&a<=D&&u>=D;if(F&&R){g.removeAllRanges(),Iu(g,r,b-a,t),Ru(g,r,D-a,t);return}if(!P)F&&(g.removeAllRanges(),Iu(g,r,b-a,t)),R&&Ru(g,r,D-a,t);else if(R&&(g.removeAllRanges(),Iu(g,r,D-a,t)),F){var j=g.focusNode,ne=g.focusOffset;g.removeAllRanges(),Iu(g,r,b-a,t),Ru(g,j,ne,t)}}}function Ru(t,r,i,a){var u=Vx(),f=t.extend;if(f&&r!=null&&$h(u,r)){i>Jh(r)&&Rc.logSelectionStateFailure({anonymizedDom:jc(r),extraParams:JSON.stringify({offset:i}),selectionState:JSON.stringify(a.toJS())});var g=r===t.focusNode;try{t.rangeCount>0&&t.extend&&t.extend(r,i)}catch(b){throw Rc.logSelectionStateFailure({anonymizedDom:jc(r,function(k){var D=[];return k===u&&D.push("active element"),k===t.anchorNode&&D.push("selection anchor node"),k===t.focusNode&&D.push("selection focus node"),D}),extraParams:JSON.stringify({activeElementName:u?u.nodeName:null,nodeIsFocus:r===t.focusNode,nodeWasFocus:g,selectionRangeCount:t.rangeCount,selectionAnchorNodeName:t.anchorNode?t.anchorNode.nodeName:null,selectionAnchorOffset:t.anchorOffset,selectionFocusNodeName:t.focusNode?t.focusNode.nodeName:null,selectionFocusOffset:t.focusOffset,message:b?""+b:null,offset:i},null,2),selectionState:JSON.stringify(a.toJS(),null,2)}),b}}else if(r&&t.rangeCount>0){var y=t.getRangeAt(0);y.setEnd(r,i),t.addRange(y.cloneRange())}}function Iu(t,r,i,a){var u=Ic(r).createRange();if(i>Jh(r)&&Rc.logSelectionStateFailure({anonymizedDom:jc(r),extraParams:JSON.stringify({offset:i}),selectionState:JSON.stringify(a.toJS())}),u.setStart(r,i),$x)try{t.addRange(u)}catch{}else t.addRange(u)}var Jx={setDraftEditorSelection:Zx,addFocusToSelection:Ru},Yh=na;function Yx(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Wx(t,r){t.prototype=Object.create(r.prototype),t.prototype.constructor=t,t.__proto__=r}function Gx(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}var eE=Kx,Tc=q,ju=_t,tE=Ah,nE=Jx.setDraftEditorSelection,rE=function(t){Wx(r,t);function r(){for(var a,u=arguments.length,f=new Array(u),g=0;g<u;g++)f[g]=arguments[g];return a=t.call.apply(t,[this].concat(f))||this,Gx(Yx(a),"leaf",void 0),a}var i=r.prototype;return i._setSelection=function(){var a=this.props.selection;if(!(a==null||!a.getHasFocus())){var u=this.props,f=u.block,g=u.start,y=u.text,b=f.getKey(),k=g+y.length;if(a.hasEdgeWithin(b,g,k)){var D=this.leaf;D||ju(!1);var P=D.firstChild;P||ju(!1);var L;P.nodeType===Node.TEXT_NODE?L=P:tE(P)?L=D:(L=P.firstChild,L||ju(!1)),nE(a,L,b,g,k)}}},i.shouldComponentUpdate=function(a){var u=this.leaf;u||ju(!1);var f=u.textContent!==a.text||a.styleSet!==this.props.styleSet||a.forceSelection;return f},i.componentDidUpdate=function(){this._setSelection()},i.componentDidMount=function(){this._setSelection()},i.render=function(){var a=this,u=this.props.block,f=this.props.text;f.endsWith(`
17
- `)&&this.props.isLast&&(f+=`
18
- `);var g=this.props,y=g.customStyleMap,b=g.customStyleFn,k=g.offsetKey,D=g.styleSet,P=D.reduce(function(T,F){var R={},j=y[F];return j!==void 0&&T.textDecoration!==j.textDecoration&&(R.textDecoration=[T.textDecoration,j.textDecoration].join(" ").trim()),Yh(T,j,R)},{});if(b){var L=b(D,u);P=Yh(P,L)}return Tc.createElement("span",{"data-offset-key":k,ref:function(T){return a.leaf=T},style:P},Tc.createElement(eE,null,f))},r}(Tc.Component),Wh=rE,zc,Gh;function iE(){if(Gh)return zc;Gh=1;function t(b,k){b.prototype=Object.create(k.prototype),b.prototype.constructor=b,b.__proto__=k}var r=Ox(),i=Wh,a=Ji,u=mt,f=q,g=ta;u.List;var y=function(b){t(k,b);function k(){return b.apply(this,arguments)||this}var D=k.prototype;return D.render=function(){var P=this.props,L=P.block,T=P.contentState,F=P.customStyleFn,R=P.customStyleMap,j=P.decorator,ne=P.direction,Y=P.forceSelection,W=P.hasSelection,J=P.selection,le=P.tree,Se=L.getKey(),_e=L.getText(),Ie=le.size-1,ve=this.props.children||le.map(function(ke,we){var he=ke.get("decoratorKey"),ge=ke.get("leaves"),De=ge.size-1,je=ge.map(function(Ce,He){var ue=a.encode(Se,we,He),fe=Ce.get("start"),ae=Ce.get("end");return f.createElement(i,{key:ue,offsetKey:ue,block:L,start:fe,selection:W?J:null,forceSelection:Y,text:_e.slice(fe,ae),styleSet:L.getInlineStyleAt(fe),customStyleMap:R,customStyleFn:F,isLast:he===Ie&&He===De})}).toArray();return!he||!j?je:f.createElement(r,{block:L,children:je,contentState:T,decorator:j,decoratorKey:he,direction:ne,leafSet:ke,text:_e,key:we})}).toArray();return f.createElement("div",{"data-offset-key":a.encode(Se,0,0),className:g({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":ne==="LTR","public/DraftStyleDefault/rtl":ne==="RTL"})},ve)},k}(f.Component);return zc=y,zc}function Tu(t,r){return!!r&&(t===r.documentElement||t===r.body)}var oE={getTop:function(t){var r=t.ownerDocument;return Tu(t,r)?r.body.scrollTop||r.documentElement.scrollTop:t.scrollTop},setTop:function(t,r){var i=t.ownerDocument;Tu(t,i)?i.body.scrollTop=i.documentElement.scrollTop=r:t.scrollTop=r},getLeft:function(t){var r=t.ownerDocument;return Tu(t,r)?r.body.scrollLeft||r.documentElement.scrollLeft:t.scrollLeft},setLeft:function(t,r){var i=t.ownerDocument;Tu(t,i)?i.body.scrollLeft=i.documentElement.scrollLeft=r:t.scrollLeft=r}},Hc=oE,aE=/-(.)/g;function lE(t){return t.replace(aE,function(r,i){return i.toUpperCase()})}var uE=lE,sE=/([A-Z])/g;function cE(t){return t.replace(sE,"-$1").toLowerCase()}var fE=cE,em=uE,tm=fE;function zu(t){return t==null?t:String(t)}function dE(t,r){var i;if(window.getComputedStyle&&(i=window.getComputedStyle(t,null),i))return zu(i.getPropertyValue(tm(r)));if(document.defaultView&&document.defaultView.getComputedStyle){if(i=document.defaultView.getComputedStyle(t,null),i)return zu(i.getPropertyValue(tm(r)));if(r==="display")return"none"}return t.currentStyle?zu(r==="float"?t.currentStyle.cssFloat||t.currentStyle.styleFloat:t.currentStyle[em(r)]):zu(t.style&&t.style[em(r)])}var pE=dE,hE=pE;function qc(t,r){var i=nm.get(t,r);return i==="auto"||i==="scroll"}var nm={get:hE,getScrollParent:function(t){if(!t)return null;for(var r=t.ownerDocument;t&&t!==r.body;){if(qc(t,"overflow")||qc(t,"overflowY")||qc(t,"overflowX"))return t;t=t.parentNode}return r.defaultView||r.parentWindow}},Hu=nm,mE=Kc;function gE(t){var r=t.ownerDocument.documentElement;if(!("getBoundingClientRect"in t)||!mE(r,t))return{left:0,right:0,top:0,bottom:0};var i=t.getBoundingClientRect();return{left:Math.round(i.left)-r.clientLeft,right:Math.round(i.right)-r.clientLeft,top:Math.round(i.top)-r.clientTop,bottom:Math.round(i.bottom)-r.clientTop}}var vE=gE,yE=vE;function bE(t){var r=yE(t);return{x:r.left,y:r.top,width:r.right-r.left,height:r.bottom-r.top}}var rm=bE,_E=typeof navigator<"u"&&navigator.userAgent.indexOf("AppleWebKit")>-1;function wE(t){return t=t||document,t.scrollingElement?t.scrollingElement:!_E&&t.compatMode==="CSS1Compat"?t.documentElement:t.body}var SE=wE;function kE(t){return t.Window&&t instanceof t.Window?{x:t.pageXOffset||t.document.documentElement.scrollLeft,y:t.pageYOffset||t.document.documentElement.scrollTop}:{x:t.scrollLeft,y:t.scrollTop}}var xE=kE,EE=SE,OE=xE;function NE(t){var r=EE(t.ownerDocument||t.document);t.Window&&t instanceof t.Window&&(t=r);var i=OE(t),a=t===r?t.ownerDocument.documentElement:t,u=t.scrollWidth-a.clientWidth,f=t.scrollHeight-a.clientHeight;return i.x=Math.max(0,Math.min(i.x,u)),i.y=Math.max(0,Math.min(i.y,f)),i}var qu=NE;function im(){var t;return document.documentElement&&(t=document.documentElement.clientWidth),!t&&document.body&&(t=document.body.clientWidth),t||0}function om(){var t;return document.documentElement&&(t=document.documentElement.clientHeight),!t&&document.body&&(t=document.body.clientHeight),t||0}function am(){return{width:window.innerWidth||im(),height:window.innerHeight||om()}}am.withoutScrollbars=function(){return{width:im(),height:om()}};var lm=am,Ac,um;function DE(){if(um)return Ac;um=1;var t=na;function r(){return r=t||function(ve){for(var ke=1;ke<arguments.length;ke++){var we=arguments[ke];for(var he in we)Object.prototype.hasOwnProperty.call(we,he)&&(ve[he]=we[he])}return ve},r.apply(this,arguments)}function i(ve){if(ve===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return ve}function a(ve,ke){ve.prototype=Object.create(ke.prototype),ve.prototype.constructor=ve,ve.__proto__=ke}function u(ve){for(var ke=1;ke<arguments.length;ke++){var we=arguments[ke]!=null?arguments[ke]:{},he=Object.keys(we);typeof Object.getOwnPropertySymbols=="function"&&(he=he.concat(Object.getOwnPropertySymbols(we).filter(function(ge){return Object.getOwnPropertyDescriptor(we,ge).enumerable}))),he.forEach(function(ge){f(ve,ge,we[ge])})}return ve}function f(ve,ke,we){return ke in ve?Object.defineProperty(ve,ke,{value:we,enumerable:!0,configurable:!0,writable:!0}):ve[ke]=we,ve}var g=iE(),y=Ji,b=q,k=Hc,D=Hu,P=rm,L=qu,T=lm,F=mt,R=_t,j=Dl,ne=10;F.List;var Y=function(ve,ke){return ve.getAnchorKey()===ke||ve.getFocusKey()===ke},W=function(ve,ke){var we=ve.getNextSiblingKey();return we?ke.getBlockForKey(we).getType()===ve.getType():!1},J=function(ve,ke,we){var he=[],ge=!0,De=!1,je=void 0;try{for(var Ce=we.reverse()[Symbol.iterator](),He;!(ge=(He=Ce.next()).done);ge=!0){var ue=He.value;if(ue.type!==ke)break;he.push(ue)}}catch(Me){De=!0,je=Me}finally{try{!ge&&Ce.return!=null&&Ce.return()}finally{if(De)throw je}}we.splice(we.indexOf(he[0]),he.length+1);var fe=he.reverse(),ae=fe[0].key;return we.push(b.cloneElement(ve,{key:"".concat(ae,"-wrap"),"data-offset-key":y.encode(ae,0,0)},fe)),we},le=function(ve,ke){var we=ke.get(ve.getType())||ke.get("unstyled"),he=we.wrapper,ge=we.element||ke.get("unstyled").element;return{Element:ge,wrapperTemplate:he}},Se=function(ve,ke){var we=ke(ve);if(!we)return{};var he=we.component,ge=we.props,De=we.editable;return{CustomComponent:he,customProps:ge,customEditable:De}},_e=function(ve,ke,we,he,ge,De){var je={"data-block":!0,"data-editor":ke,"data-offset-key":we,key:ve.getKey(),ref:De},Ce=he(ve);return Ce&&(je.className=Ce),ge.customEditable!==void 0&&(je=u({},je,{contentEditable:ge.customEditable,suppressContentEditableWarning:!0})),je},Ie=function(ve){a(ke,ve);function ke(){for(var he,ge=arguments.length,De=new Array(ge),je=0;je<ge;je++)De[je]=arguments[je];return he=ve.call.apply(ve,[this].concat(De))||this,f(i(he),"wrapperRef",b.createRef()),he}var we=ke.prototype;return we.shouldComponentUpdate=function(he){var ge=this.props,De=ge.block,je=ge.direction,Ce=ge.tree,He=!De.getChildKeys().isEmpty(),ue=De!==he.block||Ce!==he.tree||je!==he.direction||Y(he.selection,he.block.getKey())&&he.forceSelection;return He||ue},we.componentDidMount=function(){var he=this.props.selection,ge=he.getEndKey();if(!(!he.getHasFocus()||ge!==this.props.block.getKey())){var De=this.wrapperRef.current;if(De){var je=D.getScrollParent(De),Ce=L(je),He;if(je===window){var ue=P(De),fe=ue.y+ue.height,ae=T().height;He=fe-ae,He>0&&window.scrollTo(Ce.x,Ce.y+He+ne)}else{j(De)||R(!1);var Me=De,Ye=Me.offsetHeight+Me.offsetTop,kt=je.offsetHeight+Ce.y;He=Ye-kt,He>0&&k.setTop(je,k.getTop(je)+He+ne)}}}},we.render=function(){var he=this,ge=this.props,De=ge.block,je=ge.blockRenderMap,Ce=ge.blockRendererFn,He=ge.blockStyleFn,ue=ge.contentState,fe=ge.decorator,ae=ge.editorKey,Me=ge.editorState,Ye=ge.customStyleFn,kt=ge.customStyleMap,Mt=ge.direction,Ae=ge.forceSelection,Te=ge.selection,dt=ge.tree,Pt=null;De.children.size&&(Pt=De.children.reduce(function(pn,Lt){var Et=y.encode(Lt,0,0),rt=ue.getBlockForKey(Lt),pt=Se(rt,Ce),Ft=pt.CustomComponent||ke,Fe=le(rt,je),nt=Fe.Element,Je=Fe.wrapperTemplate,ht=_e(rt,ae,Et,He,pt,null),Ge=u({},he.props,{tree:Me.getBlockTree(Lt),blockProps:pt.customProps,offsetKey:Et,block:rt});return pn.push(b.createElement(nt,ht,b.createElement(Ft,Ge))),!Je||W(rt,ue)||J(Je,nt,pn),pn},[]));var Kt=De.getKey(),Ct=y.encode(Kt,0,0),xt=Se(De,Ce),Jt=xt.CustomComponent,$e=Jt!=null?b.createElement(Jt,r({},this.props,{tree:Me.getBlockTree(Kt),blockProps:xt.customProps,offsetKey:Ct,block:De})):b.createElement(g,{block:De,children:Pt,contentState:ue,customStyleFn:Ye,customStyleMap:kt,decorator:fe,direction:Mt,forceSelection:Ae,hasSelection:Y(Te,Kt),selection:Te,tree:dt});if(De.getParentKey())return $e;var ut=le(De,je),lt=ut.Element,Bt=_e(De,ae,Ct,He,xt,this.wrapperRef);return b.createElement(lt,Bt,$e)},ke}(b.Component);return Ac=Ie,Ac}var Uc,sm;function ME(){if(sm)return Uc;sm=1;var t=na;function r(){return r=t||function(b){for(var k=1;k<arguments.length;k++){var D=arguments[k];for(var P in D)Object.prototype.hasOwnProperty.call(D,P)&&(b[P]=D[P])}return b},r.apply(this,arguments)}function i(b,k){b.prototype=Object.create(k.prototype),b.prototype.constructor=b,b.__proto__=k}var a=DE(),u=Ji,f=q,g=ur,y=function(b){i(k,b);function k(){return b.apply(this,arguments)||this}var D=k.prototype;return D.shouldComponentUpdate=function(P){var L=this.props.editorState,T=P.editorState,F=L.getDirectionMap(),R=T.getDirectionMap();if(F!==R)return!0;var j=L.getSelection().getHasFocus(),ne=T.getSelection().getHasFocus();if(j!==ne)return!0;var Y=T.getNativelyRenderedContent(),W=L.isInCompositionMode(),J=T.isInCompositionMode();if(L===T||Y!==null&&T.getCurrentContent()===Y||W&&J)return!1;var le=L.getCurrentContent(),Se=T.getCurrentContent(),_e=L.getDecorator(),Ie=T.getDecorator();return W!==J||le!==Se||_e!==Ie||T.mustForceSelection()},D.render=function(){for(var P=this.props,L=P.blockRenderMap,T=P.blockRendererFn,F=P.blockStyleFn,R=P.customStyleMap,j=P.customStyleFn,ne=P.editorState,Y=P.editorKey,W=P.textDirectionality,J=ne.getCurrentContent(),le=ne.getSelection(),Se=ne.mustForceSelection(),_e=ne.getDecorator(),Ie=g(ne.getDirectionMap()),ve=J.getBlocksAsArray(),ke=ve[0],we=[],he=ke;he;){var ge=he.getKey(),De={blockRenderMap:L,blockRendererFn:T,blockStyleFn:F,contentState:J,customStyleFn:j,customStyleMap:R,decorator:_e,editorKey:Y,editorState:ne,forceSelection:Se,selection:le,block:he,direction:W||Ie.get(ge),tree:ne.getBlockTree(ge)},je=L.get(he.getType())||L.get("unstyled"),Ce=je.wrapper;we.push({block:f.createElement(a,r({key:ge},De)),wrapperTemplate:Ce,key:ge,offsetKey:u.encode(ge,0,0)});var He=he.getNextSiblingKey();he=He?J.getBlockForKey(He):null}for(var ue=[],fe=0;fe<we.length;){var ae=we[fe];if(ae.wrapperTemplate){var Me=[];do Me.push(we[fe].block),fe++;while(fe<we.length&&we[fe].wrapperTemplate===ae.wrapperTemplate);var Ye=f.cloneElement(ae.wrapperTemplate,{key:ae.key+"-wrap","data-offset-key":ae.offsetKey},Me);ue.push(Ye)}else ue.push(ae.block),fe++}return f.createElement("div",{"data-contents":"true"},ue)},k}(f.Component);return Uc=y,Uc}var LE=na;function Vc(){return Vc=LE||function(t){for(var r=1;r<arguments.length;r++){var i=arguments[r];for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(t[a]=i[a])}return t},Vc.apply(this,arguments)}function CE(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function BE(t,r){t.prototype=Object.create(r.prototype),t.prototype.constructor=t,t.__proto__=r}function FE(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}var PE=Wh,cm=Ji,Au=q,fm=Hc,KE=Hu,RE=bc,IE=wu,jE=ta,TE=rm,zE=qu,HE=lm,qE=_t,AE=Dl,UE=ur,dm=10,pm=function(t,r){return t.getAnchorKey()===r||t.getFocusKey()===r},VE=function(t){BE(r,t);function r(){for(var a,u=arguments.length,f=new Array(u),g=0;g<u;g++)f[g]=arguments[g];return a=t.call.apply(t,[this].concat(f))||this,FE(CE(a),"_node",void 0),a}var i=r.prototype;return i.shouldComponentUpdate=function(a){return this.props.block!==a.block||this.props.tree!==a.tree||this.props.direction!==a.direction||pm(a.selection,a.block.getKey())&&a.forceSelection},i.componentDidMount=function(){if(!this.props.preventScroll){var a=this.props.selection,u=a.getEndKey();if(!(!a.getHasFocus()||u!==this.props.block.getKey())){var f=this._node;if(f!=null){var g=KE.getScrollParent(f),y=zE(g),b;if(g===window){var k=TE(f),D=k.y+k.height,P=HE().height;b=D-P,b>0&&window.scrollTo(y.x,y.y+b+dm)}else{AE(f)||qE(!1);var L=f.offsetHeight+f.offsetTop,T=g.offsetTop+g.offsetHeight,F=T+y.y;b=L-F,b>0&&fm.setTop(g,fm.getTop(g)+b+dm)}}}}},i._renderChildren=function(){var a=this,u=this.props.block,f=u.getKey(),g=u.getText(),y=this.props.tree.size-1,b=pm(this.props.selection,f);return this.props.tree.map(function(k,D){var P=k.get("leaves");if(P.size===0)return null;var L=P.size-1,T=P.map(function(ve,ke){var we=cm.encode(f,D,ke),he=ve.get("start"),ge=ve.get("end");return Au.createElement(PE,{key:we,offsetKey:we,block:u,start:he,selection:b?a.props.selection:null,forceSelection:a.props.forceSelection,text:g.slice(he,ge),styleSet:u.getInlineStyleAt(he),customStyleMap:a.props.customStyleMap,customStyleFn:a.props.customStyleFn,isLast:D===y&&ke===L})}).toArray(),F=k.get("decoratorKey");if(F==null||!a.props.decorator)return T;var R=UE(a.props.decorator),j=R.getComponentForKey(F);if(!j)return T;var ne=R.getPropsForKey(F),Y=cm.encode(f,D,0),W=P.first().get("start"),J=P.last().get("end"),le=g.slice(W,J),Se=u.getEntityAt(k.get("start")),_e=IE.getHTMLDirIfDifferent(RE.getDirection(le),a.props.direction),Ie={contentState:a.props.contentState,decoratedText:le,dir:_e,start:W,end:J,blockKey:f,entityKey:Se,offsetKey:Y};return Au.createElement(j,Vc({},ne,Ie,{key:Y}),T)}).toArray()},i.render=function(){var a=this,u=this.props,f=u.direction,g=u.offsetKey,y=jE({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":f==="LTR","public/DraftStyleDefault/rtl":f==="RTL"});return Au.createElement("div",{"data-offset-key":g,className:y,ref:function(b){return a._node=b}},this._renderChildren())},r}(Au.Component),hm=VE,Qc,mm;function QE(){if(mm)return Qc;mm=1;function t(r){var i=r||"",a=arguments.length;if(a>1)for(var u=1;u<a;u++){var f=arguments[u];f&&(i=(i?i+" ":"")+f)}return i}return Qc=t,Qc}var $c,gm;function $E(){if(gm)return $c;gm=1;var t=na;function r(){return r=t||function(T){for(var F=1;F<arguments.length;F++){var R=arguments[F];for(var j in R)Object.prototype.hasOwnProperty.call(R,j)&&(T[j]=R[j])}return T},r.apply(this,arguments)}function i(T){for(var F=1;F<arguments.length;F++){var R=arguments[F]!=null?arguments[F]:{},j=Object.keys(R);typeof Object.getOwnPropertySymbols=="function"&&(j=j.concat(Object.getOwnPropertySymbols(R).filter(function(ne){return Object.getOwnPropertyDescriptor(R,ne).enumerable}))),j.forEach(function(ne){a(T,ne,R[ne])})}return T}function a(T,F,R){return F in T?Object.defineProperty(T,F,{value:R,enumerable:!0,configurable:!0,writable:!0}):T[F]=R,T}function u(T,F){T.prototype=Object.create(F.prototype),T.prototype.constructor=T,T.__proto__=F}var f=hm,g=Ji,y=q,b=ta,k=QE(),D=ur,P=function(T,F,R,j){return b({"public/DraftStyleDefault/unorderedListItem":T==="unordered-list-item","public/DraftStyleDefault/orderedListItem":T==="ordered-list-item","public/DraftStyleDefault/reset":R,"public/DraftStyleDefault/depth0":F===0,"public/DraftStyleDefault/depth1":F===1,"public/DraftStyleDefault/depth2":F===2,"public/DraftStyleDefault/depth3":F===3,"public/DraftStyleDefault/depth4":F>=4,"public/DraftStyleDefault/listLTR":j==="LTR","public/DraftStyleDefault/listRTL":j==="RTL"})},L=function(T){u(F,T);function F(){return T.apply(this,arguments)||this}var R=F.prototype;return R.shouldComponentUpdate=function(j){var ne=this.props.editorState,Y=j.editorState,W=ne.getDirectionMap(),J=Y.getDirectionMap();if(W!==J)return!0;var le=ne.getSelection().getHasFocus(),Se=Y.getSelection().getHasFocus();if(le!==Se)return!0;var _e=Y.getNativelyRenderedContent(),Ie=ne.isInCompositionMode(),ve=Y.isInCompositionMode();if(ne===Y||_e!==null&&Y.getCurrentContent()===_e||Ie&&ve)return!1;var ke=ne.getCurrentContent(),we=Y.getCurrentContent(),he=ne.getDecorator(),ge=Y.getDecorator();return Ie!==ve||ke!==we||he!==ge||Y.mustForceSelection()},R.render=function(){for(var j=this.props,ne=j.blockRenderMap,Y=j.blockRendererFn,W=j.blockStyleFn,J=j.customStyleMap,le=j.customStyleFn,Se=j.editorState,_e=j.editorKey,Ie=j.preventScroll,ve=j.textDirectionality,ke=Se.getCurrentContent(),we=Se.getSelection(),he=Se.mustForceSelection(),ge=Se.getDecorator(),De=D(Se.getDirectionMap()),je=ke.getBlocksAsArray(),Ce=[],He=null,ue=null,fe=0;fe<je.length;fe++){var ae=je[fe],Me=ae.getKey(),Ye=ae.getType(),kt=Y(ae),Mt=void 0,Ae=void 0,Te=void 0;kt&&(Mt=kt.component,Ae=kt.props,Te=kt.editable);var dt=ve||De.get(Me),Pt=g.encode(Me,0,0),Kt={contentState:ke,block:ae,blockProps:Ae,blockStyleFn:W,customStyleMap:J,customStyleFn:le,decorator:ge,direction:dt,forceSelection:he,offsetKey:Pt,preventScroll:Ie,selection:we,tree:Se.getBlockTree(Me)},Ct=ne.get(Ye)||ne.get("unstyled"),xt=Ct.wrapper,Jt=Ct.element||ne.get("unstyled").element,$e=ae.getDepth(),ut="";if(W&&(ut=W(ae)),Jt==="li"){var lt=ue!==xt||He===null||$e>He;ut=k(ut,P(Ye,$e,lt,dt))}var Bt=Mt||f,pn={className:ut,"data-block":!0,"data-editor":_e,"data-offset-key":Pt,key:Me};Te!==void 0&&(pn=i({},pn,{contentEditable:Te,suppressContentEditableWarning:!0}));var Lt=y.createElement(Jt,pn,y.createElement(Bt,r({},Kt,{key:Me})));Ce.push({block:Lt,wrapperTemplate:xt,key:Me,offsetKey:Pt}),xt?He=ae.getDepth():He=null,ue=xt}for(var Et=[],rt=0;rt<Ce.length;){var pt=Ce[rt];if(pt.wrapperTemplate){var Ft=[];do Ft.push(Ce[rt].block),rt++;while(rt<Ce.length&&Ce[rt].wrapperTemplate===pt.wrapperTemplate);var Fe=y.cloneElement(pt.wrapperTemplate,{key:pt.key+"-wrap","data-offset-key":pt.offsetKey},Ft);Et.push(Fe)}else Et.push(pt.block),rt++}return y.createElement("div",{"data-contents":"true"},Et)},F}(y.Component);return $c=L,$c}var XE=wo,ZE=XE("draft_tree_data_support"),JE=ZE?ME():$E(),vm={isImage:function(t){return ym(t)[0]==="image"},isJpeg:function(t){var r=ym(t);return vm.isImage(t)&&(r[1]==="jpeg"||r[1]==="pjpeg")}};function ym(t){return t.split("/")}var YE=vm,Uu=_t;function WE(t){var r=t.length;if(!Array.isArray(t)&&(typeof t=="object"||typeof t=="function")||Uu(!1),typeof r!="number"&&Uu(!1),r===0||r-1 in t||Uu(!1),typeof t.callee=="function"&&Uu(!1),t.hasOwnProperty)try{return Array.prototype.slice.call(t)}catch{}for(var i=Array(r),a=0;a<r;a++)i[a]=t[a];return i}function GE(t){return!!t&&(typeof t=="object"||typeof t=="function")&&"length"in t&&!("setInterval"in t)&&typeof t.nodeType!="number"&&(Array.isArray(t)||"callee"in t||"item"in t)}function eO(t){return GE(t)?Array.isArray(t)?t.slice():WE(t):[t]}var tO=eO;function Vu(t){return function(){return t}}var oa=function(){};oa.thatReturns=Vu,oa.thatReturnsFalse=Vu(!1),oa.thatReturnsTrue=Vu(!0),oa.thatReturnsNull=Vu(null),oa.thatReturnsThis=function(){return this},oa.thatReturnsArgument=function(t){return t};var nO=oa,rO=YE,iO=tO,oO=nO,aO=new RegExp(`\r
19
- `,"g"),lO=`
20
- `,uO={"text/rtf":1,"text/html":1};function sO(t){if(t.kind=="file")return t.getAsFile()}var cO=function(){function t(i){this.data=i,this.types=i.types?iO(i.types):[]}var r=t.prototype;return r.isRichText=function(){return this.getHTML()&&this.getText()?!0:this.isImage()?!1:this.types.some(function(i){return uO[i]})},r.getText=function(){var i;return this.data.getData&&(this.types.length?this.types.indexOf("text/plain")!=-1&&(i=this.data.getData("text/plain")):i=this.data.getData("Text")),i?i.replace(aO,lO):null},r.getHTML=function(){if(this.data.getData)if(this.types.length){if(this.types.indexOf("text/html")!=-1)return this.data.getData("text/html")}else return this.data.getData("Text")},r.isLink=function(){return this.types.some(function(i){return i.indexOf("Url")!=-1||i.indexOf("text/uri-list")!=-1||i.indexOf("text/x-moz-url")})},r.getLink=function(){if(this.data.getData){if(this.types.indexOf("text/x-moz-url")!=-1){var i=this.data.getData("text/x-moz-url").split(`
21
- `);return i[0]}return this.types.indexOf("text/uri-list")!=-1?this.data.getData("text/uri-list"):this.data.getData("url")}return null},r.isImage=function(){var i=this.types.some(function(g){return g.indexOf("application/x-moz-file")!=-1});if(i)return!0;for(var a=this.getFiles(),u=0;u<a.length;u++){var f=a[u].type;if(!rO.isImage(f))return!1}return!0},r.getCount=function(){return this.data.hasOwnProperty("items")?this.data.items.length:this.data.hasOwnProperty("mozItemCount")?this.data.mozItemCount:this.data.files?this.data.files.length:null},r.getFiles=function(){return this.data.items?Array.prototype.slice.call(this.data.items).map(sO).filter(oO.thatReturnsArgument):this.data.files?Array.prototype.slice.call(this.data.files):[]},r.hasFiles=function(){return this.getFiles().length>0},t}(),bm=cO,fO=_t,_m=/\.textClipping$/,dO={"text/plain":!0,"text/html":!0,"text/rtf":!0},pO=5e3;function hO(t,r){var i=0,a=[];t.forEach(function(u){mO(u,function(f){i++,f&&a.push(f.slice(0,pO)),i==t.length&&r(a.join("\r"))})})}function mO(t,r){if(!La.FileReader||t.type&&!(t.type in dO)){r("");return}if(t.type===""){var i="";_m.test(t.name)&&(i=t.name.replace(_m,"")),r(i);return}var a=new FileReader;a.onload=function(){var u=a.result;typeof u!="string"&&fO(!1),r(u)},a.onerror=function(){r("")},a.readAsText(t)}var wm=hO;function gO(t){return t==="handled"||t===!0}var Qu=gO,vO=bm,Sm=lr,km=zt,yO=Lu,bO=Mu,_O=wm,wO=Lh,SO=kh,xm=Qu,Xc=ur;function kO(t,r){var i=null,a=null,u=bO(t.currentTarget);if(typeof u.caretRangeFromPoint=="function"){var f=u.caretRangeFromPoint(t.x,t.y);i=f.startContainer,a=f.startOffset}else if(t.rangeParent)i=t.rangeParent,a=t.rangeOffset;else return null;i=Xc(i),a=Xc(a);var g=Xc(yO(i));return wO(r,g,a,g,a)}var xO={onDragEnd:function(t){t.exitCurrentMode(),Em(t)},onDrop:function(t,r){var i=new vO(r.nativeEvent.dataTransfer),a=t._latestEditorState,u=kO(r.nativeEvent,a);if(r.preventDefault(),t._dragCount=0,t.exitCurrentMode(),u!=null){var f=i.getFiles();if(f.length>0){if(t.props.handleDroppedFiles&&xm(t.props.handleDroppedFiles(u,f)))return;_O(f,function(y){y&&t.update(Om(a,u,y))});return}var g=t._internalDrag?"internal":"external";t.props.handleDrop&&xm(t.props.handleDrop(u,i,g))||(t._internalDrag?t.update(EO(a,u)):t.update(Om(a,u,i.getText()))),Em(t)}}};function Em(t){t._internalDrag=!1;var r=t.editorContainer;if(r){var i=new MouseEvent("mouseup",{view:SO(r),bubbles:!0,cancelable:!0});r.dispatchEvent(i)}}function EO(t,r){var i=Sm.moveText(t.getCurrentContent(),t.getSelection(),r);return km.push(t,i,"insert-fragment")}function Om(t,r,i){var a=Sm.insertText(t.getCurrentContent(),r,i,t.getCurrentInlineStyle());return km.push(t,a,"insert-fragment")}var OO=xO;function NO(t){var r=t.getSelection(),i=r.getAnchorKey(),a=t.getBlockTree(i),u=r.getStartOffset(),f=!1;return a.some(function(g){return u===g.get("start")?(f=!0,!0):u<g.get("end")?g.get("leaves").some(function(y){var b=y.get("start");return u===b?(f=!0,!0):!1}):!1}),f}var DO=NO;(function(t,r){if(t.setImmediate)return;var i=1,a={},u=!1,f=t.document,g;function y(Y){typeof Y!="function"&&(Y=new Function(""+Y));for(var W=new Array(arguments.length-1),J=0;J<W.length;J++)W[J]=arguments[J+1];var le={callback:Y,args:W};return a[i]=le,g(i),i++}function b(Y){delete a[Y]}function k(Y){var W=Y.callback,J=Y.args;switch(J.length){case 0:W();break;case 1:W(J[0]);break;case 2:W(J[0],J[1]);break;case 3:W(J[0],J[1],J[2]);break;default:W.apply(r,J);break}}function D(Y){if(u)setTimeout(D,0,Y);else{var W=a[Y];if(W){u=!0;try{k(W)}finally{b(Y),u=!1}}}}function P(){g=function(Y){process.nextTick(function(){D(Y)})}}function L(){if(t.postMessage&&!t.importScripts){var Y=!0,W=t.onmessage;return t.onmessage=function(){Y=!1},t.postMessage("","*"),t.onmessage=W,Y}}function T(){var Y="setImmediate$"+Math.random()+"$",W=function(J){J.source===t&&typeof J.data=="string"&&J.data.indexOf(Y)===0&&D(+J.data.slice(Y.length))};t.addEventListener?t.addEventListener("message",W,!1):t.attachEvent("onmessage",W),g=function(J){t.postMessage(Y+J,"*")}}function F(){var Y=new MessageChannel;Y.port1.onmessage=function(W){var J=W.data;D(J)},g=function(W){Y.port2.postMessage(W)}}function R(){var Y=f.documentElement;g=function(W){var J=f.createElement("script");J.onreadystatechange=function(){D(W),J.onreadystatechange=null,Y.removeChild(J),J=null},Y.appendChild(J)}}function j(){g=function(Y){setTimeout(D,0,Y)}}var ne=Object.getPrototypeOf&&Object.getPrototypeOf(t);ne=ne&&ne.setTimeout?ne:t,{}.toString.call(t.process)==="[object process]"?P():L()?T():t.MessageChannel?F():f&&"onreadystatechange"in f.createElement("script")?R():j(),ne.setImmediate=y,ne.clearImmediate=b})(typeof self>"u"?La:self);var MO=La.setImmediate,LO=lr,Zc=zt,CO=sr,Nm=Mc,BO=Qu,FO=DO,Dm=ur,PO=MO,KO="'",RO="/",IO=CO.isBrowser("Firefox");function jO(t){return IO&&(t==KO||t==RO)}function Mm(t,r,i,a,u){var f=LO.replaceText(t.getCurrentContent(),t.getSelection(),r,i,a);return Zc.push(t,f,"insert-characters",u)}function TO(t,r){t._pendingStateFromBeforeInput!==void 0&&(t.update(t._pendingStateFromBeforeInput),t._pendingStateFromBeforeInput=void 0);var i=t._latestEditorState,a=r.data;if(a){if(t.props.handleBeforeInput&&BO(t.props.handleBeforeInput(a,i,r.timeStamp))){r.preventDefault();return}var u=i.getSelection(),f=u.getStartOffset(),g=u.getAnchorKey();if(!u.isCollapsed()){r.preventDefault(),t.update(Mm(i,a,i.getCurrentInlineStyle(),Nm(i.getCurrentContent(),i.getSelection()),!0));return}var y=Mm(i,a,i.getCurrentInlineStyle(),Nm(i.getCurrentContent(),i.getSelection()),!1),b=!1;if(b||(b=FO(t._latestCommittedEditorState)),!b){var k=i.getBlockTree(g),D=y.getBlockTree(g);b=k.size!==D.size||k.zip(D).some(function(P){var L=P[0],T=P[1],F=L.get("start"),R=F+(F>=f?a.length:0),j=L.get("end"),ne=j+(j>=f?a.length:0),Y=T.get("start"),W=T.get("end"),J=T.get("decoratorKey");return L.get("decoratorKey")!==J||L.get("leaves").size!==T.get("leaves").size||R!==Y||ne!==W||J!=null&&W-Y!==j-F})}if(b||(b=jO(a)),b||(b=Dm(y.getDirectionMap()).get(g)!==Dm(i.getDirectionMap()).get(g)),b){r.preventDefault(),y=Zc.set(y,{forceSelection:!0}),t.update(y);return}y=Zc.set(y,{nativelyRenderedContent:y.getCurrentContent()}),t._pendingStateFromBeforeInput=y,PO(function(){t._pendingStateFromBeforeInput!==void 0&&(t.update(t._pendingStateFromBeforeInput),t._pendingStateFromBeforeInput=void 0)})}}var zO=TO,HO=zt,Lm=Kc,qO=Qh;function AO(t,r){var i=r.currentTarget.ownerDocument;if(!t.props.preserveSelectionOnBlur&&qO(i)===i.body){var a=i.defaultView.getSelection(),u=t.editor;a.rangeCount===1&&Lm(u,a.anchorNode)&&Lm(u,a.focusNode)&&a.removeAllRanges()}var f=t._latestEditorState,g=f.getSelection();if(g.getHasFocus()){var y=g.set("hasFocus",!1);t.props.onBlur&&t.props.onBlur(r),t.update(HO.acceptSelection(f,y))}}var UO=AO,VO=zt;function QO(t,r){t.setMode("composite"),t.update(VO.set(t._latestEditorState,{inCompositionMode:!0})),t._onCompositionStart(r)}var $O=QO,XO=cu;function ZO(t){var r=t.getSelection();return r.isCollapsed()?null:XO(t.getCurrentContent(),r)}var Cm=ZO,JO=Cm;function YO(t,r){var i=t._latestEditorState,a=i.getSelection();if(a.isCollapsed()){r.preventDefault();return}t.setClipboard(JO(t._latestEditorState))}var WO=YO;function GO(t){if(!t||!("ownerDocument"in t))return!1;if("ownerDocument"in t){var r=t;if(!r.ownerDocument.defaultView)return r instanceof Node;if(r instanceof r.ownerDocument.defaultView.Node)return!0}return!1}var eN=GO,tN=lr,nN=zt,rN=Hu,iN=Cm,oN=qu,aN=eN;function lN(t,r){var i=t._latestEditorState,a=i.getSelection(),u=r.target,f;if(a.isCollapsed()){r.preventDefault();return}if(aN(u)){var g=u;f=oN(rN.getScrollParent(g))}var y=iN(i);t.setClipboard(y),t.setMode("cut"),setTimeout(function(){t.restoreEditorDOM(f),t.exitCurrentMode(),t.update(uN(i))},0)}function uN(t){var r=tN.removeRange(t.getCurrentContent(),t.getSelection(),"forward");return nN.push(t,r,"remove-range")}var sN=lN;function cN(t,r){t.setMode("drag"),r.preventDefault()}var fN=cN;function dN(t){t._internalDrag=!0,t.setMode("drag")}var pN=dN,Bm=zt,hN=sr;function mN(t,r){var i=t._latestEditorState,a=i.getSelection();if(!a.getHasFocus()){var u=a.set("hasFocus",!0);t.props.onFocus&&t.props.onFocus(r),hN.isBrowser("Chrome < 60.0.3081.0")?t.update(Bm.forceSelection(i,u)):t.update(Bm.acceptSelection(i,u))}}var gN=mN,vN=_t,Fm=55296,yN=56319,bN=56320,Pm=57343,_N=/[\uD800-\uDFFF]/;function Km(t){return Fm<=t&&t<=Pm}function wN(t,r){if(0<=r&&r<t.length||vN(!1),r+1===t.length)return!1;var i=t.charCodeAt(r),a=t.charCodeAt(r+1);return Fm<=i&&i<=yN&&bN<=a&&a<=Pm}function Jc(t){return _N.test(t)}function ja(t,r){return 1+Km(t.charCodeAt(r))}function SN(t){if(!Jc(t))return t.length;for(var r=0,i=0;i<t.length;i+=ja(t,i))r++;return r}function Rm(t,r,i){if(r=r||0,i=i===void 0?1/0:i||0,!Jc(t))return t.substr(r,i);var a=t.length;if(a<=0||r>a||i<=0)return"";var u=0;if(r>0){for(;r>0&&u<a;r--)u+=ja(t,u);if(u>=a)return""}else if(r<0){for(u=a;r<0&&0<u;r++)u-=ja(t,u-1);u<0&&(u=0)}var f=a;if(i<a)for(f=u;i>0&&f<a;i--)f+=ja(t,f);return t.substring(u,f)}function kN(t,r,i){r=r||0,i=i===void 0?1/0:i||0,r<0&&(r=0),i<0&&(i=0);var a=Math.abs(i-r);return r=r<i?r:i,Rm(t,r,a)}function xN(t){for(var r=[],i=0;i<t.length;i+=ja(t,i))r.push(t.codePointAt(i));return r}var EN={getCodePoints:xN,getUTF16Length:ja,hasSurrogateUnit:Jc,isCodeUnitInSurrogateRange:Km,isSurrogatePair:wN,strlen:SN,substring:kN,substr:Rm},aa=EN;function ON(t,r){var i=t.getSelection(),a=t.getCurrentContent(),u=i.getStartKey(),f=i.getStartOffset(),g=u,y=0;if(r>f){var b=a.getKeyBefore(u);if(b==null)g=u;else{g=b;var k=a.getBlockForKey(b);y=k.getText().length}}else y=f-r;return i.merge({focusKey:g,focusOffset:y,isBackward:!0})}var Yc=ON,NN=lr,DN=wo,Im=DN("draft_tree_data_support");function MN(t,r,i){var a=t.getSelection(),u=t.getCurrentContent(),f=a,g=a.getAnchorKey(),y=a.getFocusKey(),b=u.getBlockForKey(g);if(Im&&i==="forward"&&g!==y)return u;if(a.isCollapsed()){if(i==="forward"){if(t.isSelectionAtEndOfContent())return u;if(Im){var k=a.getAnchorOffset()===u.getBlockForKey(g).getLength();if(k){var D=u.getBlockForKey(b.nextSibling);if(!D||D.getLength()===0)return u}}}else if(t.isSelectionAtStartOfContent())return u;if(f=r(t),f===a)return u}return NN.removeRange(u,f,i)}var Fl=MN,LN=zt,CN=aa,BN=Yc,FN=Fl;function PN(t){var r=FN(t,function(a){var u=a.getSelection(),f=a.getCurrentContent(),g=u.getAnchorKey(),y=u.getAnchorOffset(),b=f.getBlockForKey(g).getText()[y-1];return BN(a,b?CN.getUTF16Length(b,0):1)},"backward");if(r===t.getCurrentContent())return t;var i=t.getSelection();return LN.push(t,r.set("selectionBefore",i),i.isCollapsed()?"backspace-character":"remove-range")}var jm=PN,KN=lr,RN=Ji,IN=zt,jN=sr,TN=Ih,zN=TN.notEmptyKey,HN=Lu,qN=jm,AN=ur,UN=jN.isEngine("Gecko"),VN=`
11
+ */var Oh=Object.getOwnPropertySymbols,Bx=Object.prototype.hasOwnProperty,Fx=Object.prototype.propertyIsEnumerable;function Px(t){if(t==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}function Kx(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de",Object.getOwnPropertyNames(t)[0]==="5")return!1;for(var r={},i=0;i<10;i++)r["_"+String.fromCharCode(i)]=i;var a=Object.getOwnPropertyNames(r).map(function(c){return r[c]});if(a.join("")!=="0123456789")return!1;var u={};return"abcdefghijklmnopqrst".split("").forEach(function(c){u[c]=c}),Object.keys(Object.assign({},u)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}var la=Kx()?Object.assign:function(t,r){for(var i,a=Px(t),u,c=1;c<arguments.length;c++){i=Object(arguments[c]);for(var g in i)Bx.call(i,g)&&(a[g]=i[g]);if(Oh){u=Oh(i);for(var y=0;y<u.length;y++)Fx.call(i,u[y])&&(a[u[y]]=i[u[y]])}}return a},Ku={},Rx={get exports(){return Ku},set exports(t){Ku=t}};(function(t,r){(function(i,a){var u="0.7.33",c="",g="?",y="function",b="undefined",w="object",D="string",K="major",L="model",T="name",F="type",R="vendor",j="version",G="architecture",Y="console",W="mobile",J="tablet",le="smarttv",Se="wearable",_e="embedded",Ie=350,ve="Amazon",xe="Apple",we="ASUS",he="BlackBerry",ge="Browser",De="Chrome",je="Edge",Ce="Firefox",He="Google",ue="Huawei",fe="LG",ae="Microsoft",Me="Motorola",Je="Opera",Et="Samsung",Ct="Sharp",qe="Sony",Te="Xiaomi",dt="Zebra",Rt="Facebook",It=function(Fe,nt){var Ye={};for(var ht in Fe)nt[ht]&&nt[ht].length%2===0?Ye[ht]=nt[ht].concat(Fe[ht]):Ye[ht]=Fe[ht];return Ye},Ft=function(Fe){for(var nt={},Ye=0;Ye<Fe.length;Ye++)nt[Fe[Ye].toUpperCase()]=Fe[Ye];return nt},kt=function(Fe,nt){return typeof Fe===D?en(nt).indexOf(en(Fe))!==-1:!1},en=function(Fe){return Fe.toLowerCase()},Xe=function(Fe){return typeof Fe===D?Fe.replace(/[^\d\.]/g,c).split(".")[0]:a},st=function(Fe,nt){if(typeof Fe===D)return Fe=Fe.replace(/^\s\s*/,c),typeof nt===b?Fe:Fe.substring(0,Ie)},ut=function(Fe,nt){for(var Ye=0,ht,Ge,Sn,ct,xn,tn;Ye<nt.length&&!xn;){var pr=nt[Ye],Vn=nt[Ye+1];for(ht=Ge=0;ht<pr.length&&!xn;)if(xn=pr[ht++].exec(Fe),xn)for(Sn=0;Sn<Vn.length;Sn++)tn=xn[++Ge],ct=Vn[Sn],typeof ct===w&&ct.length>0?ct.length===2?typeof ct[1]==y?this[ct[0]]=ct[1].call(this,tn):this[ct[0]]=ct[1]:ct.length===3?typeof ct[1]===y&&!(ct[1].exec&&ct[1].test)?this[ct[0]]=tn?ct[1].call(this,tn,ct[2]):a:this[ct[0]]=tn?tn.replace(ct[1],ct[2]):a:ct.length===4&&(this[ct[0]]=tn?ct[3].call(this,tn.replace(ct[1],ct[2])):a):this[ct]=tn||a;Ye+=2}},Pt=function(Fe,nt){for(var Ye in nt)if(typeof nt[Ye]===w&&nt[Ye].length>0){for(var ht=0;ht<nt[Ye].length;ht++)if(kt(nt[Ye][ht],Fe))return Ye===g?a:Ye}else if(kt(nt[Ye],Fe))return Ye===g?a:Ye;return Fe},hn={"1.0":"/8","1.2":"/1","1.3":"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"},Bt={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2","8.1":"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},Nt={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[j,[T,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[j,[T,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[T,j],[/opios[\/ ]+([\w\.]+)/i],[j,[T,Je+" Mini"]],[/\bopr\/([\w\.]+)/i],[j,[T,Je]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant |iemobile|slim)(?:browser)?[\/ ]?([\w\.]*)/i,/(ba?idubrowser)[\/ ]?([\w\.]+)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i,/(weibo)__([\d\.]+)/i],[T,j],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[j,[T,"UC"+ge]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i],[j,[T,"WeChat(Win) Desktop"]],[/micromessenger\/([\w\.]+)/i],[j,[T,"WeChat"]],[/konqueror\/([\w\.]+)/i],[j,[T,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[j,[T,"IE"]],[/yabrowser\/([\w\.]+)/i],[j,[T,"Yandex"]],[/(avast|avg)\/([\w\.]+)/i],[[T,/(.+)/,"$1 Secure "+ge],j],[/\bfocus\/([\w\.]+)/i],[j,[T,Ce+" Focus"]],[/\bopt\/([\w\.]+)/i],[j,[T,Je+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[j,[T,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[j,[T,"Dolphin"]],[/coast\/([\w\.]+)/i],[j,[T,Je+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[j,[T,"MIUI "+ge]],[/fxios\/([-\w\.]+)/i],[j,[T,Ce]],[/\bqihu|(qi?ho?o?|360)browser/i],[[T,"360 "+ge]],[/(oculus|samsung|sailfish|huawei)browser\/([\w\.]+)/i],[[T,/(.+)/,"$1 "+ge],j],[/(comodo_dragon)\/([\w\.]+)/i],[[T,/_/g," "],j],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i],[T,j],[/(metasr)[\/ ]?([\w\.]+)/i,/(lbbrowser)/i,/\[(linkedin)app\]/i],[T],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[T,Rt],j],[/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(chromium|instagram)[\/ ]([-\w\.]+)/i],[T,j],[/\bgsa\/([\w\.]+) .*safari\//i],[j,[T,"GSA"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[j,[T,De+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[T,De+" WebView"],j],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[j,[T,"Android "+ge]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[T,j],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[j,[T,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[j,T],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[T,[j,Pt,hn]],[/(webkit|khtml)\/([\w\.]+)/i],[T,j],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[T,"Netscape"],j],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[j,[T,Ce+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i],[T,j],[/(cobalt)\/([\w\.]+)/i],[T,[j,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[G,"amd64"]],[/(ia32(?=;))/i],[[G,en]],[/((?:i[346]|x)86)[;\)]/i],[[G,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[G,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[G,"armhf"]],[/windows (ce|mobile); ppc;/i],[[G,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[G,/ower/,c,en]],[/(sun4\w)[;\)]/i],[[G,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[G,en]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[L,[R,Et],[F,J]],[/\b((?:s[cgp]h|gt|sm)-\w+|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[L,[R,Et],[F,W]],[/\((ip(?:hone|od)[\w ]*);/i],[L,[R,xe],[F,W]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[L,[R,xe],[F,J]],[/(macintosh);/i],[L,[R,xe]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[L,[R,ue],[F,J]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[L,[R,ue],[F,W]],[/\b(poco[\w ]+)(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[L,/_/g," "],[R,Te],[F,W]],[/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[L,/_/g," "],[R,Te],[F,J]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[L,[R,"OPPO"],[F,W]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[L,[R,"Vivo"],[F,W]],[/\b(rmx[12]\d{3})(?: bui|;|\))/i],[L,[R,"Realme"],[F,W]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[L,[R,Me],[F,W]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[L,[R,Me],[F,J]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[L,[R,fe],[F,J]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[L,[R,fe],[F,W]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[L,[R,"Lenovo"],[F,J]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[L,/_/g," "],[R,"Nokia"],[F,W]],[/(pixel c)\b/i],[L,[R,He],[F,J]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[L,[R,He],[F,W]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[L,[R,qe],[F,W]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[L,"Xperia Tablet"],[R,qe],[F,J]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[L,[R,"OnePlus"],[F,W]],[/(alexa)webm/i,/(kf[a-z]{2}wi)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[L,[R,ve],[F,J]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[L,/(.+)/g,"Fire Phone $1"],[R,ve],[F,W]],[/(playbook);[-\w\),; ]+(rim)/i],[L,R,[F,J]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[L,[R,he],[F,W]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[L,[R,we],[F,J]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[L,[R,we],[F,W]],[/(nexus 9)/i],[L,[R,"HTC"],[F,J]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic|sony(?!-bra))[-_ ]?([-\w]*)/i],[R,[L,/_/g," "],[F,W]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[L,[R,"Acer"],[F,J]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[L,[R,"Meizu"],[F,W]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[L,[R,Ct],[F,W]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[R,L,[F,W]],[/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[R,L,[F,J]],[/(surface duo)/i],[L,[R,ae],[F,J]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[L,[R,"Fairphone"],[F,W]],[/(u304aa)/i],[L,[R,"AT&T"],[F,W]],[/\bsie-(\w*)/i],[L,[R,"Siemens"],[F,W]],[/\b(rct\w+) b/i],[L,[R,"RCA"],[F,J]],[/\b(venue[\d ]{2,7}) b/i],[L,[R,"Dell"],[F,J]],[/\b(q(?:mv|ta)\w+) b/i],[L,[R,"Verizon"],[F,J]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[L,[R,"Barnes & Noble"],[F,J]],[/\b(tm\d{3}\w+) b/i],[L,[R,"NuVision"],[F,J]],[/\b(k88) b/i],[L,[R,"ZTE"],[F,J]],[/\b(nx\d{3}j) b/i],[L,[R,"ZTE"],[F,W]],[/\b(gen\d{3}) b.+49h/i],[L,[R,"Swiss"],[F,W]],[/\b(zur\d{3}) b/i],[L,[R,"Swiss"],[F,J]],[/\b((zeki)?tb.*\b) b/i],[L,[R,"Zeki"],[F,J]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[R,"Dragon Touch"],L,[F,J]],[/\b(ns-?\w{0,9}) b/i],[L,[R,"Insignia"],[F,J]],[/\b((nxa|next)-?\w{0,9}) b/i],[L,[R,"NextBook"],[F,J]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[R,"Voice"],L,[F,W]],[/\b(lvtel\-)?(v1[12]) b/i],[[R,"LvTel"],L,[F,W]],[/\b(ph-1) /i],[L,[R,"Essential"],[F,W]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[L,[R,"Envizen"],[F,J]],[/\b(trio[-\w\. ]+) b/i],[L,[R,"MachSpeed"],[F,J]],[/\btu_(1491) b/i],[L,[R,"Rotor"],[F,J]],[/(shield[\w ]+) b/i],[L,[R,"Nvidia"],[F,J]],[/(sprint) (\w+)/i],[R,L,[F,W]],[/(kin\.[onetw]{3})/i],[[L,/\./g," "],[R,ae],[F,W]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[L,[R,dt],[F,J]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[L,[R,dt],[F,W]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[R,L,[F,Y]],[/droid.+; (shield) bui/i],[L,[R,"Nvidia"],[F,Y]],[/(playstation [345portablevi]+)/i],[L,[R,qe],[F,Y]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[L,[R,ae],[F,Y]],[/smart-tv.+(samsung)/i],[R,[F,le]],[/hbbtv.+maple;(\d+)/i],[[L,/^/,"SmartTV"],[R,Et],[F,le]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[R,fe],[F,le]],[/(apple) ?tv/i],[R,[L,xe+" TV"],[F,le]],[/crkey/i],[[L,De+"cast"],[R,He],[F,le]],[/droid.+aft(\w)( bui|\))/i],[L,[R,ve],[F,le]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[L,[R,Ct],[F,le]],[/(bravia[\w ]+)( bui|\))/i],[L,[R,qe],[F,le]],[/(mitv-\w{5}) bui/i],[L,[R,Te],[F,le]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w ]*; *(\w[^;]*);([^;]*)/i],[[R,st],[L,st],[F,le]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[F,le]],[/((pebble))app/i],[R,L,[F,Se]],[/droid.+; (glass) \d/i],[L,[R,He],[F,Se]],[/droid.+; (wt63?0{2,3})\)/i],[L,[R,dt],[F,Se]],[/(quest( 2)?)/i],[L,[R,Rt],[F,Se]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[R,[F,_e]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+? mobile safari/i],[L,[F,W]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[L,[F,J]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[F,J]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[F,W]],[/(android[-\w\. ]{0,9});.+buil/i],[L,[R,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[j,[T,je+"HTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[j,[T,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i],[T,j],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[j,T]],os:[[/microsoft (windows) (vista|xp)/i],[T,j],[/(windows) nt 6\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i,/(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i],[T,[j,Pt,Bt]],[/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[T,"Windows"],[j,Pt,Bt]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/cfnetwork\/.+darwin/i],[[j,/_/g,"."],[T,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[T,"Mac OS"],[j,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[j,T],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[T,j],[/\(bb(10);/i],[j,[T,he]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[j,[T,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[j,[T,Ce+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[j,[T,"webOS"]],[/crkey\/([\d\.]+)/i],[j,[T,De+"cast"]],[/(cros) [\w]+ ([\w\.]+\w)/i],[[T,"Chromium OS"],j],[/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[T,j],[/(sunos) ?([\w\.\d]*)/i],[[T,"Solaris"],j],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux)/i,/(unix) ?([\w\.]*)/i],[T,j]]},rt=function(Fe,nt){if(typeof Fe===w&&(nt=Fe,Fe=a),!(this instanceof rt))return new rt(Fe,nt).getResult();var Ye=Fe||(typeof i!==b&&i.navigator&&i.navigator.userAgent?i.navigator.userAgent:c),ht=nt?It(Nt,nt):Nt;return this.getBrowser=function(){var Ge={};return Ge[T]=a,Ge[j]=a,ut.call(Ge,Ye,ht.browser),Ge.major=Xe(Ge.version),Ge},this.getCPU=function(){var Ge={};return Ge[G]=a,ut.call(Ge,Ye,ht.cpu),Ge},this.getDevice=function(){var Ge={};return Ge[R]=a,Ge[L]=a,Ge[F]=a,ut.call(Ge,Ye,ht.device),Ge},this.getEngine=function(){var Ge={};return Ge[T]=a,Ge[j]=a,ut.call(Ge,Ye,ht.engine),Ge},this.getOS=function(){var Ge={};return Ge[T]=a,Ge[j]=a,ut.call(Ge,Ye,ht.os),Ge},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return Ye},this.setUA=function(Ge){return Ye=typeof Ge===D&&Ge.length>Ie?st(Ge,Ie):Ge,this},this.setUA(Ye),this};rt.VERSION=u,rt.BROWSER=Ft([T,j,K]),rt.CPU=Ft([G]),rt.DEVICE=Ft([L,R,F,Y,W,le,J,Se,_e]),rt.ENGINE=rt.OS=Ft([T,j]),t.exports&&(r=t.exports=rt),r.UAParser=rt;var pt=typeof i!==b&&(i.jQuery||i.Zepto);if(pt&&!pt.ua){var Kt=new rt;pt.ua=Kt.getResult(),pt.ua.get=function(){return Kt.getUA()},pt.ua.set=function(Fe){Kt.setUA(Fe);var nt=Kt.getResult();for(var Ye in nt)pt.ua[Ye]=nt[Ye]}}})(typeof window=="object"?window:Pa)})(Rx,Ku);var Ix=Ku,Jr="Unknown",jx={"Mac OS":"Mac OS X"};function Tx(t){return jx[t]||t}function zx(t){if(!t)return{major:"",minor:""};var r=t.split(".");return{major:r[0],minor:r[1]}}var Hx=new Ix,Wr=Hx.getResult(),Ax=zx(Wr.browser.version),qx={browserArchitecture:Wr.cpu.architecture||Jr,browserFullVersion:Wr.browser.version||Jr,browserMinorVersion:Ax.minor||Jr,browserName:Wr.browser.name||Jr,browserVersion:Wr.browser.major||Jr,deviceName:Wr.device.model||Jr,engineName:Wr.engine.name||Jr,engineVersion:Wr.engine.version||Jr,platformArchitecture:Wr.cpu.architecture||Jr,platformName:Tx(Wr.os.name)||Jr,platformVersion:Wr.os.version||Jr,platformFullVersion:Wr.os.version||Jr},Ux=qx,Ru=wt,Dh=/\./,Vx=/\|\|/,Qx=/\s+\-\s+/,Xx=/^(<=|<|=|>=|~>|~|>|)?\s*(.+)/,Mh=/^(\d*)(.*)/;function Zx(t,r){var i=t.split(Vx);return i.length>1?i.some(function(a){return Rh.contains(a,r)}):(t=i[0].trim(),$x(t,r))}function $x(t,r){var i=t.split(Qx);if(i.length>0&&i.length<=2||Ru(!1),i.length===1)return Kc(i[0],r);var a=i[0],u=i[1];return Fh(a)&&Fh(u)||Ru(!1),Kc(">="+a,r)&&Kc("<="+u,r)}function Kc(t,r){if(t=t.trim(),t==="")return!0;var i=r.split(Dh),a=Bh(t),u=a.modifier,c=a.rangeComponents;switch(u){case"<":return Lh(i,c);case"<=":return Yx(i,c);case">=":return Ch(i,c);case">":return Wx(i,c);case"~":case"~>":return Gx(i,c);default:return Jx(i,c)}}function Lh(t,r){return Pl(t,r)===-1}function Yx(t,r){var i=Pl(t,r);return i===-1||i===0}function Jx(t,r){return Pl(t,r)===0}function Ch(t,r){var i=Pl(t,r);return i===1||i===0}function Wx(t,r){return Pl(t,r)===1}function Gx(t,r){var i=r.slice(),a=r.slice();a.length>1&&a.pop();var u=a.length-1,c=parseInt(a[u],10);return Rc(c)&&(a[u]=c+1+""),Ch(t,i)&&Lh(t,a)}function Bh(t){var r=t.split(Dh),i=r[0].match(Xx);return i||Ru(!1),{modifier:i[1],rangeComponents:[i[2]].concat(r.slice(1))}}function Rc(t){return!isNaN(t)&&isFinite(t)}function Fh(t){return!Bh(t).modifier}function Ph(t,r){for(var i=t.length;i<r;i++)t[i]="0"}function eE(t,r){t=t.slice(),r=r.slice(),Ph(t,r.length);for(var i=0;i<r.length;i++){var a=r[i].match(/^[x*]$/i);if(a&&(r[i]=t[i]="0",a[0]==="*"&&i===r.length-1))for(var u=i;u<t.length;u++)t[u]="0"}return Ph(r,t.length),[t,r]}function tE(t,r){var i=t.match(Mh)[1],a=r.match(Mh)[1],u=parseInt(i,10),c=parseInt(a,10);return Rc(u)&&Rc(c)&&u!==c?Kh(u,c):Kh(t,r)}function Kh(t,r){return typeof t!=typeof r&&Ru(!1),t>r?1:t<r?-1:0}function Pl(t,r){for(var i=eE(t,r),a=i[0],u=i[1],c=0;c<u.length;c++){var g=tE(a[c],u[c]);if(g)return g}return 0}var Rh={contains:function(t,r){return Zx(t.trim(),r.trim())}},nE=Rh,rE=Object.prototype.hasOwnProperty;function iE(t,r,i){if(!t)return null;var a={};for(var u in t)rE.call(t,u)&&(a[u]=r.call(i,t[u],u,t));return a}var oE=iE;function aE(t){var r={};return function(i){return r.hasOwnProperty(i)||(r[i]=t.call(this,i)),r[i]}}var lE=aE,Fi=Ux,uE=nE,sE=oE,cE=lE;function za(t,r,i,a){if(t===i)return!0;if(!i.startsWith(t))return!1;var u=i.slice(t.length);return r?(u=a?a(u):u,uE.contains(u,r)):!1}function fE(t){return Fi.platformName==="Windows"?t.replace(/^\s*NT/,""):t}var dE={isBrowser:function(t){return za(Fi.browserName,Fi.browserFullVersion,t)},isBrowserArchitecture:function(t){return za(Fi.browserArchitecture,null,t)},isDevice:function(t){return za(Fi.deviceName,null,t)},isEngine:function(t){return za(Fi.engineName,Fi.engineVersion,t)},isPlatform:function(t){return za(Fi.platformName,Fi.platformFullVersion,t,fE)},isPlatformArchitecture:function(t){return za(Fi.platformArchitecture,null,t)}},fr=sE(dE,cE);function pE(t){return!t||!t.ownerDocument?document:t.ownerDocument}var Iu=pE;function hE(t){return!t||!t.ownerDocument?!1:t.nodeType===Node.ELEMENT_NODE}var ua=hE,mE=ua;function Ih(t){if(mE(t)){var r=t,i=r.getAttribute("data-offset-key");if(i)return i;for(var a=0;a<r.childNodes.length;a++){var u=Ih(r.childNodes[a]);if(u)return u}}return null}var jh=Ih,gE=Iu,vE=jh;function yE(t){for(var r=t;r&&r!==gE(t).documentElement;){var i=vE(r);if(i!=null)return i;r=r.parentNode}return null}var ju=yE;function bE(t){return!t||!t.ownerDocument||!t.ownerDocument.defaultView?window:t.ownerDocument.defaultView}var Th=bE;function Tu(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}var _E=fr,wE=ju,SE=Th,xE=mt,EE=wt,kE=cr,zh=xE.Map,NE={subtree:!0,characterData:!0,childList:!0,characterDataOldValue:!1,attributes:!1},Hh=_E.isBrowser("IE <= 11"),OE=function(){function t(i){var a=this;Tu(this,"observer",void 0),Tu(this,"container",void 0),Tu(this,"mutations",void 0),Tu(this,"onCharData",void 0),this.container=i,this.mutations=zh();var u=SE(i);u.MutationObserver&&!Hh?this.observer=new u.MutationObserver(function(c){return a.registerMutations(c)}):this.onCharData=function(c){c.target instanceof Node||EE(!1),a.registerMutation({type:"characterData",target:c.target})}}var r=t.prototype;return r.start=function(){this.observer?this.observer.observe(this.container,NE):this.container.addEventListener("DOMCharacterDataModified",this.onCharData)},r.stopAndFlushMutations=function(){var i=this.observer;i?(this.registerMutations(i.takeRecords()),i.disconnect()):this.container.removeEventListener("DOMCharacterDataModified",this.onCharData);var a=this.mutations;return this.mutations=zh(),a},r.registerMutations=function(i){for(var a=0;a<i.length;a++)this.registerMutation(i[a])},r.getMutationTextContent=function(i){var a=i.type,u=i.target,c=i.removedNodes;if(a==="characterData"){if(u.textContent!=="")return Hh?u.textContent.replace(`
12
+ `,""):u.textContent}else if(a==="childList"){if(c&&c.length)return"";if(u.textContent!=="")return u.textContent}return null},r.registerMutation=function(i){var a=this.getMutationTextContent(i);if(a!=null){var u=kE(wE(i.target));this.mutations=this.mutations.set(u,a)}},t}(),DE=OE,zu="-",ME={encode:function(t,r,i){return t+zu+r+zu+i},decode:function(t){var r=t.split(zu).reverse(),i=r[0],a=r[1],u=r.slice(2);return{blockKey:u.reverse().join(zu),decoratorKey:parseInt(a,10),leafKey:parseInt(i,10)}}},Gi=ME,Hu={BACKSPACE:8,TAB:9,RETURN:13,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46,COMMA:188,PERIOD:190,A:65,Z:90,ZERO:48,NUMPAD_0:96,NUMPAD_9:105},Ah={logBlockedSelectionEvent:function(){return null},logSelectionStateFailure:function(){return null}};function LE(t){return!t||!t.ownerDocument?!1:t.ownerDocument.defaultView?t instanceof t.ownerDocument.defaultView.HTMLElement:t instanceof HTMLElement}var Kl=LE,qh=wt,CE=Kl;function BE(t){var r=t.editorContainer;r||qh(!1),CE(r.firstChild)||qh(!1);var i=r.firstChild;return i}var Uh=BE,Vh=Gi,FE=cr;function PE(t,r,i,a,u){var c=FE(t.getSelection());if(!r||!a)return c;var g=Vh.decode(r),y=g.blockKey,b=t.getBlockTree(y),w=b&&b.getIn([g.decoratorKey,"leaves",g.leafKey]),D=Vh.decode(a),K=D.blockKey,L=t.getBlockTree(K),T=L&&L.getIn([D.decoratorKey,"leaves",D.leafKey]);if(!w||!T)return c;var F=w.get("start"),R=T.get("start"),j=w?F+i:null,G=T?R+u:null,Y=c.getAnchorKey()===y&&c.getAnchorOffset()===j&&c.getFocusKey()===K&&c.getFocusOffset()===G;if(Y)return c;var W=!1;if(y===K){var J=w.get("end"),le=T.get("end");R===F&&le===J?W=u<i:W=R<F}else{var Se=t.getCurrentContent().getBlockMap().keySeq().skipUntil(function(_e){return _e===y||_e===K}).first();W=Se===K}return c.merge({anchorKey:y,anchorOffset:j,focusKey:K,focusOffset:G,isBackward:W})}var Qh=PE,Rl=ju,Il=jh,Xh=Qh,Ic=wt,jc=ua,sa=cr;function KE(t,r,i,a,u,c){var g=i.nodeType===Node.TEXT_NODE,y=u.nodeType===Node.TEXT_NODE;if(g&&y)return{selectionState:Xh(t,sa(Rl(i)),a,sa(Rl(u)),c),needsRecovery:!1};var b=null,w=null,D=!0;return g?(b={key:sa(Rl(i)),offset:a},w=Au(r,u,c)):y?(w={key:sa(Rl(u)),offset:c},b=Au(r,i,a)):(b=Au(r,i,a),w=Au(r,u,c),i===u&&a===c&&(D=!!i.firstChild&&i.firstChild.nodeName!=="BR")),{selectionState:Xh(t,b.key,b.offset,w.key,w.offset),needsRecovery:D}}function RE(t){for(;t.firstChild&&(jc(t.firstChild)&&t.firstChild.getAttribute("data-blocks")==="true"||Il(t.firstChild));)t=t.firstChild;return t}function IE(t){for(;t.lastChild&&(jc(t.lastChild)&&t.lastChild.getAttribute("data-blocks")==="true"||Il(t.lastChild));)t=t.lastChild;return t}function Au(t,r,i){var a=r,u=Rl(a);if(u!=null||t&&(t===a||t.firstChild===a)||Ic(!1),t===a){a=a.firstChild,jc(a)||Ic(!1);var c=a;a=c,a.getAttribute("data-contents")!=="true"&&Ic(!1),i>0&&(i=a.childNodes.length)}if(i===0){var g=null;if(u!=null)g=u;else{var y=RE(a);g=sa(Il(y))}return{key:g,offset:0}}var b=a.childNodes[i-1],w=null,D=null;if(!Il(b))w=sa(u),D=Zh(b);else{var K=IE(b);w=sa(Il(K)),D=Zh(K)}return{key:w,offset:D}}function Zh(t){var r=t.textContent;return r===`
13
+ `?0:r.length}var $h=KE,jE=$h;function TE(t,r){var i=r.ownerDocument.defaultView.getSelection(),a=i.anchorNode,u=i.anchorOffset,c=i.focusNode,g=i.focusOffset,y=i.rangeCount;return y===0||a==null||c==null?{selectionState:t.getSelection().set("hasFocus",!1),needsRecovery:!1}:jE(t,r,a,u,c,g)}var Yh=TE,zE=Ah,Jh=At,HE=Uh,AE=Yh;function qE(t){if(t._blockSelectEvents||t._latestEditorState!==t.props.editorState){if(t._blockSelectEvents){var r=t.props.editorState,i=r.getSelection();zE.logBlockedSelectionEvent({anonymizedDom:"N/A",extraParams:JSON.stringify({stacktrace:new Error().stack}),selectionState:JSON.stringify(i.toJS())})}return}var a=t.props.editorState,u=AE(a,HE(t)),c=u.selectionState;c!==a.getSelection()&&(u.needsRecovery?a=Jh.forceSelection(a,c):a=Jh.acceptSelection(a,c),t.update(a))}var Wh=qE;function UE(t){return t!=null&&t!=""}var Gh={notEmptyKey:UE},VE=Gh,QE=VE.notEmptyKey;function XE(t,r){var i;if(r.isCollapsed()){var a=r.getAnchorKey(),u=r.getAnchorOffset();return u>0?(i=t.getBlockForKey(a).getEntityAt(u-1),i!==t.getBlockForKey(a).getEntityAt(u)?null:em(t.getEntityMap(),i)):null}var c=r.getStartKey(),g=r.getStartOffset(),y=t.getBlockForKey(c);return i=g===y.getLength()?null:y.getEntityAt(g),em(t.getEntityMap(),i)}function em(t,r){if(QE(r)){var i=t.__get(r);return i.getMutability()==="MUTABLE"?r:null}return null}var Tc=XE,ZE=DE,$E=sr,YE=Gi,jl=At,zc=Hu,JE=fr,WE=Wh,tm=Uh,GE=Yh,ek=Tc,tk=cr,nk=JE.isBrowser("IE"),rk=20,Hc=!1,qu=!1,Tl=null;function ik(t){Tl||(Tl=new ZE(tm(t)),Tl.start())}var Ac={onCompositionStart:function(t){qu=!0,ik(t)},onCompositionEnd:function(t){Hc=!1,qu=!1,setTimeout(function(){Hc||Ac.resolveComposition(t)},rk)},onSelect:WE,onKeyDown:function(t,r){if(!qu){Ac.resolveComposition(t),t._onKeyDown(r);return}(r.which===zc.RIGHT||r.which===zc.LEFT)&&r.preventDefault()},onKeyPress:function(t,r){r.which===zc.RETURN&&r.preventDefault()},resolveComposition:function(t){if(!qu){var r=tk(Tl).stopAndFlushMutations();Tl=null,Hc=!0;var i=jl.set(t._latestEditorState,{inCompositionMode:!1});if(t.exitCurrentMode(),!r.size){t.update(i);return}var a=i.getCurrentContent();r.forEach(function(y,b){var w=YE.decode(b),D=w.blockKey,K=w.decoratorKey,L=w.leafKey,T=i.getBlockTree(D).getIn([K,"leaves",L]),F=T.start,R=T.end,j=i.getSelection().merge({anchorKey:D,focusKey:D,anchorOffset:F,focusOffset:R,isBackward:!1}),G=ek(a,j),Y=a.getBlockForKey(D).getInlineStyleAt(F);a=$E.replaceText(a,j,y,Y,G),i=jl.set(i,{currentContent:a})});var u=GE(i,tm(t)),c=u.selectionState;t.restoreEditorDOM();var g=nk?jl.forceSelection(i,c):jl.acceptSelection(i,c);t.update(jl.push(g,a,"insert-characters"))}}},ok=Ac,qc,nm;function ak(){if(nm)return qc;nm=1;var t=la;function r(){return r=t||function(b){for(var w=1;w<arguments.length;w++){var D=arguments[w];for(var K in D)Object.prototype.hasOwnProperty.call(D,K)&&(b[K]=D[K])}return b},r.apply(this,arguments)}function i(b,w){b.prototype=Object.create(w.prototype),b.prototype.constructor=b,b.__proto__=w}var a=Gi,u=P,c=Mc,g=Mu,y=function(b){i(w,b);function w(){return b.apply(this,arguments)||this}var D=w.prototype;return D.render=function(){var K=this.props,L=K.block,T=K.children,F=K.contentState,R=K.decorator,j=K.decoratorKey,G=K.direction,Y=K.leafSet,W=K.text,J=L.getKey(),le=Y.get("leaves"),Se=R.getComponentForKey(j),_e=R.getPropsForKey(j),Ie=a.encode(J,parseInt(j,10),0),ve=W.slice(le.first().get("start"),le.last().get("end")),xe=g.getHTMLDirIfDifferent(c.getDirection(ve),G);return u.createElement(Se,r({},_e,{contentState:F,decoratedText:ve,dir:xe,key:Ie,entityKey:L.getEntityAt(Y.get("start")),offsetKey:Ie}),T)},w}(u.Component);return qc=y,qc}function rm(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function lk(t,r){t.prototype=Object.create(r.prototype),t.prototype.constructor=t,t.__proto__=r}function im(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}var Ha=P,uk=fr,sk=wt,ck=ua,Uc=uk.isBrowser("IE <= 11");function fk(t){return Uc?t.textContent===`
14
+ `:t.tagName==="BR"}var dk=function(t){return Uc?Ha.createElement("span",{key:"A","data-text":"true",ref:t},`
15
+ `):Ha.createElement("br",{key:"A","data-text":"true",ref:t})},pk=function(t){return Uc?Ha.createElement("span",{key:"B","data-text":"true",ref:t},`
16
+ `):Ha.createElement("br",{key:"B","data-text":"true",ref:t})},hk=function(t){lk(r,t);function r(a){var u;return u=t.call(this,a)||this,im(rm(u),"_forceFlag",void 0),im(rm(u),"_node",void 0),u._forceFlag=!1,u}var i=r.prototype;return i.shouldComponentUpdate=function(a){var u=this._node,c=a.children==="";ck(u)||sk(!1);var g=u;return c?!fk(g):g.textContent!==a.children},i.componentDidMount=function(){this._forceFlag=!this._forceFlag},i.componentDidUpdate=function(){this._forceFlag=!this._forceFlag},i.render=function(){var a=this;return this.props.children===""?this._forceFlag?dk(function(u){return a._node=u}):pk(function(u){return a._node=u}):Ha.createElement("span",{key:this._forceFlag?"A":"B","data-text":"true",ref:function(u){return a._node=u}},this.props.children)},r}(Ha.Component),mk=hk,gk=ua;function vk(t){return!t||!t.ownerDocument?!1:gk(t)&&t.nodeName==="BR"}var om=vk;function yk(t){var r=t?t.ownerDocument||t:document,i=r.defaultView||window;return!!(t&&(typeof i.Node=="function"?t instanceof i.Node:typeof t=="object"&&typeof t.nodeType=="number"&&typeof t.nodeName=="string"))}var bk=yk,_k=bk;function wk(t){return _k(t)&&t.nodeType==3}var Sk=wk,am=Sk;function lm(t,r){return!t||!r?!1:t===r?!0:am(t)?!1:am(r)?lm(t,r.parentNode):"contains"in t?t.contains(r):t.compareDocumentPosition?!!(t.compareDocumentPosition(r)&16):!1}var Vc=lm;function xk(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}var um=xk,Qc=Ah,Ek=fr,sm=Vc,kk=um,Xc=Iu,Nk=wt,cm=ua,Ok=Ek.isBrowser("IE");function Dk(t,r){if(!t)return"[empty]";var i=fm(t,r);if(i.nodeType===Node.TEXT_NODE)return i.textContent;cm(i)||Nk(!1);var a=i;return a.outerHTML}function fm(t,r){var i=r!==void 0?r(t):[];if(t.nodeType===Node.TEXT_NODE){var a=t.textContent.length;return Xc(t).createTextNode("[text "+a+(i.length?" | "+i.join(", "):"")+"]")}var u=t.cloneNode();u.nodeType===1&&i.length&&u.setAttribute("data-labels",i.join(", "));for(var c=t.childNodes,g=0;g<c.length;g++)u.appendChild(fm(c[g],r));return u}function Zc(t,r){for(var i=t,a=i;i;){if(cm(i)&&a.hasAttribute("contenteditable"))return Dk(i,r);i=i.parentNode,a=i}return"Could not find contentEditable parent of node"}function dm(t){return t.nodeValue===null?t.childNodes.length:t.nodeValue.length}function Mk(t,r,i,a,u){var c=Xc(r);if(sm(c.documentElement,r)){var g=c.defaultView.getSelection(),y=t.getAnchorKey(),b=t.getAnchorOffset(),w=t.getFocusKey(),D=t.getFocusOffset(),K=t.getIsBackward();if(!g.extend&&K){var L=y,T=b;y=w,b=D,w=L,D=T,K=!1}var F=y===i&&a<=b&&u>=b,R=w===i&&a<=D&&u>=D;if(F&&R){g.removeAllRanges(),Vu(g,r,b-a,t),Uu(g,r,D-a,t);return}if(!K)F&&(g.removeAllRanges(),Vu(g,r,b-a,t)),R&&Uu(g,r,D-a,t);else if(R&&(g.removeAllRanges(),Vu(g,r,D-a,t)),F){var j=g.focusNode,G=g.focusOffset;g.removeAllRanges(),Vu(g,r,b-a,t),Uu(g,j,G,t)}}}function Uu(t,r,i,a){var u=kk(),c=t.extend;if(c&&r!=null&&sm(u,r)){i>dm(r)&&Qc.logSelectionStateFailure({anonymizedDom:Zc(r),extraParams:JSON.stringify({offset:i}),selectionState:JSON.stringify(a.toJS())});var g=r===t.focusNode;try{t.rangeCount>0&&t.extend&&t.extend(r,i)}catch(b){throw Qc.logSelectionStateFailure({anonymizedDom:Zc(r,function(w){var D=[];return w===u&&D.push("active element"),w===t.anchorNode&&D.push("selection anchor node"),w===t.focusNode&&D.push("selection focus node"),D}),extraParams:JSON.stringify({activeElementName:u?u.nodeName:null,nodeIsFocus:r===t.focusNode,nodeWasFocus:g,selectionRangeCount:t.rangeCount,selectionAnchorNodeName:t.anchorNode?t.anchorNode.nodeName:null,selectionAnchorOffset:t.anchorOffset,selectionFocusNodeName:t.focusNode?t.focusNode.nodeName:null,selectionFocusOffset:t.focusOffset,message:b?""+b:null,offset:i},null,2),selectionState:JSON.stringify(a.toJS(),null,2)}),b}}else if(r&&t.rangeCount>0){var y=t.getRangeAt(0);y.setEnd(r,i),t.addRange(y.cloneRange())}}function Vu(t,r,i,a){var u=Xc(r).createRange();if(i>dm(r)&&Qc.logSelectionStateFailure({anonymizedDom:Zc(r),extraParams:JSON.stringify({offset:i}),selectionState:JSON.stringify(a.toJS())}),u.setStart(r,i),Ok)try{t.addRange(u)}catch{}else t.addRange(u)}var Lk={setDraftEditorSelection:Mk,addFocusToSelection:Uu},pm=la;function Ck(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Bk(t,r){t.prototype=Object.create(r.prototype),t.prototype.constructor=t,t.__proto__=r}function Fk(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}var Pk=mk,$c=P,Qu=wt,Kk=om,Rk=Lk.setDraftEditorSelection,Ik=function(t){Bk(r,t);function r(){for(var a,u=arguments.length,c=new Array(u),g=0;g<u;g++)c[g]=arguments[g];return a=t.call.apply(t,[this].concat(c))||this,Fk(Ck(a),"leaf",void 0),a}var i=r.prototype;return i._setSelection=function(){var a=this.props.selection;if(!(a==null||!a.getHasFocus())){var u=this.props,c=u.block,g=u.start,y=u.text,b=c.getKey(),w=g+y.length;if(a.hasEdgeWithin(b,g,w)){var D=this.leaf;D||Qu(!1);var K=D.firstChild;K||Qu(!1);var L;K.nodeType===Node.TEXT_NODE?L=K:Kk(K)?L=D:(L=K.firstChild,L||Qu(!1)),Rk(a,L,b,g,w)}}},i.shouldComponentUpdate=function(a){var u=this.leaf;u||Qu(!1);var c=u.textContent!==a.text||a.styleSet!==this.props.styleSet||a.forceSelection;return c},i.componentDidUpdate=function(){this._setSelection()},i.componentDidMount=function(){this._setSelection()},i.render=function(){var a=this,u=this.props.block,c=this.props.text;c.endsWith(`
17
+ `)&&this.props.isLast&&(c+=`
18
+ `);var g=this.props,y=g.customStyleMap,b=g.customStyleFn,w=g.offsetKey,D=g.styleSet,K=D.reduce(function(T,F){var R={},j=y[F];return j!==void 0&&T.textDecoration!==j.textDecoration&&(R.textDecoration=[T.textDecoration,j.textDecoration].join(" ").trim()),pm(T,j,R)},{});if(b){var L=b(D,u);K=pm(K,L)}return $c.createElement("span",{"data-offset-key":w,ref:function(T){return a.leaf=T},style:K},$c.createElement(Pk,null,c))},r}($c.Component),hm=Ik,Yc,mm;function jk(){if(mm)return Yc;mm=1;function t(b,w){b.prototype=Object.create(w.prototype),b.prototype.constructor=b,b.__proto__=w}var r=ak(),i=hm,a=Gi,u=mt,c=P,g=aa;u.List;var y=function(b){t(w,b);function w(){return b.apply(this,arguments)||this}var D=w.prototype;return D.render=function(){var K=this.props,L=K.block,T=K.contentState,F=K.customStyleFn,R=K.customStyleMap,j=K.decorator,G=K.direction,Y=K.forceSelection,W=K.hasSelection,J=K.selection,le=K.tree,Se=L.getKey(),_e=L.getText(),Ie=le.size-1,ve=this.props.children||le.map(function(xe,we){var he=xe.get("decoratorKey"),ge=xe.get("leaves"),De=ge.size-1,je=ge.map(function(Ce,He){var ue=a.encode(Se,we,He),fe=Ce.get("start"),ae=Ce.get("end");return c.createElement(i,{key:ue,offsetKey:ue,block:L,start:fe,selection:W?J:null,forceSelection:Y,text:_e.slice(fe,ae),styleSet:L.getInlineStyleAt(fe),customStyleMap:R,customStyleFn:F,isLast:he===Ie&&He===De})}).toArray();return!he||!j?je:c.createElement(r,{block:L,children:je,contentState:T,decorator:j,decoratorKey:he,direction:G,leafSet:xe,text:_e,key:we})}).toArray();return c.createElement("div",{"data-offset-key":a.encode(Se,0,0),className:g({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":G==="LTR","public/DraftStyleDefault/rtl":G==="RTL"})},ve)},w}(c.Component);return Yc=y,Yc}function Xu(t,r){return!!r&&(t===r.documentElement||t===r.body)}var Tk={getTop:function(t){var r=t.ownerDocument;return Xu(t,r)?r.body.scrollTop||r.documentElement.scrollTop:t.scrollTop},setTop:function(t,r){var i=t.ownerDocument;Xu(t,i)?i.body.scrollTop=i.documentElement.scrollTop=r:t.scrollTop=r},getLeft:function(t){var r=t.ownerDocument;return Xu(t,r)?r.body.scrollLeft||r.documentElement.scrollLeft:t.scrollLeft},setLeft:function(t,r){var i=t.ownerDocument;Xu(t,i)?i.body.scrollLeft=i.documentElement.scrollLeft=r:t.scrollLeft=r}},Jc=Tk,zk=/-(.)/g;function Hk(t){return t.replace(zk,function(r,i){return i.toUpperCase()})}var Ak=Hk,qk=/([A-Z])/g;function Uk(t){return t.replace(qk,"-$1").toLowerCase()}var Vk=Uk,gm=Ak,vm=Vk;function Zu(t){return t==null?t:String(t)}function Qk(t,r){var i;if(window.getComputedStyle&&(i=window.getComputedStyle(t,null),i))return Zu(i.getPropertyValue(vm(r)));if(document.defaultView&&document.defaultView.getComputedStyle){if(i=document.defaultView.getComputedStyle(t,null),i)return Zu(i.getPropertyValue(vm(r)));if(r==="display")return"none"}return t.currentStyle?Zu(r==="float"?t.currentStyle.cssFloat||t.currentStyle.styleFloat:t.currentStyle[gm(r)]):Zu(t.style&&t.style[gm(r)])}var Xk=Qk,Zk=Xk;function Wc(t,r){var i=ym.get(t,r);return i==="auto"||i==="scroll"}var ym={get:Zk,getScrollParent:function(t){if(!t)return null;for(var r=t.ownerDocument;t&&t!==r.body;){if(Wc(t,"overflow")||Wc(t,"overflowY")||Wc(t,"overflowX"))return t;t=t.parentNode}return r.defaultView||r.parentWindow}},$u=ym,$k=Vc;function Yk(t){var r=t.ownerDocument.documentElement;if(!("getBoundingClientRect"in t)||!$k(r,t))return{left:0,right:0,top:0,bottom:0};var i=t.getBoundingClientRect();return{left:Math.round(i.left)-r.clientLeft,right:Math.round(i.right)-r.clientLeft,top:Math.round(i.top)-r.clientTop,bottom:Math.round(i.bottom)-r.clientTop}}var Jk=Yk,Wk=Jk;function Gk(t){var r=Wk(t);return{x:r.left,y:r.top,width:r.right-r.left,height:r.bottom-r.top}}var bm=Gk,eN=typeof navigator<"u"&&navigator.userAgent.indexOf("AppleWebKit")>-1;function tN(t){return t=t||document,t.scrollingElement?t.scrollingElement:!eN&&t.compatMode==="CSS1Compat"?t.documentElement:t.body}var nN=tN;function rN(t){return t.Window&&t instanceof t.Window?{x:t.pageXOffset||t.document.documentElement.scrollLeft,y:t.pageYOffset||t.document.documentElement.scrollTop}:{x:t.scrollLeft,y:t.scrollTop}}var iN=rN,oN=nN,aN=iN;function lN(t){var r=oN(t.ownerDocument||t.document);t.Window&&t instanceof t.Window&&(t=r);var i=aN(t),a=t===r?t.ownerDocument.documentElement:t,u=t.scrollWidth-a.clientWidth,c=t.scrollHeight-a.clientHeight;return i.x=Math.max(0,Math.min(i.x,u)),i.y=Math.max(0,Math.min(i.y,c)),i}var Yu=lN;function _m(){var t;return document.documentElement&&(t=document.documentElement.clientWidth),!t&&document.body&&(t=document.body.clientWidth),t||0}function wm(){var t;return document.documentElement&&(t=document.documentElement.clientHeight),!t&&document.body&&(t=document.body.clientHeight),t||0}function Sm(){return{width:window.innerWidth||_m(),height:window.innerHeight||wm()}}Sm.withoutScrollbars=function(){return{width:_m(),height:wm()}};var xm=Sm,Gc,Em;function uN(){if(Em)return Gc;Em=1;var t=la;function r(){return r=t||function(ve){for(var xe=1;xe<arguments.length;xe++){var we=arguments[xe];for(var he in we)Object.prototype.hasOwnProperty.call(we,he)&&(ve[he]=we[he])}return ve},r.apply(this,arguments)}function i(ve){if(ve===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return ve}function a(ve,xe){ve.prototype=Object.create(xe.prototype),ve.prototype.constructor=ve,ve.__proto__=xe}function u(ve){for(var xe=1;xe<arguments.length;xe++){var we=arguments[xe]!=null?arguments[xe]:{},he=Object.keys(we);typeof Object.getOwnPropertySymbols=="function"&&(he=he.concat(Object.getOwnPropertySymbols(we).filter(function(ge){return Object.getOwnPropertyDescriptor(we,ge).enumerable}))),he.forEach(function(ge){c(ve,ge,we[ge])})}return ve}function c(ve,xe,we){return xe in ve?Object.defineProperty(ve,xe,{value:we,enumerable:!0,configurable:!0,writable:!0}):ve[xe]=we,ve}var g=jk(),y=Gi,b=P,w=Jc,D=$u,K=bm,L=Yu,T=xm,F=mt,R=wt,j=Kl,G=10;F.List;var Y=function(ve,xe){return ve.getAnchorKey()===xe||ve.getFocusKey()===xe},W=function(ve,xe){var we=ve.getNextSiblingKey();return we?xe.getBlockForKey(we).getType()===ve.getType():!1},J=function(ve,xe,we){var he=[],ge=!0,De=!1,je=void 0;try{for(var Ce=we.reverse()[Symbol.iterator](),He;!(ge=(He=Ce.next()).done);ge=!0){var ue=He.value;if(ue.type!==xe)break;he.push(ue)}}catch(Me){De=!0,je=Me}finally{try{!ge&&Ce.return!=null&&Ce.return()}finally{if(De)throw je}}we.splice(we.indexOf(he[0]),he.length+1);var fe=he.reverse(),ae=fe[0].key;return we.push(b.cloneElement(ve,{key:"".concat(ae,"-wrap"),"data-offset-key":y.encode(ae,0,0)},fe)),we},le=function(ve,xe){var we=xe.get(ve.getType())||xe.get("unstyled"),he=we.wrapper,ge=we.element||xe.get("unstyled").element;return{Element:ge,wrapperTemplate:he}},Se=function(ve,xe){var we=xe(ve);if(!we)return{};var he=we.component,ge=we.props,De=we.editable;return{CustomComponent:he,customProps:ge,customEditable:De}},_e=function(ve,xe,we,he,ge,De){var je={"data-block":!0,"data-editor":xe,"data-offset-key":we,key:ve.getKey(),ref:De},Ce=he(ve);return Ce&&(je.className=Ce),ge.customEditable!==void 0&&(je=u({},je,{contentEditable:ge.customEditable,suppressContentEditableWarning:!0})),je},Ie=function(ve){a(xe,ve);function xe(){for(var he,ge=arguments.length,De=new Array(ge),je=0;je<ge;je++)De[je]=arguments[je];return he=ve.call.apply(ve,[this].concat(De))||this,c(i(he),"wrapperRef",b.createRef()),he}var we=xe.prototype;return we.shouldComponentUpdate=function(he){var ge=this.props,De=ge.block,je=ge.direction,Ce=ge.tree,He=!De.getChildKeys().isEmpty(),ue=De!==he.block||Ce!==he.tree||je!==he.direction||Y(he.selection,he.block.getKey())&&he.forceSelection;return He||ue},we.componentDidMount=function(){var he=this.props.selection,ge=he.getEndKey();if(!(!he.getHasFocus()||ge!==this.props.block.getKey())){var De=this.wrapperRef.current;if(De){var je=D.getScrollParent(De),Ce=L(je),He;if(je===window){var ue=K(De),fe=ue.y+ue.height,ae=T().height;He=fe-ae,He>0&&window.scrollTo(Ce.x,Ce.y+He+G)}else{j(De)||R(!1);var Me=De,Je=Me.offsetHeight+Me.offsetTop,Et=je.offsetHeight+Ce.y;He=Je-Et,He>0&&w.setTop(je,w.getTop(je)+He+G)}}}},we.render=function(){var he=this,ge=this.props,De=ge.block,je=ge.blockRenderMap,Ce=ge.blockRendererFn,He=ge.blockStyleFn,ue=ge.contentState,fe=ge.decorator,ae=ge.editorKey,Me=ge.editorState,Je=ge.customStyleFn,Et=ge.customStyleMap,Ct=ge.direction,qe=ge.forceSelection,Te=ge.selection,dt=ge.tree,Rt=null;De.children.size&&(Rt=De.children.reduce(function(hn,Bt){var Nt=y.encode(Bt,0,0),rt=ue.getBlockForKey(Bt),pt=Se(rt,Ce),Kt=pt.CustomComponent||xe,Fe=le(rt,je),nt=Fe.Element,Ye=Fe.wrapperTemplate,ht=_e(rt,ae,Nt,He,pt,null),Ge=u({},he.props,{tree:Me.getBlockTree(Bt),blockProps:pt.customProps,offsetKey:Nt,block:rt});return hn.push(b.createElement(nt,ht,b.createElement(Kt,Ge))),!Ye||W(rt,ue)||J(Ye,nt,hn),hn},[]));var It=De.getKey(),Ft=y.encode(It,0,0),kt=Se(De,Ce),en=kt.CustomComponent,Xe=en!=null?b.createElement(en,r({},this.props,{tree:Me.getBlockTree(It),blockProps:kt.customProps,offsetKey:Ft,block:De})):b.createElement(g,{block:De,children:Rt,contentState:ue,customStyleFn:Je,customStyleMap:Et,decorator:fe,direction:Ct,forceSelection:qe,hasSelection:Y(Te,It),selection:Te,tree:dt});if(De.getParentKey())return Xe;var st=le(De,je),ut=st.Element,Pt=_e(De,ae,Ft,He,kt,this.wrapperRef);return b.createElement(ut,Pt,Xe)},xe}(b.Component);return Gc=Ie,Gc}var ef,km;function sN(){if(km)return ef;km=1;var t=la;function r(){return r=t||function(b){for(var w=1;w<arguments.length;w++){var D=arguments[w];for(var K in D)Object.prototype.hasOwnProperty.call(D,K)&&(b[K]=D[K])}return b},r.apply(this,arguments)}function i(b,w){b.prototype=Object.create(w.prototype),b.prototype.constructor=b,b.__proto__=w}var a=uN(),u=Gi,c=P,g=cr,y=function(b){i(w,b);function w(){return b.apply(this,arguments)||this}var D=w.prototype;return D.shouldComponentUpdate=function(K){var L=this.props.editorState,T=K.editorState,F=L.getDirectionMap(),R=T.getDirectionMap();if(F!==R)return!0;var j=L.getSelection().getHasFocus(),G=T.getSelection().getHasFocus();if(j!==G)return!0;var Y=T.getNativelyRenderedContent(),W=L.isInCompositionMode(),J=T.isInCompositionMode();if(L===T||Y!==null&&T.getCurrentContent()===Y||W&&J)return!1;var le=L.getCurrentContent(),Se=T.getCurrentContent(),_e=L.getDecorator(),Ie=T.getDecorator();return W!==J||le!==Se||_e!==Ie||T.mustForceSelection()},D.render=function(){for(var K=this.props,L=K.blockRenderMap,T=K.blockRendererFn,F=K.blockStyleFn,R=K.customStyleMap,j=K.customStyleFn,G=K.editorState,Y=K.editorKey,W=K.textDirectionality,J=G.getCurrentContent(),le=G.getSelection(),Se=G.mustForceSelection(),_e=G.getDecorator(),Ie=g(G.getDirectionMap()),ve=J.getBlocksAsArray(),xe=ve[0],we=[],he=xe;he;){var ge=he.getKey(),De={blockRenderMap:L,blockRendererFn:T,blockStyleFn:F,contentState:J,customStyleFn:j,customStyleMap:R,decorator:_e,editorKey:Y,editorState:G,forceSelection:Se,selection:le,block:he,direction:W||Ie.get(ge),tree:G.getBlockTree(ge)},je=L.get(he.getType())||L.get("unstyled"),Ce=je.wrapper;we.push({block:c.createElement(a,r({key:ge},De)),wrapperTemplate:Ce,key:ge,offsetKey:u.encode(ge,0,0)});var He=he.getNextSiblingKey();he=He?J.getBlockForKey(He):null}for(var ue=[],fe=0;fe<we.length;){var ae=we[fe];if(ae.wrapperTemplate){var Me=[];do Me.push(we[fe].block),fe++;while(fe<we.length&&we[fe].wrapperTemplate===ae.wrapperTemplate);var Je=c.cloneElement(ae.wrapperTemplate,{key:ae.key+"-wrap","data-offset-key":ae.offsetKey},Me);ue.push(Je)}else ue.push(ae.block),fe++}return c.createElement("div",{"data-contents":"true"},ue)},w}(c.Component);return ef=y,ef}var cN=la;function tf(){return tf=cN||function(t){for(var r=1;r<arguments.length;r++){var i=arguments[r];for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(t[a]=i[a])}return t},tf.apply(this,arguments)}function fN(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function dN(t,r){t.prototype=Object.create(r.prototype),t.prototype.constructor=t,t.__proto__=r}function pN(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}var hN=hm,Nm=Gi,Ju=P,Om=Jc,mN=$u,gN=Mc,vN=Mu,yN=aa,bN=bm,_N=Yu,wN=xm,SN=wt,xN=Kl,EN=cr,Dm=10,Mm=function(t,r){return t.getAnchorKey()===r||t.getFocusKey()===r},kN=function(t){dN(r,t);function r(){for(var a,u=arguments.length,c=new Array(u),g=0;g<u;g++)c[g]=arguments[g];return a=t.call.apply(t,[this].concat(c))||this,pN(fN(a),"_node",void 0),a}var i=r.prototype;return i.shouldComponentUpdate=function(a){return this.props.block!==a.block||this.props.tree!==a.tree||this.props.direction!==a.direction||Mm(a.selection,a.block.getKey())&&a.forceSelection},i.componentDidMount=function(){if(!this.props.preventScroll){var a=this.props.selection,u=a.getEndKey();if(!(!a.getHasFocus()||u!==this.props.block.getKey())){var c=this._node;if(c!=null){var g=mN.getScrollParent(c),y=_N(g),b;if(g===window){var w=bN(c),D=w.y+w.height,K=wN().height;b=D-K,b>0&&window.scrollTo(y.x,y.y+b+Dm)}else{xN(c)||SN(!1);var L=c.offsetHeight+c.offsetTop,T=g.offsetTop+g.offsetHeight,F=T+y.y;b=L-F,b>0&&Om.setTop(g,Om.getTop(g)+b+Dm)}}}}},i._renderChildren=function(){var a=this,u=this.props.block,c=u.getKey(),g=u.getText(),y=this.props.tree.size-1,b=Mm(this.props.selection,c);return this.props.tree.map(function(w,D){var K=w.get("leaves");if(K.size===0)return null;var L=K.size-1,T=K.map(function(ve,xe){var we=Nm.encode(c,D,xe),he=ve.get("start"),ge=ve.get("end");return Ju.createElement(hN,{key:we,offsetKey:we,block:u,start:he,selection:b?a.props.selection:null,forceSelection:a.props.forceSelection,text:g.slice(he,ge),styleSet:u.getInlineStyleAt(he),customStyleMap:a.props.customStyleMap,customStyleFn:a.props.customStyleFn,isLast:D===y&&xe===L})}).toArray(),F=w.get("decoratorKey");if(F==null||!a.props.decorator)return T;var R=EN(a.props.decorator),j=R.getComponentForKey(F);if(!j)return T;var G=R.getPropsForKey(F),Y=Nm.encode(c,D,0),W=K.first().get("start"),J=K.last().get("end"),le=g.slice(W,J),Se=u.getEntityAt(w.get("start")),_e=vN.getHTMLDirIfDifferent(gN.getDirection(le),a.props.direction),Ie={contentState:a.props.contentState,decoratedText:le,dir:_e,start:W,end:J,blockKey:c,entityKey:Se,offsetKey:Y};return Ju.createElement(j,tf({},G,Ie,{key:Y}),T)}).toArray()},i.render=function(){var a=this,u=this.props,c=u.direction,g=u.offsetKey,y=yN({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":c==="LTR","public/DraftStyleDefault/rtl":c==="RTL"});return Ju.createElement("div",{"data-offset-key":g,className:y,ref:function(b){return a._node=b}},this._renderChildren())},r}(Ju.Component),Lm=kN,nf,Cm;function NN(){if(Cm)return nf;Cm=1;function t(r){var i=r||"",a=arguments.length;if(a>1)for(var u=1;u<a;u++){var c=arguments[u];c&&(i=(i?i+" ":"")+c)}return i}return nf=t,nf}var rf,Bm;function ON(){if(Bm)return rf;Bm=1;var t=la;function r(){return r=t||function(T){for(var F=1;F<arguments.length;F++){var R=arguments[F];for(var j in R)Object.prototype.hasOwnProperty.call(R,j)&&(T[j]=R[j])}return T},r.apply(this,arguments)}function i(T){for(var F=1;F<arguments.length;F++){var R=arguments[F]!=null?arguments[F]:{},j=Object.keys(R);typeof Object.getOwnPropertySymbols=="function"&&(j=j.concat(Object.getOwnPropertySymbols(R).filter(function(G){return Object.getOwnPropertyDescriptor(R,G).enumerable}))),j.forEach(function(G){a(T,G,R[G])})}return T}function a(T,F,R){return F in T?Object.defineProperty(T,F,{value:R,enumerable:!0,configurable:!0,writable:!0}):T[F]=R,T}function u(T,F){T.prototype=Object.create(F.prototype),T.prototype.constructor=T,T.__proto__=F}var c=Lm,g=Gi,y=P,b=aa,w=NN(),D=cr,K=function(T,F,R,j){return b({"public/DraftStyleDefault/unorderedListItem":T==="unordered-list-item","public/DraftStyleDefault/orderedListItem":T==="ordered-list-item","public/DraftStyleDefault/reset":R,"public/DraftStyleDefault/depth0":F===0,"public/DraftStyleDefault/depth1":F===1,"public/DraftStyleDefault/depth2":F===2,"public/DraftStyleDefault/depth3":F===3,"public/DraftStyleDefault/depth4":F>=4,"public/DraftStyleDefault/listLTR":j==="LTR","public/DraftStyleDefault/listRTL":j==="RTL"})},L=function(T){u(F,T);function F(){return T.apply(this,arguments)||this}var R=F.prototype;return R.shouldComponentUpdate=function(j){var G=this.props.editorState,Y=j.editorState,W=G.getDirectionMap(),J=Y.getDirectionMap();if(W!==J)return!0;var le=G.getSelection().getHasFocus(),Se=Y.getSelection().getHasFocus();if(le!==Se)return!0;var _e=Y.getNativelyRenderedContent(),Ie=G.isInCompositionMode(),ve=Y.isInCompositionMode();if(G===Y||_e!==null&&Y.getCurrentContent()===_e||Ie&&ve)return!1;var xe=G.getCurrentContent(),we=Y.getCurrentContent(),he=G.getDecorator(),ge=Y.getDecorator();return Ie!==ve||xe!==we||he!==ge||Y.mustForceSelection()},R.render=function(){for(var j=this.props,G=j.blockRenderMap,Y=j.blockRendererFn,W=j.blockStyleFn,J=j.customStyleMap,le=j.customStyleFn,Se=j.editorState,_e=j.editorKey,Ie=j.preventScroll,ve=j.textDirectionality,xe=Se.getCurrentContent(),we=Se.getSelection(),he=Se.mustForceSelection(),ge=Se.getDecorator(),De=D(Se.getDirectionMap()),je=xe.getBlocksAsArray(),Ce=[],He=null,ue=null,fe=0;fe<je.length;fe++){var ae=je[fe],Me=ae.getKey(),Je=ae.getType(),Et=Y(ae),Ct=void 0,qe=void 0,Te=void 0;Et&&(Ct=Et.component,qe=Et.props,Te=Et.editable);var dt=ve||De.get(Me),Rt=g.encode(Me,0,0),It={contentState:xe,block:ae,blockProps:qe,blockStyleFn:W,customStyleMap:J,customStyleFn:le,decorator:ge,direction:dt,forceSelection:he,offsetKey:Rt,preventScroll:Ie,selection:we,tree:Se.getBlockTree(Me)},Ft=G.get(Je)||G.get("unstyled"),kt=Ft.wrapper,en=Ft.element||G.get("unstyled").element,Xe=ae.getDepth(),st="";if(W&&(st=W(ae)),en==="li"){var ut=ue!==kt||He===null||Xe>He;st=w(st,K(Je,Xe,ut,dt))}var Pt=Ct||c,hn={className:st,"data-block":!0,"data-editor":_e,"data-offset-key":Rt,key:Me};Te!==void 0&&(hn=i({},hn,{contentEditable:Te,suppressContentEditableWarning:!0}));var Bt=y.createElement(en,hn,y.createElement(Pt,r({},It,{key:Me})));Ce.push({block:Bt,wrapperTemplate:kt,key:Me,offsetKey:Rt}),kt?He=ae.getDepth():He=null,ue=kt}for(var Nt=[],rt=0;rt<Ce.length;){var pt=Ce[rt];if(pt.wrapperTemplate){var Kt=[];do Kt.push(Ce[rt].block),rt++;while(rt<Ce.length&&Ce[rt].wrapperTemplate===pt.wrapperTemplate);var Fe=y.cloneElement(pt.wrapperTemplate,{key:pt.key+"-wrap","data-offset-key":pt.offsetKey},Kt);Nt.push(Fe)}else Nt.push(pt.block),rt++}return y.createElement("div",{"data-contents":"true"},Nt)},F}(y.Component);return rf=L,rf}var DN=Eo,MN=DN("draft_tree_data_support"),LN=MN?sN():ON(),Fm={isImage:function(t){return Pm(t)[0]==="image"},isJpeg:function(t){var r=Pm(t);return Fm.isImage(t)&&(r[1]==="jpeg"||r[1]==="pjpeg")}};function Pm(t){return t.split("/")}var CN=Fm,Wu=wt;function BN(t){var r=t.length;if(!Array.isArray(t)&&(typeof t=="object"||typeof t=="function")||Wu(!1),typeof r!="number"&&Wu(!1),r===0||r-1 in t||Wu(!1),typeof t.callee=="function"&&Wu(!1),t.hasOwnProperty)try{return Array.prototype.slice.call(t)}catch{}for(var i=Array(r),a=0;a<r;a++)i[a]=t[a];return i}function FN(t){return!!t&&(typeof t=="object"||typeof t=="function")&&"length"in t&&!("setInterval"in t)&&typeof t.nodeType!="number"&&(Array.isArray(t)||"callee"in t||"item"in t)}function PN(t){return FN(t)?Array.isArray(t)?t.slice():BN(t):[t]}var KN=PN;function Gu(t){return function(){return t}}var ca=function(){};ca.thatReturns=Gu,ca.thatReturnsFalse=Gu(!1),ca.thatReturnsTrue=Gu(!0),ca.thatReturnsNull=Gu(null),ca.thatReturnsThis=function(){return this},ca.thatReturnsArgument=function(t){return t};var RN=ca,IN=CN,jN=KN,TN=RN,zN=new RegExp(`\r
19
+ `,"g"),HN=`
20
+ `,AN={"text/rtf":1,"text/html":1};function qN(t){if(t.kind=="file")return t.getAsFile()}var UN=function(){function t(i){this.data=i,this.types=i.types?jN(i.types):[]}var r=t.prototype;return r.isRichText=function(){return this.getHTML()&&this.getText()?!0:this.isImage()?!1:this.types.some(function(i){return AN[i]})},r.getText=function(){var i;return this.data.getData&&(this.types.length?this.types.indexOf("text/plain")!=-1&&(i=this.data.getData("text/plain")):i=this.data.getData("Text")),i?i.replace(zN,HN):null},r.getHTML=function(){if(this.data.getData)if(this.types.length){if(this.types.indexOf("text/html")!=-1)return this.data.getData("text/html")}else return this.data.getData("Text")},r.isLink=function(){return this.types.some(function(i){return i.indexOf("Url")!=-1||i.indexOf("text/uri-list")!=-1||i.indexOf("text/x-moz-url")})},r.getLink=function(){if(this.data.getData){if(this.types.indexOf("text/x-moz-url")!=-1){var i=this.data.getData("text/x-moz-url").split(`
21
+ `);return i[0]}return this.types.indexOf("text/uri-list")!=-1?this.data.getData("text/uri-list"):this.data.getData("url")}return null},r.isImage=function(){var i=this.types.some(function(g){return g.indexOf("application/x-moz-file")!=-1});if(i)return!0;for(var a=this.getFiles(),u=0;u<a.length;u++){var c=a[u].type;if(!IN.isImage(c))return!1}return!0},r.getCount=function(){return this.data.hasOwnProperty("items")?this.data.items.length:this.data.hasOwnProperty("mozItemCount")?this.data.mozItemCount:this.data.files?this.data.files.length:null},r.getFiles=function(){return this.data.items?Array.prototype.slice.call(this.data.items).map(qN).filter(TN.thatReturnsArgument):this.data.files?Array.prototype.slice.call(this.data.files):[]},r.hasFiles=function(){return this.getFiles().length>0},t}(),Km=UN,VN=wt,Rm=/\.textClipping$/,QN={"text/plain":!0,"text/html":!0,"text/rtf":!0},XN=5e3;function ZN(t,r){var i=0,a=[];t.forEach(function(u){$N(u,function(c){i++,c&&a.push(c.slice(0,XN)),i==t.length&&r(a.join("\r"))})})}function $N(t,r){if(!Pa.FileReader||t.type&&!(t.type in QN)){r("");return}if(t.type===""){var i="";Rm.test(t.name)&&(i=t.name.replace(Rm,"")),r(i);return}var a=new FileReader;a.onload=function(){var u=a.result;typeof u!="string"&&VN(!1),r(u)},a.onerror=function(){r("")},a.readAsText(t)}var Im=ZN;function YN(t){return t==="handled"||t===!0}var es=YN,JN=Km,jm=sr,Tm=At,WN=ju,GN=Iu,eO=Im,tO=Qh,nO=Th,zm=es,of=cr;function rO(t,r){var i=null,a=null,u=GN(t.currentTarget);if(typeof u.caretRangeFromPoint=="function"){var c=u.caretRangeFromPoint(t.x,t.y);i=c.startContainer,a=c.startOffset}else if(t.rangeParent)i=t.rangeParent,a=t.rangeOffset;else return null;i=of(i),a=of(a);var g=of(WN(i));return tO(r,g,a,g,a)}var iO={onDragEnd:function(t){t.exitCurrentMode(),Hm(t)},onDrop:function(t,r){var i=new JN(r.nativeEvent.dataTransfer),a=t._latestEditorState,u=rO(r.nativeEvent,a);if(r.preventDefault(),t._dragCount=0,t.exitCurrentMode(),u!=null){var c=i.getFiles();if(c.length>0){if(t.props.handleDroppedFiles&&zm(t.props.handleDroppedFiles(u,c)))return;eO(c,function(y){y&&t.update(Am(a,u,y))});return}var g=t._internalDrag?"internal":"external";t.props.handleDrop&&zm(t.props.handleDrop(u,i,g))||(t._internalDrag?t.update(oO(a,u)):t.update(Am(a,u,i.getText()))),Hm(t)}}};function Hm(t){t._internalDrag=!1;var r=t.editorContainer;if(r){var i=new MouseEvent("mouseup",{view:nO(r),bubbles:!0,cancelable:!0});r.dispatchEvent(i)}}function oO(t,r){var i=jm.moveText(t.getCurrentContent(),t.getSelection(),r);return Tm.push(t,i,"insert-fragment")}function Am(t,r,i){var a=jm.insertText(t.getCurrentContent(),r,i,t.getCurrentInlineStyle());return Tm.push(t,a,"insert-fragment")}var aO=iO;function lO(t){var r=t.getSelection(),i=r.getAnchorKey(),a=t.getBlockTree(i),u=r.getStartOffset(),c=!1;return a.some(function(g){return u===g.get("start")?(c=!0,!0):u<g.get("end")?g.get("leaves").some(function(y){var b=y.get("start");return u===b?(c=!0,!0):!1}):!1}),c}var uO=lO;(function(t,r){if(t.setImmediate)return;var i=1,a={},u=!1,c=t.document,g;function y(Y){typeof Y!="function"&&(Y=new Function(""+Y));for(var W=new Array(arguments.length-1),J=0;J<W.length;J++)W[J]=arguments[J+1];var le={callback:Y,args:W};return a[i]=le,g(i),i++}function b(Y){delete a[Y]}function w(Y){var W=Y.callback,J=Y.args;switch(J.length){case 0:W();break;case 1:W(J[0]);break;case 2:W(J[0],J[1]);break;case 3:W(J[0],J[1],J[2]);break;default:W.apply(r,J);break}}function D(Y){if(u)setTimeout(D,0,Y);else{var W=a[Y];if(W){u=!0;try{w(W)}finally{b(Y),u=!1}}}}function K(){g=function(Y){process.nextTick(function(){D(Y)})}}function L(){if(t.postMessage&&!t.importScripts){var Y=!0,W=t.onmessage;return t.onmessage=function(){Y=!1},t.postMessage("","*"),t.onmessage=W,Y}}function T(){var Y="setImmediate$"+Math.random()+"$",W=function(J){J.source===t&&typeof J.data=="string"&&J.data.indexOf(Y)===0&&D(+J.data.slice(Y.length))};t.addEventListener?t.addEventListener("message",W,!1):t.attachEvent("onmessage",W),g=function(J){t.postMessage(Y+J,"*")}}function F(){var Y=new MessageChannel;Y.port1.onmessage=function(W){var J=W.data;D(J)},g=function(W){Y.port2.postMessage(W)}}function R(){var Y=c.documentElement;g=function(W){var J=c.createElement("script");J.onreadystatechange=function(){D(W),J.onreadystatechange=null,Y.removeChild(J),J=null},Y.appendChild(J)}}function j(){g=function(Y){setTimeout(D,0,Y)}}var G=Object.getPrototypeOf&&Object.getPrototypeOf(t);G=G&&G.setTimeout?G:t,{}.toString.call(t.process)==="[object process]"?K():L()?T():t.MessageChannel?F():c&&"onreadystatechange"in c.createElement("script")?R():j(),G.setImmediate=y,G.clearImmediate=b})(typeof self>"u"?Pa:self);var sO=Pa.setImmediate,cO=sr,af=At,fO=fr,qm=Tc,dO=es,pO=uO,Um=cr,hO=sO,mO="'",gO="/",vO=fO.isBrowser("Firefox");function yO(t){return vO&&(t==mO||t==gO)}function Vm(t,r,i,a,u){var c=cO.replaceText(t.getCurrentContent(),t.getSelection(),r,i,a);return af.push(t,c,"insert-characters",u)}function bO(t,r){t._pendingStateFromBeforeInput!==void 0&&(t.update(t._pendingStateFromBeforeInput),t._pendingStateFromBeforeInput=void 0);var i=t._latestEditorState,a=r.data;if(a){if(t.props.handleBeforeInput&&dO(t.props.handleBeforeInput(a,i,r.timeStamp))){r.preventDefault();return}var u=i.getSelection(),c=u.getStartOffset(),g=u.getAnchorKey();if(!u.isCollapsed()){r.preventDefault(),t.update(Vm(i,a,i.getCurrentInlineStyle(),qm(i.getCurrentContent(),i.getSelection()),!0));return}var y=Vm(i,a,i.getCurrentInlineStyle(),qm(i.getCurrentContent(),i.getSelection()),!1),b=!1;if(b||(b=pO(t._latestCommittedEditorState)),!b){var w=i.getBlockTree(g),D=y.getBlockTree(g);b=w.size!==D.size||w.zip(D).some(function(K){var L=K[0],T=K[1],F=L.get("start"),R=F+(F>=c?a.length:0),j=L.get("end"),G=j+(j>=c?a.length:0),Y=T.get("start"),W=T.get("end"),J=T.get("decoratorKey");return L.get("decoratorKey")!==J||L.get("leaves").size!==T.get("leaves").size||R!==Y||G!==W||J!=null&&W-Y!==j-F})}if(b||(b=yO(a)),b||(b=Um(y.getDirectionMap()).get(g)!==Um(i.getDirectionMap()).get(g)),b){r.preventDefault(),y=af.set(y,{forceSelection:!0}),t.update(y);return}y=af.set(y,{nativelyRenderedContent:y.getCurrentContent()}),t._pendingStateFromBeforeInput=y,hO(function(){t._pendingStateFromBeforeInput!==void 0&&(t.update(t._pendingStateFromBeforeInput),t._pendingStateFromBeforeInput=void 0)})}}var _O=bO,wO=At,Qm=Vc,SO=um;function xO(t,r){var i=r.currentTarget.ownerDocument;if(!t.props.preserveSelectionOnBlur&&SO(i)===i.body){var a=i.defaultView.getSelection(),u=t.editor;a.rangeCount===1&&Qm(u,a.anchorNode)&&Qm(u,a.focusNode)&&a.removeAllRanges()}var c=t._latestEditorState,g=c.getSelection();if(g.getHasFocus()){var y=g.set("hasFocus",!1);t.props.onBlur&&t.props.onBlur(r),t.update(wO.acceptSelection(c,y))}}var EO=xO,kO=At;function NO(t,r){t.setMode("composite"),t.update(kO.set(t._latestEditorState,{inCompositionMode:!0})),t._onCompositionStart(r)}var OO=NO,DO=yu;function MO(t){var r=t.getSelection();return r.isCollapsed()?null:DO(t.getCurrentContent(),r)}var Xm=MO,LO=Xm;function CO(t,r){var i=t._latestEditorState,a=i.getSelection();if(a.isCollapsed()){r.preventDefault();return}t.setClipboard(LO(t._latestEditorState))}var BO=CO;function FO(t){if(!t||!("ownerDocument"in t))return!1;if("ownerDocument"in t){var r=t;if(!r.ownerDocument.defaultView)return r instanceof Node;if(r instanceof r.ownerDocument.defaultView.Node)return!0}return!1}var PO=FO,KO=sr,RO=At,IO=$u,jO=Xm,TO=Yu,zO=PO;function HO(t,r){var i=t._latestEditorState,a=i.getSelection(),u=r.target,c;if(a.isCollapsed()){r.preventDefault();return}if(zO(u)){var g=u;c=TO(IO.getScrollParent(g))}var y=jO(i);t.setClipboard(y),t.setMode("cut"),setTimeout(function(){t.restoreEditorDOM(c),t.exitCurrentMode(),t.update(AO(i))},0)}function AO(t){var r=KO.removeRange(t.getCurrentContent(),t.getSelection(),"forward");return RO.push(t,r,"remove-range")}var qO=HO;function UO(t,r){t.setMode("drag"),r.preventDefault()}var VO=UO;function QO(t){t._internalDrag=!0,t.setMode("drag")}var XO=QO,Zm=At,ZO=fr;function $O(t,r){var i=t._latestEditorState,a=i.getSelection();if(!a.getHasFocus()){var u=a.set("hasFocus",!0);t.props.onFocus&&t.props.onFocus(r),ZO.isBrowser("Chrome < 60.0.3081.0")?t.update(Zm.forceSelection(i,u)):t.update(Zm.acceptSelection(i,u))}}var YO=$O,JO=wt,$m=55296,WO=56319,GO=56320,Ym=57343,eD=/[\uD800-\uDFFF]/;function Jm(t){return $m<=t&&t<=Ym}function tD(t,r){if(0<=r&&r<t.length||JO(!1),r+1===t.length)return!1;var i=t.charCodeAt(r),a=t.charCodeAt(r+1);return $m<=i&&i<=WO&&GO<=a&&a<=Ym}function lf(t){return eD.test(t)}function Aa(t,r){return 1+Jm(t.charCodeAt(r))}function nD(t){if(!lf(t))return t.length;for(var r=0,i=0;i<t.length;i+=Aa(t,i))r++;return r}function Wm(t,r,i){if(r=r||0,i=i===void 0?1/0:i||0,!lf(t))return t.substr(r,i);var a=t.length;if(a<=0||r>a||i<=0)return"";var u=0;if(r>0){for(;r>0&&u<a;r--)u+=Aa(t,u);if(u>=a)return""}else if(r<0){for(u=a;r<0&&0<u;r++)u-=Aa(t,u-1);u<0&&(u=0)}var c=a;if(i<a)for(c=u;i>0&&c<a;i--)c+=Aa(t,c);return t.substring(u,c)}function rD(t,r,i){r=r||0,i=i===void 0?1/0:i||0,r<0&&(r=0),i<0&&(i=0);var a=Math.abs(i-r);return r=r<i?r:i,Wm(t,r,a)}function iD(t){for(var r=[],i=0;i<t.length;i+=Aa(t,i))r.push(t.codePointAt(i));return r}var oD={getCodePoints:iD,getUTF16Length:Aa,hasSurrogateUnit:lf,isCodeUnitInSurrogateRange:Jm,isSurrogatePair:tD,strlen:nD,substring:rD,substr:Wm},fa=oD;function aD(t,r){var i=t.getSelection(),a=t.getCurrentContent(),u=i.getStartKey(),c=i.getStartOffset(),g=u,y=0;if(r>c){var b=a.getKeyBefore(u);if(b==null)g=u;else{g=b;var w=a.getBlockForKey(b);y=w.getText().length}}else y=c-r;return i.merge({focusKey:g,focusOffset:y,isBackward:!0})}var uf=aD,lD=sr,uD=Eo,Gm=uD("draft_tree_data_support");function sD(t,r,i){var a=t.getSelection(),u=t.getCurrentContent(),c=a,g=a.getAnchorKey(),y=a.getFocusKey(),b=u.getBlockForKey(g);if(Gm&&i==="forward"&&g!==y)return u;if(a.isCollapsed()){if(i==="forward"){if(t.isSelectionAtEndOfContent())return u;if(Gm){var w=a.getAnchorOffset()===u.getBlockForKey(g).getLength();if(w){var D=u.getBlockForKey(b.nextSibling);if(!D||D.getLength()===0)return u}}}else if(t.isSelectionAtStartOfContent())return u;if(c=r(t),c===a)return u}return lD.removeRange(u,c,i)}var zl=sD,cD=At,fD=fa,dD=uf,pD=zl;function hD(t){var r=pD(t,function(a){var u=a.getSelection(),c=a.getCurrentContent(),g=u.getAnchorKey(),y=u.getAnchorOffset(),b=c.getBlockForKey(g).getText()[y-1];return dD(a,b?fD.getUTF16Length(b,0):1)},"backward");if(r===t.getCurrentContent())return t;var i=t.getSelection();return cD.push(t,r.set("selectionBefore",i),i.isCollapsed()?"backspace-character":"remove-range")}var eg=hD,mD=sr,gD=Gi,vD=At,yD=fr,bD=Gh,_D=bD.notEmptyKey,wD=ju,SD=eg,xD=cr,ED=yD.isEngine("Gecko"),kD=`
22
22
 
23
- `;function QN(t,r){switch(t){case"deleteContentBackward":return qN(r)}return r}function $N(t,r){t._pendingStateFromBeforeInput!==void 0&&(t.update(t._pendingStateFromBeforeInput),t._pendingStateFromBeforeInput=void 0);var i=t.editor,a=i.ownerDocument.defaultView.getSelection(),u=a.anchorNode,f=a.isCollapsed,g=u?.nodeType!==Node.TEXT_NODE&&u?.nodeType!==Node.ELEMENT_NODE;if(!(u==null||g)){if(u.nodeType===Node.TEXT_NODE&&(u.previousSibling!==null||u.nextSibling!==null)){var y=u.parentNode;if(y==null)return;u.nodeValue=y.textContent;for(var b=y.firstChild;b!=null;b=b.nextSibling)b!==u&&y.removeChild(b)}var k=u.textContent,D=t._latestEditorState,P=AN(HN(u)),L=RN.decode(P),T=L.blockKey,F=L.decoratorKey,R=L.leafKey,j=D.getBlockTree(T).getIn([F,"leaves",R]),ne=j.start,Y=j.end,W=D.getCurrentContent(),J=W.getBlockForKey(T),le=J.getText().slice(ne,Y);if(k.endsWith(VN)&&(k=k.slice(0,-1)),k===le){var Se=r.nativeEvent.inputType;if(Se){var _e=QN(Se,D);if(_e!==D){t.restoreEditorDOM(),t.update(_e);return}}return}var Ie=D.getSelection(),ve=Ie.merge({anchorOffset:ne,focusOffset:Y,isBackward:!1}),ke=J.getEntityAt(ne),we=zN(ke)?W.getEntity(ke):null,he=we!=null?we.getMutability():null,ge=he==="MUTABLE",De=ge?"spellcheck-change":"apply-entity",je=KN.replaceText(W,ve,k,J.getInlineStyleAt(ne),ge?J.getEntityAt(ne):null),Ce,He,ue,fe;if(UN)Ce=a.anchorOffset,He=a.focusOffset,ue=ne+Math.min(Ce,He),fe=ue+Math.abs(Ce-He),Ce=ue,He=fe;else{var ae=k.length-le.length;ue=Ie.getStartOffset(),fe=Ie.getEndOffset(),Ce=f?fe+ae:ue,He=fe+ae}var Me=je.merge({selectionBefore:W.getSelectionAfter(),selectionAfter:Ie.merge({anchorOffset:Ce,focusOffset:He})});t.update(IN.push(D,Me,De))}}var XN=$N,ZN=Fu;function JN(t){return t.which===ZN.RETURN&&(t.getModifierState("Shift")||t.getModifierState("Alt")||t.getModifierState("Control"))}var YN=JN,WN=sr,GN=YN,Wc=WN.isPlatform("Mac OS X"),Tm={isCtrlKeyCommand:function(t){return!!t.ctrlKey&&!t.altKey},isOptionKeyCommand:function(t){return Wc&&t.altKey},usesMacOSHeuristics:function(){return Wc},hasCommandModifier:function(t){return Wc?!!t.metaKey&&!t.altKey:Tm.isCtrlKeyCommand(t)},isSoftNewlineEvent:GN},Gc=Tm,zm=lr,Hm=zt,eD=cu,tD=ur,ef=null,nD={cut:function(t){var r=t.getCurrentContent(),i=t.getSelection(),a=null;if(i.isCollapsed()){var u=i.getAnchorKey(),f=r.getBlockForKey(u).getLength();if(f===i.getAnchorOffset()){var g=r.getKeyAfter(u);if(g==null)return t;a=i.set("focusKey",g).set("focusOffset",0)}else a=i.set("focusOffset",f)}else a=i;a=tD(a),ef=eD(r,a);var y=zm.removeRange(r,a,"forward");return y===r?t:Hm.push(t,y,"remove-range")},paste:function(t){if(!ef)return t;var r=zm.replaceWithFragment(t.getCurrentContent(),t.getSelection(),ef);return Hm.push(t,r,"insert-fragment")}},rD=nD,iD=sr,oD=_t,aD=iD.isBrowser("Chrome");function lD(t){for(var r=t.cloneRange(),i=[],a=t.endContainer;a!=null;a=a.parentNode){var u=a===t.commonAncestorContainer;u?r.setStart(t.startContainer,t.startOffset):r.setStart(r.endContainer,0);var f=Array.from(r.getClientRects());if(i.push(f),u){var g;return i.reverse(),(g=[]).concat.apply(g,i)}r.setEndBefore(a)}oD(!1)}var uD=aD?lD:function(t){return Array.from(t.getClientRects())},qm=uD,sD=aa,cD=Mu,Am=qm,tf=_t;function fD(t){var r=getComputedStyle(t),i=cD(t),a=i.createElement("div");a.style.fontFamily=r.fontFamily,a.style.fontSize=r.fontSize,a.style.fontStyle=r.fontStyle,a.style.fontWeight=r.fontWeight,a.style.lineHeight=r.lineHeight,a.style.position="absolute",a.textContent="M";var u=i.body;u||tf(!1),u.appendChild(a);var f=a.getBoundingClientRect();return u.removeChild(a),f.height}function Um(t,r){for(var i=1/0,a=1/0,u=-1/0,f=-1/0,g=0;g<t.length;g++){var y=t[g];y.width===0||y.width===1||(i=Math.min(i,y.top),a=Math.min(a,y.bottom),u=Math.max(u,y.top),f=Math.max(f,y.bottom))}return u<=a&&u-i<r&&f-a<r}function dD(t){switch(t.nodeType){case Node.DOCUMENT_TYPE_NODE:return 0;case Node.TEXT_NODE:case Node.PROCESSING_INSTRUCTION_NODE:case Node.COMMENT_NODE:return t.length;default:return t.childNodes.length}}function pD(t){t.collapsed||tf(!1),t=t.cloneRange();var r=t.startContainer;r.nodeType!==1&&(r=r.parentNode);var i=fD(r),a=t.endContainer,u=t.endOffset;for(t.setStart(t.startContainer,0);Um(Am(t),i)&&(a=t.startContainer,u=t.startOffset,a.parentNode||tf(!1),t.setStartBefore(a),!(a.nodeType===1&&getComputedStyle(a).display!=="inline")););var f=a,g=u-1;do{for(var y=f.nodeValue,b=g;b>=0;b--)if(!(y!=null&&b>0&&sD.isSurrogatePair(y,b-1)))if(t.setStart(f,b),Um(Am(t),i))a=f,u=b;else break;if(b===-1||f.childNodes.length===0)break;f=f.childNodes[b],g=dD(f)}while(!0);return t.setStart(a,u),t}var hD=pD,mD=zt,gD=hD,vD=Fh,yD=Yc,bD=Fl;function _D(t,r){var i=bD(t,function(a){var u=a.getSelection();if(u.isCollapsed()&&u.getAnchorOffset()===0)return yD(a,1);var f=r.currentTarget.ownerDocument,g=f.defaultView.getSelection(),y=g.getRangeAt(0);return y=gD(y),vD(a,null,y.endContainer,y.endOffset,y.startContainer,y.startOffset).selectionState},"backward");return i===t.getCurrentContent()?t:mD.push(t,i,"remove-range")}var wD=_D,SD=`[.,+*?$|#{}()'\\^\\-\\[\\]\\\\\\/!@%"~=<>_:;\u30FB\u3001\u3002\u3008-\u3011\u3014-\u301F\uFF1A-\uFF1F\uFF01-\uFF0F\uFF3B-\uFF40\uFF5B-\uFF65\u2E2E\u061F\u066A-\u066C\u061B\u060C\u060D\uFD3E\uFD3F\u1801\u0964\u104A\u104B\u2010-\u2027\u2030-\u205E\xA1-\xB1\xB4-\xB8\xBA\xBB\xBF]`,kD={getPunctuation:function(){return SD}},xD=kD,ED=xD.getPunctuation(),Vm="['\u2018\u2019]",Ta="\\s|(?![_])"+ED,OD="^(?:"+Ta+")*(?:"+Vm+"|(?!"+Ta+").)*(?:(?!"+Ta+").)",ND=new RegExp(OD),DD="(?:(?!"+Ta+").)(?:"+Vm+"|(?!"+Ta+").)*(?:"+Ta+")*$",MD=new RegExp(DD);function Qm(t,r){var i=r?MD.exec(t):ND.exec(t);return i?i[0]:t}var LD={getBackward:function(t){return Qm(t,!0)},getForward:function(t){return Qm(t,!1)}},$m=LD,CD=$m,BD=zt,Xm=Yc,FD=Fl;function PD(t){var r=FD(t,function(i){var a=i.getSelection(),u=a.getStartOffset();if(u===0)return Xm(i,1);var f=a.getStartKey(),g=i.getCurrentContent(),y=g.getBlockForKey(f).getText().slice(0,u),b=CD.getBackward(y);return Xm(i,b.length||1)},"backward");return r===t.getCurrentContent()?t:BD.push(t,r,"remove-range")}var KD=PD;function RD(t,r){var i=t.getSelection(),a=i.getStartKey(),u=i.getStartOffset(),f=t.getCurrentContent(),g=a,y,b=f.getBlockForKey(a);return r>b.getText().length-u?(g=f.getKeyAfter(a),y=0):y=u+r,i.merge({focusKey:g,focusOffset:y})}var Zm=RD,ID=$m,jD=zt,TD=Zm,zD=Fl;function HD(t){var r=zD(t,function(i){var a=i.getSelection(),u=a.getStartOffset(),f=a.getStartKey(),g=i.getCurrentContent(),y=g.getBlockForKey(f).getText().slice(u),b=ID.getForward(y);return TD(i,b.length||1)},"forward");return r===t.getCurrentContent()?t:jD.push(t,r,"remove-range")}var qD=HD,AD=lr,UD=zt;function VD(t){var r=AD.splitBlock(t.getCurrentContent(),t.getSelection());return UD.push(t,r,"split-block")}var QD=VD,$D=zt;function XD(t){var r=t.getSelection(),i=r.getEndKey(),a=t.getCurrentContent(),u=a.getBlockForKey(i).getLength();return $D.set(t,{selection:r.merge({anchorKey:i,anchorOffset:u,focusKey:i,focusOffset:u,isBackward:!1}),forceSelection:!0})}var ZD=XD,JD=zt;function YD(t){var r=t.getSelection(),i=r.getStartKey();return JD.set(t,{selection:r.merge({anchorKey:i,anchorOffset:0,focusKey:i,focusOffset:0,isBackward:!1}),forceSelection:!0})}var WD=YD,GD=zt,eM=aa,tM=Zm,nM=Fl;function rM(t){var r=nM(t,function(a){var u=a.getSelection(),f=a.getCurrentContent(),g=u.getAnchorKey(),y=u.getAnchorOffset(),b=f.getBlockForKey(g).getText()[y];return tM(a,b?eM.getUTF16Length(b,0):1)},"forward");if(r===t.getCurrentContent())return t;var i=t.getSelection();return GD.push(t,r.set("selectionBefore",i),i.isCollapsed()?"delete-character":"remove-range")}var iM=rM,Jm=lr,Ym=zt,oM=cu;function aM(t){var r=t.getSelection();if(!r.isCollapsed())return t;var i=r.getAnchorOffset();if(i===0)return t;var a=r.getAnchorKey(),u=t.getCurrentContent(),f=u.getBlockForKey(a),g=f.getLength();if(g<=1)return t;var y,b;i===g?(y=r.set("anchorOffset",i-1),b=r):(y=r.set("focusOffset",i+1),b=y.set("anchorOffset",i+1));var k=oM(u,y),D=Jm.removeRange(u,y,"backward"),P=D.getSelectionAfter(),L=P.getAnchorOffset()-1,T=P.merge({anchorOffset:L,focusOffset:L}),F=Jm.replaceWithFragment(D,T,k),R=Ym.push(t,F,"insert-fragment");return Ym.acceptSelection(R,b)}var lM=aM,nf=zt;function uM(t,r,i){var a=nf.undo(r);if(r.getLastChangeType()==="spellcheck-change"){var u=a.getCurrentContent();i(nf.set(a,{nativelyRenderedContent:u}));return}if(t.preventDefault(),!r.getNativelyRenderedContent()){i(a);return}i(nf.set(r,{nativelyRenderedContent:null})),setTimeout(function(){i(a)},0)}var sM=uM,cM=lr,Wm=zt,fM=Gc,Yi=Fu,Gm=rD,dM=sr,eg=Qu,pM=wD,hM=KD,mM=qD,gM=QD,vM=ZD,yM=WD,bM=jm,_M=iM,wM=lM,SM=sM,tg=fM.isOptionKeyCommand,ng=dM.isBrowser("Chrome");function kM(t,r,i){switch(t){case"redo":return Wm.redo(r);case"delete":return _M(r);case"delete-word":return mM(r);case"backspace":return bM(r);case"backspace-word":return hM(r);case"backspace-to-start-of-line":return pM(r,i);case"split-block":return gM(r);case"transpose-characters":return wM(r);case"move-selection-to-start-of-block":return yM(r);case"move-selection-to-end-of-block":return vM(r);case"secondary-cut":return Gm.cut(r);case"secondary-paste":return Gm.paste(r);default:return r}}function xM(t,r){var i=r.which,a=t._latestEditorState;function u(b){var k=t.props[b];return k?(k(r),!0):!1}switch(i){case Yi.RETURN:if(r.preventDefault(),t.props.handleReturn&&eg(t.props.handleReturn(r,a)))return;break;case Yi.ESC:if(r.preventDefault(),u("onEscape"))return;break;case Yi.TAB:if(u("onTab"))return;break;case Yi.UP:if(u("onUpArrow"))return;break;case Yi.RIGHT:if(u("onRightArrow"))return;break;case Yi.DOWN:if(u("onDownArrow"))return;break;case Yi.LEFT:if(u("onLeftArrow"))return;break;case Yi.SPACE:ng&&tg(r)&&r.preventDefault()}var f=t.props.keyBindingFn(r);if(f==null||f===""){if(i===Yi.SPACE&&ng&&tg(r)){var g=cM.replaceText(a.getCurrentContent(),a.getSelection(),"\xA0");t.update(Wm.push(a,g,"insert-characters"))}return}if(f==="undo"){SM(r,a,t.update);return}if(r.preventDefault(),!(t.props.handleKeyCommand&&eg(t.props.handleKeyCommand(f,a,r.timeStamp)))){var y=kM(f,a,r);y!==a&&t.update(y)}}var EM=xM;function OM(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}var NM=function(){function t(i){OM(this,"_uri",void 0),this._uri=i}var r=t.prototype;return r.toString=function(){return this._uri},t}(),DM=NM,MM=sr,LM=_t,CM=MM.isBrowser("IE <= 9");function BM(t){var r,i=null;return!CM&&document.implementation&&document.implementation.createHTMLDocument&&(r=document.implementation.createHTMLDocument("foo"),r.documentElement||LM(!1),r.documentElement.innerHTML=t,i=r.getElementsByTagName("body")[0]),i}var rg=BM,FM=ra;function PM(t){return!t||!t.ownerDocument?!1:FM(t)&&t.nodeName==="A"}var KM=PM,RM=ra;function IM(t){return!t||!t.ownerDocument?!1:RM(t)&&t.nodeName==="IMG"}var jM=IM,la;function rf(t){for(var r=1;r<arguments.length;r++){var i=arguments[r]!=null?arguments[r]:{},a=Object.keys(i);typeof Object.getOwnPropertySymbols=="function"&&(a=a.concat(Object.getOwnPropertySymbols(i).filter(function(u){return Object.getOwnPropertyDescriptor(i,u).enumerable}))),a.forEach(function(u){In(t,u,i[u])})}return t}function In(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}var TM=Qr,zM=Wo,HM=$r,qM=xc,ig=hu,og=DM,Pl=ta,ag=Ni,AM=rg,lg=wo,of=mt,So=of.List,ug=of.Map,UM=of.OrderedSet,sg=KM,VM=Ah,af=Dl,cg=jM,fg=lg("draft_tree_data_support"),QM="&nbsp;",dg=" ",$M=new RegExp("\r","g"),XM=new RegExp(`
24
- `,"g"),ZM=new RegExp(`^
25
- `,"g"),JM=new RegExp(QM,"g"),YM=new RegExp("&#13;?","g"),WM=new RegExp("&#8203;?","g"),GM=["bold","bolder","500","600","700","800","900"],eL=["light","lighter","normal","100","200","300","400"],tL=["className","href","rel","target","title"],nL=["alt","className","height","src","width"],pg=(la={},In(la,Pl("public/DraftStyleDefault/depth0"),0),In(la,Pl("public/DraftStyleDefault/depth1"),1),In(la,Pl("public/DraftStyleDefault/depth2"),2),In(la,Pl("public/DraftStyleDefault/depth3"),3),In(la,Pl("public/DraftStyleDefault/depth4"),4),la),hg=ug({b:"BOLD",code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",i:"ITALIC",s:"STRIKETHROUGH",strike:"STRIKETHROUGH",strong:"BOLD",u:"UNDERLINE",mark:"HIGHLIGHT"}),rL=function(t){var r={};return t.mapKeys(function(i,a){var u=[a.element];a.aliasedElements!==void 0&&u.push.apply(u,a.aliasedElements),u.forEach(function(f){r[f]===void 0?r[f]=i:typeof r[f]=="string"?r[f]=[r[f],i]:r[f].push(i)})}),ug(r)},iL=function(t){if(af(t)){var r=t;if(r.style.fontFamily.includes("monospace"))return"CODE"}return null},oL=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return Object.keys(pg).some(function(i){t.classList.contains(i)&&(r=pg[i])}),r},aL=function(t){if(!sg(t))return!1;var r=t;if(!r.href||r.protocol!=="http:"&&r.protocol!=="https:"&&r.protocol!=="mailto:"&&r.protocol!=="tel:")return!1;try{var i=new og(r.href);return!0}catch{return!1}},lL=function(t){if(!cg(t))return!1;var r=t;return!!(r.attributes.getNamedItem("src")&&r.attributes.getNamedItem("src").value)},uL=function(t,r){if(!af(t))return r;var i=t,a=i.style.fontWeight,u=i.style.fontStyle,f=i.style.textDecoration;return r.withMutations(function(g){GM.indexOf(a)>=0?g.add("BOLD"):eL.indexOf(a)>=0&&g.remove("BOLD"),u==="italic"?g.add("ITALIC"):u==="normal"&&g.remove("ITALIC"),f==="underline"&&g.add("UNDERLINE"),f==="line-through"&&g.add("STRIKETHROUGH"),f==="none"&&(g.remove("UNDERLINE"),g.remove("STRIKETHROUGH"))})},lf=function(t){return t==="ul"||t==="ol"},sL=function(){function t(i,a){In(this,"characterList",So()),In(this,"currentBlockType","unstyled"),In(this,"currentDepth",0),In(this,"currentEntity",null),In(this,"currentText",""),In(this,"wrapper",null),In(this,"blockConfigs",[]),In(this,"contentBlocks",[]),In(this,"entityMap",ig),In(this,"blockTypeMap",void 0),In(this,"disambiguate",void 0),this.clear(),this.blockTypeMap=i,this.disambiguate=a}var r=t.prototype;return r.clear=function(){this.characterList=So(),this.blockConfigs=[],this.currentBlockType="unstyled",this.currentDepth=0,this.currentEntity=null,this.currentText="",this.entityMap=ig,this.wrapper=null,this.contentBlocks=[]},r.addDOMNode=function(i){var a;return this.contentBlocks=[],this.currentDepth=0,(a=this.blockConfigs).push.apply(a,this._toBlockConfigs([i],UM())),this._trimCurrentText(),this.currentText!==""&&this.blockConfigs.push(this._makeBlockConfig()),this},r.getContentBlocks=function(){return this.contentBlocks.length===0&&(fg?this._toContentBlocks(this.blockConfigs):this._toFlatContentBlocks(this.blockConfigs)),{contentBlocks:this.contentBlocks,entityMap:this.entityMap}},r._makeBlockConfig=function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},a=i.key||ag(),u=rf({key:a,type:this.currentBlockType,text:this.currentText,characterList:this.characterList,depth:this.currentDepth,parent:null,children:So(),prevSibling:null,nextSibling:null,childConfigs:[]},i);return this.characterList=So(),this.currentBlockType="unstyled",this.currentText="",u},r._toBlockConfigs=function(i,a){for(var u=[],f=0;f<i.length;f++){var g=i[f],y=g.nodeName.toLowerCase();if(y==="body"||lf(y)){this._trimCurrentText(),this.currentText!==""&&u.push(this._makeBlockConfig());var b=this.currentDepth,k=this.wrapper;lf(y)&&(this.wrapper=y,lf(k)&&this.currentDepth++),u.push.apply(u,this._toBlockConfigs(Array.from(g.childNodes),a)),this.currentDepth=b,this.wrapper=k;continue}var D=this.blockTypeMap.get(y);if(D!==void 0){this._trimCurrentText(),this.currentText!==""&&u.push(this._makeBlockConfig());var P=this.currentDepth,L=this.wrapper;if(this.wrapper=y==="pre"?"pre":this.wrapper,typeof D!="string"&&(D=this.disambiguate(y,this.wrapper)||D[0]||"unstyled"),!fg&&af(g)&&(D==="unordered-list-item"||D==="ordered-list-item")){var T=g;this.currentDepth=oL(T,this.currentDepth)}var F=ag(),R=this._toBlockConfigs(Array.from(g.childNodes),a);this._trimCurrentText(),u.push(this._makeBlockConfig({key:F,childConfigs:R,type:D})),this.currentDepth=P,this.wrapper=L;continue}if(y==="#text"){this._addTextNode(g,a);continue}if(y==="br"){this._addBreakNode(g,a);continue}if(lL(g)){this._addImgNode(g,a);continue}if(aL(g)){this._addAnchorNode(g,u,a);continue}var j=a;hg.has(y)&&(j=j.add(hg.get(y))),j=uL(g,j);var ne=iL(g);ne!=null&&(j=j.add(ne)),u.push.apply(u,this._toBlockConfigs(Array.from(g.childNodes),j))}return u},r._appendText=function(i,a){var u;this.currentText+=i;var f=TM.create({style:a,entity:this.currentEntity});this.characterList=(u=this.characterList).push.apply(u,Array(i.length).fill(f))},r._trimCurrentText=function(){var i=this.currentText.length,a=i-this.currentText.trimLeft().length,u=this.currentText.trimRight().length,f=this.characterList.findEntry(function(g){return g.getEntity()!==null});a=f!==void 0?Math.min(a,f[0]):a,f=this.characterList.reverse().findEntry(function(g){return g.getEntity()!==null}),u=f!==void 0?Math.max(u,i-f[0]):u,a>u?(this.currentText="",this.characterList=So()):(this.currentText=this.currentText.slice(a,u),this.characterList=this.characterList.slice(a,u))},r._addTextNode=function(i,a){var u=i.textContent,f=u.trim();f===""&&this.wrapper!=="pre"&&(u=" "),this.wrapper!=="pre"&&(u=u.replace(ZM,""),u=u.replace(XM,dg)),this._appendText(u,a)},r._addBreakNode=function(i,a){VM(i)&&this._appendText(`
26
- `,a)},r._addImgNode=function(i,a){if(cg(i)){var u=i,f={};nL.forEach(function(g){var y=u.getAttribute(g);y&&(f[g]=y)}),this.currentEntity=this.entityMap.__create("IMAGE","IMMUTABLE",f),lg("draftjs_fix_paste_for_img")?u.getAttribute("role")!=="presentation"&&this._appendText("\u{1F4F7}",a):this._appendText("\u{1F4F7}",a),this.currentEntity=null}},r._addAnchorNode=function(i,a,u){if(sg(i)){var f=i,g={};tL.forEach(function(y){var b=f.getAttribute(y);b&&(g[y]=b)}),g.url=new og(f.href).toString(),this.currentEntity=this.entityMap.__create("LINK","MUTABLE",g||{}),a.push.apply(a,this._toBlockConfigs(Array.from(i.childNodes),u)),this.currentEntity=null}},r._toContentBlocks=function(i){for(var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,u=i.length-1,f=0;f<=u;f++){var g=i[f];g.parent=a,g.prevSibling=f>0?i[f-1].key:null,g.nextSibling=f<u?i[f+1].key:null,g.children=So(g.childConfigs.map(function(y){return y.key})),this.contentBlocks.push(new HM(rf({},g))),this._toContentBlocks(g.childConfigs,g.key)}},r._hoistContainersInBlockConfigs=function(i){var a=this,u=So(i).flatMap(function(f){return f.type!=="unstyled"||f.text!==""?[f]:a._hoistContainersInBlockConfigs(f.childConfigs)});return u},r._toFlatContentBlocks=function(i){var a=this,u=this._hoistContainersInBlockConfigs(i);u.forEach(function(f){var g=a._extractTextFromBlockConfigs(f.childConfigs),y=g.text,b=g.characterList;a.contentBlocks.push(new zM(rf({},f,{text:f.text+y,characterList:f.characterList.concat(b)})))})},r._extractTextFromBlockConfigs=function(i){for(var a=i.length-1,u="",f=So(),g=0;g<=a;g++){var y=i[g];u+=y.text,f=f.concat(y.characterList),u!==""&&y.type!=="unstyled"&&(u+=`
27
- `,f=f.push(f.last()));var b=this._extractTextFromBlockConfigs(y.childConfigs);u+=b.text,f=f.concat(b.characterList)}return{text:u,characterList:f}},t}(),cL=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:AM,i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:qM;t=t.trim().replace($M,"").replace(JM,dg).replace(YM,"").replace(WM,"");var a=r(t);if(!a)return null;var u=rL(i),f=function(g,y){return g==="li"?y==="ol"?"ordered-list-item":"unordered-list-item":null};return new sL(u,f).addDOMNode(a).getContentBlocks()},mg=cL;function fL(t){for(var r=1;r<arguments.length;r++){var i=arguments[r]!=null?arguments[r]:{},a=Object.keys(i);typeof Object.getOwnPropertySymbols=="function"&&(a=a.concat(Object.getOwnPropertySymbols(i).filter(function(u){return Object.getOwnPropertyDescriptor(i,u).enumerable}))),a.forEach(function(u){dL(t,u,i[u])})}return t}function dL(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}var pL=Wo,hL=$r,mL=mg,gL=Ni,vL=rg,yL=wo,gg=mt,bL=Fp,_L=gg.List,wL=gg.Repeat,vg=yL("draft_tree_data_support"),SL=vg?hL:pL,kL={processHTML:function(t,r){return mL(t,vL,r)},processText:function(t,r,i){return t.reduce(function(a,u,f){u=bL(u);var g=gL(),y={key:g,type:i,text:u,characterList:_L(wL(r,u.length))};if(vg&&f!==0){var b=f-1,k=a[b]=a[b].merge({nextSibling:g});y=fL({},y,{prevSibling:k.getKey()})}return a.push(new SL(y)),a},[])}},xL=kL;function EL(t,r,i,a){var u=r.getStartKey(),f=r.getEndKey(),g=t.getBlockMap(),y=g.toSeq().skipUntil(function(b,k){return k===u}).takeUntil(function(b,k){return k===f}).concat([[f,g.get(f)]]).map(function(b){var k=b.getDepth()+i;return k=Math.max(0,Math.min(k,a)),b.set("depth",k)});return g=g.merge(y),t.merge({blockMap:g,selectionBefore:r,selectionAfter:r})}var OL=EL,ua=lr,Ci=zt,NL=OL,DL=ur,Bi={currentBlockContainsLink:function(t){var r=t.getSelection(),i=t.getCurrentContent(),a=i.getEntityMap();return i.getBlockForKey(r.getAnchorKey()).getCharacterList().slice(r.getStartOffset(),r.getEndOffset()).some(function(u){var f=u.getEntity();return!!f&&a.__get(f).getType()==="LINK"})},getCurrentBlockType:function(t){var r=t.getSelection();return t.getCurrentContent().getBlockForKey(r.getStartKey()).getType()},getDataObjectForLinkURL:function(t){return{url:t.toString()}},handleKeyCommand:function(t,r,i){switch(r){case"bold":return Bi.toggleInlineStyle(t,"BOLD");case"italic":return Bi.toggleInlineStyle(t,"ITALIC");case"underline":return Bi.toggleInlineStyle(t,"UNDERLINE");case"code":return Bi.toggleCode(t);case"backspace":case"backspace-word":case"backspace-to-start-of-line":return Bi.onBackspace(t);case"delete":case"delete-word":case"delete-to-end-of-block":return Bi.onDelete(t);default:return null}},insertSoftNewline:function(t){var r=ua.insertText(t.getCurrentContent(),t.getSelection(),`
28
- `,t.getCurrentInlineStyle(),null),i=Ci.push(t,r,"insert-characters");return Ci.forceSelection(i,r.getSelectionAfter())},onBackspace:function(t){var r=t.getSelection();if(!r.isCollapsed()||r.getAnchorOffset()||r.getFocusOffset())return null;var i=t.getCurrentContent(),a=r.getStartKey(),u=i.getBlockBefore(a);if(u&&u.getType()==="atomic"){var f=i.getBlockMap().delete(u.getKey()),g=i.merge({blockMap:f,selectionAfter:r});if(g!==i)return Ci.push(t,g,"remove-range")}var y=Bi.tryToRemoveBlockStyle(t);return y?Ci.push(t,y,"change-block-type"):null},onDelete:function(t){var r=t.getSelection();if(!r.isCollapsed())return null;var i=t.getCurrentContent(),a=r.getStartKey(),u=i.getBlockForKey(a),f=u.getLength();if(r.getStartOffset()<f)return null;var g=i.getBlockAfter(a);if(!g||g.getType()!=="atomic")return null;var y=r.merge({focusKey:g.getKey(),focusOffset:g.getLength()}),b=ua.removeRange(i,y,"forward");return b!==i?Ci.push(t,b,"remove-range"):null},onTab:function(t,r,i){var a=r.getSelection(),u=a.getAnchorKey();if(u!==a.getFocusKey())return r;var f=r.getCurrentContent(),g=f.getBlockForKey(u),y=g.getType();if(y!=="unordered-list-item"&&y!=="ordered-list-item")return r;t.preventDefault();var b=g.getDepth();if(!t.shiftKey&&b===i)return r;var k=NL(f,a,t.shiftKey?-1:1,i);return Ci.push(r,k,"adjust-depth")},toggleBlockType:function(t,r){var i=t.getSelection(),a=i.getStartKey(),u=i.getEndKey(),f=t.getCurrentContent(),g=i;if(a!==u&&i.getEndOffset()===0){var y=DL(f.getBlockBefore(u));u=y.getKey(),g=g.merge({anchorKey:a,anchorOffset:i.getStartOffset(),focusKey:u,focusOffset:y.getLength(),isBackward:!1})}var b=f.getBlockMap().skipWhile(function(D,P){return P!==a}).reverse().skipWhile(function(D,P){return P!==u}).some(function(D){return D.getType()==="atomic"});if(b)return t;var k=f.getBlockForKey(a).getType()===r?"unstyled":r;return Ci.push(t,ua.setBlockType(f,g,k),"change-block-type")},toggleCode:function(t){var r=t.getSelection(),i=r.getAnchorKey(),a=r.getFocusKey();return r.isCollapsed()||i!==a?Bi.toggleBlockType(t,"code-block"):Bi.toggleInlineStyle(t,"CODE")},toggleInlineStyle:function(t,r){var i=t.getSelection(),a=t.getCurrentInlineStyle();if(i.isCollapsed())return Ci.setInlineStyleOverride(t,a.has(r)?a.remove(r):a.add(r));var u=t.getCurrentContent(),f;return a.has(r)?f=ua.removeInlineStyle(u,i,r):f=ua.applyInlineStyle(u,i,r),Ci.push(t,f,"change-inline-style")},toggleLink:function(t,r,i){var a=ua.applyEntity(t.getCurrentContent(),r,i);return Ci.push(t,a,"apply-entity")},tryToRemoveBlockStyle:function(t){var r=t.getSelection(),i=r.getAnchorOffset();if(r.isCollapsed()&&i===0){var a=r.getAnchorKey(),u=t.getCurrentContent(),f=u.getBlockForKey(a),g=f.getType(),y=u.getBlockBefore(a);if(g==="code-block"&&y&&y.getType()==="code-block"&&y.getLength()!==0)return null;if(g!=="unstyled")return ua.setBlockType(u,r,"unstyled")}return null}},yg=Bi,ML=/\r\n?|\n/g;function LL(t){return t.split(ML)}var CL=LL,uf=ml,bg=Qr,BL=bm,_g=lr,sf=xL,wg=zt,Sg=yg,kg=Mc,FL=wm,xg=Qu,Eg=CL;function PL(t,r){r.preventDefault();var i=new BL(r.clipboardData);if(!i.isRichText()){var a=i.getFiles(),u=i.getText();if(a.length>0){if(t.props.handlePastedFiles&&xg(t.props.handlePastedFiles(a)))return;FL(a,function(Se){if(Se=Se||u,!!Se){var _e=t._latestEditorState,Ie=Eg(Se),ve=bg.create({style:_e.getCurrentInlineStyle(),entity:kg(_e.getCurrentContent(),_e.getSelection())}),ke=Sg.getCurrentBlockType(_e),we=sf.processText(Ie,ve,ke),he=uf.createFromArray(we),ge=_g.replaceWithFragment(_e.getCurrentContent(),_e.getSelection(),he);t.update(wg.push(_e,ge,"insert-fragment"))}});return}}var f=[],g=i.getText(),y=i.getHTML(),b=t._latestEditorState;if(t.props.formatPastedText){var k=t.props.formatPastedText(g,y),D=k.text,P=k.html;g=D,y=P}if(!(t.props.handlePastedText&&xg(t.props.handlePastedText(g,y,b)))){if(g&&(f=Eg(g)),!t.props.stripPastedStyles){var L=t.getClipboard();if(!t.props.formatPastedText&&i.isRichText()&&L){var T;if(((T=y)===null||T===void 0?void 0:T.indexOf(t.getEditorKey()))!==-1||f.length===1&&L.size===1&&L.first().getText()===g){t.update($u(t._latestEditorState,L));return}}else if(L&&i.types.includes("com.apple.webarchive")&&!i.types.includes("text/html")&&KL(f,L)){t.update($u(t._latestEditorState,L));return}if(y){var F=sf.processHTML(y,t.props.blockRenderMap);if(F){var R=F.contentBlocks,j=F.entityMap;if(R){var ne=uf.createFromArray(R);t.update($u(t._latestEditorState,ne,j));return}}}t.setClipboard(null)}if(f.length){var Y=bg.create({style:b.getCurrentInlineStyle(),entity:kg(b.getCurrentContent(),b.getSelection())}),W=Sg.getCurrentBlockType(b),J=sf.processText(f,Y,W),le=uf.createFromArray(J);t.update($u(t._latestEditorState,le))}}}function $u(t,r,i){var a=_g.replaceWithFragment(t.getCurrentContent(),t.getSelection(),r);return wg.push(t,a.set("entityMap",i),"insert-fragment")}function KL(t,r){return t.length===r.size&&r.valueSeq().every(function(i,a){return i.getText()===t[a]})}var RL=PL,Og=sr,IL=zO,jL=UO,TL=$O,zL=WO,HL=sN,qL=fN,AL=pN,UL=gN,VL=XN,QL=EM,$L=RL,Ng=Rh,XL=Og.isBrowser("Chrome"),ZL=Og.isBrowser("Firefox"),Dg=XL||ZL?Ng:function(t){},JL={onBeforeInput:IL,onBlur:jL,onCompositionStart:TL,onCopy:zL,onCut:HL,onDragOver:qL,onDragStart:AL,onFocus:UL,onInput:VL,onKeyDown:QL,onPaste:$L,onSelect:Ng,onMouseUp:Dg,onKeyUp:Dg},YL=JL,cf={},WL={get exports(){return cf},set exports(t){cf=t}},cr={},ff={},GL={get exports(){return ff},set exports(t){ff=t}},Mg={};/**
23
+ `;function ND(t,r){switch(t){case"deleteContentBackward":return SD(r)}return r}function OD(t,r){t._pendingStateFromBeforeInput!==void 0&&(t.update(t._pendingStateFromBeforeInput),t._pendingStateFromBeforeInput=void 0);var i=t.editor,a=i.ownerDocument.defaultView.getSelection(),u=a.anchorNode,c=a.isCollapsed,g=u?.nodeType!==Node.TEXT_NODE&&u?.nodeType!==Node.ELEMENT_NODE;if(!(u==null||g)){if(u.nodeType===Node.TEXT_NODE&&(u.previousSibling!==null||u.nextSibling!==null)){var y=u.parentNode;if(y==null)return;u.nodeValue=y.textContent;for(var b=y.firstChild;b!=null;b=b.nextSibling)b!==u&&y.removeChild(b)}var w=u.textContent,D=t._latestEditorState,K=xD(wD(u)),L=gD.decode(K),T=L.blockKey,F=L.decoratorKey,R=L.leafKey,j=D.getBlockTree(T).getIn([F,"leaves",R]),G=j.start,Y=j.end,W=D.getCurrentContent(),J=W.getBlockForKey(T),le=J.getText().slice(G,Y);if(w.endsWith(kD)&&(w=w.slice(0,-1)),w===le){var Se=r.nativeEvent.inputType;if(Se){var _e=ND(Se,D);if(_e!==D){t.restoreEditorDOM(),t.update(_e);return}}return}var Ie=D.getSelection(),ve=Ie.merge({anchorOffset:G,focusOffset:Y,isBackward:!1}),xe=J.getEntityAt(G),we=_D(xe)?W.getEntity(xe):null,he=we!=null?we.getMutability():null,ge=he==="MUTABLE",De=ge?"spellcheck-change":"apply-entity",je=mD.replaceText(W,ve,w,J.getInlineStyleAt(G),ge?J.getEntityAt(G):null),Ce,He,ue,fe;if(ED)Ce=a.anchorOffset,He=a.focusOffset,ue=G+Math.min(Ce,He),fe=ue+Math.abs(Ce-He),Ce=ue,He=fe;else{var ae=w.length-le.length;ue=Ie.getStartOffset(),fe=Ie.getEndOffset(),Ce=c?fe+ae:ue,He=fe+ae}var Me=je.merge({selectionBefore:W.getSelectionAfter(),selectionAfter:Ie.merge({anchorOffset:Ce,focusOffset:He})});t.update(vD.push(D,Me,De))}}var DD=OD,MD=Hu;function LD(t){return t.which===MD.RETURN&&(t.getModifierState("Shift")||t.getModifierState("Alt")||t.getModifierState("Control"))}var CD=LD,BD=fr,FD=CD,sf=BD.isPlatform("Mac OS X"),tg={isCtrlKeyCommand:function(t){return!!t.ctrlKey&&!t.altKey},isOptionKeyCommand:function(t){return sf&&t.altKey},usesMacOSHeuristics:function(){return sf},hasCommandModifier:function(t){return sf?!!t.metaKey&&!t.altKey:tg.isCtrlKeyCommand(t)},isSoftNewlineEvent:FD},cf=tg,ng=sr,rg=At,PD=yu,KD=cr,ff=null,RD={cut:function(t){var r=t.getCurrentContent(),i=t.getSelection(),a=null;if(i.isCollapsed()){var u=i.getAnchorKey(),c=r.getBlockForKey(u).getLength();if(c===i.getAnchorOffset()){var g=r.getKeyAfter(u);if(g==null)return t;a=i.set("focusKey",g).set("focusOffset",0)}else a=i.set("focusOffset",c)}else a=i;a=KD(a),ff=PD(r,a);var y=ng.removeRange(r,a,"forward");return y===r?t:rg.push(t,y,"remove-range")},paste:function(t){if(!ff)return t;var r=ng.replaceWithFragment(t.getCurrentContent(),t.getSelection(),ff);return rg.push(t,r,"insert-fragment")}},ID=RD,jD=fr,TD=wt,zD=jD.isBrowser("Chrome");function HD(t){for(var r=t.cloneRange(),i=[],a=t.endContainer;a!=null;a=a.parentNode){var u=a===t.commonAncestorContainer;u?r.setStart(t.startContainer,t.startOffset):r.setStart(r.endContainer,0);var c=Array.from(r.getClientRects());if(i.push(c),u){var g;return i.reverse(),(g=[]).concat.apply(g,i)}r.setEndBefore(a)}TD(!1)}var AD=zD?HD:function(t){return Array.from(t.getClientRects())},ig=AD,qD=fa,UD=Iu,og=ig,df=wt;function VD(t){var r=getComputedStyle(t),i=UD(t),a=i.createElement("div");a.style.fontFamily=r.fontFamily,a.style.fontSize=r.fontSize,a.style.fontStyle=r.fontStyle,a.style.fontWeight=r.fontWeight,a.style.lineHeight=r.lineHeight,a.style.position="absolute",a.textContent="M";var u=i.body;u||df(!1),u.appendChild(a);var c=a.getBoundingClientRect();return u.removeChild(a),c.height}function ag(t,r){for(var i=1/0,a=1/0,u=-1/0,c=-1/0,g=0;g<t.length;g++){var y=t[g];y.width===0||y.width===1||(i=Math.min(i,y.top),a=Math.min(a,y.bottom),u=Math.max(u,y.top),c=Math.max(c,y.bottom))}return u<=a&&u-i<r&&c-a<r}function QD(t){switch(t.nodeType){case Node.DOCUMENT_TYPE_NODE:return 0;case Node.TEXT_NODE:case Node.PROCESSING_INSTRUCTION_NODE:case Node.COMMENT_NODE:return t.length;default:return t.childNodes.length}}function XD(t){t.collapsed||df(!1),t=t.cloneRange();var r=t.startContainer;r.nodeType!==1&&(r=r.parentNode);var i=VD(r),a=t.endContainer,u=t.endOffset;for(t.setStart(t.startContainer,0);ag(og(t),i)&&(a=t.startContainer,u=t.startOffset,a.parentNode||df(!1),t.setStartBefore(a),!(a.nodeType===1&&getComputedStyle(a).display!=="inline")););var c=a,g=u-1;do{for(var y=c.nodeValue,b=g;b>=0;b--)if(!(y!=null&&b>0&&qD.isSurrogatePair(y,b-1)))if(t.setStart(c,b),ag(og(t),i))a=c,u=b;else break;if(b===-1||c.childNodes.length===0)break;c=c.childNodes[b],g=QD(c)}while(!0);return t.setStart(a,u),t}var ZD=XD,$D=At,YD=ZD,JD=$h,WD=uf,GD=zl;function eM(t,r){var i=GD(t,function(a){var u=a.getSelection();if(u.isCollapsed()&&u.getAnchorOffset()===0)return WD(a,1);var c=r.currentTarget.ownerDocument,g=c.defaultView.getSelection(),y=g.getRangeAt(0);return y=YD(y),JD(a,null,y.endContainer,y.endOffset,y.startContainer,y.startOffset).selectionState},"backward");return i===t.getCurrentContent()?t:$D.push(t,i,"remove-range")}var tM=eM,nM=`[.,+*?$|#{}()'\\^\\-\\[\\]\\\\\\/!@%"~=<>_:;\u30FB\u3001\u3002\u3008-\u3011\u3014-\u301F\uFF1A-\uFF1F\uFF01-\uFF0F\uFF3B-\uFF40\uFF5B-\uFF65\u2E2E\u061F\u066A-\u066C\u061B\u060C\u060D\uFD3E\uFD3F\u1801\u0964\u104A\u104B\u2010-\u2027\u2030-\u205E\xA1-\xB1\xB4-\xB8\xBA\xBB\xBF]`,rM={getPunctuation:function(){return nM}},iM=rM,oM=iM.getPunctuation(),lg="['\u2018\u2019]",qa="\\s|(?![_])"+oM,aM="^(?:"+qa+")*(?:"+lg+"|(?!"+qa+").)*(?:(?!"+qa+").)",lM=new RegExp(aM),uM="(?:(?!"+qa+").)(?:"+lg+"|(?!"+qa+").)*(?:"+qa+")*$",sM=new RegExp(uM);function ug(t,r){var i=r?sM.exec(t):lM.exec(t);return i?i[0]:t}var cM={getBackward:function(t){return ug(t,!0)},getForward:function(t){return ug(t,!1)}},sg=cM,fM=sg,dM=At,cg=uf,pM=zl;function hM(t){var r=pM(t,function(i){var a=i.getSelection(),u=a.getStartOffset();if(u===0)return cg(i,1);var c=a.getStartKey(),g=i.getCurrentContent(),y=g.getBlockForKey(c).getText().slice(0,u),b=fM.getBackward(y);return cg(i,b.length||1)},"backward");return r===t.getCurrentContent()?t:dM.push(t,r,"remove-range")}var mM=hM;function gM(t,r){var i=t.getSelection(),a=i.getStartKey(),u=i.getStartOffset(),c=t.getCurrentContent(),g=a,y,b=c.getBlockForKey(a);return r>b.getText().length-u?(g=c.getKeyAfter(a),y=0):y=u+r,i.merge({focusKey:g,focusOffset:y})}var fg=gM,vM=sg,yM=At,bM=fg,_M=zl;function wM(t){var r=_M(t,function(i){var a=i.getSelection(),u=a.getStartOffset(),c=a.getStartKey(),g=i.getCurrentContent(),y=g.getBlockForKey(c).getText().slice(u),b=vM.getForward(y);return bM(i,b.length||1)},"forward");return r===t.getCurrentContent()?t:yM.push(t,r,"remove-range")}var SM=wM,xM=sr,EM=At;function kM(t){var r=xM.splitBlock(t.getCurrentContent(),t.getSelection());return EM.push(t,r,"split-block")}var NM=kM,OM=At;function DM(t){var r=t.getSelection(),i=r.getEndKey(),a=t.getCurrentContent(),u=a.getBlockForKey(i).getLength();return OM.set(t,{selection:r.merge({anchorKey:i,anchorOffset:u,focusKey:i,focusOffset:u,isBackward:!1}),forceSelection:!0})}var MM=DM,LM=At;function CM(t){var r=t.getSelection(),i=r.getStartKey();return LM.set(t,{selection:r.merge({anchorKey:i,anchorOffset:0,focusKey:i,focusOffset:0,isBackward:!1}),forceSelection:!0})}var BM=CM,FM=At,PM=fa,KM=fg,RM=zl;function IM(t){var r=RM(t,function(a){var u=a.getSelection(),c=a.getCurrentContent(),g=u.getAnchorKey(),y=u.getAnchorOffset(),b=c.getBlockForKey(g).getText()[y];return KM(a,b?PM.getUTF16Length(b,0):1)},"forward");if(r===t.getCurrentContent())return t;var i=t.getSelection();return FM.push(t,r.set("selectionBefore",i),i.isCollapsed()?"delete-character":"remove-range")}var jM=IM,dg=sr,pg=At,TM=yu;function zM(t){var r=t.getSelection();if(!r.isCollapsed())return t;var i=r.getAnchorOffset();if(i===0)return t;var a=r.getAnchorKey(),u=t.getCurrentContent(),c=u.getBlockForKey(a),g=c.getLength();if(g<=1)return t;var y,b;i===g?(y=r.set("anchorOffset",i-1),b=r):(y=r.set("focusOffset",i+1),b=y.set("anchorOffset",i+1));var w=TM(u,y),D=dg.removeRange(u,y,"backward"),K=D.getSelectionAfter(),L=K.getAnchorOffset()-1,T=K.merge({anchorOffset:L,focusOffset:L}),F=dg.replaceWithFragment(D,T,w),R=pg.push(t,F,"insert-fragment");return pg.acceptSelection(R,b)}var HM=zM,pf=At;function AM(t,r,i){var a=pf.undo(r);if(r.getLastChangeType()==="spellcheck-change"){var u=a.getCurrentContent();i(pf.set(a,{nativelyRenderedContent:u}));return}if(t.preventDefault(),!r.getNativelyRenderedContent()){i(a);return}i(pf.set(r,{nativelyRenderedContent:null})),setTimeout(function(){i(a)},0)}var qM=AM,UM=sr,hg=At,VM=cf,eo=Hu,mg=ID,QM=fr,gg=es,XM=tM,ZM=mM,$M=SM,YM=NM,JM=MM,WM=BM,GM=eg,eL=jM,tL=HM,nL=qM,vg=VM.isOptionKeyCommand,yg=QM.isBrowser("Chrome");function rL(t,r,i){switch(t){case"redo":return hg.redo(r);case"delete":return eL(r);case"delete-word":return $M(r);case"backspace":return GM(r);case"backspace-word":return ZM(r);case"backspace-to-start-of-line":return XM(r,i);case"split-block":return YM(r);case"transpose-characters":return tL(r);case"move-selection-to-start-of-block":return WM(r);case"move-selection-to-end-of-block":return JM(r);case"secondary-cut":return mg.cut(r);case"secondary-paste":return mg.paste(r);default:return r}}function iL(t,r){var i=r.which,a=t._latestEditorState;function u(b){var w=t.props[b];return w?(w(r),!0):!1}switch(i){case eo.RETURN:if(r.preventDefault(),t.props.handleReturn&&gg(t.props.handleReturn(r,a)))return;break;case eo.ESC:if(r.preventDefault(),u("onEscape"))return;break;case eo.TAB:if(u("onTab"))return;break;case eo.UP:if(u("onUpArrow"))return;break;case eo.RIGHT:if(u("onRightArrow"))return;break;case eo.DOWN:if(u("onDownArrow"))return;break;case eo.LEFT:if(u("onLeftArrow"))return;break;case eo.SPACE:yg&&vg(r)&&r.preventDefault()}var c=t.props.keyBindingFn(r);if(c==null||c===""){if(i===eo.SPACE&&yg&&vg(r)){var g=UM.replaceText(a.getCurrentContent(),a.getSelection(),"\xA0");t.update(hg.push(a,g,"insert-characters"))}return}if(c==="undo"){nL(r,a,t.update);return}if(r.preventDefault(),!(t.props.handleKeyCommand&&gg(t.props.handleKeyCommand(c,a,r.timeStamp)))){var y=rL(c,a,r);y!==a&&t.update(y)}}var oL=iL;function aL(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}var lL=function(){function t(i){aL(this,"_uri",void 0),this._uri=i}var r=t.prototype;return r.toString=function(){return this._uri},t}(),uL=lL,sL=fr,cL=wt,fL=sL.isBrowser("IE <= 9");function dL(t){var r,i=null;return!fL&&document.implementation&&document.implementation.createHTMLDocument&&(r=document.implementation.createHTMLDocument("foo"),r.documentElement||cL(!1),r.documentElement.innerHTML=t,i=r.getElementsByTagName("body")[0]),i}var bg=dL,pL=ua;function hL(t){return!t||!t.ownerDocument?!1:pL(t)&&t.nodeName==="A"}var mL=hL,gL=ua;function vL(t){return!t||!t.ownerDocument?!1:gL(t)&&t.nodeName==="IMG"}var yL=vL,da;function hf(t){for(var r=1;r<arguments.length;r++){var i=arguments[r]!=null?arguments[r]:{},a=Object.keys(i);typeof Object.getOwnPropertySymbols=="function"&&(a=a.concat(Object.getOwnPropertySymbols(i).filter(function(u){return Object.getOwnPropertyDescriptor(i,u).enumerable}))),a.forEach(function(u){Tn(t,u,i[u])})}return t}function Tn(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}var bL=$r,_L=ra,wL=Yr,SL=Pc,_g=Su,wg=uL,Hl=aa,Sg=Li,xL=bg,xg=Eo,mf=mt,ko=mf.List,Eg=mf.Map,EL=mf.OrderedSet,kg=mL,kL=om,gf=Kl,Ng=yL,Og=xg("draft_tree_data_support"),NL="&nbsp;",Dg=" ",OL=new RegExp("\r","g"),DL=new RegExp(`
24
+ `,"g"),ML=new RegExp(`^
25
+ `,"g"),LL=new RegExp(NL,"g"),CL=new RegExp("&#13;?","g"),BL=new RegExp("&#8203;?","g"),FL=["bold","bolder","500","600","700","800","900"],PL=["light","lighter","normal","100","200","300","400"],KL=["className","href","rel","target","title"],RL=["alt","className","height","src","width"],Mg=(da={},Tn(da,Hl("public/DraftStyleDefault/depth0"),0),Tn(da,Hl("public/DraftStyleDefault/depth1"),1),Tn(da,Hl("public/DraftStyleDefault/depth2"),2),Tn(da,Hl("public/DraftStyleDefault/depth3"),3),Tn(da,Hl("public/DraftStyleDefault/depth4"),4),da),Lg=Eg({b:"BOLD",code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",i:"ITALIC",s:"STRIKETHROUGH",strike:"STRIKETHROUGH",strong:"BOLD",u:"UNDERLINE",mark:"HIGHLIGHT"}),IL=function(t){var r={};return t.mapKeys(function(i,a){var u=[a.element];a.aliasedElements!==void 0&&u.push.apply(u,a.aliasedElements),u.forEach(function(c){r[c]===void 0?r[c]=i:typeof r[c]=="string"?r[c]=[r[c],i]:r[c].push(i)})}),Eg(r)},jL=function(t){if(gf(t)){var r=t;if(r.style.fontFamily.includes("monospace"))return"CODE"}return null},TL=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return Object.keys(Mg).some(function(i){t.classList.contains(i)&&(r=Mg[i])}),r},zL=function(t){if(!kg(t))return!1;var r=t;if(!r.href||r.protocol!=="http:"&&r.protocol!=="https:"&&r.protocol!=="mailto:"&&r.protocol!=="tel:")return!1;try{var i=new wg(r.href);return!0}catch{return!1}},HL=function(t){if(!Ng(t))return!1;var r=t;return!!(r.attributes.getNamedItem("src")&&r.attributes.getNamedItem("src").value)},AL=function(t,r){if(!gf(t))return r;var i=t,a=i.style.fontWeight,u=i.style.fontStyle,c=i.style.textDecoration;return r.withMutations(function(g){FL.indexOf(a)>=0?g.add("BOLD"):PL.indexOf(a)>=0&&g.remove("BOLD"),u==="italic"?g.add("ITALIC"):u==="normal"&&g.remove("ITALIC"),c==="underline"&&g.add("UNDERLINE"),c==="line-through"&&g.add("STRIKETHROUGH"),c==="none"&&(g.remove("UNDERLINE"),g.remove("STRIKETHROUGH"))})},vf=function(t){return t==="ul"||t==="ol"},qL=function(){function t(i,a){Tn(this,"characterList",ko()),Tn(this,"currentBlockType","unstyled"),Tn(this,"currentDepth",0),Tn(this,"currentEntity",null),Tn(this,"currentText",""),Tn(this,"wrapper",null),Tn(this,"blockConfigs",[]),Tn(this,"contentBlocks",[]),Tn(this,"entityMap",_g),Tn(this,"blockTypeMap",void 0),Tn(this,"disambiguate",void 0),this.clear(),this.blockTypeMap=i,this.disambiguate=a}var r=t.prototype;return r.clear=function(){this.characterList=ko(),this.blockConfigs=[],this.currentBlockType="unstyled",this.currentDepth=0,this.currentEntity=null,this.currentText="",this.entityMap=_g,this.wrapper=null,this.contentBlocks=[]},r.addDOMNode=function(i){var a;return this.contentBlocks=[],this.currentDepth=0,(a=this.blockConfigs).push.apply(a,this._toBlockConfigs([i],EL())),this._trimCurrentText(),this.currentText!==""&&this.blockConfigs.push(this._makeBlockConfig()),this},r.getContentBlocks=function(){return this.contentBlocks.length===0&&(Og?this._toContentBlocks(this.blockConfigs):this._toFlatContentBlocks(this.blockConfigs)),{contentBlocks:this.contentBlocks,entityMap:this.entityMap}},r._makeBlockConfig=function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},a=i.key||Sg(),u=hf({key:a,type:this.currentBlockType,text:this.currentText,characterList:this.characterList,depth:this.currentDepth,parent:null,children:ko(),prevSibling:null,nextSibling:null,childConfigs:[]},i);return this.characterList=ko(),this.currentBlockType="unstyled",this.currentText="",u},r._toBlockConfigs=function(i,a){for(var u=[],c=0;c<i.length;c++){var g=i[c],y=g.nodeName.toLowerCase();if(y==="body"||vf(y)){this._trimCurrentText(),this.currentText!==""&&u.push(this._makeBlockConfig());var b=this.currentDepth,w=this.wrapper;vf(y)&&(this.wrapper=y,vf(w)&&this.currentDepth++),u.push.apply(u,this._toBlockConfigs(Array.from(g.childNodes),a)),this.currentDepth=b,this.wrapper=w;continue}var D=this.blockTypeMap.get(y);if(D!==void 0){this._trimCurrentText(),this.currentText!==""&&u.push(this._makeBlockConfig());var K=this.currentDepth,L=this.wrapper;if(this.wrapper=y==="pre"?"pre":this.wrapper,typeof D!="string"&&(D=this.disambiguate(y,this.wrapper)||D[0]||"unstyled"),!Og&&gf(g)&&(D==="unordered-list-item"||D==="ordered-list-item")){var T=g;this.currentDepth=TL(T,this.currentDepth)}var F=Sg(),R=this._toBlockConfigs(Array.from(g.childNodes),a);this._trimCurrentText(),u.push(this._makeBlockConfig({key:F,childConfigs:R,type:D})),this.currentDepth=K,this.wrapper=L;continue}if(y==="#text"){this._addTextNode(g,a);continue}if(y==="br"){this._addBreakNode(g,a);continue}if(HL(g)){this._addImgNode(g,a);continue}if(zL(g)){this._addAnchorNode(g,u,a);continue}var j=a;Lg.has(y)&&(j=j.add(Lg.get(y))),j=AL(g,j);var G=jL(g);G!=null&&(j=j.add(G)),u.push.apply(u,this._toBlockConfigs(Array.from(g.childNodes),j))}return u},r._appendText=function(i,a){var u;this.currentText+=i;var c=bL.create({style:a,entity:this.currentEntity});this.characterList=(u=this.characterList).push.apply(u,Array(i.length).fill(c))},r._trimCurrentText=function(){var i=this.currentText.length,a=i-this.currentText.trimLeft().length,u=this.currentText.trimRight().length,c=this.characterList.findEntry(function(g){return g.getEntity()!==null});a=c!==void 0?Math.min(a,c[0]):a,c=this.characterList.reverse().findEntry(function(g){return g.getEntity()!==null}),u=c!==void 0?Math.max(u,i-c[0]):u,a>u?(this.currentText="",this.characterList=ko()):(this.currentText=this.currentText.slice(a,u),this.characterList=this.characterList.slice(a,u))},r._addTextNode=function(i,a){var u=i.textContent,c=u.trim();c===""&&this.wrapper!=="pre"&&(u=" "),this.wrapper!=="pre"&&(u=u.replace(ML,""),u=u.replace(DL,Dg)),this._appendText(u,a)},r._addBreakNode=function(i,a){kL(i)&&this._appendText(`
26
+ `,a)},r._addImgNode=function(i,a){if(Ng(i)){var u=i,c={};RL.forEach(function(g){var y=u.getAttribute(g);y&&(c[g]=y)}),this.currentEntity=this.entityMap.__create("IMAGE","IMMUTABLE",c),xg("draftjs_fix_paste_for_img")?u.getAttribute("role")!=="presentation"&&this._appendText("\u{1F4F7}",a):this._appendText("\u{1F4F7}",a),this.currentEntity=null}},r._addAnchorNode=function(i,a,u){if(kg(i)){var c=i,g={};KL.forEach(function(y){var b=c.getAttribute(y);b&&(g[y]=b)}),g.url=new wg(c.href).toString(),this.currentEntity=this.entityMap.__create("LINK","MUTABLE",g||{}),a.push.apply(a,this._toBlockConfigs(Array.from(i.childNodes),u)),this.currentEntity=null}},r._toContentBlocks=function(i){for(var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,u=i.length-1,c=0;c<=u;c++){var g=i[c];g.parent=a,g.prevSibling=c>0?i[c-1].key:null,g.nextSibling=c<u?i[c+1].key:null,g.children=ko(g.childConfigs.map(function(y){return y.key})),this.contentBlocks.push(new wL(hf({},g))),this._toContentBlocks(g.childConfigs,g.key)}},r._hoistContainersInBlockConfigs=function(i){var a=this,u=ko(i).flatMap(function(c){return c.type!=="unstyled"||c.text!==""?[c]:a._hoistContainersInBlockConfigs(c.childConfigs)});return u},r._toFlatContentBlocks=function(i){var a=this,u=this._hoistContainersInBlockConfigs(i);u.forEach(function(c){var g=a._extractTextFromBlockConfigs(c.childConfigs),y=g.text,b=g.characterList;a.contentBlocks.push(new _L(hf({},c,{text:c.text+y,characterList:c.characterList.concat(b)})))})},r._extractTextFromBlockConfigs=function(i){for(var a=i.length-1,u="",c=ko(),g=0;g<=a;g++){var y=i[g];u+=y.text,c=c.concat(y.characterList),u!==""&&y.type!=="unstyled"&&(u+=`
27
+ `,c=c.push(c.last()));var b=this._extractTextFromBlockConfigs(y.childConfigs);u+=b.text,c=c.concat(b.characterList)}return{text:u,characterList:c}},t}(),UL=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:xL,i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:SL;t=t.trim().replace(OL,"").replace(LL,Dg).replace(CL,"").replace(BL,"");var a=r(t);if(!a)return null;var u=IL(i),c=function(g,y){return g==="li"?y==="ol"?"ordered-list-item":"unordered-list-item":null};return new qL(u,c).addDOMNode(a).getContentBlocks()},Cg=UL;function VL(t){for(var r=1;r<arguments.length;r++){var i=arguments[r]!=null?arguments[r]:{},a=Object.keys(i);typeof Object.getOwnPropertySymbols=="function"&&(a=a.concat(Object.getOwnPropertySymbols(i).filter(function(u){return Object.getOwnPropertyDescriptor(i,u).enumerable}))),a.forEach(function(u){QL(t,u,i[u])})}return t}function QL(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}var XL=ra,ZL=Yr,$L=Cg,YL=Li,JL=bg,WL=Eo,Bg=mt,GL=$p,eC=Bg.List,tC=Bg.Repeat,Fg=WL("draft_tree_data_support"),nC=Fg?ZL:XL,rC={processHTML:function(t,r){return $L(t,JL,r)},processText:function(t,r,i){return t.reduce(function(a,u,c){u=GL(u);var g=YL(),y={key:g,type:i,text:u,characterList:eC(tC(r,u.length))};if(Fg&&c!==0){var b=c-1,w=a[b]=a[b].merge({nextSibling:g});y=VL({},y,{prevSibling:w.getKey()})}return a.push(new nC(y)),a},[])}},iC=rC;function oC(t,r,i,a){var u=r.getStartKey(),c=r.getEndKey(),g=t.getBlockMap(),y=g.toSeq().skipUntil(function(b,w){return w===u}).takeUntil(function(b,w){return w===c}).concat([[c,g.get(c)]]).map(function(b){var w=b.getDepth()+i;return w=Math.max(0,Math.min(w,a)),b.set("depth",w)});return g=g.merge(y),t.merge({blockMap:g,selectionBefore:r,selectionAfter:r})}var aC=oC,pa=sr,Pi=At,lC=aC,uC=cr,Ki={currentBlockContainsLink:function(t){var r=t.getSelection(),i=t.getCurrentContent(),a=i.getEntityMap();return i.getBlockForKey(r.getAnchorKey()).getCharacterList().slice(r.getStartOffset(),r.getEndOffset()).some(function(u){var c=u.getEntity();return!!c&&a.__get(c).getType()==="LINK"})},getCurrentBlockType:function(t){var r=t.getSelection();return t.getCurrentContent().getBlockForKey(r.getStartKey()).getType()},getDataObjectForLinkURL:function(t){return{url:t.toString()}},handleKeyCommand:function(t,r,i){switch(r){case"bold":return Ki.toggleInlineStyle(t,"BOLD");case"italic":return Ki.toggleInlineStyle(t,"ITALIC");case"underline":return Ki.toggleInlineStyle(t,"UNDERLINE");case"code":return Ki.toggleCode(t);case"backspace":case"backspace-word":case"backspace-to-start-of-line":return Ki.onBackspace(t);case"delete":case"delete-word":case"delete-to-end-of-block":return Ki.onDelete(t);default:return null}},insertSoftNewline:function(t){var r=pa.insertText(t.getCurrentContent(),t.getSelection(),`
28
+ `,t.getCurrentInlineStyle(),null),i=Pi.push(t,r,"insert-characters");return Pi.forceSelection(i,r.getSelectionAfter())},onBackspace:function(t){var r=t.getSelection();if(!r.isCollapsed()||r.getAnchorOffset()||r.getFocusOffset())return null;var i=t.getCurrentContent(),a=r.getStartKey(),u=i.getBlockBefore(a);if(u&&u.getType()==="atomic"){var c=i.getBlockMap().delete(u.getKey()),g=i.merge({blockMap:c,selectionAfter:r});if(g!==i)return Pi.push(t,g,"remove-range")}var y=Ki.tryToRemoveBlockStyle(t);return y?Pi.push(t,y,"change-block-type"):null},onDelete:function(t){var r=t.getSelection();if(!r.isCollapsed())return null;var i=t.getCurrentContent(),a=r.getStartKey(),u=i.getBlockForKey(a),c=u.getLength();if(r.getStartOffset()<c)return null;var g=i.getBlockAfter(a);if(!g||g.getType()!=="atomic")return null;var y=r.merge({focusKey:g.getKey(),focusOffset:g.getLength()}),b=pa.removeRange(i,y,"forward");return b!==i?Pi.push(t,b,"remove-range"):null},onTab:function(t,r,i){var a=r.getSelection(),u=a.getAnchorKey();if(u!==a.getFocusKey())return r;var c=r.getCurrentContent(),g=c.getBlockForKey(u),y=g.getType();if(y!=="unordered-list-item"&&y!=="ordered-list-item")return r;t.preventDefault();var b=g.getDepth();if(!t.shiftKey&&b===i)return r;var w=lC(c,a,t.shiftKey?-1:1,i);return Pi.push(r,w,"adjust-depth")},toggleBlockType:function(t,r){var i=t.getSelection(),a=i.getStartKey(),u=i.getEndKey(),c=t.getCurrentContent(),g=i;if(a!==u&&i.getEndOffset()===0){var y=uC(c.getBlockBefore(u));u=y.getKey(),g=g.merge({anchorKey:a,anchorOffset:i.getStartOffset(),focusKey:u,focusOffset:y.getLength(),isBackward:!1})}var b=c.getBlockMap().skipWhile(function(D,K){return K!==a}).reverse().skipWhile(function(D,K){return K!==u}).some(function(D){return D.getType()==="atomic"});if(b)return t;var w=c.getBlockForKey(a).getType()===r?"unstyled":r;return Pi.push(t,pa.setBlockType(c,g,w),"change-block-type")},toggleCode:function(t){var r=t.getSelection(),i=r.getAnchorKey(),a=r.getFocusKey();return r.isCollapsed()||i!==a?Ki.toggleBlockType(t,"code-block"):Ki.toggleInlineStyle(t,"CODE")},toggleInlineStyle:function(t,r){var i=t.getSelection(),a=t.getCurrentInlineStyle();if(i.isCollapsed())return Pi.setInlineStyleOverride(t,a.has(r)?a.remove(r):a.add(r));var u=t.getCurrentContent(),c;return a.has(r)?c=pa.removeInlineStyle(u,i,r):c=pa.applyInlineStyle(u,i,r),Pi.push(t,c,"change-inline-style")},toggleLink:function(t,r,i){var a=pa.applyEntity(t.getCurrentContent(),r,i);return Pi.push(t,a,"apply-entity")},tryToRemoveBlockStyle:function(t){var r=t.getSelection(),i=r.getAnchorOffset();if(r.isCollapsed()&&i===0){var a=r.getAnchorKey(),u=t.getCurrentContent(),c=u.getBlockForKey(a),g=c.getType(),y=u.getBlockBefore(a);if(g==="code-block"&&y&&y.getType()==="code-block"&&y.getLength()!==0)return null;if(g!=="unstyled")return pa.setBlockType(u,r,"unstyled")}return null}},Pg=Ki,sC=/\r\n?|\n/g;function cC(t){return t.split(sC)}var fC=cC,yf=Sl,Kg=$r,dC=Km,Rg=sr,bf=iC,Ig=At,jg=Pg,Tg=Tc,pC=Im,zg=es,Hg=fC;function hC(t,r){r.preventDefault();var i=new dC(r.clipboardData);if(!i.isRichText()){var a=i.getFiles(),u=i.getText();if(a.length>0){if(t.props.handlePastedFiles&&zg(t.props.handlePastedFiles(a)))return;pC(a,function(Se){if(Se=Se||u,!!Se){var _e=t._latestEditorState,Ie=Hg(Se),ve=Kg.create({style:_e.getCurrentInlineStyle(),entity:Tg(_e.getCurrentContent(),_e.getSelection())}),xe=jg.getCurrentBlockType(_e),we=bf.processText(Ie,ve,xe),he=yf.createFromArray(we),ge=Rg.replaceWithFragment(_e.getCurrentContent(),_e.getSelection(),he);t.update(Ig.push(_e,ge,"insert-fragment"))}});return}}var c=[],g=i.getText(),y=i.getHTML(),b=t._latestEditorState;if(t.props.formatPastedText){var w=t.props.formatPastedText(g,y),D=w.text,K=w.html;g=D,y=K}if(!(t.props.handlePastedText&&zg(t.props.handlePastedText(g,y,b)))){if(g&&(c=Hg(g)),!t.props.stripPastedStyles){var L=t.getClipboard();if(!t.props.formatPastedText&&i.isRichText()&&L){var T;if(((T=y)===null||T===void 0?void 0:T.indexOf(t.getEditorKey()))!==-1||c.length===1&&L.size===1&&L.first().getText()===g){t.update(ts(t._latestEditorState,L));return}}else if(L&&i.types.includes("com.apple.webarchive")&&!i.types.includes("text/html")&&mC(c,L)){t.update(ts(t._latestEditorState,L));return}if(y){var F=bf.processHTML(y,t.props.blockRenderMap);if(F){var R=F.contentBlocks,j=F.entityMap;if(R){var G=yf.createFromArray(R);t.update(ts(t._latestEditorState,G,j));return}}}t.setClipboard(null)}if(c.length){var Y=Kg.create({style:b.getCurrentInlineStyle(),entity:Tg(b.getCurrentContent(),b.getSelection())}),W=jg.getCurrentBlockType(b),J=bf.processText(c,Y,W),le=yf.createFromArray(J);t.update(ts(t._latestEditorState,le))}}}function ts(t,r,i){var a=Rg.replaceWithFragment(t.getCurrentContent(),t.getSelection(),r);return Ig.push(t,a.set("entityMap",i),"insert-fragment")}function mC(t,r){return t.length===r.size&&r.valueSeq().every(function(i,a){return i.getText()===t[a]})}var gC=hC,Ag=fr,vC=_O,yC=EO,bC=OO,_C=BO,wC=qO,SC=VO,xC=XO,EC=YO,kC=DD,NC=oL,OC=gC,qg=Wh,DC=Ag.isBrowser("Chrome"),MC=Ag.isBrowser("Firefox"),Ug=DC||MC?qg:function(t){},LC={onBeforeInput:vC,onBlur:yC,onCompositionStart:bC,onCopy:_C,onCut:wC,onDragOver:SC,onDragStart:xC,onFocus:EC,onInput:kC,onKeyDown:NC,onPaste:OC,onSelect:qg,onMouseUp:Ug,onKeyUp:Ug},CC=LC,_f={},BC={get exports(){return _f},set exports(t){_f=t}},dr={},wf={},FC={get exports(){return wf},set exports(t){wf=t}},Vg={};/**
29
29
  * @license React
30
30
  * scheduler.production.min.js
31
31
  *
@@ -33,7 +33,7 @@ object-assign
33
33
  *
34
34
  * This source code is licensed under the MIT license found in the
35
35
  * LICENSE file in the root directory of this source tree.
36
- */var Lg;function eC(){return Lg||(Lg=1,function(t){function r(ue,fe){var ae=ue.length;ue.push(fe);e:for(;0<ae;){var Me=ae-1>>>1,Ye=ue[Me];if(0<u(Ye,fe))ue[Me]=fe,ue[ae]=Ye,ae=Me;else break e}}function i(ue){return ue.length===0?null:ue[0]}function a(ue){if(ue.length===0)return null;var fe=ue[0],ae=ue.pop();if(ae!==fe){ue[0]=ae;e:for(var Me=0,Ye=ue.length,kt=Ye>>>1;Me<kt;){var Mt=2*(Me+1)-1,Ae=ue[Mt],Te=Mt+1,dt=ue[Te];if(0>u(Ae,ae))Te<Ye&&0>u(dt,Ae)?(ue[Me]=dt,ue[Te]=ae,Me=Te):(ue[Me]=Ae,ue[Mt]=ae,Me=Mt);else if(Te<Ye&&0>u(dt,ae))ue[Me]=dt,ue[Te]=ae,Me=Te;else break e}}return fe}function u(ue,fe){var ae=ue.sortIndex-fe.sortIndex;return ae!==0?ae:ue.id-fe.id}if(typeof performance=="object"&&typeof performance.now=="function"){var f=performance;t.unstable_now=function(){return f.now()}}else{var g=Date,y=g.now();t.unstable_now=function(){return g.now()-y}}var b=[],k=[],D=1,P=null,L=3,T=!1,F=!1,R=!1,j=typeof setTimeout=="function"?setTimeout:null,ne=typeof clearTimeout=="function"?clearTimeout:null,Y=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function W(ue){for(var fe=i(k);fe!==null;){if(fe.callback===null)a(k);else if(fe.startTime<=ue)a(k),fe.sortIndex=fe.expirationTime,r(b,fe);else break;fe=i(k)}}function J(ue){if(R=!1,W(ue),!F)if(i(b)!==null)F=!0,Ce(le);else{var fe=i(k);fe!==null&&He(J,fe.startTime-ue)}}function le(ue,fe){F=!1,R&&(R=!1,ne(Ie),Ie=-1),T=!0;var ae=L;try{for(W(fe),P=i(b);P!==null&&(!(P.expirationTime>fe)||ue&&!we());){var Me=P.callback;if(typeof Me=="function"){P.callback=null,L=P.priorityLevel;var Ye=Me(P.expirationTime<=fe);fe=t.unstable_now(),typeof Ye=="function"?P.callback=Ye:P===i(b)&&a(b),W(fe)}else a(b);P=i(b)}if(P!==null)var kt=!0;else{var Mt=i(k);Mt!==null&&He(J,Mt.startTime-fe),kt=!1}return kt}finally{P=null,L=ae,T=!1}}var Se=!1,_e=null,Ie=-1,ve=5,ke=-1;function we(){return!(t.unstable_now()-ke<ve)}function he(){if(_e!==null){var ue=t.unstable_now();ke=ue;var fe=!0;try{fe=_e(!0,ue)}finally{fe?ge():(Se=!1,_e=null)}}else Se=!1}var ge;if(typeof Y=="function")ge=function(){Y(he)};else if(typeof MessageChannel<"u"){var De=new MessageChannel,je=De.port2;De.port1.onmessage=he,ge=function(){je.postMessage(null)}}else ge=function(){j(he,0)};function Ce(ue){_e=ue,Se||(Se=!0,ge())}function He(ue,fe){Ie=j(function(){ue(t.unstable_now())},fe)}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(ue){ue.callback=null},t.unstable_continueExecution=function(){F||T||(F=!0,Ce(le))},t.unstable_forceFrameRate=function(ue){0>ue||125<ue?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):ve=0<ue?Math.floor(1e3/ue):5},t.unstable_getCurrentPriorityLevel=function(){return L},t.unstable_getFirstCallbackNode=function(){return i(b)},t.unstable_next=function(ue){switch(L){case 1:case 2:case 3:var fe=3;break;default:fe=L}var ae=L;L=fe;try{return ue()}finally{L=ae}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(ue,fe){switch(ue){case 1:case 2:case 3:case 4:case 5:break;default:ue=3}var ae=L;L=ue;try{return fe()}finally{L=ae}},t.unstable_scheduleCallback=function(ue,fe,ae){var Me=t.unstable_now();switch(typeof ae=="object"&&ae!==null?(ae=ae.delay,ae=typeof ae=="number"&&0<ae?Me+ae:Me):ae=Me,ue){case 1:var Ye=-1;break;case 2:Ye=250;break;case 5:Ye=1073741823;break;case 4:Ye=1e4;break;default:Ye=5e3}return Ye=ae+Ye,ue={id:D++,callback:fe,priorityLevel:ue,startTime:ae,expirationTime:Ye,sortIndex:-1},ae>Me?(ue.sortIndex=ae,r(k,ue),i(b)===null&&ue===i(k)&&(R?(ne(Ie),Ie=-1):R=!0,He(J,ae-Me))):(ue.sortIndex=Ye,r(b,ue),F||T||(F=!0,Ce(le))),ue},t.unstable_shouldYield=we,t.unstable_wrapCallback=function(ue){var fe=L;return function(){var ae=L;L=fe;try{return ue.apply(this,arguments)}finally{L=ae}}}}(Mg)),Mg}var Cg;function tC(){return Cg||(Cg=1,function(t){t.exports=eC()}(GL)),ff}/**
36
+ */var Qg;function PC(){return Qg||(Qg=1,function(t){function r(ue,fe){var ae=ue.length;ue.push(fe);e:for(;0<ae;){var Me=ae-1>>>1,Je=ue[Me];if(0<u(Je,fe))ue[Me]=fe,ue[ae]=Je,ae=Me;else break e}}function i(ue){return ue.length===0?null:ue[0]}function a(ue){if(ue.length===0)return null;var fe=ue[0],ae=ue.pop();if(ae!==fe){ue[0]=ae;e:for(var Me=0,Je=ue.length,Et=Je>>>1;Me<Et;){var Ct=2*(Me+1)-1,qe=ue[Ct],Te=Ct+1,dt=ue[Te];if(0>u(qe,ae))Te<Je&&0>u(dt,qe)?(ue[Me]=dt,ue[Te]=ae,Me=Te):(ue[Me]=qe,ue[Ct]=ae,Me=Ct);else if(Te<Je&&0>u(dt,ae))ue[Me]=dt,ue[Te]=ae,Me=Te;else break e}}return fe}function u(ue,fe){var ae=ue.sortIndex-fe.sortIndex;return ae!==0?ae:ue.id-fe.id}if(typeof performance=="object"&&typeof performance.now=="function"){var c=performance;t.unstable_now=function(){return c.now()}}else{var g=Date,y=g.now();t.unstable_now=function(){return g.now()-y}}var b=[],w=[],D=1,K=null,L=3,T=!1,F=!1,R=!1,j=typeof setTimeout=="function"?setTimeout:null,G=typeof clearTimeout=="function"?clearTimeout:null,Y=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function W(ue){for(var fe=i(w);fe!==null;){if(fe.callback===null)a(w);else if(fe.startTime<=ue)a(w),fe.sortIndex=fe.expirationTime,r(b,fe);else break;fe=i(w)}}function J(ue){if(R=!1,W(ue),!F)if(i(b)!==null)F=!0,Ce(le);else{var fe=i(w);fe!==null&&He(J,fe.startTime-ue)}}function le(ue,fe){F=!1,R&&(R=!1,G(Ie),Ie=-1),T=!0;var ae=L;try{for(W(fe),K=i(b);K!==null&&(!(K.expirationTime>fe)||ue&&!we());){var Me=K.callback;if(typeof Me=="function"){K.callback=null,L=K.priorityLevel;var Je=Me(K.expirationTime<=fe);fe=t.unstable_now(),typeof Je=="function"?K.callback=Je:K===i(b)&&a(b),W(fe)}else a(b);K=i(b)}if(K!==null)var Et=!0;else{var Ct=i(w);Ct!==null&&He(J,Ct.startTime-fe),Et=!1}return Et}finally{K=null,L=ae,T=!1}}var Se=!1,_e=null,Ie=-1,ve=5,xe=-1;function we(){return!(t.unstable_now()-xe<ve)}function he(){if(_e!==null){var ue=t.unstable_now();xe=ue;var fe=!0;try{fe=_e(!0,ue)}finally{fe?ge():(Se=!1,_e=null)}}else Se=!1}var ge;if(typeof Y=="function")ge=function(){Y(he)};else if(typeof MessageChannel<"u"){var De=new MessageChannel,je=De.port2;De.port1.onmessage=he,ge=function(){je.postMessage(null)}}else ge=function(){j(he,0)};function Ce(ue){_e=ue,Se||(Se=!0,ge())}function He(ue,fe){Ie=j(function(){ue(t.unstable_now())},fe)}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(ue){ue.callback=null},t.unstable_continueExecution=function(){F||T||(F=!0,Ce(le))},t.unstable_forceFrameRate=function(ue){0>ue||125<ue?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):ve=0<ue?Math.floor(1e3/ue):5},t.unstable_getCurrentPriorityLevel=function(){return L},t.unstable_getFirstCallbackNode=function(){return i(b)},t.unstable_next=function(ue){switch(L){case 1:case 2:case 3:var fe=3;break;default:fe=L}var ae=L;L=fe;try{return ue()}finally{L=ae}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(ue,fe){switch(ue){case 1:case 2:case 3:case 4:case 5:break;default:ue=3}var ae=L;L=ue;try{return fe()}finally{L=ae}},t.unstable_scheduleCallback=function(ue,fe,ae){var Me=t.unstable_now();switch(typeof ae=="object"&&ae!==null?(ae=ae.delay,ae=typeof ae=="number"&&0<ae?Me+ae:Me):ae=Me,ue){case 1:var Je=-1;break;case 2:Je=250;break;case 5:Je=1073741823;break;case 4:Je=1e4;break;default:Je=5e3}return Je=ae+Je,ue={id:D++,callback:fe,priorityLevel:ue,startTime:ae,expirationTime:Je,sortIndex:-1},ae>Me?(ue.sortIndex=ae,r(w,ue),i(b)===null&&ue===i(w)&&(R?(G(Ie),Ie=-1):R=!0,He(J,ae-Me))):(ue.sortIndex=Je,r(b,ue),F||T||(F=!0,Ce(le))),ue},t.unstable_shouldYield=we,t.unstable_wrapCallback=function(ue){var fe=L;return function(){var ae=L;L=fe;try{return ue.apply(this,arguments)}finally{L=ae}}}}(Vg)),Vg}var Xg;function KC(){return Xg||(Xg=1,function(t){t.exports=PC()}(FC)),wf}/**
37
37
  * @license React
38
38
  * react-dom.production.min.js
39
39
  *
@@ -41,14 +41,14 @@ object-assign
41
41
  *
42
42
  * This source code is licensed under the MIT license found in the
43
43
  * LICENSE file in the root directory of this source tree.
44
- */var Bg;function nC(){if(Bg)return cr;Bg=1;var t=q,r=tC();function i(e){for(var n="https://reactjs.org/docs/error-decoder.html?invariant="+e,o=1;o<arguments.length;o++)n+="&args[]="+encodeURIComponent(arguments[o]);return"Minified React error #"+e+"; visit "+n+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var a=new Set,u={};function f(e,n){g(e,n),g(e+"Capture",n)}function g(e,n){for(u[e]=n,e=0;e<n.length;e++)a.add(n[e])}var y=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),b=Object.prototype.hasOwnProperty,k=/^[: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={},P={};function L(e){return b.call(P,e)?!0:b.call(D,e)?!1:k.test(e)?P[e]=!0:(D[e]=!0,!1)}function T(e,n,o,s){if(o!==null&&o.type===0)return!1;switch(typeof n){case"function":case"symbol":return!0;case"boolean":return s?!1:o!==null?!o.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function F(e,n,o,s){if(n===null||typeof n>"u"||T(e,n,o,s))return!0;if(s)return!1;if(o!==null)switch(o.type){case 3:return!n;case 4:return n===!1;case 5:return isNaN(n);case 6:return isNaN(n)||1>n}return!1}function R(e,n,o,s,d,m,E){this.acceptsBooleans=n===2||n===3||n===4,this.attributeName=s,this.attributeNamespace=d,this.mustUseProperty=o,this.propertyName=e,this.type=n,this.sanitizeURL=m,this.removeEmptyString=E}var j={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){j[e]=new R(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var n=e[0];j[n]=new R(n,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){j[e]=new R(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){j[e]=new R(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){j[e]=new R(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){j[e]=new R(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){j[e]=new R(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){j[e]=new R(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){j[e]=new R(e,5,!1,e.toLowerCase(),null,!1,!1)});var ne=/[\-:]([a-z])/g;function Y(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 n=e.replace(ne,Y);j[n]=new R(n,1,!1,e,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var n=e.replace(ne,Y);j[n]=new R(n,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var n=e.replace(ne,Y);j[n]=new R(n,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){j[e]=new R(e,1,!1,e.toLowerCase(),null,!1,!1)}),j.xlinkHref=new R("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){j[e]=new R(e,1,!1,e.toLowerCase(),null,!0,!0)});function W(e,n,o,s){var d=j.hasOwnProperty(n)?j[n]:null;(d!==null?d.type!==0:s||!(2<n.length)||n[0]!=="o"&&n[0]!=="O"||n[1]!=="n"&&n[1]!=="N")&&(F(n,o,d,s)&&(o=null),s||d===null?L(n)&&(o===null?e.removeAttribute(n):e.setAttribute(n,""+o)):d.mustUseProperty?e[d.propertyName]=o===null?d.type===3?!1:"":o:(n=d.attributeName,s=d.attributeNamespace,o===null?e.removeAttribute(n):(d=d.type,o=d===3||d===4&&o===!0?"":""+o,s?e.setAttributeNS(s,n,o):e.setAttribute(n,o))))}var J=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,le=Symbol.for("react.element"),Se=Symbol.for("react.portal"),_e=Symbol.for("react.fragment"),Ie=Symbol.for("react.strict_mode"),ve=Symbol.for("react.profiler"),ke=Symbol.for("react.provider"),we=Symbol.for("react.context"),he=Symbol.for("react.forward_ref"),ge=Symbol.for("react.suspense"),De=Symbol.for("react.suspense_list"),je=Symbol.for("react.memo"),Ce=Symbol.for("react.lazy"),He=Symbol.for("react.offscreen"),ue=Symbol.iterator;function fe(e){return e===null||typeof e!="object"?null:(e=ue&&e[ue]||e["@@iterator"],typeof e=="function"?e:null)}var ae=Object.assign,Me;function Ye(e){if(Me===void 0)try{throw Error()}catch(o){var n=o.stack.trim().match(/\n( *(at )?)/);Me=n&&n[1]||""}return`
45
- `+Me+e}var kt=!1;function Mt(e,n){if(!e||kt)return"";kt=!0;var o=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(n)if(n=function(){throw Error()},Object.defineProperty(n.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(n,[])}catch(G){var s=G}Reflect.construct(e,[],n)}else{try{n.call()}catch(G){s=G}e.call(n.prototype)}else{try{throw Error()}catch(G){s=G}e()}}catch(G){if(G&&s&&typeof G.stack=="string"){for(var d=G.stack.split(`
44
+ */var Zg;function RC(){if(Zg)return dr;Zg=1;var t=P,r=KC();function i(e){for(var n="https://reactjs.org/docs/error-decoder.html?invariant="+e,o=1;o<arguments.length;o++)n+="&args[]="+encodeURIComponent(arguments[o]);return"Minified React error #"+e+"; visit "+n+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var a=new Set,u={};function c(e,n){g(e,n),g(e+"Capture",n)}function g(e,n){for(u[e]=n,e=0;e<n.length;e++)a.add(n[e])}var y=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),b=Object.prototype.hasOwnProperty,w=/^[: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={},K={};function L(e){return b.call(K,e)?!0:b.call(D,e)?!1:w.test(e)?K[e]=!0:(D[e]=!0,!1)}function T(e,n,o,s){if(o!==null&&o.type===0)return!1;switch(typeof n){case"function":case"symbol":return!0;case"boolean":return s?!1:o!==null?!o.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function F(e,n,o,s){if(n===null||typeof n>"u"||T(e,n,o,s))return!0;if(s)return!1;if(o!==null)switch(o.type){case 3:return!n;case 4:return n===!1;case 5:return isNaN(n);case 6:return isNaN(n)||1>n}return!1}function R(e,n,o,s,d,m,k){this.acceptsBooleans=n===2||n===3||n===4,this.attributeName=s,this.attributeNamespace=d,this.mustUseProperty=o,this.propertyName=e,this.type=n,this.sanitizeURL=m,this.removeEmptyString=k}var j={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){j[e]=new R(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var n=e[0];j[n]=new R(n,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){j[e]=new R(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){j[e]=new R(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){j[e]=new R(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){j[e]=new R(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){j[e]=new R(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){j[e]=new R(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){j[e]=new R(e,5,!1,e.toLowerCase(),null,!1,!1)});var G=/[\-:]([a-z])/g;function Y(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 n=e.replace(G,Y);j[n]=new R(n,1,!1,e,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var n=e.replace(G,Y);j[n]=new R(n,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var n=e.replace(G,Y);j[n]=new R(n,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){j[e]=new R(e,1,!1,e.toLowerCase(),null,!1,!1)}),j.xlinkHref=new R("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){j[e]=new R(e,1,!1,e.toLowerCase(),null,!0,!0)});function W(e,n,o,s){var d=j.hasOwnProperty(n)?j[n]:null;(d!==null?d.type!==0:s||!(2<n.length)||n[0]!=="o"&&n[0]!=="O"||n[1]!=="n"&&n[1]!=="N")&&(F(n,o,d,s)&&(o=null),s||d===null?L(n)&&(o===null?e.removeAttribute(n):e.setAttribute(n,""+o)):d.mustUseProperty?e[d.propertyName]=o===null?d.type===3?!1:"":o:(n=d.attributeName,s=d.attributeNamespace,o===null?e.removeAttribute(n):(d=d.type,o=d===3||d===4&&o===!0?"":""+o,s?e.setAttributeNS(s,n,o):e.setAttribute(n,o))))}var J=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,le=Symbol.for("react.element"),Se=Symbol.for("react.portal"),_e=Symbol.for("react.fragment"),Ie=Symbol.for("react.strict_mode"),ve=Symbol.for("react.profiler"),xe=Symbol.for("react.provider"),we=Symbol.for("react.context"),he=Symbol.for("react.forward_ref"),ge=Symbol.for("react.suspense"),De=Symbol.for("react.suspense_list"),je=Symbol.for("react.memo"),Ce=Symbol.for("react.lazy"),He=Symbol.for("react.offscreen"),ue=Symbol.iterator;function fe(e){return e===null||typeof e!="object"?null:(e=ue&&e[ue]||e["@@iterator"],typeof e=="function"?e:null)}var ae=Object.assign,Me;function Je(e){if(Me===void 0)try{throw Error()}catch(o){var n=o.stack.trim().match(/\n( *(at )?)/);Me=n&&n[1]||""}return`
45
+ `+Me+e}var Et=!1;function Ct(e,n){if(!e||Et)return"";Et=!0;var o=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(n)if(n=function(){throw Error()},Object.defineProperty(n.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(n,[])}catch(ee){var s=ee}Reflect.construct(e,[],n)}else{try{n.call()}catch(ee){s=ee}e.call(n.prototype)}else{try{throw Error()}catch(ee){s=ee}e()}}catch(ee){if(ee&&s&&typeof ee.stack=="string"){for(var d=ee.stack.split(`
46
46
  `),m=s.stack.split(`
47
- `),E=d.length-1,K=m.length-1;1<=E&&0<=K&&d[E]!==m[K];)K--;for(;1<=E&&0<=K;E--,K--)if(d[E]!==m[K]){if(E!==1||K!==1)do if(E--,K--,0>K||d[E]!==m[K]){var z=`
48
- `+d[E].replace(" at new "," at ");return e.displayName&&z.includes("<anonymous>")&&(z=z.replace("<anonymous>",e.displayName)),z}while(1<=E&&0<=K);break}}}finally{kt=!1,Error.prepareStackTrace=o}return(e=e?e.displayName||e.name:"")?Ye(e):""}function Ae(e){switch(e.tag){case 5:return Ye(e.type);case 16:return Ye("Lazy");case 13:return Ye("Suspense");case 19:return Ye("SuspenseList");case 0:case 2:case 15:return e=Mt(e.type,!1),e;case 11:return e=Mt(e.type.render,!1),e;case 1:return e=Mt(e.type,!0),e;default:return""}}function Te(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case _e:return"Fragment";case Se:return"Portal";case ve:return"Profiler";case Ie:return"StrictMode";case ge:return"Suspense";case De:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case we:return(e.displayName||"Context")+".Consumer";case ke:return(e._context.displayName||"Context")+".Provider";case he:var n=e.render;return e=e.displayName,e||(e=n.displayName||n.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case je:return n=e.displayName||null,n!==null?n:Te(e.type)||"Memo";case Ce:n=e._payload,e=e._init;try{return Te(e(n))}catch{}}return null}function dt(e){var n=e.type;switch(e.tag){case 24:return"Cache";case 9:return(n.displayName||"Context")+".Consumer";case 10:return(n._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=n.render,e=e.displayName||e.name||"",n.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return n;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Te(n);case 8:return n===Ie?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n}return null}function Pt(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Kt(e){var n=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(n==="checkbox"||n==="radio")}function Ct(e){var n=Kt(e)?"checked":"value",o=Object.getOwnPropertyDescriptor(e.constructor.prototype,n),s=""+e[n];if(!e.hasOwnProperty(n)&&typeof o<"u"&&typeof o.get=="function"&&typeof o.set=="function"){var d=o.get,m=o.set;return Object.defineProperty(e,n,{configurable:!0,get:function(){return d.call(this)},set:function(E){s=""+E,m.call(this,E)}}),Object.defineProperty(e,n,{enumerable:o.enumerable}),{getValue:function(){return s},setValue:function(E){s=""+E},stopTracking:function(){e._valueTracker=null,delete e[n]}}}}function xt(e){e._valueTracker||(e._valueTracker=Ct(e))}function Jt(e){if(!e)return!1;var n=e._valueTracker;if(!n)return!0;var o=n.getValue(),s="";return e&&(s=Kt(e)?e.checked?"true":"false":e.value),e=s,e!==o?(n.setValue(e),!0):!1}function $e(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function ut(e,n){var o=n.checked;return ae({},n,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:o??e._wrapperState.initialChecked})}function lt(e,n){var o=n.defaultValue==null?"":n.defaultValue,s=n.checked!=null?n.checked:n.defaultChecked;o=Pt(n.value!=null?n.value:o),e._wrapperState={initialChecked:s,initialValue:o,controlled:n.type==="checkbox"||n.type==="radio"?n.checked!=null:n.value!=null}}function Bt(e,n){n=n.checked,n!=null&&W(e,"checked",n,!1)}function pn(e,n){Bt(e,n);var o=Pt(n.value),s=n.type;if(o!=null)s==="number"?(o===0&&e.value===""||e.value!=o)&&(e.value=""+o):e.value!==""+o&&(e.value=""+o);else if(s==="submit"||s==="reset"){e.removeAttribute("value");return}n.hasOwnProperty("value")?Et(e,n.type,o):n.hasOwnProperty("defaultValue")&&Et(e,n.type,Pt(n.defaultValue)),n.checked==null&&n.defaultChecked!=null&&(e.defaultChecked=!!n.defaultChecked)}function Lt(e,n,o){if(n.hasOwnProperty("value")||n.hasOwnProperty("defaultValue")){var s=n.type;if(!(s!=="submit"&&s!=="reset"||n.value!==void 0&&n.value!==null))return;n=""+e._wrapperState.initialValue,o||n===e.value||(e.value=n),e.defaultValue=n}o=e.name,o!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,o!==""&&(e.name=o)}function Et(e,n,o){(n!=="number"||$e(e.ownerDocument)!==e)&&(o==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+o&&(e.defaultValue=""+o))}var rt=Array.isArray;function pt(e,n,o,s){if(e=e.options,n){n={};for(var d=0;d<o.length;d++)n["$"+o[d]]=!0;for(o=0;o<e.length;o++)d=n.hasOwnProperty("$"+e[o].value),e[o].selected!==d&&(e[o].selected=d),d&&s&&(e[o].defaultSelected=!0)}else{for(o=""+Pt(o),n=null,d=0;d<e.length;d++){if(e[d].value===o){e[d].selected=!0,s&&(e[d].defaultSelected=!0);return}n!==null||e[d].disabled||(n=e[d])}n!==null&&(n.selected=!0)}}function Ft(e,n){if(n.dangerouslySetInnerHTML!=null)throw Error(i(91));return ae({},n,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Fe(e,n){var o=n.value;if(o==null){if(o=n.children,n=n.defaultValue,o!=null){if(n!=null)throw Error(i(92));if(rt(o)){if(1<o.length)throw Error(i(93));o=o[0]}n=o}n==null&&(n=""),o=n}e._wrapperState={initialValue:Pt(o)}}function nt(e,n){var o=Pt(n.value),s=Pt(n.defaultValue);o!=null&&(o=""+o,o!==e.value&&(e.value=o),n.defaultValue==null&&e.defaultValue!==o&&(e.defaultValue=o)),s!=null&&(e.defaultValue=""+s)}function Je(e){var n=e.textContent;n===e._wrapperState.initialValue&&n!==""&&n!==null&&(e.value=n)}function ht(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 Ge(e,n){return e==null||e==="http://www.w3.org/1999/xhtml"?ht(n):e==="http://www.w3.org/2000/svg"&&n==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var wn,ct=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(n,o,s,d){MSApp.execUnsafeLocalFunction(function(){return e(n,o,s,d)})}:e}(function(e,n){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=n;else{for(wn=wn||document.createElement("div"),wn.innerHTML="<svg>"+n.valueOf().toString()+"</svg>",n=wn.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;n.firstChild;)e.appendChild(n.firstChild)}});function Sn(e,n){if(n){var o=e.firstChild;if(o&&o===e.lastChild&&o.nodeType===3){o.nodeValue=n;return}}e.textContent=n}var Yt={animationIterationCount:!0,aspectRatio:!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},fr=["Webkit","ms","Moz","O"];Object.keys(Yt).forEach(function(e){fr.forEach(function(n){n=n+e.charAt(0).toUpperCase()+e.substring(1),Yt[n]=Yt[e]})});function Un(e,n,o){return n==null||typeof n=="boolean"||n===""?"":o||typeof n!="number"||n===0||Yt.hasOwnProperty(e)&&Yt[e]?(""+n).trim():n+"px"}function eo(e,n){e=e.style;for(var o in n)if(n.hasOwnProperty(o)){var s=o.indexOf("--")===0,d=Un(o,n[o],s);o==="float"&&(o="cssFloat"),s?e.setProperty(o,d):e[o]=d}}var Rt=ae({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 vi(e,n){if(n){if(Rt[e]&&(n.children!=null||n.dangerouslySetInnerHTML!=null))throw Error(i(137,e));if(n.dangerouslySetInnerHTML!=null){if(n.children!=null)throw Error(i(60));if(typeof n.dangerouslySetInnerHTML!="object"||!("__html"in n.dangerouslySetInnerHTML))throw Error(i(61))}if(n.style!=null&&typeof n.style!="object")throw Error(i(62))}}function $t(e,n){if(e.indexOf("-")===-1)return typeof n.is=="string";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}}var yi=null;function sn(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Ht=null,Tn=null,it=null;function Vn(e){if(e=$l(e)){if(typeof Ht!="function")throw Error(i(280));var n=e.stateNode;n&&(n=hs(n),Ht(e.stateNode,e.type,n))}}function Qn(e){Tn?it?it.push(e):it=[e]:Tn=e}function Wn(){if(Tn){var e=Tn,n=it;if(it=Tn=null,Vn(e),n)for(e=0;e<n.length;e++)Vn(n[e])}}function kn(e,n){return e(n)}function Or(){}var It=!1;function to(e,n,o){if(It)return e(n,o);It=!0;try{return kn(e,n,o)}finally{It=!1,(Tn!==null||it!==null)&&(Or(),Wn())}}function Gn(e,n){var o=e.stateNode;if(o===null)return null;var s=hs(o);if(s===null)return null;o=s[n];e:switch(n){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(s=!s.disabled)||(e=e.type,s=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!s;break e;default:e=!1}if(e)return null;if(o&&typeof o!="function")throw Error(i(231,n,typeof o));return o}var bi=!1;if(y)try{var Nr={};Object.defineProperty(Nr,"passive",{get:function(){bi=!0}}),window.addEventListener("test",Nr,Nr),window.removeEventListener("test",Nr,Nr)}catch{bi=!1}function no(e,n,o,s,d,m,E,K,z){var G=Array.prototype.slice.call(arguments,3);try{n.apply(o,G)}catch(ce){this.onError(ce)}}var Jr=!1,Yr=null,Wr=!1,dr=null,pr={onError:function(e){Jr=!0,Yr=e}};function Ki(e,n,o,s,d,m,E,K,z){Jr=!1,Yr=null,no.apply(pr,arguments)}function ro(e,n,o,s,d,m,E,K,z){if(Ki.apply(this,arguments),Jr){if(Jr){var G=Yr;Jr=!1,Yr=null}else throw Error(i(198));Wr||(Wr=!0,dr=G)}}function er(e){var n=e,o=e;if(e.alternate)for(;n.return;)n=n.return;else{e=n;do n=e,n.flags&4098&&(o=n.return),e=n.return;while(e)}return n.tag===3?o:null}function hr(e){if(e.tag===13){var n=e.memoizedState;if(n===null&&(e=e.alternate,e!==null&&(n=e.memoizedState)),n!==null)return n.dehydrated}return null}function hn(e){if(er(e)!==e)throw Error(i(188))}function ot(e){var n=e.alternate;if(!n){if(n=er(e),n===null)throw Error(i(188));return n!==e?null:e}for(var o=e,s=n;;){var d=o.return;if(d===null)break;var m=d.alternate;if(m===null){if(s=d.return,s!==null){o=s;continue}break}if(d.child===m.child){for(m=d.child;m;){if(m===o)return hn(d),e;if(m===s)return hn(d),n;m=m.sibling}throw Error(i(188))}if(o.return!==s.return)o=d,s=m;else{for(var E=!1,K=d.child;K;){if(K===o){E=!0,o=d,s=m;break}if(K===s){E=!0,s=d,o=m;break}K=K.sibling}if(!E){for(K=m.child;K;){if(K===o){E=!0,o=m,s=d;break}if(K===s){E=!0,s=m,o=d;break}K=K.sibling}if(!E)throw Error(i(189))}}if(o.alternate!==s)throw Error(i(190))}if(o.tag!==3)throw Error(i(188));return o.stateNode.current===o?e:n}function Dr(e){return e=ot(e),e!==null?Mr(e):null}function Mr(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var n=Mr(e);if(n!==null)return n;e=e.sibling}return null}var tt=r.unstable_scheduleCallback,Lr=r.unstable_cancelCallback,Cr=r.unstable_shouldYield,Gr=r.unstable_requestPaint,gt=r.unstable_now,jt=r.unstable_getCurrentPriorityLevel,ei=r.unstable_ImmediatePriority,ti=r.unstable_UserBlockingPriority,Br=r.unstable_NormalPriority,Ri=r.unstable_LowPriority,mr=r.unstable_IdlePriority,Xt=null,Ln=null;function Fr(e){if(Ln&&typeof Ln.onCommitFiberRoot=="function")try{Ln.onCommitFiberRoot(Xt,e,void 0,(e.current.flags&128)===128)}catch{}}var rn=Math.clz32?Math.clz32:oo,_i=Math.log,io=Math.LN2;function oo(e){return e>>>=0,e===0?32:31-(_i(e)/io|0)|0}var Pr=64,gr=4194304;function Kr(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Rr(e,n){var o=e.pendingLanes;if(o===0)return 0;var s=0,d=e.suspendedLanes,m=e.pingedLanes,E=o&268435455;if(E!==0){var K=E&~d;K!==0?s=Kr(K):(m&=E,m!==0&&(s=Kr(m)))}else E=o&~d,E!==0?s=Kr(E):m!==0&&(s=Kr(m));if(s===0)return 0;if(n!==0&&n!==s&&!(n&d)&&(d=s&-s,m=n&-n,d>=m||d===16&&(m&4194240)!==0))return n;if(s&4&&(s|=o&16),n=e.entangledLanes,n!==0)for(e=e.entanglements,n&=s;0<n;)o=31-rn(n),d=1<<o,s|=e[o],n&=~d;return s}function p(e,n){switch(e){case 1:case 2:case 4:return n+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return n+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function w(e,n){for(var o=e.suspendedLanes,s=e.pingedLanes,d=e.expirationTimes,m=e.pendingLanes;0<m;){var E=31-rn(m),K=1<<E,z=d[E];z===-1?(!(K&o)||K&s)&&(d[E]=p(K,n)):z<=n&&(e.expiredLanes|=K),m&=~K}}function N(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function B(){var e=Pr;return Pr<<=1,!(Pr&4194240)&&(Pr=64),e}function $(e){for(var n=[],o=0;31>o;o++)n.push(e);return n}function U(e,n,o){e.pendingLanes|=n,n!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,n=31-rn(n),e[n]=o}function ie(e,n){var o=e.pendingLanes&~n;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=n,e.mutableReadLanes&=n,e.entangledLanes&=n,n=e.entanglements;var s=e.eventTimes;for(e=e.expirationTimes;0<o;){var d=31-rn(o),m=1<<d;n[d]=0,s[d]=-1,e[d]=-1,o&=~m}}function me(e,n){var o=e.entangledLanes|=n;for(e=e.entanglements;o;){var s=31-rn(o),d=1<<s;d&n|e[s]&n&&(e[s]|=n),o&=~d}}var be=0;function xe(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var We,wt,Ot,Wt,on,vr=!1,mn=[],zn=null,gn=null,tr=null,Cn=new Map,Hn=new Map,Ir=[],ni="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 ao(e,n){switch(e){case"focusin":case"focusout":zn=null;break;case"dragenter":case"dragleave":gn=null;break;case"mouseover":case"mouseout":tr=null;break;case"pointerover":case"pointerout":Cn.delete(n.pointerId);break;case"gotpointercapture":case"lostpointercapture":Hn.delete(n.pointerId)}}function jr(e,n,o,s,d,m){return e===null||e.nativeEvent!==m?(e={blockedOn:n,domEventName:o,eventSystemFlags:s,nativeEvent:m,targetContainers:[d]},n!==null&&(n=$l(n),n!==null&&wt(n)),e):(e.eventSystemFlags|=s,n=e.targetContainers,d!==null&&n.indexOf(d)===-1&&n.push(d),e)}function At(e,n,o,s,d){switch(n){case"focusin":return zn=jr(zn,e,n,o,s,d),!0;case"dragenter":return gn=jr(gn,e,n,o,s,d),!0;case"mouseover":return tr=jr(tr,e,n,o,s,d),!0;case"pointerover":var m=d.pointerId;return Cn.set(m,jr(Cn.get(m)||null,e,n,o,s,d)),!0;case"gotpointercapture":return m=d.pointerId,Hn.set(m,jr(Hn.get(m)||null,e,n,o,s,d)),!0}return!1}function nr(e){var n=va(e.target);if(n!==null){var o=er(n);if(o!==null){if(n=o.tag,n===13){if(n=hr(o),n!==null){e.blockedOn=n,on(e.priority,function(){Ot(o)});return}}else if(n===3&&o.stateNode.current.memoizedState.isDehydrated){e.blockedOn=o.tag===3?o.stateNode.containerInfo:null;return}}}e.blockedOn=null}function ri(e){if(e.blockedOn!==null)return!1;for(var n=e.targetContainers;0<n.length;){var o=ji(e.domEventName,e.eventSystemFlags,n[0],e.nativeEvent);if(o===null){o=e.nativeEvent;var s=new o.constructor(o.type,o);yi=s,o.target.dispatchEvent(s),yi=null}else return n=$l(o),n!==null&&wt(n),e.blockedOn=o,!1;n.shift()}return!0}function Ii(e,n,o){ri(e)&&o.delete(n)}function vt(){vr=!1,zn!==null&&ri(zn)&&(zn=null),gn!==null&&ri(gn)&&(gn=null),tr!==null&&ri(tr)&&(tr=null),Cn.forEach(Ii),Hn.forEach(Ii)}function yr(e,n){e.blockedOn===n&&(e.blockedOn=null,vr||(vr=!0,r.unstable_scheduleCallback(r.unstable_NormalPriority,vt)))}function Gt(e){function n(d){return yr(d,e)}if(0<mn.length){yr(mn[0],e);for(var o=1;o<mn.length;o++){var s=mn[o];s.blockedOn===e&&(s.blockedOn=null)}}for(zn!==null&&yr(zn,e),gn!==null&&yr(gn,e),tr!==null&&yr(tr,e),Cn.forEach(n),Hn.forEach(n),o=0;o<Ir.length;o++)s=Ir[o],s.blockedOn===e&&(s.blockedOn=null);for(;0<Ir.length&&(o=Ir[0],o.blockedOn===null);)nr(o),o.blockedOn===null&&Ir.shift()}var xn=J.ReactCurrentBatchConfig,vn=!0;function Tr(e,n,o,s){var d=be,m=xn.transition;xn.transition=null;try{be=1,lo(e,n,o,s)}finally{be=d,xn.transition=m}}function ii(e,n,o,s){var d=be,m=xn.transition;xn.transition=null;try{be=4,lo(e,n,o,s)}finally{be=d,xn.transition=m}}function lo(e,n,o,s){if(vn){var d=ji(e,n,o,s);if(d===null)Kf(e,n,s,oi,o),ao(e,s);else if(At(d,e,n,o,s))s.stopPropagation();else if(ao(e,s),n&4&&-1<ni.indexOf(e)){for(;d!==null;){var m=$l(d);if(m!==null&&We(m),m=ji(e,n,o,s),m===null&&Kf(e,n,s,oi,o),m===d)break;d=m}d!==null&&s.stopPropagation()}else Kf(e,n,s,null,o)}}var oi=null;function ji(e,n,o,s){if(oi=null,e=sn(s),e=va(e),e!==null)if(n=er(e),n===null)e=null;else if(o=n.tag,o===13){if(e=hr(n),e!==null)return e;e=null}else if(o===3){if(n.stateNode.current.memoizedState.isDehydrated)return n.tag===3?n.stateNode.containerInfo:null;e=null}else n!==e&&(e=null);return oi=e,null}function fa(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(jt()){case ei:return 1;case ti:return 4;case Br:case Ri:return 16;case mr:return 536870912;default:return 16}default:return 16}}var zr=null,Ti=null,Mo=null;function da(){if(Mo)return Mo;var e,n=Ti,o=n.length,s,d="value"in zr?zr.value:zr.textContent,m=d.length;for(e=0;e<o&&n[e]===d[e];e++);var E=o-e;for(s=1;s<=E&&n[o-s]===d[m-s];s++);return Mo=d.slice(e,1<s?1-s:void 0)}function wi(e){var n=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&n===13&&(e=13)):e=n,e===10&&(e=13),32<=e||e===13?e:0}function zi(){return!0}function uo(){return!1}function En(e){function n(o,s,d,m,E){this._reactName=o,this._targetInst=d,this.type=s,this.nativeEvent=m,this.target=E,this.currentTarget=null;for(var K in e)e.hasOwnProperty(K)&&(o=e[K],this[K]=o?o(m):m[K]);return this.isDefaultPrevented=(m.defaultPrevented!=null?m.defaultPrevented:m.returnValue===!1)?zi:uo,this.isPropagationStopped=uo,this}return ae(n.prototype,{preventDefault:function(){this.defaultPrevented=!0;var o=this.nativeEvent;o&&(o.preventDefault?o.preventDefault():typeof o.returnValue!="unknown"&&(o.returnValue=!1),this.isDefaultPrevented=zi)},stopPropagation:function(){var o=this.nativeEvent;o&&(o.stopPropagation?o.stopPropagation():typeof o.cancelBubble!="unknown"&&(o.cancelBubble=!0),this.isPropagationStopped=zi)},persist:function(){},isPersistent:zi}),n}var rr={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},br=En(rr),Hi=ae({},rr,{view:0,detail:0}),so=En(Hi),ft,ai,Hr,qi=ae({},Hi,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:fo,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Hr&&(Hr&&e.type==="mousemove"?(ft=e.screenX-Hr.screenX,ai=e.screenY-Hr.screenY):ai=ft=0,Hr=e),ft)},movementY:function(e){return"movementY"in e?e.movementY:ai}}),$n=En(qi),Lo=ae({},qi,{dataTransfer:0}),Co=En(Lo),Bn=ae({},Hi,{relatedTarget:0}),yn=En(Bn),en=ae({},rr,{animationName:0,elapsedTime:0,pseudoElement:0}),Bo=En(en),pa=ae({},rr,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Fo=En(pa),Ua=ae({},rr,{data:0}),Nt=En(Ua),Ai={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},co={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"},Fn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Po(e){var n=this.nativeEvent;return n.getModifierState?n.getModifierState(e):(e=Fn[e])?!!n[e]:!1}function fo(){return Po}var Ko=ae({},Hi,{key:function(e){if(e.key){var n=Ai[e.key]||e.key;if(n!=="Unidentified")return n}return e.type==="keypress"?(e=wi(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?co[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:fo,charCode:function(e){return e.type==="keypress"?wi(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?wi(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Ro=En(Ko),h=ae({},qi,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),_=En(h),O=ae({},Hi,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:fo}),C=En(O),X=ae({},rr,{propertyName:0,elapsedTime:0,pseudoElement:0}),V=En(X),te=ae({},qi,{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}),pe=En(te),qe=[9,13,27,32],Xe=y&&"CompositionEvent"in window,Ue=null;y&&"documentMode"in document&&(Ue=document.documentMode);var Dt=y&&"TextEvent"in window&&!Ue,bn=y&&(!Xe||Ue&&8<Ue&&11>=Ue),Ut=String.fromCharCode(32),St=!1;function li(e,n){switch(e){case"keyup":return qe.indexOf(n.keyCode)!==-1;case"keydown":return n.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function ha(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var ui=!1;function Va(e,n){switch(e){case"compositionend":return ha(n);case"keypress":return n.which!==32?null:(St=!0,Ut);case"textInput":return e=n.data,e===Ut&&St?null:e;default:return null}}function is(e,n){if(ui)return e==="compositionend"||!Xe&&li(e,n)?(e=da(),Mo=Ti=zr=null,ui=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(n.ctrlKey||n.altKey||n.metaKey)||n.ctrlKey&&n.altKey){if(n.char&&1<n.char.length)return n.char;if(n.which)return String.fromCharCode(n.which)}return null;case"compositionend":return bn&&n.locale!=="ko"?null:n.data;default:return null}}var os={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 as(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return n==="input"?!!os[e.type]:n==="textarea"}function Hl(e,n,o,s){Qn(s),n=fs(n,"onChange"),0<n.length&&(o=new br("onChange","change",null,o,s),e.push({event:o,listeners:n}))}var ma=null,ga=null;function ls(e){Qv(e,0)}function Qa(e){var n=Ya(e);if(Jt(n))return e}function l(e,n){if(e==="change")return n}var c=!1;if(y){var v;if(y){var S="oninput"in document;if(!S){var x=document.createElement("div");x.setAttribute("oninput","return;"),S=typeof x.oninput=="function"}v=S}else v=!1;c=v&&(!document.documentMode||9<document.documentMode)}function M(){ma&&(ma.detachEvent("onpropertychange",I),ga=ma=null)}function I(e){if(e.propertyName==="value"&&Qa(ga)){var n=[];Hl(n,ga,e,sn(e)),to(ls,n)}}function A(e,n,o){e==="focusin"?(M(),ma=n,ga=o,ma.attachEvent("onpropertychange",I)):e==="focusout"&&M()}function ee(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Qa(ga)}function re(e,n){if(e==="click")return Qa(n)}function oe(e,n){if(e==="input"||e==="change")return Qa(n)}function Oe(e,n){return e===n&&(e!==0||1/e===1/n)||e!==e&&n!==n}var Ee=typeof Object.is=="function"?Object.is:Oe;function Ze(e,n){if(Ee(e,n))return!0;if(typeof e!="object"||e===null||typeof n!="object"||n===null)return!1;var o=Object.keys(e),s=Object.keys(n);if(o.length!==s.length)return!1;for(s=0;s<o.length;s++){var d=o[s];if(!b.call(n,d)||!Ee(e[d],n[d]))return!1}return!0}function at(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Tt(e,n){var o=at(e);e=0;for(var s;o;){if(o.nodeType===3){if(s=e+o.textContent.length,e<=n&&s>=n)return{node:o,offset:n-e};e=s}e:{for(;o;){if(o.nextSibling){o=o.nextSibling;break e}o=o.parentNode}o=void 0}o=at(o)}}function _r(e,n){return e&&n?e===n?!0:e&&e.nodeType===3?!1:n&&n.nodeType===3?_r(e,n.parentNode):"contains"in e?e.contains(n):e.compareDocumentPosition?!!(e.compareDocumentPosition(n)&16):!1:!1}function qr(){for(var e=window,n=$e();n instanceof e.HTMLIFrameElement;){try{var o=typeof n.contentWindow.location.href=="string"}catch{o=!1}if(o)e=n.contentWindow;else break;n=$e(e.document)}return n}function Io(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return n&&(n==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||n==="textarea"||e.contentEditable==="true")}function GF(e){var n=qr(),o=e.focusedElem,s=e.selectionRange;if(n!==o&&o&&o.ownerDocument&&_r(o.ownerDocument.documentElement,o)){if(s!==null&&Io(o)){if(n=s.start,e=s.end,e===void 0&&(e=n),"selectionStart"in o)o.selectionStart=n,o.selectionEnd=Math.min(e,o.value.length);else if(e=(n=o.ownerDocument||document)&&n.defaultView||window,e.getSelection){e=e.getSelection();var d=o.textContent.length,m=Math.min(s.start,d);s=s.end===void 0?m:Math.min(s.end,d),!e.extend&&m>s&&(d=s,s=m,m=d),d=Tt(o,m);var E=Tt(o,s);d&&E&&(e.rangeCount!==1||e.anchorNode!==d.node||e.anchorOffset!==d.offset||e.focusNode!==E.node||e.focusOffset!==E.offset)&&(n=n.createRange(),n.setStart(d.node,d.offset),e.removeAllRanges(),m>s?(e.addRange(n),e.extend(E.node,E.offset)):(n.setEnd(E.node,E.offset),e.addRange(n)))}}for(n=[],e=o;e=e.parentNode;)e.nodeType===1&&n.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof o.focus=="function"&&o.focus(),o=0;o<n.length;o++)e=n[o],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var e3=y&&"documentMode"in document&&11>=document.documentMode,$a=null,Mf=null,ql=null,Lf=!1;function Iv(e,n,o){var s=o.window===o?o.document:o.nodeType===9?o:o.ownerDocument;Lf||$a==null||$a!==$e(s)||(s=$a,"selectionStart"in s&&Io(s)?s={start:s.selectionStart,end:s.selectionEnd}:(s=(s.ownerDocument&&s.ownerDocument.defaultView||window).getSelection(),s={anchorNode:s.anchorNode,anchorOffset:s.anchorOffset,focusNode:s.focusNode,focusOffset:s.focusOffset}),ql&&Ze(ql,s)||(ql=s,s=fs(Mf,"onSelect"),0<s.length&&(n=new br("onSelect","select",null,n,o),e.push({event:n,listeners:s}),n.target=$a)))}function us(e,n){var o={};return o[e.toLowerCase()]=n.toLowerCase(),o["Webkit"+e]="webkit"+n,o["Moz"+e]="moz"+n,o}var Xa={animationend:us("Animation","AnimationEnd"),animationiteration:us("Animation","AnimationIteration"),animationstart:us("Animation","AnimationStart"),transitionend:us("Transition","TransitionEnd")},Cf={},jv={};y&&(jv=document.createElement("div").style,"AnimationEvent"in window||(delete Xa.animationend.animation,delete Xa.animationiteration.animation,delete Xa.animationstart.animation),"TransitionEvent"in window||delete Xa.transitionend.transition);function ss(e){if(Cf[e])return Cf[e];if(!Xa[e])return e;var n=Xa[e],o;for(o in n)if(n.hasOwnProperty(o)&&o in jv)return Cf[e]=n[o];return e}var Tv=ss("animationend"),zv=ss("animationiteration"),Hv=ss("animationstart"),qv=ss("transitionend"),Av=new Map,Uv="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function jo(e,n){Av.set(e,n),f(n,[e])}for(var Bf=0;Bf<Uv.length;Bf++){var Ff=Uv[Bf],t3=Ff.toLowerCase(),n3=Ff[0].toUpperCase()+Ff.slice(1);jo(t3,"on"+n3)}jo(Tv,"onAnimationEnd"),jo(zv,"onAnimationIteration"),jo(Hv,"onAnimationStart"),jo("dblclick","onDoubleClick"),jo("focusin","onFocus"),jo("focusout","onBlur"),jo(qv,"onTransitionEnd"),g("onMouseEnter",["mouseout","mouseover"]),g("onMouseLeave",["mouseout","mouseover"]),g("onPointerEnter",["pointerout","pointerover"]),g("onPointerLeave",["pointerout","pointerover"]),f("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),f("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),f("onBeforeInput",["compositionend","keypress","textInput","paste"]),f("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),f("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),f("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Al="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),r3=new Set("cancel close invalid load scroll toggle".split(" ").concat(Al));function Vv(e,n,o){var s=e.type||"unknown-event";e.currentTarget=o,ro(s,n,void 0,e),e.currentTarget=null}function Qv(e,n){n=(n&4)!==0;for(var o=0;o<e.length;o++){var s=e[o],d=s.event;s=s.listeners;e:{var m=void 0;if(n)for(var E=s.length-1;0<=E;E--){var K=s[E],z=K.instance,G=K.currentTarget;if(K=K.listener,z!==m&&d.isPropagationStopped())break e;Vv(d,K,G),m=z}else for(E=0;E<s.length;E++){if(K=s[E],z=K.instance,G=K.currentTarget,K=K.listener,z!==m&&d.isPropagationStopped())break e;Vv(d,K,G),m=z}}}if(Wr)throw e=dr,Wr=!1,dr=null,e}function Vt(e,n){var o=n[Hf];o===void 0&&(o=n[Hf]=new Set);var s=e+"__bubble";o.has(s)||($v(n,e,2,!1),o.add(s))}function Pf(e,n,o){var s=0;n&&(s|=4),$v(o,e,s,n)}var cs="_reactListening"+Math.random().toString(36).slice(2);function Ul(e){if(!e[cs]){e[cs]=!0,a.forEach(function(o){o!=="selectionchange"&&(r3.has(o)||Pf(o,!1,e),Pf(o,!0,e))});var n=e.nodeType===9?e:e.ownerDocument;n===null||n[cs]||(n[cs]=!0,Pf("selectionchange",!1,n))}}function $v(e,n,o,s){switch(fa(n)){case 1:var d=Tr;break;case 4:d=ii;break;default:d=lo}o=d.bind(null,n,o,e),d=void 0,!bi||n!=="touchstart"&&n!=="touchmove"&&n!=="wheel"||(d=!0),s?d!==void 0?e.addEventListener(n,o,{capture:!0,passive:d}):e.addEventListener(n,o,!0):d!==void 0?e.addEventListener(n,o,{passive:d}):e.addEventListener(n,o,!1)}function Kf(e,n,o,s,d){var m=s;if(!(n&1)&&!(n&2)&&s!==null)e:for(;;){if(s===null)return;var E=s.tag;if(E===3||E===4){var K=s.stateNode.containerInfo;if(K===d||K.nodeType===8&&K.parentNode===d)break;if(E===4)for(E=s.return;E!==null;){var z=E.tag;if((z===3||z===4)&&(z=E.stateNode.containerInfo,z===d||z.nodeType===8&&z.parentNode===d))return;E=E.return}for(;K!==null;){if(E=va(K),E===null)return;if(z=E.tag,z===5||z===6){s=m=E;continue e}K=K.parentNode}}s=s.return}to(function(){var G=m,ce=sn(o),de=[];e:{var se=Av.get(e);if(se!==void 0){var Ne=br,Be=e;switch(e){case"keypress":if(wi(o)===0)break e;case"keydown":case"keyup":Ne=Ro;break;case"focusin":Be="focus",Ne=yn;break;case"focusout":Be="blur",Ne=yn;break;case"beforeblur":case"afterblur":Ne=yn;break;case"click":if(o.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":Ne=$n;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":Ne=Co;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":Ne=C;break;case Tv:case zv:case Hv:Ne=Bo;break;case qv:Ne=V;break;case"scroll":Ne=so;break;case"wheel":Ne=pe;break;case"copy":case"cut":case"paste":Ne=Fo;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":Ne=_}var Pe=(n&4)!==0,cn=!Pe&&e==="scroll",Q=Pe?se!==null?se+"Capture":null:se;Pe=[];for(var H=G,Z;H!==null;){Z=H;var ye=Z.stateNode;if(Z.tag===5&&ye!==null&&(Z=ye,Q!==null&&(ye=Gn(H,Q),ye!=null&&Pe.push(Vl(H,ye,Z)))),cn)break;H=H.return}0<Pe.length&&(se=new Ne(se,Be,null,o,ce),de.push({event:se,listeners:Pe}))}}if(!(n&7)){e:{if(se=e==="mouseover"||e==="pointerover",Ne=e==="mouseout"||e==="pointerout",se&&o!==yi&&(Be=o.relatedTarget||o.fromElement)&&(va(Be)||Be[po]))break e;if((Ne||se)&&(se=ce.window===ce?ce:(se=ce.ownerDocument)?se.defaultView||se.parentWindow:window,Ne?(Be=o.relatedTarget||o.toElement,Ne=G,Be=Be?va(Be):null,Be!==null&&(cn=er(Be),Be!==cn||Be.tag!==5&&Be.tag!==6)&&(Be=null)):(Ne=null,Be=G),Ne!==Be)){if(Pe=$n,ye="onMouseLeave",Q="onMouseEnter",H="mouse",(e==="pointerout"||e==="pointerover")&&(Pe=_,ye="onPointerLeave",Q="onPointerEnter",H="pointer"),cn=Ne==null?se:Ya(Ne),Z=Be==null?se:Ya(Be),se=new Pe(ye,H+"leave",Ne,o,ce),se.target=cn,se.relatedTarget=Z,ye=null,va(ce)===G&&(Pe=new Pe(Q,H+"enter",Be,o,ce),Pe.target=Z,Pe.relatedTarget=cn,ye=Pe),cn=ye,Ne&&Be)t:{for(Pe=Ne,Q=Be,H=0,Z=Pe;Z;Z=Za(Z))H++;for(Z=0,ye=Q;ye;ye=Za(ye))Z++;for(;0<H-Z;)Pe=Za(Pe),H--;for(;0<Z-H;)Q=Za(Q),Z--;for(;H--;){if(Pe===Q||Q!==null&&Pe===Q.alternate)break t;Pe=Za(Pe),Q=Za(Q)}Pe=null}else Pe=null;Ne!==null&&Xv(de,se,Ne,Pe,!1),Be!==null&&cn!==null&&Xv(de,cn,Be,Pe,!0)}}e:{if(se=G?Ya(G):window,Ne=se.nodeName&&se.nodeName.toLowerCase(),Ne==="select"||Ne==="input"&&se.type==="file")var Ke=l;else if(as(se))if(c)Ke=oe;else{Ke=ee;var Ve=A}else(Ne=se.nodeName)&&Ne.toLowerCase()==="input"&&(se.type==="checkbox"||se.type==="radio")&&(Ke=re);if(Ke&&(Ke=Ke(e,G))){Hl(de,Ke,o,ce);break e}Ve&&Ve(e,se,G),e==="focusout"&&(Ve=se._wrapperState)&&Ve.controlled&&se.type==="number"&&Et(se,"number",se.value)}switch(Ve=G?Ya(G):window,e){case"focusin":(as(Ve)||Ve.contentEditable==="true")&&($a=Ve,Mf=G,ql=null);break;case"focusout":ql=Mf=$a=null;break;case"mousedown":Lf=!0;break;case"contextmenu":case"mouseup":case"dragend":Lf=!1,Iv(de,o,ce);break;case"selectionchange":if(e3)break;case"keydown":case"keyup":Iv(de,o,ce)}var Qe;if(Xe)e:{switch(e){case"compositionstart":var et="onCompositionStart";break e;case"compositionend":et="onCompositionEnd";break e;case"compositionupdate":et="onCompositionUpdate";break e}et=void 0}else ui?li(e,o)&&(et="onCompositionEnd"):e==="keydown"&&o.keyCode===229&&(et="onCompositionStart");et&&(bn&&o.locale!=="ko"&&(ui||et!=="onCompositionStart"?et==="onCompositionEnd"&&ui&&(Qe=da()):(zr=ce,Ti="value"in zr?zr.value:zr.textContent,ui=!0)),Ve=fs(G,et),0<Ve.length&&(et=new Nt(et,e,null,o,ce),de.push({event:et,listeners:Ve}),Qe?et.data=Qe:(Qe=ha(o),Qe!==null&&(et.data=Qe)))),(Qe=Dt?Va(e,o):is(e,o))&&(G=fs(G,"onBeforeInput"),0<G.length&&(ce=new Nt("onBeforeInput","beforeinput",null,o,ce),de.push({event:ce,listeners:G}),ce.data=Qe))}Qv(de,n)})}function Vl(e,n,o){return{instance:e,listener:n,currentTarget:o}}function fs(e,n){for(var o=n+"Capture",s=[];e!==null;){var d=e,m=d.stateNode;d.tag===5&&m!==null&&(d=m,m=Gn(e,o),m!=null&&s.unshift(Vl(e,m,d)),m=Gn(e,n),m!=null&&s.push(Vl(e,m,d))),e=e.return}return s}function Za(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function Xv(e,n,o,s,d){for(var m=n._reactName,E=[];o!==null&&o!==s;){var K=o,z=K.alternate,G=K.stateNode;if(z!==null&&z===s)break;K.tag===5&&G!==null&&(K=G,d?(z=Gn(o,m),z!=null&&E.unshift(Vl(o,z,K))):d||(z=Gn(o,m),z!=null&&E.push(Vl(o,z,K)))),o=o.return}E.length!==0&&e.push({event:n,listeners:E})}var i3=/\r\n?/g,o3=/\u0000|\uFFFD/g;function Zv(e){return(typeof e=="string"?e:""+e).replace(i3,`
49
- `).replace(o3,"")}function ds(e,n,o){if(n=Zv(n),Zv(e)!==n&&o)throw Error(i(425))}function ps(){}var Rf=null,If=null;function jf(e,n){return e==="textarea"||e==="noscript"||typeof n.children=="string"||typeof n.children=="number"||typeof n.dangerouslySetInnerHTML=="object"&&n.dangerouslySetInnerHTML!==null&&n.dangerouslySetInnerHTML.__html!=null}var Tf=typeof setTimeout=="function"?setTimeout:void 0,a3=typeof clearTimeout=="function"?clearTimeout:void 0,Jv=typeof Promise=="function"?Promise:void 0,l3=typeof queueMicrotask=="function"?queueMicrotask:typeof Jv<"u"?function(e){return Jv.resolve(null).then(e).catch(u3)}:Tf;function u3(e){setTimeout(function(){throw e})}function zf(e,n){var o=n,s=0;do{var d=o.nextSibling;if(e.removeChild(o),d&&d.nodeType===8)if(o=d.data,o==="/$"){if(s===0){e.removeChild(d),Gt(n);return}s--}else o!=="$"&&o!=="$?"&&o!=="$!"||s++;o=d}while(o);Gt(n)}function To(e){for(;e!=null;e=e.nextSibling){var n=e.nodeType;if(n===1||n===3)break;if(n===8){if(n=e.data,n==="$"||n==="$!"||n==="$?")break;if(n==="/$")return null}}return e}function Yv(e){e=e.previousSibling;for(var n=0;e;){if(e.nodeType===8){var o=e.data;if(o==="$"||o==="$!"||o==="$?"){if(n===0)return e;n--}else o==="/$"&&n++}e=e.previousSibling}return null}var Ja=Math.random().toString(36).slice(2),Ui="__reactFiber$"+Ja,Ql="__reactProps$"+Ja,po="__reactContainer$"+Ja,Hf="__reactEvents$"+Ja,s3="__reactListeners$"+Ja,c3="__reactHandles$"+Ja;function va(e){var n=e[Ui];if(n)return n;for(var o=e.parentNode;o;){if(n=o[po]||o[Ui]){if(o=n.alternate,n.child!==null||o!==null&&o.child!==null)for(e=Yv(e);e!==null;){if(o=e[Ui])return o;e=Yv(e)}return n}e=o,o=e.parentNode}return null}function $l(e){return e=e[Ui]||e[po],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Ya(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(i(33))}function hs(e){return e[Ql]||null}var qf=[],Wa=-1;function zo(e){return{current:e}}function Qt(e){0>Wa||(e.current=qf[Wa],qf[Wa]=null,Wa--)}function qt(e,n){Wa++,qf[Wa]=e.current,e.current=n}var Ho={},Xn=zo(Ho),wr=zo(!1),ya=Ho;function Ga(e,n){var o=e.type.contextTypes;if(!o)return Ho;var s=e.stateNode;if(s&&s.__reactInternalMemoizedUnmaskedChildContext===n)return s.__reactInternalMemoizedMaskedChildContext;var d={},m;for(m in o)d[m]=n[m];return s&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=n,e.__reactInternalMemoizedMaskedChildContext=d),d}function Sr(e){return e=e.childContextTypes,e!=null}function ms(){Qt(wr),Qt(Xn)}function Wv(e,n,o){if(Xn.current!==Ho)throw Error(i(168));qt(Xn,n),qt(wr,o)}function Gv(e,n,o){var s=e.stateNode;if(n=n.childContextTypes,typeof s.getChildContext!="function")return o;s=s.getChildContext();for(var d in s)if(!(d in n))throw Error(i(108,dt(e)||"Unknown",d));return ae({},o,s)}function gs(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Ho,ya=Xn.current,qt(Xn,e),qt(wr,wr.current),!0}function ey(e,n,o){var s=e.stateNode;if(!s)throw Error(i(169));o?(e=Gv(e,n,ya),s.__reactInternalMemoizedMergedChildContext=e,Qt(wr),Qt(Xn),qt(Xn,e)):Qt(wr),qt(wr,o)}var ho=null,vs=!1,Af=!1;function ty(e){ho===null?ho=[e]:ho.push(e)}function f3(e){vs=!0,ty(e)}function qo(){if(!Af&&ho!==null){Af=!0;var e=0,n=be;try{var o=ho;for(be=1;e<o.length;e++){var s=o[e];do s=s(!0);while(s!==null)}ho=null,vs=!1}catch(d){throw ho!==null&&(ho=ho.slice(e+1)),tt(ei,qo),d}finally{be=n,Af=!1}}return null}var el=[],tl=0,ys=null,bs=0,si=[],ci=0,ba=null,mo=1,go="";function _a(e,n){el[tl++]=bs,el[tl++]=ys,ys=e,bs=n}function ny(e,n,o){si[ci++]=mo,si[ci++]=go,si[ci++]=ba,ba=e;var s=mo;e=go;var d=32-rn(s)-1;s&=~(1<<d),o+=1;var m=32-rn(n)+d;if(30<m){var E=d-d%5;m=(s&(1<<E)-1).toString(32),s>>=E,d-=E,mo=1<<32-rn(n)+d|o<<d|s,go=m+e}else mo=1<<m|o<<d|s,go=e}function Uf(e){e.return!==null&&(_a(e,1),ny(e,1,0))}function Vf(e){for(;e===ys;)ys=el[--tl],el[tl]=null,bs=el[--tl],el[tl]=null;for(;e===ba;)ba=si[--ci],si[ci]=null,go=si[--ci],si[ci]=null,mo=si[--ci],si[ci]=null}var Ar=null,Ur=null,Zt=!1,Si=null;function ry(e,n){var o=hi(5,null,null,0);o.elementType="DELETED",o.stateNode=n,o.return=e,n=e.deletions,n===null?(e.deletions=[o],e.flags|=16):n.push(o)}function iy(e,n){switch(e.tag){case 5:var o=e.type;return n=n.nodeType!==1||o.toLowerCase()!==n.nodeName.toLowerCase()?null:n,n!==null?(e.stateNode=n,Ar=e,Ur=To(n.firstChild),!0):!1;case 6:return n=e.pendingProps===""||n.nodeType!==3?null:n,n!==null?(e.stateNode=n,Ar=e,Ur=null,!0):!1;case 13:return n=n.nodeType!==8?null:n,n!==null?(o=ba!==null?{id:mo,overflow:go}:null,e.memoizedState={dehydrated:n,treeContext:o,retryLane:1073741824},o=hi(18,null,null,0),o.stateNode=n,o.return=e,e.child=o,Ar=e,Ur=null,!0):!1;default:return!1}}function Qf(e){return(e.mode&1)!==0&&(e.flags&128)===0}function $f(e){if(Zt){var n=Ur;if(n){var o=n;if(!iy(e,n)){if(Qf(e))throw Error(i(418));n=To(o.nextSibling);var s=Ar;n&&iy(e,n)?ry(s,o):(e.flags=e.flags&-4097|2,Zt=!1,Ar=e)}}else{if(Qf(e))throw Error(i(418));e.flags=e.flags&-4097|2,Zt=!1,Ar=e}}}function oy(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Ar=e}function _s(e){if(e!==Ar)return!1;if(!Zt)return oy(e),Zt=!0,!1;var n;if((n=e.tag!==3)&&!(n=e.tag!==5)&&(n=e.type,n=n!=="head"&&n!=="body"&&!jf(e.type,e.memoizedProps)),n&&(n=Ur)){if(Qf(e))throw ay(),Error(i(418));for(;n;)ry(e,n),n=To(n.nextSibling)}if(oy(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(i(317));e:{for(e=e.nextSibling,n=0;e;){if(e.nodeType===8){var o=e.data;if(o==="/$"){if(n===0){Ur=To(e.nextSibling);break e}n--}else o!=="$"&&o!=="$!"&&o!=="$?"||n++}e=e.nextSibling}Ur=null}}else Ur=Ar?To(e.stateNode.nextSibling):null;return!0}function ay(){for(var e=Ur;e;)e=To(e.nextSibling)}function nl(){Ur=Ar=null,Zt=!1}function Xf(e){Si===null?Si=[e]:Si.push(e)}var d3=J.ReactCurrentBatchConfig;function ki(e,n){if(e&&e.defaultProps){n=ae({},n),e=e.defaultProps;for(var o in e)n[o]===void 0&&(n[o]=e[o]);return n}return n}var ws=zo(null),Ss=null,rl=null,Zf=null;function Jf(){Zf=rl=Ss=null}function Yf(e){var n=ws.current;Qt(ws),e._currentValue=n}function Wf(e,n,o){for(;e!==null;){var s=e.alternate;if((e.childLanes&n)!==n?(e.childLanes|=n,s!==null&&(s.childLanes|=n)):s!==null&&(s.childLanes&n)!==n&&(s.childLanes|=n),e===o)break;e=e.return}}function il(e,n){Ss=e,Zf=rl=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&n&&(kr=!0),e.firstContext=null)}function fi(e){var n=e._currentValue;if(Zf!==e)if(e={context:e,memoizedValue:n,next:null},rl===null){if(Ss===null)throw Error(i(308));rl=e,Ss.dependencies={lanes:0,firstContext:e}}else rl=rl.next=e;return n}var wa=null;function Gf(e){wa===null?wa=[e]:wa.push(e)}function ly(e,n,o,s){var d=n.interleaved;return d===null?(o.next=o,Gf(n)):(o.next=d.next,d.next=o),n.interleaved=o,vo(e,s)}function vo(e,n){e.lanes|=n;var o=e.alternate;for(o!==null&&(o.lanes|=n),o=e,e=e.return;e!==null;)e.childLanes|=n,o=e.alternate,o!==null&&(o.childLanes|=n),o=e,e=e.return;return o.tag===3?o.stateNode:null}var Ao=!1;function ed(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function uy(e,n){e=e.updateQueue,n.updateQueue===e&&(n.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function yo(e,n){return{eventTime:e,lane:n,tag:0,payload:null,callback:null,next:null}}function Uo(e,n,o){var s=e.updateQueue;if(s===null)return null;if(s=s.shared,yt&2){var d=s.pending;return d===null?n.next=n:(n.next=d.next,d.next=n),s.pending=n,vo(e,o)}return d=s.interleaved,d===null?(n.next=n,Gf(s)):(n.next=d.next,d.next=n),s.interleaved=n,vo(e,o)}function ks(e,n,o){if(n=n.updateQueue,n!==null&&(n=n.shared,(o&4194240)!==0)){var s=n.lanes;s&=e.pendingLanes,o|=s,n.lanes=o,me(e,o)}}function sy(e,n){var o=e.updateQueue,s=e.alternate;if(s!==null&&(s=s.updateQueue,o===s)){var d=null,m=null;if(o=o.firstBaseUpdate,o!==null){do{var E={eventTime:o.eventTime,lane:o.lane,tag:o.tag,payload:o.payload,callback:o.callback,next:null};m===null?d=m=E:m=m.next=E,o=o.next}while(o!==null);m===null?d=m=n:m=m.next=n}else d=m=n;o={baseState:s.baseState,firstBaseUpdate:d,lastBaseUpdate:m,shared:s.shared,effects:s.effects},e.updateQueue=o;return}e=o.lastBaseUpdate,e===null?o.firstBaseUpdate=n:e.next=n,o.lastBaseUpdate=n}function xs(e,n,o,s){var d=e.updateQueue;Ao=!1;var m=d.firstBaseUpdate,E=d.lastBaseUpdate,K=d.shared.pending;if(K!==null){d.shared.pending=null;var z=K,G=z.next;z.next=null,E===null?m=G:E.next=G,E=z;var ce=e.alternate;ce!==null&&(ce=ce.updateQueue,K=ce.lastBaseUpdate,K!==E&&(K===null?ce.firstBaseUpdate=G:K.next=G,ce.lastBaseUpdate=z))}if(m!==null){var de=d.baseState;E=0,ce=G=z=null,K=m;do{var se=K.lane,Ne=K.eventTime;if((s&se)===se){ce!==null&&(ce=ce.next={eventTime:Ne,lane:0,tag:K.tag,payload:K.payload,callback:K.callback,next:null});e:{var Be=e,Pe=K;switch(se=n,Ne=o,Pe.tag){case 1:if(Be=Pe.payload,typeof Be=="function"){de=Be.call(Ne,de,se);break e}de=Be;break e;case 3:Be.flags=Be.flags&-65537|128;case 0:if(Be=Pe.payload,se=typeof Be=="function"?Be.call(Ne,de,se):Be,se==null)break e;de=ae({},de,se);break e;case 2:Ao=!0}}K.callback!==null&&K.lane!==0&&(e.flags|=64,se=d.effects,se===null?d.effects=[K]:se.push(K))}else Ne={eventTime:Ne,lane:se,tag:K.tag,payload:K.payload,callback:K.callback,next:null},ce===null?(G=ce=Ne,z=de):ce=ce.next=Ne,E|=se;if(K=K.next,K===null){if(K=d.shared.pending,K===null)break;se=K,K=se.next,se.next=null,d.lastBaseUpdate=se,d.shared.pending=null}}while(1);if(ce===null&&(z=de),d.baseState=z,d.firstBaseUpdate=G,d.lastBaseUpdate=ce,n=d.shared.interleaved,n!==null){d=n;do E|=d.lane,d=d.next;while(d!==n)}else m===null&&(d.shared.lanes=0);xa|=E,e.lanes=E,e.memoizedState=de}}function cy(e,n,o){if(e=n.effects,n.effects=null,e!==null)for(n=0;n<e.length;n++){var s=e[n],d=s.callback;if(d!==null){if(s.callback=null,s=o,typeof d!="function")throw Error(i(191,d));d.call(s)}}}var fy=new t.Component().refs;function td(e,n,o,s){n=e.memoizedState,o=o(s,n),o=o==null?n:ae({},n,o),e.memoizedState=o,e.lanes===0&&(e.updateQueue.baseState=o)}var Es={isMounted:function(e){return(e=e._reactInternals)?er(e)===e:!1},enqueueSetState:function(e,n,o){e=e._reactInternals;var s=or(),d=Xo(e),m=yo(s,d);m.payload=n,o!=null&&(m.callback=o),n=Uo(e,m,d),n!==null&&(Oi(n,e,d,s),ks(n,e,d))},enqueueReplaceState:function(e,n,o){e=e._reactInternals;var s=or(),d=Xo(e),m=yo(s,d);m.tag=1,m.payload=n,o!=null&&(m.callback=o),n=Uo(e,m,d),n!==null&&(Oi(n,e,d,s),ks(n,e,d))},enqueueForceUpdate:function(e,n){e=e._reactInternals;var o=or(),s=Xo(e),d=yo(o,s);d.tag=2,n!=null&&(d.callback=n),n=Uo(e,d,s),n!==null&&(Oi(n,e,s,o),ks(n,e,s))}};function dy(e,n,o,s,d,m,E){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(s,m,E):n.prototype&&n.prototype.isPureReactComponent?!Ze(o,s)||!Ze(d,m):!0}function py(e,n,o){var s=!1,d=Ho,m=n.contextType;return typeof m=="object"&&m!==null?m=fi(m):(d=Sr(n)?ya:Xn.current,s=n.contextTypes,m=(s=s!=null)?Ga(e,d):Ho),n=new n(o,m),e.memoizedState=n.state!==null&&n.state!==void 0?n.state:null,n.updater=Es,e.stateNode=n,n._reactInternals=e,s&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=d,e.__reactInternalMemoizedMaskedChildContext=m),n}function hy(e,n,o,s){e=n.state,typeof n.componentWillReceiveProps=="function"&&n.componentWillReceiveProps(o,s),typeof n.UNSAFE_componentWillReceiveProps=="function"&&n.UNSAFE_componentWillReceiveProps(o,s),n.state!==e&&Es.enqueueReplaceState(n,n.state,null)}function nd(e,n,o,s){var d=e.stateNode;d.props=o,d.state=e.memoizedState,d.refs=fy,ed(e);var m=n.contextType;typeof m=="object"&&m!==null?d.context=fi(m):(m=Sr(n)?ya:Xn.current,d.context=Ga(e,m)),d.state=e.memoizedState,m=n.getDerivedStateFromProps,typeof m=="function"&&(td(e,n,m,o),d.state=e.memoizedState),typeof n.getDerivedStateFromProps=="function"||typeof d.getSnapshotBeforeUpdate=="function"||typeof d.UNSAFE_componentWillMount!="function"&&typeof d.componentWillMount!="function"||(n=d.state,typeof d.componentWillMount=="function"&&d.componentWillMount(),typeof d.UNSAFE_componentWillMount=="function"&&d.UNSAFE_componentWillMount(),n!==d.state&&Es.enqueueReplaceState(d,d.state,null),xs(e,o,d,s),d.state=e.memoizedState),typeof d.componentDidMount=="function"&&(e.flags|=4194308)}function Xl(e,n,o){if(e=o.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(o._owner){if(o=o._owner,o){if(o.tag!==1)throw Error(i(309));var s=o.stateNode}if(!s)throw Error(i(147,e));var d=s,m=""+e;return n!==null&&n.ref!==null&&typeof n.ref=="function"&&n.ref._stringRef===m?n.ref:(n=function(E){var K=d.refs;K===fy&&(K=d.refs={}),E===null?delete K[m]:K[m]=E},n._stringRef=m,n)}if(typeof e!="string")throw Error(i(284));if(!o._owner)throw Error(i(290,e))}return e}function Os(e,n){throw e=Object.prototype.toString.call(n),Error(i(31,e==="[object Object]"?"object with keys {"+Object.keys(n).join(", ")+"}":e))}function my(e){var n=e._init;return n(e._payload)}function gy(e){function n(Q,H){if(e){var Z=Q.deletions;Z===null?(Q.deletions=[H],Q.flags|=16):Z.push(H)}}function o(Q,H){if(!e)return null;for(;H!==null;)n(Q,H),H=H.sibling;return null}function s(Q,H){for(Q=new Map;H!==null;)H.key!==null?Q.set(H.key,H):Q.set(H.index,H),H=H.sibling;return Q}function d(Q,H){return Q=Jo(Q,H),Q.index=0,Q.sibling=null,Q}function m(Q,H,Z){return Q.index=Z,e?(Z=Q.alternate,Z!==null?(Z=Z.index,Z<H?(Q.flags|=2,H):Z):(Q.flags|=2,H)):(Q.flags|=1048576,H)}function E(Q){return e&&Q.alternate===null&&(Q.flags|=2),Q}function K(Q,H,Z,ye){return H===null||H.tag!==6?(H=jd(Z,Q.mode,ye),H.return=Q,H):(H=d(H,Z),H.return=Q,H)}function z(Q,H,Z,ye){var Ke=Z.type;return Ke===_e?ce(Q,H,Z.props.children,ye,Z.key):H!==null&&(H.elementType===Ke||typeof Ke=="object"&&Ke!==null&&Ke.$$typeof===Ce&&my(Ke)===H.type)?(ye=d(H,Z.props),ye.ref=Xl(Q,H,Z),ye.return=Q,ye):(ye=Vs(Z.type,Z.key,Z.props,null,Q.mode,ye),ye.ref=Xl(Q,H,Z),ye.return=Q,ye)}function G(Q,H,Z,ye){return H===null||H.tag!==4||H.stateNode.containerInfo!==Z.containerInfo||H.stateNode.implementation!==Z.implementation?(H=Td(Z,Q.mode,ye),H.return=Q,H):(H=d(H,Z.children||[]),H.return=Q,H)}function ce(Q,H,Z,ye,Ke){return H===null||H.tag!==7?(H=Da(Z,Q.mode,ye,Ke),H.return=Q,H):(H=d(H,Z),H.return=Q,H)}function de(Q,H,Z){if(typeof H=="string"&&H!==""||typeof H=="number")return H=jd(""+H,Q.mode,Z),H.return=Q,H;if(typeof H=="object"&&H!==null){switch(H.$$typeof){case le:return Z=Vs(H.type,H.key,H.props,null,Q.mode,Z),Z.ref=Xl(Q,null,H),Z.return=Q,Z;case Se:return H=Td(H,Q.mode,Z),H.return=Q,H;case Ce:var ye=H._init;return de(Q,ye(H._payload),Z)}if(rt(H)||fe(H))return H=Da(H,Q.mode,Z,null),H.return=Q,H;Os(Q,H)}return null}function se(Q,H,Z,ye){var Ke=H!==null?H.key:null;if(typeof Z=="string"&&Z!==""||typeof Z=="number")return Ke!==null?null:K(Q,H,""+Z,ye);if(typeof Z=="object"&&Z!==null){switch(Z.$$typeof){case le:return Z.key===Ke?z(Q,H,Z,ye):null;case Se:return Z.key===Ke?G(Q,H,Z,ye):null;case Ce:return Ke=Z._init,se(Q,H,Ke(Z._payload),ye)}if(rt(Z)||fe(Z))return Ke!==null?null:ce(Q,H,Z,ye,null);Os(Q,Z)}return null}function Ne(Q,H,Z,ye,Ke){if(typeof ye=="string"&&ye!==""||typeof ye=="number")return Q=Q.get(Z)||null,K(H,Q,""+ye,Ke);if(typeof ye=="object"&&ye!==null){switch(ye.$$typeof){case le:return Q=Q.get(ye.key===null?Z:ye.key)||null,z(H,Q,ye,Ke);case Se:return Q=Q.get(ye.key===null?Z:ye.key)||null,G(H,Q,ye,Ke);case Ce:var Ve=ye._init;return Ne(Q,H,Z,Ve(ye._payload),Ke)}if(rt(ye)||fe(ye))return Q=Q.get(Z)||null,ce(H,Q,ye,Ke,null);Os(H,ye)}return null}function Be(Q,H,Z,ye){for(var Ke=null,Ve=null,Qe=H,et=H=0,Rn=null;Qe!==null&&et<Z.length;et++){Qe.index>et?(Rn=Qe,Qe=null):Rn=Qe.sibling;var bt=se(Q,Qe,Z[et],ye);if(bt===null){Qe===null&&(Qe=Rn);break}e&&Qe&&bt.alternate===null&&n(Q,Qe),H=m(bt,H,et),Ve===null?Ke=bt:Ve.sibling=bt,Ve=bt,Qe=Rn}if(et===Z.length)return o(Q,Qe),Zt&&_a(Q,et),Ke;if(Qe===null){for(;et<Z.length;et++)Qe=de(Q,Z[et],ye),Qe!==null&&(H=m(Qe,H,et),Ve===null?Ke=Qe:Ve.sibling=Qe,Ve=Qe);return Zt&&_a(Q,et),Ke}for(Qe=s(Q,Qe);et<Z.length;et++)Rn=Ne(Qe,Q,et,Z[et],ye),Rn!==null&&(e&&Rn.alternate!==null&&Qe.delete(Rn.key===null?et:Rn.key),H=m(Rn,H,et),Ve===null?Ke=Rn:Ve.sibling=Rn,Ve=Rn);return e&&Qe.forEach(function(Yo){return n(Q,Yo)}),Zt&&_a(Q,et),Ke}function Pe(Q,H,Z,ye){var Ke=fe(Z);if(typeof Ke!="function")throw Error(i(150));if(Z=Ke.call(Z),Z==null)throw Error(i(151));for(var Ve=Ke=null,Qe=H,et=H=0,Rn=null,bt=Z.next();Qe!==null&&!bt.done;et++,bt=Z.next()){Qe.index>et?(Rn=Qe,Qe=null):Rn=Qe.sibling;var Yo=se(Q,Qe,bt.value,ye);if(Yo===null){Qe===null&&(Qe=Rn);break}e&&Qe&&Yo.alternate===null&&n(Q,Qe),H=m(Yo,H,et),Ve===null?Ke=Yo:Ve.sibling=Yo,Ve=Yo,Qe=Rn}if(bt.done)return o(Q,Qe),Zt&&_a(Q,et),Ke;if(Qe===null){for(;!bt.done;et++,bt=Z.next())bt=de(Q,bt.value,ye),bt!==null&&(H=m(bt,H,et),Ve===null?Ke=bt:Ve.sibling=bt,Ve=bt);return Zt&&_a(Q,et),Ke}for(Qe=s(Q,Qe);!bt.done;et++,bt=Z.next())bt=Ne(Qe,Q,et,bt.value,ye),bt!==null&&(e&&bt.alternate!==null&&Qe.delete(bt.key===null?et:bt.key),H=m(bt,H,et),Ve===null?Ke=bt:Ve.sibling=bt,Ve=bt);return e&&Qe.forEach(function(V3){return n(Q,V3)}),Zt&&_a(Q,et),Ke}function cn(Q,H,Z,ye){if(typeof Z=="object"&&Z!==null&&Z.type===_e&&Z.key===null&&(Z=Z.props.children),typeof Z=="object"&&Z!==null){switch(Z.$$typeof){case le:e:{for(var Ke=Z.key,Ve=H;Ve!==null;){if(Ve.key===Ke){if(Ke=Z.type,Ke===_e){if(Ve.tag===7){o(Q,Ve.sibling),H=d(Ve,Z.props.children),H.return=Q,Q=H;break e}}else if(Ve.elementType===Ke||typeof Ke=="object"&&Ke!==null&&Ke.$$typeof===Ce&&my(Ke)===Ve.type){o(Q,Ve.sibling),H=d(Ve,Z.props),H.ref=Xl(Q,Ve,Z),H.return=Q,Q=H;break e}o(Q,Ve);break}else n(Q,Ve);Ve=Ve.sibling}Z.type===_e?(H=Da(Z.props.children,Q.mode,ye,Z.key),H.return=Q,Q=H):(ye=Vs(Z.type,Z.key,Z.props,null,Q.mode,ye),ye.ref=Xl(Q,H,Z),ye.return=Q,Q=ye)}return E(Q);case Se:e:{for(Ve=Z.key;H!==null;){if(H.key===Ve)if(H.tag===4&&H.stateNode.containerInfo===Z.containerInfo&&H.stateNode.implementation===Z.implementation){o(Q,H.sibling),H=d(H,Z.children||[]),H.return=Q,Q=H;break e}else{o(Q,H);break}else n(Q,H);H=H.sibling}H=Td(Z,Q.mode,ye),H.return=Q,Q=H}return E(Q);case Ce:return Ve=Z._init,cn(Q,H,Ve(Z._payload),ye)}if(rt(Z))return Be(Q,H,Z,ye);if(fe(Z))return Pe(Q,H,Z,ye);Os(Q,Z)}return typeof Z=="string"&&Z!==""||typeof Z=="number"?(Z=""+Z,H!==null&&H.tag===6?(o(Q,H.sibling),H=d(H,Z),H.return=Q,Q=H):(o(Q,H),H=jd(Z,Q.mode,ye),H.return=Q,Q=H),E(Q)):o(Q,H)}return cn}var ol=gy(!0),vy=gy(!1),Zl={},Vi=zo(Zl),Jl=zo(Zl),Yl=zo(Zl);function Sa(e){if(e===Zl)throw Error(i(174));return e}function rd(e,n){switch(qt(Yl,n),qt(Jl,e),qt(Vi,Zl),e=n.nodeType,e){case 9:case 11:n=(n=n.documentElement)?n.namespaceURI:Ge(null,"");break;default:e=e===8?n.parentNode:n,n=e.namespaceURI||null,e=e.tagName,n=Ge(n,e)}Qt(Vi),qt(Vi,n)}function al(){Qt(Vi),Qt(Jl),Qt(Yl)}function yy(e){Sa(Yl.current);var n=Sa(Vi.current),o=Ge(n,e.type);n!==o&&(qt(Jl,e),qt(Vi,o))}function id(e){Jl.current===e&&(Qt(Vi),Qt(Jl))}var tn=zo(0);function Ns(e){for(var n=e;n!==null;){if(n.tag===13){var o=n.memoizedState;if(o!==null&&(o=o.dehydrated,o===null||o.data==="$?"||o.data==="$!"))return n}else if(n.tag===19&&n.memoizedProps.revealOrder!==void 0){if(n.flags&128)return n}else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===e)break;for(;n.sibling===null;){if(n.return===null||n.return===e)return null;n=n.return}n.sibling.return=n.return,n=n.sibling}return null}var od=[];function ad(){for(var e=0;e<od.length;e++)od[e]._workInProgressVersionPrimary=null;od.length=0}var Ds=J.ReactCurrentDispatcher,ld=J.ReactCurrentBatchConfig,ka=0,nn=null,On=null,Pn=null,Ms=!1,Wl=!1,Gl=0,p3=0;function Zn(){throw Error(i(321))}function ud(e,n){if(n===null)return!1;for(var o=0;o<n.length&&o<e.length;o++)if(!Ee(e[o],n[o]))return!1;return!0}function sd(e,n,o,s,d,m){if(ka=m,nn=n,n.memoizedState=null,n.updateQueue=null,n.lanes=0,Ds.current=e===null||e.memoizedState===null?v3:y3,e=o(s,d),Wl){m=0;do{if(Wl=!1,Gl=0,25<=m)throw Error(i(301));m+=1,Pn=On=null,n.updateQueue=null,Ds.current=b3,e=o(s,d)}while(Wl)}if(Ds.current=Bs,n=On!==null&&On.next!==null,ka=0,Pn=On=nn=null,Ms=!1,n)throw Error(i(300));return e}function cd(){var e=Gl!==0;return Gl=0,e}function Qi(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Pn===null?nn.memoizedState=Pn=e:Pn=Pn.next=e,Pn}function di(){if(On===null){var e=nn.alternate;e=e!==null?e.memoizedState:null}else e=On.next;var n=Pn===null?nn.memoizedState:Pn.next;if(n!==null)Pn=n,On=e;else{if(e===null)throw Error(i(310));On=e,e={memoizedState:On.memoizedState,baseState:On.baseState,baseQueue:On.baseQueue,queue:On.queue,next:null},Pn===null?nn.memoizedState=Pn=e:Pn=Pn.next=e}return Pn}function eu(e,n){return typeof n=="function"?n(e):n}function fd(e){var n=di(),o=n.queue;if(o===null)throw Error(i(311));o.lastRenderedReducer=e;var s=On,d=s.baseQueue,m=o.pending;if(m!==null){if(d!==null){var E=d.next;d.next=m.next,m.next=E}s.baseQueue=d=m,o.pending=null}if(d!==null){m=d.next,s=s.baseState;var K=E=null,z=null,G=m;do{var ce=G.lane;if((ka&ce)===ce)z!==null&&(z=z.next={lane:0,action:G.action,hasEagerState:G.hasEagerState,eagerState:G.eagerState,next:null}),s=G.hasEagerState?G.eagerState:e(s,G.action);else{var de={lane:ce,action:G.action,hasEagerState:G.hasEagerState,eagerState:G.eagerState,next:null};z===null?(K=z=de,E=s):z=z.next=de,nn.lanes|=ce,xa|=ce}G=G.next}while(G!==null&&G!==m);z===null?E=s:z.next=K,Ee(s,n.memoizedState)||(kr=!0),n.memoizedState=s,n.baseState=E,n.baseQueue=z,o.lastRenderedState=s}if(e=o.interleaved,e!==null){d=e;do m=d.lane,nn.lanes|=m,xa|=m,d=d.next;while(d!==e)}else d===null&&(o.lanes=0);return[n.memoizedState,o.dispatch]}function dd(e){var n=di(),o=n.queue;if(o===null)throw Error(i(311));o.lastRenderedReducer=e;var s=o.dispatch,d=o.pending,m=n.memoizedState;if(d!==null){o.pending=null;var E=d=d.next;do m=e(m,E.action),E=E.next;while(E!==d);Ee(m,n.memoizedState)||(kr=!0),n.memoizedState=m,n.baseQueue===null&&(n.baseState=m),o.lastRenderedState=m}return[m,s]}function by(){}function _y(e,n){var o=nn,s=di(),d=n(),m=!Ee(s.memoizedState,d);if(m&&(s.memoizedState=d,kr=!0),s=s.queue,pd(ky.bind(null,o,s,e),[e]),s.getSnapshot!==n||m||Pn!==null&&Pn.memoizedState.tag&1){if(o.flags|=2048,tu(9,Sy.bind(null,o,s,d,n),void 0,null),Kn===null)throw Error(i(349));ka&30||wy(o,n,d)}return d}function wy(e,n,o){e.flags|=16384,e={getSnapshot:n,value:o},n=nn.updateQueue,n===null?(n={lastEffect:null,stores:null},nn.updateQueue=n,n.stores=[e]):(o=n.stores,o===null?n.stores=[e]:o.push(e))}function Sy(e,n,o,s){n.value=o,n.getSnapshot=s,xy(n)&&Ey(e)}function ky(e,n,o){return o(function(){xy(n)&&Ey(e)})}function xy(e){var n=e.getSnapshot;e=e.value;try{var o=n();return!Ee(e,o)}catch{return!0}}function Ey(e){var n=vo(e,1);n!==null&&Oi(n,e,1,-1)}function Oy(e){var n=Qi();return typeof e=="function"&&(e=e()),n.memoizedState=n.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:eu,lastRenderedState:e},n.queue=e,e=e.dispatch=g3.bind(null,nn,e),[n.memoizedState,e]}function tu(e,n,o,s){return e={tag:e,create:n,destroy:o,deps:s,next:null},n=nn.updateQueue,n===null?(n={lastEffect:null,stores:null},nn.updateQueue=n,n.lastEffect=e.next=e):(o=n.lastEffect,o===null?n.lastEffect=e.next=e:(s=o.next,o.next=e,e.next=s,n.lastEffect=e)),e}function Ny(){return di().memoizedState}function Ls(e,n,o,s){var d=Qi();nn.flags|=e,d.memoizedState=tu(1|n,o,void 0,s===void 0?null:s)}function Cs(e,n,o,s){var d=di();s=s===void 0?null:s;var m=void 0;if(On!==null){var E=On.memoizedState;if(m=E.destroy,s!==null&&ud(s,E.deps)){d.memoizedState=tu(n,o,m,s);return}}nn.flags|=e,d.memoizedState=tu(1|n,o,m,s)}function Dy(e,n){return Ls(8390656,8,e,n)}function pd(e,n){return Cs(2048,8,e,n)}function My(e,n){return Cs(4,2,e,n)}function Ly(e,n){return Cs(4,4,e,n)}function Cy(e,n){if(typeof n=="function")return e=e(),n(e),function(){n(null)};if(n!=null)return e=e(),n.current=e,function(){n.current=null}}function By(e,n,o){return o=o!=null?o.concat([e]):null,Cs(4,4,Cy.bind(null,n,e),o)}function hd(){}function Fy(e,n){var o=di();n=n===void 0?null:n;var s=o.memoizedState;return s!==null&&n!==null&&ud(n,s[1])?s[0]:(o.memoizedState=[e,n],e)}function Py(e,n){var o=di();n=n===void 0?null:n;var s=o.memoizedState;return s!==null&&n!==null&&ud(n,s[1])?s[0]:(e=e(),o.memoizedState=[e,n],e)}function Ky(e,n,o){return ka&21?(Ee(o,n)||(o=B(),nn.lanes|=o,xa|=o,e.baseState=!0),n):(e.baseState&&(e.baseState=!1,kr=!0),e.memoizedState=o)}function h3(e,n){var o=be;be=o!==0&&4>o?o:4,e(!0);var s=ld.transition;ld.transition={};try{e(!1),n()}finally{be=o,ld.transition=s}}function Ry(){return di().memoizedState}function m3(e,n,o){var s=Xo(e);if(o={lane:s,action:o,hasEagerState:!1,eagerState:null,next:null},Iy(e))jy(n,o);else if(o=ly(e,n,o,s),o!==null){var d=or();Oi(o,e,s,d),Ty(o,n,s)}}function g3(e,n,o){var s=Xo(e),d={lane:s,action:o,hasEagerState:!1,eagerState:null,next:null};if(Iy(e))jy(n,d);else{var m=e.alternate;if(e.lanes===0&&(m===null||m.lanes===0)&&(m=n.lastRenderedReducer,m!==null))try{var E=n.lastRenderedState,K=m(E,o);if(d.hasEagerState=!0,d.eagerState=K,Ee(K,E)){var z=n.interleaved;z===null?(d.next=d,Gf(n)):(d.next=z.next,z.next=d),n.interleaved=d;return}}catch{}finally{}o=ly(e,n,d,s),o!==null&&(d=or(),Oi(o,e,s,d),Ty(o,n,s))}}function Iy(e){var n=e.alternate;return e===nn||n!==null&&n===nn}function jy(e,n){Wl=Ms=!0;var o=e.pending;o===null?n.next=n:(n.next=o.next,o.next=n),e.pending=n}function Ty(e,n,o){if(o&4194240){var s=n.lanes;s&=e.pendingLanes,o|=s,n.lanes=o,me(e,o)}}var Bs={readContext:fi,useCallback:Zn,useContext:Zn,useEffect:Zn,useImperativeHandle:Zn,useInsertionEffect:Zn,useLayoutEffect:Zn,useMemo:Zn,useReducer:Zn,useRef:Zn,useState:Zn,useDebugValue:Zn,useDeferredValue:Zn,useTransition:Zn,useMutableSource:Zn,useSyncExternalStore:Zn,useId:Zn,unstable_isNewReconciler:!1},v3={readContext:fi,useCallback:function(e,n){return Qi().memoizedState=[e,n===void 0?null:n],e},useContext:fi,useEffect:Dy,useImperativeHandle:function(e,n,o){return o=o!=null?o.concat([e]):null,Ls(4194308,4,Cy.bind(null,n,e),o)},useLayoutEffect:function(e,n){return Ls(4194308,4,e,n)},useInsertionEffect:function(e,n){return Ls(4,2,e,n)},useMemo:function(e,n){var o=Qi();return n=n===void 0?null:n,e=e(),o.memoizedState=[e,n],e},useReducer:function(e,n,o){var s=Qi();return n=o!==void 0?o(n):n,s.memoizedState=s.baseState=n,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:n},s.queue=e,e=e.dispatch=m3.bind(null,nn,e),[s.memoizedState,e]},useRef:function(e){var n=Qi();return e={current:e},n.memoizedState=e},useState:Oy,useDebugValue:hd,useDeferredValue:function(e){return Qi().memoizedState=e},useTransition:function(){var e=Oy(!1),n=e[0];return e=h3.bind(null,e[1]),Qi().memoizedState=e,[n,e]},useMutableSource:function(){},useSyncExternalStore:function(e,n,o){var s=nn,d=Qi();if(Zt){if(o===void 0)throw Error(i(407));o=o()}else{if(o=n(),Kn===null)throw Error(i(349));ka&30||wy(s,n,o)}d.memoizedState=o;var m={value:o,getSnapshot:n};return d.queue=m,Dy(ky.bind(null,s,m,e),[e]),s.flags|=2048,tu(9,Sy.bind(null,s,m,o,n),void 0,null),o},useId:function(){var e=Qi(),n=Kn.identifierPrefix;if(Zt){var o=go,s=mo;o=(s&~(1<<32-rn(s)-1)).toString(32)+o,n=":"+n+"R"+o,o=Gl++,0<o&&(n+="H"+o.toString(32)),n+=":"}else o=p3++,n=":"+n+"r"+o.toString(32)+":";return e.memoizedState=n},unstable_isNewReconciler:!1},y3={readContext:fi,useCallback:Fy,useContext:fi,useEffect:pd,useImperativeHandle:By,useInsertionEffect:My,useLayoutEffect:Ly,useMemo:Py,useReducer:fd,useRef:Ny,useState:function(){return fd(eu)},useDebugValue:hd,useDeferredValue:function(e){var n=di();return Ky(n,On.memoizedState,e)},useTransition:function(){var e=fd(eu)[0],n=di().memoizedState;return[e,n]},useMutableSource:by,useSyncExternalStore:_y,useId:Ry,unstable_isNewReconciler:!1},b3={readContext:fi,useCallback:Fy,useContext:fi,useEffect:pd,useImperativeHandle:By,useInsertionEffect:My,useLayoutEffect:Ly,useMemo:Py,useReducer:dd,useRef:Ny,useState:function(){return dd(eu)},useDebugValue:hd,useDeferredValue:function(e){var n=di();return On===null?n.memoizedState=e:Ky(n,On.memoizedState,e)},useTransition:function(){var e=dd(eu)[0],n=di().memoizedState;return[e,n]},useMutableSource:by,useSyncExternalStore:_y,useId:Ry,unstable_isNewReconciler:!1};function ll(e,n){try{var o="",s=n;do o+=Ae(s),s=s.return;while(s);var d=o}catch(m){d=`
47
+ `),k=d.length-1,I=m.length-1;1<=k&&0<=I&&d[k]!==m[I];)I--;for(;1<=k&&0<=I;k--,I--)if(d[k]!==m[I]){if(k!==1||I!==1)do if(k--,I--,0>I||d[k]!==m[I]){var H=`
48
+ `+d[k].replace(" at new "," at ");return e.displayName&&H.includes("<anonymous>")&&(H=H.replace("<anonymous>",e.displayName)),H}while(1<=k&&0<=I);break}}}finally{Et=!1,Error.prepareStackTrace=o}return(e=e?e.displayName||e.name:"")?Je(e):""}function qe(e){switch(e.tag){case 5:return Je(e.type);case 16:return Je("Lazy");case 13:return Je("Suspense");case 19:return Je("SuspenseList");case 0:case 2:case 15:return e=Ct(e.type,!1),e;case 11:return e=Ct(e.type.render,!1),e;case 1:return e=Ct(e.type,!0),e;default:return""}}function Te(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case _e:return"Fragment";case Se:return"Portal";case ve:return"Profiler";case Ie:return"StrictMode";case ge:return"Suspense";case De:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case we:return(e.displayName||"Context")+".Consumer";case xe:return(e._context.displayName||"Context")+".Provider";case he:var n=e.render;return e=e.displayName,e||(e=n.displayName||n.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case je:return n=e.displayName||null,n!==null?n:Te(e.type)||"Memo";case Ce:n=e._payload,e=e._init;try{return Te(e(n))}catch{}}return null}function dt(e){var n=e.type;switch(e.tag){case 24:return"Cache";case 9:return(n.displayName||"Context")+".Consumer";case 10:return(n._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=n.render,e=e.displayName||e.name||"",n.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return n;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Te(n);case 8:return n===Ie?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n}return null}function Rt(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function It(e){var n=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(n==="checkbox"||n==="radio")}function Ft(e){var n=It(e)?"checked":"value",o=Object.getOwnPropertyDescriptor(e.constructor.prototype,n),s=""+e[n];if(!e.hasOwnProperty(n)&&typeof o<"u"&&typeof o.get=="function"&&typeof o.set=="function"){var d=o.get,m=o.set;return Object.defineProperty(e,n,{configurable:!0,get:function(){return d.call(this)},set:function(k){s=""+k,m.call(this,k)}}),Object.defineProperty(e,n,{enumerable:o.enumerable}),{getValue:function(){return s},setValue:function(k){s=""+k},stopTracking:function(){e._valueTracker=null,delete e[n]}}}}function kt(e){e._valueTracker||(e._valueTracker=Ft(e))}function en(e){if(!e)return!1;var n=e._valueTracker;if(!n)return!0;var o=n.getValue(),s="";return e&&(s=It(e)?e.checked?"true":"false":e.value),e=s,e!==o?(n.setValue(e),!0):!1}function Xe(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function st(e,n){var o=n.checked;return ae({},n,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:o??e._wrapperState.initialChecked})}function ut(e,n){var o=n.defaultValue==null?"":n.defaultValue,s=n.checked!=null?n.checked:n.defaultChecked;o=Rt(n.value!=null?n.value:o),e._wrapperState={initialChecked:s,initialValue:o,controlled:n.type==="checkbox"||n.type==="radio"?n.checked!=null:n.value!=null}}function Pt(e,n){n=n.checked,n!=null&&W(e,"checked",n,!1)}function hn(e,n){Pt(e,n);var o=Rt(n.value),s=n.type;if(o!=null)s==="number"?(o===0&&e.value===""||e.value!=o)&&(e.value=""+o):e.value!==""+o&&(e.value=""+o);else if(s==="submit"||s==="reset"){e.removeAttribute("value");return}n.hasOwnProperty("value")?Nt(e,n.type,o):n.hasOwnProperty("defaultValue")&&Nt(e,n.type,Rt(n.defaultValue)),n.checked==null&&n.defaultChecked!=null&&(e.defaultChecked=!!n.defaultChecked)}function Bt(e,n,o){if(n.hasOwnProperty("value")||n.hasOwnProperty("defaultValue")){var s=n.type;if(!(s!=="submit"&&s!=="reset"||n.value!==void 0&&n.value!==null))return;n=""+e._wrapperState.initialValue,o||n===e.value||(e.value=n),e.defaultValue=n}o=e.name,o!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,o!==""&&(e.name=o)}function Nt(e,n,o){(n!=="number"||Xe(e.ownerDocument)!==e)&&(o==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+o&&(e.defaultValue=""+o))}var rt=Array.isArray;function pt(e,n,o,s){if(e=e.options,n){n={};for(var d=0;d<o.length;d++)n["$"+o[d]]=!0;for(o=0;o<e.length;o++)d=n.hasOwnProperty("$"+e[o].value),e[o].selected!==d&&(e[o].selected=d),d&&s&&(e[o].defaultSelected=!0)}else{for(o=""+Rt(o),n=null,d=0;d<e.length;d++){if(e[d].value===o){e[d].selected=!0,s&&(e[d].defaultSelected=!0);return}n!==null||e[d].disabled||(n=e[d])}n!==null&&(n.selected=!0)}}function Kt(e,n){if(n.dangerouslySetInnerHTML!=null)throw Error(i(91));return ae({},n,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Fe(e,n){var o=n.value;if(o==null){if(o=n.children,n=n.defaultValue,o!=null){if(n!=null)throw Error(i(92));if(rt(o)){if(1<o.length)throw Error(i(93));o=o[0]}n=o}n==null&&(n=""),o=n}e._wrapperState={initialValue:Rt(o)}}function nt(e,n){var o=Rt(n.value),s=Rt(n.defaultValue);o!=null&&(o=""+o,o!==e.value&&(e.value=o),n.defaultValue==null&&e.defaultValue!==o&&(e.defaultValue=o)),s!=null&&(e.defaultValue=""+s)}function Ye(e){var n=e.textContent;n===e._wrapperState.initialValue&&n!==""&&n!==null&&(e.value=n)}function ht(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 Ge(e,n){return e==null||e==="http://www.w3.org/1999/xhtml"?ht(n):e==="http://www.w3.org/2000/svg"&&n==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Sn,ct=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(n,o,s,d){MSApp.execUnsafeLocalFunction(function(){return e(n,o,s,d)})}:e}(function(e,n){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=n;else{for(Sn=Sn||document.createElement("div"),Sn.innerHTML="<svg>"+n.valueOf().toString()+"</svg>",n=Sn.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;n.firstChild;)e.appendChild(n.firstChild)}});function xn(e,n){if(n){var o=e.firstChild;if(o&&o===e.lastChild&&o.nodeType===3){o.nodeValue=n;return}}e.textContent=n}var tn={animationIterationCount:!0,aspectRatio:!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},pr=["Webkit","ms","Moz","O"];Object.keys(tn).forEach(function(e){pr.forEach(function(n){n=n+e.charAt(0).toUpperCase()+e.substring(1),tn[n]=tn[e]})});function Vn(e,n,o){return n==null||typeof n=="boolean"||n===""?"":o||typeof n!="number"||n===0||tn.hasOwnProperty(e)&&tn[e]?(""+n).trim():n+"px"}function ro(e,n){e=e.style;for(var o in n)if(n.hasOwnProperty(o)){var s=o.indexOf("--")===0,d=Vn(o,n[o],s);o==="float"&&(o="cssFloat"),s?e.setProperty(o,d):e[o]=d}}var jt=ae({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 _i(e,n){if(n){if(jt[e]&&(n.children!=null||n.dangerouslySetInnerHTML!=null))throw Error(i(137,e));if(n.dangerouslySetInnerHTML!=null){if(n.children!=null)throw Error(i(60));if(typeof n.dangerouslySetInnerHTML!="object"||!("__html"in n.dangerouslySetInnerHTML))throw Error(i(61))}if(n.style!=null&&typeof n.style!="object")throw Error(i(62))}}function Jt(e,n){if(e.indexOf("-")===-1)return typeof n.is=="string";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}}var wi=null;function fn(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var qt=null,zn=null,it=null;function Qn(e){if(e=nu(e)){if(typeof qt!="function")throw Error(i(280));var n=e.stateNode;n&&(n=xs(n),qt(e.stateNode,e.type,n))}}function Xn(e){zn?it?it.push(e):it=[e]:zn=e}function er(){if(zn){var e=zn,n=it;if(it=zn=null,Qn(e),n)for(e=0;e<n.length;e++)Qn(n[e])}}function En(e,n){return e(n)}function Mr(){}var Tt=!1;function io(e,n,o){if(Tt)return e(n,o);Tt=!0;try{return En(e,n,o)}finally{Tt=!1,(zn!==null||it!==null)&&(Mr(),er())}}function tr(e,n){var o=e.stateNode;if(o===null)return null;var s=xs(o);if(s===null)return null;o=s[n];e:switch(n){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(s=!s.disabled)||(e=e.type,s=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!s;break e;default:e=!1}if(e)return null;if(o&&typeof o!="function")throw Error(i(231,n,typeof o));return o}var Si=!1;if(y)try{var Lr={};Object.defineProperty(Lr,"passive",{get:function(){Si=!0}}),window.addEventListener("test",Lr,Lr),window.removeEventListener("test",Lr,Lr)}catch{Si=!1}function oo(e,n,o,s,d,m,k,I,H){var ee=Array.prototype.slice.call(arguments,3);try{n.apply(o,ee)}catch(ce){this.onError(ce)}}var Gr=!1,ei=null,ti=!1,hr=null,mr={onError:function(e){Gr=!0,ei=e}};function ji(e,n,o,s,d,m,k,I,H){Gr=!1,ei=null,oo.apply(mr,arguments)}function ao(e,n,o,s,d,m,k,I,H){if(ji.apply(this,arguments),Gr){if(Gr){var ee=ei;Gr=!1,ei=null}else throw Error(i(198));ti||(ti=!0,hr=ee)}}function nr(e){var n=e,o=e;if(e.alternate)for(;n.return;)n=n.return;else{e=n;do n=e,n.flags&4098&&(o=n.return),e=n.return;while(e)}return n.tag===3?o:null}function gr(e){if(e.tag===13){var n=e.memoizedState;if(n===null&&(e=e.alternate,e!==null&&(n=e.memoizedState)),n!==null)return n.dehydrated}return null}function mn(e){if(nr(e)!==e)throw Error(i(188))}function at(e){var n=e.alternate;if(!n){if(n=nr(e),n===null)throw Error(i(188));return n!==e?null:e}for(var o=e,s=n;;){var d=o.return;if(d===null)break;var m=d.alternate;if(m===null){if(s=d.return,s!==null){o=s;continue}break}if(d.child===m.child){for(m=d.child;m;){if(m===o)return mn(d),e;if(m===s)return mn(d),n;m=m.sibling}throw Error(i(188))}if(o.return!==s.return)o=d,s=m;else{for(var k=!1,I=d.child;I;){if(I===o){k=!0,o=d,s=m;break}if(I===s){k=!0,s=d,o=m;break}I=I.sibling}if(!k){for(I=m.child;I;){if(I===o){k=!0,o=m,s=d;break}if(I===s){k=!0,s=m,o=d;break}I=I.sibling}if(!k)throw Error(i(189))}}if(o.alternate!==s)throw Error(i(190))}if(o.tag!==3)throw Error(i(188));return o.stateNode.current===o?e:n}function Cr(e){return e=at(e),e!==null?Br(e):null}function Br(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var n=Br(e);if(n!==null)return n;e=e.sibling}return null}var tt=r.unstable_scheduleCallback,Fr=r.unstable_cancelCallback,Pr=r.unstable_shouldYield,ni=r.unstable_requestPaint,vt=r.unstable_now,zt=r.unstable_getCurrentPriorityLevel,ri=r.unstable_ImmediatePriority,ii=r.unstable_UserBlockingPriority,Kr=r.unstable_NormalPriority,Ti=r.unstable_LowPriority,vr=r.unstable_IdlePriority,Wt=null,Bn=null;function Rr(e){if(Bn&&typeof Bn.onCommitFiberRoot=="function")try{Bn.onCommitFiberRoot(Wt,e,void 0,(e.current.flags&128)===128)}catch{}}var un=Math.clz32?Math.clz32:uo,xi=Math.log,lo=Math.LN2;function uo(e){return e>>>=0,e===0?32:31-(xi(e)/lo|0)|0}var Ir=64,yr=4194304;function jr(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Tr(e,n){var o=e.pendingLanes;if(o===0)return 0;var s=0,d=e.suspendedLanes,m=e.pingedLanes,k=o&268435455;if(k!==0){var I=k&~d;I!==0?s=jr(I):(m&=k,m!==0&&(s=jr(m)))}else k=o&~d,k!==0?s=jr(k):m!==0&&(s=jr(m));if(s===0)return 0;if(n!==0&&n!==s&&!(n&d)&&(d=s&-s,m=n&-n,d>=m||d===16&&(m&4194240)!==0))return n;if(s&4&&(s|=o&16),n=e.entangledLanes,n!==0)for(e=e.entanglements,n&=s;0<n;)o=31-un(n),d=1<<o,s|=e[o],n&=~d;return s}function p(e,n){switch(e){case 1:case 2:case 4:return n+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return n+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function S(e,n){for(var o=e.suspendedLanes,s=e.pingedLanes,d=e.expirationTimes,m=e.pendingLanes;0<m;){var k=31-un(m),I=1<<k,H=d[k];H===-1?(!(I&o)||I&s)&&(d[k]=p(I,n)):H<=n&&(e.expiredLanes|=I),m&=~I}}function O(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function B(){var e=Ir;return Ir<<=1,!(Ir&4194240)&&(Ir=64),e}function X(e){for(var n=[],o=0;31>o;o++)n.push(e);return n}function U(e,n,o){e.pendingLanes|=n,n!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,n=31-un(n),e[n]=o}function ie(e,n){var o=e.pendingLanes&~n;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=n,e.mutableReadLanes&=n,e.entangledLanes&=n,n=e.entanglements;var s=e.eventTimes;for(e=e.expirationTimes;0<o;){var d=31-un(o),m=1<<d;n[d]=0,s[d]=-1,e[d]=-1,o&=~m}}function me(e,n){var o=e.entangledLanes|=n;for(e=e.entanglements;o;){var s=31-un(o),d=1<<s;d&n|e[s]&n&&(e[s]|=n),o&=~d}}var be=0;function Ee(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var We,St,Ot,nn,sn,br=!1,gn=[],Hn=null,vn=null,rr=null,Fn=new Map,An=new Map,zr=[],oi="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 so(e,n){switch(e){case"focusin":case"focusout":Hn=null;break;case"dragenter":case"dragleave":vn=null;break;case"mouseover":case"mouseout":rr=null;break;case"pointerover":case"pointerout":Fn.delete(n.pointerId);break;case"gotpointercapture":case"lostpointercapture":An.delete(n.pointerId)}}function Hr(e,n,o,s,d,m){return e===null||e.nativeEvent!==m?(e={blockedOn:n,domEventName:o,eventSystemFlags:s,nativeEvent:m,targetContainers:[d]},n!==null&&(n=nu(n),n!==null&&St(n)),e):(e.eventSystemFlags|=s,n=e.targetContainers,d!==null&&n.indexOf(d)===-1&&n.push(d),e)}function Xt(e,n,o,s,d){switch(n){case"focusin":return Hn=Hr(Hn,e,n,o,s,d),!0;case"dragenter":return vn=Hr(vn,e,n,o,s,d),!0;case"mouseover":return rr=Hr(rr,e,n,o,s,d),!0;case"pointerover":var m=d.pointerId;return Fn.set(m,Hr(Fn.get(m)||null,e,n,o,s,d)),!0;case"gotpointercapture":return m=d.pointerId,An.set(m,Hr(An.get(m)||null,e,n,o,s,d)),!0}return!1}function ir(e){var n=wa(e.target);if(n!==null){var o=nr(n);if(o!==null){if(n=o.tag,n===13){if(n=gr(o),n!==null){e.blockedOn=n,sn(e.priority,function(){Ot(o)});return}}else if(n===3&&o.stateNode.current.memoizedState.isDehydrated){e.blockedOn=o.tag===3?o.stateNode.containerInfo:null;return}}}e.blockedOn=null}function ai(e){if(e.blockedOn!==null)return!1;for(var n=e.targetContainers;0<n.length;){var o=Hi(e.domEventName,e.eventSystemFlags,n[0],e.nativeEvent);if(o===null){o=e.nativeEvent;var s=new o.constructor(o.type,o);wi=s,o.target.dispatchEvent(s),wi=null}else return n=nu(o),n!==null&&St(n),e.blockedOn=o,!1;n.shift()}return!0}function zi(e,n,o){ai(e)&&o.delete(n)}function yt(){br=!1,Hn!==null&&ai(Hn)&&(Hn=null),vn!==null&&ai(vn)&&(vn=null),rr!==null&&ai(rr)&&(rr=null),Fn.forEach(zi),An.forEach(zi)}function _r(e,n){e.blockedOn===n&&(e.blockedOn=null,br||(br=!0,r.unstable_scheduleCallback(r.unstable_NormalPriority,yt)))}function rn(e){function n(d){return _r(d,e)}if(0<gn.length){_r(gn[0],e);for(var o=1;o<gn.length;o++){var s=gn[o];s.blockedOn===e&&(s.blockedOn=null)}}for(Hn!==null&&_r(Hn,e),vn!==null&&_r(vn,e),rr!==null&&_r(rr,e),Fn.forEach(n),An.forEach(n),o=0;o<zr.length;o++)s=zr[o],s.blockedOn===e&&(s.blockedOn=null);for(;0<zr.length&&(o=zr[0],o.blockedOn===null);)ir(o),o.blockedOn===null&&zr.shift()}var kn=J.ReactCurrentBatchConfig,yn=!0;function Ar(e,n,o,s){var d=be,m=kn.transition;kn.transition=null;try{be=1,co(e,n,o,s)}finally{be=d,kn.transition=m}}function li(e,n,o,s){var d=be,m=kn.transition;kn.transition=null;try{be=4,co(e,n,o,s)}finally{be=d,kn.transition=m}}function co(e,n,o,s){if(yn){var d=Hi(e,n,o,s);if(d===null)Jf(e,n,s,ui,o),so(e,s);else if(Xt(d,e,n,o,s))s.stopPropagation();else if(so(e,s),n&4&&-1<oi.indexOf(e)){for(;d!==null;){var m=nu(d);if(m!==null&&We(m),m=Hi(e,n,o,s),m===null&&Jf(e,n,s,ui,o),m===d)break;d=m}d!==null&&s.stopPropagation()}else Jf(e,n,s,null,o)}}var ui=null;function Hi(e,n,o,s){if(ui=null,e=fn(s),e=wa(e),e!==null)if(n=nr(e),n===null)e=null;else if(o=n.tag,o===13){if(e=gr(n),e!==null)return e;e=null}else if(o===3){if(n.stateNode.current.memoizedState.isDehydrated)return n.tag===3?n.stateNode.containerInfo:null;e=null}else n!==e&&(e=null);return ui=e,null}function ma(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(zt()){case ri:return 1;case ii:return 4;case Kr:case Ti:return 16;case vr:return 536870912;default:return 16}default:return 16}}var qr=null,Ai=null,Po=null;function ga(){if(Po)return Po;var e,n=Ai,o=n.length,s,d="value"in qr?qr.value:qr.textContent,m=d.length;for(e=0;e<o&&n[e]===d[e];e++);var k=o-e;for(s=1;s<=k&&n[o-s]===d[m-s];s++);return Po=d.slice(e,1<s?1-s:void 0)}function Ei(e){var n=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&n===13&&(e=13)):e=n,e===10&&(e=13),32<=e||e===13?e:0}function qi(){return!0}function fo(){return!1}function Nn(e){function n(o,s,d,m,k){this._reactName=o,this._targetInst=d,this.type=s,this.nativeEvent=m,this.target=k,this.currentTarget=null;for(var I in e)e.hasOwnProperty(I)&&(o=e[I],this[I]=o?o(m):m[I]);return this.isDefaultPrevented=(m.defaultPrevented!=null?m.defaultPrevented:m.returnValue===!1)?qi:fo,this.isPropagationStopped=fo,this}return ae(n.prototype,{preventDefault:function(){this.defaultPrevented=!0;var o=this.nativeEvent;o&&(o.preventDefault?o.preventDefault():typeof o.returnValue!="unknown"&&(o.returnValue=!1),this.isDefaultPrevented=qi)},stopPropagation:function(){var o=this.nativeEvent;o&&(o.stopPropagation?o.stopPropagation():typeof o.cancelBubble!="unknown"&&(o.cancelBubble=!0),this.isPropagationStopped=qi)},persist:function(){},isPersistent:qi}),n}var or={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},wr=Nn(or),Ui=ae({},or,{view:0,detail:0}),po=Nn(Ui),ft,si,Ur,Vi=ae({},Ui,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:mo,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Ur&&(Ur&&e.type==="mousemove"?(ft=e.screenX-Ur.screenX,si=e.screenY-Ur.screenY):si=ft=0,Ur=e),ft)},movementY:function(e){return"movementY"in e?e.movementY:si}}),Zn=Nn(Vi),Ko=ae({},Vi,{dataTransfer:0}),Ro=Nn(Ko),Pn=ae({},Ui,{relatedTarget:0}),bn=Nn(Pn),on=ae({},or,{animationName:0,elapsedTime:0,pseudoElement:0}),Io=Nn(on),va=ae({},or,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),jo=Nn(va),Ja=ae({},or,{data:0}),Dt=Nn(Ja),Qi={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},ho={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"},Kn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function To(e){var n=this.nativeEvent;return n.getModifierState?n.getModifierState(e):(e=Kn[e])?!!n[e]:!1}function mo(){return To}var zo=ae({},Ui,{key:function(e){if(e.key){var n=Qi[e.key]||e.key;if(n!=="Unidentified")return n}return e.type==="keypress"?(e=Ei(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?ho[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:mo,charCode:function(e){return e.type==="keypress"?Ei(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Ei(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Ho=Nn(zo),h=ae({},Vi,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),_=Nn(h),N=ae({},Ui,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:mo}),C=Nn(N),Z=ae({},or,{propertyName:0,elapsedTime:0,pseudoElement:0}),V=Nn(Z),ne=ae({},Vi,{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}),pe=Nn(ne),Ae=[9,13,27,32],Ze=y&&"CompositionEvent"in window,Ue=null;y&&"documentMode"in document&&(Ue=document.documentMode);var Mt=y&&"TextEvent"in window&&!Ue,_n=y&&(!Ze||Ue&&8<Ue&&11>=Ue),Zt=String.fromCharCode(32),xt=!1;function ci(e,n){switch(e){case"keyup":return Ae.indexOf(n.keyCode)!==-1;case"keydown":return n.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function ya(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var fi=!1;function Wa(e,n){switch(e){case"compositionend":return ya(n);case"keypress":return n.which!==32?null:(xt=!0,Zt);case"textInput":return e=n.data,e===Zt&&xt?null:e;default:return null}}function ps(e,n){if(fi)return e==="compositionend"||!Ze&&ci(e,n)?(e=ga(),Po=Ai=qr=null,fi=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(n.ctrlKey||n.altKey||n.metaKey)||n.ctrlKey&&n.altKey){if(n.char&&1<n.char.length)return n.char;if(n.which)return String.fromCharCode(n.which)}return null;case"compositionend":return _n&&n.locale!=="ko"?null:n.data;default:return null}}var hs={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 ms(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return n==="input"?!!hs[e.type]:n==="textarea"}function Yl(e,n,o,s){Xn(s),n=_s(n,"onChange"),0<n.length&&(o=new wr("onChange","change",null,o,s),e.push({event:o,listeners:n}))}var ba=null,_a=null;function gs(e){xy(e,0)}function Ga(e){var n=il(e);if(en(n))return e}function l(e,n){if(e==="change")return n}var f=!1;if(y){var v;if(y){var x="oninput"in document;if(!x){var E=document.createElement("div");E.setAttribute("oninput","return;"),x=typeof E.oninput=="function"}v=x}else v=!1;f=v&&(!document.documentMode||9<document.documentMode)}function M(){ba&&(ba.detachEvent("onpropertychange",z),_a=ba=null)}function z(e){if(e.propertyName==="value"&&Ga(_a)){var n=[];Yl(n,_a,e,fn(e)),io(gs,n)}}function q(e,n,o){e==="focusin"?(M(),ba=n,_a=o,ba.attachEvent("onpropertychange",z)):e==="focusout"&&M()}function te(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Ga(_a)}function re(e,n){if(e==="click")return Ga(n)}function oe(e,n){if(e==="input"||e==="change")return Ga(n)}function Ne(e,n){return e===n&&(e!==0||1/e===1/n)||e!==e&&n!==n}var ke=typeof Object.is=="function"?Object.is:Ne;function $e(e,n){if(ke(e,n))return!0;if(typeof e!="object"||e===null||typeof n!="object"||n===null)return!1;var o=Object.keys(e),s=Object.keys(n);if(o.length!==s.length)return!1;for(s=0;s<o.length;s++){var d=o[s];if(!b.call(n,d)||!ke(e[d],n[d]))return!1}return!0}function lt(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Ht(e,n){var o=lt(e);e=0;for(var s;o;){if(o.nodeType===3){if(s=e+o.textContent.length,e<=n&&s>=n)return{node:o,offset:n-e};e=s}e:{for(;o;){if(o.nextSibling){o=o.nextSibling;break e}o=o.parentNode}o=void 0}o=lt(o)}}function Sr(e,n){return e&&n?e===n?!0:e&&e.nodeType===3?!1:n&&n.nodeType===3?Sr(e,n.parentNode):"contains"in e?e.contains(n):e.compareDocumentPosition?!!(e.compareDocumentPosition(n)&16):!1:!1}function Vr(){for(var e=window,n=Xe();n instanceof e.HTMLIFrameElement;){try{var o=typeof n.contentWindow.location.href=="string"}catch{o=!1}if(o)e=n.contentWindow;else break;n=Xe(e.document)}return n}function Ao(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return n&&(n==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||n==="textarea"||e.contentEditable==="true")}function u2(e){var n=Vr(),o=e.focusedElem,s=e.selectionRange;if(n!==o&&o&&o.ownerDocument&&Sr(o.ownerDocument.documentElement,o)){if(s!==null&&Ao(o)){if(n=s.start,e=s.end,e===void 0&&(e=n),"selectionStart"in o)o.selectionStart=n,o.selectionEnd=Math.min(e,o.value.length);else if(e=(n=o.ownerDocument||document)&&n.defaultView||window,e.getSelection){e=e.getSelection();var d=o.textContent.length,m=Math.min(s.start,d);s=s.end===void 0?m:Math.min(s.end,d),!e.extend&&m>s&&(d=s,s=m,m=d),d=Ht(o,m);var k=Ht(o,s);d&&k&&(e.rangeCount!==1||e.anchorNode!==d.node||e.anchorOffset!==d.offset||e.focusNode!==k.node||e.focusOffset!==k.offset)&&(n=n.createRange(),n.setStart(d.node,d.offset),e.removeAllRanges(),m>s?(e.addRange(n),e.extend(k.node,k.offset)):(n.setEnd(k.node,k.offset),e.addRange(n)))}}for(n=[],e=o;e=e.parentNode;)e.nodeType===1&&n.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof o.focus=="function"&&o.focus(),o=0;o<n.length;o++)e=n[o],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var s2=y&&"documentMode"in document&&11>=document.documentMode,el=null,Vf=null,Jl=null,Qf=!1;function hy(e,n,o){var s=o.window===o?o.document:o.nodeType===9?o:o.ownerDocument;Qf||el==null||el!==Xe(s)||(s=el,"selectionStart"in s&&Ao(s)?s={start:s.selectionStart,end:s.selectionEnd}:(s=(s.ownerDocument&&s.ownerDocument.defaultView||window).getSelection(),s={anchorNode:s.anchorNode,anchorOffset:s.anchorOffset,focusNode:s.focusNode,focusOffset:s.focusOffset}),Jl&&$e(Jl,s)||(Jl=s,s=_s(Vf,"onSelect"),0<s.length&&(n=new wr("onSelect","select",null,n,o),e.push({event:n,listeners:s}),n.target=el)))}function vs(e,n){var o={};return o[e.toLowerCase()]=n.toLowerCase(),o["Webkit"+e]="webkit"+n,o["Moz"+e]="moz"+n,o}var tl={animationend:vs("Animation","AnimationEnd"),animationiteration:vs("Animation","AnimationIteration"),animationstart:vs("Animation","AnimationStart"),transitionend:vs("Transition","TransitionEnd")},Xf={},my={};y&&(my=document.createElement("div").style,"AnimationEvent"in window||(delete tl.animationend.animation,delete tl.animationiteration.animation,delete tl.animationstart.animation),"TransitionEvent"in window||delete tl.transitionend.transition);function ys(e){if(Xf[e])return Xf[e];if(!tl[e])return e;var n=tl[e],o;for(o in n)if(n.hasOwnProperty(o)&&o in my)return Xf[e]=n[o];return e}var gy=ys("animationend"),vy=ys("animationiteration"),yy=ys("animationstart"),by=ys("transitionend"),_y=new Map,wy="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function qo(e,n){_y.set(e,n),c(n,[e])}for(var Zf=0;Zf<wy.length;Zf++){var $f=wy[Zf],c2=$f.toLowerCase(),f2=$f[0].toUpperCase()+$f.slice(1);qo(c2,"on"+f2)}qo(gy,"onAnimationEnd"),qo(vy,"onAnimationIteration"),qo(yy,"onAnimationStart"),qo("dblclick","onDoubleClick"),qo("focusin","onFocus"),qo("focusout","onBlur"),qo(by,"onTransitionEnd"),g("onMouseEnter",["mouseout","mouseover"]),g("onMouseLeave",["mouseout","mouseover"]),g("onPointerEnter",["pointerout","pointerover"]),g("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 Wl="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),d2=new Set("cancel close invalid load scroll toggle".split(" ").concat(Wl));function Sy(e,n,o){var s=e.type||"unknown-event";e.currentTarget=o,ao(s,n,void 0,e),e.currentTarget=null}function xy(e,n){n=(n&4)!==0;for(var o=0;o<e.length;o++){var s=e[o],d=s.event;s=s.listeners;e:{var m=void 0;if(n)for(var k=s.length-1;0<=k;k--){var I=s[k],H=I.instance,ee=I.currentTarget;if(I=I.listener,H!==m&&d.isPropagationStopped())break e;Sy(d,I,ee),m=H}else for(k=0;k<s.length;k++){if(I=s[k],H=I.instance,ee=I.currentTarget,I=I.listener,H!==m&&d.isPropagationStopped())break e;Sy(d,I,ee),m=H}}}if(ti)throw e=hr,ti=!1,hr=null,e}function $t(e,n){var o=n[rd];o===void 0&&(o=n[rd]=new Set);var s=e+"__bubble";o.has(s)||(Ey(n,e,2,!1),o.add(s))}function Yf(e,n,o){var s=0;n&&(s|=4),Ey(o,e,s,n)}var bs="_reactListening"+Math.random().toString(36).slice(2);function Gl(e){if(!e[bs]){e[bs]=!0,a.forEach(function(o){o!=="selectionchange"&&(d2.has(o)||Yf(o,!1,e),Yf(o,!0,e))});var n=e.nodeType===9?e:e.ownerDocument;n===null||n[bs]||(n[bs]=!0,Yf("selectionchange",!1,n))}}function Ey(e,n,o,s){switch(ma(n)){case 1:var d=Ar;break;case 4:d=li;break;default:d=co}o=d.bind(null,n,o,e),d=void 0,!Si||n!=="touchstart"&&n!=="touchmove"&&n!=="wheel"||(d=!0),s?d!==void 0?e.addEventListener(n,o,{capture:!0,passive:d}):e.addEventListener(n,o,!0):d!==void 0?e.addEventListener(n,o,{passive:d}):e.addEventListener(n,o,!1)}function Jf(e,n,o,s,d){var m=s;if(!(n&1)&&!(n&2)&&s!==null)e:for(;;){if(s===null)return;var k=s.tag;if(k===3||k===4){var I=s.stateNode.containerInfo;if(I===d||I.nodeType===8&&I.parentNode===d)break;if(k===4)for(k=s.return;k!==null;){var H=k.tag;if((H===3||H===4)&&(H=k.stateNode.containerInfo,H===d||H.nodeType===8&&H.parentNode===d))return;k=k.return}for(;I!==null;){if(k=wa(I),k===null)return;if(H=k.tag,H===5||H===6){s=m=k;continue e}I=I.parentNode}}s=s.return}io(function(){var ee=m,ce=fn(o),de=[];e:{var se=_y.get(e);if(se!==void 0){var Oe=wr,Be=e;switch(e){case"keypress":if(Ei(o)===0)break e;case"keydown":case"keyup":Oe=Ho;break;case"focusin":Be="focus",Oe=bn;break;case"focusout":Be="blur",Oe=bn;break;case"beforeblur":case"afterblur":Oe=bn;break;case"click":if(o.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":Oe=Zn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":Oe=Ro;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":Oe=C;break;case gy:case vy:case yy:Oe=Io;break;case by:Oe=V;break;case"scroll":Oe=po;break;case"wheel":Oe=pe;break;case"copy":case"cut":case"paste":Oe=jo;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":Oe=_}var Pe=(n&4)!==0,dn=!Pe&&e==="scroll",Q=Pe?se!==null?se+"Capture":null:se;Pe=[];for(var A=ee,$;A!==null;){$=A;var ye=$.stateNode;if($.tag===5&&ye!==null&&($=ye,Q!==null&&(ye=tr(A,Q),ye!=null&&Pe.push(eu(A,ye,$)))),dn)break;A=A.return}0<Pe.length&&(se=new Oe(se,Be,null,o,ce),de.push({event:se,listeners:Pe}))}}if(!(n&7)){e:{if(se=e==="mouseover"||e==="pointerover",Oe=e==="mouseout"||e==="pointerout",se&&o!==wi&&(Be=o.relatedTarget||o.fromElement)&&(wa(Be)||Be[go]))break e;if((Oe||se)&&(se=ce.window===ce?ce:(se=ce.ownerDocument)?se.defaultView||se.parentWindow:window,Oe?(Be=o.relatedTarget||o.toElement,Oe=ee,Be=Be?wa(Be):null,Be!==null&&(dn=nr(Be),Be!==dn||Be.tag!==5&&Be.tag!==6)&&(Be=null)):(Oe=null,Be=ee),Oe!==Be)){if(Pe=Zn,ye="onMouseLeave",Q="onMouseEnter",A="mouse",(e==="pointerout"||e==="pointerover")&&(Pe=_,ye="onPointerLeave",Q="onPointerEnter",A="pointer"),dn=Oe==null?se:il(Oe),$=Be==null?se:il(Be),se=new Pe(ye,A+"leave",Oe,o,ce),se.target=dn,se.relatedTarget=$,ye=null,wa(ce)===ee&&(Pe=new Pe(Q,A+"enter",Be,o,ce),Pe.target=$,Pe.relatedTarget=dn,ye=Pe),dn=ye,Oe&&Be)t:{for(Pe=Oe,Q=Be,A=0,$=Pe;$;$=nl($))A++;for($=0,ye=Q;ye;ye=nl(ye))$++;for(;0<A-$;)Pe=nl(Pe),A--;for(;0<$-A;)Q=nl(Q),$--;for(;A--;){if(Pe===Q||Q!==null&&Pe===Q.alternate)break t;Pe=nl(Pe),Q=nl(Q)}Pe=null}else Pe=null;Oe!==null&&ky(de,se,Oe,Pe,!1),Be!==null&&dn!==null&&ky(de,dn,Be,Pe,!0)}}e:{if(se=ee?il(ee):window,Oe=se.nodeName&&se.nodeName.toLowerCase(),Oe==="select"||Oe==="input"&&se.type==="file")var Ke=l;else if(ms(se))if(f)Ke=oe;else{Ke=te;var Ve=q}else(Oe=se.nodeName)&&Oe.toLowerCase()==="input"&&(se.type==="checkbox"||se.type==="radio")&&(Ke=re);if(Ke&&(Ke=Ke(e,ee))){Yl(de,Ke,o,ce);break e}Ve&&Ve(e,se,ee),e==="focusout"&&(Ve=se._wrapperState)&&Ve.controlled&&se.type==="number"&&Nt(se,"number",se.value)}switch(Ve=ee?il(ee):window,e){case"focusin":(ms(Ve)||Ve.contentEditable==="true")&&(el=Ve,Vf=ee,Jl=null);break;case"focusout":Jl=Vf=el=null;break;case"mousedown":Qf=!0;break;case"contextmenu":case"mouseup":case"dragend":Qf=!1,hy(de,o,ce);break;case"selectionchange":if(s2)break;case"keydown":case"keyup":hy(de,o,ce)}var Qe;if(Ze)e:{switch(e){case"compositionstart":var et="onCompositionStart";break e;case"compositionend":et="onCompositionEnd";break e;case"compositionupdate":et="onCompositionUpdate";break e}et=void 0}else fi?ci(e,o)&&(et="onCompositionEnd"):e==="keydown"&&o.keyCode===229&&(et="onCompositionStart");et&&(_n&&o.locale!=="ko"&&(fi||et!=="onCompositionStart"?et==="onCompositionEnd"&&fi&&(Qe=ga()):(qr=ce,Ai="value"in qr?qr.value:qr.textContent,fi=!0)),Ve=_s(ee,et),0<Ve.length&&(et=new Dt(et,e,null,o,ce),de.push({event:et,listeners:Ve}),Qe?et.data=Qe:(Qe=ya(o),Qe!==null&&(et.data=Qe)))),(Qe=Mt?Wa(e,o):ps(e,o))&&(ee=_s(ee,"onBeforeInput"),0<ee.length&&(ce=new Dt("onBeforeInput","beforeinput",null,o,ce),de.push({event:ce,listeners:ee}),ce.data=Qe))}xy(de,n)})}function eu(e,n,o){return{instance:e,listener:n,currentTarget:o}}function _s(e,n){for(var o=n+"Capture",s=[];e!==null;){var d=e,m=d.stateNode;d.tag===5&&m!==null&&(d=m,m=tr(e,o),m!=null&&s.unshift(eu(e,m,d)),m=tr(e,n),m!=null&&s.push(eu(e,m,d))),e=e.return}return s}function nl(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function ky(e,n,o,s,d){for(var m=n._reactName,k=[];o!==null&&o!==s;){var I=o,H=I.alternate,ee=I.stateNode;if(H!==null&&H===s)break;I.tag===5&&ee!==null&&(I=ee,d?(H=tr(o,m),H!=null&&k.unshift(eu(o,H,I))):d||(H=tr(o,m),H!=null&&k.push(eu(o,H,I)))),o=o.return}k.length!==0&&e.push({event:n,listeners:k})}var p2=/\r\n?/g,h2=/\u0000|\uFFFD/g;function Ny(e){return(typeof e=="string"?e:""+e).replace(p2,`
49
+ `).replace(h2,"")}function ws(e,n,o){if(n=Ny(n),Ny(e)!==n&&o)throw Error(i(425))}function Ss(){}var Wf=null,Gf=null;function ed(e,n){return e==="textarea"||e==="noscript"||typeof n.children=="string"||typeof n.children=="number"||typeof n.dangerouslySetInnerHTML=="object"&&n.dangerouslySetInnerHTML!==null&&n.dangerouslySetInnerHTML.__html!=null}var td=typeof setTimeout=="function"?setTimeout:void 0,m2=typeof clearTimeout=="function"?clearTimeout:void 0,Oy=typeof Promise=="function"?Promise:void 0,g2=typeof queueMicrotask=="function"?queueMicrotask:typeof Oy<"u"?function(e){return Oy.resolve(null).then(e).catch(v2)}:td;function v2(e){setTimeout(function(){throw e})}function nd(e,n){var o=n,s=0;do{var d=o.nextSibling;if(e.removeChild(o),d&&d.nodeType===8)if(o=d.data,o==="/$"){if(s===0){e.removeChild(d),rn(n);return}s--}else o!=="$"&&o!=="$?"&&o!=="$!"||s++;o=d}while(o);rn(n)}function Uo(e){for(;e!=null;e=e.nextSibling){var n=e.nodeType;if(n===1||n===3)break;if(n===8){if(n=e.data,n==="$"||n==="$!"||n==="$?")break;if(n==="/$")return null}}return e}function Dy(e){e=e.previousSibling;for(var n=0;e;){if(e.nodeType===8){var o=e.data;if(o==="$"||o==="$!"||o==="$?"){if(n===0)return e;n--}else o==="/$"&&n++}e=e.previousSibling}return null}var rl=Math.random().toString(36).slice(2),Xi="__reactFiber$"+rl,tu="__reactProps$"+rl,go="__reactContainer$"+rl,rd="__reactEvents$"+rl,y2="__reactListeners$"+rl,b2="__reactHandles$"+rl;function wa(e){var n=e[Xi];if(n)return n;for(var o=e.parentNode;o;){if(n=o[go]||o[Xi]){if(o=n.alternate,n.child!==null||o!==null&&o.child!==null)for(e=Dy(e);e!==null;){if(o=e[Xi])return o;e=Dy(e)}return n}e=o,o=e.parentNode}return null}function nu(e){return e=e[Xi]||e[go],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function il(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(i(33))}function xs(e){return e[tu]||null}var id=[],ol=-1;function Vo(e){return{current:e}}function Yt(e){0>ol||(e.current=id[ol],id[ol]=null,ol--)}function Ut(e,n){ol++,id[ol]=e.current,e.current=n}var Qo={},$n=Vo(Qo),xr=Vo(!1),Sa=Qo;function al(e,n){var o=e.type.contextTypes;if(!o)return Qo;var s=e.stateNode;if(s&&s.__reactInternalMemoizedUnmaskedChildContext===n)return s.__reactInternalMemoizedMaskedChildContext;var d={},m;for(m in o)d[m]=n[m];return s&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=n,e.__reactInternalMemoizedMaskedChildContext=d),d}function Er(e){return e=e.childContextTypes,e!=null}function Es(){Yt(xr),Yt($n)}function My(e,n,o){if($n.current!==Qo)throw Error(i(168));Ut($n,n),Ut(xr,o)}function Ly(e,n,o){var s=e.stateNode;if(n=n.childContextTypes,typeof s.getChildContext!="function")return o;s=s.getChildContext();for(var d in s)if(!(d in n))throw Error(i(108,dt(e)||"Unknown",d));return ae({},o,s)}function ks(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Qo,Sa=$n.current,Ut($n,e),Ut(xr,xr.current),!0}function Cy(e,n,o){var s=e.stateNode;if(!s)throw Error(i(169));o?(e=Ly(e,n,Sa),s.__reactInternalMemoizedMergedChildContext=e,Yt(xr),Yt($n),Ut($n,e)):Yt(xr),Ut(xr,o)}var vo=null,Ns=!1,od=!1;function By(e){vo===null?vo=[e]:vo.push(e)}function _2(e){Ns=!0,By(e)}function Xo(){if(!od&&vo!==null){od=!0;var e=0,n=be;try{var o=vo;for(be=1;e<o.length;e++){var s=o[e];do s=s(!0);while(s!==null)}vo=null,Ns=!1}catch(d){throw vo!==null&&(vo=vo.slice(e+1)),tt(ri,Xo),d}finally{be=n,od=!1}}return null}var ll=[],ul=0,Os=null,Ds=0,di=[],pi=0,xa=null,yo=1,bo="";function Ea(e,n){ll[ul++]=Ds,ll[ul++]=Os,Os=e,Ds=n}function Fy(e,n,o){di[pi++]=yo,di[pi++]=bo,di[pi++]=xa,xa=e;var s=yo;e=bo;var d=32-un(s)-1;s&=~(1<<d),o+=1;var m=32-un(n)+d;if(30<m){var k=d-d%5;m=(s&(1<<k)-1).toString(32),s>>=k,d-=k,yo=1<<32-un(n)+d|o<<d|s,bo=m+e}else yo=1<<m|o<<d|s,bo=e}function ad(e){e.return!==null&&(Ea(e,1),Fy(e,1,0))}function ld(e){for(;e===Os;)Os=ll[--ul],ll[ul]=null,Ds=ll[--ul],ll[ul]=null;for(;e===xa;)xa=di[--pi],di[pi]=null,bo=di[--pi],di[pi]=null,yo=di[--pi],di[pi]=null}var Qr=null,Xr=null,Gt=!1,ki=null;function Py(e,n){var o=vi(5,null,null,0);o.elementType="DELETED",o.stateNode=n,o.return=e,n=e.deletions,n===null?(e.deletions=[o],e.flags|=16):n.push(o)}function Ky(e,n){switch(e.tag){case 5:var o=e.type;return n=n.nodeType!==1||o.toLowerCase()!==n.nodeName.toLowerCase()?null:n,n!==null?(e.stateNode=n,Qr=e,Xr=Uo(n.firstChild),!0):!1;case 6:return n=e.pendingProps===""||n.nodeType!==3?null:n,n!==null?(e.stateNode=n,Qr=e,Xr=null,!0):!1;case 13:return n=n.nodeType!==8?null:n,n!==null?(o=xa!==null?{id:yo,overflow:bo}:null,e.memoizedState={dehydrated:n,treeContext:o,retryLane:1073741824},o=vi(18,null,null,0),o.stateNode=n,o.return=e,e.child=o,Qr=e,Xr=null,!0):!1;default:return!1}}function ud(e){return(e.mode&1)!==0&&(e.flags&128)===0}function sd(e){if(Gt){var n=Xr;if(n){var o=n;if(!Ky(e,n)){if(ud(e))throw Error(i(418));n=Uo(o.nextSibling);var s=Qr;n&&Ky(e,n)?Py(s,o):(e.flags=e.flags&-4097|2,Gt=!1,Qr=e)}}else{if(ud(e))throw Error(i(418));e.flags=e.flags&-4097|2,Gt=!1,Qr=e}}}function Ry(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Qr=e}function Ms(e){if(e!==Qr)return!1;if(!Gt)return Ry(e),Gt=!0,!1;var n;if((n=e.tag!==3)&&!(n=e.tag!==5)&&(n=e.type,n=n!=="head"&&n!=="body"&&!ed(e.type,e.memoizedProps)),n&&(n=Xr)){if(ud(e))throw Iy(),Error(i(418));for(;n;)Py(e,n),n=Uo(n.nextSibling)}if(Ry(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(i(317));e:{for(e=e.nextSibling,n=0;e;){if(e.nodeType===8){var o=e.data;if(o==="/$"){if(n===0){Xr=Uo(e.nextSibling);break e}n--}else o!=="$"&&o!=="$!"&&o!=="$?"||n++}e=e.nextSibling}Xr=null}}else Xr=Qr?Uo(e.stateNode.nextSibling):null;return!0}function Iy(){for(var e=Xr;e;)e=Uo(e.nextSibling)}function sl(){Xr=Qr=null,Gt=!1}function cd(e){ki===null?ki=[e]:ki.push(e)}var w2=J.ReactCurrentBatchConfig;function Ni(e,n){if(e&&e.defaultProps){n=ae({},n),e=e.defaultProps;for(var o in e)n[o]===void 0&&(n[o]=e[o]);return n}return n}var Ls=Vo(null),Cs=null,cl=null,fd=null;function dd(){fd=cl=Cs=null}function pd(e){var n=Ls.current;Yt(Ls),e._currentValue=n}function hd(e,n,o){for(;e!==null;){var s=e.alternate;if((e.childLanes&n)!==n?(e.childLanes|=n,s!==null&&(s.childLanes|=n)):s!==null&&(s.childLanes&n)!==n&&(s.childLanes|=n),e===o)break;e=e.return}}function fl(e,n){Cs=e,fd=cl=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&n&&(kr=!0),e.firstContext=null)}function hi(e){var n=e._currentValue;if(fd!==e)if(e={context:e,memoizedValue:n,next:null},cl===null){if(Cs===null)throw Error(i(308));cl=e,Cs.dependencies={lanes:0,firstContext:e}}else cl=cl.next=e;return n}var ka=null;function md(e){ka===null?ka=[e]:ka.push(e)}function jy(e,n,o,s){var d=n.interleaved;return d===null?(o.next=o,md(n)):(o.next=d.next,d.next=o),n.interleaved=o,_o(e,s)}function _o(e,n){e.lanes|=n;var o=e.alternate;for(o!==null&&(o.lanes|=n),o=e,e=e.return;e!==null;)e.childLanes|=n,o=e.alternate,o!==null&&(o.childLanes|=n),o=e,e=e.return;return o.tag===3?o.stateNode:null}var Zo=!1;function gd(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Ty(e,n){e=e.updateQueue,n.updateQueue===e&&(n.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function wo(e,n){return{eventTime:e,lane:n,tag:0,payload:null,callback:null,next:null}}function $o(e,n,o){var s=e.updateQueue;if(s===null)return null;if(s=s.shared,bt&2){var d=s.pending;return d===null?n.next=n:(n.next=d.next,d.next=n),s.pending=n,_o(e,o)}return d=s.interleaved,d===null?(n.next=n,md(s)):(n.next=d.next,d.next=n),s.interleaved=n,_o(e,o)}function Bs(e,n,o){if(n=n.updateQueue,n!==null&&(n=n.shared,(o&4194240)!==0)){var s=n.lanes;s&=e.pendingLanes,o|=s,n.lanes=o,me(e,o)}}function zy(e,n){var o=e.updateQueue,s=e.alternate;if(s!==null&&(s=s.updateQueue,o===s)){var d=null,m=null;if(o=o.firstBaseUpdate,o!==null){do{var k={eventTime:o.eventTime,lane:o.lane,tag:o.tag,payload:o.payload,callback:o.callback,next:null};m===null?d=m=k:m=m.next=k,o=o.next}while(o!==null);m===null?d=m=n:m=m.next=n}else d=m=n;o={baseState:s.baseState,firstBaseUpdate:d,lastBaseUpdate:m,shared:s.shared,effects:s.effects},e.updateQueue=o;return}e=o.lastBaseUpdate,e===null?o.firstBaseUpdate=n:e.next=n,o.lastBaseUpdate=n}function Fs(e,n,o,s){var d=e.updateQueue;Zo=!1;var m=d.firstBaseUpdate,k=d.lastBaseUpdate,I=d.shared.pending;if(I!==null){d.shared.pending=null;var H=I,ee=H.next;H.next=null,k===null?m=ee:k.next=ee,k=H;var ce=e.alternate;ce!==null&&(ce=ce.updateQueue,I=ce.lastBaseUpdate,I!==k&&(I===null?ce.firstBaseUpdate=ee:I.next=ee,ce.lastBaseUpdate=H))}if(m!==null){var de=d.baseState;k=0,ce=ee=H=null,I=m;do{var se=I.lane,Oe=I.eventTime;if((s&se)===se){ce!==null&&(ce=ce.next={eventTime:Oe,lane:0,tag:I.tag,payload:I.payload,callback:I.callback,next:null});e:{var Be=e,Pe=I;switch(se=n,Oe=o,Pe.tag){case 1:if(Be=Pe.payload,typeof Be=="function"){de=Be.call(Oe,de,se);break e}de=Be;break e;case 3:Be.flags=Be.flags&-65537|128;case 0:if(Be=Pe.payload,se=typeof Be=="function"?Be.call(Oe,de,se):Be,se==null)break e;de=ae({},de,se);break e;case 2:Zo=!0}}I.callback!==null&&I.lane!==0&&(e.flags|=64,se=d.effects,se===null?d.effects=[I]:se.push(I))}else Oe={eventTime:Oe,lane:se,tag:I.tag,payload:I.payload,callback:I.callback,next:null},ce===null?(ee=ce=Oe,H=de):ce=ce.next=Oe,k|=se;if(I=I.next,I===null){if(I=d.shared.pending,I===null)break;se=I,I=se.next,se.next=null,d.lastBaseUpdate=se,d.shared.pending=null}}while(1);if(ce===null&&(H=de),d.baseState=H,d.firstBaseUpdate=ee,d.lastBaseUpdate=ce,n=d.shared.interleaved,n!==null){d=n;do k|=d.lane,d=d.next;while(d!==n)}else m===null&&(d.shared.lanes=0);Da|=k,e.lanes=k,e.memoizedState=de}}function Hy(e,n,o){if(e=n.effects,n.effects=null,e!==null)for(n=0;n<e.length;n++){var s=e[n],d=s.callback;if(d!==null){if(s.callback=null,s=o,typeof d!="function")throw Error(i(191,d));d.call(s)}}}var Ay=new t.Component().refs;function vd(e,n,o,s){n=e.memoizedState,o=o(s,n),o=o==null?n:ae({},n,o),e.memoizedState=o,e.lanes===0&&(e.updateQueue.baseState=o)}var Ps={isMounted:function(e){return(e=e._reactInternals)?nr(e)===e:!1},enqueueSetState:function(e,n,o){e=e._reactInternals;var s=lr(),d=Go(e),m=wo(s,d);m.payload=n,o!=null&&(m.callback=o),n=$o(e,m,d),n!==null&&(Mi(n,e,d,s),Bs(n,e,d))},enqueueReplaceState:function(e,n,o){e=e._reactInternals;var s=lr(),d=Go(e),m=wo(s,d);m.tag=1,m.payload=n,o!=null&&(m.callback=o),n=$o(e,m,d),n!==null&&(Mi(n,e,d,s),Bs(n,e,d))},enqueueForceUpdate:function(e,n){e=e._reactInternals;var o=lr(),s=Go(e),d=wo(o,s);d.tag=2,n!=null&&(d.callback=n),n=$o(e,d,s),n!==null&&(Mi(n,e,s,o),Bs(n,e,s))}};function qy(e,n,o,s,d,m,k){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(s,m,k):n.prototype&&n.prototype.isPureReactComponent?!$e(o,s)||!$e(d,m):!0}function Uy(e,n,o){var s=!1,d=Qo,m=n.contextType;return typeof m=="object"&&m!==null?m=hi(m):(d=Er(n)?Sa:$n.current,s=n.contextTypes,m=(s=s!=null)?al(e,d):Qo),n=new n(o,m),e.memoizedState=n.state!==null&&n.state!==void 0?n.state:null,n.updater=Ps,e.stateNode=n,n._reactInternals=e,s&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=d,e.__reactInternalMemoizedMaskedChildContext=m),n}function Vy(e,n,o,s){e=n.state,typeof n.componentWillReceiveProps=="function"&&n.componentWillReceiveProps(o,s),typeof n.UNSAFE_componentWillReceiveProps=="function"&&n.UNSAFE_componentWillReceiveProps(o,s),n.state!==e&&Ps.enqueueReplaceState(n,n.state,null)}function yd(e,n,o,s){var d=e.stateNode;d.props=o,d.state=e.memoizedState,d.refs=Ay,gd(e);var m=n.contextType;typeof m=="object"&&m!==null?d.context=hi(m):(m=Er(n)?Sa:$n.current,d.context=al(e,m)),d.state=e.memoizedState,m=n.getDerivedStateFromProps,typeof m=="function"&&(vd(e,n,m,o),d.state=e.memoizedState),typeof n.getDerivedStateFromProps=="function"||typeof d.getSnapshotBeforeUpdate=="function"||typeof d.UNSAFE_componentWillMount!="function"&&typeof d.componentWillMount!="function"||(n=d.state,typeof d.componentWillMount=="function"&&d.componentWillMount(),typeof d.UNSAFE_componentWillMount=="function"&&d.UNSAFE_componentWillMount(),n!==d.state&&Ps.enqueueReplaceState(d,d.state,null),Fs(e,o,d,s),d.state=e.memoizedState),typeof d.componentDidMount=="function"&&(e.flags|=4194308)}function ru(e,n,o){if(e=o.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(o._owner){if(o=o._owner,o){if(o.tag!==1)throw Error(i(309));var s=o.stateNode}if(!s)throw Error(i(147,e));var d=s,m=""+e;return n!==null&&n.ref!==null&&typeof n.ref=="function"&&n.ref._stringRef===m?n.ref:(n=function(k){var I=d.refs;I===Ay&&(I=d.refs={}),k===null?delete I[m]:I[m]=k},n._stringRef=m,n)}if(typeof e!="string")throw Error(i(284));if(!o._owner)throw Error(i(290,e))}return e}function Ks(e,n){throw e=Object.prototype.toString.call(n),Error(i(31,e==="[object Object]"?"object with keys {"+Object.keys(n).join(", ")+"}":e))}function Qy(e){var n=e._init;return n(e._payload)}function Xy(e){function n(Q,A){if(e){var $=Q.deletions;$===null?(Q.deletions=[A],Q.flags|=16):$.push(A)}}function o(Q,A){if(!e)return null;for(;A!==null;)n(Q,A),A=A.sibling;return null}function s(Q,A){for(Q=new Map;A!==null;)A.key!==null?Q.set(A.key,A):Q.set(A.index,A),A=A.sibling;return Q}function d(Q,A){return Q=ta(Q,A),Q.index=0,Q.sibling=null,Q}function m(Q,A,$){return Q.index=$,e?($=Q.alternate,$!==null?($=$.index,$<A?(Q.flags|=2,A):$):(Q.flags|=2,A)):(Q.flags|=1048576,A)}function k(Q){return e&&Q.alternate===null&&(Q.flags|=2),Q}function I(Q,A,$,ye){return A===null||A.tag!==6?(A=ep($,Q.mode,ye),A.return=Q,A):(A=d(A,$),A.return=Q,A)}function H(Q,A,$,ye){var Ke=$.type;return Ke===_e?ce(Q,A,$.props.children,ye,$.key):A!==null&&(A.elementType===Ke||typeof Ke=="object"&&Ke!==null&&Ke.$$typeof===Ce&&Qy(Ke)===A.type)?(ye=d(A,$.props),ye.ref=ru(Q,A,$),ye.return=Q,ye):(ye=ec($.type,$.key,$.props,null,Q.mode,ye),ye.ref=ru(Q,A,$),ye.return=Q,ye)}function ee(Q,A,$,ye){return A===null||A.tag!==4||A.stateNode.containerInfo!==$.containerInfo||A.stateNode.implementation!==$.implementation?(A=tp($,Q.mode,ye),A.return=Q,A):(A=d(A,$.children||[]),A.return=Q,A)}function ce(Q,A,$,ye,Ke){return A===null||A.tag!==7?(A=Ba($,Q.mode,ye,Ke),A.return=Q,A):(A=d(A,$),A.return=Q,A)}function de(Q,A,$){if(typeof A=="string"&&A!==""||typeof A=="number")return A=ep(""+A,Q.mode,$),A.return=Q,A;if(typeof A=="object"&&A!==null){switch(A.$$typeof){case le:return $=ec(A.type,A.key,A.props,null,Q.mode,$),$.ref=ru(Q,null,A),$.return=Q,$;case Se:return A=tp(A,Q.mode,$),A.return=Q,A;case Ce:var ye=A._init;return de(Q,ye(A._payload),$)}if(rt(A)||fe(A))return A=Ba(A,Q.mode,$,null),A.return=Q,A;Ks(Q,A)}return null}function se(Q,A,$,ye){var Ke=A!==null?A.key:null;if(typeof $=="string"&&$!==""||typeof $=="number")return Ke!==null?null:I(Q,A,""+$,ye);if(typeof $=="object"&&$!==null){switch($.$$typeof){case le:return $.key===Ke?H(Q,A,$,ye):null;case Se:return $.key===Ke?ee(Q,A,$,ye):null;case Ce:return Ke=$._init,se(Q,A,Ke($._payload),ye)}if(rt($)||fe($))return Ke!==null?null:ce(Q,A,$,ye,null);Ks(Q,$)}return null}function Oe(Q,A,$,ye,Ke){if(typeof ye=="string"&&ye!==""||typeof ye=="number")return Q=Q.get($)||null,I(A,Q,""+ye,Ke);if(typeof ye=="object"&&ye!==null){switch(ye.$$typeof){case le:return Q=Q.get(ye.key===null?$:ye.key)||null,H(A,Q,ye,Ke);case Se:return Q=Q.get(ye.key===null?$:ye.key)||null,ee(A,Q,ye,Ke);case Ce:var Ve=ye._init;return Oe(Q,A,$,Ve(ye._payload),Ke)}if(rt(ye)||fe(ye))return Q=Q.get($)||null,ce(A,Q,ye,Ke,null);Ks(A,ye)}return null}function Be(Q,A,$,ye){for(var Ke=null,Ve=null,Qe=A,et=A=0,jn=null;Qe!==null&&et<$.length;et++){Qe.index>et?(jn=Qe,Qe=null):jn=Qe.sibling;var _t=se(Q,Qe,$[et],ye);if(_t===null){Qe===null&&(Qe=jn);break}e&&Qe&&_t.alternate===null&&n(Q,Qe),A=m(_t,A,et),Ve===null?Ke=_t:Ve.sibling=_t,Ve=_t,Qe=jn}if(et===$.length)return o(Q,Qe),Gt&&Ea(Q,et),Ke;if(Qe===null){for(;et<$.length;et++)Qe=de(Q,$[et],ye),Qe!==null&&(A=m(Qe,A,et),Ve===null?Ke=Qe:Ve.sibling=Qe,Ve=Qe);return Gt&&Ea(Q,et),Ke}for(Qe=s(Q,Qe);et<$.length;et++)jn=Oe(Qe,Q,et,$[et],ye),jn!==null&&(e&&jn.alternate!==null&&Qe.delete(jn.key===null?et:jn.key),A=m(jn,A,et),Ve===null?Ke=jn:Ve.sibling=jn,Ve=jn);return e&&Qe.forEach(function(na){return n(Q,na)}),Gt&&Ea(Q,et),Ke}function Pe(Q,A,$,ye){var Ke=fe($);if(typeof Ke!="function")throw Error(i(150));if($=Ke.call($),$==null)throw Error(i(151));for(var Ve=Ke=null,Qe=A,et=A=0,jn=null,_t=$.next();Qe!==null&&!_t.done;et++,_t=$.next()){Qe.index>et?(jn=Qe,Qe=null):jn=Qe.sibling;var na=se(Q,Qe,_t.value,ye);if(na===null){Qe===null&&(Qe=jn);break}e&&Qe&&na.alternate===null&&n(Q,Qe),A=m(na,A,et),Ve===null?Ke=na:Ve.sibling=na,Ve=na,Qe=jn}if(_t.done)return o(Q,Qe),Gt&&Ea(Q,et),Ke;if(Qe===null){for(;!_t.done;et++,_t=$.next())_t=de(Q,_t.value,ye),_t!==null&&(A=m(_t,A,et),Ve===null?Ke=_t:Ve.sibling=_t,Ve=_t);return Gt&&Ea(Q,et),Ke}for(Qe=s(Q,Qe);!_t.done;et++,_t=$.next())_t=Oe(Qe,Q,et,_t.value,ye),_t!==null&&(e&&_t.alternate!==null&&Qe.delete(_t.key===null?et:_t.key),A=m(_t,A,et),Ve===null?Ke=_t:Ve.sibling=_t,Ve=_t);return e&&Qe.forEach(function(e4){return n(Q,e4)}),Gt&&Ea(Q,et),Ke}function dn(Q,A,$,ye){if(typeof $=="object"&&$!==null&&$.type===_e&&$.key===null&&($=$.props.children),typeof $=="object"&&$!==null){switch($.$$typeof){case le:e:{for(var Ke=$.key,Ve=A;Ve!==null;){if(Ve.key===Ke){if(Ke=$.type,Ke===_e){if(Ve.tag===7){o(Q,Ve.sibling),A=d(Ve,$.props.children),A.return=Q,Q=A;break e}}else if(Ve.elementType===Ke||typeof Ke=="object"&&Ke!==null&&Ke.$$typeof===Ce&&Qy(Ke)===Ve.type){o(Q,Ve.sibling),A=d(Ve,$.props),A.ref=ru(Q,Ve,$),A.return=Q,Q=A;break e}o(Q,Ve);break}else n(Q,Ve);Ve=Ve.sibling}$.type===_e?(A=Ba($.props.children,Q.mode,ye,$.key),A.return=Q,Q=A):(ye=ec($.type,$.key,$.props,null,Q.mode,ye),ye.ref=ru(Q,A,$),ye.return=Q,Q=ye)}return k(Q);case Se:e:{for(Ve=$.key;A!==null;){if(A.key===Ve)if(A.tag===4&&A.stateNode.containerInfo===$.containerInfo&&A.stateNode.implementation===$.implementation){o(Q,A.sibling),A=d(A,$.children||[]),A.return=Q,Q=A;break e}else{o(Q,A);break}else n(Q,A);A=A.sibling}A=tp($,Q.mode,ye),A.return=Q,Q=A}return k(Q);case Ce:return Ve=$._init,dn(Q,A,Ve($._payload),ye)}if(rt($))return Be(Q,A,$,ye);if(fe($))return Pe(Q,A,$,ye);Ks(Q,$)}return typeof $=="string"&&$!==""||typeof $=="number"?($=""+$,A!==null&&A.tag===6?(o(Q,A.sibling),A=d(A,$),A.return=Q,Q=A):(o(Q,A),A=ep($,Q.mode,ye),A.return=Q,Q=A),k(Q)):o(Q,A)}return dn}var dl=Xy(!0),Zy=Xy(!1),iu={},Zi=Vo(iu),ou=Vo(iu),au=Vo(iu);function Na(e){if(e===iu)throw Error(i(174));return e}function bd(e,n){switch(Ut(au,n),Ut(ou,e),Ut(Zi,iu),e=n.nodeType,e){case 9:case 11:n=(n=n.documentElement)?n.namespaceURI:Ge(null,"");break;default:e=e===8?n.parentNode:n,n=e.namespaceURI||null,e=e.tagName,n=Ge(n,e)}Yt(Zi),Ut(Zi,n)}function pl(){Yt(Zi),Yt(ou),Yt(au)}function $y(e){Na(au.current);var n=Na(Zi.current),o=Ge(n,e.type);n!==o&&(Ut(ou,e),Ut(Zi,o))}function _d(e){ou.current===e&&(Yt(Zi),Yt(ou))}var an=Vo(0);function Rs(e){for(var n=e;n!==null;){if(n.tag===13){var o=n.memoizedState;if(o!==null&&(o=o.dehydrated,o===null||o.data==="$?"||o.data==="$!"))return n}else if(n.tag===19&&n.memoizedProps.revealOrder!==void 0){if(n.flags&128)return n}else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===e)break;for(;n.sibling===null;){if(n.return===null||n.return===e)return null;n=n.return}n.sibling.return=n.return,n=n.sibling}return null}var wd=[];function Sd(){for(var e=0;e<wd.length;e++)wd[e]._workInProgressVersionPrimary=null;wd.length=0}var Is=J.ReactCurrentDispatcher,xd=J.ReactCurrentBatchConfig,Oa=0,ln=null,On=null,Rn=null,js=!1,lu=!1,uu=0,S2=0;function Yn(){throw Error(i(321))}function Ed(e,n){if(n===null)return!1;for(var o=0;o<n.length&&o<e.length;o++)if(!ke(e[o],n[o]))return!1;return!0}function kd(e,n,o,s,d,m){if(Oa=m,ln=n,n.memoizedState=null,n.updateQueue=null,n.lanes=0,Is.current=e===null||e.memoizedState===null?N2:O2,e=o(s,d),lu){m=0;do{if(lu=!1,uu=0,25<=m)throw Error(i(301));m+=1,Rn=On=null,n.updateQueue=null,Is.current=D2,e=o(s,d)}while(lu)}if(Is.current=Hs,n=On!==null&&On.next!==null,Oa=0,Rn=On=ln=null,js=!1,n)throw Error(i(300));return e}function Nd(){var e=uu!==0;return uu=0,e}function $i(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Rn===null?ln.memoizedState=Rn=e:Rn=Rn.next=e,Rn}function mi(){if(On===null){var e=ln.alternate;e=e!==null?e.memoizedState:null}else e=On.next;var n=Rn===null?ln.memoizedState:Rn.next;if(n!==null)Rn=n,On=e;else{if(e===null)throw Error(i(310));On=e,e={memoizedState:On.memoizedState,baseState:On.baseState,baseQueue:On.baseQueue,queue:On.queue,next:null},Rn===null?ln.memoizedState=Rn=e:Rn=Rn.next=e}return Rn}function su(e,n){return typeof n=="function"?n(e):n}function Od(e){var n=mi(),o=n.queue;if(o===null)throw Error(i(311));o.lastRenderedReducer=e;var s=On,d=s.baseQueue,m=o.pending;if(m!==null){if(d!==null){var k=d.next;d.next=m.next,m.next=k}s.baseQueue=d=m,o.pending=null}if(d!==null){m=d.next,s=s.baseState;var I=k=null,H=null,ee=m;do{var ce=ee.lane;if((Oa&ce)===ce)H!==null&&(H=H.next={lane:0,action:ee.action,hasEagerState:ee.hasEagerState,eagerState:ee.eagerState,next:null}),s=ee.hasEagerState?ee.eagerState:e(s,ee.action);else{var de={lane:ce,action:ee.action,hasEagerState:ee.hasEagerState,eagerState:ee.eagerState,next:null};H===null?(I=H=de,k=s):H=H.next=de,ln.lanes|=ce,Da|=ce}ee=ee.next}while(ee!==null&&ee!==m);H===null?k=s:H.next=I,ke(s,n.memoizedState)||(kr=!0),n.memoizedState=s,n.baseState=k,n.baseQueue=H,o.lastRenderedState=s}if(e=o.interleaved,e!==null){d=e;do m=d.lane,ln.lanes|=m,Da|=m,d=d.next;while(d!==e)}else d===null&&(o.lanes=0);return[n.memoizedState,o.dispatch]}function Dd(e){var n=mi(),o=n.queue;if(o===null)throw Error(i(311));o.lastRenderedReducer=e;var s=o.dispatch,d=o.pending,m=n.memoizedState;if(d!==null){o.pending=null;var k=d=d.next;do m=e(m,k.action),k=k.next;while(k!==d);ke(m,n.memoizedState)||(kr=!0),n.memoizedState=m,n.baseQueue===null&&(n.baseState=m),o.lastRenderedState=m}return[m,s]}function Yy(){}function Jy(e,n){var o=ln,s=mi(),d=n(),m=!ke(s.memoizedState,d);if(m&&(s.memoizedState=d,kr=!0),s=s.queue,Md(eb.bind(null,o,s,e),[e]),s.getSnapshot!==n||m||Rn!==null&&Rn.memoizedState.tag&1){if(o.flags|=2048,cu(9,Gy.bind(null,o,s,d,n),void 0,null),In===null)throw Error(i(349));Oa&30||Wy(o,n,d)}return d}function Wy(e,n,o){e.flags|=16384,e={getSnapshot:n,value:o},n=ln.updateQueue,n===null?(n={lastEffect:null,stores:null},ln.updateQueue=n,n.stores=[e]):(o=n.stores,o===null?n.stores=[e]:o.push(e))}function Gy(e,n,o,s){n.value=o,n.getSnapshot=s,tb(n)&&nb(e)}function eb(e,n,o){return o(function(){tb(n)&&nb(e)})}function tb(e){var n=e.getSnapshot;e=e.value;try{var o=n();return!ke(e,o)}catch{return!0}}function nb(e){var n=_o(e,1);n!==null&&Mi(n,e,1,-1)}function rb(e){var n=$i();return typeof e=="function"&&(e=e()),n.memoizedState=n.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:su,lastRenderedState:e},n.queue=e,e=e.dispatch=k2.bind(null,ln,e),[n.memoizedState,e]}function cu(e,n,o,s){return e={tag:e,create:n,destroy:o,deps:s,next:null},n=ln.updateQueue,n===null?(n={lastEffect:null,stores:null},ln.updateQueue=n,n.lastEffect=e.next=e):(o=n.lastEffect,o===null?n.lastEffect=e.next=e:(s=o.next,o.next=e,e.next=s,n.lastEffect=e)),e}function ib(){return mi().memoizedState}function Ts(e,n,o,s){var d=$i();ln.flags|=e,d.memoizedState=cu(1|n,o,void 0,s===void 0?null:s)}function zs(e,n,o,s){var d=mi();s=s===void 0?null:s;var m=void 0;if(On!==null){var k=On.memoizedState;if(m=k.destroy,s!==null&&Ed(s,k.deps)){d.memoizedState=cu(n,o,m,s);return}}ln.flags|=e,d.memoizedState=cu(1|n,o,m,s)}function ob(e,n){return Ts(8390656,8,e,n)}function Md(e,n){return zs(2048,8,e,n)}function ab(e,n){return zs(4,2,e,n)}function lb(e,n){return zs(4,4,e,n)}function ub(e,n){if(typeof n=="function")return e=e(),n(e),function(){n(null)};if(n!=null)return e=e(),n.current=e,function(){n.current=null}}function sb(e,n,o){return o=o!=null?o.concat([e]):null,zs(4,4,ub.bind(null,n,e),o)}function Ld(){}function cb(e,n){var o=mi();n=n===void 0?null:n;var s=o.memoizedState;return s!==null&&n!==null&&Ed(n,s[1])?s[0]:(o.memoizedState=[e,n],e)}function fb(e,n){var o=mi();n=n===void 0?null:n;var s=o.memoizedState;return s!==null&&n!==null&&Ed(n,s[1])?s[0]:(e=e(),o.memoizedState=[e,n],e)}function db(e,n,o){return Oa&21?(ke(o,n)||(o=B(),ln.lanes|=o,Da|=o,e.baseState=!0),n):(e.baseState&&(e.baseState=!1,kr=!0),e.memoizedState=o)}function x2(e,n){var o=be;be=o!==0&&4>o?o:4,e(!0);var s=xd.transition;xd.transition={};try{e(!1),n()}finally{be=o,xd.transition=s}}function pb(){return mi().memoizedState}function E2(e,n,o){var s=Go(e);if(o={lane:s,action:o,hasEagerState:!1,eagerState:null,next:null},hb(e))mb(n,o);else if(o=jy(e,n,o,s),o!==null){var d=lr();Mi(o,e,s,d),gb(o,n,s)}}function k2(e,n,o){var s=Go(e),d={lane:s,action:o,hasEagerState:!1,eagerState:null,next:null};if(hb(e))mb(n,d);else{var m=e.alternate;if(e.lanes===0&&(m===null||m.lanes===0)&&(m=n.lastRenderedReducer,m!==null))try{var k=n.lastRenderedState,I=m(k,o);if(d.hasEagerState=!0,d.eagerState=I,ke(I,k)){var H=n.interleaved;H===null?(d.next=d,md(n)):(d.next=H.next,H.next=d),n.interleaved=d;return}}catch{}finally{}o=jy(e,n,d,s),o!==null&&(d=lr(),Mi(o,e,s,d),gb(o,n,s))}}function hb(e){var n=e.alternate;return e===ln||n!==null&&n===ln}function mb(e,n){lu=js=!0;var o=e.pending;o===null?n.next=n:(n.next=o.next,o.next=n),e.pending=n}function gb(e,n,o){if(o&4194240){var s=n.lanes;s&=e.pendingLanes,o|=s,n.lanes=o,me(e,o)}}var Hs={readContext:hi,useCallback:Yn,useContext:Yn,useEffect:Yn,useImperativeHandle:Yn,useInsertionEffect:Yn,useLayoutEffect:Yn,useMemo:Yn,useReducer:Yn,useRef:Yn,useState:Yn,useDebugValue:Yn,useDeferredValue:Yn,useTransition:Yn,useMutableSource:Yn,useSyncExternalStore:Yn,useId:Yn,unstable_isNewReconciler:!1},N2={readContext:hi,useCallback:function(e,n){return $i().memoizedState=[e,n===void 0?null:n],e},useContext:hi,useEffect:ob,useImperativeHandle:function(e,n,o){return o=o!=null?o.concat([e]):null,Ts(4194308,4,ub.bind(null,n,e),o)},useLayoutEffect:function(e,n){return Ts(4194308,4,e,n)},useInsertionEffect:function(e,n){return Ts(4,2,e,n)},useMemo:function(e,n){var o=$i();return n=n===void 0?null:n,e=e(),o.memoizedState=[e,n],e},useReducer:function(e,n,o){var s=$i();return n=o!==void 0?o(n):n,s.memoizedState=s.baseState=n,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:n},s.queue=e,e=e.dispatch=E2.bind(null,ln,e),[s.memoizedState,e]},useRef:function(e){var n=$i();return e={current:e},n.memoizedState=e},useState:rb,useDebugValue:Ld,useDeferredValue:function(e){return $i().memoizedState=e},useTransition:function(){var e=rb(!1),n=e[0];return e=x2.bind(null,e[1]),$i().memoizedState=e,[n,e]},useMutableSource:function(){},useSyncExternalStore:function(e,n,o){var s=ln,d=$i();if(Gt){if(o===void 0)throw Error(i(407));o=o()}else{if(o=n(),In===null)throw Error(i(349));Oa&30||Wy(s,n,o)}d.memoizedState=o;var m={value:o,getSnapshot:n};return d.queue=m,ob(eb.bind(null,s,m,e),[e]),s.flags|=2048,cu(9,Gy.bind(null,s,m,o,n),void 0,null),o},useId:function(){var e=$i(),n=In.identifierPrefix;if(Gt){var o=bo,s=yo;o=(s&~(1<<32-un(s)-1)).toString(32)+o,n=":"+n+"R"+o,o=uu++,0<o&&(n+="H"+o.toString(32)),n+=":"}else o=S2++,n=":"+n+"r"+o.toString(32)+":";return e.memoizedState=n},unstable_isNewReconciler:!1},O2={readContext:hi,useCallback:cb,useContext:hi,useEffect:Md,useImperativeHandle:sb,useInsertionEffect:ab,useLayoutEffect:lb,useMemo:fb,useReducer:Od,useRef:ib,useState:function(){return Od(su)},useDebugValue:Ld,useDeferredValue:function(e){var n=mi();return db(n,On.memoizedState,e)},useTransition:function(){var e=Od(su)[0],n=mi().memoizedState;return[e,n]},useMutableSource:Yy,useSyncExternalStore:Jy,useId:pb,unstable_isNewReconciler:!1},D2={readContext:hi,useCallback:cb,useContext:hi,useEffect:Md,useImperativeHandle:sb,useInsertionEffect:ab,useLayoutEffect:lb,useMemo:fb,useReducer:Dd,useRef:ib,useState:function(){return Dd(su)},useDebugValue:Ld,useDeferredValue:function(e){var n=mi();return On===null?n.memoizedState=e:db(n,On.memoizedState,e)},useTransition:function(){var e=Dd(su)[0],n=mi().memoizedState;return[e,n]},useMutableSource:Yy,useSyncExternalStore:Jy,useId:pb,unstable_isNewReconciler:!1};function hl(e,n){try{var o="",s=n;do o+=qe(s),s=s.return;while(s);var d=o}catch(m){d=`
50
50
  Error generating stack: `+m.message+`
51
- `+m.stack}return{value:e,source:n,stack:d,digest:null}}function md(e,n,o){return{value:e,source:null,stack:o??null,digest:n??null}}function gd(e,n){try{console.error(n.value)}catch(o){setTimeout(function(){throw o})}}var _3=typeof WeakMap=="function"?WeakMap:Map;function zy(e,n,o){o=yo(-1,o),o.tag=3,o.payload={element:null};var s=n.value;return o.callback=function(){Ts||(Ts=!0,Ld=s),gd(e,n)},o}function Hy(e,n,o){o=yo(-1,o),o.tag=3;var s=e.type.getDerivedStateFromError;if(typeof s=="function"){var d=n.value;o.payload=function(){return s(d)},o.callback=function(){gd(e,n)}}var m=e.stateNode;return m!==null&&typeof m.componentDidCatch=="function"&&(o.callback=function(){gd(e,n),typeof s!="function"&&(Qo===null?Qo=new Set([this]):Qo.add(this));var E=n.stack;this.componentDidCatch(n.value,{componentStack:E!==null?E:""})}),o}function qy(e,n,o){var s=e.pingCache;if(s===null){s=e.pingCache=new _3;var d=new Set;s.set(n,d)}else d=s.get(n),d===void 0&&(d=new Set,s.set(n,d));d.has(o)||(d.add(o),e=P3.bind(null,e,n,o),n.then(e,e))}function Ay(e){do{var n;if((n=e.tag===13)&&(n=e.memoizedState,n=n!==null?n.dehydrated!==null:!0),n)return e;e=e.return}while(e!==null);return null}function Uy(e,n,o,s,d){return e.mode&1?(e.flags|=65536,e.lanes=d,e):(e===n?e.flags|=65536:(e.flags|=128,o.flags|=131072,o.flags&=-52805,o.tag===1&&(o.alternate===null?o.tag=17:(n=yo(-1,1),n.tag=2,Uo(o,n,1))),o.lanes|=1),e)}var w3=J.ReactCurrentOwner,kr=!1;function ir(e,n,o,s){n.child=e===null?vy(n,null,o,s):ol(n,e.child,o,s)}function Vy(e,n,o,s,d){o=o.render;var m=n.ref;return il(n,d),s=sd(e,n,o,s,m,d),o=cd(),e!==null&&!kr?(n.updateQueue=e.updateQueue,n.flags&=-2053,e.lanes&=~d,bo(e,n,d)):(Zt&&o&&Uf(n),n.flags|=1,ir(e,n,s,d),n.child)}function Qy(e,n,o,s,d){if(e===null){var m=o.type;return typeof m=="function"&&!Id(m)&&m.defaultProps===void 0&&o.compare===null&&o.defaultProps===void 0?(n.tag=15,n.type=m,$y(e,n,m,s,d)):(e=Vs(o.type,null,s,n,n.mode,d),e.ref=n.ref,e.return=n,n.child=e)}if(m=e.child,!(e.lanes&d)){var E=m.memoizedProps;if(o=o.compare,o=o!==null?o:Ze,o(E,s)&&e.ref===n.ref)return bo(e,n,d)}return n.flags|=1,e=Jo(m,s),e.ref=n.ref,e.return=n,n.child=e}function $y(e,n,o,s,d){if(e!==null){var m=e.memoizedProps;if(Ze(m,s)&&e.ref===n.ref)if(kr=!1,n.pendingProps=s=m,(e.lanes&d)!==0)e.flags&131072&&(kr=!0);else return n.lanes=e.lanes,bo(e,n,d)}return vd(e,n,o,s,d)}function Xy(e,n,o){var s=n.pendingProps,d=s.children,m=e!==null?e.memoizedState:null;if(s.mode==="hidden")if(!(n.mode&1))n.memoizedState={baseLanes:0,cachePool:null,transitions:null},qt(sl,Vr),Vr|=o;else{if(!(o&1073741824))return e=m!==null?m.baseLanes|o:o,n.lanes=n.childLanes=1073741824,n.memoizedState={baseLanes:e,cachePool:null,transitions:null},n.updateQueue=null,qt(sl,Vr),Vr|=e,null;n.memoizedState={baseLanes:0,cachePool:null,transitions:null},s=m!==null?m.baseLanes:o,qt(sl,Vr),Vr|=s}else m!==null?(s=m.baseLanes|o,n.memoizedState=null):s=o,qt(sl,Vr),Vr|=s;return ir(e,n,d,o),n.child}function Zy(e,n){var o=n.ref;(e===null&&o!==null||e!==null&&e.ref!==o)&&(n.flags|=512,n.flags|=2097152)}function vd(e,n,o,s,d){var m=Sr(o)?ya:Xn.current;return m=Ga(n,m),il(n,d),o=sd(e,n,o,s,m,d),s=cd(),e!==null&&!kr?(n.updateQueue=e.updateQueue,n.flags&=-2053,e.lanes&=~d,bo(e,n,d)):(Zt&&s&&Uf(n),n.flags|=1,ir(e,n,o,d),n.child)}function Jy(e,n,o,s,d){if(Sr(o)){var m=!0;gs(n)}else m=!1;if(il(n,d),n.stateNode===null)Ps(e,n),py(n,o,s),nd(n,o,s,d),s=!0;else if(e===null){var E=n.stateNode,K=n.memoizedProps;E.props=K;var z=E.context,G=o.contextType;typeof G=="object"&&G!==null?G=fi(G):(G=Sr(o)?ya:Xn.current,G=Ga(n,G));var ce=o.getDerivedStateFromProps,de=typeof ce=="function"||typeof E.getSnapshotBeforeUpdate=="function";de||typeof E.UNSAFE_componentWillReceiveProps!="function"&&typeof E.componentWillReceiveProps!="function"||(K!==s||z!==G)&&hy(n,E,s,G),Ao=!1;var se=n.memoizedState;E.state=se,xs(n,s,E,d),z=n.memoizedState,K!==s||se!==z||wr.current||Ao?(typeof ce=="function"&&(td(n,o,ce,s),z=n.memoizedState),(K=Ao||dy(n,o,K,s,se,z,G))?(de||typeof E.UNSAFE_componentWillMount!="function"&&typeof E.componentWillMount!="function"||(typeof E.componentWillMount=="function"&&E.componentWillMount(),typeof E.UNSAFE_componentWillMount=="function"&&E.UNSAFE_componentWillMount()),typeof E.componentDidMount=="function"&&(n.flags|=4194308)):(typeof E.componentDidMount=="function"&&(n.flags|=4194308),n.memoizedProps=s,n.memoizedState=z),E.props=s,E.state=z,E.context=G,s=K):(typeof E.componentDidMount=="function"&&(n.flags|=4194308),s=!1)}else{E=n.stateNode,uy(e,n),K=n.memoizedProps,G=n.type===n.elementType?K:ki(n.type,K),E.props=G,de=n.pendingProps,se=E.context,z=o.contextType,typeof z=="object"&&z!==null?z=fi(z):(z=Sr(o)?ya:Xn.current,z=Ga(n,z));var Ne=o.getDerivedStateFromProps;(ce=typeof Ne=="function"||typeof E.getSnapshotBeforeUpdate=="function")||typeof E.UNSAFE_componentWillReceiveProps!="function"&&typeof E.componentWillReceiveProps!="function"||(K!==de||se!==z)&&hy(n,E,s,z),Ao=!1,se=n.memoizedState,E.state=se,xs(n,s,E,d);var Be=n.memoizedState;K!==de||se!==Be||wr.current||Ao?(typeof Ne=="function"&&(td(n,o,Ne,s),Be=n.memoizedState),(G=Ao||dy(n,o,G,s,se,Be,z)||!1)?(ce||typeof E.UNSAFE_componentWillUpdate!="function"&&typeof E.componentWillUpdate!="function"||(typeof E.componentWillUpdate=="function"&&E.componentWillUpdate(s,Be,z),typeof E.UNSAFE_componentWillUpdate=="function"&&E.UNSAFE_componentWillUpdate(s,Be,z)),typeof E.componentDidUpdate=="function"&&(n.flags|=4),typeof E.getSnapshotBeforeUpdate=="function"&&(n.flags|=1024)):(typeof E.componentDidUpdate!="function"||K===e.memoizedProps&&se===e.memoizedState||(n.flags|=4),typeof E.getSnapshotBeforeUpdate!="function"||K===e.memoizedProps&&se===e.memoizedState||(n.flags|=1024),n.memoizedProps=s,n.memoizedState=Be),E.props=s,E.state=Be,E.context=z,s=G):(typeof E.componentDidUpdate!="function"||K===e.memoizedProps&&se===e.memoizedState||(n.flags|=4),typeof E.getSnapshotBeforeUpdate!="function"||K===e.memoizedProps&&se===e.memoizedState||(n.flags|=1024),s=!1)}return yd(e,n,o,s,m,d)}function yd(e,n,o,s,d,m){Zy(e,n);var E=(n.flags&128)!==0;if(!s&&!E)return d&&ey(n,o,!1),bo(e,n,m);s=n.stateNode,w3.current=n;var K=E&&typeof o.getDerivedStateFromError!="function"?null:s.render();return n.flags|=1,e!==null&&E?(n.child=ol(n,e.child,null,m),n.child=ol(n,null,K,m)):ir(e,n,K,m),n.memoizedState=s.state,d&&ey(n,o,!0),n.child}function Yy(e){var n=e.stateNode;n.pendingContext?Wv(e,n.pendingContext,n.pendingContext!==n.context):n.context&&Wv(e,n.context,!1),rd(e,n.containerInfo)}function Wy(e,n,o,s,d){return nl(),Xf(d),n.flags|=256,ir(e,n,o,s),n.child}var bd={dehydrated:null,treeContext:null,retryLane:0};function _d(e){return{baseLanes:e,cachePool:null,transitions:null}}function Gy(e,n,o){var s=n.pendingProps,d=tn.current,m=!1,E=(n.flags&128)!==0,K;if((K=E)||(K=e!==null&&e.memoizedState===null?!1:(d&2)!==0),K?(m=!0,n.flags&=-129):(e===null||e.memoizedState!==null)&&(d|=1),qt(tn,d&1),e===null)return $f(n),e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(n.mode&1?e.data==="$!"?n.lanes=8:n.lanes=1073741824:n.lanes=1,null):(E=s.children,e=s.fallback,m?(s=n.mode,m=n.child,E={mode:"hidden",children:E},!(s&1)&&m!==null?(m.childLanes=0,m.pendingProps=E):m=Qs(E,s,0,null),e=Da(e,s,o,null),m.return=n,e.return=n,m.sibling=e,n.child=m,n.child.memoizedState=_d(o),n.memoizedState=bd,e):wd(n,E));if(d=e.memoizedState,d!==null&&(K=d.dehydrated,K!==null))return S3(e,n,E,s,K,d,o);if(m){m=s.fallback,E=n.mode,d=e.child,K=d.sibling;var z={mode:"hidden",children:s.children};return!(E&1)&&n.child!==d?(s=n.child,s.childLanes=0,s.pendingProps=z,n.deletions=null):(s=Jo(d,z),s.subtreeFlags=d.subtreeFlags&14680064),K!==null?m=Jo(K,m):(m=Da(m,E,o,null),m.flags|=2),m.return=n,s.return=n,s.sibling=m,n.child=s,s=m,m=n.child,E=e.child.memoizedState,E=E===null?_d(o):{baseLanes:E.baseLanes|o,cachePool:null,transitions:E.transitions},m.memoizedState=E,m.childLanes=e.childLanes&~o,n.memoizedState=bd,s}return m=e.child,e=m.sibling,s=Jo(m,{mode:"visible",children:s.children}),!(n.mode&1)&&(s.lanes=o),s.return=n,s.sibling=null,e!==null&&(o=n.deletions,o===null?(n.deletions=[e],n.flags|=16):o.push(e)),n.child=s,n.memoizedState=null,s}function wd(e,n){return n=Qs({mode:"visible",children:n},e.mode,0,null),n.return=e,e.child=n}function Fs(e,n,o,s){return s!==null&&Xf(s),ol(n,e.child,null,o),e=wd(n,n.pendingProps.children),e.flags|=2,n.memoizedState=null,e}function S3(e,n,o,s,d,m,E){if(o)return n.flags&256?(n.flags&=-257,s=md(Error(i(422))),Fs(e,n,E,s)):n.memoizedState!==null?(n.child=e.child,n.flags|=128,null):(m=s.fallback,d=n.mode,s=Qs({mode:"visible",children:s.children},d,0,null),m=Da(m,d,E,null),m.flags|=2,s.return=n,m.return=n,s.sibling=m,n.child=s,n.mode&1&&ol(n,e.child,null,E),n.child.memoizedState=_d(E),n.memoizedState=bd,m);if(!(n.mode&1))return Fs(e,n,E,null);if(d.data==="$!"){if(s=d.nextSibling&&d.nextSibling.dataset,s)var K=s.dgst;return s=K,m=Error(i(419)),s=md(m,s,void 0),Fs(e,n,E,s)}if(K=(E&e.childLanes)!==0,kr||K){if(s=Kn,s!==null){switch(E&-E){case 4:d=2;break;case 16:d=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:d=32;break;case 536870912:d=268435456;break;default:d=0}d=d&(s.suspendedLanes|E)?0:d,d!==0&&d!==m.retryLane&&(m.retryLane=d,vo(e,d),Oi(s,e,d,-1))}return Rd(),s=md(Error(i(421))),Fs(e,n,E,s)}return d.data==="$?"?(n.flags|=128,n.child=e.child,n=K3.bind(null,e),d._reactRetry=n,null):(e=m.treeContext,Ur=To(d.nextSibling),Ar=n,Zt=!0,Si=null,e!==null&&(si[ci++]=mo,si[ci++]=go,si[ci++]=ba,mo=e.id,go=e.overflow,ba=n),n=wd(n,s.children),n.flags|=4096,n)}function eb(e,n,o){e.lanes|=n;var s=e.alternate;s!==null&&(s.lanes|=n),Wf(e.return,n,o)}function Sd(e,n,o,s,d){var m=e.memoizedState;m===null?e.memoizedState={isBackwards:n,rendering:null,renderingStartTime:0,last:s,tail:o,tailMode:d}:(m.isBackwards=n,m.rendering=null,m.renderingStartTime=0,m.last=s,m.tail=o,m.tailMode=d)}function tb(e,n,o){var s=n.pendingProps,d=s.revealOrder,m=s.tail;if(ir(e,n,s.children,o),s=tn.current,s&2)s=s&1|2,n.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=n.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&eb(e,o,n);else if(e.tag===19)eb(e,o,n);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===n)break e;for(;e.sibling===null;){if(e.return===null||e.return===n)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}s&=1}if(qt(tn,s),!(n.mode&1))n.memoizedState=null;else switch(d){case"forwards":for(o=n.child,d=null;o!==null;)e=o.alternate,e!==null&&Ns(e)===null&&(d=o),o=o.sibling;o=d,o===null?(d=n.child,n.child=null):(d=o.sibling,o.sibling=null),Sd(n,!1,d,o,m);break;case"backwards":for(o=null,d=n.child,n.child=null;d!==null;){if(e=d.alternate,e!==null&&Ns(e)===null){n.child=d;break}e=d.sibling,d.sibling=o,o=d,d=e}Sd(n,!0,o,null,m);break;case"together":Sd(n,!1,null,null,void 0);break;default:n.memoizedState=null}return n.child}function Ps(e,n){!(n.mode&1)&&e!==null&&(e.alternate=null,n.alternate=null,n.flags|=2)}function bo(e,n,o){if(e!==null&&(n.dependencies=e.dependencies),xa|=n.lanes,!(o&n.childLanes))return null;if(e!==null&&n.child!==e.child)throw Error(i(153));if(n.child!==null){for(e=n.child,o=Jo(e,e.pendingProps),n.child=o,o.return=n;e.sibling!==null;)e=e.sibling,o=o.sibling=Jo(e,e.pendingProps),o.return=n;o.sibling=null}return n.child}function k3(e,n,o){switch(n.tag){case 3:Yy(n),nl();break;case 5:yy(n);break;case 1:Sr(n.type)&&gs(n);break;case 4:rd(n,n.stateNode.containerInfo);break;case 10:var s=n.type._context,d=n.memoizedProps.value;qt(ws,s._currentValue),s._currentValue=d;break;case 13:if(s=n.memoizedState,s!==null)return s.dehydrated!==null?(qt(tn,tn.current&1),n.flags|=128,null):o&n.child.childLanes?Gy(e,n,o):(qt(tn,tn.current&1),e=bo(e,n,o),e!==null?e.sibling:null);qt(tn,tn.current&1);break;case 19:if(s=(o&n.childLanes)!==0,e.flags&128){if(s)return tb(e,n,o);n.flags|=128}if(d=n.memoizedState,d!==null&&(d.rendering=null,d.tail=null,d.lastEffect=null),qt(tn,tn.current),s)break;return null;case 22:case 23:return n.lanes=0,Xy(e,n,o)}return bo(e,n,o)}var nb,kd,rb,ib;nb=function(e,n){for(var o=n.child;o!==null;){if(o.tag===5||o.tag===6)e.appendChild(o.stateNode);else if(o.tag!==4&&o.child!==null){o.child.return=o,o=o.child;continue}if(o===n)break;for(;o.sibling===null;){if(o.return===null||o.return===n)return;o=o.return}o.sibling.return=o.return,o=o.sibling}},kd=function(){},rb=function(e,n,o,s){var d=e.memoizedProps;if(d!==s){e=n.stateNode,Sa(Vi.current);var m=null;switch(o){case"input":d=ut(e,d),s=ut(e,s),m=[];break;case"select":d=ae({},d,{value:void 0}),s=ae({},s,{value:void 0}),m=[];break;case"textarea":d=Ft(e,d),s=Ft(e,s),m=[];break;default:typeof d.onClick!="function"&&typeof s.onClick=="function"&&(e.onclick=ps)}vi(o,s);var E;o=null;for(G in d)if(!s.hasOwnProperty(G)&&d.hasOwnProperty(G)&&d[G]!=null)if(G==="style"){var K=d[G];for(E in K)K.hasOwnProperty(E)&&(o||(o={}),o[E]="")}else G!=="dangerouslySetInnerHTML"&&G!=="children"&&G!=="suppressContentEditableWarning"&&G!=="suppressHydrationWarning"&&G!=="autoFocus"&&(u.hasOwnProperty(G)?m||(m=[]):(m=m||[]).push(G,null));for(G in s){var z=s[G];if(K=d?.[G],s.hasOwnProperty(G)&&z!==K&&(z!=null||K!=null))if(G==="style")if(K){for(E in K)!K.hasOwnProperty(E)||z&&z.hasOwnProperty(E)||(o||(o={}),o[E]="");for(E in z)z.hasOwnProperty(E)&&K[E]!==z[E]&&(o||(o={}),o[E]=z[E])}else o||(m||(m=[]),m.push(G,o)),o=z;else G==="dangerouslySetInnerHTML"?(z=z?z.__html:void 0,K=K?K.__html:void 0,z!=null&&K!==z&&(m=m||[]).push(G,z)):G==="children"?typeof z!="string"&&typeof z!="number"||(m=m||[]).push(G,""+z):G!=="suppressContentEditableWarning"&&G!=="suppressHydrationWarning"&&(u.hasOwnProperty(G)?(z!=null&&G==="onScroll"&&Vt("scroll",e),m||K===z||(m=[])):(m=m||[]).push(G,z))}o&&(m=m||[]).push("style",o);var G=m;(n.updateQueue=G)&&(n.flags|=4)}},ib=function(e,n,o,s){o!==s&&(n.flags|=4)};function nu(e,n){if(!Zt)switch(e.tailMode){case"hidden":n=e.tail;for(var o=null;n!==null;)n.alternate!==null&&(o=n),n=n.sibling;o===null?e.tail=null:o.sibling=null;break;case"collapsed":o=e.tail;for(var s=null;o!==null;)o.alternate!==null&&(s=o),o=o.sibling;s===null?n||e.tail===null?e.tail=null:e.tail.sibling=null:s.sibling=null}}function Jn(e){var n=e.alternate!==null&&e.alternate.child===e.child,o=0,s=0;if(n)for(var d=e.child;d!==null;)o|=d.lanes|d.childLanes,s|=d.subtreeFlags&14680064,s|=d.flags&14680064,d.return=e,d=d.sibling;else for(d=e.child;d!==null;)o|=d.lanes|d.childLanes,s|=d.subtreeFlags,s|=d.flags,d.return=e,d=d.sibling;return e.subtreeFlags|=s,e.childLanes=o,n}function x3(e,n,o){var s=n.pendingProps;switch(Vf(n),n.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Jn(n),null;case 1:return Sr(n.type)&&ms(),Jn(n),null;case 3:return s=n.stateNode,al(),Qt(wr),Qt(Xn),ad(),s.pendingContext&&(s.context=s.pendingContext,s.pendingContext=null),(e===null||e.child===null)&&(_s(n)?n.flags|=4:e===null||e.memoizedState.isDehydrated&&!(n.flags&256)||(n.flags|=1024,Si!==null&&(Fd(Si),Si=null))),kd(e,n),Jn(n),null;case 5:id(n);var d=Sa(Yl.current);if(o=n.type,e!==null&&n.stateNode!=null)rb(e,n,o,s,d),e.ref!==n.ref&&(n.flags|=512,n.flags|=2097152);else{if(!s){if(n.stateNode===null)throw Error(i(166));return Jn(n),null}if(e=Sa(Vi.current),_s(n)){s=n.stateNode,o=n.type;var m=n.memoizedProps;switch(s[Ui]=n,s[Ql]=m,e=(n.mode&1)!==0,o){case"dialog":Vt("cancel",s),Vt("close",s);break;case"iframe":case"object":case"embed":Vt("load",s);break;case"video":case"audio":for(d=0;d<Al.length;d++)Vt(Al[d],s);break;case"source":Vt("error",s);break;case"img":case"image":case"link":Vt("error",s),Vt("load",s);break;case"details":Vt("toggle",s);break;case"input":lt(s,m),Vt("invalid",s);break;case"select":s._wrapperState={wasMultiple:!!m.multiple},Vt("invalid",s);break;case"textarea":Fe(s,m),Vt("invalid",s)}vi(o,m),d=null;for(var E in m)if(m.hasOwnProperty(E)){var K=m[E];E==="children"?typeof K=="string"?s.textContent!==K&&(m.suppressHydrationWarning!==!0&&ds(s.textContent,K,e),d=["children",K]):typeof K=="number"&&s.textContent!==""+K&&(m.suppressHydrationWarning!==!0&&ds(s.textContent,K,e),d=["children",""+K]):u.hasOwnProperty(E)&&K!=null&&E==="onScroll"&&Vt("scroll",s)}switch(o){case"input":xt(s),Lt(s,m,!0);break;case"textarea":xt(s),Je(s);break;case"select":case"option":break;default:typeof m.onClick=="function"&&(s.onclick=ps)}s=d,n.updateQueue=s,s!==null&&(n.flags|=4)}else{E=d.nodeType===9?d:d.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=ht(o)),e==="http://www.w3.org/1999/xhtml"?o==="script"?(e=E.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof s.is=="string"?e=E.createElement(o,{is:s.is}):(e=E.createElement(o),o==="select"&&(E=e,s.multiple?E.multiple=!0:s.size&&(E.size=s.size))):e=E.createElementNS(e,o),e[Ui]=n,e[Ql]=s,nb(e,n,!1,!1),n.stateNode=e;e:{switch(E=$t(o,s),o){case"dialog":Vt("cancel",e),Vt("close",e),d=s;break;case"iframe":case"object":case"embed":Vt("load",e),d=s;break;case"video":case"audio":for(d=0;d<Al.length;d++)Vt(Al[d],e);d=s;break;case"source":Vt("error",e),d=s;break;case"img":case"image":case"link":Vt("error",e),Vt("load",e),d=s;break;case"details":Vt("toggle",e),d=s;break;case"input":lt(e,s),d=ut(e,s),Vt("invalid",e);break;case"option":d=s;break;case"select":e._wrapperState={wasMultiple:!!s.multiple},d=ae({},s,{value:void 0}),Vt("invalid",e);break;case"textarea":Fe(e,s),d=Ft(e,s),Vt("invalid",e);break;default:d=s}vi(o,d),K=d;for(m in K)if(K.hasOwnProperty(m)){var z=K[m];m==="style"?eo(e,z):m==="dangerouslySetInnerHTML"?(z=z?z.__html:void 0,z!=null&&ct(e,z)):m==="children"?typeof z=="string"?(o!=="textarea"||z!=="")&&Sn(e,z):typeof z=="number"&&Sn(e,""+z):m!=="suppressContentEditableWarning"&&m!=="suppressHydrationWarning"&&m!=="autoFocus"&&(u.hasOwnProperty(m)?z!=null&&m==="onScroll"&&Vt("scroll",e):z!=null&&W(e,m,z,E))}switch(o){case"input":xt(e),Lt(e,s,!1);break;case"textarea":xt(e),Je(e);break;case"option":s.value!=null&&e.setAttribute("value",""+Pt(s.value));break;case"select":e.multiple=!!s.multiple,m=s.value,m!=null?pt(e,!!s.multiple,m,!1):s.defaultValue!=null&&pt(e,!!s.multiple,s.defaultValue,!0);break;default:typeof d.onClick=="function"&&(e.onclick=ps)}switch(o){case"button":case"input":case"select":case"textarea":s=!!s.autoFocus;break e;case"img":s=!0;break e;default:s=!1}}s&&(n.flags|=4)}n.ref!==null&&(n.flags|=512,n.flags|=2097152)}return Jn(n),null;case 6:if(e&&n.stateNode!=null)ib(e,n,e.memoizedProps,s);else{if(typeof s!="string"&&n.stateNode===null)throw Error(i(166));if(o=Sa(Yl.current),Sa(Vi.current),_s(n)){if(s=n.stateNode,o=n.memoizedProps,s[Ui]=n,(m=s.nodeValue!==o)&&(e=Ar,e!==null))switch(e.tag){case 3:ds(s.nodeValue,o,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&ds(s.nodeValue,o,(e.mode&1)!==0)}m&&(n.flags|=4)}else s=(o.nodeType===9?o:o.ownerDocument).createTextNode(s),s[Ui]=n,n.stateNode=s}return Jn(n),null;case 13:if(Qt(tn),s=n.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(Zt&&Ur!==null&&n.mode&1&&!(n.flags&128))ay(),nl(),n.flags|=98560,m=!1;else if(m=_s(n),s!==null&&s.dehydrated!==null){if(e===null){if(!m)throw Error(i(318));if(m=n.memoizedState,m=m!==null?m.dehydrated:null,!m)throw Error(i(317));m[Ui]=n}else nl(),!(n.flags&128)&&(n.memoizedState=null),n.flags|=4;Jn(n),m=!1}else Si!==null&&(Fd(Si),Si=null),m=!0;if(!m)return n.flags&65536?n:null}return n.flags&128?(n.lanes=o,n):(s=s!==null,s!==(e!==null&&e.memoizedState!==null)&&s&&(n.child.flags|=8192,n.mode&1&&(e===null||tn.current&1?Nn===0&&(Nn=3):Rd())),n.updateQueue!==null&&(n.flags|=4),Jn(n),null);case 4:return al(),kd(e,n),e===null&&Ul(n.stateNode.containerInfo),Jn(n),null;case 10:return Yf(n.type._context),Jn(n),null;case 17:return Sr(n.type)&&ms(),Jn(n),null;case 19:if(Qt(tn),m=n.memoizedState,m===null)return Jn(n),null;if(s=(n.flags&128)!==0,E=m.rendering,E===null)if(s)nu(m,!1);else{if(Nn!==0||e!==null&&e.flags&128)for(e=n.child;e!==null;){if(E=Ns(e),E!==null){for(n.flags|=128,nu(m,!1),s=E.updateQueue,s!==null&&(n.updateQueue=s,n.flags|=4),n.subtreeFlags=0,s=o,o=n.child;o!==null;)m=o,e=s,m.flags&=14680066,E=m.alternate,E===null?(m.childLanes=0,m.lanes=e,m.child=null,m.subtreeFlags=0,m.memoizedProps=null,m.memoizedState=null,m.updateQueue=null,m.dependencies=null,m.stateNode=null):(m.childLanes=E.childLanes,m.lanes=E.lanes,m.child=E.child,m.subtreeFlags=0,m.deletions=null,m.memoizedProps=E.memoizedProps,m.memoizedState=E.memoizedState,m.updateQueue=E.updateQueue,m.type=E.type,e=E.dependencies,m.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),o=o.sibling;return qt(tn,tn.current&1|2),n.child}e=e.sibling}m.tail!==null&&gt()>cl&&(n.flags|=128,s=!0,nu(m,!1),n.lanes=4194304)}else{if(!s)if(e=Ns(E),e!==null){if(n.flags|=128,s=!0,o=e.updateQueue,o!==null&&(n.updateQueue=o,n.flags|=4),nu(m,!0),m.tail===null&&m.tailMode==="hidden"&&!E.alternate&&!Zt)return Jn(n),null}else 2*gt()-m.renderingStartTime>cl&&o!==1073741824&&(n.flags|=128,s=!0,nu(m,!1),n.lanes=4194304);m.isBackwards?(E.sibling=n.child,n.child=E):(o=m.last,o!==null?o.sibling=E:n.child=E,m.last=E)}return m.tail!==null?(n=m.tail,m.rendering=n,m.tail=n.sibling,m.renderingStartTime=gt(),n.sibling=null,o=tn.current,qt(tn,s?o&1|2:o&1),n):(Jn(n),null);case 22:case 23:return Kd(),s=n.memoizedState!==null,e!==null&&e.memoizedState!==null!==s&&(n.flags|=8192),s&&n.mode&1?Vr&1073741824&&(Jn(n),n.subtreeFlags&6&&(n.flags|=8192)):Jn(n),null;case 24:return null;case 25:return null}throw Error(i(156,n.tag))}function E3(e,n){switch(Vf(n),n.tag){case 1:return Sr(n.type)&&ms(),e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 3:return al(),Qt(wr),Qt(Xn),ad(),e=n.flags,e&65536&&!(e&128)?(n.flags=e&-65537|128,n):null;case 5:return id(n),null;case 13:if(Qt(tn),e=n.memoizedState,e!==null&&e.dehydrated!==null){if(n.alternate===null)throw Error(i(340));nl()}return e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 19:return Qt(tn),null;case 4:return al(),null;case 10:return Yf(n.type._context),null;case 22:case 23:return Kd(),null;case 24:return null;default:return null}}var Ks=!1,Yn=!1,O3=typeof WeakSet=="function"?WeakSet:Set,Le=null;function ul(e,n){var o=e.ref;if(o!==null)if(typeof o=="function")try{o(null)}catch(s){an(e,n,s)}else o.current=null}function ob(e,n,o){try{o()}catch(s){an(e,n,s)}}var ab=!1;function N3(e,n){if(Rf=vn,e=qr(),Io(e)){if("selectionStart"in e)var o={start:e.selectionStart,end:e.selectionEnd};else e:{o=(o=e.ownerDocument)&&o.defaultView||window;var s=o.getSelection&&o.getSelection();if(s&&s.rangeCount!==0){o=s.anchorNode;var d=s.anchorOffset,m=s.focusNode;s=s.focusOffset;try{o.nodeType,m.nodeType}catch{o=null;break e}var E=0,K=-1,z=-1,G=0,ce=0,de=e,se=null;t:for(;;){for(var Ne;de!==o||d!==0&&de.nodeType!==3||(K=E+d),de!==m||s!==0&&de.nodeType!==3||(z=E+s),de.nodeType===3&&(E+=de.nodeValue.length),(Ne=de.firstChild)!==null;)se=de,de=Ne;for(;;){if(de===e)break t;if(se===o&&++G===d&&(K=E),se===m&&++ce===s&&(z=E),(Ne=de.nextSibling)!==null)break;de=se,se=de.parentNode}de=Ne}o=K===-1||z===-1?null:{start:K,end:z}}else o=null}o=o||{start:0,end:0}}else o=null;for(If={focusedElem:e,selectionRange:o},vn=!1,Le=n;Le!==null;)if(n=Le,e=n.child,(n.subtreeFlags&1028)!==0&&e!==null)e.return=n,Le=e;else for(;Le!==null;){n=Le;try{var Be=n.alternate;if(n.flags&1024)switch(n.tag){case 0:case 11:case 15:break;case 1:if(Be!==null){var Pe=Be.memoizedProps,cn=Be.memoizedState,Q=n.stateNode,H=Q.getSnapshotBeforeUpdate(n.elementType===n.type?Pe:ki(n.type,Pe),cn);Q.__reactInternalSnapshotBeforeUpdate=H}break;case 3:var Z=n.stateNode.containerInfo;Z.nodeType===1?Z.textContent="":Z.nodeType===9&&Z.documentElement&&Z.removeChild(Z.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(i(163))}}catch(ye){an(n,n.return,ye)}if(e=n.sibling,e!==null){e.return=n.return,Le=e;break}Le=n.return}return Be=ab,ab=!1,Be}function ru(e,n,o){var s=n.updateQueue;if(s=s!==null?s.lastEffect:null,s!==null){var d=s=s.next;do{if((d.tag&e)===e){var m=d.destroy;d.destroy=void 0,m!==void 0&&ob(n,o,m)}d=d.next}while(d!==s)}}function Rs(e,n){if(n=n.updateQueue,n=n!==null?n.lastEffect:null,n!==null){var o=n=n.next;do{if((o.tag&e)===e){var s=o.create;o.destroy=s()}o=o.next}while(o!==n)}}function xd(e){var n=e.ref;if(n!==null){var o=e.stateNode;switch(e.tag){case 5:e=o;break;default:e=o}typeof n=="function"?n(e):n.current=e}}function lb(e){var n=e.alternate;n!==null&&(e.alternate=null,lb(n)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(n=e.stateNode,n!==null&&(delete n[Ui],delete n[Ql],delete n[Hf],delete n[s3],delete n[c3])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function ub(e){return e.tag===5||e.tag===3||e.tag===4}function sb(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||ub(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Ed(e,n,o){var s=e.tag;if(s===5||s===6)e=e.stateNode,n?o.nodeType===8?o.parentNode.insertBefore(e,n):o.insertBefore(e,n):(o.nodeType===8?(n=o.parentNode,n.insertBefore(e,o)):(n=o,n.appendChild(e)),o=o._reactRootContainer,o!=null||n.onclick!==null||(n.onclick=ps));else if(s!==4&&(e=e.child,e!==null))for(Ed(e,n,o),e=e.sibling;e!==null;)Ed(e,n,o),e=e.sibling}function Od(e,n,o){var s=e.tag;if(s===5||s===6)e=e.stateNode,n?o.insertBefore(e,n):o.appendChild(e);else if(s!==4&&(e=e.child,e!==null))for(Od(e,n,o),e=e.sibling;e!==null;)Od(e,n,o),e=e.sibling}var qn=null,xi=!1;function Vo(e,n,o){for(o=o.child;o!==null;)cb(e,n,o),o=o.sibling}function cb(e,n,o){if(Ln&&typeof Ln.onCommitFiberUnmount=="function")try{Ln.onCommitFiberUnmount(Xt,o)}catch{}switch(o.tag){case 5:Yn||ul(o,n);case 6:var s=qn,d=xi;qn=null,Vo(e,n,o),qn=s,xi=d,qn!==null&&(xi?(e=qn,o=o.stateNode,e.nodeType===8?e.parentNode.removeChild(o):e.removeChild(o)):qn.removeChild(o.stateNode));break;case 18:qn!==null&&(xi?(e=qn,o=o.stateNode,e.nodeType===8?zf(e.parentNode,o):e.nodeType===1&&zf(e,o),Gt(e)):zf(qn,o.stateNode));break;case 4:s=qn,d=xi,qn=o.stateNode.containerInfo,xi=!0,Vo(e,n,o),qn=s,xi=d;break;case 0:case 11:case 14:case 15:if(!Yn&&(s=o.updateQueue,s!==null&&(s=s.lastEffect,s!==null))){d=s=s.next;do{var m=d,E=m.destroy;m=m.tag,E!==void 0&&(m&2||m&4)&&ob(o,n,E),d=d.next}while(d!==s)}Vo(e,n,o);break;case 1:if(!Yn&&(ul(o,n),s=o.stateNode,typeof s.componentWillUnmount=="function"))try{s.props=o.memoizedProps,s.state=o.memoizedState,s.componentWillUnmount()}catch(K){an(o,n,K)}Vo(e,n,o);break;case 21:Vo(e,n,o);break;case 22:o.mode&1?(Yn=(s=Yn)||o.memoizedState!==null,Vo(e,n,o),Yn=s):Vo(e,n,o);break;default:Vo(e,n,o)}}function fb(e){var n=e.updateQueue;if(n!==null){e.updateQueue=null;var o=e.stateNode;o===null&&(o=e.stateNode=new O3),n.forEach(function(s){var d=R3.bind(null,e,s);o.has(s)||(o.add(s),s.then(d,d))})}}function Ei(e,n){var o=n.deletions;if(o!==null)for(var s=0;s<o.length;s++){var d=o[s];try{var m=e,E=n,K=E;e:for(;K!==null;){switch(K.tag){case 5:qn=K.stateNode,xi=!1;break e;case 3:qn=K.stateNode.containerInfo,xi=!0;break e;case 4:qn=K.stateNode.containerInfo,xi=!0;break e}K=K.return}if(qn===null)throw Error(i(160));cb(m,E,d),qn=null,xi=!1;var z=d.alternate;z!==null&&(z.return=null),d.return=null}catch(G){an(d,n,G)}}if(n.subtreeFlags&12854)for(n=n.child;n!==null;)db(n,e),n=n.sibling}function db(e,n){var o=e.alternate,s=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Ei(n,e),$i(e),s&4){try{ru(3,e,e.return),Rs(3,e)}catch(Pe){an(e,e.return,Pe)}try{ru(5,e,e.return)}catch(Pe){an(e,e.return,Pe)}}break;case 1:Ei(n,e),$i(e),s&512&&o!==null&&ul(o,o.return);break;case 5:if(Ei(n,e),$i(e),s&512&&o!==null&&ul(o,o.return),e.flags&32){var d=e.stateNode;try{Sn(d,"")}catch(Pe){an(e,e.return,Pe)}}if(s&4&&(d=e.stateNode,d!=null)){var m=e.memoizedProps,E=o!==null?o.memoizedProps:m,K=e.type,z=e.updateQueue;if(e.updateQueue=null,z!==null)try{K==="input"&&m.type==="radio"&&m.name!=null&&Bt(d,m),$t(K,E);var G=$t(K,m);for(E=0;E<z.length;E+=2){var ce=z[E],de=z[E+1];ce==="style"?eo(d,de):ce==="dangerouslySetInnerHTML"?ct(d,de):ce==="children"?Sn(d,de):W(d,ce,de,G)}switch(K){case"input":pn(d,m);break;case"textarea":nt(d,m);break;case"select":var se=d._wrapperState.wasMultiple;d._wrapperState.wasMultiple=!!m.multiple;var Ne=m.value;Ne!=null?pt(d,!!m.multiple,Ne,!1):se!==!!m.multiple&&(m.defaultValue!=null?pt(d,!!m.multiple,m.defaultValue,!0):pt(d,!!m.multiple,m.multiple?[]:"",!1))}d[Ql]=m}catch(Pe){an(e,e.return,Pe)}}break;case 6:if(Ei(n,e),$i(e),s&4){if(e.stateNode===null)throw Error(i(162));d=e.stateNode,m=e.memoizedProps;try{d.nodeValue=m}catch(Pe){an(e,e.return,Pe)}}break;case 3:if(Ei(n,e),$i(e),s&4&&o!==null&&o.memoizedState.isDehydrated)try{Gt(n.containerInfo)}catch(Pe){an(e,e.return,Pe)}break;case 4:Ei(n,e),$i(e);break;case 13:Ei(n,e),$i(e),d=e.child,d.flags&8192&&(m=d.memoizedState!==null,d.stateNode.isHidden=m,!m||d.alternate!==null&&d.alternate.memoizedState!==null||(Md=gt())),s&4&&fb(e);break;case 22:if(ce=o!==null&&o.memoizedState!==null,e.mode&1?(Yn=(G=Yn)||ce,Ei(n,e),Yn=G):Ei(n,e),$i(e),s&8192){if(G=e.memoizedState!==null,(e.stateNode.isHidden=G)&&!ce&&e.mode&1)for(Le=e,ce=e.child;ce!==null;){for(de=Le=ce;Le!==null;){switch(se=Le,Ne=se.child,se.tag){case 0:case 11:case 14:case 15:ru(4,se,se.return);break;case 1:ul(se,se.return);var Be=se.stateNode;if(typeof Be.componentWillUnmount=="function"){s=se,o=se.return;try{n=s,Be.props=n.memoizedProps,Be.state=n.memoizedState,Be.componentWillUnmount()}catch(Pe){an(s,o,Pe)}}break;case 5:ul(se,se.return);break;case 22:if(se.memoizedState!==null){mb(de);continue}}Ne!==null?(Ne.return=se,Le=Ne):mb(de)}ce=ce.sibling}e:for(ce=null,de=e;;){if(de.tag===5){if(ce===null){ce=de;try{d=de.stateNode,G?(m=d.style,typeof m.setProperty=="function"?m.setProperty("display","none","important"):m.display="none"):(K=de.stateNode,z=de.memoizedProps.style,E=z!=null&&z.hasOwnProperty("display")?z.display:null,K.style.display=Un("display",E))}catch(Pe){an(e,e.return,Pe)}}}else if(de.tag===6){if(ce===null)try{de.stateNode.nodeValue=G?"":de.memoizedProps}catch(Pe){an(e,e.return,Pe)}}else if((de.tag!==22&&de.tag!==23||de.memoizedState===null||de===e)&&de.child!==null){de.child.return=de,de=de.child;continue}if(de===e)break e;for(;de.sibling===null;){if(de.return===null||de.return===e)break e;ce===de&&(ce=null),de=de.return}ce===de&&(ce=null),de.sibling.return=de.return,de=de.sibling}}break;case 19:Ei(n,e),$i(e),s&4&&fb(e);break;case 21:break;default:Ei(n,e),$i(e)}}function $i(e){var n=e.flags;if(n&2){try{e:{for(var o=e.return;o!==null;){if(ub(o)){var s=o;break e}o=o.return}throw Error(i(160))}switch(s.tag){case 5:var d=s.stateNode;s.flags&32&&(Sn(d,""),s.flags&=-33);var m=sb(e);Od(e,m,d);break;case 3:case 4:var E=s.stateNode.containerInfo,K=sb(e);Ed(e,K,E);break;default:throw Error(i(161))}}catch(z){an(e,e.return,z)}e.flags&=-3}n&4096&&(e.flags&=-4097)}function D3(e,n,o){Le=e,pb(e)}function pb(e,n,o){for(var s=(e.mode&1)!==0;Le!==null;){var d=Le,m=d.child;if(d.tag===22&&s){var E=d.memoizedState!==null||Ks;if(!E){var K=d.alternate,z=K!==null&&K.memoizedState!==null||Yn;K=Ks;var G=Yn;if(Ks=E,(Yn=z)&&!G)for(Le=d;Le!==null;)E=Le,z=E.child,E.tag===22&&E.memoizedState!==null?gb(d):z!==null?(z.return=E,Le=z):gb(d);for(;m!==null;)Le=m,pb(m),m=m.sibling;Le=d,Ks=K,Yn=G}hb(e)}else d.subtreeFlags&8772&&m!==null?(m.return=d,Le=m):hb(e)}}function hb(e){for(;Le!==null;){var n=Le;if(n.flags&8772){var o=n.alternate;try{if(n.flags&8772)switch(n.tag){case 0:case 11:case 15:Yn||Rs(5,n);break;case 1:var s=n.stateNode;if(n.flags&4&&!Yn)if(o===null)s.componentDidMount();else{var d=n.elementType===n.type?o.memoizedProps:ki(n.type,o.memoizedProps);s.componentDidUpdate(d,o.memoizedState,s.__reactInternalSnapshotBeforeUpdate)}var m=n.updateQueue;m!==null&&cy(n,m,s);break;case 3:var E=n.updateQueue;if(E!==null){if(o=null,n.child!==null)switch(n.child.tag){case 5:o=n.child.stateNode;break;case 1:o=n.child.stateNode}cy(n,E,o)}break;case 5:var K=n.stateNode;if(o===null&&n.flags&4){o=K;var z=n.memoizedProps;switch(n.type){case"button":case"input":case"select":case"textarea":z.autoFocus&&o.focus();break;case"img":z.src&&(o.src=z.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(n.memoizedState===null){var G=n.alternate;if(G!==null){var ce=G.memoizedState;if(ce!==null){var de=ce.dehydrated;de!==null&&Gt(de)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(i(163))}Yn||n.flags&512&&xd(n)}catch(se){an(n,n.return,se)}}if(n===e){Le=null;break}if(o=n.sibling,o!==null){o.return=n.return,Le=o;break}Le=n.return}}function mb(e){for(;Le!==null;){var n=Le;if(n===e){Le=null;break}var o=n.sibling;if(o!==null){o.return=n.return,Le=o;break}Le=n.return}}function gb(e){for(;Le!==null;){var n=Le;try{switch(n.tag){case 0:case 11:case 15:var o=n.return;try{Rs(4,n)}catch(z){an(n,o,z)}break;case 1:var s=n.stateNode;if(typeof s.componentDidMount=="function"){var d=n.return;try{s.componentDidMount()}catch(z){an(n,d,z)}}var m=n.return;try{xd(n)}catch(z){an(n,m,z)}break;case 5:var E=n.return;try{xd(n)}catch(z){an(n,E,z)}}}catch(z){an(n,n.return,z)}if(n===e){Le=null;break}var K=n.sibling;if(K!==null){K.return=n.return,Le=K;break}Le=n.return}}var M3=Math.ceil,Is=J.ReactCurrentDispatcher,Nd=J.ReactCurrentOwner,pi=J.ReactCurrentBatchConfig,yt=0,Kn=null,_n=null,An=0,Vr=0,sl=zo(0),Nn=0,iu=null,xa=0,js=0,Dd=0,ou=null,xr=null,Md=0,cl=1/0,_o=null,Ts=!1,Ld=null,Qo=null,zs=!1,$o=null,Hs=0,au=0,Cd=null,qs=-1,As=0;function or(){return yt&6?gt():qs!==-1?qs:qs=gt()}function Xo(e){return e.mode&1?yt&2&&An!==0?An&-An:d3.transition!==null?(As===0&&(As=B()),As):(e=be,e!==0||(e=window.event,e=e===void 0?16:fa(e.type)),e):1}function Oi(e,n,o,s){if(50<au)throw au=0,Cd=null,Error(i(185));U(e,o,s),(!(yt&2)||e!==Kn)&&(e===Kn&&(!(yt&2)&&(js|=o),Nn===4&&Zo(e,An)),Er(e,s),o===1&&yt===0&&!(n.mode&1)&&(cl=gt()+500,vs&&qo()))}function Er(e,n){var o=e.callbackNode;w(e,n);var s=Rr(e,e===Kn?An:0);if(s===0)o!==null&&Lr(o),e.callbackNode=null,e.callbackPriority=0;else if(n=s&-s,e.callbackPriority!==n){if(o!=null&&Lr(o),n===1)e.tag===0?f3(yb.bind(null,e)):ty(yb.bind(null,e)),l3(function(){!(yt&6)&&qo()}),o=null;else{switch(xe(s)){case 1:o=ei;break;case 4:o=ti;break;case 16:o=Br;break;case 536870912:o=mr;break;default:o=Br}o=Ob(o,vb.bind(null,e))}e.callbackPriority=n,e.callbackNode=o}}function vb(e,n){if(qs=-1,As=0,yt&6)throw Error(i(327));var o=e.callbackNode;if(fl()&&e.callbackNode!==o)return null;var s=Rr(e,e===Kn?An:0);if(s===0)return null;if(s&30||s&e.expiredLanes||n)n=Us(e,s);else{n=s;var d=yt;yt|=2;var m=_b();(Kn!==e||An!==n)&&(_o=null,cl=gt()+500,Oa(e,n));do try{B3();break}catch(K){bb(e,K)}while(1);Jf(),Is.current=m,yt=d,_n!==null?n=0:(Kn=null,An=0,n=Nn)}if(n!==0){if(n===2&&(d=N(e),d!==0&&(s=d,n=Bd(e,d))),n===1)throw o=iu,Oa(e,0),Zo(e,s),Er(e,gt()),o;if(n===6)Zo(e,s);else{if(d=e.current.alternate,!(s&30)&&!L3(d)&&(n=Us(e,s),n===2&&(m=N(e),m!==0&&(s=m,n=Bd(e,m))),n===1))throw o=iu,Oa(e,0),Zo(e,s),Er(e,gt()),o;switch(e.finishedWork=d,e.finishedLanes=s,n){case 0:case 1:throw Error(i(345));case 2:Na(e,xr,_o);break;case 3:if(Zo(e,s),(s&130023424)===s&&(n=Md+500-gt(),10<n)){if(Rr(e,0)!==0)break;if(d=e.suspendedLanes,(d&s)!==s){or(),e.pingedLanes|=e.suspendedLanes&d;break}e.timeoutHandle=Tf(Na.bind(null,e,xr,_o),n);break}Na(e,xr,_o);break;case 4:if(Zo(e,s),(s&4194240)===s)break;for(n=e.eventTimes,d=-1;0<s;){var E=31-rn(s);m=1<<E,E=n[E],E>d&&(d=E),s&=~m}if(s=d,s=gt()-s,s=(120>s?120:480>s?480:1080>s?1080:1920>s?1920:3e3>s?3e3:4320>s?4320:1960*M3(s/1960))-s,10<s){e.timeoutHandle=Tf(Na.bind(null,e,xr,_o),s);break}Na(e,xr,_o);break;case 5:Na(e,xr,_o);break;default:throw Error(i(329))}}}return Er(e,gt()),e.callbackNode===o?vb.bind(null,e):null}function Bd(e,n){var o=ou;return e.current.memoizedState.isDehydrated&&(Oa(e,n).flags|=256),e=Us(e,n),e!==2&&(n=xr,xr=o,n!==null&&Fd(n)),e}function Fd(e){xr===null?xr=e:xr.push.apply(xr,e)}function L3(e){for(var n=e;;){if(n.flags&16384){var o=n.updateQueue;if(o!==null&&(o=o.stores,o!==null))for(var s=0;s<o.length;s++){var d=o[s],m=d.getSnapshot;d=d.value;try{if(!Ee(m(),d))return!1}catch{return!1}}}if(o=n.child,n.subtreeFlags&16384&&o!==null)o.return=n,n=o;else{if(n===e)break;for(;n.sibling===null;){if(n.return===null||n.return===e)return!0;n=n.return}n.sibling.return=n.return,n=n.sibling}}return!0}function Zo(e,n){for(n&=~Dd,n&=~js,e.suspendedLanes|=n,e.pingedLanes&=~n,e=e.expirationTimes;0<n;){var o=31-rn(n),s=1<<o;e[o]=-1,n&=~s}}function yb(e){if(yt&6)throw Error(i(327));fl();var n=Rr(e,0);if(!(n&1))return Er(e,gt()),null;var o=Us(e,n);if(e.tag!==0&&o===2){var s=N(e);s!==0&&(n=s,o=Bd(e,s))}if(o===1)throw o=iu,Oa(e,0),Zo(e,n),Er(e,gt()),o;if(o===6)throw Error(i(345));return e.finishedWork=e.current.alternate,e.finishedLanes=n,Na(e,xr,_o),Er(e,gt()),null}function Pd(e,n){var o=yt;yt|=1;try{return e(n)}finally{yt=o,yt===0&&(cl=gt()+500,vs&&qo())}}function Ea(e){$o!==null&&$o.tag===0&&!(yt&6)&&fl();var n=yt;yt|=1;var o=pi.transition,s=be;try{if(pi.transition=null,be=1,e)return e()}finally{be=s,pi.transition=o,yt=n,!(yt&6)&&qo()}}function Kd(){Vr=sl.current,Qt(sl)}function Oa(e,n){e.finishedWork=null,e.finishedLanes=0;var o=e.timeoutHandle;if(o!==-1&&(e.timeoutHandle=-1,a3(o)),_n!==null)for(o=_n.return;o!==null;){var s=o;switch(Vf(s),s.tag){case 1:s=s.type.childContextTypes,s!=null&&ms();break;case 3:al(),Qt(wr),Qt(Xn),ad();break;case 5:id(s);break;case 4:al();break;case 13:Qt(tn);break;case 19:Qt(tn);break;case 10:Yf(s.type._context);break;case 22:case 23:Kd()}o=o.return}if(Kn=e,_n=e=Jo(e.current,null),An=Vr=n,Nn=0,iu=null,Dd=js=xa=0,xr=ou=null,wa!==null){for(n=0;n<wa.length;n++)if(o=wa[n],s=o.interleaved,s!==null){o.interleaved=null;var d=s.next,m=o.pending;if(m!==null){var E=m.next;m.next=d,s.next=E}o.pending=s}wa=null}return e}function bb(e,n){do{var o=_n;try{if(Jf(),Ds.current=Bs,Ms){for(var s=nn.memoizedState;s!==null;){var d=s.queue;d!==null&&(d.pending=null),s=s.next}Ms=!1}if(ka=0,Pn=On=nn=null,Wl=!1,Gl=0,Nd.current=null,o===null||o.return===null){Nn=1,iu=n,_n=null;break}e:{var m=e,E=o.return,K=o,z=n;if(n=An,K.flags|=32768,z!==null&&typeof z=="object"&&typeof z.then=="function"){var G=z,ce=K,de=ce.tag;if(!(ce.mode&1)&&(de===0||de===11||de===15)){var se=ce.alternate;se?(ce.updateQueue=se.updateQueue,ce.memoizedState=se.memoizedState,ce.lanes=se.lanes):(ce.updateQueue=null,ce.memoizedState=null)}var Ne=Ay(E);if(Ne!==null){Ne.flags&=-257,Uy(Ne,E,K,m,n),Ne.mode&1&&qy(m,G,n),n=Ne,z=G;var Be=n.updateQueue;if(Be===null){var Pe=new Set;Pe.add(z),n.updateQueue=Pe}else Be.add(z);break e}else{if(!(n&1)){qy(m,G,n),Rd();break e}z=Error(i(426))}}else if(Zt&&K.mode&1){var cn=Ay(E);if(cn!==null){!(cn.flags&65536)&&(cn.flags|=256),Uy(cn,E,K,m,n),Xf(ll(z,K));break e}}m=z=ll(z,K),Nn!==4&&(Nn=2),ou===null?ou=[m]:ou.push(m),m=E;do{switch(m.tag){case 3:m.flags|=65536,n&=-n,m.lanes|=n;var Q=zy(m,z,n);sy(m,Q);break e;case 1:K=z;var H=m.type,Z=m.stateNode;if(!(m.flags&128)&&(typeof H.getDerivedStateFromError=="function"||Z!==null&&typeof Z.componentDidCatch=="function"&&(Qo===null||!Qo.has(Z)))){m.flags|=65536,n&=-n,m.lanes|=n;var ye=Hy(m,K,n);sy(m,ye);break e}}m=m.return}while(m!==null)}Sb(o)}catch(Ke){n=Ke,_n===o&&o!==null&&(_n=o=o.return);continue}break}while(1)}function _b(){var e=Is.current;return Is.current=Bs,e===null?Bs:e}function Rd(){(Nn===0||Nn===3||Nn===2)&&(Nn=4),Kn===null||!(xa&268435455)&&!(js&268435455)||Zo(Kn,An)}function Us(e,n){var o=yt;yt|=2;var s=_b();(Kn!==e||An!==n)&&(_o=null,Oa(e,n));do try{C3();break}catch(d){bb(e,d)}while(1);if(Jf(),yt=o,Is.current=s,_n!==null)throw Error(i(261));return Kn=null,An=0,Nn}function C3(){for(;_n!==null;)wb(_n)}function B3(){for(;_n!==null&&!Cr();)wb(_n)}function wb(e){var n=Eb(e.alternate,e,Vr);e.memoizedProps=e.pendingProps,n===null?Sb(e):_n=n,Nd.current=null}function Sb(e){var n=e;do{var o=n.alternate;if(e=n.return,n.flags&32768){if(o=E3(o,n),o!==null){o.flags&=32767,_n=o;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{Nn=6,_n=null;return}}else if(o=x3(o,n,Vr),o!==null){_n=o;return}if(n=n.sibling,n!==null){_n=n;return}_n=n=e}while(n!==null);Nn===0&&(Nn=5)}function Na(e,n,o){var s=be,d=pi.transition;try{pi.transition=null,be=1,F3(e,n,o,s)}finally{pi.transition=d,be=s}return null}function F3(e,n,o,s){do fl();while($o!==null);if(yt&6)throw Error(i(327));o=e.finishedWork;var d=e.finishedLanes;if(o===null)return null;if(e.finishedWork=null,e.finishedLanes=0,o===e.current)throw Error(i(177));e.callbackNode=null,e.callbackPriority=0;var m=o.lanes|o.childLanes;if(ie(e,m),e===Kn&&(_n=Kn=null,An=0),!(o.subtreeFlags&2064)&&!(o.flags&2064)||zs||(zs=!0,Ob(Br,function(){return fl(),null})),m=(o.flags&15990)!==0,o.subtreeFlags&15990||m){m=pi.transition,pi.transition=null;var E=be;be=1;var K=yt;yt|=4,Nd.current=null,N3(e,o),db(o,e),GF(If),vn=!!Rf,If=Rf=null,e.current=o,D3(o),Gr(),yt=K,be=E,pi.transition=m}else e.current=o;if(zs&&(zs=!1,$o=e,Hs=d),m=e.pendingLanes,m===0&&(Qo=null),Fr(o.stateNode),Er(e,gt()),n!==null)for(s=e.onRecoverableError,o=0;o<n.length;o++)d=n[o],s(d.value,{componentStack:d.stack,digest:d.digest});if(Ts)throw Ts=!1,e=Ld,Ld=null,e;return Hs&1&&e.tag!==0&&fl(),m=e.pendingLanes,m&1?e===Cd?au++:(au=0,Cd=e):au=0,qo(),null}function fl(){if($o!==null){var e=xe(Hs),n=pi.transition,o=be;try{if(pi.transition=null,be=16>e?16:e,$o===null)var s=!1;else{if(e=$o,$o=null,Hs=0,yt&6)throw Error(i(331));var d=yt;for(yt|=4,Le=e.current;Le!==null;){var m=Le,E=m.child;if(Le.flags&16){var K=m.deletions;if(K!==null){for(var z=0;z<K.length;z++){var G=K[z];for(Le=G;Le!==null;){var ce=Le;switch(ce.tag){case 0:case 11:case 15:ru(8,ce,m)}var de=ce.child;if(de!==null)de.return=ce,Le=de;else for(;Le!==null;){ce=Le;var se=ce.sibling,Ne=ce.return;if(lb(ce),ce===G){Le=null;break}if(se!==null){se.return=Ne,Le=se;break}Le=Ne}}}var Be=m.alternate;if(Be!==null){var Pe=Be.child;if(Pe!==null){Be.child=null;do{var cn=Pe.sibling;Pe.sibling=null,Pe=cn}while(Pe!==null)}}Le=m}}if(m.subtreeFlags&2064&&E!==null)E.return=m,Le=E;else e:for(;Le!==null;){if(m=Le,m.flags&2048)switch(m.tag){case 0:case 11:case 15:ru(9,m,m.return)}var Q=m.sibling;if(Q!==null){Q.return=m.return,Le=Q;break e}Le=m.return}}var H=e.current;for(Le=H;Le!==null;){E=Le;var Z=E.child;if(E.subtreeFlags&2064&&Z!==null)Z.return=E,Le=Z;else e:for(E=H;Le!==null;){if(K=Le,K.flags&2048)try{switch(K.tag){case 0:case 11:case 15:Rs(9,K)}}catch(Ke){an(K,K.return,Ke)}if(K===E){Le=null;break e}var ye=K.sibling;if(ye!==null){ye.return=K.return,Le=ye;break e}Le=K.return}}if(yt=d,qo(),Ln&&typeof Ln.onPostCommitFiberRoot=="function")try{Ln.onPostCommitFiberRoot(Xt,e)}catch{}s=!0}return s}finally{be=o,pi.transition=n}}return!1}function kb(e,n,o){n=ll(o,n),n=zy(e,n,1),e=Uo(e,n,1),n=or(),e!==null&&(U(e,1,n),Er(e,n))}function an(e,n,o){if(e.tag===3)kb(e,e,o);else for(;n!==null;){if(n.tag===3){kb(n,e,o);break}else if(n.tag===1){var s=n.stateNode;if(typeof n.type.getDerivedStateFromError=="function"||typeof s.componentDidCatch=="function"&&(Qo===null||!Qo.has(s))){e=ll(o,e),e=Hy(n,e,1),n=Uo(n,e,1),e=or(),n!==null&&(U(n,1,e),Er(n,e));break}}n=n.return}}function P3(e,n,o){var s=e.pingCache;s!==null&&s.delete(n),n=or(),e.pingedLanes|=e.suspendedLanes&o,Kn===e&&(An&o)===o&&(Nn===4||Nn===3&&(An&130023424)===An&&500>gt()-Md?Oa(e,0):Dd|=o),Er(e,n)}function xb(e,n){n===0&&(e.mode&1?(n=gr,gr<<=1,!(gr&130023424)&&(gr=4194304)):n=1);var o=or();e=vo(e,n),e!==null&&(U(e,n,o),Er(e,o))}function K3(e){var n=e.memoizedState,o=0;n!==null&&(o=n.retryLane),xb(e,o)}function R3(e,n){var o=0;switch(e.tag){case 13:var s=e.stateNode,d=e.memoizedState;d!==null&&(o=d.retryLane);break;case 19:s=e.stateNode;break;default:throw Error(i(314))}s!==null&&s.delete(n),xb(e,o)}var Eb;Eb=function(e,n,o){if(e!==null)if(e.memoizedProps!==n.pendingProps||wr.current)kr=!0;else{if(!(e.lanes&o)&&!(n.flags&128))return kr=!1,k3(e,n,o);kr=!!(e.flags&131072)}else kr=!1,Zt&&n.flags&1048576&&ny(n,bs,n.index);switch(n.lanes=0,n.tag){case 2:var s=n.type;Ps(e,n),e=n.pendingProps;var d=Ga(n,Xn.current);il(n,o),d=sd(null,n,s,e,d,o);var m=cd();return n.flags|=1,typeof d=="object"&&d!==null&&typeof d.render=="function"&&d.$$typeof===void 0?(n.tag=1,n.memoizedState=null,n.updateQueue=null,Sr(s)?(m=!0,gs(n)):m=!1,n.memoizedState=d.state!==null&&d.state!==void 0?d.state:null,ed(n),d.updater=Es,n.stateNode=d,d._reactInternals=n,nd(n,s,e,o),n=yd(null,n,s,!0,m,o)):(n.tag=0,Zt&&m&&Uf(n),ir(null,n,d,o),n=n.child),n;case 16:s=n.elementType;e:{switch(Ps(e,n),e=n.pendingProps,d=s._init,s=d(s._payload),n.type=s,d=n.tag=j3(s),e=ki(s,e),d){case 0:n=vd(null,n,s,e,o);break e;case 1:n=Jy(null,n,s,e,o);break e;case 11:n=Vy(null,n,s,e,o);break e;case 14:n=Qy(null,n,s,ki(s.type,e),o);break e}throw Error(i(306,s,""))}return n;case 0:return s=n.type,d=n.pendingProps,d=n.elementType===s?d:ki(s,d),vd(e,n,s,d,o);case 1:return s=n.type,d=n.pendingProps,d=n.elementType===s?d:ki(s,d),Jy(e,n,s,d,o);case 3:e:{if(Yy(n),e===null)throw Error(i(387));s=n.pendingProps,m=n.memoizedState,d=m.element,uy(e,n),xs(n,s,null,o);var E=n.memoizedState;if(s=E.element,m.isDehydrated)if(m={element:s,isDehydrated:!1,cache:E.cache,pendingSuspenseBoundaries:E.pendingSuspenseBoundaries,transitions:E.transitions},n.updateQueue.baseState=m,n.memoizedState=m,n.flags&256){d=ll(Error(i(423)),n),n=Wy(e,n,s,o,d);break e}else if(s!==d){d=ll(Error(i(424)),n),n=Wy(e,n,s,o,d);break e}else for(Ur=To(n.stateNode.containerInfo.firstChild),Ar=n,Zt=!0,Si=null,o=vy(n,null,s,o),n.child=o;o;)o.flags=o.flags&-3|4096,o=o.sibling;else{if(nl(),s===d){n=bo(e,n,o);break e}ir(e,n,s,o)}n=n.child}return n;case 5:return yy(n),e===null&&$f(n),s=n.type,d=n.pendingProps,m=e!==null?e.memoizedProps:null,E=d.children,jf(s,d)?E=null:m!==null&&jf(s,m)&&(n.flags|=32),Zy(e,n),ir(e,n,E,o),n.child;case 6:return e===null&&$f(n),null;case 13:return Gy(e,n,o);case 4:return rd(n,n.stateNode.containerInfo),s=n.pendingProps,e===null?n.child=ol(n,null,s,o):ir(e,n,s,o),n.child;case 11:return s=n.type,d=n.pendingProps,d=n.elementType===s?d:ki(s,d),Vy(e,n,s,d,o);case 7:return ir(e,n,n.pendingProps,o),n.child;case 8:return ir(e,n,n.pendingProps.children,o),n.child;case 12:return ir(e,n,n.pendingProps.children,o),n.child;case 10:e:{if(s=n.type._context,d=n.pendingProps,m=n.memoizedProps,E=d.value,qt(ws,s._currentValue),s._currentValue=E,m!==null)if(Ee(m.value,E)){if(m.children===d.children&&!wr.current){n=bo(e,n,o);break e}}else for(m=n.child,m!==null&&(m.return=n);m!==null;){var K=m.dependencies;if(K!==null){E=m.child;for(var z=K.firstContext;z!==null;){if(z.context===s){if(m.tag===1){z=yo(-1,o&-o),z.tag=2;var G=m.updateQueue;if(G!==null){G=G.shared;var ce=G.pending;ce===null?z.next=z:(z.next=ce.next,ce.next=z),G.pending=z}}m.lanes|=o,z=m.alternate,z!==null&&(z.lanes|=o),Wf(m.return,o,n),K.lanes|=o;break}z=z.next}}else if(m.tag===10)E=m.type===n.type?null:m.child;else if(m.tag===18){if(E=m.return,E===null)throw Error(i(341));E.lanes|=o,K=E.alternate,K!==null&&(K.lanes|=o),Wf(E,o,n),E=m.sibling}else E=m.child;if(E!==null)E.return=m;else for(E=m;E!==null;){if(E===n){E=null;break}if(m=E.sibling,m!==null){m.return=E.return,E=m;break}E=E.return}m=E}ir(e,n,d.children,o),n=n.child}return n;case 9:return d=n.type,s=n.pendingProps.children,il(n,o),d=fi(d),s=s(d),n.flags|=1,ir(e,n,s,o),n.child;case 14:return s=n.type,d=ki(s,n.pendingProps),d=ki(s.type,d),Qy(e,n,s,d,o);case 15:return $y(e,n,n.type,n.pendingProps,o);case 17:return s=n.type,d=n.pendingProps,d=n.elementType===s?d:ki(s,d),Ps(e,n),n.tag=1,Sr(s)?(e=!0,gs(n)):e=!1,il(n,o),py(n,s,d),nd(n,s,d,o),yd(null,n,s,!0,e,o);case 19:return tb(e,n,o);case 22:return Xy(e,n,o)}throw Error(i(156,n.tag))};function Ob(e,n){return tt(e,n)}function I3(e,n,o,s){this.tag=e,this.key=o,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=n,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=s,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function hi(e,n,o,s){return new I3(e,n,o,s)}function Id(e){return e=e.prototype,!(!e||!e.isReactComponent)}function j3(e){if(typeof e=="function")return Id(e)?1:0;if(e!=null){if(e=e.$$typeof,e===he)return 11;if(e===je)return 14}return 2}function Jo(e,n){var o=e.alternate;return o===null?(o=hi(e.tag,n,e.key,e.mode),o.elementType=e.elementType,o.type=e.type,o.stateNode=e.stateNode,o.alternate=e,e.alternate=o):(o.pendingProps=n,o.type=e.type,o.flags=0,o.subtreeFlags=0,o.deletions=null),o.flags=e.flags&14680064,o.childLanes=e.childLanes,o.lanes=e.lanes,o.child=e.child,o.memoizedProps=e.memoizedProps,o.memoizedState=e.memoizedState,o.updateQueue=e.updateQueue,n=e.dependencies,o.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext},o.sibling=e.sibling,o.index=e.index,o.ref=e.ref,o}function Vs(e,n,o,s,d,m){var E=2;if(s=e,typeof e=="function")Id(e)&&(E=1);else if(typeof e=="string")E=5;else e:switch(e){case _e:return Da(o.children,d,m,n);case Ie:E=8,d|=8;break;case ve:return e=hi(12,o,n,d|2),e.elementType=ve,e.lanes=m,e;case ge:return e=hi(13,o,n,d),e.elementType=ge,e.lanes=m,e;case De:return e=hi(19,o,n,d),e.elementType=De,e.lanes=m,e;case He:return Qs(o,d,m,n);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case ke:E=10;break e;case we:E=9;break e;case he:E=11;break e;case je:E=14;break e;case Ce:E=16,s=null;break e}throw Error(i(130,e==null?e:typeof e,""))}return n=hi(E,o,n,d),n.elementType=e,n.type=s,n.lanes=m,n}function Da(e,n,o,s){return e=hi(7,e,s,n),e.lanes=o,e}function Qs(e,n,o,s){return e=hi(22,e,s,n),e.elementType=He,e.lanes=o,e.stateNode={isHidden:!1},e}function jd(e,n,o){return e=hi(6,e,null,n),e.lanes=o,e}function Td(e,n,o){return n=hi(4,e.children!==null?e.children:[],e.key,n),n.lanes=o,n.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},n}function T3(e,n,o,s,d){this.tag=n,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=$(0),this.expirationTimes=$(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=$(0),this.identifierPrefix=s,this.onRecoverableError=d,this.mutableSourceEagerHydrationData=null}function zd(e,n,o,s,d,m,E,K,z){return e=new T3(e,n,o,K,z),n===1?(n=1,m===!0&&(n|=8)):n=0,m=hi(3,null,null,n),e.current=m,m.stateNode=e,m.memoizedState={element:s,isDehydrated:o,cache:null,transitions:null,pendingSuspenseBoundaries:null},ed(m),e}function z3(e,n,o){var s=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Se,key:s==null?null:""+s,children:e,containerInfo:n,implementation:o}}function Nb(e){if(!e)return Ho;e=e._reactInternals;e:{if(er(e)!==e||e.tag!==1)throw Error(i(170));var n=e;do{switch(n.tag){case 3:n=n.stateNode.context;break e;case 1:if(Sr(n.type)){n=n.stateNode.__reactInternalMemoizedMergedChildContext;break e}}n=n.return}while(n!==null);throw Error(i(171))}if(e.tag===1){var o=e.type;if(Sr(o))return Gv(e,o,n)}return n}function Db(e,n,o,s,d,m,E,K,z){return e=zd(o,s,!0,e,d,m,E,K,z),e.context=Nb(null),o=e.current,s=or(),d=Xo(o),m=yo(s,d),m.callback=n??null,Uo(o,m,d),e.current.lanes=d,U(e,d,s),Er(e,s),e}function $s(e,n,o,s){var d=n.current,m=or(),E=Xo(d);return o=Nb(o),n.context===null?n.context=o:n.pendingContext=o,n=yo(m,E),n.payload={element:e},s=s===void 0?null:s,s!==null&&(n.callback=s),e=Uo(d,n,E),e!==null&&(Oi(e,d,E,m),ks(e,d,E)),E}function Xs(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function Mb(e,n){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var o=e.retryLane;e.retryLane=o!==0&&o<n?o:n}}function Hd(e,n){Mb(e,n),(e=e.alternate)&&Mb(e,n)}function H3(){return null}var Lb=typeof reportError=="function"?reportError:function(e){console.error(e)};function qd(e){this._internalRoot=e}Zs.prototype.render=qd.prototype.render=function(e){var n=this._internalRoot;if(n===null)throw Error(i(409));$s(e,n,null,null)},Zs.prototype.unmount=qd.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var n=e.containerInfo;Ea(function(){$s(null,e,null,null)}),n[po]=null}};function Zs(e){this._internalRoot=e}Zs.prototype.unstable_scheduleHydration=function(e){if(e){var n=Wt();e={blockedOn:null,target:e,priority:n};for(var o=0;o<Ir.length&&n!==0&&n<Ir[o].priority;o++);Ir.splice(o,0,e),o===0&&nr(e)}};function Ad(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Js(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function Cb(){}function q3(e,n,o,s,d){if(d){if(typeof s=="function"){var m=s;s=function(){var G=Xs(E);m.call(G)}}var E=Db(n,s,e,0,null,!1,!1,"",Cb);return e._reactRootContainer=E,e[po]=E.current,Ul(e.nodeType===8?e.parentNode:e),Ea(),E}for(;d=e.lastChild;)e.removeChild(d);if(typeof s=="function"){var K=s;s=function(){var G=Xs(z);K.call(G)}}var z=zd(e,0,!1,null,null,!1,!1,"",Cb);return e._reactRootContainer=z,e[po]=z.current,Ul(e.nodeType===8?e.parentNode:e),Ea(function(){$s(n,z,o,s)}),z}function Ys(e,n,o,s,d){var m=o._reactRootContainer;if(m){var E=m;if(typeof d=="function"){var K=d;d=function(){var z=Xs(E);K.call(z)}}$s(n,E,e,d)}else E=q3(o,n,e,d,s);return Xs(E)}We=function(e){switch(e.tag){case 3:var n=e.stateNode;if(n.current.memoizedState.isDehydrated){var o=Kr(n.pendingLanes);o!==0&&(me(n,o|1),Er(n,gt()),!(yt&6)&&(cl=gt()+500,qo()))}break;case 13:Ea(function(){var s=vo(e,1);if(s!==null){var d=or();Oi(s,e,1,d)}}),Hd(e,1)}},wt=function(e){if(e.tag===13){var n=vo(e,134217728);if(n!==null){var o=or();Oi(n,e,134217728,o)}Hd(e,134217728)}},Ot=function(e){if(e.tag===13){var n=Xo(e),o=vo(e,n);if(o!==null){var s=or();Oi(o,e,n,s)}Hd(e,n)}},Wt=function(){return be},on=function(e,n){var o=be;try{return be=e,n()}finally{be=o}},Ht=function(e,n,o){switch(n){case"input":if(pn(e,o),n=o.name,o.type==="radio"&&n!=null){for(o=e;o.parentNode;)o=o.parentNode;for(o=o.querySelectorAll("input[name="+JSON.stringify(""+n)+'][type="radio"]'),n=0;n<o.length;n++){var s=o[n];if(s!==e&&s.form===e.form){var d=hs(s);if(!d)throw Error(i(90));Jt(s),pn(s,d)}}}break;case"textarea":nt(e,o);break;case"select":n=o.value,n!=null&&pt(e,!!o.multiple,n,!1)}},kn=Pd,Or=Ea;var A3={usingClientEntryPoint:!1,Events:[$l,Ya,hs,Qn,Wn,Pd]},lu={findFiberByHostInstance:va,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},U3={bundleType:lu.bundleType,version:lu.version,rendererPackageName:lu.rendererPackageName,rendererConfig:lu.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:J.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=Dr(e),e===null?null:e.stateNode},findFiberByHostInstance:lu.findFiberByHostInstance||H3,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Ws=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Ws.isDisabled&&Ws.supportsFiber)try{Xt=Ws.inject(U3),Ln=Ws}catch{}}return cr.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=A3,cr.createPortal=function(e,n){var o=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Ad(n))throw Error(i(200));return z3(e,n,null,o)},cr.createRoot=function(e,n){if(!Ad(e))throw Error(i(299));var o=!1,s="",d=Lb;return n!=null&&(n.unstable_strictMode===!0&&(o=!0),n.identifierPrefix!==void 0&&(s=n.identifierPrefix),n.onRecoverableError!==void 0&&(d=n.onRecoverableError)),n=zd(e,1,!1,null,null,o,!1,s,d),e[po]=n.current,Ul(e.nodeType===8?e.parentNode:e),new qd(n)},cr.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var n=e._reactInternals;if(n===void 0)throw typeof e.render=="function"?Error(i(188)):(e=Object.keys(e).join(","),Error(i(268,e)));return e=Dr(n),e=e===null?null:e.stateNode,e},cr.flushSync=function(e){return Ea(e)},cr.hydrate=function(e,n,o){if(!Js(n))throw Error(i(200));return Ys(null,e,n,!0,o)},cr.hydrateRoot=function(e,n,o){if(!Ad(e))throw Error(i(405));var s=o!=null&&o.hydratedSources||null,d=!1,m="",E=Lb;if(o!=null&&(o.unstable_strictMode===!0&&(d=!0),o.identifierPrefix!==void 0&&(m=o.identifierPrefix),o.onRecoverableError!==void 0&&(E=o.onRecoverableError)),n=Db(n,null,e,1,o??null,d,!1,m,E),e[po]=n.current,Ul(e),s)for(e=0;e<s.length;e++)o=s[e],d=o._getVersion,d=d(o._source),n.mutableSourceEagerHydrationData==null?n.mutableSourceEagerHydrationData=[o,d]:n.mutableSourceEagerHydrationData.push(o,d);return new Zs(n)},cr.render=function(e,n,o){if(!Js(n))throw Error(i(200));return Ys(null,e,n,!1,o)},cr.unmountComponentAtNode=function(e){if(!Js(e))throw Error(i(40));return e._reactRootContainer?(Ea(function(){Ys(null,null,e,!1,function(){e._reactRootContainer=null,e[po]=null})}),!0):!1},cr.unstable_batchedUpdates=Pd,cr.unstable_renderSubtreeIntoContainer=function(e,n,o,s){if(!Js(o))throw Error(i(200));if(e==null||e._reactInternals===void 0)throw Error(i(38));return Ys(e,n,o,!1,s)},cr.version="18.2.0-next-9e3b772b8-20220608",cr}(function(t){function r(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(r)}catch(i){console.error(i)}}r(),t.exports=nC()})(WL);var rC=cf,iC=rC.unstable_flushControlled,oC=iC;function aC(t,r){t.prototype=Object.create(r.prototype),t.prototype.constructor=t,t.__proto__=r}var df=q,Fg=ta,lC=function(t){aC(r,t);function r(){return t.apply(this,arguments)||this}var i=r.prototype;return i.shouldComponentUpdate=function(a){return this.props.text!==a.text||this.props.editorState.getSelection().getHasFocus()!==a.editorState.getSelection().getHasFocus()},i.render=function(){var a=this.props.editorState.getSelection().getHasFocus(),u=Fg({"public/DraftEditorPlaceholder/root":!0,"public/DraftEditorPlaceholder/hasFocus":a}),f={whiteSpace:"pre-wrap"};return df.createElement("div",{className:u},df.createElement("div",{className:Fg("public/DraftEditorPlaceholder/inner"),id:this.props.accessibilityID,style:f},this.props.text))},r}(df.Component),uC=lC,Pg=Gc,Kl=Fu,Kg=sr,ko=Kg.isPlatform("Mac OS X"),Rg=ko&&Kg.isBrowser("Firefox < 29"),xo=Pg.hasCommandModifier,Wi=Pg.isCtrlKeyCommand;function Ig(t){return ko&&t.altKey||Wi(t)}function sC(t){return xo(t)?t.shiftKey?"redo":"undo":null}function cC(t){return!ko&&t.shiftKey?null:Ig(t)?"delete-word":"delete"}function fC(t){return xo(t)&&ko?"backspace-to-start-of-line":Ig(t)?"backspace-word":"backspace"}function dC(t){switch(t.keyCode){case 66:return xo(t)?"bold":null;case 68:return Wi(t)?"delete":null;case 72:return Wi(t)?"backspace":null;case 73:return xo(t)?"italic":null;case 74:return xo(t)?"code":null;case 75:return ko&&Wi(t)?"secondary-cut":null;case 77:return Wi(t)?"split-block":null;case 79:return Wi(t)?"split-block":null;case 84:return ko&&Wi(t)?"transpose-characters":null;case 85:return xo(t)?"underline":null;case 87:return ko&&Wi(t)?"backspace-word":null;case 89:return Wi(t)?ko?"secondary-paste":"redo":null;case 90:return sC(t)||null;case Kl.RETURN:return"split-block";case Kl.DELETE:return cC(t);case Kl.BACKSPACE:return fC(t);case Kl.LEFT:return Rg&&xo(t)?"move-selection-to-start-of-block":null;case Kl.RIGHT:return Rg&&xo(t)?"move-selection-to-end-of-block":null;default:return null}}var jg=dC,pC=na;function pf(){return pf=pC||function(t){for(var r=1;r<arguments.length;r++){var i=arguments[r];for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(t[a]=i[a])}return t},pf.apply(this,arguments)}function hf(t){for(var r=1;r<arguments.length;r++){var i=arguments[r]!=null?arguments[r]:{},a=Object.keys(i);typeof Object.getOwnPropertySymbols=="function"&&(a=a.concat(Object.getOwnPropertySymbols(i).filter(function(u){return Object.getOwnPropertyDescriptor(i,u).enumerable}))),a.forEach(function(u){Re(t,u,i[u])})}return t}function ze(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Re(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}function Tg(t,r){t.prototype=Object.create(r.prototype),t.prototype.constructor=t,t.__proto__=r}var hC=xc,mC=ch,gC=Ex,vC=JE,yC=OO,bC=YL,zg=oC,_C=uC,wC=zt,Eo=q,SC=Hc,kC=Hu,xC=sr,mf=ta,EC=Ni,OC=jg,NC=qu,DC=wo,Hg=_t,qg=Dl,MC=ur,Ag=xC.isBrowser("IE"),LC=!Ag,Ug={edit:bC,composite:gC,drag:yC,cut:null,render:null},Vg=!1,CC=function(t){Tg(r,t);function r(){return t.apply(this,arguments)||this}var i=r.prototype;return i.render=function(){return null},i.componentDidMount=function(){this._update()},i.componentDidUpdate=function(){this._update()},i._update=function(){var a=this.props.editor;a._latestEditorState=this.props.editorState,a._blockSelectEvents=!0},r}(Eo.Component),Qg=function(t){Tg(r,t);function r(a){var u;return u=t.call(this,a)||this,Re(ze(u),"_blockSelectEvents",void 0),Re(ze(u),"_clipboard",void 0),Re(ze(u),"_handler",void 0),Re(ze(u),"_dragCount",void 0),Re(ze(u),"_internalDrag",void 0),Re(ze(u),"_editorKey",void 0),Re(ze(u),"_placeholderAccessibilityID",void 0),Re(ze(u),"_latestEditorState",void 0),Re(ze(u),"_latestCommittedEditorState",void 0),Re(ze(u),"_pendingStateFromBeforeInput",void 0),Re(ze(u),"_onBeforeInput",void 0),Re(ze(u),"_onBlur",void 0),Re(ze(u),"_onCharacterData",void 0),Re(ze(u),"_onCompositionEnd",void 0),Re(ze(u),"_onCompositionStart",void 0),Re(ze(u),"_onCopy",void 0),Re(ze(u),"_onCut",void 0),Re(ze(u),"_onDragEnd",void 0),Re(ze(u),"_onDragOver",void 0),Re(ze(u),"_onDragStart",void 0),Re(ze(u),"_onDrop",void 0),Re(ze(u),"_onInput",void 0),Re(ze(u),"_onFocus",void 0),Re(ze(u),"_onKeyDown",void 0),Re(ze(u),"_onKeyPress",void 0),Re(ze(u),"_onKeyUp",void 0),Re(ze(u),"_onMouseDown",void 0),Re(ze(u),"_onMouseUp",void 0),Re(ze(u),"_onPaste",void 0),Re(ze(u),"_onSelect",void 0),Re(ze(u),"editor",void 0),Re(ze(u),"editorContainer",void 0),Re(ze(u),"focus",void 0),Re(ze(u),"blur",void 0),Re(ze(u),"setMode",void 0),Re(ze(u),"exitCurrentMode",void 0),Re(ze(u),"restoreEditorDOM",void 0),Re(ze(u),"setClipboard",void 0),Re(ze(u),"getClipboard",void 0),Re(ze(u),"getEditorKey",void 0),Re(ze(u),"update",void 0),Re(ze(u),"onDragEnter",void 0),Re(ze(u),"onDragLeave",void 0),Re(ze(u),"_handleEditorContainerRef",function(f){u.editorContainer=f,u.editor=f!==null?f.firstChild:null}),Re(ze(u),"focus",function(f){var g=u.props.editorState,y=g.getSelection().getHasFocus(),b=u.editor;if(b){var k=kC.getScrollParent(b),D=f||NC(k),P=D.x,L=D.y;qg(b)||Hg(!1),b.focus(),k===window?window.scrollTo(P,L):SC.setTop(k,L),y||u.update(wC.forceSelection(g,g.getSelection()))}}),Re(ze(u),"blur",function(){var f=u.editor;f&&(qg(f)||Hg(!1),f.blur())}),Re(ze(u),"setMode",function(f){var g=u.props,y=g.onPaste,b=g.onCut,k=g.onCopy,D=hf({},Ug.edit);y&&(D.onPaste=y),b&&(D.onCut=b),k&&(D.onCopy=k);var P=hf({},Ug,{edit:D});u._handler=P[f]}),Re(ze(u),"exitCurrentMode",function(){u.setMode("edit")}),Re(ze(u),"restoreEditorDOM",function(f){u.setState({contentsKey:u.state.contentsKey+1},function(){u.focus(f)})}),Re(ze(u),"setClipboard",function(f){u._clipboard=f}),Re(ze(u),"getClipboard",function(){return u._clipboard}),Re(ze(u),"update",function(f){u._latestEditorState=f,u.props.onChange(f)}),Re(ze(u),"onDragEnter",function(){u._dragCount++}),Re(ze(u),"onDragLeave",function(){u._dragCount--,u._dragCount===0&&u.exitCurrentMode()}),u._blockSelectEvents=!1,u._clipboard=null,u._handler=null,u._dragCount=0,u._editorKey=a.editorKey||EC(),u._placeholderAccessibilityID="placeholder-"+u._editorKey,u._latestEditorState=a.editorState,u._latestCommittedEditorState=a.editorState,u._onBeforeInput=u._buildHandler("onBeforeInput"),u._onBlur=u._buildHandler("onBlur"),u._onCharacterData=u._buildHandler("onCharacterData"),u._onCompositionEnd=u._buildHandler("onCompositionEnd"),u._onCompositionStart=u._buildHandler("onCompositionStart"),u._onCopy=u._buildHandler("onCopy"),u._onCut=u._buildHandler("onCut"),u._onDragEnd=u._buildHandler("onDragEnd"),u._onDragOver=u._buildHandler("onDragOver"),u._onDragStart=u._buildHandler("onDragStart"),u._onDrop=u._buildHandler("onDrop"),u._onInput=u._buildHandler("onInput"),u._onFocus=u._buildHandler("onFocus"),u._onKeyDown=u._buildHandler("onKeyDown"),u._onKeyPress=u._buildHandler("onKeyPress"),u._onKeyUp=u._buildHandler("onKeyUp"),u._onMouseDown=u._buildHandler("onMouseDown"),u._onMouseUp=u._buildHandler("onMouseUp"),u._onPaste=u._buildHandler("onPaste"),u._onSelect=u._buildHandler("onSelect"),u.getEditorKey=function(){return u._editorKey},u.state={contentsKey:0},u}var i=r.prototype;return i._buildHandler=function(a){var u=this;return function(f){if(!u.props.readOnly){var g=u._handler&&u._handler[a];g&&(zg?zg(function(){return g(u,f)}):g(u,f))}}},i._showPlaceholder=function(){return!!this.props.placeholder&&!this.props.editorState.isInCompositionMode()&&!this.props.editorState.getCurrentContent().hasText()},i._renderPlaceholder=function(){if(this._showPlaceholder()){var a={text:MC(this.props.placeholder),editorState:this.props.editorState,textAlignment:this.props.textAlignment,accessibilityID:this._placeholderAccessibilityID};return Eo.createElement(_C,a)}return null},i._renderARIADescribedBy=function(){var a=this.props.ariaDescribedBy||"",u=this._showPlaceholder()?this._placeholderAccessibilityID:"";return a.replace("{{editor_id_placeholder}}",u)||void 0},i.render=function(){var a=this.props,u=a.blockRenderMap,f=a.blockRendererFn,g=a.blockStyleFn,y=a.customStyleFn,b=a.customStyleMap,k=a.editorState,D=a.preventScroll,P=a.readOnly,L=a.textAlignment,T=a.textDirectionality,F=mf({"DraftEditor/root":!0,"DraftEditor/alignLeft":L==="left","DraftEditor/alignRight":L==="right","DraftEditor/alignCenter":L==="center"}),R={outline:"none",userSelect:"text",WebkitUserSelect:"text",whiteSpace:"pre-wrap",wordWrap:"break-word"},j=this.props.role||"textbox",ne=j==="combobox"?!!this.props.ariaExpanded:null,Y={blockRenderMap:u,blockRendererFn:f,blockStyleFn:g,customStyleMap:hf({},mC,b),customStyleFn:y,editorKey:this._editorKey,editorState:k,preventScroll:D,textDirectionality:T};return Eo.createElement("div",{className:F},this._renderPlaceholder(),Eo.createElement("div",{className:mf("DraftEditor/editorContainer"),ref:this._handleEditorContainerRef},Eo.createElement("div",{"aria-activedescendant":P?null:this.props.ariaActiveDescendantID,"aria-autocomplete":P?null:this.props.ariaAutoComplete,"aria-controls":P?null:this.props.ariaControls,"aria-describedby":this._renderARIADescribedBy(),"aria-expanded":P?null:ne,"aria-label":this.props.ariaLabel,"aria-labelledby":this.props.ariaLabelledBy,"aria-multiline":this.props.ariaMultiline,"aria-owns":P?null:this.props.ariaOwneeID,autoCapitalize:this.props.autoCapitalize,autoComplete:this.props.autoComplete,autoCorrect:this.props.autoCorrect,className:mf({notranslate:!P,"public/DraftEditor/content":!0}),contentEditable:!P,"data-testid":this.props.webDriverTestID,onBeforeInput:this._onBeforeInput,onBlur:this._onBlur,onCompositionEnd:this._onCompositionEnd,onCompositionStart:this._onCompositionStart,onCopy:this._onCopy,onCut:this._onCut,onDragEnd:this._onDragEnd,onDragEnter:this.onDragEnter,onDragLeave:this.onDragLeave,onDragOver:this._onDragOver,onDragStart:this._onDragStart,onDrop:this._onDrop,onFocus:this._onFocus,onInput:this._onInput,onKeyDown:this._onKeyDown,onKeyPress:this._onKeyPress,onKeyUp:this._onKeyUp,onMouseUp:this._onMouseUp,onPaste:this._onPaste,onSelect:this._onSelect,ref:this.props.editorRef,role:P?null:j,spellCheck:LC&&this.props.spellCheck,style:R,suppressContentEditableWarning:!0,tabIndex:this.props.tabIndex},Eo.createElement(CC,{editor:this,editorState:k}),Eo.createElement(vC,pf({},Y,{key:"contents"+this.state.contentsKey})))))},i.componentDidMount=function(){this._blockSelectEvents=!1,!Vg&&DC("draft_ods_enabled")&&(Vg=!0),this.setMode("edit"),Ag&&(this.editor?this.editor.ownerDocument.execCommand("AutoUrlDetect",!1,!1):La.execCommand("AutoUrlDetect",!1,!1))},i.componentDidUpdate=function(){this._blockSelectEvents=!1,this._latestEditorState=this.props.editorState,this._latestCommittedEditorState=this.props.editorState},r}(Eo.Component);Re(Qg,"defaultProps",{ariaDescribedBy:"{{editor_id_placeholder}}",blockRenderMap:hC,blockRendererFn:function(){return null},blockStyleFn:function(){return""},keyBindingFn:OC,readOnly:!1,spellCheck:!1,stripPastedStyles:!1});var BC=Qg,FC={},PC={stringify:function(t){return"_"+String(t)},unstringify:function(t){return t.slice(1)}},$g=PC,KC=$g,RC=aa,Xg=RC.strlen;function IC(t,r){var i=[];return t.findEntityRanges(function(a){return!!a.getEntity()},function(a,u){var f=t.getText(),g=t.getEntityAt(a);i.push({offset:Xg(f.slice(0,a)),length:Xg(f.slice(a,u)),key:Number(r[KC.stringify(g)])})}),i}var jC=IC,Zg=aa,TC=gl,zC=function(t,r){return t===r},HC=function(t){return!!t},qC=[];function AC(t,r,i){var a=[],u=r.map(function(f){return f.has(i)}).toList();return TC(u,zC,HC,function(f,g){var y=t.getText();a.push({offset:Zg.strlen(y.slice(0,f)),length:Zg.strlen(y.slice(f,g)),style:i})}),a}function UC(t){var r=t.getCharacterList().map(function(a){return a.getStyle()}).toList(),i=r.flatten().toSet().map(function(a){return AC(t,r,a)});return Array.prototype.concat.apply(qC,i.toJS())}var VC=UC;function QC(t){for(var r=1;r<arguments.length;r++){var i=arguments[r]!=null?arguments[r]:{},a=Object.keys(i);typeof Object.getOwnPropertySymbols=="function"&&(a=a.concat(Object.getOwnPropertySymbols(i).filter(function(u){return Object.getOwnPropertyDescriptor(i,u).enumerable}))),a.forEach(function(u){$C(t,u,i[u])})}return t}function $C(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}var XC=Wo,ZC=$r,Jg=$g,JC=jC,YC=VC,WC=_t,Yg=function(t,r){return{key:t.getKey(),text:t.getText(),type:t.getType(),depth:t.getDepth(),inlineStyleRanges:YC(t),entityRanges:JC(t,r),data:t.getData().toObject()}},GC=function(t,r,i,a){if(t instanceof XC){i.push(Yg(t,r));return}t instanceof ZC||WC(!1);var u=t.getParentKey(),f=a[t.getKey()]=QC({},Yg(t,r),{children:[]});if(u){a[u].children.push(f);return}i.push(f)},e2=function(t,r){var i=r.entityMap,a=[],u={},f={},g=0;return t.getBlockMap().forEach(function(y){y.findEntityRanges(function(b){return b.getEntity()!==null},function(b){var k=y.getEntityAt(b),D=Jg.stringify(k);f[D]||(f[D]=k,i[D]="".concat(g),g++)}),GC(y,i,a,u)}),{blocks:a,entityMap:i}},t2=function(t,r){var i=r.blocks,a=r.entityMap,u={};return Object.keys(a).forEach(function(f,g){var y=t.getEntity(Jg.unstringify(f));u[g]={type:y.getType(),mutability:y.getMutability(),data:y.getData()}}),{blocks:i,entityMap:u}},n2=function(t){var r={entityMap:{},blocks:[]};return r=e2(t,r),r=t2(t,r),r},r2=n2;function Rl(t){for(var r=1;r<arguments.length;r++){var i=arguments[r]!=null?arguments[r]:{},a=Object.keys(i);typeof Object.getOwnPropertySymbols=="function"&&(a=a.concat(Object.getOwnPropertySymbols(i).filter(function(u){return Object.getOwnPropertyDescriptor(i,u).enumerable}))),a.forEach(function(u){i2(t,u,i[u])})}return t}function i2(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}var o2=Ni,Wg=_t,a2=function(t,r){for(var i=[].concat(t).reverse();i.length;){var a=i.pop();r(a);var u=a.children;Array.isArray(u)||Wg(!1),i=i.concat([].concat(u.reverse()))}},Gg=function(t){if(!(t&&t.type))return!1;var r=t.type;return r==="unordered-list-item"||r==="ordered-list-item"},l2=function(t){Array.isArray(t.children)&&(t.children=t.children.map(function(r){return r.type===t.type?Rl({},r,{depth:(t.depth||0)+1}):r}))},u2={fromRawTreeStateToRawState:function(t){var r=t.blocks,i=[];return Array.isArray(r)||Wg(!1),!Array.isArray(r)||!r.length?t:(a2(r,function(a){var u=Rl({},a);Gg(a)&&(u.depth=u.depth||0,l2(a),a.children!=null&&a.children.length>0)||(delete u.children,i.push(u))}),t.blocks=i,Rl({},t,{blocks:i}))},fromRawStateToRawTreeState:function(t){var r=[],i=[];return t.blocks.forEach(function(a){var u=Gg(a),f=a.depth||0,g=Rl({},a,{children:[]});if(!u){r.push(g);return}var y=i[0];if(y==null&&f===0)r.push(g);else if(y==null||y.depth<f-1){var b={key:o2(),text:"",depth:f-1,type:a.type,children:[],entityRanges:[],inlineStyleRanges:[]};i.unshift(b),f===1?r.push(b):y?.children.push(b),b.children.push(g)}else if(y.depth===f-1)y.children.push(g);else{for(;y!=null&&y.depth>=f;)i.shift(),y=i[0];f>0?y.children.push(g):r.push(g)}}),Rl({},t,{blocks:r})}},s2=u2,c2=Qr,f2=mt,d2=f2.List;function p2(t,r){var i=t.map(function(a,u){var f=r[u];return c2.create({style:a,entity:f})});return d2(i)}var h2=p2,m2=aa,ev=m2.substr;function g2(t,r){var i=Array(t.length).fill(null);return r&&r.forEach(function(a){for(var u=ev(t,0,a.offset).length,f=u+ev(t,a.offset,a.length).length,g=u;g<f;g++)i[g]=a.key}),i}var v2=g2,y2=aa,b2=mt,_2=b2.OrderedSet,tv=y2.substr,w2=_2();function S2(t,r){var i=Array(t.length).fill(w2);return r&&r.forEach(function(a){for(var u=tv(t,0,a.offset).length,f=u+tv(t,a.offset,a.length).length;u<f;)i[u]=i[u].add(a.style),u++}),i}var k2=S2;function Il(t){for(var r=1;r<arguments.length;r++){var i=arguments[r]!=null?arguments[r]:{},a=Object.keys(i);typeof Object.getOwnPropertySymbols=="function"&&(a=a.concat(Object.getOwnPropertySymbols(i).filter(function(u){return Object.getOwnPropertyDescriptor(i,u).enumerable}))),a.forEach(function(u){x2(t,u,i[u])})}return t}function x2(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}var E2=Wo,nv=$r,O2=vc,N2=hu,rv=s2,iv=mu,D2=h2,M2=v2,L2=k2,ov=Ni,C2=wo,gf=mt,vf=_t,av=C2("draft_tree_data_support"),lv=gf.List,B2=gf.Map,uv=gf.OrderedMap,yf=function(t,r){var i=t.key,a=t.type,u=t.data,f=t.text,g=t.depth,y={text:f,depth:g||0,type:a||"unstyled",key:i||ov(),data:B2(u),characterList:F2(t,r)};return y},F2=function(t,r){var i=t.text,a=t.entityRanges,u=t.inlineStyleRanges,f=a||[],g=u||[];return D2(L2(i,g),M2(i,f.filter(function(y){return r.hasOwnProperty(y.key)}).map(function(y){return Il({},y,{key:r[y.key]})})))},bf=function(t){return Il({},t,{key:t.key||ov()})},sv=function(t,r,i){var a=r.map(function(u){return Il({},u,{parentRef:i})});return t.concat(a.reverse())},P2=function(t,r){return t.map(bf).reduce(function(i,a,u){Array.isArray(a.children)||vf(!1);var f=a.children.map(bf),g=new nv(Il({},yf(a,r),{prevSibling:u===0?null:t[u-1].key,nextSibling:u===t.length-1?null:t[u+1].key,children:lv(f.map(function(R){return R.key}))}));i=i.set(g.getKey(),g);for(var y=sv([],f,g);y.length>0;){var b=y.pop(),k=b.parentRef,D=k.getChildKeys(),P=D.indexOf(b.key),L=Array.isArray(b.children);if(!L){L||vf(!1);break}var T=b.children.map(bf),F=new nv(Il({},yf(b,r),{parent:k.getKey(),children:lv(T.map(function(R){return R.key})),prevSibling:P===0?null:D.get(P-1),nextSibling:P===D.size-1?null:D.get(P+1)}));i=i.set(F.getKey(),F),y=sv(y,T,F)}return i},uv())},K2=function(t,r){return uv(t.map(function(i){var a=new E2(yf(i,r));return[a.getKey(),a]}))},R2=function(t,r){var i=t.blocks.find(function(f){return Array.isArray(f.children)&&f.children.length>0}),a=av&&!i?rv.fromRawStateToRawTreeState(t).blocks:t.blocks;if(!av)return K2(i?rv.fromRawTreeStateToRawState(t).blocks:a,r);var u=P2(a,r);return u},I2=function(t){var r=t.entityMap,i={};return Object.keys(r).forEach(function(a){var u=r[a],f=u.type,g=u.mutability,y=u.data;i[a]=N2.__create(f,g,y||{})}),i},j2=function(t){Array.isArray(t.blocks)||vf(!1);var r=I2(t),i=R2(t,r),a=i.isEmpty()?new iv:iv.createEmpty(i.first().getKey());return new O2({blockMap:i,entityMap:r,selectionBefore:a,selectionAfter:a})},T2=j2,z2=qm;function H2(t){var r=z2(t),i=0,a=0,u=0,f=0;if(r.length){if(r.length>1&&r[0].width===0){var g=r[1];i=g.top,a=g.right,u=g.bottom,f=g.left}else{var y=r[0];i=y.top,a=y.right,u=y.bottom,f=y.left}for(var b=1;b<r.length;b++){var k=r[b];k.height!==0&&k.width!==0&&(i=Math.min(i,k.top),a=Math.max(a,k.right),u=Math.max(u,k.bottom),f=Math.min(f,k.left))}}return{top:i,right:a,bottom:u,left:f,width:a-f,height:u-i}}var q2=H2,A2=q2;function U2(t){var r=t.getSelection();if(!r.rangeCount)return null;var i=r.getRangeAt(0),a=A2(i),u=a.top,f=a.right,g=a.bottom,y=a.left;return u===0&&f===0&&g===0&&y===0?null:a}var V2=U2,Q2=IS,$2=ml,X2=Qr,Z2=US,J2=Wo,Y2=vc,W2=xc,G2=ch,eB=BC,tB=hm,nB=hu,rB=lr,iB=Bp,oB=zt,aB=Gc,lB=FC,uB=yg,sB=mu,cB=r2,fB=T2,dB=Ni,pB=jg,hB=V2,mB=mg,gB={Editor:eB,EditorBlock:tB,EditorState:oB,CompositeDecorator:Z2,Entity:nB,EntityInstance:iB,BlockMapBuilder:$2,CharacterMetadata:X2,ContentBlock:J2,ContentState:Y2,RawDraftContentState:lB,SelectionState:sB,AtomicBlockUtils:Q2,KeyBindingUtil:aB,Modifier:rB,RichUtils:uB,DefaultDraftBlockRenderMap:W2,DefaultDraftInlineStyle:G2,convertFromHTML:mB,convertFromRaw:fB,convertToRaw:cB,genKey:dB,getDefaultKeyBinding:pB,getVisibleSelectionRect:hB},cv=gB,vB=function(t,r,i,a,u,f,g,y){if(!t){var b;if(r===void 0)b=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var k=[i,a,u,f,g,y],D=0;b=new Error(r.replace(/%s/g,function(){return k[D++]})),b.name="Invariant Violation"}throw b.framesToPop=1,b}},gi=vB,Dn={},sa={};/**
51
+ `+m.stack}return{value:e,source:n,stack:d,digest:null}}function Cd(e,n,o){return{value:e,source:null,stack:o??null,digest:n??null}}function Bd(e,n){try{console.error(n.value)}catch(o){setTimeout(function(){throw o})}}var M2=typeof WeakMap=="function"?WeakMap:Map;function vb(e,n,o){o=wo(-1,o),o.tag=3,o.payload={element:null};var s=n.value;return o.callback=function(){Zs||(Zs=!0,Qd=s),Bd(e,n)},o}function yb(e,n,o){o=wo(-1,o),o.tag=3;var s=e.type.getDerivedStateFromError;if(typeof s=="function"){var d=n.value;o.payload=function(){return s(d)},o.callback=function(){Bd(e,n)}}var m=e.stateNode;return m!==null&&typeof m.componentDidCatch=="function"&&(o.callback=function(){Bd(e,n),typeof s!="function"&&(Jo===null?Jo=new Set([this]):Jo.add(this));var k=n.stack;this.componentDidCatch(n.value,{componentStack:k!==null?k:""})}),o}function bb(e,n,o){var s=e.pingCache;if(s===null){s=e.pingCache=new M2;var d=new Set;s.set(n,d)}else d=s.get(n),d===void 0&&(d=new Set,s.set(n,d));d.has(o)||(d.add(o),e=q2.bind(null,e,n,o),n.then(e,e))}function _b(e){do{var n;if((n=e.tag===13)&&(n=e.memoizedState,n=n!==null?n.dehydrated!==null:!0),n)return e;e=e.return}while(e!==null);return null}function wb(e,n,o,s,d){return e.mode&1?(e.flags|=65536,e.lanes=d,e):(e===n?e.flags|=65536:(e.flags|=128,o.flags|=131072,o.flags&=-52805,o.tag===1&&(o.alternate===null?o.tag=17:(n=wo(-1,1),n.tag=2,$o(o,n,1))),o.lanes|=1),e)}var L2=J.ReactCurrentOwner,kr=!1;function ar(e,n,o,s){n.child=e===null?Zy(n,null,o,s):dl(n,e.child,o,s)}function Sb(e,n,o,s,d){o=o.render;var m=n.ref;return fl(n,d),s=kd(e,n,o,s,m,d),o=Nd(),e!==null&&!kr?(n.updateQueue=e.updateQueue,n.flags&=-2053,e.lanes&=~d,So(e,n,d)):(Gt&&o&&ad(n),n.flags|=1,ar(e,n,s,d),n.child)}function xb(e,n,o,s,d){if(e===null){var m=o.type;return typeof m=="function"&&!Gd(m)&&m.defaultProps===void 0&&o.compare===null&&o.defaultProps===void 0?(n.tag=15,n.type=m,Eb(e,n,m,s,d)):(e=ec(o.type,null,s,n,n.mode,d),e.ref=n.ref,e.return=n,n.child=e)}if(m=e.child,!(e.lanes&d)){var k=m.memoizedProps;if(o=o.compare,o=o!==null?o:$e,o(k,s)&&e.ref===n.ref)return So(e,n,d)}return n.flags|=1,e=ta(m,s),e.ref=n.ref,e.return=n,n.child=e}function Eb(e,n,o,s,d){if(e!==null){var m=e.memoizedProps;if($e(m,s)&&e.ref===n.ref)if(kr=!1,n.pendingProps=s=m,(e.lanes&d)!==0)e.flags&131072&&(kr=!0);else return n.lanes=e.lanes,So(e,n,d)}return Fd(e,n,o,s,d)}function kb(e,n,o){var s=n.pendingProps,d=s.children,m=e!==null?e.memoizedState:null;if(s.mode==="hidden")if(!(n.mode&1))n.memoizedState={baseLanes:0,cachePool:null,transitions:null},Ut(gl,Zr),Zr|=o;else{if(!(o&1073741824))return e=m!==null?m.baseLanes|o:o,n.lanes=n.childLanes=1073741824,n.memoizedState={baseLanes:e,cachePool:null,transitions:null},n.updateQueue=null,Ut(gl,Zr),Zr|=e,null;n.memoizedState={baseLanes:0,cachePool:null,transitions:null},s=m!==null?m.baseLanes:o,Ut(gl,Zr),Zr|=s}else m!==null?(s=m.baseLanes|o,n.memoizedState=null):s=o,Ut(gl,Zr),Zr|=s;return ar(e,n,d,o),n.child}function Nb(e,n){var o=n.ref;(e===null&&o!==null||e!==null&&e.ref!==o)&&(n.flags|=512,n.flags|=2097152)}function Fd(e,n,o,s,d){var m=Er(o)?Sa:$n.current;return m=al(n,m),fl(n,d),o=kd(e,n,o,s,m,d),s=Nd(),e!==null&&!kr?(n.updateQueue=e.updateQueue,n.flags&=-2053,e.lanes&=~d,So(e,n,d)):(Gt&&s&&ad(n),n.flags|=1,ar(e,n,o,d),n.child)}function Ob(e,n,o,s,d){if(Er(o)){var m=!0;ks(n)}else m=!1;if(fl(n,d),n.stateNode===null)qs(e,n),Uy(n,o,s),yd(n,o,s,d),s=!0;else if(e===null){var k=n.stateNode,I=n.memoizedProps;k.props=I;var H=k.context,ee=o.contextType;typeof ee=="object"&&ee!==null?ee=hi(ee):(ee=Er(o)?Sa:$n.current,ee=al(n,ee));var ce=o.getDerivedStateFromProps,de=typeof ce=="function"||typeof k.getSnapshotBeforeUpdate=="function";de||typeof k.UNSAFE_componentWillReceiveProps!="function"&&typeof k.componentWillReceiveProps!="function"||(I!==s||H!==ee)&&Vy(n,k,s,ee),Zo=!1;var se=n.memoizedState;k.state=se,Fs(n,s,k,d),H=n.memoizedState,I!==s||se!==H||xr.current||Zo?(typeof ce=="function"&&(vd(n,o,ce,s),H=n.memoizedState),(I=Zo||qy(n,o,I,s,se,H,ee))?(de||typeof k.UNSAFE_componentWillMount!="function"&&typeof k.componentWillMount!="function"||(typeof k.componentWillMount=="function"&&k.componentWillMount(),typeof k.UNSAFE_componentWillMount=="function"&&k.UNSAFE_componentWillMount()),typeof k.componentDidMount=="function"&&(n.flags|=4194308)):(typeof k.componentDidMount=="function"&&(n.flags|=4194308),n.memoizedProps=s,n.memoizedState=H),k.props=s,k.state=H,k.context=ee,s=I):(typeof k.componentDidMount=="function"&&(n.flags|=4194308),s=!1)}else{k=n.stateNode,Ty(e,n),I=n.memoizedProps,ee=n.type===n.elementType?I:Ni(n.type,I),k.props=ee,de=n.pendingProps,se=k.context,H=o.contextType,typeof H=="object"&&H!==null?H=hi(H):(H=Er(o)?Sa:$n.current,H=al(n,H));var Oe=o.getDerivedStateFromProps;(ce=typeof Oe=="function"||typeof k.getSnapshotBeforeUpdate=="function")||typeof k.UNSAFE_componentWillReceiveProps!="function"&&typeof k.componentWillReceiveProps!="function"||(I!==de||se!==H)&&Vy(n,k,s,H),Zo=!1,se=n.memoizedState,k.state=se,Fs(n,s,k,d);var Be=n.memoizedState;I!==de||se!==Be||xr.current||Zo?(typeof Oe=="function"&&(vd(n,o,Oe,s),Be=n.memoizedState),(ee=Zo||qy(n,o,ee,s,se,Be,H)||!1)?(ce||typeof k.UNSAFE_componentWillUpdate!="function"&&typeof k.componentWillUpdate!="function"||(typeof k.componentWillUpdate=="function"&&k.componentWillUpdate(s,Be,H),typeof k.UNSAFE_componentWillUpdate=="function"&&k.UNSAFE_componentWillUpdate(s,Be,H)),typeof k.componentDidUpdate=="function"&&(n.flags|=4),typeof k.getSnapshotBeforeUpdate=="function"&&(n.flags|=1024)):(typeof k.componentDidUpdate!="function"||I===e.memoizedProps&&se===e.memoizedState||(n.flags|=4),typeof k.getSnapshotBeforeUpdate!="function"||I===e.memoizedProps&&se===e.memoizedState||(n.flags|=1024),n.memoizedProps=s,n.memoizedState=Be),k.props=s,k.state=Be,k.context=H,s=ee):(typeof k.componentDidUpdate!="function"||I===e.memoizedProps&&se===e.memoizedState||(n.flags|=4),typeof k.getSnapshotBeforeUpdate!="function"||I===e.memoizedProps&&se===e.memoizedState||(n.flags|=1024),s=!1)}return Pd(e,n,o,s,m,d)}function Pd(e,n,o,s,d,m){Nb(e,n);var k=(n.flags&128)!==0;if(!s&&!k)return d&&Cy(n,o,!1),So(e,n,m);s=n.stateNode,L2.current=n;var I=k&&typeof o.getDerivedStateFromError!="function"?null:s.render();return n.flags|=1,e!==null&&k?(n.child=dl(n,e.child,null,m),n.child=dl(n,null,I,m)):ar(e,n,I,m),n.memoizedState=s.state,d&&Cy(n,o,!0),n.child}function Db(e){var n=e.stateNode;n.pendingContext?My(e,n.pendingContext,n.pendingContext!==n.context):n.context&&My(e,n.context,!1),bd(e,n.containerInfo)}function Mb(e,n,o,s,d){return sl(),cd(d),n.flags|=256,ar(e,n,o,s),n.child}var Kd={dehydrated:null,treeContext:null,retryLane:0};function Rd(e){return{baseLanes:e,cachePool:null,transitions:null}}function Lb(e,n,o){var s=n.pendingProps,d=an.current,m=!1,k=(n.flags&128)!==0,I;if((I=k)||(I=e!==null&&e.memoizedState===null?!1:(d&2)!==0),I?(m=!0,n.flags&=-129):(e===null||e.memoizedState!==null)&&(d|=1),Ut(an,d&1),e===null)return sd(n),e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(n.mode&1?e.data==="$!"?n.lanes=8:n.lanes=1073741824:n.lanes=1,null):(k=s.children,e=s.fallback,m?(s=n.mode,m=n.child,k={mode:"hidden",children:k},!(s&1)&&m!==null?(m.childLanes=0,m.pendingProps=k):m=tc(k,s,0,null),e=Ba(e,s,o,null),m.return=n,e.return=n,m.sibling=e,n.child=m,n.child.memoizedState=Rd(o),n.memoizedState=Kd,e):Id(n,k));if(d=e.memoizedState,d!==null&&(I=d.dehydrated,I!==null))return C2(e,n,k,s,I,d,o);if(m){m=s.fallback,k=n.mode,d=e.child,I=d.sibling;var H={mode:"hidden",children:s.children};return!(k&1)&&n.child!==d?(s=n.child,s.childLanes=0,s.pendingProps=H,n.deletions=null):(s=ta(d,H),s.subtreeFlags=d.subtreeFlags&14680064),I!==null?m=ta(I,m):(m=Ba(m,k,o,null),m.flags|=2),m.return=n,s.return=n,s.sibling=m,n.child=s,s=m,m=n.child,k=e.child.memoizedState,k=k===null?Rd(o):{baseLanes:k.baseLanes|o,cachePool:null,transitions:k.transitions},m.memoizedState=k,m.childLanes=e.childLanes&~o,n.memoizedState=Kd,s}return m=e.child,e=m.sibling,s=ta(m,{mode:"visible",children:s.children}),!(n.mode&1)&&(s.lanes=o),s.return=n,s.sibling=null,e!==null&&(o=n.deletions,o===null?(n.deletions=[e],n.flags|=16):o.push(e)),n.child=s,n.memoizedState=null,s}function Id(e,n){return n=tc({mode:"visible",children:n},e.mode,0,null),n.return=e,e.child=n}function As(e,n,o,s){return s!==null&&cd(s),dl(n,e.child,null,o),e=Id(n,n.pendingProps.children),e.flags|=2,n.memoizedState=null,e}function C2(e,n,o,s,d,m,k){if(o)return n.flags&256?(n.flags&=-257,s=Cd(Error(i(422))),As(e,n,k,s)):n.memoizedState!==null?(n.child=e.child,n.flags|=128,null):(m=s.fallback,d=n.mode,s=tc({mode:"visible",children:s.children},d,0,null),m=Ba(m,d,k,null),m.flags|=2,s.return=n,m.return=n,s.sibling=m,n.child=s,n.mode&1&&dl(n,e.child,null,k),n.child.memoizedState=Rd(k),n.memoizedState=Kd,m);if(!(n.mode&1))return As(e,n,k,null);if(d.data==="$!"){if(s=d.nextSibling&&d.nextSibling.dataset,s)var I=s.dgst;return s=I,m=Error(i(419)),s=Cd(m,s,void 0),As(e,n,k,s)}if(I=(k&e.childLanes)!==0,kr||I){if(s=In,s!==null){switch(k&-k){case 4:d=2;break;case 16:d=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:d=32;break;case 536870912:d=268435456;break;default:d=0}d=d&(s.suspendedLanes|k)?0:d,d!==0&&d!==m.retryLane&&(m.retryLane=d,_o(e,d),Mi(s,e,d,-1))}return Wd(),s=Cd(Error(i(421))),As(e,n,k,s)}return d.data==="$?"?(n.flags|=128,n.child=e.child,n=U2.bind(null,e),d._reactRetry=n,null):(e=m.treeContext,Xr=Uo(d.nextSibling),Qr=n,Gt=!0,ki=null,e!==null&&(di[pi++]=yo,di[pi++]=bo,di[pi++]=xa,yo=e.id,bo=e.overflow,xa=n),n=Id(n,s.children),n.flags|=4096,n)}function Cb(e,n,o){e.lanes|=n;var s=e.alternate;s!==null&&(s.lanes|=n),hd(e.return,n,o)}function jd(e,n,o,s,d){var m=e.memoizedState;m===null?e.memoizedState={isBackwards:n,rendering:null,renderingStartTime:0,last:s,tail:o,tailMode:d}:(m.isBackwards=n,m.rendering=null,m.renderingStartTime=0,m.last=s,m.tail=o,m.tailMode=d)}function Bb(e,n,o){var s=n.pendingProps,d=s.revealOrder,m=s.tail;if(ar(e,n,s.children,o),s=an.current,s&2)s=s&1|2,n.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=n.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Cb(e,o,n);else if(e.tag===19)Cb(e,o,n);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===n)break e;for(;e.sibling===null;){if(e.return===null||e.return===n)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}s&=1}if(Ut(an,s),!(n.mode&1))n.memoizedState=null;else switch(d){case"forwards":for(o=n.child,d=null;o!==null;)e=o.alternate,e!==null&&Rs(e)===null&&(d=o),o=o.sibling;o=d,o===null?(d=n.child,n.child=null):(d=o.sibling,o.sibling=null),jd(n,!1,d,o,m);break;case"backwards":for(o=null,d=n.child,n.child=null;d!==null;){if(e=d.alternate,e!==null&&Rs(e)===null){n.child=d;break}e=d.sibling,d.sibling=o,o=d,d=e}jd(n,!0,o,null,m);break;case"together":jd(n,!1,null,null,void 0);break;default:n.memoizedState=null}return n.child}function qs(e,n){!(n.mode&1)&&e!==null&&(e.alternate=null,n.alternate=null,n.flags|=2)}function So(e,n,o){if(e!==null&&(n.dependencies=e.dependencies),Da|=n.lanes,!(o&n.childLanes))return null;if(e!==null&&n.child!==e.child)throw Error(i(153));if(n.child!==null){for(e=n.child,o=ta(e,e.pendingProps),n.child=o,o.return=n;e.sibling!==null;)e=e.sibling,o=o.sibling=ta(e,e.pendingProps),o.return=n;o.sibling=null}return n.child}function B2(e,n,o){switch(n.tag){case 3:Db(n),sl();break;case 5:$y(n);break;case 1:Er(n.type)&&ks(n);break;case 4:bd(n,n.stateNode.containerInfo);break;case 10:var s=n.type._context,d=n.memoizedProps.value;Ut(Ls,s._currentValue),s._currentValue=d;break;case 13:if(s=n.memoizedState,s!==null)return s.dehydrated!==null?(Ut(an,an.current&1),n.flags|=128,null):o&n.child.childLanes?Lb(e,n,o):(Ut(an,an.current&1),e=So(e,n,o),e!==null?e.sibling:null);Ut(an,an.current&1);break;case 19:if(s=(o&n.childLanes)!==0,e.flags&128){if(s)return Bb(e,n,o);n.flags|=128}if(d=n.memoizedState,d!==null&&(d.rendering=null,d.tail=null,d.lastEffect=null),Ut(an,an.current),s)break;return null;case 22:case 23:return n.lanes=0,kb(e,n,o)}return So(e,n,o)}var Fb,Td,Pb,Kb;Fb=function(e,n){for(var o=n.child;o!==null;){if(o.tag===5||o.tag===6)e.appendChild(o.stateNode);else if(o.tag!==4&&o.child!==null){o.child.return=o,o=o.child;continue}if(o===n)break;for(;o.sibling===null;){if(o.return===null||o.return===n)return;o=o.return}o.sibling.return=o.return,o=o.sibling}},Td=function(){},Pb=function(e,n,o,s){var d=e.memoizedProps;if(d!==s){e=n.stateNode,Na(Zi.current);var m=null;switch(o){case"input":d=st(e,d),s=st(e,s),m=[];break;case"select":d=ae({},d,{value:void 0}),s=ae({},s,{value:void 0}),m=[];break;case"textarea":d=Kt(e,d),s=Kt(e,s),m=[];break;default:typeof d.onClick!="function"&&typeof s.onClick=="function"&&(e.onclick=Ss)}_i(o,s);var k;o=null;for(ee in d)if(!s.hasOwnProperty(ee)&&d.hasOwnProperty(ee)&&d[ee]!=null)if(ee==="style"){var I=d[ee];for(k in I)I.hasOwnProperty(k)&&(o||(o={}),o[k]="")}else ee!=="dangerouslySetInnerHTML"&&ee!=="children"&&ee!=="suppressContentEditableWarning"&&ee!=="suppressHydrationWarning"&&ee!=="autoFocus"&&(u.hasOwnProperty(ee)?m||(m=[]):(m=m||[]).push(ee,null));for(ee in s){var H=s[ee];if(I=d?.[ee],s.hasOwnProperty(ee)&&H!==I&&(H!=null||I!=null))if(ee==="style")if(I){for(k in I)!I.hasOwnProperty(k)||H&&H.hasOwnProperty(k)||(o||(o={}),o[k]="");for(k in H)H.hasOwnProperty(k)&&I[k]!==H[k]&&(o||(o={}),o[k]=H[k])}else o||(m||(m=[]),m.push(ee,o)),o=H;else ee==="dangerouslySetInnerHTML"?(H=H?H.__html:void 0,I=I?I.__html:void 0,H!=null&&I!==H&&(m=m||[]).push(ee,H)):ee==="children"?typeof H!="string"&&typeof H!="number"||(m=m||[]).push(ee,""+H):ee!=="suppressContentEditableWarning"&&ee!=="suppressHydrationWarning"&&(u.hasOwnProperty(ee)?(H!=null&&ee==="onScroll"&&$t("scroll",e),m||I===H||(m=[])):(m=m||[]).push(ee,H))}o&&(m=m||[]).push("style",o);var ee=m;(n.updateQueue=ee)&&(n.flags|=4)}},Kb=function(e,n,o,s){o!==s&&(n.flags|=4)};function fu(e,n){if(!Gt)switch(e.tailMode){case"hidden":n=e.tail;for(var o=null;n!==null;)n.alternate!==null&&(o=n),n=n.sibling;o===null?e.tail=null:o.sibling=null;break;case"collapsed":o=e.tail;for(var s=null;o!==null;)o.alternate!==null&&(s=o),o=o.sibling;s===null?n||e.tail===null?e.tail=null:e.tail.sibling=null:s.sibling=null}}function Jn(e){var n=e.alternate!==null&&e.alternate.child===e.child,o=0,s=0;if(n)for(var d=e.child;d!==null;)o|=d.lanes|d.childLanes,s|=d.subtreeFlags&14680064,s|=d.flags&14680064,d.return=e,d=d.sibling;else for(d=e.child;d!==null;)o|=d.lanes|d.childLanes,s|=d.subtreeFlags,s|=d.flags,d.return=e,d=d.sibling;return e.subtreeFlags|=s,e.childLanes=o,n}function F2(e,n,o){var s=n.pendingProps;switch(ld(n),n.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Jn(n),null;case 1:return Er(n.type)&&Es(),Jn(n),null;case 3:return s=n.stateNode,pl(),Yt(xr),Yt($n),Sd(),s.pendingContext&&(s.context=s.pendingContext,s.pendingContext=null),(e===null||e.child===null)&&(Ms(n)?n.flags|=4:e===null||e.memoizedState.isDehydrated&&!(n.flags&256)||(n.flags|=1024,ki!==null&&($d(ki),ki=null))),Td(e,n),Jn(n),null;case 5:_d(n);var d=Na(au.current);if(o=n.type,e!==null&&n.stateNode!=null)Pb(e,n,o,s,d),e.ref!==n.ref&&(n.flags|=512,n.flags|=2097152);else{if(!s){if(n.stateNode===null)throw Error(i(166));return Jn(n),null}if(e=Na(Zi.current),Ms(n)){s=n.stateNode,o=n.type;var m=n.memoizedProps;switch(s[Xi]=n,s[tu]=m,e=(n.mode&1)!==0,o){case"dialog":$t("cancel",s),$t("close",s);break;case"iframe":case"object":case"embed":$t("load",s);break;case"video":case"audio":for(d=0;d<Wl.length;d++)$t(Wl[d],s);break;case"source":$t("error",s);break;case"img":case"image":case"link":$t("error",s),$t("load",s);break;case"details":$t("toggle",s);break;case"input":ut(s,m),$t("invalid",s);break;case"select":s._wrapperState={wasMultiple:!!m.multiple},$t("invalid",s);break;case"textarea":Fe(s,m),$t("invalid",s)}_i(o,m),d=null;for(var k in m)if(m.hasOwnProperty(k)){var I=m[k];k==="children"?typeof I=="string"?s.textContent!==I&&(m.suppressHydrationWarning!==!0&&ws(s.textContent,I,e),d=["children",I]):typeof I=="number"&&s.textContent!==""+I&&(m.suppressHydrationWarning!==!0&&ws(s.textContent,I,e),d=["children",""+I]):u.hasOwnProperty(k)&&I!=null&&k==="onScroll"&&$t("scroll",s)}switch(o){case"input":kt(s),Bt(s,m,!0);break;case"textarea":kt(s),Ye(s);break;case"select":case"option":break;default:typeof m.onClick=="function"&&(s.onclick=Ss)}s=d,n.updateQueue=s,s!==null&&(n.flags|=4)}else{k=d.nodeType===9?d:d.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=ht(o)),e==="http://www.w3.org/1999/xhtml"?o==="script"?(e=k.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof s.is=="string"?e=k.createElement(o,{is:s.is}):(e=k.createElement(o),o==="select"&&(k=e,s.multiple?k.multiple=!0:s.size&&(k.size=s.size))):e=k.createElementNS(e,o),e[Xi]=n,e[tu]=s,Fb(e,n,!1,!1),n.stateNode=e;e:{switch(k=Jt(o,s),o){case"dialog":$t("cancel",e),$t("close",e),d=s;break;case"iframe":case"object":case"embed":$t("load",e),d=s;break;case"video":case"audio":for(d=0;d<Wl.length;d++)$t(Wl[d],e);d=s;break;case"source":$t("error",e),d=s;break;case"img":case"image":case"link":$t("error",e),$t("load",e),d=s;break;case"details":$t("toggle",e),d=s;break;case"input":ut(e,s),d=st(e,s),$t("invalid",e);break;case"option":d=s;break;case"select":e._wrapperState={wasMultiple:!!s.multiple},d=ae({},s,{value:void 0}),$t("invalid",e);break;case"textarea":Fe(e,s),d=Kt(e,s),$t("invalid",e);break;default:d=s}_i(o,d),I=d;for(m in I)if(I.hasOwnProperty(m)){var H=I[m];m==="style"?ro(e,H):m==="dangerouslySetInnerHTML"?(H=H?H.__html:void 0,H!=null&&ct(e,H)):m==="children"?typeof H=="string"?(o!=="textarea"||H!=="")&&xn(e,H):typeof H=="number"&&xn(e,""+H):m!=="suppressContentEditableWarning"&&m!=="suppressHydrationWarning"&&m!=="autoFocus"&&(u.hasOwnProperty(m)?H!=null&&m==="onScroll"&&$t("scroll",e):H!=null&&W(e,m,H,k))}switch(o){case"input":kt(e),Bt(e,s,!1);break;case"textarea":kt(e),Ye(e);break;case"option":s.value!=null&&e.setAttribute("value",""+Rt(s.value));break;case"select":e.multiple=!!s.multiple,m=s.value,m!=null?pt(e,!!s.multiple,m,!1):s.defaultValue!=null&&pt(e,!!s.multiple,s.defaultValue,!0);break;default:typeof d.onClick=="function"&&(e.onclick=Ss)}switch(o){case"button":case"input":case"select":case"textarea":s=!!s.autoFocus;break e;case"img":s=!0;break e;default:s=!1}}s&&(n.flags|=4)}n.ref!==null&&(n.flags|=512,n.flags|=2097152)}return Jn(n),null;case 6:if(e&&n.stateNode!=null)Kb(e,n,e.memoizedProps,s);else{if(typeof s!="string"&&n.stateNode===null)throw Error(i(166));if(o=Na(au.current),Na(Zi.current),Ms(n)){if(s=n.stateNode,o=n.memoizedProps,s[Xi]=n,(m=s.nodeValue!==o)&&(e=Qr,e!==null))switch(e.tag){case 3:ws(s.nodeValue,o,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&ws(s.nodeValue,o,(e.mode&1)!==0)}m&&(n.flags|=4)}else s=(o.nodeType===9?o:o.ownerDocument).createTextNode(s),s[Xi]=n,n.stateNode=s}return Jn(n),null;case 13:if(Yt(an),s=n.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(Gt&&Xr!==null&&n.mode&1&&!(n.flags&128))Iy(),sl(),n.flags|=98560,m=!1;else if(m=Ms(n),s!==null&&s.dehydrated!==null){if(e===null){if(!m)throw Error(i(318));if(m=n.memoizedState,m=m!==null?m.dehydrated:null,!m)throw Error(i(317));m[Xi]=n}else sl(),!(n.flags&128)&&(n.memoizedState=null),n.flags|=4;Jn(n),m=!1}else ki!==null&&($d(ki),ki=null),m=!0;if(!m)return n.flags&65536?n:null}return n.flags&128?(n.lanes=o,n):(s=s!==null,s!==(e!==null&&e.memoizedState!==null)&&s&&(n.child.flags|=8192,n.mode&1&&(e===null||an.current&1?Dn===0&&(Dn=3):Wd())),n.updateQueue!==null&&(n.flags|=4),Jn(n),null);case 4:return pl(),Td(e,n),e===null&&Gl(n.stateNode.containerInfo),Jn(n),null;case 10:return pd(n.type._context),Jn(n),null;case 17:return Er(n.type)&&Es(),Jn(n),null;case 19:if(Yt(an),m=n.memoizedState,m===null)return Jn(n),null;if(s=(n.flags&128)!==0,k=m.rendering,k===null)if(s)fu(m,!1);else{if(Dn!==0||e!==null&&e.flags&128)for(e=n.child;e!==null;){if(k=Rs(e),k!==null){for(n.flags|=128,fu(m,!1),s=k.updateQueue,s!==null&&(n.updateQueue=s,n.flags|=4),n.subtreeFlags=0,s=o,o=n.child;o!==null;)m=o,e=s,m.flags&=14680066,k=m.alternate,k===null?(m.childLanes=0,m.lanes=e,m.child=null,m.subtreeFlags=0,m.memoizedProps=null,m.memoizedState=null,m.updateQueue=null,m.dependencies=null,m.stateNode=null):(m.childLanes=k.childLanes,m.lanes=k.lanes,m.child=k.child,m.subtreeFlags=0,m.deletions=null,m.memoizedProps=k.memoizedProps,m.memoizedState=k.memoizedState,m.updateQueue=k.updateQueue,m.type=k.type,e=k.dependencies,m.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),o=o.sibling;return Ut(an,an.current&1|2),n.child}e=e.sibling}m.tail!==null&&vt()>vl&&(n.flags|=128,s=!0,fu(m,!1),n.lanes=4194304)}else{if(!s)if(e=Rs(k),e!==null){if(n.flags|=128,s=!0,o=e.updateQueue,o!==null&&(n.updateQueue=o,n.flags|=4),fu(m,!0),m.tail===null&&m.tailMode==="hidden"&&!k.alternate&&!Gt)return Jn(n),null}else 2*vt()-m.renderingStartTime>vl&&o!==1073741824&&(n.flags|=128,s=!0,fu(m,!1),n.lanes=4194304);m.isBackwards?(k.sibling=n.child,n.child=k):(o=m.last,o!==null?o.sibling=k:n.child=k,m.last=k)}return m.tail!==null?(n=m.tail,m.rendering=n,m.tail=n.sibling,m.renderingStartTime=vt(),n.sibling=null,o=an.current,Ut(an,s?o&1|2:o&1),n):(Jn(n),null);case 22:case 23:return Jd(),s=n.memoizedState!==null,e!==null&&e.memoizedState!==null!==s&&(n.flags|=8192),s&&n.mode&1?Zr&1073741824&&(Jn(n),n.subtreeFlags&6&&(n.flags|=8192)):Jn(n),null;case 24:return null;case 25:return null}throw Error(i(156,n.tag))}function P2(e,n){switch(ld(n),n.tag){case 1:return Er(n.type)&&Es(),e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 3:return pl(),Yt(xr),Yt($n),Sd(),e=n.flags,e&65536&&!(e&128)?(n.flags=e&-65537|128,n):null;case 5:return _d(n),null;case 13:if(Yt(an),e=n.memoizedState,e!==null&&e.dehydrated!==null){if(n.alternate===null)throw Error(i(340));sl()}return e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 19:return Yt(an),null;case 4:return pl(),null;case 10:return pd(n.type._context),null;case 22:case 23:return Jd(),null;case 24:return null;default:return null}}var Us=!1,Wn=!1,K2=typeof WeakSet=="function"?WeakSet:Set,Le=null;function ml(e,n){var o=e.ref;if(o!==null)if(typeof o=="function")try{o(null)}catch(s){cn(e,n,s)}else o.current=null}function Rb(e,n,o){try{o()}catch(s){cn(e,n,s)}}var Ib=!1;function R2(e,n){if(Wf=yn,e=Vr(),Ao(e)){if("selectionStart"in e)var o={start:e.selectionStart,end:e.selectionEnd};else e:{o=(o=e.ownerDocument)&&o.defaultView||window;var s=o.getSelection&&o.getSelection();if(s&&s.rangeCount!==0){o=s.anchorNode;var d=s.anchorOffset,m=s.focusNode;s=s.focusOffset;try{o.nodeType,m.nodeType}catch{o=null;break e}var k=0,I=-1,H=-1,ee=0,ce=0,de=e,se=null;t:for(;;){for(var Oe;de!==o||d!==0&&de.nodeType!==3||(I=k+d),de!==m||s!==0&&de.nodeType!==3||(H=k+s),de.nodeType===3&&(k+=de.nodeValue.length),(Oe=de.firstChild)!==null;)se=de,de=Oe;for(;;){if(de===e)break t;if(se===o&&++ee===d&&(I=k),se===m&&++ce===s&&(H=k),(Oe=de.nextSibling)!==null)break;de=se,se=de.parentNode}de=Oe}o=I===-1||H===-1?null:{start:I,end:H}}else o=null}o=o||{start:0,end:0}}else o=null;for(Gf={focusedElem:e,selectionRange:o},yn=!1,Le=n;Le!==null;)if(n=Le,e=n.child,(n.subtreeFlags&1028)!==0&&e!==null)e.return=n,Le=e;else for(;Le!==null;){n=Le;try{var Be=n.alternate;if(n.flags&1024)switch(n.tag){case 0:case 11:case 15:break;case 1:if(Be!==null){var Pe=Be.memoizedProps,dn=Be.memoizedState,Q=n.stateNode,A=Q.getSnapshotBeforeUpdate(n.elementType===n.type?Pe:Ni(n.type,Pe),dn);Q.__reactInternalSnapshotBeforeUpdate=A}break;case 3:var $=n.stateNode.containerInfo;$.nodeType===1?$.textContent="":$.nodeType===9&&$.documentElement&&$.removeChild($.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(i(163))}}catch(ye){cn(n,n.return,ye)}if(e=n.sibling,e!==null){e.return=n.return,Le=e;break}Le=n.return}return Be=Ib,Ib=!1,Be}function du(e,n,o){var s=n.updateQueue;if(s=s!==null?s.lastEffect:null,s!==null){var d=s=s.next;do{if((d.tag&e)===e){var m=d.destroy;d.destroy=void 0,m!==void 0&&Rb(n,o,m)}d=d.next}while(d!==s)}}function Vs(e,n){if(n=n.updateQueue,n=n!==null?n.lastEffect:null,n!==null){var o=n=n.next;do{if((o.tag&e)===e){var s=o.create;o.destroy=s()}o=o.next}while(o!==n)}}function zd(e){var n=e.ref;if(n!==null){var o=e.stateNode;switch(e.tag){case 5:e=o;break;default:e=o}typeof n=="function"?n(e):n.current=e}}function jb(e){var n=e.alternate;n!==null&&(e.alternate=null,jb(n)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(n=e.stateNode,n!==null&&(delete n[Xi],delete n[tu],delete n[rd],delete n[y2],delete n[b2])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Tb(e){return e.tag===5||e.tag===3||e.tag===4}function zb(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Tb(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Hd(e,n,o){var s=e.tag;if(s===5||s===6)e=e.stateNode,n?o.nodeType===8?o.parentNode.insertBefore(e,n):o.insertBefore(e,n):(o.nodeType===8?(n=o.parentNode,n.insertBefore(e,o)):(n=o,n.appendChild(e)),o=o._reactRootContainer,o!=null||n.onclick!==null||(n.onclick=Ss));else if(s!==4&&(e=e.child,e!==null))for(Hd(e,n,o),e=e.sibling;e!==null;)Hd(e,n,o),e=e.sibling}function Ad(e,n,o){var s=e.tag;if(s===5||s===6)e=e.stateNode,n?o.insertBefore(e,n):o.appendChild(e);else if(s!==4&&(e=e.child,e!==null))for(Ad(e,n,o),e=e.sibling;e!==null;)Ad(e,n,o),e=e.sibling}var qn=null,Oi=!1;function Yo(e,n,o){for(o=o.child;o!==null;)Hb(e,n,o),o=o.sibling}function Hb(e,n,o){if(Bn&&typeof Bn.onCommitFiberUnmount=="function")try{Bn.onCommitFiberUnmount(Wt,o)}catch{}switch(o.tag){case 5:Wn||ml(o,n);case 6:var s=qn,d=Oi;qn=null,Yo(e,n,o),qn=s,Oi=d,qn!==null&&(Oi?(e=qn,o=o.stateNode,e.nodeType===8?e.parentNode.removeChild(o):e.removeChild(o)):qn.removeChild(o.stateNode));break;case 18:qn!==null&&(Oi?(e=qn,o=o.stateNode,e.nodeType===8?nd(e.parentNode,o):e.nodeType===1&&nd(e,o),rn(e)):nd(qn,o.stateNode));break;case 4:s=qn,d=Oi,qn=o.stateNode.containerInfo,Oi=!0,Yo(e,n,o),qn=s,Oi=d;break;case 0:case 11:case 14:case 15:if(!Wn&&(s=o.updateQueue,s!==null&&(s=s.lastEffect,s!==null))){d=s=s.next;do{var m=d,k=m.destroy;m=m.tag,k!==void 0&&(m&2||m&4)&&Rb(o,n,k),d=d.next}while(d!==s)}Yo(e,n,o);break;case 1:if(!Wn&&(ml(o,n),s=o.stateNode,typeof s.componentWillUnmount=="function"))try{s.props=o.memoizedProps,s.state=o.memoizedState,s.componentWillUnmount()}catch(I){cn(o,n,I)}Yo(e,n,o);break;case 21:Yo(e,n,o);break;case 22:o.mode&1?(Wn=(s=Wn)||o.memoizedState!==null,Yo(e,n,o),Wn=s):Yo(e,n,o);break;default:Yo(e,n,o)}}function Ab(e){var n=e.updateQueue;if(n!==null){e.updateQueue=null;var o=e.stateNode;o===null&&(o=e.stateNode=new K2),n.forEach(function(s){var d=V2.bind(null,e,s);o.has(s)||(o.add(s),s.then(d,d))})}}function Di(e,n){var o=n.deletions;if(o!==null)for(var s=0;s<o.length;s++){var d=o[s];try{var m=e,k=n,I=k;e:for(;I!==null;){switch(I.tag){case 5:qn=I.stateNode,Oi=!1;break e;case 3:qn=I.stateNode.containerInfo,Oi=!0;break e;case 4:qn=I.stateNode.containerInfo,Oi=!0;break e}I=I.return}if(qn===null)throw Error(i(160));Hb(m,k,d),qn=null,Oi=!1;var H=d.alternate;H!==null&&(H.return=null),d.return=null}catch(ee){cn(d,n,ee)}}if(n.subtreeFlags&12854)for(n=n.child;n!==null;)qb(n,e),n=n.sibling}function qb(e,n){var o=e.alternate,s=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Di(n,e),Yi(e),s&4){try{du(3,e,e.return),Vs(3,e)}catch(Pe){cn(e,e.return,Pe)}try{du(5,e,e.return)}catch(Pe){cn(e,e.return,Pe)}}break;case 1:Di(n,e),Yi(e),s&512&&o!==null&&ml(o,o.return);break;case 5:if(Di(n,e),Yi(e),s&512&&o!==null&&ml(o,o.return),e.flags&32){var d=e.stateNode;try{xn(d,"")}catch(Pe){cn(e,e.return,Pe)}}if(s&4&&(d=e.stateNode,d!=null)){var m=e.memoizedProps,k=o!==null?o.memoizedProps:m,I=e.type,H=e.updateQueue;if(e.updateQueue=null,H!==null)try{I==="input"&&m.type==="radio"&&m.name!=null&&Pt(d,m),Jt(I,k);var ee=Jt(I,m);for(k=0;k<H.length;k+=2){var ce=H[k],de=H[k+1];ce==="style"?ro(d,de):ce==="dangerouslySetInnerHTML"?ct(d,de):ce==="children"?xn(d,de):W(d,ce,de,ee)}switch(I){case"input":hn(d,m);break;case"textarea":nt(d,m);break;case"select":var se=d._wrapperState.wasMultiple;d._wrapperState.wasMultiple=!!m.multiple;var Oe=m.value;Oe!=null?pt(d,!!m.multiple,Oe,!1):se!==!!m.multiple&&(m.defaultValue!=null?pt(d,!!m.multiple,m.defaultValue,!0):pt(d,!!m.multiple,m.multiple?[]:"",!1))}d[tu]=m}catch(Pe){cn(e,e.return,Pe)}}break;case 6:if(Di(n,e),Yi(e),s&4){if(e.stateNode===null)throw Error(i(162));d=e.stateNode,m=e.memoizedProps;try{d.nodeValue=m}catch(Pe){cn(e,e.return,Pe)}}break;case 3:if(Di(n,e),Yi(e),s&4&&o!==null&&o.memoizedState.isDehydrated)try{rn(n.containerInfo)}catch(Pe){cn(e,e.return,Pe)}break;case 4:Di(n,e),Yi(e);break;case 13:Di(n,e),Yi(e),d=e.child,d.flags&8192&&(m=d.memoizedState!==null,d.stateNode.isHidden=m,!m||d.alternate!==null&&d.alternate.memoizedState!==null||(Vd=vt())),s&4&&Ab(e);break;case 22:if(ce=o!==null&&o.memoizedState!==null,e.mode&1?(Wn=(ee=Wn)||ce,Di(n,e),Wn=ee):Di(n,e),Yi(e),s&8192){if(ee=e.memoizedState!==null,(e.stateNode.isHidden=ee)&&!ce&&e.mode&1)for(Le=e,ce=e.child;ce!==null;){for(de=Le=ce;Le!==null;){switch(se=Le,Oe=se.child,se.tag){case 0:case 11:case 14:case 15:du(4,se,se.return);break;case 1:ml(se,se.return);var Be=se.stateNode;if(typeof Be.componentWillUnmount=="function"){s=se,o=se.return;try{n=s,Be.props=n.memoizedProps,Be.state=n.memoizedState,Be.componentWillUnmount()}catch(Pe){cn(s,o,Pe)}}break;case 5:ml(se,se.return);break;case 22:if(se.memoizedState!==null){Qb(de);continue}}Oe!==null?(Oe.return=se,Le=Oe):Qb(de)}ce=ce.sibling}e:for(ce=null,de=e;;){if(de.tag===5){if(ce===null){ce=de;try{d=de.stateNode,ee?(m=d.style,typeof m.setProperty=="function"?m.setProperty("display","none","important"):m.display="none"):(I=de.stateNode,H=de.memoizedProps.style,k=H!=null&&H.hasOwnProperty("display")?H.display:null,I.style.display=Vn("display",k))}catch(Pe){cn(e,e.return,Pe)}}}else if(de.tag===6){if(ce===null)try{de.stateNode.nodeValue=ee?"":de.memoizedProps}catch(Pe){cn(e,e.return,Pe)}}else if((de.tag!==22&&de.tag!==23||de.memoizedState===null||de===e)&&de.child!==null){de.child.return=de,de=de.child;continue}if(de===e)break e;for(;de.sibling===null;){if(de.return===null||de.return===e)break e;ce===de&&(ce=null),de=de.return}ce===de&&(ce=null),de.sibling.return=de.return,de=de.sibling}}break;case 19:Di(n,e),Yi(e),s&4&&Ab(e);break;case 21:break;default:Di(n,e),Yi(e)}}function Yi(e){var n=e.flags;if(n&2){try{e:{for(var o=e.return;o!==null;){if(Tb(o)){var s=o;break e}o=o.return}throw Error(i(160))}switch(s.tag){case 5:var d=s.stateNode;s.flags&32&&(xn(d,""),s.flags&=-33);var m=zb(e);Ad(e,m,d);break;case 3:case 4:var k=s.stateNode.containerInfo,I=zb(e);Hd(e,I,k);break;default:throw Error(i(161))}}catch(H){cn(e,e.return,H)}e.flags&=-3}n&4096&&(e.flags&=-4097)}function I2(e,n,o){Le=e,Ub(e)}function Ub(e,n,o){for(var s=(e.mode&1)!==0;Le!==null;){var d=Le,m=d.child;if(d.tag===22&&s){var k=d.memoizedState!==null||Us;if(!k){var I=d.alternate,H=I!==null&&I.memoizedState!==null||Wn;I=Us;var ee=Wn;if(Us=k,(Wn=H)&&!ee)for(Le=d;Le!==null;)k=Le,H=k.child,k.tag===22&&k.memoizedState!==null?Xb(d):H!==null?(H.return=k,Le=H):Xb(d);for(;m!==null;)Le=m,Ub(m),m=m.sibling;Le=d,Us=I,Wn=ee}Vb(e)}else d.subtreeFlags&8772&&m!==null?(m.return=d,Le=m):Vb(e)}}function Vb(e){for(;Le!==null;){var n=Le;if(n.flags&8772){var o=n.alternate;try{if(n.flags&8772)switch(n.tag){case 0:case 11:case 15:Wn||Vs(5,n);break;case 1:var s=n.stateNode;if(n.flags&4&&!Wn)if(o===null)s.componentDidMount();else{var d=n.elementType===n.type?o.memoizedProps:Ni(n.type,o.memoizedProps);s.componentDidUpdate(d,o.memoizedState,s.__reactInternalSnapshotBeforeUpdate)}var m=n.updateQueue;m!==null&&Hy(n,m,s);break;case 3:var k=n.updateQueue;if(k!==null){if(o=null,n.child!==null)switch(n.child.tag){case 5:o=n.child.stateNode;break;case 1:o=n.child.stateNode}Hy(n,k,o)}break;case 5:var I=n.stateNode;if(o===null&&n.flags&4){o=I;var H=n.memoizedProps;switch(n.type){case"button":case"input":case"select":case"textarea":H.autoFocus&&o.focus();break;case"img":H.src&&(o.src=H.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(n.memoizedState===null){var ee=n.alternate;if(ee!==null){var ce=ee.memoizedState;if(ce!==null){var de=ce.dehydrated;de!==null&&rn(de)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(i(163))}Wn||n.flags&512&&zd(n)}catch(se){cn(n,n.return,se)}}if(n===e){Le=null;break}if(o=n.sibling,o!==null){o.return=n.return,Le=o;break}Le=n.return}}function Qb(e){for(;Le!==null;){var n=Le;if(n===e){Le=null;break}var o=n.sibling;if(o!==null){o.return=n.return,Le=o;break}Le=n.return}}function Xb(e){for(;Le!==null;){var n=Le;try{switch(n.tag){case 0:case 11:case 15:var o=n.return;try{Vs(4,n)}catch(H){cn(n,o,H)}break;case 1:var s=n.stateNode;if(typeof s.componentDidMount=="function"){var d=n.return;try{s.componentDidMount()}catch(H){cn(n,d,H)}}var m=n.return;try{zd(n)}catch(H){cn(n,m,H)}break;case 5:var k=n.return;try{zd(n)}catch(H){cn(n,k,H)}}}catch(H){cn(n,n.return,H)}if(n===e){Le=null;break}var I=n.sibling;if(I!==null){I.return=n.return,Le=I;break}Le=n.return}}var j2=Math.ceil,Qs=J.ReactCurrentDispatcher,qd=J.ReactCurrentOwner,gi=J.ReactCurrentBatchConfig,bt=0,In=null,wn=null,Un=0,Zr=0,gl=Vo(0),Dn=0,pu=null,Da=0,Xs=0,Ud=0,hu=null,Nr=null,Vd=0,vl=1/0,xo=null,Zs=!1,Qd=null,Jo=null,$s=!1,Wo=null,Ys=0,mu=0,Xd=null,Js=-1,Ws=0;function lr(){return bt&6?vt():Js!==-1?Js:Js=vt()}function Go(e){return e.mode&1?bt&2&&Un!==0?Un&-Un:w2.transition!==null?(Ws===0&&(Ws=B()),Ws):(e=be,e!==0||(e=window.event,e=e===void 0?16:ma(e.type)),e):1}function Mi(e,n,o,s){if(50<mu)throw mu=0,Xd=null,Error(i(185));U(e,o,s),(!(bt&2)||e!==In)&&(e===In&&(!(bt&2)&&(Xs|=o),Dn===4&&ea(e,Un)),Or(e,s),o===1&&bt===0&&!(n.mode&1)&&(vl=vt()+500,Ns&&Xo()))}function Or(e,n){var o=e.callbackNode;S(e,n);var s=Tr(e,e===In?Un:0);if(s===0)o!==null&&Fr(o),e.callbackNode=null,e.callbackPriority=0;else if(n=s&-s,e.callbackPriority!==n){if(o!=null&&Fr(o),n===1)e.tag===0?_2($b.bind(null,e)):By($b.bind(null,e)),g2(function(){!(bt&6)&&Xo()}),o=null;else{switch(Ee(s)){case 1:o=ri;break;case 4:o=ii;break;case 16:o=Kr;break;case 536870912:o=vr;break;default:o=Kr}o=r0(o,Zb.bind(null,e))}e.callbackPriority=n,e.callbackNode=o}}function Zb(e,n){if(Js=-1,Ws=0,bt&6)throw Error(i(327));var o=e.callbackNode;if(yl()&&e.callbackNode!==o)return null;var s=Tr(e,e===In?Un:0);if(s===0)return null;if(s&30||s&e.expiredLanes||n)n=Gs(e,s);else{n=s;var d=bt;bt|=2;var m=Jb();(In!==e||Un!==n)&&(xo=null,vl=vt()+500,La(e,n));do try{H2();break}catch(I){Yb(e,I)}while(1);dd(),Qs.current=m,bt=d,wn!==null?n=0:(In=null,Un=0,n=Dn)}if(n!==0){if(n===2&&(d=O(e),d!==0&&(s=d,n=Zd(e,d))),n===1)throw o=pu,La(e,0),ea(e,s),Or(e,vt()),o;if(n===6)ea(e,s);else{if(d=e.current.alternate,!(s&30)&&!T2(d)&&(n=Gs(e,s),n===2&&(m=O(e),m!==0&&(s=m,n=Zd(e,m))),n===1))throw o=pu,La(e,0),ea(e,s),Or(e,vt()),o;switch(e.finishedWork=d,e.finishedLanes=s,n){case 0:case 1:throw Error(i(345));case 2:Ca(e,Nr,xo);break;case 3:if(ea(e,s),(s&130023424)===s&&(n=Vd+500-vt(),10<n)){if(Tr(e,0)!==0)break;if(d=e.suspendedLanes,(d&s)!==s){lr(),e.pingedLanes|=e.suspendedLanes&d;break}e.timeoutHandle=td(Ca.bind(null,e,Nr,xo),n);break}Ca(e,Nr,xo);break;case 4:if(ea(e,s),(s&4194240)===s)break;for(n=e.eventTimes,d=-1;0<s;){var k=31-un(s);m=1<<k,k=n[k],k>d&&(d=k),s&=~m}if(s=d,s=vt()-s,s=(120>s?120:480>s?480:1080>s?1080:1920>s?1920:3e3>s?3e3:4320>s?4320:1960*j2(s/1960))-s,10<s){e.timeoutHandle=td(Ca.bind(null,e,Nr,xo),s);break}Ca(e,Nr,xo);break;case 5:Ca(e,Nr,xo);break;default:throw Error(i(329))}}}return Or(e,vt()),e.callbackNode===o?Zb.bind(null,e):null}function Zd(e,n){var o=hu;return e.current.memoizedState.isDehydrated&&(La(e,n).flags|=256),e=Gs(e,n),e!==2&&(n=Nr,Nr=o,n!==null&&$d(n)),e}function $d(e){Nr===null?Nr=e:Nr.push.apply(Nr,e)}function T2(e){for(var n=e;;){if(n.flags&16384){var o=n.updateQueue;if(o!==null&&(o=o.stores,o!==null))for(var s=0;s<o.length;s++){var d=o[s],m=d.getSnapshot;d=d.value;try{if(!ke(m(),d))return!1}catch{return!1}}}if(o=n.child,n.subtreeFlags&16384&&o!==null)o.return=n,n=o;else{if(n===e)break;for(;n.sibling===null;){if(n.return===null||n.return===e)return!0;n=n.return}n.sibling.return=n.return,n=n.sibling}}return!0}function ea(e,n){for(n&=~Ud,n&=~Xs,e.suspendedLanes|=n,e.pingedLanes&=~n,e=e.expirationTimes;0<n;){var o=31-un(n),s=1<<o;e[o]=-1,n&=~s}}function $b(e){if(bt&6)throw Error(i(327));yl();var n=Tr(e,0);if(!(n&1))return Or(e,vt()),null;var o=Gs(e,n);if(e.tag!==0&&o===2){var s=O(e);s!==0&&(n=s,o=Zd(e,s))}if(o===1)throw o=pu,La(e,0),ea(e,n),Or(e,vt()),o;if(o===6)throw Error(i(345));return e.finishedWork=e.current.alternate,e.finishedLanes=n,Ca(e,Nr,xo),Or(e,vt()),null}function Yd(e,n){var o=bt;bt|=1;try{return e(n)}finally{bt=o,bt===0&&(vl=vt()+500,Ns&&Xo())}}function Ma(e){Wo!==null&&Wo.tag===0&&!(bt&6)&&yl();var n=bt;bt|=1;var o=gi.transition,s=be;try{if(gi.transition=null,be=1,e)return e()}finally{be=s,gi.transition=o,bt=n,!(bt&6)&&Xo()}}function Jd(){Zr=gl.current,Yt(gl)}function La(e,n){e.finishedWork=null,e.finishedLanes=0;var o=e.timeoutHandle;if(o!==-1&&(e.timeoutHandle=-1,m2(o)),wn!==null)for(o=wn.return;o!==null;){var s=o;switch(ld(s),s.tag){case 1:s=s.type.childContextTypes,s!=null&&Es();break;case 3:pl(),Yt(xr),Yt($n),Sd();break;case 5:_d(s);break;case 4:pl();break;case 13:Yt(an);break;case 19:Yt(an);break;case 10:pd(s.type._context);break;case 22:case 23:Jd()}o=o.return}if(In=e,wn=e=ta(e.current,null),Un=Zr=n,Dn=0,pu=null,Ud=Xs=Da=0,Nr=hu=null,ka!==null){for(n=0;n<ka.length;n++)if(o=ka[n],s=o.interleaved,s!==null){o.interleaved=null;var d=s.next,m=o.pending;if(m!==null){var k=m.next;m.next=d,s.next=k}o.pending=s}ka=null}return e}function Yb(e,n){do{var o=wn;try{if(dd(),Is.current=Hs,js){for(var s=ln.memoizedState;s!==null;){var d=s.queue;d!==null&&(d.pending=null),s=s.next}js=!1}if(Oa=0,Rn=On=ln=null,lu=!1,uu=0,qd.current=null,o===null||o.return===null){Dn=1,pu=n,wn=null;break}e:{var m=e,k=o.return,I=o,H=n;if(n=Un,I.flags|=32768,H!==null&&typeof H=="object"&&typeof H.then=="function"){var ee=H,ce=I,de=ce.tag;if(!(ce.mode&1)&&(de===0||de===11||de===15)){var se=ce.alternate;se?(ce.updateQueue=se.updateQueue,ce.memoizedState=se.memoizedState,ce.lanes=se.lanes):(ce.updateQueue=null,ce.memoizedState=null)}var Oe=_b(k);if(Oe!==null){Oe.flags&=-257,wb(Oe,k,I,m,n),Oe.mode&1&&bb(m,ee,n),n=Oe,H=ee;var Be=n.updateQueue;if(Be===null){var Pe=new Set;Pe.add(H),n.updateQueue=Pe}else Be.add(H);break e}else{if(!(n&1)){bb(m,ee,n),Wd();break e}H=Error(i(426))}}else if(Gt&&I.mode&1){var dn=_b(k);if(dn!==null){!(dn.flags&65536)&&(dn.flags|=256),wb(dn,k,I,m,n),cd(hl(H,I));break e}}m=H=hl(H,I),Dn!==4&&(Dn=2),hu===null?hu=[m]:hu.push(m),m=k;do{switch(m.tag){case 3:m.flags|=65536,n&=-n,m.lanes|=n;var Q=vb(m,H,n);zy(m,Q);break e;case 1:I=H;var A=m.type,$=m.stateNode;if(!(m.flags&128)&&(typeof A.getDerivedStateFromError=="function"||$!==null&&typeof $.componentDidCatch=="function"&&(Jo===null||!Jo.has($)))){m.flags|=65536,n&=-n,m.lanes|=n;var ye=yb(m,I,n);zy(m,ye);break e}}m=m.return}while(m!==null)}Gb(o)}catch(Ke){n=Ke,wn===o&&o!==null&&(wn=o=o.return);continue}break}while(1)}function Jb(){var e=Qs.current;return Qs.current=Hs,e===null?Hs:e}function Wd(){(Dn===0||Dn===3||Dn===2)&&(Dn=4),In===null||!(Da&268435455)&&!(Xs&268435455)||ea(In,Un)}function Gs(e,n){var o=bt;bt|=2;var s=Jb();(In!==e||Un!==n)&&(xo=null,La(e,n));do try{z2();break}catch(d){Yb(e,d)}while(1);if(dd(),bt=o,Qs.current=s,wn!==null)throw Error(i(261));return In=null,Un=0,Dn}function z2(){for(;wn!==null;)Wb(wn)}function H2(){for(;wn!==null&&!Pr();)Wb(wn)}function Wb(e){var n=n0(e.alternate,e,Zr);e.memoizedProps=e.pendingProps,n===null?Gb(e):wn=n,qd.current=null}function Gb(e){var n=e;do{var o=n.alternate;if(e=n.return,n.flags&32768){if(o=P2(o,n),o!==null){o.flags&=32767,wn=o;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{Dn=6,wn=null;return}}else if(o=F2(o,n,Zr),o!==null){wn=o;return}if(n=n.sibling,n!==null){wn=n;return}wn=n=e}while(n!==null);Dn===0&&(Dn=5)}function Ca(e,n,o){var s=be,d=gi.transition;try{gi.transition=null,be=1,A2(e,n,o,s)}finally{gi.transition=d,be=s}return null}function A2(e,n,o,s){do yl();while(Wo!==null);if(bt&6)throw Error(i(327));o=e.finishedWork;var d=e.finishedLanes;if(o===null)return null;if(e.finishedWork=null,e.finishedLanes=0,o===e.current)throw Error(i(177));e.callbackNode=null,e.callbackPriority=0;var m=o.lanes|o.childLanes;if(ie(e,m),e===In&&(wn=In=null,Un=0),!(o.subtreeFlags&2064)&&!(o.flags&2064)||$s||($s=!0,r0(Kr,function(){return yl(),null})),m=(o.flags&15990)!==0,o.subtreeFlags&15990||m){m=gi.transition,gi.transition=null;var k=be;be=1;var I=bt;bt|=4,qd.current=null,R2(e,o),qb(o,e),u2(Gf),yn=!!Wf,Gf=Wf=null,e.current=o,I2(o),ni(),bt=I,be=k,gi.transition=m}else e.current=o;if($s&&($s=!1,Wo=e,Ys=d),m=e.pendingLanes,m===0&&(Jo=null),Rr(o.stateNode),Or(e,vt()),n!==null)for(s=e.onRecoverableError,o=0;o<n.length;o++)d=n[o],s(d.value,{componentStack:d.stack,digest:d.digest});if(Zs)throw Zs=!1,e=Qd,Qd=null,e;return Ys&1&&e.tag!==0&&yl(),m=e.pendingLanes,m&1?e===Xd?mu++:(mu=0,Xd=e):mu=0,Xo(),null}function yl(){if(Wo!==null){var e=Ee(Ys),n=gi.transition,o=be;try{if(gi.transition=null,be=16>e?16:e,Wo===null)var s=!1;else{if(e=Wo,Wo=null,Ys=0,bt&6)throw Error(i(331));var d=bt;for(bt|=4,Le=e.current;Le!==null;){var m=Le,k=m.child;if(Le.flags&16){var I=m.deletions;if(I!==null){for(var H=0;H<I.length;H++){var ee=I[H];for(Le=ee;Le!==null;){var ce=Le;switch(ce.tag){case 0:case 11:case 15:du(8,ce,m)}var de=ce.child;if(de!==null)de.return=ce,Le=de;else for(;Le!==null;){ce=Le;var se=ce.sibling,Oe=ce.return;if(jb(ce),ce===ee){Le=null;break}if(se!==null){se.return=Oe,Le=se;break}Le=Oe}}}var Be=m.alternate;if(Be!==null){var Pe=Be.child;if(Pe!==null){Be.child=null;do{var dn=Pe.sibling;Pe.sibling=null,Pe=dn}while(Pe!==null)}}Le=m}}if(m.subtreeFlags&2064&&k!==null)k.return=m,Le=k;else e:for(;Le!==null;){if(m=Le,m.flags&2048)switch(m.tag){case 0:case 11:case 15:du(9,m,m.return)}var Q=m.sibling;if(Q!==null){Q.return=m.return,Le=Q;break e}Le=m.return}}var A=e.current;for(Le=A;Le!==null;){k=Le;var $=k.child;if(k.subtreeFlags&2064&&$!==null)$.return=k,Le=$;else e:for(k=A;Le!==null;){if(I=Le,I.flags&2048)try{switch(I.tag){case 0:case 11:case 15:Vs(9,I)}}catch(Ke){cn(I,I.return,Ke)}if(I===k){Le=null;break e}var ye=I.sibling;if(ye!==null){ye.return=I.return,Le=ye;break e}Le=I.return}}if(bt=d,Xo(),Bn&&typeof Bn.onPostCommitFiberRoot=="function")try{Bn.onPostCommitFiberRoot(Wt,e)}catch{}s=!0}return s}finally{be=o,gi.transition=n}}return!1}function e0(e,n,o){n=hl(o,n),n=vb(e,n,1),e=$o(e,n,1),n=lr(),e!==null&&(U(e,1,n),Or(e,n))}function cn(e,n,o){if(e.tag===3)e0(e,e,o);else for(;n!==null;){if(n.tag===3){e0(n,e,o);break}else if(n.tag===1){var s=n.stateNode;if(typeof n.type.getDerivedStateFromError=="function"||typeof s.componentDidCatch=="function"&&(Jo===null||!Jo.has(s))){e=hl(o,e),e=yb(n,e,1),n=$o(n,e,1),e=lr(),n!==null&&(U(n,1,e),Or(n,e));break}}n=n.return}}function q2(e,n,o){var s=e.pingCache;s!==null&&s.delete(n),n=lr(),e.pingedLanes|=e.suspendedLanes&o,In===e&&(Un&o)===o&&(Dn===4||Dn===3&&(Un&130023424)===Un&&500>vt()-Vd?La(e,0):Ud|=o),Or(e,n)}function t0(e,n){n===0&&(e.mode&1?(n=yr,yr<<=1,!(yr&130023424)&&(yr=4194304)):n=1);var o=lr();e=_o(e,n),e!==null&&(U(e,n,o),Or(e,o))}function U2(e){var n=e.memoizedState,o=0;n!==null&&(o=n.retryLane),t0(e,o)}function V2(e,n){var o=0;switch(e.tag){case 13:var s=e.stateNode,d=e.memoizedState;d!==null&&(o=d.retryLane);break;case 19:s=e.stateNode;break;default:throw Error(i(314))}s!==null&&s.delete(n),t0(e,o)}var n0;n0=function(e,n,o){if(e!==null)if(e.memoizedProps!==n.pendingProps||xr.current)kr=!0;else{if(!(e.lanes&o)&&!(n.flags&128))return kr=!1,B2(e,n,o);kr=!!(e.flags&131072)}else kr=!1,Gt&&n.flags&1048576&&Fy(n,Ds,n.index);switch(n.lanes=0,n.tag){case 2:var s=n.type;qs(e,n),e=n.pendingProps;var d=al(n,$n.current);fl(n,o),d=kd(null,n,s,e,d,o);var m=Nd();return n.flags|=1,typeof d=="object"&&d!==null&&typeof d.render=="function"&&d.$$typeof===void 0?(n.tag=1,n.memoizedState=null,n.updateQueue=null,Er(s)?(m=!0,ks(n)):m=!1,n.memoizedState=d.state!==null&&d.state!==void 0?d.state:null,gd(n),d.updater=Ps,n.stateNode=d,d._reactInternals=n,yd(n,s,e,o),n=Pd(null,n,s,!0,m,o)):(n.tag=0,Gt&&m&&ad(n),ar(null,n,d,o),n=n.child),n;case 16:s=n.elementType;e:{switch(qs(e,n),e=n.pendingProps,d=s._init,s=d(s._payload),n.type=s,d=n.tag=X2(s),e=Ni(s,e),d){case 0:n=Fd(null,n,s,e,o);break e;case 1:n=Ob(null,n,s,e,o);break e;case 11:n=Sb(null,n,s,e,o);break e;case 14:n=xb(null,n,s,Ni(s.type,e),o);break e}throw Error(i(306,s,""))}return n;case 0:return s=n.type,d=n.pendingProps,d=n.elementType===s?d:Ni(s,d),Fd(e,n,s,d,o);case 1:return s=n.type,d=n.pendingProps,d=n.elementType===s?d:Ni(s,d),Ob(e,n,s,d,o);case 3:e:{if(Db(n),e===null)throw Error(i(387));s=n.pendingProps,m=n.memoizedState,d=m.element,Ty(e,n),Fs(n,s,null,o);var k=n.memoizedState;if(s=k.element,m.isDehydrated)if(m={element:s,isDehydrated:!1,cache:k.cache,pendingSuspenseBoundaries:k.pendingSuspenseBoundaries,transitions:k.transitions},n.updateQueue.baseState=m,n.memoizedState=m,n.flags&256){d=hl(Error(i(423)),n),n=Mb(e,n,s,o,d);break e}else if(s!==d){d=hl(Error(i(424)),n),n=Mb(e,n,s,o,d);break e}else for(Xr=Uo(n.stateNode.containerInfo.firstChild),Qr=n,Gt=!0,ki=null,o=Zy(n,null,s,o),n.child=o;o;)o.flags=o.flags&-3|4096,o=o.sibling;else{if(sl(),s===d){n=So(e,n,o);break e}ar(e,n,s,o)}n=n.child}return n;case 5:return $y(n),e===null&&sd(n),s=n.type,d=n.pendingProps,m=e!==null?e.memoizedProps:null,k=d.children,ed(s,d)?k=null:m!==null&&ed(s,m)&&(n.flags|=32),Nb(e,n),ar(e,n,k,o),n.child;case 6:return e===null&&sd(n),null;case 13:return Lb(e,n,o);case 4:return bd(n,n.stateNode.containerInfo),s=n.pendingProps,e===null?n.child=dl(n,null,s,o):ar(e,n,s,o),n.child;case 11:return s=n.type,d=n.pendingProps,d=n.elementType===s?d:Ni(s,d),Sb(e,n,s,d,o);case 7:return ar(e,n,n.pendingProps,o),n.child;case 8:return ar(e,n,n.pendingProps.children,o),n.child;case 12:return ar(e,n,n.pendingProps.children,o),n.child;case 10:e:{if(s=n.type._context,d=n.pendingProps,m=n.memoizedProps,k=d.value,Ut(Ls,s._currentValue),s._currentValue=k,m!==null)if(ke(m.value,k)){if(m.children===d.children&&!xr.current){n=So(e,n,o);break e}}else for(m=n.child,m!==null&&(m.return=n);m!==null;){var I=m.dependencies;if(I!==null){k=m.child;for(var H=I.firstContext;H!==null;){if(H.context===s){if(m.tag===1){H=wo(-1,o&-o),H.tag=2;var ee=m.updateQueue;if(ee!==null){ee=ee.shared;var ce=ee.pending;ce===null?H.next=H:(H.next=ce.next,ce.next=H),ee.pending=H}}m.lanes|=o,H=m.alternate,H!==null&&(H.lanes|=o),hd(m.return,o,n),I.lanes|=o;break}H=H.next}}else if(m.tag===10)k=m.type===n.type?null:m.child;else if(m.tag===18){if(k=m.return,k===null)throw Error(i(341));k.lanes|=o,I=k.alternate,I!==null&&(I.lanes|=o),hd(k,o,n),k=m.sibling}else k=m.child;if(k!==null)k.return=m;else for(k=m;k!==null;){if(k===n){k=null;break}if(m=k.sibling,m!==null){m.return=k.return,k=m;break}k=k.return}m=k}ar(e,n,d.children,o),n=n.child}return n;case 9:return d=n.type,s=n.pendingProps.children,fl(n,o),d=hi(d),s=s(d),n.flags|=1,ar(e,n,s,o),n.child;case 14:return s=n.type,d=Ni(s,n.pendingProps),d=Ni(s.type,d),xb(e,n,s,d,o);case 15:return Eb(e,n,n.type,n.pendingProps,o);case 17:return s=n.type,d=n.pendingProps,d=n.elementType===s?d:Ni(s,d),qs(e,n),n.tag=1,Er(s)?(e=!0,ks(n)):e=!1,fl(n,o),Uy(n,s,d),yd(n,s,d,o),Pd(null,n,s,!0,e,o);case 19:return Bb(e,n,o);case 22:return kb(e,n,o)}throw Error(i(156,n.tag))};function r0(e,n){return tt(e,n)}function Q2(e,n,o,s){this.tag=e,this.key=o,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=n,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=s,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function vi(e,n,o,s){return new Q2(e,n,o,s)}function Gd(e){return e=e.prototype,!(!e||!e.isReactComponent)}function X2(e){if(typeof e=="function")return Gd(e)?1:0;if(e!=null){if(e=e.$$typeof,e===he)return 11;if(e===je)return 14}return 2}function ta(e,n){var o=e.alternate;return o===null?(o=vi(e.tag,n,e.key,e.mode),o.elementType=e.elementType,o.type=e.type,o.stateNode=e.stateNode,o.alternate=e,e.alternate=o):(o.pendingProps=n,o.type=e.type,o.flags=0,o.subtreeFlags=0,o.deletions=null),o.flags=e.flags&14680064,o.childLanes=e.childLanes,o.lanes=e.lanes,o.child=e.child,o.memoizedProps=e.memoizedProps,o.memoizedState=e.memoizedState,o.updateQueue=e.updateQueue,n=e.dependencies,o.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext},o.sibling=e.sibling,o.index=e.index,o.ref=e.ref,o}function ec(e,n,o,s,d,m){var k=2;if(s=e,typeof e=="function")Gd(e)&&(k=1);else if(typeof e=="string")k=5;else e:switch(e){case _e:return Ba(o.children,d,m,n);case Ie:k=8,d|=8;break;case ve:return e=vi(12,o,n,d|2),e.elementType=ve,e.lanes=m,e;case ge:return e=vi(13,o,n,d),e.elementType=ge,e.lanes=m,e;case De:return e=vi(19,o,n,d),e.elementType=De,e.lanes=m,e;case He:return tc(o,d,m,n);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case xe:k=10;break e;case we:k=9;break e;case he:k=11;break e;case je:k=14;break e;case Ce:k=16,s=null;break e}throw Error(i(130,e==null?e:typeof e,""))}return n=vi(k,o,n,d),n.elementType=e,n.type=s,n.lanes=m,n}function Ba(e,n,o,s){return e=vi(7,e,s,n),e.lanes=o,e}function tc(e,n,o,s){return e=vi(22,e,s,n),e.elementType=He,e.lanes=o,e.stateNode={isHidden:!1},e}function ep(e,n,o){return e=vi(6,e,null,n),e.lanes=o,e}function tp(e,n,o){return n=vi(4,e.children!==null?e.children:[],e.key,n),n.lanes=o,n.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},n}function Z2(e,n,o,s,d){this.tag=n,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=X(0),this.expirationTimes=X(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=X(0),this.identifierPrefix=s,this.onRecoverableError=d,this.mutableSourceEagerHydrationData=null}function np(e,n,o,s,d,m,k,I,H){return e=new Z2(e,n,o,I,H),n===1?(n=1,m===!0&&(n|=8)):n=0,m=vi(3,null,null,n),e.current=m,m.stateNode=e,m.memoizedState={element:s,isDehydrated:o,cache:null,transitions:null,pendingSuspenseBoundaries:null},gd(m),e}function $2(e,n,o){var s=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Se,key:s==null?null:""+s,children:e,containerInfo:n,implementation:o}}function i0(e){if(!e)return Qo;e=e._reactInternals;e:{if(nr(e)!==e||e.tag!==1)throw Error(i(170));var n=e;do{switch(n.tag){case 3:n=n.stateNode.context;break e;case 1:if(Er(n.type)){n=n.stateNode.__reactInternalMemoizedMergedChildContext;break e}}n=n.return}while(n!==null);throw Error(i(171))}if(e.tag===1){var o=e.type;if(Er(o))return Ly(e,o,n)}return n}function o0(e,n,o,s,d,m,k,I,H){return e=np(o,s,!0,e,d,m,k,I,H),e.context=i0(null),o=e.current,s=lr(),d=Go(o),m=wo(s,d),m.callback=n??null,$o(o,m,d),e.current.lanes=d,U(e,d,s),Or(e,s),e}function nc(e,n,o,s){var d=n.current,m=lr(),k=Go(d);return o=i0(o),n.context===null?n.context=o:n.pendingContext=o,n=wo(m,k),n.payload={element:e},s=s===void 0?null:s,s!==null&&(n.callback=s),e=$o(d,n,k),e!==null&&(Mi(e,d,k,m),Bs(e,d,k)),k}function rc(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function a0(e,n){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var o=e.retryLane;e.retryLane=o!==0&&o<n?o:n}}function rp(e,n){a0(e,n),(e=e.alternate)&&a0(e,n)}function Y2(){return null}var l0=typeof reportError=="function"?reportError:function(e){console.error(e)};function ip(e){this._internalRoot=e}ic.prototype.render=ip.prototype.render=function(e){var n=this._internalRoot;if(n===null)throw Error(i(409));nc(e,n,null,null)},ic.prototype.unmount=ip.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var n=e.containerInfo;Ma(function(){nc(null,e,null,null)}),n[go]=null}};function ic(e){this._internalRoot=e}ic.prototype.unstable_scheduleHydration=function(e){if(e){var n=nn();e={blockedOn:null,target:e,priority:n};for(var o=0;o<zr.length&&n!==0&&n<zr[o].priority;o++);zr.splice(o,0,e),o===0&&ir(e)}};function op(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function oc(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function u0(){}function J2(e,n,o,s,d){if(d){if(typeof s=="function"){var m=s;s=function(){var ee=rc(k);m.call(ee)}}var k=o0(n,s,e,0,null,!1,!1,"",u0);return e._reactRootContainer=k,e[go]=k.current,Gl(e.nodeType===8?e.parentNode:e),Ma(),k}for(;d=e.lastChild;)e.removeChild(d);if(typeof s=="function"){var I=s;s=function(){var ee=rc(H);I.call(ee)}}var H=np(e,0,!1,null,null,!1,!1,"",u0);return e._reactRootContainer=H,e[go]=H.current,Gl(e.nodeType===8?e.parentNode:e),Ma(function(){nc(n,H,o,s)}),H}function ac(e,n,o,s,d){var m=o._reactRootContainer;if(m){var k=m;if(typeof d=="function"){var I=d;d=function(){var H=rc(k);I.call(H)}}nc(n,k,e,d)}else k=J2(o,n,e,d,s);return rc(k)}We=function(e){switch(e.tag){case 3:var n=e.stateNode;if(n.current.memoizedState.isDehydrated){var o=jr(n.pendingLanes);o!==0&&(me(n,o|1),Or(n,vt()),!(bt&6)&&(vl=vt()+500,Xo()))}break;case 13:Ma(function(){var s=_o(e,1);if(s!==null){var d=lr();Mi(s,e,1,d)}}),rp(e,1)}},St=function(e){if(e.tag===13){var n=_o(e,134217728);if(n!==null){var o=lr();Mi(n,e,134217728,o)}rp(e,134217728)}},Ot=function(e){if(e.tag===13){var n=Go(e),o=_o(e,n);if(o!==null){var s=lr();Mi(o,e,n,s)}rp(e,n)}},nn=function(){return be},sn=function(e,n){var o=be;try{return be=e,n()}finally{be=o}},qt=function(e,n,o){switch(n){case"input":if(hn(e,o),n=o.name,o.type==="radio"&&n!=null){for(o=e;o.parentNode;)o=o.parentNode;for(o=o.querySelectorAll("input[name="+JSON.stringify(""+n)+'][type="radio"]'),n=0;n<o.length;n++){var s=o[n];if(s!==e&&s.form===e.form){var d=xs(s);if(!d)throw Error(i(90));en(s),hn(s,d)}}}break;case"textarea":nt(e,o);break;case"select":n=o.value,n!=null&&pt(e,!!o.multiple,n,!1)}},En=Yd,Mr=Ma;var W2={usingClientEntryPoint:!1,Events:[nu,il,xs,Xn,er,Yd]},gu={findFiberByHostInstance:wa,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},G2={bundleType:gu.bundleType,version:gu.version,rendererPackageName:gu.rendererPackageName,rendererConfig:gu.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:J.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=Cr(e),e===null?null:e.stateNode},findFiberByHostInstance:gu.findFiberByHostInstance||Y2,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var lc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!lc.isDisabled&&lc.supportsFiber)try{Wt=lc.inject(G2),Bn=lc}catch{}}return dr.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=W2,dr.createPortal=function(e,n){var o=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!op(n))throw Error(i(200));return $2(e,n,null,o)},dr.createRoot=function(e,n){if(!op(e))throw Error(i(299));var o=!1,s="",d=l0;return n!=null&&(n.unstable_strictMode===!0&&(o=!0),n.identifierPrefix!==void 0&&(s=n.identifierPrefix),n.onRecoverableError!==void 0&&(d=n.onRecoverableError)),n=np(e,1,!1,null,null,o,!1,s,d),e[go]=n.current,Gl(e.nodeType===8?e.parentNode:e),new ip(n)},dr.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var n=e._reactInternals;if(n===void 0)throw typeof e.render=="function"?Error(i(188)):(e=Object.keys(e).join(","),Error(i(268,e)));return e=Cr(n),e=e===null?null:e.stateNode,e},dr.flushSync=function(e){return Ma(e)},dr.hydrate=function(e,n,o){if(!oc(n))throw Error(i(200));return ac(null,e,n,!0,o)},dr.hydrateRoot=function(e,n,o){if(!op(e))throw Error(i(405));var s=o!=null&&o.hydratedSources||null,d=!1,m="",k=l0;if(o!=null&&(o.unstable_strictMode===!0&&(d=!0),o.identifierPrefix!==void 0&&(m=o.identifierPrefix),o.onRecoverableError!==void 0&&(k=o.onRecoverableError)),n=o0(n,null,e,1,o??null,d,!1,m,k),e[go]=n.current,Gl(e),s)for(e=0;e<s.length;e++)o=s[e],d=o._getVersion,d=d(o._source),n.mutableSourceEagerHydrationData==null?n.mutableSourceEagerHydrationData=[o,d]:n.mutableSourceEagerHydrationData.push(o,d);return new ic(n)},dr.render=function(e,n,o){if(!oc(n))throw Error(i(200));return ac(null,e,n,!1,o)},dr.unmountComponentAtNode=function(e){if(!oc(e))throw Error(i(40));return e._reactRootContainer?(Ma(function(){ac(null,null,e,!1,function(){e._reactRootContainer=null,e[go]=null})}),!0):!1},dr.unstable_batchedUpdates=Yd,dr.unstable_renderSubtreeIntoContainer=function(e,n,o,s){if(!oc(o))throw Error(i(200));if(e==null||e._reactInternals===void 0)throw Error(i(38));return ac(e,n,o,!1,s)},dr.version="18.2.0-next-9e3b772b8-20220608",dr}(function(t){function r(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(r)}catch(i){console.error(i)}}r(),t.exports=RC()})(BC);var IC=_f,jC=IC.unstable_flushControlled,TC=jC;function zC(t,r){t.prototype=Object.create(r.prototype),t.prototype.constructor=t,t.__proto__=r}var Sf=P,$g=aa,HC=function(t){zC(r,t);function r(){return t.apply(this,arguments)||this}var i=r.prototype;return i.shouldComponentUpdate=function(a){return this.props.text!==a.text||this.props.editorState.getSelection().getHasFocus()!==a.editorState.getSelection().getHasFocus()},i.render=function(){var a=this.props.editorState.getSelection().getHasFocus(),u=$g({"public/DraftEditorPlaceholder/root":!0,"public/DraftEditorPlaceholder/hasFocus":a}),c={whiteSpace:"pre-wrap"};return Sf.createElement("div",{className:u},Sf.createElement("div",{className:$g("public/DraftEditorPlaceholder/inner"),id:this.props.accessibilityID,style:c},this.props.text))},r}(Sf.Component),AC=HC,Yg=cf,Al=Hu,Jg=fr,No=Jg.isPlatform("Mac OS X"),Wg=No&&Jg.isBrowser("Firefox < 29"),Oo=Yg.hasCommandModifier,to=Yg.isCtrlKeyCommand;function Gg(t){return No&&t.altKey||to(t)}function qC(t){return Oo(t)?t.shiftKey?"redo":"undo":null}function UC(t){return!No&&t.shiftKey?null:Gg(t)?"delete-word":"delete"}function VC(t){return Oo(t)&&No?"backspace-to-start-of-line":Gg(t)?"backspace-word":"backspace"}function QC(t){switch(t.keyCode){case 66:return Oo(t)?"bold":null;case 68:return to(t)?"delete":null;case 72:return to(t)?"backspace":null;case 73:return Oo(t)?"italic":null;case 74:return Oo(t)?"code":null;case 75:return No&&to(t)?"secondary-cut":null;case 77:return to(t)?"split-block":null;case 79:return to(t)?"split-block":null;case 84:return No&&to(t)?"transpose-characters":null;case 85:return Oo(t)?"underline":null;case 87:return No&&to(t)?"backspace-word":null;case 89:return to(t)?No?"secondary-paste":"redo":null;case 90:return qC(t)||null;case Al.RETURN:return"split-block";case Al.DELETE:return UC(t);case Al.BACKSPACE:return VC(t);case Al.LEFT:return Wg&&Oo(t)?"move-selection-to-start-of-block":null;case Al.RIGHT:return Wg&&Oo(t)?"move-selection-to-end-of-block":null;default:return null}}var ev=QC,XC=la;function xf(){return xf=XC||function(t){for(var r=1;r<arguments.length;r++){var i=arguments[r];for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(t[a]=i[a])}return t},xf.apply(this,arguments)}function Ef(t){for(var r=1;r<arguments.length;r++){var i=arguments[r]!=null?arguments[r]:{},a=Object.keys(i);typeof Object.getOwnPropertySymbols=="function"&&(a=a.concat(Object.getOwnPropertySymbols(i).filter(function(u){return Object.getOwnPropertyDescriptor(i,u).enumerable}))),a.forEach(function(u){Re(t,u,i[u])})}return t}function ze(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Re(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}function tv(t,r){t.prototype=Object.create(r.prototype),t.prototype.constructor=t,t.__proto__=r}var ZC=Pc,$C=Nh,YC=ok,JC=LN,WC=aO,GC=CC,nv=TC,eB=AC,tB=At,Do=P,nB=Jc,rB=$u,iB=fr,kf=aa,oB=Li,aB=ev,lB=Yu,uB=Eo,rv=wt,iv=Kl,sB=cr,ov=iB.isBrowser("IE"),cB=!ov,av={edit:GC,composite:YC,drag:WC,cut:null,render:null},lv=!1,fB=function(t){tv(r,t);function r(){return t.apply(this,arguments)||this}var i=r.prototype;return i.render=function(){return null},i.componentDidMount=function(){this._update()},i.componentDidUpdate=function(){this._update()},i._update=function(){var a=this.props.editor;a._latestEditorState=this.props.editorState,a._blockSelectEvents=!0},r}(Do.Component),uv=function(t){tv(r,t);function r(a){var u;return u=t.call(this,a)||this,Re(ze(u),"_blockSelectEvents",void 0),Re(ze(u),"_clipboard",void 0),Re(ze(u),"_handler",void 0),Re(ze(u),"_dragCount",void 0),Re(ze(u),"_internalDrag",void 0),Re(ze(u),"_editorKey",void 0),Re(ze(u),"_placeholderAccessibilityID",void 0),Re(ze(u),"_latestEditorState",void 0),Re(ze(u),"_latestCommittedEditorState",void 0),Re(ze(u),"_pendingStateFromBeforeInput",void 0),Re(ze(u),"_onBeforeInput",void 0),Re(ze(u),"_onBlur",void 0),Re(ze(u),"_onCharacterData",void 0),Re(ze(u),"_onCompositionEnd",void 0),Re(ze(u),"_onCompositionStart",void 0),Re(ze(u),"_onCopy",void 0),Re(ze(u),"_onCut",void 0),Re(ze(u),"_onDragEnd",void 0),Re(ze(u),"_onDragOver",void 0),Re(ze(u),"_onDragStart",void 0),Re(ze(u),"_onDrop",void 0),Re(ze(u),"_onInput",void 0),Re(ze(u),"_onFocus",void 0),Re(ze(u),"_onKeyDown",void 0),Re(ze(u),"_onKeyPress",void 0),Re(ze(u),"_onKeyUp",void 0),Re(ze(u),"_onMouseDown",void 0),Re(ze(u),"_onMouseUp",void 0),Re(ze(u),"_onPaste",void 0),Re(ze(u),"_onSelect",void 0),Re(ze(u),"editor",void 0),Re(ze(u),"editorContainer",void 0),Re(ze(u),"focus",void 0),Re(ze(u),"blur",void 0),Re(ze(u),"setMode",void 0),Re(ze(u),"exitCurrentMode",void 0),Re(ze(u),"restoreEditorDOM",void 0),Re(ze(u),"setClipboard",void 0),Re(ze(u),"getClipboard",void 0),Re(ze(u),"getEditorKey",void 0),Re(ze(u),"update",void 0),Re(ze(u),"onDragEnter",void 0),Re(ze(u),"onDragLeave",void 0),Re(ze(u),"_handleEditorContainerRef",function(c){u.editorContainer=c,u.editor=c!==null?c.firstChild:null}),Re(ze(u),"focus",function(c){var g=u.props.editorState,y=g.getSelection().getHasFocus(),b=u.editor;if(b){var w=rB.getScrollParent(b),D=c||lB(w),K=D.x,L=D.y;iv(b)||rv(!1),b.focus(),w===window?window.scrollTo(K,L):nB.setTop(w,L),y||u.update(tB.forceSelection(g,g.getSelection()))}}),Re(ze(u),"blur",function(){var c=u.editor;c&&(iv(c)||rv(!1),c.blur())}),Re(ze(u),"setMode",function(c){var g=u.props,y=g.onPaste,b=g.onCut,w=g.onCopy,D=Ef({},av.edit);y&&(D.onPaste=y),b&&(D.onCut=b),w&&(D.onCopy=w);var K=Ef({},av,{edit:D});u._handler=K[c]}),Re(ze(u),"exitCurrentMode",function(){u.setMode("edit")}),Re(ze(u),"restoreEditorDOM",function(c){u.setState({contentsKey:u.state.contentsKey+1},function(){u.focus(c)})}),Re(ze(u),"setClipboard",function(c){u._clipboard=c}),Re(ze(u),"getClipboard",function(){return u._clipboard}),Re(ze(u),"update",function(c){u._latestEditorState=c,u.props.onChange(c)}),Re(ze(u),"onDragEnter",function(){u._dragCount++}),Re(ze(u),"onDragLeave",function(){u._dragCount--,u._dragCount===0&&u.exitCurrentMode()}),u._blockSelectEvents=!1,u._clipboard=null,u._handler=null,u._dragCount=0,u._editorKey=a.editorKey||oB(),u._placeholderAccessibilityID="placeholder-"+u._editorKey,u._latestEditorState=a.editorState,u._latestCommittedEditorState=a.editorState,u._onBeforeInput=u._buildHandler("onBeforeInput"),u._onBlur=u._buildHandler("onBlur"),u._onCharacterData=u._buildHandler("onCharacterData"),u._onCompositionEnd=u._buildHandler("onCompositionEnd"),u._onCompositionStart=u._buildHandler("onCompositionStart"),u._onCopy=u._buildHandler("onCopy"),u._onCut=u._buildHandler("onCut"),u._onDragEnd=u._buildHandler("onDragEnd"),u._onDragOver=u._buildHandler("onDragOver"),u._onDragStart=u._buildHandler("onDragStart"),u._onDrop=u._buildHandler("onDrop"),u._onInput=u._buildHandler("onInput"),u._onFocus=u._buildHandler("onFocus"),u._onKeyDown=u._buildHandler("onKeyDown"),u._onKeyPress=u._buildHandler("onKeyPress"),u._onKeyUp=u._buildHandler("onKeyUp"),u._onMouseDown=u._buildHandler("onMouseDown"),u._onMouseUp=u._buildHandler("onMouseUp"),u._onPaste=u._buildHandler("onPaste"),u._onSelect=u._buildHandler("onSelect"),u.getEditorKey=function(){return u._editorKey},u.state={contentsKey:0},u}var i=r.prototype;return i._buildHandler=function(a){var u=this;return function(c){if(!u.props.readOnly){var g=u._handler&&u._handler[a];g&&(nv?nv(function(){return g(u,c)}):g(u,c))}}},i._showPlaceholder=function(){return!!this.props.placeholder&&!this.props.editorState.isInCompositionMode()&&!this.props.editorState.getCurrentContent().hasText()},i._renderPlaceholder=function(){if(this._showPlaceholder()){var a={text:sB(this.props.placeholder),editorState:this.props.editorState,textAlignment:this.props.textAlignment,accessibilityID:this._placeholderAccessibilityID};return Do.createElement(eB,a)}return null},i._renderARIADescribedBy=function(){var a=this.props.ariaDescribedBy||"",u=this._showPlaceholder()?this._placeholderAccessibilityID:"";return a.replace("{{editor_id_placeholder}}",u)||void 0},i.render=function(){var a=this.props,u=a.blockRenderMap,c=a.blockRendererFn,g=a.blockStyleFn,y=a.customStyleFn,b=a.customStyleMap,w=a.editorState,D=a.preventScroll,K=a.readOnly,L=a.textAlignment,T=a.textDirectionality,F=kf({"DraftEditor/root":!0,"DraftEditor/alignLeft":L==="left","DraftEditor/alignRight":L==="right","DraftEditor/alignCenter":L==="center"}),R={outline:"none",userSelect:"text",WebkitUserSelect:"text",whiteSpace:"pre-wrap",wordWrap:"break-word"},j=this.props.role||"textbox",G=j==="combobox"?!!this.props.ariaExpanded:null,Y={blockRenderMap:u,blockRendererFn:c,blockStyleFn:g,customStyleMap:Ef({},$C,b),customStyleFn:y,editorKey:this._editorKey,editorState:w,preventScroll:D,textDirectionality:T};return Do.createElement("div",{className:F},this._renderPlaceholder(),Do.createElement("div",{className:kf("DraftEditor/editorContainer"),ref:this._handleEditorContainerRef},Do.createElement("div",{"aria-activedescendant":K?null:this.props.ariaActiveDescendantID,"aria-autocomplete":K?null:this.props.ariaAutoComplete,"aria-controls":K?null:this.props.ariaControls,"aria-describedby":this._renderARIADescribedBy(),"aria-expanded":K?null:G,"aria-label":this.props.ariaLabel,"aria-labelledby":this.props.ariaLabelledBy,"aria-multiline":this.props.ariaMultiline,"aria-owns":K?null:this.props.ariaOwneeID,autoCapitalize:this.props.autoCapitalize,autoComplete:this.props.autoComplete,autoCorrect:this.props.autoCorrect,className:kf({notranslate:!K,"public/DraftEditor/content":!0}),contentEditable:!K,"data-testid":this.props.webDriverTestID,onBeforeInput:this._onBeforeInput,onBlur:this._onBlur,onCompositionEnd:this._onCompositionEnd,onCompositionStart:this._onCompositionStart,onCopy:this._onCopy,onCut:this._onCut,onDragEnd:this._onDragEnd,onDragEnter:this.onDragEnter,onDragLeave:this.onDragLeave,onDragOver:this._onDragOver,onDragStart:this._onDragStart,onDrop:this._onDrop,onFocus:this._onFocus,onInput:this._onInput,onKeyDown:this._onKeyDown,onKeyPress:this._onKeyPress,onKeyUp:this._onKeyUp,onMouseUp:this._onMouseUp,onPaste:this._onPaste,onSelect:this._onSelect,ref:this.props.editorRef,role:K?null:j,spellCheck:cB&&this.props.spellCheck,style:R,suppressContentEditableWarning:!0,tabIndex:this.props.tabIndex},Do.createElement(fB,{editor:this,editorState:w}),Do.createElement(JC,xf({},Y,{key:"contents"+this.state.contentsKey})))))},i.componentDidMount=function(){this._blockSelectEvents=!1,!lv&&uB("draft_ods_enabled")&&(lv=!0),this.setMode("edit"),ov&&(this.editor?this.editor.ownerDocument.execCommand("AutoUrlDetect",!1,!1):Pa.execCommand("AutoUrlDetect",!1,!1))},i.componentDidUpdate=function(){this._blockSelectEvents=!1,this._latestEditorState=this.props.editorState,this._latestCommittedEditorState=this.props.editorState},r}(Do.Component);Re(uv,"defaultProps",{ariaDescribedBy:"{{editor_id_placeholder}}",blockRenderMap:ZC,blockRendererFn:function(){return null},blockStyleFn:function(){return""},keyBindingFn:aB,readOnly:!1,spellCheck:!1,stripPastedStyles:!1});var dB=uv,pB={},hB={stringify:function(t){return"_"+String(t)},unstringify:function(t){return t.slice(1)}},sv=hB,mB=sv,gB=fa,cv=gB.strlen;function vB(t,r){var i=[];return t.findEntityRanges(function(a){return!!a.getEntity()},function(a,u){var c=t.getText(),g=t.getEntityAt(a);i.push({offset:cv(c.slice(0,a)),length:cv(c.slice(a,u)),key:Number(r[mB.stringify(g)])})}),i}var yB=vB,fv=fa,bB=xl,_B=function(t,r){return t===r},wB=function(t){return!!t},SB=[];function xB(t,r,i){var a=[],u=r.map(function(c){return c.has(i)}).toList();return bB(u,_B,wB,function(c,g){var y=t.getText();a.push({offset:fv.strlen(y.slice(0,c)),length:fv.strlen(y.slice(c,g)),style:i})}),a}function EB(t){var r=t.getCharacterList().map(function(a){return a.getStyle()}).toList(),i=r.flatten().toSet().map(function(a){return xB(t,r,a)});return Array.prototype.concat.apply(SB,i.toJS())}var kB=EB;function NB(t){for(var r=1;r<arguments.length;r++){var i=arguments[r]!=null?arguments[r]:{},a=Object.keys(i);typeof Object.getOwnPropertySymbols=="function"&&(a=a.concat(Object.getOwnPropertySymbols(i).filter(function(u){return Object.getOwnPropertyDescriptor(i,u).enumerable}))),a.forEach(function(u){OB(t,u,i[u])})}return t}function OB(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}var DB=ra,MB=Yr,dv=sv,LB=yB,CB=kB,BB=wt,pv=function(t,r){return{key:t.getKey(),text:t.getText(),type:t.getType(),depth:t.getDepth(),inlineStyleRanges:CB(t),entityRanges:LB(t,r),data:t.getData().toObject()}},FB=function(t,r,i,a){if(t instanceof DB){i.push(pv(t,r));return}t instanceof MB||BB(!1);var u=t.getParentKey(),c=a[t.getKey()]=NB({},pv(t,r),{children:[]});if(u){a[u].children.push(c);return}i.push(c)},PB=function(t,r){var i=r.entityMap,a=[],u={},c={},g=0;return t.getBlockMap().forEach(function(y){y.findEntityRanges(function(b){return b.getEntity()!==null},function(b){var w=y.getEntityAt(b),D=dv.stringify(w);c[D]||(c[D]=w,i[D]="".concat(g),g++)}),FB(y,i,a,u)}),{blocks:a,entityMap:i}},KB=function(t,r){var i=r.blocks,a=r.entityMap,u={};return Object.keys(a).forEach(function(c,g){var y=t.getEntity(dv.unstringify(c));u[g]={type:y.getType(),mutability:y.getMutability(),data:y.getData()}}),{blocks:i,entityMap:u}},RB=function(t){var r={entityMap:{},blocks:[]};return r=PB(t,r),r=KB(t,r),r},IB=RB;function ql(t){for(var r=1;r<arguments.length;r++){var i=arguments[r]!=null?arguments[r]:{},a=Object.keys(i);typeof Object.getOwnPropertySymbols=="function"&&(a=a.concat(Object.getOwnPropertySymbols(i).filter(function(u){return Object.getOwnPropertyDescriptor(i,u).enumerable}))),a.forEach(function(u){jB(t,u,i[u])})}return t}function jB(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}var TB=Li,hv=wt,zB=function(t,r){for(var i=[].concat(t).reverse();i.length;){var a=i.pop();r(a);var u=a.children;Array.isArray(u)||hv(!1),i=i.concat([].concat(u.reverse()))}},mv=function(t){if(!(t&&t.type))return!1;var r=t.type;return r==="unordered-list-item"||r==="ordered-list-item"},HB=function(t){Array.isArray(t.children)&&(t.children=t.children.map(function(r){return r.type===t.type?ql({},r,{depth:(t.depth||0)+1}):r}))},AB={fromRawTreeStateToRawState:function(t){var r=t.blocks,i=[];return Array.isArray(r)||hv(!1),!Array.isArray(r)||!r.length?t:(zB(r,function(a){var u=ql({},a);mv(a)&&(u.depth=u.depth||0,HB(a),a.children!=null&&a.children.length>0)||(delete u.children,i.push(u))}),t.blocks=i,ql({},t,{blocks:i}))},fromRawStateToRawTreeState:function(t){var r=[],i=[];return t.blocks.forEach(function(a){var u=mv(a),c=a.depth||0,g=ql({},a,{children:[]});if(!u){r.push(g);return}var y=i[0];if(y==null&&c===0)r.push(g);else if(y==null||y.depth<c-1){var b={key:TB(),text:"",depth:c-1,type:a.type,children:[],entityRanges:[],inlineStyleRanges:[]};i.unshift(b),c===1?r.push(b):y?.children.push(b),b.children.push(g)}else if(y.depth===c-1)y.children.push(g);else{for(;y!=null&&y.depth>=c;)i.shift(),y=i[0];c>0?y.children.push(g):r.push(g)}}),ql({},t,{blocks:r})}},qB=AB,UB=$r,VB=mt,QB=VB.List;function XB(t,r){var i=t.map(function(a,u){var c=r[u];return UB.create({style:a,entity:c})});return QB(i)}var ZB=XB,$B=fa,gv=$B.substr;function YB(t,r){var i=Array(t.length).fill(null);return r&&r.forEach(function(a){for(var u=gv(t,0,a.offset).length,c=u+gv(t,a.offset,a.length).length,g=u;g<c;g++)i[g]=a.key}),i}var JB=YB,WB=fa,GB=mt,eF=GB.OrderedSet,vv=WB.substr,tF=eF();function nF(t,r){var i=Array(t.length).fill(tF);return r&&r.forEach(function(a){for(var u=vv(t,0,a.offset).length,c=u+vv(t,a.offset,a.length).length;u<c;)i[u]=i[u].add(a.style),u++}),i}var rF=nF;function Ul(t){for(var r=1;r<arguments.length;r++){var i=arguments[r]!=null?arguments[r]:{},a=Object.keys(i);typeof Object.getOwnPropertySymbols=="function"&&(a=a.concat(Object.getOwnPropertySymbols(i).filter(function(u){return Object.getOwnPropertyDescriptor(i,u).enumerable}))),a.forEach(function(u){iF(t,u,i[u])})}return t}function iF(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}var oF=ra,yv=Yr,aF=Oc,lF=Su,bv=qB,_v=xu,uF=ZB,sF=JB,cF=rF,wv=Li,fF=Eo,Nf=mt,Of=wt,Sv=fF("draft_tree_data_support"),xv=Nf.List,dF=Nf.Map,Ev=Nf.OrderedMap,Df=function(t,r){var i=t.key,a=t.type,u=t.data,c=t.text,g=t.depth,y={text:c,depth:g||0,type:a||"unstyled",key:i||wv(),data:dF(u),characterList:pF(t,r)};return y},pF=function(t,r){var i=t.text,a=t.entityRanges,u=t.inlineStyleRanges,c=a||[],g=u||[];return uF(cF(i,g),sF(i,c.filter(function(y){return r.hasOwnProperty(y.key)}).map(function(y){return Ul({},y,{key:r[y.key]})})))},Mf=function(t){return Ul({},t,{key:t.key||wv()})},kv=function(t,r,i){var a=r.map(function(u){return Ul({},u,{parentRef:i})});return t.concat(a.reverse())},hF=function(t,r){return t.map(Mf).reduce(function(i,a,u){Array.isArray(a.children)||Of(!1);var c=a.children.map(Mf),g=new yv(Ul({},Df(a,r),{prevSibling:u===0?null:t[u-1].key,nextSibling:u===t.length-1?null:t[u+1].key,children:xv(c.map(function(R){return R.key}))}));i=i.set(g.getKey(),g);for(var y=kv([],c,g);y.length>0;){var b=y.pop(),w=b.parentRef,D=w.getChildKeys(),K=D.indexOf(b.key),L=Array.isArray(b.children);if(!L){L||Of(!1);break}var T=b.children.map(Mf),F=new yv(Ul({},Df(b,r),{parent:w.getKey(),children:xv(T.map(function(R){return R.key})),prevSibling:K===0?null:D.get(K-1),nextSibling:K===D.size-1?null:D.get(K+1)}));i=i.set(F.getKey(),F),y=kv(y,T,F)}return i},Ev())},mF=function(t,r){return Ev(t.map(function(i){var a=new oF(Df(i,r));return[a.getKey(),a]}))},gF=function(t,r){var i=t.blocks.find(function(c){return Array.isArray(c.children)&&c.children.length>0}),a=Sv&&!i?bv.fromRawStateToRawTreeState(t).blocks:t.blocks;if(!Sv)return mF(i?bv.fromRawTreeStateToRawState(t).blocks:a,r);var u=hF(a,r);return u},vF=function(t){var r=t.entityMap,i={};return Object.keys(r).forEach(function(a){var u=r[a],c=u.type,g=u.mutability,y=u.data;i[a]=lF.__create(c,g,y||{})}),i},yF=function(t){Array.isArray(t.blocks)||Of(!1);var r=vF(t),i=gF(t,r),a=i.isEmpty()?new _v:_v.createEmpty(i.first().getKey());return new aF({blockMap:i,entityMap:r,selectionBefore:a,selectionAfter:a})},bF=yF,_F=ig;function wF(t){var r=_F(t),i=0,a=0,u=0,c=0;if(r.length){if(r.length>1&&r[0].width===0){var g=r[1];i=g.top,a=g.right,u=g.bottom,c=g.left}else{var y=r[0];i=y.top,a=y.right,u=y.bottom,c=y.left}for(var b=1;b<r.length;b++){var w=r[b];w.height!==0&&w.width!==0&&(i=Math.min(i,w.top),a=Math.max(a,w.right),u=Math.max(u,w.bottom),c=Math.min(c,w.left))}}return{top:i,right:a,bottom:u,left:c,width:a-c,height:u-i}}var SF=wF,xF=SF;function EF(t){var r=t.getSelection();if(!r.rangeCount)return null;var i=r.getRangeAt(0),a=xF(i),u=a.top,c=a.right,g=a.bottom,y=a.left;return u===0&&c===0&&g===0&&y===0?null:a}var kF=EF,NF=vx,OF=Sl,DF=$r,MF=Ex,LF=ra,CF=Oc,BF=Pc,FF=Nh,PF=dB,KF=Lm,RF=Su,IF=sr,jF=Zp,TF=At,zF=cf,HF=pB,AF=Pg,qF=xu,UF=IB,VF=bF,QF=Li,XF=ev,ZF=kF,$F=Cg,YF={Editor:PF,EditorBlock:KF,EditorState:TF,CompositeDecorator:MF,Entity:RF,EntityInstance:jF,BlockMapBuilder:OF,CharacterMetadata:DF,ContentBlock:LF,ContentState:CF,RawDraftContentState:HF,SelectionState:qF,AtomicBlockUtils:NF,KeyBindingUtil:zF,Modifier:IF,RichUtils:AF,DefaultDraftBlockRenderMap:BF,DefaultDraftInlineStyle:FF,convertFromHTML:$F,convertFromRaw:VF,convertToRaw:UF,genKey:QF,getDefaultKeyBinding:XF,getVisibleSelectionRect:ZF},Nv=YF,JF=function(t,r,i,a,u,c,g,y){if(!t){var b;if(r===void 0)b=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var w=[i,a,u,c,g,y],D=0;b=new Error(r.replace(/%s/g,function(){return w[D++]})),b.name="Invariant Violation"}throw b.framesToPop=1,b}},bi=JF,Mn={},ha={};/**
52
52
  * @license React
53
53
  * react-dom-server-legacy.browser.production.min.js
54
54
  *
@@ -56,13 +56,13 @@ Error generating stack: `+m.message+`
56
56
  *
57
57
  * This source code is licensed under the MIT license found in the
58
58
  * LICENSE file in the root directory of this source tree.
59
- */var fv;function yB(){if(fv)return sa;fv=1;var t=q;function r(p){for(var w="https://reactjs.org/docs/error-decoder.html?invariant="+p,N=1;N<arguments.length;N++)w+="&args[]="+encodeURIComponent(arguments[N]);return"Minified React error #"+p+"; visit "+w+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var i=Object.prototype.hasOwnProperty,a=/^[: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]*$/,u={},f={};function g(p){return i.call(f,p)?!0:i.call(u,p)?!1:a.test(p)?f[p]=!0:(u[p]=!0,!1)}function y(p,w,N,B,$,U,ie){this.acceptsBooleans=w===2||w===3||w===4,this.attributeName=B,this.attributeNamespace=$,this.mustUseProperty=N,this.propertyName=p,this.type=w,this.sanitizeURL=U,this.removeEmptyString=ie}var b={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(p){b[p]=new y(p,0,!1,p,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(p){var w=p[0];b[w]=new y(w,1,!1,p[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(p){b[p]=new y(p,2,!1,p.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(p){b[p]=new y(p,2,!1,p,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(p){b[p]=new y(p,3,!1,p.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(p){b[p]=new y(p,3,!0,p,null,!1,!1)}),["capture","download"].forEach(function(p){b[p]=new y(p,4,!1,p,null,!1,!1)}),["cols","rows","size","span"].forEach(function(p){b[p]=new y(p,6,!1,p,null,!1,!1)}),["rowSpan","start"].forEach(function(p){b[p]=new y(p,5,!1,p.toLowerCase(),null,!1,!1)});var k=/[\-:]([a-z])/g;function D(p){return p[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(p){var w=p.replace(k,D);b[w]=new y(w,1,!1,p,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(p){var w=p.replace(k,D);b[w]=new y(w,1,!1,p,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(p){var w=p.replace(k,D);b[w]=new y(w,1,!1,p,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(p){b[p]=new y(p,1,!1,p.toLowerCase(),null,!1,!1)}),b.xlinkHref=new y("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(p){b[p]=new y(p,1,!1,p.toLowerCase(),null,!0,!0)});var P={animationIterationCount:!0,aspectRatio:!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},L=["Webkit","ms","Moz","O"];Object.keys(P).forEach(function(p){L.forEach(function(w){w=w+p.charAt(0).toUpperCase()+p.substring(1),P[w]=P[p]})});var T=/["'&<>]/;function F(p){if(typeof p=="boolean"||typeof p=="number")return""+p;p=""+p;var w=T.exec(p);if(w){var N="",B,$=0;for(B=w.index;B<p.length;B++){switch(p.charCodeAt(B)){case 34:w="&quot;";break;case 38:w="&amp;";break;case 39:w="&#x27;";break;case 60:w="&lt;";break;case 62:w="&gt;";break;default:continue}$!==B&&(N+=p.substring($,B)),$=B+1,N+=w}p=$!==B?N+p.substring($,B):N}return p}var R=/([A-Z])/g,j=/^ms-/,ne=Array.isArray;function Y(p,w){return{insertionMode:p,selectedValue:w}}function W(p,w,N){switch(w){case"select":return Y(1,N.value!=null?N.value:N.defaultValue);case"svg":return Y(2,null);case"math":return Y(3,null);case"foreignObject":return Y(1,null);case"table":return Y(4,null);case"thead":case"tbody":case"tfoot":return Y(5,null);case"colgroup":return Y(7,null);case"tr":return Y(6,null)}return 4<=p.insertionMode||p.insertionMode===0?Y(1,null):p}var J=new Map;function le(p,w,N){if(typeof N!="object")throw Error(r(62));w=!0;for(var B in N)if(i.call(N,B)){var $=N[B];if($!=null&&typeof $!="boolean"&&$!==""){if(B.indexOf("--")===0){var U=F(B);$=F((""+$).trim())}else{U=B;var ie=J.get(U);ie!==void 0||(ie=F(U.replace(R,"-$1").toLowerCase().replace(j,"-ms-")),J.set(U,ie)),U=ie,$=typeof $=="number"?$===0||i.call(P,B)?""+$:$+"px":F((""+$).trim())}w?(w=!1,p.push(' style="',U,":",$)):p.push(";",U,":",$)}}w||p.push('"')}function Se(p,w,N,B){switch(N){case"style":le(p,w,B);return;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<N.length)||N[0]!=="o"&&N[0]!=="O"||N[1]!=="n"&&N[1]!=="N"){if(w=b.hasOwnProperty(N)?b[N]:null,w!==null){switch(typeof B){case"function":case"symbol":return;case"boolean":if(!w.acceptsBooleans)return}switch(N=w.attributeName,w.type){case 3:B&&p.push(" ",N,'=""');break;case 4:B===!0?p.push(" ",N,'=""'):B!==!1&&p.push(" ",N,'="',F(B),'"');break;case 5:isNaN(B)||p.push(" ",N,'="',F(B),'"');break;case 6:!isNaN(B)&&1<=B&&p.push(" ",N,'="',F(B),'"');break;default:w.sanitizeURL&&(B=""+B),p.push(" ",N,'="',F(B),'"')}}else if(g(N)){switch(typeof B){case"function":case"symbol":return;case"boolean":if(w=N.toLowerCase().slice(0,5),w!=="data-"&&w!=="aria-")return}p.push(" ",N,'="',F(B),'"')}}}function _e(p,w,N){if(w!=null){if(N!=null)throw Error(r(60));if(typeof w!="object"||!("__html"in w))throw Error(r(61));w=w.__html,w!=null&&p.push(""+w)}}function Ie(p){var w="";return t.Children.forEach(p,function(N){N!=null&&(w+=N)}),w}function ve(p,w,N,B){p.push(he(N));var $=N=null,U;for(U in w)if(i.call(w,U)){var ie=w[U];if(ie!=null)switch(U){case"children":N=ie;break;case"dangerouslySetInnerHTML":$=ie;break;default:Se(p,B,U,ie)}}return p.push(">"),_e(p,$,N),typeof N=="string"?(p.push(F(N)),null):N}var ke=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,we=new Map;function he(p){var w=we.get(p);if(w===void 0){if(!ke.test(p))throw Error(r(65,p));w="<"+p,we.set(p,w)}return w}function ge(p,w,N,B,$){switch(w){case"select":p.push(he("select"));var U=null,ie=null;for(We in N)if(i.call(N,We)){var me=N[We];if(me!=null)switch(We){case"children":U=me;break;case"dangerouslySetInnerHTML":ie=me;break;case"defaultValue":case"value":break;default:Se(p,B,We,me)}}return p.push(">"),_e(p,ie,U),U;case"option":ie=$.selectedValue,p.push(he("option"));var be=me=null,xe=null,We=null;for(U in N)if(i.call(N,U)){var wt=N[U];if(wt!=null)switch(U){case"children":me=wt;break;case"selected":xe=wt;break;case"dangerouslySetInnerHTML":We=wt;break;case"value":be=wt;default:Se(p,B,U,wt)}}if(ie!=null)if(N=be!==null?""+be:Ie(me),ne(ie)){for(B=0;B<ie.length;B++)if(""+ie[B]===N){p.push(' selected=""');break}}else""+ie===N&&p.push(' selected=""');else xe&&p.push(' selected=""');return p.push(">"),_e(p,We,me),me;case"textarea":p.push(he("textarea")),We=ie=U=null;for(me in N)if(i.call(N,me)&&(be=N[me],be!=null))switch(me){case"children":We=be;break;case"value":U=be;break;case"defaultValue":ie=be;break;case"dangerouslySetInnerHTML":throw Error(r(91));default:Se(p,B,me,be)}if(U===null&&ie!==null&&(U=ie),p.push(">"),We!=null){if(U!=null)throw Error(r(92));if(ne(We)&&1<We.length)throw Error(r(93));U=""+We}return typeof U=="string"&&U[0]===`
59
+ */var Ov;function WF(){if(Ov)return ha;Ov=1;var t=P;function r(p){for(var S="https://reactjs.org/docs/error-decoder.html?invariant="+p,O=1;O<arguments.length;O++)S+="&args[]="+encodeURIComponent(arguments[O]);return"Minified React error #"+p+"; visit "+S+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var i=Object.prototype.hasOwnProperty,a=/^[: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]*$/,u={},c={};function g(p){return i.call(c,p)?!0:i.call(u,p)?!1:a.test(p)?c[p]=!0:(u[p]=!0,!1)}function y(p,S,O,B,X,U,ie){this.acceptsBooleans=S===2||S===3||S===4,this.attributeName=B,this.attributeNamespace=X,this.mustUseProperty=O,this.propertyName=p,this.type=S,this.sanitizeURL=U,this.removeEmptyString=ie}var b={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(p){b[p]=new y(p,0,!1,p,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(p){var S=p[0];b[S]=new y(S,1,!1,p[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(p){b[p]=new y(p,2,!1,p.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(p){b[p]=new y(p,2,!1,p,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(p){b[p]=new y(p,3,!1,p.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(p){b[p]=new y(p,3,!0,p,null,!1,!1)}),["capture","download"].forEach(function(p){b[p]=new y(p,4,!1,p,null,!1,!1)}),["cols","rows","size","span"].forEach(function(p){b[p]=new y(p,6,!1,p,null,!1,!1)}),["rowSpan","start"].forEach(function(p){b[p]=new y(p,5,!1,p.toLowerCase(),null,!1,!1)});var w=/[\-:]([a-z])/g;function D(p){return p[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(p){var S=p.replace(w,D);b[S]=new y(S,1,!1,p,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(p){var S=p.replace(w,D);b[S]=new y(S,1,!1,p,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(p){var S=p.replace(w,D);b[S]=new y(S,1,!1,p,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(p){b[p]=new y(p,1,!1,p.toLowerCase(),null,!1,!1)}),b.xlinkHref=new y("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(p){b[p]=new y(p,1,!1,p.toLowerCase(),null,!0,!0)});var K={animationIterationCount:!0,aspectRatio:!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},L=["Webkit","ms","Moz","O"];Object.keys(K).forEach(function(p){L.forEach(function(S){S=S+p.charAt(0).toUpperCase()+p.substring(1),K[S]=K[p]})});var T=/["'&<>]/;function F(p){if(typeof p=="boolean"||typeof p=="number")return""+p;p=""+p;var S=T.exec(p);if(S){var O="",B,X=0;for(B=S.index;B<p.length;B++){switch(p.charCodeAt(B)){case 34:S="&quot;";break;case 38:S="&amp;";break;case 39:S="&#x27;";break;case 60:S="&lt;";break;case 62:S="&gt;";break;default:continue}X!==B&&(O+=p.substring(X,B)),X=B+1,O+=S}p=X!==B?O+p.substring(X,B):O}return p}var R=/([A-Z])/g,j=/^ms-/,G=Array.isArray;function Y(p,S){return{insertionMode:p,selectedValue:S}}function W(p,S,O){switch(S){case"select":return Y(1,O.value!=null?O.value:O.defaultValue);case"svg":return Y(2,null);case"math":return Y(3,null);case"foreignObject":return Y(1,null);case"table":return Y(4,null);case"thead":case"tbody":case"tfoot":return Y(5,null);case"colgroup":return Y(7,null);case"tr":return Y(6,null)}return 4<=p.insertionMode||p.insertionMode===0?Y(1,null):p}var J=new Map;function le(p,S,O){if(typeof O!="object")throw Error(r(62));S=!0;for(var B in O)if(i.call(O,B)){var X=O[B];if(X!=null&&typeof X!="boolean"&&X!==""){if(B.indexOf("--")===0){var U=F(B);X=F((""+X).trim())}else{U=B;var ie=J.get(U);ie!==void 0||(ie=F(U.replace(R,"-$1").toLowerCase().replace(j,"-ms-")),J.set(U,ie)),U=ie,X=typeof X=="number"?X===0||i.call(K,B)?""+X:X+"px":F((""+X).trim())}S?(S=!1,p.push(' style="',U,":",X)):p.push(";",U,":",X)}}S||p.push('"')}function Se(p,S,O,B){switch(O){case"style":le(p,S,B);return;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<O.length)||O[0]!=="o"&&O[0]!=="O"||O[1]!=="n"&&O[1]!=="N"){if(S=b.hasOwnProperty(O)?b[O]:null,S!==null){switch(typeof B){case"function":case"symbol":return;case"boolean":if(!S.acceptsBooleans)return}switch(O=S.attributeName,S.type){case 3:B&&p.push(" ",O,'=""');break;case 4:B===!0?p.push(" ",O,'=""'):B!==!1&&p.push(" ",O,'="',F(B),'"');break;case 5:isNaN(B)||p.push(" ",O,'="',F(B),'"');break;case 6:!isNaN(B)&&1<=B&&p.push(" ",O,'="',F(B),'"');break;default:S.sanitizeURL&&(B=""+B),p.push(" ",O,'="',F(B),'"')}}else if(g(O)){switch(typeof B){case"function":case"symbol":return;case"boolean":if(S=O.toLowerCase().slice(0,5),S!=="data-"&&S!=="aria-")return}p.push(" ",O,'="',F(B),'"')}}}function _e(p,S,O){if(S!=null){if(O!=null)throw Error(r(60));if(typeof S!="object"||!("__html"in S))throw Error(r(61));S=S.__html,S!=null&&p.push(""+S)}}function Ie(p){var S="";return t.Children.forEach(p,function(O){O!=null&&(S+=O)}),S}function ve(p,S,O,B){p.push(he(O));var X=O=null,U;for(U in S)if(i.call(S,U)){var ie=S[U];if(ie!=null)switch(U){case"children":O=ie;break;case"dangerouslySetInnerHTML":X=ie;break;default:Se(p,B,U,ie)}}return p.push(">"),_e(p,X,O),typeof O=="string"?(p.push(F(O)),null):O}var xe=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,we=new Map;function he(p){var S=we.get(p);if(S===void 0){if(!xe.test(p))throw Error(r(65,p));S="<"+p,we.set(p,S)}return S}function ge(p,S,O,B,X){switch(S){case"select":p.push(he("select"));var U=null,ie=null;for(We in O)if(i.call(O,We)){var me=O[We];if(me!=null)switch(We){case"children":U=me;break;case"dangerouslySetInnerHTML":ie=me;break;case"defaultValue":case"value":break;default:Se(p,B,We,me)}}return p.push(">"),_e(p,ie,U),U;case"option":ie=X.selectedValue,p.push(he("option"));var be=me=null,Ee=null,We=null;for(U in O)if(i.call(O,U)){var St=O[U];if(St!=null)switch(U){case"children":me=St;break;case"selected":Ee=St;break;case"dangerouslySetInnerHTML":We=St;break;case"value":be=St;default:Se(p,B,U,St)}}if(ie!=null)if(O=be!==null?""+be:Ie(me),G(ie)){for(B=0;B<ie.length;B++)if(""+ie[B]===O){p.push(' selected=""');break}}else""+ie===O&&p.push(' selected=""');else Ee&&p.push(' selected=""');return p.push(">"),_e(p,We,me),me;case"textarea":p.push(he("textarea")),We=ie=U=null;for(me in O)if(i.call(O,me)&&(be=O[me],be!=null))switch(me){case"children":We=be;break;case"value":U=be;break;case"defaultValue":ie=be;break;case"dangerouslySetInnerHTML":throw Error(r(91));default:Se(p,B,me,be)}if(U===null&&ie!==null&&(U=ie),p.push(">"),We!=null){if(U!=null)throw Error(r(92));if(G(We)&&1<We.length)throw Error(r(93));U=""+We}return typeof U=="string"&&U[0]===`
60
60
  `&&p.push(`
61
- `),U!==null&&p.push(F(""+U)),null;case"input":p.push(he("input")),be=We=me=U=null;for(ie in N)if(i.call(N,ie)&&(xe=N[ie],xe!=null))switch(ie){case"children":case"dangerouslySetInnerHTML":throw Error(r(399,"input"));case"defaultChecked":be=xe;break;case"defaultValue":me=xe;break;case"checked":We=xe;break;case"value":U=xe;break;default:Se(p,B,ie,xe)}return We!==null?Se(p,B,"checked",We):be!==null&&Se(p,B,"checked",be),U!==null?Se(p,B,"value",U):me!==null&&Se(p,B,"value",me),p.push("/>"),null;case"menuitem":p.push(he("menuitem"));for(var Ot in N)if(i.call(N,Ot)&&(U=N[Ot],U!=null))switch(Ot){case"children":case"dangerouslySetInnerHTML":throw Error(r(400));default:Se(p,B,Ot,U)}return p.push(">"),null;case"title":p.push(he("title")),U=null;for(wt in N)if(i.call(N,wt)&&(ie=N[wt],ie!=null))switch(wt){case"children":U=ie;break;case"dangerouslySetInnerHTML":throw Error(r(434));default:Se(p,B,wt,ie)}return p.push(">"),U;case"listing":case"pre":p.push(he(w)),ie=U=null;for(be in N)if(i.call(N,be)&&(me=N[be],me!=null))switch(be){case"children":U=me;break;case"dangerouslySetInnerHTML":ie=me;break;default:Se(p,B,be,me)}if(p.push(">"),ie!=null){if(U!=null)throw Error(r(60));if(typeof ie!="object"||!("__html"in ie))throw Error(r(61));N=ie.__html,N!=null&&(typeof N=="string"&&0<N.length&&N[0]===`
61
+ `),U!==null&&p.push(F(""+U)),null;case"input":p.push(he("input")),be=We=me=U=null;for(ie in O)if(i.call(O,ie)&&(Ee=O[ie],Ee!=null))switch(ie){case"children":case"dangerouslySetInnerHTML":throw Error(r(399,"input"));case"defaultChecked":be=Ee;break;case"defaultValue":me=Ee;break;case"checked":We=Ee;break;case"value":U=Ee;break;default:Se(p,B,ie,Ee)}return We!==null?Se(p,B,"checked",We):be!==null&&Se(p,B,"checked",be),U!==null?Se(p,B,"value",U):me!==null&&Se(p,B,"value",me),p.push("/>"),null;case"menuitem":p.push(he("menuitem"));for(var Ot in O)if(i.call(O,Ot)&&(U=O[Ot],U!=null))switch(Ot){case"children":case"dangerouslySetInnerHTML":throw Error(r(400));default:Se(p,B,Ot,U)}return p.push(">"),null;case"title":p.push(he("title")),U=null;for(St in O)if(i.call(O,St)&&(ie=O[St],ie!=null))switch(St){case"children":U=ie;break;case"dangerouslySetInnerHTML":throw Error(r(434));default:Se(p,B,St,ie)}return p.push(">"),U;case"listing":case"pre":p.push(he(S)),ie=U=null;for(be in O)if(i.call(O,be)&&(me=O[be],me!=null))switch(be){case"children":U=me;break;case"dangerouslySetInnerHTML":ie=me;break;default:Se(p,B,be,me)}if(p.push(">"),ie!=null){if(U!=null)throw Error(r(60));if(typeof ie!="object"||!("__html"in ie))throw Error(r(61));O=ie.__html,O!=null&&(typeof O=="string"&&0<O.length&&O[0]===`
62
62
  `?p.push(`
63
- `,N):p.push(""+N))}return typeof U=="string"&&U[0]===`
63
+ `,O):p.push(""+O))}return typeof U=="string"&&U[0]===`
64
64
  `&&p.push(`
65
- `),U;case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":p.push(he(w));for(var Wt in N)if(i.call(N,Wt)&&(U=N[Wt],U!=null))switch(Wt){case"children":case"dangerouslySetInnerHTML":throw Error(r(399,w));default:Se(p,B,Wt,U)}return p.push("/>"),null;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 ve(p,N,w,B);case"html":return $.insertionMode===0&&p.push("<!DOCTYPE html>"),ve(p,N,w,B);default:if(w.indexOf("-")===-1&&typeof N.is!="string")return ve(p,N,w,B);p.push(he(w)),ie=U=null;for(xe in N)if(i.call(N,xe)&&(me=N[xe],me!=null))switch(xe){case"children":U=me;break;case"dangerouslySetInnerHTML":ie=me;break;case"style":le(p,B,me);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:g(xe)&&typeof me!="function"&&typeof me!="symbol"&&p.push(" ",xe,'="',F(me),'"')}return p.push(">"),_e(p,ie,U),U}}function De(p,w,N){if(p.push('<!--$?--><template id="'),N===null)throw Error(r(395));return p.push(N),p.push('"></template>')}function je(p,w,N,B){switch(N.insertionMode){case 0:case 1:return p.push('<div hidden id="'),p.push(w.segmentPrefix),w=B.toString(16),p.push(w),p.push('">');case 2:return p.push('<svg aria-hidden="true" style="display:none" id="'),p.push(w.segmentPrefix),w=B.toString(16),p.push(w),p.push('">');case 3:return p.push('<math aria-hidden="true" style="display:none" id="'),p.push(w.segmentPrefix),w=B.toString(16),p.push(w),p.push('">');case 4:return p.push('<table hidden id="'),p.push(w.segmentPrefix),w=B.toString(16),p.push(w),p.push('">');case 5:return p.push('<table hidden><tbody id="'),p.push(w.segmentPrefix),w=B.toString(16),p.push(w),p.push('">');case 6:return p.push('<table hidden><tr id="'),p.push(w.segmentPrefix),w=B.toString(16),p.push(w),p.push('">');case 7:return p.push('<table hidden><colgroup id="'),p.push(w.segmentPrefix),w=B.toString(16),p.push(w),p.push('">');default:throw Error(r(397))}}function Ce(p,w){switch(w.insertionMode){case 0:case 1:return p.push("</div>");case 2:return p.push("</svg>");case 3:return p.push("</math>");case 4:return p.push("</table>");case 5:return p.push("</tbody></table>");case 6:return p.push("</tr></table>");case 7:return p.push("</colgroup></table>");default:throw Error(r(397))}}var He=/[<\u2028\u2029]/g;function ue(p){return JSON.stringify(p).replace(He,function(w){switch(w){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}function fe(p,w){return w=w===void 0?"":w,{bootstrapChunks:[],startInlineScript:"<script>",placeholderPrefix:w+"P:",segmentPrefix:w+"S:",boundaryPrefix:w+"B:",idPrefix:w,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1,generateStaticMarkup:p}}function ae(p,w,N,B){return N.generateStaticMarkup?(p.push(F(w)),!1):(w===""?p=B:(B&&p.push("<!-- -->"),p.push(F(w)),p=!0),p)}var Me=Object.assign,Ye=Symbol.for("react.element"),kt=Symbol.for("react.portal"),Mt=Symbol.for("react.fragment"),Ae=Symbol.for("react.strict_mode"),Te=Symbol.for("react.profiler"),dt=Symbol.for("react.provider"),Pt=Symbol.for("react.context"),Kt=Symbol.for("react.forward_ref"),Ct=Symbol.for("react.suspense"),xt=Symbol.for("react.suspense_list"),Jt=Symbol.for("react.memo"),$e=Symbol.for("react.lazy"),ut=Symbol.for("react.scope"),lt=Symbol.for("react.debug_trace_mode"),Bt=Symbol.for("react.legacy_hidden"),pn=Symbol.for("react.default_value"),Lt=Symbol.iterator;function Et(p){if(p==null)return null;if(typeof p=="function")return p.displayName||p.name||null;if(typeof p=="string")return p;switch(p){case Mt:return"Fragment";case kt:return"Portal";case Te:return"Profiler";case Ae:return"StrictMode";case Ct:return"Suspense";case xt:return"SuspenseList"}if(typeof p=="object")switch(p.$$typeof){case Pt:return(p.displayName||"Context")+".Consumer";case dt:return(p._context.displayName||"Context")+".Provider";case Kt:var w=p.render;return p=p.displayName,p||(p=w.displayName||w.name||"",p=p!==""?"ForwardRef("+p+")":"ForwardRef"),p;case Jt:return w=p.displayName||null,w!==null?w:Et(p.type)||"Memo";case $e:w=p._payload,p=p._init;try{return Et(p(w))}catch{}}return null}var rt={};function pt(p,w){if(p=p.contextTypes,!p)return rt;var N={},B;for(B in p)N[B]=w[B];return N}var Ft=null;function Fe(p,w){if(p!==w){p.context._currentValue2=p.parentValue,p=p.parent;var N=w.parent;if(p===null){if(N!==null)throw Error(r(401))}else{if(N===null)throw Error(r(401));Fe(p,N)}w.context._currentValue2=w.value}}function nt(p){p.context._currentValue2=p.parentValue,p=p.parent,p!==null&&nt(p)}function Je(p){var w=p.parent;w!==null&&Je(w),p.context._currentValue2=p.value}function ht(p,w){if(p.context._currentValue2=p.parentValue,p=p.parent,p===null)throw Error(r(402));p.depth===w.depth?Fe(p,w):ht(p,w)}function Ge(p,w){var N=w.parent;if(N===null)throw Error(r(402));p.depth===N.depth?Fe(p,N):Ge(p,N),w.context._currentValue2=w.value}function wn(p){var w=Ft;w!==p&&(w===null?Je(p):p===null?nt(w):w.depth===p.depth?Fe(w,p):w.depth>p.depth?ht(w,p):Ge(w,p),Ft=p)}var ct={isMounted:function(){return!1},enqueueSetState:function(p,w){p=p._reactInternals,p.queue!==null&&p.queue.push(w)},enqueueReplaceState:function(p,w){p=p._reactInternals,p.replace=!0,p.queue=[w]},enqueueForceUpdate:function(){}};function Sn(p,w,N,B){var $=p.state!==void 0?p.state:null;p.updater=ct,p.props=N,p.state=$;var U={queue:[],replace:!1};p._reactInternals=U;var ie=w.contextType;if(p.context=typeof ie=="object"&&ie!==null?ie._currentValue2:B,ie=w.getDerivedStateFromProps,typeof ie=="function"&&(ie=ie(N,$),$=ie==null?$:Me({},$,ie),p.state=$),typeof w.getDerivedStateFromProps!="function"&&typeof p.getSnapshotBeforeUpdate!="function"&&(typeof p.UNSAFE_componentWillMount=="function"||typeof p.componentWillMount=="function"))if(w=p.state,typeof p.componentWillMount=="function"&&p.componentWillMount(),typeof p.UNSAFE_componentWillMount=="function"&&p.UNSAFE_componentWillMount(),w!==p.state&&ct.enqueueReplaceState(p,p.state,null),U.queue!==null&&0<U.queue.length)if(w=U.queue,ie=U.replace,U.queue=null,U.replace=!1,ie&&w.length===1)p.state=w[0];else{for(U=ie?w[0]:p.state,$=!0,ie=ie?1:0;ie<w.length;ie++){var me=w[ie];me=typeof me=="function"?me.call(p,U,N,B):me,me!=null&&($?($=!1,U=Me({},U,me)):Me(U,me))}p.state=U}else U.queue=null}var Yt={id:1,overflow:""};function fr(p,w,N){var B=p.id;p=p.overflow;var $=32-Un(B)-1;B&=~(1<<$),N+=1;var U=32-Un(w)+$;if(30<U){var ie=$-$%5;return U=(B&(1<<ie)-1).toString(32),B>>=ie,$-=ie,{id:1<<32-Un(w)+$|N<<$|B,overflow:U+p}}return{id:1<<U|N<<$|B,overflow:p}}var Un=Math.clz32?Math.clz32:vi,eo=Math.log,Rt=Math.LN2;function vi(p){return p>>>=0,p===0?32:31-(eo(p)/Rt|0)|0}function $t(p,w){return p===w&&(p!==0||1/p===1/w)||p!==p&&w!==w}var yi=typeof Object.is=="function"?Object.is:$t,sn=null,Ht=null,Tn=null,it=null,Vn=!1,Qn=!1,Wn=0,kn=null,Or=0;function It(){if(sn===null)throw Error(r(321));return sn}function to(){if(0<Or)throw Error(r(312));return{memoizedState:null,queue:null,next:null}}function Gn(){return it===null?Tn===null?(Vn=!1,Tn=it=to()):(Vn=!0,it=Tn):it.next===null?(Vn=!1,it=it.next=to()):(Vn=!0,it=it.next),it}function bi(){Ht=sn=null,Qn=!1,Tn=null,Or=0,it=kn=null}function Nr(p,w){return typeof w=="function"?w(p):w}function no(p,w,N){if(sn=It(),it=Gn(),Vn){var B=it.queue;if(w=B.dispatch,kn!==null&&(N=kn.get(B),N!==void 0)){kn.delete(B),B=it.memoizedState;do B=p(B,N.action),N=N.next;while(N!==null);return it.memoizedState=B,[B,w]}return[it.memoizedState,w]}return p=p===Nr?typeof w=="function"?w():w:N!==void 0?N(w):w,it.memoizedState=p,p=it.queue={last:null,dispatch:null},p=p.dispatch=Yr.bind(null,sn,p),[it.memoizedState,p]}function Jr(p,w){if(sn=It(),it=Gn(),w=w===void 0?null:w,it!==null){var N=it.memoizedState;if(N!==null&&w!==null){var B=N[1];e:if(B===null)B=!1;else{for(var $=0;$<B.length&&$<w.length;$++)if(!yi(w[$],B[$])){B=!1;break e}B=!0}if(B)return N[0]}}return p=p(),it.memoizedState=[p,w],p}function Yr(p,w,N){if(25<=Or)throw Error(r(301));if(p===sn)if(Qn=!0,p={action:N,next:null},kn===null&&(kn=new Map),N=kn.get(w),N===void 0)kn.set(w,p);else{for(w=N;w.next!==null;)w=w.next;w.next=p}}function Wr(){throw Error(r(394))}function dr(){}var pr={readContext:function(p){return p._currentValue2},useContext:function(p){return It(),p._currentValue2},useMemo:Jr,useReducer:no,useRef:function(p){sn=It(),it=Gn();var w=it.memoizedState;return w===null?(p={current:p},it.memoizedState=p):w},useState:function(p){return no(Nr,p)},useInsertionEffect:dr,useLayoutEffect:function(){},useCallback:function(p,w){return Jr(function(){return p},w)},useImperativeHandle:dr,useEffect:dr,useDebugValue:dr,useDeferredValue:function(p){return It(),p},useTransition:function(){return It(),[!1,Wr]},useId:function(){var p=Ht.treeContext,w=p.overflow;p=p.id,p=(p&~(1<<32-Un(p)-1)).toString(32)+w;var N=Ki;if(N===null)throw Error(r(404));return w=Wn++,p=":"+N.idPrefix+"R"+p,0<w&&(p+="H"+w.toString(32)),p+":"},useMutableSource:function(p,w){return It(),w(p._source)},useSyncExternalStore:function(p,w,N){if(N===void 0)throw Error(r(407));return N()}},Ki=null,ro=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function er(p){return console.error(p),null}function hr(){}function hn(p,w,N,B,$,U,ie,me,be){var xe=[],We=new Set;return w={destination:null,responseState:w,progressiveChunkSize:B===void 0?12800:B,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:We,pingedTasks:xe,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:$===void 0?er:$,onAllReady:U===void 0?hr:U,onShellReady:ie===void 0?hr:ie,onShellError:me===void 0?hr:me,onFatalError:be===void 0?hr:be},N=Dr(w,0,null,N,!1,!1),N.parentFlushed=!0,p=ot(w,p,null,N,We,rt,null,Yt),xe.push(p),w}function ot(p,w,N,B,$,U,ie,me){p.allPendingTasks++,N===null?p.pendingRootTasks++:N.pendingTasks++;var be={node:w,ping:function(){var xe=p.pingedTasks;xe.push(be),xe.length===1&&Ln(p)},blockedBoundary:N,blockedSegment:B,abortSet:$,legacyContext:U,context:ie,treeContext:me};return $.add(be),be}function Dr(p,w,N,B,$,U){return{status:0,id:-1,index:w,parentFlushed:!1,chunks:[],children:[],formatContext:B,boundary:N,lastPushedText:$,textEmbedded:U}}function Mr(p,w){if(p=p.onError(w),p!=null&&typeof p!="string")throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof p+'" instead');return p}function tt(p,w){var N=p.onShellError;N(w),N=p.onFatalError,N(w),p.destination!==null?(p.status=2,p.destination.destroy(w)):(p.status=1,p.fatalError=w)}function Lr(p,w,N,B,$){for(sn={},Ht=w,Wn=0,p=N(B,$);Qn;)Qn=!1,Wn=0,Or+=1,it=null,p=N(B,$);return bi(),p}function Cr(p,w,N,B){var $=N.render(),U=B.childContextTypes;if(U!=null){var ie=w.legacyContext;if(typeof N.getChildContext!="function")B=ie;else{N=N.getChildContext();for(var me in N)if(!(me in U))throw Error(r(108,Et(B)||"Unknown",me));B=Me({},ie,N)}w.legacyContext=B,jt(p,w,$),w.legacyContext=ie}else jt(p,w,$)}function Gr(p,w){if(p&&p.defaultProps){w=Me({},w),p=p.defaultProps;for(var N in p)w[N]===void 0&&(w[N]=p[N]);return w}return w}function gt(p,w,N,B,$){if(typeof N=="function")if(N.prototype&&N.prototype.isReactComponent){$=pt(N,w.legacyContext);var U=N.contextType;U=new N(B,typeof U=="object"&&U!==null?U._currentValue2:$),Sn(U,N,B,$),Cr(p,w,U,N)}else{U=pt(N,w.legacyContext),$=Lr(p,w,N,B,U);var ie=Wn!==0;if(typeof $=="object"&&$!==null&&typeof $.render=="function"&&$.$$typeof===void 0)Sn($,N,B,U),Cr(p,w,$,N);else if(ie){B=w.treeContext,w.treeContext=fr(B,1,0);try{jt(p,w,$)}finally{w.treeContext=B}}else jt(p,w,$)}else if(typeof N=="string"){switch($=w.blockedSegment,U=ge($.chunks,N,B,p.responseState,$.formatContext),$.lastPushedText=!1,ie=$.formatContext,$.formatContext=W(ie,N,B),ti(p,w,U),$.formatContext=ie,N){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:$.chunks.push("</",N,">")}$.lastPushedText=!1}else{switch(N){case Bt:case lt:case Ae:case Te:case Mt:jt(p,w,B.children);return;case xt:jt(p,w,B.children);return;case ut:throw Error(r(343));case Ct:e:{N=w.blockedBoundary,$=w.blockedSegment,U=B.fallback,B=B.children,ie=new Set;var me={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:ie,errorDigest:null},be=Dr(p,$.chunks.length,me,$.formatContext,!1,!1);$.children.push(be),$.lastPushedText=!1;var xe=Dr(p,0,null,$.formatContext,!1,!1);xe.parentFlushed=!0,w.blockedBoundary=me,w.blockedSegment=xe;try{if(ti(p,w,B),p.responseState.generateStaticMarkup||xe.lastPushedText&&xe.textEmbedded&&xe.chunks.push("<!-- -->"),xe.status=1,mr(me,xe),me.pendingTasks===0)break e}catch(We){xe.status=4,me.forceClientRender=!0,me.errorDigest=Mr(p,We)}finally{w.blockedBoundary=N,w.blockedSegment=$}w=ot(p,U,N,be,ie,w.legacyContext,w.context,w.treeContext),p.pingedTasks.push(w)}return}if(typeof N=="object"&&N!==null)switch(N.$$typeof){case Kt:if(B=Lr(p,w,N.render,B,$),Wn!==0){N=w.treeContext,w.treeContext=fr(N,1,0);try{jt(p,w,B)}finally{w.treeContext=N}}else jt(p,w,B);return;case Jt:N=N.type,B=Gr(N,B),gt(p,w,N,B,$);return;case dt:if($=B.children,N=N._context,B=B.value,U=N._currentValue2,N._currentValue2=B,ie=Ft,Ft=B={parent:ie,depth:ie===null?0:ie.depth+1,context:N,parentValue:U,value:B},w.context=B,jt(p,w,$),p=Ft,p===null)throw Error(r(403));B=p.parentValue,p.context._currentValue2=B===pn?p.context._defaultValue:B,p=Ft=p.parent,w.context=p;return;case Pt:B=B.children,B=B(N._currentValue2),jt(p,w,B);return;case $e:$=N._init,N=$(N._payload),B=Gr(N,B),gt(p,w,N,B,void 0);return}throw Error(r(130,N==null?N:typeof N,""))}}function jt(p,w,N){if(w.node=N,typeof N=="object"&&N!==null){switch(N.$$typeof){case Ye:gt(p,w,N.type,N.props,N.ref);return;case kt:throw Error(r(257));case $e:var B=N._init;N=B(N._payload),jt(p,w,N);return}if(ne(N)){ei(p,w,N);return}if(N===null||typeof N!="object"?B=null:(B=Lt&&N[Lt]||N["@@iterator"],B=typeof B=="function"?B:null),B&&(B=B.call(N))){if(N=B.next(),!N.done){var $=[];do $.push(N.value),N=B.next();while(!N.done);ei(p,w,$)}return}throw p=Object.prototype.toString.call(N),Error(r(31,p==="[object Object]"?"object with keys {"+Object.keys(N).join(", ")+"}":p))}typeof N=="string"?(B=w.blockedSegment,B.lastPushedText=ae(w.blockedSegment.chunks,N,p.responseState,B.lastPushedText)):typeof N=="number"&&(B=w.blockedSegment,B.lastPushedText=ae(w.blockedSegment.chunks,""+N,p.responseState,B.lastPushedText))}function ei(p,w,N){for(var B=N.length,$=0;$<B;$++){var U=w.treeContext;w.treeContext=fr(U,B,$);try{ti(p,w,N[$])}finally{w.treeContext=U}}}function ti(p,w,N){var B=w.blockedSegment.formatContext,$=w.legacyContext,U=w.context;try{return jt(p,w,N)}catch(be){if(bi(),typeof be=="object"&&be!==null&&typeof be.then=="function"){N=be;var ie=w.blockedSegment,me=Dr(p,ie.chunks.length,null,ie.formatContext,ie.lastPushedText,!0);ie.children.push(me),ie.lastPushedText=!1,p=ot(p,w.node,w.blockedBoundary,me,w.abortSet,w.legacyContext,w.context,w.treeContext).ping,N.then(p,p),w.blockedSegment.formatContext=B,w.legacyContext=$,w.context=U,wn(U)}else throw w.blockedSegment.formatContext=B,w.legacyContext=$,w.context=U,wn(U),be}}function Br(p){var w=p.blockedBoundary;p=p.blockedSegment,p.status=3,Xt(this,w,p)}function Ri(p,w,N){var B=p.blockedBoundary;p.blockedSegment.status=3,B===null?(w.allPendingTasks--,w.status!==2&&(w.status=2,w.destination!==null&&w.destination.push(null))):(B.pendingTasks--,B.forceClientRender||(B.forceClientRender=!0,p=N===void 0?Error(r(432)):N,B.errorDigest=w.onError(p),B.parentFlushed&&w.clientRenderedBoundaries.push(B)),B.fallbackAbortableTasks.forEach(function($){return Ri($,w,N)}),B.fallbackAbortableTasks.clear(),w.allPendingTasks--,w.allPendingTasks===0&&(B=w.onAllReady,B()))}function mr(p,w){if(w.chunks.length===0&&w.children.length===1&&w.children[0].boundary===null){var N=w.children[0];N.id=w.id,N.parentFlushed=!0,N.status===1&&mr(p,N)}else p.completedSegments.push(w)}function Xt(p,w,N){if(w===null){if(N.parentFlushed){if(p.completedRootSegment!==null)throw Error(r(389));p.completedRootSegment=N}p.pendingRootTasks--,p.pendingRootTasks===0&&(p.onShellError=hr,w=p.onShellReady,w())}else w.pendingTasks--,w.forceClientRender||(w.pendingTasks===0?(N.parentFlushed&&N.status===1&&mr(w,N),w.parentFlushed&&p.completedBoundaries.push(w),w.fallbackAbortableTasks.forEach(Br,p),w.fallbackAbortableTasks.clear()):N.parentFlushed&&N.status===1&&(mr(w,N),w.completedSegments.length===1&&w.parentFlushed&&p.partialBoundaries.push(w)));p.allPendingTasks--,p.allPendingTasks===0&&(p=p.onAllReady,p())}function Ln(p){if(p.status!==2){var w=Ft,N=ro.current;ro.current=pr;var B=Ki;Ki=p.responseState;try{var $=p.pingedTasks,U;for(U=0;U<$.length;U++){var ie=$[U],me=p,be=ie.blockedSegment;if(be.status===0){wn(ie.context);try{jt(me,ie,ie.node),me.responseState.generateStaticMarkup||be.lastPushedText&&be.textEmbedded&&be.chunks.push("<!-- -->"),ie.abortSet.delete(ie),be.status=1,Xt(me,ie.blockedBoundary,be)}catch(on){if(bi(),typeof on=="object"&&on!==null&&typeof on.then=="function"){var xe=ie.ping;on.then(xe,xe)}else{ie.abortSet.delete(ie),be.status=4;var We=ie.blockedBoundary,wt=on,Ot=Mr(me,wt);if(We===null?tt(me,wt):(We.pendingTasks--,We.forceClientRender||(We.forceClientRender=!0,We.errorDigest=Ot,We.parentFlushed&&me.clientRenderedBoundaries.push(We))),me.allPendingTasks--,me.allPendingTasks===0){var Wt=me.onAllReady;Wt()}}}finally{}}}$.splice(0,U),p.destination!==null&&Pr(p,p.destination)}catch(on){Mr(p,on),tt(p,on)}finally{Ki=B,ro.current=N,N===pr&&wn(w)}}}function Fr(p,w,N){switch(N.parentFlushed=!0,N.status){case 0:var B=N.id=p.nextSegmentId++;return N.lastPushedText=!1,N.textEmbedded=!1,p=p.responseState,w.push('<template id="'),w.push(p.placeholderPrefix),p=B.toString(16),w.push(p),w.push('"></template>');case 1:N.status=2;var $=!0;B=N.chunks;var U=0;N=N.children;for(var ie=0;ie<N.length;ie++){for($=N[ie];U<$.index;U++)w.push(B[U]);$=rn(p,w,$)}for(;U<B.length-1;U++)w.push(B[U]);return U<B.length&&($=w.push(B[U])),$;default:throw Error(r(390))}}function rn(p,w,N){var B=N.boundary;if(B===null)return Fr(p,w,N);if(B.parentFlushed=!0,B.forceClientRender)return p.responseState.generateStaticMarkup||(B=B.errorDigest,w.push("<!--$!-->"),w.push("<template"),B&&(w.push(' data-dgst="'),B=F(B),w.push(B),w.push('"')),w.push("></template>")),Fr(p,w,N),p=p.responseState.generateStaticMarkup?!0:w.push("<!--/$-->"),p;if(0<B.pendingTasks){B.rootSegmentID=p.nextSegmentId++,0<B.completedSegments.length&&p.partialBoundaries.push(B);var $=p.responseState,U=$.nextSuspenseID++;return $=$.boundaryPrefix+U.toString(16),B=B.id=$,De(w,p.responseState,B),Fr(p,w,N),w.push("<!--/$-->")}if(B.byteSize>p.progressiveChunkSize)return B.rootSegmentID=p.nextSegmentId++,p.completedBoundaries.push(B),De(w,p.responseState,B.id),Fr(p,w,N),w.push("<!--/$-->");if(p.responseState.generateStaticMarkup||w.push("<!--$-->"),N=B.completedSegments,N.length!==1)throw Error(r(391));return rn(p,w,N[0]),p=p.responseState.generateStaticMarkup?!0:w.push("<!--/$-->"),p}function _i(p,w,N){return je(w,p.responseState,N.formatContext,N.id),rn(p,w,N),Ce(w,N.formatContext)}function io(p,w,N){for(var B=N.completedSegments,$=0;$<B.length;$++)oo(p,w,N,B[$]);if(B.length=0,p=p.responseState,B=N.id,N=N.rootSegmentID,w.push(p.startInlineScript),p.sentCompleteBoundaryFunction?w.push('$RC("'):(p.sentCompleteBoundaryFunction=!0,w.push('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("')),B===null)throw Error(r(395));return N=N.toString(16),w.push(B),w.push('","'),w.push(p.segmentPrefix),w.push(N),w.push('")<\/script>')}function oo(p,w,N,B){if(B.status===2)return!0;var $=B.id;if($===-1){if((B.id=N.rootSegmentID)===-1)throw Error(r(392));return _i(p,w,B)}return _i(p,w,B),p=p.responseState,w.push(p.startInlineScript),p.sentCompleteSegmentFunction?w.push('$RS("'):(p.sentCompleteSegmentFunction=!0,w.push('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("')),w.push(p.segmentPrefix),$=$.toString(16),w.push($),w.push('","'),w.push(p.placeholderPrefix),w.push($),w.push('")<\/script>')}function Pr(p,w){try{var N=p.completedRootSegment;if(N!==null&&p.pendingRootTasks===0){rn(p,w,N),p.completedRootSegment=null;var B=p.responseState.bootstrapChunks;for(N=0;N<B.length-1;N++)w.push(B[N]);N<B.length&&w.push(B[N])}var $=p.clientRenderedBoundaries,U;for(U=0;U<$.length;U++){var ie=$[U];B=w;var me=p.responseState,be=ie.id,xe=ie.errorDigest,We=ie.errorMessage,wt=ie.errorComponentStack;if(B.push(me.startInlineScript),me.sentClientRenderFunction?B.push('$RX("'):(me.sentClientRenderFunction=!0,B.push('function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX("')),be===null)throw Error(r(395));if(B.push(be),B.push('"'),xe||We||wt){B.push(",");var Ot=ue(xe||"");B.push(Ot)}if(We||wt){B.push(",");var Wt=ue(We||"");B.push(Wt)}if(wt){B.push(",");var on=ue(wt);B.push(on)}if(!B.push(")<\/script>")){p.destination=null,U++,$.splice(0,U);return}}$.splice(0,U);var vr=p.completedBoundaries;for(U=0;U<vr.length;U++)if(!io(p,w,vr[U])){p.destination=null,U++,vr.splice(0,U);return}vr.splice(0,U);var mn=p.partialBoundaries;for(U=0;U<mn.length;U++){var zn=mn[U];e:{$=p,ie=w;var gn=zn.completedSegments;for(me=0;me<gn.length;me++)if(!oo($,ie,zn,gn[me])){me++,gn.splice(0,me);var tr=!1;break e}gn.splice(0,me),tr=!0}if(!tr){p.destination=null,U++,mn.splice(0,U);return}}mn.splice(0,U);var Cn=p.completedBoundaries;for(U=0;U<Cn.length;U++)if(!io(p,w,Cn[U])){p.destination=null,U++,Cn.splice(0,U);return}Cn.splice(0,U)}finally{p.allPendingTasks===0&&p.pingedTasks.length===0&&p.clientRenderedBoundaries.length===0&&p.completedBoundaries.length===0&&w.push(null)}}function gr(p,w){try{var N=p.abortableTasks;N.forEach(function(B){return Ri(B,p,w)}),N.clear(),p.destination!==null&&Pr(p,p.destination)}catch(B){Mr(p,B),tt(p,B)}}function Kr(){}function Rr(p,w,N,B){var $=!1,U=null,ie="",me={push:function(xe){return xe!==null&&(ie+=xe),!0},destroy:function(xe){$=!0,U=xe}},be=!1;if(p=hn(p,fe(N,w?w.identifierPrefix:void 0),{insertionMode:1,selectedValue:null},1/0,Kr,void 0,function(){be=!0},void 0,void 0),Ln(p),gr(p,B),p.status===1)p.status=2,me.destroy(p.fatalError);else if(p.status!==2&&p.destination===null){p.destination=me;try{Pr(p,me)}catch(xe){Mr(p,xe),tt(p,xe)}}if($)throw U;if(!be)throw Error(r(426));return ie}return sa.renderToNodeStream=function(){throw Error(r(207))},sa.renderToStaticMarkup=function(p,w){return Rr(p,w,!0,'The server used "renderToStaticMarkup" which does not support Suspense. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')},sa.renderToStaticNodeStream=function(){throw Error(r(208))},sa.renderToString=function(p,w){return Rr(p,w,!1,'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')},sa.version="18.2.0",sa}var Xu={};/**
65
+ `),U;case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":p.push(he(S));for(var nn in O)if(i.call(O,nn)&&(U=O[nn],U!=null))switch(nn){case"children":case"dangerouslySetInnerHTML":throw Error(r(399,S));default:Se(p,B,nn,U)}return p.push("/>"),null;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 ve(p,O,S,B);case"html":return X.insertionMode===0&&p.push("<!DOCTYPE html>"),ve(p,O,S,B);default:if(S.indexOf("-")===-1&&typeof O.is!="string")return ve(p,O,S,B);p.push(he(S)),ie=U=null;for(Ee in O)if(i.call(O,Ee)&&(me=O[Ee],me!=null))switch(Ee){case"children":U=me;break;case"dangerouslySetInnerHTML":ie=me;break;case"style":le(p,B,me);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:g(Ee)&&typeof me!="function"&&typeof me!="symbol"&&p.push(" ",Ee,'="',F(me),'"')}return p.push(">"),_e(p,ie,U),U}}function De(p,S,O){if(p.push('<!--$?--><template id="'),O===null)throw Error(r(395));return p.push(O),p.push('"></template>')}function je(p,S,O,B){switch(O.insertionMode){case 0:case 1:return p.push('<div hidden id="'),p.push(S.segmentPrefix),S=B.toString(16),p.push(S),p.push('">');case 2:return p.push('<svg aria-hidden="true" style="display:none" id="'),p.push(S.segmentPrefix),S=B.toString(16),p.push(S),p.push('">');case 3:return p.push('<math aria-hidden="true" style="display:none" id="'),p.push(S.segmentPrefix),S=B.toString(16),p.push(S),p.push('">');case 4:return p.push('<table hidden id="'),p.push(S.segmentPrefix),S=B.toString(16),p.push(S),p.push('">');case 5:return p.push('<table hidden><tbody id="'),p.push(S.segmentPrefix),S=B.toString(16),p.push(S),p.push('">');case 6:return p.push('<table hidden><tr id="'),p.push(S.segmentPrefix),S=B.toString(16),p.push(S),p.push('">');case 7:return p.push('<table hidden><colgroup id="'),p.push(S.segmentPrefix),S=B.toString(16),p.push(S),p.push('">');default:throw Error(r(397))}}function Ce(p,S){switch(S.insertionMode){case 0:case 1:return p.push("</div>");case 2:return p.push("</svg>");case 3:return p.push("</math>");case 4:return p.push("</table>");case 5:return p.push("</tbody></table>");case 6:return p.push("</tr></table>");case 7:return p.push("</colgroup></table>");default:throw Error(r(397))}}var He=/[<\u2028\u2029]/g;function ue(p){return JSON.stringify(p).replace(He,function(S){switch(S){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}function fe(p,S){return S=S===void 0?"":S,{bootstrapChunks:[],startInlineScript:"<script>",placeholderPrefix:S+"P:",segmentPrefix:S+"S:",boundaryPrefix:S+"B:",idPrefix:S,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1,generateStaticMarkup:p}}function ae(p,S,O,B){return O.generateStaticMarkup?(p.push(F(S)),!1):(S===""?p=B:(B&&p.push("<!-- -->"),p.push(F(S)),p=!0),p)}var Me=Object.assign,Je=Symbol.for("react.element"),Et=Symbol.for("react.portal"),Ct=Symbol.for("react.fragment"),qe=Symbol.for("react.strict_mode"),Te=Symbol.for("react.profiler"),dt=Symbol.for("react.provider"),Rt=Symbol.for("react.context"),It=Symbol.for("react.forward_ref"),Ft=Symbol.for("react.suspense"),kt=Symbol.for("react.suspense_list"),en=Symbol.for("react.memo"),Xe=Symbol.for("react.lazy"),st=Symbol.for("react.scope"),ut=Symbol.for("react.debug_trace_mode"),Pt=Symbol.for("react.legacy_hidden"),hn=Symbol.for("react.default_value"),Bt=Symbol.iterator;function Nt(p){if(p==null)return null;if(typeof p=="function")return p.displayName||p.name||null;if(typeof p=="string")return p;switch(p){case Ct:return"Fragment";case Et:return"Portal";case Te:return"Profiler";case qe:return"StrictMode";case Ft:return"Suspense";case kt:return"SuspenseList"}if(typeof p=="object")switch(p.$$typeof){case Rt:return(p.displayName||"Context")+".Consumer";case dt:return(p._context.displayName||"Context")+".Provider";case It:var S=p.render;return p=p.displayName,p||(p=S.displayName||S.name||"",p=p!==""?"ForwardRef("+p+")":"ForwardRef"),p;case en:return S=p.displayName||null,S!==null?S:Nt(p.type)||"Memo";case Xe:S=p._payload,p=p._init;try{return Nt(p(S))}catch{}}return null}var rt={};function pt(p,S){if(p=p.contextTypes,!p)return rt;var O={},B;for(B in p)O[B]=S[B];return O}var Kt=null;function Fe(p,S){if(p!==S){p.context._currentValue2=p.parentValue,p=p.parent;var O=S.parent;if(p===null){if(O!==null)throw Error(r(401))}else{if(O===null)throw Error(r(401));Fe(p,O)}S.context._currentValue2=S.value}}function nt(p){p.context._currentValue2=p.parentValue,p=p.parent,p!==null&&nt(p)}function Ye(p){var S=p.parent;S!==null&&Ye(S),p.context._currentValue2=p.value}function ht(p,S){if(p.context._currentValue2=p.parentValue,p=p.parent,p===null)throw Error(r(402));p.depth===S.depth?Fe(p,S):ht(p,S)}function Ge(p,S){var O=S.parent;if(O===null)throw Error(r(402));p.depth===O.depth?Fe(p,O):Ge(p,O),S.context._currentValue2=S.value}function Sn(p){var S=Kt;S!==p&&(S===null?Ye(p):p===null?nt(S):S.depth===p.depth?Fe(S,p):S.depth>p.depth?ht(S,p):Ge(S,p),Kt=p)}var ct={isMounted:function(){return!1},enqueueSetState:function(p,S){p=p._reactInternals,p.queue!==null&&p.queue.push(S)},enqueueReplaceState:function(p,S){p=p._reactInternals,p.replace=!0,p.queue=[S]},enqueueForceUpdate:function(){}};function xn(p,S,O,B){var X=p.state!==void 0?p.state:null;p.updater=ct,p.props=O,p.state=X;var U={queue:[],replace:!1};p._reactInternals=U;var ie=S.contextType;if(p.context=typeof ie=="object"&&ie!==null?ie._currentValue2:B,ie=S.getDerivedStateFromProps,typeof ie=="function"&&(ie=ie(O,X),X=ie==null?X:Me({},X,ie),p.state=X),typeof S.getDerivedStateFromProps!="function"&&typeof p.getSnapshotBeforeUpdate!="function"&&(typeof p.UNSAFE_componentWillMount=="function"||typeof p.componentWillMount=="function"))if(S=p.state,typeof p.componentWillMount=="function"&&p.componentWillMount(),typeof p.UNSAFE_componentWillMount=="function"&&p.UNSAFE_componentWillMount(),S!==p.state&&ct.enqueueReplaceState(p,p.state,null),U.queue!==null&&0<U.queue.length)if(S=U.queue,ie=U.replace,U.queue=null,U.replace=!1,ie&&S.length===1)p.state=S[0];else{for(U=ie?S[0]:p.state,X=!0,ie=ie?1:0;ie<S.length;ie++){var me=S[ie];me=typeof me=="function"?me.call(p,U,O,B):me,me!=null&&(X?(X=!1,U=Me({},U,me)):Me(U,me))}p.state=U}else U.queue=null}var tn={id:1,overflow:""};function pr(p,S,O){var B=p.id;p=p.overflow;var X=32-Vn(B)-1;B&=~(1<<X),O+=1;var U=32-Vn(S)+X;if(30<U){var ie=X-X%5;return U=(B&(1<<ie)-1).toString(32),B>>=ie,X-=ie,{id:1<<32-Vn(S)+X|O<<X|B,overflow:U+p}}return{id:1<<U|O<<X|B,overflow:p}}var Vn=Math.clz32?Math.clz32:_i,ro=Math.log,jt=Math.LN2;function _i(p){return p>>>=0,p===0?32:31-(ro(p)/jt|0)|0}function Jt(p,S){return p===S&&(p!==0||1/p===1/S)||p!==p&&S!==S}var wi=typeof Object.is=="function"?Object.is:Jt,fn=null,qt=null,zn=null,it=null,Qn=!1,Xn=!1,er=0,En=null,Mr=0;function Tt(){if(fn===null)throw Error(r(321));return fn}function io(){if(0<Mr)throw Error(r(312));return{memoizedState:null,queue:null,next:null}}function tr(){return it===null?zn===null?(Qn=!1,zn=it=io()):(Qn=!0,it=zn):it.next===null?(Qn=!1,it=it.next=io()):(Qn=!0,it=it.next),it}function Si(){qt=fn=null,Xn=!1,zn=null,Mr=0,it=En=null}function Lr(p,S){return typeof S=="function"?S(p):S}function oo(p,S,O){if(fn=Tt(),it=tr(),Qn){var B=it.queue;if(S=B.dispatch,En!==null&&(O=En.get(B),O!==void 0)){En.delete(B),B=it.memoizedState;do B=p(B,O.action),O=O.next;while(O!==null);return it.memoizedState=B,[B,S]}return[it.memoizedState,S]}return p=p===Lr?typeof S=="function"?S():S:O!==void 0?O(S):S,it.memoizedState=p,p=it.queue={last:null,dispatch:null},p=p.dispatch=ei.bind(null,fn,p),[it.memoizedState,p]}function Gr(p,S){if(fn=Tt(),it=tr(),S=S===void 0?null:S,it!==null){var O=it.memoizedState;if(O!==null&&S!==null){var B=O[1];e:if(B===null)B=!1;else{for(var X=0;X<B.length&&X<S.length;X++)if(!wi(S[X],B[X])){B=!1;break e}B=!0}if(B)return O[0]}}return p=p(),it.memoizedState=[p,S],p}function ei(p,S,O){if(25<=Mr)throw Error(r(301));if(p===fn)if(Xn=!0,p={action:O,next:null},En===null&&(En=new Map),O=En.get(S),O===void 0)En.set(S,p);else{for(S=O;S.next!==null;)S=S.next;S.next=p}}function ti(){throw Error(r(394))}function hr(){}var mr={readContext:function(p){return p._currentValue2},useContext:function(p){return Tt(),p._currentValue2},useMemo:Gr,useReducer:oo,useRef:function(p){fn=Tt(),it=tr();var S=it.memoizedState;return S===null?(p={current:p},it.memoizedState=p):S},useState:function(p){return oo(Lr,p)},useInsertionEffect:hr,useLayoutEffect:function(){},useCallback:function(p,S){return Gr(function(){return p},S)},useImperativeHandle:hr,useEffect:hr,useDebugValue:hr,useDeferredValue:function(p){return Tt(),p},useTransition:function(){return Tt(),[!1,ti]},useId:function(){var p=qt.treeContext,S=p.overflow;p=p.id,p=(p&~(1<<32-Vn(p)-1)).toString(32)+S;var O=ji;if(O===null)throw Error(r(404));return S=er++,p=":"+O.idPrefix+"R"+p,0<S&&(p+="H"+S.toString(32)),p+":"},useMutableSource:function(p,S){return Tt(),S(p._source)},useSyncExternalStore:function(p,S,O){if(O===void 0)throw Error(r(407));return O()}},ji=null,ao=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function nr(p){return console.error(p),null}function gr(){}function mn(p,S,O,B,X,U,ie,me,be){var Ee=[],We=new Set;return S={destination:null,responseState:S,progressiveChunkSize:B===void 0?12800:B,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:We,pingedTasks:Ee,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:X===void 0?nr:X,onAllReady:U===void 0?gr:U,onShellReady:ie===void 0?gr:ie,onShellError:me===void 0?gr:me,onFatalError:be===void 0?gr:be},O=Cr(S,0,null,O,!1,!1),O.parentFlushed=!0,p=at(S,p,null,O,We,rt,null,tn),Ee.push(p),S}function at(p,S,O,B,X,U,ie,me){p.allPendingTasks++,O===null?p.pendingRootTasks++:O.pendingTasks++;var be={node:S,ping:function(){var Ee=p.pingedTasks;Ee.push(be),Ee.length===1&&Bn(p)},blockedBoundary:O,blockedSegment:B,abortSet:X,legacyContext:U,context:ie,treeContext:me};return X.add(be),be}function Cr(p,S,O,B,X,U){return{status:0,id:-1,index:S,parentFlushed:!1,chunks:[],children:[],formatContext:B,boundary:O,lastPushedText:X,textEmbedded:U}}function Br(p,S){if(p=p.onError(S),p!=null&&typeof p!="string")throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof p+'" instead');return p}function tt(p,S){var O=p.onShellError;O(S),O=p.onFatalError,O(S),p.destination!==null?(p.status=2,p.destination.destroy(S)):(p.status=1,p.fatalError=S)}function Fr(p,S,O,B,X){for(fn={},qt=S,er=0,p=O(B,X);Xn;)Xn=!1,er=0,Mr+=1,it=null,p=O(B,X);return Si(),p}function Pr(p,S,O,B){var X=O.render(),U=B.childContextTypes;if(U!=null){var ie=S.legacyContext;if(typeof O.getChildContext!="function")B=ie;else{O=O.getChildContext();for(var me in O)if(!(me in U))throw Error(r(108,Nt(B)||"Unknown",me));B=Me({},ie,O)}S.legacyContext=B,zt(p,S,X),S.legacyContext=ie}else zt(p,S,X)}function ni(p,S){if(p&&p.defaultProps){S=Me({},S),p=p.defaultProps;for(var O in p)S[O]===void 0&&(S[O]=p[O]);return S}return S}function vt(p,S,O,B,X){if(typeof O=="function")if(O.prototype&&O.prototype.isReactComponent){X=pt(O,S.legacyContext);var U=O.contextType;U=new O(B,typeof U=="object"&&U!==null?U._currentValue2:X),xn(U,O,B,X),Pr(p,S,U,O)}else{U=pt(O,S.legacyContext),X=Fr(p,S,O,B,U);var ie=er!==0;if(typeof X=="object"&&X!==null&&typeof X.render=="function"&&X.$$typeof===void 0)xn(X,O,B,U),Pr(p,S,X,O);else if(ie){B=S.treeContext,S.treeContext=pr(B,1,0);try{zt(p,S,X)}finally{S.treeContext=B}}else zt(p,S,X)}else if(typeof O=="string"){switch(X=S.blockedSegment,U=ge(X.chunks,O,B,p.responseState,X.formatContext),X.lastPushedText=!1,ie=X.formatContext,X.formatContext=W(ie,O,B),ii(p,S,U),X.formatContext=ie,O){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:X.chunks.push("</",O,">")}X.lastPushedText=!1}else{switch(O){case Pt:case ut:case qe:case Te:case Ct:zt(p,S,B.children);return;case kt:zt(p,S,B.children);return;case st:throw Error(r(343));case Ft:e:{O=S.blockedBoundary,X=S.blockedSegment,U=B.fallback,B=B.children,ie=new Set;var me={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:ie,errorDigest:null},be=Cr(p,X.chunks.length,me,X.formatContext,!1,!1);X.children.push(be),X.lastPushedText=!1;var Ee=Cr(p,0,null,X.formatContext,!1,!1);Ee.parentFlushed=!0,S.blockedBoundary=me,S.blockedSegment=Ee;try{if(ii(p,S,B),p.responseState.generateStaticMarkup||Ee.lastPushedText&&Ee.textEmbedded&&Ee.chunks.push("<!-- -->"),Ee.status=1,vr(me,Ee),me.pendingTasks===0)break e}catch(We){Ee.status=4,me.forceClientRender=!0,me.errorDigest=Br(p,We)}finally{S.blockedBoundary=O,S.blockedSegment=X}S=at(p,U,O,be,ie,S.legacyContext,S.context,S.treeContext),p.pingedTasks.push(S)}return}if(typeof O=="object"&&O!==null)switch(O.$$typeof){case It:if(B=Fr(p,S,O.render,B,X),er!==0){O=S.treeContext,S.treeContext=pr(O,1,0);try{zt(p,S,B)}finally{S.treeContext=O}}else zt(p,S,B);return;case en:O=O.type,B=ni(O,B),vt(p,S,O,B,X);return;case dt:if(X=B.children,O=O._context,B=B.value,U=O._currentValue2,O._currentValue2=B,ie=Kt,Kt=B={parent:ie,depth:ie===null?0:ie.depth+1,context:O,parentValue:U,value:B},S.context=B,zt(p,S,X),p=Kt,p===null)throw Error(r(403));B=p.parentValue,p.context._currentValue2=B===hn?p.context._defaultValue:B,p=Kt=p.parent,S.context=p;return;case Rt:B=B.children,B=B(O._currentValue2),zt(p,S,B);return;case Xe:X=O._init,O=X(O._payload),B=ni(O,B),vt(p,S,O,B,void 0);return}throw Error(r(130,O==null?O:typeof O,""))}}function zt(p,S,O){if(S.node=O,typeof O=="object"&&O!==null){switch(O.$$typeof){case Je:vt(p,S,O.type,O.props,O.ref);return;case Et:throw Error(r(257));case Xe:var B=O._init;O=B(O._payload),zt(p,S,O);return}if(G(O)){ri(p,S,O);return}if(O===null||typeof O!="object"?B=null:(B=Bt&&O[Bt]||O["@@iterator"],B=typeof B=="function"?B:null),B&&(B=B.call(O))){if(O=B.next(),!O.done){var X=[];do X.push(O.value),O=B.next();while(!O.done);ri(p,S,X)}return}throw p=Object.prototype.toString.call(O),Error(r(31,p==="[object Object]"?"object with keys {"+Object.keys(O).join(", ")+"}":p))}typeof O=="string"?(B=S.blockedSegment,B.lastPushedText=ae(S.blockedSegment.chunks,O,p.responseState,B.lastPushedText)):typeof O=="number"&&(B=S.blockedSegment,B.lastPushedText=ae(S.blockedSegment.chunks,""+O,p.responseState,B.lastPushedText))}function ri(p,S,O){for(var B=O.length,X=0;X<B;X++){var U=S.treeContext;S.treeContext=pr(U,B,X);try{ii(p,S,O[X])}finally{S.treeContext=U}}}function ii(p,S,O){var B=S.blockedSegment.formatContext,X=S.legacyContext,U=S.context;try{return zt(p,S,O)}catch(be){if(Si(),typeof be=="object"&&be!==null&&typeof be.then=="function"){O=be;var ie=S.blockedSegment,me=Cr(p,ie.chunks.length,null,ie.formatContext,ie.lastPushedText,!0);ie.children.push(me),ie.lastPushedText=!1,p=at(p,S.node,S.blockedBoundary,me,S.abortSet,S.legacyContext,S.context,S.treeContext).ping,O.then(p,p),S.blockedSegment.formatContext=B,S.legacyContext=X,S.context=U,Sn(U)}else throw S.blockedSegment.formatContext=B,S.legacyContext=X,S.context=U,Sn(U),be}}function Kr(p){var S=p.blockedBoundary;p=p.blockedSegment,p.status=3,Wt(this,S,p)}function Ti(p,S,O){var B=p.blockedBoundary;p.blockedSegment.status=3,B===null?(S.allPendingTasks--,S.status!==2&&(S.status=2,S.destination!==null&&S.destination.push(null))):(B.pendingTasks--,B.forceClientRender||(B.forceClientRender=!0,p=O===void 0?Error(r(432)):O,B.errorDigest=S.onError(p),B.parentFlushed&&S.clientRenderedBoundaries.push(B)),B.fallbackAbortableTasks.forEach(function(X){return Ti(X,S,O)}),B.fallbackAbortableTasks.clear(),S.allPendingTasks--,S.allPendingTasks===0&&(B=S.onAllReady,B()))}function vr(p,S){if(S.chunks.length===0&&S.children.length===1&&S.children[0].boundary===null){var O=S.children[0];O.id=S.id,O.parentFlushed=!0,O.status===1&&vr(p,O)}else p.completedSegments.push(S)}function Wt(p,S,O){if(S===null){if(O.parentFlushed){if(p.completedRootSegment!==null)throw Error(r(389));p.completedRootSegment=O}p.pendingRootTasks--,p.pendingRootTasks===0&&(p.onShellError=gr,S=p.onShellReady,S())}else S.pendingTasks--,S.forceClientRender||(S.pendingTasks===0?(O.parentFlushed&&O.status===1&&vr(S,O),S.parentFlushed&&p.completedBoundaries.push(S),S.fallbackAbortableTasks.forEach(Kr,p),S.fallbackAbortableTasks.clear()):O.parentFlushed&&O.status===1&&(vr(S,O),S.completedSegments.length===1&&S.parentFlushed&&p.partialBoundaries.push(S)));p.allPendingTasks--,p.allPendingTasks===0&&(p=p.onAllReady,p())}function Bn(p){if(p.status!==2){var S=Kt,O=ao.current;ao.current=mr;var B=ji;ji=p.responseState;try{var X=p.pingedTasks,U;for(U=0;U<X.length;U++){var ie=X[U],me=p,be=ie.blockedSegment;if(be.status===0){Sn(ie.context);try{zt(me,ie,ie.node),me.responseState.generateStaticMarkup||be.lastPushedText&&be.textEmbedded&&be.chunks.push("<!-- -->"),ie.abortSet.delete(ie),be.status=1,Wt(me,ie.blockedBoundary,be)}catch(sn){if(Si(),typeof sn=="object"&&sn!==null&&typeof sn.then=="function"){var Ee=ie.ping;sn.then(Ee,Ee)}else{ie.abortSet.delete(ie),be.status=4;var We=ie.blockedBoundary,St=sn,Ot=Br(me,St);if(We===null?tt(me,St):(We.pendingTasks--,We.forceClientRender||(We.forceClientRender=!0,We.errorDigest=Ot,We.parentFlushed&&me.clientRenderedBoundaries.push(We))),me.allPendingTasks--,me.allPendingTasks===0){var nn=me.onAllReady;nn()}}}finally{}}}X.splice(0,U),p.destination!==null&&Ir(p,p.destination)}catch(sn){Br(p,sn),tt(p,sn)}finally{ji=B,ao.current=O,O===mr&&Sn(S)}}}function Rr(p,S,O){switch(O.parentFlushed=!0,O.status){case 0:var B=O.id=p.nextSegmentId++;return O.lastPushedText=!1,O.textEmbedded=!1,p=p.responseState,S.push('<template id="'),S.push(p.placeholderPrefix),p=B.toString(16),S.push(p),S.push('"></template>');case 1:O.status=2;var X=!0;B=O.chunks;var U=0;O=O.children;for(var ie=0;ie<O.length;ie++){for(X=O[ie];U<X.index;U++)S.push(B[U]);X=un(p,S,X)}for(;U<B.length-1;U++)S.push(B[U]);return U<B.length&&(X=S.push(B[U])),X;default:throw Error(r(390))}}function un(p,S,O){var B=O.boundary;if(B===null)return Rr(p,S,O);if(B.parentFlushed=!0,B.forceClientRender)return p.responseState.generateStaticMarkup||(B=B.errorDigest,S.push("<!--$!-->"),S.push("<template"),B&&(S.push(' data-dgst="'),B=F(B),S.push(B),S.push('"')),S.push("></template>")),Rr(p,S,O),p=p.responseState.generateStaticMarkup?!0:S.push("<!--/$-->"),p;if(0<B.pendingTasks){B.rootSegmentID=p.nextSegmentId++,0<B.completedSegments.length&&p.partialBoundaries.push(B);var X=p.responseState,U=X.nextSuspenseID++;return X=X.boundaryPrefix+U.toString(16),B=B.id=X,De(S,p.responseState,B),Rr(p,S,O),S.push("<!--/$-->")}if(B.byteSize>p.progressiveChunkSize)return B.rootSegmentID=p.nextSegmentId++,p.completedBoundaries.push(B),De(S,p.responseState,B.id),Rr(p,S,O),S.push("<!--/$-->");if(p.responseState.generateStaticMarkup||S.push("<!--$-->"),O=B.completedSegments,O.length!==1)throw Error(r(391));return un(p,S,O[0]),p=p.responseState.generateStaticMarkup?!0:S.push("<!--/$-->"),p}function xi(p,S,O){return je(S,p.responseState,O.formatContext,O.id),un(p,S,O),Ce(S,O.formatContext)}function lo(p,S,O){for(var B=O.completedSegments,X=0;X<B.length;X++)uo(p,S,O,B[X]);if(B.length=0,p=p.responseState,B=O.id,O=O.rootSegmentID,S.push(p.startInlineScript),p.sentCompleteBoundaryFunction?S.push('$RC("'):(p.sentCompleteBoundaryFunction=!0,S.push('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("')),B===null)throw Error(r(395));return O=O.toString(16),S.push(B),S.push('","'),S.push(p.segmentPrefix),S.push(O),S.push('")<\/script>')}function uo(p,S,O,B){if(B.status===2)return!0;var X=B.id;if(X===-1){if((B.id=O.rootSegmentID)===-1)throw Error(r(392));return xi(p,S,B)}return xi(p,S,B),p=p.responseState,S.push(p.startInlineScript),p.sentCompleteSegmentFunction?S.push('$RS("'):(p.sentCompleteSegmentFunction=!0,S.push('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("')),S.push(p.segmentPrefix),X=X.toString(16),S.push(X),S.push('","'),S.push(p.placeholderPrefix),S.push(X),S.push('")<\/script>')}function Ir(p,S){try{var O=p.completedRootSegment;if(O!==null&&p.pendingRootTasks===0){un(p,S,O),p.completedRootSegment=null;var B=p.responseState.bootstrapChunks;for(O=0;O<B.length-1;O++)S.push(B[O]);O<B.length&&S.push(B[O])}var X=p.clientRenderedBoundaries,U;for(U=0;U<X.length;U++){var ie=X[U];B=S;var me=p.responseState,be=ie.id,Ee=ie.errorDigest,We=ie.errorMessage,St=ie.errorComponentStack;if(B.push(me.startInlineScript),me.sentClientRenderFunction?B.push('$RX("'):(me.sentClientRenderFunction=!0,B.push('function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX("')),be===null)throw Error(r(395));if(B.push(be),B.push('"'),Ee||We||St){B.push(",");var Ot=ue(Ee||"");B.push(Ot)}if(We||St){B.push(",");var nn=ue(We||"");B.push(nn)}if(St){B.push(",");var sn=ue(St);B.push(sn)}if(!B.push(")<\/script>")){p.destination=null,U++,X.splice(0,U);return}}X.splice(0,U);var br=p.completedBoundaries;for(U=0;U<br.length;U++)if(!lo(p,S,br[U])){p.destination=null,U++,br.splice(0,U);return}br.splice(0,U);var gn=p.partialBoundaries;for(U=0;U<gn.length;U++){var Hn=gn[U];e:{X=p,ie=S;var vn=Hn.completedSegments;for(me=0;me<vn.length;me++)if(!uo(X,ie,Hn,vn[me])){me++,vn.splice(0,me);var rr=!1;break e}vn.splice(0,me),rr=!0}if(!rr){p.destination=null,U++,gn.splice(0,U);return}}gn.splice(0,U);var Fn=p.completedBoundaries;for(U=0;U<Fn.length;U++)if(!lo(p,S,Fn[U])){p.destination=null,U++,Fn.splice(0,U);return}Fn.splice(0,U)}finally{p.allPendingTasks===0&&p.pingedTasks.length===0&&p.clientRenderedBoundaries.length===0&&p.completedBoundaries.length===0&&S.push(null)}}function yr(p,S){try{var O=p.abortableTasks;O.forEach(function(B){return Ti(B,p,S)}),O.clear(),p.destination!==null&&Ir(p,p.destination)}catch(B){Br(p,B),tt(p,B)}}function jr(){}function Tr(p,S,O,B){var X=!1,U=null,ie="",me={push:function(Ee){return Ee!==null&&(ie+=Ee),!0},destroy:function(Ee){X=!0,U=Ee}},be=!1;if(p=mn(p,fe(O,S?S.identifierPrefix:void 0),{insertionMode:1,selectedValue:null},1/0,jr,void 0,function(){be=!0},void 0,void 0),Bn(p),yr(p,B),p.status===1)p.status=2,me.destroy(p.fatalError);else if(p.status!==2&&p.destination===null){p.destination=me;try{Ir(p,me)}catch(Ee){Br(p,Ee),tt(p,Ee)}}if(X)throw U;if(!be)throw Error(r(426));return ie}return ha.renderToNodeStream=function(){throw Error(r(207))},ha.renderToStaticMarkup=function(p,S){return Tr(p,S,!0,'The server used "renderToStaticMarkup" which does not support Suspense. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')},ha.renderToStaticNodeStream=function(){throw Error(r(208))},ha.renderToString=function(p,S){return Tr(p,S,!1,'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')},ha.version="18.2.0",ha}var ns={};/**
66
66
  * @license React
67
67
  * react-dom-server.browser.production.min.js
68
68
  *
@@ -70,9 +70,9 @@ Error generating stack: `+m.message+`
70
70
  *
71
71
  * This source code is licensed under the MIT license found in the
72
72
  * LICENSE file in the root directory of this source tree.
73
- */var dv;function bB(){if(dv)return Xu;dv=1;var t=q;function r(h){for(var _="https://reactjs.org/docs/error-decoder.html?invariant="+h,O=1;O<arguments.length;O++)_+="&args[]="+encodeURIComponent(arguments[O]);return"Minified React error #"+h+"; visit "+_+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var i=null,a=0;function u(h,_){if(_.length!==0)if(512<_.length)0<a&&(h.enqueue(new Uint8Array(i.buffer,0,a)),i=new Uint8Array(512),a=0),h.enqueue(_);else{var O=i.length-a;O<_.length&&(O===0?h.enqueue(i):(i.set(_.subarray(0,O),a),h.enqueue(i),_=_.subarray(O)),i=new Uint8Array(512),a=0),i.set(_,a),a+=_.length}}function f(h,_){return u(h,_),!0}function g(h){i&&0<a&&(h.enqueue(new Uint8Array(i.buffer,0,a)),i=null,a=0)}var y=new TextEncoder;function b(h){return y.encode(h)}function k(h){return y.encode(h)}function D(h,_){typeof h.error=="function"?h.error(_):h.close()}var P=Object.prototype.hasOwnProperty,L=/^[: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]*$/,T={},F={};function R(h){return P.call(F,h)?!0:P.call(T,h)?!1:L.test(h)?F[h]=!0:(T[h]=!0,!1)}function j(h,_,O,C,X,V,te){this.acceptsBooleans=_===2||_===3||_===4,this.attributeName=C,this.attributeNamespace=X,this.mustUseProperty=O,this.propertyName=h,this.type=_,this.sanitizeURL=V,this.removeEmptyString=te}var ne={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(h){ne[h]=new j(h,0,!1,h,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(h){var _=h[0];ne[_]=new j(_,1,!1,h[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(h){ne[h]=new j(h,2,!1,h.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(h){ne[h]=new j(h,2,!1,h,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(h){ne[h]=new j(h,3,!1,h.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(h){ne[h]=new j(h,3,!0,h,null,!1,!1)}),["capture","download"].forEach(function(h){ne[h]=new j(h,4,!1,h,null,!1,!1)}),["cols","rows","size","span"].forEach(function(h){ne[h]=new j(h,6,!1,h,null,!1,!1)}),["rowSpan","start"].forEach(function(h){ne[h]=new j(h,5,!1,h.toLowerCase(),null,!1,!1)});var Y=/[\-:]([a-z])/g;function W(h){return h[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(h){var _=h.replace(Y,W);ne[_]=new j(_,1,!1,h,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(h){var _=h.replace(Y,W);ne[_]=new j(_,1,!1,h,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(h){var _=h.replace(Y,W);ne[_]=new j(_,1,!1,h,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(h){ne[h]=new j(h,1,!1,h.toLowerCase(),null,!1,!1)}),ne.xlinkHref=new j("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(h){ne[h]=new j(h,1,!1,h.toLowerCase(),null,!0,!0)});var J={animationIterationCount:!0,aspectRatio:!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},le=["Webkit","ms","Moz","O"];Object.keys(J).forEach(function(h){le.forEach(function(_){_=_+h.charAt(0).toUpperCase()+h.substring(1),J[_]=J[h]})});var Se=/["'&<>]/;function _e(h){if(typeof h=="boolean"||typeof h=="number")return""+h;h=""+h;var _=Se.exec(h);if(_){var O="",C,X=0;for(C=_.index;C<h.length;C++){switch(h.charCodeAt(C)){case 34:_="&quot;";break;case 38:_="&amp;";break;case 39:_="&#x27;";break;case 60:_="&lt;";break;case 62:_="&gt;";break;default:continue}X!==C&&(O+=h.substring(X,C)),X=C+1,O+=_}h=X!==C?O+h.substring(X,C):O}return h}var Ie=/([A-Z])/g,ve=/^ms-/,ke=Array.isArray,we=k("<script>"),he=k("<\/script>"),ge=k('<script src="'),De=k('<script type="module" src="'),je=k('" async=""><\/script>'),Ce=/(<\/|<)(s)(cript)/gi;function He(h,_,O,C){return""+_+(O==="s"?"\\u0073":"\\u0053")+C}function ue(h,_,O,C,X){h=h===void 0?"":h,_=_===void 0?we:k('<script nonce="'+_e(_)+'">');var V=[];if(O!==void 0&&V.push(_,b((""+O).replace(Ce,He)),he),C!==void 0)for(O=0;O<C.length;O++)V.push(ge,b(_e(C[O])),je);if(X!==void 0)for(C=0;C<X.length;C++)V.push(De,b(_e(X[C])),je);return{bootstrapChunks:V,startInlineScript:_,placeholderPrefix:k(h+"P:"),segmentPrefix:k(h+"S:"),boundaryPrefix:h+"B:",idPrefix:h,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}function fe(h,_){return{insertionMode:h,selectedValue:_}}function ae(h){return fe(h==="http://www.w3.org/2000/svg"?2:h==="http://www.w3.org/1998/Math/MathML"?3:0,null)}function Me(h,_,O){switch(_){case"select":return fe(1,O.value!=null?O.value:O.defaultValue);case"svg":return fe(2,null);case"math":return fe(3,null);case"foreignObject":return fe(1,null);case"table":return fe(4,null);case"thead":case"tbody":case"tfoot":return fe(5,null);case"colgroup":return fe(7,null);case"tr":return fe(6,null)}return 4<=h.insertionMode||h.insertionMode===0?fe(1,null):h}var Ye=k("<!-- -->");function kt(h,_,O,C){return _===""?C:(C&&h.push(Ye),h.push(b(_e(_))),!0)}var Mt=new Map,Ae=k(' style="'),Te=k(":"),dt=k(";");function Pt(h,_,O){if(typeof O!="object")throw Error(r(62));_=!0;for(var C in O)if(P.call(O,C)){var X=O[C];if(X!=null&&typeof X!="boolean"&&X!==""){if(C.indexOf("--")===0){var V=b(_e(C));X=b(_e((""+X).trim()))}else{V=C;var te=Mt.get(V);te!==void 0||(te=k(_e(V.replace(Ie,"-$1").toLowerCase().replace(ve,"-ms-"))),Mt.set(V,te)),V=te,X=typeof X=="number"?X===0||P.call(J,C)?b(""+X):b(X+"px"):b(_e((""+X).trim()))}_?(_=!1,h.push(Ae,V,Te,X)):h.push(dt,V,Te,X)}}_||h.push(xt)}var Kt=k(" "),Ct=k('="'),xt=k('"'),Jt=k('=""');function $e(h,_,O,C){switch(O){case"style":Pt(h,_,C);return;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<O.length)||O[0]!=="o"&&O[0]!=="O"||O[1]!=="n"&&O[1]!=="N"){if(_=ne.hasOwnProperty(O)?ne[O]:null,_!==null){switch(typeof C){case"function":case"symbol":return;case"boolean":if(!_.acceptsBooleans)return}switch(O=b(_.attributeName),_.type){case 3:C&&h.push(Kt,O,Jt);break;case 4:C===!0?h.push(Kt,O,Jt):C!==!1&&h.push(Kt,O,Ct,b(_e(C)),xt);break;case 5:isNaN(C)||h.push(Kt,O,Ct,b(_e(C)),xt);break;case 6:!isNaN(C)&&1<=C&&h.push(Kt,O,Ct,b(_e(C)),xt);break;default:_.sanitizeURL&&(C=""+C),h.push(Kt,O,Ct,b(_e(C)),xt)}}else if(R(O)){switch(typeof C){case"function":case"symbol":return;case"boolean":if(_=O.toLowerCase().slice(0,5),_!=="data-"&&_!=="aria-")return}h.push(Kt,b(O),Ct,b(_e(C)),xt)}}}var ut=k(">"),lt=k("/>");function Bt(h,_,O){if(_!=null){if(O!=null)throw Error(r(60));if(typeof _!="object"||!("__html"in _))throw Error(r(61));_=_.__html,_!=null&&h.push(b(""+_))}}function pn(h){var _="";return t.Children.forEach(h,function(O){O!=null&&(_+=O)}),_}var Lt=k(' selected=""');function Et(h,_,O,C){h.push(Fe(O));var X=O=null,V;for(V in _)if(P.call(_,V)){var te=_[V];if(te!=null)switch(V){case"children":O=te;break;case"dangerouslySetInnerHTML":X=te;break;default:$e(h,C,V,te)}}return h.push(ut),Bt(h,X,O),typeof O=="string"?(h.push(b(_e(O))),null):O}var rt=k(`
74
- `),pt=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Ft=new Map;function Fe(h){var _=Ft.get(h);if(_===void 0){if(!pt.test(h))throw Error(r(65,h));_=k("<"+h),Ft.set(h,_)}return _}var nt=k("<!DOCTYPE html>");function Je(h,_,O,C,X){switch(_){case"select":h.push(Fe("select"));var V=null,te=null;for(Ue in O)if(P.call(O,Ue)){var pe=O[Ue];if(pe!=null)switch(Ue){case"children":V=pe;break;case"dangerouslySetInnerHTML":te=pe;break;case"defaultValue":case"value":break;default:$e(h,C,Ue,pe)}}return h.push(ut),Bt(h,te,V),V;case"option":te=X.selectedValue,h.push(Fe("option"));var qe=pe=null,Xe=null,Ue=null;for(V in O)if(P.call(O,V)){var Dt=O[V];if(Dt!=null)switch(V){case"children":pe=Dt;break;case"selected":Xe=Dt;break;case"dangerouslySetInnerHTML":Ue=Dt;break;case"value":qe=Dt;default:$e(h,C,V,Dt)}}if(te!=null)if(O=qe!==null?""+qe:pn(pe),ke(te)){for(C=0;C<te.length;C++)if(""+te[C]===O){h.push(Lt);break}}else""+te===O&&h.push(Lt);else Xe&&h.push(Lt);return h.push(ut),Bt(h,Ue,pe),pe;case"textarea":h.push(Fe("textarea")),Ue=te=V=null;for(pe in O)if(P.call(O,pe)&&(qe=O[pe],qe!=null))switch(pe){case"children":Ue=qe;break;case"value":V=qe;break;case"defaultValue":te=qe;break;case"dangerouslySetInnerHTML":throw Error(r(91));default:$e(h,C,pe,qe)}if(V===null&&te!==null&&(V=te),h.push(ut),Ue!=null){if(V!=null)throw Error(r(92));if(ke(Ue)&&1<Ue.length)throw Error(r(93));V=""+Ue}return typeof V=="string"&&V[0]===`
75
- `&&h.push(rt),V!==null&&h.push(b(_e(""+V))),null;case"input":h.push(Fe("input")),qe=Ue=pe=V=null;for(te in O)if(P.call(O,te)&&(Xe=O[te],Xe!=null))switch(te){case"children":case"dangerouslySetInnerHTML":throw Error(r(399,"input"));case"defaultChecked":qe=Xe;break;case"defaultValue":pe=Xe;break;case"checked":Ue=Xe;break;case"value":V=Xe;break;default:$e(h,C,te,Xe)}return Ue!==null?$e(h,C,"checked",Ue):qe!==null&&$e(h,C,"checked",qe),V!==null?$e(h,C,"value",V):pe!==null&&$e(h,C,"value",pe),h.push(lt),null;case"menuitem":h.push(Fe("menuitem"));for(var bn in O)if(P.call(O,bn)&&(V=O[bn],V!=null))switch(bn){case"children":case"dangerouslySetInnerHTML":throw Error(r(400));default:$e(h,C,bn,V)}return h.push(ut),null;case"title":h.push(Fe("title")),V=null;for(Dt in O)if(P.call(O,Dt)&&(te=O[Dt],te!=null))switch(Dt){case"children":V=te;break;case"dangerouslySetInnerHTML":throw Error(r(434));default:$e(h,C,Dt,te)}return h.push(ut),V;case"listing":case"pre":h.push(Fe(_)),te=V=null;for(qe in O)if(P.call(O,qe)&&(pe=O[qe],pe!=null))switch(qe){case"children":V=pe;break;case"dangerouslySetInnerHTML":te=pe;break;default:$e(h,C,qe,pe)}if(h.push(ut),te!=null){if(V!=null)throw Error(r(60));if(typeof te!="object"||!("__html"in te))throw Error(r(61));O=te.__html,O!=null&&(typeof O=="string"&&0<O.length&&O[0]===`
76
- `?h.push(rt,b(O)):h.push(b(""+O)))}return typeof V=="string"&&V[0]===`
77
- `&&h.push(rt),V;case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":h.push(Fe(_));for(var Ut in O)if(P.call(O,Ut)&&(V=O[Ut],V!=null))switch(Ut){case"children":case"dangerouslySetInnerHTML":throw Error(r(399,_));default:$e(h,C,Ut,V)}return h.push(lt),null;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 Et(h,O,_,C);case"html":return X.insertionMode===0&&h.push(nt),Et(h,O,_,C);default:if(_.indexOf("-")===-1&&typeof O.is!="string")return Et(h,O,_,C);h.push(Fe(_)),te=V=null;for(Xe in O)if(P.call(O,Xe)&&(pe=O[Xe],pe!=null))switch(Xe){case"children":V=pe;break;case"dangerouslySetInnerHTML":te=pe;break;case"style":Pt(h,C,pe);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:R(Xe)&&typeof pe!="function"&&typeof pe!="symbol"&&h.push(Kt,b(Xe),Ct,b(_e(pe)),xt)}return h.push(ut),Bt(h,te,V),V}}var ht=k("</"),Ge=k(">"),wn=k('<template id="'),ct=k('"></template>'),Sn=k("<!--$-->"),Yt=k('<!--$?--><template id="'),fr=k('"></template>'),Un=k("<!--$!-->"),eo=k("<!--/$-->"),Rt=k("<template"),vi=k('"'),$t=k(' data-dgst="');k(' data-msg="'),k(' data-stck="');var yi=k("></template>");function sn(h,_,O){if(u(h,Yt),O===null)throw Error(r(395));return u(h,O),f(h,fr)}var Ht=k('<div hidden id="'),Tn=k('">'),it=k("</div>"),Vn=k('<svg aria-hidden="true" style="display:none" id="'),Qn=k('">'),Wn=k("</svg>"),kn=k('<math aria-hidden="true" style="display:none" id="'),Or=k('">'),It=k("</math>"),to=k('<table hidden id="'),Gn=k('">'),bi=k("</table>"),Nr=k('<table hidden><tbody id="'),no=k('">'),Jr=k("</tbody></table>"),Yr=k('<table hidden><tr id="'),Wr=k('">'),dr=k("</tr></table>"),pr=k('<table hidden><colgroup id="'),Ki=k('">'),ro=k("</colgroup></table>");function er(h,_,O,C){switch(O.insertionMode){case 0:case 1:return u(h,Ht),u(h,_.segmentPrefix),u(h,b(C.toString(16))),f(h,Tn);case 2:return u(h,Vn),u(h,_.segmentPrefix),u(h,b(C.toString(16))),f(h,Qn);case 3:return u(h,kn),u(h,_.segmentPrefix),u(h,b(C.toString(16))),f(h,Or);case 4:return u(h,to),u(h,_.segmentPrefix),u(h,b(C.toString(16))),f(h,Gn);case 5:return u(h,Nr),u(h,_.segmentPrefix),u(h,b(C.toString(16))),f(h,no);case 6:return u(h,Yr),u(h,_.segmentPrefix),u(h,b(C.toString(16))),f(h,Wr);case 7:return u(h,pr),u(h,_.segmentPrefix),u(h,b(C.toString(16))),f(h,Ki);default:throw Error(r(397))}}function hr(h,_){switch(_.insertionMode){case 0:case 1:return f(h,it);case 2:return f(h,Wn);case 3:return f(h,It);case 4:return f(h,bi);case 5:return f(h,Jr);case 6:return f(h,dr);case 7:return f(h,ro);default:throw Error(r(397))}}var hn=k('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("'),ot=k('$RS("'),Dr=k('","'),Mr=k('")<\/script>'),tt=k('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("'),Lr=k('$RC("'),Cr=k('","'),Gr=k('")<\/script>'),gt=k('function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX("'),jt=k('$RX("'),ei=k('"'),ti=k(")<\/script>"),Br=k(","),Ri=/[<\u2028\u2029]/g;function mr(h){return JSON.stringify(h).replace(Ri,function(_){switch(_){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}var Xt=Object.assign,Ln=Symbol.for("react.element"),Fr=Symbol.for("react.portal"),rn=Symbol.for("react.fragment"),_i=Symbol.for("react.strict_mode"),io=Symbol.for("react.profiler"),oo=Symbol.for("react.provider"),Pr=Symbol.for("react.context"),gr=Symbol.for("react.forward_ref"),Kr=Symbol.for("react.suspense"),Rr=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),w=Symbol.for("react.lazy"),N=Symbol.for("react.scope"),B=Symbol.for("react.debug_trace_mode"),$=Symbol.for("react.legacy_hidden"),U=Symbol.for("react.default_value"),ie=Symbol.iterator;function me(h){if(h==null)return null;if(typeof h=="function")return h.displayName||h.name||null;if(typeof h=="string")return h;switch(h){case rn:return"Fragment";case Fr:return"Portal";case io:return"Profiler";case _i:return"StrictMode";case Kr:return"Suspense";case Rr:return"SuspenseList"}if(typeof h=="object")switch(h.$$typeof){case Pr:return(h.displayName||"Context")+".Consumer";case oo:return(h._context.displayName||"Context")+".Provider";case gr:var _=h.render;return h=h.displayName,h||(h=_.displayName||_.name||"",h=h!==""?"ForwardRef("+h+")":"ForwardRef"),h;case p:return _=h.displayName||null,_!==null?_:me(h.type)||"Memo";case w:_=h._payload,h=h._init;try{return me(h(_))}catch{}}return null}var be={};function xe(h,_){if(h=h.contextTypes,!h)return be;var O={},C;for(C in h)O[C]=_[C];return O}var We=null;function wt(h,_){if(h!==_){h.context._currentValue=h.parentValue,h=h.parent;var O=_.parent;if(h===null){if(O!==null)throw Error(r(401))}else{if(O===null)throw Error(r(401));wt(h,O)}_.context._currentValue=_.value}}function Ot(h){h.context._currentValue=h.parentValue,h=h.parent,h!==null&&Ot(h)}function Wt(h){var _=h.parent;_!==null&&Wt(_),h.context._currentValue=h.value}function on(h,_){if(h.context._currentValue=h.parentValue,h=h.parent,h===null)throw Error(r(402));h.depth===_.depth?wt(h,_):on(h,_)}function vr(h,_){var O=_.parent;if(O===null)throw Error(r(402));h.depth===O.depth?wt(h,O):vr(h,O),_.context._currentValue=_.value}function mn(h){var _=We;_!==h&&(_===null?Wt(h):h===null?Ot(_):_.depth===h.depth?wt(_,h):_.depth>h.depth?on(_,h):vr(_,h),We=h)}var zn={isMounted:function(){return!1},enqueueSetState:function(h,_){h=h._reactInternals,h.queue!==null&&h.queue.push(_)},enqueueReplaceState:function(h,_){h=h._reactInternals,h.replace=!0,h.queue=[_]},enqueueForceUpdate:function(){}};function gn(h,_,O,C){var X=h.state!==void 0?h.state:null;h.updater=zn,h.props=O,h.state=X;var V={queue:[],replace:!1};h._reactInternals=V;var te=_.contextType;if(h.context=typeof te=="object"&&te!==null?te._currentValue:C,te=_.getDerivedStateFromProps,typeof te=="function"&&(te=te(O,X),X=te==null?X:Xt({},X,te),h.state=X),typeof _.getDerivedStateFromProps!="function"&&typeof h.getSnapshotBeforeUpdate!="function"&&(typeof h.UNSAFE_componentWillMount=="function"||typeof h.componentWillMount=="function"))if(_=h.state,typeof h.componentWillMount=="function"&&h.componentWillMount(),typeof h.UNSAFE_componentWillMount=="function"&&h.UNSAFE_componentWillMount(),_!==h.state&&zn.enqueueReplaceState(h,h.state,null),V.queue!==null&&0<V.queue.length)if(_=V.queue,te=V.replace,V.queue=null,V.replace=!1,te&&_.length===1)h.state=_[0];else{for(V=te?_[0]:h.state,X=!0,te=te?1:0;te<_.length;te++){var pe=_[te];pe=typeof pe=="function"?pe.call(h,V,O,C):pe,pe!=null&&(X?(X=!1,V=Xt({},V,pe)):Xt(V,pe))}h.state=V}else V.queue=null}var tr={id:1,overflow:""};function Cn(h,_,O){var C=h.id;h=h.overflow;var X=32-Hn(C)-1;C&=~(1<<X),O+=1;var V=32-Hn(_)+X;if(30<V){var te=X-X%5;return V=(C&(1<<te)-1).toString(32),C>>=te,X-=te,{id:1<<32-Hn(_)+X|O<<X|C,overflow:V+h}}return{id:1<<V|O<<X|C,overflow:h}}var Hn=Math.clz32?Math.clz32:ao,Ir=Math.log,ni=Math.LN2;function ao(h){return h>>>=0,h===0?32:31-(Ir(h)/ni|0)|0}function jr(h,_){return h===_&&(h!==0||1/h===1/_)||h!==h&&_!==_}var At=typeof Object.is=="function"?Object.is:jr,nr=null,ri=null,Ii=null,vt=null,yr=!1,Gt=!1,xn=0,vn=null,Tr=0;function ii(){if(nr===null)throw Error(r(321));return nr}function lo(){if(0<Tr)throw Error(r(312));return{memoizedState:null,queue:null,next:null}}function oi(){return vt===null?Ii===null?(yr=!1,Ii=vt=lo()):(yr=!0,vt=Ii):vt.next===null?(yr=!1,vt=vt.next=lo()):(yr=!0,vt=vt.next),vt}function ji(){ri=nr=null,Gt=!1,Ii=null,Tr=0,vt=vn=null}function fa(h,_){return typeof _=="function"?_(h):_}function zr(h,_,O){if(nr=ii(),vt=oi(),yr){var C=vt.queue;if(_=C.dispatch,vn!==null&&(O=vn.get(C),O!==void 0)){vn.delete(C),C=vt.memoizedState;do C=h(C,O.action),O=O.next;while(O!==null);return vt.memoizedState=C,[C,_]}return[vt.memoizedState,_]}return h=h===fa?typeof _=="function"?_():_:O!==void 0?O(_):_,vt.memoizedState=h,h=vt.queue={last:null,dispatch:null},h=h.dispatch=Mo.bind(null,nr,h),[vt.memoizedState,h]}function Ti(h,_){if(nr=ii(),vt=oi(),_=_===void 0?null:_,vt!==null){var O=vt.memoizedState;if(O!==null&&_!==null){var C=O[1];e:if(C===null)C=!1;else{for(var X=0;X<C.length&&X<_.length;X++)if(!At(_[X],C[X])){C=!1;break e}C=!0}if(C)return O[0]}}return h=h(),vt.memoizedState=[h,_],h}function Mo(h,_,O){if(25<=Tr)throw Error(r(301));if(h===nr)if(Gt=!0,h={action:O,next:null},vn===null&&(vn=new Map),O=vn.get(_),O===void 0)vn.set(_,h);else{for(_=O;_.next!==null;)_=_.next;_.next=h}}function da(){throw Error(r(394))}function wi(){}var zi={readContext:function(h){return h._currentValue},useContext:function(h){return ii(),h._currentValue},useMemo:Ti,useReducer:zr,useRef:function(h){nr=ii(),vt=oi();var _=vt.memoizedState;return _===null?(h={current:h},vt.memoizedState=h):_},useState:function(h){return zr(fa,h)},useInsertionEffect:wi,useLayoutEffect:function(){},useCallback:function(h,_){return Ti(function(){return h},_)},useImperativeHandle:wi,useEffect:wi,useDebugValue:wi,useDeferredValue:function(h){return ii(),h},useTransition:function(){return ii(),[!1,da]},useId:function(){var h=ri.treeContext,_=h.overflow;h=h.id,h=(h&~(1<<32-Hn(h)-1)).toString(32)+_;var O=uo;if(O===null)throw Error(r(404));return _=xn++,h=":"+O.idPrefix+"R"+h,0<_&&(h+="H"+_.toString(32)),h+":"},useMutableSource:function(h,_){return ii(),_(h._source)},useSyncExternalStore:function(h,_,O){if(O===void 0)throw Error(r(407));return O()}},uo=null,En=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function rr(h){return console.error(h),null}function br(){}function Hi(h,_,O,C,X,V,te,pe,qe){var Xe=[],Ue=new Set;return _={destination:null,responseState:_,progressiveChunkSize:C===void 0?12800:C,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:Ue,pingedTasks:Xe,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:X===void 0?rr:X,onAllReady:V===void 0?br:V,onShellReady:te===void 0?br:te,onShellError:pe===void 0?br:pe,onFatalError:qe===void 0?br:qe},O=ft(_,0,null,O,!1,!1),O.parentFlushed=!0,h=so(_,h,null,O,Ue,be,null,tr),Xe.push(h),_}function so(h,_,O,C,X,V,te,pe){h.allPendingTasks++,O===null?h.pendingRootTasks++:O.pendingTasks++;var qe={node:_,ping:function(){var Xe=h.pingedTasks;Xe.push(qe),Xe.length===1&&Nt(h)},blockedBoundary:O,blockedSegment:C,abortSet:X,legacyContext:V,context:te,treeContext:pe};return X.add(qe),qe}function ft(h,_,O,C,X,V){return{status:0,id:-1,index:_,parentFlushed:!1,chunks:[],children:[],formatContext:C,boundary:O,lastPushedText:X,textEmbedded:V}}function ai(h,_){if(h=h.onError(_),h!=null&&typeof h!="string")throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof h+'" instead');return h}function Hr(h,_){var O=h.onShellError;O(_),O=h.onFatalError,O(_),h.destination!==null?(h.status=2,D(h.destination,_)):(h.status=1,h.fatalError=_)}function qi(h,_,O,C,X){for(nr={},ri=_,xn=0,h=O(C,X);Gt;)Gt=!1,xn=0,Tr+=1,vt=null,h=O(C,X);return ji(),h}function $n(h,_,O,C){var X=O.render(),V=C.childContextTypes;if(V!=null){var te=_.legacyContext;if(typeof O.getChildContext!="function")C=te;else{O=O.getChildContext();for(var pe in O)if(!(pe in V))throw Error(r(108,me(C)||"Unknown",pe));C=Xt({},te,O)}_.legacyContext=C,Bn(h,_,X),_.legacyContext=te}else Bn(h,_,X)}function Lo(h,_){if(h&&h.defaultProps){_=Xt({},_),h=h.defaultProps;for(var O in h)_[O]===void 0&&(_[O]=h[O]);return _}return _}function Co(h,_,O,C,X){if(typeof O=="function")if(O.prototype&&O.prototype.isReactComponent){X=xe(O,_.legacyContext);var V=O.contextType;V=new O(C,typeof V=="object"&&V!==null?V._currentValue:X),gn(V,O,C,X),$n(h,_,V,O)}else{V=xe(O,_.legacyContext),X=qi(h,_,O,C,V);var te=xn!==0;if(typeof X=="object"&&X!==null&&typeof X.render=="function"&&X.$$typeof===void 0)gn(X,O,C,V),$n(h,_,X,O);else if(te){C=_.treeContext,_.treeContext=Cn(C,1,0);try{Bn(h,_,X)}finally{_.treeContext=C}}else Bn(h,_,X)}else if(typeof O=="string"){switch(X=_.blockedSegment,V=Je(X.chunks,O,C,h.responseState,X.formatContext),X.lastPushedText=!1,te=X.formatContext,X.formatContext=Me(te,O,C),en(h,_,V),X.formatContext=te,O){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:X.chunks.push(ht,b(O),Ge)}X.lastPushedText=!1}else{switch(O){case $:case B:case _i:case io:case rn:Bn(h,_,C.children);return;case Rr:Bn(h,_,C.children);return;case N:throw Error(r(343));case Kr:e:{O=_.blockedBoundary,X=_.blockedSegment,V=C.fallback,C=C.children,te=new Set;var pe={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:te,errorDigest:null},qe=ft(h,X.chunks.length,pe,X.formatContext,!1,!1);X.children.push(qe),X.lastPushedText=!1;var Xe=ft(h,0,null,X.formatContext,!1,!1);Xe.parentFlushed=!0,_.blockedBoundary=pe,_.blockedSegment=Xe;try{if(en(h,_,C),Xe.lastPushedText&&Xe.textEmbedded&&Xe.chunks.push(Ye),Xe.status=1,Fo(pe,Xe),pe.pendingTasks===0)break e}catch(Ue){Xe.status=4,pe.forceClientRender=!0,pe.errorDigest=ai(h,Ue)}finally{_.blockedBoundary=O,_.blockedSegment=X}_=so(h,V,O,qe,te,_.legacyContext,_.context,_.treeContext),h.pingedTasks.push(_)}return}if(typeof O=="object"&&O!==null)switch(O.$$typeof){case gr:if(C=qi(h,_,O.render,C,X),xn!==0){O=_.treeContext,_.treeContext=Cn(O,1,0);try{Bn(h,_,C)}finally{_.treeContext=O}}else Bn(h,_,C);return;case p:O=O.type,C=Lo(O,C),Co(h,_,O,C,X);return;case oo:if(X=C.children,O=O._context,C=C.value,V=O._currentValue,O._currentValue=C,te=We,We=C={parent:te,depth:te===null?0:te.depth+1,context:O,parentValue:V,value:C},_.context=C,Bn(h,_,X),h=We,h===null)throw Error(r(403));C=h.parentValue,h.context._currentValue=C===U?h.context._defaultValue:C,h=We=h.parent,_.context=h;return;case Pr:C=C.children,C=C(O._currentValue),Bn(h,_,C);return;case w:X=O._init,O=X(O._payload),C=Lo(O,C),Co(h,_,O,C,void 0);return}throw Error(r(130,O==null?O:typeof O,""))}}function Bn(h,_,O){if(_.node=O,typeof O=="object"&&O!==null){switch(O.$$typeof){case Ln:Co(h,_,O.type,O.props,O.ref);return;case Fr:throw Error(r(257));case w:var C=O._init;O=C(O._payload),Bn(h,_,O);return}if(ke(O)){yn(h,_,O);return}if(O===null||typeof O!="object"?C=null:(C=ie&&O[ie]||O["@@iterator"],C=typeof C=="function"?C:null),C&&(C=C.call(O))){if(O=C.next(),!O.done){var X=[];do X.push(O.value),O=C.next();while(!O.done);yn(h,_,X)}return}throw h=Object.prototype.toString.call(O),Error(r(31,h==="[object Object]"?"object with keys {"+Object.keys(O).join(", ")+"}":h))}typeof O=="string"?(C=_.blockedSegment,C.lastPushedText=kt(_.blockedSegment.chunks,O,h.responseState,C.lastPushedText)):typeof O=="number"&&(C=_.blockedSegment,C.lastPushedText=kt(_.blockedSegment.chunks,""+O,h.responseState,C.lastPushedText))}function yn(h,_,O){for(var C=O.length,X=0;X<C;X++){var V=_.treeContext;_.treeContext=Cn(V,C,X);try{en(h,_,O[X])}finally{_.treeContext=V}}}function en(h,_,O){var C=_.blockedSegment.formatContext,X=_.legacyContext,V=_.context;try{return Bn(h,_,O)}catch(qe){if(ji(),typeof qe=="object"&&qe!==null&&typeof qe.then=="function"){O=qe;var te=_.blockedSegment,pe=ft(h,te.chunks.length,null,te.formatContext,te.lastPushedText,!0);te.children.push(pe),te.lastPushedText=!1,h=so(h,_.node,_.blockedBoundary,pe,_.abortSet,_.legacyContext,_.context,_.treeContext).ping,O.then(h,h),_.blockedSegment.formatContext=C,_.legacyContext=X,_.context=V,mn(V)}else throw _.blockedSegment.formatContext=C,_.legacyContext=X,_.context=V,mn(V),qe}}function Bo(h){var _=h.blockedBoundary;h=h.blockedSegment,h.status=3,Ua(this,_,h)}function pa(h,_,O){var C=h.blockedBoundary;h.blockedSegment.status=3,C===null?(_.allPendingTasks--,_.status!==2&&(_.status=2,_.destination!==null&&_.destination.close())):(C.pendingTasks--,C.forceClientRender||(C.forceClientRender=!0,h=O===void 0?Error(r(432)):O,C.errorDigest=_.onError(h),C.parentFlushed&&_.clientRenderedBoundaries.push(C)),C.fallbackAbortableTasks.forEach(function(X){return pa(X,_,O)}),C.fallbackAbortableTasks.clear(),_.allPendingTasks--,_.allPendingTasks===0&&(C=_.onAllReady,C()))}function Fo(h,_){if(_.chunks.length===0&&_.children.length===1&&_.children[0].boundary===null){var O=_.children[0];O.id=_.id,O.parentFlushed=!0,O.status===1&&Fo(h,O)}else h.completedSegments.push(_)}function Ua(h,_,O){if(_===null){if(O.parentFlushed){if(h.completedRootSegment!==null)throw Error(r(389));h.completedRootSegment=O}h.pendingRootTasks--,h.pendingRootTasks===0&&(h.onShellError=br,_=h.onShellReady,_())}else _.pendingTasks--,_.forceClientRender||(_.pendingTasks===0?(O.parentFlushed&&O.status===1&&Fo(_,O),_.parentFlushed&&h.completedBoundaries.push(_),_.fallbackAbortableTasks.forEach(Bo,h),_.fallbackAbortableTasks.clear()):O.parentFlushed&&O.status===1&&(Fo(_,O),_.completedSegments.length===1&&_.parentFlushed&&h.partialBoundaries.push(_)));h.allPendingTasks--,h.allPendingTasks===0&&(h=h.onAllReady,h())}function Nt(h){if(h.status!==2){var _=We,O=En.current;En.current=zi;var C=uo;uo=h.responseState;try{var X=h.pingedTasks,V;for(V=0;V<X.length;V++){var te=X[V],pe=h,qe=te.blockedSegment;if(qe.status===0){mn(te.context);try{Bn(pe,te,te.node),qe.lastPushedText&&qe.textEmbedded&&qe.chunks.push(Ye),te.abortSet.delete(te),qe.status=1,Ua(pe,te.blockedBoundary,qe)}catch(St){if(ji(),typeof St=="object"&&St!==null&&typeof St.then=="function"){var Xe=te.ping;St.then(Xe,Xe)}else{te.abortSet.delete(te),qe.status=4;var Ue=te.blockedBoundary,Dt=St,bn=ai(pe,Dt);if(Ue===null?Hr(pe,Dt):(Ue.pendingTasks--,Ue.forceClientRender||(Ue.forceClientRender=!0,Ue.errorDigest=bn,Ue.parentFlushed&&pe.clientRenderedBoundaries.push(Ue))),pe.allPendingTasks--,pe.allPendingTasks===0){var Ut=pe.onAllReady;Ut()}}}finally{}}}X.splice(0,V),h.destination!==null&&Ko(h,h.destination)}catch(St){ai(h,St),Hr(h,St)}finally{uo=C,En.current=O,O===zi&&mn(_)}}}function Ai(h,_,O){switch(O.parentFlushed=!0,O.status){case 0:var C=O.id=h.nextSegmentId++;return O.lastPushedText=!1,O.textEmbedded=!1,h=h.responseState,u(_,wn),u(_,h.placeholderPrefix),h=b(C.toString(16)),u(_,h),f(_,ct);case 1:O.status=2;var X=!0;C=O.chunks;var V=0;O=O.children;for(var te=0;te<O.length;te++){for(X=O[te];V<X.index;V++)u(_,C[V]);X=co(h,_,X)}for(;V<C.length-1;V++)u(_,C[V]);return V<C.length&&(X=f(_,C[V])),X;default:throw Error(r(390))}}function co(h,_,O){var C=O.boundary;if(C===null)return Ai(h,_,O);if(C.parentFlushed=!0,C.forceClientRender)C=C.errorDigest,f(_,Un),u(_,Rt),C&&(u(_,$t),u(_,b(_e(C))),u(_,vi)),f(_,yi),Ai(h,_,O);else if(0<C.pendingTasks){C.rootSegmentID=h.nextSegmentId++,0<C.completedSegments.length&&h.partialBoundaries.push(C);var X=h.responseState,V=X.nextSuspenseID++;X=k(X.boundaryPrefix+V.toString(16)),C=C.id=X,sn(_,h.responseState,C),Ai(h,_,O)}else if(C.byteSize>h.progressiveChunkSize)C.rootSegmentID=h.nextSegmentId++,h.completedBoundaries.push(C),sn(_,h.responseState,C.id),Ai(h,_,O);else{if(f(_,Sn),O=C.completedSegments,O.length!==1)throw Error(r(391));co(h,_,O[0])}return f(_,eo)}function Fn(h,_,O){return er(_,h.responseState,O.formatContext,O.id),co(h,_,O),hr(_,O.formatContext)}function Po(h,_,O){for(var C=O.completedSegments,X=0;X<C.length;X++)fo(h,_,O,C[X]);if(C.length=0,h=h.responseState,C=O.id,O=O.rootSegmentID,u(_,h.startInlineScript),h.sentCompleteBoundaryFunction?u(_,Lr):(h.sentCompleteBoundaryFunction=!0,u(_,tt)),C===null)throw Error(r(395));return O=b(O.toString(16)),u(_,C),u(_,Cr),u(_,h.segmentPrefix),u(_,O),f(_,Gr)}function fo(h,_,O,C){if(C.status===2)return!0;var X=C.id;if(X===-1){if((C.id=O.rootSegmentID)===-1)throw Error(r(392));return Fn(h,_,C)}return Fn(h,_,C),h=h.responseState,u(_,h.startInlineScript),h.sentCompleteSegmentFunction?u(_,ot):(h.sentCompleteSegmentFunction=!0,u(_,hn)),u(_,h.segmentPrefix),X=b(X.toString(16)),u(_,X),u(_,Dr),u(_,h.placeholderPrefix),u(_,X),f(_,Mr)}function Ko(h,_){i=new Uint8Array(512),a=0;try{var O=h.completedRootSegment;if(O!==null&&h.pendingRootTasks===0){co(h,_,O),h.completedRootSegment=null;var C=h.responseState.bootstrapChunks;for(O=0;O<C.length-1;O++)u(_,C[O]);O<C.length&&f(_,C[O])}var X=h.clientRenderedBoundaries,V;for(V=0;V<X.length;V++){var te=X[V];C=_;var pe=h.responseState,qe=te.id,Xe=te.errorDigest,Ue=te.errorMessage,Dt=te.errorComponentStack;if(u(C,pe.startInlineScript),pe.sentClientRenderFunction?u(C,jt):(pe.sentClientRenderFunction=!0,u(C,gt)),qe===null)throw Error(r(395));u(C,qe),u(C,ei),(Xe||Ue||Dt)&&(u(C,Br),u(C,b(mr(Xe||"")))),(Ue||Dt)&&(u(C,Br),u(C,b(mr(Ue||"")))),Dt&&(u(C,Br),u(C,b(mr(Dt)))),f(C,ti)}X.splice(0,V);var bn=h.completedBoundaries;for(V=0;V<bn.length;V++)Po(h,_,bn[V]);bn.splice(0,V),g(_),i=new Uint8Array(512),a=0;var Ut=h.partialBoundaries;for(V=0;V<Ut.length;V++){var St=Ut[V];e:{X=h,te=_;var li=St.completedSegments;for(pe=0;pe<li.length;pe++)if(!fo(X,te,St,li[pe])){pe++,li.splice(0,pe);var ha=!1;break e}li.splice(0,pe),ha=!0}if(!ha){h.destination=null,V++,Ut.splice(0,V);return}}Ut.splice(0,V);var ui=h.completedBoundaries;for(V=0;V<ui.length;V++)Po(h,_,ui[V]);ui.splice(0,V)}finally{g(_),h.allPendingTasks===0&&h.pingedTasks.length===0&&h.clientRenderedBoundaries.length===0&&h.completedBoundaries.length===0&&_.close()}}function Ro(h,_){try{var O=h.abortableTasks;O.forEach(function(C){return pa(C,h,_)}),O.clear(),h.destination!==null&&Ko(h,h.destination)}catch(C){ai(h,C),Hr(h,C)}}return Xu.renderToReadableStream=function(h,_){return new Promise(function(O,C){var X,V,te=new Promise(function(Ue,Dt){V=Ue,X=Dt}),pe=Hi(h,ue(_?_.identifierPrefix:void 0,_?_.nonce:void 0,_?_.bootstrapScriptContent:void 0,_?_.bootstrapScripts:void 0,_?_.bootstrapModules:void 0),ae(_?_.namespaceURI:void 0),_?_.progressiveChunkSize:void 0,_?_.onError:void 0,V,function(){var Ue=new ReadableStream({type:"bytes",pull:function(Dt){if(pe.status===1)pe.status=2,D(Dt,pe.fatalError);else if(pe.status!==2&&pe.destination===null){pe.destination=Dt;try{Ko(pe,Dt)}catch(bn){ai(pe,bn),Hr(pe,bn)}}},cancel:function(){Ro(pe)}},{highWaterMark:0});Ue.allReady=te,O(Ue)},function(Ue){te.catch(function(){}),C(Ue)},X);if(_&&_.signal){var qe=_.signal,Xe=function(){Ro(pe,qe.reason),qe.removeEventListener("abort",Xe)};qe.addEventListener("abort",Xe)}Nt(pe)})},Xu.version="18.2.0",Xu}var za,pv;za=yB(),pv=bB(),Dn.version=za.version,Dn.renderToString=za.renderToString,Dn.renderToStaticMarkup=za.renderToStaticMarkup,Dn.renderToNodeStream=za.renderToNodeStream,Dn.renderToStaticNodeStream=za.renderToStaticNodeStream,Dn.renderToReadableStream=pv.renderToReadableStream;function _f(t,r){(r==null||r>t.length)&&(r=t.length);for(var i=0,a=new Array(r);i<r;i++)a[i]=t[i];return a}function _B(t){if(Array.isArray(t))return _f(t)}function wB(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function SB(t,r){if(t){if(typeof t=="string")return _f(t,r);var i=Object.prototype.toString.call(t).slice(8,-1);if(i==="Object"&&t.constructor&&(i=t.constructor.name),i==="Map"||i==="Set")return Array.from(t);if(i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return _f(t,r)}}function kB(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
78
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Oo(t){return _B(t)||wB(t)||SB(t)||kB()}function hv(t,r,i,a,u,f){var g=a-i,y=r+i<=t.offset;if(y)return Object.assign({},t,{offset:t.offset+g});var b=r>=t.offset&&r+i<=t.offset+t.length;if(b)return Object.assign({},t,{length:t.length+g});var k=t.offset>=r&&t.offset+t.length<=r+i&&u>0;if(k)return Object.assign({},t,{offset:t.offset+u});var D=t.offset<r&&t.offset+t.length<=r+i&&t.offset+t.length>r&&u>0;if(D)return[Object.assign({},t,{length:r-t.offset}),Object.assign({},t,{offset:r+u,length:t.offset-r+t.length})];var P=t.offset>=r&&t.offset+t.length>r+i&&r+i>t.offset&&f>0;return P?[Object.assign({},t,{offset:t.offset+u,length:r+i-t.offset}),Object.assign({},t,{offset:r+i+u+f,length:t.offset+t.length-(r+i)})]:t}const Zu=function(t,r){return t.offset===r.offset?r.length-t.length:t.offset-r.offset};var mv={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;","\n":"<br/>"};const xB=function(t){for(var r=Oo(t.text),i=t.entityRanges.sort(Zu),a=t.inlineStyleRanges.sort(Zu),u="",f=function(y){var b=r[y];if(mv[b]!==void 0){var k=mv[b],D=Oo(u).length;u+=k;var P=function(L){return hv(L,D,b.length,k.length,0,0)};i=i.map(P),a=a.map(P)}else u+=b},g=0;g<r.length;g++)f(g);return Object.assign({},t,{text:u,inlineStyleRanges:a,entityRanges:i})};function Ju(t){return Ju=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Ju(t)}var EB=["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"];function Ha(t){if(EB.indexOf(t.type)!==-1)return Dn.renderToStaticMarkup(t);var r=Dn.renderToStaticMarkup(q.cloneElement(t,{},"\r")).split("\r");return gi(r.length>1,"convertToHTML: Element of type ".concat(t.type," must render children")),gi(r.length<3,"convertToHTML: Element of type ".concat(t.type," cannot use carriage return character")),{start:r[0],end:r[1]}}function OB(t){return q.isValidElement(t)&&q.Children.count(t.props.children)>0}function Yu(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(t==null||typeof t=="string")return t;if(q.isValidElement(t)){if(OB(t))return Dn.renderToStaticMarkup(t);var i=Ha(t);if(r!==null&&Ju(i)==="object"){var a=i.start,u=i.end;return a+r+u}return i}if(gi(Object.prototype.hasOwnProperty.call(t,"start")&&Object.prototype.hasOwnProperty.call(t,"end"),"convertToHTML: received conversion data without either an HTML string, ReactElement or an object with start/end tags"),r!==null){var f=t.start,g=t.end;return f+r+g}return t}var gv=function t(r){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"start";if(q.isValidElement(r)){var a=Ha(r);if(typeof a=="string")return 0;var u=a[i].length,f=q.Children.toArray(r.props.children)[0];return u+(f&&q.isValidElement(f)?t(f,i):0)}return Ju(r)==="object"&&r[i]?r[i].length:0},vv=function(){var t=arguments.length>1?arguments[1]:void 0;return t};const NB=function(t,r){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:vv,a=Oo(t.text),u=i;if(i.__isMiddleware&&(u=i(vv)),Object.prototype.hasOwnProperty.call(t,"entityRanges")&&t.entityRanges.length>0){for(var f=t.entityRanges.sort(Zu),g=t.inlineStyleRanges,y=function(k){var D=f[k],P=r[D.key],L=a.slice(D.offset,D.offset+D.length).join(""),T=u(P,L),F=Yu(T,L),R=void 0;F||F===""?R=Oo(F):R=L;var j=gv(T,"start"),ne=gv(T,"end"),Y=function(J,le){return le>k||Object.prototype.hasOwnProperty.call(J,"style")?hv(J,D.offset,D.length,R.length,j,ne):J},W=function(J){return J.reduce(function(le,Se,_e){var Ie=Y(Se,_e);return Array.isArray(Ie)?le.concat(Ie):le.concat([Ie])},[])};f=W(f),g=W(g),a=[].concat(Oo(a.slice(0,D.offset)),Oo(R),Oo(a.slice(D.offset+D.length)))},b=0;b<f.length;b++)y(b);return Object.assign({},t,{text:a.join(""),inlineStyleRanges:g,entityRanges:f})}return t},yv=function(t){return function(r){return typeof t=="function"?t(r):t[r]}},bv=function(t,r){return function(){var i=t.apply(void 0,arguments);return i??r.apply(void 0,arguments)}};function _v(t){switch(t){case"BOLD":return q.createElement("strong",null);case"ITALIC":return q.createElement("em",null);case"UNDERLINE":return q.createElement("u",null);case"CODE":return q.createElement("code",null);default:return{start:"",end:""}}}var wf=function(t,r){return t.filter(function(i){return!r.some(function(a){return a.style===i.style})})},DB=function(t,r){return r.reduceRight(function(i,a){var u=i[i.length-1];return gi(u.style===a.style,"Style ".concat(u.style," to be removed doesn't match expected ").concat(a.style)),i.slice(0,-1)},t)},MB=function(t,r){return r.filter(function(i){return t>=i.offset&&t<i.offset+i.length})},LB=function(t,r){var i=t.offset<=r.offset,a=t.offset+t.length>=r.offset+r.length;return i&&a},CB=function(t,r){var i=r.offset+r.length,a=t.offset+t.length;return i-a},BB=function(t,r){for(var i=0;i<t.length;)if(r.every(LB.bind(null,t[i])))i++;else return t.slice(i);return[]},FB=function(t,r,i){return r+Yu(t(i.style)).start},PB=function(t,r,i){return Yu(t(i.style)).end+r},wv=function(t){return function(r){return t(r)}};wv.__isMiddleware=!0;const KB=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:wv;gi(t!=null,"Expected raw block to be non-null");var i;r.__isMiddleware===!0?i=r(_v):i=bv(yv(r),yv(_v));for(var a="",u=[],f=t.inlineStyleRanges.sort(Zu),g=Oo(t.text),y=0;y<g.length;y++){var b=MB(y,f),k=wf(u,b),D=wf(b,u),P=wf(u,k),L=BB(P,D),T=L.concat(D).sort(CB),F=T.reduce(FB.bind(null,i),""),R=k.concat(L).reduce(PB.bind(null,i),"");a+=R+F+g[y],u=DB(u,L.concat(k)),u=u.concat(T),gi(u.length===b.length,"Character ".concat(y,": ").concat(u.length-b.length," styles left on stack that should no longer be there"))}return a=u.reduceRight(function(j,ne){return j+Yu(i(ne.style)).end},a),a},Sf=function(t){return function(r){return typeof t=="function"?t(r):t[r.type]}};function RB(t){return q.isValidElement(t)&&q.Children.count(t.props.children)>0}function IB(t){return gi(t!=null,"Expected block HTML value to be non-null"),typeof t=="string"?t:q.isValidElement(t)?RB(t)?Dn.renderToStaticMarkup(t):Ha(t):Object.prototype.hasOwnProperty.call(t,"element")&&q.isValidElement(t.element)?Object.assign({},t,Ha(t.element)):(gi(Object.prototype.hasOwnProperty.call(t,"start")&&Object.prototype.hasOwnProperty.call(t,"end"),"convertToHTML: received block information without either a ReactElement or an object with start/end tags"),t)}function qa(t,r){if(gi(t!=null,"Expected block HTML value to be non-null"),typeof t.nest=="function"){var i=Ha(t.nest(r)),a=i.start,u=i.end;return Object.assign({},t,{nestStart:a,nestEnd:u})}if(q.isValidElement(t.nest)){var f=Ha(t.nest),g=f.start,y=f.end;return Object.assign({},t,{nestStart:g,nestEnd:y})}return gi(Object.prototype.hasOwnProperty.call(t,"nestStart")&&Object.prototype.hasOwnProperty.call(t,"nestEnd"),"convertToHTML: received block information without either a ReactElement or an object with start/end tags"),t}var jB=["1","a","i"];const Sv={unstyled:q.createElement("p",null),paragraph:q.createElement("p",null),"header-one":q.createElement("h1",null),"header-two":q.createElement("h2",null),"header-three":q.createElement("h3",null),"header-four":q.createElement("h4",null),"header-five":q.createElement("h5",null),"header-six":q.createElement("h6",null),"code-block":q.createElement("pre",null),blockquote:q.createElement("blockquote",null),"unordered-list-item":{element:q.createElement("li",null),nest:q.createElement("ul",null)},"ordered-list-item":{element:q.createElement("li",null),nest:function(t){var r=jB[t%3];return q.createElement("ol",{type:r})}},media:q.createElement("figure",null),atomic:q.createElement("figure",null)};var TB=function(t,r){return r},kv=function(t){var r=t.styleToHTML,i=r===void 0?{}:r,a=t.blockToHTML,u=a===void 0?{}:a,f=t.entityToHTML,g=f===void 0?TB:f;return function(y){gi(y!=null,"Expected contentState to be non-null");var b;u.__isMiddleware===!0?b=u(Sf(Sv)):b=bv(Sf(u),Sf(Sv));var k=cv.convertToRaw(y),D=[],P=k.blocks.map(function(L){var T=L.type,F=L.depth,R="",j="",ne=b(L);if(!ne)throw new Error("convertToHTML: missing HTML definition for block with type ".concat(L.type));if(!ne.nest)R=D.reduceRight(function(_e,Ie){return _e+qa(b(Ie),F).nestEnd},""),D=[];else for(;F+1!==D.length||T!==D[F].type;)if(F+1===D.length){var Y=D[F];R+=qa(b(Y),F).nestEnd,j+=qa(b(L),F).nestStart,D[F]=L}else if(F+1<D.length){var W=D[D.length-1];R+=qa(b(W),F).nestEnd,D=D.slice(0,-1)}else j+=qa(b(L),F).nestStart,D.push(L);var J=KB(NB(xB(L),k.entityMap,g),i),le=IB(b(L)),Se;return typeof le=="string"?Se=le:Se=le.start+J+le.end,J.length===0&&Object.prototype.hasOwnProperty.call(le,"empty")&&(q.isValidElement(le.empty)?Se=Dn.renderToStaticMarkup(le.empty):Se=le.empty),R+j+Se}).join("");return P=D.reduce(function(L,T){return L+qa(b(T),T.depth).nestEnd},P),P}};const zB=function(){for(var t=arguments.length,r=new Array(t),i=0;i<t;i++)r[i]=arguments[i];return r.length===1&&Object.prototype.hasOwnProperty.call(r[0],"_map")&&r[0].getBlockMap!=null?kv({}).apply(void 0,r):kv.apply(void 0,r)};var kf="/home/travis/build/20minutes/hela/src/components/molecules/Article/ArticleVideo/ArticleVideo.tsx";const HB=({html:t,caption:r=""})=>q.createElement("figure",{className:"c-media",role:"group",__self:void 0,__source:{fileName:kf,lineNumber:10,columnNumber:3}},q.createElement("div",{className:"c-media__content c-media__content--video",dangerouslySetInnerHTML:{__html:t},__self:void 0,__source:{fileName:kf,lineNumber:11,columnNumber:5}}),r&&q.createElement(un,{as:"figcaption",size:"xs",mt:"s",color:"grey-300",className:"c-media__caption",__self:void 0,__source:{fileName:kf,lineNumber:18,columnNumber:7}},r));var Wu="/home/travis/build/20minutes/hela/src/helpers/draftjsHtmlHelper.tsx";const qB=t=>(t.entityMap===void 0&&(t.entityMap={}),zB({styleToHTML:r=>{switch(r){case"ITALIC":return q.createElement(un,{as:"span",italic:!0,__self:void 0,__source:{fileName:Wu,lineNumber:19,columnNumber:18}});case"BOLD":return q.createElement(un,{as:"span",weight:"bold",__self:void 0,__source:{fileName:Wu,lineNumber:21,columnNumber:18}});case"GRAY":return q.createElement(un,{as:"span",color:"grey-500",__self:void 0,__source:{fileName:Wu,lineNumber:23,columnNumber:18}});case"RED":case"BLUE":case"PURPLE":case"PINK":return q.createElement(un,{as:"span",color:r.toLowerCase(),__self:void 0,__source:{fileName:Wu,lineNumber:28,columnNumber:18}});default:return null}},blockToHTML:r=>{switch(r.type){case"unordered-list-item":return{start:"<li>",end:"</li>",nest:"<ul>",nestStart:"<ul>",nestEnd:"</ul>"};case"ordered-list-item":return{start:"<li>",end:"</li>",nest:"<ol>",nestStart:"<ol>",nestEnd:"</ol>"};case"blockquote":return Dn.renderToStaticMarkup(q.createElement("blockquote",{},r.text));default:return null}},entityToHTML:(r,i)=>{switch(r.type){case"button":case"LINK":{const a=r.data.buttonProps||r.data;return Dn.renderToStaticMarkup(q.createElement(Dv,{href:a.url,rel:a.nofollow&&"nofollow"||a.sponsored&&"sponsored"||void 0,target:a.targetBlank?"_blank":void 0,variant:r.type==="button"?"primary":void 0,children:a.label?a.label:i}))}case"article":return Dn.renderToStaticMarkup(q.createElement(vF,{label:"Lire Aussi",title:r.data.articleProps.meta.title,link:r.data.articleProps.meta.canonical,isTargetBlank:r.data.isTargetBlank,isNofollow:r.data.isNofollow,isSponsored:r.data.isSponsored}));case"html":return Dn.renderToStaticMarkup(q.createElement("div",{dangerouslySetInnerHTML:{__html:r.data.htmlProps.html}}));case"image":return Dn.renderToStaticMarkup(q.createElement(BF,{type:Ma.photo,src:r.data.imageProps.src,caption:r.data.imageProps.meta.caption}));case"digiteka":return Dn.renderToStaticMarkup(q.createElement(HB,{html:r.data.videoProps.html}));case"iframely":return Dn.renderToStaticMarkup(q.createElement(UB,{html:r.data.embedProps.html}));default:return i}}})(cv.convertFromRaw(t)));function Mn(t){return q.forwardRef(t)}var xv="/home/travis/build/20minutes/hela/src/components/atoms/Button/Button.tsx";const ca=Mn(({as:t="button",variant:r="primary",children:i,iconProps:a,...u},f)=>q.createElement(fn,{...u,as:t,ref:f,alignItems:"center",gap:"xxs",className:st("c-btn",{[`c-btn--${r}`]:r},u?.className),__self:void 0,__source:{fileName:xv,lineNumber:22,columnNumber:5}},a&&q.createElement(No,{...a,__self:void 0,__source:{fileName:xv,lineNumber:30,columnNumber:21}}),i));ca.displayName="Button";var Gu="/home/travis/build/20minutes/hela/src/components/atoms/Divider/Divider.tsx";Mn(({text:t,color:r="black",thickness:i="thin",...a},u)=>{const f=q.createElement(Nv,{bg:r,align:"center",className:st("c-divider__line",{[`c-divider__line--${i}`]:i!=="thin"}),__self:void 0,__source:{fileName:Gu,lineNumber:15,columnNumber:7}});return q.createElement(fn,{...a,ref:u,className:st("c-divider",{"c-divider--has-text":!!t},a?.className),__self:void 0,__source:{fileName:Gu,lineNumber:25,columnNumber:7}},t?q.createElement(q.Fragment,null,f,q.createElement(Nv,{px:"xxs-2",className:"c-divider__text",__self:void 0,__source:{fileName:Gu,lineNumber:37,columnNumber:13}},q.createElement(un,{size:"xxs",color:r,textTransform:"uppercase",__self:void 0,__source:{fileName:Gu,lineNumber:38,columnNumber:15}},t)),f):f)});var AB="/home/travis/build/20minutes/hela/src/components/atoms/Embed/Embed.tsx";const UB=({html:t})=>q.createElement("div",{dangerouslySetInnerHTML:{__html:t},__self:void 0,__source:{fileName:AB,lineNumber:8,columnNumber:3}});var xf="/home/travis/build/20minutes/hela/src/components/atoms/Icon/Icon.tsx";const No=Mn(({name:t,size:r=28,withBorder:i=!1,isRounded:a=!1,...u},f)=>{const g=Array.isArray(r)?r?.[0]:r,y=Array.isArray(r)?r?.[1]:r;return q.createElement(jn,{...u,ref:f,className:st("c-icon",i&&"c-icon--withBorder",a&&"c-icon--isRounded",u?.className),__self:void 0,__source:{fileName:xf,lineNumber:100,columnNumber:7}},q.createElement("svg",{width:g,height:y,__self:void 0,__source:{fileName:xf,lineNumber:110,columnNumber:9}},q.createElement("use",{xlinkHref:`#${t}`,__self:void 0,__source:{fileName:xf,lineNumber:111,columnNumber:11}})))});var VB="/home/travis/build/20minutes/hela/src/components/atoms/Img/Img.tsx";const Ev=({src:t="",defaultFormat:r,formats:i,alt:a="",sizes:u,...f})=>{const g=r.split("x"),y=g[0],b=g[1];let k,D=`data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='${y}'%20height='${b}'%3E%3C/svg%3E`;return t&&(D=t.replace(/%format/,r),i!==void 0&&i.length>0&&(k=i.map(P=>`${t.replace(/%format/,P)} ${P.split("x")[0]}w`))),q.createElement(jn,{...f,as:"img",width:y,height:b,src:D,srcSet:k&&k.join(", "),sizes:u||void 0,alt:a,className:st("c-img",f?.className),__self:void 0,__source:{fileName:VB,lineNumber:36,columnNumber:5}})};var QB="/home/travis/build/20minutes/hela/src/components/atoms/InlineSeparator/InlineSeparator.tsx";const $B=({size:t,...r})=>q.createElement(un,{as:"span",size:t||"s",...r,__self:void 0,__source:{fileName:QB,lineNumber:5,columnNumber:3}},"\u2022");var Do="/home/travis/build/20minutes/hela/src/components/atoms/Input/Input.tsx";Mn(({id:t,className:r,color:i,required:a,label:u,icon:f,positionIcon:g="left",isIconButton:y=!1,iconButtonProps:b,variant:k,msg:D,msgProps:P,...L},T)=>q.createElement("div",{ref:T,className:"c-input",__self:void 0,__source:{fileName:Do,lineNumber:39,columnNumber:5}},u&&q.createElement("label",{htmlFor:t,className:"c-input__label",__self:void 0,__source:{fileName:Do,lineNumber:41,columnNumber:9}},u,a&&q.createElement("abbr",{className:"c-input__label__abbr",title:"(ce champ est obligatoire)",__self:void 0,__source:{fileName:Do,lineNumber:44,columnNumber:13}},"*")),q.createElement("div",{className:"c-input-container",__self:void 0,__source:{fileName:Do,lineNumber:50,columnNumber:7}},f&&(y?q.createElement(ca,{className:st("c-input-container__icon",`c-input-container__icon--${g}`),iconProps:{name:f,size:18},variant:"ghost",color:i||"black",...b,__self:void 0,__source:{fileName:Do,lineNumber:53,columnNumber:13}}):q.createElement(No,{className:st("c-input-container__icon",`c-input-container__icon--${g}`),name:f,size:18,__self:void 0,__source:{fileName:Do,lineNumber:67,columnNumber:13}})),q.createElement("input",{id:t,className:st("c-input-container__input",{[`c-input-container__input--has-icon--${g}`]:f,[`c-input-container__input--${k}`]:k},r),required:a,...L,__self:void 0,__source:{fileName:Do,lineNumber:76,columnNumber:9}})),D&&q.createElement(un,{dangerouslySetInnerHTML:{__html:D},role:"alert",...P,__self:void 0,__source:{fileName:Do,lineNumber:90,columnNumber:15}})));var Ef="/home/travis/build/20minutes/hela/src/components/atoms/Label/Label.tsx";const XB=({children:t,bg:r,color:i,hasDot:a=!1,isUppercase:u=!0,size:f,className:g,...y})=>q.createElement(fn,{inline:!0,p:r?"xxs-2":void 0,bg:r,color:i,className:st("c-label",g),alignItems:"center",...y,__self:void 0,__source:{fileName:Ef,lineNumber:24,columnNumber:3}},a&&q.createElement($B,{mr:"xxs-2",size:f||"xxs",__self:void 0,__source:{fileName:Ef,lineNumber:33,columnNumber:16}}),q.createElement(un,{as:"span",size:f||"xxs",weight:"bold",textTransform:u?"uppercase":void 0,__self:void 0,__source:{fileName:Ef,lineNumber:34,columnNumber:5}},t)),ZB=t=>t.replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[\s_]+/g,"-").toLowerCase(),Ov=t=>{if(t.propValue!==void 0){if(typeof t.propValue!="boolean"){const r=ZB(typeof t.propValue=="number"?t.propValue.toString():t.propValue);return t.className?`${t.className}-${r}@${t.defaultModifier}`:`${r}@${t.defaultModifier}`}if(!t.className)throw new Error('It is necessary to define the argument "className" !');return`${t.className}@${t.defaultModifier}`}},ln=t=>{if(t.propValue&&["boolean","string","number"].includes(typeof t.propValue)||!t.propValue){const r=Ov({className:t.className,defaultModifier:t.defaultModifier||"xs",propValue:t.propValue});return r?[r]:[]}return Object.entries(t.propValue).reduce((r,[i,a])=>{const u=Ov({className:t.className,defaultModifier:i,propValue:a});return u&&r.push(u),r},[])},es=t=>typeof t.props=="object"?Object.keys(t.props).reduce((r,i)=>(t.systemPropNames.includes(i)||(r[i]=t.props[i]),r),{}):{},JB=t=>st(...ln({className:"bg",defaultModifier:"light",propValue:t.bg}),...ln({className:"color",defaultModifier:"light",propValue:t.color})),YB=t=>st(Object.entries(t).filter(([r])=>Object.keys(np).includes(r)).reduce((r,[i,a])=>(r.push(...ln({className:i,propValue:a})),r),[])),WB=t=>st(Object.entries(t).filter(([r])=>Object.keys(tp).includes(r)).reduce((r,[i,a])=>(r.push(...ln({className:i,propValue:a})),r),[])),GB=({textAlign:t,weight:r,textTransform:i,textDecoration:a,italic:u,fontFamily:f})=>st(ln({className:"text",propValue:t}),ln({className:"font-weight",propValue:r}),{[`text-transform-${i}`]:!!i,[`text-decoration-${a}`]:!!a,"text-italic":!!u,[`font-${f}`]:!!f}),eF=t=>st(YB(t),JB(t),WB(t)),tF=t=>st(...ln({propValue:t.align,className:"self"})),nF=t=>st(...ln({propValue:t.alignItems,className:"items"}),...ln({propValue:t.alignContent,className:"content"}),...ln({propValue:t.justifyContent,className:"justify"}),...ln({propValue:t.gap,className:"gap"}),...ln({propValue:t.gapX,className:"gap-x"}),...ln({propValue:t.gapY,className:"gap-y"})),rF=({inline:t=!1,direction:r,wrap:i,...a})=>st(...ln({propValue:t,className:t?"inline-flex":"flex"}),...ln({propValue:r,className:"direction"}),...ln({propValue:i}),nF(a)),iF=({basis:t,shrink:r,grow:i,...a})=>st(...ln({propValue:t,className:"basis"}),...ln({propValue:r,className:"shrink"}),...ln({propValue:i,className:"grow"}),tF(a));var oF="/home/travis/build/20minutes/hela/src/components/atoms/Layout/Box/Box.tsx";const jn=Mn(({as:t="div",children:r,...i},a)=>q.createElement(t,{...es({props:i,systemPropNames:Object.keys(T0)}),ref:a,className:st(eF(i),i?.className),__self:void 0,__source:{fileName:oF,lineNumber:12,columnNumber:3}},r));jn.displayName="Box";var aF="/home/travis/build/20minutes/hela/src/components/atoms/Layout/Flex/Flex.tsx";const fn=Mn(({as:t="div",children:r,...i},a)=>q.createElement(jn,{...es({props:i,systemPropNames:Object.keys(R0)}),as:t,ref:a,className:st(rF(i),i?.className),__self:void 0,__source:{fileName:aF,lineNumber:13,columnNumber:3}},r));var lF="/home/travis/build/20minutes/hela/src/components/atoms/Layout/Flex/FlexItem/FlexItem.tsx";const Nv=Mn(({as:t="div",children:r,...i},a)=>q.createElement(jn,{...es({props:i,systemPropNames:Object.keys(K0)}),as:t,ref:a,className:st(iF(i),i?.className),__self:void 0,__source:{fileName:lF,lineNumber:13,columnNumber:5}},r));var uF="/home/travis/build/20minutes/hela/src/components/atoms/Link/Link.tsx";const Dv=Mn(({as:t="a",children:r,color:i,variant:a,...u},f)=>{if(a&&i)throw new Error("You can't use color and variant props together");return q.createElement(jn,{...u,as:t,ref:f,color:a?void 0:i||"ultramarine",className:st("c-link",{[`c-btn c-btn--${a}`]:a&&!i},u?.className),__self:void 0,__source:{fileName:uF,lineNumber:18,columnNumber:7}},r)});var sF=['a[href]:not([tabindex^="-"])','area[href]:not([tabindex^="-"])','input:not([type="hidden"]):not([type="radio"]):not([disabled]):not([tabindex^="-"])','input[type="radio"]:not([disabled]):not([tabindex^="-"])','select:not([disabled]):not([tabindex^="-"])','textarea:not([disabled]):not([tabindex^="-"])','button:not([disabled]):not([tabindex^="-"])','iframe:not([tabindex^="-"])','audio[controls]:not([tabindex^="-"])','video[controls]:not([tabindex^="-"])','[contenteditable]:not([tabindex^="-"])','[tabindex]:not([tabindex^="-"])'],cF="Tab",fF="Escape";function Fi(t){this._show=this.show.bind(this),this._hide=this.hide.bind(this),this._maintainFocus=this._maintainFocus.bind(this),this._bindKeypress=this._bindKeypress.bind(this),this.$el=t,this.shown=!1,this._id=this.$el.getAttribute("data-a11y-dialog")||this.$el.id,this._previouslyFocused=null,this._listeners={},this.create()}Fi.prototype.create=function(){this.$el.setAttribute("aria-hidden",!0),this.$el.setAttribute("aria-modal",!0),this.$el.setAttribute("tabindex",-1),this.$el.hasAttribute("role")||this.$el.setAttribute("role","dialog"),this._openers=jl('[data-a11y-dialog-show="'+this._id+'"]'),this._openers.forEach(function(r){r.addEventListener("click",this._show)}.bind(this));const t=this.$el;return this._closers=jl("[data-a11y-dialog-hide]",this.$el).filter(function(r){return r.closest('[aria-modal="true"], [data-a11y-dialog]')===t}).concat(jl('[data-a11y-dialog-hide="'+this._id+'"]')),this._closers.forEach(function(r){r.addEventListener("click",this._hide)}.bind(this)),this._fire("create"),this},Fi.prototype.show=function(t){return this.shown?this:(this._previouslyFocused=document.activeElement,this.$el.removeAttribute("aria-hidden"),this.shown=!0,Mv(this.$el),document.body.addEventListener("focus",this._maintainFocus,!0),document.addEventListener("keydown",this._bindKeypress),this._fire("show",t),this)},Fi.prototype.hide=function(t){return this.shown?(this.shown=!1,this.$el.setAttribute("aria-hidden","true"),this._previouslyFocused&&this._previouslyFocused.focus&&this._previouslyFocused.focus(),document.body.removeEventListener("focus",this._maintainFocus,!0),document.removeEventListener("keydown",this._bindKeypress),this._fire("hide",t),this):this},Fi.prototype.destroy=function(){return this.hide(),this._openers.forEach(function(t){t.removeEventListener("click",this._show)}.bind(this)),this._closers.forEach(function(t){t.removeEventListener("click",this._hide)}.bind(this)),this._fire("destroy"),this._listeners={},this},Fi.prototype.on=function(t,r){return typeof this._listeners[t]>"u"&&(this._listeners[t]=[]),this._listeners[t].push(r),this},Fi.prototype.off=function(t,r){var i=(this._listeners[t]||[]).indexOf(r);return i>-1&&this._listeners[t].splice(i,1),this},Fi.prototype._fire=function(t,r){var i=this._listeners[t]||[],a=new CustomEvent(t,{detail:r});this.$el.dispatchEvent(a),i.forEach(function(u){u(this.$el,r)}.bind(this))},Fi.prototype._bindKeypress=function(t){const r=document.activeElement;r&&r.closest('[aria-modal="true"]')!==this.$el||(this.shown&&t.key===fF&&this.$el.getAttribute("role")!=="alertdialog"&&(t.preventDefault(),this.hide(t)),this.shown&&t.key===cF&&hF(this.$el,t))},Fi.prototype._maintainFocus=function(t){this.shown&&!t.target.closest('[aria-modal="true"]')&&!t.target.closest("[data-a11y-dialog-ignore-focus-trap]")&&Mv(this.$el)};function dF(t){return Array.prototype.slice.call(t)}function jl(t,r){return dF((r||document).querySelectorAll(t))}function Mv(t){var r=t.querySelector("[autofocus]")||t;r.focus()}function pF(t){return jl(sF.join(","),t).filter(function(r){return!!(r.offsetWidth||r.offsetHeight||r.getClientRects().length)})}function hF(t,r){var i=pF(t),a=i.indexOf(document.activeElement);r.shiftKey&&a===0?(i[i.length-1].focus(),r.preventDefault()):!r.shiftKey&&a===i.length-1&&(i[0].focus(),r.preventDefault())}function Of(){jl("[data-a11y-dialog]").forEach(function(t){new Fi(t)})}typeof document<"u"&&(document.readyState==="loading"?document.addEventListener("DOMContentLoaded",Of):window.requestAnimationFrame?window.requestAnimationFrame(Of):window.setTimeout(Of,16));var mF="/home/travis/build/20minutes/hela/src/components/atoms/Pipe/Pipe.tsx";function gF(){return q.createElement("div",{className:"c-pipe",__self:this,__source:{fileName:mF,lineNumber:4,columnNumber:10}})}var ts="/home/travis/build/20minutes/hela/src/components/atoms/ReadAlso/ReadAlso.tsx";const vF=({title:t,link:r,label:i,isTargetBlank:a,isNofollow:u,isSponsored:f})=>q.createElement("div",{className:"c-read-also",__self:void 0,__source:{fileName:ts,lineNumber:21,columnNumber:3}},q.createElement(XB,{color:"grey-600",__self:void 0,__source:{fileName:ts,lineNumber:22,columnNumber:5}},i),q.createElement(gF,{__self:void 0,__source:{fileName:ts,lineNumber:23,columnNumber:5}}),q.createElement(Dv,{href:r,className:"c-read-also__link",target:a?"_blank":void 0,rel:u&&"isNofollow"||f&&"isSponsored"||void 0,__self:void 0,__source:{fileName:ts,lineNumber:24,columnNumber:5}},t)),yF=()=>{const t=document.documentElement.scrollTop;let r=document.documentElement.scrollHeight-document.documentElement.clientHeight;const i=document.querySelector(".js-limit-scroll-progress-bar");i&&(r=i.scrollHeight-document.documentElement.clientHeight+(window.pageYOffset+i.getBoundingClientRect().top));const a=Math.round(t/r*100),u=document.querySelector(".c-progress__bar");u&&(u.style.width=`${a}%`,a>=100&&(u.style.width="100%"))},bF=()=>{document.querySelector(".c-progress")&&window.addEventListener("scroll",yF)};var Lv="/home/travis/build/20minutes/hela/src/components/atoms/ScrollProgressBar/ScrollProgressBar.tsx";Mn(({variant:t,progressColor:r="ultramarine"},i)=>(nc(()=>{bF()},[]),q.createElement(jn,{ref:i,bg:"grey-100",className:st("c-progress",{[`c-progress--${t}`]:t}),__self:void 0,__source:{fileName:Lv,lineNumber:21,columnNumber:7}},q.createElement(jn,{className:"c-progress__bar",bg:r,style:{width:"0%"},__self:void 0,__source:{fileName:Lv,lineNumber:26,columnNumber:9}}))));const _F=({navigatedList:t,nextBtn:r,prevBtn:i})=>{t&&(t.scrollLeft>0&&(t.scrollLeft+t.clientWidth<t.scrollWidth&&r.classList.add("o-nav-button--visible"),r.classList.remove("o-nav-button--visible"),i.classList.add("o-nav-button--visible")),t.clientWidth<t.scrollWidth?r.classList.add("o-nav-button--visible"):(i.classList.remove("o-nav-button--visible"),r.classList.remove("o-nav-button--visible")),t.scrollLeft+t.clientWidth===t.scrollWidth&&r.classList.remove("o-nav-button--visible"))},wF=({navigatedList:t,nextBtn:r,prevBtn:i,sliderVariant:a})=>{if(t)if(t.scrollWidth-t.clientWidth>t.clientWidth){let u=t.scrollLeft;switch(a){case"partners":u+=t.clientWidth+32;break;case"rubrics":u+=t.clientWidth-36;break;default:u+=Math.ceil(t.clientWidth*.6);break}t.scrollTo({left:u,behavior:"smooth"}),i.classList.add("o-nav-button--visible"),u+t.clientWidth>=t.scrollWidth&&r.classList.remove("o-nav-button--visible")}else{const u=t.scrollWidth-t.clientWidth;t.scrollTo({left:u,behavior:"smooth"}),r.classList.remove("o-nav-button--visible"),i.classList.add("o-nav-button--visible")}},SF=({navigatedList:t,nextBtn:r,prevBtn:i,sliderVariant:a})=>{if(t)if(t.clientWidth<t.scrollLeft){let u=t.scrollLeft;switch(a){case"partners":u-=t.clientWidth+32;break;case"rubrics":u-=t.clientWidth-36;break;default:u-=Math.ceil(t.clientWidth*.6);break}t.scrollTo({left:u,behavior:"smooth"}),r.classList.add("o-nav-button--visible"),u===0&&i.classList.remove("o-nav-button--visible")}else t.scrollTo({left:0,behavior:"smooth"}),i.classList.remove("o-nav-button--visible"),t.clientWidth<t.scrollWidth&&r.classList.add("o-nav-button--visible")},kF=({navigatedList:t,nextBtn:r,prevBtn:i})=>{_F({navigatedList:t,nextBtn:r,prevBtn:i})},xF=()=>{const t=document.querySelectorAll(".js-navigation-container");for(const r of Array.from(t)){const{sliderVariant:i}=r.dataset;if(r){const a=r.querySelector(".js-navigation-container__list"),u=r.querySelector(".o-nav-button--next-button"),f=r.querySelector(".o-nav-button--previous-button");a&&a.clientWidth<a.scrollWidth&&u?.classList.add("o-nav-button--visible"),u?.addEventListener("click",wF.bind(!1,{navigatedList:a,nextBtn:u,prevBtn:f,sliderVariant:i})),f?.addEventListener("click",SF.bind(!1,{navigatedList:a,nextBtn:u,prevBtn:f,sliderVariant:i}))}}},EF=()=>{const t=document.querySelectorAll(".js-navigation-container");for(const r of Array.from(t)){const{sliderVariant:i}=r.dataset;if(r){const a=r.querySelector(".js-navigation-container__list"),u=r.querySelector(".o-nav-button--next-button"),f=r.querySelector(".o-nav-button--previous-button");window.addEventListener("resize",kF.bind(!1,{navigatedList:a,nextBtn:u,prevBtn:f,sliderVariant:i}))}}};var Aa="/home/travis/build/20minutes/hela/src/components/atoms/Slider/Slider.tsx";const OF=t=>{switch(t){case"primary":return{light:"white",dark:"grey-700"};case"secondary":return{light:"grey-100",dark:"grey-700"};default:return}};Mn(({layout:t,children:r,itemsGap:i,buttonsBackground:a,sliderVariant:u="default",...f},g)=>(nc(()=>{t===hl.DESKTOP&&(xF(),EF())},[]),q.createElement(jn,{...f,ref:g,className:st("c-slider js-navigation-container",f?.className),"data-slider-variant":u,__self:void 0,__source:{fileName:Aa,lineNumber:40,columnNumber:7}},q.createElement(jn,{className:"c-slider__viewport js-navigation-container__list",__self:void 0,__source:{fileName:Aa,lineNumber:46,columnNumber:9}},q.createElement(fn,{className:"c-slider__list",alignItems:"center",gap:i,__self:void 0,__source:{fileName:Aa,lineNumber:47,columnNumber:11}},r)),t===hl.DESKTOP&&q.createElement(jn,{className:"c-slider__buttons-container",__self:void 0,__source:{fileName:Aa,lineNumber:52,columnNumber:11}},Array.from(["previous","next"],y=>q.createElement(jn,{key:y,bg:a&&OF(a),pr:a&&y==="previous"?"m":void 0,pl:a&&y==="next"?"m":void 0,className:st(`c-slider__button-container c-slider__button-container--${y} o-nav-button o-nav-button--${y}-button`,{"c-slider__button-container--has-background":a},{[`c-slider__button-container--${u}`]:u}),__self:void 0,__source:{fileName:Aa,lineNumber:54,columnNumber:15}},q.createElement(ca,{variant:"round",iconProps:{name:"chevron",size:12},__self:void 0,__source:{fileName:Aa,lineNumber:67,columnNumber:17}})))))));var ns="/home/travis/build/20minutes/hela/src/components/atoms/Switch/Switch.tsx";const NF=Mn(({id:t,className:r,label:i,isChecked:a=!1},u)=>q.createElement("div",{className:"switch",__self:void 0,__source:{fileName:ns,lineNumber:14,columnNumber:5}},q.createElement("label",{htmlFor:t,className:"switch-label",__self:void 0,__source:{fileName:ns,lineNumber:15,columnNumber:7}},i),q.createElement("button",{type:"button",ref:u,id:t,className:st("switch-button",r),role:"switch","aria-checked":a,__self:void 0,__source:{fileName:ns,lineNumber:18,columnNumber:7}},q.createElement("span",{"aria-hidden":a,__self:void 0,__source:{fileName:ns,lineNumber:26,columnNumber:9}},a?"on":"off"))));NF.displayName="Switch";var DF="/home/travis/build/20minutes/hela/src/components/atoms/Tag/Tag.tsx";Mn(({as:t="a",id:r,link:i,variant:a="primary",children:u,...f},g)=>q.createElement(jn,{...f,as:t,ref:g,href:i,className:st("c-tags",`c-tags--${a}`,f?.className),"data-id":r,__self:void 0,__source:{fileName:DF,lineNumber:15,columnNumber:5}},u));var MF="/home/travis/build/20minutes/hela/src/components/atoms/Typography/Typography.tsx";const Cv=Mn(({as:t="p",children:r,...i},a)=>q.createElement(jn,{...es({props:i,systemPropNames:Object.keys(z0)}),as:t,ref:a,className:st(GB(i),i?.className),__self:void 0,__source:{fileName:MF,lineNumber:14,columnNumber:5}},r));var LF="/home/travis/build/20minutes/hela/src/components/atoms/Typography/Heading/Heading.tsx";const Nf=Mn(({as:t="h1",size:r,children:i,...a},u)=>q.createElement(Cv,{...a,as:t,ref:u,className:st(ln({className:"heading",propValue:r}),a?.className),__self:void 0,__source:{fileName:LF,lineNumber:15,columnNumber:5}},i));var CF="/home/travis/build/20minutes/hela/src/components/atoms/Typography/Text/Text.tsx";const un=Mn(({as:t="p",size:r,children:i,...a},u)=>q.createElement(Cv,{...a,as:t,ref:u,className:st(ln({className:"text",propValue:r}),a?.className),__self:void 0,__source:{fileName:CF,lineNumber:14,columnNumber:3}},i));var Gi="/home/travis/build/20minutes/hela/src/components/molecules/Article/ArticleCover/ArticleCover.tsx";const BF=({type:t=Ma.photo,src:r,caption:i,source:a,credits:u,isCaptionInside:f=!1,layout:g=hl.MOBILE})=>{let y="320x204",b="100vw";const k=["1444x920","722x460","640x408","320x204"];return g===hl.DESKTOP&&(y="722x460",b="(min-width: 45.125rem) 45.125rem, 100vw"),q.createElement("figure",{className:"c-media",__self:void 0,__source:{fileName:Gi,lineNumber:35,columnNumber:5}},t===Ma.photo&&q.createElement("div",{className:"c-media__content",__self:void 0,__source:{fileName:Gi,lineNumber:37,columnNumber:9}},q.createElement(Ev,{src:r,defaultFormat:y,formats:k,sizes:b,alt:i,__self:void 0,__source:{fileName:Gi,lineNumber:38,columnNumber:11}})),[Ma.video,Ma.podcast].includes(t)&&q.createElement("div",{className:"c-media__content c-media__content--video",dangerouslySetInnerHTML:{__html:r},__self:void 0,__source:{fileName:Gi,lineNumber:48,columnNumber:9}}),i&&q.createElement(un,{as:"figcaption",size:"xs",mt:f?"0":"s",px:f?"l":"0",pb:f?"l":"0",color:f?"white":"grey-300",className:st("c-media__caption",{"c-media__caption--inside":f}),__self:void 0,__source:{fileName:Gi,lineNumber:56,columnNumber:9}},i,u&&q.createElement(q.Fragment,null,q.createElement(un,{as:"span",color:f?"white":"grey-300",size:"xs",mx:"xxs",__self:void 0,__source:{fileName:Gi,lineNumber:70,columnNumber:15}},"-"),q.createElement(un,{as:"span",color:f?"white":"grey-300",size:"xxs",__self:void 0,__source:{fileName:Gi,lineNumber:73,columnNumber:15}},u)),a&&q.createElement(q.Fragment,null,q.createElement(un,{as:"span",color:f?"white":"grey-300",size:"xs",mx:"xxs",__self:void 0,__source:{fileName:Gi,lineNumber:80,columnNumber:15}},"-"),q.createElement(un,{as:"span",color:f?"white":"grey-300",size:"xxs",__self:void 0,__source:{fileName:Gi,lineNumber:83,columnNumber:15}},a))))};var FF="/home/travis/build/20minutes/hela/src/components/molecules/Card/Card/Card.tsx";Mn(({as:t="a",link:r,children:i,...a},u)=>q.createElement(fn,{...a,as:t,ref:u,href:r,justifyContent:a?.justifyContent||"between",className:"c-card",__self:void 0,__source:{fileName:FF,lineNumber:12,columnNumber:3}},i));const PF=(t,r)=>{r.stopImmediatePropagation(),r.preventDefault();const i=r.currentTarget,a=document.querySelectorAll(".js-collapse__button"),u=document.querySelectorAll('[role="tabpanel"]'),f=i.getAttribute("aria-controls"),g=Object.values(u).find(y=>y.id===f);if(i.getAttribute("aria-expanded")==="true"){i.setAttribute("aria-expanded","false"),g?.setAttribute("aria-hidden","true");return}a.forEach(y=>{y.setAttribute("aria-expanded","false")}),u.forEach(y=>{y.setAttribute("aria-hidden","true")}),i.setAttribute("aria-expanded","true"),g&&g.removeAttribute("aria-hidden")},KF=(t=document.querySelector(".js-collapse__button"))=>{t&&document.querySelectorAll(".c-collapse__button").forEach(r=>{r.addEventListener("click",PF.bind(!1,t))})};var Tl="/home/travis/build/20minutes/hela/src/components/molecules/Collapse/Collapse.tsx";Mn(({title:t,index:r,isOpen:i,color:a,bg:u,iconProps:f,btnProps:g,children:y},b)=>{const k=q.useRef(null);return nc(()=>{k.current&&KF(k.current)},[]),q.createElement("div",{className:"c-collapse js-collapse",ref:b,__self:void 0,__source:{fileName:Tl,lineNumber:29,columnNumber:7}},q.createElement(jn,{...g,ref:k,as:"button",type:"button",id:`c-collapse__button-${r}`,className:st("c-collapse__button js-collapse__button",g?.className),"aria-controls":`c-collapse__content-${r}`,"aria-expanded":i||"false",__self:void 0,__source:{fileName:Tl,lineNumber:30,columnNumber:9}},q.createElement(Nf,{as:"h5",size:"xxs",color:a||"black",__self:void 0,__source:{fileName:Tl,lineNumber:40,columnNumber:11}},t),q.createElement(No,{...f,name:"chevron",size:16,className:st("c-collapse__icon",f?.className),__self:void 0,__source:{fileName:Tl,lineNumber:43,columnNumber:11}})),q.createElement(fn,{direction:"column",p:"m",id:`c-collapse__content-${r}`,"aria-hidden":i?!i:"true","aria-labelledby":`c-collapse__button-${r}`,bg:u||void 0,className:"c-collapse__list",role:"tabpanel",__self:void 0,__source:{fileName:Tl,lineNumber:50,columnNumber:9}},y))});var zl="/home/travis/build/20minutes/hela/src/components/molecules/Horoscope/HoroscopeTopicCard/HoroscopeTopicCard.tsx";Mn(({icon:t,title:r,content:i,...a},u)=>q.createElement(jn,{...a,ref:u,className:st("c-horoscope-topic-card",a?.className),__self:void 0,__source:{fileName:zl,lineNumber:15,columnNumber:5}},q.createElement(fn,{alignItems:"center",mb:"s",__self:void 0,__source:{fileName:zl,lineNumber:16,columnNumber:7}},q.createElement(No,{className:"c-horoscope-topic-card__icon",name:t,size:21,__self:void 0,__source:{fileName:zl,lineNumber:17,columnNumber:9}}),q.createElement(Nf,{as:"h3",size:"xs",__self:void 0,__source:{fileName:zl,lineNumber:18,columnNumber:9}},r)),q.createElement(un,{size:"m",__self:void 0,__source:{fileName:zl,lineNumber:22,columnNumber:7}},i)));var dn="/home/travis/build/20minutes/hela/src/components/molecules/InfoBanner/InfoBanner.tsx";const RF=({cover:t="https://placehold.jp/%format.png",description:r,variant:i="default",title:a,link:u,closeButton:f,...g})=>i==="framed"?typeof r=="string"?null:q.createElement(fn,{...g,className:st("c-info-banner",g?.className),color:"black",bg:"grey-100",p:"s",__self:void 0,__source:{fileName:dn,lineNumber:34,columnNumber:7}},q.createElement(fn,{className:"c-info-banner__container",gap:"s",alignItems:"start",__self:void 0,__source:{fileName:dn,lineNumber:41,columnNumber:9}},q.createElement(fn,{className:"c-info-banner__content",direction:"column",justifyContent:"between",__self:void 0,__source:{fileName:dn,lineNumber:42,columnNumber:11}},q.createElement(un,{size:"s",color:"black",dangerouslySetInnerHTML:{__html:qB(r)},__self:void 0,__source:{fileName:dn,lineNumber:43,columnNumber:13}})))):i==="alert"&&typeof r=="string"?q.createElement(fn,{...g,className:st("c-info-banner","c-info-banner--alert",g?.className),alignItems:"center",justifyContent:"center",gap:"s",color:"white",bg:"red",p:"s",__self:void 0,__source:{fileName:dn,lineNumber:59,columnNumber:7}},q.createElement(fn,{className:"c-info-banner__container",gap:"s",alignItems:"start",__self:void 0,__source:{fileName:dn,lineNumber:69,columnNumber:9}},q.createElement(fn,{as:"a",className:"c-info-banner__visual",...u||{},__self:void 0,__source:{fileName:dn,lineNumber:70,columnNumber:11}},q.createElement(Ev,{src:t,defaultFormat:"130x82",formats:["130x82"],sizes:"8.125rem",alt:a,className:"c-info-banner__cover",__self:void 0,__source:{fileName:dn,lineNumber:71,columnNumber:13}})),q.createElement(fn,{className:"c-info-banner__content",direction:"column",justifyContent:{xs:"between"},__self:void 0,__source:{fileName:dn,lineNumber:80,columnNumber:11}},q.createElement(un,{className:"c-info-banner__title",color:"red",bg:"white",px:"xxs-2",mb:"xxs-2",size:"s",weight:"bold",__self:void 0,__source:{fileName:dn,lineNumber:85,columnNumber:13}},a),q.createElement(un,{as:u?"a":void 0,size:"s",color:"white",...u||{},__self:void 0,__source:{fileName:dn,lineNumber:96,columnNumber:13}},r),f&&q.createElement(ca,{...f,variant:"ghost",className:"c-info-banner__close",__self:void 0,__source:{fileName:dn,lineNumber:100,columnNumber:15}},q.createElement(No,{name:"close",size:12,color:"white",__self:void 0,__source:{fileName:dn,lineNumber:101,columnNumber:17}}))))):q.createElement(fn,{...g,className:st("c-info-banner",g?.className),color:"black",bg:"grey-100",p:"s",__self:void 0,__source:{fileName:dn,lineNumber:111,columnNumber:5}},q.createElement(fn,{className:"c-info-banner__container",gap:"s",alignItems:"start",__self:void 0,__source:{fileName:dn,lineNumber:118,columnNumber:7}},q.createElement(fn,{className:"c-info-banner__content",direction:"column",justifyContent:{xs:"between"},__self:void 0,__source:{fileName:dn,lineNumber:119,columnNumber:9}},q.createElement(Nf,{as:"h5",size:"xxs",color:"black",mb:"xs",__self:void 0,__source:{fileName:dn,lineNumber:124,columnNumber:11}},a),q.createElement(un,{as:u?"a":void 0,size:"s",color:i==="alert"?"white":"black",...u||{},__self:void 0,__source:{fileName:dn,lineNumber:127,columnNumber:11}},typeof r=="string"?r:""),f&&q.createElement(ca,{...f,variant:"ghost",className:"c-info-banner__close",__self:void 0,__source:{fileName:dn,lineNumber:136,columnNumber:13}},q.createElement(No,{name:"close",size:12,color:"white",__self:void 0,__source:{fileName:dn,lineNumber:137,columnNumber:15}})))));var Pi="/home/travis/build/20minutes/hela/src/components/molecules/SmartBanner/SmartBanner.tsx";const IF=({installButton:t,closeButton:r})=>q.createElement(fn,{className:"c-smart-banner u-skin-darkBlue",alignItems:"center",gap:"xs",__self:void 0,__source:{fileName:Pi,lineNumber:10,columnNumber:3}},q.createElement(ca,{...r,variant:"ghost",iconProps:{name:"close",size:10},color:"white",p:"0",__self:void 0,__source:{fileName:Pi,lineNumber:11,columnNumber:5}}),q.createElement(No,{name:"logo",size:35,bg:"white",color:"ultramarine",className:"c-smart-banner__logo",__self:void 0,__source:{fileName:Pi,lineNumber:21,columnNumber:5}}),q.createElement(jn,{__self:void 0,__source:{fileName:Pi,lineNumber:22,columnNumber:5}},q.createElement(fn,{__self:void 0,__source:{fileName:Pi,lineNumber:23,columnNumber:7}},q.createElement(un,{size:"xxs",weight:"bold",className:"c-smart-banner__title",mb:"xxs-2",__self:void 0,__source:{fileName:Pi,lineNumber:24,columnNumber:9}},"20\xA0Minutes"),q.createElement(fn,{gap:"xxs-2",ml:"xxs-2",alignItems:"start",__self:void 0,__source:{fileName:Pi,lineNumber:27,columnNumber:9}},[0,1,2,3].map(i=>q.createElement(No,{name:"star",size:11,key:i,__self:void 0,__source:{fileName:Pi,lineNumber:29,columnNumber:13}})))),q.createElement(un,{size:"xxs-2",__self:void 0,__source:{fileName:Pi,lineNumber:33,columnNumber:7}},"Retrouvez l\u2019actualit\xE9 sur notre application")),q.createElement(ca,{...t,color:"ultramarine",bg:"white",className:"c-smart-banner__btn",__self:void 0,__source:{fileName:Pi,lineNumber:35,columnNumber:5}},"Installer")),Bv=(t,r,i,a="",u="",f="")=>{var g,y,b;if(!((b=(y=(g=window.ATInternet)==null?void 0:g.Tracker)==null?void 0:y.instances)!=null&&b.length))return;const k={elem:t,name:p0(r),type:i,chapter1:a,chapter2:u,chapter3:f};Object.keys(k).forEach(D=>{k[D]===""&&delete k[D]}),window.ATInternet.Tracker.instances[0].click.send(k)},rs={appBanner:{storageName:"20mnAppBanner"},breakingNews:{containerId:"c-alert-info",storageName:"20mnBreakingNews"},storageDelay:864e5},jF=()=>{const{storageName:t}=rs.appBanner,[r,i]=q.useState(ec(t)),a=q.useRef(null),u=q.useRef(null),f=q.useMemo(()=>{var g,y;return!!(!(((g=document.getElementById(rs.breakingNews.containerId))==null?void 0:g.children.length)!==0||(y=ec(rs.breakingNews.storageName))!=null&&y.opened)&&(!r||r!=null&&r.opened||r!=null&&r.time&&r.time+rs.storageDelay<Date.now()))},[r]);return q.useEffect(()=>{f&&i({opened:!0})},[f]),q.useEffect(()=>{r&&localStorage.setItem(t,JSON.stringify(r))},[r]),f?q.createElement(IF,{closeButton:{ref:a,onClick:()=>{a.current&&Bv(a.current,"close-app-banner","action"),i({opened:!1,time:new Date().getTime()})}},installButton:{ref:u,onClick:()=>{u.current&&Bv(u.current,"open-store-app-banner","action"),i({opened:!1,time:new Date().getTime()});const g=navigator?.userAgent||navigator?.platform||"unknown";window.location.href=/iPhone|iPad|iPod/i.test(g)?"https://apps.apple.com/fr/app/20-minutes-news-en-continu/id308834491":"https://play.google.com/store/apps/details?id=com.backelite.vingtminutes&hl=fr"}}}):null};function TF(t,r){const i=r||{};return i.headers=i.headers||new Headers,i.headers.append("Content-Type","application/json"),fetch(t,i).then(a=>{if(a.ok)return a;throw new Error(`Fetch error: ${a.statusText}`)}).then(a=>a.json())}var zF=Object.defineProperty,HF=Object.defineProperties,qF=Object.getOwnPropertyDescriptors,Fv=Object.getOwnPropertySymbols,AF=Object.prototype.hasOwnProperty,UF=Object.prototype.propertyIsEnumerable,Pv=(t,r,i)=>r in t?zF(t,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[r]=i,VF=(t,r)=>{for(var i in r||(r={}))AF.call(r,i)&&Pv(t,i,r[i]);if(Fv)for(var i of Fv(r))UF.call(r,i)&&Pv(t,i,r[i]);return t},QF=(t,r)=>HF(t,qF(r));const Df={appBanner:{containerId:"c-app-banner",storageName:"20mnAppBanner"},breakingNews:{storageName:"20mnBreakingNews"},storageDelay:18e4},$F=()=>{var t;const[r,i]=q.useState(ec(Df.breakingNews.storageName));q.useEffect(()=>{r&&localStorage.setItem(Df.breakingNews.storageName,JSON.stringify(r))},[r]),q.useEffect(()=>{var u;if(r&&!r.opened||r!=null&&r.opened&&r!=null&&r.time&&r.time+Df.storageDelay>new Date().getTime())return;const{apiHost:f,imgHost:g}=document.body.dataset,y=new Headers;(u=window.envVariables)!=null&&u.apiAuthKey&&y.append("auth-key",window.envVariables.apiAuthKey);const b=[`${f}/?id=getBreakingNews&variables=%7B%22brandId%22%3A%22QnJhbmQ6MjBtaW51dGVz%22%7D`,{headers:y}];TF(...b).then(k=>{var D,P,L,T,F,R,j,ne,Y,W,J,le,Se,_e,Ie,ve,ke,we;const he=(R=(F=(T=(L=(P=(D=k?.data)==null?void 0:D.brand)==null?void 0:P.node)==null?void 0:L.home)==null?void 0:T.node)==null?void 0:F.homeBreakingNews)==null?void 0:R.node,ge=(ne=(j=he?.content)==null?void 0:j.editorial_model)==null?void 0:ne.toLowerCase(),De=(W=(Y=he?.content)==null?void 0:Y[ge])==null?void 0:W.node;if(!(De!=null&&De.title)||!(De!=null&&De.url_current))throw new Error("No data found...");let je;if(he!=null&&he.with_photo&&(_e=(Se=(le=(J=De?.medias)==null?void 0:J[0])==null?void 0:le.photo)==null?void 0:Se.node)!=null&&_e.id){const Ce=atob(De.medias[0].photo.node.id).replace("Photo:","");je=`${g}/${Ce}/147x96_${(we=(ke=(ve=(Ie=De?.medias)==null?void 0:Ie.photo)==null?void 0:ve.node)==null?void 0:ke.slug)!=null?we:"media"}`}i({opened:!0,time:new Date().getTime(),data:{description:De.title,url:De.url_current,imageUrl:je}})}).catch(k=>{console.error("20mn> Error while loading the breaking news:",k)})},[]);const a=()=>{i(u=>QF(VF({},u||{}),{opened:!1}))};return r!=null&&r.opened&&r!=null&&r.data?q.createElement(RF,{variant:"alert",title:"ALERTE INFO",description:r.data.description,cover:r.data.imageUrl,link:(t=r?.data)!=null&&t.url?{href:r.data.url}:void 0,closeButton:{onClick:a}}):null},XF=()=>{const t=document.getElementById("c-alert-info");if(t){const r=Vd.createRoot(t);r&&r.render(q.createElement($F,null))}},ZF=()=>{const t=document.getElementById("c-app-banner");if(t){const r=Vd.createRoot(t);r&&r.render(q.createElement(jF,null))}},Kv=t=>{const r=document.documentElement.scrollTop,i=document.querySelector(".c-header"),a="transform .4s ease";i&&(r>i.offsetHeight?(t.style.transform="translateY(0)",t.style.transition=a):(t.style.transform="translateY(-100%)",t.style.transition=a)),window.removeEventListener("scroll",Kv.bind(!1,t))},JF=()=>{const t=document.querySelector(".c-header-mini");t&&window.addEventListener("scroll",Kv.bind(!1,t))},YF=()=>{if(document.querySelector('iframe[src*="www.ultimedia.com"], iframe[data-src*="www.ultimedia.com"]')){const t=document.createElement("script");t.async=!0,t.src="https://www.ultimedia.com/js/common/visible_player.js",document.getElementsByTagName("head")[0].appendChild(t)}},WF=()=>{YF()},Rv=()=>{u0(),w0(),N0(),L0(),F0(),WF(),XF(),ZF(),JF()};return Rv(),Ud.main=Rv,Ud}({},null,React,ReactDOM);
73
+ */var Dv;function GF(){if(Dv)return ns;Dv=1;var t=P;function r(h){for(var _="https://reactjs.org/docs/error-decoder.html?invariant="+h,N=1;N<arguments.length;N++)_+="&args[]="+encodeURIComponent(arguments[N]);return"Minified React error #"+h+"; visit "+_+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var i=null,a=0;function u(h,_){if(_.length!==0)if(512<_.length)0<a&&(h.enqueue(new Uint8Array(i.buffer,0,a)),i=new Uint8Array(512),a=0),h.enqueue(_);else{var N=i.length-a;N<_.length&&(N===0?h.enqueue(i):(i.set(_.subarray(0,N),a),h.enqueue(i),_=_.subarray(N)),i=new Uint8Array(512),a=0),i.set(_,a),a+=_.length}}function c(h,_){return u(h,_),!0}function g(h){i&&0<a&&(h.enqueue(new Uint8Array(i.buffer,0,a)),i=null,a=0)}var y=new TextEncoder;function b(h){return y.encode(h)}function w(h){return y.encode(h)}function D(h,_){typeof h.error=="function"?h.error(_):h.close()}var K=Object.prototype.hasOwnProperty,L=/^[: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]*$/,T={},F={};function R(h){return K.call(F,h)?!0:K.call(T,h)?!1:L.test(h)?F[h]=!0:(T[h]=!0,!1)}function j(h,_,N,C,Z,V,ne){this.acceptsBooleans=_===2||_===3||_===4,this.attributeName=C,this.attributeNamespace=Z,this.mustUseProperty=N,this.propertyName=h,this.type=_,this.sanitizeURL=V,this.removeEmptyString=ne}var G={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(h){G[h]=new j(h,0,!1,h,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(h){var _=h[0];G[_]=new j(_,1,!1,h[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(h){G[h]=new j(h,2,!1,h.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(h){G[h]=new j(h,2,!1,h,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(h){G[h]=new j(h,3,!1,h.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(h){G[h]=new j(h,3,!0,h,null,!1,!1)}),["capture","download"].forEach(function(h){G[h]=new j(h,4,!1,h,null,!1,!1)}),["cols","rows","size","span"].forEach(function(h){G[h]=new j(h,6,!1,h,null,!1,!1)}),["rowSpan","start"].forEach(function(h){G[h]=new j(h,5,!1,h.toLowerCase(),null,!1,!1)});var Y=/[\-:]([a-z])/g;function W(h){return h[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(h){var _=h.replace(Y,W);G[_]=new j(_,1,!1,h,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(h){var _=h.replace(Y,W);G[_]=new j(_,1,!1,h,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(h){var _=h.replace(Y,W);G[_]=new j(_,1,!1,h,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(h){G[h]=new j(h,1,!1,h.toLowerCase(),null,!1,!1)}),G.xlinkHref=new j("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(h){G[h]=new j(h,1,!1,h.toLowerCase(),null,!0,!0)});var J={animationIterationCount:!0,aspectRatio:!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},le=["Webkit","ms","Moz","O"];Object.keys(J).forEach(function(h){le.forEach(function(_){_=_+h.charAt(0).toUpperCase()+h.substring(1),J[_]=J[h]})});var Se=/["'&<>]/;function _e(h){if(typeof h=="boolean"||typeof h=="number")return""+h;h=""+h;var _=Se.exec(h);if(_){var N="",C,Z=0;for(C=_.index;C<h.length;C++){switch(h.charCodeAt(C)){case 34:_="&quot;";break;case 38:_="&amp;";break;case 39:_="&#x27;";break;case 60:_="&lt;";break;case 62:_="&gt;";break;default:continue}Z!==C&&(N+=h.substring(Z,C)),Z=C+1,N+=_}h=Z!==C?N+h.substring(Z,C):N}return h}var Ie=/([A-Z])/g,ve=/^ms-/,xe=Array.isArray,we=w("<script>"),he=w("<\/script>"),ge=w('<script src="'),De=w('<script type="module" src="'),je=w('" async=""><\/script>'),Ce=/(<\/|<)(s)(cript)/gi;function He(h,_,N,C){return""+_+(N==="s"?"\\u0073":"\\u0053")+C}function ue(h,_,N,C,Z){h=h===void 0?"":h,_=_===void 0?we:w('<script nonce="'+_e(_)+'">');var V=[];if(N!==void 0&&V.push(_,b((""+N).replace(Ce,He)),he),C!==void 0)for(N=0;N<C.length;N++)V.push(ge,b(_e(C[N])),je);if(Z!==void 0)for(C=0;C<Z.length;C++)V.push(De,b(_e(Z[C])),je);return{bootstrapChunks:V,startInlineScript:_,placeholderPrefix:w(h+"P:"),segmentPrefix:w(h+"S:"),boundaryPrefix:h+"B:",idPrefix:h,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}function fe(h,_){return{insertionMode:h,selectedValue:_}}function ae(h){return fe(h==="http://www.w3.org/2000/svg"?2:h==="http://www.w3.org/1998/Math/MathML"?3:0,null)}function Me(h,_,N){switch(_){case"select":return fe(1,N.value!=null?N.value:N.defaultValue);case"svg":return fe(2,null);case"math":return fe(3,null);case"foreignObject":return fe(1,null);case"table":return fe(4,null);case"thead":case"tbody":case"tfoot":return fe(5,null);case"colgroup":return fe(7,null);case"tr":return fe(6,null)}return 4<=h.insertionMode||h.insertionMode===0?fe(1,null):h}var Je=w("<!-- -->");function Et(h,_,N,C){return _===""?C:(C&&h.push(Je),h.push(b(_e(_))),!0)}var Ct=new Map,qe=w(' style="'),Te=w(":"),dt=w(";");function Rt(h,_,N){if(typeof N!="object")throw Error(r(62));_=!0;for(var C in N)if(K.call(N,C)){var Z=N[C];if(Z!=null&&typeof Z!="boolean"&&Z!==""){if(C.indexOf("--")===0){var V=b(_e(C));Z=b(_e((""+Z).trim()))}else{V=C;var ne=Ct.get(V);ne!==void 0||(ne=w(_e(V.replace(Ie,"-$1").toLowerCase().replace(ve,"-ms-"))),Ct.set(V,ne)),V=ne,Z=typeof Z=="number"?Z===0||K.call(J,C)?b(""+Z):b(Z+"px"):b(_e((""+Z).trim()))}_?(_=!1,h.push(qe,V,Te,Z)):h.push(dt,V,Te,Z)}}_||h.push(kt)}var It=w(" "),Ft=w('="'),kt=w('"'),en=w('=""');function Xe(h,_,N,C){switch(N){case"style":Rt(h,_,C);return;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<N.length)||N[0]!=="o"&&N[0]!=="O"||N[1]!=="n"&&N[1]!=="N"){if(_=G.hasOwnProperty(N)?G[N]:null,_!==null){switch(typeof C){case"function":case"symbol":return;case"boolean":if(!_.acceptsBooleans)return}switch(N=b(_.attributeName),_.type){case 3:C&&h.push(It,N,en);break;case 4:C===!0?h.push(It,N,en):C!==!1&&h.push(It,N,Ft,b(_e(C)),kt);break;case 5:isNaN(C)||h.push(It,N,Ft,b(_e(C)),kt);break;case 6:!isNaN(C)&&1<=C&&h.push(It,N,Ft,b(_e(C)),kt);break;default:_.sanitizeURL&&(C=""+C),h.push(It,N,Ft,b(_e(C)),kt)}}else if(R(N)){switch(typeof C){case"function":case"symbol":return;case"boolean":if(_=N.toLowerCase().slice(0,5),_!=="data-"&&_!=="aria-")return}h.push(It,b(N),Ft,b(_e(C)),kt)}}}var st=w(">"),ut=w("/>");function Pt(h,_,N){if(_!=null){if(N!=null)throw Error(r(60));if(typeof _!="object"||!("__html"in _))throw Error(r(61));_=_.__html,_!=null&&h.push(b(""+_))}}function hn(h){var _="";return t.Children.forEach(h,function(N){N!=null&&(_+=N)}),_}var Bt=w(' selected=""');function Nt(h,_,N,C){h.push(Fe(N));var Z=N=null,V;for(V in _)if(K.call(_,V)){var ne=_[V];if(ne!=null)switch(V){case"children":N=ne;break;case"dangerouslySetInnerHTML":Z=ne;break;default:Xe(h,C,V,ne)}}return h.push(st),Pt(h,Z,N),typeof N=="string"?(h.push(b(_e(N))),null):N}var rt=w(`
74
+ `),pt=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Kt=new Map;function Fe(h){var _=Kt.get(h);if(_===void 0){if(!pt.test(h))throw Error(r(65,h));_=w("<"+h),Kt.set(h,_)}return _}var nt=w("<!DOCTYPE html>");function Ye(h,_,N,C,Z){switch(_){case"select":h.push(Fe("select"));var V=null,ne=null;for(Ue in N)if(K.call(N,Ue)){var pe=N[Ue];if(pe!=null)switch(Ue){case"children":V=pe;break;case"dangerouslySetInnerHTML":ne=pe;break;case"defaultValue":case"value":break;default:Xe(h,C,Ue,pe)}}return h.push(st),Pt(h,ne,V),V;case"option":ne=Z.selectedValue,h.push(Fe("option"));var Ae=pe=null,Ze=null,Ue=null;for(V in N)if(K.call(N,V)){var Mt=N[V];if(Mt!=null)switch(V){case"children":pe=Mt;break;case"selected":Ze=Mt;break;case"dangerouslySetInnerHTML":Ue=Mt;break;case"value":Ae=Mt;default:Xe(h,C,V,Mt)}}if(ne!=null)if(N=Ae!==null?""+Ae:hn(pe),xe(ne)){for(C=0;C<ne.length;C++)if(""+ne[C]===N){h.push(Bt);break}}else""+ne===N&&h.push(Bt);else Ze&&h.push(Bt);return h.push(st),Pt(h,Ue,pe),pe;case"textarea":h.push(Fe("textarea")),Ue=ne=V=null;for(pe in N)if(K.call(N,pe)&&(Ae=N[pe],Ae!=null))switch(pe){case"children":Ue=Ae;break;case"value":V=Ae;break;case"defaultValue":ne=Ae;break;case"dangerouslySetInnerHTML":throw Error(r(91));default:Xe(h,C,pe,Ae)}if(V===null&&ne!==null&&(V=ne),h.push(st),Ue!=null){if(V!=null)throw Error(r(92));if(xe(Ue)&&1<Ue.length)throw Error(r(93));V=""+Ue}return typeof V=="string"&&V[0]===`
75
+ `&&h.push(rt),V!==null&&h.push(b(_e(""+V))),null;case"input":h.push(Fe("input")),Ae=Ue=pe=V=null;for(ne in N)if(K.call(N,ne)&&(Ze=N[ne],Ze!=null))switch(ne){case"children":case"dangerouslySetInnerHTML":throw Error(r(399,"input"));case"defaultChecked":Ae=Ze;break;case"defaultValue":pe=Ze;break;case"checked":Ue=Ze;break;case"value":V=Ze;break;default:Xe(h,C,ne,Ze)}return Ue!==null?Xe(h,C,"checked",Ue):Ae!==null&&Xe(h,C,"checked",Ae),V!==null?Xe(h,C,"value",V):pe!==null&&Xe(h,C,"value",pe),h.push(ut),null;case"menuitem":h.push(Fe("menuitem"));for(var _n in N)if(K.call(N,_n)&&(V=N[_n],V!=null))switch(_n){case"children":case"dangerouslySetInnerHTML":throw Error(r(400));default:Xe(h,C,_n,V)}return h.push(st),null;case"title":h.push(Fe("title")),V=null;for(Mt in N)if(K.call(N,Mt)&&(ne=N[Mt],ne!=null))switch(Mt){case"children":V=ne;break;case"dangerouslySetInnerHTML":throw Error(r(434));default:Xe(h,C,Mt,ne)}return h.push(st),V;case"listing":case"pre":h.push(Fe(_)),ne=V=null;for(Ae in N)if(K.call(N,Ae)&&(pe=N[Ae],pe!=null))switch(Ae){case"children":V=pe;break;case"dangerouslySetInnerHTML":ne=pe;break;default:Xe(h,C,Ae,pe)}if(h.push(st),ne!=null){if(V!=null)throw Error(r(60));if(typeof ne!="object"||!("__html"in ne))throw Error(r(61));N=ne.__html,N!=null&&(typeof N=="string"&&0<N.length&&N[0]===`
76
+ `?h.push(rt,b(N)):h.push(b(""+N)))}return typeof V=="string"&&V[0]===`
77
+ `&&h.push(rt),V;case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":h.push(Fe(_));for(var Zt in N)if(K.call(N,Zt)&&(V=N[Zt],V!=null))switch(Zt){case"children":case"dangerouslySetInnerHTML":throw Error(r(399,_));default:Xe(h,C,Zt,V)}return h.push(ut),null;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 Nt(h,N,_,C);case"html":return Z.insertionMode===0&&h.push(nt),Nt(h,N,_,C);default:if(_.indexOf("-")===-1&&typeof N.is!="string")return Nt(h,N,_,C);h.push(Fe(_)),ne=V=null;for(Ze in N)if(K.call(N,Ze)&&(pe=N[Ze],pe!=null))switch(Ze){case"children":V=pe;break;case"dangerouslySetInnerHTML":ne=pe;break;case"style":Rt(h,C,pe);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:R(Ze)&&typeof pe!="function"&&typeof pe!="symbol"&&h.push(It,b(Ze),Ft,b(_e(pe)),kt)}return h.push(st),Pt(h,ne,V),V}}var ht=w("</"),Ge=w(">"),Sn=w('<template id="'),ct=w('"></template>'),xn=w("<!--$-->"),tn=w('<!--$?--><template id="'),pr=w('"></template>'),Vn=w("<!--$!-->"),ro=w("<!--/$-->"),jt=w("<template"),_i=w('"'),Jt=w(' data-dgst="');w(' data-msg="'),w(' data-stck="');var wi=w("></template>");function fn(h,_,N){if(u(h,tn),N===null)throw Error(r(395));return u(h,N),c(h,pr)}var qt=w('<div hidden id="'),zn=w('">'),it=w("</div>"),Qn=w('<svg aria-hidden="true" style="display:none" id="'),Xn=w('">'),er=w("</svg>"),En=w('<math aria-hidden="true" style="display:none" id="'),Mr=w('">'),Tt=w("</math>"),io=w('<table hidden id="'),tr=w('">'),Si=w("</table>"),Lr=w('<table hidden><tbody id="'),oo=w('">'),Gr=w("</tbody></table>"),ei=w('<table hidden><tr id="'),ti=w('">'),hr=w("</tr></table>"),mr=w('<table hidden><colgroup id="'),ji=w('">'),ao=w("</colgroup></table>");function nr(h,_,N,C){switch(N.insertionMode){case 0:case 1:return u(h,qt),u(h,_.segmentPrefix),u(h,b(C.toString(16))),c(h,zn);case 2:return u(h,Qn),u(h,_.segmentPrefix),u(h,b(C.toString(16))),c(h,Xn);case 3:return u(h,En),u(h,_.segmentPrefix),u(h,b(C.toString(16))),c(h,Mr);case 4:return u(h,io),u(h,_.segmentPrefix),u(h,b(C.toString(16))),c(h,tr);case 5:return u(h,Lr),u(h,_.segmentPrefix),u(h,b(C.toString(16))),c(h,oo);case 6:return u(h,ei),u(h,_.segmentPrefix),u(h,b(C.toString(16))),c(h,ti);case 7:return u(h,mr),u(h,_.segmentPrefix),u(h,b(C.toString(16))),c(h,ji);default:throw Error(r(397))}}function gr(h,_){switch(_.insertionMode){case 0:case 1:return c(h,it);case 2:return c(h,er);case 3:return c(h,Tt);case 4:return c(h,Si);case 5:return c(h,Gr);case 6:return c(h,hr);case 7:return c(h,ao);default:throw Error(r(397))}}var mn=w('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("'),at=w('$RS("'),Cr=w('","'),Br=w('")<\/script>'),tt=w('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("'),Fr=w('$RC("'),Pr=w('","'),ni=w('")<\/script>'),vt=w('function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX("'),zt=w('$RX("'),ri=w('"'),ii=w(")<\/script>"),Kr=w(","),Ti=/[<\u2028\u2029]/g;function vr(h){return JSON.stringify(h).replace(Ti,function(_){switch(_){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}var Wt=Object.assign,Bn=Symbol.for("react.element"),Rr=Symbol.for("react.portal"),un=Symbol.for("react.fragment"),xi=Symbol.for("react.strict_mode"),lo=Symbol.for("react.profiler"),uo=Symbol.for("react.provider"),Ir=Symbol.for("react.context"),yr=Symbol.for("react.forward_ref"),jr=Symbol.for("react.suspense"),Tr=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),S=Symbol.for("react.lazy"),O=Symbol.for("react.scope"),B=Symbol.for("react.debug_trace_mode"),X=Symbol.for("react.legacy_hidden"),U=Symbol.for("react.default_value"),ie=Symbol.iterator;function me(h){if(h==null)return null;if(typeof h=="function")return h.displayName||h.name||null;if(typeof h=="string")return h;switch(h){case un:return"Fragment";case Rr:return"Portal";case lo:return"Profiler";case xi:return"StrictMode";case jr:return"Suspense";case Tr:return"SuspenseList"}if(typeof h=="object")switch(h.$$typeof){case Ir:return(h.displayName||"Context")+".Consumer";case uo:return(h._context.displayName||"Context")+".Provider";case yr:var _=h.render;return h=h.displayName,h||(h=_.displayName||_.name||"",h=h!==""?"ForwardRef("+h+")":"ForwardRef"),h;case p:return _=h.displayName||null,_!==null?_:me(h.type)||"Memo";case S:_=h._payload,h=h._init;try{return me(h(_))}catch{}}return null}var be={};function Ee(h,_){if(h=h.contextTypes,!h)return be;var N={},C;for(C in h)N[C]=_[C];return N}var We=null;function St(h,_){if(h!==_){h.context._currentValue=h.parentValue,h=h.parent;var N=_.parent;if(h===null){if(N!==null)throw Error(r(401))}else{if(N===null)throw Error(r(401));St(h,N)}_.context._currentValue=_.value}}function Ot(h){h.context._currentValue=h.parentValue,h=h.parent,h!==null&&Ot(h)}function nn(h){var _=h.parent;_!==null&&nn(_),h.context._currentValue=h.value}function sn(h,_){if(h.context._currentValue=h.parentValue,h=h.parent,h===null)throw Error(r(402));h.depth===_.depth?St(h,_):sn(h,_)}function br(h,_){var N=_.parent;if(N===null)throw Error(r(402));h.depth===N.depth?St(h,N):br(h,N),_.context._currentValue=_.value}function gn(h){var _=We;_!==h&&(_===null?nn(h):h===null?Ot(_):_.depth===h.depth?St(_,h):_.depth>h.depth?sn(_,h):br(_,h),We=h)}var Hn={isMounted:function(){return!1},enqueueSetState:function(h,_){h=h._reactInternals,h.queue!==null&&h.queue.push(_)},enqueueReplaceState:function(h,_){h=h._reactInternals,h.replace=!0,h.queue=[_]},enqueueForceUpdate:function(){}};function vn(h,_,N,C){var Z=h.state!==void 0?h.state:null;h.updater=Hn,h.props=N,h.state=Z;var V={queue:[],replace:!1};h._reactInternals=V;var ne=_.contextType;if(h.context=typeof ne=="object"&&ne!==null?ne._currentValue:C,ne=_.getDerivedStateFromProps,typeof ne=="function"&&(ne=ne(N,Z),Z=ne==null?Z:Wt({},Z,ne),h.state=Z),typeof _.getDerivedStateFromProps!="function"&&typeof h.getSnapshotBeforeUpdate!="function"&&(typeof h.UNSAFE_componentWillMount=="function"||typeof h.componentWillMount=="function"))if(_=h.state,typeof h.componentWillMount=="function"&&h.componentWillMount(),typeof h.UNSAFE_componentWillMount=="function"&&h.UNSAFE_componentWillMount(),_!==h.state&&Hn.enqueueReplaceState(h,h.state,null),V.queue!==null&&0<V.queue.length)if(_=V.queue,ne=V.replace,V.queue=null,V.replace=!1,ne&&_.length===1)h.state=_[0];else{for(V=ne?_[0]:h.state,Z=!0,ne=ne?1:0;ne<_.length;ne++){var pe=_[ne];pe=typeof pe=="function"?pe.call(h,V,N,C):pe,pe!=null&&(Z?(Z=!1,V=Wt({},V,pe)):Wt(V,pe))}h.state=V}else V.queue=null}var rr={id:1,overflow:""};function Fn(h,_,N){var C=h.id;h=h.overflow;var Z=32-An(C)-1;C&=~(1<<Z),N+=1;var V=32-An(_)+Z;if(30<V){var ne=Z-Z%5;return V=(C&(1<<ne)-1).toString(32),C>>=ne,Z-=ne,{id:1<<32-An(_)+Z|N<<Z|C,overflow:V+h}}return{id:1<<V|N<<Z|C,overflow:h}}var An=Math.clz32?Math.clz32:so,zr=Math.log,oi=Math.LN2;function so(h){return h>>>=0,h===0?32:31-(zr(h)/oi|0)|0}function Hr(h,_){return h===_&&(h!==0||1/h===1/_)||h!==h&&_!==_}var Xt=typeof Object.is=="function"?Object.is:Hr,ir=null,ai=null,zi=null,yt=null,_r=!1,rn=!1,kn=0,yn=null,Ar=0;function li(){if(ir===null)throw Error(r(321));return ir}function co(){if(0<Ar)throw Error(r(312));return{memoizedState:null,queue:null,next:null}}function ui(){return yt===null?zi===null?(_r=!1,zi=yt=co()):(_r=!0,yt=zi):yt.next===null?(_r=!1,yt=yt.next=co()):(_r=!0,yt=yt.next),yt}function Hi(){ai=ir=null,rn=!1,zi=null,Ar=0,yt=yn=null}function ma(h,_){return typeof _=="function"?_(h):_}function qr(h,_,N){if(ir=li(),yt=ui(),_r){var C=yt.queue;if(_=C.dispatch,yn!==null&&(N=yn.get(C),N!==void 0)){yn.delete(C),C=yt.memoizedState;do C=h(C,N.action),N=N.next;while(N!==null);return yt.memoizedState=C,[C,_]}return[yt.memoizedState,_]}return h=h===ma?typeof _=="function"?_():_:N!==void 0?N(_):_,yt.memoizedState=h,h=yt.queue={last:null,dispatch:null},h=h.dispatch=Po.bind(null,ir,h),[yt.memoizedState,h]}function Ai(h,_){if(ir=li(),yt=ui(),_=_===void 0?null:_,yt!==null){var N=yt.memoizedState;if(N!==null&&_!==null){var C=N[1];e:if(C===null)C=!1;else{for(var Z=0;Z<C.length&&Z<_.length;Z++)if(!Xt(_[Z],C[Z])){C=!1;break e}C=!0}if(C)return N[0]}}return h=h(),yt.memoizedState=[h,_],h}function Po(h,_,N){if(25<=Ar)throw Error(r(301));if(h===ir)if(rn=!0,h={action:N,next:null},yn===null&&(yn=new Map),N=yn.get(_),N===void 0)yn.set(_,h);else{for(_=N;_.next!==null;)_=_.next;_.next=h}}function ga(){throw Error(r(394))}function Ei(){}var qi={readContext:function(h){return h._currentValue},useContext:function(h){return li(),h._currentValue},useMemo:Ai,useReducer:qr,useRef:function(h){ir=li(),yt=ui();var _=yt.memoizedState;return _===null?(h={current:h},yt.memoizedState=h):_},useState:function(h){return qr(ma,h)},useInsertionEffect:Ei,useLayoutEffect:function(){},useCallback:function(h,_){return Ai(function(){return h},_)},useImperativeHandle:Ei,useEffect:Ei,useDebugValue:Ei,useDeferredValue:function(h){return li(),h},useTransition:function(){return li(),[!1,ga]},useId:function(){var h=ai.treeContext,_=h.overflow;h=h.id,h=(h&~(1<<32-An(h)-1)).toString(32)+_;var N=fo;if(N===null)throw Error(r(404));return _=kn++,h=":"+N.idPrefix+"R"+h,0<_&&(h+="H"+_.toString(32)),h+":"},useMutableSource:function(h,_){return li(),_(h._source)},useSyncExternalStore:function(h,_,N){if(N===void 0)throw Error(r(407));return N()}},fo=null,Nn=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function or(h){return console.error(h),null}function wr(){}function Ui(h,_,N,C,Z,V,ne,pe,Ae){var Ze=[],Ue=new Set;return _={destination:null,responseState:_,progressiveChunkSize:C===void 0?12800:C,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:Ue,pingedTasks:Ze,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:Z===void 0?or:Z,onAllReady:V===void 0?wr:V,onShellReady:ne===void 0?wr:ne,onShellError:pe===void 0?wr:pe,onFatalError:Ae===void 0?wr:Ae},N=ft(_,0,null,N,!1,!1),N.parentFlushed=!0,h=po(_,h,null,N,Ue,be,null,rr),Ze.push(h),_}function po(h,_,N,C,Z,V,ne,pe){h.allPendingTasks++,N===null?h.pendingRootTasks++:N.pendingTasks++;var Ae={node:_,ping:function(){var Ze=h.pingedTasks;Ze.push(Ae),Ze.length===1&&Dt(h)},blockedBoundary:N,blockedSegment:C,abortSet:Z,legacyContext:V,context:ne,treeContext:pe};return Z.add(Ae),Ae}function ft(h,_,N,C,Z,V){return{status:0,id:-1,index:_,parentFlushed:!1,chunks:[],children:[],formatContext:C,boundary:N,lastPushedText:Z,textEmbedded:V}}function si(h,_){if(h=h.onError(_),h!=null&&typeof h!="string")throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof h+'" instead');return h}function Ur(h,_){var N=h.onShellError;N(_),N=h.onFatalError,N(_),h.destination!==null?(h.status=2,D(h.destination,_)):(h.status=1,h.fatalError=_)}function Vi(h,_,N,C,Z){for(ir={},ai=_,kn=0,h=N(C,Z);rn;)rn=!1,kn=0,Ar+=1,yt=null,h=N(C,Z);return Hi(),h}function Zn(h,_,N,C){var Z=N.render(),V=C.childContextTypes;if(V!=null){var ne=_.legacyContext;if(typeof N.getChildContext!="function")C=ne;else{N=N.getChildContext();for(var pe in N)if(!(pe in V))throw Error(r(108,me(C)||"Unknown",pe));C=Wt({},ne,N)}_.legacyContext=C,Pn(h,_,Z),_.legacyContext=ne}else Pn(h,_,Z)}function Ko(h,_){if(h&&h.defaultProps){_=Wt({},_),h=h.defaultProps;for(var N in h)_[N]===void 0&&(_[N]=h[N]);return _}return _}function Ro(h,_,N,C,Z){if(typeof N=="function")if(N.prototype&&N.prototype.isReactComponent){Z=Ee(N,_.legacyContext);var V=N.contextType;V=new N(C,typeof V=="object"&&V!==null?V._currentValue:Z),vn(V,N,C,Z),Zn(h,_,V,N)}else{V=Ee(N,_.legacyContext),Z=Vi(h,_,N,C,V);var ne=kn!==0;if(typeof Z=="object"&&Z!==null&&typeof Z.render=="function"&&Z.$$typeof===void 0)vn(Z,N,C,V),Zn(h,_,Z,N);else if(ne){C=_.treeContext,_.treeContext=Fn(C,1,0);try{Pn(h,_,Z)}finally{_.treeContext=C}}else Pn(h,_,Z)}else if(typeof N=="string"){switch(Z=_.blockedSegment,V=Ye(Z.chunks,N,C,h.responseState,Z.formatContext),Z.lastPushedText=!1,ne=Z.formatContext,Z.formatContext=Me(ne,N,C),on(h,_,V),Z.formatContext=ne,N){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:Z.chunks.push(ht,b(N),Ge)}Z.lastPushedText=!1}else{switch(N){case X:case B:case xi:case lo:case un:Pn(h,_,C.children);return;case Tr:Pn(h,_,C.children);return;case O:throw Error(r(343));case jr:e:{N=_.blockedBoundary,Z=_.blockedSegment,V=C.fallback,C=C.children,ne=new Set;var pe={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:ne,errorDigest:null},Ae=ft(h,Z.chunks.length,pe,Z.formatContext,!1,!1);Z.children.push(Ae),Z.lastPushedText=!1;var Ze=ft(h,0,null,Z.formatContext,!1,!1);Ze.parentFlushed=!0,_.blockedBoundary=pe,_.blockedSegment=Ze;try{if(on(h,_,C),Ze.lastPushedText&&Ze.textEmbedded&&Ze.chunks.push(Je),Ze.status=1,jo(pe,Ze),pe.pendingTasks===0)break e}catch(Ue){Ze.status=4,pe.forceClientRender=!0,pe.errorDigest=si(h,Ue)}finally{_.blockedBoundary=N,_.blockedSegment=Z}_=po(h,V,N,Ae,ne,_.legacyContext,_.context,_.treeContext),h.pingedTasks.push(_)}return}if(typeof N=="object"&&N!==null)switch(N.$$typeof){case yr:if(C=Vi(h,_,N.render,C,Z),kn!==0){N=_.treeContext,_.treeContext=Fn(N,1,0);try{Pn(h,_,C)}finally{_.treeContext=N}}else Pn(h,_,C);return;case p:N=N.type,C=Ko(N,C),Ro(h,_,N,C,Z);return;case uo:if(Z=C.children,N=N._context,C=C.value,V=N._currentValue,N._currentValue=C,ne=We,We=C={parent:ne,depth:ne===null?0:ne.depth+1,context:N,parentValue:V,value:C},_.context=C,Pn(h,_,Z),h=We,h===null)throw Error(r(403));C=h.parentValue,h.context._currentValue=C===U?h.context._defaultValue:C,h=We=h.parent,_.context=h;return;case Ir:C=C.children,C=C(N._currentValue),Pn(h,_,C);return;case S:Z=N._init,N=Z(N._payload),C=Ko(N,C),Ro(h,_,N,C,void 0);return}throw Error(r(130,N==null?N:typeof N,""))}}function Pn(h,_,N){if(_.node=N,typeof N=="object"&&N!==null){switch(N.$$typeof){case Bn:Ro(h,_,N.type,N.props,N.ref);return;case Rr:throw Error(r(257));case S:var C=N._init;N=C(N._payload),Pn(h,_,N);return}if(xe(N)){bn(h,_,N);return}if(N===null||typeof N!="object"?C=null:(C=ie&&N[ie]||N["@@iterator"],C=typeof C=="function"?C:null),C&&(C=C.call(N))){if(N=C.next(),!N.done){var Z=[];do Z.push(N.value),N=C.next();while(!N.done);bn(h,_,Z)}return}throw h=Object.prototype.toString.call(N),Error(r(31,h==="[object Object]"?"object with keys {"+Object.keys(N).join(", ")+"}":h))}typeof N=="string"?(C=_.blockedSegment,C.lastPushedText=Et(_.blockedSegment.chunks,N,h.responseState,C.lastPushedText)):typeof N=="number"&&(C=_.blockedSegment,C.lastPushedText=Et(_.blockedSegment.chunks,""+N,h.responseState,C.lastPushedText))}function bn(h,_,N){for(var C=N.length,Z=0;Z<C;Z++){var V=_.treeContext;_.treeContext=Fn(V,C,Z);try{on(h,_,N[Z])}finally{_.treeContext=V}}}function on(h,_,N){var C=_.blockedSegment.formatContext,Z=_.legacyContext,V=_.context;try{return Pn(h,_,N)}catch(Ae){if(Hi(),typeof Ae=="object"&&Ae!==null&&typeof Ae.then=="function"){N=Ae;var ne=_.blockedSegment,pe=ft(h,ne.chunks.length,null,ne.formatContext,ne.lastPushedText,!0);ne.children.push(pe),ne.lastPushedText=!1,h=po(h,_.node,_.blockedBoundary,pe,_.abortSet,_.legacyContext,_.context,_.treeContext).ping,N.then(h,h),_.blockedSegment.formatContext=C,_.legacyContext=Z,_.context=V,gn(V)}else throw _.blockedSegment.formatContext=C,_.legacyContext=Z,_.context=V,gn(V),Ae}}function Io(h){var _=h.blockedBoundary;h=h.blockedSegment,h.status=3,Ja(this,_,h)}function va(h,_,N){var C=h.blockedBoundary;h.blockedSegment.status=3,C===null?(_.allPendingTasks--,_.status!==2&&(_.status=2,_.destination!==null&&_.destination.close())):(C.pendingTasks--,C.forceClientRender||(C.forceClientRender=!0,h=N===void 0?Error(r(432)):N,C.errorDigest=_.onError(h),C.parentFlushed&&_.clientRenderedBoundaries.push(C)),C.fallbackAbortableTasks.forEach(function(Z){return va(Z,_,N)}),C.fallbackAbortableTasks.clear(),_.allPendingTasks--,_.allPendingTasks===0&&(C=_.onAllReady,C()))}function jo(h,_){if(_.chunks.length===0&&_.children.length===1&&_.children[0].boundary===null){var N=_.children[0];N.id=_.id,N.parentFlushed=!0,N.status===1&&jo(h,N)}else h.completedSegments.push(_)}function Ja(h,_,N){if(_===null){if(N.parentFlushed){if(h.completedRootSegment!==null)throw Error(r(389));h.completedRootSegment=N}h.pendingRootTasks--,h.pendingRootTasks===0&&(h.onShellError=wr,_=h.onShellReady,_())}else _.pendingTasks--,_.forceClientRender||(_.pendingTasks===0?(N.parentFlushed&&N.status===1&&jo(_,N),_.parentFlushed&&h.completedBoundaries.push(_),_.fallbackAbortableTasks.forEach(Io,h),_.fallbackAbortableTasks.clear()):N.parentFlushed&&N.status===1&&(jo(_,N),_.completedSegments.length===1&&_.parentFlushed&&h.partialBoundaries.push(_)));h.allPendingTasks--,h.allPendingTasks===0&&(h=h.onAllReady,h())}function Dt(h){if(h.status!==2){var _=We,N=Nn.current;Nn.current=qi;var C=fo;fo=h.responseState;try{var Z=h.pingedTasks,V;for(V=0;V<Z.length;V++){var ne=Z[V],pe=h,Ae=ne.blockedSegment;if(Ae.status===0){gn(ne.context);try{Pn(pe,ne,ne.node),Ae.lastPushedText&&Ae.textEmbedded&&Ae.chunks.push(Je),ne.abortSet.delete(ne),Ae.status=1,Ja(pe,ne.blockedBoundary,Ae)}catch(xt){if(Hi(),typeof xt=="object"&&xt!==null&&typeof xt.then=="function"){var Ze=ne.ping;xt.then(Ze,Ze)}else{ne.abortSet.delete(ne),Ae.status=4;var Ue=ne.blockedBoundary,Mt=xt,_n=si(pe,Mt);if(Ue===null?Ur(pe,Mt):(Ue.pendingTasks--,Ue.forceClientRender||(Ue.forceClientRender=!0,Ue.errorDigest=_n,Ue.parentFlushed&&pe.clientRenderedBoundaries.push(Ue))),pe.allPendingTasks--,pe.allPendingTasks===0){var Zt=pe.onAllReady;Zt()}}}finally{}}}Z.splice(0,V),h.destination!==null&&zo(h,h.destination)}catch(xt){si(h,xt),Ur(h,xt)}finally{fo=C,Nn.current=N,N===qi&&gn(_)}}}function Qi(h,_,N){switch(N.parentFlushed=!0,N.status){case 0:var C=N.id=h.nextSegmentId++;return N.lastPushedText=!1,N.textEmbedded=!1,h=h.responseState,u(_,Sn),u(_,h.placeholderPrefix),h=b(C.toString(16)),u(_,h),c(_,ct);case 1:N.status=2;var Z=!0;C=N.chunks;var V=0;N=N.children;for(var ne=0;ne<N.length;ne++){for(Z=N[ne];V<Z.index;V++)u(_,C[V]);Z=ho(h,_,Z)}for(;V<C.length-1;V++)u(_,C[V]);return V<C.length&&(Z=c(_,C[V])),Z;default:throw Error(r(390))}}function ho(h,_,N){var C=N.boundary;if(C===null)return Qi(h,_,N);if(C.parentFlushed=!0,C.forceClientRender)C=C.errorDigest,c(_,Vn),u(_,jt),C&&(u(_,Jt),u(_,b(_e(C))),u(_,_i)),c(_,wi),Qi(h,_,N);else if(0<C.pendingTasks){C.rootSegmentID=h.nextSegmentId++,0<C.completedSegments.length&&h.partialBoundaries.push(C);var Z=h.responseState,V=Z.nextSuspenseID++;Z=w(Z.boundaryPrefix+V.toString(16)),C=C.id=Z,fn(_,h.responseState,C),Qi(h,_,N)}else if(C.byteSize>h.progressiveChunkSize)C.rootSegmentID=h.nextSegmentId++,h.completedBoundaries.push(C),fn(_,h.responseState,C.id),Qi(h,_,N);else{if(c(_,xn),N=C.completedSegments,N.length!==1)throw Error(r(391));ho(h,_,N[0])}return c(_,ro)}function Kn(h,_,N){return nr(_,h.responseState,N.formatContext,N.id),ho(h,_,N),gr(_,N.formatContext)}function To(h,_,N){for(var C=N.completedSegments,Z=0;Z<C.length;Z++)mo(h,_,N,C[Z]);if(C.length=0,h=h.responseState,C=N.id,N=N.rootSegmentID,u(_,h.startInlineScript),h.sentCompleteBoundaryFunction?u(_,Fr):(h.sentCompleteBoundaryFunction=!0,u(_,tt)),C===null)throw Error(r(395));return N=b(N.toString(16)),u(_,C),u(_,Pr),u(_,h.segmentPrefix),u(_,N),c(_,ni)}function mo(h,_,N,C){if(C.status===2)return!0;var Z=C.id;if(Z===-1){if((C.id=N.rootSegmentID)===-1)throw Error(r(392));return Kn(h,_,C)}return Kn(h,_,C),h=h.responseState,u(_,h.startInlineScript),h.sentCompleteSegmentFunction?u(_,at):(h.sentCompleteSegmentFunction=!0,u(_,mn)),u(_,h.segmentPrefix),Z=b(Z.toString(16)),u(_,Z),u(_,Cr),u(_,h.placeholderPrefix),u(_,Z),c(_,Br)}function zo(h,_){i=new Uint8Array(512),a=0;try{var N=h.completedRootSegment;if(N!==null&&h.pendingRootTasks===0){ho(h,_,N),h.completedRootSegment=null;var C=h.responseState.bootstrapChunks;for(N=0;N<C.length-1;N++)u(_,C[N]);N<C.length&&c(_,C[N])}var Z=h.clientRenderedBoundaries,V;for(V=0;V<Z.length;V++){var ne=Z[V];C=_;var pe=h.responseState,Ae=ne.id,Ze=ne.errorDigest,Ue=ne.errorMessage,Mt=ne.errorComponentStack;if(u(C,pe.startInlineScript),pe.sentClientRenderFunction?u(C,zt):(pe.sentClientRenderFunction=!0,u(C,vt)),Ae===null)throw Error(r(395));u(C,Ae),u(C,ri),(Ze||Ue||Mt)&&(u(C,Kr),u(C,b(vr(Ze||"")))),(Ue||Mt)&&(u(C,Kr),u(C,b(vr(Ue||"")))),Mt&&(u(C,Kr),u(C,b(vr(Mt)))),c(C,ii)}Z.splice(0,V);var _n=h.completedBoundaries;for(V=0;V<_n.length;V++)To(h,_,_n[V]);_n.splice(0,V),g(_),i=new Uint8Array(512),a=0;var Zt=h.partialBoundaries;for(V=0;V<Zt.length;V++){var xt=Zt[V];e:{Z=h,ne=_;var ci=xt.completedSegments;for(pe=0;pe<ci.length;pe++)if(!mo(Z,ne,xt,ci[pe])){pe++,ci.splice(0,pe);var ya=!1;break e}ci.splice(0,pe),ya=!0}if(!ya){h.destination=null,V++,Zt.splice(0,V);return}}Zt.splice(0,V);var fi=h.completedBoundaries;for(V=0;V<fi.length;V++)To(h,_,fi[V]);fi.splice(0,V)}finally{g(_),h.allPendingTasks===0&&h.pingedTasks.length===0&&h.clientRenderedBoundaries.length===0&&h.completedBoundaries.length===0&&_.close()}}function Ho(h,_){try{var N=h.abortableTasks;N.forEach(function(C){return va(C,h,_)}),N.clear(),h.destination!==null&&zo(h,h.destination)}catch(C){si(h,C),Ur(h,C)}}return ns.renderToReadableStream=function(h,_){return new Promise(function(N,C){var Z,V,ne=new Promise(function(Ue,Mt){V=Ue,Z=Mt}),pe=Ui(h,ue(_?_.identifierPrefix:void 0,_?_.nonce:void 0,_?_.bootstrapScriptContent:void 0,_?_.bootstrapScripts:void 0,_?_.bootstrapModules:void 0),ae(_?_.namespaceURI:void 0),_?_.progressiveChunkSize:void 0,_?_.onError:void 0,V,function(){var Ue=new ReadableStream({type:"bytes",pull:function(Mt){if(pe.status===1)pe.status=2,D(Mt,pe.fatalError);else if(pe.status!==2&&pe.destination===null){pe.destination=Mt;try{zo(pe,Mt)}catch(_n){si(pe,_n),Ur(pe,_n)}}},cancel:function(){Ho(pe)}},{highWaterMark:0});Ue.allReady=ne,N(Ue)},function(Ue){ne.catch(function(){}),C(Ue)},Z);if(_&&_.signal){var Ae=_.signal,Ze=function(){Ho(pe,Ae.reason),Ae.removeEventListener("abort",Ze)};Ae.addEventListener("abort",Ze)}Dt(pe)})},ns.version="18.2.0",ns}var Ua,Mv;Ua=WF(),Mv=GF(),Mn.version=Ua.version,Mn.renderToString=Ua.renderToString,Mn.renderToStaticMarkup=Ua.renderToStaticMarkup,Mn.renderToNodeStream=Ua.renderToNodeStream,Mn.renderToStaticNodeStream=Ua.renderToStaticNodeStream,Mn.renderToReadableStream=Mv.renderToReadableStream;function Lf(t,r){(r==null||r>t.length)&&(r=t.length);for(var i=0,a=new Array(r);i<r;i++)a[i]=t[i];return a}function e3(t){if(Array.isArray(t))return Lf(t)}function t3(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function n3(t,r){if(t){if(typeof t=="string")return Lf(t,r);var i=Object.prototype.toString.call(t).slice(8,-1);if(i==="Object"&&t.constructor&&(i=t.constructor.name),i==="Map"||i==="Set")return Array.from(t);if(i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return Lf(t,r)}}function r3(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
78
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Mo(t){return e3(t)||t3(t)||n3(t)||r3()}function Lv(t,r,i,a,u,c){var g=a-i,y=r+i<=t.offset;if(y)return Object.assign({},t,{offset:t.offset+g});var b=r>=t.offset&&r+i<=t.offset+t.length;if(b)return Object.assign({},t,{length:t.length+g});var w=t.offset>=r&&t.offset+t.length<=r+i&&u>0;if(w)return Object.assign({},t,{offset:t.offset+u});var D=t.offset<r&&t.offset+t.length<=r+i&&t.offset+t.length>r&&u>0;if(D)return[Object.assign({},t,{length:r-t.offset}),Object.assign({},t,{offset:r+u,length:t.offset-r+t.length})];var K=t.offset>=r&&t.offset+t.length>r+i&&r+i>t.offset&&c>0;return K?[Object.assign({},t,{offset:t.offset+u,length:r+i-t.offset}),Object.assign({},t,{offset:r+i+u+c,length:t.offset+t.length-(r+i)})]:t}const rs=function(t,r){return t.offset===r.offset?r.length-t.length:t.offset-r.offset};var Cv={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;","\n":"<br/>"};const i3=function(t){for(var r=Mo(t.text),i=t.entityRanges.sort(rs),a=t.inlineStyleRanges.sort(rs),u="",c=function(y){var b=r[y];if(Cv[b]!==void 0){var w=Cv[b],D=Mo(u).length;u+=w;var K=function(L){return Lv(L,D,b.length,w.length,0,0)};i=i.map(K),a=a.map(K)}else u+=b},g=0;g<r.length;g++)c(g);return Object.assign({},t,{text:u,inlineStyleRanges:a,entityRanges:i})};function is(t){return is=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},is(t)}var o3=["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"];function Va(t){if(o3.indexOf(t.type)!==-1)return Mn.renderToStaticMarkup(t);var r=Mn.renderToStaticMarkup(P.cloneElement(t,{},"\r")).split("\r");return bi(r.length>1,"convertToHTML: Element of type ".concat(t.type," must render children")),bi(r.length<3,"convertToHTML: Element of type ".concat(t.type," cannot use carriage return character")),{start:r[0],end:r[1]}}function a3(t){return P.isValidElement(t)&&P.Children.count(t.props.children)>0}function os(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(t==null||typeof t=="string")return t;if(P.isValidElement(t)){if(a3(t))return Mn.renderToStaticMarkup(t);var i=Va(t);if(r!==null&&is(i)==="object"){var a=i.start,u=i.end;return a+r+u}return i}if(bi(Object.prototype.hasOwnProperty.call(t,"start")&&Object.prototype.hasOwnProperty.call(t,"end"),"convertToHTML: received conversion data without either an HTML string, ReactElement or an object with start/end tags"),r!==null){var c=t.start,g=t.end;return c+r+g}return t}var Bv=function t(r){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"start";if(P.isValidElement(r)){var a=Va(r);if(typeof a=="string")return 0;var u=a[i].length,c=P.Children.toArray(r.props.children)[0];return u+(c&&P.isValidElement(c)?t(c,i):0)}return is(r)==="object"&&r[i]?r[i].length:0},Fv=function(){var t=arguments.length>1?arguments[1]:void 0;return t};const l3=function(t,r){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Fv,a=Mo(t.text),u=i;if(i.__isMiddleware&&(u=i(Fv)),Object.prototype.hasOwnProperty.call(t,"entityRanges")&&t.entityRanges.length>0){for(var c=t.entityRanges.sort(rs),g=t.inlineStyleRanges,y=function(w){var D=c[w],K=r[D.key],L=a.slice(D.offset,D.offset+D.length).join(""),T=u(K,L),F=os(T,L),R=void 0;F||F===""?R=Mo(F):R=L;var j=Bv(T,"start"),G=Bv(T,"end"),Y=function(J,le){return le>w||Object.prototype.hasOwnProperty.call(J,"style")?Lv(J,D.offset,D.length,R.length,j,G):J},W=function(J){return J.reduce(function(le,Se,_e){var Ie=Y(Se,_e);return Array.isArray(Ie)?le.concat(Ie):le.concat([Ie])},[])};c=W(c),g=W(g),a=[].concat(Mo(a.slice(0,D.offset)),Mo(R),Mo(a.slice(D.offset+D.length)))},b=0;b<c.length;b++)y(b);return Object.assign({},t,{text:a.join(""),inlineStyleRanges:g,entityRanges:c})}return t},Pv=function(t){return function(r){return typeof t=="function"?t(r):t[r]}},Kv=function(t,r){return function(){var i=t.apply(void 0,arguments);return i??r.apply(void 0,arguments)}};function Rv(t){switch(t){case"BOLD":return P.createElement("strong",null);case"ITALIC":return P.createElement("em",null);case"UNDERLINE":return P.createElement("u",null);case"CODE":return P.createElement("code",null);default:return{start:"",end:""}}}var Cf=function(t,r){return t.filter(function(i){return!r.some(function(a){return a.style===i.style})})},u3=function(t,r){return r.reduceRight(function(i,a){var u=i[i.length-1];return bi(u.style===a.style,"Style ".concat(u.style," to be removed doesn't match expected ").concat(a.style)),i.slice(0,-1)},t)},s3=function(t,r){return r.filter(function(i){return t>=i.offset&&t<i.offset+i.length})},c3=function(t,r){var i=t.offset<=r.offset,a=t.offset+t.length>=r.offset+r.length;return i&&a},f3=function(t,r){var i=r.offset+r.length,a=t.offset+t.length;return i-a},d3=function(t,r){for(var i=0;i<t.length;)if(r.every(c3.bind(null,t[i])))i++;else return t.slice(i);return[]},p3=function(t,r,i){return r+os(t(i.style)).start},h3=function(t,r,i){return os(t(i.style)).end+r},Iv=function(t){return function(r){return t(r)}};Iv.__isMiddleware=!0;const m3=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Iv;bi(t!=null,"Expected raw block to be non-null");var i;r.__isMiddleware===!0?i=r(Rv):i=Kv(Pv(r),Pv(Rv));for(var a="",u=[],c=t.inlineStyleRanges.sort(rs),g=Mo(t.text),y=0;y<g.length;y++){var b=s3(y,c),w=Cf(u,b),D=Cf(b,u),K=Cf(u,w),L=d3(K,D),T=L.concat(D).sort(f3),F=T.reduce(p3.bind(null,i),""),R=w.concat(L).reduce(h3.bind(null,i),"");a+=R+F+g[y],u=u3(u,L.concat(w)),u=u.concat(T),bi(u.length===b.length,"Character ".concat(y,": ").concat(u.length-b.length," styles left on stack that should no longer be there"))}return a=u.reduceRight(function(j,G){return j+os(i(G.style)).end},a),a},Bf=function(t){return function(r){return typeof t=="function"?t(r):t[r.type]}};function g3(t){return P.isValidElement(t)&&P.Children.count(t.props.children)>0}function v3(t){return bi(t!=null,"Expected block HTML value to be non-null"),typeof t=="string"?t:P.isValidElement(t)?g3(t)?Mn.renderToStaticMarkup(t):Va(t):Object.prototype.hasOwnProperty.call(t,"element")&&P.isValidElement(t.element)?Object.assign({},t,Va(t.element)):(bi(Object.prototype.hasOwnProperty.call(t,"start")&&Object.prototype.hasOwnProperty.call(t,"end"),"convertToHTML: received block information without either a ReactElement or an object with start/end tags"),t)}function Qa(t,r){if(bi(t!=null,"Expected block HTML value to be non-null"),typeof t.nest=="function"){var i=Va(t.nest(r)),a=i.start,u=i.end;return Object.assign({},t,{nestStart:a,nestEnd:u})}if(P.isValidElement(t.nest)){var c=Va(t.nest),g=c.start,y=c.end;return Object.assign({},t,{nestStart:g,nestEnd:y})}return bi(Object.prototype.hasOwnProperty.call(t,"nestStart")&&Object.prototype.hasOwnProperty.call(t,"nestEnd"),"convertToHTML: received block information without either a ReactElement or an object with start/end tags"),t}var y3=["1","a","i"];const jv={unstyled:P.createElement("p",null),paragraph:P.createElement("p",null),"header-one":P.createElement("h1",null),"header-two":P.createElement("h2",null),"header-three":P.createElement("h3",null),"header-four":P.createElement("h4",null),"header-five":P.createElement("h5",null),"header-six":P.createElement("h6",null),"code-block":P.createElement("pre",null),blockquote:P.createElement("blockquote",null),"unordered-list-item":{element:P.createElement("li",null),nest:P.createElement("ul",null)},"ordered-list-item":{element:P.createElement("li",null),nest:function(t){var r=y3[t%3];return P.createElement("ol",{type:r})}},media:P.createElement("figure",null),atomic:P.createElement("figure",null)};var b3=function(t,r){return r},Tv=function(t){var r=t.styleToHTML,i=r===void 0?{}:r,a=t.blockToHTML,u=a===void 0?{}:a,c=t.entityToHTML,g=c===void 0?b3:c;return function(y){bi(y!=null,"Expected contentState to be non-null");var b;u.__isMiddleware===!0?b=u(Bf(jv)):b=Kv(Bf(u),Bf(jv));var w=Nv.convertToRaw(y),D=[],K=w.blocks.map(function(L){var T=L.type,F=L.depth,R="",j="",G=b(L);if(!G)throw new Error("convertToHTML: missing HTML definition for block with type ".concat(L.type));if(!G.nest)R=D.reduceRight(function(_e,Ie){return _e+Qa(b(Ie),F).nestEnd},""),D=[];else for(;F+1!==D.length||T!==D[F].type;)if(F+1===D.length){var Y=D[F];R+=Qa(b(Y),F).nestEnd,j+=Qa(b(L),F).nestStart,D[F]=L}else if(F+1<D.length){var W=D[D.length-1];R+=Qa(b(W),F).nestEnd,D=D.slice(0,-1)}else j+=Qa(b(L),F).nestStart,D.push(L);var J=m3(l3(i3(L),w.entityMap,g),i),le=v3(b(L)),Se;return typeof le=="string"?Se=le:Se=le.start+J+le.end,J.length===0&&Object.prototype.hasOwnProperty.call(le,"empty")&&(P.isValidElement(le.empty)?Se=Mn.renderToStaticMarkup(le.empty):Se=le.empty),R+j+Se}).join("");return K=D.reduce(function(L,T){return L+Qa(b(T),T.depth).nestEnd},K),K}};const _3=function(){for(var t=arguments.length,r=new Array(t),i=0;i<t;i++)r[i]=arguments[i];return r.length===1&&Object.prototype.hasOwnProperty.call(r[0],"_map")&&r[0].getBlockMap!=null?Tv({}).apply(void 0,r):Tv.apply(void 0,r)};var Ff="/home/travis/build/20minutes/hela/src/components/molecules/Article/ArticleVideo/ArticleVideo.tsx";const w3=({html:t,caption:r=""})=>P.createElement("figure",{className:"c-media",role:"group",__self:void 0,__source:{fileName:Ff,lineNumber:10,columnNumber:3}},P.createElement("div",{className:"c-media__content c-media__content--video",dangerouslySetInnerHTML:{__html:t},__self:void 0,__source:{fileName:Ff,lineNumber:11,columnNumber:5}}),r&&P.createElement(Lt,{as:"figcaption",size:"xs",mt:"s",color:"grey-300",className:"c-media__caption",__self:void 0,__source:{fileName:Ff,lineNumber:18,columnNumber:7}},r));var Xa="/home/travis/build/20minutes/hela/src/components/molecules/Citation/Citation.tsx";const S3=({citationText:t,citationAuthor:r,colorVariant:i,...a})=>{const u=c=>{switch(c){case"entertainment":case"sport":case"planet":return`diode-rubric-${c}`;default:return"diode-leaning"}};return P.createElement(Qt,{...a,pl:{sm:"l"},__self:void 0,__source:{fileName:Xa,lineNumber:29,columnNumber:5}},P.createElement(Gn,{size:[29,27],name:u(i),className:"c-divider-section__icon",__self:void 0,__source:{fileName:Xa,lineNumber:30,columnNumber:7}}),P.createElement(Qt,{my:"s",__self:void 0,__source:{fileName:Xa,lineNumber:35,columnNumber:7}},P.createElement($a,{as:"h1",fontFamily:"source-serif-pro",size:"m",weight:"regular",__self:void 0,__source:{fileName:Xa,lineNumber:36,columnNumber:9}},'"',t,'"')),r&&P.createElement(Qt,{__self:void 0,__source:{fileName:Xa,lineNumber:41,columnNumber:9}},P.createElement(Lt,{size:"m",weight:"bold",__self:void 0,__source:{fileName:Xa,lineNumber:42,columnNumber:11}},r)))};var as="/home/travis/build/20minutes/hela/src/helpers/draftjsHtmlHelper.tsx";const x3=t=>(t.entityMap===void 0&&(t.entityMap={}),_3({styleToHTML:r=>{switch(r){case"ITALIC":return P.createElement(Lt,{as:"span",italic:!0,__self:void 0,__source:{fileName:as,lineNumber:20,columnNumber:18}});case"BOLD":return P.createElement(Lt,{as:"span",weight:"bold",__self:void 0,__source:{fileName:as,lineNumber:22,columnNumber:18}});case"GRAY":return P.createElement(Lt,{as:"span",color:"grey-500",__self:void 0,__source:{fileName:as,lineNumber:24,columnNumber:18}});case"RED":case"BLUE":case"PURPLE":case"PINK":return P.createElement(Lt,{as:"span",color:r.toLowerCase(),__self:void 0,__source:{fileName:as,lineNumber:29,columnNumber:18}});default:return null}},blockToHTML:r=>{switch(r.type){case"unordered-list-item":return{start:"<li>",end:"</li>",nest:"<ul>",nestStart:"<ul>",nestEnd:"</ul>"};case"ordered-list-item":return{start:"<li>",end:"</li>",nest:"<ol>",nestStart:"<ol>",nestEnd:"</ol>"};case"blockquote":return Mn.renderToStaticMarkup(P.createElement(S3,{citationText:r.text}));default:return null}},entityToHTML:(r,i)=>{switch(r.type){case"button":case"LINK":{const a=r.data.buttonProps||r.data;return Mn.renderToStaticMarkup(P.createElement(Uv,{href:a.url,rel:a.nofollow&&"nofollow"||a.sponsored&&"sponsored"||void 0,target:a.targetBlank?"_blank":void 0,variant:r.type==="button"?"primary":void 0,children:a.label?a.label:i}))}case"article":return Mn.renderToStaticMarkup(P.createElement(Y3,{label:"Lire Aussi",title:r.data.articleProps.meta.title,link:r.data.articleProps.meta.canonical,isTargetBlank:r.data.isTargetBlank,isNofollow:r.data.isNofollow,isSponsored:r.data.isSponsored}));case"html":return Mn.renderToStaticMarkup(P.createElement("div",{dangerouslySetInnerHTML:{__html:r.data.htmlProps.html}}));case"image":return Mn.renderToStaticMarkup(P.createElement(fP,{type:Fa.photo,src:r.data.imageProps.src,caption:r.data.imageProps.meta.caption}));case"digiteka":return Mn.renderToStaticMarkup(P.createElement(w3,{html:r.data.videoProps.html}));case"iframely":return Mn.renderToStaticMarkup(P.createElement(N3,{html:r.data.embedProps.html}));default:return i}}})(Nv.convertFromRaw(t)));function Ln(t){return P.forwardRef(t)}var zv="/home/travis/build/20minutes/hela/src/components/atoms/Button/Button.tsx";const Lo=Ln(({as:t="button",variant:r="primary",children:i,iconProps:a,...u},c)=>P.createElement(gt,{...u,as:t,ref:c,alignItems:"center",gap:"xxs",className:ot("c-btn",{[`c-btn--${r}`]:r},u?.className),__self:void 0,__source:{fileName:zv,lineNumber:22,columnNumber:5}},a&&P.createElement(Gn,{...a,__self:void 0,__source:{fileName:zv,lineNumber:30,columnNumber:21}}),i));Lo.displayName="Button";var ls="/home/travis/build/20minutes/hela/src/components/atoms/Divider/Divider.tsx";const E3=Ln(({text:t,color:r="black",thickness:i="thin",...a},u)=>{const c=P.createElement(ss,{bg:r,align:"center",className:ot("c-divider__line",{[`c-divider__line--${i}`]:i!=="thin"}),__self:void 0,__source:{fileName:ls,lineNumber:15,columnNumber:7}});return P.createElement(gt,{...a,ref:u,className:ot("c-divider",{"c-divider--has-text":!!t},a?.className),__self:void 0,__source:{fileName:ls,lineNumber:25,columnNumber:7}},t?P.createElement(P.Fragment,null,c,P.createElement(ss,{px:"xxs-2",className:"c-divider__text",__self:void 0,__source:{fileName:ls,lineNumber:37,columnNumber:13}},P.createElement(Lt,{size:"xxs",color:r,textTransform:"uppercase",__self:void 0,__source:{fileName:ls,lineNumber:38,columnNumber:15}},t)),c):c)});var k3="/home/travis/build/20minutes/hela/src/components/atoms/Embed/Embed.tsx";const N3=({html:t})=>P.createElement("div",{dangerouslySetInnerHTML:{__html:t},__self:void 0,__source:{fileName:k3,lineNumber:8,columnNumber:3}});var Pf="/home/travis/build/20minutes/hela/src/components/atoms/Icon/Icon.tsx";const Gn=Ln(({name:t,size:r=28,withBorder:i=!1,isRounded:a=!1,...u},c)=>{const g=Array.isArray(r)?r?.[0]:r,y=Array.isArray(r)?r?.[1]:r;return P.createElement(Qt,{...u,ref:c,className:ot("c-icon",i&&"c-icon--withBorder",a&&"c-icon--isRounded",u?.className),__self:void 0,__source:{fileName:Pf,lineNumber:100,columnNumber:7}},P.createElement("svg",{width:g,height:y,__self:void 0,__source:{fileName:Pf,lineNumber:110,columnNumber:9}},P.createElement("use",{xlinkHref:`#${t}`,__self:void 0,__source:{fileName:Pf,lineNumber:111,columnNumber:11}})))});var O3="/home/travis/build/20minutes/hela/src/components/atoms/Img/Img.tsx";const Kf=({src:t="",defaultFormat:r,formats:i,alt:a="",sizes:u,...c})=>{const g=r.split("x"),y=g[0],b=g[1];let w,D=`data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='${y}'%20height='${b}'%3E%3C/svg%3E`;return t&&(D=t.replace(/%format/,r),i!==void 0&&i.length>0&&(w=i.map(K=>`${t.replace(/%format/,K)} ${K.split("x")[0]}w`))),P.createElement(Qt,{...c,as:"img",width:y,height:b,src:D,srcSet:w&&w.join(", "),sizes:u||void 0,alt:a,className:ot("c-img",c?.className),__self:void 0,__source:{fileName:O3,lineNumber:36,columnNumber:5}})};var D3="/home/travis/build/20minutes/hela/src/components/atoms/InlineSeparator/InlineSeparator.tsx";const Rf=({size:t,...r})=>P.createElement(Lt,{as:"span",size:t||"s",...r,__self:void 0,__source:{fileName:D3,lineNumber:5,columnNumber:3}},"\u2022");var Co="/home/travis/build/20minutes/hela/src/components/atoms/Input/Input.tsx";Ln(({id:t,className:r,color:i,required:a,label:u,icon:c,positionIcon:g="left",isIconButton:y=!1,iconButtonProps:b,variant:w,msg:D,msgProps:K,...L},T)=>P.createElement("div",{ref:T,className:"c-input",__self:void 0,__source:{fileName:Co,lineNumber:39,columnNumber:5}},u&&P.createElement("label",{htmlFor:t,className:"c-input__label",__self:void 0,__source:{fileName:Co,lineNumber:41,columnNumber:9}},u,a&&P.createElement("abbr",{className:"c-input__label__abbr",title:"(ce champ est obligatoire)",__self:void 0,__source:{fileName:Co,lineNumber:44,columnNumber:13}},"*")),P.createElement("div",{className:"c-input-container",__self:void 0,__source:{fileName:Co,lineNumber:50,columnNumber:7}},c&&(y?P.createElement(Lo,{className:ot("c-input-container__icon",`c-input-container__icon--${g}`),iconProps:{name:c,size:18},variant:"ghost",color:i||"black",...b,__self:void 0,__source:{fileName:Co,lineNumber:53,columnNumber:13}}):P.createElement(Gn,{className:ot("c-input-container__icon",`c-input-container__icon--${g}`),name:c,size:18,__self:void 0,__source:{fileName:Co,lineNumber:67,columnNumber:13}})),P.createElement("input",{id:t,className:ot("c-input-container__input",{[`c-input-container__input--has-icon--${g}`]:c,[`c-input-container__input--${w}`]:w},r),required:a,...L,__self:void 0,__source:{fileName:Co,lineNumber:76,columnNumber:9}})),D&&P.createElement(Lt,{dangerouslySetInnerHTML:{__html:D},role:"alert",...K,__self:void 0,__source:{fileName:Co,lineNumber:90,columnNumber:15}})));var If="/home/travis/build/20minutes/hela/src/components/atoms/Label/Label.tsx";const Hv=({children:t,bg:r,color:i,hasDot:a=!1,isUppercase:u=!0,size:c,className:g,...y})=>P.createElement(gt,{inline:!0,p:r?"xxs-2":void 0,bg:r,color:i,className:ot("c-label",g),alignItems:"center",...y,__self:void 0,__source:{fileName:If,lineNumber:24,columnNumber:3}},a&&P.createElement(Rf,{mr:"xxs-2",size:c||"xxs",__self:void 0,__source:{fileName:If,lineNumber:33,columnNumber:16}}),P.createElement(Lt,{as:"span",size:c||"xxs",weight:"bold",textTransform:u?"uppercase":void 0,__self:void 0,__source:{fileName:If,lineNumber:34,columnNumber:5}},t)),M3=t=>t.replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[\s_]+/g,"-").toLowerCase(),Av=t=>{if(t.propValue!==void 0){if(typeof t.propValue!="boolean"){const r=M3(typeof t.propValue=="number"?t.propValue.toString():t.propValue);return t.className?`${t.className}-${r}@${t.defaultModifier}`:`${r}@${t.defaultModifier}`}if(!t.className)throw new Error('It is necessary to define the argument "className" !');return`${t.className}@${t.defaultModifier}`}},Vt=t=>{if(t.propValue&&["boolean","string","number"].includes(typeof t.propValue)||!t.propValue){const r=Av({className:t.className,defaultModifier:t.defaultModifier||"xs",propValue:t.propValue});return r?[r]:[]}return Object.entries(t.propValue).reduce((r,[i,a])=>{const u=Av({className:t.className,defaultModifier:i,propValue:a});return u&&r.push(u),r},[])},us=t=>typeof t.props=="object"?Object.keys(t.props).reduce((r,i)=>(t.systemPropNames.includes(i)||(r[i]=t.props[i]),r),{}):{},L3=t=>ot(...Vt({className:"bg",defaultModifier:"light",propValue:t.bg}),...Vt({className:"color",defaultModifier:"light",propValue:t.color})),C3=t=>ot(Object.entries(t).filter(([r])=>Object.keys(yp).includes(r)).reduce((r,[i,a])=>(r.push(...Vt({className:i,propValue:a})),r),[])),B3=t=>ot(Object.entries(t).filter(([r])=>Object.keys(vp).includes(r)).reduce((r,[i,a])=>(r.push(...Vt({className:i,propValue:a})),r),[])),F3=({textAlign:t,weight:r,textTransform:i,textDecoration:a,italic:u,fontFamily:c})=>ot(Vt({className:"text",propValue:t}),Vt({className:"font-weight",propValue:r}),{[`text-transform-${i}`]:!!i,[`text-decoration-${a}`]:!!a,"text-italic":!!u,[`font-${c}`]:!!c}),P3=t=>ot(C3(t),L3(t),B3(t)),K3=t=>ot(...Vt({propValue:t.align,className:"self"})),qv=t=>ot(...Vt({propValue:t.alignItems,className:"items"}),...Vt({propValue:t.alignContent,className:"content"}),...Vt({propValue:t.justifyContent,className:"justify"}),...Vt({propValue:t.gap,className:"gap"}),...Vt({propValue:t.gapX,className:"gap-x"}),...Vt({propValue:t.gapY,className:"gap-y"})),R3=({inline:t=!1,direction:r,wrap:i,...a})=>ot(...Vt({propValue:t,className:t?"inline-flex":"flex"}),...Vt({propValue:r,className:"direction"}),...Vt({propValue:i}),qv(a)),I3=({basis:t,shrink:r,grow:i,...a})=>ot(...Vt({propValue:t,className:"basis"}),...Vt({propValue:r,className:"shrink"}),...Vt({propValue:i,className:"grow"}),K3(a));var j3="/home/travis/build/20minutes/hela/src/components/atoms/Layout/Box/Box.tsx";const Qt=Ln(({as:t="div",children:r,...i},a)=>P.createElement(t,{...us({props:i,systemPropNames:Object.keys(y_)}),ref:a,className:ot(P3(i),i?.className),__self:void 0,__source:{fileName:j3,lineNumber:12,columnNumber:3}},r));Qt.displayName="Box";const T3=({colsNumber:t,gap:r,gapX:i,gapY:a,children:u,...c})=>P.createElement(Qt,{...c,className:ot("grid",...Vt({className:"grid-cols-number",propValue:t}),...Vt({className:"grid-gap",propValue:r}),...Vt({className:"grid-gap-row",propValue:i}),...Vt({className:"grid-gap-col",propValue:a}),ot(qv(c),c?.className)),children:u});var z3="/home/travis/build/20minutes/hela/src/components/atoms/Layout/Flex/Flex.tsx";const gt=Ln(({as:t="div",children:r,...i},a)=>P.createElement(Qt,{...us({props:i,systemPropNames:Object.keys(m_)}),as:t,ref:a,className:ot(R3(i),i?.className),__self:void 0,__source:{fileName:z3,lineNumber:13,columnNumber:3}},r));var H3="/home/travis/build/20minutes/hela/src/components/atoms/Layout/Flex/FlexItem/FlexItem.tsx";const ss=Ln(({as:t="div",children:r,...i},a)=>P.createElement(Qt,{...us({props:i,systemPropNames:Object.keys(h_)}),as:t,ref:a,className:ot(I3(i),i?.className),__self:void 0,__source:{fileName:H3,lineNumber:13,columnNumber:5}},r));var A3="/home/travis/build/20minutes/hela/src/components/atoms/Link/Link.tsx";const Uv=Ln(({as:t="a",children:r,color:i,variant:a,...u},c)=>{if(a&&i)throw new Error("You can't use color and variant props together");return P.createElement(Qt,{...u,as:t,ref:c,color:a?void 0:i||"ultramarine",className:ot("c-link",{[`c-btn c-btn--${a}`]:a&&!i},u?.className),__self:void 0,__source:{fileName:A3,lineNumber:18,columnNumber:7}},r)});var q3=['a[href]:not([tabindex^="-"])','area[href]:not([tabindex^="-"])','input:not([type="hidden"]):not([type="radio"]):not([disabled]):not([tabindex^="-"])','input[type="radio"]:not([disabled]):not([tabindex^="-"])','select:not([disabled]):not([tabindex^="-"])','textarea:not([disabled]):not([tabindex^="-"])','button:not([disabled]):not([tabindex^="-"])','iframe:not([tabindex^="-"])','audio[controls]:not([tabindex^="-"])','video[controls]:not([tabindex^="-"])','[contenteditable]:not([tabindex^="-"])','[tabindex]:not([tabindex^="-"])'],U3="Tab",V3="Escape";function Ri(t){this._show=this.show.bind(this),this._hide=this.hide.bind(this),this._maintainFocus=this._maintainFocus.bind(this),this._bindKeypress=this._bindKeypress.bind(this),this.$el=t,this.shown=!1,this._id=this.$el.getAttribute("data-a11y-dialog")||this.$el.id,this._previouslyFocused=null,this._listeners={},this.create()}Ri.prototype.create=function(){this.$el.setAttribute("aria-hidden",!0),this.$el.setAttribute("aria-modal",!0),this.$el.setAttribute("tabindex",-1),this.$el.hasAttribute("role")||this.$el.setAttribute("role","dialog"),this._openers=Vl('[data-a11y-dialog-show="'+this._id+'"]'),this._openers.forEach(function(r){r.addEventListener("click",this._show)}.bind(this));const t=this.$el;return this._closers=Vl("[data-a11y-dialog-hide]",this.$el).filter(function(r){return r.closest('[aria-modal="true"], [data-a11y-dialog]')===t}).concat(Vl('[data-a11y-dialog-hide="'+this._id+'"]')),this._closers.forEach(function(r){r.addEventListener("click",this._hide)}.bind(this)),this._fire("create"),this},Ri.prototype.show=function(t){return this.shown?this:(this._previouslyFocused=document.activeElement,this.$el.removeAttribute("aria-hidden"),this.shown=!0,Vv(this.$el),document.body.addEventListener("focus",this._maintainFocus,!0),document.addEventListener("keydown",this._bindKeypress),this._fire("show",t),this)},Ri.prototype.hide=function(t){return this.shown?(this.shown=!1,this.$el.setAttribute("aria-hidden","true"),this._previouslyFocused&&this._previouslyFocused.focus&&this._previouslyFocused.focus(),document.body.removeEventListener("focus",this._maintainFocus,!0),document.removeEventListener("keydown",this._bindKeypress),this._fire("hide",t),this):this},Ri.prototype.destroy=function(){return this.hide(),this._openers.forEach(function(t){t.removeEventListener("click",this._show)}.bind(this)),this._closers.forEach(function(t){t.removeEventListener("click",this._hide)}.bind(this)),this._fire("destroy"),this._listeners={},this},Ri.prototype.on=function(t,r){return typeof this._listeners[t]>"u"&&(this._listeners[t]=[]),this._listeners[t].push(r),this},Ri.prototype.off=function(t,r){var i=(this._listeners[t]||[]).indexOf(r);return i>-1&&this._listeners[t].splice(i,1),this},Ri.prototype._fire=function(t,r){var i=this._listeners[t]||[],a=new CustomEvent(t,{detail:r});this.$el.dispatchEvent(a),i.forEach(function(u){u(this.$el,r)}.bind(this))},Ri.prototype._bindKeypress=function(t){const r=document.activeElement;r&&r.closest('[aria-modal="true"]')!==this.$el||(this.shown&&t.key===V3&&this.$el.getAttribute("role")!=="alertdialog"&&(t.preventDefault(),this.hide(t)),this.shown&&t.key===U3&&Z3(this.$el,t))},Ri.prototype._maintainFocus=function(t){this.shown&&!t.target.closest('[aria-modal="true"]')&&!t.target.closest("[data-a11y-dialog-ignore-focus-trap]")&&Vv(this.$el)};function Q3(t){return Array.prototype.slice.call(t)}function Vl(t,r){return Q3((r||document).querySelectorAll(t))}function Vv(t){var r=t.querySelector("[autofocus]")||t;r.focus()}function X3(t){return Vl(q3.join(","),t).filter(function(r){return!!(r.offsetWidth||r.offsetHeight||r.getClientRects().length)})}function Z3(t,r){var i=X3(t),a=i.indexOf(document.activeElement);r.shiftKey&&a===0?(i[i.length-1].focus(),r.preventDefault()):!r.shiftKey&&a===i.length-1&&(i[0].focus(),r.preventDefault())}function jf(){Vl("[data-a11y-dialog]").forEach(function(t){new Ri(t)})}typeof document<"u"&&(document.readyState==="loading"?document.addEventListener("DOMContentLoaded",jf):window.requestAnimationFrame?window.requestAnimationFrame(jf):window.setTimeout(jf,16));var $3="/home/travis/build/20minutes/hela/src/components/atoms/Pipe/Pipe.tsx";function Qv(){return P.createElement("div",{className:"c-pipe",__self:this,__source:{fileName:$3,lineNumber:4,columnNumber:10}})}var cs="/home/travis/build/20minutes/hela/src/components/atoms/ReadAlso/ReadAlso.tsx";const Y3=({title:t,link:r,label:i,isTargetBlank:a,isNofollow:u,isSponsored:c})=>P.createElement("div",{className:"c-read-also",__self:void 0,__source:{fileName:cs,lineNumber:21,columnNumber:3}},P.createElement(Hv,{color:"grey-600",__self:void 0,__source:{fileName:cs,lineNumber:22,columnNumber:5}},i),P.createElement(Qv,{__self:void 0,__source:{fileName:cs,lineNumber:23,columnNumber:5}}),P.createElement(Uv,{href:r,className:"c-read-also__link",target:a?"_blank":void 0,rel:u&&"isNofollow"||c&&"isSponsored"||void 0,__self:void 0,__source:{fileName:cs,lineNumber:24,columnNumber:5}},t)),J3=()=>{const t=document.documentElement.scrollTop;let r=document.documentElement.scrollHeight-document.documentElement.clientHeight;const i=document.querySelector(".js-limit-scroll-progress-bar");i&&(r=i.scrollHeight-document.documentElement.clientHeight+(window.pageYOffset+i.getBoundingClientRect().top));const a=Math.round(t/r*100),u=document.querySelector(".c-progress__bar");u&&(u.style.width=`${a}%`,a>=100&&(u.style.width="100%"))},W3=()=>{document.querySelector(".c-progress")&&window.addEventListener("scroll",J3)};var Xv="/home/travis/build/20minutes/hela/src/components/atoms/ScrollProgressBar/ScrollProgressBar.tsx";Ln(({variant:t,progressColor:r="ultramarine"},i)=>(dc(()=>{W3()},[]),P.createElement(Qt,{ref:i,bg:"grey-100",className:ot("c-progress",{[`c-progress--${t}`]:t}),__self:void 0,__source:{fileName:Xv,lineNumber:21,columnNumber:7}},P.createElement(Qt,{className:"c-progress__bar",bg:r,style:{width:"0%"},__self:void 0,__source:{fileName:Xv,lineNumber:26,columnNumber:9}}))));const G3=({navigatedList:t,nextBtn:r,prevBtn:i})=>{t&&(t.scrollLeft>0&&(t.scrollLeft+t.clientWidth<t.scrollWidth&&r.classList.add("o-nav-button--visible"),r.classList.remove("o-nav-button--visible"),i.classList.add("o-nav-button--visible")),t.clientWidth<t.scrollWidth?r.classList.add("o-nav-button--visible"):(i.classList.remove("o-nav-button--visible"),r.classList.remove("o-nav-button--visible")),t.scrollLeft+t.clientWidth===t.scrollWidth&&r.classList.remove("o-nav-button--visible"))},eP=({navigatedList:t,nextBtn:r,prevBtn:i,sliderVariant:a})=>{if(t)if(t.scrollWidth-t.clientWidth>t.clientWidth){let u=t.scrollLeft;switch(a){case"partners":u+=t.clientWidth+32;break;case"rubrics":u+=t.clientWidth-36;break;default:u+=Math.ceil(t.clientWidth*.6);break}t.scrollTo({left:u,behavior:"smooth"}),i.classList.add("o-nav-button--visible"),u+t.clientWidth>=t.scrollWidth&&r.classList.remove("o-nav-button--visible")}else{const u=t.scrollWidth-t.clientWidth;t.scrollTo({left:u,behavior:"smooth"}),r.classList.remove("o-nav-button--visible"),i.classList.add("o-nav-button--visible")}},tP=({navigatedList:t,nextBtn:r,prevBtn:i,sliderVariant:a})=>{if(t)if(t.clientWidth<t.scrollLeft){let u=t.scrollLeft;switch(a){case"partners":u-=t.clientWidth+32;break;case"rubrics":u-=t.clientWidth-36;break;default:u-=Math.ceil(t.clientWidth*.6);break}t.scrollTo({left:u,behavior:"smooth"}),r.classList.add("o-nav-button--visible"),u===0&&i.classList.remove("o-nav-button--visible")}else t.scrollTo({left:0,behavior:"smooth"}),i.classList.remove("o-nav-button--visible"),t.clientWidth<t.scrollWidth&&r.classList.add("o-nav-button--visible")},nP=({navigatedList:t,nextBtn:r,prevBtn:i})=>{G3({navigatedList:t,nextBtn:r,prevBtn:i})},rP=()=>{const t=document.querySelectorAll(".js-navigation-container");for(const r of Array.from(t)){const{sliderVariant:i}=r.dataset;if(r){const a=r.querySelector(".js-navigation-container__list"),u=r.querySelector(".o-nav-button--next-button"),c=r.querySelector(".o-nav-button--previous-button");a&&a.clientWidth<a.scrollWidth&&u?.classList.add("o-nav-button--visible"),u?.addEventListener("click",eP.bind(!1,{navigatedList:a,nextBtn:u,prevBtn:c,sliderVariant:i})),c?.addEventListener("click",tP.bind(!1,{navigatedList:a,nextBtn:u,prevBtn:c,sliderVariant:i}))}}},iP=()=>{const t=document.querySelectorAll(".js-navigation-container");for(const r of Array.from(t)){const{sliderVariant:i}=r.dataset;if(r){const a=r.querySelector(".js-navigation-container__list"),u=r.querySelector(".o-nav-button--next-button"),c=r.querySelector(".o-nav-button--previous-button");window.addEventListener("resize",nP.bind(!1,{navigatedList:a,nextBtn:u,prevBtn:c,sliderVariant:i}))}}};var Za="/home/travis/build/20minutes/hela/src/components/atoms/Slider/Slider.tsx";const oP=t=>{switch(t){case"primary":return{light:"white",dark:"grey-700"};case"secondary":return{light:"grey-100",dark:"grey-700"};default:return}};Ln(({layout:t,children:r,itemsGap:i,buttonsBackground:a,sliderVariant:u="default",...c},g)=>(dc(()=>{t===Dr.DESKTOP&&(rP(),iP())},[]),P.createElement(Qt,{...c,ref:g,className:ot("c-slider js-navigation-container",c?.className),"data-slider-variant":u,__self:void 0,__source:{fileName:Za,lineNumber:40,columnNumber:7}},P.createElement(Qt,{className:"c-slider__viewport js-navigation-container__list",__self:void 0,__source:{fileName:Za,lineNumber:46,columnNumber:9}},P.createElement(gt,{className:"c-slider__list",alignItems:"center",gap:i,__self:void 0,__source:{fileName:Za,lineNumber:47,columnNumber:11}},r)),t===Dr.DESKTOP&&P.createElement(Qt,{className:"c-slider__buttons-container",__self:void 0,__source:{fileName:Za,lineNumber:52,columnNumber:11}},Array.from(["previous","next"],y=>P.createElement(Qt,{key:y,bg:a&&oP(a),pr:a&&y==="previous"?"m":void 0,pl:a&&y==="next"?"m":void 0,className:ot(`c-slider__button-container c-slider__button-container--${y} o-nav-button o-nav-button--${y}-button`,{"c-slider__button-container--has-background":a},{[`c-slider__button-container--${u}`]:u}),__self:void 0,__source:{fileName:Za,lineNumber:54,columnNumber:15}},P.createElement(Lo,{variant:"round",iconProps:{name:"chevron",size:12},__self:void 0,__source:{fileName:Za,lineNumber:67,columnNumber:17}})))))));var fs="/home/travis/build/20minutes/hela/src/components/atoms/Switch/Switch.tsx";const aP=Ln(({id:t,className:r,label:i,isChecked:a=!1},u)=>P.createElement("div",{className:"switch",__self:void 0,__source:{fileName:fs,lineNumber:14,columnNumber:5}},P.createElement("label",{htmlFor:t,className:"switch-label",__self:void 0,__source:{fileName:fs,lineNumber:15,columnNumber:7}},i),P.createElement("button",{type:"button",ref:u,id:t,className:ot("switch-button",r),role:"switch","aria-checked":a,__self:void 0,__source:{fileName:fs,lineNumber:18,columnNumber:7}},P.createElement("span",{"aria-hidden":a,__self:void 0,__source:{fileName:fs,lineNumber:26,columnNumber:9}},a?"on":"off"))));aP.displayName="Switch";var lP="/home/travis/build/20minutes/hela/src/components/atoms/Tag/Tag.tsx";Ln(({as:t="a",id:r,link:i,variant:a="primary",children:u,...c},g)=>P.createElement(Qt,{...c,as:t,ref:g,href:i,className:ot("c-tags",`c-tags--${a}`,c?.className),"data-id":r,__self:void 0,__source:{fileName:lP,lineNumber:15,columnNumber:5}},u));var uP="/home/travis/build/20minutes/hela/src/components/atoms/Typography/Typography.tsx";const Zv=Ln(({as:t="p",children:r,...i},a)=>P.createElement(Qt,{...us({props:i,systemPropNames:Object.keys(b_)}),as:t,ref:a,className:ot(F3(i),i?.className),__self:void 0,__source:{fileName:uP,lineNumber:14,columnNumber:5}},r));var sP="/home/travis/build/20minutes/hela/src/components/atoms/Typography/Heading/Heading.tsx";const $a=Ln(({as:t="h1",size:r,children:i,...a},u)=>P.createElement(Zv,{...a,as:t,ref:u,className:ot(Vt({className:"heading",propValue:r}),a?.className),__self:void 0,__source:{fileName:sP,lineNumber:15,columnNumber:5}},i));var cP="/home/travis/build/20minutes/hela/src/components/atoms/Typography/Text/Text.tsx";const Lt=Ln(({as:t="p",size:r,children:i,...a},u)=>P.createElement(Zv,{...a,as:t,ref:u,className:ot(Vt({className:"text",propValue:r}),a?.className),__self:void 0,__source:{fileName:cP,lineNumber:14,columnNumber:3}},i));var no="/home/travis/build/20minutes/hela/src/components/molecules/Article/ArticleCover/ArticleCover.tsx";const fP=({type:t=Fa.photo,src:r,caption:i,source:a,credits:u,isCaptionInside:c=!1,layout:g=Dr.MOBILE})=>{let y="320x204",b="100vw";const w=["1444x920","722x460","640x408","320x204"];return g===Dr.DESKTOP&&(y="722x460",b="(min-width: 45.125rem) 45.125rem, 100vw"),P.createElement("figure",{className:"c-media",__self:void 0,__source:{fileName:no,lineNumber:35,columnNumber:5}},t===Fa.photo&&P.createElement("div",{className:"c-media__content",__self:void 0,__source:{fileName:no,lineNumber:37,columnNumber:9}},P.createElement(Kf,{src:r,defaultFormat:y,formats:w,sizes:b,alt:i,__self:void 0,__source:{fileName:no,lineNumber:38,columnNumber:11}})),[Fa.video,Fa.podcast].includes(t)&&P.createElement("div",{className:"c-media__content c-media__content--video",dangerouslySetInnerHTML:{__html:r},__self:void 0,__source:{fileName:no,lineNumber:48,columnNumber:9}}),i&&P.createElement(Lt,{as:"figcaption",size:"xs",mt:c?"0":"s",px:c?"l":"0",pb:c?"l":"0",color:c?"white":"grey-300",className:ot("c-media__caption",{"c-media__caption--inside":c}),__self:void 0,__source:{fileName:no,lineNumber:56,columnNumber:9}},i,u&&P.createElement(P.Fragment,null,P.createElement(Lt,{as:"span",color:c?"white":"grey-300",size:"xs",mx:"xxs",__self:void 0,__source:{fileName:no,lineNumber:70,columnNumber:15}},"-"),P.createElement(Lt,{as:"span",color:c?"white":"grey-300",size:"xxs",__self:void 0,__source:{fileName:no,lineNumber:73,columnNumber:15}},u)),a&&P.createElement(P.Fragment,null,P.createElement(Lt,{as:"span",color:c?"white":"grey-300",size:"xs",mx:"xxs",__self:void 0,__source:{fileName:no,lineNumber:80,columnNumber:15}},"-"),P.createElement(Lt,{as:"span",color:c?"white":"grey-300",size:"xxs",__self:void 0,__source:{fileName:no,lineNumber:83,columnNumber:15}},a))))};var dP="/home/travis/build/20minutes/hela/src/components/molecules/Card/Card/Card.tsx";const $v=Ln(({as:t="a",link:r,children:i,...a},u)=>P.createElement(gt,{...a,as:t,ref:u,href:r,justifyContent:a?.justifyContent||"between",className:"c-card",__self:void 0,__source:{fileName:dP,lineNumber:12,columnNumber:3}},i));var Bo="/home/travis/build/20minutes/hela/src/components/molecules/Card/CardExtraSmall/CardExtraSmall.tsx";const pP=({link:t,title:r,cardHeaderProps:i,cardImageProps:a,socialBarProps:u,cardFooterProps:c,...g})=>P.createElement($v,{...g,p:g!=null&&g.bg?"s":void 0,link:t,direction:"column",className:"c-card-extra-small",__self:void 0,__source:{fileName:Bo,lineNumber:28,columnNumber:3}},P.createElement(ss,{__self:void 0,__source:{fileName:Bo,lineNumber:35,columnNumber:5}},P.createElement(Jv,{...i,mb:"xxs-2",__self:void 0,__source:{fileName:Bo,lineNumber:36,columnNumber:7}}),P.createElement(gt,{justifyContent:"between",gap:"m",__self:void 0,__source:{fileName:Bo,lineNumber:37,columnNumber:7}},P.createElement($a,{as:"h4",size:"xxs",fontFamily:"source-serif-pro",className:"c-card-extra-small__title",__self:void 0,__source:{fileName:Bo,lineNumber:38,columnNumber:9}},r),a&&P.createElement(Wv,{...a,defaultFormat:"130x82",formats:["130x82"],sizes:"8.125rem",alt:r,className:"c-card-extra-small__img",__self:void 0,__source:{fileName:Bo,lineNumber:47,columnNumber:11}}))),u&&P.createElement(Gv,{...u,variant:"simple",mt:"xs",__self:void 0,__source:{fileName:Bo,lineNumber:58,columnNumber:24}}),c&&P.createElement(Yv,{...c,mt:"xs",__self:void 0,__source:{fileName:Bo,lineNumber:59,columnNumber:25}}));var Tf="/home/travis/build/20minutes/hela/src/components/molecules/Card/CardFooter/CardFooter.tsx";const Yv=({text:t,secondaryText:r,bg:i,...a})=>P.createElement(gt,{...a,justifyContent:"between",alignItems:"center",gap:"s",__self:void 0,__source:{fileName:Tf,lineNumber:13,columnNumber:3}},P.createElement(Lt,{as:"span",size:"xs",bg:i||void 0,p:i?"xxs":void 0,__self:void 0,__source:{fileName:Tf,lineNumber:14,columnNumber:5}},t),r&&P.createElement(Lt,{as:"span",size:"xxs-3",color:"grey-300",textTransform:"uppercase",__self:void 0,__source:{fileName:Tf,lineNumber:18,columnNumber:7}},r));var Ya="/home/travis/build/20minutes/hela/src/components/molecules/Card/CardHeader/CardHeader.tsx";const Jv=({headline:t,leftSubheader:r,rightSubheader:i,size:a="xxs",...u})=>P.createElement(gt,{...u,alignItems:"center",gap:"xxs-2",color:"grey-400",__self:void 0,__source:{fileName:Ya,lineNumber:15,columnNumber:3}},r&&P.createElement(P.Fragment,null,P.createElement(Lt,{as:"span",size:a,color:r.color,weight:"bold",__self:void 0,__source:{fileName:Ya,lineNumber:18,columnNumber:9}},r.text),P.createElement(Rf,{size:a,__self:void 0,__source:{fileName:Ya,lineNumber:21,columnNumber:9}})),P.createElement(Hv,{color:t.color,bg:t.bg,size:a,__self:void 0,__source:{fileName:Ya,lineNumber:24,columnNumber:5}},t.text),i&&P.createElement(P.Fragment,null,P.createElement(Rf,{size:a,__self:void 0,__source:{fileName:Ya,lineNumber:29,columnNumber:9}}),P.createElement(Lt,{as:"time",size:a,color:i.color,__self:void 0,__source:{fileName:Ya,lineNumber:30,columnNumber:9}},i.text)));var Ql="/home/travis/build/20minutes/hela/src/components/molecules/Card/CardImage/CardImage.tsx";const hP=t=>{switch(t){case"small":return 20;case"medium":return 28;default:return 40}},Wv=({cover:t,formats:r,defaultFormat:i,sizes:a,alt:u,caption:c,...g})=>{const y=P.createElement(Kf,{...!c&&g,src:t,defaultFormat:i,formats:r,sizes:a,alt:u,__self:void 0,__source:{fileName:Ql,lineNumber:29,columnNumber:5}});return P.createElement(Qt,{...c&&g,className:ot("c-card-img",g?.className),__self:void 0,__source:{fileName:Ql,lineNumber:40,columnNumber:5}},c?P.createElement(P.Fragment,null,P.createElement(gt,{color:"white",alignItems:"center",gap:c.size==="small"?"xxs-2":"xxs",className:ot("c-card-img__caption",{[`c-card-img__caption--${c.size||"big"}`]:!0}),__self:void 0,__source:{fileName:Ql,lineNumber:43,columnNumber:11}},P.createElement(Gn,{name:c.iconName,size:hP(c.size||"big"),__self:void 0,__source:{fileName:Ql,lineNumber:51,columnNumber:13}}),P.createElement(Lt,{size:c.size==="small"?"xxs-2":"xxs",weight:"bold",__self:void 0,__source:{fileName:Ql,lineNumber:52,columnNumber:13}},c.text)),y):y)};var Fo="/home/travis/build/20minutes/hela/src/components/molecules/Card/CardMedium/CardMedium.tsx";const mP=({link:t,title:r,cardHeaderProps:i,cardImageProps:a,socialBarProps:u,cardFooterProps:c,bg:g,radius:y,...b})=>P.createElement($v,{...b,link:t,direction:"column",bg:g,radius:g?y||"xxs":void 0,__self:void 0,__source:{fileName:Fo,lineNumber:30,columnNumber:3}},P.createElement(ss,{__self:void 0,__source:{fileName:Fo,lineNumber:31,columnNumber:5}},a&&P.createElement(Wv,{...a,formats:["480x308","414x265","346x222"],defaultFormat:"480x308",sizes:"(min-width: 30rem) 21.625rem, 100vw",alt:r,mb:"xs",style:g?{borderRadius:"unset"}:void 0,__self:void 0,__source:{fileName:Fo,lineNumber:33,columnNumber:9}}),P.createElement(Qt,{px:g?"s":void 0,__self:void 0,__source:{fileName:Fo,lineNumber:43,columnNumber:7}},P.createElement(Jv,{...i,mb:"xxs-2",__self:void 0,__source:{fileName:Fo,lineNumber:44,columnNumber:9}}),P.createElement($a,{as:"h3",size:"m",fontFamily:"oswald",className:"c-card-medium__title",__self:void 0,__source:{fileName:Fo,lineNumber:45,columnNumber:9}},r))),u&&P.createElement(Gv,{...u,variant:"simple",mt:"m",__self:void 0,__source:{fileName:Fo,lineNumber:50,columnNumber:24}}),c&&P.createElement(Yv,{...c,mt:"m",p:g?"s":void 0,__self:void 0,__source:{fileName:Fo,lineNumber:51,columnNumber:25}})),gP=(t,r)=>{r.stopImmediatePropagation(),r.preventDefault();const i=r.currentTarget,a=document.querySelectorAll(".js-collapse__button"),u=document.querySelectorAll('[role="tabpanel"]'),c=i.getAttribute("aria-controls"),g=Object.values(u).find(y=>y.id===c);if(i.getAttribute("aria-expanded")==="true"){i.setAttribute("aria-expanded","false"),g?.setAttribute("aria-hidden","true");return}a.forEach(y=>{y.setAttribute("aria-expanded","false")}),u.forEach(y=>{y.setAttribute("aria-hidden","true")}),i.setAttribute("aria-expanded","true"),g&&g.removeAttribute("aria-hidden")},vP=(t=document.querySelector(".js-collapse__button"))=>{t&&document.querySelectorAll(".c-collapse__button").forEach(r=>{r.addEventListener("click",gP.bind(!1,t))})};var Xl="/home/travis/build/20minutes/hela/src/components/molecules/Collapse/Collapse.tsx";Ln(({title:t,index:r,isOpen:i,color:a,bg:u,iconProps:c,btnProps:g,children:y},b)=>{const w=P.useRef(null);return dc(()=>{w.current&&vP(w.current)},[]),P.createElement("div",{className:"c-collapse js-collapse",ref:b,__self:void 0,__source:{fileName:Xl,lineNumber:29,columnNumber:7}},P.createElement(Qt,{...g,ref:w,as:"button",type:"button",id:`c-collapse__button-${r}`,className:ot("c-collapse__button js-collapse__button",g?.className),"aria-controls":`c-collapse__content-${r}`,"aria-expanded":i||"false",__self:void 0,__source:{fileName:Xl,lineNumber:30,columnNumber:9}},P.createElement($a,{as:"h5",size:"xxs",color:a||"black",__self:void 0,__source:{fileName:Xl,lineNumber:40,columnNumber:11}},t),P.createElement(Gn,{...c,name:"chevron",size:16,className:ot("c-collapse__icon",c?.className),__self:void 0,__source:{fileName:Xl,lineNumber:43,columnNumber:11}})),P.createElement(gt,{direction:"column",p:"m",id:`c-collapse__content-${r}`,"aria-hidden":i?!i:"true","aria-labelledby":`c-collapse__button-${r}`,bg:u||void 0,className:"c-collapse__list",role:"tabpanel",__self:void 0,__source:{fileName:Xl,lineNumber:50,columnNumber:9}},y))});var Zl="/home/travis/build/20minutes/hela/src/components/molecules/Horoscope/HoroscopeTopicCard/HoroscopeTopicCard.tsx";Ln(({icon:t,title:r,content:i,...a},u)=>P.createElement(Qt,{...a,ref:u,className:ot("c-horoscope-topic-card",a?.className),__self:void 0,__source:{fileName:Zl,lineNumber:15,columnNumber:5}},P.createElement(gt,{alignItems:"center",mb:"s",__self:void 0,__source:{fileName:Zl,lineNumber:16,columnNumber:7}},P.createElement(Gn,{className:"c-horoscope-topic-card__icon",name:t,size:21,__self:void 0,__source:{fileName:Zl,lineNumber:17,columnNumber:9}}),P.createElement($a,{as:"h3",size:"xs",__self:void 0,__source:{fileName:Zl,lineNumber:18,columnNumber:9}},r)),P.createElement(Lt,{size:"m",__self:void 0,__source:{fileName:Zl,lineNumber:22,columnNumber:7}},i)));var pn="/home/travis/build/20minutes/hela/src/components/molecules/InfoBanner/InfoBanner.tsx";const yP=({cover:t="https://placehold.jp/%format.png",description:r,variant:i="default",title:a,link:u,closeButton:c,...g})=>i==="framed"?typeof r=="string"?null:P.createElement(gt,{...g,className:ot("c-info-banner",g?.className),color:"black",bg:"grey-100",p:"s",__self:void 0,__source:{fileName:pn,lineNumber:34,columnNumber:7}},P.createElement(gt,{className:"c-info-banner__container",gap:"s",alignItems:"start",__self:void 0,__source:{fileName:pn,lineNumber:41,columnNumber:9}},P.createElement(gt,{className:"c-info-banner__content",direction:"column",justifyContent:"between",__self:void 0,__source:{fileName:pn,lineNumber:42,columnNumber:11}},P.createElement(Lt,{size:"s",color:"black",dangerouslySetInnerHTML:{__html:x3(r)},__self:void 0,__source:{fileName:pn,lineNumber:43,columnNumber:13}})))):i==="alert"&&typeof r=="string"?P.createElement(gt,{...g,className:ot("c-info-banner","c-info-banner--alert",g?.className),alignItems:"center",justifyContent:"center",gap:"s",color:"white",bg:"red",p:"s",__self:void 0,__source:{fileName:pn,lineNumber:59,columnNumber:7}},P.createElement(gt,{className:"c-info-banner__container",gap:"s",alignItems:"start",__self:void 0,__source:{fileName:pn,lineNumber:69,columnNumber:9}},P.createElement(gt,{as:"a",className:"c-info-banner__visual",...u||{},__self:void 0,__source:{fileName:pn,lineNumber:70,columnNumber:11}},P.createElement(Kf,{src:t,defaultFormat:"130x82",formats:["130x82"],sizes:"8.125rem",alt:a,className:"c-info-banner__cover",__self:void 0,__source:{fileName:pn,lineNumber:71,columnNumber:13}})),P.createElement(gt,{className:"c-info-banner__content",direction:"column",justifyContent:{xs:"between"},__self:void 0,__source:{fileName:pn,lineNumber:80,columnNumber:11}},P.createElement(Lt,{className:"c-info-banner__title",color:"red",bg:"white",px:"xxs-2",mb:"xxs-2",size:"s",weight:"bold",__self:void 0,__source:{fileName:pn,lineNumber:85,columnNumber:13}},a),P.createElement(Lt,{as:u?"a":void 0,size:"s",color:"white",...u||{},__self:void 0,__source:{fileName:pn,lineNumber:96,columnNumber:13}},r),c&&P.createElement(Lo,{...c,variant:"ghost",className:"c-info-banner__close",__self:void 0,__source:{fileName:pn,lineNumber:100,columnNumber:15}},P.createElement(Gn,{name:"close",size:12,color:"white",__self:void 0,__source:{fileName:pn,lineNumber:101,columnNumber:17}}))))):P.createElement(gt,{...g,className:ot("c-info-banner",g?.className),color:"black",bg:"grey-100",p:"s",__self:void 0,__source:{fileName:pn,lineNumber:111,columnNumber:5}},P.createElement(gt,{className:"c-info-banner__container",gap:"s",alignItems:"start",__self:void 0,__source:{fileName:pn,lineNumber:118,columnNumber:7}},P.createElement(gt,{className:"c-info-banner__content",direction:"column",justifyContent:{xs:"between"},__self:void 0,__source:{fileName:pn,lineNumber:119,columnNumber:9}},P.createElement($a,{as:"h5",size:"xxs",color:"black",mb:"xs",__self:void 0,__source:{fileName:pn,lineNumber:124,columnNumber:11}},a),P.createElement(Lt,{as:u?"a":void 0,size:"s",color:i==="alert"?"white":"black",...u||{},__self:void 0,__source:{fileName:pn,lineNumber:127,columnNumber:11}},typeof r=="string"?r:""),c&&P.createElement(Lo,{...c,variant:"ghost",className:"c-info-banner__close",__self:void 0,__source:{fileName:pn,lineNumber:136,columnNumber:13}},P.createElement(Gn,{name:"close",size:12,color:"white",__self:void 0,__source:{fileName:pn,lineNumber:137,columnNumber:15}})))));var Ii="/home/travis/build/20minutes/hela/src/components/molecules/SmartBanner/SmartBanner.tsx";const bP=({installButton:t,closeButton:r})=>P.createElement(gt,{className:"c-smart-banner u-skin-darkBlue",alignItems:"center",gap:"xs",__self:void 0,__source:{fileName:Ii,lineNumber:10,columnNumber:3}},P.createElement(Lo,{...r,variant:"ghost",iconProps:{name:"close",size:10},color:"white",p:"0",__self:void 0,__source:{fileName:Ii,lineNumber:11,columnNumber:5}}),P.createElement(Gn,{name:"logo",size:35,bg:"white",color:"ultramarine",className:"c-smart-banner__logo",__self:void 0,__source:{fileName:Ii,lineNumber:21,columnNumber:5}}),P.createElement(Qt,{__self:void 0,__source:{fileName:Ii,lineNumber:22,columnNumber:5}},P.createElement(gt,{__self:void 0,__source:{fileName:Ii,lineNumber:23,columnNumber:7}},P.createElement(Lt,{size:"xxs",weight:"bold",className:"c-smart-banner__title",mb:"xxs-2",__self:void 0,__source:{fileName:Ii,lineNumber:24,columnNumber:9}},"20\xA0Minutes"),P.createElement(gt,{gap:"xxs-2",ml:"xxs-2",alignItems:"start",__self:void 0,__source:{fileName:Ii,lineNumber:27,columnNumber:9}},[0,1,2,3].map(i=>P.createElement(Gn,{name:"star",size:11,key:i,__self:void 0,__source:{fileName:Ii,lineNumber:29,columnNumber:13}})))),P.createElement(Lt,{size:"xxs-2",__self:void 0,__source:{fileName:Ii,lineNumber:33,columnNumber:7}},"Retrouvez l\u2019actualit\xE9 sur notre application")),P.createElement(Lo,{...t,color:"ultramarine",bg:"white",className:"c-smart-banner__btn",__self:void 0,__source:{fileName:Ii,lineNumber:35,columnNumber:5}},"Installer"));var Cn="/home/travis/build/20minutes/hela/src/components/molecules/SocialBar/SocialBar.tsx";const Gv=({variant:t="advanced",commentCount:r,commentAnchor:i,shareCount:a,layout:u,rubricColor:c,...g})=>{const y=P.createElement(P.Fragment,null,P.createElement(gt,{as:"span",className:"c-social__icon",alignItems:"center",justifyContent:"center",bg:t==="simple"?"grey-100":void 0,__self:void 0,__source:{fileName:Cn,lineNumber:26,columnNumber:7}},P.createElement(Gn,{size:20,name:"comment",__self:void 0,__source:{fileName:Cn,lineNumber:33,columnNumber:9}})),P.createElement(Lt,{as:"span",size:t==="simple"?"xxs":"xxs-2",color:t==="simple"?"black":"white",bg:t==="advanced"?c||"ultramarine":void 0,className:"c-social__count",__self:void 0,__source:{fileName:Cn,lineNumber:35,columnNumber:7}},r)),b=P.createElement(P.Fragment,null,P.createElement(gt,{className:"c-social__items",alignItems:"center",as:"div",__self:void 0,__source:{fileName:Cn,lineNumber:49,columnNumber:7}},i?P.createElement("a",{href:`#${i}`,__self:void 0,__source:{fileName:Cn,lineNumber:50,columnNumber:26}},y):y),P.createElement(gt,{className:"c-social__items",alignItems:"center",__self:void 0,__source:{fileName:Cn,lineNumber:52,columnNumber:7}},P.createElement(gt,{as:"span",className:"c-social__icon",alignItems:"center",justifyContent:"center",bg:t==="simple"?"grey-100":void 0,__self:void 0,__source:{fileName:Cn,lineNumber:53,columnNumber:9}},P.createElement(Gn,{size:20,name:"share",__self:void 0,__source:{fileName:Cn,lineNumber:60,columnNumber:11}})),P.createElement(Lt,{as:"span",size:t==="simple"?"xxs":"xxs-2",color:t==="simple"?"black":"white",bg:t==="advanced"?c||"ultramarine":void 0,className:"c-social__count",__self:void 0,__source:{fileName:Cn,lineNumber:62,columnNumber:9}},a)));return P.createElement(gt,{...g,alignItems:"center",gap:"l",direction:t==="advanced"&&u===Dr.DESKTOP?"column":void 0,className:ot("c-social",{"c-social--sidebar":t==="advanced"&&u===Dr.DESKTOP},{"c-social--bar":t==="advanced"&&u===Dr.MOBILE},{"c-social--reaction":t==="simple"}),justifyContent:(t==="simple"?"between":void 0)||(t==="advanced"&&u===Dr.DESKTOP?"start":void 0),bg:t==="advanced"&&u===Dr.MOBILE?"white":void 0,__self:void 0,__source:{fileName:Cn,lineNumber:76,columnNumber:5}},t==="simple"?P.createElement(gt,{alignItems:"center",gap:"xxs",__self:void 0,__source:{fileName:Cn,lineNumber:94,columnNumber:9}},b):b,t!=="simple"&&u===Dr.DESKTOP?P.createElement(P.Fragment,null,P.createElement(Qv,{__self:void 0,__source:{fileName:Cn,lineNumber:102,columnNumber:11}}),P.createElement(gt,{className:"c-social__items",alignItems:"center",__self:void 0,__source:{fileName:Cn,lineNumber:103,columnNumber:11}},P.createElement(Gn,{size:20,name:"bookmark",__self:void 0,__source:{fileName:Cn,lineNumber:104,columnNumber:13}})),P.createElement(gt,{className:"c-social__items",alignItems:"center",__self:void 0,__source:{fileName:Cn,lineNumber:106,columnNumber:11}},P.createElement(Gn,{size:20,name:"report",__self:void 0,__source:{fileName:Cn,lineNumber:107,columnNumber:13}}))):P.createElement(gt,{as:"span",className:"c-social__icon",alignItems:"center",justifyContent:"center",bg:t==="simple"?"grey-100":void 0,__self:void 0,__source:{fileName:Cn,lineNumber:111,columnNumber:9}},P.createElement(Gn,{size:20,name:"bookmark",__self:void 0,__source:{fileName:Cn,lineNumber:118,columnNumber:11}})))},ds={appBanner:{storageName:"20mnAppBanner"},breakingNews:{containerId:"c-alert-info",storageName:"20mnBreakingNews"},storageDelay:864e5},_P=()=>{const{storageName:t}=ds.appBanner,[r,i]=P.useState(cc(t)),a=P.useRef(null),u=P.useRef(null),c=P.useMemo(()=>{var g,y;return!!(!(((g=document.getElementById(ds.breakingNews.containerId))==null?void 0:g.children.length)!==0||(y=cc(ds.breakingNews.storageName))!=null&&y.opened)&&(!r||r!=null&&r.opened||r!=null&&r.time&&r.time+ds.storageDelay<Date.now()))},[r]);return P.useEffect(()=>{c&&i({opened:!0})},[c]),P.useEffect(()=>{r&&localStorage.setItem(t,JSON.stringify(r))},[r]),c?P.createElement(bP,{closeButton:{ref:a,onClick:()=>{a.current&&pp(a.current,"close-app-banner","action"),i({opened:!1,time:new Date().getTime()})}},installButton:{ref:u,onClick:()=>{u.current&&pp(u.current,"open-store-app-banner","action"),i({opened:!1,time:new Date().getTime()});const g=navigator?.userAgent||navigator?.platform||"unknown";window.location.href=/iPhone|iPad|iPod/i.test(g)?"https://apps.apple.com/fr/app/20-minutes-news-en-continu/id308834491":"https://play.google.com/store/apps/details?id=com.backelite.vingtminutes&hl=fr"}}}):null};function ey(t,r){const i=r||{};return i.headers=i.headers||new Headers,i.headers.append("Content-Type","application/json"),fetch(t,i).then(a=>{if(a.ok)return a;throw new Error(`Fetch error: ${a.statusText}`)}).then(a=>a.json())}var wP=Object.defineProperty,SP=Object.defineProperties,xP=Object.getOwnPropertyDescriptors,ty=Object.getOwnPropertySymbols,EP=Object.prototype.hasOwnProperty,kP=Object.prototype.propertyIsEnumerable,ny=(t,r,i)=>r in t?wP(t,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[r]=i,NP=(t,r)=>{for(var i in r||(r={}))EP.call(r,i)&&ny(t,i,r[i]);if(ty)for(var i of ty(r))kP.call(r,i)&&ny(t,i,r[i]);return t},OP=(t,r)=>SP(t,xP(r));const zf={appBanner:{containerId:"c-app-banner",storageName:"20mnAppBanner"},breakingNews:{storageName:"20mnBreakingNews"},storageDelay:18e4},DP=()=>{var t;const[r,i]=P.useState(cc(zf.breakingNews.storageName));P.useEffect(()=>{r&&localStorage.setItem(zf.breakingNews.storageName,JSON.stringify(r))},[r]),P.useEffect(()=>{var u;if(r&&!r.opened||r!=null&&r.opened&&r!=null&&r.time&&r.time+zf.storageDelay>new Date().getTime())return;const{apiHost:c,imgHost:g}=document.body.dataset,y=new Headers;(u=window.envVariables)!=null&&u.apiAuthKey&&y.append("auth-key",window.envVariables.apiAuthKey);const b=[`${c}/?id=getBreakingNews&variables=%7B%22brandId%22%3A%22QnJhbmQ6MjBtaW51dGVz%22%7D`,{headers:y}];ey(...b).then(w=>{var D,K,L,T,F,R,j,G,Y,W,J,le,Se,_e,Ie,ve,xe,we;const he=(R=(F=(T=(L=(K=(D=w?.data)==null?void 0:D.brand)==null?void 0:K.node)==null?void 0:L.home)==null?void 0:T.node)==null?void 0:F.homeBreakingNews)==null?void 0:R.node,ge=(G=(j=he?.content)==null?void 0:j.editorial_model)==null?void 0:G.toLowerCase(),De=(W=(Y=he?.content)==null?void 0:Y[ge])==null?void 0:W.node;if(!(De!=null&&De.title)||!(De!=null&&De.url_current))throw new Error("No data found...");let je;if(he!=null&&he.with_photo&&(_e=(Se=(le=(J=De?.medias)==null?void 0:J[0])==null?void 0:le.photo)==null?void 0:Se.node)!=null&&_e.id){const Ce=atob(De.medias[0].photo.node.id).replace("Photo:","");je=`${g}/${Ce}/147x96_${(we=(xe=(ve=(Ie=De?.medias)==null?void 0:Ie.photo)==null?void 0:ve.node)==null?void 0:xe.slug)!=null?we:"media"}`}i({opened:!0,time:new Date().getTime(),data:{description:De.title,url:De.url_current,imageUrl:je}})}).catch(w=>{console.error("20mn> Error while loading the breaking news:",w)})},[]);const a=()=>{i(u=>OP(NP({},u||{}),{opened:!1}))};return r!=null&&r.opened&&r!=null&&r.data?P.createElement(yP,{variant:"alert",title:"ALERTE INFO",description:r.data.description,cover:r.data.imageUrl,link:(t=r?.data)!=null&&t.url?{href:r.data.url}:void 0,closeButton:{onClick:a}}):null},ry=new Intl.RelativeTimeFormat("fr",{numeric:"auto"}),MP=new Intl.DateTimeFormat("fr",{year:"numeric",month:"short",day:"numeric",timeZone:"Europe/Paris"}),LP=t=>{const r=new Date().getTime(),i=new Date(t).getTime(),a=(i-r)/6e4;let u=ry.format(Math.round(a),"minutes");return a<=-60&&(u=ry.format(Math.ceil(a/60),"hours"),a<=-60*24&&(u=MP.format(i))),u};var CP=Object.defineProperty,BP=Object.defineProperties,FP=Object.getOwnPropertyDescriptors,iy=Object.getOwnPropertySymbols,PP=Object.prototype.hasOwnProperty,KP=Object.prototype.propertyIsEnumerable,oy=(t,r,i)=>r in t?CP(t,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[r]=i,$l=(t,r)=>{for(var i in r||(r={}))PP.call(r,i)&&oy(t,i,r[i]);if(iy)for(var i of iy(r))KP.call(r,i)&&oy(t,i,r[i]);return t},Hf=(t,r)=>BP(t,FP(r));const RP=({articles:t,layout:r,seeMoreLink:i})=>{const a=c=>{var g;return c.rightSubheader&&new Date((g=c.rightSubheader)==null?void 0:g.text).getTime()?Hf($l({},c),{rightSubheader:{text:LP(c.rightSubheader.text)}}):$l({},c)};let u=P.createElement(Qt,null,t.map(c=>P.createElement(Qt,{key:c.title},P.createElement(E3,{color:"grey-200",my:"s"}),P.createElement(pP,Hf($l({},c),{cardHeaderProps:a(c.cardHeaderProps),mx:"s"})))));return r===Dr.DESKTOP&&(u=P.createElement(T3,{colsNumber:2,gap:"l"},t.map(c=>P.createElement(mP,Hf($l({key:c.title},c),{cardHeaderProps:a(c.cardHeaderProps)}))))),P.createElement(P.Fragment,null,u,i&&P.createElement(gt,{justifyContent:"center",mt:"m"},P.createElement(Lo,$l({variant:"secondary",as:"button"},i))))},IP=t=>typeof window>"u"&&typeof Buffer<"u"?Buffer.from(t,"base64").toString("utf-8"):decodeURIComponent(escape(window?.atob(t))),jP=t=>{const r=IP(t).split(":");return r.length===2?r[1]:""},TP=t=>{const r=i=>`${i}`.padStart(2,"0");return`${r(Math.floor(t/60))}:${r(t-Math.floor(t/60)*60)}`},zP=t=>{var r;let i="";return(r=t.medias)==null||r.forEach(a=>{var u,c,g,y,b,w;if(a.illustration===!0&&a.type==="photo"&&(c=(u=a.photo)==null?void 0:u.node)!=null&&c.id){const D=(y=(g=a.photo)==null?void 0:g.node)!=null&&y.slug?`%format_${(w=(b=a.photo)==null?void 0:b.node)==null?void 0:w.slug}`:"%format";i=`${t.imgEndpoint}/${jP(a.photo.node.id)}/${D}`}}),i},HP=t=>{var r;let i;return(r=t.medias)==null||r.forEach(a=>{var u,c;if(a.type==="podcast"&&(i={caption:{iconName:"podcast",size:t.iconSize}}),a.type==="video"){const g=(u=a.video)!=null&&u.duration?Number((c=a.video)==null?void 0:c.duration):null;i={caption:{iconName:"video",size:t.iconSize,text:g?TP(g):""}}}}),i},AP=(t,r=!0)=>t&&__.includes(t)?`${t}`:r?"default":void 0;var qP=Object.defineProperty,ay=Object.getOwnPropertySymbols,UP=Object.prototype.hasOwnProperty,VP=Object.prototype.propertyIsEnumerable,ly=(t,r,i)=>r in t?qP(t,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[r]=i,QP=(t,r)=>{for(var i in r||(r={}))UP.call(r,i)&&ly(t,i,r[i]);if(ay)for(var i of ay(r))VP.call(r,i)&&ly(t,i,r[i]);return t};const XP=t=>{var r,i,a,u,c,g,y;return(y=((g=(c=(u=(a=(i=(r=t.data)==null?void 0:r.brand)==null?void 0:i.node)==null?void 0:a.tag)==null?void 0:u.node)==null?void 0:c.publishableContents)==null?void 0:g.edges)||[])==null?void 0:y.reduce((b,w)=>{var D,K,L,T,F,R,j,G,Y;return!((D=w?.node)!=null&&D.title)||!((K=w?.node)!=null&&K.label)||!((L=w?.node)!=null&&L.url)||!((T=w?.node)!=null&&T.medias)||b.push({link:new URL(w.node.url,t.pageEndpoint).href,title:w.node.short_title||w.node.title,cardImageProps:QP({cover:zP({medias:w.node.medias,imgEndpoint:t.imgEndpoint})},HP({medias:w.node.medias,iconSize:t.layout===Dr.MOBILE?"small":"medium"})),cardHeaderProps:{headline:{text:w.node.label,color:AP((j=(R=(F=w?.node)==null?void 0:F.rubric)==null?void 0:R.node)==null?void 0:j.theme)},rightSubheader:{text:w.node.published_at||""}},socialBarProps:{commentCount:(G=w.node.comments_count)!=null?G:0,shareCount:(Y=w.node.facebook_count)!=null?Y:0}}),b},[])};var ZP=Object.defineProperty,$P=Object.defineProperties,YP=Object.getOwnPropertyDescriptors,uy=Object.getOwnPropertySymbols,JP=Object.prototype.hasOwnProperty,WP=Object.prototype.propertyIsEnumerable,sy=(t,r,i)=>r in t?ZP(t,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[r]=i,Af=(t,r)=>{for(var i in r||(r={}))JP.call(r,i)&&sy(t,i,r[i]);if(uy)for(var i of uy(r))WP.call(r,i)&&sy(t,i,r[i]);return t},qf=(t,r)=>$P(t,YP(r));const GP=t=>{const{layout:r,articles:i,variablesForQuery:a,seeMoreLink:u}=t,[c,g]=P.useState(a),[y,b]=P.useState(i),[w,D]=P.useState(!1),K=()=>{D(!0),g(L=>qf(Af({},L),{offset:c.offset+c.limit}))};return P.useEffect(()=>{var L;if(JSON.stringify(a)!==JSON.stringify(c)&&c.hasNextPage){const{apiHost:T}=document.body.dataset,F=new Headers;(L=window.envVariables)!=null&&L.apiAuthKey&&F.append("auth-key",window.envVariables.apiAuthKey);const R=[`${T}/?id=getTagArticles&variables=${encodeURIComponent(JSON.stringify(c))}`,{headers:F}];ey(...R).then(j=>{const G=XP({layout:r,pageEndpoint:window.envVariables.pageEndpoint,imgEndpoint:window.envVariables.imgEndpoint,data:j?.data});G.length>0&&b(Y=>[...Y,...G]),G.length<c.limit&&g(Y=>qf(Af({},Y),{hasNextPage:!1})),D(!1)}).catch(j=>{console.error("20mn> Error while loading articles:",j)})}},[c]),P.createElement(P.Fragment,null,P.createElement(RP,{layout:r,articles:y,seeMoreLink:c.hasNextPage?qf(Af({},u),{disabled:w,onClick:K}):void 0}),P.createElement("script",{dangerouslySetInnerHTML:{__html:`window.__staticHydrationData = { ...(window.__staticHydrationData || {}), ...${JSON.stringify({articleListBottomContainer:t})} };`}}))};var e2=Object.defineProperty,cy=Object.getOwnPropertySymbols,t2=Object.prototype.hasOwnProperty,n2=Object.prototype.propertyIsEnumerable,fy=(t,r,i)=>r in t?e2(t,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[r]=i,r2=(t,r)=>{for(var i in r||(r={}))t2.call(r,i)&&fy(t,i,r[i]);if(cy)for(var i of cy(r))n2.call(r,i)&&fy(t,i,r[i]);return t};const i2=()=>{const t=document.getElementById("c-alert-info");if(t){const r=uc.createRoot(t);r&&r.render(P.createElement(DP,null))}},o2=()=>{const t=document.getElementById("c-app-banner");if(t){const r=uc.createRoot(t);r&&r.render(P.createElement(_P,null))}},a2=()=>{var t;const r=document.getElementById("article-list-bottom-container"),i=(t=window?.__staticHydrationData)==null?void 0:t.articleListBottomContainer;r&&i&&uc.hydrateRoot(r,P.createElement(GP,r2({},i)))},Uf=(t,r)=>{t.style.transform=`translateY(${r==="show"?"0":"-100%"})`,t.style.transition="transform .4s ease"},dy=({headerMini:t,header:r})=>{document.documentElement.scrollTop>r.offsetHeight?Uf(t,"show"):Uf(t,"hidden"),window.removeEventListener("scroll",dy.bind(!1,{headerMini:t,header:r}))},l2=()=>{const t=document.querySelector(".c-header-mini");if(t){const r=document.documentElement.scrollTop,i=document.querySelector(".c-header");i&&(r>i.offsetHeight&&Uf(t,"show"),window.addEventListener("scroll",dy.bind(!1,{headerMini:t,header:i})))}},py=()=>{T0(),G0(),c_(),i_(),d_(),n_(),i2(),o2(),l2(),a2()};return py(),ap.main=py,ap}({},null,React,ReactDOM);