From 8333d1def9622596a1a659d5470310794035b3cd Mon Sep 17 00:00:00 2001 From: Jordan Kiesel Date: Sat, 27 Jan 2024 15:55:44 -0700 Subject: [PATCH] Deploy website - based on da21b6c14f63f2c40d41898a25d07d6751918e2c --- 404.html | 6 +++--- assets/js/{17896441.a0ac9b43.js => 17896441.f0076f33.js} | 2 +- assets/js/{742.0d8cb707.js => 321.8962a1c8.js} | 2 +- assets/js/{8926b418.594866b0.js => 8926b418.324e8310.js} | 2 +- assets/js/950.0b8e2ac3.js | 1 + assets/js/96.d2575959.js | 1 - assets/js/{989.ed4ec041.js => 989.caa204e3.js} | 2 +- assets/js/main.74efb3e0.js | 2 ++ ...8b553509.js.LICENSE.txt => main.74efb3e0.js.LICENSE.txt} | 0 assets/js/main.8b553509.js | 2 -- assets/js/runtime~main.04c4655d.js | 1 + assets/js/runtime~main.432c60bb.js | 1 - blog.html | 6 +++--- blog/2023/11/26/2.5.0.html | 6 +++--- blog/archive.html | 6 +++--- docs.html | 6 +++--- docs/installation.html | 6 +++--- index.html | 6 +++--- playground.html | 6 +++--- 19 files changed, 32 insertions(+), 32 deletions(-) rename assets/js/{17896441.a0ac9b43.js => 17896441.f0076f33.js} (99%) rename assets/js/{742.0d8cb707.js => 321.8962a1c8.js} (99%) rename assets/js/{8926b418.594866b0.js => 8926b418.324e8310.js} (99%) create mode 100644 assets/js/950.0b8e2ac3.js delete mode 100644 assets/js/96.d2575959.js rename assets/js/{989.ed4ec041.js => 989.caa204e3.js} (99%) create mode 100644 assets/js/main.74efb3e0.js rename assets/js/{main.8b553509.js.LICENSE.txt => main.74efb3e0.js.LICENSE.txt} (100%) delete mode 100644 assets/js/main.8b553509.js create mode 100644 assets/js/runtime~main.04c4655d.js delete mode 100644 assets/js/runtime~main.432c60bb.js diff --git a/404.html b/404.html index 9bdbe0e8..74893cf7 100644 --- a/404.html +++ b/404.html @@ -2,11 +2,11 @@ - + Page Not Found | Prettier Java - - + +
Skip to main content

Page Not Found

We could not find what you were looking for.

Please contact the owner of the site that linked you to the original URL and let them know their link is broken.

diff --git a/assets/js/17896441.a0ac9b43.js b/assets/js/17896441.f0076f33.js similarity index 99% rename from assets/js/17896441.a0ac9b43.js rename to assets/js/17896441.f0076f33.js index 2b3a11b7..ea39b53c 100644 --- a/assets/js/17896441.a0ac9b43.js +++ b/assets/js/17896441.f0076f33.js @@ -1 +1 @@ -"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[918],{8945:(e,t,n)=>{n.r(t),n.d(t,{default:()=>de});var s=n(7294),a=n(1944),i=n(902),l=n(5893);const o=s.createContext(null);function r(e){let{children:t,content:n}=e;const a=function(e){return(0,s.useMemo)((()=>({metadata:e.metadata,frontMatter:e.frontMatter,assets:e.assets,contentTitle:e.contentTitle,toc:e.toc})),[e])}(n);return(0,l.jsx)(o.Provider,{value:a,children:t})}function c(){const e=(0,s.useContext)(o);if(null===e)throw new i.i6("DocProvider");return e}function d(){const{metadata:e,frontMatter:t,assets:n}=c();return(0,l.jsx)(a.d,{title:e.title,description:e.description,keywords:t.keywords,image:n.image??t.image})}var u=n(512),m=n(7524),h=n(5999),b=n(2244);function v(e){const{previous:t,next:n}=e;return(0,l.jsxs)("nav",{className:"pagination-nav docusaurus-mt-lg","aria-label":(0,h.I)({id:"theme.docs.paginator.navAriaLabel",message:"Docs pages",description:"The ARIA label for the docs pagination"}),children:[t&&(0,l.jsx)(b.Z,{...t,subLabel:(0,l.jsx)(h.Z,{id:"theme.docs.paginator.previous",description:"The label used to navigate to the previous doc",children:"Previous"})}),n&&(0,l.jsx)(b.Z,{...n,subLabel:(0,l.jsx)(h.Z,{id:"theme.docs.paginator.next",description:"The label used to navigate to the next doc",children:"Next"}),isNext:!0})]})}function x(){const{metadata:e}=c();return(0,l.jsx)(v,{previous:e.previous,next:e.next})}var p=n(2263),f=n(3692),g=n(143),j=n(5281),L=n(373),C=n(4477);const N={unreleased:function(e){let{siteTitle:t,versionMetadata:n}=e;return(0,l.jsx)(h.Z,{id:"theme.docs.versions.unreleasedVersionLabel",description:"The label used to tell the user that he's browsing an unreleased doc version",values:{siteTitle:t,versionLabel:(0,l.jsx)("b",{children:n.label})},children:"This is unreleased documentation for {siteTitle} {versionLabel} version."})},unmaintained:function(e){let{siteTitle:t,versionMetadata:n}=e;return(0,l.jsx)(h.Z,{id:"theme.docs.versions.unmaintainedVersionLabel",description:"The label used to tell the user that he's browsing an unmaintained doc version",values:{siteTitle:t,versionLabel:(0,l.jsx)("b",{children:n.label})},children:"This is documentation for {siteTitle} {versionLabel}, which is no longer actively maintained."})}};function k(e){const t=N[e.versionMetadata.banner];return(0,l.jsx)(t,{...e})}function Z(e){let{versionLabel:t,to:n,onClick:s}=e;return(0,l.jsx)(h.Z,{id:"theme.docs.versions.latestVersionSuggestionLabel",description:"The label used to tell the user to check the latest version",values:{versionLabel:t,latestVersionLink:(0,l.jsx)("b",{children:(0,l.jsx)(f.Z,{to:n,onClick:s,children:(0,l.jsx)(h.Z,{id:"theme.docs.versions.latestVersionLinkLabel",description:"The label used for the latest version suggestion link label",children:"latest version"})})})},children:"For up-to-date documentation, see the {latestVersionLink} ({versionLabel})."})}function _(e){let{className:t,versionMetadata:n}=e;const{siteConfig:{title:s}}=(0,p.Z)(),{pluginId:a}=(0,g.gA)({failfast:!0}),{savePreferredVersionName:i}=(0,L.J)(a),{latestDocSuggestion:o,latestVersionSuggestion:r}=(0,g.Jo)(a),c=o??(d=r).docs.find((e=>e.id===d.mainDocId));var d;return(0,l.jsxs)("div",{className:(0,u.Z)(t,j.k.docs.docVersionBanner,"alert alert--warning margin-bottom--md"),role:"alert",children:[(0,l.jsx)("div",{children:(0,l.jsx)(k,{siteTitle:s,versionMetadata:n})}),(0,l.jsx)("div",{className:"margin-top--md",children:(0,l.jsx)(Z,{versionLabel:r.label,to:c.path,onClick:()=>i(r.name)})})]})}function T(e){let{className:t}=e;const n=(0,C.E)();return n.banner?(0,l.jsx)(_,{className:t,versionMetadata:n}):null}function U(e){let{className:t}=e;const n=(0,C.E)();return n.badge?(0,l.jsx)("span",{className:(0,u.Z)(t,j.k.docs.docVersionBadge,"badge badge--secondary"),children:(0,l.jsx)(h.Z,{id:"theme.docs.versionBadge.label",values:{versionLabel:n.label},children:"Version: {versionLabel}"})}):null}function H(e){let{lastUpdatedAt:t,formattedLastUpdatedAt:n}=e;return(0,l.jsx)(h.Z,{id:"theme.lastUpdated.atDate",description:"The words used to describe on which date a page has been last updated",values:{date:(0,l.jsx)("b",{children:(0,l.jsx)("time",{dateTime:new Date(1e3*t).toISOString(),children:n})})},children:" on {date}"})}function y(e){let{lastUpdatedBy:t}=e;return(0,l.jsx)(h.Z,{id:"theme.lastUpdated.byUser",description:"The words used to describe by who the page has been last updated",values:{user:(0,l.jsx)("b",{children:t})},children:" by {user}"})}function w(e){let{lastUpdatedAt:t,formattedLastUpdatedAt:n,lastUpdatedBy:s}=e;return(0,l.jsxs)("span",{className:j.k.common.lastUpdated,children:[(0,l.jsx)(h.Z,{id:"theme.lastUpdated.lastUpdatedAtBy",description:"The sentence used to display when a page has been last updated, and by who",values:{atDate:t&&n?(0,l.jsx)(H,{lastUpdatedAt:t,formattedLastUpdatedAt:n}):"",byUser:s?(0,l.jsx)(y,{lastUpdatedBy:s}):""},children:"Last updated{atDate}{byUser}"}),!1]})}var A=n(4881),M=n(6233);const I={lastUpdated:"lastUpdated_vwxv"};function B(e){return(0,l.jsx)("div",{className:(0,u.Z)(j.k.docs.docFooterTagsRow,"row margin-bottom--sm"),children:(0,l.jsx)("div",{className:"col",children:(0,l.jsx)(M.Z,{...e})})})}function E(e){let{editUrl:t,lastUpdatedAt:n,lastUpdatedBy:s,formattedLastUpdatedAt:a}=e;return(0,l.jsxs)("div",{className:(0,u.Z)(j.k.docs.docFooterEditMetaRow,"row"),children:[(0,l.jsx)("div",{className:"col",children:t&&(0,l.jsx)(A.Z,{editUrl:t})}),(0,l.jsx)("div",{className:(0,u.Z)("col",I.lastUpdated),children:(n||s)&&(0,l.jsx)(w,{lastUpdatedAt:n,formattedLastUpdatedAt:a,lastUpdatedBy:s})})]})}function O(){const{metadata:e}=c(),{editUrl:t,lastUpdatedAt:n,formattedLastUpdatedAt:s,lastUpdatedBy:a,tags:i}=e,o=i.length>0,r=!!(t||n||a);return o||r?(0,l.jsxs)("footer",{className:(0,u.Z)(j.k.docs.docFooter,"docusaurus-mt-lg"),children:[o&&(0,l.jsx)(B,{tags:i}),r&&(0,l.jsx)(E,{editUrl:t,lastUpdatedAt:n,lastUpdatedBy:a,formattedLastUpdatedAt:s})]}):null}var S=n(6043),V=n(3743);const P={tocCollapsibleButton:"tocCollapsibleButton_TO0P",tocCollapsibleButtonExpanded:"tocCollapsibleButtonExpanded_MG3E"};function D(e){let{collapsed:t,...n}=e;return(0,l.jsx)("button",{type:"button",...n,className:(0,u.Z)("clean-btn",P.tocCollapsibleButton,!t&&P.tocCollapsibleButtonExpanded,n.className),children:(0,l.jsx)(h.Z,{id:"theme.TOCCollapsible.toggleButtonLabel",description:"The label used by the button on the collapsible TOC component",children:"On this page"})})}const R={tocCollapsible:"tocCollapsible_ETCw",tocCollapsibleContent:"tocCollapsibleContent_vkbj",tocCollapsibleExpanded:"tocCollapsibleExpanded_sAul"};function F(e){let{toc:t,className:n,minHeadingLevel:s,maxHeadingLevel:a}=e;const{collapsed:i,toggleCollapsed:o}=(0,S.u)({initialState:!0});return(0,l.jsxs)("div",{className:(0,u.Z)(R.tocCollapsible,!i&&R.tocCollapsibleExpanded,n),children:[(0,l.jsx)(D,{collapsed:i,onClick:o}),(0,l.jsx)(S.z,{lazy:!0,className:R.tocCollapsibleContent,collapsed:i,children:(0,l.jsx)(V.Z,{toc:t,minHeadingLevel:s,maxHeadingLevel:a})})]})}const z={tocMobile:"tocMobile_ITEo"};function q(){const{toc:e,frontMatter:t}=c();return(0,l.jsx)(F,{toc:e,minHeadingLevel:t.toc_min_heading_level,maxHeadingLevel:t.toc_max_heading_level,className:(0,u.Z)(j.k.docs.docTocMobile,z.tocMobile)})}var $=n(9407);function G(){const{toc:e,frontMatter:t}=c();return(0,l.jsx)($.Z,{toc:e,minHeadingLevel:t.toc_min_heading_level,maxHeadingLevel:t.toc_max_heading_level,className:j.k.docs.docTocDesktop})}var J=n(7955),Y=n(1404);function K(e){let{children:t}=e;const n=function(){const{metadata:e,frontMatter:t,contentTitle:n}=c();return t.hide_title||void 0!==n?null:e.title}();return(0,l.jsxs)("div",{className:(0,u.Z)(j.k.docs.docMarkdown,"markdown"),children:[n&&(0,l.jsx)("header",{children:(0,l.jsx)(J.Z,{as:"h1",children:n})}),(0,l.jsx)(Y.Z,{children:t})]})}var Q=n(3438),W=n(8596),X=n(4996);function ee(e){return(0,l.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,l.jsx)("path",{d:"M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z",fill:"currentColor"})})}const te={breadcrumbHomeIcon:"breadcrumbHomeIcon_YNFT"};function ne(){const e=(0,X.Z)("/");return(0,l.jsx)("li",{className:"breadcrumbs__item",children:(0,l.jsx)(f.Z,{"aria-label":(0,h.I)({id:"theme.docs.breadcrumbs.home",message:"Home page",description:"The ARIA label for the home page in the breadcrumbs"}),className:"breadcrumbs__link",href:e,children:(0,l.jsx)(ee,{className:te.breadcrumbHomeIcon})})})}const se={breadcrumbsContainer:"breadcrumbsContainer_Z_bl"};function ae(e){let{children:t,href:n,isLast:s}=e;const a="breadcrumbs__link";return s?(0,l.jsx)("span",{className:a,itemProp:"name",children:t}):n?(0,l.jsx)(f.Z,{className:a,href:n,itemProp:"item",children:(0,l.jsx)("span",{itemProp:"name",children:t})}):(0,l.jsx)("span",{className:a,children:t})}function ie(e){let{children:t,active:n,index:s,addMicrodata:a}=e;return(0,l.jsxs)("li",{...a&&{itemScope:!0,itemProp:"itemListElement",itemType:"https://schema.org/ListItem"},className:(0,u.Z)("breadcrumbs__item",{"breadcrumbs__item--active":n}),children:[t,(0,l.jsx)("meta",{itemProp:"position",content:String(s+1)})]})}function le(){const e=(0,Q.s1)(),t=(0,W.Ns)();return e?(0,l.jsx)("nav",{className:(0,u.Z)(j.k.docs.docBreadcrumbs,se.breadcrumbsContainer),"aria-label":(0,h.I)({id:"theme.docs.breadcrumbs.navAriaLabel",message:"Breadcrumbs",description:"The ARIA label for the breadcrumbs"}),children:(0,l.jsxs)("ul",{className:"breadcrumbs",itemScope:!0,itemType:"https://schema.org/BreadcrumbList",children:[t&&(0,l.jsx)(ne,{}),e.map(((t,n)=>{const s=n===e.length-1,a="category"===t.type&&t.linkUnlisted?void 0:t.href;return(0,l.jsx)(ie,{active:s,index:n,addMicrodata:!!a,children:(0,l.jsx)(ae,{href:a,isLast:s,children:t.label})},n)}))]})}):null}var oe=n(2212);const re={docItemContainer:"docItemContainer_Djhp",docItemCol:"docItemCol_VOVn"};function ce(e){let{children:t}=e;const n=function(){const{frontMatter:e,toc:t}=c(),n=(0,m.i)(),s=e.hide_table_of_contents,a=!s&&t.length>0;return{hidden:s,mobile:a?(0,l.jsx)(q,{}):void 0,desktop:!a||"desktop"!==n&&"ssr"!==n?void 0:(0,l.jsx)(G,{})}}(),{metadata:{unlisted:s}}=c();return(0,l.jsxs)("div",{className:"row",children:[(0,l.jsxs)("div",{className:(0,u.Z)("col",!n.hidden&&re.docItemCol),children:[s&&(0,l.jsx)(oe.Z,{}),(0,l.jsx)(T,{}),(0,l.jsxs)("div",{className:re.docItemContainer,children:[(0,l.jsxs)("article",{children:[(0,l.jsx)(le,{}),(0,l.jsx)(U,{}),n.mobile,(0,l.jsx)(K,{children:t}),(0,l.jsx)(O,{})]}),(0,l.jsx)(x,{})]})]}),n.desktop&&(0,l.jsx)("div",{className:"col col--3",children:n.desktop})]})}function de(e){const t=`docs-doc-id-${e.content.metadata.id}`,n=e.content;return(0,l.jsx)(r,{content:e.content,children:(0,l.jsxs)(a.FG,{className:t,children:[(0,l.jsx)(d,{}),(0,l.jsx)(ce,{children:(0,l.jsx)(n,{})})]})})}},9407:(e,t,n)=>{n.d(t,{Z:()=>c});n(7294);var s=n(512),a=n(3743);const i={tableOfContents:"tableOfContents_bqdL",docItemContainer:"docItemContainer_F8PC"};var l=n(5893);const o="table-of-contents__link toc-highlight",r="table-of-contents__link--active";function c(e){let{className:t,...n}=e;return(0,l.jsx)("div",{className:(0,s.Z)(i.tableOfContents,"thin-scrollbar",t),children:(0,l.jsx)(a.Z,{...n,linkClassName:o,linkActiveClassName:r})})}},3743:(e,t,n)=>{n.d(t,{Z:()=>v});var s=n(7294),a=n(6668);function i(e){const t=e.map((e=>({...e,parentIndex:-1,children:[]}))),n=Array(7).fill(-1);t.forEach(((e,t)=>{const s=n.slice(2,e.level);e.parentIndex=Math.max(...s),n[e.level]=t}));const s=[];return t.forEach((e=>{const{parentIndex:n,...a}=e;n>=0?t[n].children.push(a):s.push(a)})),s}function l(e){let{toc:t,minHeadingLevel:n,maxHeadingLevel:s}=e;return t.flatMap((e=>{const t=l({toc:e.children,minHeadingLevel:n,maxHeadingLevel:s});return function(e){return e.level>=n&&e.level<=s}(e)?[{...e,children:t}]:t}))}function o(e){const t=e.getBoundingClientRect();return t.top===t.bottom?o(e.parentNode):t}function r(e,t){let{anchorTopOffset:n}=t;const s=e.find((e=>o(e).top>=n));if(s){return function(e){return e.top>0&&e.bottom{e.current=t?0:document.querySelector(".navbar").clientHeight}),[t]),e}function d(e){const t=(0,s.useRef)(void 0),n=c();(0,s.useEffect)((()=>{if(!e)return()=>{};const{linkClassName:s,linkActiveClassName:a,minHeadingLevel:i,maxHeadingLevel:l}=e;function o(){const e=function(e){return Array.from(document.getElementsByClassName(e))}(s),o=function(e){let{minHeadingLevel:t,maxHeadingLevel:n}=e;const s=[];for(let a=t;a<=n;a+=1)s.push(`h${a}.anchor`);return Array.from(document.querySelectorAll(s.join()))}({minHeadingLevel:i,maxHeadingLevel:l}),c=r(o,{anchorTopOffset:n.current}),d=e.find((e=>c&&c.id===function(e){return decodeURIComponent(e.href.substring(e.href.indexOf("#")+1))}(e)));e.forEach((e=>{!function(e,n){n?(t.current&&t.current!==e&&t.current.classList.remove(a),e.classList.add(a),t.current=e):e.classList.remove(a)}(e,e===d)}))}return document.addEventListener("scroll",o),document.addEventListener("resize",o),o(),()=>{document.removeEventListener("scroll",o),document.removeEventListener("resize",o)}}),[e,n])}var u=n(3692),m=n(5893);function h(e){let{toc:t,className:n,linkClassName:s,isChild:a}=e;return t.length?(0,m.jsx)("ul",{className:a?void 0:n,children:t.map((e=>(0,m.jsxs)("li",{children:[(0,m.jsx)(u.Z,{to:`#${e.id}`,className:s??void 0,dangerouslySetInnerHTML:{__html:e.value}}),(0,m.jsx)(h,{isChild:!0,toc:e.children,className:n,linkClassName:s})]},e.id)))}):null}const b=s.memo(h);function v(e){let{toc:t,className:n="table-of-contents table-of-contents__left-border",linkClassName:o="table-of-contents__link",linkActiveClassName:r,minHeadingLevel:c,maxHeadingLevel:u,...h}=e;const v=(0,a.L)(),x=c??v.tableOfContents.minHeadingLevel,p=u??v.tableOfContents.maxHeadingLevel,f=function(e){let{toc:t,minHeadingLevel:n,maxHeadingLevel:a}=e;return(0,s.useMemo)((()=>l({toc:i(t),minHeadingLevel:n,maxHeadingLevel:a})),[t,n,a])}({toc:t,minHeadingLevel:x,maxHeadingLevel:p});return d((0,s.useMemo)((()=>{if(o&&r)return{linkClassName:o,linkActiveClassName:r,minHeadingLevel:x,maxHeadingLevel:p}}),[o,r,x,p])),(0,m.jsx)(b,{toc:f,className:n,linkClassName:o,...h})}},2212:(e,t,n)=>{n.d(t,{Z:()=>h});n(7294);var s=n(512),a=n(5999),i=n(5742),l=n(5893);function o(){return(0,l.jsx)(a.Z,{id:"theme.unlistedContent.title",description:"The unlisted content banner title",children:"Unlisted page"})}function r(){return(0,l.jsx)(a.Z,{id:"theme.unlistedContent.message",description:"The unlisted content banner message",children:"This page is unlisted. Search engines will not index it, and only users having a direct link can access it."})}function c(){return(0,l.jsx)(i.Z,{children:(0,l.jsx)("meta",{name:"robots",content:"noindex, nofollow"})})}var d=n(5281),u=n(9047);function m(e){let{className:t}=e;return(0,l.jsx)(u.Z,{type:"caution",title:(0,l.jsx)(o,{}),className:(0,s.Z)(t,d.k.common.unlistedBanner),children:(0,l.jsx)(r,{})})}function h(e){return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(c,{}),(0,l.jsx)(m,{...e})]})}}}]); \ No newline at end of file +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[918],{8945:(e,t,n)=>{n.r(t),n.d(t,{default:()=>de});var s=n(7294),a=n(1944),i=n(902),l=n(5893);const o=s.createContext(null);function r(e){let{children:t,content:n}=e;const a=function(e){return(0,s.useMemo)((()=>({metadata:e.metadata,frontMatter:e.frontMatter,assets:e.assets,contentTitle:e.contentTitle,toc:e.toc})),[e])}(n);return(0,l.jsx)(o.Provider,{value:a,children:t})}function c(){const e=(0,s.useContext)(o);if(null===e)throw new i.i6("DocProvider");return e}function d(){const{metadata:e,frontMatter:t,assets:n}=c();return(0,l.jsx)(a.d,{title:e.title,description:e.description,keywords:t.keywords,image:n.image??t.image})}var u=n(512),m=n(7524),h=n(5999),b=n(2244);function v(e){const{previous:t,next:n}=e;return(0,l.jsxs)("nav",{className:"pagination-nav docusaurus-mt-lg","aria-label":(0,h.I)({id:"theme.docs.paginator.navAriaLabel",message:"Docs pages",description:"The ARIA label for the docs pagination"}),children:[t&&(0,l.jsx)(b.Z,{...t,subLabel:(0,l.jsx)(h.Z,{id:"theme.docs.paginator.previous",description:"The label used to navigate to the previous doc",children:"Previous"})}),n&&(0,l.jsx)(b.Z,{...n,subLabel:(0,l.jsx)(h.Z,{id:"theme.docs.paginator.next",description:"The label used to navigate to the next doc",children:"Next"}),isNext:!0})]})}function x(){const{metadata:e}=c();return(0,l.jsx)(v,{previous:e.previous,next:e.next})}var p=n(2263),f=n(3692),g=n(143),j=n(5281),L=n(373),C=n(4477);const N={unreleased:function(e){let{siteTitle:t,versionMetadata:n}=e;return(0,l.jsx)(h.Z,{id:"theme.docs.versions.unreleasedVersionLabel",description:"The label used to tell the user that he's browsing an unreleased doc version",values:{siteTitle:t,versionLabel:(0,l.jsx)("b",{children:n.label})},children:"This is unreleased documentation for {siteTitle} {versionLabel} version."})},unmaintained:function(e){let{siteTitle:t,versionMetadata:n}=e;return(0,l.jsx)(h.Z,{id:"theme.docs.versions.unmaintainedVersionLabel",description:"The label used to tell the user that he's browsing an unmaintained doc version",values:{siteTitle:t,versionLabel:(0,l.jsx)("b",{children:n.label})},children:"This is documentation for {siteTitle} {versionLabel}, which is no longer actively maintained."})}};function k(e){const t=N[e.versionMetadata.banner];return(0,l.jsx)(t,{...e})}function Z(e){let{versionLabel:t,to:n,onClick:s}=e;return(0,l.jsx)(h.Z,{id:"theme.docs.versions.latestVersionSuggestionLabel",description:"The label used to tell the user to check the latest version",values:{versionLabel:t,latestVersionLink:(0,l.jsx)("b",{children:(0,l.jsx)(f.Z,{to:n,onClick:s,children:(0,l.jsx)(h.Z,{id:"theme.docs.versions.latestVersionLinkLabel",description:"The label used for the latest version suggestion link label",children:"latest version"})})})},children:"For up-to-date documentation, see the {latestVersionLink} ({versionLabel})."})}function _(e){let{className:t,versionMetadata:n}=e;const{siteConfig:{title:s}}=(0,p.Z)(),{pluginId:a}=(0,g.gA)({failfast:!0}),{savePreferredVersionName:i}=(0,L.J)(a),{latestDocSuggestion:o,latestVersionSuggestion:r}=(0,g.Jo)(a),c=o??(d=r).docs.find((e=>e.id===d.mainDocId));var d;return(0,l.jsxs)("div",{className:(0,u.Z)(t,j.k.docs.docVersionBanner,"alert alert--warning margin-bottom--md"),role:"alert",children:[(0,l.jsx)("div",{children:(0,l.jsx)(k,{siteTitle:s,versionMetadata:n})}),(0,l.jsx)("div",{className:"margin-top--md",children:(0,l.jsx)(Z,{versionLabel:r.label,to:c.path,onClick:()=>i(r.name)})})]})}function T(e){let{className:t}=e;const n=(0,C.E)();return n.banner?(0,l.jsx)(_,{className:t,versionMetadata:n}):null}function U(e){let{className:t}=e;const n=(0,C.E)();return n.badge?(0,l.jsx)("span",{className:(0,u.Z)(t,j.k.docs.docVersionBadge,"badge badge--secondary"),children:(0,l.jsx)(h.Z,{id:"theme.docs.versionBadge.label",values:{versionLabel:n.label},children:"Version: {versionLabel}"})}):null}function H(e){let{lastUpdatedAt:t,formattedLastUpdatedAt:n}=e;return(0,l.jsx)(h.Z,{id:"theme.lastUpdated.atDate",description:"The words used to describe on which date a page has been last updated",values:{date:(0,l.jsx)("b",{children:(0,l.jsx)("time",{dateTime:new Date(1e3*t).toISOString(),children:n})})},children:" on {date}"})}function y(e){let{lastUpdatedBy:t}=e;return(0,l.jsx)(h.Z,{id:"theme.lastUpdated.byUser",description:"The words used to describe by who the page has been last updated",values:{user:(0,l.jsx)("b",{children:t})},children:" by {user}"})}function w(e){let{lastUpdatedAt:t,formattedLastUpdatedAt:n,lastUpdatedBy:s}=e;return(0,l.jsxs)("span",{className:j.k.common.lastUpdated,children:[(0,l.jsx)(h.Z,{id:"theme.lastUpdated.lastUpdatedAtBy",description:"The sentence used to display when a page has been last updated, and by who",values:{atDate:t&&n?(0,l.jsx)(H,{lastUpdatedAt:t,formattedLastUpdatedAt:n}):"",byUser:s?(0,l.jsx)(y,{lastUpdatedBy:s}):""},children:"Last updated{atDate}{byUser}"}),!1]})}var A=n(4881),M=n(6233);const I={lastUpdated:"lastUpdated_vwxv"};function B(e){return(0,l.jsx)("div",{className:(0,u.Z)(j.k.docs.docFooterTagsRow,"row margin-bottom--sm"),children:(0,l.jsx)("div",{className:"col",children:(0,l.jsx)(M.Z,{...e})})})}function E(e){let{editUrl:t,lastUpdatedAt:n,lastUpdatedBy:s,formattedLastUpdatedAt:a}=e;return(0,l.jsxs)("div",{className:(0,u.Z)(j.k.docs.docFooterEditMetaRow,"row"),children:[(0,l.jsx)("div",{className:"col",children:t&&(0,l.jsx)(A.Z,{editUrl:t})}),(0,l.jsx)("div",{className:(0,u.Z)("col",I.lastUpdated),children:(n||s)&&(0,l.jsx)(w,{lastUpdatedAt:n,formattedLastUpdatedAt:a,lastUpdatedBy:s})})]})}function O(){const{metadata:e}=c(),{editUrl:t,lastUpdatedAt:n,formattedLastUpdatedAt:s,lastUpdatedBy:a,tags:i}=e,o=i.length>0,r=!!(t||n||a);return o||r?(0,l.jsxs)("footer",{className:(0,u.Z)(j.k.docs.docFooter,"docusaurus-mt-lg"),children:[o&&(0,l.jsx)(B,{tags:i}),r&&(0,l.jsx)(E,{editUrl:t,lastUpdatedAt:n,lastUpdatedBy:a,formattedLastUpdatedAt:s})]}):null}var S=n(6043),V=n(3743);const P={tocCollapsibleButton:"tocCollapsibleButton_TO0P",tocCollapsibleButtonExpanded:"tocCollapsibleButtonExpanded_MG3E"};function D(e){let{collapsed:t,...n}=e;return(0,l.jsx)("button",{type:"button",...n,className:(0,u.Z)("clean-btn",P.tocCollapsibleButton,!t&&P.tocCollapsibleButtonExpanded,n.className),children:(0,l.jsx)(h.Z,{id:"theme.TOCCollapsible.toggleButtonLabel",description:"The label used by the button on the collapsible TOC component",children:"On this page"})})}const R={tocCollapsible:"tocCollapsible_ETCw",tocCollapsibleContent:"tocCollapsibleContent_vkbj",tocCollapsibleExpanded:"tocCollapsibleExpanded_sAul"};function F(e){let{toc:t,className:n,minHeadingLevel:s,maxHeadingLevel:a}=e;const{collapsed:i,toggleCollapsed:o}=(0,S.u)({initialState:!0});return(0,l.jsxs)("div",{className:(0,u.Z)(R.tocCollapsible,!i&&R.tocCollapsibleExpanded,n),children:[(0,l.jsx)(D,{collapsed:i,onClick:o}),(0,l.jsx)(S.z,{lazy:!0,className:R.tocCollapsibleContent,collapsed:i,children:(0,l.jsx)(V.Z,{toc:t,minHeadingLevel:s,maxHeadingLevel:a})})]})}const z={tocMobile:"tocMobile_ITEo"};function q(){const{toc:e,frontMatter:t}=c();return(0,l.jsx)(F,{toc:e,minHeadingLevel:t.toc_min_heading_level,maxHeadingLevel:t.toc_max_heading_level,className:(0,u.Z)(j.k.docs.docTocMobile,z.tocMobile)})}var $=n(9407);function G(){const{toc:e,frontMatter:t}=c();return(0,l.jsx)($.Z,{toc:e,minHeadingLevel:t.toc_min_heading_level,maxHeadingLevel:t.toc_max_heading_level,className:j.k.docs.docTocDesktop})}var J=n(7955),Y=n(7395);function K(e){let{children:t}=e;const n=function(){const{metadata:e,frontMatter:t,contentTitle:n}=c();return t.hide_title||void 0!==n?null:e.title}();return(0,l.jsxs)("div",{className:(0,u.Z)(j.k.docs.docMarkdown,"markdown"),children:[n&&(0,l.jsx)("header",{children:(0,l.jsx)(J.Z,{as:"h1",children:n})}),(0,l.jsx)(Y.Z,{children:t})]})}var Q=n(3438),W=n(8596),X=n(4996);function ee(e){return(0,l.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,l.jsx)("path",{d:"M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z",fill:"currentColor"})})}const te={breadcrumbHomeIcon:"breadcrumbHomeIcon_YNFT"};function ne(){const e=(0,X.Z)("/");return(0,l.jsx)("li",{className:"breadcrumbs__item",children:(0,l.jsx)(f.Z,{"aria-label":(0,h.I)({id:"theme.docs.breadcrumbs.home",message:"Home page",description:"The ARIA label for the home page in the breadcrumbs"}),className:"breadcrumbs__link",href:e,children:(0,l.jsx)(ee,{className:te.breadcrumbHomeIcon})})})}const se={breadcrumbsContainer:"breadcrumbsContainer_Z_bl"};function ae(e){let{children:t,href:n,isLast:s}=e;const a="breadcrumbs__link";return s?(0,l.jsx)("span",{className:a,itemProp:"name",children:t}):n?(0,l.jsx)(f.Z,{className:a,href:n,itemProp:"item",children:(0,l.jsx)("span",{itemProp:"name",children:t})}):(0,l.jsx)("span",{className:a,children:t})}function ie(e){let{children:t,active:n,index:s,addMicrodata:a}=e;return(0,l.jsxs)("li",{...a&&{itemScope:!0,itemProp:"itemListElement",itemType:"https://schema.org/ListItem"},className:(0,u.Z)("breadcrumbs__item",{"breadcrumbs__item--active":n}),children:[t,(0,l.jsx)("meta",{itemProp:"position",content:String(s+1)})]})}function le(){const e=(0,Q.s1)(),t=(0,W.Ns)();return e?(0,l.jsx)("nav",{className:(0,u.Z)(j.k.docs.docBreadcrumbs,se.breadcrumbsContainer),"aria-label":(0,h.I)({id:"theme.docs.breadcrumbs.navAriaLabel",message:"Breadcrumbs",description:"The ARIA label for the breadcrumbs"}),children:(0,l.jsxs)("ul",{className:"breadcrumbs",itemScope:!0,itemType:"https://schema.org/BreadcrumbList",children:[t&&(0,l.jsx)(ne,{}),e.map(((t,n)=>{const s=n===e.length-1,a="category"===t.type&&t.linkUnlisted?void 0:t.href;return(0,l.jsx)(ie,{active:s,index:n,addMicrodata:!!a,children:(0,l.jsx)(ae,{href:a,isLast:s,children:t.label})},n)}))]})}):null}var oe=n(2212);const re={docItemContainer:"docItemContainer_Djhp",docItemCol:"docItemCol_VOVn"};function ce(e){let{children:t}=e;const n=function(){const{frontMatter:e,toc:t}=c(),n=(0,m.i)(),s=e.hide_table_of_contents,a=!s&&t.length>0;return{hidden:s,mobile:a?(0,l.jsx)(q,{}):void 0,desktop:!a||"desktop"!==n&&"ssr"!==n?void 0:(0,l.jsx)(G,{})}}(),{metadata:{unlisted:s}}=c();return(0,l.jsxs)("div",{className:"row",children:[(0,l.jsxs)("div",{className:(0,u.Z)("col",!n.hidden&&re.docItemCol),children:[s&&(0,l.jsx)(oe.Z,{}),(0,l.jsx)(T,{}),(0,l.jsxs)("div",{className:re.docItemContainer,children:[(0,l.jsxs)("article",{children:[(0,l.jsx)(le,{}),(0,l.jsx)(U,{}),n.mobile,(0,l.jsx)(K,{children:t}),(0,l.jsx)(O,{})]}),(0,l.jsx)(x,{})]})]}),n.desktop&&(0,l.jsx)("div",{className:"col col--3",children:n.desktop})]})}function de(e){const t=`docs-doc-id-${e.content.metadata.id}`,n=e.content;return(0,l.jsx)(r,{content:e.content,children:(0,l.jsxs)(a.FG,{className:t,children:[(0,l.jsx)(d,{}),(0,l.jsx)(ce,{children:(0,l.jsx)(n,{})})]})})}},9407:(e,t,n)=>{n.d(t,{Z:()=>c});n(7294);var s=n(512),a=n(3743);const i={tableOfContents:"tableOfContents_bqdL",docItemContainer:"docItemContainer_F8PC"};var l=n(5893);const o="table-of-contents__link toc-highlight",r="table-of-contents__link--active";function c(e){let{className:t,...n}=e;return(0,l.jsx)("div",{className:(0,s.Z)(i.tableOfContents,"thin-scrollbar",t),children:(0,l.jsx)(a.Z,{...n,linkClassName:o,linkActiveClassName:r})})}},3743:(e,t,n)=>{n.d(t,{Z:()=>v});var s=n(7294),a=n(6668);function i(e){const t=e.map((e=>({...e,parentIndex:-1,children:[]}))),n=Array(7).fill(-1);t.forEach(((e,t)=>{const s=n.slice(2,e.level);e.parentIndex=Math.max(...s),n[e.level]=t}));const s=[];return t.forEach((e=>{const{parentIndex:n,...a}=e;n>=0?t[n].children.push(a):s.push(a)})),s}function l(e){let{toc:t,minHeadingLevel:n,maxHeadingLevel:s}=e;return t.flatMap((e=>{const t=l({toc:e.children,minHeadingLevel:n,maxHeadingLevel:s});return function(e){return e.level>=n&&e.level<=s}(e)?[{...e,children:t}]:t}))}function o(e){const t=e.getBoundingClientRect();return t.top===t.bottom?o(e.parentNode):t}function r(e,t){let{anchorTopOffset:n}=t;const s=e.find((e=>o(e).top>=n));if(s){return function(e){return e.top>0&&e.bottom{e.current=t?0:document.querySelector(".navbar").clientHeight}),[t]),e}function d(e){const t=(0,s.useRef)(void 0),n=c();(0,s.useEffect)((()=>{if(!e)return()=>{};const{linkClassName:s,linkActiveClassName:a,minHeadingLevel:i,maxHeadingLevel:l}=e;function o(){const e=function(e){return Array.from(document.getElementsByClassName(e))}(s),o=function(e){let{minHeadingLevel:t,maxHeadingLevel:n}=e;const s=[];for(let a=t;a<=n;a+=1)s.push(`h${a}.anchor`);return Array.from(document.querySelectorAll(s.join()))}({minHeadingLevel:i,maxHeadingLevel:l}),c=r(o,{anchorTopOffset:n.current}),d=e.find((e=>c&&c.id===function(e){return decodeURIComponent(e.href.substring(e.href.indexOf("#")+1))}(e)));e.forEach((e=>{!function(e,n){n?(t.current&&t.current!==e&&t.current.classList.remove(a),e.classList.add(a),t.current=e):e.classList.remove(a)}(e,e===d)}))}return document.addEventListener("scroll",o),document.addEventListener("resize",o),o(),()=>{document.removeEventListener("scroll",o),document.removeEventListener("resize",o)}}),[e,n])}var u=n(3692),m=n(5893);function h(e){let{toc:t,className:n,linkClassName:s,isChild:a}=e;return t.length?(0,m.jsx)("ul",{className:a?void 0:n,children:t.map((e=>(0,m.jsxs)("li",{children:[(0,m.jsx)(u.Z,{to:`#${e.id}`,className:s??void 0,dangerouslySetInnerHTML:{__html:e.value}}),(0,m.jsx)(h,{isChild:!0,toc:e.children,className:n,linkClassName:s})]},e.id)))}):null}const b=s.memo(h);function v(e){let{toc:t,className:n="table-of-contents table-of-contents__left-border",linkClassName:o="table-of-contents__link",linkActiveClassName:r,minHeadingLevel:c,maxHeadingLevel:u,...h}=e;const v=(0,a.L)(),x=c??v.tableOfContents.minHeadingLevel,p=u??v.tableOfContents.maxHeadingLevel,f=function(e){let{toc:t,minHeadingLevel:n,maxHeadingLevel:a}=e;return(0,s.useMemo)((()=>l({toc:i(t),minHeadingLevel:n,maxHeadingLevel:a})),[t,n,a])}({toc:t,minHeadingLevel:x,maxHeadingLevel:p});return d((0,s.useMemo)((()=>{if(o&&r)return{linkClassName:o,linkActiveClassName:r,minHeadingLevel:x,maxHeadingLevel:p}}),[o,r,x,p])),(0,m.jsx)(b,{toc:f,className:n,linkClassName:o,...h})}},2212:(e,t,n)=>{n.d(t,{Z:()=>h});n(7294);var s=n(512),a=n(5999),i=n(5742),l=n(5893);function o(){return(0,l.jsx)(a.Z,{id:"theme.unlistedContent.title",description:"The unlisted content banner title",children:"Unlisted page"})}function r(){return(0,l.jsx)(a.Z,{id:"theme.unlistedContent.message",description:"The unlisted content banner message",children:"This page is unlisted. Search engines will not index it, and only users having a direct link can access it."})}function c(){return(0,l.jsx)(i.Z,{children:(0,l.jsx)("meta",{name:"robots",content:"noindex, nofollow"})})}var d=n(5281),u=n(9047);function m(e){let{className:t}=e;return(0,l.jsx)(u.Z,{type:"caution",title:(0,l.jsx)(o,{}),className:(0,s.Z)(t,d.k.common.unlistedBanner),children:(0,l.jsx)(r,{})})}function h(e){return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(c,{}),(0,l.jsx)(m,{...e})]})}}}]); \ No newline at end of file diff --git a/assets/js/742.0d8cb707.js b/assets/js/321.8962a1c8.js similarity index 99% rename from assets/js/742.0d8cb707.js rename to assets/js/321.8962a1c8.js index caf8e1f1..ecf0e724 100644 --- a/assets/js/742.0d8cb707.js +++ b/assets/js/321.8962a1c8.js @@ -1 +1 @@ -(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[742],{2545:(t,e,n)=>{var r=n(1822)(n(7400),"DataView");t.exports=r},6586:(t,e,n)=>{var r=n(7753),o=n(2452),u=n(2115),i=n(8256),s=n(7426);function a(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e{var r=n(9417),o=n(2470),u=n(6165),i=n(1873),s=n(2556);function a(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e{var r=n(1822)(n(7400),"Map");t.exports=r},4554:(t,e,n)=>{var r=n(9448),o=n(7738),u=n(6575),i=n(7238),s=n(8738);function a(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e{var r=n(1822)(n(7400),"Promise");t.exports=r},6151:(t,e,n)=>{var r=n(1822)(n(7400),"Set");t.exports=r},2485:(t,e,n)=>{var r=n(4554),o=n(8639),u=n(8379);function i(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new r;++e{var r=n(6301),o=n(7354),u=n(5863),i=n(2367),s=n(748),a=n(7569);function c(t){var e=this.__data__=new r(t);this.size=e.size}c.prototype.clear=o,c.prototype.delete=u,c.prototype.get=i,c.prototype.has=s,c.prototype.set=a,t.exports=c},6539:(t,e,n)=>{var r=n(7400).Symbol;t.exports=r},9942:(t,e,n)=>{var r=n(7400).Uint8Array;t.exports=r},6902:(t,e,n)=>{var r=n(1822)(n(7400),"WeakMap");t.exports=r},594:t=>{t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length;++n{t.exports=function(t,e){for(var n=null==t?0:t.length;n--&&!1!==e(t[n],n,t););return t}},263:t=>{t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length,o=0,u=[];++n{var r=n(4701),o=n(2900),u=n(9785),i=n(3854),s=n(2383),a=n(8519),c=Object.prototype.hasOwnProperty;t.exports=function(t,e){var n=u(t),l=!n&&o(t),D=!n&&!l&&i(t),f=!n&&!l&&!D&&a(t),h=n||l||D||f,d=h?r(t.length,String):[],p=d.length;for(var F in t)!e&&!c.call(t,F)||h&&("length"==F||D&&("offset"==F||"parent"==F)||f&&("buffer"==F||"byteLength"==F||"byteOffset"==F)||s(F,p))||d.push(F);return d}},6070:t=>{t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length,o=Array(r);++n{t.exports=function(t,e){for(var n=-1,r=e.length,o=t.length;++n{t.exports=function(t,e,n,r){var o=-1,u=null==t?0:t.length;for(r&&u&&(n=t[++o]);++o{t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length;++n{t.exports=function(t){return t.split("")}},585:t=>{var e=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;t.exports=function(t){return t.match(e)||[]}},3382:(t,e,n)=>{var r=n(5638);t.exports=function(t,e){for(var n=t.length;n--;)if(r(t[n][0],e))return n;return-1}},2033:(t,e,n)=>{var r=n(6194),o=n(6789)(r);t.exports=o},5796:(t,e,n)=>{var r=n(3475),o=n(6789)(r,!0);t.exports=o},5372:t=>{t.exports=function(t,e,n,r){for(var o=t.length,u=n+(r?1:-1);r?u--:++u{var r=n(8911)();t.exports=r},6194:(t,e,n)=>{var r=n(9819),o=n(98);t.exports=function(t,e){return t&&r(t,e,o)}},3475:(t,e,n)=>{var r=n(4429),o=n(98);t.exports=function(t,e){return t&&r(t,e,o)}},4429:(t,e,n)=>{var r=n(8911)(!0);t.exports=r},9867:(t,e,n)=>{var r=n(6747),o=n(7948);t.exports=function(t,e){for(var n=0,u=(e=r(e,t)).length;null!=t&&n{var r=n(7141),o=n(9785);t.exports=function(t,e,n){var u=e(t);return o(t)?u:r(u,n(t))}},9736:(t,e,n)=>{var r=n(6539),o=n(4840),u=n(1258),i=r?r.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":i&&i in Object(t)?o(t):u(t)}},1610:t=>{t.exports=function(t,e){return null!=t&&e in Object(t)}},8817:(t,e,n)=>{var r=n(5372),o=n(1129),u=n(8263);t.exports=function(t,e,n){return e==e?u(t,e,n):r(t,o,n)}},5829:(t,e,n)=>{var r=n(9736),o=n(2360);t.exports=function(t){return o(t)&&"[object Arguments]"==r(t)}},2866:(t,e,n)=>{var r=n(2772),o=n(2360);t.exports=function t(e,n,u,i,s){return e===n||(null==e||null==n||!o(e)&&!o(n)?e!=e&&n!=n:r(e,n,u,i,t,s))}},2772:(t,e,n)=>{var r=n(3694),o=n(7042),u=n(370),i=n(9584),s=n(3533),a=n(9785),c=n(3854),l=n(8519),D="[object Arguments]",f="[object Array]",h="[object Object]",d=Object.prototype.hasOwnProperty;t.exports=function(t,e,n,p,F,E){var g=a(t),m=a(e),v=g?f:s(t),C=m?f:s(e),y=(v=v==D?h:v)==h,A=(C=C==D?h:C)==h,b=v==C;if(b&&c(t)){if(!c(e))return!1;g=!0,y=!1}if(b&&!y)return E||(E=new r),g||l(t)?o(t,e,n,p,F,E):u(t,e,v,n,p,F,E);if(!(1&n)){var T=y&&d.call(t,"__wrapped__"),x=A&&d.call(e,"__wrapped__");if(T||x){var O=T?t.value():t,_=x?e.value():e;return E||(E=new r),F(O,_,n,p,E)}}return!!b&&(E||(E=new r),i(t,e,n,p,F,E))}},9850:(t,e,n)=>{var r=n(3694),o=n(2866);t.exports=function(t,e,n,u){var i=n.length,s=i,a=!u;if(null==t)return!s;for(t=Object(t);i--;){var c=n[i];if(a&&c[2]?c[1]!==t[c[0]]:!(c[0]in t))return!1}for(;++i{t.exports=function(t){return t!=t}},6729:(t,e,n)=>{var r=n(8338),o=n(9678),u=n(1611),i=n(6532),s=/^\[object .+?Constructor\]$/,a=Function.prototype,c=Object.prototype,l=a.toString,D=c.hasOwnProperty,f=RegExp("^"+l.call(D).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!u(t)||o(t))&&(r(t)?f:s).test(i(t))}},6972:(t,e,n)=>{var r=n(9736),o=n(4194),u=n(2360),i={};i["[object Float32Array]"]=i["[object Float64Array]"]=i["[object Int8Array]"]=i["[object Int16Array]"]=i["[object Int32Array]"]=i["[object Uint8Array]"]=i["[object Uint8ClampedArray]"]=i["[object Uint16Array]"]=i["[object Uint32Array]"]=!0,i["[object Arguments]"]=i["[object Array]"]=i["[object ArrayBuffer]"]=i["[object Boolean]"]=i["[object DataView]"]=i["[object Date]"]=i["[object Error]"]=i["[object Function]"]=i["[object Map]"]=i["[object Number]"]=i["[object Object]"]=i["[object RegExp]"]=i["[object Set]"]=i["[object String]"]=i["[object WeakMap]"]=!1,t.exports=function(t){return u(t)&&o(t.length)&&!!i[r(t)]}},9278:(t,e,n)=>{var r=n(1410),o=n(7518),u=n(1137),i=n(9785),s=n(6001);t.exports=function(t){return"function"==typeof t?t:null==t?u:"object"==typeof t?i(t)?o(t[0],t[1]):r(t):s(t)}},186:(t,e,n)=>{var r=n(6016),o=n(962),u=Object.prototype.hasOwnProperty;t.exports=function(t){if(!r(t))return o(t);var e=[];for(var n in Object(t))u.call(t,n)&&"constructor"!=n&&e.push(n);return e}},1410:(t,e,n)=>{var r=n(9850),o=n(5102),u=n(5042);t.exports=function(t){var e=o(t);return 1==e.length&&e[0][2]?u(e[0][0],e[0][1]):function(n){return n===t||r(n,t,e)}}},7518:(t,e,n)=>{var r=n(2866),o=n(9729),u=n(9749),i=n(318),s=n(8302),a=n(5042),c=n(7948);t.exports=function(t,e){return i(t)&&s(e)?a(c(t),e):function(n){var i=o(n,t);return void 0===i&&i===e?u(n,t):r(e,i,3)}}},517:t=>{t.exports=function(t){return function(e){return null==e?void 0:e[t]}}},301:(t,e,n)=>{var r=n(9867);t.exports=function(t){return function(e){return r(e,t)}}},7646:t=>{t.exports=function(t){return function(e){return null==t?void 0:t[e]}}},5733:t=>{t.exports=function(t,e,n){var r=-1,o=t.length;e<0&&(e=-e>o?0:o+e),(n=n>o?o:n)<0&&(n+=o),o=e>n?0:n-e>>>0,e>>>=0;for(var u=Array(o);++r{t.exports=function(t,e){for(var n=-1,r=Array(t);++n{var r=n(6539),o=n(6070),u=n(9785),i=n(5193),s=r?r.prototype:void 0,a=s?s.toString:void 0;t.exports=function t(e){if("string"==typeof e)return e;if(u(e))return o(e,t)+"";if(i(e))return a?a.call(e):"";var n=e+"";return"0"==n&&1/e==-Infinity?"-0":n}},4833:(t,e,n)=>{var r=n(6127),o=/^\s+/;t.exports=function(t){return t?t.slice(0,r(t)+1).replace(o,""):t}},9334:t=>{t.exports=function(t){return function(e){return t(e)}}},2231:(t,e,n)=>{var r=n(6070);t.exports=function(t,e){return r(e,(function(e){return t[e]}))}},5581:t=>{t.exports=function(t,e){return t.has(e)}},2079:(t,e,n)=>{var r=n(1137);t.exports=function(t){return"function"==typeof t?t:r}},6747:(t,e,n)=>{var r=n(9785),o=n(318),u=n(3419),i=n(5567);t.exports=function(t,e){return r(t)?t:o(t,e)?[t]:u(i(t))}},9158:(t,e,n)=>{var r=n(5733);t.exports=function(t,e,n){var o=t.length;return n=void 0===n?o:n,!e&&n>=o?t:r(t,e,n)}},4937:(t,e,n)=>{var r=n(7400)["__core-js_shared__"];t.exports=r},6789:(t,e,n)=>{var r=n(68);t.exports=function(t,e){return function(n,o){if(null==n)return n;if(!r(n))return t(n,o);for(var u=n.length,i=e?u:-1,s=Object(n);(e?i--:++i{t.exports=function(t){return function(e,n,r){for(var o=-1,u=Object(e),i=r(e),s=i.length;s--;){var a=i[t?s:++o];if(!1===n(u[a],a,u))break}return e}}},2690:(t,e,n)=>{var r=n(9158),o=n(5348),u=n(3528),i=n(5567);t.exports=function(t){return function(e){e=i(e);var n=o(e)?u(e):void 0,s=n?n[0]:e.charAt(0),a=n?r(n,1).join(""):e.slice(1);return s[t]()+a}}},8267:(t,e,n)=>{var r=n(6446),o=n(1099),u=n(3254),i=RegExp("['\u2019]","g");t.exports=function(t){return function(e){return r(u(o(e).replace(i,"")),t,"")}}},6632:(t,e,n)=>{var r=n(9278),o=n(68),u=n(98);t.exports=function(t){return function(e,n,i){var s=Object(e);if(!o(e)){var a=r(n,3);e=u(e),n=function(t){return a(s[t],t,s)}}var c=t(e,n,i);return c>-1?s[a?e[c]:c]:void 0}}},4248:(t,e,n)=>{var r=n(7646)({"\xc0":"A","\xc1":"A","\xc2":"A","\xc3":"A","\xc4":"A","\xc5":"A","\xe0":"a","\xe1":"a","\xe2":"a","\xe3":"a","\xe4":"a","\xe5":"a","\xc7":"C","\xe7":"c","\xd0":"D","\xf0":"d","\xc8":"E","\xc9":"E","\xca":"E","\xcb":"E","\xe8":"e","\xe9":"e","\xea":"e","\xeb":"e","\xcc":"I","\xcd":"I","\xce":"I","\xcf":"I","\xec":"i","\xed":"i","\xee":"i","\xef":"i","\xd1":"N","\xf1":"n","\xd2":"O","\xd3":"O","\xd4":"O","\xd5":"O","\xd6":"O","\xd8":"O","\xf2":"o","\xf3":"o","\xf4":"o","\xf5":"o","\xf6":"o","\xf8":"o","\xd9":"U","\xda":"U","\xdb":"U","\xdc":"U","\xf9":"u","\xfa":"u","\xfb":"u","\xfc":"u","\xdd":"Y","\xfd":"y","\xff":"y","\xc6":"Ae","\xe6":"ae","\xde":"Th","\xfe":"th","\xdf":"ss","\u0100":"A","\u0102":"A","\u0104":"A","\u0101":"a","\u0103":"a","\u0105":"a","\u0106":"C","\u0108":"C","\u010a":"C","\u010c":"C","\u0107":"c","\u0109":"c","\u010b":"c","\u010d":"c","\u010e":"D","\u0110":"D","\u010f":"d","\u0111":"d","\u0112":"E","\u0114":"E","\u0116":"E","\u0118":"E","\u011a":"E","\u0113":"e","\u0115":"e","\u0117":"e","\u0119":"e","\u011b":"e","\u011c":"G","\u011e":"G","\u0120":"G","\u0122":"G","\u011d":"g","\u011f":"g","\u0121":"g","\u0123":"g","\u0124":"H","\u0126":"H","\u0125":"h","\u0127":"h","\u0128":"I","\u012a":"I","\u012c":"I","\u012e":"I","\u0130":"I","\u0129":"i","\u012b":"i","\u012d":"i","\u012f":"i","\u0131":"i","\u0134":"J","\u0135":"j","\u0136":"K","\u0137":"k","\u0138":"k","\u0139":"L","\u013b":"L","\u013d":"L","\u013f":"L","\u0141":"L","\u013a":"l","\u013c":"l","\u013e":"l","\u0140":"l","\u0142":"l","\u0143":"N","\u0145":"N","\u0147":"N","\u014a":"N","\u0144":"n","\u0146":"n","\u0148":"n","\u014b":"n","\u014c":"O","\u014e":"O","\u0150":"O","\u014d":"o","\u014f":"o","\u0151":"o","\u0154":"R","\u0156":"R","\u0158":"R","\u0155":"r","\u0157":"r","\u0159":"r","\u015a":"S","\u015c":"S","\u015e":"S","\u0160":"S","\u015b":"s","\u015d":"s","\u015f":"s","\u0161":"s","\u0162":"T","\u0164":"T","\u0166":"T","\u0163":"t","\u0165":"t","\u0167":"t","\u0168":"U","\u016a":"U","\u016c":"U","\u016e":"U","\u0170":"U","\u0172":"U","\u0169":"u","\u016b":"u","\u016d":"u","\u016f":"u","\u0171":"u","\u0173":"u","\u0174":"W","\u0175":"w","\u0176":"Y","\u0177":"y","\u0178":"Y","\u0179":"Z","\u017b":"Z","\u017d":"Z","\u017a":"z","\u017c":"z","\u017e":"z","\u0132":"IJ","\u0133":"ij","\u0152":"Oe","\u0153":"oe","\u0149":"'n","\u017f":"s"});t.exports=r},7042:(t,e,n)=>{var r=n(2485),o=n(756),u=n(5581);t.exports=function(t,e,n,i,s,a){var c=1&n,l=t.length,D=e.length;if(l!=D&&!(c&&D>l))return!1;var f=a.get(t),h=a.get(e);if(f&&h)return f==e&&h==t;var d=-1,p=!0,F=2&n?new r:void 0;for(a.set(t,e),a.set(e,t);++d{var r=n(6539),o=n(9942),u=n(5638),i=n(7042),s=n(9383),a=n(3735),c=r?r.prototype:void 0,l=c?c.valueOf:void 0;t.exports=function(t,e,n,r,c,D,f){switch(n){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=e.byteLength||!D(new o(t),new o(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return u(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var h=s;case"[object Set]":var d=1&r;if(h||(h=a),t.size!=e.size&&!d)return!1;var p=f.get(t);if(p)return p==e;r|=2,f.set(t,e);var F=i(h(t),h(e),r,c,D,f);return f.delete(t),F;case"[object Symbol]":if(l)return l.call(t)==l.call(e)}return!1}},9584:(t,e,n)=>{var r=n(1385),o=Object.prototype.hasOwnProperty;t.exports=function(t,e,n,u,i,s){var a=1&n,c=r(t),l=c.length;if(l!=r(e).length&&!a)return!1;for(var D=l;D--;){var f=c[D];if(!(a?f in e:o.call(e,f)))return!1}var h=s.get(t),d=s.get(e);if(h&&d)return h==e&&d==t;var p=!0;s.set(t,e),s.set(e,t);for(var F=a;++D{var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;t.exports=r},1385:(t,e,n)=>{var r=n(1324),o=n(3080),u=n(98);t.exports=function(t){return r(t,u,o)}},5899:(t,e,n)=>{var r=n(4479);t.exports=function(t,e){var n=t.__data__;return r(e)?n["string"==typeof e?"string":"hash"]:n.map}},5102:(t,e,n)=>{var r=n(8302),o=n(98);t.exports=function(t){for(var e=o(t),n=e.length;n--;){var u=e[n],i=t[u];e[n]=[u,i,r(i)]}return e}},1822:(t,e,n)=>{var r=n(6729),o=n(5371);t.exports=function(t,e){var n=o(t,e);return r(n)?n:void 0}},4840:(t,e,n)=>{var r=n(6539),o=Object.prototype,u=o.hasOwnProperty,i=o.toString,s=r?r.toStringTag:void 0;t.exports=function(t){var e=u.call(t,s),n=t[s];try{t[s]=void 0;var r=!0}catch(a){}var o=i.call(t);return r&&(e?t[s]=n:delete t[s]),o}},3080:(t,e,n)=>{var r=n(263),o=n(5937),u=Object.prototype.propertyIsEnumerable,i=Object.getOwnPropertySymbols,s=i?function(t){return null==t?[]:(t=Object(t),r(i(t),(function(e){return u.call(t,e)})))}:o;t.exports=s},3533:(t,e,n)=>{var r=n(2545),o=n(4538),u=n(4825),i=n(6151),s=n(6902),a=n(9736),c=n(6532),l="[object Map]",D="[object Promise]",f="[object Set]",h="[object WeakMap]",d="[object DataView]",p=c(r),F=c(o),E=c(u),g=c(i),m=c(s),v=a;(r&&v(new r(new ArrayBuffer(1)))!=d||o&&v(new o)!=l||u&&v(u.resolve())!=D||i&&v(new i)!=f||s&&v(new s)!=h)&&(v=function(t){var e=a(t),n="[object Object]"==e?t.constructor:void 0,r=n?c(n):"";if(r)switch(r){case p:return d;case F:return l;case E:return D;case g:return f;case m:return h}return e}),t.exports=v},5371:t=>{t.exports=function(t,e){return null==t?void 0:t[e]}},731:(t,e,n)=>{var r=n(6747),o=n(2900),u=n(9785),i=n(2383),s=n(4194),a=n(7948);t.exports=function(t,e,n){for(var c=-1,l=(e=r(e,t)).length,D=!1;++c{var e=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");t.exports=function(t){return e.test(t)}},3909:t=>{var e=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;t.exports=function(t){return e.test(t)}},7753:(t,e,n)=>{var r=n(5718);t.exports=function(){this.__data__=r?r(null):{},this.size=0}},2452:t=>{t.exports=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}},2115:(t,e,n)=>{var r=n(5718),o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;if(r){var n=e[t];return"__lodash_hash_undefined__"===n?void 0:n}return o.call(e,t)?e[t]:void 0}},8256:(t,e,n)=>{var r=n(5718),o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;return r?void 0!==e[t]:o.call(e,t)}},7426:(t,e,n)=>{var r=n(5718);t.exports=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=r&&void 0===e?"__lodash_hash_undefined__":e,this}},2383:t=>{var e=/^(?:0|[1-9]\d*)$/;t.exports=function(t,n){var r=typeof t;return!!(n=null==n?9007199254740991:n)&&("number"==r||"symbol"!=r&&e.test(t))&&t>-1&&t%1==0&&t{var r=n(9785),o=n(5193),u=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,i=/^\w*$/;t.exports=function(t,e){if(r(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!o(t))||(i.test(t)||!u.test(t)||null!=e&&t in Object(e))}},4479:t=>{t.exports=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}},9678:(t,e,n)=>{var r,o=n(4937),u=(r=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";t.exports=function(t){return!!u&&u in t}},6016:t=>{var e=Object.prototype;t.exports=function(t){var n=t&&t.constructor;return t===("function"==typeof n&&n.prototype||e)}},8302:(t,e,n)=>{var r=n(1611);t.exports=function(t){return t==t&&!r(t)}},9417:t=>{t.exports=function(){this.__data__=[],this.size=0}},2470:(t,e,n)=>{var r=n(3382),o=Array.prototype.splice;t.exports=function(t){var e=this.__data__,n=r(e,t);return!(n<0)&&(n==e.length-1?e.pop():o.call(e,n,1),--this.size,!0)}},6165:(t,e,n)=>{var r=n(3382);t.exports=function(t){var e=this.__data__,n=r(e,t);return n<0?void 0:e[n][1]}},1873:(t,e,n)=>{var r=n(3382);t.exports=function(t){return r(this.__data__,t)>-1}},2556:(t,e,n)=>{var r=n(3382);t.exports=function(t,e){var n=this.__data__,o=r(n,t);return o<0?(++this.size,n.push([t,e])):n[o][1]=e,this}},9448:(t,e,n)=>{var r=n(6586),o=n(6301),u=n(4538);t.exports=function(){this.size=0,this.__data__={hash:new r,map:new(u||o),string:new r}}},7738:(t,e,n)=>{var r=n(5899);t.exports=function(t){var e=r(this,t).delete(t);return this.size-=e?1:0,e}},6575:(t,e,n)=>{var r=n(5899);t.exports=function(t){return r(this,t).get(t)}},7238:(t,e,n)=>{var r=n(5899);t.exports=function(t){return r(this,t).has(t)}},8738:(t,e,n)=>{var r=n(5899);t.exports=function(t,e){var n=r(this,t),o=n.size;return n.set(t,e),this.size+=n.size==o?0:1,this}},9383:t=>{t.exports=function(t){var e=-1,n=Array(t.size);return t.forEach((function(t,r){n[++e]=[r,t]})),n}},5042:t=>{t.exports=function(t,e){return function(n){return null!=n&&(n[t]===e&&(void 0!==e||t in Object(n)))}}},2941:(t,e,n)=>{var r=n(6651);t.exports=function(t){var e=r(t,(function(t){return 500===n.size&&n.clear(),t})),n=e.cache;return e}},5718:(t,e,n)=>{var r=n(1822)(Object,"create");t.exports=r},962:(t,e,n)=>{var r=n(7883)(Object.keys,Object);t.exports=r},8125:(t,e,n)=>{t=n.nmd(t);var r=n(9120),o=e&&!e.nodeType&&e,u=o&&t&&!t.nodeType&&t,i=u&&u.exports===o&&r.process,s=function(){try{var t=u&&u.require&&u.require("util").types;return t||i&&i.binding&&i.binding("util")}catch(e){}}();t.exports=s},1258:t=>{var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},7883:t=>{t.exports=function(t,e){return function(n){return t(e(n))}}},7400:(t,e,n)=>{var r=n(9120),o="object"==typeof self&&self&&self.Object===Object&&self,u=r||o||Function("return this")();t.exports=u},8639:t=>{t.exports=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this}},8379:t=>{t.exports=function(t){return this.__data__.has(t)}},3735:t=>{t.exports=function(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n}},7354:(t,e,n)=>{var r=n(6301);t.exports=function(){this.__data__=new r,this.size=0}},5863:t=>{t.exports=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n}},2367:t=>{t.exports=function(t){return this.__data__.get(t)}},748:t=>{t.exports=function(t){return this.__data__.has(t)}},7569:(t,e,n)=>{var r=n(6301),o=n(4538),u=n(4554);t.exports=function(t,e){var n=this.__data__;if(n instanceof r){var i=n.__data__;if(!o||i.length<199)return i.push([t,e]),this.size=++n.size,this;n=this.__data__=new u(i)}return n.set(t,e),this.size=n.size,this}},8263:t=>{t.exports=function(t,e,n){for(var r=n-1,o=t.length;++r{var r=n(5630),o=n(5348),u=n(4890);t.exports=function(t){return o(t)?u(t):r(t)}},3419:(t,e,n)=>{var r=n(2941),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,u=/\\(\\)?/g,i=r((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(o,(function(t,n,r,o){e.push(r?o.replace(u,"$1"):n||t)})),e}));t.exports=i},7948:(t,e,n)=>{var r=n(5193);t.exports=function(t){if("string"==typeof t||r(t))return t;var e=t+"";return"0"==e&&1/t==-Infinity?"-0":e}},6532:t=>{var e=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return e.call(t)}catch(n){}try{return t+""}catch(n){}}return""}},6127:t=>{var e=/\s/;t.exports=function(t){for(var n=t.length;n--&&e.test(t.charAt(n)););return n}},4890:t=>{var e="\\ud800-\\udfff",n="["+e+"]",r="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",o="\\ud83c[\\udffb-\\udfff]",u="[^"+e+"]",i="(?:\\ud83c[\\udde6-\\uddff]){2}",s="[\\ud800-\\udbff][\\udc00-\\udfff]",a="(?:"+r+"|"+o+")"+"?",c="[\\ufe0e\\ufe0f]?",l=c+a+("(?:\\u200d(?:"+[u,i,s].join("|")+")"+c+a+")*"),D="(?:"+[u+r+"?",r,i,s,n].join("|")+")",f=RegExp(o+"(?="+o+")|"+D+l,"g");t.exports=function(t){return t.match(f)||[]}},7025:t=>{var e="\\ud800-\\udfff",n="\\u2700-\\u27bf",r="a-z\\xdf-\\xf6\\xf8-\\xff",o="A-Z\\xc0-\\xd6\\xd8-\\xde",u="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",i="["+u+"]",s="\\d+",a="["+n+"]",c="["+r+"]",l="[^"+e+u+s+n+r+o+"]",D="(?:\\ud83c[\\udde6-\\uddff]){2}",f="[\\ud800-\\udbff][\\udc00-\\udfff]",h="["+o+"]",d="(?:"+c+"|"+l+")",p="(?:"+h+"|"+l+")",F="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",E="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",g="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",m="[\\ufe0e\\ufe0f]?",v=m+g+("(?:\\u200d(?:"+["[^"+e+"]",D,f].join("|")+")"+m+g+")*"),C="(?:"+[a,D,f].join("|")+")"+v,y=RegExp([h+"?"+c+"+"+F+"(?="+[i,h,"$"].join("|")+")",p+"+"+E+"(?="+[i,h+d,"$"].join("|")+")",h+"?"+d+"+"+F,h+"+"+E,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",s,C].join("|"),"g");t.exports=function(t){return t.match(y)||[]}},7429:(t,e,n)=>{var r=n(8052),o=n(8267)((function(t,e,n){return e=e.toLowerCase(),t+(n?r(e):e)}));t.exports=o},8052:(t,e,n)=>{var r=n(5567),o=n(6744);t.exports=function(t){return o(r(t).toLowerCase())}},1099:(t,e,n)=>{var r=n(4248),o=n(5567),u=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,i=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");t.exports=function(t){return(t=o(t))&&t.replace(u,r).replace(i,"")}},5638:t=>{t.exports=function(t,e){return t===e||t!=t&&e!=e}},6259:(t,e,n)=>{var r=n(5372),o=n(9278),u=n(7991),i=Math.max;t.exports=function(t,e,n){var s=null==t?0:t.length;if(!s)return-1;var a=null==n?0:u(n);return a<0&&(a=i(s+a,0)),r(t,o(e,3),a)}},2489:(t,e,n)=>{var r=n(6632)(n(1724));t.exports=r},1724:(t,e,n)=>{var r=n(5372),o=n(9278),u=n(7991),i=Math.max,s=Math.min;t.exports=function(t,e,n){var a=null==t?0:t.length;if(!a)return-1;var c=a-1;return void 0!==n&&(c=u(n),c=n<0?i(a+c,0):s(c,a-1)),r(t,o(e,3),c,!0)}},7003:(t,e,n)=>{var r=n(594),o=n(2033),u=n(2079),i=n(9785);t.exports=function(t,e){return(i(t)?r:o)(t,u(e))}},8022:(t,e,n)=>{var r=n(2554),o=n(5796),u=n(2079),i=n(9785);t.exports=function(t,e){return(i(t)?r:o)(t,u(e))}},9729:(t,e,n)=>{var r=n(9867);t.exports=function(t,e,n){var o=null==t?void 0:r(t,e);return void 0===o?n:o}},9749:(t,e,n)=>{var r=n(1610),o=n(731);t.exports=function(t,e){return null!=t&&o(t,e,r)}},1137:t=>{t.exports=function(t){return t}},2501:(t,e,n)=>{var r=n(8817),o=n(68),u=n(7206),i=n(7991),s=n(8185),a=Math.max;t.exports=function(t,e,n,c){t=o(t)?t:s(t),n=n&&!c?i(n):0;var l=t.length;return n<0&&(n=a(l+n,0)),u(t)?n<=l&&t.indexOf(e,n)>-1:!!l&&r(t,e,n)>-1}},2900:(t,e,n)=>{var r=n(5829),o=n(2360),u=Object.prototype,i=u.hasOwnProperty,s=u.propertyIsEnumerable,a=r(function(){return arguments}())?r:function(t){return o(t)&&i.call(t,"callee")&&!s.call(t,"callee")};t.exports=a},9785:t=>{var e=Array.isArray;t.exports=e},68:(t,e,n)=>{var r=n(8338),o=n(4194);t.exports=function(t){return null!=t&&o(t.length)&&!r(t)}},3854:(t,e,n)=>{t=n.nmd(t);var r=n(7400),o=n(7714),u=e&&!e.nodeType&&e,i=u&&t&&!t.nodeType&&t,s=i&&i.exports===u?r.Buffer:void 0,a=(s?s.isBuffer:void 0)||o;t.exports=a},8338:(t,e,n)=>{var r=n(9736),o=n(1611);t.exports=function(t){if(!o(t))return!1;var e=r(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},4194:t=>{t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},1611:t=>{t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},2360:t=>{t.exports=function(t){return null!=t&&"object"==typeof t}},7206:(t,e,n)=>{var r=n(9736),o=n(9785),u=n(2360);t.exports=function(t){return"string"==typeof t||!o(t)&&u(t)&&"[object String]"==r(t)}},5193:(t,e,n)=>{var r=n(9736),o=n(2360);t.exports=function(t){return"symbol"==typeof t||o(t)&&"[object Symbol]"==r(t)}},8519:(t,e,n)=>{var r=n(6972),o=n(9334),u=n(8125),i=u&&u.isTypedArray,s=i?o(i):r;t.exports=s},98:(t,e,n)=>{var r=n(8213),o=n(186),u=n(68);t.exports=function(t){return u(t)?r(t):o(t)}},6651:(t,e,n)=>{var r=n(4554);function o(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var n=function(){var r=arguments,o=e?e.apply(this,r):r[0],u=n.cache;if(u.has(o))return u.get(o);var i=t.apply(this,r);return n.cache=u.set(o,i)||u,i};return n.cache=new(o.Cache||r),n}o.Cache=r,t.exports=o},6001:(t,e,n)=>{var r=n(517),o=n(301),u=n(318),i=n(7948);t.exports=function(t){return u(t)?r(i(t)):o(t)}},5937:t=>{t.exports=function(){return[]}},7714:t=>{t.exports=function(){return!1}},4919:(t,e,n)=>{var r=n(1936),o=1/0;t.exports=function(t){return t?(t=r(t))===o||t===-1/0?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0}},7991:(t,e,n)=>{var r=n(4919);t.exports=function(t){var e=r(t),n=e%1;return e==e?n?e-n:e:0}},1936:(t,e,n)=>{var r=n(4833),o=n(1611),u=n(5193),i=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,a=/^0o[0-7]+$/i,c=parseInt;t.exports=function(t){if("number"==typeof t)return t;if(u(t))return NaN;if(o(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=o(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=r(t);var n=s.test(t);return n||a.test(t)?c(t.slice(2),n?2:8):i.test(t)?NaN:+t}},5567:(t,e,n)=>{var r=n(4282);t.exports=function(t){return null==t?"":r(t)}},6744:(t,e,n)=>{var r=n(2690)("toUpperCase");t.exports=r},8185:(t,e,n)=>{var r=n(2231),o=n(98);t.exports=function(t){return null==t?[]:r(t,o(t))}},3254:(t,e,n)=>{var r=n(585),o=n(3909),u=n(5567),i=n(7025);t.exports=function(t,e,n){return t=u(t),void 0===(e=n?void 0:e)?o(t)?i(t):r(t):t.match(e)||[]}},6961:(t,e,n)=>{var r,o=function(){var t=String.fromCharCode,e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",r={};function o(t,e){if(!r[t]){r[t]={};for(var n=0;n>>8,n[2*r+1]=i%256}return n},decompressFromUint8Array:function(e){if(null==e)return u.decompress(e);for(var n=new Array(e.length/2),r=0,o=n.length;r>=1}else{for(o=1,r=0;r>=1}0==--D&&(D=Math.pow(2,h),h++),delete s[l]}else for(o=i[l],r=0;r>=1;0==--D&&(D=Math.pow(2,h),h++),i[c]=f++,l=String(a)}if(""!==l){if(Object.prototype.hasOwnProperty.call(s,l)){if(l.charCodeAt(0)<256){for(r=0;r>=1}else{for(o=1,r=0;r>=1}0==--D&&(D=Math.pow(2,h),h++),delete s[l]}else for(o=i[l],r=0;r>=1;0==--D&&(D=Math.pow(2,h),h++)}for(o=2,r=0;r>=1;for(;;){if(p<<=1,F==e-1){d.push(n(p));break}F++}return d.join("")},decompress:function(t){return null==t?"":""==t?null:u._decompress(t.length,32768,(function(e){return t.charCodeAt(e)}))},_decompress:function(e,n,r){var o,u,i,s,a,c,l,D=[],f=4,h=4,d=3,p="",F=[],E={val:r(0),position:n,index:1};for(o=0;o<3;o+=1)D[o]=o;for(i=0,a=Math.pow(2,2),c=1;c!=a;)s=E.val&E.position,E.position>>=1,0==E.position&&(E.position=n,E.val=r(E.index++)),i|=(s>0?1:0)*c,c<<=1;switch(i){case 0:for(i=0,a=Math.pow(2,8),c=1;c!=a;)s=E.val&E.position,E.position>>=1,0==E.position&&(E.position=n,E.val=r(E.index++)),i|=(s>0?1:0)*c,c<<=1;l=t(i);break;case 1:for(i=0,a=Math.pow(2,16),c=1;c!=a;)s=E.val&E.position,E.position>>=1,0==E.position&&(E.position=n,E.val=r(E.index++)),i|=(s>0?1:0)*c,c<<=1;l=t(i);break;case 2:return""}for(D[3]=l,u=l,F.push(l);;){if(E.index>e)return"";for(i=0,a=Math.pow(2,d),c=1;c!=a;)s=E.val&E.position,E.position>>=1,0==E.position&&(E.position=n,E.val=r(E.index++)),i|=(s>0?1:0)*c,c<<=1;switch(l=i){case 0:for(i=0,a=Math.pow(2,8),c=1;c!=a;)s=E.val&E.position,E.position>>=1,0==E.position&&(E.position=n,E.val=r(E.index++)),i|=(s>0?1:0)*c,c<<=1;D[h++]=t(i),l=h-1,f--;break;case 1:for(i=0,a=Math.pow(2,16),c=1;c!=a;)s=E.val&E.position,E.position>>=1,0==E.position&&(E.position=n,E.val=r(E.index++)),i|=(s>0?1:0)*c,c<<=1;D[h++]=t(i),l=h-1,f--;break;case 2:return F.join("")}if(0==f&&(f=Math.pow(2,d),d++),D[l])p=D[l];else{if(l!==h)return null;p=u+u.charAt(0)}F.push(p),D[h++]=u+p.charAt(0),u=p,0==--f&&(f=Math.pow(2,d),d++)}}};return u}();void 0===(r=function(){return o}.call(e,n,e,t))||(t.exports=r)},459:(t,e,n)=>{"use strict";n.d(e,{j:()=>Q});var r=n(22),o=n(407),u=n(8226);function i(t,e,n){return`${t.name}_${e}_${n}`}const s=1,a=2,c=4,l=5,D=7,f=8,h=9,d=10,p=11,F=12;class E{constructor(t){this.target=t}isEpsilon(){return!1}}class g extends E{constructor(t,e){super(t),this.tokenType=e}}class m extends E{constructor(t){super(t)}isEpsilon(){return!0}}class v extends E{constructor(t,e,n){super(t),this.rule=e,this.followState=n}isEpsilon(){return!0}}function C(t){const e={decisionMap:{},decisionStates:[],ruleToStartState:new Map,ruleToStopState:new Map,states:[]};!function(t,e){const n=e.length;for(let r=0;ry(t,e,n))),i=O(t,e,r,n,...u);return i}(t,e,n):n instanceof r.Wx?function(t,e,n){const r=I(t,e,n,{type:s});x(t,r);const o=O(t,e,r,n,A(t,e,n));return function(t,e,n,r){const o=r.left,u=r.right;return S(o,u),t.decisionMap[i(e,"Option",n.idx)]=o,r}(t,e,n,o)}(t,e,n):n instanceof r.hI?function(t,e,n){const r=I(t,e,n,{type:l});x(t,r);const o=O(t,e,r,n,A(t,e,n));return T(t,e,n,o)}(t,e,n):n instanceof r.pT?function(t,e,n){const r=I(t,e,n,{type:l});x(t,r);const o=O(t,e,r,n,A(t,e,n)),u=_(t,e,n.separator,n);return T(t,e,n,o,u)}(t,e,n):n instanceof r.ej?function(t,e,n){const r=I(t,e,n,{type:c});x(t,r);const o=O(t,e,r,n,A(t,e,n));return b(t,e,n,o)}(t,e,n):n instanceof r.fK?function(t,e,n){const r=I(t,e,n,{type:c});x(t,r);const o=O(t,e,r,n,A(t,e,n)),u=_(t,e,n.separator,n);return b(t,e,n,o,u)}(t,e,n):A(t,e,n)}function A(t,e,n){const r=(0,u.Z)((0,o.Z)(n.definition,(n=>y(t,e,n))),(t=>void 0!==t));return 1===r.length?r[0]:0===r.length?void 0:function(t,e){const n=e.length;for(let u=0;ut.alt))}get key(){let t="";for(const e in this.map)t+=e+":";return t}}function L(t,e=!0){return`${e?`a${t.alt}`:""}s${t.state.stateNumber}:${t.stack.map((t=>t.stateNumber.toString())).join("_")}`}var P=n(4878);const Z=function(t,e,n){for(var r=-1,o=t.length;++r{const o=r.toString();let u=n[o];return void 0!==u||(u={atnStartState:t,decision:e,states:{}},n[o]=u),u}}class X{constructor(){this.predicates=[]}is(t){return t>=this.predicates.length||this.predicates[t]}set(t,e){this.predicates[t]=e}toString(){let t="";const e=this.predicates.length;for(let n=0;nconsole.log(t)}initialize(t){this.atn=C(t.rules),this.dfas=function(t){const e=t.decisionStates.length,n=Array(e);for(let r=0;r(0,o.Z)(t,(t=>t[0]))));if(tt(f,!1)&&!s){const t=(0,Y.Z)(f,((t,e,n)=>((0,V.Z)(e,(e=>{e&&(t[e.tokenTypeIdx]=n,(0,V.Z)(e.categoryMatches,(e=>{t[e]=n})))})),t)),{});return u?function(e){var n;const r=this.LA(1),o=t[r.tokenTypeIdx];if(void 0!==e&&void 0!==o){const t=null===(n=e[o])||void 0===n?void 0:n.GATE;if(void 0!==t&&!1===t.call(this))return}return o}:function(){const e=this.LA(1);return t[e.tokenTypeIdx]}}return u?function(t){const e=new X,n=void 0===t?0:t.length;for(let o=0;o(0,o.Z)(t,(t=>t[0]))));if(tt(f)&&f[0][0]&&!s){const t=f[0],e=(0,K.Z)(t);if(1===e.length&&(0,H.Z)(e[0].categoryMatches)){const t=e[0].tokenTypeIdx;return function(){return this.LA(1).tokenTypeIdx===t}}{const t=(0,Y.Z)(e,((t,e)=>(void 0!==e&&(t[e.tokenTypeIdx]=!0,(0,V.Z)(e.categoryMatches,(e=>{t[e]=!0}))),t)),{});return function(){const e=this.LA(1);return!0===t[e.tokenTypeIdx]}}}return function(){const t=et.call(this,a,D,J,c);return"object"!=typeof t&&0===t}}}function tt(t,e=!0){const n=new Set;for(const r of t){const t=new Set;for(const o of r){if(void 0===o){if(e)break;return!1}const r=[o.tokenTypeIdx].concat(o.categoryMatches);for(const e of r)if(n.has(e)){if(!t.has(e))return!1}else n.add(e),t.add(e)}}return!0}function et(t,e,n,r){const o=t[e](n);let u=o.start;if(void 0===u){u=ct(o,st(lt(o.atnStartState))),o.start=u}return nt.apply(this,[o,u,n,r])}function nt(t,e,n,r){let o=e,u=1;const i=[];let s=this.LA(u++);for(;;){let e=(a=s,o.edges[a.tokenTypeIdx]);if(void 0===e&&(e=rt.apply(this,[t,o,s,u,n,r])),e===w)return ut(i,o,s);if(!0===e.isAcceptState)return e.prediction;o=e,i.push(s),s=this.LA(u++)}var a}function rt(t,e,n,r,o,u){const i=function(t,e,n){const r=new B,o=[];for(const i of t.elements){if(!1===n.is(i.alt))continue;if(i.state.type===D){o.push(i);continue}const t=i.state.transitions.length;for(let n=0;n0&&!function(t){for(const e of t.elements)if(e.state.type===D)return!0;return!1}(u))for(const i of o)u.add(i);return u}(e.configs,n,o);if(0===i.size)return at(t,e,n,w),w;let s=st(i);const a=function(t,e){let n;for(const r of t.elements)if(!0===e.is(r.alt))if(void 0===n)n=r.alt;else if(n!==r.alt)return;return n}(i,o);if(void 0!==a)s.isAcceptState=!0,s.prediction=a,s.configs.uniqueAlt=a;else if(function(t){if(function(t){for(const e of t.elements)if(e.state.type!==D)return!1;return!0}(t))return!0;const e=function(t){const e=new Map;for(const n of t){const t=L(n,!1);let r=e.get(t);void 0===r&&(r={},e.set(t,r)),r[n.alt]=!0}return e}(t.elements);return function(t){for(const e of Array.from(t.values()))if(Object.keys(e).length>1)return!0;return!1}(e)&&!function(t){for(const e of Array.from(t.values()))if(1===Object.keys(e).length)return!0;return!1}(e)}(i)){const e=U(i.alts);s.isAcceptState=!0,s.prediction=e,s.configs.uniqueAlt=e,ot.apply(this,[t,r,i.alts,u])}return s=at(t,e,n,s),s}function ot(t,e,n,u){const i=[];for(let r=1;r<=e;r++)i.push(this.LA(r).tokenType);const s=t.atnStartState;u(function(t){const e=(0,o.Z)(t.prefixPath,(t=>(0,r.l$)(t))).join(", "),n=0===t.production.idx?"":t.production.idx;let u=`Ambiguous Alternatives Detected: <${t.ambiguityIndices.join(", ")}> in <${function(t){if(t instanceof r.Sj)return"SUBRULE";if(t instanceof r.Wx)return"OPTION";if(t instanceof r.ue)return"OR";if(t instanceof r.ej)return"AT_LEAST_ONE";if(t instanceof r.fK)return"AT_LEAST_ONE_SEP";if(t instanceof r.pT)return"MANY_SEP";if(t instanceof r.hI)return"MANY";if(t instanceof r.oI)return"CONSUME";throw Error("non exhaustive match")}(t.production)}${n}> inside <${t.topLevelRule.name}> Rule,\n<${e}> may appears as a prefix path in all these alternatives.\n`;return u+="See: https://chevrotain.io/docs/guide/resolving_grammar_errors.html#AMBIGUOUS_ALTERNATIVES\nFor Further details.",u}({topLevelRule:s.rule,ambiguityIndices:n,production:s.production,prefixPath:i}))}function ut(t,e,n){const r=(0,$.Z)(e.configs.elements,(t=>t.state.transitions));return{actualToken:n,possibleTokenTypes:G(r.filter((t=>t instanceof g)).map((t=>t.tokenType)),(t=>t.tokenTypeIdx)),tokenPath:t}}function it(t,e){if(t instanceof g&&(0,r.ol)(e,t.tokenType))return t.target}function st(t){return{configs:t,edges:{},isAcceptState:!1,prediction:-1}}function at(t,e,n,r){return r=ct(t,r),e.edges[n.tokenTypeIdx]=r,r}function ct(t,e){if(e===w)return e;const n=e.configs.key,r=t.states[n];return void 0!==r?r:(e.configs.finalize(),t.states[n]=e,e)}function lt(t){const e=new B,n=t.transitions.length;for(let r=0;r0){const n=[...t.stack];Dt({state:n.pop(),alt:t.alt,stack:n},e)}else e.add(t);return}n.epsilonOnlyTransitions||e.add(t);const r=n.transitions.length;for(let o=0;o{"use strict";n.d(e,{ue:()=>_e,wd:()=>Ru,sd:()=>Vr,dV:()=>cu,hW:()=>wr,Sj:()=>ve,Wx:()=>Ae,hI:()=>xe,ej:()=>be,fK:()=>Te,pT:()=>Oe,oI:()=>ke,V3:()=>Kr,oC:()=>Co,bS:()=>Yo,l$:()=>Br,ol:()=>Yr});var r=n(1146),o=n(497);const u=function(t,e){return(0,o.Z)(e,(function(e){return t[e]}))};var i=n(4778);const s=function(t){return null==t?[]:u(t,(0,i.Z)(t))};var a=n(9955),c=n(407),l=Object.prototype.hasOwnProperty;const D=function(t,e){return null!=t&&l.call(t,e)};var f=n(5942);const h=function(t,e){return null!=t&&(0,f.Z)(t,e,D)};var d=n(2178),p=n(2020),F=n(5565);const E=function(){try{var t=(0,F.Z)(Object,"defineProperty");return t({},"",{}),t}catch(e){}}();const g=function(t,e,n){"__proto__"==e&&E?E(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n};var m=n(8916),v=Object.prototype.hasOwnProperty;const C=function(t,e,n){var r=t[e];v.call(t,e)&&(0,m.Z)(r,n)&&(void 0!==n||e in t)||g(t,e,n)};const y=function(t,e,n,r){var o=!n;n||(n={});for(var u=-1,i=e.length;++uo?0:o+e),(n=n>o?o:n)<0&&(n+=o),o=e>n?0:n-e>>>0,e>>>=0;for(var u=Array(o);++r0){if(++e>=800)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}(Qt);const ne=function(t,e){return ee(Xt(t,e,Ht.Z),t+"")};var re=n(2916);const oe=function(t,e,n){if(!(0,T.Z)(n))return!1;var r=typeof e;return!!("number"==r?(0,S.Z)(n)&&(0,re.Z)(e,n.length):"string"==r&&e in n)&&(0,m.Z)(n[e],t)};const ue=function(t){return ne((function(e,n){var r=-1,o=n.length,u=o>1?n[o-1]:void 0,i=o>2?n[2]:void 0;for(u=t.length>3&&"function"==typeof u?(o--,u):void 0,i&&oe(n[0],n[1],i)&&(u=o<3?void 0:u,o=1),e=Object(e);++r{e.accept(t)}))}}class ve extends me{constructor(t){super([]),this.idx=1,se(this,de(t,(t=>void 0!==t)))}set definition(t){}get definition(){return void 0!==this.referencedRule?this.referencedRule.definition:[]}accept(t){t.visit(this)}}class Ce extends me{constructor(t){super(t.definition),this.orgText="",se(this,de(t,(t=>void 0!==t)))}}class ye extends me{constructor(t){super(t.definition),this.ignoreAmbiguities=!1,se(this,de(t,(t=>void 0!==t)))}}class Ae extends me{constructor(t){super(t.definition),this.idx=1,se(this,de(t,(t=>void 0!==t)))}}class be extends me{constructor(t){super(t.definition),this.idx=1,se(this,de(t,(t=>void 0!==t)))}}class Te extends me{constructor(t){super(t.definition),this.idx=1,se(this,de(t,(t=>void 0!==t)))}}class xe extends me{constructor(t){super(t.definition),this.idx=1,se(this,de(t,(t=>void 0!==t)))}}class Oe extends me{constructor(t){super(t.definition),this.idx=1,se(this,de(t,(t=>void 0!==t)))}}class _e extends me{get definition(){return this._definition}set definition(t){this._definition=t}constructor(t){super(t.definition),this.idx=1,this.ignoreAmbiguities=!1,this.hasPredicates=!1,se(this,de(t,(t=>void 0!==t)))}}class ke{constructor(t){this.idx=1,se(this,de(t,(t=>void 0!==t)))}accept(t){t.visit(this)}}function Se(t){function e(t){return(0,c.Z)(t,Se)}if(t instanceof ve){const e={type:"NonTerminal",name:t.nonTerminalName,idx:t.idx};return Vt(t.label)&&(e.label=t.label),e}if(t instanceof ye)return{type:"Alternative",definition:e(t.definition)};if(t instanceof Ae)return{type:"Option",idx:t.idx,definition:e(t.definition)};if(t instanceof be)return{type:"RepetitionMandatory",idx:t.idx,definition:e(t.definition)};if(t instanceof Te)return{type:"RepetitionMandatoryWithSeparator",idx:t.idx,separator:Se(new ke({terminalType:t.separator})),definition:e(t.definition)};if(t instanceof Oe)return{type:"RepetitionWithSeparator",idx:t.idx,separator:Se(new ke({terminalType:t.separator})),definition:e(t.definition)};if(t instanceof xe)return{type:"Repetition",idx:t.idx,definition:e(t.definition)};if(t instanceof _e)return{type:"Alternation",idx:t.idx,definition:e(t.definition)};if(t instanceof ke){const e={type:"Terminal",name:t.terminalType.name,label:ge(t.terminalType),idx:t.idx};Vt(t.label)&&(e.terminalLabel=t.label);const n=t.terminalType.PATTERN;return t.terminalType.PATTERN&&(e.pattern=Ee(n)?n.source:n),e}if(t instanceof Ce)return{type:"Rule",name:t.name,orgText:t.orgText,definition:e(t.definition)};throw Error("non exhaustive match")}class Ie{walk(t,e=[]){(0,r.Z)(t.definition,((n,r)=>{const o=Gt(t.definition,r+1);if(n instanceof ve)this.walkProdRef(n,o,e);else if(n instanceof ke)this.walkTerminal(n,o,e);else if(n instanceof ye)this.walkFlat(n,o,e);else if(n instanceof Ae)this.walkOption(n,o,e);else if(n instanceof be)this.walkAtLeastOne(n,o,e);else if(n instanceof Te)this.walkAtLeastOneSep(n,o,e);else if(n instanceof Oe)this.walkManySep(n,o,e);else if(n instanceof xe)this.walkMany(n,o,e);else{if(!(n instanceof _e))throw Error("non exhaustive match");this.walkOr(n,o,e)}}))}walkTerminal(t,e,n){}walkProdRef(t,e,n){}walkFlat(t,e,n){const r=e.concat(n);this.walk(t,r)}walkOption(t,e,n){const r=e.concat(n);this.walk(t,r)}walkAtLeastOne(t,e,n){const r=[new Ae({definition:t.definition})].concat(e,n);this.walk(t,r)}walkAtLeastOneSep(t,e,n){const r=Ne(t,e,n);this.walk(t,r)}walkMany(t,e,n){const r=[new Ae({definition:t.definition})].concat(e,n);this.walk(t,r)}walkManySep(t,e,n){const r=Ne(t,e,n);this.walk(t,r)}walkOr(t,e,n){const o=e.concat(n);(0,r.Z)(t.definition,(t=>{const e=new ye({definition:[t]});this.walk(e,o)}))}}function Ne(t,e,n){return[new Ae({definition:[new ke({terminalType:t.separator})].concat(t.definition)})].concat(e,n)}var Re=n(7650);const we=function(t){return t&&t.length?(0,Re.Z)(t):[]};var Be=n(4605),Le=n(766),Pe=n(2688);const Ze=function(t,e){var n;return(0,Pe.Z)(t,(function(t,r,o){return!(n=e(t,r,o))})),!!n};const Me=function(t,e,n){var r=(0,ht.Z)(t)?Le.Z:Ze;return n&&oe(t,e,n)&&(e=void 0),r(t,(0,ae.Z)(e,3))};var je=n(7162),Ue=Math.max;const $e=function(t,e,n,r){t=(0,S.Z)(t)?t:s(t),n=n&&!r?zt(n):0;var o=t.length;return n<0&&(n=Ue(o+n,0)),Vt(t)?n<=o&&t.indexOf(e,n)>-1:!!o&&(0,je.Z)(t,e,n)>-1};const We=function(t,e){for(var n=-1,r=null==t?0:t.length;++nKe(t,e))):!(t instanceof ve&&$e(e,t))&&(t instanceof me&&(t instanceof ve&&e.push(t),Ge(t.definition,(t=>Ke(t,e))))))}function Ve(t){if(t instanceof ve)return"SUBRULE";if(t instanceof Ae)return"OPTION";if(t instanceof _e)return"OR";if(t instanceof be)return"AT_LEAST_ONE";if(t instanceof Te)return"AT_LEAST_ONE_SEP";if(t instanceof Oe)return"MANY_SEP";if(t instanceof xe)return"MANY";if(t instanceof ke)return"CONSUME";throw Error("non exhaustive match")}function He(t){if(t instanceof ve)return He(t.referencedRule);if(t instanceof ke)return[t.terminalType];if(function(t){return t instanceof ye||t instanceof Ae||t instanceof xe||t instanceof be||t instanceof Te||t instanceof Oe||t instanceof ke||t instanceof Ce}(t))return function(t){let e=[];const n=t.definition;let r,o=0,u=n.length>o,i=!0;for(;u&&i;)r=n[o],i=Ke(r),e=e.concat(He(r)),o+=1,u=n.length>o;return we(e)}(t);if(function(t){return t instanceof _e}(t))return function(t){const e=(0,c.Z)(t.definition,(t=>He(t)));return we((0,Be.Z)(e))}(t);throw Error("non exhaustive match")}const Ye="_~IN~_";class qe extends Ie{constructor(t){super(),this.topProd=t,this.follows={}}startWalking(){return this.walk(this.topProd),this.follows}walkTerminal(t,e,n){}walkProdRef(t,e,n){const r=(o=t.referencedRule,u=t.idx,o.name+u+Ye+this.topProd.name);var o,u;const i=e.concat(n),s=He(new ye({definition:i}));this.follows[r]=s}}const Xe=function(t){return void 0===t};function Je(t){return t.charCodeAt(0)}function Qe(t,e){Array.isArray(t)?t.forEach((function(t){e.push(t)})):e.push(t)}function tn(t,e){if(!0===t[e])throw"duplicate flag "+e;t[e];t[e]=!0}function en(t){if(void 0===t)throw Error("Internal Error - Should never get here!");return!0}function nn(){throw Error("Internal Error - Should never get here!")}function rn(t){return"Character"===t.type}const on=[];for(let wu=Je("0");wu<=Je("9");wu++)on.push(wu);const un=[Je("_")].concat(on);for(let wu=Je("a");wu<=Je("z");wu++)un.push(wu);for(let wu=Je("A");wu<=Je("Z");wu++)un.push(wu);const sn=[Je(" "),Je("\f"),Je("\n"),Je("\r"),Je("\t"),Je("\v"),Je("\t"),Je("\xa0"),Je("\u1680"),Je("\u2000"),Je("\u2001"),Je("\u2002"),Je("\u2003"),Je("\u2004"),Je("\u2005"),Je("\u2006"),Je("\u2007"),Je("\u2008"),Je("\u2009"),Je("\u200a"),Je("\u2028"),Je("\u2029"),Je("\u202f"),Je("\u205f"),Je("\u3000"),Je("\ufeff")],an=/[0-9a-fA-F]/,cn=/[0-9]/,ln=/[1-9]/;class Dn{visitChildren(t){for(const e in t){const n=t[e];t.hasOwnProperty(e)&&(void 0!==n.type?this.visit(n):Array.isArray(n)&&n.forEach((t=>{this.visit(t)}),this))}}visit(t){switch(t.type){case"Pattern":this.visitPattern(t);break;case"Flags":this.visitFlags(t);break;case"Disjunction":this.visitDisjunction(t);break;case"Alternative":this.visitAlternative(t);break;case"StartAnchor":this.visitStartAnchor(t);break;case"EndAnchor":this.visitEndAnchor(t);break;case"WordBoundary":this.visitWordBoundary(t);break;case"NonWordBoundary":this.visitNonWordBoundary(t);break;case"Lookahead":this.visitLookahead(t);break;case"NegativeLookahead":this.visitNegativeLookahead(t);break;case"Character":this.visitCharacter(t);break;case"Set":this.visitSet(t);break;case"Group":this.visitGroup(t);break;case"GroupBackReference":this.visitGroupBackReference(t);break;case"Quantifier":this.visitQuantifier(t)}this.visitChildren(t)}visitPattern(t){}visitFlags(t){}visitDisjunction(t){}visitAlternative(t){}visitStartAnchor(t){}visitEndAnchor(t){}visitWordBoundary(t){}visitNonWordBoundary(t){}visitLookahead(t){}visitNegativeLookahead(t){}visitCharacter(t){}visitSet(t){}visitGroup(t){}visitGroupBackReference(t){}visitQuantifier(t){}}var fn=Object.prototype,hn=fn.hasOwnProperty;const dn=ne((function(t,e){t=Object(t);var n=-1,r=e.length,o=r>2?e[2]:void 0;for(o&&oe(e[0],e[1],o)&&(r=1);++n=200&&(i=On.Z,s=!1,e=new bn.Z(e));t:for(;++u-1?o[u?e[s]:s]:void 0}};var Ln=n(8953),Pn=Math.max;const Zn=Bn((function(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var o=null==n?0:zt(n);return o<0&&(o=Pn(r+o,0)),(0,Ln.Z)(t,(0,ae.Z)(e,3),o)}));function Mn(t){console&&console.error&&console.error(`Error: ${t}`)}function jn(t){console&&console.warn&&console.warn(`Warning: ${t}`)}let Un={};const $n=new class{constructor(){this.idx=0,this.input="",this.groupIdx=0}saveState(){return{idx:this.idx,input:this.input,groupIdx:this.groupIdx}}restoreState(t){this.idx=t.idx,this.input=t.input,this.groupIdx=t.groupIdx}pattern(t){this.idx=0,this.input=t,this.groupIdx=0,this.consumeChar("/");const e=this.disjunction();this.consumeChar("/");const n={type:"Flags",loc:{begin:this.idx,end:t.length},global:!1,ignoreCase:!1,multiLine:!1,unicode:!1,sticky:!1};for(;this.isRegExpFlag();)switch(this.popChar()){case"g":tn(n,"global");break;case"i":tn(n,"ignoreCase");break;case"m":tn(n,"multiLine");break;case"u":tn(n,"unicode");break;case"y":tn(n,"sticky")}if(this.idx!==this.input.length)throw Error("Redundant input: "+this.input.substring(this.idx));return{type:"Pattern",flags:n,value:e,loc:this.loc(0)}}disjunction(){const t=[],e=this.idx;for(t.push(this.alternative());"|"===this.peekChar();)this.consumeChar("|"),t.push(this.alternative());return{type:"Disjunction",value:t,loc:this.loc(e)}}alternative(){const t=[],e=this.idx;for(;this.isTerm();)t.push(this.term());return{type:"Alternative",value:t,loc:this.loc(e)}}term(){return this.isAssertion()?this.assertion():this.atom()}assertion(){const t=this.idx;switch(this.popChar()){case"^":return{type:"StartAnchor",loc:this.loc(t)};case"$":return{type:"EndAnchor",loc:this.loc(t)};case"\\":switch(this.popChar()){case"b":return{type:"WordBoundary",loc:this.loc(t)};case"B":return{type:"NonWordBoundary",loc:this.loc(t)}}throw Error("Invalid Assertion Escape");case"(":let e;switch(this.consumeChar("?"),this.popChar()){case"=":e="Lookahead";break;case"!":e="NegativeLookahead"}en(e);const n=this.disjunction();return this.consumeChar(")"),{type:e,value:n,loc:this.loc(t)}}return nn()}quantifier(t=!1){let e;const n=this.idx;switch(this.popChar()){case"*":e={atLeast:0,atMost:1/0};break;case"+":e={atLeast:1,atMost:1/0};break;case"?":e={atLeast:0,atMost:1};break;case"{":const n=this.integerIncludingZero();switch(this.popChar()){case"}":e={atLeast:n,atMost:n};break;case",":let t;this.isDigit()?(t=this.integerIncludingZero(),e={atLeast:n,atMost:t}):e={atLeast:n,atMost:1/0},this.consumeChar("}")}if(!0===t&&void 0===e)return;en(e)}if(!0!==t||void 0!==e)return en(e)?("?"===this.peekChar(0)?(this.consumeChar("?"),e.greedy=!1):e.greedy=!0,e.type="Quantifier",e.loc=this.loc(n),e):void 0}atom(){let t;const e=this.idx;switch(this.peekChar()){case".":t=this.dotAll();break;case"\\":t=this.atomEscape();break;case"[":t=this.characterClass();break;case"(":t=this.group()}return void 0===t&&this.isPatternCharacter()&&(t=this.patternCharacter()),en(t)?(t.loc=this.loc(e),this.isQuantifier()&&(t.quantifier=this.quantifier()),t):nn()}dotAll(){return this.consumeChar("."),{type:"Set",complement:!0,value:[Je("\n"),Je("\r"),Je("\u2028"),Je("\u2029")]}}atomEscape(){switch(this.consumeChar("\\"),this.peekChar()){case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":return this.decimalEscapeAtom();case"d":case"D":case"s":case"S":case"w":case"W":return this.characterClassEscape();case"f":case"n":case"r":case"t":case"v":return this.controlEscapeAtom();case"c":return this.controlLetterEscapeAtom();case"0":return this.nulCharacterAtom();case"x":return this.hexEscapeSequenceAtom();case"u":return this.regExpUnicodeEscapeSequenceAtom();default:return this.identityEscapeAtom()}}decimalEscapeAtom(){return{type:"GroupBackReference",value:this.positiveInteger()}}characterClassEscape(){let t,e=!1;switch(this.popChar()){case"d":t=on;break;case"D":t=on,e=!0;break;case"s":t=sn;break;case"S":t=sn,e=!0;break;case"w":t=un;break;case"W":t=un,e=!0}return en(t)?{type:"Set",value:t,complement:e}:nn()}controlEscapeAtom(){let t;switch(this.popChar()){case"f":t=Je("\f");break;case"n":t=Je("\n");break;case"r":t=Je("\r");break;case"t":t=Je("\t");break;case"v":t=Je("\v")}return en(t)?{type:"Character",value:t}:nn()}controlLetterEscapeAtom(){this.consumeChar("c");const t=this.popChar();if(!1===/[a-zA-Z]/.test(t))throw Error("Invalid ");return{type:"Character",value:t.toUpperCase().charCodeAt(0)-64}}nulCharacterAtom(){return this.consumeChar("0"),{type:"Character",value:Je("\0")}}hexEscapeSequenceAtom(){return this.consumeChar("x"),this.parseHexDigits(2)}regExpUnicodeEscapeSequenceAtom(){return this.consumeChar("u"),this.parseHexDigits(4)}identityEscapeAtom(){return{type:"Character",value:Je(this.popChar())}}classPatternCharacterAtom(){switch(this.peekChar()){case"\n":case"\r":case"\u2028":case"\u2029":case"\\":case"]":throw Error("TBD");default:return{type:"Character",value:Je(this.popChar())}}}characterClass(){const t=[];let e=!1;for(this.consumeChar("["),"^"===this.peekChar(0)&&(this.consumeChar("^"),e=!0);this.isClassAtom();){const e=this.classAtom();e.type;if(rn(e)&&this.isRangeDash()){this.consumeChar("-");const n=this.classAtom();n.type;if(rn(n)){if(n.value=this.input.length)throw Error("Unexpected end of input");this.idx++}loc(t){return{begin:t,end:this.idx}}};function Wn(t){const e=t.toString();if(Un.hasOwnProperty(e))return Un[e];{const t=$n.pattern(e);return Un[e]=t,t}}const zn="Complement Sets are not supported for first char optimization",Gn='Unable to use "first char" lexer optimizations:\n';function Kn(t,e=!1){try{const e=Wn(t);return Vn(e.value,{},e.flags.ignoreCase)}catch(n){if(n.message===zn)e&&jn(`${Gn}\tUnable to optimize: < ${t.toString()} >\n\tComplement Sets cannot be automatically optimized.\n\tThis will disable the lexer's first char optimizations.\n\tSee: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#COMPLEMENT for details.`);else{let n="";e&&(n="\n\tThis will disable the lexer's first char optimizations.\n\tSee: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#REGEXP_PARSING for details."),Mn(`${Gn}\n\tFailed parsing: < ${t.toString()} >\n\tUsing the @chevrotain/regexp-to-ast library\n\tPlease open an issue at: https://github.com/chevrotain/chevrotain/issues`+n)}}return[]}function Vn(t,e,n){switch(t.type){case"Disjunction":for(let r=0;r{if("number"==typeof t)Hn(t,e,n);else{const r=t;if(!0===n)for(let t=r.from;t<=r.to;t++)Hn(t,e,n);else{for(let t=r.from;t<=r.to&&t=Fr){const t=r.from>=Fr?r.from:Fr,n=r.to,o=gr(t),u=gr(n);for(let r=o;r<=u;r++)e[r]=r}}}}));break;case"Group":Vn(i.value,e,n);break;default:throw Error("Non Exhaustive Match")}const s=void 0!==i.quantifier&&0===i.quantifier.atLeast;if("Group"===i.type&&!1===qn(i)||"Group"!==i.type&&!1===s)break}break;default:throw Error("non exhaustive match!")}return s(e)}function Hn(t,e,n){const r=gr(t);e[r]=r,!0===n&&function(t,e){const n=String.fromCharCode(t),r=n.toUpperCase();if(r!==n){const t=gr(r.charCodeAt(0));e[t]=t}else{const t=n.toLowerCase();if(t!==n){const n=gr(t.charCodeAt(0));e[n]=n}}}(t,e)}function Yn(t,e){return Zn(t.value,(t=>{if("number"==typeof t)return $e(e,t);{const n=t;return void 0!==Zn(e,(t=>n.from<=t&&t<=n.to))}}))}function qn(t){const e=t.quantifier;return!(!e||0!==e.atLeast)||!!t.value&&((0,ht.Z)(t.value)?Ge(t.value,qn):qn(t.value))}class Xn extends Dn{constructor(t){super(),this.targetCharCodes=t,this.found=!1}visitChildren(t){if(!0!==this.found){switch(t.type){case"Lookahead":return void this.visitLookahead(t);case"NegativeLookahead":return void this.visitNegativeLookahead(t)}super.visitChildren(t)}}visitCharacter(t){$e(this.targetCharCodes,t.value)&&(this.found=!0)}visitSet(t){t.complement?void 0===Yn(t,this.targetCharCodes)&&(this.found=!0):void 0!==Yn(t,this.targetCharCodes)&&(this.found=!0)}}function Jn(t,e){if(e instanceof RegExp){const n=Wn(e),r=new Xn(t);return r.visit(n),r.found}return void 0!==Zn(e,(e=>$e(t,e.charCodeAt(0))))}const Qn="PATTERN",tr="defaultMode",er="modes";let nr="boolean"==typeof new RegExp("(?:)").sticky;function rr(t,e){const n=(e=dn(e,{useSticky:nr,debug:!1,safeMode:!1,positionTracking:"full",lineTerminatorCharacters:["\r","\n"],tracer:(t,e)=>e()})).tracer;let o;n("initCharCodeToOptimizedIndexMap",(()=>{!function(){if((0,a.Z)(Er)){Er=new Array(65536);for(let t=0;t<65536;t++)Er[t]=t>255?255+~~(t/255):t}}()})),n("Reject Lexer.NA",(()=>{o=gn(t,(t=>t[Qn]===wr.NA))}));let u,i,s,l,D,f,d,p,F,E,g,m=!1;n("Transform Patterns",(()=>{m=!1,u=(0,c.Z)(o,(t=>{const n=t[Qn];if(Ee(n)){const t=n.source;return 1!==t.length||"^"===t||"$"===t||"."===t||n.ignoreCase?2!==t.length||"\\"!==t[0]||$e(["d","D","s","S","t","r","n","t","0","c","b","B","f","v","w","W"],t[1])?e.useSticky?ar(n):sr(n):t[1]:t}if((0,mn.Z)(n))return m=!0,{exec:n};if("object"==typeof n)return m=!0,n;if("string"==typeof n){if(1===n.length)return n;{const t=n.replace(/[\\^$.*+?()[\]{}|]/g,"\\$&"),r=new RegExp(t);return e.useSticky?ar(r):sr(r)}}throw Error("non exhaustive match")}))})),n("misc mapping",(()=>{i=(0,c.Z)(o,(t=>t.tokenTypeIdx)),s=(0,c.Z)(o,(t=>{const e=t.GROUP;if(e!==wr.SKIPPED){if(Vt(e))return e;if(Xe(e))return!1;throw Error("non exhaustive match")}})),l=(0,c.Z)(o,(t=>{const e=t.LONGER_ALT;if(e){return(0,ht.Z)(e)?(0,c.Z)(e,(t=>Cn(o,t))):[Cn(o,e)]}})),D=(0,c.Z)(o,(t=>t.PUSH_MODE)),f=(0,c.Z)(o,(t=>h(t,"POP_MODE")))})),n("Line Terminator Handling",(()=>{const t=dr(e.lineTerminatorCharacters);d=(0,c.Z)(o,(t=>!1)),"onlyOffset"!==e.positionTracking&&(d=(0,c.Z)(o,(e=>h(e,"LINE_BREAKS")?!!e.LINE_BREAKS:!1===hr(e,t)&&Jn(t,e.PATTERN))))})),n("Misc Mapping #2",(()=>{p=(0,c.Z)(o,lr),F=(0,c.Z)(u,Dr),E=(0,yn.Z)(o,((t,e)=>{const n=e.GROUP;return Vt(n)&&n!==wr.SKIPPED&&(t[n]=[]),t}),{}),g=(0,c.Z)(u,((t,e)=>({pattern:u[e],longerAlt:l[e],canLineTerminator:d[e],isCustom:p[e],short:F[e],group:s[e],push:D[e],pop:f[e],tokenTypeIdx:i[e],tokenType:o[e]})))}));let v=!0,C=[];return e.safeMode||n("First Char Optimization",(()=>{C=(0,yn.Z)(o,((t,n,o)=>{if("string"==typeof n.PATTERN){const e=gr(n.PATTERN.charCodeAt(0));pr(t,e,g[o])}else if((0,ht.Z)(n.START_CHARS_HINT)){let e;(0,r.Z)(n.START_CHARS_HINT,(n=>{const r=gr("string"==typeof n?n.charCodeAt(0):n);e!==r&&(e=r,pr(t,r,g[o]))}))}else if(Ee(n.PATTERN))if(n.PATTERN.unicode)v=!1,e.ensureOptimizations&&Mn(`${Gn}\tUnable to analyze < ${n.PATTERN.toString()} > pattern.\n\tThe regexp unicode flag is not currently supported by the regexp-to-ast library.\n\tThis will disable the lexer's first char optimizations.\n\tFor details See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#UNICODE_OPTIMIZE`);else{const u=Kn(n.PATTERN,e.ensureOptimizations);(0,a.Z)(u)&&(v=!1),(0,r.Z)(u,(e=>{pr(t,e,g[o])}))}else e.ensureOptimizations&&Mn(`${Gn}\tTokenType: <${n.name}> is using a custom token pattern without providing parameter.\n\tThis will disable the lexer's first char optimizations.\n\tFor details See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#CUSTOM_OPTIMIZE`),v=!1;return t}),[])})),{emptyGroups:E,patternIdxToConfig:g,charCodeToPatternIdxToConfig:C,hasCustom:m,canBeOptimized:v}}function or(t,e){let n=[];const o=function(t){const e=(0,An.Z)(t,(t=>!h(t,Qn))),n=(0,c.Z)(e,(t=>({message:"Token Type: ->"+t.name+"<- missing static 'PATTERN' property",type:Nr.MISSING_PATTERN,tokenTypes:[t]}))),r=Nn(t,e);return{errors:n,valid:r}}(t);n=n.concat(o.errors);const u=function(t){const e=(0,An.Z)(t,(t=>{const e=t[Qn];return!(Ee(e)||(0,mn.Z)(e)||h(e,"exec")||Vt(e))})),n=(0,c.Z)(e,(t=>({message:"Token Type: ->"+t.name+"<- static 'PATTERN' can only be a RegExp, a Function matching the {CustomPatternMatcherFunc} type or an Object matching the {ICustomPattern} interface.",type:Nr.INVALID_PATTERN,tokenTypes:[t]}))),r=Nn(t,e);return{errors:n,valid:r}}(o.valid),i=u.valid;return n=n.concat(u.errors),n=n.concat(function(t){let e=[];const n=(0,An.Z)(t,(t=>Ee(t[Qn])));return e=e.concat(function(t){class e extends Dn{constructor(){super(...arguments),this.found=!1}visitEndAnchor(t){this.found=!0}}const n=(0,An.Z)(t,(t=>{const n=t.PATTERN;try{const t=Wn(n),r=new e;return r.visit(t),r.found}catch(r){return ur.test(n.source)}})),r=(0,c.Z)(n,(t=>({message:"Unexpected RegExp Anchor Error:\n\tToken Type: ->"+t.name+"<- static 'PATTERN' cannot contain end of input anchor '$'\n\tSee chevrotain.io/docs/guide/resolving_lexer_errors.html#ANCHORS\tfor details.",type:Nr.EOI_ANCHOR_FOUND,tokenTypes:[t]})));return r}(n)),e=e.concat(function(t){class e extends Dn{constructor(){super(...arguments),this.found=!1}visitStartAnchor(t){this.found=!0}}const n=(0,An.Z)(t,(t=>{const n=t.PATTERN;try{const t=Wn(n),r=new e;return r.visit(t),r.found}catch(r){return ir.test(n.source)}})),r=(0,c.Z)(n,(t=>({message:"Unexpected RegExp Anchor Error:\n\tToken Type: ->"+t.name+"<- static 'PATTERN' cannot contain start of input anchor '^'\n\tSee https://chevrotain.io/docs/guide/resolving_lexer_errors.html#ANCHORS\tfor details.",type:Nr.SOI_ANCHOR_FOUND,tokenTypes:[t]})));return r}(n)),e=e.concat(function(t){const e=(0,An.Z)(t,(t=>{const e=t[Qn];return e instanceof RegExp&&(e.multiline||e.global)})),n=(0,c.Z)(e,(t=>({message:"Token Type: ->"+t.name+"<- static 'PATTERN' may NOT contain global('g') or multiline('m')",type:Nr.UNSUPPORTED_FLAGS_FOUND,tokenTypes:[t]})));return n}(n)),e=e.concat(function(t){const e=[];let n=(0,c.Z)(t,(n=>(0,yn.Z)(t,((t,r)=>(n.PATTERN.source!==r.PATTERN.source||$e(e,r)||r.PATTERN===wr.NA||(e.push(r),t.push(r)),t)),[])));n=Rn(n);const r=(0,An.Z)(n,(t=>t.length>1)),o=(0,c.Z)(r,(t=>{const e=(0,c.Z)(t,(t=>t.name));return{message:`The same RegExp pattern ->${wn(t).PATTERN}<-has been used in all of the following Token Types: ${e.join(", ")} <-`,type:Nr.DUPLICATE_PATTERNS_FOUND,tokenTypes:t}}));return o}(n)),e=e.concat(function(t){const e=(0,An.Z)(t,(t=>t.PATTERN.test(""))),n=(0,c.Z)(e,(t=>({message:"Token Type: ->"+t.name+"<- static 'PATTERN' must not match an empty string",type:Nr.EMPTY_MATCH_PATTERN,tokenTypes:[t]})));return n}(n)),e}(i)),n=n.concat(function(t){const e=(0,An.Z)(t,(t=>{if(!h(t,"GROUP"))return!1;const e=t.GROUP;return e!==wr.SKIPPED&&e!==wr.NA&&!Vt(e)})),n=(0,c.Z)(e,(t=>({message:"Token Type: ->"+t.name+"<- static 'GROUP' can only be Lexer.SKIPPED/Lexer.NA/A String",type:Nr.INVALID_GROUP_TYPE_FOUND,tokenTypes:[t]})));return n}(i)),n=n.concat(function(t,e){const n=(0,An.Z)(t,(t=>void 0!==t.PUSH_MODE&&!$e(e,t.PUSH_MODE))),r=(0,c.Z)(n,(t=>({message:`Token Type: ->${t.name}<- static 'PUSH_MODE' value cannot refer to a Lexer Mode ->${t.PUSH_MODE}<-which does not exist`,type:Nr.PUSH_MODE_DOES_NOT_EXIST,tokenTypes:[t]})));return r}(i,e)),n=n.concat(function(t){const e=[],n=(0,yn.Z)(t,((t,e,n)=>{const r=e.PATTERN;return r===wr.NA||(Vt(r)?t.push({str:r,idx:n,tokenType:e}):Ee(r)&&(o=r,void 0===Zn([".","\\","[","]","|","^","$","(",")","?","*","+","{"],(t=>-1!==o.source.indexOf(t))))&&t.push({str:r.source,idx:n,tokenType:e})),t;var o}),[]);return(0,r.Z)(t,((t,o)=>{(0,r.Z)(n,(({str:n,idx:r,tokenType:u})=>{if(o${u.name}<- can never be matched.\nBecause it appears AFTER the Token Type ->${t.name}<-in the lexer's definition.\nSee https://chevrotain.io/docs/guide/resolving_lexer_errors.html#UNREACHABLE`;e.push({message:n,type:Nr.UNREACHABLE_PATTERN,tokenTypes:[t,u]})}}))})),e}(i)),n}const ur=/[^\\][$]/;const ir=/[^\\[][\^]|^\^/;function sr(t){const e=t.ignoreCase?"i":"";return new RegExp(`^(?:${t.source})`,e)}function ar(t){const e=t.ignoreCase?"iy":"y";return new RegExp(`${t.source}`,e)}function cr(t,e,n){const o=[];let u=!1;const i=Rn((0,Be.Z)(s(t.modes))),a=gn(i,(t=>t[Qn]===wr.NA)),c=dr(n);return e&&(0,r.Z)(a,(t=>{const e=hr(t,c);if(!1!==e){const n=function(t,e){if(e.issue===Nr.IDENTIFY_TERMINATOR)return`Warning: unable to identify line terminator usage in pattern.\n\tThe problem is in the <${t.name}> Token Type\n\t Root cause: ${e.errMsg}.\n\tFor details See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#IDENTIFY_TERMINATOR`;if(e.issue===Nr.CUSTOM_LINE_BREAK)return`Warning: A Custom Token Pattern should specify the option.\n\tThe problem is in the <${t.name}> Token Type\n\tFor details See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#CUSTOM_LINE_BREAK`;throw Error("non exhaustive match")}(t,e),r={message:n,type:e.issue,tokenType:t};o.push(r)}else h(t,"LINE_BREAKS")?!0===t.LINE_BREAKS&&(u=!0):Jn(c,t.PATTERN)&&(u=!0)})),e&&!u&&o.push({message:"Warning: No LINE_BREAKS Found.\n\tThis Lexer has been defined to track line and column information,\n\tBut none of the Token Types can be identified as matching a line terminator.\n\tSee https://chevrotain.io/docs/guide/resolving_lexer_errors.html#LINE_BREAKS \n\tfor details.",type:Nr.NO_LINE_BREAKS_FLAGS}),o}function lr(t){const e=t.PATTERN;if(Ee(e))return!1;if((0,mn.Z)(e))return!0;if(h(e,"exec"))return!0;if(Vt(e))return!1;throw Error("non exhaustive match")}function Dr(t){return!(!Vt(t)||1!==t.length)&&t.charCodeAt(0)}const fr={test:function(t){const e=t.length;for(let n=this.lastIndex;nVt(t)?t.charCodeAt(0):t))}function pr(t,e,n){void 0===t[e]?t[e]=[n]:t[e].push(n)}const Fr=256;let Er=[];function gr(t){return tt.CATEGORIES))));const t=Nn(n,e);e=e.concat(t),(0,a.Z)(t)?r=!1:n=t}return e}(t);!function(t){(0,r.Z)(t,(t=>{_r(t)||(Tr[br]=t,t.tokenTypeIdx=br++),kr(t)&&!(0,ht.Z)(t.CATEGORIES)&&(t.CATEGORIES=[t.CATEGORIES]),kr(t)||(t.CATEGORIES=[]),h(t,"categoryMatches")||(t.categoryMatches=[]),function(t){return h(t,"categoryMatchesMap")}(t)||(t.categoryMatchesMap={})}))}(e),function(t){(0,r.Z)(t,(t=>{Or([],t)}))}(e),function(t){(0,r.Z)(t,(t=>{t.categoryMatches=[],(0,r.Z)(t.categoryMatchesMap,((e,n)=>{t.categoryMatches.push(Tr[n].tokenTypeIdx)}))}))}(e),(0,r.Z)(e,(t=>{t.isParent=t.categoryMatches.length>0}))}function Or(t,e){(0,r.Z)(t,(t=>{e.categoryMatchesMap[t.tokenTypeIdx]=!0})),(0,r.Z)(e.CATEGORIES,(n=>{const r=t.concat(e);$e(r,n)||Or(r,n)}))}function _r(t){return h(t,"tokenTypeIdx")}function kr(t){return h(t,"CATEGORIES")}function Sr(t){return h(t,"tokenTypeIdx")}const Ir={buildUnableToPopLexerModeMessage:t=>`Unable to pop Lexer Mode after encountering Token ->${t.image}<- The Mode Stack is empty`,buildUnexpectedCharactersMessage:(t,e,n,r,o)=>`unexpected character: ->${t.charAt(e)}<- at offset: ${e}, skipped ${n} characters.`};var Nr;!function(t){t[t.MISSING_PATTERN=0]="MISSING_PATTERN",t[t.INVALID_PATTERN=1]="INVALID_PATTERN",t[t.EOI_ANCHOR_FOUND=2]="EOI_ANCHOR_FOUND",t[t.UNSUPPORTED_FLAGS_FOUND=3]="UNSUPPORTED_FLAGS_FOUND",t[t.DUPLICATE_PATTERNS_FOUND=4]="DUPLICATE_PATTERNS_FOUND",t[t.INVALID_GROUP_TYPE_FOUND=5]="INVALID_GROUP_TYPE_FOUND",t[t.PUSH_MODE_DOES_NOT_EXIST=6]="PUSH_MODE_DOES_NOT_EXIST",t[t.MULTI_MODE_LEXER_WITHOUT_DEFAULT_MODE=7]="MULTI_MODE_LEXER_WITHOUT_DEFAULT_MODE",t[t.MULTI_MODE_LEXER_WITHOUT_MODES_PROPERTY=8]="MULTI_MODE_LEXER_WITHOUT_MODES_PROPERTY",t[t.MULTI_MODE_LEXER_DEFAULT_MODE_VALUE_DOES_NOT_EXIST=9]="MULTI_MODE_LEXER_DEFAULT_MODE_VALUE_DOES_NOT_EXIST",t[t.LEXER_DEFINITION_CANNOT_CONTAIN_UNDEFINED=10]="LEXER_DEFINITION_CANNOT_CONTAIN_UNDEFINED",t[t.SOI_ANCHOR_FOUND=11]="SOI_ANCHOR_FOUND",t[t.EMPTY_MATCH_PATTERN=12]="EMPTY_MATCH_PATTERN",t[t.NO_LINE_BREAKS_FLAGS=13]="NO_LINE_BREAKS_FLAGS",t[t.UNREACHABLE_PATTERN=14]="UNREACHABLE_PATTERN",t[t.IDENTIFY_TERMINATOR=15]="IDENTIFY_TERMINATOR",t[t.CUSTOM_LINE_BREAK=16]="CUSTOM_LINE_BREAK",t[t.MULTI_MODE_LEXER_LONGER_ALT_NOT_IN_CURRENT_MODE=17]="MULTI_MODE_LEXER_LONGER_ALT_NOT_IN_CURRENT_MODE"}(Nr||(Nr={}));const Rr={deferDefinitionErrorsHandling:!1,positionTracking:"full",lineTerminatorsPattern:/\n|\r\n?/g,lineTerminatorCharacters:["\n","\r"],ensureOptimizations:!1,safeMode:!1,errorMessageProvider:Ir,traceInitPerf:!1,skipValidations:!1,recoveryEnabled:!0};Object.freeze(Rr);class wr{constructor(t,e=Rr){if(this.lexerDefinition=t,this.lexerDefinitionErrors=[],this.lexerDefinitionWarning=[],this.patternIdxToConfig={},this.charCodeToPatternIdxToConfig={},this.modes=[],this.emptyGroups={},this.trackStartLines=!0,this.trackEndLines=!0,this.hasCustom=!1,this.canModeBeOptimized={},this.TRACE_INIT=(t,e)=>{if(!0===this.traceInitPerf){this.traceInitIndent++;const n=new Array(this.traceInitIndent+1).join("\t");this.traceInitIndent`);const{time:r,value:o}=Cr(e),u=r>10?console.warn:console.log;return this.traceInitIndent time: ${r}ms`),this.traceInitIndent--,o}return e()},"boolean"==typeof e)throw Error("The second argument to the Lexer constructor is now an ILexerConfig Object.\na boolean 2nd argument is no longer supported");this.config=se({},Rr,e);const n=this.config.traceInitPerf;!0===n?(this.traceInitMaxIdent=1/0,this.traceInitPerf=!0):"number"==typeof n&&(this.traceInitMaxIdent=n,this.traceInitPerf=!0),this.traceInitIndent=-1,this.TRACE_INIT("Lexer Constructor",(()=>{let n,o=!0;this.TRACE_INIT("Lexer Config handling",(()=>{if(this.config.lineTerminatorsPattern===Rr.lineTerminatorsPattern)this.config.lineTerminatorsPattern=fr;else if(this.config.lineTerminatorCharacters===Rr.lineTerminatorCharacters)throw Error("Error: Missing property on the Lexer config.\n\tFor details See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#MISSING_LINE_TERM_CHARS");if(e.safeMode&&e.ensureOptimizations)throw Error('"safeMode" and "ensureOptimizations" flags are mutually exclusive.');this.trackStartLines=/full|onlyStart/i.test(this.config.positionTracking),this.trackEndLines=/full/i.test(this.config.positionTracking),(0,ht.Z)(t)?n={modes:{defaultMode:kt(t)},defaultMode:tr}:(o=!1,n=kt(t))})),!1===this.config.skipValidations&&(this.TRACE_INIT("performRuntimeChecks",(()=>{this.lexerDefinitionErrors=this.lexerDefinitionErrors.concat(function(t,e,n){const o=[];return h(t,tr)||o.push({message:"A MultiMode Lexer cannot be initialized without a <"+tr+"> property in its definition\n",type:Nr.MULTI_MODE_LEXER_WITHOUT_DEFAULT_MODE}),h(t,er)||o.push({message:"A MultiMode Lexer cannot be initialized without a property in its definition\n",type:Nr.MULTI_MODE_LEXER_WITHOUT_MODES_PROPERTY}),h(t,er)&&h(t,tr)&&!h(t.modes,t.defaultMode)&&o.push({message:`A MultiMode Lexer cannot be initialized with a ${tr}: <${t.defaultMode}>which does not exist\n`,type:Nr.MULTI_MODE_LEXER_DEFAULT_MODE_VALUE_DOES_NOT_EXIST}),h(t,er)&&(0,r.Z)(t.modes,((t,e)=>{(0,r.Z)(t,((n,u)=>{if(Xe(n))o.push({message:`A Lexer cannot be initialized using an undefined Token Type. Mode:<${e}> at index: <${u}>\n`,type:Nr.LEXER_DEFINITION_CANNOT_CONTAIN_UNDEFINED});else if(h(n,"LONGER_ALT")){const u=(0,ht.Z)(n.LONGER_ALT)?n.LONGER_ALT:[n.LONGER_ALT];(0,r.Z)(u,(r=>{Xe(r)||$e(t,r)||o.push({message:`A MultiMode Lexer cannot be initialized with a longer_alt <${r.name}> on token <${n.name}> outside of mode <${e}>\n`,type:Nr.MULTI_MODE_LEXER_LONGER_ALT_NOT_IN_CURRENT_MODE})}))}}))})),o}(n,this.trackStartLines,this.config.lineTerminatorCharacters))})),this.TRACE_INIT("performWarningRuntimeChecks",(()=>{this.lexerDefinitionWarning=this.lexerDefinitionWarning.concat(cr(n,this.trackStartLines,this.config.lineTerminatorCharacters))}))),n.modes=n.modes?n.modes:{},(0,r.Z)(n.modes,((t,e)=>{n.modes[e]=gn(t,(t=>Xe(t)))}));const u=(0,i.Z)(n.modes);if((0,r.Z)(n.modes,((t,n)=>{this.TRACE_INIT(`Mode: <${n}> processing`,(()=>{if(this.modes.push(n),!1===this.config.skipValidations&&this.TRACE_INIT("validatePatterns",(()=>{this.lexerDefinitionErrors=this.lexerDefinitionErrors.concat(or(t,u))})),(0,a.Z)(this.lexerDefinitionErrors)){let r;xr(t),this.TRACE_INIT("analyzeTokenTypes",(()=>{r=rr(t,{lineTerminatorCharacters:this.config.lineTerminatorCharacters,positionTracking:e.positionTracking,ensureOptimizations:e.ensureOptimizations,safeMode:e.safeMode,tracer:this.TRACE_INIT})})),this.patternIdxToConfig[n]=r.patternIdxToConfig,this.charCodeToPatternIdxToConfig[n]=r.charCodeToPatternIdxToConfig,this.emptyGroups=se({},this.emptyGroups,r.emptyGroups),this.hasCustom=r.hasCustom||this.hasCustom,this.canModeBeOptimized[n]=r.canBeOptimized}}))})),this.defaultMode=n.defaultMode,!(0,a.Z)(this.lexerDefinitionErrors)&&!this.config.deferDefinitionErrorsHandling){const t=(0,c.Z)(this.lexerDefinitionErrors,(t=>t.message)).join("-----------------------\n");throw new Error("Errors detected in definition of Lexer:\n"+t)}(0,r.Z)(this.lexerDefinitionWarning,(t=>{jn(t.message)})),this.TRACE_INIT("Choosing sub-methods implementations",(()=>{if(nr?(this.chopInput=Ht.Z,this.match=this.matchWithTest):(this.updateLastIndex=mr.Z,this.match=this.matchWithExec),o&&(this.handleModes=mr.Z),!1===this.trackStartLines&&(this.computeNewColumn=Ht.Z),!1===this.trackEndLines&&(this.updateTokenEndLineColumnLocation=mr.Z),/full/i.test(this.config.positionTracking))this.createTokenInstance=this.createFullToken;else if(/onlyStart/i.test(this.config.positionTracking))this.createTokenInstance=this.createStartOnlyToken;else{if(!/onlyOffset/i.test(this.config.positionTracking))throw Error(`Invalid config option: "${this.config.positionTracking}"`);this.createTokenInstance=this.createOffsetOnlyToken}this.hasCustom?(this.addToken=this.addTokenUsingPush,this.handlePayload=this.handlePayloadWithCustom):(this.addToken=this.addTokenUsingMemberAccess,this.handlePayload=this.handlePayloadNoCustom)})),this.TRACE_INIT("Failed Optimization Warnings",(()=>{const t=(0,yn.Z)(this.canModeBeOptimized,((t,e,n)=>(!1===e&&t.push(n),t)),[]);if(e.ensureOptimizations&&!(0,a.Z)(t))throw Error(`Lexer Modes: < ${t.join(", ")} > cannot be optimized.\n\t Disable the "ensureOptimizations" lexer config flag to silently ignore this and run the lexer in an un-optimized mode.\n\t Or inspect the console log for details on how to resolve these issues.`)})),this.TRACE_INIT("clearRegExpParserCache",(()=>{Un={}})),this.TRACE_INIT("toFastProperties",(()=>{St(this)}))}))}tokenize(t,e=this.defaultMode){if(!(0,a.Z)(this.lexerDefinitionErrors)){const t=(0,c.Z)(this.lexerDefinitionErrors,(t=>t.message)).join("-----------------------\n");throw new Error("Unable to Tokenize because Errors detected in definition of Lexer:\n"+t)}return this.tokenizeInternal(t,e)}tokenizeInternal(t,e){let n,o,u,s,a,c,l,D,f,h,d,p,F,E,g;const m=t,v=m.length;let C=0,y=0;const A=this.hasCustom?0:Math.floor(t.length/10),b=new Array(A),T=[];let x=this.trackStartLines?1:void 0,O=this.trackStartLines?1:void 0;const _=function(t){const e={},n=(0,i.Z)(t);return(0,r.Z)(n,(n=>{const r=t[n];if(!(0,ht.Z)(r))throw Error("non exhaustive match");e[n]=[]})),e}(this.emptyGroups),k=this.trackStartLines,S=this.config.lineTerminatorsPattern;let I=0,N=[],R=[];const w=[],B=[];let L;function P(){return N}function Z(t){const e=gr(t),n=R[e];return void 0===n?B:n}Object.freeze(B);const M=t=>{if(1===w.length&&void 0===t.tokenType.PUSH_MODE){const e=this.config.errorMessageProvider.buildUnableToPopLexerModeMessage(t);T.push({offset:t.startOffset,line:t.startLine,column:t.startColumn,length:t.image.length,message:e})}else{w.pop();const t=vr(w);N=this.patternIdxToConfig[t],R=this.charCodeToPatternIdxToConfig[t],I=N.length;const e=this.canModeBeOptimized[t]&&!1===this.config.safeMode;L=R&&e?Z:P}};function j(t){w.push(t),R=this.charCodeToPatternIdxToConfig[t],N=this.patternIdxToConfig[t],I=N.length,I=N.length;const e=this.canModeBeOptimized[t]&&!1===this.config.safeMode;L=R&&e?Z:P}let U;j.call(this,e);const $=this.config.recoveryEnabled;for(;Cc.length){c=s,l=D,U=e;break}}}break}}if(null!==c){if(f=c.length,h=U.group,void 0!==h&&(d=U.tokenTypeIdx,p=this.createTokenInstance(c,C,d,U.tokenType,x,O,f),this.handlePayload(p,l),!1===h?y=this.addToken(b,y,p):_[h].push(p)),t=this.chopInput(t,f),C+=f,O=this.computeNewColumn(O,f),!0===k&&!0===U.canLineTerminator){let t,e,n=0;S.lastIndex=0;do{t=S.test(c),!0===t&&(e=S.lastIndex-1,n++)}while(!0===t);0!==n&&(x+=n,O=f-e,this.updateTokenEndLineColumnLocation(p,h,e,n,x,O,f))}this.handleModes(U,M,j,p)}else{const e=C,n=x,r=O;let u=!1===$;for(;!1===u&&C`Expecting ${Lr(t)?`--\x3e ${Br(t)} <--`:`token of type --\x3e ${t.name} <--`} but found --\x3e '${e.image}' <--`,buildNotAllInputParsedMessage:({firstRedundant:t,ruleName:e})=>"Redundant input, expecting EOF but found: "+t.image,buildNoViableAltMessage({expectedPathsPerAlt:t,actual:e,previous:n,customUserDescription:r,ruleName:o}){const u="Expecting: ",i="\nbut found: '"+wn(e).image+"'";if(r)return u+r+i;{const e=(0,yn.Z)(t,((t,e)=>t.concat(e)),[]),n=(0,c.Z)(e,(t=>`[${(0,c.Z)(t,(t=>Br(t))).join(", ")}]`));return u+`one of these possible Token sequences:\n${(0,c.Z)(n,((t,e)=>` ${e+1}. ${t}`)).join("\n")}`+i}},buildEarlyExitMessage({expectedIterationPaths:t,actual:e,customUserDescription:n,ruleName:r}){const o="Expecting: ",u="\nbut found: '"+wn(e).image+"'";if(n)return o+n+u;return o+`expecting at least one iteration which starts with one of these possible Token sequences::\n <${(0,c.Z)(t,(t=>`[${(0,c.Z)(t,(t=>Br(t))).join(",")}]`)).join(" ,")}>`+u}};Object.freeze(qr);const Xr={buildRuleNotFoundError:(t,e)=>"Invalid grammar, reference to a rule which is not defined: ->"+e.nonTerminalName+"<-\ninside top level rule: ->"+t.name+"<-"},Jr={buildDuplicateFoundError(t,e){const n=t.name,r=wn(e),o=r.idx,u=Ve(r),i=(s=r)instanceof ke?s.terminalType.name:s instanceof ve?s.nonTerminalName:"";var s;let a=`->${u}${o>0?o:""}<- ${i?`with argument: ->${i}<-`:""}\n appears more than once (${e.length} times) in the top level rule: ->${n}<-. \n For further details see: https://chevrotain.io/docs/FAQ.html#NUMERICAL_SUFFIXES \n `;return a=a.replace(/[ \t]+/g," "),a=a.replace(/\s\s+/g,"\n"),a},buildNamespaceConflictError:t=>`Namespace conflict found in grammar.\nThe grammar has both a Terminal(Token) and a Non-Terminal(Rule) named: <${t.name}>.\nTo resolve this make sure each Terminal and Non-Terminal names are unique\nThis is easy to accomplish by using the convention that Terminal names start with an uppercase letter\nand Non-Terminal names start with a lower case letter.`,buildAlternationPrefixAmbiguityError(t){const e=(0,c.Z)(t.prefixPath,(t=>Br(t))).join(", "),n=0===t.alternation.idx?"":t.alternation.idx;return`Ambiguous alternatives: <${t.ambiguityIndices.join(" ,")}> due to common lookahead prefix\nin inside <${t.topLevelRule.name}> Rule,\n<${e}> may appears as a prefix path in all these alternatives.\nSee: https://chevrotain.io/docs/guide/resolving_grammar_errors.html#COMMON_PREFIX\nFor Further details.`},buildAlternationAmbiguityError(t){const e=(0,c.Z)(t.prefixPath,(t=>Br(t))).join(", "),n=0===t.alternation.idx?"":t.alternation.idx;let r=`Ambiguous Alternatives Detected: <${t.ambiguityIndices.join(" ,")}> in inside <${t.topLevelRule.name}> Rule,\n<${e}> may appears as a prefix path in all these alternatives.\n`;return r+="See: https://chevrotain.io/docs/guide/resolving_grammar_errors.html#AMBIGUOUS_ALTERNATIVES\nFor Further details.",r},buildEmptyRepetitionError(t){let e=Ve(t.repetition);0!==t.repetition.idx&&(e+=t.repetition.idx);return`The repetition <${e}> within Rule <${t.topLevelRule.name}> can never consume any tokens.\nThis could lead to an infinite loop.`},buildTokenNameError:t=>"deprecated",buildEmptyAlternationError:t=>`Ambiguous empty alternative: <${t.emptyChoiceIdx+1}> in inside <${t.topLevelRule.name}> Rule.\nOnly the last alternative may be an empty alternative.`,buildTooManyAlternativesError:t=>`An Alternation cannot have more than 256 alternatives:\n inside <${t.topLevelRule.name}> Rule.\n has ${t.alternation.definition.length+1} alternatives.`,buildLeftRecursionError(t){const e=t.topLevelRule.name;return`Left Recursion found in grammar.\nrule: <${e}> can be invoked from itself (directly or indirectly)\nwithout consuming any Tokens. The grammar path that causes this is: \n ${`${e} --\x3e ${(0,c.Z)(t.leftRecursionPath,(t=>t.name)).concat([e]).join(" --\x3e ")}`}\n To fix this refactor your grammar to remove the left recursion.\nsee: https://en.wikipedia.org/wiki/LL_parser#Left_factoring.`},buildInvalidRuleNameError:t=>"deprecated",buildDuplicateRuleNameError(t){let e;e=t.topLevelRule instanceof Ce?t.topLevelRule.name:t.topLevelRule;return`Duplicate definition, rule: ->${e}<- is already defined in the grammar: ->${t.grammarName}<-`}};class Qr{visit(t){const e=t;switch(e.constructor){case ve:return this.visitNonTerminal(e);case ye:return this.visitAlternative(e);case Ae:return this.visitOption(e);case be:return this.visitRepetitionMandatory(e);case Te:return this.visitRepetitionMandatoryWithSeparator(e);case Oe:return this.visitRepetitionWithSeparator(e);case xe:return this.visitRepetition(e);case _e:return this.visitAlternation(e);case ke:return this.visitTerminal(e);case Ce:return this.visitRule(e);default:throw Error("non exhaustive match")}}visitNonTerminal(t){}visitAlternative(t){}visitOption(t){}visitRepetition(t){}visitRepetitionMandatory(t){}visitRepetitionMandatoryWithSeparator(t){}visitRepetitionWithSeparator(t){}visitAlternation(t){}visitTerminal(t){}visitRule(t){}}class to extends Qr{constructor(t,e){super(),this.nameToTopRule=t,this.errMsgProvider=e,this.errors=[]}resolveRefs(){(0,r.Z)(s(this.nameToTopRule),(t=>{this.currTopLevel=t,t.accept(this)}))}visitNonTerminal(t){const e=this.nameToTopRule[t.nonTerminalName];if(e)t.referencedRule=e;else{const e=this.errMsgProvider.buildRuleNotFoundError(this.currTopLevel,t);this.errors.push({message:e,type:Su.UNRESOLVED_SUBRULE_REF,ruleName:this.currTopLevel.name,unresolvedRefName:t.nonTerminalName})}}}var eo=n(1453);const no=function(t,e,n,r){for(var o=-1,u=null==t?0:t.length;++o{!1===(0,a.Z)(t.definition)&&(o=i(t.definition))})),o;if(!(e instanceof ke))throw Error("non exhaustive match");n.push(e.terminalType)}}u++}return o.push({partialPath:n,suffixDef:Gt(t,u)}),o}function Eo(t,e,n,r){const o="EXIT_NONE_TERMINAL",u=[o],i="EXIT_ALTERNATIVE";let s=!1;const c=e.length,l=c-r-1,D=[],f=[];for(f.push({idx:-1,def:t,ruleStack:[],occurrenceStack:[]});!(0,a.Z)(f);){const t=f.pop();if(t===i){s&&vr(f).idx<=l&&f.pop();continue}const r=t.def,h=t.idx,d=t.ruleStack,p=t.occurrenceStack;if((0,a.Z)(r))continue;const F=r[0];if(F===o){const t={idx:h,def:Gt(r),ruleStack:so(d),occurrenceStack:so(p)};f.push(t)}else if(F instanceof ke)if(h=0;e--){const t={idx:h,def:F.definition[e].definition.concat(Gt(r)),ruleStack:d,occurrenceStack:p};f.push(t),f.push(i)}else if(F instanceof ye)f.push({idx:h,def:F.definition.concat(Gt(r)),ruleStack:d,occurrenceStack:p});else{if(!(F instanceof Ce))throw Error("non exhaustive match");f.push(go(F,h,d,p))}}return D}function go(t,e,n,r){const o=kt(n);o.push(t.name);const u=kt(r);return u.push(1),{idx:e,def:t.definition,ruleStack:o,occurrenceStack:u}}var mo;function vo(t){if(t instanceof Ae||"Option"===t)return mo.OPTION;if(t instanceof xe||"Repetition"===t)return mo.REPETITION;if(t instanceof be||"RepetitionMandatory"===t)return mo.REPETITION_MANDATORY;if(t instanceof Te||"RepetitionMandatoryWithSeparator"===t)return mo.REPETITION_MANDATORY_WITH_SEPARATOR;if(t instanceof Oe||"RepetitionWithSeparator"===t)return mo.REPETITION_WITH_SEPARATOR;if(t instanceof _e||"Alternation"===t)return mo.ALTERNATION;throw Error("non exhaustive match")}function Co(t){const{occurrence:e,rule:n,prodType:r,maxLookahead:o}=t,u=vo(r);return u===mo.ALTERNATION?So(e,n,o):Io(e,n,u,o)}function yo(t,e,n,o){const u=t.length,i=Ge(t,(t=>Ge(t,(t=>1===t.length))));if(e)return function(e){const r=(0,c.Z)(e,(t=>t.GATE));for(let o=0;o(0,Be.Z)(t))),n=(0,yn.Z)(e,((t,e,n)=>((0,r.Z)(e,(e=>{h(t,e.tokenTypeIdx)||(t[e.tokenTypeIdx]=n),(0,r.Z)(e.categoryMatches,(e=>{h(t,e)||(t[e]=n)}))})),t)),{});return function(){const t=this.LA(1);return n[t.tokenTypeIdx]}}return function(){for(let e=0;e1===t.length)),u=t.length;if(o&&!n){const e=(0,Be.Z)(t);if(1===e.length&&(0,a.Z)(e[0].categoryMatches)){const t=e[0].tokenTypeIdx;return function(){return this.LA(1).tokenTypeIdx===t}}{const t=(0,yn.Z)(e,((t,e,n)=>(t[e.tokenTypeIdx]=!0,(0,r.Z)(e.categoryMatches,(e=>{t[e]=!0})),t)),[]);return function(){const e=this.LA(1);return!0===t[e.tokenTypeIdx]}}}return function(){t:for(let n=0;nFo([t],1))),o=xo(n.length),u=(0,c.Z)(n,(t=>{const e={};return(0,r.Z)(t,(t=>{const n=Oo(t.partialPath);(0,r.Z)(n,(t=>{e[t]=!0}))})),e}));let i=n;for(let s=1;s<=e;s++){const t=i;i=xo(t.length);for(let n=0;n{const e=Oo(t.partialPath);(0,r.Z)(e,(t=>{u[n][t]=!0}))}))}}}}return o}function So(t,e,n,r){const o=new To(t,mo.ALTERNATION,r);return e.accept(o),ko(o.result,n)}function Io(t,e,n,r){const o=new To(t,n);e.accept(o);const u=o.result,i=new bo(e,t,n).startWalking();return ko([new ye({definition:u}),new ye({definition:i})],r)}function No(t,e){t:for(let n=0;nGe(t,(t=>Ge(t,(t=>(0,a.Z)(t.categoryMatches)))))))}function wo(t,e,n,o){const u=(0,eo.Z)(t,(t=>function(t,e){const n=new Po;t.accept(n);const r=n.allProductions,o=io(r,Bo),u=de(o,(t=>t.length>1)),i=(0,c.Z)(s(u),(n=>{const r=wn(n),o=e.buildDuplicateFoundError(t,n),u=Ve(r),i={message:o,type:Su.DUPLICATE_PRODUCTIONS,ruleName:t.name,dslName:u,occurrence:r.idx},s=Lo(r);return s&&(i.parameter=s),i}));return i}(t,n))),i=function(t,e,n){const o=[],u=(0,c.Z)(e,(t=>t.name));return(0,r.Z)(t,(t=>{const e=t.name;if($e(u,e)){const r=n.buildNamespaceConflictError(t);o.push({message:r,type:Su.CONFLICT_TOKENS_RULES_NAMESPACE,ruleName:e})}})),o}(t,e,n),a=(0,eo.Z)(t,(t=>function(t,e){const n=new jo;t.accept(n);const r=n.alternations,o=(0,eo.Z)(r,(n=>n.definition.length>255?[{message:e.buildTooManyAlternativesError({topLevelRule:t,alternation:n}),type:Su.TOO_MANY_ALTS,ruleName:t.name,occurrence:n.idx}]:[]));return o}(t,n))),l=(0,eo.Z)(t,(e=>function(t,e,n,r){const o=[],u=(0,yn.Z)(e,((e,n)=>n.name===t.name?e+1:e),0);if(u>1){const e=r.buildDuplicateRuleNameError({topLevelRule:t,grammarName:n});o.push({message:e,type:Su.DUPLICATE_RULE_NAME,ruleName:t.name})}return o}(e,t,o,n)));return u.concat(i,a,l)}function Bo(t){return`${Ve(t)}_#_${t.idx}_#_${Lo(t)}`}function Lo(t){return t instanceof ke?t.terminalType.name:t instanceof ve?t.nonTerminalName:""}class Po extends Qr{constructor(){super(...arguments),this.allProductions=[]}visitNonTerminal(t){this.allProductions.push(t)}visitOption(t){this.allProductions.push(t)}visitRepetitionWithSeparator(t){this.allProductions.push(t)}visitRepetitionMandatory(t){this.allProductions.push(t)}visitRepetitionMandatoryWithSeparator(t){this.allProductions.push(t)}visitRepetition(t){this.allProductions.push(t)}visitAlternation(t){this.allProductions.push(t)}visitTerminal(t){this.allProductions.push(t)}}function Zo(t,e,n,r=[]){const o=[],u=Mo(e.definition);if((0,a.Z)(u))return[];{const e=t.name;$e(u,t)&&o.push({message:n.buildLeftRecursionError({topLevelRule:t,leftRecursionPath:r}),type:Su.LEFT_RECURSION,ruleName:e});const i=Nn(u,r.concat([t])),s=(0,eo.Z)(i,(e=>{const o=kt(r);return o.push(e),Zo(t,e,n,o)}));return o.concat(s)}}function Mo(t){let e=[];if((0,a.Z)(t))return e;const n=wn(t);if(n instanceof ve)e.push(n.referencedRule);else if(n instanceof ye||n instanceof Ae||n instanceof be||n instanceof Te||n instanceof Oe||n instanceof xe)e=e.concat(Mo(n.definition));else if(n instanceof _e)e=(0,Be.Z)((0,c.Z)(n.definition,(t=>Mo(t.definition))));else if(!(n instanceof ke))throw Error("non exhaustive match");const r=Ke(n),o=t.length>1;if(r&&o){const n=Gt(t);return e.concat(Mo(n))}return e}class jo extends Qr{constructor(){super(...arguments),this.alternations=[]}visitAlternation(t){this.alternations.push(t)}}function Uo(t,e,n){const o=new jo;t.accept(o);let u=o.alternations;u=gn(u,(t=>!0===t.ignoreAmbiguities));const i=(0,eo.Z)(u,(o=>{const u=o.idx,i=o.maxLookahead||e,s=So(u,t,i,o),a=function(t,e,n,o){const u=[],i=(0,yn.Z)(t,((n,o,i)=>(!0===e.definition[i].ignoreAmbiguities||(0,r.Z)(o,(o=>{const s=[i];(0,r.Z)(t,((t,n)=>{i!==n&&No(t,o)&&!0!==e.definition[n].ignoreAmbiguities&&s.push(n)})),s.length>1&&!No(u,o)&&(u.push(o),n.push({alts:s,path:o}))})),n)),[]),s=(0,c.Z)(i,(t=>{const r=(0,c.Z)(t.alts,(t=>t+1));return{message:o.buildAlternationAmbiguityError({topLevelRule:n,alternation:e,ambiguityIndices:r,prefixPath:t.path}),type:Su.AMBIGUOUS_ALTS,ruleName:n.name,occurrence:e.idx,alternatives:t.alts}}));return s}(s,o,t,n),l=function(t,e,n,r){const o=(0,yn.Z)(t,((t,e,n)=>{const r=(0,c.Z)(e,(t=>({idx:n,path:t})));return t.concat(r)}),[]),u=Rn((0,eo.Z)(o,(t=>{if(!0===e.definition[t.idx].ignoreAmbiguities)return[];const u=t.idx,i=t.path,s=(0,An.Z)(o,(t=>{return!0!==e.definition[t.idx].ignoreAmbiguities&&t.idx{const n=r[e];return t===n||n.categoryMatchesMap[t.tokenTypeIdx]})));var n,r}));return(0,c.Z)(s,(t=>{const o=[t.idx+1,u+1],i=0===e.idx?"":e.idx;return{message:r.buildAlternationPrefixAmbiguityError({topLevelRule:n,alternation:e,ambiguityIndices:o,prefixPath:t.path}),type:Su.AMBIGUOUS_PREFIX_ALTS,ruleName:n.name,occurrence:i,alternatives:o}}))})));return u}(s,o,t,n);return a.concat(l)}));return i}class $o extends Qr{constructor(){super(...arguments),this.allProductions=[]}visitRepetitionWithSeparator(t){this.allProductions.push(t)}visitRepetitionMandatory(t){this.allProductions.push(t)}visitRepetitionMandatoryWithSeparator(t){this.allProductions.push(t)}visitRepetition(t){this.allProductions.push(t)}}function Wo(t){const e=dn(t,{errMsgProvider:Xr}),n={};return(0,r.Z)(t.rules,(t=>{n[t.name]=t})),function(t,e){const n=new to(t,e);return n.resolveRefs(),n.errors}(n,e.errMsgProvider)}const zo="MismatchedTokenException",Go="NoViableAltException",Ko="EarlyExitException",Vo="NotAllInputParsedException",Ho=[zo,Go,Ko,Vo];function Yo(t){return $e(Ho,t.name)}Object.freeze(Ho);class qo extends Error{constructor(t,e){super(t),this.token=e,this.resyncedTokens=[],Object.setPrototypeOf(this,new.target.prototype),Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)}}class Xo extends qo{constructor(t,e,n){super(t,e),this.previousToken=n,this.name=zo}}class Jo extends qo{constructor(t,e,n){super(t,e),this.previousToken=n,this.name=Go}}class Qo extends qo{constructor(t,e){super(t,e),this.name=Vo}}class tu extends qo{constructor(t,e,n){super(t,e),this.previousToken=n,this.name=Ko}}const eu={},nu="InRuleRecoveryException";class ru extends Error{constructor(t){super(t),this.name=nu}}function ou(t,e,n,r,o,u,i){const s=this.getKeyForAutomaticLookahead(r,o);let a=this.firstAfterRepMap[s];if(void 0===a){const t=this.getCurrRuleFullName();a=new u(this.getGAstProductions()[t],o).startWalking(),this.firstAfterRepMap[s]=a}let c=a.token,l=a.occurrence;const D=a.isEndOfRule;1===this.RULE_STACK.length&&D&&void 0===c&&(c=Vr,l=1),void 0!==c&&void 0!==l&&this.shouldInRepetitionRecoveryBeTried(c,l,i)&&this.tryInRepetitionRecovery(t,e,n,c)}const uu=1024,iu=1280,su=1536;function au(t,e,n){return n|e|t}class cu{constructor(t){var e;this.maxLookahead=null!==(e=null==t?void 0:t.maxLookahead)&&void 0!==e?e:_u.maxLookahead}validate(t){const e=this.validateNoLeftRecursion(t.rules);if((0,a.Z)(e)){const n=this.validateEmptyOrAlternatives(t.rules),r=this.validateAmbiguousAlternationAlternatives(t.rules,this.maxLookahead),o=this.validateSomeNonEmptyLookaheadPath(t.rules,this.maxLookahead);return[...e,...n,...r,...o]}return e}validateNoLeftRecursion(t){return(0,eo.Z)(t,(t=>Zo(t,t,Jr)))}validateEmptyOrAlternatives(t){return(0,eo.Z)(t,(t=>function(t,e){const n=new jo;t.accept(n);const r=n.alternations;return(0,eo.Z)(r,(n=>{const r=so(n.definition);return(0,eo.Z)(r,((r,o)=>{const u=Eo([r],[],yr,1);return(0,a.Z)(u)?[{message:e.buildEmptyAlternationError({topLevelRule:t,alternation:n,emptyChoiceIdx:o}),type:Su.NONE_LAST_EMPTY_ALT,ruleName:t.name,occurrence:n.idx,alternative:o+1}]:[]}))}))}(t,Jr)))}validateAmbiguousAlternationAlternatives(t,e){return(0,eo.Z)(t,(t=>Uo(t,e,Jr)))}validateSomeNonEmptyLookaheadPath(t,e){return function(t,e,n){const o=[];return(0,r.Z)(t,(t=>{const u=new $o;t.accept(u);const i=u.allProductions;(0,r.Z)(i,(r=>{const u=vo(r),i=r.maxLookahead||e,s=Io(r.idx,t,u,i)[0];if((0,a.Z)((0,Be.Z)(s))){const e=n.buildEmptyRepetitionError({topLevelRule:t,repetition:r});o.push({message:e,type:Su.NO_NON_EMPTY_LOOKAHEAD,ruleName:t.name})}}))})),o}(t,e,Jr)}buildLookaheadForAlternation(t){return function(t,e,n,r,o,u){const i=So(t,e,n);return u(i,r,Ro(i)?Ar:yr,o)}(t.prodOccurrence,t.rule,t.maxLookahead,t.hasPredicates,t.dynamicTokensEnabled,yo)}buildLookaheadForOptional(t){return function(t,e,n,r,o,u){const i=Io(t,e,o,n),s=Ro(i)?Ar:yr;return u(i[0],s,r)}(t.prodOccurrence,t.rule,t.maxLookahead,t.dynamicTokensEnabled,vo(t.prodType),Ao)}}const lu=new class extends Qr{constructor(){super(...arguments),this.dslMethods={option:[],alternation:[],repetition:[],repetitionWithSeparator:[],repetitionMandatory:[],repetitionMandatoryWithSeparator:[]}}reset(){this.dslMethods={option:[],alternation:[],repetition:[],repetitionWithSeparator:[],repetitionMandatory:[],repetitionMandatoryWithSeparator:[]}}visitOption(t){this.dslMethods.option.push(t)}visitRepetitionWithSeparator(t){this.dslMethods.repetitionWithSeparator.push(t)}visitRepetitionMandatory(t){this.dslMethods.repetitionMandatory.push(t)}visitRepetitionMandatoryWithSeparator(t){this.dslMethods.repetitionMandatoryWithSeparator.push(t)}visitRepetition(t){this.dslMethods.repetition.push(t)}visitAlternation(t){this.dslMethods.alternation.push(t)}};function Du(t,e){!0===isNaN(t.startOffset)?(t.startOffset=e.startOffset,t.endOffset=e.endOffset):t.endOffset!1===(0,mn.Z)(t[e]))),r=(0,c.Z)(n,(e=>({msg:`Missing visitor method: <${e}> on ${t.constructor.name} CST Visitor.`,type:Eu.MISSING_METHOD,methodName:e})));return Rn(r)}(t,e);return n}(this,e);if(!(0,a.Z)(t)){const e=(0,c.Z)(t,(t=>t.msg));throw Error(`Errors Detected in CST Visitor <${this.constructor.name}>:\n\t${e.join("\n\n").replace(/\n/g,"\n\t")}`)}}};return(n.prototype=r).constructor=n,n._RULE_NAMES=e,n}var Eu;!function(t){t[t.REDUNDANT_METHOD=0]="REDUNDANT_METHOD",t[t.MISSING_METHOD=1]="MISSING_METHOD"}(Eu||(Eu={}));const gu={description:"This Object indicates the Parser is during Recording Phase"};Object.freeze(gu);const mu=Math.pow(2,8)-1,vu=Kr({name:"RECORDING_PHASE_TOKEN",pattern:wr.NA});xr([vu]);const Cu=Hr(vu,"This IToken indicates the Parser is in Recording Phase\n\tSee: https://chevrotain.io/docs/guide/internals.html#grammar-recording for details",-1,-1,-1,-1,-1,-1);Object.freeze(Cu);const yu={name:"This CSTNode indicates the Parser is in Recording Phase\n\tSee: https://chevrotain.io/docs/guide/internals.html#grammar-recording for details",children:{}};function Au(t,e,n,r=!1){xu(n);const o=vr(this.recordingProdStack),u=(0,mn.Z)(e)?e:e.DEF,i=new t({definition:[],idx:n});return r&&(i.separator=e.SEP),h(e,"MAX_LOOKAHEAD")&&(i.maxLookahead=e.MAX_LOOKAHEAD),this.recordingProdStack.push(i),u.call(this),o.definition.push(i),this.recordingProdStack.pop(),gu}function bu(t,e){xu(e);const n=vr(this.recordingProdStack),o=!1===(0,ht.Z)(t),u=!1===o?t:t.DEF,i=new _e({definition:[],idx:e,ignoreAmbiguities:o&&!0===t.IGNORE_AMBIGUITIES});h(t,"MAX_LOOKAHEAD")&&(i.maxLookahead=t.MAX_LOOKAHEAD);const s=Me(u,(t=>(0,mn.Z)(t.GATE)));return i.hasPredicates=s,n.definition.push(i),(0,r.Z)(u,(t=>{const e=new ye({definition:[]});i.definition.push(e),h(t,"IGNORE_AMBIGUITIES")?e.ignoreAmbiguities=t.IGNORE_AMBIGUITIES:h(t,"GATE")&&(e.ignoreAmbiguities=!0),this.recordingProdStack.push(e),t.ALT.call(this),this.recordingProdStack.pop()})),gu}function Tu(t){return 0===t?"":`${t}`}function xu(t){if(t<0||t>mu){const e=new Error(`Invalid DSL Method idx value: <${t}>\n\tIdx value must be a none negative value smaller than ${mu+1}`);throw e.KNOWN_RECORDER_ERROR=!0,e}}const Ou=Hr(Vr,"",NaN,NaN,NaN,NaN,NaN,NaN);Object.freeze(Ou);const _u=Object.freeze({recoveryEnabled:!1,maxLookahead:3,dynamicTokensEnabled:!1,outputCst:!0,errorMessageProvider:qr,nodeLocationTracking:"none",traceInitPerf:!1,skipValidations:!1}),ku=Object.freeze({recoveryValueFunc:()=>{},resyncEnabled:!0});var Su,Iu;!function(t){t[t.INVALID_RULE_NAME=0]="INVALID_RULE_NAME",t[t.DUPLICATE_RULE_NAME=1]="DUPLICATE_RULE_NAME",t[t.INVALID_RULE_OVERRIDE=2]="INVALID_RULE_OVERRIDE",t[t.DUPLICATE_PRODUCTIONS=3]="DUPLICATE_PRODUCTIONS",t[t.UNRESOLVED_SUBRULE_REF=4]="UNRESOLVED_SUBRULE_REF",t[t.LEFT_RECURSION=5]="LEFT_RECURSION",t[t.NONE_LAST_EMPTY_ALT=6]="NONE_LAST_EMPTY_ALT",t[t.AMBIGUOUS_ALTS=7]="AMBIGUOUS_ALTS",t[t.CONFLICT_TOKENS_RULES_NAMESPACE=8]="CONFLICT_TOKENS_RULES_NAMESPACE",t[t.INVALID_TOKEN_NAME=9]="INVALID_TOKEN_NAME",t[t.NO_NON_EMPTY_LOOKAHEAD=10]="NO_NON_EMPTY_LOOKAHEAD",t[t.AMBIGUOUS_PREFIX_ALTS=11]="AMBIGUOUS_PREFIX_ALTS",t[t.TOO_MANY_ALTS=12]="TOO_MANY_ALTS",t[t.CUSTOM_LOOKAHEAD_VALIDATION=13]="CUSTOM_LOOKAHEAD_VALIDATION"}(Su||(Su={}));class Nu{static performSelfAnalysis(t){throw Error("The **static** `performSelfAnalysis` method has been deprecated.\t\nUse the **instance** method with the same name instead.")}performSelfAnalysis(){this.TRACE_INIT("performSelfAnalysis",(()=>{let t;this.selfAnalysisDone=!0;const e=this.className;this.TRACE_INIT("toFastProps",(()=>{St(this)})),this.TRACE_INIT("Grammar Recording",(()=>{try{this.enableRecording(),(0,r.Z)(this.definedRulesNames,(t=>{const e=this[t].originalGrammarAction;let n;this.TRACE_INIT(`${t} Rule`,(()=>{n=this.topLevelRuleRecord(t,e)})),this.gastProductionsCache[t]=n}))}finally{this.disableRecording()}}));let n=[];if(this.TRACE_INIT("Grammar Resolving",(()=>{n=Wo({rules:s(this.gastProductionsCache)}),this.definitionErrors=this.definitionErrors.concat(n)})),this.TRACE_INIT("Grammar Validations",(()=>{if((0,a.Z)(n)&&!1===this.skipValidations){const n=(t={rules:s(this.gastProductionsCache),tokenTypes:s(this.tokensMap),errMsgProvider:Jr,grammarName:e},wo((t=dn(t,{errMsgProvider:Jr})).rules,t.tokenTypes,t.errMsgProvider,t.grammarName)),r=function(t){const e=t.lookaheadStrategy.validate({rules:t.rules,tokenTypes:t.tokenTypes,grammarName:t.grammarName});return(0,c.Z)(e,(t=>Object.assign({type:Su.CUSTOM_LOOKAHEAD_VALIDATION},t)))}({lookaheadStrategy:this.lookaheadStrategy,rules:s(this.gastProductionsCache),tokenTypes:s(this.tokensMap),grammarName:e});this.definitionErrors=this.definitionErrors.concat(n,r)}var t})),(0,a.Z)(this.definitionErrors)&&(this.recoveryEnabled&&this.TRACE_INIT("computeAllProdsFollows",(()=>{const t=function(t){const e={};return(0,r.Z)(t,(t=>{const n=new qe(t).startWalking();se(e,n)})),e}(s(this.gastProductionsCache));this.resyncFollows=t})),this.TRACE_INIT("ComputeLookaheadFunctions",(()=>{var t,e;null===(e=(t=this.lookaheadStrategy).initialize)||void 0===e||e.call(t,{rules:s(this.gastProductionsCache)}),this.preComputeLookaheadFunctions(s(this.gastProductionsCache))}))),!Nu.DEFER_DEFINITION_ERRORS_HANDLING&&!(0,a.Z)(this.definitionErrors))throw t=(0,c.Z)(this.definitionErrors,(t=>t.message)),new Error(`Parser Definition Errors detected:\n ${t.join("\n-------------------------------\n")}`)}))}constructor(t,e){this.definitionErrors=[],this.selfAnalysisDone=!1;const n=this;if(n.initErrorHandler(e),n.initLexerAdapter(),n.initLooksAhead(e),n.initRecognizerEngine(t,e),n.initRecoverable(e),n.initTreeBuilder(e),n.initContentAssist(),n.initGastRecorder(e),n.initPerformanceTracer(e),h(e,"ignoredIssues"))throw new Error("The IParserConfig property has been deprecated.\n\tPlease use the flag on the relevant DSL method instead.\n\tSee: https://chevrotain.io/docs/guide/resolving_grammar_errors.html#IGNORING_AMBIGUITIES\n\tFor further details.");this.skipValidations=h(e,"skipValidations")?e.skipValidations:_u.skipValidations}}Nu.DEFER_DEFINITION_ERRORS_HANDLING=!1,Iu=Nu,[class{initRecoverable(t){this.firstAfterRepMap={},this.resyncFollows={},this.recoveryEnabled=h(t,"recoveryEnabled")?t.recoveryEnabled:_u.recoveryEnabled,this.recoveryEnabled&&(this.attemptInRepetitionRecovery=ou)}getTokenToInsert(t){const e=Hr(t,"",NaN,NaN,NaN,NaN,NaN,NaN);return e.isInsertedInRecovery=!0,e}canTokenTypeBeInsertedInRecovery(t){return!0}canTokenTypeBeDeletedInRecovery(t){return!0}tryInRepetitionRecovery(t,e,n,r){const o=this.findReSyncTokenType(),u=this.exportLexerState(),i=[];let s=!1;const a=this.LA(1);let c=this.LA(1);const l=()=>{const t=this.LA(0),e=this.errorMessageProvider.buildMismatchTokenMessage({expected:r,actual:a,previous:t,ruleName:this.getCurrRuleFullName()}),n=new Xo(e,a,this.LA(0));n.resyncedTokens=so(i),this.SAVE_ERROR(n)};for(;!s;){if(this.tokenMatcher(c,r))return void l();if(n.call(this))return l(),void t.apply(this,e);this.tokenMatcher(c,o)?s=!0:(c=this.SKIP_TOKEN(),this.addToResyncTokens(c,i))}this.importLexerState(u)}shouldInRepetitionRecoveryBeTried(t,e,n){return!1!==n&&!this.tokenMatcher(this.LA(1),t)&&!this.isBackTracking()&&!this.canPerformInRuleRecovery(t,this.getFollowsForInRuleRecovery(t,e))}getFollowsForInRuleRecovery(t,e){const n=this.getCurrentGrammarPath(t,e);return this.getNextPossibleTokenTypes(n)}tryInRuleRecovery(t,e){if(this.canRecoverWithSingleTokenInsertion(t,e))return this.getTokenToInsert(t);if(this.canRecoverWithSingleTokenDeletion(t)){const t=this.SKIP_TOKEN();return this.consumeToken(),t}throw new ru("sad sad panda")}canPerformInRuleRecovery(t,e){return this.canRecoverWithSingleTokenInsertion(t,e)||this.canRecoverWithSingleTokenDeletion(t)}canRecoverWithSingleTokenInsertion(t,e){if(!this.canTokenTypeBeInsertedInRecovery(t))return!1;if((0,a.Z)(e))return!1;const n=this.LA(1);return void 0!==Zn(e,(t=>this.tokenMatcher(n,t)))}canRecoverWithSingleTokenDeletion(t){return!!this.canTokenTypeBeDeletedInRecovery(t)&&this.tokenMatcher(this.LA(2),t)}isInCurrentRuleReSyncSet(t){const e=this.getCurrFollowKey(),n=this.getFollowSetFromFollowKey(e);return $e(n,t)}findReSyncTokenType(){const t=this.flattenFollowSet();let e=this.LA(1),n=2;for(;;){const r=Zn(t,(t=>Yr(e,t)));if(void 0!==r)return r;e=this.LA(n),n++}}getCurrFollowKey(){if(1===this.RULE_STACK.length)return eu;const t=this.getLastExplicitRuleShortName(),e=this.getLastExplicitRuleOccurrenceIndex(),n=this.getPreviousExplicitRuleShortName();return{ruleName:this.shortRuleNameToFullName(t),idxInCallingRule:e,inRule:this.shortRuleNameToFullName(n)}}buildFullFollowKeyStack(){const t=this.RULE_STACK,e=this.RULE_OCCURRENCE_STACK;return(0,c.Z)(t,((n,r)=>0===r?eu:{ruleName:this.shortRuleNameToFullName(n),idxInCallingRule:e[r],inRule:this.shortRuleNameToFullName(t[r-1])}))}flattenFollowSet(){const t=(0,c.Z)(this.buildFullFollowKeyStack(),(t=>this.getFollowSetFromFollowKey(t)));return(0,Be.Z)(t)}getFollowSetFromFollowKey(t){if(t===eu)return[Vr];const e=t.ruleName+t.idxInCallingRule+Ye+t.inRule;return this.resyncFollows[e]}addToResyncTokens(t,e){return this.tokenMatcher(t,Vr)||e.push(t),e}reSyncTo(t){const e=[];let n=this.LA(1);for(;!1===this.tokenMatcher(n,t);)n=this.SKIP_TOKEN(),this.addToResyncTokens(n,e);return so(e)}attemptInRepetitionRecovery(t,e,n,r,o,u,i){}getCurrentGrammarPath(t,e){return{ruleStack:this.getHumanReadableRuleStack(),occurrenceStack:kt(this.RULE_OCCURRENCE_STACK),lastTok:t,lastTokOccurrence:e}}getHumanReadableRuleStack(){return(0,c.Z)(this.RULE_STACK,(t=>this.shortRuleNameToFullName(t)))}},class{initLooksAhead(t){this.dynamicTokensEnabled=h(t,"dynamicTokensEnabled")?t.dynamicTokensEnabled:_u.dynamicTokensEnabled,this.maxLookahead=h(t,"maxLookahead")?t.maxLookahead:_u.maxLookahead,this.lookaheadStrategy=h(t,"lookaheadStrategy")?t.lookaheadStrategy:new cu({maxLookahead:this.maxLookahead}),this.lookAheadFuncsCache=new Map}preComputeLookaheadFunctions(t){(0,r.Z)(t,(t=>{this.TRACE_INIT(`${t.name} Rule Lookahead`,(()=>{const{alternation:e,repetition:n,option:o,repetitionMandatory:u,repetitionMandatoryWithSeparator:i,repetitionWithSeparator:s}=function(t){lu.reset(),t.accept(lu);const e=lu.dslMethods;return lu.reset(),e}(t);(0,r.Z)(e,(e=>{const n=0===e.idx?"":e.idx;this.TRACE_INIT(`${Ve(e)}${n}`,(()=>{const n=this.lookaheadStrategy.buildLookaheadForAlternation({prodOccurrence:e.idx,rule:t,maxLookahead:e.maxLookahead||this.maxLookahead,hasPredicates:e.hasPredicates,dynamicTokensEnabled:this.dynamicTokensEnabled}),r=au(this.fullRuleNameToShort[t.name],256,e.idx);this.setLaFuncCache(r,n)}))})),(0,r.Z)(n,(e=>{this.computeLookaheadFunc(t,e.idx,768,"Repetition",e.maxLookahead,Ve(e))})),(0,r.Z)(o,(e=>{this.computeLookaheadFunc(t,e.idx,512,"Option",e.maxLookahead,Ve(e))})),(0,r.Z)(u,(e=>{this.computeLookaheadFunc(t,e.idx,uu,"RepetitionMandatory",e.maxLookahead,Ve(e))})),(0,r.Z)(i,(e=>{this.computeLookaheadFunc(t,e.idx,su,"RepetitionMandatoryWithSeparator",e.maxLookahead,Ve(e))})),(0,r.Z)(s,(e=>{this.computeLookaheadFunc(t,e.idx,iu,"RepetitionWithSeparator",e.maxLookahead,Ve(e))}))}))}))}computeLookaheadFunc(t,e,n,r,o,u){this.TRACE_INIT(`${u}${0===e?"":e}`,(()=>{const u=this.lookaheadStrategy.buildLookaheadForOptional({prodOccurrence:e,rule:t,maxLookahead:o||this.maxLookahead,dynamicTokensEnabled:this.dynamicTokensEnabled,prodType:r}),i=au(this.fullRuleNameToShort[t.name],n,e);this.setLaFuncCache(i,u)}))}getKeyForAutomaticLookahead(t,e){return au(this.getLastExplicitRuleShortName(),t,e)}getLaFuncFromCache(t){return this.lookAheadFuncsCache.get(t)}setLaFuncCache(t,e){this.lookAheadFuncsCache.set(t,e)}},class{initTreeBuilder(t){if(this.CST_STACK=[],this.outputCst=t.outputCst,this.nodeLocationTracking=h(t,"nodeLocationTracking")?t.nodeLocationTracking:_u.nodeLocationTracking,this.outputCst)if(/full/i.test(this.nodeLocationTracking))this.recoveryEnabled?(this.setNodeLocationFromToken=fu,this.setNodeLocationFromNode=fu,this.cstPostRule=mr.Z,this.setInitialNodeLocation=this.setInitialNodeLocationFullRecovery):(this.setNodeLocationFromToken=mr.Z,this.setNodeLocationFromNode=mr.Z,this.cstPostRule=this.cstPostRuleFull,this.setInitialNodeLocation=this.setInitialNodeLocationFullRegular);else if(/onlyOffset/i.test(this.nodeLocationTracking))this.recoveryEnabled?(this.setNodeLocationFromToken=Du,this.setNodeLocationFromNode=Du,this.cstPostRule=mr.Z,this.setInitialNodeLocation=this.setInitialNodeLocationOnlyOffsetRecovery):(this.setNodeLocationFromToken=mr.Z,this.setNodeLocationFromNode=mr.Z,this.cstPostRule=this.cstPostRuleOnlyOffset,this.setInitialNodeLocation=this.setInitialNodeLocationOnlyOffsetRegular);else{if(!/none/i.test(this.nodeLocationTracking))throw Error(`Invalid config option: "${t.nodeLocationTracking}"`);this.setNodeLocationFromToken=mr.Z,this.setNodeLocationFromNode=mr.Z,this.cstPostRule=mr.Z,this.setInitialNodeLocation=mr.Z}else this.cstInvocationStateUpdate=mr.Z,this.cstFinallyStateUpdate=mr.Z,this.cstPostTerminal=mr.Z,this.cstPostNonTerminal=mr.Z,this.cstPostRule=mr.Z}setInitialNodeLocationOnlyOffsetRecovery(t){t.location={startOffset:NaN,endOffset:NaN}}setInitialNodeLocationOnlyOffsetRegular(t){t.location={startOffset:this.LA(1).startOffset,endOffset:NaN}}setInitialNodeLocationFullRecovery(t){t.location={startOffset:NaN,startLine:NaN,startColumn:NaN,endOffset:NaN,endLine:NaN,endColumn:NaN}}setInitialNodeLocationFullRegular(t){const e=this.LA(1);t.location={startOffset:e.startOffset,startLine:e.startLine,startColumn:e.startColumn,endOffset:NaN,endLine:NaN,endColumn:NaN}}cstInvocationStateUpdate(t){const e={name:t,children:Object.create(null)};this.setInitialNodeLocation(e),this.CST_STACK.push(e)}cstFinallyStateUpdate(){this.CST_STACK.pop()}cstPostRuleFull(t){const e=this.LA(0),n=t.location;n.startOffset<=e.startOffset==1?(n.endOffset=e.endOffset,n.endLine=e.endLine,n.endColumn=e.endColumn):(n.startOffset=NaN,n.startLine=NaN,n.startColumn=NaN)}cstPostRuleOnlyOffset(t){const e=this.LA(0),n=t.location;n.startOffset<=e.startOffset==1?n.endOffset=e.endOffset:n.startOffset=NaN}cstPostTerminal(t,e){const n=this.CST_STACK[this.CST_STACK.length-1];var r,o,u;o=e,u=t,void 0===(r=n).children[u]?r.children[u]=[o]:r.children[u].push(o),this.setNodeLocationFromToken(n.location,e)}cstPostNonTerminal(t,e){const n=this.CST_STACK[this.CST_STACK.length-1];!function(t,e,n){void 0===t.children[e]?t.children[e]=[n]:t.children[e].push(n)}(n,e,t),this.setNodeLocationFromNode(n.location,t.location)}getBaseCstVisitorConstructor(){if(Xe(this.baseCstVisitorConstructor)){const t=Fu(this.className,(0,i.Z)(this.gastProductionsCache));return this.baseCstVisitorConstructor=t,t}return this.baseCstVisitorConstructor}getBaseCstVisitorConstructorWithDefaults(){if(Xe(this.baseCstVisitorWithDefaultsConstructor)){const t=function(t,e,n){const o=function(){};du(o,t+"BaseSemanticsWithDefaults");const u=Object.create(n.prototype);return(0,r.Z)(e,(t=>{u[t]=pu})),(o.prototype=u).constructor=o,o}(this.className,(0,i.Z)(this.gastProductionsCache),this.getBaseCstVisitorConstructor());return this.baseCstVisitorWithDefaultsConstructor=t,t}return this.baseCstVisitorWithDefaultsConstructor}getLastExplicitRuleShortName(){const t=this.RULE_STACK;return t[t.length-1]}getPreviousExplicitRuleShortName(){const t=this.RULE_STACK;return t[t.length-2]}getLastExplicitRuleOccurrenceIndex(){const t=this.RULE_OCCURRENCE_STACK;return t[t.length-1]}},class{initLexerAdapter(){this.tokVector=[],this.tokVectorLength=0,this.currIdx=-1}set input(t){if(!0!==this.selfAnalysisDone)throw Error("Missing invocation at the end of the Parser's constructor.");this.reset(),this.tokVector=t,this.tokVectorLength=t.length}get input(){return this.tokVector}SKIP_TOKEN(){return this.currIdx<=this.tokVector.length-2?(this.consumeToken(),this.LA(1)):Ou}LA(t){const e=this.currIdx+t;return e<0||this.tokVectorLength<=e?Ou:this.tokVector[e]}consumeToken(){this.currIdx++}exportLexerState(){return this.currIdx}importLexerState(t){this.currIdx=t}resetLexerState(){this.currIdx=-1}moveToTerminatedState(){this.currIdx=this.tokVector.length-1}getLexerPosition(){return this.exportLexerState()}},class{initRecognizerEngine(t,e){if(this.className=this.constructor.name,this.shortRuleNameToFull={},this.fullRuleNameToShort={},this.ruleShortNameIdx=256,this.tokenMatcher=Ar,this.subruleIdx=0,this.definedRulesNames=[],this.tokensMap={},this.isBackTrackingStack=[],this.RULE_STACK=[],this.RULE_OCCURRENCE_STACK=[],this.gastProductionsCache={},h(e,"serializedGrammar"))throw Error("The Parser's configuration can no longer contain a property.\n\tSee: https://chevrotain.io/docs/changes/BREAKING_CHANGES.html#_6-0-0\n\tFor Further details.");if((0,ht.Z)(t)){if((0,a.Z)(t))throw Error("A Token Vocabulary cannot be empty.\n\tNote that the first argument for the parser constructor\n\tis no longer a Token vector (since v4.0).");if("number"==typeof t[0].startOffset)throw Error("The Parser constructor no longer accepts a token vector as the first argument.\n\tSee: https://chevrotain.io/docs/changes/BREAKING_CHANGES.html#_4-0-0\n\tFor Further details.")}if((0,ht.Z)(t))this.tokensMap=(0,yn.Z)(t,((t,e)=>(t[e.name]=e,t)),{});else if(h(t,"modes")&&Ge((0,Be.Z)(s(t.modes)),Sr)){const e=(0,Be.Z)(s(t.modes)),n=we(e);this.tokensMap=(0,yn.Z)(n,((t,e)=>(t[e.name]=e,t)),{})}else{if(!(0,T.Z)(t))throw new Error(" argument must be An Array of Token constructors, A dictionary of Token constructors or an IMultiModeLexerDefinition");this.tokensMap=kt(t)}this.tokensMap.EOF=Vr;const n=h(t,"modes")?(0,Be.Z)(s(t.modes)):s(t),r=Ge(n,(t=>(0,a.Z)(t.categoryMatches)));this.tokenMatcher=r?Ar:yr,xr(s(this.tokensMap))}defineRule(t,e,n){if(this.selfAnalysisDone)throw Error(`Grammar rule <${t}> may not be defined after the 'performSelfAnalysis' method has been called'\nMake sure that all grammar rule definitions are done before 'performSelfAnalysis' is called.`);const r=h(n,"resyncEnabled")?n.resyncEnabled:ku.resyncEnabled,o=h(n,"recoveryValueFunc")?n.recoveryValueFunc:ku.recoveryValueFunc,u=this.ruleShortNameIdx<<12;let i;return this.ruleShortNameIdx++,this.shortRuleNameToFull[u]=t,this.fullRuleNameToShort[t]=u,i=!0===this.outputCst?function(...n){try{this.ruleInvocationStateUpdate(u,t,this.subruleIdx),e.apply(this,n);const r=this.CST_STACK[this.CST_STACK.length-1];return this.cstPostRule(r),r}catch(i){return this.invokeRuleCatch(i,r,o)}finally{this.ruleFinallyStateUpdate()}}:function(...n){try{return this.ruleInvocationStateUpdate(u,t,this.subruleIdx),e.apply(this,n)}catch(i){return this.invokeRuleCatch(i,r,o)}finally{this.ruleFinallyStateUpdate()}},Object.assign(i,{ruleName:t,originalGrammarAction:e})}invokeRuleCatch(t,e,n){const r=1===this.RULE_STACK.length,o=e&&!this.isBackTracking()&&this.recoveryEnabled;if(Yo(t)){const e=t;if(o){const r=this.findReSyncTokenType();if(this.isInCurrentRuleReSyncSet(r)){if(e.resyncedTokens=this.reSyncTo(r),this.outputCst){const t=this.CST_STACK[this.CST_STACK.length-1];return t.recoveredNode=!0,t}return n(t)}if(this.outputCst){const t=this.CST_STACK[this.CST_STACK.length-1];t.recoveredNode=!0,e.partialCstResult=t}throw e}if(r)return this.moveToTerminatedState(),n(t);throw e}throw t}optionInternal(t,e){const n=this.getKeyForAutomaticLookahead(512,e);return this.optionInternalLogic(t,e,n)}optionInternalLogic(t,e,n){let r,o=this.getLaFuncFromCache(n);if("function"!=typeof t){r=t.DEF;const e=t.GATE;if(void 0!==e){const t=o;o=()=>e.call(this)&&t.call(this)}}else r=t;if(!0===o.call(this))return r.call(this)}atLeastOneInternal(t,e){const n=this.getKeyForAutomaticLookahead(uu,t);return this.atLeastOneInternalLogic(t,e,n)}atLeastOneInternalLogic(t,e,n){let r,o=this.getLaFuncFromCache(n);if("function"!=typeof e){r=e.DEF;const t=e.GATE;if(void 0!==t){const e=o;o=()=>t.call(this)&&e.call(this)}}else r=e;if(!0!==o.call(this))throw this.raiseEarlyExitException(t,mo.REPETITION_MANDATORY,e.ERR_MSG);{let t=this.doSingleRepetition(r);for(;!0===o.call(this)&&!0===t;)t=this.doSingleRepetition(r)}this.attemptInRepetitionRecovery(this.atLeastOneInternal,[t,e],o,uu,t,ho)}atLeastOneSepFirstInternal(t,e){const n=this.getKeyForAutomaticLookahead(su,t);this.atLeastOneSepFirstInternalLogic(t,e,n)}atLeastOneSepFirstInternalLogic(t,e,n){const r=e.DEF,o=e.SEP;if(!0!==this.getLaFuncFromCache(n).call(this))throw this.raiseEarlyExitException(t,mo.REPETITION_MANDATORY_WITH_SEPARATOR,e.ERR_MSG);{r.call(this);const e=()=>this.tokenMatcher(this.LA(1),o);for(;!0===this.tokenMatcher(this.LA(1),o);)this.CONSUME(o),r.call(this);this.attemptInRepetitionRecovery(this.repetitionSepSecondInternal,[t,o,e,r,po],e,su,t,po)}}manyInternal(t,e){const n=this.getKeyForAutomaticLookahead(768,t);return this.manyInternalLogic(t,e,n)}manyInternalLogic(t,e,n){let r,o=this.getLaFuncFromCache(n);if("function"!=typeof e){r=e.DEF;const t=e.GATE;if(void 0!==t){const e=o;o=()=>t.call(this)&&e.call(this)}}else r=e;let u=!0;for(;!0===o.call(this)&&!0===u;)u=this.doSingleRepetition(r);this.attemptInRepetitionRecovery(this.manyInternal,[t,e],o,768,t,Do,u)}manySepFirstInternal(t,e){const n=this.getKeyForAutomaticLookahead(iu,t);this.manySepFirstInternalLogic(t,e,n)}manySepFirstInternalLogic(t,e,n){const r=e.DEF,o=e.SEP;if(!0===this.getLaFuncFromCache(n).call(this)){r.call(this);const e=()=>this.tokenMatcher(this.LA(1),o);for(;!0===this.tokenMatcher(this.LA(1),o);)this.CONSUME(o),r.call(this);this.attemptInRepetitionRecovery(this.repetitionSepSecondInternal,[t,o,e,r,fo],e,iu,t,fo)}}repetitionSepSecondInternal(t,e,n,r,o){for(;n();)this.CONSUME(e),r.call(this);this.attemptInRepetitionRecovery(this.repetitionSepSecondInternal,[t,e,n,r,o],n,su,t,o)}doSingleRepetition(t){const e=this.getLexerPosition();return t.call(this),this.getLexerPosition()>e}orInternal(t,e){const n=this.getKeyForAutomaticLookahead(256,e),r=(0,ht.Z)(t)?t:t.DEF,o=this.getLaFuncFromCache(n).call(this,r);if(void 0!==o)return r[o].ALT.call(this);this.raiseNoAltException(e,t.ERR_MSG)}ruleFinallyStateUpdate(){if(this.RULE_STACK.pop(),this.RULE_OCCURRENCE_STACK.pop(),this.cstFinallyStateUpdate(),0===this.RULE_STACK.length&&!1===this.isAtEndOfInput()){const t=this.LA(1),e=this.errorMessageProvider.buildNotAllInputParsedMessage({firstRedundant:t,ruleName:this.getCurrRuleFullName()});this.SAVE_ERROR(new Qo(e,t))}}subruleInternal(t,e,n){let r;try{const o=void 0!==n?n.ARGS:void 0;return this.subruleIdx=e,r=t.apply(this,o),this.cstPostNonTerminal(r,void 0!==n&&void 0!==n.LABEL?n.LABEL:t.ruleName),r}catch(o){throw this.subruleInternalError(o,n,t.ruleName)}}subruleInternalError(t,e,n){throw Yo(t)&&void 0!==t.partialCstResult&&(this.cstPostNonTerminal(t.partialCstResult,void 0!==e&&void 0!==e.LABEL?e.LABEL:n),delete t.partialCstResult),t}consumeInternal(t,e,n){let r;try{const e=this.LA(1);!0===this.tokenMatcher(e,t)?(this.consumeToken(),r=e):this.consumeInternalError(t,e,n)}catch(o){r=this.consumeInternalRecovery(t,e,o)}return this.cstPostTerminal(void 0!==n&&void 0!==n.LABEL?n.LABEL:t.name,r),r}consumeInternalError(t,e,n){let r;const o=this.LA(0);throw r=void 0!==n&&n.ERR_MSG?n.ERR_MSG:this.errorMessageProvider.buildMismatchTokenMessage({expected:t,actual:e,previous:o,ruleName:this.getCurrRuleFullName()}),this.SAVE_ERROR(new Xo(r,e,o))}consumeInternalRecovery(t,e,n){if(!this.recoveryEnabled||"MismatchedTokenException"!==n.name||this.isBackTracking())throw n;{const o=this.getFollowsForInRuleRecovery(t,e);try{return this.tryInRuleRecovery(t,o)}catch(r){throw r.name===nu?n:r}}}saveRecogState(){const t=this.errors,e=kt(this.RULE_STACK);return{errors:t,lexerState:this.exportLexerState(),RULE_STACK:e,CST_STACK:this.CST_STACK}}reloadRecogState(t){this.errors=t.errors,this.importLexerState(t.lexerState),this.RULE_STACK=t.RULE_STACK}ruleInvocationStateUpdate(t,e,n){this.RULE_OCCURRENCE_STACK.push(n),this.RULE_STACK.push(t),this.cstInvocationStateUpdate(e)}isBackTracking(){return 0!==this.isBackTrackingStack.length}getCurrRuleFullName(){const t=this.getLastExplicitRuleShortName();return this.shortRuleNameToFull[t]}shortRuleNameToFullName(t){return this.shortRuleNameToFull[t]}isAtEndOfInput(){return this.tokenMatcher(this.LA(1),Vr)}reset(){this.resetLexerState(),this.subruleIdx=0,this.isBackTrackingStack=[],this.errors=[],this.RULE_STACK=[],this.CST_STACK=[],this.RULE_OCCURRENCE_STACK=[]}},class{ACTION(t){return t.call(this)}consume(t,e,n){return this.consumeInternal(e,t,n)}subrule(t,e,n){return this.subruleInternal(e,t,n)}option(t,e){return this.optionInternal(e,t)}or(t,e){return this.orInternal(e,t)}many(t,e){return this.manyInternal(t,e)}atLeastOne(t,e){return this.atLeastOneInternal(t,e)}CONSUME(t,e){return this.consumeInternal(t,0,e)}CONSUME1(t,e){return this.consumeInternal(t,1,e)}CONSUME2(t,e){return this.consumeInternal(t,2,e)}CONSUME3(t,e){return this.consumeInternal(t,3,e)}CONSUME4(t,e){return this.consumeInternal(t,4,e)}CONSUME5(t,e){return this.consumeInternal(t,5,e)}CONSUME6(t,e){return this.consumeInternal(t,6,e)}CONSUME7(t,e){return this.consumeInternal(t,7,e)}CONSUME8(t,e){return this.consumeInternal(t,8,e)}CONSUME9(t,e){return this.consumeInternal(t,9,e)}SUBRULE(t,e){return this.subruleInternal(t,0,e)}SUBRULE1(t,e){return this.subruleInternal(t,1,e)}SUBRULE2(t,e){return this.subruleInternal(t,2,e)}SUBRULE3(t,e){return this.subruleInternal(t,3,e)}SUBRULE4(t,e){return this.subruleInternal(t,4,e)}SUBRULE5(t,e){return this.subruleInternal(t,5,e)}SUBRULE6(t,e){return this.subruleInternal(t,6,e)}SUBRULE7(t,e){return this.subruleInternal(t,7,e)}SUBRULE8(t,e){return this.subruleInternal(t,8,e)}SUBRULE9(t,e){return this.subruleInternal(t,9,e)}OPTION(t){return this.optionInternal(t,0)}OPTION1(t){return this.optionInternal(t,1)}OPTION2(t){return this.optionInternal(t,2)}OPTION3(t){return this.optionInternal(t,3)}OPTION4(t){return this.optionInternal(t,4)}OPTION5(t){return this.optionInternal(t,5)}OPTION6(t){return this.optionInternal(t,6)}OPTION7(t){return this.optionInternal(t,7)}OPTION8(t){return this.optionInternal(t,8)}OPTION9(t){return this.optionInternal(t,9)}OR(t){return this.orInternal(t,0)}OR1(t){return this.orInternal(t,1)}OR2(t){return this.orInternal(t,2)}OR3(t){return this.orInternal(t,3)}OR4(t){return this.orInternal(t,4)}OR5(t){return this.orInternal(t,5)}OR6(t){return this.orInternal(t,6)}OR7(t){return this.orInternal(t,7)}OR8(t){return this.orInternal(t,8)}OR9(t){return this.orInternal(t,9)}MANY(t){this.manyInternal(0,t)}MANY1(t){this.manyInternal(1,t)}MANY2(t){this.manyInternal(2,t)}MANY3(t){this.manyInternal(3,t)}MANY4(t){this.manyInternal(4,t)}MANY5(t){this.manyInternal(5,t)}MANY6(t){this.manyInternal(6,t)}MANY7(t){this.manyInternal(7,t)}MANY8(t){this.manyInternal(8,t)}MANY9(t){this.manyInternal(9,t)}MANY_SEP(t){this.manySepFirstInternal(0,t)}MANY_SEP1(t){this.manySepFirstInternal(1,t)}MANY_SEP2(t){this.manySepFirstInternal(2,t)}MANY_SEP3(t){this.manySepFirstInternal(3,t)}MANY_SEP4(t){this.manySepFirstInternal(4,t)}MANY_SEP5(t){this.manySepFirstInternal(5,t)}MANY_SEP6(t){this.manySepFirstInternal(6,t)}MANY_SEP7(t){this.manySepFirstInternal(7,t)}MANY_SEP8(t){this.manySepFirstInternal(8,t)}MANY_SEP9(t){this.manySepFirstInternal(9,t)}AT_LEAST_ONE(t){this.atLeastOneInternal(0,t)}AT_LEAST_ONE1(t){return this.atLeastOneInternal(1,t)}AT_LEAST_ONE2(t){this.atLeastOneInternal(2,t)}AT_LEAST_ONE3(t){this.atLeastOneInternal(3,t)}AT_LEAST_ONE4(t){this.atLeastOneInternal(4,t)}AT_LEAST_ONE5(t){this.atLeastOneInternal(5,t)}AT_LEAST_ONE6(t){this.atLeastOneInternal(6,t)}AT_LEAST_ONE7(t){this.atLeastOneInternal(7,t)}AT_LEAST_ONE8(t){this.atLeastOneInternal(8,t)}AT_LEAST_ONE9(t){this.atLeastOneInternal(9,t)}AT_LEAST_ONE_SEP(t){this.atLeastOneSepFirstInternal(0,t)}AT_LEAST_ONE_SEP1(t){this.atLeastOneSepFirstInternal(1,t)}AT_LEAST_ONE_SEP2(t){this.atLeastOneSepFirstInternal(2,t)}AT_LEAST_ONE_SEP3(t){this.atLeastOneSepFirstInternal(3,t)}AT_LEAST_ONE_SEP4(t){this.atLeastOneSepFirstInternal(4,t)}AT_LEAST_ONE_SEP5(t){this.atLeastOneSepFirstInternal(5,t)}AT_LEAST_ONE_SEP6(t){this.atLeastOneSepFirstInternal(6,t)}AT_LEAST_ONE_SEP7(t){this.atLeastOneSepFirstInternal(7,t)}AT_LEAST_ONE_SEP8(t){this.atLeastOneSepFirstInternal(8,t)}AT_LEAST_ONE_SEP9(t){this.atLeastOneSepFirstInternal(9,t)}RULE(t,e,n=ku){if($e(this.definedRulesNames,t)){const e={message:Jr.buildDuplicateRuleNameError({topLevelRule:t,grammarName:this.className}),type:Su.DUPLICATE_RULE_NAME,ruleName:t};this.definitionErrors.push(e)}this.definedRulesNames.push(t);const r=this.defineRule(t,e,n);return this[t]=r,r}OVERRIDE_RULE(t,e,n=ku){const r=function(t,e,n){const r=[];let o;return $e(e,t)||(o=`Invalid rule override, rule: ->${t}<- cannot be overridden in the grammar: ->${n}<-as it is not defined in any of the super grammars `,r.push({message:o,type:Su.INVALID_RULE_OVERRIDE,ruleName:t})),r}(t,this.definedRulesNames,this.className);this.definitionErrors=this.definitionErrors.concat(r);const o=this.defineRule(t,e,n);return this[t]=o,o}BACKTRACK(t,e){return function(){this.isBackTrackingStack.push(1);const n=this.saveRecogState();try{return t.apply(this,e),!0}catch(r){if(Yo(r))return!1;throw r}finally{this.reloadRecogState(n),this.isBackTrackingStack.pop()}}}getGAstProductions(){return this.gastProductionsCache}getSerializedGastProductions(){return t=s(this.gastProductionsCache),(0,c.Z)(t,Se);var t}},class{initErrorHandler(t){this._errors=[],this.errorMessageProvider=h(t,"errorMessageProvider")?t.errorMessageProvider:_u.errorMessageProvider}SAVE_ERROR(t){if(Yo(t))return t.context={ruleStack:this.getHumanReadableRuleStack(),ruleOccurrenceStack:kt(this.RULE_OCCURRENCE_STACK)},this._errors.push(t),t;throw Error("Trying to save an Error which is not a RecognitionException")}get errors(){return kt(this._errors)}set errors(t){this._errors=t}raiseEarlyExitException(t,e,n){const r=this.getCurrRuleFullName(),o=Io(t,this.getGAstProductions()[r],e,this.maxLookahead)[0],u=[];for(let s=1;s<=this.maxLookahead;s++)u.push(this.LA(s));const i=this.errorMessageProvider.buildEarlyExitMessage({expectedIterationPaths:o,actual:u,previous:this.LA(0),customUserDescription:n,ruleName:r});throw this.SAVE_ERROR(new tu(i,this.LA(1),this.LA(0)))}raiseNoAltException(t,e){const n=this.getCurrRuleFullName(),r=So(t,this.getGAstProductions()[n],this.maxLookahead),o=[];for(let s=1;s<=this.maxLookahead;s++)o.push(this.LA(s));const u=this.LA(0),i=this.errorMessageProvider.buildNoViableAltMessage({expectedPathsPerAlt:r,actual:o,previous:u,customUserDescription:e,ruleName:this.getCurrRuleFullName()});throw this.SAVE_ERROR(new Jo(i,this.LA(1),u))}},class{initContentAssist(){}computeContentAssist(t,e){const n=this.gastProductionsCache[t];if(Xe(n))throw Error(`Rule ->${t}<- does not exist in this grammar.`);return Eo([n],e,this.tokenMatcher,this.maxLookahead)}getNextPossibleTokenTypes(t){const e=wn(t.ruleStack),n=this.getGAstProductions()[e];return new co(n,t).startWalking()}},class{initGastRecorder(t){this.recordingProdStack=[],this.RECORDING_PHASE=!1}enableRecording(){this.RECORDING_PHASE=!0,this.TRACE_INIT("Enable Recording",(()=>{for(let t=0;t<10;t++){const e=t>0?t:"";this[`CONSUME${e}`]=function(e,n){return this.consumeInternalRecord(e,t,n)},this[`SUBRULE${e}`]=function(e,n){return this.subruleInternalRecord(e,t,n)},this[`OPTION${e}`]=function(e){return this.optionInternalRecord(e,t)},this[`OR${e}`]=function(e){return this.orInternalRecord(e,t)},this[`MANY${e}`]=function(e){this.manyInternalRecord(t,e)},this[`MANY_SEP${e}`]=function(e){this.manySepFirstInternalRecord(t,e)},this[`AT_LEAST_ONE${e}`]=function(e){this.atLeastOneInternalRecord(t,e)},this[`AT_LEAST_ONE_SEP${e}`]=function(e){this.atLeastOneSepFirstInternalRecord(t,e)}}this.consume=function(t,e,n){return this.consumeInternalRecord(e,t,n)},this.subrule=function(t,e,n){return this.subruleInternalRecord(e,t,n)},this.option=function(t,e){return this.optionInternalRecord(e,t)},this.or=function(t,e){return this.orInternalRecord(e,t)},this.many=function(t,e){this.manyInternalRecord(t,e)},this.atLeastOne=function(t,e){this.atLeastOneInternalRecord(t,e)},this.ACTION=this.ACTION_RECORD,this.BACKTRACK=this.BACKTRACK_RECORD,this.LA=this.LA_RECORD}))}disableRecording(){this.RECORDING_PHASE=!1,this.TRACE_INIT("Deleting Recording methods",(()=>{const t=this;for(let e=0;e<10;e++){const n=e>0?e:"";delete t[`CONSUME${n}`],delete t[`SUBRULE${n}`],delete t[`OPTION${n}`],delete t[`OR${n}`],delete t[`MANY${n}`],delete t[`MANY_SEP${n}`],delete t[`AT_LEAST_ONE${n}`],delete t[`AT_LEAST_ONE_SEP${n}`]}delete t.consume,delete t.subrule,delete t.option,delete t.or,delete t.many,delete t.atLeastOne,delete t.ACTION,delete t.BACKTRACK,delete t.LA}))}ACTION_RECORD(t){}BACKTRACK_RECORD(t,e){return()=>!0}LA_RECORD(t){return Ou}topLevelRuleRecord(t,e){try{const n=new Ce({definition:[],name:t});return n.name=t,this.recordingProdStack.push(n),e.call(this),this.recordingProdStack.pop(),n}catch(n){if(!0!==n.KNOWN_RECORDER_ERROR)try{n.message=n.message+'\n\t This error was thrown during the "grammar recording phase" For more info see:\n\thttps://chevrotain.io/docs/guide/internals.html#grammar-recording'}catch(r){throw n}throw n}}optionInternalRecord(t,e){return Au.call(this,Ae,t,e)}atLeastOneInternalRecord(t,e){Au.call(this,be,e,t)}atLeastOneSepFirstInternalRecord(t,e){Au.call(this,Te,e,t,!0)}manyInternalRecord(t,e){Au.call(this,xe,e,t)}manySepFirstInternalRecord(t,e){Au.call(this,Oe,e,t,!0)}orInternalRecord(t,e){return bu.call(this,t,e)}subruleInternalRecord(t,e,n){if(xu(e),!t||!1===h(t,"ruleName")){const n=new Error(` argument is invalid expecting a Parser method reference but got: <${JSON.stringify(t)}>\n inside top level rule: <${this.recordingProdStack[0].name}>`);throw n.KNOWN_RECORDER_ERROR=!0,n}const r=vr(this.recordingProdStack),o=t.ruleName,u=new ve({idx:e,nonTerminalName:o,label:null==n?void 0:n.LABEL,referencedRule:void 0});return r.definition.push(u),this.outputCst?yu:gu}consumeInternalRecord(t,e,n){if(xu(e),!_r(t)){const n=new Error(` argument is invalid expecting a TokenType reference but got: <${JSON.stringify(t)}>\n inside top level rule: <${this.recordingProdStack[0].name}>`);throw n.KNOWN_RECORDER_ERROR=!0,n}const r=vr(this.recordingProdStack),o=new ke({idx:e,terminalType:t,label:null==n?void 0:n.LABEL});return r.definition.push(o),Cu}},class{initPerformanceTracer(t){if(h(t,"traceInitPerf")){const e=t.traceInitPerf,n="number"==typeof e;this.traceInitMaxIdent=n?e:1/0,this.traceInitPerf=n?e>0:e}else this.traceInitMaxIdent=0,this.traceInitPerf=_u.traceInitPerf;this.traceInitIndent=-1}TRACE_INIT(t,e){if(!0===this.traceInitPerf){this.traceInitIndent++;const n=new Array(this.traceInitIndent+1).join("\t");this.traceInitIndent`);const{time:r,value:o}=Cr(e),u=r>10?console.warn:console.log;return this.traceInitIndent time: ${r}ms`),this.traceInitIndent--,o}return e()}}].forEach((t=>{const e=t.prototype;Object.getOwnPropertyNames(e).forEach((n=>{if("constructor"===n)return;const r=Object.getOwnPropertyDescriptor(e,n);r&&(r.get||r.set)?Object.defineProperty(Iu.prototype,n,r):Iu.prototype[n]=t.prototype[n]}))}));class Ru extends Nu{constructor(t,e=_u){const n=kt(e);n.outputCst=!0,super(t,n)}}},9115:(t,e,n)=>{"use strict";n.d(e,{Z:()=>f});const r=function(){this.__data__=[],this.size=0};var o=n(8916);const u=function(t,e){for(var n=t.length;n--;)if((0,o.Z)(t[n][0],e))return n;return-1};var i=Array.prototype.splice;const s=function(t){var e=this.__data__,n=u(e,t);return!(n<0)&&(n==e.length-1?e.pop():i.call(e,n,1),--this.size,!0)};const a=function(t){var e=this.__data__,n=u(e,t);return n<0?void 0:e[n][1]};const c=function(t){return u(this.__data__,t)>-1};const l=function(t,e){var n=this.__data__,r=u(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this};function D(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e{"use strict";n.d(e,{Z:()=>u});var r=n(5565),o=n(7659);const u=(0,r.Z)(o.Z,"Map")},1056:(t,e,n)=>{"use strict";n.d(e,{Z:()=>A});const r=(0,n(5565).Z)(Object,"create");const o=function(){this.__data__=r?r(null):{},this.size=0};const u=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e};var i=Object.prototype.hasOwnProperty;const s=function(t){var e=this.__data__;if(r){var n=e[t];return"__lodash_hash_undefined__"===n?void 0:n}return i.call(e,t)?e[t]:void 0};var a=Object.prototype.hasOwnProperty;const c=function(t){var e=this.__data__;return r?void 0!==e[t]:a.call(e,t)};const l=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=r&&void 0===e?"__lodash_hash_undefined__":e,this};function D(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e{"use strict";n.d(e,{Z:()=>u});var r=n(5565),o=n(7659);const u=(0,r.Z)(o.Z,"Set")},8017:(t,e,n)=>{"use strict";n.d(e,{Z:()=>s});var r=n(1056);const o=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this};const u=function(t){return this.__data__.has(t)};function i(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new r.Z;++e{"use strict";n.d(e,{Z:()=>f});var r=n(9115);const o=function(){this.__data__=new r.Z,this.size=0};const u=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n};const i=function(t){return this.__data__.get(t)};const s=function(t){return this.__data__.has(t)};var a=n(6462),c=n(1056);const l=function(t,e){var n=this.__data__;if(n instanceof r.Z){var o=n.__data__;if(!a.Z||o.length<199)return o.push([t,e]),this.size=++n.size,this;n=this.__data__=new c.Z(o)}return n.set(t,e),this.size=n.size,this};function D(t){var e=this.__data__=new r.Z(t);this.size=e.size}D.prototype.clear=o,D.prototype.delete=u,D.prototype.get=i,D.prototype.has=s,D.prototype.set=l;const f=D},9e3:(t,e,n)=>{"use strict";n.d(e,{Z:()=>r});const r=n(7659).Z.Symbol},6421:(t,e,n)=>{"use strict";n.d(e,{Z:()=>r});const r=n(7659).Z.Uint8Array},2020:(t,e,n)=>{"use strict";n.d(e,{Z:()=>r});const r=function(t,e){for(var n=-1,r=null==t?0:t.length;++n{"use strict";n.d(e,{Z:()=>r});const r=function(t,e){for(var n=-1,r=null==t?0:t.length,o=0,u=[];++n{"use strict";n.d(e,{Z:()=>o});var r=n(7162);const o=function(t,e){return!!(null==t?0:t.length)&&(0,r.Z)(t,e,0)>-1}},670:(t,e,n)=>{"use strict";n.d(e,{Z:()=>r});const r=function(t,e,n){for(var r=-1,o=null==t?0:t.length;++r{"use strict";n.d(e,{Z:()=>l});const r=function(t,e){for(var n=-1,r=Array(t);++n{"use strict";n.d(e,{Z:()=>r});const r=function(t,e){for(var n=-1,r=null==t?0:t.length,o=Array(r);++n{"use strict";n.d(e,{Z:()=>r});const r=function(t,e){for(var n=-1,r=e.length,o=t.length;++n{"use strict";n.d(e,{Z:()=>r});const r=function(t,e){for(var n=-1,r=null==t?0:t.length;++n{"use strict";n.d(e,{Z:()=>s});const r=function(t){return function(e,n,r){for(var o=-1,u=Object(e),i=r(e),s=i.length;s--;){var a=i[t?s:++o];if(!1===n(u[a],a,u))break}return e}}();var o=n(4778);const u=function(t,e){return t&&r(t,e,o.Z)};var i=n(9458);const s=function(t,e){return function(n,r){if(null==n)return n;if(!(0,i.Z)(n))return t(n,r);for(var o=n.length,u=e?o:-1,s=Object(n);(e?u--:++u{"use strict";n.d(e,{Z:()=>o});var r=n(2688);const o=function(t,e){var n=[];return(0,r.Z)(t,(function(t,r,o){e(t,r,o)&&n.push(t)})),n}},8953:(t,e,n)=>{"use strict";n.d(e,{Z:()=>r});const r=function(t,e,n,r){for(var o=t.length,u=n+(r?1:-1);r?u--:++u{"use strict";n.d(e,{Z:()=>c});var r=n(7891),o=n(9e3),u=n(5998),i=n(7838),s=o.Z?o.Z.isConcatSpreadable:void 0;const a=function(t){return(0,i.Z)(t)||(0,u.Z)(t)||!!(s&&t&&t[s])};const c=function t(e,n,o,u,i){var s=-1,c=e.length;for(o||(o=a),i||(i=[]);++s0&&o(l)?n>1?t(l,n-1,o,u,i):(0,r.Z)(i,l):u||(i[i.length]=l)}return i}},2825:(t,e,n)=>{"use strict";n.d(e,{Z:()=>u});var r=n(7345),o=n(9316);const u=function(t,e){for(var n=0,u=(e=(0,r.Z)(e,t)).length;null!=t&&n{"use strict";n.d(e,{Z:()=>u});var r=n(7891),o=n(7838);const u=function(t,e,n){var u=e(t);return(0,o.Z)(t)?u:(0,r.Z)(u,n(t))}},7640:(t,e,n)=>{"use strict";n.d(e,{Z:()=>f});var r=n(9e3),o=Object.prototype,u=o.hasOwnProperty,i=o.toString,s=r.Z?r.Z.toStringTag:void 0;const a=function(t){var e=u.call(t,s),n=t[s];try{t[s]=void 0;var r=!0}catch(a){}var o=i.call(t);return r&&(e?t[s]=n:delete t[s]),o};var c=Object.prototype.toString;const l=function(t){return c.call(t)};var D=r.Z?r.Z.toStringTag:void 0;const f=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":D&&D in Object(t)?a(t):l(t)}},7162:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});var r=n(8953);const o=function(t){return t!=t};const u=function(t,e,n){for(var r=n-1,o=t.length;++r{"use strict";n.d(e,{Z:()=>Y});var r=n(2178),o=n(8017),u=n(766),i=n(8923);const s=function(t,e,n,r,s,a){var c=1&n,l=t.length,D=e.length;if(l!=D&&!(c&&D>l))return!1;var f=a.get(t),h=a.get(e);if(f&&h)return f==e&&h==t;var d=-1,p=!0,F=2&n?new o.Z:void 0;for(a.set(t,e),a.set(e,t);++d{"use strict";n.d(e,{Z:()=>i});var r=n(4357);const o=(0,n(4068).Z)(Object.keys,Object);var u=Object.prototype.hasOwnProperty;const i=function(t){if(!(0,r.Z)(t))return o(t);var e=[];for(var n in Object(t))u.call(t,n)&&"constructor"!=n&&e.push(n);return e}},2052:(t,e,n)=>{"use strict";n.d(e,{Z:()=>r});const r=function(t){return function(e){return t(e)}}},7650:(t,e,n)=>{"use strict";n.d(e,{Z:()=>D});var r=n(8017),o=n(3744),u=n(670),i=n(8923),s=n(9228),a=n(7051),c=n(877);const l=s.Z&&1/(0,c.Z)(new s.Z([,-0]))[1]==1/0?function(t){return new s.Z(t)}:a.Z;const D=function(t,e,n){var s=-1,a=o.Z,D=t.length,f=!0,h=[],d=h;if(n)f=!1,a=u.Z;else if(D>=200){var p=e?null:l(t);if(p)return(0,c.Z)(p);f=!1,a=i.Z,d=new r.Z}else d=e?[]:h;t:for(;++s{"use strict";n.d(e,{Z:()=>r});const r=function(t,e){return t.has(e)}},7345:(t,e,n)=>{"use strict";n.d(e,{Z:()=>g});var r=n(7838),o=n(7990),u=n(1056);function i(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var n=function(){var r=arguments,o=e?e.apply(this,r):r[0],u=n.cache;if(u.has(o))return u.get(o);var i=t.apply(this,r);return n.cache=u.set(o,i)||u,i};return n.cache=new(i.Cache||u.Z),n}i.Cache=u.Z;const s=i;var a=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,c=/\\(\\)?/g;const l=function(t){var e=s(t,(function(t){return 500===n.size&&n.clear(),t})),n=e.cache;return e}((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(a,(function(t,n,r,o){e.push(r?o.replace(c,"$1"):n||t)})),e}));var D=n(9e3),f=n(497),h=n(4878),d=D.Z?D.Z.prototype:void 0,p=d?d.toString:void 0;const F=function t(e){if("string"==typeof e)return e;if((0,r.Z)(e))return(0,f.Z)(e,t)+"";if((0,h.Z)(e))return p?p.call(e):"";var n=e+"";return"0"==n&&1/e==-Infinity?"-0":n};const E=function(t){return null==t?"":F(t)};const g=function(t,e){return(0,r.Z)(t)?t:(0,o.Z)(t,e)?[t]:l(E(t))}},8055:(t,e,n)=>{"use strict";n.d(e,{Z:()=>r});const r="object"==typeof global&&global&&global.Object===Object&&global},2879:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});var r=n(5976),o=n(7538),u=n(4778);const i=function(t){return(0,r.Z)(t,u.Z,o.Z)}},5565:(t,e,n)=>{"use strict";n.d(e,{Z:()=>g});var r=n(8246);const o=n(7659).Z["__core-js_shared__"];var u,i=(u=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+u:"";const s=function(t){return!!i&&i in t};var a=n(369),c=n(4549),l=/^\[object .+?Constructor\]$/,D=Function.prototype,f=Object.prototype,h=D.toString,d=f.hasOwnProperty,p=RegExp("^"+h.call(d).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const F=function(t){return!(!(0,a.Z)(t)||s(t))&&((0,r.Z)(t)?p:l).test((0,c.Z)(t))};const E=function(t,e){return null==t?void 0:t[e]};const g=function(t,e){var n=E(t,e);return F(n)?n:void 0}},7538:(t,e,n)=>{"use strict";n.d(e,{Z:()=>s});var r=n(9878),o=n(3464),u=Object.prototype.propertyIsEnumerable,i=Object.getOwnPropertySymbols;const s=i?function(t){return null==t?[]:(t=Object(t),(0,r.Z)(i(t),(function(e){return u.call(t,e)})))}:o.Z},8023:(t,e,n)=>{"use strict";n.d(e,{Z:()=>A});var r=n(5565),o=n(7659);const u=(0,r.Z)(o.Z,"DataView");var i=n(6462);const s=(0,r.Z)(o.Z,"Promise");var a=n(9228);const c=(0,r.Z)(o.Z,"WeakMap");var l=n(7640),D=n(4549),f="[object Map]",h="[object Promise]",d="[object Set]",p="[object WeakMap]",F="[object DataView]",E=(0,D.Z)(u),g=(0,D.Z)(i.Z),m=(0,D.Z)(s),v=(0,D.Z)(a.Z),C=(0,D.Z)(c),y=l.Z;(u&&y(new u(new ArrayBuffer(1)))!=F||i.Z&&y(new i.Z)!=f||s&&y(s.resolve())!=h||a.Z&&y(new a.Z)!=d||c&&y(new c)!=p)&&(y=function(t){var e=(0,l.Z)(t),n="[object Object]"==e?t.constructor:void 0,r=n?(0,D.Z)(n):"";if(r)switch(r){case E:return F;case g:return f;case m:return h;case v:return d;case C:return p}return e});const A=y},5942:(t,e,n)=>{"use strict";n.d(e,{Z:()=>c});var r=n(7345),o=n(5998),u=n(7838),i=n(2916),s=n(7614),a=n(9316);const c=function(t,e,n){for(var c=-1,l=(e=(0,r.Z)(e,t)).length,D=!1;++c{"use strict";n.d(e,{Z:()=>o});var r=/^(?:0|[1-9]\d*)$/;const o=function(t,e){var n=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==n||"symbol"!=n&&r.test(t))&&t>-1&&t%1==0&&t{"use strict";n.d(e,{Z:()=>s});var r=n(7838),o=n(4878),u=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,i=/^\w*$/;const s=function(t,e){if((0,r.Z)(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!(0,o.Z)(t))||(i.test(t)||!u.test(t)||null!=e&&t in Object(e))}},4357:(t,e,n)=>{"use strict";n.d(e,{Z:()=>o});var r=Object.prototype;const o=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||r)}},7433:(t,e,n)=>{"use strict";n.d(e,{Z:()=>s});var r=n(8055),o="object"==typeof exports&&exports&&!exports.nodeType&&exports,u=o&&"object"==typeof module&&module&&!module.nodeType&&module,i=u&&u.exports===o&&r.Z.process;const s=function(){try{var t=u&&u.require&&u.require("util").types;return t||i&&i.binding&&i.binding("util")}catch(e){}}()},4068:(t,e,n)=>{"use strict";n.d(e,{Z:()=>r});const r=function(t,e){return function(n){return t(e(n))}}},7659:(t,e,n)=>{"use strict";n.d(e,{Z:()=>u});var r=n(8055),o="object"==typeof self&&self&&self.Object===Object&&self;const u=r.Z||o||Function("return this")()},877:(t,e,n)=>{"use strict";n.d(e,{Z:()=>r});const r=function(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n}},9316:(t,e,n)=>{"use strict";n.d(e,{Z:()=>o});var r=n(4878);const o=function(t){if("string"==typeof t||(0,r.Z)(t))return t;var e=t+"";return"0"==e&&1/t==-Infinity?"-0":e}},4549:(t,e,n)=>{"use strict";n.d(e,{Z:()=>o});var r=Function.prototype.toString;const o=function(t){if(null!=t){try{return r.call(t)}catch(e){}try{return t+""}catch(e){}}return""}},8916:(t,e,n)=>{"use strict";n.d(e,{Z:()=>r});const r=function(t,e){return t===e||t!=t&&e!=e}},8226:(t,e,n)=>{"use strict";n.d(e,{Z:()=>s});var r=n(9878),o=n(136),u=n(7054),i=n(7838);const s=function(t,e){return((0,i.Z)(t)?r.Z:o.Z)(t,(0,u.Z)(e,3))}},1453:(t,e,n)=>{"use strict";n.d(e,{Z:()=>u});var r=n(5556),o=n(407);const u=function(t,e){return(0,r.Z)((0,o.Z)(t,e),1)}},4605:(t,e,n)=>{"use strict";n.d(e,{Z:()=>o});var r=n(5556);const o=function(t){return(null==t?0:t.length)?(0,r.Z)(t,1):[]}},1146:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var r=n(2020),o=n(2688),u=n(4111);const i=function(t){return"function"==typeof t?t:u.Z};var s=n(7838);const a=function(t,e){return((0,s.Z)(t)?r.Z:o.Z)(t,i(e))}},4111:(t,e,n)=>{"use strict";n.d(e,{Z:()=>r});const r=function(t){return t}},5998:(t,e,n)=>{"use strict";n.d(e,{Z:()=>c});var r=n(7640),o=n(8742);const u=function(t){return(0,o.Z)(t)&&"[object Arguments]"==(0,r.Z)(t)};var i=Object.prototype,s=i.hasOwnProperty,a=i.propertyIsEnumerable;const c=u(function(){return arguments}())?u:function(t){return(0,o.Z)(t)&&s.call(t,"callee")&&!a.call(t,"callee")}},7838:(t,e,n)=>{"use strict";n.d(e,{Z:()=>r});const r=Array.isArray},9458:(t,e,n)=>{"use strict";n.d(e,{Z:()=>u});var r=n(8246),o=n(7614);const u=function(t){return null!=t&&(0,o.Z)(t.length)&&!(0,r.Z)(t)}},5633:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var r=n(7659);const o=function(){return!1};var u="object"==typeof exports&&exports&&!exports.nodeType&&exports,i=u&&"object"==typeof module&&module&&!module.nodeType&&module,s=i&&i.exports===u?r.Z.Buffer:void 0;const a=(s?s.isBuffer:void 0)||o},9955:(t,e,n)=>{"use strict";n.d(e,{Z:()=>f});var r=n(8410),o=n(8023),u=n(5998),i=n(7838),s=n(9458),a=n(5633),c=n(4357),l=n(7065),D=Object.prototype.hasOwnProperty;const f=function(t){if(null==t)return!0;if((0,s.Z)(t)&&((0,i.Z)(t)||"string"==typeof t||"function"==typeof t.splice||(0,a.Z)(t)||(0,l.Z)(t)||(0,u.Z)(t)))return!t.length;var e=(0,o.Z)(t);if("[object Map]"==e||"[object Set]"==e)return!t.size;if((0,c.Z)(t))return!(0,r.Z)(t).length;for(var n in t)if(D.call(t,n))return!1;return!0}},8246:(t,e,n)=>{"use strict";n.d(e,{Z:()=>u});var r=n(7640),o=n(369);const u=function(t){if(!(0,o.Z)(t))return!1;var e=(0,r.Z)(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},7614:(t,e,n)=>{"use strict";n.d(e,{Z:()=>r});const r=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},369:(t,e,n)=>{"use strict";n.d(e,{Z:()=>r});const r=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},8742:(t,e,n)=>{"use strict";n.d(e,{Z:()=>r});const r=function(t){return null!=t&&"object"==typeof t}},4878:(t,e,n)=>{"use strict";n.d(e,{Z:()=>u});var r=n(7640),o=n(8742);const u=function(t){return"symbol"==typeof t||(0,o.Z)(t)&&"[object Symbol]"==(0,r.Z)(t)}},7065:(t,e,n)=>{"use strict";n.d(e,{Z:()=>D});var r=n(7640),o=n(7614),u=n(8742),i={};i["[object Float32Array]"]=i["[object Float64Array]"]=i["[object Int8Array]"]=i["[object Int16Array]"]=i["[object Int32Array]"]=i["[object Uint8Array]"]=i["[object Uint8ClampedArray]"]=i["[object Uint16Array]"]=i["[object Uint32Array]"]=!0,i["[object Arguments]"]=i["[object Array]"]=i["[object ArrayBuffer]"]=i["[object Boolean]"]=i["[object DataView]"]=i["[object Date]"]=i["[object Error]"]=i["[object Function]"]=i["[object Map]"]=i["[object Number]"]=i["[object Object]"]=i["[object RegExp]"]=i["[object Set]"]=i["[object String]"]=i["[object WeakMap]"]=!1;const s=function(t){return(0,u.Z)(t)&&(0,o.Z)(t.length)&&!!i[(0,r.Z)(t)]};var a=n(2052),c=n(7433),l=c.Z&&c.Z.isTypedArray;const D=l?(0,a.Z)(l):s},4778:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});var r=n(9852),o=n(8410),u=n(9458);const i=function(t){return(0,u.Z)(t)?(0,r.Z)(t):(0,o.Z)(t)}},407:(t,e,n)=>{"use strict";n.d(e,{Z:()=>c});var r=n(497),o=n(7054),u=n(2688),i=n(9458);const s=function(t,e){var n=-1,r=(0,i.Z)(t)?Array(t.length):[];return(0,u.Z)(t,(function(t,o,u){r[++n]=e(t,o,u)})),r};var a=n(7838);const c=function(t,e){return((0,a.Z)(t)?r.Z:s)(t,(0,o.Z)(e,3))}},7051:(t,e,n)=>{"use strict";n.d(e,{Z:()=>r});const r=function(){}},4632:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});const r=function(t,e,n,r){var o=-1,u=null==t?0:t.length;for(r&&u&&(n=t[++o]);++o{"use strict";n.d(e,{Z:()=>r});const r=function(){return[]}},2411:(t,e,n)=>{"use strict";n.d(e,{builders:()=>ft});var r=Object.defineProperty,o={};((t,e)=>{for(var n in e)r(t,n,{get:e[n],enumerable:!0})})(o,{builders:()=>ft,printer:()=>ht,utils:()=>dt});var u="string",i="array",s="cursor",a="indent",c="align",l="trim",D="group",f="fill",h="if-break",d="indent-if-break",p="line-suffix",F="line-suffix-boundary",E="line",g="label",m="break-parent",v=new Set([s,a,c,l,D,f,h,d,p,F,E,g,m]);var C=function(t){if("string"==typeof t)return u;if(Array.isArray(t))return i;if(!t)return;const{type:e}=t;return v.has(e)?e:void 0};function y(t){const e=null===t?"null":typeof t;if("string"!==e&&"object"!==e)return`Unexpected doc '${e}', \nExpected it to be 'string' or 'object'.`;if(C(t))throw new Error("doc is valid.");const n=Object.prototype.toString.call(t);if("[object Object]"!==n)return`Unexpected doc '${n}'.`;const r=(o=[...v].map((t=>`'${t}'`)),new Intl.ListFormat("en-US",{type:"disjunction"}).format(o));var o;return`Unexpected doc.type '${t.type}'.\nExpected it to be ${r}.`}var A=class extends Error{name="InvalidDocError";constructor(t){super(y(t)),this.doc=t}},b={};var T=function(t,e,n,r){const o=[t];for(;o.length>0;){const t=o.pop();if(t===b){n(o.pop());continue}n&&o.push(t,b);const v=C(t);if(!v)throw new A(t);if(!1!==(null==e?void 0:e(t)))switch(v){case i:case f:{const e=v===i?t:t.parts;for(let t=e.length-1;t>=0;--t)o.push(e[t]);break}case h:o.push(t.flatContents,t.breakContents);break;case D:if(r&&t.expandedStates)for(let e=t.expandedStates.length-1;e>=0;--e)o.push(t.expandedStates[e]);else o.push(t.contents);break;case c:case a:case d:case g:case p:o.push(t.contents);break;case u:case s:case l:case F:case E:case m:break;default:throw new A(t)}}},x=()=>{},O=x,_=x;function k(t){return O(t),{type:a,contents:t}}function S(t,e){return O(e),{type:c,contents:e,n:t}}function I(t,e={}){return O(t),_(e.expandedStates,!0),{type:D,id:e.id,contents:t,break:Boolean(e.shouldBreak),expandedStates:e.expandedStates}}function N(t){return _(t),{type:f,parts:t}}var R={type:F},w={type:m},B={type:l},L={type:E,hard:!0},P={type:E,hard:!0,literal:!0},Z={type:E},M={type:E,soft:!0},j=[L,w],U=[P,w],$={type:s};function W(t,e){O(t),_(e);const n=[];for(let r=0;r{if(!t||null!=e)return Array.isArray(e)||"string"==typeof e?e[n<0?e.length+n:n]:e.at(n)},G=(t,e,n,r)=>{if(!t||null!=e)return e.replaceAll?e.replaceAll(n,r):n.global?e.replace(n,r):e.split(n).join(r)};var K={eastAsianWidth(t){var e=t.charCodeAt(0),n=2==t.length?t.charCodeAt(1):0,r=e;return 55296<=e&&e<=56319&&56320<=n&&n<=57343&&(r=(e&=1023)<<10|(n&=1023),r+=65536),12288==r||65281<=r&&r<=65376||65504<=r&&r<=65510?"F":4352<=r&&r<=4447||4515<=r&&r<=4519||4602<=r&&r<=4607||9001<=r&&r<=9002||11904<=r&&r<=11929||11931<=r&&r<=12019||12032<=r&&r<=12245||12272<=r&&r<=12283||12289<=r&&r<=12350||12353<=r&&r<=12438||12441<=r&&r<=12543||12549<=r&&r<=12589||12593<=r&&r<=12686||12688<=r&&r<=12730||12736<=r&&r<=12771||12784<=r&&r<=12830||12832<=r&&r<=12871||12880<=r&&r<=13054||13056<=r&&r<=19903||19968<=r&&r<=42124||42128<=r&&r<=42182||43360<=r&&r<=43388||44032<=r&&r<=55203||55216<=r&&r<=55238||55243<=r&&r<=55291||63744<=r&&r<=64255||65040<=r&&r<=65049||65072<=r&&r<=65106||65108<=r&&r<=65126||65128<=r&&r<=65131||110592<=r&&r<=110593||127488<=r&&r<=127490||127504<=r&&r<=127546||127552<=r&&r<=127560||127568<=r&&r<=127569||131072<=r&&r<=194367||177984<=r&&r<=196605||196608<=r&&r<=262141?"W":"N"}},V=/[^\x20-\x7F]/;var H=function(t){if(!t)return 0;if(!V.test(t))return t.length;t=t.replace(/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26D3\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26F9(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC3\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC08\uDC26](?:\u200D\u2B1B)?|[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC2\uDECE-\uDEDB\uDEE0-\uDEE8]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g," ");let e=0;for(const n of t){const t=n.codePointAt(0);if(t<=31||t>=127&&t<=159)continue;if(t>=768&&t<=879)continue;const r=K.eastAsianWidth(n);e+="F"===r||"W"===r?2:1}return e},Y=t=>{if(Array.isArray(t))return t;if(t.type!==f)throw new Error(`Expect doc to be 'array' or '${f}'.`);return t.parts};function q(t,e){if("string"==typeof t)return e(t);const n=new Map;return r(t);function r(t){if(n.has(t))return n.get(t);const o=function(t){switch(C(t)){case i:return e(t.map(r));case f:return e({...t,parts:t.parts.map(r)});case h:return e({...t,breakContents:r(t.breakContents),flatContents:r(t.flatContents)});case D:{let{expandedStates:n,contents:o}=t;return n?(n=n.map(r),o=n[0]):o=r(o),e({...t,contents:o,expandedStates:n})}case c:case a:case d:case g:case p:return e({...t,contents:r(t.contents)});case u:case s:case l:case F:case E:case m:return e(t);default:throw new A(t)}}(t);return n.set(t,o),o}}function X(t,e,n){let r=n,o=!1;return T(t,(function(t){if(o)return!1;const n=e(t);void 0!==n&&(o=!0,r=n)})),r}function J(t){return!(t.type!==D||!t.break)||(!(t.type!==E||!t.hard)||(t.type===m||void 0))}function Q(t){if(t.length>0){const e=z(!1,t,-1);e.expandedStates||e.break||(e.break="propagated")}return null}function tt(t){return t.type!==E||t.hard?t.type===h?t.flatContents:t:t.soft?"":" "}function et(t){for(t=[...t];t.length>=2&&z(!1,t,-2).type===E&&z(!1,t,-1).type===m;)t.length-=2;if(t.length>0){const e=nt(z(!1,t,-1));t[t.length-1]=e}return t}function nt(t){switch(C(t)){case c:case a:case d:case D:case p:case g:{const e=nt(t.contents);return{...t,contents:e}}case h:return{...t,breakContents:nt(t.breakContents),flatContents:nt(t.flatContents)};case f:return{...t,parts:et(t.parts)};case i:return et(t);case u:return t.replace(/[\n\r]*$/,"");case s:case l:case F:case E:case m:break;default:throw new A(t)}return t}function rt(t){if(t.type===E)return!0}var ot=Symbol("MODE_BREAK"),ut=Symbol("MODE_FLAT"),it=Symbol("cursor");function st(t,e){return ct(t,{type:"indent"},e)}function at(t,e,n){if(e===Number.NEGATIVE_INFINITY)return t.root||{value:"",length:0,queue:[]};if(e<0)return ct(t,{type:"dedent"},n);if(!e)return t;if("root"===e.type)return{...t,root:t};return ct(t,{type:"string"==typeof e?"stringAlign":"numberAlign",n:e},n)}function ct(t,e,n){const r="dedent"===e.type?t.queue.slice(0,-1):[...t.queue,e];let o="",u=0,i=0,s=0;for(const h of r)switch(h.type){case"indent":l(),n.useTabs?a(1):c(n.tabWidth);break;case"stringAlign":l(),o+=h.n,u+=h.n.length;break;case"numberAlign":i+=1,s+=h.n;break;default:throw new Error(`Unexpected type '${h.type}'`)}return D(),{...t,value:o,length:u,queue:r};function a(t){o+="\t".repeat(t),u+=n.tabWidth*t}function c(t){o+=" ".repeat(t),u+=t}function l(){n.useTabs?function(){i>0&&a(i);f()}():D()}function D(){s>0&&c(s),f()}function f(){i=0,s=0}}function lt(t){let e=0,n=0,r=t.length;t:for(;r--;){const o=t[r];if(o!==it){0;for(let n=o.length-1;n>=0;n--){const u=o[n];if(" "!==u&&"\t"!==u){t[r]=o.slice(0,n+1);break t}e++}}else n++}if(e>0||n>0)for(t.length=r+1;n-- >0;)t.push(it);return e}function Dt(t,e,n,r,o,s){if(n===Number.POSITIVE_INFINITY)return!0;let m=e.length;const v=[t],y=[];for(;n>=0;){if(0===v.length){if(0===m)return!0;v.push(e[--m]);continue}const{mode:t,doc:A}=v.pop();switch(C(A)){case u:y.push(A),n-=H(A);break;case i:case f:{const e=Y(A);for(let n=e.length-1;n>=0;n--)v.push({mode:t,doc:e[n]});break}case a:case c:case d:case g:v.push({mode:t,doc:A.contents});break;case l:n+=lt(y);break;case D:{if(s&&A.break)return!1;const e=A.break?ot:t,n=A.expandedStates&&e===ot?z(!1,A.expandedStates,-1):A.contents;v.push({mode:e,doc:n});break}case h:{const e=(A.groupId?o[A.groupId]||ut:t)===ot?A.breakContents:A.flatContents;e&&v.push({mode:t,doc:e});break}case E:if(t===ot||A.hard)return!0;A.soft||(y.push(" "),n--);break;case p:r=!0;break;case F:if(r)return!1}}return!1}var ft={join:W,line:Z,softline:M,hardline:j,literalline:U,group:I,conditionalGroup:function(t,e){return I(t[0],{...e,expandedStates:t})},fill:N,lineSuffix:function(t){return O(t),{type:p,contents:t}},lineSuffixBoundary:R,cursor:$,breakParent:w,ifBreak:function(t,e="",n={}){return O(t),""!==e&&O(e),{type:h,breakContents:t,flatContents:e,groupId:n.groupId}},trim:B,indent:k,indentIfBreak:function(t,e){return O(t),{type:d,contents:t,groupId:e.groupId,negate:e.negate}},align:S,addAlignmentToDoc:function(t,e,n){O(t);let r=t;if(e>0){for(let t=0;tt},ht={printDocToString:function(t,e){const n={},r=e.printWidth,o=function(t){switch(t){case"cr":return"\r";case"crlf":return"\r\n";default:return"\n"}}(e.endOfLine);let v=0;const y=[{ind:{value:"",length:0,queue:[]},mode:ot,doc:t}],b=[];let x=!1;const O=[];let _=0;for(!function(t){const e=new Set,n=[];T(t,(function(t){if(t.type===m&&Q(n),t.type===D){if(n.push(t),e.has(t))return!1;e.add(t)}}),(function(t){t.type===D&&n.pop().break&&Q(n)}),!0)}(t);y.length>0;){const{ind:t,mode:T,doc:S}=y.pop();switch(C(S)){case u:{const t="\n"!==o?G(!1,S,"\n",o):S;b.push(t),y.length>0&&(v+=H(t));break}case i:for(let e=S.length-1;e>=0;e--)y.push({ind:t,mode:T,doc:S[e]});break;case s:if(_>=2)throw new Error("There are too many 'cursor' in doc.");b.push(it),_++;break;case a:y.push({ind:st(t,e),mode:T,doc:S.contents});break;case c:y.push({ind:at(t,S.n,e),mode:T,doc:S.contents});break;case l:v-=lt(b);break;case D:switch(T){case ut:if(!x){y.push({ind:t,mode:S.break?ot:ut,doc:S.contents});break}case ot:{x=!1;const e={ind:t,mode:ut,doc:S.contents},o=r-v,u=O.length>0;if(!S.break&&Dt(e,y,o,u,n))y.push(e);else if(S.expandedStates){const e=z(!1,S.expandedStates,-1);if(S.break){y.push({ind:t,mode:ot,doc:e});break}for(let r=1;r=S.expandedStates.length){y.push({ind:t,mode:ot,doc:e});break}{const e=S.expandedStates[r],i={ind:t,mode:ut,doc:e};if(Dt(i,y,o,u,n)){y.push(i);break}}}}else y.push({ind:t,mode:ot,doc:S.contents});break}}S.id&&(n[S.id]=z(!1,y,-1).mode);break;case f:{const e=r-v,{parts:o}=S;if(0===o.length)break;const[u,i]=o,s={ind:t,mode:ut,doc:u},a={ind:t,mode:ot,doc:u},c=Dt(s,[],e,O.length>0,n,!0);if(1===o.length){c?y.push(s):y.push(a);break}const l={ind:t,mode:ut,doc:i},D={ind:t,mode:ot,doc:i};if(2===o.length){c?y.push(l,s):y.push(D,a);break}o.splice(0,2);const f={ind:t,mode:T,doc:N(o)},h=o[0];Dt({ind:t,mode:ut,doc:[u,i,h]},[],e,O.length>0,n,!0)?y.push(f,l,s):c?y.push(f,D,s):y.push(f,D,a);break}case h:case d:{const e=S.groupId?n[S.groupId]:T;if(e===ot){const e=S.type===h?S.breakContents:S.negate?S.contents:k(S.contents);e&&y.push({ind:t,mode:T,doc:e})}if(e===ut){const e=S.type===h?S.flatContents:S.negate?k(S.contents):S.contents;e&&y.push({ind:t,mode:T,doc:e})}break}case p:O.push({ind:t,mode:T,doc:S.contents});break;case F:O.length>0&&y.push({ind:t,mode:T,doc:L});break;case E:switch(T){case ut:if(!S.hard){S.soft||(b.push(" "),v+=1);break}x=!0;case ot:if(O.length>0){y.push({ind:t,mode:T,doc:S},...O.reverse()),O.length=0;break}S.literal?t.root?(b.push(o,t.root.value),v=t.root.length):(b.push(o),v=0):(v-=lt(b),b.push(o+t.value),v=t.length)}break;case g:y.push({ind:t,mode:T,doc:S.contents});break;case m:break;default:throw new A(S)}0===y.length&&O.length>0&&(y.push(...O.reverse()),O.length=0)}const S=b.indexOf(it);if(-1!==S){const t=b.indexOf(it,S+1),e=b.slice(0,S).join(""),n=b.slice(S+1,t).join("");return{formatted:e+n+b.slice(t+1).join(""),cursorNodeStart:e.length,cursorNodeText:n}}return{formatted:b.join("")}}},dt={willBreak:function(t){return X(t,J,!1)},traverseDoc:T,findInDoc:X,mapDoc:q,removeLines:function(t){return q(t,tt)},stripTrailingHardline:function(t){return nt(function(t){return q(t,(t=>function(t){switch(C(t)){case f:if(t.parts.every((t=>""===t)))return"";break;case D:if(!(t.contents||t.id||t.break||t.expandedStates))return"";if(t.contents.type===D&&t.contents.id===t.id&&t.contents.break===t.break&&t.contents.expandedStates===t.expandedStates)return t.contents;break;case c:case a:case d:case p:if(!t.contents)return"";break;case h:if(!t.flatContents&&!t.breakContents)return"";break;case i:{const e=[];for(const n of t){if(!n)continue;const[t,...r]=Array.isArray(n)?n:[n];"string"==typeof t&&"string"==typeof z(!1,e,-1)?e[e.length-1]+=t:e.push(t),e.push(...r)}return 0===e.length?"":1===e.length?e[0]:e}case u:case s:case l:case F:case E:case g:case m:break;default:throw new A(t)}return t}(t)))}(t))},replaceEndOfLine:function(t,e=U){return q(t,(t=>"string"==typeof t?W(e,t.split("\n")):t))},canBreak:function(t){return X(t,rt,!1)}}},3764:(t,e,n)=>{"use strict";function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function o(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function u(t){for(var e=1;e=0||(o[n]=t[n]);return o}(t,e);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(t);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}function s(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n=t.length?t.apply(this,o):function(){for(var t=arguments.length,r=new Array(t),u=0;uot});var d=D((function(t,e){throw new Error(t[e]||t.default)}))({initialIsRequired:"initial state is required",initialType:"initial state should be an object",initialContent:"initial state shouldn't be an empty object",handlerType:"handler should be an object or a function",handlersType:"all handlers should be a functions",selectorType:"selector should be a function",changeType:"provided value of changes should be an object",changeField:'it seams you want to change a field in the state which is not specified in the "initial" state',default:"an unknown error accured in `state-local` package"}),p={changes:function(t,e){return f(e)||d("changeType"),Object.keys(e).some((function(e){return n=t,r=e,!Object.prototype.hasOwnProperty.call(n,r);var n,r}))&&d("changeField"),e},selector:function(t){h(t)||d("selectorType")},handler:function(t){h(t)||f(t)||d("handlerType"),f(t)&&Object.values(t).some((function(t){return!h(t)}))&&d("handlersType")},initial:function(t){var e;t||d("initialIsRequired"),f(t)||d("initialType"),e=t,Object.keys(e).length||d("initialContent")}};function F(t,e){return h(e)?e(t.current):e}function E(t,e){return t.current=l(l({},t.current),e),e}function g(t,e,n){return h(e)?e(t.current):Object.keys(n).forEach((function(n){var r;return null===(r=e[n])||void 0===r?void 0:r.call(e,t.current[n])})),n}const m={create:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};p.initial(t),p.handler(e);var n={current:t},r=D(g)(n,e),o=D(E)(n),u=D(p.changes)(t),i=D(F)(n);return[function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(t){return t};return p.selector(t),t(n.current)},function(t){!function(){for(var t=arguments.length,e=new Array(t),n=0;n=t.length?t.apply(this,o):function(){for(var t=arguments.length,r=new Array(t),u=0;u{r.current=!1}:t,e)};function X(){}function J(t,e,n,r){return function(t,e){return t.editor.getModel(Q(t,e))}(t,r)||function(t,e,n,r){return t.editor.createModel(e,n,r?Q(t,r):void 0)}(t,e,n,r)}function Q(t,e){return t.Uri.parse(e)}var tt=function({original:t,modified:e,language:n,originalLanguage:r,modifiedLanguage:o,originalModelPath:u,modifiedModelPath:i,keepCurrentOriginalModel:s=!1,keepCurrentModifiedModel:a=!1,theme:c="light",loading:l="Loading...",options:D={},height:f="100%",width:h="100%",className:d,wrapperProps:p={},beforeMount:F=X,onMount:E=X}){let[g,m]=(0,W.useState)(!1),[v,C]=(0,W.useState)(!0),y=(0,W.useRef)(null),A=(0,W.useRef)(null),b=(0,W.useRef)(null),T=(0,W.useRef)(E),x=(0,W.useRef)(F),O=(0,W.useRef)(!1);Y((()=>{let t=$.init();return t.then((t=>(A.current=t)&&C(!1))).catch((t=>"cancelation"!==t?.type&&console.error("Monaco initialization: error:",t))),()=>y.current?function(){let t=y.current?.getModel();s||t?.original?.dispose(),a||t?.modified?.dispose(),y.current?.dispose()}():t.cancel()})),q((()=>{if(y.current&&A.current){let e=y.current.getOriginalEditor(),o=J(A.current,t||"",r||n||"text",u||"");o!==e.getModel()&&e.setModel(o)}}),[u],g),q((()=>{if(y.current&&A.current){let t=y.current.getModifiedEditor(),r=J(A.current,e||"",o||n||"text",i||"");r!==t.getModel()&&t.setModel(r)}}),[i],g),q((()=>{let t=y.current.getModifiedEditor();t.getOption(A.current.editor.EditorOption.readOnly)?t.setValue(e||""):e!==t.getValue()&&(t.executeEdits("",[{range:t.getModel().getFullModelRange(),text:e||"",forceMoveMarkers:!0}]),t.pushUndoStop())}),[e],g),q((()=>{y.current?.getModel()?.original.setValue(t||"")}),[t],g),q((()=>{let{original:t,modified:e}=y.current.getModel();A.current.editor.setModelLanguage(t,r||n||"text"),A.current.editor.setModelLanguage(e,o||n||"text")}),[n,r,o],g),q((()=>{A.current?.editor.setTheme(c)}),[c],g),q((()=>{y.current?.updateOptions(D)}),[D],g);let _=(0,W.useCallback)((()=>{if(!A.current)return;x.current(A.current);let s=J(A.current,t||"",r||n||"text",u||""),a=J(A.current,e||"",o||n||"text",i||"");y.current?.setModel({original:s,modified:a})}),[n,e,o,t,r,u,i]),k=(0,W.useCallback)((()=>{!O.current&&b.current&&(y.current=A.current.editor.createDiffEditor(b.current,{automaticLayout:!0,...D}),_(),A.current?.editor.setTheme(c),m(!0),O.current=!0)}),[D,c,_]);return(0,W.useEffect)((()=>{g&&T.current(y.current,A.current)}),[g]),(0,W.useEffect)((()=>{!v&&!g&&k()}),[v,g,k]),W.createElement(H,{width:h,height:f,isEditorReady:g,loading:l,_ref:b,className:d,wrapperProps:p})};(0,W.memo)(tt);var et=function(t){let e=(0,W.useRef)();return(0,W.useEffect)((()=>{e.current=t}),[t]),e.current},nt=new Map;var rt=function({defaultValue:t,defaultLanguage:e,defaultPath:n,value:r,language:o,path:u,theme:i="light",line:s,loading:a="Loading...",options:c={},overrideServices:l={},saveViewState:D=!0,keepCurrentModel:f=!1,width:h="100%",height:d="100%",className:p,wrapperProps:F={},beforeMount:E=X,onMount:g=X,onChange:m,onValidate:v=X}){let[C,y]=(0,W.useState)(!1),[A,b]=(0,W.useState)(!0),T=(0,W.useRef)(null),x=(0,W.useRef)(null),O=(0,W.useRef)(null),_=(0,W.useRef)(g),k=(0,W.useRef)(E),S=(0,W.useRef)(),I=(0,W.useRef)(r),N=et(u),R=(0,W.useRef)(!1),w=(0,W.useRef)(!1);Y((()=>{let t=$.init();return t.then((t=>(T.current=t)&&b(!1))).catch((t=>"cancelation"!==t?.type&&console.error("Monaco initialization: error:",t))),()=>x.current?(S.current?.dispose(),f?D&&nt.set(u,x.current.saveViewState()):x.current.getModel()?.dispose(),void x.current.dispose()):t.cancel()})),q((()=>{let i=J(T.current,t||r||"",e||o||"",u||n||"");i!==x.current?.getModel()&&(D&&nt.set(N,x.current?.saveViewState()),x.current?.setModel(i),D&&x.current?.restoreViewState(nt.get(u)))}),[u],C),q((()=>{x.current?.updateOptions(c)}),[c],C),q((()=>{!x.current||void 0===r||(x.current.getOption(T.current.editor.EditorOption.readOnly)?x.current.setValue(r):r!==x.current.getValue()&&(w.current=!0,x.current.executeEdits("",[{range:x.current.getModel().getFullModelRange(),text:r,forceMoveMarkers:!0}]),x.current.pushUndoStop(),w.current=!1))}),[r],C),q((()=>{let t=x.current?.getModel();t&&o&&T.current?.editor.setModelLanguage(t,o)}),[o],C),q((()=>{void 0!==s&&x.current?.revealLine(s)}),[s],C),q((()=>{T.current?.editor.setTheme(i)}),[i],C);let B=(0,W.useCallback)((()=>{if(O.current&&T.current&&!R.current){k.current(T.current);let a=u||n,f=J(T.current,r||t||"",e||o||"",a||"");x.current=T.current?.editor.create(O.current,{model:f,automaticLayout:!0,...c},l),D&&x.current.restoreViewState(nt.get(a)),T.current.editor.setTheme(i),void 0!==s&&x.current.revealLine(s),y(!0),R.current=!0}}),[t,e,n,r,o,u,c,l,D,i,s]);return(0,W.useEffect)((()=>{C&&_.current(x.current,T.current)}),[C]),(0,W.useEffect)((()=>{!A&&!C&&B()}),[A,C,B]),I.current=r,(0,W.useEffect)((()=>{C&&m&&(S.current?.dispose(),S.current=x.current?.onDidChangeModelContent((t=>{w.current||m(x.current.getValue(),t)})))}),[C,m]),(0,W.useEffect)((()=>{if(C){let t=T.current.editor.onDidChangeMarkers((t=>{let e=x.current.getModel()?.uri;if(e&&t.find((t=>t.path===e.path))){let t=T.current.editor.getModelMarkers({resource:e});v?.(t)}}));return()=>{t?.dispose()}}return()=>{}}),[C,v]),W.createElement(H,{width:h,height:d,isEditorReady:C,loading:a,_ref:O,className:p,wrapperProps:F})},ot=(0,W.memo)(rt)},4935:(t,e,n)=>{"use strict";n.d(e,{ZP:()=>Tr});var r=Object.create,o=Object.defineProperty,u=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,s=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,c=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),l=(t,e)=>{for(var n in e)o(t,n,{get:e[n],enumerable:!0})},D=(t,e,n,r)=>{if(e&&"object"==typeof e||"function"==typeof e)for(let s of i(e))!a.call(t,s)&&s!==n&&o(t,s,{get:()=>e[s],enumerable:!(r=u(e,s))||r.enumerable});return t},f=(t,e,n)=>(n=null!=t?r(s(t)):{},D(!e&&t&&t.__esModule?n:o(n,"default",{value:t,enumerable:!0}),t)),h=(t,e,n)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,n)},d=(t,e,n)=>(((t,e,n)=>{if(!e.has(t))throw TypeError("Cannot "+n)})(t,e,"access private method"),n),p=c((t=>{function e(){}function n(t,e,n,r,o){for(var u=0,i=e.length,s=0,a=0;ut.length?n:t})),c.value=t.join(D)}else c.value=t.join(n.slice(s,s+c.count));s+=c.count,c.added||(a+=c.count)}}var f=e[i-1];return i>1&&"string"==typeof f.value&&(f.added||f.removed)&&t.equals("",f.value)&&(e[i-2].value+=f.value,e.pop()),e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=e,e.prototype={diff:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=r.callback;"function"==typeof r&&(o=r,r={}),this.options=r;var u=this;function i(t){return o?(setTimeout((function(){o(void 0,t)}),0),!0):t}t=this.castInput(t),e=this.castInput(e),t=this.removeEmpty(this.tokenize(t));var s=(e=this.removeEmpty(this.tokenize(e))).length,a=t.length,c=1,l=s+a;r.maxEditLength&&(l=Math.min(l,r.maxEditLength));var D=[{newPos:-1,components:[]}],f=this.extractCommon(D[0],e,t,0);if(D[0].newPos+1>=s&&f+1>=a)return i([{value:this.join(e),count:e.length}]);function h(){for(var r=-1*c;r<=c;r+=2){var o=void 0,l=D[r-1],f=D[r+1],h=(f?f.newPos:0)-r;l&&(D[r-1]=void 0);var d=l&&l.newPos+1=s&&h+1>=a)return i(n(u,o.components,e,t,u.useLongestToken));D[r]=o}else D[r]=void 0}var F;c++}if(o)!function t(){setTimeout((function(){if(c>l)return o();h()||t()}),0)}();else for(;c<=l;){var d=h();if(d)return d}},pushComponent:function(t,e,n){var r=t[t.length-1];r&&r.added===e&&r.removed===n?t[t.length-1]={count:r.count+1,added:e,removed:n}:t.push({count:1,added:e,removed:n})},extractCommon:function(t,e,n,r){for(var o=e.length,u=n.length,i=t.newPos,s=i-r,a=0;i+1{var e;Object.defineProperty(t,"__esModule",{value:!0}),t.diffArrays=function(t,e,r){return n.diff(t,e,r)},t.arrayDiff=void 0;var n=new(((e=p())&&e.__esModule?e:{default:e}).default);t.arrayDiff=n,n.tokenize=function(t){return t.slice()},n.join=n.removeEmpty=function(t){return t}})),E=c(((t,e)=>{var n=new Proxy(String,{get:()=>n});e.exports=n})),g={};l(g,{default:()=>v,shouldHighlight:()=>m});var m,v,C,y,A=(C=()=>{m=()=>!1,v=String},()=>(C&&(y=C(C=0)),y)),b=c((t=>{Object.defineProperty(t,"__esModule",{value:!0}),t.codeFrameColumns=a,t.default=function(t,e,n,r={}){if(!i){i=!0;let t="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";new Error(t).name="DeprecationWarning",console.warn(new Error(t))}return n=Math.max(n,0),a(t,{start:{column:n,line:e}},r)};var e,n=(A(),(t=>D(o({},"__esModule",{value:!0}),t))(g)),r=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var n=u(e);if(n&&n.has(t))return n.get(t);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in t)if("default"!==i&&Object.prototype.hasOwnProperty.call(t,i)){var s=o?Object.getOwnPropertyDescriptor(t,i):null;s&&(s.get||s.set)?Object.defineProperty(r,i,s):r[i]=t[i]}return r.default=t,n&&n.set(t,r),r}(E(),!0);function u(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(u=function(t){return t?n:e})(t)}var i=!1;var s=/\r\n|[\n\r\u2028\u2029]/;function a(t,o,u={}){let i=(u.highlightCode||u.forceColor)&&(0,n.shouldHighlight)(u),a=function(t){return t?(null!=e||(e=new r.default.constructor({enabled:!0,level:1})),e):r.default}(u.forceColor),c=function(t){return{gutter:t.grey,marker:t.red.bold,message:t.red.bold}}(a),l=(t,e)=>i?t(e):e,D=t.split(s),{start:f,end:h,markerLines:d}=function(t,e,n){let r=Object.assign({column:0,line:-1},t.start),o=Object.assign({},r,t.end),{linesAbove:u=2,linesBelow:i=3}=n||{},s=r.line,a=r.column,c=o.line,l=o.column,D=Math.max(s-(u+1),0),f=Math.min(e.length,c+i);-1===s&&(D=0),-1===c&&(f=e.length);let h=c-s,d={};if(h)for(let p=0;p<=h;p++){let t=p+s;if(a)if(0===p){let n=e[t-1].length;d[t]=[a,n-a+1]}else if(p===h)d[t]=[0,l];else{let n=e[t-p].length;d[t]=[0,n]}else d[t]=!0}else d[s]=a===l?!a||[a,0]:[a,l-a];return{start:D,end:f,markerLines:d}}(o,D,u),p=o.start&&"number"==typeof o.start.column,F=String(h).length,E=(i?(0,n.default)(t,u):t).split(s,h).slice(f,h).map(((t,e)=>{let n=f+1+e,r=` ${` ${n}`.slice(-F)} |`,o=d[n],i=!d[n+1];if(o){let e="";if(Array.isArray(o)){let n=t.slice(0,Math.max(o[0]-1,0)).replace(/[^\t]/g," "),s=o[1]||1;e=["\n ",l(c.gutter,r.replace(/\d/g," "))," ",n,l(c.marker,"^").repeat(s)].join(""),i&&u.message&&(e+=" "+l(c.message,u.message))}return[l(c.marker,">"),l(c.gutter,r),t.length>0?` ${t}`:"",e].join("")}return` ${l(c.gutter,r)}${t.length>0?` ${t}`:""}`})).join("\n");return u.message&&!p&&(E=`${" ".repeat(F+1)}${u.message}\n${E}`),i?a.reset(E):E}})),T={};l(T,{__debug:()=>br,check:()=>yr,doc:()=>tr,format:()=>Cr,formatWithCursor:()=>vr,getSupportInfo:()=>Ar,util:()=>ur,version:()=>or});var x=(t,e,n,r)=>{if(!t||null!=e)return e.replaceAll?e.replaceAll(n,r):n.global?e.replace(n,r):e.split(n).join(r)},O=f(F(),1);function _(t){switch(t){case"cr":return"\r";case"crlf":return"\r\n";default:return"\n"}}function k(t,e){let n;switch(e){case"\n":n=/\n/g;break;case"\r":n=/\r/g;break;case"\r\n":n=/\r\n/g;break;default:throw new Error(`Unexpected "eol" ${JSON.stringify(e)}.`)}let r=t.match(n);return r?r.length:0}var S="string",I="array",N="cursor",R="indent",w="align",B="trim",L="group",P="fill",Z="if-break",M="indent-if-break",j="line-suffix",U="line-suffix-boundary",$="line",W="label",z="break-parent",G=new Set([N,R,w,B,L,P,Z,M,j,U,$,W,z]);var K=function(t){if("string"==typeof t)return S;if(Array.isArray(t))return I;if(!t)return;let{type:e}=t;return G.has(e)?e:void 0};function V(t){let e=null===t?"null":typeof t;if("string"!==e&&"object"!==e)return`Unexpected doc '${e}', \nExpected it to be 'string' or 'object'.`;if(K(t))throw new Error("doc is valid.");let n=Object.prototype.toString.call(t);if("[object Object]"!==n)return`Unexpected doc '${n}'.`;let r=(t=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(t))([...G].map((t=>`'${t}'`)));return`Unexpected doc.type '${t.type}'.\nExpected it to be ${r}.`}var H=class extends Error{name="InvalidDocError";constructor(t){super(V(t)),this.doc=t}},Y=H,q={};var X=function(t,e,n,r){let o=[t];for(;o.length>0;){let t=o.pop();if(t===q){n(o.pop());continue}n&&o.push(t,q);let u=K(t);if(!u)throw new Y(t);if(!1!==(null==e?void 0:e(t)))switch(u){case I:case P:{let e=u===I?t:t.parts;for(let t=e.length-1;t>=0;--t)o.push(e[t]);break}case Z:o.push(t.flatContents,t.breakContents);break;case L:if(r&&t.expandedStates)for(let e=t.expandedStates.length-1;e>=0;--e)o.push(t.expandedStates[e]);else o.push(t.contents);break;case w:case R:case M:case W:case j:o.push(t.contents);break;case S:case N:case B:case U:case $:case z:break;default:throw new Y(t)}}},J=()=>{},Q=J,tt=J;function et(t){return Q(t),{type:R,contents:t}}function nt(t,e){return Q(e),{type:w,contents:e,n:t}}function rt(t,e={}){return Q(t),tt(e.expandedStates,!0),{type:L,id:e.id,contents:t,break:!!e.shouldBreak,expandedStates:e.expandedStates}}function ot(t){return tt(t),{type:P,parts:t}}function ut(t){return Q(t),{type:j,contents:t}}var it={type:U},st={type:z},at={type:B},ct={type:$,hard:!0},lt={type:$,hard:!0,literal:!0},Dt={type:$},ft={type:$,soft:!0},ht=[ct,st],dt=[lt,st],pt={type:N};function Ft(t,e){Q(t),tt(e);let n=[];for(let r=0;r0){for(let t=0;t{if(!t||null!=e)return Array.isArray(e)||"string"==typeof e?e[n<0?e.length+n:n]:e.at(n)};var vt=t=>!(function(t){return 12288===t||t>=65281&&t<=65376||t>=65504&&t<=65510}(t)||function(t){return t>=4352&&t<=4447||8986===t||8987===t||9001===t||9002===t||t>=9193&&t<=9196||9200===t||9203===t||9725===t||9726===t||9748===t||9749===t||t>=9800&&t<=9811||9855===t||9875===t||9889===t||9898===t||9899===t||9917===t||9918===t||9924===t||9925===t||9934===t||9940===t||9962===t||9970===t||9971===t||9973===t||9978===t||9981===t||9989===t||9994===t||9995===t||10024===t||10060===t||10062===t||t>=10067&&t<=10069||10071===t||t>=10133&&t<=10135||10160===t||10175===t||11035===t||11036===t||11088===t||11093===t||t>=11904&&t<=11929||t>=11931&&t<=12019||t>=12032&&t<=12245||t>=12272&&t<=12287||t>=12289&&t<=12350||t>=12353&&t<=12438||t>=12441&&t<=12543||t>=12549&&t<=12591||t>=12593&&t<=12686||t>=12688&&t<=12771||t>=12783&&t<=12830||t>=12832&&t<=12871||t>=12880&&t<=19903||t>=19968&&t<=42124||t>=42128&&t<=42182||t>=43360&&t<=43388||t>=44032&&t<=55203||t>=63744&&t<=64255||t>=65040&&t<=65049||t>=65072&&t<=65106||t>=65108&&t<=65126||t>=65128&&t<=65131||t>=94176&&t<=94180||94192===t||94193===t||t>=94208&&t<=100343||t>=100352&&t<=101589||t>=101632&&t<=101640||t>=110576&&t<=110579||t>=110581&&t<=110587||110589===t||110590===t||t>=110592&&t<=110882||110898===t||t>=110928&&t<=110930||110933===t||t>=110948&&t<=110951||t>=110960&&t<=111355||126980===t||127183===t||127374===t||t>=127377&&t<=127386||t>=127488&&t<=127490||t>=127504&&t<=127547||t>=127552&&t<=127560||127568===t||127569===t||t>=127584&&t<=127589||t>=127744&&t<=127776||t>=127789&&t<=127797||t>=127799&&t<=127868||t>=127870&&t<=127891||t>=127904&&t<=127946||t>=127951&&t<=127955||t>=127968&&t<=127984||127988===t||t>=127992&&t<=128062||128064===t||t>=128066&&t<=128252||t>=128255&&t<=128317||t>=128331&&t<=128334||t>=128336&&t<=128359||128378===t||128405===t||128406===t||128420===t||t>=128507&&t<=128591||t>=128640&&t<=128709||128716===t||t>=128720&&t<=128722||t>=128725&&t<=128727||t>=128732&&t<=128735||128747===t||128748===t||t>=128756&&t<=128764||t>=128992&&t<=129003||129008===t||t>=129292&&t<=129338||t>=129340&&t<=129349||t>=129351&&t<=129535||t>=129648&&t<=129660||t>=129664&&t<=129672||t>=129680&&t<=129725||t>=129727&&t<=129733||t>=129742&&t<=129755||t>=129760&&t<=129768||t>=129776&&t<=129784||t>=131072&&t<=196605||t>=196608&&t<=262141}(t)),Ct=/[^\x20-\x7F]/;var yt=function(t){if(!t)return 0;if(!Ct.test(t))return t.length;t=t.replace(/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC2\uDECE-\uDEDB\uDEE0-\uDEE8]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g," ");let e=0;for(let n of t){let t=n.codePointAt(0);t<=31||t>=127&&t<=159||t>=768&&t<=879||(e+=vt(t)?1:2)}return e},At=t=>{if(Array.isArray(t))return t;if(t.type!==P)throw new Error(`Expect doc to be 'array' or '${P}'.`);return t.parts};function bt(t,e){if("string"==typeof t)return e(t);let n=new Map;return r(t);function r(t){if(n.has(t))return n.get(t);let o=function(t){switch(K(t)){case I:return e(t.map(r));case P:return e({...t,parts:t.parts.map(r)});case Z:return e({...t,breakContents:r(t.breakContents),flatContents:r(t.flatContents)});case L:{let{expandedStates:n,contents:o}=t;return n?(n=n.map(r),o=n[0]):o=r(o),e({...t,contents:o,expandedStates:n})}case w:case R:case M:case W:case j:return e({...t,contents:r(t.contents)});case S:case N:case B:case U:case $:case z:return e(t);default:throw new Y(t)}}(t);return n.set(t,o),o}}function Tt(t,e,n){let r=n,o=!1;return X(t,(function(t){if(o)return!1;let n=e(t);void 0!==n&&(o=!0,r=n)})),r}function xt(t){if(t.type===L&&t.break||t.type===$&&t.hard||t.type===z)return!0}function Ot(t){if(t.length>0){let e=mt(!1,t,-1);!e.expandedStates&&!e.break&&(e.break="propagated")}return null}function _t(t){return t.type!==$||t.hard?t.type===Z?t.flatContents:t:t.soft?"":" "}function kt(t){for(t=[...t];t.length>=2&&mt(!1,t,-2).type===$&&mt(!1,t,-1).type===z;)t.length-=2;if(t.length>0){let e=St(mt(!1,t,-1));t[t.length-1]=e}return t}function St(t){switch(K(t)){case w:case R:case M:case L:case j:case W:{let e=St(t.contents);return{...t,contents:e}}case Z:return{...t,breakContents:St(t.breakContents),flatContents:St(t.flatContents)};case P:return{...t,parts:kt(t.parts)};case I:return kt(t);case S:return t.replace(/[\n\r]*$/,"");case N:case B:case U:case $:case z:break;default:throw new Y(t)}return t}function It(t){return St(function(t){return bt(t,(t=>function(t){switch(K(t)){case P:if(t.parts.every((t=>""===t)))return"";break;case L:if(!(t.contents||t.id||t.break||t.expandedStates))return"";if(t.contents.type===L&&t.contents.id===t.id&&t.contents.break===t.break&&t.contents.expandedStates===t.expandedStates)return t.contents;break;case w:case R:case M:case j:if(!t.contents)return"";break;case Z:if(!t.flatContents&&!t.breakContents)return"";break;case I:{let e=[];for(let n of t){if(!n)continue;let[t,...r]=Array.isArray(n)?n:[n];"string"==typeof t&&"string"==typeof mt(!1,e,-1)?e[e.length-1]+=t:e.push(t),e.push(...r)}return 0===e.length?"":1===e.length?e[0]:e}case S:case N:case B:case U:case $:case W:case z:break;default:throw new Y(t)}return t}(t)))}(t))}function Nt(t){if(t.type===$)return!0}function Rt(t,e){return t.type===W?{...t,contents:e(t.contents)}:e(t)}var wt=Symbol("MODE_BREAK"),Bt=Symbol("MODE_FLAT"),Lt=Symbol("cursor");function Pt(t,e){return Mt(t,{type:"indent"},e)}function Zt(t,e,n){return e===Number.NEGATIVE_INFINITY?t.root||{value:"",length:0,queue:[]}:e<0?Mt(t,{type:"dedent"},n):e?"root"===e.type?{...t,root:t}:Mt(t,{type:"string"==typeof e?"stringAlign":"numberAlign",n:e},n):t}function Mt(t,e,n){let r="dedent"===e.type?t.queue.slice(0,-1):[...t.queue,e],o="",u=0,i=0,s=0;for(let h of r)switch(h.type){case"indent":l(),n.useTabs?a(1):c(n.tabWidth);break;case"stringAlign":l(),o+=h.n,u+=h.n.length;break;case"numberAlign":i+=1,s+=h.n;break;default:throw new Error(`Unexpected type '${h.type}'`)}return D(),{...t,value:o,length:u,queue:r};function a(t){o+="\t".repeat(t),u+=n.tabWidth*t}function c(t){o+=" ".repeat(t),u+=t}function l(){n.useTabs?(i>0&&a(i),f()):D()}function D(){s>0&&c(s),f()}function f(){i=0,s=0}}function jt(t){let e=0,n=0,r=t.length;t:for(;r--;){let o=t[r];if(o!==Lt)for(let n=o.length-1;n>=0;n--){let u=o[n];if(" "!==u&&"\t"!==u){t[r]=o.slice(0,n+1);break t}e++}else n++}if(e>0||n>0)for(t.length=r+1;n-- >0;)t.push(Lt);return e}function Ut(t,e,n,r,o,u){if(n===Number.POSITIVE_INFINITY)return!0;let i=e.length,s=[t],a=[];for(;n>=0;){if(0===s.length){if(0===i)return!0;s.push(e[--i]);continue}let{mode:t,doc:c}=s.pop();switch(K(c)){case S:a.push(c),n-=yt(c);break;case I:case P:{let e=At(c);for(let n=e.length-1;n>=0;n--)s.push({mode:t,doc:e[n]});break}case R:case w:case M:case W:s.push({mode:t,doc:c.contents});break;case B:n+=jt(a);break;case L:{if(u&&c.break)return!1;let e=c.break?wt:t,n=c.expandedStates&&e===wt?mt(!1,c.expandedStates,-1):c.contents;s.push({mode:e,doc:n});break}case Z:{let e=(c.groupId?o[c.groupId]||Bt:t)===wt?c.breakContents:c.flatContents;e&&s.push({mode:t,doc:e});break}case $:if(t===wt||c.hard)return!0;c.soft||(a.push(" "),n--);break;case j:r=!0;break;case U:if(r)return!1}}return!1}function $t(t,e){let n={},r=e.printWidth,o=_(e.endOfLine),u=0,i=[{ind:{value:"",length:0,queue:[]},mode:wt,doc:t}],s=[],a=!1,c=[],l=0;for(function(t){let e=new Set,n=[];X(t,(function(t){if(t.type===z&&Ot(n),t.type===L){if(n.push(t),e.has(t))return!1;e.add(t)}}),(function(t){t.type===L&&n.pop().break&&Ot(n)}),!0)}(t);i.length>0;){let{ind:t,mode:D,doc:f}=i.pop();switch(K(f)){case S:{let t="\n"!==o?x(!1,f,"\n",o):f;s.push(t),i.length>0&&(u+=yt(t));break}case I:for(let e=f.length-1;e>=0;e--)i.push({ind:t,mode:D,doc:f[e]});break;case N:if(l>=2)throw new Error("There are too many 'cursor' in doc.");s.push(Lt),l++;break;case R:i.push({ind:Pt(t,e),mode:D,doc:f.contents});break;case w:i.push({ind:Zt(t,f.n,e),mode:D,doc:f.contents});break;case B:u-=jt(s);break;case L:switch(D){case Bt:if(!a){i.push({ind:t,mode:f.break?wt:Bt,doc:f.contents});break}case wt:{a=!1;let e={ind:t,mode:Bt,doc:f.contents},o=r-u,s=c.length>0;if(!f.break&&Ut(e,i,o,s,n))i.push(e);else if(f.expandedStates){let e=mt(!1,f.expandedStates,-1);if(f.break){i.push({ind:t,mode:wt,doc:e});break}for(let r=1;r=f.expandedStates.length){i.push({ind:t,mode:wt,doc:e});break}{let e=f.expandedStates[r],u={ind:t,mode:Bt,doc:e};if(Ut(u,i,o,s,n)){i.push(u);break}}}}else i.push({ind:t,mode:wt,doc:f.contents});break}}f.id&&(n[f.id]=mt(!1,i,-1).mode);break;case P:{let e=r-u,{parts:o}=f;if(0===o.length)break;let[s,a]=o,l={ind:t,mode:Bt,doc:s},h={ind:t,mode:wt,doc:s},d=Ut(l,[],e,c.length>0,n,!0);if(1===o.length){d?i.push(l):i.push(h);break}let p={ind:t,mode:Bt,doc:a},F={ind:t,mode:wt,doc:a};if(2===o.length){d?i.push(p,l):i.push(F,h);break}o.splice(0,2);let E={ind:t,mode:D,doc:ot(o)},g=o[0];Ut({ind:t,mode:Bt,doc:[s,a,g]},[],e,c.length>0,n,!0)?i.push(E,p,l):d?i.push(E,F,l):i.push(E,F,h);break}case Z:case M:{let e=f.groupId?n[f.groupId]:D;if(e===wt){let e=f.type===Z?f.breakContents:f.negate?f.contents:et(f.contents);e&&i.push({ind:t,mode:D,doc:e})}if(e===Bt){let e=f.type===Z?f.flatContents:f.negate?et(f.contents):f.contents;e&&i.push({ind:t,mode:D,doc:e})}break}case j:c.push({ind:t,mode:D,doc:f.contents});break;case U:c.length>0&&i.push({ind:t,mode:D,doc:ct});break;case $:switch(D){case Bt:if(!f.hard){f.soft||(s.push(" "),u+=1);break}a=!0;case wt:if(c.length>0){i.push({ind:t,mode:D,doc:f},...c.reverse()),c.length=0;break}f.literal?t.root?(s.push(o,t.root.value),u=t.root.length):(s.push(o),u=0):(u-=jt(s),s.push(o+t.value),u=t.length)}break;case W:i.push({ind:t,mode:D,doc:f.contents});break;case z:break;default:throw new Y(f)}0===i.length&&c.length>0&&(i.push(...c.reverse()),c.length=0)}let D=s.indexOf(Lt);if(-1!==D){let t=s.indexOf(Lt,D+1),e=s.slice(0,D).join(""),n=s.slice(D+1,t).join("");return{formatted:e+n+s.slice(t+1).join(""),cursorNodeStart:e.length,cursorNodeText:n}}return{formatted:s.join("")}}var Wt,zt,Gt,Kt,Vt=function(t,e,n=0){let r=0;for(let o=n;o=0;n-=2)if(!Array.isArray(e[n])&&--t<0)return n;return-1},Gt=new WeakSet,Kt=function*(){let{stack:t}=this;for(let e=t.length-3;e>=0;e-=2){let n=t[e];Array.isArray(n)||(yield n)}};var Ht=class{constructor(t){h(this,Wt),h(this,Gt),this.stack=[t]}get key(){let{stack:t,siblings:e}=this;return mt(!1,t,null===e?-2:-4)??null}get index(){return null===this.siblings?null:mt(!1,this.stack,-2)}get node(){return mt(!1,this.stack,-1)}get parent(){return this.getNode(1)}get grandparent(){return this.getNode(2)}get isInArray(){return null!==this.siblings}get siblings(){let{stack:t}=this,e=mt(!1,t,-3);return Array.isArray(e)?e:null}get next(){let{siblings:t}=this;return null===t?null:t[this.index+1]}get previous(){let{siblings:t}=this;return null===t?null:t[this.index-1]}get isFirst(){return 0===this.index}get isLast(){let{siblings:t,index:e}=this;return null!==t&&e===t.length-1}get isRoot(){return 1===this.stack.length}get root(){return this.stack[0]}get ancestors(){return[...d(this,Gt,Kt).call(this)]}getName(){let{stack:t}=this,{length:e}=t;return e>1?mt(!1,t,-2):null}getValue(){return mt(!1,this.stack,-1)}getNode(t=0){let e=d(this,Wt,zt).call(this,t);return-1===e?null:this.stack[e]}getParentNode(t=0){return this.getNode(t+1)}call(t,...e){let{stack:n}=this,{length:r}=n,o=mt(!1,n,-1);for(let u of e)o=o[u],n.push(u,o);try{return t(this)}finally{n.length=r}}callParent(t,e=0){let n=d(this,Wt,zt).call(this,e+1),r=this.stack.splice(n+1);try{return t(this)}finally{this.stack.push(...r)}}each(t,...e){let{stack:n}=this,{length:r}=n,o=mt(!1,n,-1);for(let u of e)o=o[u],n.push(u,o);try{for(let e=0;e{n[r]=t(e,r,o)}),...e),n}match(...t){let e=this.stack.length-1,n=null,r=this.stack[e--];for(let o of t){if(void 0===r)return!1;let t=null;if("number"==typeof n&&(t=n,n=this.stack[e--],r=this.stack[e--]),o&&!o(r,n,t))return!1;n=this.stack[e--],r=this.stack[e--]}return!0}findAncestor(t){for(let e of d(this,Gt,Kt).call(this))if(t(e))return e}hasAncestor(t){for(let e of d(this,Gt,Kt).call(this))if(t(e))return!0;return!1}},Yt=new Proxy((()=>{}),{get:()=>Yt}),qt=Yt;var Xt=function(t){return null!==t&&"object"==typeof t};function*Jt(t,e){let{getVisitorKeys:n,filter:r=(()=>!0)}=e,o=t=>Xt(t)&&r(t);for(let u of n(t)){let e=t[u];if(Array.isArray(e))for(let t of e)o(t)&&(yield t);else o(e)&&(yield e)}}function Qt(t){return(e,n,r)=>{let o=!(null==r||!r.backwards);if(!1===n)return!1;let{length:u}=e,i=n;for(;i>=0&&i0},se=new Set(["tokens","comments","parent","enclosingNode","precedingNode","followingNode"]),ae=t=>Object.keys(t).filter((t=>!se.has(t)));var ce=function(t){return t?e=>t(e,se):ae};function le(t,e){(t.comments??(t.comments=[])).push(e),e.printed=!1,e.nodeDescription=function(t){let e=t.type||t.kind||"(unknown type)",n=String(t.name||t.id&&("object"==typeof t.id?t.id.name:t.id)||t.key&&("object"==typeof t.key?t.key.name:t.key)||t.value&&("object"==typeof t.value?"":String(t.value))||t.operator||"");return n.length>20&&(n=n.slice(0,19)+"\u2026"),e+(n?" "+n:"")}(t)}function De(t,e){e.leading=!0,e.trailing=!1,le(t,e)}function fe(t,e,n){e.leading=!1,e.trailing=!1,n&&(e.marker=n),le(t,e)}function he(t,e){e.leading=!1,e.trailing=!0,le(t,e)}var de=new WeakMap;function pe(t,e){if(de.has(t))return de.get(t);let{printer:{getCommentChildNodes:n,canAttachComment:r,getVisitorKeys:o},locStart:u,locEnd:i}=e;if(!r)return[];let s=((null==n?void 0:n(t,e))??[...Jt(t,{getVisitorKeys:ce(o)})]).flatMap((t=>r(t)?[t]:pe(t,e)));return s.sort(((t,e)=>u(t)-u(e)||i(t)-i(e))),de.set(t,s),s}function Fe(t,e,n,r){let o,u,{locStart:i,locEnd:s}=n,a=i(e),c=s(e),l=pe(t,n),D=0,f=l.length;for(;D>1,r=l[t],h=i(r),d=s(r);if(h<=a&&c<=d)return Fe(r,e,n,r);if(d<=a)o=r,D=t+1;else{if(!(c<=h))throw new Error("Comment location overlaps with node location");u=r,f=t}}if("TemplateLiteral"===(null==r?void 0:r.type)){let{quasis:t}=r,i=ye(t,e,n);o&&ye(t,o,n)!==i&&(o=null),u&&ye(t,u,n)!==i&&(u=null)}return{enclosingNode:r,precedingNode:o,followingNode:u}}var Ee=()=>!1;var ge=t=>!/[\S\n\u2028\u2029]/.test(t);function me(t,e,n,r){let{comment:o,precedingNode:u}=n[r],{locStart:i,locEnd:s}=e,a=i(o);if(u)for(let c=r-1;c>=0;c--){let{comment:e,precedingNode:r}=n[c];if(r!==u||!ge(t.slice(s(e),a)))break;a=i(e)}return ue(t,a,{backwards:!0})}function ve(t,e,n,r){let{comment:o,followingNode:u}=n[r],{locStart:i,locEnd:s}=e,a=s(o);if(u)for(let c=r+1;c0;--u){let{comment:o,precedingNode:c,followingNode:l}=t[u-1];qt.strictEqual(c,i),qt.strictEqual(l,s);let D=e.originalText.slice(e.locEnd(o),a);if(!((null==(r=(n=e.printer).isGap)?void 0:r.call(n,D,e))??/^[\s(]*$/.test(D)))break;a=e.locStart(o)}for(let[c,{comment:l}]of t.entries())c1&&c.comments.sort(((t,n)=>e.locStart(t)-e.locStart(n)));t.length=0}function ye(t,e,n){let r=n.locStart(e)-1;for(let o=1;o!r.has(t))).length)return{leading:"",trailing:""};let o,u=[],i=[];return t.each((()=>{let n=t.node;if(null!=r&&r.has(n))return;let{leading:s,trailing:a}=n;s?u.push(function(t,e){var n;let r=t.node,o=[be(t,e)],{printer:u,originalText:i,locStart:s,locEnd:a}=e;if(null==(n=u.isBlockComment)?void 0:n.call(u,r)){let t=ue(i,a(r))?ue(i,s(r),{backwards:!0})?ht:Dt:" ";o.push(t)}else o.push(ht);let c=oe(i,ee(i,a(r)));return!1!==c&&ue(i,c)&&o.push(ht),o}(t,e)):a&&(o=function(t,e,n){var r;let o=t.node,u=be(t,e),{printer:i,originalText:s,locStart:a}=e,c=null==(r=i.isBlockComment)?void 0:r.call(i,o);if(null!=n&&n.hasLineSuffix&&(null==n||!n.isBlock)||ue(s,a(o),{backwards:!0})){let t=Ae(s,a(o));return{doc:ut([ht,t?ht:"",u]),isBlock:c,hasLineSuffix:!0}}return!c||null!=n&&n.hasLineSuffix?{doc:[ut([" ",u]),st],isBlock:c,hasLineSuffix:!0}:{doc:[" ",u],isBlock:c,hasLineSuffix:!1}}(t,e,o),i.push(o.doc))}),"comments"),{leading:u,trailing:i}}var xe=function(t){return()=>{}},Oe=class extends Error{name="ConfigError"},_e=class extends Error{name="UndefinedParserError"},ke={cursorOffset:{category:"Special",type:"int",default:-1,range:{start:-1,end:1/0,step:1},description:"Print (to stderr) where a cursor at the given position would move to after formatting.",cliCategory:"Editor"},endOfLine:{category:"Global",type:"choice",default:"lf",description:"Which end of line characters to apply.",choices:[{value:"lf",description:"Line Feed only (\\n), common on Linux and macOS as well as inside git repos"},{value:"crlf",description:"Carriage Return + Line Feed characters (\\r\\n), common on Windows"},{value:"cr",description:"Carriage Return character only (\\r), used very rarely"},{value:"auto",description:"Maintain existing\n(mixed values within one file are normalised by looking at what's used after the first line)"}]},filepath:{category:"Special",type:"path",description:"Specify the input filepath. This will be used to do parser inference.",cliName:"stdin-filepath",cliCategory:"Other",cliDescription:"Path to the file to pretend that stdin comes from."},insertPragma:{category:"Special",type:"boolean",default:!1,description:"Insert @format pragma into file's first docblock comment.",cliCategory:"Other"},parser:{category:"Global",type:"choice",default:void 0,description:"Which parser to use.",exception:t=>"string"==typeof t||"function"==typeof t,choices:[{value:"flow",description:"Flow"},{value:"babel",description:"JavaScript"},{value:"babel-flow",description:"Flow"},{value:"babel-ts",description:"TypeScript"},{value:"typescript",description:"TypeScript"},{value:"acorn",description:"JavaScript"},{value:"espree",description:"JavaScript"},{value:"meriyah",description:"JavaScript"},{value:"css",description:"CSS"},{value:"less",description:"Less"},{value:"scss",description:"SCSS"},{value:"json",description:"JSON"},{value:"json5",description:"JSON5"},{value:"jsonc",description:"JSON with Comments"},{value:"json-stringify",description:"JSON.stringify"},{value:"graphql",description:"GraphQL"},{value:"markdown",description:"Markdown"},{value:"mdx",description:"MDX"},{value:"vue",description:"Vue"},{value:"yaml",description:"YAML"},{value:"glimmer",description:"Ember / Handlebars"},{value:"html",description:"HTML"},{value:"angular",description:"Angular"},{value:"lwc",description:"Lightning Web Components"}]},plugins:{type:"path",array:!0,default:[{value:[]}],category:"Global",description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:t=>"string"==typeof t||"object"==typeof t,cliName:"plugin",cliCategory:"Config"},printWidth:{category:"Global",type:"int",default:80,description:"The line length where Prettier will try wrap.",range:{start:0,end:1/0,step:1}},rangeEnd:{category:"Special",type:"int",default:1/0,range:{start:0,end:1/0,step:1},description:"Format code ending at a given character offset (exclusive).\nThe range will extend forwards to the end of the selected statement.",cliCategory:"Editor"},rangeStart:{category:"Special",type:"int",default:0,range:{start:0,end:1/0,step:1},description:"Format code starting at a given character offset.\nThe range will extend backwards to the start of the first line containing the selected statement.",cliCategory:"Editor"},requirePragma:{category:"Special",type:"boolean",default:!1,description:"Require either '@prettier' or '@format' to be present in the file's first docblock comment\nin order for it to be formatted.",cliCategory:"Other"},tabWidth:{type:"int",category:"Global",default:2,description:"Number of spaces per indentation level.",range:{start:0,end:1/0,step:1}},useTabs:{category:"Global",type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{category:"Global",type:"choice",default:"auto",description:"Control how Prettier formats quoted code embedded in the file.",choices:[{value:"auto",description:"Format embedded code if Prettier can automatically identify it."},{value:"off",description:"Never automatically format embedded code."}]}};function Se({plugins:t=[],showDeprecated:e=!1}={}){let n=t.flatMap((t=>t.languages??[])),r=[];for(let o of function(t){let e=[];for(let[n,r]of Object.entries(t)){let t={name:n,...r};Array.isArray(t.default)&&(t.default=mt(!1,t.default,-1).value),e.push(t)}return e}(Object.assign({},...t.map((({options:t})=>t)),ke)))!e&&o.deprecated||(Array.isArray(o.choices)&&(e||(o.choices=o.choices.filter((t=>!t.deprecated))),"parser"===o.name&&(o.choices=[...o.choices,...Ie(o.choices,n,t)])),o.pluginDefaults=Object.fromEntries(t.filter((t=>{var e;return void 0!==(null==(e=t.defaultOptions)?void 0:e[o.name])})).map((t=>[t.name,t.defaultOptions[o.name]]))),r.push(o));return{languages:n,options:r}}function*Ie(t,e,n){let r=new Set(t.map((t=>t.value)));for(let o of e)if(o.parsers)for(let t of o.parsers)if(!r.has(t)){r.add(t);let e=n.find((e=>e.parsers&&Object.prototype.hasOwnProperty.call(e.parsers,t))),u=o.name;null!=e&&e.name&&(u+=` (plugin: ${e.name})`),yield{value:t,description:u}}}var Ne=t=>String(t).split(/[/\\]/).pop();function Re(t,e){if(!e)return;let n=Ne(e).toLowerCase();return t.find((({filenames:t})=>null==t?void 0:t.some((t=>t.toLowerCase()===n))))??t.find((({extensions:t})=>null==t?void 0:t.some((t=>n.endsWith(t)))))}var we=function(t,e){let n=t.plugins.flatMap((t=>t.languages??[])),r=function(t,e){if(e)return t.find((({name:t})=>t.toLowerCase()===e))??t.find((({aliases:t})=>null==t?void 0:t.includes(e)))??t.find((({extensions:t})=>null==t?void 0:t.includes(`.${e}`)))}(n,e.language)??Re(n,e.physicalFile)??Re(n,e.file)??void e.physicalFile;return null==r?void 0:r.parsers[0]},Be={key:t=>/^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(t)?t:JSON.stringify(t),value(t){if(null===t||"object"!=typeof t)return JSON.stringify(t);if(Array.isArray(t))return`[${t.map((t=>Be.value(t))).join(", ")}]`;let e=Object.keys(t);return 0===e.length?"{}":`{ ${e.map((e=>`${Be.key(e)}: ${Be.value(t[e])}`)).join(", ")} }`},pair:({key:t,value:e})=>Be.value({[t]:e})},Le=f(E(),1),Pe=f(E(),1),Ze=Symbol.for("vnopts.VALUE_NOT_EXIST"),Me=Symbol.for("vnopts.VALUE_UNCHANGED"),je=" ".repeat(2);function Ue(t,e,n,r){return[`Invalid ${Pe.default.red(r.key(t))} value.`,`Expected ${Pe.default.blue(n)},`,`but received ${e===Ze?Pe.default.gray("nothing"):Pe.default.red(r.value(e))}.`].join(" ")}function $e({text:t,list:e},n){let r=[];return t&&r.push(`- ${Pe.default.blue(t)}`),e&&r.push([`- ${Pe.default.blue(e.title)}:`].concat(e.values.map((t=>$e(t,n-je.length).replace(/^|\n/g,`$&${je}`)))).join("\n")),We(r,n)}function We(t,e){if(1===t.length)return t[0];let[n,r]=t,[o,u]=t.map((t=>t.split("\n",1)[0].length));return o>e&&o>u?r:n}var ze=f(E(),1),Ge=[],Ke=[];var Ve=(t,e,{descriptor:n,logger:r,schemas:o})=>{let u=[`Ignored unknown option ${ze.default.yellow(n.pair({key:t,value:e}))}.`],i=Object.keys(o).sort().find((e=>function(t,e){if(t===e)return 0;let n=t;t.length>e.length&&(t=e,e=n);let r=t.length,o=e.length;for(;r>0&&t.charCodeAt(~-r)===e.charCodeAt(~-o);)r--,o--;let u=0;for(;us?c>s?s+1:c:c>a?a+1:c;return s}(t,e)<3));i&&u.push(`Did you mean ${ze.default.blue(n.key(i))}?`),r.warn(u.join(" "))},He=["default","expected","validate","deprecated","forward","redirect","overlap","preprocess","postprocess"];var Ye=class{static create(t){return function(t,e){let n=new t(e),r=Object.create(n);for(let o of He)o in e&&(r[o]=qe(e[o],n,Ye.prototype[o].length));return r}(this,t)}constructor(t){this.name=t.name}default(t){}expected(t){return"nothing"}validate(t,e){return!1}deprecated(t,e){return!1}forward(t,e){}redirect(t,e){}overlap(t,e,n){return t}preprocess(t,e){return t}postprocess(t,e){return Me}};function qe(t,e,n){return"function"==typeof t?(...r)=>t(...r.slice(0,n-1),e,...r.slice(n-1)):()=>t}var Xe=class extends Ye{constructor(t){super(t),this._sourceName=t.sourceName}expected(t){return t.schemas[this._sourceName].expected(t)}validate(t,e){return e.schemas[this._sourceName].validate(t,e)}redirect(t,e){return this._sourceName}},Je=class extends Ye{expected(){return"anything"}validate(){return!0}},Qe=class extends Ye{constructor({valueSchema:t,name:e=t.name,...n}){super({...n,name:e}),this._valueSchema=t}expected(t){let{text:e,list:n}=t.normalizeExpectedResult(this._valueSchema.expected(t));return{text:e&&`an array of ${e}`,list:n&&{title:"an array of the following values",values:[{list:n}]}}}validate(t,e){if(!Array.isArray(t))return!1;let n=[];for(let r of t){let t=e.normalizeValidateResult(this._valueSchema.validate(r,e),r);!0!==t&&n.push(t.value)}return 0===n.length||{value:n}}deprecated(t,e){let n=[];for(let r of t){let t=e.normalizeDeprecatedResult(this._valueSchema.deprecated(r,e),r);!1!==t&&n.push(...t.map((({value:t})=>({value:[t]}))))}return n}forward(t,e){let n=[];for(let r of t){let t=e.normalizeForwardResult(this._valueSchema.forward(r,e),r);n.push(...t.map(tn))}return n}redirect(t,e){let n=[],r=[];for(let o of t){let t=e.normalizeRedirectResult(this._valueSchema.redirect(o,e),o);"remain"in t&&n.push(t.remain),r.push(...t.redirect.map(tn))}return 0===n.length?{redirect:r}:{redirect:r,remain:n}}overlap(t,e){return t.concat(e)}};function tn({from:t,to:e}){return{from:[t],to:e}}var en=class extends Ye{expected(){return"true or false"}validate(t){return"boolean"==typeof t}};function nn(t,e){let n=Object.create(null);for(let r of t){let t=r[e];if(n[t])throw new Error(`Duplicate ${e} ${JSON.stringify(t)}`);n[t]=r}return n}function rn(t,e){if(t===e)return 0;let n=typeof t,r=typeof e,o=["undefined","object","boolean","number","string"];return n!==r?o.indexOf(n)-o.indexOf(r):"string"!==n?Number(t)-Number(e):t.localeCompare(e)}function on(t){return void 0===t?{}:t}function un(t){if("string"==typeof t)return{text:t};let{text:e,list:n}=t;return function(t,e){if(!t)throw new Error(e)}(void 0!==(e||n),"Unexpected `expected` result, there should be at least one field."),n?{text:e,list:{title:n.title,values:n.values.map(un)}}:{text:e}}function sn(t,e){return!0===t||(!1===t?{value:e}:t)}function an(t,e,n=!1){return!1!==t&&(!0===t?!!n||[{value:e}]:"value"in t?[t]:0!==t.length&&t)}function cn(t,e){return"string"==typeof t||"key"in t?{from:e,to:t}:"from"in t?{from:t.from,to:t.to}:{from:e,to:t.to}}function ln(t,e){return void 0===t?[]:Array.isArray(t)?t.map((t=>cn(t,e))):[cn(t,e)]}function Dn(t,e){let n=ln("object"==typeof t&&"redirect"in t?t.redirect:t,e);return 0===n.length?{remain:e,redirect:n}:"object"==typeof t&&"remain"in t?{remain:t.remain,redirect:n}:{redirect:n}}var fn,hn=class extends Ye{constructor(t){super(t),this._choices=function(t,e){let n=new Map;for(let r of t){let t=r[e];if(n.has(t))throw new Error(`Duplicate ${e} ${JSON.stringify(t)}`);n.set(t,r)}return n}(t.choices.map((t=>t&&"object"==typeof t?t:{value:t})),"value")}expected({descriptor:t}){let e=Array.from(this._choices.keys()).map((t=>this._choices.get(t))).filter((({hidden:t})=>!t)).map((t=>t.value)).sort(rn).map(t.value),n=e.slice(0,-2),r=e.slice(-2);return{text:n.concat(r.join(" or ")).join(", "),list:{title:"one of the following values",values:e}}}validate(t){return this._choices.has(t)}deprecated(t){let e=this._choices.get(t);return!(!e||!e.deprecated)&&{value:t}}forward(t){let e=this._choices.get(t);return e?e.forward:void 0}redirect(t){let e=this._choices.get(t);return e?e.redirect:void 0}},dn=class extends Ye{expected(){return"a number"}validate(t,e){return"number"==typeof t}},pn=class extends dn{expected(){return"an integer"}validate(t,e){return!0===e.normalizeValidateResult(super.validate(t,e),t)&&function(t){return t===Math.floor(t)}(t)}},Fn=class extends Ye{expected(){return"a string"}validate(t){return"string"==typeof t}},En=Be,gn=Ve,mn=(t,e,n)=>{let{text:r,list:o}=n.normalizeExpectedResult(n.schemas[t].expected(n)),u=[];return r&&u.push(Ue(t,e,r,n.descriptor)),o&&u.push([Ue(t,e,o.title,n.descriptor)].concat(o.values.map((t=>$e(t,n.loggerPrintWidth)))).join("\n")),We(u,n.loggerPrintWidth)},vn=(t,e,{descriptor:n})=>{let r=[`${Le.default.yellow("string"==typeof t?n.key(t):n.pair(t))} is deprecated`];return e&&r.push(`we now treat it as ${Le.default.blue("string"==typeof e?n.key(e):n.pair(e))}`),r.join("; ")+"."},Cn=class{constructor(t,e){let{logger:n=console,loggerPrintWidth:r=80,descriptor:o=En,unknown:u=gn,invalid:i=mn,deprecated:s=vn,missing:a=(()=>!1),required:c=(()=>!1),preprocess:l=(t=>t),postprocess:D=(()=>Me)}=e||{};this._utils={descriptor:o,logger:n||{warn:()=>{}},loggerPrintWidth:r,schemas:nn(t,"name"),normalizeDefaultResult:on,normalizeExpectedResult:un,normalizeDeprecatedResult:an,normalizeForwardResult:ln,normalizeRedirectResult:Dn,normalizeValidateResult:sn},this._unknownHandler=u,this._invalidHandler=function(t){return(...e)=>{let n=t(...e);return"string"==typeof n?new Error(n):n}}(i),this._deprecatedHandler=s,this._identifyMissing=(t,e)=>!(t in e)||a(t,e),this._identifyRequired=c,this._preprocess=l,this._postprocess=D,this.cleanHistory()}cleanHistory(){this._hasDeprecationWarned=function(){let t=Object.create(null);return e=>{let n=JSON.stringify(e);return!!t[n]||(t[n]=!0,!1)}}()}normalize(t){let e={},n=[this._preprocess(t,this._utils)],r=()=>{for(;0!==n.length;){let t=n.shift(),r=this._applyNormalization(t,e);n.push(...r)}};r();for(let o of Object.keys(this._utils.schemas)){let t=this._utils.schemas[o];if(!(o in e)){let e=on(t.default(this._utils));"value"in e&&n.push({[o]:e.value})}}r();for(let o of Object.keys(this._utils.schemas)){if(!(o in e))continue;let t=this._utils.schemas[o],n=e[o],r=t.postprocess(n,this._utils);r!==Me&&(this._applyValidation(r,o,t),e[o]=r)}return this._applyPostprocess(e),this._applyRequiredCheck(e),e}_applyNormalization(t,e){let n=[],{knownKeys:r,unknownKeys:o}=this._partitionOptionKeys(t);for(let u of r){let r=this._utils.schemas[u],o=r.preprocess(t[u],this._utils);this._applyValidation(o,u,r);let i=({from:t,to:e})=>{n.push("string"==typeof e?{[e]:t}:{[e.key]:e.value})},s=({value:t,redirectTo:e})=>{let n=an(r.deprecated(t,this._utils),o,!0);if(!1!==n)if(!0===n)this._hasDeprecationWarned(u)||this._utils.logger.warn(this._deprecatedHandler(u,e,this._utils));else for(let{value:r}of n){let t={key:u,value:r};if(!this._hasDeprecationWarned(t)){let n="string"==typeof e?{key:e,value:r}:e;this._utils.logger.warn(this._deprecatedHandler(t,n,this._utils))}}};ln(r.forward(o,this._utils),o).forEach(i);let a=Dn(r.redirect(o,this._utils),o);if(a.redirect.forEach(i),"remain"in a){let t=a.remain;e[u]=u in e?r.overlap(e[u],t,this._utils):t,s({value:t})}for(let{from:t,to:e}of a.redirect)s({value:t,redirectTo:e})}for(let u of o){let r=t[u];this._applyUnknownHandler(u,r,e,((t,e)=>{n.push({[t]:e})}))}return n}_applyRequiredCheck(t){for(let e of Object.keys(this._utils.schemas))if(this._identifyMissing(e,t)&&this._identifyRequired(e))throw this._invalidHandler(e,Ze,this._utils)}_partitionOptionKeys(t){let[e,n]=function(t,e){let n=[],r=[];for(let o of t)e(o)?n.push(o):r.push(o);return[n,r]}(Object.keys(t).filter((e=>!this._identifyMissing(e,t))),(t=>t in this._utils.schemas));return{knownKeys:e,unknownKeys:n}}_applyValidation(t,e,n){let r=sn(n.validate(t,this._utils),t);if(!0!==r)throw this._invalidHandler(e,r.value,this._utils)}_applyUnknownHandler(t,e,n,r){let o=this._unknownHandler(t,e,this._utils);if(o)for(let u of Object.keys(o)){if(this._identifyMissing(u,o))continue;let t=o[u];u in this._utils.schemas?r(u,t):n[u]=t}}_applyPostprocess(t){let e=this._postprocess(t,this._utils);if(e!==Me){if(e.delete)for(let n of e.delete)delete t[n];if(e.override){let{knownKeys:n,unknownKeys:r}=this._partitionOptionKeys(e.override);for(let o of n){let n=e.override[o];this._applyValidation(n,o,this._utils.schemas[o]),t[o]=n}for(let o of r){let n=e.override[o];this._applyUnknownHandler(o,n,t,((e,n)=>{let r=this._utils.schemas[e];this._applyValidation(n,e,r),t[e]=n}))}}}}};function yn(t,{isCLI:e,optionInfos:n,FlagSchema:r}){let o,{name:u}=t,i={name:u},s={};switch(t.type){case"int":o=pn,e&&(i.preprocess=Number);break;case"string":case"path":o=Fn;break;case"choice":o=hn,i.choices=t.choices.map((e=>null!=e&&e.redirect?{...e,redirect:{to:{key:t.name,value:e.redirect}}}:e));break;case"boolean":o=en;break;case"flag":o=r,i.flags=n.flatMap((t=>[t.alias,t.description&&t.name,t.oppositeDescription&&`no-${t.name}`].filter(Boolean)));break;default:throw new Error(`Unexpected type ${t.type}`)}if(t.exception?i.validate=(e,n,r)=>t.exception(e)||n.validate(e,r):i.validate=(t,e,n)=>void 0===t||e.validate(t,n),t.redirect&&(s.redirect=e=>e?{to:{key:t.redirect.option,value:t.redirect.value}}:void 0),t.deprecated&&(s.deprecated=!0),e&&!t.array){let t=i.preprocess||(t=>t);i.preprocess=(e,n,r)=>n.preprocess(t(Array.isArray(e)?mt(!1,e,-1):e),r)}return t.array?Qe.create({...e?{preprocess:t=>Array.isArray(t)?t:[t]}:{},...s,valueSchema:o.create(i)}):o.create({...i,...s})}var An=function(t,e,{logger:n=!1,isCLI:r=!1,passThrough:o=!1,FlagSchema:u,descriptor:i}={}){if(r){if(!u)throw new Error("'FlagSchema' option is required.");if(!i)throw new Error("'descriptor' option is required.")}else i=Be;let s=o?Array.isArray(o)?(t,e)=>o.includes(t)?{[t]:e}:void 0:(t,e)=>({[t]:e}):(t,e,n)=>{let{_:r,...o}=n.schemas;return Ve(t,e,{...n,schemas:o})},a=function(t,{isCLI:e,FlagSchema:n}){let r=[];e&&r.push(Je.create({name:"_"}));for(let o of t)r.push(yn(o,{isCLI:e,optionInfos:t,FlagSchema:n})),o.alias&&e&&r.push(Xe.create({name:o.alias,sourceName:o.name}));return r}(e,{isCLI:r,FlagSchema:u}),c=new Cn(a,{logger:n,unknown:s,descriptor:i}),l=!1!==n;l&&fn&&(c._hasDeprecationWarned=fn);let D=c.normalize(t);return l&&(fn=c._hasDeprecationWarned),D},bn=(t,e,n)=>{if(!t||null!=e){if(e.findLast)return e.findLast(n);for(let t=e.length-1;t>=0;t--){let r=e[t];if(n(r,t,e))return r}}};function Tn(t,e){if(!e)throw new Error("parserName is required.");let n=bn(!1,t,(t=>t.parsers&&Object.prototype.hasOwnProperty.call(t.parsers,e)));if(n)return n;let r=`Couldn't resolve parser "${e}".`;throw r+=" Plugins must be explicitly added to the standalone bundle.",new Oe(r)}function xn({plugins:t,parser:e}){return On(Tn(t,e),e)}function On(t,e){let n=t.parsers[e];return"function"==typeof n?n():n}var _n={astFormat:"estree",printer:{},originalText:void 0,locStart:null,locEnd:null};var kn=async function(t,e={}){var n;let r={...t};if(!r.parser){if(!r.filepath)throw new _e("No parser and no file path given, couldn't infer a parser.");if(r.parser=we(r,{physicalFile:r.filepath}),!r.parser)throw new _e(`No parser could be inferred for file "${r.filepath}".`)}let o=Se({plugins:t.plugins,showDeprecated:!0}).options,u={..._n,...Object.fromEntries(o.filter((t=>void 0!==t.default)).map((t=>[t.name,t.default])))},i=Tn(r.plugins,r.parser),s=await On(i,r.parser);r.astFormat=s.astFormat,r.locEnd=s.locEnd,r.locStart=s.locStart;let a=null!=(n=i.printers)&&n[s.astFormat]?i:function(t,e){if(!e)throw new Error("astFormat is required.");let n=bn(!1,t,(t=>t.printers&&Object.prototype.hasOwnProperty.call(t.printers,e)));if(n)return n;let r=`Couldn't find plugin for AST format "${e}".`;throw r+=" Plugins must be explicitly added to the standalone bundle.",new Oe(r)}(r.plugins,s.astFormat),c=await function(t,e){let n=t.printers[e];return"function"==typeof n?n():n}(a,s.astFormat);r.printer=c;let l={...u,...a.defaultOptions?Object.fromEntries(Object.entries(a.defaultOptions).filter((([,t])=>void 0!==t))):{}};for(let[D,f]of Object.entries(l))(null===r[D]||void 0===r[D])&&(r[D]=f);return"json"===r.parser&&(r.trailingComma="none"),An(r,o,{passThrough:Object.keys(_n),...e})},Sn=f(b(),1);var In=async function(t,e){let n,r=await xn(e),o=r.preprocess?r.preprocess(t,e):t;e.originalText=o;try{n=await r.parse(o,e,e)}catch(u){!function(t,e){let{loc:n}=t;if(n){let r=(0,Sn.codeFrameColumns)(e,n,{highlightCode:!0});throw t.message+="\n"+r,t.codeFrame=r,t}throw t}(u,t)}return{text:o,ast:n}};async function Nn(t,e,n,r,o){let{embeddedLanguageFormatting:u,printer:{embed:i,hasPrettierIgnore:s=(()=>!1),getVisitorKeys:a}}=n;if(!i||"auto"!==u)return;if(i.length>2)throw new Error("printer.embed has too many parameters. The API changed in Prettier v3. Please update your plugin. See https://prettier.io/docs/en/plugins.html#optional-embed");let c=ce(i.getVisitorKeys??a),l=[];!function e(){let{node:r}=t;if(null===r||"object"!=typeof r||s(t))return;for(let n of c(r))Array.isArray(r[n])?t.each(e,n):t.call(e,n);let u=i(t,n);if(u){if("function"==typeof u)return void l.push({print:u,node:r,pathStack:[...t.stack]});o.set(r,u)}}();let D=t.stack;for(let{print:d,node:p,pathStack:F}of l)try{t.stack=F;let r=await d(f,e,t,n);r&&o.set(p,r)}catch(h){if(globalThis.PRETTIER_DEBUG)throw h}function f(t,e){return async function(t,e,n,r){let o=await kn({...n,...e,parentParser:n.parser,originalText:t},{passThrough:!0}),{ast:u}=await In(t,o),i=await r(u,o);return It(i)}(t,e,n,r)}t.stack=D}var Rn=function(t,e){let{originalText:n,[Symbol.for("comments")]:r,locStart:o,locEnd:u,[Symbol.for("printedComments")]:i}=e,{node:s}=t,a=o(s),c=u(s);for(let l of r)o(l)>=a&&u(l)<=c&&i.add(l);return n.slice(a,c)};async function wn(t,e){({ast:t}=await Ln(t,e));let n=new Map,r=new Ht(t),o=xe(e),u=new Map;await Nn(r,s,e,wn,u);let i=await Bn(r,e,s,void 0,u);return function(t){let{[Symbol.for("comments")]:e,[Symbol.for("printedComments")]:n}=t;for(let r of e){if(!r.printed&&!n.has(r))throw new Error('Comment "'+r.value.trim()+'" was not printed. Please report this error!');delete r.printed}}(e),i;function s(t,e){return void 0===t||t===r?a(e):Array.isArray(t)?r.call((()=>a(e)),...t):r.call((()=>a(e)),t)}function a(t){o(r);let i=r.node;if(null==i)return"";let a=i&&"object"==typeof i&&void 0===t;if(a&&n.has(i))return n.get(i);let c=Bn(r,e,s,t,u);return a&&n.set(i,c),c}}function Bn(t,e,n,r,o){var u;let i,{node:s}=t,{printer:a}=e;return i=null!=(u=a.hasPrettierIgnore)&&u.call(a,t)?Rn(t,e):o.has(s)?o.get(s):a.print(t,e,n,r),s===e.cursorNode&&(i=Rt(i,(t=>[pt,t,pt]))),a.printComment&&(!a.willPrintOwnComments||!a.willPrintOwnComments(t,e))&&(i=function(t,e,n){let{leading:r,trailing:o}=Te(t,n);return r||o?Rt(e,(t=>[r,t,o])):e}(t,i,e)),i}async function Ln(t,e){let n=t.comments??[];e[Symbol.for("comments")]=n,e[Symbol.for("tokens")]=t.tokens??[],e[Symbol.for("printedComments")]=new Set,function(t,e){let{comments:n}=t;if(delete t.comments,!ie(n)||!e.printer.canAttachComment)return;let r=[],{locStart:o,locEnd:u,printer:{experimentalFeatures:{avoidAstMutation:i=!1}={},handleComments:s={}},originalText:a}=e,{ownLine:c=Ee,endOfLine:l=Ee,remaining:D=Ee}=s,f=n.map(((r,o)=>({...Fe(t,r,e),comment:r,text:a,options:e,ast:t,isLastComment:n.length-1===o})));for(let[h,d]of f.entries()){let t,{comment:e,precedingNode:n,enclosingNode:s,followingNode:a,text:p,options:F,ast:E,isLastComment:g}=d;if("json"===F.parser||"json5"===F.parser||"jsonc"===F.parser||"__js_expression"===F.parser||"__ts_expression"===F.parser||"__vue_expression"===F.parser||"__vue_ts_expression"===F.parser){if(o(e)-o(E)<=0){De(E,e);continue}if(u(e)-u(E)>=0){he(E,e);continue}}if(i?t=[d]:(e.enclosingNode=s,e.precedingNode=n,e.followingNode=a,t=[e,p,F,E,g]),me(p,F,f,h))e.placement="ownLine",c(...t)||(a?De(a,e):n?he(n,e):fe(s||E,e));else if(ve(p,F,f,h))e.placement="endOfLine",l(...t)||(n?he(n,e):a?De(a,e):fe(s||E,e));else if(e.placement="remaining",!D(...t))if(n&&a){let t=r.length;t>0&&r[t-1].followingNode!==a&&Ce(r,F),r.push(d)}else n?he(n,e):a?De(a,e):fe(s||E,e)}if(Ce(r,e),!i)for(let h of n)delete h.precedingNode,delete h.enclosingNode,delete h.followingNode}(t,e);let{printer:{preprocess:r}}=e;return{ast:t=r?await r(t,e):t,comments:n}}var Pn=function(t,e){let{cursorOffset:n,locStart:r,locEnd:o}=e,u=ce(e.printer.getVisitorKeys),i=t=>r(t)<=n&&o(t)>=n,s=t;for(let a of function*(t,e){let n=[t];for(let r=0;rt(e,r))).filter(Boolean);let i={},s=new Set(o(e));for(let n in e)!Object.prototype.hasOwnProperty.call(e,n)||u.has(n)||(s.has(n)?i[n]=t(e[n],e):i[n]=e[n]);let a=n(e,i,r);if(null!==a)return a??i}(t)},Mn=({parser:t})=>"json"===t||"json5"===t||"jsonc"===t||"json-stringify"===t;function jn(t){let e=t.length-1;for(;;){let n=t[e];if("Program"!==(null==n?void 0:n.type)&&"File"!==(null==n?void 0:n.type))break;e--}return t.slice(0,e+1)}function Un(t,e,n,r,o=[],u){let{locStart:i,locEnd:s}=n,a=i(t),c=s(t);if(!(e>c||er);let s=t.slice(r,o).search(/\S/),a=-1===s;if(!a)for(r+=s;o>r&&!/\S/.test(t[o-1]);--o);let c,l,D=Un(n,r,e,((t,n)=>zn(e,t,n)),[],"rangeStart"),f=a?D:Un(n,o,e,(t=>zn(e,t)),[],"rangeEnd");if(!D||!f)return{rangeStart:0,rangeEnd:0};if(Mn(e)){let t=function(t,e){let n=[t.node,...t.parentNodes],r=new Set([e.node,...e.parentNodes]);return n.find((t=>$n.has(t.type)&&r.has(t)))}(D,f);c=t,l=t}else({startNode:c,endNode:l}=function(t,e,{locStart:n,locEnd:r}){let o=t.node,u=e.node;if(o===u)return{startNode:o,endNode:u};let i=n(t.node);for(let a of jn(e.parentNodes)){if(!(n(a)>=i))break;u=a}let s=r(e.node);for(let a of jn(t.parentNodes)){if(!(r(a)<=s))break;if(o=a,o===u)break}return{startNode:o,endNode:u}}(D,f,e));return{rangeStart:Math.min(u(c),u(l)),rangeEnd:Math.max(i(c),i(l))}}var Kn="\ufeff",Vn=Symbol("cursor");async function Hn(t,e,n=0){if(!t||0===t.trim().length)return{formatted:"",cursorOffset:-1,comments:[]};let{ast:r,text:o}=await In(t,e);e.cursorOffset>=0&&(e.cursorNode=Pn(r,e));let u=await wn(r,e);n>0&&(u=Et([ht,u],n,e.tabWidth));let i=$t(u,e);if(n>0){let t=i.formatted.trim();void 0!==i.cursorNodeStart&&(i.cursorNodeStart-=i.formatted.indexOf(t)),i.formatted=t+_(e.endOfLine)}let s=e[Symbol.for("comments")];if(e.cursorOffset>=0){let t,n,r,u,a;if(e.cursorNode&&i.cursorNodeText?(t=e.locStart(e.cursorNode),n=o.slice(t,e.locEnd(e.cursorNode)),r=e.cursorOffset-t,u=i.cursorNodeStart,a=i.cursorNodeText):(t=0,n=o,r=e.cursorOffset,u=0,a=i.formatted),n===a)return{formatted:i.formatted,cursorOffset:u+r,comments:s};let c=n.split("");c.splice(r,0,Vn);let l=a.split(""),D=(0,O.diffArrays)(c,l),f=u;for(let e of D)if(e.removed){if(e.value.includes(Vn))break}else f+=e.count;return{formatted:i.formatted,cursorOffset:f,comments:s}}return{formatted:i.formatted,cursorOffset:-1,comments:s}}function Yn(t,e,n){return"number"!=typeof e||Number.isNaN(e)||e<0||e>t.length?n:e}function qn(t,e){let{cursorOffset:n,rangeStart:r,rangeEnd:o}=e;return n=Yn(t,n,-1),r=Yn(t,r,0),o=Yn(t,o,t.length),{...e,cursorOffset:n,rangeStart:r,rangeEnd:o}}function Xn(t,e){let{cursorOffset:n,rangeStart:r,rangeEnd:o,endOfLine:u}=qn(t,e),i=t.charAt(0)===Kn;if(i&&(t=t.slice(1),n--,r--,o--),"auto"===u&&(u=function(t){let e=t.indexOf("\r");return e>=0?"\n"===t.charAt(e+1)?"crlf":"cr":"lf"}(t)),t.includes("\r")){let e=e=>k(t.slice(0,Math.max(e,0)),"\r\n");n-=e(n),r-=e(r),o-=e(o),t=function(t){return x(!1,t,/\r\n?/g,"\n")}(t)}return{hasBOM:i,text:t,options:qn(t,{...e,cursorOffset:n,rangeStart:r,rangeEnd:o,endOfLine:u})}}async function Jn(t,e){let n=await xn(e);return!n.hasPragma||n.hasPragma(t)}async function Qn(t,e){let n,{hasBOM:r,text:o,options:u}=Xn(t,await kn(e));return u.rangeStart>=u.rangeEnd&&""!==o||u.requirePragma&&!await Jn(o,u)?{formatted:t,cursorOffset:e.cursorOffset,comments:[]}:(u.rangeStart>0||u.rangeEndo&&e.cursorOffset<=u?e.cursorOffset-o:-1,endOfLine:"lf"},c),D=l.formatted.trimEnd(),{cursorOffset:f}=e;f>u?f+=D.length-i.length:l.cursorOffset>=0&&(f=l.cursorOffset+o);let h=r.slice(0,o)+D+r.slice(u);if("lf"!==e.endOfLine){let t=_(e.endOfLine);f>=0&&"\r\n"===t&&(f+=k(h.slice(0,f),"\n")),h=x(!1,h,"\n",t)}return{formatted:h,cursorOffset:f,comments:l.comments}}(o,u):(!u.requirePragma&&u.insertPragma&&u.printer.insertPragma&&!await Jn(o,u)&&(o=u.printer.insertPragma(o)),n=await Hn(o,u)),r&&(n.formatted=Kn+n.formatted,n.cursorOffset>=0&&n.cursorOffset++),n)}var tr={};l(tr,{builders:()=>er,printer:()=>nr,utils:()=>rr});var er={join:Ft,line:Dt,softline:ft,hardline:ht,literalline:dt,group:rt,conditionalGroup:function(t,e){return rt(t[0],{...e,expandedStates:t})},fill:ot,lineSuffix:ut,lineSuffixBoundary:it,cursor:pt,breakParent:st,ifBreak:function(t,e="",n={}){return Q(t),""!==e&&Q(e),{type:Z,breakContents:t,flatContents:e,groupId:n.groupId}},trim:at,indent:et,indentIfBreak:function(t,e){return Q(t),{type:M,contents:t,groupId:e.groupId,negate:e.negate}},align:nt,addAlignmentToDoc:Et,markAsRoot:function(t){return nt({type:"root"},t)},dedentToRoot:function(t){return nt(Number.NEGATIVE_INFINITY,t)},dedent:function(t){return nt(-1,t)},hardlineWithoutBreakParent:ct,literallineWithoutBreakParent:lt,label:function(t,e){return Q(e),t?{type:W,label:t,contents:e}:e},concat:t=>t},nr={printDocToString:$t},rr={willBreak:function(t){return Tt(t,xt,!1)},traverseDoc:X,findInDoc:Tt,mapDoc:bt,removeLines:function(t){return bt(t,_t)},stripTrailingHardline:It,replaceEndOfLine:function(t,e=dt){return bt(t,(t=>"string"==typeof t?Ft(e,t.split("\n")):t))},canBreak:function(t){return Tt(t,Nt,!1)}},or="3.2.4",ur={};l(ur,{addDanglingComment:()=>fe,addLeadingComment:()=>De,addTrailingComment:()=>he,getAlignmentSize:()=>Vt,getIndentSize:()=>lr,getMaxContinuousCount:()=>Dr,getNextNonSpaceNonCommentCharacter:()=>fr,getNextNonSpaceNonCommentCharacterIndex:()=>Fr,getStringWidth:()=>yt,hasNewline:()=>ue,hasNewlineInRange:()=>hr,hasSpaces:()=>dr,isNextLineEmpty:()=>gr,isNextLineEmptyAfterIndex:()=>cr,isPreviousLineEmpty:()=>Er,makeString:()=>pr,skip:()=>Qt,skipEverythingButNewLine:()=>re,skipInlineComment:()=>ir,skipNewline:()=>oe,skipSpaces:()=>ee,skipToLineEnd:()=>ne,skipTrailingComment:()=>sr,skipWhitespace:()=>te});var ir=function(t,e){if(!1===e)return!1;if("/"===t.charAt(e)&&"*"===t.charAt(e+1))for(let n=e+2;nMath.max(t,n.length/e.length)),0)};var fr=function(t,e){let n=ar(t,e);return!1===n?"":t.charAt(n)};var hr=function(t,e,n){for(let r=e;ro===r?o:u===e?"\\"+u:u||(n&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(o)?o:"\\"+o)));return e+o+e};function Fr(t,e){return 2===arguments.length||"number"==typeof e?ar(t,e):function(t,e,n){return ar(t,n(e))}(...arguments)}function Er(t,e){return 2===arguments.length||"number"==typeof e?Ae(t,e):function(t,e,n){return Ae(t,n(e))}(...arguments)}function gr(t,e){return 2===arguments.length||"number"==typeof e?cr(t,e):function(t,e,n){return cr(t,n(e))}(...arguments)}function mr(t,e=1){return async(...n)=>{let r=n[e]??{},o=r.plugins??[];return n[e]={...r,plugins:Array.isArray(o)?o:Object.values(o)},t(...n)}}var vr=mr(Qn);async function Cr(t,e){let{formatted:n}=await vr(t,{...e,cursorOffset:-1});return n}async function yr(t,e){return await Cr(t,e)===t}var Ar=mr(Se,0),br={parse:mr((async function(t,e,n){let{text:r,options:o}=Xn(t,await kn(e)),u=await In(r,o);return n&&(n.preprocessForPrint&&(u.ast=await Ln(u.ast,o)),n.massage&&(u.ast=Zn(u.ast,o))),u})),formatAST:mr((async function(t,e){return e=await kn(e),$t(await wn(t,e),e)})),formatDoc:mr((async function(t,e){let n=function(t){let e=Object.create(null),n=new Set;return function t(e,n,o){var u,i;if("string"==typeof e)return JSON.stringify(e);if(Array.isArray(e)){let n=e.map(t).filter(Boolean);return 1===n.length?n[0]:`[${n.join(", ")}]`}if(e.type===$){let t=(null==(u=null==o?void 0:o[n+1])?void 0:u.type)===z;return e.literal?t?"literalline":"literallineWithoutBreakParent":e.hard?t?"hardline":"hardlineWithoutBreakParent":e.soft?"softline":"line"}if(e.type===z)return(null==(i=null==o?void 0:o[n-1])?void 0:i.type)===$&&o[n-1].hard?void 0:"breakParent";if(e.type===B)return"trim";if(e.type===R)return"indent("+t(e.contents)+")";if(e.type===w)return e.n===Number.NEGATIVE_INFINITY?"dedentToRoot("+t(e.contents)+")":e.n<0?"dedent("+t(e.contents)+")":"root"===e.n.type?"markAsRoot("+t(e.contents)+")":"align("+JSON.stringify(e.n)+", "+t(e.contents)+")";if(e.type===Z)return"ifBreak("+t(e.breakContents)+(e.flatContents?", "+t(e.flatContents):"")+(e.groupId?(e.flatContents?"":', ""')+`, { groupId: ${r(e.groupId)} }`:"")+")";if(e.type===M){let n=[];e.negate&&n.push("negate: true"),e.groupId&&n.push(`groupId: ${r(e.groupId)}`);let o=n.length>0?`, { ${n.join(", ")} }`:"";return`indentIfBreak(${t(e.contents)}${o})`}if(e.type===L){let n=[];e.break&&"propagated"!==e.break&&n.push("shouldBreak: true"),e.id&&n.push(`id: ${r(e.id)}`);let o=n.length>0?`, { ${n.join(", ")} }`:"";return e.expandedStates?`conditionalGroup([${e.expandedStates.map((e=>t(e))).join(",")}]${o})`:`group(${t(e.contents)}${o})`}if(e.type===P)return`fill([${e.parts.map((e=>t(e))).join(", ")}])`;if(e.type===j)return"lineSuffix("+t(e.contents)+")";if(e.type===U)return"lineSuffixBoundary";if(e.type===W)return`label(${JSON.stringify(e.label)}, ${t(e.contents)})`;throw new Error("Unknown doc type "+e.type)}(gt(t));function r(t){if("symbol"!=typeof t)return JSON.stringify(String(t));if(t in e)return e[t];let r=t.description||"symbol";for(let o=0;;o++){let u=r+(o>0?` #${o}`:"");if(!n.has(u))return n.add(u),e[t]=`Symbol.for(${JSON.stringify(u)})`}}}(t),{formatted:r}=await Qn(n,{...e,parser:"__js_expression"});return r})),printToDoc:mr((async function(t,e){e=await kn(e);let{ast:n}=await In(t,e);return wn(n,e)})),printDocToString:mr((async function(t,e){return $t(t,await kn(e))}))},Tr=T}}]); \ No newline at end of file +(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[321],{2545:(t,e,n)=>{var r=n(1822)(n(7400),"DataView");t.exports=r},6586:(t,e,n)=>{var r=n(7753),o=n(2452),u=n(2115),i=n(8256),s=n(7426);function a(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e{var r=n(9417),o=n(2470),u=n(6165),i=n(1873),s=n(2556);function a(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e{var r=n(1822)(n(7400),"Map");t.exports=r},4554:(t,e,n)=>{var r=n(9448),o=n(7738),u=n(6575),i=n(7238),s=n(8738);function a(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e{var r=n(1822)(n(7400),"Promise");t.exports=r},6151:(t,e,n)=>{var r=n(1822)(n(7400),"Set");t.exports=r},2485:(t,e,n)=>{var r=n(4554),o=n(8639),u=n(8379);function i(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new r;++e{var r=n(6301),o=n(7354),u=n(5863),i=n(2367),s=n(748),a=n(7569);function c(t){var e=this.__data__=new r(t);this.size=e.size}c.prototype.clear=o,c.prototype.delete=u,c.prototype.get=i,c.prototype.has=s,c.prototype.set=a,t.exports=c},6539:(t,e,n)=>{var r=n(7400).Symbol;t.exports=r},9942:(t,e,n)=>{var r=n(7400).Uint8Array;t.exports=r},6902:(t,e,n)=>{var r=n(1822)(n(7400),"WeakMap");t.exports=r},594:t=>{t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length;++n{t.exports=function(t,e){for(var n=null==t?0:t.length;n--&&!1!==e(t[n],n,t););return t}},263:t=>{t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length,o=0,u=[];++n{var r=n(4701),o=n(2900),u=n(9785),i=n(3854),s=n(2383),a=n(8519),c=Object.prototype.hasOwnProperty;t.exports=function(t,e){var n=u(t),l=!n&&o(t),D=!n&&!l&&i(t),f=!n&&!l&&!D&&a(t),h=n||l||D||f,d=h?r(t.length,String):[],p=d.length;for(var F in t)!e&&!c.call(t,F)||h&&("length"==F||D&&("offset"==F||"parent"==F)||f&&("buffer"==F||"byteLength"==F||"byteOffset"==F)||s(F,p))||d.push(F);return d}},6070:t=>{t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length,o=Array(r);++n{t.exports=function(t,e){for(var n=-1,r=e.length,o=t.length;++n{t.exports=function(t,e,n,r){var o=-1,u=null==t?0:t.length;for(r&&u&&(n=t[++o]);++o{t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length;++n{t.exports=function(t){return t.split("")}},585:t=>{var e=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;t.exports=function(t){return t.match(e)||[]}},3382:(t,e,n)=>{var r=n(5638);t.exports=function(t,e){for(var n=t.length;n--;)if(r(t[n][0],e))return n;return-1}},2033:(t,e,n)=>{var r=n(6194),o=n(6789)(r);t.exports=o},5796:(t,e,n)=>{var r=n(3475),o=n(6789)(r,!0);t.exports=o},5372:t=>{t.exports=function(t,e,n,r){for(var o=t.length,u=n+(r?1:-1);r?u--:++u{var r=n(8911)();t.exports=r},6194:(t,e,n)=>{var r=n(9819),o=n(98);t.exports=function(t,e){return t&&r(t,e,o)}},3475:(t,e,n)=>{var r=n(4429),o=n(98);t.exports=function(t,e){return t&&r(t,e,o)}},4429:(t,e,n)=>{var r=n(8911)(!0);t.exports=r},9867:(t,e,n)=>{var r=n(6747),o=n(7948);t.exports=function(t,e){for(var n=0,u=(e=r(e,t)).length;null!=t&&n{var r=n(7141),o=n(9785);t.exports=function(t,e,n){var u=e(t);return o(t)?u:r(u,n(t))}},9736:(t,e,n)=>{var r=n(6539),o=n(4840),u=n(1258),i=r?r.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":i&&i in Object(t)?o(t):u(t)}},1610:t=>{t.exports=function(t,e){return null!=t&&e in Object(t)}},8817:(t,e,n)=>{var r=n(5372),o=n(1129),u=n(8263);t.exports=function(t,e,n){return e==e?u(t,e,n):r(t,o,n)}},5829:(t,e,n)=>{var r=n(9736),o=n(2360);t.exports=function(t){return o(t)&&"[object Arguments]"==r(t)}},2866:(t,e,n)=>{var r=n(2772),o=n(2360);t.exports=function t(e,n,u,i,s){return e===n||(null==e||null==n||!o(e)&&!o(n)?e!=e&&n!=n:r(e,n,u,i,t,s))}},2772:(t,e,n)=>{var r=n(3694),o=n(7042),u=n(370),i=n(9584),s=n(3533),a=n(9785),c=n(3854),l=n(8519),D="[object Arguments]",f="[object Array]",h="[object Object]",d=Object.prototype.hasOwnProperty;t.exports=function(t,e,n,p,F,E){var g=a(t),m=a(e),v=g?f:s(t),C=m?f:s(e),y=(v=v==D?h:v)==h,A=(C=C==D?h:C)==h,b=v==C;if(b&&c(t)){if(!c(e))return!1;g=!0,y=!1}if(b&&!y)return E||(E=new r),g||l(t)?o(t,e,n,p,F,E):u(t,e,v,n,p,F,E);if(!(1&n)){var T=y&&d.call(t,"__wrapped__"),x=A&&d.call(e,"__wrapped__");if(T||x){var O=T?t.value():t,_=x?e.value():e;return E||(E=new r),F(O,_,n,p,E)}}return!!b&&(E||(E=new r),i(t,e,n,p,F,E))}},9850:(t,e,n)=>{var r=n(3694),o=n(2866);t.exports=function(t,e,n,u){var i=n.length,s=i,a=!u;if(null==t)return!s;for(t=Object(t);i--;){var c=n[i];if(a&&c[2]?c[1]!==t[c[0]]:!(c[0]in t))return!1}for(;++i{t.exports=function(t){return t!=t}},6729:(t,e,n)=>{var r=n(8338),o=n(9678),u=n(1611),i=n(6532),s=/^\[object .+?Constructor\]$/,a=Function.prototype,c=Object.prototype,l=a.toString,D=c.hasOwnProperty,f=RegExp("^"+l.call(D).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!u(t)||o(t))&&(r(t)?f:s).test(i(t))}},6972:(t,e,n)=>{var r=n(9736),o=n(4194),u=n(2360),i={};i["[object Float32Array]"]=i["[object Float64Array]"]=i["[object Int8Array]"]=i["[object Int16Array]"]=i["[object Int32Array]"]=i["[object Uint8Array]"]=i["[object Uint8ClampedArray]"]=i["[object Uint16Array]"]=i["[object Uint32Array]"]=!0,i["[object Arguments]"]=i["[object Array]"]=i["[object ArrayBuffer]"]=i["[object Boolean]"]=i["[object DataView]"]=i["[object Date]"]=i["[object Error]"]=i["[object Function]"]=i["[object Map]"]=i["[object Number]"]=i["[object Object]"]=i["[object RegExp]"]=i["[object Set]"]=i["[object String]"]=i["[object WeakMap]"]=!1,t.exports=function(t){return u(t)&&o(t.length)&&!!i[r(t)]}},9278:(t,e,n)=>{var r=n(1410),o=n(7518),u=n(1137),i=n(9785),s=n(6001);t.exports=function(t){return"function"==typeof t?t:null==t?u:"object"==typeof t?i(t)?o(t[0],t[1]):r(t):s(t)}},186:(t,e,n)=>{var r=n(6016),o=n(962),u=Object.prototype.hasOwnProperty;t.exports=function(t){if(!r(t))return o(t);var e=[];for(var n in Object(t))u.call(t,n)&&"constructor"!=n&&e.push(n);return e}},1410:(t,e,n)=>{var r=n(9850),o=n(5102),u=n(5042);t.exports=function(t){var e=o(t);return 1==e.length&&e[0][2]?u(e[0][0],e[0][1]):function(n){return n===t||r(n,t,e)}}},7518:(t,e,n)=>{var r=n(2866),o=n(9729),u=n(9749),i=n(318),s=n(8302),a=n(5042),c=n(7948);t.exports=function(t,e){return i(t)&&s(e)?a(c(t),e):function(n){var i=o(n,t);return void 0===i&&i===e?u(n,t):r(e,i,3)}}},517:t=>{t.exports=function(t){return function(e){return null==e?void 0:e[t]}}},301:(t,e,n)=>{var r=n(9867);t.exports=function(t){return function(e){return r(e,t)}}},7646:t=>{t.exports=function(t){return function(e){return null==t?void 0:t[e]}}},5733:t=>{t.exports=function(t,e,n){var r=-1,o=t.length;e<0&&(e=-e>o?0:o+e),(n=n>o?o:n)<0&&(n+=o),o=e>n?0:n-e>>>0,e>>>=0;for(var u=Array(o);++r{t.exports=function(t,e){for(var n=-1,r=Array(t);++n{var r=n(6539),o=n(6070),u=n(9785),i=n(5193),s=r?r.prototype:void 0,a=s?s.toString:void 0;t.exports=function t(e){if("string"==typeof e)return e;if(u(e))return o(e,t)+"";if(i(e))return a?a.call(e):"";var n=e+"";return"0"==n&&1/e==-Infinity?"-0":n}},4833:(t,e,n)=>{var r=n(6127),o=/^\s+/;t.exports=function(t){return t?t.slice(0,r(t)+1).replace(o,""):t}},9334:t=>{t.exports=function(t){return function(e){return t(e)}}},2231:(t,e,n)=>{var r=n(6070);t.exports=function(t,e){return r(e,(function(e){return t[e]}))}},5581:t=>{t.exports=function(t,e){return t.has(e)}},2079:(t,e,n)=>{var r=n(1137);t.exports=function(t){return"function"==typeof t?t:r}},6747:(t,e,n)=>{var r=n(9785),o=n(318),u=n(3419),i=n(5567);t.exports=function(t,e){return r(t)?t:o(t,e)?[t]:u(i(t))}},9158:(t,e,n)=>{var r=n(5733);t.exports=function(t,e,n){var o=t.length;return n=void 0===n?o:n,!e&&n>=o?t:r(t,e,n)}},4937:(t,e,n)=>{var r=n(7400)["__core-js_shared__"];t.exports=r},6789:(t,e,n)=>{var r=n(68);t.exports=function(t,e){return function(n,o){if(null==n)return n;if(!r(n))return t(n,o);for(var u=n.length,i=e?u:-1,s=Object(n);(e?i--:++i{t.exports=function(t){return function(e,n,r){for(var o=-1,u=Object(e),i=r(e),s=i.length;s--;){var a=i[t?s:++o];if(!1===n(u[a],a,u))break}return e}}},2690:(t,e,n)=>{var r=n(9158),o=n(5348),u=n(3528),i=n(5567);t.exports=function(t){return function(e){e=i(e);var n=o(e)?u(e):void 0,s=n?n[0]:e.charAt(0),a=n?r(n,1).join(""):e.slice(1);return s[t]()+a}}},8267:(t,e,n)=>{var r=n(6446),o=n(1099),u=n(3254),i=RegExp("['\u2019]","g");t.exports=function(t){return function(e){return r(u(o(e).replace(i,"")),t,"")}}},6632:(t,e,n)=>{var r=n(9278),o=n(68),u=n(98);t.exports=function(t){return function(e,n,i){var s=Object(e);if(!o(e)){var a=r(n,3);e=u(e),n=function(t){return a(s[t],t,s)}}var c=t(e,n,i);return c>-1?s[a?e[c]:c]:void 0}}},4248:(t,e,n)=>{var r=n(7646)({"\xc0":"A","\xc1":"A","\xc2":"A","\xc3":"A","\xc4":"A","\xc5":"A","\xe0":"a","\xe1":"a","\xe2":"a","\xe3":"a","\xe4":"a","\xe5":"a","\xc7":"C","\xe7":"c","\xd0":"D","\xf0":"d","\xc8":"E","\xc9":"E","\xca":"E","\xcb":"E","\xe8":"e","\xe9":"e","\xea":"e","\xeb":"e","\xcc":"I","\xcd":"I","\xce":"I","\xcf":"I","\xec":"i","\xed":"i","\xee":"i","\xef":"i","\xd1":"N","\xf1":"n","\xd2":"O","\xd3":"O","\xd4":"O","\xd5":"O","\xd6":"O","\xd8":"O","\xf2":"o","\xf3":"o","\xf4":"o","\xf5":"o","\xf6":"o","\xf8":"o","\xd9":"U","\xda":"U","\xdb":"U","\xdc":"U","\xf9":"u","\xfa":"u","\xfb":"u","\xfc":"u","\xdd":"Y","\xfd":"y","\xff":"y","\xc6":"Ae","\xe6":"ae","\xde":"Th","\xfe":"th","\xdf":"ss","\u0100":"A","\u0102":"A","\u0104":"A","\u0101":"a","\u0103":"a","\u0105":"a","\u0106":"C","\u0108":"C","\u010a":"C","\u010c":"C","\u0107":"c","\u0109":"c","\u010b":"c","\u010d":"c","\u010e":"D","\u0110":"D","\u010f":"d","\u0111":"d","\u0112":"E","\u0114":"E","\u0116":"E","\u0118":"E","\u011a":"E","\u0113":"e","\u0115":"e","\u0117":"e","\u0119":"e","\u011b":"e","\u011c":"G","\u011e":"G","\u0120":"G","\u0122":"G","\u011d":"g","\u011f":"g","\u0121":"g","\u0123":"g","\u0124":"H","\u0126":"H","\u0125":"h","\u0127":"h","\u0128":"I","\u012a":"I","\u012c":"I","\u012e":"I","\u0130":"I","\u0129":"i","\u012b":"i","\u012d":"i","\u012f":"i","\u0131":"i","\u0134":"J","\u0135":"j","\u0136":"K","\u0137":"k","\u0138":"k","\u0139":"L","\u013b":"L","\u013d":"L","\u013f":"L","\u0141":"L","\u013a":"l","\u013c":"l","\u013e":"l","\u0140":"l","\u0142":"l","\u0143":"N","\u0145":"N","\u0147":"N","\u014a":"N","\u0144":"n","\u0146":"n","\u0148":"n","\u014b":"n","\u014c":"O","\u014e":"O","\u0150":"O","\u014d":"o","\u014f":"o","\u0151":"o","\u0154":"R","\u0156":"R","\u0158":"R","\u0155":"r","\u0157":"r","\u0159":"r","\u015a":"S","\u015c":"S","\u015e":"S","\u0160":"S","\u015b":"s","\u015d":"s","\u015f":"s","\u0161":"s","\u0162":"T","\u0164":"T","\u0166":"T","\u0163":"t","\u0165":"t","\u0167":"t","\u0168":"U","\u016a":"U","\u016c":"U","\u016e":"U","\u0170":"U","\u0172":"U","\u0169":"u","\u016b":"u","\u016d":"u","\u016f":"u","\u0171":"u","\u0173":"u","\u0174":"W","\u0175":"w","\u0176":"Y","\u0177":"y","\u0178":"Y","\u0179":"Z","\u017b":"Z","\u017d":"Z","\u017a":"z","\u017c":"z","\u017e":"z","\u0132":"IJ","\u0133":"ij","\u0152":"Oe","\u0153":"oe","\u0149":"'n","\u017f":"s"});t.exports=r},7042:(t,e,n)=>{var r=n(2485),o=n(756),u=n(5581);t.exports=function(t,e,n,i,s,a){var c=1&n,l=t.length,D=e.length;if(l!=D&&!(c&&D>l))return!1;var f=a.get(t),h=a.get(e);if(f&&h)return f==e&&h==t;var d=-1,p=!0,F=2&n?new r:void 0;for(a.set(t,e),a.set(e,t);++d{var r=n(6539),o=n(9942),u=n(5638),i=n(7042),s=n(9383),a=n(3735),c=r?r.prototype:void 0,l=c?c.valueOf:void 0;t.exports=function(t,e,n,r,c,D,f){switch(n){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=e.byteLength||!D(new o(t),new o(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return u(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var h=s;case"[object Set]":var d=1&r;if(h||(h=a),t.size!=e.size&&!d)return!1;var p=f.get(t);if(p)return p==e;r|=2,f.set(t,e);var F=i(h(t),h(e),r,c,D,f);return f.delete(t),F;case"[object Symbol]":if(l)return l.call(t)==l.call(e)}return!1}},9584:(t,e,n)=>{var r=n(1385),o=Object.prototype.hasOwnProperty;t.exports=function(t,e,n,u,i,s){var a=1&n,c=r(t),l=c.length;if(l!=r(e).length&&!a)return!1;for(var D=l;D--;){var f=c[D];if(!(a?f in e:o.call(e,f)))return!1}var h=s.get(t),d=s.get(e);if(h&&d)return h==e&&d==t;var p=!0;s.set(t,e),s.set(e,t);for(var F=a;++D{var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;t.exports=r},1385:(t,e,n)=>{var r=n(1324),o=n(3080),u=n(98);t.exports=function(t){return r(t,u,o)}},5899:(t,e,n)=>{var r=n(4479);t.exports=function(t,e){var n=t.__data__;return r(e)?n["string"==typeof e?"string":"hash"]:n.map}},5102:(t,e,n)=>{var r=n(8302),o=n(98);t.exports=function(t){for(var e=o(t),n=e.length;n--;){var u=e[n],i=t[u];e[n]=[u,i,r(i)]}return e}},1822:(t,e,n)=>{var r=n(6729),o=n(5371);t.exports=function(t,e){var n=o(t,e);return r(n)?n:void 0}},4840:(t,e,n)=>{var r=n(6539),o=Object.prototype,u=o.hasOwnProperty,i=o.toString,s=r?r.toStringTag:void 0;t.exports=function(t){var e=u.call(t,s),n=t[s];try{t[s]=void 0;var r=!0}catch(a){}var o=i.call(t);return r&&(e?t[s]=n:delete t[s]),o}},3080:(t,e,n)=>{var r=n(263),o=n(5937),u=Object.prototype.propertyIsEnumerable,i=Object.getOwnPropertySymbols,s=i?function(t){return null==t?[]:(t=Object(t),r(i(t),(function(e){return u.call(t,e)})))}:o;t.exports=s},3533:(t,e,n)=>{var r=n(2545),o=n(4538),u=n(4825),i=n(6151),s=n(6902),a=n(9736),c=n(6532),l="[object Map]",D="[object Promise]",f="[object Set]",h="[object WeakMap]",d="[object DataView]",p=c(r),F=c(o),E=c(u),g=c(i),m=c(s),v=a;(r&&v(new r(new ArrayBuffer(1)))!=d||o&&v(new o)!=l||u&&v(u.resolve())!=D||i&&v(new i)!=f||s&&v(new s)!=h)&&(v=function(t){var e=a(t),n="[object Object]"==e?t.constructor:void 0,r=n?c(n):"";if(r)switch(r){case p:return d;case F:return l;case E:return D;case g:return f;case m:return h}return e}),t.exports=v},5371:t=>{t.exports=function(t,e){return null==t?void 0:t[e]}},731:(t,e,n)=>{var r=n(6747),o=n(2900),u=n(9785),i=n(2383),s=n(4194),a=n(7948);t.exports=function(t,e,n){for(var c=-1,l=(e=r(e,t)).length,D=!1;++c{var e=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");t.exports=function(t){return e.test(t)}},3909:t=>{var e=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;t.exports=function(t){return e.test(t)}},7753:(t,e,n)=>{var r=n(5718);t.exports=function(){this.__data__=r?r(null):{},this.size=0}},2452:t=>{t.exports=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}},2115:(t,e,n)=>{var r=n(5718),o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;if(r){var n=e[t];return"__lodash_hash_undefined__"===n?void 0:n}return o.call(e,t)?e[t]:void 0}},8256:(t,e,n)=>{var r=n(5718),o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;return r?void 0!==e[t]:o.call(e,t)}},7426:(t,e,n)=>{var r=n(5718);t.exports=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=r&&void 0===e?"__lodash_hash_undefined__":e,this}},2383:t=>{var e=/^(?:0|[1-9]\d*)$/;t.exports=function(t,n){var r=typeof t;return!!(n=null==n?9007199254740991:n)&&("number"==r||"symbol"!=r&&e.test(t))&&t>-1&&t%1==0&&t{var r=n(9785),o=n(5193),u=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,i=/^\w*$/;t.exports=function(t,e){if(r(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!o(t))||(i.test(t)||!u.test(t)||null!=e&&t in Object(e))}},4479:t=>{t.exports=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}},9678:(t,e,n)=>{var r,o=n(4937),u=(r=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";t.exports=function(t){return!!u&&u in t}},6016:t=>{var e=Object.prototype;t.exports=function(t){var n=t&&t.constructor;return t===("function"==typeof n&&n.prototype||e)}},8302:(t,e,n)=>{var r=n(1611);t.exports=function(t){return t==t&&!r(t)}},9417:t=>{t.exports=function(){this.__data__=[],this.size=0}},2470:(t,e,n)=>{var r=n(3382),o=Array.prototype.splice;t.exports=function(t){var e=this.__data__,n=r(e,t);return!(n<0)&&(n==e.length-1?e.pop():o.call(e,n,1),--this.size,!0)}},6165:(t,e,n)=>{var r=n(3382);t.exports=function(t){var e=this.__data__,n=r(e,t);return n<0?void 0:e[n][1]}},1873:(t,e,n)=>{var r=n(3382);t.exports=function(t){return r(this.__data__,t)>-1}},2556:(t,e,n)=>{var r=n(3382);t.exports=function(t,e){var n=this.__data__,o=r(n,t);return o<0?(++this.size,n.push([t,e])):n[o][1]=e,this}},9448:(t,e,n)=>{var r=n(6586),o=n(6301),u=n(4538);t.exports=function(){this.size=0,this.__data__={hash:new r,map:new(u||o),string:new r}}},7738:(t,e,n)=>{var r=n(5899);t.exports=function(t){var e=r(this,t).delete(t);return this.size-=e?1:0,e}},6575:(t,e,n)=>{var r=n(5899);t.exports=function(t){return r(this,t).get(t)}},7238:(t,e,n)=>{var r=n(5899);t.exports=function(t){return r(this,t).has(t)}},8738:(t,e,n)=>{var r=n(5899);t.exports=function(t,e){var n=r(this,t),o=n.size;return n.set(t,e),this.size+=n.size==o?0:1,this}},9383:t=>{t.exports=function(t){var e=-1,n=Array(t.size);return t.forEach((function(t,r){n[++e]=[r,t]})),n}},5042:t=>{t.exports=function(t,e){return function(n){return null!=n&&(n[t]===e&&(void 0!==e||t in Object(n)))}}},2941:(t,e,n)=>{var r=n(6651);t.exports=function(t){var e=r(t,(function(t){return 500===n.size&&n.clear(),t})),n=e.cache;return e}},5718:(t,e,n)=>{var r=n(1822)(Object,"create");t.exports=r},962:(t,e,n)=>{var r=n(7883)(Object.keys,Object);t.exports=r},8125:(t,e,n)=>{t=n.nmd(t);var r=n(9120),o=e&&!e.nodeType&&e,u=o&&t&&!t.nodeType&&t,i=u&&u.exports===o&&r.process,s=function(){try{var t=u&&u.require&&u.require("util").types;return t||i&&i.binding&&i.binding("util")}catch(e){}}();t.exports=s},1258:t=>{var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},7883:t=>{t.exports=function(t,e){return function(n){return t(e(n))}}},7400:(t,e,n)=>{var r=n(9120),o="object"==typeof self&&self&&self.Object===Object&&self,u=r||o||Function("return this")();t.exports=u},8639:t=>{t.exports=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this}},8379:t=>{t.exports=function(t){return this.__data__.has(t)}},3735:t=>{t.exports=function(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n}},7354:(t,e,n)=>{var r=n(6301);t.exports=function(){this.__data__=new r,this.size=0}},5863:t=>{t.exports=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n}},2367:t=>{t.exports=function(t){return this.__data__.get(t)}},748:t=>{t.exports=function(t){return this.__data__.has(t)}},7569:(t,e,n)=>{var r=n(6301),o=n(4538),u=n(4554);t.exports=function(t,e){var n=this.__data__;if(n instanceof r){var i=n.__data__;if(!o||i.length<199)return i.push([t,e]),this.size=++n.size,this;n=this.__data__=new u(i)}return n.set(t,e),this.size=n.size,this}},8263:t=>{t.exports=function(t,e,n){for(var r=n-1,o=t.length;++r{var r=n(5630),o=n(5348),u=n(4890);t.exports=function(t){return o(t)?u(t):r(t)}},3419:(t,e,n)=>{var r=n(2941),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,u=/\\(\\)?/g,i=r((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(o,(function(t,n,r,o){e.push(r?o.replace(u,"$1"):n||t)})),e}));t.exports=i},7948:(t,e,n)=>{var r=n(5193);t.exports=function(t){if("string"==typeof t||r(t))return t;var e=t+"";return"0"==e&&1/t==-Infinity?"-0":e}},6532:t=>{var e=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return e.call(t)}catch(n){}try{return t+""}catch(n){}}return""}},6127:t=>{var e=/\s/;t.exports=function(t){for(var n=t.length;n--&&e.test(t.charAt(n)););return n}},4890:t=>{var e="\\ud800-\\udfff",n="["+e+"]",r="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",o="\\ud83c[\\udffb-\\udfff]",u="[^"+e+"]",i="(?:\\ud83c[\\udde6-\\uddff]){2}",s="[\\ud800-\\udbff][\\udc00-\\udfff]",a="(?:"+r+"|"+o+")"+"?",c="[\\ufe0e\\ufe0f]?",l=c+a+("(?:\\u200d(?:"+[u,i,s].join("|")+")"+c+a+")*"),D="(?:"+[u+r+"?",r,i,s,n].join("|")+")",f=RegExp(o+"(?="+o+")|"+D+l,"g");t.exports=function(t){return t.match(f)||[]}},7025:t=>{var e="\\ud800-\\udfff",n="\\u2700-\\u27bf",r="a-z\\xdf-\\xf6\\xf8-\\xff",o="A-Z\\xc0-\\xd6\\xd8-\\xde",u="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",i="["+u+"]",s="\\d+",a="["+n+"]",c="["+r+"]",l="[^"+e+u+s+n+r+o+"]",D="(?:\\ud83c[\\udde6-\\uddff]){2}",f="[\\ud800-\\udbff][\\udc00-\\udfff]",h="["+o+"]",d="(?:"+c+"|"+l+")",p="(?:"+h+"|"+l+")",F="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",E="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",g="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",m="[\\ufe0e\\ufe0f]?",v=m+g+("(?:\\u200d(?:"+["[^"+e+"]",D,f].join("|")+")"+m+g+")*"),C="(?:"+[a,D,f].join("|")+")"+v,y=RegExp([h+"?"+c+"+"+F+"(?="+[i,h,"$"].join("|")+")",p+"+"+E+"(?="+[i,h+d,"$"].join("|")+")",h+"?"+d+"+"+F,h+"+"+E,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",s,C].join("|"),"g");t.exports=function(t){return t.match(y)||[]}},7429:(t,e,n)=>{var r=n(8052),o=n(8267)((function(t,e,n){return e=e.toLowerCase(),t+(n?r(e):e)}));t.exports=o},8052:(t,e,n)=>{var r=n(5567),o=n(6744);t.exports=function(t){return o(r(t).toLowerCase())}},1099:(t,e,n)=>{var r=n(4248),o=n(5567),u=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,i=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");t.exports=function(t){return(t=o(t))&&t.replace(u,r).replace(i,"")}},5638:t=>{t.exports=function(t,e){return t===e||t!=t&&e!=e}},6259:(t,e,n)=>{var r=n(5372),o=n(9278),u=n(7991),i=Math.max;t.exports=function(t,e,n){var s=null==t?0:t.length;if(!s)return-1;var a=null==n?0:u(n);return a<0&&(a=i(s+a,0)),r(t,o(e,3),a)}},2489:(t,e,n)=>{var r=n(6632)(n(1724));t.exports=r},1724:(t,e,n)=>{var r=n(5372),o=n(9278),u=n(7991),i=Math.max,s=Math.min;t.exports=function(t,e,n){var a=null==t?0:t.length;if(!a)return-1;var c=a-1;return void 0!==n&&(c=u(n),c=n<0?i(a+c,0):s(c,a-1)),r(t,o(e,3),c,!0)}},7003:(t,e,n)=>{var r=n(594),o=n(2033),u=n(2079),i=n(9785);t.exports=function(t,e){return(i(t)?r:o)(t,u(e))}},8022:(t,e,n)=>{var r=n(2554),o=n(5796),u=n(2079),i=n(9785);t.exports=function(t,e){return(i(t)?r:o)(t,u(e))}},9729:(t,e,n)=>{var r=n(9867);t.exports=function(t,e,n){var o=null==t?void 0:r(t,e);return void 0===o?n:o}},9749:(t,e,n)=>{var r=n(1610),o=n(731);t.exports=function(t,e){return null!=t&&o(t,e,r)}},1137:t=>{t.exports=function(t){return t}},2501:(t,e,n)=>{var r=n(8817),o=n(68),u=n(7206),i=n(7991),s=n(8185),a=Math.max;t.exports=function(t,e,n,c){t=o(t)?t:s(t),n=n&&!c?i(n):0;var l=t.length;return n<0&&(n=a(l+n,0)),u(t)?n<=l&&t.indexOf(e,n)>-1:!!l&&r(t,e,n)>-1}},2900:(t,e,n)=>{var r=n(5829),o=n(2360),u=Object.prototype,i=u.hasOwnProperty,s=u.propertyIsEnumerable,a=r(function(){return arguments}())?r:function(t){return o(t)&&i.call(t,"callee")&&!s.call(t,"callee")};t.exports=a},9785:t=>{var e=Array.isArray;t.exports=e},68:(t,e,n)=>{var r=n(8338),o=n(4194);t.exports=function(t){return null!=t&&o(t.length)&&!r(t)}},3854:(t,e,n)=>{t=n.nmd(t);var r=n(7400),o=n(7714),u=e&&!e.nodeType&&e,i=u&&t&&!t.nodeType&&t,s=i&&i.exports===u?r.Buffer:void 0,a=(s?s.isBuffer:void 0)||o;t.exports=a},8338:(t,e,n)=>{var r=n(9736),o=n(1611);t.exports=function(t){if(!o(t))return!1;var e=r(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},4194:t=>{t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},1611:t=>{t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},2360:t=>{t.exports=function(t){return null!=t&&"object"==typeof t}},7206:(t,e,n)=>{var r=n(9736),o=n(9785),u=n(2360);t.exports=function(t){return"string"==typeof t||!o(t)&&u(t)&&"[object String]"==r(t)}},5193:(t,e,n)=>{var r=n(9736),o=n(2360);t.exports=function(t){return"symbol"==typeof t||o(t)&&"[object Symbol]"==r(t)}},8519:(t,e,n)=>{var r=n(6972),o=n(9334),u=n(8125),i=u&&u.isTypedArray,s=i?o(i):r;t.exports=s},98:(t,e,n)=>{var r=n(8213),o=n(186),u=n(68);t.exports=function(t){return u(t)?r(t):o(t)}},6651:(t,e,n)=>{var r=n(4554);function o(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var n=function(){var r=arguments,o=e?e.apply(this,r):r[0],u=n.cache;if(u.has(o))return u.get(o);var i=t.apply(this,r);return n.cache=u.set(o,i)||u,i};return n.cache=new(o.Cache||r),n}o.Cache=r,t.exports=o},6001:(t,e,n)=>{var r=n(517),o=n(301),u=n(318),i=n(7948);t.exports=function(t){return u(t)?r(i(t)):o(t)}},5937:t=>{t.exports=function(){return[]}},7714:t=>{t.exports=function(){return!1}},4919:(t,e,n)=>{var r=n(1936),o=1/0;t.exports=function(t){return t?(t=r(t))===o||t===-1/0?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0}},7991:(t,e,n)=>{var r=n(4919);t.exports=function(t){var e=r(t),n=e%1;return e==e?n?e-n:e:0}},1936:(t,e,n)=>{var r=n(4833),o=n(1611),u=n(5193),i=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,a=/^0o[0-7]+$/i,c=parseInt;t.exports=function(t){if("number"==typeof t)return t;if(u(t))return NaN;if(o(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=o(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=r(t);var n=s.test(t);return n||a.test(t)?c(t.slice(2),n?2:8):i.test(t)?NaN:+t}},5567:(t,e,n)=>{var r=n(4282);t.exports=function(t){return null==t?"":r(t)}},6744:(t,e,n)=>{var r=n(2690)("toUpperCase");t.exports=r},8185:(t,e,n)=>{var r=n(2231),o=n(98);t.exports=function(t){return null==t?[]:r(t,o(t))}},3254:(t,e,n)=>{var r=n(585),o=n(3909),u=n(5567),i=n(7025);t.exports=function(t,e,n){return t=u(t),void 0===(e=n?void 0:e)?o(t)?i(t):r(t):t.match(e)||[]}},6961:(t,e,n)=>{var r,o=function(){var t=String.fromCharCode,e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",r={};function o(t,e){if(!r[t]){r[t]={};for(var n=0;n>>8,n[2*r+1]=i%256}return n},decompressFromUint8Array:function(e){if(null==e)return u.decompress(e);for(var n=new Array(e.length/2),r=0,o=n.length;r>=1}else{for(o=1,r=0;r>=1}0==--D&&(D=Math.pow(2,h),h++),delete s[l]}else for(o=i[l],r=0;r>=1;0==--D&&(D=Math.pow(2,h),h++),i[c]=f++,l=String(a)}if(""!==l){if(Object.prototype.hasOwnProperty.call(s,l)){if(l.charCodeAt(0)<256){for(r=0;r>=1}else{for(o=1,r=0;r>=1}0==--D&&(D=Math.pow(2,h),h++),delete s[l]}else for(o=i[l],r=0;r>=1;0==--D&&(D=Math.pow(2,h),h++)}for(o=2,r=0;r>=1;for(;;){if(p<<=1,F==e-1){d.push(n(p));break}F++}return d.join("")},decompress:function(t){return null==t?"":""==t?null:u._decompress(t.length,32768,(function(e){return t.charCodeAt(e)}))},_decompress:function(e,n,r){var o,u,i,s,a,c,l,D=[],f=4,h=4,d=3,p="",F=[],E={val:r(0),position:n,index:1};for(o=0;o<3;o+=1)D[o]=o;for(i=0,a=Math.pow(2,2),c=1;c!=a;)s=E.val&E.position,E.position>>=1,0==E.position&&(E.position=n,E.val=r(E.index++)),i|=(s>0?1:0)*c,c<<=1;switch(i){case 0:for(i=0,a=Math.pow(2,8),c=1;c!=a;)s=E.val&E.position,E.position>>=1,0==E.position&&(E.position=n,E.val=r(E.index++)),i|=(s>0?1:0)*c,c<<=1;l=t(i);break;case 1:for(i=0,a=Math.pow(2,16),c=1;c!=a;)s=E.val&E.position,E.position>>=1,0==E.position&&(E.position=n,E.val=r(E.index++)),i|=(s>0?1:0)*c,c<<=1;l=t(i);break;case 2:return""}for(D[3]=l,u=l,F.push(l);;){if(E.index>e)return"";for(i=0,a=Math.pow(2,d),c=1;c!=a;)s=E.val&E.position,E.position>>=1,0==E.position&&(E.position=n,E.val=r(E.index++)),i|=(s>0?1:0)*c,c<<=1;switch(l=i){case 0:for(i=0,a=Math.pow(2,8),c=1;c!=a;)s=E.val&E.position,E.position>>=1,0==E.position&&(E.position=n,E.val=r(E.index++)),i|=(s>0?1:0)*c,c<<=1;D[h++]=t(i),l=h-1,f--;break;case 1:for(i=0,a=Math.pow(2,16),c=1;c!=a;)s=E.val&E.position,E.position>>=1,0==E.position&&(E.position=n,E.val=r(E.index++)),i|=(s>0?1:0)*c,c<<=1;D[h++]=t(i),l=h-1,f--;break;case 2:return F.join("")}if(0==f&&(f=Math.pow(2,d),d++),D[l])p=D[l];else{if(l!==h)return null;p=u+u.charAt(0)}F.push(p),D[h++]=u+p.charAt(0),u=p,0==--f&&(f=Math.pow(2,d),d++)}}};return u}();void 0===(r=function(){return o}.call(e,n,e,t))||(t.exports=r)},459:(t,e,n)=>{"use strict";n.d(e,{j:()=>Q});var r=n(22),o=n(407),u=n(8226);function i(t,e,n){return`${t.name}_${e}_${n}`}const s=1,a=2,c=4,l=5,D=7,f=8,h=9,d=10,p=11,F=12;class E{constructor(t){this.target=t}isEpsilon(){return!1}}class g extends E{constructor(t,e){super(t),this.tokenType=e}}class m extends E{constructor(t){super(t)}isEpsilon(){return!0}}class v extends E{constructor(t,e,n){super(t),this.rule=e,this.followState=n}isEpsilon(){return!0}}function C(t){const e={decisionMap:{},decisionStates:[],ruleToStartState:new Map,ruleToStopState:new Map,states:[]};!function(t,e){const n=e.length;for(let r=0;ry(t,e,n))),i=O(t,e,r,n,...u);return i}(t,e,n):n instanceof r.Wx?function(t,e,n){const r=I(t,e,n,{type:s});x(t,r);const o=O(t,e,r,n,A(t,e,n));return function(t,e,n,r){const o=r.left,u=r.right;return S(o,u),t.decisionMap[i(e,"Option",n.idx)]=o,r}(t,e,n,o)}(t,e,n):n instanceof r.hI?function(t,e,n){const r=I(t,e,n,{type:l});x(t,r);const o=O(t,e,r,n,A(t,e,n));return T(t,e,n,o)}(t,e,n):n instanceof r.pT?function(t,e,n){const r=I(t,e,n,{type:l});x(t,r);const o=O(t,e,r,n,A(t,e,n)),u=_(t,e,n.separator,n);return T(t,e,n,o,u)}(t,e,n):n instanceof r.ej?function(t,e,n){const r=I(t,e,n,{type:c});x(t,r);const o=O(t,e,r,n,A(t,e,n));return b(t,e,n,o)}(t,e,n):n instanceof r.fK?function(t,e,n){const r=I(t,e,n,{type:c});x(t,r);const o=O(t,e,r,n,A(t,e,n)),u=_(t,e,n.separator,n);return b(t,e,n,o,u)}(t,e,n):A(t,e,n)}function A(t,e,n){const r=(0,u.Z)((0,o.Z)(n.definition,(n=>y(t,e,n))),(t=>void 0!==t));return 1===r.length?r[0]:0===r.length?void 0:function(t,e){const n=e.length;for(let u=0;ut.alt))}get key(){let t="";for(const e in this.map)t+=e+":";return t}}function L(t,e=!0){return`${e?`a${t.alt}`:""}s${t.state.stateNumber}:${t.stack.map((t=>t.stateNumber.toString())).join("_")}`}var P=n(4878);const Z=function(t,e,n){for(var r=-1,o=t.length;++r{const o=r.toString();let u=n[o];return void 0!==u||(u={atnStartState:t,decision:e,states:{}},n[o]=u),u}}class X{constructor(){this.predicates=[]}is(t){return t>=this.predicates.length||this.predicates[t]}set(t,e){this.predicates[t]=e}toString(){let t="";const e=this.predicates.length;for(let n=0;nconsole.log(t)}initialize(t){this.atn=C(t.rules),this.dfas=function(t){const e=t.decisionStates.length,n=Array(e);for(let r=0;r(0,o.Z)(t,(t=>t[0]))));if(tt(f,!1)&&!s){const t=(0,Y.Z)(f,((t,e,n)=>((0,V.Z)(e,(e=>{e&&(t[e.tokenTypeIdx]=n,(0,V.Z)(e.categoryMatches,(e=>{t[e]=n})))})),t)),{});return u?function(e){var n;const r=this.LA(1),o=t[r.tokenTypeIdx];if(void 0!==e&&void 0!==o){const t=null===(n=e[o])||void 0===n?void 0:n.GATE;if(void 0!==t&&!1===t.call(this))return}return o}:function(){const e=this.LA(1);return t[e.tokenTypeIdx]}}return u?function(t){const e=new X,n=void 0===t?0:t.length;for(let o=0;o(0,o.Z)(t,(t=>t[0]))));if(tt(f)&&f[0][0]&&!s){const t=f[0],e=(0,K.Z)(t);if(1===e.length&&(0,H.Z)(e[0].categoryMatches)){const t=e[0].tokenTypeIdx;return function(){return this.LA(1).tokenTypeIdx===t}}{const t=(0,Y.Z)(e,((t,e)=>(void 0!==e&&(t[e.tokenTypeIdx]=!0,(0,V.Z)(e.categoryMatches,(e=>{t[e]=!0}))),t)),{});return function(){const e=this.LA(1);return!0===t[e.tokenTypeIdx]}}}return function(){const t=et.call(this,a,D,J,c);return"object"!=typeof t&&0===t}}}function tt(t,e=!0){const n=new Set;for(const r of t){const t=new Set;for(const o of r){if(void 0===o){if(e)break;return!1}const r=[o.tokenTypeIdx].concat(o.categoryMatches);for(const e of r)if(n.has(e)){if(!t.has(e))return!1}else n.add(e),t.add(e)}}return!0}function et(t,e,n,r){const o=t[e](n);let u=o.start;if(void 0===u){u=ct(o,st(lt(o.atnStartState))),o.start=u}return nt.apply(this,[o,u,n,r])}function nt(t,e,n,r){let o=e,u=1;const i=[];let s=this.LA(u++);for(;;){let e=(a=s,o.edges[a.tokenTypeIdx]);if(void 0===e&&(e=rt.apply(this,[t,o,s,u,n,r])),e===w)return ut(i,o,s);if(!0===e.isAcceptState)return e.prediction;o=e,i.push(s),s=this.LA(u++)}var a}function rt(t,e,n,r,o,u){const i=function(t,e,n){const r=new B,o=[];for(const i of t.elements){if(!1===n.is(i.alt))continue;if(i.state.type===D){o.push(i);continue}const t=i.state.transitions.length;for(let n=0;n0&&!function(t){for(const e of t.elements)if(e.state.type===D)return!0;return!1}(u))for(const i of o)u.add(i);return u}(e.configs,n,o);if(0===i.size)return at(t,e,n,w),w;let s=st(i);const a=function(t,e){let n;for(const r of t.elements)if(!0===e.is(r.alt))if(void 0===n)n=r.alt;else if(n!==r.alt)return;return n}(i,o);if(void 0!==a)s.isAcceptState=!0,s.prediction=a,s.configs.uniqueAlt=a;else if(function(t){if(function(t){for(const e of t.elements)if(e.state.type!==D)return!1;return!0}(t))return!0;const e=function(t){const e=new Map;for(const n of t){const t=L(n,!1);let r=e.get(t);void 0===r&&(r={},e.set(t,r)),r[n.alt]=!0}return e}(t.elements);return function(t){for(const e of Array.from(t.values()))if(Object.keys(e).length>1)return!0;return!1}(e)&&!function(t){for(const e of Array.from(t.values()))if(1===Object.keys(e).length)return!0;return!1}(e)}(i)){const e=U(i.alts);s.isAcceptState=!0,s.prediction=e,s.configs.uniqueAlt=e,ot.apply(this,[t,r,i.alts,u])}return s=at(t,e,n,s),s}function ot(t,e,n,u){const i=[];for(let r=1;r<=e;r++)i.push(this.LA(r).tokenType);const s=t.atnStartState;u(function(t){const e=(0,o.Z)(t.prefixPath,(t=>(0,r.l$)(t))).join(", "),n=0===t.production.idx?"":t.production.idx;let u=`Ambiguous Alternatives Detected: <${t.ambiguityIndices.join(", ")}> in <${function(t){if(t instanceof r.Sj)return"SUBRULE";if(t instanceof r.Wx)return"OPTION";if(t instanceof r.ue)return"OR";if(t instanceof r.ej)return"AT_LEAST_ONE";if(t instanceof r.fK)return"AT_LEAST_ONE_SEP";if(t instanceof r.pT)return"MANY_SEP";if(t instanceof r.hI)return"MANY";if(t instanceof r.oI)return"CONSUME";throw Error("non exhaustive match")}(t.production)}${n}> inside <${t.topLevelRule.name}> Rule,\n<${e}> may appears as a prefix path in all these alternatives.\n`;return u+="See: https://chevrotain.io/docs/guide/resolving_grammar_errors.html#AMBIGUOUS_ALTERNATIVES\nFor Further details.",u}({topLevelRule:s.rule,ambiguityIndices:n,production:s.production,prefixPath:i}))}function ut(t,e,n){const r=(0,$.Z)(e.configs.elements,(t=>t.state.transitions));return{actualToken:n,possibleTokenTypes:G(r.filter((t=>t instanceof g)).map((t=>t.tokenType)),(t=>t.tokenTypeIdx)),tokenPath:t}}function it(t,e){if(t instanceof g&&(0,r.ol)(e,t.tokenType))return t.target}function st(t){return{configs:t,edges:{},isAcceptState:!1,prediction:-1}}function at(t,e,n,r){return r=ct(t,r),e.edges[n.tokenTypeIdx]=r,r}function ct(t,e){if(e===w)return e;const n=e.configs.key,r=t.states[n];return void 0!==r?r:(e.configs.finalize(),t.states[n]=e,e)}function lt(t){const e=new B,n=t.transitions.length;for(let r=0;r0){const n=[...t.stack];Dt({state:n.pop(),alt:t.alt,stack:n},e)}else e.add(t);return}n.epsilonOnlyTransitions||e.add(t);const r=n.transitions.length;for(let o=0;o{"use strict";n.d(e,{ue:()=>_e,wd:()=>Ru,sd:()=>Vr,dV:()=>cu,hW:()=>wr,Sj:()=>ve,Wx:()=>Ae,hI:()=>xe,ej:()=>be,fK:()=>Te,pT:()=>Oe,oI:()=>ke,V3:()=>Kr,oC:()=>Co,bS:()=>Yo,l$:()=>Br,ol:()=>Yr});var r=n(1146),o=n(497);const u=function(t,e){return(0,o.Z)(e,(function(e){return t[e]}))};var i=n(4778);const s=function(t){return null==t?[]:u(t,(0,i.Z)(t))};var a=n(9955),c=n(407),l=Object.prototype.hasOwnProperty;const D=function(t,e){return null!=t&&l.call(t,e)};var f=n(5942);const h=function(t,e){return null!=t&&(0,f.Z)(t,e,D)};var d=n(2178),p=n(2020),F=n(5565);const E=function(){try{var t=(0,F.Z)(Object,"defineProperty");return t({},"",{}),t}catch(e){}}();const g=function(t,e,n){"__proto__"==e&&E?E(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n};var m=n(8916),v=Object.prototype.hasOwnProperty;const C=function(t,e,n){var r=t[e];v.call(t,e)&&(0,m.Z)(r,n)&&(void 0!==n||e in t)||g(t,e,n)};const y=function(t,e,n,r){var o=!n;n||(n={});for(var u=-1,i=e.length;++uo?0:o+e),(n=n>o?o:n)<0&&(n+=o),o=e>n?0:n-e>>>0,e>>>=0;for(var u=Array(o);++r0){if(++e>=800)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}(Qt);const ne=function(t,e){return ee(Xt(t,e,Ht.Z),t+"")};var re=n(2916);const oe=function(t,e,n){if(!(0,T.Z)(n))return!1;var r=typeof e;return!!("number"==r?(0,S.Z)(n)&&(0,re.Z)(e,n.length):"string"==r&&e in n)&&(0,m.Z)(n[e],t)};const ue=function(t){return ne((function(e,n){var r=-1,o=n.length,u=o>1?n[o-1]:void 0,i=o>2?n[2]:void 0;for(u=t.length>3&&"function"==typeof u?(o--,u):void 0,i&&oe(n[0],n[1],i)&&(u=o<3?void 0:u,o=1),e=Object(e);++r{e.accept(t)}))}}class ve extends me{constructor(t){super([]),this.idx=1,se(this,de(t,(t=>void 0!==t)))}set definition(t){}get definition(){return void 0!==this.referencedRule?this.referencedRule.definition:[]}accept(t){t.visit(this)}}class Ce extends me{constructor(t){super(t.definition),this.orgText="",se(this,de(t,(t=>void 0!==t)))}}class ye extends me{constructor(t){super(t.definition),this.ignoreAmbiguities=!1,se(this,de(t,(t=>void 0!==t)))}}class Ae extends me{constructor(t){super(t.definition),this.idx=1,se(this,de(t,(t=>void 0!==t)))}}class be extends me{constructor(t){super(t.definition),this.idx=1,se(this,de(t,(t=>void 0!==t)))}}class Te extends me{constructor(t){super(t.definition),this.idx=1,se(this,de(t,(t=>void 0!==t)))}}class xe extends me{constructor(t){super(t.definition),this.idx=1,se(this,de(t,(t=>void 0!==t)))}}class Oe extends me{constructor(t){super(t.definition),this.idx=1,se(this,de(t,(t=>void 0!==t)))}}class _e extends me{get definition(){return this._definition}set definition(t){this._definition=t}constructor(t){super(t.definition),this.idx=1,this.ignoreAmbiguities=!1,this.hasPredicates=!1,se(this,de(t,(t=>void 0!==t)))}}class ke{constructor(t){this.idx=1,se(this,de(t,(t=>void 0!==t)))}accept(t){t.visit(this)}}function Se(t){function e(t){return(0,c.Z)(t,Se)}if(t instanceof ve){const e={type:"NonTerminal",name:t.nonTerminalName,idx:t.idx};return Vt(t.label)&&(e.label=t.label),e}if(t instanceof ye)return{type:"Alternative",definition:e(t.definition)};if(t instanceof Ae)return{type:"Option",idx:t.idx,definition:e(t.definition)};if(t instanceof be)return{type:"RepetitionMandatory",idx:t.idx,definition:e(t.definition)};if(t instanceof Te)return{type:"RepetitionMandatoryWithSeparator",idx:t.idx,separator:Se(new ke({terminalType:t.separator})),definition:e(t.definition)};if(t instanceof Oe)return{type:"RepetitionWithSeparator",idx:t.idx,separator:Se(new ke({terminalType:t.separator})),definition:e(t.definition)};if(t instanceof xe)return{type:"Repetition",idx:t.idx,definition:e(t.definition)};if(t instanceof _e)return{type:"Alternation",idx:t.idx,definition:e(t.definition)};if(t instanceof ke){const e={type:"Terminal",name:t.terminalType.name,label:ge(t.terminalType),idx:t.idx};Vt(t.label)&&(e.terminalLabel=t.label);const n=t.terminalType.PATTERN;return t.terminalType.PATTERN&&(e.pattern=Ee(n)?n.source:n),e}if(t instanceof Ce)return{type:"Rule",name:t.name,orgText:t.orgText,definition:e(t.definition)};throw Error("non exhaustive match")}class Ie{walk(t,e=[]){(0,r.Z)(t.definition,((n,r)=>{const o=Gt(t.definition,r+1);if(n instanceof ve)this.walkProdRef(n,o,e);else if(n instanceof ke)this.walkTerminal(n,o,e);else if(n instanceof ye)this.walkFlat(n,o,e);else if(n instanceof Ae)this.walkOption(n,o,e);else if(n instanceof be)this.walkAtLeastOne(n,o,e);else if(n instanceof Te)this.walkAtLeastOneSep(n,o,e);else if(n instanceof Oe)this.walkManySep(n,o,e);else if(n instanceof xe)this.walkMany(n,o,e);else{if(!(n instanceof _e))throw Error("non exhaustive match");this.walkOr(n,o,e)}}))}walkTerminal(t,e,n){}walkProdRef(t,e,n){}walkFlat(t,e,n){const r=e.concat(n);this.walk(t,r)}walkOption(t,e,n){const r=e.concat(n);this.walk(t,r)}walkAtLeastOne(t,e,n){const r=[new Ae({definition:t.definition})].concat(e,n);this.walk(t,r)}walkAtLeastOneSep(t,e,n){const r=Ne(t,e,n);this.walk(t,r)}walkMany(t,e,n){const r=[new Ae({definition:t.definition})].concat(e,n);this.walk(t,r)}walkManySep(t,e,n){const r=Ne(t,e,n);this.walk(t,r)}walkOr(t,e,n){const o=e.concat(n);(0,r.Z)(t.definition,(t=>{const e=new ye({definition:[t]});this.walk(e,o)}))}}function Ne(t,e,n){return[new Ae({definition:[new ke({terminalType:t.separator})].concat(t.definition)})].concat(e,n)}var Re=n(7650);const we=function(t){return t&&t.length?(0,Re.Z)(t):[]};var Be=n(4605),Le=n(766),Pe=n(2688);const Ze=function(t,e){var n;return(0,Pe.Z)(t,(function(t,r,o){return!(n=e(t,r,o))})),!!n};const Me=function(t,e,n){var r=(0,ht.Z)(t)?Le.Z:Ze;return n&&oe(t,e,n)&&(e=void 0),r(t,(0,ae.Z)(e,3))};var je=n(7162),Ue=Math.max;const $e=function(t,e,n,r){t=(0,S.Z)(t)?t:s(t),n=n&&!r?zt(n):0;var o=t.length;return n<0&&(n=Ue(o+n,0)),Vt(t)?n<=o&&t.indexOf(e,n)>-1:!!o&&(0,je.Z)(t,e,n)>-1};const We=function(t,e){for(var n=-1,r=null==t?0:t.length;++nKe(t,e))):!(t instanceof ve&&$e(e,t))&&(t instanceof me&&(t instanceof ve&&e.push(t),Ge(t.definition,(t=>Ke(t,e))))))}function Ve(t){if(t instanceof ve)return"SUBRULE";if(t instanceof Ae)return"OPTION";if(t instanceof _e)return"OR";if(t instanceof be)return"AT_LEAST_ONE";if(t instanceof Te)return"AT_LEAST_ONE_SEP";if(t instanceof Oe)return"MANY_SEP";if(t instanceof xe)return"MANY";if(t instanceof ke)return"CONSUME";throw Error("non exhaustive match")}function He(t){if(t instanceof ve)return He(t.referencedRule);if(t instanceof ke)return[t.terminalType];if(function(t){return t instanceof ye||t instanceof Ae||t instanceof xe||t instanceof be||t instanceof Te||t instanceof Oe||t instanceof ke||t instanceof Ce}(t))return function(t){let e=[];const n=t.definition;let r,o=0,u=n.length>o,i=!0;for(;u&&i;)r=n[o],i=Ke(r),e=e.concat(He(r)),o+=1,u=n.length>o;return we(e)}(t);if(function(t){return t instanceof _e}(t))return function(t){const e=(0,c.Z)(t.definition,(t=>He(t)));return we((0,Be.Z)(e))}(t);throw Error("non exhaustive match")}const Ye="_~IN~_";class qe extends Ie{constructor(t){super(),this.topProd=t,this.follows={}}startWalking(){return this.walk(this.topProd),this.follows}walkTerminal(t,e,n){}walkProdRef(t,e,n){const r=(o=t.referencedRule,u=t.idx,o.name+u+Ye+this.topProd.name);var o,u;const i=e.concat(n),s=He(new ye({definition:i}));this.follows[r]=s}}const Xe=function(t){return void 0===t};function Je(t){return t.charCodeAt(0)}function Qe(t,e){Array.isArray(t)?t.forEach((function(t){e.push(t)})):e.push(t)}function tn(t,e){if(!0===t[e])throw"duplicate flag "+e;t[e];t[e]=!0}function en(t){if(void 0===t)throw Error("Internal Error - Should never get here!");return!0}function nn(){throw Error("Internal Error - Should never get here!")}function rn(t){return"Character"===t.type}const on=[];for(let wu=Je("0");wu<=Je("9");wu++)on.push(wu);const un=[Je("_")].concat(on);for(let wu=Je("a");wu<=Je("z");wu++)un.push(wu);for(let wu=Je("A");wu<=Je("Z");wu++)un.push(wu);const sn=[Je(" "),Je("\f"),Je("\n"),Je("\r"),Je("\t"),Je("\v"),Je("\t"),Je("\xa0"),Je("\u1680"),Je("\u2000"),Je("\u2001"),Je("\u2002"),Je("\u2003"),Je("\u2004"),Je("\u2005"),Je("\u2006"),Je("\u2007"),Je("\u2008"),Je("\u2009"),Je("\u200a"),Je("\u2028"),Je("\u2029"),Je("\u202f"),Je("\u205f"),Je("\u3000"),Je("\ufeff")],an=/[0-9a-fA-F]/,cn=/[0-9]/,ln=/[1-9]/;class Dn{visitChildren(t){for(const e in t){const n=t[e];t.hasOwnProperty(e)&&(void 0!==n.type?this.visit(n):Array.isArray(n)&&n.forEach((t=>{this.visit(t)}),this))}}visit(t){switch(t.type){case"Pattern":this.visitPattern(t);break;case"Flags":this.visitFlags(t);break;case"Disjunction":this.visitDisjunction(t);break;case"Alternative":this.visitAlternative(t);break;case"StartAnchor":this.visitStartAnchor(t);break;case"EndAnchor":this.visitEndAnchor(t);break;case"WordBoundary":this.visitWordBoundary(t);break;case"NonWordBoundary":this.visitNonWordBoundary(t);break;case"Lookahead":this.visitLookahead(t);break;case"NegativeLookahead":this.visitNegativeLookahead(t);break;case"Character":this.visitCharacter(t);break;case"Set":this.visitSet(t);break;case"Group":this.visitGroup(t);break;case"GroupBackReference":this.visitGroupBackReference(t);break;case"Quantifier":this.visitQuantifier(t)}this.visitChildren(t)}visitPattern(t){}visitFlags(t){}visitDisjunction(t){}visitAlternative(t){}visitStartAnchor(t){}visitEndAnchor(t){}visitWordBoundary(t){}visitNonWordBoundary(t){}visitLookahead(t){}visitNegativeLookahead(t){}visitCharacter(t){}visitSet(t){}visitGroup(t){}visitGroupBackReference(t){}visitQuantifier(t){}}var fn=Object.prototype,hn=fn.hasOwnProperty;const dn=ne((function(t,e){t=Object(t);var n=-1,r=e.length,o=r>2?e[2]:void 0;for(o&&oe(e[0],e[1],o)&&(r=1);++n=200&&(i=On.Z,s=!1,e=new bn.Z(e));t:for(;++u-1?o[u?e[s]:s]:void 0}};var Ln=n(8953),Pn=Math.max;const Zn=Bn((function(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var o=null==n?0:zt(n);return o<0&&(o=Pn(r+o,0)),(0,Ln.Z)(t,(0,ae.Z)(e,3),o)}));function Mn(t){console&&console.error&&console.error(`Error: ${t}`)}function jn(t){console&&console.warn&&console.warn(`Warning: ${t}`)}let Un={};const $n=new class{constructor(){this.idx=0,this.input="",this.groupIdx=0}saveState(){return{idx:this.idx,input:this.input,groupIdx:this.groupIdx}}restoreState(t){this.idx=t.idx,this.input=t.input,this.groupIdx=t.groupIdx}pattern(t){this.idx=0,this.input=t,this.groupIdx=0,this.consumeChar("/");const e=this.disjunction();this.consumeChar("/");const n={type:"Flags",loc:{begin:this.idx,end:t.length},global:!1,ignoreCase:!1,multiLine:!1,unicode:!1,sticky:!1};for(;this.isRegExpFlag();)switch(this.popChar()){case"g":tn(n,"global");break;case"i":tn(n,"ignoreCase");break;case"m":tn(n,"multiLine");break;case"u":tn(n,"unicode");break;case"y":tn(n,"sticky")}if(this.idx!==this.input.length)throw Error("Redundant input: "+this.input.substring(this.idx));return{type:"Pattern",flags:n,value:e,loc:this.loc(0)}}disjunction(){const t=[],e=this.idx;for(t.push(this.alternative());"|"===this.peekChar();)this.consumeChar("|"),t.push(this.alternative());return{type:"Disjunction",value:t,loc:this.loc(e)}}alternative(){const t=[],e=this.idx;for(;this.isTerm();)t.push(this.term());return{type:"Alternative",value:t,loc:this.loc(e)}}term(){return this.isAssertion()?this.assertion():this.atom()}assertion(){const t=this.idx;switch(this.popChar()){case"^":return{type:"StartAnchor",loc:this.loc(t)};case"$":return{type:"EndAnchor",loc:this.loc(t)};case"\\":switch(this.popChar()){case"b":return{type:"WordBoundary",loc:this.loc(t)};case"B":return{type:"NonWordBoundary",loc:this.loc(t)}}throw Error("Invalid Assertion Escape");case"(":let e;switch(this.consumeChar("?"),this.popChar()){case"=":e="Lookahead";break;case"!":e="NegativeLookahead"}en(e);const n=this.disjunction();return this.consumeChar(")"),{type:e,value:n,loc:this.loc(t)}}return nn()}quantifier(t=!1){let e;const n=this.idx;switch(this.popChar()){case"*":e={atLeast:0,atMost:1/0};break;case"+":e={atLeast:1,atMost:1/0};break;case"?":e={atLeast:0,atMost:1};break;case"{":const n=this.integerIncludingZero();switch(this.popChar()){case"}":e={atLeast:n,atMost:n};break;case",":let t;this.isDigit()?(t=this.integerIncludingZero(),e={atLeast:n,atMost:t}):e={atLeast:n,atMost:1/0},this.consumeChar("}")}if(!0===t&&void 0===e)return;en(e)}if(!0!==t||void 0!==e)return en(e)?("?"===this.peekChar(0)?(this.consumeChar("?"),e.greedy=!1):e.greedy=!0,e.type="Quantifier",e.loc=this.loc(n),e):void 0}atom(){let t;const e=this.idx;switch(this.peekChar()){case".":t=this.dotAll();break;case"\\":t=this.atomEscape();break;case"[":t=this.characterClass();break;case"(":t=this.group()}return void 0===t&&this.isPatternCharacter()&&(t=this.patternCharacter()),en(t)?(t.loc=this.loc(e),this.isQuantifier()&&(t.quantifier=this.quantifier()),t):nn()}dotAll(){return this.consumeChar("."),{type:"Set",complement:!0,value:[Je("\n"),Je("\r"),Je("\u2028"),Je("\u2029")]}}atomEscape(){switch(this.consumeChar("\\"),this.peekChar()){case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":return this.decimalEscapeAtom();case"d":case"D":case"s":case"S":case"w":case"W":return this.characterClassEscape();case"f":case"n":case"r":case"t":case"v":return this.controlEscapeAtom();case"c":return this.controlLetterEscapeAtom();case"0":return this.nulCharacterAtom();case"x":return this.hexEscapeSequenceAtom();case"u":return this.regExpUnicodeEscapeSequenceAtom();default:return this.identityEscapeAtom()}}decimalEscapeAtom(){return{type:"GroupBackReference",value:this.positiveInteger()}}characterClassEscape(){let t,e=!1;switch(this.popChar()){case"d":t=on;break;case"D":t=on,e=!0;break;case"s":t=sn;break;case"S":t=sn,e=!0;break;case"w":t=un;break;case"W":t=un,e=!0}return en(t)?{type:"Set",value:t,complement:e}:nn()}controlEscapeAtom(){let t;switch(this.popChar()){case"f":t=Je("\f");break;case"n":t=Je("\n");break;case"r":t=Je("\r");break;case"t":t=Je("\t");break;case"v":t=Je("\v")}return en(t)?{type:"Character",value:t}:nn()}controlLetterEscapeAtom(){this.consumeChar("c");const t=this.popChar();if(!1===/[a-zA-Z]/.test(t))throw Error("Invalid ");return{type:"Character",value:t.toUpperCase().charCodeAt(0)-64}}nulCharacterAtom(){return this.consumeChar("0"),{type:"Character",value:Je("\0")}}hexEscapeSequenceAtom(){return this.consumeChar("x"),this.parseHexDigits(2)}regExpUnicodeEscapeSequenceAtom(){return this.consumeChar("u"),this.parseHexDigits(4)}identityEscapeAtom(){return{type:"Character",value:Je(this.popChar())}}classPatternCharacterAtom(){switch(this.peekChar()){case"\n":case"\r":case"\u2028":case"\u2029":case"\\":case"]":throw Error("TBD");default:return{type:"Character",value:Je(this.popChar())}}}characterClass(){const t=[];let e=!1;for(this.consumeChar("["),"^"===this.peekChar(0)&&(this.consumeChar("^"),e=!0);this.isClassAtom();){const e=this.classAtom();e.type;if(rn(e)&&this.isRangeDash()){this.consumeChar("-");const n=this.classAtom();n.type;if(rn(n)){if(n.value=this.input.length)throw Error("Unexpected end of input");this.idx++}loc(t){return{begin:t,end:this.idx}}};function Wn(t){const e=t.toString();if(Un.hasOwnProperty(e))return Un[e];{const t=$n.pattern(e);return Un[e]=t,t}}const zn="Complement Sets are not supported for first char optimization",Gn='Unable to use "first char" lexer optimizations:\n';function Kn(t,e=!1){try{const e=Wn(t);return Vn(e.value,{},e.flags.ignoreCase)}catch(n){if(n.message===zn)e&&jn(`${Gn}\tUnable to optimize: < ${t.toString()} >\n\tComplement Sets cannot be automatically optimized.\n\tThis will disable the lexer's first char optimizations.\n\tSee: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#COMPLEMENT for details.`);else{let n="";e&&(n="\n\tThis will disable the lexer's first char optimizations.\n\tSee: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#REGEXP_PARSING for details."),Mn(`${Gn}\n\tFailed parsing: < ${t.toString()} >\n\tUsing the @chevrotain/regexp-to-ast library\n\tPlease open an issue at: https://github.com/chevrotain/chevrotain/issues`+n)}}return[]}function Vn(t,e,n){switch(t.type){case"Disjunction":for(let r=0;r{if("number"==typeof t)Hn(t,e,n);else{const r=t;if(!0===n)for(let t=r.from;t<=r.to;t++)Hn(t,e,n);else{for(let t=r.from;t<=r.to&&t=Fr){const t=r.from>=Fr?r.from:Fr,n=r.to,o=gr(t),u=gr(n);for(let r=o;r<=u;r++)e[r]=r}}}}));break;case"Group":Vn(i.value,e,n);break;default:throw Error("Non Exhaustive Match")}const s=void 0!==i.quantifier&&0===i.quantifier.atLeast;if("Group"===i.type&&!1===qn(i)||"Group"!==i.type&&!1===s)break}break;default:throw Error("non exhaustive match!")}return s(e)}function Hn(t,e,n){const r=gr(t);e[r]=r,!0===n&&function(t,e){const n=String.fromCharCode(t),r=n.toUpperCase();if(r!==n){const t=gr(r.charCodeAt(0));e[t]=t}else{const t=n.toLowerCase();if(t!==n){const n=gr(t.charCodeAt(0));e[n]=n}}}(t,e)}function Yn(t,e){return Zn(t.value,(t=>{if("number"==typeof t)return $e(e,t);{const n=t;return void 0!==Zn(e,(t=>n.from<=t&&t<=n.to))}}))}function qn(t){const e=t.quantifier;return!(!e||0!==e.atLeast)||!!t.value&&((0,ht.Z)(t.value)?Ge(t.value,qn):qn(t.value))}class Xn extends Dn{constructor(t){super(),this.targetCharCodes=t,this.found=!1}visitChildren(t){if(!0!==this.found){switch(t.type){case"Lookahead":return void this.visitLookahead(t);case"NegativeLookahead":return void this.visitNegativeLookahead(t)}super.visitChildren(t)}}visitCharacter(t){$e(this.targetCharCodes,t.value)&&(this.found=!0)}visitSet(t){t.complement?void 0===Yn(t,this.targetCharCodes)&&(this.found=!0):void 0!==Yn(t,this.targetCharCodes)&&(this.found=!0)}}function Jn(t,e){if(e instanceof RegExp){const n=Wn(e),r=new Xn(t);return r.visit(n),r.found}return void 0!==Zn(e,(e=>$e(t,e.charCodeAt(0))))}const Qn="PATTERN",tr="defaultMode",er="modes";let nr="boolean"==typeof new RegExp("(?:)").sticky;function rr(t,e){const n=(e=dn(e,{useSticky:nr,debug:!1,safeMode:!1,positionTracking:"full",lineTerminatorCharacters:["\r","\n"],tracer:(t,e)=>e()})).tracer;let o;n("initCharCodeToOptimizedIndexMap",(()=>{!function(){if((0,a.Z)(Er)){Er=new Array(65536);for(let t=0;t<65536;t++)Er[t]=t>255?255+~~(t/255):t}}()})),n("Reject Lexer.NA",(()=>{o=gn(t,(t=>t[Qn]===wr.NA))}));let u,i,s,l,D,f,d,p,F,E,g,m=!1;n("Transform Patterns",(()=>{m=!1,u=(0,c.Z)(o,(t=>{const n=t[Qn];if(Ee(n)){const t=n.source;return 1!==t.length||"^"===t||"$"===t||"."===t||n.ignoreCase?2!==t.length||"\\"!==t[0]||$e(["d","D","s","S","t","r","n","t","0","c","b","B","f","v","w","W"],t[1])?e.useSticky?ar(n):sr(n):t[1]:t}if((0,mn.Z)(n))return m=!0,{exec:n};if("object"==typeof n)return m=!0,n;if("string"==typeof n){if(1===n.length)return n;{const t=n.replace(/[\\^$.*+?()[\]{}|]/g,"\\$&"),r=new RegExp(t);return e.useSticky?ar(r):sr(r)}}throw Error("non exhaustive match")}))})),n("misc mapping",(()=>{i=(0,c.Z)(o,(t=>t.tokenTypeIdx)),s=(0,c.Z)(o,(t=>{const e=t.GROUP;if(e!==wr.SKIPPED){if(Vt(e))return e;if(Xe(e))return!1;throw Error("non exhaustive match")}})),l=(0,c.Z)(o,(t=>{const e=t.LONGER_ALT;if(e){return(0,ht.Z)(e)?(0,c.Z)(e,(t=>Cn(o,t))):[Cn(o,e)]}})),D=(0,c.Z)(o,(t=>t.PUSH_MODE)),f=(0,c.Z)(o,(t=>h(t,"POP_MODE")))})),n("Line Terminator Handling",(()=>{const t=dr(e.lineTerminatorCharacters);d=(0,c.Z)(o,(t=>!1)),"onlyOffset"!==e.positionTracking&&(d=(0,c.Z)(o,(e=>h(e,"LINE_BREAKS")?!!e.LINE_BREAKS:!1===hr(e,t)&&Jn(t,e.PATTERN))))})),n("Misc Mapping #2",(()=>{p=(0,c.Z)(o,lr),F=(0,c.Z)(u,Dr),E=(0,yn.Z)(o,((t,e)=>{const n=e.GROUP;return Vt(n)&&n!==wr.SKIPPED&&(t[n]=[]),t}),{}),g=(0,c.Z)(u,((t,e)=>({pattern:u[e],longerAlt:l[e],canLineTerminator:d[e],isCustom:p[e],short:F[e],group:s[e],push:D[e],pop:f[e],tokenTypeIdx:i[e],tokenType:o[e]})))}));let v=!0,C=[];return e.safeMode||n("First Char Optimization",(()=>{C=(0,yn.Z)(o,((t,n,o)=>{if("string"==typeof n.PATTERN){const e=gr(n.PATTERN.charCodeAt(0));pr(t,e,g[o])}else if((0,ht.Z)(n.START_CHARS_HINT)){let e;(0,r.Z)(n.START_CHARS_HINT,(n=>{const r=gr("string"==typeof n?n.charCodeAt(0):n);e!==r&&(e=r,pr(t,r,g[o]))}))}else if(Ee(n.PATTERN))if(n.PATTERN.unicode)v=!1,e.ensureOptimizations&&Mn(`${Gn}\tUnable to analyze < ${n.PATTERN.toString()} > pattern.\n\tThe regexp unicode flag is not currently supported by the regexp-to-ast library.\n\tThis will disable the lexer's first char optimizations.\n\tFor details See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#UNICODE_OPTIMIZE`);else{const u=Kn(n.PATTERN,e.ensureOptimizations);(0,a.Z)(u)&&(v=!1),(0,r.Z)(u,(e=>{pr(t,e,g[o])}))}else e.ensureOptimizations&&Mn(`${Gn}\tTokenType: <${n.name}> is using a custom token pattern without providing parameter.\n\tThis will disable the lexer's first char optimizations.\n\tFor details See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#CUSTOM_OPTIMIZE`),v=!1;return t}),[])})),{emptyGroups:E,patternIdxToConfig:g,charCodeToPatternIdxToConfig:C,hasCustom:m,canBeOptimized:v}}function or(t,e){let n=[];const o=function(t){const e=(0,An.Z)(t,(t=>!h(t,Qn))),n=(0,c.Z)(e,(t=>({message:"Token Type: ->"+t.name+"<- missing static 'PATTERN' property",type:Nr.MISSING_PATTERN,tokenTypes:[t]}))),r=Nn(t,e);return{errors:n,valid:r}}(t);n=n.concat(o.errors);const u=function(t){const e=(0,An.Z)(t,(t=>{const e=t[Qn];return!(Ee(e)||(0,mn.Z)(e)||h(e,"exec")||Vt(e))})),n=(0,c.Z)(e,(t=>({message:"Token Type: ->"+t.name+"<- static 'PATTERN' can only be a RegExp, a Function matching the {CustomPatternMatcherFunc} type or an Object matching the {ICustomPattern} interface.",type:Nr.INVALID_PATTERN,tokenTypes:[t]}))),r=Nn(t,e);return{errors:n,valid:r}}(o.valid),i=u.valid;return n=n.concat(u.errors),n=n.concat(function(t){let e=[];const n=(0,An.Z)(t,(t=>Ee(t[Qn])));return e=e.concat(function(t){class e extends Dn{constructor(){super(...arguments),this.found=!1}visitEndAnchor(t){this.found=!0}}const n=(0,An.Z)(t,(t=>{const n=t.PATTERN;try{const t=Wn(n),r=new e;return r.visit(t),r.found}catch(r){return ur.test(n.source)}})),r=(0,c.Z)(n,(t=>({message:"Unexpected RegExp Anchor Error:\n\tToken Type: ->"+t.name+"<- static 'PATTERN' cannot contain end of input anchor '$'\n\tSee chevrotain.io/docs/guide/resolving_lexer_errors.html#ANCHORS\tfor details.",type:Nr.EOI_ANCHOR_FOUND,tokenTypes:[t]})));return r}(n)),e=e.concat(function(t){class e extends Dn{constructor(){super(...arguments),this.found=!1}visitStartAnchor(t){this.found=!0}}const n=(0,An.Z)(t,(t=>{const n=t.PATTERN;try{const t=Wn(n),r=new e;return r.visit(t),r.found}catch(r){return ir.test(n.source)}})),r=(0,c.Z)(n,(t=>({message:"Unexpected RegExp Anchor Error:\n\tToken Type: ->"+t.name+"<- static 'PATTERN' cannot contain start of input anchor '^'\n\tSee https://chevrotain.io/docs/guide/resolving_lexer_errors.html#ANCHORS\tfor details.",type:Nr.SOI_ANCHOR_FOUND,tokenTypes:[t]})));return r}(n)),e=e.concat(function(t){const e=(0,An.Z)(t,(t=>{const e=t[Qn];return e instanceof RegExp&&(e.multiline||e.global)})),n=(0,c.Z)(e,(t=>({message:"Token Type: ->"+t.name+"<- static 'PATTERN' may NOT contain global('g') or multiline('m')",type:Nr.UNSUPPORTED_FLAGS_FOUND,tokenTypes:[t]})));return n}(n)),e=e.concat(function(t){const e=[];let n=(0,c.Z)(t,(n=>(0,yn.Z)(t,((t,r)=>(n.PATTERN.source!==r.PATTERN.source||$e(e,r)||r.PATTERN===wr.NA||(e.push(r),t.push(r)),t)),[])));n=Rn(n);const r=(0,An.Z)(n,(t=>t.length>1)),o=(0,c.Z)(r,(t=>{const e=(0,c.Z)(t,(t=>t.name));return{message:`The same RegExp pattern ->${wn(t).PATTERN}<-has been used in all of the following Token Types: ${e.join(", ")} <-`,type:Nr.DUPLICATE_PATTERNS_FOUND,tokenTypes:t}}));return o}(n)),e=e.concat(function(t){const e=(0,An.Z)(t,(t=>t.PATTERN.test(""))),n=(0,c.Z)(e,(t=>({message:"Token Type: ->"+t.name+"<- static 'PATTERN' must not match an empty string",type:Nr.EMPTY_MATCH_PATTERN,tokenTypes:[t]})));return n}(n)),e}(i)),n=n.concat(function(t){const e=(0,An.Z)(t,(t=>{if(!h(t,"GROUP"))return!1;const e=t.GROUP;return e!==wr.SKIPPED&&e!==wr.NA&&!Vt(e)})),n=(0,c.Z)(e,(t=>({message:"Token Type: ->"+t.name+"<- static 'GROUP' can only be Lexer.SKIPPED/Lexer.NA/A String",type:Nr.INVALID_GROUP_TYPE_FOUND,tokenTypes:[t]})));return n}(i)),n=n.concat(function(t,e){const n=(0,An.Z)(t,(t=>void 0!==t.PUSH_MODE&&!$e(e,t.PUSH_MODE))),r=(0,c.Z)(n,(t=>({message:`Token Type: ->${t.name}<- static 'PUSH_MODE' value cannot refer to a Lexer Mode ->${t.PUSH_MODE}<-which does not exist`,type:Nr.PUSH_MODE_DOES_NOT_EXIST,tokenTypes:[t]})));return r}(i,e)),n=n.concat(function(t){const e=[],n=(0,yn.Z)(t,((t,e,n)=>{const r=e.PATTERN;return r===wr.NA||(Vt(r)?t.push({str:r,idx:n,tokenType:e}):Ee(r)&&(o=r,void 0===Zn([".","\\","[","]","|","^","$","(",")","?","*","+","{"],(t=>-1!==o.source.indexOf(t))))&&t.push({str:r.source,idx:n,tokenType:e})),t;var o}),[]);return(0,r.Z)(t,((t,o)=>{(0,r.Z)(n,(({str:n,idx:r,tokenType:u})=>{if(o${u.name}<- can never be matched.\nBecause it appears AFTER the Token Type ->${t.name}<-in the lexer's definition.\nSee https://chevrotain.io/docs/guide/resolving_lexer_errors.html#UNREACHABLE`;e.push({message:n,type:Nr.UNREACHABLE_PATTERN,tokenTypes:[t,u]})}}))})),e}(i)),n}const ur=/[^\\][$]/;const ir=/[^\\[][\^]|^\^/;function sr(t){const e=t.ignoreCase?"i":"";return new RegExp(`^(?:${t.source})`,e)}function ar(t){const e=t.ignoreCase?"iy":"y";return new RegExp(`${t.source}`,e)}function cr(t,e,n){const o=[];let u=!1;const i=Rn((0,Be.Z)(s(t.modes))),a=gn(i,(t=>t[Qn]===wr.NA)),c=dr(n);return e&&(0,r.Z)(a,(t=>{const e=hr(t,c);if(!1!==e){const n=function(t,e){if(e.issue===Nr.IDENTIFY_TERMINATOR)return`Warning: unable to identify line terminator usage in pattern.\n\tThe problem is in the <${t.name}> Token Type\n\t Root cause: ${e.errMsg}.\n\tFor details See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#IDENTIFY_TERMINATOR`;if(e.issue===Nr.CUSTOM_LINE_BREAK)return`Warning: A Custom Token Pattern should specify the option.\n\tThe problem is in the <${t.name}> Token Type\n\tFor details See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#CUSTOM_LINE_BREAK`;throw Error("non exhaustive match")}(t,e),r={message:n,type:e.issue,tokenType:t};o.push(r)}else h(t,"LINE_BREAKS")?!0===t.LINE_BREAKS&&(u=!0):Jn(c,t.PATTERN)&&(u=!0)})),e&&!u&&o.push({message:"Warning: No LINE_BREAKS Found.\n\tThis Lexer has been defined to track line and column information,\n\tBut none of the Token Types can be identified as matching a line terminator.\n\tSee https://chevrotain.io/docs/guide/resolving_lexer_errors.html#LINE_BREAKS \n\tfor details.",type:Nr.NO_LINE_BREAKS_FLAGS}),o}function lr(t){const e=t.PATTERN;if(Ee(e))return!1;if((0,mn.Z)(e))return!0;if(h(e,"exec"))return!0;if(Vt(e))return!1;throw Error("non exhaustive match")}function Dr(t){return!(!Vt(t)||1!==t.length)&&t.charCodeAt(0)}const fr={test:function(t){const e=t.length;for(let n=this.lastIndex;nVt(t)?t.charCodeAt(0):t))}function pr(t,e,n){void 0===t[e]?t[e]=[n]:t[e].push(n)}const Fr=256;let Er=[];function gr(t){return tt.CATEGORIES))));const t=Nn(n,e);e=e.concat(t),(0,a.Z)(t)?r=!1:n=t}return e}(t);!function(t){(0,r.Z)(t,(t=>{_r(t)||(Tr[br]=t,t.tokenTypeIdx=br++),kr(t)&&!(0,ht.Z)(t.CATEGORIES)&&(t.CATEGORIES=[t.CATEGORIES]),kr(t)||(t.CATEGORIES=[]),h(t,"categoryMatches")||(t.categoryMatches=[]),function(t){return h(t,"categoryMatchesMap")}(t)||(t.categoryMatchesMap={})}))}(e),function(t){(0,r.Z)(t,(t=>{Or([],t)}))}(e),function(t){(0,r.Z)(t,(t=>{t.categoryMatches=[],(0,r.Z)(t.categoryMatchesMap,((e,n)=>{t.categoryMatches.push(Tr[n].tokenTypeIdx)}))}))}(e),(0,r.Z)(e,(t=>{t.isParent=t.categoryMatches.length>0}))}function Or(t,e){(0,r.Z)(t,(t=>{e.categoryMatchesMap[t.tokenTypeIdx]=!0})),(0,r.Z)(e.CATEGORIES,(n=>{const r=t.concat(e);$e(r,n)||Or(r,n)}))}function _r(t){return h(t,"tokenTypeIdx")}function kr(t){return h(t,"CATEGORIES")}function Sr(t){return h(t,"tokenTypeIdx")}const Ir={buildUnableToPopLexerModeMessage:t=>`Unable to pop Lexer Mode after encountering Token ->${t.image}<- The Mode Stack is empty`,buildUnexpectedCharactersMessage:(t,e,n,r,o)=>`unexpected character: ->${t.charAt(e)}<- at offset: ${e}, skipped ${n} characters.`};var Nr;!function(t){t[t.MISSING_PATTERN=0]="MISSING_PATTERN",t[t.INVALID_PATTERN=1]="INVALID_PATTERN",t[t.EOI_ANCHOR_FOUND=2]="EOI_ANCHOR_FOUND",t[t.UNSUPPORTED_FLAGS_FOUND=3]="UNSUPPORTED_FLAGS_FOUND",t[t.DUPLICATE_PATTERNS_FOUND=4]="DUPLICATE_PATTERNS_FOUND",t[t.INVALID_GROUP_TYPE_FOUND=5]="INVALID_GROUP_TYPE_FOUND",t[t.PUSH_MODE_DOES_NOT_EXIST=6]="PUSH_MODE_DOES_NOT_EXIST",t[t.MULTI_MODE_LEXER_WITHOUT_DEFAULT_MODE=7]="MULTI_MODE_LEXER_WITHOUT_DEFAULT_MODE",t[t.MULTI_MODE_LEXER_WITHOUT_MODES_PROPERTY=8]="MULTI_MODE_LEXER_WITHOUT_MODES_PROPERTY",t[t.MULTI_MODE_LEXER_DEFAULT_MODE_VALUE_DOES_NOT_EXIST=9]="MULTI_MODE_LEXER_DEFAULT_MODE_VALUE_DOES_NOT_EXIST",t[t.LEXER_DEFINITION_CANNOT_CONTAIN_UNDEFINED=10]="LEXER_DEFINITION_CANNOT_CONTAIN_UNDEFINED",t[t.SOI_ANCHOR_FOUND=11]="SOI_ANCHOR_FOUND",t[t.EMPTY_MATCH_PATTERN=12]="EMPTY_MATCH_PATTERN",t[t.NO_LINE_BREAKS_FLAGS=13]="NO_LINE_BREAKS_FLAGS",t[t.UNREACHABLE_PATTERN=14]="UNREACHABLE_PATTERN",t[t.IDENTIFY_TERMINATOR=15]="IDENTIFY_TERMINATOR",t[t.CUSTOM_LINE_BREAK=16]="CUSTOM_LINE_BREAK",t[t.MULTI_MODE_LEXER_LONGER_ALT_NOT_IN_CURRENT_MODE=17]="MULTI_MODE_LEXER_LONGER_ALT_NOT_IN_CURRENT_MODE"}(Nr||(Nr={}));const Rr={deferDefinitionErrorsHandling:!1,positionTracking:"full",lineTerminatorsPattern:/\n|\r\n?/g,lineTerminatorCharacters:["\n","\r"],ensureOptimizations:!1,safeMode:!1,errorMessageProvider:Ir,traceInitPerf:!1,skipValidations:!1,recoveryEnabled:!0};Object.freeze(Rr);class wr{constructor(t,e=Rr){if(this.lexerDefinition=t,this.lexerDefinitionErrors=[],this.lexerDefinitionWarning=[],this.patternIdxToConfig={},this.charCodeToPatternIdxToConfig={},this.modes=[],this.emptyGroups={},this.trackStartLines=!0,this.trackEndLines=!0,this.hasCustom=!1,this.canModeBeOptimized={},this.TRACE_INIT=(t,e)=>{if(!0===this.traceInitPerf){this.traceInitIndent++;const n=new Array(this.traceInitIndent+1).join("\t");this.traceInitIndent`);const{time:r,value:o}=Cr(e),u=r>10?console.warn:console.log;return this.traceInitIndent time: ${r}ms`),this.traceInitIndent--,o}return e()},"boolean"==typeof e)throw Error("The second argument to the Lexer constructor is now an ILexerConfig Object.\na boolean 2nd argument is no longer supported");this.config=se({},Rr,e);const n=this.config.traceInitPerf;!0===n?(this.traceInitMaxIdent=1/0,this.traceInitPerf=!0):"number"==typeof n&&(this.traceInitMaxIdent=n,this.traceInitPerf=!0),this.traceInitIndent=-1,this.TRACE_INIT("Lexer Constructor",(()=>{let n,o=!0;this.TRACE_INIT("Lexer Config handling",(()=>{if(this.config.lineTerminatorsPattern===Rr.lineTerminatorsPattern)this.config.lineTerminatorsPattern=fr;else if(this.config.lineTerminatorCharacters===Rr.lineTerminatorCharacters)throw Error("Error: Missing property on the Lexer config.\n\tFor details See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#MISSING_LINE_TERM_CHARS");if(e.safeMode&&e.ensureOptimizations)throw Error('"safeMode" and "ensureOptimizations" flags are mutually exclusive.');this.trackStartLines=/full|onlyStart/i.test(this.config.positionTracking),this.trackEndLines=/full/i.test(this.config.positionTracking),(0,ht.Z)(t)?n={modes:{defaultMode:kt(t)},defaultMode:tr}:(o=!1,n=kt(t))})),!1===this.config.skipValidations&&(this.TRACE_INIT("performRuntimeChecks",(()=>{this.lexerDefinitionErrors=this.lexerDefinitionErrors.concat(function(t,e,n){const o=[];return h(t,tr)||o.push({message:"A MultiMode Lexer cannot be initialized without a <"+tr+"> property in its definition\n",type:Nr.MULTI_MODE_LEXER_WITHOUT_DEFAULT_MODE}),h(t,er)||o.push({message:"A MultiMode Lexer cannot be initialized without a property in its definition\n",type:Nr.MULTI_MODE_LEXER_WITHOUT_MODES_PROPERTY}),h(t,er)&&h(t,tr)&&!h(t.modes,t.defaultMode)&&o.push({message:`A MultiMode Lexer cannot be initialized with a ${tr}: <${t.defaultMode}>which does not exist\n`,type:Nr.MULTI_MODE_LEXER_DEFAULT_MODE_VALUE_DOES_NOT_EXIST}),h(t,er)&&(0,r.Z)(t.modes,((t,e)=>{(0,r.Z)(t,((n,u)=>{if(Xe(n))o.push({message:`A Lexer cannot be initialized using an undefined Token Type. Mode:<${e}> at index: <${u}>\n`,type:Nr.LEXER_DEFINITION_CANNOT_CONTAIN_UNDEFINED});else if(h(n,"LONGER_ALT")){const u=(0,ht.Z)(n.LONGER_ALT)?n.LONGER_ALT:[n.LONGER_ALT];(0,r.Z)(u,(r=>{Xe(r)||$e(t,r)||o.push({message:`A MultiMode Lexer cannot be initialized with a longer_alt <${r.name}> on token <${n.name}> outside of mode <${e}>\n`,type:Nr.MULTI_MODE_LEXER_LONGER_ALT_NOT_IN_CURRENT_MODE})}))}}))})),o}(n,this.trackStartLines,this.config.lineTerminatorCharacters))})),this.TRACE_INIT("performWarningRuntimeChecks",(()=>{this.lexerDefinitionWarning=this.lexerDefinitionWarning.concat(cr(n,this.trackStartLines,this.config.lineTerminatorCharacters))}))),n.modes=n.modes?n.modes:{},(0,r.Z)(n.modes,((t,e)=>{n.modes[e]=gn(t,(t=>Xe(t)))}));const u=(0,i.Z)(n.modes);if((0,r.Z)(n.modes,((t,n)=>{this.TRACE_INIT(`Mode: <${n}> processing`,(()=>{if(this.modes.push(n),!1===this.config.skipValidations&&this.TRACE_INIT("validatePatterns",(()=>{this.lexerDefinitionErrors=this.lexerDefinitionErrors.concat(or(t,u))})),(0,a.Z)(this.lexerDefinitionErrors)){let r;xr(t),this.TRACE_INIT("analyzeTokenTypes",(()=>{r=rr(t,{lineTerminatorCharacters:this.config.lineTerminatorCharacters,positionTracking:e.positionTracking,ensureOptimizations:e.ensureOptimizations,safeMode:e.safeMode,tracer:this.TRACE_INIT})})),this.patternIdxToConfig[n]=r.patternIdxToConfig,this.charCodeToPatternIdxToConfig[n]=r.charCodeToPatternIdxToConfig,this.emptyGroups=se({},this.emptyGroups,r.emptyGroups),this.hasCustom=r.hasCustom||this.hasCustom,this.canModeBeOptimized[n]=r.canBeOptimized}}))})),this.defaultMode=n.defaultMode,!(0,a.Z)(this.lexerDefinitionErrors)&&!this.config.deferDefinitionErrorsHandling){const t=(0,c.Z)(this.lexerDefinitionErrors,(t=>t.message)).join("-----------------------\n");throw new Error("Errors detected in definition of Lexer:\n"+t)}(0,r.Z)(this.lexerDefinitionWarning,(t=>{jn(t.message)})),this.TRACE_INIT("Choosing sub-methods implementations",(()=>{if(nr?(this.chopInput=Ht.Z,this.match=this.matchWithTest):(this.updateLastIndex=mr.Z,this.match=this.matchWithExec),o&&(this.handleModes=mr.Z),!1===this.trackStartLines&&(this.computeNewColumn=Ht.Z),!1===this.trackEndLines&&(this.updateTokenEndLineColumnLocation=mr.Z),/full/i.test(this.config.positionTracking))this.createTokenInstance=this.createFullToken;else if(/onlyStart/i.test(this.config.positionTracking))this.createTokenInstance=this.createStartOnlyToken;else{if(!/onlyOffset/i.test(this.config.positionTracking))throw Error(`Invalid config option: "${this.config.positionTracking}"`);this.createTokenInstance=this.createOffsetOnlyToken}this.hasCustom?(this.addToken=this.addTokenUsingPush,this.handlePayload=this.handlePayloadWithCustom):(this.addToken=this.addTokenUsingMemberAccess,this.handlePayload=this.handlePayloadNoCustom)})),this.TRACE_INIT("Failed Optimization Warnings",(()=>{const t=(0,yn.Z)(this.canModeBeOptimized,((t,e,n)=>(!1===e&&t.push(n),t)),[]);if(e.ensureOptimizations&&!(0,a.Z)(t))throw Error(`Lexer Modes: < ${t.join(", ")} > cannot be optimized.\n\t Disable the "ensureOptimizations" lexer config flag to silently ignore this and run the lexer in an un-optimized mode.\n\t Or inspect the console log for details on how to resolve these issues.`)})),this.TRACE_INIT("clearRegExpParserCache",(()=>{Un={}})),this.TRACE_INIT("toFastProperties",(()=>{St(this)}))}))}tokenize(t,e=this.defaultMode){if(!(0,a.Z)(this.lexerDefinitionErrors)){const t=(0,c.Z)(this.lexerDefinitionErrors,(t=>t.message)).join("-----------------------\n");throw new Error("Unable to Tokenize because Errors detected in definition of Lexer:\n"+t)}return this.tokenizeInternal(t,e)}tokenizeInternal(t,e){let n,o,u,s,a,c,l,D,f,h,d,p,F,E,g;const m=t,v=m.length;let C=0,y=0;const A=this.hasCustom?0:Math.floor(t.length/10),b=new Array(A),T=[];let x=this.trackStartLines?1:void 0,O=this.trackStartLines?1:void 0;const _=function(t){const e={},n=(0,i.Z)(t);return(0,r.Z)(n,(n=>{const r=t[n];if(!(0,ht.Z)(r))throw Error("non exhaustive match");e[n]=[]})),e}(this.emptyGroups),k=this.trackStartLines,S=this.config.lineTerminatorsPattern;let I=0,N=[],R=[];const w=[],B=[];let L;function P(){return N}function Z(t){const e=gr(t),n=R[e];return void 0===n?B:n}Object.freeze(B);const M=t=>{if(1===w.length&&void 0===t.tokenType.PUSH_MODE){const e=this.config.errorMessageProvider.buildUnableToPopLexerModeMessage(t);T.push({offset:t.startOffset,line:t.startLine,column:t.startColumn,length:t.image.length,message:e})}else{w.pop();const t=vr(w);N=this.patternIdxToConfig[t],R=this.charCodeToPatternIdxToConfig[t],I=N.length;const e=this.canModeBeOptimized[t]&&!1===this.config.safeMode;L=R&&e?Z:P}};function j(t){w.push(t),R=this.charCodeToPatternIdxToConfig[t],N=this.patternIdxToConfig[t],I=N.length,I=N.length;const e=this.canModeBeOptimized[t]&&!1===this.config.safeMode;L=R&&e?Z:P}let U;j.call(this,e);const $=this.config.recoveryEnabled;for(;Cc.length){c=s,l=D,U=e;break}}}break}}if(null!==c){if(f=c.length,h=U.group,void 0!==h&&(d=U.tokenTypeIdx,p=this.createTokenInstance(c,C,d,U.tokenType,x,O,f),this.handlePayload(p,l),!1===h?y=this.addToken(b,y,p):_[h].push(p)),t=this.chopInput(t,f),C+=f,O=this.computeNewColumn(O,f),!0===k&&!0===U.canLineTerminator){let t,e,n=0;S.lastIndex=0;do{t=S.test(c),!0===t&&(e=S.lastIndex-1,n++)}while(!0===t);0!==n&&(x+=n,O=f-e,this.updateTokenEndLineColumnLocation(p,h,e,n,x,O,f))}this.handleModes(U,M,j,p)}else{const e=C,n=x,r=O;let u=!1===$;for(;!1===u&&C`Expecting ${Lr(t)?`--\x3e ${Br(t)} <--`:`token of type --\x3e ${t.name} <--`} but found --\x3e '${e.image}' <--`,buildNotAllInputParsedMessage:({firstRedundant:t,ruleName:e})=>"Redundant input, expecting EOF but found: "+t.image,buildNoViableAltMessage({expectedPathsPerAlt:t,actual:e,previous:n,customUserDescription:r,ruleName:o}){const u="Expecting: ",i="\nbut found: '"+wn(e).image+"'";if(r)return u+r+i;{const e=(0,yn.Z)(t,((t,e)=>t.concat(e)),[]),n=(0,c.Z)(e,(t=>`[${(0,c.Z)(t,(t=>Br(t))).join(", ")}]`));return u+`one of these possible Token sequences:\n${(0,c.Z)(n,((t,e)=>` ${e+1}. ${t}`)).join("\n")}`+i}},buildEarlyExitMessage({expectedIterationPaths:t,actual:e,customUserDescription:n,ruleName:r}){const o="Expecting: ",u="\nbut found: '"+wn(e).image+"'";if(n)return o+n+u;return o+`expecting at least one iteration which starts with one of these possible Token sequences::\n <${(0,c.Z)(t,(t=>`[${(0,c.Z)(t,(t=>Br(t))).join(",")}]`)).join(" ,")}>`+u}};Object.freeze(qr);const Xr={buildRuleNotFoundError:(t,e)=>"Invalid grammar, reference to a rule which is not defined: ->"+e.nonTerminalName+"<-\ninside top level rule: ->"+t.name+"<-"},Jr={buildDuplicateFoundError(t,e){const n=t.name,r=wn(e),o=r.idx,u=Ve(r),i=(s=r)instanceof ke?s.terminalType.name:s instanceof ve?s.nonTerminalName:"";var s;let a=`->${u}${o>0?o:""}<- ${i?`with argument: ->${i}<-`:""}\n appears more than once (${e.length} times) in the top level rule: ->${n}<-. \n For further details see: https://chevrotain.io/docs/FAQ.html#NUMERICAL_SUFFIXES \n `;return a=a.replace(/[ \t]+/g," "),a=a.replace(/\s\s+/g,"\n"),a},buildNamespaceConflictError:t=>`Namespace conflict found in grammar.\nThe grammar has both a Terminal(Token) and a Non-Terminal(Rule) named: <${t.name}>.\nTo resolve this make sure each Terminal and Non-Terminal names are unique\nThis is easy to accomplish by using the convention that Terminal names start with an uppercase letter\nand Non-Terminal names start with a lower case letter.`,buildAlternationPrefixAmbiguityError(t){const e=(0,c.Z)(t.prefixPath,(t=>Br(t))).join(", "),n=0===t.alternation.idx?"":t.alternation.idx;return`Ambiguous alternatives: <${t.ambiguityIndices.join(" ,")}> due to common lookahead prefix\nin inside <${t.topLevelRule.name}> Rule,\n<${e}> may appears as a prefix path in all these alternatives.\nSee: https://chevrotain.io/docs/guide/resolving_grammar_errors.html#COMMON_PREFIX\nFor Further details.`},buildAlternationAmbiguityError(t){const e=(0,c.Z)(t.prefixPath,(t=>Br(t))).join(", "),n=0===t.alternation.idx?"":t.alternation.idx;let r=`Ambiguous Alternatives Detected: <${t.ambiguityIndices.join(" ,")}> in inside <${t.topLevelRule.name}> Rule,\n<${e}> may appears as a prefix path in all these alternatives.\n`;return r+="See: https://chevrotain.io/docs/guide/resolving_grammar_errors.html#AMBIGUOUS_ALTERNATIVES\nFor Further details.",r},buildEmptyRepetitionError(t){let e=Ve(t.repetition);0!==t.repetition.idx&&(e+=t.repetition.idx);return`The repetition <${e}> within Rule <${t.topLevelRule.name}> can never consume any tokens.\nThis could lead to an infinite loop.`},buildTokenNameError:t=>"deprecated",buildEmptyAlternationError:t=>`Ambiguous empty alternative: <${t.emptyChoiceIdx+1}> in inside <${t.topLevelRule.name}> Rule.\nOnly the last alternative may be an empty alternative.`,buildTooManyAlternativesError:t=>`An Alternation cannot have more than 256 alternatives:\n inside <${t.topLevelRule.name}> Rule.\n has ${t.alternation.definition.length+1} alternatives.`,buildLeftRecursionError(t){const e=t.topLevelRule.name;return`Left Recursion found in grammar.\nrule: <${e}> can be invoked from itself (directly or indirectly)\nwithout consuming any Tokens. The grammar path that causes this is: \n ${`${e} --\x3e ${(0,c.Z)(t.leftRecursionPath,(t=>t.name)).concat([e]).join(" --\x3e ")}`}\n To fix this refactor your grammar to remove the left recursion.\nsee: https://en.wikipedia.org/wiki/LL_parser#Left_factoring.`},buildInvalidRuleNameError:t=>"deprecated",buildDuplicateRuleNameError(t){let e;e=t.topLevelRule instanceof Ce?t.topLevelRule.name:t.topLevelRule;return`Duplicate definition, rule: ->${e}<- is already defined in the grammar: ->${t.grammarName}<-`}};class Qr{visit(t){const e=t;switch(e.constructor){case ve:return this.visitNonTerminal(e);case ye:return this.visitAlternative(e);case Ae:return this.visitOption(e);case be:return this.visitRepetitionMandatory(e);case Te:return this.visitRepetitionMandatoryWithSeparator(e);case Oe:return this.visitRepetitionWithSeparator(e);case xe:return this.visitRepetition(e);case _e:return this.visitAlternation(e);case ke:return this.visitTerminal(e);case Ce:return this.visitRule(e);default:throw Error("non exhaustive match")}}visitNonTerminal(t){}visitAlternative(t){}visitOption(t){}visitRepetition(t){}visitRepetitionMandatory(t){}visitRepetitionMandatoryWithSeparator(t){}visitRepetitionWithSeparator(t){}visitAlternation(t){}visitTerminal(t){}visitRule(t){}}class to extends Qr{constructor(t,e){super(),this.nameToTopRule=t,this.errMsgProvider=e,this.errors=[]}resolveRefs(){(0,r.Z)(s(this.nameToTopRule),(t=>{this.currTopLevel=t,t.accept(this)}))}visitNonTerminal(t){const e=this.nameToTopRule[t.nonTerminalName];if(e)t.referencedRule=e;else{const e=this.errMsgProvider.buildRuleNotFoundError(this.currTopLevel,t);this.errors.push({message:e,type:Su.UNRESOLVED_SUBRULE_REF,ruleName:this.currTopLevel.name,unresolvedRefName:t.nonTerminalName})}}}var eo=n(1453);const no=function(t,e,n,r){for(var o=-1,u=null==t?0:t.length;++o{!1===(0,a.Z)(t.definition)&&(o=i(t.definition))})),o;if(!(e instanceof ke))throw Error("non exhaustive match");n.push(e.terminalType)}}u++}return o.push({partialPath:n,suffixDef:Gt(t,u)}),o}function Eo(t,e,n,r){const o="EXIT_NONE_TERMINAL",u=[o],i="EXIT_ALTERNATIVE";let s=!1;const c=e.length,l=c-r-1,D=[],f=[];for(f.push({idx:-1,def:t,ruleStack:[],occurrenceStack:[]});!(0,a.Z)(f);){const t=f.pop();if(t===i){s&&vr(f).idx<=l&&f.pop();continue}const r=t.def,h=t.idx,d=t.ruleStack,p=t.occurrenceStack;if((0,a.Z)(r))continue;const F=r[0];if(F===o){const t={idx:h,def:Gt(r),ruleStack:so(d),occurrenceStack:so(p)};f.push(t)}else if(F instanceof ke)if(h=0;e--){const t={idx:h,def:F.definition[e].definition.concat(Gt(r)),ruleStack:d,occurrenceStack:p};f.push(t),f.push(i)}else if(F instanceof ye)f.push({idx:h,def:F.definition.concat(Gt(r)),ruleStack:d,occurrenceStack:p});else{if(!(F instanceof Ce))throw Error("non exhaustive match");f.push(go(F,h,d,p))}}return D}function go(t,e,n,r){const o=kt(n);o.push(t.name);const u=kt(r);return u.push(1),{idx:e,def:t.definition,ruleStack:o,occurrenceStack:u}}var mo;function vo(t){if(t instanceof Ae||"Option"===t)return mo.OPTION;if(t instanceof xe||"Repetition"===t)return mo.REPETITION;if(t instanceof be||"RepetitionMandatory"===t)return mo.REPETITION_MANDATORY;if(t instanceof Te||"RepetitionMandatoryWithSeparator"===t)return mo.REPETITION_MANDATORY_WITH_SEPARATOR;if(t instanceof Oe||"RepetitionWithSeparator"===t)return mo.REPETITION_WITH_SEPARATOR;if(t instanceof _e||"Alternation"===t)return mo.ALTERNATION;throw Error("non exhaustive match")}function Co(t){const{occurrence:e,rule:n,prodType:r,maxLookahead:o}=t,u=vo(r);return u===mo.ALTERNATION?So(e,n,o):Io(e,n,u,o)}function yo(t,e,n,o){const u=t.length,i=Ge(t,(t=>Ge(t,(t=>1===t.length))));if(e)return function(e){const r=(0,c.Z)(e,(t=>t.GATE));for(let o=0;o(0,Be.Z)(t))),n=(0,yn.Z)(e,((t,e,n)=>((0,r.Z)(e,(e=>{h(t,e.tokenTypeIdx)||(t[e.tokenTypeIdx]=n),(0,r.Z)(e.categoryMatches,(e=>{h(t,e)||(t[e]=n)}))})),t)),{});return function(){const t=this.LA(1);return n[t.tokenTypeIdx]}}return function(){for(let e=0;e1===t.length)),u=t.length;if(o&&!n){const e=(0,Be.Z)(t);if(1===e.length&&(0,a.Z)(e[0].categoryMatches)){const t=e[0].tokenTypeIdx;return function(){return this.LA(1).tokenTypeIdx===t}}{const t=(0,yn.Z)(e,((t,e,n)=>(t[e.tokenTypeIdx]=!0,(0,r.Z)(e.categoryMatches,(e=>{t[e]=!0})),t)),[]);return function(){const e=this.LA(1);return!0===t[e.tokenTypeIdx]}}}return function(){t:for(let n=0;nFo([t],1))),o=xo(n.length),u=(0,c.Z)(n,(t=>{const e={};return(0,r.Z)(t,(t=>{const n=Oo(t.partialPath);(0,r.Z)(n,(t=>{e[t]=!0}))})),e}));let i=n;for(let s=1;s<=e;s++){const t=i;i=xo(t.length);for(let n=0;n{const e=Oo(t.partialPath);(0,r.Z)(e,(t=>{u[n][t]=!0}))}))}}}}return o}function So(t,e,n,r){const o=new To(t,mo.ALTERNATION,r);return e.accept(o),ko(o.result,n)}function Io(t,e,n,r){const o=new To(t,n);e.accept(o);const u=o.result,i=new bo(e,t,n).startWalking();return ko([new ye({definition:u}),new ye({definition:i})],r)}function No(t,e){t:for(let n=0;nGe(t,(t=>Ge(t,(t=>(0,a.Z)(t.categoryMatches)))))))}function wo(t,e,n,o){const u=(0,eo.Z)(t,(t=>function(t,e){const n=new Po;t.accept(n);const r=n.allProductions,o=io(r,Bo),u=de(o,(t=>t.length>1)),i=(0,c.Z)(s(u),(n=>{const r=wn(n),o=e.buildDuplicateFoundError(t,n),u=Ve(r),i={message:o,type:Su.DUPLICATE_PRODUCTIONS,ruleName:t.name,dslName:u,occurrence:r.idx},s=Lo(r);return s&&(i.parameter=s),i}));return i}(t,n))),i=function(t,e,n){const o=[],u=(0,c.Z)(e,(t=>t.name));return(0,r.Z)(t,(t=>{const e=t.name;if($e(u,e)){const r=n.buildNamespaceConflictError(t);o.push({message:r,type:Su.CONFLICT_TOKENS_RULES_NAMESPACE,ruleName:e})}})),o}(t,e,n),a=(0,eo.Z)(t,(t=>function(t,e){const n=new jo;t.accept(n);const r=n.alternations,o=(0,eo.Z)(r,(n=>n.definition.length>255?[{message:e.buildTooManyAlternativesError({topLevelRule:t,alternation:n}),type:Su.TOO_MANY_ALTS,ruleName:t.name,occurrence:n.idx}]:[]));return o}(t,n))),l=(0,eo.Z)(t,(e=>function(t,e,n,r){const o=[],u=(0,yn.Z)(e,((e,n)=>n.name===t.name?e+1:e),0);if(u>1){const e=r.buildDuplicateRuleNameError({topLevelRule:t,grammarName:n});o.push({message:e,type:Su.DUPLICATE_RULE_NAME,ruleName:t.name})}return o}(e,t,o,n)));return u.concat(i,a,l)}function Bo(t){return`${Ve(t)}_#_${t.idx}_#_${Lo(t)}`}function Lo(t){return t instanceof ke?t.terminalType.name:t instanceof ve?t.nonTerminalName:""}class Po extends Qr{constructor(){super(...arguments),this.allProductions=[]}visitNonTerminal(t){this.allProductions.push(t)}visitOption(t){this.allProductions.push(t)}visitRepetitionWithSeparator(t){this.allProductions.push(t)}visitRepetitionMandatory(t){this.allProductions.push(t)}visitRepetitionMandatoryWithSeparator(t){this.allProductions.push(t)}visitRepetition(t){this.allProductions.push(t)}visitAlternation(t){this.allProductions.push(t)}visitTerminal(t){this.allProductions.push(t)}}function Zo(t,e,n,r=[]){const o=[],u=Mo(e.definition);if((0,a.Z)(u))return[];{const e=t.name;$e(u,t)&&o.push({message:n.buildLeftRecursionError({topLevelRule:t,leftRecursionPath:r}),type:Su.LEFT_RECURSION,ruleName:e});const i=Nn(u,r.concat([t])),s=(0,eo.Z)(i,(e=>{const o=kt(r);return o.push(e),Zo(t,e,n,o)}));return o.concat(s)}}function Mo(t){let e=[];if((0,a.Z)(t))return e;const n=wn(t);if(n instanceof ve)e.push(n.referencedRule);else if(n instanceof ye||n instanceof Ae||n instanceof be||n instanceof Te||n instanceof Oe||n instanceof xe)e=e.concat(Mo(n.definition));else if(n instanceof _e)e=(0,Be.Z)((0,c.Z)(n.definition,(t=>Mo(t.definition))));else if(!(n instanceof ke))throw Error("non exhaustive match");const r=Ke(n),o=t.length>1;if(r&&o){const n=Gt(t);return e.concat(Mo(n))}return e}class jo extends Qr{constructor(){super(...arguments),this.alternations=[]}visitAlternation(t){this.alternations.push(t)}}function Uo(t,e,n){const o=new jo;t.accept(o);let u=o.alternations;u=gn(u,(t=>!0===t.ignoreAmbiguities));const i=(0,eo.Z)(u,(o=>{const u=o.idx,i=o.maxLookahead||e,s=So(u,t,i,o),a=function(t,e,n,o){const u=[],i=(0,yn.Z)(t,((n,o,i)=>(!0===e.definition[i].ignoreAmbiguities||(0,r.Z)(o,(o=>{const s=[i];(0,r.Z)(t,((t,n)=>{i!==n&&No(t,o)&&!0!==e.definition[n].ignoreAmbiguities&&s.push(n)})),s.length>1&&!No(u,o)&&(u.push(o),n.push({alts:s,path:o}))})),n)),[]),s=(0,c.Z)(i,(t=>{const r=(0,c.Z)(t.alts,(t=>t+1));return{message:o.buildAlternationAmbiguityError({topLevelRule:n,alternation:e,ambiguityIndices:r,prefixPath:t.path}),type:Su.AMBIGUOUS_ALTS,ruleName:n.name,occurrence:e.idx,alternatives:t.alts}}));return s}(s,o,t,n),l=function(t,e,n,r){const o=(0,yn.Z)(t,((t,e,n)=>{const r=(0,c.Z)(e,(t=>({idx:n,path:t})));return t.concat(r)}),[]),u=Rn((0,eo.Z)(o,(t=>{if(!0===e.definition[t.idx].ignoreAmbiguities)return[];const u=t.idx,i=t.path,s=(0,An.Z)(o,(t=>{return!0!==e.definition[t.idx].ignoreAmbiguities&&t.idx{const n=r[e];return t===n||n.categoryMatchesMap[t.tokenTypeIdx]})));var n,r}));return(0,c.Z)(s,(t=>{const o=[t.idx+1,u+1],i=0===e.idx?"":e.idx;return{message:r.buildAlternationPrefixAmbiguityError({topLevelRule:n,alternation:e,ambiguityIndices:o,prefixPath:t.path}),type:Su.AMBIGUOUS_PREFIX_ALTS,ruleName:n.name,occurrence:i,alternatives:o}}))})));return u}(s,o,t,n);return a.concat(l)}));return i}class $o extends Qr{constructor(){super(...arguments),this.allProductions=[]}visitRepetitionWithSeparator(t){this.allProductions.push(t)}visitRepetitionMandatory(t){this.allProductions.push(t)}visitRepetitionMandatoryWithSeparator(t){this.allProductions.push(t)}visitRepetition(t){this.allProductions.push(t)}}function Wo(t){const e=dn(t,{errMsgProvider:Xr}),n={};return(0,r.Z)(t.rules,(t=>{n[t.name]=t})),function(t,e){const n=new to(t,e);return n.resolveRefs(),n.errors}(n,e.errMsgProvider)}const zo="MismatchedTokenException",Go="NoViableAltException",Ko="EarlyExitException",Vo="NotAllInputParsedException",Ho=[zo,Go,Ko,Vo];function Yo(t){return $e(Ho,t.name)}Object.freeze(Ho);class qo extends Error{constructor(t,e){super(t),this.token=e,this.resyncedTokens=[],Object.setPrototypeOf(this,new.target.prototype),Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)}}class Xo extends qo{constructor(t,e,n){super(t,e),this.previousToken=n,this.name=zo}}class Jo extends qo{constructor(t,e,n){super(t,e),this.previousToken=n,this.name=Go}}class Qo extends qo{constructor(t,e){super(t,e),this.name=Vo}}class tu extends qo{constructor(t,e,n){super(t,e),this.previousToken=n,this.name=Ko}}const eu={},nu="InRuleRecoveryException";class ru extends Error{constructor(t){super(t),this.name=nu}}function ou(t,e,n,r,o,u,i){const s=this.getKeyForAutomaticLookahead(r,o);let a=this.firstAfterRepMap[s];if(void 0===a){const t=this.getCurrRuleFullName();a=new u(this.getGAstProductions()[t],o).startWalking(),this.firstAfterRepMap[s]=a}let c=a.token,l=a.occurrence;const D=a.isEndOfRule;1===this.RULE_STACK.length&&D&&void 0===c&&(c=Vr,l=1),void 0!==c&&void 0!==l&&this.shouldInRepetitionRecoveryBeTried(c,l,i)&&this.tryInRepetitionRecovery(t,e,n,c)}const uu=1024,iu=1280,su=1536;function au(t,e,n){return n|e|t}class cu{constructor(t){var e;this.maxLookahead=null!==(e=null==t?void 0:t.maxLookahead)&&void 0!==e?e:_u.maxLookahead}validate(t){const e=this.validateNoLeftRecursion(t.rules);if((0,a.Z)(e)){const n=this.validateEmptyOrAlternatives(t.rules),r=this.validateAmbiguousAlternationAlternatives(t.rules,this.maxLookahead),o=this.validateSomeNonEmptyLookaheadPath(t.rules,this.maxLookahead);return[...e,...n,...r,...o]}return e}validateNoLeftRecursion(t){return(0,eo.Z)(t,(t=>Zo(t,t,Jr)))}validateEmptyOrAlternatives(t){return(0,eo.Z)(t,(t=>function(t,e){const n=new jo;t.accept(n);const r=n.alternations;return(0,eo.Z)(r,(n=>{const r=so(n.definition);return(0,eo.Z)(r,((r,o)=>{const u=Eo([r],[],yr,1);return(0,a.Z)(u)?[{message:e.buildEmptyAlternationError({topLevelRule:t,alternation:n,emptyChoiceIdx:o}),type:Su.NONE_LAST_EMPTY_ALT,ruleName:t.name,occurrence:n.idx,alternative:o+1}]:[]}))}))}(t,Jr)))}validateAmbiguousAlternationAlternatives(t,e){return(0,eo.Z)(t,(t=>Uo(t,e,Jr)))}validateSomeNonEmptyLookaheadPath(t,e){return function(t,e,n){const o=[];return(0,r.Z)(t,(t=>{const u=new $o;t.accept(u);const i=u.allProductions;(0,r.Z)(i,(r=>{const u=vo(r),i=r.maxLookahead||e,s=Io(r.idx,t,u,i)[0];if((0,a.Z)((0,Be.Z)(s))){const e=n.buildEmptyRepetitionError({topLevelRule:t,repetition:r});o.push({message:e,type:Su.NO_NON_EMPTY_LOOKAHEAD,ruleName:t.name})}}))})),o}(t,e,Jr)}buildLookaheadForAlternation(t){return function(t,e,n,r,o,u){const i=So(t,e,n);return u(i,r,Ro(i)?Ar:yr,o)}(t.prodOccurrence,t.rule,t.maxLookahead,t.hasPredicates,t.dynamicTokensEnabled,yo)}buildLookaheadForOptional(t){return function(t,e,n,r,o,u){const i=Io(t,e,o,n),s=Ro(i)?Ar:yr;return u(i[0],s,r)}(t.prodOccurrence,t.rule,t.maxLookahead,t.dynamicTokensEnabled,vo(t.prodType),Ao)}}const lu=new class extends Qr{constructor(){super(...arguments),this.dslMethods={option:[],alternation:[],repetition:[],repetitionWithSeparator:[],repetitionMandatory:[],repetitionMandatoryWithSeparator:[]}}reset(){this.dslMethods={option:[],alternation:[],repetition:[],repetitionWithSeparator:[],repetitionMandatory:[],repetitionMandatoryWithSeparator:[]}}visitOption(t){this.dslMethods.option.push(t)}visitRepetitionWithSeparator(t){this.dslMethods.repetitionWithSeparator.push(t)}visitRepetitionMandatory(t){this.dslMethods.repetitionMandatory.push(t)}visitRepetitionMandatoryWithSeparator(t){this.dslMethods.repetitionMandatoryWithSeparator.push(t)}visitRepetition(t){this.dslMethods.repetition.push(t)}visitAlternation(t){this.dslMethods.alternation.push(t)}};function Du(t,e){!0===isNaN(t.startOffset)?(t.startOffset=e.startOffset,t.endOffset=e.endOffset):t.endOffset!1===(0,mn.Z)(t[e]))),r=(0,c.Z)(n,(e=>({msg:`Missing visitor method: <${e}> on ${t.constructor.name} CST Visitor.`,type:Eu.MISSING_METHOD,methodName:e})));return Rn(r)}(t,e);return n}(this,e);if(!(0,a.Z)(t)){const e=(0,c.Z)(t,(t=>t.msg));throw Error(`Errors Detected in CST Visitor <${this.constructor.name}>:\n\t${e.join("\n\n").replace(/\n/g,"\n\t")}`)}}};return(n.prototype=r).constructor=n,n._RULE_NAMES=e,n}var Eu;!function(t){t[t.REDUNDANT_METHOD=0]="REDUNDANT_METHOD",t[t.MISSING_METHOD=1]="MISSING_METHOD"}(Eu||(Eu={}));const gu={description:"This Object indicates the Parser is during Recording Phase"};Object.freeze(gu);const mu=Math.pow(2,8)-1,vu=Kr({name:"RECORDING_PHASE_TOKEN",pattern:wr.NA});xr([vu]);const Cu=Hr(vu,"This IToken indicates the Parser is in Recording Phase\n\tSee: https://chevrotain.io/docs/guide/internals.html#grammar-recording for details",-1,-1,-1,-1,-1,-1);Object.freeze(Cu);const yu={name:"This CSTNode indicates the Parser is in Recording Phase\n\tSee: https://chevrotain.io/docs/guide/internals.html#grammar-recording for details",children:{}};function Au(t,e,n,r=!1){xu(n);const o=vr(this.recordingProdStack),u=(0,mn.Z)(e)?e:e.DEF,i=new t({definition:[],idx:n});return r&&(i.separator=e.SEP),h(e,"MAX_LOOKAHEAD")&&(i.maxLookahead=e.MAX_LOOKAHEAD),this.recordingProdStack.push(i),u.call(this),o.definition.push(i),this.recordingProdStack.pop(),gu}function bu(t,e){xu(e);const n=vr(this.recordingProdStack),o=!1===(0,ht.Z)(t),u=!1===o?t:t.DEF,i=new _e({definition:[],idx:e,ignoreAmbiguities:o&&!0===t.IGNORE_AMBIGUITIES});h(t,"MAX_LOOKAHEAD")&&(i.maxLookahead=t.MAX_LOOKAHEAD);const s=Me(u,(t=>(0,mn.Z)(t.GATE)));return i.hasPredicates=s,n.definition.push(i),(0,r.Z)(u,(t=>{const e=new ye({definition:[]});i.definition.push(e),h(t,"IGNORE_AMBIGUITIES")?e.ignoreAmbiguities=t.IGNORE_AMBIGUITIES:h(t,"GATE")&&(e.ignoreAmbiguities=!0),this.recordingProdStack.push(e),t.ALT.call(this),this.recordingProdStack.pop()})),gu}function Tu(t){return 0===t?"":`${t}`}function xu(t){if(t<0||t>mu){const e=new Error(`Invalid DSL Method idx value: <${t}>\n\tIdx value must be a none negative value smaller than ${mu+1}`);throw e.KNOWN_RECORDER_ERROR=!0,e}}const Ou=Hr(Vr,"",NaN,NaN,NaN,NaN,NaN,NaN);Object.freeze(Ou);const _u=Object.freeze({recoveryEnabled:!1,maxLookahead:3,dynamicTokensEnabled:!1,outputCst:!0,errorMessageProvider:qr,nodeLocationTracking:"none",traceInitPerf:!1,skipValidations:!1}),ku=Object.freeze({recoveryValueFunc:()=>{},resyncEnabled:!0});var Su,Iu;!function(t){t[t.INVALID_RULE_NAME=0]="INVALID_RULE_NAME",t[t.DUPLICATE_RULE_NAME=1]="DUPLICATE_RULE_NAME",t[t.INVALID_RULE_OVERRIDE=2]="INVALID_RULE_OVERRIDE",t[t.DUPLICATE_PRODUCTIONS=3]="DUPLICATE_PRODUCTIONS",t[t.UNRESOLVED_SUBRULE_REF=4]="UNRESOLVED_SUBRULE_REF",t[t.LEFT_RECURSION=5]="LEFT_RECURSION",t[t.NONE_LAST_EMPTY_ALT=6]="NONE_LAST_EMPTY_ALT",t[t.AMBIGUOUS_ALTS=7]="AMBIGUOUS_ALTS",t[t.CONFLICT_TOKENS_RULES_NAMESPACE=8]="CONFLICT_TOKENS_RULES_NAMESPACE",t[t.INVALID_TOKEN_NAME=9]="INVALID_TOKEN_NAME",t[t.NO_NON_EMPTY_LOOKAHEAD=10]="NO_NON_EMPTY_LOOKAHEAD",t[t.AMBIGUOUS_PREFIX_ALTS=11]="AMBIGUOUS_PREFIX_ALTS",t[t.TOO_MANY_ALTS=12]="TOO_MANY_ALTS",t[t.CUSTOM_LOOKAHEAD_VALIDATION=13]="CUSTOM_LOOKAHEAD_VALIDATION"}(Su||(Su={}));class Nu{static performSelfAnalysis(t){throw Error("The **static** `performSelfAnalysis` method has been deprecated.\t\nUse the **instance** method with the same name instead.")}performSelfAnalysis(){this.TRACE_INIT("performSelfAnalysis",(()=>{let t;this.selfAnalysisDone=!0;const e=this.className;this.TRACE_INIT("toFastProps",(()=>{St(this)})),this.TRACE_INIT("Grammar Recording",(()=>{try{this.enableRecording(),(0,r.Z)(this.definedRulesNames,(t=>{const e=this[t].originalGrammarAction;let n;this.TRACE_INIT(`${t} Rule`,(()=>{n=this.topLevelRuleRecord(t,e)})),this.gastProductionsCache[t]=n}))}finally{this.disableRecording()}}));let n=[];if(this.TRACE_INIT("Grammar Resolving",(()=>{n=Wo({rules:s(this.gastProductionsCache)}),this.definitionErrors=this.definitionErrors.concat(n)})),this.TRACE_INIT("Grammar Validations",(()=>{if((0,a.Z)(n)&&!1===this.skipValidations){const n=(t={rules:s(this.gastProductionsCache),tokenTypes:s(this.tokensMap),errMsgProvider:Jr,grammarName:e},wo((t=dn(t,{errMsgProvider:Jr})).rules,t.tokenTypes,t.errMsgProvider,t.grammarName)),r=function(t){const e=t.lookaheadStrategy.validate({rules:t.rules,tokenTypes:t.tokenTypes,grammarName:t.grammarName});return(0,c.Z)(e,(t=>Object.assign({type:Su.CUSTOM_LOOKAHEAD_VALIDATION},t)))}({lookaheadStrategy:this.lookaheadStrategy,rules:s(this.gastProductionsCache),tokenTypes:s(this.tokensMap),grammarName:e});this.definitionErrors=this.definitionErrors.concat(n,r)}var t})),(0,a.Z)(this.definitionErrors)&&(this.recoveryEnabled&&this.TRACE_INIT("computeAllProdsFollows",(()=>{const t=function(t){const e={};return(0,r.Z)(t,(t=>{const n=new qe(t).startWalking();se(e,n)})),e}(s(this.gastProductionsCache));this.resyncFollows=t})),this.TRACE_INIT("ComputeLookaheadFunctions",(()=>{var t,e;null===(e=(t=this.lookaheadStrategy).initialize)||void 0===e||e.call(t,{rules:s(this.gastProductionsCache)}),this.preComputeLookaheadFunctions(s(this.gastProductionsCache))}))),!Nu.DEFER_DEFINITION_ERRORS_HANDLING&&!(0,a.Z)(this.definitionErrors))throw t=(0,c.Z)(this.definitionErrors,(t=>t.message)),new Error(`Parser Definition Errors detected:\n ${t.join("\n-------------------------------\n")}`)}))}constructor(t,e){this.definitionErrors=[],this.selfAnalysisDone=!1;const n=this;if(n.initErrorHandler(e),n.initLexerAdapter(),n.initLooksAhead(e),n.initRecognizerEngine(t,e),n.initRecoverable(e),n.initTreeBuilder(e),n.initContentAssist(),n.initGastRecorder(e),n.initPerformanceTracer(e),h(e,"ignoredIssues"))throw new Error("The IParserConfig property has been deprecated.\n\tPlease use the flag on the relevant DSL method instead.\n\tSee: https://chevrotain.io/docs/guide/resolving_grammar_errors.html#IGNORING_AMBIGUITIES\n\tFor further details.");this.skipValidations=h(e,"skipValidations")?e.skipValidations:_u.skipValidations}}Nu.DEFER_DEFINITION_ERRORS_HANDLING=!1,Iu=Nu,[class{initRecoverable(t){this.firstAfterRepMap={},this.resyncFollows={},this.recoveryEnabled=h(t,"recoveryEnabled")?t.recoveryEnabled:_u.recoveryEnabled,this.recoveryEnabled&&(this.attemptInRepetitionRecovery=ou)}getTokenToInsert(t){const e=Hr(t,"",NaN,NaN,NaN,NaN,NaN,NaN);return e.isInsertedInRecovery=!0,e}canTokenTypeBeInsertedInRecovery(t){return!0}canTokenTypeBeDeletedInRecovery(t){return!0}tryInRepetitionRecovery(t,e,n,r){const o=this.findReSyncTokenType(),u=this.exportLexerState(),i=[];let s=!1;const a=this.LA(1);let c=this.LA(1);const l=()=>{const t=this.LA(0),e=this.errorMessageProvider.buildMismatchTokenMessage({expected:r,actual:a,previous:t,ruleName:this.getCurrRuleFullName()}),n=new Xo(e,a,this.LA(0));n.resyncedTokens=so(i),this.SAVE_ERROR(n)};for(;!s;){if(this.tokenMatcher(c,r))return void l();if(n.call(this))return l(),void t.apply(this,e);this.tokenMatcher(c,o)?s=!0:(c=this.SKIP_TOKEN(),this.addToResyncTokens(c,i))}this.importLexerState(u)}shouldInRepetitionRecoveryBeTried(t,e,n){return!1!==n&&!this.tokenMatcher(this.LA(1),t)&&!this.isBackTracking()&&!this.canPerformInRuleRecovery(t,this.getFollowsForInRuleRecovery(t,e))}getFollowsForInRuleRecovery(t,e){const n=this.getCurrentGrammarPath(t,e);return this.getNextPossibleTokenTypes(n)}tryInRuleRecovery(t,e){if(this.canRecoverWithSingleTokenInsertion(t,e))return this.getTokenToInsert(t);if(this.canRecoverWithSingleTokenDeletion(t)){const t=this.SKIP_TOKEN();return this.consumeToken(),t}throw new ru("sad sad panda")}canPerformInRuleRecovery(t,e){return this.canRecoverWithSingleTokenInsertion(t,e)||this.canRecoverWithSingleTokenDeletion(t)}canRecoverWithSingleTokenInsertion(t,e){if(!this.canTokenTypeBeInsertedInRecovery(t))return!1;if((0,a.Z)(e))return!1;const n=this.LA(1);return void 0!==Zn(e,(t=>this.tokenMatcher(n,t)))}canRecoverWithSingleTokenDeletion(t){return!!this.canTokenTypeBeDeletedInRecovery(t)&&this.tokenMatcher(this.LA(2),t)}isInCurrentRuleReSyncSet(t){const e=this.getCurrFollowKey(),n=this.getFollowSetFromFollowKey(e);return $e(n,t)}findReSyncTokenType(){const t=this.flattenFollowSet();let e=this.LA(1),n=2;for(;;){const r=Zn(t,(t=>Yr(e,t)));if(void 0!==r)return r;e=this.LA(n),n++}}getCurrFollowKey(){if(1===this.RULE_STACK.length)return eu;const t=this.getLastExplicitRuleShortName(),e=this.getLastExplicitRuleOccurrenceIndex(),n=this.getPreviousExplicitRuleShortName();return{ruleName:this.shortRuleNameToFullName(t),idxInCallingRule:e,inRule:this.shortRuleNameToFullName(n)}}buildFullFollowKeyStack(){const t=this.RULE_STACK,e=this.RULE_OCCURRENCE_STACK;return(0,c.Z)(t,((n,r)=>0===r?eu:{ruleName:this.shortRuleNameToFullName(n),idxInCallingRule:e[r],inRule:this.shortRuleNameToFullName(t[r-1])}))}flattenFollowSet(){const t=(0,c.Z)(this.buildFullFollowKeyStack(),(t=>this.getFollowSetFromFollowKey(t)));return(0,Be.Z)(t)}getFollowSetFromFollowKey(t){if(t===eu)return[Vr];const e=t.ruleName+t.idxInCallingRule+Ye+t.inRule;return this.resyncFollows[e]}addToResyncTokens(t,e){return this.tokenMatcher(t,Vr)||e.push(t),e}reSyncTo(t){const e=[];let n=this.LA(1);for(;!1===this.tokenMatcher(n,t);)n=this.SKIP_TOKEN(),this.addToResyncTokens(n,e);return so(e)}attemptInRepetitionRecovery(t,e,n,r,o,u,i){}getCurrentGrammarPath(t,e){return{ruleStack:this.getHumanReadableRuleStack(),occurrenceStack:kt(this.RULE_OCCURRENCE_STACK),lastTok:t,lastTokOccurrence:e}}getHumanReadableRuleStack(){return(0,c.Z)(this.RULE_STACK,(t=>this.shortRuleNameToFullName(t)))}},class{initLooksAhead(t){this.dynamicTokensEnabled=h(t,"dynamicTokensEnabled")?t.dynamicTokensEnabled:_u.dynamicTokensEnabled,this.maxLookahead=h(t,"maxLookahead")?t.maxLookahead:_u.maxLookahead,this.lookaheadStrategy=h(t,"lookaheadStrategy")?t.lookaheadStrategy:new cu({maxLookahead:this.maxLookahead}),this.lookAheadFuncsCache=new Map}preComputeLookaheadFunctions(t){(0,r.Z)(t,(t=>{this.TRACE_INIT(`${t.name} Rule Lookahead`,(()=>{const{alternation:e,repetition:n,option:o,repetitionMandatory:u,repetitionMandatoryWithSeparator:i,repetitionWithSeparator:s}=function(t){lu.reset(),t.accept(lu);const e=lu.dslMethods;return lu.reset(),e}(t);(0,r.Z)(e,(e=>{const n=0===e.idx?"":e.idx;this.TRACE_INIT(`${Ve(e)}${n}`,(()=>{const n=this.lookaheadStrategy.buildLookaheadForAlternation({prodOccurrence:e.idx,rule:t,maxLookahead:e.maxLookahead||this.maxLookahead,hasPredicates:e.hasPredicates,dynamicTokensEnabled:this.dynamicTokensEnabled}),r=au(this.fullRuleNameToShort[t.name],256,e.idx);this.setLaFuncCache(r,n)}))})),(0,r.Z)(n,(e=>{this.computeLookaheadFunc(t,e.idx,768,"Repetition",e.maxLookahead,Ve(e))})),(0,r.Z)(o,(e=>{this.computeLookaheadFunc(t,e.idx,512,"Option",e.maxLookahead,Ve(e))})),(0,r.Z)(u,(e=>{this.computeLookaheadFunc(t,e.idx,uu,"RepetitionMandatory",e.maxLookahead,Ve(e))})),(0,r.Z)(i,(e=>{this.computeLookaheadFunc(t,e.idx,su,"RepetitionMandatoryWithSeparator",e.maxLookahead,Ve(e))})),(0,r.Z)(s,(e=>{this.computeLookaheadFunc(t,e.idx,iu,"RepetitionWithSeparator",e.maxLookahead,Ve(e))}))}))}))}computeLookaheadFunc(t,e,n,r,o,u){this.TRACE_INIT(`${u}${0===e?"":e}`,(()=>{const u=this.lookaheadStrategy.buildLookaheadForOptional({prodOccurrence:e,rule:t,maxLookahead:o||this.maxLookahead,dynamicTokensEnabled:this.dynamicTokensEnabled,prodType:r}),i=au(this.fullRuleNameToShort[t.name],n,e);this.setLaFuncCache(i,u)}))}getKeyForAutomaticLookahead(t,e){return au(this.getLastExplicitRuleShortName(),t,e)}getLaFuncFromCache(t){return this.lookAheadFuncsCache.get(t)}setLaFuncCache(t,e){this.lookAheadFuncsCache.set(t,e)}},class{initTreeBuilder(t){if(this.CST_STACK=[],this.outputCst=t.outputCst,this.nodeLocationTracking=h(t,"nodeLocationTracking")?t.nodeLocationTracking:_u.nodeLocationTracking,this.outputCst)if(/full/i.test(this.nodeLocationTracking))this.recoveryEnabled?(this.setNodeLocationFromToken=fu,this.setNodeLocationFromNode=fu,this.cstPostRule=mr.Z,this.setInitialNodeLocation=this.setInitialNodeLocationFullRecovery):(this.setNodeLocationFromToken=mr.Z,this.setNodeLocationFromNode=mr.Z,this.cstPostRule=this.cstPostRuleFull,this.setInitialNodeLocation=this.setInitialNodeLocationFullRegular);else if(/onlyOffset/i.test(this.nodeLocationTracking))this.recoveryEnabled?(this.setNodeLocationFromToken=Du,this.setNodeLocationFromNode=Du,this.cstPostRule=mr.Z,this.setInitialNodeLocation=this.setInitialNodeLocationOnlyOffsetRecovery):(this.setNodeLocationFromToken=mr.Z,this.setNodeLocationFromNode=mr.Z,this.cstPostRule=this.cstPostRuleOnlyOffset,this.setInitialNodeLocation=this.setInitialNodeLocationOnlyOffsetRegular);else{if(!/none/i.test(this.nodeLocationTracking))throw Error(`Invalid config option: "${t.nodeLocationTracking}"`);this.setNodeLocationFromToken=mr.Z,this.setNodeLocationFromNode=mr.Z,this.cstPostRule=mr.Z,this.setInitialNodeLocation=mr.Z}else this.cstInvocationStateUpdate=mr.Z,this.cstFinallyStateUpdate=mr.Z,this.cstPostTerminal=mr.Z,this.cstPostNonTerminal=mr.Z,this.cstPostRule=mr.Z}setInitialNodeLocationOnlyOffsetRecovery(t){t.location={startOffset:NaN,endOffset:NaN}}setInitialNodeLocationOnlyOffsetRegular(t){t.location={startOffset:this.LA(1).startOffset,endOffset:NaN}}setInitialNodeLocationFullRecovery(t){t.location={startOffset:NaN,startLine:NaN,startColumn:NaN,endOffset:NaN,endLine:NaN,endColumn:NaN}}setInitialNodeLocationFullRegular(t){const e=this.LA(1);t.location={startOffset:e.startOffset,startLine:e.startLine,startColumn:e.startColumn,endOffset:NaN,endLine:NaN,endColumn:NaN}}cstInvocationStateUpdate(t){const e={name:t,children:Object.create(null)};this.setInitialNodeLocation(e),this.CST_STACK.push(e)}cstFinallyStateUpdate(){this.CST_STACK.pop()}cstPostRuleFull(t){const e=this.LA(0),n=t.location;n.startOffset<=e.startOffset==1?(n.endOffset=e.endOffset,n.endLine=e.endLine,n.endColumn=e.endColumn):(n.startOffset=NaN,n.startLine=NaN,n.startColumn=NaN)}cstPostRuleOnlyOffset(t){const e=this.LA(0),n=t.location;n.startOffset<=e.startOffset==1?n.endOffset=e.endOffset:n.startOffset=NaN}cstPostTerminal(t,e){const n=this.CST_STACK[this.CST_STACK.length-1];var r,o,u;o=e,u=t,void 0===(r=n).children[u]?r.children[u]=[o]:r.children[u].push(o),this.setNodeLocationFromToken(n.location,e)}cstPostNonTerminal(t,e){const n=this.CST_STACK[this.CST_STACK.length-1];!function(t,e,n){void 0===t.children[e]?t.children[e]=[n]:t.children[e].push(n)}(n,e,t),this.setNodeLocationFromNode(n.location,t.location)}getBaseCstVisitorConstructor(){if(Xe(this.baseCstVisitorConstructor)){const t=Fu(this.className,(0,i.Z)(this.gastProductionsCache));return this.baseCstVisitorConstructor=t,t}return this.baseCstVisitorConstructor}getBaseCstVisitorConstructorWithDefaults(){if(Xe(this.baseCstVisitorWithDefaultsConstructor)){const t=function(t,e,n){const o=function(){};du(o,t+"BaseSemanticsWithDefaults");const u=Object.create(n.prototype);return(0,r.Z)(e,(t=>{u[t]=pu})),(o.prototype=u).constructor=o,o}(this.className,(0,i.Z)(this.gastProductionsCache),this.getBaseCstVisitorConstructor());return this.baseCstVisitorWithDefaultsConstructor=t,t}return this.baseCstVisitorWithDefaultsConstructor}getLastExplicitRuleShortName(){const t=this.RULE_STACK;return t[t.length-1]}getPreviousExplicitRuleShortName(){const t=this.RULE_STACK;return t[t.length-2]}getLastExplicitRuleOccurrenceIndex(){const t=this.RULE_OCCURRENCE_STACK;return t[t.length-1]}},class{initLexerAdapter(){this.tokVector=[],this.tokVectorLength=0,this.currIdx=-1}set input(t){if(!0!==this.selfAnalysisDone)throw Error("Missing invocation at the end of the Parser's constructor.");this.reset(),this.tokVector=t,this.tokVectorLength=t.length}get input(){return this.tokVector}SKIP_TOKEN(){return this.currIdx<=this.tokVector.length-2?(this.consumeToken(),this.LA(1)):Ou}LA(t){const e=this.currIdx+t;return e<0||this.tokVectorLength<=e?Ou:this.tokVector[e]}consumeToken(){this.currIdx++}exportLexerState(){return this.currIdx}importLexerState(t){this.currIdx=t}resetLexerState(){this.currIdx=-1}moveToTerminatedState(){this.currIdx=this.tokVector.length-1}getLexerPosition(){return this.exportLexerState()}},class{initRecognizerEngine(t,e){if(this.className=this.constructor.name,this.shortRuleNameToFull={},this.fullRuleNameToShort={},this.ruleShortNameIdx=256,this.tokenMatcher=Ar,this.subruleIdx=0,this.definedRulesNames=[],this.tokensMap={},this.isBackTrackingStack=[],this.RULE_STACK=[],this.RULE_OCCURRENCE_STACK=[],this.gastProductionsCache={},h(e,"serializedGrammar"))throw Error("The Parser's configuration can no longer contain a property.\n\tSee: https://chevrotain.io/docs/changes/BREAKING_CHANGES.html#_6-0-0\n\tFor Further details.");if((0,ht.Z)(t)){if((0,a.Z)(t))throw Error("A Token Vocabulary cannot be empty.\n\tNote that the first argument for the parser constructor\n\tis no longer a Token vector (since v4.0).");if("number"==typeof t[0].startOffset)throw Error("The Parser constructor no longer accepts a token vector as the first argument.\n\tSee: https://chevrotain.io/docs/changes/BREAKING_CHANGES.html#_4-0-0\n\tFor Further details.")}if((0,ht.Z)(t))this.tokensMap=(0,yn.Z)(t,((t,e)=>(t[e.name]=e,t)),{});else if(h(t,"modes")&&Ge((0,Be.Z)(s(t.modes)),Sr)){const e=(0,Be.Z)(s(t.modes)),n=we(e);this.tokensMap=(0,yn.Z)(n,((t,e)=>(t[e.name]=e,t)),{})}else{if(!(0,T.Z)(t))throw new Error(" argument must be An Array of Token constructors, A dictionary of Token constructors or an IMultiModeLexerDefinition");this.tokensMap=kt(t)}this.tokensMap.EOF=Vr;const n=h(t,"modes")?(0,Be.Z)(s(t.modes)):s(t),r=Ge(n,(t=>(0,a.Z)(t.categoryMatches)));this.tokenMatcher=r?Ar:yr,xr(s(this.tokensMap))}defineRule(t,e,n){if(this.selfAnalysisDone)throw Error(`Grammar rule <${t}> may not be defined after the 'performSelfAnalysis' method has been called'\nMake sure that all grammar rule definitions are done before 'performSelfAnalysis' is called.`);const r=h(n,"resyncEnabled")?n.resyncEnabled:ku.resyncEnabled,o=h(n,"recoveryValueFunc")?n.recoveryValueFunc:ku.recoveryValueFunc,u=this.ruleShortNameIdx<<12;let i;return this.ruleShortNameIdx++,this.shortRuleNameToFull[u]=t,this.fullRuleNameToShort[t]=u,i=!0===this.outputCst?function(...n){try{this.ruleInvocationStateUpdate(u,t,this.subruleIdx),e.apply(this,n);const r=this.CST_STACK[this.CST_STACK.length-1];return this.cstPostRule(r),r}catch(i){return this.invokeRuleCatch(i,r,o)}finally{this.ruleFinallyStateUpdate()}}:function(...n){try{return this.ruleInvocationStateUpdate(u,t,this.subruleIdx),e.apply(this,n)}catch(i){return this.invokeRuleCatch(i,r,o)}finally{this.ruleFinallyStateUpdate()}},Object.assign(i,{ruleName:t,originalGrammarAction:e})}invokeRuleCatch(t,e,n){const r=1===this.RULE_STACK.length,o=e&&!this.isBackTracking()&&this.recoveryEnabled;if(Yo(t)){const e=t;if(o){const r=this.findReSyncTokenType();if(this.isInCurrentRuleReSyncSet(r)){if(e.resyncedTokens=this.reSyncTo(r),this.outputCst){const t=this.CST_STACK[this.CST_STACK.length-1];return t.recoveredNode=!0,t}return n(t)}if(this.outputCst){const t=this.CST_STACK[this.CST_STACK.length-1];t.recoveredNode=!0,e.partialCstResult=t}throw e}if(r)return this.moveToTerminatedState(),n(t);throw e}throw t}optionInternal(t,e){const n=this.getKeyForAutomaticLookahead(512,e);return this.optionInternalLogic(t,e,n)}optionInternalLogic(t,e,n){let r,o=this.getLaFuncFromCache(n);if("function"!=typeof t){r=t.DEF;const e=t.GATE;if(void 0!==e){const t=o;o=()=>e.call(this)&&t.call(this)}}else r=t;if(!0===o.call(this))return r.call(this)}atLeastOneInternal(t,e){const n=this.getKeyForAutomaticLookahead(uu,t);return this.atLeastOneInternalLogic(t,e,n)}atLeastOneInternalLogic(t,e,n){let r,o=this.getLaFuncFromCache(n);if("function"!=typeof e){r=e.DEF;const t=e.GATE;if(void 0!==t){const e=o;o=()=>t.call(this)&&e.call(this)}}else r=e;if(!0!==o.call(this))throw this.raiseEarlyExitException(t,mo.REPETITION_MANDATORY,e.ERR_MSG);{let t=this.doSingleRepetition(r);for(;!0===o.call(this)&&!0===t;)t=this.doSingleRepetition(r)}this.attemptInRepetitionRecovery(this.atLeastOneInternal,[t,e],o,uu,t,ho)}atLeastOneSepFirstInternal(t,e){const n=this.getKeyForAutomaticLookahead(su,t);this.atLeastOneSepFirstInternalLogic(t,e,n)}atLeastOneSepFirstInternalLogic(t,e,n){const r=e.DEF,o=e.SEP;if(!0!==this.getLaFuncFromCache(n).call(this))throw this.raiseEarlyExitException(t,mo.REPETITION_MANDATORY_WITH_SEPARATOR,e.ERR_MSG);{r.call(this);const e=()=>this.tokenMatcher(this.LA(1),o);for(;!0===this.tokenMatcher(this.LA(1),o);)this.CONSUME(o),r.call(this);this.attemptInRepetitionRecovery(this.repetitionSepSecondInternal,[t,o,e,r,po],e,su,t,po)}}manyInternal(t,e){const n=this.getKeyForAutomaticLookahead(768,t);return this.manyInternalLogic(t,e,n)}manyInternalLogic(t,e,n){let r,o=this.getLaFuncFromCache(n);if("function"!=typeof e){r=e.DEF;const t=e.GATE;if(void 0!==t){const e=o;o=()=>t.call(this)&&e.call(this)}}else r=e;let u=!0;for(;!0===o.call(this)&&!0===u;)u=this.doSingleRepetition(r);this.attemptInRepetitionRecovery(this.manyInternal,[t,e],o,768,t,Do,u)}manySepFirstInternal(t,e){const n=this.getKeyForAutomaticLookahead(iu,t);this.manySepFirstInternalLogic(t,e,n)}manySepFirstInternalLogic(t,e,n){const r=e.DEF,o=e.SEP;if(!0===this.getLaFuncFromCache(n).call(this)){r.call(this);const e=()=>this.tokenMatcher(this.LA(1),o);for(;!0===this.tokenMatcher(this.LA(1),o);)this.CONSUME(o),r.call(this);this.attemptInRepetitionRecovery(this.repetitionSepSecondInternal,[t,o,e,r,fo],e,iu,t,fo)}}repetitionSepSecondInternal(t,e,n,r,o){for(;n();)this.CONSUME(e),r.call(this);this.attemptInRepetitionRecovery(this.repetitionSepSecondInternal,[t,e,n,r,o],n,su,t,o)}doSingleRepetition(t){const e=this.getLexerPosition();return t.call(this),this.getLexerPosition()>e}orInternal(t,e){const n=this.getKeyForAutomaticLookahead(256,e),r=(0,ht.Z)(t)?t:t.DEF,o=this.getLaFuncFromCache(n).call(this,r);if(void 0!==o)return r[o].ALT.call(this);this.raiseNoAltException(e,t.ERR_MSG)}ruleFinallyStateUpdate(){if(this.RULE_STACK.pop(),this.RULE_OCCURRENCE_STACK.pop(),this.cstFinallyStateUpdate(),0===this.RULE_STACK.length&&!1===this.isAtEndOfInput()){const t=this.LA(1),e=this.errorMessageProvider.buildNotAllInputParsedMessage({firstRedundant:t,ruleName:this.getCurrRuleFullName()});this.SAVE_ERROR(new Qo(e,t))}}subruleInternal(t,e,n){let r;try{const o=void 0!==n?n.ARGS:void 0;return this.subruleIdx=e,r=t.apply(this,o),this.cstPostNonTerminal(r,void 0!==n&&void 0!==n.LABEL?n.LABEL:t.ruleName),r}catch(o){throw this.subruleInternalError(o,n,t.ruleName)}}subruleInternalError(t,e,n){throw Yo(t)&&void 0!==t.partialCstResult&&(this.cstPostNonTerminal(t.partialCstResult,void 0!==e&&void 0!==e.LABEL?e.LABEL:n),delete t.partialCstResult),t}consumeInternal(t,e,n){let r;try{const e=this.LA(1);!0===this.tokenMatcher(e,t)?(this.consumeToken(),r=e):this.consumeInternalError(t,e,n)}catch(o){r=this.consumeInternalRecovery(t,e,o)}return this.cstPostTerminal(void 0!==n&&void 0!==n.LABEL?n.LABEL:t.name,r),r}consumeInternalError(t,e,n){let r;const o=this.LA(0);throw r=void 0!==n&&n.ERR_MSG?n.ERR_MSG:this.errorMessageProvider.buildMismatchTokenMessage({expected:t,actual:e,previous:o,ruleName:this.getCurrRuleFullName()}),this.SAVE_ERROR(new Xo(r,e,o))}consumeInternalRecovery(t,e,n){if(!this.recoveryEnabled||"MismatchedTokenException"!==n.name||this.isBackTracking())throw n;{const o=this.getFollowsForInRuleRecovery(t,e);try{return this.tryInRuleRecovery(t,o)}catch(r){throw r.name===nu?n:r}}}saveRecogState(){const t=this.errors,e=kt(this.RULE_STACK);return{errors:t,lexerState:this.exportLexerState(),RULE_STACK:e,CST_STACK:this.CST_STACK}}reloadRecogState(t){this.errors=t.errors,this.importLexerState(t.lexerState),this.RULE_STACK=t.RULE_STACK}ruleInvocationStateUpdate(t,e,n){this.RULE_OCCURRENCE_STACK.push(n),this.RULE_STACK.push(t),this.cstInvocationStateUpdate(e)}isBackTracking(){return 0!==this.isBackTrackingStack.length}getCurrRuleFullName(){const t=this.getLastExplicitRuleShortName();return this.shortRuleNameToFull[t]}shortRuleNameToFullName(t){return this.shortRuleNameToFull[t]}isAtEndOfInput(){return this.tokenMatcher(this.LA(1),Vr)}reset(){this.resetLexerState(),this.subruleIdx=0,this.isBackTrackingStack=[],this.errors=[],this.RULE_STACK=[],this.CST_STACK=[],this.RULE_OCCURRENCE_STACK=[]}},class{ACTION(t){return t.call(this)}consume(t,e,n){return this.consumeInternal(e,t,n)}subrule(t,e,n){return this.subruleInternal(e,t,n)}option(t,e){return this.optionInternal(e,t)}or(t,e){return this.orInternal(e,t)}many(t,e){return this.manyInternal(t,e)}atLeastOne(t,e){return this.atLeastOneInternal(t,e)}CONSUME(t,e){return this.consumeInternal(t,0,e)}CONSUME1(t,e){return this.consumeInternal(t,1,e)}CONSUME2(t,e){return this.consumeInternal(t,2,e)}CONSUME3(t,e){return this.consumeInternal(t,3,e)}CONSUME4(t,e){return this.consumeInternal(t,4,e)}CONSUME5(t,e){return this.consumeInternal(t,5,e)}CONSUME6(t,e){return this.consumeInternal(t,6,e)}CONSUME7(t,e){return this.consumeInternal(t,7,e)}CONSUME8(t,e){return this.consumeInternal(t,8,e)}CONSUME9(t,e){return this.consumeInternal(t,9,e)}SUBRULE(t,e){return this.subruleInternal(t,0,e)}SUBRULE1(t,e){return this.subruleInternal(t,1,e)}SUBRULE2(t,e){return this.subruleInternal(t,2,e)}SUBRULE3(t,e){return this.subruleInternal(t,3,e)}SUBRULE4(t,e){return this.subruleInternal(t,4,e)}SUBRULE5(t,e){return this.subruleInternal(t,5,e)}SUBRULE6(t,e){return this.subruleInternal(t,6,e)}SUBRULE7(t,e){return this.subruleInternal(t,7,e)}SUBRULE8(t,e){return this.subruleInternal(t,8,e)}SUBRULE9(t,e){return this.subruleInternal(t,9,e)}OPTION(t){return this.optionInternal(t,0)}OPTION1(t){return this.optionInternal(t,1)}OPTION2(t){return this.optionInternal(t,2)}OPTION3(t){return this.optionInternal(t,3)}OPTION4(t){return this.optionInternal(t,4)}OPTION5(t){return this.optionInternal(t,5)}OPTION6(t){return this.optionInternal(t,6)}OPTION7(t){return this.optionInternal(t,7)}OPTION8(t){return this.optionInternal(t,8)}OPTION9(t){return this.optionInternal(t,9)}OR(t){return this.orInternal(t,0)}OR1(t){return this.orInternal(t,1)}OR2(t){return this.orInternal(t,2)}OR3(t){return this.orInternal(t,3)}OR4(t){return this.orInternal(t,4)}OR5(t){return this.orInternal(t,5)}OR6(t){return this.orInternal(t,6)}OR7(t){return this.orInternal(t,7)}OR8(t){return this.orInternal(t,8)}OR9(t){return this.orInternal(t,9)}MANY(t){this.manyInternal(0,t)}MANY1(t){this.manyInternal(1,t)}MANY2(t){this.manyInternal(2,t)}MANY3(t){this.manyInternal(3,t)}MANY4(t){this.manyInternal(4,t)}MANY5(t){this.manyInternal(5,t)}MANY6(t){this.manyInternal(6,t)}MANY7(t){this.manyInternal(7,t)}MANY8(t){this.manyInternal(8,t)}MANY9(t){this.manyInternal(9,t)}MANY_SEP(t){this.manySepFirstInternal(0,t)}MANY_SEP1(t){this.manySepFirstInternal(1,t)}MANY_SEP2(t){this.manySepFirstInternal(2,t)}MANY_SEP3(t){this.manySepFirstInternal(3,t)}MANY_SEP4(t){this.manySepFirstInternal(4,t)}MANY_SEP5(t){this.manySepFirstInternal(5,t)}MANY_SEP6(t){this.manySepFirstInternal(6,t)}MANY_SEP7(t){this.manySepFirstInternal(7,t)}MANY_SEP8(t){this.manySepFirstInternal(8,t)}MANY_SEP9(t){this.manySepFirstInternal(9,t)}AT_LEAST_ONE(t){this.atLeastOneInternal(0,t)}AT_LEAST_ONE1(t){return this.atLeastOneInternal(1,t)}AT_LEAST_ONE2(t){this.atLeastOneInternal(2,t)}AT_LEAST_ONE3(t){this.atLeastOneInternal(3,t)}AT_LEAST_ONE4(t){this.atLeastOneInternal(4,t)}AT_LEAST_ONE5(t){this.atLeastOneInternal(5,t)}AT_LEAST_ONE6(t){this.atLeastOneInternal(6,t)}AT_LEAST_ONE7(t){this.atLeastOneInternal(7,t)}AT_LEAST_ONE8(t){this.atLeastOneInternal(8,t)}AT_LEAST_ONE9(t){this.atLeastOneInternal(9,t)}AT_LEAST_ONE_SEP(t){this.atLeastOneSepFirstInternal(0,t)}AT_LEAST_ONE_SEP1(t){this.atLeastOneSepFirstInternal(1,t)}AT_LEAST_ONE_SEP2(t){this.atLeastOneSepFirstInternal(2,t)}AT_LEAST_ONE_SEP3(t){this.atLeastOneSepFirstInternal(3,t)}AT_LEAST_ONE_SEP4(t){this.atLeastOneSepFirstInternal(4,t)}AT_LEAST_ONE_SEP5(t){this.atLeastOneSepFirstInternal(5,t)}AT_LEAST_ONE_SEP6(t){this.atLeastOneSepFirstInternal(6,t)}AT_LEAST_ONE_SEP7(t){this.atLeastOneSepFirstInternal(7,t)}AT_LEAST_ONE_SEP8(t){this.atLeastOneSepFirstInternal(8,t)}AT_LEAST_ONE_SEP9(t){this.atLeastOneSepFirstInternal(9,t)}RULE(t,e,n=ku){if($e(this.definedRulesNames,t)){const e={message:Jr.buildDuplicateRuleNameError({topLevelRule:t,grammarName:this.className}),type:Su.DUPLICATE_RULE_NAME,ruleName:t};this.definitionErrors.push(e)}this.definedRulesNames.push(t);const r=this.defineRule(t,e,n);return this[t]=r,r}OVERRIDE_RULE(t,e,n=ku){const r=function(t,e,n){const r=[];let o;return $e(e,t)||(o=`Invalid rule override, rule: ->${t}<- cannot be overridden in the grammar: ->${n}<-as it is not defined in any of the super grammars `,r.push({message:o,type:Su.INVALID_RULE_OVERRIDE,ruleName:t})),r}(t,this.definedRulesNames,this.className);this.definitionErrors=this.definitionErrors.concat(r);const o=this.defineRule(t,e,n);return this[t]=o,o}BACKTRACK(t,e){return function(){this.isBackTrackingStack.push(1);const n=this.saveRecogState();try{return t.apply(this,e),!0}catch(r){if(Yo(r))return!1;throw r}finally{this.reloadRecogState(n),this.isBackTrackingStack.pop()}}}getGAstProductions(){return this.gastProductionsCache}getSerializedGastProductions(){return t=s(this.gastProductionsCache),(0,c.Z)(t,Se);var t}},class{initErrorHandler(t){this._errors=[],this.errorMessageProvider=h(t,"errorMessageProvider")?t.errorMessageProvider:_u.errorMessageProvider}SAVE_ERROR(t){if(Yo(t))return t.context={ruleStack:this.getHumanReadableRuleStack(),ruleOccurrenceStack:kt(this.RULE_OCCURRENCE_STACK)},this._errors.push(t),t;throw Error("Trying to save an Error which is not a RecognitionException")}get errors(){return kt(this._errors)}set errors(t){this._errors=t}raiseEarlyExitException(t,e,n){const r=this.getCurrRuleFullName(),o=Io(t,this.getGAstProductions()[r],e,this.maxLookahead)[0],u=[];for(let s=1;s<=this.maxLookahead;s++)u.push(this.LA(s));const i=this.errorMessageProvider.buildEarlyExitMessage({expectedIterationPaths:o,actual:u,previous:this.LA(0),customUserDescription:n,ruleName:r});throw this.SAVE_ERROR(new tu(i,this.LA(1),this.LA(0)))}raiseNoAltException(t,e){const n=this.getCurrRuleFullName(),r=So(t,this.getGAstProductions()[n],this.maxLookahead),o=[];for(let s=1;s<=this.maxLookahead;s++)o.push(this.LA(s));const u=this.LA(0),i=this.errorMessageProvider.buildNoViableAltMessage({expectedPathsPerAlt:r,actual:o,previous:u,customUserDescription:e,ruleName:this.getCurrRuleFullName()});throw this.SAVE_ERROR(new Jo(i,this.LA(1),u))}},class{initContentAssist(){}computeContentAssist(t,e){const n=this.gastProductionsCache[t];if(Xe(n))throw Error(`Rule ->${t}<- does not exist in this grammar.`);return Eo([n],e,this.tokenMatcher,this.maxLookahead)}getNextPossibleTokenTypes(t){const e=wn(t.ruleStack),n=this.getGAstProductions()[e];return new co(n,t).startWalking()}},class{initGastRecorder(t){this.recordingProdStack=[],this.RECORDING_PHASE=!1}enableRecording(){this.RECORDING_PHASE=!0,this.TRACE_INIT("Enable Recording",(()=>{for(let t=0;t<10;t++){const e=t>0?t:"";this[`CONSUME${e}`]=function(e,n){return this.consumeInternalRecord(e,t,n)},this[`SUBRULE${e}`]=function(e,n){return this.subruleInternalRecord(e,t,n)},this[`OPTION${e}`]=function(e){return this.optionInternalRecord(e,t)},this[`OR${e}`]=function(e){return this.orInternalRecord(e,t)},this[`MANY${e}`]=function(e){this.manyInternalRecord(t,e)},this[`MANY_SEP${e}`]=function(e){this.manySepFirstInternalRecord(t,e)},this[`AT_LEAST_ONE${e}`]=function(e){this.atLeastOneInternalRecord(t,e)},this[`AT_LEAST_ONE_SEP${e}`]=function(e){this.atLeastOneSepFirstInternalRecord(t,e)}}this.consume=function(t,e,n){return this.consumeInternalRecord(e,t,n)},this.subrule=function(t,e,n){return this.subruleInternalRecord(e,t,n)},this.option=function(t,e){return this.optionInternalRecord(e,t)},this.or=function(t,e){return this.orInternalRecord(e,t)},this.many=function(t,e){this.manyInternalRecord(t,e)},this.atLeastOne=function(t,e){this.atLeastOneInternalRecord(t,e)},this.ACTION=this.ACTION_RECORD,this.BACKTRACK=this.BACKTRACK_RECORD,this.LA=this.LA_RECORD}))}disableRecording(){this.RECORDING_PHASE=!1,this.TRACE_INIT("Deleting Recording methods",(()=>{const t=this;for(let e=0;e<10;e++){const n=e>0?e:"";delete t[`CONSUME${n}`],delete t[`SUBRULE${n}`],delete t[`OPTION${n}`],delete t[`OR${n}`],delete t[`MANY${n}`],delete t[`MANY_SEP${n}`],delete t[`AT_LEAST_ONE${n}`],delete t[`AT_LEAST_ONE_SEP${n}`]}delete t.consume,delete t.subrule,delete t.option,delete t.or,delete t.many,delete t.atLeastOne,delete t.ACTION,delete t.BACKTRACK,delete t.LA}))}ACTION_RECORD(t){}BACKTRACK_RECORD(t,e){return()=>!0}LA_RECORD(t){return Ou}topLevelRuleRecord(t,e){try{const n=new Ce({definition:[],name:t});return n.name=t,this.recordingProdStack.push(n),e.call(this),this.recordingProdStack.pop(),n}catch(n){if(!0!==n.KNOWN_RECORDER_ERROR)try{n.message=n.message+'\n\t This error was thrown during the "grammar recording phase" For more info see:\n\thttps://chevrotain.io/docs/guide/internals.html#grammar-recording'}catch(r){throw n}throw n}}optionInternalRecord(t,e){return Au.call(this,Ae,t,e)}atLeastOneInternalRecord(t,e){Au.call(this,be,e,t)}atLeastOneSepFirstInternalRecord(t,e){Au.call(this,Te,e,t,!0)}manyInternalRecord(t,e){Au.call(this,xe,e,t)}manySepFirstInternalRecord(t,e){Au.call(this,Oe,e,t,!0)}orInternalRecord(t,e){return bu.call(this,t,e)}subruleInternalRecord(t,e,n){if(xu(e),!t||!1===h(t,"ruleName")){const n=new Error(` argument is invalid expecting a Parser method reference but got: <${JSON.stringify(t)}>\n inside top level rule: <${this.recordingProdStack[0].name}>`);throw n.KNOWN_RECORDER_ERROR=!0,n}const r=vr(this.recordingProdStack),o=t.ruleName,u=new ve({idx:e,nonTerminalName:o,label:null==n?void 0:n.LABEL,referencedRule:void 0});return r.definition.push(u),this.outputCst?yu:gu}consumeInternalRecord(t,e,n){if(xu(e),!_r(t)){const n=new Error(` argument is invalid expecting a TokenType reference but got: <${JSON.stringify(t)}>\n inside top level rule: <${this.recordingProdStack[0].name}>`);throw n.KNOWN_RECORDER_ERROR=!0,n}const r=vr(this.recordingProdStack),o=new ke({idx:e,terminalType:t,label:null==n?void 0:n.LABEL});return r.definition.push(o),Cu}},class{initPerformanceTracer(t){if(h(t,"traceInitPerf")){const e=t.traceInitPerf,n="number"==typeof e;this.traceInitMaxIdent=n?e:1/0,this.traceInitPerf=n?e>0:e}else this.traceInitMaxIdent=0,this.traceInitPerf=_u.traceInitPerf;this.traceInitIndent=-1}TRACE_INIT(t,e){if(!0===this.traceInitPerf){this.traceInitIndent++;const n=new Array(this.traceInitIndent+1).join("\t");this.traceInitIndent`);const{time:r,value:o}=Cr(e),u=r>10?console.warn:console.log;return this.traceInitIndent time: ${r}ms`),this.traceInitIndent--,o}return e()}}].forEach((t=>{const e=t.prototype;Object.getOwnPropertyNames(e).forEach((n=>{if("constructor"===n)return;const r=Object.getOwnPropertyDescriptor(e,n);r&&(r.get||r.set)?Object.defineProperty(Iu.prototype,n,r):Iu.prototype[n]=t.prototype[n]}))}));class Ru extends Nu{constructor(t,e=_u){const n=kt(e);n.outputCst=!0,super(t,n)}}},9115:(t,e,n)=>{"use strict";n.d(e,{Z:()=>f});const r=function(){this.__data__=[],this.size=0};var o=n(8916);const u=function(t,e){for(var n=t.length;n--;)if((0,o.Z)(t[n][0],e))return n;return-1};var i=Array.prototype.splice;const s=function(t){var e=this.__data__,n=u(e,t);return!(n<0)&&(n==e.length-1?e.pop():i.call(e,n,1),--this.size,!0)};const a=function(t){var e=this.__data__,n=u(e,t);return n<0?void 0:e[n][1]};const c=function(t){return u(this.__data__,t)>-1};const l=function(t,e){var n=this.__data__,r=u(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this};function D(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e{"use strict";n.d(e,{Z:()=>u});var r=n(5565),o=n(7659);const u=(0,r.Z)(o.Z,"Map")},1056:(t,e,n)=>{"use strict";n.d(e,{Z:()=>A});const r=(0,n(5565).Z)(Object,"create");const o=function(){this.__data__=r?r(null):{},this.size=0};const u=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e};var i=Object.prototype.hasOwnProperty;const s=function(t){var e=this.__data__;if(r){var n=e[t];return"__lodash_hash_undefined__"===n?void 0:n}return i.call(e,t)?e[t]:void 0};var a=Object.prototype.hasOwnProperty;const c=function(t){var e=this.__data__;return r?void 0!==e[t]:a.call(e,t)};const l=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=r&&void 0===e?"__lodash_hash_undefined__":e,this};function D(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e{"use strict";n.d(e,{Z:()=>u});var r=n(5565),o=n(7659);const u=(0,r.Z)(o.Z,"Set")},8017:(t,e,n)=>{"use strict";n.d(e,{Z:()=>s});var r=n(1056);const o=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this};const u=function(t){return this.__data__.has(t)};function i(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new r.Z;++e{"use strict";n.d(e,{Z:()=>f});var r=n(9115);const o=function(){this.__data__=new r.Z,this.size=0};const u=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n};const i=function(t){return this.__data__.get(t)};const s=function(t){return this.__data__.has(t)};var a=n(6462),c=n(1056);const l=function(t,e){var n=this.__data__;if(n instanceof r.Z){var o=n.__data__;if(!a.Z||o.length<199)return o.push([t,e]),this.size=++n.size,this;n=this.__data__=new c.Z(o)}return n.set(t,e),this.size=n.size,this};function D(t){var e=this.__data__=new r.Z(t);this.size=e.size}D.prototype.clear=o,D.prototype.delete=u,D.prototype.get=i,D.prototype.has=s,D.prototype.set=l;const f=D},9e3:(t,e,n)=>{"use strict";n.d(e,{Z:()=>r});const r=n(7659).Z.Symbol},6421:(t,e,n)=>{"use strict";n.d(e,{Z:()=>r});const r=n(7659).Z.Uint8Array},2020:(t,e,n)=>{"use strict";n.d(e,{Z:()=>r});const r=function(t,e){for(var n=-1,r=null==t?0:t.length;++n{"use strict";n.d(e,{Z:()=>r});const r=function(t,e){for(var n=-1,r=null==t?0:t.length,o=0,u=[];++n{"use strict";n.d(e,{Z:()=>o});var r=n(7162);const o=function(t,e){return!!(null==t?0:t.length)&&(0,r.Z)(t,e,0)>-1}},670:(t,e,n)=>{"use strict";n.d(e,{Z:()=>r});const r=function(t,e,n){for(var r=-1,o=null==t?0:t.length;++r{"use strict";n.d(e,{Z:()=>l});const r=function(t,e){for(var n=-1,r=Array(t);++n{"use strict";n.d(e,{Z:()=>r});const r=function(t,e){for(var n=-1,r=null==t?0:t.length,o=Array(r);++n{"use strict";n.d(e,{Z:()=>r});const r=function(t,e){for(var n=-1,r=e.length,o=t.length;++n{"use strict";n.d(e,{Z:()=>r});const r=function(t,e){for(var n=-1,r=null==t?0:t.length;++n{"use strict";n.d(e,{Z:()=>s});const r=function(t){return function(e,n,r){for(var o=-1,u=Object(e),i=r(e),s=i.length;s--;){var a=i[t?s:++o];if(!1===n(u[a],a,u))break}return e}}();var o=n(4778);const u=function(t,e){return t&&r(t,e,o.Z)};var i=n(9458);const s=function(t,e){return function(n,r){if(null==n)return n;if(!(0,i.Z)(n))return t(n,r);for(var o=n.length,u=e?o:-1,s=Object(n);(e?u--:++u{"use strict";n.d(e,{Z:()=>o});var r=n(2688);const o=function(t,e){var n=[];return(0,r.Z)(t,(function(t,r,o){e(t,r,o)&&n.push(t)})),n}},8953:(t,e,n)=>{"use strict";n.d(e,{Z:()=>r});const r=function(t,e,n,r){for(var o=t.length,u=n+(r?1:-1);r?u--:++u{"use strict";n.d(e,{Z:()=>c});var r=n(7891),o=n(9e3),u=n(5998),i=n(7838),s=o.Z?o.Z.isConcatSpreadable:void 0;const a=function(t){return(0,i.Z)(t)||(0,u.Z)(t)||!!(s&&t&&t[s])};const c=function t(e,n,o,u,i){var s=-1,c=e.length;for(o||(o=a),i||(i=[]);++s0&&o(l)?n>1?t(l,n-1,o,u,i):(0,r.Z)(i,l):u||(i[i.length]=l)}return i}},2825:(t,e,n)=>{"use strict";n.d(e,{Z:()=>u});var r=n(7345),o=n(9316);const u=function(t,e){for(var n=0,u=(e=(0,r.Z)(e,t)).length;null!=t&&n{"use strict";n.d(e,{Z:()=>u});var r=n(7891),o=n(7838);const u=function(t,e,n){var u=e(t);return(0,o.Z)(t)?u:(0,r.Z)(u,n(t))}},7640:(t,e,n)=>{"use strict";n.d(e,{Z:()=>f});var r=n(9e3),o=Object.prototype,u=o.hasOwnProperty,i=o.toString,s=r.Z?r.Z.toStringTag:void 0;const a=function(t){var e=u.call(t,s),n=t[s];try{t[s]=void 0;var r=!0}catch(a){}var o=i.call(t);return r&&(e?t[s]=n:delete t[s]),o};var c=Object.prototype.toString;const l=function(t){return c.call(t)};var D=r.Z?r.Z.toStringTag:void 0;const f=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":D&&D in Object(t)?a(t):l(t)}},7162:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});var r=n(8953);const o=function(t){return t!=t};const u=function(t,e,n){for(var r=n-1,o=t.length;++r{"use strict";n.d(e,{Z:()=>Y});var r=n(2178),o=n(8017),u=n(766),i=n(8923);const s=function(t,e,n,r,s,a){var c=1&n,l=t.length,D=e.length;if(l!=D&&!(c&&D>l))return!1;var f=a.get(t),h=a.get(e);if(f&&h)return f==e&&h==t;var d=-1,p=!0,F=2&n?new o.Z:void 0;for(a.set(t,e),a.set(e,t);++d{"use strict";n.d(e,{Z:()=>i});var r=n(4357);const o=(0,n(4068).Z)(Object.keys,Object);var u=Object.prototype.hasOwnProperty;const i=function(t){if(!(0,r.Z)(t))return o(t);var e=[];for(var n in Object(t))u.call(t,n)&&"constructor"!=n&&e.push(n);return e}},2052:(t,e,n)=>{"use strict";n.d(e,{Z:()=>r});const r=function(t){return function(e){return t(e)}}},7650:(t,e,n)=>{"use strict";n.d(e,{Z:()=>D});var r=n(8017),o=n(3744),u=n(670),i=n(8923),s=n(9228),a=n(7051),c=n(877);const l=s.Z&&1/(0,c.Z)(new s.Z([,-0]))[1]==1/0?function(t){return new s.Z(t)}:a.Z;const D=function(t,e,n){var s=-1,a=o.Z,D=t.length,f=!0,h=[],d=h;if(n)f=!1,a=u.Z;else if(D>=200){var p=e?null:l(t);if(p)return(0,c.Z)(p);f=!1,a=i.Z,d=new r.Z}else d=e?[]:h;t:for(;++s{"use strict";n.d(e,{Z:()=>r});const r=function(t,e){return t.has(e)}},7345:(t,e,n)=>{"use strict";n.d(e,{Z:()=>g});var r=n(7838),o=n(7990),u=n(1056);function i(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var n=function(){var r=arguments,o=e?e.apply(this,r):r[0],u=n.cache;if(u.has(o))return u.get(o);var i=t.apply(this,r);return n.cache=u.set(o,i)||u,i};return n.cache=new(i.Cache||u.Z),n}i.Cache=u.Z;const s=i;var a=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,c=/\\(\\)?/g;const l=function(t){var e=s(t,(function(t){return 500===n.size&&n.clear(),t})),n=e.cache;return e}((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(a,(function(t,n,r,o){e.push(r?o.replace(c,"$1"):n||t)})),e}));var D=n(9e3),f=n(497),h=n(4878),d=D.Z?D.Z.prototype:void 0,p=d?d.toString:void 0;const F=function t(e){if("string"==typeof e)return e;if((0,r.Z)(e))return(0,f.Z)(e,t)+"";if((0,h.Z)(e))return p?p.call(e):"";var n=e+"";return"0"==n&&1/e==-Infinity?"-0":n};const E=function(t){return null==t?"":F(t)};const g=function(t,e){return(0,r.Z)(t)?t:(0,o.Z)(t,e)?[t]:l(E(t))}},8055:(t,e,n)=>{"use strict";n.d(e,{Z:()=>r});const r="object"==typeof global&&global&&global.Object===Object&&global},2879:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});var r=n(5976),o=n(7538),u=n(4778);const i=function(t){return(0,r.Z)(t,u.Z,o.Z)}},5565:(t,e,n)=>{"use strict";n.d(e,{Z:()=>g});var r=n(8246);const o=n(7659).Z["__core-js_shared__"];var u,i=(u=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+u:"";const s=function(t){return!!i&&i in t};var a=n(369),c=n(4549),l=/^\[object .+?Constructor\]$/,D=Function.prototype,f=Object.prototype,h=D.toString,d=f.hasOwnProperty,p=RegExp("^"+h.call(d).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const F=function(t){return!(!(0,a.Z)(t)||s(t))&&((0,r.Z)(t)?p:l).test((0,c.Z)(t))};const E=function(t,e){return null==t?void 0:t[e]};const g=function(t,e){var n=E(t,e);return F(n)?n:void 0}},7538:(t,e,n)=>{"use strict";n.d(e,{Z:()=>s});var r=n(9878),o=n(3464),u=Object.prototype.propertyIsEnumerable,i=Object.getOwnPropertySymbols;const s=i?function(t){return null==t?[]:(t=Object(t),(0,r.Z)(i(t),(function(e){return u.call(t,e)})))}:o.Z},8023:(t,e,n)=>{"use strict";n.d(e,{Z:()=>A});var r=n(5565),o=n(7659);const u=(0,r.Z)(o.Z,"DataView");var i=n(6462);const s=(0,r.Z)(o.Z,"Promise");var a=n(9228);const c=(0,r.Z)(o.Z,"WeakMap");var l=n(7640),D=n(4549),f="[object Map]",h="[object Promise]",d="[object Set]",p="[object WeakMap]",F="[object DataView]",E=(0,D.Z)(u),g=(0,D.Z)(i.Z),m=(0,D.Z)(s),v=(0,D.Z)(a.Z),C=(0,D.Z)(c),y=l.Z;(u&&y(new u(new ArrayBuffer(1)))!=F||i.Z&&y(new i.Z)!=f||s&&y(s.resolve())!=h||a.Z&&y(new a.Z)!=d||c&&y(new c)!=p)&&(y=function(t){var e=(0,l.Z)(t),n="[object Object]"==e?t.constructor:void 0,r=n?(0,D.Z)(n):"";if(r)switch(r){case E:return F;case g:return f;case m:return h;case v:return d;case C:return p}return e});const A=y},5942:(t,e,n)=>{"use strict";n.d(e,{Z:()=>c});var r=n(7345),o=n(5998),u=n(7838),i=n(2916),s=n(7614),a=n(9316);const c=function(t,e,n){for(var c=-1,l=(e=(0,r.Z)(e,t)).length,D=!1;++c{"use strict";n.d(e,{Z:()=>o});var r=/^(?:0|[1-9]\d*)$/;const o=function(t,e){var n=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==n||"symbol"!=n&&r.test(t))&&t>-1&&t%1==0&&t{"use strict";n.d(e,{Z:()=>s});var r=n(7838),o=n(4878),u=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,i=/^\w*$/;const s=function(t,e){if((0,r.Z)(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!(0,o.Z)(t))||(i.test(t)||!u.test(t)||null!=e&&t in Object(e))}},4357:(t,e,n)=>{"use strict";n.d(e,{Z:()=>o});var r=Object.prototype;const o=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||r)}},7433:(t,e,n)=>{"use strict";n.d(e,{Z:()=>s});var r=n(8055),o="object"==typeof exports&&exports&&!exports.nodeType&&exports,u=o&&"object"==typeof module&&module&&!module.nodeType&&module,i=u&&u.exports===o&&r.Z.process;const s=function(){try{var t=u&&u.require&&u.require("util").types;return t||i&&i.binding&&i.binding("util")}catch(e){}}()},4068:(t,e,n)=>{"use strict";n.d(e,{Z:()=>r});const r=function(t,e){return function(n){return t(e(n))}}},7659:(t,e,n)=>{"use strict";n.d(e,{Z:()=>u});var r=n(8055),o="object"==typeof self&&self&&self.Object===Object&&self;const u=r.Z||o||Function("return this")()},877:(t,e,n)=>{"use strict";n.d(e,{Z:()=>r});const r=function(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n}},9316:(t,e,n)=>{"use strict";n.d(e,{Z:()=>o});var r=n(4878);const o=function(t){if("string"==typeof t||(0,r.Z)(t))return t;var e=t+"";return"0"==e&&1/t==-Infinity?"-0":e}},4549:(t,e,n)=>{"use strict";n.d(e,{Z:()=>o});var r=Function.prototype.toString;const o=function(t){if(null!=t){try{return r.call(t)}catch(e){}try{return t+""}catch(e){}}return""}},8916:(t,e,n)=>{"use strict";n.d(e,{Z:()=>r});const r=function(t,e){return t===e||t!=t&&e!=e}},8226:(t,e,n)=>{"use strict";n.d(e,{Z:()=>s});var r=n(9878),o=n(136),u=n(7054),i=n(7838);const s=function(t,e){return((0,i.Z)(t)?r.Z:o.Z)(t,(0,u.Z)(e,3))}},1453:(t,e,n)=>{"use strict";n.d(e,{Z:()=>u});var r=n(5556),o=n(407);const u=function(t,e){return(0,r.Z)((0,o.Z)(t,e),1)}},4605:(t,e,n)=>{"use strict";n.d(e,{Z:()=>o});var r=n(5556);const o=function(t){return(null==t?0:t.length)?(0,r.Z)(t,1):[]}},1146:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var r=n(2020),o=n(2688),u=n(4111);const i=function(t){return"function"==typeof t?t:u.Z};var s=n(7838);const a=function(t,e){return((0,s.Z)(t)?r.Z:o.Z)(t,i(e))}},4111:(t,e,n)=>{"use strict";n.d(e,{Z:()=>r});const r=function(t){return t}},5998:(t,e,n)=>{"use strict";n.d(e,{Z:()=>c});var r=n(7640),o=n(8742);const u=function(t){return(0,o.Z)(t)&&"[object Arguments]"==(0,r.Z)(t)};var i=Object.prototype,s=i.hasOwnProperty,a=i.propertyIsEnumerable;const c=u(function(){return arguments}())?u:function(t){return(0,o.Z)(t)&&s.call(t,"callee")&&!a.call(t,"callee")}},7838:(t,e,n)=>{"use strict";n.d(e,{Z:()=>r});const r=Array.isArray},9458:(t,e,n)=>{"use strict";n.d(e,{Z:()=>u});var r=n(8246),o=n(7614);const u=function(t){return null!=t&&(0,o.Z)(t.length)&&!(0,r.Z)(t)}},5633:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var r=n(7659);const o=function(){return!1};var u="object"==typeof exports&&exports&&!exports.nodeType&&exports,i=u&&"object"==typeof module&&module&&!module.nodeType&&module,s=i&&i.exports===u?r.Z.Buffer:void 0;const a=(s?s.isBuffer:void 0)||o},9955:(t,e,n)=>{"use strict";n.d(e,{Z:()=>f});var r=n(8410),o=n(8023),u=n(5998),i=n(7838),s=n(9458),a=n(5633),c=n(4357),l=n(7065),D=Object.prototype.hasOwnProperty;const f=function(t){if(null==t)return!0;if((0,s.Z)(t)&&((0,i.Z)(t)||"string"==typeof t||"function"==typeof t.splice||(0,a.Z)(t)||(0,l.Z)(t)||(0,u.Z)(t)))return!t.length;var e=(0,o.Z)(t);if("[object Map]"==e||"[object Set]"==e)return!t.size;if((0,c.Z)(t))return!(0,r.Z)(t).length;for(var n in t)if(D.call(t,n))return!1;return!0}},8246:(t,e,n)=>{"use strict";n.d(e,{Z:()=>u});var r=n(7640),o=n(369);const u=function(t){if(!(0,o.Z)(t))return!1;var e=(0,r.Z)(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},7614:(t,e,n)=>{"use strict";n.d(e,{Z:()=>r});const r=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},369:(t,e,n)=>{"use strict";n.d(e,{Z:()=>r});const r=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},8742:(t,e,n)=>{"use strict";n.d(e,{Z:()=>r});const r=function(t){return null!=t&&"object"==typeof t}},4878:(t,e,n)=>{"use strict";n.d(e,{Z:()=>u});var r=n(7640),o=n(8742);const u=function(t){return"symbol"==typeof t||(0,o.Z)(t)&&"[object Symbol]"==(0,r.Z)(t)}},7065:(t,e,n)=>{"use strict";n.d(e,{Z:()=>D});var r=n(7640),o=n(7614),u=n(8742),i={};i["[object Float32Array]"]=i["[object Float64Array]"]=i["[object Int8Array]"]=i["[object Int16Array]"]=i["[object Int32Array]"]=i["[object Uint8Array]"]=i["[object Uint8ClampedArray]"]=i["[object Uint16Array]"]=i["[object Uint32Array]"]=!0,i["[object Arguments]"]=i["[object Array]"]=i["[object ArrayBuffer]"]=i["[object Boolean]"]=i["[object DataView]"]=i["[object Date]"]=i["[object Error]"]=i["[object Function]"]=i["[object Map]"]=i["[object Number]"]=i["[object Object]"]=i["[object RegExp]"]=i["[object Set]"]=i["[object String]"]=i["[object WeakMap]"]=!1;const s=function(t){return(0,u.Z)(t)&&(0,o.Z)(t.length)&&!!i[(0,r.Z)(t)]};var a=n(2052),c=n(7433),l=c.Z&&c.Z.isTypedArray;const D=l?(0,a.Z)(l):s},4778:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});var r=n(9852),o=n(8410),u=n(9458);const i=function(t){return(0,u.Z)(t)?(0,r.Z)(t):(0,o.Z)(t)}},407:(t,e,n)=>{"use strict";n.d(e,{Z:()=>c});var r=n(497),o=n(7054),u=n(2688),i=n(9458);const s=function(t,e){var n=-1,r=(0,i.Z)(t)?Array(t.length):[];return(0,u.Z)(t,(function(t,o,u){r[++n]=e(t,o,u)})),r};var a=n(7838);const c=function(t,e){return((0,a.Z)(t)?r.Z:s)(t,(0,o.Z)(e,3))}},7051:(t,e,n)=>{"use strict";n.d(e,{Z:()=>r});const r=function(){}},4632:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});const r=function(t,e,n,r){var o=-1,u=null==t?0:t.length;for(r&&u&&(n=t[++o]);++o{"use strict";n.d(e,{Z:()=>r});const r=function(){return[]}},3104:(t,e,n)=>{"use strict";n.d(e,{builders:()=>ft});var r=Object.defineProperty,o={};((t,e)=>{for(var n in e)r(t,n,{get:e[n],enumerable:!0})})(o,{builders:()=>ft,printer:()=>ht,utils:()=>dt});var u="string",i="array",s="cursor",a="indent",c="align",l="trim",D="group",f="fill",h="if-break",d="indent-if-break",p="line-suffix",F="line-suffix-boundary",E="line",g="label",m="break-parent",v=new Set([s,a,c,l,D,f,h,d,p,F,E,g,m]);var C=function(t){if("string"==typeof t)return u;if(Array.isArray(t))return i;if(!t)return;const{type:e}=t;return v.has(e)?e:void 0};function y(t){const e=null===t?"null":typeof t;if("string"!==e&&"object"!==e)return`Unexpected doc '${e}', \nExpected it to be 'string' or 'object'.`;if(C(t))throw new Error("doc is valid.");const n=Object.prototype.toString.call(t);if("[object Object]"!==n)return`Unexpected doc '${n}'.`;const r=(o=[...v].map((t=>`'${t}'`)),new Intl.ListFormat("en-US",{type:"disjunction"}).format(o));var o;return`Unexpected doc.type '${t.type}'.\nExpected it to be ${r}.`}var A=class extends Error{name="InvalidDocError";constructor(t){super(y(t)),this.doc=t}},b={};var T=function(t,e,n,r){const o=[t];for(;o.length>0;){const t=o.pop();if(t===b){n(o.pop());continue}n&&o.push(t,b);const v=C(t);if(!v)throw new A(t);if(!1!==(null==e?void 0:e(t)))switch(v){case i:case f:{const e=v===i?t:t.parts;for(let t=e.length-1;t>=0;--t)o.push(e[t]);break}case h:o.push(t.flatContents,t.breakContents);break;case D:if(r&&t.expandedStates)for(let e=t.expandedStates.length-1;e>=0;--e)o.push(t.expandedStates[e]);else o.push(t.contents);break;case c:case a:case d:case g:case p:o.push(t.contents);break;case u:case s:case l:case F:case E:case m:break;default:throw new A(t)}}},x=()=>{},O=x,_=x;function k(t){return O(t),{type:a,contents:t}}function S(t,e){return O(e),{type:c,contents:e,n:t}}function I(t,e={}){return O(t),_(e.expandedStates,!0),{type:D,id:e.id,contents:t,break:Boolean(e.shouldBreak),expandedStates:e.expandedStates}}function N(t){return _(t),{type:f,parts:t}}var R={type:F},w={type:m},B={type:l},L={type:E,hard:!0},P={type:E,hard:!0,literal:!0},Z={type:E},M={type:E,soft:!0},j=[L,w],U=[P,w],$={type:s};function W(t,e){O(t),_(e);const n=[];for(let r=0;r{if(!t||null!=e)return Array.isArray(e)||"string"==typeof e?e[n<0?e.length+n:n]:e.at(n)},G=(t,e,n,r)=>{if(!t||null!=e)return e.replaceAll?e.replaceAll(n,r):n.global?e.replace(n,r):e.split(n).join(r)};var K={eastAsianWidth(t){var e=t.charCodeAt(0),n=2==t.length?t.charCodeAt(1):0,r=e;return 55296<=e&&e<=56319&&56320<=n&&n<=57343&&(r=(e&=1023)<<10|(n&=1023),r+=65536),12288==r||65281<=r&&r<=65376||65504<=r&&r<=65510?"F":4352<=r&&r<=4447||4515<=r&&r<=4519||4602<=r&&r<=4607||9001<=r&&r<=9002||11904<=r&&r<=11929||11931<=r&&r<=12019||12032<=r&&r<=12245||12272<=r&&r<=12283||12289<=r&&r<=12350||12353<=r&&r<=12438||12441<=r&&r<=12543||12549<=r&&r<=12589||12593<=r&&r<=12686||12688<=r&&r<=12730||12736<=r&&r<=12771||12784<=r&&r<=12830||12832<=r&&r<=12871||12880<=r&&r<=13054||13056<=r&&r<=19903||19968<=r&&r<=42124||42128<=r&&r<=42182||43360<=r&&r<=43388||44032<=r&&r<=55203||55216<=r&&r<=55238||55243<=r&&r<=55291||63744<=r&&r<=64255||65040<=r&&r<=65049||65072<=r&&r<=65106||65108<=r&&r<=65126||65128<=r&&r<=65131||110592<=r&&r<=110593||127488<=r&&r<=127490||127504<=r&&r<=127546||127552<=r&&r<=127560||127568<=r&&r<=127569||131072<=r&&r<=194367||177984<=r&&r<=196605||196608<=r&&r<=262141?"W":"N"}},V=/[^\x20-\x7F]/;var H=function(t){if(!t)return 0;if(!V.test(t))return t.length;t=t.replace(/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26D3\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26F9(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC3\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC08\uDC26](?:\u200D\u2B1B)?|[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC2\uDECE-\uDEDB\uDEE0-\uDEE8]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g," ");let e=0;for(const n of t){const t=n.codePointAt(0);if(t<=31||t>=127&&t<=159)continue;if(t>=768&&t<=879)continue;const r=K.eastAsianWidth(n);e+="F"===r||"W"===r?2:1}return e},Y=t=>{if(Array.isArray(t))return t;if(t.type!==f)throw new Error(`Expect doc to be 'array' or '${f}'.`);return t.parts};function q(t,e){if("string"==typeof t)return e(t);const n=new Map;return r(t);function r(t){if(n.has(t))return n.get(t);const o=function(t){switch(C(t)){case i:return e(t.map(r));case f:return e({...t,parts:t.parts.map(r)});case h:return e({...t,breakContents:r(t.breakContents),flatContents:r(t.flatContents)});case D:{let{expandedStates:n,contents:o}=t;return n?(n=n.map(r),o=n[0]):o=r(o),e({...t,contents:o,expandedStates:n})}case c:case a:case d:case g:case p:return e({...t,contents:r(t.contents)});case u:case s:case l:case F:case E:case m:return e(t);default:throw new A(t)}}(t);return n.set(t,o),o}}function X(t,e,n){let r=n,o=!1;return T(t,(function(t){if(o)return!1;const n=e(t);void 0!==n&&(o=!0,r=n)})),r}function J(t){return!(t.type!==D||!t.break)||(!(t.type!==E||!t.hard)||(t.type===m||void 0))}function Q(t){if(t.length>0){const e=z(!1,t,-1);e.expandedStates||e.break||(e.break="propagated")}return null}function tt(t){return t.type!==E||t.hard?t.type===h?t.flatContents:t:t.soft?"":" "}function et(t){for(t=[...t];t.length>=2&&z(!1,t,-2).type===E&&z(!1,t,-1).type===m;)t.length-=2;if(t.length>0){const e=nt(z(!1,t,-1));t[t.length-1]=e}return t}function nt(t){switch(C(t)){case c:case a:case d:case D:case p:case g:{const e=nt(t.contents);return{...t,contents:e}}case h:return{...t,breakContents:nt(t.breakContents),flatContents:nt(t.flatContents)};case f:return{...t,parts:et(t.parts)};case i:return et(t);case u:return t.replace(/[\n\r]*$/,"");case s:case l:case F:case E:case m:break;default:throw new A(t)}return t}function rt(t){if(t.type===E)return!0}var ot=Symbol("MODE_BREAK"),ut=Symbol("MODE_FLAT"),it=Symbol("cursor");function st(t,e){return ct(t,{type:"indent"},e)}function at(t,e,n){if(e===Number.NEGATIVE_INFINITY)return t.root||{value:"",length:0,queue:[]};if(e<0)return ct(t,{type:"dedent"},n);if(!e)return t;if("root"===e.type)return{...t,root:t};return ct(t,{type:"string"==typeof e?"stringAlign":"numberAlign",n:e},n)}function ct(t,e,n){const r="dedent"===e.type?t.queue.slice(0,-1):[...t.queue,e];let o="",u=0,i=0,s=0;for(const h of r)switch(h.type){case"indent":l(),n.useTabs?a(1):c(n.tabWidth);break;case"stringAlign":l(),o+=h.n,u+=h.n.length;break;case"numberAlign":i+=1,s+=h.n;break;default:throw new Error(`Unexpected type '${h.type}'`)}return D(),{...t,value:o,length:u,queue:r};function a(t){o+="\t".repeat(t),u+=n.tabWidth*t}function c(t){o+=" ".repeat(t),u+=t}function l(){n.useTabs?function(){i>0&&a(i);f()}():D()}function D(){s>0&&c(s),f()}function f(){i=0,s=0}}function lt(t){let e=0,n=0,r=t.length;t:for(;r--;){const o=t[r];if(o!==it){0;for(let n=o.length-1;n>=0;n--){const u=o[n];if(" "!==u&&"\t"!==u){t[r]=o.slice(0,n+1);break t}e++}}else n++}if(e>0||n>0)for(t.length=r+1;n-- >0;)t.push(it);return e}function Dt(t,e,n,r,o,s){if(n===Number.POSITIVE_INFINITY)return!0;let m=e.length;const v=[t],y=[];for(;n>=0;){if(0===v.length){if(0===m)return!0;v.push(e[--m]);continue}const{mode:t,doc:A}=v.pop();switch(C(A)){case u:y.push(A),n-=H(A);break;case i:case f:{const e=Y(A);for(let n=e.length-1;n>=0;n--)v.push({mode:t,doc:e[n]});break}case a:case c:case d:case g:v.push({mode:t,doc:A.contents});break;case l:n+=lt(y);break;case D:{if(s&&A.break)return!1;const e=A.break?ot:t,n=A.expandedStates&&e===ot?z(!1,A.expandedStates,-1):A.contents;v.push({mode:e,doc:n});break}case h:{const e=(A.groupId?o[A.groupId]||ut:t)===ot?A.breakContents:A.flatContents;e&&v.push({mode:t,doc:e});break}case E:if(t===ot||A.hard)return!0;A.soft||(y.push(" "),n--);break;case p:r=!0;break;case F:if(r)return!1}}return!1}var ft={join:W,line:Z,softline:M,hardline:j,literalline:U,group:I,conditionalGroup:function(t,e){return I(t[0],{...e,expandedStates:t})},fill:N,lineSuffix:function(t){return O(t),{type:p,contents:t}},lineSuffixBoundary:R,cursor:$,breakParent:w,ifBreak:function(t,e="",n={}){return O(t),""!==e&&O(e),{type:h,breakContents:t,flatContents:e,groupId:n.groupId}},trim:B,indent:k,indentIfBreak:function(t,e){return O(t),{type:d,contents:t,groupId:e.groupId,negate:e.negate}},align:S,addAlignmentToDoc:function(t,e,n){O(t);let r=t;if(e>0){for(let t=0;tt},ht={printDocToString:function(t,e){const n={},r=e.printWidth,o=function(t){switch(t){case"cr":return"\r";case"crlf":return"\r\n";default:return"\n"}}(e.endOfLine);let v=0;const y=[{ind:{value:"",length:0,queue:[]},mode:ot,doc:t}],b=[];let x=!1;const O=[];let _=0;for(!function(t){const e=new Set,n=[];T(t,(function(t){if(t.type===m&&Q(n),t.type===D){if(n.push(t),e.has(t))return!1;e.add(t)}}),(function(t){t.type===D&&n.pop().break&&Q(n)}),!0)}(t);y.length>0;){const{ind:t,mode:T,doc:S}=y.pop();switch(C(S)){case u:{const t="\n"!==o?G(!1,S,"\n",o):S;b.push(t),y.length>0&&(v+=H(t));break}case i:for(let e=S.length-1;e>=0;e--)y.push({ind:t,mode:T,doc:S[e]});break;case s:if(_>=2)throw new Error("There are too many 'cursor' in doc.");b.push(it),_++;break;case a:y.push({ind:st(t,e),mode:T,doc:S.contents});break;case c:y.push({ind:at(t,S.n,e),mode:T,doc:S.contents});break;case l:v-=lt(b);break;case D:switch(T){case ut:if(!x){y.push({ind:t,mode:S.break?ot:ut,doc:S.contents});break}case ot:{x=!1;const e={ind:t,mode:ut,doc:S.contents},o=r-v,u=O.length>0;if(!S.break&&Dt(e,y,o,u,n))y.push(e);else if(S.expandedStates){const e=z(!1,S.expandedStates,-1);if(S.break){y.push({ind:t,mode:ot,doc:e});break}for(let r=1;r=S.expandedStates.length){y.push({ind:t,mode:ot,doc:e});break}{const e=S.expandedStates[r],i={ind:t,mode:ut,doc:e};if(Dt(i,y,o,u,n)){y.push(i);break}}}}else y.push({ind:t,mode:ot,doc:S.contents});break}}S.id&&(n[S.id]=z(!1,y,-1).mode);break;case f:{const e=r-v,{parts:o}=S;if(0===o.length)break;const[u,i]=o,s={ind:t,mode:ut,doc:u},a={ind:t,mode:ot,doc:u},c=Dt(s,[],e,O.length>0,n,!0);if(1===o.length){c?y.push(s):y.push(a);break}const l={ind:t,mode:ut,doc:i},D={ind:t,mode:ot,doc:i};if(2===o.length){c?y.push(l,s):y.push(D,a);break}o.splice(0,2);const f={ind:t,mode:T,doc:N(o)},h=o[0];Dt({ind:t,mode:ut,doc:[u,i,h]},[],e,O.length>0,n,!0)?y.push(f,l,s):c?y.push(f,D,s):y.push(f,D,a);break}case h:case d:{const e=S.groupId?n[S.groupId]:T;if(e===ot){const e=S.type===h?S.breakContents:S.negate?S.contents:k(S.contents);e&&y.push({ind:t,mode:T,doc:e})}if(e===ut){const e=S.type===h?S.flatContents:S.negate?k(S.contents):S.contents;e&&y.push({ind:t,mode:T,doc:e})}break}case p:O.push({ind:t,mode:T,doc:S.contents});break;case F:O.length>0&&y.push({ind:t,mode:T,doc:L});break;case E:switch(T){case ut:if(!S.hard){S.soft||(b.push(" "),v+=1);break}x=!0;case ot:if(O.length>0){y.push({ind:t,mode:T,doc:S},...O.reverse()),O.length=0;break}S.literal?t.root?(b.push(o,t.root.value),v=t.root.length):(b.push(o),v=0):(v-=lt(b),b.push(o+t.value),v=t.length)}break;case g:y.push({ind:t,mode:T,doc:S.contents});break;case m:break;default:throw new A(S)}0===y.length&&O.length>0&&(y.push(...O.reverse()),O.length=0)}const S=b.indexOf(it);if(-1!==S){const t=b.indexOf(it,S+1),e=b.slice(0,S).join(""),n=b.slice(S+1,t).join("");return{formatted:e+n+b.slice(t+1).join(""),cursorNodeStart:e.length,cursorNodeText:n}}return{formatted:b.join("")}}},dt={willBreak:function(t){return X(t,J,!1)},traverseDoc:T,findInDoc:X,mapDoc:q,removeLines:function(t){return q(t,tt)},stripTrailingHardline:function(t){return nt(function(t){return q(t,(t=>function(t){switch(C(t)){case f:if(t.parts.every((t=>""===t)))return"";break;case D:if(!(t.contents||t.id||t.break||t.expandedStates))return"";if(t.contents.type===D&&t.contents.id===t.id&&t.contents.break===t.break&&t.contents.expandedStates===t.expandedStates)return t.contents;break;case c:case a:case d:case p:if(!t.contents)return"";break;case h:if(!t.flatContents&&!t.breakContents)return"";break;case i:{const e=[];for(const n of t){if(!n)continue;const[t,...r]=Array.isArray(n)?n:[n];"string"==typeof t&&"string"==typeof z(!1,e,-1)?e[e.length-1]+=t:e.push(t),e.push(...r)}return 0===e.length?"":1===e.length?e[0]:e}case u:case s:case l:case F:case E:case g:case m:break;default:throw new A(t)}return t}(t)))}(t))},replaceEndOfLine:function(t,e=U){return q(t,(t=>"string"==typeof t?W(e,t.split("\n")):t))},canBreak:function(t){return X(t,rt,!1)}}},3764:(t,e,n)=>{"use strict";function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function o(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function u(t){for(var e=1;e=0||(o[n]=t[n]);return o}(t,e);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(t);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}function s(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n=t.length?t.apply(this,o):function(){for(var t=arguments.length,r=new Array(t),u=0;uot});var d=D((function(t,e){throw new Error(t[e]||t.default)}))({initialIsRequired:"initial state is required",initialType:"initial state should be an object",initialContent:"initial state shouldn't be an empty object",handlerType:"handler should be an object or a function",handlersType:"all handlers should be a functions",selectorType:"selector should be a function",changeType:"provided value of changes should be an object",changeField:'it seams you want to change a field in the state which is not specified in the "initial" state',default:"an unknown error accured in `state-local` package"}),p={changes:function(t,e){return f(e)||d("changeType"),Object.keys(e).some((function(e){return n=t,r=e,!Object.prototype.hasOwnProperty.call(n,r);var n,r}))&&d("changeField"),e},selector:function(t){h(t)||d("selectorType")},handler:function(t){h(t)||f(t)||d("handlerType"),f(t)&&Object.values(t).some((function(t){return!h(t)}))&&d("handlersType")},initial:function(t){var e;t||d("initialIsRequired"),f(t)||d("initialType"),e=t,Object.keys(e).length||d("initialContent")}};function F(t,e){return h(e)?e(t.current):e}function E(t,e){return t.current=l(l({},t.current),e),e}function g(t,e,n){return h(e)?e(t.current):Object.keys(n).forEach((function(n){var r;return null===(r=e[n])||void 0===r?void 0:r.call(e,t.current[n])})),n}const m={create:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};p.initial(t),p.handler(e);var n={current:t},r=D(g)(n,e),o=D(E)(n),u=D(p.changes)(t),i=D(F)(n);return[function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(t){return t};return p.selector(t),t(n.current)},function(t){!function(){for(var t=arguments.length,e=new Array(t),n=0;n=t.length?t.apply(this,o):function(){for(var t=arguments.length,r=new Array(t),u=0;u{r.current=!1}:t,e)};function X(){}function J(t,e,n,r){return function(t,e){return t.editor.getModel(Q(t,e))}(t,r)||function(t,e,n,r){return t.editor.createModel(e,n,r?Q(t,r):void 0)}(t,e,n,r)}function Q(t,e){return t.Uri.parse(e)}var tt=function({original:t,modified:e,language:n,originalLanguage:r,modifiedLanguage:o,originalModelPath:u,modifiedModelPath:i,keepCurrentOriginalModel:s=!1,keepCurrentModifiedModel:a=!1,theme:c="light",loading:l="Loading...",options:D={},height:f="100%",width:h="100%",className:d,wrapperProps:p={},beforeMount:F=X,onMount:E=X}){let[g,m]=(0,W.useState)(!1),[v,C]=(0,W.useState)(!0),y=(0,W.useRef)(null),A=(0,W.useRef)(null),b=(0,W.useRef)(null),T=(0,W.useRef)(E),x=(0,W.useRef)(F),O=(0,W.useRef)(!1);Y((()=>{let t=$.init();return t.then((t=>(A.current=t)&&C(!1))).catch((t=>"cancelation"!==t?.type&&console.error("Monaco initialization: error:",t))),()=>y.current?function(){let t=y.current?.getModel();s||t?.original?.dispose(),a||t?.modified?.dispose(),y.current?.dispose()}():t.cancel()})),q((()=>{if(y.current&&A.current){let e=y.current.getOriginalEditor(),o=J(A.current,t||"",r||n||"text",u||"");o!==e.getModel()&&e.setModel(o)}}),[u],g),q((()=>{if(y.current&&A.current){let t=y.current.getModifiedEditor(),r=J(A.current,e||"",o||n||"text",i||"");r!==t.getModel()&&t.setModel(r)}}),[i],g),q((()=>{let t=y.current.getModifiedEditor();t.getOption(A.current.editor.EditorOption.readOnly)?t.setValue(e||""):e!==t.getValue()&&(t.executeEdits("",[{range:t.getModel().getFullModelRange(),text:e||"",forceMoveMarkers:!0}]),t.pushUndoStop())}),[e],g),q((()=>{y.current?.getModel()?.original.setValue(t||"")}),[t],g),q((()=>{let{original:t,modified:e}=y.current.getModel();A.current.editor.setModelLanguage(t,r||n||"text"),A.current.editor.setModelLanguage(e,o||n||"text")}),[n,r,o],g),q((()=>{A.current?.editor.setTheme(c)}),[c],g),q((()=>{y.current?.updateOptions(D)}),[D],g);let _=(0,W.useCallback)((()=>{if(!A.current)return;x.current(A.current);let s=J(A.current,t||"",r||n||"text",u||""),a=J(A.current,e||"",o||n||"text",i||"");y.current?.setModel({original:s,modified:a})}),[n,e,o,t,r,u,i]),k=(0,W.useCallback)((()=>{!O.current&&b.current&&(y.current=A.current.editor.createDiffEditor(b.current,{automaticLayout:!0,...D}),_(),A.current?.editor.setTheme(c),m(!0),O.current=!0)}),[D,c,_]);return(0,W.useEffect)((()=>{g&&T.current(y.current,A.current)}),[g]),(0,W.useEffect)((()=>{!v&&!g&&k()}),[v,g,k]),W.createElement(H,{width:h,height:f,isEditorReady:g,loading:l,_ref:b,className:d,wrapperProps:p})};(0,W.memo)(tt);var et=function(t){let e=(0,W.useRef)();return(0,W.useEffect)((()=>{e.current=t}),[t]),e.current},nt=new Map;var rt=function({defaultValue:t,defaultLanguage:e,defaultPath:n,value:r,language:o,path:u,theme:i="light",line:s,loading:a="Loading...",options:c={},overrideServices:l={},saveViewState:D=!0,keepCurrentModel:f=!1,width:h="100%",height:d="100%",className:p,wrapperProps:F={},beforeMount:E=X,onMount:g=X,onChange:m,onValidate:v=X}){let[C,y]=(0,W.useState)(!1),[A,b]=(0,W.useState)(!0),T=(0,W.useRef)(null),x=(0,W.useRef)(null),O=(0,W.useRef)(null),_=(0,W.useRef)(g),k=(0,W.useRef)(E),S=(0,W.useRef)(),I=(0,W.useRef)(r),N=et(u),R=(0,W.useRef)(!1),w=(0,W.useRef)(!1);Y((()=>{let t=$.init();return t.then((t=>(T.current=t)&&b(!1))).catch((t=>"cancelation"!==t?.type&&console.error("Monaco initialization: error:",t))),()=>x.current?(S.current?.dispose(),f?D&&nt.set(u,x.current.saveViewState()):x.current.getModel()?.dispose(),void x.current.dispose()):t.cancel()})),q((()=>{let i=J(T.current,t||r||"",e||o||"",u||n||"");i!==x.current?.getModel()&&(D&&nt.set(N,x.current?.saveViewState()),x.current?.setModel(i),D&&x.current?.restoreViewState(nt.get(u)))}),[u],C),q((()=>{x.current?.updateOptions(c)}),[c],C),q((()=>{!x.current||void 0===r||(x.current.getOption(T.current.editor.EditorOption.readOnly)?x.current.setValue(r):r!==x.current.getValue()&&(w.current=!0,x.current.executeEdits("",[{range:x.current.getModel().getFullModelRange(),text:r,forceMoveMarkers:!0}]),x.current.pushUndoStop(),w.current=!1))}),[r],C),q((()=>{let t=x.current?.getModel();t&&o&&T.current?.editor.setModelLanguage(t,o)}),[o],C),q((()=>{void 0!==s&&x.current?.revealLine(s)}),[s],C),q((()=>{T.current?.editor.setTheme(i)}),[i],C);let B=(0,W.useCallback)((()=>{if(O.current&&T.current&&!R.current){k.current(T.current);let a=u||n,f=J(T.current,r||t||"",e||o||"",a||"");x.current=T.current?.editor.create(O.current,{model:f,automaticLayout:!0,...c},l),D&&x.current.restoreViewState(nt.get(a)),T.current.editor.setTheme(i),void 0!==s&&x.current.revealLine(s),y(!0),R.current=!0}}),[t,e,n,r,o,u,c,l,D,i,s]);return(0,W.useEffect)((()=>{C&&_.current(x.current,T.current)}),[C]),(0,W.useEffect)((()=>{!A&&!C&&B()}),[A,C,B]),I.current=r,(0,W.useEffect)((()=>{C&&m&&(S.current?.dispose(),S.current=x.current?.onDidChangeModelContent((t=>{w.current||m(x.current.getValue(),t)})))}),[C,m]),(0,W.useEffect)((()=>{if(C){let t=T.current.editor.onDidChangeMarkers((t=>{let e=x.current.getModel()?.uri;if(e&&t.find((t=>t.path===e.path))){let t=T.current.editor.getModelMarkers({resource:e});v?.(t)}}));return()=>{t?.dispose()}}return()=>{}}),[C,v]),W.createElement(H,{width:h,height:d,isEditorReady:C,loading:a,_ref:O,className:p,wrapperProps:F})},ot=(0,W.memo)(rt)},4935:(t,e,n)=>{"use strict";n.d(e,{ZP:()=>Tr});var r=Object.create,o=Object.defineProperty,u=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,s=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,c=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),l=(t,e)=>{for(var n in e)o(t,n,{get:e[n],enumerable:!0})},D=(t,e,n,r)=>{if(e&&"object"==typeof e||"function"==typeof e)for(let s of i(e))!a.call(t,s)&&s!==n&&o(t,s,{get:()=>e[s],enumerable:!(r=u(e,s))||r.enumerable});return t},f=(t,e,n)=>(n=null!=t?r(s(t)):{},D(!e&&t&&t.__esModule?n:o(n,"default",{value:t,enumerable:!0}),t)),h=(t,e,n)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,n)},d=(t,e,n)=>(((t,e,n)=>{if(!e.has(t))throw TypeError("Cannot "+n)})(t,e,"access private method"),n),p=c((t=>{function e(){}function n(t,e,n,r,o){for(var u=0,i=e.length,s=0,a=0;ut.length?n:t})),c.value=t.join(D)}else c.value=t.join(n.slice(s,s+c.count));s+=c.count,c.added||(a+=c.count)}}var f=e[i-1];return i>1&&"string"==typeof f.value&&(f.added||f.removed)&&t.equals("",f.value)&&(e[i-2].value+=f.value,e.pop()),e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=e,e.prototype={diff:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=r.callback;"function"==typeof r&&(o=r,r={}),this.options=r;var u=this;function i(t){return o?(setTimeout((function(){o(void 0,t)}),0),!0):t}t=this.castInput(t),e=this.castInput(e),t=this.removeEmpty(this.tokenize(t));var s=(e=this.removeEmpty(this.tokenize(e))).length,a=t.length,c=1,l=s+a;r.maxEditLength&&(l=Math.min(l,r.maxEditLength));var D=[{newPos:-1,components:[]}],f=this.extractCommon(D[0],e,t,0);if(D[0].newPos+1>=s&&f+1>=a)return i([{value:this.join(e),count:e.length}]);function h(){for(var r=-1*c;r<=c;r+=2){var o=void 0,l=D[r-1],f=D[r+1],h=(f?f.newPos:0)-r;l&&(D[r-1]=void 0);var d=l&&l.newPos+1=s&&h+1>=a)return i(n(u,o.components,e,t,u.useLongestToken));D[r]=o}else D[r]=void 0}var F;c++}if(o)!function t(){setTimeout((function(){if(c>l)return o();h()||t()}),0)}();else for(;c<=l;){var d=h();if(d)return d}},pushComponent:function(t,e,n){var r=t[t.length-1];r&&r.added===e&&r.removed===n?t[t.length-1]={count:r.count+1,added:e,removed:n}:t.push({count:1,added:e,removed:n})},extractCommon:function(t,e,n,r){for(var o=e.length,u=n.length,i=t.newPos,s=i-r,a=0;i+1{var e;Object.defineProperty(t,"__esModule",{value:!0}),t.diffArrays=function(t,e,r){return n.diff(t,e,r)},t.arrayDiff=void 0;var n=new(((e=p())&&e.__esModule?e:{default:e}).default);t.arrayDiff=n,n.tokenize=function(t){return t.slice()},n.join=n.removeEmpty=function(t){return t}})),E=c(((t,e)=>{var n=new Proxy(String,{get:()=>n});e.exports=n})),g={};l(g,{default:()=>v,shouldHighlight:()=>m});var m,v,C,y,A=(C=()=>{m=()=>!1,v=String},()=>(C&&(y=C(C=0)),y)),b=c((t=>{Object.defineProperty(t,"__esModule",{value:!0}),t.codeFrameColumns=a,t.default=function(t,e,n,r={}){if(!i){i=!0;let t="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";new Error(t).name="DeprecationWarning",console.warn(new Error(t))}return n=Math.max(n,0),a(t,{start:{column:n,line:e}},r)};var e,n=(A(),(t=>D(o({},"__esModule",{value:!0}),t))(g)),r=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var n=u(e);if(n&&n.has(t))return n.get(t);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in t)if("default"!==i&&Object.prototype.hasOwnProperty.call(t,i)){var s=o?Object.getOwnPropertyDescriptor(t,i):null;s&&(s.get||s.set)?Object.defineProperty(r,i,s):r[i]=t[i]}return r.default=t,n&&n.set(t,r),r}(E(),!0);function u(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(u=function(t){return t?n:e})(t)}var i=!1;var s=/\r\n|[\n\r\u2028\u2029]/;function a(t,o,u={}){let i=(u.highlightCode||u.forceColor)&&(0,n.shouldHighlight)(u),a=function(t){return t?(null!=e||(e=new r.default.constructor({enabled:!0,level:1})),e):r.default}(u.forceColor),c=function(t){return{gutter:t.grey,marker:t.red.bold,message:t.red.bold}}(a),l=(t,e)=>i?t(e):e,D=t.split(s),{start:f,end:h,markerLines:d}=function(t,e,n){let r=Object.assign({column:0,line:-1},t.start),o=Object.assign({},r,t.end),{linesAbove:u=2,linesBelow:i=3}=n||{},s=r.line,a=r.column,c=o.line,l=o.column,D=Math.max(s-(u+1),0),f=Math.min(e.length,c+i);-1===s&&(D=0),-1===c&&(f=e.length);let h=c-s,d={};if(h)for(let p=0;p<=h;p++){let t=p+s;if(a)if(0===p){let n=e[t-1].length;d[t]=[a,n-a+1]}else if(p===h)d[t]=[0,l];else{let n=e[t-p].length;d[t]=[0,n]}else d[t]=!0}else d[s]=a===l?!a||[a,0]:[a,l-a];return{start:D,end:f,markerLines:d}}(o,D,u),p=o.start&&"number"==typeof o.start.column,F=String(h).length,E=(i?(0,n.default)(t,u):t).split(s,h).slice(f,h).map(((t,e)=>{let n=f+1+e,r=` ${` ${n}`.slice(-F)} |`,o=d[n],i=!d[n+1];if(o){let e="";if(Array.isArray(o)){let n=t.slice(0,Math.max(o[0]-1,0)).replace(/[^\t]/g," "),s=o[1]||1;e=["\n ",l(c.gutter,r.replace(/\d/g," "))," ",n,l(c.marker,"^").repeat(s)].join(""),i&&u.message&&(e+=" "+l(c.message,u.message))}return[l(c.marker,">"),l(c.gutter,r),t.length>0?` ${t}`:"",e].join("")}return` ${l(c.gutter,r)}${t.length>0?` ${t}`:""}`})).join("\n");return u.message&&!p&&(E=`${" ".repeat(F+1)}${u.message}\n${E}`),i?a.reset(E):E}})),T={};l(T,{__debug:()=>br,check:()=>yr,doc:()=>tr,format:()=>Cr,formatWithCursor:()=>vr,getSupportInfo:()=>Ar,util:()=>ur,version:()=>or});var x=(t,e,n,r)=>{if(!t||null!=e)return e.replaceAll?e.replaceAll(n,r):n.global?e.replace(n,r):e.split(n).join(r)},O=f(F(),1);function _(t){switch(t){case"cr":return"\r";case"crlf":return"\r\n";default:return"\n"}}function k(t,e){let n;switch(e){case"\n":n=/\n/g;break;case"\r":n=/\r/g;break;case"\r\n":n=/\r\n/g;break;default:throw new Error(`Unexpected "eol" ${JSON.stringify(e)}.`)}let r=t.match(n);return r?r.length:0}var S="string",I="array",N="cursor",R="indent",w="align",B="trim",L="group",P="fill",Z="if-break",M="indent-if-break",j="line-suffix",U="line-suffix-boundary",$="line",W="label",z="break-parent",G=new Set([N,R,w,B,L,P,Z,M,j,U,$,W,z]);var K=function(t){if("string"==typeof t)return S;if(Array.isArray(t))return I;if(!t)return;let{type:e}=t;return G.has(e)?e:void 0};function V(t){let e=null===t?"null":typeof t;if("string"!==e&&"object"!==e)return`Unexpected doc '${e}', \nExpected it to be 'string' or 'object'.`;if(K(t))throw new Error("doc is valid.");let n=Object.prototype.toString.call(t);if("[object Object]"!==n)return`Unexpected doc '${n}'.`;let r=(t=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(t))([...G].map((t=>`'${t}'`)));return`Unexpected doc.type '${t.type}'.\nExpected it to be ${r}.`}var H=class extends Error{name="InvalidDocError";constructor(t){super(V(t)),this.doc=t}},Y=H,q={};var X=function(t,e,n,r){let o=[t];for(;o.length>0;){let t=o.pop();if(t===q){n(o.pop());continue}n&&o.push(t,q);let u=K(t);if(!u)throw new Y(t);if(!1!==(null==e?void 0:e(t)))switch(u){case I:case P:{let e=u===I?t:t.parts;for(let t=e.length-1;t>=0;--t)o.push(e[t]);break}case Z:o.push(t.flatContents,t.breakContents);break;case L:if(r&&t.expandedStates)for(let e=t.expandedStates.length-1;e>=0;--e)o.push(t.expandedStates[e]);else o.push(t.contents);break;case w:case R:case M:case W:case j:o.push(t.contents);break;case S:case N:case B:case U:case $:case z:break;default:throw new Y(t)}}},J=()=>{},Q=J,tt=J;function et(t){return Q(t),{type:R,contents:t}}function nt(t,e){return Q(e),{type:w,contents:e,n:t}}function rt(t,e={}){return Q(t),tt(e.expandedStates,!0),{type:L,id:e.id,contents:t,break:!!e.shouldBreak,expandedStates:e.expandedStates}}function ot(t){return tt(t),{type:P,parts:t}}function ut(t){return Q(t),{type:j,contents:t}}var it={type:U},st={type:z},at={type:B},ct={type:$,hard:!0},lt={type:$,hard:!0,literal:!0},Dt={type:$},ft={type:$,soft:!0},ht=[ct,st],dt=[lt,st],pt={type:N};function Ft(t,e){Q(t),tt(e);let n=[];for(let r=0;r0){for(let t=0;t{if(!t||null!=e)return Array.isArray(e)||"string"==typeof e?e[n<0?e.length+n:n]:e.at(n)};var vt=t=>!(function(t){return 12288===t||t>=65281&&t<=65376||t>=65504&&t<=65510}(t)||function(t){return t>=4352&&t<=4447||8986===t||8987===t||9001===t||9002===t||t>=9193&&t<=9196||9200===t||9203===t||9725===t||9726===t||9748===t||9749===t||t>=9800&&t<=9811||9855===t||9875===t||9889===t||9898===t||9899===t||9917===t||9918===t||9924===t||9925===t||9934===t||9940===t||9962===t||9970===t||9971===t||9973===t||9978===t||9981===t||9989===t||9994===t||9995===t||10024===t||10060===t||10062===t||t>=10067&&t<=10069||10071===t||t>=10133&&t<=10135||10160===t||10175===t||11035===t||11036===t||11088===t||11093===t||t>=11904&&t<=11929||t>=11931&&t<=12019||t>=12032&&t<=12245||t>=12272&&t<=12287||t>=12289&&t<=12350||t>=12353&&t<=12438||t>=12441&&t<=12543||t>=12549&&t<=12591||t>=12593&&t<=12686||t>=12688&&t<=12771||t>=12783&&t<=12830||t>=12832&&t<=12871||t>=12880&&t<=19903||t>=19968&&t<=42124||t>=42128&&t<=42182||t>=43360&&t<=43388||t>=44032&&t<=55203||t>=63744&&t<=64255||t>=65040&&t<=65049||t>=65072&&t<=65106||t>=65108&&t<=65126||t>=65128&&t<=65131||t>=94176&&t<=94180||94192===t||94193===t||t>=94208&&t<=100343||t>=100352&&t<=101589||t>=101632&&t<=101640||t>=110576&&t<=110579||t>=110581&&t<=110587||110589===t||110590===t||t>=110592&&t<=110882||110898===t||t>=110928&&t<=110930||110933===t||t>=110948&&t<=110951||t>=110960&&t<=111355||126980===t||127183===t||127374===t||t>=127377&&t<=127386||t>=127488&&t<=127490||t>=127504&&t<=127547||t>=127552&&t<=127560||127568===t||127569===t||t>=127584&&t<=127589||t>=127744&&t<=127776||t>=127789&&t<=127797||t>=127799&&t<=127868||t>=127870&&t<=127891||t>=127904&&t<=127946||t>=127951&&t<=127955||t>=127968&&t<=127984||127988===t||t>=127992&&t<=128062||128064===t||t>=128066&&t<=128252||t>=128255&&t<=128317||t>=128331&&t<=128334||t>=128336&&t<=128359||128378===t||128405===t||128406===t||128420===t||t>=128507&&t<=128591||t>=128640&&t<=128709||128716===t||t>=128720&&t<=128722||t>=128725&&t<=128727||t>=128732&&t<=128735||128747===t||128748===t||t>=128756&&t<=128764||t>=128992&&t<=129003||129008===t||t>=129292&&t<=129338||t>=129340&&t<=129349||t>=129351&&t<=129535||t>=129648&&t<=129660||t>=129664&&t<=129672||t>=129680&&t<=129725||t>=129727&&t<=129733||t>=129742&&t<=129755||t>=129760&&t<=129768||t>=129776&&t<=129784||t>=131072&&t<=196605||t>=196608&&t<=262141}(t)),Ct=/[^\x20-\x7F]/;var yt=function(t){if(!t)return 0;if(!Ct.test(t))return t.length;t=t.replace(/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC2\uDECE-\uDEDB\uDEE0-\uDEE8]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g," ");let e=0;for(let n of t){let t=n.codePointAt(0);t<=31||t>=127&&t<=159||t>=768&&t<=879||(e+=vt(t)?1:2)}return e},At=t=>{if(Array.isArray(t))return t;if(t.type!==P)throw new Error(`Expect doc to be 'array' or '${P}'.`);return t.parts};function bt(t,e){if("string"==typeof t)return e(t);let n=new Map;return r(t);function r(t){if(n.has(t))return n.get(t);let o=function(t){switch(K(t)){case I:return e(t.map(r));case P:return e({...t,parts:t.parts.map(r)});case Z:return e({...t,breakContents:r(t.breakContents),flatContents:r(t.flatContents)});case L:{let{expandedStates:n,contents:o}=t;return n?(n=n.map(r),o=n[0]):o=r(o),e({...t,contents:o,expandedStates:n})}case w:case R:case M:case W:case j:return e({...t,contents:r(t.contents)});case S:case N:case B:case U:case $:case z:return e(t);default:throw new Y(t)}}(t);return n.set(t,o),o}}function Tt(t,e,n){let r=n,o=!1;return X(t,(function(t){if(o)return!1;let n=e(t);void 0!==n&&(o=!0,r=n)})),r}function xt(t){if(t.type===L&&t.break||t.type===$&&t.hard||t.type===z)return!0}function Ot(t){if(t.length>0){let e=mt(!1,t,-1);!e.expandedStates&&!e.break&&(e.break="propagated")}return null}function _t(t){return t.type!==$||t.hard?t.type===Z?t.flatContents:t:t.soft?"":" "}function kt(t){for(t=[...t];t.length>=2&&mt(!1,t,-2).type===$&&mt(!1,t,-1).type===z;)t.length-=2;if(t.length>0){let e=St(mt(!1,t,-1));t[t.length-1]=e}return t}function St(t){switch(K(t)){case w:case R:case M:case L:case j:case W:{let e=St(t.contents);return{...t,contents:e}}case Z:return{...t,breakContents:St(t.breakContents),flatContents:St(t.flatContents)};case P:return{...t,parts:kt(t.parts)};case I:return kt(t);case S:return t.replace(/[\n\r]*$/,"");case N:case B:case U:case $:case z:break;default:throw new Y(t)}return t}function It(t){return St(function(t){return bt(t,(t=>function(t){switch(K(t)){case P:if(t.parts.every((t=>""===t)))return"";break;case L:if(!(t.contents||t.id||t.break||t.expandedStates))return"";if(t.contents.type===L&&t.contents.id===t.id&&t.contents.break===t.break&&t.contents.expandedStates===t.expandedStates)return t.contents;break;case w:case R:case M:case j:if(!t.contents)return"";break;case Z:if(!t.flatContents&&!t.breakContents)return"";break;case I:{let e=[];for(let n of t){if(!n)continue;let[t,...r]=Array.isArray(n)?n:[n];"string"==typeof t&&"string"==typeof mt(!1,e,-1)?e[e.length-1]+=t:e.push(t),e.push(...r)}return 0===e.length?"":1===e.length?e[0]:e}case S:case N:case B:case U:case $:case W:case z:break;default:throw new Y(t)}return t}(t)))}(t))}function Nt(t){if(t.type===$)return!0}function Rt(t,e){return t.type===W?{...t,contents:e(t.contents)}:e(t)}var wt=Symbol("MODE_BREAK"),Bt=Symbol("MODE_FLAT"),Lt=Symbol("cursor");function Pt(t,e){return Mt(t,{type:"indent"},e)}function Zt(t,e,n){return e===Number.NEGATIVE_INFINITY?t.root||{value:"",length:0,queue:[]}:e<0?Mt(t,{type:"dedent"},n):e?"root"===e.type?{...t,root:t}:Mt(t,{type:"string"==typeof e?"stringAlign":"numberAlign",n:e},n):t}function Mt(t,e,n){let r="dedent"===e.type?t.queue.slice(0,-1):[...t.queue,e],o="",u=0,i=0,s=0;for(let h of r)switch(h.type){case"indent":l(),n.useTabs?a(1):c(n.tabWidth);break;case"stringAlign":l(),o+=h.n,u+=h.n.length;break;case"numberAlign":i+=1,s+=h.n;break;default:throw new Error(`Unexpected type '${h.type}'`)}return D(),{...t,value:o,length:u,queue:r};function a(t){o+="\t".repeat(t),u+=n.tabWidth*t}function c(t){o+=" ".repeat(t),u+=t}function l(){n.useTabs?(i>0&&a(i),f()):D()}function D(){s>0&&c(s),f()}function f(){i=0,s=0}}function jt(t){let e=0,n=0,r=t.length;t:for(;r--;){let o=t[r];if(o!==Lt)for(let n=o.length-1;n>=0;n--){let u=o[n];if(" "!==u&&"\t"!==u){t[r]=o.slice(0,n+1);break t}e++}else n++}if(e>0||n>0)for(t.length=r+1;n-- >0;)t.push(Lt);return e}function Ut(t,e,n,r,o,u){if(n===Number.POSITIVE_INFINITY)return!0;let i=e.length,s=[t],a=[];for(;n>=0;){if(0===s.length){if(0===i)return!0;s.push(e[--i]);continue}let{mode:t,doc:c}=s.pop();switch(K(c)){case S:a.push(c),n-=yt(c);break;case I:case P:{let e=At(c);for(let n=e.length-1;n>=0;n--)s.push({mode:t,doc:e[n]});break}case R:case w:case M:case W:s.push({mode:t,doc:c.contents});break;case B:n+=jt(a);break;case L:{if(u&&c.break)return!1;let e=c.break?wt:t,n=c.expandedStates&&e===wt?mt(!1,c.expandedStates,-1):c.contents;s.push({mode:e,doc:n});break}case Z:{let e=(c.groupId?o[c.groupId]||Bt:t)===wt?c.breakContents:c.flatContents;e&&s.push({mode:t,doc:e});break}case $:if(t===wt||c.hard)return!0;c.soft||(a.push(" "),n--);break;case j:r=!0;break;case U:if(r)return!1}}return!1}function $t(t,e){let n={},r=e.printWidth,o=_(e.endOfLine),u=0,i=[{ind:{value:"",length:0,queue:[]},mode:wt,doc:t}],s=[],a=!1,c=[],l=0;for(function(t){let e=new Set,n=[];X(t,(function(t){if(t.type===z&&Ot(n),t.type===L){if(n.push(t),e.has(t))return!1;e.add(t)}}),(function(t){t.type===L&&n.pop().break&&Ot(n)}),!0)}(t);i.length>0;){let{ind:t,mode:D,doc:f}=i.pop();switch(K(f)){case S:{let t="\n"!==o?x(!1,f,"\n",o):f;s.push(t),i.length>0&&(u+=yt(t));break}case I:for(let e=f.length-1;e>=0;e--)i.push({ind:t,mode:D,doc:f[e]});break;case N:if(l>=2)throw new Error("There are too many 'cursor' in doc.");s.push(Lt),l++;break;case R:i.push({ind:Pt(t,e),mode:D,doc:f.contents});break;case w:i.push({ind:Zt(t,f.n,e),mode:D,doc:f.contents});break;case B:u-=jt(s);break;case L:switch(D){case Bt:if(!a){i.push({ind:t,mode:f.break?wt:Bt,doc:f.contents});break}case wt:{a=!1;let e={ind:t,mode:Bt,doc:f.contents},o=r-u,s=c.length>0;if(!f.break&&Ut(e,i,o,s,n))i.push(e);else if(f.expandedStates){let e=mt(!1,f.expandedStates,-1);if(f.break){i.push({ind:t,mode:wt,doc:e});break}for(let r=1;r=f.expandedStates.length){i.push({ind:t,mode:wt,doc:e});break}{let e=f.expandedStates[r],u={ind:t,mode:Bt,doc:e};if(Ut(u,i,o,s,n)){i.push(u);break}}}}else i.push({ind:t,mode:wt,doc:f.contents});break}}f.id&&(n[f.id]=mt(!1,i,-1).mode);break;case P:{let e=r-u,{parts:o}=f;if(0===o.length)break;let[s,a]=o,l={ind:t,mode:Bt,doc:s},h={ind:t,mode:wt,doc:s},d=Ut(l,[],e,c.length>0,n,!0);if(1===o.length){d?i.push(l):i.push(h);break}let p={ind:t,mode:Bt,doc:a},F={ind:t,mode:wt,doc:a};if(2===o.length){d?i.push(p,l):i.push(F,h);break}o.splice(0,2);let E={ind:t,mode:D,doc:ot(o)},g=o[0];Ut({ind:t,mode:Bt,doc:[s,a,g]},[],e,c.length>0,n,!0)?i.push(E,p,l):d?i.push(E,F,l):i.push(E,F,h);break}case Z:case M:{let e=f.groupId?n[f.groupId]:D;if(e===wt){let e=f.type===Z?f.breakContents:f.negate?f.contents:et(f.contents);e&&i.push({ind:t,mode:D,doc:e})}if(e===Bt){let e=f.type===Z?f.flatContents:f.negate?et(f.contents):f.contents;e&&i.push({ind:t,mode:D,doc:e})}break}case j:c.push({ind:t,mode:D,doc:f.contents});break;case U:c.length>0&&i.push({ind:t,mode:D,doc:ct});break;case $:switch(D){case Bt:if(!f.hard){f.soft||(s.push(" "),u+=1);break}a=!0;case wt:if(c.length>0){i.push({ind:t,mode:D,doc:f},...c.reverse()),c.length=0;break}f.literal?t.root?(s.push(o,t.root.value),u=t.root.length):(s.push(o),u=0):(u-=jt(s),s.push(o+t.value),u=t.length)}break;case W:i.push({ind:t,mode:D,doc:f.contents});break;case z:break;default:throw new Y(f)}0===i.length&&c.length>0&&(i.push(...c.reverse()),c.length=0)}let D=s.indexOf(Lt);if(-1!==D){let t=s.indexOf(Lt,D+1),e=s.slice(0,D).join(""),n=s.slice(D+1,t).join("");return{formatted:e+n+s.slice(t+1).join(""),cursorNodeStart:e.length,cursorNodeText:n}}return{formatted:s.join("")}}var Wt,zt,Gt,Kt,Vt=function(t,e,n=0){let r=0;for(let o=n;o=0;n-=2)if(!Array.isArray(e[n])&&--t<0)return n;return-1},Gt=new WeakSet,Kt=function*(){let{stack:t}=this;for(let e=t.length-3;e>=0;e-=2){let n=t[e];Array.isArray(n)||(yield n)}};var Ht=class{constructor(t){h(this,Wt),h(this,Gt),this.stack=[t]}get key(){let{stack:t,siblings:e}=this;return mt(!1,t,null===e?-2:-4)??null}get index(){return null===this.siblings?null:mt(!1,this.stack,-2)}get node(){return mt(!1,this.stack,-1)}get parent(){return this.getNode(1)}get grandparent(){return this.getNode(2)}get isInArray(){return null!==this.siblings}get siblings(){let{stack:t}=this,e=mt(!1,t,-3);return Array.isArray(e)?e:null}get next(){let{siblings:t}=this;return null===t?null:t[this.index+1]}get previous(){let{siblings:t}=this;return null===t?null:t[this.index-1]}get isFirst(){return 0===this.index}get isLast(){let{siblings:t,index:e}=this;return null!==t&&e===t.length-1}get isRoot(){return 1===this.stack.length}get root(){return this.stack[0]}get ancestors(){return[...d(this,Gt,Kt).call(this)]}getName(){let{stack:t}=this,{length:e}=t;return e>1?mt(!1,t,-2):null}getValue(){return mt(!1,this.stack,-1)}getNode(t=0){let e=d(this,Wt,zt).call(this,t);return-1===e?null:this.stack[e]}getParentNode(t=0){return this.getNode(t+1)}call(t,...e){let{stack:n}=this,{length:r}=n,o=mt(!1,n,-1);for(let u of e)o=o[u],n.push(u,o);try{return t(this)}finally{n.length=r}}callParent(t,e=0){let n=d(this,Wt,zt).call(this,e+1),r=this.stack.splice(n+1);try{return t(this)}finally{this.stack.push(...r)}}each(t,...e){let{stack:n}=this,{length:r}=n,o=mt(!1,n,-1);for(let u of e)o=o[u],n.push(u,o);try{for(let e=0;e{n[r]=t(e,r,o)}),...e),n}match(...t){let e=this.stack.length-1,n=null,r=this.stack[e--];for(let o of t){if(void 0===r)return!1;let t=null;if("number"==typeof n&&(t=n,n=this.stack[e--],r=this.stack[e--]),o&&!o(r,n,t))return!1;n=this.stack[e--],r=this.stack[e--]}return!0}findAncestor(t){for(let e of d(this,Gt,Kt).call(this))if(t(e))return e}hasAncestor(t){for(let e of d(this,Gt,Kt).call(this))if(t(e))return!0;return!1}},Yt=new Proxy((()=>{}),{get:()=>Yt}),qt=Yt;var Xt=function(t){return null!==t&&"object"==typeof t};function*Jt(t,e){let{getVisitorKeys:n,filter:r=(()=>!0)}=e,o=t=>Xt(t)&&r(t);for(let u of n(t)){let e=t[u];if(Array.isArray(e))for(let t of e)o(t)&&(yield t);else o(e)&&(yield e)}}function Qt(t){return(e,n,r)=>{let o=!(null==r||!r.backwards);if(!1===n)return!1;let{length:u}=e,i=n;for(;i>=0&&i0},se=new Set(["tokens","comments","parent","enclosingNode","precedingNode","followingNode"]),ae=t=>Object.keys(t).filter((t=>!se.has(t)));var ce=function(t){return t?e=>t(e,se):ae};function le(t,e){(t.comments??(t.comments=[])).push(e),e.printed=!1,e.nodeDescription=function(t){let e=t.type||t.kind||"(unknown type)",n=String(t.name||t.id&&("object"==typeof t.id?t.id.name:t.id)||t.key&&("object"==typeof t.key?t.key.name:t.key)||t.value&&("object"==typeof t.value?"":String(t.value))||t.operator||"");return n.length>20&&(n=n.slice(0,19)+"\u2026"),e+(n?" "+n:"")}(t)}function De(t,e){e.leading=!0,e.trailing=!1,le(t,e)}function fe(t,e,n){e.leading=!1,e.trailing=!1,n&&(e.marker=n),le(t,e)}function he(t,e){e.leading=!1,e.trailing=!0,le(t,e)}var de=new WeakMap;function pe(t,e){if(de.has(t))return de.get(t);let{printer:{getCommentChildNodes:n,canAttachComment:r,getVisitorKeys:o},locStart:u,locEnd:i}=e;if(!r)return[];let s=((null==n?void 0:n(t,e))??[...Jt(t,{getVisitorKeys:ce(o)})]).flatMap((t=>r(t)?[t]:pe(t,e)));return s.sort(((t,e)=>u(t)-u(e)||i(t)-i(e))),de.set(t,s),s}function Fe(t,e,n,r){let o,u,{locStart:i,locEnd:s}=n,a=i(e),c=s(e),l=pe(t,n),D=0,f=l.length;for(;D>1,r=l[t],h=i(r),d=s(r);if(h<=a&&c<=d)return Fe(r,e,n,r);if(d<=a)o=r,D=t+1;else{if(!(c<=h))throw new Error("Comment location overlaps with node location");u=r,f=t}}if("TemplateLiteral"===(null==r?void 0:r.type)){let{quasis:t}=r,i=ye(t,e,n);o&&ye(t,o,n)!==i&&(o=null),u&&ye(t,u,n)!==i&&(u=null)}return{enclosingNode:r,precedingNode:o,followingNode:u}}var Ee=()=>!1;var ge=t=>!/[\S\n\u2028\u2029]/.test(t);function me(t,e,n,r){let{comment:o,precedingNode:u}=n[r],{locStart:i,locEnd:s}=e,a=i(o);if(u)for(let c=r-1;c>=0;c--){let{comment:e,precedingNode:r}=n[c];if(r!==u||!ge(t.slice(s(e),a)))break;a=i(e)}return ue(t,a,{backwards:!0})}function ve(t,e,n,r){let{comment:o,followingNode:u}=n[r],{locStart:i,locEnd:s}=e,a=s(o);if(u)for(let c=r+1;c0;--u){let{comment:o,precedingNode:c,followingNode:l}=t[u-1];qt.strictEqual(c,i),qt.strictEqual(l,s);let D=e.originalText.slice(e.locEnd(o),a);if(!((null==(r=(n=e.printer).isGap)?void 0:r.call(n,D,e))??/^[\s(]*$/.test(D)))break;a=e.locStart(o)}for(let[c,{comment:l}]of t.entries())c1&&c.comments.sort(((t,n)=>e.locStart(t)-e.locStart(n)));t.length=0}function ye(t,e,n){let r=n.locStart(e)-1;for(let o=1;o!r.has(t))).length)return{leading:"",trailing:""};let o,u=[],i=[];return t.each((()=>{let n=t.node;if(null!=r&&r.has(n))return;let{leading:s,trailing:a}=n;s?u.push(function(t,e){var n;let r=t.node,o=[be(t,e)],{printer:u,originalText:i,locStart:s,locEnd:a}=e;if(null==(n=u.isBlockComment)?void 0:n.call(u,r)){let t=ue(i,a(r))?ue(i,s(r),{backwards:!0})?ht:Dt:" ";o.push(t)}else o.push(ht);let c=oe(i,ee(i,a(r)));return!1!==c&&ue(i,c)&&o.push(ht),o}(t,e)):a&&(o=function(t,e,n){var r;let o=t.node,u=be(t,e),{printer:i,originalText:s,locStart:a}=e,c=null==(r=i.isBlockComment)?void 0:r.call(i,o);if(null!=n&&n.hasLineSuffix&&(null==n||!n.isBlock)||ue(s,a(o),{backwards:!0})){let t=Ae(s,a(o));return{doc:ut([ht,t?ht:"",u]),isBlock:c,hasLineSuffix:!0}}return!c||null!=n&&n.hasLineSuffix?{doc:[ut([" ",u]),st],isBlock:c,hasLineSuffix:!0}:{doc:[" ",u],isBlock:c,hasLineSuffix:!1}}(t,e,o),i.push(o.doc))}),"comments"),{leading:u,trailing:i}}var xe=function(t){return()=>{}},Oe=class extends Error{name="ConfigError"},_e=class extends Error{name="UndefinedParserError"},ke={cursorOffset:{category:"Special",type:"int",default:-1,range:{start:-1,end:1/0,step:1},description:"Print (to stderr) where a cursor at the given position would move to after formatting.",cliCategory:"Editor"},endOfLine:{category:"Global",type:"choice",default:"lf",description:"Which end of line characters to apply.",choices:[{value:"lf",description:"Line Feed only (\\n), common on Linux and macOS as well as inside git repos"},{value:"crlf",description:"Carriage Return + Line Feed characters (\\r\\n), common on Windows"},{value:"cr",description:"Carriage Return character only (\\r), used very rarely"},{value:"auto",description:"Maintain existing\n(mixed values within one file are normalised by looking at what's used after the first line)"}]},filepath:{category:"Special",type:"path",description:"Specify the input filepath. This will be used to do parser inference.",cliName:"stdin-filepath",cliCategory:"Other",cliDescription:"Path to the file to pretend that stdin comes from."},insertPragma:{category:"Special",type:"boolean",default:!1,description:"Insert @format pragma into file's first docblock comment.",cliCategory:"Other"},parser:{category:"Global",type:"choice",default:void 0,description:"Which parser to use.",exception:t=>"string"==typeof t||"function"==typeof t,choices:[{value:"flow",description:"Flow"},{value:"babel",description:"JavaScript"},{value:"babel-flow",description:"Flow"},{value:"babel-ts",description:"TypeScript"},{value:"typescript",description:"TypeScript"},{value:"acorn",description:"JavaScript"},{value:"espree",description:"JavaScript"},{value:"meriyah",description:"JavaScript"},{value:"css",description:"CSS"},{value:"less",description:"Less"},{value:"scss",description:"SCSS"},{value:"json",description:"JSON"},{value:"json5",description:"JSON5"},{value:"jsonc",description:"JSON with Comments"},{value:"json-stringify",description:"JSON.stringify"},{value:"graphql",description:"GraphQL"},{value:"markdown",description:"Markdown"},{value:"mdx",description:"MDX"},{value:"vue",description:"Vue"},{value:"yaml",description:"YAML"},{value:"glimmer",description:"Ember / Handlebars"},{value:"html",description:"HTML"},{value:"angular",description:"Angular"},{value:"lwc",description:"Lightning Web Components"}]},plugins:{type:"path",array:!0,default:[{value:[]}],category:"Global",description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:t=>"string"==typeof t||"object"==typeof t,cliName:"plugin",cliCategory:"Config"},printWidth:{category:"Global",type:"int",default:80,description:"The line length where Prettier will try wrap.",range:{start:0,end:1/0,step:1}},rangeEnd:{category:"Special",type:"int",default:1/0,range:{start:0,end:1/0,step:1},description:"Format code ending at a given character offset (exclusive).\nThe range will extend forwards to the end of the selected statement.",cliCategory:"Editor"},rangeStart:{category:"Special",type:"int",default:0,range:{start:0,end:1/0,step:1},description:"Format code starting at a given character offset.\nThe range will extend backwards to the start of the first line containing the selected statement.",cliCategory:"Editor"},requirePragma:{category:"Special",type:"boolean",default:!1,description:"Require either '@prettier' or '@format' to be present in the file's first docblock comment\nin order for it to be formatted.",cliCategory:"Other"},tabWidth:{type:"int",category:"Global",default:2,description:"Number of spaces per indentation level.",range:{start:0,end:1/0,step:1}},useTabs:{category:"Global",type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{category:"Global",type:"choice",default:"auto",description:"Control how Prettier formats quoted code embedded in the file.",choices:[{value:"auto",description:"Format embedded code if Prettier can automatically identify it."},{value:"off",description:"Never automatically format embedded code."}]}};function Se({plugins:t=[],showDeprecated:e=!1}={}){let n=t.flatMap((t=>t.languages??[])),r=[];for(let o of function(t){let e=[];for(let[n,r]of Object.entries(t)){let t={name:n,...r};Array.isArray(t.default)&&(t.default=mt(!1,t.default,-1).value),e.push(t)}return e}(Object.assign({},...t.map((({options:t})=>t)),ke)))!e&&o.deprecated||(Array.isArray(o.choices)&&(e||(o.choices=o.choices.filter((t=>!t.deprecated))),"parser"===o.name&&(o.choices=[...o.choices,...Ie(o.choices,n,t)])),o.pluginDefaults=Object.fromEntries(t.filter((t=>{var e;return void 0!==(null==(e=t.defaultOptions)?void 0:e[o.name])})).map((t=>[t.name,t.defaultOptions[o.name]]))),r.push(o));return{languages:n,options:r}}function*Ie(t,e,n){let r=new Set(t.map((t=>t.value)));for(let o of e)if(o.parsers)for(let t of o.parsers)if(!r.has(t)){r.add(t);let e=n.find((e=>e.parsers&&Object.prototype.hasOwnProperty.call(e.parsers,t))),u=o.name;null!=e&&e.name&&(u+=` (plugin: ${e.name})`),yield{value:t,description:u}}}var Ne=t=>String(t).split(/[/\\]/).pop();function Re(t,e){if(!e)return;let n=Ne(e).toLowerCase();return t.find((({filenames:t})=>null==t?void 0:t.some((t=>t.toLowerCase()===n))))??t.find((({extensions:t})=>null==t?void 0:t.some((t=>n.endsWith(t)))))}var we=function(t,e){let n=t.plugins.flatMap((t=>t.languages??[])),r=function(t,e){if(e)return t.find((({name:t})=>t.toLowerCase()===e))??t.find((({aliases:t})=>null==t?void 0:t.includes(e)))??t.find((({extensions:t})=>null==t?void 0:t.includes(`.${e}`)))}(n,e.language)??Re(n,e.physicalFile)??Re(n,e.file)??void e.physicalFile;return null==r?void 0:r.parsers[0]},Be={key:t=>/^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(t)?t:JSON.stringify(t),value(t){if(null===t||"object"!=typeof t)return JSON.stringify(t);if(Array.isArray(t))return`[${t.map((t=>Be.value(t))).join(", ")}]`;let e=Object.keys(t);return 0===e.length?"{}":`{ ${e.map((e=>`${Be.key(e)}: ${Be.value(t[e])}`)).join(", ")} }`},pair:({key:t,value:e})=>Be.value({[t]:e})},Le=f(E(),1),Pe=f(E(),1),Ze=Symbol.for("vnopts.VALUE_NOT_EXIST"),Me=Symbol.for("vnopts.VALUE_UNCHANGED"),je=" ".repeat(2);function Ue(t,e,n,r){return[`Invalid ${Pe.default.red(r.key(t))} value.`,`Expected ${Pe.default.blue(n)},`,`but received ${e===Ze?Pe.default.gray("nothing"):Pe.default.red(r.value(e))}.`].join(" ")}function $e({text:t,list:e},n){let r=[];return t&&r.push(`- ${Pe.default.blue(t)}`),e&&r.push([`- ${Pe.default.blue(e.title)}:`].concat(e.values.map((t=>$e(t,n-je.length).replace(/^|\n/g,`$&${je}`)))).join("\n")),We(r,n)}function We(t,e){if(1===t.length)return t[0];let[n,r]=t,[o,u]=t.map((t=>t.split("\n",1)[0].length));return o>e&&o>u?r:n}var ze=f(E(),1),Ge=[],Ke=[];var Ve=(t,e,{descriptor:n,logger:r,schemas:o})=>{let u=[`Ignored unknown option ${ze.default.yellow(n.pair({key:t,value:e}))}.`],i=Object.keys(o).sort().find((e=>function(t,e){if(t===e)return 0;let n=t;t.length>e.length&&(t=e,e=n);let r=t.length,o=e.length;for(;r>0&&t.charCodeAt(~-r)===e.charCodeAt(~-o);)r--,o--;let u=0;for(;us?c>s?s+1:c:c>a?a+1:c;return s}(t,e)<3));i&&u.push(`Did you mean ${ze.default.blue(n.key(i))}?`),r.warn(u.join(" "))},He=["default","expected","validate","deprecated","forward","redirect","overlap","preprocess","postprocess"];var Ye=class{static create(t){return function(t,e){let n=new t(e),r=Object.create(n);for(let o of He)o in e&&(r[o]=qe(e[o],n,Ye.prototype[o].length));return r}(this,t)}constructor(t){this.name=t.name}default(t){}expected(t){return"nothing"}validate(t,e){return!1}deprecated(t,e){return!1}forward(t,e){}redirect(t,e){}overlap(t,e,n){return t}preprocess(t,e){return t}postprocess(t,e){return Me}};function qe(t,e,n){return"function"==typeof t?(...r)=>t(...r.slice(0,n-1),e,...r.slice(n-1)):()=>t}var Xe=class extends Ye{constructor(t){super(t),this._sourceName=t.sourceName}expected(t){return t.schemas[this._sourceName].expected(t)}validate(t,e){return e.schemas[this._sourceName].validate(t,e)}redirect(t,e){return this._sourceName}},Je=class extends Ye{expected(){return"anything"}validate(){return!0}},Qe=class extends Ye{constructor({valueSchema:t,name:e=t.name,...n}){super({...n,name:e}),this._valueSchema=t}expected(t){let{text:e,list:n}=t.normalizeExpectedResult(this._valueSchema.expected(t));return{text:e&&`an array of ${e}`,list:n&&{title:"an array of the following values",values:[{list:n}]}}}validate(t,e){if(!Array.isArray(t))return!1;let n=[];for(let r of t){let t=e.normalizeValidateResult(this._valueSchema.validate(r,e),r);!0!==t&&n.push(t.value)}return 0===n.length||{value:n}}deprecated(t,e){let n=[];for(let r of t){let t=e.normalizeDeprecatedResult(this._valueSchema.deprecated(r,e),r);!1!==t&&n.push(...t.map((({value:t})=>({value:[t]}))))}return n}forward(t,e){let n=[];for(let r of t){let t=e.normalizeForwardResult(this._valueSchema.forward(r,e),r);n.push(...t.map(tn))}return n}redirect(t,e){let n=[],r=[];for(let o of t){let t=e.normalizeRedirectResult(this._valueSchema.redirect(o,e),o);"remain"in t&&n.push(t.remain),r.push(...t.redirect.map(tn))}return 0===n.length?{redirect:r}:{redirect:r,remain:n}}overlap(t,e){return t.concat(e)}};function tn({from:t,to:e}){return{from:[t],to:e}}var en=class extends Ye{expected(){return"true or false"}validate(t){return"boolean"==typeof t}};function nn(t,e){let n=Object.create(null);for(let r of t){let t=r[e];if(n[t])throw new Error(`Duplicate ${e} ${JSON.stringify(t)}`);n[t]=r}return n}function rn(t,e){if(t===e)return 0;let n=typeof t,r=typeof e,o=["undefined","object","boolean","number","string"];return n!==r?o.indexOf(n)-o.indexOf(r):"string"!==n?Number(t)-Number(e):t.localeCompare(e)}function on(t){return void 0===t?{}:t}function un(t){if("string"==typeof t)return{text:t};let{text:e,list:n}=t;return function(t,e){if(!t)throw new Error(e)}(void 0!==(e||n),"Unexpected `expected` result, there should be at least one field."),n?{text:e,list:{title:n.title,values:n.values.map(un)}}:{text:e}}function sn(t,e){return!0===t||(!1===t?{value:e}:t)}function an(t,e,n=!1){return!1!==t&&(!0===t?!!n||[{value:e}]:"value"in t?[t]:0!==t.length&&t)}function cn(t,e){return"string"==typeof t||"key"in t?{from:e,to:t}:"from"in t?{from:t.from,to:t.to}:{from:e,to:t.to}}function ln(t,e){return void 0===t?[]:Array.isArray(t)?t.map((t=>cn(t,e))):[cn(t,e)]}function Dn(t,e){let n=ln("object"==typeof t&&"redirect"in t?t.redirect:t,e);return 0===n.length?{remain:e,redirect:n}:"object"==typeof t&&"remain"in t?{remain:t.remain,redirect:n}:{redirect:n}}var fn,hn=class extends Ye{constructor(t){super(t),this._choices=function(t,e){let n=new Map;for(let r of t){let t=r[e];if(n.has(t))throw new Error(`Duplicate ${e} ${JSON.stringify(t)}`);n.set(t,r)}return n}(t.choices.map((t=>t&&"object"==typeof t?t:{value:t})),"value")}expected({descriptor:t}){let e=Array.from(this._choices.keys()).map((t=>this._choices.get(t))).filter((({hidden:t})=>!t)).map((t=>t.value)).sort(rn).map(t.value),n=e.slice(0,-2),r=e.slice(-2);return{text:n.concat(r.join(" or ")).join(", "),list:{title:"one of the following values",values:e}}}validate(t){return this._choices.has(t)}deprecated(t){let e=this._choices.get(t);return!(!e||!e.deprecated)&&{value:t}}forward(t){let e=this._choices.get(t);return e?e.forward:void 0}redirect(t){let e=this._choices.get(t);return e?e.redirect:void 0}},dn=class extends Ye{expected(){return"a number"}validate(t,e){return"number"==typeof t}},pn=class extends dn{expected(){return"an integer"}validate(t,e){return!0===e.normalizeValidateResult(super.validate(t,e),t)&&function(t){return t===Math.floor(t)}(t)}},Fn=class extends Ye{expected(){return"a string"}validate(t){return"string"==typeof t}},En=Be,gn=Ve,mn=(t,e,n)=>{let{text:r,list:o}=n.normalizeExpectedResult(n.schemas[t].expected(n)),u=[];return r&&u.push(Ue(t,e,r,n.descriptor)),o&&u.push([Ue(t,e,o.title,n.descriptor)].concat(o.values.map((t=>$e(t,n.loggerPrintWidth)))).join("\n")),We(u,n.loggerPrintWidth)},vn=(t,e,{descriptor:n})=>{let r=[`${Le.default.yellow("string"==typeof t?n.key(t):n.pair(t))} is deprecated`];return e&&r.push(`we now treat it as ${Le.default.blue("string"==typeof e?n.key(e):n.pair(e))}`),r.join("; ")+"."},Cn=class{constructor(t,e){let{logger:n=console,loggerPrintWidth:r=80,descriptor:o=En,unknown:u=gn,invalid:i=mn,deprecated:s=vn,missing:a=(()=>!1),required:c=(()=>!1),preprocess:l=(t=>t),postprocess:D=(()=>Me)}=e||{};this._utils={descriptor:o,logger:n||{warn:()=>{}},loggerPrintWidth:r,schemas:nn(t,"name"),normalizeDefaultResult:on,normalizeExpectedResult:un,normalizeDeprecatedResult:an,normalizeForwardResult:ln,normalizeRedirectResult:Dn,normalizeValidateResult:sn},this._unknownHandler=u,this._invalidHandler=function(t){return(...e)=>{let n=t(...e);return"string"==typeof n?new Error(n):n}}(i),this._deprecatedHandler=s,this._identifyMissing=(t,e)=>!(t in e)||a(t,e),this._identifyRequired=c,this._preprocess=l,this._postprocess=D,this.cleanHistory()}cleanHistory(){this._hasDeprecationWarned=function(){let t=Object.create(null);return e=>{let n=JSON.stringify(e);return!!t[n]||(t[n]=!0,!1)}}()}normalize(t){let e={},n=[this._preprocess(t,this._utils)],r=()=>{for(;0!==n.length;){let t=n.shift(),r=this._applyNormalization(t,e);n.push(...r)}};r();for(let o of Object.keys(this._utils.schemas)){let t=this._utils.schemas[o];if(!(o in e)){let e=on(t.default(this._utils));"value"in e&&n.push({[o]:e.value})}}r();for(let o of Object.keys(this._utils.schemas)){if(!(o in e))continue;let t=this._utils.schemas[o],n=e[o],r=t.postprocess(n,this._utils);r!==Me&&(this._applyValidation(r,o,t),e[o]=r)}return this._applyPostprocess(e),this._applyRequiredCheck(e),e}_applyNormalization(t,e){let n=[],{knownKeys:r,unknownKeys:o}=this._partitionOptionKeys(t);for(let u of r){let r=this._utils.schemas[u],o=r.preprocess(t[u],this._utils);this._applyValidation(o,u,r);let i=({from:t,to:e})=>{n.push("string"==typeof e?{[e]:t}:{[e.key]:e.value})},s=({value:t,redirectTo:e})=>{let n=an(r.deprecated(t,this._utils),o,!0);if(!1!==n)if(!0===n)this._hasDeprecationWarned(u)||this._utils.logger.warn(this._deprecatedHandler(u,e,this._utils));else for(let{value:r}of n){let t={key:u,value:r};if(!this._hasDeprecationWarned(t)){let n="string"==typeof e?{key:e,value:r}:e;this._utils.logger.warn(this._deprecatedHandler(t,n,this._utils))}}};ln(r.forward(o,this._utils),o).forEach(i);let a=Dn(r.redirect(o,this._utils),o);if(a.redirect.forEach(i),"remain"in a){let t=a.remain;e[u]=u in e?r.overlap(e[u],t,this._utils):t,s({value:t})}for(let{from:t,to:e}of a.redirect)s({value:t,redirectTo:e})}for(let u of o){let r=t[u];this._applyUnknownHandler(u,r,e,((t,e)=>{n.push({[t]:e})}))}return n}_applyRequiredCheck(t){for(let e of Object.keys(this._utils.schemas))if(this._identifyMissing(e,t)&&this._identifyRequired(e))throw this._invalidHandler(e,Ze,this._utils)}_partitionOptionKeys(t){let[e,n]=function(t,e){let n=[],r=[];for(let o of t)e(o)?n.push(o):r.push(o);return[n,r]}(Object.keys(t).filter((e=>!this._identifyMissing(e,t))),(t=>t in this._utils.schemas));return{knownKeys:e,unknownKeys:n}}_applyValidation(t,e,n){let r=sn(n.validate(t,this._utils),t);if(!0!==r)throw this._invalidHandler(e,r.value,this._utils)}_applyUnknownHandler(t,e,n,r){let o=this._unknownHandler(t,e,this._utils);if(o)for(let u of Object.keys(o)){if(this._identifyMissing(u,o))continue;let t=o[u];u in this._utils.schemas?r(u,t):n[u]=t}}_applyPostprocess(t){let e=this._postprocess(t,this._utils);if(e!==Me){if(e.delete)for(let n of e.delete)delete t[n];if(e.override){let{knownKeys:n,unknownKeys:r}=this._partitionOptionKeys(e.override);for(let o of n){let n=e.override[o];this._applyValidation(n,o,this._utils.schemas[o]),t[o]=n}for(let o of r){let n=e.override[o];this._applyUnknownHandler(o,n,t,((e,n)=>{let r=this._utils.schemas[e];this._applyValidation(n,e,r),t[e]=n}))}}}}};function yn(t,{isCLI:e,optionInfos:n,FlagSchema:r}){let o,{name:u}=t,i={name:u},s={};switch(t.type){case"int":o=pn,e&&(i.preprocess=Number);break;case"string":case"path":o=Fn;break;case"choice":o=hn,i.choices=t.choices.map((e=>null!=e&&e.redirect?{...e,redirect:{to:{key:t.name,value:e.redirect}}}:e));break;case"boolean":o=en;break;case"flag":o=r,i.flags=n.flatMap((t=>[t.alias,t.description&&t.name,t.oppositeDescription&&`no-${t.name}`].filter(Boolean)));break;default:throw new Error(`Unexpected type ${t.type}`)}if(t.exception?i.validate=(e,n,r)=>t.exception(e)||n.validate(e,r):i.validate=(t,e,n)=>void 0===t||e.validate(t,n),t.redirect&&(s.redirect=e=>e?{to:{key:t.redirect.option,value:t.redirect.value}}:void 0),t.deprecated&&(s.deprecated=!0),e&&!t.array){let t=i.preprocess||(t=>t);i.preprocess=(e,n,r)=>n.preprocess(t(Array.isArray(e)?mt(!1,e,-1):e),r)}return t.array?Qe.create({...e?{preprocess:t=>Array.isArray(t)?t:[t]}:{},...s,valueSchema:o.create(i)}):o.create({...i,...s})}var An=function(t,e,{logger:n=!1,isCLI:r=!1,passThrough:o=!1,FlagSchema:u,descriptor:i}={}){if(r){if(!u)throw new Error("'FlagSchema' option is required.");if(!i)throw new Error("'descriptor' option is required.")}else i=Be;let s=o?Array.isArray(o)?(t,e)=>o.includes(t)?{[t]:e}:void 0:(t,e)=>({[t]:e}):(t,e,n)=>{let{_:r,...o}=n.schemas;return Ve(t,e,{...n,schemas:o})},a=function(t,{isCLI:e,FlagSchema:n}){let r=[];e&&r.push(Je.create({name:"_"}));for(let o of t)r.push(yn(o,{isCLI:e,optionInfos:t,FlagSchema:n})),o.alias&&e&&r.push(Xe.create({name:o.alias,sourceName:o.name}));return r}(e,{isCLI:r,FlagSchema:u}),c=new Cn(a,{logger:n,unknown:s,descriptor:i}),l=!1!==n;l&&fn&&(c._hasDeprecationWarned=fn);let D=c.normalize(t);return l&&(fn=c._hasDeprecationWarned),D},bn=(t,e,n)=>{if(!t||null!=e){if(e.findLast)return e.findLast(n);for(let t=e.length-1;t>=0;t--){let r=e[t];if(n(r,t,e))return r}}};function Tn(t,e){if(!e)throw new Error("parserName is required.");let n=bn(!1,t,(t=>t.parsers&&Object.prototype.hasOwnProperty.call(t.parsers,e)));if(n)return n;let r=`Couldn't resolve parser "${e}".`;throw r+=" Plugins must be explicitly added to the standalone bundle.",new Oe(r)}function xn({plugins:t,parser:e}){return On(Tn(t,e),e)}function On(t,e){let n=t.parsers[e];return"function"==typeof n?n():n}var _n={astFormat:"estree",printer:{},originalText:void 0,locStart:null,locEnd:null};var kn=async function(t,e={}){var n;let r={...t};if(!r.parser){if(!r.filepath)throw new _e("No parser and no file path given, couldn't infer a parser.");if(r.parser=we(r,{physicalFile:r.filepath}),!r.parser)throw new _e(`No parser could be inferred for file "${r.filepath}".`)}let o=Se({plugins:t.plugins,showDeprecated:!0}).options,u={..._n,...Object.fromEntries(o.filter((t=>void 0!==t.default)).map((t=>[t.name,t.default])))},i=Tn(r.plugins,r.parser),s=await On(i,r.parser);r.astFormat=s.astFormat,r.locEnd=s.locEnd,r.locStart=s.locStart;let a=null!=(n=i.printers)&&n[s.astFormat]?i:function(t,e){if(!e)throw new Error("astFormat is required.");let n=bn(!1,t,(t=>t.printers&&Object.prototype.hasOwnProperty.call(t.printers,e)));if(n)return n;let r=`Couldn't find plugin for AST format "${e}".`;throw r+=" Plugins must be explicitly added to the standalone bundle.",new Oe(r)}(r.plugins,s.astFormat),c=await function(t,e){let n=t.printers[e];return"function"==typeof n?n():n}(a,s.astFormat);r.printer=c;let l={...u,...a.defaultOptions?Object.fromEntries(Object.entries(a.defaultOptions).filter((([,t])=>void 0!==t))):{}};for(let[D,f]of Object.entries(l))(null===r[D]||void 0===r[D])&&(r[D]=f);return"json"===r.parser&&(r.trailingComma="none"),An(r,o,{passThrough:Object.keys(_n),...e})},Sn=f(b(),1);var In=async function(t,e){let n,r=await xn(e),o=r.preprocess?r.preprocess(t,e):t;e.originalText=o;try{n=await r.parse(o,e,e)}catch(u){!function(t,e){let{loc:n}=t;if(n){let r=(0,Sn.codeFrameColumns)(e,n,{highlightCode:!0});throw t.message+="\n"+r,t.codeFrame=r,t}throw t}(u,t)}return{text:o,ast:n}};async function Nn(t,e,n,r,o){let{embeddedLanguageFormatting:u,printer:{embed:i,hasPrettierIgnore:s=(()=>!1),getVisitorKeys:a}}=n;if(!i||"auto"!==u)return;if(i.length>2)throw new Error("printer.embed has too many parameters. The API changed in Prettier v3. Please update your plugin. See https://prettier.io/docs/en/plugins.html#optional-embed");let c=ce(i.getVisitorKeys??a),l=[];!function e(){let{node:r}=t;if(null===r||"object"!=typeof r||s(t))return;for(let n of c(r))Array.isArray(r[n])?t.each(e,n):t.call(e,n);let u=i(t,n);if(u){if("function"==typeof u)return void l.push({print:u,node:r,pathStack:[...t.stack]});o.set(r,u)}}();let D=t.stack;for(let{print:d,node:p,pathStack:F}of l)try{t.stack=F;let r=await d(f,e,t,n);r&&o.set(p,r)}catch(h){if(globalThis.PRETTIER_DEBUG)throw h}function f(t,e){return async function(t,e,n,r){let o=await kn({...n,...e,parentParser:n.parser,originalText:t},{passThrough:!0}),{ast:u}=await In(t,o),i=await r(u,o);return It(i)}(t,e,n,r)}t.stack=D}var Rn=function(t,e){let{originalText:n,[Symbol.for("comments")]:r,locStart:o,locEnd:u,[Symbol.for("printedComments")]:i}=e,{node:s}=t,a=o(s),c=u(s);for(let l of r)o(l)>=a&&u(l)<=c&&i.add(l);return n.slice(a,c)};async function wn(t,e){({ast:t}=await Ln(t,e));let n=new Map,r=new Ht(t),o=xe(e),u=new Map;await Nn(r,s,e,wn,u);let i=await Bn(r,e,s,void 0,u);return function(t){let{[Symbol.for("comments")]:e,[Symbol.for("printedComments")]:n}=t;for(let r of e){if(!r.printed&&!n.has(r))throw new Error('Comment "'+r.value.trim()+'" was not printed. Please report this error!');delete r.printed}}(e),i;function s(t,e){return void 0===t||t===r?a(e):Array.isArray(t)?r.call((()=>a(e)),...t):r.call((()=>a(e)),t)}function a(t){o(r);let i=r.node;if(null==i)return"";let a=i&&"object"==typeof i&&void 0===t;if(a&&n.has(i))return n.get(i);let c=Bn(r,e,s,t,u);return a&&n.set(i,c),c}}function Bn(t,e,n,r,o){var u;let i,{node:s}=t,{printer:a}=e;return i=null!=(u=a.hasPrettierIgnore)&&u.call(a,t)?Rn(t,e):o.has(s)?o.get(s):a.print(t,e,n,r),s===e.cursorNode&&(i=Rt(i,(t=>[pt,t,pt]))),a.printComment&&(!a.willPrintOwnComments||!a.willPrintOwnComments(t,e))&&(i=function(t,e,n){let{leading:r,trailing:o}=Te(t,n);return r||o?Rt(e,(t=>[r,t,o])):e}(t,i,e)),i}async function Ln(t,e){let n=t.comments??[];e[Symbol.for("comments")]=n,e[Symbol.for("tokens")]=t.tokens??[],e[Symbol.for("printedComments")]=new Set,function(t,e){let{comments:n}=t;if(delete t.comments,!ie(n)||!e.printer.canAttachComment)return;let r=[],{locStart:o,locEnd:u,printer:{experimentalFeatures:{avoidAstMutation:i=!1}={},handleComments:s={}},originalText:a}=e,{ownLine:c=Ee,endOfLine:l=Ee,remaining:D=Ee}=s,f=n.map(((r,o)=>({...Fe(t,r,e),comment:r,text:a,options:e,ast:t,isLastComment:n.length-1===o})));for(let[h,d]of f.entries()){let t,{comment:e,precedingNode:n,enclosingNode:s,followingNode:a,text:p,options:F,ast:E,isLastComment:g}=d;if("json"===F.parser||"json5"===F.parser||"jsonc"===F.parser||"__js_expression"===F.parser||"__ts_expression"===F.parser||"__vue_expression"===F.parser||"__vue_ts_expression"===F.parser){if(o(e)-o(E)<=0){De(E,e);continue}if(u(e)-u(E)>=0){he(E,e);continue}}if(i?t=[d]:(e.enclosingNode=s,e.precedingNode=n,e.followingNode=a,t=[e,p,F,E,g]),me(p,F,f,h))e.placement="ownLine",c(...t)||(a?De(a,e):n?he(n,e):fe(s||E,e));else if(ve(p,F,f,h))e.placement="endOfLine",l(...t)||(n?he(n,e):a?De(a,e):fe(s||E,e));else if(e.placement="remaining",!D(...t))if(n&&a){let t=r.length;t>0&&r[t-1].followingNode!==a&&Ce(r,F),r.push(d)}else n?he(n,e):a?De(a,e):fe(s||E,e)}if(Ce(r,e),!i)for(let h of n)delete h.precedingNode,delete h.enclosingNode,delete h.followingNode}(t,e);let{printer:{preprocess:r}}=e;return{ast:t=r?await r(t,e):t,comments:n}}var Pn=function(t,e){let{cursorOffset:n,locStart:r,locEnd:o}=e,u=ce(e.printer.getVisitorKeys),i=t=>r(t)<=n&&o(t)>=n,s=t;for(let a of function*(t,e){let n=[t];for(let r=0;rt(e,r))).filter(Boolean);let i={},s=new Set(o(e));for(let n in e)!Object.prototype.hasOwnProperty.call(e,n)||u.has(n)||(s.has(n)?i[n]=t(e[n],e):i[n]=e[n]);let a=n(e,i,r);if(null!==a)return a??i}(t)},Mn=({parser:t})=>"json"===t||"json5"===t||"jsonc"===t||"json-stringify"===t;function jn(t){let e=t.length-1;for(;;){let n=t[e];if("Program"!==(null==n?void 0:n.type)&&"File"!==(null==n?void 0:n.type))break;e--}return t.slice(0,e+1)}function Un(t,e,n,r,o=[],u){let{locStart:i,locEnd:s}=n,a=i(t),c=s(t);if(!(e>c||er);let s=t.slice(r,o).search(/\S/),a=-1===s;if(!a)for(r+=s;o>r&&!/\S/.test(t[o-1]);--o);let c,l,D=Un(n,r,e,((t,n)=>zn(e,t,n)),[],"rangeStart"),f=a?D:Un(n,o,e,(t=>zn(e,t)),[],"rangeEnd");if(!D||!f)return{rangeStart:0,rangeEnd:0};if(Mn(e)){let t=function(t,e){let n=[t.node,...t.parentNodes],r=new Set([e.node,...e.parentNodes]);return n.find((t=>$n.has(t.type)&&r.has(t)))}(D,f);c=t,l=t}else({startNode:c,endNode:l}=function(t,e,{locStart:n,locEnd:r}){let o=t.node,u=e.node;if(o===u)return{startNode:o,endNode:u};let i=n(t.node);for(let a of jn(e.parentNodes)){if(!(n(a)>=i))break;u=a}let s=r(e.node);for(let a of jn(t.parentNodes)){if(!(r(a)<=s))break;if(o=a,o===u)break}return{startNode:o,endNode:u}}(D,f,e));return{rangeStart:Math.min(u(c),u(l)),rangeEnd:Math.max(i(c),i(l))}}var Kn="\ufeff",Vn=Symbol("cursor");async function Hn(t,e,n=0){if(!t||0===t.trim().length)return{formatted:"",cursorOffset:-1,comments:[]};let{ast:r,text:o}=await In(t,e);e.cursorOffset>=0&&(e.cursorNode=Pn(r,e));let u=await wn(r,e);n>0&&(u=Et([ht,u],n,e.tabWidth));let i=$t(u,e);if(n>0){let t=i.formatted.trim();void 0!==i.cursorNodeStart&&(i.cursorNodeStart-=i.formatted.indexOf(t)),i.formatted=t+_(e.endOfLine)}let s=e[Symbol.for("comments")];if(e.cursorOffset>=0){let t,n,r,u,a;if(e.cursorNode&&i.cursorNodeText?(t=e.locStart(e.cursorNode),n=o.slice(t,e.locEnd(e.cursorNode)),r=e.cursorOffset-t,u=i.cursorNodeStart,a=i.cursorNodeText):(t=0,n=o,r=e.cursorOffset,u=0,a=i.formatted),n===a)return{formatted:i.formatted,cursorOffset:u+r,comments:s};let c=n.split("");c.splice(r,0,Vn);let l=a.split(""),D=(0,O.diffArrays)(c,l),f=u;for(let e of D)if(e.removed){if(e.value.includes(Vn))break}else f+=e.count;return{formatted:i.formatted,cursorOffset:f,comments:s}}return{formatted:i.formatted,cursorOffset:-1,comments:s}}function Yn(t,e,n){return"number"!=typeof e||Number.isNaN(e)||e<0||e>t.length?n:e}function qn(t,e){let{cursorOffset:n,rangeStart:r,rangeEnd:o}=e;return n=Yn(t,n,-1),r=Yn(t,r,0),o=Yn(t,o,t.length),{...e,cursorOffset:n,rangeStart:r,rangeEnd:o}}function Xn(t,e){let{cursorOffset:n,rangeStart:r,rangeEnd:o,endOfLine:u}=qn(t,e),i=t.charAt(0)===Kn;if(i&&(t=t.slice(1),n--,r--,o--),"auto"===u&&(u=function(t){let e=t.indexOf("\r");return e>=0?"\n"===t.charAt(e+1)?"crlf":"cr":"lf"}(t)),t.includes("\r")){let e=e=>k(t.slice(0,Math.max(e,0)),"\r\n");n-=e(n),r-=e(r),o-=e(o),t=function(t){return x(!1,t,/\r\n?/g,"\n")}(t)}return{hasBOM:i,text:t,options:qn(t,{...e,cursorOffset:n,rangeStart:r,rangeEnd:o,endOfLine:u})}}async function Jn(t,e){let n=await xn(e);return!n.hasPragma||n.hasPragma(t)}async function Qn(t,e){let n,{hasBOM:r,text:o,options:u}=Xn(t,await kn(e));return u.rangeStart>=u.rangeEnd&&""!==o||u.requirePragma&&!await Jn(o,u)?{formatted:t,cursorOffset:e.cursorOffset,comments:[]}:(u.rangeStart>0||u.rangeEndo&&e.cursorOffset<=u?e.cursorOffset-o:-1,endOfLine:"lf"},c),D=l.formatted.trimEnd(),{cursorOffset:f}=e;f>u?f+=D.length-i.length:l.cursorOffset>=0&&(f=l.cursorOffset+o);let h=r.slice(0,o)+D+r.slice(u);if("lf"!==e.endOfLine){let t=_(e.endOfLine);f>=0&&"\r\n"===t&&(f+=k(h.slice(0,f),"\n")),h=x(!1,h,"\n",t)}return{formatted:h,cursorOffset:f,comments:l.comments}}(o,u):(!u.requirePragma&&u.insertPragma&&u.printer.insertPragma&&!await Jn(o,u)&&(o=u.printer.insertPragma(o)),n=await Hn(o,u)),r&&(n.formatted=Kn+n.formatted,n.cursorOffset>=0&&n.cursorOffset++),n)}var tr={};l(tr,{builders:()=>er,printer:()=>nr,utils:()=>rr});var er={join:Ft,line:Dt,softline:ft,hardline:ht,literalline:dt,group:rt,conditionalGroup:function(t,e){return rt(t[0],{...e,expandedStates:t})},fill:ot,lineSuffix:ut,lineSuffixBoundary:it,cursor:pt,breakParent:st,ifBreak:function(t,e="",n={}){return Q(t),""!==e&&Q(e),{type:Z,breakContents:t,flatContents:e,groupId:n.groupId}},trim:at,indent:et,indentIfBreak:function(t,e){return Q(t),{type:M,contents:t,groupId:e.groupId,negate:e.negate}},align:nt,addAlignmentToDoc:Et,markAsRoot:function(t){return nt({type:"root"},t)},dedentToRoot:function(t){return nt(Number.NEGATIVE_INFINITY,t)},dedent:function(t){return nt(-1,t)},hardlineWithoutBreakParent:ct,literallineWithoutBreakParent:lt,label:function(t,e){return Q(e),t?{type:W,label:t,contents:e}:e},concat:t=>t},nr={printDocToString:$t},rr={willBreak:function(t){return Tt(t,xt,!1)},traverseDoc:X,findInDoc:Tt,mapDoc:bt,removeLines:function(t){return bt(t,_t)},stripTrailingHardline:It,replaceEndOfLine:function(t,e=dt){return bt(t,(t=>"string"==typeof t?Ft(e,t.split("\n")):t))},canBreak:function(t){return Tt(t,Nt,!1)}},or="3.2.4",ur={};l(ur,{addDanglingComment:()=>fe,addLeadingComment:()=>De,addTrailingComment:()=>he,getAlignmentSize:()=>Vt,getIndentSize:()=>lr,getMaxContinuousCount:()=>Dr,getNextNonSpaceNonCommentCharacter:()=>fr,getNextNonSpaceNonCommentCharacterIndex:()=>Fr,getStringWidth:()=>yt,hasNewline:()=>ue,hasNewlineInRange:()=>hr,hasSpaces:()=>dr,isNextLineEmpty:()=>gr,isNextLineEmptyAfterIndex:()=>cr,isPreviousLineEmpty:()=>Er,makeString:()=>pr,skip:()=>Qt,skipEverythingButNewLine:()=>re,skipInlineComment:()=>ir,skipNewline:()=>oe,skipSpaces:()=>ee,skipToLineEnd:()=>ne,skipTrailingComment:()=>sr,skipWhitespace:()=>te});var ir=function(t,e){if(!1===e)return!1;if("/"===t.charAt(e)&&"*"===t.charAt(e+1))for(let n=e+2;nMath.max(t,n.length/e.length)),0)};var fr=function(t,e){let n=ar(t,e);return!1===n?"":t.charAt(n)};var hr=function(t,e,n){for(let r=e;ro===r?o:u===e?"\\"+u:u||(n&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(o)?o:"\\"+o)));return e+o+e};function Fr(t,e){return 2===arguments.length||"number"==typeof e?ar(t,e):function(t,e,n){return ar(t,n(e))}(...arguments)}function Er(t,e){return 2===arguments.length||"number"==typeof e?Ae(t,e):function(t,e,n){return Ae(t,n(e))}(...arguments)}function gr(t,e){return 2===arguments.length||"number"==typeof e?cr(t,e):function(t,e,n){return cr(t,n(e))}(...arguments)}function mr(t,e=1){return async(...n)=>{let r=n[e]??{},o=r.plugins??[];return n[e]={...r,plugins:Array.isArray(o)?o:Object.values(o)},t(...n)}}var vr=mr(Qn);async function Cr(t,e){let{formatted:n}=await vr(t,{...e,cursorOffset:-1});return n}async function yr(t,e){return await Cr(t,e)===t}var Ar=mr(Se,0),br={parse:mr((async function(t,e,n){let{text:r,options:o}=Xn(t,await kn(e)),u=await In(r,o);return n&&(n.preprocessForPrint&&(u.ast=await Ln(u.ast,o)),n.massage&&(u.ast=Zn(u.ast,o))),u})),formatAST:mr((async function(t,e){return e=await kn(e),$t(await wn(t,e),e)})),formatDoc:mr((async function(t,e){let n=function(t){let e=Object.create(null),n=new Set;return function t(e,n,o){var u,i;if("string"==typeof e)return JSON.stringify(e);if(Array.isArray(e)){let n=e.map(t).filter(Boolean);return 1===n.length?n[0]:`[${n.join(", ")}]`}if(e.type===$){let t=(null==(u=null==o?void 0:o[n+1])?void 0:u.type)===z;return e.literal?t?"literalline":"literallineWithoutBreakParent":e.hard?t?"hardline":"hardlineWithoutBreakParent":e.soft?"softline":"line"}if(e.type===z)return(null==(i=null==o?void 0:o[n-1])?void 0:i.type)===$&&o[n-1].hard?void 0:"breakParent";if(e.type===B)return"trim";if(e.type===R)return"indent("+t(e.contents)+")";if(e.type===w)return e.n===Number.NEGATIVE_INFINITY?"dedentToRoot("+t(e.contents)+")":e.n<0?"dedent("+t(e.contents)+")":"root"===e.n.type?"markAsRoot("+t(e.contents)+")":"align("+JSON.stringify(e.n)+", "+t(e.contents)+")";if(e.type===Z)return"ifBreak("+t(e.breakContents)+(e.flatContents?", "+t(e.flatContents):"")+(e.groupId?(e.flatContents?"":', ""')+`, { groupId: ${r(e.groupId)} }`:"")+")";if(e.type===M){let n=[];e.negate&&n.push("negate: true"),e.groupId&&n.push(`groupId: ${r(e.groupId)}`);let o=n.length>0?`, { ${n.join(", ")} }`:"";return`indentIfBreak(${t(e.contents)}${o})`}if(e.type===L){let n=[];e.break&&"propagated"!==e.break&&n.push("shouldBreak: true"),e.id&&n.push(`id: ${r(e.id)}`);let o=n.length>0?`, { ${n.join(", ")} }`:"";return e.expandedStates?`conditionalGroup([${e.expandedStates.map((e=>t(e))).join(",")}]${o})`:`group(${t(e.contents)}${o})`}if(e.type===P)return`fill([${e.parts.map((e=>t(e))).join(", ")}])`;if(e.type===j)return"lineSuffix("+t(e.contents)+")";if(e.type===U)return"lineSuffixBoundary";if(e.type===W)return`label(${JSON.stringify(e.label)}, ${t(e.contents)})`;throw new Error("Unknown doc type "+e.type)}(gt(t));function r(t){if("symbol"!=typeof t)return JSON.stringify(String(t));if(t in e)return e[t];let r=t.description||"symbol";for(let o=0;;o++){let u=r+(o>0?` #${o}`:"");if(!n.has(u))return n.add(u),e[t]=`Symbol.for(${JSON.stringify(u)})`}}}(t),{formatted:r}=await Qn(n,{...e,parser:"__js_expression"});return r})),printToDoc:mr((async function(t,e){e=await kn(e);let{ast:n}=await In(t,e);return wn(n,e)})),printDocToString:mr((async function(t,e){return $t(t,await kn(e))}))},Tr=T}}]); \ No newline at end of file diff --git a/assets/js/8926b418.594866b0.js b/assets/js/8926b418.324e8310.js similarity index 99% rename from assets/js/8926b418.594866b0.js rename to assets/js/8926b418.324e8310.js index e4983c56..cde3edbc 100644 --- a/assets/js/8926b418.594866b0.js +++ b/assets/js/8926b418.324e8310.js @@ -1 +1 @@ -"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[998],{9566:(e,t,i)=>{i.r(t),i.d(t,{default:()=>ri});var n=i(6550),r=i(2949),a=i(3764);const s={editor:"editor_P0MV"};var o=i(5893);function l(e){const{colorMode:t}=(0,r.I)();return(0,o.jsx)("div",{className:s.editor,children:(0,o.jsx)(a.ZP,{defaultValue:e.defaultValue,language:"java",options:{readOnly:e.readOnly},theme:"dark"===t?"vs-dark":"light",value:e.value,onChange:e.onChange})})}var c=i(6040),u=i(6961),m=i.n(u),U=i(22),E=i(7429);const d=(e,t)=>{for(let i=0;i{const i=f[e],n=new RegExp(`{{${e}}}`,"g");t=t.replace(n,i)})),t}function R(e,t){f[e]=h(t)}function v(e,t){const i=h(e);return new RegExp(i,t)}R("Digits","[0-9]([0-9_]*[0-9])?"),R("ExponentPart","[eE][+-]?{{Digits}}"),R("HexDigit","[0-9a-fA-F]"),R("HexDigits","{{HexDigit}}(({{HexDigit}}|'_')*{{HexDigit}})?"),R("FloatTypeSuffix","[fFdD]"),R("LineTerminator","(\\x0A|(\\x0D(\\x0A)?))"),R("UnicodeMarker","uu*"),R("UnicodeEscape","\\\\{{UnicodeMarker}}{{HexDigit}}{4}"),R("RawInputCharacter","\\\\{{UnicodeMarker}}[0-9a-fA-F]{4}"),R("UnicodeInputCharacter","({{UnicodeEscape}}|{{RawInputCharacter}})"),R("OctalDigit","[0-7]"),R("ZeroToThree","[0-3]"),R("OctalEscape","\\\\({{OctalDigit}}|{{ZeroToThree}}?{{OctalDigit}}{2})"),R("EscapeSequence","\\\\[bstnfr\"'\\\\]|{{OctalEscape}}"),R("StringCharacter","(?:(?:{{EscapeSequence}})|{{UnicodeInputCharacter}})");const O=(0,U.V3)({name:"Identifier",pattern:{exec:function(e,t){let i=t,n=e.codePointAt(i);for(S.has(n)&&(i++,n>65535&&i++,n=e.codePointAt(i));L.has(n);)i++,n>65535&&i++,n=e.codePointAt(i);return i===t?null:[e.substring(t,i)]}},line_breaks:!1,start_chars_hint:Array.from(S,(e=>String.fromCharCode(e)))}),C=[],y={};function B(e){e.label||("string"==typeof e.pattern?e.label=`'${e.pattern}'`:e.pattern instanceof RegExp&&(e.label=`'${e.name}'`));const t=(0,U.V3)(e);return C.push(t),y[e.name]=t,t}function T(e){return e.longer_alt=O,B(e)}const N=B({name:"RestrictedKeyword",pattern:U.hW.NA}),M=B({name:"Keyword",pattern:U.hW.NA}),g=B({name:"AssignmentOperator",pattern:U.hW.NA}),A=B({name:"BinaryOperator",pattern:U.hW.NA}),x=B({name:"UnaryPrefixOperator",pattern:U.hW.NA}),b=B({name:"UnaryPrefixOperatorNotPlusMinus",pattern:U.hW.NA}),I=B({name:"UnarySuffixOperator",pattern:U.hW.NA}),D=B({name:"Separators",pattern:U.hW.NA});B({name:"WhiteSpace",pattern:v("[\\x09\\x20\\x0C]|{{LineTerminator}}"),group:U.hW.SKIPPED}),B({name:"LineComment",pattern:/\/\/[^\n\r]*/,group:"comments"}),B({name:"TraditionalComment",pattern:/\/\*([^*]|\*(?!\/))*\*\//,group:"comments"}),B({name:"BinaryLiteral",pattern:/0[bB][01]([01_]*[01])?[lL]?/}),B({name:"FloatLiteral",pattern:v("{{Digits}}\\.({{Digits}})?({{ExponentPart}})?({{FloatTypeSuffix}})?|\\.{{Digits}}({{ExponentPart}})?({{FloatTypeSuffix}})?|{{Digits}}{{ExponentPart}}({{FloatTypeSuffix}})?|{{Digits}}({{ExponentPart}})?{{FloatTypeSuffix}}")}),B({name:"OctalLiteral",pattern:/0_*[0-7]([0-7_]*[0-7])?[lL]?/}),B({name:"HexFloatLiteral",pattern:v("0[xX]({{HexDigits}}\\.?|({{HexDigits}})?\\.{{HexDigits}})[pP][+-]?{{Digits}}[fFdD]?")}),B({name:"HexLiteral",pattern:/0[xX][0-9a-fA-F]([0-9a-fA-F_]*[0-9a-fA-F])?[lL]?/}),B({name:"DecimalLiteral",pattern:v("(0|[1-9](_+{{Digits}}|({{Digits}})?))[lL]?")}),B({name:"CharLiteral",pattern:v("'(?:[^\\\\']|(?:(?:{{EscapeSequence}})|{{UnicodeInputCharacter}}))'")}),B({name:"TextBlock",pattern:/"""\s*\n(\\"|\s|.)*?"""/}),B({name:"StringLiteral",pattern:v('"(?:[^\\\\"]|{{StringCharacter}})*"')});P(["open","module","requires","transitive","exports","opens","to","uses","provides","when","with","sealed","non-sealed","permits"]).forEach((e=>{T({name:e[0].toUpperCase()+E(e.substr(1)),pattern:e,categories:[O,N]})}));function P(e){return e.sort(((e,t)=>t.length-e.length))}function k(){return!1===("undefined"!=typeof process&&process.env&&"enabled"===process.env["prettier-java-development-mode"])}P(["abstract","continue","for","new","switch","assert","default","if","package","synchronized","boolean","do","goto","private","this","break","double","implements","protected","throw","byte","else","import","public","throws","case","enum","return","transient","catch","extends","int","short","try","char","final","interface","static","void","class","finally","long","strictfp","volatile","const","float","native","super","while",["_","underscore"]]).forEach((e=>{const t=Array.isArray(e),i=t?e[1]:e,n=t?e[0]:e,r={name:i[0].toUpperCase()+i.substr(1),pattern:n,categories:M};t&&(r.label=`'${i}'`),T(r)})),T({name:"Instanceof",pattern:"instanceof",categories:[M,A]}),T({name:"Var",pattern:"var",categories:O}),T({name:"Yield",pattern:"yield",categories:O}),T({name:"Record",pattern:"record",categories:O}),T({name:"True",pattern:"true"}),T({name:"False",pattern:"false"}),T({name:"Null",pattern:"null"}),B({name:"At",pattern:"@",categories:[D]}),B({name:"Arrow",pattern:"->"}),B({name:"DotDotDot",pattern:"...",categories:[D]}),B({name:"Dot",pattern:".",categories:[D]}),B({name:"Comma",pattern:",",categories:[D]}),B({name:"Semicolon",pattern:";",categories:[D]}),B({name:"ColonColon",pattern:"::",categories:[D]}),B({name:"Colon",pattern:":"}),B({name:"QuestionMark",pattern:"?"}),B({name:"LBrace",pattern:"(",categories:[D]}),B({name:"RBrace",pattern:")",categories:[D]}),B({name:"LCurly",pattern:"{",categories:[D]}),B({name:"RCurly",pattern:"}",categories:[D]}),B({name:"LSquare",pattern:"[",categories:[D]}),B({name:"RSquare",pattern:"]",categories:[D]}),B({name:"MinusMinus",pattern:"--",categories:[x,I,b]}),B({name:"PlusPlus",pattern:"++",categories:[x,I,b]}),B({name:"Complement",pattern:"~",categories:[x,b]}),B({name:"LessEquals",pattern:"<=",categories:[A]}),B({name:"LessLessEquals",pattern:"<<=",categories:[g]}),B({name:"Less",pattern:"<",categories:[A]}),B({name:"GreaterEquals",pattern:">=",categories:[A]}),B({name:"GreaterGreaterEquals",pattern:">>=",categories:[g]}),B({name:"GreaterGreaterGreaterEquals",pattern:">>>=",categories:[g]}),B({name:"Greater",pattern:">",categories:[A]}),B({name:"EqualsEquals",pattern:"==",categories:[A]}),B({name:"Equals",pattern:"=",categories:[A,g]}),B({name:"MinusEquals",pattern:"-=",categories:[g]}),B({name:"Minus",pattern:"-",categories:[A,x]}),B({name:"PlusEquals",pattern:"+=",categories:[g]}),B({name:"Plus",pattern:"+",categories:[A,x]}),B({name:"AndAnd",pattern:"&&",categories:[A]}),B({name:"AndEquals",pattern:"&=",categories:[g]}),B({name:"And",pattern:"&",categories:[A]}),B({name:"XorEquals",pattern:"^=",categories:[g]}),B({name:"Xor",pattern:"^",categories:[A]}),B({name:"NotEquals",pattern:"!=",categories:[A]}),B({name:"OrOr",pattern:"||",categories:[A]}),B({name:"OrEquals",pattern:"|=",categories:[g]}),B({name:"Or",pattern:"|",categories:[A]}),B({name:"MultiplyEquals",pattern:"*=",categories:[g]}),B({name:"Star",pattern:"*",categories:[A]}),B({name:"DivideEquals",pattern:"/=",categories:[g]}),B({name:"Divide",pattern:"/",categories:[A]}),B({name:"ModuloEquals",pattern:"%=",categories:[g]}),B({name:"Modulo",pattern:"%",categories:[A]}),B({name:"Not",pattern:"!",categories:[x,b]}),C.push(O),y.Identifier=O;const V=new U.hW(C,{ensureOptimizations:!0,skipValidations:k()});var w=i(459);function q(e,t){e.RULE("literal",(()=>{e.OR([{ALT:()=>e.SUBRULE(e.integerLiteral)},{ALT:()=>e.SUBRULE(e.floatingPointLiteral)},{ALT:()=>e.SUBRULE(e.booleanLiteral)},{ALT:()=>e.CONSUME(t.CharLiteral)},{ALT:()=>e.CONSUME(t.TextBlock)},{ALT:()=>e.CONSUME(t.StringLiteral)},{ALT:()=>e.CONSUME(t.Null)}])})),e.RULE("integerLiteral",(()=>{e.OR([{ALT:()=>e.CONSUME(t.DecimalLiteral)},{ALT:()=>e.CONSUME(t.HexLiteral)},{ALT:()=>e.CONSUME(t.OctalLiteral)},{ALT:()=>e.CONSUME(t.BinaryLiteral)}])})),e.RULE("floatingPointLiteral",(()=>{e.OR([{ALT:()=>e.CONSUME(t.FloatLiteral)},{ALT:()=>e.CONSUME(t.HexFloatLiteral)}])})),e.RULE("booleanLiteral",(()=>{e.OR([{ALT:()=>e.CONSUME(t.True)},{ALT:()=>e.CONSUME(t.False)}])}))}function Y(e,t){e.RULE("primitiveType",(()=>{e.MANY((()=>{e.SUBRULE(e.annotation)})),e.OR([{ALT:()=>e.SUBRULE(e.numericType)},{ALT:()=>e.CONSUME(t.Boolean)}])})),e.RULE("numericType",(()=>{e.OR([{ALT:()=>e.SUBRULE(e.integralType)},{ALT:()=>e.SUBRULE(e.floatingPointType)}])})),e.RULE("integralType",(()=>{e.OR([{ALT:()=>e.CONSUME(t.Byte)},{ALT:()=>e.CONSUME(t.Short)},{ALT:()=>e.CONSUME(t.Int)},{ALT:()=>e.CONSUME(t.Long)},{ALT:()=>e.CONSUME(t.Char)}])})),e.RULE("floatingPointType",(()=>{e.OR([{ALT:()=>e.CONSUME(t.Float)},{ALT:()=>e.CONSUME(t.Double)}])})),e.RULE("referenceType",(()=>{e.MANY((()=>{e.SUBRULE(e.annotation)})),e.OR({DEF:[{ALT:()=>{e.SUBRULE(e.primitiveType),e.SUBRULE(e.dims)}},{ALT:()=>{e.SUBRULE(e.classOrInterfaceType),e.OPTION((()=>{e.SUBRULE2(e.dims)}))}}],IGNORE_AMBIGUITIES:!0})})),e.RULE("classOrInterfaceType",(()=>{e.SUBRULE(e.classType)})),e.RULE("classType",(()=>{e.MANY((()=>{e.SUBRULE(e.annotation)})),e.CONSUME(t.Identifier),e.OPTION((()=>{e.SUBRULE(e.typeArguments)})),e.MANY2((()=>{e.CONSUME(t.Dot),e.MANY3((()=>{e.SUBRULE2(e.annotation)})),e.CONSUME2(t.Identifier),e.OPTION2((()=>e.SUBRULE2(e.typeArguments)))}))})),e.RULE("interfaceType",(()=>{e.SUBRULE(e.classType)})),e.RULE("typeVariable",(()=>{e.MANY((()=>{e.SUBRULE(e.annotation)})),e.CONSUME(t.Identifier)})),e.RULE("dims",(()=>{e.MANY((()=>{e.SUBRULE(e.annotation)})),e.CONSUME(t.LSquare),e.CONSUME(t.RSquare),e.MANY2({GATE:()=>e.BACKTRACK_LOOKAHEAD(e.isDims),DEF:()=>{e.MANY3((()=>{e.SUBRULE2(e.annotation)})),e.CONSUME2(t.LSquare),e.CONSUME2(t.RSquare)}})})),e.RULE("typeParameter",(()=>{e.MANY((()=>{e.SUBRULE(e.typeParameterModifier)})),e.SUBRULE(e.typeIdentifier),e.OPTION((()=>{e.SUBRULE(e.typeBound)}))})),e.RULE("typeParameterModifier",(()=>{e.SUBRULE(e.annotation)})),e.RULE("typeBound",(()=>{e.CONSUME(t.Extends),e.SUBRULE(e.classOrInterfaceType),e.MANY2((()=>{e.SUBRULE(e.additionalBound)}))})),e.RULE("additionalBound",(()=>{e.CONSUME(t.And),e.SUBRULE(e.interfaceType)})),e.RULE("typeArguments",(()=>{e.CONSUME(t.Less),e.SUBRULE(e.typeArgumentList),e.CONSUME(t.Greater)})),e.RULE("typeArgumentList",(()=>{e.SUBRULE(e.typeArgument),e.MANY((()=>{e.CONSUME(t.Comma),e.SUBRULE2(e.typeArgument)}))})),e.RULE("typeArgument",(()=>{e.OR([{ALT:()=>e.SUBRULE(e.referenceType)},{ALT:()=>e.SUBRULE(e.wildcard)}])})),e.RULE("wildcard",(()=>{e.MANY((()=>{e.SUBRULE(e.annotation)})),e.CONSUME(t.QuestionMark),e.OPTION((()=>{e.SUBRULE(e.wildcardBounds)}))})),e.RULE("wildcardBounds",(()=>{e.OR([{ALT:()=>e.CONSUME(t.Extends)},{ALT:()=>e.CONSUME(t.Super)}]),e.SUBRULE(e.referenceType)}))}function F(e,t){e.RULE("moduleName",(()=>{e.CONSUME(t.Identifier),e.MANY((()=>{e.CONSUME(t.Dot),e.CONSUME2(t.Identifier)}))})),e.RULE("packageName",(()=>{e.CONSUME(t.Identifier),e.MANY((()=>{e.CONSUME(t.Dot),e.CONSUME2(t.Identifier)}))})),e.RULE("typeName",(()=>{e.CONSUME(t.Identifier),e.MANY((()=>{e.CONSUME(t.Dot),e.CONSUME2(t.Identifier)}))})),e.RULE("expressionName",(()=>{e.CONSUME(t.Identifier),e.MANY({GATE:()=>(0,U.ol)(this.LA(2).tokenType,t.Identifier),DEF:()=>{e.CONSUME(t.Dot),e.CONSUME2(t.Identifier)}})})),e.RULE("methodName",(()=>{e.CONSUME(t.Identifier)})),e.RULE("packageOrTypeName",(()=>{e.CONSUME(t.Identifier),e.MANY({GATE:()=>!1===(0,U.ol)(this.LA(2).tokenType,t.Star),DEF:()=>{e.CONSUME(t.Dot),e.CONSUME2(t.Identifier)}})})),e.RULE("ambiguousName",(()=>{e.CONSUME(t.Identifier),e.MANY((()=>{e.CONSUME(t.Dot),e.CONSUME2(t.Identifier)}))}))}function G(e,t){e.RULE("compilationUnit",(()=>{e.OR([{ALT:()=>e.SUBRULE(e.ordinaryCompilationUnit)},{ALT:()=>e.SUBRULE(e.modularCompilationUnit)}]),e.CONSUME(U.sd)})),e.RULE("ordinaryCompilationUnit",(()=>{e.OPTION((()=>e.SUBRULE(e.packageDeclaration))),e.MANY((()=>{e.SUBRULE3(e.importDeclaration)})),e.MANY2((()=>{e.SUBRULE(e.typeDeclaration)}))})),e.RULE("modularCompilationUnit",(()=>{e.MANY((()=>{e.SUBRULE(e.importDeclaration)})),e.SUBRULE(e.moduleDeclaration)})),e.RULE("packageDeclaration",(()=>{e.MANY((()=>{e.SUBRULE(e.packageModifier)})),e.CONSUME(t.Package),e.CONSUME(t.Identifier),e.MANY2((()=>{e.CONSUME(t.Dot),e.CONSUME2(t.Identifier)})),e.CONSUME2(t.Semicolon)})),e.RULE("packageModifier",(()=>{e.SUBRULE(e.annotation)})),e.RULE("importDeclaration",(()=>{e.OR([{ALT:()=>{e.CONSUME(t.Import),e.OPTION((()=>{e.CONSUME(t.Static)})),e.SUBRULE(e.packageOrTypeName),e.OPTION2((()=>{e.CONSUME(t.Dot),e.CONSUME(t.Star)})),e.CONSUME(t.Semicolon)}},{ALT:()=>e.SUBRULE(e.emptyStatement)}])})),e.RULE("typeDeclaration",(()=>{e.OR([{ALT:()=>e.CONSUME(t.Semicolon)},{ALT:()=>e.SUBRULE(e.classDeclaration)},{ALT:()=>e.SUBRULE(e.interfaceDeclaration)},{ALT:()=>e.SUBRULE(e.fieldDeclaration)},{ALT:()=>e.SUBRULE(e.methodDeclaration)}])})),e.RULE("moduleDeclaration",(()=>{e.MANY((()=>{e.SUBRULE(e.annotation)})),e.OPTION((()=>{e.CONSUME(t.Open)})),e.CONSUME(t.Module),e.CONSUME(t.Identifier),e.MANY2((()=>{e.CONSUME(t.Dot),e.CONSUME2(t.Identifier)})),e.CONSUME(t.LCurly),e.MANY3((()=>{e.SUBRULE(e.moduleDirective)})),e.CONSUME(t.RCurly)})),e.RULE("moduleDirective",(()=>{e.OR([{ALT:()=>e.SUBRULE(e.requiresModuleDirective)},{ALT:()=>e.SUBRULE(e.exportsModuleDirective)},{ALT:()=>e.SUBRULE(e.opensModuleDirective)},{ALT:()=>e.SUBRULE(e.usesModuleDirective)},{ALT:()=>e.SUBRULE(e.providesModuleDirective)}])})),e.RULE("requiresModuleDirective",(()=>{e.CONSUME(t.Requires),e.MANY({GATE:()=>!1===((0,U.ol)(e.LA(1).tokenType,t.Transitive)&&(0,U.ol)(e.LA(2).tokenType,t.Separators)),DEF:()=>{e.SUBRULE(e.requiresModifier)}}),e.SUBRULE(e.moduleName),e.CONSUME(t.Semicolon)})),e.RULE("exportsModuleDirective",(()=>{e.CONSUME(t.Exports),e.SUBRULE(e.packageName),e.OPTION((()=>{e.CONSUME(t.To),e.SUBRULE(e.moduleName),e.MANY((()=>{e.CONSUME(t.Comma),e.SUBRULE2(e.moduleName)}))})),e.CONSUME(t.Semicolon)})),e.RULE("opensModuleDirective",(()=>{e.CONSUME(t.Opens),e.SUBRULE(e.packageName),e.OPTION((()=>{e.CONSUME(t.To),e.SUBRULE(e.moduleName),e.MANY((()=>{e.CONSUME(t.Comma),e.SUBRULE2(e.moduleName)}))})),e.CONSUME(t.Semicolon)})),e.RULE("usesModuleDirective",(()=>{e.CONSUME(t.Uses),e.SUBRULE(e.typeName),e.CONSUME(t.Semicolon)})),e.RULE("providesModuleDirective",(()=>{e.CONSUME(t.Provides),e.SUBRULE(e.typeName),e.CONSUME(t.With),e.SUBRULE2(e.typeName),e.MANY((()=>{e.CONSUME(t.Comma),e.SUBRULE3(e.typeName)})),e.CONSUME(t.Semicolon)})),e.RULE("requiresModifier",(()=>{e.OR([{ALT:()=>e.CONSUME(t.Transitive)},{ALT:()=>e.CONSUME(t.Static)}])}))}function j(e,t){e.RULE("classDeclaration",(()=>{e.MANY((()=>{e.SUBRULE(e.classModifier)})),e.OR([{ALT:()=>e.SUBRULE(e.normalClassDeclaration)},{ALT:()=>e.SUBRULE(e.enumDeclaration)},{ALT:()=>e.SUBRULE(e.recordDeclaration)}])})),e.RULE("normalClassDeclaration",(()=>{e.CONSUME(t.Class),e.SUBRULE(e.typeIdentifier),e.OPTION((()=>{e.SUBRULE(e.typeParameters)})),e.OPTION2((()=>{e.SUBRULE(e.superclass)})),e.OPTION3((()=>{e.SUBRULE(e.superinterfaces)})),e.OPTION4((()=>{e.SUBRULE(e.classPermits)})),e.SUBRULE(e.classBody)})),e.RULE("classModifier",(()=>{e.OR([{ALT:()=>e.SUBRULE(e.annotation)},{ALT:()=>e.CONSUME(t.Public)},{ALT:()=>e.CONSUME(t.Protected)},{ALT:()=>e.CONSUME(t.Private)},{ALT:()=>e.CONSUME(t.Abstract)},{ALT:()=>e.CONSUME(t.Static)},{ALT:()=>e.CONSUME(t.Final)},{ALT:()=>e.CONSUME(t.Sealed)},{ALT:()=>e.CONSUME(t.NonSealed)},{ALT:()=>e.CONSUME(t.Strictfp)}])})),e.RULE("typeParameters",(()=>{e.CONSUME(t.Less),e.SUBRULE(e.typeParameterList),e.CONSUME(t.Greater)})),e.RULE("typeParameterList",(()=>{e.SUBRULE(e.typeParameter),e.MANY((()=>{e.CONSUME(t.Comma),e.SUBRULE2(e.typeParameter)}))})),e.RULE("superclass",(()=>{e.CONSUME(t.Extends),e.SUBRULE(e.classType)})),e.RULE("superinterfaces",(()=>{e.CONSUME(t.Implements),e.SUBRULE(e.interfaceTypeList)})),e.RULE("interfaceTypeList",(()=>{e.SUBRULE(e.interfaceType),e.MANY((()=>{e.CONSUME(t.Comma),e.SUBRULE2(e.interfaceType)}))})),e.RULE("classPermits",(()=>{e.CONSUME(t.Permits),e.SUBRULE(e.typeName),e.MANY((()=>{e.CONSUME(t.Comma),e.SUBRULE2(e.typeName)}))})),e.RULE("classBody",(()=>{e.CONSUME(t.LCurly),e.MANY((()=>{e.SUBRULE(e.classBodyDeclaration)})),e.CONSUME(t.RCurly)})),e.RULE("classBodyDeclaration",(()=>{e.OR([{ALT:()=>e.SUBRULE(e.classMemberDeclaration)},{ALT:()=>e.SUBRULE(e.instanceInitializer)},{ALT:()=>e.SUBRULE(e.staticInitializer)},{ALT:()=>e.SUBRULE(e.constructorDeclaration)}])})),e.RULE("classMemberDeclaration",(()=>{e.OR([{ALT:()=>e.SUBRULE(e.fieldDeclaration)},{ALT:()=>e.SUBRULE(e.methodDeclaration)},{ALT:()=>e.SUBRULE(e.classDeclaration)},{ALT:()=>e.SUBRULE(e.interfaceDeclaration)},{ALT:()=>e.CONSUME(t.Semicolon)}])})),e.RULE("fieldDeclaration",(()=>{e.MANY((()=>{e.SUBRULE(e.fieldModifier)})),e.SUBRULE(e.unannType),e.SUBRULE(e.variableDeclaratorList),e.CONSUME(t.Semicolon)})),e.RULE("fieldModifier",(()=>{e.OR([{ALT:()=>e.SUBRULE(e.annotation)},{ALT:()=>e.CONSUME(t.Public)},{ALT:()=>e.CONSUME(t.Protected)},{ALT:()=>e.CONSUME(t.Private)},{ALT:()=>e.CONSUME(t.Static)},{ALT:()=>e.CONSUME(t.Final)},{ALT:()=>e.CONSUME(t.Transient)},{ALT:()=>e.CONSUME(t.Volatile)}])})),e.RULE("variableDeclaratorList",(()=>{e.SUBRULE(e.variableDeclarator),e.MANY({GATE:()=>!(0,U.ol)(this.LA(3).tokenType,t.Identifier),DEF:()=>{e.CONSUME(t.Comma),e.SUBRULE2(e.variableDeclarator)}})})),e.RULE("variableDeclarator",(()=>{e.SUBRULE(e.variableDeclaratorId),e.OPTION((()=>{e.CONSUME(t.Equals),e.SUBRULE(e.variableInitializer)}))})),e.RULE("variableDeclaratorId",(()=>{e.OR([{ALT:()=>{e.CONSUME(t.Identifier),e.OPTION((()=>{e.SUBRULE(e.dims)}))}},{ALT:()=>e.CONSUME(t.Underscore)}])})),e.RULE("variableInitializer",(()=>{e.OR([{ALT:()=>e.SUBRULE(e.expression)},{ALT:()=>e.SUBRULE(e.arrayInitializer)}])})),e.RULE("unannType",(()=>{e.OR([{ALT:()=>e.SUBRULE(e.unannPrimitiveTypeWithOptionalDimsSuffix)},{ALT:()=>e.SUBRULE(e.unannReferenceType)}])})),e.RULE("unannPrimitiveTypeWithOptionalDimsSuffix",(()=>{e.SUBRULE(e.unannPrimitiveType),e.OPTION({GATE:()=>this.BACKTRACK_LOOKAHEAD(e.isDims),DEF:()=>e.SUBRULE2(e.dims)})})),e.RULE("unannPrimitiveType",(()=>{e.OR([{ALT:()=>e.SUBRULE(e.numericType)},{ALT:()=>e.CONSUME(t.Boolean)}])})),e.RULE("unannReferenceType",(()=>{e.SUBRULE(e.unannClassOrInterfaceType),e.OPTION({GATE:()=>this.BACKTRACK_LOOKAHEAD(e.isDims),DEF:()=>e.SUBRULE2(e.dims)})})),e.RULE("unannClassOrInterfaceType",(()=>{e.SUBRULE(e.unannClassType)})),e.RULE("unannClassType",(()=>{e.CONSUME(t.Identifier),e.OPTION((()=>{e.SUBRULE(e.typeArguments)})),e.MANY2((()=>{e.CONSUME(t.Dot),e.MANY3((()=>{e.SUBRULE2(e.annotation)})),e.CONSUME2(t.Identifier),e.OPTION2((()=>{e.SUBRULE2(e.typeArguments)}))}))})),e.RULE("unannInterfaceType",(()=>{e.SUBRULE(e.unannClassType)})),e.RULE("unannTypeVariable",(()=>{e.CONSUME(t.Identifier)})),e.RULE("methodDeclaration",(()=>{e.MANY((()=>{e.SUBRULE(e.methodModifier)})),e.SUBRULE(e.methodHeader),e.SUBRULE(e.methodBody)})),e.RULE("methodModifier",(()=>{e.OR([{ALT:()=>e.SUBRULE(e.annotation)},{ALT:()=>e.CONSUME(t.Public)},{ALT:()=>e.CONSUME(t.Protected)},{ALT:()=>e.CONSUME(t.Private)},{ALT:()=>e.CONSUME(t.Abstract)},{ALT:()=>e.CONSUME(t.Static)},{ALT:()=>e.CONSUME(t.Final)},{ALT:()=>e.CONSUME(t.Synchronized)},{ALT:()=>e.CONSUME(t.Native)},{ALT:()=>e.CONSUME(t.Strictfp)}])})),e.RULE("methodHeader",(()=>{e.OPTION((()=>{e.SUBRULE(e.typeParameters),e.MANY((()=>{e.SUBRULE(e.annotation)}))})),e.SUBRULE(e.result),e.SUBRULE(e.methodDeclarator),e.OPTION2((()=>{e.SUBRULE(e.throws)}))})),e.RULE("result",(()=>{e.OR([{ALT:()=>e.SUBRULE(e.unannType)},{ALT:()=>e.CONSUME(t.Void)}])})),e.RULE("methodDeclarator",(()=>{e.CONSUME(t.Identifier),e.CONSUME(t.LBrace),e.OPTION((()=>{e.SUBRULE(e.formalParameterList)})),e.CONSUME(t.RBrace),e.OPTION2((()=>{e.SUBRULE(e.dims)}))})),e.RULE("receiverParameter",(()=>{e.MANY((()=>{e.SUBRULE(e.annotation)})),e.SUBRULE(e.unannType),e.OPTION((()=>{e.CONSUME(t.Identifier),e.CONSUME(t.Dot)})),e.CONSUME(t.This)})),e.RULE("formalParameterList",(()=>{e.SUBRULE(e.formalParameter),e.MANY((()=>{e.CONSUME(t.Comma),e.SUBRULE2(e.formalParameter)}))})),e.RULE("formalParameter",(()=>{e.OR([{ALT:()=>e.SUBRULE(e.variableParaRegularParameter)},{ALT:()=>e.SUBRULE(e.variableArityParameter)}])})),e.RULE("variableParaRegularParameter",(()=>{e.MANY((()=>{e.SUBRULE(e.variableModifier)})),e.SUBRULE(e.unannType),e.SUBRULE(e.variableDeclaratorId)})),e.RULE("variableArityParameter",(()=>{e.MANY((()=>{e.SUBRULE(e.variableModifier)})),e.SUBRULE(e.unannType),e.MANY2((()=>{e.SUBRULE(e.annotation)})),e.CONSUME(t.DotDotDot),e.CONSUME(t.Identifier)})),e.RULE("variableModifier",(()=>{e.OR([{ALT:()=>e.SUBRULE(e.annotation)},{ALT:()=>e.CONSUME(t.Final)}])})),e.RULE("throws",(()=>{e.CONSUME(t.Throws),e.SUBRULE(e.exceptionTypeList)})),e.RULE("exceptionTypeList",(()=>{e.SUBRULE(e.exceptionType),e.MANY((()=>{e.CONSUME(t.Comma),e.SUBRULE2(e.exceptionType)}))})),e.RULE("exceptionType",(()=>{e.SUBRULE(e.classType)})),e.RULE("methodBody",(()=>{e.OR([{ALT:()=>e.SUBRULE(e.block)},{ALT:()=>e.CONSUME(t.Semicolon)}])})),e.RULE("instanceInitializer",(()=>{e.SUBRULE(e.block)})),e.RULE("staticInitializer",(()=>{e.CONSUME(t.Static),e.SUBRULE(e.block)})),e.RULE("constructorDeclaration",(()=>{e.MANY((()=>{e.SUBRULE(e.constructorModifier)})),e.SUBRULE(e.constructorDeclarator),e.OPTION((()=>{e.SUBRULE(e.throws)})),e.SUBRULE(e.constructorBody)})),e.RULE("constructorModifier",(()=>{e.OR([{ALT:()=>e.SUBRULE(e.annotation)},{ALT:()=>e.CONSUME(t.Public)},{ALT:()=>e.CONSUME(t.Protected)},{ALT:()=>e.CONSUME(t.Private)}])})),e.RULE("constructorDeclarator",(()=>{e.OPTION((()=>{e.SUBRULE(e.typeParameters)})),e.SUBRULE(e.simpleTypeName),e.CONSUME(t.LBrace),e.OPTION2((()=>{e.SUBRULE(e.receiverParameter),e.CONSUME(t.Comma)})),e.OPTION3((()=>{e.SUBRULE(e.formalParameterList)})),e.CONSUME(t.RBrace)})),e.RULE("simpleTypeName",(()=>{e.CONSUME(t.Identifier)})),e.RULE("constructorBody",(()=>{e.CONSUME(t.LCurly),e.OPTION((()=>{e.SUBRULE(e.explicitConstructorInvocation)})),e.OPTION2((()=>{e.SUBRULE(e.blockStatements)})),e.CONSUME(t.RCurly)})),e.RULE("explicitConstructorInvocation",(()=>{e.OR([{ALT:()=>e.SUBRULE(e.unqualifiedExplicitConstructorInvocation)},{ALT:()=>e.SUBRULE(e.qualifiedExplicitConstructorInvocation)}])})),e.RULE("unqualifiedExplicitConstructorInvocation",(()=>{e.OPTION((()=>{e.SUBRULE(e.typeArguments)})),e.OR([{ALT:()=>e.CONSUME(t.This)},{ALT:()=>e.CONSUME(t.Super)}]),e.CONSUME(t.LBrace),e.OPTION2((()=>{e.SUBRULE(e.argumentList)})),e.CONSUME(t.RBrace),e.CONSUME(t.Semicolon)})),e.RULE("qualifiedExplicitConstructorInvocation",(()=>{e.SUBRULE(e.expressionName),e.CONSUME(t.Dot),e.OPTION((()=>{e.SUBRULE(e.typeArguments)})),e.CONSUME(t.Super),e.CONSUME(t.LBrace),e.OPTION2((()=>{e.SUBRULE(e.argumentList)})),e.CONSUME(t.RBrace),e.CONSUME(t.Semicolon)})),e.RULE("enumDeclaration",(()=>{e.MANY((()=>{e.SUBRULE(e.classModifier)})),e.CONSUME(t.Enum),e.SUBRULE(e.typeIdentifier),e.OPTION((()=>{e.SUBRULE(e.superinterfaces)})),e.SUBRULE(e.enumBody)})),e.RULE("enumBody",(()=>{e.CONSUME(t.LCurly),e.OPTION((()=>{e.SUBRULE(e.enumConstantList)})),e.OPTION2((()=>{e.CONSUME(t.Comma)})),e.OPTION3((()=>{e.SUBRULE(e.enumBodyDeclarations)})),e.CONSUME(t.RCurly)})),e.RULE("enumConstantList",(()=>{e.SUBRULE(e.enumConstant),e.MANY({GATE:()=>{const i=e.LA(2);return(0,U.ol)(i,t.Identifier)||(0,U.ol)(i,t.At)},DEF:()=>{e.CONSUME(t.Comma),e.SUBRULE2(e.enumConstant)}})})),e.RULE("enumConstant",(()=>{e.MANY((()=>{e.SUBRULE(e.enumConstantModifier)})),e.CONSUME(t.Identifier),e.OPTION((()=>{e.CONSUME(t.LBrace),e.OPTION2((()=>{e.SUBRULE(e.argumentList)})),e.CONSUME(t.RBrace)})),e.OPTION3((()=>{e.SUBRULE(e.classBody)}))})),e.RULE("enumConstantModifier",(()=>{e.SUBRULE(e.annotation)})),e.RULE("enumBodyDeclarations",(()=>{e.CONSUME(t.Semicolon),e.MANY((()=>{e.SUBRULE(e.classBodyDeclaration)}))})),e.RULE("recordDeclaration",(()=>{e.CONSUME(t.Record),e.SUBRULE(e.typeIdentifier),e.OPTION((()=>{e.SUBRULE(e.typeParameters)})),e.SUBRULE(e.recordHeader),e.OPTION2((()=>{e.SUBRULE(e.superinterfaces)})),e.SUBRULE(e.recordBody)})),e.RULE("recordHeader",(()=>{e.CONSUME(t.LBrace),e.OPTION((()=>{e.SUBRULE(e.recordComponentList)})),e.CONSUME(t.RBrace)})),e.RULE("recordComponentList",(()=>{e.SUBRULE(e.recordComponent),e.MANY((()=>{e.CONSUME(t.Comma),e.SUBRULE2(e.recordComponent)}))})),e.RULE("recordComponent",(()=>{e.MANY((()=>{e.SUBRULE(e.recordComponentModifier)})),e.SUBRULE(e.unannType),e.OR([{ALT:()=>e.CONSUME(t.Identifier)},{ALT:()=>e.SUBRULE(e.variableArityRecordComponent)}])})),e.RULE("variableArityRecordComponent",(()=>{e.MANY((()=>{e.SUBRULE(e.annotation)})),e.CONSUME(t.DotDotDot),e.CONSUME(t.Identifier)})),e.RULE("recordComponentModifier",(()=>{e.SUBRULE(e.annotation)})),e.RULE("recordBody",(()=>{e.CONSUME(t.LCurly),e.MANY((()=>{e.SUBRULE(e.recordBodyDeclaration)})),e.CONSUME(t.RCurly)})),e.RULE("recordBodyDeclaration",(()=>{e.OR([{ALT:()=>e.SUBRULE(e.compactConstructorDeclaration)},{ALT:()=>e.SUBRULE(e.classBodyDeclaration)}])})),e.RULE("compactConstructorDeclaration",(()=>{e.MANY((()=>{e.SUBRULE(e.constructorModifier)})),e.SUBRULE(e.simpleTypeName),e.SUBRULE(e.constructorBody)})),e.RULE("isDims",(()=>(e.MANY(e.annotation),(0,U.ol)(this.LA(1).tokenType,t.LSquare)&&(0,U.ol)(this.LA(2).tokenType,t.RSquare))))}function z(e,t){e.RULE("interfaceDeclaration",(()=>{e.MANY((()=>{e.SUBRULE(e.interfaceModifier)})),e.OR([{ALT:()=>e.SUBRULE(e.normalInterfaceDeclaration)},{ALT:()=>e.SUBRULE(e.annotationTypeDeclaration)}])})),e.RULE("normalInterfaceDeclaration",(()=>{e.CONSUME(t.Interface),e.SUBRULE(e.typeIdentifier),e.OPTION((()=>{e.SUBRULE(e.typeParameters)})),e.OPTION2((()=>{e.SUBRULE(e.extendsInterfaces)})),e.OPTION3((()=>{e.SUBRULE(e.interfacePermits)})),e.SUBRULE(e.interfaceBody)})),e.RULE("interfaceModifier",(()=>{e.OR([{ALT:()=>e.SUBRULE(e.annotation)},{ALT:()=>e.CONSUME(t.Public)},{ALT:()=>e.CONSUME(t.Protected)},{ALT:()=>e.CONSUME(t.Private)},{ALT:()=>e.CONSUME(t.Abstract)},{ALT:()=>e.CONSUME(t.Static)},{ALT:()=>e.CONSUME(t.Sealed)},{ALT:()=>e.CONSUME(t.NonSealed)},{ALT:()=>e.CONSUME(t.Strictfp)}])})),e.RULE("extendsInterfaces",(()=>{e.CONSUME(t.Extends),e.SUBRULE(e.interfaceTypeList)})),e.RULE("interfacePermits",(()=>{e.CONSUME(t.Permits),e.SUBRULE(e.typeName),e.MANY((()=>{e.CONSUME(t.Comma),e.SUBRULE2(e.typeName)}))})),e.RULE("interfaceBody",(()=>{e.CONSUME(t.LCurly),e.MANY((()=>{e.SUBRULE(e.interfaceMemberDeclaration)})),e.CONSUME(t.RCurly)})),e.RULE("interfaceMemberDeclaration",(()=>{e.OR([{ALT:()=>e.SUBRULE(e.constantDeclaration)},{ALT:()=>e.SUBRULE(e.interfaceMethodDeclaration)},{ALT:()=>e.SUBRULE(e.classDeclaration)},{ALT:()=>e.SUBRULE(e.interfaceDeclaration)},{ALT:()=>e.CONSUME(t.Semicolon)}])})),e.RULE("constantDeclaration",(()=>{e.MANY((()=>{e.SUBRULE(e.constantModifier)})),e.SUBRULE(e.unannType),e.SUBRULE(e.variableDeclaratorList),e.CONSUME(t.Semicolon)})),e.RULE("constantModifier",(()=>{e.OR([{ALT:()=>e.SUBRULE(e.annotation)},{ALT:()=>e.CONSUME(t.Public)},{ALT:()=>e.CONSUME(t.Static)},{ALT:()=>e.CONSUME(t.Final)}])})),e.RULE("interfaceMethodDeclaration",(()=>{e.MANY((()=>{e.SUBRULE(e.interfaceMethodModifier)})),e.SUBRULE(e.methodHeader),e.SUBRULE(e.methodBody)})),e.RULE("interfaceMethodModifier",(()=>{e.OR([{ALT:()=>e.SUBRULE(e.annotation)},{ALT:()=>e.CONSUME(t.Public)},{ALT:()=>e.CONSUME(t.Private)},{ALT:()=>e.CONSUME(t.Abstract)},{ALT:()=>e.CONSUME(t.Default)},{ALT:()=>e.CONSUME(t.Static)},{ALT:()=>e.CONSUME(t.Strictfp)}])})),e.RULE("annotationTypeDeclaration",(()=>{e.CONSUME(t.At),e.CONSUME(t.Interface),e.SUBRULE(e.typeIdentifier),e.SUBRULE(e.annotationTypeBody)})),e.RULE("annotationTypeBody",(()=>{e.CONSUME(t.LCurly),e.MANY((()=>{e.SUBRULE(e.annotationTypeMemberDeclaration)})),e.CONSUME(t.RCurly)})),e.RULE("annotationTypeMemberDeclaration",(()=>{e.OR([{ALT:()=>e.SUBRULE(e.annotationTypeElementDeclaration)},{ALT:()=>e.SUBRULE(e.constantDeclaration)},{ALT:()=>e.SUBRULE(e.classDeclaration)},{ALT:()=>e.SUBRULE(e.interfaceDeclaration)},{ALT:()=>e.CONSUME(t.Semicolon)}])})),e.RULE("annotationTypeElementDeclaration",(()=>{e.MANY((()=>{e.SUBRULE(e.annotationTypeElementModifier)})),e.SUBRULE(e.unannType),e.CONSUME(t.Identifier),e.CONSUME(t.LBrace),e.CONSUME(t.RBrace),e.OPTION((()=>{e.SUBRULE(e.dims)})),e.OPTION2((()=>{e.SUBRULE(e.defaultValue)})),e.CONSUME(t.Semicolon)})),e.RULE("annotationTypeElementModifier",(()=>{e.OR([{ALT:()=>e.SUBRULE(e.annotation)},{ALT:()=>e.CONSUME(t.Public)},{ALT:()=>e.CONSUME(t.Abstract)}])})),e.RULE("defaultValue",(()=>{e.CONSUME(t.Default),e.SUBRULE(e.elementValue)})),e.RULE("annotation",(()=>{e.CONSUME(t.At),e.SUBRULE(e.typeName),e.OPTION((()=>{e.CONSUME(t.LBrace),e.OR({DEF:[{ALT:()=>e.SUBRULE(e.elementValuePairList)},{ALT:()=>e.SUBRULE(e.elementValue)},{ALT:()=>{}}],IGNORE_AMBIGUITIES:!0}),e.CONSUME(t.RBrace)}))})),e.RULE("elementValuePairList",(()=>{e.SUBRULE(e.elementValuePair),e.MANY((()=>{e.CONSUME(t.Comma),e.SUBRULE2(e.elementValuePair)}))})),e.RULE("elementValuePair",(()=>{e.CONSUME(t.Identifier),e.CONSUME(t.Equals),e.SUBRULE(e.elementValue)})),e.RULE("elementValue",(()=>{e.OR([{ALT:()=>e.SUBRULE(e.expression)},{ALT:()=>e.SUBRULE(e.elementValueArrayInitializer)},{ALT:()=>e.SUBRULE(e.annotation)}])})),e.RULE("elementValueArrayInitializer",(()=>{e.CONSUME(t.LCurly),e.OPTION((()=>{e.SUBRULE(e.elementValueList)})),e.OPTION2((()=>{e.CONSUME(t.Comma)})),e.CONSUME(t.RCurly)})),e.RULE("elementValueList",(()=>{e.SUBRULE(e.elementValue),e.MANY({GATE:()=>!1===(0,U.ol)(e.LA(2).tokenType,t.RCurly),DEF:()=>{e.CONSUME(t.Comma),e.SUBRULE2(e.elementValue)}})}))}function W(e,t){e.RULE("arrayInitializer",(()=>{e.CONSUME(t.LCurly),e.OPTION((()=>{e.SUBRULE(e.variableInitializerList)})),e.OPTION2((()=>{e.CONSUME(t.Comma)})),e.CONSUME(t.RCurly)})),e.RULE("variableInitializerList",(()=>{e.SUBRULE(e.variableInitializer),e.MANY({GATE:()=>!1===(0,U.ol)(this.LA(2).tokenType,t.RCurly),DEF:()=>{e.CONSUME(t.Comma),e.SUBRULE2(e.variableInitializer)}})}))}function _(e,t){e.RULE("block",(()=>{e.CONSUME(t.LCurly),e.OPTION((()=>{e.SUBRULE(e.blockStatements)})),e.CONSUME(t.RCurly)})),e.RULE("blockStatements",(()=>{e.SUBRULE(e.blockStatement),e.MANY((()=>{e.SUBRULE2(e.blockStatement)}))})),e.RULE("blockStatement",(()=>{e.OR({DEF:[{ALT:()=>e.SUBRULE(e.localVariableDeclarationStatement)},{ALT:()=>e.SUBRULE(e.classDeclaration)},{ALT:()=>e.SUBRULE(e.interfaceDeclaration)},{ALT:()=>e.SUBRULE(e.statement)}],IGNORE_AMBIGUITIES:!0})})),e.RULE("localVariableDeclarationStatement",(()=>{e.SUBRULE(e.localVariableDeclaration),e.CONSUME(t.Semicolon)})),e.RULE("localVariableDeclaration",(()=>{e.MANY((()=>{e.SUBRULE(e.variableModifier)})),e.SUBRULE(e.localVariableType),e.SUBRULE(e.variableDeclaratorList)})),e.RULE("localVariableType",(()=>{e.OR({DEF:[{ALT:()=>e.SUBRULE(e.unannType)},{ALT:()=>e.CONSUME(t.Var)}],IGNORE_AMBIGUITIES:!0})})),e.RULE("statement",(()=>{e.OR([{ALT:()=>e.SUBRULE(e.statementWithoutTrailingSubstatement)},{ALT:()=>e.SUBRULE(e.labeledStatement)},{ALT:()=>e.SUBRULE(e.ifStatement)},{ALT:()=>e.SUBRULE(e.whileStatement)},{ALT:()=>e.SUBRULE(e.forStatement)}])})),e.RULE("statementWithoutTrailingSubstatement",(()=>{e.OR({DEF:[{ALT:()=>e.SUBRULE(e.block)},{ALT:()=>e.SUBRULE(e.yieldStatement)},{ALT:()=>e.SUBRULE(e.emptyStatement)},{GATE:()=>!(0,U.ol)(this.LA(1).tokenType,t.Switch),ALT:()=>e.SUBRULE(e.expressionStatement)},{ALT:()=>e.SUBRULE(e.assertStatement)},{ALT:()=>e.SUBRULE(e.switchStatement)},{ALT:()=>e.SUBRULE(e.doStatement)},{ALT:()=>e.SUBRULE(e.breakStatement)},{ALT:()=>e.SUBRULE(e.continueStatement)},{ALT:()=>e.SUBRULE(e.returnStatement)},{ALT:()=>e.SUBRULE(e.synchronizedStatement)},{ALT:()=>e.SUBRULE(e.throwStatement)},{ALT:()=>e.SUBRULE(e.tryStatement)}],IGNORE_AMBIGUITIES:!0})})),e.RULE("emptyStatement",(()=>{e.CONSUME(t.Semicolon)})),e.RULE("labeledStatement",(()=>{e.CONSUME(t.Identifier),e.CONSUME(t.Colon),e.SUBRULE(e.statement)})),e.RULE("expressionStatement",(()=>{e.SUBRULE(e.statementExpression),e.CONSUME(t.Semicolon)})),e.RULE("statementExpression",(()=>{e.SUBRULE(e.expression)})),e.RULE("ifStatement",(()=>{e.CONSUME(t.If),e.CONSUME(t.LBrace),e.SUBRULE(e.expression),e.CONSUME(t.RBrace),e.SUBRULE(e.statement),e.OPTION((()=>{e.CONSUME(t.Else),e.SUBRULE2(e.statement)}))})),e.RULE("assertStatement",(()=>{e.CONSUME(t.Assert),e.SUBRULE(e.expression),e.OPTION((()=>{e.CONSUME(t.Colon),e.SUBRULE2(e.expression)})),e.CONSUME(t.Semicolon)})),e.RULE("switchStatement",(()=>{e.CONSUME(t.Switch),e.CONSUME(t.LBrace),e.SUBRULE(e.expression),e.CONSUME(t.RBrace),e.SUBRULE(e.switchBlock)})),e.RULE("switchBlock",(()=>{e.CONSUME(t.LCurly),e.OR([{ALT:()=>e.MANY((()=>e.SUBRULE(e.switchBlockStatementGroup)))},{ALT:()=>e.MANY2((()=>e.SUBRULE(e.switchRule)))}]),e.CONSUME(t.RCurly)})),e.RULE("switchBlockStatementGroup",(()=>{e.SUBRULE(e.switchLabel),e.CONSUME(t.Colon),e.OPTION((()=>{e.SUBRULE(e.blockStatements)}))})),e.RULE("switchLabel",(()=>{e.OR([{ALT:()=>{e.CONSUME(t.Case),e.OR2([{ALT:()=>{e.CONSUME(t.Null),e.OPTION2((()=>{e.CONSUME3(t.Comma),e.CONSUME(t.Default)}))}},{ALT:()=>{e.SUBRULE(e.pattern),e.MANY((()=>{e.CONSUME(t.Comma),e.SUBRULE2(e.pattern)})),e.OPTION((()=>{e.SUBRULE(e.guard)}))}},{GATE:()=>!(0,U.ol)(e.LA(1).tokenType,t.Null),ALT:()=>{e.SUBRULE(e.caseConstant),e.MANY2((()=>{e.CONSUME2(t.Comma),e.SUBRULE2(e.caseConstant)}))}}])}},{ALT:()=>e.CONSUME2(t.Default)}])})),e.RULE("switchRule",(()=>{e.SUBRULE(e.switchLabel),e.CONSUME(t.Arrow),e.OR([{ALT:()=>e.SUBRULE(e.throwStatement)},{ALT:()=>e.SUBRULE(e.block)},{ALT:()=>{e.SUBRULE(e.expression),e.CONSUME(t.Semicolon)}}])})),e.RULE("caseConstant",(()=>{e.SUBRULE(e.ternaryExpression)})),e.RULE("whileStatement",(()=>{e.CONSUME(t.While),e.CONSUME(t.LBrace),e.SUBRULE(e.expression),e.CONSUME(t.RBrace),e.SUBRULE(e.statement)})),e.RULE("doStatement",(()=>{e.CONSUME(t.Do),e.SUBRULE(e.statement),e.CONSUME(t.While),e.CONSUME(t.LBrace),e.SUBRULE(e.expression),e.CONSUME(t.RBrace),e.CONSUME(t.Semicolon)})),e.RULE("forStatement",(()=>{e.OR([{ALT:()=>e.SUBRULE(e.basicForStatement)},{ALT:()=>e.SUBRULE(e.enhancedForStatement)}])})),e.RULE("basicForStatement",(()=>{e.CONSUME(t.For),e.CONSUME(t.LBrace),e.OPTION((()=>{e.SUBRULE(e.forInit)})),e.CONSUME(t.Semicolon),e.OPTION2((()=>{e.SUBRULE(e.expression)})),e.CONSUME2(t.Semicolon),e.OPTION3((()=>{e.SUBRULE(e.forUpdate)})),e.CONSUME(t.RBrace),e.SUBRULE(e.statement)})),e.RULE("forInit",(()=>{e.OR([{ALT:()=>e.SUBRULE(e.localVariableDeclaration)},{ALT:()=>e.SUBRULE(e.statementExpressionList)}])})),e.RULE("forUpdate",(()=>{e.SUBRULE(e.statementExpressionList)})),e.RULE("statementExpressionList",(()=>{e.SUBRULE(e.statementExpression),e.MANY((()=>{e.CONSUME(t.Comma),e.SUBRULE2(e.statementExpression)}))})),e.RULE("enhancedForStatement",(()=>{e.CONSUME(t.For),e.CONSUME(t.LBrace),e.MANY((()=>{e.SUBRULE(e.variableModifier)})),e.SUBRULE(e.localVariableType),e.SUBRULE(e.variableDeclaratorId),e.CONSUME(t.Colon),e.SUBRULE(e.expression),e.CONSUME(t.RBrace),e.SUBRULE(e.statement)})),e.RULE("breakStatement",(()=>{e.CONSUME(t.Break),e.OPTION((()=>{e.CONSUME(t.Identifier)})),e.CONSUME(t.Semicolon)})),e.RULE("continueStatement",(()=>{e.CONSUME(t.Continue),e.OPTION((()=>{e.CONSUME(t.Identifier)})),e.CONSUME(t.Semicolon)})),e.RULE("returnStatement",(()=>{e.CONSUME(t.Return),e.OPTION((()=>{e.SUBRULE(e.expression)})),e.CONSUME(t.Semicolon)})),e.RULE("throwStatement",(()=>{e.CONSUME(t.Throw),e.SUBRULE(e.expression),e.CONSUME(t.Semicolon)})),e.RULE("synchronizedStatement",(()=>{e.CONSUME(t.Synchronized),e.CONSUME(t.LBrace),e.SUBRULE(e.expression),e.CONSUME(t.RBrace),e.SUBRULE(e.block)})),e.RULE("tryStatement",(()=>{e.OR([{ALT:()=>{e.CONSUME(t.Try),e.SUBRULE(e.block),e.OR2([{ALT:()=>{e.SUBRULE(e.catches),e.OPTION((()=>{e.SUBRULE(e.finally)}))}},{ALT:()=>e.SUBRULE2(e.finally)}])}},{ALT:()=>e.SUBRULE(e.tryWithResourcesStatement)}])})),e.RULE("catches",(()=>{e.SUBRULE(e.catchClause),e.MANY((()=>{e.SUBRULE2(e.catchClause)}))})),e.RULE("catchClause",(()=>{e.CONSUME(t.Catch),e.CONSUME(t.LBrace),e.SUBRULE(e.catchFormalParameter),e.CONSUME(t.RBrace),e.SUBRULE(e.block)})),e.RULE("catchFormalParameter",(()=>{e.MANY((()=>{e.SUBRULE(e.variableModifier)})),e.SUBRULE(e.catchType),e.SUBRULE(e.variableDeclaratorId)})),e.RULE("catchType",(()=>{e.SUBRULE(e.unannClassType),e.MANY((()=>{e.CONSUME(t.Or),e.SUBRULE2(e.classType)}))})),e.RULE("finally",(()=>{e.CONSUME(t.Finally),e.SUBRULE(e.block)})),e.RULE("tryWithResourcesStatement",(()=>{e.CONSUME(t.Try),e.SUBRULE(e.resourceSpecification),e.SUBRULE(e.block),e.OPTION((()=>{e.SUBRULE(e.catches)})),e.OPTION2((()=>{e.SUBRULE(e.finally)}))})),e.RULE("resourceSpecification",(()=>{e.CONSUME(t.LBrace),e.SUBRULE(e.resourceList),e.OPTION((()=>{e.CONSUME(t.Semicolon)})),e.CONSUME(t.RBrace)})),e.RULE("resourceList",(()=>{e.SUBRULE(e.resource),e.MANY({GATE:()=>!1===(0,U.ol)(e.LA(2).tokenType,t.RBrace),DEF:()=>{e.CONSUME(t.Semicolon),e.SUBRULE2(e.resource)}})})),e.RULE("resource",(()=>{e.OR([{ALT:()=>e.SUBRULE(e.localVariableDeclaration)},{ALT:()=>e.SUBRULE(e.variableAccess)}])})),e.RULE("yieldStatement",(()=>{e.CONSUME(t.Yield),e.SUBRULE(e.expression),e.CONSUME(t.Semicolon)})),e.RULE("variableAccess",(()=>{e.SUBRULE(e.primary)}))}function H(e,t){e.RULE("expression",(()=>{e.OR([{ALT:()=>e.SUBRULE(e.lambdaExpression)},{ALT:()=>e.SUBRULE(e.ternaryExpression)}])})),e.RULE("lambdaExpression",(()=>{e.SUBRULE(e.lambdaParameters),e.CONSUME(t.Arrow),e.SUBRULE(e.lambdaBody)})),e.RULE("lambdaParameters",(()=>{e.OR([{ALT:()=>e.SUBRULE(e.lambdaParametersWithBraces)},{ALT:()=>e.CONSUME(t.Identifier)},{ALT:()=>e.CONSUME(t.Underscore)}])})),e.RULE("lambdaParametersWithBraces",(()=>{e.CONSUME(t.LBrace),e.OPTION((()=>{e.SUBRULE(e.lambdaParameterList)})),e.CONSUME(t.RBrace)})),e.RULE("lambdaParameterList",(()=>{e.OR([{GATE:()=>{const e=this.LA(1).tokenType,i=this.LA(2).tokenType;return(0,U.ol)(e,t.Identifier)&&((0,U.ol)(i,t.RBrace)||(0,U.ol)(i,t.Comma))},ALT:()=>e.SUBRULE(e.inferredLambdaParameterList)},{ALT:()=>e.SUBRULE(e.explicitLambdaParameterList)}])})),e.RULE("inferredLambdaParameterList",(()=>{e.CONSUME(t.Identifier),e.MANY((()=>{e.CONSUME(t.Comma),e.CONSUME2(t.Identifier)}))})),e.RULE("explicitLambdaParameterList",(()=>{e.SUBRULE(e.lambdaParameter),e.MANY((()=>{e.CONSUME(t.Comma),e.SUBRULE2(e.lambdaParameter)}))})),e.RULE("lambdaParameter",(()=>{e.OR([{ALT:()=>e.SUBRULE(e.regularLambdaParameter)},{ALT:()=>e.SUBRULE(e.variableArityParameter)}])})),e.RULE("regularLambdaParameter",(()=>{e.MANY((()=>{e.SUBRULE(e.variableModifier)})),e.SUBRULE(e.lambdaParameterType),e.SUBRULE(e.variableDeclaratorId)})),e.RULE("lambdaParameterType",(()=>{e.OR({DEF:[{ALT:()=>e.SUBRULE(e.unannType)},{ALT:()=>e.CONSUME(t.Var)}],IGNORE_AMBIGUITIES:!0})})),e.RULE("lambdaBody",(()=>{e.OR([{ALT:()=>e.SUBRULE(e.expression)},{ALT:()=>e.SUBRULE(e.block)}])})),e.RULE("ternaryExpression",(()=>{e.SUBRULE(e.binaryExpression),e.OPTION((()=>{e.CONSUME(t.QuestionMark),e.SUBRULE(e.expression),e.CONSUME(t.Colon),e.SUBRULE2(e.expression)}))})),e.RULE("binaryExpression",(()=>{e.SUBRULE(e.unaryExpression),e.MANY((()=>{e.OR({DEF:[{ALT:()=>{e.CONSUME(t.Instanceof),e.OR1([{ALT:()=>e.SUBRULE(e.pattern)},{ALT:()=>e.SUBRULE(e.referenceType)}])}},{ALT:()=>{e.CONSUME(t.AssignmentOperator),e.SUBRULE2(e.expression)}},{GATE:()=>(0,U.ol)(e.LA(2).tokenType,t.Less)||(0,U.ol)(e.LA(2).tokenType,t.Greater),ALT:()=>{e.OR2([{GATE:()=>e.LA(1).startOffset+1===e.LA(2).startOffset,ALT:()=>{e.CONSUME(t.Less),e.CONSUME2(t.Less)}},{GATE:()=>e.LA(1).startOffset+1===e.LA(2).startOffset,ALT:()=>{e.CONSUME(t.Greater),e.CONSUME2(t.Greater),e.OPTION({GATE:()=>e.LA(0).startOffset+1===e.LA(1).startOffset,DEF:()=>e.CONSUME3(t.Greater)})}}]),e.SUBRULE2(e.unaryExpression)}},{ALT:()=>{e.CONSUME(t.BinaryOperator),e.SUBRULE3(e.unaryExpression)}}],IGNORE_AMBIGUITIES:!0})}))})),e.RULE("unaryExpression",(()=>{e.MANY((()=>{e.CONSUME(t.UnaryPrefixOperator)})),e.SUBRULE(e.primary),e.MANY2((()=>{e.CONSUME(t.UnarySuffixOperator)}))})),e.RULE("unaryExpressionNotPlusMinus",(()=>{e.MANY((()=>{e.CONSUME(t.UnaryPrefixOperatorNotPlusMinus)})),e.SUBRULE(e.primary),e.MANY2((()=>{e.CONSUME(t.UnarySuffixOperator)}))})),e.RULE("primary",(()=>{e.SUBRULE(e.primaryPrefix),e.MANY((()=>{e.SUBRULE(e.primarySuffix)}))})),e.RULE("primaryPrefix",(()=>{e.OR([{ALT:()=>e.SUBRULE(e.literal)},{ALT:()=>e.CONSUME(t.This)},{ALT:()=>e.CONSUME(t.Void)},{ALT:()=>e.SUBRULE(e.unannPrimitiveTypeWithOptionalDimsSuffix)},{ALT:()=>e.SUBRULE(e.fqnOrRefType)},{ALT:()=>e.SUBRULE(e.castExpression)},{ALT:()=>e.SUBRULE(e.parenthesisExpression)},{ALT:()=>e.SUBRULE(e.newExpression)},{ALT:()=>e.SUBRULE(e.switchStatement)}])})),e.RULE("primarySuffix",(()=>{e.OR([{ALT:()=>{e.CONSUME(t.Dot),e.OR2([{ALT:()=>e.CONSUME(t.This)},{ALT:()=>e.SUBRULE(e.unqualifiedClassInstanceCreationExpression)},{ALT:()=>{e.OPTION((()=>{e.SUBRULE(e.typeArguments)})),e.CONSUME(t.Identifier)}}])}},{ALT:()=>e.SUBRULE(e.methodInvocationSuffix)},{ALT:()=>e.SUBRULE(e.classLiteralSuffix)},{ALT:()=>e.SUBRULE(e.arrayAccessSuffix)},{ALT:()=>e.SUBRULE(e.methodReferenceSuffix)}])})),e.RULE("fqnOrRefType",(()=>{e.SUBRULE(e.fqnOrRefTypePartFirst),e.MANY2({GATE:()=>!1===(0,U.ol)(this.LA(2).tokenType,t.Class)&&!1===(0,U.ol)(this.LA(2).tokenType,t.This)&&!1===(0,U.ol)(this.LA(2).tokenType,t.New),DEF:()=>{e.CONSUME(t.Dot),e.SUBRULE2(e.fqnOrRefTypePartRest)}}),e.OPTION({GATE:()=>(0,U.ol)(e.LA(1).tokenType,t.At)||(0,U.ol)(e.LA(2).tokenType,t.RSquare),DEF:()=>{e.SUBRULE(e.dims)}})})),e.RULE("fqnOrRefTypePartRest",(()=>{e.MANY((()=>{e.SUBRULE(e.annotation)})),e.OPTION((()=>e.SUBRULE2(e.typeArguments))),e.SUBRULE(e.fqnOrRefTypePartCommon)})),e.RULE("fqnOrRefTypePartCommon",(()=>{e.OR([{ALT:()=>e.CONSUME(t.Identifier)},{ALT:()=>e.CONSUME(t.Super)}]);let i=!1;(0,U.ol)(e.LA(1).tokenType,t.Less)&&(i=this.BACKTRACK_LOOKAHEAD(e.isRefTypeInMethodRef)),e.OPTION2({GATE:()=>i,DEF:()=>{e.SUBRULE3(e.typeArguments)}})})),e.RULE("fqnOrRefTypePartFirst",(()=>{e.MANY((()=>{e.SUBRULE(e.annotation)})),e.SUBRULE(e.fqnOrRefTypePartCommon)})),e.RULE("parenthesisExpression",(()=>{e.CONSUME(t.LBrace),e.SUBRULE(e.expression),e.CONSUME(t.RBrace)})),e.RULE("castExpression",(()=>{e.OR([{ALT:()=>e.SUBRULE(e.primitiveCastExpression)},{ALT:()=>e.SUBRULE(e.referenceTypeCastExpression)}])})),e.RULE("primitiveCastExpression",(()=>{e.CONSUME(t.LBrace),e.SUBRULE(e.primitiveType),e.CONSUME(t.RBrace),e.SUBRULE(e.unaryExpression)})),e.RULE("referenceTypeCastExpression",(()=>{e.CONSUME(t.LBrace),e.SUBRULE(e.referenceType),e.MANY((()=>{e.SUBRULE(e.additionalBound)})),e.CONSUME(t.RBrace),e.OR([{ALT:()=>e.SUBRULE(e.lambdaExpression)},{ALT:()=>e.SUBRULE(e.unaryExpressionNotPlusMinus)}])})),e.RULE("newExpression",(()=>{e.OR([{ALT:()=>e.SUBRULE(e.arrayCreationExpression)},{ALT:()=>e.SUBRULE(e.unqualifiedClassInstanceCreationExpression)}])})),e.RULE("unqualifiedClassInstanceCreationExpression",(()=>{e.CONSUME(t.New),e.OPTION((()=>{e.SUBRULE(e.typeArguments)})),e.SUBRULE(e.classOrInterfaceTypeToInstantiate),e.CONSUME(t.LBrace),e.OPTION2((()=>{e.SUBRULE(e.argumentList)})),e.CONSUME(t.RBrace),e.OPTION3((()=>{e.SUBRULE(e.classBody)}))})),e.RULE("classOrInterfaceTypeToInstantiate",(()=>{e.MANY((()=>{e.SUBRULE(e.annotation)})),e.CONSUME(t.Identifier),e.MANY2((()=>{e.CONSUME(t.Dot),e.MANY3((()=>{e.SUBRULE2(e.annotation)})),e.CONSUME2(t.Identifier)})),e.OPTION((()=>{e.SUBRULE(e.typeArgumentsOrDiamond)}))})),e.RULE("typeArgumentsOrDiamond",(()=>{e.OR([{ALT:()=>e.SUBRULE(e.diamond)},{ALT:()=>e.SUBRULE(e.typeArguments)}])})),e.RULE("diamond",(()=>{e.CONSUME(t.Less),e.CONSUME(t.Greater)})),e.RULE("methodInvocationSuffix",(()=>{e.CONSUME(t.LBrace),e.OPTION2((()=>{e.SUBRULE(e.argumentList)})),e.CONSUME(t.RBrace)})),e.RULE("argumentList",(()=>{e.SUBRULE(e.expression),e.MANY((()=>{e.CONSUME(t.Comma),e.SUBRULE2(e.expression)}))})),e.RULE("arrayCreationExpression",(()=>{e.CONSUME(t.New),e.OR([{ALT:()=>e.SUBRULE(e.primitiveType)},{ALT:()=>e.SUBRULE(e.classOrInterfaceType)}]),e.OR2([{ALT:()=>e.SUBRULE(e.arrayCreationDefaultInitSuffix)},{ALT:()=>e.SUBRULE(e.arrayCreationExplicitInitSuffix)}])})),e.RULE("arrayCreationDefaultInitSuffix",(()=>{e.SUBRULE(e.dimExprs),e.OPTION((()=>{e.SUBRULE(e.dims)}))})),e.RULE("arrayCreationExplicitInitSuffix",(()=>{e.SUBRULE(e.dims),e.SUBRULE(e.arrayInitializer)})),e.RULE("dimExprs",(()=>{e.SUBRULE(e.dimExpr),e.MANY({GATE:()=>!1===(0,U.ol)(e.LA(2).tokenType,t.RSquare),DEF:()=>e.SUBRULE2(e.dimExpr)})})),e.RULE("dimExpr",(()=>{e.MANY((()=>{e.SUBRULE(e.annotation)})),e.CONSUME(t.LSquare),e.SUBRULE(e.expression),e.CONSUME(t.RSquare)})),e.RULE("classLiteralSuffix",(()=>{e.MANY((()=>{e.CONSUME(t.LSquare),e.CONSUME(t.RSquare)})),e.CONSUME(t.Dot),e.CONSUME(t.Class)})),e.RULE("arrayAccessSuffix",(()=>{e.CONSUME(t.LSquare),e.SUBRULE(e.expression),e.CONSUME(t.RSquare)})),e.RULE("methodReferenceSuffix",(()=>{e.CONSUME(t.ColonColon),e.OPTION((()=>{e.SUBRULE(e.typeArguments)})),e.OR([{ALT:()=>e.CONSUME(t.Identifier)},{ALT:()=>e.CONSUME(t.New)}])})),e.RULE("pattern",(()=>{e.OR([{ALT:()=>e.SUBRULE(e.typePattern)},{ALT:()=>e.SUBRULE(e.recordPattern)}])})),e.RULE("typePattern",(()=>{e.SUBRULE(e.localVariableDeclaration)})),e.RULE("recordPattern",(()=>{e.SUBRULE(e.referenceType),e.CONSUME(t.LBrace),e.OPTION((()=>{e.SUBRULE(e.componentPatternList)})),e.CONSUME(t.RBrace)})),e.RULE("componentPatternList",(()=>{e.SUBRULE(e.componentPattern),e.MANY((()=>{e.CONSUME(t.Comma),e.SUBRULE2(e.componentPattern)}))})),e.RULE("componentPattern",(()=>{e.OR([{ALT:()=>e.SUBRULE(e.pattern)},{ALT:()=>e.SUBRULE(e.unnamedPattern)}])})),e.RULE("unnamedPattern",(()=>{e.CONSUME(t.Underscore)})),e.RULE("guard",(()=>{e.CONSUME(t.When),e.SUBRULE(e.expression)})),e.RULE("isRefTypeInMethodRef",(()=>{let i;e.SUBRULE(e.typeArguments);const n=e.OPTION((()=>{e.SUBRULE(e.dims)})),r=this.LA(1).tokenType;if((0,U.ol)(r,t.ColonColon)?i=!0:n&&(i=!1),e.OPTION2((()=>{e.CONSUME(t.Dot),e.SUBRULE(e.classOrInterfaceType)})),void 0!==i)return i;const a=this.LA(1).tokenType;return(0,U.ol)(a,t.ColonColon)}))}function K(){return this.computeContentAssist("unaryExpressionNotPlusMinus",[]).map((e=>e.nextTokenType)).filter(((e,t,i)=>i.indexOf(e)===t))}var J=i(2489);function Q(e){return e.image.match(/(\/\/(\s*)prettier-ignore(\s*))|(\/\*(\s*)prettier-ignore(\s*)\*\/)/gm)}function $(e,t,i,n){if(0===e.length)return void(i.NaN.leadingComments=t);!function(e,t,i){e.forEach((e=>{void 0===t[e.startOffset]&&(t[e.startOffset]=e),void 0===i[e.endOffset]&&(i[e.endOffset]=e)}))}(e,i,n),function(e,t){let i;e.forEach((e=>{i=function(e,t){let i,n,r,a=e.length;for(n=0;a;)i=a>>>1,r=n+i,e[r].startOffset>t.startOffset?a=i:(n=r+1,a-=i+1);return n}(t,e);const n=i-1<0?e.startOffset:t[i-1].endOffset,r=i==t.length?e.endOffset:t[i].startOffset;e.extendedOffset={startOffset:n,endOffset:r}}))}(t,e);const{commentsByExtendedStartOffset:r,commentsByExtendedEndOffset:a}=function(e){const t={},i={};return e.forEach((e=>{const n=e.extendedOffset.startOffset,r=e.extendedOffset.endOffset;void 0===t[r]?t[r]=[e]:t[r].push(e),void 0===i[n]?i[n]=[e]:i[n].push(e)})),{commentsByExtendedEndOffset:t,commentsByExtendedStartOffset:i}}(t),s=new Set(t);Object.keys(n).forEach((e=>{if(void 0!==r[e]){const t=r[e].filter((t=>function(e,t,i){if(Q(e))return!1;const n=i[e.extendedOffset.endOffset];if(void 0===n)return!0;const r=void 0!==t.location?t.location.endLine:t.endLine;if(e.startLine!==r)return!1;const a=void 0!==n.location?n.location.startLine:n.startLine;return e.endLine!==a}(t,n[e],i)&&s.has(t)));t.length>0&&(n[e].trailingComments=t),t.forEach((e=>{s.delete(e)}))}})),Object.keys(i).forEach((e=>{if(void 0!==a[e]){const t=a[e].filter((e=>s.has(e)));t.length>0&&(i[e].leadingComments=t);for(let n=0;n{}:void 0}),nodeLocationTracking:"full",skipValidations:k()});const e=this;this.mostEnclosiveCstNodeByStartOffset={},this.mostEnclosiveCstNodeByEndOffset={},e.RULE("typeIdentifier",(()=>{e.CONSUME(y.Identifier)})),q.call(this,e,y),Y.call(this,e,y),F.call(this,e,y),j.call(this,e,y),G.call(this,e,y),z.call(this,e,y),W.call(this,e,y),_.call(this,e,y),H.call(this,e,y),this.firstForUnaryExpressionNotPlusMinus=[],this.performSelfAnalysis(),this.firstForUnaryExpressionNotPlusMinus=K.call(this)}cstPostNonTerminal(e,t){this.isBackTracking()||(super.cstPostNonTerminal(e,t),this.mostEnclosiveCstNodeByStartOffset[e.location.startOffset]=e,this.mostEnclosiveCstNodeByEndOffset[e.location.endOffset]=e,function(e,t){const i=J(t,(t=>t.off.endOffsete.location.endOffset)&&(e.ignore=!0)}(e,this.onOffCommentPairs))}BACKTRACK_LOOKAHEAD(e,t){return void 0===t&&(t=!1),this.ACTION((()=>{this.isBackTrackingStack.push(1);const i=this.saveRecogState();try{const{ruleName:t,originalGrammarAction:i}=e;try{return this.ruleInvocationStateUpdate(this.fullRuleNameToShort[t],t,this.subruleIdx),i.call(this)}catch(n){return this.invokeRuleCatch(n,!0,(()=>{}))}finally{this.ruleFinallyStateUpdate()}}catch(n){if((0,U.bS)(n))return t;throw n}finally{this.reloadRecogState(i),this.isBackTrackingStack.pop()}}))}setOnOffCommentPairs(e){this.onOffCommentPairs=e}}const Z=new X,ee=Z.getBaseCstVisitorConstructor(),te=Z.getBaseCstVisitorConstructorWithDefaults();function ie(e,t){void 0===t&&(t="compilationUnit");const i=V.tokenize(e);if(i.errors.length>0){const e=i.errors[0];throw Error("Sad sad panda, lexing errors detected in line: "+e.line+", column: "+e.column+"!\n"+e.message)}const n=i.tokens;Z.input=n,Z.mostEnclosiveCstNodeByStartOffset={},Z.mostEnclosiveCstNodeByEndOffset={},Z.setOnOffCommentPairs(function(e){const t=e.filter((e=>function(e){return e.image.match(/(\/\/(\s*)@formatter:(off|on)(\s*))|(\/\*(\s*)@formatter:(off|on)(\s*)\*\/)/gm)}(e)));let i=!1,n=!0;const r=[];let a={};return t.forEach((e=>{n="off"===e.image.slice(-3),i?n||(a.on=e,r.push(a),a={}):n&&(a.off=e),i=n})),t.length>0&&n&&(a.on=void 0,r.push(a)),r}(i.groups.comments));const r=Z[t]();if(Z.errors.length>0){const e=Z.errors[0];throw Error("Sad sad panda, parsing errors detected in line: "+e.token.startLine+", column: "+e.token.startColumn+"!\n"+e.message+"!\n\t->"+e.context.ruleStack.join("\n\t->"))}return $(n,i.groups.comments,Z.mostEnclosiveCstNodeByStartOffset,Z.mostEnclosiveCstNodeByEndOffset),{cst:r,tokens:n}}const ne={lexAndParse:ie,parse:function(e,t){return void 0===t&&(t="compilationUnit"),ie(e,t).cst},BaseJavaCstVisitor:ee,BaseJavaCstVisitorWithDefaults:te};var re=i(2411);function ae(e){return!se(e)}function se(e){return void 0!==e.tokenType&&void 0!==e.image}function oe(e){return void 0!==e&&se(e)}const le=e=>"typeArguments"===e.name,ce=e=>"annotation"===e.name,ue=e=>""===e||0===(Array.isArray(e)&&e.length),{hardline:me,lineSuffix:Ue,breakParent:Ee,literalline:de}=re.builders;function Se(e){return pe(e,e.image,Le,Re)}function pe(e,t,i,n){const r=i(e),a=n(e,t);return 0===r.length&&0===a.length?t:[...r,t,...a]}function Le(e){return he(e,e)}function fe(e){return he(e,e.location)}function he(e,t){const i=[];if(void 0!==e.leadingComments){let n,r=e.leadingComments[0].endLine;i.push(Ce(e.leadingComments[0]));for(let a=1;at.startOffset?i.push(me):n>1&&i.push(me,me),i.push(Ce(e.leadingComments[a])),r=e.leadingComments[a].endLine;n=t.startLine-r,1===n||e.leadingComments[e.leadingComments.length-1].startOffset>t.startOffset?i.push(me):n>1&&i.push(me,me)}return i}function Re(e){return Oe(e,e.image,e)}function ve(e,t){return Oe(e,t,e.location)}function Oe(e,t,i){const n=[];let r=i.endLine;return void 0!==e.trailingComments&&e.trailingComments.forEach(((e,i)=>{let a="";e.startLine!==r?n.push(me):ue(t)||0!==i||(a=" "),"LineComment"===e.tokenType.name?n.push(Ue([a,Ce(e),Ee])):n.push(Ce(e)),r=e.endLine})),n}function Ce(e){const t=[],i=e.image.split("\n");return function(e,t){let i=!0;if("TraditionalComment"===e.tokenType.name&&t.length>1){for(let n=1;n{t.push(e),t.push(de)})),t.pop(),t)}class ye extends ee{constructor(){super(),this.mapVisit=(e,t)=>void 0===e?[]:e.map((e=>this.visit(e,t))),this.getSingle=e=>{const t=Object.keys(e);if(1!==t.length)throw Error(`Expecting single key CST ctx but found: <${t.length}> keys`);const i=e[t[0]];if(1!==(null==i?void 0:i.length))throw Error(`Expecting single item in CST ctx key but found: <${null==i?void 0:i.length}> items`);return i[0]},this.orgVisit=this.visit,this.visit=function(e,t){if(void 0===e)return"";const i=Array.isArray(e)?e[0]:e;if(i.ignore)try{const e=void 0!==i.leadingComments?i.leadingComments[0].startOffset:i.location.startOffset,t=void 0!==i.trailingComments?i.trailingComments[i.trailingComments.length-1].endOffset:i.location.endOffset;return this.prettierOptions.originalText.substring(e,t+1)}catch(n){throw Error(n+"\nThere might be a problem with prettier-ignore, please report an issue on https://github.com/jhipster/prettier-java/issues")}return function(e,t){return pe(e,t,fe,ve)}(i,this.orgVisit.call(this,i,t))},this.visitSingle=function(e,t){const i=this.getSingle(e);return this.visit(i,t)}}}var Be=i(6259),Te=i(1724),Ne=i(7003),Me=i(8022),ge=i(2501);function Ae(e){if(void 0===e)return!1;const t=e[0].children.expression;if(1!==t.length)return!1;return void 0!==t[0].children.lambdaExpression}const xe=e=>{if(void 0===e)return!1;const t=e[0].children.expression;if(1!==t.length)return!1;const i=t[0];return void 0!==i.children.lambdaExpression&&void 0!==i.children.lambdaExpression[0].children.lambdaBody[0].children.block},be=function(e){return Array.isArray(e)?e.map((e=>oe(e)?Se(e):e)):oe(e)?Se(e):e};function Ie(e){const t=be(e);return Array.isArray(e)?t:""}function De(e,t){return re.builders.join(be(e),be(t))}function Pe(e,t){const i=re.builders.group(be(e),t);return void 0===i.contents?"":i}function ke(e){const t=be(e);return 0===t.length?"":re.builders.indent(t)}function Ve(e){return 0===be(e).length?"":re.builders.dedent(be(e))}function we(e,t){return re.builders.ifBreak(be(e),be(t))}function qe(e,t){return re.builders.indentIfBreak(be(e),t)}const{softline:Ye,ifBreak:Fe}=re.builders;function Ge(e,t,i){const n=Symbol("lambdaParameters");return Ve(ft(this.visit(e,{lambdaParametersGroupId:n,isInsideMethodInvocationSuffix:!0}),"",i,xe(e)?Fe(ke(Ie([Ye,t])),Se(t),{groupId:n}):ke(Ie([Ye,t]))))}const{softline:je}=re.builders;function ze(e,t,i){if(Ae(e))return Ge.call(this,e,t,i);return ft(this.visit(e,{isInsideMethodInvocationSuffix:!0}),je,i,t)}function We(e){return void 0!==e.leadingComments}function _e(e){return void 0!==e.trailingComments}function He(e){return void 0!==e.leadingComments&&0!==e.leadingComments.length&&"LineComment"===e.leadingComments[e.leadingComments.length-1].tokenType.name}function Ke(e){return We(e)||_e(e)}const{indent:Je,hardline:Qe,line:$e}=re.builders,Xe=["Public","Protected","Private","Abstract","Default","Static","Final","Transient","Volatile","Synchronized","Native","Sealed","NonSealed","Strictfp"];function Ze(e,t){return et(t||[],e)}function et(e,t,i){if(!Array.isArray(e))return it(e,t);const n=tt(t),r=[];for(let a=0;a"string"==typeof e?""!==e:0!=e&&void 0!==e))}function it(e,t){return De(e,tt(t))}function nt(e){return Ie(tt(e))}function rt(e,t,i,n){let r=[...i];return e&&e.length>0&&(r=[...r,...e]),t&&t.length>0&&(r=[...r,...t]),n&&n.length>0&&(r=[...r,...n]),r.sort(((e,t)=>(ae(e)?e.children.At?e.children.At[0].startOffset:e.children.Less[0].startOffset:e.startOffset)-(ae(t)?t.children.At?t.children.At[0].startOffset:t.children.Less[0].startOffset:t.startOffset)))}function at(e){let t=[];const i=[];let n=[],r=!1;return Me(e,(e=>{const a=void 0!==e.children.annotation,s=a&&("methodModifier"===e.name||"interfaceMethodModifier"===e.name||"fieldModifier"===e.name);a?s&&!r?n.unshift(e):t.unshift(e):(i.unshift(e),r=!0)})),r||(t=t.concat(n),n=[]),i.sort(((e,t)=>Xe.indexOf(Object.keys(e.children)[0])-Xe.indexOf(Object.keys(t.children)[0]))),[t,i.concat(n)]}function st(e,t){if(Array.isArray(e)){if(ge(e,t))return!0;for(let i=0;i1?i.push([Qe,Qe]):i.push(t)}return i}const ct=e=>!!Array.isArray(e)&&(2===e.length&&e[0]===Qe&&e[1]===Qe);function ut(e,t,i){const n=e.filter((e=>!i(e))),r=lt(n),a=n.map(t),s=[];let o=0;for(let l=0;lvoid 0!==e.children.annotation))}function pt(e){const t=Be(e,(e=>void 0!==e.children.annotation)),i=Te(e,(e=>void 0===e.children.annotation));return t>",">>>"].includes(s)?s.length:1,l=Ie(t.splice(0,i));void 0!==n&&Ct(n,s)?(a.push(e.shift()),a=[Ie(["(",Pe(Je(De($e,a))),") ",l])]):a.push(De(" ",[e.shift(),l])),n=s,r=o}else if(o"].includes(t))return t;let n=1;for(let r=1;r>":">>>"}const vt=new Map([["||"],["&&"],["|"],["^"],["&"],["==","!="],["<",">","<=",">=","instanceof"],["<<",">>",">>>"],["+","-"],["*","/","%"]].flatMap(((e,t)=>e.map((e=>[e,t])))));function Ot(e){var t;return null!==(t=vt.get(e))&&void 0!==t?t:-1}function Ct(e,t){return"&&"===e&&"||"===t||["|","^","&","<<",">>",">>>"].includes(t)&&Ot(e)>Ot(t)||[e,t].every((e=>["==","!="].includes(e)))||[e,t].every((e=>["<<",">>",">>>"].includes(e)))||"*"===e&&"/"===t||"/"===e&&"*"===t||"%"===e&&["+","-","*","/"].includes(t)||["*","/"].includes(e)&&"%"===t}function yt(e){return";"===e||Array.isArray(e)&&";"===e[0]}function Bt(e){const t=[],i=[];if(void 0!==e){for(let r=0;rfunction(e,t){const i=e.children.Identifier,n=t.children.Identifier,r=Math.min(i.length,n.length);for(let a=0;an[a].image)return 1}if(i.lengthn.length)return 1;return 0}(e.children.packageOrTypeName[0],t.children.packageOrTypeName[0]);t.sort(n),i.sort(n)}return{staticImports:t,nonStaticImports:i}}function Tt(e){let t,{list:i,extraComma:n,LCurly:r,RCurly:a,trailingComma:s}=e;return t="none"!==s&&""!==i?n?we(n[0],Object.assign(Object.assign({},n[0]),{image:""})):we(",",""):n?Object.assign(Object.assign({},n[0]),{image:""}):"",ft(nt([i,t]),$e,r,a)}const{line:Nt}=re.builders;const{line:Mt,softline:gt,hardline:At}=re.builders;const{line:xt,softline:bt,hardline:It,lineSuffixBoundary:Dt}=re.builders;function Pt(e){!function(e){var t;let i=1;null===(t=e.BinaryOperator)||void 0===t||t.forEach((t=>{if(We(t)){for(;e.unaryExpression[i].location.startOffset{e.startLine+=1,e.endLine+=1})),t.startLine+=n,t.endLine+=n,e.unaryExpression[i].leadingComments=e.unaryExpression[i].leadingComments||[],e.unaryExpression[i].leadingComments.unshift(...t.leadingComments),delete t.leadingComments}}))}(e),function(e){const t=e.BinaryOperator;let i=1;(null==t?void 0:t.length)&&e.unaryExpression.forEach((e=>{var n;if(_e(e)){for(;i{e.startLine+=1,e.endLine+=1})),e.location.startLine+=a,void 0!==e.location.endLine&&(e.location.endLine+=a),r.trailingComments=null!==(n=r.trailingComments)&&void 0!==n?n:[],r.trailingComments.unshift(...e.trailingComments),delete e.trailingComments}}))}(e)}const{ifBreak:kt,line:Vt,softline:wt,indentIfBreak:qt}=re.builders;const{line:Yt,softline:Ft,hardline:Gt}=re.builders;const{hardline:jt}=re.builders;const{line:zt,softline:Wt}=re.builders;const{line:_t,hardline:Ht,indent:Kt,group:Jt}=re.builders;!function(){for(var e=arguments.length,t=new Array(e),i=0;i{Object.getOwnPropertyNames(e.prototype).filter((e=>"constructor"!==e)).forEach((t=>{ye.prototype[t]=e.prototype[t]}))}))}(class extends ye{arrayInitializer(e){return Tt({list:this.visit(e.variableInitializerList),extraComma:e.Comma,LCurly:e.LCurly[0],RCurly:e.RCurly[0],trailingComma:this.prettierOptions.trailingComma})}variableInitializerList(e){const t=this.mapVisit(e.variableInitializer);return et(e.Comma?e.Comma.map((e=>nt([e,Nt]))):[],t)}},class extends ye{block(e){return ft(this.visit(e.blockStatements),At,e.LCurly[0],e.RCurly[0])}blockStatements(e){const t=this.mapVisit(e.blockStatement);return et(function(e,t){const i=tt(t),n=[];for(let r=0;rIe([e,Mt])));if(e.caseConstant||e.Null){return Pe(ke(De(" ",[r,et(a,e.Null?[e.Null[0],null===(n=e.Default)||void 0===n?void 0:n[0]]:this.mapVisit(e.caseConstant))])))}if(e.pattern){const t=this.mapVisit(e.pattern),i=this.visit(e.guard),n=e.pattern.length>1,s=n?Mt:" ",o=De(s,[r,et(a,t)]);return Pe(it(s,[n?ke(o):o,i]))}return Se(e.Default[0])}switchRule(e){const t=this.visit(e.switchLabel);let i;return i=void 0!==e.throwStatement?this.visit(e.throwStatement):void 0!==e.block?this.visit(e.block):Ie([this.visit(e.expression),e.Semicolon[0]]),Ie([t," ",e.Arrow[0]," ",i])}caseConstant(e){return this.visitSingle(e)}whileStatement(e){const t=this.visit(e.expression),i=this.visit(e.statement[0],{allowEmptyStatement:!0}),n=yt(i)?"":" ";return it(" ",[e.While[0],it(n,[ft(t,gt,e.LBrace[0],e.RBrace[0]),i])])}doStatement(e){const t=this.visit(e.statement[0],{allowEmptyStatement:!0}),i=yt(t)?"":" ",n=this.visit(e.expression);return it(" ",[it(i,[e.Do[0],t]),e.While[0],nt([ft(n,gt,e.LBrace[0],e.RBrace[0]),e.Semicolon[0]])])}forStatement(e){return this.visitSingle(e)}basicForStatement(e){const t=this.visit(e.forInit),i=this.visit(e.expression),n=this.visit(e.forUpdate),r=this.visit(e.statement[0],{allowEmptyStatement:!0}),a=yt(r)?"":" ";return nt([it(" ",[e.For[0],ft(nt([t,it(Mt,[e.Semicolon[0],i]),it(Mt,[e.Semicolon[1],n])]),gt,e.LBrace[0],e.RBrace[0])]),a,r])}forInit(e){return this.visitSingle(e)}forUpdate(e){return this.visitSingle(e)}statementExpressionList(e){const t=this.mapVisit(e.statementExpression);return et(e.Comma?e.Comma.map((e=>Ie([Se(e)," "]))):[],t)}enhancedForStatement(e){const t=this.mapVisit(e.variableModifier),i=this.visit(e.localVariableType),n=this.visit(e.variableDeclaratorId),r=this.visit(e.expression),a=this.visit(e.statement[0],{allowEmptyStatement:!0}),s=yt(a)?"":" ";return nt([it(" ",[e.For[0],e.LBrace[0]]),it(" ",[it(" ",t),i,n]),Ie([" ",e.Colon[0]," "]),r,Ie([e.RBrace[0],s]),a])}breakStatement(e){if(e.Identifier){const t=e.Identifier[0];return nt([Ie([e.Break[0]," "]),t,e.Semicolon[0]])}return Ie([e.Break[0],e.Semicolon[0]])}continueStatement(e){if(e.Identifier){const t=e.Identifier[0];return nt([Ie([e.Continue[0]," "]),t,e.Semicolon[0]])}return nt([e.Continue[0],e.Semicolon[0]])}returnStatement(e){if(e.expression){const t=this.visit(e.expression,{addParenthesisToWrapStatement:!0});return nt([Ie([e.Return[0]," "]),t,e.Semicolon[0]])}return nt([e.Return[0],e.Semicolon[0]])}throwStatement(e){const t=this.visit(e.expression);return nt([Ie([e.Throw[0]," "]),t,e.Semicolon[0]])}synchronizedStatement(e){const t=this.visit(e.expression),i=this.visit(e.block);return nt([De(" ",[e.Synchronized[0],Ie([ft(t,gt,e.LBrace[0],e.RBrace[0])," "])]),i])}tryStatement(e){if(e.tryWithResourcesStatement)return this.visit(e.tryWithResourcesStatement);const t=this.visit(e.block),i=this.visit(e.catches),n=this.visit(e.finally);return it(" ",[e.Try[0],t,i,n])}catches(e){return it(" ",this.mapVisit(e.catchClause))}catchClause(e){const t=this.visit(e.catchFormalParameter),i=this.visit(e.block);return nt([Pe(nt([it(" ",[e.Catch[0],e.LBrace[0]]),ke(nt([gt,t])),gt,Ie([e.RBrace[0]," "])])),i])}catchFormalParameter(e){const t=this.mapVisit(e.variableModifier),i=this.visit(e.catchType),n=this.visit(e.variableDeclaratorId);return it(" ",[it(" ",t),i,n])}catchType(e){const t=this.visit(e.unannClassType),i=this.mapVisit(e.classType);return Pe(et(e.Or?e.Or.map((e=>Ie([Mt,e," "]))):[],[t,...i]))}finally(e){const t=this.visit(e.block);return it(" ",[e.Finally[0],t])}tryWithResourcesStatement(e){const t=this.visit(e.resourceSpecification),i=this.visit(e.block),n=this.visit(e.catches),r=this.visit(e.finally);return it(" ",[e.Try[0],t,i,n,r])}resourceSpecification(e){return ft(nt([this.visit(e.resourceList),e.Semicolon?e.Semicolon[0]:""]),gt,e.LBrace[0],e.RBrace[0])}resourceList(e){const t=this.mapVisit(e.resource);return et(e.Semicolon?e.Semicolon.map((e=>Ie([e,Mt]))):[""],t)}resource(e){return this.visitSingle(e)}yieldStatement(e){const t=this.visit(e.expression);return De(" ",[e.Yield[0],Ie([t,e.Semicolon[0]])])}variableAccess(e){return this.visitSingle(e)}},class extends ye{classDeclaration(e){const t=at(e.classModifier),i=this.mapVisit(t[0]),n=this.mapVisit(t[1]);let r;r=void 0!==e.normalClassDeclaration?e.normalClassDeclaration:void 0!==e.enumDeclaration?e.enumDeclaration:e.recordDeclaration;const a=this.visit(r);return it(It,[it(It,i),it(" ",[De(" ",n),a])])}normalClassDeclaration(e){const t=this.visit(e.typeIdentifier),i=this.visit(e.typeParameters),n=this.visit(e.superclass),r=this.visit(e.superinterfaces),a=this.visit(e.classPermits),s=this.visit(e.classBody,{isNormalClassDeclaration:!0});let o="";n&&(o=ke(nt([xt,n])));let l="";r&&(l=ke(nt([xt,r])));let c="";return a&&(c=ke(nt([xt,a]))),it(" ",[Pe(nt([it(" ",[e.Class[0],t]),i,o,l,c])),s])}classModifier(e){return e.annotation?this.visit(e.annotation):Se(this.getSingle(e))}typeParameters(e){return ft(this.visit(e.typeParameterList),bt,e.Less[0],e.Greater[0])}typeParameterList(e){const t=this.mapVisit(e.typeParameter);return Pe(et(e.Comma?e.Comma.map((e=>Ie([e,xt]))):[],t))}superclass(e){return De(" ",[e.Extends[0],this.visit(e.classType)])}superinterfaces(e){const t=this.visit(e.interfaceTypeList);return Pe(nt([e.Implements[0],ke(nt([xt,t]))]))}classPermits(e){const t=this.mapVisit(e.typeName),i=e.Comma?e.Comma.map((e=>Ie([e,xt]))):[];return Pe(nt([e.Permits[0],ke(nt([xt,Pe(et(i,t))]))]))}interfaceTypeList(e){const t=this.mapVisit(e.interfaceType);return Pe(et(e.Comma?e.Comma.map((e=>Ie([e,xt]))):[],t))}classBody(e,t){let i="";if(void 0!==e.classBodyDeclaration){const n=tt(this.mapVisit(e.classBodyDeclaration));i=et(Lt(e.classBodyDeclaration),n);let r=!1;e.classBodyDeclaration.forEach((e=>{(e.children.classMemberDeclaration&&!e.children.classMemberDeclaration[0].children.Semicolon||e.children.constructorDeclaration)&&(r=!0)})),(e.classBodyDeclaration[0].children.classMemberDeclaration||e.classBodyDeclaration[0].children.constructorDeclaration)&&r&&t&&t.isNormalClassDeclaration&&(i=nt([It,i]))}return ft(i,It,e.LCurly[0],e.RCurly[0])}classBodyDeclaration(e){return this.visitSingle(e)}classMemberDeclaration(e){return e.Semicolon?ot(e.Semicolon[0]):this.visitSingle(e)}fieldDeclaration(e){const t=at(e.fieldModifier),i=this.mapVisit(t[0]),n=this.mapVisit(t[1]),r=this.visit(e.unannType),a=this.visit(e.variableDeclaratorList);return it(It,[it(It,i),it(" ",[it(" ",n),r,Ie([a,e.Semicolon[0]])])])}fieldModifier(e){return e.annotation?this.visit(e.annotation):Se(this.getSingle(e))}variableDeclaratorList(e){const t=this.mapVisit(e.variableDeclarator);return et(e.Comma?e.Comma.map((e=>Ie([e," "]))):[],t)}variableDeclarator(e){const t=this.visit(e.variableDeclaratorId);if(e.Equals){const i=this.visit(e.variableInitializer);if(He(e.variableInitializer[0]))return Pe(ke(it(It,[it(" ",[t,e.Equals[0]]),i])));if(void 0!==e.variableInitializer[0].children.arrayInitializer||void 0!==e.variableInitializer[0].children.expression[0].children.lambdaExpression||void 0!==e.variableInitializer[0].children.expression[0].children.ternaryExpression&&void 0!==e.variableInitializer[0].children.expression[0].children.ternaryExpression[0].children.QuestionMark){const n=Symbol("assignment");return Pe([Pe(t)," ",e.Equals[0],Pe(ke(xt),{id:n}),Dt,qe(i,{groupId:n})])}if(void 0!==e.variableInitializer[0].children.expression[0].children.ternaryExpression){const n=e.variableInitializer[0].children.expression[0].children.ternaryExpression[0].children.binaryExpression[0].children.unaryExpression,r=n[0].children.primary[0];if(void 0!==r.children.primaryPrefix[0].children.castExpression&&1===n.length){const n=Symbol("assignment");return Pe([Pe(t)," ",e.Equals[0],Pe(ke(xt),{id:n}),Dt,qe(i,{groupId:n})])}if(void 0!==r.children.primaryPrefix[0].children.newExpression){const n=Symbol("assignment");return Pe([Pe(t)," ",e.Equals[0],Pe(ke(xt),{id:n}),Dt,qe(i,{groupId:n})])}const a=void 0!==r.children.primarySuffix&&void 0!==r.children.primarySuffix[0].children.methodInvocationSuffix,s=1===e.variableInitializer[0].children.expression[0].children.ternaryExpression[0].children.binaryExpression[0].children.unaryExpression.length;if(a&&s){const n=Symbol("assignment");return Pe([Pe(t)," ",e.Equals[0],Pe(ke(xt),{id:n}),Dt,qe(i,{groupId:n})])}}return Pe(ke(it(xt,[it(" ",[t,e.Equals[0]]),i])))}return t}variableDeclaratorId(e){if(e.Underscore)return Se(e.Underscore[0]);return nt([e.Identifier[0],this.visit(e.dims)])}variableInitializer(e){return this.visitSingle(e)}unannType(e){return this.visitSingle(e)}unannPrimitiveTypeWithOptionalDimsSuffix(e){return nt([this.visit(e.unannPrimitiveType),this.visit(e.dims)])}unannPrimitiveType(e){return e.numericType?this.visitSingle(e):Se(this.getSingle(e))}unannReferenceType(e){return nt([this.visit(e.unannClassOrInterfaceType),this.visit(e.dims)])}unannClassOrInterfaceType(e){return this.visit(e.unannClassType)}unannClassType(e){const t=rt(e.annotation,e.typeArguments,e.Identifier),i=[];let n=[];return Ne(t,((e,r)=>{le(e)?(n.push(this.visit([e])),i.push(nt(n)),n=[]):ce(e)?(n.push(this.visit([e])),n.push(" ")):(n.push(e),(r+1Ie([e,xt]))):[],t)}formalParameter(e){return this.visitSingle(e)}variableParaRegularParameter(e){const t=this.mapVisit(e.variableModifier),i=this.visit(e.unannType),n=this.visit(e.variableDeclaratorId);return it(" ",[it(" ",t),i,n])}variableArityParameter(e){const t=this.mapVisit(e.variableModifier),i=this.visit(e.unannType),n=this.mapVisit(e.annotation),r=e.Identifier[0],a=void 0===e.annotation?Ie([i,e.DotDotDot[0]]):i,s=void 0===e.annotation?n:Ie([it(" ",n),e.DotDotDot[0]]);return it(" ",[De(" ",t),a,s,r])}variableModifier(e){return e.annotation?this.visit(e.annotation):Se(this.getSingle(e))}throws(e){const t=this.visit(e.exceptionTypeList),i=De(" ",[e.Throws[0],t]);return Pe(ke(nt([bt,i])))}exceptionTypeList(e){const t=this.mapVisit(e.exceptionType);return et(e.Comma?e.Comma.map((e=>Ie([e," "]))):[],t)}exceptionType(e){return this.visitSingle(e)}methodBody(e){return e.block?this.visit(e.block):Se(this.getSingle(e))}instanceInitializer(e){return this.visitSingle(e)}staticInitializer(e){const t=this.visit(e.block);return De(" ",[e.Static[0],t])}constructorDeclaration(e){const t=at(e.constructorModifier),i=this.mapVisit(t[0]),n=this.mapVisit(t[1]),r=this.visit(e.constructorDeclarator),a=this.visit(e.throws),s=this.visit(e.constructorBody);return it(" ",[Pe(it(It,[it(It,i),it(" ",[De(" ",n),r,a])])),s])}constructorModifier(e){return e.annotation?this.visit(e.annotation):Se(this.getSingle(e))}constructorDeclarator(e){const t=this.visit(e.typeParameters),i=this.visit(e.simpleTypeName),n=this.visit(e.receiverParameter),r=this.visit(e.formalParameterList),a=e.Comma?e.Comma.map((e=>Ie([e," "]))):[];return it(" ",[t,Ie([i,ft(et(a,[n,r]),bt,e.LBrace[0],e.RBrace[0])])])}simpleTypeName(e){return Se(this.getSingle(e))}constructorBody(e){const t=this.visit(e.explicitConstructorInvocation),i=this.visit(e.blockStatements);return ft(it(It,[t,i]),It,e.LCurly[0],e.RCurly[0])}explicitConstructorInvocation(e){return this.visitSingle(e)}unqualifiedExplicitConstructorInvocation(e){return nt([this.visit(e.typeArguments),e.This?e.This[0]:e.Super[0],Pe(nt([ze.call(this,e.argumentList,e.RBrace[0],e.LBrace[0]),e.Semicolon[0]]))])}qualifiedExplicitConstructorInvocation(e){const t=this.visit(e.expressionName),i=this.visit(e.typeArguments),n=ze.call(this,e.argumentList,e.RBrace[0],e.LBrace[0]);return nt([t,e.Dot[0],i,e.Super[0],Pe(nt([n,e.Semicolon[0]]))])}enumDeclaration(e){const t=this.mapVisit(e.classModifier),i=this.visit(e.typeIdentifier),n=this.visit(e.superinterfaces),r=this.visit(e.enumBody);return it(" ",[De(" ",t),e.Enum[0],i,n,r])}enumBody(e){const t=this.visit(e.enumConstantList),i=this.visit(e.enumBodyDeclarations),n=void 0!==e.enumConstantList,r=void 0===e.enumBodyDeclarations||void 0===e.enumBodyDeclarations[0].children.classBodyDeclaration,a=!r&&We(e.enumBodyDeclarations[0])?It:"";let s;return s=n&&r&&"none"!==this.prettierOptions.trailingComma?e.Comma?e.Comma[0]:",":e.Comma?Object.assign(Object.assign({},e.Comma[0]),{image:""}):"",ft(nt([t,s,a,i]),It,e.LCurly[0],e.RCurly[0])}enumConstantList(e){const t=this.mapVisit(e.enumConstant),i=lt(e.enumConstant);return Pe(et(e.Comma?e.Comma.map(((e,t)=>Ie([e,i[t]]))):[],t))}enumConstant(e){const t=at(e.enumConstantModifier),i=this.mapVisit(t[0]),n=this.mapVisit(t[1]),r=e.Identifier[0],a=this.visit(e.classBody),s=e.LBrace?ze.call(this,e.argumentList,e.RBrace[0],e.LBrace[0]):"";return it(It,[it(It,i),it(" ",[it(" ",n),nt([r,s]),a])])}enumConstantModifier(e){return this.visitSingle(e)}enumBodyDeclarations(e){if(void 0!==e.classBodyDeclaration){const t=this.mapVisit(e.classBodyDeclaration),i=Lt(e.classBodyDeclaration);return it(Ie([It,It]),[e.Semicolon[0],et(i,t)])}return Se(Object.assign(Object.assign({},e.Semicolon[0]),{image:""}))}recordDeclaration(e){const t=this.visit(e.typeIdentifier),i=this.visit(e.typeParameters),n=this.visit(e.recordHeader);let r="";const a=this.visit(e.superinterfaces);a&&(r=ke(nt([xt,a])));const s=this.visit(e.recordBody);return it(" ",[Pe(nt([it(" ",[e.Record[0],t]),i,n,r])),s])}recordHeader(e){return ft(this.visit(e.recordComponentList),bt,e.LBrace[0],e.RBrace[0])}recordComponentList(e){const t=this.mapVisit(e.recordComponent),i=lt(e.recordComponent,xt);return et(e.Comma?e.Comma.map(((e,t)=>Ie([e,i[t]]))):[],t)}recordComponent(e){const t=this.mapVisit(e.recordComponentModifier),i=this.visit(e.unannType);if(void 0!==e.Identifier)return Pe(it(xt,[De(xt,t),De(" ",[i,e.Identifier[0]])]));const n=this.visit(e.variableArityRecordComponent);return void 0!==e.variableArityRecordComponent[0].children.annotation?Pe(it(xt,[De(xt,t),De(" ",[i,n])])):Pe(it(xt,[De(xt,t),Ie([i,n])]))}variableArityRecordComponent(e){const t=this.mapVisit(e.annotation),i=e.Identifier[0];return it(" ",[nt([it(" ",t),e.DotDotDot[0]]),i])}recordComponentModifier(e){return this.visitSingle(e)}recordBody(e){return ft(et(lt(e.recordBodyDeclaration),this.mapVisit(e.recordBodyDeclaration)),It,e.LCurly[0],e.RCurly[0])}recordBodyDeclaration(e){return this.visitSingle(e)}compactConstructorDeclaration(e){const t=at(e.constructorModifier),i=this.mapVisit(t[0]),n=this.mapVisit(t[1]),r=this.visit(e.simpleTypeName),a=this.visit(e.constructorBody);return it(" ",[Pe(it(It,[it(It,i),it(" ",[De(" ",n),r])])),a])}isDims(){return"isDims"}},class extends ye{expression(e,t){return this.visitSingle(e,t)}lambdaExpression(e,t){const i=Pe(this.visit(e.lambdaParameters,t),t?{id:t.lambdaParametersGroupId}:void 0),n=this.visit(e.lambdaBody);return void 0!==e.lambdaBody[0].children.block?it(" ",[i,e.Arrow[0],void 0!==(null==t?void 0:t.lambdaParametersGroupId)?qt(n,{groupId:t.lambdaParametersGroupId}):n]):Pe(ke(it(Vt,[it(" ",[i,e.Arrow[0]]),n])))}lambdaParameters(e,t){return e.lambdaParametersWithBraces?this.visitSingle(e,t):Se(this.getSingle(e))}lambdaParametersWithBraces(e,t){const i=this.visit(e.lambdaParameterList);if(st(i,",")){const n=ft(i,wt,e.LBrace[0],e.RBrace[0]);return!0===(null==t?void 0:t.isInsideMethodInvocationSuffix)?ke(Ie([wt,n])):n}return e.LBrace&&e.RBrace&&(!i||function(e){return e&&e.lambdaParameterList&&e.lambdaParameterList[0]&&e.lambdaParameterList[0].children&&e.lambdaParameterList[0].children.explicitLambdaParameterList}(e))||e.LBrace[0].leadingComments||e.LBrace[0].trailingComments||e.RBrace[0].leadingComments||e.RBrace[0].trailingComments?nt([e.LBrace[0],i,e.RBrace[0]]):i}lambdaParameterList(e){return this.visitSingle(e)}inferredLambdaParameterList(e){return et(e.Comma?e.Comma.map((e=>Ie([e,Vt]))):[],e.Identifier)}explicitLambdaParameterList(e){const t=this.mapVisit(e.lambdaParameter);return et(e.Comma?e.Comma.map((e=>Ie([e,Vt]))):[],t)}lambdaParameter(e){return this.visitSingle(e)}regularLambdaParameter(e){const t=this.mapVisit(e.variableModifier),i=this.visit(e.lambdaParameterType),n=this.visit(e.variableDeclaratorId);return it(" ",[it(" ",t),i,n])}lambdaParameterType(e){return e.unannType?this.visitSingle(e):Se(this.getSingle(e))}lambdaBody(e){return this.visitSingle(e)}ternaryExpression(e,t){const i=this.visit(e.binaryExpression,t);if(e.QuestionMark){const t=this.visit(e.expression[0]),n=this.visit(e.expression[1]);return ke(Pe(nt([it(Vt,[i,it(" ",[e.QuestionMark[0],t]),it(" ",[e.Colon[0],n])])])))}return i}binaryExpression(e,t){Pt(e);const i=function(e){let t=[];return Ne(e,(e=>{e&&(t=t.concat(e))})),t.sort(((e,t)=>e.location.startOffset-t.location.startOffset))}([e.pattern,e.referenceType,e.expression,e.unaryExpression]),n=this.mapVisit(i,1===i.length?t:void 0),r=function(e){let t=[];return Ne(e,(e=>{e&&(t=t.concat(e))})),t.sort(((e,t)=>e.startOffset-t.startOffset))}([e.Instanceof,e.AssignmentOperator,e.Less,e.Greater,e.BinaryOperator]),a=r.length>0,s=ht(n,r,!0);return a&&(null==t?void 0:t.addParenthesisToWrapStatement)?Pe(Ie([kt("("),ke(Ie([wt,s])),wt,kt(")")])):s}unaryExpression(e,t){const i=e.UnaryPrefixOperator?e.UnaryPrefixOperator:[],n=this.visit(e.primary,t),r=e.UnarySuffixOperator?e.UnarySuffixOperator:[];return nt([nt(i),n,nt(r)])}unaryExpressionNotPlusMinus(e){const t=e.UnaryPrefixOperatorNotPlusMinus?it(" ",e.UnaryPrefixOperatorNotPlusMinus):"",i=this.visit(e.primary),n=e.UnarySuffixOperator?it(" ",e.UnarySuffixOperator):"";return it(" ",[t,i,n])}primary(e,t){const i=function(e){if(void 0===e)return 0;let t=0;return e.forEach((e=>{if(void 0!==e.children.methodInvocationSuffix&&(t++,t>1))return 2})),t}(e.primarySuffix),n=this.visit(e.primaryPrefix,Object.assign(Object.assign({},t),{shouldBreakBeforeFirstMethodInvocation:i>1})),r=[];if(void 0!==e.primarySuffix){let t=!0;e.primarySuffix.length>1&&e.primarySuffix[1].children.methodInvocationSuffix&&2===Object.keys(e.primarySuffix[1].children.methodInvocationSuffix[0].children).length&&(t=!1),void 0!==e.primarySuffix[0].children.Dot&&void 0!==e.primaryPrefix[0].children.newExpression&&r.push(wt),r.push(this.visit(e.primarySuffix[0],{shouldDedent:1!==i&&e.primaryPrefix[0]&&e.primaryPrefix[0].children.fqnOrRefType&&!(void 0!==e.primaryPrefix[0].children.fqnOrRefType[0].children.Dot)&&e.primarySuffix[0].children.methodInvocationSuffix&&e.primarySuffix[0].children.methodInvocationSuffix[0].children.argumentList&&e.primarySuffix[0].children.methodInvocationSuffix[0].children.argumentList[0].children.expression&&void 0===e.primarySuffix[0].children.methodInvocationSuffix[0].children.argumentList[0].children.expression[0].children.lambdaExpression}));for(let i=1;i0&&(i=[...i,...e]),i.sort(((e,t)=>(ae(e)?e.children.At[0].startOffset:e.startOffset)-(ae(t)?t.children.At[0].startOffset:t.startOffset)))}(e.annotation,e.Identifier),i=[];let n=[];Ne(t,(e=>{ce(e)?n.push(this.visit([e])):(n.push(e),i.push(it(" ",n)),n=[])}));const r=this.visit(e.typeArgumentsOrDiamond);return nt([et(e.Dot?e.Dot:[],i),r])}typeArgumentsOrDiamond(e){return this.visitSingle(e)}diamond(e){return Ie([e.Less[0],e.Greater[0]])}methodInvocationSuffix(e,t){if(Ae(e.argumentList))return Ge.call(this,e.argumentList,e.RBrace[0],e.LBrace[0]);const i=this.visit(e.argumentList);return t&&t.shouldDedent?Ve(ft(i,wt,e.LBrace[0],e.RBrace[0])):ft(i,wt,e.LBrace[0],e.RBrace[0])}argumentList(e,t){const i=this.mapVisit(e.expression,t);return et(e.Comma?e.Comma.map((e=>Ie([e,Vt]))):[],i)}arrayCreationExpression(e){const t=e.primitiveType?this.visit(e.primitiveType):this.visit(e.classOrInterfaceType),i=e.arrayCreationDefaultInitSuffix?this.visit(e.arrayCreationDefaultInitSuffix):this.visit(e.arrayCreationExplicitInitSuffix);return nt([Ie([e.New[0]," "]),t,i])}arrayCreationDefaultInitSuffix(e){return nt([this.visit(e.dimExprs),this.visit(e.dims)])}arrayCreationExplicitInitSuffix(e){return it(" ",[this.visit(e.dims),this.visit(e.arrayInitializer)])}dimExprs(e){return nt(this.mapVisit(e.dimExpr))}dimExpr(e){const t=this.mapVisit(e.annotation),i=this.visit(e.expression);return it(" ",[it(" ",t),nt([e.LSquare[0],i,e.RSquare[0]])])}classLiteralSuffix(e){const t=[];if(e.LSquare)for(let i=0;iIe([e,Vt]))))&&void 0!==i?i:[],n)}componentPattern(e){return this.visitSingle(e)}unnamedPattern(e){return Se(e.Underscore[0])}guard(e){const t=this.visit(e.expression,{addParenthesisToWrapStatement:!0});return Ie([e.When[0]," ",t])}isRefTypeInMethodRef(){return"isRefTypeInMethodRef"}},class extends ye{interfaceDeclaration(e){const t=at(e.interfaceModifier),i=this.mapVisit(t[0]),n=this.mapVisit(t[1]),r=e.normalInterfaceDeclaration?this.visit(e.normalInterfaceDeclaration):this.visit(e.annotationTypeDeclaration);return it(Gt,[it(Gt,i),it(" ",[it(" ",n),r])])}normalInterfaceDeclaration(e){const t=this.visit(e.typeIdentifier),i=this.visit(e.typeParameters),n=this.visit(e.extendsInterfaces),r=this.visit(e.interfacePermits),a=this.visit(e.interfaceBody);let s="";n&&(s=ke(nt([Ft,n])));let o="";return r&&(o=ke(nt([Ft,r]))),it(" ",[Pe(it(" ",[e.Interface[0],Ie([t,i]),s,o])),a])}interfaceModifier(e){return e.annotation?this.visitSingle(e):Se(this.getSingle(e))}extendsInterfaces(e){const t=this.visit(e.interfaceTypeList);return Pe(nt([e.Extends[0],ke(nt([Yt,t]))]))}interfacePermits(e){return this.classPermits(e)}interfaceBody(e){let t="";if(void 0!==e.interfaceMemberDeclaration){const i=this.mapVisit(e.interfaceMemberDeclaration);t=et(ut(e.interfaceMemberDeclaration,Ut,dt),i)}return ft(t,Gt,e.LCurly[0],e.RCurly[0])}interfaceMemberDeclaration(e){return e.Semicolon?ot(e.Semicolon[0]):this.visitSingle(e)}constantDeclaration(e){const t=at(e.constantModifier),i=this.mapVisit(t[0]),n=this.mapVisit(t[1]),r=this.visit(e.unannType),a=this.visit(e.variableDeclaratorList);return it(Gt,[it(Gt,i),it(" ",[it(" ",n),r,nt([a,e.Semicolon[0]])])])}constantModifier(e){return e.annotation?this.visitSingle(e):Se(this.getSingle(e))}interfaceMethodDeclaration(e){const t=at(e.interfaceMethodModifier),i=this.mapVisit(t[0]),n=this.mapVisit(t[1]),r=this.visit(e.methodHeader),a=this.visit(e.methodBody),s=yt(a)?"":" ";return it(Gt,[it(Gt,i),it(" ",[it(" ",n),it(s,[r,a])])])}interfaceMethodModifier(e){return e.annotation?this.visitSingle(e):Se(this.getSingle(e))}annotationTypeDeclaration(e){const t=this.visit(e.typeIdentifier),i=this.visit(e.annotationTypeBody);return it(" ",[Ie([e.At[0],e.Interface[0]]),t,i])}annotationTypeBody(e){const t=this.mapVisit(e.annotationTypeMemberDeclaration);return it(Yt,[ke(it(Yt,[e.LCurly[0],it(Ie([Yt,Yt]),t)])),e.RCurly[0]])}annotationTypeMemberDeclaration(e){return e.Semicolon?Se(this.getSingle(e)):this.visitSingle(e)}annotationTypeElementDeclaration(e){const t=at(e.annotationTypeElementModifier),i=this.mapVisit(t[0]),n=this.mapVisit(t[1]),r=this.visit(e.unannType),a=e.Identifier[0],s=this.visit(e.dims),o=e.defaultValue?Ie([" ",this.visit(e.defaultValue)]):"";return it(Gt,[it(Gt,i),it(" ",[it(" ",n),r,nt([a,Ie([e.LBrace[0],e.RBrace[0]]),s,o,e.Semicolon[0]])])])}annotationTypeElementModifier(e){return e.annotation?this.visitSingle(e):Se(this.getSingle(e))}defaultValue(e){const t=this.visit(e.elementValue);return it(" ",[e.Default[0],t])}annotation(e){const t=this.visit(e.typeName);let i="";return e.LBrace&&(e.elementValuePairList?i=ft(this.visit(e.elementValuePairList),Ft,e.LBrace[0],e.RBrace[0]):e.elementValue&&(i=ft(this.visit(e.elementValue),Ft,e.LBrace[0],e.RBrace[0]))),Pe(nt([e.At[0],t,i]))}elementValuePairList(e){const t=this.mapVisit(e.elementValuePair);return et(e.Comma?e.Comma.map((e=>Ie([e,Yt]))):[],t)}elementValuePair(e){const t=e.Identifier[0],i=this.visit(e.elementValue);return it(" ",[t,e.Equals[0],i])}elementValue(e){return this.visitSingle(e)}elementValueArrayInitializer(e){return Tt({list:this.visit(e.elementValueList),extraComma:e.Comma,LCurly:e.LCurly[0],RCurly:e.RCurly[0],trailingComma:this.prettierOptions.trailingComma})}elementValueList(e){const t=this.mapVisit(e.elementValue);return Pe(nt([et(e.Comma?e.Comma.map((e=>Ie([e,Yt]))):[],t)]))}},class extends ye{literal(e){if(e.TextBlock){const t=e.TextBlock[0].image.split("\n"),i=t.shift(),n=Math.min(...t.map((e=>e.search(/\S/))).filter((e=>e>=0)));return De(jt,[i,...t.map((e=>e.slice(n)))])}return e.CharLiteral||e.StringLiteral||e.Null?Se(this.getSingle(e)):this.visitSingle(e)}integerLiteral(e){return Se(this.getSingle(e))}floatingPointLiteral(e){return Se(this.getSingle(e))}booleanLiteral(e){return Se(this.getSingle(e))}},class extends ye{typeIdentifier(e){return Se(e.Identifier[0])}moduleName(e){return Ze(e.Identifier,e.Dot)}packageName(e){return Ze(e.Identifier,e.Dot)}typeName(e){return Ze(e.Identifier,e.Dot)}expressionName(e){return Ze(e.Identifier,e.Dot)}methodName(e){return Se(e.Identifier[0])}packageOrTypeName(e){return Ze(e.Identifier,e.Dot)}ambiguousName(e){return Ze(e.Identifier,e.Dot)}},class extends ye{primitiveType(e){const t=this.mapVisit(e.annotation),i=e.numericType?this.visit(e.numericType):this.getSingle(e);return it(" ",[De(" ",t),i])}numericType(e){return this.visitSingle(e)}integralType(e){return Se(this.getSingle(e))}floatingPointType(e){return Se(this.getSingle(e))}referenceType(e){const t=this.mapVisit(e.annotation),i=e.primitiveType?this.visit(e.primitiveType):this.visit(e.classOrInterfaceType),n=this.visit(e.dims);return it(" ",[De(" ",t),Ie([i,n])])}classOrInterfaceType(e){return this.visitSingle(e)}classType(e){const t=rt(e.annotation,e.typeArguments,e.Identifier),i=[];let n=[];return Ne(t,((e,r)=>{le(e)?(n.push(this.visit([e])),i.push(nt(n)),n=[]):ce(e)?n.push(this.visit([e])," "):(n.push(e),(r+1(ae(e)?e.children.At[0].startOffset:e.startOffset)-(ae(t)?t.children.At[0].startOffset:t.startOffset)));const i=[];let n=[];return Ne(t,(t=>{ae(t)?n.push(this.visit([t])):(i.push(nt([it(" ",n),Ie([e.LSquare[0],e.RSquare[0]])])),n=[])})),nt(i)}typeParameter(e){const t=this.mapVisit(e.typeParameterModifier),i=this.visit(e.typeIdentifier),n=this.visit(e.typeBound);return it(" ",[De(" ",t),i,n])}typeParameterModifier(e){return this.visitSingle(e)}typeBound(e){const t=this.visit(e.classOrInterfaceType),i=this.mapVisit(e.additionalBound);return Ie([it(" ",[e.Extends[0],t]),ke(Pe(Ie([i.length?zt:"",it(zt,i)])))])}additionalBound(e){const t=this.visit(e.interfaceType);return De(" ",[e.And[0],t])}typeArguments(e){return ft(this.visit(e.typeArgumentList),Wt,e.Less[0],e.Greater[0])}typeArgumentList(e){const t=this.mapVisit(e.typeArgument);return et(e.Comma?e.Comma.map((e=>Ie([e,zt]))):[],t)}typeArgument(e){return this.visitSingle(e)}wildcard(e){const t=this.mapVisit(e.annotation),i=this.visit(e.wildcardBounds);return it(" ",[De(" ",t),e.QuestionMark[0],i])}wildcardBounds(e){return De(" ",[e.Extends?e.Extends[0]:e.Super[0],this.visit(e.referenceType)])}},class extends ye{compilationUnit(e){const t=(e=>void 0!==e.ordinaryCompilationUnit)(e)?e.ordinaryCompilationUnit:e.modularCompilationUnit;return Ie([this.visit(t[0]),_t])}ordinaryCompilationUnit(e){const t=this.visit(e.packageDeclaration),i=Bt(e.importDeclaration),n=this.mapVisit(i.nonStaticImports),r=this.mapVisit(i.staticImports),a=this.mapVisit(e.typeDeclaration);return nt([it(Ie([Ht,Ht]),[t,it(Ht,r),it(Ht,n),it(Ie([Ht,Ht]),a)])])}modularCompilationUnit(e){const t=Bt(e.importDeclaration),i=this.mapVisit(t.nonStaticImports),n=this.mapVisit(t.staticImports),r=this.visit(e.moduleDeclaration);return nt([it(Ie([Ht,Ht]),[it(Ht,n),it(Ht,i),r])])}packageDeclaration(e){const t=this.mapVisit(e.packageModifier),i=Ze(e.Identifier,e.Dot);return it(Ht,[it(Ht,t),Ie([e.Package[0]," ",i,e.Semicolon[0]])])}packageModifier(e){return this.visitSingle(e)}importDeclaration(e){if(void 0!==e.emptyStatement)return this.visit(e.emptyStatement);const t=e.Static?e.Static[0]:"",i=this.visit(e.packageOrTypeName),n=e.Dot?Ie([e.Dot[0],e.Star[0]]):"";return it(" ",[e.Import[0],t,nt([i,n,e.Semicolon[0]])])}typeDeclaration(e){return e.Semicolon?ot(e.Semicolon[0]):this.visitSingle(e)}moduleDeclaration(e){const t=this.mapVisit(e.annotation),i=e.Open?e.Open[0]:"",n=Ze(e.Identifier,e.Dot),r=this.mapVisit(e.moduleDirective),a=et(lt(e.moduleDirective),r);return it(" ",[De(" ",t),i,e.Module[0],n,ft(a,Ht,e.LCurly[0],e.RCurly[0])])}moduleDirective(e){return this.visitSingle(e)}requiresModuleDirective(e){const t=this.mapVisit(e.requiresModifier),i=this.visit(e.moduleName);return it(" ",[e.Requires[0],De(" ",t),Ie([i,e.Semicolon[0]])])}exportsModuleDirective(e){const t=this.visit(e.packageName),i=this.mapVisit(e.moduleName),n=e.Comma?e.Comma.map((e=>Ie([e,_t]))):[];return e.To?Jt(nt([Kt(it(_t,[it(" ",[e.Exports[0],t]),Jt(Kt(it(_t,[e.To[0],et(n,i)])))])),e.Semicolon[0]])):nt([Ie([e.Exports[0]," "]),t,e.Semicolon[0]])}opensModuleDirective(e){const t=this.visit(e.packageName),i=(e.To&&e.To[0],this.mapVisit(e.moduleName)),n=e.Comma?e.Comma.map((e=>Ie([e,_t]))):[];return e.To?Jt(nt([Kt(it(_t,[it(" ",[e.Opens[0],t]),Jt(Kt(it(_t,[e.To[0],et(n,i)])))])),e.Semicolon[0]])):nt([Ie([e.Opens[0]," "]),t,e.Semicolon[0]])}usesModuleDirective(e){const t=this.visit(e.typeName);return nt([Ie([e.Uses[0]," "]),t,e.Semicolon[0]])}providesModuleDirective(e){const t=this.visit(e.typeName[0]),i=this.mapVisit(e.typeName.slice(1)),n=e.Comma?e.Comma.map((e=>Ie([e,_t]))):[];return Jt(nt([Kt(it(_t,[it(" ",[e.Provides[0],t]),Jt(Kt(it(_t,[e.With[0],et(n,i)])))])),e.Semicolon[0]]))}requiresModifier(e){return Se(this.getSingle(e))}});const Qt=new ye;const $t={java:{print:function(e,t,i){return function(e,t){return Qt.prettierOptions=t,Qt.visit(e)}(e.getValue(),t)},printComment:function(e){const t=e.getValue();if("comment"===t.ast_type)return t.value;throw new Error("Not a comment: "+JSON.stringify(t))},canAttachComment:function(e){return e.ast_type&&"comment"!==e.ast_type},massageAstNode:function(e,t){delete t.lineno,delete t.col_offset}}},Xt={languages:[{name:"Java",parsers:["java"],group:"Java",tmScope:"text.html.vue",aceMode:"html",codemirrorMode:"clike",codemirrorMimeType:"text/x-java",extensions:[".java"],linguistLanguageId:181,vscodeLanguageIds:["java"]}],printers:$t,parsers:{java:{parse:function(e,t,i){return ne.parse(e,i.entrypoint)},astFormat:"java",locStart:function(){return-1},locEnd:function(){return-1},hasPragma:function(e){return/^\/\*\*[\n][\t\s]+\*\s@(prettier|format)[\n][\t\s]+\*\//.test(e)}}},options:{entrypoint:{type:"choice",category:"Global",default:"compilationUnit",choices:[{value:"arrayInitializer"},{value:"variableInitializerList"},{value:"block"},{value:"blockStatements"},{value:"blockStatement"},{value:"localVariableDeclarationStatement"},{value:"localVariableDeclaration"},{value:"localVariableType"},{value:"statement"},{value:"statementWithoutTrailingSubstatement"},{value:"emptyStatement"},{value:"labeledStatement"},{value:"expressionStatement"},{value:"statementExpression"},{value:"ifStatement"},{value:"assertStatement"},{value:"switchStatement"},{value:"switchBlock"},{value:"switchBlockStatementGroup"},{value:"switchLabel"},{value:"switchRule"},{value:"caseConstant"},{value:"whileStatement"},{value:"doStatement"},{value:"forStatement"},{value:"basicForStatement"},{value:"forInit"},{value:"forUpdate"},{value:"statementExpressionList"},{value:"enhancedForStatement"},{value:"breakStatement"},{value:"continueStatement"},{value:"returnStatement"},{value:"throwStatement"},{value:"synchronizedStatement"},{value:"tryStatement"},{value:"catches"},{value:"catchClause"},{value:"catchFormalParameter"},{value:"catchType"},{value:"finally"},{value:"tryWithResourcesStatement"},{value:"resourceSpecification"},{value:"resourceList"},{value:"resource"},{value:"yieldStatement"},{value:"variableAccess"},{value:"classDeclaration"},{value:"normalClassDeclaration"},{value:"classModifier"},{value:"typeParameters"},{value:"typeParameterList"},{value:"superclass"},{value:"superinterfaces"},{value:"interfaceTypeList"},{value:"classPermits"},{value:"classBody"},{value:"classBodyDeclaration"},{value:"classMemberDeclaration"},{value:"fieldDeclaration"},{value:"fieldModifier"},{value:"variableDeclaratorList"},{value:"variableDeclarator"},{value:"variableDeclaratorId"},{value:"variableInitializer"},{value:"unannType"},{value:"unannPrimitiveTypeWithOptionalDimsSuffix"},{value:"unannPrimitiveType"},{value:"unannReferenceType"},{value:"unannClassOrInterfaceType"},{value:"unannClassType"},{value:"unannInterfaceType"},{value:"unannTypeVariable"},{value:"methodDeclaration"},{value:"methodModifier"},{value:"methodHeader"},{value:"result"},{value:"methodDeclarator"},{value:"receiverParameter"},{value:"formalParameterList"},{value:"formalParameter"},{value:"variableParaRegularParameter"},{value:"variableArityParameter"},{value:"variableModifier"},{value:"throws"},{value:"exceptionTypeList"},{value:"exceptionType"},{value:"methodBody"},{value:"instanceInitializer"},{value:"staticInitializer"},{value:"constructorDeclaration"},{value:"constructorModifier"},{value:"constructorDeclarator"},{value:"simpleTypeName"},{value:"constructorBody"},{value:"explicitConstructorInvocation"},{value:"unqualifiedExplicitConstructorInvocation"},{value:"qualifiedExplicitConstructorInvocation"},{value:"enumDeclaration"},{value:"enumBody"},{value:"enumConstantList"},{value:"enumConstant"},{value:"enumConstantModifier"},{value:"enumBodyDeclarations"},{value:"recordDeclaration"},{value:"recordHeader"},{value:"recordComponentList"},{value:"recordComponent"},{value:"variableArityRecordComponent"},{value:"recordComponentModifier"},{value:"recordBody"},{value:"recordBodyDeclaration"},{value:"compactConstructorDeclaration"},{value:"isDims"},{value:"expression"},{value:"lambdaExpression"},{value:"lambdaParameters"},{value:"lambdaParametersWithBraces"},{value:"lambdaParameterList"},{value:"inferredLambdaParameterList"},{value:"explicitLambdaParameterList"},{value:"lambdaParameter"},{value:"regularLambdaParameter"},{value:"lambdaParameterType"},{value:"lambdaBody"},{value:"ternaryExpression"},{value:"binaryExpression"},{value:"unaryExpression"},{value:"unaryExpressionNotPlusMinus"},{value:"primary"},{value:"primaryPrefix"},{value:"primarySuffix"},{value:"fqnOrRefType"},{value:"fqnOrRefTypePartRest"},{value:"fqnOrRefTypePartCommon"},{value:"fqnOrRefTypePartFirst"},{value:"parenthesisExpression"},{value:"castExpression"},{value:"primitiveCastExpression"},{value:"referenceTypeCastExpression"},{value:"newExpression"},{value:"unqualifiedClassInstanceCreationExpression"},{value:"classOrInterfaceTypeToInstantiate"},{value:"typeArgumentsOrDiamond"},{value:"diamond"},{value:"methodInvocationSuffix"},{value:"argumentList"},{value:"arrayCreationExpression"},{value:"arrayCreationDefaultInitSuffix"},{value:"arrayCreationExplicitInitSuffix"},{value:"dimExprs"},{value:"dimExpr"},{value:"classLiteralSuffix"},{value:"arrayAccessSuffix"},{value:"methodReferenceSuffix"},{value:"pattern"},{value:"typePattern"},{value:"recordPattern"},{value:"componentPatternList"},{value:"componentPattern"},{value:"unnamedPattern"},{value:"guard"},{value:"isRefTypeInMethodRef"},{value:"interfaceDeclaration"},{value:"normalInterfaceDeclaration"},{value:"interfaceModifier"},{value:"extendsInterfaces"},{value:"interfacePermits"},{value:"interfaceBody"},{value:"interfaceMemberDeclaration"},{value:"constantDeclaration"},{value:"constantModifier"},{value:"interfaceMethodDeclaration"},{value:"interfaceMethodModifier"},{value:"annotationTypeDeclaration"},{value:"annotationTypeBody"},{value:"annotationTypeMemberDeclaration"},{value:"annotationTypeElementDeclaration"},{value:"annotationTypeElementModifier"},{value:"defaultValue"},{value:"annotation"},{value:"elementValuePairList"},{value:"elementValuePair"},{value:"elementValue"},{value:"elementValueArrayInitializer"},{value:"elementValueList"},{value:"literal"},{value:"integerLiteral"},{value:"floatingPointLiteral"},{value:"booleanLiteral"},{value:"moduleName"},{value:"packageName"},{value:"typeName"},{value:"expressionName"},{value:"methodName"},{value:"packageOrTypeName"},{value:"ambiguousName"},{value:"compilationUnit"},{value:"ordinaryCompilationUnit"},{value:"modularCompilationUnit"},{value:"packageDeclaration"},{value:"packageModifier"},{value:"importDeclaration"},{value:"typeDeclaration"},{value:"moduleDeclaration"},{value:"moduleDirective"},{value:"requiresModuleDirective"},{value:"exportsModuleDirective"},{value:"opensModuleDirective"},{value:"usesModuleDirective"},{value:"providesModuleDirective"},{value:"requiresModifier"},{value:"primitiveType"},{value:"numericType"},{value:"integralType"},{value:"floatingPointType"},{value:"referenceType"},{value:"classOrInterfaceType"},{value:"classType"},{value:"interfaceType"},{value:"typeVariable"},{value:"dims"},{value:"typeParameter"},{value:"typeParameterModifier"},{value:"typeBound"},{value:"additionalBound"},{value:"typeArguments"},{value:"typeArgumentList"},{value:"typeArgument"},{value:"wildcard"},{value:"wildcardBounds"}],description:"Prettify from the entrypoint, allowing to use prettier on snippet."},trailingComma:{type:"choice",category:"Java",default:"all",choices:["all","none"],description:"Print trailing commas wherever possible when multi-line."}}};var Zt=i(4935),ei=i(7294);const ti={playground:"playground_i2w8",options:"options_XaF9",editors:"editors_PrJG"};var ii=function(e){return e.None="none",e.All="all",e}(ii||{});const ni='public interface MyInterface {\n String foo();\n int[] bar();\n}\n\npublic abstract class Foo implements MyInterface {\n @Override public String foo() {\n // TODO: return an actual value here\n return "hello";\n }\n @Override public int[] bar() {\n return new int[] { 1,\n\n 2, 3,\n };\n }\n\n public final static boolean baz(final String foo, final int bar, final boolean baz) {\n return baz;\n }\n}';function ri(){return(0,o.jsx)(c.Z,{noFooter:!0,title:"Playground",children:(0,o.jsx)("main",{children:(0,o.jsx)(ai,{})})})}function ai(){const e=(0,n.k6)(),t=(0,n.TH)(),i=function(e){try{return JSON.parse(m().decompressFromEncodedURIComponent(e))??{}}catch{return{}}}(t.hash.slice(1)),[r,a]=(0,ei.useState)(i.printWidth??80),[s,c]=(0,ei.useState)(i.tabWidth??2),[u,U]=(0,ei.useState)(i.useTabs??!1),[E,d]=(0,ei.useState)(i.trailingComma??ii.All),[S,p]=(0,ei.useState)(i.requirePragma??!1),[L,f]=(0,ei.useState)(i.code??ni),[h,R]=(0,ei.useState)(""),v=(0,ei.useRef)(!0);return(0,ei.useEffect)((()=>{if(v.current)v.current=!1;else{const n=(i={printWidth:r,tabWidth:s,useTabs:u,trailingComma:E,requirePragma:S,code:L},m().compressToEncodedURIComponent(JSON.stringify(i)));e.replace({...t,hash:n})}var i;Zt.ZP.format(L,{parser:"java",plugins:[Xt],printWidth:r,tabWidth:s,useTabs:u,trailingComma:E,requirePragma:S}).then(R).catch((e=>R(e.message)))}),[r,s,u,E,S,L]),(0,o.jsxs)("div",{className:ti.playground,children:[(0,o.jsxs)("div",{className:ti.options,children:[(0,o.jsxs)("details",{open:!0,children:[(0,o.jsx)("summary",{children:"Global"}),(0,o.jsxs)("label",{title:"The line length that the printer will wrap on.",children:["--print-width"," ",(0,o.jsx)("input",{type:"number",min:0,value:r,onChange:e=>a(e.target.valueAsNumber)})]}),(0,o.jsxs)("label",{title:"The number of spaces per indentation-level.",children:["--tab-width"," ",(0,o.jsx)("input",{type:"number",min:0,value:s,onChange:e=>c(e.target.valueAsNumber)})]}),(0,o.jsxs)("label",{title:"Indent lines with tabs instead of spaces.",children:[(0,o.jsx)("input",{type:"checkbox",checked:u,onChange:e=>U(e.target.checked)})," ","--use-tabs"]})]}),(0,o.jsxs)("details",{open:!0,children:[(0,o.jsx)("summary",{children:"Java"}),(0,o.jsxs)("label",{title:"Print trailing commas wherever possible when multi-line.",children:["--trailing-comma"," ",(0,o.jsxs)("select",{value:E,onChange:e=>d(e.target.value),children:[(0,o.jsx)("option",{children:"all"}),(0,o.jsx)("option",{children:"none"})]})]})]}),(0,o.jsxs)("details",{open:!0,children:[(0,o.jsx)("summary",{children:"Special"}),(0,o.jsxs)("label",{title:"Require either '@prettier' or '@format' to be present in the file's first docblock comment in order for it to be formatted.",children:[(0,o.jsx)("input",{type:"checkbox",checked:S,onChange:e=>p(e.target.checked)})," ","--require-pragma"]})]})]}),(0,o.jsxs)("div",{className:ti.editors,children:[(0,o.jsx)(l,{defaultValue:L,onChange:f}),(0,o.jsx)(l,{readOnly:!0,value:h})]})]})}}}]); \ No newline at end of file +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[998],{9566:(e,t,i)=>{i.r(t),i.d(t,{default:()=>ri});var n=i(6550),r=i(2949),a=i(3764);const s={editor:"editor_P0MV"};var o=i(5893);function l(e){const{colorMode:t}=(0,r.I)();return(0,o.jsx)("div",{className:s.editor,children:(0,o.jsx)(a.ZP,{defaultValue:e.defaultValue,language:"java",options:{readOnly:e.readOnly},theme:"dark"===t?"vs-dark":"light",value:e.value,onChange:e.onChange})})}var c=i(6040),u=i(6961),m=i.n(u),U=i(22),E=i(7429);const d=(e,t)=>{for(let i=0;i{const i=f[e],n=new RegExp(`{{${e}}}`,"g");t=t.replace(n,i)})),t}function R(e,t){f[e]=h(t)}function v(e,t){const i=h(e);return new RegExp(i,t)}R("Digits","[0-9]([0-9_]*[0-9])?"),R("ExponentPart","[eE][+-]?{{Digits}}"),R("HexDigit","[0-9a-fA-F]"),R("HexDigits","{{HexDigit}}(({{HexDigit}}|'_')*{{HexDigit}})?"),R("FloatTypeSuffix","[fFdD]"),R("LineTerminator","(\\x0A|(\\x0D(\\x0A)?))"),R("UnicodeMarker","uu*"),R("UnicodeEscape","\\\\{{UnicodeMarker}}{{HexDigit}}{4}"),R("RawInputCharacter","\\\\{{UnicodeMarker}}[0-9a-fA-F]{4}"),R("UnicodeInputCharacter","({{UnicodeEscape}}|{{RawInputCharacter}})"),R("OctalDigit","[0-7]"),R("ZeroToThree","[0-3]"),R("OctalEscape","\\\\({{OctalDigit}}|{{ZeroToThree}}?{{OctalDigit}}{2})"),R("EscapeSequence","\\\\[bstnfr\"'\\\\]|{{OctalEscape}}"),R("StringCharacter","(?:(?:{{EscapeSequence}})|{{UnicodeInputCharacter}})");const O=(0,U.V3)({name:"Identifier",pattern:{exec:function(e,t){let i=t,n=e.codePointAt(i);for(S.has(n)&&(i++,n>65535&&i++,n=e.codePointAt(i));L.has(n);)i++,n>65535&&i++,n=e.codePointAt(i);return i===t?null:[e.substring(t,i)]}},line_breaks:!1,start_chars_hint:Array.from(S,(e=>String.fromCharCode(e)))}),C=[],y={};function B(e){e.label||("string"==typeof e.pattern?e.label=`'${e.pattern}'`:e.pattern instanceof RegExp&&(e.label=`'${e.name}'`));const t=(0,U.V3)(e);return C.push(t),y[e.name]=t,t}function T(e){return e.longer_alt=O,B(e)}const N=B({name:"RestrictedKeyword",pattern:U.hW.NA}),M=B({name:"Keyword",pattern:U.hW.NA}),g=B({name:"AssignmentOperator",pattern:U.hW.NA}),A=B({name:"BinaryOperator",pattern:U.hW.NA}),x=B({name:"UnaryPrefixOperator",pattern:U.hW.NA}),b=B({name:"UnaryPrefixOperatorNotPlusMinus",pattern:U.hW.NA}),I=B({name:"UnarySuffixOperator",pattern:U.hW.NA}),D=B({name:"Separators",pattern:U.hW.NA});B({name:"WhiteSpace",pattern:v("[\\x09\\x20\\x0C]|{{LineTerminator}}"),group:U.hW.SKIPPED}),B({name:"LineComment",pattern:/\/\/[^\n\r]*/,group:"comments"}),B({name:"TraditionalComment",pattern:/\/\*([^*]|\*(?!\/))*\*\//,group:"comments"}),B({name:"BinaryLiteral",pattern:/0[bB][01]([01_]*[01])?[lL]?/}),B({name:"FloatLiteral",pattern:v("{{Digits}}\\.({{Digits}})?({{ExponentPart}})?({{FloatTypeSuffix}})?|\\.{{Digits}}({{ExponentPart}})?({{FloatTypeSuffix}})?|{{Digits}}{{ExponentPart}}({{FloatTypeSuffix}})?|{{Digits}}({{ExponentPart}})?{{FloatTypeSuffix}}")}),B({name:"OctalLiteral",pattern:/0_*[0-7]([0-7_]*[0-7])?[lL]?/}),B({name:"HexFloatLiteral",pattern:v("0[xX]({{HexDigits}}\\.?|({{HexDigits}})?\\.{{HexDigits}})[pP][+-]?{{Digits}}[fFdD]?")}),B({name:"HexLiteral",pattern:/0[xX][0-9a-fA-F]([0-9a-fA-F_]*[0-9a-fA-F])?[lL]?/}),B({name:"DecimalLiteral",pattern:v("(0|[1-9](_+{{Digits}}|({{Digits}})?))[lL]?")}),B({name:"CharLiteral",pattern:v("'(?:[^\\\\']|(?:(?:{{EscapeSequence}})|{{UnicodeInputCharacter}}))'")}),B({name:"TextBlock",pattern:/"""\s*\n(\\"|\s|.)*?"""/}),B({name:"StringLiteral",pattern:v('"(?:[^\\\\"]|{{StringCharacter}})*"')});P(["open","module","requires","transitive","exports","opens","to","uses","provides","when","with","sealed","non-sealed","permits"]).forEach((e=>{T({name:e[0].toUpperCase()+E(e.substr(1)),pattern:e,categories:[O,N]})}));function P(e){return e.sort(((e,t)=>t.length-e.length))}function k(){return!1===("undefined"!=typeof process&&process.env&&"enabled"===process.env["prettier-java-development-mode"])}P(["abstract","continue","for","new","switch","assert","default","if","package","synchronized","boolean","do","goto","private","this","break","double","implements","protected","throw","byte","else","import","public","throws","case","enum","return","transient","catch","extends","int","short","try","char","final","interface","static","void","class","finally","long","strictfp","volatile","const","float","native","super","while",["_","underscore"]]).forEach((e=>{const t=Array.isArray(e),i=t?e[1]:e,n=t?e[0]:e,r={name:i[0].toUpperCase()+i.substr(1),pattern:n,categories:M};t&&(r.label=`'${i}'`),T(r)})),T({name:"Instanceof",pattern:"instanceof",categories:[M,A]}),T({name:"Var",pattern:"var",categories:O}),T({name:"Yield",pattern:"yield",categories:O}),T({name:"Record",pattern:"record",categories:O}),T({name:"True",pattern:"true"}),T({name:"False",pattern:"false"}),T({name:"Null",pattern:"null"}),B({name:"At",pattern:"@",categories:[D]}),B({name:"Arrow",pattern:"->"}),B({name:"DotDotDot",pattern:"...",categories:[D]}),B({name:"Dot",pattern:".",categories:[D]}),B({name:"Comma",pattern:",",categories:[D]}),B({name:"Semicolon",pattern:";",categories:[D]}),B({name:"ColonColon",pattern:"::",categories:[D]}),B({name:"Colon",pattern:":"}),B({name:"QuestionMark",pattern:"?"}),B({name:"LBrace",pattern:"(",categories:[D]}),B({name:"RBrace",pattern:")",categories:[D]}),B({name:"LCurly",pattern:"{",categories:[D]}),B({name:"RCurly",pattern:"}",categories:[D]}),B({name:"LSquare",pattern:"[",categories:[D]}),B({name:"RSquare",pattern:"]",categories:[D]}),B({name:"MinusMinus",pattern:"--",categories:[x,I,b]}),B({name:"PlusPlus",pattern:"++",categories:[x,I,b]}),B({name:"Complement",pattern:"~",categories:[x,b]}),B({name:"LessEquals",pattern:"<=",categories:[A]}),B({name:"LessLessEquals",pattern:"<<=",categories:[g]}),B({name:"Less",pattern:"<",categories:[A]}),B({name:"GreaterEquals",pattern:">=",categories:[A]}),B({name:"GreaterGreaterEquals",pattern:">>=",categories:[g]}),B({name:"GreaterGreaterGreaterEquals",pattern:">>>=",categories:[g]}),B({name:"Greater",pattern:">",categories:[A]}),B({name:"EqualsEquals",pattern:"==",categories:[A]}),B({name:"Equals",pattern:"=",categories:[A,g]}),B({name:"MinusEquals",pattern:"-=",categories:[g]}),B({name:"Minus",pattern:"-",categories:[A,x]}),B({name:"PlusEquals",pattern:"+=",categories:[g]}),B({name:"Plus",pattern:"+",categories:[A,x]}),B({name:"AndAnd",pattern:"&&",categories:[A]}),B({name:"AndEquals",pattern:"&=",categories:[g]}),B({name:"And",pattern:"&",categories:[A]}),B({name:"XorEquals",pattern:"^=",categories:[g]}),B({name:"Xor",pattern:"^",categories:[A]}),B({name:"NotEquals",pattern:"!=",categories:[A]}),B({name:"OrOr",pattern:"||",categories:[A]}),B({name:"OrEquals",pattern:"|=",categories:[g]}),B({name:"Or",pattern:"|",categories:[A]}),B({name:"MultiplyEquals",pattern:"*=",categories:[g]}),B({name:"Star",pattern:"*",categories:[A]}),B({name:"DivideEquals",pattern:"/=",categories:[g]}),B({name:"Divide",pattern:"/",categories:[A]}),B({name:"ModuloEquals",pattern:"%=",categories:[g]}),B({name:"Modulo",pattern:"%",categories:[A]}),B({name:"Not",pattern:"!",categories:[x,b]}),C.push(O),y.Identifier=O;const V=new U.hW(C,{ensureOptimizations:!0,skipValidations:k()});var w=i(459);function q(e,t){e.RULE("literal",(()=>{e.OR([{ALT:()=>e.SUBRULE(e.integerLiteral)},{ALT:()=>e.SUBRULE(e.floatingPointLiteral)},{ALT:()=>e.SUBRULE(e.booleanLiteral)},{ALT:()=>e.CONSUME(t.CharLiteral)},{ALT:()=>e.CONSUME(t.TextBlock)},{ALT:()=>e.CONSUME(t.StringLiteral)},{ALT:()=>e.CONSUME(t.Null)}])})),e.RULE("integerLiteral",(()=>{e.OR([{ALT:()=>e.CONSUME(t.DecimalLiteral)},{ALT:()=>e.CONSUME(t.HexLiteral)},{ALT:()=>e.CONSUME(t.OctalLiteral)},{ALT:()=>e.CONSUME(t.BinaryLiteral)}])})),e.RULE("floatingPointLiteral",(()=>{e.OR([{ALT:()=>e.CONSUME(t.FloatLiteral)},{ALT:()=>e.CONSUME(t.HexFloatLiteral)}])})),e.RULE("booleanLiteral",(()=>{e.OR([{ALT:()=>e.CONSUME(t.True)},{ALT:()=>e.CONSUME(t.False)}])}))}function Y(e,t){e.RULE("primitiveType",(()=>{e.MANY((()=>{e.SUBRULE(e.annotation)})),e.OR([{ALT:()=>e.SUBRULE(e.numericType)},{ALT:()=>e.CONSUME(t.Boolean)}])})),e.RULE("numericType",(()=>{e.OR([{ALT:()=>e.SUBRULE(e.integralType)},{ALT:()=>e.SUBRULE(e.floatingPointType)}])})),e.RULE("integralType",(()=>{e.OR([{ALT:()=>e.CONSUME(t.Byte)},{ALT:()=>e.CONSUME(t.Short)},{ALT:()=>e.CONSUME(t.Int)},{ALT:()=>e.CONSUME(t.Long)},{ALT:()=>e.CONSUME(t.Char)}])})),e.RULE("floatingPointType",(()=>{e.OR([{ALT:()=>e.CONSUME(t.Float)},{ALT:()=>e.CONSUME(t.Double)}])})),e.RULE("referenceType",(()=>{e.MANY((()=>{e.SUBRULE(e.annotation)})),e.OR({DEF:[{ALT:()=>{e.SUBRULE(e.primitiveType),e.SUBRULE(e.dims)}},{ALT:()=>{e.SUBRULE(e.classOrInterfaceType),e.OPTION((()=>{e.SUBRULE2(e.dims)}))}}],IGNORE_AMBIGUITIES:!0})})),e.RULE("classOrInterfaceType",(()=>{e.SUBRULE(e.classType)})),e.RULE("classType",(()=>{e.MANY((()=>{e.SUBRULE(e.annotation)})),e.CONSUME(t.Identifier),e.OPTION((()=>{e.SUBRULE(e.typeArguments)})),e.MANY2((()=>{e.CONSUME(t.Dot),e.MANY3((()=>{e.SUBRULE2(e.annotation)})),e.CONSUME2(t.Identifier),e.OPTION2((()=>e.SUBRULE2(e.typeArguments)))}))})),e.RULE("interfaceType",(()=>{e.SUBRULE(e.classType)})),e.RULE("typeVariable",(()=>{e.MANY((()=>{e.SUBRULE(e.annotation)})),e.CONSUME(t.Identifier)})),e.RULE("dims",(()=>{e.MANY((()=>{e.SUBRULE(e.annotation)})),e.CONSUME(t.LSquare),e.CONSUME(t.RSquare),e.MANY2({GATE:()=>e.BACKTRACK_LOOKAHEAD(e.isDims),DEF:()=>{e.MANY3((()=>{e.SUBRULE2(e.annotation)})),e.CONSUME2(t.LSquare),e.CONSUME2(t.RSquare)}})})),e.RULE("typeParameter",(()=>{e.MANY((()=>{e.SUBRULE(e.typeParameterModifier)})),e.SUBRULE(e.typeIdentifier),e.OPTION((()=>{e.SUBRULE(e.typeBound)}))})),e.RULE("typeParameterModifier",(()=>{e.SUBRULE(e.annotation)})),e.RULE("typeBound",(()=>{e.CONSUME(t.Extends),e.SUBRULE(e.classOrInterfaceType),e.MANY2((()=>{e.SUBRULE(e.additionalBound)}))})),e.RULE("additionalBound",(()=>{e.CONSUME(t.And),e.SUBRULE(e.interfaceType)})),e.RULE("typeArguments",(()=>{e.CONSUME(t.Less),e.SUBRULE(e.typeArgumentList),e.CONSUME(t.Greater)})),e.RULE("typeArgumentList",(()=>{e.SUBRULE(e.typeArgument),e.MANY((()=>{e.CONSUME(t.Comma),e.SUBRULE2(e.typeArgument)}))})),e.RULE("typeArgument",(()=>{e.OR([{ALT:()=>e.SUBRULE(e.referenceType)},{ALT:()=>e.SUBRULE(e.wildcard)}])})),e.RULE("wildcard",(()=>{e.MANY((()=>{e.SUBRULE(e.annotation)})),e.CONSUME(t.QuestionMark),e.OPTION((()=>{e.SUBRULE(e.wildcardBounds)}))})),e.RULE("wildcardBounds",(()=>{e.OR([{ALT:()=>e.CONSUME(t.Extends)},{ALT:()=>e.CONSUME(t.Super)}]),e.SUBRULE(e.referenceType)}))}function F(e,t){e.RULE("moduleName",(()=>{e.CONSUME(t.Identifier),e.MANY((()=>{e.CONSUME(t.Dot),e.CONSUME2(t.Identifier)}))})),e.RULE("packageName",(()=>{e.CONSUME(t.Identifier),e.MANY((()=>{e.CONSUME(t.Dot),e.CONSUME2(t.Identifier)}))})),e.RULE("typeName",(()=>{e.CONSUME(t.Identifier),e.MANY((()=>{e.CONSUME(t.Dot),e.CONSUME2(t.Identifier)}))})),e.RULE("expressionName",(()=>{e.CONSUME(t.Identifier),e.MANY({GATE:()=>(0,U.ol)(this.LA(2).tokenType,t.Identifier),DEF:()=>{e.CONSUME(t.Dot),e.CONSUME2(t.Identifier)}})})),e.RULE("methodName",(()=>{e.CONSUME(t.Identifier)})),e.RULE("packageOrTypeName",(()=>{e.CONSUME(t.Identifier),e.MANY({GATE:()=>!1===(0,U.ol)(this.LA(2).tokenType,t.Star),DEF:()=>{e.CONSUME(t.Dot),e.CONSUME2(t.Identifier)}})})),e.RULE("ambiguousName",(()=>{e.CONSUME(t.Identifier),e.MANY((()=>{e.CONSUME(t.Dot),e.CONSUME2(t.Identifier)}))}))}function G(e,t){e.RULE("compilationUnit",(()=>{e.OR([{ALT:()=>e.SUBRULE(e.ordinaryCompilationUnit)},{ALT:()=>e.SUBRULE(e.modularCompilationUnit)}]),e.CONSUME(U.sd)})),e.RULE("ordinaryCompilationUnit",(()=>{e.OPTION((()=>e.SUBRULE(e.packageDeclaration))),e.MANY((()=>{e.SUBRULE3(e.importDeclaration)})),e.MANY2((()=>{e.SUBRULE(e.typeDeclaration)}))})),e.RULE("modularCompilationUnit",(()=>{e.MANY((()=>{e.SUBRULE(e.importDeclaration)})),e.SUBRULE(e.moduleDeclaration)})),e.RULE("packageDeclaration",(()=>{e.MANY((()=>{e.SUBRULE(e.packageModifier)})),e.CONSUME(t.Package),e.CONSUME(t.Identifier),e.MANY2((()=>{e.CONSUME(t.Dot),e.CONSUME2(t.Identifier)})),e.CONSUME2(t.Semicolon)})),e.RULE("packageModifier",(()=>{e.SUBRULE(e.annotation)})),e.RULE("importDeclaration",(()=>{e.OR([{ALT:()=>{e.CONSUME(t.Import),e.OPTION((()=>{e.CONSUME(t.Static)})),e.SUBRULE(e.packageOrTypeName),e.OPTION2((()=>{e.CONSUME(t.Dot),e.CONSUME(t.Star)})),e.CONSUME(t.Semicolon)}},{ALT:()=>e.SUBRULE(e.emptyStatement)}])})),e.RULE("typeDeclaration",(()=>{e.OR([{ALT:()=>e.CONSUME(t.Semicolon)},{ALT:()=>e.SUBRULE(e.classDeclaration)},{ALT:()=>e.SUBRULE(e.interfaceDeclaration)},{ALT:()=>e.SUBRULE(e.fieldDeclaration)},{ALT:()=>e.SUBRULE(e.methodDeclaration)}])})),e.RULE("moduleDeclaration",(()=>{e.MANY((()=>{e.SUBRULE(e.annotation)})),e.OPTION((()=>{e.CONSUME(t.Open)})),e.CONSUME(t.Module),e.CONSUME(t.Identifier),e.MANY2((()=>{e.CONSUME(t.Dot),e.CONSUME2(t.Identifier)})),e.CONSUME(t.LCurly),e.MANY3((()=>{e.SUBRULE(e.moduleDirective)})),e.CONSUME(t.RCurly)})),e.RULE("moduleDirective",(()=>{e.OR([{ALT:()=>e.SUBRULE(e.requiresModuleDirective)},{ALT:()=>e.SUBRULE(e.exportsModuleDirective)},{ALT:()=>e.SUBRULE(e.opensModuleDirective)},{ALT:()=>e.SUBRULE(e.usesModuleDirective)},{ALT:()=>e.SUBRULE(e.providesModuleDirective)}])})),e.RULE("requiresModuleDirective",(()=>{e.CONSUME(t.Requires),e.MANY({GATE:()=>!1===((0,U.ol)(e.LA(1).tokenType,t.Transitive)&&(0,U.ol)(e.LA(2).tokenType,t.Separators)),DEF:()=>{e.SUBRULE(e.requiresModifier)}}),e.SUBRULE(e.moduleName),e.CONSUME(t.Semicolon)})),e.RULE("exportsModuleDirective",(()=>{e.CONSUME(t.Exports),e.SUBRULE(e.packageName),e.OPTION((()=>{e.CONSUME(t.To),e.SUBRULE(e.moduleName),e.MANY((()=>{e.CONSUME(t.Comma),e.SUBRULE2(e.moduleName)}))})),e.CONSUME(t.Semicolon)})),e.RULE("opensModuleDirective",(()=>{e.CONSUME(t.Opens),e.SUBRULE(e.packageName),e.OPTION((()=>{e.CONSUME(t.To),e.SUBRULE(e.moduleName),e.MANY((()=>{e.CONSUME(t.Comma),e.SUBRULE2(e.moduleName)}))})),e.CONSUME(t.Semicolon)})),e.RULE("usesModuleDirective",(()=>{e.CONSUME(t.Uses),e.SUBRULE(e.typeName),e.CONSUME(t.Semicolon)})),e.RULE("providesModuleDirective",(()=>{e.CONSUME(t.Provides),e.SUBRULE(e.typeName),e.CONSUME(t.With),e.SUBRULE2(e.typeName),e.MANY((()=>{e.CONSUME(t.Comma),e.SUBRULE3(e.typeName)})),e.CONSUME(t.Semicolon)})),e.RULE("requiresModifier",(()=>{e.OR([{ALT:()=>e.CONSUME(t.Transitive)},{ALT:()=>e.CONSUME(t.Static)}])}))}function j(e,t){e.RULE("classDeclaration",(()=>{e.MANY((()=>{e.SUBRULE(e.classModifier)})),e.OR([{ALT:()=>e.SUBRULE(e.normalClassDeclaration)},{ALT:()=>e.SUBRULE(e.enumDeclaration)},{ALT:()=>e.SUBRULE(e.recordDeclaration)}])})),e.RULE("normalClassDeclaration",(()=>{e.CONSUME(t.Class),e.SUBRULE(e.typeIdentifier),e.OPTION((()=>{e.SUBRULE(e.typeParameters)})),e.OPTION2((()=>{e.SUBRULE(e.superclass)})),e.OPTION3((()=>{e.SUBRULE(e.superinterfaces)})),e.OPTION4((()=>{e.SUBRULE(e.classPermits)})),e.SUBRULE(e.classBody)})),e.RULE("classModifier",(()=>{e.OR([{ALT:()=>e.SUBRULE(e.annotation)},{ALT:()=>e.CONSUME(t.Public)},{ALT:()=>e.CONSUME(t.Protected)},{ALT:()=>e.CONSUME(t.Private)},{ALT:()=>e.CONSUME(t.Abstract)},{ALT:()=>e.CONSUME(t.Static)},{ALT:()=>e.CONSUME(t.Final)},{ALT:()=>e.CONSUME(t.Sealed)},{ALT:()=>e.CONSUME(t.NonSealed)},{ALT:()=>e.CONSUME(t.Strictfp)}])})),e.RULE("typeParameters",(()=>{e.CONSUME(t.Less),e.SUBRULE(e.typeParameterList),e.CONSUME(t.Greater)})),e.RULE("typeParameterList",(()=>{e.SUBRULE(e.typeParameter),e.MANY((()=>{e.CONSUME(t.Comma),e.SUBRULE2(e.typeParameter)}))})),e.RULE("superclass",(()=>{e.CONSUME(t.Extends),e.SUBRULE(e.classType)})),e.RULE("superinterfaces",(()=>{e.CONSUME(t.Implements),e.SUBRULE(e.interfaceTypeList)})),e.RULE("interfaceTypeList",(()=>{e.SUBRULE(e.interfaceType),e.MANY((()=>{e.CONSUME(t.Comma),e.SUBRULE2(e.interfaceType)}))})),e.RULE("classPermits",(()=>{e.CONSUME(t.Permits),e.SUBRULE(e.typeName),e.MANY((()=>{e.CONSUME(t.Comma),e.SUBRULE2(e.typeName)}))})),e.RULE("classBody",(()=>{e.CONSUME(t.LCurly),e.MANY((()=>{e.SUBRULE(e.classBodyDeclaration)})),e.CONSUME(t.RCurly)})),e.RULE("classBodyDeclaration",(()=>{e.OR([{ALT:()=>e.SUBRULE(e.classMemberDeclaration)},{ALT:()=>e.SUBRULE(e.instanceInitializer)},{ALT:()=>e.SUBRULE(e.staticInitializer)},{ALT:()=>e.SUBRULE(e.constructorDeclaration)}])})),e.RULE("classMemberDeclaration",(()=>{e.OR([{ALT:()=>e.SUBRULE(e.fieldDeclaration)},{ALT:()=>e.SUBRULE(e.methodDeclaration)},{ALT:()=>e.SUBRULE(e.classDeclaration)},{ALT:()=>e.SUBRULE(e.interfaceDeclaration)},{ALT:()=>e.CONSUME(t.Semicolon)}])})),e.RULE("fieldDeclaration",(()=>{e.MANY((()=>{e.SUBRULE(e.fieldModifier)})),e.SUBRULE(e.unannType),e.SUBRULE(e.variableDeclaratorList),e.CONSUME(t.Semicolon)})),e.RULE("fieldModifier",(()=>{e.OR([{ALT:()=>e.SUBRULE(e.annotation)},{ALT:()=>e.CONSUME(t.Public)},{ALT:()=>e.CONSUME(t.Protected)},{ALT:()=>e.CONSUME(t.Private)},{ALT:()=>e.CONSUME(t.Static)},{ALT:()=>e.CONSUME(t.Final)},{ALT:()=>e.CONSUME(t.Transient)},{ALT:()=>e.CONSUME(t.Volatile)}])})),e.RULE("variableDeclaratorList",(()=>{e.SUBRULE(e.variableDeclarator),e.MANY({GATE:()=>!(0,U.ol)(this.LA(3).tokenType,t.Identifier),DEF:()=>{e.CONSUME(t.Comma),e.SUBRULE2(e.variableDeclarator)}})})),e.RULE("variableDeclarator",(()=>{e.SUBRULE(e.variableDeclaratorId),e.OPTION((()=>{e.CONSUME(t.Equals),e.SUBRULE(e.variableInitializer)}))})),e.RULE("variableDeclaratorId",(()=>{e.OR([{ALT:()=>{e.CONSUME(t.Identifier),e.OPTION((()=>{e.SUBRULE(e.dims)}))}},{ALT:()=>e.CONSUME(t.Underscore)}])})),e.RULE("variableInitializer",(()=>{e.OR([{ALT:()=>e.SUBRULE(e.expression)},{ALT:()=>e.SUBRULE(e.arrayInitializer)}])})),e.RULE("unannType",(()=>{e.OR([{ALT:()=>e.SUBRULE(e.unannPrimitiveTypeWithOptionalDimsSuffix)},{ALT:()=>e.SUBRULE(e.unannReferenceType)}])})),e.RULE("unannPrimitiveTypeWithOptionalDimsSuffix",(()=>{e.SUBRULE(e.unannPrimitiveType),e.OPTION({GATE:()=>this.BACKTRACK_LOOKAHEAD(e.isDims),DEF:()=>e.SUBRULE2(e.dims)})})),e.RULE("unannPrimitiveType",(()=>{e.OR([{ALT:()=>e.SUBRULE(e.numericType)},{ALT:()=>e.CONSUME(t.Boolean)}])})),e.RULE("unannReferenceType",(()=>{e.SUBRULE(e.unannClassOrInterfaceType),e.OPTION({GATE:()=>this.BACKTRACK_LOOKAHEAD(e.isDims),DEF:()=>e.SUBRULE2(e.dims)})})),e.RULE("unannClassOrInterfaceType",(()=>{e.SUBRULE(e.unannClassType)})),e.RULE("unannClassType",(()=>{e.CONSUME(t.Identifier),e.OPTION((()=>{e.SUBRULE(e.typeArguments)})),e.MANY2((()=>{e.CONSUME(t.Dot),e.MANY3((()=>{e.SUBRULE2(e.annotation)})),e.CONSUME2(t.Identifier),e.OPTION2((()=>{e.SUBRULE2(e.typeArguments)}))}))})),e.RULE("unannInterfaceType",(()=>{e.SUBRULE(e.unannClassType)})),e.RULE("unannTypeVariable",(()=>{e.CONSUME(t.Identifier)})),e.RULE("methodDeclaration",(()=>{e.MANY((()=>{e.SUBRULE(e.methodModifier)})),e.SUBRULE(e.methodHeader),e.SUBRULE(e.methodBody)})),e.RULE("methodModifier",(()=>{e.OR([{ALT:()=>e.SUBRULE(e.annotation)},{ALT:()=>e.CONSUME(t.Public)},{ALT:()=>e.CONSUME(t.Protected)},{ALT:()=>e.CONSUME(t.Private)},{ALT:()=>e.CONSUME(t.Abstract)},{ALT:()=>e.CONSUME(t.Static)},{ALT:()=>e.CONSUME(t.Final)},{ALT:()=>e.CONSUME(t.Synchronized)},{ALT:()=>e.CONSUME(t.Native)},{ALT:()=>e.CONSUME(t.Strictfp)}])})),e.RULE("methodHeader",(()=>{e.OPTION((()=>{e.SUBRULE(e.typeParameters),e.MANY((()=>{e.SUBRULE(e.annotation)}))})),e.SUBRULE(e.result),e.SUBRULE(e.methodDeclarator),e.OPTION2((()=>{e.SUBRULE(e.throws)}))})),e.RULE("result",(()=>{e.OR([{ALT:()=>e.SUBRULE(e.unannType)},{ALT:()=>e.CONSUME(t.Void)}])})),e.RULE("methodDeclarator",(()=>{e.CONSUME(t.Identifier),e.CONSUME(t.LBrace),e.OPTION((()=>{e.SUBRULE(e.formalParameterList)})),e.CONSUME(t.RBrace),e.OPTION2((()=>{e.SUBRULE(e.dims)}))})),e.RULE("receiverParameter",(()=>{e.MANY((()=>{e.SUBRULE(e.annotation)})),e.SUBRULE(e.unannType),e.OPTION((()=>{e.CONSUME(t.Identifier),e.CONSUME(t.Dot)})),e.CONSUME(t.This)})),e.RULE("formalParameterList",(()=>{e.SUBRULE(e.formalParameter),e.MANY((()=>{e.CONSUME(t.Comma),e.SUBRULE2(e.formalParameter)}))})),e.RULE("formalParameter",(()=>{e.OR([{ALT:()=>e.SUBRULE(e.variableParaRegularParameter)},{ALT:()=>e.SUBRULE(e.variableArityParameter)}])})),e.RULE("variableParaRegularParameter",(()=>{e.MANY((()=>{e.SUBRULE(e.variableModifier)})),e.SUBRULE(e.unannType),e.SUBRULE(e.variableDeclaratorId)})),e.RULE("variableArityParameter",(()=>{e.MANY((()=>{e.SUBRULE(e.variableModifier)})),e.SUBRULE(e.unannType),e.MANY2((()=>{e.SUBRULE(e.annotation)})),e.CONSUME(t.DotDotDot),e.CONSUME(t.Identifier)})),e.RULE("variableModifier",(()=>{e.OR([{ALT:()=>e.SUBRULE(e.annotation)},{ALT:()=>e.CONSUME(t.Final)}])})),e.RULE("throws",(()=>{e.CONSUME(t.Throws),e.SUBRULE(e.exceptionTypeList)})),e.RULE("exceptionTypeList",(()=>{e.SUBRULE(e.exceptionType),e.MANY((()=>{e.CONSUME(t.Comma),e.SUBRULE2(e.exceptionType)}))})),e.RULE("exceptionType",(()=>{e.SUBRULE(e.classType)})),e.RULE("methodBody",(()=>{e.OR([{ALT:()=>e.SUBRULE(e.block)},{ALT:()=>e.CONSUME(t.Semicolon)}])})),e.RULE("instanceInitializer",(()=>{e.SUBRULE(e.block)})),e.RULE("staticInitializer",(()=>{e.CONSUME(t.Static),e.SUBRULE(e.block)})),e.RULE("constructorDeclaration",(()=>{e.MANY((()=>{e.SUBRULE(e.constructorModifier)})),e.SUBRULE(e.constructorDeclarator),e.OPTION((()=>{e.SUBRULE(e.throws)})),e.SUBRULE(e.constructorBody)})),e.RULE("constructorModifier",(()=>{e.OR([{ALT:()=>e.SUBRULE(e.annotation)},{ALT:()=>e.CONSUME(t.Public)},{ALT:()=>e.CONSUME(t.Protected)},{ALT:()=>e.CONSUME(t.Private)}])})),e.RULE("constructorDeclarator",(()=>{e.OPTION((()=>{e.SUBRULE(e.typeParameters)})),e.SUBRULE(e.simpleTypeName),e.CONSUME(t.LBrace),e.OPTION2((()=>{e.SUBRULE(e.receiverParameter),e.CONSUME(t.Comma)})),e.OPTION3((()=>{e.SUBRULE(e.formalParameterList)})),e.CONSUME(t.RBrace)})),e.RULE("simpleTypeName",(()=>{e.CONSUME(t.Identifier)})),e.RULE("constructorBody",(()=>{e.CONSUME(t.LCurly),e.OPTION((()=>{e.SUBRULE(e.explicitConstructorInvocation)})),e.OPTION2((()=>{e.SUBRULE(e.blockStatements)})),e.CONSUME(t.RCurly)})),e.RULE("explicitConstructorInvocation",(()=>{e.OR([{ALT:()=>e.SUBRULE(e.unqualifiedExplicitConstructorInvocation)},{ALT:()=>e.SUBRULE(e.qualifiedExplicitConstructorInvocation)}])})),e.RULE("unqualifiedExplicitConstructorInvocation",(()=>{e.OPTION((()=>{e.SUBRULE(e.typeArguments)})),e.OR([{ALT:()=>e.CONSUME(t.This)},{ALT:()=>e.CONSUME(t.Super)}]),e.CONSUME(t.LBrace),e.OPTION2((()=>{e.SUBRULE(e.argumentList)})),e.CONSUME(t.RBrace),e.CONSUME(t.Semicolon)})),e.RULE("qualifiedExplicitConstructorInvocation",(()=>{e.SUBRULE(e.expressionName),e.CONSUME(t.Dot),e.OPTION((()=>{e.SUBRULE(e.typeArguments)})),e.CONSUME(t.Super),e.CONSUME(t.LBrace),e.OPTION2((()=>{e.SUBRULE(e.argumentList)})),e.CONSUME(t.RBrace),e.CONSUME(t.Semicolon)})),e.RULE("enumDeclaration",(()=>{e.MANY((()=>{e.SUBRULE(e.classModifier)})),e.CONSUME(t.Enum),e.SUBRULE(e.typeIdentifier),e.OPTION((()=>{e.SUBRULE(e.superinterfaces)})),e.SUBRULE(e.enumBody)})),e.RULE("enumBody",(()=>{e.CONSUME(t.LCurly),e.OPTION((()=>{e.SUBRULE(e.enumConstantList)})),e.OPTION2((()=>{e.CONSUME(t.Comma)})),e.OPTION3((()=>{e.SUBRULE(e.enumBodyDeclarations)})),e.CONSUME(t.RCurly)})),e.RULE("enumConstantList",(()=>{e.SUBRULE(e.enumConstant),e.MANY({GATE:()=>{const i=e.LA(2);return(0,U.ol)(i,t.Identifier)||(0,U.ol)(i,t.At)},DEF:()=>{e.CONSUME(t.Comma),e.SUBRULE2(e.enumConstant)}})})),e.RULE("enumConstant",(()=>{e.MANY((()=>{e.SUBRULE(e.enumConstantModifier)})),e.CONSUME(t.Identifier),e.OPTION((()=>{e.CONSUME(t.LBrace),e.OPTION2((()=>{e.SUBRULE(e.argumentList)})),e.CONSUME(t.RBrace)})),e.OPTION3((()=>{e.SUBRULE(e.classBody)}))})),e.RULE("enumConstantModifier",(()=>{e.SUBRULE(e.annotation)})),e.RULE("enumBodyDeclarations",(()=>{e.CONSUME(t.Semicolon),e.MANY((()=>{e.SUBRULE(e.classBodyDeclaration)}))})),e.RULE("recordDeclaration",(()=>{e.CONSUME(t.Record),e.SUBRULE(e.typeIdentifier),e.OPTION((()=>{e.SUBRULE(e.typeParameters)})),e.SUBRULE(e.recordHeader),e.OPTION2((()=>{e.SUBRULE(e.superinterfaces)})),e.SUBRULE(e.recordBody)})),e.RULE("recordHeader",(()=>{e.CONSUME(t.LBrace),e.OPTION((()=>{e.SUBRULE(e.recordComponentList)})),e.CONSUME(t.RBrace)})),e.RULE("recordComponentList",(()=>{e.SUBRULE(e.recordComponent),e.MANY((()=>{e.CONSUME(t.Comma),e.SUBRULE2(e.recordComponent)}))})),e.RULE("recordComponent",(()=>{e.MANY((()=>{e.SUBRULE(e.recordComponentModifier)})),e.SUBRULE(e.unannType),e.OR([{ALT:()=>e.CONSUME(t.Identifier)},{ALT:()=>e.SUBRULE(e.variableArityRecordComponent)}])})),e.RULE("variableArityRecordComponent",(()=>{e.MANY((()=>{e.SUBRULE(e.annotation)})),e.CONSUME(t.DotDotDot),e.CONSUME(t.Identifier)})),e.RULE("recordComponentModifier",(()=>{e.SUBRULE(e.annotation)})),e.RULE("recordBody",(()=>{e.CONSUME(t.LCurly),e.MANY((()=>{e.SUBRULE(e.recordBodyDeclaration)})),e.CONSUME(t.RCurly)})),e.RULE("recordBodyDeclaration",(()=>{e.OR([{ALT:()=>e.SUBRULE(e.compactConstructorDeclaration)},{ALT:()=>e.SUBRULE(e.classBodyDeclaration)}])})),e.RULE("compactConstructorDeclaration",(()=>{e.MANY((()=>{e.SUBRULE(e.constructorModifier)})),e.SUBRULE(e.simpleTypeName),e.SUBRULE(e.constructorBody)})),e.RULE("isDims",(()=>(e.MANY(e.annotation),(0,U.ol)(this.LA(1).tokenType,t.LSquare)&&(0,U.ol)(this.LA(2).tokenType,t.RSquare))))}function z(e,t){e.RULE("interfaceDeclaration",(()=>{e.MANY((()=>{e.SUBRULE(e.interfaceModifier)})),e.OR([{ALT:()=>e.SUBRULE(e.normalInterfaceDeclaration)},{ALT:()=>e.SUBRULE(e.annotationTypeDeclaration)}])})),e.RULE("normalInterfaceDeclaration",(()=>{e.CONSUME(t.Interface),e.SUBRULE(e.typeIdentifier),e.OPTION((()=>{e.SUBRULE(e.typeParameters)})),e.OPTION2((()=>{e.SUBRULE(e.extendsInterfaces)})),e.OPTION3((()=>{e.SUBRULE(e.interfacePermits)})),e.SUBRULE(e.interfaceBody)})),e.RULE("interfaceModifier",(()=>{e.OR([{ALT:()=>e.SUBRULE(e.annotation)},{ALT:()=>e.CONSUME(t.Public)},{ALT:()=>e.CONSUME(t.Protected)},{ALT:()=>e.CONSUME(t.Private)},{ALT:()=>e.CONSUME(t.Abstract)},{ALT:()=>e.CONSUME(t.Static)},{ALT:()=>e.CONSUME(t.Sealed)},{ALT:()=>e.CONSUME(t.NonSealed)},{ALT:()=>e.CONSUME(t.Strictfp)}])})),e.RULE("extendsInterfaces",(()=>{e.CONSUME(t.Extends),e.SUBRULE(e.interfaceTypeList)})),e.RULE("interfacePermits",(()=>{e.CONSUME(t.Permits),e.SUBRULE(e.typeName),e.MANY((()=>{e.CONSUME(t.Comma),e.SUBRULE2(e.typeName)}))})),e.RULE("interfaceBody",(()=>{e.CONSUME(t.LCurly),e.MANY((()=>{e.SUBRULE(e.interfaceMemberDeclaration)})),e.CONSUME(t.RCurly)})),e.RULE("interfaceMemberDeclaration",(()=>{e.OR([{ALT:()=>e.SUBRULE(e.constantDeclaration)},{ALT:()=>e.SUBRULE(e.interfaceMethodDeclaration)},{ALT:()=>e.SUBRULE(e.classDeclaration)},{ALT:()=>e.SUBRULE(e.interfaceDeclaration)},{ALT:()=>e.CONSUME(t.Semicolon)}])})),e.RULE("constantDeclaration",(()=>{e.MANY((()=>{e.SUBRULE(e.constantModifier)})),e.SUBRULE(e.unannType),e.SUBRULE(e.variableDeclaratorList),e.CONSUME(t.Semicolon)})),e.RULE("constantModifier",(()=>{e.OR([{ALT:()=>e.SUBRULE(e.annotation)},{ALT:()=>e.CONSUME(t.Public)},{ALT:()=>e.CONSUME(t.Static)},{ALT:()=>e.CONSUME(t.Final)}])})),e.RULE("interfaceMethodDeclaration",(()=>{e.MANY((()=>{e.SUBRULE(e.interfaceMethodModifier)})),e.SUBRULE(e.methodHeader),e.SUBRULE(e.methodBody)})),e.RULE("interfaceMethodModifier",(()=>{e.OR([{ALT:()=>e.SUBRULE(e.annotation)},{ALT:()=>e.CONSUME(t.Public)},{ALT:()=>e.CONSUME(t.Private)},{ALT:()=>e.CONSUME(t.Abstract)},{ALT:()=>e.CONSUME(t.Default)},{ALT:()=>e.CONSUME(t.Static)},{ALT:()=>e.CONSUME(t.Strictfp)}])})),e.RULE("annotationTypeDeclaration",(()=>{e.CONSUME(t.At),e.CONSUME(t.Interface),e.SUBRULE(e.typeIdentifier),e.SUBRULE(e.annotationTypeBody)})),e.RULE("annotationTypeBody",(()=>{e.CONSUME(t.LCurly),e.MANY((()=>{e.SUBRULE(e.annotationTypeMemberDeclaration)})),e.CONSUME(t.RCurly)})),e.RULE("annotationTypeMemberDeclaration",(()=>{e.OR([{ALT:()=>e.SUBRULE(e.annotationTypeElementDeclaration)},{ALT:()=>e.SUBRULE(e.constantDeclaration)},{ALT:()=>e.SUBRULE(e.classDeclaration)},{ALT:()=>e.SUBRULE(e.interfaceDeclaration)},{ALT:()=>e.CONSUME(t.Semicolon)}])})),e.RULE("annotationTypeElementDeclaration",(()=>{e.MANY((()=>{e.SUBRULE(e.annotationTypeElementModifier)})),e.SUBRULE(e.unannType),e.CONSUME(t.Identifier),e.CONSUME(t.LBrace),e.CONSUME(t.RBrace),e.OPTION((()=>{e.SUBRULE(e.dims)})),e.OPTION2((()=>{e.SUBRULE(e.defaultValue)})),e.CONSUME(t.Semicolon)})),e.RULE("annotationTypeElementModifier",(()=>{e.OR([{ALT:()=>e.SUBRULE(e.annotation)},{ALT:()=>e.CONSUME(t.Public)},{ALT:()=>e.CONSUME(t.Abstract)}])})),e.RULE("defaultValue",(()=>{e.CONSUME(t.Default),e.SUBRULE(e.elementValue)})),e.RULE("annotation",(()=>{e.CONSUME(t.At),e.SUBRULE(e.typeName),e.OPTION((()=>{e.CONSUME(t.LBrace),e.OR({DEF:[{ALT:()=>e.SUBRULE(e.elementValuePairList)},{ALT:()=>e.SUBRULE(e.elementValue)},{ALT:()=>{}}],IGNORE_AMBIGUITIES:!0}),e.CONSUME(t.RBrace)}))})),e.RULE("elementValuePairList",(()=>{e.SUBRULE(e.elementValuePair),e.MANY((()=>{e.CONSUME(t.Comma),e.SUBRULE2(e.elementValuePair)}))})),e.RULE("elementValuePair",(()=>{e.CONSUME(t.Identifier),e.CONSUME(t.Equals),e.SUBRULE(e.elementValue)})),e.RULE("elementValue",(()=>{e.OR([{ALT:()=>e.SUBRULE(e.expression)},{ALT:()=>e.SUBRULE(e.elementValueArrayInitializer)},{ALT:()=>e.SUBRULE(e.annotation)}])})),e.RULE("elementValueArrayInitializer",(()=>{e.CONSUME(t.LCurly),e.OPTION((()=>{e.SUBRULE(e.elementValueList)})),e.OPTION2((()=>{e.CONSUME(t.Comma)})),e.CONSUME(t.RCurly)})),e.RULE("elementValueList",(()=>{e.SUBRULE(e.elementValue),e.MANY({GATE:()=>!1===(0,U.ol)(e.LA(2).tokenType,t.RCurly),DEF:()=>{e.CONSUME(t.Comma),e.SUBRULE2(e.elementValue)}})}))}function W(e,t){e.RULE("arrayInitializer",(()=>{e.CONSUME(t.LCurly),e.OPTION((()=>{e.SUBRULE(e.variableInitializerList)})),e.OPTION2((()=>{e.CONSUME(t.Comma)})),e.CONSUME(t.RCurly)})),e.RULE("variableInitializerList",(()=>{e.SUBRULE(e.variableInitializer),e.MANY({GATE:()=>!1===(0,U.ol)(this.LA(2).tokenType,t.RCurly),DEF:()=>{e.CONSUME(t.Comma),e.SUBRULE2(e.variableInitializer)}})}))}function _(e,t){e.RULE("block",(()=>{e.CONSUME(t.LCurly),e.OPTION((()=>{e.SUBRULE(e.blockStatements)})),e.CONSUME(t.RCurly)})),e.RULE("blockStatements",(()=>{e.SUBRULE(e.blockStatement),e.MANY((()=>{e.SUBRULE2(e.blockStatement)}))})),e.RULE("blockStatement",(()=>{e.OR({DEF:[{ALT:()=>e.SUBRULE(e.localVariableDeclarationStatement)},{ALT:()=>e.SUBRULE(e.classDeclaration)},{ALT:()=>e.SUBRULE(e.interfaceDeclaration)},{ALT:()=>e.SUBRULE(e.statement)}],IGNORE_AMBIGUITIES:!0})})),e.RULE("localVariableDeclarationStatement",(()=>{e.SUBRULE(e.localVariableDeclaration),e.CONSUME(t.Semicolon)})),e.RULE("localVariableDeclaration",(()=>{e.MANY((()=>{e.SUBRULE(e.variableModifier)})),e.SUBRULE(e.localVariableType),e.SUBRULE(e.variableDeclaratorList)})),e.RULE("localVariableType",(()=>{e.OR({DEF:[{ALT:()=>e.SUBRULE(e.unannType)},{ALT:()=>e.CONSUME(t.Var)}],IGNORE_AMBIGUITIES:!0})})),e.RULE("statement",(()=>{e.OR([{ALT:()=>e.SUBRULE(e.statementWithoutTrailingSubstatement)},{ALT:()=>e.SUBRULE(e.labeledStatement)},{ALT:()=>e.SUBRULE(e.ifStatement)},{ALT:()=>e.SUBRULE(e.whileStatement)},{ALT:()=>e.SUBRULE(e.forStatement)}])})),e.RULE("statementWithoutTrailingSubstatement",(()=>{e.OR({DEF:[{ALT:()=>e.SUBRULE(e.block)},{ALT:()=>e.SUBRULE(e.yieldStatement)},{ALT:()=>e.SUBRULE(e.emptyStatement)},{GATE:()=>!(0,U.ol)(this.LA(1).tokenType,t.Switch),ALT:()=>e.SUBRULE(e.expressionStatement)},{ALT:()=>e.SUBRULE(e.assertStatement)},{ALT:()=>e.SUBRULE(e.switchStatement)},{ALT:()=>e.SUBRULE(e.doStatement)},{ALT:()=>e.SUBRULE(e.breakStatement)},{ALT:()=>e.SUBRULE(e.continueStatement)},{ALT:()=>e.SUBRULE(e.returnStatement)},{ALT:()=>e.SUBRULE(e.synchronizedStatement)},{ALT:()=>e.SUBRULE(e.throwStatement)},{ALT:()=>e.SUBRULE(e.tryStatement)}],IGNORE_AMBIGUITIES:!0})})),e.RULE("emptyStatement",(()=>{e.CONSUME(t.Semicolon)})),e.RULE("labeledStatement",(()=>{e.CONSUME(t.Identifier),e.CONSUME(t.Colon),e.SUBRULE(e.statement)})),e.RULE("expressionStatement",(()=>{e.SUBRULE(e.statementExpression),e.CONSUME(t.Semicolon)})),e.RULE("statementExpression",(()=>{e.SUBRULE(e.expression)})),e.RULE("ifStatement",(()=>{e.CONSUME(t.If),e.CONSUME(t.LBrace),e.SUBRULE(e.expression),e.CONSUME(t.RBrace),e.SUBRULE(e.statement),e.OPTION((()=>{e.CONSUME(t.Else),e.SUBRULE2(e.statement)}))})),e.RULE("assertStatement",(()=>{e.CONSUME(t.Assert),e.SUBRULE(e.expression),e.OPTION((()=>{e.CONSUME(t.Colon),e.SUBRULE2(e.expression)})),e.CONSUME(t.Semicolon)})),e.RULE("switchStatement",(()=>{e.CONSUME(t.Switch),e.CONSUME(t.LBrace),e.SUBRULE(e.expression),e.CONSUME(t.RBrace),e.SUBRULE(e.switchBlock)})),e.RULE("switchBlock",(()=>{e.CONSUME(t.LCurly),e.OR([{ALT:()=>e.MANY((()=>e.SUBRULE(e.switchBlockStatementGroup)))},{ALT:()=>e.MANY2((()=>e.SUBRULE(e.switchRule)))}]),e.CONSUME(t.RCurly)})),e.RULE("switchBlockStatementGroup",(()=>{e.SUBRULE(e.switchLabel),e.CONSUME(t.Colon),e.OPTION((()=>{e.SUBRULE(e.blockStatements)}))})),e.RULE("switchLabel",(()=>{e.OR([{ALT:()=>{e.CONSUME(t.Case),e.OR2([{ALT:()=>{e.CONSUME(t.Null),e.OPTION2((()=>{e.CONSUME3(t.Comma),e.CONSUME(t.Default)}))}},{ALT:()=>{e.SUBRULE(e.pattern),e.MANY((()=>{e.CONSUME(t.Comma),e.SUBRULE2(e.pattern)})),e.OPTION((()=>{e.SUBRULE(e.guard)}))}},{GATE:()=>!(0,U.ol)(e.LA(1).tokenType,t.Null),ALT:()=>{e.SUBRULE(e.caseConstant),e.MANY2((()=>{e.CONSUME2(t.Comma),e.SUBRULE2(e.caseConstant)}))}}])}},{ALT:()=>e.CONSUME2(t.Default)}])})),e.RULE("switchRule",(()=>{e.SUBRULE(e.switchLabel),e.CONSUME(t.Arrow),e.OR([{ALT:()=>e.SUBRULE(e.throwStatement)},{ALT:()=>e.SUBRULE(e.block)},{ALT:()=>{e.SUBRULE(e.expression),e.CONSUME(t.Semicolon)}}])})),e.RULE("caseConstant",(()=>{e.SUBRULE(e.ternaryExpression)})),e.RULE("whileStatement",(()=>{e.CONSUME(t.While),e.CONSUME(t.LBrace),e.SUBRULE(e.expression),e.CONSUME(t.RBrace),e.SUBRULE(e.statement)})),e.RULE("doStatement",(()=>{e.CONSUME(t.Do),e.SUBRULE(e.statement),e.CONSUME(t.While),e.CONSUME(t.LBrace),e.SUBRULE(e.expression),e.CONSUME(t.RBrace),e.CONSUME(t.Semicolon)})),e.RULE("forStatement",(()=>{e.OR([{ALT:()=>e.SUBRULE(e.basicForStatement)},{ALT:()=>e.SUBRULE(e.enhancedForStatement)}])})),e.RULE("basicForStatement",(()=>{e.CONSUME(t.For),e.CONSUME(t.LBrace),e.OPTION((()=>{e.SUBRULE(e.forInit)})),e.CONSUME(t.Semicolon),e.OPTION2((()=>{e.SUBRULE(e.expression)})),e.CONSUME2(t.Semicolon),e.OPTION3((()=>{e.SUBRULE(e.forUpdate)})),e.CONSUME(t.RBrace),e.SUBRULE(e.statement)})),e.RULE("forInit",(()=>{e.OR([{ALT:()=>e.SUBRULE(e.localVariableDeclaration)},{ALT:()=>e.SUBRULE(e.statementExpressionList)}])})),e.RULE("forUpdate",(()=>{e.SUBRULE(e.statementExpressionList)})),e.RULE("statementExpressionList",(()=>{e.SUBRULE(e.statementExpression),e.MANY((()=>{e.CONSUME(t.Comma),e.SUBRULE2(e.statementExpression)}))})),e.RULE("enhancedForStatement",(()=>{e.CONSUME(t.For),e.CONSUME(t.LBrace),e.MANY((()=>{e.SUBRULE(e.variableModifier)})),e.SUBRULE(e.localVariableType),e.SUBRULE(e.variableDeclaratorId),e.CONSUME(t.Colon),e.SUBRULE(e.expression),e.CONSUME(t.RBrace),e.SUBRULE(e.statement)})),e.RULE("breakStatement",(()=>{e.CONSUME(t.Break),e.OPTION((()=>{e.CONSUME(t.Identifier)})),e.CONSUME(t.Semicolon)})),e.RULE("continueStatement",(()=>{e.CONSUME(t.Continue),e.OPTION((()=>{e.CONSUME(t.Identifier)})),e.CONSUME(t.Semicolon)})),e.RULE("returnStatement",(()=>{e.CONSUME(t.Return),e.OPTION((()=>{e.SUBRULE(e.expression)})),e.CONSUME(t.Semicolon)})),e.RULE("throwStatement",(()=>{e.CONSUME(t.Throw),e.SUBRULE(e.expression),e.CONSUME(t.Semicolon)})),e.RULE("synchronizedStatement",(()=>{e.CONSUME(t.Synchronized),e.CONSUME(t.LBrace),e.SUBRULE(e.expression),e.CONSUME(t.RBrace),e.SUBRULE(e.block)})),e.RULE("tryStatement",(()=>{e.OR([{ALT:()=>{e.CONSUME(t.Try),e.SUBRULE(e.block),e.OR2([{ALT:()=>{e.SUBRULE(e.catches),e.OPTION((()=>{e.SUBRULE(e.finally)}))}},{ALT:()=>e.SUBRULE2(e.finally)}])}},{ALT:()=>e.SUBRULE(e.tryWithResourcesStatement)}])})),e.RULE("catches",(()=>{e.SUBRULE(e.catchClause),e.MANY((()=>{e.SUBRULE2(e.catchClause)}))})),e.RULE("catchClause",(()=>{e.CONSUME(t.Catch),e.CONSUME(t.LBrace),e.SUBRULE(e.catchFormalParameter),e.CONSUME(t.RBrace),e.SUBRULE(e.block)})),e.RULE("catchFormalParameter",(()=>{e.MANY((()=>{e.SUBRULE(e.variableModifier)})),e.SUBRULE(e.catchType),e.SUBRULE(e.variableDeclaratorId)})),e.RULE("catchType",(()=>{e.SUBRULE(e.unannClassType),e.MANY((()=>{e.CONSUME(t.Or),e.SUBRULE2(e.classType)}))})),e.RULE("finally",(()=>{e.CONSUME(t.Finally),e.SUBRULE(e.block)})),e.RULE("tryWithResourcesStatement",(()=>{e.CONSUME(t.Try),e.SUBRULE(e.resourceSpecification),e.SUBRULE(e.block),e.OPTION((()=>{e.SUBRULE(e.catches)})),e.OPTION2((()=>{e.SUBRULE(e.finally)}))})),e.RULE("resourceSpecification",(()=>{e.CONSUME(t.LBrace),e.SUBRULE(e.resourceList),e.OPTION((()=>{e.CONSUME(t.Semicolon)})),e.CONSUME(t.RBrace)})),e.RULE("resourceList",(()=>{e.SUBRULE(e.resource),e.MANY({GATE:()=>!1===(0,U.ol)(e.LA(2).tokenType,t.RBrace),DEF:()=>{e.CONSUME(t.Semicolon),e.SUBRULE2(e.resource)}})})),e.RULE("resource",(()=>{e.OR([{ALT:()=>e.SUBRULE(e.localVariableDeclaration)},{ALT:()=>e.SUBRULE(e.variableAccess)}])})),e.RULE("yieldStatement",(()=>{e.CONSUME(t.Yield),e.SUBRULE(e.expression),e.CONSUME(t.Semicolon)})),e.RULE("variableAccess",(()=>{e.SUBRULE(e.primary)}))}function H(e,t){e.RULE("expression",(()=>{e.OR([{ALT:()=>e.SUBRULE(e.lambdaExpression)},{ALT:()=>e.SUBRULE(e.ternaryExpression)}])})),e.RULE("lambdaExpression",(()=>{e.SUBRULE(e.lambdaParameters),e.CONSUME(t.Arrow),e.SUBRULE(e.lambdaBody)})),e.RULE("lambdaParameters",(()=>{e.OR([{ALT:()=>e.SUBRULE(e.lambdaParametersWithBraces)},{ALT:()=>e.CONSUME(t.Identifier)},{ALT:()=>e.CONSUME(t.Underscore)}])})),e.RULE("lambdaParametersWithBraces",(()=>{e.CONSUME(t.LBrace),e.OPTION((()=>{e.SUBRULE(e.lambdaParameterList)})),e.CONSUME(t.RBrace)})),e.RULE("lambdaParameterList",(()=>{e.OR([{GATE:()=>{const e=this.LA(1).tokenType,i=this.LA(2).tokenType;return(0,U.ol)(e,t.Identifier)&&((0,U.ol)(i,t.RBrace)||(0,U.ol)(i,t.Comma))},ALT:()=>e.SUBRULE(e.inferredLambdaParameterList)},{ALT:()=>e.SUBRULE(e.explicitLambdaParameterList)}])})),e.RULE("inferredLambdaParameterList",(()=>{e.CONSUME(t.Identifier),e.MANY((()=>{e.CONSUME(t.Comma),e.CONSUME2(t.Identifier)}))})),e.RULE("explicitLambdaParameterList",(()=>{e.SUBRULE(e.lambdaParameter),e.MANY((()=>{e.CONSUME(t.Comma),e.SUBRULE2(e.lambdaParameter)}))})),e.RULE("lambdaParameter",(()=>{e.OR([{ALT:()=>e.SUBRULE(e.regularLambdaParameter)},{ALT:()=>e.SUBRULE(e.variableArityParameter)}])})),e.RULE("regularLambdaParameter",(()=>{e.MANY((()=>{e.SUBRULE(e.variableModifier)})),e.SUBRULE(e.lambdaParameterType),e.SUBRULE(e.variableDeclaratorId)})),e.RULE("lambdaParameterType",(()=>{e.OR({DEF:[{ALT:()=>e.SUBRULE(e.unannType)},{ALT:()=>e.CONSUME(t.Var)}],IGNORE_AMBIGUITIES:!0})})),e.RULE("lambdaBody",(()=>{e.OR([{ALT:()=>e.SUBRULE(e.expression)},{ALT:()=>e.SUBRULE(e.block)}])})),e.RULE("ternaryExpression",(()=>{e.SUBRULE(e.binaryExpression),e.OPTION((()=>{e.CONSUME(t.QuestionMark),e.SUBRULE(e.expression),e.CONSUME(t.Colon),e.SUBRULE2(e.expression)}))})),e.RULE("binaryExpression",(()=>{e.SUBRULE(e.unaryExpression),e.MANY((()=>{e.OR({DEF:[{ALT:()=>{e.CONSUME(t.Instanceof),e.OR1([{ALT:()=>e.SUBRULE(e.pattern)},{ALT:()=>e.SUBRULE(e.referenceType)}])}},{ALT:()=>{e.CONSUME(t.AssignmentOperator),e.SUBRULE2(e.expression)}},{GATE:()=>(0,U.ol)(e.LA(2).tokenType,t.Less)||(0,U.ol)(e.LA(2).tokenType,t.Greater),ALT:()=>{e.OR2([{GATE:()=>e.LA(1).startOffset+1===e.LA(2).startOffset,ALT:()=>{e.CONSUME(t.Less),e.CONSUME2(t.Less)}},{GATE:()=>e.LA(1).startOffset+1===e.LA(2).startOffset,ALT:()=>{e.CONSUME(t.Greater),e.CONSUME2(t.Greater),e.OPTION({GATE:()=>e.LA(0).startOffset+1===e.LA(1).startOffset,DEF:()=>e.CONSUME3(t.Greater)})}}]),e.SUBRULE2(e.unaryExpression)}},{ALT:()=>{e.CONSUME(t.BinaryOperator),e.SUBRULE3(e.unaryExpression)}}],IGNORE_AMBIGUITIES:!0})}))})),e.RULE("unaryExpression",(()=>{e.MANY((()=>{e.CONSUME(t.UnaryPrefixOperator)})),e.SUBRULE(e.primary),e.MANY2((()=>{e.CONSUME(t.UnarySuffixOperator)}))})),e.RULE("unaryExpressionNotPlusMinus",(()=>{e.MANY((()=>{e.CONSUME(t.UnaryPrefixOperatorNotPlusMinus)})),e.SUBRULE(e.primary),e.MANY2((()=>{e.CONSUME(t.UnarySuffixOperator)}))})),e.RULE("primary",(()=>{e.SUBRULE(e.primaryPrefix),e.MANY((()=>{e.SUBRULE(e.primarySuffix)}))})),e.RULE("primaryPrefix",(()=>{e.OR([{ALT:()=>e.SUBRULE(e.literal)},{ALT:()=>e.CONSUME(t.This)},{ALT:()=>e.CONSUME(t.Void)},{ALT:()=>e.SUBRULE(e.unannPrimitiveTypeWithOptionalDimsSuffix)},{ALT:()=>e.SUBRULE(e.fqnOrRefType)},{ALT:()=>e.SUBRULE(e.castExpression)},{ALT:()=>e.SUBRULE(e.parenthesisExpression)},{ALT:()=>e.SUBRULE(e.newExpression)},{ALT:()=>e.SUBRULE(e.switchStatement)}])})),e.RULE("primarySuffix",(()=>{e.OR([{ALT:()=>{e.CONSUME(t.Dot),e.OR2([{ALT:()=>e.CONSUME(t.This)},{ALT:()=>e.SUBRULE(e.unqualifiedClassInstanceCreationExpression)},{ALT:()=>{e.OPTION((()=>{e.SUBRULE(e.typeArguments)})),e.CONSUME(t.Identifier)}}])}},{ALT:()=>e.SUBRULE(e.methodInvocationSuffix)},{ALT:()=>e.SUBRULE(e.classLiteralSuffix)},{ALT:()=>e.SUBRULE(e.arrayAccessSuffix)},{ALT:()=>e.SUBRULE(e.methodReferenceSuffix)}])})),e.RULE("fqnOrRefType",(()=>{e.SUBRULE(e.fqnOrRefTypePartFirst),e.MANY2({GATE:()=>!1===(0,U.ol)(this.LA(2).tokenType,t.Class)&&!1===(0,U.ol)(this.LA(2).tokenType,t.This)&&!1===(0,U.ol)(this.LA(2).tokenType,t.New),DEF:()=>{e.CONSUME(t.Dot),e.SUBRULE2(e.fqnOrRefTypePartRest)}}),e.OPTION({GATE:()=>(0,U.ol)(e.LA(1).tokenType,t.At)||(0,U.ol)(e.LA(2).tokenType,t.RSquare),DEF:()=>{e.SUBRULE(e.dims)}})})),e.RULE("fqnOrRefTypePartRest",(()=>{e.MANY((()=>{e.SUBRULE(e.annotation)})),e.OPTION((()=>e.SUBRULE2(e.typeArguments))),e.SUBRULE(e.fqnOrRefTypePartCommon)})),e.RULE("fqnOrRefTypePartCommon",(()=>{e.OR([{ALT:()=>e.CONSUME(t.Identifier)},{ALT:()=>e.CONSUME(t.Super)}]);let i=!1;(0,U.ol)(e.LA(1).tokenType,t.Less)&&(i=this.BACKTRACK_LOOKAHEAD(e.isRefTypeInMethodRef)),e.OPTION2({GATE:()=>i,DEF:()=>{e.SUBRULE3(e.typeArguments)}})})),e.RULE("fqnOrRefTypePartFirst",(()=>{e.MANY((()=>{e.SUBRULE(e.annotation)})),e.SUBRULE(e.fqnOrRefTypePartCommon)})),e.RULE("parenthesisExpression",(()=>{e.CONSUME(t.LBrace),e.SUBRULE(e.expression),e.CONSUME(t.RBrace)})),e.RULE("castExpression",(()=>{e.OR([{ALT:()=>e.SUBRULE(e.primitiveCastExpression)},{ALT:()=>e.SUBRULE(e.referenceTypeCastExpression)}])})),e.RULE("primitiveCastExpression",(()=>{e.CONSUME(t.LBrace),e.SUBRULE(e.primitiveType),e.CONSUME(t.RBrace),e.SUBRULE(e.unaryExpression)})),e.RULE("referenceTypeCastExpression",(()=>{e.CONSUME(t.LBrace),e.SUBRULE(e.referenceType),e.MANY((()=>{e.SUBRULE(e.additionalBound)})),e.CONSUME(t.RBrace),e.OR([{ALT:()=>e.SUBRULE(e.lambdaExpression)},{ALT:()=>e.SUBRULE(e.unaryExpressionNotPlusMinus)}])})),e.RULE("newExpression",(()=>{e.OR([{ALT:()=>e.SUBRULE(e.arrayCreationExpression)},{ALT:()=>e.SUBRULE(e.unqualifiedClassInstanceCreationExpression)}])})),e.RULE("unqualifiedClassInstanceCreationExpression",(()=>{e.CONSUME(t.New),e.OPTION((()=>{e.SUBRULE(e.typeArguments)})),e.SUBRULE(e.classOrInterfaceTypeToInstantiate),e.CONSUME(t.LBrace),e.OPTION2((()=>{e.SUBRULE(e.argumentList)})),e.CONSUME(t.RBrace),e.OPTION3((()=>{e.SUBRULE(e.classBody)}))})),e.RULE("classOrInterfaceTypeToInstantiate",(()=>{e.MANY((()=>{e.SUBRULE(e.annotation)})),e.CONSUME(t.Identifier),e.MANY2((()=>{e.CONSUME(t.Dot),e.MANY3((()=>{e.SUBRULE2(e.annotation)})),e.CONSUME2(t.Identifier)})),e.OPTION((()=>{e.SUBRULE(e.typeArgumentsOrDiamond)}))})),e.RULE("typeArgumentsOrDiamond",(()=>{e.OR([{ALT:()=>e.SUBRULE(e.diamond)},{ALT:()=>e.SUBRULE(e.typeArguments)}])})),e.RULE("diamond",(()=>{e.CONSUME(t.Less),e.CONSUME(t.Greater)})),e.RULE("methodInvocationSuffix",(()=>{e.CONSUME(t.LBrace),e.OPTION2((()=>{e.SUBRULE(e.argumentList)})),e.CONSUME(t.RBrace)})),e.RULE("argumentList",(()=>{e.SUBRULE(e.expression),e.MANY((()=>{e.CONSUME(t.Comma),e.SUBRULE2(e.expression)}))})),e.RULE("arrayCreationExpression",(()=>{e.CONSUME(t.New),e.OR([{ALT:()=>e.SUBRULE(e.primitiveType)},{ALT:()=>e.SUBRULE(e.classOrInterfaceType)}]),e.OR2([{ALT:()=>e.SUBRULE(e.arrayCreationDefaultInitSuffix)},{ALT:()=>e.SUBRULE(e.arrayCreationExplicitInitSuffix)}])})),e.RULE("arrayCreationDefaultInitSuffix",(()=>{e.SUBRULE(e.dimExprs),e.OPTION((()=>{e.SUBRULE(e.dims)}))})),e.RULE("arrayCreationExplicitInitSuffix",(()=>{e.SUBRULE(e.dims),e.SUBRULE(e.arrayInitializer)})),e.RULE("dimExprs",(()=>{e.SUBRULE(e.dimExpr),e.MANY({GATE:()=>!1===(0,U.ol)(e.LA(2).tokenType,t.RSquare),DEF:()=>e.SUBRULE2(e.dimExpr)})})),e.RULE("dimExpr",(()=>{e.MANY((()=>{e.SUBRULE(e.annotation)})),e.CONSUME(t.LSquare),e.SUBRULE(e.expression),e.CONSUME(t.RSquare)})),e.RULE("classLiteralSuffix",(()=>{e.MANY((()=>{e.CONSUME(t.LSquare),e.CONSUME(t.RSquare)})),e.CONSUME(t.Dot),e.CONSUME(t.Class)})),e.RULE("arrayAccessSuffix",(()=>{e.CONSUME(t.LSquare),e.SUBRULE(e.expression),e.CONSUME(t.RSquare)})),e.RULE("methodReferenceSuffix",(()=>{e.CONSUME(t.ColonColon),e.OPTION((()=>{e.SUBRULE(e.typeArguments)})),e.OR([{ALT:()=>e.CONSUME(t.Identifier)},{ALT:()=>e.CONSUME(t.New)}])})),e.RULE("pattern",(()=>{e.OR([{ALT:()=>e.SUBRULE(e.typePattern)},{ALT:()=>e.SUBRULE(e.recordPattern)}])})),e.RULE("typePattern",(()=>{e.SUBRULE(e.localVariableDeclaration)})),e.RULE("recordPattern",(()=>{e.SUBRULE(e.referenceType),e.CONSUME(t.LBrace),e.OPTION((()=>{e.SUBRULE(e.componentPatternList)})),e.CONSUME(t.RBrace)})),e.RULE("componentPatternList",(()=>{e.SUBRULE(e.componentPattern),e.MANY((()=>{e.CONSUME(t.Comma),e.SUBRULE2(e.componentPattern)}))})),e.RULE("componentPattern",(()=>{e.OR([{ALT:()=>e.SUBRULE(e.pattern)},{ALT:()=>e.SUBRULE(e.unnamedPattern)}])})),e.RULE("unnamedPattern",(()=>{e.CONSUME(t.Underscore)})),e.RULE("guard",(()=>{e.CONSUME(t.When),e.SUBRULE(e.expression)})),e.RULE("isRefTypeInMethodRef",(()=>{let i;e.SUBRULE(e.typeArguments);const n=e.OPTION((()=>{e.SUBRULE(e.dims)})),r=this.LA(1).tokenType;if((0,U.ol)(r,t.ColonColon)?i=!0:n&&(i=!1),e.OPTION2((()=>{e.CONSUME(t.Dot),e.SUBRULE(e.classOrInterfaceType)})),void 0!==i)return i;const a=this.LA(1).tokenType;return(0,U.ol)(a,t.ColonColon)}))}function K(){return this.computeContentAssist("unaryExpressionNotPlusMinus",[]).map((e=>e.nextTokenType)).filter(((e,t,i)=>i.indexOf(e)===t))}var J=i(2489);function Q(e){return e.image.match(/(\/\/(\s*)prettier-ignore(\s*))|(\/\*(\s*)prettier-ignore(\s*)\*\/)/gm)}function $(e,t,i,n){if(0===e.length)return void(i.NaN.leadingComments=t);!function(e,t,i){e.forEach((e=>{void 0===t[e.startOffset]&&(t[e.startOffset]=e),void 0===i[e.endOffset]&&(i[e.endOffset]=e)}))}(e,i,n),function(e,t){let i;e.forEach((e=>{i=function(e,t){let i,n,r,a=e.length;for(n=0;a;)i=a>>>1,r=n+i,e[r].startOffset>t.startOffset?a=i:(n=r+1,a-=i+1);return n}(t,e);const n=i-1<0?e.startOffset:t[i-1].endOffset,r=i==t.length?e.endOffset:t[i].startOffset;e.extendedOffset={startOffset:n,endOffset:r}}))}(t,e);const{commentsByExtendedStartOffset:r,commentsByExtendedEndOffset:a}=function(e){const t={},i={};return e.forEach((e=>{const n=e.extendedOffset.startOffset,r=e.extendedOffset.endOffset;void 0===t[r]?t[r]=[e]:t[r].push(e),void 0===i[n]?i[n]=[e]:i[n].push(e)})),{commentsByExtendedEndOffset:t,commentsByExtendedStartOffset:i}}(t),s=new Set(t);Object.keys(n).forEach((e=>{if(void 0!==r[e]){const t=r[e].filter((t=>function(e,t,i){if(Q(e))return!1;const n=i[e.extendedOffset.endOffset];if(void 0===n)return!0;const r=void 0!==t.location?t.location.endLine:t.endLine;if(e.startLine!==r)return!1;const a=void 0!==n.location?n.location.startLine:n.startLine;return e.endLine!==a}(t,n[e],i)&&s.has(t)));t.length>0&&(n[e].trailingComments=t),t.forEach((e=>{s.delete(e)}))}})),Object.keys(i).forEach((e=>{if(void 0!==a[e]){const t=a[e].filter((e=>s.has(e)));t.length>0&&(i[e].leadingComments=t);for(let n=0;n{}:void 0}),nodeLocationTracking:"full",skipValidations:k()});const e=this;this.mostEnclosiveCstNodeByStartOffset={},this.mostEnclosiveCstNodeByEndOffset={},e.RULE("typeIdentifier",(()=>{e.CONSUME(y.Identifier)})),q.call(this,e,y),Y.call(this,e,y),F.call(this,e,y),j.call(this,e,y),G.call(this,e,y),z.call(this,e,y),W.call(this,e,y),_.call(this,e,y),H.call(this,e,y),this.firstForUnaryExpressionNotPlusMinus=[],this.performSelfAnalysis(),this.firstForUnaryExpressionNotPlusMinus=K.call(this)}cstPostNonTerminal(e,t){this.isBackTracking()||(super.cstPostNonTerminal(e,t),this.mostEnclosiveCstNodeByStartOffset[e.location.startOffset]=e,this.mostEnclosiveCstNodeByEndOffset[e.location.endOffset]=e,function(e,t){const i=J(t,(t=>t.off.endOffsete.location.endOffset)&&(e.ignore=!0)}(e,this.onOffCommentPairs))}BACKTRACK_LOOKAHEAD(e,t){return void 0===t&&(t=!1),this.ACTION((()=>{this.isBackTrackingStack.push(1);const i=this.saveRecogState();try{const{ruleName:t,originalGrammarAction:i}=e;try{return this.ruleInvocationStateUpdate(this.fullRuleNameToShort[t],t,this.subruleIdx),i.call(this)}catch(n){return this.invokeRuleCatch(n,!0,(()=>{}))}finally{this.ruleFinallyStateUpdate()}}catch(n){if((0,U.bS)(n))return t;throw n}finally{this.reloadRecogState(i),this.isBackTrackingStack.pop()}}))}setOnOffCommentPairs(e){this.onOffCommentPairs=e}}const Z=new X,ee=Z.getBaseCstVisitorConstructor(),te=Z.getBaseCstVisitorConstructorWithDefaults();function ie(e,t){void 0===t&&(t="compilationUnit");const i=V.tokenize(e);if(i.errors.length>0){const e=i.errors[0];throw Error("Sad sad panda, lexing errors detected in line: "+e.line+", column: "+e.column+"!\n"+e.message)}const n=i.tokens;Z.input=n,Z.mostEnclosiveCstNodeByStartOffset={},Z.mostEnclosiveCstNodeByEndOffset={},Z.setOnOffCommentPairs(function(e){const t=e.filter((e=>function(e){return e.image.match(/(\/\/(\s*)@formatter:(off|on)(\s*))|(\/\*(\s*)@formatter:(off|on)(\s*)\*\/)/gm)}(e)));let i=!1,n=!0;const r=[];let a={};return t.forEach((e=>{n="off"===e.image.slice(-3),i?n||(a.on=e,r.push(a),a={}):n&&(a.off=e),i=n})),t.length>0&&n&&(a.on=void 0,r.push(a)),r}(i.groups.comments));const r=Z[t]();if(Z.errors.length>0){const e=Z.errors[0];throw Error("Sad sad panda, parsing errors detected in line: "+e.token.startLine+", column: "+e.token.startColumn+"!\n"+e.message+"!\n\t->"+e.context.ruleStack.join("\n\t->"))}return $(n,i.groups.comments,Z.mostEnclosiveCstNodeByStartOffset,Z.mostEnclosiveCstNodeByEndOffset),{cst:r,tokens:n}}const ne={lexAndParse:ie,parse:function(e,t){return void 0===t&&(t="compilationUnit"),ie(e,t).cst},BaseJavaCstVisitor:ee,BaseJavaCstVisitorWithDefaults:te};var re=i(3104);function ae(e){return!se(e)}function se(e){return void 0!==e.tokenType&&void 0!==e.image}function oe(e){return void 0!==e&&se(e)}const le=e=>"typeArguments"===e.name,ce=e=>"annotation"===e.name,ue=e=>""===e||0===(Array.isArray(e)&&e.length),{hardline:me,lineSuffix:Ue,breakParent:Ee,literalline:de}=re.builders;function Se(e){return pe(e,e.image,Le,Re)}function pe(e,t,i,n){const r=i(e),a=n(e,t);return 0===r.length&&0===a.length?t:[...r,t,...a]}function Le(e){return he(e,e)}function fe(e){return he(e,e.location)}function he(e,t){const i=[];if(void 0!==e.leadingComments){let n,r=e.leadingComments[0].endLine;i.push(Ce(e.leadingComments[0]));for(let a=1;at.startOffset?i.push(me):n>1&&i.push(me,me),i.push(Ce(e.leadingComments[a])),r=e.leadingComments[a].endLine;n=t.startLine-r,1===n||e.leadingComments[e.leadingComments.length-1].startOffset>t.startOffset?i.push(me):n>1&&i.push(me,me)}return i}function Re(e){return Oe(e,e.image,e)}function ve(e,t){return Oe(e,t,e.location)}function Oe(e,t,i){const n=[];let r=i.endLine;return void 0!==e.trailingComments&&e.trailingComments.forEach(((e,i)=>{let a="";e.startLine!==r?n.push(me):ue(t)||0!==i||(a=" "),"LineComment"===e.tokenType.name?n.push(Ue([a,Ce(e),Ee])):n.push(Ce(e)),r=e.endLine})),n}function Ce(e){const t=[],i=e.image.split("\n");return function(e,t){let i=!0;if("TraditionalComment"===e.tokenType.name&&t.length>1){for(let n=1;n{t.push(e),t.push(de)})),t.pop(),t)}class ye extends ee{constructor(){super(),this.mapVisit=(e,t)=>void 0===e?[]:e.map((e=>this.visit(e,t))),this.getSingle=e=>{const t=Object.keys(e);if(1!==t.length)throw Error(`Expecting single key CST ctx but found: <${t.length}> keys`);const i=e[t[0]];if(1!==(null==i?void 0:i.length))throw Error(`Expecting single item in CST ctx key but found: <${null==i?void 0:i.length}> items`);return i[0]},this.orgVisit=this.visit,this.visit=function(e,t){if(void 0===e)return"";const i=Array.isArray(e)?e[0]:e;if(i.ignore)try{const e=void 0!==i.leadingComments?i.leadingComments[0].startOffset:i.location.startOffset,t=void 0!==i.trailingComments?i.trailingComments[i.trailingComments.length-1].endOffset:i.location.endOffset;return this.prettierOptions.originalText.substring(e,t+1)}catch(n){throw Error(n+"\nThere might be a problem with prettier-ignore, please report an issue on https://github.com/jhipster/prettier-java/issues")}return function(e,t){return pe(e,t,fe,ve)}(i,this.orgVisit.call(this,i,t))},this.visitSingle=function(e,t){const i=this.getSingle(e);return this.visit(i,t)}}}var Be=i(6259),Te=i(1724),Ne=i(7003),Me=i(8022),ge=i(2501);function Ae(e){if(void 0===e)return!1;const t=e[0].children.expression;if(1!==t.length)return!1;return void 0!==t[0].children.lambdaExpression}const xe=e=>{if(void 0===e)return!1;const t=e[0].children.expression;if(1!==t.length)return!1;const i=t[0];return void 0!==i.children.lambdaExpression&&void 0!==i.children.lambdaExpression[0].children.lambdaBody[0].children.block},be=function(e){return Array.isArray(e)?e.map((e=>oe(e)?Se(e):e)):oe(e)?Se(e):e};function Ie(e){const t=be(e);return Array.isArray(e)?t:""}function De(e,t){return re.builders.join(be(e),be(t))}function Pe(e,t){const i=re.builders.group(be(e),t);return void 0===i.contents?"":i}function ke(e){const t=be(e);return 0===t.length?"":re.builders.indent(t)}function Ve(e){return 0===be(e).length?"":re.builders.dedent(be(e))}function we(e,t){return re.builders.ifBreak(be(e),be(t))}function qe(e,t){return re.builders.indentIfBreak(be(e),t)}const{softline:Ye,ifBreak:Fe}=re.builders;function Ge(e,t,i){const n=Symbol("lambdaParameters");return Ve(ft(this.visit(e,{lambdaParametersGroupId:n,isInsideMethodInvocationSuffix:!0}),"",i,xe(e)?Fe(ke(Ie([Ye,t])),Se(t),{groupId:n}):ke(Ie([Ye,t]))))}const{softline:je}=re.builders;function ze(e,t,i){if(Ae(e))return Ge.call(this,e,t,i);return ft(this.visit(e,{isInsideMethodInvocationSuffix:!0}),je,i,t)}function We(e){return void 0!==e.leadingComments}function _e(e){return void 0!==e.trailingComments}function He(e){return void 0!==e.leadingComments&&0!==e.leadingComments.length&&"LineComment"===e.leadingComments[e.leadingComments.length-1].tokenType.name}function Ke(e){return We(e)||_e(e)}const{indent:Je,hardline:Qe,line:$e}=re.builders,Xe=["Public","Protected","Private","Abstract","Default","Static","Final","Transient","Volatile","Synchronized","Native","Sealed","NonSealed","Strictfp"];function Ze(e,t){return et(t||[],e)}function et(e,t,i){if(!Array.isArray(e))return it(e,t);const n=tt(t),r=[];for(let a=0;a"string"==typeof e?""!==e:0!=e&&void 0!==e))}function it(e,t){return De(e,tt(t))}function nt(e){return Ie(tt(e))}function rt(e,t,i,n){let r=[...i];return e&&e.length>0&&(r=[...r,...e]),t&&t.length>0&&(r=[...r,...t]),n&&n.length>0&&(r=[...r,...n]),r.sort(((e,t)=>(ae(e)?e.children.At?e.children.At[0].startOffset:e.children.Less[0].startOffset:e.startOffset)-(ae(t)?t.children.At?t.children.At[0].startOffset:t.children.Less[0].startOffset:t.startOffset)))}function at(e){let t=[];const i=[];let n=[],r=!1;return Me(e,(e=>{const a=void 0!==e.children.annotation,s=a&&("methodModifier"===e.name||"interfaceMethodModifier"===e.name||"fieldModifier"===e.name);a?s&&!r?n.unshift(e):t.unshift(e):(i.unshift(e),r=!0)})),r||(t=t.concat(n),n=[]),i.sort(((e,t)=>Xe.indexOf(Object.keys(e.children)[0])-Xe.indexOf(Object.keys(t.children)[0]))),[t,i.concat(n)]}function st(e,t){if(Array.isArray(e)){if(ge(e,t))return!0;for(let i=0;i1?i.push([Qe,Qe]):i.push(t)}return i}const ct=e=>!!Array.isArray(e)&&(2===e.length&&e[0]===Qe&&e[1]===Qe);function ut(e,t,i){const n=e.filter((e=>!i(e))),r=lt(n),a=n.map(t),s=[];let o=0;for(let l=0;lvoid 0!==e.children.annotation))}function pt(e){const t=Be(e,(e=>void 0!==e.children.annotation)),i=Te(e,(e=>void 0===e.children.annotation));return t>",">>>"].includes(s)?s.length:1,l=Ie(t.splice(0,i));void 0!==n&&Ct(n,s)?(a.push(e.shift()),a=[Ie(["(",Pe(Je(De($e,a))),") ",l])]):a.push(De(" ",[e.shift(),l])),n=s,r=o}else if(o"].includes(t))return t;let n=1;for(let r=1;r>":">>>"}const vt=new Map([["||"],["&&"],["|"],["^"],["&"],["==","!="],["<",">","<=",">=","instanceof"],["<<",">>",">>>"],["+","-"],["*","/","%"]].flatMap(((e,t)=>e.map((e=>[e,t])))));function Ot(e){var t;return null!==(t=vt.get(e))&&void 0!==t?t:-1}function Ct(e,t){return"&&"===e&&"||"===t||["|","^","&","<<",">>",">>>"].includes(t)&&Ot(e)>Ot(t)||[e,t].every((e=>["==","!="].includes(e)))||[e,t].every((e=>["<<",">>",">>>"].includes(e)))||"*"===e&&"/"===t||"/"===e&&"*"===t||"%"===e&&["+","-","*","/"].includes(t)||["*","/"].includes(e)&&"%"===t}function yt(e){return";"===e||Array.isArray(e)&&";"===e[0]}function Bt(e){const t=[],i=[];if(void 0!==e){for(let r=0;rfunction(e,t){const i=e.children.Identifier,n=t.children.Identifier,r=Math.min(i.length,n.length);for(let a=0;an[a].image)return 1}if(i.lengthn.length)return 1;return 0}(e.children.packageOrTypeName[0],t.children.packageOrTypeName[0]);t.sort(n),i.sort(n)}return{staticImports:t,nonStaticImports:i}}function Tt(e){let t,{list:i,extraComma:n,LCurly:r,RCurly:a,trailingComma:s}=e;return t="none"!==s&&""!==i?n?we(n[0],Object.assign(Object.assign({},n[0]),{image:""})):we(",",""):n?Object.assign(Object.assign({},n[0]),{image:""}):"",ft(nt([i,t]),$e,r,a)}const{line:Nt}=re.builders;const{line:Mt,softline:gt,hardline:At}=re.builders;const{line:xt,softline:bt,hardline:It,lineSuffixBoundary:Dt}=re.builders;function Pt(e){!function(e){var t;let i=1;null===(t=e.BinaryOperator)||void 0===t||t.forEach((t=>{if(We(t)){for(;e.unaryExpression[i].location.startOffset{e.startLine+=1,e.endLine+=1})),t.startLine+=n,t.endLine+=n,e.unaryExpression[i].leadingComments=e.unaryExpression[i].leadingComments||[],e.unaryExpression[i].leadingComments.unshift(...t.leadingComments),delete t.leadingComments}}))}(e),function(e){const t=e.BinaryOperator;let i=1;(null==t?void 0:t.length)&&e.unaryExpression.forEach((e=>{var n;if(_e(e)){for(;i{e.startLine+=1,e.endLine+=1})),e.location.startLine+=a,void 0!==e.location.endLine&&(e.location.endLine+=a),r.trailingComments=null!==(n=r.trailingComments)&&void 0!==n?n:[],r.trailingComments.unshift(...e.trailingComments),delete e.trailingComments}}))}(e)}const{ifBreak:kt,line:Vt,softline:wt,indentIfBreak:qt}=re.builders;const{line:Yt,softline:Ft,hardline:Gt}=re.builders;const{hardline:jt}=re.builders;const{line:zt,softline:Wt}=re.builders;const{line:_t,hardline:Ht,indent:Kt,group:Jt}=re.builders;!function(){for(var e=arguments.length,t=new Array(e),i=0;i{Object.getOwnPropertyNames(e.prototype).filter((e=>"constructor"!==e)).forEach((t=>{ye.prototype[t]=e.prototype[t]}))}))}(class extends ye{arrayInitializer(e){return Tt({list:this.visit(e.variableInitializerList),extraComma:e.Comma,LCurly:e.LCurly[0],RCurly:e.RCurly[0],trailingComma:this.prettierOptions.trailingComma})}variableInitializerList(e){const t=this.mapVisit(e.variableInitializer);return et(e.Comma?e.Comma.map((e=>nt([e,Nt]))):[],t)}},class extends ye{block(e){return ft(this.visit(e.blockStatements),At,e.LCurly[0],e.RCurly[0])}blockStatements(e){const t=this.mapVisit(e.blockStatement);return et(function(e,t){const i=tt(t),n=[];for(let r=0;rIe([e,Mt])));if(e.caseConstant||e.Null){return Pe(ke(De(" ",[r,et(a,e.Null?[e.Null[0],null===(n=e.Default)||void 0===n?void 0:n[0]]:this.mapVisit(e.caseConstant))])))}if(e.pattern){const t=this.mapVisit(e.pattern),i=this.visit(e.guard),n=e.pattern.length>1,s=n?Mt:" ",o=De(s,[r,et(a,t)]);return Pe(it(s,[n?ke(o):o,i]))}return Se(e.Default[0])}switchRule(e){const t=this.visit(e.switchLabel);let i;return i=void 0!==e.throwStatement?this.visit(e.throwStatement):void 0!==e.block?this.visit(e.block):Ie([this.visit(e.expression),e.Semicolon[0]]),Ie([t," ",e.Arrow[0]," ",i])}caseConstant(e){return this.visitSingle(e)}whileStatement(e){const t=this.visit(e.expression),i=this.visit(e.statement[0],{allowEmptyStatement:!0}),n=yt(i)?"":" ";return it(" ",[e.While[0],it(n,[ft(t,gt,e.LBrace[0],e.RBrace[0]),i])])}doStatement(e){const t=this.visit(e.statement[0],{allowEmptyStatement:!0}),i=yt(t)?"":" ",n=this.visit(e.expression);return it(" ",[it(i,[e.Do[0],t]),e.While[0],nt([ft(n,gt,e.LBrace[0],e.RBrace[0]),e.Semicolon[0]])])}forStatement(e){return this.visitSingle(e)}basicForStatement(e){const t=this.visit(e.forInit),i=this.visit(e.expression),n=this.visit(e.forUpdate),r=this.visit(e.statement[0],{allowEmptyStatement:!0}),a=yt(r)?"":" ";return nt([it(" ",[e.For[0],ft(nt([t,it(Mt,[e.Semicolon[0],i]),it(Mt,[e.Semicolon[1],n])]),gt,e.LBrace[0],e.RBrace[0])]),a,r])}forInit(e){return this.visitSingle(e)}forUpdate(e){return this.visitSingle(e)}statementExpressionList(e){const t=this.mapVisit(e.statementExpression);return et(e.Comma?e.Comma.map((e=>Ie([Se(e)," "]))):[],t)}enhancedForStatement(e){const t=this.mapVisit(e.variableModifier),i=this.visit(e.localVariableType),n=this.visit(e.variableDeclaratorId),r=this.visit(e.expression),a=this.visit(e.statement[0],{allowEmptyStatement:!0}),s=yt(a)?"":" ";return nt([it(" ",[e.For[0],e.LBrace[0]]),it(" ",[it(" ",t),i,n]),Ie([" ",e.Colon[0]," "]),r,Ie([e.RBrace[0],s]),a])}breakStatement(e){if(e.Identifier){const t=e.Identifier[0];return nt([Ie([e.Break[0]," "]),t,e.Semicolon[0]])}return Ie([e.Break[0],e.Semicolon[0]])}continueStatement(e){if(e.Identifier){const t=e.Identifier[0];return nt([Ie([e.Continue[0]," "]),t,e.Semicolon[0]])}return nt([e.Continue[0],e.Semicolon[0]])}returnStatement(e){if(e.expression){const t=this.visit(e.expression,{addParenthesisToWrapStatement:!0});return nt([Ie([e.Return[0]," "]),t,e.Semicolon[0]])}return nt([e.Return[0],e.Semicolon[0]])}throwStatement(e){const t=this.visit(e.expression);return nt([Ie([e.Throw[0]," "]),t,e.Semicolon[0]])}synchronizedStatement(e){const t=this.visit(e.expression),i=this.visit(e.block);return nt([De(" ",[e.Synchronized[0],Ie([ft(t,gt,e.LBrace[0],e.RBrace[0])," "])]),i])}tryStatement(e){if(e.tryWithResourcesStatement)return this.visit(e.tryWithResourcesStatement);const t=this.visit(e.block),i=this.visit(e.catches),n=this.visit(e.finally);return it(" ",[e.Try[0],t,i,n])}catches(e){return it(" ",this.mapVisit(e.catchClause))}catchClause(e){const t=this.visit(e.catchFormalParameter),i=this.visit(e.block);return nt([Pe(nt([it(" ",[e.Catch[0],e.LBrace[0]]),ke(nt([gt,t])),gt,Ie([e.RBrace[0]," "])])),i])}catchFormalParameter(e){const t=this.mapVisit(e.variableModifier),i=this.visit(e.catchType),n=this.visit(e.variableDeclaratorId);return it(" ",[it(" ",t),i,n])}catchType(e){const t=this.visit(e.unannClassType),i=this.mapVisit(e.classType);return Pe(et(e.Or?e.Or.map((e=>Ie([Mt,e," "]))):[],[t,...i]))}finally(e){const t=this.visit(e.block);return it(" ",[e.Finally[0],t])}tryWithResourcesStatement(e){const t=this.visit(e.resourceSpecification),i=this.visit(e.block),n=this.visit(e.catches),r=this.visit(e.finally);return it(" ",[e.Try[0],t,i,n,r])}resourceSpecification(e){return ft(nt([this.visit(e.resourceList),e.Semicolon?e.Semicolon[0]:""]),gt,e.LBrace[0],e.RBrace[0])}resourceList(e){const t=this.mapVisit(e.resource);return et(e.Semicolon?e.Semicolon.map((e=>Ie([e,Mt]))):[""],t)}resource(e){return this.visitSingle(e)}yieldStatement(e){const t=this.visit(e.expression);return De(" ",[e.Yield[0],Ie([t,e.Semicolon[0]])])}variableAccess(e){return this.visitSingle(e)}},class extends ye{classDeclaration(e){const t=at(e.classModifier),i=this.mapVisit(t[0]),n=this.mapVisit(t[1]);let r;r=void 0!==e.normalClassDeclaration?e.normalClassDeclaration:void 0!==e.enumDeclaration?e.enumDeclaration:e.recordDeclaration;const a=this.visit(r);return it(It,[it(It,i),it(" ",[De(" ",n),a])])}normalClassDeclaration(e){const t=this.visit(e.typeIdentifier),i=this.visit(e.typeParameters),n=this.visit(e.superclass),r=this.visit(e.superinterfaces),a=this.visit(e.classPermits),s=this.visit(e.classBody,{isNormalClassDeclaration:!0});let o="";n&&(o=ke(nt([xt,n])));let l="";r&&(l=ke(nt([xt,r])));let c="";return a&&(c=ke(nt([xt,a]))),it(" ",[Pe(nt([it(" ",[e.Class[0],t]),i,o,l,c])),s])}classModifier(e){return e.annotation?this.visit(e.annotation):Se(this.getSingle(e))}typeParameters(e){return ft(this.visit(e.typeParameterList),bt,e.Less[0],e.Greater[0])}typeParameterList(e){const t=this.mapVisit(e.typeParameter);return Pe(et(e.Comma?e.Comma.map((e=>Ie([e,xt]))):[],t))}superclass(e){return De(" ",[e.Extends[0],this.visit(e.classType)])}superinterfaces(e){const t=this.visit(e.interfaceTypeList);return Pe(nt([e.Implements[0],ke(nt([xt,t]))]))}classPermits(e){const t=this.mapVisit(e.typeName),i=e.Comma?e.Comma.map((e=>Ie([e,xt]))):[];return Pe(nt([e.Permits[0],ke(nt([xt,Pe(et(i,t))]))]))}interfaceTypeList(e){const t=this.mapVisit(e.interfaceType);return Pe(et(e.Comma?e.Comma.map((e=>Ie([e,xt]))):[],t))}classBody(e,t){let i="";if(void 0!==e.classBodyDeclaration){const n=tt(this.mapVisit(e.classBodyDeclaration));i=et(Lt(e.classBodyDeclaration),n);let r=!1;e.classBodyDeclaration.forEach((e=>{(e.children.classMemberDeclaration&&!e.children.classMemberDeclaration[0].children.Semicolon||e.children.constructorDeclaration)&&(r=!0)})),(e.classBodyDeclaration[0].children.classMemberDeclaration||e.classBodyDeclaration[0].children.constructorDeclaration)&&r&&t&&t.isNormalClassDeclaration&&(i=nt([It,i]))}return ft(i,It,e.LCurly[0],e.RCurly[0])}classBodyDeclaration(e){return this.visitSingle(e)}classMemberDeclaration(e){return e.Semicolon?ot(e.Semicolon[0]):this.visitSingle(e)}fieldDeclaration(e){const t=at(e.fieldModifier),i=this.mapVisit(t[0]),n=this.mapVisit(t[1]),r=this.visit(e.unannType),a=this.visit(e.variableDeclaratorList);return it(It,[it(It,i),it(" ",[it(" ",n),r,Ie([a,e.Semicolon[0]])])])}fieldModifier(e){return e.annotation?this.visit(e.annotation):Se(this.getSingle(e))}variableDeclaratorList(e){const t=this.mapVisit(e.variableDeclarator);return et(e.Comma?e.Comma.map((e=>Ie([e," "]))):[],t)}variableDeclarator(e){const t=this.visit(e.variableDeclaratorId);if(e.Equals){const i=this.visit(e.variableInitializer);if(He(e.variableInitializer[0]))return Pe(ke(it(It,[it(" ",[t,e.Equals[0]]),i])));if(void 0!==e.variableInitializer[0].children.arrayInitializer||void 0!==e.variableInitializer[0].children.expression[0].children.lambdaExpression||void 0!==e.variableInitializer[0].children.expression[0].children.ternaryExpression&&void 0!==e.variableInitializer[0].children.expression[0].children.ternaryExpression[0].children.QuestionMark){const n=Symbol("assignment");return Pe([Pe(t)," ",e.Equals[0],Pe(ke(xt),{id:n}),Dt,qe(i,{groupId:n})])}if(void 0!==e.variableInitializer[0].children.expression[0].children.ternaryExpression){const n=e.variableInitializer[0].children.expression[0].children.ternaryExpression[0].children.binaryExpression[0].children.unaryExpression,r=n[0].children.primary[0];if(void 0!==r.children.primaryPrefix[0].children.castExpression&&1===n.length){const n=Symbol("assignment");return Pe([Pe(t)," ",e.Equals[0],Pe(ke(xt),{id:n}),Dt,qe(i,{groupId:n})])}if(void 0!==r.children.primaryPrefix[0].children.newExpression){const n=Symbol("assignment");return Pe([Pe(t)," ",e.Equals[0],Pe(ke(xt),{id:n}),Dt,qe(i,{groupId:n})])}const a=void 0!==r.children.primarySuffix&&void 0!==r.children.primarySuffix[0].children.methodInvocationSuffix,s=1===e.variableInitializer[0].children.expression[0].children.ternaryExpression[0].children.binaryExpression[0].children.unaryExpression.length;if(a&&s){const n=Symbol("assignment");return Pe([Pe(t)," ",e.Equals[0],Pe(ke(xt),{id:n}),Dt,qe(i,{groupId:n})])}}return Pe(ke(it(xt,[it(" ",[t,e.Equals[0]]),i])))}return t}variableDeclaratorId(e){if(e.Underscore)return Se(e.Underscore[0]);return nt([e.Identifier[0],this.visit(e.dims)])}variableInitializer(e){return this.visitSingle(e)}unannType(e){return this.visitSingle(e)}unannPrimitiveTypeWithOptionalDimsSuffix(e){return nt([this.visit(e.unannPrimitiveType),this.visit(e.dims)])}unannPrimitiveType(e){return e.numericType?this.visitSingle(e):Se(this.getSingle(e))}unannReferenceType(e){return nt([this.visit(e.unannClassOrInterfaceType),this.visit(e.dims)])}unannClassOrInterfaceType(e){return this.visit(e.unannClassType)}unannClassType(e){const t=rt(e.annotation,e.typeArguments,e.Identifier),i=[];let n=[];return Ne(t,((e,r)=>{le(e)?(n.push(this.visit([e])),i.push(nt(n)),n=[]):ce(e)?(n.push(this.visit([e])),n.push(" ")):(n.push(e),(r+1Ie([e,xt]))):[],t)}formalParameter(e){return this.visitSingle(e)}variableParaRegularParameter(e){const t=this.mapVisit(e.variableModifier),i=this.visit(e.unannType),n=this.visit(e.variableDeclaratorId);return it(" ",[it(" ",t),i,n])}variableArityParameter(e){const t=this.mapVisit(e.variableModifier),i=this.visit(e.unannType),n=this.mapVisit(e.annotation),r=e.Identifier[0],a=void 0===e.annotation?Ie([i,e.DotDotDot[0]]):i,s=void 0===e.annotation?n:Ie([it(" ",n),e.DotDotDot[0]]);return it(" ",[De(" ",t),a,s,r])}variableModifier(e){return e.annotation?this.visit(e.annotation):Se(this.getSingle(e))}throws(e){const t=this.visit(e.exceptionTypeList),i=De(" ",[e.Throws[0],t]);return Pe(ke(nt([bt,i])))}exceptionTypeList(e){const t=this.mapVisit(e.exceptionType);return et(e.Comma?e.Comma.map((e=>Ie([e," "]))):[],t)}exceptionType(e){return this.visitSingle(e)}methodBody(e){return e.block?this.visit(e.block):Se(this.getSingle(e))}instanceInitializer(e){return this.visitSingle(e)}staticInitializer(e){const t=this.visit(e.block);return De(" ",[e.Static[0],t])}constructorDeclaration(e){const t=at(e.constructorModifier),i=this.mapVisit(t[0]),n=this.mapVisit(t[1]),r=this.visit(e.constructorDeclarator),a=this.visit(e.throws),s=this.visit(e.constructorBody);return it(" ",[Pe(it(It,[it(It,i),it(" ",[De(" ",n),r,a])])),s])}constructorModifier(e){return e.annotation?this.visit(e.annotation):Se(this.getSingle(e))}constructorDeclarator(e){const t=this.visit(e.typeParameters),i=this.visit(e.simpleTypeName),n=this.visit(e.receiverParameter),r=this.visit(e.formalParameterList),a=e.Comma?e.Comma.map((e=>Ie([e," "]))):[];return it(" ",[t,Ie([i,ft(et(a,[n,r]),bt,e.LBrace[0],e.RBrace[0])])])}simpleTypeName(e){return Se(this.getSingle(e))}constructorBody(e){const t=this.visit(e.explicitConstructorInvocation),i=this.visit(e.blockStatements);return ft(it(It,[t,i]),It,e.LCurly[0],e.RCurly[0])}explicitConstructorInvocation(e){return this.visitSingle(e)}unqualifiedExplicitConstructorInvocation(e){return nt([this.visit(e.typeArguments),e.This?e.This[0]:e.Super[0],Pe(nt([ze.call(this,e.argumentList,e.RBrace[0],e.LBrace[0]),e.Semicolon[0]]))])}qualifiedExplicitConstructorInvocation(e){const t=this.visit(e.expressionName),i=this.visit(e.typeArguments),n=ze.call(this,e.argumentList,e.RBrace[0],e.LBrace[0]);return nt([t,e.Dot[0],i,e.Super[0],Pe(nt([n,e.Semicolon[0]]))])}enumDeclaration(e){const t=this.mapVisit(e.classModifier),i=this.visit(e.typeIdentifier),n=this.visit(e.superinterfaces),r=this.visit(e.enumBody);return it(" ",[De(" ",t),e.Enum[0],i,n,r])}enumBody(e){const t=this.visit(e.enumConstantList),i=this.visit(e.enumBodyDeclarations),n=void 0!==e.enumConstantList,r=void 0===e.enumBodyDeclarations||void 0===e.enumBodyDeclarations[0].children.classBodyDeclaration,a=!r&&We(e.enumBodyDeclarations[0])?It:"";let s;return s=n&&r&&"none"!==this.prettierOptions.trailingComma?e.Comma?e.Comma[0]:",":e.Comma?Object.assign(Object.assign({},e.Comma[0]),{image:""}):"",ft(nt([t,s,a,i]),It,e.LCurly[0],e.RCurly[0])}enumConstantList(e){const t=this.mapVisit(e.enumConstant),i=lt(e.enumConstant);return Pe(et(e.Comma?e.Comma.map(((e,t)=>Ie([e,i[t]]))):[],t))}enumConstant(e){const t=at(e.enumConstantModifier),i=this.mapVisit(t[0]),n=this.mapVisit(t[1]),r=e.Identifier[0],a=this.visit(e.classBody),s=e.LBrace?ze.call(this,e.argumentList,e.RBrace[0],e.LBrace[0]):"";return it(It,[it(It,i),it(" ",[it(" ",n),nt([r,s]),a])])}enumConstantModifier(e){return this.visitSingle(e)}enumBodyDeclarations(e){if(void 0!==e.classBodyDeclaration){const t=this.mapVisit(e.classBodyDeclaration),i=Lt(e.classBodyDeclaration);return it(Ie([It,It]),[e.Semicolon[0],et(i,t)])}return Se(Object.assign(Object.assign({},e.Semicolon[0]),{image:""}))}recordDeclaration(e){const t=this.visit(e.typeIdentifier),i=this.visit(e.typeParameters),n=this.visit(e.recordHeader);let r="";const a=this.visit(e.superinterfaces);a&&(r=ke(nt([xt,a])));const s=this.visit(e.recordBody);return it(" ",[Pe(nt([it(" ",[e.Record[0],t]),i,n,r])),s])}recordHeader(e){return ft(this.visit(e.recordComponentList),bt,e.LBrace[0],e.RBrace[0])}recordComponentList(e){const t=this.mapVisit(e.recordComponent),i=lt(e.recordComponent,xt);return et(e.Comma?e.Comma.map(((e,t)=>Ie([e,i[t]]))):[],t)}recordComponent(e){const t=this.mapVisit(e.recordComponentModifier),i=this.visit(e.unannType);if(void 0!==e.Identifier)return Pe(it(xt,[De(xt,t),De(" ",[i,e.Identifier[0]])]));const n=this.visit(e.variableArityRecordComponent);return void 0!==e.variableArityRecordComponent[0].children.annotation?Pe(it(xt,[De(xt,t),De(" ",[i,n])])):Pe(it(xt,[De(xt,t),Ie([i,n])]))}variableArityRecordComponent(e){const t=this.mapVisit(e.annotation),i=e.Identifier[0];return it(" ",[nt([it(" ",t),e.DotDotDot[0]]),i])}recordComponentModifier(e){return this.visitSingle(e)}recordBody(e){return ft(et(lt(e.recordBodyDeclaration),this.mapVisit(e.recordBodyDeclaration)),It,e.LCurly[0],e.RCurly[0])}recordBodyDeclaration(e){return this.visitSingle(e)}compactConstructorDeclaration(e){const t=at(e.constructorModifier),i=this.mapVisit(t[0]),n=this.mapVisit(t[1]),r=this.visit(e.simpleTypeName),a=this.visit(e.constructorBody);return it(" ",[Pe(it(It,[it(It,i),it(" ",[De(" ",n),r])])),a])}isDims(){return"isDims"}},class extends ye{expression(e,t){return this.visitSingle(e,t)}lambdaExpression(e,t){const i=Pe(this.visit(e.lambdaParameters,t),t?{id:t.lambdaParametersGroupId}:void 0),n=this.visit(e.lambdaBody);return void 0!==e.lambdaBody[0].children.block?it(" ",[i,e.Arrow[0],void 0!==(null==t?void 0:t.lambdaParametersGroupId)?qt(n,{groupId:t.lambdaParametersGroupId}):n]):Pe(ke(it(Vt,[it(" ",[i,e.Arrow[0]]),n])))}lambdaParameters(e,t){return e.lambdaParametersWithBraces?this.visitSingle(e,t):Se(this.getSingle(e))}lambdaParametersWithBraces(e,t){const i=this.visit(e.lambdaParameterList);if(st(i,",")){const n=ft(i,wt,e.LBrace[0],e.RBrace[0]);return!0===(null==t?void 0:t.isInsideMethodInvocationSuffix)?ke(Ie([wt,n])):n}return e.LBrace&&e.RBrace&&(!i||function(e){return e&&e.lambdaParameterList&&e.lambdaParameterList[0]&&e.lambdaParameterList[0].children&&e.lambdaParameterList[0].children.explicitLambdaParameterList}(e))||e.LBrace[0].leadingComments||e.LBrace[0].trailingComments||e.RBrace[0].leadingComments||e.RBrace[0].trailingComments?nt([e.LBrace[0],i,e.RBrace[0]]):i}lambdaParameterList(e){return this.visitSingle(e)}inferredLambdaParameterList(e){return et(e.Comma?e.Comma.map((e=>Ie([e,Vt]))):[],e.Identifier)}explicitLambdaParameterList(e){const t=this.mapVisit(e.lambdaParameter);return et(e.Comma?e.Comma.map((e=>Ie([e,Vt]))):[],t)}lambdaParameter(e){return this.visitSingle(e)}regularLambdaParameter(e){const t=this.mapVisit(e.variableModifier),i=this.visit(e.lambdaParameterType),n=this.visit(e.variableDeclaratorId);return it(" ",[it(" ",t),i,n])}lambdaParameterType(e){return e.unannType?this.visitSingle(e):Se(this.getSingle(e))}lambdaBody(e){return this.visitSingle(e)}ternaryExpression(e,t){const i=this.visit(e.binaryExpression,t);if(e.QuestionMark){const t=this.visit(e.expression[0]),n=this.visit(e.expression[1]);return ke(Pe(nt([it(Vt,[i,it(" ",[e.QuestionMark[0],t]),it(" ",[e.Colon[0],n])])])))}return i}binaryExpression(e,t){Pt(e);const i=function(e){let t=[];return Ne(e,(e=>{e&&(t=t.concat(e))})),t.sort(((e,t)=>e.location.startOffset-t.location.startOffset))}([e.pattern,e.referenceType,e.expression,e.unaryExpression]),n=this.mapVisit(i,1===i.length?t:void 0),r=function(e){let t=[];return Ne(e,(e=>{e&&(t=t.concat(e))})),t.sort(((e,t)=>e.startOffset-t.startOffset))}([e.Instanceof,e.AssignmentOperator,e.Less,e.Greater,e.BinaryOperator]),a=r.length>0,s=ht(n,r,!0);return a&&(null==t?void 0:t.addParenthesisToWrapStatement)?Pe(Ie([kt("("),ke(Ie([wt,s])),wt,kt(")")])):s}unaryExpression(e,t){const i=e.UnaryPrefixOperator?e.UnaryPrefixOperator:[],n=this.visit(e.primary,t),r=e.UnarySuffixOperator?e.UnarySuffixOperator:[];return nt([nt(i),n,nt(r)])}unaryExpressionNotPlusMinus(e){const t=e.UnaryPrefixOperatorNotPlusMinus?it(" ",e.UnaryPrefixOperatorNotPlusMinus):"",i=this.visit(e.primary),n=e.UnarySuffixOperator?it(" ",e.UnarySuffixOperator):"";return it(" ",[t,i,n])}primary(e,t){const i=function(e){if(void 0===e)return 0;let t=0;return e.forEach((e=>{if(void 0!==e.children.methodInvocationSuffix&&(t++,t>1))return 2})),t}(e.primarySuffix),n=this.visit(e.primaryPrefix,Object.assign(Object.assign({},t),{shouldBreakBeforeFirstMethodInvocation:i>1})),r=[];if(void 0!==e.primarySuffix){let t=!0;e.primarySuffix.length>1&&e.primarySuffix[1].children.methodInvocationSuffix&&2===Object.keys(e.primarySuffix[1].children.methodInvocationSuffix[0].children).length&&(t=!1),void 0!==e.primarySuffix[0].children.Dot&&void 0!==e.primaryPrefix[0].children.newExpression&&r.push(wt),r.push(this.visit(e.primarySuffix[0],{shouldDedent:1!==i&&e.primaryPrefix[0]&&e.primaryPrefix[0].children.fqnOrRefType&&!(void 0!==e.primaryPrefix[0].children.fqnOrRefType[0].children.Dot)&&e.primarySuffix[0].children.methodInvocationSuffix&&e.primarySuffix[0].children.methodInvocationSuffix[0].children.argumentList&&e.primarySuffix[0].children.methodInvocationSuffix[0].children.argumentList[0].children.expression&&void 0===e.primarySuffix[0].children.methodInvocationSuffix[0].children.argumentList[0].children.expression[0].children.lambdaExpression}));for(let i=1;i0&&(i=[...i,...e]),i.sort(((e,t)=>(ae(e)?e.children.At[0].startOffset:e.startOffset)-(ae(t)?t.children.At[0].startOffset:t.startOffset)))}(e.annotation,e.Identifier),i=[];let n=[];Ne(t,(e=>{ce(e)?n.push(this.visit([e])):(n.push(e),i.push(it(" ",n)),n=[])}));const r=this.visit(e.typeArgumentsOrDiamond);return nt([et(e.Dot?e.Dot:[],i),r])}typeArgumentsOrDiamond(e){return this.visitSingle(e)}diamond(e){return Ie([e.Less[0],e.Greater[0]])}methodInvocationSuffix(e,t){if(Ae(e.argumentList))return Ge.call(this,e.argumentList,e.RBrace[0],e.LBrace[0]);const i=this.visit(e.argumentList);return t&&t.shouldDedent?Ve(ft(i,wt,e.LBrace[0],e.RBrace[0])):ft(i,wt,e.LBrace[0],e.RBrace[0])}argumentList(e,t){const i=this.mapVisit(e.expression,t);return et(e.Comma?e.Comma.map((e=>Ie([e,Vt]))):[],i)}arrayCreationExpression(e){const t=e.primitiveType?this.visit(e.primitiveType):this.visit(e.classOrInterfaceType),i=e.arrayCreationDefaultInitSuffix?this.visit(e.arrayCreationDefaultInitSuffix):this.visit(e.arrayCreationExplicitInitSuffix);return nt([Ie([e.New[0]," "]),t,i])}arrayCreationDefaultInitSuffix(e){return nt([this.visit(e.dimExprs),this.visit(e.dims)])}arrayCreationExplicitInitSuffix(e){return it(" ",[this.visit(e.dims),this.visit(e.arrayInitializer)])}dimExprs(e){return nt(this.mapVisit(e.dimExpr))}dimExpr(e){const t=this.mapVisit(e.annotation),i=this.visit(e.expression);return it(" ",[it(" ",t),nt([e.LSquare[0],i,e.RSquare[0]])])}classLiteralSuffix(e){const t=[];if(e.LSquare)for(let i=0;iIe([e,Vt]))))&&void 0!==i?i:[],n)}componentPattern(e){return this.visitSingle(e)}unnamedPattern(e){return Se(e.Underscore[0])}guard(e){const t=this.visit(e.expression,{addParenthesisToWrapStatement:!0});return Ie([e.When[0]," ",t])}isRefTypeInMethodRef(){return"isRefTypeInMethodRef"}},class extends ye{interfaceDeclaration(e){const t=at(e.interfaceModifier),i=this.mapVisit(t[0]),n=this.mapVisit(t[1]),r=e.normalInterfaceDeclaration?this.visit(e.normalInterfaceDeclaration):this.visit(e.annotationTypeDeclaration);return it(Gt,[it(Gt,i),it(" ",[it(" ",n),r])])}normalInterfaceDeclaration(e){const t=this.visit(e.typeIdentifier),i=this.visit(e.typeParameters),n=this.visit(e.extendsInterfaces),r=this.visit(e.interfacePermits),a=this.visit(e.interfaceBody);let s="";n&&(s=ke(nt([Ft,n])));let o="";return r&&(o=ke(nt([Ft,r]))),it(" ",[Pe(it(" ",[e.Interface[0],Ie([t,i]),s,o])),a])}interfaceModifier(e){return e.annotation?this.visitSingle(e):Se(this.getSingle(e))}extendsInterfaces(e){const t=this.visit(e.interfaceTypeList);return Pe(nt([e.Extends[0],ke(nt([Yt,t]))]))}interfacePermits(e){return this.classPermits(e)}interfaceBody(e){let t="";if(void 0!==e.interfaceMemberDeclaration){const i=this.mapVisit(e.interfaceMemberDeclaration);t=et(ut(e.interfaceMemberDeclaration,Ut,dt),i)}return ft(t,Gt,e.LCurly[0],e.RCurly[0])}interfaceMemberDeclaration(e){return e.Semicolon?ot(e.Semicolon[0]):this.visitSingle(e)}constantDeclaration(e){const t=at(e.constantModifier),i=this.mapVisit(t[0]),n=this.mapVisit(t[1]),r=this.visit(e.unannType),a=this.visit(e.variableDeclaratorList);return it(Gt,[it(Gt,i),it(" ",[it(" ",n),r,nt([a,e.Semicolon[0]])])])}constantModifier(e){return e.annotation?this.visitSingle(e):Se(this.getSingle(e))}interfaceMethodDeclaration(e){const t=at(e.interfaceMethodModifier),i=this.mapVisit(t[0]),n=this.mapVisit(t[1]),r=this.visit(e.methodHeader),a=this.visit(e.methodBody),s=yt(a)?"":" ";return it(Gt,[it(Gt,i),it(" ",[it(" ",n),it(s,[r,a])])])}interfaceMethodModifier(e){return e.annotation?this.visitSingle(e):Se(this.getSingle(e))}annotationTypeDeclaration(e){const t=this.visit(e.typeIdentifier),i=this.visit(e.annotationTypeBody);return it(" ",[Ie([e.At[0],e.Interface[0]]),t,i])}annotationTypeBody(e){const t=this.mapVisit(e.annotationTypeMemberDeclaration);return it(Yt,[ke(it(Yt,[e.LCurly[0],it(Ie([Yt,Yt]),t)])),e.RCurly[0]])}annotationTypeMemberDeclaration(e){return e.Semicolon?Se(this.getSingle(e)):this.visitSingle(e)}annotationTypeElementDeclaration(e){const t=at(e.annotationTypeElementModifier),i=this.mapVisit(t[0]),n=this.mapVisit(t[1]),r=this.visit(e.unannType),a=e.Identifier[0],s=this.visit(e.dims),o=e.defaultValue?Ie([" ",this.visit(e.defaultValue)]):"";return it(Gt,[it(Gt,i),it(" ",[it(" ",n),r,nt([a,Ie([e.LBrace[0],e.RBrace[0]]),s,o,e.Semicolon[0]])])])}annotationTypeElementModifier(e){return e.annotation?this.visitSingle(e):Se(this.getSingle(e))}defaultValue(e){const t=this.visit(e.elementValue);return it(" ",[e.Default[0],t])}annotation(e){const t=this.visit(e.typeName);let i="";return e.LBrace&&(e.elementValuePairList?i=ft(this.visit(e.elementValuePairList),Ft,e.LBrace[0],e.RBrace[0]):e.elementValue&&(i=ft(this.visit(e.elementValue),Ft,e.LBrace[0],e.RBrace[0]))),Pe(nt([e.At[0],t,i]))}elementValuePairList(e){const t=this.mapVisit(e.elementValuePair);return et(e.Comma?e.Comma.map((e=>Ie([e,Yt]))):[],t)}elementValuePair(e){const t=e.Identifier[0],i=this.visit(e.elementValue);return it(" ",[t,e.Equals[0],i])}elementValue(e){return this.visitSingle(e)}elementValueArrayInitializer(e){return Tt({list:this.visit(e.elementValueList),extraComma:e.Comma,LCurly:e.LCurly[0],RCurly:e.RCurly[0],trailingComma:this.prettierOptions.trailingComma})}elementValueList(e){const t=this.mapVisit(e.elementValue);return Pe(nt([et(e.Comma?e.Comma.map((e=>Ie([e,Yt]))):[],t)]))}},class extends ye{literal(e){if(e.TextBlock){const t=e.TextBlock[0].image.split("\n"),i=t.shift(),n=Math.min(...t.map((e=>e.search(/\S/))).filter((e=>e>=0)));return De(jt,[i,...t.map((e=>e.slice(n)))])}return e.CharLiteral||e.StringLiteral||e.Null?Se(this.getSingle(e)):this.visitSingle(e)}integerLiteral(e){return Se(this.getSingle(e))}floatingPointLiteral(e){return Se(this.getSingle(e))}booleanLiteral(e){return Se(this.getSingle(e))}},class extends ye{typeIdentifier(e){return Se(e.Identifier[0])}moduleName(e){return Ze(e.Identifier,e.Dot)}packageName(e){return Ze(e.Identifier,e.Dot)}typeName(e){return Ze(e.Identifier,e.Dot)}expressionName(e){return Ze(e.Identifier,e.Dot)}methodName(e){return Se(e.Identifier[0])}packageOrTypeName(e){return Ze(e.Identifier,e.Dot)}ambiguousName(e){return Ze(e.Identifier,e.Dot)}},class extends ye{primitiveType(e){const t=this.mapVisit(e.annotation),i=e.numericType?this.visit(e.numericType):this.getSingle(e);return it(" ",[De(" ",t),i])}numericType(e){return this.visitSingle(e)}integralType(e){return Se(this.getSingle(e))}floatingPointType(e){return Se(this.getSingle(e))}referenceType(e){const t=this.mapVisit(e.annotation),i=e.primitiveType?this.visit(e.primitiveType):this.visit(e.classOrInterfaceType),n=this.visit(e.dims);return it(" ",[De(" ",t),Ie([i,n])])}classOrInterfaceType(e){return this.visitSingle(e)}classType(e){const t=rt(e.annotation,e.typeArguments,e.Identifier),i=[];let n=[];return Ne(t,((e,r)=>{le(e)?(n.push(this.visit([e])),i.push(nt(n)),n=[]):ce(e)?n.push(this.visit([e])," "):(n.push(e),(r+1(ae(e)?e.children.At[0].startOffset:e.startOffset)-(ae(t)?t.children.At[0].startOffset:t.startOffset)));const i=[];let n=[];return Ne(t,(t=>{ae(t)?n.push(this.visit([t])):(i.push(nt([it(" ",n),Ie([e.LSquare[0],e.RSquare[0]])])),n=[])})),nt(i)}typeParameter(e){const t=this.mapVisit(e.typeParameterModifier),i=this.visit(e.typeIdentifier),n=this.visit(e.typeBound);return it(" ",[De(" ",t),i,n])}typeParameterModifier(e){return this.visitSingle(e)}typeBound(e){const t=this.visit(e.classOrInterfaceType),i=this.mapVisit(e.additionalBound);return Ie([it(" ",[e.Extends[0],t]),ke(Pe(Ie([i.length?zt:"",it(zt,i)])))])}additionalBound(e){const t=this.visit(e.interfaceType);return De(" ",[e.And[0],t])}typeArguments(e){return ft(this.visit(e.typeArgumentList),Wt,e.Less[0],e.Greater[0])}typeArgumentList(e){const t=this.mapVisit(e.typeArgument);return et(e.Comma?e.Comma.map((e=>Ie([e,zt]))):[],t)}typeArgument(e){return this.visitSingle(e)}wildcard(e){const t=this.mapVisit(e.annotation),i=this.visit(e.wildcardBounds);return it(" ",[De(" ",t),e.QuestionMark[0],i])}wildcardBounds(e){return De(" ",[e.Extends?e.Extends[0]:e.Super[0],this.visit(e.referenceType)])}},class extends ye{compilationUnit(e){const t=(e=>void 0!==e.ordinaryCompilationUnit)(e)?e.ordinaryCompilationUnit:e.modularCompilationUnit;return Ie([this.visit(t[0]),_t])}ordinaryCompilationUnit(e){const t=this.visit(e.packageDeclaration),i=Bt(e.importDeclaration),n=this.mapVisit(i.nonStaticImports),r=this.mapVisit(i.staticImports),a=this.mapVisit(e.typeDeclaration);return nt([it(Ie([Ht,Ht]),[t,it(Ht,r),it(Ht,n),it(Ie([Ht,Ht]),a)])])}modularCompilationUnit(e){const t=Bt(e.importDeclaration),i=this.mapVisit(t.nonStaticImports),n=this.mapVisit(t.staticImports),r=this.visit(e.moduleDeclaration);return nt([it(Ie([Ht,Ht]),[it(Ht,n),it(Ht,i),r])])}packageDeclaration(e){const t=this.mapVisit(e.packageModifier),i=Ze(e.Identifier,e.Dot);return it(Ht,[it(Ht,t),Ie([e.Package[0]," ",i,e.Semicolon[0]])])}packageModifier(e){return this.visitSingle(e)}importDeclaration(e){if(void 0!==e.emptyStatement)return this.visit(e.emptyStatement);const t=e.Static?e.Static[0]:"",i=this.visit(e.packageOrTypeName),n=e.Dot?Ie([e.Dot[0],e.Star[0]]):"";return it(" ",[e.Import[0],t,nt([i,n,e.Semicolon[0]])])}typeDeclaration(e){return e.Semicolon?ot(e.Semicolon[0]):this.visitSingle(e)}moduleDeclaration(e){const t=this.mapVisit(e.annotation),i=e.Open?e.Open[0]:"",n=Ze(e.Identifier,e.Dot),r=this.mapVisit(e.moduleDirective),a=et(lt(e.moduleDirective),r);return it(" ",[De(" ",t),i,e.Module[0],n,ft(a,Ht,e.LCurly[0],e.RCurly[0])])}moduleDirective(e){return this.visitSingle(e)}requiresModuleDirective(e){const t=this.mapVisit(e.requiresModifier),i=this.visit(e.moduleName);return it(" ",[e.Requires[0],De(" ",t),Ie([i,e.Semicolon[0]])])}exportsModuleDirective(e){const t=this.visit(e.packageName),i=this.mapVisit(e.moduleName),n=e.Comma?e.Comma.map((e=>Ie([e,_t]))):[];return e.To?Jt(nt([Kt(it(_t,[it(" ",[e.Exports[0],t]),Jt(Kt(it(_t,[e.To[0],et(n,i)])))])),e.Semicolon[0]])):nt([Ie([e.Exports[0]," "]),t,e.Semicolon[0]])}opensModuleDirective(e){const t=this.visit(e.packageName),i=(e.To&&e.To[0],this.mapVisit(e.moduleName)),n=e.Comma?e.Comma.map((e=>Ie([e,_t]))):[];return e.To?Jt(nt([Kt(it(_t,[it(" ",[e.Opens[0],t]),Jt(Kt(it(_t,[e.To[0],et(n,i)])))])),e.Semicolon[0]])):nt([Ie([e.Opens[0]," "]),t,e.Semicolon[0]])}usesModuleDirective(e){const t=this.visit(e.typeName);return nt([Ie([e.Uses[0]," "]),t,e.Semicolon[0]])}providesModuleDirective(e){const t=this.visit(e.typeName[0]),i=this.mapVisit(e.typeName.slice(1)),n=e.Comma?e.Comma.map((e=>Ie([e,_t]))):[];return Jt(nt([Kt(it(_t,[it(" ",[e.Provides[0],t]),Jt(Kt(it(_t,[e.With[0],et(n,i)])))])),e.Semicolon[0]]))}requiresModifier(e){return Se(this.getSingle(e))}});const Qt=new ye;const $t={java:{print:function(e,t,i){return function(e,t){return Qt.prettierOptions=t,Qt.visit(e)}(e.getValue(),t)},printComment:function(e){const t=e.getValue();if("comment"===t.ast_type)return t.value;throw new Error("Not a comment: "+JSON.stringify(t))},canAttachComment:function(e){return e.ast_type&&"comment"!==e.ast_type},massageAstNode:function(e,t){delete t.lineno,delete t.col_offset}}},Xt={languages:[{name:"Java",parsers:["java"],group:"Java",tmScope:"text.html.vue",aceMode:"html",codemirrorMode:"clike",codemirrorMimeType:"text/x-java",extensions:[".java"],linguistLanguageId:181,vscodeLanguageIds:["java"]}],printers:$t,parsers:{java:{parse:function(e,t,i){return ne.parse(e,i.entrypoint)},astFormat:"java",locStart:function(){return-1},locEnd:function(){return-1},hasPragma:function(e){return/^\/\*\*[\n][\t\s]+\*\s@(prettier|format)[\n][\t\s]+\*\//.test(e)}}},options:{entrypoint:{type:"choice",category:"Global",default:"compilationUnit",choices:[{value:"arrayInitializer"},{value:"variableInitializerList"},{value:"block"},{value:"blockStatements"},{value:"blockStatement"},{value:"localVariableDeclarationStatement"},{value:"localVariableDeclaration"},{value:"localVariableType"},{value:"statement"},{value:"statementWithoutTrailingSubstatement"},{value:"emptyStatement"},{value:"labeledStatement"},{value:"expressionStatement"},{value:"statementExpression"},{value:"ifStatement"},{value:"assertStatement"},{value:"switchStatement"},{value:"switchBlock"},{value:"switchBlockStatementGroup"},{value:"switchLabel"},{value:"switchRule"},{value:"caseConstant"},{value:"whileStatement"},{value:"doStatement"},{value:"forStatement"},{value:"basicForStatement"},{value:"forInit"},{value:"forUpdate"},{value:"statementExpressionList"},{value:"enhancedForStatement"},{value:"breakStatement"},{value:"continueStatement"},{value:"returnStatement"},{value:"throwStatement"},{value:"synchronizedStatement"},{value:"tryStatement"},{value:"catches"},{value:"catchClause"},{value:"catchFormalParameter"},{value:"catchType"},{value:"finally"},{value:"tryWithResourcesStatement"},{value:"resourceSpecification"},{value:"resourceList"},{value:"resource"},{value:"yieldStatement"},{value:"variableAccess"},{value:"classDeclaration"},{value:"normalClassDeclaration"},{value:"classModifier"},{value:"typeParameters"},{value:"typeParameterList"},{value:"superclass"},{value:"superinterfaces"},{value:"interfaceTypeList"},{value:"classPermits"},{value:"classBody"},{value:"classBodyDeclaration"},{value:"classMemberDeclaration"},{value:"fieldDeclaration"},{value:"fieldModifier"},{value:"variableDeclaratorList"},{value:"variableDeclarator"},{value:"variableDeclaratorId"},{value:"variableInitializer"},{value:"unannType"},{value:"unannPrimitiveTypeWithOptionalDimsSuffix"},{value:"unannPrimitiveType"},{value:"unannReferenceType"},{value:"unannClassOrInterfaceType"},{value:"unannClassType"},{value:"unannInterfaceType"},{value:"unannTypeVariable"},{value:"methodDeclaration"},{value:"methodModifier"},{value:"methodHeader"},{value:"result"},{value:"methodDeclarator"},{value:"receiverParameter"},{value:"formalParameterList"},{value:"formalParameter"},{value:"variableParaRegularParameter"},{value:"variableArityParameter"},{value:"variableModifier"},{value:"throws"},{value:"exceptionTypeList"},{value:"exceptionType"},{value:"methodBody"},{value:"instanceInitializer"},{value:"staticInitializer"},{value:"constructorDeclaration"},{value:"constructorModifier"},{value:"constructorDeclarator"},{value:"simpleTypeName"},{value:"constructorBody"},{value:"explicitConstructorInvocation"},{value:"unqualifiedExplicitConstructorInvocation"},{value:"qualifiedExplicitConstructorInvocation"},{value:"enumDeclaration"},{value:"enumBody"},{value:"enumConstantList"},{value:"enumConstant"},{value:"enumConstantModifier"},{value:"enumBodyDeclarations"},{value:"recordDeclaration"},{value:"recordHeader"},{value:"recordComponentList"},{value:"recordComponent"},{value:"variableArityRecordComponent"},{value:"recordComponentModifier"},{value:"recordBody"},{value:"recordBodyDeclaration"},{value:"compactConstructorDeclaration"},{value:"isDims"},{value:"expression"},{value:"lambdaExpression"},{value:"lambdaParameters"},{value:"lambdaParametersWithBraces"},{value:"lambdaParameterList"},{value:"inferredLambdaParameterList"},{value:"explicitLambdaParameterList"},{value:"lambdaParameter"},{value:"regularLambdaParameter"},{value:"lambdaParameterType"},{value:"lambdaBody"},{value:"ternaryExpression"},{value:"binaryExpression"},{value:"unaryExpression"},{value:"unaryExpressionNotPlusMinus"},{value:"primary"},{value:"primaryPrefix"},{value:"primarySuffix"},{value:"fqnOrRefType"},{value:"fqnOrRefTypePartRest"},{value:"fqnOrRefTypePartCommon"},{value:"fqnOrRefTypePartFirst"},{value:"parenthesisExpression"},{value:"castExpression"},{value:"primitiveCastExpression"},{value:"referenceTypeCastExpression"},{value:"newExpression"},{value:"unqualifiedClassInstanceCreationExpression"},{value:"classOrInterfaceTypeToInstantiate"},{value:"typeArgumentsOrDiamond"},{value:"diamond"},{value:"methodInvocationSuffix"},{value:"argumentList"},{value:"arrayCreationExpression"},{value:"arrayCreationDefaultInitSuffix"},{value:"arrayCreationExplicitInitSuffix"},{value:"dimExprs"},{value:"dimExpr"},{value:"classLiteralSuffix"},{value:"arrayAccessSuffix"},{value:"methodReferenceSuffix"},{value:"pattern"},{value:"typePattern"},{value:"recordPattern"},{value:"componentPatternList"},{value:"componentPattern"},{value:"unnamedPattern"},{value:"guard"},{value:"isRefTypeInMethodRef"},{value:"interfaceDeclaration"},{value:"normalInterfaceDeclaration"},{value:"interfaceModifier"},{value:"extendsInterfaces"},{value:"interfacePermits"},{value:"interfaceBody"},{value:"interfaceMemberDeclaration"},{value:"constantDeclaration"},{value:"constantModifier"},{value:"interfaceMethodDeclaration"},{value:"interfaceMethodModifier"},{value:"annotationTypeDeclaration"},{value:"annotationTypeBody"},{value:"annotationTypeMemberDeclaration"},{value:"annotationTypeElementDeclaration"},{value:"annotationTypeElementModifier"},{value:"defaultValue"},{value:"annotation"},{value:"elementValuePairList"},{value:"elementValuePair"},{value:"elementValue"},{value:"elementValueArrayInitializer"},{value:"elementValueList"},{value:"literal"},{value:"integerLiteral"},{value:"floatingPointLiteral"},{value:"booleanLiteral"},{value:"moduleName"},{value:"packageName"},{value:"typeName"},{value:"expressionName"},{value:"methodName"},{value:"packageOrTypeName"},{value:"ambiguousName"},{value:"compilationUnit"},{value:"ordinaryCompilationUnit"},{value:"modularCompilationUnit"},{value:"packageDeclaration"},{value:"packageModifier"},{value:"importDeclaration"},{value:"typeDeclaration"},{value:"moduleDeclaration"},{value:"moduleDirective"},{value:"requiresModuleDirective"},{value:"exportsModuleDirective"},{value:"opensModuleDirective"},{value:"usesModuleDirective"},{value:"providesModuleDirective"},{value:"requiresModifier"},{value:"primitiveType"},{value:"numericType"},{value:"integralType"},{value:"floatingPointType"},{value:"referenceType"},{value:"classOrInterfaceType"},{value:"classType"},{value:"interfaceType"},{value:"typeVariable"},{value:"dims"},{value:"typeParameter"},{value:"typeParameterModifier"},{value:"typeBound"},{value:"additionalBound"},{value:"typeArguments"},{value:"typeArgumentList"},{value:"typeArgument"},{value:"wildcard"},{value:"wildcardBounds"}],description:"Prettify from the entrypoint, allowing to use prettier on snippet."},trailingComma:{type:"choice",category:"Java",default:"all",choices:["all","none"],description:"Print trailing commas wherever possible when multi-line."}}};var Zt=i(4935),ei=i(7294);const ti={playground:"playground_i2w8",options:"options_XaF9",editors:"editors_PrJG"};var ii=function(e){return e.None="none",e.All="all",e}(ii||{});const ni='public interface MyInterface {\n String foo();\n int[] bar();\n}\n\npublic abstract class Foo implements MyInterface {\n @Override public String foo() {\n // TODO: return an actual value here\n return "hello";\n }\n @Override public int[] bar() {\n return new int[] { 1,\n\n 2, 3,\n };\n }\n\n public final static boolean baz(final String foo, final int bar, final boolean baz) {\n return baz;\n }\n}';function ri(){return(0,o.jsx)(c.Z,{noFooter:!0,title:"Playground",children:(0,o.jsx)("main",{children:(0,o.jsx)(ai,{})})})}function ai(){const e=(0,n.k6)(),t=(0,n.TH)(),i=function(e){try{return JSON.parse(m().decompressFromEncodedURIComponent(e))??{}}catch{return{}}}(t.hash.slice(1)),[r,a]=(0,ei.useState)(i.printWidth??80),[s,c]=(0,ei.useState)(i.tabWidth??2),[u,U]=(0,ei.useState)(i.useTabs??!1),[E,d]=(0,ei.useState)(i.trailingComma??ii.All),[S,p]=(0,ei.useState)(i.requirePragma??!1),[L,f]=(0,ei.useState)(i.code??ni),[h,R]=(0,ei.useState)(""),v=(0,ei.useRef)(!0);return(0,ei.useEffect)((()=>{if(v.current)v.current=!1;else{const n=(i={printWidth:r,tabWidth:s,useTabs:u,trailingComma:E,requirePragma:S,code:L},m().compressToEncodedURIComponent(JSON.stringify(i)));e.replace({...t,hash:n})}var i;Zt.ZP.format(L,{parser:"java",plugins:[Xt],printWidth:r,tabWidth:s,useTabs:u,trailingComma:E,requirePragma:S}).then(R).catch((e=>R(e.message)))}),[r,s,u,E,S,L]),(0,o.jsxs)("div",{className:ti.playground,children:[(0,o.jsxs)("div",{className:ti.options,children:[(0,o.jsxs)("details",{open:!0,children:[(0,o.jsx)("summary",{children:"Global"}),(0,o.jsxs)("label",{title:"The line length that the printer will wrap on.",children:["--print-width"," ",(0,o.jsx)("input",{type:"number",min:0,value:r,onChange:e=>a(e.target.valueAsNumber)})]}),(0,o.jsxs)("label",{title:"The number of spaces per indentation-level.",children:["--tab-width"," ",(0,o.jsx)("input",{type:"number",min:0,value:s,onChange:e=>c(e.target.valueAsNumber)})]}),(0,o.jsxs)("label",{title:"Indent lines with tabs instead of spaces.",children:[(0,o.jsx)("input",{type:"checkbox",checked:u,onChange:e=>U(e.target.checked)})," ","--use-tabs"]})]}),(0,o.jsxs)("details",{open:!0,children:[(0,o.jsx)("summary",{children:"Java"}),(0,o.jsxs)("label",{title:"Print trailing commas wherever possible when multi-line.",children:["--trailing-comma"," ",(0,o.jsxs)("select",{value:E,onChange:e=>d(e.target.value),children:[(0,o.jsx)("option",{children:"all"}),(0,o.jsx)("option",{children:"none"})]})]})]}),(0,o.jsxs)("details",{open:!0,children:[(0,o.jsx)("summary",{children:"Special"}),(0,o.jsxs)("label",{title:"Require either '@prettier' or '@format' to be present in the file's first docblock comment in order for it to be formatted.",children:[(0,o.jsx)("input",{type:"checkbox",checked:S,onChange:e=>p(e.target.checked)})," ","--require-pragma"]})]})]}),(0,o.jsxs)("div",{className:ti.editors,children:[(0,o.jsx)(l,{defaultValue:L,onChange:f}),(0,o.jsx)(l,{readOnly:!0,value:h})]})]})}}}]); \ No newline at end of file diff --git a/assets/js/950.0b8e2ac3.js b/assets/js/950.0b8e2ac3.js new file mode 100644 index 00000000..bcb3d417 --- /dev/null +++ b/assets/js/950.0b8e2ac3.js @@ -0,0 +1 @@ +(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[950],{9047:(e,t,n)=>{"use strict";n.d(t,{Z:()=>L});var s=n(7294),o=n(5893);function a(e){const{mdxAdmonitionTitle:t,rest:n}=function(e){const t=s.Children.toArray(e),n=t.find((e=>s.isValidElement(e)&&"mdxAdmonitionTitle"===e.type)),a=t.filter((e=>e!==n)),c=n?.props.children;return{mdxAdmonitionTitle:c,rest:a.length>0?(0,o.jsx)(o.Fragment,{children:a}):null}}(e.children),a=e.title??t;return{...e,...a&&{title:a},children:n}}var c=n(512),i=n(5999),r=n(5281);const l={admonition:"admonition_xJq3",admonitionHeading:"admonitionHeading_Gvgb",admonitionIcon:"admonitionIcon_Rf37",admonitionContent:"admonitionContent_BuS1"};function d(e){let{type:t,className:n,children:s}=e;return(0,o.jsx)("div",{className:(0,c.Z)(r.k.common.admonition,r.k.common.admonitionType(t),l.admonition,n),children:s})}function u(e){let{icon:t,title:n}=e;return(0,o.jsxs)("div",{className:l.admonitionHeading,children:[(0,o.jsx)("span",{className:l.admonitionIcon,children:t}),n]})}function m(e){let{children:t}=e;return t?(0,o.jsx)("div",{className:l.admonitionContent,children:t}):null}function h(e){const{type:t,icon:n,title:s,children:a,className:c}=e;return(0,o.jsxs)(d,{type:t,className:c,children:[(0,o.jsx)(u,{title:s,icon:n}),(0,o.jsx)(m,{children:a})]})}function p(e){return(0,o.jsx)("svg",{viewBox:"0 0 14 16",...e,children:(0,o.jsx)("path",{fillRule:"evenodd",d:"M6.3 5.69a.942.942 0 0 1-.28-.7c0-.28.09-.52.28-.7.19-.18.42-.28.7-.28.28 0 .52.09.7.28.18.19.28.42.28.7 0 .28-.09.52-.28.7a1 1 0 0 1-.7.3c-.28 0-.52-.11-.7-.3zM8 7.99c-.02-.25-.11-.48-.31-.69-.2-.19-.42-.3-.69-.31H6c-.27.02-.48.13-.69.31-.2.2-.3.44-.31.69h1v3c.02.27.11.5.31.69.2.2.42.31.69.31h1c.27 0 .48-.11.69-.31.2-.19.3-.42.31-.69H8V7.98v.01zM7 2.3c-3.14 0-5.7 2.54-5.7 5.68 0 3.14 2.56 5.7 5.7 5.7s5.7-2.55 5.7-5.7c0-3.15-2.56-5.69-5.7-5.69v.01zM7 .98c3.86 0 7 3.14 7 7s-3.14 7-7 7-7-3.12-7-7 3.14-7 7-7z"})})}const f={icon:(0,o.jsx)(p,{}),title:(0,o.jsx)(i.Z,{id:"theme.admonition.note",description:"The default label used for the Note admonition (:::note)",children:"note"})};function g(e){return(0,o.jsx)(h,{...f,...e,className:(0,c.Z)("alert alert--secondary",e.className),children:e.children})}function x(e){return(0,o.jsx)("svg",{viewBox:"0 0 12 16",...e,children:(0,o.jsx)("path",{fillRule:"evenodd",d:"M6.5 0C3.48 0 1 2.19 1 5c0 .92.55 2.25 1 3 1.34 2.25 1.78 2.78 2 4v1h5v-1c.22-1.22.66-1.75 2-4 .45-.75 1-2.08 1-3 0-2.81-2.48-5-5.5-5zm3.64 7.48c-.25.44-.47.8-.67 1.11-.86 1.41-1.25 2.06-1.45 3.23-.02.05-.02.11-.02.17H5c0-.06 0-.13-.02-.17-.2-1.17-.59-1.83-1.45-3.23-.2-.31-.42-.67-.67-1.11C2.44 6.78 2 5.65 2 5c0-2.2 2.02-4 4.5-4 1.22 0 2.36.42 3.22 1.19C10.55 2.94 11 3.94 11 5c0 .66-.44 1.78-.86 2.48zM4 14h5c-.23 1.14-1.3 2-2.5 2s-2.27-.86-2.5-2z"})})}const b={icon:(0,o.jsx)(x,{}),title:(0,o.jsx)(i.Z,{id:"theme.admonition.tip",description:"The default label used for the Tip admonition (:::tip)",children:"tip"})};function j(e){return(0,o.jsx)(h,{...b,...e,className:(0,c.Z)("alert alert--success",e.className),children:e.children})}function v(e){return(0,o.jsx)("svg",{viewBox:"0 0 14 16",...e,children:(0,o.jsx)("path",{fillRule:"evenodd",d:"M7 2.3c3.14 0 5.7 2.56 5.7 5.7s-2.56 5.7-5.7 5.7A5.71 5.71 0 0 1 1.3 8c0-3.14 2.56-5.7 5.7-5.7zM7 1C3.14 1 0 4.14 0 8s3.14 7 7 7 7-3.14 7-7-3.14-7-7-7zm1 3H6v5h2V4zm0 6H6v2h2v-2z"})})}const N={icon:(0,o.jsx)(v,{}),title:(0,o.jsx)(i.Z,{id:"theme.admonition.info",description:"The default label used for the Info admonition (:::info)",children:"info"})};function k(e){return(0,o.jsx)(h,{...N,...e,className:(0,c.Z)("alert alert--info",e.className),children:e.children})}function y(e){return(0,o.jsx)("svg",{viewBox:"0 0 16 16",...e,children:(0,o.jsx)("path",{fillRule:"evenodd",d:"M8.893 1.5c-.183-.31-.52-.5-.887-.5s-.703.19-.886.5L.138 13.499a.98.98 0 0 0 0 1.001c.193.31.53.501.886.501h13.964c.367 0 .704-.19.877-.5a1.03 1.03 0 0 0 .01-1.002L8.893 1.5zm.133 11.497H6.987v-2.003h2.039v2.003zm0-3.004H6.987V5.987h2.039v4.006z"})})}const C={icon:(0,o.jsx)(y,{}),title:(0,o.jsx)(i.Z,{id:"theme.admonition.warning",description:"The default label used for the Warning admonition (:::warning)",children:"warning"})};function B(e){return(0,o.jsx)("svg",{viewBox:"0 0 12 16",...e,children:(0,o.jsx)("path",{fillRule:"evenodd",d:"M5.05.31c.81 2.17.41 3.38-.52 4.31C3.55 5.67 1.98 6.45.9 7.98c-1.45 2.05-1.7 6.53 3.53 7.7-2.2-1.16-2.67-4.52-.3-6.61-.61 2.03.53 3.33 1.94 2.86 1.39-.47 2.3.53 2.27 1.67-.02.78-.31 1.44-1.13 1.81 3.42-.59 4.78-3.42 4.78-5.56 0-2.84-2.53-3.22-1.25-5.61-1.52.13-2.03 1.13-1.89 2.75.09 1.08-1.02 1.8-1.86 1.33-.67-.41-.66-1.19-.06-1.78C8.18 5.31 8.68 2.45 5.05.32L5.03.3l.02.01z"})})}const w={icon:(0,o.jsx)(B,{}),title:(0,o.jsx)(i.Z,{id:"theme.admonition.danger",description:"The default label used for the Danger admonition (:::danger)",children:"danger"})};const Z={icon:(0,o.jsx)(y,{}),title:(0,o.jsx)(i.Z,{id:"theme.admonition.caution",description:"The default label used for the Caution admonition (:::caution)",children:"caution"})};const E={...{note:g,tip:j,info:k,warning:function(e){return(0,o.jsx)(h,{...C,...e,className:(0,c.Z)("alert alert--warning",e.className),children:e.children})},danger:function(e){return(0,o.jsx)(h,{...w,...e,className:(0,c.Z)("alert alert--danger",e.className),children:e.children})}},...{secondary:e=>(0,o.jsx)(g,{title:"secondary",...e}),important:e=>(0,o.jsx)(k,{title:"important",...e}),success:e=>(0,o.jsx)(j,{title:"success",...e}),caution:function(e){return(0,o.jsx)(h,{...Z,...e,className:(0,c.Z)("alert alert--warning",e.className),children:e.children})}}};function L(e){const t=a(e),n=(s=t.type,E[s]||(console.warn(`No admonition component found for admonition type "${s}". Using Info as fallback.`),E.info));var s;return(0,o.jsx)(n,{...t})}},4881:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});n(7294);var s=n(5999),o=n(5281),a=n(3692),c=n(512);const i={iconEdit:"iconEdit_Z9Sw"};var r=n(5893);function l(e){let{className:t,...n}=e;return(0,r.jsx)("svg",{fill:"currentColor",height:"20",width:"20",viewBox:"0 0 40 40",className:(0,c.Z)(i.iconEdit,t),"aria-hidden":"true",...n,children:(0,r.jsx)("g",{children:(0,r.jsx)("path",{d:"m34.5 11.7l-3 3.1-6.3-6.3 3.1-3q0.5-0.5 1.2-0.5t1.1 0.5l3.9 3.9q0.5 0.4 0.5 1.1t-0.5 1.2z m-29.5 17.1l18.4-18.5 6.3 6.3-18.4 18.4h-6.3v-6.2z"})})})}function d(e){let{editUrl:t}=e;return(0,r.jsxs)(a.Z,{to:t,className:o.k.common.editThisPage,children:[(0,r.jsx)(l,{}),(0,r.jsx)(s.Z,{id:"theme.common.editThisPage",description:"The link label to edit the current page",children:"Edit this page"})]})}},7395:(e,t,n)=>{"use strict";n.d(t,{Z:()=>re});var s=n(7294),o=n(1151),a=n(5742),c=n(2389),i=n(512),r=n(2949),l=n(6668);function d(){const{prism:e}=(0,l.L)(),{colorMode:t}=(0,r.I)(),n=e.theme,s=e.darkTheme||n;return"dark"===t?s:n}var u=n(5281),m=n(7594),h=n.n(m);const p=/title=(?["'])(?.*?)\1/,f=/\{(?<range>[\d,-]+)\}/,g={js:{start:"\\/\\/",end:""},jsBlock:{start:"\\/\\*",end:"\\*\\/"},jsx:{start:"\\{\\s*\\/\\*",end:"\\*\\/\\s*\\}"},bash:{start:"#",end:""},html:{start:"\x3c!--",end:"--\x3e"}},x={...g,lua:{start:"--",end:""},wasm:{start:"\\;\\;",end:""},tex:{start:"%",end:""},vb:{start:"['\u2018\u2019]",end:""},vbnet:{start:"(?:_\\s*)?['\u2018\u2019]",end:""},rem:{start:"[Rr][Ee][Mm]\\b",end:""},f90:{start:"!",end:""},ml:{start:"\\(\\*",end:"\\*\\)"},cobol:{start:"\\*>",end:""}},b=Object.keys(g);function j(e,t){const n=e.map((e=>{const{start:n,end:s}=x[e];return`(?:${n}\\s*(${t.flatMap((e=>[e.line,e.block?.start,e.block?.end].filter(Boolean))).join("|")})\\s*${s})`})).join("|");return new RegExp(`^\\s*(?:${n})\\s*$`)}function v(e,t){let n=e.replace(/\n$/,"");const{language:s,magicComments:o,metastring:a}=t;if(a&&f.test(a)){const e=a.match(f).groups.range;if(0===o.length)throw new Error(`A highlight range has been given in code block's metastring (\`\`\` ${a}), but no magic comment config is available. Docusaurus applies the first magic comment entry's className for metastring ranges.`);const t=o[0].className,s=h()(e).filter((e=>e>0)).map((e=>[e-1,[t]]));return{lineClassNames:Object.fromEntries(s),code:n}}if(void 0===s)return{lineClassNames:{},code:n};const c=function(e,t){switch(e){case"js":case"javascript":case"ts":case"typescript":return j(["js","jsBlock"],t);case"jsx":case"tsx":return j(["js","jsBlock","jsx"],t);case"html":return j(["js","jsBlock","html"],t);case"python":case"py":case"bash":return j(["bash"],t);case"markdown":case"md":return j(["html","jsx","bash"],t);case"tex":case"latex":case"matlab":return j(["tex"],t);case"lua":case"haskell":case"sql":return j(["lua"],t);case"wasm":return j(["wasm"],t);case"vb":case"vba":case"visual-basic":return j(["vb","rem"],t);case"vbnet":return j(["vbnet","rem"],t);case"batch":return j(["rem"],t);case"basic":return j(["rem","f90"],t);case"fsharp":return j(["js","ml"],t);case"ocaml":case"sml":return j(["ml"],t);case"fortran":return j(["f90"],t);case"cobol":return j(["cobol"],t);default:return j(b,t)}}(s,o),i=n.split("\n"),r=Object.fromEntries(o.map((e=>[e.className,{start:0,range:""}]))),l=Object.fromEntries(o.filter((e=>e.line)).map((e=>{let{className:t,line:n}=e;return[n,t]}))),d=Object.fromEntries(o.filter((e=>e.block)).map((e=>{let{className:t,block:n}=e;return[n.start,t]}))),u=Object.fromEntries(o.filter((e=>e.block)).map((e=>{let{className:t,block:n}=e;return[n.end,t]})));for(let h=0;h<i.length;){const e=i[h].match(c);if(!e){h+=1;continue}const t=e.slice(1).find((e=>void 0!==e));l[t]?r[l[t]].range+=`${h},`:d[t]?r[d[t]].start=h:u[t]&&(r[u[t]].range+=`${r[u[t]].start}-${h-1},`),i.splice(h,1)}n=i.join("\n");const m={};return Object.entries(r).forEach((e=>{let[t,{range:n}]=e;h()(n).forEach((e=>{m[e]??=[],m[e].push(t)}))})),{lineClassNames:m,code:n}}const N={codeBlockContainer:"codeBlockContainer_Ckt0"};var k=n(5893);function y(e){let{as:t,...n}=e;const s=function(e){const t={color:"--prism-color",backgroundColor:"--prism-background-color"},n={};return Object.entries(e.plain).forEach((e=>{let[s,o]=e;const a=t[s];a&&"string"==typeof o&&(n[a]=o)})),n}(d());return(0,k.jsx)(t,{...n,style:s,className:(0,i.Z)(n.className,N.codeBlockContainer,u.k.common.codeBlock)})}const C={codeBlockContent:"codeBlockContent_biex",codeBlockTitle:"codeBlockTitle_Ktv7",codeBlock:"codeBlock_bY9V",codeBlockStandalone:"codeBlockStandalone_MEMb",codeBlockLines:"codeBlockLines_e6Vv",codeBlockLinesWithNumbering:"codeBlockLinesWithNumbering_o6Pm",buttonGroup:"buttonGroup__atx"};function B(e){let{children:t,className:n}=e;return(0,k.jsx)(y,{as:"pre",tabIndex:0,className:(0,i.Z)(C.codeBlockStandalone,"thin-scrollbar",n),children:(0,k.jsx)("code",{className:C.codeBlockLines,children:t})})}var w=n(902);const Z={attributes:!0,characterData:!0,childList:!0,subtree:!0};function E(e,t){const[n,o]=(0,s.useState)(),a=(0,s.useCallback)((()=>{o(e.current?.closest("[role=tabpanel][hidden]"))}),[e,o]);(0,s.useEffect)((()=>{a()}),[a]),function(e,t,n){void 0===n&&(n=Z);const o=(0,w.zX)(t),a=(0,w.Ql)(n);(0,s.useEffect)((()=>{const t=new MutationObserver(o);return e&&t.observe(e,a),()=>t.disconnect()}),[e,o,a])}(n,(e=>{e.forEach((e=>{"attributes"===e.type&&"hidden"===e.attributeName&&(t(),a())}))}),{attributes:!0,characterData:!1,childList:!1,subtree:!1})}var L=n(2573);const _={codeLine:"codeLine_lJS_",codeLineNumber:"codeLineNumber_Tfdd",codeLineContent:"codeLineContent_feaV"};function T(e){let{line:t,classNames:n,showLineNumbers:s,getLineProps:o,getTokenProps:a}=e;1===t.length&&"\n"===t[0].content&&(t[0].content="");const c=o({line:t,className:(0,i.Z)(n,s&&_.codeLine)}),r=t.map(((e,t)=>(0,k.jsx)("span",{...a({token:e,key:t})},t)));return(0,k.jsxs)("span",{...c,children:[s?(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)("span",{className:_.codeLineNumber}),(0,k.jsx)("span",{className:_.codeLineContent,children:r})]}):r,(0,k.jsx)("br",{})]})}var S=n(5999);function z(e){return(0,k.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,k.jsx)("path",{fill:"currentColor",d:"M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"})})}function A(e){return(0,k.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,k.jsx)("path",{fill:"currentColor",d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"})})}const I={copyButtonCopied:"copyButtonCopied_obH4",copyButtonIcons:"copyButtonIcons_eSgA",copyButtonIcon:"copyButtonIcon_y97N",copyButtonSuccessIcon:"copyButtonSuccessIcon_LjdS"};function M(e){let{code:t,className:n}=e;const[o,a]=(0,s.useState)(!1),c=(0,s.useRef)(void 0),r=(0,s.useCallback)((()=>{!function(e,t){let{target:n=document.body}=void 0===t?{}:t;if("string"!=typeof e)throw new TypeError(`Expected parameter \`text\` to be a \`string\`, got \`${typeof e}\`.`);const s=document.createElement("textarea"),o=document.activeElement;s.value=e,s.setAttribute("readonly",""),s.style.contain="strict",s.style.position="absolute",s.style.left="-9999px",s.style.fontSize="12pt";const a=document.getSelection(),c=a.rangeCount>0&&a.getRangeAt(0);n.append(s),s.select(),s.selectionStart=0,s.selectionEnd=e.length;let i=!1;try{i=document.execCommand("copy")}catch{}s.remove(),c&&(a.removeAllRanges(),a.addRange(c)),o&&o.focus()}(t),a(!0),c.current=window.setTimeout((()=>{a(!1)}),1e3)}),[t]);return(0,s.useEffect)((()=>()=>window.clearTimeout(c.current)),[]),(0,k.jsx)("button",{type:"button","aria-label":o?(0,S.I)({id:"theme.CodeBlock.copied",message:"Copied",description:"The copied button label on code blocks"}):(0,S.I)({id:"theme.CodeBlock.copyButtonAriaLabel",message:"Copy code to clipboard",description:"The ARIA label for copy code blocks button"}),title:(0,S.I)({id:"theme.CodeBlock.copy",message:"Copy",description:"The copy button label on code blocks"}),className:(0,i.Z)("clean-btn",n,I.copyButton,o&&I.copyButtonCopied),onClick:r,children:(0,k.jsxs)("span",{className:I.copyButtonIcons,"aria-hidden":"true",children:[(0,k.jsx)(z,{className:I.copyButtonIcon}),(0,k.jsx)(A,{className:I.copyButtonSuccessIcon})]})})}function H(e){return(0,k.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,k.jsx)("path",{fill:"currentColor",d:"M4 19h6v-2H4v2zM20 5H4v2h16V5zm-3 6H4v2h13.25c1.1 0 2 .9 2 2s-.9 2-2 2H15v-2l-3 3l3 3v-2h2c2.21 0 4-1.79 4-4s-1.79-4-4-4z"})})}const R={wordWrapButtonIcon:"wordWrapButtonIcon_Bwma",wordWrapButtonEnabled:"wordWrapButtonEnabled_EoeP"};function V(e){let{className:t,onClick:n,isEnabled:s}=e;const o=(0,S.I)({id:"theme.CodeBlock.wordWrapToggle",message:"Toggle word wrap",description:"The title attribute for toggle word wrapping button of code block lines"});return(0,k.jsx)("button",{type:"button",onClick:n,className:(0,i.Z)("clean-btn",t,s&&R.wordWrapButtonEnabled),"aria-label":o,title:o,children:(0,k.jsx)(H,{className:R.wordWrapButtonIcon,"aria-hidden":"true"})})}function W(e){let{children:t,className:n="",metastring:o,title:a,showLineNumbers:c,language:r}=e;const{prism:{defaultLanguage:u,magicComments:m}}=(0,l.L)(),h=function(e){return e?.toLowerCase()}(r??function(e){const t=e.split(" ").find((e=>e.startsWith("language-")));return t?.replace(/language-/,"")}(n)??u),f=d(),g=function(){const[e,t]=(0,s.useState)(!1),[n,o]=(0,s.useState)(!1),a=(0,s.useRef)(null),c=(0,s.useCallback)((()=>{const n=a.current.querySelector("code");e?n.removeAttribute("style"):(n.style.whiteSpace="pre-wrap",n.style.overflowWrap="anywhere"),t((e=>!e))}),[a,e]),i=(0,s.useCallback)((()=>{const{scrollWidth:e,clientWidth:t}=a.current,n=e>t||a.current.querySelector("code").hasAttribute("style");o(n)}),[a]);return E(a,i),(0,s.useEffect)((()=>{i()}),[e,i]),(0,s.useEffect)((()=>(window.addEventListener("resize",i,{passive:!0}),()=>{window.removeEventListener("resize",i)})),[i]),{codeBlockRef:a,isEnabled:e,isCodeScrollable:n,toggle:c}}(),x=function(e){return e?.match(p)?.groups.title??""}(o)||a,{lineClassNames:b,code:j}=v(t,{metastring:o,language:h,magicComments:m}),N=c??function(e){return Boolean(e?.includes("showLineNumbers"))}(o);return(0,k.jsxs)(y,{as:"div",className:(0,i.Z)(n,h&&!n.includes(`language-${h}`)&&`language-${h}`),children:[x&&(0,k.jsx)("div",{className:C.codeBlockTitle,children:x}),(0,k.jsxs)("div",{className:C.codeBlockContent,children:[(0,k.jsx)(L.y$,{theme:f,code:j,language:h??"text",children:e=>{let{className:t,style:n,tokens:s,getLineProps:o,getTokenProps:a}=e;return(0,k.jsx)("pre",{tabIndex:0,ref:g.codeBlockRef,className:(0,i.Z)(t,C.codeBlock,"thin-scrollbar"),style:n,children:(0,k.jsx)("code",{className:(0,i.Z)(C.codeBlockLines,N&&C.codeBlockLinesWithNumbering),children:s.map(((e,t)=>(0,k.jsx)(T,{line:e,getLineProps:o,getTokenProps:a,classNames:b[t],showLineNumbers:N},t)))})})}}),(0,k.jsxs)("div",{className:C.buttonGroup,children:[(g.isEnabled||g.isCodeScrollable)&&(0,k.jsx)(V,{className:C.codeButton,onClick:()=>g.toggle(),isEnabled:g.isEnabled}),(0,k.jsx)(M,{className:C.codeButton,code:j})]})]})]})}function $(e){let{children:t,...n}=e;const o=(0,c.Z)(),a=function(e){return s.Children.toArray(e).some((e=>(0,s.isValidElement)(e)))?e:Array.isArray(e)?e.join(""):e}(t),i="string"==typeof a?W:B;return(0,k.jsx)(i,{...n,children:a},String(o))}function P(e){return(0,k.jsx)("code",{...e})}var q=n(3692);var D=n(8138),O=n(6043);const F={details:"details_lb9f",isBrowser:"isBrowser_bmU9",collapsibleContent:"collapsibleContent_i85q"};function G(e){return!!e&&("SUMMARY"===e.tagName||G(e.parentElement))}function U(e,t){return!!e&&(e===t||U(e.parentElement,t))}function J(e){let{summary:t,children:n,...o}=e;(0,D.Z)().collectAnchor(o.id);const a=(0,c.Z)(),r=(0,s.useRef)(null),{collapsed:l,setCollapsed:d}=(0,O.u)({initialState:!o.open}),[u,m]=(0,s.useState)(o.open),h=s.isValidElement(t)?t:(0,k.jsx)("summary",{children:t??"Details"});return(0,k.jsxs)("details",{...o,ref:r,open:u,"data-collapsed":l,className:(0,i.Z)(F.details,a&&F.isBrowser,o.className),onMouseDown:e=>{G(e.target)&&e.detail>1&&e.preventDefault()},onClick:e=>{e.stopPropagation();const t=e.target;G(t)&&U(t,r.current)&&(e.preventDefault(),l?(d(!1),m(!0)):d(!0))},children:[h,(0,k.jsx)(O.z,{lazy:!1,collapsed:l,disableSSRStyle:!0,onCollapseTransitionEnd:e=>{d(e),m(!e)},children:(0,k.jsx)("div",{className:F.collapsibleContent,children:n})})]})}const Q={details:"details_b_Ee"},X="alert alert--info";function Y(e){let{...t}=e;return(0,k.jsx)(J,{...t,className:(0,i.Z)(X,Q.details,t.className)})}function K(e){const t=s.Children.toArray(e.children),n=t.find((e=>s.isValidElement(e)&&"summary"===e.type)),o=(0,k.jsx)(k.Fragment,{children:t.filter((e=>e!==n))});return(0,k.jsx)(Y,{...e,summary:n,children:o})}var ee=n(7955);function te(e){return(0,k.jsx)(ee.Z,{...e})}const ne={containsTaskList:"containsTaskList_mC6p"};function se(e){if(void 0!==e)return(0,i.Z)(e,e?.includes("contains-task-list")&&ne.containsTaskList)}const oe={img:"img_ev3q"};var ae=n(9047),ce=n(1875);const ie={Head:a.Z,details:K,Details:K,code:function(e){return function(e){return void 0!==e.children&&s.Children.toArray(e.children).every((e=>"string"==typeof e&&!e.includes("\n")))}(e)?(0,k.jsx)(P,{...e}):(0,k.jsx)($,{...e})},a:function(e){return(0,k.jsx)(q.Z,{...e})},pre:function(e){return(0,k.jsx)(k.Fragment,{children:e.children})},ul:function(e){return(0,k.jsx)("ul",{...e,className:se(e.className)})},li:function(e){return(0,D.Z)().collectAnchor(e.id),(0,k.jsx)("li",{...e})},img:function(e){return(0,k.jsx)("img",{decoding:"async",loading:"lazy",...e,className:(t=e.className,(0,i.Z)(t,oe.img))});var t},h1:e=>(0,k.jsx)(te,{as:"h1",...e}),h2:e=>(0,k.jsx)(te,{as:"h2",...e}),h3:e=>(0,k.jsx)(te,{as:"h3",...e}),h4:e=>(0,k.jsx)(te,{as:"h4",...e}),h5:e=>(0,k.jsx)(te,{as:"h5",...e}),h6:e=>(0,k.jsx)(te,{as:"h6",...e}),admonition:ae.Z,mermaid:ce.Z};function re(e){let{children:t}=e;return(0,k.jsx)(o.Z,{components:ie,children:t})}},2244:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});n(7294);var s=n(512),o=n(3692),a=n(5893);function c(e){const{permalink:t,title:n,subLabel:c,isNext:i}=e;return(0,a.jsxs)(o.Z,{className:(0,s.Z)("pagination-nav__link",i?"pagination-nav__link--next":"pagination-nav__link--prev"),to:t,children:[c&&(0,a.jsx)("div",{className:"pagination-nav__sublabel",children:c}),(0,a.jsx)("div",{className:"pagination-nav__label",children:n})]})}},6233:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});n(7294);var s=n(512),o=n(5999),a=n(3692);const c={tag:"tag_zVej",tagRegular:"tagRegular_sFm0",tagWithCount:"tagWithCount_h2kH"};var i=n(5893);function r(e){let{permalink:t,label:n,count:o}=e;return(0,i.jsxs)(a.Z,{href:t,className:(0,s.Z)(c.tag,o?c.tagWithCount:c.tagRegular),children:[n,o&&(0,i.jsx)("span",{children:o})]})}const l={tags:"tags_jXut",tag:"tag_QGVx"};function d(e){let{tags:t}=e;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("b",{children:(0,i.jsx)(o.Z,{id:"theme.tags.tagsListLabel",description:"The label alongside a tag list",children:"Tags:"})}),(0,i.jsx)("ul",{className:(0,s.Z)(l.tags,"padding--none","margin-left--sm"),children:t.map((e=>{let{label:t,permalink:n}=e;return(0,i.jsx)("li",{className:l.tag,children:(0,i.jsx)(r,{label:t,permalink:n})},n)}))})]})}},7594:(e,t)=>{function n(e){let t,n=[];for(let s of e.split(",").map((e=>e.trim())))if(/^-?\d+$/.test(s))n.push(parseInt(s,10));else if(t=s.match(/^(-?\d+)(-|\.\.\.?|\u2025|\u2026|\u22EF)(-?\d+)$/)){let[e,s,o,a]=t;if(s&&a){s=parseInt(s),a=parseInt(a);const e=s<a?1:-1;"-"!==o&&".."!==o&&"\u2025"!==o||(a+=e);for(let t=s;t!==a;t+=e)n.push(t)}}return n}t.default=n,e.exports=n},1151:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i,a:()=>c});var s=n(7294);const o={},a=s.createContext(o);function c(e){const t=s.useContext(a);return s.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function i(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:c(e.components),s.createElement(a.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/96.d2575959.js b/assets/js/96.d2575959.js deleted file mode 100644 index 41049986..00000000 --- a/assets/js/96.d2575959.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[96],{9047:(e,t,n)=>{"use strict";n.d(t,{Z:()=>L});var s=n(7294),o=n(5893);function a(e){const{mdxAdmonitionTitle:t,rest:n}=function(e){const t=s.Children.toArray(e),n=t.find((e=>s.isValidElement(e)&&"mdxAdmonitionTitle"===e.type)),a=t.filter((e=>e!==n)),c=n?.props.children;return{mdxAdmonitionTitle:c,rest:a.length>0?(0,o.jsx)(o.Fragment,{children:a}):null}}(e.children),a=e.title??t;return{...e,...a&&{title:a},children:n}}var c=n(512),i=n(5999),r=n(5281);const l={admonition:"admonition_xJq3",admonitionHeading:"admonitionHeading_Gvgb",admonitionIcon:"admonitionIcon_Rf37",admonitionContent:"admonitionContent_BuS1"};function d(e){let{type:t,className:n,children:s}=e;return(0,o.jsx)("div",{className:(0,c.Z)(r.k.common.admonition,r.k.common.admonitionType(t),l.admonition,n),children:s})}function u(e){let{icon:t,title:n}=e;return(0,o.jsxs)("div",{className:l.admonitionHeading,children:[(0,o.jsx)("span",{className:l.admonitionIcon,children:t}),n]})}function m(e){let{children:t}=e;return t?(0,o.jsx)("div",{className:l.admonitionContent,children:t}):null}function h(e){const{type:t,icon:n,title:s,children:a,className:c}=e;return(0,o.jsxs)(d,{type:t,className:c,children:[(0,o.jsx)(u,{title:s,icon:n}),(0,o.jsx)(m,{children:a})]})}function p(e){return(0,o.jsx)("svg",{viewBox:"0 0 14 16",...e,children:(0,o.jsx)("path",{fillRule:"evenodd",d:"M6.3 5.69a.942.942 0 0 1-.28-.7c0-.28.09-.52.28-.7.19-.18.42-.28.7-.28.28 0 .52.09.7.28.18.19.28.42.28.7 0 .28-.09.52-.28.7a1 1 0 0 1-.7.3c-.28 0-.52-.11-.7-.3zM8 7.99c-.02-.25-.11-.48-.31-.69-.2-.19-.42-.3-.69-.31H6c-.27.02-.48.13-.69.31-.2.2-.3.44-.31.69h1v3c.02.27.11.5.31.69.2.2.42.31.69.31h1c.27 0 .48-.11.69-.31.2-.19.3-.42.31-.69H8V7.98v.01zM7 2.3c-3.14 0-5.7 2.54-5.7 5.68 0 3.14 2.56 5.7 5.7 5.7s5.7-2.55 5.7-5.7c0-3.15-2.56-5.69-5.7-5.69v.01zM7 .98c3.86 0 7 3.14 7 7s-3.14 7-7 7-7-3.12-7-7 3.14-7 7-7z"})})}const f={icon:(0,o.jsx)(p,{}),title:(0,o.jsx)(i.Z,{id:"theme.admonition.note",description:"The default label used for the Note admonition (:::note)",children:"note"})};function g(e){return(0,o.jsx)(h,{...f,...e,className:(0,c.Z)("alert alert--secondary",e.className),children:e.children})}function x(e){return(0,o.jsx)("svg",{viewBox:"0 0 12 16",...e,children:(0,o.jsx)("path",{fillRule:"evenodd",d:"M6.5 0C3.48 0 1 2.19 1 5c0 .92.55 2.25 1 3 1.34 2.25 1.78 2.78 2 4v1h5v-1c.22-1.22.66-1.75 2-4 .45-.75 1-2.08 1-3 0-2.81-2.48-5-5.5-5zm3.64 7.48c-.25.44-.47.8-.67 1.11-.86 1.41-1.25 2.06-1.45 3.23-.02.05-.02.11-.02.17H5c0-.06 0-.13-.02-.17-.2-1.17-.59-1.83-1.45-3.23-.2-.31-.42-.67-.67-1.11C2.44 6.78 2 5.65 2 5c0-2.2 2.02-4 4.5-4 1.22 0 2.36.42 3.22 1.19C10.55 2.94 11 3.94 11 5c0 .66-.44 1.78-.86 2.48zM4 14h5c-.23 1.14-1.3 2-2.5 2s-2.27-.86-2.5-2z"})})}const b={icon:(0,o.jsx)(x,{}),title:(0,o.jsx)(i.Z,{id:"theme.admonition.tip",description:"The default label used for the Tip admonition (:::tip)",children:"tip"})};function j(e){return(0,o.jsx)(h,{...b,...e,className:(0,c.Z)("alert alert--success",e.className),children:e.children})}function v(e){return(0,o.jsx)("svg",{viewBox:"0 0 14 16",...e,children:(0,o.jsx)("path",{fillRule:"evenodd",d:"M7 2.3c3.14 0 5.7 2.56 5.7 5.7s-2.56 5.7-5.7 5.7A5.71 5.71 0 0 1 1.3 8c0-3.14 2.56-5.7 5.7-5.7zM7 1C3.14 1 0 4.14 0 8s3.14 7 7 7 7-3.14 7-7-3.14-7-7-7zm1 3H6v5h2V4zm0 6H6v2h2v-2z"})})}const N={icon:(0,o.jsx)(v,{}),title:(0,o.jsx)(i.Z,{id:"theme.admonition.info",description:"The default label used for the Info admonition (:::info)",children:"info"})};function k(e){return(0,o.jsx)(h,{...N,...e,className:(0,c.Z)("alert alert--info",e.className),children:e.children})}function y(e){return(0,o.jsx)("svg",{viewBox:"0 0 16 16",...e,children:(0,o.jsx)("path",{fillRule:"evenodd",d:"M8.893 1.5c-.183-.31-.52-.5-.887-.5s-.703.19-.886.5L.138 13.499a.98.98 0 0 0 0 1.001c.193.31.53.501.886.501h13.964c.367 0 .704-.19.877-.5a1.03 1.03 0 0 0 .01-1.002L8.893 1.5zm.133 11.497H6.987v-2.003h2.039v2.003zm0-3.004H6.987V5.987h2.039v4.006z"})})}const C={icon:(0,o.jsx)(y,{}),title:(0,o.jsx)(i.Z,{id:"theme.admonition.warning",description:"The default label used for the Warning admonition (:::warning)",children:"warning"})};function B(e){return(0,o.jsx)("svg",{viewBox:"0 0 12 16",...e,children:(0,o.jsx)("path",{fillRule:"evenodd",d:"M5.05.31c.81 2.17.41 3.38-.52 4.31C3.55 5.67 1.98 6.45.9 7.98c-1.45 2.05-1.7 6.53 3.53 7.7-2.2-1.16-2.67-4.52-.3-6.61-.61 2.03.53 3.33 1.94 2.86 1.39-.47 2.3.53 2.27 1.67-.02.78-.31 1.44-1.13 1.81 3.42-.59 4.78-3.42 4.78-5.56 0-2.84-2.53-3.22-1.25-5.61-1.52.13-2.03 1.13-1.89 2.75.09 1.08-1.02 1.8-1.86 1.33-.67-.41-.66-1.19-.06-1.78C8.18 5.31 8.68 2.45 5.05.32L5.03.3l.02.01z"})})}const w={icon:(0,o.jsx)(B,{}),title:(0,o.jsx)(i.Z,{id:"theme.admonition.danger",description:"The default label used for the Danger admonition (:::danger)",children:"danger"})};const Z={icon:(0,o.jsx)(y,{}),title:(0,o.jsx)(i.Z,{id:"theme.admonition.caution",description:"The default label used for the Caution admonition (:::caution)",children:"caution"})};const E={...{note:g,tip:j,info:k,warning:function(e){return(0,o.jsx)(h,{...C,...e,className:(0,c.Z)("alert alert--warning",e.className),children:e.children})},danger:function(e){return(0,o.jsx)(h,{...w,...e,className:(0,c.Z)("alert alert--danger",e.className),children:e.children})}},...{secondary:e=>(0,o.jsx)(g,{title:"secondary",...e}),important:e=>(0,o.jsx)(k,{title:"important",...e}),success:e=>(0,o.jsx)(j,{title:"success",...e}),caution:function(e){return(0,o.jsx)(h,{...Z,...e,className:(0,c.Z)("alert alert--warning",e.className),children:e.children})}}};function L(e){const t=a(e),n=(s=t.type,E[s]||(console.warn(`No admonition component found for admonition type "${s}". Using Info as fallback.`),E.info));var s;return(0,o.jsx)(n,{...t})}},4881:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});n(7294);var s=n(5999),o=n(5281),a=n(3692),c=n(512);const i={iconEdit:"iconEdit_Z9Sw"};var r=n(5893);function l(e){let{className:t,...n}=e;return(0,r.jsx)("svg",{fill:"currentColor",height:"20",width:"20",viewBox:"0 0 40 40",className:(0,c.Z)(i.iconEdit,t),"aria-hidden":"true",...n,children:(0,r.jsx)("g",{children:(0,r.jsx)("path",{d:"m34.5 11.7l-3 3.1-6.3-6.3 3.1-3q0.5-0.5 1.2-0.5t1.1 0.5l3.9 3.9q0.5 0.4 0.5 1.1t-0.5 1.2z m-29.5 17.1l18.4-18.5 6.3 6.3-18.4 18.4h-6.3v-6.2z"})})})}function d(e){let{editUrl:t}=e;return(0,r.jsxs)(a.Z,{to:t,className:o.k.common.editThisPage,children:[(0,r.jsx)(l,{}),(0,r.jsx)(s.Z,{id:"theme.common.editThisPage",description:"The link label to edit the current page",children:"Edit this page"})]})}},1404:(e,t,n)=>{"use strict";n.d(t,{Z:()=>ie});var s=n(7294),o=n(1151),a=n(5742),c=n(2389),i=n(512),r=n(2949),l=n(6668);function d(){const{prism:e}=(0,l.L)(),{colorMode:t}=(0,r.I)(),n=e.theme,s=e.darkTheme||n;return"dark"===t?s:n}var u=n(5281),m=n(7594),h=n.n(m);const p=/title=(?<quote>["'])(?<title>.*?)\1/,f=/\{(?<range>[\d,-]+)\}/,g={js:{start:"\\/\\/",end:""},jsBlock:{start:"\\/\\*",end:"\\*\\/"},jsx:{start:"\\{\\s*\\/\\*",end:"\\*\\/\\s*\\}"},bash:{start:"#",end:""},html:{start:"\x3c!--",end:"--\x3e"}},x={...g,lua:{start:"--",end:""},wasm:{start:"\\;\\;",end:""},tex:{start:"%",end:""},vb:{start:"['\u2018\u2019]",end:""},rem:{start:"[Rr][Ee][Mm]\\b",end:""},f90:{start:"!",end:""},ml:{start:"\\(\\*",end:"\\*\\)"},cobol:{start:"\\*>",end:""}},b=Object.keys(g);function j(e,t){const n=e.map((e=>{const{start:n,end:s}=x[e];return`(?:${n}\\s*(${t.flatMap((e=>[e.line,e.block?.start,e.block?.end].filter(Boolean))).join("|")})\\s*${s})`})).join("|");return new RegExp(`^\\s*(?:${n})\\s*$`)}function v(e,t){let n=e.replace(/\n$/,"");const{language:s,magicComments:o,metastring:a}=t;if(a&&f.test(a)){const e=a.match(f).groups.range;if(0===o.length)throw new Error(`A highlight range has been given in code block's metastring (\`\`\` ${a}), but no magic comment config is available. Docusaurus applies the first magic comment entry's className for metastring ranges.`);const t=o[0].className,s=h()(e).filter((e=>e>0)).map((e=>[e-1,[t]]));return{lineClassNames:Object.fromEntries(s),code:n}}if(void 0===s)return{lineClassNames:{},code:n};const c=function(e,t){switch(e){case"js":case"javascript":case"ts":case"typescript":return j(["js","jsBlock"],t);case"jsx":case"tsx":return j(["js","jsBlock","jsx"],t);case"html":return j(["js","jsBlock","html"],t);case"python":case"py":case"bash":return j(["bash"],t);case"markdown":case"md":return j(["html","jsx","bash"],t);case"tex":case"latex":case"matlab":return j(["tex"],t);case"lua":case"haskell":case"sql":return j(["lua"],t);case"wasm":return j(["wasm"],t);case"vb":case"vbnet":case"vba":case"visual-basic":return j(["vb","rem"],t);case"batch":return j(["rem"],t);case"basic":return j(["rem","f90"],t);case"fsharp":return j(["js","ml"],t);case"ocaml":case"sml":return j(["ml"],t);case"fortran":return j(["f90"],t);case"cobol":return j(["cobol"],t);default:return j(b,t)}}(s,o),i=n.split("\n"),r=Object.fromEntries(o.map((e=>[e.className,{start:0,range:""}]))),l=Object.fromEntries(o.filter((e=>e.line)).map((e=>{let{className:t,line:n}=e;return[n,t]}))),d=Object.fromEntries(o.filter((e=>e.block)).map((e=>{let{className:t,block:n}=e;return[n.start,t]}))),u=Object.fromEntries(o.filter((e=>e.block)).map((e=>{let{className:t,block:n}=e;return[n.end,t]})));for(let h=0;h<i.length;){const e=i[h].match(c);if(!e){h+=1;continue}const t=e.slice(1).find((e=>void 0!==e));l[t]?r[l[t]].range+=`${h},`:d[t]?r[d[t]].start=h:u[t]&&(r[u[t]].range+=`${r[u[t]].start}-${h-1},`),i.splice(h,1)}n=i.join("\n");const m={};return Object.entries(r).forEach((e=>{let[t,{range:n}]=e;h()(n).forEach((e=>{m[e]??=[],m[e].push(t)}))})),{lineClassNames:m,code:n}}const N={codeBlockContainer:"codeBlockContainer_Ckt0"};var k=n(5893);function y(e){let{as:t,...n}=e;const s=function(e){const t={color:"--prism-color",backgroundColor:"--prism-background-color"},n={};return Object.entries(e.plain).forEach((e=>{let[s,o]=e;const a=t[s];a&&"string"==typeof o&&(n[a]=o)})),n}(d());return(0,k.jsx)(t,{...n,style:s,className:(0,i.Z)(n.className,N.codeBlockContainer,u.k.common.codeBlock)})}const C={codeBlockContent:"codeBlockContent_biex",codeBlockTitle:"codeBlockTitle_Ktv7",codeBlock:"codeBlock_bY9V",codeBlockStandalone:"codeBlockStandalone_MEMb",codeBlockLines:"codeBlockLines_e6Vv",codeBlockLinesWithNumbering:"codeBlockLinesWithNumbering_o6Pm",buttonGroup:"buttonGroup__atx"};function B(e){let{children:t,className:n}=e;return(0,k.jsx)(y,{as:"pre",tabIndex:0,className:(0,i.Z)(C.codeBlockStandalone,"thin-scrollbar",n),children:(0,k.jsx)("code",{className:C.codeBlockLines,children:t})})}var w=n(902);const Z={attributes:!0,characterData:!0,childList:!0,subtree:!0};function E(e,t){const[n,o]=(0,s.useState)(),a=(0,s.useCallback)((()=>{o(e.current?.closest("[role=tabpanel][hidden]"))}),[e,o]);(0,s.useEffect)((()=>{a()}),[a]),function(e,t,n){void 0===n&&(n=Z);const o=(0,w.zX)(t),a=(0,w.Ql)(n);(0,s.useEffect)((()=>{const t=new MutationObserver(o);return e&&t.observe(e,a),()=>t.disconnect()}),[e,o,a])}(n,(e=>{e.forEach((e=>{"attributes"===e.type&&"hidden"===e.attributeName&&(t(),a())}))}),{attributes:!0,characterData:!1,childList:!1,subtree:!1})}var L=n(2573);const _={codeLine:"codeLine_lJS_",codeLineNumber:"codeLineNumber_Tfdd",codeLineContent:"codeLineContent_feaV"};function T(e){let{line:t,classNames:n,showLineNumbers:s,getLineProps:o,getTokenProps:a}=e;1===t.length&&"\n"===t[0].content&&(t[0].content="");const c=o({line:t,className:(0,i.Z)(n,s&&_.codeLine)}),r=t.map(((e,t)=>(0,k.jsx)("span",{...a({token:e,key:t})},t)));return(0,k.jsxs)("span",{...c,children:[s?(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)("span",{className:_.codeLineNumber}),(0,k.jsx)("span",{className:_.codeLineContent,children:r})]}):r,(0,k.jsx)("br",{})]})}var S=n(5999);function z(e){return(0,k.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,k.jsx)("path",{fill:"currentColor",d:"M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"})})}function I(e){return(0,k.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,k.jsx)("path",{fill:"currentColor",d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"})})}const A={copyButtonCopied:"copyButtonCopied_obH4",copyButtonIcons:"copyButtonIcons_eSgA",copyButtonIcon:"copyButtonIcon_y97N",copyButtonSuccessIcon:"copyButtonSuccessIcon_LjdS"};function M(e){let{code:t,className:n}=e;const[o,a]=(0,s.useState)(!1),c=(0,s.useRef)(void 0),r=(0,s.useCallback)((()=>{!function(e,t){let{target:n=document.body}=void 0===t?{}:t;if("string"!=typeof e)throw new TypeError(`Expected parameter \`text\` to be a \`string\`, got \`${typeof e}\`.`);const s=document.createElement("textarea"),o=document.activeElement;s.value=e,s.setAttribute("readonly",""),s.style.contain="strict",s.style.position="absolute",s.style.left="-9999px",s.style.fontSize="12pt";const a=document.getSelection(),c=a.rangeCount>0&&a.getRangeAt(0);n.append(s),s.select(),s.selectionStart=0,s.selectionEnd=e.length;let i=!1;try{i=document.execCommand("copy")}catch{}s.remove(),c&&(a.removeAllRanges(),a.addRange(c)),o&&o.focus()}(t),a(!0),c.current=window.setTimeout((()=>{a(!1)}),1e3)}),[t]);return(0,s.useEffect)((()=>()=>window.clearTimeout(c.current)),[]),(0,k.jsx)("button",{type:"button","aria-label":o?(0,S.I)({id:"theme.CodeBlock.copied",message:"Copied",description:"The copied button label on code blocks"}):(0,S.I)({id:"theme.CodeBlock.copyButtonAriaLabel",message:"Copy code to clipboard",description:"The ARIA label for copy code blocks button"}),title:(0,S.I)({id:"theme.CodeBlock.copy",message:"Copy",description:"The copy button label on code blocks"}),className:(0,i.Z)("clean-btn",n,A.copyButton,o&&A.copyButtonCopied),onClick:r,children:(0,k.jsxs)("span",{className:A.copyButtonIcons,"aria-hidden":"true",children:[(0,k.jsx)(z,{className:A.copyButtonIcon}),(0,k.jsx)(I,{className:A.copyButtonSuccessIcon})]})})}function H(e){return(0,k.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,k.jsx)("path",{fill:"currentColor",d:"M4 19h6v-2H4v2zM20 5H4v2h16V5zm-3 6H4v2h13.25c1.1 0 2 .9 2 2s-.9 2-2 2H15v-2l-3 3l3 3v-2h2c2.21 0 4-1.79 4-4s-1.79-4-4-4z"})})}const R={wordWrapButtonIcon:"wordWrapButtonIcon_Bwma",wordWrapButtonEnabled:"wordWrapButtonEnabled_EoeP"};function V(e){let{className:t,onClick:n,isEnabled:s}=e;const o=(0,S.I)({id:"theme.CodeBlock.wordWrapToggle",message:"Toggle word wrap",description:"The title attribute for toggle word wrapping button of code block lines"});return(0,k.jsx)("button",{type:"button",onClick:n,className:(0,i.Z)("clean-btn",t,s&&R.wordWrapButtonEnabled),"aria-label":o,title:o,children:(0,k.jsx)(H,{className:R.wordWrapButtonIcon,"aria-hidden":"true"})})}function W(e){let{children:t,className:n="",metastring:o,title:a,showLineNumbers:c,language:r}=e;const{prism:{defaultLanguage:u,magicComments:m}}=(0,l.L)(),h=function(e){return e?.toLowerCase()}(r??function(e){const t=e.split(" ").find((e=>e.startsWith("language-")));return t?.replace(/language-/,"")}(n)??u),f=d(),g=function(){const[e,t]=(0,s.useState)(!1),[n,o]=(0,s.useState)(!1),a=(0,s.useRef)(null),c=(0,s.useCallback)((()=>{const n=a.current.querySelector("code");e?n.removeAttribute("style"):(n.style.whiteSpace="pre-wrap",n.style.overflowWrap="anywhere"),t((e=>!e))}),[a,e]),i=(0,s.useCallback)((()=>{const{scrollWidth:e,clientWidth:t}=a.current,n=e>t||a.current.querySelector("code").hasAttribute("style");o(n)}),[a]);return E(a,i),(0,s.useEffect)((()=>{i()}),[e,i]),(0,s.useEffect)((()=>(window.addEventListener("resize",i,{passive:!0}),()=>{window.removeEventListener("resize",i)})),[i]),{codeBlockRef:a,isEnabled:e,isCodeScrollable:n,toggle:c}}(),x=function(e){return e?.match(p)?.groups.title??""}(o)||a,{lineClassNames:b,code:j}=v(t,{metastring:o,language:h,magicComments:m}),N=c??function(e){return Boolean(e?.includes("showLineNumbers"))}(o);return(0,k.jsxs)(y,{as:"div",className:(0,i.Z)(n,h&&!n.includes(`language-${h}`)&&`language-${h}`),children:[x&&(0,k.jsx)("div",{className:C.codeBlockTitle,children:x}),(0,k.jsxs)("div",{className:C.codeBlockContent,children:[(0,k.jsx)(L.y$,{theme:f,code:j,language:h??"text",children:e=>{let{className:t,style:n,tokens:s,getLineProps:o,getTokenProps:a}=e;return(0,k.jsx)("pre",{tabIndex:0,ref:g.codeBlockRef,className:(0,i.Z)(t,C.codeBlock,"thin-scrollbar"),style:n,children:(0,k.jsx)("code",{className:(0,i.Z)(C.codeBlockLines,N&&C.codeBlockLinesWithNumbering),children:s.map(((e,t)=>(0,k.jsx)(T,{line:e,getLineProps:o,getTokenProps:a,classNames:b[t],showLineNumbers:N},t)))})})}}),(0,k.jsxs)("div",{className:C.buttonGroup,children:[(g.isEnabled||g.isCodeScrollable)&&(0,k.jsx)(V,{className:C.codeButton,onClick:()=>g.toggle(),isEnabled:g.isEnabled}),(0,k.jsx)(M,{className:C.codeButton,code:j})]})]})]})}function $(e){let{children:t,...n}=e;const o=(0,c.Z)(),a=function(e){return s.Children.toArray(e).some((e=>(0,s.isValidElement)(e)))?e:Array.isArray(e)?e.join(""):e}(t),i="string"==typeof a?W:B;return(0,k.jsx)(i,{...n,children:a},String(o))}function P(e){return(0,k.jsx)("code",{...e})}var q=n(3692);var D=n(6043);const O={details:"details_lb9f",isBrowser:"isBrowser_bmU9",collapsibleContent:"collapsibleContent_i85q"};function F(e){return!!e&&("SUMMARY"===e.tagName||F(e.parentElement))}function G(e,t){return!!e&&(e===t||G(e.parentElement,t))}function U(e){let{summary:t,children:n,...o}=e;const a=(0,c.Z)(),r=(0,s.useRef)(null),{collapsed:l,setCollapsed:d}=(0,D.u)({initialState:!o.open}),[u,m]=(0,s.useState)(o.open),h=s.isValidElement(t)?t:(0,k.jsx)("summary",{children:t??"Details"});return(0,k.jsxs)("details",{...o,ref:r,open:u,"data-collapsed":l,className:(0,i.Z)(O.details,a&&O.isBrowser,o.className),onMouseDown:e=>{F(e.target)&&e.detail>1&&e.preventDefault()},onClick:e=>{e.stopPropagation();const t=e.target;F(t)&&G(t,r.current)&&(e.preventDefault(),l?(d(!1),m(!0)):d(!0))},children:[h,(0,k.jsx)(D.z,{lazy:!1,collapsed:l,disableSSRStyle:!0,onCollapseTransitionEnd:e=>{d(e),m(!e)},children:(0,k.jsx)("div",{className:O.collapsibleContent,children:n})})]})}const J={details:"details_b_Ee"},Q="alert alert--info";function X(e){let{...t}=e;return(0,k.jsx)(U,{...t,className:(0,i.Z)(Q,J.details,t.className)})}function Y(e){const t=s.Children.toArray(e.children),n=t.find((e=>s.isValidElement(e)&&"summary"===e.type)),o=(0,k.jsx)(k.Fragment,{children:t.filter((e=>e!==n))});return(0,k.jsx)(X,{...e,summary:n,children:o})}var K=n(7955);function ee(e){return(0,k.jsx)(K.Z,{...e})}const te={containsTaskList:"containsTaskList_mC6p"};function ne(e){if(void 0!==e)return(0,i.Z)(e,e?.includes("contains-task-list")&&te.containsTaskList)}const se={img:"img_ev3q"};var oe=n(9047),ae=n(1875);const ce={Head:a.Z,details:Y,Details:Y,code:function(e){return function(e){return void 0!==e.children&&s.Children.toArray(e.children).every((e=>"string"==typeof e&&!e.includes("\n")))}(e)?(0,k.jsx)(P,{...e}):(0,k.jsx)($,{...e})},a:function(e){return(0,k.jsx)(q.Z,{...e})},pre:function(e){return(0,k.jsx)(k.Fragment,{children:e.children})},ul:function(e){return(0,k.jsx)("ul",{...e,className:ne(e.className)})},img:function(e){return(0,k.jsx)("img",{loading:"lazy",...e,className:(t=e.className,(0,i.Z)(t,se.img))});var t},h1:e=>(0,k.jsx)(ee,{as:"h1",...e}),h2:e=>(0,k.jsx)(ee,{as:"h2",...e}),h3:e=>(0,k.jsx)(ee,{as:"h3",...e}),h4:e=>(0,k.jsx)(ee,{as:"h4",...e}),h5:e=>(0,k.jsx)(ee,{as:"h5",...e}),h6:e=>(0,k.jsx)(ee,{as:"h6",...e}),admonition:oe.Z,mermaid:ae.Z};function ie(e){let{children:t}=e;return(0,k.jsx)(o.Z,{components:ce,children:t})}},2244:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});n(7294);var s=n(512),o=n(3692),a=n(5893);function c(e){const{permalink:t,title:n,subLabel:c,isNext:i}=e;return(0,a.jsxs)(o.Z,{className:(0,s.Z)("pagination-nav__link",i?"pagination-nav__link--next":"pagination-nav__link--prev"),to:t,children:[c&&(0,a.jsx)("div",{className:"pagination-nav__sublabel",children:c}),(0,a.jsx)("div",{className:"pagination-nav__label",children:n})]})}},6233:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});n(7294);var s=n(512),o=n(5999),a=n(3692);const c={tag:"tag_zVej",tagRegular:"tagRegular_sFm0",tagWithCount:"tagWithCount_h2kH"};var i=n(5893);function r(e){let{permalink:t,label:n,count:o}=e;return(0,i.jsxs)(a.Z,{href:t,className:(0,s.Z)(c.tag,o?c.tagWithCount:c.tagRegular),children:[n,o&&(0,i.jsx)("span",{children:o})]})}const l={tags:"tags_jXut",tag:"tag_QGVx"};function d(e){let{tags:t}=e;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("b",{children:(0,i.jsx)(o.Z,{id:"theme.tags.tagsListLabel",description:"The label alongside a tag list",children:"Tags:"})}),(0,i.jsx)("ul",{className:(0,s.Z)(l.tags,"padding--none","margin-left--sm"),children:t.map((e=>{let{label:t,permalink:n}=e;return(0,i.jsx)("li",{className:l.tag,children:(0,i.jsx)(r,{label:t,permalink:n})},n)}))})]})}},7594:(e,t)=>{function n(e){let t,n=[];for(let s of e.split(",").map((e=>e.trim())))if(/^-?\d+$/.test(s))n.push(parseInt(s,10));else if(t=s.match(/^(-?\d+)(-|\.\.\.?|\u2025|\u2026|\u22EF)(-?\d+)$/)){let[e,s,o,a]=t;if(s&&a){s=parseInt(s),a=parseInt(a);const e=s<a?1:-1;"-"!==o&&".."!==o&&"\u2025"!==o||(a+=e);for(let t=s;t!==a;t+=e)n.push(t)}}return n}t.default=n,e.exports=n},1151:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i,a:()=>c});var s=n(7294);const o={},a=s.createContext(o);function c(e){const t=s.useContext(a);return s.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function i(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:c(e.components),s.createElement(a.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/989.ed4ec041.js b/assets/js/989.caa204e3.js similarity index 99% rename from assets/js/989.ed4ec041.js rename to assets/js/989.caa204e3.js index c344bfbe..728ffb83 100644 --- a/assets/js/989.ed4ec041.js +++ b/assets/js/989.caa204e3.js @@ -1 +1 @@ -"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[989],{1460:(e,t,s)=>{s.d(t,{Z:()=>f});var r=s(7294),a=s(512),n=s(6040),l=s(7524),i=s(3692),o=s(5999),c=s(6550),m=s(8596);function d(e){const{pathname:t}=(0,c.TH)();return(0,r.useMemo)((()=>e.filter((e=>function(e,t){return!(e.unlisted&&!(0,m.Mg)(e.permalink,t))}(e,t)))),[e,t])}const u={sidebar:"sidebar_re4s",sidebarItemTitle:"sidebarItemTitle_pO2u",sidebarItemList:"sidebarItemList_Yudw",sidebarItem:"sidebarItem__DBe",sidebarItemLink:"sidebarItemLink_mo7H",sidebarItemLinkActive:"sidebarItemLinkActive_I1ZP"};var h=s(5893);function g(e){let{sidebar:t}=e;const s=d(t.items);return(0,h.jsx)("aside",{className:"col col--3",children:(0,h.jsxs)("nav",{className:(0,a.Z)(u.sidebar,"thin-scrollbar"),"aria-label":(0,o.I)({id:"theme.blog.sidebar.navAriaLabel",message:"Blog recent posts navigation",description:"The ARIA label for recent posts in the blog sidebar"}),children:[(0,h.jsx)("div",{className:(0,a.Z)(u.sidebarItemTitle,"margin-bottom--md"),children:t.title}),(0,h.jsx)("ul",{className:(0,a.Z)(u.sidebarItemList,"clean-list"),children:s.map((e=>(0,h.jsx)("li",{className:u.sidebarItem,children:(0,h.jsx)(i.Z,{isNavLink:!0,to:e.permalink,className:u.sidebarItemLink,activeClassName:u.sidebarItemLinkActive,children:e.title})},e.permalink)))})]})})}var p=s(3102);function x(e){let{sidebar:t}=e;const s=d(t.items);return(0,h.jsx)("ul",{className:"menu__list",children:s.map((e=>(0,h.jsx)("li",{className:"menu__list-item",children:(0,h.jsx)(i.Z,{isNavLink:!0,to:e.permalink,className:"menu__link",activeClassName:"menu__link--active",children:e.title})},e.permalink)))})}function j(e){return(0,h.jsx)(p.Zo,{component:x,props:e})}function b(e){let{sidebar:t}=e;const s=(0,l.i)();return t?.items.length?"mobile"===s?(0,h.jsx)(j,{sidebar:t}):(0,h.jsx)(g,{sidebar:t}):null}function f(e){const{sidebar:t,toc:s,children:r,...l}=e,i=t&&t.items.length>0;return(0,h.jsx)(n.Z,{...l,children:(0,h.jsx)("div",{className:"container margin-vert--lg",children:(0,h.jsxs)("div",{className:"row",children:[(0,h.jsx)(b,{sidebar:t}),(0,h.jsx)("main",{className:(0,a.Z)("col",{"col--7":i,"col--9 col--offset-1":!i}),itemScope:!0,itemType:"https://schema.org/Blog",children:r}),s&&(0,h.jsx)("div",{className:"col col--2",children:s})]})})})}},5642:(e,t,s)=>{s.d(t,{Z:()=>D});var r=s(7294),a=s(512),n=s(9460),l=s(4996),i=s(5893);function o(e){let{children:t,className:s}=e;const{frontMatter:r,assets:a,metadata:{description:o}}=(0,n.C)(),{withBaseUrl:c}=(0,l.C)(),m=a.image??r.image,d=r.keywords??[];return(0,i.jsxs)("article",{className:s,itemProp:"blogPost",itemScope:!0,itemType:"https://schema.org/BlogPosting",children:[o&&(0,i.jsx)("meta",{itemProp:"description",content:o}),m&&(0,i.jsx)("link",{itemProp:"image",href:c(m,{absolute:!0})}),d.length>0&&(0,i.jsx)("meta",{itemProp:"keywords",content:d.join(",")}),t]})}var c=s(3692);const m={title:"title_f1Hy"};function d(e){let{className:t}=e;const{metadata:s,isBlogPostPage:r}=(0,n.C)(),{permalink:l,title:o}=s,d=r?"h1":"h2";return(0,i.jsx)(d,{className:(0,a.Z)(m.title,t),itemProp:"headline",children:r?o:(0,i.jsx)(c.Z,{itemProp:"url",to:l,children:o})})}var u=s(5999),h=s(2263);const g=["zero","one","two","few","many","other"];function p(e){return g.filter((t=>e.includes(t)))}const x={locale:"en",pluralForms:p(["one","other"]),select:e=>1===e?"one":"other"};function j(){const{i18n:{currentLocale:e}}=(0,h.Z)();return(0,r.useMemo)((()=>{try{return function(e){const t=new Intl.PluralRules(e);return{locale:e,pluralForms:p(t.resolvedOptions().pluralCategories),select:e=>t.select(e)}}(e)}catch(t){return console.error(`Failed to use Intl.PluralRules for locale "${e}".\nDocusaurus will fallback to the default (English) implementation.\nError: ${t.message}\n`),x}}),[e])}function b(){const e=j();return{selectMessage:(t,s)=>function(e,t,s){const r=e.split("|");if(1===r.length)return r[0];r.length>s.pluralForms.length&&console.error(`For locale=${s.locale}, a maximum of ${s.pluralForms.length} plural forms are expected (${s.pluralForms.join(",")}), but the message contains ${r.length}: ${e}`);const a=s.select(t),n=s.pluralForms.indexOf(a);return r[Math.min(n,r.length-1)]}(s,t,e)}}const f={container:"container_mt6G"};function v(e){let{readingTime:t}=e;const s=function(){const{selectMessage:e}=b();return t=>{const s=Math.ceil(t);return e(s,(0,u.I)({id:"theme.blog.post.readingTime.plurals",description:'Pluralized label for "{readingTime} min read". Use as much plural forms (separated by "|") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)',message:"One min read|{readingTime} min read"},{readingTime:s}))}}();return(0,i.jsx)(i.Fragment,{children:s(t)})}function P(e){let{date:t,formattedDate:s}=e;return(0,i.jsx)("time",{dateTime:t,itemProp:"datePublished",children:s})}function N(){return(0,i.jsx)(i.Fragment,{children:" \xb7 "})}function _(e){let{className:t}=e;const{metadata:s}=(0,n.C)(),{date:r,formattedDate:l,readingTime:o}=s;return(0,i.jsxs)("div",{className:(0,a.Z)(f.container,"margin-vert--md",t),children:[(0,i.jsx)(P,{date:r,formattedDate:l}),void 0!==o&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(N,{}),(0,i.jsx)(v,{readingTime:o})]})]})}function k(e){return e.href?(0,i.jsx)(c.Z,{...e}):(0,i.jsx)(i.Fragment,{children:e.children})}function Z(e){let{author:t,className:s}=e;const{name:r,title:n,url:l,imageURL:o,email:c}=t,m=l||c&&`mailto:${c}`||void 0;return(0,i.jsxs)("div",{className:(0,a.Z)("avatar margin-bottom--sm",s),children:[o&&(0,i.jsx)(k,{href:m,className:"avatar__photo-link",children:(0,i.jsx)("img",{className:"avatar__photo",src:o,alt:r,itemProp:"image"})}),r&&(0,i.jsxs)("div",{className:"avatar__intro",itemProp:"author",itemScope:!0,itemType:"https://schema.org/Person",children:[(0,i.jsx)("div",{className:"avatar__name",children:(0,i.jsx)(k,{href:m,itemProp:"url",children:(0,i.jsx)("span",{itemProp:"name",children:r})})}),n&&(0,i.jsx)("small",{className:"avatar__subtitle",itemProp:"description",children:n})]})]})}const I={authorCol:"authorCol_Hf19",imageOnlyAuthorRow:"imageOnlyAuthorRow_pa_O",imageOnlyAuthorCol:"imageOnlyAuthorCol_G86a"};function w(e){let{className:t}=e;const{metadata:{authors:s},assets:r}=(0,n.C)();if(0===s.length)return null;const l=s.every((e=>{let{name:t}=e;return!t}));return(0,i.jsx)("div",{className:(0,a.Z)("margin-top--md margin-bottom--sm",l?I.imageOnlyAuthorRow:"row",t),children:s.map(((e,t)=>(0,i.jsx)("div",{className:(0,a.Z)(!l&&"col col--6",l?I.imageOnlyAuthorCol:I.authorCol),children:(0,i.jsx)(Z,{author:{...e,imageURL:r.authorsImageUrls[t]??e.imageURL}})},t)))})}function C(){return(0,i.jsxs)("header",{children:[(0,i.jsx)(d,{}),(0,i.jsx)(_,{}),(0,i.jsx)(w,{})]})}var T=s(8780),y=s(1404);function F(e){let{children:t,className:s}=e;const{isBlogPostPage:r}=(0,n.C)();return(0,i.jsx)("div",{id:r?T.blogPostContainerID:void 0,className:(0,a.Z)("markdown",s),itemProp:"articleBody",children:(0,i.jsx)(y.Z,{children:t})})}var L=s(4881),B=s(6233);function M(){return(0,i.jsx)("b",{children:(0,i.jsx)(u.Z,{id:"theme.blog.post.readMore",description:"The label used in blog post item excerpts to link to full blog posts",children:"Read More"})})}function A(e){const{blogPostTitle:t,...s}=e;return(0,i.jsx)(c.Z,{"aria-label":(0,u.I)({message:"Read more about {title}",id:"theme.blog.post.readMoreLabel",description:"The ARIA label for the link to full blog posts from excerpts"},{title:t}),...s,children:(0,i.jsx)(M,{})})}const R={blogPostFooterDetailsFull:"blogPostFooterDetailsFull_mRVl"};function O(){const{metadata:e,isBlogPostPage:t}=(0,n.C)(),{tags:s,title:r,editUrl:l,hasTruncateMarker:o}=e,c=!t&&o,m=s.length>0;return m||c||l?(0,i.jsxs)("footer",{className:(0,a.Z)("row docusaurus-mt-lg",t&&R.blogPostFooterDetailsFull),children:[m&&(0,i.jsx)("div",{className:(0,a.Z)("col",{"col--9":c}),children:(0,i.jsx)(B.Z,{tags:s})}),t&&l&&(0,i.jsx)("div",{className:"col margin-top--sm",children:(0,i.jsx)(L.Z,{editUrl:l})}),c&&(0,i.jsx)("div",{className:(0,a.Z)("col text--right",{"col--3":m}),children:(0,i.jsx)(A,{blogPostTitle:r,to:e.permalink})})]}):null}function D(e){let{children:t,className:s}=e;const r=function(){const{isBlogPostPage:e}=(0,n.C)();return e?void 0:"margin-bottom--xl"}();return(0,i.jsxs)(o,{className:(0,a.Z)(r,s),children:[(0,i.jsx)(C,{}),(0,i.jsx)(F,{children:t}),(0,i.jsx)(O,{})]})}},9460:(e,t,s)=>{s.d(t,{C:()=>o,n:()=>i});var r=s(7294),a=s(902),n=s(5893);const l=r.createContext(null);function i(e){let{children:t,content:s,isBlogPostPage:a=!1}=e;const i=function(e){let{content:t,isBlogPostPage:s}=e;return(0,r.useMemo)((()=>({metadata:t.metadata,frontMatter:t.frontMatter,assets:t.assets,toc:t.toc,isBlogPostPage:s})),[t,s])}({content:s,isBlogPostPage:a});return(0,n.jsx)(l.Provider,{value:i,children:t})}function o(){const e=(0,r.useContext)(l);if(null===e)throw new a.i6("BlogPostProvider");return e}}}]); \ No newline at end of file +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[989],{1460:(e,t,s)=>{s.d(t,{Z:()=>f});var r=s(7294),a=s(512),n=s(6040),l=s(7524),i=s(3692),o=s(5999),c=s(6550),m=s(8596);function d(e){const{pathname:t}=(0,c.TH)();return(0,r.useMemo)((()=>e.filter((e=>function(e,t){return!(e.unlisted&&!(0,m.Mg)(e.permalink,t))}(e,t)))),[e,t])}const u={sidebar:"sidebar_re4s",sidebarItemTitle:"sidebarItemTitle_pO2u",sidebarItemList:"sidebarItemList_Yudw",sidebarItem:"sidebarItem__DBe",sidebarItemLink:"sidebarItemLink_mo7H",sidebarItemLinkActive:"sidebarItemLinkActive_I1ZP"};var h=s(5893);function g(e){let{sidebar:t}=e;const s=d(t.items);return(0,h.jsx)("aside",{className:"col col--3",children:(0,h.jsxs)("nav",{className:(0,a.Z)(u.sidebar,"thin-scrollbar"),"aria-label":(0,o.I)({id:"theme.blog.sidebar.navAriaLabel",message:"Blog recent posts navigation",description:"The ARIA label for recent posts in the blog sidebar"}),children:[(0,h.jsx)("div",{className:(0,a.Z)(u.sidebarItemTitle,"margin-bottom--md"),children:t.title}),(0,h.jsx)("ul",{className:(0,a.Z)(u.sidebarItemList,"clean-list"),children:s.map((e=>(0,h.jsx)("li",{className:u.sidebarItem,children:(0,h.jsx)(i.Z,{isNavLink:!0,to:e.permalink,className:u.sidebarItemLink,activeClassName:u.sidebarItemLinkActive,children:e.title})},e.permalink)))})]})})}var p=s(3102);function x(e){let{sidebar:t}=e;const s=d(t.items);return(0,h.jsx)("ul",{className:"menu__list",children:s.map((e=>(0,h.jsx)("li",{className:"menu__list-item",children:(0,h.jsx)(i.Z,{isNavLink:!0,to:e.permalink,className:"menu__link",activeClassName:"menu__link--active",children:e.title})},e.permalink)))})}function j(e){return(0,h.jsx)(p.Zo,{component:x,props:e})}function b(e){let{sidebar:t}=e;const s=(0,l.i)();return t?.items.length?"mobile"===s?(0,h.jsx)(j,{sidebar:t}):(0,h.jsx)(g,{sidebar:t}):null}function f(e){const{sidebar:t,toc:s,children:r,...l}=e,i=t&&t.items.length>0;return(0,h.jsx)(n.Z,{...l,children:(0,h.jsx)("div",{className:"container margin-vert--lg",children:(0,h.jsxs)("div",{className:"row",children:[(0,h.jsx)(b,{sidebar:t}),(0,h.jsx)("main",{className:(0,a.Z)("col",{"col--7":i,"col--9 col--offset-1":!i}),itemScope:!0,itemType:"https://schema.org/Blog",children:r}),s&&(0,h.jsx)("div",{className:"col col--2",children:s})]})})})}},5642:(e,t,s)=>{s.d(t,{Z:()=>D});var r=s(7294),a=s(512),n=s(9460),l=s(4996),i=s(5893);function o(e){let{children:t,className:s}=e;const{frontMatter:r,assets:a,metadata:{description:o}}=(0,n.C)(),{withBaseUrl:c}=(0,l.C)(),m=a.image??r.image,d=r.keywords??[];return(0,i.jsxs)("article",{className:s,itemProp:"blogPost",itemScope:!0,itemType:"https://schema.org/BlogPosting",children:[o&&(0,i.jsx)("meta",{itemProp:"description",content:o}),m&&(0,i.jsx)("link",{itemProp:"image",href:c(m,{absolute:!0})}),d.length>0&&(0,i.jsx)("meta",{itemProp:"keywords",content:d.join(",")}),t]})}var c=s(3692);const m={title:"title_f1Hy"};function d(e){let{className:t}=e;const{metadata:s,isBlogPostPage:r}=(0,n.C)(),{permalink:l,title:o}=s,d=r?"h1":"h2";return(0,i.jsx)(d,{className:(0,a.Z)(m.title,t),itemProp:"headline",children:r?o:(0,i.jsx)(c.Z,{itemProp:"url",to:l,children:o})})}var u=s(5999),h=s(2263);const g=["zero","one","two","few","many","other"];function p(e){return g.filter((t=>e.includes(t)))}const x={locale:"en",pluralForms:p(["one","other"]),select:e=>1===e?"one":"other"};function j(){const{i18n:{currentLocale:e}}=(0,h.Z)();return(0,r.useMemo)((()=>{try{return function(e){const t=new Intl.PluralRules(e);return{locale:e,pluralForms:p(t.resolvedOptions().pluralCategories),select:e=>t.select(e)}}(e)}catch(t){return console.error(`Failed to use Intl.PluralRules for locale "${e}".\nDocusaurus will fallback to the default (English) implementation.\nError: ${t.message}\n`),x}}),[e])}function b(){const e=j();return{selectMessage:(t,s)=>function(e,t,s){const r=e.split("|");if(1===r.length)return r[0];r.length>s.pluralForms.length&&console.error(`For locale=${s.locale}, a maximum of ${s.pluralForms.length} plural forms are expected (${s.pluralForms.join(",")}), but the message contains ${r.length}: ${e}`);const a=s.select(t),n=s.pluralForms.indexOf(a);return r[Math.min(n,r.length-1)]}(s,t,e)}}const f={container:"container_mt6G"};function v(e){let{readingTime:t}=e;const s=function(){const{selectMessage:e}=b();return t=>{const s=Math.ceil(t);return e(s,(0,u.I)({id:"theme.blog.post.readingTime.plurals",description:'Pluralized label for "{readingTime} min read". Use as much plural forms (separated by "|") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)',message:"One min read|{readingTime} min read"},{readingTime:s}))}}();return(0,i.jsx)(i.Fragment,{children:s(t)})}function P(e){let{date:t,formattedDate:s}=e;return(0,i.jsx)("time",{dateTime:t,itemProp:"datePublished",children:s})}function N(){return(0,i.jsx)(i.Fragment,{children:" \xb7 "})}function _(e){let{className:t}=e;const{metadata:s}=(0,n.C)(),{date:r,formattedDate:l,readingTime:o}=s;return(0,i.jsxs)("div",{className:(0,a.Z)(f.container,"margin-vert--md",t),children:[(0,i.jsx)(P,{date:r,formattedDate:l}),void 0!==o&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(N,{}),(0,i.jsx)(v,{readingTime:o})]})]})}function k(e){return e.href?(0,i.jsx)(c.Z,{...e}):(0,i.jsx)(i.Fragment,{children:e.children})}function Z(e){let{author:t,className:s}=e;const{name:r,title:n,url:l,imageURL:o,email:c}=t,m=l||c&&`mailto:${c}`||void 0;return(0,i.jsxs)("div",{className:(0,a.Z)("avatar margin-bottom--sm",s),children:[o&&(0,i.jsx)(k,{href:m,className:"avatar__photo-link",children:(0,i.jsx)("img",{className:"avatar__photo",src:o,alt:r,itemProp:"image"})}),r&&(0,i.jsxs)("div",{className:"avatar__intro",itemProp:"author",itemScope:!0,itemType:"https://schema.org/Person",children:[(0,i.jsx)("div",{className:"avatar__name",children:(0,i.jsx)(k,{href:m,itemProp:"url",children:(0,i.jsx)("span",{itemProp:"name",children:r})})}),n&&(0,i.jsx)("small",{className:"avatar__subtitle",itemProp:"description",children:n})]})]})}const I={authorCol:"authorCol_Hf19",imageOnlyAuthorRow:"imageOnlyAuthorRow_pa_O",imageOnlyAuthorCol:"imageOnlyAuthorCol_G86a"};function w(e){let{className:t}=e;const{metadata:{authors:s},assets:r}=(0,n.C)();if(0===s.length)return null;const l=s.every((e=>{let{name:t}=e;return!t}));return(0,i.jsx)("div",{className:(0,a.Z)("margin-top--md margin-bottom--sm",l?I.imageOnlyAuthorRow:"row",t),children:s.map(((e,t)=>(0,i.jsx)("div",{className:(0,a.Z)(!l&&"col col--6",l?I.imageOnlyAuthorCol:I.authorCol),children:(0,i.jsx)(Z,{author:{...e,imageURL:r.authorsImageUrls[t]??e.imageURL}})},t)))})}function C(){return(0,i.jsxs)("header",{children:[(0,i.jsx)(d,{}),(0,i.jsx)(_,{}),(0,i.jsx)(w,{})]})}var T=s(8780),y=s(7395);function F(e){let{children:t,className:s}=e;const{isBlogPostPage:r}=(0,n.C)();return(0,i.jsx)("div",{id:r?T.blogPostContainerID:void 0,className:(0,a.Z)("markdown",s),itemProp:"articleBody",children:(0,i.jsx)(y.Z,{children:t})})}var L=s(4881),B=s(6233);function M(){return(0,i.jsx)("b",{children:(0,i.jsx)(u.Z,{id:"theme.blog.post.readMore",description:"The label used in blog post item excerpts to link to full blog posts",children:"Read More"})})}function A(e){const{blogPostTitle:t,...s}=e;return(0,i.jsx)(c.Z,{"aria-label":(0,u.I)({message:"Read more about {title}",id:"theme.blog.post.readMoreLabel",description:"The ARIA label for the link to full blog posts from excerpts"},{title:t}),...s,children:(0,i.jsx)(M,{})})}const R={blogPostFooterDetailsFull:"blogPostFooterDetailsFull_mRVl"};function O(){const{metadata:e,isBlogPostPage:t}=(0,n.C)(),{tags:s,title:r,editUrl:l,hasTruncateMarker:o}=e,c=!t&&o,m=s.length>0;return m||c||l?(0,i.jsxs)("footer",{className:(0,a.Z)("row docusaurus-mt-lg",t&&R.blogPostFooterDetailsFull),children:[m&&(0,i.jsx)("div",{className:(0,a.Z)("col",{"col--9":c}),children:(0,i.jsx)(B.Z,{tags:s})}),t&&l&&(0,i.jsx)("div",{className:"col margin-top--sm",children:(0,i.jsx)(L.Z,{editUrl:l})}),c&&(0,i.jsx)("div",{className:(0,a.Z)("col text--right",{"col--3":m}),children:(0,i.jsx)(A,{blogPostTitle:r,to:e.permalink})})]}):null}function D(e){let{children:t,className:s}=e;const r=function(){const{isBlogPostPage:e}=(0,n.C)();return e?void 0:"margin-bottom--xl"}();return(0,i.jsxs)(o,{className:(0,a.Z)(r,s),children:[(0,i.jsx)(C,{}),(0,i.jsx)(F,{children:t}),(0,i.jsx)(O,{})]})}},9460:(e,t,s)=>{s.d(t,{C:()=>o,n:()=>i});var r=s(7294),a=s(902),n=s(5893);const l=r.createContext(null);function i(e){let{children:t,content:s,isBlogPostPage:a=!1}=e;const i=function(e){let{content:t,isBlogPostPage:s}=e;return(0,r.useMemo)((()=>({metadata:t.metadata,frontMatter:t.frontMatter,assets:t.assets,toc:t.toc,isBlogPostPage:s})),[t,s])}({content:s,isBlogPostPage:a});return(0,n.jsx)(l.Provider,{value:i,children:t})}function o(){const e=(0,r.useContext)(l);if(null===e)throw new a.i6("BlogPostProvider");return e}}}]); \ No newline at end of file diff --git a/assets/js/main.74efb3e0.js b/assets/js/main.74efb3e0.js new file mode 100644 index 00000000..5cf6bac6 --- /dev/null +++ b/assets/js/main.74efb3e0.js @@ -0,0 +1,2 @@ +/*! For license information please see main.74efb3e0.js.LICENSE.txt */ +(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[179],{723:(e,t,n)=>{"use strict";n.d(t,{Z:()=>f});n(7294);var r=n(8356),a=n.n(r),o=n(6887);const i={17896441:[()=>Promise.all([n.e(532),n.e(950),n.e(918)]).then(n.bind(n,8945)),"@theme/DocItem",8945],"1df93b7f":[()=>Promise.all([n.e(532),n.e(237)]).then(n.bind(n,3808)),"@site/src/pages/index.tsx",3808],"5e95c892":[()=>n.e(661).then(n.bind(n,1892)),"@theme/DocsRoot",1892],"5e9f5e1a":[()=>Promise.resolve().then(n.bind(n,6809)),"@generated/docusaurus.config",6809],"7efe52da":[()=>n.e(116).then(n.t.bind(n,4469,19)),"/Users/jordan/Documents/prettier-java/website/.docusaurus/docusaurus-plugin-content-blog/default/plugin-route-context-module-100.json",4469],"814f3328":[()=>n.e(535).then(n.t.bind(n,5641,19)),"~blog/default/blog-post-list-prop-default.json",5641],"8926b418":[()=>Promise.all([n.e(532),n.e(321),n.e(998)]).then(n.bind(n,9566)),"@site/src/pages/playground/index.tsx",9566],"935f2afb":[()=>n.e(53).then(n.t.bind(n,1109,19)),"~docs/default/version-current-metadata-prop-751.json",1109],"9977e004":[()=>n.e(993).then(n.t.bind(n,5745,19)),"/Users/jordan/Documents/prettier-java/website/.docusaurus/docusaurus-plugin-content-pages/default/plugin-route-context-module-100.json",5745],"9ac3030f":[()=>n.e(13).then(n.bind(n,5663)),"@site/blog/2023-11-26-2.5.0.md",5663],"9b912970":[()=>n.e(55).then(n.t.bind(n,88,19)),"~blog/default/prettier-java-blog-55d.json",88],"9e4087bc":[()=>n.e(608).then(n.bind(n,3169)),"@theme/BlogArchivePage",3169],a6aa9e1f:[()=>Promise.all([n.e(532),n.e(950),n.e(989),n.e(89)]).then(n.bind(n,3269)),"@theme/BlogListPage",3269],a7bd4aaa:[()=>n.e(518).then(n.bind(n,8564)),"@theme/DocVersionRoot",8564],a94703ab:[()=>Promise.all([n.e(532),n.e(368)]).then(n.bind(n,2674)),"@theme/DocRoot",2674],c28d97a6:[()=>n.e(40).then(n.t.bind(n,7700,19)),"~blog/default/prettier-java-blog-archive-1fa.json",7700],c377a04b:[()=>n.e(971).then(n.bind(n,9925)),"@site/docs/index.md",9925],ccc49370:[()=>Promise.all([n.e(532),n.e(950),n.e(989),n.e(103)]).then(n.bind(n,5203)),"@theme/BlogPostPage",5203],f1849b36:[()=>n.e(748).then(n.bind(n,5879)),"@site/blog/2023-11-26-2.5.0.md?truncated=true",5879],f884eabf:[()=>n.e(596).then(n.t.bind(n,3769,19)),"/Users/jordan/Documents/prettier-java/website/.docusaurus/docusaurus-plugin-content-docs/default/plugin-route-context-module-100.json",3769],fa4d91bf:[()=>Promise.all([n.e(532),n.e(930)]).then(n.bind(n,4090)),"@site/docs/installation.mdx",4090]};var l=n(5893);function s(e){let{error:t,retry:n,pastDelay:r}=e;return t?(0,l.jsxs)("div",{style:{textAlign:"center",color:"#fff",backgroundColor:"#fa383e",borderColor:"#fa383e",borderStyle:"solid",borderRadius:"0.25rem",borderWidth:"1px",boxSizing:"border-box",display:"block",padding:"1rem",flex:"0 0 50%",marginLeft:"25%",marginRight:"25%",marginTop:"5rem",maxWidth:"50%",width:"100%"},children:[(0,l.jsx)("p",{children:String(t)}),(0,l.jsx)("div",{children:(0,l.jsx)("button",{type:"button",onClick:n,children:"Retry"})})]}):r?(0,l.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",height:"100vh"},children:(0,l.jsx)("svg",{id:"loader",style:{width:128,height:110,position:"absolute",top:"calc(100vh - 64%)"},viewBox:"0 0 45 45",xmlns:"http://www.w3.org/2000/svg",stroke:"#61dafb",children:(0,l.jsxs)("g",{fill:"none",fillRule:"evenodd",transform:"translate(1 1)",strokeWidth:"2",children:[(0,l.jsxs)("circle",{cx:"22",cy:"22",r:"6",strokeOpacity:"0",children:[(0,l.jsx)("animate",{attributeName:"r",begin:"1.5s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),(0,l.jsx)("animate",{attributeName:"stroke-opacity",begin:"1.5s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),(0,l.jsx)("animate",{attributeName:"stroke-width",begin:"1.5s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})]}),(0,l.jsxs)("circle",{cx:"22",cy:"22",r:"6",strokeOpacity:"0",children:[(0,l.jsx)("animate",{attributeName:"r",begin:"3s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),(0,l.jsx)("animate",{attributeName:"stroke-opacity",begin:"3s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),(0,l.jsx)("animate",{attributeName:"stroke-width",begin:"3s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})]}),(0,l.jsx)("circle",{cx:"22",cy:"22",r:"8",children:(0,l.jsx)("animate",{attributeName:"r",begin:"0s",dur:"1.5s",values:"6;1;2;3;4;5;6",calcMode:"linear",repeatCount:"indefinite"})})]})})}):null}var u=n(9670),c=n(226);function d(e,t){if("*"===e)return a()({loading:s,loader:()=>n.e(772).then(n.bind(n,1772)),modules:["@theme/NotFound"],webpack:()=>[1772],render(e,t){const n=e.default;return(0,l.jsx)(c.z,{value:{plugin:{name:"native",id:"default"}},children:(0,l.jsx)(n,{...t})})}});const r=o[`${e}-${t}`],d={},f=[],p=[],g=(0,u.Z)(r);return Object.entries(g).forEach((e=>{let[t,n]=e;const r=i[n];r&&(d[t]=r[0],f.push(r[1]),p.push(r[2]))})),a().Map({loading:s,loader:d,modules:f,webpack:()=>p,render(t,n){const a=JSON.parse(JSON.stringify(r));Object.entries(t).forEach((t=>{let[n,r]=t;const o=r.default;if(!o)throw new Error(`The page component at ${e} doesn't have a default export. This makes it impossible to render anything. Consider default-exporting a React component.`);"object"!=typeof o&&"function"!=typeof o||Object.keys(r).filter((e=>"default"!==e)).forEach((e=>{o[e]=r[e]}));let i=a;const l=n.split(".");l.slice(0,-1).forEach((e=>{i=i[e]})),i[l[l.length-1]]=o}));const o=a.__comp;delete a.__comp;const i=a.__context;return delete a.__context,(0,l.jsx)(c.z,{value:i,children:(0,l.jsx)(o,{...a,...n})})}})}const f=[{path:"/prettier-java/blog",component:d("/prettier-java/blog","3c4"),exact:!0},{path:"/prettier-java/blog/2023/11/26/2.5.0",component:d("/prettier-java/blog/2023/11/26/2.5.0","780"),exact:!0},{path:"/prettier-java/blog/archive",component:d("/prettier-java/blog/archive","8e8"),exact:!0},{path:"/prettier-java/playground",component:d("/prettier-java/playground","194"),exact:!0},{path:"/prettier-java/docs",component:d("/prettier-java/docs","4ac"),routes:[{path:"/prettier-java/docs",component:d("/prettier-java/docs","6b8"),routes:[{path:"/prettier-java/docs",component:d("/prettier-java/docs","e71"),routes:[{path:"/prettier-java/docs",component:d("/prettier-java/docs","33e"),exact:!0,sidebar:"defaultSidebar"},{path:"/prettier-java/docs/installation",component:d("/prettier-java/docs/installation","53e"),exact:!0,sidebar:"defaultSidebar"}]}]}]},{path:"/prettier-java/",component:d("/prettier-java/","441"),exact:!0},{path:"*",component:d("*")}]},8934:(e,t,n)=>{"use strict";n.d(t,{_:()=>o,t:()=>i});var r=n(7294),a=n(5893);const o=r.createContext(!1);function i(e){let{children:t}=e;const[n,i]=(0,r.useState)(!1);return(0,r.useEffect)((()=>{i(!0)}),[]),(0,a.jsx)(o.Provider,{value:n,children:t})}},7221:(e,t,n)=>{"use strict";var r=n(7294),a=n(745),o=n(3727),i=n(405),l=n(412);const s=[n(2497),n(3310),n(8320),n(2295)];var u=n(723),c=n(6550),d=n(8790),f=n(5893);function p(e){let{children:t}=e;return(0,f.jsx)(f.Fragment,{children:t})}var g=n(5742),h=n(2263),m=n(4996),y=n(6668),b=n(1944),v=n(4711),w=n(9727),k=n(3320),x=n(8780),S=n(197);function E(){const{i18n:{currentLocale:e,defaultLocale:t,localeConfigs:n}}=(0,h.Z)(),r=(0,v.l)(),a=n[e].htmlLang,o=e=>e.replace("-","_");return(0,f.jsxs)(g.Z,{children:[Object.entries(n).map((e=>{let[t,{htmlLang:n}]=e;return(0,f.jsx)("link",{rel:"alternate",href:r.createUrl({locale:t,fullyQualified:!0}),hrefLang:n},t)})),(0,f.jsx)("link",{rel:"alternate",href:r.createUrl({locale:t,fullyQualified:!0}),hrefLang:"x-default"}),(0,f.jsx)("meta",{property:"og:locale",content:o(a)}),Object.values(n).filter((e=>a!==e.htmlLang)).map((e=>(0,f.jsx)("meta",{property:"og:locale:alternate",content:o(e.htmlLang)},`meta-og-${e.htmlLang}`)))]})}function _(e){let{permalink:t}=e;const{siteConfig:{url:n}}=(0,h.Z)(),r=function(){const{siteConfig:{url:e,baseUrl:t,trailingSlash:n}}=(0,h.Z)(),{pathname:r}=(0,c.TH)();return e+(0,x.applyTrailingSlash)((0,m.Z)(r),{trailingSlash:n,baseUrl:t})}(),a=t?`${n}${t}`:r;return(0,f.jsxs)(g.Z,{children:[(0,f.jsx)("meta",{property:"og:url",content:a}),(0,f.jsx)("link",{rel:"canonical",href:a})]})}function C(){const{i18n:{currentLocale:e}}=(0,h.Z)(),{metadata:t,image:n}=(0,y.L)();return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsxs)(g.Z,{children:[(0,f.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,f.jsx)("body",{className:w.h})]}),n&&(0,f.jsx)(b.d,{image:n}),(0,f.jsx)(_,{}),(0,f.jsx)(E,{}),(0,f.jsx)(S.Z,{tag:k.HX,locale:e}),(0,f.jsx)(g.Z,{children:t.map(((e,t)=>(0,f.jsx)("meta",{...e},t)))})]})}const T=new Map;function N(e){if(T.has(e.pathname))return{...e,pathname:T.get(e.pathname)};if((0,d.f)(u.Z,e.pathname).some((e=>{let{route:t}=e;return!0===t.exact})))return T.set(e.pathname,e.pathname),e;const t=e.pathname.trim().replace(/(?:\/index)?\.html$/,"")||"/";return T.set(e.pathname,t),{...e,pathname:t}}var A=n(8934),j=n(8940),L=n(469);function O(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];const a=s.map((t=>{const r=t.default?.[e]??t[e];return r?.(...n)}));return()=>a.forEach((e=>e?.()))}const P=function(e){let{children:t,location:n,previousLocation:r}=e;return(0,L.Z)((()=>{r!==n&&(!function(e){let{location:t,previousLocation:n}=e;if(!n)return;const r=t.pathname===n.pathname,a=t.hash===n.hash,o=t.search===n.search;if(r&&a&&!o)return;const{hash:i}=t;if(i){const e=decodeURIComponent(i.substring(1)),t=document.getElementById(e);t?.scrollIntoView()}else window.scrollTo(0,0)}({location:n,previousLocation:r}),O("onRouteDidUpdate",{previousLocation:r,location:n}))}),[r,n]),t};function R(e){const t=Array.from(new Set([e,decodeURI(e)])).map((e=>(0,d.f)(u.Z,e))).flat();return Promise.all(t.map((e=>e.route.component.preload?.())))}class I extends r.Component{previousLocation;routeUpdateCleanupCb;constructor(e){super(e),this.previousLocation=null,this.routeUpdateCleanupCb=l.Z.canUseDOM?O("onRouteUpdate",{previousLocation:null,location:this.props.location}):()=>{},this.state={nextRouteHasLoaded:!0}}shouldComponentUpdate(e,t){if(e.location===this.props.location)return t.nextRouteHasLoaded;const n=e.location;return this.previousLocation=this.props.location,this.setState({nextRouteHasLoaded:!1}),this.routeUpdateCleanupCb=O("onRouteUpdate",{previousLocation:this.previousLocation,location:n}),R(n.pathname).then((()=>{this.routeUpdateCleanupCb(),this.setState({nextRouteHasLoaded:!0})})).catch((e=>{console.warn(e),window.location.reload()})),!1}render(){const{children:e,location:t}=this.props;return(0,f.jsx)(P,{previousLocation:this.previousLocation,location:t,children:(0,f.jsx)(c.AW,{location:t,render:()=>e})})}}const D=I,F="__docusaurus-base-url-issue-banner-container",M="__docusaurus-base-url-issue-banner",z="__docusaurus-base-url-issue-banner-suggestion-container";function B(e){return`\ndocument.addEventListener('DOMContentLoaded', function maybeInsertBanner() {\n var shouldInsert = typeof window['docusaurus'] === 'undefined';\n shouldInsert && insertBanner();\n});\n\nfunction insertBanner() {\n var bannerContainer = document.createElement('div');\n bannerContainer.id = '${F}';\n var bannerHtml = ${JSON.stringify(function(e){return`\n<div id="${M}" style="border: thick solid red; background-color: rgb(255, 230, 179); margin: 20px; padding: 20px; font-size: 20px;">\n <p style="font-weight: bold; font-size: 30px;">Your Docusaurus site did not load properly.</p>\n <p>A very common reason is a wrong site <a href="https://docusaurus.io/docs/docusaurus.config.js/#baseUrl" style="font-weight: bold;">baseUrl configuration</a>.</p>\n <p>Current configured baseUrl = <span style="font-weight: bold; color: red;">${e}</span> ${"/"===e?" (default value)":""}</p>\n <p>We suggest trying baseUrl = <span id="${z}" style="font-weight: bold; color: green;"></span></p>\n</div>\n`}(e)).replace(/</g,"\\<")};\n bannerContainer.innerHTML = bannerHtml;\n document.body.prepend(bannerContainer);\n var suggestionContainer = document.getElementById('${z}');\n var actualHomePagePath = window.location.pathname;\n var suggestedBaseUrl = actualHomePagePath.substr(-1) === '/'\n ? actualHomePagePath\n : actualHomePagePath + '/';\n suggestionContainer.innerHTML = suggestedBaseUrl;\n}\n`}function $(){const{siteConfig:{baseUrl:e}}=(0,h.Z)();return(0,f.jsx)(f.Fragment,{children:!l.Z.canUseDOM&&(0,f.jsx)(g.Z,{children:(0,f.jsx)("script",{children:B(e)})})})}function U(){const{siteConfig:{baseUrl:e,baseUrlIssueBanner:t}}=(0,h.Z)(),{pathname:n}=(0,c.TH)();return t&&n===e?(0,f.jsx)($,{}):null}function Z(){const{siteConfig:{favicon:e,title:t,noIndex:n},i18n:{currentLocale:r,localeConfigs:a}}=(0,h.Z)(),o=(0,m.Z)(e),{htmlLang:i,direction:l}=a[r];return(0,f.jsxs)(g.Z,{children:[(0,f.jsx)("html",{lang:i,dir:l}),(0,f.jsx)("title",{children:t}),(0,f.jsx)("meta",{property:"og:title",content:t}),(0,f.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0"}),n&&(0,f.jsx)("meta",{name:"robots",content:"noindex, nofollow"}),e&&(0,f.jsx)("link",{rel:"icon",href:o})]})}var H=n(4763),V=n(2389);function W(){const e=(0,V.Z)();return(0,f.jsx)(g.Z,{children:(0,f.jsx)("html",{"data-has-hydrated":e})})}function G(){const e=(0,d.H)(u.Z),t=(0,c.TH)();return(0,f.jsx)(H.Z,{children:(0,f.jsx)(j.M,{children:(0,f.jsxs)(A.t,{children:[(0,f.jsxs)(p,{children:[(0,f.jsx)(Z,{}),(0,f.jsx)(C,{}),(0,f.jsx)(U,{}),(0,f.jsx)(D,{location:N(t),children:e})]}),(0,f.jsx)(W,{})]})})})}var q=n(6887);const Y=function(e){try{return document.createElement("link").relList.supports(e)}catch{return!1}}("prefetch")?function(e){return new Promise(((t,n)=>{if("undefined"==typeof document)return void n();const r=document.createElement("link");r.setAttribute("rel","prefetch"),r.setAttribute("href",e),r.onload=()=>t(),r.onerror=()=>n();const a=document.getElementsByTagName("head")[0]??document.getElementsByName("script")[0]?.parentNode;a?.appendChild(r)}))}:function(e){return new Promise(((t,n)=>{const r=new XMLHttpRequest;r.open("GET",e,!0),r.withCredentials=!0,r.onload=()=>{200===r.status?t():n()},r.send(null)}))};var K=n(9670);const Q=new Set,X=new Set,J=()=>navigator.connection?.effectiveType.includes("2g")||navigator.connection?.saveData,ee={prefetch(e){if(!(e=>!J()&&!X.has(e)&&!Q.has(e))(e))return!1;Q.add(e);const t=(0,d.f)(u.Z,e).flatMap((e=>{return t=e.route.path,Object.entries(q).filter((e=>{let[n]=e;return n.replace(/-[^-]+$/,"")===t})).flatMap((e=>{let[,t]=e;return Object.values((0,K.Z)(t))}));var t}));return Promise.all(t.map((e=>{const t=n.gca(e);return t&&!t.includes("undefined")?Y(t).catch((()=>{})):Promise.resolve()})))},preload:e=>!!(e=>!J()&&!X.has(e))(e)&&(X.add(e),R(e))},te=Object.freeze(ee),ne=Boolean(!0);if(l.Z.canUseDOM){window.docusaurus=te;const e=document.getElementById("__docusaurus"),t=(0,f.jsx)(i.B6,{children:(0,f.jsx)(o.VK,{children:(0,f.jsx)(G,{})})}),n=(e,t)=>{console.error("Docusaurus React Root onRecoverableError:",e,t)},l=()=>{if(ne)r.startTransition((()=>{a.hydrateRoot(e,t,{onRecoverableError:n})}));else{const o=a.createRoot(e,{onRecoverableError:n});r.startTransition((()=>{o.render(t)}))}};R(window.location.pathname).then(l)}},8940:(e,t,n)=>{"use strict";n.d(t,{_:()=>d,M:()=>f});var r=n(7294),a=n(6809);const o=JSON.parse('{"docusaurus-plugin-content-docs":{"default":{"path":"/prettier-java/docs","versions":[{"name":"current","label":"Next","isLast":true,"path":"/prettier-java/docs","mainDocId":"index","docs":[{"id":"index","path":"/prettier-java/docs/","sidebar":"defaultSidebar"},{"id":"installation","path":"/prettier-java/docs/installation","sidebar":"defaultSidebar"}],"draftIds":[],"sidebars":{"defaultSidebar":{"link":{"path":"/prettier-java/docs/","label":"index"}}}}],"breadcrumbs":true}}}'),i=JSON.parse('{"defaultLocale":"en","locales":["en"],"path":"i18n","currentLocale":"en","localeConfigs":{"en":{"label":"English","direction":"ltr","htmlLang":"en","calendar":"gregory","path":"en"}}}');var l=n(7529);const s=JSON.parse('{"docusaurusVersion":"3.1.1","siteVersion":"0.0.0","pluginVersions":{"docusaurus-plugin-content-docs":{"type":"package","name":"@docusaurus/plugin-content-docs","version":"3.1.1"},"docusaurus-plugin-content-blog":{"type":"package","name":"@docusaurus/plugin-content-blog","version":"3.1.1"},"docusaurus-plugin-content-pages":{"type":"package","name":"@docusaurus/plugin-content-pages","version":"3.1.1"},"docusaurus-plugin-sitemap":{"type":"package","name":"@docusaurus/plugin-sitemap","version":"3.1.1"},"docusaurus-theme-classic":{"type":"package","name":"@docusaurus/theme-classic","version":"3.1.1"}}}');var u=n(5893);const c={siteConfig:a.default,siteMetadata:s,globalData:o,i18n:i,codeTranslations:l},d=r.createContext(c);function f(e){let{children:t}=e;return(0,u.jsx)(d.Provider,{value:c,children:t})}},4763:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var r=n(7294),a=n(412),o=n(5742),i=n(8780),l=n(6040),s=n(5893);function u(e){let{error:t,tryAgain:n}=e;return(0,s.jsxs)("div",{style:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"flex-start",minHeight:"100vh",width:"100%",maxWidth:"80ch",fontSize:"20px",margin:"0 auto",padding:"1rem"},children:[(0,s.jsx)("h1",{style:{fontSize:"3rem"},children:"This page crashed"}),(0,s.jsx)("button",{type:"button",onClick:n,style:{margin:"1rem 0",fontSize:"2rem",cursor:"pointer",borderRadius:20,padding:"1rem"},children:"Try again"}),(0,s.jsx)(c,{error:t})]})}function c(e){let{error:t}=e;const n=(0,i.getErrorCausalChain)(t).map((e=>e.message)).join("\n\nCause:\n");return(0,s.jsx)("p",{style:{whiteSpace:"pre-wrap"},children:n})}function d(e){let{error:t,tryAgain:n}=e;return(0,s.jsxs)(p,{fallback:()=>(0,s.jsx)(u,{error:t,tryAgain:n}),children:[(0,s.jsx)(o.Z,{children:(0,s.jsx)("title",{children:"Page Error"})}),(0,s.jsx)(l.Z,{children:(0,s.jsx)(u,{error:t,tryAgain:n})})]})}const f=e=>(0,s.jsx)(d,{...e});class p extends r.Component{constructor(e){super(e),this.state={error:null}}componentDidCatch(e){a.Z.canUseDOM&&this.setState({error:e})}render(){const{children:e}=this.props,{error:t}=this.state;if(t){const e={error:t,tryAgain:()=>this.setState({error:null})};return(this.props.fallback??f)(e)}return e??null}}},412:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const r="undefined"!=typeof window&&"document"in window&&"createElement"in window.document,a={canUseDOM:r,canUseEventListeners:r&&("addEventListener"in window||"attachEvent"in window),canUseIntersectionObserver:r&&"IntersectionObserver"in window,canUseViewport:r&&"screen"in window}},5742:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});n(7294);var r=n(405),a=n(5893);function o(e){return(0,a.jsx)(r.ql,{...e})}},3692:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var r=n(7294),a=n(3727),o=n(8780),i=n(2263),l=n(3919),s=n(412),u=n(8138),c=n(4996),d=n(5893);function f(e,t){let{isNavLink:n,to:f,href:p,activeClassName:g,isActive:h,"data-noBrokenLinkCheck":m,autoAddBaseUrl:y=!0,...b}=e;const{siteConfig:{trailingSlash:v,baseUrl:w}}=(0,i.Z)(),{withBaseUrl:k}=(0,c.C)(),x=(0,u.Z)(),S=(0,r.useRef)(null);(0,r.useImperativeHandle)(t,(()=>S.current));const E=f||p;const _=(0,l.Z)(E),C=E?.replace("pathname://","");let T=void 0!==C?(N=C,y&&(e=>e.startsWith("/"))(N)?k(N):N):void 0;var N;T&&_&&(T=(0,o.applyTrailingSlash)(T,{trailingSlash:v,baseUrl:w}));const A=(0,r.useRef)(!1),j=n?a.OL:a.rU,L=s.Z.canUseIntersectionObserver,O=(0,r.useRef)(),P=()=>{A.current||null==T||(window.docusaurus.preload(T),A.current=!0)};(0,r.useEffect)((()=>(!L&&_&&null!=T&&window.docusaurus.prefetch(T),()=>{L&&O.current&&O.current.disconnect()})),[O,T,L,_]);const R=T?.startsWith("#")??!1,I=!b.target||"_self"===b.target,D=!T||!_||!I||R;return m||!R&&D||x.collectLink(T),b.id&&x.collectAnchor(b.id),D?(0,d.jsx)("a",{ref:S,href:T,...E&&!_&&{target:"_blank",rel:"noopener noreferrer"},...b}):(0,d.jsx)(j,{...b,onMouseEnter:P,onTouchStart:P,innerRef:e=>{S.current=e,L&&e&&_&&(O.current=new window.IntersectionObserver((t=>{t.forEach((t=>{e===t.target&&(t.isIntersecting||t.intersectionRatio>0)&&(O.current.unobserve(e),O.current.disconnect(),null!=T&&window.docusaurus.prefetch(T))}))})),O.current.observe(e))},to:T,...n&&{isActive:h,activeClassName:g}})}const p=r.forwardRef(f)},1875:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=()=>null},5999:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u,I:()=>s});var r=n(7294),a=n(5893);function o(e,t){const n=e.split(/(\{\w+\})/).map(((e,n)=>{if(n%2==1){const n=t?.[e.slice(1,-1)];if(void 0!==n)return n}return e}));return n.some((e=>(0,r.isValidElement)(e)))?n.map(((e,t)=>(0,r.isValidElement)(e)?r.cloneElement(e,{key:t}):e)).filter((e=>""!==e)):n.join("")}var i=n(7529);function l(e){let{id:t,message:n}=e;if(void 0===t&&void 0===n)throw new Error("Docusaurus translation declarations must have at least a translation id or a default translation message");return i[t??n]??n??t}function s(e,t){let{message:n,id:r}=e;return o(l({message:n,id:r}),t)}function u(e){let{children:t,id:n,values:r}=e;if(t&&"string"!=typeof t)throw console.warn("Illegal <Translate> children",t),new Error("The Docusaurus <Translate> component only accept simple string values");const i=l({message:t,id:n});return(0,a.jsx)(a.Fragment,{children:o(i,r)})}},9935:(e,t,n)=>{"use strict";n.d(t,{m:()=>r});const r="default"},3919:(e,t,n)=>{"use strict";function r(e){return/^(?:\w*:|\/\/)/.test(e)}function a(e){return void 0!==e&&!r(e)}n.d(t,{Z:()=>a,b:()=>r})},4996:(e,t,n)=>{"use strict";n.d(t,{C:()=>i,Z:()=>l});var r=n(7294),a=n(2263),o=n(3919);function i(){const{siteConfig:{baseUrl:e,url:t}}=(0,a.Z)(),n=(0,r.useCallback)(((n,r)=>function(e,t,n,r){let{forcePrependBaseUrl:a=!1,absolute:i=!1}=void 0===r?{}:r;if(!n||n.startsWith("#")||(0,o.b)(n))return n;if(a)return t+n.replace(/^\//,"");if(n===t.replace(/\/$/,""))return t;const l=n.startsWith(t)?n:t+n.replace(/^\//,"");return i?e+l:l}(t,e,n,r)),[t,e]);return{withBaseUrl:n}}function l(e,t){void 0===t&&(t={});const{withBaseUrl:n}=i();return n(e,t)}},8138:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(7294);n(5893);const a=r.createContext({collectAnchor:()=>{},collectLink:()=>{}}),o=()=>(0,r.useContext)(a);function i(){return o()}},2263:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(7294),a=n(8940);function o(){return(0,r.useContext)(a._)}},2389:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(7294),a=n(8934);function o(){return(0,r.useContext)(a._)}},469:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(7294);const a=n(412).Z.canUseDOM?r.useLayoutEffect:r.useEffect},9670:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const r=e=>"object"==typeof e&&!!e&&Object.keys(e).length>0;function a(e){const t={};return function e(n,a){Object.entries(n).forEach((n=>{let[o,i]=n;const l=a?`${a}.${o}`:o;r(i)?e(i,l):t[l]=i}))}(e),t}},226:(e,t,n)=>{"use strict";n.d(t,{_:()=>o,z:()=>i});var r=n(7294),a=n(5893);const o=r.createContext(null);function i(e){let{children:t,value:n}=e;const i=r.useContext(o),l=(0,r.useMemo)((()=>function(e){let{parent:t,value:n}=e;if(!t){if(!n)throw new Error("Unexpected: no Docusaurus route context found");if(!("plugin"in n))throw new Error("Unexpected: Docusaurus topmost route context has no `plugin` attribute");return n}const r={...t.data,...n?.data};return{plugin:t.plugin,data:r}}({parent:i,value:n})),[i,n]);return(0,a.jsx)(o.Provider,{value:l,children:t})}},143:(e,t,n)=>{"use strict";n.d(t,{Iw:()=>h,gA:()=>f,_r:()=>c,Jo:()=>m,zh:()=>d,yW:()=>g,gB:()=>p});var r=n(6550),a=n(2263),o=n(9935);function i(e,t){void 0===t&&(t={});const n=function(){const{globalData:e}=(0,a.Z)();return e}()[e];if(!n&&t.failfast)throw new Error(`Docusaurus plugin global data not found for "${e}" plugin.`);return n}const l=e=>e.versions.find((e=>e.isLast));function s(e,t){const n=function(e,t){const n=l(e);return[...e.versions.filter((e=>e!==n)),n].find((e=>!!(0,r.LX)(t,{path:e.path,exact:!1,strict:!1})))}(e,t),a=n?.docs.find((e=>!!(0,r.LX)(t,{path:e.path,exact:!0,strict:!1})));return{activeVersion:n,activeDoc:a,alternateDocVersions:a?function(t){const n={};return e.versions.forEach((e=>{e.docs.forEach((r=>{r.id===t&&(n[e.name]=r)}))})),n}(a.id):{}}}const u={},c=()=>i("docusaurus-plugin-content-docs")??u,d=e=>function(e,t,n){void 0===t&&(t=o.m),void 0===n&&(n={});const r=i(e),a=r?.[t];if(!a&&n.failfast)throw new Error(`Docusaurus plugin global data not found for "${e}" plugin with id "${t}".`);return a}("docusaurus-plugin-content-docs",e,{failfast:!0});function f(e){void 0===e&&(e={});const t=c(),{pathname:n}=(0,r.TH)();return function(e,t,n){void 0===n&&(n={});const a=Object.entries(e).sort(((e,t)=>t[1].path.localeCompare(e[1].path))).find((e=>{let[,n]=e;return!!(0,r.LX)(t,{path:n.path,exact:!1,strict:!1})})),o=a?{pluginId:a[0],pluginData:a[1]}:void 0;if(!o&&n.failfast)throw new Error(`Can't find active docs plugin for "${t}" pathname, while it was expected to be found. Maybe you tried to use a docs feature that can only be used on a docs-related page? Existing docs plugin paths are: ${Object.values(e).map((e=>e.path)).join(", ")}`);return o}(t,n,e)}function p(e){return d(e).versions}function g(e){const t=d(e);return l(t)}function h(e){const t=d(e),{pathname:n}=(0,r.TH)();return s(t,n)}function m(e){const t=d(e),{pathname:n}=(0,r.TH)();return function(e,t){const n=l(e);return{latestDocSuggestion:s(e,t).alternateDocVersions[n.name],latestVersionSuggestion:n}}(t,n)}},8320:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(4865),a=n.n(r);a().configure({showSpinner:!1});const o={onRouteUpdate(e){let{location:t,previousLocation:n}=e;if(n&&t.pathname!==n.pathname){const e=window.setTimeout((()=>{a().start()}),200);return()=>window.clearTimeout(e)}},onRouteDidUpdate(){a().done()}}},3310:(e,t,n)=>{"use strict";n.r(t);var r=n(2573),a=n(6809);!function(e){const{themeConfig:{prism:t}}=a.default,{additionalLanguages:r}=t;globalThis.Prism=e,r.forEach((e=>{"php"===e&&n(6854),n(1349)(`./prism-${e}`)})),delete globalThis.Prism}(r.p1)},7955:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});n(7294);var r=n(512),a=n(5999),o=n(6668),i=n(3692),l=n(8138);const s={anchorWithStickyNavbar:"anchorWithStickyNavbar_LWe7",anchorWithHideOnScrollNavbar:"anchorWithHideOnScrollNavbar_WYt5"};var u=n(5893);function c(e){let{as:t,id:n,...c}=e;const d=(0,l.Z)(),{navbar:{hideOnScroll:f}}=(0,o.L)();if("h1"===t||!n)return(0,u.jsx)(t,{...c,id:void 0});d.collectAnchor(n);const p=(0,a.I)({id:"theme.common.headingLinkTitle",message:"Direct link to {heading}",description:"Title for link to heading"},{heading:"string"==typeof c.children?c.children:n});return(0,u.jsxs)(t,{...c,className:(0,r.Z)("anchor",f?s.anchorWithHideOnScrollNavbar:s.anchorWithStickyNavbar,c.className),id:n,children:[c.children,(0,u.jsx)(i.Z,{className:"hash-link",to:`#${n}`,"aria-label":p,title:p,children:"\u200b"})]})}},9471:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});n(7294);const r={iconExternalLink:"iconExternalLink_nPIU"};var a=n(5893);function o(e){let{width:t=13.5,height:n=13.5}=e;return(0,a.jsx)("svg",{width:t,height:n,"aria-hidden":"true",viewBox:"0 0 24 24",className:r.iconExternalLink,children:(0,a.jsx)("path",{fill:"currentColor",d:"M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"})})}},6040:(e,t,n)=>{"use strict";n.d(t,{Z:()=>pt});var r=n(7294),a=n(512),o=n(4763),i=n(1944),l=n(6550),s=n(5999),u=n(5936),c=n(5893);const d="__docusaurus_skipToContent_fallback";function f(e){e.setAttribute("tabindex","-1"),e.focus(),e.removeAttribute("tabindex")}function p(){const e=(0,r.useRef)(null),{action:t}=(0,l.k6)(),n=(0,r.useCallback)((e=>{e.preventDefault();const t=document.querySelector("main:first-of-type")??document.getElementById(d);t&&f(t)}),[]);return(0,u.S)((n=>{let{location:r}=n;e.current&&!r.hash&&"PUSH"===t&&f(e.current)})),{containerRef:e,onClick:n}}const g=(0,s.I)({id:"theme.common.skipToMainContent",description:"The skip to content label used for accessibility, allowing to rapidly navigate to main content with keyboard tab/enter navigation",message:"Skip to main content"});function h(e){const t=e.children??g,{containerRef:n,onClick:r}=p();return(0,c.jsx)("div",{ref:n,role:"region","aria-label":g,children:(0,c.jsx)("a",{...e,href:`#${d}`,onClick:r,children:t})})}var m=n(5281),y=n(9727);const b={skipToContent:"skipToContent_fXgn"};function v(){return(0,c.jsx)(h,{className:b.skipToContent})}var w=n(6668),k=n(9689);function x(e){let{width:t=21,height:n=21,color:r="currentColor",strokeWidth:a=1.2,className:o,...i}=e;return(0,c.jsx)("svg",{viewBox:"0 0 15 15",width:t,height:n,...i,children:(0,c.jsx)("g",{stroke:r,strokeWidth:a,children:(0,c.jsx)("path",{d:"M.75.75l13.5 13.5M14.25.75L.75 14.25"})})})}const S={closeButton:"closeButton_CVFx"};function E(e){return(0,c.jsx)("button",{type:"button","aria-label":(0,s.I)({id:"theme.AnnouncementBar.closeButtonAriaLabel",message:"Close",description:"The ARIA label for close button of announcement bar"}),...e,className:(0,a.Z)("clean-btn close",S.closeButton,e.className),children:(0,c.jsx)(x,{width:14,height:14,strokeWidth:3.1})})}const _={content:"content_knG7"};function C(e){const{announcementBar:t}=(0,w.L)(),{content:n}=t;return(0,c.jsx)("div",{...e,className:(0,a.Z)(_.content,e.className),dangerouslySetInnerHTML:{__html:n}})}const T={announcementBar:"announcementBar_mb4j",announcementBarPlaceholder:"announcementBarPlaceholder_vyr4",announcementBarClose:"announcementBarClose_gvF7",announcementBarContent:"announcementBarContent_xLdY"};function N(){const{announcementBar:e}=(0,w.L)(),{isActive:t,close:n}=(0,k.nT)();if(!t)return null;const{backgroundColor:r,textColor:a,isCloseable:o}=e;return(0,c.jsxs)("div",{className:T.announcementBar,style:{backgroundColor:r,color:a},role:"banner",children:[o&&(0,c.jsx)("div",{className:T.announcementBarPlaceholder}),(0,c.jsx)(C,{className:T.announcementBarContent}),o&&(0,c.jsx)(E,{onClick:n,className:T.announcementBarClose})]})}var A=n(3163),j=n(2466);var L=n(902),O=n(3102);const P=r.createContext(null);function R(e){let{children:t}=e;const n=function(){const e=(0,A.e)(),t=(0,O.HY)(),[n,a]=(0,r.useState)(!1),o=null!==t.component,i=(0,L.D9)(o);return(0,r.useEffect)((()=>{o&&!i&&a(!0)}),[o,i]),(0,r.useEffect)((()=>{o?e.shown||a(!0):a(!1)}),[e.shown,o]),(0,r.useMemo)((()=>[n,a]),[n])}();return(0,c.jsx)(P.Provider,{value:n,children:t})}function I(e){if(e.component){const t=e.component;return(0,c.jsx)(t,{...e.props})}}function D(){const e=(0,r.useContext)(P);if(!e)throw new L.i6("NavbarSecondaryMenuDisplayProvider");const[t,n]=e,a=(0,r.useCallback)((()=>n(!1)),[n]),o=(0,O.HY)();return(0,r.useMemo)((()=>({shown:t,hide:a,content:I(o)})),[a,o,t])}function F(e){let{header:t,primaryMenu:n,secondaryMenu:r}=e;const{shown:o}=D();return(0,c.jsxs)("div",{className:"navbar-sidebar",children:[t,(0,c.jsxs)("div",{className:(0,a.Z)("navbar-sidebar__items",{"navbar-sidebar__items--show-secondary":o}),children:[(0,c.jsx)("div",{className:"navbar-sidebar__item menu",children:n}),(0,c.jsx)("div",{className:"navbar-sidebar__item menu",children:r})]})]})}var M=n(2949),z=n(2389);function B(e){return(0,c.jsx)("svg",{viewBox:"0 0 24 24",width:24,height:24,...e,children:(0,c.jsx)("path",{fill:"currentColor",d:"M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"})})}function $(e){return(0,c.jsx)("svg",{viewBox:"0 0 24 24",width:24,height:24,...e,children:(0,c.jsx)("path",{fill:"currentColor",d:"M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"})})}const U={toggle:"toggle_vylO",toggleButton:"toggleButton_gllP",darkToggleIcon:"darkToggleIcon_wfgR",lightToggleIcon:"lightToggleIcon_pyhR",toggleButtonDisabled:"toggleButtonDisabled_aARS"};function Z(e){let{className:t,buttonClassName:n,value:r,onChange:o}=e;const i=(0,z.Z)(),l=(0,s.I)({message:"Switch between dark and light mode (currently {mode})",id:"theme.colorToggle.ariaLabel",description:"The ARIA label for the navbar color mode toggle"},{mode:"dark"===r?(0,s.I)({message:"dark mode",id:"theme.colorToggle.ariaLabel.mode.dark",description:"The name for the dark color mode"}):(0,s.I)({message:"light mode",id:"theme.colorToggle.ariaLabel.mode.light",description:"The name for the light color mode"})});return(0,c.jsx)("div",{className:(0,a.Z)(U.toggle,t),children:(0,c.jsxs)("button",{className:(0,a.Z)("clean-btn",U.toggleButton,!i&&U.toggleButtonDisabled,n),type:"button",onClick:()=>o("dark"===r?"light":"dark"),disabled:!i,title:l,"aria-label":l,"aria-live":"polite",children:[(0,c.jsx)(B,{className:(0,a.Z)(U.toggleIcon,U.lightToggleIcon)}),(0,c.jsx)($,{className:(0,a.Z)(U.toggleIcon,U.darkToggleIcon)})]})})}const H=r.memo(Z),V={darkNavbarColorModeToggle:"darkNavbarColorModeToggle_X3D1"};function W(e){let{className:t}=e;const n=(0,w.L)().navbar.style,r=(0,w.L)().colorMode.disableSwitch,{colorMode:a,setColorMode:o}=(0,M.I)();return r?null:(0,c.jsx)(H,{className:t,buttonClassName:"dark"===n?V.darkNavbarColorModeToggle:void 0,value:a,onChange:o})}var G=n(1327);function q(){return(0,c.jsx)(G.Z,{className:"navbar__brand",imageClassName:"navbar__logo",titleClassName:"navbar__title text--truncate"})}function Y(){const e=(0,A.e)();return(0,c.jsx)("button",{type:"button","aria-label":(0,s.I)({id:"theme.docs.sidebar.closeSidebarButtonAriaLabel",message:"Close navigation bar",description:"The ARIA label for close button of mobile sidebar"}),className:"clean-btn navbar-sidebar__close",onClick:()=>e.toggle(),children:(0,c.jsx)(x,{color:"var(--ifm-color-emphasis-600)"})})}function K(){return(0,c.jsxs)("div",{className:"navbar-sidebar__brand",children:[(0,c.jsx)(q,{}),(0,c.jsx)(W,{className:"margin-right--md"}),(0,c.jsx)(Y,{})]})}var Q=n(3692),X=n(4996),J=n(3919);function ee(e,t){return void 0!==e&&void 0!==t&&new RegExp(e,"gi").test(t)}var te=n(9471);function ne(e){let{activeBasePath:t,activeBaseRegex:n,to:r,href:a,label:o,html:i,isDropdownLink:l,prependBaseUrlToHref:s,...u}=e;const d=(0,X.Z)(r),f=(0,X.Z)(t),p=(0,X.Z)(a,{forcePrependBaseUrl:!0}),g=o&&a&&!(0,J.Z)(a),h=i?{dangerouslySetInnerHTML:{__html:i}}:{children:(0,c.jsxs)(c.Fragment,{children:[o,g&&(0,c.jsx)(te.Z,{...l&&{width:12,height:12}})]})};return a?(0,c.jsx)(Q.Z,{href:s?p:a,...u,...h}):(0,c.jsx)(Q.Z,{to:d,isNavLink:!0,...(t||n)&&{isActive:(e,t)=>n?ee(n,t.pathname):t.pathname.startsWith(f)},...u,...h})}function re(e){let{className:t,isDropdownItem:n=!1,...r}=e;const o=(0,c.jsx)(ne,{className:(0,a.Z)(n?"dropdown__link":"navbar__item navbar__link",t),isDropdownLink:n,...r});return n?(0,c.jsx)("li",{children:o}):o}function ae(e){let{className:t,isDropdownItem:n,...r}=e;return(0,c.jsx)("li",{className:"menu__list-item",children:(0,c.jsx)(ne,{className:(0,a.Z)("menu__link",t),...r})})}function oe(e){let{mobile:t=!1,position:n,...r}=e;const a=t?ae:re;return(0,c.jsx)(a,{...r,activeClassName:r.activeClassName??(t?"menu__link--active":"navbar__link--active")})}var ie=n(6043),le=n(8596),se=n(2263);const ue={dropdownNavbarItemMobile:"dropdownNavbarItemMobile_S0Fm"};function ce(e,t){return e.some((e=>function(e,t){return!!(0,le.Mg)(e.to,t)||!!ee(e.activeBaseRegex,t)||!(!e.activeBasePath||!t.startsWith(e.activeBasePath))}(e,t)))}function de(e){let{items:t,position:n,className:o,onClick:i,...l}=e;const s=(0,r.useRef)(null),[u,d]=(0,r.useState)(!1);return(0,r.useEffect)((()=>{const e=e=>{s.current&&!s.current.contains(e.target)&&d(!1)};return document.addEventListener("mousedown",e),document.addEventListener("touchstart",e),document.addEventListener("focusin",e),()=>{document.removeEventListener("mousedown",e),document.removeEventListener("touchstart",e),document.removeEventListener("focusin",e)}}),[s]),(0,c.jsxs)("div",{ref:s,className:(0,a.Z)("navbar__item","dropdown","dropdown--hoverable",{"dropdown--right":"right"===n,"dropdown--show":u}),children:[(0,c.jsx)(ne,{"aria-haspopup":"true","aria-expanded":u,role:"button",href:l.to?void 0:"#",className:(0,a.Z)("navbar__link",o),...l,onClick:l.to?void 0:e=>e.preventDefault(),onKeyDown:e=>{"Enter"===e.key&&(e.preventDefault(),d(!u))},children:l.children??l.label}),(0,c.jsx)("ul",{className:"dropdown__menu",children:t.map(((e,t)=>(0,r.createElement)(_e,{isDropdownItem:!0,activeClassName:"dropdown__link--active",...e,key:t})))})]})}function fe(e){let{items:t,className:n,position:o,onClick:i,...s}=e;const u=function(){const{siteConfig:{baseUrl:e}}=(0,se.Z)(),{pathname:t}=(0,l.TH)();return t.replace(e,"/")}(),d=ce(t,u),{collapsed:f,toggleCollapsed:p,setCollapsed:g}=(0,ie.u)({initialState:()=>!d});return(0,r.useEffect)((()=>{d&&g(!d)}),[u,d,g]),(0,c.jsxs)("li",{className:(0,a.Z)("menu__list-item",{"menu__list-item--collapsed":f}),children:[(0,c.jsx)(ne,{role:"button",className:(0,a.Z)(ue.dropdownNavbarItemMobile,"menu__link menu__link--sublist menu__link--sublist-caret",n),...s,onClick:e=>{e.preventDefault(),p()},children:s.children??s.label}),(0,c.jsx)(ie.z,{lazy:!0,as:"ul",className:"menu__list",collapsed:f,children:t.map(((e,t)=>(0,r.createElement)(_e,{mobile:!0,isDropdownItem:!0,onClick:i,activeClassName:"menu__link--active",...e,key:t})))})]})}function pe(e){let{mobile:t=!1,...n}=e;const r=t?fe:de;return(0,c.jsx)(r,{...n})}var ge=n(4711);function he(e){let{width:t=20,height:n=20,...r}=e;return(0,c.jsx)("svg",{viewBox:"0 0 24 24",width:t,height:n,"aria-hidden":!0,...r,children:(0,c.jsx)("path",{fill:"currentColor",d:"M12.87 15.07l-2.54-2.51.03-.03c1.74-1.94 2.98-4.17 3.71-6.53H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11.76-2.04zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2l-4.5-12zm-2.62 7l1.62-4.33L19.12 17h-3.24z"})})}const me="iconLanguage_nlXk";var ye=n(1875);const be={navbarSearchContainer:"navbarSearchContainer_Bca1"};function ve(e){let{children:t,className:n}=e;return(0,c.jsx)("div",{className:(0,a.Z)(n,be.navbarSearchContainer),children:t})}var we=n(143),ke=n(3438);var xe=n(373);const Se=e=>e.docs.find((t=>t.id===e.mainDocId));const Ee={default:oe,localeDropdown:function(e){let{mobile:t,dropdownItemsBefore:n,dropdownItemsAfter:r,queryString:a="",...o}=e;const{i18n:{currentLocale:i,locales:u,localeConfigs:d}}=(0,se.Z)(),f=(0,ge.l)(),{search:p,hash:g}=(0,l.TH)(),h=[...n,...u.map((e=>{const n=`${`pathname://${f.createUrl({locale:e,fullyQualified:!1})}`}${p}${g}${a}`;return{label:d[e].label,lang:d[e].htmlLang,to:n,target:"_self",autoAddBaseUrl:!1,className:e===i?t?"menu__link--active":"dropdown__link--active":""}})),...r],m=t?(0,s.I)({message:"Languages",id:"theme.navbar.mobileLanguageDropdown.label",description:"The label for the mobile language switcher dropdown"}):d[i].label;return(0,c.jsx)(pe,{...o,mobile:t,label:(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(he,{className:me}),m]}),items:h})},search:function(e){let{mobile:t,className:n}=e;return t?null:(0,c.jsx)(ve,{className:n,children:(0,c.jsx)(ye.Z,{})})},dropdown:pe,html:function(e){let{value:t,className:n,mobile:r=!1,isDropdownItem:o=!1}=e;const i=o?"li":"div";return(0,c.jsx)(i,{className:(0,a.Z)({navbar__item:!r&&!o,"menu__list-item":r},n),dangerouslySetInnerHTML:{__html:t}})},doc:function(e){let{docId:t,label:n,docsPluginId:r,...a}=e;const{activeDoc:o}=(0,we.Iw)(r),i=(0,ke.vY)(t,r),l=o?.path===i?.path;return null===i||i.unlisted&&!l?null:(0,c.jsx)(oe,{exact:!0,...a,isActive:()=>l||!!o?.sidebar&&o.sidebar===i.sidebar,label:n??i.id,to:i.path})},docSidebar:function(e){let{sidebarId:t,label:n,docsPluginId:r,...a}=e;const{activeDoc:o}=(0,we.Iw)(r),i=(0,ke.oz)(t,r).link;if(!i)throw new Error(`DocSidebarNavbarItem: Sidebar with ID "${t}" doesn't have anything to be linked to.`);return(0,c.jsx)(oe,{exact:!0,...a,isActive:()=>o?.sidebar===t,label:n??i.label,to:i.path})},docsVersion:function(e){let{label:t,to:n,docsPluginId:r,...a}=e;const o=(0,ke.lO)(r)[0],i=t??o.label,l=n??(e=>e.docs.find((t=>t.id===e.mainDocId)))(o).path;return(0,c.jsx)(oe,{...a,label:i,to:l})},docsVersionDropdown:function(e){let{mobile:t,docsPluginId:n,dropdownActiveClassDisabled:r,dropdownItemsBefore:a,dropdownItemsAfter:o,...i}=e;const{search:u,hash:d}=(0,l.TH)(),f=(0,we.Iw)(n),p=(0,we.gB)(n),{savePreferredVersionName:g}=(0,xe.J)(n),h=[...a,...p.map((e=>{const t=f.alternateDocVersions[e.name]??Se(e);return{label:e.label,to:`${t.path}${u}${d}`,isActive:()=>e===f.activeVersion,onClick:()=>g(e.name)}})),...o],m=(0,ke.lO)(n)[0],y=t&&h.length>1?(0,s.I)({id:"theme.navbar.mobileVersionsDropdown.label",message:"Versions",description:"The label for the navbar versions dropdown on mobile view"}):m.label,b=t&&h.length>1?void 0:Se(m).path;return h.length<=1?(0,c.jsx)(oe,{...i,mobile:t,label:y,to:b,isActive:r?()=>!1:void 0}):(0,c.jsx)(pe,{...i,mobile:t,label:y,to:b,items:h,isActive:r?()=>!1:void 0})}};function _e(e){let{type:t,...n}=e;const r=function(e,t){return e&&"default"!==e?e:"items"in t?"dropdown":"default"}(t,n),a=Ee[r];if(!a)throw new Error(`No NavbarItem component found for type "${t}".`);return(0,c.jsx)(a,{...n})}function Ce(){const e=(0,A.e)(),t=(0,w.L)().navbar.items;return(0,c.jsx)("ul",{className:"menu__list",children:t.map(((t,n)=>(0,r.createElement)(_e,{mobile:!0,...t,onClick:()=>e.toggle(),key:n})))})}function Te(e){return(0,c.jsx)("button",{...e,type:"button",className:"clean-btn navbar-sidebar__back",children:(0,c.jsx)(s.Z,{id:"theme.navbar.mobileSidebarSecondaryMenu.backButtonLabel",description:"The label of the back button to return to main menu, inside the mobile navbar sidebar secondary menu (notably used to display the docs sidebar)",children:"\u2190 Back to main menu"})})}function Ne(){const e=0===(0,w.L)().navbar.items.length,t=D();return(0,c.jsxs)(c.Fragment,{children:[!e&&(0,c.jsx)(Te,{onClick:()=>t.hide()}),t.content]})}function Ae(){const e=(0,A.e)();var t;return void 0===(t=e.shown)&&(t=!0),(0,r.useEffect)((()=>(document.body.style.overflow=t?"hidden":"visible",()=>{document.body.style.overflow="visible"})),[t]),e.shouldRender?(0,c.jsx)(F,{header:(0,c.jsx)(K,{}),primaryMenu:(0,c.jsx)(Ce,{}),secondaryMenu:(0,c.jsx)(Ne,{})}):null}const je={navbarHideable:"navbarHideable_m1mJ",navbarHidden:"navbarHidden_jGov"};function Le(e){return(0,c.jsx)("div",{role:"presentation",...e,className:(0,a.Z)("navbar-sidebar__backdrop",e.className)})}function Oe(e){let{children:t}=e;const{navbar:{hideOnScroll:n,style:o}}=(0,w.L)(),i=(0,A.e)(),{navbarRef:l,isNavbarVisible:d}=function(e){const[t,n]=(0,r.useState)(e),a=(0,r.useRef)(!1),o=(0,r.useRef)(0),i=(0,r.useCallback)((e=>{null!==e&&(o.current=e.getBoundingClientRect().height)}),[]);return(0,j.RF)(((t,r)=>{let{scrollY:i}=t;if(!e)return;if(i<o.current)return void n(!0);if(a.current)return void(a.current=!1);const l=r?.scrollY,s=document.documentElement.scrollHeight-o.current,u=window.innerHeight;l&&i>=l?n(!1):i+u<s&&n(!0)})),(0,u.S)((t=>{if(!e)return;const r=t.location.hash;if(r?document.getElementById(r.substring(1)):void 0)return a.current=!0,void n(!1);n(!0)})),{navbarRef:i,isNavbarVisible:t}}(n);return(0,c.jsxs)("nav",{ref:l,"aria-label":(0,s.I)({id:"theme.NavBar.navAriaLabel",message:"Main",description:"The ARIA label for the main navigation"}),className:(0,a.Z)("navbar","navbar--fixed-top",n&&[je.navbarHideable,!d&&je.navbarHidden],{"navbar--dark":"dark"===o,"navbar--primary":"primary"===o,"navbar-sidebar--show":i.shown}),children:[t,(0,c.jsx)(Le,{onClick:i.toggle}),(0,c.jsx)(Ae,{})]})}var Pe=n(8780);const Re={errorBoundaryError:"errorBoundaryError_a6uf",errorBoundaryFallback:"errorBoundaryFallback_VBag"};function Ie(e){return(0,c.jsx)("button",{type:"button",...e,children:(0,c.jsx)(s.Z,{id:"theme.ErrorPageContent.tryAgain",description:"The label of the button to try again rendering when the React error boundary captures an error",children:"Try again"})})}function De(e){let{error:t}=e;const n=(0,Pe.getErrorCausalChain)(t).map((e=>e.message)).join("\n\nCause:\n");return(0,c.jsx)("p",{className:Re.errorBoundaryError,children:n})}class Fe extends r.Component{componentDidCatch(e,t){throw this.props.onError(e,t)}render(){return this.props.children}}const Me="right";function ze(e){let{width:t=30,height:n=30,className:r,...a}=e;return(0,c.jsx)("svg",{className:r,width:t,height:n,viewBox:"0 0 30 30","aria-hidden":"true",...a,children:(0,c.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"2",d:"M4 7h22M4 15h22M4 23h22"})})}function Be(){const{toggle:e,shown:t}=(0,A.e)();return(0,c.jsx)("button",{onClick:e,"aria-label":(0,s.I)({id:"theme.docs.sidebar.toggleSidebarButtonAriaLabel",message:"Toggle navigation bar",description:"The ARIA label for hamburger menu button of mobile navigation"}),"aria-expanded":t,className:"navbar__toggle clean-btn",type:"button",children:(0,c.jsx)(ze,{})})}const $e={colorModeToggle:"colorModeToggle_DEke"};function Ue(e){let{items:t}=e;return(0,c.jsx)(c.Fragment,{children:t.map(((e,t)=>(0,c.jsx)(Fe,{onError:t=>new Error(`A theme navbar item failed to render.\nPlease double-check the following navbar item (themeConfig.navbar.items) of your Docusaurus config:\n${JSON.stringify(e,null,2)}`,{cause:t}),children:(0,c.jsx)(_e,{...e})},t)))})}function Ze(e){let{left:t,right:n}=e;return(0,c.jsxs)("div",{className:"navbar__inner",children:[(0,c.jsx)("div",{className:"navbar__items",children:t}),(0,c.jsx)("div",{className:"navbar__items navbar__items--right",children:n})]})}function He(){const e=(0,A.e)(),t=(0,w.L)().navbar.items,[n,r]=function(e){function t(e){return"left"===(e.position??Me)}return[e.filter(t),e.filter((e=>!t(e)))]}(t),a=t.find((e=>"search"===e.type));return(0,c.jsx)(Ze,{left:(0,c.jsxs)(c.Fragment,{children:[!e.disabled&&(0,c.jsx)(Be,{}),(0,c.jsx)(q,{}),(0,c.jsx)(Ue,{items:n})]}),right:(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(Ue,{items:r}),(0,c.jsx)(W,{className:$e.colorModeToggle}),!a&&(0,c.jsx)(ve,{children:(0,c.jsx)(ye.Z,{})})]})})}function Ve(){return(0,c.jsx)(Oe,{children:(0,c.jsx)(He,{})})}function We(e){let{item:t}=e;const{to:n,href:r,label:a,prependBaseUrlToHref:o,...i}=t,l=(0,X.Z)(n),s=(0,X.Z)(r,{forcePrependBaseUrl:!0});return(0,c.jsxs)(Q.Z,{className:"footer__link-item",...r?{href:o?s:r}:{to:l},...i,children:[a,r&&!(0,J.Z)(r)&&(0,c.jsx)(te.Z,{})]})}function Ge(e){let{item:t}=e;return t.html?(0,c.jsx)("li",{className:"footer__item",dangerouslySetInnerHTML:{__html:t.html}}):(0,c.jsx)("li",{className:"footer__item",children:(0,c.jsx)(We,{item:t})},t.href??t.to)}function qe(e){let{column:t}=e;return(0,c.jsxs)("div",{className:"col footer__col",children:[(0,c.jsx)("div",{className:"footer__title",children:t.title}),(0,c.jsx)("ul",{className:"footer__items clean-list",children:t.items.map(((e,t)=>(0,c.jsx)(Ge,{item:e},t)))})]})}function Ye(e){let{columns:t}=e;return(0,c.jsx)("div",{className:"row footer__links",children:t.map(((e,t)=>(0,c.jsx)(qe,{column:e},t)))})}function Ke(){return(0,c.jsx)("span",{className:"footer__link-separator",children:"\xb7"})}function Qe(e){let{item:t}=e;return t.html?(0,c.jsx)("span",{className:"footer__link-item",dangerouslySetInnerHTML:{__html:t.html}}):(0,c.jsx)(We,{item:t})}function Xe(e){let{links:t}=e;return(0,c.jsx)("div",{className:"footer__links text--center",children:(0,c.jsx)("div",{className:"footer__links",children:t.map(((e,n)=>(0,c.jsxs)(r.Fragment,{children:[(0,c.jsx)(Qe,{item:e}),t.length!==n+1&&(0,c.jsx)(Ke,{})]},n)))})})}function Je(e){let{links:t}=e;return function(e){return"title"in e[0]}(t)?(0,c.jsx)(Ye,{columns:t}):(0,c.jsx)(Xe,{links:t})}var et=n(9965);const tt={footerLogoLink:"footerLogoLink_BH7S"};function nt(e){let{logo:t}=e;const{withBaseUrl:n}=(0,X.C)(),r={light:n(t.src),dark:n(t.srcDark??t.src)};return(0,c.jsx)(et.Z,{className:(0,a.Z)("footer__logo",t.className),alt:t.alt,sources:r,width:t.width,height:t.height,style:t.style})}function rt(e){let{logo:t}=e;return t.href?(0,c.jsx)(Q.Z,{href:t.href,className:tt.footerLogoLink,target:t.target,children:(0,c.jsx)(nt,{logo:t})}):(0,c.jsx)(nt,{logo:t})}function at(e){let{copyright:t}=e;return(0,c.jsx)("div",{className:"footer__copyright",dangerouslySetInnerHTML:{__html:t}})}function ot(e){let{style:t,links:n,logo:r,copyright:o}=e;return(0,c.jsx)("footer",{className:(0,a.Z)("footer",{"footer--dark":"dark"===t}),children:(0,c.jsxs)("div",{className:"container container-fluid",children:[n,(r||o)&&(0,c.jsxs)("div",{className:"footer__bottom text--center",children:[r&&(0,c.jsx)("div",{className:"margin-bottom--sm",children:r}),o]})]})})}function it(){const{footer:e}=(0,w.L)();if(!e)return null;const{copyright:t,links:n,logo:r,style:a}=e;return(0,c.jsx)(ot,{style:a,links:n&&n.length>0&&(0,c.jsx)(Je,{links:n}),logo:r&&(0,c.jsx)(rt,{logo:r}),copyright:t&&(0,c.jsx)(at,{copyright:t})})}const lt=r.memo(it),st=(0,L.Qc)([M.S,k.pl,j.OC,xe.L5,i.VC,function(e){let{children:t}=e;return(0,c.jsx)(O.n2,{children:(0,c.jsx)(A.M,{children:(0,c.jsx)(R,{children:t})})})}]);function ut(e){let{children:t}=e;return(0,c.jsx)(st,{children:t})}var ct=n(7955);function dt(e){let{error:t,tryAgain:n}=e;return(0,c.jsx)("main",{className:"container margin-vert--xl",children:(0,c.jsx)("div",{className:"row",children:(0,c.jsxs)("div",{className:"col col--6 col--offset-3",children:[(0,c.jsx)(ct.Z,{as:"h1",className:"hero__title",children:(0,c.jsx)(s.Z,{id:"theme.ErrorPageContent.title",description:"The title of the fallback page when the page crashed",children:"This page crashed."})}),(0,c.jsx)("div",{className:"margin-vert--lg",children:(0,c.jsx)(Ie,{onClick:n,className:"button button--primary shadow--lw"})}),(0,c.jsx)("hr",{}),(0,c.jsx)("div",{className:"margin-vert--md",children:(0,c.jsx)(De,{error:t})})]})})})}const ft={mainWrapper:"mainWrapper_z2l0"};function pt(e){const{children:t,noFooter:n,wrapperClassName:r,title:l,description:s}=e;return(0,y.t)(),(0,c.jsxs)(ut,{children:[(0,c.jsx)(i.d,{title:l,description:s}),(0,c.jsx)(v,{}),(0,c.jsx)(N,{}),(0,c.jsx)(Ve,{}),(0,c.jsx)("div",{id:d,className:(0,a.Z)(m.k.wrapper.main,ft.mainWrapper,r),children:(0,c.jsx)(o.Z,{fallback:e=>(0,c.jsx)(dt,{...e}),children:t})}),!n&&(0,c.jsx)(lt,{})]})}},1327:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});n(7294);var r=n(3692),a=n(4996),o=n(2263),i=n(6668),l=n(9965),s=n(5893);function u(e){let{logo:t,alt:n,imageClassName:r}=e;const o={light:(0,a.Z)(t.src),dark:(0,a.Z)(t.srcDark||t.src)},i=(0,s.jsx)(l.Z,{className:t.className,sources:o,height:t.height,width:t.width,alt:n,style:t.style});return r?(0,s.jsx)("div",{className:r,children:i}):i}function c(e){const{siteConfig:{title:t}}=(0,o.Z)(),{navbar:{title:n,logo:l}}=(0,i.L)(),{imageClassName:c,titleClassName:d,...f}=e,p=(0,a.Z)(l?.href||"/"),g=n?"":t,h=l?.alt??g;return(0,s.jsxs)(r.Z,{to:p,...f,...l?.target&&{target:l.target},children:[l&&(0,s.jsx)(u,{logo:l,alt:h,imageClassName:c}),null!=n&&(0,s.jsx)("b",{className:d,children:n})]})}},197:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});n(7294);var r=n(5742),a=n(5893);function o(e){let{locale:t,version:n,tag:o}=e;const i=t;return(0,a.jsxs)(r.Z,{children:[t&&(0,a.jsx)("meta",{name:"docusaurus_locale",content:t}),n&&(0,a.jsx)("meta",{name:"docusaurus_version",content:n}),o&&(0,a.jsx)("meta",{name:"docusaurus_tag",content:o}),i&&(0,a.jsx)("meta",{name:"docsearch:language",content:i}),n&&(0,a.jsx)("meta",{name:"docsearch:version",content:n}),o&&(0,a.jsx)("meta",{name:"docsearch:docusaurus_tag",content:o})]})}},9965:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var r=n(7294),a=n(512),o=n(2389),i=n(2949);const l={themedComponent:"themedComponent_mlkZ","themedComponent--light":"themedComponent--light_NVdE","themedComponent--dark":"themedComponent--dark_xIcU"};var s=n(5893);function u(e){let{className:t,children:n}=e;const u=(0,o.Z)(),{colorMode:c}=(0,i.I)();return(0,s.jsx)(s.Fragment,{children:(u?"dark"===c?["dark"]:["light"]:["light","dark"]).map((e=>{const o=n({theme:e,className:(0,a.Z)(t,l.themedComponent,l[`themedComponent--${e}`])});return(0,s.jsx)(r.Fragment,{children:o},e)}))})}function c(e){const{sources:t,className:n,alt:r,...a}=e;return(0,s.jsx)(u,{className:n,children:e=>{let{theme:n,className:o}=e;return(0,s.jsx)("img",{src:t[n],alt:r,className:o,...a})}})}},6043:(e,t,n)=>{"use strict";n.d(t,{u:()=>u,z:()=>y});var r=n(7294),a=n(412),o=n(469),i=n(1442),l=n(5893);const s="ease-in-out";function u(e){let{initialState:t}=e;const[n,a]=(0,r.useState)(t??!1),o=(0,r.useCallback)((()=>{a((e=>!e))}),[]);return{collapsed:n,setCollapsed:a,toggleCollapsed:o}}const c={display:"none",overflow:"hidden",height:"0px"},d={display:"block",overflow:"visible",height:"auto"};function f(e,t){const n=t?c:d;e.style.display=n.display,e.style.overflow=n.overflow,e.style.height=n.height}function p(e){let{collapsibleRef:t,collapsed:n,animation:a}=e;const o=(0,r.useRef)(!1);(0,r.useEffect)((()=>{const e=t.current;function r(){const t=e.scrollHeight,n=a?.duration??function(e){if((0,i.n)())return 1;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}(t);return{transition:`height ${n}ms ${a?.easing??s}`,height:`${t}px`}}function l(){const t=r();e.style.transition=t.transition,e.style.height=t.height}if(!o.current)return f(e,n),void(o.current=!0);return e.style.willChange="height",function(){const t=requestAnimationFrame((()=>{n?(l(),requestAnimationFrame((()=>{e.style.height=c.height,e.style.overflow=c.overflow}))):(e.style.display="block",requestAnimationFrame((()=>{l()})))}));return()=>cancelAnimationFrame(t)}()}),[t,n,a])}function g(e){if(!a.Z.canUseDOM)return e?c:d}function h(e){let{as:t="div",collapsed:n,children:a,animation:o,onCollapseTransitionEnd:i,className:s,disableSSRStyle:u}=e;const c=(0,r.useRef)(null);return p({collapsibleRef:c,collapsed:n,animation:o}),(0,l.jsx)(t,{ref:c,style:u?void 0:g(n),onTransitionEnd:e=>{"height"===e.propertyName&&(f(c.current,n),i?.(n))},className:s,children:a})}function m(e){let{collapsed:t,...n}=e;const[a,i]=(0,r.useState)(!t),[s,u]=(0,r.useState)(t);return(0,o.Z)((()=>{t||i(!0)}),[t]),(0,o.Z)((()=>{a&&u(t)}),[a,t]),a?(0,l.jsx)(h,{...n,collapsed:s}):null}function y(e){let{lazy:t,...n}=e;const r=t?m:h;return(0,l.jsx)(r,{...n})}},9689:(e,t,n)=>{"use strict";n.d(t,{nT:()=>h,pl:()=>g});var r=n(7294),a=n(2389),o=n(12),i=n(902),l=n(6668),s=n(5893);const u=(0,o.WA)("docusaurus.announcement.dismiss"),c=(0,o.WA)("docusaurus.announcement.id"),d=()=>"true"===u.get(),f=e=>u.set(String(e)),p=r.createContext(null);function g(e){let{children:t}=e;const n=function(){const{announcementBar:e}=(0,l.L)(),t=(0,a.Z)(),[n,o]=(0,r.useState)((()=>!!t&&d()));(0,r.useEffect)((()=>{o(d())}),[]);const i=(0,r.useCallback)((()=>{f(!0),o(!0)}),[]);return(0,r.useEffect)((()=>{if(!e)return;const{id:t}=e;let n=c.get();"annoucement-bar"===n&&(n="announcement-bar");const r=t!==n;c.set(t),r&&f(!1),!r&&d()||o(!1)}),[e]),(0,r.useMemo)((()=>({isActive:!!e&&!n,close:i})),[e,n,i])}();return(0,s.jsx)(p.Provider,{value:n,children:t})}function h(){const e=(0,r.useContext)(p);if(!e)throw new i.i6("AnnouncementBarProvider");return e}},2949:(e,t,n)=>{"use strict";n.d(t,{I:()=>y,S:()=>m});var r=n(7294),a=n(412),o=n(902),i=n(12),l=n(6668),s=n(5893);const u=r.createContext(void 0),c="theme",d=(0,i.WA)(c),f={light:"light",dark:"dark"},p=e=>e===f.dark?f.dark:f.light,g=e=>a.Z.canUseDOM?p(document.documentElement.getAttribute("data-theme")):p(e),h=e=>{d.set(p(e))};function m(e){let{children:t}=e;const n=function(){const{colorMode:{defaultMode:e,disableSwitch:t,respectPrefersColorScheme:n}}=(0,l.L)(),[a,o]=(0,r.useState)(g(e));(0,r.useEffect)((()=>{t&&d.del()}),[t]);const i=(0,r.useCallback)((function(t,r){void 0===r&&(r={});const{persist:a=!0}=r;t?(o(t),a&&h(t)):(o(n?window.matchMedia("(prefers-color-scheme: dark)").matches?f.dark:f.light:e),d.del())}),[n,e]);(0,r.useEffect)((()=>{document.documentElement.setAttribute("data-theme",p(a))}),[a]),(0,r.useEffect)((()=>{if(t)return;const e=e=>{if(e.key!==c)return;const t=d.get();null!==t&&i(p(t))};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)}),[t,i]);const s=(0,r.useRef)(!1);return(0,r.useEffect)((()=>{if(t&&!n)return;const e=window.matchMedia("(prefers-color-scheme: dark)"),r=()=>{window.matchMedia("print").matches||s.current?s.current=window.matchMedia("print").matches:i(null)};return e.addListener(r),()=>e.removeListener(r)}),[i,t,n]),(0,r.useMemo)((()=>({colorMode:a,setColorMode:i,get isDarkTheme(){return a===f.dark},setLightTheme(){i(f.light)},setDarkTheme(){i(f.dark)}})),[a,i])}();return(0,s.jsx)(u.Provider,{value:n,children:t})}function y(){const e=(0,r.useContext)(u);if(null==e)throw new o.i6("ColorModeProvider","Please see https://docusaurus.io/docs/api/themes/configuration#use-color-mode.");return e}},373:(e,t,n)=>{"use strict";n.d(t,{J:()=>v,L5:()=>y});var r=n(7294),a=n(143),o=n(9935),i=n(6668),l=n(3438),s=n(902),u=n(12),c=n(5893);const d=e=>`docs-preferred-version-${e}`,f={save:(e,t,n)=>{(0,u.WA)(d(e),{persistence:t}).set(n)},read:(e,t)=>(0,u.WA)(d(e),{persistence:t}).get(),clear:(e,t)=>{(0,u.WA)(d(e),{persistence:t}).del()}},p=e=>Object.fromEntries(e.map((e=>[e,{preferredVersionName:null}])));const g=r.createContext(null);function h(){const e=(0,a._r)(),t=(0,i.L)().docs.versionPersistence,n=(0,r.useMemo)((()=>Object.keys(e)),[e]),[o,l]=(0,r.useState)((()=>p(n)));(0,r.useEffect)((()=>{l(function(e){let{pluginIds:t,versionPersistence:n,allDocsData:r}=e;function a(e){const t=f.read(e,n);return r[e].versions.some((e=>e.name===t))?{preferredVersionName:t}:(f.clear(e,n),{preferredVersionName:null})}return Object.fromEntries(t.map((e=>[e,a(e)])))}({allDocsData:e,versionPersistence:t,pluginIds:n}))}),[e,t,n]);return[o,(0,r.useMemo)((()=>({savePreferredVersion:function(e,n){f.save(e,t,n),l((t=>({...t,[e]:{preferredVersionName:n}})))}})),[t])]}function m(e){let{children:t}=e;const n=h();return(0,c.jsx)(g.Provider,{value:n,children:t})}function y(e){let{children:t}=e;return l.cE?(0,c.jsx)(m,{children:t}):(0,c.jsx)(c.Fragment,{children:t})}function b(){const e=(0,r.useContext)(g);if(!e)throw new s.i6("DocsPreferredVersionContextProvider");return e}function v(e){void 0===e&&(e=o.m);const t=(0,a.zh)(e),[n,i]=b(),{preferredVersionName:l}=n[e];return{preferredVersion:t.versions.find((e=>e.name===l))??null,savePreferredVersionName:(0,r.useCallback)((t=>{i.savePreferredVersion(e,t)}),[i,e])}}},1116:(e,t,n)=>{"use strict";n.d(t,{V:()=>u,b:()=>s});var r=n(7294),a=n(902),o=n(5893);const i=Symbol("EmptyContext"),l=r.createContext(i);function s(e){let{children:t,name:n,items:a}=e;const i=(0,r.useMemo)((()=>n&&a?{name:n,items:a}:null),[n,a]);return(0,o.jsx)(l.Provider,{value:i,children:t})}function u(){const e=(0,r.useContext)(l);if(e===i)throw new a.i6("DocsSidebarProvider");return e}},4477:(e,t,n)=>{"use strict";n.d(t,{E:()=>s,q:()=>l});var r=n(7294),a=n(902),o=n(5893);const i=r.createContext(null);function l(e){let{children:t,version:n}=e;return(0,o.jsx)(i.Provider,{value:n,children:t})}function s(){const e=(0,r.useContext)(i);if(null===e)throw new a.i6("DocsVersionProvider");return e}},3163:(e,t,n)=>{"use strict";n.d(t,{M:()=>f,e:()=>p});var r=n(7294),a=n(3102),o=n(7524),i=n(1980),l=n(6668),s=n(902),u=n(5893);const c=r.createContext(void 0);function d(){const e=function(){const e=(0,a.HY)(),{items:t}=(0,l.L)().navbar;return 0===t.length&&!e.component}(),t=(0,o.i)(),n=!e&&"mobile"===t,[s,u]=(0,r.useState)(!1);(0,i.Rb)((()=>{if(s)return u(!1),!1}));const c=(0,r.useCallback)((()=>{u((e=>!e))}),[]);return(0,r.useEffect)((()=>{"desktop"===t&&u(!1)}),[t]),(0,r.useMemo)((()=>({disabled:e,shouldRender:n,toggle:c,shown:s})),[e,n,c,s])}function f(e){let{children:t}=e;const n=d();return(0,u.jsx)(c.Provider,{value:n,children:t})}function p(){const e=r.useContext(c);if(void 0===e)throw new s.i6("NavbarMobileSidebarProvider");return e}},3102:(e,t,n)=>{"use strict";n.d(t,{HY:()=>s,Zo:()=>u,n2:()=>l});var r=n(7294),a=n(902),o=n(5893);const i=r.createContext(null);function l(e){let{children:t}=e;const n=(0,r.useState)({component:null,props:null});return(0,o.jsx)(i.Provider,{value:n,children:t})}function s(){const e=(0,r.useContext)(i);if(!e)throw new a.i6("NavbarSecondaryMenuContentProvider");return e[0]}function u(e){let{component:t,props:n}=e;const o=(0,r.useContext)(i);if(!o)throw new a.i6("NavbarSecondaryMenuContentProvider");const[,l]=o,s=(0,a.Ql)(n);return(0,r.useEffect)((()=>{l({component:t,props:s})}),[l,t,s]),(0,r.useEffect)((()=>()=>l({component:null,props:null})),[l]),null}},9727:(e,t,n)=>{"use strict";n.d(t,{h:()=>a,t:()=>o});var r=n(7294);const a="navigation-with-keyboard";function o(){(0,r.useEffect)((()=>{function e(e){"keydown"===e.type&&"Tab"===e.key&&document.body.classList.add(a),"mousedown"===e.type&&document.body.classList.remove(a)}return document.addEventListener("keydown",e),document.addEventListener("mousedown",e),()=>{document.body.classList.remove(a),document.removeEventListener("keydown",e),document.removeEventListener("mousedown",e)}}),[])}},7524:(e,t,n)=>{"use strict";n.d(t,{i:()=>l});var r=n(7294),a=n(412);const o={desktop:"desktop",mobile:"mobile",ssr:"ssr"},i=996;function l(e){let{desktopBreakpoint:t=i}=void 0===e?{}:e;const[n,l]=(0,r.useState)((()=>"ssr"));return(0,r.useEffect)((()=>{function e(){l(function(e){if(!a.Z.canUseDOM)throw new Error("getWindowSize() should only be called after React hydration");return window.innerWidth>e?o.desktop:o.mobile}(t))}return e(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}}),[t]),n}},5281:(e,t,n)=>{"use strict";n.d(t,{k:()=>r});const r={page:{blogListPage:"blog-list-page",blogPostPage:"blog-post-page",blogTagsListPage:"blog-tags-list-page",blogTagPostListPage:"blog-tags-post-list-page",docsDocPage:"docs-doc-page",docsTagsListPage:"docs-tags-list-page",docsTagDocListPage:"docs-tags-doc-list-page",mdxPage:"mdx-page"},wrapper:{main:"main-wrapper",blogPages:"blog-wrapper",docsPages:"docs-wrapper",mdxPages:"mdx-wrapper"},common:{editThisPage:"theme-edit-this-page",lastUpdated:"theme-last-updated",backToTopButton:"theme-back-to-top-button",codeBlock:"theme-code-block",admonition:"theme-admonition",unlistedBanner:"theme-unlisted-banner",admonitionType:e=>`theme-admonition-${e}`},layout:{},docs:{docVersionBanner:"theme-doc-version-banner",docVersionBadge:"theme-doc-version-badge",docBreadcrumbs:"theme-doc-breadcrumbs",docMarkdown:"theme-doc-markdown",docTocMobile:"theme-doc-toc-mobile",docTocDesktop:"theme-doc-toc-desktop",docFooter:"theme-doc-footer",docFooterTagsRow:"theme-doc-footer-tags-row",docFooterEditMetaRow:"theme-doc-footer-edit-meta-row",docSidebarContainer:"theme-doc-sidebar-container",docSidebarMenu:"theme-doc-sidebar-menu",docSidebarItemCategory:"theme-doc-sidebar-item-category",docSidebarItemLink:"theme-doc-sidebar-item-link",docSidebarItemCategoryLevel:e=>`theme-doc-sidebar-item-category-level-${e}`,docSidebarItemLinkLevel:e=>`theme-doc-sidebar-item-link-level-${e}`},blog:{}}},1442:(e,t,n)=>{"use strict";function r(){return window.matchMedia("(prefers-reduced-motion: reduce)").matches}n.d(t,{n:()=>r})},3438:(e,t,n)=>{"use strict";n.d(t,{LM:()=>p,SN:()=>E,_F:()=>m,cE:()=>f,f:()=>b,lO:()=>k,oz:()=>x,s1:()=>w,vY:()=>S});var r=n(7294),a=n(6550),o=n(8790),i=n(143),l=n(373),s=n(4477),u=n(1116),c=n(7392),d=n(8596);const f=!!i._r;function p(e){return"link"!==e.type||e.unlisted?"category"===e.type?function(e){if(e.href&&!e.linkUnlisted)return e.href;for(const t of e.items){const e=p(t);if(e)return e}}(e):void 0:e.href}const g=(e,t)=>void 0!==e&&(0,d.Mg)(e,t),h=(e,t)=>e.some((e=>m(e,t)));function m(e,t){return"link"===e.type?g(e.href,t):"category"===e.type&&(g(e.href,t)||h(e.items,t))}function y(e,t){switch(e.type){case"category":return m(e,t)||e.items.some((e=>y(e,t)));case"link":return!e.unlisted||m(e,t);default:return!0}}function b(e,t){return(0,r.useMemo)((()=>e.filter((e=>y(e,t)))),[e,t])}function v(e){let{sidebarItems:t,pathname:n,onlyCategories:r=!1}=e;const a=[];return function e(t){for(const o of t)if("category"===o.type&&((0,d.Mg)(o.href,n)||e(o.items))||"link"===o.type&&(0,d.Mg)(o.href,n)){return r&&"category"!==o.type||a.unshift(o),!0}return!1}(t),a}function w(){const e=(0,u.V)(),{pathname:t}=(0,a.TH)(),n=(0,i.gA)()?.pluginData.breadcrumbs;return!1!==n&&e?v({sidebarItems:e.items,pathname:t}):null}function k(e){const{activeVersion:t}=(0,i.Iw)(e),{preferredVersion:n}=(0,l.J)(e),a=(0,i.yW)(e);return(0,r.useMemo)((()=>(0,c.j)([t,n,a].filter(Boolean))),[t,n,a])}function x(e,t){const n=k(t);return(0,r.useMemo)((()=>{const t=n.flatMap((e=>e.sidebars?Object.entries(e.sidebars):[])),r=t.find((t=>t[0]===e));if(!r)throw new Error(`Can't find any sidebar with id "${e}" in version${n.length>1?"s":""} ${n.map((e=>e.name)).join(", ")}".\nAvailable sidebar ids are:\n- ${t.map((e=>e[0])).join("\n- ")}`);return r[1]}),[e,n])}function S(e,t){const n=k(t);return(0,r.useMemo)((()=>{const t=n.flatMap((e=>e.docs)),r=t.find((t=>t.id===e));if(!r){if(n.flatMap((e=>e.draftIds)).includes(e))return null;throw new Error(`Couldn't find any doc with id "${e}" in version${n.length>1?"s":""} "${n.map((e=>e.name)).join(", ")}".\nAvailable doc ids are:\n- ${(0,c.j)(t.map((e=>e.id))).join("\n- ")}`)}return r}),[e,n])}function E(e){let{route:t}=e;const n=(0,a.TH)(),r=(0,s.E)(),i=t.routes,l=i.find((e=>(0,a.LX)(n.pathname,e)));if(!l)return null;const u=l.sidebar,c=u?r.docsSidebars[u]:void 0;return{docElement:(0,o.H)(i),sidebarName:u,sidebarItems:c}}},1980:(e,t,n)=>{"use strict";n.d(t,{Rb:()=>i,_X:()=>l});var r=n(7294),a=n(6550),o=n(902);function i(e){!function(e){const t=(0,a.k6)(),n=(0,o.zX)(e);(0,r.useEffect)((()=>t.block(((e,t)=>n(e,t)))),[t,n])}(((t,n)=>{if("POP"===n)return e(t,n)}))}function l(e){return function(e){const t=(0,a.k6)();return(0,r.useSyncExternalStore)(t.listen,(()=>e(t)),(()=>e(t)))}((t=>null===e?null:new URLSearchParams(t.location.search).get(e)))}},7392:(e,t,n)=>{"use strict";function r(e,t){return void 0===t&&(t=(e,t)=>e===t),e.filter(((n,r)=>e.findIndex((e=>t(e,n)))!==r))}function a(e){return Array.from(new Set(e))}n.d(t,{j:()=>a,l:()=>r})},1944:(e,t,n)=>{"use strict";n.d(t,{FG:()=>p,d:()=>d,VC:()=>g});var r=n(7294),a=n(512),o=n(5742),i=n(226);function l(){const e=r.useContext(i._);if(!e)throw new Error("Unexpected: no Docusaurus route context found");return e}var s=n(4996),u=n(2263);var c=n(5893);function d(e){let{title:t,description:n,keywords:r,image:a,children:i}=e;const l=function(e){const{siteConfig:t}=(0,u.Z)(),{title:n,titleDelimiter:r}=t;return e?.trim().length?`${e.trim()} ${r} ${n}`:n}(t),{withBaseUrl:d}=(0,s.C)(),f=a?d(a,{absolute:!0}):void 0;return(0,c.jsxs)(o.Z,{children:[t&&(0,c.jsx)("title",{children:l}),t&&(0,c.jsx)("meta",{property:"og:title",content:l}),n&&(0,c.jsx)("meta",{name:"description",content:n}),n&&(0,c.jsx)("meta",{property:"og:description",content:n}),r&&(0,c.jsx)("meta",{name:"keywords",content:Array.isArray(r)?r.join(","):r}),f&&(0,c.jsx)("meta",{property:"og:image",content:f}),f&&(0,c.jsx)("meta",{name:"twitter:image",content:f}),i]})}const f=r.createContext(void 0);function p(e){let{className:t,children:n}=e;const i=r.useContext(f),l=(0,a.Z)(i,t);return(0,c.jsxs)(f.Provider,{value:l,children:[(0,c.jsx)(o.Z,{children:(0,c.jsx)("html",{className:l})}),n]})}function g(e){let{children:t}=e;const n=l(),r=`plugin-${n.plugin.name.replace(/docusaurus-(?:plugin|theme)-(?:content-)?/gi,"")}`;const o=`plugin-id-${n.plugin.id}`;return(0,c.jsx)(p,{className:(0,a.Z)(r,o),children:t})}},902:(e,t,n)=>{"use strict";n.d(t,{D9:()=>l,Qc:()=>c,Ql:()=>u,i6:()=>s,zX:()=>i});var r=n(7294),a=n(469),o=n(5893);function i(e){const t=(0,r.useRef)(e);return(0,a.Z)((()=>{t.current=e}),[e]),(0,r.useCallback)((function(){return t.current(...arguments)}),[])}function l(e){const t=(0,r.useRef)();return(0,a.Z)((()=>{t.current=e})),t.current}class s extends Error{constructor(e,t){super(),this.name="ReactContextError",this.message=`Hook ${this.stack?.split("\n")[1]?.match(/at (?:\w+\.)?(?<name>\w+)/)?.groups.name??""} is called outside the <${e}>. ${t??""}`}}function u(e){const t=Object.entries(e);return t.sort(((e,t)=>e[0].localeCompare(t[0]))),(0,r.useMemo)((()=>e),t.flat())}function c(e){return t=>{let{children:n}=t;return(0,o.jsx)(o.Fragment,{children:e.reduceRight(((e,t)=>(0,o.jsx)(t,{children:e})),n)})}}},8596:(e,t,n)=>{"use strict";n.d(t,{Mg:()=>i,Ns:()=>l});var r=n(7294),a=n(723),o=n(2263);function i(e,t){const n=e=>(!e||e.endsWith("/")?e:`${e}/`)?.toLowerCase();return n(e)===n(t)}function l(){const{baseUrl:e}=(0,o.Z)().siteConfig;return(0,r.useMemo)((()=>function(e){let{baseUrl:t,routes:n}=e;function r(e){return e.path===t&&!0===e.exact}function a(e){return e.path===t&&!e.exact}return function e(t){if(0===t.length)return;return t.find(r)||e(t.filter(a).flatMap((e=>e.routes??[])))}(n)}({routes:a.Z,baseUrl:e})),[e])}},2466:(e,t,n)=>{"use strict";n.d(t,{Ct:()=>h,OC:()=>c,RF:()=>p,o5:()=>g});var r=n(7294),a=n(412),o=n(2389),i=n(469),l=n(902),s=n(5893);const u=r.createContext(void 0);function c(e){let{children:t}=e;const n=function(){const e=(0,r.useRef)(!0);return(0,r.useMemo)((()=>({scrollEventsEnabledRef:e,enableScrollEvents:()=>{e.current=!0},disableScrollEvents:()=>{e.current=!1}})),[])}();return(0,s.jsx)(u.Provider,{value:n,children:t})}function d(){const e=(0,r.useContext)(u);if(null==e)throw new l.i6("ScrollControllerProvider");return e}const f=()=>a.Z.canUseDOM?{scrollX:window.pageXOffset,scrollY:window.pageYOffset}:null;function p(e,t){void 0===t&&(t=[]);const{scrollEventsEnabledRef:n}=d(),a=(0,r.useRef)(f()),o=(0,l.zX)(e);(0,r.useEffect)((()=>{const e=()=>{if(!n.current)return;const e=f();o(e,a.current),a.current=e},t={passive:!0};return e(),window.addEventListener("scroll",e,t),()=>window.removeEventListener("scroll",e,t)}),[o,n,...t])}function g(){const e=d(),t=function(){const e=(0,r.useRef)({elem:null,top:0}),t=(0,r.useCallback)((t=>{e.current={elem:t,top:t.getBoundingClientRect().top}}),[]),n=(0,r.useCallback)((()=>{const{current:{elem:t,top:n}}=e;if(!t)return{restored:!1};const r=t.getBoundingClientRect().top-n;return r&&window.scrollBy({left:0,top:r}),e.current={elem:null,top:0},{restored:0!==r}}),[]);return(0,r.useMemo)((()=>({save:t,restore:n})),[n,t])}(),n=(0,r.useRef)(void 0),a=(0,r.useCallback)((r=>{t.save(r),e.disableScrollEvents(),n.current=()=>{const{restored:r}=t.restore();if(n.current=void 0,r){const t=()=>{e.enableScrollEvents(),window.removeEventListener("scroll",t)};window.addEventListener("scroll",t)}else e.enableScrollEvents()}}),[e,t]);return(0,i.Z)((()=>{queueMicrotask((()=>n.current?.()))})),{blockElementScrollPositionUntilNextRender:a}}function h(){const e=(0,r.useRef)(null),t=(0,o.Z)()&&"smooth"===getComputedStyle(document.documentElement).scrollBehavior;return{startScroll:n=>{e.current=t?function(e){return window.scrollTo({top:e,behavior:"smooth"}),()=>{}}(n):function(e){let t=null;const n=document.documentElement.scrollTop>e;return function r(){const a=document.documentElement.scrollTop;(n&&a>e||!n&&a<e)&&(t=requestAnimationFrame(r),window.scrollTo(0,Math.floor(.85*(a-e))+e))}(),()=>t&&cancelAnimationFrame(t)}(n)},cancelScroll:()=>e.current?.()}}},3320:(e,t,n)=>{"use strict";n.d(t,{HX:()=>r,os:()=>a});n(2263);const r="default";function a(e,t){return`docs-${e}-${t}`}},12:(e,t,n)=>{"use strict";n.d(t,{Nk:()=>c,WA:()=>u});var r=n(7294);const a="localStorage";function o(e){let{key:t,oldValue:n,newValue:r,storage:a}=e;if(n===r)return;const o=document.createEvent("StorageEvent");o.initStorageEvent("storage",!1,!1,t,n,r,window.location.href,a),window.dispatchEvent(o)}function i(e){if(void 0===e&&(e=a),"undefined"==typeof window)throw new Error("Browser storage is not available on Node.js/Docusaurus SSR process.");if("none"===e)return null;try{return window[e]}catch(n){return t=n,l||(console.warn("Docusaurus browser storage is not available.\nPossible reasons: running Docusaurus in an iframe, in an incognito browser session, or using too strict browser privacy settings.",t),l=!0),null}var t}let l=!1;const s={get:()=>null,set:()=>{},del:()=>{},listen:()=>()=>{}};function u(e,t){if("undefined"==typeof window)return function(e){function t(){throw new Error(`Illegal storage API usage for storage key "${e}".\nDocusaurus storage APIs are not supposed to be called on the server-rendering process.\nPlease only call storage APIs in effects and event handlers.`)}return{get:t,set:t,del:t,listen:t}}(e);const n=i(t?.persistence);return null===n?s:{get:()=>{try{return n.getItem(e)}catch(t){return console.error(`Docusaurus storage error, can't get key=${e}`,t),null}},set:t=>{try{const r=n.getItem(e);n.setItem(e,t),o({key:e,oldValue:r,newValue:t,storage:n})}catch(r){console.error(`Docusaurus storage error, can't set ${e}=${t}`,r)}},del:()=>{try{const t=n.getItem(e);n.removeItem(e),o({key:e,oldValue:t,newValue:null,storage:n})}catch(t){console.error(`Docusaurus storage error, can't delete key=${e}`,t)}},listen:t=>{try{const r=r=>{r.storageArea===n&&r.key===e&&t(r)};return window.addEventListener("storage",r),()=>window.removeEventListener("storage",r)}catch(r){return console.error(`Docusaurus storage error, can't listen for changes of key=${e}`,r),()=>{}}}}}function c(e,t){const n=(0,r.useRef)((()=>null===e?s:u(e,t))).current(),a=(0,r.useCallback)((e=>"undefined"==typeof window?()=>{}:n.listen(e)),[n]);return[(0,r.useSyncExternalStore)(a,(()=>"undefined"==typeof window?null:n.get()),(()=>null)),n]}},4711:(e,t,n)=>{"use strict";n.d(t,{l:()=>i});var r=n(2263),a=n(6550),o=n(8780);function i(){const{siteConfig:{baseUrl:e,url:t,trailingSlash:n},i18n:{defaultLocale:i,currentLocale:l}}=(0,r.Z)(),{pathname:s}=(0,a.TH)(),u=(0,o.applyTrailingSlash)(s,{trailingSlash:n,baseUrl:e}),c=l===i?e:e.replace(`/${l}/`,"/"),d=u.replace(e,"");return{createUrl:function(e){let{locale:n,fullyQualified:r}=e;return`${r?t:""}${function(e){return e===i?`${c}`:`${c}${e}/`}(n)}${d}`}}}},5936:(e,t,n)=>{"use strict";n.d(t,{S:()=>i});var r=n(7294),a=n(6550),o=n(902);function i(e){const t=(0,a.TH)(),n=(0,o.D9)(t),i=(0,o.zX)(e);(0,r.useEffect)((()=>{n&&t!==n&&i({location:t,previousLocation:n})}),[i,t,n])}},6668:(e,t,n)=>{"use strict";n.d(t,{L:()=>a});var r=n(2263);function a(){return(0,r.Z)().siteConfig.themeConfig}},8802:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const{trailingSlash:n,baseUrl:r}=t;if(e.startsWith("#"))return e;if(void 0===n)return e;const[a]=e.split(/[#?]/),o="/"===a||a===r?a:(i=a,n?function(e){return e.endsWith("/")?e:`${e}/`}(i):function(e){return e.endsWith("/")?e.slice(0,-1):e}(i));var i;return e.replace(a,o)}},4143:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getErrorCausalChain=void 0,t.getErrorCausalChain=function e(t){return t.cause?[t,...e(t.cause)]:[t]}},8780:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getErrorCausalChain=t.applyTrailingSlash=t.blogPostContainerID=void 0,t.blogPostContainerID="__blog-post-container";var a=n(8802);Object.defineProperty(t,"applyTrailingSlash",{enumerable:!0,get:function(){return r(a).default}});var o=n(4143);Object.defineProperty(t,"getErrorCausalChain",{enumerable:!0,get:function(){return o.getErrorCausalChain}})},9318:(e,t,n)=>{"use strict";n.d(t,{lX:()=>w,q_:()=>C,ob:()=>p,PP:()=>N,Ep:()=>f});var r=n(7462);function a(e){return"/"===e.charAt(0)}function o(e,t){for(var n=t,r=n+1,a=e.length;r<a;n+=1,r+=1)e[n]=e[r];e.pop()}const i=function(e,t){void 0===t&&(t="");var n,r=e&&e.split("/")||[],i=t&&t.split("/")||[],l=e&&a(e),s=t&&a(t),u=l||s;if(e&&a(e)?i=r:r.length&&(i.pop(),i=i.concat(r)),!i.length)return"/";if(i.length){var c=i[i.length-1];n="."===c||".."===c||""===c}else n=!1;for(var d=0,f=i.length;f>=0;f--){var p=i[f];"."===p?o(i,f):".."===p?(o(i,f),d++):d&&(o(i,f),d--)}if(!u)for(;d--;d)i.unshift("..");!u||""===i[0]||i[0]&&a(i[0])||i.unshift("");var g=i.join("/");return n&&"/"!==g.substr(-1)&&(g+="/"),g};var l=n(8776);function s(e){return"/"===e.charAt(0)?e:"/"+e}function u(e){return"/"===e.charAt(0)?e.substr(1):e}function c(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}function d(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function f(e){var t=e.pathname,n=e.search,r=e.hash,a=t||"/";return n&&"?"!==n&&(a+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(a+="#"===r.charAt(0)?r:"#"+r),a}function p(e,t,n,a){var o;"string"==typeof e?(o=function(e){var t=e||"/",n="",r="",a=t.indexOf("#");-1!==a&&(r=t.substr(a),t=t.substr(0,a));var o=t.indexOf("?");return-1!==o&&(n=t.substr(o),t=t.substr(0,o)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}(e),o.state=t):(void 0===(o=(0,r.Z)({},e)).pathname&&(o.pathname=""),o.search?"?"!==o.search.charAt(0)&&(o.search="?"+o.search):o.search="",o.hash?"#"!==o.hash.charAt(0)&&(o.hash="#"+o.hash):o.hash="",void 0!==t&&void 0===o.state&&(o.state=t));try{o.pathname=decodeURI(o.pathname)}catch(l){throw l instanceof URIError?new URIError('Pathname "'+o.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):l}return n&&(o.key=n),a?o.pathname?"/"!==o.pathname.charAt(0)&&(o.pathname=i(o.pathname,a.pathname)):o.pathname=a.pathname:o.pathname||(o.pathname="/"),o}function g(){var e=null;var t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,a){if(null!=e){var o="function"==typeof e?e(t,n):e;"string"==typeof o?"function"==typeof r?r(o,a):a(!0):a(!1!==o)}else a(!0)},appendListener:function(e){var n=!0;function r(){n&&e.apply(void 0,arguments)}return t.push(r),function(){n=!1,t=t.filter((function(e){return e!==r}))}},notifyListeners:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];t.forEach((function(e){return e.apply(void 0,n)}))}}}var h=!("undefined"==typeof window||!window.document||!window.document.createElement);function m(e,t){t(window.confirm(e))}var y="popstate",b="hashchange";function v(){try{return window.history.state||{}}catch(e){return{}}}function w(e){void 0===e&&(e={}),h||(0,l.Z)(!1);var t,n=window.history,a=(-1===(t=window.navigator.userAgent).indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history,o=!(-1===window.navigator.userAgent.indexOf("Trident")),i=e,u=i.forceRefresh,w=void 0!==u&&u,k=i.getUserConfirmation,x=void 0===k?m:k,S=i.keyLength,E=void 0===S?6:S,_=e.basename?d(s(e.basename)):"";function C(e){var t=e||{},n=t.key,r=t.state,a=window.location,o=a.pathname+a.search+a.hash;return _&&(o=c(o,_)),p(o,r,n)}function T(){return Math.random().toString(36).substr(2,E)}var N=g();function A(e){(0,r.Z)($,e),$.length=n.length,N.notifyListeners($.location,$.action)}function j(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||P(C(e.state))}function L(){P(C(v()))}var O=!1;function P(e){if(O)O=!1,A();else{N.confirmTransitionTo(e,"POP",x,(function(t){t?A({action:"POP",location:e}):function(e){var t=$.location,n=I.indexOf(t.key);-1===n&&(n=0);var r=I.indexOf(e.key);-1===r&&(r=0);var a=n-r;a&&(O=!0,F(a))}(e)}))}}var R=C(v()),I=[R.key];function D(e){return _+f(e)}function F(e){n.go(e)}var M=0;function z(e){1===(M+=e)&&1===e?(window.addEventListener(y,j),o&&window.addEventListener(b,L)):0===M&&(window.removeEventListener(y,j),o&&window.removeEventListener(b,L))}var B=!1;var $={length:n.length,action:"POP",location:R,createHref:D,push:function(e,t){var r="PUSH",o=p(e,t,T(),$.location);N.confirmTransitionTo(o,r,x,(function(e){if(e){var t=D(o),i=o.key,l=o.state;if(a)if(n.pushState({key:i,state:l},null,t),w)window.location.href=t;else{var s=I.indexOf($.location.key),u=I.slice(0,s+1);u.push(o.key),I=u,A({action:r,location:o})}else window.location.href=t}}))},replace:function(e,t){var r="REPLACE",o=p(e,t,T(),$.location);N.confirmTransitionTo(o,r,x,(function(e){if(e){var t=D(o),i=o.key,l=o.state;if(a)if(n.replaceState({key:i,state:l},null,t),w)window.location.replace(t);else{var s=I.indexOf($.location.key);-1!==s&&(I[s]=o.key),A({action:r,location:o})}else window.location.replace(t)}}))},go:F,goBack:function(){F(-1)},goForward:function(){F(1)},block:function(e){void 0===e&&(e=!1);var t=N.setPrompt(e);return B||(z(1),B=!0),function(){return B&&(B=!1,z(-1)),t()}},listen:function(e){var t=N.appendListener(e);return z(1),function(){z(-1),t()}}};return $}var k="hashchange",x={hashbang:{encodePath:function(e){return"!"===e.charAt(0)?e:"!/"+u(e)},decodePath:function(e){return"!"===e.charAt(0)?e.substr(1):e}},noslash:{encodePath:u,decodePath:s},slash:{encodePath:s,decodePath:s}};function S(e){var t=e.indexOf("#");return-1===t?e:e.slice(0,t)}function E(){var e=window.location.href,t=e.indexOf("#");return-1===t?"":e.substring(t+1)}function _(e){window.location.replace(S(window.location.href)+"#"+e)}function C(e){void 0===e&&(e={}),h||(0,l.Z)(!1);var t=window.history,n=(window.navigator.userAgent.indexOf("Firefox"),e),a=n.getUserConfirmation,o=void 0===a?m:a,i=n.hashType,u=void 0===i?"slash":i,y=e.basename?d(s(e.basename)):"",b=x[u],v=b.encodePath,w=b.decodePath;function C(){var e=w(E());return y&&(e=c(e,y)),p(e)}var T=g();function N(e){(0,r.Z)(B,e),B.length=t.length,T.notifyListeners(B.location,B.action)}var A=!1,j=null;function L(){var e,t,n=E(),r=v(n);if(n!==r)_(r);else{var a=C(),i=B.location;if(!A&&(t=a,(e=i).pathname===t.pathname&&e.search===t.search&&e.hash===t.hash))return;if(j===f(a))return;j=null,function(e){if(A)A=!1,N();else{var t="POP";T.confirmTransitionTo(e,t,o,(function(n){n?N({action:t,location:e}):function(e){var t=B.location,n=I.lastIndexOf(f(t));-1===n&&(n=0);var r=I.lastIndexOf(f(e));-1===r&&(r=0);var a=n-r;a&&(A=!0,D(a))}(e)}))}}(a)}}var O=E(),P=v(O);O!==P&&_(P);var R=C(),I=[f(R)];function D(e){t.go(e)}var F=0;function M(e){1===(F+=e)&&1===e?window.addEventListener(k,L):0===F&&window.removeEventListener(k,L)}var z=!1;var B={length:t.length,action:"POP",location:R,createHref:function(e){var t=document.querySelector("base"),n="";return t&&t.getAttribute("href")&&(n=S(window.location.href)),n+"#"+v(y+f(e))},push:function(e,t){var n="PUSH",r=p(e,void 0,void 0,B.location);T.confirmTransitionTo(r,n,o,(function(e){if(e){var t=f(r),a=v(y+t);if(E()!==a){j=t,function(e){window.location.hash=e}(a);var o=I.lastIndexOf(f(B.location)),i=I.slice(0,o+1);i.push(t),I=i,N({action:n,location:r})}else N()}}))},replace:function(e,t){var n="REPLACE",r=p(e,void 0,void 0,B.location);T.confirmTransitionTo(r,n,o,(function(e){if(e){var t=f(r),a=v(y+t);E()!==a&&(j=t,_(a));var o=I.indexOf(f(B.location));-1!==o&&(I[o]=t),N({action:n,location:r})}}))},go:D,goBack:function(){D(-1)},goForward:function(){D(1)},block:function(e){void 0===e&&(e=!1);var t=T.setPrompt(e);return z||(M(1),z=!0),function(){return z&&(z=!1,M(-1)),t()}},listen:function(e){var t=T.appendListener(e);return M(1),function(){M(-1),t()}}};return B}function T(e,t,n){return Math.min(Math.max(e,t),n)}function N(e){void 0===e&&(e={});var t=e,n=t.getUserConfirmation,a=t.initialEntries,o=void 0===a?["/"]:a,i=t.initialIndex,l=void 0===i?0:i,s=t.keyLength,u=void 0===s?6:s,c=g();function d(e){(0,r.Z)(w,e),w.length=w.entries.length,c.notifyListeners(w.location,w.action)}function h(){return Math.random().toString(36).substr(2,u)}var m=T(l,0,o.length-1),y=o.map((function(e){return p(e,void 0,"string"==typeof e?h():e.key||h())})),b=f;function v(e){var t=T(w.index+e,0,w.entries.length-1),r=w.entries[t];c.confirmTransitionTo(r,"POP",n,(function(e){e?d({action:"POP",location:r,index:t}):d()}))}var w={length:y.length,action:"POP",location:y[m],index:m,entries:y,createHref:b,push:function(e,t){var r="PUSH",a=p(e,t,h(),w.location);c.confirmTransitionTo(a,r,n,(function(e){if(e){var t=w.index+1,n=w.entries.slice(0);n.length>t?n.splice(t,n.length-t,a):n.push(a),d({action:r,location:a,index:t,entries:n})}}))},replace:function(e,t){var r="REPLACE",a=p(e,t,h(),w.location);c.confirmTransitionTo(a,r,n,(function(e){e&&(w.entries[w.index]=a,d({action:r,location:a}))}))},go:v,goBack:function(){v(-1)},goForward:function(){v(1)},canGo:function(e){var t=w.index+e;return t>=0&&t<w.entries.length},block:function(e){return void 0===e&&(e=!1),c.setPrompt(e)},listen:function(e){return c.appendListener(e)}};return w}},8679:(e,t,n)=>{"use strict";var r=n(9864),a={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},l={};function s(e){return r.isMemo(e)?i:l[e.$$typeof]||a}l[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l[r.Memo]=i;var u=Object.defineProperty,c=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,g=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(g){var a=p(n);a&&a!==g&&e(t,a,r)}var i=c(n);d&&(i=i.concat(d(n)));for(var l=s(t),h=s(n),m=0;m<i.length;++m){var y=i[m];if(!(o[y]||r&&r[y]||h&&h[y]||l&&l[y])){var b=f(n,y);try{u(t,y,b)}catch(v){}}}}return t}},1143:e=>{"use strict";e.exports=function(e,t,n,r,a,o,i,l){if(!e){var s;if(void 0===t)s=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,r,a,o,i,l],c=0;(s=new Error(t.replace(/%s/g,(function(){return u[c++]})))).name="Invariant Violation"}throw s.framesToPop=1,s}}},5826:e=>{e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},2497:(e,t,n)=>{"use strict";n.r(t)},2295:(e,t,n)=>{"use strict";n.r(t)},4865:function(e,t,n){var r,a;r=function(){var e,t,n={version:"0.2.0"},r=n.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'};function a(e,t,n){return e<t?t:e>n?n:e}function o(e){return 100*(-1+e)}function i(e,t,n){var a;return(a="translate3d"===r.positionUsing?{transform:"translate3d("+o(e)+"%,0,0)"}:"translate"===r.positionUsing?{transform:"translate("+o(e)+"%,0)"}:{"margin-left":o(e)+"%"}).transition="all "+t+"ms "+n,a}n.configure=function(e){var t,n;for(t in e)void 0!==(n=e[t])&&e.hasOwnProperty(t)&&(r[t]=n);return this},n.status=null,n.set=function(e){var t=n.isStarted();e=a(e,r.minimum,1),n.status=1===e?null:e;var o=n.render(!t),u=o.querySelector(r.barSelector),c=r.speed,d=r.easing;return o.offsetWidth,l((function(t){""===r.positionUsing&&(r.positionUsing=n.getPositioningCSS()),s(u,i(e,c,d)),1===e?(s(o,{transition:"none",opacity:1}),o.offsetWidth,setTimeout((function(){s(o,{transition:"all "+c+"ms linear",opacity:0}),setTimeout((function(){n.remove(),t()}),c)}),c)):setTimeout(t,c)})),this},n.isStarted=function(){return"number"==typeof n.status},n.start=function(){n.status||n.set(0);var e=function(){setTimeout((function(){n.status&&(n.trickle(),e())}),r.trickleSpeed)};return r.trickle&&e(),this},n.done=function(e){return e||n.status?n.inc(.3+.5*Math.random()).set(1):this},n.inc=function(e){var t=n.status;return t?("number"!=typeof e&&(e=(1-t)*a(Math.random()*t,.1,.95)),t=a(t+e,0,.994),n.set(t)):n.start()},n.trickle=function(){return n.inc(Math.random()*r.trickleRate)},e=0,t=0,n.promise=function(r){return r&&"resolved"!==r.state()?(0===t&&n.start(),e++,t++,r.always((function(){0==--t?(e=0,n.done()):n.set((e-t)/e)})),this):this},n.render=function(e){if(n.isRendered())return document.getElementById("nprogress");c(document.documentElement,"nprogress-busy");var t=document.createElement("div");t.id="nprogress",t.innerHTML=r.template;var a,i=t.querySelector(r.barSelector),l=e?"-100":o(n.status||0),u=document.querySelector(r.parent);return s(i,{transition:"all 0 linear",transform:"translate3d("+l+"%,0,0)"}),r.showSpinner||(a=t.querySelector(r.spinnerSelector))&&p(a),u!=document.body&&c(u,"nprogress-custom-parent"),u.appendChild(t),t},n.remove=function(){d(document.documentElement,"nprogress-busy"),d(document.querySelector(r.parent),"nprogress-custom-parent");var e=document.getElementById("nprogress");e&&p(e)},n.isRendered=function(){return!!document.getElementById("nprogress")},n.getPositioningCSS=function(){var e=document.body.style,t="WebkitTransform"in e?"Webkit":"MozTransform"in e?"Moz":"msTransform"in e?"ms":"OTransform"in e?"O":"";return t+"Perspective"in e?"translate3d":t+"Transform"in e?"translate":"margin"};var l=function(){var e=[];function t(){var n=e.shift();n&&n(t)}return function(n){e.push(n),1==e.length&&t()}}(),s=function(){var e=["Webkit","O","Moz","ms"],t={};function n(e){return e.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,(function(e,t){return t.toUpperCase()}))}function r(t){var n=document.body.style;if(t in n)return t;for(var r,a=e.length,o=t.charAt(0).toUpperCase()+t.slice(1);a--;)if((r=e[a]+o)in n)return r;return t}function a(e){return e=n(e),t[e]||(t[e]=r(e))}function o(e,t,n){t=a(t),e.style[t]=n}return function(e,t){var n,r,a=arguments;if(2==a.length)for(n in t)void 0!==(r=t[n])&&t.hasOwnProperty(n)&&o(e,n,r);else o(e,a[1],a[2])}}();function u(e,t){return("string"==typeof e?e:f(e)).indexOf(" "+t+" ")>=0}function c(e,t){var n=f(e),r=n+t;u(n,t)||(e.className=r.substring(1))}function d(e,t){var n,r=f(e);u(e,t)&&(n=r.replace(" "+t+" "," "),e.className=n.substring(1,n.length-1))}function f(e){return(" "+(e.className||"")+" ").replace(/\s+/gi," ")}function p(e){e&&e.parentNode&&e.parentNode.removeChild(e)}return n},void 0===(a="function"==typeof r?r.call(t,n,t,e):r)||(e.exports=a)},7874:()=>{!function(e){var t="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",n={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},r={bash:n,environment:{pattern:RegExp("\\$"+t),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+t),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};e.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?:\.\w+)*(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+t),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},parameter:{pattern:/(^|\s)-{1,2}(?:\w+:[+-]?)?\w+(?:\.\w+)*(?=[=\s]|$)/,alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:r},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:n}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:r},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:r.entity}}],environment:{pattern:RegExp("\\$?"+t),alias:"constant"},variable:r.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cargo|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|java|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|sysctl|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},n.inside=e.languages.bash;for(var a=["comment","function-name","for-or-select","assign-left","parameter","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],o=r.variable[1].inside,i=0;i<a.length;i++)o[a[i]]=e.languages.bash[a[i]];e.languages.sh=e.languages.bash,e.languages.shell=e.languages.bash}(Prism)},2503:()=>{!function(e){var t=/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record(?!\s*[(){}[\]<>=%~.:,;?+\-*/&|^])|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,n=/(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,r={pattern:RegExp(/(^|[^\w.])/.source+n+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./}};e.languages.java=e.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"/,lookbehind:!0,greedy:!0},"class-name":[r,{pattern:RegExp(/(^|[^\w.])/.source+n+/[A-Z]\w*(?=\s+\w+\s*[;,=()]|\s*(?:\[[\s,]*\]\s*)?::\s*new\b)/.source),lookbehind:!0,inside:r.inside},{pattern:RegExp(/(\b(?:class|enum|extends|implements|instanceof|interface|new|record|throws)\s+)/.source+n+/[A-Z]\w*\b/.source),lookbehind:!0,inside:r.inside}],keyword:t,function:[e.languages.clike.function,{pattern:/(::\s*)[a-z_]\w*/,lookbehind:!0}],number:/\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0},constant:/\b[A-Z][A-Z_\d]+\b/}),e.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"},char:{pattern:/'(?:\\.|[^'\\\r\n]){1,6}'/,greedy:!0}}),e.languages.insertBefore("java","class-name",{annotation:{pattern:/(^|[^.])@\w+(?:\s*\.\s*\w+)*/,lookbehind:!0,alias:"punctuation"},generics:{pattern:/<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,inside:{"class-name":r,keyword:t,punctuation:/[<>(),.:]/,operator:/[?&|]/}},import:[{pattern:RegExp(/(\bimport\s+)/.source+n+/(?:[A-Z]\w*|\*)(?=\s*;)/.source),lookbehind:!0,inside:{namespace:r.inside.namespace,punctuation:/\./,operator:/\*/,"class-name":/\w+/}},{pattern:RegExp(/(\bimport\s+static\s+)/.source+n+/(?:\w+|\*)(?=\s*;)/.source),lookbehind:!0,alias:"static",inside:{namespace:r.inside.namespace,static:/\b\w+$/,punctuation:/\./,operator:/\*/,"class-name":/\w+/}}],namespace:{pattern:RegExp(/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)(?!<keyword>)[a-z]\w*(?:\.[a-z]\w*)*\.?/.source.replace(/<keyword>/g,(function(){return t.source}))),lookbehind:!0,inside:{punctuation:/\./}}})}(Prism)},6854:()=>{!function(e){function t(e,t){return"___"+e.toUpperCase()+t+"___"}Object.defineProperties(e.languages["markup-templating"]={},{buildPlaceholders:{value:function(n,r,a,o){if(n.language===r){var i=n.tokenStack=[];n.code=n.code.replace(a,(function(e){if("function"==typeof o&&!o(e))return e;for(var a,l=i.length;-1!==n.code.indexOf(a=t(r,l));)++l;return i[l]=e,a})),n.grammar=e.languages.markup}}},tokenizePlaceholders:{value:function(n,r){if(n.language===r&&n.tokenStack){n.grammar=e.languages[r];var a=0,o=Object.keys(n.tokenStack);!function i(l){for(var s=0;s<l.length&&!(a>=o.length);s++){var u=l[s];if("string"==typeof u||u.content&&"string"==typeof u.content){var c=o[a],d=n.tokenStack[c],f="string"==typeof u?u:u.content,p=t(r,c),g=f.indexOf(p);if(g>-1){++a;var h=f.substring(0,g),m=new e.Token(r,e.tokenize(d,n.grammar),"language-"+r,d),y=f.substring(g+p.length),b=[];h&&b.push.apply(b,i([h])),b.push(m),y&&b.push.apply(b,i([y])),"string"==typeof u?l.splice.apply(l,[s,1].concat(b)):u.content=b}}else u.content&&i(u.content)}return l}(n.tokens)}}}})}(Prism)},1349:(e,t,n)=>{var r={"./prism-bash":7874,"./prism-java":2503};function a(e){var t=o(e);return n(t)}function o(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}a.keys=function(){return Object.keys(r)},a.resolve=o,e.exports=a,a.id=1349},2703:(e,t,n)=>{"use strict";var r=n(414);function a(){}function o(){}o.resetWarningCache=a,e.exports=function(){function e(e,t,n,a,o,i){if(i!==r){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:a};return n.PropTypes=n,n}},5697:(e,t,n)=>{e.exports=n(2703)()},414:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},4448:(e,t,n)=>{"use strict";var r=n(7294),a=n(3840);function o(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var i=new Set,l={};function s(e,t){u(e,t),u(e+"Capture",t)}function u(e,t){for(l[e]=t,e=0;e<t.length;e++)i.add(t[e])}var c=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),d=Object.prototype.hasOwnProperty,f=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,p={},g={};function h(e,t,n,r,a,o,i){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=a,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=i}var m={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){m[e]=new h(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];m[t]=new h(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){m[e]=new h(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){m[e]=new h(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){m[e]=new h(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){m[e]=new h(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){m[e]=new h(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){m[e]=new h(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){m[e]=new h(e,5,!1,e.toLowerCase(),null,!1,!1)}));var y=/[\-:]([a-z])/g;function b(e){return e[1].toUpperCase()}function v(e,t,n,r){var a=m.hasOwnProperty(t)?m[t]:null;(null!==a?0!==a.type:r||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,a,r)&&(n=null),r||null===a?function(e){return!!d.call(g,e)||!d.call(p,e)&&(f.test(e)?g[e]=!0:(p[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):a.mustUseProperty?e[a.propertyName]=null===n?3!==a.type&&"":n:(t=a.attributeName,r=a.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(a=a.type)||4===a&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(y,b);m[t]=new h(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(y,b);m[t]=new h(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(y,b);m[t]=new h(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){m[e]=new h(e,1,!1,e.toLowerCase(),null,!1,!1)})),m.xlinkHref=new h("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){m[e]=new h(e,1,!1,e.toLowerCase(),null,!0,!0)}));var w=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,k=Symbol.for("react.element"),x=Symbol.for("react.portal"),S=Symbol.for("react.fragment"),E=Symbol.for("react.strict_mode"),_=Symbol.for("react.profiler"),C=Symbol.for("react.provider"),T=Symbol.for("react.context"),N=Symbol.for("react.forward_ref"),A=Symbol.for("react.suspense"),j=Symbol.for("react.suspense_list"),L=Symbol.for("react.memo"),O=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var P=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var R=Symbol.iterator;function I(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=R&&e[R]||e["@@iterator"])?e:null}var D,F=Object.assign;function M(e){if(void 0===D)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);D=t&&t[1]||""}return"\n"+D+e}var z=!1;function B(e,t){if(!e||z)return"";z=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}catch(u){if(u&&r&&"string"==typeof u.stack){for(var a=u.stack.split("\n"),o=r.stack.split("\n"),i=a.length-1,l=o.length-1;1<=i&&0<=l&&a[i]!==o[l];)l--;for(;1<=i&&0<=l;i--,l--)if(a[i]!==o[l]){if(1!==i||1!==l)do{if(i--,0>--l||a[i]!==o[l]){var s="\n"+a[i].replace(" at new "," at ");return e.displayName&&s.includes("<anonymous>")&&(s=s.replace("<anonymous>",e.displayName)),s}}while(1<=i&&0<=l);break}}}finally{z=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?M(e):""}function $(e){switch(e.tag){case 5:return M(e.type);case 16:return M("Lazy");case 13:return M("Suspense");case 19:return M("SuspenseList");case 0:case 2:case 15:return e=B(e.type,!1);case 11:return e=B(e.type.render,!1);case 1:return e=B(e.type,!0);default:return""}}function U(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case S:return"Fragment";case x:return"Portal";case _:return"Profiler";case E:return"StrictMode";case A:return"Suspense";case j:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case T:return(e.displayName||"Context")+".Consumer";case C:return(e._context.displayName||"Context")+".Provider";case N:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case L:return null!==(t=e.displayName||null)?t:U(e.type)||"Memo";case O:t=e._payload,e=e._init;try{return U(e(t))}catch(n){}}return null}function Z(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return U(t);case 8:return t===E?"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("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t}return null}function H(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function V(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function W(e){e._valueTracker||(e._valueTracker=function(e){var t=V(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var a=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return a.call(this)},set:function(e){r=""+e,o.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function G(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=V(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function q(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function Y(e,t){var n=t.checked;return F({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function K(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=H(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function Q(e,t){null!=(t=t.checked)&&v(e,"checked",t,!1)}function X(e,t){Q(e,t);var n=H(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?ee(e,t.type,n):t.hasOwnProperty("defaultValue")&&ee(e,t.type,H(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function J(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function ee(e,t,n){"number"===t&&q(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var te=Array.isArray;function ne(e,t,n,r){if(e=e.options,t){t={};for(var a=0;a<n.length;a++)t["$"+n[a]]=!0;for(n=0;n<e.length;n++)a=t.hasOwnProperty("$"+e[n].value),e[n].selected!==a&&(e[n].selected=a),a&&r&&(e[n].defaultSelected=!0)}else{for(n=""+H(n),t=null,a=0;a<e.length;a++){if(e[a].value===n)return e[a].selected=!0,void(r&&(e[a].defaultSelected=!0));null!==t||e[a].disabled||(t=e[a])}null!==t&&(t.selected=!0)}}function re(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(o(91));return F({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function ae(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(o(92));if(te(n)){if(1<n.length)throw Error(o(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:H(n)}}function oe(e,t){var n=H(t.value),r=H(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function ie(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function le(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function se(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?le(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var ue,ce,de=(ce=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((ue=ue||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ue.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return ce(e,t)}))}:ce);function fe(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var pe={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},ge=["Webkit","ms","Moz","O"];function he(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||pe.hasOwnProperty(e)&&pe[e]?(""+t).trim():t+"px"}function me(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),a=he(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,a):e[n]=a}}Object.keys(pe).forEach((function(e){ge.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),pe[t]=pe[e]}))}));var ye=F({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 be(e,t){if(t){if(ye[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(o(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(o(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(o(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(o(62))}}function ve(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var we=null;function ke(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var xe=null,Se=null,Ee=null;function _e(e){if(e=va(e)){if("function"!=typeof xe)throw Error(o(280));var t=e.stateNode;t&&(t=ka(t),xe(e.stateNode,e.type,t))}}function Ce(e){Se?Ee?Ee.push(e):Ee=[e]:Se=e}function Te(){if(Se){var e=Se,t=Ee;if(Ee=Se=null,_e(e),t)for(e=0;e<t.length;e++)_e(t[e])}}function Ne(e,t){return e(t)}function Ae(){}var je=!1;function Le(e,t,n){if(je)return e(t,n);je=!0;try{return Ne(e,t,n)}finally{je=!1,(null!==Se||null!==Ee)&&(Ae(),Te())}}function Oe(e,t){var n=e.stateNode;if(null===n)return null;var r=ka(n);if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(o(231,t,typeof n));return n}var Pe=!1;if(c)try{var Re={};Object.defineProperty(Re,"passive",{get:function(){Pe=!0}}),window.addEventListener("test",Re,Re),window.removeEventListener("test",Re,Re)}catch(ce){Pe=!1}function Ie(e,t,n,r,a,o,i,l,s){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(c){this.onError(c)}}var De=!1,Fe=null,Me=!1,ze=null,Be={onError:function(e){De=!0,Fe=e}};function $e(e,t,n,r,a,o,i,l,s){De=!1,Fe=null,Ie.apply(Be,arguments)}function Ue(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!=(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function Ze(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function He(e){if(Ue(e)!==e)throw Error(o(188))}function Ve(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=Ue(e)))throw Error(o(188));return t!==e?null:e}for(var n=e,r=t;;){var a=n.return;if(null===a)break;var i=a.alternate;if(null===i){if(null!==(r=a.return)){n=r;continue}break}if(a.child===i.child){for(i=a.child;i;){if(i===n)return He(a),e;if(i===r)return He(a),t;i=i.sibling}throw Error(o(188))}if(n.return!==r.return)n=a,r=i;else{for(var l=!1,s=a.child;s;){if(s===n){l=!0,n=a,r=i;break}if(s===r){l=!0,r=a,n=i;break}s=s.sibling}if(!l){for(s=i.child;s;){if(s===n){l=!0,n=i,r=a;break}if(s===r){l=!0,r=i,n=a;break}s=s.sibling}if(!l)throw Error(o(189))}}if(n.alternate!==r)throw Error(o(190))}if(3!==n.tag)throw Error(o(188));return n.stateNode.current===n?e:t}(e))?We(e):null}function We(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=We(e);if(null!==t)return t;e=e.sibling}return null}var Ge=a.unstable_scheduleCallback,qe=a.unstable_cancelCallback,Ye=a.unstable_shouldYield,Ke=a.unstable_requestPaint,Qe=a.unstable_now,Xe=a.unstable_getCurrentPriorityLevel,Je=a.unstable_ImmediatePriority,et=a.unstable_UserBlockingPriority,tt=a.unstable_NormalPriority,nt=a.unstable_LowPriority,rt=a.unstable_IdlePriority,at=null,ot=null;var it=Math.clz32?Math.clz32:function(e){return e>>>=0,0===e?32:31-(lt(e)/st|0)|0},lt=Math.log,st=Math.LN2;var ut=64,ct=4194304;function dt(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 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function ft(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,a=e.suspendedLanes,o=e.pingedLanes,i=268435455&n;if(0!==i){var l=i&~a;0!==l?r=dt(l):0!==(o&=i)&&(r=dt(o))}else 0!==(i=n&~a)?r=dt(i):0!==o&&(r=dt(o));if(0===r)return 0;if(0!==t&&t!==r&&0==(t&a)&&((a=r&-r)>=(o=t&-t)||16===a&&0!=(4194240&o)))return t;if(0!=(4&r)&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)a=1<<(n=31-it(t)),r|=e[n],t&=~a;return r}function pt(e,t){switch(e){case 1:case 2:case 4:return t+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 t+5e3;default:return-1}}function gt(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function ht(){var e=ut;return 0==(4194240&(ut<<=1))&&(ut=64),e}function mt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function yt(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-it(t)]=n}function bt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-it(n),a=1<<r;a&t|e[r]&t&&(e[r]|=t),n&=~a}}var vt=0;function wt(e){return 1<(e&=-e)?4<e?0!=(268435455&e)?16:536870912:4:1}var kt,xt,St,Et,_t,Ct=!1,Tt=[],Nt=null,At=null,jt=null,Lt=new Map,Ot=new Map,Pt=[],Rt="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 It(e,t){switch(e){case"focusin":case"focusout":Nt=null;break;case"dragenter":case"dragleave":At=null;break;case"mouseover":case"mouseout":jt=null;break;case"pointerover":case"pointerout":Lt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Ot.delete(t.pointerId)}}function Dt(e,t,n,r,a,o){return null===e||e.nativeEvent!==o?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:o,targetContainers:[a]},null!==t&&(null!==(t=va(t))&&xt(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==a&&-1===t.indexOf(a)&&t.push(a),e)}function Ft(e){var t=ba(e.target);if(null!==t){var n=Ue(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=Ze(n)))return e.blockedOn=t,void _t(e.priority,(function(){St(n)}))}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Mt(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Yt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=va(n))&&xt(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);we=r,n.target.dispatchEvent(r),we=null,t.shift()}return!0}function zt(e,t,n){Mt(e)&&n.delete(t)}function Bt(){Ct=!1,null!==Nt&&Mt(Nt)&&(Nt=null),null!==At&&Mt(At)&&(At=null),null!==jt&&Mt(jt)&&(jt=null),Lt.forEach(zt),Ot.forEach(zt)}function $t(e,t){e.blockedOn===t&&(e.blockedOn=null,Ct||(Ct=!0,a.unstable_scheduleCallback(a.unstable_NormalPriority,Bt)))}function Ut(e){function t(t){return $t(t,e)}if(0<Tt.length){$t(Tt[0],e);for(var n=1;n<Tt.length;n++){var r=Tt[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==Nt&&$t(Nt,e),null!==At&&$t(At,e),null!==jt&&$t(jt,e),Lt.forEach(t),Ot.forEach(t),n=0;n<Pt.length;n++)(r=Pt[n]).blockedOn===e&&(r.blockedOn=null);for(;0<Pt.length&&null===(n=Pt[0]).blockedOn;)Ft(n),null===n.blockedOn&&Pt.shift()}var Zt=w.ReactCurrentBatchConfig,Ht=!0;function Vt(e,t,n,r){var a=vt,o=Zt.transition;Zt.transition=null;try{vt=1,Gt(e,t,n,r)}finally{vt=a,Zt.transition=o}}function Wt(e,t,n,r){var a=vt,o=Zt.transition;Zt.transition=null;try{vt=4,Gt(e,t,n,r)}finally{vt=a,Zt.transition=o}}function Gt(e,t,n,r){if(Ht){var a=Yt(e,t,n,r);if(null===a)Hr(e,t,r,qt,n),It(e,r);else if(function(e,t,n,r,a){switch(t){case"focusin":return Nt=Dt(Nt,e,t,n,r,a),!0;case"dragenter":return At=Dt(At,e,t,n,r,a),!0;case"mouseover":return jt=Dt(jt,e,t,n,r,a),!0;case"pointerover":var o=a.pointerId;return Lt.set(o,Dt(Lt.get(o)||null,e,t,n,r,a)),!0;case"gotpointercapture":return o=a.pointerId,Ot.set(o,Dt(Ot.get(o)||null,e,t,n,r,a)),!0}return!1}(a,e,t,n,r))r.stopPropagation();else if(It(e,r),4&t&&-1<Rt.indexOf(e)){for(;null!==a;){var o=va(a);if(null!==o&&kt(o),null===(o=Yt(e,t,n,r))&&Hr(e,t,r,qt,n),o===a)break;a=o}null!==a&&r.stopPropagation()}else Hr(e,t,r,null,n)}}var qt=null;function Yt(e,t,n,r){if(qt=null,null!==(e=ba(e=ke(r))))if(null===(t=Ue(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=Ze(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return qt=e,null}function Kt(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(Xe()){case Je:return 1;case et:return 4;case tt:case nt:return 16;case rt:return 536870912;default:return 16}default:return 16}}var Qt=null,Xt=null,Jt=null;function en(){if(Jt)return Jt;var e,t,n=Xt,r=n.length,a="value"in Qt?Qt.value:Qt.textContent,o=a.length;for(e=0;e<r&&n[e]===a[e];e++);var i=r-e;for(t=1;t<=i&&n[r-t]===a[o-t];t++);return Jt=a.slice(e,1<t?1-t:void 0)}function tn(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function nn(){return!0}function rn(){return!1}function an(e){function t(t,n,r,a,o){for(var i in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=a,this.target=o,this.currentTarget=null,e)e.hasOwnProperty(i)&&(t=e[i],this[i]=t?t(a):a[i]);return this.isDefaultPrevented=(null!=a.defaultPrevented?a.defaultPrevented:!1===a.returnValue)?nn:rn,this.isPropagationStopped=rn,this}return F(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=nn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=nn)},persist:function(){},isPersistent:nn}),t}var on,ln,sn,un={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},cn=an(un),dn=F({},un,{view:0,detail:0}),fn=an(dn),pn=F({},dn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:_n,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==sn&&(sn&&"mousemove"===e.type?(on=e.screenX-sn.screenX,ln=e.screenY-sn.screenY):ln=on=0,sn=e),on)},movementY:function(e){return"movementY"in e?e.movementY:ln}}),gn=an(pn),hn=an(F({},pn,{dataTransfer:0})),mn=an(F({},dn,{relatedTarget:0})),yn=an(F({},un,{animationName:0,elapsedTime:0,pseudoElement:0})),bn=F({},un,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),vn=an(bn),wn=an(F({},un,{data:0})),kn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},xn={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"},Sn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function En(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Sn[e])&&!!t[e]}function _n(){return En}var Cn=F({},dn,{key:function(e){if(e.key){var t=kn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=tn(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?xn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:_n,charCode:function(e){return"keypress"===e.type?tn(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tn(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),Tn=an(Cn),Nn=an(F({},pn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),An=an(F({},dn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:_n})),jn=an(F({},un,{propertyName:0,elapsedTime:0,pseudoElement:0})),Ln=F({},pn,{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}),On=an(Ln),Pn=[9,13,27,32],Rn=c&&"CompositionEvent"in window,In=null;c&&"documentMode"in document&&(In=document.documentMode);var Dn=c&&"TextEvent"in window&&!In,Fn=c&&(!Rn||In&&8<In&&11>=In),Mn=String.fromCharCode(32),zn=!1;function Bn(e,t){switch(e){case"keyup":return-1!==Pn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function $n(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Un=!1;var Zn={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 Hn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Zn[e.type]:"textarea"===t}function Vn(e,t,n,r){Ce(r),0<(t=Wr(t,"onChange")).length&&(n=new cn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Wn=null,Gn=null;function qn(e){Mr(e,0)}function Yn(e){if(G(wa(e)))return e}function Kn(e,t){if("change"===e)return t}var Qn=!1;if(c){var Xn;if(c){var Jn="oninput"in document;if(!Jn){var er=document.createElement("div");er.setAttribute("oninput","return;"),Jn="function"==typeof er.oninput}Xn=Jn}else Xn=!1;Qn=Xn&&(!document.documentMode||9<document.documentMode)}function tr(){Wn&&(Wn.detachEvent("onpropertychange",nr),Gn=Wn=null)}function nr(e){if("value"===e.propertyName&&Yn(Gn)){var t=[];Vn(t,Gn,e,ke(e)),Le(qn,t)}}function rr(e,t,n){"focusin"===e?(tr(),Gn=n,(Wn=t).attachEvent("onpropertychange",nr)):"focusout"===e&&tr()}function ar(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Yn(Gn)}function or(e,t){if("click"===e)return Yn(t)}function ir(e,t){if("input"===e||"change"===e)return Yn(t)}var lr="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function sr(e,t){if(lr(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var a=n[r];if(!d.call(t,a)||!lr(e[a],t[a]))return!1}return!0}function ur(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function cr(e,t){var n,r=ur(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=ur(r)}}function dr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?dr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function fr(){for(var e=window,t=q();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=q((e=t.contentWindow).document)}return t}function pr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function gr(e){var t=fr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&dr(n.ownerDocument.documentElement,n)){if(null!==r&&pr(n))if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var a=n.textContent.length,o=Math.min(r.start,a);r=void 0===r.end?o:Math.min(r.end,a),!e.extend&&o>r&&(a=r,r=o,o=a),a=cr(n,o);var i=cr(n,r);a&&i&&(1!==e.rangeCount||e.anchorNode!==a.node||e.anchorOffset!==a.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&((t=t.createRange()).setStart(a.node,a.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof n.focus&&n.focus(),n=0;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var hr=c&&"documentMode"in document&&11>=document.documentMode,mr=null,yr=null,br=null,vr=!1;function wr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;vr||null==mr||mr!==q(r)||("selectionStart"in(r=mr)&&pr(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},br&&sr(br,r)||(br=r,0<(r=Wr(yr,"onSelect")).length&&(t=new cn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=mr)))}function kr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var xr={animationend:kr("Animation","AnimationEnd"),animationiteration:kr("Animation","AnimationIteration"),animationstart:kr("Animation","AnimationStart"),transitionend:kr("Transition","TransitionEnd")},Sr={},Er={};function _r(e){if(Sr[e])return Sr[e];if(!xr[e])return e;var t,n=xr[e];for(t in n)if(n.hasOwnProperty(t)&&t in Er)return Sr[e]=n[t];return e}c&&(Er=document.createElement("div").style,"AnimationEvent"in window||(delete xr.animationend.animation,delete xr.animationiteration.animation,delete xr.animationstart.animation),"TransitionEvent"in window||delete xr.transitionend.transition);var Cr=_r("animationend"),Tr=_r("animationiteration"),Nr=_r("animationstart"),Ar=_r("transitionend"),jr=new Map,Lr="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 Or(e,t){jr.set(e,t),s(t,[e])}for(var Pr=0;Pr<Lr.length;Pr++){var Rr=Lr[Pr];Or(Rr.toLowerCase(),"on"+(Rr[0].toUpperCase()+Rr.slice(1)))}Or(Cr,"onAnimationEnd"),Or(Tr,"onAnimationIteration"),Or(Nr,"onAnimationStart"),Or("dblclick","onDoubleClick"),Or("focusin","onFocus"),Or("focusout","onBlur"),Or(Ar,"onTransitionEnd"),u("onMouseEnter",["mouseout","mouseover"]),u("onMouseLeave",["mouseout","mouseover"]),u("onPointerEnter",["pointerout","pointerover"]),u("onPointerLeave",["pointerout","pointerover"]),s("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),s("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),s("onBeforeInput",["compositionend","keypress","textInput","paste"]),s("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),s("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),s("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Ir="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(" "),Dr=new Set("cancel close invalid load scroll toggle".split(" ").concat(Ir));function Fr(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,a,i,l,s,u){if($e.apply(this,arguments),De){if(!De)throw Error(o(198));var c=Fe;De=!1,Fe=null,Me||(Me=!0,ze=c)}}(r,t,void 0,e),e.currentTarget=null}function Mr(e,t){t=0!=(4&t);for(var n=0;n<e.length;n++){var r=e[n],a=r.event;r=r.listeners;e:{var o=void 0;if(t)for(var i=r.length-1;0<=i;i--){var l=r[i],s=l.instance,u=l.currentTarget;if(l=l.listener,s!==o&&a.isPropagationStopped())break e;Fr(a,l,u),o=s}else for(i=0;i<r.length;i++){if(s=(l=r[i]).instance,u=l.currentTarget,l=l.listener,s!==o&&a.isPropagationStopped())break e;Fr(a,l,u),o=s}}}if(Me)throw e=ze,Me=!1,ze=null,e}function zr(e,t){var n=t[ha];void 0===n&&(n=t[ha]=new Set);var r=e+"__bubble";n.has(r)||(Zr(t,e,2,!1),n.add(r))}function Br(e,t,n){var r=0;t&&(r|=4),Zr(n,e,r,t)}var $r="_reactListening"+Math.random().toString(36).slice(2);function Ur(e){if(!e[$r]){e[$r]=!0,i.forEach((function(t){"selectionchange"!==t&&(Dr.has(t)||Br(t,!1,e),Br(t,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[$r]||(t[$r]=!0,Br("selectionchange",!1,t))}}function Zr(e,t,n,r){switch(Kt(t)){case 1:var a=Vt;break;case 4:a=Wt;break;default:a=Gt}n=a.bind(null,t,n,e),a=void 0,!Pe||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(a=!0),r?void 0!==a?e.addEventListener(t,n,{capture:!0,passive:a}):e.addEventListener(t,n,!0):void 0!==a?e.addEventListener(t,n,{passive:a}):e.addEventListener(t,n,!1)}function Hr(e,t,n,r,a){var o=r;if(0==(1&t)&&0==(2&t)&&null!==r)e:for(;;){if(null===r)return;var i=r.tag;if(3===i||4===i){var l=r.stateNode.containerInfo;if(l===a||8===l.nodeType&&l.parentNode===a)break;if(4===i)for(i=r.return;null!==i;){var s=i.tag;if((3===s||4===s)&&((s=i.stateNode.containerInfo)===a||8===s.nodeType&&s.parentNode===a))return;i=i.return}for(;null!==l;){if(null===(i=ba(l)))return;if(5===(s=i.tag)||6===s){r=o=i;continue e}l=l.parentNode}}r=r.return}Le((function(){var r=o,a=ke(n),i=[];e:{var l=jr.get(e);if(void 0!==l){var s=cn,u=e;switch(e){case"keypress":if(0===tn(n))break e;case"keydown":case"keyup":s=Tn;break;case"focusin":u="focus",s=mn;break;case"focusout":u="blur",s=mn;break;case"beforeblur":case"afterblur":s=mn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":s=gn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":s=hn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":s=An;break;case Cr:case Tr:case Nr:s=yn;break;case Ar:s=jn;break;case"scroll":s=fn;break;case"wheel":s=On;break;case"copy":case"cut":case"paste":s=vn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":s=Nn}var c=0!=(4&t),d=!c&&"scroll"===e,f=c?null!==l?l+"Capture":null:l;c=[];for(var p,g=r;null!==g;){var h=(p=g).stateNode;if(5===p.tag&&null!==h&&(p=h,null!==f&&(null!=(h=Oe(g,f))&&c.push(Vr(g,h,p)))),d)break;g=g.return}0<c.length&&(l=new s(l,u,null,n,a),i.push({event:l,listeners:c}))}}if(0==(7&t)){if(s="mouseout"===e||"pointerout"===e,(!(l="mouseover"===e||"pointerover"===e)||n===we||!(u=n.relatedTarget||n.fromElement)||!ba(u)&&!u[ga])&&(s||l)&&(l=a.window===a?a:(l=a.ownerDocument)?l.defaultView||l.parentWindow:window,s?(s=r,null!==(u=(u=n.relatedTarget||n.toElement)?ba(u):null)&&(u!==(d=Ue(u))||5!==u.tag&&6!==u.tag)&&(u=null)):(s=null,u=r),s!==u)){if(c=gn,h="onMouseLeave",f="onMouseEnter",g="mouse","pointerout"!==e&&"pointerover"!==e||(c=Nn,h="onPointerLeave",f="onPointerEnter",g="pointer"),d=null==s?l:wa(s),p=null==u?l:wa(u),(l=new c(h,g+"leave",s,n,a)).target=d,l.relatedTarget=p,h=null,ba(a)===r&&((c=new c(f,g+"enter",u,n,a)).target=p,c.relatedTarget=d,h=c),d=h,s&&u)e:{for(f=u,g=0,p=c=s;p;p=Gr(p))g++;for(p=0,h=f;h;h=Gr(h))p++;for(;0<g-p;)c=Gr(c),g--;for(;0<p-g;)f=Gr(f),p--;for(;g--;){if(c===f||null!==f&&c===f.alternate)break e;c=Gr(c),f=Gr(f)}c=null}else c=null;null!==s&&qr(i,l,s,c,!1),null!==u&&null!==d&&qr(i,d,u,c,!0)}if("select"===(s=(l=r?wa(r):window).nodeName&&l.nodeName.toLowerCase())||"input"===s&&"file"===l.type)var m=Kn;else if(Hn(l))if(Qn)m=ir;else{m=ar;var y=rr}else(s=l.nodeName)&&"input"===s.toLowerCase()&&("checkbox"===l.type||"radio"===l.type)&&(m=or);switch(m&&(m=m(e,r))?Vn(i,m,n,a):(y&&y(e,l,r),"focusout"===e&&(y=l._wrapperState)&&y.controlled&&"number"===l.type&&ee(l,"number",l.value)),y=r?wa(r):window,e){case"focusin":(Hn(y)||"true"===y.contentEditable)&&(mr=y,yr=r,br=null);break;case"focusout":br=yr=mr=null;break;case"mousedown":vr=!0;break;case"contextmenu":case"mouseup":case"dragend":vr=!1,wr(i,n,a);break;case"selectionchange":if(hr)break;case"keydown":case"keyup":wr(i,n,a)}var b;if(Rn)e:{switch(e){case"compositionstart":var v="onCompositionStart";break e;case"compositionend":v="onCompositionEnd";break e;case"compositionupdate":v="onCompositionUpdate";break e}v=void 0}else Un?Bn(e,n)&&(v="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(v="onCompositionStart");v&&(Fn&&"ko"!==n.locale&&(Un||"onCompositionStart"!==v?"onCompositionEnd"===v&&Un&&(b=en()):(Xt="value"in(Qt=a)?Qt.value:Qt.textContent,Un=!0)),0<(y=Wr(r,v)).length&&(v=new wn(v,e,null,n,a),i.push({event:v,listeners:y}),b?v.data=b:null!==(b=$n(n))&&(v.data=b))),(b=Dn?function(e,t){switch(e){case"compositionend":return $n(t);case"keypress":return 32!==t.which?null:(zn=!0,Mn);case"textInput":return(e=t.data)===Mn&&zn?null:e;default:return null}}(e,n):function(e,t){if(Un)return"compositionend"===e||!Rn&&Bn(e,t)?(e=en(),Jt=Xt=Qt=null,Un=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Fn&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(r=Wr(r,"onBeforeInput")).length&&(a=new wn("onBeforeInput","beforeinput",null,n,a),i.push({event:a,listeners:r}),a.data=b))}Mr(i,t)}))}function Vr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Wr(e,t){for(var n=t+"Capture",r=[];null!==e;){var a=e,o=a.stateNode;5===a.tag&&null!==o&&(a=o,null!=(o=Oe(e,n))&&r.unshift(Vr(e,o,a)),null!=(o=Oe(e,t))&&r.push(Vr(e,o,a))),e=e.return}return r}function Gr(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function qr(e,t,n,r,a){for(var o=t._reactName,i=[];null!==n&&n!==r;){var l=n,s=l.alternate,u=l.stateNode;if(null!==s&&s===r)break;5===l.tag&&null!==u&&(l=u,a?null!=(s=Oe(n,o))&&i.unshift(Vr(n,s,l)):a||null!=(s=Oe(n,o))&&i.push(Vr(n,s,l))),n=n.return}0!==i.length&&e.push({event:t,listeners:i})}var Yr=/\r\n?/g,Kr=/\u0000|\uFFFD/g;function Qr(e){return("string"==typeof e?e:""+e).replace(Yr,"\n").replace(Kr,"")}function Xr(e,t,n){if(t=Qr(t),Qr(e)!==t&&n)throw Error(o(425))}function Jr(){}var ea=null,ta=null;function na(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var ra="function"==typeof setTimeout?setTimeout:void 0,aa="function"==typeof clearTimeout?clearTimeout:void 0,oa="function"==typeof Promise?Promise:void 0,ia="function"==typeof queueMicrotask?queueMicrotask:void 0!==oa?function(e){return oa.resolve(null).then(e).catch(la)}:ra;function la(e){setTimeout((function(){throw e}))}function sa(e,t){var n=t,r=0;do{var a=n.nextSibling;if(e.removeChild(n),a&&8===a.nodeType)if("/$"===(n=a.data)){if(0===r)return e.removeChild(a),void Ut(t);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=a}while(n);Ut(t)}function ua(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function ca(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var da=Math.random().toString(36).slice(2),fa="__reactFiber$"+da,pa="__reactProps$"+da,ga="__reactContainer$"+da,ha="__reactEvents$"+da,ma="__reactListeners$"+da,ya="__reactHandles$"+da;function ba(e){var t=e[fa];if(t)return t;for(var n=e.parentNode;n;){if(t=n[ga]||n[fa]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=ca(e);null!==e;){if(n=e[fa])return n;e=ca(e)}return t}n=(e=n).parentNode}return null}function va(e){return!(e=e[fa]||e[ga])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function wa(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(o(33))}function ka(e){return e[pa]||null}var xa=[],Sa=-1;function Ea(e){return{current:e}}function _a(e){0>Sa||(e.current=xa[Sa],xa[Sa]=null,Sa--)}function Ca(e,t){Sa++,xa[Sa]=e.current,e.current=t}var Ta={},Na=Ea(Ta),Aa=Ea(!1),ja=Ta;function La(e,t){var n=e.type.contextTypes;if(!n)return Ta;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var a,o={};for(a in n)o[a]=t[a];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Oa(e){return null!=(e=e.childContextTypes)}function Pa(){_a(Aa),_a(Na)}function Ra(e,t,n){if(Na.current!==Ta)throw Error(o(168));Ca(Na,t),Ca(Aa,n)}function Ia(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var a in r=r.getChildContext())if(!(a in t))throw Error(o(108,Z(e)||"Unknown",a));return F({},n,r)}function Da(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Ta,ja=Na.current,Ca(Na,e),Ca(Aa,Aa.current),!0}function Fa(e,t,n){var r=e.stateNode;if(!r)throw Error(o(169));n?(e=Ia(e,t,ja),r.__reactInternalMemoizedMergedChildContext=e,_a(Aa),_a(Na),Ca(Na,e)):_a(Aa),Ca(Aa,n)}var Ma=null,za=!1,Ba=!1;function $a(e){null===Ma?Ma=[e]:Ma.push(e)}function Ua(){if(!Ba&&null!==Ma){Ba=!0;var e=0,t=vt;try{var n=Ma;for(vt=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}Ma=null,za=!1}catch(a){throw null!==Ma&&(Ma=Ma.slice(e+1)),Ge(Je,Ua),a}finally{vt=t,Ba=!1}}return null}var Za=[],Ha=0,Va=null,Wa=0,Ga=[],qa=0,Ya=null,Ka=1,Qa="";function Xa(e,t){Za[Ha++]=Wa,Za[Ha++]=Va,Va=e,Wa=t}function Ja(e,t,n){Ga[qa++]=Ka,Ga[qa++]=Qa,Ga[qa++]=Ya,Ya=e;var r=Ka;e=Qa;var a=32-it(r)-1;r&=~(1<<a),n+=1;var o=32-it(t)+a;if(30<o){var i=a-a%5;o=(r&(1<<i)-1).toString(32),r>>=i,a-=i,Ka=1<<32-it(t)+a|n<<a|r,Qa=o+e}else Ka=1<<o|n<<a|r,Qa=e}function eo(e){null!==e.return&&(Xa(e,1),Ja(e,1,0))}function to(e){for(;e===Va;)Va=Za[--Ha],Za[Ha]=null,Wa=Za[--Ha],Za[Ha]=null;for(;e===Ya;)Ya=Ga[--qa],Ga[qa]=null,Qa=Ga[--qa],Ga[qa]=null,Ka=Ga[--qa],Ga[qa]=null}var no=null,ro=null,ao=!1,oo=null;function io(e,t){var n=Ou(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,null===(t=e.deletions)?(e.deletions=[n],e.flags|=16):t.push(n)}function lo(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,no=e,ro=ua(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,no=e,ro=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==Ya?{id:Ka,overflow:Qa}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=Ou(18,null,null,0)).stateNode=t,n.return=e,e.child=n,no=e,ro=null,!0);default:return!1}}function so(e){return 0!=(1&e.mode)&&0==(128&e.flags)}function uo(e){if(ao){var t=ro;if(t){var n=t;if(!lo(e,t)){if(so(e))throw Error(o(418));t=ua(n.nextSibling);var r=no;t&&lo(e,t)?io(r,n):(e.flags=-4097&e.flags|2,ao=!1,no=e)}}else{if(so(e))throw Error(o(418));e.flags=-4097&e.flags|2,ao=!1,no=e}}}function co(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;no=e}function fo(e){if(e!==no)return!1;if(!ao)return co(e),ao=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!na(e.type,e.memoizedProps)),t&&(t=ro)){if(so(e))throw po(),Error(o(418));for(;t;)io(e,t),t=ua(t.nextSibling)}if(co(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(o(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){ro=ua(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}ro=null}}else ro=no?ua(e.stateNode.nextSibling):null;return!0}function po(){for(var e=ro;e;)e=ua(e.nextSibling)}function go(){ro=no=null,ao=!1}function ho(e){null===oo?oo=[e]:oo.push(e)}var mo=w.ReactCurrentBatchConfig;function yo(e,t){if(e&&e.defaultProps){for(var n in t=F({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var bo=Ea(null),vo=null,wo=null,ko=null;function xo(){ko=wo=vo=null}function So(e){var t=bo.current;_a(bo),e._currentValue=t}function Eo(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function _o(e,t){vo=e,ko=wo=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&t)&&(wl=!0),e.firstContext=null)}function Co(e){var t=e._currentValue;if(ko!==e)if(e={context:e,memoizedValue:t,next:null},null===wo){if(null===vo)throw Error(o(308));wo=e,vo.dependencies={lanes:0,firstContext:e}}else wo=wo.next=e;return t}var To=null;function No(e){null===To?To=[e]:To.push(e)}function Ao(e,t,n,r){var a=t.interleaved;return null===a?(n.next=n,No(t)):(n.next=a.next,a.next=n),t.interleaved=n,jo(e,r)}function jo(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}var Lo=!1;function Oo(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Po(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Ro(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Io(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,0!=(2&As)){var a=r.pending;return null===a?t.next=t:(t.next=a.next,a.next=t),r.pending=t,jo(e,n)}return null===(a=r.interleaved)?(t.next=t,No(r)):(t.next=a.next,a.next=t),r.interleaved=t,jo(e,n)}function Do(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,0!=(4194240&n))){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,bt(e,n)}}function Fo(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var a=null,o=null;if(null!==(n=n.firstBaseUpdate)){do{var i={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===o?a=o=i:o=o.next=i,n=n.next}while(null!==n);null===o?a=o=t:o=o.next=t}else a=o=t;return n={baseState:r.baseState,firstBaseUpdate:a,lastBaseUpdate:o,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Mo(e,t,n,r){var a=e.updateQueue;Lo=!1;var o=a.firstBaseUpdate,i=a.lastBaseUpdate,l=a.shared.pending;if(null!==l){a.shared.pending=null;var s=l,u=s.next;s.next=null,null===i?o=u:i.next=u,i=s;var c=e.alternate;null!==c&&((l=(c=c.updateQueue).lastBaseUpdate)!==i&&(null===l?c.firstBaseUpdate=u:l.next=u,c.lastBaseUpdate=s))}if(null!==o){var d=a.baseState;for(i=0,c=u=s=null,l=o;;){var f=l.lane,p=l.eventTime;if((r&f)===f){null!==c&&(c=c.next={eventTime:p,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var g=e,h=l;switch(f=t,p=n,h.tag){case 1:if("function"==typeof(g=h.payload)){d=g.call(p,d,f);break e}d=g;break e;case 3:g.flags=-65537&g.flags|128;case 0:if(null==(f="function"==typeof(g=h.payload)?g.call(p,d,f):g))break e;d=F({},d,f);break e;case 2:Lo=!0}}null!==l.callback&&0!==l.lane&&(e.flags|=64,null===(f=a.effects)?a.effects=[l]:f.push(l))}else p={eventTime:p,lane:f,tag:l.tag,payload:l.payload,callback:l.callback,next:null},null===c?(u=c=p,s=d):c=c.next=p,i|=f;if(null===(l=l.next)){if(null===(l=a.shared.pending))break;l=(f=l).next,f.next=null,a.lastBaseUpdate=f,a.shared.pending=null}}if(null===c&&(s=d),a.baseState=s,a.firstBaseUpdate=u,a.lastBaseUpdate=c,null!==(t=a.shared.interleaved)){a=t;do{i|=a.lane,a=a.next}while(a!==t)}else null===o&&(a.shared.lanes=0);Fs|=i,e.lanes=i,e.memoizedState=d}}function zo(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],a=r.callback;if(null!==a){if(r.callback=null,r=n,"function"!=typeof a)throw Error(o(191,a));a.call(r)}}}var Bo=(new r.Component).refs;function $o(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:F({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var Uo={isMounted:function(e){return!!(e=e._reactInternals)&&Ue(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=tu(),a=nu(e),o=Ro(r,a);o.payload=t,null!=n&&(o.callback=n),null!==(t=Io(e,o,a))&&(ru(t,e,a,r),Do(t,e,a))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=tu(),a=nu(e),o=Ro(r,a);o.tag=1,o.payload=t,null!=n&&(o.callback=n),null!==(t=Io(e,o,a))&&(ru(t,e,a,r),Do(t,e,a))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=tu(),r=nu(e),a=Ro(n,r);a.tag=2,null!=t&&(a.callback=t),null!==(t=Io(e,a,r))&&(ru(t,e,r,n),Do(t,e,r))}};function Zo(e,t,n,r,a,o,i){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,o,i):!t.prototype||!t.prototype.isPureReactComponent||(!sr(n,r)||!sr(a,o))}function Ho(e,t,n){var r=!1,a=Ta,o=t.contextType;return"object"==typeof o&&null!==o?o=Co(o):(a=Oa(t)?ja:Na.current,o=(r=null!=(r=t.contextTypes))?La(e,a):Ta),t=new t(n,o),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=Uo,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=a,e.__reactInternalMemoizedMaskedChildContext=o),t}function Vo(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Uo.enqueueReplaceState(t,t.state,null)}function Wo(e,t,n,r){var a=e.stateNode;a.props=n,a.state=e.memoizedState,a.refs=Bo,Oo(e);var o=t.contextType;"object"==typeof o&&null!==o?a.context=Co(o):(o=Oa(t)?ja:Na.current,a.context=La(e,o)),a.state=e.memoizedState,"function"==typeof(o=t.getDerivedStateFromProps)&&($o(e,t,o,n),a.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof a.getSnapshotBeforeUpdate||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||(t=a.state,"function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount(),t!==a.state&&Uo.enqueueReplaceState(a,a.state,null),Mo(e,n,a,r),a.state=e.memoizedState),"function"==typeof a.componentDidMount&&(e.flags|=4194308)}function Go(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(o(309));var r=n.stateNode}if(!r)throw Error(o(147,e));var a=r,i=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===i?t.ref:(t=function(e){var t=a.refs;t===Bo&&(t=a.refs={}),null===e?delete t[i]:t[i]=e},t._stringRef=i,t)}if("string"!=typeof e)throw Error(o(284));if(!n._owner)throw Error(o(290,e))}return e}function qo(e,t){throw e=Object.prototype.toString.call(t),Error(o(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Yo(e){return(0,e._init)(e._payload)}function Ko(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function a(e,t){return(e=Ru(e,t)).index=0,e.sibling=null,e}function i(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=2,n):r:(t.flags|=2,n):(t.flags|=1048576,n)}function l(t){return e&&null===t.alternate&&(t.flags|=2),t}function s(e,t,n,r){return null===t||6!==t.tag?((t=Mu(n,e.mode,r)).return=e,t):((t=a(t,n)).return=e,t)}function u(e,t,n,r){var o=n.type;return o===S?d(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===o||"object"==typeof o&&null!==o&&o.$$typeof===O&&Yo(o)===t.type)?((r=a(t,n.props)).ref=Go(e,t,n),r.return=e,r):((r=Iu(n.type,n.key,n.props,null,e.mode,r)).ref=Go(e,t,n),r.return=e,r)}function c(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=zu(n,e.mode,r)).return=e,t):((t=a(t,n.children||[])).return=e,t)}function d(e,t,n,r,o){return null===t||7!==t.tag?((t=Du(n,e.mode,r,o)).return=e,t):((t=a(t,n)).return=e,t)}function f(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t)return(t=Mu(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case k:return(n=Iu(t.type,t.key,t.props,null,e.mode,n)).ref=Go(e,null,t),n.return=e,n;case x:return(t=zu(t,e.mode,n)).return=e,t;case O:return f(e,(0,t._init)(t._payload),n)}if(te(t)||I(t))return(t=Du(t,e.mode,n,null)).return=e,t;qo(e,t)}return null}function p(e,t,n,r){var a=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n)return null!==a?null:s(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case k:return n.key===a?u(e,t,n,r):null;case x:return n.key===a?c(e,t,n,r):null;case O:return p(e,t,(a=n._init)(n._payload),r)}if(te(n)||I(n))return null!==a?null:d(e,t,n,r,null);qo(e,n)}return null}function g(e,t,n,r,a){if("string"==typeof r&&""!==r||"number"==typeof r)return s(t,e=e.get(n)||null,""+r,a);if("object"==typeof r&&null!==r){switch(r.$$typeof){case k:return u(t,e=e.get(null===r.key?n:r.key)||null,r,a);case x:return c(t,e=e.get(null===r.key?n:r.key)||null,r,a);case O:return g(e,t,n,(0,r._init)(r._payload),a)}if(te(r)||I(r))return d(t,e=e.get(n)||null,r,a,null);qo(t,r)}return null}function h(a,o,l,s){for(var u=null,c=null,d=o,h=o=0,m=null;null!==d&&h<l.length;h++){d.index>h?(m=d,d=null):m=d.sibling;var y=p(a,d,l[h],s);if(null===y){null===d&&(d=m);break}e&&d&&null===y.alternate&&t(a,d),o=i(y,o,h),null===c?u=y:c.sibling=y,c=y,d=m}if(h===l.length)return n(a,d),ao&&Xa(a,h),u;if(null===d){for(;h<l.length;h++)null!==(d=f(a,l[h],s))&&(o=i(d,o,h),null===c?u=d:c.sibling=d,c=d);return ao&&Xa(a,h),u}for(d=r(a,d);h<l.length;h++)null!==(m=g(d,a,h,l[h],s))&&(e&&null!==m.alternate&&d.delete(null===m.key?h:m.key),o=i(m,o,h),null===c?u=m:c.sibling=m,c=m);return e&&d.forEach((function(e){return t(a,e)})),ao&&Xa(a,h),u}function m(a,l,s,u){var c=I(s);if("function"!=typeof c)throw Error(o(150));if(null==(s=c.call(s)))throw Error(o(151));for(var d=c=null,h=l,m=l=0,y=null,b=s.next();null!==h&&!b.done;m++,b=s.next()){h.index>m?(y=h,h=null):y=h.sibling;var v=p(a,h,b.value,u);if(null===v){null===h&&(h=y);break}e&&h&&null===v.alternate&&t(a,h),l=i(v,l,m),null===d?c=v:d.sibling=v,d=v,h=y}if(b.done)return n(a,h),ao&&Xa(a,m),c;if(null===h){for(;!b.done;m++,b=s.next())null!==(b=f(a,b.value,u))&&(l=i(b,l,m),null===d?c=b:d.sibling=b,d=b);return ao&&Xa(a,m),c}for(h=r(a,h);!b.done;m++,b=s.next())null!==(b=g(h,a,m,b.value,u))&&(e&&null!==b.alternate&&h.delete(null===b.key?m:b.key),l=i(b,l,m),null===d?c=b:d.sibling=b,d=b);return e&&h.forEach((function(e){return t(a,e)})),ao&&Xa(a,m),c}return function e(r,o,i,s){if("object"==typeof i&&null!==i&&i.type===S&&null===i.key&&(i=i.props.children),"object"==typeof i&&null!==i){switch(i.$$typeof){case k:e:{for(var u=i.key,c=o;null!==c;){if(c.key===u){if((u=i.type)===S){if(7===c.tag){n(r,c.sibling),(o=a(c,i.props.children)).return=r,r=o;break e}}else if(c.elementType===u||"object"==typeof u&&null!==u&&u.$$typeof===O&&Yo(u)===c.type){n(r,c.sibling),(o=a(c,i.props)).ref=Go(r,c,i),o.return=r,r=o;break e}n(r,c);break}t(r,c),c=c.sibling}i.type===S?((o=Du(i.props.children,r.mode,s,i.key)).return=r,r=o):((s=Iu(i.type,i.key,i.props,null,r.mode,s)).ref=Go(r,o,i),s.return=r,r=s)}return l(r);case x:e:{for(c=i.key;null!==o;){if(o.key===c){if(4===o.tag&&o.stateNode.containerInfo===i.containerInfo&&o.stateNode.implementation===i.implementation){n(r,o.sibling),(o=a(o,i.children||[])).return=r,r=o;break e}n(r,o);break}t(r,o),o=o.sibling}(o=zu(i,r.mode,s)).return=r,r=o}return l(r);case O:return e(r,o,(c=i._init)(i._payload),s)}if(te(i))return h(r,o,i,s);if(I(i))return m(r,o,i,s);qo(r,i)}return"string"==typeof i&&""!==i||"number"==typeof i?(i=""+i,null!==o&&6===o.tag?(n(r,o.sibling),(o=a(o,i)).return=r,r=o):(n(r,o),(o=Mu(i,r.mode,s)).return=r,r=o),l(r)):n(r,o)}}var Qo=Ko(!0),Xo=Ko(!1),Jo={},ei=Ea(Jo),ti=Ea(Jo),ni=Ea(Jo);function ri(e){if(e===Jo)throw Error(o(174));return e}function ai(e,t){switch(Ca(ni,t),Ca(ti,e),Ca(ei,Jo),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:se(null,"");break;default:t=se(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}_a(ei),Ca(ei,t)}function oi(){_a(ei),_a(ti),_a(ni)}function ii(e){ri(ni.current);var t=ri(ei.current),n=se(t,e.type);t!==n&&(Ca(ti,e),Ca(ei,n))}function li(e){ti.current===e&&(_a(ei),_a(ti))}var si=Ea(0);function ui(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(128&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var ci=[];function di(){for(var e=0;e<ci.length;e++)ci[e]._workInProgressVersionPrimary=null;ci.length=0}var fi=w.ReactCurrentDispatcher,pi=w.ReactCurrentBatchConfig,gi=0,hi=null,mi=null,yi=null,bi=!1,vi=!1,wi=0,ki=0;function xi(){throw Error(o(321))}function Si(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!lr(e[n],t[n]))return!1;return!0}function Ei(e,t,n,r,a,i){if(gi=i,hi=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,fi.current=null===e||null===e.memoizedState?ll:sl,e=n(r,a),vi){i=0;do{if(vi=!1,wi=0,25<=i)throw Error(o(301));i+=1,yi=mi=null,t.updateQueue=null,fi.current=ul,e=n(r,a)}while(vi)}if(fi.current=il,t=null!==mi&&null!==mi.next,gi=0,yi=mi=hi=null,bi=!1,t)throw Error(o(300));return e}function _i(){var e=0!==wi;return wi=0,e}function Ci(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===yi?hi.memoizedState=yi=e:yi=yi.next=e,yi}function Ti(){if(null===mi){var e=hi.alternate;e=null!==e?e.memoizedState:null}else e=mi.next;var t=null===yi?hi.memoizedState:yi.next;if(null!==t)yi=t,mi=e;else{if(null===e)throw Error(o(310));e={memoizedState:(mi=e).memoizedState,baseState:mi.baseState,baseQueue:mi.baseQueue,queue:mi.queue,next:null},null===yi?hi.memoizedState=yi=e:yi=yi.next=e}return yi}function Ni(e,t){return"function"==typeof t?t(e):t}function Ai(e){var t=Ti(),n=t.queue;if(null===n)throw Error(o(311));n.lastRenderedReducer=e;var r=mi,a=r.baseQueue,i=n.pending;if(null!==i){if(null!==a){var l=a.next;a.next=i.next,i.next=l}r.baseQueue=a=i,n.pending=null}if(null!==a){i=a.next,r=r.baseState;var s=l=null,u=null,c=i;do{var d=c.lane;if((gi&d)===d)null!==u&&(u=u.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),r=c.hasEagerState?c.eagerState:e(r,c.action);else{var f={lane:d,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};null===u?(s=u=f,l=r):u=u.next=f,hi.lanes|=d,Fs|=d}c=c.next}while(null!==c&&c!==i);null===u?l=r:u.next=s,lr(r,t.memoizedState)||(wl=!0),t.memoizedState=r,t.baseState=l,t.baseQueue=u,n.lastRenderedState=r}if(null!==(e=n.interleaved)){a=e;do{i=a.lane,hi.lanes|=i,Fs|=i,a=a.next}while(a!==e)}else null===a&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function ji(e){var t=Ti(),n=t.queue;if(null===n)throw Error(o(311));n.lastRenderedReducer=e;var r=n.dispatch,a=n.pending,i=t.memoizedState;if(null!==a){n.pending=null;var l=a=a.next;do{i=e(i,l.action),l=l.next}while(l!==a);lr(i,t.memoizedState)||(wl=!0),t.memoizedState=i,null===t.baseQueue&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function Li(){}function Oi(e,t){var n=hi,r=Ti(),a=t(),i=!lr(r.memoizedState,a);if(i&&(r.memoizedState=a,wl=!0),r=r.queue,Hi(Ii.bind(null,n,r,e),[e]),r.getSnapshot!==t||i||null!==yi&&1&yi.memoizedState.tag){if(n.flags|=2048,zi(9,Ri.bind(null,n,r,a,t),void 0,null),null===js)throw Error(o(349));0!=(30&gi)||Pi(n,t,a)}return a}function Pi(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=hi.updateQueue)?(t={lastEffect:null,stores:null},hi.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function Ri(e,t,n,r){t.value=n,t.getSnapshot=r,Di(t)&&Fi(e)}function Ii(e,t,n){return n((function(){Di(t)&&Fi(e)}))}function Di(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!lr(e,n)}catch(r){return!0}}function Fi(e){var t=jo(e,1);null!==t&&ru(t,e,1,-1)}function Mi(e){var t=Ci();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Ni,lastRenderedState:e},t.queue=e,e=e.dispatch=nl.bind(null,hi,e),[t.memoizedState,e]}function zi(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=hi.updateQueue)?(t={lastEffect:null,stores:null},hi.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function Bi(){return Ti().memoizedState}function $i(e,t,n,r){var a=Ci();hi.flags|=e,a.memoizedState=zi(1|t,n,void 0,void 0===r?null:r)}function Ui(e,t,n,r){var a=Ti();r=void 0===r?null:r;var o=void 0;if(null!==mi){var i=mi.memoizedState;if(o=i.destroy,null!==r&&Si(r,i.deps))return void(a.memoizedState=zi(t,n,o,r))}hi.flags|=e,a.memoizedState=zi(1|t,n,o,r)}function Zi(e,t){return $i(8390656,8,e,t)}function Hi(e,t){return Ui(2048,8,e,t)}function Vi(e,t){return Ui(4,2,e,t)}function Wi(e,t){return Ui(4,4,e,t)}function Gi(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function qi(e,t,n){return n=null!=n?n.concat([e]):null,Ui(4,4,Gi.bind(null,t,e),n)}function Yi(){}function Ki(e,t){var n=Ti();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Si(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Qi(e,t){var n=Ti();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Si(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Xi(e,t,n){return 0==(21&gi)?(e.baseState&&(e.baseState=!1,wl=!0),e.memoizedState=n):(lr(n,t)||(n=ht(),hi.lanes|=n,Fs|=n,e.baseState=!0),t)}function Ji(e,t){var n=vt;vt=0!==n&&4>n?n:4,e(!0);var r=pi.transition;pi.transition={};try{e(!1),t()}finally{vt=n,pi.transition=r}}function el(){return Ti().memoizedState}function tl(e,t,n){var r=nu(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},rl(e))al(t,n);else if(null!==(n=Ao(e,t,n,r))){ru(n,e,r,tu()),ol(n,t,r)}}function nl(e,t,n){var r=nu(e),a={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(rl(e))al(t,a);else{var o=e.alternate;if(0===e.lanes&&(null===o||0===o.lanes)&&null!==(o=t.lastRenderedReducer))try{var i=t.lastRenderedState,l=o(i,n);if(a.hasEagerState=!0,a.eagerState=l,lr(l,i)){var s=t.interleaved;return null===s?(a.next=a,No(t)):(a.next=s.next,s.next=a),void(t.interleaved=a)}}catch(u){}null!==(n=Ao(e,t,a,r))&&(ru(n,e,r,a=tu()),ol(n,t,r))}}function rl(e){var t=e.alternate;return e===hi||null!==t&&t===hi}function al(e,t){vi=bi=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function ol(e,t,n){if(0!=(4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,bt(e,n)}}var il={readContext:Co,useCallback:xi,useContext:xi,useEffect:xi,useImperativeHandle:xi,useInsertionEffect:xi,useLayoutEffect:xi,useMemo:xi,useReducer:xi,useRef:xi,useState:xi,useDebugValue:xi,useDeferredValue:xi,useTransition:xi,useMutableSource:xi,useSyncExternalStore:xi,useId:xi,unstable_isNewReconciler:!1},ll={readContext:Co,useCallback:function(e,t){return Ci().memoizedState=[e,void 0===t?null:t],e},useContext:Co,useEffect:Zi,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,$i(4194308,4,Gi.bind(null,t,e),n)},useLayoutEffect:function(e,t){return $i(4194308,4,e,t)},useInsertionEffect:function(e,t){return $i(4,2,e,t)},useMemo:function(e,t){var n=Ci();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Ci();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=tl.bind(null,hi,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},Ci().memoizedState=e},useState:Mi,useDebugValue:Yi,useDeferredValue:function(e){return Ci().memoizedState=e},useTransition:function(){var e=Mi(!1),t=e[0];return e=Ji.bind(null,e[1]),Ci().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=hi,a=Ci();if(ao){if(void 0===n)throw Error(o(407));n=n()}else{if(n=t(),null===js)throw Error(o(349));0!=(30&gi)||Pi(r,t,n)}a.memoizedState=n;var i={value:n,getSnapshot:t};return a.queue=i,Zi(Ii.bind(null,r,i,e),[e]),r.flags|=2048,zi(9,Ri.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=Ci(),t=js.identifierPrefix;if(ao){var n=Qa;t=":"+t+"R"+(n=(Ka&~(1<<32-it(Ka)-1)).toString(32)+n),0<(n=wi++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=ki++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},sl={readContext:Co,useCallback:Ki,useContext:Co,useEffect:Hi,useImperativeHandle:qi,useInsertionEffect:Vi,useLayoutEffect:Wi,useMemo:Qi,useReducer:Ai,useRef:Bi,useState:function(){return Ai(Ni)},useDebugValue:Yi,useDeferredValue:function(e){return Xi(Ti(),mi.memoizedState,e)},useTransition:function(){return[Ai(Ni)[0],Ti().memoizedState]},useMutableSource:Li,useSyncExternalStore:Oi,useId:el,unstable_isNewReconciler:!1},ul={readContext:Co,useCallback:Ki,useContext:Co,useEffect:Hi,useImperativeHandle:qi,useInsertionEffect:Vi,useLayoutEffect:Wi,useMemo:Qi,useReducer:ji,useRef:Bi,useState:function(){return ji(Ni)},useDebugValue:Yi,useDeferredValue:function(e){var t=Ti();return null===mi?t.memoizedState=e:Xi(t,mi.memoizedState,e)},useTransition:function(){return[ji(Ni)[0],Ti().memoizedState]},useMutableSource:Li,useSyncExternalStore:Oi,useId:el,unstable_isNewReconciler:!1};function cl(e,t){try{var n="",r=t;do{n+=$(r),r=r.return}while(r);var a=n}catch(o){a="\nError generating stack: "+o.message+"\n"+o.stack}return{value:e,source:t,stack:a,digest:null}}function dl(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function fl(e,t){try{console.error(t.value)}catch(n){setTimeout((function(){throw n}))}}var pl="function"==typeof WeakMap?WeakMap:Map;function gl(e,t,n){(n=Ro(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Vs||(Vs=!0,Ws=r),fl(0,t)},n}function hl(e,t,n){(n=Ro(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var a=t.value;n.payload=function(){return r(a)},n.callback=function(){fl(0,t)}}var o=e.stateNode;return null!==o&&"function"==typeof o.componentDidCatch&&(n.callback=function(){fl(0,t),"function"!=typeof r&&(null===Gs?Gs=new Set([this]):Gs.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function ml(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new pl;var a=new Set;r.set(t,a)}else void 0===(a=r.get(t))&&(a=new Set,r.set(t,a));a.has(n)||(a.add(n),e=Cu.bind(null,e,t,n),t.then(e,e))}function yl(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function bl(e,t,n,r,a){return 0==(1&e.mode)?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=Ro(-1,1)).tag=2,Io(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=a,e)}var vl=w.ReactCurrentOwner,wl=!1;function kl(e,t,n,r){t.child=null===e?Xo(t,null,n,r):Qo(t,e.child,n,r)}function xl(e,t,n,r,a){n=n.render;var o=t.ref;return _o(t,a),r=Ei(e,t,n,r,o,a),n=_i(),null===e||wl?(ao&&n&&eo(t),t.flags|=1,kl(e,t,r,a),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a,Vl(e,t,a))}function Sl(e,t,n,r,a){if(null===e){var o=n.type;return"function"!=typeof o||Pu(o)||void 0!==o.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Iu(n.type,null,r,t,t.mode,a)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=o,El(e,t,o,r,a))}if(o=e.child,0==(e.lanes&a)){var i=o.memoizedProps;if((n=null!==(n=n.compare)?n:sr)(i,r)&&e.ref===t.ref)return Vl(e,t,a)}return t.flags|=1,(e=Ru(o,r)).ref=t.ref,e.return=t,t.child=e}function El(e,t,n,r,a){if(null!==e){var o=e.memoizedProps;if(sr(o,r)&&e.ref===t.ref){if(wl=!1,t.pendingProps=r=o,0==(e.lanes&a))return t.lanes=e.lanes,Vl(e,t,a);0!=(131072&e.flags)&&(wl=!0)}}return Tl(e,t,n,r,a)}function _l(e,t,n){var r=t.pendingProps,a=r.children,o=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(0==(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Ca(Rs,Ps),Ps|=n;else{if(0==(1073741824&n))return e=null!==o?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Ca(Rs,Ps),Ps|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==o?o.baseLanes:n,Ca(Rs,Ps),Ps|=r}else null!==o?(r=o.baseLanes|n,t.memoizedState=null):r=n,Ca(Rs,Ps),Ps|=r;return kl(e,t,a,n),t.child}function Cl(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Tl(e,t,n,r,a){var o=Oa(n)?ja:Na.current;return o=La(t,o),_o(t,a),n=Ei(e,t,n,r,o,a),r=_i(),null===e||wl?(ao&&r&&eo(t),t.flags|=1,kl(e,t,n,a),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a,Vl(e,t,a))}function Nl(e,t,n,r,a){if(Oa(n)){var o=!0;Da(t)}else o=!1;if(_o(t,a),null===t.stateNode)Hl(e,t),Ho(t,n,r),Wo(t,n,r,a),r=!0;else if(null===e){var i=t.stateNode,l=t.memoizedProps;i.props=l;var s=i.context,u=n.contextType;"object"==typeof u&&null!==u?u=Co(u):u=La(t,u=Oa(n)?ja:Na.current);var c=n.getDerivedStateFromProps,d="function"==typeof c||"function"==typeof i.getSnapshotBeforeUpdate;d||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(l!==r||s!==u)&&Vo(t,i,r,u),Lo=!1;var f=t.memoizedState;i.state=f,Mo(t,r,i,a),s=t.memoizedState,l!==r||f!==s||Aa.current||Lo?("function"==typeof c&&($o(t,n,c,r),s=t.memoizedState),(l=Lo||Zo(t,n,l,r,f,s,u))?(d||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||("function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount()),"function"==typeof i.componentDidMount&&(t.flags|=4194308)):("function"==typeof i.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=s),i.props=r,i.state=s,i.context=u,r=l):("function"==typeof i.componentDidMount&&(t.flags|=4194308),r=!1)}else{i=t.stateNode,Po(e,t),l=t.memoizedProps,u=t.type===t.elementType?l:yo(t.type,l),i.props=u,d=t.pendingProps,f=i.context,"object"==typeof(s=n.contextType)&&null!==s?s=Co(s):s=La(t,s=Oa(n)?ja:Na.current);var p=n.getDerivedStateFromProps;(c="function"==typeof p||"function"==typeof i.getSnapshotBeforeUpdate)||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(l!==d||f!==s)&&Vo(t,i,r,s),Lo=!1,f=t.memoizedState,i.state=f,Mo(t,r,i,a);var g=t.memoizedState;l!==d||f!==g||Aa.current||Lo?("function"==typeof p&&($o(t,n,p,r),g=t.memoizedState),(u=Lo||Zo(t,n,u,r,f,g,s)||!1)?(c||"function"!=typeof i.UNSAFE_componentWillUpdate&&"function"!=typeof i.componentWillUpdate||("function"==typeof i.componentWillUpdate&&i.componentWillUpdate(r,g,s),"function"==typeof i.UNSAFE_componentWillUpdate&&i.UNSAFE_componentWillUpdate(r,g,s)),"function"==typeof i.componentDidUpdate&&(t.flags|=4),"function"==typeof i.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof i.componentDidUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=g),i.props=r,i.state=g,i.context=s,r=u):("function"!=typeof i.componentDidUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return Al(e,t,n,r,o,a)}function Al(e,t,n,r,a,o){Cl(e,t);var i=0!=(128&t.flags);if(!r&&!i)return a&&Fa(t,n,!1),Vl(e,t,o);r=t.stateNode,vl.current=t;var l=i&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&i?(t.child=Qo(t,e.child,null,o),t.child=Qo(t,null,l,o)):kl(e,t,l,o),t.memoizedState=r.state,a&&Fa(t,n,!0),t.child}function jl(e){var t=e.stateNode;t.pendingContext?Ra(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Ra(0,t.context,!1),ai(e,t.containerInfo)}function Ll(e,t,n,r,a){return go(),ho(a),t.flags|=256,kl(e,t,n,r),t.child}var Ol,Pl,Rl,Il,Dl={dehydrated:null,treeContext:null,retryLane:0};function Fl(e){return{baseLanes:e,cachePool:null,transitions:null}}function Ml(e,t,n){var r,a=t.pendingProps,i=si.current,l=!1,s=0!=(128&t.flags);if((r=s)||(r=(null===e||null!==e.memoizedState)&&0!=(2&i)),r?(l=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(i|=1),Ca(si,1&i),null===e)return uo(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(0==(1&t.mode)?t.lanes=1:"$!"===e.data?t.lanes=8:t.lanes=1073741824,null):(s=a.children,e=a.fallback,l?(a=t.mode,l=t.child,s={mode:"hidden",children:s},0==(1&a)&&null!==l?(l.childLanes=0,l.pendingProps=s):l=Fu(s,a,0,null),e=Du(e,a,n,null),l.return=t,e.return=t,l.sibling=e,t.child=l,t.child.memoizedState=Fl(n),t.memoizedState=Dl,e):zl(t,s));if(null!==(i=e.memoizedState)&&null!==(r=i.dehydrated))return function(e,t,n,r,a,i,l){if(n)return 256&t.flags?(t.flags&=-257,Bl(e,t,l,r=dl(Error(o(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(i=r.fallback,a=t.mode,r=Fu({mode:"visible",children:r.children},a,0,null),(i=Du(i,a,l,null)).flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,0!=(1&t.mode)&&Qo(t,e.child,null,l),t.child.memoizedState=Fl(l),t.memoizedState=Dl,i);if(0==(1&t.mode))return Bl(e,t,l,null);if("$!"===a.data){if(r=a.nextSibling&&a.nextSibling.dataset)var s=r.dgst;return r=s,Bl(e,t,l,r=dl(i=Error(o(419)),r,void 0))}if(s=0!=(l&e.childLanes),wl||s){if(null!==(r=js)){switch(l&-l){case 4:a=2;break;case 16:a=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:a=32;break;case 536870912:a=268435456;break;default:a=0}0!==(a=0!=(a&(r.suspendedLanes|l))?0:a)&&a!==i.retryLane&&(i.retryLane=a,jo(e,a),ru(r,e,a,-1))}return mu(),Bl(e,t,l,r=dl(Error(o(421))))}return"$?"===a.data?(t.flags|=128,t.child=e.child,t=Nu.bind(null,e),a._reactRetry=t,null):(e=i.treeContext,ro=ua(a.nextSibling),no=t,ao=!0,oo=null,null!==e&&(Ga[qa++]=Ka,Ga[qa++]=Qa,Ga[qa++]=Ya,Ka=e.id,Qa=e.overflow,Ya=t),t=zl(t,r.children),t.flags|=4096,t)}(e,t,s,a,r,i,n);if(l){l=a.fallback,s=t.mode,r=(i=e.child).sibling;var u={mode:"hidden",children:a.children};return 0==(1&s)&&t.child!==i?((a=t.child).childLanes=0,a.pendingProps=u,t.deletions=null):(a=Ru(i,u)).subtreeFlags=14680064&i.subtreeFlags,null!==r?l=Ru(r,l):(l=Du(l,s,n,null)).flags|=2,l.return=t,a.return=t,a.sibling=l,t.child=a,a=l,l=t.child,s=null===(s=e.child.memoizedState)?Fl(n):{baseLanes:s.baseLanes|n,cachePool:null,transitions:s.transitions},l.memoizedState=s,l.childLanes=e.childLanes&~n,t.memoizedState=Dl,a}return e=(l=e.child).sibling,a=Ru(l,{mode:"visible",children:a.children}),0==(1&t.mode)&&(a.lanes=n),a.return=t,a.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=a,t.memoizedState=null,a}function zl(e,t){return(t=Fu({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Bl(e,t,n,r){return null!==r&&ho(r),Qo(t,e.child,null,n),(e=zl(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function $l(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),Eo(e.return,t,n)}function Ul(e,t,n,r,a){var o=e.memoizedState;null===o?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:a}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=a)}function Zl(e,t,n){var r=t.pendingProps,a=r.revealOrder,o=r.tail;if(kl(e,t,r.children,n),0!=(2&(r=si.current)))r=1&r|2,t.flags|=128;else{if(null!==e&&0!=(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&$l(e,n,t);else if(19===e.tag)$l(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(Ca(si,r),0==(1&t.mode))t.memoizedState=null;else switch(a){case"forwards":for(n=t.child,a=null;null!==n;)null!==(e=n.alternate)&&null===ui(e)&&(a=n),n=n.sibling;null===(n=a)?(a=t.child,t.child=null):(a=n.sibling,n.sibling=null),Ul(t,!1,a,n,o);break;case"backwards":for(n=null,a=t.child,t.child=null;null!==a;){if(null!==(e=a.alternate)&&null===ui(e)){t.child=a;break}e=a.sibling,a.sibling=n,n=a,a=e}Ul(t,!0,n,null,o);break;case"together":Ul(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Hl(e,t){0==(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Vl(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Fs|=t.lanes,0==(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(o(153));if(null!==t.child){for(n=Ru(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Ru(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Wl(e,t){if(!ao)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Gl(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var a=e.child;null!==a;)n|=a.lanes|a.childLanes,r|=14680064&a.subtreeFlags,r|=14680064&a.flags,a.return=e,a=a.sibling;else for(a=e.child;null!==a;)n|=a.lanes|a.childLanes,r|=a.subtreeFlags,r|=a.flags,a.return=e,a=a.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function ql(e,t,n){var r=t.pendingProps;switch(to(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Gl(t),null;case 1:case 17:return Oa(t.type)&&Pa(),Gl(t),null;case 3:return r=t.stateNode,oi(),_a(Aa),_a(Na),di(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(fo(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0==(256&t.flags)||(t.flags|=1024,null!==oo&&(lu(oo),oo=null))),Pl(e,t),Gl(t),null;case 5:li(t);var a=ri(ni.current);if(n=t.type,null!==e&&null!=t.stateNode)Rl(e,t,n,r,a),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(o(166));return Gl(t),null}if(e=ri(ei.current),fo(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[fa]=t,r[pa]=i,e=0!=(1&t.mode),n){case"dialog":zr("cancel",r),zr("close",r);break;case"iframe":case"object":case"embed":zr("load",r);break;case"video":case"audio":for(a=0;a<Ir.length;a++)zr(Ir[a],r);break;case"source":zr("error",r);break;case"img":case"image":case"link":zr("error",r),zr("load",r);break;case"details":zr("toggle",r);break;case"input":K(r,i),zr("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},zr("invalid",r);break;case"textarea":ae(r,i),zr("invalid",r)}for(var s in be(n,i),a=null,i)if(i.hasOwnProperty(s)){var u=i[s];"children"===s?"string"==typeof u?r.textContent!==u&&(!0!==i.suppressHydrationWarning&&Xr(r.textContent,u,e),a=["children",u]):"number"==typeof u&&r.textContent!==""+u&&(!0!==i.suppressHydrationWarning&&Xr(r.textContent,u,e),a=["children",""+u]):l.hasOwnProperty(s)&&null!=u&&"onScroll"===s&&zr("scroll",r)}switch(n){case"input":W(r),J(r,i,!0);break;case"textarea":W(r),ie(r);break;case"select":case"option":break;default:"function"==typeof i.onClick&&(r.onclick=Jr)}r=a,t.updateQueue=r,null!==r&&(t.flags|=4)}else{s=9===a.nodeType?a:a.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=le(n)),"http://www.w3.org/1999/xhtml"===e?"script"===n?((e=s.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),"select"===n&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[fa]=t,e[pa]=r,Ol(e,t,!1,!1),t.stateNode=e;e:{switch(s=ve(n,r),n){case"dialog":zr("cancel",e),zr("close",e),a=r;break;case"iframe":case"object":case"embed":zr("load",e),a=r;break;case"video":case"audio":for(a=0;a<Ir.length;a++)zr(Ir[a],e);a=r;break;case"source":zr("error",e),a=r;break;case"img":case"image":case"link":zr("error",e),zr("load",e),a=r;break;case"details":zr("toggle",e),a=r;break;case"input":K(e,r),a=Y(e,r),zr("invalid",e);break;case"option":default:a=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},a=F({},r,{value:void 0}),zr("invalid",e);break;case"textarea":ae(e,r),a=re(e,r),zr("invalid",e)}for(i in be(n,a),u=a)if(u.hasOwnProperty(i)){var c=u[i];"style"===i?me(e,c):"dangerouslySetInnerHTML"===i?null!=(c=c?c.__html:void 0)&&de(e,c):"children"===i?"string"==typeof c?("textarea"!==n||""!==c)&&fe(e,c):"number"==typeof c&&fe(e,""+c):"suppressContentEditableWarning"!==i&&"suppressHydrationWarning"!==i&&"autoFocus"!==i&&(l.hasOwnProperty(i)?null!=c&&"onScroll"===i&&zr("scroll",e):null!=c&&v(e,i,c,s))}switch(n){case"input":W(e),J(e,r,!1);break;case"textarea":W(e),ie(e);break;case"option":null!=r.value&&e.setAttribute("value",""+H(r.value));break;case"select":e.multiple=!!r.multiple,null!=(i=r.value)?ne(e,!!r.multiple,i,!1):null!=r.defaultValue&&ne(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof a.onClick&&(e.onclick=Jr)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return Gl(t),null;case 6:if(e&&null!=t.stateNode)Il(e,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(o(166));if(n=ri(ni.current),ri(ei.current),fo(t)){if(r=t.stateNode,n=t.memoizedProps,r[fa]=t,(i=r.nodeValue!==n)&&null!==(e=no))switch(e.tag){case 3:Xr(r.nodeValue,n,0!=(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Xr(r.nodeValue,n,0!=(1&e.mode))}i&&(t.flags|=4)}else(r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[fa]=t,t.stateNode=r}return Gl(t),null;case 13:if(_a(si),r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(ao&&null!==ro&&0!=(1&t.mode)&&0==(128&t.flags))po(),go(),t.flags|=98560,i=!1;else if(i=fo(t),null!==r&&null!==r.dehydrated){if(null===e){if(!i)throw Error(o(318));if(!(i=null!==(i=t.memoizedState)?i.dehydrated:null))throw Error(o(317));i[fa]=t}else go(),0==(128&t.flags)&&(t.memoizedState=null),t.flags|=4;Gl(t),i=!1}else null!==oo&&(lu(oo),oo=null),i=!0;if(!i)return 65536&t.flags?t:null}return 0!=(128&t.flags)?(t.lanes=n,t):((r=null!==r)!==(null!==e&&null!==e.memoizedState)&&r&&(t.child.flags|=8192,0!=(1&t.mode)&&(null===e||0!=(1&si.current)?0===Is&&(Is=3):mu())),null!==t.updateQueue&&(t.flags|=4),Gl(t),null);case 4:return oi(),Pl(e,t),null===e&&Ur(t.stateNode.containerInfo),Gl(t),null;case 10:return So(t.type._context),Gl(t),null;case 19:if(_a(si),null===(i=t.memoizedState))return Gl(t),null;if(r=0!=(128&t.flags),null===(s=i.rendering))if(r)Wl(i,!1);else{if(0!==Is||null!==e&&0!=(128&e.flags))for(e=t.child;null!==e;){if(null!==(s=ui(e))){for(t.flags|=128,Wl(i,!1),null!==(r=s.updateQueue)&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;null!==n;)e=r,(i=n).flags&=14680066,null===(s=i.alternate)?(i.childLanes=0,i.lanes=e,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=s.childLanes,i.lanes=s.lanes,i.child=s.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=s.memoizedProps,i.memoizedState=s.memoizedState,i.updateQueue=s.updateQueue,i.type=s.type,e=s.dependencies,i.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return Ca(si,1&si.current|2),t.child}e=e.sibling}null!==i.tail&&Qe()>Zs&&(t.flags|=128,r=!0,Wl(i,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=ui(s))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),Wl(i,!0),null===i.tail&&"hidden"===i.tailMode&&!s.alternate&&!ao)return Gl(t),null}else 2*Qe()-i.renderingStartTime>Zs&&1073741824!==n&&(t.flags|=128,r=!0,Wl(i,!1),t.lanes=4194304);i.isBackwards?(s.sibling=t.child,t.child=s):(null!==(n=i.last)?n.sibling=s:t.child=s,i.last=s)}return null!==i.tail?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=Qe(),t.sibling=null,n=si.current,Ca(si,r?1&n|2:1&n),t):(Gl(t),null);case 22:case 23:return fu(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&0!=(1&t.mode)?0!=(1073741824&Ps)&&(Gl(t),6&t.subtreeFlags&&(t.flags|=8192)):Gl(t),null;case 24:case 25:return null}throw Error(o(156,t.tag))}function Yl(e,t){switch(to(t),t.tag){case 1:return Oa(t.type)&&Pa(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return oi(),_a(Aa),_a(Na),di(),0!=(65536&(e=t.flags))&&0==(128&e)?(t.flags=-65537&e|128,t):null;case 5:return li(t),null;case 13:if(_a(si),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(o(340));go()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return _a(si),null;case 4:return oi(),null;case 10:return So(t.type._context),null;case 22:case 23:return fu(),null;default:return null}}Ol=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Pl=function(){},Rl=function(e,t,n,r){var a=e.memoizedProps;if(a!==r){e=t.stateNode,ri(ei.current);var o,i=null;switch(n){case"input":a=Y(e,a),r=Y(e,r),i=[];break;case"select":a=F({},a,{value:void 0}),r=F({},r,{value:void 0}),i=[];break;case"textarea":a=re(e,a),r=re(e,r),i=[];break;default:"function"!=typeof a.onClick&&"function"==typeof r.onClick&&(e.onclick=Jr)}for(c in be(n,r),n=null,a)if(!r.hasOwnProperty(c)&&a.hasOwnProperty(c)&&null!=a[c])if("style"===c){var s=a[c];for(o in s)s.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else"dangerouslySetInnerHTML"!==c&&"children"!==c&&"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&"autoFocus"!==c&&(l.hasOwnProperty(c)?i||(i=[]):(i=i||[]).push(c,null));for(c in r){var u=r[c];if(s=null!=a?a[c]:void 0,r.hasOwnProperty(c)&&u!==s&&(null!=u||null!=s))if("style"===c)if(s){for(o in s)!s.hasOwnProperty(o)||u&&u.hasOwnProperty(o)||(n||(n={}),n[o]="");for(o in u)u.hasOwnProperty(o)&&s[o]!==u[o]&&(n||(n={}),n[o]=u[o])}else n||(i||(i=[]),i.push(c,n)),n=u;else"dangerouslySetInnerHTML"===c?(u=u?u.__html:void 0,s=s?s.__html:void 0,null!=u&&s!==u&&(i=i||[]).push(c,u)):"children"===c?"string"!=typeof u&&"number"!=typeof u||(i=i||[]).push(c,""+u):"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&(l.hasOwnProperty(c)?(null!=u&&"onScroll"===c&&zr("scroll",e),i||s===u||(i=[])):(i=i||[]).push(c,u))}n&&(i=i||[]).push("style",n);var c=i;(t.updateQueue=c)&&(t.flags|=4)}},Il=function(e,t,n,r){n!==r&&(t.flags|=4)};var Kl=!1,Ql=!1,Xl="function"==typeof WeakSet?WeakSet:Set,Jl=null;function es(e,t){var n=e.ref;if(null!==n)if("function"==typeof n)try{n(null)}catch(r){_u(e,t,r)}else n.current=null}function ts(e,t,n){try{n()}catch(r){_u(e,t,r)}}var ns=!1;function rs(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var a=r=r.next;do{if((a.tag&e)===e){var o=a.destroy;a.destroy=void 0,void 0!==o&&ts(t,n,o)}a=a.next}while(a!==r)}}function as(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function os(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag,e=n,"function"==typeof t?t(e):t.current=e}}function is(e){var t=e.alternate;null!==t&&(e.alternate=null,is(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[fa],delete t[pa],delete t[ha],delete t[ma],delete t[ya])),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 ls(e){return 5===e.tag||3===e.tag||4===e.tag}function ss(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||ls(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function us(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=Jr));else if(4!==r&&null!==(e=e.child))for(us(e,t,n),e=e.sibling;null!==e;)us(e,t,n),e=e.sibling}function cs(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(cs(e,t,n),e=e.sibling;null!==e;)cs(e,t,n),e=e.sibling}var ds=null,fs=!1;function ps(e,t,n){for(n=n.child;null!==n;)gs(e,t,n),n=n.sibling}function gs(e,t,n){if(ot&&"function"==typeof ot.onCommitFiberUnmount)try{ot.onCommitFiberUnmount(at,n)}catch(l){}switch(n.tag){case 5:Ql||es(n,t);case 6:var r=ds,a=fs;ds=null,ps(e,t,n),fs=a,null!==(ds=r)&&(fs?(e=ds,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):ds.removeChild(n.stateNode));break;case 18:null!==ds&&(fs?(e=ds,n=n.stateNode,8===e.nodeType?sa(e.parentNode,n):1===e.nodeType&&sa(e,n),Ut(e)):sa(ds,n.stateNode));break;case 4:r=ds,a=fs,ds=n.stateNode.containerInfo,fs=!0,ps(e,t,n),ds=r,fs=a;break;case 0:case 11:case 14:case 15:if(!Ql&&(null!==(r=n.updateQueue)&&null!==(r=r.lastEffect))){a=r=r.next;do{var o=a,i=o.destroy;o=o.tag,void 0!==i&&(0!=(2&o)||0!=(4&o))&&ts(n,t,i),a=a.next}while(a!==r)}ps(e,t,n);break;case 1:if(!Ql&&(es(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(l){_u(n,t,l)}ps(e,t,n);break;case 21:ps(e,t,n);break;case 22:1&n.mode?(Ql=(r=Ql)||null!==n.memoizedState,ps(e,t,n),Ql=r):ps(e,t,n);break;default:ps(e,t,n)}}function hs(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Xl),t.forEach((function(t){var r=Au.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function ms(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var a=n[r];try{var i=e,l=t,s=l;e:for(;null!==s;){switch(s.tag){case 5:ds=s.stateNode,fs=!1;break e;case 3:case 4:ds=s.stateNode.containerInfo,fs=!0;break e}s=s.return}if(null===ds)throw Error(o(160));gs(i,l,a),ds=null,fs=!1;var u=a.alternate;null!==u&&(u.return=null),a.return=null}catch(c){_u(a,t,c)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)ys(t,e),t=t.sibling}function ys(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(ms(t,e),bs(e),4&r){try{rs(3,e,e.return),as(3,e)}catch(m){_u(e,e.return,m)}try{rs(5,e,e.return)}catch(m){_u(e,e.return,m)}}break;case 1:ms(t,e),bs(e),512&r&&null!==n&&es(n,n.return);break;case 5:if(ms(t,e),bs(e),512&r&&null!==n&&es(n,n.return),32&e.flags){var a=e.stateNode;try{fe(a,"")}catch(m){_u(e,e.return,m)}}if(4&r&&null!=(a=e.stateNode)){var i=e.memoizedProps,l=null!==n?n.memoizedProps:i,s=e.type,u=e.updateQueue;if(e.updateQueue=null,null!==u)try{"input"===s&&"radio"===i.type&&null!=i.name&&Q(a,i),ve(s,l);var c=ve(s,i);for(l=0;l<u.length;l+=2){var d=u[l],f=u[l+1];"style"===d?me(a,f):"dangerouslySetInnerHTML"===d?de(a,f):"children"===d?fe(a,f):v(a,d,f,c)}switch(s){case"input":X(a,i);break;case"textarea":oe(a,i);break;case"select":var p=a._wrapperState.wasMultiple;a._wrapperState.wasMultiple=!!i.multiple;var g=i.value;null!=g?ne(a,!!i.multiple,g,!1):p!==!!i.multiple&&(null!=i.defaultValue?ne(a,!!i.multiple,i.defaultValue,!0):ne(a,!!i.multiple,i.multiple?[]:"",!1))}a[pa]=i}catch(m){_u(e,e.return,m)}}break;case 6:if(ms(t,e),bs(e),4&r){if(null===e.stateNode)throw Error(o(162));a=e.stateNode,i=e.memoizedProps;try{a.nodeValue=i}catch(m){_u(e,e.return,m)}}break;case 3:if(ms(t,e),bs(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{Ut(t.containerInfo)}catch(m){_u(e,e.return,m)}break;case 4:default:ms(t,e),bs(e);break;case 13:ms(t,e),bs(e),8192&(a=e.child).flags&&(i=null!==a.memoizedState,a.stateNode.isHidden=i,!i||null!==a.alternate&&null!==a.alternate.memoizedState||(Us=Qe())),4&r&&hs(e);break;case 22:if(d=null!==n&&null!==n.memoizedState,1&e.mode?(Ql=(c=Ql)||d,ms(t,e),Ql=c):ms(t,e),bs(e),8192&r){if(c=null!==e.memoizedState,(e.stateNode.isHidden=c)&&!d&&0!=(1&e.mode))for(Jl=e,d=e.child;null!==d;){for(f=Jl=d;null!==Jl;){switch(g=(p=Jl).child,p.tag){case 0:case 11:case 14:case 15:rs(4,p,p.return);break;case 1:es(p,p.return);var h=p.stateNode;if("function"==typeof h.componentWillUnmount){r=p,n=p.return;try{t=r,h.props=t.memoizedProps,h.state=t.memoizedState,h.componentWillUnmount()}catch(m){_u(r,n,m)}}break;case 5:es(p,p.return);break;case 22:if(null!==p.memoizedState){xs(f);continue}}null!==g?(g.return=p,Jl=g):xs(f)}d=d.sibling}e:for(d=null,f=e;;){if(5===f.tag){if(null===d){d=f;try{a=f.stateNode,c?"function"==typeof(i=a.style).setProperty?i.setProperty("display","none","important"):i.display="none":(s=f.stateNode,l=null!=(u=f.memoizedProps.style)&&u.hasOwnProperty("display")?u.display:null,s.style.display=he("display",l))}catch(m){_u(e,e.return,m)}}}else if(6===f.tag){if(null===d)try{f.stateNode.nodeValue=c?"":f.memoizedProps}catch(m){_u(e,e.return,m)}}else if((22!==f.tag&&23!==f.tag||null===f.memoizedState||f===e)&&null!==f.child){f.child.return=f,f=f.child;continue}if(f===e)break e;for(;null===f.sibling;){if(null===f.return||f.return===e)break e;d===f&&(d=null),f=f.return}d===f&&(d=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:ms(t,e),bs(e),4&r&&hs(e);case 21:}}function bs(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(ls(n)){var r=n;break e}n=n.return}throw Error(o(160))}switch(r.tag){case 5:var a=r.stateNode;32&r.flags&&(fe(a,""),r.flags&=-33),cs(e,ss(e),a);break;case 3:case 4:var i=r.stateNode.containerInfo;us(e,ss(e),i);break;default:throw Error(o(161))}}catch(l){_u(e,e.return,l)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function vs(e,t,n){Jl=e,ws(e,t,n)}function ws(e,t,n){for(var r=0!=(1&e.mode);null!==Jl;){var a=Jl,o=a.child;if(22===a.tag&&r){var i=null!==a.memoizedState||Kl;if(!i){var l=a.alternate,s=null!==l&&null!==l.memoizedState||Ql;l=Kl;var u=Ql;if(Kl=i,(Ql=s)&&!u)for(Jl=a;null!==Jl;)s=(i=Jl).child,22===i.tag&&null!==i.memoizedState?Ss(a):null!==s?(s.return=i,Jl=s):Ss(a);for(;null!==o;)Jl=o,ws(o,t,n),o=o.sibling;Jl=a,Kl=l,Ql=u}ks(e)}else 0!=(8772&a.subtreeFlags)&&null!==o?(o.return=a,Jl=o):ks(e)}}function ks(e){for(;null!==Jl;){var t=Jl;if(0!=(8772&t.flags)){var n=t.alternate;try{if(0!=(8772&t.flags))switch(t.tag){case 0:case 11:case 15:Ql||as(5,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!Ql)if(null===n)r.componentDidMount();else{var a=t.elementType===t.type?n.memoizedProps:yo(t.type,n.memoizedProps);r.componentDidUpdate(a,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;null!==i&&zo(t,i,r);break;case 3:var l=t.updateQueue;if(null!==l){if(n=null,null!==t.child)switch(t.child.tag){case 5:case 1:n=t.child.stateNode}zo(t,l,n)}break;case 5:var s=t.stateNode;if(null===n&&4&t.flags){n=s;var u=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":u.autoFocus&&n.focus();break;case"img":u.src&&(n.src=u.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var c=t.alternate;if(null!==c){var d=c.memoizedState;if(null!==d){var f=d.dehydrated;null!==f&&Ut(f)}}}break;default:throw Error(o(163))}Ql||512&t.flags&&os(t)}catch(p){_u(t,t.return,p)}}if(t===e){Jl=null;break}if(null!==(n=t.sibling)){n.return=t.return,Jl=n;break}Jl=t.return}}function xs(e){for(;null!==Jl;){var t=Jl;if(t===e){Jl=null;break}var n=t.sibling;if(null!==n){n.return=t.return,Jl=n;break}Jl=t.return}}function Ss(e){for(;null!==Jl;){var t=Jl;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{as(4,t)}catch(s){_u(t,n,s)}break;case 1:var r=t.stateNode;if("function"==typeof r.componentDidMount){var a=t.return;try{r.componentDidMount()}catch(s){_u(t,a,s)}}var o=t.return;try{os(t)}catch(s){_u(t,o,s)}break;case 5:var i=t.return;try{os(t)}catch(s){_u(t,i,s)}}}catch(s){_u(t,t.return,s)}if(t===e){Jl=null;break}var l=t.sibling;if(null!==l){l.return=t.return,Jl=l;break}Jl=t.return}}var Es,_s=Math.ceil,Cs=w.ReactCurrentDispatcher,Ts=w.ReactCurrentOwner,Ns=w.ReactCurrentBatchConfig,As=0,js=null,Ls=null,Os=0,Ps=0,Rs=Ea(0),Is=0,Ds=null,Fs=0,Ms=0,zs=0,Bs=null,$s=null,Us=0,Zs=1/0,Hs=null,Vs=!1,Ws=null,Gs=null,qs=!1,Ys=null,Ks=0,Qs=0,Xs=null,Js=-1,eu=0;function tu(){return 0!=(6&As)?Qe():-1!==Js?Js:Js=Qe()}function nu(e){return 0==(1&e.mode)?1:0!=(2&As)&&0!==Os?Os&-Os:null!==mo.transition?(0===eu&&(eu=ht()),eu):0!==(e=vt)?e:e=void 0===(e=window.event)?16:Kt(e.type)}function ru(e,t,n,r){if(50<Qs)throw Qs=0,Xs=null,Error(o(185));yt(e,n,r),0!=(2&As)&&e===js||(e===js&&(0==(2&As)&&(Ms|=n),4===Is&&su(e,Os)),au(e,r),1===n&&0===As&&0==(1&t.mode)&&(Zs=Qe()+500,za&&Ua()))}function au(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,a=e.expirationTimes,o=e.pendingLanes;0<o;){var i=31-it(o),l=1<<i,s=a[i];-1===s?0!=(l&n)&&0==(l&r)||(a[i]=pt(l,t)):s<=t&&(e.expiredLanes|=l),o&=~l}}(e,t);var r=ft(e,e===js?Os:0);if(0===r)null!==n&&qe(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&qe(n),1===t)0===e.tag?function(e){za=!0,$a(e)}(uu.bind(null,e)):$a(uu.bind(null,e)),ia((function(){0==(6&As)&&Ua()})),n=null;else{switch(wt(r)){case 1:n=Je;break;case 4:n=et;break;case 16:default:n=tt;break;case 536870912:n=rt}n=ju(n,ou.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function ou(e,t){if(Js=-1,eu=0,0!=(6&As))throw Error(o(327));var n=e.callbackNode;if(Su()&&e.callbackNode!==n)return null;var r=ft(e,e===js?Os:0);if(0===r)return null;if(0!=(30&r)||0!=(r&e.expiredLanes)||t)t=yu(e,r);else{t=r;var a=As;As|=2;var i=hu();for(js===e&&Os===t||(Hs=null,Zs=Qe()+500,pu(e,t));;)try{vu();break}catch(s){gu(e,s)}xo(),Cs.current=i,As=a,null!==Ls?t=0:(js=null,Os=0,t=Is)}if(0!==t){if(2===t&&(0!==(a=gt(e))&&(r=a,t=iu(e,a))),1===t)throw n=Ds,pu(e,0),su(e,r),au(e,Qe()),n;if(6===t)su(e,r);else{if(a=e.current.alternate,0==(30&r)&&!function(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var a=n[r],o=a.getSnapshot;a=a.value;try{if(!lr(o(),a))return!1}catch(l){return!1}}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(a)&&(2===(t=yu(e,r))&&(0!==(i=gt(e))&&(r=i,t=iu(e,i))),1===t))throw n=Ds,pu(e,0),su(e,r),au(e,Qe()),n;switch(e.finishedWork=a,e.finishedLanes=r,t){case 0:case 1:throw Error(o(345));case 2:case 5:xu(e,$s,Hs);break;case 3:if(su(e,r),(130023424&r)===r&&10<(t=Us+500-Qe())){if(0!==ft(e,0))break;if(((a=e.suspendedLanes)&r)!==r){tu(),e.pingedLanes|=e.suspendedLanes&a;break}e.timeoutHandle=ra(xu.bind(null,e,$s,Hs),t);break}xu(e,$s,Hs);break;case 4:if(su(e,r),(4194240&r)===r)break;for(t=e.eventTimes,a=-1;0<r;){var l=31-it(r);i=1<<l,(l=t[l])>a&&(a=l),r&=~i}if(r=a,10<(r=(120>(r=Qe()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*_s(r/1960))-r)){e.timeoutHandle=ra(xu.bind(null,e,$s,Hs),r);break}xu(e,$s,Hs);break;default:throw Error(o(329))}}}return au(e,Qe()),e.callbackNode===n?ou.bind(null,e):null}function iu(e,t){var n=Bs;return e.current.memoizedState.isDehydrated&&(pu(e,t).flags|=256),2!==(e=yu(e,t))&&(t=$s,$s=n,null!==t&&lu(t)),e}function lu(e){null===$s?$s=e:$s.push.apply($s,e)}function su(e,t){for(t&=~zs,t&=~Ms,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-it(t),r=1<<n;e[n]=-1,t&=~r}}function uu(e){if(0!=(6&As))throw Error(o(327));Su();var t=ft(e,0);if(0==(1&t))return au(e,Qe()),null;var n=yu(e,t);if(0!==e.tag&&2===n){var r=gt(e);0!==r&&(t=r,n=iu(e,r))}if(1===n)throw n=Ds,pu(e,0),su(e,t),au(e,Qe()),n;if(6===n)throw Error(o(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,xu(e,$s,Hs),au(e,Qe()),null}function cu(e,t){var n=As;As|=1;try{return e(t)}finally{0===(As=n)&&(Zs=Qe()+500,za&&Ua())}}function du(e){null!==Ys&&0===Ys.tag&&0==(6&As)&&Su();var t=As;As|=1;var n=Ns.transition,r=vt;try{if(Ns.transition=null,vt=1,e)return e()}finally{vt=r,Ns.transition=n,0==(6&(As=t))&&Ua()}}function fu(){Ps=Rs.current,_a(Rs)}function pu(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,aa(n)),null!==Ls)for(n=Ls.return;null!==n;){var r=n;switch(to(r),r.tag){case 1:null!=(r=r.type.childContextTypes)&&Pa();break;case 3:oi(),_a(Aa),_a(Na),di();break;case 5:li(r);break;case 4:oi();break;case 13:case 19:_a(si);break;case 10:So(r.type._context);break;case 22:case 23:fu()}n=n.return}if(js=e,Ls=e=Ru(e.current,null),Os=Ps=t,Is=0,Ds=null,zs=Ms=Fs=0,$s=Bs=null,null!==To){for(t=0;t<To.length;t++)if(null!==(r=(n=To[t]).interleaved)){n.interleaved=null;var a=r.next,o=n.pending;if(null!==o){var i=o.next;o.next=a,r.next=i}n.pending=r}To=null}return e}function gu(e,t){for(;;){var n=Ls;try{if(xo(),fi.current=il,bi){for(var r=hi.memoizedState;null!==r;){var a=r.queue;null!==a&&(a.pending=null),r=r.next}bi=!1}if(gi=0,yi=mi=hi=null,vi=!1,wi=0,Ts.current=null,null===n||null===n.return){Is=1,Ds=t,Ls=null;break}e:{var i=e,l=n.return,s=n,u=t;if(t=Os,s.flags|=32768,null!==u&&"object"==typeof u&&"function"==typeof u.then){var c=u,d=s,f=d.tag;if(0==(1&d.mode)&&(0===f||11===f||15===f)){var p=d.alternate;p?(d.updateQueue=p.updateQueue,d.memoizedState=p.memoizedState,d.lanes=p.lanes):(d.updateQueue=null,d.memoizedState=null)}var g=yl(l);if(null!==g){g.flags&=-257,bl(g,l,s,0,t),1&g.mode&&ml(i,c,t),u=c;var h=(t=g).updateQueue;if(null===h){var m=new Set;m.add(u),t.updateQueue=m}else h.add(u);break e}if(0==(1&t)){ml(i,c,t),mu();break e}u=Error(o(426))}else if(ao&&1&s.mode){var y=yl(l);if(null!==y){0==(65536&y.flags)&&(y.flags|=256),bl(y,l,s,0,t),ho(cl(u,s));break e}}i=u=cl(u,s),4!==Is&&(Is=2),null===Bs?Bs=[i]:Bs.push(i),i=l;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t,Fo(i,gl(0,u,t));break e;case 1:s=u;var b=i.type,v=i.stateNode;if(0==(128&i.flags)&&("function"==typeof b.getDerivedStateFromError||null!==v&&"function"==typeof v.componentDidCatch&&(null===Gs||!Gs.has(v)))){i.flags|=65536,t&=-t,i.lanes|=t,Fo(i,hl(i,s,t));break e}}i=i.return}while(null!==i)}ku(n)}catch(w){t=w,Ls===n&&null!==n&&(Ls=n=n.return);continue}break}}function hu(){var e=Cs.current;return Cs.current=il,null===e?il:e}function mu(){0!==Is&&3!==Is&&2!==Is||(Is=4),null===js||0==(268435455&Fs)&&0==(268435455&Ms)||su(js,Os)}function yu(e,t){var n=As;As|=2;var r=hu();for(js===e&&Os===t||(Hs=null,pu(e,t));;)try{bu();break}catch(a){gu(e,a)}if(xo(),As=n,Cs.current=r,null!==Ls)throw Error(o(261));return js=null,Os=0,Is}function bu(){for(;null!==Ls;)wu(Ls)}function vu(){for(;null!==Ls&&!Ye();)wu(Ls)}function wu(e){var t=Es(e.alternate,e,Ps);e.memoizedProps=e.pendingProps,null===t?ku(e):Ls=t,Ts.current=null}function ku(e){var t=e;do{var n=t.alternate;if(e=t.return,0==(32768&t.flags)){if(null!==(n=ql(n,t,Ps)))return void(Ls=n)}else{if(null!==(n=Yl(n,t)))return n.flags&=32767,void(Ls=n);if(null===e)return Is=6,void(Ls=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}if(null!==(t=t.sibling))return void(Ls=t);Ls=t=e}while(null!==t);0===Is&&(Is=5)}function xu(e,t,n){var r=vt,a=Ns.transition;try{Ns.transition=null,vt=1,function(e,t,n,r){do{Su()}while(null!==Ys);if(0!=(6&As))throw Error(o(327));n=e.finishedWork;var a=e.finishedLanes;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(o(177));e.callbackNode=null,e.callbackPriority=0;var i=n.lanes|n.childLanes;if(function(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var a=31-it(n),o=1<<a;t[a]=0,r[a]=-1,e[a]=-1,n&=~o}}(e,i),e===js&&(Ls=js=null,Os=0),0==(2064&n.subtreeFlags)&&0==(2064&n.flags)||qs||(qs=!0,ju(tt,(function(){return Su(),null}))),i=0!=(15990&n.flags),0!=(15990&n.subtreeFlags)||i){i=Ns.transition,Ns.transition=null;var l=vt;vt=1;var s=As;As|=4,Ts.current=null,function(e,t){if(ea=Ht,pr(e=fr())){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var a=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch(k){n=null;break e}var l=0,s=-1,u=-1,c=0,d=0,f=e,p=null;t:for(;;){for(var g;f!==n||0!==a&&3!==f.nodeType||(s=l+a),f!==i||0!==r&&3!==f.nodeType||(u=l+r),3===f.nodeType&&(l+=f.nodeValue.length),null!==(g=f.firstChild);)p=f,f=g;for(;;){if(f===e)break t;if(p===n&&++c===a&&(s=l),p===i&&++d===r&&(u=l),null!==(g=f.nextSibling))break;p=(f=p).parentNode}f=g}n=-1===s||-1===u?null:{start:s,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(ta={focusedElem:e,selectionRange:n},Ht=!1,Jl=t;null!==Jl;)if(e=(t=Jl).child,0!=(1028&t.subtreeFlags)&&null!==e)e.return=t,Jl=e;else for(;null!==Jl;){t=Jl;try{var h=t.alternate;if(0!=(1024&t.flags))switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==h){var m=h.memoizedProps,y=h.memoizedState,b=t.stateNode,v=b.getSnapshotBeforeUpdate(t.elementType===t.type?m:yo(t.type,m),y);b.__reactInternalSnapshotBeforeUpdate=v}break;case 3:var w=t.stateNode.containerInfo;1===w.nodeType?w.textContent="":9===w.nodeType&&w.documentElement&&w.removeChild(w.documentElement);break;default:throw Error(o(163))}}catch(k){_u(t,t.return,k)}if(null!==(e=t.sibling)){e.return=t.return,Jl=e;break}Jl=t.return}h=ns,ns=!1}(e,n),ys(n,e),gr(ta),Ht=!!ea,ta=ea=null,e.current=n,vs(n,e,a),Ke(),As=s,vt=l,Ns.transition=i}else e.current=n;if(qs&&(qs=!1,Ys=e,Ks=a),i=e.pendingLanes,0===i&&(Gs=null),function(e){if(ot&&"function"==typeof ot.onCommitFiberRoot)try{ot.onCommitFiberRoot(at,e,void 0,128==(128&e.current.flags))}catch(t){}}(n.stateNode),au(e,Qe()),null!==t)for(r=e.onRecoverableError,n=0;n<t.length;n++)a=t[n],r(a.value,{componentStack:a.stack,digest:a.digest});if(Vs)throw Vs=!1,e=Ws,Ws=null,e;0!=(1&Ks)&&0!==e.tag&&Su(),i=e.pendingLanes,0!=(1&i)?e===Xs?Qs++:(Qs=0,Xs=e):Qs=0,Ua()}(e,t,n,r)}finally{Ns.transition=a,vt=r}return null}function Su(){if(null!==Ys){var e=wt(Ks),t=Ns.transition,n=vt;try{if(Ns.transition=null,vt=16>e?16:e,null===Ys)var r=!1;else{if(e=Ys,Ys=null,Ks=0,0!=(6&As))throw Error(o(331));var a=As;for(As|=4,Jl=e.current;null!==Jl;){var i=Jl,l=i.child;if(0!=(16&Jl.flags)){var s=i.deletions;if(null!==s){for(var u=0;u<s.length;u++){var c=s[u];for(Jl=c;null!==Jl;){var d=Jl;switch(d.tag){case 0:case 11:case 15:rs(8,d,i)}var f=d.child;if(null!==f)f.return=d,Jl=f;else for(;null!==Jl;){var p=(d=Jl).sibling,g=d.return;if(is(d),d===c){Jl=null;break}if(null!==p){p.return=g,Jl=p;break}Jl=g}}}var h=i.alternate;if(null!==h){var m=h.child;if(null!==m){h.child=null;do{var y=m.sibling;m.sibling=null,m=y}while(null!==m)}}Jl=i}}if(0!=(2064&i.subtreeFlags)&&null!==l)l.return=i,Jl=l;else e:for(;null!==Jl;){if(0!=(2048&(i=Jl).flags))switch(i.tag){case 0:case 11:case 15:rs(9,i,i.return)}var b=i.sibling;if(null!==b){b.return=i.return,Jl=b;break e}Jl=i.return}}var v=e.current;for(Jl=v;null!==Jl;){var w=(l=Jl).child;if(0!=(2064&l.subtreeFlags)&&null!==w)w.return=l,Jl=w;else e:for(l=v;null!==Jl;){if(0!=(2048&(s=Jl).flags))try{switch(s.tag){case 0:case 11:case 15:as(9,s)}}catch(x){_u(s,s.return,x)}if(s===l){Jl=null;break e}var k=s.sibling;if(null!==k){k.return=s.return,Jl=k;break e}Jl=s.return}}if(As=a,Ua(),ot&&"function"==typeof ot.onPostCommitFiberRoot)try{ot.onPostCommitFiberRoot(at,e)}catch(x){}r=!0}return r}finally{vt=n,Ns.transition=t}}return!1}function Eu(e,t,n){e=Io(e,t=gl(0,t=cl(n,t),1),1),t=tu(),null!==e&&(yt(e,1,t),au(e,t))}function _u(e,t,n){if(3===e.tag)Eu(e,e,n);else for(;null!==t;){if(3===t.tag){Eu(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Gs||!Gs.has(r))){t=Io(t,e=hl(t,e=cl(n,e),1),1),e=tu(),null!==t&&(yt(t,1,e),au(t,e));break}}t=t.return}}function Cu(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=tu(),e.pingedLanes|=e.suspendedLanes&n,js===e&&(Os&n)===n&&(4===Is||3===Is&&(130023424&Os)===Os&&500>Qe()-Us?pu(e,0):zs|=n),au(e,t)}function Tu(e,t){0===t&&(0==(1&e.mode)?t=1:(t=ct,0==(130023424&(ct<<=1))&&(ct=4194304)));var n=tu();null!==(e=jo(e,t))&&(yt(e,t,n),au(e,n))}function Nu(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),Tu(e,n)}function Au(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,a=e.memoizedState;null!==a&&(n=a.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(o(314))}null!==r&&r.delete(t),Tu(e,n)}function ju(e,t){return Ge(e,t)}function Lu(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ou(e,t,n,r){return new Lu(e,t,n,r)}function Pu(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Ru(e,t){var n=e.alternate;return null===n?((n=Ou(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Iu(e,t,n,r,a,i){var l=2;if(r=e,"function"==typeof e)Pu(e)&&(l=1);else if("string"==typeof e)l=5;else e:switch(e){case S:return Du(n.children,a,i,t);case E:l=8,a|=8;break;case _:return(e=Ou(12,n,t,2|a)).elementType=_,e.lanes=i,e;case A:return(e=Ou(13,n,t,a)).elementType=A,e.lanes=i,e;case j:return(e=Ou(19,n,t,a)).elementType=j,e.lanes=i,e;case P:return Fu(n,a,i,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case C:l=10;break e;case T:l=9;break e;case N:l=11;break e;case L:l=14;break e;case O:l=16,r=null;break e}throw Error(o(130,null==e?e:typeof e,""))}return(t=Ou(l,n,t,a)).elementType=e,t.type=r,t.lanes=i,t}function Du(e,t,n,r){return(e=Ou(7,e,r,t)).lanes=n,e}function Fu(e,t,n,r){return(e=Ou(22,e,r,t)).elementType=P,e.lanes=n,e.stateNode={isHidden:!1},e}function Mu(e,t,n){return(e=Ou(6,e,null,t)).lanes=n,e}function zu(e,t,n){return(t=Ou(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Bu(e,t,n,r,a){this.tag=t,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=mt(0),this.expirationTimes=mt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=mt(0),this.identifierPrefix=r,this.onRecoverableError=a,this.mutableSourceEagerHydrationData=null}function $u(e,t,n,r,a,o,i,l,s){return e=new Bu(e,t,n,l,s),1===t?(t=1,!0===o&&(t|=8)):t=0,o=Ou(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Oo(o),e}function Uu(e){if(!e)return Ta;e:{if(Ue(e=e._reactInternals)!==e||1!==e.tag)throw Error(o(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Oa(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(o(171))}if(1===e.tag){var n=e.type;if(Oa(n))return Ia(e,n,t)}return t}function Zu(e,t,n,r,a,o,i,l,s){return(e=$u(n,r,!0,e,0,o,0,l,s)).context=Uu(null),n=e.current,(o=Ro(r=tu(),a=nu(n))).callback=null!=t?t:null,Io(n,o,a),e.current.lanes=a,yt(e,a,r),au(e,r),e}function Hu(e,t,n,r){var a=t.current,o=tu(),i=nu(a);return n=Uu(n),null===t.context?t.context=n:t.pendingContext=n,(t=Ro(o,i)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=Io(a,t,i))&&(ru(e,a,i,o),Do(e,a,i)),i}function Vu(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Wu(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Gu(e,t){Wu(e,t),(e=e.alternate)&&Wu(e,t)}Es=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||Aa.current)wl=!0;else{if(0==(e.lanes&n)&&0==(128&t.flags))return wl=!1,function(e,t,n){switch(t.tag){case 3:jl(t),go();break;case 5:ii(t);break;case 1:Oa(t.type)&&Da(t);break;case 4:ai(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,a=t.memoizedProps.value;Ca(bo,r._currentValue),r._currentValue=a;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(Ca(si,1&si.current),t.flags|=128,null):0!=(n&t.child.childLanes)?Ml(e,t,n):(Ca(si,1&si.current),null!==(e=Vl(e,t,n))?e.sibling:null);Ca(si,1&si.current);break;case 19:if(r=0!=(n&t.childLanes),0!=(128&e.flags)){if(r)return Zl(e,t,n);t.flags|=128}if(null!==(a=t.memoizedState)&&(a.rendering=null,a.tail=null,a.lastEffect=null),Ca(si,si.current),r)break;return null;case 22:case 23:return t.lanes=0,_l(e,t,n)}return Vl(e,t,n)}(e,t,n);wl=0!=(131072&e.flags)}else wl=!1,ao&&0!=(1048576&t.flags)&&Ja(t,Wa,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Hl(e,t),e=t.pendingProps;var a=La(t,Na.current);_o(t,n),a=Ei(null,t,r,e,a,n);var i=_i();return t.flags|=1,"object"==typeof a&&null!==a&&"function"==typeof a.render&&void 0===a.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Oa(r)?(i=!0,Da(t)):i=!1,t.memoizedState=null!==a.state&&void 0!==a.state?a.state:null,Oo(t),a.updater=Uo,t.stateNode=a,a._reactInternals=t,Wo(t,r,e,n),t=Al(null,t,r,!0,i,n)):(t.tag=0,ao&&i&&eo(t),kl(null,t,a,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Hl(e,t),e=t.pendingProps,r=(a=r._init)(r._payload),t.type=r,a=t.tag=function(e){if("function"==typeof e)return Pu(e)?1:0;if(null!=e){if((e=e.$$typeof)===N)return 11;if(e===L)return 14}return 2}(r),e=yo(r,e),a){case 0:t=Tl(null,t,r,e,n);break e;case 1:t=Nl(null,t,r,e,n);break e;case 11:t=xl(null,t,r,e,n);break e;case 14:t=Sl(null,t,r,yo(r.type,e),n);break e}throw Error(o(306,r,""))}return t;case 0:return r=t.type,a=t.pendingProps,Tl(e,t,r,a=t.elementType===r?a:yo(r,a),n);case 1:return r=t.type,a=t.pendingProps,Nl(e,t,r,a=t.elementType===r?a:yo(r,a),n);case 3:e:{if(jl(t),null===e)throw Error(o(387));r=t.pendingProps,a=(i=t.memoizedState).element,Po(e,t),Mo(t,r,null,n);var l=t.memoizedState;if(r=l.element,i.isDehydrated){if(i={element:r,isDehydrated:!1,cache:l.cache,pendingSuspenseBoundaries:l.pendingSuspenseBoundaries,transitions:l.transitions},t.updateQueue.baseState=i,t.memoizedState=i,256&t.flags){t=Ll(e,t,r,n,a=cl(Error(o(423)),t));break e}if(r!==a){t=Ll(e,t,r,n,a=cl(Error(o(424)),t));break e}for(ro=ua(t.stateNode.containerInfo.firstChild),no=t,ao=!0,oo=null,n=Xo(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(go(),r===a){t=Vl(e,t,n);break e}kl(e,t,r,n)}t=t.child}return t;case 5:return ii(t),null===e&&uo(t),r=t.type,a=t.pendingProps,i=null!==e?e.memoizedProps:null,l=a.children,na(r,a)?l=null:null!==i&&na(r,i)&&(t.flags|=32),Cl(e,t),kl(e,t,l,n),t.child;case 6:return null===e&&uo(t),null;case 13:return Ml(e,t,n);case 4:return ai(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Qo(t,null,r,n):kl(e,t,r,n),t.child;case 11:return r=t.type,a=t.pendingProps,xl(e,t,r,a=t.elementType===r?a:yo(r,a),n);case 7:return kl(e,t,t.pendingProps,n),t.child;case 8:case 12:return kl(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,a=t.pendingProps,i=t.memoizedProps,l=a.value,Ca(bo,r._currentValue),r._currentValue=l,null!==i)if(lr(i.value,l)){if(i.children===a.children&&!Aa.current){t=Vl(e,t,n);break e}}else for(null!==(i=t.child)&&(i.return=t);null!==i;){var s=i.dependencies;if(null!==s){l=i.child;for(var u=s.firstContext;null!==u;){if(u.context===r){if(1===i.tag){(u=Ro(-1,n&-n)).tag=2;var c=i.updateQueue;if(null!==c){var d=(c=c.shared).pending;null===d?u.next=u:(u.next=d.next,d.next=u),c.pending=u}}i.lanes|=n,null!==(u=i.alternate)&&(u.lanes|=n),Eo(i.return,n,t),s.lanes|=n;break}u=u.next}}else if(10===i.tag)l=i.type===t.type?null:i.child;else if(18===i.tag){if(null===(l=i.return))throw Error(o(341));l.lanes|=n,null!==(s=l.alternate)&&(s.lanes|=n),Eo(l,n,t),l=i.sibling}else l=i.child;if(null!==l)l.return=i;else for(l=i;null!==l;){if(l===t){l=null;break}if(null!==(i=l.sibling)){i.return=l.return,l=i;break}l=l.return}i=l}kl(e,t,a.children,n),t=t.child}return t;case 9:return a=t.type,r=t.pendingProps.children,_o(t,n),r=r(a=Co(a)),t.flags|=1,kl(e,t,r,n),t.child;case 14:return a=yo(r=t.type,t.pendingProps),Sl(e,t,r,a=yo(r.type,a),n);case 15:return El(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,a=t.pendingProps,a=t.elementType===r?a:yo(r,a),Hl(e,t),t.tag=1,Oa(r)?(e=!0,Da(t)):e=!1,_o(t,n),Ho(t,r,a),Wo(t,r,a,n),Al(null,t,r,!0,e,n);case 19:return Zl(e,t,n);case 22:return _l(e,t,n)}throw Error(o(156,t.tag))};var qu="function"==typeof reportError?reportError:function(e){console.error(e)};function Yu(e){this._internalRoot=e}function Ku(e){this._internalRoot=e}function Qu(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Xu(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Ju(){}function ec(e,t,n,r,a){var o=n._reactRootContainer;if(o){var i=o;if("function"==typeof a){var l=a;a=function(){var e=Vu(i);l.call(e)}}Hu(t,i,e,a)}else i=function(e,t,n,r,a){if(a){if("function"==typeof r){var o=r;r=function(){var e=Vu(i);o.call(e)}}var i=Zu(t,r,e,0,null,!1,0,"",Ju);return e._reactRootContainer=i,e[ga]=i.current,Ur(8===e.nodeType?e.parentNode:e),du(),i}for(;a=e.lastChild;)e.removeChild(a);if("function"==typeof r){var l=r;r=function(){var e=Vu(s);l.call(e)}}var s=$u(e,0,!1,null,0,!1,0,"",Ju);return e._reactRootContainer=s,e[ga]=s.current,Ur(8===e.nodeType?e.parentNode:e),du((function(){Hu(t,s,n,r)})),s}(n,t,e,a,r);return Vu(i)}Ku.prototype.render=Yu.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(o(409));Hu(e,t,null,null)},Ku.prototype.unmount=Yu.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;du((function(){Hu(null,e,null,null)})),t[ga]=null}},Ku.prototype.unstable_scheduleHydration=function(e){if(e){var t=Et();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Pt.length&&0!==t&&t<Pt[n].priority;n++);Pt.splice(n,0,e),0===n&&Ft(e)}},kt=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=dt(t.pendingLanes);0!==n&&(bt(t,1|n),au(t,Qe()),0==(6&As)&&(Zs=Qe()+500,Ua()))}break;case 13:du((function(){var t=jo(e,1);if(null!==t){var n=tu();ru(t,e,1,n)}})),Gu(e,1)}},xt=function(e){if(13===e.tag){var t=jo(e,134217728);if(null!==t)ru(t,e,134217728,tu());Gu(e,134217728)}},St=function(e){if(13===e.tag){var t=nu(e),n=jo(e,t);if(null!==n)ru(n,e,t,tu());Gu(e,t)}},Et=function(){return vt},_t=function(e,t){var n=vt;try{return vt=e,t()}finally{vt=n}},xe=function(e,t,n){switch(t){case"input":if(X(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var a=ka(r);if(!a)throw Error(o(90));G(r),X(r,a)}}}break;case"textarea":oe(e,n);break;case"select":null!=(t=n.value)&&ne(e,!!n.multiple,t,!1)}},Ne=cu,Ae=du;var tc={usingClientEntryPoint:!1,Events:[va,wa,ka,Ce,Te,cu]},nc={findFiberByHostInstance:ba,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},rc={bundleType:nc.bundleType,version:nc.version,rendererPackageName:nc.rendererPackageName,rendererConfig:nc.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:w.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=Ve(e))?null:e.stateNode},findFiberByHostInstance:nc.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var ac=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ac.isDisabled&&ac.supportsFiber)try{at=ac.inject(rc),ot=ac}catch(ce){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=tc,t.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Qu(t))throw Error(o(200));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:x,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)},t.createRoot=function(e,t){if(!Qu(e))throw Error(o(299));var n=!1,r="",a=qu;return null!=t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onRecoverableError&&(a=t.onRecoverableError)),t=$u(e,1,!1,null,0,n,0,r,a),e[ga]=t.current,Ur(8===e.nodeType?e.parentNode:e),new Yu(t)},t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(o(188));throw e=Object.keys(e).join(","),Error(o(268,e))}return e=null===(e=Ve(t))?null:e.stateNode},t.flushSync=function(e){return du(e)},t.hydrate=function(e,t,n){if(!Xu(t))throw Error(o(200));return ec(null,e,t,!0,n)},t.hydrateRoot=function(e,t,n){if(!Qu(e))throw Error(o(405));var r=null!=n&&n.hydratedSources||null,a=!1,i="",l=qu;if(null!=n&&(!0===n.unstable_strictMode&&(a=!0),void 0!==n.identifierPrefix&&(i=n.identifierPrefix),void 0!==n.onRecoverableError&&(l=n.onRecoverableError)),t=Zu(t,null,e,1,null!=n?n:null,a,0,i,l),e[ga]=t.current,Ur(e),r)for(e=0;e<r.length;e++)a=(a=(n=r[e])._getVersion)(n._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[n,a]:t.mutableSourceEagerHydrationData.push(n,a);return new Ku(t)},t.render=function(e,t,n){if(!Xu(t))throw Error(o(200));return ec(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!Xu(e))throw Error(o(40));return!!e._reactRootContainer&&(du((function(){ec(null,null,e,!1,(function(){e._reactRootContainer=null,e[ga]=null}))})),!0)},t.unstable_batchedUpdates=cu,t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Xu(n))throw Error(o(200));if(null==e||void 0===e._reactInternals)throw Error(o(38));return ec(e,t,n,!1,r)},t.version="18.2.0-next-9e3b772b8-20220608"},745:(e,t,n)=>{"use strict";var r=n(3935);t.createRoot=r.createRoot,t.hydrateRoot=r.hydrateRoot},3935:(e,t,n)=>{"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}(),e.exports=n(4448)},9590:e=>{var t="undefined"!=typeof Element,n="function"==typeof Map,r="function"==typeof Set,a="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function o(e,i){if(e===i)return!0;if(e&&i&&"object"==typeof e&&"object"==typeof i){if(e.constructor!==i.constructor)return!1;var l,s,u,c;if(Array.isArray(e)){if((l=e.length)!=i.length)return!1;for(s=l;0!=s--;)if(!o(e[s],i[s]))return!1;return!0}if(n&&e instanceof Map&&i instanceof Map){if(e.size!==i.size)return!1;for(c=e.entries();!(s=c.next()).done;)if(!i.has(s.value[0]))return!1;for(c=e.entries();!(s=c.next()).done;)if(!o(s.value[1],i.get(s.value[0])))return!1;return!0}if(r&&e instanceof Set&&i instanceof Set){if(e.size!==i.size)return!1;for(c=e.entries();!(s=c.next()).done;)if(!i.has(s.value[0]))return!1;return!0}if(a&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(i)){if((l=e.length)!=i.length)return!1;for(s=l;0!=s--;)if(e[s]!==i[s])return!1;return!0}if(e.constructor===RegExp)return e.source===i.source&&e.flags===i.flags;if(e.valueOf!==Object.prototype.valueOf&&"function"==typeof e.valueOf&&"function"==typeof i.valueOf)return e.valueOf()===i.valueOf();if(e.toString!==Object.prototype.toString&&"function"==typeof e.toString&&"function"==typeof i.toString)return e.toString()===i.toString();if((l=(u=Object.keys(e)).length)!==Object.keys(i).length)return!1;for(s=l;0!=s--;)if(!Object.prototype.hasOwnProperty.call(i,u[s]))return!1;if(t&&e instanceof Element)return!1;for(s=l;0!=s--;)if(("_owner"!==u[s]&&"__v"!==u[s]&&"__o"!==u[s]||!e.$$typeof)&&!o(e[u[s]],i[u[s]]))return!1;return!0}return e!=e&&i!=i}e.exports=function(e,t){try{return o(e,t)}catch(n){if((n.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw n}}},405:(e,t,n)=>{"use strict";n.d(t,{B6:()=>V,ql:()=>J});var r=n(7294),a=n(5697),o=n.n(a),i=n(9590),l=n.n(i),s=n(1143),u=n.n(s),c=n(6774),d=n.n(c);function f(){return f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},f.apply(this,arguments)}function p(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,g(e,t)}function g(e,t){return g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},g(e,t)}function h(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)t.indexOf(n=o[r])>=0||(a[n]=e[n]);return a}var m={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title",FRAGMENT:"Symbol(react.fragment)"},y={rel:["amphtml","canonical","alternate"]},b={type:["application/ld+json"]},v={charset:"",name:["robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]},w=Object.keys(m).map((function(e){return m[e]})),k={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},x=Object.keys(k).reduce((function(e,t){return e[k[t]]=t,e}),{}),S=function(e,t){for(var n=e.length-1;n>=0;n-=1){var r=e[n];if(Object.prototype.hasOwnProperty.call(r,t))return r[t]}return null},E=function(e){var t=S(e,m.TITLE),n=S(e,"titleTemplate");if(Array.isArray(t)&&(t=t.join("")),n&&t)return n.replace(/%s/g,(function(){return t}));var r=S(e,"defaultTitle");return t||r||void 0},_=function(e){return S(e,"onChangeClientState")||function(){}},C=function(e,t){return t.filter((function(t){return void 0!==t[e]})).map((function(t){return t[e]})).reduce((function(e,t){return f({},e,t)}),{})},T=function(e,t){return t.filter((function(e){return void 0!==e[m.BASE]})).map((function(e){return e[m.BASE]})).reverse().reduce((function(t,n){if(!t.length)for(var r=Object.keys(n),a=0;a<r.length;a+=1){var o=r[a].toLowerCase();if(-1!==e.indexOf(o)&&n[o])return t.concat(n)}return t}),[])},N=function(e,t,n){var r={};return n.filter((function(t){return!!Array.isArray(t[e])||(void 0!==t[e]&&console&&"function"==typeof console.warn&&console.warn("Helmet: "+e+' should be of type "Array". Instead found type "'+typeof t[e]+'"'),!1)})).map((function(t){return t[e]})).reverse().reduce((function(e,n){var a={};n.filter((function(e){for(var n,o=Object.keys(e),i=0;i<o.length;i+=1){var l=o[i],s=l.toLowerCase();-1===t.indexOf(s)||"rel"===n&&"canonical"===e[n].toLowerCase()||"rel"===s&&"stylesheet"===e[s].toLowerCase()||(n=s),-1===t.indexOf(l)||"innerHTML"!==l&&"cssText"!==l&&"itemprop"!==l||(n=l)}if(!n||!e[n])return!1;var u=e[n].toLowerCase();return r[n]||(r[n]={}),a[n]||(a[n]={}),!r[n][u]&&(a[n][u]=!0,!0)})).reverse().forEach((function(t){return e.push(t)}));for(var o=Object.keys(a),i=0;i<o.length;i+=1){var l=o[i],s=f({},r[l],a[l]);r[l]=s}return e}),[]).reverse()},A=function(e,t){if(Array.isArray(e)&&e.length)for(var n=0;n<e.length;n+=1)if(e[n][t])return!0;return!1},j=function(e){return Array.isArray(e)?e.join(""):e},L=function(e,t){return Array.isArray(e)?e.reduce((function(e,n){return function(e,t){for(var n=Object.keys(e),r=0;r<n.length;r+=1)if(t[n[r]]&&t[n[r]].includes(e[n[r]]))return!0;return!1}(n,t)?e.priority.push(n):e.default.push(n),e}),{priority:[],default:[]}):{default:e}},O=function(e,t){var n;return f({},e,((n={})[t]=void 0,n))},P=[m.NOSCRIPT,m.SCRIPT,m.STYLE],R=function(e,t){return void 0===t&&(t=!0),!1===t?String(e):String(e).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")},I=function(e){return Object.keys(e).reduce((function(t,n){var r=void 0!==e[n]?n+'="'+e[n]+'"':""+n;return t?t+" "+r:r}),"")},D=function(e,t){return void 0===t&&(t={}),Object.keys(e).reduce((function(t,n){return t[k[n]||n]=e[n],t}),t)},F=function(e,t){return t.map((function(t,n){var a,o=((a={key:n})["data-rh"]=!0,a);return Object.keys(t).forEach((function(e){var n=k[e]||e;"innerHTML"===n||"cssText"===n?o.dangerouslySetInnerHTML={__html:t.innerHTML||t.cssText}:o[n]=t[e]})),r.createElement(e,o)}))},M=function(e,t,n){switch(e){case m.TITLE:return{toComponent:function(){return n=t.titleAttributes,(a={key:e=t.title})["data-rh"]=!0,o=D(n,a),[r.createElement(m.TITLE,o,e)];var e,n,a,o},toString:function(){return function(e,t,n,r){var a=I(n),o=j(t);return a?"<"+e+' data-rh="true" '+a+">"+R(o,r)+"</"+e+">":"<"+e+' data-rh="true">'+R(o,r)+"</"+e+">"}(e,t.title,t.titleAttributes,n)}};case"bodyAttributes":case"htmlAttributes":return{toComponent:function(){return D(t)},toString:function(){return I(t)}};default:return{toComponent:function(){return F(e,t)},toString:function(){return function(e,t,n){return t.reduce((function(t,r){var a=Object.keys(r).filter((function(e){return!("innerHTML"===e||"cssText"===e)})).reduce((function(e,t){var a=void 0===r[t]?t:t+'="'+R(r[t],n)+'"';return e?e+" "+a:a}),""),o=r.innerHTML||r.cssText||"",i=-1===P.indexOf(e);return t+"<"+e+' data-rh="true" '+a+(i?"/>":">"+o+"</"+e+">")}),"")}(e,t,n)}}}},z=function(e){var t=e.baseTag,n=e.bodyAttributes,r=e.encode,a=e.htmlAttributes,o=e.noscriptTags,i=e.styleTags,l=e.title,s=void 0===l?"":l,u=e.titleAttributes,c=e.linkTags,d=e.metaTags,f=e.scriptTags,p={toComponent:function(){},toString:function(){return""}};if(e.prioritizeSeoTags){var g=function(e){var t=e.linkTags,n=e.scriptTags,r=e.encode,a=L(e.metaTags,v),o=L(t,y),i=L(n,b);return{priorityMethods:{toComponent:function(){return[].concat(F(m.META,a.priority),F(m.LINK,o.priority),F(m.SCRIPT,i.priority))},toString:function(){return M(m.META,a.priority,r)+" "+M(m.LINK,o.priority,r)+" "+M(m.SCRIPT,i.priority,r)}},metaTags:a.default,linkTags:o.default,scriptTags:i.default}}(e);p=g.priorityMethods,c=g.linkTags,d=g.metaTags,f=g.scriptTags}return{priority:p,base:M(m.BASE,t,r),bodyAttributes:M("bodyAttributes",n,r),htmlAttributes:M("htmlAttributes",a,r),link:M(m.LINK,c,r),meta:M(m.META,d,r),noscript:M(m.NOSCRIPT,o,r),script:M(m.SCRIPT,f,r),style:M(m.STYLE,i,r),title:M(m.TITLE,{title:s,titleAttributes:u},r)}},B=[],$=function(e,t){var n=this;void 0===t&&(t="undefined"!=typeof document),this.instances=[],this.value={setHelmet:function(e){n.context.helmet=e},helmetInstances:{get:function(){return n.canUseDOM?B:n.instances},add:function(e){(n.canUseDOM?B:n.instances).push(e)},remove:function(e){var t=(n.canUseDOM?B:n.instances).indexOf(e);(n.canUseDOM?B:n.instances).splice(t,1)}}},this.context=e,this.canUseDOM=t,t||(e.helmet=z({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))},U=r.createContext({}),Z=o().shape({setHelmet:o().func,helmetInstances:o().shape({get:o().func,add:o().func,remove:o().func})}),H="undefined"!=typeof document,V=function(e){function t(n){var r;return(r=e.call(this,n)||this).helmetData=new $(r.props.context,t.canUseDOM),r}return p(t,e),t.prototype.render=function(){return r.createElement(U.Provider,{value:this.helmetData.value},this.props.children)},t}(r.Component);V.canUseDOM=H,V.propTypes={context:o().shape({helmet:o().shape()}),children:o().node.isRequired},V.defaultProps={context:{}},V.displayName="HelmetProvider";var W=function(e,t){var n,r=document.head||document.querySelector(m.HEAD),a=r.querySelectorAll(e+"[data-rh]"),o=[].slice.call(a),i=[];return t&&t.length&&t.forEach((function(t){var r=document.createElement(e);for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&("innerHTML"===a?r.innerHTML=t.innerHTML:"cssText"===a?r.styleSheet?r.styleSheet.cssText=t.cssText:r.appendChild(document.createTextNode(t.cssText)):r.setAttribute(a,void 0===t[a]?"":t[a]));r.setAttribute("data-rh","true"),o.some((function(e,t){return n=t,r.isEqualNode(e)}))?o.splice(n,1):i.push(r)})),o.forEach((function(e){return e.parentNode.removeChild(e)})),i.forEach((function(e){return r.appendChild(e)})),{oldTags:o,newTags:i}},G=function(e,t){var n=document.getElementsByTagName(e)[0];if(n){for(var r=n.getAttribute("data-rh"),a=r?r.split(","):[],o=[].concat(a),i=Object.keys(t),l=0;l<i.length;l+=1){var s=i[l],u=t[s]||"";n.getAttribute(s)!==u&&n.setAttribute(s,u),-1===a.indexOf(s)&&a.push(s);var c=o.indexOf(s);-1!==c&&o.splice(c,1)}for(var d=o.length-1;d>=0;d-=1)n.removeAttribute(o[d]);a.length===o.length?n.removeAttribute("data-rh"):n.getAttribute("data-rh")!==i.join(",")&&n.setAttribute("data-rh",i.join(","))}},q=function(e,t){var n=e.baseTag,r=e.htmlAttributes,a=e.linkTags,o=e.metaTags,i=e.noscriptTags,l=e.onChangeClientState,s=e.scriptTags,u=e.styleTags,c=e.title,d=e.titleAttributes;G(m.BODY,e.bodyAttributes),G(m.HTML,r),function(e,t){void 0!==e&&document.title!==e&&(document.title=j(e)),G(m.TITLE,t)}(c,d);var f={baseTag:W(m.BASE,n),linkTags:W(m.LINK,a),metaTags:W(m.META,o),noscriptTags:W(m.NOSCRIPT,i),scriptTags:W(m.SCRIPT,s),styleTags:W(m.STYLE,u)},p={},g={};Object.keys(f).forEach((function(e){var t=f[e],n=t.newTags,r=t.oldTags;n.length&&(p[e]=n),r.length&&(g[e]=f[e].oldTags)})),t&&t(),l(e,p,g)},Y=null,K=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).rendered=!1,t}p(t,e);var n=t.prototype;return n.shouldComponentUpdate=function(e){return!d()(e,this.props)},n.componentDidUpdate=function(){this.emitChange()},n.componentWillUnmount=function(){this.props.context.helmetInstances.remove(this),this.emitChange()},n.emitChange=function(){var e,t,n=this.props.context,r=n.setHelmet,a=null,o=(e=n.helmetInstances.get().map((function(e){var t=f({},e.props);return delete t.context,t})),{baseTag:T(["href"],e),bodyAttributes:C("bodyAttributes",e),defer:S(e,"defer"),encode:S(e,"encodeSpecialCharacters"),htmlAttributes:C("htmlAttributes",e),linkTags:N(m.LINK,["rel","href"],e),metaTags:N(m.META,["name","charset","http-equiv","property","itemprop"],e),noscriptTags:N(m.NOSCRIPT,["innerHTML"],e),onChangeClientState:_(e),scriptTags:N(m.SCRIPT,["src","innerHTML"],e),styleTags:N(m.STYLE,["cssText"],e),title:E(e),titleAttributes:C("titleAttributes",e),prioritizeSeoTags:A(e,"prioritizeSeoTags")});V.canUseDOM?(t=o,Y&&cancelAnimationFrame(Y),t.defer?Y=requestAnimationFrame((function(){q(t,(function(){Y=null}))})):(q(t),Y=null)):z&&(a=z(o)),r(a)},n.init=function(){this.rendered||(this.rendered=!0,this.props.context.helmetInstances.add(this),this.emitChange())},n.render=function(){return this.init(),null},t}(r.Component);K.propTypes={context:Z.isRequired},K.displayName="HelmetDispatcher";var Q=["children"],X=["children"],J=function(e){function t(){return e.apply(this,arguments)||this}p(t,e);var n=t.prototype;return n.shouldComponentUpdate=function(e){return!l()(O(this.props,"helmetData"),O(e,"helmetData"))},n.mapNestedChildrenToProps=function(e,t){if(!t)return null;switch(e.type){case m.SCRIPT:case m.NOSCRIPT:return{innerHTML:t};case m.STYLE:return{cssText:t};default:throw new Error("<"+e.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")}},n.flattenArrayTypeChildren=function(e){var t,n=e.child,r=e.arrayTypeChildren;return f({},r,((t={})[n.type]=[].concat(r[n.type]||[],[f({},e.newChildProps,this.mapNestedChildrenToProps(n,e.nestedChildren))]),t))},n.mapObjectTypeChildren=function(e){var t,n,r=e.child,a=e.newProps,o=e.newChildProps,i=e.nestedChildren;switch(r.type){case m.TITLE:return f({},a,((t={})[r.type]=i,t.titleAttributes=f({},o),t));case m.BODY:return f({},a,{bodyAttributes:f({},o)});case m.HTML:return f({},a,{htmlAttributes:f({},o)});default:return f({},a,((n={})[r.type]=f({},o),n))}},n.mapArrayTypeChildrenToProps=function(e,t){var n=f({},t);return Object.keys(e).forEach((function(t){var r;n=f({},n,((r={})[t]=e[t],r))})),n},n.warnOnInvalidChildren=function(e,t){return u()(w.some((function(t){return e.type===t})),"function"==typeof e.type?"You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information.":"Only elements types "+w.join(", ")+" are allowed. Helmet does not support rendering <"+e.type+"> elements. Refer to our API for more information."),u()(!t||"string"==typeof t||Array.isArray(t)&&!t.some((function(e){return"string"!=typeof e})),"Helmet expects a string as a child of <"+e.type+">. Did you forget to wrap your children in braces? ( <"+e.type+">{``}</"+e.type+"> ) Refer to our API for more information."),!0},n.mapChildrenToProps=function(e,t){var n=this,a={};return r.Children.forEach(e,(function(e){if(e&&e.props){var r=e.props,o=r.children,i=h(r,Q),l=Object.keys(i).reduce((function(e,t){return e[x[t]||t]=i[t],e}),{}),s=e.type;switch("symbol"==typeof s?s=s.toString():n.warnOnInvalidChildren(e,o),s){case m.FRAGMENT:t=n.mapChildrenToProps(o,t);break;case m.LINK:case m.META:case m.NOSCRIPT:case m.SCRIPT:case m.STYLE:a=n.flattenArrayTypeChildren({child:e,arrayTypeChildren:a,newChildProps:l,nestedChildren:o});break;default:t=n.mapObjectTypeChildren({child:e,newProps:t,newChildProps:l,nestedChildren:o})}}})),this.mapArrayTypeChildrenToProps(a,t)},n.render=function(){var e=this.props,t=e.children,n=h(e,X),a=f({},n),o=n.helmetData;return t&&(a=this.mapChildrenToProps(t,a)),!o||o instanceof $||(o=new $(o.context,o.instances)),o?r.createElement(K,f({},a,{context:o.value,helmetData:void 0})):r.createElement(U.Consumer,null,(function(e){return r.createElement(K,f({},a,{context:e}))}))},t}(r.Component);J.propTypes={base:o().object,bodyAttributes:o().object,children:o().oneOfType([o().arrayOf(o().node),o().node]),defaultTitle:o().string,defer:o().bool,encodeSpecialCharacters:o().bool,htmlAttributes:o().object,link:o().arrayOf(o().object),meta:o().arrayOf(o().object),noscript:o().arrayOf(o().object),onChangeClientState:o().func,script:o().arrayOf(o().object),style:o().arrayOf(o().object),title:o().string,titleAttributes:o().object,titleTemplate:o().string,prioritizeSeoTags:o().bool,helmetData:o().object},J.defaultProps={defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1},J.displayName="Helmet"},9921:(e,t)=>{"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,a=n?Symbol.for("react.portal"):60106,o=n?Symbol.for("react.fragment"):60107,i=n?Symbol.for("react.strict_mode"):60108,l=n?Symbol.for("react.profiler"):60114,s=n?Symbol.for("react.provider"):60109,u=n?Symbol.for("react.context"):60110,c=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,f=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,g=n?Symbol.for("react.suspense_list"):60120,h=n?Symbol.for("react.memo"):60115,m=n?Symbol.for("react.lazy"):60116,y=n?Symbol.for("react.block"):60121,b=n?Symbol.for("react.fundamental"):60117,v=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function k(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case c:case d:case o:case l:case i:case p:return e;default:switch(e=e&&e.$$typeof){case u:case f:case m:case h:case s:return e;default:return t}}case a:return t}}}function x(e){return k(e)===d}t.AsyncMode=c,t.ConcurrentMode=d,t.ContextConsumer=u,t.ContextProvider=s,t.Element=r,t.ForwardRef=f,t.Fragment=o,t.Lazy=m,t.Memo=h,t.Portal=a,t.Profiler=l,t.StrictMode=i,t.Suspense=p,t.isAsyncMode=function(e){return x(e)||k(e)===c},t.isConcurrentMode=x,t.isContextConsumer=function(e){return k(e)===u},t.isContextProvider=function(e){return k(e)===s},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return k(e)===f},t.isFragment=function(e){return k(e)===o},t.isLazy=function(e){return k(e)===m},t.isMemo=function(e){return k(e)===h},t.isPortal=function(e){return k(e)===a},t.isProfiler=function(e){return k(e)===l},t.isStrictMode=function(e){return k(e)===i},t.isSuspense=function(e){return k(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===d||e===l||e===i||e===p||e===g||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===h||e.$$typeof===s||e.$$typeof===u||e.$$typeof===f||e.$$typeof===b||e.$$typeof===v||e.$$typeof===w||e.$$typeof===y)},t.typeOf=k},9864:(e,t,n)=>{"use strict";e.exports=n(9921)},8356:(e,t,n)=>{"use strict";function r(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function a(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(){return i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i.apply(this,arguments)}var l=n(7294),s=n(5697),u=[],c=[];function d(e){var t=e(),n={loading:!0,loaded:null,error:null};return n.promise=t.then((function(e){return n.loading=!1,n.loaded=e,e})).catch((function(e){throw n.loading=!1,n.error=e,e})),n}function f(e){var t={loading:!1,loaded:{},error:null},n=[];try{Object.keys(e).forEach((function(r){var a=d(e[r]);a.loading?t.loading=!0:(t.loaded[r]=a.loaded,t.error=a.error),n.push(a.promise),a.promise.then((function(e){t.loaded[r]=e})).catch((function(e){t.error=e}))}))}catch(r){t.error=r}return t.promise=Promise.all(n).then((function(e){return t.loading=!1,e})).catch((function(e){throw t.loading=!1,e})),t}function p(e,t){return l.createElement((n=e)&&n.__esModule?n.default:n,t);var n}function g(e,t){var d,f;if(!t.loading)throw new Error("react-loadable requires a `loading` component");var g=i({loader:null,loading:null,delay:200,timeout:null,render:p,webpack:null,modules:null},t),h=null;function m(){return h||(h=e(g.loader)),h.promise}return u.push(m),"function"==typeof g.webpack&&c.push((function(){if((0,g.webpack)().every((function(e){return void 0!==e&&void 0!==n.m[e]})))return m()})),f=d=function(t){function n(n){var r;return o(a(a(r=t.call(this,n)||this)),"retry",(function(){r.setState({error:null,loading:!0,timedOut:!1}),h=e(g.loader),r._loadModule()})),m(),r.state={error:h.error,pastDelay:!1,timedOut:!1,loading:h.loading,loaded:h.loaded},r}r(n,t),n.preload=function(){return m()};var i=n.prototype;return i.UNSAFE_componentWillMount=function(){this._loadModule()},i.componentDidMount=function(){this._mounted=!0},i._loadModule=function(){var e=this;if(this.context.loadable&&Array.isArray(g.modules)&&g.modules.forEach((function(t){e.context.loadable.report(t)})),h.loading){var t=function(t){e._mounted&&e.setState(t)};"number"==typeof g.delay&&(0===g.delay?this.setState({pastDelay:!0}):this._delay=setTimeout((function(){t({pastDelay:!0})}),g.delay)),"number"==typeof g.timeout&&(this._timeout=setTimeout((function(){t({timedOut:!0})}),g.timeout));var n=function(){t({error:h.error,loaded:h.loaded,loading:h.loading}),e._clearTimeouts()};h.promise.then((function(){return n(),null})).catch((function(e){return n(),null}))}},i.componentWillUnmount=function(){this._mounted=!1,this._clearTimeouts()},i._clearTimeouts=function(){clearTimeout(this._delay),clearTimeout(this._timeout)},i.render=function(){return this.state.loading||this.state.error?l.createElement(g.loading,{isLoading:this.state.loading,pastDelay:this.state.pastDelay,timedOut:this.state.timedOut,error:this.state.error,retry:this.retry}):this.state.loaded?g.render(this.state.loaded,this.props):null},n}(l.Component),o(d,"contextTypes",{loadable:s.shape({report:s.func.isRequired})}),f}function h(e){return g(d,e)}h.Map=function(e){if("function"!=typeof e.render)throw new Error("LoadableMap requires a `render(loaded, props)` function");return g(f,e)};var m=function(e){function t(){return e.apply(this,arguments)||this}r(t,e);var n=t.prototype;return n.getChildContext=function(){return{loadable:{report:this.props.report}}},n.render=function(){return l.Children.only(this.props.children)},t}(l.Component);function y(e){for(var t=[];e.length;){var n=e.pop();t.push(n())}return Promise.all(t).then((function(){if(e.length)return y(e)}))}o(m,"propTypes",{report:s.func.isRequired}),o(m,"childContextTypes",{loadable:s.shape({report:s.func.isRequired}).isRequired}),h.Capture=m,h.preloadAll=function(){return new Promise((function(e,t){y(u).then(e,t)}))},h.preloadReady=function(){return new Promise((function(e,t){y(c).then(e,e)}))},e.exports=h},8790:(e,t,n)=>{"use strict";n.d(t,{H:()=>l,f:()=>i});var r=n(6550),a=n(7462),o=n(7294);function i(e,t,n){return void 0===n&&(n=[]),e.some((function(e){var a=e.path?(0,r.LX)(t,e):n.length?n[n.length-1].match:r.F0.computeRootMatch(t);return a&&(n.push({route:e,match:a}),e.routes&&i(e.routes,t,n)),a})),n}function l(e,t,n){return void 0===t&&(t={}),void 0===n&&(n={}),e?o.createElement(r.rs,n,e.map((function(e,n){return o.createElement(r.AW,{key:e.key||n,path:e.path,exact:e.exact,strict:e.strict,render:function(n){return e.render?e.render((0,a.Z)({},n,{},t,{route:e})):o.createElement(e.component,(0,a.Z)({},n,t,{route:e}))}})}))):null}},3727:(e,t,n)=>{"use strict";n.d(t,{OL:()=>v,VK:()=>c,rU:()=>m});var r=n(6550),a=n(5068),o=n(7294),i=n(9318),l=n(7462),s=n(3366),u=n(8776),c=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).history=(0,i.lX)(t.props),t}return(0,a.Z)(t,e),t.prototype.render=function(){return o.createElement(r.F0,{history:this.history,children:this.props.children})},t}(o.Component);o.Component;var d=function(e,t){return"function"==typeof e?e(t):e},f=function(e,t){return"string"==typeof e?(0,i.ob)(e,null,null,t):e},p=function(e){return e},g=o.forwardRef;void 0===g&&(g=p);var h=g((function(e,t){var n=e.innerRef,r=e.navigate,a=e.onClick,i=(0,s.Z)(e,["innerRef","navigate","onClick"]),u=i.target,c=(0,l.Z)({},i,{onClick:function(e){try{a&&a(e)}catch(t){throw e.preventDefault(),t}e.defaultPrevented||0!==e.button||u&&"_self"!==u||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)||(e.preventDefault(),r())}});return c.ref=p!==g&&t||n,o.createElement("a",c)}));var m=g((function(e,t){var n=e.component,a=void 0===n?h:n,c=e.replace,m=e.to,y=e.innerRef,b=(0,s.Z)(e,["component","replace","to","innerRef"]);return o.createElement(r.s6.Consumer,null,(function(e){e||(0,u.Z)(!1);var n=e.history,r=f(d(m,e.location),e.location),s=r?n.createHref(r):"",h=(0,l.Z)({},b,{href:s,navigate:function(){var t=d(m,e.location),r=(0,i.Ep)(e.location)===(0,i.Ep)(f(t));(c||r?n.replace:n.push)(t)}});return p!==g?h.ref=t||y:h.innerRef=y,o.createElement(a,h)}))})),y=function(e){return e},b=o.forwardRef;void 0===b&&(b=y);var v=b((function(e,t){var n=e["aria-current"],a=void 0===n?"page":n,i=e.activeClassName,c=void 0===i?"active":i,p=e.activeStyle,g=e.className,h=e.exact,v=e.isActive,w=e.location,k=e.sensitive,x=e.strict,S=e.style,E=e.to,_=e.innerRef,C=(0,s.Z)(e,["aria-current","activeClassName","activeStyle","className","exact","isActive","location","sensitive","strict","style","to","innerRef"]);return o.createElement(r.s6.Consumer,null,(function(e){e||(0,u.Z)(!1);var n=w||e.location,i=f(d(E,n),n),s=i.pathname,T=s&&s.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),N=T?(0,r.LX)(n.pathname,{path:T,exact:h,sensitive:k,strict:x}):null,A=!!(v?v(N,n):N),j="function"==typeof g?g(A):g,L="function"==typeof S?S(A):S;A&&(j=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter((function(e){return e})).join(" ")}(j,c),L=(0,l.Z)({},L,p));var O=(0,l.Z)({"aria-current":A&&a||null,className:j,style:L,to:i},C);return y!==b?O.ref=t||_:O.innerRef=_,o.createElement(m,O)}))}))},6550:(e,t,n)=>{"use strict";n.d(t,{AW:()=>E,F0:()=>v,LX:()=>S,TH:()=>P,k6:()=>O,rs:()=>j,s6:()=>b});var r=n(5068),a=n(7294),o=n(5697),i=n.n(o),l=n(9318),s=n(8776),u=n(7462),c=n(9658),d=n.n(c),f=(n(9864),n(3366)),p=(n(8679),1073741823),g="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:{};var h=a.createContext||function(e,t){var n,o,l="__create-react-context-"+function(){var e="__global_unique_id__";return g[e]=(g[e]||0)+1}()+"__",s=function(e){function n(){for(var t,n,r,a=arguments.length,o=new Array(a),i=0;i<a;i++)o[i]=arguments[i];return(t=e.call.apply(e,[this].concat(o))||this).emitter=(n=t.props.value,r=[],{on:function(e){r.push(e)},off:function(e){r=r.filter((function(t){return t!==e}))},get:function(){return n},set:function(e,t){n=e,r.forEach((function(e){return e(n,t)}))}}),t}(0,r.Z)(n,e);var a=n.prototype;return a.getChildContext=function(){var e;return(e={})[l]=this.emitter,e},a.componentWillReceiveProps=function(e){if(this.props.value!==e.value){var n,r=this.props.value,a=e.value;((o=r)===(i=a)?0!==o||1/o==1/i:o!=o&&i!=i)?n=0:(n="function"==typeof t?t(r,a):p,0!==(n|=0)&&this.emitter.set(e.value,n))}var o,i},a.render=function(){return this.props.children},n}(a.Component);s.childContextTypes=((n={})[l]=i().object.isRequired,n);var u=function(t){function n(){for(var e,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(e=t.call.apply(t,[this].concat(r))||this).observedBits=void 0,e.state={value:e.getValue()},e.onUpdate=function(t,n){0!=((0|e.observedBits)&n)&&e.setState({value:e.getValue()})},e}(0,r.Z)(n,t);var a=n.prototype;return a.componentWillReceiveProps=function(e){var t=e.observedBits;this.observedBits=null==t?p:t},a.componentDidMount=function(){this.context[l]&&this.context[l].on(this.onUpdate);var e=this.props.observedBits;this.observedBits=null==e?p:e},a.componentWillUnmount=function(){this.context[l]&&this.context[l].off(this.onUpdate)},a.getValue=function(){return this.context[l]?this.context[l].get():e},a.render=function(){return(e=this.props.children,Array.isArray(e)?e[0]:e)(this.state.value);var e},n}(a.Component);return u.contextTypes=((o={})[l]=i().object,o),{Provider:s,Consumer:u}},m=function(e){var t=h();return t.displayName=e,t},y=m("Router-History"),b=m("Router"),v=function(e){function t(t){var n;return(n=e.call(this,t)||this).state={location:t.history.location},n._isMounted=!1,n._pendingLocation=null,t.staticContext||(n.unlisten=t.history.listen((function(e){n._pendingLocation=e}))),n}(0,r.Z)(t,e),t.computeRootMatch=function(e){return{path:"/",url:"/",params:{},isExact:"/"===e}};var n=t.prototype;return n.componentDidMount=function(){var e=this;this._isMounted=!0,this.unlisten&&this.unlisten(),this.props.staticContext||(this.unlisten=this.props.history.listen((function(t){e._isMounted&&e.setState({location:t})}))),this._pendingLocation&&this.setState({location:this._pendingLocation})},n.componentWillUnmount=function(){this.unlisten&&(this.unlisten(),this._isMounted=!1,this._pendingLocation=null)},n.render=function(){return a.createElement(b.Provider,{value:{history:this.props.history,location:this.state.location,match:t.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},a.createElement(y.Provider,{children:this.props.children||null,value:this.props.history}))},t}(a.Component);a.Component;a.Component;var w={},k=1e4,x=0;function S(e,t){void 0===t&&(t={}),("string"==typeof t||Array.isArray(t))&&(t={path:t});var n=t,r=n.path,a=n.exact,o=void 0!==a&&a,i=n.strict,l=void 0!==i&&i,s=n.sensitive,u=void 0!==s&&s;return[].concat(r).reduce((function(t,n){if(!n&&""!==n)return null;if(t)return t;var r=function(e,t){var n=""+t.end+t.strict+t.sensitive,r=w[n]||(w[n]={});if(r[e])return r[e];var a=[],o={regexp:d()(e,a,t),keys:a};return x<k&&(r[e]=o,x++),o}(n,{end:o,strict:l,sensitive:u}),a=r.regexp,i=r.keys,s=a.exec(e);if(!s)return null;var c=s[0],f=s.slice(1),p=e===c;return o&&!p?null:{path:n,url:"/"===n&&""===c?"/":c,isExact:p,params:i.reduce((function(e,t,n){return e[t.name]=f[n],e}),{})}}),null)}var E=function(e){function t(){return e.apply(this,arguments)||this}return(0,r.Z)(t,e),t.prototype.render=function(){var e=this;return a.createElement(b.Consumer,null,(function(t){t||(0,s.Z)(!1);var n=e.props.location||t.location,r=e.props.computedMatch?e.props.computedMatch:e.props.path?S(n.pathname,e.props):t.match,o=(0,u.Z)({},t,{location:n,match:r}),i=e.props,l=i.children,c=i.component,d=i.render;return Array.isArray(l)&&function(e){return 0===a.Children.count(e)}(l)&&(l=null),a.createElement(b.Provider,{value:o},o.match?l?"function"==typeof l?l(o):l:c?a.createElement(c,o):d?d(o):null:"function"==typeof l?l(o):null)}))},t}(a.Component);function _(e){return"/"===e.charAt(0)?e:"/"+e}function C(e,t){if(!e)return t;var n=_(e);return 0!==t.pathname.indexOf(n)?t:(0,u.Z)({},t,{pathname:t.pathname.substr(n.length)})}function T(e){return"string"==typeof e?e:(0,l.Ep)(e)}function N(e){return function(){(0,s.Z)(!1)}}function A(){}a.Component;var j=function(e){function t(){return e.apply(this,arguments)||this}return(0,r.Z)(t,e),t.prototype.render=function(){var e=this;return a.createElement(b.Consumer,null,(function(t){t||(0,s.Z)(!1);var n,r,o=e.props.location||t.location;return a.Children.forEach(e.props.children,(function(e){if(null==r&&a.isValidElement(e)){n=e;var i=e.props.path||e.props.from;r=i?S(o.pathname,(0,u.Z)({},e.props,{path:i})):t.match}})),r?a.cloneElement(n,{location:o,computedMatch:r}):null}))},t}(a.Component);var L=a.useContext;function O(){return L(y)}function P(){return L(b).location}},9658:(e,t,n)=>{var r=n(5826);e.exports=p,e.exports.parse=o,e.exports.compile=function(e,t){return l(o(e,t),t)},e.exports.tokensToFunction=l,e.exports.tokensToRegExp=f;var a=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function o(e,t){for(var n,r=[],o=0,i=0,l="",c=t&&t.delimiter||"/";null!=(n=a.exec(e));){var d=n[0],f=n[1],p=n.index;if(l+=e.slice(i,p),i=p+d.length,f)l+=f[1];else{var g=e[i],h=n[2],m=n[3],y=n[4],b=n[5],v=n[6],w=n[7];l&&(r.push(l),l="");var k=null!=h&&null!=g&&g!==h,x="+"===v||"*"===v,S="?"===v||"*"===v,E=n[2]||c,_=y||b;r.push({name:m||o++,prefix:h||"",delimiter:E,optional:S,repeat:x,partial:k,asterisk:!!w,pattern:_?u(_):w?".*":"[^"+s(E)+"]+?"})}}return i<e.length&&(l+=e.substr(i)),l&&r.push(l),r}function i(e){return encodeURI(e).replace(/[\/?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}function l(e,t){for(var n=new Array(e.length),a=0;a<e.length;a++)"object"==typeof e[a]&&(n[a]=new RegExp("^(?:"+e[a].pattern+")$",d(t)));return function(t,a){for(var o="",l=t||{},s=(a||{}).pretty?i:encodeURIComponent,u=0;u<e.length;u++){var c=e[u];if("string"!=typeof c){var d,f=l[c.name];if(null==f){if(c.optional){c.partial&&(o+=c.prefix);continue}throw new TypeError('Expected "'+c.name+'" to be defined')}if(r(f)){if(!c.repeat)throw new TypeError('Expected "'+c.name+'" to not repeat, but received `'+JSON.stringify(f)+"`");if(0===f.length){if(c.optional)continue;throw new TypeError('Expected "'+c.name+'" to not be empty')}for(var p=0;p<f.length;p++){if(d=s(f[p]),!n[u].test(d))throw new TypeError('Expected all "'+c.name+'" to match "'+c.pattern+'", but received `'+JSON.stringify(d)+"`");o+=(0===p?c.prefix:c.delimiter)+d}}else{if(d=c.asterisk?encodeURI(f).replace(/[?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})):s(f),!n[u].test(d))throw new TypeError('Expected "'+c.name+'" to match "'+c.pattern+'", but received "'+d+'"');o+=c.prefix+d}}else o+=c}return o}}function s(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function u(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function c(e,t){return e.keys=t,e}function d(e){return e&&e.sensitive?"":"i"}function f(e,t,n){r(t)||(n=t||n,t=[]);for(var a=(n=n||{}).strict,o=!1!==n.end,i="",l=0;l<e.length;l++){var u=e[l];if("string"==typeof u)i+=s(u);else{var f=s(u.prefix),p="(?:"+u.pattern+")";t.push(u),u.repeat&&(p+="(?:"+f+p+")*"),i+=p=u.optional?u.partial?f+"("+p+")?":"(?:"+f+"("+p+"))?":f+"("+p+")"}}var g=s(n.delimiter||"/"),h=i.slice(-g.length)===g;return a||(i=(h?i.slice(0,-g.length):i)+"(?:"+g+"(?=$))?"),i+=o?"$":a&&h?"":"(?="+g+"|$)",c(new RegExp("^"+i,d(n)),t)}function p(e,t,n){return r(t)||(n=t||n,t=[]),n=n||{},e instanceof RegExp?function(e,t){var n=e.source.match(/\((?!\?)/g);if(n)for(var r=0;r<n.length;r++)t.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return c(e,t)}(e,t):r(e)?function(e,t,n){for(var r=[],a=0;a<e.length;a++)r.push(p(e[a],t,n).source);return c(new RegExp("(?:"+r.join("|")+")",d(n)),t)}(e,t,n):function(e,t,n){return f(o(e,n),t,n)}(e,t,n)}},5251:(e,t,n)=>{"use strict";var r=n(7294),a=Symbol.for("react.element"),o=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,l=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function u(e,t,n){var r,o={},u=null,c=null;for(r in void 0!==n&&(u=""+n),void 0!==t.key&&(u=""+t.key),void 0!==t.ref&&(c=t.ref),t)i.call(t,r)&&!s.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===o[r]&&(o[r]=t[r]);return{$$typeof:a,type:e,key:u,ref:c,props:o,_owner:l.current}}t.Fragment=o,t.jsx=u,t.jsxs=u},2408:(e,t)=>{"use strict";var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),s=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),p=Symbol.iterator;var g={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},h=Object.assign,m={};function y(e,t,n){this.props=e,this.context=t,this.refs=m,this.updater=n||g}function b(){}function v(e,t,n){this.props=e,this.context=t,this.refs=m,this.updater=n||g}y.prototype.isReactComponent={},y.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},y.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},b.prototype=y.prototype;var w=v.prototype=new b;w.constructor=v,h(w,y.prototype),w.isPureReactComponent=!0;var k=Array.isArray,x=Object.prototype.hasOwnProperty,S={current:null},E={key:!0,ref:!0,__self:!0,__source:!0};function _(e,t,r){var a,o={},i=null,l=null;if(null!=t)for(a in void 0!==t.ref&&(l=t.ref),void 0!==t.key&&(i=""+t.key),t)x.call(t,a)&&!E.hasOwnProperty(a)&&(o[a]=t[a]);var s=arguments.length-2;if(1===s)o.children=r;else if(1<s){for(var u=Array(s),c=0;c<s;c++)u[c]=arguments[c+2];o.children=u}if(e&&e.defaultProps)for(a in s=e.defaultProps)void 0===o[a]&&(o[a]=s[a]);return{$$typeof:n,type:e,key:i,ref:l,props:o,_owner:S.current}}function C(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}var T=/\/+/g;function N(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function A(e,t,a,o,i){var l=typeof e;"undefined"!==l&&"boolean"!==l||(e=null);var s=!1;if(null===e)s=!0;else switch(l){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case n:case r:s=!0}}if(s)return i=i(s=e),e=""===o?"."+N(s,0):o,k(i)?(a="",null!=e&&(a=e.replace(T,"$&/")+"/"),A(i,t,a,"",(function(e){return e}))):null!=i&&(C(i)&&(i=function(e,t){return{$$typeof:n,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(i,a+(!i.key||s&&s.key===i.key?"":(""+i.key).replace(T,"$&/")+"/")+e)),t.push(i)),1;if(s=0,o=""===o?".":o+":",k(e))for(var u=0;u<e.length;u++){var c=o+N(l=e[u],u);s+=A(l,t,a,c,i)}else if(c=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=p&&e[p]||e["@@iterator"])?e:null}(e),"function"==typeof c)for(e=c.call(e),u=0;!(l=e.next()).done;)s+=A(l=l.value,t,a,c=o+N(l,u++),i);else if("object"===l)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return s}function j(e,t,n){if(null==e)return e;var r=[],a=0;return A(e,r,"","",(function(e){return t.call(n,e,a++)})),r}function L(e){if(-1===e._status){var t=e._result;(t=t()).then((function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)}),(function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var O={current:null},P={transition:null},R={ReactCurrentDispatcher:O,ReactCurrentBatchConfig:P,ReactCurrentOwner:S};t.Children={map:j,forEach:function(e,t,n){j(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return j(e,(function(){t++})),t},toArray:function(e){return j(e,(function(e){return e}))||[]},only:function(e){if(!C(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=y,t.Fragment=a,t.Profiler=i,t.PureComponent=v,t.StrictMode=o,t.Suspense=c,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=R,t.cloneElement=function(e,t,r){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var a=h({},e.props),o=e.key,i=e.ref,l=e._owner;if(null!=t){if(void 0!==t.ref&&(i=t.ref,l=S.current),void 0!==t.key&&(o=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(u in t)x.call(t,u)&&!E.hasOwnProperty(u)&&(a[u]=void 0===t[u]&&void 0!==s?s[u]:t[u])}var u=arguments.length-2;if(1===u)a.children=r;else if(1<u){s=Array(u);for(var c=0;c<u;c++)s[c]=arguments[c+2];a.children=s}return{$$typeof:n,type:e.type,key:o,ref:i,props:a,_owner:l}},t.createContext=function(e){return(e={$$typeof:s,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:l,_context:e},e.Consumer=e},t.createElement=_,t.createFactory=function(e){var t=_.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:u,render:e}},t.isValidElement=C,t.lazy=function(e){return{$$typeof:f,_payload:{_status:-1,_result:e},_init:L}},t.memo=function(e,t){return{$$typeof:d,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=P.transition;P.transition={};try{e()}finally{P.transition=t}},t.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},t.useCallback=function(e,t){return O.current.useCallback(e,t)},t.useContext=function(e){return O.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return O.current.useDeferredValue(e)},t.useEffect=function(e,t){return O.current.useEffect(e,t)},t.useId=function(){return O.current.useId()},t.useImperativeHandle=function(e,t,n){return O.current.useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return O.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return O.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return O.current.useMemo(e,t)},t.useReducer=function(e,t,n){return O.current.useReducer(e,t,n)},t.useRef=function(e){return O.current.useRef(e)},t.useState=function(e){return O.current.useState(e)},t.useSyncExternalStore=function(e,t,n){return O.current.useSyncExternalStore(e,t,n)},t.useTransition=function(){return O.current.useTransition()},t.version="18.2.0"},7294:(e,t,n)=>{"use strict";e.exports=n(2408)},5893:(e,t,n)=>{"use strict";e.exports=n(5251)},53:(e,t)=>{"use strict";function n(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,a=e[r];if(!(0<o(a,t)))break e;e[r]=t,e[n]=a,n=r}}function r(e){return 0===e.length?null:e[0]}function a(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,a=e.length,i=a>>>1;r<i;){var l=2*(r+1)-1,s=e[l],u=l+1,c=e[u];if(0>o(s,n))u<a&&0>o(c,s)?(e[r]=c,e[u]=n,r=u):(e[r]=s,e[l]=n,r=l);else{if(!(u<a&&0>o(c,n)))break e;e[r]=c,e[u]=n,r=u}}}return t}function o(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"==typeof performance&&"function"==typeof performance.now){var i=performance;t.unstable_now=function(){return i.now()}}else{var l=Date,s=l.now();t.unstable_now=function(){return l.now()-s}}var u=[],c=[],d=1,f=null,p=3,g=!1,h=!1,m=!1,y="function"==typeof setTimeout?setTimeout:null,b="function"==typeof clearTimeout?clearTimeout:null,v="undefined"!=typeof setImmediate?setImmediate:null;function w(e){for(var t=r(c);null!==t;){if(null===t.callback)a(c);else{if(!(t.startTime<=e))break;a(c),t.sortIndex=t.expirationTime,n(u,t)}t=r(c)}}function k(e){if(m=!1,w(e),!h)if(null!==r(u))h=!0,P(x);else{var t=r(c);null!==t&&R(k,t.startTime-e)}}function x(e,n){h=!1,m&&(m=!1,b(C),C=-1),g=!0;var o=p;try{for(w(n),f=r(u);null!==f&&(!(f.expirationTime>n)||e&&!A());){var i=f.callback;if("function"==typeof i){f.callback=null,p=f.priorityLevel;var l=i(f.expirationTime<=n);n=t.unstable_now(),"function"==typeof l?f.callback=l:f===r(u)&&a(u),w(n)}else a(u);f=r(u)}if(null!==f)var s=!0;else{var d=r(c);null!==d&&R(k,d.startTime-n),s=!1}return s}finally{f=null,p=o,g=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var S,E=!1,_=null,C=-1,T=5,N=-1;function A(){return!(t.unstable_now()-N<T)}function j(){if(null!==_){var e=t.unstable_now();N=e;var n=!0;try{n=_(!0,e)}finally{n?S():(E=!1,_=null)}}else E=!1}if("function"==typeof v)S=function(){v(j)};else if("undefined"!=typeof MessageChannel){var L=new MessageChannel,O=L.port2;L.port1.onmessage=j,S=function(){O.postMessage(null)}}else S=function(){y(j,0)};function P(e){_=e,E||(E=!0,S())}function R(e,n){C=y((function(){e(t.unstable_now())}),n)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){h||g||(h=!0,P(x))},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):T=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return p},t.unstable_getFirstCallbackNode=function(){return r(u)},t.unstable_next=function(e){switch(p){case 1:case 2:case 3:var t=3;break;default:t=p}var n=p;p=t;try{return e()}finally{p=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=p;p=e;try{return t()}finally{p=n}},t.unstable_scheduleCallback=function(e,a,o){var i=t.unstable_now();switch("object"==typeof o&&null!==o?o="number"==typeof(o=o.delay)&&0<o?i+o:i:o=i,e){case 1:var l=-1;break;case 2:l=250;break;case 5:l=1073741823;break;case 4:l=1e4;break;default:l=5e3}return e={id:d++,callback:a,priorityLevel:e,startTime:o,expirationTime:l=o+l,sortIndex:-1},o>i?(e.sortIndex=o,n(c,e),null===r(u)&&e===r(c)&&(m?(b(C),C=-1):m=!0,R(k,o-i))):(e.sortIndex=l,n(u,e),h||g||(h=!0,P(x))),e},t.unstable_shouldYield=A,t.unstable_wrapCallback=function(e){var t=p;return function(){var n=p;p=t;try{return e.apply(this,arguments)}finally{p=n}}}},3840:(e,t,n)=>{"use strict";e.exports=n(53)},6774:e=>{e.exports=function(e,t,n,r){var a=n?n.call(r,e,t):void 0;if(void 0!==a)return!!a;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var o=Object.keys(e),i=Object.keys(t);if(o.length!==i.length)return!1;for(var l=Object.prototype.hasOwnProperty.bind(t),s=0;s<o.length;s++){var u=o[s];if(!l(u))return!1;var c=e[u],d=t[u];if(!1===(a=n?n.call(r,c,d,u):void 0)||void 0===a&&c!==d)return!1}return!0}},6809:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={title:"Prettier Java",tagline:"Prettier code formatter plugin for Java",favicon:"img/favicon.png",trailingSlash:!1,url:"https://jtkiesel.github.io",baseUrl:"/prettier-java/",organizationName:"jtkiesel",projectName:"prettier-java",i18n:{defaultLocale:"en",locales:["en"],path:"i18n",localeConfigs:{}},presets:[["classic",{docs:{editUrl:"https://github.com/jtkiesel/prettier-java/tree/docs/create-website/website/"},blog:{editUrl:"https://github.com/jtkiesel/prettier-java/tree/docs/create-website/website/"},theme:{customCss:"./src/css/custom.css"}}]],themeConfig:{colorMode:{respectPrefersColorScheme:!0,defaultMode:"light",disableSwitch:!1},image:"img/banner-dark.png",navbar:{title:"Prettier Java",logo:{alt:"Prettier Java Logo",src:"img/icon.svg",srcDark:"img/icon-dark.svg"},items:[{label:"Playground",to:"/playground",position:"left"},{label:"Docs",to:"/docs",position:"left"},{label:"Blog",to:"/blog",position:"left"},{label:"GitHub",to:"https://github.com/jtkiesel/prettier-java",position:"right"}],hideOnScroll:!1},footer:{style:"dark",links:[{title:"Docs",items:[{label:"Introduction",to:"/docs"},{label:"Installation",to:"/docs/installation"}]},{title:"Community",items:[{label:"@JHipster on Twitter",to:"https://twitter.com/jhipster"}]},{title:"More",items:[{label:"Blog",to:"/blog"},{label:"GitHub",to:"https://github.com/jtkiesel/prettier-java"},{label:"Issues",to:"https://github.com/jtkiesel/prettier-java/issues"}]}]},prism:{theme:{plain:{color:"#393A34",backgroundColor:"#f6f8fa"},styles:[{types:["comment","prolog","doctype","cdata"],style:{color:"#999988",fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}},{types:["string","attr-value"],style:{color:"#e3116c"}},{types:["punctuation","operator"],style:{color:"#393A34"}},{types:["entity","url","symbol","number","boolean","variable","constant","property","regex","inserted"],style:{color:"#36acaa"}},{types:["atrule","keyword","attr-name","selector"],style:{color:"#00a4db"}},{types:["function","deleted","tag"],style:{color:"#d73a49"}},{types:["function-variable"],style:{color:"#6f42c1"}},{types:["tag","selector","keyword"],style:{color:"#00009f"}}]},darkTheme:{plain:{color:"#F8F8F2",backgroundColor:"#282A36"},styles:[{types:["prolog","constant","builtin"],style:{color:"rgb(189, 147, 249)"}},{types:["inserted","function"],style:{color:"rgb(80, 250, 123)"}},{types:["deleted"],style:{color:"rgb(255, 85, 85)"}},{types:["changed"],style:{color:"rgb(255, 184, 108)"}},{types:["punctuation","symbol"],style:{color:"rgb(248, 248, 242)"}},{types:["string","char","tag","selector"],style:{color:"rgb(255, 121, 198)"}},{types:["keyword","variable"],style:{color:"rgb(189, 147, 249)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(98, 114, 164)"}},{types:["attr-name"],style:{color:"rgb(241, 250, 140)"}}]},additionalLanguages:["bash","java"],magicComments:[{className:"theme-code-block-highlighted-line",line:"highlight-next-line",block:{start:"highlight-start",end:"highlight-end"}}]},docs:{versionPersistence:"localStorage",sidebar:{hideable:!1,autoCollapseCategories:!1}},metadata:[],tableOfContents:{minHeadingLevel:2,maxHeadingLevel:3}},baseUrlIssueBanner:!0,onBrokenLinks:"throw",onBrokenAnchors:"warn",onBrokenMarkdownLinks:"warn",onDuplicateRoutes:"warn",staticDirectories:["static"],customFields:{},plugins:[],themes:[],scripts:[],headTags:[],stylesheets:[],clientModules:[],titleDelimiter:"|",noIndex:!1,markdown:{format:"mdx",mermaid:!1,mdx1Compat:{comments:!0,admonitions:!0,headingIds:!0}}}},7462:(e,t,n)=>{"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.d(t,{Z:()=>r})},5068:(e,t,n)=>{"use strict";function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}function a(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,r(e,t)}n.d(t,{Z:()=>a})},3366:(e,t,n)=>{"use strict";function r(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}n.d(t,{Z:()=>r})},512:(e,t,n)=>{"use strict";function r(e){var t,n,a="";if("string"==typeof e||"number"==typeof e)a+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=r(e[t]))&&(a&&(a+=" "),a+=n);else for(t in e)e[t]&&(a&&(a+=" "),a+=t);return a}n.d(t,{Z:()=>a});const a=function(){for(var e,t,n=0,a="";n<arguments.length;)(e=arguments[n++])&&(t=r(e))&&(a&&(a+=" "),a+=t);return a}},2573:(e,t,n)=>{"use strict";n.d(t,{p1:()=>T,y$:()=>ee});var r,a,o,i,l,s,u,c=n(7294),d=n(512),f=Object.create,p=Object.defineProperty,g=Object.defineProperties,h=Object.getOwnPropertyDescriptor,m=Object.getOwnPropertyDescriptors,y=Object.getOwnPropertyNames,b=Object.getOwnPropertySymbols,v=Object.getPrototypeOf,w=Object.prototype.hasOwnProperty,k=Object.prototype.propertyIsEnumerable,x=(e,t,n)=>t in e?p(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,S=(e,t)=>{for(var n in t||(t={}))w.call(t,n)&&x(e,n,t[n]);if(b)for(var n of b(t))k.call(t,n)&&x(e,n,t[n]);return e},E=(e,t)=>g(e,m(t)),_=(e,t)=>{var n={};for(var r in e)w.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&b)for(var r of b(e))t.indexOf(r)<0&&k.call(e,r)&&(n[r]=e[r]);return n},C=(r={"../../node_modules/.pnpm/prismjs@1.29.0_patch_hash=vrxx3pzkik6jpmgpayxfjunetu/node_modules/prismjs/prism.js"(e,t){var n=function(){var e=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,t=0,n={},r={util:{encode:function e(t){return t instanceof a?new a(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&").replace(/</g,"<").replace(/\u00a0/g," ")},type:function(e){return Object.prototype.toString.call(e).slice(8,-1)},objId:function(e){return e.__id||Object.defineProperty(e,"__id",{value:++t}),e.__id},clone:function e(t,n){var a,o;switch(n=n||{},r.util.type(t)){case"Object":if(o=r.util.objId(t),n[o])return n[o];for(var i in a={},n[o]=a,t)t.hasOwnProperty(i)&&(a[i]=e(t[i],n));return a;case"Array":return o=r.util.objId(t),n[o]?n[o]:(a=[],n[o]=a,t.forEach((function(t,r){a[r]=e(t,n)})),a);default:return t}},getLanguage:function(t){for(;t;){var n=e.exec(t.className);if(n)return n[1].toLowerCase();t=t.parentElement}return"none"},setLanguage:function(t,n){t.className=t.className.replace(RegExp(e,"gi"),""),t.classList.add("language-"+n)},isActive:function(e,t,n){for(var r="no-"+t;e;){var a=e.classList;if(a.contains(t))return!0;if(a.contains(r))return!1;e=e.parentElement}return!!n}},languages:{plain:n,plaintext:n,text:n,txt:n,extend:function(e,t){var n=r.util.clone(r.languages[e]);for(var a in t)n[a]=t[a];return n},insertBefore:function(e,t,n,a){var o=(a=a||r.languages)[e],i={};for(var l in o)if(o.hasOwnProperty(l)){if(l==t)for(var s in n)n.hasOwnProperty(s)&&(i[s]=n[s]);n.hasOwnProperty(l)||(i[l]=o[l])}var u=a[e];return a[e]=i,r.languages.DFS(r.languages,(function(t,n){n===u&&t!=e&&(this[t]=i)})),i},DFS:function e(t,n,a,o){o=o||{};var i=r.util.objId;for(var l in t)if(t.hasOwnProperty(l)){n.call(t,l,t[l],a||l);var s=t[l],u=r.util.type(s);"Object"!==u||o[i(s)]?"Array"!==u||o[i(s)]||(o[i(s)]=!0,e(s,n,l,o)):(o[i(s)]=!0,e(s,n,null,o))}}},plugins:{},highlight:function(e,t,n){var o={code:e,grammar:t,language:n};if(r.hooks.run("before-tokenize",o),!o.grammar)throw new Error('The language "'+o.language+'" has no grammar.');return o.tokens=r.tokenize(o.code,o.grammar),r.hooks.run("after-tokenize",o),a.stringify(r.util.encode(o.tokens),o.language)},tokenize:function(e,t){var n=t.rest;if(n){for(var r in n)t[r]=n[r];delete t.rest}var a=new l;return s(a,a.head,e),i(e,a,t,a.head,0),function(e){for(var t=[],n=e.head.next;n!==e.tail;)t.push(n.value),n=n.next;return t}(a)},hooks:{all:{},add:function(e,t){var n=r.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=r.hooks.all[e];if(n&&n.length)for(var a,o=0;a=n[o++];)a(t)}},Token:a};function a(e,t,n,r){this.type=e,this.content=t,this.alias=n,this.length=0|(r||"").length}function o(e,t,n,r){e.lastIndex=t;var a=e.exec(n);if(a&&r&&a[1]){var o=a[1].length;a.index+=o,a[0]=a[0].slice(o)}return a}function i(e,t,n,l,c,d){for(var f in n)if(n.hasOwnProperty(f)&&n[f]){var p=n[f];p=Array.isArray(p)?p:[p];for(var g=0;g<p.length;++g){if(d&&d.cause==f+","+g)return;var h=p[g],m=h.inside,y=!!h.lookbehind,b=!!h.greedy,v=h.alias;if(b&&!h.pattern.global){var w=h.pattern.toString().match(/[imsuy]*$/)[0];h.pattern=RegExp(h.pattern.source,w+"g")}for(var k=h.pattern||h,x=l.next,S=c;x!==t.tail&&!(d&&S>=d.reach);S+=x.value.length,x=x.next){var E=x.value;if(t.length>e.length)return;if(!(E instanceof a)){var _,C=1;if(b){if(!(_=o(k,S,e,y))||_.index>=e.length)break;var T=_.index,N=_.index+_[0].length,A=S;for(A+=x.value.length;T>=A;)A+=(x=x.next).value.length;if(S=A-=x.value.length,x.value instanceof a)continue;for(var j=x;j!==t.tail&&(A<N||"string"==typeof j.value);j=j.next)C++,A+=j.value.length;C--,E=e.slice(S,A),_.index-=S}else if(!(_=o(k,0,E,y)))continue;T=_.index;var L=_[0],O=E.slice(0,T),P=E.slice(T+L.length),R=S+E.length;d&&R>d.reach&&(d.reach=R);var I=x.prev;if(O&&(I=s(t,I,O),S+=O.length),u(t,I,C),x=s(t,I,new a(f,m?r.tokenize(L,m):L,v,L)),P&&s(t,x,P),C>1){var D={cause:f+","+g,reach:R};i(e,t,n,x.prev,S,D),d&&D.reach>d.reach&&(d.reach=D.reach)}}}}}}function l(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function s(e,t,n){var r=t.next,a={value:n,prev:t,next:r};return t.next=a,r.prev=a,e.length++,a}function u(e,t,n){for(var r=t.next,a=0;a<n&&r!==e.tail;a++)r=r.next;t.next=r,r.prev=t,e.length-=a}return a.stringify=function e(t,n){if("string"==typeof t)return t;if(Array.isArray(t)){var a="";return t.forEach((function(t){a+=e(t,n)})),a}var o={type:t.type,content:e(t.content,n),tag:"span",classes:["token",t.type],attributes:{},language:n},i=t.alias;i&&(Array.isArray(i)?Array.prototype.push.apply(o.classes,i):o.classes.push(i)),r.hooks.run("wrap",o);var l="";for(var s in o.attributes)l+=" "+s+'="'+(o.attributes[s]||"").replace(/"/g,""")+'"';return"<"+o.tag+' class="'+o.classes.join(" ")+'"'+l+">"+o.content+"</"+o.tag+">"},r}();t.exports=n,n.default=n}},function(){return a||(0,r[y(r)[0]])((a={exports:{}}).exports,a),a.exports}),T=((e,t,n)=>(n=null!=e?f(v(e)):{},((e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let a of y(t))w.call(e,a)||a===n||p(e,a,{get:()=>t[a],enumerable:!(r=h(t,a))||r.enumerable});return e})(!t&&e&&e.__esModule?n:p(n,"default",{value:e,enumerable:!0}),e)))(C());T.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},T.languages.markup.tag.inside["attr-value"].inside.entity=T.languages.markup.entity,T.languages.markup.doctype.inside["internal-subset"].inside=T.languages.markup,T.hooks.add("wrap",(function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&/,"&"))})),Object.defineProperty(T.languages.markup.tag,"addInlined",{value:function(e,t){var n;(t=((n=((n={})["language-"+t]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:T.languages[t]},n.cdata=/^<!\[CDATA\[|\]\]>$/i,{"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:n}}))["language-"+t]={pattern:/[\s\S]+/,inside:T.languages[t]},{}))[e]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,(function(){return e})),"i"),lookbehind:!0,greedy:!0,inside:n},T.languages.insertBefore("markup","cdata",t)}}),Object.defineProperty(T.languages.markup.tag,"addAttribute",{value:function(e,t){T.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[t,"language-"+t],inside:T.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),T.languages.html=T.languages.markup,T.languages.mathml=T.languages.markup,T.languages.svg=T.languages.markup,T.languages.xml=T.languages.extend("markup",{}),T.languages.ssml=T.languages.xml,T.languages.atom=T.languages.xml,T.languages.rss=T.languages.xml,o=T,i={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},s="(?:[^\\\\-]|"+(l=/\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/).source+")",s=RegExp(s+"-"+s),u={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"},o.languages.regex={"char-class":{pattern:/((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/,lookbehind:!0,inside:{"char-class-negation":{pattern:/(^\[)\^/,lookbehind:!0,alias:"operator"},"char-class-punctuation":{pattern:/^\[|\]$/,alias:"punctuation"},range:{pattern:s,inside:{escape:l,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":i,"char-set":{pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},escape:l}},"special-escape":i,"char-set":{pattern:/\.|\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},backreference:[{pattern:/\\(?![123][0-7]{2})[1-9]/,alias:"keyword"},{pattern:/\\k<[^<>']+>/,alias:"keyword",inside:{"group-name":u}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:l,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|<?[=!]|[idmnsuxU]+(?:-[idmnsuxU]+)?:?))?/,alias:"punctuation",inside:{"group-name":u}},{pattern:/\)/,alias:"punctuation"}],quantifier:{pattern:/(?:[+*?]|\{\d+(?:,\d*)?\})[?+]?/,alias:"number"},alternation:{pattern:/\|/,alias:"keyword"}},T.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},T.languages.javascript=T.languages.extend("clike",{"class-name":[T.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),T.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,T.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:T.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:T.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:T.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:T.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:T.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),T.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:T.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),T.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),T.languages.markup&&(T.languages.markup.tag.addInlined("script","javascript"),T.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),T.languages.js=T.languages.javascript,T.languages.actionscript=T.languages.extend("javascript",{keyword:/\b(?:as|break|case|catch|class|const|default|delete|do|dynamic|each|else|extends|final|finally|for|function|get|if|implements|import|in|include|instanceof|interface|internal|is|namespace|native|new|null|override|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|use|var|void|while|with)\b/,operator:/\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<<?|>>?>?|[!=]=?)=?|[~?@]/}),T.languages.actionscript["class-name"].alias="function",delete T.languages.actionscript.parameter,delete T.languages.actionscript["literal-property"],T.languages.markup&&T.languages.insertBefore("actionscript","string",{xml:{pattern:/(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/,lookbehind:!0,inside:T.languages.markup}}),function(e){var t=/#(?!\{).+/,n={pattern:/#\{[^}]+\}/,alias:"variable"};e.languages.coffeescript=e.languages.extend("javascript",{comment:t,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:n}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),e.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:t,interpolation:n}}}),e.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:e.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:n}}]}),e.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete e.languages.coffeescript["template-string"],e.languages.coffee=e.languages.coffeescript}(T),function(e){var t=e.languages.javadoclike={parameter:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*@(?:arg|arguments|param)\s+)\w+/m,lookbehind:!0},keyword:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*|\{)@[a-z][a-zA-Z-]+\b/m,lookbehind:!0},punctuation:/[{}]/};Object.defineProperty(t,"addSupport",{value:function(t,n){(t="string"==typeof t?[t]:t).forEach((function(t){var r=function(e){e.inside||(e.inside={}),e.inside.rest=n},a="doc-comment";if(o=e.languages[t]){var o,i=o[a];if((i=i||(o=e.languages.insertBefore(t,"comment",{"doc-comment":{pattern:/(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,lookbehind:!0,alias:"comment"}}))[a])instanceof RegExp&&(i=o[a]={pattern:i}),Array.isArray(i))for(var l=0,s=i.length;l<s;l++)i[l]instanceof RegExp&&(i[l]={pattern:i[l]}),r(i[l]);else r(i)}}))}}),t.addSupport(["java","javascript","php"],t)}(T),function(e){var t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;(t=(e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+t.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css,e.languages.markup))&&(t.tag.addInlined("style","css"),t.tag.addAttribute("style","css"))}(T),function(e){var t=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,n=(t=(e.languages.css.selector={pattern:e.languages.css.selector.pattern,lookbehind:!0,inside:t={"pseudo-element":/:(?:after|before|first-letter|first-line|selection)|::[-\w]+/,"pseudo-class":/:[-\w]+/,class:/\.[-\w]+/,id:/#[-\w]+/,attribute:{pattern:RegExp("\\[(?:[^[\\]\"']|"+t.source+")*\\]"),greedy:!0,inside:{punctuation:/^\[|\]$/,"case-sensitivity":{pattern:/(\s)[si]$/i,lookbehind:!0,alias:"keyword"},namespace:{pattern:/^(\s*)(?:(?!\s)[-*\w\xA0-\uFFFF])*\|(?!=)/,lookbehind:!0,inside:{punctuation:/\|$/}},"attr-name":{pattern:/^(\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+/,lookbehind:!0},"attr-value":[t,{pattern:/(=\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+(?=\s*$)/,lookbehind:!0}],operator:/[|~*^$]?=/}},"n-th":[{pattern:/(\(\s*)[+-]?\d*[\dn](?:\s*[+-]\s*\d+)?(?=\s*\))/,lookbehind:!0,inside:{number:/[\dn]+/,operator:/[+-]/}},{pattern:/(\(\s*)(?:even|odd)(?=\s*\))/i,lookbehind:!0}],combinator:/>|\+|~|\|\|/,punctuation:/[(),]/}},e.languages.css.atrule.inside["selector-function-argument"].inside=t,e.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}}),{pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0}),{pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0});e.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|RebeccaPurple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:t,number:n,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:t,number:n})}(T),function(e){var t=/[*&][^\s[\]{},]+/,n=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,r="(?:"+n.source+"(?:[ \t]+"+t.source+")?|"+t.source+"(?:[ \t]+"+n.source+")?)",a=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*/.source.replace(/<PLAIN>/g,(function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source})),o=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function i(e,t){t=(t||"").replace(/m/g,"")+"m";var n=/([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g,(function(){return r})).replace(/<<value>>/g,(function(){return e}));return RegExp(n,t)}e.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<<prop>>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<<prop>>/g,(function(){return r}))),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<<prop>>[ \t]+)?)<<key>>(?=\s*:\s)/.source.replace(/<<prop>>/g,(function(){return r})).replace(/<<key>>/g,(function(){return"(?:"+a+"|"+o+")"}))),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:i(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:i(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:i(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:i(o),lookbehind:!0,greedy:!0},number:{pattern:i(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:n,important:t,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},e.languages.yml=e.languages.yaml}(T),function(e){var t=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function n(e){return e=e.replace(/<inner>/g,(function(){return t})),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+e+")")}var r=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,a=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,(function(){return r})),o=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source,i=(e.languages.markdown=e.languages.extend("markup",{}),e.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:e.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+a+o+"(?:"+a+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+a+o+")(?:"+a+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(r),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+a+")"+o+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+a+"$"),inside:{"table-header":{pattern:RegExp(r),alias:"important",inside:e.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:n(/\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\b|\*\*(?:(?!\*)<inner>|\*(?:(?!\*)<inner>)+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:n(/\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\b|\*(?:(?!\*)<inner>|\*\*(?:(?!\*)<inner>)+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:n(/(~~?)(?:(?!~)<inner>)+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:n(/!?\[(?:(?!\])<inner>)+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\])<inner>)+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach((function(t){["url","bold","italic","strike","code-snippet"].forEach((function(n){t!==n&&(e.languages.markdown[t].inside.content.inside[n]=e.languages.markdown[n])}))})),e.hooks.add("after-tokenize",(function(e){"markdown"!==e.language&&"md"!==e.language||function e(t){if(t&&"string"!=typeof t)for(var n=0,r=t.length;n<r;n++){var a,o=t[n];"code"!==o.type?e(o.content):(a=o.content[1],o=o.content[3],a&&o&&"code-language"===a.type&&"code-block"===o.type&&"string"==typeof a.content&&(a=a.content.replace(/\b#/g,"sharp").replace(/\b\+\+/g,"pp"),a="language-"+(a=(/[a-z][\w-]*/i.exec(a)||[""])[0].toLowerCase()),o.alias?"string"==typeof o.alias?o.alias=[o.alias,a]:o.alias.push(a):o.alias=[a]))}}(e.tokens)})),e.hooks.add("wrap",(function(t){if("code-block"===t.type){for(var n="",r=0,a=t.classes.length;r<a;r++){var o=t.classes[r];if(o=/language-(.+)/.exec(o)){n=o[1];break}}var u,c=e.languages[n];c?t.content=e.highlight(t.content.replace(i,"").replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,(function(e,t){var n;return"#"===(t=t.toLowerCase())[0]?(n="x"===t[1]?parseInt(t.slice(2),16):Number(t.slice(1)),s(n)):l[t]||e})),c,n):n&&"none"!==n&&e.plugins.autoloader&&(u="md-"+(new Date).valueOf()+"-"+Math.floor(1e16*Math.random()),t.attributes.id=u,e.plugins.autoloader.loadLanguages(n,(function(){var t=document.getElementById(u);t&&(t.innerHTML=e.highlight(t.textContent,e.languages[n],n))})))}})),RegExp(e.languages.markup.tag.pattern.source,"gi")),l={amp:"&",lt:"<",gt:">",quot:'"'},s=String.fromCodePoint||String.fromCharCode;e.languages.md=e.languages.markdown}(T),T.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:T.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},T.hooks.add("after-tokenize",(function(e){if("graphql"===e.language)for(var t=e.tokens.filter((function(e){return"string"!=typeof e&&"comment"!==e.type&&"scalar"!==e.type})),n=0;n<t.length;){var r=t[n++];if("keyword"===r.type&&"mutation"===r.content){var a=[];if(d(["definition-mutation","punctuation"])&&"("===c(1).content){n+=2;var o=f(/^\($/,/^\)$/);if(-1===o)continue;for(;n<o;n++){var i=c(0);"variable"===i.type&&(p(i,"variable-input"),a.push(i.content))}n=o+1}if(d(["punctuation","property-query"])&&"{"===c(0).content&&(n++,p(c(0),"property-mutation"),0<a.length)){var l=f(/^\{$/,/^\}$/);if(-1!==l)for(var s=n;s<l;s++){var u=t[s];"variable"===u.type&&0<=a.indexOf(u.content)&&p(u,"variable-input")}}}}function c(e){return t[n+e]}function d(e,t){t=t||0;for(var n=0;n<e.length;n++){var r=c(n+t);if(!r||r.type!==e[n])return}return 1}function f(e,r){for(var a=1,o=n;o<t.length;o++){var i=t[o],l=i.content;if("punctuation"===i.type&&"string"==typeof l)if(e.test(l))a++;else if(r.test(l)&&0==--a)return o}return-1}function p(e,t){var n=e.alias;n?Array.isArray(n)||(e.alias=n=[n]):e.alias=n=[],n.push(t)}})),T.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/},function(e){var t=e.languages.javascript["template-string"],n=t.pattern.source,r=t.inside.interpolation,a=r.inside["interpolation-punctuation"],o=r.pattern.source;function i(t,r){if(e.languages[t])return{pattern:RegExp("((?:"+r+")\\s*)"+n),lookbehind:!0,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},"embedded-code":{pattern:/[\s\S]+/,alias:t}}}}function l(t,n,r){return t={code:t,grammar:n,language:r},e.hooks.run("before-tokenize",t),t.tokens=e.tokenize(t.code,t.grammar),e.hooks.run("after-tokenize",t),t.tokens}function s(t,n,i){var s=e.tokenize(t,{interpolation:{pattern:RegExp(o),lookbehind:!0}}),u=0,c={},d=(s=l(s.map((function(e){if("string"==typeof e)return e;var n,r;for(e=e.content;-1!==t.indexOf((r=u++,n="___"+i.toUpperCase()+"_"+r+"___")););return c[n]=e,n})).join(""),n,i),Object.keys(c));return u=0,function t(n){for(var o=0;o<n.length;o++){if(u>=d.length)return;var i,s,f,p,g,h,m,y=n[o];"string"==typeof y||"string"==typeof y.content?(i=d[u],-1!==(m=(h="string"==typeof y?y:y.content).indexOf(i))&&(++u,s=h.substring(0,m),g=c[i],f=void 0,(p={})["interpolation-punctuation"]=a,3===(p=e.tokenize(g,p)).length&&((f=[1,1]).push.apply(f,l(p[1],e.languages.javascript,"javascript")),p.splice.apply(p,f)),f=new e.Token("interpolation",p,r.alias,g),p=h.substring(m+i.length),g=[],s&&g.push(s),g.push(f),p&&(t(h=[p]),g.push.apply(g,h)),"string"==typeof y?(n.splice.apply(n,[o,1].concat(g)),o+=g.length-1):y.content=g)):(m=y.content,Array.isArray(m)?t(m):t([m]))}}(s),new e.Token(i,s,"language-"+i,t)}e.languages.javascript["template-string"]=[i("css",/\b(?:styled(?:\([^)]*\))?(?:\s*\.\s*\w+(?:\([^)]*\))*)*|css(?:\s*\.\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source),i("html",/\bhtml|\.\s*(?:inner|outer)HTML\s*\+?=/.source),i("svg",/\bsvg/.source),i("markdown",/\b(?:markdown|md)/.source),i("graphql",/\b(?:gql|graphql(?:\s*\.\s*experimental)?)/.source),i("sql",/\bsql/.source),t].filter(Boolean);var u={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};function c(e){return"string"==typeof e?e:Array.isArray(e)?e.map(c).join(""):c(e.content)}e.hooks.add("after-tokenize",(function(t){t.language in u&&function t(n){for(var r=0,a=n.length;r<a;r++){var o,i,l,u=n[r];"string"!=typeof u&&(o=u.content,Array.isArray(o)?"template-string"===u.type?(u=o[1],3===o.length&&"string"!=typeof u&&"embedded-code"===u.type&&(i=c(u),u=u.alias,u=Array.isArray(u)?u[0]:u,l=e.languages[u])&&(o[1]=s(i,l,u))):t(o):"string"!=typeof o&&t([o]))}}(t.tokens)}))}(T),function(e){e.languages.typescript=e.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),e.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete e.languages.typescript.parameter,delete e.languages.typescript["literal-property"];var t=e.languages.extend("typescript",{});delete t["class-name"],e.languages.typescript["class-name"].inside=t,e.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:t}}}}),e.languages.ts=e.languages.typescript}(T),function(e){var t=e.languages.javascript,n=/\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})+\}/.source,r="(@(?:arg|argument|param|property)\\s+(?:"+n+"\\s+)?)";e.languages.jsdoc=e.languages.extend("javadoclike",{parameter:{pattern:RegExp(r+/(?:(?!\s)[$\w\xA0-\uFFFF.])+(?=\s|$)/.source),lookbehind:!0,inside:{punctuation:/\./}}}),e.languages.insertBefore("jsdoc","keyword",{"optional-parameter":{pattern:RegExp(r+/\[(?:(?!\s)[$\w\xA0-\uFFFF.])+(?:=[^[\]]+)?\](?=\s|$)/.source),lookbehind:!0,inside:{parameter:{pattern:/(^\[)[$\w\xA0-\uFFFF\.]+/,lookbehind:!0,inside:{punctuation:/\./}},code:{pattern:/(=)[\s\S]*(?=\]$)/,lookbehind:!0,inside:t,alias:"language-javascript"},punctuation:/[=[\]]/}},"class-name":[{pattern:RegExp(/(@(?:augments|class|extends|interface|memberof!?|template|this|typedef)\s+(?:<TYPE>\s+)?)[A-Z]\w*(?:\.[A-Z]\w*)*/.source.replace(/<TYPE>/g,(function(){return n}))),lookbehind:!0,inside:{punctuation:/\./}},{pattern:RegExp("(@[a-z]+\\s+)"+n),lookbehind:!0,inside:{string:t.string,number:t.number,boolean:t.boolean,keyword:e.languages.typescript.keyword,operator:/=>|\.\.\.|[&|?:*]/,punctuation:/[.,;=<>{}()[\]]/}}],example:{pattern:/(@example\s+(?!\s))(?:[^@\s]|\s+(?!\s))+?(?=\s*(?:\*\s*)?(?:@\w|\*\/))/,lookbehind:!0,inside:{code:{pattern:/^([\t ]*(?:\*\s*)?)\S.*$/m,lookbehind:!0,inside:t,alias:"language-javascript"}}}}),e.languages.javadoclike.addSupport("javascript",e.languages.jsdoc)}(T),function(e){e.languages.flow=e.languages.extend("javascript",{}),e.languages.insertBefore("flow","keyword",{type:[{pattern:/\b(?:[Bb]oolean|Function|[Nn]umber|[Ss]tring|[Ss]ymbol|any|mixed|null|void)\b/,alias:"class-name"}]}),e.languages.flow["function-variable"].pattern=/(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=\s*(?:function\b|(?:\([^()]*\)(?:\s*:\s*\w+)?|(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/i,delete e.languages.flow.parameter,e.languages.insertBefore("flow","operator",{"flow-punctuation":{pattern:/\{\||\|\}/,alias:"punctuation"}}),Array.isArray(e.languages.flow.keyword)||(e.languages.flow.keyword=[e.languages.flow.keyword]),e.languages.flow.keyword.unshift({pattern:/(^|[^$]\b)(?:Class|declare|opaque|type)\b(?!\$)/,lookbehind:!0},{pattern:/(^|[^$]\B)\$(?:Diff|Enum|Exact|Keys|ObjMap|PropertyType|Record|Shape|Subtype|Supertype|await)\b(?!\$)/,lookbehind:!0})}(T),T.languages.n4js=T.languages.extend("javascript",{keyword:/\b(?:Array|any|boolean|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|false|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|module|new|null|number|package|private|protected|public|return|set|static|string|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)\b/}),T.languages.insertBefore("n4js","constant",{annotation:{pattern:/@+\w+/,alias:"operator"}}),T.languages.n4jsd=T.languages.n4js,function(e){function t(e,t){return RegExp(e.replace(/<ID>/g,(function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source})),t)}e.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+e.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),e.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+e.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),e.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]}),e.languages.insertBefore("javascript","keyword",{imports:{pattern:t(/(\bimport\b\s*)(?:<ID>(?:\s*,\s*(?:\*\s*as\s+<ID>|\{[^{}]*\}))?|\*\s*as\s+<ID>|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:e.languages.javascript},exports:{pattern:t(/(\bexport\b\s*)(?:\*(?:\s*as\s+<ID>)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:e.languages.javascript}}),e.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),e.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),e.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:t(/(\.\s*)#?<ID>/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var n=["function","function-variable","method","method-variable","property-access"],r=0;r<n.length;r++){var a=n[r],o=e.languages.javascript[a];a=(o="RegExp"===e.util.type(o)?e.languages.javascript[a]={pattern:o}:o).inside||{};(o.inside=a)["maybe-class-name"]=/^[A-Z][\s\S]*/}}(T),function(e){var t=e.util.clone(e.languages.javascript),n=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,r=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,a=/(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;function o(e,t){return e=e.replace(/<S>/g,(function(){return n})).replace(/<BRACES>/g,(function(){return r})).replace(/<SPREAD>/g,(function(){return a})),RegExp(e,t)}function i(t){for(var n=[],r=0;r<t.length;r++){var a=t[r],o=!1;"string"!=typeof a&&("tag"===a.type&&a.content[0]&&"tag"===a.content[0].type?"</"===a.content[0].content[0].content?0<n.length&&n[n.length-1].tagName===l(a.content[0].content[1])&&n.pop():"/>"!==a.content[a.content.length-1].content&&n.push({tagName:l(a.content[0].content[1]),openedBraces:0}):0<n.length&&"punctuation"===a.type&&"{"===a.content?n[n.length-1].openedBraces++:0<n.length&&0<n[n.length-1].openedBraces&&"punctuation"===a.type&&"}"===a.content?n[n.length-1].openedBraces--:o=!0),(o||"string"==typeof a)&&0<n.length&&0===n[n.length-1].openedBraces&&(o=l(a),r<t.length-1&&("string"==typeof t[r+1]||"plain-text"===t[r+1].type)&&(o+=l(t[r+1]),t.splice(r+1,1)),0<r&&("string"==typeof t[r-1]||"plain-text"===t[r-1].type)&&(o=l(t[r-1])+o,t.splice(r-1,1),r--),t[r]=new e.Token("plain-text",o,null,o)),a.content&&"string"!=typeof a.content&&i(a.content)}}a=o(a).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=o(/<\/?(?:[\w.:-]+(?:<S>+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source),e.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,e.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.jsx.tag.inside.comment=t.comment,e.languages.insertBefore("inside","attr-name",{spread:{pattern:o(/<SPREAD>/.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:o(/=<BRACES>/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx}}},e.languages.jsx.tag);var l=function(e){return e?"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(l).join(""):""};e.hooks.add("after-tokenize",(function(e){"jsx"!==e.language&&"tsx"!==e.language||i(e.tokens)}))}(T),function(e){var t=e.util.clone(e.languages.typescript);(t=(e.languages.tsx=e.languages.extend("jsx",t),delete e.languages.tsx.parameter,delete e.languages.tsx["literal-property"],e.languages.tsx.tag)).pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+t.pattern.source+")",t.pattern.flags),t.lookbehind=!0}(T),T.languages.swift={comment:{pattern:/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,lookbehind:!0,greedy:!0},"string-literal":[{pattern:RegExp(/(^|[^"#])/.source+"(?:"+/"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source+"|"+/"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source+")"+/(?!["#])/.source),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:"punctuation"},punctuation:/\\(?=[\r\n])/,string:/[\s\S]+/}},{pattern:RegExp(/(^|[^"#])(#+)/.source+"(?:"+/"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source+"|"+/"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source+")\\2"),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:"punctuation"},string:/[\s\S]+/}}],directive:{pattern:RegExp(/#/.source+"(?:"+/(?:elseif|if)\b/.source+"(?:[ \t]*"+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source+")+|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:false|true)\b/,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:false|true)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},T.languages.swift["string-literal"].forEach((function(e){e.inside.interpolation.inside=T.languages.swift})),function(e){e.languages.kotlin=e.languages.extend("clike",{keyword:{pattern:/(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/,lookbehind:!0},function:[{pattern:/(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/,greedy:!0},{pattern:/(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/,lookbehind:!0,greedy:!0}],number:/\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,operator:/\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/}),delete e.languages.kotlin["class-name"];var t={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:e.languages.kotlin}};e.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:t},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:t},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete e.languages.kotlin.string,e.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),e.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),e.languages.kt=e.languages.kotlin,e.languages.kts=e.languages.kotlin}(T),T.languages.c=T.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),T.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),T.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},T.languages.c.string],char:T.languages.c.char,comment:T.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:T.languages.c}}}}),T.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete T.languages.c.boolean,T.languages.objectivec=T.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<<?=?|>>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete T.languages.objectivec["class-name"],T.languages.objc=T.languages.objectivec,T.languages.reason=T.languages.extend("clike",{string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/}),T.languages.insertBefore("reason","class-name",{char:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,greedy:!0},constructor:/\b[A-Z]\w*\b(?!\s*\.)/,label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}}),delete T.languages.reason.function,function(e){for(var t=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|<self>)*\*\//.source,n=0;n<2;n++)t=t.replace(/<self>/g,(function(){return t}));t=t.replace(/<self>/g,(function(){return/[^\s\S]/.source})),e.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+t),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,greedy:!0},char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,greedy:!0},attribute:{pattern:/#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,greedy:!0,alias:"attr-name",inside:{string:null}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,lookbehind:!0,greedy:!0,inside:{"closure-punctuation":{pattern:/^\||\|$/,alias:"punctuation"},rest:null}},"lifetime-annotation":{pattern:/'\w+/,alias:"symbol"},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:"punctuation"},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:"function"},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:"class-name"},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:"namespace"},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:"namespace",inside:{punctuation:/::/}}],keyword:[/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,/\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/],function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:"property"},constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:/\b(?:false|true)\b/,punctuation:/->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,operator:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<<?=?|>>?=?|[@?]/},e.languages.rust["closure-params"].inside.rest=e.languages.rust,e.languages.rust.attribute.inside.string=e.languages.rust.string}(T),T.languages.go=T.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),T.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete T.languages.go["class-name"],function(e){var t=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,n=/\b(?!<keyword>)\w+(?:\s*\.\s*\w+)*\b/.source.replace(/<keyword>/g,(function(){return t.source}));e.languages.cpp=e.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!<keyword>)\w+/.source.replace(/<keyword>/g,(function(){return t.source}))),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:t,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),e.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/<mod-name>(?:\s*:\s*<mod-name>)?|:\s*<mod-name>/.source.replace(/<mod-name>/g,(function(){return n}))+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),e.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:e.languages.cpp}}}}),e.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),e.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:e.languages.extend("cpp",{})}}),e.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},e.languages.cpp["base-clause"])}(T),T.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},T.languages.python["string-interpolation"].inside.interpolation.inside.rest=T.languages.python,T.languages.py=T.languages.python;((e,t)=>{for(var n in t)p(e,n,{get:t[n],enumerable:!0})})({},{dracula:()=>N,duotoneDark:()=>A,duotoneLight:()=>j,github:()=>L,jettwaveDark:()=>H,jettwaveLight:()=>V,nightOwl:()=>O,nightOwlLight:()=>P,oceanicNext:()=>D,okaidia:()=>F,oneDark:()=>W,oneLight:()=>G,palenight:()=>M,shadesOfPurple:()=>z,synthwave84:()=>B,ultramin:()=>$,vsDark:()=>U,vsLight:()=>Z});var N={plain:{color:"#F8F8F2",backgroundColor:"#282A36"},styles:[{types:["prolog","constant","builtin"],style:{color:"rgb(189, 147, 249)"}},{types:["inserted","function"],style:{color:"rgb(80, 250, 123)"}},{types:["deleted"],style:{color:"rgb(255, 85, 85)"}},{types:["changed"],style:{color:"rgb(255, 184, 108)"}},{types:["punctuation","symbol"],style:{color:"rgb(248, 248, 242)"}},{types:["string","char","tag","selector"],style:{color:"rgb(255, 121, 198)"}},{types:["keyword","variable"],style:{color:"rgb(189, 147, 249)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(98, 114, 164)"}},{types:["attr-name"],style:{color:"rgb(241, 250, 140)"}}]},A={plain:{backgroundColor:"#2a2734",color:"#9a86fd"},styles:[{types:["comment","prolog","doctype","cdata","punctuation"],style:{color:"#6c6783"}},{types:["namespace"],style:{opacity:.7}},{types:["tag","operator","number"],style:{color:"#e09142"}},{types:["property","function"],style:{color:"#9a86fd"}},{types:["tag-id","selector","atrule-id"],style:{color:"#eeebff"}},{types:["attr-name"],style:{color:"#c4b9fe"}},{types:["boolean","string","entity","url","attr-value","keyword","control","directive","unit","statement","regex","atrule","placeholder","variable"],style:{color:"#ffcc99"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"#c4b9fe"}}]},j={plain:{backgroundColor:"#faf8f5",color:"#728fcb"},styles:[{types:["comment","prolog","doctype","cdata","punctuation"],style:{color:"#b6ad9a"}},{types:["namespace"],style:{opacity:.7}},{types:["tag","operator","number"],style:{color:"#063289"}},{types:["property","function"],style:{color:"#b29762"}},{types:["tag-id","selector","atrule-id"],style:{color:"#2d2006"}},{types:["attr-name"],style:{color:"#896724"}},{types:["boolean","string","entity","url","attr-value","keyword","control","directive","unit","statement","regex","atrule"],style:{color:"#728fcb"}},{types:["placeholder","variable"],style:{color:"#93abdc"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"#896724"}}]},L={plain:{color:"#393A34",backgroundColor:"#f6f8fa"},styles:[{types:["comment","prolog","doctype","cdata"],style:{color:"#999988",fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}},{types:["string","attr-value"],style:{color:"#e3116c"}},{types:["punctuation","operator"],style:{color:"#393A34"}},{types:["entity","url","symbol","number","boolean","variable","constant","property","regex","inserted"],style:{color:"#36acaa"}},{types:["atrule","keyword","attr-name","selector"],style:{color:"#00a4db"}},{types:["function","deleted","tag"],style:{color:"#d73a49"}},{types:["function-variable"],style:{color:"#6f42c1"}},{types:["tag","selector","keyword"],style:{color:"#00009f"}}]},O={plain:{color:"#d6deeb",backgroundColor:"#011627"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)",fontStyle:"italic"}},{types:["inserted","attr-name"],style:{color:"rgb(173, 219, 103)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(99, 119, 119)",fontStyle:"italic"}},{types:["string","url"],style:{color:"rgb(173, 219, 103)"}},{types:["variable"],style:{color:"rgb(214, 222, 235)"}},{types:["number"],style:{color:"rgb(247, 140, 108)"}},{types:["builtin","char","constant","function"],style:{color:"rgb(130, 170, 255)"}},{types:["punctuation"],style:{color:"rgb(199, 146, 234)"}},{types:["selector","doctype"],style:{color:"rgb(199, 146, 234)",fontStyle:"italic"}},{types:["class-name"],style:{color:"rgb(255, 203, 139)"}},{types:["tag","operator","keyword"],style:{color:"rgb(127, 219, 202)"}},{types:["boolean"],style:{color:"rgb(255, 88, 116)"}},{types:["property"],style:{color:"rgb(128, 203, 196)"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)"}}]},P={plain:{color:"#403f53",backgroundColor:"#FBFBFB"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)",fontStyle:"italic"}},{types:["inserted","attr-name"],style:{color:"rgb(72, 118, 214)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(152, 159, 177)",fontStyle:"italic"}},{types:["string","builtin","char","constant","url"],style:{color:"rgb(72, 118, 214)"}},{types:["variable"],style:{color:"rgb(201, 103, 101)"}},{types:["number"],style:{color:"rgb(170, 9, 130)"}},{types:["punctuation"],style:{color:"rgb(153, 76, 195)"}},{types:["function","selector","doctype"],style:{color:"rgb(153, 76, 195)",fontStyle:"italic"}},{types:["class-name"],style:{color:"rgb(17, 17, 17)"}},{types:["tag"],style:{color:"rgb(153, 76, 195)"}},{types:["operator","property","keyword","namespace"],style:{color:"rgb(12, 150, 155)"}},{types:["boolean"],style:{color:"rgb(188, 84, 84)"}}]},R="#c5a5c5",I="#8dc891",D={plain:{backgroundColor:"#282c34",color:"#ffffff"},styles:[{types:["attr-name"],style:{color:R}},{types:["attr-value"],style:{color:I}},{types:["comment","block-comment","prolog","doctype","cdata","shebang"],style:{color:"#999999"}},{types:["property","number","function-name","constant","symbol","deleted"],style:{color:"#5a9bcf"}},{types:["boolean"],style:{color:"#ff8b50"}},{types:["tag"],style:{color:"#fc929e"}},{types:["string"],style:{color:I}},{types:["punctuation"],style:{color:I}},{types:["selector","char","builtin","inserted"],style:{color:"#D8DEE9"}},{types:["function"],style:{color:"#79b6f2"}},{types:["operator","entity","url","variable"],style:{color:"#d7deea"}},{types:["keyword"],style:{color:R}},{types:["atrule","class-name"],style:{color:"#FAC863"}},{types:["important"],style:{fontWeight:"400"}},{types:["bold"],style:{fontWeight:"bold"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}}]},F={plain:{color:"#f8f8f2",backgroundColor:"#272822"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"#f92672",fontStyle:"italic"}},{types:["inserted"],style:{color:"rgb(173, 219, 103)",fontStyle:"italic"}},{types:["comment"],style:{color:"#8292a2",fontStyle:"italic"}},{types:["string","url"],style:{color:"#a6e22e"}},{types:["variable"],style:{color:"#f8f8f2"}},{types:["number"],style:{color:"#ae81ff"}},{types:["builtin","char","constant","function","class-name"],style:{color:"#e6db74"}},{types:["punctuation"],style:{color:"#f8f8f2"}},{types:["selector","doctype"],style:{color:"#a6e22e",fontStyle:"italic"}},{types:["tag","operator","keyword"],style:{color:"#66d9ef"}},{types:["boolean"],style:{color:"#ae81ff"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)",opacity:.7}},{types:["tag","property"],style:{color:"#f92672"}},{types:["attr-name"],style:{color:"#a6e22e !important"}},{types:["doctype"],style:{color:"#8292a2"}},{types:["rule"],style:{color:"#e6db74"}}]},M={plain:{color:"#bfc7d5",backgroundColor:"#292d3e"},styles:[{types:["comment"],style:{color:"rgb(105, 112, 152)",fontStyle:"italic"}},{types:["string","inserted"],style:{color:"rgb(195, 232, 141)"}},{types:["number"],style:{color:"rgb(247, 140, 108)"}},{types:["builtin","char","constant","function"],style:{color:"rgb(130, 170, 255)"}},{types:["punctuation","selector"],style:{color:"rgb(199, 146, 234)"}},{types:["variable"],style:{color:"rgb(191, 199, 213)"}},{types:["class-name","attr-name"],style:{color:"rgb(255, 203, 107)"}},{types:["tag","deleted"],style:{color:"rgb(255, 85, 114)"}},{types:["operator"],style:{color:"rgb(137, 221, 255)"}},{types:["boolean"],style:{color:"rgb(255, 88, 116)"}},{types:["keyword"],style:{fontStyle:"italic"}},{types:["doctype"],style:{color:"rgb(199, 146, 234)",fontStyle:"italic"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)"}},{types:["url"],style:{color:"rgb(221, 221, 221)"}}]},z={plain:{color:"#9EFEFF",backgroundColor:"#2D2A55"},styles:[{types:["changed"],style:{color:"rgb(255, 238, 128)"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)"}},{types:["inserted"],style:{color:"rgb(173, 219, 103)"}},{types:["comment"],style:{color:"rgb(179, 98, 255)",fontStyle:"italic"}},{types:["punctuation"],style:{color:"rgb(255, 255, 255)"}},{types:["constant"],style:{color:"rgb(255, 98, 140)"}},{types:["string","url"],style:{color:"rgb(165, 255, 144)"}},{types:["variable"],style:{color:"rgb(255, 238, 128)"}},{types:["number","boolean"],style:{color:"rgb(255, 98, 140)"}},{types:["attr-name"],style:{color:"rgb(255, 180, 84)"}},{types:["keyword","operator","property","namespace","tag","selector","doctype"],style:{color:"rgb(255, 157, 0)"}},{types:["builtin","char","constant","function","class-name"],style:{color:"rgb(250, 208, 0)"}}]},B={plain:{backgroundColor:"linear-gradient(to bottom, #2a2139 75%, #34294f)",backgroundImage:"#34294f",color:"#f92aad",textShadow:"0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3"},styles:[{types:["comment","block-comment","prolog","doctype","cdata"],style:{color:"#495495",fontStyle:"italic"}},{types:["punctuation"],style:{color:"#ccc"}},{types:["tag","attr-name","namespace","number","unit","hexcode","deleted"],style:{color:"#e2777a"}},{types:["property","selector"],style:{color:"#72f1b8",textShadow:"0 0 2px #100c0f, 0 0 10px #257c5575, 0 0 35px #21272475"}},{types:["function-name"],style:{color:"#6196cc"}},{types:["boolean","selector-id","function"],style:{color:"#fdfdfd",textShadow:"0 0 2px #001716, 0 0 3px #03edf975, 0 0 5px #03edf975, 0 0 8px #03edf975"}},{types:["class-name","maybe-class-name","builtin"],style:{color:"#fff5f6",textShadow:"0 0 2px #000, 0 0 10px #fc1f2c75, 0 0 5px #fc1f2c75, 0 0 25px #fc1f2c75"}},{types:["constant","symbol"],style:{color:"#f92aad",textShadow:"0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3"}},{types:["important","atrule","keyword","selector-class"],style:{color:"#f4eee4",textShadow:"0 0 2px #393a33, 0 0 8px #f39f0575, 0 0 2px #f39f0575"}},{types:["string","char","attr-value","regex","variable"],style:{color:"#f87c32"}},{types:["parameter"],style:{fontStyle:"italic"}},{types:["entity","url"],style:{color:"#67cdcc"}},{types:["operator"],style:{color:"ffffffee"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["entity"],style:{cursor:"help"}},{types:["inserted"],style:{color:"green"}}]},$={plain:{color:"#282a2e",backgroundColor:"#ffffff"},styles:[{types:["comment"],style:{color:"rgb(197, 200, 198)"}},{types:["string","number","builtin","variable"],style:{color:"rgb(150, 152, 150)"}},{types:["class-name","function","tag","attr-name"],style:{color:"rgb(40, 42, 46)"}}]},U={plain:{color:"#9CDCFE",backgroundColor:"#1E1E1E"},styles:[{types:["prolog"],style:{color:"rgb(0, 0, 128)"}},{types:["comment"],style:{color:"rgb(106, 153, 85)"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"rgb(86, 156, 214)"}},{types:["number","inserted"],style:{color:"rgb(181, 206, 168)"}},{types:["constant"],style:{color:"rgb(100, 102, 149)"}},{types:["attr-name","variable"],style:{color:"rgb(156, 220, 254)"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"rgb(206, 145, 120)"}},{types:["selector"],style:{color:"rgb(215, 186, 125)"}},{types:["tag"],style:{color:"rgb(78, 201, 176)"}},{types:["tag"],languages:["markup"],style:{color:"rgb(86, 156, 214)"}},{types:["punctuation","operator"],style:{color:"rgb(212, 212, 212)"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"rgb(220, 220, 170)"}},{types:["class-name"],style:{color:"rgb(78, 201, 176)"}},{types:["char"],style:{color:"rgb(209, 105, 105)"}}]},Z={plain:{color:"#000000",backgroundColor:"#ffffff"},styles:[{types:["comment"],style:{color:"rgb(0, 128, 0)"}},{types:["builtin"],style:{color:"rgb(0, 112, 193)"}},{types:["number","variable","inserted"],style:{color:"rgb(9, 134, 88)"}},{types:["operator"],style:{color:"rgb(0, 0, 0)"}},{types:["constant","char"],style:{color:"rgb(129, 31, 63)"}},{types:["tag"],style:{color:"rgb(128, 0, 0)"}},{types:["attr-name"],style:{color:"rgb(255, 0, 0)"}},{types:["deleted","string"],style:{color:"rgb(163, 21, 21)"}},{types:["changed","punctuation"],style:{color:"rgb(4, 81, 165)"}},{types:["function","keyword"],style:{color:"rgb(0, 0, 255)"}},{types:["class-name"],style:{color:"rgb(38, 127, 153)"}}]},H={plain:{color:"#f8fafc",backgroundColor:"#011627"},styles:[{types:["prolog"],style:{color:"#000080"}},{types:["comment"],style:{color:"#6A9955"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"#569CD6"}},{types:["number","inserted"],style:{color:"#B5CEA8"}},{types:["constant"],style:{color:"#f8fafc"}},{types:["attr-name","variable"],style:{color:"#9CDCFE"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"#cbd5e1"}},{types:["selector"],style:{color:"#D7BA7D"}},{types:["tag"],style:{color:"#0ea5e9"}},{types:["tag"],languages:["markup"],style:{color:"#0ea5e9"}},{types:["punctuation","operator"],style:{color:"#D4D4D4"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"#7dd3fc"}},{types:["class-name"],style:{color:"#0ea5e9"}},{types:["char"],style:{color:"#D16969"}}]},V={plain:{color:"#0f172a",backgroundColor:"#f1f5f9"},styles:[{types:["prolog"],style:{color:"#000080"}},{types:["comment"],style:{color:"#6A9955"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"#0c4a6e"}},{types:["number","inserted"],style:{color:"#B5CEA8"}},{types:["constant"],style:{color:"#0f172a"}},{types:["attr-name","variable"],style:{color:"#0c4a6e"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"#64748b"}},{types:["selector"],style:{color:"#D7BA7D"}},{types:["tag"],style:{color:"#0ea5e9"}},{types:["tag"],languages:["markup"],style:{color:"#0ea5e9"}},{types:["punctuation","operator"],style:{color:"#475569"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"#0e7490"}},{types:["class-name"],style:{color:"#0ea5e9"}},{types:["char"],style:{color:"#D16969"}}]},W={plain:{backgroundColor:"hsl(220, 13%, 18%)",color:"hsl(220, 14%, 71%)",textShadow:"0 1px rgba(0, 0, 0, 0.3)"},styles:[{types:["comment","prolog","cdata"],style:{color:"hsl(220, 10%, 40%)"}},{types:["doctype","punctuation","entity"],style:{color:"hsl(220, 14%, 71%)"}},{types:["attr-name","class-name","maybe-class-name","boolean","constant","number","atrule"],style:{color:"hsl(29, 54%, 61%)"}},{types:["keyword"],style:{color:"hsl(286, 60%, 67%)"}},{types:["property","tag","symbol","deleted","important"],style:{color:"hsl(355, 65%, 65%)"}},{types:["selector","string","char","builtin","inserted","regex","attr-value"],style:{color:"hsl(95, 38%, 62%)"}},{types:["variable","operator","function"],style:{color:"hsl(207, 82%, 66%)"}},{types:["url"],style:{color:"hsl(187, 47%, 55%)"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"hsl(220, 14%, 71%)"}}]},G={plain:{backgroundColor:"hsl(230, 1%, 98%)",color:"hsl(230, 8%, 24%)"},styles:[{types:["comment","prolog","cdata"],style:{color:"hsl(230, 4%, 64%)"}},{types:["doctype","punctuation","entity"],style:{color:"hsl(230, 8%, 24%)"}},{types:["attr-name","class-name","boolean","constant","number","atrule"],style:{color:"hsl(35, 99%, 36%)"}},{types:["keyword"],style:{color:"hsl(301, 63%, 40%)"}},{types:["property","tag","symbol","deleted","important"],style:{color:"hsl(5, 74%, 59%)"}},{types:["selector","string","char","builtin","inserted","regex","attr-value","punctuation"],style:{color:"hsl(119, 34%, 47%)"}},{types:["variable","operator","function"],style:{color:"hsl(221, 87%, 60%)"}},{types:["url"],style:{color:"hsl(198, 99%, 37%)"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"hsl(230, 8%, 24%)"}}]},q=(e,t)=>{const{plain:n}=e,r=e.styles.reduce(((e,n)=>{const{languages:r,style:a}=n;return r&&!r.includes(t)||n.types.forEach((t=>{const n=S(S({},e[t]),a);e[t]=n})),e}),{});return r.root=n,r.plain=E(S({},n),{backgroundColor:void 0}),r},Y=/\r\n|\r|\n/,K=e=>{0===e.length?e.push({types:["plain"],content:"\n",empty:!0}):1===e.length&&""===e[0].content&&(e[0].content="\n",e[0].empty=!0)},Q=(e,t)=>{const n=e.length;return n>0&&e[n-1]===t?e:e.concat(t)},X=e=>{const t=[[]],n=[e],r=[0],a=[e.length];let o=0,i=0,l=[];const s=[l];for(;i>-1;){for(;(o=r[i]++)<a[i];){let e,u=t[i];const c=n[i][o];if("string"==typeof c?(u=i>0?u:["plain"],e=c):(u=Q(u,c.type),c.alias&&(u=Q(u,c.alias)),e=c.content),"string"!=typeof e){i++,t.push(u),n.push(e),r.push(0),a.push(e.length);continue}const d=e.split(Y),f=d.length;l.push({types:u,content:d[0]});for(let t=1;t<f;t++)K(l),s.push(l=[]),l.push({types:u,content:d[t]})}i--,t.pop(),n.pop(),r.pop(),a.pop()}return K(l),s},J=({children:e,language:t,code:n,theme:r,prism:a})=>{const o=t.toLowerCase(),i=((e,t)=>{const[n,r]=(0,c.useState)(q(t,e)),a=(0,c.useRef)(),o=(0,c.useRef)();return(0,c.useEffect)((()=>{t===a.current&&e===o.current||(a.current=t,o.current=e,r(q(t,e)))}),[e,t]),n})(o,r),l=(e=>(0,c.useCallback)((t=>{var n=t,{className:r,style:a,line:o}=n,i=_(n,["className","style","line"]);const l=E(S({},i),{className:(0,d.Z)("token-line",r)});return"object"==typeof e&&"plain"in e&&(l.style=e.plain),"object"==typeof a&&(l.style=S(S({},l.style||{}),a)),l}),[e]))(i),s=(e=>{const t=(0,c.useCallback)((({types:t,empty:n})=>{if(null!=e)return 1===t.length&&"plain"===t[0]?null!=n?{display:"inline-block"}:void 0:1===t.length&&null!=n?e[t[0]]:Object.assign(null!=n?{display:"inline-block"}:{},...t.map((t=>e[t])))}),[e]);return(0,c.useCallback)((e=>{var n=e,{token:r,className:a,style:o}=n,i=_(n,["token","className","style"]);const l=E(S({},i),{className:(0,d.Z)("token",...r.types,a),children:r.content,style:t(r)});return null!=o&&(l.style=S(S({},l.style||{}),o)),l}),[t])})(i),u=(({prism:e,code:t,grammar:n,language:r})=>{const a=(0,c.useRef)(e);return(0,c.useMemo)((()=>{if(null==n)return X([t]);const e={code:t,grammar:n,language:r,tokens:[]};return a.current.hooks.run("before-tokenize",e),e.tokens=a.current.tokenize(t,n),a.current.hooks.run("after-tokenize",e),X(e.tokens)}),[t,n,r])})({prism:a,language:o,code:n,grammar:a.languages[o]});return e({tokens:u,className:`prism-code language-${o}`,style:null!=i?i.root:{},getLineProps:l,getTokenProps:s})},ee=e=>(0,c.createElement)(J,E(S({},e),{prism:e.prism||T,theme:e.theme||U,code:e.code,language:e.language}))},8776:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=!0,a="Invariant failed";function o(e,t){if(!e){if(r)throw new Error(a);var n="function"==typeof t?t():t,o=n?"".concat(a,": ").concat(n):a;throw new Error(o)}}},7529:e=>{"use strict";e.exports={}},6887:e=>{"use strict";e.exports=JSON.parse('{"/prettier-java/blog-3c4":{"__comp":"a6aa9e1f","__context":{"plugin":"7efe52da"},"sidebar":"814f3328","items":[{"content":"f1849b36"}],"metadata":"9b912970"},"/prettier-java/blog/2023/11/26/2.5.0-780":{"__comp":"ccc49370","__context":{"plugin":"7efe52da"},"sidebar":"814f3328","content":"9ac3030f"},"/prettier-java/blog/archive-8e8":{"__comp":"9e4087bc","__context":{"plugin":"7efe52da"},"archive":"c28d97a6"},"/prettier-java/playground-194":{"__comp":"8926b418","__context":{"plugin":"9977e004"},"config":"5e9f5e1a"},"/prettier-java/docs-4ac":{"__comp":"5e95c892","__context":{"plugin":"f884eabf"}},"/prettier-java/docs-6b8":{"__comp":"a7bd4aaa","version":"935f2afb"},"/prettier-java/docs-e71":{"__comp":"a94703ab"},"/prettier-java/docs-33e":{"__comp":"17896441","content":"c377a04b"},"/prettier-java/docs/installation-53e":{"__comp":"17896441","content":"fa4d91bf"},"/prettier-java/-441":{"__comp":"1df93b7f","__context":{"plugin":"9977e004"},"config":"5e9f5e1a"}}')}},e=>{e.O(0,[532],(()=>{return t=7221,e(e.s=t);var t}));e.O()}]); \ No newline at end of file diff --git a/assets/js/main.8b553509.js.LICENSE.txt b/assets/js/main.74efb3e0.js.LICENSE.txt similarity index 100% rename from assets/js/main.8b553509.js.LICENSE.txt rename to assets/js/main.74efb3e0.js.LICENSE.txt diff --git a/assets/js/main.8b553509.js b/assets/js/main.8b553509.js deleted file mode 100644 index 234b183b..00000000 --- a/assets/js/main.8b553509.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! For license information please see main.8b553509.js.LICENSE.txt */ -(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[179],{723:(e,t,n)=>{"use strict";n.d(t,{Z:()=>f});n(7294);var r=n(8356),a=n.n(r),o=n(6887);const i={17896441:[()=>Promise.all([n.e(532),n.e(96),n.e(918)]).then(n.bind(n,8945)),"@theme/DocItem",8945],"1df93b7f":[()=>Promise.all([n.e(532),n.e(237)]).then(n.bind(n,3808)),"@site/src/pages/index.tsx",3808],"5e95c892":[()=>n.e(661).then(n.bind(n,1892)),"@theme/DocsRoot",1892],"5e9f5e1a":[()=>Promise.resolve().then(n.bind(n,6809)),"@generated/docusaurus.config",6809],"7efe52da":[()=>n.e(116).then(n.t.bind(n,4469,19)),"/Users/jordan/Documents/prettier-java/website/.docusaurus/docusaurus-plugin-content-blog/default/plugin-route-context-module-100.json",4469],"814f3328":[()=>n.e(535).then(n.t.bind(n,5641,19)),"~blog/default/blog-post-list-prop-default.json",5641],"8926b418":[()=>Promise.all([n.e(532),n.e(742),n.e(998)]).then(n.bind(n,9566)),"@site/src/pages/playground/index.tsx",9566],"935f2afb":[()=>n.e(53).then(n.t.bind(n,1109,19)),"~docs/default/version-current-metadata-prop-751.json",1109],"9977e004":[()=>n.e(993).then(n.t.bind(n,5745,19)),"/Users/jordan/Documents/prettier-java/website/.docusaurus/docusaurus-plugin-content-pages/default/plugin-route-context-module-100.json",5745],"9ac3030f":[()=>n.e(13).then(n.bind(n,5663)),"@site/blog/2023-11-26-2.5.0.md",5663],"9b912970":[()=>n.e(55).then(n.t.bind(n,88,19)),"~blog/default/prettier-java-blog-55d.json",88],"9e4087bc":[()=>n.e(608).then(n.bind(n,3169)),"@theme/BlogArchivePage",3169],a6aa9e1f:[()=>Promise.all([n.e(532),n.e(96),n.e(989),n.e(89)]).then(n.bind(n,3269)),"@theme/BlogListPage",3269],a7bd4aaa:[()=>n.e(518).then(n.bind(n,8564)),"@theme/DocVersionRoot",8564],a94703ab:[()=>Promise.all([n.e(532),n.e(368)]).then(n.bind(n,2674)),"@theme/DocRoot",2674],c28d97a6:[()=>n.e(40).then(n.t.bind(n,7700,19)),"~blog/default/prettier-java-blog-archive-1fa.json",7700],c377a04b:[()=>n.e(971).then(n.bind(n,9925)),"@site/docs/index.md",9925],ccc49370:[()=>Promise.all([n.e(532),n.e(96),n.e(989),n.e(103)]).then(n.bind(n,5203)),"@theme/BlogPostPage",5203],f1849b36:[()=>n.e(748).then(n.bind(n,5879)),"@site/blog/2023-11-26-2.5.0.md?truncated=true",5879],f884eabf:[()=>n.e(596).then(n.t.bind(n,3769,19)),"/Users/jordan/Documents/prettier-java/website/.docusaurus/docusaurus-plugin-content-docs/default/plugin-route-context-module-100.json",3769],fa4d91bf:[()=>Promise.all([n.e(532),n.e(930)]).then(n.bind(n,4090)),"@site/docs/installation.mdx",4090]};var l=n(5893);function s(e){let{error:t,retry:n,pastDelay:r}=e;return t?(0,l.jsxs)("div",{style:{textAlign:"center",color:"#fff",backgroundColor:"#fa383e",borderColor:"#fa383e",borderStyle:"solid",borderRadius:"0.25rem",borderWidth:"1px",boxSizing:"border-box",display:"block",padding:"1rem",flex:"0 0 50%",marginLeft:"25%",marginRight:"25%",marginTop:"5rem",maxWidth:"50%",width:"100%"},children:[(0,l.jsx)("p",{children:String(t)}),(0,l.jsx)("div",{children:(0,l.jsx)("button",{type:"button",onClick:n,children:"Retry"})})]}):r?(0,l.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",height:"100vh"},children:(0,l.jsx)("svg",{id:"loader",style:{width:128,height:110,position:"absolute",top:"calc(100vh - 64%)"},viewBox:"0 0 45 45",xmlns:"http://www.w3.org/2000/svg",stroke:"#61dafb",children:(0,l.jsxs)("g",{fill:"none",fillRule:"evenodd",transform:"translate(1 1)",strokeWidth:"2",children:[(0,l.jsxs)("circle",{cx:"22",cy:"22",r:"6",strokeOpacity:"0",children:[(0,l.jsx)("animate",{attributeName:"r",begin:"1.5s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),(0,l.jsx)("animate",{attributeName:"stroke-opacity",begin:"1.5s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),(0,l.jsx)("animate",{attributeName:"stroke-width",begin:"1.5s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})]}),(0,l.jsxs)("circle",{cx:"22",cy:"22",r:"6",strokeOpacity:"0",children:[(0,l.jsx)("animate",{attributeName:"r",begin:"3s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),(0,l.jsx)("animate",{attributeName:"stroke-opacity",begin:"3s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),(0,l.jsx)("animate",{attributeName:"stroke-width",begin:"3s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})]}),(0,l.jsx)("circle",{cx:"22",cy:"22",r:"8",children:(0,l.jsx)("animate",{attributeName:"r",begin:"0s",dur:"1.5s",values:"6;1;2;3;4;5;6",calcMode:"linear",repeatCount:"indefinite"})})]})})}):null}var u=n(9670),c=n(226);function d(e,t){if("*"===e)return a()({loading:s,loader:()=>n.e(772).then(n.bind(n,1772)),modules:["@theme/NotFound"],webpack:()=>[1772],render(e,t){const n=e.default;return(0,l.jsx)(c.z,{value:{plugin:{name:"native",id:"default"}},children:(0,l.jsx)(n,{...t})})}});const r=o[`${e}-${t}`],d={},f=[],p=[],g=(0,u.Z)(r);return Object.entries(g).forEach((e=>{let[t,n]=e;const r=i[n];r&&(d[t]=r[0],f.push(r[1]),p.push(r[2]))})),a().Map({loading:s,loader:d,modules:f,webpack:()=>p,render(t,n){const a=JSON.parse(JSON.stringify(r));Object.entries(t).forEach((t=>{let[n,r]=t;const o=r.default;if(!o)throw new Error(`The page component at ${e} doesn't have a default export. This makes it impossible to render anything. Consider default-exporting a React component.`);"object"!=typeof o&&"function"!=typeof o||Object.keys(r).filter((e=>"default"!==e)).forEach((e=>{o[e]=r[e]}));let i=a;const l=n.split(".");l.slice(0,-1).forEach((e=>{i=i[e]})),i[l[l.length-1]]=o}));const o=a.__comp;delete a.__comp;const i=a.__context;return delete a.__context,(0,l.jsx)(c.z,{value:i,children:(0,l.jsx)(o,{...a,...n})})}})}const f=[{path:"/prettier-java/blog",component:d("/prettier-java/blog","3c4"),exact:!0},{path:"/prettier-java/blog/2023/11/26/2.5.0",component:d("/prettier-java/blog/2023/11/26/2.5.0","780"),exact:!0},{path:"/prettier-java/blog/archive",component:d("/prettier-java/blog/archive","8e8"),exact:!0},{path:"/prettier-java/playground",component:d("/prettier-java/playground","194"),exact:!0},{path:"/prettier-java/docs",component:d("/prettier-java/docs","4ac"),routes:[{path:"/prettier-java/docs",component:d("/prettier-java/docs","6b8"),routes:[{path:"/prettier-java/docs",component:d("/prettier-java/docs","e71"),routes:[{path:"/prettier-java/docs",component:d("/prettier-java/docs","33e"),exact:!0,sidebar:"defaultSidebar"},{path:"/prettier-java/docs/installation",component:d("/prettier-java/docs/installation","53e"),exact:!0,sidebar:"defaultSidebar"}]}]}]},{path:"/prettier-java/",component:d("/prettier-java/","441"),exact:!0},{path:"*",component:d("*")}]},8934:(e,t,n)=>{"use strict";n.d(t,{_:()=>o,t:()=>i});var r=n(7294),a=n(5893);const o=r.createContext(!1);function i(e){let{children:t}=e;const[n,i]=(0,r.useState)(!1);return(0,r.useEffect)((()=>{i(!0)}),[]),(0,a.jsx)(o.Provider,{value:n,children:t})}},7221:(e,t,n)=>{"use strict";var r=n(7294),a=n(745),o=n(3727),i=n(405),l=n(412);const s=[n(2497),n(3310),n(8320),n(2295)];var u=n(723),c=n(6550),d=n(8790),f=n(5893);function p(e){let{children:t}=e;return(0,f.jsx)(f.Fragment,{children:t})}var g=n(5742),h=n(2263),m=n(4996),y=n(6668),b=n(1944),v=n(4711),w=n(9727),k=n(3320),x=n(8780),S=n(197);function E(){const{i18n:{currentLocale:e,defaultLocale:t,localeConfigs:n}}=(0,h.Z)(),r=(0,v.l)(),a=n[e].htmlLang,o=e=>e.replace("-","_");return(0,f.jsxs)(g.Z,{children:[Object.entries(n).map((e=>{let[t,{htmlLang:n}]=e;return(0,f.jsx)("link",{rel:"alternate",href:r.createUrl({locale:t,fullyQualified:!0}),hrefLang:n},t)})),(0,f.jsx)("link",{rel:"alternate",href:r.createUrl({locale:t,fullyQualified:!0}),hrefLang:"x-default"}),(0,f.jsx)("meta",{property:"og:locale",content:o(a)}),Object.values(n).filter((e=>a!==e.htmlLang)).map((e=>(0,f.jsx)("meta",{property:"og:locale:alternate",content:o(e.htmlLang)},`meta-og-${e.htmlLang}`)))]})}function _(e){let{permalink:t}=e;const{siteConfig:{url:n}}=(0,h.Z)(),r=function(){const{siteConfig:{url:e,baseUrl:t,trailingSlash:n}}=(0,h.Z)(),{pathname:r}=(0,c.TH)();return e+(0,x.applyTrailingSlash)((0,m.Z)(r),{trailingSlash:n,baseUrl:t})}(),a=t?`${n}${t}`:r;return(0,f.jsxs)(g.Z,{children:[(0,f.jsx)("meta",{property:"og:url",content:a}),(0,f.jsx)("link",{rel:"canonical",href:a})]})}function C(){const{i18n:{currentLocale:e}}=(0,h.Z)(),{metadata:t,image:n}=(0,y.L)();return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsxs)(g.Z,{children:[(0,f.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,f.jsx)("body",{className:w.h})]}),n&&(0,f.jsx)(b.d,{image:n}),(0,f.jsx)(_,{}),(0,f.jsx)(E,{}),(0,f.jsx)(S.Z,{tag:k.HX,locale:e}),(0,f.jsx)(g.Z,{children:t.map(((e,t)=>(0,f.jsx)("meta",{...e},t)))})]})}const T=new Map;function N(e){if(T.has(e.pathname))return{...e,pathname:T.get(e.pathname)};if((0,d.f)(u.Z,e.pathname).some((e=>{let{route:t}=e;return!0===t.exact})))return T.set(e.pathname,e.pathname),e;const t=e.pathname.trim().replace(/(?:\/index)?\.html$/,"")||"/";return T.set(e.pathname,t),{...e,pathname:t}}var A=n(8934),j=n(8940),L=n(469);function O(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];const a=s.map((t=>{const r=t.default?.[e]??t[e];return r?.(...n)}));return()=>a.forEach((e=>e?.()))}const P=function(e){let{children:t,location:n,previousLocation:r}=e;return(0,L.Z)((()=>{r!==n&&(!function(e){let{location:t,previousLocation:n}=e;if(!n)return;const r=t.pathname===n.pathname,a=t.hash===n.hash,o=t.search===n.search;if(r&&a&&!o)return;const{hash:i}=t;if(i){const e=decodeURIComponent(i.substring(1)),t=document.getElementById(e);t?.scrollIntoView()}else window.scrollTo(0,0)}({location:n,previousLocation:r}),O("onRouteDidUpdate",{previousLocation:r,location:n}))}),[r,n]),t};function R(e){const t=Array.from(new Set([e,decodeURI(e)])).map((e=>(0,d.f)(u.Z,e))).flat();return Promise.all(t.map((e=>e.route.component.preload?.())))}class I extends r.Component{previousLocation;routeUpdateCleanupCb;constructor(e){super(e),this.previousLocation=null,this.routeUpdateCleanupCb=l.Z.canUseDOM?O("onRouteUpdate",{previousLocation:null,location:this.props.location}):()=>{},this.state={nextRouteHasLoaded:!0}}shouldComponentUpdate(e,t){if(e.location===this.props.location)return t.nextRouteHasLoaded;const n=e.location;return this.previousLocation=this.props.location,this.setState({nextRouteHasLoaded:!1}),this.routeUpdateCleanupCb=O("onRouteUpdate",{previousLocation:this.previousLocation,location:n}),R(n.pathname).then((()=>{this.routeUpdateCleanupCb(),this.setState({nextRouteHasLoaded:!0})})).catch((e=>{console.warn(e),window.location.reload()})),!1}render(){const{children:e,location:t}=this.props;return(0,f.jsx)(P,{previousLocation:this.previousLocation,location:t,children:(0,f.jsx)(c.AW,{location:t,render:()=>e})})}}const D=I,F="__docusaurus-base-url-issue-banner-container",M="__docusaurus-base-url-issue-banner",z="__docusaurus-base-url-issue-banner-suggestion-container";function B(e){return`\ndocument.addEventListener('DOMContentLoaded', function maybeInsertBanner() {\n var shouldInsert = typeof window['docusaurus'] === 'undefined';\n shouldInsert && insertBanner();\n});\n\nfunction insertBanner() {\n var bannerContainer = document.createElement('div');\n bannerContainer.id = '${F}';\n var bannerHtml = ${JSON.stringify(function(e){return`\n<div id="${M}" style="border: thick solid red; background-color: rgb(255, 230, 179); margin: 20px; padding: 20px; font-size: 20px;">\n <p style="font-weight: bold; font-size: 30px;">Your Docusaurus site did not load properly.</p>\n <p>A very common reason is a wrong site <a href="https://docusaurus.io/docs/docusaurus.config.js/#baseUrl" style="font-weight: bold;">baseUrl configuration</a>.</p>\n <p>Current configured baseUrl = <span style="font-weight: bold; color: red;">${e}</span> ${"/"===e?" (default value)":""}</p>\n <p>We suggest trying baseUrl = <span id="${z}" style="font-weight: bold; color: green;"></span></p>\n</div>\n`}(e)).replace(/</g,"\\<")};\n bannerContainer.innerHTML = bannerHtml;\n document.body.prepend(bannerContainer);\n var suggestionContainer = document.getElementById('${z}');\n var actualHomePagePath = window.location.pathname;\n var suggestedBaseUrl = actualHomePagePath.substr(-1) === '/'\n ? actualHomePagePath\n : actualHomePagePath + '/';\n suggestionContainer.innerHTML = suggestedBaseUrl;\n}\n`}function $(){const{siteConfig:{baseUrl:e}}=(0,h.Z)();return(0,f.jsx)(f.Fragment,{children:!l.Z.canUseDOM&&(0,f.jsx)(g.Z,{children:(0,f.jsx)("script",{children:B(e)})})})}function U(){const{siteConfig:{baseUrl:e,baseUrlIssueBanner:t}}=(0,h.Z)(),{pathname:n}=(0,c.TH)();return t&&n===e?(0,f.jsx)($,{}):null}function Z(){const{siteConfig:{favicon:e,title:t,noIndex:n},i18n:{currentLocale:r,localeConfigs:a}}=(0,h.Z)(),o=(0,m.Z)(e),{htmlLang:i,direction:l}=a[r];return(0,f.jsxs)(g.Z,{children:[(0,f.jsx)("html",{lang:i,dir:l}),(0,f.jsx)("title",{children:t}),(0,f.jsx)("meta",{property:"og:title",content:t}),(0,f.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0"}),n&&(0,f.jsx)("meta",{name:"robots",content:"noindex, nofollow"}),e&&(0,f.jsx)("link",{rel:"icon",href:o})]})}var H=n(4763),V=n(2389);function W(){const e=(0,V.Z)();return(0,f.jsx)(g.Z,{children:(0,f.jsx)("html",{"data-has-hydrated":e})})}function G(){const e=(0,d.H)(u.Z),t=(0,c.TH)();return(0,f.jsx)(H.Z,{children:(0,f.jsx)(j.M,{children:(0,f.jsxs)(A.t,{children:[(0,f.jsxs)(p,{children:[(0,f.jsx)(Z,{}),(0,f.jsx)(C,{}),(0,f.jsx)(U,{}),(0,f.jsx)(D,{location:N(t),children:e})]}),(0,f.jsx)(W,{})]})})})}var q=n(6887);const Y=function(e){try{return document.createElement("link").relList.supports(e)}catch{return!1}}("prefetch")?function(e){return new Promise(((t,n)=>{if("undefined"==typeof document)return void n();const r=document.createElement("link");r.setAttribute("rel","prefetch"),r.setAttribute("href",e),r.onload=()=>t(),r.onerror=()=>n();const a=document.getElementsByTagName("head")[0]??document.getElementsByName("script")[0]?.parentNode;a?.appendChild(r)}))}:function(e){return new Promise(((t,n)=>{const r=new XMLHttpRequest;r.open("GET",e,!0),r.withCredentials=!0,r.onload=()=>{200===r.status?t():n()},r.send(null)}))};var K=n(9670);const Q=new Set,X=new Set,J=()=>navigator.connection?.effectiveType.includes("2g")||navigator.connection?.saveData,ee={prefetch(e){if(!(e=>!J()&&!X.has(e)&&!Q.has(e))(e))return!1;Q.add(e);const t=(0,d.f)(u.Z,e).flatMap((e=>{return t=e.route.path,Object.entries(q).filter((e=>{let[n]=e;return n.replace(/-[^-]+$/,"")===t})).flatMap((e=>{let[,t]=e;return Object.values((0,K.Z)(t))}));var t}));return Promise.all(t.map((e=>{const t=n.gca(e);return t&&!t.includes("undefined")?Y(t).catch((()=>{})):Promise.resolve()})))},preload:e=>!!(e=>!J()&&!X.has(e))(e)&&(X.add(e),R(e))},te=Object.freeze(ee),ne=Boolean(!0);if(l.Z.canUseDOM){window.docusaurus=te;const e=document.getElementById("__docusaurus"),t=(0,f.jsx)(i.B6,{children:(0,f.jsx)(o.VK,{children:(0,f.jsx)(G,{})})}),n=(e,t)=>{console.error("Docusaurus React Root onRecoverableError:",e,t)},l=()=>{if(ne)r.startTransition((()=>{a.hydrateRoot(e,t,{onRecoverableError:n})}));else{const o=a.createRoot(e,{onRecoverableError:n});r.startTransition((()=>{o.render(t)}))}};R(window.location.pathname).then(l)}},8940:(e,t,n)=>{"use strict";n.d(t,{_:()=>d,M:()=>f});var r=n(7294),a=n(6809);const o=JSON.parse('{"docusaurus-plugin-content-docs":{"default":{"path":"/prettier-java/docs","versions":[{"name":"current","label":"Next","isLast":true,"path":"/prettier-java/docs","mainDocId":"index","docs":[{"id":"index","path":"/prettier-java/docs/","sidebar":"defaultSidebar"},{"id":"installation","path":"/prettier-java/docs/installation","sidebar":"defaultSidebar"}],"draftIds":[],"sidebars":{"defaultSidebar":{"link":{"path":"/prettier-java/docs/","label":"index"}}}}],"breadcrumbs":true}}}'),i=JSON.parse('{"defaultLocale":"en","locales":["en"],"path":"i18n","currentLocale":"en","localeConfigs":{"en":{"label":"English","direction":"ltr","htmlLang":"en","calendar":"gregory","path":"en"}}}');var l=n(7529);const s=JSON.parse('{"docusaurusVersion":"3.1.0","siteVersion":"0.0.0","pluginVersions":{"docusaurus-plugin-content-docs":{"type":"package","name":"@docusaurus/plugin-content-docs","version":"3.1.0"},"docusaurus-plugin-content-blog":{"type":"package","name":"@docusaurus/plugin-content-blog","version":"3.1.0"},"docusaurus-plugin-content-pages":{"type":"package","name":"@docusaurus/plugin-content-pages","version":"3.1.0"},"docusaurus-plugin-sitemap":{"type":"package","name":"@docusaurus/plugin-sitemap","version":"3.1.0"},"docusaurus-theme-classic":{"type":"package","name":"@docusaurus/theme-classic","version":"3.1.0"}}}');var u=n(5893);const c={siteConfig:a.default,siteMetadata:s,globalData:o,i18n:i,codeTranslations:l},d=r.createContext(c);function f(e){let{children:t}=e;return(0,u.jsx)(d.Provider,{value:c,children:t})}},4763:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var r=n(7294),a=n(412),o=n(5742),i=n(8780),l=n(6040),s=n(5893);function u(e){let{error:t,tryAgain:n}=e;return(0,s.jsxs)("div",{style:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"flex-start",minHeight:"100vh",width:"100%",maxWidth:"80ch",fontSize:"20px",margin:"0 auto",padding:"1rem"},children:[(0,s.jsx)("h1",{style:{fontSize:"3rem"},children:"This page crashed"}),(0,s.jsx)("button",{type:"button",onClick:n,style:{margin:"1rem 0",fontSize:"2rem",cursor:"pointer",borderRadius:20,padding:"1rem"},children:"Try again"}),(0,s.jsx)(c,{error:t})]})}function c(e){let{error:t}=e;const n=(0,i.getErrorCausalChain)(t).map((e=>e.message)).join("\n\nCause:\n");return(0,s.jsx)("p",{style:{whiteSpace:"pre-wrap"},children:n})}function d(e){let{error:t,tryAgain:n}=e;return(0,s.jsxs)(p,{fallback:()=>(0,s.jsx)(u,{error:t,tryAgain:n}),children:[(0,s.jsx)(o.Z,{children:(0,s.jsx)("title",{children:"Page Error"})}),(0,s.jsx)(l.Z,{children:(0,s.jsx)(u,{error:t,tryAgain:n})})]})}const f=e=>(0,s.jsx)(d,{...e});class p extends r.Component{constructor(e){super(e),this.state={error:null}}componentDidCatch(e){a.Z.canUseDOM&&this.setState({error:e})}render(){const{children:e}=this.props,{error:t}=this.state;if(t){const e={error:t,tryAgain:()=>this.setState({error:null})};return(this.props.fallback??f)(e)}return e??null}}},412:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const r="undefined"!=typeof window&&"document"in window&&"createElement"in window.document,a={canUseDOM:r,canUseEventListeners:r&&("addEventListener"in window||"attachEvent"in window),canUseIntersectionObserver:r&&"IntersectionObserver"in window,canUseViewport:r&&"screen"in window}},5742:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});n(7294);var r=n(405),a=n(5893);function o(e){return(0,a.jsx)(r.ql,{...e})}},3692:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var r=n(7294),a=n(3727),o=n(8780),i=n(2263),l=n(3919),s=n(412),u=n(8138),c=n(4996),d=n(5893);function f(e,t){let{isNavLink:n,to:f,href:p,activeClassName:g,isActive:h,"data-noBrokenLinkCheck":m,autoAddBaseUrl:y=!0,...b}=e;const{siteConfig:{trailingSlash:v,baseUrl:w}}=(0,i.Z)(),{withBaseUrl:k}=(0,c.C)(),x=(0,u.Z)(),S=(0,r.useRef)(null);(0,r.useImperativeHandle)(t,(()=>S.current));const E=f||p;const _=(0,l.Z)(E),C=E?.replace("pathname://","");let T=void 0!==C?(N=C,y&&(e=>e.startsWith("/"))(N)?k(N):N):void 0;var N;T&&_&&(T=(0,o.applyTrailingSlash)(T,{trailingSlash:v,baseUrl:w}));const A=(0,r.useRef)(!1),j=n?a.OL:a.rU,L=s.Z.canUseIntersectionObserver,O=(0,r.useRef)(),P=()=>{A.current||null==T||(window.docusaurus.preload(T),A.current=!0)};(0,r.useEffect)((()=>(!L&&_&&null!=T&&window.docusaurus.prefetch(T),()=>{L&&O.current&&O.current.disconnect()})),[O,T,L,_]);const R=T?.startsWith("#")??!1,I=!T||!_||R;return I||m||x.collectLink(T),I?(0,d.jsx)("a",{ref:S,href:T,...E&&!_&&{target:"_blank",rel:"noopener noreferrer"},...b}):(0,d.jsx)(j,{...b,onMouseEnter:P,onTouchStart:P,innerRef:e=>{S.current=e,L&&e&&_&&(O.current=new window.IntersectionObserver((t=>{t.forEach((t=>{e===t.target&&(t.isIntersecting||t.intersectionRatio>0)&&(O.current.unobserve(e),O.current.disconnect(),null!=T&&window.docusaurus.prefetch(T))}))})),O.current.observe(e))},to:T,...n&&{isActive:h,activeClassName:g}})}const p=r.forwardRef(f)},1875:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=()=>null},5999:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u,I:()=>s});var r=n(7294),a=n(5893);function o(e,t){const n=e.split(/(\{\w+\})/).map(((e,n)=>{if(n%2==1){const n=t?.[e.slice(1,-1)];if(void 0!==n)return n}return e}));return n.some((e=>(0,r.isValidElement)(e)))?n.map(((e,t)=>(0,r.isValidElement)(e)?r.cloneElement(e,{key:t}):e)).filter((e=>""!==e)):n.join("")}var i=n(7529);function l(e){let{id:t,message:n}=e;if(void 0===t&&void 0===n)throw new Error("Docusaurus translation declarations must have at least a translation id or a default translation message");return i[t??n]??n??t}function s(e,t){let{message:n,id:r}=e;return o(l({message:n,id:r}),t)}function u(e){let{children:t,id:n,values:r}=e;if(t&&"string"!=typeof t)throw console.warn("Illegal <Translate> children",t),new Error("The Docusaurus <Translate> component only accept simple string values");const i=l({message:t,id:n});return(0,a.jsx)(a.Fragment,{children:o(i,r)})}},9935:(e,t,n)=>{"use strict";n.d(t,{m:()=>r});const r="default"},3919:(e,t,n)=>{"use strict";function r(e){return/^(?:\w*:|\/\/)/.test(e)}function a(e){return void 0!==e&&!r(e)}n.d(t,{Z:()=>a,b:()=>r})},4996:(e,t,n)=>{"use strict";n.d(t,{C:()=>i,Z:()=>l});var r=n(7294),a=n(2263),o=n(3919);function i(){const{siteConfig:{baseUrl:e,url:t}}=(0,a.Z)(),n=(0,r.useCallback)(((n,r)=>function(e,t,n,r){let{forcePrependBaseUrl:a=!1,absolute:i=!1}=void 0===r?{}:r;if(!n||n.startsWith("#")||(0,o.b)(n))return n;if(a)return t+n.replace(/^\//,"");if(n===t.replace(/\/$/,""))return t;const l=n.startsWith(t)?n:t+n.replace(/^\//,"");return i?e+l:l}(t,e,n,r)),[t,e]);return{withBaseUrl:n}}function l(e,t){void 0===t&&(t={});const{withBaseUrl:n}=i();return n(e,t)}},8138:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(7294);n(5893);const a=r.createContext({collectAnchor:()=>{},collectLink:()=>{}}),o=()=>(0,r.useContext)(a);function i(){return o()}},2263:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(7294),a=n(8940);function o(){return(0,r.useContext)(a._)}},2389:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(7294),a=n(8934);function o(){return(0,r.useContext)(a._)}},469:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(7294);const a=n(412).Z.canUseDOM?r.useLayoutEffect:r.useEffect},9670:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const r=e=>"object"==typeof e&&!!e&&Object.keys(e).length>0;function a(e){const t={};return function e(n,a){Object.entries(n).forEach((n=>{let[o,i]=n;const l=a?`${a}.${o}`:o;r(i)?e(i,l):t[l]=i}))}(e),t}},226:(e,t,n)=>{"use strict";n.d(t,{_:()=>o,z:()=>i});var r=n(7294),a=n(5893);const o=r.createContext(null);function i(e){let{children:t,value:n}=e;const i=r.useContext(o),l=(0,r.useMemo)((()=>function(e){let{parent:t,value:n}=e;if(!t){if(!n)throw new Error("Unexpected: no Docusaurus route context found");if(!("plugin"in n))throw new Error("Unexpected: Docusaurus topmost route context has no `plugin` attribute");return n}const r={...t.data,...n?.data};return{plugin:t.plugin,data:r}}({parent:i,value:n})),[i,n]);return(0,a.jsx)(o.Provider,{value:l,children:t})}},143:(e,t,n)=>{"use strict";n.d(t,{Iw:()=>h,gA:()=>f,_r:()=>c,Jo:()=>m,zh:()=>d,yW:()=>g,gB:()=>p});var r=n(6550),a=n(2263),o=n(9935);function i(e,t){void 0===t&&(t={});const n=function(){const{globalData:e}=(0,a.Z)();return e}()[e];if(!n&&t.failfast)throw new Error(`Docusaurus plugin global data not found for "${e}" plugin.`);return n}const l=e=>e.versions.find((e=>e.isLast));function s(e,t){const n=function(e,t){const n=l(e);return[...e.versions.filter((e=>e!==n)),n].find((e=>!!(0,r.LX)(t,{path:e.path,exact:!1,strict:!1})))}(e,t),a=n?.docs.find((e=>!!(0,r.LX)(t,{path:e.path,exact:!0,strict:!1})));return{activeVersion:n,activeDoc:a,alternateDocVersions:a?function(t){const n={};return e.versions.forEach((e=>{e.docs.forEach((r=>{r.id===t&&(n[e.name]=r)}))})),n}(a.id):{}}}const u={},c=()=>i("docusaurus-plugin-content-docs")??u,d=e=>function(e,t,n){void 0===t&&(t=o.m),void 0===n&&(n={});const r=i(e),a=r?.[t];if(!a&&n.failfast)throw new Error(`Docusaurus plugin global data not found for "${e}" plugin with id "${t}".`);return a}("docusaurus-plugin-content-docs",e,{failfast:!0});function f(e){void 0===e&&(e={});const t=c(),{pathname:n}=(0,r.TH)();return function(e,t,n){void 0===n&&(n={});const a=Object.entries(e).sort(((e,t)=>t[1].path.localeCompare(e[1].path))).find((e=>{let[,n]=e;return!!(0,r.LX)(t,{path:n.path,exact:!1,strict:!1})})),o=a?{pluginId:a[0],pluginData:a[1]}:void 0;if(!o&&n.failfast)throw new Error(`Can't find active docs plugin for "${t}" pathname, while it was expected to be found. Maybe you tried to use a docs feature that can only be used on a docs-related page? Existing docs plugin paths are: ${Object.values(e).map((e=>e.path)).join(", ")}`);return o}(t,n,e)}function p(e){return d(e).versions}function g(e){const t=d(e);return l(t)}function h(e){const t=d(e),{pathname:n}=(0,r.TH)();return s(t,n)}function m(e){const t=d(e),{pathname:n}=(0,r.TH)();return function(e,t){const n=l(e);return{latestDocSuggestion:s(e,t).alternateDocVersions[n.name],latestVersionSuggestion:n}}(t,n)}},8320:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(4865),a=n.n(r);a().configure({showSpinner:!1});const o={onRouteUpdate(e){let{location:t,previousLocation:n}=e;if(n&&t.pathname!==n.pathname){const e=window.setTimeout((()=>{a().start()}),200);return()=>window.clearTimeout(e)}},onRouteDidUpdate(){a().done()}}},3310:(e,t,n)=>{"use strict";n.r(t);var r=n(2573),a=n(6809);!function(e){const{themeConfig:{prism:t}}=a.default,{additionalLanguages:r}=t;globalThis.Prism=e,r.forEach((e=>{"php"===e&&n(6854),n(1349)(`./prism-${e}`)})),delete globalThis.Prism}(r.p1)},7955:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});n(7294);var r=n(512),a=n(5999),o=n(6668),i=n(3692),l=n(8138);const s={anchorWithStickyNavbar:"anchorWithStickyNavbar_LWe7",anchorWithHideOnScrollNavbar:"anchorWithHideOnScrollNavbar_WYt5"};var u=n(5893);function c(e){let{as:t,id:n,...c}=e;const d=(0,l.Z)(),{navbar:{hideOnScroll:f}}=(0,o.L)();if("h1"===t||!n)return(0,u.jsx)(t,{...c,id:void 0});d.collectAnchor(n);const p=(0,a.I)({id:"theme.common.headingLinkTitle",message:"Direct link to {heading}",description:"Title for link to heading"},{heading:"string"==typeof c.children?c.children:n});return(0,u.jsxs)(t,{...c,className:(0,r.Z)("anchor",f?s.anchorWithHideOnScrollNavbar:s.anchorWithStickyNavbar,c.className),id:n,children:[c.children,(0,u.jsx)(i.Z,{className:"hash-link",to:`#${n}`,"aria-label":p,title:p,children:"\u200b"})]})}},9471:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});n(7294);const r={iconExternalLink:"iconExternalLink_nPIU"};var a=n(5893);function o(e){let{width:t=13.5,height:n=13.5}=e;return(0,a.jsx)("svg",{width:t,height:n,"aria-hidden":"true",viewBox:"0 0 24 24",className:r.iconExternalLink,children:(0,a.jsx)("path",{fill:"currentColor",d:"M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"})})}},6040:(e,t,n)=>{"use strict";n.d(t,{Z:()=>pt});var r=n(7294),a=n(512),o=n(4763),i=n(1944),l=n(6550),s=n(5999),u=n(5936),c=n(5893);const d="__docusaurus_skipToContent_fallback";function f(e){e.setAttribute("tabindex","-1"),e.focus(),e.removeAttribute("tabindex")}function p(){const e=(0,r.useRef)(null),{action:t}=(0,l.k6)(),n=(0,r.useCallback)((e=>{e.preventDefault();const t=document.querySelector("main:first-of-type")??document.getElementById(d);t&&f(t)}),[]);return(0,u.S)((n=>{let{location:r}=n;e.current&&!r.hash&&"PUSH"===t&&f(e.current)})),{containerRef:e,onClick:n}}const g=(0,s.I)({id:"theme.common.skipToMainContent",description:"The skip to content label used for accessibility, allowing to rapidly navigate to main content with keyboard tab/enter navigation",message:"Skip to main content"});function h(e){const t=e.children??g,{containerRef:n,onClick:r}=p();return(0,c.jsx)("div",{ref:n,role:"region","aria-label":g,children:(0,c.jsx)("a",{...e,href:`#${d}`,onClick:r,children:t})})}var m=n(5281),y=n(9727);const b={skipToContent:"skipToContent_fXgn"};function v(){return(0,c.jsx)(h,{className:b.skipToContent})}var w=n(6668),k=n(9689);function x(e){let{width:t=21,height:n=21,color:r="currentColor",strokeWidth:a=1.2,className:o,...i}=e;return(0,c.jsx)("svg",{viewBox:"0 0 15 15",width:t,height:n,...i,children:(0,c.jsx)("g",{stroke:r,strokeWidth:a,children:(0,c.jsx)("path",{d:"M.75.75l13.5 13.5M14.25.75L.75 14.25"})})})}const S={closeButton:"closeButton_CVFx"};function E(e){return(0,c.jsx)("button",{type:"button","aria-label":(0,s.I)({id:"theme.AnnouncementBar.closeButtonAriaLabel",message:"Close",description:"The ARIA label for close button of announcement bar"}),...e,className:(0,a.Z)("clean-btn close",S.closeButton,e.className),children:(0,c.jsx)(x,{width:14,height:14,strokeWidth:3.1})})}const _={content:"content_knG7"};function C(e){const{announcementBar:t}=(0,w.L)(),{content:n}=t;return(0,c.jsx)("div",{...e,className:(0,a.Z)(_.content,e.className),dangerouslySetInnerHTML:{__html:n}})}const T={announcementBar:"announcementBar_mb4j",announcementBarPlaceholder:"announcementBarPlaceholder_vyr4",announcementBarClose:"announcementBarClose_gvF7",announcementBarContent:"announcementBarContent_xLdY"};function N(){const{announcementBar:e}=(0,w.L)(),{isActive:t,close:n}=(0,k.nT)();if(!t)return null;const{backgroundColor:r,textColor:a,isCloseable:o}=e;return(0,c.jsxs)("div",{className:T.announcementBar,style:{backgroundColor:r,color:a},role:"banner",children:[o&&(0,c.jsx)("div",{className:T.announcementBarPlaceholder}),(0,c.jsx)(C,{className:T.announcementBarContent}),o&&(0,c.jsx)(E,{onClick:n,className:T.announcementBarClose})]})}var A=n(3163),j=n(2466);var L=n(902),O=n(3102);const P=r.createContext(null);function R(e){let{children:t}=e;const n=function(){const e=(0,A.e)(),t=(0,O.HY)(),[n,a]=(0,r.useState)(!1),o=null!==t.component,i=(0,L.D9)(o);return(0,r.useEffect)((()=>{o&&!i&&a(!0)}),[o,i]),(0,r.useEffect)((()=>{o?e.shown||a(!0):a(!1)}),[e.shown,o]),(0,r.useMemo)((()=>[n,a]),[n])}();return(0,c.jsx)(P.Provider,{value:n,children:t})}function I(e){if(e.component){const t=e.component;return(0,c.jsx)(t,{...e.props})}}function D(){const e=(0,r.useContext)(P);if(!e)throw new L.i6("NavbarSecondaryMenuDisplayProvider");const[t,n]=e,a=(0,r.useCallback)((()=>n(!1)),[n]),o=(0,O.HY)();return(0,r.useMemo)((()=>({shown:t,hide:a,content:I(o)})),[a,o,t])}function F(e){let{header:t,primaryMenu:n,secondaryMenu:r}=e;const{shown:o}=D();return(0,c.jsxs)("div",{className:"navbar-sidebar",children:[t,(0,c.jsxs)("div",{className:(0,a.Z)("navbar-sidebar__items",{"navbar-sidebar__items--show-secondary":o}),children:[(0,c.jsx)("div",{className:"navbar-sidebar__item menu",children:n}),(0,c.jsx)("div",{className:"navbar-sidebar__item menu",children:r})]})]})}var M=n(2949),z=n(2389);function B(e){return(0,c.jsx)("svg",{viewBox:"0 0 24 24",width:24,height:24,...e,children:(0,c.jsx)("path",{fill:"currentColor",d:"M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"})})}function $(e){return(0,c.jsx)("svg",{viewBox:"0 0 24 24",width:24,height:24,...e,children:(0,c.jsx)("path",{fill:"currentColor",d:"M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"})})}const U={toggle:"toggle_vylO",toggleButton:"toggleButton_gllP",darkToggleIcon:"darkToggleIcon_wfgR",lightToggleIcon:"lightToggleIcon_pyhR",toggleButtonDisabled:"toggleButtonDisabled_aARS"};function Z(e){let{className:t,buttonClassName:n,value:r,onChange:o}=e;const i=(0,z.Z)(),l=(0,s.I)({message:"Switch between dark and light mode (currently {mode})",id:"theme.colorToggle.ariaLabel",description:"The ARIA label for the navbar color mode toggle"},{mode:"dark"===r?(0,s.I)({message:"dark mode",id:"theme.colorToggle.ariaLabel.mode.dark",description:"The name for the dark color mode"}):(0,s.I)({message:"light mode",id:"theme.colorToggle.ariaLabel.mode.light",description:"The name for the light color mode"})});return(0,c.jsx)("div",{className:(0,a.Z)(U.toggle,t),children:(0,c.jsxs)("button",{className:(0,a.Z)("clean-btn",U.toggleButton,!i&&U.toggleButtonDisabled,n),type:"button",onClick:()=>o("dark"===r?"light":"dark"),disabled:!i,title:l,"aria-label":l,"aria-live":"polite",children:[(0,c.jsx)(B,{className:(0,a.Z)(U.toggleIcon,U.lightToggleIcon)}),(0,c.jsx)($,{className:(0,a.Z)(U.toggleIcon,U.darkToggleIcon)})]})})}const H=r.memo(Z),V={darkNavbarColorModeToggle:"darkNavbarColorModeToggle_X3D1"};function W(e){let{className:t}=e;const n=(0,w.L)().navbar.style,r=(0,w.L)().colorMode.disableSwitch,{colorMode:a,setColorMode:o}=(0,M.I)();return r?null:(0,c.jsx)(H,{className:t,buttonClassName:"dark"===n?V.darkNavbarColorModeToggle:void 0,value:a,onChange:o})}var G=n(1327);function q(){return(0,c.jsx)(G.Z,{className:"navbar__brand",imageClassName:"navbar__logo",titleClassName:"navbar__title text--truncate"})}function Y(){const e=(0,A.e)();return(0,c.jsx)("button",{type:"button","aria-label":(0,s.I)({id:"theme.docs.sidebar.closeSidebarButtonAriaLabel",message:"Close navigation bar",description:"The ARIA label for close button of mobile sidebar"}),className:"clean-btn navbar-sidebar__close",onClick:()=>e.toggle(),children:(0,c.jsx)(x,{color:"var(--ifm-color-emphasis-600)"})})}function K(){return(0,c.jsxs)("div",{className:"navbar-sidebar__brand",children:[(0,c.jsx)(q,{}),(0,c.jsx)(W,{className:"margin-right--md"}),(0,c.jsx)(Y,{})]})}var Q=n(3692),X=n(4996),J=n(3919);function ee(e,t){return void 0!==e&&void 0!==t&&new RegExp(e,"gi").test(t)}var te=n(9471);function ne(e){let{activeBasePath:t,activeBaseRegex:n,to:r,href:a,label:o,html:i,isDropdownLink:l,prependBaseUrlToHref:s,...u}=e;const d=(0,X.Z)(r),f=(0,X.Z)(t),p=(0,X.Z)(a,{forcePrependBaseUrl:!0}),g=o&&a&&!(0,J.Z)(a),h=i?{dangerouslySetInnerHTML:{__html:i}}:{children:(0,c.jsxs)(c.Fragment,{children:[o,g&&(0,c.jsx)(te.Z,{...l&&{width:12,height:12}})]})};return a?(0,c.jsx)(Q.Z,{href:s?p:a,...u,...h}):(0,c.jsx)(Q.Z,{to:d,isNavLink:!0,...(t||n)&&{isActive:(e,t)=>n?ee(n,t.pathname):t.pathname.startsWith(f)},...u,...h})}function re(e){let{className:t,isDropdownItem:n=!1,...r}=e;const o=(0,c.jsx)(ne,{className:(0,a.Z)(n?"dropdown__link":"navbar__item navbar__link",t),isDropdownLink:n,...r});return n?(0,c.jsx)("li",{children:o}):o}function ae(e){let{className:t,isDropdownItem:n,...r}=e;return(0,c.jsx)("li",{className:"menu__list-item",children:(0,c.jsx)(ne,{className:(0,a.Z)("menu__link",t),...r})})}function oe(e){let{mobile:t=!1,position:n,...r}=e;const a=t?ae:re;return(0,c.jsx)(a,{...r,activeClassName:r.activeClassName??(t?"menu__link--active":"navbar__link--active")})}var ie=n(6043),le=n(8596),se=n(2263);const ue={dropdownNavbarItemMobile:"dropdownNavbarItemMobile_S0Fm"};function ce(e,t){return e.some((e=>function(e,t){return!!(0,le.Mg)(e.to,t)||!!ee(e.activeBaseRegex,t)||!(!e.activeBasePath||!t.startsWith(e.activeBasePath))}(e,t)))}function de(e){let{items:t,position:n,className:o,onClick:i,...l}=e;const s=(0,r.useRef)(null),[u,d]=(0,r.useState)(!1);return(0,r.useEffect)((()=>{const e=e=>{s.current&&!s.current.contains(e.target)&&d(!1)};return document.addEventListener("mousedown",e),document.addEventListener("touchstart",e),document.addEventListener("focusin",e),()=>{document.removeEventListener("mousedown",e),document.removeEventListener("touchstart",e),document.removeEventListener("focusin",e)}}),[s]),(0,c.jsxs)("div",{ref:s,className:(0,a.Z)("navbar__item","dropdown","dropdown--hoverable",{"dropdown--right":"right"===n,"dropdown--show":u}),children:[(0,c.jsx)(ne,{"aria-haspopup":"true","aria-expanded":u,role:"button",href:l.to?void 0:"#",className:(0,a.Z)("navbar__link",o),...l,onClick:l.to?void 0:e=>e.preventDefault(),onKeyDown:e=>{"Enter"===e.key&&(e.preventDefault(),d(!u))},children:l.children??l.label}),(0,c.jsx)("ul",{className:"dropdown__menu",children:t.map(((e,t)=>(0,r.createElement)(_e,{isDropdownItem:!0,activeClassName:"dropdown__link--active",...e,key:t})))})]})}function fe(e){let{items:t,className:n,position:o,onClick:i,...s}=e;const u=function(){const{siteConfig:{baseUrl:e}}=(0,se.Z)(),{pathname:t}=(0,l.TH)();return t.replace(e,"/")}(),d=ce(t,u),{collapsed:f,toggleCollapsed:p,setCollapsed:g}=(0,ie.u)({initialState:()=>!d});return(0,r.useEffect)((()=>{d&&g(!d)}),[u,d,g]),(0,c.jsxs)("li",{className:(0,a.Z)("menu__list-item",{"menu__list-item--collapsed":f}),children:[(0,c.jsx)(ne,{role:"button",className:(0,a.Z)(ue.dropdownNavbarItemMobile,"menu__link menu__link--sublist menu__link--sublist-caret",n),...s,onClick:e=>{e.preventDefault(),p()},children:s.children??s.label}),(0,c.jsx)(ie.z,{lazy:!0,as:"ul",className:"menu__list",collapsed:f,children:t.map(((e,t)=>(0,r.createElement)(_e,{mobile:!0,isDropdownItem:!0,onClick:i,activeClassName:"menu__link--active",...e,key:t})))})]})}function pe(e){let{mobile:t=!1,...n}=e;const r=t?fe:de;return(0,c.jsx)(r,{...n})}var ge=n(4711);function he(e){let{width:t=20,height:n=20,...r}=e;return(0,c.jsx)("svg",{viewBox:"0 0 24 24",width:t,height:n,"aria-hidden":!0,...r,children:(0,c.jsx)("path",{fill:"currentColor",d:"M12.87 15.07l-2.54-2.51.03-.03c1.74-1.94 2.98-4.17 3.71-6.53H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11.76-2.04zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2l-4.5-12zm-2.62 7l1.62-4.33L19.12 17h-3.24z"})})}const me="iconLanguage_nlXk";var ye=n(1875);const be={navbarSearchContainer:"navbarSearchContainer_Bca1"};function ve(e){let{children:t,className:n}=e;return(0,c.jsx)("div",{className:(0,a.Z)(n,be.navbarSearchContainer),children:t})}var we=n(143),ke=n(3438);var xe=n(373);const Se=e=>e.docs.find((t=>t.id===e.mainDocId));const Ee={default:oe,localeDropdown:function(e){let{mobile:t,dropdownItemsBefore:n,dropdownItemsAfter:r,queryString:a="",...o}=e;const{i18n:{currentLocale:i,locales:u,localeConfigs:d}}=(0,se.Z)(),f=(0,ge.l)(),{search:p,hash:g}=(0,l.TH)(),h=[...n,...u.map((e=>{const n=`${`pathname://${f.createUrl({locale:e,fullyQualified:!1})}`}${p}${g}${a}`;return{label:d[e].label,lang:d[e].htmlLang,to:n,target:"_self",autoAddBaseUrl:!1,className:e===i?t?"menu__link--active":"dropdown__link--active":""}})),...r],m=t?(0,s.I)({message:"Languages",id:"theme.navbar.mobileLanguageDropdown.label",description:"The label for the mobile language switcher dropdown"}):d[i].label;return(0,c.jsx)(pe,{...o,mobile:t,label:(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(he,{className:me}),m]}),items:h})},search:function(e){let{mobile:t,className:n}=e;return t?null:(0,c.jsx)(ve,{className:n,children:(0,c.jsx)(ye.Z,{})})},dropdown:pe,html:function(e){let{value:t,className:n,mobile:r=!1,isDropdownItem:o=!1}=e;const i=o?"li":"div";return(0,c.jsx)(i,{className:(0,a.Z)({navbar__item:!r&&!o,"menu__list-item":r},n),dangerouslySetInnerHTML:{__html:t}})},doc:function(e){let{docId:t,label:n,docsPluginId:r,...a}=e;const{activeDoc:o}=(0,we.Iw)(r),i=(0,ke.vY)(t,r),l=o?.path===i?.path;return null===i||i.unlisted&&!l?null:(0,c.jsx)(oe,{exact:!0,...a,isActive:()=>l||!!o?.sidebar&&o.sidebar===i.sidebar,label:n??i.id,to:i.path})},docSidebar:function(e){let{sidebarId:t,label:n,docsPluginId:r,...a}=e;const{activeDoc:o}=(0,we.Iw)(r),i=(0,ke.oz)(t,r).link;if(!i)throw new Error(`DocSidebarNavbarItem: Sidebar with ID "${t}" doesn't have anything to be linked to.`);return(0,c.jsx)(oe,{exact:!0,...a,isActive:()=>o?.sidebar===t,label:n??i.label,to:i.path})},docsVersion:function(e){let{label:t,to:n,docsPluginId:r,...a}=e;const o=(0,ke.lO)(r)[0],i=t??o.label,l=n??(e=>e.docs.find((t=>t.id===e.mainDocId)))(o).path;return(0,c.jsx)(oe,{...a,label:i,to:l})},docsVersionDropdown:function(e){let{mobile:t,docsPluginId:n,dropdownActiveClassDisabled:r,dropdownItemsBefore:a,dropdownItemsAfter:o,...i}=e;const{search:u,hash:d}=(0,l.TH)(),f=(0,we.Iw)(n),p=(0,we.gB)(n),{savePreferredVersionName:g}=(0,xe.J)(n),h=[...a,...p.map((e=>{const t=f.alternateDocVersions[e.name]??Se(e);return{label:e.label,to:`${t.path}${u}${d}`,isActive:()=>e===f.activeVersion,onClick:()=>g(e.name)}})),...o],m=(0,ke.lO)(n)[0],y=t&&h.length>1?(0,s.I)({id:"theme.navbar.mobileVersionsDropdown.label",message:"Versions",description:"The label for the navbar versions dropdown on mobile view"}):m.label,b=t&&h.length>1?void 0:Se(m).path;return h.length<=1?(0,c.jsx)(oe,{...i,mobile:t,label:y,to:b,isActive:r?()=>!1:void 0}):(0,c.jsx)(pe,{...i,mobile:t,label:y,to:b,items:h,isActive:r?()=>!1:void 0})}};function _e(e){let{type:t,...n}=e;const r=function(e,t){return e&&"default"!==e?e:"items"in t?"dropdown":"default"}(t,n),a=Ee[r];if(!a)throw new Error(`No NavbarItem component found for type "${t}".`);return(0,c.jsx)(a,{...n})}function Ce(){const e=(0,A.e)(),t=(0,w.L)().navbar.items;return(0,c.jsx)("ul",{className:"menu__list",children:t.map(((t,n)=>(0,r.createElement)(_e,{mobile:!0,...t,onClick:()=>e.toggle(),key:n})))})}function Te(e){return(0,c.jsx)("button",{...e,type:"button",className:"clean-btn navbar-sidebar__back",children:(0,c.jsx)(s.Z,{id:"theme.navbar.mobileSidebarSecondaryMenu.backButtonLabel",description:"The label of the back button to return to main menu, inside the mobile navbar sidebar secondary menu (notably used to display the docs sidebar)",children:"\u2190 Back to main menu"})})}function Ne(){const e=0===(0,w.L)().navbar.items.length,t=D();return(0,c.jsxs)(c.Fragment,{children:[!e&&(0,c.jsx)(Te,{onClick:()=>t.hide()}),t.content]})}function Ae(){const e=(0,A.e)();var t;return void 0===(t=e.shown)&&(t=!0),(0,r.useEffect)((()=>(document.body.style.overflow=t?"hidden":"visible",()=>{document.body.style.overflow="visible"})),[t]),e.shouldRender?(0,c.jsx)(F,{header:(0,c.jsx)(K,{}),primaryMenu:(0,c.jsx)(Ce,{}),secondaryMenu:(0,c.jsx)(Ne,{})}):null}const je={navbarHideable:"navbarHideable_m1mJ",navbarHidden:"navbarHidden_jGov"};function Le(e){return(0,c.jsx)("div",{role:"presentation",...e,className:(0,a.Z)("navbar-sidebar__backdrop",e.className)})}function Oe(e){let{children:t}=e;const{navbar:{hideOnScroll:n,style:o}}=(0,w.L)(),i=(0,A.e)(),{navbarRef:l,isNavbarVisible:d}=function(e){const[t,n]=(0,r.useState)(e),a=(0,r.useRef)(!1),o=(0,r.useRef)(0),i=(0,r.useCallback)((e=>{null!==e&&(o.current=e.getBoundingClientRect().height)}),[]);return(0,j.RF)(((t,r)=>{let{scrollY:i}=t;if(!e)return;if(i<o.current)return void n(!0);if(a.current)return void(a.current=!1);const l=r?.scrollY,s=document.documentElement.scrollHeight-o.current,u=window.innerHeight;l&&i>=l?n(!1):i+u<s&&n(!0)})),(0,u.S)((t=>{if(!e)return;const r=t.location.hash;if(r?document.getElementById(r.substring(1)):void 0)return a.current=!0,void n(!1);n(!0)})),{navbarRef:i,isNavbarVisible:t}}(n);return(0,c.jsxs)("nav",{ref:l,"aria-label":(0,s.I)({id:"theme.NavBar.navAriaLabel",message:"Main",description:"The ARIA label for the main navigation"}),className:(0,a.Z)("navbar","navbar--fixed-top",n&&[je.navbarHideable,!d&&je.navbarHidden],{"navbar--dark":"dark"===o,"navbar--primary":"primary"===o,"navbar-sidebar--show":i.shown}),children:[t,(0,c.jsx)(Le,{onClick:i.toggle}),(0,c.jsx)(Ae,{})]})}var Pe=n(8780);const Re={errorBoundaryError:"errorBoundaryError_a6uf",errorBoundaryFallback:"errorBoundaryFallback_VBag"};function Ie(e){return(0,c.jsx)("button",{type:"button",...e,children:(0,c.jsx)(s.Z,{id:"theme.ErrorPageContent.tryAgain",description:"The label of the button to try again rendering when the React error boundary captures an error",children:"Try again"})})}function De(e){let{error:t}=e;const n=(0,Pe.getErrorCausalChain)(t).map((e=>e.message)).join("\n\nCause:\n");return(0,c.jsx)("p",{className:Re.errorBoundaryError,children:n})}class Fe extends r.Component{componentDidCatch(e,t){throw this.props.onError(e,t)}render(){return this.props.children}}const Me="right";function ze(e){let{width:t=30,height:n=30,className:r,...a}=e;return(0,c.jsx)("svg",{className:r,width:t,height:n,viewBox:"0 0 30 30","aria-hidden":"true",...a,children:(0,c.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"2",d:"M4 7h22M4 15h22M4 23h22"})})}function Be(){const{toggle:e,shown:t}=(0,A.e)();return(0,c.jsx)("button",{onClick:e,"aria-label":(0,s.I)({id:"theme.docs.sidebar.toggleSidebarButtonAriaLabel",message:"Toggle navigation bar",description:"The ARIA label for hamburger menu button of mobile navigation"}),"aria-expanded":t,className:"navbar__toggle clean-btn",type:"button",children:(0,c.jsx)(ze,{})})}const $e={colorModeToggle:"colorModeToggle_DEke"};function Ue(e){let{items:t}=e;return(0,c.jsx)(c.Fragment,{children:t.map(((e,t)=>(0,c.jsx)(Fe,{onError:t=>new Error(`A theme navbar item failed to render.\nPlease double-check the following navbar item (themeConfig.navbar.items) of your Docusaurus config:\n${JSON.stringify(e,null,2)}`,{cause:t}),children:(0,c.jsx)(_e,{...e})},t)))})}function Ze(e){let{left:t,right:n}=e;return(0,c.jsxs)("div",{className:"navbar__inner",children:[(0,c.jsx)("div",{className:"navbar__items",children:t}),(0,c.jsx)("div",{className:"navbar__items navbar__items--right",children:n})]})}function He(){const e=(0,A.e)(),t=(0,w.L)().navbar.items,[n,r]=function(e){function t(e){return"left"===(e.position??Me)}return[e.filter(t),e.filter((e=>!t(e)))]}(t),a=t.find((e=>"search"===e.type));return(0,c.jsx)(Ze,{left:(0,c.jsxs)(c.Fragment,{children:[!e.disabled&&(0,c.jsx)(Be,{}),(0,c.jsx)(q,{}),(0,c.jsx)(Ue,{items:n})]}),right:(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(Ue,{items:r}),(0,c.jsx)(W,{className:$e.colorModeToggle}),!a&&(0,c.jsx)(ve,{children:(0,c.jsx)(ye.Z,{})})]})})}function Ve(){return(0,c.jsx)(Oe,{children:(0,c.jsx)(He,{})})}function We(e){let{item:t}=e;const{to:n,href:r,label:a,prependBaseUrlToHref:o,...i}=t,l=(0,X.Z)(n),s=(0,X.Z)(r,{forcePrependBaseUrl:!0});return(0,c.jsxs)(Q.Z,{className:"footer__link-item",...r?{href:o?s:r}:{to:l},...i,children:[a,r&&!(0,J.Z)(r)&&(0,c.jsx)(te.Z,{})]})}function Ge(e){let{item:t}=e;return t.html?(0,c.jsx)("li",{className:"footer__item",dangerouslySetInnerHTML:{__html:t.html}}):(0,c.jsx)("li",{className:"footer__item",children:(0,c.jsx)(We,{item:t})},t.href??t.to)}function qe(e){let{column:t}=e;return(0,c.jsxs)("div",{className:"col footer__col",children:[(0,c.jsx)("div",{className:"footer__title",children:t.title}),(0,c.jsx)("ul",{className:"footer__items clean-list",children:t.items.map(((e,t)=>(0,c.jsx)(Ge,{item:e},t)))})]})}function Ye(e){let{columns:t}=e;return(0,c.jsx)("div",{className:"row footer__links",children:t.map(((e,t)=>(0,c.jsx)(qe,{column:e},t)))})}function Ke(){return(0,c.jsx)("span",{className:"footer__link-separator",children:"\xb7"})}function Qe(e){let{item:t}=e;return t.html?(0,c.jsx)("span",{className:"footer__link-item",dangerouslySetInnerHTML:{__html:t.html}}):(0,c.jsx)(We,{item:t})}function Xe(e){let{links:t}=e;return(0,c.jsx)("div",{className:"footer__links text--center",children:(0,c.jsx)("div",{className:"footer__links",children:t.map(((e,n)=>(0,c.jsxs)(r.Fragment,{children:[(0,c.jsx)(Qe,{item:e}),t.length!==n+1&&(0,c.jsx)(Ke,{})]},n)))})})}function Je(e){let{links:t}=e;return function(e){return"title"in e[0]}(t)?(0,c.jsx)(Ye,{columns:t}):(0,c.jsx)(Xe,{links:t})}var et=n(9965);const tt={footerLogoLink:"footerLogoLink_BH7S"};function nt(e){let{logo:t}=e;const{withBaseUrl:n}=(0,X.C)(),r={light:n(t.src),dark:n(t.srcDark??t.src)};return(0,c.jsx)(et.Z,{className:(0,a.Z)("footer__logo",t.className),alt:t.alt,sources:r,width:t.width,height:t.height,style:t.style})}function rt(e){let{logo:t}=e;return t.href?(0,c.jsx)(Q.Z,{href:t.href,className:tt.footerLogoLink,target:t.target,children:(0,c.jsx)(nt,{logo:t})}):(0,c.jsx)(nt,{logo:t})}function at(e){let{copyright:t}=e;return(0,c.jsx)("div",{className:"footer__copyright",dangerouslySetInnerHTML:{__html:t}})}function ot(e){let{style:t,links:n,logo:r,copyright:o}=e;return(0,c.jsx)("footer",{className:(0,a.Z)("footer",{"footer--dark":"dark"===t}),children:(0,c.jsxs)("div",{className:"container container-fluid",children:[n,(r||o)&&(0,c.jsxs)("div",{className:"footer__bottom text--center",children:[r&&(0,c.jsx)("div",{className:"margin-bottom--sm",children:r}),o]})]})})}function it(){const{footer:e}=(0,w.L)();if(!e)return null;const{copyright:t,links:n,logo:r,style:a}=e;return(0,c.jsx)(ot,{style:a,links:n&&n.length>0&&(0,c.jsx)(Je,{links:n}),logo:r&&(0,c.jsx)(rt,{logo:r}),copyright:t&&(0,c.jsx)(at,{copyright:t})})}const lt=r.memo(it),st=(0,L.Qc)([M.S,k.pl,j.OC,xe.L5,i.VC,function(e){let{children:t}=e;return(0,c.jsx)(O.n2,{children:(0,c.jsx)(A.M,{children:(0,c.jsx)(R,{children:t})})})}]);function ut(e){let{children:t}=e;return(0,c.jsx)(st,{children:t})}var ct=n(7955);function dt(e){let{error:t,tryAgain:n}=e;return(0,c.jsx)("main",{className:"container margin-vert--xl",children:(0,c.jsx)("div",{className:"row",children:(0,c.jsxs)("div",{className:"col col--6 col--offset-3",children:[(0,c.jsx)(ct.Z,{as:"h1",className:"hero__title",children:(0,c.jsx)(s.Z,{id:"theme.ErrorPageContent.title",description:"The title of the fallback page when the page crashed",children:"This page crashed."})}),(0,c.jsx)("div",{className:"margin-vert--lg",children:(0,c.jsx)(Ie,{onClick:n,className:"button button--primary shadow--lw"})}),(0,c.jsx)("hr",{}),(0,c.jsx)("div",{className:"margin-vert--md",children:(0,c.jsx)(De,{error:t})})]})})})}const ft={mainWrapper:"mainWrapper_z2l0"};function pt(e){const{children:t,noFooter:n,wrapperClassName:r,title:l,description:s}=e;return(0,y.t)(),(0,c.jsxs)(ut,{children:[(0,c.jsx)(i.d,{title:l,description:s}),(0,c.jsx)(v,{}),(0,c.jsx)(N,{}),(0,c.jsx)(Ve,{}),(0,c.jsx)("div",{id:d,className:(0,a.Z)(m.k.wrapper.main,ft.mainWrapper,r),children:(0,c.jsx)(o.Z,{fallback:e=>(0,c.jsx)(dt,{...e}),children:t})}),!n&&(0,c.jsx)(lt,{})]})}},1327:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});n(7294);var r=n(3692),a=n(4996),o=n(2263),i=n(6668),l=n(9965),s=n(5893);function u(e){let{logo:t,alt:n,imageClassName:r}=e;const o={light:(0,a.Z)(t.src),dark:(0,a.Z)(t.srcDark||t.src)},i=(0,s.jsx)(l.Z,{className:t.className,sources:o,height:t.height,width:t.width,alt:n,style:t.style});return r?(0,s.jsx)("div",{className:r,children:i}):i}function c(e){const{siteConfig:{title:t}}=(0,o.Z)(),{navbar:{title:n,logo:l}}=(0,i.L)(),{imageClassName:c,titleClassName:d,...f}=e,p=(0,a.Z)(l?.href||"/"),g=n?"":t,h=l?.alt??g;return(0,s.jsxs)(r.Z,{to:p,...f,...l?.target&&{target:l.target},children:[l&&(0,s.jsx)(u,{logo:l,alt:h,imageClassName:c}),null!=n&&(0,s.jsx)("b",{className:d,children:n})]})}},197:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});n(7294);var r=n(5742),a=n(5893);function o(e){let{locale:t,version:n,tag:o}=e;const i=t;return(0,a.jsxs)(r.Z,{children:[t&&(0,a.jsx)("meta",{name:"docusaurus_locale",content:t}),n&&(0,a.jsx)("meta",{name:"docusaurus_version",content:n}),o&&(0,a.jsx)("meta",{name:"docusaurus_tag",content:o}),i&&(0,a.jsx)("meta",{name:"docsearch:language",content:i}),n&&(0,a.jsx)("meta",{name:"docsearch:version",content:n}),o&&(0,a.jsx)("meta",{name:"docsearch:docusaurus_tag",content:o})]})}},9965:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var r=n(7294),a=n(512),o=n(2389),i=n(2949);const l={themedComponent:"themedComponent_mlkZ","themedComponent--light":"themedComponent--light_NVdE","themedComponent--dark":"themedComponent--dark_xIcU"};var s=n(5893);function u(e){let{className:t,children:n}=e;const u=(0,o.Z)(),{colorMode:c}=(0,i.I)();return(0,s.jsx)(s.Fragment,{children:(u?"dark"===c?["dark"]:["light"]:["light","dark"]).map((e=>{const o=n({theme:e,className:(0,a.Z)(t,l.themedComponent,l[`themedComponent--${e}`])});return(0,s.jsx)(r.Fragment,{children:o},e)}))})}function c(e){const{sources:t,className:n,alt:r,...a}=e;return(0,s.jsx)(u,{className:n,children:e=>{let{theme:n,className:o}=e;return(0,s.jsx)("img",{src:t[n],alt:r,className:o,...a})}})}},6043:(e,t,n)=>{"use strict";n.d(t,{u:()=>u,z:()=>y});var r=n(7294),a=n(412),o=n(469),i=n(1442),l=n(5893);const s="ease-in-out";function u(e){let{initialState:t}=e;const[n,a]=(0,r.useState)(t??!1),o=(0,r.useCallback)((()=>{a((e=>!e))}),[]);return{collapsed:n,setCollapsed:a,toggleCollapsed:o}}const c={display:"none",overflow:"hidden",height:"0px"},d={display:"block",overflow:"visible",height:"auto"};function f(e,t){const n=t?c:d;e.style.display=n.display,e.style.overflow=n.overflow,e.style.height=n.height}function p(e){let{collapsibleRef:t,collapsed:n,animation:a}=e;const o=(0,r.useRef)(!1);(0,r.useEffect)((()=>{const e=t.current;function r(){const t=e.scrollHeight,n=a?.duration??function(e){if((0,i.n)())return 1;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}(t);return{transition:`height ${n}ms ${a?.easing??s}`,height:`${t}px`}}function l(){const t=r();e.style.transition=t.transition,e.style.height=t.height}if(!o.current)return f(e,n),void(o.current=!0);return e.style.willChange="height",function(){const t=requestAnimationFrame((()=>{n?(l(),requestAnimationFrame((()=>{e.style.height=c.height,e.style.overflow=c.overflow}))):(e.style.display="block",requestAnimationFrame((()=>{l()})))}));return()=>cancelAnimationFrame(t)}()}),[t,n,a])}function g(e){if(!a.Z.canUseDOM)return e?c:d}function h(e){let{as:t="div",collapsed:n,children:a,animation:o,onCollapseTransitionEnd:i,className:s,disableSSRStyle:u}=e;const c=(0,r.useRef)(null);return p({collapsibleRef:c,collapsed:n,animation:o}),(0,l.jsx)(t,{ref:c,style:u?void 0:g(n),onTransitionEnd:e=>{"height"===e.propertyName&&(f(c.current,n),i?.(n))},className:s,children:a})}function m(e){let{collapsed:t,...n}=e;const[a,i]=(0,r.useState)(!t),[s,u]=(0,r.useState)(t);return(0,o.Z)((()=>{t||i(!0)}),[t]),(0,o.Z)((()=>{a&&u(t)}),[a,t]),a?(0,l.jsx)(h,{...n,collapsed:s}):null}function y(e){let{lazy:t,...n}=e;const r=t?m:h;return(0,l.jsx)(r,{...n})}},9689:(e,t,n)=>{"use strict";n.d(t,{nT:()=>h,pl:()=>g});var r=n(7294),a=n(2389),o=n(12),i=n(902),l=n(6668),s=n(5893);const u=(0,o.WA)("docusaurus.announcement.dismiss"),c=(0,o.WA)("docusaurus.announcement.id"),d=()=>"true"===u.get(),f=e=>u.set(String(e)),p=r.createContext(null);function g(e){let{children:t}=e;const n=function(){const{announcementBar:e}=(0,l.L)(),t=(0,a.Z)(),[n,o]=(0,r.useState)((()=>!!t&&d()));(0,r.useEffect)((()=>{o(d())}),[]);const i=(0,r.useCallback)((()=>{f(!0),o(!0)}),[]);return(0,r.useEffect)((()=>{if(!e)return;const{id:t}=e;let n=c.get();"annoucement-bar"===n&&(n="announcement-bar");const r=t!==n;c.set(t),r&&f(!1),!r&&d()||o(!1)}),[e]),(0,r.useMemo)((()=>({isActive:!!e&&!n,close:i})),[e,n,i])}();return(0,s.jsx)(p.Provider,{value:n,children:t})}function h(){const e=(0,r.useContext)(p);if(!e)throw new i.i6("AnnouncementBarProvider");return e}},2949:(e,t,n)=>{"use strict";n.d(t,{I:()=>y,S:()=>m});var r=n(7294),a=n(412),o=n(902),i=n(12),l=n(6668),s=n(5893);const u=r.createContext(void 0),c="theme",d=(0,i.WA)(c),f={light:"light",dark:"dark"},p=e=>e===f.dark?f.dark:f.light,g=e=>a.Z.canUseDOM?p(document.documentElement.getAttribute("data-theme")):p(e),h=e=>{d.set(p(e))};function m(e){let{children:t}=e;const n=function(){const{colorMode:{defaultMode:e,disableSwitch:t,respectPrefersColorScheme:n}}=(0,l.L)(),[a,o]=(0,r.useState)(g(e));(0,r.useEffect)((()=>{t&&d.del()}),[t]);const i=(0,r.useCallback)((function(t,r){void 0===r&&(r={});const{persist:a=!0}=r;t?(o(t),a&&h(t)):(o(n?window.matchMedia("(prefers-color-scheme: dark)").matches?f.dark:f.light:e),d.del())}),[n,e]);(0,r.useEffect)((()=>{document.documentElement.setAttribute("data-theme",p(a))}),[a]),(0,r.useEffect)((()=>{if(t)return;const e=e=>{if(e.key!==c)return;const t=d.get();null!==t&&i(p(t))};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)}),[t,i]);const s=(0,r.useRef)(!1);return(0,r.useEffect)((()=>{if(t&&!n)return;const e=window.matchMedia("(prefers-color-scheme: dark)"),r=()=>{window.matchMedia("print").matches||s.current?s.current=window.matchMedia("print").matches:i(null)};return e.addListener(r),()=>e.removeListener(r)}),[i,t,n]),(0,r.useMemo)((()=>({colorMode:a,setColorMode:i,get isDarkTheme(){return a===f.dark},setLightTheme(){i(f.light)},setDarkTheme(){i(f.dark)}})),[a,i])}();return(0,s.jsx)(u.Provider,{value:n,children:t})}function y(){const e=(0,r.useContext)(u);if(null==e)throw new o.i6("ColorModeProvider","Please see https://docusaurus.io/docs/api/themes/configuration#use-color-mode.");return e}},373:(e,t,n)=>{"use strict";n.d(t,{J:()=>v,L5:()=>y});var r=n(7294),a=n(143),o=n(9935),i=n(6668),l=n(3438),s=n(902),u=n(12),c=n(5893);const d=e=>`docs-preferred-version-${e}`,f={save:(e,t,n)=>{(0,u.WA)(d(e),{persistence:t}).set(n)},read:(e,t)=>(0,u.WA)(d(e),{persistence:t}).get(),clear:(e,t)=>{(0,u.WA)(d(e),{persistence:t}).del()}},p=e=>Object.fromEntries(e.map((e=>[e,{preferredVersionName:null}])));const g=r.createContext(null);function h(){const e=(0,a._r)(),t=(0,i.L)().docs.versionPersistence,n=(0,r.useMemo)((()=>Object.keys(e)),[e]),[o,l]=(0,r.useState)((()=>p(n)));(0,r.useEffect)((()=>{l(function(e){let{pluginIds:t,versionPersistence:n,allDocsData:r}=e;function a(e){const t=f.read(e,n);return r[e].versions.some((e=>e.name===t))?{preferredVersionName:t}:(f.clear(e,n),{preferredVersionName:null})}return Object.fromEntries(t.map((e=>[e,a(e)])))}({allDocsData:e,versionPersistence:t,pluginIds:n}))}),[e,t,n]);return[o,(0,r.useMemo)((()=>({savePreferredVersion:function(e,n){f.save(e,t,n),l((t=>({...t,[e]:{preferredVersionName:n}})))}})),[t])]}function m(e){let{children:t}=e;const n=h();return(0,c.jsx)(g.Provider,{value:n,children:t})}function y(e){let{children:t}=e;return l.cE?(0,c.jsx)(m,{children:t}):(0,c.jsx)(c.Fragment,{children:t})}function b(){const e=(0,r.useContext)(g);if(!e)throw new s.i6("DocsPreferredVersionContextProvider");return e}function v(e){void 0===e&&(e=o.m);const t=(0,a.zh)(e),[n,i]=b(),{preferredVersionName:l}=n[e];return{preferredVersion:t.versions.find((e=>e.name===l))??null,savePreferredVersionName:(0,r.useCallback)((t=>{i.savePreferredVersion(e,t)}),[i,e])}}},1116:(e,t,n)=>{"use strict";n.d(t,{V:()=>u,b:()=>s});var r=n(7294),a=n(902),o=n(5893);const i=Symbol("EmptyContext"),l=r.createContext(i);function s(e){let{children:t,name:n,items:a}=e;const i=(0,r.useMemo)((()=>n&&a?{name:n,items:a}:null),[n,a]);return(0,o.jsx)(l.Provider,{value:i,children:t})}function u(){const e=(0,r.useContext)(l);if(e===i)throw new a.i6("DocsSidebarProvider");return e}},4477:(e,t,n)=>{"use strict";n.d(t,{E:()=>s,q:()=>l});var r=n(7294),a=n(902),o=n(5893);const i=r.createContext(null);function l(e){let{children:t,version:n}=e;return(0,o.jsx)(i.Provider,{value:n,children:t})}function s(){const e=(0,r.useContext)(i);if(null===e)throw new a.i6("DocsVersionProvider");return e}},3163:(e,t,n)=>{"use strict";n.d(t,{M:()=>f,e:()=>p});var r=n(7294),a=n(3102),o=n(7524),i=n(1980),l=n(6668),s=n(902),u=n(5893);const c=r.createContext(void 0);function d(){const e=function(){const e=(0,a.HY)(),{items:t}=(0,l.L)().navbar;return 0===t.length&&!e.component}(),t=(0,o.i)(),n=!e&&"mobile"===t,[s,u]=(0,r.useState)(!1);(0,i.Rb)((()=>{if(s)return u(!1),!1}));const c=(0,r.useCallback)((()=>{u((e=>!e))}),[]);return(0,r.useEffect)((()=>{"desktop"===t&&u(!1)}),[t]),(0,r.useMemo)((()=>({disabled:e,shouldRender:n,toggle:c,shown:s})),[e,n,c,s])}function f(e){let{children:t}=e;const n=d();return(0,u.jsx)(c.Provider,{value:n,children:t})}function p(){const e=r.useContext(c);if(void 0===e)throw new s.i6("NavbarMobileSidebarProvider");return e}},3102:(e,t,n)=>{"use strict";n.d(t,{HY:()=>s,Zo:()=>u,n2:()=>l});var r=n(7294),a=n(902),o=n(5893);const i=r.createContext(null);function l(e){let{children:t}=e;const n=(0,r.useState)({component:null,props:null});return(0,o.jsx)(i.Provider,{value:n,children:t})}function s(){const e=(0,r.useContext)(i);if(!e)throw new a.i6("NavbarSecondaryMenuContentProvider");return e[0]}function u(e){let{component:t,props:n}=e;const o=(0,r.useContext)(i);if(!o)throw new a.i6("NavbarSecondaryMenuContentProvider");const[,l]=o,s=(0,a.Ql)(n);return(0,r.useEffect)((()=>{l({component:t,props:s})}),[l,t,s]),(0,r.useEffect)((()=>()=>l({component:null,props:null})),[l]),null}},9727:(e,t,n)=>{"use strict";n.d(t,{h:()=>a,t:()=>o});var r=n(7294);const a="navigation-with-keyboard";function o(){(0,r.useEffect)((()=>{function e(e){"keydown"===e.type&&"Tab"===e.key&&document.body.classList.add(a),"mousedown"===e.type&&document.body.classList.remove(a)}return document.addEventListener("keydown",e),document.addEventListener("mousedown",e),()=>{document.body.classList.remove(a),document.removeEventListener("keydown",e),document.removeEventListener("mousedown",e)}}),[])}},7524:(e,t,n)=>{"use strict";n.d(t,{i:()=>l});var r=n(7294),a=n(412);const o={desktop:"desktop",mobile:"mobile",ssr:"ssr"},i=996;function l(e){let{desktopBreakpoint:t=i}=void 0===e?{}:e;const[n,l]=(0,r.useState)((()=>"ssr"));return(0,r.useEffect)((()=>{function e(){l(function(e){if(!a.Z.canUseDOM)throw new Error("getWindowSize() should only be called after React hydration");return window.innerWidth>e?o.desktop:o.mobile}(t))}return e(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}}),[t]),n}},5281:(e,t,n)=>{"use strict";n.d(t,{k:()=>r});const r={page:{blogListPage:"blog-list-page",blogPostPage:"blog-post-page",blogTagsListPage:"blog-tags-list-page",blogTagPostListPage:"blog-tags-post-list-page",docsDocPage:"docs-doc-page",docsTagsListPage:"docs-tags-list-page",docsTagDocListPage:"docs-tags-doc-list-page",mdxPage:"mdx-page"},wrapper:{main:"main-wrapper",blogPages:"blog-wrapper",docsPages:"docs-wrapper",mdxPages:"mdx-wrapper"},common:{editThisPage:"theme-edit-this-page",lastUpdated:"theme-last-updated",backToTopButton:"theme-back-to-top-button",codeBlock:"theme-code-block",admonition:"theme-admonition",unlistedBanner:"theme-unlisted-banner",admonitionType:e=>`theme-admonition-${e}`},layout:{},docs:{docVersionBanner:"theme-doc-version-banner",docVersionBadge:"theme-doc-version-badge",docBreadcrumbs:"theme-doc-breadcrumbs",docMarkdown:"theme-doc-markdown",docTocMobile:"theme-doc-toc-mobile",docTocDesktop:"theme-doc-toc-desktop",docFooter:"theme-doc-footer",docFooterTagsRow:"theme-doc-footer-tags-row",docFooterEditMetaRow:"theme-doc-footer-edit-meta-row",docSidebarContainer:"theme-doc-sidebar-container",docSidebarMenu:"theme-doc-sidebar-menu",docSidebarItemCategory:"theme-doc-sidebar-item-category",docSidebarItemLink:"theme-doc-sidebar-item-link",docSidebarItemCategoryLevel:e=>`theme-doc-sidebar-item-category-level-${e}`,docSidebarItemLinkLevel:e=>`theme-doc-sidebar-item-link-level-${e}`},blog:{}}},1442:(e,t,n)=>{"use strict";function r(){return window.matchMedia("(prefers-reduced-motion: reduce)").matches}n.d(t,{n:()=>r})},3438:(e,t,n)=>{"use strict";n.d(t,{LM:()=>p,SN:()=>E,_F:()=>m,cE:()=>f,f:()=>b,lO:()=>k,oz:()=>x,s1:()=>w,vY:()=>S});var r=n(7294),a=n(6550),o=n(8790),i=n(143),l=n(373),s=n(4477),u=n(1116),c=n(7392),d=n(8596);const f=!!i._r;function p(e){return"link"!==e.type||e.unlisted?"category"===e.type?function(e){if(e.href&&!e.linkUnlisted)return e.href;for(const t of e.items){const e=p(t);if(e)return e}}(e):void 0:e.href}const g=(e,t)=>void 0!==e&&(0,d.Mg)(e,t),h=(e,t)=>e.some((e=>m(e,t)));function m(e,t){return"link"===e.type?g(e.href,t):"category"===e.type&&(g(e.href,t)||h(e.items,t))}function y(e,t){switch(e.type){case"category":return m(e,t)||e.items.some((e=>y(e,t)));case"link":return!e.unlisted||m(e,t);default:return!0}}function b(e,t){return(0,r.useMemo)((()=>e.filter((e=>y(e,t)))),[e,t])}function v(e){let{sidebarItems:t,pathname:n,onlyCategories:r=!1}=e;const a=[];return function e(t){for(const o of t)if("category"===o.type&&((0,d.Mg)(o.href,n)||e(o.items))||"link"===o.type&&(0,d.Mg)(o.href,n)){return r&&"category"!==o.type||a.unshift(o),!0}return!1}(t),a}function w(){const e=(0,u.V)(),{pathname:t}=(0,a.TH)(),n=(0,i.gA)()?.pluginData.breadcrumbs;return!1!==n&&e?v({sidebarItems:e.items,pathname:t}):null}function k(e){const{activeVersion:t}=(0,i.Iw)(e),{preferredVersion:n}=(0,l.J)(e),a=(0,i.yW)(e);return(0,r.useMemo)((()=>(0,c.j)([t,n,a].filter(Boolean))),[t,n,a])}function x(e,t){const n=k(t);return(0,r.useMemo)((()=>{const t=n.flatMap((e=>e.sidebars?Object.entries(e.sidebars):[])),r=t.find((t=>t[0]===e));if(!r)throw new Error(`Can't find any sidebar with id "${e}" in version${n.length>1?"s":""} ${n.map((e=>e.name)).join(", ")}".\nAvailable sidebar ids are:\n- ${t.map((e=>e[0])).join("\n- ")}`);return r[1]}),[e,n])}function S(e,t){const n=k(t);return(0,r.useMemo)((()=>{const t=n.flatMap((e=>e.docs)),r=t.find((t=>t.id===e));if(!r){if(n.flatMap((e=>e.draftIds)).includes(e))return null;throw new Error(`Couldn't find any doc with id "${e}" in version${n.length>1?"s":""} "${n.map((e=>e.name)).join(", ")}".\nAvailable doc ids are:\n- ${(0,c.j)(t.map((e=>e.id))).join("\n- ")}`)}return r}),[e,n])}function E(e){let{route:t}=e;const n=(0,a.TH)(),r=(0,s.E)(),i=t.routes,l=i.find((e=>(0,a.LX)(n.pathname,e)));if(!l)return null;const u=l.sidebar,c=u?r.docsSidebars[u]:void 0;return{docElement:(0,o.H)(i),sidebarName:u,sidebarItems:c}}},1980:(e,t,n)=>{"use strict";n.d(t,{Rb:()=>i,_X:()=>l});var r=n(7294),a=n(6550),o=n(902);function i(e){!function(e){const t=(0,a.k6)(),n=(0,o.zX)(e);(0,r.useEffect)((()=>t.block(((e,t)=>n(e,t)))),[t,n])}(((t,n)=>{if("POP"===n)return e(t,n)}))}function l(e){return function(e){const t=(0,a.k6)();return(0,r.useSyncExternalStore)(t.listen,(()=>e(t)),(()=>e(t)))}((t=>null===e?null:new URLSearchParams(t.location.search).get(e)))}},7392:(e,t,n)=>{"use strict";function r(e,t){return void 0===t&&(t=(e,t)=>e===t),e.filter(((n,r)=>e.findIndex((e=>t(e,n)))!==r))}function a(e){return Array.from(new Set(e))}n.d(t,{j:()=>a,l:()=>r})},1944:(e,t,n)=>{"use strict";n.d(t,{FG:()=>p,d:()=>d,VC:()=>g});var r=n(7294),a=n(512),o=n(5742),i=n(226);function l(){const e=r.useContext(i._);if(!e)throw new Error("Unexpected: no Docusaurus route context found");return e}var s=n(4996),u=n(2263);var c=n(5893);function d(e){let{title:t,description:n,keywords:r,image:a,children:i}=e;const l=function(e){const{siteConfig:t}=(0,u.Z)(),{title:n,titleDelimiter:r}=t;return e?.trim().length?`${e.trim()} ${r} ${n}`:n}(t),{withBaseUrl:d}=(0,s.C)(),f=a?d(a,{absolute:!0}):void 0;return(0,c.jsxs)(o.Z,{children:[t&&(0,c.jsx)("title",{children:l}),t&&(0,c.jsx)("meta",{property:"og:title",content:l}),n&&(0,c.jsx)("meta",{name:"description",content:n}),n&&(0,c.jsx)("meta",{property:"og:description",content:n}),r&&(0,c.jsx)("meta",{name:"keywords",content:Array.isArray(r)?r.join(","):r}),f&&(0,c.jsx)("meta",{property:"og:image",content:f}),f&&(0,c.jsx)("meta",{name:"twitter:image",content:f}),i]})}const f=r.createContext(void 0);function p(e){let{className:t,children:n}=e;const i=r.useContext(f),l=(0,a.Z)(i,t);return(0,c.jsxs)(f.Provider,{value:l,children:[(0,c.jsx)(o.Z,{children:(0,c.jsx)("html",{className:l})}),n]})}function g(e){let{children:t}=e;const n=l(),r=`plugin-${n.plugin.name.replace(/docusaurus-(?:plugin|theme)-(?:content-)?/gi,"")}`;const o=`plugin-id-${n.plugin.id}`;return(0,c.jsx)(p,{className:(0,a.Z)(r,o),children:t})}},902:(e,t,n)=>{"use strict";n.d(t,{D9:()=>l,Qc:()=>c,Ql:()=>u,i6:()=>s,zX:()=>i});var r=n(7294),a=n(469),o=n(5893);function i(e){const t=(0,r.useRef)(e);return(0,a.Z)((()=>{t.current=e}),[e]),(0,r.useCallback)((function(){return t.current(...arguments)}),[])}function l(e){const t=(0,r.useRef)();return(0,a.Z)((()=>{t.current=e})),t.current}class s extends Error{constructor(e,t){super(),this.name="ReactContextError",this.message=`Hook ${this.stack?.split("\n")[1]?.match(/at (?:\w+\.)?(?<name>\w+)/)?.groups.name??""} is called outside the <${e}>. ${t??""}`}}function u(e){const t=Object.entries(e);return t.sort(((e,t)=>e[0].localeCompare(t[0]))),(0,r.useMemo)((()=>e),t.flat())}function c(e){return t=>{let{children:n}=t;return(0,o.jsx)(o.Fragment,{children:e.reduceRight(((e,t)=>(0,o.jsx)(t,{children:e})),n)})}}},8596:(e,t,n)=>{"use strict";n.d(t,{Mg:()=>i,Ns:()=>l});var r=n(7294),a=n(723),o=n(2263);function i(e,t){const n=e=>(!e||e.endsWith("/")?e:`${e}/`)?.toLowerCase();return n(e)===n(t)}function l(){const{baseUrl:e}=(0,o.Z)().siteConfig;return(0,r.useMemo)((()=>function(e){let{baseUrl:t,routes:n}=e;function r(e){return e.path===t&&!0===e.exact}function a(e){return e.path===t&&!e.exact}return function e(t){if(0===t.length)return;return t.find(r)||e(t.filter(a).flatMap((e=>e.routes??[])))}(n)}({routes:a.Z,baseUrl:e})),[e])}},2466:(e,t,n)=>{"use strict";n.d(t,{Ct:()=>h,OC:()=>c,RF:()=>p,o5:()=>g});var r=n(7294),a=n(412),o=n(2389),i=n(469),l=n(902),s=n(5893);const u=r.createContext(void 0);function c(e){let{children:t}=e;const n=function(){const e=(0,r.useRef)(!0);return(0,r.useMemo)((()=>({scrollEventsEnabledRef:e,enableScrollEvents:()=>{e.current=!0},disableScrollEvents:()=>{e.current=!1}})),[])}();return(0,s.jsx)(u.Provider,{value:n,children:t})}function d(){const e=(0,r.useContext)(u);if(null==e)throw new l.i6("ScrollControllerProvider");return e}const f=()=>a.Z.canUseDOM?{scrollX:window.pageXOffset,scrollY:window.pageYOffset}:null;function p(e,t){void 0===t&&(t=[]);const{scrollEventsEnabledRef:n}=d(),a=(0,r.useRef)(f()),o=(0,l.zX)(e);(0,r.useEffect)((()=>{const e=()=>{if(!n.current)return;const e=f();o(e,a.current),a.current=e},t={passive:!0};return e(),window.addEventListener("scroll",e,t),()=>window.removeEventListener("scroll",e,t)}),[o,n,...t])}function g(){const e=d(),t=function(){const e=(0,r.useRef)({elem:null,top:0}),t=(0,r.useCallback)((t=>{e.current={elem:t,top:t.getBoundingClientRect().top}}),[]),n=(0,r.useCallback)((()=>{const{current:{elem:t,top:n}}=e;if(!t)return{restored:!1};const r=t.getBoundingClientRect().top-n;return r&&window.scrollBy({left:0,top:r}),e.current={elem:null,top:0},{restored:0!==r}}),[]);return(0,r.useMemo)((()=>({save:t,restore:n})),[n,t])}(),n=(0,r.useRef)(void 0),a=(0,r.useCallback)((r=>{t.save(r),e.disableScrollEvents(),n.current=()=>{const{restored:r}=t.restore();if(n.current=void 0,r){const t=()=>{e.enableScrollEvents(),window.removeEventListener("scroll",t)};window.addEventListener("scroll",t)}else e.enableScrollEvents()}}),[e,t]);return(0,i.Z)((()=>{queueMicrotask((()=>n.current?.()))})),{blockElementScrollPositionUntilNextRender:a}}function h(){const e=(0,r.useRef)(null),t=(0,o.Z)()&&"smooth"===getComputedStyle(document.documentElement).scrollBehavior;return{startScroll:n=>{e.current=t?function(e){return window.scrollTo({top:e,behavior:"smooth"}),()=>{}}(n):function(e){let t=null;const n=document.documentElement.scrollTop>e;return function r(){const a=document.documentElement.scrollTop;(n&&a>e||!n&&a<e)&&(t=requestAnimationFrame(r),window.scrollTo(0,Math.floor(.85*(a-e))+e))}(),()=>t&&cancelAnimationFrame(t)}(n)},cancelScroll:()=>e.current?.()}}},3320:(e,t,n)=>{"use strict";n.d(t,{HX:()=>r,os:()=>a});n(2263);const r="default";function a(e,t){return`docs-${e}-${t}`}},12:(e,t,n)=>{"use strict";n.d(t,{Nk:()=>c,WA:()=>u});var r=n(7294);const a="localStorage";function o(e){let{key:t,oldValue:n,newValue:r,storage:a}=e;if(n===r)return;const o=document.createEvent("StorageEvent");o.initStorageEvent("storage",!1,!1,t,n,r,window.location.href,a),window.dispatchEvent(o)}function i(e){if(void 0===e&&(e=a),"undefined"==typeof window)throw new Error("Browser storage is not available on Node.js/Docusaurus SSR process.");if("none"===e)return null;try{return window[e]}catch(n){return t=n,l||(console.warn("Docusaurus browser storage is not available.\nPossible reasons: running Docusaurus in an iframe, in an incognito browser session, or using too strict browser privacy settings.",t),l=!0),null}var t}let l=!1;const s={get:()=>null,set:()=>{},del:()=>{},listen:()=>()=>{}};function u(e,t){if("undefined"==typeof window)return function(e){function t(){throw new Error(`Illegal storage API usage for storage key "${e}".\nDocusaurus storage APIs are not supposed to be called on the server-rendering process.\nPlease only call storage APIs in effects and event handlers.`)}return{get:t,set:t,del:t,listen:t}}(e);const n=i(t?.persistence);return null===n?s:{get:()=>{try{return n.getItem(e)}catch(t){return console.error(`Docusaurus storage error, can't get key=${e}`,t),null}},set:t=>{try{const r=n.getItem(e);n.setItem(e,t),o({key:e,oldValue:r,newValue:t,storage:n})}catch(r){console.error(`Docusaurus storage error, can't set ${e}=${t}`,r)}},del:()=>{try{const t=n.getItem(e);n.removeItem(e),o({key:e,oldValue:t,newValue:null,storage:n})}catch(t){console.error(`Docusaurus storage error, can't delete key=${e}`,t)}},listen:t=>{try{const r=r=>{r.storageArea===n&&r.key===e&&t(r)};return window.addEventListener("storage",r),()=>window.removeEventListener("storage",r)}catch(r){return console.error(`Docusaurus storage error, can't listen for changes of key=${e}`,r),()=>{}}}}}function c(e,t){const n=(0,r.useRef)((()=>null===e?s:u(e,t))).current(),a=(0,r.useCallback)((e=>"undefined"==typeof window?()=>{}:n.listen(e)),[n]);return[(0,r.useSyncExternalStore)(a,(()=>"undefined"==typeof window?null:n.get()),(()=>null)),n]}},4711:(e,t,n)=>{"use strict";n.d(t,{l:()=>i});var r=n(2263),a=n(6550),o=n(8780);function i(){const{siteConfig:{baseUrl:e,url:t,trailingSlash:n},i18n:{defaultLocale:i,currentLocale:l}}=(0,r.Z)(),{pathname:s}=(0,a.TH)(),u=(0,o.applyTrailingSlash)(s,{trailingSlash:n,baseUrl:e}),c=l===i?e:e.replace(`/${l}/`,"/"),d=u.replace(e,"");return{createUrl:function(e){let{locale:n,fullyQualified:r}=e;return`${r?t:""}${function(e){return e===i?`${c}`:`${c}${e}/`}(n)}${d}`}}}},5936:(e,t,n)=>{"use strict";n.d(t,{S:()=>i});var r=n(7294),a=n(6550),o=n(902);function i(e){const t=(0,a.TH)(),n=(0,o.D9)(t),i=(0,o.zX)(e);(0,r.useEffect)((()=>{n&&t!==n&&i({location:t,previousLocation:n})}),[i,t,n])}},6668:(e,t,n)=>{"use strict";n.d(t,{L:()=>a});var r=n(2263);function a(){return(0,r.Z)().siteConfig.themeConfig}},8802:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const{trailingSlash:n,baseUrl:r}=t;if(e.startsWith("#"))return e;if(void 0===n)return e;const[a]=e.split(/[#?]/),o="/"===a||a===r?a:(i=a,n?function(e){return e.endsWith("/")?e:`${e}/`}(i):function(e){return e.endsWith("/")?e.slice(0,-1):e}(i));var i;return e.replace(a,o)}},4143:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getErrorCausalChain=void 0,t.getErrorCausalChain=function e(t){return t.cause?[t,...e(t.cause)]:[t]}},8780:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getErrorCausalChain=t.applyTrailingSlash=t.blogPostContainerID=void 0,t.blogPostContainerID="__blog-post-container";var a=n(8802);Object.defineProperty(t,"applyTrailingSlash",{enumerable:!0,get:function(){return r(a).default}});var o=n(4143);Object.defineProperty(t,"getErrorCausalChain",{enumerable:!0,get:function(){return o.getErrorCausalChain}})},9318:(e,t,n)=>{"use strict";n.d(t,{lX:()=>w,q_:()=>C,ob:()=>p,PP:()=>N,Ep:()=>f});var r=n(7462);function a(e){return"/"===e.charAt(0)}function o(e,t){for(var n=t,r=n+1,a=e.length;r<a;n+=1,r+=1)e[n]=e[r];e.pop()}const i=function(e,t){void 0===t&&(t="");var n,r=e&&e.split("/")||[],i=t&&t.split("/")||[],l=e&&a(e),s=t&&a(t),u=l||s;if(e&&a(e)?i=r:r.length&&(i.pop(),i=i.concat(r)),!i.length)return"/";if(i.length){var c=i[i.length-1];n="."===c||".."===c||""===c}else n=!1;for(var d=0,f=i.length;f>=0;f--){var p=i[f];"."===p?o(i,f):".."===p?(o(i,f),d++):d&&(o(i,f),d--)}if(!u)for(;d--;d)i.unshift("..");!u||""===i[0]||i[0]&&a(i[0])||i.unshift("");var g=i.join("/");return n&&"/"!==g.substr(-1)&&(g+="/"),g};var l=n(8776);function s(e){return"/"===e.charAt(0)?e:"/"+e}function u(e){return"/"===e.charAt(0)?e.substr(1):e}function c(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}function d(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function f(e){var t=e.pathname,n=e.search,r=e.hash,a=t||"/";return n&&"?"!==n&&(a+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(a+="#"===r.charAt(0)?r:"#"+r),a}function p(e,t,n,a){var o;"string"==typeof e?(o=function(e){var t=e||"/",n="",r="",a=t.indexOf("#");-1!==a&&(r=t.substr(a),t=t.substr(0,a));var o=t.indexOf("?");return-1!==o&&(n=t.substr(o),t=t.substr(0,o)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}(e),o.state=t):(void 0===(o=(0,r.Z)({},e)).pathname&&(o.pathname=""),o.search?"?"!==o.search.charAt(0)&&(o.search="?"+o.search):o.search="",o.hash?"#"!==o.hash.charAt(0)&&(o.hash="#"+o.hash):o.hash="",void 0!==t&&void 0===o.state&&(o.state=t));try{o.pathname=decodeURI(o.pathname)}catch(l){throw l instanceof URIError?new URIError('Pathname "'+o.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):l}return n&&(o.key=n),a?o.pathname?"/"!==o.pathname.charAt(0)&&(o.pathname=i(o.pathname,a.pathname)):o.pathname=a.pathname:o.pathname||(o.pathname="/"),o}function g(){var e=null;var t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,a){if(null!=e){var o="function"==typeof e?e(t,n):e;"string"==typeof o?"function"==typeof r?r(o,a):a(!0):a(!1!==o)}else a(!0)},appendListener:function(e){var n=!0;function r(){n&&e.apply(void 0,arguments)}return t.push(r),function(){n=!1,t=t.filter((function(e){return e!==r}))}},notifyListeners:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];t.forEach((function(e){return e.apply(void 0,n)}))}}}var h=!("undefined"==typeof window||!window.document||!window.document.createElement);function m(e,t){t(window.confirm(e))}var y="popstate",b="hashchange";function v(){try{return window.history.state||{}}catch(e){return{}}}function w(e){void 0===e&&(e={}),h||(0,l.Z)(!1);var t,n=window.history,a=(-1===(t=window.navigator.userAgent).indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history,o=!(-1===window.navigator.userAgent.indexOf("Trident")),i=e,u=i.forceRefresh,w=void 0!==u&&u,k=i.getUserConfirmation,x=void 0===k?m:k,S=i.keyLength,E=void 0===S?6:S,_=e.basename?d(s(e.basename)):"";function C(e){var t=e||{},n=t.key,r=t.state,a=window.location,o=a.pathname+a.search+a.hash;return _&&(o=c(o,_)),p(o,r,n)}function T(){return Math.random().toString(36).substr(2,E)}var N=g();function A(e){(0,r.Z)($,e),$.length=n.length,N.notifyListeners($.location,$.action)}function j(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||P(C(e.state))}function L(){P(C(v()))}var O=!1;function P(e){if(O)O=!1,A();else{N.confirmTransitionTo(e,"POP",x,(function(t){t?A({action:"POP",location:e}):function(e){var t=$.location,n=I.indexOf(t.key);-1===n&&(n=0);var r=I.indexOf(e.key);-1===r&&(r=0);var a=n-r;a&&(O=!0,F(a))}(e)}))}}var R=C(v()),I=[R.key];function D(e){return _+f(e)}function F(e){n.go(e)}var M=0;function z(e){1===(M+=e)&&1===e?(window.addEventListener(y,j),o&&window.addEventListener(b,L)):0===M&&(window.removeEventListener(y,j),o&&window.removeEventListener(b,L))}var B=!1;var $={length:n.length,action:"POP",location:R,createHref:D,push:function(e,t){var r="PUSH",o=p(e,t,T(),$.location);N.confirmTransitionTo(o,r,x,(function(e){if(e){var t=D(o),i=o.key,l=o.state;if(a)if(n.pushState({key:i,state:l},null,t),w)window.location.href=t;else{var s=I.indexOf($.location.key),u=I.slice(0,s+1);u.push(o.key),I=u,A({action:r,location:o})}else window.location.href=t}}))},replace:function(e,t){var r="REPLACE",o=p(e,t,T(),$.location);N.confirmTransitionTo(o,r,x,(function(e){if(e){var t=D(o),i=o.key,l=o.state;if(a)if(n.replaceState({key:i,state:l},null,t),w)window.location.replace(t);else{var s=I.indexOf($.location.key);-1!==s&&(I[s]=o.key),A({action:r,location:o})}else window.location.replace(t)}}))},go:F,goBack:function(){F(-1)},goForward:function(){F(1)},block:function(e){void 0===e&&(e=!1);var t=N.setPrompt(e);return B||(z(1),B=!0),function(){return B&&(B=!1,z(-1)),t()}},listen:function(e){var t=N.appendListener(e);return z(1),function(){z(-1),t()}}};return $}var k="hashchange",x={hashbang:{encodePath:function(e){return"!"===e.charAt(0)?e:"!/"+u(e)},decodePath:function(e){return"!"===e.charAt(0)?e.substr(1):e}},noslash:{encodePath:u,decodePath:s},slash:{encodePath:s,decodePath:s}};function S(e){var t=e.indexOf("#");return-1===t?e:e.slice(0,t)}function E(){var e=window.location.href,t=e.indexOf("#");return-1===t?"":e.substring(t+1)}function _(e){window.location.replace(S(window.location.href)+"#"+e)}function C(e){void 0===e&&(e={}),h||(0,l.Z)(!1);var t=window.history,n=(window.navigator.userAgent.indexOf("Firefox"),e),a=n.getUserConfirmation,o=void 0===a?m:a,i=n.hashType,u=void 0===i?"slash":i,y=e.basename?d(s(e.basename)):"",b=x[u],v=b.encodePath,w=b.decodePath;function C(){var e=w(E());return y&&(e=c(e,y)),p(e)}var T=g();function N(e){(0,r.Z)(B,e),B.length=t.length,T.notifyListeners(B.location,B.action)}var A=!1,j=null;function L(){var e,t,n=E(),r=v(n);if(n!==r)_(r);else{var a=C(),i=B.location;if(!A&&(t=a,(e=i).pathname===t.pathname&&e.search===t.search&&e.hash===t.hash))return;if(j===f(a))return;j=null,function(e){if(A)A=!1,N();else{var t="POP";T.confirmTransitionTo(e,t,o,(function(n){n?N({action:t,location:e}):function(e){var t=B.location,n=I.lastIndexOf(f(t));-1===n&&(n=0);var r=I.lastIndexOf(f(e));-1===r&&(r=0);var a=n-r;a&&(A=!0,D(a))}(e)}))}}(a)}}var O=E(),P=v(O);O!==P&&_(P);var R=C(),I=[f(R)];function D(e){t.go(e)}var F=0;function M(e){1===(F+=e)&&1===e?window.addEventListener(k,L):0===F&&window.removeEventListener(k,L)}var z=!1;var B={length:t.length,action:"POP",location:R,createHref:function(e){var t=document.querySelector("base"),n="";return t&&t.getAttribute("href")&&(n=S(window.location.href)),n+"#"+v(y+f(e))},push:function(e,t){var n="PUSH",r=p(e,void 0,void 0,B.location);T.confirmTransitionTo(r,n,o,(function(e){if(e){var t=f(r),a=v(y+t);if(E()!==a){j=t,function(e){window.location.hash=e}(a);var o=I.lastIndexOf(f(B.location)),i=I.slice(0,o+1);i.push(t),I=i,N({action:n,location:r})}else N()}}))},replace:function(e,t){var n="REPLACE",r=p(e,void 0,void 0,B.location);T.confirmTransitionTo(r,n,o,(function(e){if(e){var t=f(r),a=v(y+t);E()!==a&&(j=t,_(a));var o=I.indexOf(f(B.location));-1!==o&&(I[o]=t),N({action:n,location:r})}}))},go:D,goBack:function(){D(-1)},goForward:function(){D(1)},block:function(e){void 0===e&&(e=!1);var t=T.setPrompt(e);return z||(M(1),z=!0),function(){return z&&(z=!1,M(-1)),t()}},listen:function(e){var t=T.appendListener(e);return M(1),function(){M(-1),t()}}};return B}function T(e,t,n){return Math.min(Math.max(e,t),n)}function N(e){void 0===e&&(e={});var t=e,n=t.getUserConfirmation,a=t.initialEntries,o=void 0===a?["/"]:a,i=t.initialIndex,l=void 0===i?0:i,s=t.keyLength,u=void 0===s?6:s,c=g();function d(e){(0,r.Z)(w,e),w.length=w.entries.length,c.notifyListeners(w.location,w.action)}function h(){return Math.random().toString(36).substr(2,u)}var m=T(l,0,o.length-1),y=o.map((function(e){return p(e,void 0,"string"==typeof e?h():e.key||h())})),b=f;function v(e){var t=T(w.index+e,0,w.entries.length-1),r=w.entries[t];c.confirmTransitionTo(r,"POP",n,(function(e){e?d({action:"POP",location:r,index:t}):d()}))}var w={length:y.length,action:"POP",location:y[m],index:m,entries:y,createHref:b,push:function(e,t){var r="PUSH",a=p(e,t,h(),w.location);c.confirmTransitionTo(a,r,n,(function(e){if(e){var t=w.index+1,n=w.entries.slice(0);n.length>t?n.splice(t,n.length-t,a):n.push(a),d({action:r,location:a,index:t,entries:n})}}))},replace:function(e,t){var r="REPLACE",a=p(e,t,h(),w.location);c.confirmTransitionTo(a,r,n,(function(e){e&&(w.entries[w.index]=a,d({action:r,location:a}))}))},go:v,goBack:function(){v(-1)},goForward:function(){v(1)},canGo:function(e){var t=w.index+e;return t>=0&&t<w.entries.length},block:function(e){return void 0===e&&(e=!1),c.setPrompt(e)},listen:function(e){return c.appendListener(e)}};return w}},8679:(e,t,n)=>{"use strict";var r=n(9864),a={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},l={};function s(e){return r.isMemo(e)?i:l[e.$$typeof]||a}l[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l[r.Memo]=i;var u=Object.defineProperty,c=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,g=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(g){var a=p(n);a&&a!==g&&e(t,a,r)}var i=c(n);d&&(i=i.concat(d(n)));for(var l=s(t),h=s(n),m=0;m<i.length;++m){var y=i[m];if(!(o[y]||r&&r[y]||h&&h[y]||l&&l[y])){var b=f(n,y);try{u(t,y,b)}catch(v){}}}}return t}},1143:e=>{"use strict";e.exports=function(e,t,n,r,a,o,i,l){if(!e){var s;if(void 0===t)s=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,r,a,o,i,l],c=0;(s=new Error(t.replace(/%s/g,(function(){return u[c++]})))).name="Invariant Violation"}throw s.framesToPop=1,s}}},5826:e=>{e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},2497:(e,t,n)=>{"use strict";n.r(t)},2295:(e,t,n)=>{"use strict";n.r(t)},4865:function(e,t,n){var r,a;r=function(){var e,t,n={version:"0.2.0"},r=n.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'};function a(e,t,n){return e<t?t:e>n?n:e}function o(e){return 100*(-1+e)}function i(e,t,n){var a;return(a="translate3d"===r.positionUsing?{transform:"translate3d("+o(e)+"%,0,0)"}:"translate"===r.positionUsing?{transform:"translate("+o(e)+"%,0)"}:{"margin-left":o(e)+"%"}).transition="all "+t+"ms "+n,a}n.configure=function(e){var t,n;for(t in e)void 0!==(n=e[t])&&e.hasOwnProperty(t)&&(r[t]=n);return this},n.status=null,n.set=function(e){var t=n.isStarted();e=a(e,r.minimum,1),n.status=1===e?null:e;var o=n.render(!t),u=o.querySelector(r.barSelector),c=r.speed,d=r.easing;return o.offsetWidth,l((function(t){""===r.positionUsing&&(r.positionUsing=n.getPositioningCSS()),s(u,i(e,c,d)),1===e?(s(o,{transition:"none",opacity:1}),o.offsetWidth,setTimeout((function(){s(o,{transition:"all "+c+"ms linear",opacity:0}),setTimeout((function(){n.remove(),t()}),c)}),c)):setTimeout(t,c)})),this},n.isStarted=function(){return"number"==typeof n.status},n.start=function(){n.status||n.set(0);var e=function(){setTimeout((function(){n.status&&(n.trickle(),e())}),r.trickleSpeed)};return r.trickle&&e(),this},n.done=function(e){return e||n.status?n.inc(.3+.5*Math.random()).set(1):this},n.inc=function(e){var t=n.status;return t?("number"!=typeof e&&(e=(1-t)*a(Math.random()*t,.1,.95)),t=a(t+e,0,.994),n.set(t)):n.start()},n.trickle=function(){return n.inc(Math.random()*r.trickleRate)},e=0,t=0,n.promise=function(r){return r&&"resolved"!==r.state()?(0===t&&n.start(),e++,t++,r.always((function(){0==--t?(e=0,n.done()):n.set((e-t)/e)})),this):this},n.render=function(e){if(n.isRendered())return document.getElementById("nprogress");c(document.documentElement,"nprogress-busy");var t=document.createElement("div");t.id="nprogress",t.innerHTML=r.template;var a,i=t.querySelector(r.barSelector),l=e?"-100":o(n.status||0),u=document.querySelector(r.parent);return s(i,{transition:"all 0 linear",transform:"translate3d("+l+"%,0,0)"}),r.showSpinner||(a=t.querySelector(r.spinnerSelector))&&p(a),u!=document.body&&c(u,"nprogress-custom-parent"),u.appendChild(t),t},n.remove=function(){d(document.documentElement,"nprogress-busy"),d(document.querySelector(r.parent),"nprogress-custom-parent");var e=document.getElementById("nprogress");e&&p(e)},n.isRendered=function(){return!!document.getElementById("nprogress")},n.getPositioningCSS=function(){var e=document.body.style,t="WebkitTransform"in e?"Webkit":"MozTransform"in e?"Moz":"msTransform"in e?"ms":"OTransform"in e?"O":"";return t+"Perspective"in e?"translate3d":t+"Transform"in e?"translate":"margin"};var l=function(){var e=[];function t(){var n=e.shift();n&&n(t)}return function(n){e.push(n),1==e.length&&t()}}(),s=function(){var e=["Webkit","O","Moz","ms"],t={};function n(e){return e.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,(function(e,t){return t.toUpperCase()}))}function r(t){var n=document.body.style;if(t in n)return t;for(var r,a=e.length,o=t.charAt(0).toUpperCase()+t.slice(1);a--;)if((r=e[a]+o)in n)return r;return t}function a(e){return e=n(e),t[e]||(t[e]=r(e))}function o(e,t,n){t=a(t),e.style[t]=n}return function(e,t){var n,r,a=arguments;if(2==a.length)for(n in t)void 0!==(r=t[n])&&t.hasOwnProperty(n)&&o(e,n,r);else o(e,a[1],a[2])}}();function u(e,t){return("string"==typeof e?e:f(e)).indexOf(" "+t+" ")>=0}function c(e,t){var n=f(e),r=n+t;u(n,t)||(e.className=r.substring(1))}function d(e,t){var n,r=f(e);u(e,t)&&(n=r.replace(" "+t+" "," "),e.className=n.substring(1,n.length-1))}function f(e){return(" "+(e.className||"")+" ").replace(/\s+/gi," ")}function p(e){e&&e.parentNode&&e.parentNode.removeChild(e)}return n},void 0===(a="function"==typeof r?r.call(t,n,t,e):r)||(e.exports=a)},7874:()=>{!function(e){var t="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",n={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},r={bash:n,environment:{pattern:RegExp("\\$"+t),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+t),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};e.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?:\.\w+)*(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+t),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},parameter:{pattern:/(^|\s)-{1,2}(?:\w+:[+-]?)?\w+(?:\.\w+)*(?=[=\s]|$)/,alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:r},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:n}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:r},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:r.entity}}],environment:{pattern:RegExp("\\$?"+t),alias:"constant"},variable:r.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cargo|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|java|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|sysctl|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},n.inside=e.languages.bash;for(var a=["comment","function-name","for-or-select","assign-left","parameter","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],o=r.variable[1].inside,i=0;i<a.length;i++)o[a[i]]=e.languages.bash[a[i]];e.languages.sh=e.languages.bash,e.languages.shell=e.languages.bash}(Prism)},2503:()=>{!function(e){var t=/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record(?!\s*[(){}[\]<>=%~.:,;?+\-*/&|^])|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,n=/(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,r={pattern:RegExp(/(^|[^\w.])/.source+n+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./}};e.languages.java=e.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"/,lookbehind:!0,greedy:!0},"class-name":[r,{pattern:RegExp(/(^|[^\w.])/.source+n+/[A-Z]\w*(?=\s+\w+\s*[;,=()]|\s*(?:\[[\s,]*\]\s*)?::\s*new\b)/.source),lookbehind:!0,inside:r.inside},{pattern:RegExp(/(\b(?:class|enum|extends|implements|instanceof|interface|new|record|throws)\s+)/.source+n+/[A-Z]\w*\b/.source),lookbehind:!0,inside:r.inside}],keyword:t,function:[e.languages.clike.function,{pattern:/(::\s*)[a-z_]\w*/,lookbehind:!0}],number:/\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0},constant:/\b[A-Z][A-Z_\d]+\b/}),e.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"},char:{pattern:/'(?:\\.|[^'\\\r\n]){1,6}'/,greedy:!0}}),e.languages.insertBefore("java","class-name",{annotation:{pattern:/(^|[^.])@\w+(?:\s*\.\s*\w+)*/,lookbehind:!0,alias:"punctuation"},generics:{pattern:/<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,inside:{"class-name":r,keyword:t,punctuation:/[<>(),.:]/,operator:/[?&|]/}},import:[{pattern:RegExp(/(\bimport\s+)/.source+n+/(?:[A-Z]\w*|\*)(?=\s*;)/.source),lookbehind:!0,inside:{namespace:r.inside.namespace,punctuation:/\./,operator:/\*/,"class-name":/\w+/}},{pattern:RegExp(/(\bimport\s+static\s+)/.source+n+/(?:\w+|\*)(?=\s*;)/.source),lookbehind:!0,alias:"static",inside:{namespace:r.inside.namespace,static:/\b\w+$/,punctuation:/\./,operator:/\*/,"class-name":/\w+/}}],namespace:{pattern:RegExp(/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)(?!<keyword>)[a-z]\w*(?:\.[a-z]\w*)*\.?/.source.replace(/<keyword>/g,(function(){return t.source}))),lookbehind:!0,inside:{punctuation:/\./}}})}(Prism)},6854:()=>{!function(e){function t(e,t){return"___"+e.toUpperCase()+t+"___"}Object.defineProperties(e.languages["markup-templating"]={},{buildPlaceholders:{value:function(n,r,a,o){if(n.language===r){var i=n.tokenStack=[];n.code=n.code.replace(a,(function(e){if("function"==typeof o&&!o(e))return e;for(var a,l=i.length;-1!==n.code.indexOf(a=t(r,l));)++l;return i[l]=e,a})),n.grammar=e.languages.markup}}},tokenizePlaceholders:{value:function(n,r){if(n.language===r&&n.tokenStack){n.grammar=e.languages[r];var a=0,o=Object.keys(n.tokenStack);!function i(l){for(var s=0;s<l.length&&!(a>=o.length);s++){var u=l[s];if("string"==typeof u||u.content&&"string"==typeof u.content){var c=o[a],d=n.tokenStack[c],f="string"==typeof u?u:u.content,p=t(r,c),g=f.indexOf(p);if(g>-1){++a;var h=f.substring(0,g),m=new e.Token(r,e.tokenize(d,n.grammar),"language-"+r,d),y=f.substring(g+p.length),b=[];h&&b.push.apply(b,i([h])),b.push(m),y&&b.push.apply(b,i([y])),"string"==typeof u?l.splice.apply(l,[s,1].concat(b)):u.content=b}}else u.content&&i(u.content)}return l}(n.tokens)}}}})}(Prism)},1349:(e,t,n)=>{var r={"./prism-bash":7874,"./prism-java":2503};function a(e){var t=o(e);return n(t)}function o(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}a.keys=function(){return Object.keys(r)},a.resolve=o,e.exports=a,a.id=1349},2703:(e,t,n)=>{"use strict";var r=n(414);function a(){}function o(){}o.resetWarningCache=a,e.exports=function(){function e(e,t,n,a,o,i){if(i!==r){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:a};return n.PropTypes=n,n}},5697:(e,t,n)=>{e.exports=n(2703)()},414:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},4448:(e,t,n)=>{"use strict";var r=n(7294),a=n(3840);function o(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var i=new Set,l={};function s(e,t){u(e,t),u(e+"Capture",t)}function u(e,t){for(l[e]=t,e=0;e<t.length;e++)i.add(t[e])}var c=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),d=Object.prototype.hasOwnProperty,f=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,p={},g={};function h(e,t,n,r,a,o,i){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=a,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=i}var m={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){m[e]=new h(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];m[t]=new h(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){m[e]=new h(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){m[e]=new h(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){m[e]=new h(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){m[e]=new h(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){m[e]=new h(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){m[e]=new h(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){m[e]=new h(e,5,!1,e.toLowerCase(),null,!1,!1)}));var y=/[\-:]([a-z])/g;function b(e){return e[1].toUpperCase()}function v(e,t,n,r){var a=m.hasOwnProperty(t)?m[t]:null;(null!==a?0!==a.type:r||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,a,r)&&(n=null),r||null===a?function(e){return!!d.call(g,e)||!d.call(p,e)&&(f.test(e)?g[e]=!0:(p[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):a.mustUseProperty?e[a.propertyName]=null===n?3!==a.type&&"":n:(t=a.attributeName,r=a.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(a=a.type)||4===a&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(y,b);m[t]=new h(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(y,b);m[t]=new h(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(y,b);m[t]=new h(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){m[e]=new h(e,1,!1,e.toLowerCase(),null,!1,!1)})),m.xlinkHref=new h("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){m[e]=new h(e,1,!1,e.toLowerCase(),null,!0,!0)}));var w=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,k=Symbol.for("react.element"),x=Symbol.for("react.portal"),S=Symbol.for("react.fragment"),E=Symbol.for("react.strict_mode"),_=Symbol.for("react.profiler"),C=Symbol.for("react.provider"),T=Symbol.for("react.context"),N=Symbol.for("react.forward_ref"),A=Symbol.for("react.suspense"),j=Symbol.for("react.suspense_list"),L=Symbol.for("react.memo"),O=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var P=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var R=Symbol.iterator;function I(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=R&&e[R]||e["@@iterator"])?e:null}var D,F=Object.assign;function M(e){if(void 0===D)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);D=t&&t[1]||""}return"\n"+D+e}var z=!1;function B(e,t){if(!e||z)return"";z=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}catch(u){if(u&&r&&"string"==typeof u.stack){for(var a=u.stack.split("\n"),o=r.stack.split("\n"),i=a.length-1,l=o.length-1;1<=i&&0<=l&&a[i]!==o[l];)l--;for(;1<=i&&0<=l;i--,l--)if(a[i]!==o[l]){if(1!==i||1!==l)do{if(i--,0>--l||a[i]!==o[l]){var s="\n"+a[i].replace(" at new "," at ");return e.displayName&&s.includes("<anonymous>")&&(s=s.replace("<anonymous>",e.displayName)),s}}while(1<=i&&0<=l);break}}}finally{z=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?M(e):""}function $(e){switch(e.tag){case 5:return M(e.type);case 16:return M("Lazy");case 13:return M("Suspense");case 19:return M("SuspenseList");case 0:case 2:case 15:return e=B(e.type,!1);case 11:return e=B(e.type.render,!1);case 1:return e=B(e.type,!0);default:return""}}function U(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case S:return"Fragment";case x:return"Portal";case _:return"Profiler";case E:return"StrictMode";case A:return"Suspense";case j:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case T:return(e.displayName||"Context")+".Consumer";case C:return(e._context.displayName||"Context")+".Provider";case N:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case L:return null!==(t=e.displayName||null)?t:U(e.type)||"Memo";case O:t=e._payload,e=e._init;try{return U(e(t))}catch(n){}}return null}function Z(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return U(t);case 8:return t===E?"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("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t}return null}function H(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function V(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function W(e){e._valueTracker||(e._valueTracker=function(e){var t=V(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var a=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return a.call(this)},set:function(e){r=""+e,o.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function G(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=V(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function q(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function Y(e,t){var n=t.checked;return F({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function K(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=H(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function Q(e,t){null!=(t=t.checked)&&v(e,"checked",t,!1)}function X(e,t){Q(e,t);var n=H(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?ee(e,t.type,n):t.hasOwnProperty("defaultValue")&&ee(e,t.type,H(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function J(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function ee(e,t,n){"number"===t&&q(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var te=Array.isArray;function ne(e,t,n,r){if(e=e.options,t){t={};for(var a=0;a<n.length;a++)t["$"+n[a]]=!0;for(n=0;n<e.length;n++)a=t.hasOwnProperty("$"+e[n].value),e[n].selected!==a&&(e[n].selected=a),a&&r&&(e[n].defaultSelected=!0)}else{for(n=""+H(n),t=null,a=0;a<e.length;a++){if(e[a].value===n)return e[a].selected=!0,void(r&&(e[a].defaultSelected=!0));null!==t||e[a].disabled||(t=e[a])}null!==t&&(t.selected=!0)}}function re(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(o(91));return F({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function ae(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(o(92));if(te(n)){if(1<n.length)throw Error(o(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:H(n)}}function oe(e,t){var n=H(t.value),r=H(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function ie(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function le(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function se(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?le(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var ue,ce,de=(ce=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((ue=ue||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ue.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return ce(e,t)}))}:ce);function fe(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var pe={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},ge=["Webkit","ms","Moz","O"];function he(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||pe.hasOwnProperty(e)&&pe[e]?(""+t).trim():t+"px"}function me(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),a=he(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,a):e[n]=a}}Object.keys(pe).forEach((function(e){ge.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),pe[t]=pe[e]}))}));var ye=F({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 be(e,t){if(t){if(ye[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(o(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(o(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(o(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(o(62))}}function ve(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var we=null;function ke(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var xe=null,Se=null,Ee=null;function _e(e){if(e=va(e)){if("function"!=typeof xe)throw Error(o(280));var t=e.stateNode;t&&(t=ka(t),xe(e.stateNode,e.type,t))}}function Ce(e){Se?Ee?Ee.push(e):Ee=[e]:Se=e}function Te(){if(Se){var e=Se,t=Ee;if(Ee=Se=null,_e(e),t)for(e=0;e<t.length;e++)_e(t[e])}}function Ne(e,t){return e(t)}function Ae(){}var je=!1;function Le(e,t,n){if(je)return e(t,n);je=!0;try{return Ne(e,t,n)}finally{je=!1,(null!==Se||null!==Ee)&&(Ae(),Te())}}function Oe(e,t){var n=e.stateNode;if(null===n)return null;var r=ka(n);if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(o(231,t,typeof n));return n}var Pe=!1;if(c)try{var Re={};Object.defineProperty(Re,"passive",{get:function(){Pe=!0}}),window.addEventListener("test",Re,Re),window.removeEventListener("test",Re,Re)}catch(ce){Pe=!1}function Ie(e,t,n,r,a,o,i,l,s){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(c){this.onError(c)}}var De=!1,Fe=null,Me=!1,ze=null,Be={onError:function(e){De=!0,Fe=e}};function $e(e,t,n,r,a,o,i,l,s){De=!1,Fe=null,Ie.apply(Be,arguments)}function Ue(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!=(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function Ze(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function He(e){if(Ue(e)!==e)throw Error(o(188))}function Ve(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=Ue(e)))throw Error(o(188));return t!==e?null:e}for(var n=e,r=t;;){var a=n.return;if(null===a)break;var i=a.alternate;if(null===i){if(null!==(r=a.return)){n=r;continue}break}if(a.child===i.child){for(i=a.child;i;){if(i===n)return He(a),e;if(i===r)return He(a),t;i=i.sibling}throw Error(o(188))}if(n.return!==r.return)n=a,r=i;else{for(var l=!1,s=a.child;s;){if(s===n){l=!0,n=a,r=i;break}if(s===r){l=!0,r=a,n=i;break}s=s.sibling}if(!l){for(s=i.child;s;){if(s===n){l=!0,n=i,r=a;break}if(s===r){l=!0,r=i,n=a;break}s=s.sibling}if(!l)throw Error(o(189))}}if(n.alternate!==r)throw Error(o(190))}if(3!==n.tag)throw Error(o(188));return n.stateNode.current===n?e:t}(e))?We(e):null}function We(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=We(e);if(null!==t)return t;e=e.sibling}return null}var Ge=a.unstable_scheduleCallback,qe=a.unstable_cancelCallback,Ye=a.unstable_shouldYield,Ke=a.unstable_requestPaint,Qe=a.unstable_now,Xe=a.unstable_getCurrentPriorityLevel,Je=a.unstable_ImmediatePriority,et=a.unstable_UserBlockingPriority,tt=a.unstable_NormalPriority,nt=a.unstable_LowPriority,rt=a.unstable_IdlePriority,at=null,ot=null;var it=Math.clz32?Math.clz32:function(e){return e>>>=0,0===e?32:31-(lt(e)/st|0)|0},lt=Math.log,st=Math.LN2;var ut=64,ct=4194304;function dt(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 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function ft(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,a=e.suspendedLanes,o=e.pingedLanes,i=268435455&n;if(0!==i){var l=i&~a;0!==l?r=dt(l):0!==(o&=i)&&(r=dt(o))}else 0!==(i=n&~a)?r=dt(i):0!==o&&(r=dt(o));if(0===r)return 0;if(0!==t&&t!==r&&0==(t&a)&&((a=r&-r)>=(o=t&-t)||16===a&&0!=(4194240&o)))return t;if(0!=(4&r)&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)a=1<<(n=31-it(t)),r|=e[n],t&=~a;return r}function pt(e,t){switch(e){case 1:case 2:case 4:return t+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 t+5e3;default:return-1}}function gt(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function ht(){var e=ut;return 0==(4194240&(ut<<=1))&&(ut=64),e}function mt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function yt(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-it(t)]=n}function bt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-it(n),a=1<<r;a&t|e[r]&t&&(e[r]|=t),n&=~a}}var vt=0;function wt(e){return 1<(e&=-e)?4<e?0!=(268435455&e)?16:536870912:4:1}var kt,xt,St,Et,_t,Ct=!1,Tt=[],Nt=null,At=null,jt=null,Lt=new Map,Ot=new Map,Pt=[],Rt="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 It(e,t){switch(e){case"focusin":case"focusout":Nt=null;break;case"dragenter":case"dragleave":At=null;break;case"mouseover":case"mouseout":jt=null;break;case"pointerover":case"pointerout":Lt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Ot.delete(t.pointerId)}}function Dt(e,t,n,r,a,o){return null===e||e.nativeEvent!==o?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:o,targetContainers:[a]},null!==t&&(null!==(t=va(t))&&xt(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==a&&-1===t.indexOf(a)&&t.push(a),e)}function Ft(e){var t=ba(e.target);if(null!==t){var n=Ue(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=Ze(n)))return e.blockedOn=t,void _t(e.priority,(function(){St(n)}))}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Mt(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Yt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=va(n))&&xt(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);we=r,n.target.dispatchEvent(r),we=null,t.shift()}return!0}function zt(e,t,n){Mt(e)&&n.delete(t)}function Bt(){Ct=!1,null!==Nt&&Mt(Nt)&&(Nt=null),null!==At&&Mt(At)&&(At=null),null!==jt&&Mt(jt)&&(jt=null),Lt.forEach(zt),Ot.forEach(zt)}function $t(e,t){e.blockedOn===t&&(e.blockedOn=null,Ct||(Ct=!0,a.unstable_scheduleCallback(a.unstable_NormalPriority,Bt)))}function Ut(e){function t(t){return $t(t,e)}if(0<Tt.length){$t(Tt[0],e);for(var n=1;n<Tt.length;n++){var r=Tt[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==Nt&&$t(Nt,e),null!==At&&$t(At,e),null!==jt&&$t(jt,e),Lt.forEach(t),Ot.forEach(t),n=0;n<Pt.length;n++)(r=Pt[n]).blockedOn===e&&(r.blockedOn=null);for(;0<Pt.length&&null===(n=Pt[0]).blockedOn;)Ft(n),null===n.blockedOn&&Pt.shift()}var Zt=w.ReactCurrentBatchConfig,Ht=!0;function Vt(e,t,n,r){var a=vt,o=Zt.transition;Zt.transition=null;try{vt=1,Gt(e,t,n,r)}finally{vt=a,Zt.transition=o}}function Wt(e,t,n,r){var a=vt,o=Zt.transition;Zt.transition=null;try{vt=4,Gt(e,t,n,r)}finally{vt=a,Zt.transition=o}}function Gt(e,t,n,r){if(Ht){var a=Yt(e,t,n,r);if(null===a)Hr(e,t,r,qt,n),It(e,r);else if(function(e,t,n,r,a){switch(t){case"focusin":return Nt=Dt(Nt,e,t,n,r,a),!0;case"dragenter":return At=Dt(At,e,t,n,r,a),!0;case"mouseover":return jt=Dt(jt,e,t,n,r,a),!0;case"pointerover":var o=a.pointerId;return Lt.set(o,Dt(Lt.get(o)||null,e,t,n,r,a)),!0;case"gotpointercapture":return o=a.pointerId,Ot.set(o,Dt(Ot.get(o)||null,e,t,n,r,a)),!0}return!1}(a,e,t,n,r))r.stopPropagation();else if(It(e,r),4&t&&-1<Rt.indexOf(e)){for(;null!==a;){var o=va(a);if(null!==o&&kt(o),null===(o=Yt(e,t,n,r))&&Hr(e,t,r,qt,n),o===a)break;a=o}null!==a&&r.stopPropagation()}else Hr(e,t,r,null,n)}}var qt=null;function Yt(e,t,n,r){if(qt=null,null!==(e=ba(e=ke(r))))if(null===(t=Ue(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=Ze(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return qt=e,null}function Kt(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(Xe()){case Je:return 1;case et:return 4;case tt:case nt:return 16;case rt:return 536870912;default:return 16}default:return 16}}var Qt=null,Xt=null,Jt=null;function en(){if(Jt)return Jt;var e,t,n=Xt,r=n.length,a="value"in Qt?Qt.value:Qt.textContent,o=a.length;for(e=0;e<r&&n[e]===a[e];e++);var i=r-e;for(t=1;t<=i&&n[r-t]===a[o-t];t++);return Jt=a.slice(e,1<t?1-t:void 0)}function tn(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function nn(){return!0}function rn(){return!1}function an(e){function t(t,n,r,a,o){for(var i in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=a,this.target=o,this.currentTarget=null,e)e.hasOwnProperty(i)&&(t=e[i],this[i]=t?t(a):a[i]);return this.isDefaultPrevented=(null!=a.defaultPrevented?a.defaultPrevented:!1===a.returnValue)?nn:rn,this.isPropagationStopped=rn,this}return F(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=nn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=nn)},persist:function(){},isPersistent:nn}),t}var on,ln,sn,un={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},cn=an(un),dn=F({},un,{view:0,detail:0}),fn=an(dn),pn=F({},dn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:_n,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==sn&&(sn&&"mousemove"===e.type?(on=e.screenX-sn.screenX,ln=e.screenY-sn.screenY):ln=on=0,sn=e),on)},movementY:function(e){return"movementY"in e?e.movementY:ln}}),gn=an(pn),hn=an(F({},pn,{dataTransfer:0})),mn=an(F({},dn,{relatedTarget:0})),yn=an(F({},un,{animationName:0,elapsedTime:0,pseudoElement:0})),bn=F({},un,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),vn=an(bn),wn=an(F({},un,{data:0})),kn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},xn={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"},Sn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function En(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Sn[e])&&!!t[e]}function _n(){return En}var Cn=F({},dn,{key:function(e){if(e.key){var t=kn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=tn(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?xn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:_n,charCode:function(e){return"keypress"===e.type?tn(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tn(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),Tn=an(Cn),Nn=an(F({},pn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),An=an(F({},dn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:_n})),jn=an(F({},un,{propertyName:0,elapsedTime:0,pseudoElement:0})),Ln=F({},pn,{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}),On=an(Ln),Pn=[9,13,27,32],Rn=c&&"CompositionEvent"in window,In=null;c&&"documentMode"in document&&(In=document.documentMode);var Dn=c&&"TextEvent"in window&&!In,Fn=c&&(!Rn||In&&8<In&&11>=In),Mn=String.fromCharCode(32),zn=!1;function Bn(e,t){switch(e){case"keyup":return-1!==Pn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function $n(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Un=!1;var Zn={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 Hn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Zn[e.type]:"textarea"===t}function Vn(e,t,n,r){Ce(r),0<(t=Wr(t,"onChange")).length&&(n=new cn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Wn=null,Gn=null;function qn(e){Mr(e,0)}function Yn(e){if(G(wa(e)))return e}function Kn(e,t){if("change"===e)return t}var Qn=!1;if(c){var Xn;if(c){var Jn="oninput"in document;if(!Jn){var er=document.createElement("div");er.setAttribute("oninput","return;"),Jn="function"==typeof er.oninput}Xn=Jn}else Xn=!1;Qn=Xn&&(!document.documentMode||9<document.documentMode)}function tr(){Wn&&(Wn.detachEvent("onpropertychange",nr),Gn=Wn=null)}function nr(e){if("value"===e.propertyName&&Yn(Gn)){var t=[];Vn(t,Gn,e,ke(e)),Le(qn,t)}}function rr(e,t,n){"focusin"===e?(tr(),Gn=n,(Wn=t).attachEvent("onpropertychange",nr)):"focusout"===e&&tr()}function ar(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Yn(Gn)}function or(e,t){if("click"===e)return Yn(t)}function ir(e,t){if("input"===e||"change"===e)return Yn(t)}var lr="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function sr(e,t){if(lr(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var a=n[r];if(!d.call(t,a)||!lr(e[a],t[a]))return!1}return!0}function ur(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function cr(e,t){var n,r=ur(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=ur(r)}}function dr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?dr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function fr(){for(var e=window,t=q();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=q((e=t.contentWindow).document)}return t}function pr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function gr(e){var t=fr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&dr(n.ownerDocument.documentElement,n)){if(null!==r&&pr(n))if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var a=n.textContent.length,o=Math.min(r.start,a);r=void 0===r.end?o:Math.min(r.end,a),!e.extend&&o>r&&(a=r,r=o,o=a),a=cr(n,o);var i=cr(n,r);a&&i&&(1!==e.rangeCount||e.anchorNode!==a.node||e.anchorOffset!==a.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&((t=t.createRange()).setStart(a.node,a.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof n.focus&&n.focus(),n=0;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var hr=c&&"documentMode"in document&&11>=document.documentMode,mr=null,yr=null,br=null,vr=!1;function wr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;vr||null==mr||mr!==q(r)||("selectionStart"in(r=mr)&&pr(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},br&&sr(br,r)||(br=r,0<(r=Wr(yr,"onSelect")).length&&(t=new cn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=mr)))}function kr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var xr={animationend:kr("Animation","AnimationEnd"),animationiteration:kr("Animation","AnimationIteration"),animationstart:kr("Animation","AnimationStart"),transitionend:kr("Transition","TransitionEnd")},Sr={},Er={};function _r(e){if(Sr[e])return Sr[e];if(!xr[e])return e;var t,n=xr[e];for(t in n)if(n.hasOwnProperty(t)&&t in Er)return Sr[e]=n[t];return e}c&&(Er=document.createElement("div").style,"AnimationEvent"in window||(delete xr.animationend.animation,delete xr.animationiteration.animation,delete xr.animationstart.animation),"TransitionEvent"in window||delete xr.transitionend.transition);var Cr=_r("animationend"),Tr=_r("animationiteration"),Nr=_r("animationstart"),Ar=_r("transitionend"),jr=new Map,Lr="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 Or(e,t){jr.set(e,t),s(t,[e])}for(var Pr=0;Pr<Lr.length;Pr++){var Rr=Lr[Pr];Or(Rr.toLowerCase(),"on"+(Rr[0].toUpperCase()+Rr.slice(1)))}Or(Cr,"onAnimationEnd"),Or(Tr,"onAnimationIteration"),Or(Nr,"onAnimationStart"),Or("dblclick","onDoubleClick"),Or("focusin","onFocus"),Or("focusout","onBlur"),Or(Ar,"onTransitionEnd"),u("onMouseEnter",["mouseout","mouseover"]),u("onMouseLeave",["mouseout","mouseover"]),u("onPointerEnter",["pointerout","pointerover"]),u("onPointerLeave",["pointerout","pointerover"]),s("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),s("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),s("onBeforeInput",["compositionend","keypress","textInput","paste"]),s("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),s("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),s("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Ir="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(" "),Dr=new Set("cancel close invalid load scroll toggle".split(" ").concat(Ir));function Fr(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,a,i,l,s,u){if($e.apply(this,arguments),De){if(!De)throw Error(o(198));var c=Fe;De=!1,Fe=null,Me||(Me=!0,ze=c)}}(r,t,void 0,e),e.currentTarget=null}function Mr(e,t){t=0!=(4&t);for(var n=0;n<e.length;n++){var r=e[n],a=r.event;r=r.listeners;e:{var o=void 0;if(t)for(var i=r.length-1;0<=i;i--){var l=r[i],s=l.instance,u=l.currentTarget;if(l=l.listener,s!==o&&a.isPropagationStopped())break e;Fr(a,l,u),o=s}else for(i=0;i<r.length;i++){if(s=(l=r[i]).instance,u=l.currentTarget,l=l.listener,s!==o&&a.isPropagationStopped())break e;Fr(a,l,u),o=s}}}if(Me)throw e=ze,Me=!1,ze=null,e}function zr(e,t){var n=t[ha];void 0===n&&(n=t[ha]=new Set);var r=e+"__bubble";n.has(r)||(Zr(t,e,2,!1),n.add(r))}function Br(e,t,n){var r=0;t&&(r|=4),Zr(n,e,r,t)}var $r="_reactListening"+Math.random().toString(36).slice(2);function Ur(e){if(!e[$r]){e[$r]=!0,i.forEach((function(t){"selectionchange"!==t&&(Dr.has(t)||Br(t,!1,e),Br(t,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[$r]||(t[$r]=!0,Br("selectionchange",!1,t))}}function Zr(e,t,n,r){switch(Kt(t)){case 1:var a=Vt;break;case 4:a=Wt;break;default:a=Gt}n=a.bind(null,t,n,e),a=void 0,!Pe||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(a=!0),r?void 0!==a?e.addEventListener(t,n,{capture:!0,passive:a}):e.addEventListener(t,n,!0):void 0!==a?e.addEventListener(t,n,{passive:a}):e.addEventListener(t,n,!1)}function Hr(e,t,n,r,a){var o=r;if(0==(1&t)&&0==(2&t)&&null!==r)e:for(;;){if(null===r)return;var i=r.tag;if(3===i||4===i){var l=r.stateNode.containerInfo;if(l===a||8===l.nodeType&&l.parentNode===a)break;if(4===i)for(i=r.return;null!==i;){var s=i.tag;if((3===s||4===s)&&((s=i.stateNode.containerInfo)===a||8===s.nodeType&&s.parentNode===a))return;i=i.return}for(;null!==l;){if(null===(i=ba(l)))return;if(5===(s=i.tag)||6===s){r=o=i;continue e}l=l.parentNode}}r=r.return}Le((function(){var r=o,a=ke(n),i=[];e:{var l=jr.get(e);if(void 0!==l){var s=cn,u=e;switch(e){case"keypress":if(0===tn(n))break e;case"keydown":case"keyup":s=Tn;break;case"focusin":u="focus",s=mn;break;case"focusout":u="blur",s=mn;break;case"beforeblur":case"afterblur":s=mn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":s=gn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":s=hn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":s=An;break;case Cr:case Tr:case Nr:s=yn;break;case Ar:s=jn;break;case"scroll":s=fn;break;case"wheel":s=On;break;case"copy":case"cut":case"paste":s=vn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":s=Nn}var c=0!=(4&t),d=!c&&"scroll"===e,f=c?null!==l?l+"Capture":null:l;c=[];for(var p,g=r;null!==g;){var h=(p=g).stateNode;if(5===p.tag&&null!==h&&(p=h,null!==f&&(null!=(h=Oe(g,f))&&c.push(Vr(g,h,p)))),d)break;g=g.return}0<c.length&&(l=new s(l,u,null,n,a),i.push({event:l,listeners:c}))}}if(0==(7&t)){if(s="mouseout"===e||"pointerout"===e,(!(l="mouseover"===e||"pointerover"===e)||n===we||!(u=n.relatedTarget||n.fromElement)||!ba(u)&&!u[ga])&&(s||l)&&(l=a.window===a?a:(l=a.ownerDocument)?l.defaultView||l.parentWindow:window,s?(s=r,null!==(u=(u=n.relatedTarget||n.toElement)?ba(u):null)&&(u!==(d=Ue(u))||5!==u.tag&&6!==u.tag)&&(u=null)):(s=null,u=r),s!==u)){if(c=gn,h="onMouseLeave",f="onMouseEnter",g="mouse","pointerout"!==e&&"pointerover"!==e||(c=Nn,h="onPointerLeave",f="onPointerEnter",g="pointer"),d=null==s?l:wa(s),p=null==u?l:wa(u),(l=new c(h,g+"leave",s,n,a)).target=d,l.relatedTarget=p,h=null,ba(a)===r&&((c=new c(f,g+"enter",u,n,a)).target=p,c.relatedTarget=d,h=c),d=h,s&&u)e:{for(f=u,g=0,p=c=s;p;p=Gr(p))g++;for(p=0,h=f;h;h=Gr(h))p++;for(;0<g-p;)c=Gr(c),g--;for(;0<p-g;)f=Gr(f),p--;for(;g--;){if(c===f||null!==f&&c===f.alternate)break e;c=Gr(c),f=Gr(f)}c=null}else c=null;null!==s&&qr(i,l,s,c,!1),null!==u&&null!==d&&qr(i,d,u,c,!0)}if("select"===(s=(l=r?wa(r):window).nodeName&&l.nodeName.toLowerCase())||"input"===s&&"file"===l.type)var m=Kn;else if(Hn(l))if(Qn)m=ir;else{m=ar;var y=rr}else(s=l.nodeName)&&"input"===s.toLowerCase()&&("checkbox"===l.type||"radio"===l.type)&&(m=or);switch(m&&(m=m(e,r))?Vn(i,m,n,a):(y&&y(e,l,r),"focusout"===e&&(y=l._wrapperState)&&y.controlled&&"number"===l.type&&ee(l,"number",l.value)),y=r?wa(r):window,e){case"focusin":(Hn(y)||"true"===y.contentEditable)&&(mr=y,yr=r,br=null);break;case"focusout":br=yr=mr=null;break;case"mousedown":vr=!0;break;case"contextmenu":case"mouseup":case"dragend":vr=!1,wr(i,n,a);break;case"selectionchange":if(hr)break;case"keydown":case"keyup":wr(i,n,a)}var b;if(Rn)e:{switch(e){case"compositionstart":var v="onCompositionStart";break e;case"compositionend":v="onCompositionEnd";break e;case"compositionupdate":v="onCompositionUpdate";break e}v=void 0}else Un?Bn(e,n)&&(v="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(v="onCompositionStart");v&&(Fn&&"ko"!==n.locale&&(Un||"onCompositionStart"!==v?"onCompositionEnd"===v&&Un&&(b=en()):(Xt="value"in(Qt=a)?Qt.value:Qt.textContent,Un=!0)),0<(y=Wr(r,v)).length&&(v=new wn(v,e,null,n,a),i.push({event:v,listeners:y}),b?v.data=b:null!==(b=$n(n))&&(v.data=b))),(b=Dn?function(e,t){switch(e){case"compositionend":return $n(t);case"keypress":return 32!==t.which?null:(zn=!0,Mn);case"textInput":return(e=t.data)===Mn&&zn?null:e;default:return null}}(e,n):function(e,t){if(Un)return"compositionend"===e||!Rn&&Bn(e,t)?(e=en(),Jt=Xt=Qt=null,Un=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Fn&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(r=Wr(r,"onBeforeInput")).length&&(a=new wn("onBeforeInput","beforeinput",null,n,a),i.push({event:a,listeners:r}),a.data=b))}Mr(i,t)}))}function Vr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Wr(e,t){for(var n=t+"Capture",r=[];null!==e;){var a=e,o=a.stateNode;5===a.tag&&null!==o&&(a=o,null!=(o=Oe(e,n))&&r.unshift(Vr(e,o,a)),null!=(o=Oe(e,t))&&r.push(Vr(e,o,a))),e=e.return}return r}function Gr(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function qr(e,t,n,r,a){for(var o=t._reactName,i=[];null!==n&&n!==r;){var l=n,s=l.alternate,u=l.stateNode;if(null!==s&&s===r)break;5===l.tag&&null!==u&&(l=u,a?null!=(s=Oe(n,o))&&i.unshift(Vr(n,s,l)):a||null!=(s=Oe(n,o))&&i.push(Vr(n,s,l))),n=n.return}0!==i.length&&e.push({event:t,listeners:i})}var Yr=/\r\n?/g,Kr=/\u0000|\uFFFD/g;function Qr(e){return("string"==typeof e?e:""+e).replace(Yr,"\n").replace(Kr,"")}function Xr(e,t,n){if(t=Qr(t),Qr(e)!==t&&n)throw Error(o(425))}function Jr(){}var ea=null,ta=null;function na(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var ra="function"==typeof setTimeout?setTimeout:void 0,aa="function"==typeof clearTimeout?clearTimeout:void 0,oa="function"==typeof Promise?Promise:void 0,ia="function"==typeof queueMicrotask?queueMicrotask:void 0!==oa?function(e){return oa.resolve(null).then(e).catch(la)}:ra;function la(e){setTimeout((function(){throw e}))}function sa(e,t){var n=t,r=0;do{var a=n.nextSibling;if(e.removeChild(n),a&&8===a.nodeType)if("/$"===(n=a.data)){if(0===r)return e.removeChild(a),void Ut(t);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=a}while(n);Ut(t)}function ua(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function ca(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var da=Math.random().toString(36).slice(2),fa="__reactFiber$"+da,pa="__reactProps$"+da,ga="__reactContainer$"+da,ha="__reactEvents$"+da,ma="__reactListeners$"+da,ya="__reactHandles$"+da;function ba(e){var t=e[fa];if(t)return t;for(var n=e.parentNode;n;){if(t=n[ga]||n[fa]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=ca(e);null!==e;){if(n=e[fa])return n;e=ca(e)}return t}n=(e=n).parentNode}return null}function va(e){return!(e=e[fa]||e[ga])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function wa(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(o(33))}function ka(e){return e[pa]||null}var xa=[],Sa=-1;function Ea(e){return{current:e}}function _a(e){0>Sa||(e.current=xa[Sa],xa[Sa]=null,Sa--)}function Ca(e,t){Sa++,xa[Sa]=e.current,e.current=t}var Ta={},Na=Ea(Ta),Aa=Ea(!1),ja=Ta;function La(e,t){var n=e.type.contextTypes;if(!n)return Ta;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var a,o={};for(a in n)o[a]=t[a];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Oa(e){return null!=(e=e.childContextTypes)}function Pa(){_a(Aa),_a(Na)}function Ra(e,t,n){if(Na.current!==Ta)throw Error(o(168));Ca(Na,t),Ca(Aa,n)}function Ia(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var a in r=r.getChildContext())if(!(a in t))throw Error(o(108,Z(e)||"Unknown",a));return F({},n,r)}function Da(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Ta,ja=Na.current,Ca(Na,e),Ca(Aa,Aa.current),!0}function Fa(e,t,n){var r=e.stateNode;if(!r)throw Error(o(169));n?(e=Ia(e,t,ja),r.__reactInternalMemoizedMergedChildContext=e,_a(Aa),_a(Na),Ca(Na,e)):_a(Aa),Ca(Aa,n)}var Ma=null,za=!1,Ba=!1;function $a(e){null===Ma?Ma=[e]:Ma.push(e)}function Ua(){if(!Ba&&null!==Ma){Ba=!0;var e=0,t=vt;try{var n=Ma;for(vt=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}Ma=null,za=!1}catch(a){throw null!==Ma&&(Ma=Ma.slice(e+1)),Ge(Je,Ua),a}finally{vt=t,Ba=!1}}return null}var Za=[],Ha=0,Va=null,Wa=0,Ga=[],qa=0,Ya=null,Ka=1,Qa="";function Xa(e,t){Za[Ha++]=Wa,Za[Ha++]=Va,Va=e,Wa=t}function Ja(e,t,n){Ga[qa++]=Ka,Ga[qa++]=Qa,Ga[qa++]=Ya,Ya=e;var r=Ka;e=Qa;var a=32-it(r)-1;r&=~(1<<a),n+=1;var o=32-it(t)+a;if(30<o){var i=a-a%5;o=(r&(1<<i)-1).toString(32),r>>=i,a-=i,Ka=1<<32-it(t)+a|n<<a|r,Qa=o+e}else Ka=1<<o|n<<a|r,Qa=e}function eo(e){null!==e.return&&(Xa(e,1),Ja(e,1,0))}function to(e){for(;e===Va;)Va=Za[--Ha],Za[Ha]=null,Wa=Za[--Ha],Za[Ha]=null;for(;e===Ya;)Ya=Ga[--qa],Ga[qa]=null,Qa=Ga[--qa],Ga[qa]=null,Ka=Ga[--qa],Ga[qa]=null}var no=null,ro=null,ao=!1,oo=null;function io(e,t){var n=Ou(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,null===(t=e.deletions)?(e.deletions=[n],e.flags|=16):t.push(n)}function lo(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,no=e,ro=ua(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,no=e,ro=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==Ya?{id:Ka,overflow:Qa}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=Ou(18,null,null,0)).stateNode=t,n.return=e,e.child=n,no=e,ro=null,!0);default:return!1}}function so(e){return 0!=(1&e.mode)&&0==(128&e.flags)}function uo(e){if(ao){var t=ro;if(t){var n=t;if(!lo(e,t)){if(so(e))throw Error(o(418));t=ua(n.nextSibling);var r=no;t&&lo(e,t)?io(r,n):(e.flags=-4097&e.flags|2,ao=!1,no=e)}}else{if(so(e))throw Error(o(418));e.flags=-4097&e.flags|2,ao=!1,no=e}}}function co(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;no=e}function fo(e){if(e!==no)return!1;if(!ao)return co(e),ao=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!na(e.type,e.memoizedProps)),t&&(t=ro)){if(so(e))throw po(),Error(o(418));for(;t;)io(e,t),t=ua(t.nextSibling)}if(co(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(o(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){ro=ua(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}ro=null}}else ro=no?ua(e.stateNode.nextSibling):null;return!0}function po(){for(var e=ro;e;)e=ua(e.nextSibling)}function go(){ro=no=null,ao=!1}function ho(e){null===oo?oo=[e]:oo.push(e)}var mo=w.ReactCurrentBatchConfig;function yo(e,t){if(e&&e.defaultProps){for(var n in t=F({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var bo=Ea(null),vo=null,wo=null,ko=null;function xo(){ko=wo=vo=null}function So(e){var t=bo.current;_a(bo),e._currentValue=t}function Eo(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function _o(e,t){vo=e,ko=wo=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&t)&&(wl=!0),e.firstContext=null)}function Co(e){var t=e._currentValue;if(ko!==e)if(e={context:e,memoizedValue:t,next:null},null===wo){if(null===vo)throw Error(o(308));wo=e,vo.dependencies={lanes:0,firstContext:e}}else wo=wo.next=e;return t}var To=null;function No(e){null===To?To=[e]:To.push(e)}function Ao(e,t,n,r){var a=t.interleaved;return null===a?(n.next=n,No(t)):(n.next=a.next,a.next=n),t.interleaved=n,jo(e,r)}function jo(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}var Lo=!1;function Oo(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Po(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Ro(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Io(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,0!=(2&As)){var a=r.pending;return null===a?t.next=t:(t.next=a.next,a.next=t),r.pending=t,jo(e,n)}return null===(a=r.interleaved)?(t.next=t,No(r)):(t.next=a.next,a.next=t),r.interleaved=t,jo(e,n)}function Do(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,0!=(4194240&n))){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,bt(e,n)}}function Fo(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var a=null,o=null;if(null!==(n=n.firstBaseUpdate)){do{var i={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===o?a=o=i:o=o.next=i,n=n.next}while(null!==n);null===o?a=o=t:o=o.next=t}else a=o=t;return n={baseState:r.baseState,firstBaseUpdate:a,lastBaseUpdate:o,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Mo(e,t,n,r){var a=e.updateQueue;Lo=!1;var o=a.firstBaseUpdate,i=a.lastBaseUpdate,l=a.shared.pending;if(null!==l){a.shared.pending=null;var s=l,u=s.next;s.next=null,null===i?o=u:i.next=u,i=s;var c=e.alternate;null!==c&&((l=(c=c.updateQueue).lastBaseUpdate)!==i&&(null===l?c.firstBaseUpdate=u:l.next=u,c.lastBaseUpdate=s))}if(null!==o){var d=a.baseState;for(i=0,c=u=s=null,l=o;;){var f=l.lane,p=l.eventTime;if((r&f)===f){null!==c&&(c=c.next={eventTime:p,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var g=e,h=l;switch(f=t,p=n,h.tag){case 1:if("function"==typeof(g=h.payload)){d=g.call(p,d,f);break e}d=g;break e;case 3:g.flags=-65537&g.flags|128;case 0:if(null==(f="function"==typeof(g=h.payload)?g.call(p,d,f):g))break e;d=F({},d,f);break e;case 2:Lo=!0}}null!==l.callback&&0!==l.lane&&(e.flags|=64,null===(f=a.effects)?a.effects=[l]:f.push(l))}else p={eventTime:p,lane:f,tag:l.tag,payload:l.payload,callback:l.callback,next:null},null===c?(u=c=p,s=d):c=c.next=p,i|=f;if(null===(l=l.next)){if(null===(l=a.shared.pending))break;l=(f=l).next,f.next=null,a.lastBaseUpdate=f,a.shared.pending=null}}if(null===c&&(s=d),a.baseState=s,a.firstBaseUpdate=u,a.lastBaseUpdate=c,null!==(t=a.shared.interleaved)){a=t;do{i|=a.lane,a=a.next}while(a!==t)}else null===o&&(a.shared.lanes=0);Fs|=i,e.lanes=i,e.memoizedState=d}}function zo(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],a=r.callback;if(null!==a){if(r.callback=null,r=n,"function"!=typeof a)throw Error(o(191,a));a.call(r)}}}var Bo=(new r.Component).refs;function $o(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:F({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var Uo={isMounted:function(e){return!!(e=e._reactInternals)&&Ue(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=tu(),a=nu(e),o=Ro(r,a);o.payload=t,null!=n&&(o.callback=n),null!==(t=Io(e,o,a))&&(ru(t,e,a,r),Do(t,e,a))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=tu(),a=nu(e),o=Ro(r,a);o.tag=1,o.payload=t,null!=n&&(o.callback=n),null!==(t=Io(e,o,a))&&(ru(t,e,a,r),Do(t,e,a))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=tu(),r=nu(e),a=Ro(n,r);a.tag=2,null!=t&&(a.callback=t),null!==(t=Io(e,a,r))&&(ru(t,e,r,n),Do(t,e,r))}};function Zo(e,t,n,r,a,o,i){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,o,i):!t.prototype||!t.prototype.isPureReactComponent||(!sr(n,r)||!sr(a,o))}function Ho(e,t,n){var r=!1,a=Ta,o=t.contextType;return"object"==typeof o&&null!==o?o=Co(o):(a=Oa(t)?ja:Na.current,o=(r=null!=(r=t.contextTypes))?La(e,a):Ta),t=new t(n,o),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=Uo,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=a,e.__reactInternalMemoizedMaskedChildContext=o),t}function Vo(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Uo.enqueueReplaceState(t,t.state,null)}function Wo(e,t,n,r){var a=e.stateNode;a.props=n,a.state=e.memoizedState,a.refs=Bo,Oo(e);var o=t.contextType;"object"==typeof o&&null!==o?a.context=Co(o):(o=Oa(t)?ja:Na.current,a.context=La(e,o)),a.state=e.memoizedState,"function"==typeof(o=t.getDerivedStateFromProps)&&($o(e,t,o,n),a.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof a.getSnapshotBeforeUpdate||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||(t=a.state,"function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount(),t!==a.state&&Uo.enqueueReplaceState(a,a.state,null),Mo(e,n,a,r),a.state=e.memoizedState),"function"==typeof a.componentDidMount&&(e.flags|=4194308)}function Go(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(o(309));var r=n.stateNode}if(!r)throw Error(o(147,e));var a=r,i=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===i?t.ref:(t=function(e){var t=a.refs;t===Bo&&(t=a.refs={}),null===e?delete t[i]:t[i]=e},t._stringRef=i,t)}if("string"!=typeof e)throw Error(o(284));if(!n._owner)throw Error(o(290,e))}return e}function qo(e,t){throw e=Object.prototype.toString.call(t),Error(o(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Yo(e){return(0,e._init)(e._payload)}function Ko(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function a(e,t){return(e=Ru(e,t)).index=0,e.sibling=null,e}function i(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=2,n):r:(t.flags|=2,n):(t.flags|=1048576,n)}function l(t){return e&&null===t.alternate&&(t.flags|=2),t}function s(e,t,n,r){return null===t||6!==t.tag?((t=Mu(n,e.mode,r)).return=e,t):((t=a(t,n)).return=e,t)}function u(e,t,n,r){var o=n.type;return o===S?d(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===o||"object"==typeof o&&null!==o&&o.$$typeof===O&&Yo(o)===t.type)?((r=a(t,n.props)).ref=Go(e,t,n),r.return=e,r):((r=Iu(n.type,n.key,n.props,null,e.mode,r)).ref=Go(e,t,n),r.return=e,r)}function c(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=zu(n,e.mode,r)).return=e,t):((t=a(t,n.children||[])).return=e,t)}function d(e,t,n,r,o){return null===t||7!==t.tag?((t=Du(n,e.mode,r,o)).return=e,t):((t=a(t,n)).return=e,t)}function f(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t)return(t=Mu(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case k:return(n=Iu(t.type,t.key,t.props,null,e.mode,n)).ref=Go(e,null,t),n.return=e,n;case x:return(t=zu(t,e.mode,n)).return=e,t;case O:return f(e,(0,t._init)(t._payload),n)}if(te(t)||I(t))return(t=Du(t,e.mode,n,null)).return=e,t;qo(e,t)}return null}function p(e,t,n,r){var a=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n)return null!==a?null:s(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case k:return n.key===a?u(e,t,n,r):null;case x:return n.key===a?c(e,t,n,r):null;case O:return p(e,t,(a=n._init)(n._payload),r)}if(te(n)||I(n))return null!==a?null:d(e,t,n,r,null);qo(e,n)}return null}function g(e,t,n,r,a){if("string"==typeof r&&""!==r||"number"==typeof r)return s(t,e=e.get(n)||null,""+r,a);if("object"==typeof r&&null!==r){switch(r.$$typeof){case k:return u(t,e=e.get(null===r.key?n:r.key)||null,r,a);case x:return c(t,e=e.get(null===r.key?n:r.key)||null,r,a);case O:return g(e,t,n,(0,r._init)(r._payload),a)}if(te(r)||I(r))return d(t,e=e.get(n)||null,r,a,null);qo(t,r)}return null}function h(a,o,l,s){for(var u=null,c=null,d=o,h=o=0,m=null;null!==d&&h<l.length;h++){d.index>h?(m=d,d=null):m=d.sibling;var y=p(a,d,l[h],s);if(null===y){null===d&&(d=m);break}e&&d&&null===y.alternate&&t(a,d),o=i(y,o,h),null===c?u=y:c.sibling=y,c=y,d=m}if(h===l.length)return n(a,d),ao&&Xa(a,h),u;if(null===d){for(;h<l.length;h++)null!==(d=f(a,l[h],s))&&(o=i(d,o,h),null===c?u=d:c.sibling=d,c=d);return ao&&Xa(a,h),u}for(d=r(a,d);h<l.length;h++)null!==(m=g(d,a,h,l[h],s))&&(e&&null!==m.alternate&&d.delete(null===m.key?h:m.key),o=i(m,o,h),null===c?u=m:c.sibling=m,c=m);return e&&d.forEach((function(e){return t(a,e)})),ao&&Xa(a,h),u}function m(a,l,s,u){var c=I(s);if("function"!=typeof c)throw Error(o(150));if(null==(s=c.call(s)))throw Error(o(151));for(var d=c=null,h=l,m=l=0,y=null,b=s.next();null!==h&&!b.done;m++,b=s.next()){h.index>m?(y=h,h=null):y=h.sibling;var v=p(a,h,b.value,u);if(null===v){null===h&&(h=y);break}e&&h&&null===v.alternate&&t(a,h),l=i(v,l,m),null===d?c=v:d.sibling=v,d=v,h=y}if(b.done)return n(a,h),ao&&Xa(a,m),c;if(null===h){for(;!b.done;m++,b=s.next())null!==(b=f(a,b.value,u))&&(l=i(b,l,m),null===d?c=b:d.sibling=b,d=b);return ao&&Xa(a,m),c}for(h=r(a,h);!b.done;m++,b=s.next())null!==(b=g(h,a,m,b.value,u))&&(e&&null!==b.alternate&&h.delete(null===b.key?m:b.key),l=i(b,l,m),null===d?c=b:d.sibling=b,d=b);return e&&h.forEach((function(e){return t(a,e)})),ao&&Xa(a,m),c}return function e(r,o,i,s){if("object"==typeof i&&null!==i&&i.type===S&&null===i.key&&(i=i.props.children),"object"==typeof i&&null!==i){switch(i.$$typeof){case k:e:{for(var u=i.key,c=o;null!==c;){if(c.key===u){if((u=i.type)===S){if(7===c.tag){n(r,c.sibling),(o=a(c,i.props.children)).return=r,r=o;break e}}else if(c.elementType===u||"object"==typeof u&&null!==u&&u.$$typeof===O&&Yo(u)===c.type){n(r,c.sibling),(o=a(c,i.props)).ref=Go(r,c,i),o.return=r,r=o;break e}n(r,c);break}t(r,c),c=c.sibling}i.type===S?((o=Du(i.props.children,r.mode,s,i.key)).return=r,r=o):((s=Iu(i.type,i.key,i.props,null,r.mode,s)).ref=Go(r,o,i),s.return=r,r=s)}return l(r);case x:e:{for(c=i.key;null!==o;){if(o.key===c){if(4===o.tag&&o.stateNode.containerInfo===i.containerInfo&&o.stateNode.implementation===i.implementation){n(r,o.sibling),(o=a(o,i.children||[])).return=r,r=o;break e}n(r,o);break}t(r,o),o=o.sibling}(o=zu(i,r.mode,s)).return=r,r=o}return l(r);case O:return e(r,o,(c=i._init)(i._payload),s)}if(te(i))return h(r,o,i,s);if(I(i))return m(r,o,i,s);qo(r,i)}return"string"==typeof i&&""!==i||"number"==typeof i?(i=""+i,null!==o&&6===o.tag?(n(r,o.sibling),(o=a(o,i)).return=r,r=o):(n(r,o),(o=Mu(i,r.mode,s)).return=r,r=o),l(r)):n(r,o)}}var Qo=Ko(!0),Xo=Ko(!1),Jo={},ei=Ea(Jo),ti=Ea(Jo),ni=Ea(Jo);function ri(e){if(e===Jo)throw Error(o(174));return e}function ai(e,t){switch(Ca(ni,t),Ca(ti,e),Ca(ei,Jo),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:se(null,"");break;default:t=se(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}_a(ei),Ca(ei,t)}function oi(){_a(ei),_a(ti),_a(ni)}function ii(e){ri(ni.current);var t=ri(ei.current),n=se(t,e.type);t!==n&&(Ca(ti,e),Ca(ei,n))}function li(e){ti.current===e&&(_a(ei),_a(ti))}var si=Ea(0);function ui(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(128&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var ci=[];function di(){for(var e=0;e<ci.length;e++)ci[e]._workInProgressVersionPrimary=null;ci.length=0}var fi=w.ReactCurrentDispatcher,pi=w.ReactCurrentBatchConfig,gi=0,hi=null,mi=null,yi=null,bi=!1,vi=!1,wi=0,ki=0;function xi(){throw Error(o(321))}function Si(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!lr(e[n],t[n]))return!1;return!0}function Ei(e,t,n,r,a,i){if(gi=i,hi=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,fi.current=null===e||null===e.memoizedState?ll:sl,e=n(r,a),vi){i=0;do{if(vi=!1,wi=0,25<=i)throw Error(o(301));i+=1,yi=mi=null,t.updateQueue=null,fi.current=ul,e=n(r,a)}while(vi)}if(fi.current=il,t=null!==mi&&null!==mi.next,gi=0,yi=mi=hi=null,bi=!1,t)throw Error(o(300));return e}function _i(){var e=0!==wi;return wi=0,e}function Ci(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===yi?hi.memoizedState=yi=e:yi=yi.next=e,yi}function Ti(){if(null===mi){var e=hi.alternate;e=null!==e?e.memoizedState:null}else e=mi.next;var t=null===yi?hi.memoizedState:yi.next;if(null!==t)yi=t,mi=e;else{if(null===e)throw Error(o(310));e={memoizedState:(mi=e).memoizedState,baseState:mi.baseState,baseQueue:mi.baseQueue,queue:mi.queue,next:null},null===yi?hi.memoizedState=yi=e:yi=yi.next=e}return yi}function Ni(e,t){return"function"==typeof t?t(e):t}function Ai(e){var t=Ti(),n=t.queue;if(null===n)throw Error(o(311));n.lastRenderedReducer=e;var r=mi,a=r.baseQueue,i=n.pending;if(null!==i){if(null!==a){var l=a.next;a.next=i.next,i.next=l}r.baseQueue=a=i,n.pending=null}if(null!==a){i=a.next,r=r.baseState;var s=l=null,u=null,c=i;do{var d=c.lane;if((gi&d)===d)null!==u&&(u=u.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),r=c.hasEagerState?c.eagerState:e(r,c.action);else{var f={lane:d,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};null===u?(s=u=f,l=r):u=u.next=f,hi.lanes|=d,Fs|=d}c=c.next}while(null!==c&&c!==i);null===u?l=r:u.next=s,lr(r,t.memoizedState)||(wl=!0),t.memoizedState=r,t.baseState=l,t.baseQueue=u,n.lastRenderedState=r}if(null!==(e=n.interleaved)){a=e;do{i=a.lane,hi.lanes|=i,Fs|=i,a=a.next}while(a!==e)}else null===a&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function ji(e){var t=Ti(),n=t.queue;if(null===n)throw Error(o(311));n.lastRenderedReducer=e;var r=n.dispatch,a=n.pending,i=t.memoizedState;if(null!==a){n.pending=null;var l=a=a.next;do{i=e(i,l.action),l=l.next}while(l!==a);lr(i,t.memoizedState)||(wl=!0),t.memoizedState=i,null===t.baseQueue&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function Li(){}function Oi(e,t){var n=hi,r=Ti(),a=t(),i=!lr(r.memoizedState,a);if(i&&(r.memoizedState=a,wl=!0),r=r.queue,Hi(Ii.bind(null,n,r,e),[e]),r.getSnapshot!==t||i||null!==yi&&1&yi.memoizedState.tag){if(n.flags|=2048,zi(9,Ri.bind(null,n,r,a,t),void 0,null),null===js)throw Error(o(349));0!=(30&gi)||Pi(n,t,a)}return a}function Pi(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=hi.updateQueue)?(t={lastEffect:null,stores:null},hi.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function Ri(e,t,n,r){t.value=n,t.getSnapshot=r,Di(t)&&Fi(e)}function Ii(e,t,n){return n((function(){Di(t)&&Fi(e)}))}function Di(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!lr(e,n)}catch(r){return!0}}function Fi(e){var t=jo(e,1);null!==t&&ru(t,e,1,-1)}function Mi(e){var t=Ci();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Ni,lastRenderedState:e},t.queue=e,e=e.dispatch=nl.bind(null,hi,e),[t.memoizedState,e]}function zi(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=hi.updateQueue)?(t={lastEffect:null,stores:null},hi.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function Bi(){return Ti().memoizedState}function $i(e,t,n,r){var a=Ci();hi.flags|=e,a.memoizedState=zi(1|t,n,void 0,void 0===r?null:r)}function Ui(e,t,n,r){var a=Ti();r=void 0===r?null:r;var o=void 0;if(null!==mi){var i=mi.memoizedState;if(o=i.destroy,null!==r&&Si(r,i.deps))return void(a.memoizedState=zi(t,n,o,r))}hi.flags|=e,a.memoizedState=zi(1|t,n,o,r)}function Zi(e,t){return $i(8390656,8,e,t)}function Hi(e,t){return Ui(2048,8,e,t)}function Vi(e,t){return Ui(4,2,e,t)}function Wi(e,t){return Ui(4,4,e,t)}function Gi(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function qi(e,t,n){return n=null!=n?n.concat([e]):null,Ui(4,4,Gi.bind(null,t,e),n)}function Yi(){}function Ki(e,t){var n=Ti();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Si(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Qi(e,t){var n=Ti();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Si(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Xi(e,t,n){return 0==(21&gi)?(e.baseState&&(e.baseState=!1,wl=!0),e.memoizedState=n):(lr(n,t)||(n=ht(),hi.lanes|=n,Fs|=n,e.baseState=!0),t)}function Ji(e,t){var n=vt;vt=0!==n&&4>n?n:4,e(!0);var r=pi.transition;pi.transition={};try{e(!1),t()}finally{vt=n,pi.transition=r}}function el(){return Ti().memoizedState}function tl(e,t,n){var r=nu(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},rl(e))al(t,n);else if(null!==(n=Ao(e,t,n,r))){ru(n,e,r,tu()),ol(n,t,r)}}function nl(e,t,n){var r=nu(e),a={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(rl(e))al(t,a);else{var o=e.alternate;if(0===e.lanes&&(null===o||0===o.lanes)&&null!==(o=t.lastRenderedReducer))try{var i=t.lastRenderedState,l=o(i,n);if(a.hasEagerState=!0,a.eagerState=l,lr(l,i)){var s=t.interleaved;return null===s?(a.next=a,No(t)):(a.next=s.next,s.next=a),void(t.interleaved=a)}}catch(u){}null!==(n=Ao(e,t,a,r))&&(ru(n,e,r,a=tu()),ol(n,t,r))}}function rl(e){var t=e.alternate;return e===hi||null!==t&&t===hi}function al(e,t){vi=bi=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function ol(e,t,n){if(0!=(4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,bt(e,n)}}var il={readContext:Co,useCallback:xi,useContext:xi,useEffect:xi,useImperativeHandle:xi,useInsertionEffect:xi,useLayoutEffect:xi,useMemo:xi,useReducer:xi,useRef:xi,useState:xi,useDebugValue:xi,useDeferredValue:xi,useTransition:xi,useMutableSource:xi,useSyncExternalStore:xi,useId:xi,unstable_isNewReconciler:!1},ll={readContext:Co,useCallback:function(e,t){return Ci().memoizedState=[e,void 0===t?null:t],e},useContext:Co,useEffect:Zi,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,$i(4194308,4,Gi.bind(null,t,e),n)},useLayoutEffect:function(e,t){return $i(4194308,4,e,t)},useInsertionEffect:function(e,t){return $i(4,2,e,t)},useMemo:function(e,t){var n=Ci();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Ci();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=tl.bind(null,hi,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},Ci().memoizedState=e},useState:Mi,useDebugValue:Yi,useDeferredValue:function(e){return Ci().memoizedState=e},useTransition:function(){var e=Mi(!1),t=e[0];return e=Ji.bind(null,e[1]),Ci().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=hi,a=Ci();if(ao){if(void 0===n)throw Error(o(407));n=n()}else{if(n=t(),null===js)throw Error(o(349));0!=(30&gi)||Pi(r,t,n)}a.memoizedState=n;var i={value:n,getSnapshot:t};return a.queue=i,Zi(Ii.bind(null,r,i,e),[e]),r.flags|=2048,zi(9,Ri.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=Ci(),t=js.identifierPrefix;if(ao){var n=Qa;t=":"+t+"R"+(n=(Ka&~(1<<32-it(Ka)-1)).toString(32)+n),0<(n=wi++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=ki++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},sl={readContext:Co,useCallback:Ki,useContext:Co,useEffect:Hi,useImperativeHandle:qi,useInsertionEffect:Vi,useLayoutEffect:Wi,useMemo:Qi,useReducer:Ai,useRef:Bi,useState:function(){return Ai(Ni)},useDebugValue:Yi,useDeferredValue:function(e){return Xi(Ti(),mi.memoizedState,e)},useTransition:function(){return[Ai(Ni)[0],Ti().memoizedState]},useMutableSource:Li,useSyncExternalStore:Oi,useId:el,unstable_isNewReconciler:!1},ul={readContext:Co,useCallback:Ki,useContext:Co,useEffect:Hi,useImperativeHandle:qi,useInsertionEffect:Vi,useLayoutEffect:Wi,useMemo:Qi,useReducer:ji,useRef:Bi,useState:function(){return ji(Ni)},useDebugValue:Yi,useDeferredValue:function(e){var t=Ti();return null===mi?t.memoizedState=e:Xi(t,mi.memoizedState,e)},useTransition:function(){return[ji(Ni)[0],Ti().memoizedState]},useMutableSource:Li,useSyncExternalStore:Oi,useId:el,unstable_isNewReconciler:!1};function cl(e,t){try{var n="",r=t;do{n+=$(r),r=r.return}while(r);var a=n}catch(o){a="\nError generating stack: "+o.message+"\n"+o.stack}return{value:e,source:t,stack:a,digest:null}}function dl(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function fl(e,t){try{console.error(t.value)}catch(n){setTimeout((function(){throw n}))}}var pl="function"==typeof WeakMap?WeakMap:Map;function gl(e,t,n){(n=Ro(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Vs||(Vs=!0,Ws=r),fl(0,t)},n}function hl(e,t,n){(n=Ro(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var a=t.value;n.payload=function(){return r(a)},n.callback=function(){fl(0,t)}}var o=e.stateNode;return null!==o&&"function"==typeof o.componentDidCatch&&(n.callback=function(){fl(0,t),"function"!=typeof r&&(null===Gs?Gs=new Set([this]):Gs.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function ml(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new pl;var a=new Set;r.set(t,a)}else void 0===(a=r.get(t))&&(a=new Set,r.set(t,a));a.has(n)||(a.add(n),e=Cu.bind(null,e,t,n),t.then(e,e))}function yl(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function bl(e,t,n,r,a){return 0==(1&e.mode)?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=Ro(-1,1)).tag=2,Io(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=a,e)}var vl=w.ReactCurrentOwner,wl=!1;function kl(e,t,n,r){t.child=null===e?Xo(t,null,n,r):Qo(t,e.child,n,r)}function xl(e,t,n,r,a){n=n.render;var o=t.ref;return _o(t,a),r=Ei(e,t,n,r,o,a),n=_i(),null===e||wl?(ao&&n&&eo(t),t.flags|=1,kl(e,t,r,a),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a,Vl(e,t,a))}function Sl(e,t,n,r,a){if(null===e){var o=n.type;return"function"!=typeof o||Pu(o)||void 0!==o.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Iu(n.type,null,r,t,t.mode,a)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=o,El(e,t,o,r,a))}if(o=e.child,0==(e.lanes&a)){var i=o.memoizedProps;if((n=null!==(n=n.compare)?n:sr)(i,r)&&e.ref===t.ref)return Vl(e,t,a)}return t.flags|=1,(e=Ru(o,r)).ref=t.ref,e.return=t,t.child=e}function El(e,t,n,r,a){if(null!==e){var o=e.memoizedProps;if(sr(o,r)&&e.ref===t.ref){if(wl=!1,t.pendingProps=r=o,0==(e.lanes&a))return t.lanes=e.lanes,Vl(e,t,a);0!=(131072&e.flags)&&(wl=!0)}}return Tl(e,t,n,r,a)}function _l(e,t,n){var r=t.pendingProps,a=r.children,o=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(0==(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Ca(Rs,Ps),Ps|=n;else{if(0==(1073741824&n))return e=null!==o?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Ca(Rs,Ps),Ps|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==o?o.baseLanes:n,Ca(Rs,Ps),Ps|=r}else null!==o?(r=o.baseLanes|n,t.memoizedState=null):r=n,Ca(Rs,Ps),Ps|=r;return kl(e,t,a,n),t.child}function Cl(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Tl(e,t,n,r,a){var o=Oa(n)?ja:Na.current;return o=La(t,o),_o(t,a),n=Ei(e,t,n,r,o,a),r=_i(),null===e||wl?(ao&&r&&eo(t),t.flags|=1,kl(e,t,n,a),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a,Vl(e,t,a))}function Nl(e,t,n,r,a){if(Oa(n)){var o=!0;Da(t)}else o=!1;if(_o(t,a),null===t.stateNode)Hl(e,t),Ho(t,n,r),Wo(t,n,r,a),r=!0;else if(null===e){var i=t.stateNode,l=t.memoizedProps;i.props=l;var s=i.context,u=n.contextType;"object"==typeof u&&null!==u?u=Co(u):u=La(t,u=Oa(n)?ja:Na.current);var c=n.getDerivedStateFromProps,d="function"==typeof c||"function"==typeof i.getSnapshotBeforeUpdate;d||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(l!==r||s!==u)&&Vo(t,i,r,u),Lo=!1;var f=t.memoizedState;i.state=f,Mo(t,r,i,a),s=t.memoizedState,l!==r||f!==s||Aa.current||Lo?("function"==typeof c&&($o(t,n,c,r),s=t.memoizedState),(l=Lo||Zo(t,n,l,r,f,s,u))?(d||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||("function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount()),"function"==typeof i.componentDidMount&&(t.flags|=4194308)):("function"==typeof i.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=s),i.props=r,i.state=s,i.context=u,r=l):("function"==typeof i.componentDidMount&&(t.flags|=4194308),r=!1)}else{i=t.stateNode,Po(e,t),l=t.memoizedProps,u=t.type===t.elementType?l:yo(t.type,l),i.props=u,d=t.pendingProps,f=i.context,"object"==typeof(s=n.contextType)&&null!==s?s=Co(s):s=La(t,s=Oa(n)?ja:Na.current);var p=n.getDerivedStateFromProps;(c="function"==typeof p||"function"==typeof i.getSnapshotBeforeUpdate)||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(l!==d||f!==s)&&Vo(t,i,r,s),Lo=!1,f=t.memoizedState,i.state=f,Mo(t,r,i,a);var g=t.memoizedState;l!==d||f!==g||Aa.current||Lo?("function"==typeof p&&($o(t,n,p,r),g=t.memoizedState),(u=Lo||Zo(t,n,u,r,f,g,s)||!1)?(c||"function"!=typeof i.UNSAFE_componentWillUpdate&&"function"!=typeof i.componentWillUpdate||("function"==typeof i.componentWillUpdate&&i.componentWillUpdate(r,g,s),"function"==typeof i.UNSAFE_componentWillUpdate&&i.UNSAFE_componentWillUpdate(r,g,s)),"function"==typeof i.componentDidUpdate&&(t.flags|=4),"function"==typeof i.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof i.componentDidUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=g),i.props=r,i.state=g,i.context=s,r=u):("function"!=typeof i.componentDidUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return Al(e,t,n,r,o,a)}function Al(e,t,n,r,a,o){Cl(e,t);var i=0!=(128&t.flags);if(!r&&!i)return a&&Fa(t,n,!1),Vl(e,t,o);r=t.stateNode,vl.current=t;var l=i&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&i?(t.child=Qo(t,e.child,null,o),t.child=Qo(t,null,l,o)):kl(e,t,l,o),t.memoizedState=r.state,a&&Fa(t,n,!0),t.child}function jl(e){var t=e.stateNode;t.pendingContext?Ra(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Ra(0,t.context,!1),ai(e,t.containerInfo)}function Ll(e,t,n,r,a){return go(),ho(a),t.flags|=256,kl(e,t,n,r),t.child}var Ol,Pl,Rl,Il,Dl={dehydrated:null,treeContext:null,retryLane:0};function Fl(e){return{baseLanes:e,cachePool:null,transitions:null}}function Ml(e,t,n){var r,a=t.pendingProps,i=si.current,l=!1,s=0!=(128&t.flags);if((r=s)||(r=(null===e||null!==e.memoizedState)&&0!=(2&i)),r?(l=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(i|=1),Ca(si,1&i),null===e)return uo(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(0==(1&t.mode)?t.lanes=1:"$!"===e.data?t.lanes=8:t.lanes=1073741824,null):(s=a.children,e=a.fallback,l?(a=t.mode,l=t.child,s={mode:"hidden",children:s},0==(1&a)&&null!==l?(l.childLanes=0,l.pendingProps=s):l=Fu(s,a,0,null),e=Du(e,a,n,null),l.return=t,e.return=t,l.sibling=e,t.child=l,t.child.memoizedState=Fl(n),t.memoizedState=Dl,e):zl(t,s));if(null!==(i=e.memoizedState)&&null!==(r=i.dehydrated))return function(e,t,n,r,a,i,l){if(n)return 256&t.flags?(t.flags&=-257,Bl(e,t,l,r=dl(Error(o(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(i=r.fallback,a=t.mode,r=Fu({mode:"visible",children:r.children},a,0,null),(i=Du(i,a,l,null)).flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,0!=(1&t.mode)&&Qo(t,e.child,null,l),t.child.memoizedState=Fl(l),t.memoizedState=Dl,i);if(0==(1&t.mode))return Bl(e,t,l,null);if("$!"===a.data){if(r=a.nextSibling&&a.nextSibling.dataset)var s=r.dgst;return r=s,Bl(e,t,l,r=dl(i=Error(o(419)),r,void 0))}if(s=0!=(l&e.childLanes),wl||s){if(null!==(r=js)){switch(l&-l){case 4:a=2;break;case 16:a=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:a=32;break;case 536870912:a=268435456;break;default:a=0}0!==(a=0!=(a&(r.suspendedLanes|l))?0:a)&&a!==i.retryLane&&(i.retryLane=a,jo(e,a),ru(r,e,a,-1))}return mu(),Bl(e,t,l,r=dl(Error(o(421))))}return"$?"===a.data?(t.flags|=128,t.child=e.child,t=Nu.bind(null,e),a._reactRetry=t,null):(e=i.treeContext,ro=ua(a.nextSibling),no=t,ao=!0,oo=null,null!==e&&(Ga[qa++]=Ka,Ga[qa++]=Qa,Ga[qa++]=Ya,Ka=e.id,Qa=e.overflow,Ya=t),t=zl(t,r.children),t.flags|=4096,t)}(e,t,s,a,r,i,n);if(l){l=a.fallback,s=t.mode,r=(i=e.child).sibling;var u={mode:"hidden",children:a.children};return 0==(1&s)&&t.child!==i?((a=t.child).childLanes=0,a.pendingProps=u,t.deletions=null):(a=Ru(i,u)).subtreeFlags=14680064&i.subtreeFlags,null!==r?l=Ru(r,l):(l=Du(l,s,n,null)).flags|=2,l.return=t,a.return=t,a.sibling=l,t.child=a,a=l,l=t.child,s=null===(s=e.child.memoizedState)?Fl(n):{baseLanes:s.baseLanes|n,cachePool:null,transitions:s.transitions},l.memoizedState=s,l.childLanes=e.childLanes&~n,t.memoizedState=Dl,a}return e=(l=e.child).sibling,a=Ru(l,{mode:"visible",children:a.children}),0==(1&t.mode)&&(a.lanes=n),a.return=t,a.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=a,t.memoizedState=null,a}function zl(e,t){return(t=Fu({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Bl(e,t,n,r){return null!==r&&ho(r),Qo(t,e.child,null,n),(e=zl(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function $l(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),Eo(e.return,t,n)}function Ul(e,t,n,r,a){var o=e.memoizedState;null===o?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:a}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=a)}function Zl(e,t,n){var r=t.pendingProps,a=r.revealOrder,o=r.tail;if(kl(e,t,r.children,n),0!=(2&(r=si.current)))r=1&r|2,t.flags|=128;else{if(null!==e&&0!=(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&$l(e,n,t);else if(19===e.tag)$l(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(Ca(si,r),0==(1&t.mode))t.memoizedState=null;else switch(a){case"forwards":for(n=t.child,a=null;null!==n;)null!==(e=n.alternate)&&null===ui(e)&&(a=n),n=n.sibling;null===(n=a)?(a=t.child,t.child=null):(a=n.sibling,n.sibling=null),Ul(t,!1,a,n,o);break;case"backwards":for(n=null,a=t.child,t.child=null;null!==a;){if(null!==(e=a.alternate)&&null===ui(e)){t.child=a;break}e=a.sibling,a.sibling=n,n=a,a=e}Ul(t,!0,n,null,o);break;case"together":Ul(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Hl(e,t){0==(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Vl(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Fs|=t.lanes,0==(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(o(153));if(null!==t.child){for(n=Ru(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Ru(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Wl(e,t){if(!ao)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Gl(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var a=e.child;null!==a;)n|=a.lanes|a.childLanes,r|=14680064&a.subtreeFlags,r|=14680064&a.flags,a.return=e,a=a.sibling;else for(a=e.child;null!==a;)n|=a.lanes|a.childLanes,r|=a.subtreeFlags,r|=a.flags,a.return=e,a=a.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function ql(e,t,n){var r=t.pendingProps;switch(to(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Gl(t),null;case 1:case 17:return Oa(t.type)&&Pa(),Gl(t),null;case 3:return r=t.stateNode,oi(),_a(Aa),_a(Na),di(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(fo(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0==(256&t.flags)||(t.flags|=1024,null!==oo&&(lu(oo),oo=null))),Pl(e,t),Gl(t),null;case 5:li(t);var a=ri(ni.current);if(n=t.type,null!==e&&null!=t.stateNode)Rl(e,t,n,r,a),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(o(166));return Gl(t),null}if(e=ri(ei.current),fo(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[fa]=t,r[pa]=i,e=0!=(1&t.mode),n){case"dialog":zr("cancel",r),zr("close",r);break;case"iframe":case"object":case"embed":zr("load",r);break;case"video":case"audio":for(a=0;a<Ir.length;a++)zr(Ir[a],r);break;case"source":zr("error",r);break;case"img":case"image":case"link":zr("error",r),zr("load",r);break;case"details":zr("toggle",r);break;case"input":K(r,i),zr("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},zr("invalid",r);break;case"textarea":ae(r,i),zr("invalid",r)}for(var s in be(n,i),a=null,i)if(i.hasOwnProperty(s)){var u=i[s];"children"===s?"string"==typeof u?r.textContent!==u&&(!0!==i.suppressHydrationWarning&&Xr(r.textContent,u,e),a=["children",u]):"number"==typeof u&&r.textContent!==""+u&&(!0!==i.suppressHydrationWarning&&Xr(r.textContent,u,e),a=["children",""+u]):l.hasOwnProperty(s)&&null!=u&&"onScroll"===s&&zr("scroll",r)}switch(n){case"input":W(r),J(r,i,!0);break;case"textarea":W(r),ie(r);break;case"select":case"option":break;default:"function"==typeof i.onClick&&(r.onclick=Jr)}r=a,t.updateQueue=r,null!==r&&(t.flags|=4)}else{s=9===a.nodeType?a:a.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=le(n)),"http://www.w3.org/1999/xhtml"===e?"script"===n?((e=s.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),"select"===n&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[fa]=t,e[pa]=r,Ol(e,t,!1,!1),t.stateNode=e;e:{switch(s=ve(n,r),n){case"dialog":zr("cancel",e),zr("close",e),a=r;break;case"iframe":case"object":case"embed":zr("load",e),a=r;break;case"video":case"audio":for(a=0;a<Ir.length;a++)zr(Ir[a],e);a=r;break;case"source":zr("error",e),a=r;break;case"img":case"image":case"link":zr("error",e),zr("load",e),a=r;break;case"details":zr("toggle",e),a=r;break;case"input":K(e,r),a=Y(e,r),zr("invalid",e);break;case"option":default:a=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},a=F({},r,{value:void 0}),zr("invalid",e);break;case"textarea":ae(e,r),a=re(e,r),zr("invalid",e)}for(i in be(n,a),u=a)if(u.hasOwnProperty(i)){var c=u[i];"style"===i?me(e,c):"dangerouslySetInnerHTML"===i?null!=(c=c?c.__html:void 0)&&de(e,c):"children"===i?"string"==typeof c?("textarea"!==n||""!==c)&&fe(e,c):"number"==typeof c&&fe(e,""+c):"suppressContentEditableWarning"!==i&&"suppressHydrationWarning"!==i&&"autoFocus"!==i&&(l.hasOwnProperty(i)?null!=c&&"onScroll"===i&&zr("scroll",e):null!=c&&v(e,i,c,s))}switch(n){case"input":W(e),J(e,r,!1);break;case"textarea":W(e),ie(e);break;case"option":null!=r.value&&e.setAttribute("value",""+H(r.value));break;case"select":e.multiple=!!r.multiple,null!=(i=r.value)?ne(e,!!r.multiple,i,!1):null!=r.defaultValue&&ne(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof a.onClick&&(e.onclick=Jr)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return Gl(t),null;case 6:if(e&&null!=t.stateNode)Il(e,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(o(166));if(n=ri(ni.current),ri(ei.current),fo(t)){if(r=t.stateNode,n=t.memoizedProps,r[fa]=t,(i=r.nodeValue!==n)&&null!==(e=no))switch(e.tag){case 3:Xr(r.nodeValue,n,0!=(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Xr(r.nodeValue,n,0!=(1&e.mode))}i&&(t.flags|=4)}else(r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[fa]=t,t.stateNode=r}return Gl(t),null;case 13:if(_a(si),r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(ao&&null!==ro&&0!=(1&t.mode)&&0==(128&t.flags))po(),go(),t.flags|=98560,i=!1;else if(i=fo(t),null!==r&&null!==r.dehydrated){if(null===e){if(!i)throw Error(o(318));if(!(i=null!==(i=t.memoizedState)?i.dehydrated:null))throw Error(o(317));i[fa]=t}else go(),0==(128&t.flags)&&(t.memoizedState=null),t.flags|=4;Gl(t),i=!1}else null!==oo&&(lu(oo),oo=null),i=!0;if(!i)return 65536&t.flags?t:null}return 0!=(128&t.flags)?(t.lanes=n,t):((r=null!==r)!==(null!==e&&null!==e.memoizedState)&&r&&(t.child.flags|=8192,0!=(1&t.mode)&&(null===e||0!=(1&si.current)?0===Is&&(Is=3):mu())),null!==t.updateQueue&&(t.flags|=4),Gl(t),null);case 4:return oi(),Pl(e,t),null===e&&Ur(t.stateNode.containerInfo),Gl(t),null;case 10:return So(t.type._context),Gl(t),null;case 19:if(_a(si),null===(i=t.memoizedState))return Gl(t),null;if(r=0!=(128&t.flags),null===(s=i.rendering))if(r)Wl(i,!1);else{if(0!==Is||null!==e&&0!=(128&e.flags))for(e=t.child;null!==e;){if(null!==(s=ui(e))){for(t.flags|=128,Wl(i,!1),null!==(r=s.updateQueue)&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;null!==n;)e=r,(i=n).flags&=14680066,null===(s=i.alternate)?(i.childLanes=0,i.lanes=e,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=s.childLanes,i.lanes=s.lanes,i.child=s.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=s.memoizedProps,i.memoizedState=s.memoizedState,i.updateQueue=s.updateQueue,i.type=s.type,e=s.dependencies,i.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return Ca(si,1&si.current|2),t.child}e=e.sibling}null!==i.tail&&Qe()>Zs&&(t.flags|=128,r=!0,Wl(i,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=ui(s))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),Wl(i,!0),null===i.tail&&"hidden"===i.tailMode&&!s.alternate&&!ao)return Gl(t),null}else 2*Qe()-i.renderingStartTime>Zs&&1073741824!==n&&(t.flags|=128,r=!0,Wl(i,!1),t.lanes=4194304);i.isBackwards?(s.sibling=t.child,t.child=s):(null!==(n=i.last)?n.sibling=s:t.child=s,i.last=s)}return null!==i.tail?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=Qe(),t.sibling=null,n=si.current,Ca(si,r?1&n|2:1&n),t):(Gl(t),null);case 22:case 23:return fu(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&0!=(1&t.mode)?0!=(1073741824&Ps)&&(Gl(t),6&t.subtreeFlags&&(t.flags|=8192)):Gl(t),null;case 24:case 25:return null}throw Error(o(156,t.tag))}function Yl(e,t){switch(to(t),t.tag){case 1:return Oa(t.type)&&Pa(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return oi(),_a(Aa),_a(Na),di(),0!=(65536&(e=t.flags))&&0==(128&e)?(t.flags=-65537&e|128,t):null;case 5:return li(t),null;case 13:if(_a(si),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(o(340));go()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return _a(si),null;case 4:return oi(),null;case 10:return So(t.type._context),null;case 22:case 23:return fu(),null;default:return null}}Ol=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Pl=function(){},Rl=function(e,t,n,r){var a=e.memoizedProps;if(a!==r){e=t.stateNode,ri(ei.current);var o,i=null;switch(n){case"input":a=Y(e,a),r=Y(e,r),i=[];break;case"select":a=F({},a,{value:void 0}),r=F({},r,{value:void 0}),i=[];break;case"textarea":a=re(e,a),r=re(e,r),i=[];break;default:"function"!=typeof a.onClick&&"function"==typeof r.onClick&&(e.onclick=Jr)}for(c in be(n,r),n=null,a)if(!r.hasOwnProperty(c)&&a.hasOwnProperty(c)&&null!=a[c])if("style"===c){var s=a[c];for(o in s)s.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else"dangerouslySetInnerHTML"!==c&&"children"!==c&&"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&"autoFocus"!==c&&(l.hasOwnProperty(c)?i||(i=[]):(i=i||[]).push(c,null));for(c in r){var u=r[c];if(s=null!=a?a[c]:void 0,r.hasOwnProperty(c)&&u!==s&&(null!=u||null!=s))if("style"===c)if(s){for(o in s)!s.hasOwnProperty(o)||u&&u.hasOwnProperty(o)||(n||(n={}),n[o]="");for(o in u)u.hasOwnProperty(o)&&s[o]!==u[o]&&(n||(n={}),n[o]=u[o])}else n||(i||(i=[]),i.push(c,n)),n=u;else"dangerouslySetInnerHTML"===c?(u=u?u.__html:void 0,s=s?s.__html:void 0,null!=u&&s!==u&&(i=i||[]).push(c,u)):"children"===c?"string"!=typeof u&&"number"!=typeof u||(i=i||[]).push(c,""+u):"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&(l.hasOwnProperty(c)?(null!=u&&"onScroll"===c&&zr("scroll",e),i||s===u||(i=[])):(i=i||[]).push(c,u))}n&&(i=i||[]).push("style",n);var c=i;(t.updateQueue=c)&&(t.flags|=4)}},Il=function(e,t,n,r){n!==r&&(t.flags|=4)};var Kl=!1,Ql=!1,Xl="function"==typeof WeakSet?WeakSet:Set,Jl=null;function es(e,t){var n=e.ref;if(null!==n)if("function"==typeof n)try{n(null)}catch(r){_u(e,t,r)}else n.current=null}function ts(e,t,n){try{n()}catch(r){_u(e,t,r)}}var ns=!1;function rs(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var a=r=r.next;do{if((a.tag&e)===e){var o=a.destroy;a.destroy=void 0,void 0!==o&&ts(t,n,o)}a=a.next}while(a!==r)}}function as(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function os(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag,e=n,"function"==typeof t?t(e):t.current=e}}function is(e){var t=e.alternate;null!==t&&(e.alternate=null,is(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[fa],delete t[pa],delete t[ha],delete t[ma],delete t[ya])),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 ls(e){return 5===e.tag||3===e.tag||4===e.tag}function ss(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||ls(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function us(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=Jr));else if(4!==r&&null!==(e=e.child))for(us(e,t,n),e=e.sibling;null!==e;)us(e,t,n),e=e.sibling}function cs(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(cs(e,t,n),e=e.sibling;null!==e;)cs(e,t,n),e=e.sibling}var ds=null,fs=!1;function ps(e,t,n){for(n=n.child;null!==n;)gs(e,t,n),n=n.sibling}function gs(e,t,n){if(ot&&"function"==typeof ot.onCommitFiberUnmount)try{ot.onCommitFiberUnmount(at,n)}catch(l){}switch(n.tag){case 5:Ql||es(n,t);case 6:var r=ds,a=fs;ds=null,ps(e,t,n),fs=a,null!==(ds=r)&&(fs?(e=ds,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):ds.removeChild(n.stateNode));break;case 18:null!==ds&&(fs?(e=ds,n=n.stateNode,8===e.nodeType?sa(e.parentNode,n):1===e.nodeType&&sa(e,n),Ut(e)):sa(ds,n.stateNode));break;case 4:r=ds,a=fs,ds=n.stateNode.containerInfo,fs=!0,ps(e,t,n),ds=r,fs=a;break;case 0:case 11:case 14:case 15:if(!Ql&&(null!==(r=n.updateQueue)&&null!==(r=r.lastEffect))){a=r=r.next;do{var o=a,i=o.destroy;o=o.tag,void 0!==i&&(0!=(2&o)||0!=(4&o))&&ts(n,t,i),a=a.next}while(a!==r)}ps(e,t,n);break;case 1:if(!Ql&&(es(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(l){_u(n,t,l)}ps(e,t,n);break;case 21:ps(e,t,n);break;case 22:1&n.mode?(Ql=(r=Ql)||null!==n.memoizedState,ps(e,t,n),Ql=r):ps(e,t,n);break;default:ps(e,t,n)}}function hs(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Xl),t.forEach((function(t){var r=Au.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function ms(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var a=n[r];try{var i=e,l=t,s=l;e:for(;null!==s;){switch(s.tag){case 5:ds=s.stateNode,fs=!1;break e;case 3:case 4:ds=s.stateNode.containerInfo,fs=!0;break e}s=s.return}if(null===ds)throw Error(o(160));gs(i,l,a),ds=null,fs=!1;var u=a.alternate;null!==u&&(u.return=null),a.return=null}catch(c){_u(a,t,c)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)ys(t,e),t=t.sibling}function ys(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(ms(t,e),bs(e),4&r){try{rs(3,e,e.return),as(3,e)}catch(m){_u(e,e.return,m)}try{rs(5,e,e.return)}catch(m){_u(e,e.return,m)}}break;case 1:ms(t,e),bs(e),512&r&&null!==n&&es(n,n.return);break;case 5:if(ms(t,e),bs(e),512&r&&null!==n&&es(n,n.return),32&e.flags){var a=e.stateNode;try{fe(a,"")}catch(m){_u(e,e.return,m)}}if(4&r&&null!=(a=e.stateNode)){var i=e.memoizedProps,l=null!==n?n.memoizedProps:i,s=e.type,u=e.updateQueue;if(e.updateQueue=null,null!==u)try{"input"===s&&"radio"===i.type&&null!=i.name&&Q(a,i),ve(s,l);var c=ve(s,i);for(l=0;l<u.length;l+=2){var d=u[l],f=u[l+1];"style"===d?me(a,f):"dangerouslySetInnerHTML"===d?de(a,f):"children"===d?fe(a,f):v(a,d,f,c)}switch(s){case"input":X(a,i);break;case"textarea":oe(a,i);break;case"select":var p=a._wrapperState.wasMultiple;a._wrapperState.wasMultiple=!!i.multiple;var g=i.value;null!=g?ne(a,!!i.multiple,g,!1):p!==!!i.multiple&&(null!=i.defaultValue?ne(a,!!i.multiple,i.defaultValue,!0):ne(a,!!i.multiple,i.multiple?[]:"",!1))}a[pa]=i}catch(m){_u(e,e.return,m)}}break;case 6:if(ms(t,e),bs(e),4&r){if(null===e.stateNode)throw Error(o(162));a=e.stateNode,i=e.memoizedProps;try{a.nodeValue=i}catch(m){_u(e,e.return,m)}}break;case 3:if(ms(t,e),bs(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{Ut(t.containerInfo)}catch(m){_u(e,e.return,m)}break;case 4:default:ms(t,e),bs(e);break;case 13:ms(t,e),bs(e),8192&(a=e.child).flags&&(i=null!==a.memoizedState,a.stateNode.isHidden=i,!i||null!==a.alternate&&null!==a.alternate.memoizedState||(Us=Qe())),4&r&&hs(e);break;case 22:if(d=null!==n&&null!==n.memoizedState,1&e.mode?(Ql=(c=Ql)||d,ms(t,e),Ql=c):ms(t,e),bs(e),8192&r){if(c=null!==e.memoizedState,(e.stateNode.isHidden=c)&&!d&&0!=(1&e.mode))for(Jl=e,d=e.child;null!==d;){for(f=Jl=d;null!==Jl;){switch(g=(p=Jl).child,p.tag){case 0:case 11:case 14:case 15:rs(4,p,p.return);break;case 1:es(p,p.return);var h=p.stateNode;if("function"==typeof h.componentWillUnmount){r=p,n=p.return;try{t=r,h.props=t.memoizedProps,h.state=t.memoizedState,h.componentWillUnmount()}catch(m){_u(r,n,m)}}break;case 5:es(p,p.return);break;case 22:if(null!==p.memoizedState){xs(f);continue}}null!==g?(g.return=p,Jl=g):xs(f)}d=d.sibling}e:for(d=null,f=e;;){if(5===f.tag){if(null===d){d=f;try{a=f.stateNode,c?"function"==typeof(i=a.style).setProperty?i.setProperty("display","none","important"):i.display="none":(s=f.stateNode,l=null!=(u=f.memoizedProps.style)&&u.hasOwnProperty("display")?u.display:null,s.style.display=he("display",l))}catch(m){_u(e,e.return,m)}}}else if(6===f.tag){if(null===d)try{f.stateNode.nodeValue=c?"":f.memoizedProps}catch(m){_u(e,e.return,m)}}else if((22!==f.tag&&23!==f.tag||null===f.memoizedState||f===e)&&null!==f.child){f.child.return=f,f=f.child;continue}if(f===e)break e;for(;null===f.sibling;){if(null===f.return||f.return===e)break e;d===f&&(d=null),f=f.return}d===f&&(d=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:ms(t,e),bs(e),4&r&&hs(e);case 21:}}function bs(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(ls(n)){var r=n;break e}n=n.return}throw Error(o(160))}switch(r.tag){case 5:var a=r.stateNode;32&r.flags&&(fe(a,""),r.flags&=-33),cs(e,ss(e),a);break;case 3:case 4:var i=r.stateNode.containerInfo;us(e,ss(e),i);break;default:throw Error(o(161))}}catch(l){_u(e,e.return,l)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function vs(e,t,n){Jl=e,ws(e,t,n)}function ws(e,t,n){for(var r=0!=(1&e.mode);null!==Jl;){var a=Jl,o=a.child;if(22===a.tag&&r){var i=null!==a.memoizedState||Kl;if(!i){var l=a.alternate,s=null!==l&&null!==l.memoizedState||Ql;l=Kl;var u=Ql;if(Kl=i,(Ql=s)&&!u)for(Jl=a;null!==Jl;)s=(i=Jl).child,22===i.tag&&null!==i.memoizedState?Ss(a):null!==s?(s.return=i,Jl=s):Ss(a);for(;null!==o;)Jl=o,ws(o,t,n),o=o.sibling;Jl=a,Kl=l,Ql=u}ks(e)}else 0!=(8772&a.subtreeFlags)&&null!==o?(o.return=a,Jl=o):ks(e)}}function ks(e){for(;null!==Jl;){var t=Jl;if(0!=(8772&t.flags)){var n=t.alternate;try{if(0!=(8772&t.flags))switch(t.tag){case 0:case 11:case 15:Ql||as(5,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!Ql)if(null===n)r.componentDidMount();else{var a=t.elementType===t.type?n.memoizedProps:yo(t.type,n.memoizedProps);r.componentDidUpdate(a,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;null!==i&&zo(t,i,r);break;case 3:var l=t.updateQueue;if(null!==l){if(n=null,null!==t.child)switch(t.child.tag){case 5:case 1:n=t.child.stateNode}zo(t,l,n)}break;case 5:var s=t.stateNode;if(null===n&&4&t.flags){n=s;var u=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":u.autoFocus&&n.focus();break;case"img":u.src&&(n.src=u.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var c=t.alternate;if(null!==c){var d=c.memoizedState;if(null!==d){var f=d.dehydrated;null!==f&&Ut(f)}}}break;default:throw Error(o(163))}Ql||512&t.flags&&os(t)}catch(p){_u(t,t.return,p)}}if(t===e){Jl=null;break}if(null!==(n=t.sibling)){n.return=t.return,Jl=n;break}Jl=t.return}}function xs(e){for(;null!==Jl;){var t=Jl;if(t===e){Jl=null;break}var n=t.sibling;if(null!==n){n.return=t.return,Jl=n;break}Jl=t.return}}function Ss(e){for(;null!==Jl;){var t=Jl;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{as(4,t)}catch(s){_u(t,n,s)}break;case 1:var r=t.stateNode;if("function"==typeof r.componentDidMount){var a=t.return;try{r.componentDidMount()}catch(s){_u(t,a,s)}}var o=t.return;try{os(t)}catch(s){_u(t,o,s)}break;case 5:var i=t.return;try{os(t)}catch(s){_u(t,i,s)}}}catch(s){_u(t,t.return,s)}if(t===e){Jl=null;break}var l=t.sibling;if(null!==l){l.return=t.return,Jl=l;break}Jl=t.return}}var Es,_s=Math.ceil,Cs=w.ReactCurrentDispatcher,Ts=w.ReactCurrentOwner,Ns=w.ReactCurrentBatchConfig,As=0,js=null,Ls=null,Os=0,Ps=0,Rs=Ea(0),Is=0,Ds=null,Fs=0,Ms=0,zs=0,Bs=null,$s=null,Us=0,Zs=1/0,Hs=null,Vs=!1,Ws=null,Gs=null,qs=!1,Ys=null,Ks=0,Qs=0,Xs=null,Js=-1,eu=0;function tu(){return 0!=(6&As)?Qe():-1!==Js?Js:Js=Qe()}function nu(e){return 0==(1&e.mode)?1:0!=(2&As)&&0!==Os?Os&-Os:null!==mo.transition?(0===eu&&(eu=ht()),eu):0!==(e=vt)?e:e=void 0===(e=window.event)?16:Kt(e.type)}function ru(e,t,n,r){if(50<Qs)throw Qs=0,Xs=null,Error(o(185));yt(e,n,r),0!=(2&As)&&e===js||(e===js&&(0==(2&As)&&(Ms|=n),4===Is&&su(e,Os)),au(e,r),1===n&&0===As&&0==(1&t.mode)&&(Zs=Qe()+500,za&&Ua()))}function au(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,a=e.expirationTimes,o=e.pendingLanes;0<o;){var i=31-it(o),l=1<<i,s=a[i];-1===s?0!=(l&n)&&0==(l&r)||(a[i]=pt(l,t)):s<=t&&(e.expiredLanes|=l),o&=~l}}(e,t);var r=ft(e,e===js?Os:0);if(0===r)null!==n&&qe(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&qe(n),1===t)0===e.tag?function(e){za=!0,$a(e)}(uu.bind(null,e)):$a(uu.bind(null,e)),ia((function(){0==(6&As)&&Ua()})),n=null;else{switch(wt(r)){case 1:n=Je;break;case 4:n=et;break;case 16:default:n=tt;break;case 536870912:n=rt}n=ju(n,ou.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function ou(e,t){if(Js=-1,eu=0,0!=(6&As))throw Error(o(327));var n=e.callbackNode;if(Su()&&e.callbackNode!==n)return null;var r=ft(e,e===js?Os:0);if(0===r)return null;if(0!=(30&r)||0!=(r&e.expiredLanes)||t)t=yu(e,r);else{t=r;var a=As;As|=2;var i=hu();for(js===e&&Os===t||(Hs=null,Zs=Qe()+500,pu(e,t));;)try{vu();break}catch(s){gu(e,s)}xo(),Cs.current=i,As=a,null!==Ls?t=0:(js=null,Os=0,t=Is)}if(0!==t){if(2===t&&(0!==(a=gt(e))&&(r=a,t=iu(e,a))),1===t)throw n=Ds,pu(e,0),su(e,r),au(e,Qe()),n;if(6===t)su(e,r);else{if(a=e.current.alternate,0==(30&r)&&!function(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var a=n[r],o=a.getSnapshot;a=a.value;try{if(!lr(o(),a))return!1}catch(l){return!1}}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(a)&&(2===(t=yu(e,r))&&(0!==(i=gt(e))&&(r=i,t=iu(e,i))),1===t))throw n=Ds,pu(e,0),su(e,r),au(e,Qe()),n;switch(e.finishedWork=a,e.finishedLanes=r,t){case 0:case 1:throw Error(o(345));case 2:case 5:xu(e,$s,Hs);break;case 3:if(su(e,r),(130023424&r)===r&&10<(t=Us+500-Qe())){if(0!==ft(e,0))break;if(((a=e.suspendedLanes)&r)!==r){tu(),e.pingedLanes|=e.suspendedLanes&a;break}e.timeoutHandle=ra(xu.bind(null,e,$s,Hs),t);break}xu(e,$s,Hs);break;case 4:if(su(e,r),(4194240&r)===r)break;for(t=e.eventTimes,a=-1;0<r;){var l=31-it(r);i=1<<l,(l=t[l])>a&&(a=l),r&=~i}if(r=a,10<(r=(120>(r=Qe()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*_s(r/1960))-r)){e.timeoutHandle=ra(xu.bind(null,e,$s,Hs),r);break}xu(e,$s,Hs);break;default:throw Error(o(329))}}}return au(e,Qe()),e.callbackNode===n?ou.bind(null,e):null}function iu(e,t){var n=Bs;return e.current.memoizedState.isDehydrated&&(pu(e,t).flags|=256),2!==(e=yu(e,t))&&(t=$s,$s=n,null!==t&&lu(t)),e}function lu(e){null===$s?$s=e:$s.push.apply($s,e)}function su(e,t){for(t&=~zs,t&=~Ms,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-it(t),r=1<<n;e[n]=-1,t&=~r}}function uu(e){if(0!=(6&As))throw Error(o(327));Su();var t=ft(e,0);if(0==(1&t))return au(e,Qe()),null;var n=yu(e,t);if(0!==e.tag&&2===n){var r=gt(e);0!==r&&(t=r,n=iu(e,r))}if(1===n)throw n=Ds,pu(e,0),su(e,t),au(e,Qe()),n;if(6===n)throw Error(o(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,xu(e,$s,Hs),au(e,Qe()),null}function cu(e,t){var n=As;As|=1;try{return e(t)}finally{0===(As=n)&&(Zs=Qe()+500,za&&Ua())}}function du(e){null!==Ys&&0===Ys.tag&&0==(6&As)&&Su();var t=As;As|=1;var n=Ns.transition,r=vt;try{if(Ns.transition=null,vt=1,e)return e()}finally{vt=r,Ns.transition=n,0==(6&(As=t))&&Ua()}}function fu(){Ps=Rs.current,_a(Rs)}function pu(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,aa(n)),null!==Ls)for(n=Ls.return;null!==n;){var r=n;switch(to(r),r.tag){case 1:null!=(r=r.type.childContextTypes)&&Pa();break;case 3:oi(),_a(Aa),_a(Na),di();break;case 5:li(r);break;case 4:oi();break;case 13:case 19:_a(si);break;case 10:So(r.type._context);break;case 22:case 23:fu()}n=n.return}if(js=e,Ls=e=Ru(e.current,null),Os=Ps=t,Is=0,Ds=null,zs=Ms=Fs=0,$s=Bs=null,null!==To){for(t=0;t<To.length;t++)if(null!==(r=(n=To[t]).interleaved)){n.interleaved=null;var a=r.next,o=n.pending;if(null!==o){var i=o.next;o.next=a,r.next=i}n.pending=r}To=null}return e}function gu(e,t){for(;;){var n=Ls;try{if(xo(),fi.current=il,bi){for(var r=hi.memoizedState;null!==r;){var a=r.queue;null!==a&&(a.pending=null),r=r.next}bi=!1}if(gi=0,yi=mi=hi=null,vi=!1,wi=0,Ts.current=null,null===n||null===n.return){Is=1,Ds=t,Ls=null;break}e:{var i=e,l=n.return,s=n,u=t;if(t=Os,s.flags|=32768,null!==u&&"object"==typeof u&&"function"==typeof u.then){var c=u,d=s,f=d.tag;if(0==(1&d.mode)&&(0===f||11===f||15===f)){var p=d.alternate;p?(d.updateQueue=p.updateQueue,d.memoizedState=p.memoizedState,d.lanes=p.lanes):(d.updateQueue=null,d.memoizedState=null)}var g=yl(l);if(null!==g){g.flags&=-257,bl(g,l,s,0,t),1&g.mode&&ml(i,c,t),u=c;var h=(t=g).updateQueue;if(null===h){var m=new Set;m.add(u),t.updateQueue=m}else h.add(u);break e}if(0==(1&t)){ml(i,c,t),mu();break e}u=Error(o(426))}else if(ao&&1&s.mode){var y=yl(l);if(null!==y){0==(65536&y.flags)&&(y.flags|=256),bl(y,l,s,0,t),ho(cl(u,s));break e}}i=u=cl(u,s),4!==Is&&(Is=2),null===Bs?Bs=[i]:Bs.push(i),i=l;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t,Fo(i,gl(0,u,t));break e;case 1:s=u;var b=i.type,v=i.stateNode;if(0==(128&i.flags)&&("function"==typeof b.getDerivedStateFromError||null!==v&&"function"==typeof v.componentDidCatch&&(null===Gs||!Gs.has(v)))){i.flags|=65536,t&=-t,i.lanes|=t,Fo(i,hl(i,s,t));break e}}i=i.return}while(null!==i)}ku(n)}catch(w){t=w,Ls===n&&null!==n&&(Ls=n=n.return);continue}break}}function hu(){var e=Cs.current;return Cs.current=il,null===e?il:e}function mu(){0!==Is&&3!==Is&&2!==Is||(Is=4),null===js||0==(268435455&Fs)&&0==(268435455&Ms)||su(js,Os)}function yu(e,t){var n=As;As|=2;var r=hu();for(js===e&&Os===t||(Hs=null,pu(e,t));;)try{bu();break}catch(a){gu(e,a)}if(xo(),As=n,Cs.current=r,null!==Ls)throw Error(o(261));return js=null,Os=0,Is}function bu(){for(;null!==Ls;)wu(Ls)}function vu(){for(;null!==Ls&&!Ye();)wu(Ls)}function wu(e){var t=Es(e.alternate,e,Ps);e.memoizedProps=e.pendingProps,null===t?ku(e):Ls=t,Ts.current=null}function ku(e){var t=e;do{var n=t.alternate;if(e=t.return,0==(32768&t.flags)){if(null!==(n=ql(n,t,Ps)))return void(Ls=n)}else{if(null!==(n=Yl(n,t)))return n.flags&=32767,void(Ls=n);if(null===e)return Is=6,void(Ls=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}if(null!==(t=t.sibling))return void(Ls=t);Ls=t=e}while(null!==t);0===Is&&(Is=5)}function xu(e,t,n){var r=vt,a=Ns.transition;try{Ns.transition=null,vt=1,function(e,t,n,r){do{Su()}while(null!==Ys);if(0!=(6&As))throw Error(o(327));n=e.finishedWork;var a=e.finishedLanes;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(o(177));e.callbackNode=null,e.callbackPriority=0;var i=n.lanes|n.childLanes;if(function(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var a=31-it(n),o=1<<a;t[a]=0,r[a]=-1,e[a]=-1,n&=~o}}(e,i),e===js&&(Ls=js=null,Os=0),0==(2064&n.subtreeFlags)&&0==(2064&n.flags)||qs||(qs=!0,ju(tt,(function(){return Su(),null}))),i=0!=(15990&n.flags),0!=(15990&n.subtreeFlags)||i){i=Ns.transition,Ns.transition=null;var l=vt;vt=1;var s=As;As|=4,Ts.current=null,function(e,t){if(ea=Ht,pr(e=fr())){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var a=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch(k){n=null;break e}var l=0,s=-1,u=-1,c=0,d=0,f=e,p=null;t:for(;;){for(var g;f!==n||0!==a&&3!==f.nodeType||(s=l+a),f!==i||0!==r&&3!==f.nodeType||(u=l+r),3===f.nodeType&&(l+=f.nodeValue.length),null!==(g=f.firstChild);)p=f,f=g;for(;;){if(f===e)break t;if(p===n&&++c===a&&(s=l),p===i&&++d===r&&(u=l),null!==(g=f.nextSibling))break;p=(f=p).parentNode}f=g}n=-1===s||-1===u?null:{start:s,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(ta={focusedElem:e,selectionRange:n},Ht=!1,Jl=t;null!==Jl;)if(e=(t=Jl).child,0!=(1028&t.subtreeFlags)&&null!==e)e.return=t,Jl=e;else for(;null!==Jl;){t=Jl;try{var h=t.alternate;if(0!=(1024&t.flags))switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==h){var m=h.memoizedProps,y=h.memoizedState,b=t.stateNode,v=b.getSnapshotBeforeUpdate(t.elementType===t.type?m:yo(t.type,m),y);b.__reactInternalSnapshotBeforeUpdate=v}break;case 3:var w=t.stateNode.containerInfo;1===w.nodeType?w.textContent="":9===w.nodeType&&w.documentElement&&w.removeChild(w.documentElement);break;default:throw Error(o(163))}}catch(k){_u(t,t.return,k)}if(null!==(e=t.sibling)){e.return=t.return,Jl=e;break}Jl=t.return}h=ns,ns=!1}(e,n),ys(n,e),gr(ta),Ht=!!ea,ta=ea=null,e.current=n,vs(n,e,a),Ke(),As=s,vt=l,Ns.transition=i}else e.current=n;if(qs&&(qs=!1,Ys=e,Ks=a),i=e.pendingLanes,0===i&&(Gs=null),function(e){if(ot&&"function"==typeof ot.onCommitFiberRoot)try{ot.onCommitFiberRoot(at,e,void 0,128==(128&e.current.flags))}catch(t){}}(n.stateNode),au(e,Qe()),null!==t)for(r=e.onRecoverableError,n=0;n<t.length;n++)a=t[n],r(a.value,{componentStack:a.stack,digest:a.digest});if(Vs)throw Vs=!1,e=Ws,Ws=null,e;0!=(1&Ks)&&0!==e.tag&&Su(),i=e.pendingLanes,0!=(1&i)?e===Xs?Qs++:(Qs=0,Xs=e):Qs=0,Ua()}(e,t,n,r)}finally{Ns.transition=a,vt=r}return null}function Su(){if(null!==Ys){var e=wt(Ks),t=Ns.transition,n=vt;try{if(Ns.transition=null,vt=16>e?16:e,null===Ys)var r=!1;else{if(e=Ys,Ys=null,Ks=0,0!=(6&As))throw Error(o(331));var a=As;for(As|=4,Jl=e.current;null!==Jl;){var i=Jl,l=i.child;if(0!=(16&Jl.flags)){var s=i.deletions;if(null!==s){for(var u=0;u<s.length;u++){var c=s[u];for(Jl=c;null!==Jl;){var d=Jl;switch(d.tag){case 0:case 11:case 15:rs(8,d,i)}var f=d.child;if(null!==f)f.return=d,Jl=f;else for(;null!==Jl;){var p=(d=Jl).sibling,g=d.return;if(is(d),d===c){Jl=null;break}if(null!==p){p.return=g,Jl=p;break}Jl=g}}}var h=i.alternate;if(null!==h){var m=h.child;if(null!==m){h.child=null;do{var y=m.sibling;m.sibling=null,m=y}while(null!==m)}}Jl=i}}if(0!=(2064&i.subtreeFlags)&&null!==l)l.return=i,Jl=l;else e:for(;null!==Jl;){if(0!=(2048&(i=Jl).flags))switch(i.tag){case 0:case 11:case 15:rs(9,i,i.return)}var b=i.sibling;if(null!==b){b.return=i.return,Jl=b;break e}Jl=i.return}}var v=e.current;for(Jl=v;null!==Jl;){var w=(l=Jl).child;if(0!=(2064&l.subtreeFlags)&&null!==w)w.return=l,Jl=w;else e:for(l=v;null!==Jl;){if(0!=(2048&(s=Jl).flags))try{switch(s.tag){case 0:case 11:case 15:as(9,s)}}catch(x){_u(s,s.return,x)}if(s===l){Jl=null;break e}var k=s.sibling;if(null!==k){k.return=s.return,Jl=k;break e}Jl=s.return}}if(As=a,Ua(),ot&&"function"==typeof ot.onPostCommitFiberRoot)try{ot.onPostCommitFiberRoot(at,e)}catch(x){}r=!0}return r}finally{vt=n,Ns.transition=t}}return!1}function Eu(e,t,n){e=Io(e,t=gl(0,t=cl(n,t),1),1),t=tu(),null!==e&&(yt(e,1,t),au(e,t))}function _u(e,t,n){if(3===e.tag)Eu(e,e,n);else for(;null!==t;){if(3===t.tag){Eu(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Gs||!Gs.has(r))){t=Io(t,e=hl(t,e=cl(n,e),1),1),e=tu(),null!==t&&(yt(t,1,e),au(t,e));break}}t=t.return}}function Cu(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=tu(),e.pingedLanes|=e.suspendedLanes&n,js===e&&(Os&n)===n&&(4===Is||3===Is&&(130023424&Os)===Os&&500>Qe()-Us?pu(e,0):zs|=n),au(e,t)}function Tu(e,t){0===t&&(0==(1&e.mode)?t=1:(t=ct,0==(130023424&(ct<<=1))&&(ct=4194304)));var n=tu();null!==(e=jo(e,t))&&(yt(e,t,n),au(e,n))}function Nu(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),Tu(e,n)}function Au(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,a=e.memoizedState;null!==a&&(n=a.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(o(314))}null!==r&&r.delete(t),Tu(e,n)}function ju(e,t){return Ge(e,t)}function Lu(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ou(e,t,n,r){return new Lu(e,t,n,r)}function Pu(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Ru(e,t){var n=e.alternate;return null===n?((n=Ou(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Iu(e,t,n,r,a,i){var l=2;if(r=e,"function"==typeof e)Pu(e)&&(l=1);else if("string"==typeof e)l=5;else e:switch(e){case S:return Du(n.children,a,i,t);case E:l=8,a|=8;break;case _:return(e=Ou(12,n,t,2|a)).elementType=_,e.lanes=i,e;case A:return(e=Ou(13,n,t,a)).elementType=A,e.lanes=i,e;case j:return(e=Ou(19,n,t,a)).elementType=j,e.lanes=i,e;case P:return Fu(n,a,i,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case C:l=10;break e;case T:l=9;break e;case N:l=11;break e;case L:l=14;break e;case O:l=16,r=null;break e}throw Error(o(130,null==e?e:typeof e,""))}return(t=Ou(l,n,t,a)).elementType=e,t.type=r,t.lanes=i,t}function Du(e,t,n,r){return(e=Ou(7,e,r,t)).lanes=n,e}function Fu(e,t,n,r){return(e=Ou(22,e,r,t)).elementType=P,e.lanes=n,e.stateNode={isHidden:!1},e}function Mu(e,t,n){return(e=Ou(6,e,null,t)).lanes=n,e}function zu(e,t,n){return(t=Ou(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Bu(e,t,n,r,a){this.tag=t,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=mt(0),this.expirationTimes=mt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=mt(0),this.identifierPrefix=r,this.onRecoverableError=a,this.mutableSourceEagerHydrationData=null}function $u(e,t,n,r,a,o,i,l,s){return e=new Bu(e,t,n,l,s),1===t?(t=1,!0===o&&(t|=8)):t=0,o=Ou(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Oo(o),e}function Uu(e){if(!e)return Ta;e:{if(Ue(e=e._reactInternals)!==e||1!==e.tag)throw Error(o(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Oa(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(o(171))}if(1===e.tag){var n=e.type;if(Oa(n))return Ia(e,n,t)}return t}function Zu(e,t,n,r,a,o,i,l,s){return(e=$u(n,r,!0,e,0,o,0,l,s)).context=Uu(null),n=e.current,(o=Ro(r=tu(),a=nu(n))).callback=null!=t?t:null,Io(n,o,a),e.current.lanes=a,yt(e,a,r),au(e,r),e}function Hu(e,t,n,r){var a=t.current,o=tu(),i=nu(a);return n=Uu(n),null===t.context?t.context=n:t.pendingContext=n,(t=Ro(o,i)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=Io(a,t,i))&&(ru(e,a,i,o),Do(e,a,i)),i}function Vu(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Wu(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Gu(e,t){Wu(e,t),(e=e.alternate)&&Wu(e,t)}Es=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||Aa.current)wl=!0;else{if(0==(e.lanes&n)&&0==(128&t.flags))return wl=!1,function(e,t,n){switch(t.tag){case 3:jl(t),go();break;case 5:ii(t);break;case 1:Oa(t.type)&&Da(t);break;case 4:ai(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,a=t.memoizedProps.value;Ca(bo,r._currentValue),r._currentValue=a;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(Ca(si,1&si.current),t.flags|=128,null):0!=(n&t.child.childLanes)?Ml(e,t,n):(Ca(si,1&si.current),null!==(e=Vl(e,t,n))?e.sibling:null);Ca(si,1&si.current);break;case 19:if(r=0!=(n&t.childLanes),0!=(128&e.flags)){if(r)return Zl(e,t,n);t.flags|=128}if(null!==(a=t.memoizedState)&&(a.rendering=null,a.tail=null,a.lastEffect=null),Ca(si,si.current),r)break;return null;case 22:case 23:return t.lanes=0,_l(e,t,n)}return Vl(e,t,n)}(e,t,n);wl=0!=(131072&e.flags)}else wl=!1,ao&&0!=(1048576&t.flags)&&Ja(t,Wa,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Hl(e,t),e=t.pendingProps;var a=La(t,Na.current);_o(t,n),a=Ei(null,t,r,e,a,n);var i=_i();return t.flags|=1,"object"==typeof a&&null!==a&&"function"==typeof a.render&&void 0===a.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Oa(r)?(i=!0,Da(t)):i=!1,t.memoizedState=null!==a.state&&void 0!==a.state?a.state:null,Oo(t),a.updater=Uo,t.stateNode=a,a._reactInternals=t,Wo(t,r,e,n),t=Al(null,t,r,!0,i,n)):(t.tag=0,ao&&i&&eo(t),kl(null,t,a,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Hl(e,t),e=t.pendingProps,r=(a=r._init)(r._payload),t.type=r,a=t.tag=function(e){if("function"==typeof e)return Pu(e)?1:0;if(null!=e){if((e=e.$$typeof)===N)return 11;if(e===L)return 14}return 2}(r),e=yo(r,e),a){case 0:t=Tl(null,t,r,e,n);break e;case 1:t=Nl(null,t,r,e,n);break e;case 11:t=xl(null,t,r,e,n);break e;case 14:t=Sl(null,t,r,yo(r.type,e),n);break e}throw Error(o(306,r,""))}return t;case 0:return r=t.type,a=t.pendingProps,Tl(e,t,r,a=t.elementType===r?a:yo(r,a),n);case 1:return r=t.type,a=t.pendingProps,Nl(e,t,r,a=t.elementType===r?a:yo(r,a),n);case 3:e:{if(jl(t),null===e)throw Error(o(387));r=t.pendingProps,a=(i=t.memoizedState).element,Po(e,t),Mo(t,r,null,n);var l=t.memoizedState;if(r=l.element,i.isDehydrated){if(i={element:r,isDehydrated:!1,cache:l.cache,pendingSuspenseBoundaries:l.pendingSuspenseBoundaries,transitions:l.transitions},t.updateQueue.baseState=i,t.memoizedState=i,256&t.flags){t=Ll(e,t,r,n,a=cl(Error(o(423)),t));break e}if(r!==a){t=Ll(e,t,r,n,a=cl(Error(o(424)),t));break e}for(ro=ua(t.stateNode.containerInfo.firstChild),no=t,ao=!0,oo=null,n=Xo(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(go(),r===a){t=Vl(e,t,n);break e}kl(e,t,r,n)}t=t.child}return t;case 5:return ii(t),null===e&&uo(t),r=t.type,a=t.pendingProps,i=null!==e?e.memoizedProps:null,l=a.children,na(r,a)?l=null:null!==i&&na(r,i)&&(t.flags|=32),Cl(e,t),kl(e,t,l,n),t.child;case 6:return null===e&&uo(t),null;case 13:return Ml(e,t,n);case 4:return ai(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Qo(t,null,r,n):kl(e,t,r,n),t.child;case 11:return r=t.type,a=t.pendingProps,xl(e,t,r,a=t.elementType===r?a:yo(r,a),n);case 7:return kl(e,t,t.pendingProps,n),t.child;case 8:case 12:return kl(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,a=t.pendingProps,i=t.memoizedProps,l=a.value,Ca(bo,r._currentValue),r._currentValue=l,null!==i)if(lr(i.value,l)){if(i.children===a.children&&!Aa.current){t=Vl(e,t,n);break e}}else for(null!==(i=t.child)&&(i.return=t);null!==i;){var s=i.dependencies;if(null!==s){l=i.child;for(var u=s.firstContext;null!==u;){if(u.context===r){if(1===i.tag){(u=Ro(-1,n&-n)).tag=2;var c=i.updateQueue;if(null!==c){var d=(c=c.shared).pending;null===d?u.next=u:(u.next=d.next,d.next=u),c.pending=u}}i.lanes|=n,null!==(u=i.alternate)&&(u.lanes|=n),Eo(i.return,n,t),s.lanes|=n;break}u=u.next}}else if(10===i.tag)l=i.type===t.type?null:i.child;else if(18===i.tag){if(null===(l=i.return))throw Error(o(341));l.lanes|=n,null!==(s=l.alternate)&&(s.lanes|=n),Eo(l,n,t),l=i.sibling}else l=i.child;if(null!==l)l.return=i;else for(l=i;null!==l;){if(l===t){l=null;break}if(null!==(i=l.sibling)){i.return=l.return,l=i;break}l=l.return}i=l}kl(e,t,a.children,n),t=t.child}return t;case 9:return a=t.type,r=t.pendingProps.children,_o(t,n),r=r(a=Co(a)),t.flags|=1,kl(e,t,r,n),t.child;case 14:return a=yo(r=t.type,t.pendingProps),Sl(e,t,r,a=yo(r.type,a),n);case 15:return El(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,a=t.pendingProps,a=t.elementType===r?a:yo(r,a),Hl(e,t),t.tag=1,Oa(r)?(e=!0,Da(t)):e=!1,_o(t,n),Ho(t,r,a),Wo(t,r,a,n),Al(null,t,r,!0,e,n);case 19:return Zl(e,t,n);case 22:return _l(e,t,n)}throw Error(o(156,t.tag))};var qu="function"==typeof reportError?reportError:function(e){console.error(e)};function Yu(e){this._internalRoot=e}function Ku(e){this._internalRoot=e}function Qu(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Xu(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Ju(){}function ec(e,t,n,r,a){var o=n._reactRootContainer;if(o){var i=o;if("function"==typeof a){var l=a;a=function(){var e=Vu(i);l.call(e)}}Hu(t,i,e,a)}else i=function(e,t,n,r,a){if(a){if("function"==typeof r){var o=r;r=function(){var e=Vu(i);o.call(e)}}var i=Zu(t,r,e,0,null,!1,0,"",Ju);return e._reactRootContainer=i,e[ga]=i.current,Ur(8===e.nodeType?e.parentNode:e),du(),i}for(;a=e.lastChild;)e.removeChild(a);if("function"==typeof r){var l=r;r=function(){var e=Vu(s);l.call(e)}}var s=$u(e,0,!1,null,0,!1,0,"",Ju);return e._reactRootContainer=s,e[ga]=s.current,Ur(8===e.nodeType?e.parentNode:e),du((function(){Hu(t,s,n,r)})),s}(n,t,e,a,r);return Vu(i)}Ku.prototype.render=Yu.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(o(409));Hu(e,t,null,null)},Ku.prototype.unmount=Yu.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;du((function(){Hu(null,e,null,null)})),t[ga]=null}},Ku.prototype.unstable_scheduleHydration=function(e){if(e){var t=Et();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Pt.length&&0!==t&&t<Pt[n].priority;n++);Pt.splice(n,0,e),0===n&&Ft(e)}},kt=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=dt(t.pendingLanes);0!==n&&(bt(t,1|n),au(t,Qe()),0==(6&As)&&(Zs=Qe()+500,Ua()))}break;case 13:du((function(){var t=jo(e,1);if(null!==t){var n=tu();ru(t,e,1,n)}})),Gu(e,1)}},xt=function(e){if(13===e.tag){var t=jo(e,134217728);if(null!==t)ru(t,e,134217728,tu());Gu(e,134217728)}},St=function(e){if(13===e.tag){var t=nu(e),n=jo(e,t);if(null!==n)ru(n,e,t,tu());Gu(e,t)}},Et=function(){return vt},_t=function(e,t){var n=vt;try{return vt=e,t()}finally{vt=n}},xe=function(e,t,n){switch(t){case"input":if(X(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var a=ka(r);if(!a)throw Error(o(90));G(r),X(r,a)}}}break;case"textarea":oe(e,n);break;case"select":null!=(t=n.value)&&ne(e,!!n.multiple,t,!1)}},Ne=cu,Ae=du;var tc={usingClientEntryPoint:!1,Events:[va,wa,ka,Ce,Te,cu]},nc={findFiberByHostInstance:ba,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},rc={bundleType:nc.bundleType,version:nc.version,rendererPackageName:nc.rendererPackageName,rendererConfig:nc.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:w.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=Ve(e))?null:e.stateNode},findFiberByHostInstance:nc.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var ac=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ac.isDisabled&&ac.supportsFiber)try{at=ac.inject(rc),ot=ac}catch(ce){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=tc,t.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Qu(t))throw Error(o(200));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:x,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)},t.createRoot=function(e,t){if(!Qu(e))throw Error(o(299));var n=!1,r="",a=qu;return null!=t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onRecoverableError&&(a=t.onRecoverableError)),t=$u(e,1,!1,null,0,n,0,r,a),e[ga]=t.current,Ur(8===e.nodeType?e.parentNode:e),new Yu(t)},t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(o(188));throw e=Object.keys(e).join(","),Error(o(268,e))}return e=null===(e=Ve(t))?null:e.stateNode},t.flushSync=function(e){return du(e)},t.hydrate=function(e,t,n){if(!Xu(t))throw Error(o(200));return ec(null,e,t,!0,n)},t.hydrateRoot=function(e,t,n){if(!Qu(e))throw Error(o(405));var r=null!=n&&n.hydratedSources||null,a=!1,i="",l=qu;if(null!=n&&(!0===n.unstable_strictMode&&(a=!0),void 0!==n.identifierPrefix&&(i=n.identifierPrefix),void 0!==n.onRecoverableError&&(l=n.onRecoverableError)),t=Zu(t,null,e,1,null!=n?n:null,a,0,i,l),e[ga]=t.current,Ur(e),r)for(e=0;e<r.length;e++)a=(a=(n=r[e])._getVersion)(n._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[n,a]:t.mutableSourceEagerHydrationData.push(n,a);return new Ku(t)},t.render=function(e,t,n){if(!Xu(t))throw Error(o(200));return ec(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!Xu(e))throw Error(o(40));return!!e._reactRootContainer&&(du((function(){ec(null,null,e,!1,(function(){e._reactRootContainer=null,e[ga]=null}))})),!0)},t.unstable_batchedUpdates=cu,t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Xu(n))throw Error(o(200));if(null==e||void 0===e._reactInternals)throw Error(o(38));return ec(e,t,n,!1,r)},t.version="18.2.0-next-9e3b772b8-20220608"},745:(e,t,n)=>{"use strict";var r=n(3935);t.createRoot=r.createRoot,t.hydrateRoot=r.hydrateRoot},3935:(e,t,n)=>{"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}(),e.exports=n(4448)},9590:e=>{var t="undefined"!=typeof Element,n="function"==typeof Map,r="function"==typeof Set,a="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function o(e,i){if(e===i)return!0;if(e&&i&&"object"==typeof e&&"object"==typeof i){if(e.constructor!==i.constructor)return!1;var l,s,u,c;if(Array.isArray(e)){if((l=e.length)!=i.length)return!1;for(s=l;0!=s--;)if(!o(e[s],i[s]))return!1;return!0}if(n&&e instanceof Map&&i instanceof Map){if(e.size!==i.size)return!1;for(c=e.entries();!(s=c.next()).done;)if(!i.has(s.value[0]))return!1;for(c=e.entries();!(s=c.next()).done;)if(!o(s.value[1],i.get(s.value[0])))return!1;return!0}if(r&&e instanceof Set&&i instanceof Set){if(e.size!==i.size)return!1;for(c=e.entries();!(s=c.next()).done;)if(!i.has(s.value[0]))return!1;return!0}if(a&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(i)){if((l=e.length)!=i.length)return!1;for(s=l;0!=s--;)if(e[s]!==i[s])return!1;return!0}if(e.constructor===RegExp)return e.source===i.source&&e.flags===i.flags;if(e.valueOf!==Object.prototype.valueOf&&"function"==typeof e.valueOf&&"function"==typeof i.valueOf)return e.valueOf()===i.valueOf();if(e.toString!==Object.prototype.toString&&"function"==typeof e.toString&&"function"==typeof i.toString)return e.toString()===i.toString();if((l=(u=Object.keys(e)).length)!==Object.keys(i).length)return!1;for(s=l;0!=s--;)if(!Object.prototype.hasOwnProperty.call(i,u[s]))return!1;if(t&&e instanceof Element)return!1;for(s=l;0!=s--;)if(("_owner"!==u[s]&&"__v"!==u[s]&&"__o"!==u[s]||!e.$$typeof)&&!o(e[u[s]],i[u[s]]))return!1;return!0}return e!=e&&i!=i}e.exports=function(e,t){try{return o(e,t)}catch(n){if((n.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw n}}},405:(e,t,n)=>{"use strict";n.d(t,{B6:()=>V,ql:()=>J});var r=n(7294),a=n(5697),o=n.n(a),i=n(9590),l=n.n(i),s=n(1143),u=n.n(s),c=n(6774),d=n.n(c);function f(){return f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},f.apply(this,arguments)}function p(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,g(e,t)}function g(e,t){return g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},g(e,t)}function h(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)t.indexOf(n=o[r])>=0||(a[n]=e[n]);return a}var m={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title",FRAGMENT:"Symbol(react.fragment)"},y={rel:["amphtml","canonical","alternate"]},b={type:["application/ld+json"]},v={charset:"",name:["robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]},w=Object.keys(m).map((function(e){return m[e]})),k={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},x=Object.keys(k).reduce((function(e,t){return e[k[t]]=t,e}),{}),S=function(e,t){for(var n=e.length-1;n>=0;n-=1){var r=e[n];if(Object.prototype.hasOwnProperty.call(r,t))return r[t]}return null},E=function(e){var t=S(e,m.TITLE),n=S(e,"titleTemplate");if(Array.isArray(t)&&(t=t.join("")),n&&t)return n.replace(/%s/g,(function(){return t}));var r=S(e,"defaultTitle");return t||r||void 0},_=function(e){return S(e,"onChangeClientState")||function(){}},C=function(e,t){return t.filter((function(t){return void 0!==t[e]})).map((function(t){return t[e]})).reduce((function(e,t){return f({},e,t)}),{})},T=function(e,t){return t.filter((function(e){return void 0!==e[m.BASE]})).map((function(e){return e[m.BASE]})).reverse().reduce((function(t,n){if(!t.length)for(var r=Object.keys(n),a=0;a<r.length;a+=1){var o=r[a].toLowerCase();if(-1!==e.indexOf(o)&&n[o])return t.concat(n)}return t}),[])},N=function(e,t,n){var r={};return n.filter((function(t){return!!Array.isArray(t[e])||(void 0!==t[e]&&console&&"function"==typeof console.warn&&console.warn("Helmet: "+e+' should be of type "Array". Instead found type "'+typeof t[e]+'"'),!1)})).map((function(t){return t[e]})).reverse().reduce((function(e,n){var a={};n.filter((function(e){for(var n,o=Object.keys(e),i=0;i<o.length;i+=1){var l=o[i],s=l.toLowerCase();-1===t.indexOf(s)||"rel"===n&&"canonical"===e[n].toLowerCase()||"rel"===s&&"stylesheet"===e[s].toLowerCase()||(n=s),-1===t.indexOf(l)||"innerHTML"!==l&&"cssText"!==l&&"itemprop"!==l||(n=l)}if(!n||!e[n])return!1;var u=e[n].toLowerCase();return r[n]||(r[n]={}),a[n]||(a[n]={}),!r[n][u]&&(a[n][u]=!0,!0)})).reverse().forEach((function(t){return e.push(t)}));for(var o=Object.keys(a),i=0;i<o.length;i+=1){var l=o[i],s=f({},r[l],a[l]);r[l]=s}return e}),[]).reverse()},A=function(e,t){if(Array.isArray(e)&&e.length)for(var n=0;n<e.length;n+=1)if(e[n][t])return!0;return!1},j=function(e){return Array.isArray(e)?e.join(""):e},L=function(e,t){return Array.isArray(e)?e.reduce((function(e,n){return function(e,t){for(var n=Object.keys(e),r=0;r<n.length;r+=1)if(t[n[r]]&&t[n[r]].includes(e[n[r]]))return!0;return!1}(n,t)?e.priority.push(n):e.default.push(n),e}),{priority:[],default:[]}):{default:e}},O=function(e,t){var n;return f({},e,((n={})[t]=void 0,n))},P=[m.NOSCRIPT,m.SCRIPT,m.STYLE],R=function(e,t){return void 0===t&&(t=!0),!1===t?String(e):String(e).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")},I=function(e){return Object.keys(e).reduce((function(t,n){var r=void 0!==e[n]?n+'="'+e[n]+'"':""+n;return t?t+" "+r:r}),"")},D=function(e,t){return void 0===t&&(t={}),Object.keys(e).reduce((function(t,n){return t[k[n]||n]=e[n],t}),t)},F=function(e,t){return t.map((function(t,n){var a,o=((a={key:n})["data-rh"]=!0,a);return Object.keys(t).forEach((function(e){var n=k[e]||e;"innerHTML"===n||"cssText"===n?o.dangerouslySetInnerHTML={__html:t.innerHTML||t.cssText}:o[n]=t[e]})),r.createElement(e,o)}))},M=function(e,t,n){switch(e){case m.TITLE:return{toComponent:function(){return n=t.titleAttributes,(a={key:e=t.title})["data-rh"]=!0,o=D(n,a),[r.createElement(m.TITLE,o,e)];var e,n,a,o},toString:function(){return function(e,t,n,r){var a=I(n),o=j(t);return a?"<"+e+' data-rh="true" '+a+">"+R(o,r)+"</"+e+">":"<"+e+' data-rh="true">'+R(o,r)+"</"+e+">"}(e,t.title,t.titleAttributes,n)}};case"bodyAttributes":case"htmlAttributes":return{toComponent:function(){return D(t)},toString:function(){return I(t)}};default:return{toComponent:function(){return F(e,t)},toString:function(){return function(e,t,n){return t.reduce((function(t,r){var a=Object.keys(r).filter((function(e){return!("innerHTML"===e||"cssText"===e)})).reduce((function(e,t){var a=void 0===r[t]?t:t+'="'+R(r[t],n)+'"';return e?e+" "+a:a}),""),o=r.innerHTML||r.cssText||"",i=-1===P.indexOf(e);return t+"<"+e+' data-rh="true" '+a+(i?"/>":">"+o+"</"+e+">")}),"")}(e,t,n)}}}},z=function(e){var t=e.baseTag,n=e.bodyAttributes,r=e.encode,a=e.htmlAttributes,o=e.noscriptTags,i=e.styleTags,l=e.title,s=void 0===l?"":l,u=e.titleAttributes,c=e.linkTags,d=e.metaTags,f=e.scriptTags,p={toComponent:function(){},toString:function(){return""}};if(e.prioritizeSeoTags){var g=function(e){var t=e.linkTags,n=e.scriptTags,r=e.encode,a=L(e.metaTags,v),o=L(t,y),i=L(n,b);return{priorityMethods:{toComponent:function(){return[].concat(F(m.META,a.priority),F(m.LINK,o.priority),F(m.SCRIPT,i.priority))},toString:function(){return M(m.META,a.priority,r)+" "+M(m.LINK,o.priority,r)+" "+M(m.SCRIPT,i.priority,r)}},metaTags:a.default,linkTags:o.default,scriptTags:i.default}}(e);p=g.priorityMethods,c=g.linkTags,d=g.metaTags,f=g.scriptTags}return{priority:p,base:M(m.BASE,t,r),bodyAttributes:M("bodyAttributes",n,r),htmlAttributes:M("htmlAttributes",a,r),link:M(m.LINK,c,r),meta:M(m.META,d,r),noscript:M(m.NOSCRIPT,o,r),script:M(m.SCRIPT,f,r),style:M(m.STYLE,i,r),title:M(m.TITLE,{title:s,titleAttributes:u},r)}},B=[],$=function(e,t){var n=this;void 0===t&&(t="undefined"!=typeof document),this.instances=[],this.value={setHelmet:function(e){n.context.helmet=e},helmetInstances:{get:function(){return n.canUseDOM?B:n.instances},add:function(e){(n.canUseDOM?B:n.instances).push(e)},remove:function(e){var t=(n.canUseDOM?B:n.instances).indexOf(e);(n.canUseDOM?B:n.instances).splice(t,1)}}},this.context=e,this.canUseDOM=t,t||(e.helmet=z({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))},U=r.createContext({}),Z=o().shape({setHelmet:o().func,helmetInstances:o().shape({get:o().func,add:o().func,remove:o().func})}),H="undefined"!=typeof document,V=function(e){function t(n){var r;return(r=e.call(this,n)||this).helmetData=new $(r.props.context,t.canUseDOM),r}return p(t,e),t.prototype.render=function(){return r.createElement(U.Provider,{value:this.helmetData.value},this.props.children)},t}(r.Component);V.canUseDOM=H,V.propTypes={context:o().shape({helmet:o().shape()}),children:o().node.isRequired},V.defaultProps={context:{}},V.displayName="HelmetProvider";var W=function(e,t){var n,r=document.head||document.querySelector(m.HEAD),a=r.querySelectorAll(e+"[data-rh]"),o=[].slice.call(a),i=[];return t&&t.length&&t.forEach((function(t){var r=document.createElement(e);for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&("innerHTML"===a?r.innerHTML=t.innerHTML:"cssText"===a?r.styleSheet?r.styleSheet.cssText=t.cssText:r.appendChild(document.createTextNode(t.cssText)):r.setAttribute(a,void 0===t[a]?"":t[a]));r.setAttribute("data-rh","true"),o.some((function(e,t){return n=t,r.isEqualNode(e)}))?o.splice(n,1):i.push(r)})),o.forEach((function(e){return e.parentNode.removeChild(e)})),i.forEach((function(e){return r.appendChild(e)})),{oldTags:o,newTags:i}},G=function(e,t){var n=document.getElementsByTagName(e)[0];if(n){for(var r=n.getAttribute("data-rh"),a=r?r.split(","):[],o=[].concat(a),i=Object.keys(t),l=0;l<i.length;l+=1){var s=i[l],u=t[s]||"";n.getAttribute(s)!==u&&n.setAttribute(s,u),-1===a.indexOf(s)&&a.push(s);var c=o.indexOf(s);-1!==c&&o.splice(c,1)}for(var d=o.length-1;d>=0;d-=1)n.removeAttribute(o[d]);a.length===o.length?n.removeAttribute("data-rh"):n.getAttribute("data-rh")!==i.join(",")&&n.setAttribute("data-rh",i.join(","))}},q=function(e,t){var n=e.baseTag,r=e.htmlAttributes,a=e.linkTags,o=e.metaTags,i=e.noscriptTags,l=e.onChangeClientState,s=e.scriptTags,u=e.styleTags,c=e.title,d=e.titleAttributes;G(m.BODY,e.bodyAttributes),G(m.HTML,r),function(e,t){void 0!==e&&document.title!==e&&(document.title=j(e)),G(m.TITLE,t)}(c,d);var f={baseTag:W(m.BASE,n),linkTags:W(m.LINK,a),metaTags:W(m.META,o),noscriptTags:W(m.NOSCRIPT,i),scriptTags:W(m.SCRIPT,s),styleTags:W(m.STYLE,u)},p={},g={};Object.keys(f).forEach((function(e){var t=f[e],n=t.newTags,r=t.oldTags;n.length&&(p[e]=n),r.length&&(g[e]=f[e].oldTags)})),t&&t(),l(e,p,g)},Y=null,K=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).rendered=!1,t}p(t,e);var n=t.prototype;return n.shouldComponentUpdate=function(e){return!d()(e,this.props)},n.componentDidUpdate=function(){this.emitChange()},n.componentWillUnmount=function(){this.props.context.helmetInstances.remove(this),this.emitChange()},n.emitChange=function(){var e,t,n=this.props.context,r=n.setHelmet,a=null,o=(e=n.helmetInstances.get().map((function(e){var t=f({},e.props);return delete t.context,t})),{baseTag:T(["href"],e),bodyAttributes:C("bodyAttributes",e),defer:S(e,"defer"),encode:S(e,"encodeSpecialCharacters"),htmlAttributes:C("htmlAttributes",e),linkTags:N(m.LINK,["rel","href"],e),metaTags:N(m.META,["name","charset","http-equiv","property","itemprop"],e),noscriptTags:N(m.NOSCRIPT,["innerHTML"],e),onChangeClientState:_(e),scriptTags:N(m.SCRIPT,["src","innerHTML"],e),styleTags:N(m.STYLE,["cssText"],e),title:E(e),titleAttributes:C("titleAttributes",e),prioritizeSeoTags:A(e,"prioritizeSeoTags")});V.canUseDOM?(t=o,Y&&cancelAnimationFrame(Y),t.defer?Y=requestAnimationFrame((function(){q(t,(function(){Y=null}))})):(q(t),Y=null)):z&&(a=z(o)),r(a)},n.init=function(){this.rendered||(this.rendered=!0,this.props.context.helmetInstances.add(this),this.emitChange())},n.render=function(){return this.init(),null},t}(r.Component);K.propTypes={context:Z.isRequired},K.displayName="HelmetDispatcher";var Q=["children"],X=["children"],J=function(e){function t(){return e.apply(this,arguments)||this}p(t,e);var n=t.prototype;return n.shouldComponentUpdate=function(e){return!l()(O(this.props,"helmetData"),O(e,"helmetData"))},n.mapNestedChildrenToProps=function(e,t){if(!t)return null;switch(e.type){case m.SCRIPT:case m.NOSCRIPT:return{innerHTML:t};case m.STYLE:return{cssText:t};default:throw new Error("<"+e.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")}},n.flattenArrayTypeChildren=function(e){var t,n=e.child,r=e.arrayTypeChildren;return f({},r,((t={})[n.type]=[].concat(r[n.type]||[],[f({},e.newChildProps,this.mapNestedChildrenToProps(n,e.nestedChildren))]),t))},n.mapObjectTypeChildren=function(e){var t,n,r=e.child,a=e.newProps,o=e.newChildProps,i=e.nestedChildren;switch(r.type){case m.TITLE:return f({},a,((t={})[r.type]=i,t.titleAttributes=f({},o),t));case m.BODY:return f({},a,{bodyAttributes:f({},o)});case m.HTML:return f({},a,{htmlAttributes:f({},o)});default:return f({},a,((n={})[r.type]=f({},o),n))}},n.mapArrayTypeChildrenToProps=function(e,t){var n=f({},t);return Object.keys(e).forEach((function(t){var r;n=f({},n,((r={})[t]=e[t],r))})),n},n.warnOnInvalidChildren=function(e,t){return u()(w.some((function(t){return e.type===t})),"function"==typeof e.type?"You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information.":"Only elements types "+w.join(", ")+" are allowed. Helmet does not support rendering <"+e.type+"> elements. Refer to our API for more information."),u()(!t||"string"==typeof t||Array.isArray(t)&&!t.some((function(e){return"string"!=typeof e})),"Helmet expects a string as a child of <"+e.type+">. Did you forget to wrap your children in braces? ( <"+e.type+">{``}</"+e.type+"> ) Refer to our API for more information."),!0},n.mapChildrenToProps=function(e,t){var n=this,a={};return r.Children.forEach(e,(function(e){if(e&&e.props){var r=e.props,o=r.children,i=h(r,Q),l=Object.keys(i).reduce((function(e,t){return e[x[t]||t]=i[t],e}),{}),s=e.type;switch("symbol"==typeof s?s=s.toString():n.warnOnInvalidChildren(e,o),s){case m.FRAGMENT:t=n.mapChildrenToProps(o,t);break;case m.LINK:case m.META:case m.NOSCRIPT:case m.SCRIPT:case m.STYLE:a=n.flattenArrayTypeChildren({child:e,arrayTypeChildren:a,newChildProps:l,nestedChildren:o});break;default:t=n.mapObjectTypeChildren({child:e,newProps:t,newChildProps:l,nestedChildren:o})}}})),this.mapArrayTypeChildrenToProps(a,t)},n.render=function(){var e=this.props,t=e.children,n=h(e,X),a=f({},n),o=n.helmetData;return t&&(a=this.mapChildrenToProps(t,a)),!o||o instanceof $||(o=new $(o.context,o.instances)),o?r.createElement(K,f({},a,{context:o.value,helmetData:void 0})):r.createElement(U.Consumer,null,(function(e){return r.createElement(K,f({},a,{context:e}))}))},t}(r.Component);J.propTypes={base:o().object,bodyAttributes:o().object,children:o().oneOfType([o().arrayOf(o().node),o().node]),defaultTitle:o().string,defer:o().bool,encodeSpecialCharacters:o().bool,htmlAttributes:o().object,link:o().arrayOf(o().object),meta:o().arrayOf(o().object),noscript:o().arrayOf(o().object),onChangeClientState:o().func,script:o().arrayOf(o().object),style:o().arrayOf(o().object),title:o().string,titleAttributes:o().object,titleTemplate:o().string,prioritizeSeoTags:o().bool,helmetData:o().object},J.defaultProps={defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1},J.displayName="Helmet"},9921:(e,t)=>{"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,a=n?Symbol.for("react.portal"):60106,o=n?Symbol.for("react.fragment"):60107,i=n?Symbol.for("react.strict_mode"):60108,l=n?Symbol.for("react.profiler"):60114,s=n?Symbol.for("react.provider"):60109,u=n?Symbol.for("react.context"):60110,c=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,f=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,g=n?Symbol.for("react.suspense_list"):60120,h=n?Symbol.for("react.memo"):60115,m=n?Symbol.for("react.lazy"):60116,y=n?Symbol.for("react.block"):60121,b=n?Symbol.for("react.fundamental"):60117,v=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function k(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case c:case d:case o:case l:case i:case p:return e;default:switch(e=e&&e.$$typeof){case u:case f:case m:case h:case s:return e;default:return t}}case a:return t}}}function x(e){return k(e)===d}t.AsyncMode=c,t.ConcurrentMode=d,t.ContextConsumer=u,t.ContextProvider=s,t.Element=r,t.ForwardRef=f,t.Fragment=o,t.Lazy=m,t.Memo=h,t.Portal=a,t.Profiler=l,t.StrictMode=i,t.Suspense=p,t.isAsyncMode=function(e){return x(e)||k(e)===c},t.isConcurrentMode=x,t.isContextConsumer=function(e){return k(e)===u},t.isContextProvider=function(e){return k(e)===s},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return k(e)===f},t.isFragment=function(e){return k(e)===o},t.isLazy=function(e){return k(e)===m},t.isMemo=function(e){return k(e)===h},t.isPortal=function(e){return k(e)===a},t.isProfiler=function(e){return k(e)===l},t.isStrictMode=function(e){return k(e)===i},t.isSuspense=function(e){return k(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===d||e===l||e===i||e===p||e===g||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===h||e.$$typeof===s||e.$$typeof===u||e.$$typeof===f||e.$$typeof===b||e.$$typeof===v||e.$$typeof===w||e.$$typeof===y)},t.typeOf=k},9864:(e,t,n)=>{"use strict";e.exports=n(9921)},8356:(e,t,n)=>{"use strict";function r(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function a(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(){return i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i.apply(this,arguments)}var l=n(7294),s=n(5697),u=[],c=[];function d(e){var t=e(),n={loading:!0,loaded:null,error:null};return n.promise=t.then((function(e){return n.loading=!1,n.loaded=e,e})).catch((function(e){throw n.loading=!1,n.error=e,e})),n}function f(e){var t={loading:!1,loaded:{},error:null},n=[];try{Object.keys(e).forEach((function(r){var a=d(e[r]);a.loading?t.loading=!0:(t.loaded[r]=a.loaded,t.error=a.error),n.push(a.promise),a.promise.then((function(e){t.loaded[r]=e})).catch((function(e){t.error=e}))}))}catch(r){t.error=r}return t.promise=Promise.all(n).then((function(e){return t.loading=!1,e})).catch((function(e){throw t.loading=!1,e})),t}function p(e,t){return l.createElement((n=e)&&n.__esModule?n.default:n,t);var n}function g(e,t){var d,f;if(!t.loading)throw new Error("react-loadable requires a `loading` component");var g=i({loader:null,loading:null,delay:200,timeout:null,render:p,webpack:null,modules:null},t),h=null;function m(){return h||(h=e(g.loader)),h.promise}return u.push(m),"function"==typeof g.webpack&&c.push((function(){if((0,g.webpack)().every((function(e){return void 0!==e&&void 0!==n.m[e]})))return m()})),f=d=function(t){function n(n){var r;return o(a(a(r=t.call(this,n)||this)),"retry",(function(){r.setState({error:null,loading:!0,timedOut:!1}),h=e(g.loader),r._loadModule()})),m(),r.state={error:h.error,pastDelay:!1,timedOut:!1,loading:h.loading,loaded:h.loaded},r}r(n,t),n.preload=function(){return m()};var i=n.prototype;return i.UNSAFE_componentWillMount=function(){this._loadModule()},i.componentDidMount=function(){this._mounted=!0},i._loadModule=function(){var e=this;if(this.context.loadable&&Array.isArray(g.modules)&&g.modules.forEach((function(t){e.context.loadable.report(t)})),h.loading){var t=function(t){e._mounted&&e.setState(t)};"number"==typeof g.delay&&(0===g.delay?this.setState({pastDelay:!0}):this._delay=setTimeout((function(){t({pastDelay:!0})}),g.delay)),"number"==typeof g.timeout&&(this._timeout=setTimeout((function(){t({timedOut:!0})}),g.timeout));var n=function(){t({error:h.error,loaded:h.loaded,loading:h.loading}),e._clearTimeouts()};h.promise.then((function(){return n(),null})).catch((function(e){return n(),null}))}},i.componentWillUnmount=function(){this._mounted=!1,this._clearTimeouts()},i._clearTimeouts=function(){clearTimeout(this._delay),clearTimeout(this._timeout)},i.render=function(){return this.state.loading||this.state.error?l.createElement(g.loading,{isLoading:this.state.loading,pastDelay:this.state.pastDelay,timedOut:this.state.timedOut,error:this.state.error,retry:this.retry}):this.state.loaded?g.render(this.state.loaded,this.props):null},n}(l.Component),o(d,"contextTypes",{loadable:s.shape({report:s.func.isRequired})}),f}function h(e){return g(d,e)}h.Map=function(e){if("function"!=typeof e.render)throw new Error("LoadableMap requires a `render(loaded, props)` function");return g(f,e)};var m=function(e){function t(){return e.apply(this,arguments)||this}r(t,e);var n=t.prototype;return n.getChildContext=function(){return{loadable:{report:this.props.report}}},n.render=function(){return l.Children.only(this.props.children)},t}(l.Component);function y(e){for(var t=[];e.length;){var n=e.pop();t.push(n())}return Promise.all(t).then((function(){if(e.length)return y(e)}))}o(m,"propTypes",{report:s.func.isRequired}),o(m,"childContextTypes",{loadable:s.shape({report:s.func.isRequired}).isRequired}),h.Capture=m,h.preloadAll=function(){return new Promise((function(e,t){y(u).then(e,t)}))},h.preloadReady=function(){return new Promise((function(e,t){y(c).then(e,e)}))},e.exports=h},8790:(e,t,n)=>{"use strict";n.d(t,{H:()=>l,f:()=>i});var r=n(6550),a=n(7462),o=n(7294);function i(e,t,n){return void 0===n&&(n=[]),e.some((function(e){var a=e.path?(0,r.LX)(t,e):n.length?n[n.length-1].match:r.F0.computeRootMatch(t);return a&&(n.push({route:e,match:a}),e.routes&&i(e.routes,t,n)),a})),n}function l(e,t,n){return void 0===t&&(t={}),void 0===n&&(n={}),e?o.createElement(r.rs,n,e.map((function(e,n){return o.createElement(r.AW,{key:e.key||n,path:e.path,exact:e.exact,strict:e.strict,render:function(n){return e.render?e.render((0,a.Z)({},n,{},t,{route:e})):o.createElement(e.component,(0,a.Z)({},n,t,{route:e}))}})}))):null}},3727:(e,t,n)=>{"use strict";n.d(t,{OL:()=>v,VK:()=>c,rU:()=>m});var r=n(6550),a=n(5068),o=n(7294),i=n(9318),l=n(7462),s=n(3366),u=n(8776),c=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).history=(0,i.lX)(t.props),t}return(0,a.Z)(t,e),t.prototype.render=function(){return o.createElement(r.F0,{history:this.history,children:this.props.children})},t}(o.Component);o.Component;var d=function(e,t){return"function"==typeof e?e(t):e},f=function(e,t){return"string"==typeof e?(0,i.ob)(e,null,null,t):e},p=function(e){return e},g=o.forwardRef;void 0===g&&(g=p);var h=g((function(e,t){var n=e.innerRef,r=e.navigate,a=e.onClick,i=(0,s.Z)(e,["innerRef","navigate","onClick"]),u=i.target,c=(0,l.Z)({},i,{onClick:function(e){try{a&&a(e)}catch(t){throw e.preventDefault(),t}e.defaultPrevented||0!==e.button||u&&"_self"!==u||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)||(e.preventDefault(),r())}});return c.ref=p!==g&&t||n,o.createElement("a",c)}));var m=g((function(e,t){var n=e.component,a=void 0===n?h:n,c=e.replace,m=e.to,y=e.innerRef,b=(0,s.Z)(e,["component","replace","to","innerRef"]);return o.createElement(r.s6.Consumer,null,(function(e){e||(0,u.Z)(!1);var n=e.history,r=f(d(m,e.location),e.location),s=r?n.createHref(r):"",h=(0,l.Z)({},b,{href:s,navigate:function(){var t=d(m,e.location),r=(0,i.Ep)(e.location)===(0,i.Ep)(f(t));(c||r?n.replace:n.push)(t)}});return p!==g?h.ref=t||y:h.innerRef=y,o.createElement(a,h)}))})),y=function(e){return e},b=o.forwardRef;void 0===b&&(b=y);var v=b((function(e,t){var n=e["aria-current"],a=void 0===n?"page":n,i=e.activeClassName,c=void 0===i?"active":i,p=e.activeStyle,g=e.className,h=e.exact,v=e.isActive,w=e.location,k=e.sensitive,x=e.strict,S=e.style,E=e.to,_=e.innerRef,C=(0,s.Z)(e,["aria-current","activeClassName","activeStyle","className","exact","isActive","location","sensitive","strict","style","to","innerRef"]);return o.createElement(r.s6.Consumer,null,(function(e){e||(0,u.Z)(!1);var n=w||e.location,i=f(d(E,n),n),s=i.pathname,T=s&&s.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),N=T?(0,r.LX)(n.pathname,{path:T,exact:h,sensitive:k,strict:x}):null,A=!!(v?v(N,n):N),j="function"==typeof g?g(A):g,L="function"==typeof S?S(A):S;A&&(j=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter((function(e){return e})).join(" ")}(j,c),L=(0,l.Z)({},L,p));var O=(0,l.Z)({"aria-current":A&&a||null,className:j,style:L,to:i},C);return y!==b?O.ref=t||_:O.innerRef=_,o.createElement(m,O)}))}))},6550:(e,t,n)=>{"use strict";n.d(t,{AW:()=>E,F0:()=>v,LX:()=>S,TH:()=>P,k6:()=>O,rs:()=>j,s6:()=>b});var r=n(5068),a=n(7294),o=n(5697),i=n.n(o),l=n(9318),s=n(8776),u=n(7462),c=n(9658),d=n.n(c),f=(n(9864),n(3366)),p=(n(8679),1073741823),g="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:{};var h=a.createContext||function(e,t){var n,o,l="__create-react-context-"+function(){var e="__global_unique_id__";return g[e]=(g[e]||0)+1}()+"__",s=function(e){function n(){for(var t,n,r,a=arguments.length,o=new Array(a),i=0;i<a;i++)o[i]=arguments[i];return(t=e.call.apply(e,[this].concat(o))||this).emitter=(n=t.props.value,r=[],{on:function(e){r.push(e)},off:function(e){r=r.filter((function(t){return t!==e}))},get:function(){return n},set:function(e,t){n=e,r.forEach((function(e){return e(n,t)}))}}),t}(0,r.Z)(n,e);var a=n.prototype;return a.getChildContext=function(){var e;return(e={})[l]=this.emitter,e},a.componentWillReceiveProps=function(e){if(this.props.value!==e.value){var n,r=this.props.value,a=e.value;((o=r)===(i=a)?0!==o||1/o==1/i:o!=o&&i!=i)?n=0:(n="function"==typeof t?t(r,a):p,0!==(n|=0)&&this.emitter.set(e.value,n))}var o,i},a.render=function(){return this.props.children},n}(a.Component);s.childContextTypes=((n={})[l]=i().object.isRequired,n);var u=function(t){function n(){for(var e,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(e=t.call.apply(t,[this].concat(r))||this).observedBits=void 0,e.state={value:e.getValue()},e.onUpdate=function(t,n){0!=((0|e.observedBits)&n)&&e.setState({value:e.getValue()})},e}(0,r.Z)(n,t);var a=n.prototype;return a.componentWillReceiveProps=function(e){var t=e.observedBits;this.observedBits=null==t?p:t},a.componentDidMount=function(){this.context[l]&&this.context[l].on(this.onUpdate);var e=this.props.observedBits;this.observedBits=null==e?p:e},a.componentWillUnmount=function(){this.context[l]&&this.context[l].off(this.onUpdate)},a.getValue=function(){return this.context[l]?this.context[l].get():e},a.render=function(){return(e=this.props.children,Array.isArray(e)?e[0]:e)(this.state.value);var e},n}(a.Component);return u.contextTypes=((o={})[l]=i().object,o),{Provider:s,Consumer:u}},m=function(e){var t=h();return t.displayName=e,t},y=m("Router-History"),b=m("Router"),v=function(e){function t(t){var n;return(n=e.call(this,t)||this).state={location:t.history.location},n._isMounted=!1,n._pendingLocation=null,t.staticContext||(n.unlisten=t.history.listen((function(e){n._pendingLocation=e}))),n}(0,r.Z)(t,e),t.computeRootMatch=function(e){return{path:"/",url:"/",params:{},isExact:"/"===e}};var n=t.prototype;return n.componentDidMount=function(){var e=this;this._isMounted=!0,this.unlisten&&this.unlisten(),this.props.staticContext||(this.unlisten=this.props.history.listen((function(t){e._isMounted&&e.setState({location:t})}))),this._pendingLocation&&this.setState({location:this._pendingLocation})},n.componentWillUnmount=function(){this.unlisten&&(this.unlisten(),this._isMounted=!1,this._pendingLocation=null)},n.render=function(){return a.createElement(b.Provider,{value:{history:this.props.history,location:this.state.location,match:t.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},a.createElement(y.Provider,{children:this.props.children||null,value:this.props.history}))},t}(a.Component);a.Component;a.Component;var w={},k=1e4,x=0;function S(e,t){void 0===t&&(t={}),("string"==typeof t||Array.isArray(t))&&(t={path:t});var n=t,r=n.path,a=n.exact,o=void 0!==a&&a,i=n.strict,l=void 0!==i&&i,s=n.sensitive,u=void 0!==s&&s;return[].concat(r).reduce((function(t,n){if(!n&&""!==n)return null;if(t)return t;var r=function(e,t){var n=""+t.end+t.strict+t.sensitive,r=w[n]||(w[n]={});if(r[e])return r[e];var a=[],o={regexp:d()(e,a,t),keys:a};return x<k&&(r[e]=o,x++),o}(n,{end:o,strict:l,sensitive:u}),a=r.regexp,i=r.keys,s=a.exec(e);if(!s)return null;var c=s[0],f=s.slice(1),p=e===c;return o&&!p?null:{path:n,url:"/"===n&&""===c?"/":c,isExact:p,params:i.reduce((function(e,t,n){return e[t.name]=f[n],e}),{})}}),null)}var E=function(e){function t(){return e.apply(this,arguments)||this}return(0,r.Z)(t,e),t.prototype.render=function(){var e=this;return a.createElement(b.Consumer,null,(function(t){t||(0,s.Z)(!1);var n=e.props.location||t.location,r=e.props.computedMatch?e.props.computedMatch:e.props.path?S(n.pathname,e.props):t.match,o=(0,u.Z)({},t,{location:n,match:r}),i=e.props,l=i.children,c=i.component,d=i.render;return Array.isArray(l)&&function(e){return 0===a.Children.count(e)}(l)&&(l=null),a.createElement(b.Provider,{value:o},o.match?l?"function"==typeof l?l(o):l:c?a.createElement(c,o):d?d(o):null:"function"==typeof l?l(o):null)}))},t}(a.Component);function _(e){return"/"===e.charAt(0)?e:"/"+e}function C(e,t){if(!e)return t;var n=_(e);return 0!==t.pathname.indexOf(n)?t:(0,u.Z)({},t,{pathname:t.pathname.substr(n.length)})}function T(e){return"string"==typeof e?e:(0,l.Ep)(e)}function N(e){return function(){(0,s.Z)(!1)}}function A(){}a.Component;var j=function(e){function t(){return e.apply(this,arguments)||this}return(0,r.Z)(t,e),t.prototype.render=function(){var e=this;return a.createElement(b.Consumer,null,(function(t){t||(0,s.Z)(!1);var n,r,o=e.props.location||t.location;return a.Children.forEach(e.props.children,(function(e){if(null==r&&a.isValidElement(e)){n=e;var i=e.props.path||e.props.from;r=i?S(o.pathname,(0,u.Z)({},e.props,{path:i})):t.match}})),r?a.cloneElement(n,{location:o,computedMatch:r}):null}))},t}(a.Component);var L=a.useContext;function O(){return L(y)}function P(){return L(b).location}},9658:(e,t,n)=>{var r=n(5826);e.exports=p,e.exports.parse=o,e.exports.compile=function(e,t){return l(o(e,t),t)},e.exports.tokensToFunction=l,e.exports.tokensToRegExp=f;var a=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function o(e,t){for(var n,r=[],o=0,i=0,l="",c=t&&t.delimiter||"/";null!=(n=a.exec(e));){var d=n[0],f=n[1],p=n.index;if(l+=e.slice(i,p),i=p+d.length,f)l+=f[1];else{var g=e[i],h=n[2],m=n[3],y=n[4],b=n[5],v=n[6],w=n[7];l&&(r.push(l),l="");var k=null!=h&&null!=g&&g!==h,x="+"===v||"*"===v,S="?"===v||"*"===v,E=n[2]||c,_=y||b;r.push({name:m||o++,prefix:h||"",delimiter:E,optional:S,repeat:x,partial:k,asterisk:!!w,pattern:_?u(_):w?".*":"[^"+s(E)+"]+?"})}}return i<e.length&&(l+=e.substr(i)),l&&r.push(l),r}function i(e){return encodeURI(e).replace(/[\/?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}function l(e,t){for(var n=new Array(e.length),a=0;a<e.length;a++)"object"==typeof e[a]&&(n[a]=new RegExp("^(?:"+e[a].pattern+")$",d(t)));return function(t,a){for(var o="",l=t||{},s=(a||{}).pretty?i:encodeURIComponent,u=0;u<e.length;u++){var c=e[u];if("string"!=typeof c){var d,f=l[c.name];if(null==f){if(c.optional){c.partial&&(o+=c.prefix);continue}throw new TypeError('Expected "'+c.name+'" to be defined')}if(r(f)){if(!c.repeat)throw new TypeError('Expected "'+c.name+'" to not repeat, but received `'+JSON.stringify(f)+"`");if(0===f.length){if(c.optional)continue;throw new TypeError('Expected "'+c.name+'" to not be empty')}for(var p=0;p<f.length;p++){if(d=s(f[p]),!n[u].test(d))throw new TypeError('Expected all "'+c.name+'" to match "'+c.pattern+'", but received `'+JSON.stringify(d)+"`");o+=(0===p?c.prefix:c.delimiter)+d}}else{if(d=c.asterisk?encodeURI(f).replace(/[?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})):s(f),!n[u].test(d))throw new TypeError('Expected "'+c.name+'" to match "'+c.pattern+'", but received "'+d+'"');o+=c.prefix+d}}else o+=c}return o}}function s(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function u(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function c(e,t){return e.keys=t,e}function d(e){return e&&e.sensitive?"":"i"}function f(e,t,n){r(t)||(n=t||n,t=[]);for(var a=(n=n||{}).strict,o=!1!==n.end,i="",l=0;l<e.length;l++){var u=e[l];if("string"==typeof u)i+=s(u);else{var f=s(u.prefix),p="(?:"+u.pattern+")";t.push(u),u.repeat&&(p+="(?:"+f+p+")*"),i+=p=u.optional?u.partial?f+"("+p+")?":"(?:"+f+"("+p+"))?":f+"("+p+")"}}var g=s(n.delimiter||"/"),h=i.slice(-g.length)===g;return a||(i=(h?i.slice(0,-g.length):i)+"(?:"+g+"(?=$))?"),i+=o?"$":a&&h?"":"(?="+g+"|$)",c(new RegExp("^"+i,d(n)),t)}function p(e,t,n){return r(t)||(n=t||n,t=[]),n=n||{},e instanceof RegExp?function(e,t){var n=e.source.match(/\((?!\?)/g);if(n)for(var r=0;r<n.length;r++)t.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return c(e,t)}(e,t):r(e)?function(e,t,n){for(var r=[],a=0;a<e.length;a++)r.push(p(e[a],t,n).source);return c(new RegExp("(?:"+r.join("|")+")",d(n)),t)}(e,t,n):function(e,t,n){return f(o(e,n),t,n)}(e,t,n)}},5251:(e,t,n)=>{"use strict";var r=n(7294),a=Symbol.for("react.element"),o=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,l=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function u(e,t,n){var r,o={},u=null,c=null;for(r in void 0!==n&&(u=""+n),void 0!==t.key&&(u=""+t.key),void 0!==t.ref&&(c=t.ref),t)i.call(t,r)&&!s.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===o[r]&&(o[r]=t[r]);return{$$typeof:a,type:e,key:u,ref:c,props:o,_owner:l.current}}t.Fragment=o,t.jsx=u,t.jsxs=u},2408:(e,t)=>{"use strict";var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),s=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),p=Symbol.iterator;var g={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},h=Object.assign,m={};function y(e,t,n){this.props=e,this.context=t,this.refs=m,this.updater=n||g}function b(){}function v(e,t,n){this.props=e,this.context=t,this.refs=m,this.updater=n||g}y.prototype.isReactComponent={},y.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},y.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},b.prototype=y.prototype;var w=v.prototype=new b;w.constructor=v,h(w,y.prototype),w.isPureReactComponent=!0;var k=Array.isArray,x=Object.prototype.hasOwnProperty,S={current:null},E={key:!0,ref:!0,__self:!0,__source:!0};function _(e,t,r){var a,o={},i=null,l=null;if(null!=t)for(a in void 0!==t.ref&&(l=t.ref),void 0!==t.key&&(i=""+t.key),t)x.call(t,a)&&!E.hasOwnProperty(a)&&(o[a]=t[a]);var s=arguments.length-2;if(1===s)o.children=r;else if(1<s){for(var u=Array(s),c=0;c<s;c++)u[c]=arguments[c+2];o.children=u}if(e&&e.defaultProps)for(a in s=e.defaultProps)void 0===o[a]&&(o[a]=s[a]);return{$$typeof:n,type:e,key:i,ref:l,props:o,_owner:S.current}}function C(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}var T=/\/+/g;function N(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function A(e,t,a,o,i){var l=typeof e;"undefined"!==l&&"boolean"!==l||(e=null);var s=!1;if(null===e)s=!0;else switch(l){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case n:case r:s=!0}}if(s)return i=i(s=e),e=""===o?"."+N(s,0):o,k(i)?(a="",null!=e&&(a=e.replace(T,"$&/")+"/"),A(i,t,a,"",(function(e){return e}))):null!=i&&(C(i)&&(i=function(e,t){return{$$typeof:n,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(i,a+(!i.key||s&&s.key===i.key?"":(""+i.key).replace(T,"$&/")+"/")+e)),t.push(i)),1;if(s=0,o=""===o?".":o+":",k(e))for(var u=0;u<e.length;u++){var c=o+N(l=e[u],u);s+=A(l,t,a,c,i)}else if(c=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=p&&e[p]||e["@@iterator"])?e:null}(e),"function"==typeof c)for(e=c.call(e),u=0;!(l=e.next()).done;)s+=A(l=l.value,t,a,c=o+N(l,u++),i);else if("object"===l)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return s}function j(e,t,n){if(null==e)return e;var r=[],a=0;return A(e,r,"","",(function(e){return t.call(n,e,a++)})),r}function L(e){if(-1===e._status){var t=e._result;(t=t()).then((function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)}),(function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var O={current:null},P={transition:null},R={ReactCurrentDispatcher:O,ReactCurrentBatchConfig:P,ReactCurrentOwner:S};t.Children={map:j,forEach:function(e,t,n){j(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return j(e,(function(){t++})),t},toArray:function(e){return j(e,(function(e){return e}))||[]},only:function(e){if(!C(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=y,t.Fragment=a,t.Profiler=i,t.PureComponent=v,t.StrictMode=o,t.Suspense=c,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=R,t.cloneElement=function(e,t,r){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var a=h({},e.props),o=e.key,i=e.ref,l=e._owner;if(null!=t){if(void 0!==t.ref&&(i=t.ref,l=S.current),void 0!==t.key&&(o=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(u in t)x.call(t,u)&&!E.hasOwnProperty(u)&&(a[u]=void 0===t[u]&&void 0!==s?s[u]:t[u])}var u=arguments.length-2;if(1===u)a.children=r;else if(1<u){s=Array(u);for(var c=0;c<u;c++)s[c]=arguments[c+2];a.children=s}return{$$typeof:n,type:e.type,key:o,ref:i,props:a,_owner:l}},t.createContext=function(e){return(e={$$typeof:s,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:l,_context:e},e.Consumer=e},t.createElement=_,t.createFactory=function(e){var t=_.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:u,render:e}},t.isValidElement=C,t.lazy=function(e){return{$$typeof:f,_payload:{_status:-1,_result:e},_init:L}},t.memo=function(e,t){return{$$typeof:d,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=P.transition;P.transition={};try{e()}finally{P.transition=t}},t.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},t.useCallback=function(e,t){return O.current.useCallback(e,t)},t.useContext=function(e){return O.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return O.current.useDeferredValue(e)},t.useEffect=function(e,t){return O.current.useEffect(e,t)},t.useId=function(){return O.current.useId()},t.useImperativeHandle=function(e,t,n){return O.current.useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return O.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return O.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return O.current.useMemo(e,t)},t.useReducer=function(e,t,n){return O.current.useReducer(e,t,n)},t.useRef=function(e){return O.current.useRef(e)},t.useState=function(e){return O.current.useState(e)},t.useSyncExternalStore=function(e,t,n){return O.current.useSyncExternalStore(e,t,n)},t.useTransition=function(){return O.current.useTransition()},t.version="18.2.0"},7294:(e,t,n)=>{"use strict";e.exports=n(2408)},5893:(e,t,n)=>{"use strict";e.exports=n(5251)},53:(e,t)=>{"use strict";function n(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,a=e[r];if(!(0<o(a,t)))break e;e[r]=t,e[n]=a,n=r}}function r(e){return 0===e.length?null:e[0]}function a(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,a=e.length,i=a>>>1;r<i;){var l=2*(r+1)-1,s=e[l],u=l+1,c=e[u];if(0>o(s,n))u<a&&0>o(c,s)?(e[r]=c,e[u]=n,r=u):(e[r]=s,e[l]=n,r=l);else{if(!(u<a&&0>o(c,n)))break e;e[r]=c,e[u]=n,r=u}}}return t}function o(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"==typeof performance&&"function"==typeof performance.now){var i=performance;t.unstable_now=function(){return i.now()}}else{var l=Date,s=l.now();t.unstable_now=function(){return l.now()-s}}var u=[],c=[],d=1,f=null,p=3,g=!1,h=!1,m=!1,y="function"==typeof setTimeout?setTimeout:null,b="function"==typeof clearTimeout?clearTimeout:null,v="undefined"!=typeof setImmediate?setImmediate:null;function w(e){for(var t=r(c);null!==t;){if(null===t.callback)a(c);else{if(!(t.startTime<=e))break;a(c),t.sortIndex=t.expirationTime,n(u,t)}t=r(c)}}function k(e){if(m=!1,w(e),!h)if(null!==r(u))h=!0,P(x);else{var t=r(c);null!==t&&R(k,t.startTime-e)}}function x(e,n){h=!1,m&&(m=!1,b(C),C=-1),g=!0;var o=p;try{for(w(n),f=r(u);null!==f&&(!(f.expirationTime>n)||e&&!A());){var i=f.callback;if("function"==typeof i){f.callback=null,p=f.priorityLevel;var l=i(f.expirationTime<=n);n=t.unstable_now(),"function"==typeof l?f.callback=l:f===r(u)&&a(u),w(n)}else a(u);f=r(u)}if(null!==f)var s=!0;else{var d=r(c);null!==d&&R(k,d.startTime-n),s=!1}return s}finally{f=null,p=o,g=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var S,E=!1,_=null,C=-1,T=5,N=-1;function A(){return!(t.unstable_now()-N<T)}function j(){if(null!==_){var e=t.unstable_now();N=e;var n=!0;try{n=_(!0,e)}finally{n?S():(E=!1,_=null)}}else E=!1}if("function"==typeof v)S=function(){v(j)};else if("undefined"!=typeof MessageChannel){var L=new MessageChannel,O=L.port2;L.port1.onmessage=j,S=function(){O.postMessage(null)}}else S=function(){y(j,0)};function P(e){_=e,E||(E=!0,S())}function R(e,n){C=y((function(){e(t.unstable_now())}),n)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){h||g||(h=!0,P(x))},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):T=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return p},t.unstable_getFirstCallbackNode=function(){return r(u)},t.unstable_next=function(e){switch(p){case 1:case 2:case 3:var t=3;break;default:t=p}var n=p;p=t;try{return e()}finally{p=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=p;p=e;try{return t()}finally{p=n}},t.unstable_scheduleCallback=function(e,a,o){var i=t.unstable_now();switch("object"==typeof o&&null!==o?o="number"==typeof(o=o.delay)&&0<o?i+o:i:o=i,e){case 1:var l=-1;break;case 2:l=250;break;case 5:l=1073741823;break;case 4:l=1e4;break;default:l=5e3}return e={id:d++,callback:a,priorityLevel:e,startTime:o,expirationTime:l=o+l,sortIndex:-1},o>i?(e.sortIndex=o,n(c,e),null===r(u)&&e===r(c)&&(m?(b(C),C=-1):m=!0,R(k,o-i))):(e.sortIndex=l,n(u,e),h||g||(h=!0,P(x))),e},t.unstable_shouldYield=A,t.unstable_wrapCallback=function(e){var t=p;return function(){var n=p;p=t;try{return e.apply(this,arguments)}finally{p=n}}}},3840:(e,t,n)=>{"use strict";e.exports=n(53)},6774:e=>{e.exports=function(e,t,n,r){var a=n?n.call(r,e,t):void 0;if(void 0!==a)return!!a;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var o=Object.keys(e),i=Object.keys(t);if(o.length!==i.length)return!1;for(var l=Object.prototype.hasOwnProperty.bind(t),s=0;s<o.length;s++){var u=o[s];if(!l(u))return!1;var c=e[u],d=t[u];if(!1===(a=n?n.call(r,c,d,u):void 0)||void 0===a&&c!==d)return!1}return!0}},6809:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={title:"Prettier Java",tagline:"Prettier code formatter plugin for Java",favicon:"img/favicon.png",trailingSlash:!1,url:"https://jtkiesel.github.io",baseUrl:"/prettier-java/",organizationName:"jtkiesel",projectName:"prettier-java",i18n:{defaultLocale:"en",locales:["en"],path:"i18n",localeConfigs:{}},presets:[["classic",{docs:{editUrl:"https://github.com/jtkiesel/prettier-java/tree/docs/create-website/website/"},blog:{editUrl:"https://github.com/jtkiesel/prettier-java/tree/docs/create-website/website/"},theme:{customCss:"./src/css/custom.css"}}]],themeConfig:{colorMode:{respectPrefersColorScheme:!0,defaultMode:"light",disableSwitch:!1},image:"img/banner-dark.png",navbar:{title:"Prettier Java",logo:{alt:"Prettier Java Logo",src:"img/icon.svg",srcDark:"img/icon-dark.svg"},items:[{label:"Playground",to:"/playground",position:"left"},{label:"Docs",to:"/docs",position:"left"},{label:"Blog",to:"/blog",position:"left"},{label:"GitHub",to:"https://github.com/jtkiesel/prettier-java",position:"right"}],hideOnScroll:!1},footer:{style:"dark",links:[{title:"Docs",items:[{label:"Introduction",to:"/docs"},{label:"Installation",to:"/docs/installation"}]},{title:"Community",items:[{label:"@JHipster on Twitter",to:"https://twitter.com/jhipster"}]},{title:"More",items:[{label:"Blog",to:"/blog"},{label:"GitHub",to:"https://github.com/jtkiesel/prettier-java"},{label:"Issues",to:"https://github.com/jtkiesel/prettier-java/issues"}]}]},prism:{theme:{plain:{color:"#393A34",backgroundColor:"#f6f8fa"},styles:[{types:["comment","prolog","doctype","cdata"],style:{color:"#999988",fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}},{types:["string","attr-value"],style:{color:"#e3116c"}},{types:["punctuation","operator"],style:{color:"#393A34"}},{types:["entity","url","symbol","number","boolean","variable","constant","property","regex","inserted"],style:{color:"#36acaa"}},{types:["atrule","keyword","attr-name","selector"],style:{color:"#00a4db"}},{types:["function","deleted","tag"],style:{color:"#d73a49"}},{types:["function-variable"],style:{color:"#6f42c1"}},{types:["tag","selector","keyword"],style:{color:"#00009f"}}]},darkTheme:{plain:{color:"#F8F8F2",backgroundColor:"#282A36"},styles:[{types:["prolog","constant","builtin"],style:{color:"rgb(189, 147, 249)"}},{types:["inserted","function"],style:{color:"rgb(80, 250, 123)"}},{types:["deleted"],style:{color:"rgb(255, 85, 85)"}},{types:["changed"],style:{color:"rgb(255, 184, 108)"}},{types:["punctuation","symbol"],style:{color:"rgb(248, 248, 242)"}},{types:["string","char","tag","selector"],style:{color:"rgb(255, 121, 198)"}},{types:["keyword","variable"],style:{color:"rgb(189, 147, 249)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(98, 114, 164)"}},{types:["attr-name"],style:{color:"rgb(241, 250, 140)"}}]},additionalLanguages:["bash","java"],magicComments:[{className:"theme-code-block-highlighted-line",line:"highlight-next-line",block:{start:"highlight-start",end:"highlight-end"}}]},docs:{versionPersistence:"localStorage",sidebar:{hideable:!1,autoCollapseCategories:!1}},metadata:[],tableOfContents:{minHeadingLevel:2,maxHeadingLevel:3}},baseUrlIssueBanner:!0,onBrokenLinks:"throw",onBrokenAnchors:"warn",onBrokenMarkdownLinks:"warn",onDuplicateRoutes:"warn",staticDirectories:["static"],customFields:{},plugins:[],themes:[],scripts:[],headTags:[],stylesheets:[],clientModules:[],titleDelimiter:"|",noIndex:!1,markdown:{format:"mdx",mermaid:!1,mdx1Compat:{comments:!0,admonitions:!0,headingIds:!0}}}},7462:(e,t,n)=>{"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.d(t,{Z:()=>r})},5068:(e,t,n)=>{"use strict";function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}function a(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,r(e,t)}n.d(t,{Z:()=>a})},3366:(e,t,n)=>{"use strict";function r(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}n.d(t,{Z:()=>r})},512:(e,t,n)=>{"use strict";function r(e){var t,n,a="";if("string"==typeof e||"number"==typeof e)a+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=r(e[t]))&&(a&&(a+=" "),a+=n);else for(t in e)e[t]&&(a&&(a+=" "),a+=t);return a}n.d(t,{Z:()=>a});const a=function(){for(var e,t,n=0,a="";n<arguments.length;)(e=arguments[n++])&&(t=r(e))&&(a&&(a+=" "),a+=t);return a}},2573:(e,t,n)=>{"use strict";n.d(t,{p1:()=>T,y$:()=>ee});var r,a,o,i,l,s,u,c=n(7294),d=n(512),f=Object.create,p=Object.defineProperty,g=Object.defineProperties,h=Object.getOwnPropertyDescriptor,m=Object.getOwnPropertyDescriptors,y=Object.getOwnPropertyNames,b=Object.getOwnPropertySymbols,v=Object.getPrototypeOf,w=Object.prototype.hasOwnProperty,k=Object.prototype.propertyIsEnumerable,x=(e,t,n)=>t in e?p(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,S=(e,t)=>{for(var n in t||(t={}))w.call(t,n)&&x(e,n,t[n]);if(b)for(var n of b(t))k.call(t,n)&&x(e,n,t[n]);return e},E=(e,t)=>g(e,m(t)),_=(e,t)=>{var n={};for(var r in e)w.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&b)for(var r of b(e))t.indexOf(r)<0&&k.call(e,r)&&(n[r]=e[r]);return n},C=(r={"../../node_modules/.pnpm/prismjs@1.29.0_patch_hash=vrxx3pzkik6jpmgpayxfjunetu/node_modules/prismjs/prism.js"(e,t){var n=function(){var e=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,t=0,n={},r={util:{encode:function e(t){return t instanceof a?new a(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&").replace(/</g,"<").replace(/\u00a0/g," ")},type:function(e){return Object.prototype.toString.call(e).slice(8,-1)},objId:function(e){return e.__id||Object.defineProperty(e,"__id",{value:++t}),e.__id},clone:function e(t,n){var a,o;switch(n=n||{},r.util.type(t)){case"Object":if(o=r.util.objId(t),n[o])return n[o];for(var i in a={},n[o]=a,t)t.hasOwnProperty(i)&&(a[i]=e(t[i],n));return a;case"Array":return o=r.util.objId(t),n[o]?n[o]:(a=[],n[o]=a,t.forEach((function(t,r){a[r]=e(t,n)})),a);default:return t}},getLanguage:function(t){for(;t;){var n=e.exec(t.className);if(n)return n[1].toLowerCase();t=t.parentElement}return"none"},setLanguage:function(t,n){t.className=t.className.replace(RegExp(e,"gi"),""),t.classList.add("language-"+n)},isActive:function(e,t,n){for(var r="no-"+t;e;){var a=e.classList;if(a.contains(t))return!0;if(a.contains(r))return!1;e=e.parentElement}return!!n}},languages:{plain:n,plaintext:n,text:n,txt:n,extend:function(e,t){var n=r.util.clone(r.languages[e]);for(var a in t)n[a]=t[a];return n},insertBefore:function(e,t,n,a){var o=(a=a||r.languages)[e],i={};for(var l in o)if(o.hasOwnProperty(l)){if(l==t)for(var s in n)n.hasOwnProperty(s)&&(i[s]=n[s]);n.hasOwnProperty(l)||(i[l]=o[l])}var u=a[e];return a[e]=i,r.languages.DFS(r.languages,(function(t,n){n===u&&t!=e&&(this[t]=i)})),i},DFS:function e(t,n,a,o){o=o||{};var i=r.util.objId;for(var l in t)if(t.hasOwnProperty(l)){n.call(t,l,t[l],a||l);var s=t[l],u=r.util.type(s);"Object"!==u||o[i(s)]?"Array"!==u||o[i(s)]||(o[i(s)]=!0,e(s,n,l,o)):(o[i(s)]=!0,e(s,n,null,o))}}},plugins:{},highlight:function(e,t,n){var o={code:e,grammar:t,language:n};if(r.hooks.run("before-tokenize",o),!o.grammar)throw new Error('The language "'+o.language+'" has no grammar.');return o.tokens=r.tokenize(o.code,o.grammar),r.hooks.run("after-tokenize",o),a.stringify(r.util.encode(o.tokens),o.language)},tokenize:function(e,t){var n=t.rest;if(n){for(var r in n)t[r]=n[r];delete t.rest}var a=new l;return s(a,a.head,e),i(e,a,t,a.head,0),function(e){for(var t=[],n=e.head.next;n!==e.tail;)t.push(n.value),n=n.next;return t}(a)},hooks:{all:{},add:function(e,t){var n=r.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=r.hooks.all[e];if(n&&n.length)for(var a,o=0;a=n[o++];)a(t)}},Token:a};function a(e,t,n,r){this.type=e,this.content=t,this.alias=n,this.length=0|(r||"").length}function o(e,t,n,r){e.lastIndex=t;var a=e.exec(n);if(a&&r&&a[1]){var o=a[1].length;a.index+=o,a[0]=a[0].slice(o)}return a}function i(e,t,n,l,c,d){for(var f in n)if(n.hasOwnProperty(f)&&n[f]){var p=n[f];p=Array.isArray(p)?p:[p];for(var g=0;g<p.length;++g){if(d&&d.cause==f+","+g)return;var h=p[g],m=h.inside,y=!!h.lookbehind,b=!!h.greedy,v=h.alias;if(b&&!h.pattern.global){var w=h.pattern.toString().match(/[imsuy]*$/)[0];h.pattern=RegExp(h.pattern.source,w+"g")}for(var k=h.pattern||h,x=l.next,S=c;x!==t.tail&&!(d&&S>=d.reach);S+=x.value.length,x=x.next){var E=x.value;if(t.length>e.length)return;if(!(E instanceof a)){var _,C=1;if(b){if(!(_=o(k,S,e,y))||_.index>=e.length)break;var T=_.index,N=_.index+_[0].length,A=S;for(A+=x.value.length;T>=A;)A+=(x=x.next).value.length;if(S=A-=x.value.length,x.value instanceof a)continue;for(var j=x;j!==t.tail&&(A<N||"string"==typeof j.value);j=j.next)C++,A+=j.value.length;C--,E=e.slice(S,A),_.index-=S}else if(!(_=o(k,0,E,y)))continue;T=_.index;var L=_[0],O=E.slice(0,T),P=E.slice(T+L.length),R=S+E.length;d&&R>d.reach&&(d.reach=R);var I=x.prev;if(O&&(I=s(t,I,O),S+=O.length),u(t,I,C),x=s(t,I,new a(f,m?r.tokenize(L,m):L,v,L)),P&&s(t,x,P),C>1){var D={cause:f+","+g,reach:R};i(e,t,n,x.prev,S,D),d&&D.reach>d.reach&&(d.reach=D.reach)}}}}}}function l(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function s(e,t,n){var r=t.next,a={value:n,prev:t,next:r};return t.next=a,r.prev=a,e.length++,a}function u(e,t,n){for(var r=t.next,a=0;a<n&&r!==e.tail;a++)r=r.next;t.next=r,r.prev=t,e.length-=a}return a.stringify=function e(t,n){if("string"==typeof t)return t;if(Array.isArray(t)){var a="";return t.forEach((function(t){a+=e(t,n)})),a}var o={type:t.type,content:e(t.content,n),tag:"span",classes:["token",t.type],attributes:{},language:n},i=t.alias;i&&(Array.isArray(i)?Array.prototype.push.apply(o.classes,i):o.classes.push(i)),r.hooks.run("wrap",o);var l="";for(var s in o.attributes)l+=" "+s+'="'+(o.attributes[s]||"").replace(/"/g,""")+'"';return"<"+o.tag+' class="'+o.classes.join(" ")+'"'+l+">"+o.content+"</"+o.tag+">"},r}();t.exports=n,n.default=n}},function(){return a||(0,r[y(r)[0]])((a={exports:{}}).exports,a),a.exports}),T=((e,t,n)=>(n=null!=e?f(v(e)):{},((e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let a of y(t))w.call(e,a)||a===n||p(e,a,{get:()=>t[a],enumerable:!(r=h(t,a))||r.enumerable});return e})(!t&&e&&e.__esModule?n:p(n,"default",{value:e,enumerable:!0}),e)))(C());T.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},T.languages.markup.tag.inside["attr-value"].inside.entity=T.languages.markup.entity,T.languages.markup.doctype.inside["internal-subset"].inside=T.languages.markup,T.hooks.add("wrap",(function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&/,"&"))})),Object.defineProperty(T.languages.markup.tag,"addInlined",{value:function(e,t){var n;(t=((n=((n={})["language-"+t]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:T.languages[t]},n.cdata=/^<!\[CDATA\[|\]\]>$/i,{"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:n}}))["language-"+t]={pattern:/[\s\S]+/,inside:T.languages[t]},{}))[e]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,(function(){return e})),"i"),lookbehind:!0,greedy:!0,inside:n},T.languages.insertBefore("markup","cdata",t)}}),Object.defineProperty(T.languages.markup.tag,"addAttribute",{value:function(e,t){T.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[t,"language-"+t],inside:T.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),T.languages.html=T.languages.markup,T.languages.mathml=T.languages.markup,T.languages.svg=T.languages.markup,T.languages.xml=T.languages.extend("markup",{}),T.languages.ssml=T.languages.xml,T.languages.atom=T.languages.xml,T.languages.rss=T.languages.xml,o=T,i={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},s="(?:[^\\\\-]|"+(l=/\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/).source+")",s=RegExp(s+"-"+s),u={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"},o.languages.regex={"char-class":{pattern:/((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/,lookbehind:!0,inside:{"char-class-negation":{pattern:/(^\[)\^/,lookbehind:!0,alias:"operator"},"char-class-punctuation":{pattern:/^\[|\]$/,alias:"punctuation"},range:{pattern:s,inside:{escape:l,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":i,"char-set":{pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},escape:l}},"special-escape":i,"char-set":{pattern:/\.|\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},backreference:[{pattern:/\\(?![123][0-7]{2})[1-9]/,alias:"keyword"},{pattern:/\\k<[^<>']+>/,alias:"keyword",inside:{"group-name":u}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:l,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|<?[=!]|[idmnsuxU]+(?:-[idmnsuxU]+)?:?))?/,alias:"punctuation",inside:{"group-name":u}},{pattern:/\)/,alias:"punctuation"}],quantifier:{pattern:/(?:[+*?]|\{\d+(?:,\d*)?\})[?+]?/,alias:"number"},alternation:{pattern:/\|/,alias:"keyword"}},T.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},T.languages.javascript=T.languages.extend("clike",{"class-name":[T.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),T.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,T.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:T.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:T.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:T.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:T.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:T.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),T.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:T.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),T.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),T.languages.markup&&(T.languages.markup.tag.addInlined("script","javascript"),T.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),T.languages.js=T.languages.javascript,T.languages.actionscript=T.languages.extend("javascript",{keyword:/\b(?:as|break|case|catch|class|const|default|delete|do|dynamic|each|else|extends|final|finally|for|function|get|if|implements|import|in|include|instanceof|interface|internal|is|namespace|native|new|null|override|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|use|var|void|while|with)\b/,operator:/\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<<?|>>?>?|[!=]=?)=?|[~?@]/}),T.languages.actionscript["class-name"].alias="function",delete T.languages.actionscript.parameter,delete T.languages.actionscript["literal-property"],T.languages.markup&&T.languages.insertBefore("actionscript","string",{xml:{pattern:/(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/,lookbehind:!0,inside:T.languages.markup}}),function(e){var t=/#(?!\{).+/,n={pattern:/#\{[^}]+\}/,alias:"variable"};e.languages.coffeescript=e.languages.extend("javascript",{comment:t,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:n}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),e.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:t,interpolation:n}}}),e.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:e.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:n}}]}),e.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete e.languages.coffeescript["template-string"],e.languages.coffee=e.languages.coffeescript}(T),function(e){var t=e.languages.javadoclike={parameter:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*@(?:arg|arguments|param)\s+)\w+/m,lookbehind:!0},keyword:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*|\{)@[a-z][a-zA-Z-]+\b/m,lookbehind:!0},punctuation:/[{}]/};Object.defineProperty(t,"addSupport",{value:function(t,n){(t="string"==typeof t?[t]:t).forEach((function(t){var r=function(e){e.inside||(e.inside={}),e.inside.rest=n},a="doc-comment";if(o=e.languages[t]){var o,i=o[a];if((i=i||(o=e.languages.insertBefore(t,"comment",{"doc-comment":{pattern:/(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,lookbehind:!0,alias:"comment"}}))[a])instanceof RegExp&&(i=o[a]={pattern:i}),Array.isArray(i))for(var l=0,s=i.length;l<s;l++)i[l]instanceof RegExp&&(i[l]={pattern:i[l]}),r(i[l]);else r(i)}}))}}),t.addSupport(["java","javascript","php"],t)}(T),function(e){var t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;(t=(e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+t.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css,e.languages.markup))&&(t.tag.addInlined("style","css"),t.tag.addAttribute("style","css"))}(T),function(e){var t=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,n=(t=(e.languages.css.selector={pattern:e.languages.css.selector.pattern,lookbehind:!0,inside:t={"pseudo-element":/:(?:after|before|first-letter|first-line|selection)|::[-\w]+/,"pseudo-class":/:[-\w]+/,class:/\.[-\w]+/,id:/#[-\w]+/,attribute:{pattern:RegExp("\\[(?:[^[\\]\"']|"+t.source+")*\\]"),greedy:!0,inside:{punctuation:/^\[|\]$/,"case-sensitivity":{pattern:/(\s)[si]$/i,lookbehind:!0,alias:"keyword"},namespace:{pattern:/^(\s*)(?:(?!\s)[-*\w\xA0-\uFFFF])*\|(?!=)/,lookbehind:!0,inside:{punctuation:/\|$/}},"attr-name":{pattern:/^(\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+/,lookbehind:!0},"attr-value":[t,{pattern:/(=\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+(?=\s*$)/,lookbehind:!0}],operator:/[|~*^$]?=/}},"n-th":[{pattern:/(\(\s*)[+-]?\d*[\dn](?:\s*[+-]\s*\d+)?(?=\s*\))/,lookbehind:!0,inside:{number:/[\dn]+/,operator:/[+-]/}},{pattern:/(\(\s*)(?:even|odd)(?=\s*\))/i,lookbehind:!0}],combinator:/>|\+|~|\|\|/,punctuation:/[(),]/}},e.languages.css.atrule.inside["selector-function-argument"].inside=t,e.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}}),{pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0}),{pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0});e.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|RebeccaPurple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:t,number:n,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:t,number:n})}(T),function(e){var t=/[*&][^\s[\]{},]+/,n=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,r="(?:"+n.source+"(?:[ \t]+"+t.source+")?|"+t.source+"(?:[ \t]+"+n.source+")?)",a=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*/.source.replace(/<PLAIN>/g,(function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source})),o=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function i(e,t){t=(t||"").replace(/m/g,"")+"m";var n=/([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g,(function(){return r})).replace(/<<value>>/g,(function(){return e}));return RegExp(n,t)}e.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<<prop>>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<<prop>>/g,(function(){return r}))),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<<prop>>[ \t]+)?)<<key>>(?=\s*:\s)/.source.replace(/<<prop>>/g,(function(){return r})).replace(/<<key>>/g,(function(){return"(?:"+a+"|"+o+")"}))),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:i(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:i(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:i(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:i(o),lookbehind:!0,greedy:!0},number:{pattern:i(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:n,important:t,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},e.languages.yml=e.languages.yaml}(T),function(e){var t=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function n(e){return e=e.replace(/<inner>/g,(function(){return t})),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+e+")")}var r=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,a=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,(function(){return r})),o=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source,i=(e.languages.markdown=e.languages.extend("markup",{}),e.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:e.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+a+o+"(?:"+a+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+a+o+")(?:"+a+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(r),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+a+")"+o+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+a+"$"),inside:{"table-header":{pattern:RegExp(r),alias:"important",inside:e.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:n(/\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\b|\*\*(?:(?!\*)<inner>|\*(?:(?!\*)<inner>)+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:n(/\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\b|\*(?:(?!\*)<inner>|\*\*(?:(?!\*)<inner>)+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:n(/(~~?)(?:(?!~)<inner>)+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:n(/!?\[(?:(?!\])<inner>)+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\])<inner>)+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach((function(t){["url","bold","italic","strike","code-snippet"].forEach((function(n){t!==n&&(e.languages.markdown[t].inside.content.inside[n]=e.languages.markdown[n])}))})),e.hooks.add("after-tokenize",(function(e){"markdown"!==e.language&&"md"!==e.language||function e(t){if(t&&"string"!=typeof t)for(var n=0,r=t.length;n<r;n++){var a,o=t[n];"code"!==o.type?e(o.content):(a=o.content[1],o=o.content[3],a&&o&&"code-language"===a.type&&"code-block"===o.type&&"string"==typeof a.content&&(a=a.content.replace(/\b#/g,"sharp").replace(/\b\+\+/g,"pp"),a="language-"+(a=(/[a-z][\w-]*/i.exec(a)||[""])[0].toLowerCase()),o.alias?"string"==typeof o.alias?o.alias=[o.alias,a]:o.alias.push(a):o.alias=[a]))}}(e.tokens)})),e.hooks.add("wrap",(function(t){if("code-block"===t.type){for(var n="",r=0,a=t.classes.length;r<a;r++){var o=t.classes[r];if(o=/language-(.+)/.exec(o)){n=o[1];break}}var u,c=e.languages[n];c?t.content=e.highlight(t.content.replace(i,"").replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,(function(e,t){var n;return"#"===(t=t.toLowerCase())[0]?(n="x"===t[1]?parseInt(t.slice(2),16):Number(t.slice(1)),s(n)):l[t]||e})),c,n):n&&"none"!==n&&e.plugins.autoloader&&(u="md-"+(new Date).valueOf()+"-"+Math.floor(1e16*Math.random()),t.attributes.id=u,e.plugins.autoloader.loadLanguages(n,(function(){var t=document.getElementById(u);t&&(t.innerHTML=e.highlight(t.textContent,e.languages[n],n))})))}})),RegExp(e.languages.markup.tag.pattern.source,"gi")),l={amp:"&",lt:"<",gt:">",quot:'"'},s=String.fromCodePoint||String.fromCharCode;e.languages.md=e.languages.markdown}(T),T.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:T.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},T.hooks.add("after-tokenize",(function(e){if("graphql"===e.language)for(var t=e.tokens.filter((function(e){return"string"!=typeof e&&"comment"!==e.type&&"scalar"!==e.type})),n=0;n<t.length;){var r=t[n++];if("keyword"===r.type&&"mutation"===r.content){var a=[];if(d(["definition-mutation","punctuation"])&&"("===c(1).content){n+=2;var o=f(/^\($/,/^\)$/);if(-1===o)continue;for(;n<o;n++){var i=c(0);"variable"===i.type&&(p(i,"variable-input"),a.push(i.content))}n=o+1}if(d(["punctuation","property-query"])&&"{"===c(0).content&&(n++,p(c(0),"property-mutation"),0<a.length)){var l=f(/^\{$/,/^\}$/);if(-1!==l)for(var s=n;s<l;s++){var u=t[s];"variable"===u.type&&0<=a.indexOf(u.content)&&p(u,"variable-input")}}}}function c(e){return t[n+e]}function d(e,t){t=t||0;for(var n=0;n<e.length;n++){var r=c(n+t);if(!r||r.type!==e[n])return}return 1}function f(e,r){for(var a=1,o=n;o<t.length;o++){var i=t[o],l=i.content;if("punctuation"===i.type&&"string"==typeof l)if(e.test(l))a++;else if(r.test(l)&&0==--a)return o}return-1}function p(e,t){var n=e.alias;n?Array.isArray(n)||(e.alias=n=[n]):e.alias=n=[],n.push(t)}})),T.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/},function(e){var t=e.languages.javascript["template-string"],n=t.pattern.source,r=t.inside.interpolation,a=r.inside["interpolation-punctuation"],o=r.pattern.source;function i(t,r){if(e.languages[t])return{pattern:RegExp("((?:"+r+")\\s*)"+n),lookbehind:!0,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},"embedded-code":{pattern:/[\s\S]+/,alias:t}}}}function l(t,n,r){return t={code:t,grammar:n,language:r},e.hooks.run("before-tokenize",t),t.tokens=e.tokenize(t.code,t.grammar),e.hooks.run("after-tokenize",t),t.tokens}function s(t,n,i){var s=e.tokenize(t,{interpolation:{pattern:RegExp(o),lookbehind:!0}}),u=0,c={},d=(s=l(s.map((function(e){if("string"==typeof e)return e;var n,r;for(e=e.content;-1!==t.indexOf((r=u++,n="___"+i.toUpperCase()+"_"+r+"___")););return c[n]=e,n})).join(""),n,i),Object.keys(c));return u=0,function t(n){for(var o=0;o<n.length;o++){if(u>=d.length)return;var i,s,f,p,g,h,m,y=n[o];"string"==typeof y||"string"==typeof y.content?(i=d[u],-1!==(m=(h="string"==typeof y?y:y.content).indexOf(i))&&(++u,s=h.substring(0,m),g=c[i],f=void 0,(p={})["interpolation-punctuation"]=a,3===(p=e.tokenize(g,p)).length&&((f=[1,1]).push.apply(f,l(p[1],e.languages.javascript,"javascript")),p.splice.apply(p,f)),f=new e.Token("interpolation",p,r.alias,g),p=h.substring(m+i.length),g=[],s&&g.push(s),g.push(f),p&&(t(h=[p]),g.push.apply(g,h)),"string"==typeof y?(n.splice.apply(n,[o,1].concat(g)),o+=g.length-1):y.content=g)):(m=y.content,Array.isArray(m)?t(m):t([m]))}}(s),new e.Token(i,s,"language-"+i,t)}e.languages.javascript["template-string"]=[i("css",/\b(?:styled(?:\([^)]*\))?(?:\s*\.\s*\w+(?:\([^)]*\))*)*|css(?:\s*\.\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source),i("html",/\bhtml|\.\s*(?:inner|outer)HTML\s*\+?=/.source),i("svg",/\bsvg/.source),i("markdown",/\b(?:markdown|md)/.source),i("graphql",/\b(?:gql|graphql(?:\s*\.\s*experimental)?)/.source),i("sql",/\bsql/.source),t].filter(Boolean);var u={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};function c(e){return"string"==typeof e?e:Array.isArray(e)?e.map(c).join(""):c(e.content)}e.hooks.add("after-tokenize",(function(t){t.language in u&&function t(n){for(var r=0,a=n.length;r<a;r++){var o,i,l,u=n[r];"string"!=typeof u&&(o=u.content,Array.isArray(o)?"template-string"===u.type?(u=o[1],3===o.length&&"string"!=typeof u&&"embedded-code"===u.type&&(i=c(u),u=u.alias,u=Array.isArray(u)?u[0]:u,l=e.languages[u])&&(o[1]=s(i,l,u))):t(o):"string"!=typeof o&&t([o]))}}(t.tokens)}))}(T),function(e){e.languages.typescript=e.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),e.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete e.languages.typescript.parameter,delete e.languages.typescript["literal-property"];var t=e.languages.extend("typescript",{});delete t["class-name"],e.languages.typescript["class-name"].inside=t,e.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:t}}}}),e.languages.ts=e.languages.typescript}(T),function(e){var t=e.languages.javascript,n=/\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})+\}/.source,r="(@(?:arg|argument|param|property)\\s+(?:"+n+"\\s+)?)";e.languages.jsdoc=e.languages.extend("javadoclike",{parameter:{pattern:RegExp(r+/(?:(?!\s)[$\w\xA0-\uFFFF.])+(?=\s|$)/.source),lookbehind:!0,inside:{punctuation:/\./}}}),e.languages.insertBefore("jsdoc","keyword",{"optional-parameter":{pattern:RegExp(r+/\[(?:(?!\s)[$\w\xA0-\uFFFF.])+(?:=[^[\]]+)?\](?=\s|$)/.source),lookbehind:!0,inside:{parameter:{pattern:/(^\[)[$\w\xA0-\uFFFF\.]+/,lookbehind:!0,inside:{punctuation:/\./}},code:{pattern:/(=)[\s\S]*(?=\]$)/,lookbehind:!0,inside:t,alias:"language-javascript"},punctuation:/[=[\]]/}},"class-name":[{pattern:RegExp(/(@(?:augments|class|extends|interface|memberof!?|template|this|typedef)\s+(?:<TYPE>\s+)?)[A-Z]\w*(?:\.[A-Z]\w*)*/.source.replace(/<TYPE>/g,(function(){return n}))),lookbehind:!0,inside:{punctuation:/\./}},{pattern:RegExp("(@[a-z]+\\s+)"+n),lookbehind:!0,inside:{string:t.string,number:t.number,boolean:t.boolean,keyword:e.languages.typescript.keyword,operator:/=>|\.\.\.|[&|?:*]/,punctuation:/[.,;=<>{}()[\]]/}}],example:{pattern:/(@example\s+(?!\s))(?:[^@\s]|\s+(?!\s))+?(?=\s*(?:\*\s*)?(?:@\w|\*\/))/,lookbehind:!0,inside:{code:{pattern:/^([\t ]*(?:\*\s*)?)\S.*$/m,lookbehind:!0,inside:t,alias:"language-javascript"}}}}),e.languages.javadoclike.addSupport("javascript",e.languages.jsdoc)}(T),function(e){e.languages.flow=e.languages.extend("javascript",{}),e.languages.insertBefore("flow","keyword",{type:[{pattern:/\b(?:[Bb]oolean|Function|[Nn]umber|[Ss]tring|[Ss]ymbol|any|mixed|null|void)\b/,alias:"class-name"}]}),e.languages.flow["function-variable"].pattern=/(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=\s*(?:function\b|(?:\([^()]*\)(?:\s*:\s*\w+)?|(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/i,delete e.languages.flow.parameter,e.languages.insertBefore("flow","operator",{"flow-punctuation":{pattern:/\{\||\|\}/,alias:"punctuation"}}),Array.isArray(e.languages.flow.keyword)||(e.languages.flow.keyword=[e.languages.flow.keyword]),e.languages.flow.keyword.unshift({pattern:/(^|[^$]\b)(?:Class|declare|opaque|type)\b(?!\$)/,lookbehind:!0},{pattern:/(^|[^$]\B)\$(?:Diff|Enum|Exact|Keys|ObjMap|PropertyType|Record|Shape|Subtype|Supertype|await)\b(?!\$)/,lookbehind:!0})}(T),T.languages.n4js=T.languages.extend("javascript",{keyword:/\b(?:Array|any|boolean|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|false|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|module|new|null|number|package|private|protected|public|return|set|static|string|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)\b/}),T.languages.insertBefore("n4js","constant",{annotation:{pattern:/@+\w+/,alias:"operator"}}),T.languages.n4jsd=T.languages.n4js,function(e){function t(e,t){return RegExp(e.replace(/<ID>/g,(function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source})),t)}e.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+e.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),e.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+e.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),e.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]}),e.languages.insertBefore("javascript","keyword",{imports:{pattern:t(/(\bimport\b\s*)(?:<ID>(?:\s*,\s*(?:\*\s*as\s+<ID>|\{[^{}]*\}))?|\*\s*as\s+<ID>|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:e.languages.javascript},exports:{pattern:t(/(\bexport\b\s*)(?:\*(?:\s*as\s+<ID>)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:e.languages.javascript}}),e.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),e.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),e.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:t(/(\.\s*)#?<ID>/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var n=["function","function-variable","method","method-variable","property-access"],r=0;r<n.length;r++){var a=n[r],o=e.languages.javascript[a];a=(o="RegExp"===e.util.type(o)?e.languages.javascript[a]={pattern:o}:o).inside||{};(o.inside=a)["maybe-class-name"]=/^[A-Z][\s\S]*/}}(T),function(e){var t=e.util.clone(e.languages.javascript),n=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,r=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,a=/(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;function o(e,t){return e=e.replace(/<S>/g,(function(){return n})).replace(/<BRACES>/g,(function(){return r})).replace(/<SPREAD>/g,(function(){return a})),RegExp(e,t)}function i(t){for(var n=[],r=0;r<t.length;r++){var a=t[r],o=!1;"string"!=typeof a&&("tag"===a.type&&a.content[0]&&"tag"===a.content[0].type?"</"===a.content[0].content[0].content?0<n.length&&n[n.length-1].tagName===l(a.content[0].content[1])&&n.pop():"/>"!==a.content[a.content.length-1].content&&n.push({tagName:l(a.content[0].content[1]),openedBraces:0}):0<n.length&&"punctuation"===a.type&&"{"===a.content?n[n.length-1].openedBraces++:0<n.length&&0<n[n.length-1].openedBraces&&"punctuation"===a.type&&"}"===a.content?n[n.length-1].openedBraces--:o=!0),(o||"string"==typeof a)&&0<n.length&&0===n[n.length-1].openedBraces&&(o=l(a),r<t.length-1&&("string"==typeof t[r+1]||"plain-text"===t[r+1].type)&&(o+=l(t[r+1]),t.splice(r+1,1)),0<r&&("string"==typeof t[r-1]||"plain-text"===t[r-1].type)&&(o=l(t[r-1])+o,t.splice(r-1,1),r--),t[r]=new e.Token("plain-text",o,null,o)),a.content&&"string"!=typeof a.content&&i(a.content)}}a=o(a).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=o(/<\/?(?:[\w.:-]+(?:<S>+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source),e.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,e.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.jsx.tag.inside.comment=t.comment,e.languages.insertBefore("inside","attr-name",{spread:{pattern:o(/<SPREAD>/.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:o(/=<BRACES>/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx}}},e.languages.jsx.tag);var l=function(e){return e?"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(l).join(""):""};e.hooks.add("after-tokenize",(function(e){"jsx"!==e.language&&"tsx"!==e.language||i(e.tokens)}))}(T),function(e){var t=e.util.clone(e.languages.typescript);(t=(e.languages.tsx=e.languages.extend("jsx",t),delete e.languages.tsx.parameter,delete e.languages.tsx["literal-property"],e.languages.tsx.tag)).pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+t.pattern.source+")",t.pattern.flags),t.lookbehind=!0}(T),T.languages.swift={comment:{pattern:/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,lookbehind:!0,greedy:!0},"string-literal":[{pattern:RegExp(/(^|[^"#])/.source+"(?:"+/"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source+"|"+/"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source+")"+/(?!["#])/.source),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:"punctuation"},punctuation:/\\(?=[\r\n])/,string:/[\s\S]+/}},{pattern:RegExp(/(^|[^"#])(#+)/.source+"(?:"+/"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source+"|"+/"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source+")\\2"),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:"punctuation"},string:/[\s\S]+/}}],directive:{pattern:RegExp(/#/.source+"(?:"+/(?:elseif|if)\b/.source+"(?:[ \t]*"+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source+")+|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:false|true)\b/,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:false|true)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},T.languages.swift["string-literal"].forEach((function(e){e.inside.interpolation.inside=T.languages.swift})),function(e){e.languages.kotlin=e.languages.extend("clike",{keyword:{pattern:/(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/,lookbehind:!0},function:[{pattern:/(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/,greedy:!0},{pattern:/(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/,lookbehind:!0,greedy:!0}],number:/\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,operator:/\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/}),delete e.languages.kotlin["class-name"];var t={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:e.languages.kotlin}};e.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:t},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:t},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete e.languages.kotlin.string,e.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),e.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),e.languages.kt=e.languages.kotlin,e.languages.kts=e.languages.kotlin}(T),T.languages.c=T.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),T.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),T.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},T.languages.c.string],char:T.languages.c.char,comment:T.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:T.languages.c}}}}),T.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete T.languages.c.boolean,T.languages.objectivec=T.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<<?=?|>>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete T.languages.objectivec["class-name"],T.languages.objc=T.languages.objectivec,T.languages.reason=T.languages.extend("clike",{string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/}),T.languages.insertBefore("reason","class-name",{char:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,greedy:!0},constructor:/\b[A-Z]\w*\b(?!\s*\.)/,label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}}),delete T.languages.reason.function,function(e){for(var t=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|<self>)*\*\//.source,n=0;n<2;n++)t=t.replace(/<self>/g,(function(){return t}));t=t.replace(/<self>/g,(function(){return/[^\s\S]/.source})),e.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+t),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,greedy:!0},char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,greedy:!0},attribute:{pattern:/#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,greedy:!0,alias:"attr-name",inside:{string:null}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,lookbehind:!0,greedy:!0,inside:{"closure-punctuation":{pattern:/^\||\|$/,alias:"punctuation"},rest:null}},"lifetime-annotation":{pattern:/'\w+/,alias:"symbol"},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:"punctuation"},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:"function"},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:"class-name"},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:"namespace"},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:"namespace",inside:{punctuation:/::/}}],keyword:[/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,/\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/],function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:"property"},constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:/\b(?:false|true)\b/,punctuation:/->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,operator:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<<?=?|>>?=?|[@?]/},e.languages.rust["closure-params"].inside.rest=e.languages.rust,e.languages.rust.attribute.inside.string=e.languages.rust.string}(T),T.languages.go=T.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),T.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete T.languages.go["class-name"],function(e){var t=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,n=/\b(?!<keyword>)\w+(?:\s*\.\s*\w+)*\b/.source.replace(/<keyword>/g,(function(){return t.source}));e.languages.cpp=e.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!<keyword>)\w+/.source.replace(/<keyword>/g,(function(){return t.source}))),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:t,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),e.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/<mod-name>(?:\s*:\s*<mod-name>)?|:\s*<mod-name>/.source.replace(/<mod-name>/g,(function(){return n}))+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),e.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:e.languages.cpp}}}}),e.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),e.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:e.languages.extend("cpp",{})}}),e.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},e.languages.cpp["base-clause"])}(T),T.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},T.languages.python["string-interpolation"].inside.interpolation.inside.rest=T.languages.python,T.languages.py=T.languages.python;((e,t)=>{for(var n in t)p(e,n,{get:t[n],enumerable:!0})})({},{dracula:()=>N,duotoneDark:()=>A,duotoneLight:()=>j,github:()=>L,jettwaveDark:()=>H,jettwaveLight:()=>V,nightOwl:()=>O,nightOwlLight:()=>P,oceanicNext:()=>D,okaidia:()=>F,oneDark:()=>W,oneLight:()=>G,palenight:()=>M,shadesOfPurple:()=>z,synthwave84:()=>B,ultramin:()=>$,vsDark:()=>U,vsLight:()=>Z});var N={plain:{color:"#F8F8F2",backgroundColor:"#282A36"},styles:[{types:["prolog","constant","builtin"],style:{color:"rgb(189, 147, 249)"}},{types:["inserted","function"],style:{color:"rgb(80, 250, 123)"}},{types:["deleted"],style:{color:"rgb(255, 85, 85)"}},{types:["changed"],style:{color:"rgb(255, 184, 108)"}},{types:["punctuation","symbol"],style:{color:"rgb(248, 248, 242)"}},{types:["string","char","tag","selector"],style:{color:"rgb(255, 121, 198)"}},{types:["keyword","variable"],style:{color:"rgb(189, 147, 249)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(98, 114, 164)"}},{types:["attr-name"],style:{color:"rgb(241, 250, 140)"}}]},A={plain:{backgroundColor:"#2a2734",color:"#9a86fd"},styles:[{types:["comment","prolog","doctype","cdata","punctuation"],style:{color:"#6c6783"}},{types:["namespace"],style:{opacity:.7}},{types:["tag","operator","number"],style:{color:"#e09142"}},{types:["property","function"],style:{color:"#9a86fd"}},{types:["tag-id","selector","atrule-id"],style:{color:"#eeebff"}},{types:["attr-name"],style:{color:"#c4b9fe"}},{types:["boolean","string","entity","url","attr-value","keyword","control","directive","unit","statement","regex","atrule","placeholder","variable"],style:{color:"#ffcc99"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"#c4b9fe"}}]},j={plain:{backgroundColor:"#faf8f5",color:"#728fcb"},styles:[{types:["comment","prolog","doctype","cdata","punctuation"],style:{color:"#b6ad9a"}},{types:["namespace"],style:{opacity:.7}},{types:["tag","operator","number"],style:{color:"#063289"}},{types:["property","function"],style:{color:"#b29762"}},{types:["tag-id","selector","atrule-id"],style:{color:"#2d2006"}},{types:["attr-name"],style:{color:"#896724"}},{types:["boolean","string","entity","url","attr-value","keyword","control","directive","unit","statement","regex","atrule"],style:{color:"#728fcb"}},{types:["placeholder","variable"],style:{color:"#93abdc"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"#896724"}}]},L={plain:{color:"#393A34",backgroundColor:"#f6f8fa"},styles:[{types:["comment","prolog","doctype","cdata"],style:{color:"#999988",fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}},{types:["string","attr-value"],style:{color:"#e3116c"}},{types:["punctuation","operator"],style:{color:"#393A34"}},{types:["entity","url","symbol","number","boolean","variable","constant","property","regex","inserted"],style:{color:"#36acaa"}},{types:["atrule","keyword","attr-name","selector"],style:{color:"#00a4db"}},{types:["function","deleted","tag"],style:{color:"#d73a49"}},{types:["function-variable"],style:{color:"#6f42c1"}},{types:["tag","selector","keyword"],style:{color:"#00009f"}}]},O={plain:{color:"#d6deeb",backgroundColor:"#011627"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)",fontStyle:"italic"}},{types:["inserted","attr-name"],style:{color:"rgb(173, 219, 103)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(99, 119, 119)",fontStyle:"italic"}},{types:["string","url"],style:{color:"rgb(173, 219, 103)"}},{types:["variable"],style:{color:"rgb(214, 222, 235)"}},{types:["number"],style:{color:"rgb(247, 140, 108)"}},{types:["builtin","char","constant","function"],style:{color:"rgb(130, 170, 255)"}},{types:["punctuation"],style:{color:"rgb(199, 146, 234)"}},{types:["selector","doctype"],style:{color:"rgb(199, 146, 234)",fontStyle:"italic"}},{types:["class-name"],style:{color:"rgb(255, 203, 139)"}},{types:["tag","operator","keyword"],style:{color:"rgb(127, 219, 202)"}},{types:["boolean"],style:{color:"rgb(255, 88, 116)"}},{types:["property"],style:{color:"rgb(128, 203, 196)"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)"}}]},P={plain:{color:"#403f53",backgroundColor:"#FBFBFB"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)",fontStyle:"italic"}},{types:["inserted","attr-name"],style:{color:"rgb(72, 118, 214)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(152, 159, 177)",fontStyle:"italic"}},{types:["string","builtin","char","constant","url"],style:{color:"rgb(72, 118, 214)"}},{types:["variable"],style:{color:"rgb(201, 103, 101)"}},{types:["number"],style:{color:"rgb(170, 9, 130)"}},{types:["punctuation"],style:{color:"rgb(153, 76, 195)"}},{types:["function","selector","doctype"],style:{color:"rgb(153, 76, 195)",fontStyle:"italic"}},{types:["class-name"],style:{color:"rgb(17, 17, 17)"}},{types:["tag"],style:{color:"rgb(153, 76, 195)"}},{types:["operator","property","keyword","namespace"],style:{color:"rgb(12, 150, 155)"}},{types:["boolean"],style:{color:"rgb(188, 84, 84)"}}]},R="#c5a5c5",I="#8dc891",D={plain:{backgroundColor:"#282c34",color:"#ffffff"},styles:[{types:["attr-name"],style:{color:R}},{types:["attr-value"],style:{color:I}},{types:["comment","block-comment","prolog","doctype","cdata","shebang"],style:{color:"#999999"}},{types:["property","number","function-name","constant","symbol","deleted"],style:{color:"#5a9bcf"}},{types:["boolean"],style:{color:"#ff8b50"}},{types:["tag"],style:{color:"#fc929e"}},{types:["string"],style:{color:I}},{types:["punctuation"],style:{color:I}},{types:["selector","char","builtin","inserted"],style:{color:"#D8DEE9"}},{types:["function"],style:{color:"#79b6f2"}},{types:["operator","entity","url","variable"],style:{color:"#d7deea"}},{types:["keyword"],style:{color:R}},{types:["atrule","class-name"],style:{color:"#FAC863"}},{types:["important"],style:{fontWeight:"400"}},{types:["bold"],style:{fontWeight:"bold"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}}]},F={plain:{color:"#f8f8f2",backgroundColor:"#272822"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"#f92672",fontStyle:"italic"}},{types:["inserted"],style:{color:"rgb(173, 219, 103)",fontStyle:"italic"}},{types:["comment"],style:{color:"#8292a2",fontStyle:"italic"}},{types:["string","url"],style:{color:"#a6e22e"}},{types:["variable"],style:{color:"#f8f8f2"}},{types:["number"],style:{color:"#ae81ff"}},{types:["builtin","char","constant","function","class-name"],style:{color:"#e6db74"}},{types:["punctuation"],style:{color:"#f8f8f2"}},{types:["selector","doctype"],style:{color:"#a6e22e",fontStyle:"italic"}},{types:["tag","operator","keyword"],style:{color:"#66d9ef"}},{types:["boolean"],style:{color:"#ae81ff"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)",opacity:.7}},{types:["tag","property"],style:{color:"#f92672"}},{types:["attr-name"],style:{color:"#a6e22e !important"}},{types:["doctype"],style:{color:"#8292a2"}},{types:["rule"],style:{color:"#e6db74"}}]},M={plain:{color:"#bfc7d5",backgroundColor:"#292d3e"},styles:[{types:["comment"],style:{color:"rgb(105, 112, 152)",fontStyle:"italic"}},{types:["string","inserted"],style:{color:"rgb(195, 232, 141)"}},{types:["number"],style:{color:"rgb(247, 140, 108)"}},{types:["builtin","char","constant","function"],style:{color:"rgb(130, 170, 255)"}},{types:["punctuation","selector"],style:{color:"rgb(199, 146, 234)"}},{types:["variable"],style:{color:"rgb(191, 199, 213)"}},{types:["class-name","attr-name"],style:{color:"rgb(255, 203, 107)"}},{types:["tag","deleted"],style:{color:"rgb(255, 85, 114)"}},{types:["operator"],style:{color:"rgb(137, 221, 255)"}},{types:["boolean"],style:{color:"rgb(255, 88, 116)"}},{types:["keyword"],style:{fontStyle:"italic"}},{types:["doctype"],style:{color:"rgb(199, 146, 234)",fontStyle:"italic"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)"}},{types:["url"],style:{color:"rgb(221, 221, 221)"}}]},z={plain:{color:"#9EFEFF",backgroundColor:"#2D2A55"},styles:[{types:["changed"],style:{color:"rgb(255, 238, 128)"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)"}},{types:["inserted"],style:{color:"rgb(173, 219, 103)"}},{types:["comment"],style:{color:"rgb(179, 98, 255)",fontStyle:"italic"}},{types:["punctuation"],style:{color:"rgb(255, 255, 255)"}},{types:["constant"],style:{color:"rgb(255, 98, 140)"}},{types:["string","url"],style:{color:"rgb(165, 255, 144)"}},{types:["variable"],style:{color:"rgb(255, 238, 128)"}},{types:["number","boolean"],style:{color:"rgb(255, 98, 140)"}},{types:["attr-name"],style:{color:"rgb(255, 180, 84)"}},{types:["keyword","operator","property","namespace","tag","selector","doctype"],style:{color:"rgb(255, 157, 0)"}},{types:["builtin","char","constant","function","class-name"],style:{color:"rgb(250, 208, 0)"}}]},B={plain:{backgroundColor:"linear-gradient(to bottom, #2a2139 75%, #34294f)",backgroundImage:"#34294f",color:"#f92aad",textShadow:"0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3"},styles:[{types:["comment","block-comment","prolog","doctype","cdata"],style:{color:"#495495",fontStyle:"italic"}},{types:["punctuation"],style:{color:"#ccc"}},{types:["tag","attr-name","namespace","number","unit","hexcode","deleted"],style:{color:"#e2777a"}},{types:["property","selector"],style:{color:"#72f1b8",textShadow:"0 0 2px #100c0f, 0 0 10px #257c5575, 0 0 35px #21272475"}},{types:["function-name"],style:{color:"#6196cc"}},{types:["boolean","selector-id","function"],style:{color:"#fdfdfd",textShadow:"0 0 2px #001716, 0 0 3px #03edf975, 0 0 5px #03edf975, 0 0 8px #03edf975"}},{types:["class-name","maybe-class-name","builtin"],style:{color:"#fff5f6",textShadow:"0 0 2px #000, 0 0 10px #fc1f2c75, 0 0 5px #fc1f2c75, 0 0 25px #fc1f2c75"}},{types:["constant","symbol"],style:{color:"#f92aad",textShadow:"0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3"}},{types:["important","atrule","keyword","selector-class"],style:{color:"#f4eee4",textShadow:"0 0 2px #393a33, 0 0 8px #f39f0575, 0 0 2px #f39f0575"}},{types:["string","char","attr-value","regex","variable"],style:{color:"#f87c32"}},{types:["parameter"],style:{fontStyle:"italic"}},{types:["entity","url"],style:{color:"#67cdcc"}},{types:["operator"],style:{color:"ffffffee"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["entity"],style:{cursor:"help"}},{types:["inserted"],style:{color:"green"}}]},$={plain:{color:"#282a2e",backgroundColor:"#ffffff"},styles:[{types:["comment"],style:{color:"rgb(197, 200, 198)"}},{types:["string","number","builtin","variable"],style:{color:"rgb(150, 152, 150)"}},{types:["class-name","function","tag","attr-name"],style:{color:"rgb(40, 42, 46)"}}]},U={plain:{color:"#9CDCFE",backgroundColor:"#1E1E1E"},styles:[{types:["prolog"],style:{color:"rgb(0, 0, 128)"}},{types:["comment"],style:{color:"rgb(106, 153, 85)"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"rgb(86, 156, 214)"}},{types:["number","inserted"],style:{color:"rgb(181, 206, 168)"}},{types:["constant"],style:{color:"rgb(100, 102, 149)"}},{types:["attr-name","variable"],style:{color:"rgb(156, 220, 254)"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"rgb(206, 145, 120)"}},{types:["selector"],style:{color:"rgb(215, 186, 125)"}},{types:["tag"],style:{color:"rgb(78, 201, 176)"}},{types:["tag"],languages:["markup"],style:{color:"rgb(86, 156, 214)"}},{types:["punctuation","operator"],style:{color:"rgb(212, 212, 212)"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"rgb(220, 220, 170)"}},{types:["class-name"],style:{color:"rgb(78, 201, 176)"}},{types:["char"],style:{color:"rgb(209, 105, 105)"}}]},Z={plain:{color:"#000000",backgroundColor:"#ffffff"},styles:[{types:["comment"],style:{color:"rgb(0, 128, 0)"}},{types:["builtin"],style:{color:"rgb(0, 112, 193)"}},{types:["number","variable","inserted"],style:{color:"rgb(9, 134, 88)"}},{types:["operator"],style:{color:"rgb(0, 0, 0)"}},{types:["constant","char"],style:{color:"rgb(129, 31, 63)"}},{types:["tag"],style:{color:"rgb(128, 0, 0)"}},{types:["attr-name"],style:{color:"rgb(255, 0, 0)"}},{types:["deleted","string"],style:{color:"rgb(163, 21, 21)"}},{types:["changed","punctuation"],style:{color:"rgb(4, 81, 165)"}},{types:["function","keyword"],style:{color:"rgb(0, 0, 255)"}},{types:["class-name"],style:{color:"rgb(38, 127, 153)"}}]},H={plain:{color:"#f8fafc",backgroundColor:"#011627"},styles:[{types:["prolog"],style:{color:"#000080"}},{types:["comment"],style:{color:"#6A9955"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"#569CD6"}},{types:["number","inserted"],style:{color:"#B5CEA8"}},{types:["constant"],style:{color:"#f8fafc"}},{types:["attr-name","variable"],style:{color:"#9CDCFE"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"#cbd5e1"}},{types:["selector"],style:{color:"#D7BA7D"}},{types:["tag"],style:{color:"#0ea5e9"}},{types:["tag"],languages:["markup"],style:{color:"#0ea5e9"}},{types:["punctuation","operator"],style:{color:"#D4D4D4"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"#7dd3fc"}},{types:["class-name"],style:{color:"#0ea5e9"}},{types:["char"],style:{color:"#D16969"}}]},V={plain:{color:"#0f172a",backgroundColor:"#f1f5f9"},styles:[{types:["prolog"],style:{color:"#000080"}},{types:["comment"],style:{color:"#6A9955"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"#0c4a6e"}},{types:["number","inserted"],style:{color:"#B5CEA8"}},{types:["constant"],style:{color:"#0f172a"}},{types:["attr-name","variable"],style:{color:"#0c4a6e"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"#64748b"}},{types:["selector"],style:{color:"#D7BA7D"}},{types:["tag"],style:{color:"#0ea5e9"}},{types:["tag"],languages:["markup"],style:{color:"#0ea5e9"}},{types:["punctuation","operator"],style:{color:"#475569"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"#0e7490"}},{types:["class-name"],style:{color:"#0ea5e9"}},{types:["char"],style:{color:"#D16969"}}]},W={plain:{backgroundColor:"hsl(220, 13%, 18%)",color:"hsl(220, 14%, 71%)",textShadow:"0 1px rgba(0, 0, 0, 0.3)"},styles:[{types:["comment","prolog","cdata"],style:{color:"hsl(220, 10%, 40%)"}},{types:["doctype","punctuation","entity"],style:{color:"hsl(220, 14%, 71%)"}},{types:["attr-name","class-name","maybe-class-name","boolean","constant","number","atrule"],style:{color:"hsl(29, 54%, 61%)"}},{types:["keyword"],style:{color:"hsl(286, 60%, 67%)"}},{types:["property","tag","symbol","deleted","important"],style:{color:"hsl(355, 65%, 65%)"}},{types:["selector","string","char","builtin","inserted","regex","attr-value"],style:{color:"hsl(95, 38%, 62%)"}},{types:["variable","operator","function"],style:{color:"hsl(207, 82%, 66%)"}},{types:["url"],style:{color:"hsl(187, 47%, 55%)"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"hsl(220, 14%, 71%)"}}]},G={plain:{backgroundColor:"hsl(230, 1%, 98%)",color:"hsl(230, 8%, 24%)"},styles:[{types:["comment","prolog","cdata"],style:{color:"hsl(230, 4%, 64%)"}},{types:["doctype","punctuation","entity"],style:{color:"hsl(230, 8%, 24%)"}},{types:["attr-name","class-name","boolean","constant","number","atrule"],style:{color:"hsl(35, 99%, 36%)"}},{types:["keyword"],style:{color:"hsl(301, 63%, 40%)"}},{types:["property","tag","symbol","deleted","important"],style:{color:"hsl(5, 74%, 59%)"}},{types:["selector","string","char","builtin","inserted","regex","attr-value","punctuation"],style:{color:"hsl(119, 34%, 47%)"}},{types:["variable","operator","function"],style:{color:"hsl(221, 87%, 60%)"}},{types:["url"],style:{color:"hsl(198, 99%, 37%)"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"hsl(230, 8%, 24%)"}}]},q=(e,t)=>{const{plain:n}=e,r=e.styles.reduce(((e,n)=>{const{languages:r,style:a}=n;return r&&!r.includes(t)||n.types.forEach((t=>{const n=S(S({},e[t]),a);e[t]=n})),e}),{});return r.root=n,r.plain=E(S({},n),{backgroundColor:void 0}),r},Y=/\r\n|\r|\n/,K=e=>{0===e.length?e.push({types:["plain"],content:"\n",empty:!0}):1===e.length&&""===e[0].content&&(e[0].content="\n",e[0].empty=!0)},Q=(e,t)=>{const n=e.length;return n>0&&e[n-1]===t?e:e.concat(t)},X=e=>{const t=[[]],n=[e],r=[0],a=[e.length];let o=0,i=0,l=[];const s=[l];for(;i>-1;){for(;(o=r[i]++)<a[i];){let e,u=t[i];const c=n[i][o];if("string"==typeof c?(u=i>0?u:["plain"],e=c):(u=Q(u,c.type),c.alias&&(u=Q(u,c.alias)),e=c.content),"string"!=typeof e){i++,t.push(u),n.push(e),r.push(0),a.push(e.length);continue}const d=e.split(Y),f=d.length;l.push({types:u,content:d[0]});for(let t=1;t<f;t++)K(l),s.push(l=[]),l.push({types:u,content:d[t]})}i--,t.pop(),n.pop(),r.pop(),a.pop()}return K(l),s},J=({children:e,language:t,code:n,theme:r,prism:a})=>{const o=t.toLowerCase(),i=((e,t)=>{const[n,r]=(0,c.useState)(q(t,e)),a=(0,c.useRef)(),o=(0,c.useRef)();return(0,c.useEffect)((()=>{t===a.current&&e===o.current||(a.current=t,o.current=e,r(q(t,e)))}),[e,t]),n})(o,r),l=(e=>(0,c.useCallback)((t=>{var n=t,{className:r,style:a,line:o}=n,i=_(n,["className","style","line"]);const l=E(S({},i),{className:(0,d.Z)("token-line",r)});return"object"==typeof e&&"plain"in e&&(l.style=e.plain),"object"==typeof a&&(l.style=S(S({},l.style||{}),a)),l}),[e]))(i),s=(e=>{const t=(0,c.useCallback)((({types:t,empty:n})=>{if(null!=e)return 1===t.length&&"plain"===t[0]?null!=n?{display:"inline-block"}:void 0:1===t.length&&null!=n?e[t[0]]:Object.assign(null!=n?{display:"inline-block"}:{},...t.map((t=>e[t])))}),[e]);return(0,c.useCallback)((e=>{var n=e,{token:r,className:a,style:o}=n,i=_(n,["token","className","style"]);const l=E(S({},i),{className:(0,d.Z)("token",...r.types,a),children:r.content,style:t(r)});return null!=o&&(l.style=S(S({},l.style||{}),o)),l}),[t])})(i),u=(({prism:e,code:t,grammar:n,language:r})=>{const a=(0,c.useRef)(e);return(0,c.useMemo)((()=>{if(null==n)return X([t]);const e={code:t,grammar:n,language:r,tokens:[]};return a.current.hooks.run("before-tokenize",e),e.tokens=a.current.tokenize(t,n),a.current.hooks.run("after-tokenize",e),X(e.tokens)}),[t,n,r])})({prism:a,language:o,code:n,grammar:a.languages[o]});return e({tokens:u,className:`prism-code language-${o}`,style:null!=i?i.root:{},getLineProps:l,getTokenProps:s})},ee=e=>(0,c.createElement)(J,E(S({},e),{prism:e.prism||T,theme:e.theme||U,code:e.code,language:e.language}))},8776:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=!0,a="Invariant failed";function o(e,t){if(!e){if(r)throw new Error(a);var n="function"==typeof t?t():t,o=n?"".concat(a,": ").concat(n):a;throw new Error(o)}}},7529:e=>{"use strict";e.exports={}},6887:e=>{"use strict";e.exports=JSON.parse('{"/prettier-java/blog-3c4":{"__comp":"a6aa9e1f","__context":{"plugin":"7efe52da"},"sidebar":"814f3328","items":[{"content":"f1849b36"}],"metadata":"9b912970"},"/prettier-java/blog/2023/11/26/2.5.0-780":{"__comp":"ccc49370","__context":{"plugin":"7efe52da"},"sidebar":"814f3328","content":"9ac3030f"},"/prettier-java/blog/archive-8e8":{"__comp":"9e4087bc","__context":{"plugin":"7efe52da"},"archive":"c28d97a6"},"/prettier-java/playground-194":{"__comp":"8926b418","__context":{"plugin":"9977e004"},"config":"5e9f5e1a"},"/prettier-java/docs-4ac":{"__comp":"5e95c892","__context":{"plugin":"f884eabf"}},"/prettier-java/docs-6b8":{"__comp":"a7bd4aaa","version":"935f2afb"},"/prettier-java/docs-e71":{"__comp":"a94703ab"},"/prettier-java/docs-33e":{"__comp":"17896441","content":"c377a04b"},"/prettier-java/docs/installation-53e":{"__comp":"17896441","content":"fa4d91bf"},"/prettier-java/-441":{"__comp":"1df93b7f","__context":{"plugin":"9977e004"},"config":"5e9f5e1a"}}')}},e=>{e.O(0,[532],(()=>{return t=7221,e(e.s=t);var t}));e.O()}]); \ No newline at end of file diff --git a/assets/js/runtime~main.04c4655d.js b/assets/js/runtime~main.04c4655d.js new file mode 100644 index 00000000..be661945 --- /dev/null +++ b/assets/js/runtime~main.04c4655d.js @@ -0,0 +1 @@ +(()=>{"use strict";var e,t,r,a,o,n={},f={};function c(e){var t=f[e];if(void 0!==t)return t.exports;var r=f[e]={id:e,loaded:!1,exports:{}};return n[e].call(r.exports,r,r.exports,c),r.loaded=!0,r.exports}c.m=n,e=[],c.O=(t,r,a,o)=>{if(!r){var n=1/0;for(b=0;b<e.length;b++){r=e[b][0],a=e[b][1],o=e[b][2];for(var f=!0,d=0;d<r.length;d++)(!1&o||n>=o)&&Object.keys(c.O).every((e=>c.O[e](r[d])))?r.splice(d--,1):(f=!1,o<n&&(n=o));if(f){e.splice(b--,1);var i=a();void 0!==i&&(t=i)}}return t}o=o||0;for(var b=e.length;b>0&&e[b-1][2]>o;b--)e[b]=e[b-1];e[b]=[r,a,o]},c.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return c.d(t,{a:t}),t},r=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,c.t=function(e,a){if(1&a&&(e=this(e)),8&a)return e;if("object"==typeof e&&e){if(4&a&&e.__esModule)return e;if(16&a&&"function"==typeof e.then)return e}var o=Object.create(null);c.r(o);var n={};t=t||[null,r({}),r([]),r(r)];for(var f=2&a&&e;"object"==typeof f&&!~t.indexOf(f);f=r(f))Object.getOwnPropertyNames(f).forEach((t=>n[t]=()=>e[t]));return n.default=()=>e,c.d(o,n),o},c.d=(e,t)=>{for(var r in t)c.o(t,r)&&!c.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},c.f={},c.e=e=>Promise.all(Object.keys(c.f).reduce(((t,r)=>(c.f[r](e,t),t)),[])),c.u=e=>"assets/js/"+({13:"9ac3030f",40:"c28d97a6",53:"935f2afb",55:"9b912970",89:"a6aa9e1f",103:"ccc49370",116:"7efe52da",237:"1df93b7f",368:"a94703ab",518:"a7bd4aaa",535:"814f3328",596:"f884eabf",608:"9e4087bc",661:"5e95c892",748:"f1849b36",918:"17896441",930:"fa4d91bf",971:"c377a04b",993:"9977e004",998:"8926b418"}[e]||e)+"."+{13:"01134325",40:"c9c018a5",53:"698e40dd",55:"e57f2d4a",89:"f3a8ab97",103:"ef7c8efe",116:"185eb6e9",237:"b1357595",321:"8962a1c8",368:"f78154af",518:"d63a5bf6",535:"179afcfa",596:"7be4d13f",608:"5655ebee",661:"3a245908",748:"f727de8f",772:"3e3b906c",918:"f0076f33",930:"7c85ae7e",950:"0b8e2ac3",971:"38792a7c",989:"caa204e3",993:"e3b6ecad",998:"324e8310"}[e]+".js",c.miniCssF=e=>{},c.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),c.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a={},o="website:",c.l=(e,t,r,n)=>{if(a[e])a[e].push(t);else{var f,d;if(void 0!==r)for(var i=document.getElementsByTagName("script"),b=0;b<i.length;b++){var l=i[b];if(l.getAttribute("src")==e||l.getAttribute("data-webpack")==o+r){f=l;break}}f||(d=!0,(f=document.createElement("script")).charset="utf-8",f.timeout=120,c.nc&&f.setAttribute("nonce",c.nc),f.setAttribute("data-webpack",o+r),f.src=e),a[e]=[t];var u=(t,r)=>{f.onerror=f.onload=null,clearTimeout(s);var o=a[e];if(delete a[e],f.parentNode&&f.parentNode.removeChild(f),o&&o.forEach((e=>e(r))),t)return t(r)},s=setTimeout(u.bind(null,void 0,{type:"timeout",target:f}),12e4);f.onerror=u.bind(null,f.onerror),f.onload=u.bind(null,f.onload),d&&document.head.appendChild(f)}},c.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},c.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),c.p="/prettier-java/",c.gca=function(e){return e={17896441:"918","9ac3030f":"13",c28d97a6:"40","935f2afb":"53","9b912970":"55",a6aa9e1f:"89",ccc49370:"103","7efe52da":"116","1df93b7f":"237",a94703ab:"368",a7bd4aaa:"518","814f3328":"535",f884eabf:"596","9e4087bc":"608","5e95c892":"661",f1849b36:"748",fa4d91bf:"930",c377a04b:"971","9977e004":"993","8926b418":"998"}[e]||e,c.p+c.u(e)},(()=>{var e={303:0,532:0};c.f.j=(t,r)=>{var a=c.o(e,t)?e[t]:void 0;if(0!==a)if(a)r.push(a[2]);else if(/^(303|532)$/.test(t))e[t]=0;else{var o=new Promise(((r,o)=>a=e[t]=[r,o]));r.push(a[2]=o);var n=c.p+c.u(t),f=new Error;c.l(n,(r=>{if(c.o(e,t)&&(0!==(a=e[t])&&(e[t]=void 0),a)){var o=r&&("load"===r.type?"missing":r.type),n=r&&r.target&&r.target.src;f.message="Loading chunk "+t+" failed.\n("+o+": "+n+")",f.name="ChunkLoadError",f.type=o,f.request=n,a[1](f)}}),"chunk-"+t,t)}},c.O.j=t=>0===e[t];var t=(t,r)=>{var a,o,n=r[0],f=r[1],d=r[2],i=0;if(n.some((t=>0!==e[t]))){for(a in f)c.o(f,a)&&(c.m[a]=f[a]);if(d)var b=d(c)}for(t&&t(r);i<n.length;i++)o=n[i],c.o(e,o)&&e[o]&&e[o][0](),e[o]=0;return c.O(b)},r=self.webpackChunkwebsite=self.webpackChunkwebsite||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})()})(); \ No newline at end of file diff --git a/assets/js/runtime~main.432c60bb.js b/assets/js/runtime~main.432c60bb.js deleted file mode 100644 index b8eb3ddb..00000000 --- a/assets/js/runtime~main.432c60bb.js +++ /dev/null @@ -1 +0,0 @@ -(()=>{"use strict";var e,t,r,a,o,n={},f={};function c(e){var t=f[e];if(void 0!==t)return t.exports;var r=f[e]={id:e,loaded:!1,exports:{}};return n[e].call(r.exports,r,r.exports,c),r.loaded=!0,r.exports}c.m=n,e=[],c.O=(t,r,a,o)=>{if(!r){var n=1/0;for(b=0;b<e.length;b++){r=e[b][0],a=e[b][1],o=e[b][2];for(var f=!0,i=0;i<r.length;i++)(!1&o||n>=o)&&Object.keys(c.O).every((e=>c.O[e](r[i])))?r.splice(i--,1):(f=!1,o<n&&(n=o));if(f){e.splice(b--,1);var d=a();void 0!==d&&(t=d)}}return t}o=o||0;for(var b=e.length;b>0&&e[b-1][2]>o;b--)e[b]=e[b-1];e[b]=[r,a,o]},c.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return c.d(t,{a:t}),t},r=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,c.t=function(e,a){if(1&a&&(e=this(e)),8&a)return e;if("object"==typeof e&&e){if(4&a&&e.__esModule)return e;if(16&a&&"function"==typeof e.then)return e}var o=Object.create(null);c.r(o);var n={};t=t||[null,r({}),r([]),r(r)];for(var f=2&a&&e;"object"==typeof f&&!~t.indexOf(f);f=r(f))Object.getOwnPropertyNames(f).forEach((t=>n[t]=()=>e[t]));return n.default=()=>e,c.d(o,n),o},c.d=(e,t)=>{for(var r in t)c.o(t,r)&&!c.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},c.f={},c.e=e=>Promise.all(Object.keys(c.f).reduce(((t,r)=>(c.f[r](e,t),t)),[])),c.u=e=>"assets/js/"+({13:"9ac3030f",40:"c28d97a6",53:"935f2afb",55:"9b912970",89:"a6aa9e1f",103:"ccc49370",116:"7efe52da",237:"1df93b7f",368:"a94703ab",518:"a7bd4aaa",535:"814f3328",596:"f884eabf",608:"9e4087bc",661:"5e95c892",748:"f1849b36",918:"17896441",930:"fa4d91bf",971:"c377a04b",993:"9977e004",998:"8926b418"}[e]||e)+"."+{13:"01134325",40:"c9c018a5",53:"698e40dd",55:"e57f2d4a",89:"f3a8ab97",96:"d2575959",103:"ef7c8efe",116:"185eb6e9",237:"b1357595",368:"f78154af",518:"d63a5bf6",535:"179afcfa",596:"7be4d13f",608:"5655ebee",661:"3a245908",742:"0d8cb707",748:"f727de8f",772:"3e3b906c",918:"a0ac9b43",930:"7c85ae7e",971:"38792a7c",989:"ed4ec041",993:"e3b6ecad",998:"594866b0"}[e]+".js",c.miniCssF=e=>{},c.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),c.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a={},o="website:",c.l=(e,t,r,n)=>{if(a[e])a[e].push(t);else{var f,i;if(void 0!==r)for(var d=document.getElementsByTagName("script"),b=0;b<d.length;b++){var l=d[b];if(l.getAttribute("src")==e||l.getAttribute("data-webpack")==o+r){f=l;break}}f||(i=!0,(f=document.createElement("script")).charset="utf-8",f.timeout=120,c.nc&&f.setAttribute("nonce",c.nc),f.setAttribute("data-webpack",o+r),f.src=e),a[e]=[t];var u=(t,r)=>{f.onerror=f.onload=null,clearTimeout(s);var o=a[e];if(delete a[e],f.parentNode&&f.parentNode.removeChild(f),o&&o.forEach((e=>e(r))),t)return t(r)},s=setTimeout(u.bind(null,void 0,{type:"timeout",target:f}),12e4);f.onerror=u.bind(null,f.onerror),f.onload=u.bind(null,f.onload),i&&document.head.appendChild(f)}},c.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},c.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),c.p="/prettier-java/",c.gca=function(e){return e={17896441:"918","9ac3030f":"13",c28d97a6:"40","935f2afb":"53","9b912970":"55",a6aa9e1f:"89",ccc49370:"103","7efe52da":"116","1df93b7f":"237",a94703ab:"368",a7bd4aaa:"518","814f3328":"535",f884eabf:"596","9e4087bc":"608","5e95c892":"661",f1849b36:"748",fa4d91bf:"930",c377a04b:"971","9977e004":"993","8926b418":"998"}[e]||e,c.p+c.u(e)},(()=>{var e={303:0,532:0};c.f.j=(t,r)=>{var a=c.o(e,t)?e[t]:void 0;if(0!==a)if(a)r.push(a[2]);else if(/^(303|532)$/.test(t))e[t]=0;else{var o=new Promise(((r,o)=>a=e[t]=[r,o]));r.push(a[2]=o);var n=c.p+c.u(t),f=new Error;c.l(n,(r=>{if(c.o(e,t)&&(0!==(a=e[t])&&(e[t]=void 0),a)){var o=r&&("load"===r.type?"missing":r.type),n=r&&r.target&&r.target.src;f.message="Loading chunk "+t+" failed.\n("+o+": "+n+")",f.name="ChunkLoadError",f.type=o,f.request=n,a[1](f)}}),"chunk-"+t,t)}},c.O.j=t=>0===e[t];var t=(t,r)=>{var a,o,n=r[0],f=r[1],i=r[2],d=0;if(n.some((t=>0!==e[t]))){for(a in f)c.o(f,a)&&(c.m[a]=f[a]);if(i)var b=i(c)}for(t&&t(r);d<n.length;d++)o=n[d],c.o(e,o)&&e[o]&&e[o][0](),e[o]=0;return c.O(b)},r=self.webpackChunkwebsite=self.webpackChunkwebsite||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})()})(); \ No newline at end of file diff --git a/blog.html b/blog.html index 59ea910c..d6d10a61 100644 --- a/blog.html +++ b/blog.html @@ -2,11 +2,11 @@ <html lang="en" dir="ltr" class="blog-wrapper blog-list-page plugin-blog plugin-id-default" data-has-hydrated="false"> <head> <meta charset="UTF-8"> -<meta name="generator" content="Docusaurus v3.1.0"> +<meta name="generator" content="Docusaurus v3.1.1"> <title data-rh="true">Blog | Prettier Java - - + + diff --git a/blog/2023/11/26/2.5.0.html b/blog/2023/11/26/2.5.0.html index 93b0140e..ef105fd3 100644 --- a/blog/2023/11/26/2.5.0.html +++ b/blog/2023/11/26/2.5.0.html @@ -2,11 +2,11 @@ - + Prettier Java 2.5: Java 21 unnamed patterns and variables preview feature! | Prettier Java - - + +

Prettier Java 2.5: Java 21 unnamed patterns and variables preview feature!

· 2 min read

This release adds support for the Java 21 preview feature: unnamed patterns and variables (JEP 443)!

diff --git a/blog/archive.html b/blog/archive.html index 672dc31c..0457331e 100644 --- a/blog/archive.html +++ b/blog/archive.html @@ -2,11 +2,11 @@ - + Archive | Prettier Java - - + + diff --git a/docs.html b/docs.html index df716efd..8f661101 100644 --- a/docs.html +++ b/docs.html @@ -2,11 +2,11 @@ - + Introduction | Prettier Java - - + +

Introduction

diff --git a/docs/installation.html b/docs/installation.html index 10784ef5..6e844149 100644 --- a/docs/installation.html +++ b/docs/installation.html @@ -2,11 +2,11 @@ - + Installation | Prettier Java - - + +

Installation

diff --git a/index.html b/index.html index e67fc46d..677564f0 100644 --- a/index.html +++ b/index.html @@ -2,11 +2,11 @@ - + Prettier Java - - + +

# What is Prettier Java?

  • An opinionated Java code formatter
  • Integrates with most editors

# Why?

  • Your code is formatted on save
  • No need to discuss style in code review
  • Saves you time and energy
diff --git a/playground.html b/playground.html index f24c9e3e..2df52487 100644 --- a/playground.html +++ b/playground.html @@ -2,11 +2,11 @@ - + Playground | Prettier Java - - + +
Global
Java
Special
Loading...
Loading...