@opencx/widget 3.0.55 → 3.0.57

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/designs.cjs CHANGED
@@ -1,249 +1,36 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const I=require("react/jsx-runtime"),Tt=require("react"),ZC=require("tinycolor2"),vr=require("framer-motion"),Qk=require("clsx"),Wn=require("lucide-react"),G4=require("react-dropzone"),e_=require("react-hot-toast"),ft=require("./useUploadFiles-DyW8Xf7c.cjs"),$4=require("@radix-ui/react-tooltip"),Uw=require("@radix-ui/react-slot"),X4=require("@radix-ui/react-dropdown-menu"),K4=require("@radix-ui/react-dialog"),J4=require("@radix-ui/react-avatar"),Px=require("zod");function zm(e){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const a in e)if(a!=="default"){const s=Object.getOwnPropertyDescriptor(e,a);Object.defineProperty(n,a,s.get?s:{enumerable:!0,get:()=>e[a]})}}return n.default=e,Object.freeze(n)}const ie=zm(Tt),jm=zm($4),Qn=zm(X4),so=zm(K4),Xf=zm(J4),Z4=350,Gk=400,$k=600,Bw={widgetMinHeight:"min-h-[400px]",widgetMaxHeight:"max-h-[600px]",widgetHeight:"h-[600px]"},Xk=({primary:e="hsl(0, 0%, 0%)"})=>{const n=ZC(e).toHsl(),a=ZC(e).isLight()?"240 10% 3.9%":"0 0% 100%";return{"--opencx-primary":`${n.h} ${n.s*100}% ${n.l*100}%`,"--opencx-primary-foreground":a,"--opencx-background":"0 0% 100%","--opencx-foreground":"240 10% 3.9%","--opencx-accent":"240 4.8% 95.9%","--opencx-accent-foreground":"240 5.9% 10%","--opencx-destructive":"0 84.2% 60.2%","--opencx-destructive-foreground":"0 0% 98%","--opencx-secondary":"240 4.8% 95.9%","--opencx-secondary-foreground":"240 5.9% 10%","--opencx-muted":"240 4.8% 95.9%","--opencx-muted-foreground":"240 3.8% 46.1%","--opencx-input":"240 5.9% 90%","--opencx-border":"240 5.9% 90%","--opencx-ring":"240 5.9% 10%"}},Hw="-",eI=e=>{const n=nI(e),{conflictingClassGroups:a,conflictingClassGroupModifiers:s}=e;return{getClassGroupId:d=>{const g=d.split(Hw);return g[0]===""&&g.length!==1&&g.shift(),Kk(g,n)||tI(d)},getConflictingClassGroupIds:(d,g)=>{const E=a[d]||[];return g&&s[d]?[...E,...s[d]]:E}}},Kk=(e,n)=>{var d;if(e.length===0)return n.classGroupId;const a=e[0],s=n.nextPart.get(a),f=s?Kk(e.slice(1),s):void 0;if(f)return f;if(n.validators.length===0)return;const h=e.join(Hw);return(d=n.validators.find(({validator:g})=>g(h)))==null?void 0:d.classGroupId},t_=/^\[(.+)\]$/,tI=e=>{if(t_.test(e)){const n=t_.exec(e)[1],a=n==null?void 0:n.substring(0,n.indexOf(":"));if(a)return"arbitrary.."+a}},nI=e=>{const{theme:n,prefix:a}=e,s={nextPart:new Map,validators:[]};return aI(Object.entries(e.classGroups),a).forEach(([h,d])=>{pw(d,s,h,n)}),s},pw=(e,n,a,s)=>{e.forEach(f=>{if(typeof f=="string"){const h=f===""?n:n_(n,f);h.classGroupId=a;return}if(typeof f=="function"){if(rI(f)){pw(f(s),n,a,s);return}n.validators.push({validator:f,classGroupId:a});return}Object.entries(f).forEach(([h,d])=>{pw(d,n_(n,h),a,s)})})},n_=(e,n)=>{let a=e;return n.split(Hw).forEach(s=>{a.nextPart.has(s)||a.nextPart.set(s,{nextPart:new Map,validators:[]}),a=a.nextPart.get(s)}),a},rI=e=>e.isThemeGetter,aI=(e,n)=>n?e.map(([a,s])=>{const f=s.map(h=>typeof h=="string"?n+h:typeof h=="object"?Object.fromEntries(Object.entries(h).map(([d,g])=>[n+d,g])):h);return[a,f]}):e,iI=e=>{if(e<1)return{get:()=>{},set:()=>{}};let n=0,a=new Map,s=new Map;const f=(h,d)=>{a.set(h,d),n++,n>e&&(n=0,s=a,a=new Map)};return{get(h){let d=a.get(h);if(d!==void 0)return d;if((d=s.get(h))!==void 0)return f(h,d),d},set(h,d){a.has(h)?a.set(h,d):f(h,d)}}},Jk="!",oI=e=>{const{separator:n,experimentalParseClassName:a}=e,s=n.length===1,f=n[0],h=n.length,d=g=>{const E=[];let b=0,C=0,S;for(let B=0;B<g.length;B++){let H=g[B];if(b===0){if(H===f&&(s||g.slice(B,B+h)===n)){E.push(g.slice(C,B)),C=B+h;continue}if(H==="/"){S=B;continue}}H==="["?b++:H==="]"&&b--}const R=E.length===0?g:g.substring(C),k=R.startsWith(Jk),D=k?R.substring(1):R,L=S&&S>C?S-C:void 0;return{modifiers:E,hasImportantModifier:k,baseClassName:D,maybePostfixModifierPosition:L}};return a?g=>a({className:g,parseClassName:d}):d},uI=e=>{if(e.length<=1)return e;const n=[];let a=[];return e.forEach(s=>{s[0]==="["?(n.push(...a.sort(),s),a=[]):a.push(s)}),n.push(...a.sort()),n},sI=e=>({cache:iI(e.cacheSize),parseClassName:oI(e),...eI(e)}),lI=/\s+/,cI=(e,n)=>{const{parseClassName:a,getClassGroupId:s,getConflictingClassGroupIds:f}=n,h=[],d=e.trim().split(lI);let g="";for(let E=d.length-1;E>=0;E-=1){const b=d[E],{modifiers:C,hasImportantModifier:S,baseClassName:R,maybePostfixModifierPosition:k}=a(b);let D=!!k,L=s(D?R.substring(0,k):R);if(!L){if(!D){g=b+(g.length>0?" "+g:g);continue}if(L=s(R),!L){g=b+(g.length>0?" "+g:g);continue}D=!1}const B=uI(C).join(":"),H=S?B+Jk:B,$=H+L;if(h.includes($))continue;h.push($);const W=f(L,D);for(let J=0;J<W.length;++J){const Z=W[J];h.push(H+Z)}g=b+(g.length>0?" "+g:g)}return g};function dI(){let e=0,n,a,s="";for(;e<arguments.length;)(n=arguments[e++])&&(a=Zk(n))&&(s&&(s+=" "),s+=a);return s}const Zk=e=>{if(typeof e=="string")return e;let n,a="";for(let s=0;s<e.length;s++)e[s]&&(n=Zk(e[s]))&&(a&&(a+=" "),a+=n);return a};function fI(e,...n){let a,s,f,h=d;function d(E){const b=n.reduce((C,S)=>S(C),e());return a=sI(b),s=a.cache.get,f=a.cache.set,h=g,g(E)}function g(E){const b=s(E);if(b)return b;const C=cI(E,a);return f(E,C),C}return function(){return h(dI.apply(null,arguments))}}const hn=e=>{const n=a=>a[e]||[];return n.isThemeGetter=!0,n},eA=/^\[(?:([a-z-]+):)?(.+)\]$/i,pI=/^\d+\/\d+$/,hI=new Set(["px","full","screen"]),mI=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,gI=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,vI=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,yI=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,EI=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Iu=e=>zf(e)||hI.has(e)||pI.test(e),Gs=e=>Kf(e,"length",kI),zf=e=>!!e&&!Number.isNaN(Number(e)),Fx=e=>Kf(e,"number",zf),xm=e=>!!e&&Number.isInteger(Number(e)),bI=e=>e.endsWith("%")&&zf(e.slice(0,-1)),wt=e=>eA.test(e),$s=e=>mI.test(e),xI=new Set(["length","size","percentage"]),wI=e=>Kf(e,xI,tA),TI=e=>Kf(e,"position",tA),SI=new Set(["image","url"]),CI=e=>Kf(e,SI,RI),_I=e=>Kf(e,"",AI),wm=()=>!0,Kf=(e,n,a)=>{const s=eA.exec(e);return s?s[1]?typeof n=="string"?s[1]===n:n.has(s[1]):a(s[2]):!1},kI=e=>gI.test(e)&&!vI.test(e),tA=()=>!1,AI=e=>yI.test(e),RI=e=>EI.test(e),NI=()=>{const e=hn("colors"),n=hn("spacing"),a=hn("blur"),s=hn("brightness"),f=hn("borderColor"),h=hn("borderRadius"),d=hn("borderSpacing"),g=hn("borderWidth"),E=hn("contrast"),b=hn("grayscale"),C=hn("hueRotate"),S=hn("invert"),R=hn("gap"),k=hn("gradientColorStops"),D=hn("gradientColorStopPositions"),L=hn("inset"),B=hn("margin"),H=hn("opacity"),$=hn("padding"),W=hn("saturate"),J=hn("scale"),Z=hn("sepia"),X=hn("skew"),te=hn("space"),we=hn("translate"),Me=()=>["auto","contain","none"],K=()=>["auto","hidden","clip","visible","scroll"],Ee=()=>["auto",wt,n],ge=()=>[wt,n],Re=()=>["",Iu,Gs],Oe=()=>["auto",zf,wt],qe=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],je=()=>["solid","dashed","dotted","double","none"],at=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],he=()=>["start","end","center","between","around","evenly","stretch"],De=()=>["","0",wt],F=()=>["auto","avoid","all","avoid-page","page","left","right","column"],et=()=>[zf,wt];return{cacheSize:500,separator:":",theme:{colors:[wm],spacing:[Iu,Gs],blur:["none","",$s,wt],brightness:et(),borderColor:[e],borderRadius:["none","","full",$s,wt],borderSpacing:ge(),borderWidth:Re(),contrast:et(),grayscale:De(),hueRotate:et(),invert:De(),gap:ge(),gradientColorStops:[e],gradientColorStopPositions:[bI,Gs],inset:Ee(),margin:Ee(),opacity:et(),padding:ge(),saturate:et(),scale:et(),sepia:De(),skew:et(),space:ge(),translate:ge()},classGroups:{aspect:[{aspect:["auto","square","video",wt]}],container:["container"],columns:[{columns:[$s]}],"break-after":[{"break-after":F()}],"break-before":[{"break-before":F()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...qe(),wt]}],overflow:[{overflow:K()}],"overflow-x":[{"overflow-x":K()}],"overflow-y":[{"overflow-y":K()}],overscroll:[{overscroll:Me()}],"overscroll-x":[{"overscroll-x":Me()}],"overscroll-y":[{"overscroll-y":Me()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[L]}],"inset-x":[{"inset-x":[L]}],"inset-y":[{"inset-y":[L]}],start:[{start:[L]}],end:[{end:[L]}],top:[{top:[L]}],right:[{right:[L]}],bottom:[{bottom:[L]}],left:[{left:[L]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",xm,wt]}],basis:[{basis:Ee()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",wt]}],grow:[{grow:De()}],shrink:[{shrink:De()}],order:[{order:["first","last","none",xm,wt]}],"grid-cols":[{"grid-cols":[wm]}],"col-start-end":[{col:["auto",{span:["full",xm,wt]},wt]}],"col-start":[{"col-start":Oe()}],"col-end":[{"col-end":Oe()}],"grid-rows":[{"grid-rows":[wm]}],"row-start-end":[{row:["auto",{span:[xm,wt]},wt]}],"row-start":[{"row-start":Oe()}],"row-end":[{"row-end":Oe()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",wt]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",wt]}],gap:[{gap:[R]}],"gap-x":[{"gap-x":[R]}],"gap-y":[{"gap-y":[R]}],"justify-content":[{justify:["normal",...he()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...he(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...he(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[$]}],px:[{px:[$]}],py:[{py:[$]}],ps:[{ps:[$]}],pe:[{pe:[$]}],pt:[{pt:[$]}],pr:[{pr:[$]}],pb:[{pb:[$]}],pl:[{pl:[$]}],m:[{m:[B]}],mx:[{mx:[B]}],my:[{my:[B]}],ms:[{ms:[B]}],me:[{me:[B]}],mt:[{mt:[B]}],mr:[{mr:[B]}],mb:[{mb:[B]}],ml:[{ml:[B]}],"space-x":[{"space-x":[te]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[te]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",wt,n]}],"min-w":[{"min-w":[wt,n,"min","max","fit"]}],"max-w":[{"max-w":[wt,n,"none","full","min","max","fit","prose",{screen:[$s]},$s]}],h:[{h:[wt,n,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[wt,n,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[wt,n,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[wt,n,"auto","min","max","fit"]}],"font-size":[{text:["base",$s,Gs]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Fx]}],"font-family":[{font:[wm]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",wt]}],"line-clamp":[{"line-clamp":["none",zf,Fx]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Iu,wt]}],"list-image":[{"list-image":["none",wt]}],"list-style-type":[{list:["none","disc","decimal",wt]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[H]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[H]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...je(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Iu,Gs]}],"underline-offset":[{"underline-offset":["auto",Iu,wt]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:ge()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",wt]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",wt]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[H]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...qe(),TI]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",wI]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},CI]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[D]}],"gradient-via-pos":[{via:[D]}],"gradient-to-pos":[{to:[D]}],"gradient-from":[{from:[k]}],"gradient-via":[{via:[k]}],"gradient-to":[{to:[k]}],rounded:[{rounded:[h]}],"rounded-s":[{"rounded-s":[h]}],"rounded-e":[{"rounded-e":[h]}],"rounded-t":[{"rounded-t":[h]}],"rounded-r":[{"rounded-r":[h]}],"rounded-b":[{"rounded-b":[h]}],"rounded-l":[{"rounded-l":[h]}],"rounded-ss":[{"rounded-ss":[h]}],"rounded-se":[{"rounded-se":[h]}],"rounded-ee":[{"rounded-ee":[h]}],"rounded-es":[{"rounded-es":[h]}],"rounded-tl":[{"rounded-tl":[h]}],"rounded-tr":[{"rounded-tr":[h]}],"rounded-br":[{"rounded-br":[h]}],"rounded-bl":[{"rounded-bl":[h]}],"border-w":[{border:[g]}],"border-w-x":[{"border-x":[g]}],"border-w-y":[{"border-y":[g]}],"border-w-s":[{"border-s":[g]}],"border-w-e":[{"border-e":[g]}],"border-w-t":[{"border-t":[g]}],"border-w-r":[{"border-r":[g]}],"border-w-b":[{"border-b":[g]}],"border-w-l":[{"border-l":[g]}],"border-opacity":[{"border-opacity":[H]}],"border-style":[{border:[...je(),"hidden"]}],"divide-x":[{"divide-x":[g]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[g]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[H]}],"divide-style":[{divide:je()}],"border-color":[{border:[f]}],"border-color-x":[{"border-x":[f]}],"border-color-y":[{"border-y":[f]}],"border-color-s":[{"border-s":[f]}],"border-color-e":[{"border-e":[f]}],"border-color-t":[{"border-t":[f]}],"border-color-r":[{"border-r":[f]}],"border-color-b":[{"border-b":[f]}],"border-color-l":[{"border-l":[f]}],"divide-color":[{divide:[f]}],"outline-style":[{outline:["",...je()]}],"outline-offset":[{"outline-offset":[Iu,wt]}],"outline-w":[{outline:[Iu,Gs]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:Re()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[H]}],"ring-offset-w":[{"ring-offset":[Iu,Gs]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",$s,_I]}],"shadow-color":[{shadow:[wm]}],opacity:[{opacity:[H]}],"mix-blend":[{"mix-blend":[...at(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":at()}],filter:[{filter:["","none"]}],blur:[{blur:[a]}],brightness:[{brightness:[s]}],contrast:[{contrast:[E]}],"drop-shadow":[{"drop-shadow":["","none",$s,wt]}],grayscale:[{grayscale:[b]}],"hue-rotate":[{"hue-rotate":[C]}],invert:[{invert:[S]}],saturate:[{saturate:[W]}],sepia:[{sepia:[Z]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[a]}],"backdrop-brightness":[{"backdrop-brightness":[s]}],"backdrop-contrast":[{"backdrop-contrast":[E]}],"backdrop-grayscale":[{"backdrop-grayscale":[b]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[C]}],"backdrop-invert":[{"backdrop-invert":[S]}],"backdrop-opacity":[{"backdrop-opacity":[H]}],"backdrop-saturate":[{"backdrop-saturate":[W]}],"backdrop-sepia":[{"backdrop-sepia":[Z]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[d]}],"border-spacing-x":[{"border-spacing-x":[d]}],"border-spacing-y":[{"border-spacing-y":[d]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",wt]}],duration:[{duration:et()}],ease:[{ease:["linear","in","out","in-out",wt]}],delay:[{delay:et()}],animate:[{animate:["none","spin","ping","pulse","bounce",wt]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[J]}],"scale-x":[{"scale-x":[J]}],"scale-y":[{"scale-y":[J]}],rotate:[{rotate:[xm,wt]}],"translate-x":[{"translate-x":[we]}],"translate-y":[{"translate-y":[we]}],"skew-x":[{"skew-x":[X]}],"skew-y":[{"skew-y":[X]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",wt]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",wt]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":ge()}],"scroll-mx":[{"scroll-mx":ge()}],"scroll-my":[{"scroll-my":ge()}],"scroll-ms":[{"scroll-ms":ge()}],"scroll-me":[{"scroll-me":ge()}],"scroll-mt":[{"scroll-mt":ge()}],"scroll-mr":[{"scroll-mr":ge()}],"scroll-mb":[{"scroll-mb":ge()}],"scroll-ml":[{"scroll-ml":ge()}],"scroll-p":[{"scroll-p":ge()}],"scroll-px":[{"scroll-px":ge()}],"scroll-py":[{"scroll-py":ge()}],"scroll-ps":[{"scroll-ps":ge()}],"scroll-pe":[{"scroll-pe":ge()}],"scroll-pt":[{"scroll-pt":ge()}],"scroll-pr":[{"scroll-pr":ge()}],"scroll-pb":[{"scroll-pb":ge()}],"scroll-pl":[{"scroll-pl":ge()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",wt]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[Iu,Gs,Fx]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}},DI=fI(NI);function St(...e){return DI(Qk.clsx(e))}const OI="[data-opencx-widget-content-root]";function zw({fallbackHeight:e}){const n=Tt.useRef(null);return Tt.useEffect(()=>{const a=document.querySelector(OI);if(a&&n.current){const s=n.current;let f;const h=new ResizeObserver(()=>{f=requestAnimationFrame(()=>{const d=Math.max(s.offsetHeight,e);a.style.setProperty("--opencx-widget-height",`${d.toFixed(1)}px`)})});return h.observe(s),()=>{cancelAnimationFrame(f),h.unobserve(s)}}},[e]),{observedElementRef:n}}const LI=jm.Provider,II=jm.Root,MI=jm.Trigger,nA=ie.forwardRef(({className:e,sideOffset:n=4,...a},s)=>I.jsx(jm.Content,{ref:s,sideOffset:n,className:St("z-50 overflow-hidden max-w-xs rounded-xl bg-primary border text-primary-foreground p-2 text-center align-middle text-xs shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...a}));nA.displayName=jm.Content.displayName;function k1({children:e,content:n,side:a,align:s}){return n?I.jsxs(II,{children:[I.jsx(MI,{asChild:!0,children:e}),I.jsx(nA,{side:a,align:s,collisionPadding:8,avoidCollisions:!0,children:n})]}):e}const PI={ok:"حسنا",yes:"نعم",no:"لا",agree:"موافق",cancel:"إلغاء","yes-exit":"نعم، اخرج","yes-reset":"نعم، إعادة تعيين","no-cancel":"لا، إلغاء","are-you-sure":"هل أنت متأكد؟",recording:"تسجيل","thank-you":"شكرا","sorry-try-again":"عذرا، حاول مرة أخرى","error-occurred":"حدث خطأ","please-try-again":"يرجى المحاولة مرة أخرى","write-a-message":"اكتب رسالة...","send-message":"إرسال رسالة",connected:"متصل",connecting:"جاري الاتصال",reconnecting:"جاري إعادة الاتصال",reconnected:"تم إعادة الاتصال",disconnecting:"جاري قطع الاتصال",disconnected:"قطع الاتصال",error:"خطأ","persist-session":"حفظ الجلسة",settings:"إعدادات",close:"إغلاق",help:"مساعدة",chat:"محادثة",send:"إرسال",copy:"نسخ",copied:"تم النسخ","sound-effects":"التاثيرات الصوتية",language:"اللغة",select:"اختر",agent:"الوكيل",user:"المستخدم",bot:"البوت","close-widget":"إغلاق الودجة","got-any-questions":"هل لديك أي أسئلة؟ تحدث معنا!","typical-response-time":"عادة ما نرد في أقل من دقيقة واحدة","session-closed-lead":"تم حل مشكلتك!",exit:"خروج","create-new-ticket":"إنشاء تذكرة جديدة","reset-conversation":"إعادة تعيين المحادثة","new-conversation":"محادثة جديدة","welcome-title":"مرحبًا بك في دردشة الدعم الخاصة بنا","welcome-description":"نحن هنا للمساعدة! ابدأ محادثة وسنرد عليك في أقرب وقت ممكن.","your-name":"اسمك","your-email":"عنوان بريدك الإلكتروني","start-chat":"تحدث إلى الدعم","starting-chat":"جاري الاتصال...","hello-greeting":"مرحبًا! كيف يمكننا مساعدتك اليوم؟","i-need-more-help":"أحتاج المزيد من المساعدة","this-was-helpful":"كان هذا مفيدًا",optional:"اختياري"},FI={ok:"OK",yes:"Ja",no:"Nein",agree:"Zustimmen",cancel:"Stornieren","yes-exit":"Ja, beenden","yes-reset":"Ja, zurücksetzen","no-cancel":"Nein, abbrechen","are-you-sure":"Sind Sie sicher?",recording:"Aufnahme läuft","thank-you":"Vielen Dank","sorry-try-again":"Entschuldigung, bitte versuchen Sie es erneut","error-occurred":"Ein Fehler ist aufgetreten","please-try-again":"Bitte versuchen Sie es erneut","write-a-message":"Nachricht schreiben...","send-message":"Nachricht senden",connected:"Verbunden",connecting:"Verbindung wird hergestellt",reconnecting:"Verbindung wird wiederhergestellt",reconnected:"Wieder verbunden",disconnecting:"Verbindung wird getrennt",disconnected:"Verbindung getrennt",error:"Fehler","persist-session":"Sitzung beibehalten",settings:"Einstellungen",close:"Schließen",help:"Hilfe",chat:"Chat",send:"Senden",copy:"Kopieren",copied:"Kopiert","sound-effects":"Soundeffekte",language:"Sprache",select:"Auswählen",agent:"Agent",user:"Benutzer",bot:"Bot","got-any-questions":"Haben Sie Fragen? Chatten Sie mit uns!","typical-response-time":"Üblicherweise antworten wir in weniger als 1 Minute","close-widget":"Widget schließen","session-closed-lead":"Ihr Problem wurde gelöst!","create-new-ticket":"Neues Ticket erstellen",exit:"Beenden","reset-conversation":"Konversation zurücksetzen","new-conversation":"Neue Konversation","welcome-title":"Willkommen in unserem Support-Chat","welcome-description":"Wir sind hier, um zu helfen! Beginnen Sie ein Gesprách und wir werden so schnell wie mogelijk antworten.","your-name":"Ihr Name","your-email":"Ihre E-Mail-Adresse","start-chat":"Mit dem Support sprechen","starting-chat":"Verbindung wird hergestellt...","hello-greeting":"Hallo! Wie können wir Ihnen heute helfen?","i-need-more-help":"Ich brauche weitere Hilfe","this-was-helpful":"Dies war hilfreich",optional:"Optional"},UI={ok:"OK",yes:"Yes",no:"No",agree:"Agree",cancel:"Cancel","yes-exit":"Yes, exit","yes-reset":"Yes, reset","no-cancel":"No, cancel","are-you-sure":"Are you sure?",recording:"Recording...","thank-you":"Thank you","sorry-try-again":"Sorry, please try again","error-occurred":"An error occurred","please-try-again":"Please try again","write-a-message":"Write a message...","send-message":"Send message",connected:"Connected",connecting:"Connecting",reconnecting:"Reconnecting",reconnected:"Reconnected",disconnecting:"Disconnecting",disconnected:"Disconnected",error:"Error","persist-session":"Persist session",settings:"Settings",close:"Close",help:"Help",chat:"Chat",send:"Send",copy:"Copy",copied:"Copied","sound-effects":"Sound effects",language:"Language",select:"Select",agent:"Agent",user:"User",bot:"Bot","close-widget":"Close widget","got-any-questions":"Got any questions? Chat with us!","typical-response-time":"Typically respond in less than 1 minute","session-closed-lead":"Your issue has been resolved!","create-new-ticket":"Create new ticket",exit:"Exit","reset-conversation":"Reset conversation","new-conversation":"New conversation","welcome-title":"Welcome to our support chat","welcome-description":"We're here to help! Start a conversation and we'll get back to you as soon as possible.","your-name":"Your name","your-email":"Your email address","start-chat":"Talk to support","starting-chat":"Connecting...","hello-greeting":"Hi there!","i-need-more-help":"I need more help","this-was-helpful":"This was helpful",optional:"Optional"},BI={ok:"D'accord",yes:"Oui",no:"Non",agree:"Accepter",cancel:"Annuler","yes-exit":"Oui, quitter","yes-reset":"Oui, réinitialiser","no-cancel":"Non, annuler","are-you-sure":"Êtes-vous sûr ?",recording:"Enregistrement...","thank-you":"Merci","sorry-try-again":"Désolé, veuillez réessayer","error-occurred":"Une erreur s'est produite","please-try-again":"Veuillez réessayer","write-a-message":"Écrivez un message...","send-message":"Envoyer le message",connected:"Connecté",connecting:"Connexion en cours",reconnecting:"Reconnexion en cours",reconnected:"Reconnecté",disconnecting:"Déconnexion en cours",disconnected:"Déconnecté",error:"Erreur","persist-session":"Conserver la session",settings:"Paramètres",close:"Fermer",help:"Aide",chat:"Chat",send:"Envoyer",copy:"Copier",copied:"Copié","sound-effects":"Effets sonores",language:"Langue",select:"Sélectionner",agent:"Agent",user:"Utilisateur",bot:"Bot","close-widget":"Fermer le widget","got-any-questions":"Vous avez des questions ? Chattez avec nous !","typical-response-time":"Nous répondons généralement en moins d'une minute","session-closed-lead":"Votre problème a été résolu !","create-new-ticket":"Créer un nouveau ticket",exit:"Sortie","reset-conversation":"Réinitialiser la conversation","new-conversation":"Nouvelle conversation","welcome-title":"Bienvenue dans notre chat de support","welcome-description":"Nous sommes là pour vous aider ! Commencez une conversation et nous vous répondrons dès que possible.","your-name":"Votre nom","your-email":"Votre adresse e-mail","start-chat":"Parler au support","starting-chat":"Connexion...","hello-greeting":"Bonjour ! Comment pouvons-nous vous aider aujourd'hui ?","i-need-more-help":"Je besoin d'aide plus","this-was-helpful":"C'était utile",optional:"Optionnel"},HI={ok:"OK",yes:"Ja",no:"Nee",agree:"Akkoord",cancel:"Annuleren","yes-exit":"Ja, afsluiten","yes-reset":"Ja, resetten","no-cancel":"Nee, annuleren","are-you-sure":"Weet u het zeker?",recording:"Opname...","thank-you":"Dank u","sorry-try-again":"Sorry, probeer het opnieuw","error-occurred":"Er is een fout opgetreden","please-try-again":"Probeer het opnieuw","write-a-message":"Schrijf een bericht...","send-message":"Bericht verzenden",connected:"Verbonden",connecting:"Verbinding maken",reconnecting:"Opnieuw verbinding maken",reconnected:"Opnieuw verbonden",disconnecting:"Verbinding verbreken",disconnected:"Verbinding verbroken",error:"Fout","persist-session":"Sessie behouden",settings:"Instellingen",close:"Sluiten",help:"Help",chat:"Chat",send:"Verzenden",copy:"Kopiëren",copied:"Gekopieerd","sound-effects":"Geluidseffecten",language:"Taal",select:"Selecteren",agent:"Agent",user:"Gebruiker",bot:"Bot","close-widget":"Widget sluiten","got-any-questions":"Heeft u vragen? Chat met ons!","typical-response-time":"We reageren doorgaans binnen 1 minuut","session-closed-lead":"Uw probleem is opgelost!","create-new-ticket":"Nieuw ticket aanmaken",exit:"Afsluiten","reset-conversation":"Gesprek resetten","new-conversation":"Nieuw gesprek","welcome-title":"Welkom bij onze supportchat","welcome-description":"We zijn hier om te helpen! Begin een gesprek en we nemen zo snel mogelijk contact met u op.","your-name":"Uw naam","your-email":"Uw e-mailadres","start-chat":"Praat met ondersteuning","starting-chat":"Verbinding maken...","hello-greeting":"Hallo! Hoe kunnen we u vandaag helpen?","i-need-more-help":"Ik heb nog meer hulp nodig","this-was-helpful":"Mijn vraag is opgelost",optional:"Optioneel"},zI={ok:"OK",yes:"Sim",no:"Não",agree:"Concordo",cancel:"Cancelar","yes-exit":"Sim, sair","yes-reset":"Sim, redefinir","no-cancel":"Não, cancelar","are-you-sure":"Você tem certeza?",recording:"Gravando...","thank-you":"Obrigado","sorry-try-again":"Desculpe, tente novamente","error-occurred":"Ocorreu um erro","please-try-again":"Por favor, tente novamente","write-a-message":"Escreva uma mensagem...","send-message":"Enviar mensagem",connected:"Conectado",connecting:"Conectando",reconnecting:"Reconectando",reconnected:"Reconectado",disconnecting:"Desconectando",disconnected:"Desconectado",error:"Erro","persist-session":"Persistir sessão",settings:"Configurações",close:"Fechar",help:"Ajuda",chat:"Bate-papo",send:"Enviar",copy:"Copiar",copied:"Copiado","sound-effects":"Efeitos sonoros",language:"Idioma",select:"Selecionar",agent:"Agente",user:"Usuário",bot:"Bot","close-widget":"Fechar widget","got-any-questions":"Tem alguma dúvida? Converse conosco!","typical-response-time":"Geralmente respondemos em menos de 1 minuto","session-closed-lead":"Seu problema foi resolvido!","create-new-ticket":"Criar novo ticket",exit:"Sair","reset-conversation":"Redefinir conversa","new-conversation":"Nova conversa","welcome-title":"Bem-vindo ao nosso chat de suporte","welcome-description":"Estamos aqui para ajudar! Inicie uma conversa e responderemos o mais rápido possível.","your-name":"Seu nome","your-email":"Seu endereço de email","start-chat":"Falar com o suporte","starting-chat":"Conectando...","hello-greeting":"Olá! Como podemos ajudar você hoje?","i-need-more-help":"preciso de mais ajuda","this-was-helpful":"Isso foi útil",optional:"Opcional"},rA={en:UI,ar:PI,nl:HI,fr:BI,de:FI,pt:zI},jI=Object.keys(rA),VI=e=>jI.includes(e);function YI(e,n){const a=rA[n];return a&&a[e]||""}function Jf(){const{widgetCtx:{config:e}}=ft.useWidget();return Tt.useMemo(()=>{const a=VI(e.language)?e.language:"en";return{get:s=>YI(s,a),lang:a}},[e.language])}const WI=10,qI=(e,n)=>({initial:{opacity:0,x:-e,...n.initial},animate:{opacity:1,x:0,...n.animate},exit:{opacity:0,x:e,...n.exit}}),QI=(e,n)=>({initial:{opacity:0,x:e,...n.initial},animate:{opacity:1,x:0,...n.animate},exit:{opacity:0,x:-e,...n.exit}}),GI=(e,n)=>({initial:{opacity:0,y:e,...n.initial},animate:{opacity:1,y:0,...n.animate},exit:{opacity:0,y:-e,...n.exit}}),$I=(e,n)=>({initial:{opacity:0,y:-e,...n.initial},animate:{opacity:1,y:0,...n.animate},exit:{opacity:0,y:e,...n.exit}}),XI={right:qI,left:QI,up:GI,down:$I},Sn=Tt.forwardRef(({fadeIn:e="down",distance:n=WI,children:a,snapExit:s=!1,overrides:f={},...h},d)=>{const g=e?XI[e](n,f):{};return s&&g.exit&&typeof g.exit=="object"&&!Array.isArray(g.exit)&&(g.exit.transition={duration:0}),I.jsx(vr.motion.div,{ref:d,...h,...g,children:a})});Sn.displayName="MotionDiv";const r_=e=>typeof e=="boolean"?"".concat(e):e===0?"0":e,a_=Qk.clsx,KI=(e,n)=>a=>{var s;if((n==null?void 0:n.variants)==null)return a_(e,a==null?void 0:a.class,a==null?void 0:a.className);const{variants:f,defaultVariants:h}=n,d=Object.keys(f).map(b=>{const C=a==null?void 0:a[b],S=h==null?void 0:h[b];if(C===null)return null;const R=r_(C)||r_(S);return f[b][R]}),g=a&&Object.entries(a).reduce((b,C)=>{let[S,R]=C;return R===void 0||(b[S]=R),b},{}),E=n==null||(s=n.compoundVariants)===null||s===void 0?void 0:s.reduce((b,C)=>{let{class:S,className:R,...k}=C;return Object.entries(k).every(D=>{let[L,B]=D;return Array.isArray(B)?B.includes({...h,...g}[L]):{...h,...g}[L]===B})?[...b,S,R]:b},[]);return a_(e,d,E,a==null?void 0:a.class,a==null?void 0:a.className)},i_={x:2,y:2},JI={1:"scale-[1]","1.01":"scale-[1.01]","1.02":"scale-[1.02]","1.1":"scale-[1.1]"},el=Tt.memo(Tt.forwardRef(({children:e,className:n,scale:a="1.02",off:s=!1},f)=>{const[h,d]=Tt.useState(!1),[g,E]=Tt.useState({x:0,y:0});if(s||/translate/.test(e.props.className||""))return e;const C=D=>{var we,Me;const{clientX:L,clientY:B}=D,H=D.currentTarget.getBoundingClientRect(),$=L-(H.left+H.width/2),W=B-(H.top+H.height/2),J=Math.max(-1,Math.min(1,$/(H.width/2))),Z=Math.max(-1,Math.min(1,W/(H.height/2))),X=J*i_.x,te=Z*i_.y;E({x:X,y:te}),(Me=(we=e.props).onMouseMove)==null||Me.call(we,D)},S=()=>{var D,L;d(!0),(L=(D=e.props).onMouseEnter)==null||L.call(D)},R=()=>{var D,L;d(!1),E({x:0,y:0}),(L=(D=e.props).onMouseLeave)==null||L.call(D)},k={"--opencx-wobble-x":h?`${g.x}px`:"0px","--opencx-wobble-y":h?`${g.y}px`:"0px"};return Tt.cloneElement(e,{ref:f,onMouseMove:C,onMouseEnter:S,onMouseLeave:R,style:{...k,...e.props.style},className:St("translate-x-[var(--opencx-wobble-x)]","translate-y-[var(--opencx-wobble-y)]",`hover:${JI[a]}`,n,e.props.className,"transition-all ease-out")})}));el.displayName="Wobble";const ZI=KI(St("inline-flex shrink-0 items-center justify-center gap-2","text-sm font-medium whitespace-nowrap","ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2","disabled:pointer-events-none disabled:opacity-50","shadow-sm active:shadow-none active:scale-95 hover:active:scale-95","rounded-xl","border","transition"),{variants:{variant:{default:"border-primary bg-primary text-primary-foreground",destructive:"border-destructive bg-destructive text-destructive-foreground",outline:"bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground",ghost:"border-transparent shadow-none hover:bg-accent hover:text-accent-foreground",link:"border-transparent shadow-none text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-8 px-3 text-xs",lg:"min-h-12 px-4",icon:"h-10 w-10",fit:"size-fit p-2",free:"p-2"}},defaultVariants:{variant:"default",size:"default"}}),si=ie.forwardRef(({className:e,variant:n,size:a,asChild:s=!1,...f},h)=>{const d=s?Uw.Slot:"button";return I.jsx(el,{ref:h,children:I.jsx(d,{className:St(ZI({variant:n,size:a,className:e})),...f})})});si.displayName="Button";const B1=()=>{const[e,n]=Tt.useState("ltr");return Tt.useEffect(()=>{const a=()=>{typeof document>"u"||n(window.getComputedStyle(document.body).direction)};a();const s=new MutationObserver(a);return s.observe(document.documentElement,{attributes:!0,attributeFilter:["dir"]}),s.observe(document.body,{attributes:!0,attributeFilter:["dir"]}),window.addEventListener("languagechange",a),()=>{s.disconnect(),window.removeEventListener("languagechange",a)}},[]),e};function e5(){const{sendMessage:e}=ft.useMessages(),n=Jf(),a=[n.get("i-need-more-help"),n.get("this-was-helpful")],s=f=>{const h=f.trim();h&&e({content:h})};return I.jsx("div",{className:"flex items-center gap-2 p-2 pb-0 flex-wrap",children:a.map(f=>I.jsx(si,{onClick:()=>s(f),className:"flex-1 rounded-full",size:"sm",children:f},f))})}function t5({file:{status:e,file:n,error:a},onCancel:s}){const[f,h]=Tt.useState(null);Tt.useEffect(()=>{if(!n.type.startsWith("image/"))return;const E=new FileReader;return E.onload=()=>h(E.result),E.onerror=()=>console.error("Error reading file"),E.readAsDataURL(n),()=>E.abort()},[n]);const d=()=>{switch(e){case"uploading":return I.jsx(Wn.Loader2,{className:"size-4 animate-spin"});case"error":return I.jsx(Wn.AlertCircle,{className:"size-4 text-destructive"});default:return null}},g=()=>{const E=n.type.split("/")[0];return E==="image"&&f?I.jsx("img",{src:typeof f=="string"?f:"",className:"object-cover bg-secondary size-full",alt:n.name}):E==="audio"?I.jsx(Wn.FileAudio2Icon,{}):E==="video"?I.jsx(Wn.FileVideo2Icon,{}):I.jsx(Wn.FileIcon,{})};return I.jsx(k1,{side:"bottom",content:e==="error"?I.jsxs("span",{className:"text-destructive",children:["Failed to upload: ",a]}):n.name,children:I.jsxs("div",{className:St(e==="uploading"&&"opacity-50","group","size-12 border rounded-2xl overflow-hidden relative","flex items-center justify-center shrink-0"),children:[I.jsx("div",{className:"absolute inset-0 flex items-center justify-center",children:d()}),I.jsx("button",{type:"button",className:St("absolute bg-black/50 inset-0 size-full z-10 opacity-0","flex items-center justify-center","opacity-0 group-hover:opacity-100 transition"),onClick:s,children:I.jsx(Wn.XIcon,{className:"size-4 text-primary-foreground"})}),I.jsx(g,{})]})})}const o_=St("rounded-3xl");function n5(){var X;const e=Tt.useRef(null),{sendMessage:n}=ft.useMessages(),{sessionState:a}=ft.useSessions(),s=Jf(),f=B1(),[h,d]=Tt.useState(""),{allFiles:g,emptyTheFiles:E,handleCancelUpload:b,appendFiles:C,isUploading:S,successFiles:R}=ft.useUploadFiles(),k=!!((X=a.session)!=null&&X.isHandedOff),{isAwaitingBotReply:D}=ft.useIsAwaitingBotReply(),L=te=>{k&&C(te)},B=!h.trim()&&R.length===0,H=async()=>{if(D||B)return;if(S){const we="please wait for the file(s) to upload";e_.error(we),console.info(we)}const te=h.trim();n({content:te,attachments:R.flatMap(we=>we.fileUrl?[{url:we.fileUrl,type:we.file.type,name:we.file.name,id:we.id,size:we.file.size}]:[])}),d(""),E()},{getRootProps:$,getInputProps:W,open:J}=G4.useDropzone({onDrop:L,noClick:!0,onDropRejected(){if(k){const te="unsupported file type, or the file is too large";e_.error(te),console.error(te)}},maxSize:5*1024*1024,accept:{"text/*":[".txt"],"image/*":[".png",".jpg",".jpeg",".gif"],"application/pdf":[".pdf"]}}),Z=te=>{const we=te.clipboardData;we&&we.files.length>0&&L(Array.from(we.files))};return I.jsxs("div",{className:"p-2 relative space-y-1",...$(),children:[I.jsx("input",{...W()}),I.jsxs("div",{className:St(o_,"relative space-y-2 border transition-all shadow py-2"),children:[I.jsx("div",{className:"flex items-center gap-1 px-2",children:I.jsx(vr.AnimatePresence,{mode:"popLayout",children:g.map(te=>I.jsx(Sn,{snapExit:!0,children:I.jsx(t5,{onCancel:()=>b(te.id),file:te})},te.id))})}),I.jsx("textarea",{onPaste:Z,ref:e,id:"chat-input",dir:f,value:h,rows:3,className:St(o_,"w-full resize-none px-3","text-sm rtl:placeholder:text-right bg-transparent outline-none"),onChange:te=>d(te.target.value),onKeyDown:async te=>{te.key==="Enter"&&!te.shiftKey&&(te.preventDefault(),H())},placeholder:s.get("write-a-message")}),I.jsxs("div",{dir:f,className:"px-2 flex justify-between rtl:text-right",children:[I.jsx(k1,{side:"top",align:"start",content:"attach files, (maximum size 5mb)",children:I.jsx(si,{onClick:()=>{k&&J()},size:"fit",variant:"outline",className:St("disabled:opacity-0","rounded-full size-8 flex items-center justify-center p-0"),disabled:!k,children:I.jsx(Wn.PaperclipIcon,{className:"size-4"})})}),I.jsx(k1,{content:"send message",side:"top",align:"end",children:I.jsx(si,{size:"fit",onClick:H,disabled:D||S||B,className:"rounded-full size-8 flex items-center justify-center p-0",children:I.jsx(vr.AnimatePresence,{mode:"wait",children:D||S?I.jsx(Sn,{snapExit:!0,children:I.jsx(Wn.CircleDashed,{className:"size-4 animate-spin animate-iteration-infinite"})},"loading"):I.jsx(Sn,{snapExit:!0,children:I.jsx(Wn.SendHorizonal,{className:"size-4 rtl:-scale-100"})},"send")})})})]})]})]})}function r5(){const{widgetCtx:e}=ft.useWidget(),n=Jf();return I.jsx("div",{className:"p-2",children:I.jsxs("div",{className:"p-2 bg-background rounded-3xl border shadow-2xl space-y-2",children:[I.jsxs("div",{className:"flex items-center gap-1",children:[I.jsx(Wn.CheckCheckIcon,{className:"size-4 text-emerald-500"}),I.jsx("h2",{className:"text-sm font-medium",dir:"auto",children:n.get("session-closed-lead")})]}),I.jsx("div",{children:I.jsx(si,{onClick:e.resetChat,className:"rounded-2xl w-full",children:n.get("new-conversation")})})]})})}function a5(){var d,g,E;const{sessionState:e}=ft.useSessions(),{messagesState:n,sendMessage:a}=ft.useMessages(),f=(g=(d=ft.usePreludeData().data)==null?void 0:d.data)==null?void 0:g.initialQuestions,h=n.messages.length===0;return I.jsx("footer",{children:I.jsx("div",{children:I.jsx(vr.AnimatePresence,{mode:"wait",children:e.session&&!((E=e.session)!=null&&E.isOpened)?I.jsx(Sn,{className:"overflow-hidden",overrides:{initial:{height:0},animate:{height:"auto"},exit:{height:0}},children:I.jsx(r5,{})},"session-closed"):I.jsxs(Sn,{className:"overflow-hidden",overrides:{initial:{height:0},animate:{height:"auto"},exit:{height:0}},children:[n.lastAIResMightSolveUserIssue&&I.jsx(e5,{}),h&&f&&I.jsx("div",{className:"flex items-center flex-row justify-end gap-2 flex-wrap px-2",children:f==null?void 0:f.map(b=>I.jsx(si,{dir:"auto",variant:"outline",size:"sm",onClick:()=>{a({content:b})},children:b},b))}),I.jsx(n5,{})]},"chat-input")})})})}const i5=Qn.Root,o5=Qn.Trigger,u5=Qn.Group,s5=ie.forwardRef(({className:e,inset:n,children:a,...s},f)=>I.jsxs(Qn.SubTrigger,{ref:f,className:St("flex cursor-default gap-2 select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",n&&"pl-8",e),...s,children:[a,I.jsx(Wn.ChevronRight,{className:"ml-auto"})]}));s5.displayName=Qn.SubTrigger.displayName;const l5=ie.forwardRef(({className:e,...n},a)=>I.jsx(Qn.SubContent,{ref:a,className:St("z-50 min-w-[8rem] overflow-hidden rounded-2xl border bg-background p-1 text-foreground shadow-2xl data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...n}));l5.displayName=Qn.SubContent.displayName;const aA=ie.forwardRef(({className:e,sideOffset:n=4,...a},s)=>I.jsx(Qn.Content,{ref:s,sideOffset:n,className:St("z-50 min-w-[8rem] overflow-hidden rounded-2xl border bg-background p-1 text-foreground shadow-2xl","data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...a}));aA.displayName=Qn.Content.displayName;const iA=ie.forwardRef(({className:e,inset:n,...a},s)=>I.jsx(Sn,{children:I.jsx(Qn.Item,{ref:s,className:St("relative flex cursor-default select-none items-center gap-2 rounded-xl px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:size-4 [&_svg]:shrink-0",n&&"pl-8",e),...a})}));iA.displayName=Qn.Item.displayName;const c5=ie.forwardRef(({className:e,children:n,checked:a,...s},f)=>I.jsxs(Qn.CheckboxItem,{ref:f,className:St("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),checked:a,...s,children:[I.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:I.jsx(Qn.ItemIndicator,{children:I.jsx(Wn.Check,{className:"h-4 w-4"})})}),n]}));c5.displayName=Qn.CheckboxItem.displayName;const d5=ie.forwardRef(({className:e,children:n,...a},s)=>I.jsxs(Qn.RadioItem,{ref:s,className:St("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...a,children:[I.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:I.jsx(Qn.ItemIndicator,{children:I.jsx(Wn.Circle,{className:"h-2 w-2 fill-current"})})}),n]}));d5.displayName=Qn.RadioItem.displayName;const f5=ie.forwardRef(({className:e,inset:n,...a},s)=>I.jsx(Qn.Label,{ref:s,className:St("px-2 py-1.5 text-sm font-semibold",n&&"pl-8",e),...a}));f5.displayName=Qn.Label.displayName;const p5=ie.forwardRef(({className:e,...n},a)=>I.jsx(Qn.Separator,{ref:a,className:St("-mx-1 my-1 h-px bg-muted",e),...n}));p5.displayName=Qn.Separator.displayName;function oA({className:e,...n}){return I.jsx("div",{className:St("animate-pulse rounded-md bg-secondary",e),...n})}function h5(){const e=Jf(),[n,a]=Tt.useState(!1),{toChatScreen:s}=ft.useWidgetRouter();return I.jsxs(i5,{open:n,onOpenChange:a,children:[I.jsx(o5,{asChild:!0,children:I.jsx(si,{variant:"ghost",size:"fit",className:"rounded-full",children:I.jsx(Wn.EllipsisVerticalIcon,{className:"size-4"})})}),I.jsx(aA,{align:"end",className:"min-w-56",children:I.jsx(u5,{children:I.jsxs(iA,{onSelect:()=>{a(!1),s()},children:[I.jsx(vr.motion.div,{initial:{opacity:0,x:-4,rotate:360},animate:{opacity:1,x:0,rotate:0},children:I.jsx(Wn.MessageCirclePlusIcon,{})}),e.get("new-conversation")]})})})]})}function uA(){var h,d;const{routerState:{screen:e},toSessionsScreen:n}=ft.useWidgetRouter(),{data:a,isLoading:s}=ft.usePreludeData(),f=B1();return I.jsx("header",{className:"p-2 border-b bg-background",children:I.jsxs("div",{dir:f,className:"flex items-center rtl:flex-row-reverse gap-2",children:[e==="chat"&&I.jsx(si,{variant:"ghost",size:"fit",className:"rounded-full",onClick:n,children:I.jsx(Wn.ChevronLeftIcon,{className:"size-4"})}),I.jsx("div",{className:St("flex-1",e==="sessions"&&"pl-2"),children:I.jsx(vr.AnimatePresence,{mode:"wait",children:s||!((h=a==null?void 0:a.data)!=null&&h.organizationName)?I.jsx(Sn,{snapExit:!0,children:I.jsx(oA,{className:"h-5 w-1/2"})},"skeleton"):I.jsx(Sn,{children:I.jsx("h2",{className:"font-semibold",children:(d=a==null?void 0:a.data)==null?void 0:d.organizationName})},"organization-name")})}),I.jsx(h5,{})]})})}function m5(e){const n=[];let a=null;return e.forEach(s=>{var f,h,d,g;(!a||((f=a[0])==null?void 0:f.type)!==s.type)&&(a=[],n.push(a)),((h=a[0])==null?void 0:h.type)==="FROM_AGENT"&&s.type==="FROM_AGENT"&&((d=s.agent)==null?void 0:d.id)!==((g=a[0].agent)==null?void 0:g.id)&&(a=[],n.push(a)),a.push(s)}),n}function g5(e){var n;return((n=e==null?void 0:e[0])==null?void 0:n.type)==="FROM_USER"}function v5(e){var n;return((n=e==null?void 0:e[0])==null?void 0:n.type)==="FROM_BOT"}function y5(e){var n;return((n=e==null?void 0:e[0])==null?void 0:n.type)==="FROM_AGENT"}function u_(e,n){const a=String(e);if(typeof n!="string")throw new TypeError("Expected character");let s=0,f=a.indexOf(n);for(;f!==-1;)s++,f=a.indexOf(n,f+n.length);return s}const ba=sl(/[A-Za-z]/),ra=sl(/[\dA-Za-z]/),E5=sl(/[#-'*+\--9=?A-Z^-~]/);function A1(e){return e!==null&&(e<32||e===127)}const hw=sl(/\d/),b5=sl(/[\dA-Fa-f]/),x5=sl(/[!-/:-@[-`{-~]/);function ut(e){return e!==null&&e<-2}function rn(e){return e!==null&&(e<0||e===32)}function Lt(e){return e===-2||e===-1||e===32}const H1=sl(new RegExp("\\p{P}|\\p{S}","u")),Rc=sl(/\s/);function sl(e){return n;function n(a){return a!==null&&a>-1&&e.test(String.fromCharCode(a))}}function w5(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}const z1=function(e){if(e==null)return _5;if(typeof e=="function")return j1(e);if(typeof e=="object")return Array.isArray(e)?T5(e):S5(e);if(typeof e=="string")return C5(e);throw new Error("Expected function, string, or object as test")};function T5(e){const n=[];let a=-1;for(;++a<e.length;)n[a]=z1(e[a]);return j1(s);function s(...f){let h=-1;for(;++h<n.length;)if(n[h].apply(this,f))return!0;return!1}}function S5(e){const n=e;return j1(a);function a(s){const f=s;let h;for(h in e)if(f[h]!==n[h])return!1;return!0}}function C5(e){return j1(n);function n(a){return a&&a.type===e}}function j1(e){return n;function n(a,s,f){return!!(k5(a)&&e.call(this,a,typeof s=="number"?s:void 0,f||void 0))}}function _5(){return!0}function k5(e){return e!==null&&typeof e=="object"&&"type"in e}const sA=[],A5=!0,mw=!1,R5="skip";function lA(e,n,a,s){let f;typeof n=="function"&&typeof a!="function"?(s=a,a=n):f=n;const h=z1(f),d=s?-1:1;g(e,void 0,[])();function g(E,b,C){const S=E&&typeof E=="object"?E:{};if(typeof S.type=="string"){const k=typeof S.tagName=="string"?S.tagName:typeof S.name=="string"?S.name:void 0;Object.defineProperty(R,"name",{value:"node ("+(E.type+(k?"<"+k+">":""))+")"})}return R;function R(){let k=sA,D,L,B;if((!n||h(E,b,C[C.length-1]||void 0))&&(k=N5(a(E,C)),k[0]===mw))return k;if("children"in E&&E.children){const H=E;if(H.children&&k[0]!==R5)for(L=(s?H.children.length:-1)+d,B=C.concat(H);L>-1&&L<H.children.length;){const $=H.children[L];if(D=g($,L,B)(),D[0]===mw)return D;L=typeof D[1]=="number"?D[1]:L+d}}return k}}}function N5(e){return Array.isArray(e)?e:typeof e=="number"?[A5,e]:e==null?sA:[e]}function D5(e,n,a){const f=z1((a||{}).ignore||[]),h=O5(n);let d=-1;for(;++d<h.length;)lA(e,"text",g);function g(b,C){let S=-1,R;for(;++S<C.length;){const k=C[S],D=R?R.children:void 0;if(f(k,D?D.indexOf(k):void 0,R))return;R=k}if(R)return E(b,C)}function E(b,C){const S=C[C.length-1],R=h[d][0],k=h[d][1];let D=0;const B=S.children.indexOf(b);let H=!1,$=[];R.lastIndex=0;let W=R.exec(b.value);for(;W;){const J=W.index,Z={index:W.index,input:W.input,stack:[...C,b]};let X=k(...W,Z);if(typeof X=="string"&&(X=X.length>0?{type:"text",value:X}:void 0),X===!1?R.lastIndex=J+1:(D!==J&&$.push({type:"text",value:b.value.slice(D,J)}),Array.isArray(X)?$.push(...X):X&&$.push(X),D=J+W[0].length,H=!0),!R.global)break;W=R.exec(b.value)}return H?(D<b.value.length&&$.push({type:"text",value:b.value.slice(D)}),S.children.splice(B,1,...$)):$=[b],B+$.length}}function O5(e){const n=[];if(!Array.isArray(e))throw new TypeError("Expected find and replace tuple or list of tuples");const a=!e[0]||Array.isArray(e[0])?e:[e];let s=-1;for(;++s<a.length;){const f=a[s];n.push([L5(f[0]),I5(f[1])])}return n}function L5(e){return typeof e=="string"?new RegExp(w5(e),"g"):e}function I5(e){return typeof e=="function"?e:function(){return e}}const Ux="phrasing",Bx=["autolink","link","image","label"];function M5(){return{transforms:[j5],enter:{literalAutolink:F5,literalAutolinkEmail:Hx,literalAutolinkHttp:Hx,literalAutolinkWww:Hx},exit:{literalAutolink:z5,literalAutolinkEmail:H5,literalAutolinkHttp:U5,literalAutolinkWww:B5}}}function P5(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:Ux,notInConstruct:Bx},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:Ux,notInConstruct:Bx},{character:":",before:"[ps]",after:"\\/",inConstruct:Ux,notInConstruct:Bx}]}}function F5(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function Hx(e){this.config.enter.autolinkProtocol.call(this,e)}function U5(e){this.config.exit.autolinkProtocol.call(this,e)}function B5(e){this.config.exit.data.call(this,e);const n=this.stack[this.stack.length-1];n.type,n.url="http://"+this.sliceSerialize(e)}function H5(e){this.config.exit.autolinkEmail.call(this,e)}function z5(e){this.exit(e)}function j5(e){D5(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,V5],[new RegExp("(?<=^|\\s|\\p{P}|\\p{S})([-.\\w+]+)@([-\\w]+(?:\\.[-\\w]+)+)","gu"),Y5]],{ignore:["link","linkReference"]})}function V5(e,n,a,s,f){let h="";if(!cA(f)||(/^w/i.test(n)&&(a=n+a,n="",h="http://"),!W5(a)))return!1;const d=q5(a+s);if(!d[0])return!1;const g={type:"link",title:null,url:h+n+d[0],children:[{type:"text",value:n+d[0]}]};return d[1]?[g,{type:"text",value:d[1]}]:g}function Y5(e,n,a,s){return!cA(s,!0)||/[-\d_]$/.test(a)?!1:{type:"link",title:null,url:"mailto:"+n+"@"+a,children:[{type:"text",value:n+"@"+a}]}}function W5(e){const n=e.split(".");return!(n.length<2||n[n.length-1]&&(/_/.test(n[n.length-1])||!/[a-zA-Z\d]/.test(n[n.length-1]))||n[n.length-2]&&(/_/.test(n[n.length-2])||!/[a-zA-Z\d]/.test(n[n.length-2])))}function q5(e){const n=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!n)return[e,void 0];e=e.slice(0,n.index);let a=n[0],s=a.indexOf(")");const f=u_(e,"(");let h=u_(e,")");for(;s!==-1&&f>h;)e+=a.slice(0,s+1),a=a.slice(s+1),s=a.indexOf(")"),h++;return[e,a]}function cA(e,n){const a=e.input.charCodeAt(e.index-1);return(e.index===0||Rc(a)||H1(a))&&(!n||a!==47)}function uo(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}dA.peek=rM;function Q5(){return{enter:{gfmFootnoteDefinition:$5,gfmFootnoteDefinitionLabelString:X5,gfmFootnoteCall:Z5,gfmFootnoteCallString:eM},exit:{gfmFootnoteDefinition:J5,gfmFootnoteDefinitionLabelString:K5,gfmFootnoteCall:nM,gfmFootnoteCallString:tM}}}function G5(){return{unsafe:[{character:"[",inConstruct:["phrasing","label","reference"]}],handlers:{footnoteDefinition:aM,footnoteReference:dA}}}function $5(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function X5(){this.buffer()}function K5(e){const n=this.resume(),a=this.stack[this.stack.length-1];a.type,a.label=n,a.identifier=uo(this.sliceSerialize(e)).toLowerCase()}function J5(e){this.exit(e)}function Z5(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function eM(){this.buffer()}function tM(e){const n=this.resume(),a=this.stack[this.stack.length-1];a.type,a.label=n,a.identifier=uo(this.sliceSerialize(e)).toLowerCase()}function nM(e){this.exit(e)}function dA(e,n,a,s){const f=a.createTracker(s);let h=f.move("[^");const d=a.enter("footnoteReference"),g=a.enter("reference");return h+=f.move(a.safe(a.associationId(e),{...f.current(),before:h,after:"]"})),g(),d(),h+=f.move("]"),h}function rM(){return"["}function aM(e,n,a,s){const f=a.createTracker(s);let h=f.move("[^");const d=a.enter("footnoteDefinition"),g=a.enter("label");return h+=f.move(a.safe(a.associationId(e),{...f.current(),before:h,after:"]"})),g(),h+=f.move("]:"+(e.children&&e.children.length>0?" ":"")),f.shift(4),h+=f.move(a.indentLines(a.containerFlow(e,f.current()),iM)),d(),h}function iM(e,n,a){return n===0?e:(a?"":" ")+e}const oM=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];fA.peek=dM;function uM(){return{canContainEols:["delete"],enter:{strikethrough:lM},exit:{strikethrough:cM}}}function sM(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:oM}],handlers:{delete:fA}}}function lM(e){this.enter({type:"delete",children:[]},e)}function cM(e){this.exit(e)}function fA(e,n,a,s){const f=a.createTracker(s),h=a.enter("strikethrough");let d=f.move("~~");return d+=a.containerPhrasing(e,{...f.current(),before:d,after:"~"}),d+=f.move("~~"),h(),d}function dM(){return"~"}function fM(e,n={}){const a=(n.align||[]).concat(),s=n.stringLength||hM,f=[],h=[],d=[],g=[];let E=0,b=-1;for(;++b<e.length;){const D=[],L=[];let B=-1;for(e[b].length>E&&(E=e[b].length);++B<e[b].length;){const H=pM(e[b][B]);if(n.alignDelimiters!==!1){const $=s(H);L[B]=$,(g[B]===void 0||$>g[B])&&(g[B]=$)}D.push(H)}h[b]=D,d[b]=L}let C=-1;if(typeof a=="object"&&"length"in a)for(;++C<E;)f[C]=s_(a[C]);else{const D=s_(a);for(;++C<E;)f[C]=D}C=-1;const S=[],R=[];for(;++C<E;){const D=f[C];let L="",B="";D===99?(L=":",B=":"):D===108?L=":":D===114&&(B=":");let H=n.alignDelimiters===!1?1:Math.max(1,g[C]-L.length-B.length);const $=L+"-".repeat(H)+B;n.alignDelimiters!==!1&&(H=L.length+H+B.length,H>g[C]&&(g[C]=H),R[C]=H),S[C]=$}h.splice(1,0,S),d.splice(1,0,R),b=-1;const k=[];for(;++b<h.length;){const D=h[b],L=d[b];C=-1;const B=[];for(;++C<E;){const H=D[C]||"";let $="",W="";if(n.alignDelimiters!==!1){const J=g[C]-(L[C]||0),Z=f[C];Z===114?$=" ".repeat(J):Z===99?J%2?($=" ".repeat(J/2+.5),W=" ".repeat(J/2-.5)):($=" ".repeat(J/2),W=$):W=" ".repeat(J)}n.delimiterStart!==!1&&!C&&B.push("|"),n.padding!==!1&&!(n.alignDelimiters===!1&&H==="")&&(n.delimiterStart!==!1||C)&&B.push(" "),n.alignDelimiters!==!1&&B.push($),B.push(H),n.alignDelimiters!==!1&&B.push(W),n.padding!==!1&&B.push(" "),(n.delimiterEnd!==!1||C!==E-1)&&B.push("|")}k.push(n.delimiterEnd===!1?B.join("").replace(/ +$/,""):B.join(""))}return k.join(`
2
- `)}function pM(e){return e==null?"":String(e)}function hM(e){return e.length}function s_(e){const n=typeof e=="string"?e.codePointAt(0):0;return n===67||n===99?99:n===76||n===108?108:n===82||n===114?114:0}const l_={}.hasOwnProperty;function pA(e,n){const a=n||{};function s(f,...h){let d=s.invalid;const g=s.handlers;if(f&&l_.call(f,e)){const E=String(f[e]);d=l_.call(g,E)?g[E]:s.unknown}if(d)return d.call(this,f,...h)}return s.handlers=a.handlers||{},s.invalid=a.invalid,s.unknown=a.unknown,s}function mM(e,n,a,s){const f=a.enter("blockquote"),h=a.createTracker(s);h.move("> "),h.shift(2);const d=a.indentLines(a.containerFlow(e,h.current()),gM);return f(),d}function gM(e,n,a){return">"+(a?"":" ")+e}function vM(e,n){return c_(e,n.inConstruct,!0)&&!c_(e,n.notInConstruct,!1)}function c_(e,n,a){if(typeof n=="string"&&(n=[n]),!n||n.length===0)return a;let s=-1;for(;++s<n.length;)if(e.includes(n[s]))return!0;return!1}function d_(e,n,a,s){let f=-1;for(;++f<a.unsafe.length;)if(a.unsafe[f].character===`
3
- `&&vM(a.stack,a.unsafe[f]))return/[ \t]/.test(s.before)?"":" ";return`\\
4
- `}function yM(e,n){const a=String(e);let s=a.indexOf(n),f=s,h=0,d=0;if(typeof n!="string")throw new TypeError("Expected substring");for(;s!==-1;)s===f?++h>d&&(d=h):h=1,f=s+n.length,s=a.indexOf(n,f);return d}function EM(e,n){return!!(n.options.fences===!1&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value))}function bM(e){const n=e.options.fence||"`";if(n!=="`"&&n!=="~")throw new Error("Cannot serialize code with `"+n+"` for `options.fence`, expected `` ` `` or `~`");return n}function xM(e,n,a,s){const f=bM(a),h=e.value||"",d=f==="`"?"GraveAccent":"Tilde";if(EM(e,a)){const S=a.enter("codeIndented"),R=a.indentLines(h,wM);return S(),R}const g=a.createTracker(s),E=f.repeat(Math.max(yM(h,f)+1,3)),b=a.enter("codeFenced");let C=g.move(E);if(e.lang){const S=a.enter(`codeFencedLang${d}`);C+=g.move(a.safe(e.lang,{before:C,after:" ",encode:["`"],...g.current()})),S()}if(e.lang&&e.meta){const S=a.enter(`codeFencedMeta${d}`);C+=g.move(" "),C+=g.move(a.safe(e.meta,{before:C,after:`
5
- `,encode:["`"],...g.current()})),S()}return C+=g.move(`
6
- `),h&&(C+=g.move(h+`
7
- `)),C+=g.move(E),b(),C}function wM(e,n,a){return(a?"":" ")+e}function jw(e){const n=e.options.quote||'"';if(n!=='"'&&n!=="'")throw new Error("Cannot serialize title with `"+n+"` for `options.quote`, expected `\"`, or `'`");return n}function TM(e,n,a,s){const f=jw(a),h=f==='"'?"Quote":"Apostrophe",d=a.enter("definition");let g=a.enter("label");const E=a.createTracker(s);let b=E.move("[");return b+=E.move(a.safe(a.associationId(e),{before:b,after:"]",...E.current()})),b+=E.move("]: "),g(),!e.url||/[\0- \u007F]/.test(e.url)?(g=a.enter("destinationLiteral"),b+=E.move("<"),b+=E.move(a.safe(e.url,{before:b,after:">",...E.current()})),b+=E.move(">")):(g=a.enter("destinationRaw"),b+=E.move(a.safe(e.url,{before:b,after:e.title?" ":`
8
- `,...E.current()}))),g(),e.title&&(g=a.enter(`title${h}`),b+=E.move(" "+f),b+=E.move(a.safe(e.title,{before:b,after:f,...E.current()})),b+=E.move(f),g()),d(),b}function SM(e){const n=e.options.emphasis||"*";if(n!=="*"&&n!=="_")throw new Error("Cannot serialize emphasis with `"+n+"` for `options.emphasis`, expected `*`, or `_`");return n}hA.peek=CM;function hA(e,n,a,s){const f=SM(a),h=a.enter("emphasis"),d=a.createTracker(s);let g=d.move(f);return g+=d.move(a.containerPhrasing(e,{before:g,after:f,...d.current()})),g+=d.move(f),h(),g}function CM(e,n,a){return a.options.emphasis||"*"}function V1(e,n,a,s){let f,h,d;typeof n=="function"&&typeof a!="function"?(h=void 0,d=n,f=a):(h=n,d=a,f=s),lA(e,h,g,f);function g(E,b){const C=b[b.length-1],S=C?C.children.indexOf(E):void 0;return d(E,S,C)}}const _M={};function Vw(e,n){const a=_M,s=typeof a.includeImageAlt=="boolean"?a.includeImageAlt:!0,f=typeof a.includeHtml=="boolean"?a.includeHtml:!0;return mA(e,s,f)}function mA(e,n,a){if(kM(e)){if("value"in e)return e.type==="html"&&!a?"":e.value;if(n&&"alt"in e&&e.alt)return e.alt;if("children"in e)return f_(e.children,n,a)}return Array.isArray(e)?f_(e,n,a):""}function f_(e,n,a){const s=[];let f=-1;for(;++f<e.length;)s[f]=mA(e[f],n,a);return s.join("")}function kM(e){return!!(e&&typeof e=="object")}function AM(e,n){let a=!1;return V1(e,function(s){if("value"in s&&/\r?\n|\r/.test(s.value)||s.type==="break")return a=!0,mw}),!!((!e.depth||e.depth<3)&&Vw(e)&&(n.options.setext||a))}function RM(e,n,a,s){const f=Math.max(Math.min(6,e.depth||1),1),h=a.createTracker(s);if(AM(e,a)){const C=a.enter("headingSetext"),S=a.enter("phrasing"),R=a.containerPhrasing(e,{...h.current(),before:`
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m=require("react/jsx-runtime"),J=require("react"),sa=require("tinycolor2"),ge=require("framer-motion"),Ii=require("clsx"),de=require("lucide-react"),su=require("react-dropzone"),X=require("./useUploadFiles-BWQeisCa.cjs"),ou=require("@radix-ui/react-tooltip"),uu=require("@radix-ui/react-slot"),lu=require("@radix-ui/react-dropdown-menu"),cu=require("@radix-ui/react-dialog"),dr=require("react-dom"),du=require("@radix-ui/react-avatar"),Wn=require("zod"),hu=require("@radix-ui/react-popover");function kt(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const xe=kt(J),tn=kt(ou),pe=kt(lu),He=kt(cu),Nt=kt(du),hr=kt(hu),pu=350,Si=400,Oi=600,Lr={widgetMinHeight:"min-h-[400px]",widgetMaxHeight:"max-h-[600px]",widgetHeight:"h-[600px]"},Li=({primary:e="hsl(0, 0%, 0%)"})=>{const t=sa(e).toHsl(),n=sa(e).isLight()?"240 10% 3.9%":"0 0% 100%";return{"--opencx-primary":`${t.h} ${t.s*100}% ${t.l*100}%`,"--opencx-primary-foreground":n,"--opencx-background":"0 0% 100%","--opencx-foreground":"240 10% 3.9%","--opencx-accent":"240 4.8% 95.9%","--opencx-accent-foreground":"240 5.9% 10%","--opencx-destructive":"0 84.2% 60.2%","--opencx-destructive-foreground":"0 0% 98%","--opencx-secondary":"240 4.8% 95.9%","--opencx-secondary-foreground":"240 5.9% 10%","--opencx-muted":"240 4.8% 95.9%","--opencx-muted-foreground":"240 3.8% 46.1%","--opencx-input":"240 5.9% 90%","--opencx-border":"240 5.9% 90%","--opencx-ring":"240 5.9% 10%"}},Rr="-",fu=e=>{const t=gu(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:s=>{const u=s.split(Rr);return u[0]===""&&u.length!==1&&u.shift(),Ri(u,t)||mu(s)},getConflictingClassGroupIds:(s,u)=>{const l=n[s]||[];return u&&r[s]?[...l,...r[s]]:l}}},Ri=(e,t)=>{var s;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),a=r?Ri(e.slice(1),r):void 0;if(a)return a;if(t.validators.length===0)return;const i=e.join(Rr);return(s=t.validators.find(({validator:u})=>u(i)))==null?void 0:s.classGroupId},oa=/^\[(.+)\]$/,mu=e=>{if(oa.test(e)){const t=oa.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},gu=e=>{const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return Eu(Object.entries(e.classGroups),n).forEach(([i,s])=>{pr(s,r,i,t)}),r},pr=(e,t,n,r)=>{e.forEach(a=>{if(typeof a=="string"){const i=a===""?t:ua(t,a);i.classGroupId=n;return}if(typeof a=="function"){if(bu(a)){pr(a(r),t,n,r);return}t.validators.push({validator:a,classGroupId:n});return}Object.entries(a).forEach(([i,s])=>{pr(s,ua(t,i),n,r)})})},ua=(e,t)=>{let n=e;return t.split(Rr).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},bu=e=>e.isThemeGetter,Eu=(e,t)=>t?e.map(([n,r])=>{const a=r.map(i=>typeof i=="string"?t+i:typeof i=="object"?Object.fromEntries(Object.entries(i).map(([s,u])=>[t+s,u])):i);return[n,a]}):e,xu=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const a=(i,s)=>{n.set(i,s),t++,t>e&&(t=0,r=n,n=new Map)};return{get(i){let s=n.get(i);if(s!==void 0)return s;if((s=r.get(i))!==void 0)return a(i,s),s},set(i,s){n.has(i)?n.set(i,s):a(i,s)}}},Di="!",wu=e=>{const{separator:t,experimentalParseClassName:n}=e,r=t.length===1,a=t[0],i=t.length,s=u=>{const l=[];let c=0,d=0,h;for(let C=0;C<u.length;C++){let A=u[C];if(c===0){if(A===a&&(r||u.slice(C,C+i)===t)){l.push(u.slice(d,C)),d=C+i;continue}if(A==="/"){h=C;continue}}A==="["?c++:A==="]"&&c--}const b=l.length===0?u:u.substring(d),p=b.startsWith(Di),E=p?b.substring(1):b,y=h&&h>d?h-d:void 0;return{modifiers:l,hasImportantModifier:p,baseClassName:E,maybePostfixModifierPosition:y}};return n?u=>n({className:u,parseClassName:s}):s},Tu=e=>{if(e.length<=1)return e;const t=[];let n=[];return e.forEach(r=>{r[0]==="["?(t.push(...n.sort(),r),n=[]):n.push(r)}),t.push(...n.sort()),t},yu=e=>({cache:xu(e.cacheSize),parseClassName:wu(e),...fu(e)}),_u=/\s+/,Au=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:a}=t,i=[],s=e.trim().split(_u);let u="";for(let l=s.length-1;l>=0;l-=1){const c=s[l],{modifiers:d,hasImportantModifier:h,baseClassName:b,maybePostfixModifierPosition:p}=n(c);let E=!!p,y=r(E?b.substring(0,p):b);if(!y){if(!E){u=c+(u.length>0?" "+u:u);continue}if(y=r(b),!y){u=c+(u.length>0?" "+u:u);continue}E=!1}const C=Tu(d).join(":"),A=h?C+Di:C,O=A+y;if(i.includes(O))continue;i.push(O);const L=a(y,E);for(let P=0;P<L.length;++P){const H=L[P];i.push(A+H)}u=c+(u.length>0?" "+u:u)}return u};function Cu(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=vi(t))&&(r&&(r+=" "),r+=n);return r}const vi=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=vi(e[r]))&&(n&&(n+=" "),n+=t);return n};function ku(e,...t){let n,r,a,i=s;function s(l){const c=t.reduce((d,h)=>h(d),e());return n=yu(c),r=n.cache.get,a=n.cache.set,i=u,u(l)}function u(l){const c=r(l);if(c)return c;const d=Au(l,n);return a(l,d),d}return function(){return i(Cu.apply(null,arguments))}}const se=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},Pi=/^\[(?:([a-z-]+):)?(.+)\]$/i,Nu=/^\d+\/\d+$/,Iu=new Set(["px","full","screen"]),Su=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Ou=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Lu=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Ru=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Du=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Qe=e=>yt(e)||Iu.has(e)||Nu.test(e),Je=e=>It(e,"length",zu),yt=e=>!!e&&!Number.isNaN(Number(e)),Vn=e=>It(e,"number",yt),Ft=e=>!!e&&Number.isInteger(Number(e)),vu=e=>e.endsWith("%")&&yt(e.slice(0,-1)),W=e=>Pi.test(e),Ze=e=>Su.test(e),Pu=new Set(["length","size","percentage"]),Mu=e=>It(e,Pu,Mi),Bu=e=>It(e,"position",Mi),Fu=new Set(["image","url"]),Hu=e=>It(e,Fu,Yu),Uu=e=>It(e,"",ju),Ht=()=>!0,It=(e,t,n)=>{const r=Pi.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1},zu=e=>Ou.test(e)&&!Lu.test(e),Mi=()=>!1,ju=e=>Ru.test(e),Yu=e=>Du.test(e),qu=()=>{const e=se("colors"),t=se("spacing"),n=se("blur"),r=se("brightness"),a=se("borderColor"),i=se("borderRadius"),s=se("borderSpacing"),u=se("borderWidth"),l=se("contrast"),c=se("grayscale"),d=se("hueRotate"),h=se("invert"),b=se("gap"),p=se("gradientColorStops"),E=se("gradientColorStopPositions"),y=se("inset"),C=se("margin"),A=se("opacity"),O=se("padding"),L=se("saturate"),P=se("scale"),H=se("sepia"),I=se("skew"),F=se("space"),j=se("translate"),G=()=>["auto","contain","none"],N=()=>["auto","hidden","clip","visible","scroll"],U=()=>["auto",W,t],M=()=>[W,t],te=()=>["",Qe,Je],ne=()=>["auto",yt,W],$=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],le=()=>["solid","dashed","dotted","double","none"],fe=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Ae=()=>["start","end","center","between","around","evenly","stretch"],Ce=()=>["","0",W],w=()=>["auto","avoid","all","avoid-page","page","left","right","column"],ce=()=>[yt,W];return{cacheSize:500,separator:":",theme:{colors:[Ht],spacing:[Qe,Je],blur:["none","",Ze,W],brightness:ce(),borderColor:[e],borderRadius:["none","","full",Ze,W],borderSpacing:M(),borderWidth:te(),contrast:ce(),grayscale:Ce(),hueRotate:ce(),invert:Ce(),gap:M(),gradientColorStops:[e],gradientColorStopPositions:[vu,Je],inset:U(),margin:U(),opacity:ce(),padding:M(),saturate:ce(),scale:ce(),sepia:Ce(),skew:ce(),space:M(),translate:M()},classGroups:{aspect:[{aspect:["auto","square","video",W]}],container:["container"],columns:[{columns:[Ze]}],"break-after":[{"break-after":w()}],"break-before":[{"break-before":w()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...$(),W]}],overflow:[{overflow:N()}],"overflow-x":[{"overflow-x":N()}],"overflow-y":[{"overflow-y":N()}],overscroll:[{overscroll:G()}],"overscroll-x":[{"overscroll-x":G()}],"overscroll-y":[{"overscroll-y":G()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[y]}],"inset-x":[{"inset-x":[y]}],"inset-y":[{"inset-y":[y]}],start:[{start:[y]}],end:[{end:[y]}],top:[{top:[y]}],right:[{right:[y]}],bottom:[{bottom:[y]}],left:[{left:[y]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Ft,W]}],basis:[{basis:U()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",W]}],grow:[{grow:Ce()}],shrink:[{shrink:Ce()}],order:[{order:["first","last","none",Ft,W]}],"grid-cols":[{"grid-cols":[Ht]}],"col-start-end":[{col:["auto",{span:["full",Ft,W]},W]}],"col-start":[{"col-start":ne()}],"col-end":[{"col-end":ne()}],"grid-rows":[{"grid-rows":[Ht]}],"row-start-end":[{row:["auto",{span:[Ft,W]},W]}],"row-start":[{"row-start":ne()}],"row-end":[{"row-end":ne()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",W]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",W]}],gap:[{gap:[b]}],"gap-x":[{"gap-x":[b]}],"gap-y":[{"gap-y":[b]}],"justify-content":[{justify:["normal",...Ae()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...Ae(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...Ae(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[O]}],px:[{px:[O]}],py:[{py:[O]}],ps:[{ps:[O]}],pe:[{pe:[O]}],pt:[{pt:[O]}],pr:[{pr:[O]}],pb:[{pb:[O]}],pl:[{pl:[O]}],m:[{m:[C]}],mx:[{mx:[C]}],my:[{my:[C]}],ms:[{ms:[C]}],me:[{me:[C]}],mt:[{mt:[C]}],mr:[{mr:[C]}],mb:[{mb:[C]}],ml:[{ml:[C]}],"space-x":[{"space-x":[F]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[F]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",W,t]}],"min-w":[{"min-w":[W,t,"min","max","fit"]}],"max-w":[{"max-w":[W,t,"none","full","min","max","fit","prose",{screen:[Ze]},Ze]}],h:[{h:[W,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[W,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[W,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[W,t,"auto","min","max","fit"]}],"font-size":[{text:["base",Ze,Je]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Vn]}],"font-family":[{font:[Ht]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",W]}],"line-clamp":[{"line-clamp":["none",yt,Vn]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Qe,W]}],"list-image":[{"list-image":["none",W]}],"list-style-type":[{list:["none","disc","decimal",W]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[A]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[A]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...le(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Qe,Je]}],"underline-offset":[{"underline-offset":["auto",Qe,W]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:M()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",W]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",W]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[A]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...$(),Bu]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Mu]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Hu]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[E]}],"gradient-via-pos":[{via:[E]}],"gradient-to-pos":[{to:[E]}],"gradient-from":[{from:[p]}],"gradient-via":[{via:[p]}],"gradient-to":[{to:[p]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-t":[{"rounded-t":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-b":[{"rounded-b":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-ss":[{"rounded-ss":[i]}],"rounded-se":[{"rounded-se":[i]}],"rounded-ee":[{"rounded-ee":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[u]}],"border-w-x":[{"border-x":[u]}],"border-w-y":[{"border-y":[u]}],"border-w-s":[{"border-s":[u]}],"border-w-e":[{"border-e":[u]}],"border-w-t":[{"border-t":[u]}],"border-w-r":[{"border-r":[u]}],"border-w-b":[{"border-b":[u]}],"border-w-l":[{"border-l":[u]}],"border-opacity":[{"border-opacity":[A]}],"border-style":[{border:[...le(),"hidden"]}],"divide-x":[{"divide-x":[u]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[u]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[A]}],"divide-style":[{divide:le()}],"border-color":[{border:[a]}],"border-color-x":[{"border-x":[a]}],"border-color-y":[{"border-y":[a]}],"border-color-s":[{"border-s":[a]}],"border-color-e":[{"border-e":[a]}],"border-color-t":[{"border-t":[a]}],"border-color-r":[{"border-r":[a]}],"border-color-b":[{"border-b":[a]}],"border-color-l":[{"border-l":[a]}],"divide-color":[{divide:[a]}],"outline-style":[{outline:["",...le()]}],"outline-offset":[{"outline-offset":[Qe,W]}],"outline-w":[{outline:[Qe,Je]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:te()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[A]}],"ring-offset-w":[{"ring-offset":[Qe,Je]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Ze,Uu]}],"shadow-color":[{shadow:[Ht]}],opacity:[{opacity:[A]}],"mix-blend":[{"mix-blend":[...fe(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":fe()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",Ze,W]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[d]}],invert:[{invert:[h]}],saturate:[{saturate:[L]}],sepia:[{sepia:[H]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[d]}],"backdrop-invert":[{"backdrop-invert":[h]}],"backdrop-opacity":[{"backdrop-opacity":[A]}],"backdrop-saturate":[{"backdrop-saturate":[L]}],"backdrop-sepia":[{"backdrop-sepia":[H]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-y":[{"border-spacing-y":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",W]}],duration:[{duration:ce()}],ease:[{ease:["linear","in","out","in-out",W]}],delay:[{delay:ce()}],animate:[{animate:["none","spin","ping","pulse","bounce",W]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[P]}],"scale-x":[{"scale-x":[P]}],"scale-y":[{"scale-y":[P]}],rotate:[{rotate:[Ft,W]}],"translate-x":[{"translate-x":[j]}],"translate-y":[{"translate-y":[j]}],"skew-x":[{"skew-x":[I]}],"skew-y":[{"skew-y":[I]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",W]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",W]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":M()}],"scroll-mx":[{"scroll-mx":M()}],"scroll-my":[{"scroll-my":M()}],"scroll-ms":[{"scroll-ms":M()}],"scroll-me":[{"scroll-me":M()}],"scroll-mt":[{"scroll-mt":M()}],"scroll-mr":[{"scroll-mr":M()}],"scroll-mb":[{"scroll-mb":M()}],"scroll-ml":[{"scroll-ml":M()}],"scroll-p":[{"scroll-p":M()}],"scroll-px":[{"scroll-px":M()}],"scroll-py":[{"scroll-py":M()}],"scroll-ps":[{"scroll-ps":M()}],"scroll-pe":[{"scroll-pe":M()}],"scroll-pt":[{"scroll-pt":M()}],"scroll-pr":[{"scroll-pr":M()}],"scroll-pb":[{"scroll-pb":M()}],"scroll-pl":[{"scroll-pl":M()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",W]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[Qe,Je,Vn]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}},Wu=ku(qu);function V(...e){return Wu(Ii.clsx(e))}const Vu="[data-opencx-widget-content-root]";function Dr({fallbackHeight:e}){const t=J.useRef(null);return J.useEffect(()=>{const n=document.querySelector(Vu);if(n&&t.current){const r=t.current;let a;const i=new ResizeObserver(()=>{a=requestAnimationFrame(()=>{const s=Math.max(r.offsetHeight,e);n.style.setProperty("--opencx-widget-height",`${s.toFixed(1)}px`)})});return i.observe(r),()=>{cancelAnimationFrame(a),i.unobserve(r)}}},[e]),{observedElementRef:t}}const Gu=tn.Provider,Qu=tn.Root,Xu=tn.Trigger,Bi=xe.forwardRef(({className:e,sideOffset:t=4,...n},r)=>m.jsx(tn.Content,{ref:r,sideOffset:t,className:V("z-50 overflow-hidden max-w-xs rounded-xl bg-primary border text-primary-foreground p-2 text-center align-middle text-xs shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...n}));Bi.displayName=tn.Content.displayName;function Tn({children:e,content:t,side:n,align:r}){return t?m.jsxs(Qu,{children:[m.jsx(Xu,{asChild:!0,children:e}),m.jsx(Bi,{side:n,align:r,collisionPadding:8,avoidCollisions:!0,children:t})]}):e}const Ku={ok:"حسنا",yes:"نعم",no:"لا",agree:"موافق",cancel:"إلغاء","yes-exit":"نعم، اخرج","yes-reset":"نعم، إعادة تعيين","no-cancel":"لا، إلغاء","are-you-sure":"هل أنت متأكد؟",recording:"تسجيل","thank-you":"شكرا","sorry-try-again":"عذرا، حاول مرة أخرى","error-occurred":"حدث خطأ","please-try-again":"يرجى المحاولة مرة أخرى","write-a-message":"اكتب رسالة...","send-message":"إرسال رسالة",connected:"متصل",connecting:"جاري الاتصال",reconnecting:"جاري إعادة الاتصال",reconnected:"تم إعادة الاتصال",disconnecting:"جاري قطع الاتصال",disconnected:"قطع الاتصال",error:"خطأ","persist-session":"حفظ الجلسة",settings:"إعدادات",close:"إغلاق",help:"مساعدة",chat:"محادثة",send:"إرسال",copy:"نسخ",copied:"تم النسخ","sound-effects":"التاثيرات الصوتية",language:"اللغة",select:"اختر",agent:"الوكيل",user:"المستخدم",bot:"البوت","close-widget":"إغلاق الودجة","got-any-questions":"هل لديك أي أسئلة؟ تحدث معنا!","typical-response-time":"عادة ما نرد في أقل من دقيقة واحدة","session-closed-lead":"تم حل مشكلتك!",exit:"خروج","create-new-ticket":"إنشاء تذكرة جديدة","reset-conversation":"إعادة تعيين المحادثة","new-conversation":"محادثة جديدة","welcome-title":"مرحبًا بك في دردشة الدعم الخاصة بنا","welcome-description":"نحن هنا للمساعدة! ابدأ محادثة وسنرد عليك في أقرب وقت ممكن.","your-name":"اسمك","your-email":"عنوان بريدك الإلكتروني","start-chat":"تحدث إلى الدعم","starting-chat":"جاري الاتصال...","hello-greeting":"مرحبًا! كيف يمكننا مساعدتك اليوم؟","i-need-more-help":"أحتاج المزيد من المساعدة","this-was-helpful":"كان هذا مفيدًا",optional:"اختياري"},$u={ok:"OK",yes:"Ja",no:"Nein",agree:"Zustimmen",cancel:"Stornieren","yes-exit":"Ja, beenden","yes-reset":"Ja, zurücksetzen","no-cancel":"Nein, abbrechen","are-you-sure":"Sind Sie sicher?",recording:"Aufnahme läuft","thank-you":"Vielen Dank","sorry-try-again":"Entschuldigung, bitte versuchen Sie es erneut","error-occurred":"Ein Fehler ist aufgetreten","please-try-again":"Bitte versuchen Sie es erneut","write-a-message":"Nachricht schreiben...","send-message":"Nachricht senden",connected:"Verbunden",connecting:"Verbindung wird hergestellt",reconnecting:"Verbindung wird wiederhergestellt",reconnected:"Wieder verbunden",disconnecting:"Verbindung wird getrennt",disconnected:"Verbindung getrennt",error:"Fehler","persist-session":"Sitzung beibehalten",settings:"Einstellungen",close:"Schließen",help:"Hilfe",chat:"Chat",send:"Senden",copy:"Kopieren",copied:"Kopiert","sound-effects":"Soundeffekte",language:"Sprache",select:"Auswählen",agent:"Agent",user:"Benutzer",bot:"Bot","got-any-questions":"Haben Sie Fragen? Chatten Sie mit uns!","typical-response-time":"Üblicherweise antworten wir in weniger als 1 Minute","close-widget":"Widget schließen","session-closed-lead":"Ihr Problem wurde gelöst!","create-new-ticket":"Neues Ticket erstellen",exit:"Beenden","reset-conversation":"Konversation zurücksetzen","new-conversation":"Neue Konversation","welcome-title":"Willkommen in unserem Support-Chat","welcome-description":"Wir sind hier, um zu helfen! Beginnen Sie ein Gesprách und wir werden so schnell wie mogelijk antworten.","your-name":"Ihr Name","your-email":"Ihre E-Mail-Adresse","start-chat":"Mit dem Support sprechen","starting-chat":"Verbindung wird hergestellt...","hello-greeting":"Hallo! Wie können wir Ihnen heute helfen?","i-need-more-help":"Ich brauche weitere Hilfe","this-was-helpful":"Dies war hilfreich",optional:"Optional"},Ju={ok:"OK",yes:"Yes",no:"No",agree:"Agree",cancel:"Cancel","yes-exit":"Yes, exit","yes-reset":"Yes, reset","no-cancel":"No, cancel","are-you-sure":"Are you sure?",recording:"Recording...","thank-you":"Thank you","sorry-try-again":"Sorry, please try again","error-occurred":"An error occurred","please-try-again":"Please try again","write-a-message":"Write a message...","send-message":"Send message",connected:"Connected",connecting:"Connecting",reconnecting:"Reconnecting",reconnected:"Reconnected",disconnecting:"Disconnecting",disconnected:"Disconnected",error:"Error","persist-session":"Persist session",settings:"Settings",close:"Close",help:"Help",chat:"Chat",send:"Send",copy:"Copy",copied:"Copied","sound-effects":"Sound effects",language:"Language",select:"Select",agent:"Agent",user:"User",bot:"Bot","close-widget":"Close widget","got-any-questions":"Got any questions? Chat with us!","typical-response-time":"Typically respond in less than 1 minute","session-closed-lead":"Your issue has been resolved!","create-new-ticket":"Create new ticket",exit:"Exit","reset-conversation":"Reset conversation","new-conversation":"New conversation","welcome-title":"Welcome to our support chat","welcome-description":"We're here to help! Start a conversation and we'll get back to you as soon as possible.","your-name":"Your name","your-email":"Your email address","start-chat":"Talk to support","starting-chat":"Connecting...","hello-greeting":"Hi there!","i-need-more-help":"I need more help","this-was-helpful":"This was helpful",optional:"Optional"},Zu={ok:"D'accord",yes:"Oui",no:"Non",agree:"Accepter",cancel:"Annuler","yes-exit":"Oui, quitter","yes-reset":"Oui, réinitialiser","no-cancel":"Non, annuler","are-you-sure":"Êtes-vous sûr ?",recording:"Enregistrement...","thank-you":"Merci","sorry-try-again":"Désolé, veuillez réessayer","error-occurred":"Une erreur s'est produite","please-try-again":"Veuillez réessayer","write-a-message":"Écrivez un message...","send-message":"Envoyer le message",connected:"Connecté",connecting:"Connexion en cours",reconnecting:"Reconnexion en cours",reconnected:"Reconnecté",disconnecting:"Déconnexion en cours",disconnected:"Déconnecté",error:"Erreur","persist-session":"Conserver la session",settings:"Paramètres",close:"Fermer",help:"Aide",chat:"Chat",send:"Envoyer",copy:"Copier",copied:"Copié","sound-effects":"Effets sonores",language:"Langue",select:"Sélectionner",agent:"Agent",user:"Utilisateur",bot:"Bot","close-widget":"Fermer le widget","got-any-questions":"Vous avez des questions ? Chattez avec nous !","typical-response-time":"Nous répondons généralement en moins d'une minute","session-closed-lead":"Votre problème a été résolu !","create-new-ticket":"Créer un nouveau ticket",exit:"Sortie","reset-conversation":"Réinitialiser la conversation","new-conversation":"Nouvelle conversation","welcome-title":"Bienvenue dans notre chat de support","welcome-description":"Nous sommes là pour vous aider ! Commencez une conversation et nous vous répondrons dès que possible.","your-name":"Votre nom","your-email":"Votre adresse e-mail","start-chat":"Parler au support","starting-chat":"Connexion...","hello-greeting":"Bonjour ! Comment pouvons-nous vous aider aujourd'hui ?","i-need-more-help":"Je besoin d'aide plus","this-was-helpful":"C'était utile",optional:"Optionnel"},el={ok:"OK",yes:"Ja",no:"Nee",agree:"Akkoord",cancel:"Annuleren","yes-exit":"Ja, afsluiten","yes-reset":"Ja, resetten","no-cancel":"Nee, annuleren","are-you-sure":"Weet u het zeker?",recording:"Opname...","thank-you":"Dank u","sorry-try-again":"Sorry, probeer het opnieuw","error-occurred":"Er is een fout opgetreden","please-try-again":"Probeer het opnieuw","write-a-message":"Schrijf een bericht...","send-message":"Bericht verzenden",connected:"Verbonden",connecting:"Verbinding maken",reconnecting:"Opnieuw verbinding maken",reconnected:"Opnieuw verbonden",disconnecting:"Verbinding verbreken",disconnected:"Verbinding verbroken",error:"Fout","persist-session":"Sessie behouden",settings:"Instellingen",close:"Sluiten",help:"Help",chat:"Chat",send:"Verzenden",copy:"Kopiëren",copied:"Gekopieerd","sound-effects":"Geluidseffecten",language:"Taal",select:"Selecteren",agent:"Agent",user:"Gebruiker",bot:"Bot","close-widget":"Widget sluiten","got-any-questions":"Heeft u vragen? Chat met ons!","typical-response-time":"We reageren doorgaans binnen 1 minuut","session-closed-lead":"Uw probleem is opgelost!","create-new-ticket":"Nieuw ticket aanmaken",exit:"Afsluiten","reset-conversation":"Gesprek resetten","new-conversation":"Nieuw gesprek","welcome-title":"Welkom bij onze supportchat","welcome-description":"We zijn hier om te helpen! Begin een gesprek en we nemen zo snel mogelijk contact met u op.","your-name":"Uw naam","your-email":"Uw e-mailadres","start-chat":"Praat met ondersteuning","starting-chat":"Verbinding maken...","hello-greeting":"Hallo! Hoe kunnen we u vandaag helpen?","i-need-more-help":"Ik heb nog meer hulp nodig","this-was-helpful":"Mijn vraag is opgelost",optional:"Optioneel"},tl={ok:"OK",yes:"Sim",no:"Não",agree:"Concordo",cancel:"Cancelar","yes-exit":"Sim, sair","yes-reset":"Sim, redefinir","no-cancel":"Não, cancelar","are-you-sure":"Você tem certeza?",recording:"Gravando...","thank-you":"Obrigado","sorry-try-again":"Desculpe, tente novamente","error-occurred":"Ocorreu um erro","please-try-again":"Por favor, tente novamente","write-a-message":"Escreva uma mensagem...","send-message":"Enviar mensagem",connected:"Conectado",connecting:"Conectando",reconnecting:"Reconectando",reconnected:"Reconectado",disconnecting:"Desconectando",disconnected:"Desconectado",error:"Erro","persist-session":"Persistir sessão",settings:"Configurações",close:"Fechar",help:"Ajuda",chat:"Bate-papo",send:"Enviar",copy:"Copiar",copied:"Copiado","sound-effects":"Efeitos sonoros",language:"Idioma",select:"Selecionar",agent:"Agente",user:"Usuário",bot:"Bot","close-widget":"Fechar widget","got-any-questions":"Tem alguma dúvida? Converse conosco!","typical-response-time":"Geralmente respondemos em menos de 1 minuto","session-closed-lead":"Seu problema foi resolvido!","create-new-ticket":"Criar novo ticket",exit:"Sair","reset-conversation":"Redefinir conversa","new-conversation":"Nova conversa","welcome-title":"Bem-vindo ao nosso chat de suporte","welcome-description":"Estamos aqui para ajudar! Inicie uma conversa e responderemos o mais rápido possível.","your-name":"Seu nome","your-email":"Seu endereço de email","start-chat":"Falar com o suporte","starting-chat":"Conectando...","hello-greeting":"Olá! Como podemos ajudar você hoje?","i-need-more-help":"preciso de mais ajuda","this-was-helpful":"Isso foi útil",optional:"Opcional"},Fi={en:Ju,ar:Ku,nl:el,fr:Zu,de:$u,pt:tl},nl=Object.keys(Fi),rl=e=>nl.includes(e);function al(e,t){const n=Fi[t];return n&&n[e]||""}function St(){const{widgetCtx:{config:e}}=X.useWidget();return J.useMemo(()=>{const n=rl(e.language)?e.language:"en";return{get:r=>al(r,n),lang:n}},[e.language])}const il=10,sl=(e,t)=>({initial:{opacity:0,x:-e,...t.initial},animate:{opacity:1,x:0,...t.animate},exit:{opacity:0,x:e,...t.exit}}),ol=(e,t)=>({initial:{opacity:0,x:e,...t.initial},animate:{opacity:1,x:0,...t.animate},exit:{opacity:0,x:-e,...t.exit}}),ul=(e,t)=>({initial:{opacity:0,y:e,...t.initial},animate:{opacity:1,y:0,...t.animate},exit:{opacity:0,y:-e,...t.exit}}),ll=(e,t)=>({initial:{opacity:0,y:-e,...t.initial},animate:{opacity:1,y:0,...t.animate},exit:{opacity:0,y:e,...t.exit}}),cl={right:sl,left:ol,up:ul,down:ll},ue=J.forwardRef(({fadeIn:e="down",distance:t=il,children:n,snapExit:r=!1,overrides:a={},...i},s)=>{const u=e?cl[e](t,a):{};return r&&u.exit&&typeof u.exit=="object"&&!Array.isArray(u.exit)&&(u.exit.transition={duration:0}),m.jsx(ge.motion.div,{ref:s,...i,...u,children:n})});ue.displayName="MotionDiv";const la=e=>typeof e=="boolean"?"".concat(e):e===0?"0":e,ca=Ii.clsx,dl=(e,t)=>n=>{var r;if((t==null?void 0:t.variants)==null)return ca(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:a,defaultVariants:i}=t,s=Object.keys(a).map(c=>{const d=n==null?void 0:n[c],h=i==null?void 0:i[c];if(d===null)return null;const b=la(d)||la(h);return a[c][b]}),u=n&&Object.entries(n).reduce((c,d)=>{let[h,b]=d;return b===void 0||(c[h]=b),c},{}),l=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((c,d)=>{let{class:h,className:b,...p}=d;return Object.entries(p).every(E=>{let[y,C]=E;return Array.isArray(C)?C.includes({...i,...u}[y]):{...i,...u}[y]===C})?[...c,h,b]:c},[]);return ca(e,s,l,n==null?void 0:n.class,n==null?void 0:n.className)},da={x:2,y:2},hl={1:"scale-[1]","1.01":"scale-[1.01]","1.02":"scale-[1.02]","1.1":"scale-[1.1]"},rt=J.memo(J.forwardRef(({children:e,className:t,scale:n="1.02",off:r=!1},a)=>{const[i,s]=J.useState(!1),[u,l]=J.useState({x:0,y:0});if(r||/translate/.test(e.props.className||""))return e;const d=E=>{var j,G;const{clientX:y,clientY:C}=E,A=E.currentTarget.getBoundingClientRect(),O=y-(A.left+A.width/2),L=C-(A.top+A.height/2),P=Math.max(-1,Math.min(1,O/(A.width/2))),H=Math.max(-1,Math.min(1,L/(A.height/2))),I=P*da.x,F=H*da.y;l({x:I,y:F}),(G=(j=e.props).onMouseMove)==null||G.call(j,E)},h=()=>{var E,y;s(!0),(y=(E=e.props).onMouseEnter)==null||y.call(E)},b=()=>{var E,y;s(!1),l({x:0,y:0}),(y=(E=e.props).onMouseLeave)==null||y.call(E)},p={"--opencx-wobble-x":i?`${u.x}px`:"0px","--opencx-wobble-y":i?`${u.y}px`:"0px"};return J.cloneElement(e,{ref:a,onMouseMove:d,onMouseEnter:h,onMouseLeave:b,style:{...p,...e.props.style},className:V("translate-x-[var(--opencx-wobble-x)]","translate-y-[var(--opencx-wobble-y)]",`hover:${hl[n]}`,t,e.props.className,"transition-all ease-out")})}));rt.displayName="Wobble";const pl=dl(V("inline-flex shrink-0 items-center justify-center gap-2","text-sm font-medium whitespace-nowrap","ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2","disabled:pointer-events-none disabled:opacity-50","shadow-sm active:shadow-none active:scale-95 hover:active:scale-95","rounded-xl","border","transition"),{variants:{variant:{default:"border-primary bg-primary text-primary-foreground",destructive:"border-destructive bg-destructive text-destructive-foreground",outline:"bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground",ghost:"border-transparent shadow-none hover:bg-accent hover:text-accent-foreground",link:"border-transparent shadow-none text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-8 px-3 text-xs",lg:"min-h-12 px-4",icon:"h-10 w-10",fit:"size-fit p-2",free:"p-2"}},defaultVariants:{variant:"default",size:"default"}}),Le=xe.forwardRef(({className:e,variant:t,size:n,asChild:r=!1,...a},i)=>{const s=r?uu.Slot:"button";return m.jsx(rt,{ref:i,children:m.jsx(s,{className:V(pl({variant:t,size:n,className:e})),...a})})});Le.displayName="Button";const Sn=()=>{const[e,t]=J.useState("ltr");return J.useEffect(()=>{const n=()=>{typeof document>"u"||t(window.getComputedStyle(document.body).direction)};n();const r=new MutationObserver(n);return r.observe(document.documentElement,{attributes:!0,attributeFilter:["dir"]}),r.observe(document.body,{attributes:!0,attributeFilter:["dir"]}),window.addEventListener("languagechange",n),()=>{r.disconnect(),window.removeEventListener("languagechange",n)}},[]),e};function fl(){const{sendMessage:e}=X.useMessages(),t=St(),n=[t.get("i-need-more-help"),t.get("this-was-helpful")],r=a=>{const i=a.trim();i&&e({content:i})};return m.jsx("div",{className:"flex items-center gap-2 p-2 pb-0 flex-wrap",children:n.map(a=>m.jsx(Le,{onClick:()=>r(a),className:"flex-1 rounded-full",size:"sm",children:a},a))})}function ml({file:{status:e,file:t,error:n},onCancel:r}){const[a,i]=J.useState(null);J.useEffect(()=>{if(!t.type.startsWith("image/"))return;const l=new FileReader;return l.onload=()=>i(l.result),l.onerror=()=>console.error("Error reading file"),l.readAsDataURL(t),()=>l.abort()},[t]);const s=()=>{switch(e){case"uploading":return m.jsx(de.Loader2,{className:"size-4 animate-spin"});case"error":return m.jsx(de.AlertCircle,{className:"size-4 text-destructive"});default:return null}},u=()=>{const l=t.type.split("/")[0];return l==="image"&&a?m.jsx("img",{src:typeof a=="string"?a:"",className:"object-cover bg-secondary size-full",alt:t.name}):l==="audio"?m.jsx(de.FileAudio2Icon,{}):l==="video"?m.jsx(de.FileVideo2Icon,{}):m.jsx(de.FileIcon,{})};return m.jsx(Tn,{side:"bottom",content:e==="error"?m.jsxs("span",{className:"text-destructive",children:["Failed to upload: ",n]}):t.name,children:m.jsxs("div",{className:V(e==="uploading"&&"opacity-50","group","size-12 border rounded-2xl overflow-hidden relative","flex items-center justify-center shrink-0"),children:[m.jsx("div",{className:"absolute inset-0 flex items-center justify-center",children:s()}),m.jsx("button",{type:"button",className:V("absolute bg-black/50 inset-0 size-full z-10 opacity-0","flex items-center justify-center","opacity-0 group-hover:opacity-100 transition"),onClick:r,children:m.jsx(de.XIcon,{className:"size-4 text-primary-foreground"})}),m.jsx(u,{})]})})}const ha=V("rounded-3xl");function gl(){var I;const e=J.useRef(null),{sendMessage:t}=X.useMessages(),{sessionState:n}=X.useSessions(),r=St(),a=Sn(),[i,s]=J.useState(""),{allFiles:u,emptyTheFiles:l,handleCancelUpload:c,appendFiles:d,isUploading:h,successFiles:b}=X.useUploadFiles(),p=!!((I=n.session)!=null&&I.isHandedOff),{isAwaitingBotReply:E}=X.useIsAwaitingBotReply(),y=F=>{p&&d(F)},C=!i.trim()&&b.length===0,A=async()=>{if(E||C)return;h&&console.info("please wait for the file(s) to upload");const F=i.trim();t({content:F,attachments:b.flatMap(j=>j.fileUrl?[{url:j.fileUrl,type:j.file.type,name:j.file.name,id:j.id,size:j.file.size}]:[])}),s(""),l()},{getRootProps:O,getInputProps:L,open:P}=su.useDropzone({onDrop:y,noClick:!0,onDropRejected(){p&&console.error("unsupported file type, or the file is too large")},maxSize:5*1024*1024,accept:{"text/*":[".txt"],"image/*":[".png",".jpg",".jpeg",".gif"],"application/pdf":[".pdf"]}}),H=F=>{const j=F.clipboardData;j&&j.files.length>0&&y(Array.from(j.files))};return m.jsxs("div",{className:"p-2 relative space-y-1",...O(),children:[m.jsx("input",{...L()}),m.jsxs("div",{className:V(ha,"relative space-y-2 border transition-all shadow py-2"),children:[m.jsx("div",{className:"flex items-center gap-1 px-2",children:m.jsx(ge.AnimatePresence,{mode:"popLayout",children:u.map(F=>m.jsx(ue,{snapExit:!0,children:m.jsx(ml,{onCancel:()=>c(F.id),file:F})},F.id))})}),m.jsx("textarea",{onPaste:H,ref:e,id:"chat-input",dir:a,value:i,rows:3,className:V(ha,"w-full resize-none px-3","text-sm rtl:placeholder:text-right bg-transparent outline-none"),onChange:F=>s(F.target.value),onKeyDown:async F=>{F.key==="Enter"&&!F.shiftKey&&(F.preventDefault(),A())},placeholder:r.get("write-a-message")}),m.jsxs("div",{dir:a,className:"px-2 flex justify-between rtl:text-right",children:[m.jsx(Tn,{side:"top",align:"start",content:"attach files, (maximum size 5mb)",children:m.jsx(Le,{onClick:()=>{p&&P()},size:"fit",variant:"outline",className:V("disabled:opacity-0","rounded-full size-8 flex items-center justify-center p-0"),disabled:!p,children:m.jsx(de.PaperclipIcon,{className:"size-4"})})}),m.jsx(Tn,{content:"send message",side:"top",align:"end",children:m.jsx(Le,{size:"fit",onClick:A,disabled:E||h||C,className:"rounded-full size-8 flex items-center justify-center p-0",children:m.jsx(ge.AnimatePresence,{mode:"wait",children:E||h?m.jsx(ue,{snapExit:!0,children:m.jsx(de.CircleDashed,{className:"size-4 animate-spin animate-iteration-infinite"})},"loading"):m.jsx(ue,{snapExit:!0,children:m.jsx(de.SendHorizonal,{className:"size-4 rtl:-scale-100"})},"send")})})})]})]})]})}function bl(){const{widgetCtx:e}=X.useWidget(),t=St();return m.jsx("div",{className:"p-2",children:m.jsxs("div",{className:"p-2 bg-background rounded-3xl border shadow-2xl space-y-2",children:[m.jsxs("div",{className:"flex items-center gap-1",children:[m.jsx(de.CheckCheckIcon,{className:"size-4 text-emerald-500"}),m.jsx("h2",{className:"text-sm font-medium",dir:"auto",children:t.get("session-closed-lead")})]}),m.jsx("div",{children:m.jsx(Le,{onClick:e.resetChat,className:"rounded-2xl w-full",children:t.get("new-conversation")})})]})})}function El(){var s,u,l;const{sessionState:e}=X.useSessions(),{messagesState:t,sendMessage:n}=X.useMessages(),a=(u=(s=X.usePreludeData().data)==null?void 0:s.data)==null?void 0:u.initialQuestions,i=t.messages.length===0;return m.jsx("footer",{children:m.jsx("div",{children:m.jsx(ge.AnimatePresence,{mode:"wait",children:e.session&&!((l=e.session)!=null&&l.isOpened)?m.jsx(ue,{className:"overflow-hidden",overrides:{initial:{height:0},animate:{height:"auto"},exit:{height:0}},children:m.jsx(bl,{})},"session-closed"):m.jsxs(ue,{className:"overflow-hidden",overrides:{initial:{height:0},animate:{height:"auto"},exit:{height:0}},children:[t.lastAIResMightSolveUserIssue&&m.jsx(fl,{}),i&&a&&m.jsx("div",{className:"flex items-center flex-row justify-end gap-2 flex-wrap px-2",children:a==null?void 0:a.map(c=>m.jsx(Le,{dir:"auto",variant:"outline",size:"sm",onClick:()=>{n({content:c})},children:c},c))}),m.jsx(gl,{})]},"chat-input")})})})}const xl=pe.Root,wl=pe.Trigger,Tl=pe.Group,yl=xe.forwardRef(({className:e,inset:t,children:n,...r},a)=>m.jsxs(pe.SubTrigger,{ref:a,className:V("flex cursor-default gap-2 select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",t&&"pl-8",e),...r,children:[n,m.jsx(de.ChevronRight,{className:"ml-auto"})]}));yl.displayName=pe.SubTrigger.displayName;const _l=xe.forwardRef(({className:e,...t},n)=>m.jsx(pe.SubContent,{ref:n,className:V("z-50 min-w-[8rem] overflow-hidden rounded-2xl border bg-background p-1 text-foreground shadow-2xl data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...t}));_l.displayName=pe.SubContent.displayName;const Hi=xe.forwardRef(({className:e,sideOffset:t=4,...n},r)=>m.jsx(pe.Content,{ref:r,sideOffset:t,className:V("z-50 min-w-[8rem] overflow-hidden rounded-2xl border bg-background p-1 text-foreground shadow-2xl","data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...n}));Hi.displayName=pe.Content.displayName;const Ui=xe.forwardRef(({className:e,inset:t,...n},r)=>m.jsx(ue,{children:m.jsx(pe.Item,{ref:r,className:V("relative flex cursor-default select-none items-center gap-2 rounded-xl px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:size-4 [&_svg]:shrink-0",t&&"pl-8",e),...n})}));Ui.displayName=pe.Item.displayName;const Al=xe.forwardRef(({className:e,children:t,checked:n,...r},a)=>m.jsxs(pe.CheckboxItem,{ref:a,className:V("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),checked:n,...r,children:[m.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:m.jsx(pe.ItemIndicator,{children:m.jsx(de.Check,{className:"h-4 w-4"})})}),t]}));Al.displayName=pe.CheckboxItem.displayName;const Cl=xe.forwardRef(({className:e,children:t,...n},r)=>m.jsxs(pe.RadioItem,{ref:r,className:V("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...n,children:[m.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:m.jsx(pe.ItemIndicator,{children:m.jsx(de.Circle,{className:"h-2 w-2 fill-current"})})}),t]}));Cl.displayName=pe.RadioItem.displayName;const kl=xe.forwardRef(({className:e,inset:t,...n},r)=>m.jsx(pe.Label,{ref:r,className:V("px-2 py-1.5 text-sm font-semibold",t&&"pl-8",e),...n}));kl.displayName=pe.Label.displayName;const Nl=xe.forwardRef(({className:e,...t},n)=>m.jsx(pe.Separator,{ref:n,className:V("-mx-1 my-1 h-px bg-muted",e),...t}));Nl.displayName=pe.Separator.displayName;function zi({className:e,...t}){return m.jsx("div",{className:V("animate-pulse rounded-md bg-secondary",e),...t})}function Il(){const e=St(),[t,n]=J.useState(!1),{toChatScreen:r}=X.useWidgetRouter();return m.jsxs(xl,{open:t,onOpenChange:n,children:[m.jsx(wl,{asChild:!0,children:m.jsx(Le,{variant:"ghost",size:"fit",className:"rounded-full",children:m.jsx(de.EllipsisVerticalIcon,{className:"size-4"})})}),m.jsx(Hi,{align:"end",className:"min-w-56",children:m.jsx(Tl,{children:m.jsxs(Ui,{onSelect:()=>{n(!1),r()},children:[m.jsx(ge.motion.div,{initial:{opacity:0,x:-4,rotate:360},animate:{opacity:1,x:0,rotate:0},children:m.jsx(de.MessageCirclePlusIcon,{})}),e.get("new-conversation")]})})})]})}function ji(){var i,s;const{routerState:{screen:e},toSessionsScreen:t}=X.useWidgetRouter(),{data:n,isLoading:r}=X.usePreludeData(),a=Sn();return m.jsx("header",{className:"p-2 border-b bg-background",children:m.jsxs("div",{dir:a,className:"flex items-center rtl:flex-row-reverse gap-2",children:[e==="chat"&&m.jsx(Le,{variant:"ghost",size:"fit",className:"rounded-full",onClick:t,children:m.jsx(de.ChevronLeftIcon,{className:"size-4"})}),m.jsx("div",{className:V("flex-1",e==="sessions"&&"pl-2"),children:m.jsx(ge.AnimatePresence,{mode:"wait",children:r||!((i=n==null?void 0:n.data)!=null&&i.organizationName)?m.jsx(ue,{snapExit:!0,children:m.jsx(zi,{className:"h-5 w-1/2"})},"skeleton"):m.jsx(ue,{children:m.jsx("h2",{className:"font-semibold",children:(s=n==null?void 0:n.data)==null?void 0:s.organizationName})},"organization-name")})}),m.jsx(Il,{})]})})}function Sl(e){const t=[];let n=null;return e.forEach(r=>{var a,i,s,u;(!n||((a=n[0])==null?void 0:a.type)!==r.type)&&(n=[],t.push(n)),((i=n[0])==null?void 0:i.type)==="FROM_AGENT"&&r.type==="FROM_AGENT"&&((s=r.agent)==null?void 0:s.id)!==((u=n[0].agent)==null?void 0:u.id)&&(n=[],t.push(n)),n.push(r)}),t}function Ol(e){var t;return((t=e==null?void 0:e[0])==null?void 0:t.type)==="FROM_USER"}function Ll(e){var t;return((t=e==null?void 0:e[0])==null?void 0:t.type)==="FROM_BOT"}function Rl(e){var t;return((t=e==null?void 0:e[0])==null?void 0:t.type)==="FROM_AGENT"}function pa(e,t){const n=String(e);if(typeof t!="string")throw new TypeError("Expected character");let r=0,a=n.indexOf(t);for(;a!==-1;)r++,a=n.indexOf(t,a+t.length);return r}const ke=it(/[A-Za-z]/),Te=it(/[\dA-Za-z]/),Dl=it(/[#-'*+\--9=?A-Z^-~]/);function yn(e){return e!==null&&(e<32||e===127)}const fr=it(/\d/),vl=it(/[\dA-Fa-f]/),Pl=it(/[!-/:-@[-`{-~]/);function z(e){return e!==null&&e<-2}function ae(e){return e!==null&&(e<0||e===32)}function K(e){return e===-2||e===-1||e===32}const On=it(new RegExp("\\p{P}|\\p{S}","u")),pt=it(/\s/);function it(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}function Ml(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}const Ln=function(e){if(e==null)return Ul;if(typeof e=="function")return Rn(e);if(typeof e=="object")return Array.isArray(e)?Bl(e):Fl(e);if(typeof e=="string")return Hl(e);throw new Error("Expected function, string, or object as test")};function Bl(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=Ln(e[n]);return Rn(r);function r(...a){let i=-1;for(;++i<t.length;)if(t[i].apply(this,a))return!0;return!1}}function Fl(e){const t=e;return Rn(n);function n(r){const a=r;let i;for(i in e)if(a[i]!==t[i])return!1;return!0}}function Hl(e){return Rn(t);function t(n){return n&&n.type===e}}function Rn(e){return t;function t(n,r,a){return!!(zl(n)&&e.call(this,n,typeof r=="number"?r:void 0,a||void 0))}}function Ul(){return!0}function zl(e){return e!==null&&typeof e=="object"&&"type"in e}const Yi=[],jl=!0,mr=!1,Yl="skip";function qi(e,t,n,r){let a;typeof t=="function"&&typeof n!="function"?(r=n,n=t):a=t;const i=Ln(a),s=r?-1:1;u(e,void 0,[])();function u(l,c,d){const h=l&&typeof l=="object"?l:{};if(typeof h.type=="string"){const p=typeof h.tagName=="string"?h.tagName:typeof h.name=="string"?h.name:void 0;Object.defineProperty(b,"name",{value:"node ("+(l.type+(p?"<"+p+">":""))+")"})}return b;function b(){let p=Yi,E,y,C;if((!t||i(l,c,d[d.length-1]||void 0))&&(p=ql(n(l,d)),p[0]===mr))return p;if("children"in l&&l.children){const A=l;if(A.children&&p[0]!==Yl)for(y=(r?A.children.length:-1)+s,C=d.concat(A);y>-1&&y<A.children.length;){const O=A.children[y];if(E=u(O,y,C)(),E[0]===mr)return E;y=typeof E[1]=="number"?E[1]:y+s}}return p}}}function ql(e){return Array.isArray(e)?e:typeof e=="number"?[jl,e]:e==null?Yi:[e]}function Wl(e,t,n){const a=Ln((n||{}).ignore||[]),i=Vl(t);let s=-1;for(;++s<i.length;)qi(e,"text",u);function u(c,d){let h=-1,b;for(;++h<d.length;){const p=d[h],E=b?b.children:void 0;if(a(p,E?E.indexOf(p):void 0,b))return;b=p}if(b)return l(c,d)}function l(c,d){const h=d[d.length-1],b=i[s][0],p=i[s][1];let E=0;const C=h.children.indexOf(c);let A=!1,O=[];b.lastIndex=0;let L=b.exec(c.value);for(;L;){const P=L.index,H={index:L.index,input:L.input,stack:[...d,c]};let I=p(...L,H);if(typeof I=="string"&&(I=I.length>0?{type:"text",value:I}:void 0),I===!1?b.lastIndex=P+1:(E!==P&&O.push({type:"text",value:c.value.slice(E,P)}),Array.isArray(I)?O.push(...I):I&&O.push(I),E=P+L[0].length,A=!0),!b.global)break;L=b.exec(c.value)}return A?(E<c.value.length&&O.push({type:"text",value:c.value.slice(E)}),h.children.splice(C,1,...O)):O=[c],C+O.length}}function Vl(e){const t=[];if(!Array.isArray(e))throw new TypeError("Expected find and replace tuple or list of tuples");const n=!e[0]||Array.isArray(e[0])?e:[e];let r=-1;for(;++r<n.length;){const a=n[r];t.push([Gl(a[0]),Ql(a[1])])}return t}function Gl(e){return typeof e=="string"?new RegExp(Ml(e),"g"):e}function Ql(e){return typeof e=="function"?e:function(){return e}}const Gn="phrasing",Qn=["autolink","link","image","label"];function Xl(){return{transforms:[nc],enter:{literalAutolink:$l,literalAutolinkEmail:Xn,literalAutolinkHttp:Xn,literalAutolinkWww:Xn},exit:{literalAutolink:tc,literalAutolinkEmail:ec,literalAutolinkHttp:Jl,literalAutolinkWww:Zl}}}function Kl(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:Gn,notInConstruct:Qn},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:Gn,notInConstruct:Qn},{character:":",before:"[ps]",after:"\\/",inConstruct:Gn,notInConstruct:Qn}]}}function $l(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function Xn(e){this.config.enter.autolinkProtocol.call(this,e)}function Jl(e){this.config.exit.autolinkProtocol.call(this,e)}function Zl(e){this.config.exit.data.call(this,e);const t=this.stack[this.stack.length-1];t.type,t.url="http://"+this.sliceSerialize(e)}function ec(e){this.config.exit.autolinkEmail.call(this,e)}function tc(e){this.exit(e)}function nc(e){Wl(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,rc],[new RegExp("(?<=^|\\s|\\p{P}|\\p{S})([-.\\w+]+)@([-\\w]+(?:\\.[-\\w]+)+)","gu"),ac]],{ignore:["link","linkReference"]})}function rc(e,t,n,r,a){let i="";if(!Wi(a)||(/^w/i.test(t)&&(n=t+n,t="",i="http://"),!ic(n)))return!1;const s=sc(n+r);if(!s[0])return!1;const u={type:"link",title:null,url:i+t+s[0],children:[{type:"text",value:t+s[0]}]};return s[1]?[u,{type:"text",value:s[1]}]:u}function ac(e,t,n,r){return!Wi(r,!0)||/[-\d_]$/.test(n)?!1:{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function ic(e){const t=e.split(".");return!(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))}function sc(e){const t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(")");const a=pa(e,"(");let i=pa(e,")");for(;r!==-1&&a>i;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(")"),i++;return[e,n]}function Wi(e,t){const n=e.input.charCodeAt(e.index-1);return(e.index===0||pt(n)||On(n))&&(!t||n!==47)}function Fe(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}Vi.peek=bc;function oc(){return{enter:{gfmFootnoteDefinition:lc,gfmFootnoteDefinitionLabelString:cc,gfmFootnoteCall:pc,gfmFootnoteCallString:fc},exit:{gfmFootnoteDefinition:hc,gfmFootnoteDefinitionLabelString:dc,gfmFootnoteCall:gc,gfmFootnoteCallString:mc}}}function uc(){return{unsafe:[{character:"[",inConstruct:["phrasing","label","reference"]}],handlers:{footnoteDefinition:Ec,footnoteReference:Vi}}}function lc(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function cc(){this.buffer()}function dc(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.label=t,n.identifier=Fe(this.sliceSerialize(e)).toLowerCase()}function hc(e){this.exit(e)}function pc(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function fc(){this.buffer()}function mc(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.label=t,n.identifier=Fe(this.sliceSerialize(e)).toLowerCase()}function gc(e){this.exit(e)}function Vi(e,t,n,r){const a=n.createTracker(r);let i=a.move("[^");const s=n.enter("footnoteReference"),u=n.enter("reference");return i+=a.move(n.safe(n.associationId(e),{...a.current(),before:i,after:"]"})),u(),s(),i+=a.move("]"),i}function bc(){return"["}function Ec(e,t,n,r){const a=n.createTracker(r);let i=a.move("[^");const s=n.enter("footnoteDefinition"),u=n.enter("label");return i+=a.move(n.safe(n.associationId(e),{...a.current(),before:i,after:"]"})),u(),i+=a.move("]:"+(e.children&&e.children.length>0?" ":"")),a.shift(4),i+=a.move(n.indentLines(n.containerFlow(e,a.current()),xc)),s(),i}function xc(e,t,n){return t===0?e:(n?"":" ")+e}const wc=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];Gi.peek=Cc;function Tc(){return{canContainEols:["delete"],enter:{strikethrough:_c},exit:{strikethrough:Ac}}}function yc(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:wc}],handlers:{delete:Gi}}}function _c(e){this.enter({type:"delete",children:[]},e)}function Ac(e){this.exit(e)}function Gi(e,t,n,r){const a=n.createTracker(r),i=n.enter("strikethrough");let s=a.move("~~");return s+=n.containerPhrasing(e,{...a.current(),before:s,after:"~"}),s+=a.move("~~"),i(),s}function Cc(){return"~"}function kc(e,t={}){const n=(t.align||[]).concat(),r=t.stringLength||Ic,a=[],i=[],s=[],u=[];let l=0,c=-1;for(;++c<e.length;){const E=[],y=[];let C=-1;for(e[c].length>l&&(l=e[c].length);++C<e[c].length;){const A=Nc(e[c][C]);if(t.alignDelimiters!==!1){const O=r(A);y[C]=O,(u[C]===void 0||O>u[C])&&(u[C]=O)}E.push(A)}i[c]=E,s[c]=y}let d=-1;if(typeof n=="object"&&"length"in n)for(;++d<l;)a[d]=fa(n[d]);else{const E=fa(n);for(;++d<l;)a[d]=E}d=-1;const h=[],b=[];for(;++d<l;){const E=a[d];let y="",C="";E===99?(y=":",C=":"):E===108?y=":":E===114&&(C=":");let A=t.alignDelimiters===!1?1:Math.max(1,u[d]-y.length-C.length);const O=y+"-".repeat(A)+C;t.alignDelimiters!==!1&&(A=y.length+A+C.length,A>u[d]&&(u[d]=A),b[d]=A),h[d]=O}i.splice(1,0,h),s.splice(1,0,b),c=-1;const p=[];for(;++c<i.length;){const E=i[c],y=s[c];d=-1;const C=[];for(;++d<l;){const A=E[d]||"";let O="",L="";if(t.alignDelimiters!==!1){const P=u[d]-(y[d]||0),H=a[d];H===114?O=" ".repeat(P):H===99?P%2?(O=" ".repeat(P/2+.5),L=" ".repeat(P/2-.5)):(O=" ".repeat(P/2),L=O):L=" ".repeat(P)}t.delimiterStart!==!1&&!d&&C.push("|"),t.padding!==!1&&!(t.alignDelimiters===!1&&A==="")&&(t.delimiterStart!==!1||d)&&C.push(" "),t.alignDelimiters!==!1&&C.push(O),C.push(A),t.alignDelimiters!==!1&&C.push(L),t.padding!==!1&&C.push(" "),(t.delimiterEnd!==!1||d!==l-1)&&C.push("|")}p.push(t.delimiterEnd===!1?C.join("").replace(/ +$/,""):C.join(""))}return p.join(`
2
+ `)}function Nc(e){return e==null?"":String(e)}function Ic(e){return e.length}function fa(e){const t=typeof e=="string"?e.codePointAt(0):0;return t===67||t===99?99:t===76||t===108?108:t===82||t===114?114:0}const ma={}.hasOwnProperty;function Qi(e,t){const n=t||{};function r(a,...i){let s=r.invalid;const u=r.handlers;if(a&&ma.call(a,e)){const l=String(a[e]);s=ma.call(u,l)?u[l]:r.unknown}if(s)return s.call(this,a,...i)}return r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}function Sc(e,t,n,r){const a=n.enter("blockquote"),i=n.createTracker(r);i.move("> "),i.shift(2);const s=n.indentLines(n.containerFlow(e,i.current()),Oc);return a(),s}function Oc(e,t,n){return">"+(n?"":" ")+e}function Lc(e,t){return ga(e,t.inConstruct,!0)&&!ga(e,t.notInConstruct,!1)}function ga(e,t,n){if(typeof t=="string"&&(t=[t]),!t||t.length===0)return n;let r=-1;for(;++r<t.length;)if(e.includes(t[r]))return!0;return!1}function ba(e,t,n,r){let a=-1;for(;++a<n.unsafe.length;)if(n.unsafe[a].character===`
3
+ `&&Lc(n.stack,n.unsafe[a]))return/[ \t]/.test(r.before)?"":" ";return`\\
4
+ `}function Rc(e,t){const n=String(e);let r=n.indexOf(t),a=r,i=0,s=0;if(typeof t!="string")throw new TypeError("Expected substring");for(;r!==-1;)r===a?++i>s&&(s=i):i=1,a=r+t.length,r=n.indexOf(t,a);return s}function Dc(e,t){return!!(t.options.fences===!1&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value))}function vc(e){const t=e.options.fence||"`";if(t!=="`"&&t!=="~")throw new Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}function Pc(e,t,n,r){const a=vc(n),i=e.value||"",s=a==="`"?"GraveAccent":"Tilde";if(Dc(e,n)){const h=n.enter("codeIndented"),b=n.indentLines(i,Mc);return h(),b}const u=n.createTracker(r),l=a.repeat(Math.max(Rc(i,a)+1,3)),c=n.enter("codeFenced");let d=u.move(l);if(e.lang){const h=n.enter(`codeFencedLang${s}`);d+=u.move(n.safe(e.lang,{before:d,after:" ",encode:["`"],...u.current()})),h()}if(e.lang&&e.meta){const h=n.enter(`codeFencedMeta${s}`);d+=u.move(" "),d+=u.move(n.safe(e.meta,{before:d,after:`
5
+ `,encode:["`"],...u.current()})),h()}return d+=u.move(`
6
+ `),i&&(d+=u.move(i+`
7
+ `)),d+=u.move(l),c(),d}function Mc(e,t,n){return(n?"":" ")+e}function vr(e){const t=e.options.quote||'"';if(t!=='"'&&t!=="'")throw new Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}function Bc(e,t,n,r){const a=vr(n),i=a==='"'?"Quote":"Apostrophe",s=n.enter("definition");let u=n.enter("label");const l=n.createTracker(r);let c=l.move("[");return c+=l.move(n.safe(n.associationId(e),{before:c,after:"]",...l.current()})),c+=l.move("]: "),u(),!e.url||/[\0- \u007F]/.test(e.url)?(u=n.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(n.safe(e.url,{before:c,after:">",...l.current()})),c+=l.move(">")):(u=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":`
8
+ `,...l.current()}))),u(),e.title&&(u=n.enter(`title${i}`),c+=l.move(" "+a),c+=l.move(n.safe(e.title,{before:c,after:a,...l.current()})),c+=l.move(a),u()),s(),c}function Fc(e){const t=e.options.emphasis||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`");return t}Xi.peek=Hc;function Xi(e,t,n,r){const a=Fc(n),i=n.enter("emphasis"),s=n.createTracker(r);let u=s.move(a);return u+=s.move(n.containerPhrasing(e,{before:u,after:a,...s.current()})),u+=s.move(a),i(),u}function Hc(e,t,n){return n.options.emphasis||"*"}function Dn(e,t,n,r){let a,i,s;typeof t=="function"&&typeof n!="function"?(i=void 0,s=t,a=n):(i=t,s=n,a=r),qi(e,i,u,a);function u(l,c){const d=c[c.length-1],h=d?d.children.indexOf(l):void 0;return s(l,h,d)}}const Uc={};function Pr(e,t){const n=Uc,r=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,a=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return Ki(e,r,a)}function Ki(e,t,n){if(zc(e)){if("value"in e)return e.type==="html"&&!n?"":e.value;if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return Ea(e.children,t,n)}return Array.isArray(e)?Ea(e,t,n):""}function Ea(e,t,n){const r=[];let a=-1;for(;++a<e.length;)r[a]=Ki(e[a],t,n);return r.join("")}function zc(e){return!!(e&&typeof e=="object")}function jc(e,t){let n=!1;return Dn(e,function(r){if("value"in r&&/\r?\n|\r/.test(r.value)||r.type==="break")return n=!0,mr}),!!((!e.depth||e.depth<3)&&Pr(e)&&(t.options.setext||n))}function Yc(e,t,n,r){const a=Math.max(Math.min(6,e.depth||1),1),i=n.createTracker(r);if(jc(e,n)){const d=n.enter("headingSetext"),h=n.enter("phrasing"),b=n.containerPhrasing(e,{...i.current(),before:`
9
9
  `,after:`
10
- `});return S(),C(),R+`
11
- `+(f===1?"=":"-").repeat(R.length-(Math.max(R.lastIndexOf("\r"),R.lastIndexOf(`
12
- `))+1))}const d="#".repeat(f),g=a.enter("headingAtx"),E=a.enter("phrasing");h.move(d+" ");let b=a.containerPhrasing(e,{before:"# ",after:`
13
- `,...h.current()});return/^[\t ]/.test(b)&&(b="&#x"+b.charCodeAt(0).toString(16).toUpperCase()+";"+b.slice(1)),b=b?d+" "+b:d,a.options.closeAtx&&(b+=" "+d),E(),g(),b}gA.peek=NM;function gA(e){return e.value||""}function NM(){return"<"}vA.peek=DM;function vA(e,n,a,s){const f=jw(a),h=f==='"'?"Quote":"Apostrophe",d=a.enter("image");let g=a.enter("label");const E=a.createTracker(s);let b=E.move("![");return b+=E.move(a.safe(e.alt,{before:b,after:"]",...E.current()})),b+=E.move("]("),g(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(g=a.enter("destinationLiteral"),b+=E.move("<"),b+=E.move(a.safe(e.url,{before:b,after:">",...E.current()})),b+=E.move(">")):(g=a.enter("destinationRaw"),b+=E.move(a.safe(e.url,{before:b,after:e.title?" ":")",...E.current()}))),g(),e.title&&(g=a.enter(`title${h}`),b+=E.move(" "+f),b+=E.move(a.safe(e.title,{before:b,after:f,...E.current()})),b+=E.move(f),g()),b+=E.move(")"),d(),b}function DM(){return"!"}yA.peek=OM;function yA(e,n,a,s){const f=e.referenceType,h=a.enter("imageReference");let d=a.enter("label");const g=a.createTracker(s);let E=g.move("![");const b=a.safe(e.alt,{before:E,after:"]",...g.current()});E+=g.move(b+"]["),d();const C=a.stack;a.stack=[],d=a.enter("reference");const S=a.safe(a.associationId(e),{before:E,after:"]",...g.current()});return d(),a.stack=C,h(),f==="full"||!b||b!==S?E+=g.move(S+"]"):f==="shortcut"?E=E.slice(0,-1):E+=g.move("]"),E}function OM(){return"!"}EA.peek=LM;function EA(e,n,a){let s=e.value||"",f="`",h=-1;for(;new RegExp("(^|[^`])"+f+"([^`]|$)").test(s);)f+="`";for(/[^ \r\n]/.test(s)&&(/^[ \r\n]/.test(s)&&/[ \r\n]$/.test(s)||/^`|`$/.test(s))&&(s=" "+s+" ");++h<a.unsafe.length;){const d=a.unsafe[h],g=a.compilePattern(d);let E;if(d.atBreak)for(;E=g.exec(s);){let b=E.index;s.charCodeAt(b)===10&&s.charCodeAt(b-1)===13&&b--,s=s.slice(0,b)+" "+s.slice(E.index+1)}}return f+s+f}function LM(){return"`"}function bA(e,n){const a=Vw(e);return!!(!n.options.resourceLink&&e.url&&!e.title&&e.children&&e.children.length===1&&e.children[0].type==="text"&&(a===e.url||"mailto:"+a===e.url)&&/^[a-z][a-z+.-]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))}xA.peek=IM;function xA(e,n,a,s){const f=jw(a),h=f==='"'?"Quote":"Apostrophe",d=a.createTracker(s);let g,E;if(bA(e,a)){const C=a.stack;a.stack=[],g=a.enter("autolink");let S=d.move("<");return S+=d.move(a.containerPhrasing(e,{before:S,after:">",...d.current()})),S+=d.move(">"),g(),a.stack=C,S}g=a.enter("link"),E=a.enter("label");let b=d.move("[");return b+=d.move(a.containerPhrasing(e,{before:b,after:"](",...d.current()})),b+=d.move("]("),E(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(E=a.enter("destinationLiteral"),b+=d.move("<"),b+=d.move(a.safe(e.url,{before:b,after:">",...d.current()})),b+=d.move(">")):(E=a.enter("destinationRaw"),b+=d.move(a.safe(e.url,{before:b,after:e.title?" ":")",...d.current()}))),E(),e.title&&(E=a.enter(`title${h}`),b+=d.move(" "+f),b+=d.move(a.safe(e.title,{before:b,after:f,...d.current()})),b+=d.move(f),E()),b+=d.move(")"),g(),b}function IM(e,n,a){return bA(e,a)?"<":"["}wA.peek=MM;function wA(e,n,a,s){const f=e.referenceType,h=a.enter("linkReference");let d=a.enter("label");const g=a.createTracker(s);let E=g.move("[");const b=a.containerPhrasing(e,{before:E,after:"]",...g.current()});E+=g.move(b+"]["),d();const C=a.stack;a.stack=[],d=a.enter("reference");const S=a.safe(a.associationId(e),{before:E,after:"]",...g.current()});return d(),a.stack=C,h(),f==="full"||!b||b!==S?E+=g.move(S+"]"):f==="shortcut"?E=E.slice(0,-1):E+=g.move("]"),E}function MM(){return"["}function Yw(e){const n=e.options.bullet||"*";if(n!=="*"&&n!=="+"&&n!=="-")throw new Error("Cannot serialize items with `"+n+"` for `options.bullet`, expected `*`, `+`, or `-`");return n}function PM(e){const n=Yw(e),a=e.options.bulletOther;if(!a)return n==="*"?"-":"*";if(a!=="*"&&a!=="+"&&a!=="-")throw new Error("Cannot serialize items with `"+a+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(a===n)throw new Error("Expected `bullet` (`"+n+"`) and `bulletOther` (`"+a+"`) to be different");return a}function FM(e){const n=e.options.bulletOrdered||".";if(n!=="."&&n!==")")throw new Error("Cannot serialize items with `"+n+"` for `options.bulletOrdered`, expected `.` or `)`");return n}function TA(e){const n=e.options.rule||"*";if(n!=="*"&&n!=="-"&&n!=="_")throw new Error("Cannot serialize rules with `"+n+"` for `options.rule`, expected `*`, `-`, or `_`");return n}function UM(e,n,a,s){const f=a.enter("list"),h=a.bulletCurrent;let d=e.ordered?FM(a):Yw(a);const g=e.ordered?d==="."?")":".":PM(a);let E=n&&a.bulletLastUsed?d===a.bulletLastUsed:!1;if(!e.ordered){const C=e.children?e.children[0]:void 0;if((d==="*"||d==="-")&&C&&(!C.children||!C.children[0])&&a.stack[a.stack.length-1]==="list"&&a.stack[a.stack.length-2]==="listItem"&&a.stack[a.stack.length-3]==="list"&&a.stack[a.stack.length-4]==="listItem"&&a.indexStack[a.indexStack.length-1]===0&&a.indexStack[a.indexStack.length-2]===0&&a.indexStack[a.indexStack.length-3]===0&&(E=!0),TA(a)===d&&C){let S=-1;for(;++S<e.children.length;){const R=e.children[S];if(R&&R.type==="listItem"&&R.children&&R.children[0]&&R.children[0].type==="thematicBreak"){E=!0;break}}}}E&&(d=g),a.bulletCurrent=d;const b=a.containerFlow(e,s);return a.bulletLastUsed=d,a.bulletCurrent=h,f(),b}function BM(e){const n=e.options.listItemIndent||"one";if(n!=="tab"&&n!=="one"&&n!=="mixed")throw new Error("Cannot serialize items with `"+n+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return n}function HM(e,n,a,s){const f=BM(a);let h=a.bulletCurrent||Yw(a);n&&n.type==="list"&&n.ordered&&(h=(typeof n.start=="number"&&n.start>-1?n.start:1)+(a.options.incrementListMarker===!1?0:n.children.indexOf(e))+h);let d=h.length+1;(f==="tab"||f==="mixed"&&(n&&n.type==="list"&&n.spread||e.spread))&&(d=Math.ceil(d/4)*4);const g=a.createTracker(s);g.move(h+" ".repeat(d-h.length)),g.shift(d);const E=a.enter("listItem"),b=a.indentLines(a.containerFlow(e,g.current()),C);return E(),b;function C(S,R,k){return R?(k?"":" ".repeat(d))+S:(k?h:h+" ".repeat(d-h.length))+S}}function zM(e,n,a,s){const f=a.enter("paragraph"),h=a.enter("phrasing"),d=a.containerPhrasing(e,s);return h(),f(),d}const jM=z1(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function VM(e,n,a,s){return(e.children.some(function(d){return jM(d)})?a.containerPhrasing:a.containerFlow).call(a,e,s)}function YM(e){const n=e.options.strong||"*";if(n!=="*"&&n!=="_")throw new Error("Cannot serialize strong with `"+n+"` for `options.strong`, expected `*`, or `_`");return n}SA.peek=WM;function SA(e,n,a,s){const f=YM(a),h=a.enter("strong"),d=a.createTracker(s);let g=d.move(f+f);return g+=d.move(a.containerPhrasing(e,{before:g,after:f,...d.current()})),g+=d.move(f+f),h(),g}function WM(e,n,a){return a.options.strong||"*"}function qM(e,n,a,s){return a.safe(e.value,s)}function QM(e){const n=e.options.ruleRepetition||3;if(n<3)throw new Error("Cannot serialize rules with repetition `"+n+"` for `options.ruleRepetition`, expected `3` or more");return n}function GM(e,n,a){const s=(TA(a)+(a.options.ruleSpaces?" ":"")).repeat(QM(a));return a.options.ruleSpaces?s.slice(0,-1):s}const CA={blockquote:mM,break:d_,code:xM,definition:TM,emphasis:hA,hardBreak:d_,heading:RM,html:gA,image:vA,imageReference:yA,inlineCode:EA,link:xA,linkReference:wA,list:UM,listItem:HM,paragraph:zM,root:VM,strong:SA,text:qM,thematicBreak:GM},p_=document.createElement("i");function Ww(e){const n="&"+e+";";p_.innerHTML=n;const a=p_.textContent;return a.charCodeAt(a.length-1)===59&&e!=="semi"||a===n?!1:a}function _A(e,n){const a=Number.parseInt(e,n);return a<9||a===11||a>13&&a<32||a>126&&a<160||a>55295&&a<57344||a>64975&&a<65008||(a&65535)===65535||(a&65535)===65534||a>1114111?"�":String.fromCodePoint(a)}const $M=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function XM(e){return e.replace($M,KM)}function KM(e,n,a){if(n)return n;if(a.charCodeAt(0)===35){const f=a.charCodeAt(1),h=f===120||f===88;return _A(a.slice(h?2:1),h?16:10)}return Ww(a)||e}function JM(){return{enter:{table:ZM,tableData:h_,tableHeader:h_,tableRow:t8},exit:{codeText:n8,table:e8,tableData:zx,tableHeader:zx,tableRow:zx}}}function ZM(e){const n=e._align;this.enter({type:"table",align:n.map(function(a){return a==="none"?null:a}),children:[]},e),this.data.inTable=!0}function e8(e){this.exit(e),this.data.inTable=void 0}function t8(e){this.enter({type:"tableRow",children:[]},e)}function zx(e){this.exit(e)}function h_(e){this.enter({type:"tableCell",children:[]},e)}function n8(e){let n=this.resume();this.data.inTable&&(n=n.replace(/\\([\\|])/g,r8));const a=this.stack[this.stack.length-1];a.type,a.value=n,this.exit(e)}function r8(e,n){return n==="|"?n:e}function a8(e){const n=e||{},a=n.tableCellPadding,s=n.tablePipeAlign,f=n.stringLength,h=a?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
14
- `,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:R,table:d,tableCell:E,tableRow:g}};function d(k,D,L,B){return b(C(k,L,B),k.align)}function g(k,D,L,B){const H=S(k,L,B),$=b([H]);return $.slice(0,$.indexOf(`
15
- `))}function E(k,D,L,B){const H=L.enter("tableCell"),$=L.enter("phrasing"),W=L.containerPhrasing(k,{...B,before:h,after:h});return $(),H(),W}function b(k,D){return fM(k,{align:D,alignDelimiters:s,padding:a,stringLength:f})}function C(k,D,L){const B=k.children;let H=-1;const $=[],W=D.enter("table");for(;++H<B.length;)$[H]=S(B[H],D,L);return W(),$}function S(k,D,L){const B=k.children;let H=-1;const $=[],W=D.enter("tableRow");for(;++H<B.length;)$[H]=E(B[H],k,D,L);return W(),$}function R(k,D,L){let B=CA.inlineCode(k,D,L);return L.stack.includes("tableCell")&&(B=B.replace(/\|/g,"\\$&")),B}}function i8(){return{exit:{taskListCheckValueChecked:m_,taskListCheckValueUnchecked:m_,paragraph:u8}}}function o8(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:s8}}}function m_(e){const n=this.stack[this.stack.length-2];n.type,n.checked=e.type==="taskListCheckValueChecked"}function u8(e){const n=this.stack[this.stack.length-2];if(n&&n.type==="listItem"&&typeof n.checked=="boolean"){const a=this.stack[this.stack.length-1];a.type;const s=a.children[0];if(s&&s.type==="text"){const f=n.children;let h=-1,d;for(;++h<f.length;){const g=f[h];if(g.type==="paragraph"){d=g;break}}d===a&&(s.value=s.value.slice(1),s.value.length===0?a.children.shift():a.position&&s.position&&typeof s.position.start.offset=="number"&&(s.position.start.column++,s.position.start.offset++,a.position.start=Object.assign({},s.position.start)))}}this.exit(e)}function s8(e,n,a,s){const f=e.children[0],h=typeof e.checked=="boolean"&&f&&f.type==="paragraph",d="["+(e.checked?"x":" ")+"] ",g=a.createTracker(s);h&&g.move(d);let E=CA.listItem(e,n,a,{...s,...g.current()});return h&&(E=E.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,b)),E;function b(C){return C+d}}function l8(){return[M5(),Q5(),uM(),JM(),i8()]}function c8(e){return{extensions:[P5(),G5(),sM(),a8(e),o8()]}}function Ni(e,n,a,s){const f=e.length;let h=0,d;if(n<0?n=-n>f?0:f+n:n=n>f?f:n,a=a>0?a:0,s.length<1e4)d=Array.from(s),d.unshift(n,a),e.splice(...d);else for(a&&e.splice(n,a);h<s.length;)d=s.slice(h,h+1e4),d.unshift(n,0),e.splice(...d),h+=1e4,n+=1e4}function Ai(e,n){return e.length>0?(Ni(e,e.length,0,n),e):n}const g_={}.hasOwnProperty;function kA(e){const n={};let a=-1;for(;++a<e.length;)d8(n,e[a]);return n}function d8(e,n){let a;for(a in n){const f=(g_.call(e,a)?e[a]:void 0)||(e[a]={}),h=n[a];let d;if(h)for(d in h){g_.call(f,d)||(f[d]=[]);const g=h[d];f8(f[d],Array.isArray(g)?g:g?[g]:[])}}}function f8(e,n){let a=-1;const s=[];for(;++a<n.length;)(n[a].add==="after"?e:s).push(n[a]);Ni(e,0,0,s)}const p8={tokenize:E8,partial:!0},AA={tokenize:b8,partial:!0},RA={tokenize:x8,partial:!0},NA={tokenize:w8,partial:!0},h8={tokenize:T8,partial:!0},DA={name:"wwwAutolink",tokenize:v8,previous:LA},OA={name:"protocolAutolink",tokenize:y8,previous:IA},Uu={name:"emailAutolink",tokenize:g8,previous:MA},Wo={};function m8(){return{text:Wo}}let Cc=48;for(;Cc<123;)Wo[Cc]=Uu,Cc++,Cc===58?Cc=65:Cc===91&&(Cc=97);Wo[43]=Uu;Wo[45]=Uu;Wo[46]=Uu;Wo[95]=Uu;Wo[72]=[Uu,OA];Wo[104]=[Uu,OA];Wo[87]=[Uu,DA];Wo[119]=[Uu,DA];function g8(e,n,a){const s=this;let f,h;return d;function d(S){return!gw(S)||!MA.call(s,s.previous)||qw(s.events)?a(S):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),g(S))}function g(S){return gw(S)?(e.consume(S),g):S===64?(e.consume(S),E):a(S)}function E(S){return S===46?e.check(h8,C,b)(S):S===45||S===95||ra(S)?(h=!0,e.consume(S),E):C(S)}function b(S){return e.consume(S),f=!0,E}function C(S){return h&&f&&ba(s.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),n(S)):a(S)}}function v8(e,n,a){const s=this;return f;function f(d){return d!==87&&d!==119||!LA.call(s,s.previous)||qw(s.events)?a(d):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(p8,e.attempt(AA,e.attempt(RA,h),a),a)(d))}function h(d){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),n(d)}}function y8(e,n,a){const s=this;let f="",h=!1;return d;function d(S){return(S===72||S===104)&&IA.call(s,s.previous)&&!qw(s.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),f+=String.fromCodePoint(S),e.consume(S),g):a(S)}function g(S){if(ba(S)&&f.length<5)return f+=String.fromCodePoint(S),e.consume(S),g;if(S===58){const R=f.toLowerCase();if(R==="http"||R==="https")return e.consume(S),E}return a(S)}function E(S){return S===47?(e.consume(S),h?b:(h=!0,E)):a(S)}function b(S){return S===null||A1(S)||rn(S)||Rc(S)||H1(S)?a(S):e.attempt(AA,e.attempt(RA,C),a)(S)}function C(S){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),n(S)}}function E8(e,n,a){let s=0;return f;function f(d){return(d===87||d===119)&&s<3?(s++,e.consume(d),f):d===46&&s===3?(e.consume(d),h):a(d)}function h(d){return d===null?a(d):n(d)}}function b8(e,n,a){let s,f,h;return d;function d(b){return b===46||b===95?e.check(NA,E,g)(b):b===null||rn(b)||Rc(b)||b!==45&&H1(b)?E(b):(h=!0,e.consume(b),d)}function g(b){return b===95?s=!0:(f=s,s=void 0),e.consume(b),d}function E(b){return f||s||!h?a(b):n(b)}}function x8(e,n){let a=0,s=0;return f;function f(d){return d===40?(a++,e.consume(d),f):d===41&&s<a?h(d):d===33||d===34||d===38||d===39||d===41||d===42||d===44||d===46||d===58||d===59||d===60||d===63||d===93||d===95||d===126?e.check(NA,n,h)(d):d===null||rn(d)||Rc(d)?n(d):(e.consume(d),f)}function h(d){return d===41&&s++,e.consume(d),f}}function w8(e,n,a){return s;function s(g){return g===33||g===34||g===39||g===41||g===42||g===44||g===46||g===58||g===59||g===63||g===95||g===126?(e.consume(g),s):g===38?(e.consume(g),h):g===93?(e.consume(g),f):g===60||g===null||rn(g)||Rc(g)?n(g):a(g)}function f(g){return g===null||g===40||g===91||rn(g)||Rc(g)?n(g):s(g)}function h(g){return ba(g)?d(g):a(g)}function d(g){return g===59?(e.consume(g),s):ba(g)?(e.consume(g),d):a(g)}}function T8(e,n,a){return s;function s(h){return e.consume(h),f}function f(h){return ra(h)?a(h):n(h)}}function LA(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||rn(e)}function IA(e){return!ba(e)}function MA(e){return!(e===47||gw(e))}function gw(e){return e===43||e===45||e===46||e===95||ra(e)}function qw(e){let n=e.length,a=!1;for(;n--;){const s=e[n][1];if((s.type==="labelLink"||s.type==="labelImage")&&!s._balanced){a=!0;break}if(s._gfmAutolinkLiteralWalkedInto){a=!1;break}}return e.length>0&&!a&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),a}function Zf(e){const n=[];let a=-1,s=0,f=0;for(;++a<e.length;){const h=e.charCodeAt(a);let d="";if(h===37&&ra(e.charCodeAt(a+1))&&ra(e.charCodeAt(a+2)))f=2;else if(h<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(h))||(d=String.fromCharCode(h));else if(h>55295&&h<57344){const g=e.charCodeAt(a+1);h<56320&&g>56319&&g<57344?(d=String.fromCharCode(h,g),f=1):d="�"}else d=String.fromCharCode(h);d&&(n.push(e.slice(s,a),encodeURIComponent(d)),s=a+f+1,d=""),f&&(a+=f,f=0)}return n.join("")+e.slice(s)}function R1(e){if(e===null||rn(e)||Rc(e))return 1;if(H1(e))return 2}function Y1(e,n,a){const s=[];let f=-1;for(;++f<e.length;){const h=e[f].resolveAll;h&&!s.includes(h)&&(n=h(n,a),s.push(h))}return n}const vw={name:"attention",tokenize:C8,resolveAll:S8};function S8(e,n){let a=-1,s,f,h,d,g,E,b,C;for(;++a<e.length;)if(e[a][0]==="enter"&&e[a][1].type==="attentionSequence"&&e[a][1]._close){for(s=a;s--;)if(e[s][0]==="exit"&&e[s][1].type==="attentionSequence"&&e[s][1]._open&&n.sliceSerialize(e[s][1]).charCodeAt(0)===n.sliceSerialize(e[a][1]).charCodeAt(0)){if((e[s][1]._close||e[a][1]._open)&&(e[a][1].end.offset-e[a][1].start.offset)%3&&!((e[s][1].end.offset-e[s][1].start.offset+e[a][1].end.offset-e[a][1].start.offset)%3))continue;E=e[s][1].end.offset-e[s][1].start.offset>1&&e[a][1].end.offset-e[a][1].start.offset>1?2:1;const S=Object.assign({},e[s][1].end),R=Object.assign({},e[a][1].start);v_(S,-E),v_(R,E),d={type:E>1?"strongSequence":"emphasisSequence",start:S,end:Object.assign({},e[s][1].end)},g={type:E>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[a][1].start),end:R},h={type:E>1?"strongText":"emphasisText",start:Object.assign({},e[s][1].end),end:Object.assign({},e[a][1].start)},f={type:E>1?"strong":"emphasis",start:Object.assign({},d.start),end:Object.assign({},g.end)},e[s][1].end=Object.assign({},d.start),e[a][1].start=Object.assign({},g.end),b=[],e[s][1].end.offset-e[s][1].start.offset&&(b=Ai(b,[["enter",e[s][1],n],["exit",e[s][1],n]])),b=Ai(b,[["enter",f,n],["enter",d,n],["exit",d,n],["enter",h,n]]),b=Ai(b,Y1(n.parser.constructs.insideSpan.null,e.slice(s+1,a),n)),b=Ai(b,[["exit",h,n],["enter",g,n],["exit",g,n],["exit",f,n]]),e[a][1].end.offset-e[a][1].start.offset?(C=2,b=Ai(b,[["enter",e[a][1],n],["exit",e[a][1],n]])):C=0,Ni(e,s-1,a-s+3,b),a=s+b.length-C-2;break}}for(a=-1;++a<e.length;)e[a][1].type==="attentionSequence"&&(e[a][1].type="data");return e}function C8(e,n){const a=this.parser.constructs.attentionMarkers.null,s=this.previous,f=R1(s);let h;return d;function d(E){return h=E,e.enter("attentionSequence"),g(E)}function g(E){if(E===h)return e.consume(E),g;const b=e.exit("attentionSequence"),C=R1(E),S=!C||C===2&&f||a.includes(E),R=!f||f===2&&C||a.includes(s);return b._open=!!(h===42?S:S&&(f||!R)),b._close=!!(h===42?R:R&&(C||!S)),n(E)}}function v_(e,n){e.column+=n,e.offset+=n,e._bufferIndex+=n}const _8={name:"autolink",tokenize:k8};function k8(e,n,a){let s=0;return f;function f(k){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(k),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),h}function h(k){return ba(k)?(e.consume(k),d):k===64?a(k):b(k)}function d(k){return k===43||k===45||k===46||ra(k)?(s=1,g(k)):b(k)}function g(k){return k===58?(e.consume(k),s=0,E):(k===43||k===45||k===46||ra(k))&&s++<32?(e.consume(k),g):(s=0,b(k))}function E(k){return k===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(k),e.exit("autolinkMarker"),e.exit("autolink"),n):k===null||k===32||k===60||A1(k)?a(k):(e.consume(k),E)}function b(k){return k===64?(e.consume(k),C):E5(k)?(e.consume(k),b):a(k)}function C(k){return ra(k)?S(k):a(k)}function S(k){return k===46?(e.consume(k),s=0,C):k===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(k),e.exit("autolinkMarker"),e.exit("autolink"),n):R(k)}function R(k){if((k===45||ra(k))&&s++<63){const D=k===45?R:S;return e.consume(k),D}return a(k)}}function Ut(e,n,a,s){const f=s?s-1:Number.POSITIVE_INFINITY;let h=0;return d;function d(E){return Lt(E)?(e.enter(a),g(E)):n(E)}function g(E){return Lt(E)&&h++<f?(e.consume(E),g):(e.exit(a),n(E))}}const Vm={tokenize:A8,partial:!0};function A8(e,n,a){return s;function s(h){return Lt(h)?Ut(e,f,"linePrefix")(h):f(h)}function f(h){return h===null||ut(h)?n(h):a(h)}}const PA={name:"blockQuote",tokenize:R8,continuation:{tokenize:N8},exit:D8};function R8(e,n,a){const s=this;return f;function f(d){if(d===62){const g=s.containerState;return g.open||(e.enter("blockQuote",{_container:!0}),g.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(d),e.exit("blockQuoteMarker"),h}return a(d)}function h(d){return Lt(d)?(e.enter("blockQuotePrefixWhitespace"),e.consume(d),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),n):(e.exit("blockQuotePrefix"),n(d))}}function N8(e,n,a){const s=this;return f;function f(d){return Lt(d)?Ut(e,h,"linePrefix",s.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(d):h(d)}function h(d){return e.attempt(PA,n,a)(d)}}function D8(e){e.exit("blockQuote")}const FA={name:"characterEscape",tokenize:O8};function O8(e,n,a){return s;function s(h){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(h),e.exit("escapeMarker"),f}function f(h){return x5(h)?(e.enter("characterEscapeValue"),e.consume(h),e.exit("characterEscapeValue"),e.exit("characterEscape"),n):a(h)}}const UA={name:"characterReference",tokenize:L8};function L8(e,n,a){const s=this;let f=0,h,d;return g;function g(S){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(S),e.exit("characterReferenceMarker"),E}function E(S){return S===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(S),e.exit("characterReferenceMarkerNumeric"),b):(e.enter("characterReferenceValue"),h=31,d=ra,C(S))}function b(S){return S===88||S===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(S),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),h=6,d=b5,C):(e.enter("characterReferenceValue"),h=7,d=hw,C(S))}function C(S){if(S===59&&f){const R=e.exit("characterReferenceValue");return d===ra&&!Ww(s.sliceSerialize(R))?a(S):(e.enter("characterReferenceMarker"),e.consume(S),e.exit("characterReferenceMarker"),e.exit("characterReference"),n)}return d(S)&&f++<h?(e.consume(S),C):a(S)}}const y_={tokenize:M8,partial:!0},E_={name:"codeFenced",tokenize:I8,concrete:!0};function I8(e,n,a){const s=this,f={tokenize:Z,partial:!0};let h=0,d=0,g;return E;function E(X){return b(X)}function b(X){const te=s.events[s.events.length-1];return h=te&&te[1].type==="linePrefix"?te[2].sliceSerialize(te[1],!0).length:0,g=X,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),C(X)}function C(X){return X===g?(d++,e.consume(X),C):d<3?a(X):(e.exit("codeFencedFenceSequence"),Lt(X)?Ut(e,S,"whitespace")(X):S(X))}function S(X){return X===null||ut(X)?(e.exit("codeFencedFence"),s.interrupt?n(X):e.check(y_,L,J)(X)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),R(X))}function R(X){return X===null||ut(X)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),S(X)):Lt(X)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),Ut(e,k,"whitespace")(X)):X===96&&X===g?a(X):(e.consume(X),R)}function k(X){return X===null||ut(X)?S(X):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),D(X))}function D(X){return X===null||ut(X)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),S(X)):X===96&&X===g?a(X):(e.consume(X),D)}function L(X){return e.attempt(f,J,B)(X)}function B(X){return e.enter("lineEnding"),e.consume(X),e.exit("lineEnding"),H}function H(X){return h>0&&Lt(X)?Ut(e,$,"linePrefix",h+1)(X):$(X)}function $(X){return X===null||ut(X)?e.check(y_,L,J)(X):(e.enter("codeFlowValue"),W(X))}function W(X){return X===null||ut(X)?(e.exit("codeFlowValue"),$(X)):(e.consume(X),W)}function J(X){return e.exit("codeFenced"),n(X)}function Z(X,te,we){let Me=0;return K;function K(qe){return X.enter("lineEnding"),X.consume(qe),X.exit("lineEnding"),Ee}function Ee(qe){return X.enter("codeFencedFence"),Lt(qe)?Ut(X,ge,"linePrefix",s.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(qe):ge(qe)}function ge(qe){return qe===g?(X.enter("codeFencedFenceSequence"),Re(qe)):we(qe)}function Re(qe){return qe===g?(Me++,X.consume(qe),Re):Me>=d?(X.exit("codeFencedFenceSequence"),Lt(qe)?Ut(X,Oe,"whitespace")(qe):Oe(qe)):we(qe)}function Oe(qe){return qe===null||ut(qe)?(X.exit("codeFencedFence"),te(qe)):we(qe)}}}function M8(e,n,a){const s=this;return f;function f(d){return d===null?a(d):(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),h)}function h(d){return s.parser.lazy[s.now().line]?a(d):n(d)}}const jx={name:"codeIndented",tokenize:F8},P8={tokenize:U8,partial:!0};function F8(e,n,a){const s=this;return f;function f(b){return e.enter("codeIndented"),Ut(e,h,"linePrefix",5)(b)}function h(b){const C=s.events[s.events.length-1];return C&&C[1].type==="linePrefix"&&C[2].sliceSerialize(C[1],!0).length>=4?d(b):a(b)}function d(b){return b===null?E(b):ut(b)?e.attempt(P8,d,E)(b):(e.enter("codeFlowValue"),g(b))}function g(b){return b===null||ut(b)?(e.exit("codeFlowValue"),d(b)):(e.consume(b),g)}function E(b){return e.exit("codeIndented"),n(b)}}function U8(e,n,a){const s=this;return f;function f(d){return s.parser.lazy[s.now().line]?a(d):ut(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),f):Ut(e,h,"linePrefix",5)(d)}function h(d){const g=s.events[s.events.length-1];return g&&g[1].type==="linePrefix"&&g[2].sliceSerialize(g[1],!0).length>=4?n(d):ut(d)?f(d):a(d)}}const B8={name:"codeText",tokenize:j8,resolve:H8,previous:z8};function H8(e){let n=e.length-4,a=3,s,f;if((e[a][1].type==="lineEnding"||e[a][1].type==="space")&&(e[n][1].type==="lineEnding"||e[n][1].type==="space")){for(s=a;++s<n;)if(e[s][1].type==="codeTextData"){e[a][1].type="codeTextPadding",e[n][1].type="codeTextPadding",a+=2,n-=2;break}}for(s=a-1,n++;++s<=n;)f===void 0?s!==n&&e[s][1].type!=="lineEnding"&&(f=s):(s===n||e[s][1].type==="lineEnding")&&(e[f][1].type="codeTextData",s!==f+2&&(e[f][1].end=e[s-1][1].end,e.splice(f+2,s-f-2),n-=s-f-2,s=f+2),f=void 0);return e}function z8(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function j8(e,n,a){let s=0,f,h;return d;function d(S){return e.enter("codeText"),e.enter("codeTextSequence"),g(S)}function g(S){return S===96?(e.consume(S),s++,g):(e.exit("codeTextSequence"),E(S))}function E(S){return S===null?a(S):S===32?(e.enter("space"),e.consume(S),e.exit("space"),E):S===96?(h=e.enter("codeTextSequence"),f=0,C(S)):ut(S)?(e.enter("lineEnding"),e.consume(S),e.exit("lineEnding"),E):(e.enter("codeTextData"),b(S))}function b(S){return S===null||S===32||S===96||ut(S)?(e.exit("codeTextData"),E(S)):(e.consume(S),b)}function C(S){return S===96?(e.consume(S),f++,C):f===s?(e.exit("codeTextSequence"),e.exit("codeText"),n(S)):(h.type="codeTextData",b(S))}}class V8{constructor(n){this.left=n?[...n]:[],this.right=[]}get(n){if(n<0||n>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+n+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return n<this.left.length?this.left[n]:this.right[this.right.length-n+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(n,a){const s=a??Number.POSITIVE_INFINITY;return s<this.left.length?this.left.slice(n,s):n>this.left.length?this.right.slice(this.right.length-s+this.left.length,this.right.length-n+this.left.length).reverse():this.left.slice(n).concat(this.right.slice(this.right.length-s+this.left.length).reverse())}splice(n,a,s){const f=a||0;this.setCursor(Math.trunc(n));const h=this.right.splice(this.right.length-f,Number.POSITIVE_INFINITY);return s&&Tm(this.left,s),h.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(n){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(n)}pushMany(n){this.setCursor(Number.POSITIVE_INFINITY),Tm(this.left,n)}unshift(n){this.setCursor(0),this.right.push(n)}unshiftMany(n){this.setCursor(0),Tm(this.right,n.reverse())}setCursor(n){if(!(n===this.left.length||n>this.left.length&&this.right.length===0||n<0&&this.left.length===0))if(n<this.left.length){const a=this.left.splice(n,Number.POSITIVE_INFINITY);Tm(this.right,a.reverse())}else{const a=this.right.splice(this.left.length+this.right.length-n,Number.POSITIVE_INFINITY);Tm(this.left,a.reverse())}}}function Tm(e,n){let a=0;if(n.length<1e4)e.push(...n);else for(;a<n.length;)e.push(...n.slice(a,a+1e4)),a+=1e4}function BA(e){const n={};let a=-1,s,f,h,d,g,E,b;const C=new V8(e);for(;++a<C.length;){for(;a in n;)a=n[a];if(s=C.get(a),a&&s[1].type==="chunkFlow"&&C.get(a-1)[1].type==="listItemPrefix"&&(E=s[1]._tokenizer.events,h=0,h<E.length&&E[h][1].type==="lineEndingBlank"&&(h+=2),h<E.length&&E[h][1].type==="content"))for(;++h<E.length&&E[h][1].type!=="content";)E[h][1].type==="chunkText"&&(E[h][1]._isInFirstContentOfListItem=!0,h++);if(s[0]==="enter")s[1].contentType&&(Object.assign(n,Y8(C,a)),a=n[a],b=!0);else if(s[1]._container){for(h=a,f=void 0;h--&&(d=C.get(h),d[1].type==="lineEnding"||d[1].type==="lineEndingBlank");)d[0]==="enter"&&(f&&(C.get(f)[1].type="lineEndingBlank"),d[1].type="lineEnding",f=h);f&&(s[1].end=Object.assign({},C.get(f)[1].start),g=C.slice(f,a),g.unshift(s),C.splice(f,a-f+1,g))}}return Ni(e,0,Number.POSITIVE_INFINITY,C.slice(0)),!b}function Y8(e,n){const a=e.get(n)[1],s=e.get(n)[2];let f=n-1;const h=[],d=a._tokenizer||s.parser[a.contentType](a.start),g=d.events,E=[],b={};let C,S,R=-1,k=a,D=0,L=0;const B=[L];for(;k;){for(;e.get(++f)[1]!==k;);h.push(f),k._tokenizer||(C=s.sliceStream(k),k.next||C.push(null),S&&d.defineSkip(k.start),k._isInFirstContentOfListItem&&(d._gfmTasklistFirstContentOfListItem=!0),d.write(C),k._isInFirstContentOfListItem&&(d._gfmTasklistFirstContentOfListItem=void 0)),S=k,k=k.next}for(k=a;++R<g.length;)g[R][0]==="exit"&&g[R-1][0]==="enter"&&g[R][1].type===g[R-1][1].type&&g[R][1].start.line!==g[R][1].end.line&&(L=R+1,B.push(L),k._tokenizer=void 0,k.previous=void 0,k=k.next);for(d.events=[],k?(k._tokenizer=void 0,k.previous=void 0):B.pop(),R=B.length;R--;){const H=g.slice(B[R],B[R+1]),$=h.pop();E.push([$,$+H.length-1]),e.splice($,2,H)}for(E.reverse(),R=-1;++R<E.length;)b[D+E[R][0]]=D+E[R][1],D+=E[R][1]-E[R][0]-1;return b}const W8={tokenize:G8,resolve:Q8},q8={tokenize:$8,partial:!0};function Q8(e){return BA(e),e}function G8(e,n){let a;return s;function s(g){return e.enter("content"),a=e.enter("chunkContent",{contentType:"content"}),f(g)}function f(g){return g===null?h(g):ut(g)?e.check(q8,d,h)(g):(e.consume(g),f)}function h(g){return e.exit("chunkContent"),e.exit("content"),n(g)}function d(g){return e.consume(g),e.exit("chunkContent"),a.next=e.enter("chunkContent",{contentType:"content",previous:a}),a=a.next,f}}function $8(e,n,a){const s=this;return f;function f(d){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),Ut(e,h,"linePrefix")}function h(d){if(d===null||ut(d))return a(d);const g=s.events[s.events.length-1];return!s.parser.constructs.disable.null.includes("codeIndented")&&g&&g[1].type==="linePrefix"&&g[2].sliceSerialize(g[1],!0).length>=4?n(d):e.interrupt(s.parser.constructs.flow,a,n)(d)}}function HA(e,n,a,s,f,h,d,g,E){const b=E||Number.POSITIVE_INFINITY;let C=0;return S;function S(H){return H===60?(e.enter(s),e.enter(f),e.enter(h),e.consume(H),e.exit(h),R):H===null||H===32||H===41||A1(H)?a(H):(e.enter(s),e.enter(d),e.enter(g),e.enter("chunkString",{contentType:"string"}),L(H))}function R(H){return H===62?(e.enter(h),e.consume(H),e.exit(h),e.exit(f),e.exit(s),n):(e.enter(g),e.enter("chunkString",{contentType:"string"}),k(H))}function k(H){return H===62?(e.exit("chunkString"),e.exit(g),R(H)):H===null||H===60||ut(H)?a(H):(e.consume(H),H===92?D:k)}function D(H){return H===60||H===62||H===92?(e.consume(H),k):k(H)}function L(H){return!C&&(H===null||H===41||rn(H))?(e.exit("chunkString"),e.exit(g),e.exit(d),e.exit(s),n(H)):C<b&&H===40?(e.consume(H),C++,L):H===41?(e.consume(H),C--,L):H===null||H===32||H===40||A1(H)?a(H):(e.consume(H),H===92?B:L)}function B(H){return H===40||H===41||H===92?(e.consume(H),L):L(H)}}function zA(e,n,a,s,f,h){const d=this;let g=0,E;return b;function b(k){return e.enter(s),e.enter(f),e.consume(k),e.exit(f),e.enter(h),C}function C(k){return g>999||k===null||k===91||k===93&&!E||k===94&&!g&&"_hiddenFootnoteSupport"in d.parser.constructs?a(k):k===93?(e.exit(h),e.enter(f),e.consume(k),e.exit(f),e.exit(s),n):ut(k)?(e.enter("lineEnding"),e.consume(k),e.exit("lineEnding"),C):(e.enter("chunkString",{contentType:"string"}),S(k))}function S(k){return k===null||k===91||k===93||ut(k)||g++>999?(e.exit("chunkString"),C(k)):(e.consume(k),E||(E=!Lt(k)),k===92?R:S)}function R(k){return k===91||k===92||k===93?(e.consume(k),g++,S):S(k)}}function jA(e,n,a,s,f,h){let d;return g;function g(R){return R===34||R===39||R===40?(e.enter(s),e.enter(f),e.consume(R),e.exit(f),d=R===40?41:R,E):a(R)}function E(R){return R===d?(e.enter(f),e.consume(R),e.exit(f),e.exit(s),n):(e.enter(h),b(R))}function b(R){return R===d?(e.exit(h),E(d)):R===null?a(R):ut(R)?(e.enter("lineEnding"),e.consume(R),e.exit("lineEnding"),Ut(e,b,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),C(R))}function C(R){return R===d||R===null||ut(R)?(e.exit("chunkString"),b(R)):(e.consume(R),R===92?S:C)}function S(R){return R===d||R===92?(e.consume(R),C):C(R)}}function Am(e,n){let a;return s;function s(f){return ut(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),a=!0,s):Lt(f)?Ut(e,s,a?"linePrefix":"lineSuffix")(f):n(f)}}const X8={name:"definition",tokenize:J8},K8={tokenize:Z8,partial:!0};function J8(e,n,a){const s=this;let f;return h;function h(k){return e.enter("definition"),d(k)}function d(k){return zA.call(s,e,g,a,"definitionLabel","definitionLabelMarker","definitionLabelString")(k)}function g(k){return f=uo(s.sliceSerialize(s.events[s.events.length-1][1]).slice(1,-1)),k===58?(e.enter("definitionMarker"),e.consume(k),e.exit("definitionMarker"),E):a(k)}function E(k){return rn(k)?Am(e,b)(k):b(k)}function b(k){return HA(e,C,a,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(k)}function C(k){return e.attempt(K8,S,S)(k)}function S(k){return Lt(k)?Ut(e,R,"whitespace")(k):R(k)}function R(k){return k===null||ut(k)?(e.exit("definition"),s.parser.defined.push(f),n(k)):a(k)}}function Z8(e,n,a){return s;function s(g){return rn(g)?Am(e,f)(g):a(g)}function f(g){return jA(e,h,a,"definitionTitle","definitionTitleMarker","definitionTitleString")(g)}function h(g){return Lt(g)?Ut(e,d,"whitespace")(g):d(g)}function d(g){return g===null||ut(g)?n(g):a(g)}}const eP={name:"hardBreakEscape",tokenize:tP};function tP(e,n,a){return s;function s(h){return e.enter("hardBreakEscape"),e.consume(h),f}function f(h){return ut(h)?(e.exit("hardBreakEscape"),n(h)):a(h)}}const nP={name:"headingAtx",tokenize:aP,resolve:rP};function rP(e,n){let a=e.length-2,s=3,f,h;return e[s][1].type==="whitespace"&&(s+=2),a-2>s&&e[a][1].type==="whitespace"&&(a-=2),e[a][1].type==="atxHeadingSequence"&&(s===a-1||a-4>s&&e[a-2][1].type==="whitespace")&&(a-=s+1===a?2:4),a>s&&(f={type:"atxHeadingText",start:e[s][1].start,end:e[a][1].end},h={type:"chunkText",start:e[s][1].start,end:e[a][1].end,contentType:"text"},Ni(e,s,a-s+1,[["enter",f,n],["enter",h,n],["exit",h,n],["exit",f,n]])),e}function aP(e,n,a){let s=0;return f;function f(C){return e.enter("atxHeading"),h(C)}function h(C){return e.enter("atxHeadingSequence"),d(C)}function d(C){return C===35&&s++<6?(e.consume(C),d):C===null||rn(C)?(e.exit("atxHeadingSequence"),g(C)):a(C)}function g(C){return C===35?(e.enter("atxHeadingSequence"),E(C)):C===null||ut(C)?(e.exit("atxHeading"),n(C)):Lt(C)?Ut(e,g,"whitespace")(C):(e.enter("atxHeadingText"),b(C))}function E(C){return C===35?(e.consume(C),E):(e.exit("atxHeadingSequence"),g(C))}function b(C){return C===null||C===35||rn(C)?(e.exit("atxHeadingText"),g(C)):(e.consume(C),b)}}const iP=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],b_=["pre","script","style","textarea"],oP={name:"htmlFlow",tokenize:cP,resolveTo:lP,concrete:!0},uP={tokenize:fP,partial:!0},sP={tokenize:dP,partial:!0};function lP(e){let n=e.length;for(;n--&&!(e[n][0]==="enter"&&e[n][1].type==="htmlFlow"););return n>1&&e[n-2][1].type==="linePrefix"&&(e[n][1].start=e[n-2][1].start,e[n+1][1].start=e[n-2][1].start,e.splice(n-2,2)),e}function cP(e,n,a){const s=this;let f,h,d,g,E;return b;function b(V){return C(V)}function C(V){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(V),S}function S(V){return V===33?(e.consume(V),R):V===47?(e.consume(V),h=!0,L):V===63?(e.consume(V),f=3,s.interrupt?n:F):ba(V)?(e.consume(V),d=String.fromCharCode(V),B):a(V)}function R(V){return V===45?(e.consume(V),f=2,k):V===91?(e.consume(V),f=5,g=0,D):ba(V)?(e.consume(V),f=4,s.interrupt?n:F):a(V)}function k(V){return V===45?(e.consume(V),s.interrupt?n:F):a(V)}function D(V){const Gt="CDATA[";return V===Gt.charCodeAt(g++)?(e.consume(V),g===Gt.length?s.interrupt?n:ge:D):a(V)}function L(V){return ba(V)?(e.consume(V),d=String.fromCharCode(V),B):a(V)}function B(V){if(V===null||V===47||V===62||rn(V)){const Gt=V===47,Gn=d.toLowerCase();return!Gt&&!h&&b_.includes(Gn)?(f=1,s.interrupt?n(V):ge(V)):iP.includes(d.toLowerCase())?(f=6,Gt?(e.consume(V),H):s.interrupt?n(V):ge(V)):(f=7,s.interrupt&&!s.parser.lazy[s.now().line]?a(V):h?$(V):W(V))}return V===45||ra(V)?(e.consume(V),d+=String.fromCharCode(V),B):a(V)}function H(V){return V===62?(e.consume(V),s.interrupt?n:ge):a(V)}function $(V){return Lt(V)?(e.consume(V),$):K(V)}function W(V){return V===47?(e.consume(V),K):V===58||V===95||ba(V)?(e.consume(V),J):Lt(V)?(e.consume(V),W):K(V)}function J(V){return V===45||V===46||V===58||V===95||ra(V)?(e.consume(V),J):Z(V)}function Z(V){return V===61?(e.consume(V),X):Lt(V)?(e.consume(V),Z):W(V)}function X(V){return V===null||V===60||V===61||V===62||V===96?a(V):V===34||V===39?(e.consume(V),E=V,te):Lt(V)?(e.consume(V),X):we(V)}function te(V){return V===E?(e.consume(V),E=null,Me):V===null||ut(V)?a(V):(e.consume(V),te)}function we(V){return V===null||V===34||V===39||V===47||V===60||V===61||V===62||V===96||rn(V)?Z(V):(e.consume(V),we)}function Me(V){return V===47||V===62||Lt(V)?W(V):a(V)}function K(V){return V===62?(e.consume(V),Ee):a(V)}function Ee(V){return V===null||ut(V)?ge(V):Lt(V)?(e.consume(V),Ee):a(V)}function ge(V){return V===45&&f===2?(e.consume(V),je):V===60&&f===1?(e.consume(V),at):V===62&&f===4?(e.consume(V),et):V===63&&f===3?(e.consume(V),F):V===93&&f===5?(e.consume(V),De):ut(V)&&(f===6||f===7)?(e.exit("htmlFlowData"),e.check(uP,Et,Re)(V)):V===null||ut(V)?(e.exit("htmlFlowData"),Re(V)):(e.consume(V),ge)}function Re(V){return e.check(sP,Oe,Et)(V)}function Oe(V){return e.enter("lineEnding"),e.consume(V),e.exit("lineEnding"),qe}function qe(V){return V===null||ut(V)?Re(V):(e.enter("htmlFlowData"),ge(V))}function je(V){return V===45?(e.consume(V),F):ge(V)}function at(V){return V===47?(e.consume(V),d="",he):ge(V)}function he(V){if(V===62){const Gt=d.toLowerCase();return b_.includes(Gt)?(e.consume(V),et):ge(V)}return ba(V)&&d.length<8?(e.consume(V),d+=String.fromCharCode(V),he):ge(V)}function De(V){return V===93?(e.consume(V),F):ge(V)}function F(V){return V===62?(e.consume(V),et):V===45&&f===2?(e.consume(V),F):ge(V)}function et(V){return V===null||ut(V)?(e.exit("htmlFlowData"),Et(V)):(e.consume(V),et)}function Et(V){return e.exit("htmlFlow"),n(V)}}function dP(e,n,a){const s=this;return f;function f(d){return ut(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),h):a(d)}function h(d){return s.parser.lazy[s.now().line]?a(d):n(d)}}function fP(e,n,a){return s;function s(f){return e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),e.attempt(Vm,n,a)}}const pP={name:"htmlText",tokenize:hP};function hP(e,n,a){const s=this;let f,h,d;return g;function g(F){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(F),E}function E(F){return F===33?(e.consume(F),b):F===47?(e.consume(F),Z):F===63?(e.consume(F),W):ba(F)?(e.consume(F),we):a(F)}function b(F){return F===45?(e.consume(F),C):F===91?(e.consume(F),h=0,D):ba(F)?(e.consume(F),$):a(F)}function C(F){return F===45?(e.consume(F),k):a(F)}function S(F){return F===null?a(F):F===45?(e.consume(F),R):ut(F)?(d=S,at(F)):(e.consume(F),S)}function R(F){return F===45?(e.consume(F),k):S(F)}function k(F){return F===62?je(F):F===45?R(F):S(F)}function D(F){const et="CDATA[";return F===et.charCodeAt(h++)?(e.consume(F),h===et.length?L:D):a(F)}function L(F){return F===null?a(F):F===93?(e.consume(F),B):ut(F)?(d=L,at(F)):(e.consume(F),L)}function B(F){return F===93?(e.consume(F),H):L(F)}function H(F){return F===62?je(F):F===93?(e.consume(F),H):L(F)}function $(F){return F===null||F===62?je(F):ut(F)?(d=$,at(F)):(e.consume(F),$)}function W(F){return F===null?a(F):F===63?(e.consume(F),J):ut(F)?(d=W,at(F)):(e.consume(F),W)}function J(F){return F===62?je(F):W(F)}function Z(F){return ba(F)?(e.consume(F),X):a(F)}function X(F){return F===45||ra(F)?(e.consume(F),X):te(F)}function te(F){return ut(F)?(d=te,at(F)):Lt(F)?(e.consume(F),te):je(F)}function we(F){return F===45||ra(F)?(e.consume(F),we):F===47||F===62||rn(F)?Me(F):a(F)}function Me(F){return F===47?(e.consume(F),je):F===58||F===95||ba(F)?(e.consume(F),K):ut(F)?(d=Me,at(F)):Lt(F)?(e.consume(F),Me):je(F)}function K(F){return F===45||F===46||F===58||F===95||ra(F)?(e.consume(F),K):Ee(F)}function Ee(F){return F===61?(e.consume(F),ge):ut(F)?(d=Ee,at(F)):Lt(F)?(e.consume(F),Ee):Me(F)}function ge(F){return F===null||F===60||F===61||F===62||F===96?a(F):F===34||F===39?(e.consume(F),f=F,Re):ut(F)?(d=ge,at(F)):Lt(F)?(e.consume(F),ge):(e.consume(F),Oe)}function Re(F){return F===f?(e.consume(F),f=void 0,qe):F===null?a(F):ut(F)?(d=Re,at(F)):(e.consume(F),Re)}function Oe(F){return F===null||F===34||F===39||F===60||F===61||F===96?a(F):F===47||F===62||rn(F)?Me(F):(e.consume(F),Oe)}function qe(F){return F===47||F===62||rn(F)?Me(F):a(F)}function je(F){return F===62?(e.consume(F),e.exit("htmlTextData"),e.exit("htmlText"),n):a(F)}function at(F){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(F),e.exit("lineEnding"),he}function he(F){return Lt(F)?Ut(e,De,"linePrefix",s.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(F):De(F)}function De(F){return e.enter("htmlTextData"),d(F)}}const Qw={name:"labelEnd",tokenize:bP,resolveTo:EP,resolveAll:yP},mP={tokenize:xP},gP={tokenize:wP},vP={tokenize:TP};function yP(e){let n=-1;for(;++n<e.length;){const a=e[n][1];(a.type==="labelImage"||a.type==="labelLink"||a.type==="labelEnd")&&(e.splice(n+1,a.type==="labelImage"?4:2),a.type="data",n++)}return e}function EP(e,n){let a=e.length,s=0,f,h,d,g;for(;a--;)if(f=e[a][1],h){if(f.type==="link"||f.type==="labelLink"&&f._inactive)break;e[a][0]==="enter"&&f.type==="labelLink"&&(f._inactive=!0)}else if(d){if(e[a][0]==="enter"&&(f.type==="labelImage"||f.type==="labelLink")&&!f._balanced&&(h=a,f.type!=="labelLink")){s=2;break}}else f.type==="labelEnd"&&(d=a);const E={type:e[h][1].type==="labelLink"?"link":"image",start:Object.assign({},e[h][1].start),end:Object.assign({},e[e.length-1][1].end)},b={type:"label",start:Object.assign({},e[h][1].start),end:Object.assign({},e[d][1].end)},C={type:"labelText",start:Object.assign({},e[h+s+2][1].end),end:Object.assign({},e[d-2][1].start)};return g=[["enter",E,n],["enter",b,n]],g=Ai(g,e.slice(h+1,h+s+3)),g=Ai(g,[["enter",C,n]]),g=Ai(g,Y1(n.parser.constructs.insideSpan.null,e.slice(h+s+4,d-3),n)),g=Ai(g,[["exit",C,n],e[d-2],e[d-1],["exit",b,n]]),g=Ai(g,e.slice(d+1)),g=Ai(g,[["exit",E,n]]),Ni(e,h,e.length,g),e}function bP(e,n,a){const s=this;let f=s.events.length,h,d;for(;f--;)if((s.events[f][1].type==="labelImage"||s.events[f][1].type==="labelLink")&&!s.events[f][1]._balanced){h=s.events[f][1];break}return g;function g(R){return h?h._inactive?S(R):(d=s.parser.defined.includes(uo(s.sliceSerialize({start:h.end,end:s.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(R),e.exit("labelMarker"),e.exit("labelEnd"),E):a(R)}function E(R){return R===40?e.attempt(mP,C,d?C:S)(R):R===91?e.attempt(gP,C,d?b:S)(R):d?C(R):S(R)}function b(R){return e.attempt(vP,C,S)(R)}function C(R){return n(R)}function S(R){return h._balanced=!0,a(R)}}function xP(e,n,a){return s;function s(S){return e.enter("resource"),e.enter("resourceMarker"),e.consume(S),e.exit("resourceMarker"),f}function f(S){return rn(S)?Am(e,h)(S):h(S)}function h(S){return S===41?C(S):HA(e,d,g,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(S)}function d(S){return rn(S)?Am(e,E)(S):C(S)}function g(S){return a(S)}function E(S){return S===34||S===39||S===40?jA(e,b,a,"resourceTitle","resourceTitleMarker","resourceTitleString")(S):C(S)}function b(S){return rn(S)?Am(e,C)(S):C(S)}function C(S){return S===41?(e.enter("resourceMarker"),e.consume(S),e.exit("resourceMarker"),e.exit("resource"),n):a(S)}}function wP(e,n,a){const s=this;return f;function f(g){return zA.call(s,e,h,d,"reference","referenceMarker","referenceString")(g)}function h(g){return s.parser.defined.includes(uo(s.sliceSerialize(s.events[s.events.length-1][1]).slice(1,-1)))?n(g):a(g)}function d(g){return a(g)}}function TP(e,n,a){return s;function s(h){return e.enter("reference"),e.enter("referenceMarker"),e.consume(h),e.exit("referenceMarker"),f}function f(h){return h===93?(e.enter("referenceMarker"),e.consume(h),e.exit("referenceMarker"),e.exit("reference"),n):a(h)}}const SP={name:"labelStartImage",tokenize:CP,resolveAll:Qw.resolveAll};function CP(e,n,a){const s=this;return f;function f(g){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(g),e.exit("labelImageMarker"),h}function h(g){return g===91?(e.enter("labelMarker"),e.consume(g),e.exit("labelMarker"),e.exit("labelImage"),d):a(g)}function d(g){return g===94&&"_hiddenFootnoteSupport"in s.parser.constructs?a(g):n(g)}}const _P={name:"labelStartLink",tokenize:kP,resolveAll:Qw.resolveAll};function kP(e,n,a){const s=this;return f;function f(d){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(d),e.exit("labelMarker"),e.exit("labelLink"),h}function h(d){return d===94&&"_hiddenFootnoteSupport"in s.parser.constructs?a(d):n(d)}}const Vx={name:"lineEnding",tokenize:AP};function AP(e,n){return a;function a(s){return e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),Ut(e,n,"linePrefix")}}const E1={name:"thematicBreak",tokenize:RP};function RP(e,n,a){let s=0,f;return h;function h(b){return e.enter("thematicBreak"),d(b)}function d(b){return f=b,g(b)}function g(b){return b===f?(e.enter("thematicBreakSequence"),E(b)):s>=3&&(b===null||ut(b))?(e.exit("thematicBreak"),n(b)):a(b)}function E(b){return b===f?(e.consume(b),s++,E):(e.exit("thematicBreakSequence"),Lt(b)?Ut(e,g,"whitespace")(b):g(b))}}const Qa={name:"list",tokenize:OP,continuation:{tokenize:LP},exit:MP},NP={tokenize:PP,partial:!0},DP={tokenize:IP,partial:!0};function OP(e,n,a){const s=this,f=s.events[s.events.length-1];let h=f&&f[1].type==="linePrefix"?f[2].sliceSerialize(f[1],!0).length:0,d=0;return g;function g(k){const D=s.containerState.type||(k===42||k===43||k===45?"listUnordered":"listOrdered");if(D==="listUnordered"?!s.containerState.marker||k===s.containerState.marker:hw(k)){if(s.containerState.type||(s.containerState.type=D,e.enter(D,{_container:!0})),D==="listUnordered")return e.enter("listItemPrefix"),k===42||k===45?e.check(E1,a,b)(k):b(k);if(!s.interrupt||k===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),E(k)}return a(k)}function E(k){return hw(k)&&++d<10?(e.consume(k),E):(!s.interrupt||d<2)&&(s.containerState.marker?k===s.containerState.marker:k===41||k===46)?(e.exit("listItemValue"),b(k)):a(k)}function b(k){return e.enter("listItemMarker"),e.consume(k),e.exit("listItemMarker"),s.containerState.marker=s.containerState.marker||k,e.check(Vm,s.interrupt?a:C,e.attempt(NP,R,S))}function C(k){return s.containerState.initialBlankLine=!0,h++,R(k)}function S(k){return Lt(k)?(e.enter("listItemPrefixWhitespace"),e.consume(k),e.exit("listItemPrefixWhitespace"),R):a(k)}function R(k){return s.containerState.size=h+s.sliceSerialize(e.exit("listItemPrefix"),!0).length,n(k)}}function LP(e,n,a){const s=this;return s.containerState._closeFlow=void 0,e.check(Vm,f,h);function f(g){return s.containerState.furtherBlankLines=s.containerState.furtherBlankLines||s.containerState.initialBlankLine,Ut(e,n,"listItemIndent",s.containerState.size+1)(g)}function h(g){return s.containerState.furtherBlankLines||!Lt(g)?(s.containerState.furtherBlankLines=void 0,s.containerState.initialBlankLine=void 0,d(g)):(s.containerState.furtherBlankLines=void 0,s.containerState.initialBlankLine=void 0,e.attempt(DP,n,d)(g))}function d(g){return s.containerState._closeFlow=!0,s.interrupt=void 0,Ut(e,e.attempt(Qa,n,a),"linePrefix",s.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(g)}}function IP(e,n,a){const s=this;return Ut(e,f,"listItemIndent",s.containerState.size+1);function f(h){const d=s.events[s.events.length-1];return d&&d[1].type==="listItemIndent"&&d[2].sliceSerialize(d[1],!0).length===s.containerState.size?n(h):a(h)}}function MP(e){e.exit(this.containerState.type)}function PP(e,n,a){const s=this;return Ut(e,f,"listItemPrefixWhitespace",s.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function f(h){const d=s.events[s.events.length-1];return!Lt(h)&&d&&d[1].type==="listItemPrefixWhitespace"?n(h):a(h)}}const x_={name:"setextUnderline",tokenize:UP,resolveTo:FP};function FP(e,n){let a=e.length,s,f,h;for(;a--;)if(e[a][0]==="enter"){if(e[a][1].type==="content"){s=a;break}e[a][1].type==="paragraph"&&(f=a)}else e[a][1].type==="content"&&e.splice(a,1),!h&&e[a][1].type==="definition"&&(h=a);const d={type:"setextHeading",start:Object.assign({},e[f][1].start),end:Object.assign({},e[e.length-1][1].end)};return e[f][1].type="setextHeadingText",h?(e.splice(f,0,["enter",d,n]),e.splice(h+1,0,["exit",e[s][1],n]),e[s][1].end=Object.assign({},e[h][1].end)):e[s][1]=d,e.push(["exit",d,n]),e}function UP(e,n,a){const s=this;let f;return h;function h(b){let C=s.events.length,S;for(;C--;)if(s.events[C][1].type!=="lineEnding"&&s.events[C][1].type!=="linePrefix"&&s.events[C][1].type!=="content"){S=s.events[C][1].type==="paragraph";break}return!s.parser.lazy[s.now().line]&&(s.interrupt||S)?(e.enter("setextHeadingLine"),f=b,d(b)):a(b)}function d(b){return e.enter("setextHeadingLineSequence"),g(b)}function g(b){return b===f?(e.consume(b),g):(e.exit("setextHeadingLineSequence"),Lt(b)?Ut(e,E,"lineSuffix")(b):E(b))}function E(b){return b===null||ut(b)?(e.exit("setextHeadingLine"),n(b)):a(b)}}const BP={tokenize:QP,partial:!0};function HP(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:YP,continuation:{tokenize:WP},exit:qP}},text:{91:{name:"gfmFootnoteCall",tokenize:VP},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:zP,resolveTo:jP}}}}function zP(e,n,a){const s=this;let f=s.events.length;const h=s.parser.gfmFootnotes||(s.parser.gfmFootnotes=[]);let d;for(;f--;){const E=s.events[f][1];if(E.type==="labelImage"){d=E;break}if(E.type==="gfmFootnoteCall"||E.type==="labelLink"||E.type==="label"||E.type==="image"||E.type==="link")break}return g;function g(E){if(!d||!d._balanced)return a(E);const b=uo(s.sliceSerialize({start:d.end,end:s.now()}));return b.codePointAt(0)!==94||!h.includes(b.slice(1))?a(E):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(E),e.exit("gfmFootnoteCallLabelMarker"),n(E))}}function jP(e,n){let a=e.length;for(;a--;)if(e[a][1].type==="labelImage"&&e[a][0]==="enter"){e[a][1];break}e[a+1][1].type="data",e[a+3][1].type="gfmFootnoteCallLabelMarker";const s={type:"gfmFootnoteCall",start:Object.assign({},e[a+3][1].start),end:Object.assign({},e[e.length-1][1].end)},f={type:"gfmFootnoteCallMarker",start:Object.assign({},e[a+3][1].end),end:Object.assign({},e[a+3][1].end)};f.end.column++,f.end.offset++,f.end._bufferIndex++;const h={type:"gfmFootnoteCallString",start:Object.assign({},f.end),end:Object.assign({},e[e.length-1][1].start)},d={type:"chunkString",contentType:"string",start:Object.assign({},h.start),end:Object.assign({},h.end)},g=[e[a+1],e[a+2],["enter",s,n],e[a+3],e[a+4],["enter",f,n],["exit",f,n],["enter",h,n],["enter",d,n],["exit",d,n],["exit",h,n],e[e.length-2],e[e.length-1],["exit",s,n]];return e.splice(a,e.length-a+1,...g),e}function VP(e,n,a){const s=this,f=s.parser.gfmFootnotes||(s.parser.gfmFootnotes=[]);let h=0,d;return g;function g(S){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(S),e.exit("gfmFootnoteCallLabelMarker"),E}function E(S){return S!==94?a(S):(e.enter("gfmFootnoteCallMarker"),e.consume(S),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",b)}function b(S){if(h>999||S===93&&!d||S===null||S===91||rn(S))return a(S);if(S===93){e.exit("chunkString");const R=e.exit("gfmFootnoteCallString");return f.includes(uo(s.sliceSerialize(R)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(S),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),n):a(S)}return rn(S)||(d=!0),h++,e.consume(S),S===92?C:b}function C(S){return S===91||S===92||S===93?(e.consume(S),h++,b):b(S)}}function YP(e,n,a){const s=this,f=s.parser.gfmFootnotes||(s.parser.gfmFootnotes=[]);let h,d=0,g;return E;function E(D){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(D),e.exit("gfmFootnoteDefinitionLabelMarker"),b}function b(D){return D===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(D),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",C):a(D)}function C(D){if(d>999||D===93&&!g||D===null||D===91||rn(D))return a(D);if(D===93){e.exit("chunkString");const L=e.exit("gfmFootnoteDefinitionLabelString");return h=uo(s.sliceSerialize(L)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(D),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),R}return rn(D)||(g=!0),d++,e.consume(D),D===92?S:C}function S(D){return D===91||D===92||D===93?(e.consume(D),d++,C):C(D)}function R(D){return D===58?(e.enter("definitionMarker"),e.consume(D),e.exit("definitionMarker"),f.includes(h)||f.push(h),Ut(e,k,"gfmFootnoteDefinitionWhitespace")):a(D)}function k(D){return n(D)}}function WP(e,n,a){return e.check(Vm,n,e.attempt(BP,n,a))}function qP(e){e.exit("gfmFootnoteDefinition")}function QP(e,n,a){const s=this;return Ut(e,f,"gfmFootnoteDefinitionIndent",5);function f(h){const d=s.events[s.events.length-1];return d&&d[1].type==="gfmFootnoteDefinitionIndent"&&d[2].sliceSerialize(d[1],!0).length===4?n(h):a(h)}}function GP(e){let a=(e||{}).singleTilde;const s={name:"strikethrough",tokenize:h,resolveAll:f};return a==null&&(a=!0),{text:{126:s},insideSpan:{null:[s]},attentionMarkers:{null:[126]}};function f(d,g){let E=-1;for(;++E<d.length;)if(d[E][0]==="enter"&&d[E][1].type==="strikethroughSequenceTemporary"&&d[E][1]._close){let b=E;for(;b--;)if(d[b][0]==="exit"&&d[b][1].type==="strikethroughSequenceTemporary"&&d[b][1]._open&&d[E][1].end.offset-d[E][1].start.offset===d[b][1].end.offset-d[b][1].start.offset){d[E][1].type="strikethroughSequence",d[b][1].type="strikethroughSequence";const C={type:"strikethrough",start:Object.assign({},d[b][1].start),end:Object.assign({},d[E][1].end)},S={type:"strikethroughText",start:Object.assign({},d[b][1].end),end:Object.assign({},d[E][1].start)},R=[["enter",C,g],["enter",d[b][1],g],["exit",d[b][1],g],["enter",S,g]],k=g.parser.constructs.insideSpan.null;k&&Ni(R,R.length,0,Y1(k,d.slice(b+1,E),g)),Ni(R,R.length,0,[["exit",S,g],["enter",d[E][1],g],["exit",d[E][1],g],["exit",C,g]]),Ni(d,b-1,E-b+3,R),E=b+R.length-2;break}}for(E=-1;++E<d.length;)d[E][1].type==="strikethroughSequenceTemporary"&&(d[E][1].type="data");return d}function h(d,g,E){const b=this.previous,C=this.events;let S=0;return R;function R(D){return b===126&&C[C.length-1][1].type!=="characterEscape"?E(D):(d.enter("strikethroughSequenceTemporary"),k(D))}function k(D){const L=R1(b);if(D===126)return S>1?E(D):(d.consume(D),S++,k);if(S<2&&!a)return E(D);const B=d.exit("strikethroughSequenceTemporary"),H=R1(D);return B._open=!H||H===2&&!!L,B._close=!L||L===2&&!!H,g(D)}}}class $P{constructor(){this.map=[]}add(n,a,s){XP(this,n,a,s)}consume(n){if(this.map.sort(function(h,d){return h[0]-d[0]}),this.map.length===0)return;let a=this.map.length;const s=[];for(;a>0;)a-=1,s.push(n.slice(this.map[a][0]+this.map[a][1]),this.map[a][2]),n.length=this.map[a][0];s.push([...n]),n.length=0;let f=s.pop();for(;f;)n.push(...f),f=s.pop();this.map.length=0}}function XP(e,n,a,s){let f=0;if(!(a===0&&s.length===0)){for(;f<e.map.length;){if(e.map[f][0]===n){e.map[f][1]+=a,e.map[f][2].push(...s);return}f+=1}e.map.push([n,a,s])}}function KP(e,n){let a=!1;const s=[];for(;n<e.length;){const f=e[n];if(a){if(f[0]==="enter")f[1].type==="tableContent"&&s.push(e[n+1][1].type==="tableDelimiterMarker"?"left":"none");else if(f[1].type==="tableContent"){if(e[n-1][1].type==="tableDelimiterMarker"){const h=s.length-1;s[h]=s[h]==="left"?"center":"right"}}else if(f[1].type==="tableDelimiterRow")break}else f[0]==="enter"&&f[1].type==="tableDelimiterRow"&&(a=!0);n+=1}return s}function JP(){return{flow:{null:{name:"table",tokenize:ZP,resolveAll:e9}}}}function ZP(e,n,a){const s=this;let f=0,h=0,d;return g;function g(K){let Ee=s.events.length-1;for(;Ee>-1;){const Oe=s.events[Ee][1].type;if(Oe==="lineEnding"||Oe==="linePrefix")Ee--;else break}const ge=Ee>-1?s.events[Ee][1].type:null,Re=ge==="tableHead"||ge==="tableRow"?X:E;return Re===X&&s.parser.lazy[s.now().line]?a(K):Re(K)}function E(K){return e.enter("tableHead"),e.enter("tableRow"),b(K)}function b(K){return K===124||(d=!0,h+=1),C(K)}function C(K){return K===null?a(K):ut(K)?h>1?(h=0,s.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(K),e.exit("lineEnding"),k):a(K):Lt(K)?Ut(e,C,"whitespace")(K):(h+=1,d&&(d=!1,f+=1),K===124?(e.enter("tableCellDivider"),e.consume(K),e.exit("tableCellDivider"),d=!0,C):(e.enter("data"),S(K)))}function S(K){return K===null||K===124||rn(K)?(e.exit("data"),C(K)):(e.consume(K),K===92?R:S)}function R(K){return K===92||K===124?(e.consume(K),S):S(K)}function k(K){return s.interrupt=!1,s.parser.lazy[s.now().line]?a(K):(e.enter("tableDelimiterRow"),d=!1,Lt(K)?Ut(e,D,"linePrefix",s.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(K):D(K))}function D(K){return K===45||K===58?B(K):K===124?(d=!0,e.enter("tableCellDivider"),e.consume(K),e.exit("tableCellDivider"),L):Z(K)}function L(K){return Lt(K)?Ut(e,B,"whitespace")(K):B(K)}function B(K){return K===58?(h+=1,d=!0,e.enter("tableDelimiterMarker"),e.consume(K),e.exit("tableDelimiterMarker"),H):K===45?(h+=1,H(K)):K===null||ut(K)?J(K):Z(K)}function H(K){return K===45?(e.enter("tableDelimiterFiller"),$(K)):Z(K)}function $(K){return K===45?(e.consume(K),$):K===58?(d=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(K),e.exit("tableDelimiterMarker"),W):(e.exit("tableDelimiterFiller"),W(K))}function W(K){return Lt(K)?Ut(e,J,"whitespace")(K):J(K)}function J(K){return K===124?D(K):K===null||ut(K)?!d||f!==h?Z(K):(e.exit("tableDelimiterRow"),e.exit("tableHead"),n(K)):Z(K)}function Z(K){return a(K)}function X(K){return e.enter("tableRow"),te(K)}function te(K){return K===124?(e.enter("tableCellDivider"),e.consume(K),e.exit("tableCellDivider"),te):K===null||ut(K)?(e.exit("tableRow"),n(K)):Lt(K)?Ut(e,te,"whitespace")(K):(e.enter("data"),we(K))}function we(K){return K===null||K===124||rn(K)?(e.exit("data"),te(K)):(e.consume(K),K===92?Me:we)}function Me(K){return K===92||K===124?(e.consume(K),we):we(K)}}function e9(e,n){let a=-1,s=!0,f=0,h=[0,0,0,0],d=[0,0,0,0],g=!1,E=0,b,C,S;const R=new $P;for(;++a<e.length;){const k=e[a],D=k[1];k[0]==="enter"?D.type==="tableHead"?(g=!1,E!==0&&(w_(R,n,E,b,C),C=void 0,E=0),b={type:"table",start:Object.assign({},D.start),end:Object.assign({},D.end)},R.add(a,0,[["enter",b,n]])):D.type==="tableRow"||D.type==="tableDelimiterRow"?(s=!0,S=void 0,h=[0,0,0,0],d=[0,a+1,0,0],g&&(g=!1,C={type:"tableBody",start:Object.assign({},D.start),end:Object.assign({},D.end)},R.add(a,0,[["enter",C,n]])),f=D.type==="tableDelimiterRow"?2:C?3:1):f&&(D.type==="data"||D.type==="tableDelimiterMarker"||D.type==="tableDelimiterFiller")?(s=!1,d[2]===0&&(h[1]!==0&&(d[0]=d[1],S=u1(R,n,h,f,void 0,S),h=[0,0,0,0]),d[2]=a)):D.type==="tableCellDivider"&&(s?s=!1:(h[1]!==0&&(d[0]=d[1],S=u1(R,n,h,f,void 0,S)),h=d,d=[h[1],a,0,0])):D.type==="tableHead"?(g=!0,E=a):D.type==="tableRow"||D.type==="tableDelimiterRow"?(E=a,h[1]!==0?(d[0]=d[1],S=u1(R,n,h,f,a,S)):d[1]!==0&&(S=u1(R,n,d,f,a,S)),f=0):f&&(D.type==="data"||D.type==="tableDelimiterMarker"||D.type==="tableDelimiterFiller")&&(d[3]=a)}for(E!==0&&w_(R,n,E,b,C),R.consume(n.events),a=-1;++a<n.events.length;){const k=n.events[a];k[0]==="enter"&&k[1].type==="table"&&(k[1]._align=KP(n.events,a))}return e}function u1(e,n,a,s,f,h){const d=s===1?"tableHeader":s===2?"tableDelimiter":"tableData",g="tableContent";a[0]!==0&&(h.end=Object.assign({},Bf(n.events,a[0])),e.add(a[0],0,[["exit",h,n]]));const E=Bf(n.events,a[1]);if(h={type:d,start:Object.assign({},E),end:Object.assign({},E)},e.add(a[1],0,[["enter",h,n]]),a[2]!==0){const b=Bf(n.events,a[2]),C=Bf(n.events,a[3]),S={type:g,start:Object.assign({},b),end:Object.assign({},C)};if(e.add(a[2],0,[["enter",S,n]]),s!==2){const R=n.events[a[2]],k=n.events[a[3]];if(R[1].end=Object.assign({},k[1].end),R[1].type="chunkText",R[1].contentType="text",a[3]>a[2]+1){const D=a[2]+1,L=a[3]-a[2]-1;e.add(D,L,[])}}e.add(a[3]+1,0,[["exit",S,n]])}return f!==void 0&&(h.end=Object.assign({},Bf(n.events,f)),e.add(f,0,[["exit",h,n]]),h=void 0),h}function w_(e,n,a,s,f){const h=[],d=Bf(n.events,a);f&&(f.end=Object.assign({},d),h.push(["exit",f,n])),s.end=Object.assign({},d),h.push(["exit",s,n]),e.add(a+1,0,h)}function Bf(e,n){const a=e[n],s=a[0]==="enter"?"start":"end";return a[1][s]}const t9={name:"tasklistCheck",tokenize:r9};function n9(){return{text:{91:t9}}}function r9(e,n,a){const s=this;return f;function f(E){return s.previous!==null||!s._gfmTasklistFirstContentOfListItem?a(E):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(E),e.exit("taskListCheckMarker"),h)}function h(E){return rn(E)?(e.enter("taskListCheckValueUnchecked"),e.consume(E),e.exit("taskListCheckValueUnchecked"),d):E===88||E===120?(e.enter("taskListCheckValueChecked"),e.consume(E),e.exit("taskListCheckValueChecked"),d):a(E)}function d(E){return E===93?(e.enter("taskListCheckMarker"),e.consume(E),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),g):a(E)}function g(E){return ut(E)?n(E):Lt(E)?e.check({tokenize:a9},n,a)(E):a(E)}}function a9(e,n,a){return Ut(e,s,"whitespace");function s(f){return f===null?a(f):n(f)}}function i9(e){return kA([m8(),HP(),GP(e),JP(),n9()])}const o9={};function VA(e){const n=this,a=e||o9,s=n.data(),f=s.micromarkExtensions||(s.micromarkExtensions=[]),h=s.fromMarkdownExtensions||(s.fromMarkdownExtensions=[]),d=s.toMarkdownExtensions||(s.toMarkdownExtensions=[]);f.push(i9(a)),h.push(l8()),d.push(c8(a))}function T_(e){const n=[],a=String(e||"");let s=a.indexOf(","),f=0,h=!1;for(;!h;){s===-1&&(s=a.length,h=!0);const d=a.slice(f,s).trim();(d||!h)&&n.push(d),f=s+1,s=a.indexOf(",",f)}return n}function YA(e,n){const a={};return(e[e.length-1]===""?[...e,""]:e).join((a.padRight?" ":"")+","+(a.padLeft===!1?"":" ")).trim()}const u9=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,s9=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,l9={};function S_(e,n){return(l9.jsx?s9:u9).test(e)}const c9=/[ \t\n\f\r]/g;function d9(e){return typeof e=="object"?e.type==="text"?C_(e.value):!1:C_(e)}function C_(e){return e.replace(c9,"")===""}class Ym{constructor(n,a,s){this.property=n,this.normal=a,s&&(this.space=s)}}Ym.prototype.property={};Ym.prototype.normal={};Ym.prototype.space=null;function WA(e,n){const a={},s={};let f=-1;for(;++f<e.length;)Object.assign(a,e[f].property),Object.assign(s,e[f].normal);return new Ym(a,s,n)}function Mm(e){return e.toLowerCase()}class Di{constructor(n,a){this.property=n,this.attribute=a}}Di.prototype.space=null;Di.prototype.boolean=!1;Di.prototype.booleanish=!1;Di.prototype.overloadedBoolean=!1;Di.prototype.number=!1;Di.prototype.commaSeparated=!1;Di.prototype.spaceSeparated=!1;Di.prototype.commaOrSpaceSeparated=!1;Di.prototype.mustUseProperty=!1;Di.prototype.defined=!1;let f9=0;const bt=Dc(),rr=Dc(),qA=Dc(),Ae=Dc(),ln=Dc(),jf=Dc(),ii=Dc();function Dc(){return 2**++f9}const yw=Object.freeze(Object.defineProperty({__proto__:null,boolean:bt,booleanish:rr,commaOrSpaceSeparated:ii,commaSeparated:jf,number:Ae,overloadedBoolean:qA,spaceSeparated:ln},Symbol.toStringTag,{value:"Module"})),Yx=Object.keys(yw);class Gw extends Di{constructor(n,a,s,f){let h=-1;if(super(n,a),__(this,"space",f),typeof s=="number")for(;++h<Yx.length;){const d=Yx[h];__(this,Yx[h],(s&yw[d])===yw[d])}}}Gw.prototype.defined=!0;function __(e,n,a){a&&(e[n]=a)}const p9={}.hasOwnProperty;function ep(e){const n={},a={};let s;for(s in e.properties)if(p9.call(e.properties,s)){const f=e.properties[s],h=new Gw(s,e.transform(e.attributes||{},s),f,e.space);e.mustUseProperty&&e.mustUseProperty.includes(s)&&(h.mustUseProperty=!0),n[s]=h,a[Mm(s)]=s,a[Mm(h.attribute)]=s}return new Ym(n,a,e.space)}const QA=ep({space:"xlink",transform(e,n){return"xlink:"+n.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),GA=ep({space:"xml",transform(e,n){return"xml:"+n.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function $A(e,n){return n in e?e[n]:n}function XA(e,n){return $A(e,n.toLowerCase())}const KA=ep({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:XA,properties:{xmlns:null,xmlnsXLink:null}}),JA=ep({transform(e,n){return n==="role"?n:"aria-"+n.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:rr,ariaAutoComplete:null,ariaBusy:rr,ariaChecked:rr,ariaColCount:Ae,ariaColIndex:Ae,ariaColSpan:Ae,ariaControls:ln,ariaCurrent:null,ariaDescribedBy:ln,ariaDetails:null,ariaDisabled:rr,ariaDropEffect:ln,ariaErrorMessage:null,ariaExpanded:rr,ariaFlowTo:ln,ariaGrabbed:rr,ariaHasPopup:null,ariaHidden:rr,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:ln,ariaLevel:Ae,ariaLive:null,ariaModal:rr,ariaMultiLine:rr,ariaMultiSelectable:rr,ariaOrientation:null,ariaOwns:ln,ariaPlaceholder:null,ariaPosInSet:Ae,ariaPressed:rr,ariaReadOnly:rr,ariaRelevant:null,ariaRequired:rr,ariaRoleDescription:ln,ariaRowCount:Ae,ariaRowIndex:Ae,ariaRowSpan:Ae,ariaSelected:rr,ariaSetSize:Ae,ariaSort:null,ariaValueMax:Ae,ariaValueMin:Ae,ariaValueNow:Ae,ariaValueText:null,role:null}}),h9=ep({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:XA,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:jf,acceptCharset:ln,accessKey:ln,action:null,allow:null,allowFullScreen:bt,allowPaymentRequest:bt,allowUserMedia:bt,alt:null,as:null,async:bt,autoCapitalize:null,autoComplete:ln,autoFocus:bt,autoPlay:bt,blocking:ln,capture:null,charSet:null,checked:bt,cite:null,className:ln,cols:Ae,colSpan:null,content:null,contentEditable:rr,controls:bt,controlsList:ln,coords:Ae|jf,crossOrigin:null,data:null,dateTime:null,decoding:null,default:bt,defer:bt,dir:null,dirName:null,disabled:bt,download:qA,draggable:rr,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:bt,formTarget:null,headers:ln,height:Ae,hidden:bt,high:Ae,href:null,hrefLang:null,htmlFor:ln,httpEquiv:ln,id:null,imageSizes:null,imageSrcSet:null,inert:bt,inputMode:null,integrity:null,is:null,isMap:bt,itemId:null,itemProp:ln,itemRef:ln,itemScope:bt,itemType:ln,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:bt,low:Ae,manifest:null,max:null,maxLength:Ae,media:null,method:null,min:null,minLength:Ae,multiple:bt,muted:bt,name:null,nonce:null,noModule:bt,noValidate:bt,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:bt,optimum:Ae,pattern:null,ping:ln,placeholder:null,playsInline:bt,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:bt,referrerPolicy:null,rel:ln,required:bt,reversed:bt,rows:Ae,rowSpan:Ae,sandbox:ln,scope:null,scoped:bt,seamless:bt,selected:bt,shadowRootClonable:bt,shadowRootDelegatesFocus:bt,shadowRootMode:null,shape:null,size:Ae,sizes:null,slot:null,span:Ae,spellCheck:rr,src:null,srcDoc:null,srcLang:null,srcSet:null,start:Ae,step:null,style:null,tabIndex:Ae,target:null,title:null,translate:null,type:null,typeMustMatch:bt,useMap:null,value:rr,width:Ae,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:ln,axis:null,background:null,bgColor:null,border:Ae,borderColor:null,bottomMargin:Ae,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:bt,declare:bt,event:null,face:null,frame:null,frameBorder:null,hSpace:Ae,leftMargin:Ae,link:null,longDesc:null,lowSrc:null,marginHeight:Ae,marginWidth:Ae,noResize:bt,noHref:bt,noShade:bt,noWrap:bt,object:null,profile:null,prompt:null,rev:null,rightMargin:Ae,rules:null,scheme:null,scrolling:rr,standby:null,summary:null,text:null,topMargin:Ae,valueType:null,version:null,vAlign:null,vLink:null,vSpace:Ae,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:bt,disableRemotePlayback:bt,prefix:null,property:null,results:Ae,security:null,unselectable:null}}),m9=ep({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:$A,properties:{about:ii,accentHeight:Ae,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:Ae,amplitude:Ae,arabicForm:null,ascent:Ae,attributeName:null,attributeType:null,azimuth:Ae,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:Ae,by:null,calcMode:null,capHeight:Ae,className:ln,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:Ae,diffuseConstant:Ae,direction:null,display:null,dur:null,divisor:Ae,dominantBaseline:null,download:bt,dx:null,dy:null,edgeMode:null,editable:null,elevation:Ae,enableBackground:null,end:null,event:null,exponent:Ae,externalResourcesRequired:null,fill:null,fillOpacity:Ae,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:jf,g2:jf,glyphName:jf,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:Ae,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:Ae,horizOriginX:Ae,horizOriginY:Ae,id:null,ideographic:Ae,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:Ae,k:Ae,k1:Ae,k2:Ae,k3:Ae,k4:Ae,kernelMatrix:ii,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:Ae,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:Ae,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:Ae,overlineThickness:Ae,paintOrder:null,panose1:null,path:null,pathLength:Ae,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:ln,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:Ae,pointsAtY:Ae,pointsAtZ:Ae,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:ii,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:ii,rev:ii,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:ii,requiredFeatures:ii,requiredFonts:ii,requiredFormats:ii,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:Ae,specularExponent:Ae,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:Ae,strikethroughThickness:Ae,string:null,stroke:null,strokeDashArray:ii,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:Ae,strokeOpacity:Ae,strokeWidth:null,style:null,surfaceScale:Ae,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:ii,tabIndex:Ae,tableValues:null,target:null,targetX:Ae,targetY:Ae,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:ii,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:Ae,underlineThickness:Ae,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:Ae,values:null,vAlphabetic:Ae,vMathematical:Ae,vectorEffect:null,vHanging:Ae,vIdeographic:Ae,version:null,vertAdvY:Ae,vertOriginX:Ae,vertOriginY:Ae,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:Ae,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),g9=/^data[-\w.:]+$/i,k_=/-[a-z]/g,v9=/[A-Z]/g;function W1(e,n){const a=Mm(n);let s=n,f=Di;if(a in e.normal)return e.property[e.normal[a]];if(a.length>4&&a.slice(0,4)==="data"&&g9.test(n)){if(n.charAt(4)==="-"){const h=n.slice(5).replace(k_,E9);s="data"+h.charAt(0).toUpperCase()+h.slice(1)}else{const h=n.slice(4);if(!k_.test(h)){let d=h.replace(v9,y9);d.charAt(0)!=="-"&&(d="-"+d),n="data"+d}}f=Gw}return new f(s,n)}function y9(e){return"-"+e.toLowerCase()}function E9(e){return e.charAt(1).toUpperCase()}const b9={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},Wm=WA([GA,QA,KA,JA,h9],"html"),ll=WA([GA,QA,KA,JA,m9],"svg");function A_(e){const n=String(e||"").trim();return n?n.split(/[ \t\n\r\f]+/g):[]}function ZA(e){return e.join(" ").trim()}var e3={},R_=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,x9=/\n/g,w9=/^\s*/,T9=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,S9=/^:\s*/,C9=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,_9=/^[;\s]*/,k9=/^\s+|\s+$/g,A9=`
16
- `,N_="/",D_="*",_c="",R9="comment",N9="declaration",D9=function(e,n){if(typeof e!="string")throw new TypeError("First argument must be a string");if(!e)return[];n=n||{};var a=1,s=1;function f(D){var L=D.match(x9);L&&(a+=L.length);var B=D.lastIndexOf(A9);s=~B?D.length-B:s+D.length}function h(){var D={line:a,column:s};return function(L){return L.position=new d(D),b(),L}}function d(D){this.start=D,this.end={line:a,column:s},this.source=n.source}d.prototype.content=e;function g(D){var L=new Error(n.source+":"+a+":"+s+": "+D);if(L.reason=D,L.filename=n.source,L.line=a,L.column=s,L.source=e,!n.silent)throw L}function E(D){var L=D.exec(e);if(L){var B=L[0];return f(B),e=e.slice(B.length),L}}function b(){E(w9)}function C(D){var L;for(D=D||[];L=S();)L!==!1&&D.push(L);return D}function S(){var D=h();if(!(N_!=e.charAt(0)||D_!=e.charAt(1))){for(var L=2;_c!=e.charAt(L)&&(D_!=e.charAt(L)||N_!=e.charAt(L+1));)++L;if(L+=2,_c===e.charAt(L-1))return g("End of comment missing");var B=e.slice(2,L-2);return s+=2,f(B),e=e.slice(L),s+=2,D({type:R9,comment:B})}}function R(){var D=h(),L=E(T9);if(L){if(S(),!E(S9))return g("property missing ':'");var B=E(C9),H=D({type:N9,property:O_(L[0].replace(R_,_c)),value:B?O_(B[0].replace(R_,_c)):_c});return E(_9),H}}function k(){var D=[];C(D);for(var L;L=R();)L!==!1&&(D.push(L),C(D));return D}return b(),k()};function O_(e){return e?e.replace(k9,_c):_c}var O9=ft.commonjsGlobal&&ft.commonjsGlobal.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e3,"__esModule",{value:!0});var L_=e3.default=I9,L9=O9(D9);function I9(e,n){var a=null;if(!e||typeof e!="string")return a;var s=(0,L9.default)(e),f=typeof n=="function";return s.forEach(function(h){if(h.type==="declaration"){var d=h.property,g=h.value;f?n(d,g,h):g&&(a=a||{},a[d]=g)}}),a}const M9=L_.default||L_,q1=t3("end"),qo=t3("start");function t3(e){return n;function n(a){const s=a&&a.position&&a.position[e]||{};if(typeof s.line=="number"&&s.line>0&&typeof s.column=="number"&&s.column>0)return{line:s.line,column:s.column,offset:typeof s.offset=="number"&&s.offset>-1?s.offset:void 0}}}function P9(e){const n=qo(e),a=q1(e);if(n&&a)return{start:n,end:a}}function Rm(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?I_(e.position):"start"in e||"end"in e?I_(e):"line"in e||"column"in e?Ew(e):""}function Ew(e){return M_(e&&e.line)+":"+M_(e&&e.column)}function I_(e){return Ew(e&&e.start)+"-"+Ew(e&&e.end)}function M_(e){return e&&typeof e=="number"?e:1}class aa extends Error{constructor(n,a,s){super(),typeof a=="string"&&(s=a,a=void 0);let f="",h={},d=!1;if(a&&("line"in a&&"column"in a?h={place:a}:"start"in a&&"end"in a?h={place:a}:"type"in a?h={ancestors:[a],place:a.position}:h={...a}),typeof n=="string"?f=n:!h.cause&&n&&(d=!0,f=n.message,h.cause=n),!h.ruleId&&!h.source&&typeof s=="string"){const E=s.indexOf(":");E===-1?h.ruleId=s:(h.source=s.slice(0,E),h.ruleId=s.slice(E+1))}if(!h.place&&h.ancestors&&h.ancestors){const E=h.ancestors[h.ancestors.length-1];E&&(h.place=E.position)}const g=h.place&&"start"in h.place?h.place.start:h.place;this.ancestors=h.ancestors||void 0,this.cause=h.cause||void 0,this.column=g?g.column:void 0,this.fatal=void 0,this.file,this.message=f,this.line=g?g.line:void 0,this.name=Rm(h.place)||"1:1",this.place=h.place||void 0,this.reason=this.message,this.ruleId=h.ruleId||void 0,this.source=h.source||void 0,this.stack=d&&h.cause&&typeof h.cause.stack=="string"?h.cause.stack:"",this.actual,this.expected,this.note,this.url}}aa.prototype.file="";aa.prototype.name="";aa.prototype.reason="";aa.prototype.message="";aa.prototype.stack="";aa.prototype.column=void 0;aa.prototype.line=void 0;aa.prototype.ancestors=void 0;aa.prototype.cause=void 0;aa.prototype.fatal=void 0;aa.prototype.place=void 0;aa.prototype.ruleId=void 0;aa.prototype.source=void 0;const $w={}.hasOwnProperty,F9=new Map,U9=/[A-Z]/g,B9=/-([a-z])/g,H9=new Set(["table","tbody","thead","tfoot","tr"]),z9=new Set(["td","th"]),n3="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function j9(e,n){if(!n||n.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const a=n.filePath||void 0;let s;if(n.development){if(typeof n.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");s=X9(a,n.jsxDEV)}else{if(typeof n.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof n.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");s=$9(a,n.jsx,n.jsxs)}const f={Fragment:n.Fragment,ancestors:[],components:n.components||{},create:s,elementAttributeNameCase:n.elementAttributeNameCase||"react",evaluater:n.createEvaluater?n.createEvaluater():void 0,filePath:a,ignoreInvalidStyle:n.ignoreInvalidStyle||!1,passKeys:n.passKeys!==!1,passNode:n.passNode||!1,schema:n.space==="svg"?ll:Wm,stylePropertyNameCase:n.stylePropertyNameCase||"dom",tableCellAlignToStyle:n.tableCellAlignToStyle!==!1},h=r3(f,e,void 0);return h&&typeof h!="string"?h:f.create(e,f.Fragment,{children:h||void 0},void 0)}function r3(e,n,a){if(n.type==="element")return V9(e,n,a);if(n.type==="mdxFlowExpression"||n.type==="mdxTextExpression")return Y9(e,n);if(n.type==="mdxJsxFlowElement"||n.type==="mdxJsxTextElement")return q9(e,n,a);if(n.type==="mdxjsEsm")return W9(e,n);if(n.type==="root")return Q9(e,n,a);if(n.type==="text")return G9(e,n)}function V9(e,n,a){const s=e.schema;let f=s;n.tagName.toLowerCase()==="svg"&&s.space==="html"&&(f=ll,e.schema=f),e.ancestors.push(n);const h=i3(e,n.tagName,!1),d=K9(e,n);let g=Kw(e,n);return H9.has(n.tagName)&&(g=g.filter(function(E){return typeof E=="string"?!d9(E):!0})),a3(e,d,h,n),Xw(d,g),e.ancestors.pop(),e.schema=s,e.create(n,h,d,a)}function Y9(e,n){if(n.data&&n.data.estree&&e.evaluater){const s=n.data.estree.body[0];return s.type,e.evaluater.evaluateExpression(s.expression)}Pm(e,n.position)}function W9(e,n){if(n.data&&n.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(n.data.estree);Pm(e,n.position)}function q9(e,n,a){const s=e.schema;let f=s;n.name==="svg"&&s.space==="html"&&(f=ll,e.schema=f),e.ancestors.push(n);const h=n.name===null?e.Fragment:i3(e,n.name,!0),d=J9(e,n),g=Kw(e,n);return a3(e,d,h,n),Xw(d,g),e.ancestors.pop(),e.schema=s,e.create(n,h,d,a)}function Q9(e,n,a){const s={};return Xw(s,Kw(e,n)),e.create(n,e.Fragment,s,a)}function G9(e,n){return n.value}function a3(e,n,a,s){typeof a!="string"&&a!==e.Fragment&&e.passNode&&(n.node=s)}function Xw(e,n){if(n.length>0){const a=n.length>1?n:n[0];a&&(e.children=a)}}function $9(e,n,a){return s;function s(f,h,d,g){const b=Array.isArray(d.children)?a:n;return g?b(h,d,g):b(h,d)}}function X9(e,n){return a;function a(s,f,h,d){const g=Array.isArray(h.children),E=qo(s);return n(f,h,d,g,{columnNumber:E?E.column-1:void 0,fileName:e,lineNumber:E?E.line:void 0},void 0)}}function K9(e,n){const a={};let s,f;for(f in n.properties)if(f!=="children"&&$w.call(n.properties,f)){const h=Z9(e,f,n.properties[f]);if(h){const[d,g]=h;e.tableCellAlignToStyle&&d==="align"&&typeof g=="string"&&z9.has(n.tagName)?s=g:a[d]=g}}if(s){const h=a.style||(a.style={});h[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=s}return a}function J9(e,n){const a={};for(const s of n.attributes)if(s.type==="mdxJsxExpressionAttribute")if(s.data&&s.data.estree&&e.evaluater){const h=s.data.estree.body[0];h.type;const d=h.expression;d.type;const g=d.properties[0];g.type,Object.assign(a,e.evaluater.evaluateExpression(g.argument))}else Pm(e,n.position);else{const f=s.name;let h;if(s.value&&typeof s.value=="object")if(s.value.data&&s.value.data.estree&&e.evaluater){const g=s.value.data.estree.body[0];g.type,h=e.evaluater.evaluateExpression(g.expression)}else Pm(e,n.position);else h=s.value===null?!0:s.value;a[f]=h}return a}function Kw(e,n){const a=[];let s=-1;const f=e.passKeys?new Map:F9;for(;++s<n.children.length;){const h=n.children[s];let d;if(e.passKeys){const E=h.type==="element"?h.tagName:h.type==="mdxJsxFlowElement"||h.type==="mdxJsxTextElement"?h.name:void 0;if(E){const b=f.get(E)||0;d=E+"-"+b,f.set(E,b+1)}}const g=r3(e,h,d);g!==void 0&&a.push(g)}return a}function Z9(e,n,a){const s=W1(e.schema,n);if(!(a==null||typeof a=="number"&&Number.isNaN(a))){if(Array.isArray(a)&&(a=s.commaSeparated?YA(a):ZA(a)),s.property==="style"){let f=typeof a=="object"?a:eF(e,String(a));return e.stylePropertyNameCase==="css"&&(f=tF(f)),["style",f]}return[e.elementAttributeNameCase==="react"&&s.space?b9[s.property]||s.property:s.attribute,a]}}function eF(e,n){const a={};try{M9(n,s)}catch(f){if(!e.ignoreInvalidStyle){const h=f,d=new aa("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:h,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw d.file=e.filePath||void 0,d.url=n3+"#cannot-parse-style-attribute",d}}return a;function s(f,h){let d=f;d.slice(0,2)!=="--"&&(d.slice(0,4)==="-ms-"&&(d="ms-"+d.slice(4)),d=d.replace(B9,rF)),a[d]=h}}function i3(e,n,a){let s;if(!a)s={type:"Literal",value:n};else if(n.includes(".")){const f=n.split(".");let h=-1,d;for(;++h<f.length;){const g=S_(f[h])?{type:"Identifier",name:f[h]}:{type:"Literal",value:f[h]};d=d?{type:"MemberExpression",object:d,property:g,computed:!!(h&&g.type==="Literal"),optional:!1}:g}s=d}else s=S_(n)&&!/^[a-z]/.test(n)?{type:"Identifier",name:n}:{type:"Literal",value:n};if(s.type==="Literal"){const f=s.value;return $w.call(e.components,f)?e.components[f]:f}if(e.evaluater)return e.evaluater.evaluateExpression(s);Pm(e)}function Pm(e,n){const a=new aa("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:n,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw a.file=e.filePath||void 0,a.url=n3+"#cannot-handle-mdx-estrees-without-createevaluater",a}function tF(e){const n={};let a;for(a in e)$w.call(e,a)&&(n[nF(a)]=e[a]);return n}function nF(e){let n=e.replace(U9,aF);return n.slice(0,3)==="ms-"&&(n="-"+n),n}function rF(e,n){return n.toUpperCase()}function aF(e){return"-"+e.toLowerCase()}const Wx={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]},iF={tokenize:oF};function oF(e){const n=e.attempt(this.parser.constructs.contentInitial,s,f);let a;return n;function s(g){if(g===null){e.consume(g);return}return e.enter("lineEnding"),e.consume(g),e.exit("lineEnding"),Ut(e,n,"linePrefix")}function f(g){return e.enter("paragraph"),h(g)}function h(g){const E=e.enter("chunkText",{contentType:"text",previous:a});return a&&(a.next=E),a=E,d(g)}function d(g){if(g===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(g);return}return ut(g)?(e.consume(g),e.exit("chunkText"),h):(e.consume(g),d)}}const uF={tokenize:sF},P_={tokenize:lF};function sF(e){const n=this,a=[];let s=0,f,h,d;return g;function g(W){if(s<a.length){const J=a[s];return n.containerState=J[1],e.attempt(J[0].continuation,E,b)(W)}return b(W)}function E(W){if(s++,n.containerState._closeFlow){n.containerState._closeFlow=void 0,f&&$();const J=n.events.length;let Z=J,X;for(;Z--;)if(n.events[Z][0]==="exit"&&n.events[Z][1].type==="chunkFlow"){X=n.events[Z][1].end;break}H(s);let te=J;for(;te<n.events.length;)n.events[te][1].end=Object.assign({},X),te++;return Ni(n.events,Z+1,0,n.events.slice(J)),n.events.length=te,b(W)}return g(W)}function b(W){if(s===a.length){if(!f)return R(W);if(f.currentConstruct&&f.currentConstruct.concrete)return D(W);n.interrupt=!!(f.currentConstruct&&!f._gfmTableDynamicInterruptHack)}return n.containerState={},e.check(P_,C,S)(W)}function C(W){return f&&$(),H(s),R(W)}function S(W){return n.parser.lazy[n.now().line]=s!==a.length,d=n.now().offset,D(W)}function R(W){return n.containerState={},e.attempt(P_,k,D)(W)}function k(W){return s++,a.push([n.currentConstruct,n.containerState]),R(W)}function D(W){if(W===null){f&&$(),H(0),e.consume(W);return}return f=f||n.parser.flow(n.now()),e.enter("chunkFlow",{contentType:"flow",previous:h,_tokenizer:f}),L(W)}function L(W){if(W===null){B(e.exit("chunkFlow"),!0),H(0),e.consume(W);return}return ut(W)?(e.consume(W),B(e.exit("chunkFlow")),s=0,n.interrupt=void 0,g):(e.consume(W),L)}function B(W,J){const Z=n.sliceStream(W);if(J&&Z.push(null),W.previous=h,h&&(h.next=W),h=W,f.defineSkip(W.start),f.write(Z),n.parser.lazy[W.start.line]){let X=f.events.length;for(;X--;)if(f.events[X][1].start.offset<d&&(!f.events[X][1].end||f.events[X][1].end.offset>d))return;const te=n.events.length;let we=te,Me,K;for(;we--;)if(n.events[we][0]==="exit"&&n.events[we][1].type==="chunkFlow"){if(Me){K=n.events[we][1].end;break}Me=!0}for(H(s),X=te;X<n.events.length;)n.events[X][1].end=Object.assign({},K),X++;Ni(n.events,we+1,0,n.events.slice(te)),n.events.length=X}}function H(W){let J=a.length;for(;J-- >W;){const Z=a[J];n.containerState=Z[1],Z[0].exit.call(n,e)}a.length=W}function $(){f.write([null]),h=void 0,f=void 0,n.containerState._closeFlow=void 0}}function lF(e,n,a){return Ut(e,e.attempt(this.parser.constructs.document,n,a),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}const cF={tokenize:dF};function dF(e){const n=this,a=e.attempt(Vm,s,e.attempt(this.parser.constructs.flowInitial,f,Ut(e,e.attempt(this.parser.constructs.flow,f,e.attempt(W8,f)),"linePrefix")));return a;function s(h){if(h===null){e.consume(h);return}return e.enter("lineEndingBlank"),e.consume(h),e.exit("lineEndingBlank"),n.currentConstruct=void 0,a}function f(h){if(h===null){e.consume(h);return}return e.enter("lineEnding"),e.consume(h),e.exit("lineEnding"),n.currentConstruct=void 0,a}}const fF={resolveAll:u3()},pF=o3("string"),hF=o3("text");function o3(e){return{tokenize:n,resolveAll:u3(e==="text"?mF:void 0)};function n(a){const s=this,f=this.parser.constructs[e],h=a.attempt(f,d,g);return d;function d(C){return b(C)?h(C):g(C)}function g(C){if(C===null){a.consume(C);return}return a.enter("data"),a.consume(C),E}function E(C){return b(C)?(a.exit("data"),h(C)):(a.consume(C),E)}function b(C){if(C===null)return!0;const S=f[C];let R=-1;if(S)for(;++R<S.length;){const k=S[R];if(!k.previous||k.previous.call(s,s.previous))return!0}return!1}}}function u3(e){return n;function n(a,s){let f=-1,h;for(;++f<=a.length;)h===void 0?a[f]&&a[f][1].type==="data"&&(h=f,f++):(!a[f]||a[f][1].type!=="data")&&(f!==h+2&&(a[h][1].end=a[f-1][1].end,a.splice(h+2,f-h-2),f=h+2),h=void 0);return e?e(a,s):a}}function mF(e,n){let a=0;for(;++a<=e.length;)if((a===e.length||e[a][1].type==="lineEnding")&&e[a-1][1].type==="data"){const s=e[a-1][1],f=n.sliceStream(s);let h=f.length,d=-1,g=0,E;for(;h--;){const b=f[h];if(typeof b=="string"){for(d=b.length;b.charCodeAt(d-1)===32;)g++,d--;if(d)break;d=-1}else if(b===-2)E=!0,g++;else if(b!==-1){h++;break}}if(g){const b={type:a===e.length||E||g<2?"lineSuffix":"hardBreakTrailing",start:{line:s.end.line,column:s.end.column-g,offset:s.end.offset-g,_index:s.start._index+h,_bufferIndex:h?d:s.start._bufferIndex+d},end:Object.assign({},s.end)};s.end=Object.assign({},b.start),s.start.offset===s.end.offset?Object.assign(s,b):(e.splice(a,0,["enter",b,n],["exit",b,n]),a+=2)}a++}return e}function gF(e,n,a){let s=Object.assign(a?Object.assign({},a):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1});const f={},h=[];let d=[],g=[];const E={consume:$,enter:W,exit:J,attempt:te(Z),check:te(X),interrupt:te(X,{interrupt:!0})},b={previous:null,code:null,containerState:{},events:[],parser:e,sliceStream:k,sliceSerialize:R,now:D,defineSkip:L,write:S};let C=n.tokenize.call(b,E);return n.resolveAll&&h.push(n),b;function S(Ee){return d=Ai(d,Ee),B(),d[d.length-1]!==null?[]:(we(n,0),b.events=Y1(h,b.events,b),b.events)}function R(Ee,ge){return yF(k(Ee),ge)}function k(Ee){return vF(d,Ee)}function D(){const{line:Ee,column:ge,offset:Re,_index:Oe,_bufferIndex:qe}=s;return{line:Ee,column:ge,offset:Re,_index:Oe,_bufferIndex:qe}}function L(Ee){f[Ee.line]=Ee.column,K()}function B(){let Ee;for(;s._index<d.length;){const ge=d[s._index];if(typeof ge=="string")for(Ee=s._index,s._bufferIndex<0&&(s._bufferIndex=0);s._index===Ee&&s._bufferIndex<ge.length;)H(ge.charCodeAt(s._bufferIndex));else H(ge)}}function H(Ee){C=C(Ee)}function $(Ee){ut(Ee)?(s.line++,s.column=1,s.offset+=Ee===-3?2:1,K()):Ee!==-1&&(s.column++,s.offset++),s._bufferIndex<0?s._index++:(s._bufferIndex++,s._bufferIndex===d[s._index].length&&(s._bufferIndex=-1,s._index++)),b.previous=Ee}function W(Ee,ge){const Re=ge||{};return Re.type=Ee,Re.start=D(),b.events.push(["enter",Re,b]),g.push(Re),Re}function J(Ee){const ge=g.pop();return ge.end=D(),b.events.push(["exit",ge,b]),ge}function Z(Ee,ge){we(Ee,ge.from)}function X(Ee,ge){ge.restore()}function te(Ee,ge){return Re;function Re(Oe,qe,je){let at,he,De,F;return Array.isArray(Oe)?Et(Oe):"tokenize"in Oe?Et([Oe]):et(Oe);function et(Nt){return ar;function ar(cn){const Rn=cn!==null&&Nt[cn],kr=cn!==null&&Nt.null,Nn=[...Array.isArray(Rn)?Rn:Rn?[Rn]:[],...Array.isArray(kr)?kr:kr?[kr]:[]];return Et(Nn)(cn)}}function Et(Nt){return at=Nt,he=0,Nt.length===0?je:V(Nt[he])}function V(Nt){return ar;function ar(cn){return F=Me(),De=Nt,Nt.partial||(b.currentConstruct=Nt),Nt.name&&b.parser.constructs.disable.null.includes(Nt.name)?Gn():Nt.tokenize.call(ge?Object.assign(Object.create(b),ge):b,E,Gt,Gn)(cn)}}function Gt(Nt){return Ee(De,F),qe}function Gn(Nt){return F.restore(),++he<at.length?V(at[he]):je}}}function we(Ee,ge){Ee.resolveAll&&!h.includes(Ee)&&h.push(Ee),Ee.resolve&&Ni(b.events,ge,b.events.length-ge,Ee.resolve(b.events.slice(ge),b)),Ee.resolveTo&&(b.events=Ee.resolveTo(b.events,b))}function Me(){const Ee=D(),ge=b.previous,Re=b.currentConstruct,Oe=b.events.length,qe=Array.from(g);return{restore:je,from:Oe};function je(){s=Ee,b.previous=ge,b.currentConstruct=Re,b.events.length=Oe,g=qe,K()}}function K(){s.line in f&&s.column<2&&(s.column=f[s.line],s.offset+=f[s.line]-1)}}function vF(e,n){const a=n.start._index,s=n.start._bufferIndex,f=n.end._index,h=n.end._bufferIndex;let d;if(a===f)d=[e[a].slice(s,h)];else{if(d=e.slice(a,f),s>-1){const g=d[0];typeof g=="string"?d[0]=g.slice(s):d.shift()}h>0&&d.push(e[f].slice(0,h))}return d}function yF(e,n){let a=-1;const s=[];let f;for(;++a<e.length;){const h=e[a];let d;if(typeof h=="string")d=h;else switch(h){case-5:{d="\r";break}case-4:{d=`
17
- `;break}case-3:{d=`\r
18
- `;break}case-2:{d=n?" ":" ";break}case-1:{if(!n&&f)continue;d=" ";break}default:d=String.fromCharCode(h)}f=h===-2,s.push(d)}return s.join("")}const EF={42:Qa,43:Qa,45:Qa,48:Qa,49:Qa,50:Qa,51:Qa,52:Qa,53:Qa,54:Qa,55:Qa,56:Qa,57:Qa,62:PA},bF={91:X8},xF={[-2]:jx,[-1]:jx,32:jx},wF={35:nP,42:E1,45:[x_,E1],60:oP,61:x_,95:E1,96:E_,126:E_},TF={38:UA,92:FA},SF={[-5]:Vx,[-4]:Vx,[-3]:Vx,33:SP,38:UA,42:vw,60:[_8,pP],91:_P,92:[eP,FA],93:Qw,95:vw,96:B8},CF={null:[vw,fF]},_F={null:[42,95]},kF={null:[]},AF=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:_F,contentInitial:bF,disable:kF,document:EF,flow:wF,flowInitial:xF,insideSpan:CF,string:TF,text:SF},Symbol.toStringTag,{value:"Module"}));function RF(e){const a=kA([AF,...(e||{}).extensions||[]]),s={defined:[],lazy:{},constructs:a,content:f(iF),document:f(uF),flow:f(cF),string:f(pF),text:f(hF)};return s;function f(h){return d;function d(g){return gF(s,h,g)}}}function NF(e){for(;!BA(e););return e}const F_=/[\0\t\n\r]/g;function DF(){let e=1,n="",a=!0,s;return f;function f(h,d,g){const E=[];let b,C,S,R,k;for(h=n+(typeof h=="string"?h.toString():new TextDecoder(d||void 0).decode(h)),S=0,n="",a&&(h.charCodeAt(0)===65279&&S++,a=void 0);S<h.length;){if(F_.lastIndex=S,b=F_.exec(h),R=b&&b.index!==void 0?b.index:h.length,k=h.charCodeAt(R),!b){n=h.slice(S);break}if(k===10&&S===R&&s)E.push(-3),s=void 0;else switch(s&&(E.push(-5),s=void 0),S<R&&(E.push(h.slice(S,R)),e+=R-S),k){case 0:{E.push(65533),e++;break}case 9:{for(C=Math.ceil(e/4)*4,E.push(-2);e++<C;)E.push(-1);break}case 10:{E.push(-4),e=1;break}default:s=!0,e=1}S=R+1}return g&&(s&&E.push(-5),n&&E.push(n),E.push(null)),E}}const s3={}.hasOwnProperty;function OF(e,n,a){return typeof n!="string"&&(a=n,n=void 0),LF(a)(NF(RF(a).document().write(DF()(e,n,!0))))}function LF(e){const n={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:h(Hr),autolinkProtocol:Me,autolinkEmail:Me,atxHeading:h(ir),blockQuote:h(kr),characterEscape:Me,characterReference:Me,codeFenced:h(Nn),codeFencedFenceInfo:d,codeFencedFenceMeta:d,codeIndented:h(Nn,d),codeText:h(Br,d),codeTextData:Me,data:Me,codeFlowValue:Me,definition:h(an),definitionDestinationString:d,definitionLabelString:d,definitionTitleString:d,emphasis:h(Fn),hardBreakEscape:h(yr),hardBreakTrailing:h(yr),htmlFlow:h($n,d),htmlFlowData:Me,htmlText:h($n,d),htmlTextData:Me,image:h(oa),label:d,link:h(Hr),listItem:h(ci),listItemValue:R,listOrdered:h(li,S),listUnordered:h(li),paragraph:h(Oi),reference:V,referenceString:d,resourceDestinationString:d,resourceTitleString:d,setextHeading:h(ir),strong:h(ua),thematicBreak:h(xa)},exit:{atxHeading:E(),atxHeadingSequence:Z,autolink:E(),autolinkEmail:Rn,autolinkProtocol:cn,blockQuote:E(),characterEscapeValue:K,characterReferenceMarkerHexadecimal:Gn,characterReferenceMarkerNumeric:Gn,characterReferenceValue:Nt,characterReference:ar,codeFenced:E(B),codeFencedFence:L,codeFencedFenceInfo:k,codeFencedFenceMeta:D,codeFlowValue:K,codeIndented:E(H),codeText:E(qe),codeTextData:K,data:K,definition:E(),definitionDestinationString:J,definitionLabelString:$,definitionTitleString:W,emphasis:E(),hardBreakEscape:E(ge),hardBreakTrailing:E(ge),htmlFlow:E(Re),htmlFlowData:K,htmlText:E(Oe),htmlTextData:K,image:E(at),label:De,labelText:he,lineEnding:Ee,link:E(je),listItem:E(),listOrdered:E(),listUnordered:E(),paragraph:E(),referenceString:Gt,resourceDestinationString:F,resourceTitleString:et,resource:Et,setextHeading:E(we),setextHeadingLineSequence:te,setextHeadingText:X,strong:E(),thematicBreak:E()}};l3(n,(e||{}).mdastExtensions||[]);const a={};return s;function s(de){let Ce={type:"root",children:[]};const tt={stack:[Ce],tokenStack:[],config:n,enter:g,exit:b,buffer:d,resume:C,data:a},yt=[];let At=-1;for(;++At<de.length;)if(de[At][1].type==="listOrdered"||de[At][1].type==="listUnordered")if(de[At][0]==="enter")yt.push(At);else{const Ne=yt.pop();At=f(de,Ne,At)}for(At=-1;++At<de.length;){const Ne=n[de[At][0]];s3.call(Ne,de[At][1].type)&&Ne[de[At][1].type].call(Object.assign({sliceSerialize:de[At][2].sliceSerialize},tt),de[At][1])}if(tt.tokenStack.length>0){const Ne=tt.tokenStack[tt.tokenStack.length-1];(Ne[1]||U_).call(tt,void 0,Ne[0])}for(Ce.position={start:Xs(de.length>0?de[0][1].start:{line:1,column:1,offset:0}),end:Xs(de.length>0?de[de.length-2][1].end:{line:1,column:1,offset:0})},At=-1;++At<n.transforms.length;)Ce=n.transforms[At](Ce)||Ce;return Ce}function f(de,Ce,tt){let yt=Ce-1,At=-1,Ne=!1,Ge,dt,It,$t;for(;++yt<=tt;){const Ht=de[yt];switch(Ht[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{Ht[0]==="enter"?At++:At--,$t=void 0;break}case"lineEndingBlank":{Ht[0]==="enter"&&(Ge&&!$t&&!At&&!It&&(It=yt),$t=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:$t=void 0}if(!At&&Ht[0]==="enter"&&Ht[1].type==="listItemPrefix"||At===-1&&Ht[0]==="exit"&&(Ht[1].type==="listUnordered"||Ht[1].type==="listOrdered")){if(Ge){let Kt=yt;for(dt=void 0;Kt--;){const mn=de[Kt];if(mn[1].type==="lineEnding"||mn[1].type==="lineEndingBlank"){if(mn[0]==="exit")continue;dt&&(de[dt][1].type="lineEndingBlank",Ne=!0),mn[1].type="lineEnding",dt=Kt}else if(!(mn[1].type==="linePrefix"||mn[1].type==="blockQuotePrefix"||mn[1].type==="blockQuotePrefixWhitespace"||mn[1].type==="blockQuoteMarker"||mn[1].type==="listItemIndent"))break}It&&(!dt||It<dt)&&(Ge._spread=!0),Ge.end=Object.assign({},dt?de[dt][1].start:Ht[1].end),de.splice(dt||yt,0,["exit",Ge,Ht[2]]),yt++,tt++}if(Ht[1].type==="listItemPrefix"){const Kt={type:"listItem",_spread:!1,start:Object.assign({},Ht[1].start),end:void 0};Ge=Kt,de.splice(yt,0,["enter",Kt,Ht[2]]),yt++,tt++,It=void 0,$t=!0}}}return de[Ce][1]._spread=Ne,tt}function h(de,Ce){return tt;function tt(yt){g.call(this,de(yt),yt),Ce&&Ce.call(this,yt)}}function d(){this.stack.push({type:"fragment",children:[]})}function g(de,Ce,tt){this.stack[this.stack.length-1].children.push(de),this.stack.push(de),this.tokenStack.push([Ce,tt]),de.position={start:Xs(Ce.start),end:void 0}}function E(de){return Ce;function Ce(tt){de&&de.call(this,tt),b.call(this,tt)}}function b(de,Ce){const tt=this.stack.pop(),yt=this.tokenStack.pop();if(yt)yt[0].type!==de.type&&(Ce?Ce.call(this,de,yt[0]):(yt[1]||U_).call(this,de,yt[0]));else throw new Error("Cannot close `"+de.type+"` ("+Rm({start:de.start,end:de.end})+"): it’s not open");tt.position.end=Xs(de.end)}function C(){return Vw(this.stack.pop())}function S(){this.data.expectingFirstListItemValue=!0}function R(de){if(this.data.expectingFirstListItemValue){const Ce=this.stack[this.stack.length-2];Ce.start=Number.parseInt(this.sliceSerialize(de),10),this.data.expectingFirstListItemValue=void 0}}function k(){const de=this.resume(),Ce=this.stack[this.stack.length-1];Ce.lang=de}function D(){const de=this.resume(),Ce=this.stack[this.stack.length-1];Ce.meta=de}function L(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function B(){const de=this.resume(),Ce=this.stack[this.stack.length-1];Ce.value=de.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function H(){const de=this.resume(),Ce=this.stack[this.stack.length-1];Ce.value=de.replace(/(\r?\n|\r)$/g,"")}function $(de){const Ce=this.resume(),tt=this.stack[this.stack.length-1];tt.label=Ce,tt.identifier=uo(this.sliceSerialize(de)).toLowerCase()}function W(){const de=this.resume(),Ce=this.stack[this.stack.length-1];Ce.title=de}function J(){const de=this.resume(),Ce=this.stack[this.stack.length-1];Ce.url=de}function Z(de){const Ce=this.stack[this.stack.length-1];if(!Ce.depth){const tt=this.sliceSerialize(de).length;Ce.depth=tt}}function X(){this.data.setextHeadingSlurpLineEnding=!0}function te(de){const Ce=this.stack[this.stack.length-1];Ce.depth=this.sliceSerialize(de).codePointAt(0)===61?1:2}function we(){this.data.setextHeadingSlurpLineEnding=void 0}function Me(de){const tt=this.stack[this.stack.length-1].children;let yt=tt[tt.length-1];(!yt||yt.type!=="text")&&(yt=di(),yt.position={start:Xs(de.start),end:void 0},tt.push(yt)),this.stack.push(yt)}function K(de){const Ce=this.stack.pop();Ce.value+=this.sliceSerialize(de),Ce.position.end=Xs(de.end)}function Ee(de){const Ce=this.stack[this.stack.length-1];if(this.data.atHardBreak){const tt=Ce.children[Ce.children.length-1];tt.position.end=Xs(de.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&n.canContainEols.includes(Ce.type)&&(Me.call(this,de),K.call(this,de))}function ge(){this.data.atHardBreak=!0}function Re(){const de=this.resume(),Ce=this.stack[this.stack.length-1];Ce.value=de}function Oe(){const de=this.resume(),Ce=this.stack[this.stack.length-1];Ce.value=de}function qe(){const de=this.resume(),Ce=this.stack[this.stack.length-1];Ce.value=de}function je(){const de=this.stack[this.stack.length-1];if(this.data.inReference){const Ce=this.data.referenceType||"shortcut";de.type+="Reference",de.referenceType=Ce,delete de.url,delete de.title}else delete de.identifier,delete de.label;this.data.referenceType=void 0}function at(){const de=this.stack[this.stack.length-1];if(this.data.inReference){const Ce=this.data.referenceType||"shortcut";de.type+="Reference",de.referenceType=Ce,delete de.url,delete de.title}else delete de.identifier,delete de.label;this.data.referenceType=void 0}function he(de){const Ce=this.sliceSerialize(de),tt=this.stack[this.stack.length-2];tt.label=XM(Ce),tt.identifier=uo(Ce).toLowerCase()}function De(){const de=this.stack[this.stack.length-1],Ce=this.resume(),tt=this.stack[this.stack.length-1];if(this.data.inReference=!0,tt.type==="link"){const yt=de.children;tt.children=yt}else tt.alt=Ce}function F(){const de=this.resume(),Ce=this.stack[this.stack.length-1];Ce.url=de}function et(){const de=this.resume(),Ce=this.stack[this.stack.length-1];Ce.title=de}function Et(){this.data.inReference=void 0}function V(){this.data.referenceType="collapsed"}function Gt(de){const Ce=this.resume(),tt=this.stack[this.stack.length-1];tt.label=Ce,tt.identifier=uo(this.sliceSerialize(de)).toLowerCase(),this.data.referenceType="full"}function Gn(de){this.data.characterReferenceType=de.type}function Nt(de){const Ce=this.sliceSerialize(de),tt=this.data.characterReferenceType;let yt;tt?(yt=_A(Ce,tt==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):yt=Ww(Ce);const At=this.stack[this.stack.length-1];At.value+=yt}function ar(de){const Ce=this.stack.pop();Ce.position.end=Xs(de.end)}function cn(de){K.call(this,de);const Ce=this.stack[this.stack.length-1];Ce.url=this.sliceSerialize(de)}function Rn(de){K.call(this,de);const Ce=this.stack[this.stack.length-1];Ce.url="mailto:"+this.sliceSerialize(de)}function kr(){return{type:"blockquote",children:[]}}function Nn(){return{type:"code",lang:null,meta:null,value:""}}function Br(){return{type:"inlineCode",value:""}}function an(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Fn(){return{type:"emphasis",children:[]}}function ir(){return{type:"heading",depth:0,children:[]}}function yr(){return{type:"break"}}function $n(){return{type:"html",value:""}}function oa(){return{type:"image",title:null,url:"",alt:null}}function Hr(){return{type:"link",title:null,url:"",children:[]}}function li(de){return{type:"list",ordered:de.type==="listOrdered",start:null,spread:de._spread,children:[]}}function ci(de){return{type:"listItem",spread:de._spread,checked:null,children:[]}}function Oi(){return{type:"paragraph",children:[]}}function ua(){return{type:"strong",children:[]}}function di(){return{type:"text",value:""}}function xa(){return{type:"thematicBreak"}}}function Xs(e){return{line:e.line,column:e.column,offset:e.offset}}function l3(e,n){let a=-1;for(;++a<n.length;){const s=n[a];Array.isArray(s)?l3(e,s):IF(e,s)}}function IF(e,n){let a;for(a in n)if(s3.call(n,a))switch(a){case"canContainEols":{const s=n[a];s&&e[a].push(...s);break}case"transforms":{const s=n[a];s&&e[a].push(...s);break}case"enter":case"exit":{const s=n[a];s&&Object.assign(e[a],s);break}}}function U_(e,n){throw e?new Error("Cannot close `"+e.type+"` ("+Rm({start:e.start,end:e.end})+"): a different token (`"+n.type+"`, "+Rm({start:n.start,end:n.end})+") is open"):new Error("Cannot close document, a token (`"+n.type+"`, "+Rm({start:n.start,end:n.end})+") is still open")}function MF(e){const n=this;n.parser=a;function a(s){return OF(s,{...n.data("settings"),...e,extensions:n.data("micromarkExtensions")||[],mdastExtensions:n.data("fromMarkdownExtensions")||[]})}}function PF(e,n){const a={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(n),!0)};return e.patch(n,a),e.applyData(n,a)}function FF(e,n){const a={type:"element",tagName:"br",properties:{},children:[]};return e.patch(n,a),[e.applyData(n,a),{type:"text",value:`
19
- `}]}function UF(e,n){const a=n.value?n.value+`
20
- `:"",s={};n.lang&&(s.className=["language-"+n.lang]);let f={type:"element",tagName:"code",properties:s,children:[{type:"text",value:a}]};return n.meta&&(f.data={meta:n.meta}),e.patch(n,f),f=e.applyData(n,f),f={type:"element",tagName:"pre",properties:{},children:[f]},e.patch(n,f),f}function BF(e,n){const a={type:"element",tagName:"del",properties:{},children:e.all(n)};return e.patch(n,a),e.applyData(n,a)}function HF(e,n){const a={type:"element",tagName:"em",properties:{},children:e.all(n)};return e.patch(n,a),e.applyData(n,a)}function zF(e,n){const a=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",s=String(n.identifier).toUpperCase(),f=Zf(s.toLowerCase()),h=e.footnoteOrder.indexOf(s);let d,g=e.footnoteCounts.get(s);g===void 0?(g=0,e.footnoteOrder.push(s),d=e.footnoteOrder.length):d=h+1,g+=1,e.footnoteCounts.set(s,g);const E={type:"element",tagName:"a",properties:{href:"#"+a+"fn-"+f,id:a+"fnref-"+f+(g>1?"-"+g:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(d)}]};e.patch(n,E);const b={type:"element",tagName:"sup",properties:{},children:[E]};return e.patch(n,b),e.applyData(n,b)}function jF(e,n){const a={type:"element",tagName:"h"+n.depth,properties:{},children:e.all(n)};return e.patch(n,a),e.applyData(n,a)}function VF(e,n){if(e.options.allowDangerousHtml){const a={type:"raw",value:n.value};return e.patch(n,a),e.applyData(n,a)}}function c3(e,n){const a=n.referenceType;let s="]";if(a==="collapsed"?s+="[]":a==="full"&&(s+="["+(n.label||n.identifier)+"]"),n.type==="imageReference")return[{type:"text",value:"!["+n.alt+s}];const f=e.all(n),h=f[0];h&&h.type==="text"?h.value="["+h.value:f.unshift({type:"text",value:"["});const d=f[f.length-1];return d&&d.type==="text"?d.value+=s:f.push({type:"text",value:s}),f}function YF(e,n){const a=String(n.identifier).toUpperCase(),s=e.definitionById.get(a);if(!s)return c3(e,n);const f={src:Zf(s.url||""),alt:n.alt};s.title!==null&&s.title!==void 0&&(f.title=s.title);const h={type:"element",tagName:"img",properties:f,children:[]};return e.patch(n,h),e.applyData(n,h)}function WF(e,n){const a={src:Zf(n.url)};n.alt!==null&&n.alt!==void 0&&(a.alt=n.alt),n.title!==null&&n.title!==void 0&&(a.title=n.title);const s={type:"element",tagName:"img",properties:a,children:[]};return e.patch(n,s),e.applyData(n,s)}function qF(e,n){const a={type:"text",value:n.value.replace(/\r?\n|\r/g," ")};e.patch(n,a);const s={type:"element",tagName:"code",properties:{},children:[a]};return e.patch(n,s),e.applyData(n,s)}function QF(e,n){const a=String(n.identifier).toUpperCase(),s=e.definitionById.get(a);if(!s)return c3(e,n);const f={href:Zf(s.url||"")};s.title!==null&&s.title!==void 0&&(f.title=s.title);const h={type:"element",tagName:"a",properties:f,children:e.all(n)};return e.patch(n,h),e.applyData(n,h)}function GF(e,n){const a={href:Zf(n.url)};n.title!==null&&n.title!==void 0&&(a.title=n.title);const s={type:"element",tagName:"a",properties:a,children:e.all(n)};return e.patch(n,s),e.applyData(n,s)}function $F(e,n,a){const s=e.all(n),f=a?XF(a):d3(n),h={},d=[];if(typeof n.checked=="boolean"){const C=s[0];let S;C&&C.type==="element"&&C.tagName==="p"?S=C:(S={type:"element",tagName:"p",properties:{},children:[]},s.unshift(S)),S.children.length>0&&S.children.unshift({type:"text",value:" "}),S.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:n.checked,disabled:!0},children:[]}),h.className=["task-list-item"]}let g=-1;for(;++g<s.length;){const C=s[g];(f||g!==0||C.type!=="element"||C.tagName!=="p")&&d.push({type:"text",value:`
21
- `}),C.type==="element"&&C.tagName==="p"&&!f?d.push(...C.children):d.push(C)}const E=s[s.length-1];E&&(f||E.type!=="element"||E.tagName!=="p")&&d.push({type:"text",value:`
22
- `});const b={type:"element",tagName:"li",properties:h,children:d};return e.patch(n,b),e.applyData(n,b)}function XF(e){let n=!1;if(e.type==="list"){n=e.spread||!1;const a=e.children;let s=-1;for(;!n&&++s<a.length;)n=d3(a[s])}return n}function d3(e){const n=e.spread;return n??e.children.length>1}function KF(e,n){const a={},s=e.all(n);let f=-1;for(typeof n.start=="number"&&n.start!==1&&(a.start=n.start);++f<s.length;){const d=s[f];if(d.type==="element"&&d.tagName==="li"&&d.properties&&Array.isArray(d.properties.className)&&d.properties.className.includes("task-list-item")){a.className=["contains-task-list"];break}}const h={type:"element",tagName:n.ordered?"ol":"ul",properties:a,children:e.wrap(s,!0)};return e.patch(n,h),e.applyData(n,h)}function JF(e,n){const a={type:"element",tagName:"p",properties:{},children:e.all(n)};return e.patch(n,a),e.applyData(n,a)}function ZF(e,n){const a={type:"root",children:e.wrap(e.all(n))};return e.patch(n,a),e.applyData(n,a)}function e7(e,n){const a={type:"element",tagName:"strong",properties:{},children:e.all(n)};return e.patch(n,a),e.applyData(n,a)}function t7(e,n){const a=e.all(n),s=a.shift(),f=[];if(s){const d={type:"element",tagName:"thead",properties:{},children:e.wrap([s],!0)};e.patch(n.children[0],d),f.push(d)}if(a.length>0){const d={type:"element",tagName:"tbody",properties:{},children:e.wrap(a,!0)},g=qo(n.children[1]),E=q1(n.children[n.children.length-1]);g&&E&&(d.position={start:g,end:E}),f.push(d)}const h={type:"element",tagName:"table",properties:{},children:e.wrap(f,!0)};return e.patch(n,h),e.applyData(n,h)}function n7(e,n,a){const s=a?a.children:void 0,h=(s?s.indexOf(n):1)===0?"th":"td",d=a&&a.type==="table"?a.align:void 0,g=d?d.length:n.children.length;let E=-1;const b=[];for(;++E<g;){const S=n.children[E],R={},k=d?d[E]:void 0;k&&(R.align=k);let D={type:"element",tagName:h,properties:R,children:[]};S&&(D.children=e.all(S),e.patch(S,D),D=e.applyData(S,D)),b.push(D)}const C={type:"element",tagName:"tr",properties:{},children:e.wrap(b,!0)};return e.patch(n,C),e.applyData(n,C)}function r7(e,n){const a={type:"element",tagName:"td",properties:{},children:e.all(n)};return e.patch(n,a),e.applyData(n,a)}const B_=9,H_=32;function a7(e){const n=String(e),a=/\r?\n|\r/g;let s=a.exec(n),f=0;const h=[];for(;s;)h.push(z_(n.slice(f,s.index),f>0,!0),s[0]),f=s.index+s[0].length,s=a.exec(n);return h.push(z_(n.slice(f),f>0,!1)),h.join("")}function z_(e,n,a){let s=0,f=e.length;if(n){let h=e.codePointAt(s);for(;h===B_||h===H_;)s++,h=e.codePointAt(s)}if(a){let h=e.codePointAt(f-1);for(;h===B_||h===H_;)f--,h=e.codePointAt(f-1)}return f>s?e.slice(s,f):""}function i7(e,n){const a={type:"text",value:a7(String(n.value))};return e.patch(n,a),e.applyData(n,a)}function o7(e,n){const a={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(n,a),e.applyData(n,a)}const u7={blockquote:PF,break:FF,code:UF,delete:BF,emphasis:HF,footnoteReference:zF,heading:jF,html:VF,imageReference:YF,image:WF,inlineCode:qF,linkReference:QF,link:GF,listItem:$F,list:KF,paragraph:JF,root:ZF,strong:e7,table:t7,tableCell:r7,tableRow:n7,text:i7,thematicBreak:o7,toml:s1,yaml:s1,definition:s1,footnoteDefinition:s1};function s1(){}const f3=-1,Q1=0,N1=1,D1=2,Jw=3,Zw=4,eT=5,tT=6,p3=7,h3=8,j_=typeof self=="object"?self:globalThis,s7=(e,n)=>{const a=(f,h)=>(e.set(h,f),f),s=f=>{if(e.has(f))return e.get(f);const[h,d]=n[f];switch(h){case Q1:case f3:return a(d,f);case N1:{const g=a([],f);for(const E of d)g.push(s(E));return g}case D1:{const g=a({},f);for(const[E,b]of d)g[s(E)]=s(b);return g}case Jw:return a(new Date(d),f);case Zw:{const{source:g,flags:E}=d;return a(new RegExp(g,E),f)}case eT:{const g=a(new Map,f);for(const[E,b]of d)g.set(s(E),s(b));return g}case tT:{const g=a(new Set,f);for(const E of d)g.add(s(E));return g}case p3:{const{name:g,message:E}=d;return a(new j_[g](E),f)}case h3:return a(BigInt(d),f);case"BigInt":return a(Object(BigInt(d)),f)}return a(new j_[h](d),f)};return s},V_=e=>s7(new Map,e)(0),Mf="",{toString:l7}={},{keys:c7}=Object,Sm=e=>{const n=typeof e;if(n!=="object"||!e)return[Q1,n];const a=l7.call(e).slice(8,-1);switch(a){case"Array":return[N1,Mf];case"Object":return[D1,Mf];case"Date":return[Jw,Mf];case"RegExp":return[Zw,Mf];case"Map":return[eT,Mf];case"Set":return[tT,Mf]}return a.includes("Array")?[N1,a]:a.includes("Error")?[p3,a]:[D1,a]},l1=([e,n])=>e===Q1&&(n==="function"||n==="symbol"),d7=(e,n,a,s)=>{const f=(d,g)=>{const E=s.push(d)-1;return a.set(g,E),E},h=d=>{if(a.has(d))return a.get(d);let[g,E]=Sm(d);switch(g){case Q1:{let C=d;switch(E){case"bigint":g=h3,C=d.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+E);C=null;break;case"undefined":return f([f3],d)}return f([g,C],d)}case N1:{if(E)return f([E,[...d]],d);const C=[],S=f([g,C],d);for(const R of d)C.push(h(R));return S}case D1:{if(E)switch(E){case"BigInt":return f([E,d.toString()],d);case"Boolean":case"Number":case"String":return f([E,d.valueOf()],d)}if(n&&"toJSON"in d)return h(d.toJSON());const C=[],S=f([g,C],d);for(const R of c7(d))(e||!l1(Sm(d[R])))&&C.push([h(R),h(d[R])]);return S}case Jw:return f([g,d.toISOString()],d);case Zw:{const{source:C,flags:S}=d;return f([g,{source:C,flags:S}],d)}case eT:{const C=[],S=f([g,C],d);for(const[R,k]of d)(e||!(l1(Sm(R))||l1(Sm(k))))&&C.push([h(R),h(k)]);return S}case tT:{const C=[],S=f([g,C],d);for(const R of d)(e||!l1(Sm(R)))&&C.push(h(R));return S}}const{message:b}=d;return f([g,{name:E,message:b}],d)};return h},Y_=(e,{json:n,lossy:a}={})=>{const s=[];return d7(!(n||a),!!n,new Map,s)(e),s},Wf=typeof structuredClone=="function"?(e,n)=>n&&("json"in n||"lossy"in n)?V_(Y_(e,n)):structuredClone(e):(e,n)=>V_(Y_(e,n));function f7(e,n){const a=[{type:"text",value:"↩"}];return n>1&&a.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(n)}]}),a}function p7(e,n){return"Back to reference "+(e+1)+(n>1?"-"+n:"")}function h7(e){const n=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",a=e.options.footnoteBackContent||f7,s=e.options.footnoteBackLabel||p7,f=e.options.footnoteLabel||"Footnotes",h=e.options.footnoteLabelTagName||"h2",d=e.options.footnoteLabelProperties||{className:["sr-only"]},g=[];let E=-1;for(;++E<e.footnoteOrder.length;){const b=e.footnoteById.get(e.footnoteOrder[E]);if(!b)continue;const C=e.all(b),S=String(b.identifier).toUpperCase(),R=Zf(S.toLowerCase());let k=0;const D=[],L=e.footnoteCounts.get(S);for(;L!==void 0&&++k<=L;){D.length>0&&D.push({type:"text",value:" "});let $=typeof a=="string"?a:a(E,k);typeof $=="string"&&($={type:"text",value:$}),D.push({type:"element",tagName:"a",properties:{href:"#"+n+"fnref-"+R+(k>1?"-"+k:""),dataFootnoteBackref:"",ariaLabel:typeof s=="string"?s:s(E,k),className:["data-footnote-backref"]},children:Array.isArray($)?$:[$]})}const B=C[C.length-1];if(B&&B.type==="element"&&B.tagName==="p"){const $=B.children[B.children.length-1];$&&$.type==="text"?$.value+=" ":B.children.push({type:"text",value:" "}),B.children.push(...D)}else C.push(...D);const H={type:"element",tagName:"li",properties:{id:n+"fn-"+R},children:e.wrap(C,!0)};e.patch(b,H),g.push(H)}if(g.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:h,properties:{...Wf(d),id:"footnote-label"},children:[{type:"text",value:f}]},{type:"text",value:`
23
- `},{type:"element",tagName:"ol",properties:{},children:e.wrap(g,!0)},{type:"text",value:`
24
- `}]}}const bw={}.hasOwnProperty,m7={};function g7(e,n){const a=n||m7,s=new Map,f=new Map,h=new Map,d={...u7,...a.handlers},g={all:b,applyData:y7,definitionById:s,footnoteById:f,footnoteCounts:h,footnoteOrder:[],handlers:d,one:E,options:a,patch:v7,wrap:b7};return V1(e,function(C){if(C.type==="definition"||C.type==="footnoteDefinition"){const S=C.type==="definition"?s:f,R=String(C.identifier).toUpperCase();S.has(R)||S.set(R,C)}}),g;function E(C,S){const R=C.type,k=g.handlers[R];if(bw.call(g.handlers,R)&&k)return k(g,C,S);if(g.options.passThrough&&g.options.passThrough.includes(R)){if("children"in C){const{children:L,...B}=C,H=Wf(B);return H.children=g.all(C),H}return Wf(C)}return(g.options.unknownHandler||E7)(g,C,S)}function b(C){const S=[];if("children"in C){const R=C.children;let k=-1;for(;++k<R.length;){const D=g.one(R[k],C);if(D){if(k&&R[k-1].type==="break"&&(!Array.isArray(D)&&D.type==="text"&&(D.value=W_(D.value)),!Array.isArray(D)&&D.type==="element")){const L=D.children[0];L&&L.type==="text"&&(L.value=W_(L.value))}Array.isArray(D)?S.push(...D):S.push(D)}}}return S}}function v7(e,n){e.position&&(n.position=P9(e))}function y7(e,n){let a=n;if(e&&e.data){const s=e.data.hName,f=e.data.hChildren,h=e.data.hProperties;if(typeof s=="string")if(a.type==="element")a.tagName=s;else{const d="children"in a?a.children:[a];a={type:"element",tagName:s,properties:{},children:d}}a.type==="element"&&h&&Object.assign(a.properties,Wf(h)),"children"in a&&a.children&&f!==null&&f!==void 0&&(a.children=f)}return a}function E7(e,n){const a=n.data||{},s="value"in n&&!(bw.call(a,"hProperties")||bw.call(a,"hChildren"))?{type:"text",value:n.value}:{type:"element",tagName:"div",properties:{},children:e.all(n)};return e.patch(n,s),e.applyData(n,s)}function b7(e,n){const a=[];let s=-1;for(n&&a.push({type:"text",value:`
25
- `});++s<e.length;)s&&a.push({type:"text",value:`
26
- `}),a.push(e[s]);return n&&e.length>0&&a.push({type:"text",value:`
27
- `}),a}function W_(e){let n=0,a=e.charCodeAt(n);for(;a===9||a===32;)n++,a=e.charCodeAt(n);return e.slice(n)}function q_(e,n){const a=g7(e,n),s=a.one(e,void 0),f=h7(a),h=Array.isArray(s)?{type:"root",children:s}:s||{type:"root",children:[]};return f&&h.children.push({type:"text",value:`
28
- `},f),h}function x7(e,n){return e&&"run"in e?async function(a,s){const f=q_(a,{file:s,...n});await e.run(f,s)}:function(a,s){return q_(a,{file:s,...e||n})}}function Q_(e){if(e)throw e}var b1=Object.prototype.hasOwnProperty,m3=Object.prototype.toString,G_=Object.defineProperty,$_=Object.getOwnPropertyDescriptor,X_=function(n){return typeof Array.isArray=="function"?Array.isArray(n):m3.call(n)==="[object Array]"},K_=function(n){if(!n||m3.call(n)!=="[object Object]")return!1;var a=b1.call(n,"constructor"),s=n.constructor&&n.constructor.prototype&&b1.call(n.constructor.prototype,"isPrototypeOf");if(n.constructor&&!a&&!s)return!1;var f;for(f in n);return typeof f>"u"||b1.call(n,f)},J_=function(n,a){G_&&a.name==="__proto__"?G_(n,a.name,{enumerable:!0,configurable:!0,value:a.newValue,writable:!0}):n[a.name]=a.newValue},Z_=function(n,a){if(a==="__proto__")if(b1.call(n,a)){if($_)return $_(n,a).value}else return;return n[a]},w7=function e(){var n,a,s,f,h,d,g=arguments[0],E=1,b=arguments.length,C=!1;for(typeof g=="boolean"&&(C=g,g=arguments[1]||{},E=2),(g==null||typeof g!="object"&&typeof g!="function")&&(g={});E<b;++E)if(n=arguments[E],n!=null)for(a in n)s=Z_(g,a),f=Z_(n,a),g!==f&&(C&&f&&(K_(f)||(h=X_(f)))?(h?(h=!1,d=s&&X_(s)?s:[]):d=s&&K_(s)?s:{},J_(g,{name:a,newValue:e(C,d,f)})):typeof f<"u"&&J_(g,{name:a,newValue:f}));return g};const qx=ft.getDefaultExportFromCjs(w7);function xw(e){if(typeof e!="object"||e===null)return!1;const n=Object.getPrototypeOf(e);return(n===null||n===Object.prototype||Object.getPrototypeOf(n)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function T7(){const e=[],n={run:a,use:s};return n;function a(...f){let h=-1;const d=f.pop();if(typeof d!="function")throw new TypeError("Expected function as last argument, not "+d);g(null,...f);function g(E,...b){const C=e[++h];let S=-1;if(E){d(E);return}for(;++S<f.length;)(b[S]===null||b[S]===void 0)&&(b[S]=f[S]);f=b,C?S7(C,g)(...b):d(null,...b)}}function s(f){if(typeof f!="function")throw new TypeError("Expected `middelware` to be a function, not "+f);return e.push(f),n}}function S7(e,n){let a;return s;function s(...d){const g=e.length>d.length;let E;g&&d.push(f);try{E=e.apply(this,d)}catch(b){const C=b;if(g&&a)throw C;return f(C)}g||(E&&E.then&&typeof E.then=="function"?E.then(h,f):E instanceof Error?f(E):h(E))}function f(d,...g){a||(a=!0,n(d,...g))}function h(d){f(null,d)}}const jo={basename:C7,dirname:_7,extname:k7,join:A7,sep:"/"};function C7(e,n){if(n!==void 0&&typeof n!="string")throw new TypeError('"ext" argument must be a string');qm(e);let a=0,s=-1,f=e.length,h;if(n===void 0||n.length===0||n.length>e.length){for(;f--;)if(e.codePointAt(f)===47){if(h){a=f+1;break}}else s<0&&(h=!0,s=f+1);return s<0?"":e.slice(a,s)}if(n===e)return"";let d=-1,g=n.length-1;for(;f--;)if(e.codePointAt(f)===47){if(h){a=f+1;break}}else d<0&&(h=!0,d=f+1),g>-1&&(e.codePointAt(f)===n.codePointAt(g--)?g<0&&(s=f):(g=-1,s=d));return a===s?s=d:s<0&&(s=e.length),e.slice(a,s)}function _7(e){if(qm(e),e.length===0)return".";let n=-1,a=e.length,s;for(;--a;)if(e.codePointAt(a)===47){if(s){n=a;break}}else s||(s=!0);return n<0?e.codePointAt(0)===47?"/":".":n===1&&e.codePointAt(0)===47?"//":e.slice(0,n)}function k7(e){qm(e);let n=e.length,a=-1,s=0,f=-1,h=0,d;for(;n--;){const g=e.codePointAt(n);if(g===47){if(d){s=n+1;break}continue}a<0&&(d=!0,a=n+1),g===46?f<0?f=n:h!==1&&(h=1):f>-1&&(h=-1)}return f<0||a<0||h===0||h===1&&f===a-1&&f===s+1?"":e.slice(f,a)}function A7(...e){let n=-1,a;for(;++n<e.length;)qm(e[n]),e[n]&&(a=a===void 0?e[n]:a+"/"+e[n]);return a===void 0?".":R7(a)}function R7(e){qm(e);const n=e.codePointAt(0)===47;let a=N7(e,!n);return a.length===0&&!n&&(a="."),a.length>0&&e.codePointAt(e.length-1)===47&&(a+="/"),n?"/"+a:a}function N7(e,n){let a="",s=0,f=-1,h=0,d=-1,g,E;for(;++d<=e.length;){if(d<e.length)g=e.codePointAt(d);else{if(g===47)break;g=47}if(g===47){if(!(f===d-1||h===1))if(f!==d-1&&h===2){if(a.length<2||s!==2||a.codePointAt(a.length-1)!==46||a.codePointAt(a.length-2)!==46){if(a.length>2){if(E=a.lastIndexOf("/"),E!==a.length-1){E<0?(a="",s=0):(a=a.slice(0,E),s=a.length-1-a.lastIndexOf("/")),f=d,h=0;continue}}else if(a.length>0){a="",s=0,f=d,h=0;continue}}n&&(a=a.length>0?a+"/..":"..",s=2)}else a.length>0?a+="/"+e.slice(f+1,d):a=e.slice(f+1,d),s=d-f-1;f=d,h=0}else g===46&&h>-1?h++:h=-1}return a}function qm(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const D7={cwd:O7};function O7(){return"/"}function ww(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function L7(e){if(typeof e=="string")e=new URL(e);else if(!ww(e)){const n=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw n.code="ERR_INVALID_ARG_TYPE",n}if(e.protocol!=="file:"){const n=new TypeError("The URL must be of scheme file");throw n.code="ERR_INVALID_URL_SCHEME",n}return I7(e)}function I7(e){if(e.hostname!==""){const s=new TypeError('File URL host must be "localhost" or empty on darwin');throw s.code="ERR_INVALID_FILE_URL_HOST",s}const n=e.pathname;let a=-1;for(;++a<n.length;)if(n.codePointAt(a)===37&&n.codePointAt(a+1)===50){const s=n.codePointAt(a+2);if(s===70||s===102){const f=new TypeError("File URL path must not include encoded / characters");throw f.code="ERR_INVALID_FILE_URL_PATH",f}}return decodeURIComponent(n)}const Qx=["history","path","basename","stem","extname","dirname"];class g3{constructor(n){let a;n?ww(n)?a={path:n}:typeof n=="string"||M7(n)?a={value:n}:a=n:a={},this.cwd="cwd"in a?"":D7.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let s=-1;for(;++s<Qx.length;){const h=Qx[s];h in a&&a[h]!==void 0&&a[h]!==null&&(this[h]=h==="history"?[...a[h]]:a[h])}let f;for(f in a)Qx.includes(f)||(this[f]=a[f])}get basename(){return typeof this.path=="string"?jo.basename(this.path):void 0}set basename(n){$x(n,"basename"),Gx(n,"basename"),this.path=jo.join(this.dirname||"",n)}get dirname(){return typeof this.path=="string"?jo.dirname(this.path):void 0}set dirname(n){ek(this.basename,"dirname"),this.path=jo.join(n||"",this.basename)}get extname(){return typeof this.path=="string"?jo.extname(this.path):void 0}set extname(n){if(Gx(n,"extname"),ek(this.dirname,"extname"),n){if(n.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(n.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=jo.join(this.dirname,this.stem+(n||""))}get path(){return this.history[this.history.length-1]}set path(n){ww(n)&&(n=L7(n)),$x(n,"path"),this.path!==n&&this.history.push(n)}get stem(){return typeof this.path=="string"?jo.basename(this.path,this.extname):void 0}set stem(n){$x(n,"stem"),Gx(n,"stem"),this.path=jo.join(this.dirname||"",n+(this.extname||""))}fail(n,a,s){const f=this.message(n,a,s);throw f.fatal=!0,f}info(n,a,s){const f=this.message(n,a,s);return f.fatal=void 0,f}message(n,a,s){const f=new aa(n,a,s);return this.path&&(f.name=this.path+":"+f.name,f.file=this.path),f.fatal=!1,this.messages.push(f),f}toString(n){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(n||void 0).decode(this.value)}}function Gx(e,n){if(e&&e.includes(jo.sep))throw new Error("`"+n+"` cannot be a path: did not expect `"+jo.sep+"`")}function $x(e,n){if(!e)throw new Error("`"+n+"` cannot be empty")}function ek(e,n){if(!e)throw new Error("Setting `"+n+"` requires `path` to be set too")}function M7(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const P7=function(e){const s=this.constructor.prototype,f=s[e],h=function(){return f.apply(h,arguments)};return Object.setPrototypeOf(h,s),h},F7={}.hasOwnProperty;class nT extends P7{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=T7()}copy(){const n=new nT;let a=-1;for(;++a<this.attachers.length;){const s=this.attachers[a];n.use(...s)}return n.data(qx(!0,{},this.namespace)),n}data(n,a){return typeof n=="string"?arguments.length===2?(Jx("data",this.frozen),this.namespace[n]=a,this):F7.call(this.namespace,n)&&this.namespace[n]||void 0:n?(Jx("data",this.frozen),this.namespace=n,this):this.namespace}freeze(){if(this.frozen)return this;const n=this;for(;++this.freezeIndex<this.attachers.length;){const[a,...s]=this.attachers[this.freezeIndex];if(s[0]===!1)continue;s[0]===!0&&(s[0]=void 0);const f=a.call(n,...s);typeof f=="function"&&this.transformers.use(f)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(n){this.freeze();const a=c1(n),s=this.parser||this.Parser;return Xx("parse",s),s(String(a),a)}process(n,a){const s=this;return this.freeze(),Xx("process",this.parser||this.Parser),Kx("process",this.compiler||this.Compiler),a?f(void 0,a):new Promise(f);function f(h,d){const g=c1(n),E=s.parse(g);s.run(E,g,function(C,S,R){if(C||!S||!R)return b(C);const k=S,D=s.stringify(k,R);H7(D)?R.value=D:R.result=D,b(C,R)});function b(C,S){C||!S?d(C):h?h(S):a(void 0,S)}}}processSync(n){let a=!1,s;return this.freeze(),Xx("processSync",this.parser||this.Parser),Kx("processSync",this.compiler||this.Compiler),this.process(n,f),nk("processSync","process",a),s;function f(h,d){a=!0,Q_(h),s=d}}run(n,a,s){tk(n),this.freeze();const f=this.transformers;return!s&&typeof a=="function"&&(s=a,a=void 0),s?h(void 0,s):new Promise(h);function h(d,g){const E=c1(a);f.run(n,E,b);function b(C,S,R){const k=S||n;C?g(C):d?d(k):s(void 0,k,R)}}}runSync(n,a){let s=!1,f;return this.run(n,a,h),nk("runSync","run",s),f;function h(d,g){Q_(d),f=g,s=!0}}stringify(n,a){this.freeze();const s=c1(a),f=this.compiler||this.Compiler;return Kx("stringify",f),tk(n),f(n,s)}use(n,...a){const s=this.attachers,f=this.namespace;if(Jx("use",this.frozen),n!=null)if(typeof n=="function")E(n,a);else if(typeof n=="object")Array.isArray(n)?g(n):d(n);else throw new TypeError("Expected usable value, not `"+n+"`");return this;function h(b){if(typeof b=="function")E(b,[]);else if(typeof b=="object")if(Array.isArray(b)){const[C,...S]=b;E(C,S)}else d(b);else throw new TypeError("Expected usable value, not `"+b+"`")}function d(b){if(!("plugins"in b)&&!("settings"in b))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");g(b.plugins),b.settings&&(f.settings=qx(!0,f.settings,b.settings))}function g(b){let C=-1;if(b!=null)if(Array.isArray(b))for(;++C<b.length;){const S=b[C];h(S)}else throw new TypeError("Expected a list of plugins, not `"+b+"`")}function E(b,C){let S=-1,R=-1;for(;++S<s.length;)if(s[S][0]===b){R=S;break}if(R===-1)s.push([b,...C]);else if(C.length>0){let[k,...D]=C;const L=s[R][1];xw(L)&&xw(k)&&(k=qx(!0,L,k)),s[R]=[b,k,...D]}}}}const U7=new nT().freeze();function Xx(e,n){if(typeof n!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function Kx(e,n){if(typeof n!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function Jx(e,n){if(n)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function tk(e){if(!xw(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function nk(e,n,a){if(!a)throw new Error("`"+e+"` finished async. Use `"+n+"` instead")}function c1(e){return B7(e)?e:new g3(e)}function B7(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function H7(e){return typeof e=="string"||z7(e)}function z7(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const j7="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",rk=[],ak={allowDangerousHtml:!0},V7=/^(https?|ircs?|mailto|xmpp)$/i,Y7=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function W7(e){const n=e.allowedElements,a=e.allowElement,s=e.children||"",f=e.className,h=e.components,d=e.disallowedElements,g=e.rehypePlugins||rk,E=e.remarkPlugins||rk,b=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...ak}:ak,C=e.skipHtml,S=e.unwrapDisallowed,R=e.urlTransform||q7,k=U7().use(MF).use(E).use(x7,b).use(g),D=new g3;typeof s=="string"&&(D.value=s);for(const $ of Y7)Object.hasOwn(e,$.from)&&(""+$.from+($.to?"use `"+$.to+"` instead":"remove it")+j7+$.id,void 0);const L=k.parse(D);let B=k.runSync(L,D);return f&&(B={type:"element",tagName:"div",properties:{className:f},children:B.type==="root"?B.children:[B]}),V1(B,H),j9(B,{Fragment:I.Fragment,components:h,ignoreInvalidStyle:!0,jsx:I.jsx,jsxs:I.jsxs,passKeys:!0,passNode:!0});function H($,W,J){if($.type==="raw"&&J&&typeof W=="number")return C?J.children.splice(W,1):J.children[W]={type:"text",value:$.value},W;if($.type==="element"){let Z;for(Z in Wx)if(Object.hasOwn(Wx,Z)&&Object.hasOwn($.properties,Z)){const X=$.properties[Z],te=Wx[Z];(te===null||te.includes($.tagName))&&($.properties[Z]=R(String(X||""),Z,$))}}if($.type==="element"){let Z=n?!n.includes($.tagName):d?d.includes($.tagName):!1;if(!Z&&a&&typeof W=="number"&&(Z=!a($,W,J)),Z&&J&&typeof W=="number")return S&&$.children?J.children.splice(W,1,...$.children):J.children.splice(W,1),W}}}function q7(e){const n=e.indexOf(":"),a=e.indexOf("?"),s=e.indexOf("#"),f=e.indexOf("/");return n<0||f>-1&&n>f||a>-1&&n>a||s>-1&&n>s||V7.test(e.slice(0,n))?e:""}const v3=Tt.memo(W7,(e,n)=>e.children===n.children&&e.className===n.className),ik=/[#.]/g;function Q7(e,n){const a=e||"",s={};let f=0,h,d;for(;f<a.length;){ik.lastIndex=f;const g=ik.exec(a),E=a.slice(f,g?g.index:a.length);E&&(h?h==="#"?s.id=E:Array.isArray(s.className)?s.className.push(E):s.className=[E]:d=E,f+=E.length),g&&(h=g[0],f++)}return{type:"element",tagName:d||n||"div",properties:s,children:[]}}const Tw={}.hasOwnProperty;function y3(e,n,a){const s=a&&K7(a);function f(h,d,...g){let E=-1,b;if(h==null){b={type:"root",children:[]};const C=d;g.unshift(C)}else if(b=Q7(h,n),b.tagName=b.tagName.toLowerCase(),s&&Tw.call(s,b.tagName)&&(b.tagName=s[b.tagName]),G7(d))g.unshift(d);else{let C;for(C in d)Tw.call(d,C)&&$7(e,b.properties,C,d[C])}for(;++E<g.length;)Sw(b.children,g[E]);return b.type==="element"&&b.tagName==="template"&&(b.content={type:"root",children:b.children},b.children=[]),b}return f}function G7(e){if(e===null||typeof e!="object"||Array.isArray(e))return!0;if(typeof e.type!="string")return!1;const n=e,a=Object.keys(e);for(const s of a){const f=n[s];if(f&&typeof f=="object"){if(!Array.isArray(f))return!0;const h=f;for(const d of h)if(typeof d!="number"&&typeof d!="string")return!0}}return!!("children"in e&&Array.isArray(e.children))}function $7(e,n,a,s){const f=W1(e,a);let h=-1,d;if(s!=null){if(typeof s=="number"){if(Number.isNaN(s))return;d=s}else typeof s=="boolean"?d=s:typeof s=="string"?f.spaceSeparated?d=A_(s):f.commaSeparated?d=T_(s):f.commaOrSpaceSeparated?d=A_(T_(s).join(" ")):d=ok(f,f.property,s):Array.isArray(s)?d=s.concat():d=f.property==="style"?X7(s):String(s);if(Array.isArray(d)){const g=[];for(;++h<d.length;){const E=ok(f,f.property,d[h]);g[h]=E}d=g}if(f.property==="className"&&Array.isArray(n.className)){const g=d;d=n.className.concat(g)}n[f.property]=d}}function Sw(e,n){let a=-1;if(n!=null)if(typeof n=="string"||typeof n=="number")e.push({type:"text",value:String(n)});else if(Array.isArray(n))for(;++a<n.length;)Sw(e,n[a]);else if(typeof n=="object"&&"type"in n)n.type==="root"?Sw(e,n.children):e.push(n);else throw new Error("Expected node, nodes, or string, got `"+n+"`")}function ok(e,n,a){if(typeof a=="string"){if(e.number&&a&&!Number.isNaN(Number(a)))return Number(a);if((e.boolean||e.overloadedBoolean)&&(a===""||Mm(a)===Mm(n)))return!0}return a}function X7(e){const n=[];let a;for(a in e)Tw.call(e,a)&&n.push([a,e[a]].join(": "));return n.join("; ")}function K7(e){const n={};let a=-1;for(;++a<e.length;)n[e[a].toLowerCase()]=e[a];return n}const J7=["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","solidColor","textArea","textPath"],Z7=y3(Wm,"div"),eU=y3(ll,"g",J7);function tU(e){const n=String(e),a=[];return{toOffset:f,toPoint:s};function s(h){if(typeof h=="number"&&h>-1&&h<=n.length){let d=0;for(;;){let g=a[d];if(g===void 0){const E=uk(n,a[d-1]);g=E===-1?n.length+1:E+1,a[d]=g}if(g>h)return{line:d+1,column:h-(d>0?a[d-1]:0)+1,offset:h};d++}}}function f(h){if(h&&typeof h.line=="number"&&typeof h.column=="number"&&!Number.isNaN(h.line)&&!Number.isNaN(h.column)){for(;a.length<h.line;){const g=a[a.length-1],E=uk(n,g),b=E===-1?n.length+1:E+1;if(g===b)break;a.push(b)}const d=(h.line>1?a[h.line-2]:0)+h.column-1;if(d<a[h.line-1])return d}}}function uk(e,n){const a=e.indexOf("\r",n),s=e.indexOf(`
29
- `,n);return s===-1?a:a===-1||a+1===s?s:a<s?a:s}const kc={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},E3={}.hasOwnProperty,nU=Object.prototype;function rU(e,n){const a=n||{};return rT({file:a.file||void 0,location:!1,schema:a.space==="svg"?ll:Wm,verbose:a.verbose||!1},e)}function rT(e,n){let a;switch(n.nodeName){case"#comment":{const s=n;return a={type:"comment",value:s.data},x1(e,s,a),a}case"#document":case"#document-fragment":{const s=n,f="mode"in s?s.mode==="quirks"||s.mode==="limited-quirks":!1;if(a={type:"root",children:b3(e,n.childNodes),data:{quirksMode:f}},e.file&&e.location){const h=String(e.file),d=tU(h),g=d.toPoint(0),E=d.toPoint(h.length);a.position={start:g,end:E}}return a}case"#documentType":{const s=n;return a={type:"doctype"},x1(e,s,a),a}case"#text":{const s=n;return a={type:"text",value:s.value},x1(e,s,a),a}default:return a=aU(e,n),a}}function b3(e,n){let a=-1;const s=[];for(;++a<n.length;){const f=rT(e,n[a]);s.push(f)}return s}function aU(e,n){const a=e.schema;e.schema=n.namespaceURI===kc.svg?ll:Wm;let s=-1;const f={};for(;++s<n.attrs.length;){const g=n.attrs[s],E=(g.prefix?g.prefix+":":"")+g.name;E3.call(nU,E)||(f[E]=g.value)}const d=(e.schema.space==="svg"?eU:Z7)(n.tagName,f,b3(e,n.childNodes));if(x1(e,n,d),d.tagName==="template"){const g=n,E=g.sourceCodeLocation,b=E&&E.startTag&&Hf(E.startTag),C=E&&E.endTag&&Hf(E.endTag),S=rT(e,g.content);b&&C&&e.file&&(S.position={start:b.end,end:C.start}),d.content=S}return e.schema=a,d}function x1(e,n,a){if("sourceCodeLocation"in n&&n.sourceCodeLocation&&e.file){const s=iU(e,a,n.sourceCodeLocation);s&&(e.location=!0,a.position=s)}}function iU(e,n,a){const s=Hf(a);if(n.type==="element"){const f=n.children[n.children.length-1];if(s&&!a.endTag&&f&&f.position&&f.position.end&&(s.end=Object.assign({},f.position.end)),e.verbose){const h={};let d;if(a.attrs)for(d in a.attrs)E3.call(a.attrs,d)&&(h[W1(e.schema,d).property]=Hf(a.attrs[d]));a.startTag;const g=Hf(a.startTag),E=a.endTag?Hf(a.endTag):void 0,b={opening:g};E&&(b.closing=E),b.properties=h,n.data={position:b}}}return s}function Hf(e){const n=sk({line:e.startLine,column:e.startCol,offset:e.startOffset}),a=sk({line:e.endLine,column:e.endCol,offset:e.endOffset});return n||a?{start:n,end:a}:void 0}function sk(e){return e.line&&e.column?e:void 0}const oU={},uU={}.hasOwnProperty,x3=pA("type",{handlers:{root:lU,element:hU,text:fU,comment:pU,doctype:dU}});function sU(e,n){const s=(n||oU).space;return x3(e,s==="svg"?ll:Wm)}function lU(e,n){const a={nodeName:"#document",mode:(e.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return a.childNodes=aT(e.children,a,n),tp(e,a),a}function cU(e,n){const a={nodeName:"#document-fragment",childNodes:[]};return a.childNodes=aT(e.children,a,n),tp(e,a),a}function dU(e){const n={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:null};return tp(e,n),n}function fU(e){const n={nodeName:"#text",value:e.value,parentNode:null};return tp(e,n),n}function pU(e){const n={nodeName:"#comment",data:e.value,parentNode:null};return tp(e,n),n}function hU(e,n){const a=n;let s=a;e.type==="element"&&e.tagName.toLowerCase()==="svg"&&a.space==="html"&&(s=ll);const f=[];let h;if(e.properties){for(h in e.properties)if(h!=="children"&&uU.call(e.properties,h)){const E=mU(s,h,e.properties[h]);E&&f.push(E)}}const d=s.space,g={nodeName:e.tagName,tagName:e.tagName,attrs:f,namespaceURI:kc[d],childNodes:[],parentNode:null};return g.childNodes=aT(e.children,g,s),tp(e,g),e.tagName==="template"&&e.content&&(g.content=cU(e.content,s)),g}function mU(e,n,a){const s=W1(e,n);if(a===!1||a===null||a===void 0||typeof a=="number"&&Number.isNaN(a)||!a&&s.boolean)return;Array.isArray(a)&&(a=s.commaSeparated?YA(a):ZA(a));const f={name:s.attribute,value:a===!0?"":String(a)};if(s.space&&s.space!=="html"&&s.space!=="svg"){const h=f.name.indexOf(":");h<0?f.prefix="":(f.name=f.name.slice(h+1),f.prefix=s.attribute.slice(0,h)),f.namespace=kc[s.space]}return f}function aT(e,n,a){let s=-1;const f=[];if(e)for(;++s<e.length;){const h=x3(e[s],a);h.parentNode=n,f.push(h)}return f}function tp(e,n){const a=e.position;a&&a.start&&a.end&&(a.start.offset,a.end.offset,n.sourceCodeLocation={startLine:a.start.line,startCol:a.start.column,startOffset:a.start.offset,endLine:a.end.line,endCol:a.end.column,endOffset:a.end.offset})}const gU=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"],vU=new Set([65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111]),Tn="�";var P;(function(e){e[e.EOF=-1]="EOF",e[e.NULL=0]="NULL",e[e.TABULATION=9]="TABULATION",e[e.CARRIAGE_RETURN=13]="CARRIAGE_RETURN",e[e.LINE_FEED=10]="LINE_FEED",e[e.FORM_FEED=12]="FORM_FEED",e[e.SPACE=32]="SPACE",e[e.EXCLAMATION_MARK=33]="EXCLAMATION_MARK",e[e.QUOTATION_MARK=34]="QUOTATION_MARK",e[e.AMPERSAND=38]="AMPERSAND",e[e.APOSTROPHE=39]="APOSTROPHE",e[e.HYPHEN_MINUS=45]="HYPHEN_MINUS",e[e.SOLIDUS=47]="SOLIDUS",e[e.DIGIT_0=48]="DIGIT_0",e[e.DIGIT_9=57]="DIGIT_9",e[e.SEMICOLON=59]="SEMICOLON",e[e.LESS_THAN_SIGN=60]="LESS_THAN_SIGN",e[e.EQUALS_SIGN=61]="EQUALS_SIGN",e[e.GREATER_THAN_SIGN=62]="GREATER_THAN_SIGN",e[e.QUESTION_MARK=63]="QUESTION_MARK",e[e.LATIN_CAPITAL_A=65]="LATIN_CAPITAL_A",e[e.LATIN_CAPITAL_Z=90]="LATIN_CAPITAL_Z",e[e.RIGHT_SQUARE_BRACKET=93]="RIGHT_SQUARE_BRACKET",e[e.GRAVE_ACCENT=96]="GRAVE_ACCENT",e[e.LATIN_SMALL_A=97]="LATIN_SMALL_A",e[e.LATIN_SMALL_Z=122]="LATIN_SMALL_Z"})(P||(P={}));const Ya={DASH_DASH:"--",CDATA_START:"[CDATA[",DOCTYPE:"doctype",SCRIPT:"script",PUBLIC:"public",SYSTEM:"system"};function w3(e){return e>=55296&&e<=57343}function yU(e){return e>=56320&&e<=57343}function EU(e,n){return(e-55296)*1024+9216+n}function T3(e){return e!==32&&e!==10&&e!==13&&e!==9&&e!==12&&e>=1&&e<=31||e>=127&&e<=159}function S3(e){return e>=64976&&e<=65007||vU.has(e)}var ce;(function(e){e.controlCharacterInInputStream="control-character-in-input-stream",e.noncharacterInInputStream="noncharacter-in-input-stream",e.surrogateInInputStream="surrogate-in-input-stream",e.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",e.endTagWithAttributes="end-tag-with-attributes",e.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",e.unexpectedSolidusInTag="unexpected-solidus-in-tag",e.unexpectedNullCharacter="unexpected-null-character",e.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",e.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",e.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",e.missingEndTagName="missing-end-tag-name",e.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",e.unknownNamedCharacterReference="unknown-named-character-reference",e.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",e.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",e.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",e.eofBeforeTagName="eof-before-tag-name",e.eofInTag="eof-in-tag",e.missingAttributeValue="missing-attribute-value",e.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",e.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",e.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",e.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",e.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",e.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",e.missingDoctypePublicIdentifier="missing-doctype-public-identifier",e.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",e.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",e.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",e.cdataInHtmlContent="cdata-in-html-content",e.incorrectlyOpenedComment="incorrectly-opened-comment",e.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",e.eofInDoctype="eof-in-doctype",e.nestedComment="nested-comment",e.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",e.eofInComment="eof-in-comment",e.incorrectlyClosedComment="incorrectly-closed-comment",e.eofInCdata="eof-in-cdata",e.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",e.nullCharacterReference="null-character-reference",e.surrogateCharacterReference="surrogate-character-reference",e.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",e.controlCharacterReference="control-character-reference",e.noncharacterCharacterReference="noncharacter-character-reference",e.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",e.missingDoctypeName="missing-doctype-name",e.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",e.duplicateAttribute="duplicate-attribute",e.nonConformingDoctype="non-conforming-doctype",e.missingDoctype="missing-doctype",e.misplacedDoctype="misplaced-doctype",e.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",e.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",e.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",e.openElementsLeftAfterEof="open-elements-left-after-eof",e.abandonedHeadElementChild="abandoned-head-element-child",e.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",e.nestedNoscriptInHead="nested-noscript-in-head",e.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text"})(ce||(ce={}));const bU=65536;class xU{constructor(n){this.handler=n,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=bU,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+ +(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(n,a){const{line:s,col:f,offset:h}=this,d=f+a,g=h+a;return{code:n,startLine:s,endLine:s,startCol:d,endCol:d,startOffset:g,endOffset:g}}_err(n){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(n,0)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(n){if(this.pos!==this.html.length-1){const a=this.html.charCodeAt(this.pos+1);if(yU(a))return this.pos++,this._addGap(),EU(n,a)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,P.EOF;return this._err(ce.surrogateInInputStream),n}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(n,a){this.html.length>0?this.html+=n:this.html=n,this.endOfChunkHit=!1,this.lastChunkWritten=a}insertHtmlAtCurrentPos(n){this.html=this.html.substring(0,this.pos+1)+n+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(n,a){if(this.pos+n.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(a)return this.html.startsWith(n,this.pos);for(let s=0;s<n.length;s++)if((this.html.charCodeAt(this.pos+s)|32)!==n.charCodeAt(s))return!1;return!0}peek(n){const a=this.pos+n;if(a>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,P.EOF;const s=this.html.charCodeAt(a);return s===P.CARRIAGE_RETURN?P.LINE_FEED:s}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,P.EOF;let n=this.html.charCodeAt(this.pos);return n===P.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,P.LINE_FEED):n===P.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,w3(n)&&(n=this._processSurrogate(n)),this.handler.onParseError===null||n>31&&n<127||n===P.LINE_FEED||n===P.CARRIAGE_RETURN||n>159&&n<64976||this._checkForProblematicCharacters(n),n)}_checkForProblematicCharacters(n){T3(n)?this._err(ce.controlCharacterInInputStream):S3(n)&&this._err(ce.noncharacterInInputStream)}retreat(n){for(this.pos-=n;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}}var Rt;(function(e){e[e.CHARACTER=0]="CHARACTER",e[e.NULL_CHARACTER=1]="NULL_CHARACTER",e[e.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",e[e.START_TAG=3]="START_TAG",e[e.END_TAG=4]="END_TAG",e[e.COMMENT=5]="COMMENT",e[e.DOCTYPE=6]="DOCTYPE",e[e.EOF=7]="EOF",e[e.HIBERNATION=8]="HIBERNATION"})(Rt||(Rt={}));function C3(e,n){for(let a=e.attrs.length-1;a>=0;a--)if(e.attrs[a].name===n)return e.attrs[a].value;return null}const _3=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(e=>e.charCodeAt(0))),wU=new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(e=>e.charCodeAt(0)));var Zx;const TU=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),SU=(Zx=String.fromCodePoint)!==null&&Zx!==void 0?Zx:function(e){let n="";return e>65535&&(e-=65536,n+=String.fromCharCode(e>>>10&1023|55296),e=56320|e&1023),n+=String.fromCharCode(e),n};function CU(e){var n;return e>=55296&&e<=57343||e>1114111?65533:(n=TU.get(e))!==null&&n!==void 0?n:e}var _r;(function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"})(_r||(_r={}));const _U=32;var tl;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(tl||(tl={}));function Cw(e){return e>=_r.ZERO&&e<=_r.NINE}function kU(e){return e>=_r.UPPER_A&&e<=_r.UPPER_F||e>=_r.LOWER_A&&e<=_r.LOWER_F}function AU(e){return e>=_r.UPPER_A&&e<=_r.UPPER_Z||e>=_r.LOWER_A&&e<=_r.LOWER_Z||Cw(e)}function RU(e){return e===_r.EQUALS||AU(e)}var Cr;(function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"})(Cr||(Cr={}));var Mu;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(Mu||(Mu={}));class k3{constructor(n,a,s){this.decodeTree=n,this.emitCodePoint=a,this.errors=s,this.state=Cr.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Mu.Strict}startEntity(n){this.decodeMode=n,this.state=Cr.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(n,a){switch(this.state){case Cr.EntityStart:return n.charCodeAt(a)===_r.NUM?(this.state=Cr.NumericStart,this.consumed+=1,this.stateNumericStart(n,a+1)):(this.state=Cr.NamedEntity,this.stateNamedEntity(n,a));case Cr.NumericStart:return this.stateNumericStart(n,a);case Cr.NumericDecimal:return this.stateNumericDecimal(n,a);case Cr.NumericHex:return this.stateNumericHex(n,a);case Cr.NamedEntity:return this.stateNamedEntity(n,a)}}stateNumericStart(n,a){return a>=n.length?-1:(n.charCodeAt(a)|_U)===_r.LOWER_X?(this.state=Cr.NumericHex,this.consumed+=1,this.stateNumericHex(n,a+1)):(this.state=Cr.NumericDecimal,this.stateNumericDecimal(n,a))}addToNumericResult(n,a,s,f){if(a!==s){const h=s-a;this.result=this.result*Math.pow(f,h)+parseInt(n.substr(a,h),f),this.consumed+=h}}stateNumericHex(n,a){const s=a;for(;a<n.length;){const f=n.charCodeAt(a);if(Cw(f)||kU(f))a+=1;else return this.addToNumericResult(n,s,a,16),this.emitNumericEntity(f,3)}return this.addToNumericResult(n,s,a,16),-1}stateNumericDecimal(n,a){const s=a;for(;a<n.length;){const f=n.charCodeAt(a);if(Cw(f))a+=1;else return this.addToNumericResult(n,s,a,10),this.emitNumericEntity(f,2)}return this.addToNumericResult(n,s,a,10),-1}emitNumericEntity(n,a){var s;if(this.consumed<=a)return(s=this.errors)===null||s===void 0||s.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(n===_r.SEMI)this.consumed+=1;else if(this.decodeMode===Mu.Strict)return 0;return this.emitCodePoint(CU(this.result),this.consumed),this.errors&&(n!==_r.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(n,a){const{decodeTree:s}=this;let f=s[this.treeIndex],h=(f&tl.VALUE_LENGTH)>>14;for(;a<n.length;a++,this.excess++){const d=n.charCodeAt(a);if(this.treeIndex=NU(s,f,this.treeIndex+Math.max(1,h),d),this.treeIndex<0)return this.result===0||this.decodeMode===Mu.Attribute&&(h===0||RU(d))?0:this.emitNotTerminatedNamedEntity();if(f=s[this.treeIndex],h=(f&tl.VALUE_LENGTH)>>14,h!==0){if(d===_r.SEMI)return this.emitNamedEntityData(this.treeIndex,h,this.consumed+this.excess);this.decodeMode!==Mu.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var n;const{result:a,decodeTree:s}=this,f=(s[a]&tl.VALUE_LENGTH)>>14;return this.emitNamedEntityData(a,f,this.consumed),(n=this.errors)===null||n===void 0||n.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(n,a,s){const{decodeTree:f}=this;return this.emitCodePoint(a===1?f[n]&~tl.VALUE_LENGTH:f[n+1],s),a===3&&this.emitCodePoint(f[n+2],s),s}end(){var n;switch(this.state){case Cr.NamedEntity:return this.result!==0&&(this.decodeMode!==Mu.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case Cr.NumericDecimal:return this.emitNumericEntity(0,2);case Cr.NumericHex:return this.emitNumericEntity(0,3);case Cr.NumericStart:return(n=this.errors)===null||n===void 0||n.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case Cr.EntityStart:return 0}}}function A3(e){let n="";const a=new k3(e,s=>n+=SU(s));return function(f,h){let d=0,g=0;for(;(g=f.indexOf("&",g))>=0;){n+=f.slice(d,g),a.startEntity(h);const b=a.write(f,g+1);if(b<0){d=g+a.end();break}d=g+b,g=b===0?d+1:d}const E=n+f.slice(d);return n="",E}}function NU(e,n,a,s){const f=(n&tl.BRANCH_LENGTH)>>7,h=n&tl.JUMP_TABLE;if(f===0)return h!==0&&s===h?a:-1;if(h){const E=s-h;return E<0||E>=f?-1:e[a+E]-1}let d=a,g=d+f-1;for(;d<=g;){const E=d+g>>>1,b=e[E];if(b<s)d=E+1;else if(b>s)g=E-1;else return e[E+f]}return-1}A3(_3);A3(wU);var xe;(function(e){e.HTML="http://www.w3.org/1999/xhtml",e.MATHML="http://www.w3.org/1998/Math/MathML",e.SVG="http://www.w3.org/2000/svg",e.XLINK="http://www.w3.org/1999/xlink",e.XML="http://www.w3.org/XML/1998/namespace",e.XMLNS="http://www.w3.org/2000/xmlns/"})(xe||(xe={}));var Ac;(function(e){e.TYPE="type",e.ACTION="action",e.ENCODING="encoding",e.PROMPT="prompt",e.NAME="name",e.COLOR="color",e.FACE="face",e.SIZE="size"})(Ac||(Ac={}));var Ri;(function(e){e.NO_QUIRKS="no-quirks",e.QUIRKS="quirks",e.LIMITED_QUIRKS="limited-quirks"})(Ri||(Ri={}));var ae;(function(e){e.A="a",e.ADDRESS="address",e.ANNOTATION_XML="annotation-xml",e.APPLET="applet",e.AREA="area",e.ARTICLE="article",e.ASIDE="aside",e.B="b",e.BASE="base",e.BASEFONT="basefont",e.BGSOUND="bgsound",e.BIG="big",e.BLOCKQUOTE="blockquote",e.BODY="body",e.BR="br",e.BUTTON="button",e.CAPTION="caption",e.CENTER="center",e.CODE="code",e.COL="col",e.COLGROUP="colgroup",e.DD="dd",e.DESC="desc",e.DETAILS="details",e.DIALOG="dialog",e.DIR="dir",e.DIV="div",e.DL="dl",e.DT="dt",e.EM="em",e.EMBED="embed",e.FIELDSET="fieldset",e.FIGCAPTION="figcaption",e.FIGURE="figure",e.FONT="font",e.FOOTER="footer",e.FOREIGN_OBJECT="foreignObject",e.FORM="form",e.FRAME="frame",e.FRAMESET="frameset",e.H1="h1",e.H2="h2",e.H3="h3",e.H4="h4",e.H5="h5",e.H6="h6",e.HEAD="head",e.HEADER="header",e.HGROUP="hgroup",e.HR="hr",e.HTML="html",e.I="i",e.IMG="img",e.IMAGE="image",e.INPUT="input",e.IFRAME="iframe",e.KEYGEN="keygen",e.LABEL="label",e.LI="li",e.LINK="link",e.LISTING="listing",e.MAIN="main",e.MALIGNMARK="malignmark",e.MARQUEE="marquee",e.MATH="math",e.MENU="menu",e.META="meta",e.MGLYPH="mglyph",e.MI="mi",e.MO="mo",e.MN="mn",e.MS="ms",e.MTEXT="mtext",e.NAV="nav",e.NOBR="nobr",e.NOFRAMES="noframes",e.NOEMBED="noembed",e.NOSCRIPT="noscript",e.OBJECT="object",e.OL="ol",e.OPTGROUP="optgroup",e.OPTION="option",e.P="p",e.PARAM="param",e.PLAINTEXT="plaintext",e.PRE="pre",e.RB="rb",e.RP="rp",e.RT="rt",e.RTC="rtc",e.RUBY="ruby",e.S="s",e.SCRIPT="script",e.SEARCH="search",e.SECTION="section",e.SELECT="select",e.SOURCE="source",e.SMALL="small",e.SPAN="span",e.STRIKE="strike",e.STRONG="strong",e.STYLE="style",e.SUB="sub",e.SUMMARY="summary",e.SUP="sup",e.TABLE="table",e.TBODY="tbody",e.TEMPLATE="template",e.TEXTAREA="textarea",e.TFOOT="tfoot",e.TD="td",e.TH="th",e.THEAD="thead",e.TITLE="title",e.TR="tr",e.TRACK="track",e.TT="tt",e.U="u",e.UL="ul",e.SVG="svg",e.VAR="var",e.WBR="wbr",e.XMP="xmp"})(ae||(ae={}));var y;(function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.A=1]="A",e[e.ADDRESS=2]="ADDRESS",e[e.ANNOTATION_XML=3]="ANNOTATION_XML",e[e.APPLET=4]="APPLET",e[e.AREA=5]="AREA",e[e.ARTICLE=6]="ARTICLE",e[e.ASIDE=7]="ASIDE",e[e.B=8]="B",e[e.BASE=9]="BASE",e[e.BASEFONT=10]="BASEFONT",e[e.BGSOUND=11]="BGSOUND",e[e.BIG=12]="BIG",e[e.BLOCKQUOTE=13]="BLOCKQUOTE",e[e.BODY=14]="BODY",e[e.BR=15]="BR",e[e.BUTTON=16]="BUTTON",e[e.CAPTION=17]="CAPTION",e[e.CENTER=18]="CENTER",e[e.CODE=19]="CODE",e[e.COL=20]="COL",e[e.COLGROUP=21]="COLGROUP",e[e.DD=22]="DD",e[e.DESC=23]="DESC",e[e.DETAILS=24]="DETAILS",e[e.DIALOG=25]="DIALOG",e[e.DIR=26]="DIR",e[e.DIV=27]="DIV",e[e.DL=28]="DL",e[e.DT=29]="DT",e[e.EM=30]="EM",e[e.EMBED=31]="EMBED",e[e.FIELDSET=32]="FIELDSET",e[e.FIGCAPTION=33]="FIGCAPTION",e[e.FIGURE=34]="FIGURE",e[e.FONT=35]="FONT",e[e.FOOTER=36]="FOOTER",e[e.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",e[e.FORM=38]="FORM",e[e.FRAME=39]="FRAME",e[e.FRAMESET=40]="FRAMESET",e[e.H1=41]="H1",e[e.H2=42]="H2",e[e.H3=43]="H3",e[e.H4=44]="H4",e[e.H5=45]="H5",e[e.H6=46]="H6",e[e.HEAD=47]="HEAD",e[e.HEADER=48]="HEADER",e[e.HGROUP=49]="HGROUP",e[e.HR=50]="HR",e[e.HTML=51]="HTML",e[e.I=52]="I",e[e.IMG=53]="IMG",e[e.IMAGE=54]="IMAGE",e[e.INPUT=55]="INPUT",e[e.IFRAME=56]="IFRAME",e[e.KEYGEN=57]="KEYGEN",e[e.LABEL=58]="LABEL",e[e.LI=59]="LI",e[e.LINK=60]="LINK",e[e.LISTING=61]="LISTING",e[e.MAIN=62]="MAIN",e[e.MALIGNMARK=63]="MALIGNMARK",e[e.MARQUEE=64]="MARQUEE",e[e.MATH=65]="MATH",e[e.MENU=66]="MENU",e[e.META=67]="META",e[e.MGLYPH=68]="MGLYPH",e[e.MI=69]="MI",e[e.MO=70]="MO",e[e.MN=71]="MN",e[e.MS=72]="MS",e[e.MTEXT=73]="MTEXT",e[e.NAV=74]="NAV",e[e.NOBR=75]="NOBR",e[e.NOFRAMES=76]="NOFRAMES",e[e.NOEMBED=77]="NOEMBED",e[e.NOSCRIPT=78]="NOSCRIPT",e[e.OBJECT=79]="OBJECT",e[e.OL=80]="OL",e[e.OPTGROUP=81]="OPTGROUP",e[e.OPTION=82]="OPTION",e[e.P=83]="P",e[e.PARAM=84]="PARAM",e[e.PLAINTEXT=85]="PLAINTEXT",e[e.PRE=86]="PRE",e[e.RB=87]="RB",e[e.RP=88]="RP",e[e.RT=89]="RT",e[e.RTC=90]="RTC",e[e.RUBY=91]="RUBY",e[e.S=92]="S",e[e.SCRIPT=93]="SCRIPT",e[e.SEARCH=94]="SEARCH",e[e.SECTION=95]="SECTION",e[e.SELECT=96]="SELECT",e[e.SOURCE=97]="SOURCE",e[e.SMALL=98]="SMALL",e[e.SPAN=99]="SPAN",e[e.STRIKE=100]="STRIKE",e[e.STRONG=101]="STRONG",e[e.STYLE=102]="STYLE",e[e.SUB=103]="SUB",e[e.SUMMARY=104]="SUMMARY",e[e.SUP=105]="SUP",e[e.TABLE=106]="TABLE",e[e.TBODY=107]="TBODY",e[e.TEMPLATE=108]="TEMPLATE",e[e.TEXTAREA=109]="TEXTAREA",e[e.TFOOT=110]="TFOOT",e[e.TD=111]="TD",e[e.TH=112]="TH",e[e.THEAD=113]="THEAD",e[e.TITLE=114]="TITLE",e[e.TR=115]="TR",e[e.TRACK=116]="TRACK",e[e.TT=117]="TT",e[e.U=118]="U",e[e.UL=119]="UL",e[e.SVG=120]="SVG",e[e.VAR=121]="VAR",e[e.WBR=122]="WBR",e[e.XMP=123]="XMP"})(y||(y={}));const DU=new Map([[ae.A,y.A],[ae.ADDRESS,y.ADDRESS],[ae.ANNOTATION_XML,y.ANNOTATION_XML],[ae.APPLET,y.APPLET],[ae.AREA,y.AREA],[ae.ARTICLE,y.ARTICLE],[ae.ASIDE,y.ASIDE],[ae.B,y.B],[ae.BASE,y.BASE],[ae.BASEFONT,y.BASEFONT],[ae.BGSOUND,y.BGSOUND],[ae.BIG,y.BIG],[ae.BLOCKQUOTE,y.BLOCKQUOTE],[ae.BODY,y.BODY],[ae.BR,y.BR],[ae.BUTTON,y.BUTTON],[ae.CAPTION,y.CAPTION],[ae.CENTER,y.CENTER],[ae.CODE,y.CODE],[ae.COL,y.COL],[ae.COLGROUP,y.COLGROUP],[ae.DD,y.DD],[ae.DESC,y.DESC],[ae.DETAILS,y.DETAILS],[ae.DIALOG,y.DIALOG],[ae.DIR,y.DIR],[ae.DIV,y.DIV],[ae.DL,y.DL],[ae.DT,y.DT],[ae.EM,y.EM],[ae.EMBED,y.EMBED],[ae.FIELDSET,y.FIELDSET],[ae.FIGCAPTION,y.FIGCAPTION],[ae.FIGURE,y.FIGURE],[ae.FONT,y.FONT],[ae.FOOTER,y.FOOTER],[ae.FOREIGN_OBJECT,y.FOREIGN_OBJECT],[ae.FORM,y.FORM],[ae.FRAME,y.FRAME],[ae.FRAMESET,y.FRAMESET],[ae.H1,y.H1],[ae.H2,y.H2],[ae.H3,y.H3],[ae.H4,y.H4],[ae.H5,y.H5],[ae.H6,y.H6],[ae.HEAD,y.HEAD],[ae.HEADER,y.HEADER],[ae.HGROUP,y.HGROUP],[ae.HR,y.HR],[ae.HTML,y.HTML],[ae.I,y.I],[ae.IMG,y.IMG],[ae.IMAGE,y.IMAGE],[ae.INPUT,y.INPUT],[ae.IFRAME,y.IFRAME],[ae.KEYGEN,y.KEYGEN],[ae.LABEL,y.LABEL],[ae.LI,y.LI],[ae.LINK,y.LINK],[ae.LISTING,y.LISTING],[ae.MAIN,y.MAIN],[ae.MALIGNMARK,y.MALIGNMARK],[ae.MARQUEE,y.MARQUEE],[ae.MATH,y.MATH],[ae.MENU,y.MENU],[ae.META,y.META],[ae.MGLYPH,y.MGLYPH],[ae.MI,y.MI],[ae.MO,y.MO],[ae.MN,y.MN],[ae.MS,y.MS],[ae.MTEXT,y.MTEXT],[ae.NAV,y.NAV],[ae.NOBR,y.NOBR],[ae.NOFRAMES,y.NOFRAMES],[ae.NOEMBED,y.NOEMBED],[ae.NOSCRIPT,y.NOSCRIPT],[ae.OBJECT,y.OBJECT],[ae.OL,y.OL],[ae.OPTGROUP,y.OPTGROUP],[ae.OPTION,y.OPTION],[ae.P,y.P],[ae.PARAM,y.PARAM],[ae.PLAINTEXT,y.PLAINTEXT],[ae.PRE,y.PRE],[ae.RB,y.RB],[ae.RP,y.RP],[ae.RT,y.RT],[ae.RTC,y.RTC],[ae.RUBY,y.RUBY],[ae.S,y.S],[ae.SCRIPT,y.SCRIPT],[ae.SEARCH,y.SEARCH],[ae.SECTION,y.SECTION],[ae.SELECT,y.SELECT],[ae.SOURCE,y.SOURCE],[ae.SMALL,y.SMALL],[ae.SPAN,y.SPAN],[ae.STRIKE,y.STRIKE],[ae.STRONG,y.STRONG],[ae.STYLE,y.STYLE],[ae.SUB,y.SUB],[ae.SUMMARY,y.SUMMARY],[ae.SUP,y.SUP],[ae.TABLE,y.TABLE],[ae.TBODY,y.TBODY],[ae.TEMPLATE,y.TEMPLATE],[ae.TEXTAREA,y.TEXTAREA],[ae.TFOOT,y.TFOOT],[ae.TD,y.TD],[ae.TH,y.TH],[ae.THEAD,y.THEAD],[ae.TITLE,y.TITLE],[ae.TR,y.TR],[ae.TRACK,y.TRACK],[ae.TT,y.TT],[ae.U,y.U],[ae.UL,y.UL],[ae.SVG,y.SVG],[ae.VAR,y.VAR],[ae.WBR,y.WBR],[ae.XMP,y.XMP]]);function np(e){var n;return(n=DU.get(e))!==null&&n!==void 0?n:y.UNKNOWN}const _e=y,OU={[xe.HTML]:new Set([_e.ADDRESS,_e.APPLET,_e.AREA,_e.ARTICLE,_e.ASIDE,_e.BASE,_e.BASEFONT,_e.BGSOUND,_e.BLOCKQUOTE,_e.BODY,_e.BR,_e.BUTTON,_e.CAPTION,_e.CENTER,_e.COL,_e.COLGROUP,_e.DD,_e.DETAILS,_e.DIR,_e.DIV,_e.DL,_e.DT,_e.EMBED,_e.FIELDSET,_e.FIGCAPTION,_e.FIGURE,_e.FOOTER,_e.FORM,_e.FRAME,_e.FRAMESET,_e.H1,_e.H2,_e.H3,_e.H4,_e.H5,_e.H6,_e.HEAD,_e.HEADER,_e.HGROUP,_e.HR,_e.HTML,_e.IFRAME,_e.IMG,_e.INPUT,_e.LI,_e.LINK,_e.LISTING,_e.MAIN,_e.MARQUEE,_e.MENU,_e.META,_e.NAV,_e.NOEMBED,_e.NOFRAMES,_e.NOSCRIPT,_e.OBJECT,_e.OL,_e.P,_e.PARAM,_e.PLAINTEXT,_e.PRE,_e.SCRIPT,_e.SECTION,_e.SELECT,_e.SOURCE,_e.STYLE,_e.SUMMARY,_e.TABLE,_e.TBODY,_e.TD,_e.TEMPLATE,_e.TEXTAREA,_e.TFOOT,_e.TH,_e.THEAD,_e.TITLE,_e.TR,_e.TRACK,_e.UL,_e.WBR,_e.XMP]),[xe.MATHML]:new Set([_e.MI,_e.MO,_e.MN,_e.MS,_e.MTEXT,_e.ANNOTATION_XML]),[xe.SVG]:new Set([_e.TITLE,_e.FOREIGN_OBJECT,_e.DESC]),[xe.XLINK]:new Set,[xe.XML]:new Set,[xe.XMLNS]:new Set},_w=new Set([_e.H1,_e.H2,_e.H3,_e.H4,_e.H5,_e.H6]);ae.STYLE,ae.SCRIPT,ae.XMP,ae.IFRAME,ae.NOEMBED,ae.NOFRAMES,ae.PLAINTEXT;var U;(function(e){e[e.DATA=0]="DATA",e[e.RCDATA=1]="RCDATA",e[e.RAWTEXT=2]="RAWTEXT",e[e.SCRIPT_DATA=3]="SCRIPT_DATA",e[e.PLAINTEXT=4]="PLAINTEXT",e[e.TAG_OPEN=5]="TAG_OPEN",e[e.END_TAG_OPEN=6]="END_TAG_OPEN",e[e.TAG_NAME=7]="TAG_NAME",e[e.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",e[e.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",e[e.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",e[e.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",e[e.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",e[e.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",e[e.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",e[e.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",e[e.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",e[e.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",e[e.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",e[e.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",e[e.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",e[e.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",e[e.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",e[e.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",e[e.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",e[e.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",e[e.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",e[e.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",e[e.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",e[e.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",e[e.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",e[e.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",e[e.BOGUS_COMMENT=40]="BOGUS_COMMENT",e[e.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",e[e.COMMENT_START=42]="COMMENT_START",e[e.COMMENT_START_DASH=43]="COMMENT_START_DASH",e[e.COMMENT=44]="COMMENT",e[e.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",e[e.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",e[e.COMMENT_END_DASH=49]="COMMENT_END_DASH",e[e.COMMENT_END=50]="COMMENT_END",e[e.COMMENT_END_BANG=51]="COMMENT_END_BANG",e[e.DOCTYPE=52]="DOCTYPE",e[e.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",e[e.DOCTYPE_NAME=54]="DOCTYPE_NAME",e[e.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",e[e.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",e[e.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",e[e.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",e[e.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",e[e.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",e[e.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",e[e.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",e[e.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",e[e.CDATA_SECTION=68]="CDATA_SECTION",e[e.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",e[e.CDATA_SECTION_END=70]="CDATA_SECTION_END",e[e.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",e[e.AMBIGUOUS_AMPERSAND=72]="AMBIGUOUS_AMPERSAND"})(U||(U={}));const qn={DATA:U.DATA,RCDATA:U.RCDATA,RAWTEXT:U.RAWTEXT,SCRIPT_DATA:U.SCRIPT_DATA,PLAINTEXT:U.PLAINTEXT,CDATA_SECTION:U.CDATA_SECTION};function LU(e){return e>=P.DIGIT_0&&e<=P.DIGIT_9}function km(e){return e>=P.LATIN_CAPITAL_A&&e<=P.LATIN_CAPITAL_Z}function IU(e){return e>=P.LATIN_SMALL_A&&e<=P.LATIN_SMALL_Z}function Ks(e){return IU(e)||km(e)}function lk(e){return Ks(e)||LU(e)}function d1(e){return e+32}function R3(e){return e===P.SPACE||e===P.LINE_FEED||e===P.TABULATION||e===P.FORM_FEED}function ck(e){return R3(e)||e===P.SOLIDUS||e===P.GREATER_THAN_SIGN}function MU(e){return e===P.NULL?ce.nullCharacterReference:e>1114111?ce.characterReferenceOutsideUnicodeRange:w3(e)?ce.surrogateCharacterReference:S3(e)?ce.noncharacterCharacterReference:T3(e)||e===P.CARRIAGE_RETURN?ce.controlCharacterReference:null}class PU{constructor(n,a){this.options=n,this.handler=a,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=U.DATA,this.returnState=U.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new xU(a),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new k3(_3,(s,f)=>{this.preprocessor.pos=this.entityStartPos+f-1,this._flushCodePointConsumedAsCharacterReference(s)},a.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(ce.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:s=>{this._err(ce.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+s)},validateNumericCharacterReference:s=>{const f=MU(s);f&&this._err(f,1)}}:void 0)}_err(n,a=0){var s,f;(f=(s=this.handler).onParseError)===null||f===void 0||f.call(s,this.preprocessor.getError(n,a))}getCurrentLocation(n){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-n,startOffset:this.preprocessor.offset-n,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;const n=this._consume();this._ensureHibernation()||this._callState(n)}this.inLoop=!1}}pause(){this.paused=!0}resume(n){if(!this.paused)throw new Error("Parser was already resumed");this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||n==null||n())}write(n,a,s){this.active=!0,this.preprocessor.write(n,a),this._runParsingLoop(),this.paused||s==null||s()}insertHtmlAtCurrentPos(n){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(n),this._runParsingLoop()}_ensureHibernation(){return this.preprocessor.endOfChunkHit?(this.preprocessor.retreat(this.consumedAfterSnapshot),this.consumedAfterSnapshot=0,this.active=!1,!0):!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_advanceBy(n){this.consumedAfterSnapshot+=n;for(let a=0;a<n;a++)this.preprocessor.advance()}_consumeSequenceIfMatch(n,a){return this.preprocessor.startsWith(n,a)?(this._advanceBy(n.length-1),!0):!1}_createStartTagToken(){this.currentToken={type:Rt.START_TAG,tagName:"",tagID:y.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:Rt.END_TAG,tagName:"",tagID:y.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(n){this.currentToken={type:Rt.COMMENT,data:"",location:this.getCurrentLocation(n)}}_createDoctypeToken(n){this.currentToken={type:Rt.DOCTYPE,name:n,forceQuirks:!1,publicId:null,systemId:null,location:this.currentLocation}}_createCharacterToken(n,a){this.currentCharacterToken={type:n,chars:a,location:this.currentLocation}}_createAttr(n){this.currentAttr={name:n,value:""},this.currentLocation=this.getCurrentLocation(0)}_leaveAttrName(){var n,a;const s=this.currentToken;if(C3(s,this.currentAttr.name)===null){if(s.attrs.push(this.currentAttr),s.location&&this.currentLocation){const f=(n=(a=s.location).attrs)!==null&&n!==void 0?n:a.attrs=Object.create(null);f[this.currentAttr.name]=this.currentLocation,this._leaveAttrValue()}}else this._err(ce.duplicateAttribute)}_leaveAttrValue(){this.currentLocation&&(this.currentLocation.endLine=this.preprocessor.line,this.currentLocation.endCol=this.preprocessor.col,this.currentLocation.endOffset=this.preprocessor.offset)}prepareToken(n){this._emitCurrentCharacterToken(n.location),this.currentToken=null,n.location&&(n.location.endLine=this.preprocessor.line,n.location.endCol=this.preprocessor.col+1,n.location.endOffset=this.preprocessor.offset+1),this.currentLocation=this.getCurrentLocation(-1)}emitCurrentTagToken(){const n=this.currentToken;this.prepareToken(n),n.tagID=np(n.tagName),n.type===Rt.START_TAG?(this.lastStartTagName=n.tagName,this.handler.onStartTag(n)):(n.attrs.length>0&&this._err(ce.endTagWithAttributes),n.selfClosing&&this._err(ce.endTagWithTrailingSolidus),this.handler.onEndTag(n)),this.preprocessor.dropParsedChunk()}emitCurrentComment(n){this.prepareToken(n),this.handler.onComment(n),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(n){this.prepareToken(n),this.handler.onDoctype(n),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(n){if(this.currentCharacterToken){switch(n&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=n.startLine,this.currentCharacterToken.location.endCol=n.startCol,this.currentCharacterToken.location.endOffset=n.startOffset),this.currentCharacterToken.type){case Rt.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case Rt.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case Rt.WHITESPACE_CHARACTER:{this.handler.onWhitespaceCharacter(this.currentCharacterToken);break}}this.currentCharacterToken=null}}_emitEOFToken(){const n=this.getCurrentLocation(0);n&&(n.endLine=n.startLine,n.endCol=n.startCol,n.endOffset=n.startOffset),this._emitCurrentCharacterToken(n),this.handler.onEof({type:Rt.EOF,location:n}),this.active=!1}_appendCharToCurrentCharacterToken(n,a){if(this.currentCharacterToken)if(this.currentCharacterToken.type===n){this.currentCharacterToken.chars+=a;return}else this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();this._createCharacterToken(n,a)}_emitCodePoint(n){const a=R3(n)?Rt.WHITESPACE_CHARACTER:n===P.NULL?Rt.NULL_CHARACTER:Rt.CHARACTER;this._appendCharToCurrentCharacterToken(a,String.fromCodePoint(n))}_emitChars(n){this._appendCharToCurrentCharacterToken(Rt.CHARACTER,n)}_startCharacterReference(){this.returnState=this.state,this.state=U.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?Mu.Attribute:Mu.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===U.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===U.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===U.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(n){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(n):this._emitCodePoint(n)}_callState(n){switch(this.state){case U.DATA:{this._stateData(n);break}case U.RCDATA:{this._stateRcdata(n);break}case U.RAWTEXT:{this._stateRawtext(n);break}case U.SCRIPT_DATA:{this._stateScriptData(n);break}case U.PLAINTEXT:{this._statePlaintext(n);break}case U.TAG_OPEN:{this._stateTagOpen(n);break}case U.END_TAG_OPEN:{this._stateEndTagOpen(n);break}case U.TAG_NAME:{this._stateTagName(n);break}case U.RCDATA_LESS_THAN_SIGN:{this._stateRcdataLessThanSign(n);break}case U.RCDATA_END_TAG_OPEN:{this._stateRcdataEndTagOpen(n);break}case U.RCDATA_END_TAG_NAME:{this._stateRcdataEndTagName(n);break}case U.RAWTEXT_LESS_THAN_SIGN:{this._stateRawtextLessThanSign(n);break}case U.RAWTEXT_END_TAG_OPEN:{this._stateRawtextEndTagOpen(n);break}case U.RAWTEXT_END_TAG_NAME:{this._stateRawtextEndTagName(n);break}case U.SCRIPT_DATA_LESS_THAN_SIGN:{this._stateScriptDataLessThanSign(n);break}case U.SCRIPT_DATA_END_TAG_OPEN:{this._stateScriptDataEndTagOpen(n);break}case U.SCRIPT_DATA_END_TAG_NAME:{this._stateScriptDataEndTagName(n);break}case U.SCRIPT_DATA_ESCAPE_START:{this._stateScriptDataEscapeStart(n);break}case U.SCRIPT_DATA_ESCAPE_START_DASH:{this._stateScriptDataEscapeStartDash(n);break}case U.SCRIPT_DATA_ESCAPED:{this._stateScriptDataEscaped(n);break}case U.SCRIPT_DATA_ESCAPED_DASH:{this._stateScriptDataEscapedDash(n);break}case U.SCRIPT_DATA_ESCAPED_DASH_DASH:{this._stateScriptDataEscapedDashDash(n);break}case U.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataEscapedLessThanSign(n);break}case U.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:{this._stateScriptDataEscapedEndTagOpen(n);break}case U.SCRIPT_DATA_ESCAPED_END_TAG_NAME:{this._stateScriptDataEscapedEndTagName(n);break}case U.SCRIPT_DATA_DOUBLE_ESCAPE_START:{this._stateScriptDataDoubleEscapeStart(n);break}case U.SCRIPT_DATA_DOUBLE_ESCAPED:{this._stateScriptDataDoubleEscaped(n);break}case U.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:{this._stateScriptDataDoubleEscapedDash(n);break}case U.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:{this._stateScriptDataDoubleEscapedDashDash(n);break}case U.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataDoubleEscapedLessThanSign(n);break}case U.SCRIPT_DATA_DOUBLE_ESCAPE_END:{this._stateScriptDataDoubleEscapeEnd(n);break}case U.BEFORE_ATTRIBUTE_NAME:{this._stateBeforeAttributeName(n);break}case U.ATTRIBUTE_NAME:{this._stateAttributeName(n);break}case U.AFTER_ATTRIBUTE_NAME:{this._stateAfterAttributeName(n);break}case U.BEFORE_ATTRIBUTE_VALUE:{this._stateBeforeAttributeValue(n);break}case U.ATTRIBUTE_VALUE_DOUBLE_QUOTED:{this._stateAttributeValueDoubleQuoted(n);break}case U.ATTRIBUTE_VALUE_SINGLE_QUOTED:{this._stateAttributeValueSingleQuoted(n);break}case U.ATTRIBUTE_VALUE_UNQUOTED:{this._stateAttributeValueUnquoted(n);break}case U.AFTER_ATTRIBUTE_VALUE_QUOTED:{this._stateAfterAttributeValueQuoted(n);break}case U.SELF_CLOSING_START_TAG:{this._stateSelfClosingStartTag(n);break}case U.BOGUS_COMMENT:{this._stateBogusComment(n);break}case U.MARKUP_DECLARATION_OPEN:{this._stateMarkupDeclarationOpen(n);break}case U.COMMENT_START:{this._stateCommentStart(n);break}case U.COMMENT_START_DASH:{this._stateCommentStartDash(n);break}case U.COMMENT:{this._stateComment(n);break}case U.COMMENT_LESS_THAN_SIGN:{this._stateCommentLessThanSign(n);break}case U.COMMENT_LESS_THAN_SIGN_BANG:{this._stateCommentLessThanSignBang(n);break}case U.COMMENT_LESS_THAN_SIGN_BANG_DASH:{this._stateCommentLessThanSignBangDash(n);break}case U.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:{this._stateCommentLessThanSignBangDashDash(n);break}case U.COMMENT_END_DASH:{this._stateCommentEndDash(n);break}case U.COMMENT_END:{this._stateCommentEnd(n);break}case U.COMMENT_END_BANG:{this._stateCommentEndBang(n);break}case U.DOCTYPE:{this._stateDoctype(n);break}case U.BEFORE_DOCTYPE_NAME:{this._stateBeforeDoctypeName(n);break}case U.DOCTYPE_NAME:{this._stateDoctypeName(n);break}case U.AFTER_DOCTYPE_NAME:{this._stateAfterDoctypeName(n);break}case U.AFTER_DOCTYPE_PUBLIC_KEYWORD:{this._stateAfterDoctypePublicKeyword(n);break}case U.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateBeforeDoctypePublicIdentifier(n);break}case U.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypePublicIdentifierDoubleQuoted(n);break}case U.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypePublicIdentifierSingleQuoted(n);break}case U.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateAfterDoctypePublicIdentifier(n);break}case U.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:{this._stateBetweenDoctypePublicAndSystemIdentifiers(n);break}case U.AFTER_DOCTYPE_SYSTEM_KEYWORD:{this._stateAfterDoctypeSystemKeyword(n);break}case U.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateBeforeDoctypeSystemIdentifier(n);break}case U.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypeSystemIdentifierDoubleQuoted(n);break}case U.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypeSystemIdentifierSingleQuoted(n);break}case U.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateAfterDoctypeSystemIdentifier(n);break}case U.BOGUS_DOCTYPE:{this._stateBogusDoctype(n);break}case U.CDATA_SECTION:{this._stateCdataSection(n);break}case U.CDATA_SECTION_BRACKET:{this._stateCdataSectionBracket(n);break}case U.CDATA_SECTION_END:{this._stateCdataSectionEnd(n);break}case U.CHARACTER_REFERENCE:{this._stateCharacterReference();break}case U.AMBIGUOUS_AMPERSAND:{this._stateAmbiguousAmpersand(n);break}default:throw new Error("Unknown state")}}_stateData(n){switch(n){case P.LESS_THAN_SIGN:{this.state=U.TAG_OPEN;break}case P.AMPERSAND:{this._startCharacterReference();break}case P.NULL:{this._err(ce.unexpectedNullCharacter),this._emitCodePoint(n);break}case P.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(n)}}_stateRcdata(n){switch(n){case P.AMPERSAND:{this._startCharacterReference();break}case P.LESS_THAN_SIGN:{this.state=U.RCDATA_LESS_THAN_SIGN;break}case P.NULL:{this._err(ce.unexpectedNullCharacter),this._emitChars(Tn);break}case P.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(n)}}_stateRawtext(n){switch(n){case P.LESS_THAN_SIGN:{this.state=U.RAWTEXT_LESS_THAN_SIGN;break}case P.NULL:{this._err(ce.unexpectedNullCharacter),this._emitChars(Tn);break}case P.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(n)}}_stateScriptData(n){switch(n){case P.LESS_THAN_SIGN:{this.state=U.SCRIPT_DATA_LESS_THAN_SIGN;break}case P.NULL:{this._err(ce.unexpectedNullCharacter),this._emitChars(Tn);break}case P.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(n)}}_statePlaintext(n){switch(n){case P.NULL:{this._err(ce.unexpectedNullCharacter),this._emitChars(Tn);break}case P.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(n)}}_stateTagOpen(n){if(Ks(n))this._createStartTagToken(),this.state=U.TAG_NAME,this._stateTagName(n);else switch(n){case P.EXCLAMATION_MARK:{this.state=U.MARKUP_DECLARATION_OPEN;break}case P.SOLIDUS:{this.state=U.END_TAG_OPEN;break}case P.QUESTION_MARK:{this._err(ce.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=U.BOGUS_COMMENT,this._stateBogusComment(n);break}case P.EOF:{this._err(ce.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}default:this._err(ce.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=U.DATA,this._stateData(n)}}_stateEndTagOpen(n){if(Ks(n))this._createEndTagToken(),this.state=U.TAG_NAME,this._stateTagName(n);else switch(n){case P.GREATER_THAN_SIGN:{this._err(ce.missingEndTagName),this.state=U.DATA;break}case P.EOF:{this._err(ce.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break}default:this._err(ce.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=U.BOGUS_COMMENT,this._stateBogusComment(n)}}_stateTagName(n){const a=this.currentToken;switch(n){case P.SPACE:case P.LINE_FEED:case P.TABULATION:case P.FORM_FEED:{this.state=U.BEFORE_ATTRIBUTE_NAME;break}case P.SOLIDUS:{this.state=U.SELF_CLOSING_START_TAG;break}case P.GREATER_THAN_SIGN:{this.state=U.DATA,this.emitCurrentTagToken();break}case P.NULL:{this._err(ce.unexpectedNullCharacter),a.tagName+=Tn;break}case P.EOF:{this._err(ce.eofInTag),this._emitEOFToken();break}default:a.tagName+=String.fromCodePoint(km(n)?d1(n):n)}}_stateRcdataLessThanSign(n){n===P.SOLIDUS?this.state=U.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=U.RCDATA,this._stateRcdata(n))}_stateRcdataEndTagOpen(n){Ks(n)?(this.state=U.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(n)):(this._emitChars("</"),this.state=U.RCDATA,this._stateRcdata(n))}handleSpecialEndTag(n){if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation();this._createEndTagToken();const a=this.currentToken;switch(a.tagName=this.lastStartTagName,this.preprocessor.peek(this.lastStartTagName.length)){case P.SPACE:case P.LINE_FEED:case P.TABULATION:case P.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=U.BEFORE_ATTRIBUTE_NAME,!1;case P.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=U.SELF_CLOSING_START_TAG,!1;case P.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=U.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(n){this.handleSpecialEndTag(n)&&(this._emitChars("</"),this.state=U.RCDATA,this._stateRcdata(n))}_stateRawtextLessThanSign(n){n===P.SOLIDUS?this.state=U.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=U.RAWTEXT,this._stateRawtext(n))}_stateRawtextEndTagOpen(n){Ks(n)?(this.state=U.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(n)):(this._emitChars("</"),this.state=U.RAWTEXT,this._stateRawtext(n))}_stateRawtextEndTagName(n){this.handleSpecialEndTag(n)&&(this._emitChars("</"),this.state=U.RAWTEXT,this._stateRawtext(n))}_stateScriptDataLessThanSign(n){switch(n){case P.SOLIDUS:{this.state=U.SCRIPT_DATA_END_TAG_OPEN;break}case P.EXCLAMATION_MARK:{this.state=U.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break}default:this._emitChars("<"),this.state=U.SCRIPT_DATA,this._stateScriptData(n)}}_stateScriptDataEndTagOpen(n){Ks(n)?(this.state=U.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(n)):(this._emitChars("</"),this.state=U.SCRIPT_DATA,this._stateScriptData(n))}_stateScriptDataEndTagName(n){this.handleSpecialEndTag(n)&&(this._emitChars("</"),this.state=U.SCRIPT_DATA,this._stateScriptData(n))}_stateScriptDataEscapeStart(n){n===P.HYPHEN_MINUS?(this.state=U.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=U.SCRIPT_DATA,this._stateScriptData(n))}_stateScriptDataEscapeStartDash(n){n===P.HYPHEN_MINUS?(this.state=U.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-")):(this.state=U.SCRIPT_DATA,this._stateScriptData(n))}_stateScriptDataEscaped(n){switch(n){case P.HYPHEN_MINUS:{this.state=U.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break}case P.LESS_THAN_SIGN:{this.state=U.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case P.NULL:{this._err(ce.unexpectedNullCharacter),this._emitChars(Tn);break}case P.EOF:{this._err(ce.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(n)}}_stateScriptDataEscapedDash(n){switch(n){case P.HYPHEN_MINUS:{this.state=U.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break}case P.LESS_THAN_SIGN:{this.state=U.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case P.NULL:{this._err(ce.unexpectedNullCharacter),this.state=U.SCRIPT_DATA_ESCAPED,this._emitChars(Tn);break}case P.EOF:{this._err(ce.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=U.SCRIPT_DATA_ESCAPED,this._emitCodePoint(n)}}_stateScriptDataEscapedDashDash(n){switch(n){case P.HYPHEN_MINUS:{this._emitChars("-");break}case P.LESS_THAN_SIGN:{this.state=U.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case P.GREATER_THAN_SIGN:{this.state=U.SCRIPT_DATA,this._emitChars(">");break}case P.NULL:{this._err(ce.unexpectedNullCharacter),this.state=U.SCRIPT_DATA_ESCAPED,this._emitChars(Tn);break}case P.EOF:{this._err(ce.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=U.SCRIPT_DATA_ESCAPED,this._emitCodePoint(n)}}_stateScriptDataEscapedLessThanSign(n){n===P.SOLIDUS?this.state=U.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:Ks(n)?(this._emitChars("<"),this.state=U.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(n)):(this._emitChars("<"),this.state=U.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(n))}_stateScriptDataEscapedEndTagOpen(n){Ks(n)?(this.state=U.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(n)):(this._emitChars("</"),this.state=U.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(n))}_stateScriptDataEscapedEndTagName(n){this.handleSpecialEndTag(n)&&(this._emitChars("</"),this.state=U.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(n))}_stateScriptDataDoubleEscapeStart(n){if(this.preprocessor.startsWith(Ya.SCRIPT,!1)&&ck(this.preprocessor.peek(Ya.SCRIPT.length))){this._emitCodePoint(n);for(let a=0;a<Ya.SCRIPT.length;a++)this._emitCodePoint(this._consume());this.state=U.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=U.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(n))}_stateScriptDataDoubleEscaped(n){switch(n){case P.HYPHEN_MINUS:{this.state=U.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break}case P.LESS_THAN_SIGN:{this.state=U.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case P.NULL:{this._err(ce.unexpectedNullCharacter),this._emitChars(Tn);break}case P.EOF:{this._err(ce.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(n)}}_stateScriptDataDoubleEscapedDash(n){switch(n){case P.HYPHEN_MINUS:{this.state=U.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break}case P.LESS_THAN_SIGN:{this.state=U.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case P.NULL:{this._err(ce.unexpectedNullCharacter),this.state=U.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(Tn);break}case P.EOF:{this._err(ce.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=U.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(n)}}_stateScriptDataDoubleEscapedDashDash(n){switch(n){case P.HYPHEN_MINUS:{this._emitChars("-");break}case P.LESS_THAN_SIGN:{this.state=U.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case P.GREATER_THAN_SIGN:{this.state=U.SCRIPT_DATA,this._emitChars(">");break}case P.NULL:{this._err(ce.unexpectedNullCharacter),this.state=U.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(Tn);break}case P.EOF:{this._err(ce.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=U.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(n)}}_stateScriptDataDoubleEscapedLessThanSign(n){n===P.SOLIDUS?(this.state=U.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=U.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(n))}_stateScriptDataDoubleEscapeEnd(n){if(this.preprocessor.startsWith(Ya.SCRIPT,!1)&&ck(this.preprocessor.peek(Ya.SCRIPT.length))){this._emitCodePoint(n);for(let a=0;a<Ya.SCRIPT.length;a++)this._emitCodePoint(this._consume());this.state=U.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=U.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(n))}_stateBeforeAttributeName(n){switch(n){case P.SPACE:case P.LINE_FEED:case P.TABULATION:case P.FORM_FEED:break;case P.SOLIDUS:case P.GREATER_THAN_SIGN:case P.EOF:{this.state=U.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(n);break}case P.EQUALS_SIGN:{this._err(ce.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=U.ATTRIBUTE_NAME;break}default:this._createAttr(""),this.state=U.ATTRIBUTE_NAME,this._stateAttributeName(n)}}_stateAttributeName(n){switch(n){case P.SPACE:case P.LINE_FEED:case P.TABULATION:case P.FORM_FEED:case P.SOLIDUS:case P.GREATER_THAN_SIGN:case P.EOF:{this._leaveAttrName(),this.state=U.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(n);break}case P.EQUALS_SIGN:{this._leaveAttrName(),this.state=U.BEFORE_ATTRIBUTE_VALUE;break}case P.QUOTATION_MARK:case P.APOSTROPHE:case P.LESS_THAN_SIGN:{this._err(ce.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(n);break}case P.NULL:{this._err(ce.unexpectedNullCharacter),this.currentAttr.name+=Tn;break}default:this.currentAttr.name+=String.fromCodePoint(km(n)?d1(n):n)}}_stateAfterAttributeName(n){switch(n){case P.SPACE:case P.LINE_FEED:case P.TABULATION:case P.FORM_FEED:break;case P.SOLIDUS:{this.state=U.SELF_CLOSING_START_TAG;break}case P.EQUALS_SIGN:{this.state=U.BEFORE_ATTRIBUTE_VALUE;break}case P.GREATER_THAN_SIGN:{this.state=U.DATA,this.emitCurrentTagToken();break}case P.EOF:{this._err(ce.eofInTag),this._emitEOFToken();break}default:this._createAttr(""),this.state=U.ATTRIBUTE_NAME,this._stateAttributeName(n)}}_stateBeforeAttributeValue(n){switch(n){case P.SPACE:case P.LINE_FEED:case P.TABULATION:case P.FORM_FEED:break;case P.QUOTATION_MARK:{this.state=U.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break}case P.APOSTROPHE:{this.state=U.ATTRIBUTE_VALUE_SINGLE_QUOTED;break}case P.GREATER_THAN_SIGN:{this._err(ce.missingAttributeValue),this.state=U.DATA,this.emitCurrentTagToken();break}default:this.state=U.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(n)}}_stateAttributeValueDoubleQuoted(n){switch(n){case P.QUOTATION_MARK:{this.state=U.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case P.AMPERSAND:{this._startCharacterReference();break}case P.NULL:{this._err(ce.unexpectedNullCharacter),this.currentAttr.value+=Tn;break}case P.EOF:{this._err(ce.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(n)}}_stateAttributeValueSingleQuoted(n){switch(n){case P.APOSTROPHE:{this.state=U.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case P.AMPERSAND:{this._startCharacterReference();break}case P.NULL:{this._err(ce.unexpectedNullCharacter),this.currentAttr.value+=Tn;break}case P.EOF:{this._err(ce.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(n)}}_stateAttributeValueUnquoted(n){switch(n){case P.SPACE:case P.LINE_FEED:case P.TABULATION:case P.FORM_FEED:{this._leaveAttrValue(),this.state=U.BEFORE_ATTRIBUTE_NAME;break}case P.AMPERSAND:{this._startCharacterReference();break}case P.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=U.DATA,this.emitCurrentTagToken();break}case P.NULL:{this._err(ce.unexpectedNullCharacter),this.currentAttr.value+=Tn;break}case P.QUOTATION_MARK:case P.APOSTROPHE:case P.LESS_THAN_SIGN:case P.EQUALS_SIGN:case P.GRAVE_ACCENT:{this._err(ce.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(n);break}case P.EOF:{this._err(ce.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(n)}}_stateAfterAttributeValueQuoted(n){switch(n){case P.SPACE:case P.LINE_FEED:case P.TABULATION:case P.FORM_FEED:{this._leaveAttrValue(),this.state=U.BEFORE_ATTRIBUTE_NAME;break}case P.SOLIDUS:{this._leaveAttrValue(),this.state=U.SELF_CLOSING_START_TAG;break}case P.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=U.DATA,this.emitCurrentTagToken();break}case P.EOF:{this._err(ce.eofInTag),this._emitEOFToken();break}default:this._err(ce.missingWhitespaceBetweenAttributes),this.state=U.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(n)}}_stateSelfClosingStartTag(n){switch(n){case P.GREATER_THAN_SIGN:{const a=this.currentToken;a.selfClosing=!0,this.state=U.DATA,this.emitCurrentTagToken();break}case P.EOF:{this._err(ce.eofInTag),this._emitEOFToken();break}default:this._err(ce.unexpectedSolidusInTag),this.state=U.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(n)}}_stateBogusComment(n){const a=this.currentToken;switch(n){case P.GREATER_THAN_SIGN:{this.state=U.DATA,this.emitCurrentComment(a);break}case P.EOF:{this.emitCurrentComment(a),this._emitEOFToken();break}case P.NULL:{this._err(ce.unexpectedNullCharacter),a.data+=Tn;break}default:a.data+=String.fromCodePoint(n)}}_stateMarkupDeclarationOpen(n){this._consumeSequenceIfMatch(Ya.DASH_DASH,!0)?(this._createCommentToken(Ya.DASH_DASH.length+1),this.state=U.COMMENT_START):this._consumeSequenceIfMatch(Ya.DOCTYPE,!1)?(this.currentLocation=this.getCurrentLocation(Ya.DOCTYPE.length+1),this.state=U.DOCTYPE):this._consumeSequenceIfMatch(Ya.CDATA_START,!0)?this.inForeignNode?this.state=U.CDATA_SECTION:(this._err(ce.cdataInHtmlContent),this._createCommentToken(Ya.CDATA_START.length+1),this.currentToken.data="[CDATA[",this.state=U.BOGUS_COMMENT):this._ensureHibernation()||(this._err(ce.incorrectlyOpenedComment),this._createCommentToken(2),this.state=U.BOGUS_COMMENT,this._stateBogusComment(n))}_stateCommentStart(n){switch(n){case P.HYPHEN_MINUS:{this.state=U.COMMENT_START_DASH;break}case P.GREATER_THAN_SIGN:{this._err(ce.abruptClosingOfEmptyComment),this.state=U.DATA;const a=this.currentToken;this.emitCurrentComment(a);break}default:this.state=U.COMMENT,this._stateComment(n)}}_stateCommentStartDash(n){const a=this.currentToken;switch(n){case P.HYPHEN_MINUS:{this.state=U.COMMENT_END;break}case P.GREATER_THAN_SIGN:{this._err(ce.abruptClosingOfEmptyComment),this.state=U.DATA,this.emitCurrentComment(a);break}case P.EOF:{this._err(ce.eofInComment),this.emitCurrentComment(a),this._emitEOFToken();break}default:a.data+="-",this.state=U.COMMENT,this._stateComment(n)}}_stateComment(n){const a=this.currentToken;switch(n){case P.HYPHEN_MINUS:{this.state=U.COMMENT_END_DASH;break}case P.LESS_THAN_SIGN:{a.data+="<",this.state=U.COMMENT_LESS_THAN_SIGN;break}case P.NULL:{this._err(ce.unexpectedNullCharacter),a.data+=Tn;break}case P.EOF:{this._err(ce.eofInComment),this.emitCurrentComment(a),this._emitEOFToken();break}default:a.data+=String.fromCodePoint(n)}}_stateCommentLessThanSign(n){const a=this.currentToken;switch(n){case P.EXCLAMATION_MARK:{a.data+="!",this.state=U.COMMENT_LESS_THAN_SIGN_BANG;break}case P.LESS_THAN_SIGN:{a.data+="<";break}default:this.state=U.COMMENT,this._stateComment(n)}}_stateCommentLessThanSignBang(n){n===P.HYPHEN_MINUS?this.state=U.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=U.COMMENT,this._stateComment(n))}_stateCommentLessThanSignBangDash(n){n===P.HYPHEN_MINUS?this.state=U.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=U.COMMENT_END_DASH,this._stateCommentEndDash(n))}_stateCommentLessThanSignBangDashDash(n){n!==P.GREATER_THAN_SIGN&&n!==P.EOF&&this._err(ce.nestedComment),this.state=U.COMMENT_END,this._stateCommentEnd(n)}_stateCommentEndDash(n){const a=this.currentToken;switch(n){case P.HYPHEN_MINUS:{this.state=U.COMMENT_END;break}case P.EOF:{this._err(ce.eofInComment),this.emitCurrentComment(a),this._emitEOFToken();break}default:a.data+="-",this.state=U.COMMENT,this._stateComment(n)}}_stateCommentEnd(n){const a=this.currentToken;switch(n){case P.GREATER_THAN_SIGN:{this.state=U.DATA,this.emitCurrentComment(a);break}case P.EXCLAMATION_MARK:{this.state=U.COMMENT_END_BANG;break}case P.HYPHEN_MINUS:{a.data+="-";break}case P.EOF:{this._err(ce.eofInComment),this.emitCurrentComment(a),this._emitEOFToken();break}default:a.data+="--",this.state=U.COMMENT,this._stateComment(n)}}_stateCommentEndBang(n){const a=this.currentToken;switch(n){case P.HYPHEN_MINUS:{a.data+="--!",this.state=U.COMMENT_END_DASH;break}case P.GREATER_THAN_SIGN:{this._err(ce.incorrectlyClosedComment),this.state=U.DATA,this.emitCurrentComment(a);break}case P.EOF:{this._err(ce.eofInComment),this.emitCurrentComment(a),this._emitEOFToken();break}default:a.data+="--!",this.state=U.COMMENT,this._stateComment(n)}}_stateDoctype(n){switch(n){case P.SPACE:case P.LINE_FEED:case P.TABULATION:case P.FORM_FEED:{this.state=U.BEFORE_DOCTYPE_NAME;break}case P.GREATER_THAN_SIGN:{this.state=U.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(n);break}case P.EOF:{this._err(ce.eofInDoctype),this._createDoctypeToken(null);const a=this.currentToken;a.forceQuirks=!0,this.emitCurrentDoctype(a),this._emitEOFToken();break}default:this._err(ce.missingWhitespaceBeforeDoctypeName),this.state=U.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(n)}}_stateBeforeDoctypeName(n){if(km(n))this._createDoctypeToken(String.fromCharCode(d1(n))),this.state=U.DOCTYPE_NAME;else switch(n){case P.SPACE:case P.LINE_FEED:case P.TABULATION:case P.FORM_FEED:break;case P.NULL:{this._err(ce.unexpectedNullCharacter),this._createDoctypeToken(Tn),this.state=U.DOCTYPE_NAME;break}case P.GREATER_THAN_SIGN:{this._err(ce.missingDoctypeName),this._createDoctypeToken(null);const a=this.currentToken;a.forceQuirks=!0,this.emitCurrentDoctype(a),this.state=U.DATA;break}case P.EOF:{this._err(ce.eofInDoctype),this._createDoctypeToken(null);const a=this.currentToken;a.forceQuirks=!0,this.emitCurrentDoctype(a),this._emitEOFToken();break}default:this._createDoctypeToken(String.fromCodePoint(n)),this.state=U.DOCTYPE_NAME}}_stateDoctypeName(n){const a=this.currentToken;switch(n){case P.SPACE:case P.LINE_FEED:case P.TABULATION:case P.FORM_FEED:{this.state=U.AFTER_DOCTYPE_NAME;break}case P.GREATER_THAN_SIGN:{this.state=U.DATA,this.emitCurrentDoctype(a);break}case P.NULL:{this._err(ce.unexpectedNullCharacter),a.name+=Tn;break}case P.EOF:{this._err(ce.eofInDoctype),a.forceQuirks=!0,this.emitCurrentDoctype(a),this._emitEOFToken();break}default:a.name+=String.fromCodePoint(km(n)?d1(n):n)}}_stateAfterDoctypeName(n){const a=this.currentToken;switch(n){case P.SPACE:case P.LINE_FEED:case P.TABULATION:case P.FORM_FEED:break;case P.GREATER_THAN_SIGN:{this.state=U.DATA,this.emitCurrentDoctype(a);break}case P.EOF:{this._err(ce.eofInDoctype),a.forceQuirks=!0,this.emitCurrentDoctype(a),this._emitEOFToken();break}default:this._consumeSequenceIfMatch(Ya.PUBLIC,!1)?this.state=U.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch(Ya.SYSTEM,!1)?this.state=U.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(ce.invalidCharacterSequenceAfterDoctypeName),a.forceQuirks=!0,this.state=U.BOGUS_DOCTYPE,this._stateBogusDoctype(n))}}_stateAfterDoctypePublicKeyword(n){const a=this.currentToken;switch(n){case P.SPACE:case P.LINE_FEED:case P.TABULATION:case P.FORM_FEED:{this.state=U.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break}case P.QUOTATION_MARK:{this._err(ce.missingWhitespaceAfterDoctypePublicKeyword),a.publicId="",this.state=U.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case P.APOSTROPHE:{this._err(ce.missingWhitespaceAfterDoctypePublicKeyword),a.publicId="",this.state=U.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case P.GREATER_THAN_SIGN:{this._err(ce.missingDoctypePublicIdentifier),a.forceQuirks=!0,this.state=U.DATA,this.emitCurrentDoctype(a);break}case P.EOF:{this._err(ce.eofInDoctype),a.forceQuirks=!0,this.emitCurrentDoctype(a),this._emitEOFToken();break}default:this._err(ce.missingQuoteBeforeDoctypePublicIdentifier),a.forceQuirks=!0,this.state=U.BOGUS_DOCTYPE,this._stateBogusDoctype(n)}}_stateBeforeDoctypePublicIdentifier(n){const a=this.currentToken;switch(n){case P.SPACE:case P.LINE_FEED:case P.TABULATION:case P.FORM_FEED:break;case P.QUOTATION_MARK:{a.publicId="",this.state=U.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case P.APOSTROPHE:{a.publicId="",this.state=U.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case P.GREATER_THAN_SIGN:{this._err(ce.missingDoctypePublicIdentifier),a.forceQuirks=!0,this.state=U.DATA,this.emitCurrentDoctype(a);break}case P.EOF:{this._err(ce.eofInDoctype),a.forceQuirks=!0,this.emitCurrentDoctype(a),this._emitEOFToken();break}default:this._err(ce.missingQuoteBeforeDoctypePublicIdentifier),a.forceQuirks=!0,this.state=U.BOGUS_DOCTYPE,this._stateBogusDoctype(n)}}_stateDoctypePublicIdentifierDoubleQuoted(n){const a=this.currentToken;switch(n){case P.QUOTATION_MARK:{this.state=U.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case P.NULL:{this._err(ce.unexpectedNullCharacter),a.publicId+=Tn;break}case P.GREATER_THAN_SIGN:{this._err(ce.abruptDoctypePublicIdentifier),a.forceQuirks=!0,this.emitCurrentDoctype(a),this.state=U.DATA;break}case P.EOF:{this._err(ce.eofInDoctype),a.forceQuirks=!0,this.emitCurrentDoctype(a),this._emitEOFToken();break}default:a.publicId+=String.fromCodePoint(n)}}_stateDoctypePublicIdentifierSingleQuoted(n){const a=this.currentToken;switch(n){case P.APOSTROPHE:{this.state=U.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case P.NULL:{this._err(ce.unexpectedNullCharacter),a.publicId+=Tn;break}case P.GREATER_THAN_SIGN:{this._err(ce.abruptDoctypePublicIdentifier),a.forceQuirks=!0,this.emitCurrentDoctype(a),this.state=U.DATA;break}case P.EOF:{this._err(ce.eofInDoctype),a.forceQuirks=!0,this.emitCurrentDoctype(a),this._emitEOFToken();break}default:a.publicId+=String.fromCodePoint(n)}}_stateAfterDoctypePublicIdentifier(n){const a=this.currentToken;switch(n){case P.SPACE:case P.LINE_FEED:case P.TABULATION:case P.FORM_FEED:{this.state=U.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break}case P.GREATER_THAN_SIGN:{this.state=U.DATA,this.emitCurrentDoctype(a);break}case P.QUOTATION_MARK:{this._err(ce.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),a.systemId="",this.state=U.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case P.APOSTROPHE:{this._err(ce.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),a.systemId="",this.state=U.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case P.EOF:{this._err(ce.eofInDoctype),a.forceQuirks=!0,this.emitCurrentDoctype(a),this._emitEOFToken();break}default:this._err(ce.missingQuoteBeforeDoctypeSystemIdentifier),a.forceQuirks=!0,this.state=U.BOGUS_DOCTYPE,this._stateBogusDoctype(n)}}_stateBetweenDoctypePublicAndSystemIdentifiers(n){const a=this.currentToken;switch(n){case P.SPACE:case P.LINE_FEED:case P.TABULATION:case P.FORM_FEED:break;case P.GREATER_THAN_SIGN:{this.emitCurrentDoctype(a),this.state=U.DATA;break}case P.QUOTATION_MARK:{a.systemId="",this.state=U.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case P.APOSTROPHE:{a.systemId="",this.state=U.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case P.EOF:{this._err(ce.eofInDoctype),a.forceQuirks=!0,this.emitCurrentDoctype(a),this._emitEOFToken();break}default:this._err(ce.missingQuoteBeforeDoctypeSystemIdentifier),a.forceQuirks=!0,this.state=U.BOGUS_DOCTYPE,this._stateBogusDoctype(n)}}_stateAfterDoctypeSystemKeyword(n){const a=this.currentToken;switch(n){case P.SPACE:case P.LINE_FEED:case P.TABULATION:case P.FORM_FEED:{this.state=U.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break}case P.QUOTATION_MARK:{this._err(ce.missingWhitespaceAfterDoctypeSystemKeyword),a.systemId="",this.state=U.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case P.APOSTROPHE:{this._err(ce.missingWhitespaceAfterDoctypeSystemKeyword),a.systemId="",this.state=U.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case P.GREATER_THAN_SIGN:{this._err(ce.missingDoctypeSystemIdentifier),a.forceQuirks=!0,this.state=U.DATA,this.emitCurrentDoctype(a);break}case P.EOF:{this._err(ce.eofInDoctype),a.forceQuirks=!0,this.emitCurrentDoctype(a),this._emitEOFToken();break}default:this._err(ce.missingQuoteBeforeDoctypeSystemIdentifier),a.forceQuirks=!0,this.state=U.BOGUS_DOCTYPE,this._stateBogusDoctype(n)}}_stateBeforeDoctypeSystemIdentifier(n){const a=this.currentToken;switch(n){case P.SPACE:case P.LINE_FEED:case P.TABULATION:case P.FORM_FEED:break;case P.QUOTATION_MARK:{a.systemId="",this.state=U.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case P.APOSTROPHE:{a.systemId="",this.state=U.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case P.GREATER_THAN_SIGN:{this._err(ce.missingDoctypeSystemIdentifier),a.forceQuirks=!0,this.state=U.DATA,this.emitCurrentDoctype(a);break}case P.EOF:{this._err(ce.eofInDoctype),a.forceQuirks=!0,this.emitCurrentDoctype(a),this._emitEOFToken();break}default:this._err(ce.missingQuoteBeforeDoctypeSystemIdentifier),a.forceQuirks=!0,this.state=U.BOGUS_DOCTYPE,this._stateBogusDoctype(n)}}_stateDoctypeSystemIdentifierDoubleQuoted(n){const a=this.currentToken;switch(n){case P.QUOTATION_MARK:{this.state=U.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case P.NULL:{this._err(ce.unexpectedNullCharacter),a.systemId+=Tn;break}case P.GREATER_THAN_SIGN:{this._err(ce.abruptDoctypeSystemIdentifier),a.forceQuirks=!0,this.emitCurrentDoctype(a),this.state=U.DATA;break}case P.EOF:{this._err(ce.eofInDoctype),a.forceQuirks=!0,this.emitCurrentDoctype(a),this._emitEOFToken();break}default:a.systemId+=String.fromCodePoint(n)}}_stateDoctypeSystemIdentifierSingleQuoted(n){const a=this.currentToken;switch(n){case P.APOSTROPHE:{this.state=U.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case P.NULL:{this._err(ce.unexpectedNullCharacter),a.systemId+=Tn;break}case P.GREATER_THAN_SIGN:{this._err(ce.abruptDoctypeSystemIdentifier),a.forceQuirks=!0,this.emitCurrentDoctype(a),this.state=U.DATA;break}case P.EOF:{this._err(ce.eofInDoctype),a.forceQuirks=!0,this.emitCurrentDoctype(a),this._emitEOFToken();break}default:a.systemId+=String.fromCodePoint(n)}}_stateAfterDoctypeSystemIdentifier(n){const a=this.currentToken;switch(n){case P.SPACE:case P.LINE_FEED:case P.TABULATION:case P.FORM_FEED:break;case P.GREATER_THAN_SIGN:{this.emitCurrentDoctype(a),this.state=U.DATA;break}case P.EOF:{this._err(ce.eofInDoctype),a.forceQuirks=!0,this.emitCurrentDoctype(a),this._emitEOFToken();break}default:this._err(ce.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=U.BOGUS_DOCTYPE,this._stateBogusDoctype(n)}}_stateBogusDoctype(n){const a=this.currentToken;switch(n){case P.GREATER_THAN_SIGN:{this.emitCurrentDoctype(a),this.state=U.DATA;break}case P.NULL:{this._err(ce.unexpectedNullCharacter);break}case P.EOF:{this.emitCurrentDoctype(a),this._emitEOFToken();break}}}_stateCdataSection(n){switch(n){case P.RIGHT_SQUARE_BRACKET:{this.state=U.CDATA_SECTION_BRACKET;break}case P.EOF:{this._err(ce.eofInCdata),this._emitEOFToken();break}default:this._emitCodePoint(n)}}_stateCdataSectionBracket(n){n===P.RIGHT_SQUARE_BRACKET?this.state=U.CDATA_SECTION_END:(this._emitChars("]"),this.state=U.CDATA_SECTION,this._stateCdataSection(n))}_stateCdataSectionEnd(n){switch(n){case P.GREATER_THAN_SIGN:{this.state=U.DATA;break}case P.RIGHT_SQUARE_BRACKET:{this._emitChars("]");break}default:this._emitChars("]]"),this.state=U.CDATA_SECTION,this._stateCdataSection(n)}}_stateCharacterReference(){let n=this.entityDecoder.write(this.preprocessor.html,this.preprocessor.pos);if(n<0)if(this.preprocessor.lastChunkWritten)n=this.entityDecoder.end();else{this.active=!1,this.preprocessor.pos=this.preprocessor.html.length-1,this.consumedAfterSnapshot=0,this.preprocessor.endOfChunkHit=!0;return}n===0?(this.preprocessor.pos=this.entityStartPos,this._flushCodePointConsumedAsCharacterReference(P.AMPERSAND),this.state=!this._isCharacterReferenceInAttribute()&&lk(this.preprocessor.peek(1))?U.AMBIGUOUS_AMPERSAND:this.returnState):this.state=this.returnState}_stateAmbiguousAmpersand(n){lk(n)?this._flushCodePointConsumedAsCharacterReference(n):(n===P.SEMICOLON&&this._err(ce.unknownNamedCharacterReference),this.state=this.returnState,this._callState(n))}}const N3=new Set([y.DD,y.DT,y.LI,y.OPTGROUP,y.OPTION,y.P,y.RB,y.RP,y.RT,y.RTC]),dk=new Set([...N3,y.CAPTION,y.COLGROUP,y.TBODY,y.TD,y.TFOOT,y.TH,y.THEAD,y.TR]),O1=new Set([y.APPLET,y.CAPTION,y.HTML,y.MARQUEE,y.OBJECT,y.TABLE,y.TD,y.TEMPLATE,y.TH]),FU=new Set([...O1,y.OL,y.UL]),UU=new Set([...O1,y.BUTTON]),fk=new Set([y.ANNOTATION_XML,y.MI,y.MN,y.MO,y.MS,y.MTEXT]),pk=new Set([y.DESC,y.FOREIGN_OBJECT,y.TITLE]),BU=new Set([y.TR,y.TEMPLATE,y.HTML]),HU=new Set([y.TBODY,y.TFOOT,y.THEAD,y.TEMPLATE,y.HTML]),zU=new Set([y.TABLE,y.TEMPLATE,y.HTML]),jU=new Set([y.TD,y.TH]);class VU{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(n,a,s){this.treeAdapter=a,this.handler=s,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=y.UNKNOWN,this.current=n}_indexOf(n){return this.items.lastIndexOf(n,this.stackTop)}_isInTemplate(){return this.currentTagId===y.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===xe.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(n,a){this.stackTop++,this.items[this.stackTop]=n,this.current=n,this.tagIDs[this.stackTop]=a,this.currentTagId=a,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(n,a,!0)}pop(){const n=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(n,!0)}replace(n,a){const s=this._indexOf(n);this.items[s]=a,s===this.stackTop&&(this.current=a)}insertAfter(n,a,s){const f=this._indexOf(n)+1;this.items.splice(f,0,a),this.tagIDs.splice(f,0,s),this.stackTop++,f===this.stackTop&&this._updateCurrentElement(),this.handler.onItemPush(this.current,this.currentTagId,f===this.stackTop)}popUntilTagNamePopped(n){let a=this.stackTop+1;do a=this.tagIDs.lastIndexOf(n,a-1);while(a>0&&this.treeAdapter.getNamespaceURI(this.items[a])!==xe.HTML);this.shortenToLength(a<0?0:a)}shortenToLength(n){for(;this.stackTop>=n;){const a=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(a,this.stackTop<n)}}popUntilElementPopped(n){const a=this._indexOf(n);this.shortenToLength(a<0?0:a)}popUntilPopped(n,a){const s=this._indexOfTagNames(n,a);this.shortenToLength(s<0?0:s)}popUntilNumberedHeaderPopped(){this.popUntilPopped(_w,xe.HTML)}popUntilTableCellPopped(){this.popUntilPopped(jU,xe.HTML)}popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}_indexOfTagNames(n,a){for(let s=this.stackTop;s>=0;s--)if(n.has(this.tagIDs[s])&&this.treeAdapter.getNamespaceURI(this.items[s])===a)return s;return-1}clearBackTo(n,a){const s=this._indexOfTagNames(n,a);this.shortenToLength(s+1)}clearBackToTableContext(){this.clearBackTo(zU,xe.HTML)}clearBackToTableBodyContext(){this.clearBackTo(HU,xe.HTML)}clearBackToTableRowContext(){this.clearBackTo(BU,xe.HTML)}remove(n){const a=this._indexOf(n);a>=0&&(a===this.stackTop?this.pop():(this.items.splice(a,1),this.tagIDs.splice(a,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(n,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===y.BODY?this.items[1]:null}contains(n){return this._indexOf(n)>-1}getCommonAncestor(n){const a=this._indexOf(n)-1;return a>=0?this.items[a]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.tagIDs[0]===y.HTML}hasInDynamicScope(n,a){for(let s=this.stackTop;s>=0;s--){const f=this.tagIDs[s];switch(this.treeAdapter.getNamespaceURI(this.items[s])){case xe.HTML:{if(f===n)return!0;if(a.has(f))return!1;break}case xe.SVG:{if(pk.has(f))return!1;break}case xe.MATHML:{if(fk.has(f))return!1;break}}}return!0}hasInScope(n){return this.hasInDynamicScope(n,O1)}hasInListItemScope(n){return this.hasInDynamicScope(n,FU)}hasInButtonScope(n){return this.hasInDynamicScope(n,UU)}hasNumberedHeaderInScope(){for(let n=this.stackTop;n>=0;n--){const a=this.tagIDs[n];switch(this.treeAdapter.getNamespaceURI(this.items[n])){case xe.HTML:{if(_w.has(a))return!0;if(O1.has(a))return!1;break}case xe.SVG:{if(pk.has(a))return!1;break}case xe.MATHML:{if(fk.has(a))return!1;break}}}return!0}hasInTableScope(n){for(let a=this.stackTop;a>=0;a--)if(this.treeAdapter.getNamespaceURI(this.items[a])===xe.HTML)switch(this.tagIDs[a]){case n:return!0;case y.TABLE:case y.HTML:return!1}return!0}hasTableBodyContextInTableScope(){for(let n=this.stackTop;n>=0;n--)if(this.treeAdapter.getNamespaceURI(this.items[n])===xe.HTML)switch(this.tagIDs[n]){case y.TBODY:case y.THEAD:case y.TFOOT:return!0;case y.TABLE:case y.HTML:return!1}return!0}hasInSelectScope(n){for(let a=this.stackTop;a>=0;a--)if(this.treeAdapter.getNamespaceURI(this.items[a])===xe.HTML)switch(this.tagIDs[a]){case n:return!0;case y.OPTION:case y.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;N3.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;dk.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(n){for(;this.currentTagId!==n&&dk.has(this.currentTagId);)this.pop()}}const ew=3;var Vo;(function(e){e[e.Marker=0]="Marker",e[e.Element=1]="Element"})(Vo||(Vo={}));const hk={type:Vo.Marker};class YU{constructor(n){this.treeAdapter=n,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(n,a){const s=[],f=a.length,h=this.treeAdapter.getTagName(n),d=this.treeAdapter.getNamespaceURI(n);for(let g=0;g<this.entries.length;g++){const E=this.entries[g];if(E.type===Vo.Marker)break;const{element:b}=E;if(this.treeAdapter.getTagName(b)===h&&this.treeAdapter.getNamespaceURI(b)===d){const C=this.treeAdapter.getAttrList(b);C.length===f&&s.push({idx:g,attrs:C})}}return s}_ensureNoahArkCondition(n){if(this.entries.length<ew)return;const a=this.treeAdapter.getAttrList(n),s=this._getNoahArkConditionCandidates(n,a);if(s.length<ew)return;const f=new Map(a.map(d=>[d.name,d.value]));let h=0;for(let d=0;d<s.length;d++){const g=s[d];g.attrs.every(E=>f.get(E.name)===E.value)&&(h+=1,h>=ew&&this.entries.splice(g.idx,1))}}insertMarker(){this.entries.unshift(hk)}pushElement(n,a){this._ensureNoahArkCondition(n),this.entries.unshift({type:Vo.Element,element:n,token:a})}insertElementAfterBookmark(n,a){const s=this.entries.indexOf(this.bookmark);this.entries.splice(s,0,{type:Vo.Element,element:n,token:a})}removeEntry(n){const a=this.entries.indexOf(n);a>=0&&this.entries.splice(a,1)}clearToLastMarker(){const n=this.entries.indexOf(hk);n>=0?this.entries.splice(0,n+1):this.entries.length=0}getElementEntryInScopeWithTagName(n){const a=this.entries.find(s=>s.type===Vo.Marker||this.treeAdapter.getTagName(s.element)===n);return a&&a.type===Vo.Element?a:null}getElementEntry(n){return this.entries.find(a=>a.type===Vo.Element&&a.element===n)}}const Js={createDocument(){return{nodeName:"#document",mode:Ri.NO_QUIRKS,childNodes:[]}},createDocumentFragment(){return{nodeName:"#document-fragment",childNodes:[]}},createElement(e,n,a){return{nodeName:e,tagName:e,attrs:a,namespaceURI:n,childNodes:[],parentNode:null}},createCommentNode(e){return{nodeName:"#comment",data:e,parentNode:null}},createTextNode(e){return{nodeName:"#text",value:e,parentNode:null}},appendChild(e,n){e.childNodes.push(n),n.parentNode=e},insertBefore(e,n,a){const s=e.childNodes.indexOf(a);e.childNodes.splice(s,0,n),n.parentNode=e},setTemplateContent(e,n){e.content=n},getTemplateContent(e){return e.content},setDocumentType(e,n,a,s){const f=e.childNodes.find(h=>h.nodeName==="#documentType");if(f)f.name=n,f.publicId=a,f.systemId=s;else{const h={nodeName:"#documentType",name:n,publicId:a,systemId:s,parentNode:null};Js.appendChild(e,h)}},setDocumentMode(e,n){e.mode=n},getDocumentMode(e){return e.mode},detachNode(e){if(e.parentNode){const n=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(n,1),e.parentNode=null}},insertText(e,n){if(e.childNodes.length>0){const a=e.childNodes[e.childNodes.length-1];if(Js.isTextNode(a)){a.value+=n;return}}Js.appendChild(e,Js.createTextNode(n))},insertTextBefore(e,n,a){const s=e.childNodes[e.childNodes.indexOf(a)-1];s&&Js.isTextNode(s)?s.value+=n:Js.insertBefore(e,Js.createTextNode(n),a)},adoptAttributes(e,n){const a=new Set(e.attrs.map(s=>s.name));for(let s=0;s<n.length;s++)a.has(n[s].name)||e.attrs.push(n[s])},getFirstChild(e){return e.childNodes[0]},getChildNodes(e){return e.childNodes},getParentNode(e){return e.parentNode},getAttrList(e){return e.attrs},getTagName(e){return e.tagName},getNamespaceURI(e){return e.namespaceURI},getTextNodeContent(e){return e.value},getCommentNodeContent(e){return e.data},getDocumentTypeNodeName(e){return e.name},getDocumentTypeNodePublicId(e){return e.publicId},getDocumentTypeNodeSystemId(e){return e.systemId},isTextNode(e){return e.nodeName==="#text"},isCommentNode(e){return e.nodeName==="#comment"},isDocumentTypeNode(e){return e.nodeName==="#documentType"},isElementNode(e){return Object.prototype.hasOwnProperty.call(e,"tagName")},setNodeSourceCodeLocation(e,n){e.sourceCodeLocation=n},getNodeSourceCodeLocation(e){return e.sourceCodeLocation},updateNodeSourceCodeLocation(e,n){e.sourceCodeLocation={...e.sourceCodeLocation,...n}}},D3="html",WU="about:legacy-compat",qU="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",O3=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],QU=[...O3,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],GU=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),L3=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],$U=[...L3,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function mk(e,n){return n.some(a=>e.startsWith(a))}function XU(e){return e.name===D3&&e.publicId===null&&(e.systemId===null||e.systemId===WU)}function KU(e){if(e.name!==D3)return Ri.QUIRKS;const{systemId:n}=e;if(n&&n.toLowerCase()===qU)return Ri.QUIRKS;let{publicId:a}=e;if(a!==null){if(a=a.toLowerCase(),GU.has(a))return Ri.QUIRKS;let s=n===null?QU:O3;if(mk(a,s))return Ri.QUIRKS;if(s=n===null?L3:$U,mk(a,s))return Ri.LIMITED_QUIRKS}return Ri.NO_QUIRKS}const gk={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},JU="definitionurl",ZU="definitionURL",eB=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(e=>[e.toLowerCase(),e])),tB=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:xe.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:xe.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:xe.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:xe.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:xe.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:xe.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:xe.XLINK}],["xml:lang",{prefix:"xml",name:"lang",namespace:xe.XML}],["xml:space",{prefix:"xml",name:"space",namespace:xe.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:xe.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:xe.XMLNS}]]),nB=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(e=>[e.toLowerCase(),e])),rB=new Set([y.B,y.BIG,y.BLOCKQUOTE,y.BODY,y.BR,y.CENTER,y.CODE,y.DD,y.DIV,y.DL,y.DT,y.EM,y.EMBED,y.H1,y.H2,y.H3,y.H4,y.H5,y.H6,y.HEAD,y.HR,y.I,y.IMG,y.LI,y.LISTING,y.MENU,y.META,y.NOBR,y.OL,y.P,y.PRE,y.RUBY,y.S,y.SMALL,y.SPAN,y.STRONG,y.STRIKE,y.SUB,y.SUP,y.TABLE,y.TT,y.U,y.UL,y.VAR]);function aB(e){const n=e.tagID;return n===y.FONT&&e.attrs.some(({name:s})=>s===Ac.COLOR||s===Ac.SIZE||s===Ac.FACE)||rB.has(n)}function I3(e){for(let n=0;n<e.attrs.length;n++)if(e.attrs[n].name===JU){e.attrs[n].name=ZU;break}}function M3(e){for(let n=0;n<e.attrs.length;n++){const a=eB.get(e.attrs[n].name);a!=null&&(e.attrs[n].name=a)}}function iT(e){for(let n=0;n<e.attrs.length;n++){const a=tB.get(e.attrs[n].name);a&&(e.attrs[n].prefix=a.prefix,e.attrs[n].name=a.name,e.attrs[n].namespace=a.namespace)}}function iB(e){const n=nB.get(e.tagName);n!=null&&(e.tagName=n,e.tagID=np(e.tagName))}function oB(e,n){return n===xe.MATHML&&(e===y.MI||e===y.MO||e===y.MN||e===y.MS||e===y.MTEXT)}function uB(e,n,a){if(n===xe.MATHML&&e===y.ANNOTATION_XML){for(let s=0;s<a.length;s++)if(a[s].name===Ac.ENCODING){const f=a[s].value.toLowerCase();return f===gk.TEXT_HTML||f===gk.APPLICATION_XML}}return n===xe.SVG&&(e===y.FOREIGN_OBJECT||e===y.DESC||e===y.TITLE)}function sB(e,n,a,s){return(!s||s===xe.HTML)&&uB(e,n,a)||(!s||s===xe.MATHML)&&oB(e,n)}const lB="hidden",cB=8,dB=3;var j;(function(e){e[e.INITIAL=0]="INITIAL",e[e.BEFORE_HTML=1]="BEFORE_HTML",e[e.BEFORE_HEAD=2]="BEFORE_HEAD",e[e.IN_HEAD=3]="IN_HEAD",e[e.IN_HEAD_NO_SCRIPT=4]="IN_HEAD_NO_SCRIPT",e[e.AFTER_HEAD=5]="AFTER_HEAD",e[e.IN_BODY=6]="IN_BODY",e[e.TEXT=7]="TEXT",e[e.IN_TABLE=8]="IN_TABLE",e[e.IN_TABLE_TEXT=9]="IN_TABLE_TEXT",e[e.IN_CAPTION=10]="IN_CAPTION",e[e.IN_COLUMN_GROUP=11]="IN_COLUMN_GROUP",e[e.IN_TABLE_BODY=12]="IN_TABLE_BODY",e[e.IN_ROW=13]="IN_ROW",e[e.IN_CELL=14]="IN_CELL",e[e.IN_SELECT=15]="IN_SELECT",e[e.IN_SELECT_IN_TABLE=16]="IN_SELECT_IN_TABLE",e[e.IN_TEMPLATE=17]="IN_TEMPLATE",e[e.AFTER_BODY=18]="AFTER_BODY",e[e.IN_FRAMESET=19]="IN_FRAMESET",e[e.AFTER_FRAMESET=20]="AFTER_FRAMESET",e[e.AFTER_AFTER_BODY=21]="AFTER_AFTER_BODY",e[e.AFTER_AFTER_FRAMESET=22]="AFTER_AFTER_FRAMESET"})(j||(j={}));const fB={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},P3=new Set([y.TABLE,y.TBODY,y.TFOOT,y.THEAD,y.TR]),vk={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:Js,onParseError:null};class yk{constructor(n,a,s=null,f=null){this.fragmentContext=s,this.scriptHandler=f,this.currentToken=null,this.stopped=!1,this.insertionMode=j.INITIAL,this.originalInsertionMode=j.INITIAL,this.headElement=null,this.formElement=null,this.currentNotInHTML=!1,this.tmplInsertionModeStack=[],this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1,this.options={...vk,...n},this.treeAdapter=this.options.treeAdapter,this.onParseError=this.options.onParseError,this.onParseError&&(this.options.sourceCodeLocationInfo=!0),this.document=a??this.treeAdapter.createDocument(),this.tokenizer=new PU(this.options,this),this.activeFormattingElements=new YU(this.treeAdapter),this.fragmentContextID=s?np(this.treeAdapter.getTagName(s)):y.UNKNOWN,this._setContextModes(s??this.document,this.fragmentContextID),this.openElements=new VU(this.document,this.treeAdapter,this)}static parse(n,a){const s=new this(a);return s.tokenizer.write(n,!0),s.document}static getFragmentParser(n,a){const s={...vk,...a};n??(n=s.treeAdapter.createElement(ae.TEMPLATE,xe.HTML,[]));const f=s.treeAdapter.createElement("documentmock",xe.HTML,[]),h=new this(s,f,n);return h.fragmentContextID===y.TEMPLATE&&h.tmplInsertionModeStack.unshift(j.IN_TEMPLATE),h._initTokenizerForFragmentParsing(),h._insertFakeRootElement(),h._resetInsertionMode(),h._findFormInFragmentContext(),h}getFragment(){const n=this.treeAdapter.getFirstChild(this.document),a=this.treeAdapter.createDocumentFragment();return this._adoptNodes(n,a),a}_err(n,a,s){var f;if(!this.onParseError)return;const h=(f=n.location)!==null&&f!==void 0?f:fB,d={code:a,startLine:h.startLine,startCol:h.startCol,startOffset:h.startOffset,endLine:s?h.startLine:h.endLine,endCol:s?h.startCol:h.endCol,endOffset:s?h.startOffset:h.endOffset};this.onParseError(d)}onItemPush(n,a,s){var f,h;(h=(f=this.treeAdapter).onItemPush)===null||h===void 0||h.call(f,n),s&&this.openElements.stackTop>0&&this._setContextModes(n,a)}onItemPop(n,a){var s,f;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(n,this.currentToken),(f=(s=this.treeAdapter).onItemPop)===null||f===void 0||f.call(s,n,this.openElements.current),a){let h,d;this.openElements.stackTop===0&&this.fragmentContext?(h=this.fragmentContext,d=this.fragmentContextID):{current:h,currentTagId:d}=this.openElements,this._setContextModes(h,d)}}_setContextModes(n,a){const s=n===this.document||this.treeAdapter.getNamespaceURI(n)===xe.HTML;this.currentNotInHTML=!s,this.tokenizer.inForeignNode=!s&&!this._isIntegrationPoint(a,n)}_switchToTextParsing(n,a){this._insertElement(n,xe.HTML),this.tokenizer.state=a,this.originalInsertionMode=this.insertionMode,this.insertionMode=j.TEXT}switchToPlaintextParsing(){this.insertionMode=j.TEXT,this.originalInsertionMode=j.IN_BODY,this.tokenizer.state=qn.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let n=this.fragmentContext;for(;n;){if(this.treeAdapter.getTagName(n)===ae.FORM){this.formElement=n;break}n=this.treeAdapter.getParentNode(n)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==xe.HTML))switch(this.fragmentContextID){case y.TITLE:case y.TEXTAREA:{this.tokenizer.state=qn.RCDATA;break}case y.STYLE:case y.XMP:case y.IFRAME:case y.NOEMBED:case y.NOFRAMES:case y.NOSCRIPT:{this.tokenizer.state=qn.RAWTEXT;break}case y.SCRIPT:{this.tokenizer.state=qn.SCRIPT_DATA;break}case y.PLAINTEXT:{this.tokenizer.state=qn.PLAINTEXT;break}}}_setDocumentType(n){const a=n.name||"",s=n.publicId||"",f=n.systemId||"";if(this.treeAdapter.setDocumentType(this.document,a,s,f),n.location){const d=this.treeAdapter.getChildNodes(this.document).find(g=>this.treeAdapter.isDocumentTypeNode(g));d&&this.treeAdapter.setNodeSourceCodeLocation(d,n.location)}}_attachElementToTree(n,a){if(this.options.sourceCodeLocationInfo){const s=a&&{...a,startTag:a};this.treeAdapter.setNodeSourceCodeLocation(n,s)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(n);else{const s=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(s,n)}}_appendElement(n,a){const s=this.treeAdapter.createElement(n.tagName,a,n.attrs);this._attachElementToTree(s,n.location)}_insertElement(n,a){const s=this.treeAdapter.createElement(n.tagName,a,n.attrs);this._attachElementToTree(s,n.location),this.openElements.push(s,n.tagID)}_insertFakeElement(n,a){const s=this.treeAdapter.createElement(n,xe.HTML,[]);this._attachElementToTree(s,null),this.openElements.push(s,a)}_insertTemplate(n){const a=this.treeAdapter.createElement(n.tagName,xe.HTML,n.attrs),s=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(a,s),this._attachElementToTree(a,n.location),this.openElements.push(a,n.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(s,null)}_insertFakeRootElement(){const n=this.treeAdapter.createElement(ae.HTML,xe.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,null),this.treeAdapter.appendChild(this.openElements.current,n),this.openElements.push(n,y.HTML)}_appendCommentNode(n,a){const s=this.treeAdapter.createCommentNode(n.data);this.treeAdapter.appendChild(a,s),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(s,n.location)}_insertCharacters(n){let a,s;if(this._shouldFosterParentOnInsertion()?({parent:a,beforeElement:s}=this._findFosterParentingLocation(),s?this.treeAdapter.insertTextBefore(a,n.chars,s):this.treeAdapter.insertText(a,n.chars)):(a=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(a,n.chars)),!n.location)return;const f=this.treeAdapter.getChildNodes(a),h=s?f.lastIndexOf(s):f.length,d=f[h-1];if(this.treeAdapter.getNodeSourceCodeLocation(d)){const{endLine:E,endCol:b,endOffset:C}=n.location;this.treeAdapter.updateNodeSourceCodeLocation(d,{endLine:E,endCol:b,endOffset:C})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(d,n.location)}_adoptNodes(n,a){for(let s=this.treeAdapter.getFirstChild(n);s;s=this.treeAdapter.getFirstChild(n))this.treeAdapter.detachNode(s),this.treeAdapter.appendChild(a,s)}_setEndLocation(n,a){if(this.treeAdapter.getNodeSourceCodeLocation(n)&&a.location){const s=a.location,f=this.treeAdapter.getTagName(n),h=a.type===Rt.END_TAG&&f===a.tagName?{endTag:{...s},endLine:s.endLine,endCol:s.endCol,endOffset:s.endOffset}:{endLine:s.startLine,endCol:s.startCol,endOffset:s.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(n,h)}}shouldProcessStartTagTokenInForeignContent(n){if(!this.currentNotInHTML)return!1;let a,s;return this.openElements.stackTop===0&&this.fragmentContext?(a=this.fragmentContext,s=this.fragmentContextID):{current:a,currentTagId:s}=this.openElements,n.tagID===y.SVG&&this.treeAdapter.getTagName(a)===ae.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(a)===xe.MATHML?!1:this.tokenizer.inForeignNode||(n.tagID===y.MGLYPH||n.tagID===y.MALIGNMARK)&&!this._isIntegrationPoint(s,a,xe.HTML)}_processToken(n){switch(n.type){case Rt.CHARACTER:{this.onCharacter(n);break}case Rt.NULL_CHARACTER:{this.onNullCharacter(n);break}case Rt.COMMENT:{this.onComment(n);break}case Rt.DOCTYPE:{this.onDoctype(n);break}case Rt.START_TAG:{this._processStartTag(n);break}case Rt.END_TAG:{this.onEndTag(n);break}case Rt.EOF:{this.onEof(n);break}case Rt.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(n);break}}}_isIntegrationPoint(n,a,s){const f=this.treeAdapter.getNamespaceURI(a),h=this.treeAdapter.getAttrList(a);return sB(n,f,h,s)}_reconstructActiveFormattingElements(){const n=this.activeFormattingElements.entries.length;if(n){const a=this.activeFormattingElements.entries.findIndex(f=>f.type===Vo.Marker||this.openElements.contains(f.element)),s=a<0?n-1:a-1;for(let f=s;f>=0;f--){const h=this.activeFormattingElements.entries[f];this._insertElement(h.token,this.treeAdapter.getNamespaceURI(h.element)),h.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=j.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(y.P),this.openElements.popUntilTagNamePopped(y.P)}_resetInsertionMode(){for(let n=this.openElements.stackTop;n>=0;n--)switch(n===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[n]){case y.TR:{this.insertionMode=j.IN_ROW;return}case y.TBODY:case y.THEAD:case y.TFOOT:{this.insertionMode=j.IN_TABLE_BODY;return}case y.CAPTION:{this.insertionMode=j.IN_CAPTION;return}case y.COLGROUP:{this.insertionMode=j.IN_COLUMN_GROUP;return}case y.TABLE:{this.insertionMode=j.IN_TABLE;return}case y.BODY:{this.insertionMode=j.IN_BODY;return}case y.FRAMESET:{this.insertionMode=j.IN_FRAMESET;return}case y.SELECT:{this._resetInsertionModeForSelect(n);return}case y.TEMPLATE:{this.insertionMode=this.tmplInsertionModeStack[0];return}case y.HTML:{this.insertionMode=this.headElement?j.AFTER_HEAD:j.BEFORE_HEAD;return}case y.TD:case y.TH:{if(n>0){this.insertionMode=j.IN_CELL;return}break}case y.HEAD:{if(n>0){this.insertionMode=j.IN_HEAD;return}break}}this.insertionMode=j.IN_BODY}_resetInsertionModeForSelect(n){if(n>0)for(let a=n-1;a>0;a--){const s=this.openElements.tagIDs[a];if(s===y.TEMPLATE)break;if(s===y.TABLE){this.insertionMode=j.IN_SELECT_IN_TABLE;return}}this.insertionMode=j.IN_SELECT}_isElementCausesFosterParenting(n){return P3.has(n)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let n=this.openElements.stackTop;n>=0;n--){const a=this.openElements.items[n];switch(this.openElements.tagIDs[n]){case y.TEMPLATE:{if(this.treeAdapter.getNamespaceURI(a)===xe.HTML)return{parent:this.treeAdapter.getTemplateContent(a),beforeElement:null};break}case y.TABLE:{const s=this.treeAdapter.getParentNode(a);return s?{parent:s,beforeElement:a}:{parent:this.openElements.items[n-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(n){const a=this._findFosterParentingLocation();a.beforeElement?this.treeAdapter.insertBefore(a.parent,n,a.beforeElement):this.treeAdapter.appendChild(a.parent,n)}_isSpecialElement(n,a){const s=this.treeAdapter.getNamespaceURI(n);return OU[s].has(a)}onCharacter(n){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){jH(this,n);return}switch(this.insertionMode){case j.INITIAL:{Cm(this,n);break}case j.BEFORE_HTML:{Nm(this,n);break}case j.BEFORE_HEAD:{Dm(this,n);break}case j.IN_HEAD:{Om(this,n);break}case j.IN_HEAD_NO_SCRIPT:{Lm(this,n);break}case j.AFTER_HEAD:{Im(this,n);break}case j.IN_BODY:case j.IN_CAPTION:case j.IN_CELL:case j.IN_TEMPLATE:{U3(this,n);break}case j.TEXT:case j.IN_SELECT:case j.IN_SELECT_IN_TABLE:{this._insertCharacters(n);break}case j.IN_TABLE:case j.IN_TABLE_BODY:case j.IN_ROW:{tw(this,n);break}case j.IN_TABLE_TEXT:{Y3(this,n);break}case j.IN_COLUMN_GROUP:{L1(this,n);break}case j.AFTER_BODY:{I1(this,n);break}case j.AFTER_AFTER_BODY:{w1(this,n);break}}}onNullCharacter(n){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){zH(this,n);return}switch(this.insertionMode){case j.INITIAL:{Cm(this,n);break}case j.BEFORE_HTML:{Nm(this,n);break}case j.BEFORE_HEAD:{Dm(this,n);break}case j.IN_HEAD:{Om(this,n);break}case j.IN_HEAD_NO_SCRIPT:{Lm(this,n);break}case j.AFTER_HEAD:{Im(this,n);break}case j.TEXT:{this._insertCharacters(n);break}case j.IN_TABLE:case j.IN_TABLE_BODY:case j.IN_ROW:{tw(this,n);break}case j.IN_COLUMN_GROUP:{L1(this,n);break}case j.AFTER_BODY:{I1(this,n);break}case j.AFTER_AFTER_BODY:{w1(this,n);break}}}onComment(n){if(this.skipNextNewLine=!1,this.currentNotInHTML){kw(this,n);return}switch(this.insertionMode){case j.INITIAL:case j.BEFORE_HTML:case j.BEFORE_HEAD:case j.IN_HEAD:case j.IN_HEAD_NO_SCRIPT:case j.AFTER_HEAD:case j.IN_BODY:case j.IN_TABLE:case j.IN_CAPTION:case j.IN_COLUMN_GROUP:case j.IN_TABLE_BODY:case j.IN_ROW:case j.IN_CELL:case j.IN_SELECT:case j.IN_SELECT_IN_TABLE:case j.IN_TEMPLATE:case j.IN_FRAMESET:case j.AFTER_FRAMESET:{kw(this,n);break}case j.IN_TABLE_TEXT:{_m(this,n);break}case j.AFTER_BODY:{EB(this,n);break}case j.AFTER_AFTER_BODY:case j.AFTER_AFTER_FRAMESET:{bB(this,n);break}}}onDoctype(n){switch(this.skipNextNewLine=!1,this.insertionMode){case j.INITIAL:{xB(this,n);break}case j.BEFORE_HEAD:case j.IN_HEAD:case j.IN_HEAD_NO_SCRIPT:case j.AFTER_HEAD:{this._err(n,ce.misplacedDoctype);break}case j.IN_TABLE_TEXT:{_m(this,n);break}}}onStartTag(n){this.skipNextNewLine=!1,this.currentToken=n,this._processStartTag(n),n.selfClosing&&!n.ackSelfClosing&&this._err(n,ce.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(n){this.shouldProcessStartTagTokenInForeignContent(n)?VH(this,n):this._startTagOutsideForeignContent(n)}_startTagOutsideForeignContent(n){switch(this.insertionMode){case j.INITIAL:{Cm(this,n);break}case j.BEFORE_HTML:{wB(this,n);break}case j.BEFORE_HEAD:{SB(this,n);break}case j.IN_HEAD:{fo(this,n);break}case j.IN_HEAD_NO_SCRIPT:{kB(this,n);break}case j.AFTER_HEAD:{RB(this,n);break}case j.IN_BODY:{ia(this,n);break}case j.IN_TABLE:{qf(this,n);break}case j.IN_TABLE_TEXT:{_m(this,n);break}case j.IN_CAPTION:{CH(this,n);break}case j.IN_COLUMN_GROUP:{sT(this,n);break}case j.IN_TABLE_BODY:{X1(this,n);break}case j.IN_ROW:{K1(this,n);break}case j.IN_CELL:{AH(this,n);break}case j.IN_SELECT:{Q3(this,n);break}case j.IN_SELECT_IN_TABLE:{NH(this,n);break}case j.IN_TEMPLATE:{OH(this,n);break}case j.AFTER_BODY:{IH(this,n);break}case j.IN_FRAMESET:{MH(this,n);break}case j.AFTER_FRAMESET:{FH(this,n);break}case j.AFTER_AFTER_BODY:{BH(this,n);break}case j.AFTER_AFTER_FRAMESET:{HH(this,n);break}}}onEndTag(n){this.skipNextNewLine=!1,this.currentToken=n,this.currentNotInHTML?YH(this,n):this._endTagOutsideForeignContent(n)}_endTagOutsideForeignContent(n){switch(this.insertionMode){case j.INITIAL:{Cm(this,n);break}case j.BEFORE_HTML:{TB(this,n);break}case j.BEFORE_HEAD:{CB(this,n);break}case j.IN_HEAD:{_B(this,n);break}case j.IN_HEAD_NO_SCRIPT:{AB(this,n);break}case j.AFTER_HEAD:{NB(this,n);break}case j.IN_BODY:{$1(this,n);break}case j.TEXT:{mH(this,n);break}case j.IN_TABLE:{Fm(this,n);break}case j.IN_TABLE_TEXT:{_m(this,n);break}case j.IN_CAPTION:{_H(this,n);break}case j.IN_COLUMN_GROUP:{kH(this,n);break}case j.IN_TABLE_BODY:{Aw(this,n);break}case j.IN_ROW:{q3(this,n);break}case j.IN_CELL:{RH(this,n);break}case j.IN_SELECT:{G3(this,n);break}case j.IN_SELECT_IN_TABLE:{DH(this,n);break}case j.IN_TEMPLATE:{LH(this,n);break}case j.AFTER_BODY:{X3(this,n);break}case j.IN_FRAMESET:{PH(this,n);break}case j.AFTER_FRAMESET:{UH(this,n);break}case j.AFTER_AFTER_BODY:{w1(this,n);break}}}onEof(n){switch(this.insertionMode){case j.INITIAL:{Cm(this,n);break}case j.BEFORE_HTML:{Nm(this,n);break}case j.BEFORE_HEAD:{Dm(this,n);break}case j.IN_HEAD:{Om(this,n);break}case j.IN_HEAD_NO_SCRIPT:{Lm(this,n);break}case j.AFTER_HEAD:{Im(this,n);break}case j.IN_BODY:case j.IN_TABLE:case j.IN_CAPTION:case j.IN_COLUMN_GROUP:case j.IN_TABLE_BODY:case j.IN_ROW:case j.IN_CELL:case j.IN_SELECT:case j.IN_SELECT_IN_TABLE:{j3(this,n);break}case j.TEXT:{gH(this,n);break}case j.IN_TABLE_TEXT:{_m(this,n);break}case j.IN_TEMPLATE:{$3(this,n);break}case j.AFTER_BODY:case j.IN_FRAMESET:case j.AFTER_FRAMESET:case j.AFTER_AFTER_BODY:case j.AFTER_AFTER_FRAMESET:{uT(this,n);break}}}onWhitespaceCharacter(n){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,n.chars.charCodeAt(0)===P.LINE_FEED)){if(n.chars.length===1)return;n.chars=n.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(n);return}switch(this.insertionMode){case j.IN_HEAD:case j.IN_HEAD_NO_SCRIPT:case j.AFTER_HEAD:case j.TEXT:case j.IN_COLUMN_GROUP:case j.IN_SELECT:case j.IN_SELECT_IN_TABLE:case j.IN_FRAMESET:case j.AFTER_FRAMESET:{this._insertCharacters(n);break}case j.IN_BODY:case j.IN_CAPTION:case j.IN_CELL:case j.IN_TEMPLATE:case j.AFTER_BODY:case j.AFTER_AFTER_BODY:case j.AFTER_AFTER_FRAMESET:{F3(this,n);break}case j.IN_TABLE:case j.IN_TABLE_BODY:case j.IN_ROW:{tw(this,n);break}case j.IN_TABLE_TEXT:{V3(this,n);break}}}}function pB(e,n){let a=e.activeFormattingElements.getElementEntryInScopeWithTagName(n.tagName);return a?e.openElements.contains(a.element)?e.openElements.hasInScope(n.tagID)||(a=null):(e.activeFormattingElements.removeEntry(a),a=null):z3(e,n),a}function hB(e,n){let a=null,s=e.openElements.stackTop;for(;s>=0;s--){const f=e.openElements.items[s];if(f===n.element)break;e._isSpecialElement(f,e.openElements.tagIDs[s])&&(a=f)}return a||(e.openElements.shortenToLength(s<0?0:s),e.activeFormattingElements.removeEntry(n)),a}function mB(e,n,a){let s=n,f=e.openElements.getCommonAncestor(n);for(let h=0,d=f;d!==a;h++,d=f){f=e.openElements.getCommonAncestor(d);const g=e.activeFormattingElements.getElementEntry(d),E=g&&h>=dB;!g||E?(E&&e.activeFormattingElements.removeEntry(g),e.openElements.remove(d)):(d=gB(e,g),s===n&&(e.activeFormattingElements.bookmark=g),e.treeAdapter.detachNode(s),e.treeAdapter.appendChild(d,s),s=d)}return s}function gB(e,n){const a=e.treeAdapter.getNamespaceURI(n.element),s=e.treeAdapter.createElement(n.token.tagName,a,n.token.attrs);return e.openElements.replace(n.element,s),n.element=s,s}function vB(e,n,a){const s=e.treeAdapter.getTagName(n),f=np(s);if(e._isElementCausesFosterParenting(f))e._fosterParentElement(a);else{const h=e.treeAdapter.getNamespaceURI(n);f===y.TEMPLATE&&h===xe.HTML&&(n=e.treeAdapter.getTemplateContent(n)),e.treeAdapter.appendChild(n,a)}}function yB(e,n,a){const s=e.treeAdapter.getNamespaceURI(a.element),{token:f}=a,h=e.treeAdapter.createElement(f.tagName,s,f.attrs);e._adoptNodes(n,h),e.treeAdapter.appendChild(n,h),e.activeFormattingElements.insertElementAfterBookmark(h,f),e.activeFormattingElements.removeEntry(a),e.openElements.remove(a.element),e.openElements.insertAfter(n,h,f.tagID)}function oT(e,n){for(let a=0;a<cB;a++){const s=pB(e,n);if(!s)break;const f=hB(e,s);if(!f)break;e.activeFormattingElements.bookmark=s;const h=mB(e,f,s.element),d=e.openElements.getCommonAncestor(s.element);e.treeAdapter.detachNode(h),d&&vB(e,d,h),yB(e,f,s)}}function kw(e,n){e._appendCommentNode(n,e.openElements.currentTmplContentOrNode)}function EB(e,n){e._appendCommentNode(n,e.openElements.items[0])}function bB(e,n){e._appendCommentNode(n,e.document)}function uT(e,n){if(e.stopped=!0,n.location){const a=e.fragmentContext?0:2;for(let s=e.openElements.stackTop;s>=a;s--)e._setEndLocation(e.openElements.items[s],n);if(!e.fragmentContext&&e.openElements.stackTop>=0){const s=e.openElements.items[0],f=e.treeAdapter.getNodeSourceCodeLocation(s);if(f&&!f.endTag&&(e._setEndLocation(s,n),e.openElements.stackTop>=1)){const h=e.openElements.items[1],d=e.treeAdapter.getNodeSourceCodeLocation(h);d&&!d.endTag&&e._setEndLocation(h,n)}}}}function xB(e,n){e._setDocumentType(n);const a=n.forceQuirks?Ri.QUIRKS:KU(n);XU(n)||e._err(n,ce.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,a),e.insertionMode=j.BEFORE_HTML}function Cm(e,n){e._err(n,ce.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,Ri.QUIRKS),e.insertionMode=j.BEFORE_HTML,e._processToken(n)}function wB(e,n){n.tagID===y.HTML?(e._insertElement(n,xe.HTML),e.insertionMode=j.BEFORE_HEAD):Nm(e,n)}function TB(e,n){const a=n.tagID;(a===y.HTML||a===y.HEAD||a===y.BODY||a===y.BR)&&Nm(e,n)}function Nm(e,n){e._insertFakeRootElement(),e.insertionMode=j.BEFORE_HEAD,e._processToken(n)}function SB(e,n){switch(n.tagID){case y.HTML:{ia(e,n);break}case y.HEAD:{e._insertElement(n,xe.HTML),e.headElement=e.openElements.current,e.insertionMode=j.IN_HEAD;break}default:Dm(e,n)}}function CB(e,n){const a=n.tagID;a===y.HEAD||a===y.BODY||a===y.HTML||a===y.BR?Dm(e,n):e._err(n,ce.endTagWithoutMatchingOpenElement)}function Dm(e,n){e._insertFakeElement(ae.HEAD,y.HEAD),e.headElement=e.openElements.current,e.insertionMode=j.IN_HEAD,e._processToken(n)}function fo(e,n){switch(n.tagID){case y.HTML:{ia(e,n);break}case y.BASE:case y.BASEFONT:case y.BGSOUND:case y.LINK:case y.META:{e._appendElement(n,xe.HTML),n.ackSelfClosing=!0;break}case y.TITLE:{e._switchToTextParsing(n,qn.RCDATA);break}case y.NOSCRIPT:{e.options.scriptingEnabled?e._switchToTextParsing(n,qn.RAWTEXT):(e._insertElement(n,xe.HTML),e.insertionMode=j.IN_HEAD_NO_SCRIPT);break}case y.NOFRAMES:case y.STYLE:{e._switchToTextParsing(n,qn.RAWTEXT);break}case y.SCRIPT:{e._switchToTextParsing(n,qn.SCRIPT_DATA);break}case y.TEMPLATE:{e._insertTemplate(n),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=j.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(j.IN_TEMPLATE);break}case y.HEAD:{e._err(n,ce.misplacedStartTagForHeadElement);break}default:Om(e,n)}}function _B(e,n){switch(n.tagID){case y.HEAD:{e.openElements.pop(),e.insertionMode=j.AFTER_HEAD;break}case y.BODY:case y.BR:case y.HTML:{Om(e,n);break}case y.TEMPLATE:{Oc(e,n);break}default:e._err(n,ce.endTagWithoutMatchingOpenElement)}}function Oc(e,n){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==y.TEMPLATE&&e._err(n,ce.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(y.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(n,ce.endTagWithoutMatchingOpenElement)}function Om(e,n){e.openElements.pop(),e.insertionMode=j.AFTER_HEAD,e._processToken(n)}function kB(e,n){switch(n.tagID){case y.HTML:{ia(e,n);break}case y.BASEFONT:case y.BGSOUND:case y.HEAD:case y.LINK:case y.META:case y.NOFRAMES:case y.STYLE:{fo(e,n);break}case y.NOSCRIPT:{e._err(n,ce.nestedNoscriptInHead);break}default:Lm(e,n)}}function AB(e,n){switch(n.tagID){case y.NOSCRIPT:{e.openElements.pop(),e.insertionMode=j.IN_HEAD;break}case y.BR:{Lm(e,n);break}default:e._err(n,ce.endTagWithoutMatchingOpenElement)}}function Lm(e,n){const a=n.type===Rt.EOF?ce.openElementsLeftAfterEof:ce.disallowedContentInNoscriptInHead;e._err(n,a),e.openElements.pop(),e.insertionMode=j.IN_HEAD,e._processToken(n)}function RB(e,n){switch(n.tagID){case y.HTML:{ia(e,n);break}case y.BODY:{e._insertElement(n,xe.HTML),e.framesetOk=!1,e.insertionMode=j.IN_BODY;break}case y.FRAMESET:{e._insertElement(n,xe.HTML),e.insertionMode=j.IN_FRAMESET;break}case y.BASE:case y.BASEFONT:case y.BGSOUND:case y.LINK:case y.META:case y.NOFRAMES:case y.SCRIPT:case y.STYLE:case y.TEMPLATE:case y.TITLE:{e._err(n,ce.abandonedHeadElementChild),e.openElements.push(e.headElement,y.HEAD),fo(e,n),e.openElements.remove(e.headElement);break}case y.HEAD:{e._err(n,ce.misplacedStartTagForHeadElement);break}default:Im(e,n)}}function NB(e,n){switch(n.tagID){case y.BODY:case y.HTML:case y.BR:{Im(e,n);break}case y.TEMPLATE:{Oc(e,n);break}default:e._err(n,ce.endTagWithoutMatchingOpenElement)}}function Im(e,n){e._insertFakeElement(ae.BODY,y.BODY),e.insertionMode=j.IN_BODY,G1(e,n)}function G1(e,n){switch(n.type){case Rt.CHARACTER:{U3(e,n);break}case Rt.WHITESPACE_CHARACTER:{F3(e,n);break}case Rt.COMMENT:{kw(e,n);break}case Rt.START_TAG:{ia(e,n);break}case Rt.END_TAG:{$1(e,n);break}case Rt.EOF:{j3(e,n);break}}}function F3(e,n){e._reconstructActiveFormattingElements(),e._insertCharacters(n)}function U3(e,n){e._reconstructActiveFormattingElements(),e._insertCharacters(n),e.framesetOk=!1}function DB(e,n){e.openElements.tmplCount===0&&e.treeAdapter.adoptAttributes(e.openElements.items[0],n.attrs)}function OB(e,n){const a=e.openElements.tryPeekProperlyNestedBodyElement();a&&e.openElements.tmplCount===0&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(a,n.attrs))}function LB(e,n){const a=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&a&&(e.treeAdapter.detachNode(a),e.openElements.popAllUpToHtmlElement(),e._insertElement(n,xe.HTML),e.insertionMode=j.IN_FRAMESET)}function IB(e,n){e.openElements.hasInButtonScope(y.P)&&e._closePElement(),e._insertElement(n,xe.HTML)}function MB(e,n){e.openElements.hasInButtonScope(y.P)&&e._closePElement(),_w.has(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(n,xe.HTML)}function PB(e,n){e.openElements.hasInButtonScope(y.P)&&e._closePElement(),e._insertElement(n,xe.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}function FB(e,n){const a=e.openElements.tmplCount>0;(!e.formElement||a)&&(e.openElements.hasInButtonScope(y.P)&&e._closePElement(),e._insertElement(n,xe.HTML),a||(e.formElement=e.openElements.current))}function UB(e,n){e.framesetOk=!1;const a=n.tagID;for(let s=e.openElements.stackTop;s>=0;s--){const f=e.openElements.tagIDs[s];if(a===y.LI&&f===y.LI||(a===y.DD||a===y.DT)&&(f===y.DD||f===y.DT)){e.openElements.generateImpliedEndTagsWithExclusion(f),e.openElements.popUntilTagNamePopped(f);break}if(f!==y.ADDRESS&&f!==y.DIV&&f!==y.P&&e._isSpecialElement(e.openElements.items[s],f))break}e.openElements.hasInButtonScope(y.P)&&e._closePElement(),e._insertElement(n,xe.HTML)}function BB(e,n){e.openElements.hasInButtonScope(y.P)&&e._closePElement(),e._insertElement(n,xe.HTML),e.tokenizer.state=qn.PLAINTEXT}function HB(e,n){e.openElements.hasInScope(y.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(y.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(n,xe.HTML),e.framesetOk=!1}function zB(e,n){const a=e.activeFormattingElements.getElementEntryInScopeWithTagName(ae.A);a&&(oT(e,n),e.openElements.remove(a.element),e.activeFormattingElements.removeEntry(a)),e._reconstructActiveFormattingElements(),e._insertElement(n,xe.HTML),e.activeFormattingElements.pushElement(e.openElements.current,n)}function jB(e,n){e._reconstructActiveFormattingElements(),e._insertElement(n,xe.HTML),e.activeFormattingElements.pushElement(e.openElements.current,n)}function VB(e,n){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(y.NOBR)&&(oT(e,n),e._reconstructActiveFormattingElements()),e._insertElement(n,xe.HTML),e.activeFormattingElements.pushElement(e.openElements.current,n)}function YB(e,n){e._reconstructActiveFormattingElements(),e._insertElement(n,xe.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function WB(e,n){e.treeAdapter.getDocumentMode(e.document)!==Ri.QUIRKS&&e.openElements.hasInButtonScope(y.P)&&e._closePElement(),e._insertElement(n,xe.HTML),e.framesetOk=!1,e.insertionMode=j.IN_TABLE}function B3(e,n){e._reconstructActiveFormattingElements(),e._appendElement(n,xe.HTML),e.framesetOk=!1,n.ackSelfClosing=!0}function H3(e){const n=C3(e,Ac.TYPE);return n!=null&&n.toLowerCase()===lB}function qB(e,n){e._reconstructActiveFormattingElements(),e._appendElement(n,xe.HTML),H3(n)||(e.framesetOk=!1),n.ackSelfClosing=!0}function QB(e,n){e._appendElement(n,xe.HTML),n.ackSelfClosing=!0}function GB(e,n){e.openElements.hasInButtonScope(y.P)&&e._closePElement(),e._appendElement(n,xe.HTML),e.framesetOk=!1,n.ackSelfClosing=!0}function $B(e,n){n.tagName=ae.IMG,n.tagID=y.IMG,B3(e,n)}function XB(e,n){e._insertElement(n,xe.HTML),e.skipNextNewLine=!0,e.tokenizer.state=qn.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=j.TEXT}function KB(e,n){e.openElements.hasInButtonScope(y.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(n,qn.RAWTEXT)}function JB(e,n){e.framesetOk=!1,e._switchToTextParsing(n,qn.RAWTEXT)}function Ek(e,n){e._switchToTextParsing(n,qn.RAWTEXT)}function ZB(e,n){e._reconstructActiveFormattingElements(),e._insertElement(n,xe.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===j.IN_TABLE||e.insertionMode===j.IN_CAPTION||e.insertionMode===j.IN_TABLE_BODY||e.insertionMode===j.IN_ROW||e.insertionMode===j.IN_CELL?j.IN_SELECT_IN_TABLE:j.IN_SELECT}function eH(e,n){e.openElements.currentTagId===y.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(n,xe.HTML)}function tH(e,n){e.openElements.hasInScope(y.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(n,xe.HTML)}function nH(e,n){e.openElements.hasInScope(y.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(y.RTC),e._insertElement(n,xe.HTML)}function rH(e,n){e._reconstructActiveFormattingElements(),I3(n),iT(n),n.selfClosing?e._appendElement(n,xe.MATHML):e._insertElement(n,xe.MATHML),n.ackSelfClosing=!0}function aH(e,n){e._reconstructActiveFormattingElements(),M3(n),iT(n),n.selfClosing?e._appendElement(n,xe.SVG):e._insertElement(n,xe.SVG),n.ackSelfClosing=!0}function bk(e,n){e._reconstructActiveFormattingElements(),e._insertElement(n,xe.HTML)}function ia(e,n){switch(n.tagID){case y.I:case y.S:case y.B:case y.U:case y.EM:case y.TT:case y.BIG:case y.CODE:case y.FONT:case y.SMALL:case y.STRIKE:case y.STRONG:{jB(e,n);break}case y.A:{zB(e,n);break}case y.H1:case y.H2:case y.H3:case y.H4:case y.H5:case y.H6:{MB(e,n);break}case y.P:case y.DL:case y.OL:case y.UL:case y.DIV:case y.DIR:case y.NAV:case y.MAIN:case y.MENU:case y.ASIDE:case y.CENTER:case y.FIGURE:case y.FOOTER:case y.HEADER:case y.HGROUP:case y.DIALOG:case y.DETAILS:case y.ADDRESS:case y.ARTICLE:case y.SEARCH:case y.SECTION:case y.SUMMARY:case y.FIELDSET:case y.BLOCKQUOTE:case y.FIGCAPTION:{IB(e,n);break}case y.LI:case y.DD:case y.DT:{UB(e,n);break}case y.BR:case y.IMG:case y.WBR:case y.AREA:case y.EMBED:case y.KEYGEN:{B3(e,n);break}case y.HR:{GB(e,n);break}case y.RB:case y.RTC:{tH(e,n);break}case y.RT:case y.RP:{nH(e,n);break}case y.PRE:case y.LISTING:{PB(e,n);break}case y.XMP:{KB(e,n);break}case y.SVG:{aH(e,n);break}case y.HTML:{DB(e,n);break}case y.BASE:case y.LINK:case y.META:case y.STYLE:case y.TITLE:case y.SCRIPT:case y.BGSOUND:case y.BASEFONT:case y.TEMPLATE:{fo(e,n);break}case y.BODY:{OB(e,n);break}case y.FORM:{FB(e,n);break}case y.NOBR:{VB(e,n);break}case y.MATH:{rH(e,n);break}case y.TABLE:{WB(e,n);break}case y.INPUT:{qB(e,n);break}case y.PARAM:case y.TRACK:case y.SOURCE:{QB(e,n);break}case y.IMAGE:{$B(e,n);break}case y.BUTTON:{HB(e,n);break}case y.APPLET:case y.OBJECT:case y.MARQUEE:{YB(e,n);break}case y.IFRAME:{JB(e,n);break}case y.SELECT:{ZB(e,n);break}case y.OPTION:case y.OPTGROUP:{eH(e,n);break}case y.NOEMBED:case y.NOFRAMES:{Ek(e,n);break}case y.FRAMESET:{LB(e,n);break}case y.TEXTAREA:{XB(e,n);break}case y.NOSCRIPT:{e.options.scriptingEnabled?Ek(e,n):bk(e,n);break}case y.PLAINTEXT:{BB(e,n);break}case y.COL:case y.TH:case y.TD:case y.TR:case y.HEAD:case y.FRAME:case y.TBODY:case y.TFOOT:case y.THEAD:case y.CAPTION:case y.COLGROUP:break;default:bk(e,n)}}function iH(e,n){if(e.openElements.hasInScope(y.BODY)&&(e.insertionMode=j.AFTER_BODY,e.options.sourceCodeLocationInfo)){const a=e.openElements.tryPeekProperlyNestedBodyElement();a&&e._setEndLocation(a,n)}}function oH(e,n){e.openElements.hasInScope(y.BODY)&&(e.insertionMode=j.AFTER_BODY,X3(e,n))}function uH(e,n){const a=n.tagID;e.openElements.hasInScope(a)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(a))}function sH(e){const n=e.openElements.tmplCount>0,{formElement:a}=e;n||(e.formElement=null),(a||n)&&e.openElements.hasInScope(y.FORM)&&(e.openElements.generateImpliedEndTags(),n?e.openElements.popUntilTagNamePopped(y.FORM):a&&e.openElements.remove(a))}function lH(e){e.openElements.hasInButtonScope(y.P)||e._insertFakeElement(ae.P,y.P),e._closePElement()}function cH(e){e.openElements.hasInListItemScope(y.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(y.LI),e.openElements.popUntilTagNamePopped(y.LI))}function dH(e,n){const a=n.tagID;e.openElements.hasInScope(a)&&(e.openElements.generateImpliedEndTagsWithExclusion(a),e.openElements.popUntilTagNamePopped(a))}function fH(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}function pH(e,n){const a=n.tagID;e.openElements.hasInScope(a)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(a),e.activeFormattingElements.clearToLastMarker())}function hH(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(ae.BR,y.BR),e.openElements.pop(),e.framesetOk=!1}function z3(e,n){const a=n.tagName,s=n.tagID;for(let f=e.openElements.stackTop;f>0;f--){const h=e.openElements.items[f],d=e.openElements.tagIDs[f];if(s===d&&(s!==y.UNKNOWN||e.treeAdapter.getTagName(h)===a)){e.openElements.generateImpliedEndTagsWithExclusion(s),e.openElements.stackTop>=f&&e.openElements.shortenToLength(f);break}if(e._isSpecialElement(h,d))break}}function $1(e,n){switch(n.tagID){case y.A:case y.B:case y.I:case y.S:case y.U:case y.EM:case y.TT:case y.BIG:case y.CODE:case y.FONT:case y.NOBR:case y.SMALL:case y.STRIKE:case y.STRONG:{oT(e,n);break}case y.P:{lH(e);break}case y.DL:case y.UL:case y.OL:case y.DIR:case y.DIV:case y.NAV:case y.PRE:case y.MAIN:case y.MENU:case y.ASIDE:case y.BUTTON:case y.CENTER:case y.FIGURE:case y.FOOTER:case y.HEADER:case y.HGROUP:case y.DIALOG:case y.ADDRESS:case y.ARTICLE:case y.DETAILS:case y.SEARCH:case y.SECTION:case y.SUMMARY:case y.LISTING:case y.FIELDSET:case y.BLOCKQUOTE:case y.FIGCAPTION:{uH(e,n);break}case y.LI:{cH(e);break}case y.DD:case y.DT:{dH(e,n);break}case y.H1:case y.H2:case y.H3:case y.H4:case y.H5:case y.H6:{fH(e);break}case y.BR:{hH(e);break}case y.BODY:{iH(e,n);break}case y.HTML:{oH(e,n);break}case y.FORM:{sH(e);break}case y.APPLET:case y.OBJECT:case y.MARQUEE:{pH(e,n);break}case y.TEMPLATE:{Oc(e,n);break}default:z3(e,n)}}function j3(e,n){e.tmplInsertionModeStack.length>0?$3(e,n):uT(e,n)}function mH(e,n){var a;n.tagID===y.SCRIPT&&((a=e.scriptHandler)===null||a===void 0||a.call(e,e.openElements.current)),e.openElements.pop(),e.insertionMode=e.originalInsertionMode}function gH(e,n){e._err(n,ce.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(n)}function tw(e,n){if(P3.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=j.IN_TABLE_TEXT,n.type){case Rt.CHARACTER:{Y3(e,n);break}case Rt.WHITESPACE_CHARACTER:{V3(e,n);break}}else Qm(e,n)}function vH(e,n){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(n,xe.HTML),e.insertionMode=j.IN_CAPTION}function yH(e,n){e.openElements.clearBackToTableContext(),e._insertElement(n,xe.HTML),e.insertionMode=j.IN_COLUMN_GROUP}function EH(e,n){e.openElements.clearBackToTableContext(),e._insertFakeElement(ae.COLGROUP,y.COLGROUP),e.insertionMode=j.IN_COLUMN_GROUP,sT(e,n)}function bH(e,n){e.openElements.clearBackToTableContext(),e._insertElement(n,xe.HTML),e.insertionMode=j.IN_TABLE_BODY}function xH(e,n){e.openElements.clearBackToTableContext(),e._insertFakeElement(ae.TBODY,y.TBODY),e.insertionMode=j.IN_TABLE_BODY,X1(e,n)}function wH(e,n){e.openElements.hasInTableScope(y.TABLE)&&(e.openElements.popUntilTagNamePopped(y.TABLE),e._resetInsertionMode(),e._processStartTag(n))}function TH(e,n){H3(n)?e._appendElement(n,xe.HTML):Qm(e,n),n.ackSelfClosing=!0}function SH(e,n){!e.formElement&&e.openElements.tmplCount===0&&(e._insertElement(n,xe.HTML),e.formElement=e.openElements.current,e.openElements.pop())}function qf(e,n){switch(n.tagID){case y.TD:case y.TH:case y.TR:{xH(e,n);break}case y.STYLE:case y.SCRIPT:case y.TEMPLATE:{fo(e,n);break}case y.COL:{EH(e,n);break}case y.FORM:{SH(e,n);break}case y.TABLE:{wH(e,n);break}case y.TBODY:case y.TFOOT:case y.THEAD:{bH(e,n);break}case y.INPUT:{TH(e,n);break}case y.CAPTION:{vH(e,n);break}case y.COLGROUP:{yH(e,n);break}default:Qm(e,n)}}function Fm(e,n){switch(n.tagID){case y.TABLE:{e.openElements.hasInTableScope(y.TABLE)&&(e.openElements.popUntilTagNamePopped(y.TABLE),e._resetInsertionMode());break}case y.TEMPLATE:{Oc(e,n);break}case y.BODY:case y.CAPTION:case y.COL:case y.COLGROUP:case y.HTML:case y.TBODY:case y.TD:case y.TFOOT:case y.TH:case y.THEAD:case y.TR:break;default:Qm(e,n)}}function Qm(e,n){const a=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,G1(e,n),e.fosterParentingEnabled=a}function V3(e,n){e.pendingCharacterTokens.push(n)}function Y3(e,n){e.pendingCharacterTokens.push(n),e.hasNonWhitespacePendingCharacterToken=!0}function _m(e,n){let a=0;if(e.hasNonWhitespacePendingCharacterToken)for(;a<e.pendingCharacterTokens.length;a++)Qm(e,e.pendingCharacterTokens[a]);else for(;a<e.pendingCharacterTokens.length;a++)e._insertCharacters(e.pendingCharacterTokens[a]);e.insertionMode=e.originalInsertionMode,e._processToken(n)}const W3=new Set([y.CAPTION,y.COL,y.COLGROUP,y.TBODY,y.TD,y.TFOOT,y.TH,y.THEAD,y.TR]);function CH(e,n){const a=n.tagID;W3.has(a)?e.openElements.hasInTableScope(y.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(y.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=j.IN_TABLE,qf(e,n)):ia(e,n)}function _H(e,n){const a=n.tagID;switch(a){case y.CAPTION:case y.TABLE:{e.openElements.hasInTableScope(y.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(y.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=j.IN_TABLE,a===y.TABLE&&Fm(e,n));break}case y.BODY:case y.COL:case y.COLGROUP:case y.HTML:case y.TBODY:case y.TD:case y.TFOOT:case y.TH:case y.THEAD:case y.TR:break;default:$1(e,n)}}function sT(e,n){switch(n.tagID){case y.HTML:{ia(e,n);break}case y.COL:{e._appendElement(n,xe.HTML),n.ackSelfClosing=!0;break}case y.TEMPLATE:{fo(e,n);break}default:L1(e,n)}}function kH(e,n){switch(n.tagID){case y.COLGROUP:{e.openElements.currentTagId===y.COLGROUP&&(e.openElements.pop(),e.insertionMode=j.IN_TABLE);break}case y.TEMPLATE:{Oc(e,n);break}case y.COL:break;default:L1(e,n)}}function L1(e,n){e.openElements.currentTagId===y.COLGROUP&&(e.openElements.pop(),e.insertionMode=j.IN_TABLE,e._processToken(n))}function X1(e,n){switch(n.tagID){case y.TR:{e.openElements.clearBackToTableBodyContext(),e._insertElement(n,xe.HTML),e.insertionMode=j.IN_ROW;break}case y.TH:case y.TD:{e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(ae.TR,y.TR),e.insertionMode=j.IN_ROW,K1(e,n);break}case y.CAPTION:case y.COL:case y.COLGROUP:case y.TBODY:case y.TFOOT:case y.THEAD:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=j.IN_TABLE,qf(e,n));break}default:qf(e,n)}}function Aw(e,n){const a=n.tagID;switch(n.tagID){case y.TBODY:case y.TFOOT:case y.THEAD:{e.openElements.hasInTableScope(a)&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=j.IN_TABLE);break}case y.TABLE:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=j.IN_TABLE,Fm(e,n));break}case y.BODY:case y.CAPTION:case y.COL:case y.COLGROUP:case y.HTML:case y.TD:case y.TH:case y.TR:break;default:Fm(e,n)}}function K1(e,n){switch(n.tagID){case y.TH:case y.TD:{e.openElements.clearBackToTableRowContext(),e._insertElement(n,xe.HTML),e.insertionMode=j.IN_CELL,e.activeFormattingElements.insertMarker();break}case y.CAPTION:case y.COL:case y.COLGROUP:case y.TBODY:case y.TFOOT:case y.THEAD:case y.TR:{e.openElements.hasInTableScope(y.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=j.IN_TABLE_BODY,X1(e,n));break}default:qf(e,n)}}function q3(e,n){switch(n.tagID){case y.TR:{e.openElements.hasInTableScope(y.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=j.IN_TABLE_BODY);break}case y.TABLE:{e.openElements.hasInTableScope(y.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=j.IN_TABLE_BODY,Aw(e,n));break}case y.TBODY:case y.TFOOT:case y.THEAD:{(e.openElements.hasInTableScope(n.tagID)||e.openElements.hasInTableScope(y.TR))&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=j.IN_TABLE_BODY,Aw(e,n));break}case y.BODY:case y.CAPTION:case y.COL:case y.COLGROUP:case y.HTML:case y.TD:case y.TH:break;default:Fm(e,n)}}function AH(e,n){const a=n.tagID;W3.has(a)?(e.openElements.hasInTableScope(y.TD)||e.openElements.hasInTableScope(y.TH))&&(e._closeTableCell(),K1(e,n)):ia(e,n)}function RH(e,n){const a=n.tagID;switch(a){case y.TD:case y.TH:{e.openElements.hasInTableScope(a)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(a),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=j.IN_ROW);break}case y.TABLE:case y.TBODY:case y.TFOOT:case y.THEAD:case y.TR:{e.openElements.hasInTableScope(a)&&(e._closeTableCell(),q3(e,n));break}case y.BODY:case y.CAPTION:case y.COL:case y.COLGROUP:case y.HTML:break;default:$1(e,n)}}function Q3(e,n){switch(n.tagID){case y.HTML:{ia(e,n);break}case y.OPTION:{e.openElements.currentTagId===y.OPTION&&e.openElements.pop(),e._insertElement(n,xe.HTML);break}case y.OPTGROUP:{e.openElements.currentTagId===y.OPTION&&e.openElements.pop(),e.openElements.currentTagId===y.OPTGROUP&&e.openElements.pop(),e._insertElement(n,xe.HTML);break}case y.HR:{e.openElements.currentTagId===y.OPTION&&e.openElements.pop(),e.openElements.currentTagId===y.OPTGROUP&&e.openElements.pop(),e._appendElement(n,xe.HTML),n.ackSelfClosing=!0;break}case y.INPUT:case y.KEYGEN:case y.TEXTAREA:case y.SELECT:{e.openElements.hasInSelectScope(y.SELECT)&&(e.openElements.popUntilTagNamePopped(y.SELECT),e._resetInsertionMode(),n.tagID!==y.SELECT&&e._processStartTag(n));break}case y.SCRIPT:case y.TEMPLATE:{fo(e,n);break}}}function G3(e,n){switch(n.tagID){case y.OPTGROUP:{e.openElements.stackTop>0&&e.openElements.currentTagId===y.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===y.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===y.OPTGROUP&&e.openElements.pop();break}case y.OPTION:{e.openElements.currentTagId===y.OPTION&&e.openElements.pop();break}case y.SELECT:{e.openElements.hasInSelectScope(y.SELECT)&&(e.openElements.popUntilTagNamePopped(y.SELECT),e._resetInsertionMode());break}case y.TEMPLATE:{Oc(e,n);break}}}function NH(e,n){const a=n.tagID;a===y.CAPTION||a===y.TABLE||a===y.TBODY||a===y.TFOOT||a===y.THEAD||a===y.TR||a===y.TD||a===y.TH?(e.openElements.popUntilTagNamePopped(y.SELECT),e._resetInsertionMode(),e._processStartTag(n)):Q3(e,n)}function DH(e,n){const a=n.tagID;a===y.CAPTION||a===y.TABLE||a===y.TBODY||a===y.TFOOT||a===y.THEAD||a===y.TR||a===y.TD||a===y.TH?e.openElements.hasInTableScope(a)&&(e.openElements.popUntilTagNamePopped(y.SELECT),e._resetInsertionMode(),e.onEndTag(n)):G3(e,n)}function OH(e,n){switch(n.tagID){case y.BASE:case y.BASEFONT:case y.BGSOUND:case y.LINK:case y.META:case y.NOFRAMES:case y.SCRIPT:case y.STYLE:case y.TEMPLATE:case y.TITLE:{fo(e,n);break}case y.CAPTION:case y.COLGROUP:case y.TBODY:case y.TFOOT:case y.THEAD:{e.tmplInsertionModeStack[0]=j.IN_TABLE,e.insertionMode=j.IN_TABLE,qf(e,n);break}case y.COL:{e.tmplInsertionModeStack[0]=j.IN_COLUMN_GROUP,e.insertionMode=j.IN_COLUMN_GROUP,sT(e,n);break}case y.TR:{e.tmplInsertionModeStack[0]=j.IN_TABLE_BODY,e.insertionMode=j.IN_TABLE_BODY,X1(e,n);break}case y.TD:case y.TH:{e.tmplInsertionModeStack[0]=j.IN_ROW,e.insertionMode=j.IN_ROW,K1(e,n);break}default:e.tmplInsertionModeStack[0]=j.IN_BODY,e.insertionMode=j.IN_BODY,ia(e,n)}}function LH(e,n){n.tagID===y.TEMPLATE&&Oc(e,n)}function $3(e,n){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(y.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(n)):uT(e,n)}function IH(e,n){n.tagID===y.HTML?ia(e,n):I1(e,n)}function X3(e,n){var a;if(n.tagID===y.HTML){if(e.fragmentContext||(e.insertionMode=j.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===y.HTML){e._setEndLocation(e.openElements.items[0],n);const s=e.openElements.items[1];s&&!(!((a=e.treeAdapter.getNodeSourceCodeLocation(s))===null||a===void 0)&&a.endTag)&&e._setEndLocation(s,n)}}else I1(e,n)}function I1(e,n){e.insertionMode=j.IN_BODY,G1(e,n)}function MH(e,n){switch(n.tagID){case y.HTML:{ia(e,n);break}case y.FRAMESET:{e._insertElement(n,xe.HTML);break}case y.FRAME:{e._appendElement(n,xe.HTML),n.ackSelfClosing=!0;break}case y.NOFRAMES:{fo(e,n);break}}}function PH(e,n){n.tagID===y.FRAMESET&&!e.openElements.isRootHtmlElementCurrent()&&(e.openElements.pop(),!e.fragmentContext&&e.openElements.currentTagId!==y.FRAMESET&&(e.insertionMode=j.AFTER_FRAMESET))}function FH(e,n){switch(n.tagID){case y.HTML:{ia(e,n);break}case y.NOFRAMES:{fo(e,n);break}}}function UH(e,n){n.tagID===y.HTML&&(e.insertionMode=j.AFTER_AFTER_FRAMESET)}function BH(e,n){n.tagID===y.HTML?ia(e,n):w1(e,n)}function w1(e,n){e.insertionMode=j.IN_BODY,G1(e,n)}function HH(e,n){switch(n.tagID){case y.HTML:{ia(e,n);break}case y.NOFRAMES:{fo(e,n);break}}}function zH(e,n){n.chars=Tn,e._insertCharacters(n)}function jH(e,n){e._insertCharacters(n),e.framesetOk=!1}function K3(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==xe.HTML&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}function VH(e,n){if(aB(n))K3(e),e._startTagOutsideForeignContent(n);else{const a=e._getAdjustedCurrentElement(),s=e.treeAdapter.getNamespaceURI(a);s===xe.MATHML?I3(n):s===xe.SVG&&(iB(n),M3(n)),iT(n),n.selfClosing?e._appendElement(n,s):e._insertElement(n,s),n.ackSelfClosing=!0}}function YH(e,n){if(n.tagID===y.P||n.tagID===y.BR){K3(e),e._endTagOutsideForeignContent(n);return}for(let a=e.openElements.stackTop;a>0;a--){const s=e.openElements.items[a];if(e.treeAdapter.getNamespaceURI(s)===xe.HTML){e._endTagOutsideForeignContent(n);break}const f=e.treeAdapter.getTagName(s);if(f.toLowerCase()===n.tagName){n.tagName=f,e.openElements.shortenToLength(a);break}}}ae.AREA,ae.BASE,ae.BASEFONT,ae.BGSOUND,ae.BR,ae.COL,ae.EMBED,ae.FRAME,ae.HR,ae.IMG,ae.INPUT,ae.KEYGEN,ae.LINK,ae.META,ae.PARAM,ae.SOURCE,ae.TRACK,ae.WBR;const WH=/<(\/?)(iframe|noembed|noframes|plaintext|script|style|textarea|title|xmp)(?=[\t\n\f\r />])/gi,qH=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),xk={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function J3(e,n){const a=nz(e),s=pA("type",{handlers:{root:QH,element:GH,text:$H,comment:eR,doctype:XH,raw:JH},unknown:ZH}),f={parser:a?new yk(xk):yk.getFragmentParser(void 0,xk),handle(g){s(g,f)},stitches:!1,options:n||{}};s(e,f),rp(f,qo());const h=a?f.parser.document:f.parser.getFragment(),d=rU(h,{file:f.options.file});return f.stitches&&V1(d,"comment",function(g,E,b){const C=g;if(C.value.stitch&&b&&E!==void 0){const S=b.children;return S[E]=C.value.stitch,E}}),d.type==="root"&&d.children.length===1&&d.children[0].type===e.type?d.children[0]:d}function Z3(e,n){let a=-1;if(e)for(;++a<e.length;)n.handle(e[a])}function QH(e,n){Z3(e.children,n)}function GH(e,n){ez(e,n),Z3(e.children,n),tz(e,n)}function $H(e,n){n.parser.tokenizer.state>4&&(n.parser.tokenizer.state=0);const a={type:Rt.CHARACTER,chars:e.value,location:Gm(e)};rp(n,qo(e)),n.parser.currentToken=a,n.parser._processToken(n.parser.currentToken)}function XH(e,n){const a={type:Rt.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:Gm(e)};rp(n,qo(e)),n.parser.currentToken=a,n.parser._processToken(n.parser.currentToken)}function KH(e,n){n.stitches=!0;const a=rz(e);if("children"in e&&"children"in a){const s=J3({type:"root",children:e.children},n.options);a.children=s.children}eR({type:"comment",value:{stitch:a}},n)}function eR(e,n){const a=e.value,s={type:Rt.COMMENT,data:a,location:Gm(e)};rp(n,qo(e)),n.parser.currentToken=s,n.parser._processToken(n.parser.currentToken)}function JH(e,n){if(n.parser.tokenizer.preprocessor.html="",n.parser.tokenizer.preprocessor.pos=-1,n.parser.tokenizer.preprocessor.lastGapPos=-2,n.parser.tokenizer.preprocessor.gapStack=[],n.parser.tokenizer.preprocessor.skipNextNewLine=!1,n.parser.tokenizer.preprocessor.lastChunkWritten=!1,n.parser.tokenizer.preprocessor.endOfChunkHit=!1,n.parser.tokenizer.preprocessor.isEol=!1,tR(n,qo(e)),n.parser.tokenizer.write(n.options.tagfilter?e.value.replace(WH,"&lt;$1$2"):e.value,!1),n.parser.tokenizer._runParsingLoop(),n.parser.tokenizer.state===72||n.parser.tokenizer.state===78){n.parser.tokenizer.preprocessor.lastChunkWritten=!0;const a=n.parser.tokenizer._consume();n.parser.tokenizer._callState(a)}}function ZH(e,n){const a=e;if(n.options.passThrough&&n.options.passThrough.includes(a.type))KH(a,n);else{let s="";throw qH.has(a.type)&&(s=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"),new Error("Cannot compile `"+a.type+"` node"+s)}}function rp(e,n){tR(e,n);const a=e.parser.tokenizer.currentCharacterToken;a&&a.location&&(a.location.endLine=e.parser.tokenizer.preprocessor.line,a.location.endCol=e.parser.tokenizer.preprocessor.col+1,a.location.endOffset=e.parser.tokenizer.preprocessor.offset+1,e.parser.currentToken=a,e.parser._processToken(e.parser.currentToken)),e.parser.tokenizer.paused=!1,e.parser.tokenizer.inLoop=!1,e.parser.tokenizer.active=!1,e.parser.tokenizer.returnState=qn.DATA,e.parser.tokenizer.charRefCode=-1,e.parser.tokenizer.consumedAfterSnapshot=-1,e.parser.tokenizer.currentLocation=null,e.parser.tokenizer.currentCharacterToken=null,e.parser.tokenizer.currentToken=null,e.parser.tokenizer.currentAttr={name:"",value:""}}function tR(e,n){if(n&&n.offset!==void 0){const a={startLine:n.line,startCol:n.column,startOffset:n.offset,endLine:-1,endCol:-1,endOffset:-1};e.parser.tokenizer.preprocessor.lineStartPos=-n.column+1,e.parser.tokenizer.preprocessor.droppedBufferSize=n.offset,e.parser.tokenizer.preprocessor.line=n.line,e.parser.tokenizer.currentLocation=a}}function ez(e,n){const a=e.tagName.toLowerCase();if(n.parser.tokenizer.state===qn.PLAINTEXT)return;rp(n,qo(e));const s=n.parser.openElements.current;let f="namespaceURI"in s?s.namespaceURI:kc.html;f===kc.html&&a==="svg"&&(f=kc.svg);const h=sU({...e,children:[]},{space:f===kc.svg?"svg":"html"}),d={type:Rt.START_TAG,tagName:a,tagID:np(a),selfClosing:!1,ackSelfClosing:!1,attrs:"attrs"in h?h.attrs:[],location:Gm(e)};n.parser.currentToken=d,n.parser._processToken(n.parser.currentToken),n.parser.tokenizer.lastStartTagName=a}function tz(e,n){const a=e.tagName.toLowerCase();if(!n.parser.tokenizer.inForeignNode&&gU.includes(a)||n.parser.tokenizer.state===qn.PLAINTEXT)return;rp(n,q1(e));const s={type:Rt.END_TAG,tagName:a,tagID:np(a),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:Gm(e)};n.parser.currentToken=s,n.parser._processToken(n.parser.currentToken),a===n.parser.tokenizer.lastStartTagName&&(n.parser.tokenizer.state===qn.RCDATA||n.parser.tokenizer.state===qn.RAWTEXT||n.parser.tokenizer.state===qn.SCRIPT_DATA)&&(n.parser.tokenizer.state=qn.DATA)}function nz(e){const n=e.type==="root"?e.children[0]:e;return!!(n&&(n.type==="doctype"||n.type==="element"&&n.tagName.toLowerCase()==="html"))}function Gm(e){const n=qo(e)||{line:void 0,column:void 0,offset:void 0},a=q1(e)||{line:void 0,column:void 0,offset:void 0};return{startLine:n.line,startCol:n.column,startOffset:n.offset,endLine:a.line,endCol:a.column,endOffset:a.offset}}function rz(e){return"children"in e?Wf({...e,children:[]}):Wf(e)}function nR(e){return function(n,a){return J3(n,{...e,file:a})}}var Rw={exports:{}},Wa={},f1={exports:{}},nw={};/**
30
- * @license React
31
- * scheduler.production.min.js
32
- *
33
- * Copyright (c) Facebook, Inc. and its affiliates.
34
- *
35
- * This source code is licensed under the MIT license found in the
36
- * LICENSE file in the root directory of this source tree.
37
- */var wk;function az(){return wk||(wk=1,function(e){function n(he,De){var F=he.length;he.push(De);e:for(;0<F;){var et=F-1>>>1,Et=he[et];if(0<f(Et,De))he[et]=De,he[F]=Et,F=et;else break e}}function a(he){return he.length===0?null:he[0]}function s(he){if(he.length===0)return null;var De=he[0],F=he.pop();if(F!==De){he[0]=F;e:for(var et=0,Et=he.length,V=Et>>>1;et<V;){var Gt=2*(et+1)-1,Gn=he[Gt],Nt=Gt+1,ar=he[Nt];if(0>f(Gn,F))Nt<Et&&0>f(ar,Gn)?(he[et]=ar,he[Nt]=F,et=Nt):(he[et]=Gn,he[Gt]=F,et=Gt);else if(Nt<Et&&0>f(ar,F))he[et]=ar,he[Nt]=F,et=Nt;else break e}}return De}function f(he,De){var F=he.sortIndex-De.sortIndex;return F!==0?F:he.id-De.id}if(typeof performance=="object"&&typeof performance.now=="function"){var h=performance;e.unstable_now=function(){return h.now()}}else{var d=Date,g=d.now();e.unstable_now=function(){return d.now()-g}}var E=[],b=[],C=1,S=null,R=3,k=!1,D=!1,L=!1,B=typeof setTimeout=="function"?setTimeout:null,H=typeof clearTimeout=="function"?clearTimeout:null,$=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function W(he){for(var De=a(b);De!==null;){if(De.callback===null)s(b);else if(De.startTime<=he)s(b),De.sortIndex=De.expirationTime,n(E,De);else break;De=a(b)}}function J(he){if(L=!1,W(he),!D)if(a(E)!==null)D=!0,je(Z);else{var De=a(b);De!==null&&at(J,De.startTime-he)}}function Z(he,De){D=!1,L&&(L=!1,H(we),we=-1),k=!0;var F=R;try{for(W(De),S=a(E);S!==null&&(!(S.expirationTime>De)||he&&!Ee());){var et=S.callback;if(typeof et=="function"){S.callback=null,R=S.priorityLevel;var Et=et(S.expirationTime<=De);De=e.unstable_now(),typeof Et=="function"?S.callback=Et:S===a(E)&&s(E),W(De)}else s(E);S=a(E)}if(S!==null)var V=!0;else{var Gt=a(b);Gt!==null&&at(J,Gt.startTime-De),V=!1}return V}finally{S=null,R=F,k=!1}}var X=!1,te=null,we=-1,Me=5,K=-1;function Ee(){return!(e.unstable_now()-K<Me)}function ge(){if(te!==null){var he=e.unstable_now();K=he;var De=!0;try{De=te(!0,he)}finally{De?Re():(X=!1,te=null)}}else X=!1}var Re;if(typeof $=="function")Re=function(){$(ge)};else if(typeof MessageChannel<"u"){var Oe=new MessageChannel,qe=Oe.port2;Oe.port1.onmessage=ge,Re=function(){qe.postMessage(null)}}else Re=function(){B(ge,0)};function je(he){te=he,X||(X=!0,Re())}function at(he,De){we=B(function(){he(e.unstable_now())},De)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(he){he.callback=null},e.unstable_continueExecution=function(){D||k||(D=!0,je(Z))},e.unstable_forceFrameRate=function(he){0>he||125<he?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Me=0<he?Math.floor(1e3/he):5},e.unstable_getCurrentPriorityLevel=function(){return R},e.unstable_getFirstCallbackNode=function(){return a(E)},e.unstable_next=function(he){switch(R){case 1:case 2:case 3:var De=3;break;default:De=R}var F=R;R=De;try{return he()}finally{R=F}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(he,De){switch(he){case 1:case 2:case 3:case 4:case 5:break;default:he=3}var F=R;R=he;try{return De()}finally{R=F}},e.unstable_scheduleCallback=function(he,De,F){var et=e.unstable_now();switch(typeof F=="object"&&F!==null?(F=F.delay,F=typeof F=="number"&&0<F?et+F:et):F=et,he){case 1:var Et=-1;break;case 2:Et=250;break;case 5:Et=1073741823;break;case 4:Et=1e4;break;default:Et=5e3}return Et=F+Et,he={id:C++,callback:De,priorityLevel:he,startTime:F,expirationTime:Et,sortIndex:-1},F>et?(he.sortIndex=F,n(b,he),a(E)===null&&he===a(b)&&(L?(H(we),we=-1):L=!0,at(J,F-et))):(he.sortIndex=Et,n(E,he),D||k||(D=!0,je(Z))),he},e.unstable_shouldYield=Ee,e.unstable_wrapCallback=function(he){var De=R;return function(){var F=R;R=De;try{return he.apply(this,arguments)}finally{R=F}}}}(nw)),nw}var rw={};/**
38
- * @license React
39
- * scheduler.development.js
40
- *
41
- * Copyright (c) Facebook, Inc. and its affiliates.
42
- *
43
- * This source code is licensed under the MIT license found in the
44
- * LICENSE file in the root directory of this source tree.
45
- */var Tk;function iz(){return Tk||(Tk=1,function(e){process.env.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var n=!1,a=!1,s=5;function f(Ne,Ge){var dt=Ne.length;Ne.push(Ge),g(Ne,Ge,dt)}function h(Ne){return Ne.length===0?null:Ne[0]}function d(Ne){if(Ne.length===0)return null;var Ge=Ne[0],dt=Ne.pop();return dt!==Ge&&(Ne[0]=dt,E(Ne,dt,0)),Ge}function g(Ne,Ge,dt){for(var It=dt;It>0;){var $t=It-1>>>1,Ht=Ne[$t];if(b(Ht,Ge)>0)Ne[$t]=Ge,Ne[It]=Ht,It=$t;else return}}function E(Ne,Ge,dt){for(var It=dt,$t=Ne.length,Ht=$t>>>1;It<Ht;){var Kt=(It+1)*2-1,mn=Ne[Kt],gn=Kt+1,fi=Ne[gn];if(b(mn,Ge)<0)gn<$t&&b(fi,mn)<0?(Ne[It]=fi,Ne[gn]=Ge,It=gn):(Ne[It]=mn,Ne[Kt]=Ge,It=Kt);else if(gn<$t&&b(fi,Ge)<0)Ne[It]=fi,Ne[gn]=Ge,It=gn;else return}}function b(Ne,Ge){var dt=Ne.sortIndex-Ge.sortIndex;return dt!==0?dt:Ne.id-Ge.id}var C=1,S=2,R=3,k=4,D=5;function L(Ne,Ge){}var B=typeof performance=="object"&&typeof performance.now=="function";if(B){var H=performance;e.unstable_now=function(){return H.now()}}else{var $=Date,W=$.now();e.unstable_now=function(){return $.now()-W}}var J=1073741823,Z=-1,X=250,te=5e3,we=1e4,Me=J,K=[],Ee=[],ge=1,Re=null,Oe=R,qe=!1,je=!1,at=!1,he=typeof setTimeout=="function"?setTimeout:null,De=typeof clearTimeout=="function"?clearTimeout:null,F=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function et(Ne){for(var Ge=h(Ee);Ge!==null;){if(Ge.callback===null)d(Ee);else if(Ge.startTime<=Ne)d(Ee),Ge.sortIndex=Ge.expirationTime,f(K,Ge);else return;Ge=h(Ee)}}function Et(Ne){if(at=!1,et(Ne),!je)if(h(K)!==null)je=!0,de(V);else{var Ge=h(Ee);Ge!==null&&Ce(Et,Ge.startTime-Ne)}}function V(Ne,Ge){je=!1,at&&(at=!1,tt()),qe=!0;var dt=Oe;try{var It;if(!a)return Gt(Ne,Ge)}finally{Re=null,Oe=dt,qe=!1}}function Gt(Ne,Ge){var dt=Ge;for(et(dt),Re=h(K);Re!==null&&!n&&!(Re.expirationTime>dt&&(!Ne||Hr()));){var It=Re.callback;if(typeof It=="function"){Re.callback=null,Oe=Re.priorityLevel;var $t=Re.expirationTime<=dt,Ht=It($t);dt=e.unstable_now(),typeof Ht=="function"?Re.callback=Ht:Re===h(K)&&d(K),et(dt)}else d(K);Re=h(K)}if(Re!==null)return!0;var Kt=h(Ee);return Kt!==null&&Ce(Et,Kt.startTime-dt),!1}function Gn(Ne,Ge){switch(Ne){case C:case S:case R:case k:case D:break;default:Ne=R}var dt=Oe;Oe=Ne;try{return Ge()}finally{Oe=dt}}function Nt(Ne){var Ge;switch(Oe){case C:case S:case R:Ge=R;break;default:Ge=Oe;break}var dt=Oe;Oe=Ge;try{return Ne()}finally{Oe=dt}}function ar(Ne){var Ge=Oe;return function(){var dt=Oe;Oe=Ge;try{return Ne.apply(this,arguments)}finally{Oe=dt}}}function cn(Ne,Ge,dt){var It=e.unstable_now(),$t;if(typeof dt=="object"&&dt!==null){var Ht=dt.delay;typeof Ht=="number"&&Ht>0?$t=It+Ht:$t=It}else $t=It;var Kt;switch(Ne){case C:Kt=Z;break;case S:Kt=X;break;case D:Kt=Me;break;case k:Kt=we;break;case R:default:Kt=te;break}var mn=$t+Kt,gn={id:ge++,callback:Ge,priorityLevel:Ne,startTime:$t,expirationTime:mn,sortIndex:-1};return $t>It?(gn.sortIndex=$t,f(Ee,gn),h(K)===null&&gn===h(Ee)&&(at?tt():at=!0,Ce(Et,$t-It))):(gn.sortIndex=mn,f(K,gn),!je&&!qe&&(je=!0,de(V))),gn}function Rn(){}function kr(){!je&&!qe&&(je=!0,de(V))}function Nn(){return h(K)}function Br(Ne){Ne.callback=null}function an(){return Oe}var Fn=!1,ir=null,yr=-1,$n=s,oa=-1;function Hr(){var Ne=e.unstable_now()-oa;return!(Ne<$n)}function li(){}function ci(Ne){if(Ne<0||Ne>125){console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported");return}Ne>0?$n=Math.floor(1e3/Ne):$n=s}var Oi=function(){if(ir!==null){var Ne=e.unstable_now();oa=Ne;var Ge=!0,dt=!0;try{dt=ir(Ge,Ne)}finally{dt?ua():(Fn=!1,ir=null)}}else Fn=!1},ua;if(typeof F=="function")ua=function(){F(Oi)};else if(typeof MessageChannel<"u"){var di=new MessageChannel,xa=di.port2;di.port1.onmessage=Oi,ua=function(){xa.postMessage(null)}}else ua=function(){he(Oi,0)};function de(Ne){ir=Ne,Fn||(Fn=!0,ua())}function Ce(Ne,Ge){yr=he(function(){Ne(e.unstable_now())},Ge)}function tt(){De(yr),yr=-1}var yt=li,At=null;e.unstable_IdlePriority=D,e.unstable_ImmediatePriority=C,e.unstable_LowPriority=k,e.unstable_NormalPriority=R,e.unstable_Profiling=At,e.unstable_UserBlockingPriority=S,e.unstable_cancelCallback=Br,e.unstable_continueExecution=kr,e.unstable_forceFrameRate=ci,e.unstable_getCurrentPriorityLevel=an,e.unstable_getFirstCallbackNode=Nn,e.unstable_next=Nt,e.unstable_pauseExecution=Rn,e.unstable_requestPaint=yt,e.unstable_runWithPriority=Gn,e.unstable_scheduleCallback=cn,e.unstable_shouldYield=Hr,e.unstable_wrapCallback=ar,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()}(rw)),rw}var Sk;function rR(){return Sk||(Sk=1,process.env.NODE_ENV==="production"?f1.exports=az():f1.exports=iz()),f1.exports}/**
46
- * @license React
47
- * react-dom.production.min.js
48
- *
49
- * Copyright (c) Facebook, Inc. and its affiliates.
50
- *
51
- * This source code is licensed under the MIT license found in the
52
- * LICENSE file in the root directory of this source tree.
53
- */var Ck;function oz(){if(Ck)return Wa;Ck=1;var e=Tt,n=rR();function a(i){for(var o="https://reactjs.org/docs/error-decoder.html?invariant="+i,c=1;c<arguments.length;c++)o+="&args[]="+encodeURIComponent(arguments[c]);return"Minified React error #"+i+"; visit "+o+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var s=new Set,f={};function h(i,o){d(i,o),d(i+"Capture",o)}function d(i,o){for(f[i]=o,i=0;i<o.length;i++)s.add(o[i])}var g=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),E=Object.prototype.hasOwnProperty,b=/^[: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]*$/,C={},S={};function R(i){return E.call(S,i)?!0:E.call(C,i)?!1:b.test(i)?S[i]=!0:(C[i]=!0,!1)}function k(i,o,c,m){if(c!==null&&c.type===0)return!1;switch(typeof o){case"function":case"symbol":return!0;case"boolean":return m?!1:c!==null?!c.acceptsBooleans:(i=i.toLowerCase().slice(0,5),i!=="data-"&&i!=="aria-");default:return!1}}function D(i,o,c,m){if(o===null||typeof o>"u"||k(i,o,c,m))return!0;if(m)return!1;if(c!==null)switch(c.type){case 3:return!o;case 4:return o===!1;case 5:return isNaN(o);case 6:return isNaN(o)||1>o}return!1}function L(i,o,c,m,x,T,N){this.acceptsBooleans=o===2||o===3||o===4,this.attributeName=m,this.attributeNamespace=x,this.mustUseProperty=c,this.propertyName=i,this.type=o,this.sanitizeURL=T,this.removeEmptyString=N}var B={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(i){B[i]=new L(i,0,!1,i,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(i){var o=i[0];B[o]=new L(o,1,!1,i[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(i){B[i]=new L(i,2,!1,i.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(i){B[i]=new L(i,2,!1,i,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(i){B[i]=new L(i,3,!1,i.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(i){B[i]=new L(i,3,!0,i,null,!1,!1)}),["capture","download"].forEach(function(i){B[i]=new L(i,4,!1,i,null,!1,!1)}),["cols","rows","size","span"].forEach(function(i){B[i]=new L(i,6,!1,i,null,!1,!1)}),["rowSpan","start"].forEach(function(i){B[i]=new L(i,5,!1,i.toLowerCase(),null,!1,!1)});var H=/[\-:]([a-z])/g;function $(i){return i[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(i){var o=i.replace(H,$);B[o]=new L(o,1,!1,i,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(i){var o=i.replace(H,$);B[o]=new L(o,1,!1,i,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(i){var o=i.replace(H,$);B[o]=new L(o,1,!1,i,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(i){B[i]=new L(i,1,!1,i.toLowerCase(),null,!1,!1)}),B.xlinkHref=new L("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(i){B[i]=new L(i,1,!1,i.toLowerCase(),null,!0,!0)});function W(i,o,c,m){var x=B.hasOwnProperty(o)?B[o]:null;(x!==null?x.type!==0:m||!(2<o.length)||o[0]!=="o"&&o[0]!=="O"||o[1]!=="n"&&o[1]!=="N")&&(D(o,c,x,m)&&(c=null),m||x===null?R(o)&&(c===null?i.removeAttribute(o):i.setAttribute(o,""+c)):x.mustUseProperty?i[x.propertyName]=c===null?x.type===3?!1:"":c:(o=x.attributeName,m=x.attributeNamespace,c===null?i.removeAttribute(o):(x=x.type,c=x===3||x===4&&c===!0?"":""+c,m?i.setAttributeNS(m,o,c):i.setAttribute(o,c))))}var J=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Z=Symbol.for("react.element"),X=Symbol.for("react.portal"),te=Symbol.for("react.fragment"),we=Symbol.for("react.strict_mode"),Me=Symbol.for("react.profiler"),K=Symbol.for("react.provider"),Ee=Symbol.for("react.context"),ge=Symbol.for("react.forward_ref"),Re=Symbol.for("react.suspense"),Oe=Symbol.for("react.suspense_list"),qe=Symbol.for("react.memo"),je=Symbol.for("react.lazy"),at=Symbol.for("react.offscreen"),he=Symbol.iterator;function De(i){return i===null||typeof i!="object"?null:(i=he&&i[he]||i["@@iterator"],typeof i=="function"?i:null)}var F=Object.assign,et;function Et(i){if(et===void 0)try{throw Error()}catch(c){var o=c.stack.trim().match(/\n( *(at )?)/);et=o&&o[1]||""}return`
54
- `+et+i}var V=!1;function Gt(i,o){if(!i||V)return"";V=!0;var c=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(o)if(o=function(){throw Error()},Object.defineProperty(o.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(o,[])}catch(se){var m=se}Reflect.construct(i,[],o)}else{try{o.call()}catch(se){m=se}i.call(o.prototype)}else{try{throw Error()}catch(se){m=se}i()}}catch(se){if(se&&m&&typeof se.stack=="string"){for(var x=se.stack.split(`
55
- `),T=m.stack.split(`
56
- `),N=x.length-1,z=T.length-1;1<=N&&0<=z&&x[N]!==T[z];)z--;for(;1<=N&&0<=z;N--,z--)if(x[N]!==T[z]){if(N!==1||z!==1)do if(N--,z--,0>z||x[N]!==T[z]){var Y=`
57
- `+x[N].replace(" at new "," at ");return i.displayName&&Y.includes("<anonymous>")&&(Y=Y.replace("<anonymous>",i.displayName)),Y}while(1<=N&&0<=z);break}}}finally{V=!1,Error.prepareStackTrace=c}return(i=i?i.displayName||i.name:"")?Et(i):""}function Gn(i){switch(i.tag){case 5:return Et(i.type);case 16:return Et("Lazy");case 13:return Et("Suspense");case 19:return Et("SuspenseList");case 0:case 2:case 15:return i=Gt(i.type,!1),i;case 11:return i=Gt(i.type.render,!1),i;case 1:return i=Gt(i.type,!0),i;default:return""}}function Nt(i){if(i==null)return null;if(typeof i=="function")return i.displayName||i.name||null;if(typeof i=="string")return i;switch(i){case te:return"Fragment";case X:return"Portal";case Me:return"Profiler";case we:return"StrictMode";case Re:return"Suspense";case Oe:return"SuspenseList"}if(typeof i=="object")switch(i.$$typeof){case Ee:return(i.displayName||"Context")+".Consumer";case K:return(i._context.displayName||"Context")+".Provider";case ge:var o=i.render;return i=i.displayName,i||(i=o.displayName||o.name||"",i=i!==""?"ForwardRef("+i+")":"ForwardRef"),i;case qe:return o=i.displayName||null,o!==null?o:Nt(i.type)||"Memo";case je:o=i._payload,i=i._init;try{return Nt(i(o))}catch{}}return null}function ar(i){var o=i.type;switch(i.tag){case 24:return"Cache";case 9:return(o.displayName||"Context")+".Consumer";case 10:return(o._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return i=o.render,i=i.displayName||i.name||"",o.displayName||(i!==""?"ForwardRef("+i+")":"ForwardRef");case 7:return"Fragment";case 5:return o;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Nt(o);case 8:return o===we?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof o=="function")return o.displayName||o.name||null;if(typeof o=="string")return o}return null}function cn(i){switch(typeof i){case"boolean":case"number":case"string":case"undefined":return i;case"object":return i;default:return""}}function Rn(i){var o=i.type;return(i=i.nodeName)&&i.toLowerCase()==="input"&&(o==="checkbox"||o==="radio")}function kr(i){var o=Rn(i)?"checked":"value",c=Object.getOwnPropertyDescriptor(i.constructor.prototype,o),m=""+i[o];if(!i.hasOwnProperty(o)&&typeof c<"u"&&typeof c.get=="function"&&typeof c.set=="function"){var x=c.get,T=c.set;return Object.defineProperty(i,o,{configurable:!0,get:function(){return x.call(this)},set:function(N){m=""+N,T.call(this,N)}}),Object.defineProperty(i,o,{enumerable:c.enumerable}),{getValue:function(){return m},setValue:function(N){m=""+N},stopTracking:function(){i._valueTracker=null,delete i[o]}}}}function Nn(i){i._valueTracker||(i._valueTracker=kr(i))}function Br(i){if(!i)return!1;var o=i._valueTracker;if(!o)return!0;var c=o.getValue(),m="";return i&&(m=Rn(i)?i.checked?"true":"false":i.value),i=m,i!==c?(o.setValue(i),!0):!1}function an(i){if(i=i||(typeof document<"u"?document:void 0),typeof i>"u")return null;try{return i.activeElement||i.body}catch{return i.body}}function Fn(i,o){var c=o.checked;return F({},o,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:c??i._wrapperState.initialChecked})}function ir(i,o){var c=o.defaultValue==null?"":o.defaultValue,m=o.checked!=null?o.checked:o.defaultChecked;c=cn(o.value!=null?o.value:c),i._wrapperState={initialChecked:m,initialValue:c,controlled:o.type==="checkbox"||o.type==="radio"?o.checked!=null:o.value!=null}}function yr(i,o){o=o.checked,o!=null&&W(i,"checked",o,!1)}function $n(i,o){yr(i,o);var c=cn(o.value),m=o.type;if(c!=null)m==="number"?(c===0&&i.value===""||i.value!=c)&&(i.value=""+c):i.value!==""+c&&(i.value=""+c);else if(m==="submit"||m==="reset"){i.removeAttribute("value");return}o.hasOwnProperty("value")?Hr(i,o.type,c):o.hasOwnProperty("defaultValue")&&Hr(i,o.type,cn(o.defaultValue)),o.checked==null&&o.defaultChecked!=null&&(i.defaultChecked=!!o.defaultChecked)}function oa(i,o,c){if(o.hasOwnProperty("value")||o.hasOwnProperty("defaultValue")){var m=o.type;if(!(m!=="submit"&&m!=="reset"||o.value!==void 0&&o.value!==null))return;o=""+i._wrapperState.initialValue,c||o===i.value||(i.value=o),i.defaultValue=o}c=i.name,c!==""&&(i.name=""),i.defaultChecked=!!i._wrapperState.initialChecked,c!==""&&(i.name=c)}function Hr(i,o,c){(o!=="number"||an(i.ownerDocument)!==i)&&(c==null?i.defaultValue=""+i._wrapperState.initialValue:i.defaultValue!==""+c&&(i.defaultValue=""+c))}var li=Array.isArray;function ci(i,o,c,m){if(i=i.options,o){o={};for(var x=0;x<c.length;x++)o["$"+c[x]]=!0;for(c=0;c<i.length;c++)x=o.hasOwnProperty("$"+i[c].value),i[c].selected!==x&&(i[c].selected=x),x&&m&&(i[c].defaultSelected=!0)}else{for(c=""+cn(c),o=null,x=0;x<i.length;x++){if(i[x].value===c){i[x].selected=!0,m&&(i[x].defaultSelected=!0);return}o!==null||i[x].disabled||(o=i[x])}o!==null&&(o.selected=!0)}}function Oi(i,o){if(o.dangerouslySetInnerHTML!=null)throw Error(a(91));return F({},o,{value:void 0,defaultValue:void 0,children:""+i._wrapperState.initialValue})}function ua(i,o){var c=o.value;if(c==null){if(c=o.children,o=o.defaultValue,c!=null){if(o!=null)throw Error(a(92));if(li(c)){if(1<c.length)throw Error(a(93));c=c[0]}o=c}o==null&&(o=""),c=o}i._wrapperState={initialValue:cn(c)}}function di(i,o){var c=cn(o.value),m=cn(o.defaultValue);c!=null&&(c=""+c,c!==i.value&&(i.value=c),o.defaultValue==null&&i.defaultValue!==c&&(i.defaultValue=c)),m!=null&&(i.defaultValue=""+m)}function xa(i){var o=i.textContent;o===i._wrapperState.initialValue&&o!==""&&o!==null&&(i.value=o)}function de(i){switch(i){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 Ce(i,o){return i==null||i==="http://www.w3.org/1999/xhtml"?de(o):i==="http://www.w3.org/2000/svg"&&o==="foreignObject"?"http://www.w3.org/1999/xhtml":i}var tt,yt=function(i){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(o,c,m,x){MSApp.execUnsafeLocalFunction(function(){return i(o,c,m,x)})}:i}(function(i,o){if(i.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in i)i.innerHTML=o;else{for(tt=tt||document.createElement("div"),tt.innerHTML="<svg>"+o.valueOf().toString()+"</svg>",o=tt.firstChild;i.firstChild;)i.removeChild(i.firstChild);for(;o.firstChild;)i.appendChild(o.firstChild)}});function At(i,o){if(o){var c=i.firstChild;if(c&&c===i.lastChild&&c.nodeType===3){c.nodeValue=o;return}}i.textContent=o}var Ne={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"];Object.keys(Ne).forEach(function(i){Ge.forEach(function(o){o=o+i.charAt(0).toUpperCase()+i.substring(1),Ne[o]=Ne[i]})});function dt(i,o,c){return o==null||typeof o=="boolean"||o===""?"":c||typeof o!="number"||o===0||Ne.hasOwnProperty(i)&&Ne[i]?(""+o).trim():o+"px"}function It(i,o){i=i.style;for(var c in o)if(o.hasOwnProperty(c)){var m=c.indexOf("--")===0,x=dt(c,o[c],m);c==="float"&&(c="cssFloat"),m?i.setProperty(c,x):i[c]=x}}var $t=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 Ht(i,o){if(o){if($t[i]&&(o.children!=null||o.dangerouslySetInnerHTML!=null))throw Error(a(137,i));if(o.dangerouslySetInnerHTML!=null){if(o.children!=null)throw Error(a(60));if(typeof o.dangerouslySetInnerHTML!="object"||!("__html"in o.dangerouslySetInnerHTML))throw Error(a(61))}if(o.style!=null&&typeof o.style!="object")throw Error(a(62))}}function Kt(i,o){if(i.indexOf("-")===-1)return typeof o.is=="string";switch(i){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 mn=null;function gn(i){return i=i.target||i.srcElement||window,i.correspondingUseElement&&(i=i.correspondingUseElement),i.nodeType===3?i.parentNode:i}var fi=null,Dn=null,vn=null;function Jm(i){if(i=Pl(i)){if(typeof fi!="function")throw Error(a(280));var o=i.stateNode;o&&(o=nt(o),fi(i.stateNode,i.type,o))}}function Ic(i){Dn?vn?vn.push(i):vn=[i]:Dn=i}function Mc(){if(Dn){var i=Dn,o=vn;if(vn=Dn=null,Jm(i),o)for(i=0;i<o.length;i++)Jm(o[i])}}function Zm(i,o){return i(o)}function e0(){}var Pc=!1;function op(i,o,c){if(Pc)return i(o,c);Pc=!0;try{return Zm(i,o,c)}finally{Pc=!1,(Dn!==null||vn!==null)&&(e0(),Mc())}}function fl(i,o){var c=i.stateNode;if(c===null)return null;var m=nt(c);if(m===null)return null;c=m[o];e:switch(o){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(m=!m.disabled)||(i=i.type,m=!(i==="button"||i==="input"||i==="select"||i==="textarea")),i=!m;break e;default:i=!1}if(i)return null;if(c&&typeof c!="function")throw Error(a(231,o,typeof c));return c}var Fc=!1;if(g)try{var Go={};Object.defineProperty(Go,"passive",{get:function(){Fc=!0}}),window.addEventListener("test",Go,Go),window.removeEventListener("test",Go,Go)}catch{Fc=!1}function Bu(i,o,c,m,x,T,N,z,Y){var se=Array.prototype.slice.call(arguments,3);try{o.apply(c,se)}catch(be){this.onError(be)}}var Ga=!1,Li=null,Hu=!1,pl=null,up={onError:function(i){Ga=!0,Li=i}};function sp(i,o,c,m,x,T,N,z,Y){Ga=!1,Li=null,Bu.apply(up,arguments)}function zu(i,o,c,m,x,T,N,z,Y){if(sp.apply(this,arguments),Ga){if(Ga){var se=Li;Ga=!1,Li=null}else throw Error(a(198));Hu||(Hu=!0,pl=se)}}function pi(i){var o=i,c=i;if(i.alternate)for(;o.return;)o=o.return;else{i=o;do o=i,o.flags&4098&&(c=o.return),i=o.return;while(i)}return o.tag===3?c:null}function hl(i){if(i.tag===13){var o=i.memoizedState;if(o===null&&(i=i.alternate,i!==null&&(o=i.memoizedState)),o!==null)return o.dehydrated}return null}function ju(i){if(pi(i)!==i)throw Error(a(188))}function Ar(i){var o=i.alternate;if(!o){if(o=pi(i),o===null)throw Error(a(188));return o!==i?null:i}for(var c=i,m=o;;){var x=c.return;if(x===null)break;var T=x.alternate;if(T===null){if(m=x.return,m!==null){c=m;continue}break}if(x.child===T.child){for(T=x.child;T;){if(T===c)return ju(x),i;if(T===m)return ju(x),o;T=T.sibling}throw Error(a(188))}if(c.return!==m.return)c=x,m=T;else{for(var N=!1,z=x.child;z;){if(z===c){N=!0,c=x,m=T;break}if(z===m){N=!0,m=x,c=T;break}z=z.sibling}if(!N){for(z=T.child;z;){if(z===c){N=!0,c=T,m=x;break}if(z===m){N=!0,m=T,c=x;break}z=z.sibling}if(!N)throw Error(a(189))}}if(c.alternate!==m)throw Error(a(190))}if(c.tag!==3)throw Error(a(188));return c.stateNode.current===c?i:o}function t0(i){return i=Ar(i),i!==null?n0(i):null}function n0(i){if(i.tag===5||i.tag===6)return i;for(i=i.child;i!==null;){var o=n0(i);if(o!==null)return o;i=i.sibling}return null}var lp=n.unstable_scheduleCallback,r0=n.unstable_cancelCallback,iy=n.unstable_shouldYield,oy=n.unstable_requestPaint,yn=n.unstable_now,uy=n.unstable_getCurrentPriorityLevel,Ii=n.unstable_ImmediatePriority,Ct=n.unstable_UserBlockingPriority,po=n.unstable_NormalPriority,a0=n.unstable_LowPriority,cp=n.unstable_IdlePriority,ml=null,$a=null;function i0(i){if($a&&typeof $a.onCommitFiberRoot=="function")try{$a.onCommitFiberRoot(ml,i,void 0,(i.current.flags&128)===128)}catch{}}var wa=Math.clz32?Math.clz32:sy,o0=Math.log,u0=Math.LN2;function sy(i){return i>>>=0,i===0?32:31-(o0(i)/u0|0)|0}var Uc=64,Vu=4194304;function $o(i){switch(i&-i){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 i&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return i&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return i}}function Xa(i,o){var c=i.pendingLanes;if(c===0)return 0;var m=0,x=i.suspendedLanes,T=i.pingedLanes,N=c&268435455;if(N!==0){var z=N&~x;z!==0?m=$o(z):(T&=N,T!==0&&(m=$o(T)))}else N=c&~x,N!==0?m=$o(N):T!==0&&(m=$o(T));if(m===0)return 0;if(o!==0&&o!==m&&!(o&x)&&(x=m&-m,T=o&-o,x>=T||x===16&&(T&4194240)!==0))return o;if(m&4&&(m|=c&16),o=i.entangledLanes,o!==0)for(i=i.entanglements,o&=m;0<o;)c=31-wa(o),x=1<<c,m|=i[c],o&=~x;return m}function dp(i,o){switch(i){case 1:case 2:case 4:return o+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 o+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Bc(i,o){for(var c=i.suspendedLanes,m=i.pingedLanes,x=i.expirationTimes,T=i.pendingLanes;0<T;){var N=31-wa(T),z=1<<N,Y=x[N];Y===-1?(!(z&c)||z&m)&&(x[N]=dp(z,o)):Y<=o&&(i.expiredLanes|=z),T&=~z}}function fp(i){return i=i.pendingLanes&-1073741825,i!==0?i:i&1073741824?1073741824:0}function Hc(){var i=Uc;return Uc<<=1,!(Uc&4194240)&&(Uc=64),i}function pp(i){for(var o=[],c=0;31>c;c++)o.push(i);return o}function Xo(i,o,c){i.pendingLanes|=o,o!==536870912&&(i.suspendedLanes=0,i.pingedLanes=0),i=i.eventTimes,o=31-wa(o),i[o]=c}function ly(i,o){var c=i.pendingLanes&~o;i.pendingLanes=o,i.suspendedLanes=0,i.pingedLanes=0,i.expiredLanes&=o,i.mutableReadLanes&=o,i.entangledLanes&=o,o=i.entanglements;var m=i.eventTimes;for(i=i.expirationTimes;0<c;){var x=31-wa(c),T=1<<x;o[x]=0,m[x]=-1,i[x]=-1,c&=~T}}function gl(i,o){var c=i.entangledLanes|=o;for(i=i.entanglements;c;){var m=31-wa(c),x=1<<m;x&o|i[m]&o&&(i[m]|=o),c&=~x}}var Vt=0;function hp(i){return i&=-i,1<i?4<i?i&268435455?16:536870912:4:1}var s0,zc,Yt,l0,mp,mt=!1,vl=[],On=null,Ta=null,Sa=null,yl=new Map,Un=new Map,Wt=[],cy="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 Ka(i,o){switch(i){case"focusin":case"focusout":On=null;break;case"dragenter":case"dragleave":Ta=null;break;case"mouseover":case"mouseout":Sa=null;break;case"pointerover":case"pointerout":yl.delete(o.pointerId);break;case"gotpointercapture":case"lostpointercapture":Un.delete(o.pointerId)}}function Er(i,o,c,m,x,T){return i===null||i.nativeEvent!==T?(i={blockedOn:o,domEventName:c,eventSystemFlags:m,nativeEvent:T,targetContainers:[x]},o!==null&&(o=Pl(o),o!==null&&zc(o)),i):(i.eventSystemFlags|=m,o=i.targetContainers,x!==null&&o.indexOf(x)===-1&&o.push(x),i)}function ho(i,o,c,m,x){switch(o){case"focusin":return On=Er(On,i,o,c,m,x),!0;case"dragenter":return Ta=Er(Ta,i,o,c,m,x),!0;case"mouseover":return Sa=Er(Sa,i,o,c,m,x),!0;case"pointerover":var T=x.pointerId;return yl.set(T,Er(yl.get(T)||null,i,o,c,m,x)),!0;case"gotpointercapture":return T=x.pointerId,Un.set(T,Er(Un.get(T)||null,i,o,c,m,x)),!0}return!1}function c0(i){var o=_a(i.target);if(o!==null){var c=pi(o);if(c!==null){if(o=c.tag,o===13){if(o=hl(c),o!==null){i.blockedOn=o,mp(i.priority,function(){Yt(c)});return}}else if(o===3&&c.stateNode.current.memoizedState.isDehydrated){i.blockedOn=c.tag===3?c.stateNode.containerInfo:null;return}}}i.blockedOn=null}function Yu(i){if(i.blockedOn!==null)return!1;for(var o=i.targetContainers;0<o.length;){var c=Yc(i.domEventName,i.eventSystemFlags,o[0],i.nativeEvent);if(c===null){c=i.nativeEvent;var m=new c.constructor(c.type,c);mn=m,c.target.dispatchEvent(m),mn=null}else return o=Pl(c),o!==null&&zc(o),i.blockedOn=c,!1;o.shift()}return!0}function gp(i,o,c){Yu(i)&&c.delete(o)}function d0(){mt=!1,On!==null&&Yu(On)&&(On=null),Ta!==null&&Yu(Ta)&&(Ta=null),Sa!==null&&Yu(Sa)&&(Sa=null),yl.forEach(gp),Un.forEach(gp)}function El(i,o){i.blockedOn===o&&(i.blockedOn=null,mt||(mt=!0,n.unstable_scheduleCallback(n.unstable_NormalPriority,d0)))}function bl(i){function o(x){return El(x,i)}if(0<vl.length){El(vl[0],i);for(var c=1;c<vl.length;c++){var m=vl[c];m.blockedOn===i&&(m.blockedOn=null)}}for(On!==null&&El(On,i),Ta!==null&&El(Ta,i),Sa!==null&&El(Sa,i),yl.forEach(o),Un.forEach(o),c=0;c<Wt.length;c++)m=Wt[c],m.blockedOn===i&&(m.blockedOn=null);for(;0<Wt.length&&(c=Wt[0],c.blockedOn===null);)c0(c),c.blockedOn===null&&Wt.shift()}var Wu=J.ReactCurrentBatchConfig,Ko=!0;function f0(i,o,c,m){var x=Vt,T=Wu.transition;Wu.transition=null;try{Vt=1,Vc(i,o,c,m)}finally{Vt=x,Wu.transition=T}}function jc(i,o,c,m){var x=Vt,T=Wu.transition;Wu.transition=null;try{Vt=4,Vc(i,o,c,m)}finally{Vt=x,Wu.transition=T}}function Vc(i,o,c,m){if(Ko){var x=Yc(i,o,c,m);if(x===null)nd(i,o,m,xl,c),Ka(i,m);else if(ho(x,i,o,c,m))m.stopPropagation();else if(Ka(i,m),o&4&&-1<cy.indexOf(i)){for(;x!==null;){var T=Pl(x);if(T!==null&&s0(T),T=Yc(i,o,c,m),T===null&&nd(i,o,m,xl,c),T===x)break;x=T}x!==null&&m.stopPropagation()}else nd(i,o,m,null,c)}}var xl=null;function Yc(i,o,c,m){if(xl=null,i=gn(m),i=_a(i),i!==null)if(o=pi(i),o===null)i=null;else if(c=o.tag,c===13){if(i=hl(o),i!==null)return i;i=null}else if(c===3){if(o.stateNode.current.memoizedState.isDehydrated)return o.tag===3?o.stateNode.containerInfo:null;i=null}else o!==i&&(i=null);return xl=i,null}function vp(i){switch(i){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(uy()){case Ii:return 1;case Ct:return 4;case po:case a0:return 16;case cp:return 536870912;default:return 16}default:return 16}}var Mi=null,wl=null,Tl=null;function yp(){if(Tl)return Tl;var i,o=wl,c=o.length,m,x="value"in Mi?Mi.value:Mi.textContent,T=x.length;for(i=0;i<c&&o[i]===x[i];i++);var N=c-i;for(m=1;m<=N&&o[c-m]===x[T-m];m++);return Tl=x.slice(i,1<m?1-m:void 0)}function qu(i){var o=i.keyCode;return"charCode"in i?(i=i.charCode,i===0&&o===13&&(i=13)):i=o,i===10&&(i=13),32<=i||i===13?i:0}function Sl(){return!0}function p0(){return!1}function sa(i){function o(c,m,x,T,N){this._reactName=c,this._targetInst=x,this.type=m,this.nativeEvent=T,this.target=N,this.currentTarget=null;for(var z in i)i.hasOwnProperty(z)&&(c=i[z],this[z]=c?c(T):T[z]);return this.isDefaultPrevented=(T.defaultPrevented!=null?T.defaultPrevented:T.returnValue===!1)?Sl:p0,this.isPropagationStopped=p0,this}return F(o.prototype,{preventDefault:function(){this.defaultPrevented=!0;var c=this.nativeEvent;c&&(c.preventDefault?c.preventDefault():typeof c.returnValue!="unknown"&&(c.returnValue=!1),this.isDefaultPrevented=Sl)},stopPropagation:function(){var c=this.nativeEvent;c&&(c.stopPropagation?c.stopPropagation():typeof c.cancelBubble!="unknown"&&(c.cancelBubble=!0),this.isPropagationStopped=Sl)},persist:function(){},isPersistent:Sl}),o}var mo={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(i){return i.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Wc=sa(mo),Qu=F({},mo,{view:0,detail:0}),h0=sa(Qu),qc,Ep,Cl,Xn=F({},Qu,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Tp,button:0,buttons:0,relatedTarget:function(i){return i.relatedTarget===void 0?i.fromElement===i.srcElement?i.toElement:i.fromElement:i.relatedTarget},movementX:function(i){return"movementX"in i?i.movementX:(i!==Cl&&(Cl&&i.type==="mousemove"?(qc=i.screenX-Cl.screenX,Ep=i.screenY-Cl.screenY):Ep=qc=0,Cl=i),qc)},movementY:function(i){return"movementY"in i?i.movementY:Ep}}),Qc=sa(Xn),m0=F({},Xn,{dataTransfer:0}),g0=sa(m0),dy=F({},Qu,{relatedTarget:0}),go=sa(dy),bp=F({},mo,{animationName:0,elapsedTime:0,pseudoElement:0}),v0=sa(bp),fy=F({},mo,{clipboardData:function(i){return"clipboardData"in i?i.clipboardData:window.clipboardData}}),py=sa(fy),hy=F({},mo,{data:0}),xp=sa(hy),wp={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},y0={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"},E0={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function b0(i){var o=this.nativeEvent;return o.getModifierState?o.getModifierState(i):(i=E0[i])?!!o[i]:!1}function Tp(){return b0}var Pi=F({},Qu,{key:function(i){if(i.key){var o=wp[i.key]||i.key;if(o!=="Unidentified")return o}return i.type==="keypress"?(i=qu(i),i===13?"Enter":String.fromCharCode(i)):i.type==="keydown"||i.type==="keyup"?y0[i.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Tp,charCode:function(i){return i.type==="keypress"?qu(i):0},keyCode:function(i){return i.type==="keydown"||i.type==="keyup"?i.keyCode:0},which:function(i){return i.type==="keypress"?qu(i):i.type==="keydown"||i.type==="keyup"?i.keyCode:0}}),my=sa(Pi),Sp=F({},Xn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Gc=sa(Sp),Cp=F({},Qu,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Tp}),gy=sa(Cp),$c=F({},mo,{propertyName:0,elapsedTime:0,pseudoElement:0}),x0=sa($c),zr=F({},Xn,{deltaX:function(i){return"deltaX"in i?i.deltaX:"wheelDeltaX"in i?-i.wheelDeltaX:0},deltaY:function(i){return"deltaY"in i?i.deltaY:"wheelDeltaY"in i?-i.wheelDeltaY:"wheelDelta"in i?-i.wheelDelta:0},deltaZ:0,deltaMode:0}),Fi=sa(zr),Ln=[9,13,27,32],Ja=g&&"CompositionEvent"in window,Jo=null;g&&"documentMode"in document&&(Jo=document.documentMode);var Xc=g&&"TextEvent"in window&&!Jo,w0=g&&(!Ja||Jo&&8<Jo&&11>=Jo),Gu=" ",T0=!1;function S0(i,o){switch(i){case"keyup":return Ln.indexOf(o.keyCode)!==-1;case"keydown":return o.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Kc(i){return i=i.detail,typeof i=="object"&&"data"in i?i.data:null}var $u=!1;function vy(i,o){switch(i){case"compositionend":return Kc(o);case"keypress":return o.which!==32?null:(T0=!0,Gu);case"textInput":return i=o.data,i===Gu&&T0?null:i;default:return null}}function yy(i,o){if($u)return i==="compositionend"||!Ja&&S0(i,o)?(i=yp(),Tl=wl=Mi=null,$u=!1,i):null;switch(i){case"paste":return null;case"keypress":if(!(o.ctrlKey||o.altKey||o.metaKey)||o.ctrlKey&&o.altKey){if(o.char&&1<o.char.length)return o.char;if(o.which)return String.fromCharCode(o.which)}return null;case"compositionend":return w0&&o.locale!=="ko"?null:o.data;default:return null}}var C0={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 _0(i){var o=i&&i.nodeName&&i.nodeName.toLowerCase();return o==="input"?!!C0[i.type]:o==="textarea"}function k0(i,o,c,m){Ic(m),o=Ll(o,"onChange"),0<o.length&&(c=new Wc("onChange","change",null,c,m),i.push({event:c,listeners:o}))}var _l=null,Xu=null;function Ku(i){td(i,0)}function Ju(i){var o=es(i);if(Br(o))return i}function A0(i,o){if(i==="change")return o}var _p=!1;if(g){var kp;if(g){var Ap="oninput"in document;if(!Ap){var R0=document.createElement("div");R0.setAttribute("oninput","return;"),Ap=typeof R0.oninput=="function"}kp=Ap}else kp=!1;_p=kp&&(!document.documentMode||9<document.documentMode)}function N0(){_l&&(_l.detachEvent("onpropertychange",D0),Xu=_l=null)}function D0(i){if(i.propertyName==="value"&&Ju(Xu)){var o=[];k0(o,Xu,i,gn(i)),op(Ku,o)}}function Ey(i,o,c){i==="focusin"?(N0(),_l=o,Xu=c,_l.attachEvent("onpropertychange",D0)):i==="focusout"&&N0()}function by(i){if(i==="selectionchange"||i==="keyup"||i==="keydown")return Ju(Xu)}function xy(i,o){if(i==="click")return Ju(o)}function O0(i,o){if(i==="input"||i==="change")return Ju(o)}function wy(i,o){return i===o&&(i!==0||1/i===1/o)||i!==i&&o!==o}var Ca=typeof Object.is=="function"?Object.is:wy;function kl(i,o){if(Ca(i,o))return!0;if(typeof i!="object"||i===null||typeof o!="object"||o===null)return!1;var c=Object.keys(i),m=Object.keys(o);if(c.length!==m.length)return!1;for(m=0;m<c.length;m++){var x=c[m];if(!E.call(o,x)||!Ca(i[x],o[x]))return!1}return!0}function L0(i){for(;i&&i.firstChild;)i=i.firstChild;return i}function I0(i,o){var c=L0(i);i=0;for(var m;c;){if(c.nodeType===3){if(m=i+c.textContent.length,i<=o&&m>=o)return{node:c,offset:o-i};i=m}e:{for(;c;){if(c.nextSibling){c=c.nextSibling;break e}c=c.parentNode}c=void 0}c=L0(c)}}function M0(i,o){return i&&o?i===o?!0:i&&i.nodeType===3?!1:o&&o.nodeType===3?M0(i,o.parentNode):"contains"in i?i.contains(o):i.compareDocumentPosition?!!(i.compareDocumentPosition(o)&16):!1:!1}function Jc(){for(var i=window,o=an();o instanceof i.HTMLIFrameElement;){try{var c=typeof o.contentWindow.location.href=="string"}catch{c=!1}if(c)i=o.contentWindow;else break;o=an(i.document)}return o}function Ui(i){var o=i&&i.nodeName&&i.nodeName.toLowerCase();return o&&(o==="input"&&(i.type==="text"||i.type==="search"||i.type==="tel"||i.type==="url"||i.type==="password")||o==="textarea"||i.contentEditable==="true")}function Zc(i){var o=Jc(),c=i.focusedElem,m=i.selectionRange;if(o!==c&&c&&c.ownerDocument&&M0(c.ownerDocument.documentElement,c)){if(m!==null&&Ui(c)){if(o=m.start,i=m.end,i===void 0&&(i=o),"selectionStart"in c)c.selectionStart=o,c.selectionEnd=Math.min(i,c.value.length);else if(i=(o=c.ownerDocument||document)&&o.defaultView||window,i.getSelection){i=i.getSelection();var x=c.textContent.length,T=Math.min(m.start,x);m=m.end===void 0?T:Math.min(m.end,x),!i.extend&&T>m&&(x=m,m=T,T=x),x=I0(c,T);var N=I0(c,m);x&&N&&(i.rangeCount!==1||i.anchorNode!==x.node||i.anchorOffset!==x.offset||i.focusNode!==N.node||i.focusOffset!==N.offset)&&(o=o.createRange(),o.setStart(x.node,x.offset),i.removeAllRanges(),T>m?(i.addRange(o),i.extend(N.node,N.offset)):(o.setEnd(N.node,N.offset),i.addRange(o)))}}for(o=[],i=c;i=i.parentNode;)i.nodeType===1&&o.push({element:i,left:i.scrollLeft,top:i.scrollTop});for(typeof c.focus=="function"&&c.focus(),c=0;c<o.length;c++)i=o[c],i.element.scrollLeft=i.left,i.element.scrollTop=i.top}}var P0=g&&"documentMode"in document&&11>=document.documentMode,Za=null,Rp=null,Al=null,Np=!1;function F0(i,o,c){var m=c.window===c?c.document:c.nodeType===9?c:c.ownerDocument;Np||Za==null||Za!==an(m)||(m=Za,"selectionStart"in m&&Ui(m)?m={start:m.selectionStart,end:m.selectionEnd}:(m=(m.ownerDocument&&m.ownerDocument.defaultView||window).getSelection(),m={anchorNode:m.anchorNode,anchorOffset:m.anchorOffset,focusNode:m.focusNode,focusOffset:m.focusOffset}),Al&&kl(Al,m)||(Al=m,m=Ll(Rp,"onSelect"),0<m.length&&(o=new Wc("onSelect","select",null,o,c),i.push({event:o,listeners:m}),o.target=Za)))}function ed(i,o){var c={};return c[i.toLowerCase()]=o.toLowerCase(),c["Webkit"+i]="webkit"+o,c["Moz"+i]="moz"+o,c}var Zo={animationend:ed("Animation","AnimationEnd"),animationiteration:ed("Animation","AnimationIteration"),animationstart:ed("Animation","AnimationStart"),transitionend:ed("Transition","TransitionEnd")},Dp={},Op={};g&&(Op=document.createElement("div").style,"AnimationEvent"in window||(delete Zo.animationend.animation,delete Zo.animationiteration.animation,delete Zo.animationstart.animation),"TransitionEvent"in window||delete Zo.transitionend.transition);function Kn(i){if(Dp[i])return Dp[i];if(!Zo[i])return i;var o=Zo[i],c;for(c in o)if(o.hasOwnProperty(c)&&c in Op)return Dp[i]=o[c];return i}var Lp=Kn("animationend"),U0=Kn("animationiteration"),B0=Kn("animationstart"),H0=Kn("transitionend"),z0=new Map,j0="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 Bi(i,o){z0.set(i,o),h(o,[i])}for(var Rl=0;Rl<j0.length;Rl++){var eu=j0[Rl],Ty=eu.toLowerCase(),Nl=eu[0].toUpperCase()+eu.slice(1);Bi(Ty,"on"+Nl)}Bi(Lp,"onAnimationEnd"),Bi(U0,"onAnimationIteration"),Bi(B0,"onAnimationStart"),Bi("dblclick","onDoubleClick"),Bi("focusin","onFocus"),Bi("focusout","onBlur"),Bi(H0,"onTransitionEnd"),d("onMouseEnter",["mouseout","mouseover"]),d("onMouseLeave",["mouseout","mouseover"]),d("onPointerEnter",["pointerout","pointerover"]),d("onPointerLeave",["pointerout","pointerover"]),h("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),h("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),h("onBeforeInput",["compositionend","keypress","textInput","paste"]),h("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),h("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),h("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Dl="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(" "),Sy=new Set("cancel close invalid load scroll toggle".split(" ").concat(Dl));function V0(i,o,c){var m=i.type||"unknown-event";i.currentTarget=c,zu(m,o,void 0,i),i.currentTarget=null}function td(i,o){o=(o&4)!==0;for(var c=0;c<i.length;c++){var m=i[c],x=m.event;m=m.listeners;e:{var T=void 0;if(o)for(var N=m.length-1;0<=N;N--){var z=m[N],Y=z.instance,se=z.currentTarget;if(z=z.listener,Y!==T&&x.isPropagationStopped())break e;V0(x,z,se),T=Y}else for(N=0;N<m.length;N++){if(z=m[N],Y=z.instance,se=z.currentTarget,z=z.listener,Y!==T&&x.isPropagationStopped())break e;V0(x,z,se),T=Y}}}if(Hu)throw i=pl,Hu=!1,pl=null,i}function Xt(i,o){var c=o[Hp];c===void 0&&(c=o[Hp]=new Set);var m=i+"__bubble";c.has(m)||(Y0(o,i,2,!1),c.add(m))}function vo(i,o,c){var m=0;o&&(m|=4),Y0(c,i,m,o)}var Hi="_reactListening"+Math.random().toString(36).slice(2);function Zu(i){if(!i[Hi]){i[Hi]=!0,s.forEach(function(c){c!=="selectionchange"&&(Sy.has(c)||vo(c,!1,i),vo(c,!0,i))});var o=i.nodeType===9?i:i.ownerDocument;o===null||o[Hi]||(o[Hi]=!0,vo("selectionchange",!1,o))}}function Y0(i,o,c,m){switch(vp(o)){case 1:var x=f0;break;case 4:x=jc;break;default:x=Vc}c=x.bind(null,o,c,i),x=void 0,!Fc||o!=="touchstart"&&o!=="touchmove"&&o!=="wheel"||(x=!0),m?x!==void 0?i.addEventListener(o,c,{capture:!0,passive:x}):i.addEventListener(o,c,!0):x!==void 0?i.addEventListener(o,c,{passive:x}):i.addEventListener(o,c,!1)}function nd(i,o,c,m,x){var T=m;if(!(o&1)&&!(o&2)&&m!==null)e:for(;;){if(m===null)return;var N=m.tag;if(N===3||N===4){var z=m.stateNode.containerInfo;if(z===x||z.nodeType===8&&z.parentNode===x)break;if(N===4)for(N=m.return;N!==null;){var Y=N.tag;if((Y===3||Y===4)&&(Y=N.stateNode.containerInfo,Y===x||Y.nodeType===8&&Y.parentNode===x))return;N=N.return}for(;z!==null;){if(N=_a(z),N===null)return;if(Y=N.tag,Y===5||Y===6){m=T=N;continue e}z=z.parentNode}}m=m.return}op(function(){var se=T,be=gn(c),Te=[];e:{var ye=z0.get(i);if(ye!==void 0){var Ue=Wc,Ve=i;switch(i){case"keypress":if(qu(c)===0)break e;case"keydown":case"keyup":Ue=my;break;case"focusin":Ve="focus",Ue=go;break;case"focusout":Ve="blur",Ue=go;break;case"beforeblur":case"afterblur":Ue=go;break;case"click":if(c.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":Ue=Qc;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":Ue=g0;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":Ue=gy;break;case Lp:case U0:case B0:Ue=v0;break;case H0:Ue=x0;break;case"scroll":Ue=h0;break;case"wheel":Ue=Fi;break;case"copy":case"cut":case"paste":Ue=py;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":Ue=Gc}var Qe=(o&4)!==0,kn=!Qe&&i==="scroll",ee=Qe?ye!==null?ye+"Capture":null:ye;Qe=[];for(var Q=se,oe;Q!==null;){oe=Q;var ke=oe.stateNode;if(oe.tag===5&&ke!==null&&(oe=ke,ee!==null&&(ke=fl(Q,ee),ke!=null&&Qe.push(Ol(Q,ke,oe)))),kn)break;Q=Q.return}0<Qe.length&&(ye=new Ue(ye,Ve,null,c,be),Te.push({event:ye,listeners:Qe}))}}if(!(o&7)){e:{if(ye=i==="mouseover"||i==="pointerover",Ue=i==="mouseout"||i==="pointerout",ye&&c!==mn&&(Ve=c.relatedTarget||c.fromElement)&&(_a(Ve)||Ve[zi]))break e;if((Ue||ye)&&(ye=be.window===be?be:(ye=be.ownerDocument)?ye.defaultView||ye.parentWindow:window,Ue?(Ve=c.relatedTarget||c.toElement,Ue=se,Ve=Ve?_a(Ve):null,Ve!==null&&(kn=pi(Ve),Ve!==kn||Ve.tag!==5&&Ve.tag!==6)&&(Ve=null)):(Ue=null,Ve=se),Ue!==Ve)){if(Qe=Qc,ke="onMouseLeave",ee="onMouseEnter",Q="mouse",(i==="pointerout"||i==="pointerover")&&(Qe=Gc,ke="onPointerLeave",ee="onPointerEnter",Q="pointer"),kn=Ue==null?ye:es(Ue),oe=Ve==null?ye:es(Ve),ye=new Qe(ke,Q+"leave",Ue,c,be),ye.target=kn,ye.relatedTarget=oe,ke=null,_a(be)===se&&(Qe=new Qe(ee,Q+"enter",Ve,c,be),Qe.target=oe,Qe.relatedTarget=kn,ke=Qe),kn=ke,Ue&&Ve)t:{for(Qe=Ue,ee=Ve,Q=0,oe=Qe;oe;oe=tu(oe))Q++;for(oe=0,ke=ee;ke;ke=tu(ke))oe++;for(;0<Q-oe;)Qe=tu(Qe),Q--;for(;0<oe-Q;)ee=tu(ee),oe--;for(;Q--;){if(Qe===ee||ee!==null&&Qe===ee.alternate)break t;Qe=tu(Qe),ee=tu(ee)}Qe=null}else Qe=null;Ue!==null&&Ip(Te,ye,Ue,Qe,!1),Ve!==null&&kn!==null&&Ip(Te,kn,Ve,Qe,!0)}}e:{if(ye=se?es(se):window,Ue=ye.nodeName&&ye.nodeName.toLowerCase(),Ue==="select"||Ue==="input"&&ye.type==="file")var Xe=A0;else if(_0(ye))if(_p)Xe=O0;else{Xe=by;var it=Ey}else(Ue=ye.nodeName)&&Ue.toLowerCase()==="input"&&(ye.type==="checkbox"||ye.type==="radio")&&(Xe=xy);if(Xe&&(Xe=Xe(i,se))){k0(Te,Xe,c,be);break e}it&&it(i,ye,se),i==="focusout"&&(it=ye._wrapperState)&&it.controlled&&ye.type==="number"&&Hr(ye,"number",ye.value)}switch(it=se?es(se):window,i){case"focusin":(_0(it)||it.contentEditable==="true")&&(Za=it,Rp=se,Al=null);break;case"focusout":Al=Rp=Za=null;break;case"mousedown":Np=!0;break;case"contextmenu":case"mouseup":case"dragend":Np=!1,F0(Te,c,be);break;case"selectionchange":if(P0)break;case"keydown":case"keyup":F0(Te,c,be)}var Ye;if(Ja)e:{switch(i){case"compositionstart":var ot="onCompositionStart";break e;case"compositionend":ot="onCompositionEnd";break e;case"compositionupdate":ot="onCompositionUpdate";break e}ot=void 0}else $u?S0(i,c)&&(ot="onCompositionEnd"):i==="keydown"&&c.keyCode===229&&(ot="onCompositionStart");ot&&(w0&&c.locale!=="ko"&&($u||ot!=="onCompositionStart"?ot==="onCompositionEnd"&&$u&&(Ye=yp()):(Mi=be,wl="value"in Mi?Mi.value:Mi.textContent,$u=!0)),it=Ll(se,ot),0<it.length&&(ot=new xp(ot,i,null,c,be),Te.push({event:ot,listeners:it}),Ye?ot.data=Ye:(Ye=Kc(c),Ye!==null&&(ot.data=Ye)))),(Ye=Xc?vy(i,c):yy(i,c))&&(se=Ll(se,"onBeforeInput"),0<se.length&&(be=new xp("onBeforeInput","beforeinput",null,c,be),Te.push({event:be,listeners:se}),be.data=Ye))}td(Te,o)})}function Ol(i,o,c){return{instance:i,listener:o,currentTarget:c}}function Ll(i,o){for(var c=o+"Capture",m=[];i!==null;){var x=i,T=x.stateNode;x.tag===5&&T!==null&&(x=T,T=fl(i,c),T!=null&&m.unshift(Ol(i,T,x)),T=fl(i,o),T!=null&&m.push(Ol(i,T,x))),i=i.return}return m}function tu(i){if(i===null)return null;do i=i.return;while(i&&i.tag!==5);return i||null}function Ip(i,o,c,m,x){for(var T=o._reactName,N=[];c!==null&&c!==m;){var z=c,Y=z.alternate,se=z.stateNode;if(Y!==null&&Y===m)break;z.tag===5&&se!==null&&(z=se,x?(Y=fl(c,T),Y!=null&&N.unshift(Ol(c,Y,z))):x||(Y=fl(c,T),Y!=null&&N.push(Ol(c,Y,z)))),c=c.return}N.length!==0&&i.push({event:o,listeners:N})}var Mp=/\r\n?/g,Cy=/\u0000|\uFFFD/g;function Pp(i){return(typeof i=="string"?i:""+i).replace(Mp,`
58
- `).replace(Cy,"")}function rd(i,o,c){if(o=Pp(o),Pp(i)!==o&&c)throw Error(a(425))}function ad(){}var Fp=null,nu=null;function Il(i,o){return i==="textarea"||i==="noscript"||typeof o.children=="string"||typeof o.children=="number"||typeof o.dangerouslySetInnerHTML=="object"&&o.dangerouslySetInnerHTML!==null&&o.dangerouslySetInnerHTML.__html!=null}var ru=typeof setTimeout=="function"?setTimeout:void 0,W0=typeof clearTimeout=="function"?clearTimeout:void 0,Up=typeof Promise=="function"?Promise:void 0,Bp=typeof queueMicrotask=="function"?queueMicrotask:typeof Up<"u"?function(i){return Up.resolve(null).then(i).catch(_y)}:ru;function _y(i){setTimeout(function(){throw i})}function yo(i,o){var c=o,m=0;do{var x=c.nextSibling;if(i.removeChild(c),x&&x.nodeType===8)if(c=x.data,c==="/$"){if(m===0){i.removeChild(x),bl(o);return}m--}else c!=="$"&&c!=="$?"&&c!=="$!"||m++;c=x}while(c);bl(o)}function ei(i){for(;i!=null;i=i.nextSibling){var o=i.nodeType;if(o===1||o===3)break;if(o===8){if(o=i.data,o==="$"||o==="$!"||o==="$?")break;if(o==="/$")return null}}return i}function Ml(i){i=i.previousSibling;for(var o=0;i;){if(i.nodeType===8){var c=i.data;if(c==="$"||c==="$!"||c==="$?"){if(o===0)return i;o--}else c==="/$"&&o++}i=i.previousSibling}return null}var Eo=Math.random().toString(36).slice(2),hi="__reactFiber$"+Eo,au="__reactProps$"+Eo,zi="__reactContainer$"+Eo,Hp="__reactEvents$"+Eo,ky="__reactListeners$"+Eo,zp="__reactHandles$"+Eo;function _a(i){var o=i[hi];if(o)return o;for(var c=i.parentNode;c;){if(o=c[zi]||c[hi]){if(c=o.alternate,o.child!==null||c!==null&&c.child!==null)for(i=Ml(i);i!==null;){if(c=i[hi])return c;i=Ml(i)}return o}i=c,c=i.parentNode}return null}function Pl(i){return i=i[hi]||i[zi],!i||i.tag!==5&&i.tag!==6&&i.tag!==13&&i.tag!==3?null:i}function es(i){if(i.tag===5||i.tag===6)return i.stateNode;throw Error(a(33))}function nt(i){return i[au]||null}var bo=[],Zt=-1;function vt(i){return{current:i}}function Bt(i){0>Zt||(i.current=bo[Zt],bo[Zt]=null,Zt--)}function zt(i,o){Zt++,bo[Zt]=i.current,i.current=o}var mi={},lt=vt(mi),En=vt(!1),jr=mi;function ka(i,o){var c=i.type.contextTypes;if(!c)return mi;var m=i.stateNode;if(m&&m.__reactInternalMemoizedUnmaskedChildContext===o)return m.__reactInternalMemoizedMaskedChildContext;var x={},T;for(T in c)x[T]=o[T];return m&&(i=i.stateNode,i.__reactInternalMemoizedUnmaskedChildContext=o,i.__reactInternalMemoizedMaskedChildContext=x),x}function on(i){return i=i.childContextTypes,i!=null}function Aa(){Bt(En),Bt(lt)}function xo(i,o,c){if(lt.current!==mi)throw Error(a(168));zt(lt,o),zt(En,c)}function Fl(i,o,c){var m=i.stateNode;if(o=o.childContextTypes,typeof m.getChildContext!="function")return c;m=m.getChildContext();for(var x in m)if(!(x in o))throw Error(a(108,ar(i)||"Unknown",x));return F({},c,m)}function id(i){return i=(i=i.stateNode)&&i.__reactInternalMemoizedMergedChildContext||mi,jr=lt.current,zt(lt,i),zt(En,En.current),!0}function q0(i,o,c){var m=i.stateNode;if(!m)throw Error(a(169));c?(i=Fl(i,o,jr),m.__reactInternalMemoizedMergedChildContext=i,Bt(En),Bt(lt),zt(lt,i)):Bt(En),zt(En,c)}var la=null,Jn=!1,Ul=!1;function jp(i){la===null?la=[i]:la.push(i)}function Vp(i){Jn=!0,jp(i)}function Vr(){if(!Ul&&la!==null){Ul=!0;var i=0,o=Vt;try{var c=la;for(Vt=1;i<c.length;i++){var m=c[i];do m=m(!0);while(m!==null)}la=null,Jn=!1}catch(x){throw la!==null&&(la=la.slice(i+1)),lp(Ii,Vr),x}finally{Vt=o,Ul=!1}}return null}var wo=[],Yr=0,iu=null,ts=0,Wr=[],br=0,Ra=null,or=1,ji="";function ca(i,o){wo[Yr++]=ts,wo[Yr++]=iu,iu=i,ts=o}function Yp(i,o,c){Wr[br++]=or,Wr[br++]=ji,Wr[br++]=Ra,Ra=i;var m=or;i=ji;var x=32-wa(m)-1;m&=~(1<<x),c+=1;var T=32-wa(o)+x;if(30<T){var N=x-x%5;T=(m&(1<<N)-1).toString(32),m>>=N,x-=N,or=1<<32-wa(o)+x|c<<x|m,ji=T+i}else or=1<<T|c<<x|m,ji=i}function od(i){i.return!==null&&(ca(i,1),Yp(i,1,0))}function Wp(i){for(;i===iu;)iu=wo[--Yr],wo[Yr]=null,ts=wo[--Yr],wo[Yr]=null;for(;i===Ra;)Ra=Wr[--br],Wr[br]=null,ji=Wr[--br],Wr[br]=null,or=Wr[--br],Wr[br]=null}var da=null,qr=null,en=!1,Na=null;function qp(i,o){var c=Ua(5,null,null,0);c.elementType="DELETED",c.stateNode=o,c.return=i,o=i.deletions,o===null?(i.deletions=[c],i.flags|=16):o.push(c)}function Q0(i,o){switch(i.tag){case 5:var c=i.type;return o=o.nodeType!==1||c.toLowerCase()!==o.nodeName.toLowerCase()?null:o,o!==null?(i.stateNode=o,da=i,qr=ei(o.firstChild),!0):!1;case 6:return o=i.pendingProps===""||o.nodeType!==3?null:o,o!==null?(i.stateNode=o,da=i,qr=null,!0):!1;case 13:return o=o.nodeType!==8?null:o,o!==null?(c=Ra!==null?{id:or,overflow:ji}:null,i.memoizedState={dehydrated:o,treeContext:c,retryLane:1073741824},c=Ua(18,null,null,0),c.stateNode=o,c.return=i,i.child=c,da=i,qr=null,!0):!1;default:return!1}}function ud(i){return(i.mode&1)!==0&&(i.flags&128)===0}function sd(i){if(en){var o=qr;if(o){var c=o;if(!Q0(i,o)){if(ud(i))throw Error(a(418));o=ei(c.nextSibling);var m=da;o&&Q0(i,o)?qp(m,c):(i.flags=i.flags&-4097|2,en=!1,da=i)}}else{if(ud(i))throw Error(a(418));i.flags=i.flags&-4097|2,en=!1,da=i}}}function G0(i){for(i=i.return;i!==null&&i.tag!==5&&i.tag!==3&&i.tag!==13;)i=i.return;da=i}function ld(i){if(i!==da)return!1;if(!en)return G0(i),en=!0,!1;var o;if((o=i.tag!==3)&&!(o=i.tag!==5)&&(o=i.type,o=o!=="head"&&o!=="body"&&!Il(i.type,i.memoizedProps)),o&&(o=qr)){if(ud(i))throw $0(),Error(a(418));for(;o;)qp(i,o),o=ei(o.nextSibling)}if(G0(i),i.tag===13){if(i=i.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(a(317));e:{for(i=i.nextSibling,o=0;i;){if(i.nodeType===8){var c=i.data;if(c==="/$"){if(o===0){qr=ei(i.nextSibling);break e}o--}else c!=="$"&&c!=="$!"&&c!=="$?"||o++}i=i.nextSibling}qr=null}}else qr=da?ei(i.stateNode.nextSibling):null;return!0}function $0(){for(var i=qr;i;)i=ei(i.nextSibling)}function dn(){qr=da=null,en=!1}function Qp(i){Na===null?Na=[i]:Na.push(i)}var cd=J.ReactCurrentBatchConfig;function ou(i,o,c){if(i=c.ref,i!==null&&typeof i!="function"&&typeof i!="object"){if(c._owner){if(c=c._owner,c){if(c.tag!==1)throw Error(a(309));var m=c.stateNode}if(!m)throw Error(a(147,i));var x=m,T=""+i;return o!==null&&o.ref!==null&&typeof o.ref=="function"&&o.ref._stringRef===T?o.ref:(o=function(N){var z=x.refs;N===null?delete z[T]:z[T]=N},o._stringRef=T,o)}if(typeof i!="string")throw Error(a(284));if(!c._owner)throw Error(a(290,i))}return i}function gi(i,o){throw i=Object.prototype.toString.call(o),Error(a(31,i==="[object Object]"?"object with keys {"+Object.keys(o).join(", ")+"}":i))}function X0(i){var o=i._init;return o(i._payload)}function dd(i){function o(ee,Q){if(i){var oe=ee.deletions;oe===null?(ee.deletions=[Q],ee.flags|=16):oe.push(Q)}}function c(ee,Q){if(!i)return null;for(;Q!==null;)o(ee,Q),Q=Q.sibling;return null}function m(ee,Q){for(ee=new Map;Q!==null;)Q.key!==null?ee.set(Q.key,Q):ee.set(Q.index,Q),Q=Q.sibling;return ee}function x(ee,Q){return ee=No(ee,Q),ee.index=0,ee.sibling=null,ee}function T(ee,Q,oe){return ee.index=oe,i?(oe=ee.alternate,oe!==null?(oe=oe.index,oe<Q?(ee.flags|=2,Q):oe):(ee.flags|=2,Q)):(ee.flags|=1048576,Q)}function N(ee){return i&&ee.alternate===null&&(ee.flags|=2),ee}function z(ee,Q,oe,ke){return Q===null||Q.tag!==6?(Q=Jd(oe,ee.mode,ke),Q.return=ee,Q):(Q=x(Q,oe),Q.return=ee,Q)}function Y(ee,Q,oe,ke){var Xe=oe.type;return Xe===te?be(ee,Q,oe.props.children,ke,oe.key):Q!==null&&(Q.elementType===Xe||typeof Xe=="object"&&Xe!==null&&Xe.$$typeof===je&&X0(Xe)===Q.type)?(ke=x(Q,oe.props),ke.ref=ou(ee,Q,oe),ke.return=ee,ke):(ke=Xd(oe.type,oe.key,oe.props,null,ee.mode,ke),ke.ref=ou(ee,Q,oe),ke.return=ee,ke)}function se(ee,Q,oe,ke){return Q===null||Q.tag!==4||Q.stateNode.containerInfo!==oe.containerInfo||Q.stateNode.implementation!==oe.implementation?(Q=nc(oe,ee.mode,ke),Q.return=ee,Q):(Q=x(Q,oe.children||[]),Q.return=ee,Q)}function be(ee,Q,oe,ke,Xe){return Q===null||Q.tag!==7?(Q=xu(oe,ee.mode,ke,Xe),Q.return=ee,Q):(Q=x(Q,oe),Q.return=ee,Q)}function Te(ee,Q,oe){if(typeof Q=="string"&&Q!==""||typeof Q=="number")return Q=Jd(""+Q,ee.mode,oe),Q.return=ee,Q;if(typeof Q=="object"&&Q!==null){switch(Q.$$typeof){case Z:return oe=Xd(Q.type,Q.key,Q.props,null,ee.mode,oe),oe.ref=ou(ee,null,Q),oe.return=ee,oe;case X:return Q=nc(Q,ee.mode,oe),Q.return=ee,Q;case je:var ke=Q._init;return Te(ee,ke(Q._payload),oe)}if(li(Q)||De(Q))return Q=xu(Q,ee.mode,oe,null),Q.return=ee,Q;gi(ee,Q)}return null}function ye(ee,Q,oe,ke){var Xe=Q!==null?Q.key:null;if(typeof oe=="string"&&oe!==""||typeof oe=="number")return Xe!==null?null:z(ee,Q,""+oe,ke);if(typeof oe=="object"&&oe!==null){switch(oe.$$typeof){case Z:return oe.key===Xe?Y(ee,Q,oe,ke):null;case X:return oe.key===Xe?se(ee,Q,oe,ke):null;case je:return Xe=oe._init,ye(ee,Q,Xe(oe._payload),ke)}if(li(oe)||De(oe))return Xe!==null?null:be(ee,Q,oe,ke,null);gi(ee,oe)}return null}function Ue(ee,Q,oe,ke,Xe){if(typeof ke=="string"&&ke!==""||typeof ke=="number")return ee=ee.get(oe)||null,z(Q,ee,""+ke,Xe);if(typeof ke=="object"&&ke!==null){switch(ke.$$typeof){case Z:return ee=ee.get(ke.key===null?oe:ke.key)||null,Y(Q,ee,ke,Xe);case X:return ee=ee.get(ke.key===null?oe:ke.key)||null,se(Q,ee,ke,Xe);case je:var it=ke._init;return Ue(ee,Q,oe,it(ke._payload),Xe)}if(li(ke)||De(ke))return ee=ee.get(oe)||null,be(Q,ee,ke,Xe,null);gi(Q,ke)}return null}function Ve(ee,Q,oe,ke){for(var Xe=null,it=null,Ye=Q,ot=Q=0,Vn=null;Ye!==null&&ot<oe.length;ot++){Ye.index>ot?(Vn=Ye,Ye=null):Vn=Ye.sibling;var Mt=ye(ee,Ye,oe[ot],ke);if(Mt===null){Ye===null&&(Ye=Vn);break}i&&Ye&&Mt.alternate===null&&o(ee,Ye),Q=T(Mt,Q,ot),it===null?Xe=Mt:it.sibling=Mt,it=Mt,Ye=Vn}if(ot===oe.length)return c(ee,Ye),en&&ca(ee,ot),Xe;if(Ye===null){for(;ot<oe.length;ot++)Ye=Te(ee,oe[ot],ke),Ye!==null&&(Q=T(Ye,Q,ot),it===null?Xe=Ye:it.sibling=Ye,it=Ye);return en&&ca(ee,ot),Xe}for(Ye=m(ee,Ye);ot<oe.length;ot++)Vn=Ue(Ye,ee,ot,oe[ot],ke),Vn!==null&&(i&&Vn.alternate!==null&&Ye.delete(Vn.key===null?ot:Vn.key),Q=T(Vn,Q,ot),it===null?Xe=Vn:it.sibling=Vn,it=Vn);return i&&Ye.forEach(function($i){return o(ee,$i)}),en&&ca(ee,ot),Xe}function Qe(ee,Q,oe,ke){var Xe=De(oe);if(typeof Xe!="function")throw Error(a(150));if(oe=Xe.call(oe),oe==null)throw Error(a(151));for(var it=Xe=null,Ye=Q,ot=Q=0,Vn=null,Mt=oe.next();Ye!==null&&!Mt.done;ot++,Mt=oe.next()){Ye.index>ot?(Vn=Ye,Ye=null):Vn=Ye.sibling;var $i=ye(ee,Ye,Mt.value,ke);if($i===null){Ye===null&&(Ye=Vn);break}i&&Ye&&$i.alternate===null&&o(ee,Ye),Q=T($i,Q,ot),it===null?Xe=$i:it.sibling=$i,it=$i,Ye=Vn}if(Mt.done)return c(ee,Ye),en&&ca(ee,ot),Xe;if(Ye===null){for(;!Mt.done;ot++,Mt=oe.next())Mt=Te(ee,Mt.value,ke),Mt!==null&&(Q=T(Mt,Q,ot),it===null?Xe=Mt:it.sibling=Mt,it=Mt);return en&&ca(ee,ot),Xe}for(Ye=m(ee,Ye);!Mt.done;ot++,Mt=oe.next())Mt=Ue(Ye,ee,ot,Mt.value,ke),Mt!==null&&(i&&Mt.alternate!==null&&Ye.delete(Mt.key===null?ot:Mt.key),Q=T(Mt,Q,ot),it===null?Xe=Mt:it.sibling=Mt,it=Mt);return i&&Ye.forEach(function(Wy){return o(ee,Wy)}),en&&ca(ee,ot),Xe}function kn(ee,Q,oe,ke){if(typeof oe=="object"&&oe!==null&&oe.type===te&&oe.key===null&&(oe=oe.props.children),typeof oe=="object"&&oe!==null){switch(oe.$$typeof){case Z:e:{for(var Xe=oe.key,it=Q;it!==null;){if(it.key===Xe){if(Xe=oe.type,Xe===te){if(it.tag===7){c(ee,it.sibling),Q=x(it,oe.props.children),Q.return=ee,ee=Q;break e}}else if(it.elementType===Xe||typeof Xe=="object"&&Xe!==null&&Xe.$$typeof===je&&X0(Xe)===it.type){c(ee,it.sibling),Q=x(it,oe.props),Q.ref=ou(ee,it,oe),Q.return=ee,ee=Q;break e}c(ee,it);break}else o(ee,it);it=it.sibling}oe.type===te?(Q=xu(oe.props.children,ee.mode,ke,oe.key),Q.return=ee,ee=Q):(ke=Xd(oe.type,oe.key,oe.props,null,ee.mode,ke),ke.ref=ou(ee,Q,oe),ke.return=ee,ee=ke)}return N(ee);case X:e:{for(it=oe.key;Q!==null;){if(Q.key===it)if(Q.tag===4&&Q.stateNode.containerInfo===oe.containerInfo&&Q.stateNode.implementation===oe.implementation){c(ee,Q.sibling),Q=x(Q,oe.children||[]),Q.return=ee,ee=Q;break e}else{c(ee,Q);break}else o(ee,Q);Q=Q.sibling}Q=nc(oe,ee.mode,ke),Q.return=ee,ee=Q}return N(ee);case je:return it=oe._init,kn(ee,Q,it(oe._payload),ke)}if(li(oe))return Ve(ee,Q,oe,ke);if(De(oe))return Qe(ee,Q,oe,ke);gi(ee,oe)}return typeof oe=="string"&&oe!==""||typeof oe=="number"?(oe=""+oe,Q!==null&&Q.tag===6?(c(ee,Q.sibling),Q=x(Q,oe),Q.return=ee,ee=Q):(c(ee,Q),Q=Jd(oe,ee.mode,ke),Q.return=ee,ee=Q),N(ee)):c(ee,Q)}return kn}var ns=dd(!0),K0=dd(!1),Vi=vt(null),Bn=null,Le=null,Da=null;function fa(){Da=Le=Bn=null}function Gp(i){var o=Vi.current;Bt(Vi),i._currentValue=o}function $p(i,o,c){for(;i!==null;){var m=i.alternate;if((i.childLanes&o)!==o?(i.childLanes|=o,m!==null&&(m.childLanes|=o)):m!==null&&(m.childLanes&o)!==o&&(m.childLanes|=o),i===c)break;i=i.return}}function rs(i,o){Bn=i,Da=Le=null,i=i.dependencies,i!==null&&i.firstContext!==null&&(i.lanes&o&&($r=!0),i.firstContext=null)}function Oa(i){var o=i._currentValue;if(Da!==i)if(i={context:i,memoizedValue:o,next:null},Le===null){if(Bn===null)throw Error(a(308));Le=i,Bn.dependencies={lanes:0,firstContext:i}}else Le=Le.next=i;return o}var uu=null;function In(i){uu===null?uu=[i]:uu.push(i)}function J0(i,o,c,m){var x=o.interleaved;return x===null?(c.next=c,In(o)):(c.next=x.next,x.next=c),o.interleaved=c,Yi(i,m)}function Yi(i,o){i.lanes|=o;var c=i.alternate;for(c!==null&&(c.lanes|=o),c=i,i=i.return;i!==null;)i.childLanes|=o,c=i.alternate,c!==null&&(c.childLanes|=o),c=i,i=i.return;return c.tag===3?c.stateNode:null}var To=!1;function fd(i){i.updateQueue={baseState:i.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function as(i,o){i=i.updateQueue,o.updateQueue===i&&(o.updateQueue={baseState:i.baseState,firstBaseUpdate:i.firstBaseUpdate,lastBaseUpdate:i.lastBaseUpdate,shared:i.shared,effects:i.effects})}function Qr(i,o){return{eventTime:i,lane:o,tag:0,payload:null,callback:null,next:null}}function So(i,o,c){var m=i.updateQueue;if(m===null)return null;if(m=m.shared,_t&2){var x=m.pending;return x===null?o.next=o:(o.next=x.next,x.next=o),m.pending=o,Yi(i,c)}return x=m.interleaved,x===null?(o.next=o,In(m)):(o.next=x.next,x.next=o),m.interleaved=o,Yi(i,c)}function pd(i,o,c){if(o=o.updateQueue,o!==null&&(o=o.shared,(c&4194240)!==0)){var m=o.lanes;m&=i.pendingLanes,c|=m,o.lanes=c,gl(i,c)}}function Z0(i,o){var c=i.updateQueue,m=i.alternate;if(m!==null&&(m=m.updateQueue,c===m)){var x=null,T=null;if(c=c.firstBaseUpdate,c!==null){do{var N={eventTime:c.eventTime,lane:c.lane,tag:c.tag,payload:c.payload,callback:c.callback,next:null};T===null?x=T=N:T=T.next=N,c=c.next}while(c!==null);T===null?x=T=o:T=T.next=o}else x=T=o;c={baseState:m.baseState,firstBaseUpdate:x,lastBaseUpdate:T,shared:m.shared,effects:m.effects},i.updateQueue=c;return}i=c.lastBaseUpdate,i===null?c.firstBaseUpdate=o:i.next=o,c.lastBaseUpdate=o}function hd(i,o,c,m){var x=i.updateQueue;To=!1;var T=x.firstBaseUpdate,N=x.lastBaseUpdate,z=x.shared.pending;if(z!==null){x.shared.pending=null;var Y=z,se=Y.next;Y.next=null,N===null?T=se:N.next=se,N=Y;var be=i.alternate;be!==null&&(be=be.updateQueue,z=be.lastBaseUpdate,z!==N&&(z===null?be.firstBaseUpdate=se:z.next=se,be.lastBaseUpdate=Y))}if(T!==null){var Te=x.baseState;N=0,be=se=Y=null,z=T;do{var ye=z.lane,Ue=z.eventTime;if((m&ye)===ye){be!==null&&(be=be.next={eventTime:Ue,lane:0,tag:z.tag,payload:z.payload,callback:z.callback,next:null});e:{var Ve=i,Qe=z;switch(ye=o,Ue=c,Qe.tag){case 1:if(Ve=Qe.payload,typeof Ve=="function"){Te=Ve.call(Ue,Te,ye);break e}Te=Ve;break e;case 3:Ve.flags=Ve.flags&-65537|128;case 0:if(Ve=Qe.payload,ye=typeof Ve=="function"?Ve.call(Ue,Te,ye):Ve,ye==null)break e;Te=F({},Te,ye);break e;case 2:To=!0}}z.callback!==null&&z.lane!==0&&(i.flags|=64,ye=x.effects,ye===null?x.effects=[z]:ye.push(z))}else Ue={eventTime:Ue,lane:ye,tag:z.tag,payload:z.payload,callback:z.callback,next:null},be===null?(se=be=Ue,Y=Te):be=be.next=Ue,N|=ye;if(z=z.next,z===null){if(z=x.shared.pending,z===null)break;ye=z,z=ye.next,ye.next=null,x.lastBaseUpdate=ye,x.shared.pending=null}}while(!0);if(be===null&&(Y=Te),x.baseState=Y,x.firstBaseUpdate=se,x.lastBaseUpdate=be,o=x.shared.interleaved,o!==null){x=o;do N|=x.lane,x=x.next;while(x!==o)}else T===null&&(x.shared.lanes=0);vu|=N,i.lanes=N,i.memoizedState=Te}}function eg(i,o,c){if(i=o.effects,o.effects=null,i!==null)for(o=0;o<i.length;o++){var m=i[o],x=m.callback;if(x!==null){if(m.callback=null,m=c,typeof x!="function")throw Error(a(191,x));x.call(m)}}}var Bl={},ti=vt(Bl),is=vt(Bl),Hl=vt(Bl);function su(i){if(i===Bl)throw Error(a(174));return i}function Xp(i,o){switch(zt(Hl,o),zt(is,i),zt(ti,Bl),i=o.nodeType,i){case 9:case 11:o=(o=o.documentElement)?o.namespaceURI:Ce(null,"");break;default:i=i===8?o.parentNode:o,o=i.namespaceURI||null,i=i.tagName,o=Ce(o,i)}Bt(ti),zt(ti,o)}function os(){Bt(ti),Bt(is),Bt(Hl)}function tg(i){su(Hl.current);var o=su(ti.current),c=Ce(o,i.type);o!==c&&(zt(is,i),zt(ti,c))}function Kp(i){is.current===i&&(Bt(ti),Bt(is))}var un=vt(0);function md(i){for(var o=i;o!==null;){if(o.tag===13){var c=o.memoizedState;if(c!==null&&(c=c.dehydrated,c===null||c.data==="$?"||c.data==="$!"))return o}else if(o.tag===19&&o.memoizedProps.revealOrder!==void 0){if(o.flags&128)return o}else if(o.child!==null){o.child.return=o,o=o.child;continue}if(o===i)break;for(;o.sibling===null;){if(o.return===null||o.return===i)return null;o=o.return}o.sibling.return=o.return,o=o.sibling}return null}var gd=[];function Jp(){for(var i=0;i<gd.length;i++)gd[i]._workInProgressVersionPrimary=null;gd.length=0}var vd=J.ReactCurrentDispatcher,zl=J.ReactCurrentBatchConfig,$e=0,Ke=null,ct=null,xt=null,pa=!1,us=!1,jl=0,Ay=0;function xr(){throw Error(a(321))}function Vl(i,o){if(o===null)return!1;for(var c=0;c<o.length&&c<i.length;c++)if(!Ca(i[c],o[c]))return!1;return!0}function ve(i,o,c,m,x,T){if($e=T,Ke=o,o.memoizedState=null,o.updateQueue=null,o.lanes=0,vd.current=i===null||i.memoizedState===null?Ry:Jt,i=c(m,x),us){T=0;do{if(us=!1,jl=0,25<=T)throw Error(a(301));T+=1,xt=ct=null,o.updateQueue=null,vd.current=Od,i=c(m,x)}while(us)}if(vd.current=wr,o=ct!==null&&ct.next!==null,$e=0,xt=ct=Ke=null,pa=!1,o)throw Error(a(300));return i}function Mn(){var i=jl!==0;return jl=0,i}function Ze(){var i={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return xt===null?Ke.memoizedState=xt=i:xt=xt.next=i,xt}function ur(){if(ct===null){var i=Ke.alternate;i=i!==null?i.memoizedState:null}else i=ct.next;var o=xt===null?Ke.memoizedState:xt.next;if(o!==null)xt=o,ct=i;else{if(i===null)throw Error(a(310));ct=i,i={memoizedState:ct.memoizedState,baseState:ct.baseState,baseQueue:ct.baseQueue,queue:ct.queue,next:null},xt===null?Ke.memoizedState=xt=i:xt=xt.next=i}return xt}function ha(i,o){return typeof o=="function"?o(i):o}function Wi(i){var o=ur(),c=o.queue;if(c===null)throw Error(a(311));c.lastRenderedReducer=i;var m=ct,x=m.baseQueue,T=c.pending;if(T!==null){if(x!==null){var N=x.next;x.next=T.next,T.next=N}m.baseQueue=x=T,c.pending=null}if(x!==null){T=x.next,m=m.baseState;var z=N=null,Y=null,se=T;do{var be=se.lane;if(($e&be)===be)Y!==null&&(Y=Y.next={lane:0,action:se.action,hasEagerState:se.hasEagerState,eagerState:se.eagerState,next:null}),m=se.hasEagerState?se.eagerState:i(m,se.action);else{var Te={lane:be,action:se.action,hasEagerState:se.hasEagerState,eagerState:se.eagerState,next:null};Y===null?(z=Y=Te,N=m):Y=Y.next=Te,Ke.lanes|=be,vu|=be}se=se.next}while(se!==null&&se!==T);Y===null?N=m:Y.next=z,Ca(m,o.memoizedState)||($r=!0),o.memoizedState=m,o.baseState=N,o.baseQueue=Y,c.lastRenderedState=m}if(i=c.interleaved,i!==null){x=i;do T=x.lane,Ke.lanes|=T,vu|=T,x=x.next;while(x!==i)}else x===null&&(c.lanes=0);return[o.memoizedState,c.dispatch]}function La(i){var o=ur(),c=o.queue;if(c===null)throw Error(a(311));c.lastRenderedReducer=i;var m=c.dispatch,x=c.pending,T=o.memoizedState;if(x!==null){c.pending=null;var N=x=x.next;do T=i(T,N.action),N=N.next;while(N!==x);Ca(T,o.memoizedState)||($r=!0),o.memoizedState=T,o.baseQueue===null&&(o.baseState=T),c.lastRenderedState=T}return[T,m]}function ss(){}function lu(i,o){var c=Ke,m=ur(),x=o(),T=!Ca(m.memoizedState,x);if(T&&(m.memoizedState=x,$r=!0),m=m.queue,Yl(Ed.bind(null,c,m,i),[i]),m.getSnapshot!==o||T||xt!==null&&xt.memoizedState.tag&1){if(c.flags|=2048,cu(9,yd.bind(null,c,m,x,o),void 0,null),xn===null)throw Error(a(349));$e&30||ls(c,o,x)}return x}function ls(i,o,c){i.flags|=16384,i={getSnapshot:o,value:c},o=Ke.updateQueue,o===null?(o={lastEffect:null,stores:null},Ke.updateQueue=o,o.stores=[i]):(c=o.stores,c===null?o.stores=[i]:c.push(i))}function yd(i,o,c,m){o.value=c,o.getSnapshot=m,bd(o)&&xd(i)}function Ed(i,o,c){return c(function(){bd(o)&&xd(i)})}function bd(i){var o=i.getSnapshot;i=i.value;try{var c=o();return!Ca(i,c)}catch{return!0}}function xd(i){var o=Yi(i,1);o!==null&&fn(o,i,1,-1)}function wd(i){var o=Ze();return typeof i=="function"&&(i=i()),o.memoizedState=o.baseState=i,i={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:ha,lastRenderedState:i},o.queue=i,i=i.dispatch=Wl.bind(null,Ke,i),[o.memoizedState,i]}function cu(i,o,c,m){return i={tag:i,create:o,destroy:c,deps:m,next:null},o=Ke.updateQueue,o===null?(o={lastEffect:null,stores:null},Ke.updateQueue=o,o.lastEffect=i.next=i):(c=o.lastEffect,c===null?o.lastEffect=i.next=i:(m=c.next,c.next=i,i.next=m,o.lastEffect=i)),i}function Td(){return ur().memoizedState}function cs(i,o,c,m){var x=Ze();Ke.flags|=i,x.memoizedState=cu(1|o,c,void 0,m===void 0?null:m)}function ds(i,o,c,m){var x=ur();m=m===void 0?null:m;var T=void 0;if(ct!==null){var N=ct.memoizedState;if(T=N.destroy,m!==null&&Vl(m,N.deps)){x.memoizedState=cu(o,c,T,m);return}}Ke.flags|=i,x.memoizedState=cu(1|o,c,T,m)}function Sd(i,o){return cs(8390656,8,i,o)}function Yl(i,o){return ds(2048,8,i,o)}function Cd(i,o){return ds(4,2,i,o)}function _d(i,o){return ds(4,4,i,o)}function kd(i,o){if(typeof o=="function")return i=i(),o(i),function(){o(null)};if(o!=null)return i=i(),o.current=i,function(){o.current=null}}function Ad(i,o,c){return c=c!=null?c.concat([i]):null,ds(4,4,kd.bind(null,o,i),c)}function fs(){}function du(i,o){var c=ur();o=o===void 0?null:o;var m=c.memoizedState;return m!==null&&o!==null&&Vl(o,m[1])?m[0]:(c.memoizedState=[i,o],i)}function Rd(i,o){var c=ur();o=o===void 0?null:o;var m=c.memoizedState;return m!==null&&o!==null&&Vl(o,m[1])?m[0]:(i=i(),c.memoizedState=[i,o],i)}function Nd(i,o,c){return $e&21?(Ca(c,o)||(c=Hc(),Ke.lanes|=c,vu|=c,i.baseState=!0),o):(i.baseState&&(i.baseState=!1,$r=!0),i.memoizedState=c)}function Zp(i,o){var c=Vt;Vt=c!==0&&4>c?c:4,i(!0);var m=zl.transition;zl.transition={};try{i(!1),o()}finally{Vt=c,zl.transition=m}}function Dd(){return ur().memoizedState}function ng(i,o,c){var m=Gi(i);if(c={lane:m,action:c,hasEagerState:!1,eagerState:null,next:null},eh(i))ps(o,c);else if(c=J0(i,o,c,m),c!==null){var x=tr();fn(c,i,m,x),Co(c,o,m)}}function Wl(i,o,c){var m=Gi(i),x={lane:m,action:c,hasEagerState:!1,eagerState:null,next:null};if(eh(i))ps(o,x);else{var T=i.alternate;if(i.lanes===0&&(T===null||T.lanes===0)&&(T=o.lastRenderedReducer,T!==null))try{var N=o.lastRenderedState,z=T(N,c);if(x.hasEagerState=!0,x.eagerState=z,Ca(z,N)){var Y=o.interleaved;Y===null?(x.next=x,In(o)):(x.next=Y.next,Y.next=x),o.interleaved=x;return}}catch{}finally{}c=J0(i,o,x,m),c!==null&&(x=tr(),fn(c,i,m,x),Co(c,o,m))}}function eh(i){var o=i.alternate;return i===Ke||o!==null&&o===Ke}function ps(i,o){us=pa=!0;var c=i.pending;c===null?o.next=o:(o.next=c.next,c.next=o),i.pending=o}function Co(i,o,c){if(c&4194240){var m=o.lanes;m&=i.pendingLanes,c|=m,o.lanes=c,gl(i,c)}}var wr={readContext:Oa,useCallback:xr,useContext:xr,useEffect:xr,useImperativeHandle:xr,useInsertionEffect:xr,useLayoutEffect:xr,useMemo:xr,useReducer:xr,useRef:xr,useState:xr,useDebugValue:xr,useDeferredValue:xr,useTransition:xr,useMutableSource:xr,useSyncExternalStore:xr,useId:xr,unstable_isNewReconciler:!1},Ry={readContext:Oa,useCallback:function(i,o){return Ze().memoizedState=[i,o===void 0?null:o],i},useContext:Oa,useEffect:Sd,useImperativeHandle:function(i,o,c){return c=c!=null?c.concat([i]):null,cs(4194308,4,kd.bind(null,o,i),c)},useLayoutEffect:function(i,o){return cs(4194308,4,i,o)},useInsertionEffect:function(i,o){return cs(4,2,i,o)},useMemo:function(i,o){var c=Ze();return o=o===void 0?null:o,i=i(),c.memoizedState=[i,o],i},useReducer:function(i,o,c){var m=Ze();return o=c!==void 0?c(o):o,m.memoizedState=m.baseState=o,i={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:i,lastRenderedState:o},m.queue=i,i=i.dispatch=ng.bind(null,Ke,i),[m.memoizedState,i]},useRef:function(i){var o=Ze();return i={current:i},o.memoizedState=i},useState:wd,useDebugValue:fs,useDeferredValue:function(i){return Ze().memoizedState=i},useTransition:function(){var i=wd(!1),o=i[0];return i=Zp.bind(null,i[1]),Ze().memoizedState=i,[o,i]},useMutableSource:function(){},useSyncExternalStore:function(i,o,c){var m=Ke,x=Ze();if(en){if(c===void 0)throw Error(a(407));c=c()}else{if(c=o(),xn===null)throw Error(a(349));$e&30||ls(m,o,c)}x.memoizedState=c;var T={value:c,getSnapshot:o};return x.queue=T,Sd(Ed.bind(null,m,T,i),[i]),m.flags|=2048,cu(9,yd.bind(null,m,T,c,o),void 0,null),c},useId:function(){var i=Ze(),o=xn.identifierPrefix;if(en){var c=ji,m=or;c=(m&~(1<<32-wa(m)-1)).toString(32)+c,o=":"+o+"R"+c,c=jl++,0<c&&(o+="H"+c.toString(32)),o+=":"}else c=Ay++,o=":"+o+"r"+c.toString(32)+":";return i.memoizedState=o},unstable_isNewReconciler:!1},Jt={readContext:Oa,useCallback:du,useContext:Oa,useEffect:Yl,useImperativeHandle:Ad,useInsertionEffect:Cd,useLayoutEffect:_d,useMemo:Rd,useReducer:Wi,useRef:Td,useState:function(){return Wi(ha)},useDebugValue:fs,useDeferredValue:function(i){var o=ur();return Nd(o,ct.memoizedState,i)},useTransition:function(){var i=Wi(ha)[0],o=ur().memoizedState;return[i,o]},useMutableSource:ss,useSyncExternalStore:lu,useId:Dd,unstable_isNewReconciler:!1},Od={readContext:Oa,useCallback:du,useContext:Oa,useEffect:Yl,useImperativeHandle:Ad,useInsertionEffect:Cd,useLayoutEffect:_d,useMemo:Rd,useReducer:La,useRef:Td,useState:function(){return La(ha)},useDebugValue:fs,useDeferredValue:function(i){var o=ur();return ct===null?o.memoizedState=i:Nd(o,ct.memoizedState,i)},useTransition:function(){var i=La(ha)[0],o=ur().memoizedState;return[i,o]},useMutableSource:ss,useSyncExternalStore:lu,useId:Dd,unstable_isNewReconciler:!1};function Gr(i,o){if(i&&i.defaultProps){o=F({},o),i=i.defaultProps;for(var c in i)o[c]===void 0&&(o[c]=i[c]);return o}return o}function fu(i,o,c,m){o=i.memoizedState,c=c(m,o),c=c==null?o:F({},o,c),i.memoizedState=c,i.lanes===0&&(i.updateQueue.baseState=c)}var pu={isMounted:function(i){return(i=i._reactInternals)?pi(i)===i:!1},enqueueSetState:function(i,o,c){i=i._reactInternals;var m=tr(),x=Gi(i),T=Qr(m,x);T.payload=o,c!=null&&(T.callback=c),o=So(i,T,x),o!==null&&(fn(o,i,x,m),pd(o,i,x))},enqueueReplaceState:function(i,o,c){i=i._reactInternals;var m=tr(),x=Gi(i),T=Qr(m,x);T.tag=1,T.payload=o,c!=null&&(T.callback=c),o=So(i,T,x),o!==null&&(fn(o,i,x,m),pd(o,i,x))},enqueueForceUpdate:function(i,o){i=i._reactInternals;var c=tr(),m=Gi(i),x=Qr(c,m);x.tag=2,o!=null&&(x.callback=o),o=So(i,x,m),o!==null&&(fn(o,i,m,c),pd(o,i,m))}};function rg(i,o,c,m,x,T,N){return i=i.stateNode,typeof i.shouldComponentUpdate=="function"?i.shouldComponentUpdate(m,T,N):o.prototype&&o.prototype.isPureReactComponent?!kl(c,m)||!kl(x,T):!0}function ag(i,o,c){var m=!1,x=mi,T=o.contextType;return typeof T=="object"&&T!==null?T=Oa(T):(x=on(o)?jr:lt.current,m=o.contextTypes,T=(m=m!=null)?ka(i,x):mi),o=new o(c,T),i.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,o.updater=pu,i.stateNode=o,o._reactInternals=i,m&&(i=i.stateNode,i.__reactInternalMemoizedUnmaskedChildContext=x,i.__reactInternalMemoizedMaskedChildContext=T),o}function ig(i,o,c,m){i=o.state,typeof o.componentWillReceiveProps=="function"&&o.componentWillReceiveProps(c,m),typeof o.UNSAFE_componentWillReceiveProps=="function"&&o.UNSAFE_componentWillReceiveProps(c,m),o.state!==i&&pu.enqueueReplaceState(o,o.state,null)}function th(i,o,c,m){var x=i.stateNode;x.props=c,x.state=i.memoizedState,x.refs={},fd(i);var T=o.contextType;typeof T=="object"&&T!==null?x.context=Oa(T):(T=on(o)?jr:lt.current,x.context=ka(i,T)),x.state=i.memoizedState,T=o.getDerivedStateFromProps,typeof T=="function"&&(fu(i,o,T,c),x.state=i.memoizedState),typeof o.getDerivedStateFromProps=="function"||typeof x.getSnapshotBeforeUpdate=="function"||typeof x.UNSAFE_componentWillMount!="function"&&typeof x.componentWillMount!="function"||(o=x.state,typeof x.componentWillMount=="function"&&x.componentWillMount(),typeof x.UNSAFE_componentWillMount=="function"&&x.UNSAFE_componentWillMount(),o!==x.state&&pu.enqueueReplaceState(x,x.state,null),hd(i,c,x,m),x.state=i.memoizedState),typeof x.componentDidMount=="function"&&(i.flags|=4194308)}function _o(i,o){try{var c="",m=o;do c+=Gn(m),m=m.return;while(m);var x=c}catch(T){x=`
59
- Error generating stack: `+T.message+`
60
- `+T.stack}return{value:i,source:o,stack:x,digest:null}}function nh(i,o,c){return{value:i,source:null,stack:c??null,digest:o??null}}function ql(i,o){try{console.error(o.value)}catch(c){setTimeout(function(){throw c})}}var og=typeof WeakMap=="function"?WeakMap:Map;function ug(i,o,c){c=Qr(-1,c),c.tag=3,c.payload={element:null};var m=o.value;return c.callback=function(){Yd||(Yd=!0,dh=m),ql(i,o)},c}function sg(i,o,c){c=Qr(-1,c),c.tag=3;var m=i.type.getDerivedStateFromError;if(typeof m=="function"){var x=o.value;c.payload=function(){return m(x)},c.callback=function(){ql(i,o)}}var T=i.stateNode;return T!==null&&typeof T.componentDidCatch=="function"&&(c.callback=function(){ql(i,o),typeof m!="function"&&(Pa===null?Pa=new Set([this]):Pa.add(this));var N=o.stack;this.componentDidCatch(o.value,{componentStack:N!==null?N:""})}),c}function Ql(i,o,c){var m=i.pingCache;if(m===null){m=i.pingCache=new og;var x=new Set;m.set(o,x)}else x=m.get(o),x===void 0&&(x=new Set,m.set(o,x));x.has(c)||(x.add(c),i=By.bind(null,i,o,c),o.then(i,i))}function lg(i){do{var o;if((o=i.tag===13)&&(o=i.memoizedState,o=o!==null?o.dehydrated!==null:!0),o)return i;i=i.return}while(i!==null);return null}function rh(i,o,c,m,x){return i.mode&1?(i.flags|=65536,i.lanes=x,i):(i===o?i.flags|=65536:(i.flags|=128,c.flags|=131072,c.flags&=-52805,c.tag===1&&(c.alternate===null?c.tag=17:(o=Qr(-1,1),o.tag=2,So(c,o,1))),c.lanes|=1),i)}var cg=J.ReactCurrentOwner,$r=!1;function Cn(i,o,c,m){o.child=i===null?K0(o,null,c,m):ns(o,i.child,c,m)}function hs(i,o,c,m,x){c=c.render;var T=o.ref;return rs(o,x),m=ve(i,o,c,m,T,x),c=Mn(),i!==null&&!$r?(o.updateQueue=i.updateQueue,o.flags&=-2053,i.lanes&=~x,_n(i,o,x)):(en&&c&&od(o),o.flags|=1,Cn(i,o,m,x),o.child)}function ko(i,o,c,m,x){if(i===null){var T=c.type;return typeof T=="function"&&!gh(T)&&T.defaultProps===void 0&&c.compare===null&&c.defaultProps===void 0?(o.tag=15,o.type=T,Ld(i,o,T,m,x)):(i=Xd(c.type,null,m,o,o.mode,x),i.ref=o.ref,i.return=o,o.child=i)}if(T=i.child,!(i.lanes&x)){var N=T.memoizedProps;if(c=c.compare,c=c!==null?c:kl,c(N,m)&&i.ref===o.ref)return _n(i,o,x)}return o.flags|=1,i=No(T,m),i.ref=o.ref,i.return=o,o.child=i}function Ld(i,o,c,m,x){if(i!==null){var T=i.memoizedProps;if(kl(T,m)&&i.ref===o.ref)if($r=!1,o.pendingProps=m=T,(i.lanes&x)!==0)i.flags&131072&&($r=!0);else return o.lanes=i.lanes,_n(i,o,x)}return gt(i,o,c,m,x)}function Xr(i,o,c){var m=o.pendingProps,x=m.children,T=i!==null?i.memoizedState:null;if(m.mode==="hidden")if(!(o.mode&1))o.memoizedState={baseLanes:0,cachePool:null,transitions:null},zt(Ss,Kr),Kr|=c;else{if(!(c&1073741824))return i=T!==null?T.baseLanes|c:c,o.lanes=o.childLanes=1073741824,o.memoizedState={baseLanes:i,cachePool:null,transitions:null},o.updateQueue=null,zt(Ss,Kr),Kr|=i,null;o.memoizedState={baseLanes:0,cachePool:null,transitions:null},m=T!==null?T.baseLanes:c,zt(Ss,Kr),Kr|=m}else T!==null?(m=T.baseLanes|c,o.memoizedState=null):m=c,zt(Ss,Kr),Kr|=m;return Cn(i,o,x,c),o.child}function hu(i,o){var c=o.ref;(i===null&&c!==null||i!==null&&i.ref!==c)&&(o.flags|=512,o.flags|=2097152)}function gt(i,o,c,m,x){var T=on(c)?jr:lt.current;return T=ka(o,T),rs(o,x),c=ve(i,o,c,m,T,x),m=Mn(),i!==null&&!$r?(o.updateQueue=i.updateQueue,o.flags&=-2053,i.lanes&=~x,_n(i,o,x)):(en&&m&&od(o),o.flags|=1,Cn(i,o,c,x),o.child)}function Gl(i,o,c,m,x){if(on(c)){var T=!0;id(o)}else T=!1;if(rs(o,x),o.stateNode===null)Xl(i,o),ag(o,c,m),th(o,c,m,x),m=!0;else if(i===null){var N=o.stateNode,z=o.memoizedProps;N.props=z;var Y=N.context,se=c.contextType;typeof se=="object"&&se!==null?se=Oa(se):(se=on(c)?jr:lt.current,se=ka(o,se));var be=c.getDerivedStateFromProps,Te=typeof be=="function"||typeof N.getSnapshotBeforeUpdate=="function";Te||typeof N.UNSAFE_componentWillReceiveProps!="function"&&typeof N.componentWillReceiveProps!="function"||(z!==m||Y!==se)&&ig(o,N,m,se),To=!1;var ye=o.memoizedState;N.state=ye,hd(o,m,N,x),Y=o.memoizedState,z!==m||ye!==Y||En.current||To?(typeof be=="function"&&(fu(o,c,be,m),Y=o.memoizedState),(z=To||rg(o,c,z,m,ye,Y,se))?(Te||typeof N.UNSAFE_componentWillMount!="function"&&typeof N.componentWillMount!="function"||(typeof N.componentWillMount=="function"&&N.componentWillMount(),typeof N.UNSAFE_componentWillMount=="function"&&N.UNSAFE_componentWillMount()),typeof N.componentDidMount=="function"&&(o.flags|=4194308)):(typeof N.componentDidMount=="function"&&(o.flags|=4194308),o.memoizedProps=m,o.memoizedState=Y),N.props=m,N.state=Y,N.context=se,m=z):(typeof N.componentDidMount=="function"&&(o.flags|=4194308),m=!1)}else{N=o.stateNode,as(i,o),z=o.memoizedProps,se=o.type===o.elementType?z:Gr(o.type,z),N.props=se,Te=o.pendingProps,ye=N.context,Y=c.contextType,typeof Y=="object"&&Y!==null?Y=Oa(Y):(Y=on(c)?jr:lt.current,Y=ka(o,Y));var Ue=c.getDerivedStateFromProps;(be=typeof Ue=="function"||typeof N.getSnapshotBeforeUpdate=="function")||typeof N.UNSAFE_componentWillReceiveProps!="function"&&typeof N.componentWillReceiveProps!="function"||(z!==Te||ye!==Y)&&ig(o,N,m,Y),To=!1,ye=o.memoizedState,N.state=ye,hd(o,m,N,x);var Ve=o.memoizedState;z!==Te||ye!==Ve||En.current||To?(typeof Ue=="function"&&(fu(o,c,Ue,m),Ve=o.memoizedState),(se=To||rg(o,c,se,m,ye,Ve,Y)||!1)?(be||typeof N.UNSAFE_componentWillUpdate!="function"&&typeof N.componentWillUpdate!="function"||(typeof N.componentWillUpdate=="function"&&N.componentWillUpdate(m,Ve,Y),typeof N.UNSAFE_componentWillUpdate=="function"&&N.UNSAFE_componentWillUpdate(m,Ve,Y)),typeof N.componentDidUpdate=="function"&&(o.flags|=4),typeof N.getSnapshotBeforeUpdate=="function"&&(o.flags|=1024)):(typeof N.componentDidUpdate!="function"||z===i.memoizedProps&&ye===i.memoizedState||(o.flags|=4),typeof N.getSnapshotBeforeUpdate!="function"||z===i.memoizedProps&&ye===i.memoizedState||(o.flags|=1024),o.memoizedProps=m,o.memoizedState=Ve),N.props=m,N.state=Ve,N.context=Y,m=se):(typeof N.componentDidUpdate!="function"||z===i.memoizedProps&&ye===i.memoizedState||(o.flags|=4),typeof N.getSnapshotBeforeUpdate!="function"||z===i.memoizedProps&&ye===i.memoizedState||(o.flags|=1024),m=!1)}return Id(i,o,c,m,T,x)}function Id(i,o,c,m,x,T){hu(i,o);var N=(o.flags&128)!==0;if(!m&&!N)return x&&q0(o,c,!1),_n(i,o,T);m=o.stateNode,cg.current=o;var z=N&&typeof c.getDerivedStateFromError!="function"?null:m.render();return o.flags|=1,i!==null&&N?(o.child=ns(o,i.child,null,T),o.child=ns(o,null,z,T)):Cn(i,o,z,T),o.memoizedState=m.state,x&&q0(o,c,!0),o.child}function Ny(i){var o=i.stateNode;o.pendingContext?xo(i,o.pendingContext,o.pendingContext!==o.context):o.context&&xo(i,o.context,!1),Xp(i,o.containerInfo)}function dg(i,o,c,m,x){return dn(),Qp(x),o.flags|=256,Cn(i,o,c,m),o.child}var $l={dehydrated:null,treeContext:null,retryLane:0};function mu(i){return{baseLanes:i,cachePool:null,transitions:null}}function fg(i,o,c){var m=o.pendingProps,x=un.current,T=!1,N=(o.flags&128)!==0,z;if((z=N)||(z=i!==null&&i.memoizedState===null?!1:(x&2)!==0),z?(T=!0,o.flags&=-129):(i===null||i.memoizedState!==null)&&(x|=1),zt(un,x&1),i===null)return sd(o),i=o.memoizedState,i!==null&&(i=i.dehydrated,i!==null)?(o.mode&1?i.data==="$!"?o.lanes=8:o.lanes=1073741824:o.lanes=1,null):(N=m.children,i=m.fallback,T?(m=o.mode,T=o.child,N={mode:"hidden",children:N},!(m&1)&&T!==null?(T.childLanes=0,T.pendingProps=N):T=Kd(N,m,0,null),i=xu(i,m,c,null),T.return=o,i.return=o,T.sibling=i,o.child=T,o.child.memoizedState=mu(c),o.memoizedState=$l,i):Md(o,N));if(x=i.memoizedState,x!==null&&(z=x.dehydrated,z!==null))return ah(i,o,N,m,z,x,c);if(T){T=m.fallback,N=o.mode,x=i.child,z=x.sibling;var Y={mode:"hidden",children:m.children};return!(N&1)&&o.child!==x?(m=o.child,m.childLanes=0,m.pendingProps=Y,o.deletions=null):(m=No(x,Y),m.subtreeFlags=x.subtreeFlags&14680064),z!==null?T=No(z,T):(T=xu(T,N,c,null),T.flags|=2),T.return=o,m.return=o,m.sibling=T,o.child=m,m=T,T=o.child,N=i.child.memoizedState,N=N===null?mu(c):{baseLanes:N.baseLanes|c,cachePool:null,transitions:N.transitions},T.memoizedState=N,T.childLanes=i.childLanes&~c,o.memoizedState=$l,m}return T=i.child,i=T.sibling,m=No(T,{mode:"visible",children:m.children}),!(o.mode&1)&&(m.lanes=c),m.return=o,m.sibling=null,i!==null&&(c=o.deletions,c===null?(o.deletions=[i],o.flags|=16):c.push(i)),o.child=m,o.memoizedState=null,m}function Md(i,o){return o=Kd({mode:"visible",children:o},i.mode,0,null),o.return=i,i.child=o}function Pd(i,o,c,m){return m!==null&&Qp(m),ns(o,i.child,null,c),i=Md(o,o.pendingProps.children),i.flags|=2,o.memoizedState=null,i}function ah(i,o,c,m,x,T,N){if(c)return o.flags&256?(o.flags&=-257,m=nh(Error(a(422))),Pd(i,o,N,m)):o.memoizedState!==null?(o.child=i.child,o.flags|=128,null):(T=m.fallback,x=o.mode,m=Kd({mode:"visible",children:m.children},x,0,null),T=xu(T,x,N,null),T.flags|=2,m.return=o,T.return=o,m.sibling=T,o.child=m,o.mode&1&&ns(o,i.child,null,N),o.child.memoizedState=mu(N),o.memoizedState=$l,T);if(!(o.mode&1))return Pd(i,o,N,null);if(x.data==="$!"){if(m=x.nextSibling&&x.nextSibling.dataset,m)var z=m.dgst;return m=z,T=Error(a(419)),m=nh(T,m,void 0),Pd(i,o,N,m)}if(z=(N&i.childLanes)!==0,$r||z){if(m=xn,m!==null){switch(N&-N){case 4:x=2;break;case 16:x=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:x=32;break;case 536870912:x=268435456;break;default:x=0}x=x&(m.suspendedLanes|N)?0:x,x!==0&&x!==T.retryLane&&(T.retryLane=x,Yi(i,x),fn(m,i,x,-1))}return tc(),m=nh(Error(a(421))),Pd(i,o,N,m)}return x.data==="$?"?(o.flags|=128,o.child=i.child,o=mh.bind(null,i),x._reactRetry=o,null):(i=T.treeContext,qr=ei(x.nextSibling),da=o,en=!0,Na=null,i!==null&&(Wr[br++]=or,Wr[br++]=ji,Wr[br++]=Ra,or=i.id,ji=i.overflow,Ra=o),o=Md(o,m.children),o.flags|=4096,o)}function pg(i,o,c){i.lanes|=o;var m=i.alternate;m!==null&&(m.lanes|=o),$p(i.return,o,c)}function Fd(i,o,c,m,x){var T=i.memoizedState;T===null?i.memoizedState={isBackwards:o,rendering:null,renderingStartTime:0,last:m,tail:c,tailMode:x}:(T.isBackwards=o,T.rendering=null,T.renderingStartTime=0,T.last=m,T.tail=c,T.tailMode=x)}function ih(i,o,c){var m=o.pendingProps,x=m.revealOrder,T=m.tail;if(Cn(i,o,m.children,c),m=un.current,m&2)m=m&1|2,o.flags|=128;else{if(i!==null&&i.flags&128)e:for(i=o.child;i!==null;){if(i.tag===13)i.memoizedState!==null&&pg(i,c,o);else if(i.tag===19)pg(i,c,o);else if(i.child!==null){i.child.return=i,i=i.child;continue}if(i===o)break e;for(;i.sibling===null;){if(i.return===null||i.return===o)break e;i=i.return}i.sibling.return=i.return,i=i.sibling}m&=1}if(zt(un,m),!(o.mode&1))o.memoizedState=null;else switch(x){case"forwards":for(c=o.child,x=null;c!==null;)i=c.alternate,i!==null&&md(i)===null&&(x=c),c=c.sibling;c=x,c===null?(x=o.child,o.child=null):(x=c.sibling,c.sibling=null),Fd(o,!1,x,c,T);break;case"backwards":for(c=null,x=o.child,o.child=null;x!==null;){if(i=x.alternate,i!==null&&md(i)===null){o.child=x;break}i=x.sibling,x.sibling=c,c=x,x=i}Fd(o,!0,c,null,T);break;case"together":Fd(o,!1,null,null,void 0);break;default:o.memoizedState=null}return o.child}function Xl(i,o){!(o.mode&1)&&i!==null&&(i.alternate=null,o.alternate=null,o.flags|=2)}function _n(i,o,c){if(i!==null&&(o.dependencies=i.dependencies),vu|=o.lanes,!(c&o.childLanes))return null;if(i!==null&&o.child!==i.child)throw Error(a(153));if(o.child!==null){for(i=o.child,c=No(i,i.pendingProps),o.child=c,c.return=o;i.sibling!==null;)i=i.sibling,c=c.sibling=No(i,i.pendingProps),c.return=o;c.sibling=null}return o.child}function qi(i,o,c){switch(o.tag){case 3:Ny(o),dn();break;case 5:tg(o);break;case 1:on(o.type)&&id(o);break;case 4:Xp(o,o.stateNode.containerInfo);break;case 10:var m=o.type._context,x=o.memoizedProps.value;zt(Vi,m._currentValue),m._currentValue=x;break;case 13:if(m=o.memoizedState,m!==null)return m.dehydrated!==null?(zt(un,un.current&1),o.flags|=128,null):c&o.child.childLanes?fg(i,o,c):(zt(un,un.current&1),i=_n(i,o,c),i!==null?i.sibling:null);zt(un,un.current&1);break;case 19:if(m=(c&o.childLanes)!==0,i.flags&128){if(m)return ih(i,o,c);o.flags|=128}if(x=o.memoizedState,x!==null&&(x.rendering=null,x.tail=null,x.lastEffect=null),zt(un,un.current),m)break;return null;case 22:case 23:return o.lanes=0,Xr(i,o,c)}return _n(i,o,c)}var vi,ms,gs,Ia;vi=function(i,o){for(var c=o.child;c!==null;){if(c.tag===5||c.tag===6)i.appendChild(c.stateNode);else if(c.tag!==4&&c.child!==null){c.child.return=c,c=c.child;continue}if(c===o)break;for(;c.sibling===null;){if(c.return===null||c.return===o)return;c=c.return}c.sibling.return=c.return,c=c.sibling}},ms=function(){},gs=function(i,o,c,m){var x=i.memoizedProps;if(x!==m){i=o.stateNode,su(ti.current);var T=null;switch(c){case"input":x=Fn(i,x),m=Fn(i,m),T=[];break;case"select":x=F({},x,{value:void 0}),m=F({},m,{value:void 0}),T=[];break;case"textarea":x=Oi(i,x),m=Oi(i,m),T=[];break;default:typeof x.onClick!="function"&&typeof m.onClick=="function"&&(i.onclick=ad)}Ht(c,m);var N;c=null;for(se in x)if(!m.hasOwnProperty(se)&&x.hasOwnProperty(se)&&x[se]!=null)if(se==="style"){var z=x[se];for(N in z)z.hasOwnProperty(N)&&(c||(c={}),c[N]="")}else se!=="dangerouslySetInnerHTML"&&se!=="children"&&se!=="suppressContentEditableWarning"&&se!=="suppressHydrationWarning"&&se!=="autoFocus"&&(f.hasOwnProperty(se)?T||(T=[]):(T=T||[]).push(se,null));for(se in m){var Y=m[se];if(z=x!=null?x[se]:void 0,m.hasOwnProperty(se)&&Y!==z&&(Y!=null||z!=null))if(se==="style")if(z){for(N in z)!z.hasOwnProperty(N)||Y&&Y.hasOwnProperty(N)||(c||(c={}),c[N]="");for(N in Y)Y.hasOwnProperty(N)&&z[N]!==Y[N]&&(c||(c={}),c[N]=Y[N])}else c||(T||(T=[]),T.push(se,c)),c=Y;else se==="dangerouslySetInnerHTML"?(Y=Y?Y.__html:void 0,z=z?z.__html:void 0,Y!=null&&z!==Y&&(T=T||[]).push(se,Y)):se==="children"?typeof Y!="string"&&typeof Y!="number"||(T=T||[]).push(se,""+Y):se!=="suppressContentEditableWarning"&&se!=="suppressHydrationWarning"&&(f.hasOwnProperty(se)?(Y!=null&&se==="onScroll"&&Xt("scroll",i),T||z===Y||(T=[])):(T=T||[]).push(se,Y))}c&&(T=T||[]).push("style",c);var se=T;(o.updateQueue=se)&&(o.flags|=4)}},Ia=function(i,o,c,m){c!==m&&(o.flags|=4)};function bn(i,o){if(!en)switch(i.tailMode){case"hidden":o=i.tail;for(var c=null;o!==null;)o.alternate!==null&&(c=o),o=o.sibling;c===null?i.tail=null:c.sibling=null;break;case"collapsed":c=i.tail;for(var m=null;c!==null;)c.alternate!==null&&(m=c),c=c.sibling;m===null?o||i.tail===null?i.tail=null:i.tail.sibling=null:m.sibling=null}}function Tr(i){var o=i.alternate!==null&&i.alternate.child===i.child,c=0,m=0;if(o)for(var x=i.child;x!==null;)c|=x.lanes|x.childLanes,m|=x.subtreeFlags&14680064,m|=x.flags&14680064,x.return=i,x=x.sibling;else for(x=i.child;x!==null;)c|=x.lanes|x.childLanes,m|=x.subtreeFlags,m|=x.flags,x.return=i,x=x.sibling;return i.subtreeFlags|=m,i.childLanes=c,o}function Dy(i,o,c){var m=o.pendingProps;switch(Wp(o),o.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Tr(o),null;case 1:return on(o.type)&&Aa(),Tr(o),null;case 3:return m=o.stateNode,os(),Bt(En),Bt(lt),Jp(),m.pendingContext&&(m.context=m.pendingContext,m.pendingContext=null),(i===null||i.child===null)&&(ld(o)?o.flags|=4:i===null||i.memoizedState.isDehydrated&&!(o.flags&256)||(o.flags|=1024,Na!==null&&(fh(Na),Na=null))),ms(i,o),Tr(o),null;case 5:Kp(o);var x=su(Hl.current);if(c=o.type,i!==null&&o.stateNode!=null)gs(i,o,c,m,x),i.ref!==o.ref&&(o.flags|=512,o.flags|=2097152);else{if(!m){if(o.stateNode===null)throw Error(a(166));return Tr(o),null}if(i=su(ti.current),ld(o)){m=o.stateNode,c=o.type;var T=o.memoizedProps;switch(m[hi]=o,m[au]=T,i=(o.mode&1)!==0,c){case"dialog":Xt("cancel",m),Xt("close",m);break;case"iframe":case"object":case"embed":Xt("load",m);break;case"video":case"audio":for(x=0;x<Dl.length;x++)Xt(Dl[x],m);break;case"source":Xt("error",m);break;case"img":case"image":case"link":Xt("error",m),Xt("load",m);break;case"details":Xt("toggle",m);break;case"input":ir(m,T),Xt("invalid",m);break;case"select":m._wrapperState={wasMultiple:!!T.multiple},Xt("invalid",m);break;case"textarea":ua(m,T),Xt("invalid",m)}Ht(c,T),x=null;for(var N in T)if(T.hasOwnProperty(N)){var z=T[N];N==="children"?typeof z=="string"?m.textContent!==z&&(T.suppressHydrationWarning!==!0&&rd(m.textContent,z,i),x=["children",z]):typeof z=="number"&&m.textContent!==""+z&&(T.suppressHydrationWarning!==!0&&rd(m.textContent,z,i),x=["children",""+z]):f.hasOwnProperty(N)&&z!=null&&N==="onScroll"&&Xt("scroll",m)}switch(c){case"input":Nn(m),oa(m,T,!0);break;case"textarea":Nn(m),xa(m);break;case"select":case"option":break;default:typeof T.onClick=="function"&&(m.onclick=ad)}m=x,o.updateQueue=m,m!==null&&(o.flags|=4)}else{N=x.nodeType===9?x:x.ownerDocument,i==="http://www.w3.org/1999/xhtml"&&(i=de(c)),i==="http://www.w3.org/1999/xhtml"?c==="script"?(i=N.createElement("div"),i.innerHTML="<script><\/script>",i=i.removeChild(i.firstChild)):typeof m.is=="string"?i=N.createElement(c,{is:m.is}):(i=N.createElement(c),c==="select"&&(N=i,m.multiple?N.multiple=!0:m.size&&(N.size=m.size))):i=N.createElementNS(i,c),i[hi]=o,i[au]=m,vi(i,o,!1,!1),o.stateNode=i;e:{switch(N=Kt(c,m),c){case"dialog":Xt("cancel",i),Xt("close",i),x=m;break;case"iframe":case"object":case"embed":Xt("load",i),x=m;break;case"video":case"audio":for(x=0;x<Dl.length;x++)Xt(Dl[x],i);x=m;break;case"source":Xt("error",i),x=m;break;case"img":case"image":case"link":Xt("error",i),Xt("load",i),x=m;break;case"details":Xt("toggle",i),x=m;break;case"input":ir(i,m),x=Fn(i,m),Xt("invalid",i);break;case"option":x=m;break;case"select":i._wrapperState={wasMultiple:!!m.multiple},x=F({},m,{value:void 0}),Xt("invalid",i);break;case"textarea":ua(i,m),x=Oi(i,m),Xt("invalid",i);break;default:x=m}Ht(c,x),z=x;for(T in z)if(z.hasOwnProperty(T)){var Y=z[T];T==="style"?It(i,Y):T==="dangerouslySetInnerHTML"?(Y=Y?Y.__html:void 0,Y!=null&&yt(i,Y)):T==="children"?typeof Y=="string"?(c!=="textarea"||Y!=="")&&At(i,Y):typeof Y=="number"&&At(i,""+Y):T!=="suppressContentEditableWarning"&&T!=="suppressHydrationWarning"&&T!=="autoFocus"&&(f.hasOwnProperty(T)?Y!=null&&T==="onScroll"&&Xt("scroll",i):Y!=null&&W(i,T,Y,N))}switch(c){case"input":Nn(i),oa(i,m,!1);break;case"textarea":Nn(i),xa(i);break;case"option":m.value!=null&&i.setAttribute("value",""+cn(m.value));break;case"select":i.multiple=!!m.multiple,T=m.value,T!=null?ci(i,!!m.multiple,T,!1):m.defaultValue!=null&&ci(i,!!m.multiple,m.defaultValue,!0);break;default:typeof x.onClick=="function"&&(i.onclick=ad)}switch(c){case"button":case"input":case"select":case"textarea":m=!!m.autoFocus;break e;case"img":m=!0;break e;default:m=!1}}m&&(o.flags|=4)}o.ref!==null&&(o.flags|=512,o.flags|=2097152)}return Tr(o),null;case 6:if(i&&o.stateNode!=null)Ia(i,o,i.memoizedProps,m);else{if(typeof m!="string"&&o.stateNode===null)throw Error(a(166));if(c=su(Hl.current),su(ti.current),ld(o)){if(m=o.stateNode,c=o.memoizedProps,m[hi]=o,(T=m.nodeValue!==c)&&(i=da,i!==null))switch(i.tag){case 3:rd(m.nodeValue,c,(i.mode&1)!==0);break;case 5:i.memoizedProps.suppressHydrationWarning!==!0&&rd(m.nodeValue,c,(i.mode&1)!==0)}T&&(o.flags|=4)}else m=(c.nodeType===9?c:c.ownerDocument).createTextNode(m),m[hi]=o,o.stateNode=m}return Tr(o),null;case 13:if(Bt(un),m=o.memoizedState,i===null||i.memoizedState!==null&&i.memoizedState.dehydrated!==null){if(en&&qr!==null&&o.mode&1&&!(o.flags&128))$0(),dn(),o.flags|=98560,T=!1;else if(T=ld(o),m!==null&&m.dehydrated!==null){if(i===null){if(!T)throw Error(a(318));if(T=o.memoizedState,T=T!==null?T.dehydrated:null,!T)throw Error(a(317));T[hi]=o}else dn(),!(o.flags&128)&&(o.memoizedState=null),o.flags|=4;Tr(o),T=!1}else Na!==null&&(fh(Na),Na=null),T=!0;if(!T)return o.flags&65536?o:null}return o.flags&128?(o.lanes=c,o):(m=m!==null,m!==(i!==null&&i.memoizedState!==null)&&m&&(o.child.flags|=8192,o.mode&1&&(i===null||un.current&1?zn===0&&(zn=3):tc())),o.updateQueue!==null&&(o.flags|=4),Tr(o),null);case 4:return os(),ms(i,o),i===null&&Zu(o.stateNode.containerInfo),Tr(o),null;case 10:return Gp(o.type._context),Tr(o),null;case 17:return on(o.type)&&Aa(),Tr(o),null;case 19:if(Bt(un),T=o.memoizedState,T===null)return Tr(o),null;if(m=(o.flags&128)!==0,N=T.rendering,N===null)if(m)bn(T,!1);else{if(zn!==0||i!==null&&i.flags&128)for(i=o.child;i!==null;){if(N=md(i),N!==null){for(o.flags|=128,bn(T,!1),m=N.updateQueue,m!==null&&(o.updateQueue=m,o.flags|=4),o.subtreeFlags=0,m=c,c=o.child;c!==null;)T=c,i=m,T.flags&=14680066,N=T.alternate,N===null?(T.childLanes=0,T.lanes=i,T.child=null,T.subtreeFlags=0,T.memoizedProps=null,T.memoizedState=null,T.updateQueue=null,T.dependencies=null,T.stateNode=null):(T.childLanes=N.childLanes,T.lanes=N.lanes,T.child=N.child,T.subtreeFlags=0,T.deletions=null,T.memoizedProps=N.memoizedProps,T.memoizedState=N.memoizedState,T.updateQueue=N.updateQueue,T.type=N.type,i=N.dependencies,T.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext}),c=c.sibling;return zt(un,un.current&1|2),o.child}i=i.sibling}T.tail!==null&&yn()>_s&&(o.flags|=128,m=!0,bn(T,!1),o.lanes=4194304)}else{if(!m)if(i=md(N),i!==null){if(o.flags|=128,m=!0,c=i.updateQueue,c!==null&&(o.updateQueue=c,o.flags|=4),bn(T,!0),T.tail===null&&T.tailMode==="hidden"&&!N.alternate&&!en)return Tr(o),null}else 2*yn()-T.renderingStartTime>_s&&c!==1073741824&&(o.flags|=128,m=!0,bn(T,!1),o.lanes=4194304);T.isBackwards?(N.sibling=o.child,o.child=N):(c=T.last,c!==null?c.sibling=N:o.child=N,T.last=N)}return T.tail!==null?(o=T.tail,T.rendering=o,T.tail=o.sibling,T.renderingStartTime=yn(),o.sibling=null,c=un.current,zt(un,m?c&1|2:c&1),o):(Tr(o),null);case 22:case 23:return Gd(),m=o.memoizedState!==null,i!==null&&i.memoizedState!==null!==m&&(o.flags|=8192),m&&o.mode&1?Kr&1073741824&&(Tr(o),o.subtreeFlags&6&&(o.flags|=8192)):Tr(o),null;case 24:return null;case 25:return null}throw Error(a(156,o.tag))}function Oy(i,o){switch(Wp(o),o.tag){case 1:return on(o.type)&&Aa(),i=o.flags,i&65536?(o.flags=i&-65537|128,o):null;case 3:return os(),Bt(En),Bt(lt),Jp(),i=o.flags,i&65536&&!(i&128)?(o.flags=i&-65537|128,o):null;case 5:return Kp(o),null;case 13:if(Bt(un),i=o.memoizedState,i!==null&&i.dehydrated!==null){if(o.alternate===null)throw Error(a(340));dn()}return i=o.flags,i&65536?(o.flags=i&-65537|128,o):null;case 19:return Bt(un),null;case 4:return os(),null;case 10:return Gp(o.type._context),null;case 22:case 23:return Gd(),null;case 24:return null;default:return null}}var vs=!1,sr=!1,Ud=typeof WeakSet=="function"?WeakSet:Set,ze=null;function ys(i,o){var c=i.ref;if(c!==null)if(typeof c=="function")try{c(null)}catch(m){wn(i,o,m)}else c.current=null}function oh(i,o,c){try{c()}catch(m){wn(i,o,m)}}var Bd=!1;function Ly(i,o){if(Fp=Ko,i=Jc(),Ui(i)){if("selectionStart"in i)var c={start:i.selectionStart,end:i.selectionEnd};else e:{c=(c=i.ownerDocument)&&c.defaultView||window;var m=c.getSelection&&c.getSelection();if(m&&m.rangeCount!==0){c=m.anchorNode;var x=m.anchorOffset,T=m.focusNode;m=m.focusOffset;try{c.nodeType,T.nodeType}catch{c=null;break e}var N=0,z=-1,Y=-1,se=0,be=0,Te=i,ye=null;t:for(;;){for(var Ue;Te!==c||x!==0&&Te.nodeType!==3||(z=N+x),Te!==T||m!==0&&Te.nodeType!==3||(Y=N+m),Te.nodeType===3&&(N+=Te.nodeValue.length),(Ue=Te.firstChild)!==null;)ye=Te,Te=Ue;for(;;){if(Te===i)break t;if(ye===c&&++se===x&&(z=N),ye===T&&++be===m&&(Y=N),(Ue=Te.nextSibling)!==null)break;Te=ye,ye=Te.parentNode}Te=Ue}c=z===-1||Y===-1?null:{start:z,end:Y}}else c=null}c=c||{start:0,end:0}}else c=null;for(nu={focusedElem:i,selectionRange:c},Ko=!1,ze=o;ze!==null;)if(o=ze,i=o.child,(o.subtreeFlags&1028)!==0&&i!==null)i.return=o,ze=i;else for(;ze!==null;){o=ze;try{var Ve=o.alternate;if(o.flags&1024)switch(o.tag){case 0:case 11:case 15:break;case 1:if(Ve!==null){var Qe=Ve.memoizedProps,kn=Ve.memoizedState,ee=o.stateNode,Q=ee.getSnapshotBeforeUpdate(o.elementType===o.type?Qe:Gr(o.type,Qe),kn);ee.__reactInternalSnapshotBeforeUpdate=Q}break;case 3:var oe=o.stateNode.containerInfo;oe.nodeType===1?oe.textContent="":oe.nodeType===9&&oe.documentElement&&oe.removeChild(oe.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(a(163))}}catch(ke){wn(o,o.return,ke)}if(i=o.sibling,i!==null){i.return=o.return,ze=i;break}ze=o.return}return Ve=Bd,Bd=!1,Ve}function Es(i,o,c){var m=o.updateQueue;if(m=m!==null?m.lastEffect:null,m!==null){var x=m=m.next;do{if((x.tag&i)===i){var T=x.destroy;x.destroy=void 0,T!==void 0&&oh(o,c,T)}x=x.next}while(x!==m)}}function Hd(i,o){if(o=o.updateQueue,o=o!==null?o.lastEffect:null,o!==null){var c=o=o.next;do{if((c.tag&i)===i){var m=c.create;c.destroy=m()}c=c.next}while(c!==o)}}function zd(i){var o=i.ref;if(o!==null){var c=i.stateNode;switch(i.tag){case 5:i=c;break;default:i=c}typeof o=="function"?o(i):o.current=i}}function hg(i){var o=i.alternate;o!==null&&(i.alternate=null,hg(o)),i.child=null,i.deletions=null,i.sibling=null,i.tag===5&&(o=i.stateNode,o!==null&&(delete o[hi],delete o[au],delete o[Hp],delete o[ky],delete o[zp])),i.stateNode=null,i.return=null,i.dependencies=null,i.memoizedProps=null,i.memoizedState=null,i.pendingProps=null,i.stateNode=null,i.updateQueue=null}function uh(i){return i.tag===5||i.tag===3||i.tag===4}function mg(i){e:for(;;){for(;i.sibling===null;){if(i.return===null||uh(i.return))return null;i=i.return}for(i.sibling.return=i.return,i=i.sibling;i.tag!==5&&i.tag!==6&&i.tag!==18;){if(i.flags&2||i.child===null||i.tag===4)continue e;i.child.return=i,i=i.child}if(!(i.flags&2))return i.stateNode}}function Kl(i,o,c){var m=i.tag;if(m===5||m===6)i=i.stateNode,o?c.nodeType===8?c.parentNode.insertBefore(i,o):c.insertBefore(i,o):(c.nodeType===8?(o=c.parentNode,o.insertBefore(i,c)):(o=c,o.appendChild(i)),c=c._reactRootContainer,c!=null||o.onclick!==null||(o.onclick=ad));else if(m!==4&&(i=i.child,i!==null))for(Kl(i,o,c),i=i.sibling;i!==null;)Kl(i,o,c),i=i.sibling}function bs(i,o,c){var m=i.tag;if(m===5||m===6)i=i.stateNode,o?c.insertBefore(i,o):c.appendChild(i);else if(m!==4&&(i=i.child,i!==null))for(bs(i,o,c),i=i.sibling;i!==null;)bs(i,o,c),i=i.sibling}var sn=null,Zn=!1;function Rr(i,o,c){for(c=c.child;c!==null;)xs(i,o,c),c=c.sibling}function xs(i,o,c){if($a&&typeof $a.onCommitFiberUnmount=="function")try{$a.onCommitFiberUnmount(ml,c)}catch{}switch(c.tag){case 5:sr||ys(c,o);case 6:var m=sn,x=Zn;sn=null,Rr(i,o,c),sn=m,Zn=x,sn!==null&&(Zn?(i=sn,c=c.stateNode,i.nodeType===8?i.parentNode.removeChild(c):i.removeChild(c)):sn.removeChild(c.stateNode));break;case 18:sn!==null&&(Zn?(i=sn,c=c.stateNode,i.nodeType===8?yo(i.parentNode,c):i.nodeType===1&&yo(i,c),bl(i)):yo(sn,c.stateNode));break;case 4:m=sn,x=Zn,sn=c.stateNode.containerInfo,Zn=!0,Rr(i,o,c),sn=m,Zn=x;break;case 0:case 11:case 14:case 15:if(!sr&&(m=c.updateQueue,m!==null&&(m=m.lastEffect,m!==null))){x=m=m.next;do{var T=x,N=T.destroy;T=T.tag,N!==void 0&&(T&2||T&4)&&oh(c,o,N),x=x.next}while(x!==m)}Rr(i,o,c);break;case 1:if(!sr&&(ys(c,o),m=c.stateNode,typeof m.componentWillUnmount=="function"))try{m.props=c.memoizedProps,m.state=c.memoizedState,m.componentWillUnmount()}catch(z){wn(c,o,z)}Rr(i,o,c);break;case 21:Rr(i,o,c);break;case 22:c.mode&1?(sr=(m=sr)||c.memoizedState!==null,Rr(i,o,c),sr=m):Rr(i,o,c);break;default:Rr(i,o,c)}}function ws(i){var o=i.updateQueue;if(o!==null){i.updateQueue=null;var c=i.stateNode;c===null&&(c=i.stateNode=new Ud),o.forEach(function(m){var x=Hy.bind(null,i,m);c.has(m)||(c.add(m),m.then(x,x))})}}function er(i,o){var c=o.deletions;if(c!==null)for(var m=0;m<c.length;m++){var x=c[m];try{var T=i,N=o,z=N;e:for(;z!==null;){switch(z.tag){case 5:sn=z.stateNode,Zn=!1;break e;case 3:sn=z.stateNode.containerInfo,Zn=!0;break e;case 4:sn=z.stateNode.containerInfo,Zn=!0;break e}z=z.return}if(sn===null)throw Error(a(160));xs(T,N,x),sn=null,Zn=!1;var Y=x.alternate;Y!==null&&(Y.return=null),x.return=null}catch(se){wn(x,o,se)}}if(o.subtreeFlags&12854)for(o=o.child;o!==null;)gg(o,i),o=o.sibling}function gg(i,o){var c=i.alternate,m=i.flags;switch(i.tag){case 0:case 11:case 14:case 15:if(er(o,i),yi(i),m&4){try{Es(3,i,i.return),Hd(3,i)}catch(Qe){wn(i,i.return,Qe)}try{Es(5,i,i.return)}catch(Qe){wn(i,i.return,Qe)}}break;case 1:er(o,i),yi(i),m&512&&c!==null&&ys(c,c.return);break;case 5:if(er(o,i),yi(i),m&512&&c!==null&&ys(c,c.return),i.flags&32){var x=i.stateNode;try{At(x,"")}catch(Qe){wn(i,i.return,Qe)}}if(m&4&&(x=i.stateNode,x!=null)){var T=i.memoizedProps,N=c!==null?c.memoizedProps:T,z=i.type,Y=i.updateQueue;if(i.updateQueue=null,Y!==null)try{z==="input"&&T.type==="radio"&&T.name!=null&&yr(x,T),Kt(z,N);var se=Kt(z,T);for(N=0;N<Y.length;N+=2){var be=Y[N],Te=Y[N+1];be==="style"?It(x,Te):be==="dangerouslySetInnerHTML"?yt(x,Te):be==="children"?At(x,Te):W(x,be,Te,se)}switch(z){case"input":$n(x,T);break;case"textarea":di(x,T);break;case"select":var ye=x._wrapperState.wasMultiple;x._wrapperState.wasMultiple=!!T.multiple;var Ue=T.value;Ue!=null?ci(x,!!T.multiple,Ue,!1):ye!==!!T.multiple&&(T.defaultValue!=null?ci(x,!!T.multiple,T.defaultValue,!0):ci(x,!!T.multiple,T.multiple?[]:"",!1))}x[au]=T}catch(Qe){wn(i,i.return,Qe)}}break;case 6:if(er(o,i),yi(i),m&4){if(i.stateNode===null)throw Error(a(162));x=i.stateNode,T=i.memoizedProps;try{x.nodeValue=T}catch(Qe){wn(i,i.return,Qe)}}break;case 3:if(er(o,i),yi(i),m&4&&c!==null&&c.memoizedState.isDehydrated)try{bl(o.containerInfo)}catch(Qe){wn(i,i.return,Qe)}break;case 4:er(o,i),yi(i);break;case 13:er(o,i),yi(i),x=i.child,x.flags&8192&&(T=x.memoizedState!==null,x.stateNode.isHidden=T,!T||x.alternate!==null&&x.alternate.memoizedState!==null||(Vd=yn())),m&4&&ws(i);break;case 22:if(be=c!==null&&c.memoizedState!==null,i.mode&1?(sr=(se=sr)||be,er(o,i),sr=se):er(o,i),yi(i),m&8192){if(se=i.memoizedState!==null,(i.stateNode.isHidden=se)&&!be&&i.mode&1)for(ze=i,be=i.child;be!==null;){for(Te=ze=be;ze!==null;){switch(ye=ze,Ue=ye.child,ye.tag){case 0:case 11:case 14:case 15:Es(4,ye,ye.return);break;case 1:ys(ye,ye.return);var Ve=ye.stateNode;if(typeof Ve.componentWillUnmount=="function"){m=ye,c=ye.return;try{o=m,Ve.props=o.memoizedProps,Ve.state=o.memoizedState,Ve.componentWillUnmount()}catch(Qe){wn(m,c,Qe)}}break;case 5:ys(ye,ye.return);break;case 22:if(ye.memoizedState!==null){vg(Te);continue}}Ue!==null?(Ue.return=ye,ze=Ue):vg(Te)}be=be.sibling}e:for(be=null,Te=i;;){if(Te.tag===5){if(be===null){be=Te;try{x=Te.stateNode,se?(T=x.style,typeof T.setProperty=="function"?T.setProperty("display","none","important"):T.display="none"):(z=Te.stateNode,Y=Te.memoizedProps.style,N=Y!=null&&Y.hasOwnProperty("display")?Y.display:null,z.style.display=dt("display",N))}catch(Qe){wn(i,i.return,Qe)}}}else if(Te.tag===6){if(be===null)try{Te.stateNode.nodeValue=se?"":Te.memoizedProps}catch(Qe){wn(i,i.return,Qe)}}else if((Te.tag!==22&&Te.tag!==23||Te.memoizedState===null||Te===i)&&Te.child!==null){Te.child.return=Te,Te=Te.child;continue}if(Te===i)break e;for(;Te.sibling===null;){if(Te.return===null||Te.return===i)break e;be===Te&&(be=null),Te=Te.return}be===Te&&(be=null),Te.sibling.return=Te.return,Te=Te.sibling}}break;case 19:er(o,i),yi(i),m&4&&ws(i);break;case 21:break;default:er(o,i),yi(i)}}function yi(i){var o=i.flags;if(o&2){try{e:{for(var c=i.return;c!==null;){if(uh(c)){var m=c;break e}c=c.return}throw Error(a(160))}switch(m.tag){case 5:var x=m.stateNode;m.flags&32&&(At(x,""),m.flags&=-33);var T=mg(i);bs(i,T,x);break;case 3:case 4:var N=m.stateNode.containerInfo,z=mg(i);Kl(i,z,N);break;default:throw Error(a(161))}}catch(Y){wn(i,i.return,Y)}i.flags&=-3}o&4096&&(i.flags&=-4097)}function Iy(i,o,c){ze=i,sh(i)}function sh(i,o,c){for(var m=(i.mode&1)!==0;ze!==null;){var x=ze,T=x.child;if(x.tag===22&&m){var N=x.memoizedState!==null||vs;if(!N){var z=x.alternate,Y=z!==null&&z.memoizedState!==null||sr;z=vs;var se=sr;if(vs=N,(sr=Y)&&!se)for(ze=x;ze!==null;)N=ze,Y=N.child,N.tag===22&&N.memoizedState!==null?lh(x):Y!==null?(Y.return=N,ze=Y):lh(x);for(;T!==null;)ze=T,sh(T),T=T.sibling;ze=x,vs=z,sr=se}Ts(i)}else x.subtreeFlags&8772&&T!==null?(T.return=x,ze=T):Ts(i)}}function Ts(i){for(;ze!==null;){var o=ze;if(o.flags&8772){var c=o.alternate;try{if(o.flags&8772)switch(o.tag){case 0:case 11:case 15:sr||Hd(5,o);break;case 1:var m=o.stateNode;if(o.flags&4&&!sr)if(c===null)m.componentDidMount();else{var x=o.elementType===o.type?c.memoizedProps:Gr(o.type,c.memoizedProps);m.componentDidUpdate(x,c.memoizedState,m.__reactInternalSnapshotBeforeUpdate)}var T=o.updateQueue;T!==null&&eg(o,T,m);break;case 3:var N=o.updateQueue;if(N!==null){if(c=null,o.child!==null)switch(o.child.tag){case 5:c=o.child.stateNode;break;case 1:c=o.child.stateNode}eg(o,N,c)}break;case 5:var z=o.stateNode;if(c===null&&o.flags&4){c=z;var Y=o.memoizedProps;switch(o.type){case"button":case"input":case"select":case"textarea":Y.autoFocus&&c.focus();break;case"img":Y.src&&(c.src=Y.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(o.memoizedState===null){var se=o.alternate;if(se!==null){var be=se.memoizedState;if(be!==null){var Te=be.dehydrated;Te!==null&&bl(Te)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(a(163))}sr||o.flags&512&&zd(o)}catch(ye){wn(o,o.return,ye)}}if(o===i){ze=null;break}if(c=o.sibling,c!==null){c.return=o.return,ze=c;break}ze=o.return}}function vg(i){for(;ze!==null;){var o=ze;if(o===i){ze=null;break}var c=o.sibling;if(c!==null){c.return=o.return,ze=c;break}ze=o.return}}function lh(i){for(;ze!==null;){var o=ze;try{switch(o.tag){case 0:case 11:case 15:var c=o.return;try{Hd(4,o)}catch(Y){wn(o,c,Y)}break;case 1:var m=o.stateNode;if(typeof m.componentDidMount=="function"){var x=o.return;try{m.componentDidMount()}catch(Y){wn(o,x,Y)}}var T=o.return;try{zd(o)}catch(Y){wn(o,T,Y)}break;case 5:var N=o.return;try{zd(o)}catch(Y){wn(o,N,Y)}}}catch(Y){wn(o,o.return,Y)}if(o===i){ze=null;break}var z=o.sibling;if(z!==null){z.return=o.return,ze=z;break}ze=o.return}}var My=Math.ceil,gu=J.ReactCurrentDispatcher,jd=J.ReactCurrentOwner,Ma=J.ReactCurrentBatchConfig,_t=0,xn=null,tn=null,Hn=0,Kr=0,Ss=vt(0),zn=0,Jl=null,vu=0,Cs=0,ch=0,Ao=null,Sr=null,Vd=0,_s=1/0,Qi=null,Yd=!1,dh=null,Pa=null,ks=!1,Fa=null,Wd=0,Zl=0,qd=null,ec=-1,yu=0;function tr(){return _t&6?yn():ec!==-1?ec:ec=yn()}function Gi(i){return i.mode&1?_t&2&&Hn!==0?Hn&-Hn:cd.transition!==null?(yu===0&&(yu=Hc()),yu):(i=Vt,i!==0||(i=window.event,i=i===void 0?16:vp(i.type)),i):1}function fn(i,o,c,m){if(50<Zl)throw Zl=0,qd=null,Error(a(185));Xo(i,c,m),(!(_t&2)||i!==xn)&&(i===xn&&(!(_t&2)&&(Cs|=c),zn===4&&Ei(i,Hn)),jn(i,m),c===1&&_t===0&&!(o.mode&1)&&(_s=yn()+500,Jn&&Vr()))}function jn(i,o){var c=i.callbackNode;Bc(i,o);var m=Xa(i,i===xn?Hn:0);if(m===0)c!==null&&r0(c),i.callbackNode=null,i.callbackPriority=0;else if(o=m&-m,i.callbackPriority!==o){if(c!=null&&r0(c),o===1)i.tag===0?Vp(As.bind(null,i)):jp(As.bind(null,i)),Bp(function(){!(_t&6)&&Vr()}),c=null;else{switch(hp(m)){case 1:c=Ii;break;case 4:c=Ct;break;case 16:c=po;break;case 536870912:c=cp;break;default:c=po}c=Cg(c,Qd.bind(null,i))}i.callbackPriority=o,i.callbackNode=c}}function Qd(i,o){if(ec=-1,yu=0,_t&6)throw Error(a(327));var c=i.callbackNode;if(Rs()&&i.callbackNode!==c)return null;var m=Xa(i,i===xn?Hn:0);if(m===0)return null;if(m&30||m&i.expiredLanes||o)o=$d(i,m);else{o=m;var x=_t;_t|=2;var T=Eg();(xn!==i||Hn!==o)&&(Qi=null,_s=yn()+500,bu(i,o));do try{Fy();break}catch(z){yg(i,z)}while(!0);fa(),gu.current=T,_t=x,tn!==null?o=0:(xn=null,Hn=0,o=zn)}if(o!==0){if(o===2&&(x=fp(i),x!==0&&(m=x,o=Eu(i,x))),o===1)throw c=Jl,bu(i,0),Ei(i,m),jn(i,yn()),c;if(o===6)Ei(i,m);else{if(x=i.current.alternate,!(m&30)&&!ph(x)&&(o=$d(i,m),o===2&&(T=fp(i),T!==0&&(m=T,o=Eu(i,T))),o===1))throw c=Jl,bu(i,0),Ei(i,m),jn(i,yn()),c;switch(i.finishedWork=x,i.finishedLanes=m,o){case 0:case 1:throw Error(a(345));case 2:Ro(i,Sr,Qi);break;case 3:if(Ei(i,m),(m&130023424)===m&&(o=Vd+500-yn(),10<o)){if(Xa(i,0)!==0)break;if(x=i.suspendedLanes,(x&m)!==m){tr(),i.pingedLanes|=i.suspendedLanes&x;break}i.timeoutHandle=ru(Ro.bind(null,i,Sr,Qi),o);break}Ro(i,Sr,Qi);break;case 4:if(Ei(i,m),(m&4194240)===m)break;for(o=i.eventTimes,x=-1;0<m;){var N=31-wa(m);T=1<<N,N=o[N],N>x&&(x=N),m&=~T}if(m=x,m=yn()-m,m=(120>m?120:480>m?480:1080>m?1080:1920>m?1920:3e3>m?3e3:4320>m?4320:1960*My(m/1960))-m,10<m){i.timeoutHandle=ru(Ro.bind(null,i,Sr,Qi),m);break}Ro(i,Sr,Qi);break;case 5:Ro(i,Sr,Qi);break;default:throw Error(a(329))}}}return jn(i,yn()),i.callbackNode===c?Qd.bind(null,i):null}function Eu(i,o){var c=Ao;return i.current.memoizedState.isDehydrated&&(bu(i,o).flags|=256),i=$d(i,o),i!==2&&(o=Sr,Sr=c,o!==null&&fh(o)),i}function fh(i){Sr===null?Sr=i:Sr.push.apply(Sr,i)}function ph(i){for(var o=i;;){if(o.flags&16384){var c=o.updateQueue;if(c!==null&&(c=c.stores,c!==null))for(var m=0;m<c.length;m++){var x=c[m],T=x.getSnapshot;x=x.value;try{if(!Ca(T(),x))return!1}catch{return!1}}}if(c=o.child,o.subtreeFlags&16384&&c!==null)c.return=o,o=c;else{if(o===i)break;for(;o.sibling===null;){if(o.return===null||o.return===i)return!0;o=o.return}o.sibling.return=o.return,o=o.sibling}}return!0}function Ei(i,o){for(o&=~ch,o&=~Cs,i.suspendedLanes|=o,i.pingedLanes&=~o,i=i.expirationTimes;0<o;){var c=31-wa(o),m=1<<c;i[c]=-1,o&=~m}}function As(i){if(_t&6)throw Error(a(327));Rs();var o=Xa(i,0);if(!(o&1))return jn(i,yn()),null;var c=$d(i,o);if(i.tag!==0&&c===2){var m=fp(i);m!==0&&(o=m,c=Eu(i,m))}if(c===1)throw c=Jl,bu(i,0),Ei(i,o),jn(i,yn()),c;if(c===6)throw Error(a(345));return i.finishedWork=i.current.alternate,i.finishedLanes=o,Ro(i,Sr,Qi),jn(i,yn()),null}function hh(i,o){var c=_t;_t|=1;try{return i(o)}finally{_t=c,_t===0&&(_s=yn()+500,Jn&&Vr())}}function bi(i){Fa!==null&&Fa.tag===0&&!(_t&6)&&Rs();var o=_t;_t|=1;var c=Ma.transition,m=Vt;try{if(Ma.transition=null,Vt=1,i)return i()}finally{Vt=m,Ma.transition=c,_t=o,!(_t&6)&&Vr()}}function Gd(){Kr=Ss.current,Bt(Ss)}function bu(i,o){i.finishedWork=null,i.finishedLanes=0;var c=i.timeoutHandle;if(c!==-1&&(i.timeoutHandle=-1,W0(c)),tn!==null)for(c=tn.return;c!==null;){var m=c;switch(Wp(m),m.tag){case 1:m=m.type.childContextTypes,m!=null&&Aa();break;case 3:os(),Bt(En),Bt(lt),Jp();break;case 5:Kp(m);break;case 4:os();break;case 13:Bt(un);break;case 19:Bt(un);break;case 10:Gp(m.type._context);break;case 22:case 23:Gd()}c=c.return}if(xn=i,tn=i=No(i.current,null),Hn=Kr=o,zn=0,Jl=null,ch=Cs=vu=0,Sr=Ao=null,uu!==null){for(o=0;o<uu.length;o++)if(c=uu[o],m=c.interleaved,m!==null){c.interleaved=null;var x=m.next,T=c.pending;if(T!==null){var N=T.next;T.next=x,m.next=N}c.pending=m}uu=null}return i}function yg(i,o){do{var c=tn;try{if(fa(),vd.current=wr,pa){for(var m=Ke.memoizedState;m!==null;){var x=m.queue;x!==null&&(x.pending=null),m=m.next}pa=!1}if($e=0,xt=ct=Ke=null,us=!1,jl=0,jd.current=null,c===null||c.return===null){zn=1,Jl=o,tn=null;break}e:{var T=i,N=c.return,z=c,Y=o;if(o=Hn,z.flags|=32768,Y!==null&&typeof Y=="object"&&typeof Y.then=="function"){var se=Y,be=z,Te=be.tag;if(!(be.mode&1)&&(Te===0||Te===11||Te===15)){var ye=be.alternate;ye?(be.updateQueue=ye.updateQueue,be.memoizedState=ye.memoizedState,be.lanes=ye.lanes):(be.updateQueue=null,be.memoizedState=null)}var Ue=lg(N);if(Ue!==null){Ue.flags&=-257,rh(Ue,N,z,T,o),Ue.mode&1&&Ql(T,se,o),o=Ue,Y=se;var Ve=o.updateQueue;if(Ve===null){var Qe=new Set;Qe.add(Y),o.updateQueue=Qe}else Ve.add(Y);break e}else{if(!(o&1)){Ql(T,se,o),tc();break e}Y=Error(a(426))}}else if(en&&z.mode&1){var kn=lg(N);if(kn!==null){!(kn.flags&65536)&&(kn.flags|=256),rh(kn,N,z,T,o),Qp(_o(Y,z));break e}}T=Y=_o(Y,z),zn!==4&&(zn=2),Ao===null?Ao=[T]:Ao.push(T),T=N;do{switch(T.tag){case 3:T.flags|=65536,o&=-o,T.lanes|=o;var ee=ug(T,Y,o);Z0(T,ee);break e;case 1:z=Y;var Q=T.type,oe=T.stateNode;if(!(T.flags&128)&&(typeof Q.getDerivedStateFromError=="function"||oe!==null&&typeof oe.componentDidCatch=="function"&&(Pa===null||!Pa.has(oe)))){T.flags|=65536,o&=-o,T.lanes|=o;var ke=sg(T,z,o);Z0(T,ke);break e}}T=T.return}while(T!==null)}xg(c)}catch(Xe){o=Xe,tn===c&&c!==null&&(tn=c=c.return);continue}break}while(!0)}function Eg(){var i=gu.current;return gu.current=wr,i===null?wr:i}function tc(){(zn===0||zn===3||zn===2)&&(zn=4),xn===null||!(vu&268435455)&&!(Cs&268435455)||Ei(xn,Hn)}function $d(i,o){var c=_t;_t|=2;var m=Eg();(xn!==i||Hn!==o)&&(Qi=null,bu(i,o));do try{Py();break}catch(x){yg(i,x)}while(!0);if(fa(),_t=c,gu.current=m,tn!==null)throw Error(a(261));return xn=null,Hn=0,zn}function Py(){for(;tn!==null;)bg(tn)}function Fy(){for(;tn!==null&&!iy();)bg(tn)}function bg(i){var o=Sg(i.alternate,i,Kr);i.memoizedProps=i.pendingProps,o===null?xg(i):tn=o,jd.current=null}function xg(i){var o=i;do{var c=o.alternate;if(i=o.return,o.flags&32768){if(c=Oy(c,o),c!==null){c.flags&=32767,tn=c;return}if(i!==null)i.flags|=32768,i.subtreeFlags=0,i.deletions=null;else{zn=6,tn=null;return}}else if(c=Dy(c,o,Kr),c!==null){tn=c;return}if(o=o.sibling,o!==null){tn=o;return}tn=o=i}while(o!==null);zn===0&&(zn=5)}function Ro(i,o,c){var m=Vt,x=Ma.transition;try{Ma.transition=null,Vt=1,Uy(i,o,c,m)}finally{Ma.transition=x,Vt=m}return null}function Uy(i,o,c,m){do Rs();while(Fa!==null);if(_t&6)throw Error(a(327));c=i.finishedWork;var x=i.finishedLanes;if(c===null)return null;if(i.finishedWork=null,i.finishedLanes=0,c===i.current)throw Error(a(177));i.callbackNode=null,i.callbackPriority=0;var T=c.lanes|c.childLanes;if(ly(i,T),i===xn&&(tn=xn=null,Hn=0),!(c.subtreeFlags&2064)&&!(c.flags&2064)||ks||(ks=!0,Cg(po,function(){return Rs(),null})),T=(c.flags&15990)!==0,c.subtreeFlags&15990||T){T=Ma.transition,Ma.transition=null;var N=Vt;Vt=1;var z=_t;_t|=4,jd.current=null,Ly(i,c),gg(c,i),Zc(nu),Ko=!!Fp,nu=Fp=null,i.current=c,Iy(c),oy(),_t=z,Vt=N,Ma.transition=T}else i.current=c;if(ks&&(ks=!1,Fa=i,Wd=x),T=i.pendingLanes,T===0&&(Pa=null),i0(c.stateNode),jn(i,yn()),o!==null)for(m=i.onRecoverableError,c=0;c<o.length;c++)x=o[c],m(x.value,{componentStack:x.stack,digest:x.digest});if(Yd)throw Yd=!1,i=dh,dh=null,i;return Wd&1&&i.tag!==0&&Rs(),T=i.pendingLanes,T&1?i===qd?Zl++:(Zl=0,qd=i):Zl=0,Vr(),null}function Rs(){if(Fa!==null){var i=hp(Wd),o=Ma.transition,c=Vt;try{if(Ma.transition=null,Vt=16>i?16:i,Fa===null)var m=!1;else{if(i=Fa,Fa=null,Wd=0,_t&6)throw Error(a(331));var x=_t;for(_t|=4,ze=i.current;ze!==null;){var T=ze,N=T.child;if(ze.flags&16){var z=T.deletions;if(z!==null){for(var Y=0;Y<z.length;Y++){var se=z[Y];for(ze=se;ze!==null;){var be=ze;switch(be.tag){case 0:case 11:case 15:Es(8,be,T)}var Te=be.child;if(Te!==null)Te.return=be,ze=Te;else for(;ze!==null;){be=ze;var ye=be.sibling,Ue=be.return;if(hg(be),be===se){ze=null;break}if(ye!==null){ye.return=Ue,ze=ye;break}ze=Ue}}}var Ve=T.alternate;if(Ve!==null){var Qe=Ve.child;if(Qe!==null){Ve.child=null;do{var kn=Qe.sibling;Qe.sibling=null,Qe=kn}while(Qe!==null)}}ze=T}}if(T.subtreeFlags&2064&&N!==null)N.return=T,ze=N;else e:for(;ze!==null;){if(T=ze,T.flags&2048)switch(T.tag){case 0:case 11:case 15:Es(9,T,T.return)}var ee=T.sibling;if(ee!==null){ee.return=T.return,ze=ee;break e}ze=T.return}}var Q=i.current;for(ze=Q;ze!==null;){N=ze;var oe=N.child;if(N.subtreeFlags&2064&&oe!==null)oe.return=N,ze=oe;else e:for(N=Q;ze!==null;){if(z=ze,z.flags&2048)try{switch(z.tag){case 0:case 11:case 15:Hd(9,z)}}catch(Xe){wn(z,z.return,Xe)}if(z===N){ze=null;break e}var ke=z.sibling;if(ke!==null){ke.return=z.return,ze=ke;break e}ze=z.return}}if(_t=x,Vr(),$a&&typeof $a.onPostCommitFiberRoot=="function")try{$a.onPostCommitFiberRoot(ml,i)}catch{}m=!0}return m}finally{Vt=c,Ma.transition=o}}return!1}function wg(i,o,c){o=_o(c,o),o=ug(i,o,1),i=So(i,o,1),o=tr(),i!==null&&(Xo(i,1,o),jn(i,o))}function wn(i,o,c){if(i.tag===3)wg(i,i,c);else for(;o!==null;){if(o.tag===3){wg(o,i,c);break}else if(o.tag===1){var m=o.stateNode;if(typeof o.type.getDerivedStateFromError=="function"||typeof m.componentDidCatch=="function"&&(Pa===null||!Pa.has(m))){i=_o(c,i),i=sg(o,i,1),o=So(o,i,1),i=tr(),o!==null&&(Xo(o,1,i),jn(o,i));break}}o=o.return}}function By(i,o,c){var m=i.pingCache;m!==null&&m.delete(o),o=tr(),i.pingedLanes|=i.suspendedLanes&c,xn===i&&(Hn&c)===c&&(zn===4||zn===3&&(Hn&130023424)===Hn&&500>yn()-Vd?bu(i,0):ch|=c),jn(i,o)}function Tg(i,o){o===0&&(i.mode&1?(o=Vu,Vu<<=1,!(Vu&130023424)&&(Vu=4194304)):o=1);var c=tr();i=Yi(i,o),i!==null&&(Xo(i,o,c),jn(i,c))}function mh(i){var o=i.memoizedState,c=0;o!==null&&(c=o.retryLane),Tg(i,c)}function Hy(i,o){var c=0;switch(i.tag){case 13:var m=i.stateNode,x=i.memoizedState;x!==null&&(c=x.retryLane);break;case 19:m=i.stateNode;break;default:throw Error(a(314))}m!==null&&m.delete(o),Tg(i,c)}var Sg;Sg=function(i,o,c){if(i!==null)if(i.memoizedProps!==o.pendingProps||En.current)$r=!0;else{if(!(i.lanes&c)&&!(o.flags&128))return $r=!1,qi(i,o,c);$r=!!(i.flags&131072)}else $r=!1,en&&o.flags&1048576&&Yp(o,ts,o.index);switch(o.lanes=0,o.tag){case 2:var m=o.type;Xl(i,o),i=o.pendingProps;var x=ka(o,lt.current);rs(o,c),x=ve(null,o,m,i,x,c);var T=Mn();return o.flags|=1,typeof x=="object"&&x!==null&&typeof x.render=="function"&&x.$$typeof===void 0?(o.tag=1,o.memoizedState=null,o.updateQueue=null,on(m)?(T=!0,id(o)):T=!1,o.memoizedState=x.state!==null&&x.state!==void 0?x.state:null,fd(o),x.updater=pu,o.stateNode=x,x._reactInternals=o,th(o,m,i,c),o=Id(null,o,m,!0,T,c)):(o.tag=0,en&&T&&od(o),Cn(null,o,x,c),o=o.child),o;case 16:m=o.elementType;e:{switch(Xl(i,o),i=o.pendingProps,x=m._init,m=x(m._payload),o.type=m,x=o.tag=zy(m),i=Gr(m,i),x){case 0:o=gt(null,o,m,i,c);break e;case 1:o=Gl(null,o,m,i,c);break e;case 11:o=hs(null,o,m,i,c);break e;case 14:o=ko(null,o,m,Gr(m.type,i),c);break e}throw Error(a(306,m,""))}return o;case 0:return m=o.type,x=o.pendingProps,x=o.elementType===m?x:Gr(m,x),gt(i,o,m,x,c);case 1:return m=o.type,x=o.pendingProps,x=o.elementType===m?x:Gr(m,x),Gl(i,o,m,x,c);case 3:e:{if(Ny(o),i===null)throw Error(a(387));m=o.pendingProps,T=o.memoizedState,x=T.element,as(i,o),hd(o,m,null,c);var N=o.memoizedState;if(m=N.element,T.isDehydrated)if(T={element:m,isDehydrated:!1,cache:N.cache,pendingSuspenseBoundaries:N.pendingSuspenseBoundaries,transitions:N.transitions},o.updateQueue.baseState=T,o.memoizedState=T,o.flags&256){x=_o(Error(a(423)),o),o=dg(i,o,m,c,x);break e}else if(m!==x){x=_o(Error(a(424)),o),o=dg(i,o,m,c,x);break e}else for(qr=ei(o.stateNode.containerInfo.firstChild),da=o,en=!0,Na=null,c=K0(o,null,m,c),o.child=c;c;)c.flags=c.flags&-3|4096,c=c.sibling;else{if(dn(),m===x){o=_n(i,o,c);break e}Cn(i,o,m,c)}o=o.child}return o;case 5:return tg(o),i===null&&sd(o),m=o.type,x=o.pendingProps,T=i!==null?i.memoizedProps:null,N=x.children,Il(m,x)?N=null:T!==null&&Il(m,T)&&(o.flags|=32),hu(i,o),Cn(i,o,N,c),o.child;case 6:return i===null&&sd(o),null;case 13:return fg(i,o,c);case 4:return Xp(o,o.stateNode.containerInfo),m=o.pendingProps,i===null?o.child=ns(o,null,m,c):Cn(i,o,m,c),o.child;case 11:return m=o.type,x=o.pendingProps,x=o.elementType===m?x:Gr(m,x),hs(i,o,m,x,c);case 7:return Cn(i,o,o.pendingProps,c),o.child;case 8:return Cn(i,o,o.pendingProps.children,c),o.child;case 12:return Cn(i,o,o.pendingProps.children,c),o.child;case 10:e:{if(m=o.type._context,x=o.pendingProps,T=o.memoizedProps,N=x.value,zt(Vi,m._currentValue),m._currentValue=N,T!==null)if(Ca(T.value,N)){if(T.children===x.children&&!En.current){o=_n(i,o,c);break e}}else for(T=o.child,T!==null&&(T.return=o);T!==null;){var z=T.dependencies;if(z!==null){N=T.child;for(var Y=z.firstContext;Y!==null;){if(Y.context===m){if(T.tag===1){Y=Qr(-1,c&-c),Y.tag=2;var se=T.updateQueue;if(se!==null){se=se.shared;var be=se.pending;be===null?Y.next=Y:(Y.next=be.next,be.next=Y),se.pending=Y}}T.lanes|=c,Y=T.alternate,Y!==null&&(Y.lanes|=c),$p(T.return,c,o),z.lanes|=c;break}Y=Y.next}}else if(T.tag===10)N=T.type===o.type?null:T.child;else if(T.tag===18){if(N=T.return,N===null)throw Error(a(341));N.lanes|=c,z=N.alternate,z!==null&&(z.lanes|=c),$p(N,c,o),N=T.sibling}else N=T.child;if(N!==null)N.return=T;else for(N=T;N!==null;){if(N===o){N=null;break}if(T=N.sibling,T!==null){T.return=N.return,N=T;break}N=N.return}T=N}Cn(i,o,x.children,c),o=o.child}return o;case 9:return x=o.type,m=o.pendingProps.children,rs(o,c),x=Oa(x),m=m(x),o.flags|=1,Cn(i,o,m,c),o.child;case 14:return m=o.type,x=Gr(m,o.pendingProps),x=Gr(m.type,x),ko(i,o,m,x,c);case 15:return Ld(i,o,o.type,o.pendingProps,c);case 17:return m=o.type,x=o.pendingProps,x=o.elementType===m?x:Gr(m,x),Xl(i,o),o.tag=1,on(m)?(i=!0,id(o)):i=!1,rs(o,c),ag(o,m,x),th(o,m,x,c),Id(null,o,m,!0,i,c);case 19:return ih(i,o,c);case 22:return Xr(i,o,c)}throw Error(a(156,o.tag))};function Cg(i,o){return lp(i,o)}function _g(i,o,c,m){this.tag=i,this.key=c,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=o,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=m,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ua(i,o,c,m){return new _g(i,o,c,m)}function gh(i){return i=i.prototype,!(!i||!i.isReactComponent)}function zy(i){if(typeof i=="function")return gh(i)?1:0;if(i!=null){if(i=i.$$typeof,i===ge)return 11;if(i===qe)return 14}return 2}function No(i,o){var c=i.alternate;return c===null?(c=Ua(i.tag,o,i.key,i.mode),c.elementType=i.elementType,c.type=i.type,c.stateNode=i.stateNode,c.alternate=i,i.alternate=c):(c.pendingProps=o,c.type=i.type,c.flags=0,c.subtreeFlags=0,c.deletions=null),c.flags=i.flags&14680064,c.childLanes=i.childLanes,c.lanes=i.lanes,c.child=i.child,c.memoizedProps=i.memoizedProps,c.memoizedState=i.memoizedState,c.updateQueue=i.updateQueue,o=i.dependencies,c.dependencies=o===null?null:{lanes:o.lanes,firstContext:o.firstContext},c.sibling=i.sibling,c.index=i.index,c.ref=i.ref,c}function Xd(i,o,c,m,x,T){var N=2;if(m=i,typeof i=="function")gh(i)&&(N=1);else if(typeof i=="string")N=5;else e:switch(i){case te:return xu(c.children,x,T,o);case we:N=8,x|=8;break;case Me:return i=Ua(12,c,o,x|2),i.elementType=Me,i.lanes=T,i;case Re:return i=Ua(13,c,o,x),i.elementType=Re,i.lanes=T,i;case Oe:return i=Ua(19,c,o,x),i.elementType=Oe,i.lanes=T,i;case at:return Kd(c,x,T,o);default:if(typeof i=="object"&&i!==null)switch(i.$$typeof){case K:N=10;break e;case Ee:N=9;break e;case ge:N=11;break e;case qe:N=14;break e;case je:N=16,m=null;break e}throw Error(a(130,i==null?i:typeof i,""))}return o=Ua(N,c,o,x),o.elementType=i,o.type=m,o.lanes=T,o}function xu(i,o,c,m){return i=Ua(7,i,m,o),i.lanes=c,i}function Kd(i,o,c,m){return i=Ua(22,i,m,o),i.elementType=at,i.lanes=c,i.stateNode={isHidden:!1},i}function Jd(i,o,c){return i=Ua(6,i,null,o),i.lanes=c,i}function nc(i,o,c){return o=Ua(4,i.children!==null?i.children:[],i.key,o),o.lanes=c,o.stateNode={containerInfo:i.containerInfo,pendingChildren:null,implementation:i.implementation},o}function rc(i,o,c,m,x){this.tag=o,this.containerInfo=i,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=pp(0),this.expirationTimes=pp(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=pp(0),this.identifierPrefix=m,this.onRecoverableError=x,this.mutableSourceEagerHydrationData=null}function vh(i,o,c,m,x,T,N,z,Y){return i=new rc(i,o,c,z,Y),o===1?(o=1,T===!0&&(o|=8)):o=0,T=Ua(3,null,null,o),i.current=T,T.stateNode=i,T.memoizedState={element:m,isDehydrated:c,cache:null,transitions:null,pendingSuspenseBoundaries:null},fd(T),i}function kg(i,o,c){var m=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:X,key:m==null?null:""+m,children:i,containerInfo:o,implementation:c}}function yh(i){if(!i)return mi;i=i._reactInternals;e:{if(pi(i)!==i||i.tag!==1)throw Error(a(170));var o=i;do{switch(o.tag){case 3:o=o.stateNode.context;break e;case 1:if(on(o.type)){o=o.stateNode.__reactInternalMemoizedMergedChildContext;break e}}o=o.return}while(o!==null);throw Error(a(171))}if(i.tag===1){var c=i.type;if(on(c))return Fl(i,c,o)}return o}function Eh(i,o,c,m,x,T,N,z,Y){return i=vh(c,m,!0,i,x,T,N,z,Y),i.context=yh(null),c=i.current,m=tr(),x=Gi(c),T=Qr(m,x),T.callback=o??null,So(c,T,x),i.current.lanes=x,Xo(i,x,m),jn(i,m),i}function Zd(i,o,c,m){var x=o.current,T=tr(),N=Gi(x);return c=yh(c),o.context===null?o.context=c:o.pendingContext=c,o=Qr(T,N),o.payload={element:i},m=m===void 0?null:m,m!==null&&(o.callback=m),i=So(x,o,N),i!==null&&(fn(i,x,N,T),pd(i,x,N)),N}function ac(i){if(i=i.current,!i.child)return null;switch(i.child.tag){case 5:return i.child.stateNode;default:return i.child.stateNode}}function Ag(i,o){if(i=i.memoizedState,i!==null&&i.dehydrated!==null){var c=i.retryLane;i.retryLane=c!==0&&c<o?c:o}}function bh(i,o){Ag(i,o),(i=i.alternate)&&Ag(i,o)}function jy(){return null}var xh=typeof reportError=="function"?reportError:function(i){console.error(i)};function ef(i){this._internalRoot=i}ic.prototype.render=ef.prototype.render=function(i){var o=this._internalRoot;if(o===null)throw Error(a(409));Zd(i,o,null,null)},ic.prototype.unmount=ef.prototype.unmount=function(){var i=this._internalRoot;if(i!==null){this._internalRoot=null;var o=i.containerInfo;bi(function(){Zd(null,i,null,null)}),o[zi]=null}};function ic(i){this._internalRoot=i}ic.prototype.unstable_scheduleHydration=function(i){if(i){var o=l0();i={blockedOn:null,target:i,priority:o};for(var c=0;c<Wt.length&&o!==0&&o<Wt[c].priority;c++);Wt.splice(c,0,i),c===0&&c0(i)}};function Do(i){return!(!i||i.nodeType!==1&&i.nodeType!==9&&i.nodeType!==11)}function tf(i){return!(!i||i.nodeType!==1&&i.nodeType!==9&&i.nodeType!==11&&(i.nodeType!==8||i.nodeValue!==" react-mount-point-unstable "))}function Rg(){}function Vy(i,o,c,m,x){if(x){if(typeof m=="function"){var T=m;m=function(){var se=ac(N);T.call(se)}}var N=Eh(o,m,i,0,null,!1,!1,"",Rg);return i._reactRootContainer=N,i[zi]=N.current,Zu(i.nodeType===8?i.parentNode:i),bi(),N}for(;x=i.lastChild;)i.removeChild(x);if(typeof m=="function"){var z=m;m=function(){var se=ac(Y);z.call(se)}}var Y=vh(i,0,!1,null,null,!1,!1,"",Rg);return i._reactRootContainer=Y,i[zi]=Y.current,Zu(i.nodeType===8?i.parentNode:i),bi(function(){Zd(o,Y,c,m)}),Y}function nf(i,o,c,m,x){var T=c._reactRootContainer;if(T){var N=T;if(typeof x=="function"){var z=x;x=function(){var Y=ac(N);z.call(Y)}}Zd(o,N,i,x)}else N=Vy(c,o,i,x,m);return ac(N)}s0=function(i){switch(i.tag){case 3:var o=i.stateNode;if(o.current.memoizedState.isDehydrated){var c=$o(o.pendingLanes);c!==0&&(gl(o,c|1),jn(o,yn()),!(_t&6)&&(_s=yn()+500,Vr()))}break;case 13:bi(function(){var m=Yi(i,1);if(m!==null){var x=tr();fn(m,i,1,x)}}),bh(i,1)}},zc=function(i){if(i.tag===13){var o=Yi(i,134217728);if(o!==null){var c=tr();fn(o,i,134217728,c)}bh(i,134217728)}},Yt=function(i){if(i.tag===13){var o=Gi(i),c=Yi(i,o);if(c!==null){var m=tr();fn(c,i,o,m)}bh(i,o)}},l0=function(){return Vt},mp=function(i,o){var c=Vt;try{return Vt=i,o()}finally{Vt=c}},fi=function(i,o,c){switch(o){case"input":if($n(i,c),o=c.name,c.type==="radio"&&o!=null){for(c=i;c.parentNode;)c=c.parentNode;for(c=c.querySelectorAll("input[name="+JSON.stringify(""+o)+'][type="radio"]'),o=0;o<c.length;o++){var m=c[o];if(m!==i&&m.form===i.form){var x=nt(m);if(!x)throw Error(a(90));Br(m),$n(m,x)}}}break;case"textarea":di(i,c);break;case"select":o=c.value,o!=null&&ci(i,!!c.multiple,o,!1)}},Zm=hh,e0=bi;var Yy={usingClientEntryPoint:!1,Events:[Pl,es,nt,Ic,Mc,hh]},oc={findFiberByHostInstance:_a,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},Ng={bundleType:oc.bundleType,version:oc.version,rendererPackageName:oc.rendererPackageName,rendererConfig:oc.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:J.ReactCurrentDispatcher,findHostInstanceByFiber:function(i){return i=t0(i),i===null?null:i.stateNode},findFiberByHostInstance:oc.findFiberByHostInstance||jy,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var rf=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!rf.isDisabled&&rf.supportsFiber)try{ml=rf.inject(Ng),$a=rf}catch{}}return Wa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Yy,Wa.createPortal=function(i,o){var c=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Do(o))throw Error(a(200));return kg(i,o,null,c)},Wa.createRoot=function(i,o){if(!Do(i))throw Error(a(299));var c=!1,m="",x=xh;return o!=null&&(o.unstable_strictMode===!0&&(c=!0),o.identifierPrefix!==void 0&&(m=o.identifierPrefix),o.onRecoverableError!==void 0&&(x=o.onRecoverableError)),o=vh(i,1,!1,null,null,c,!1,m,x),i[zi]=o.current,Zu(i.nodeType===8?i.parentNode:i),new ef(o)},Wa.findDOMNode=function(i){if(i==null)return null;if(i.nodeType===1)return i;var o=i._reactInternals;if(o===void 0)throw typeof i.render=="function"?Error(a(188)):(i=Object.keys(i).join(","),Error(a(268,i)));return i=t0(o),i=i===null?null:i.stateNode,i},Wa.flushSync=function(i){return bi(i)},Wa.hydrate=function(i,o,c){if(!tf(o))throw Error(a(200));return nf(null,i,o,!0,c)},Wa.hydrateRoot=function(i,o,c){if(!Do(i))throw Error(a(405));var m=c!=null&&c.hydratedSources||null,x=!1,T="",N=xh;if(c!=null&&(c.unstable_strictMode===!0&&(x=!0),c.identifierPrefix!==void 0&&(T=c.identifierPrefix),c.onRecoverableError!==void 0&&(N=c.onRecoverableError)),o=Eh(o,null,i,1,c??null,x,!1,T,N),i[zi]=o.current,Zu(i),m)for(i=0;i<m.length;i++)c=m[i],x=c._getVersion,x=x(c._source),o.mutableSourceEagerHydrationData==null?o.mutableSourceEagerHydrationData=[c,x]:o.mutableSourceEagerHydrationData.push(c,x);return new ic(o)},Wa.render=function(i,o,c){if(!tf(o))throw Error(a(200));return nf(null,i,o,!1,c)},Wa.unmountComponentAtNode=function(i){if(!tf(i))throw Error(a(40));return i._reactRootContainer?(bi(function(){nf(null,null,i,!1,function(){i._reactRootContainer=null,i[zi]=null})}),!0):!1},Wa.unstable_batchedUpdates=hh,Wa.unstable_renderSubtreeIntoContainer=function(i,o,c,m){if(!tf(c))throw Error(a(200));if(i==null||i._reactInternals===void 0)throw Error(a(38));return nf(i,o,c,!1,m)},Wa.version="18.3.1-next-f1338f8080-20240426",Wa}var qa={};/**
61
- * @license React
62
- * react-dom.development.js
63
- *
64
- * Copyright (c) Facebook, Inc. and its affiliates.
65
- *
66
- * This source code is licensed under the MIT license found in the
67
- * LICENSE file in the root directory of this source tree.
68
- */var _k;function uz(){return _k||(_k=1,process.env.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var e=Tt,n=rR(),a=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,s=!1;function f(t){s=t}function h(t){if(!s){for(var r=arguments.length,u=new Array(r>1?r-1:0),l=1;l<r;l++)u[l-1]=arguments[l];g("warn",t,u)}}function d(t){if(!s){for(var r=arguments.length,u=new Array(r>1?r-1:0),l=1;l<r;l++)u[l-1]=arguments[l];g("error",t,u)}}function g(t,r,u){{var l=a.ReactDebugCurrentFrame,p=l.getStackAddendum();p!==""&&(r+="%s",u=u.concat([p]));var v=u.map(function(w){return String(w)});v.unshift("Warning: "+r),Function.prototype.apply.call(console[t],console,v)}}var E=0,b=1,C=2,S=3,R=4,k=5,D=6,L=7,B=8,H=9,$=10,W=11,J=12,Z=13,X=14,te=15,we=16,Me=17,K=18,Ee=19,ge=21,Re=22,Oe=23,qe=24,je=25,at=!0,he=!1,De=!1,F=!1,et=!1,Et=!0,V=!1,Gt=!0,Gn=!0,Nt=!0,ar=!0,cn=new Set,Rn={},kr={};function Nn(t,r){Br(t,r),Br(t+"Capture",r)}function Br(t,r){Rn[t]&&d("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",t),Rn[t]=r;{var u=t.toLowerCase();kr[u]=t,t==="onDoubleClick"&&(kr.ondblclick=t)}for(var l=0;l<r.length;l++)cn.add(r[l])}var an=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Fn=Object.prototype.hasOwnProperty;function ir(t){{var r=typeof Symbol=="function"&&Symbol.toStringTag,u=r&&t[Symbol.toStringTag]||t.constructor.name||"Object";return u}}function yr(t){try{return $n(t),!1}catch{return!0}}function $n(t){return""+t}function oa(t,r){if(yr(t))return d("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",r,ir(t)),$n(t)}function Hr(t){if(yr(t))return d("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",ir(t)),$n(t)}function li(t,r){if(yr(t))return d("The provided `%s` prop is an unsupported type %s. This value must be coerced to a string before before using it here.",r,ir(t)),$n(t)}function ci(t,r){if(yr(t))return d("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",r,ir(t)),$n(t)}function Oi(t){if(yr(t))return d("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",ir(t)),$n(t)}function ua(t){if(yr(t))return d("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before before using it here.",ir(t)),$n(t)}var di=0,xa=1,de=2,Ce=3,tt=4,yt=5,At=6,Ne=":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",Ge=Ne+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",dt=new RegExp("^["+Ne+"]["+Ge+"]*$"),It={},$t={};function Ht(t){return Fn.call($t,t)?!0:Fn.call(It,t)?!1:dt.test(t)?($t[t]=!0,!0):(It[t]=!0,d("Invalid attribute name: `%s`",t),!1)}function Kt(t,r,u){return r!==null?r.type===di:u?!1:t.length>2&&(t[0]==="o"||t[0]==="O")&&(t[1]==="n"||t[1]==="N")}function mn(t,r,u,l){if(u!==null&&u.type===di)return!1;switch(typeof r){case"function":case"symbol":return!0;case"boolean":{if(l)return!1;if(u!==null)return!u.acceptsBooleans;var p=t.toLowerCase().slice(0,5);return p!=="data-"&&p!=="aria-"}default:return!1}}function gn(t,r,u,l){if(r===null||typeof r>"u"||mn(t,r,u,l))return!0;if(l)return!1;if(u!==null)switch(u.type){case Ce:return!r;case tt:return r===!1;case yt:return isNaN(r);case At:return isNaN(r)||r<1}return!1}function fi(t){return vn.hasOwnProperty(t)?vn[t]:null}function Dn(t,r,u,l,p,v,w){this.acceptsBooleans=r===de||r===Ce||r===tt,this.attributeName=l,this.attributeNamespace=p,this.mustUseProperty=u,this.propertyName=t,this.type=r,this.sanitizeURL=v,this.removeEmptyString=w}var vn={},Jm=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];Jm.forEach(function(t){vn[t]=new Dn(t,di,!1,t,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(t){var r=t[0],u=t[1];vn[r]=new Dn(r,xa,!1,u,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(t){vn[t]=new Dn(t,de,!1,t.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(t){vn[t]=new Dn(t,de,!1,t,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"].forEach(function(t){vn[t]=new Dn(t,Ce,!1,t.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(t){vn[t]=new Dn(t,Ce,!0,t,null,!1,!1)}),["capture","download"].forEach(function(t){vn[t]=new Dn(t,tt,!1,t,null,!1,!1)}),["cols","rows","size","span"].forEach(function(t){vn[t]=new Dn(t,At,!1,t,null,!1,!1)}),["rowSpan","start"].forEach(function(t){vn[t]=new Dn(t,yt,!1,t.toLowerCase(),null,!1,!1)});var Ic=/[\-\:]([a-z])/g,Mc=function(t){return t[1].toUpperCase()};["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach(function(t){var r=t.replace(Ic,Mc);vn[r]=new Dn(r,xa,!1,t,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(t){var r=t.replace(Ic,Mc);vn[r]=new Dn(r,xa,!1,t,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(t){var r=t.replace(Ic,Mc);vn[r]=new Dn(r,xa,!1,t,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(t){vn[t]=new Dn(t,xa,!1,t.toLowerCase(),null,!1,!1)});var Zm="xlinkHref";vn[Zm]=new Dn("xlinkHref",xa,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(t){vn[t]=new Dn(t,xa,!1,t.toLowerCase(),null,!0,!0)});var e0=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*\:/i,Pc=!1;function op(t){!Pc&&e0.test(t)&&(Pc=!0,d("A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.",JSON.stringify(t)))}function fl(t,r,u,l){if(l.mustUseProperty){var p=l.propertyName;return t[p]}else{oa(u,r),l.sanitizeURL&&op(""+u);var v=l.attributeName,w=null;if(l.type===tt){if(t.hasAttribute(v)){var _=t.getAttribute(v);return _===""?!0:gn(r,u,l,!1)?_:_===""+u?u:_}}else if(t.hasAttribute(v)){if(gn(r,u,l,!1))return t.getAttribute(v);if(l.type===Ce)return u;w=t.getAttribute(v)}return gn(r,u,l,!1)?w===null?u:w:w===""+u?u:w}}function Fc(t,r,u,l){{if(!Ht(r))return;if(!t.hasAttribute(r))return u===void 0?void 0:null;var p=t.getAttribute(r);return oa(u,r),p===""+u?u:p}}function Go(t,r,u,l){var p=fi(r);if(!Kt(r,p,l)){if(gn(r,u,p,l)&&(u=null),l||p===null){if(Ht(r)){var v=r;u===null?t.removeAttribute(v):(oa(u,r),t.setAttribute(v,""+u))}return}var w=p.mustUseProperty;if(w){var _=p.propertyName;if(u===null){var A=p.type;t[_]=A===Ce?!1:""}else t[_]=u;return}var O=p.attributeName,M=p.attributeNamespace;if(u===null)t.removeAttribute(O);else{var G=p.type,q;G===Ce||G===tt&&u===!0?q="":(oa(u,O),q=""+u,p.sanitizeURL&&op(q.toString())),M?t.setAttributeNS(M,O,q):t.setAttribute(O,q)}}}var Bu=Symbol.for("react.element"),Ga=Symbol.for("react.portal"),Li=Symbol.for("react.fragment"),Hu=Symbol.for("react.strict_mode"),pl=Symbol.for("react.profiler"),up=Symbol.for("react.provider"),sp=Symbol.for("react.context"),zu=Symbol.for("react.forward_ref"),pi=Symbol.for("react.suspense"),hl=Symbol.for("react.suspense_list"),ju=Symbol.for("react.memo"),Ar=Symbol.for("react.lazy"),t0=Symbol.for("react.scope"),n0=Symbol.for("react.debug_trace_mode"),lp=Symbol.for("react.offscreen"),r0=Symbol.for("react.legacy_hidden"),iy=Symbol.for("react.cache"),oy=Symbol.for("react.tracing_marker"),yn=Symbol.iterator,uy="@@iterator";function Ii(t){if(t===null||typeof t!="object")return null;var r=yn&&t[yn]||t[uy];return typeof r=="function"?r:null}var Ct=Object.assign,po=0,a0,cp,ml,$a,i0,wa,o0;function u0(){}u0.__reactDisabledLog=!0;function sy(){{if(po===0){a0=console.log,cp=console.info,ml=console.warn,$a=console.error,i0=console.group,wa=console.groupCollapsed,o0=console.groupEnd;var t={configurable:!0,enumerable:!0,value:u0,writable:!0};Object.defineProperties(console,{info:t,log:t,warn:t,error:t,group:t,groupCollapsed:t,groupEnd:t})}po++}}function Uc(){{if(po--,po===0){var t={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Ct({},t,{value:a0}),info:Ct({},t,{value:cp}),warn:Ct({},t,{value:ml}),error:Ct({},t,{value:$a}),group:Ct({},t,{value:i0}),groupCollapsed:Ct({},t,{value:wa}),groupEnd:Ct({},t,{value:o0})})}po<0&&d("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Vu=a.ReactCurrentDispatcher,$o;function Xa(t,r,u){{if($o===void 0)try{throw Error()}catch(p){var l=p.stack.trim().match(/\n( *(at )?)/);$o=l&&l[1]||""}return`
69
- `+$o+t}}var dp=!1,Bc;{var fp=typeof WeakMap=="function"?WeakMap:Map;Bc=new fp}function Hc(t,r){if(!t||dp)return"";{var u=Bc.get(t);if(u!==void 0)return u}var l;dp=!0;var p=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var v;v=Vu.current,Vu.current=null,sy();try{if(r){var w=function(){throw Error()};if(Object.defineProperty(w.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(w,[])}catch(le){l=le}Reflect.construct(t,[],w)}else{try{w.call()}catch(le){l=le}t.call(w.prototype)}}else{try{throw Error()}catch(le){l=le}t()}}catch(le){if(le&&l&&typeof le.stack=="string"){for(var _=le.stack.split(`
70
- `),A=l.stack.split(`
71
- `),O=_.length-1,M=A.length-1;O>=1&&M>=0&&_[O]!==A[M];)M--;for(;O>=1&&M>=0;O--,M--)if(_[O]!==A[M]){if(O!==1||M!==1)do if(O--,M--,M<0||_[O]!==A[M]){var G=`
72
- `+_[O].replace(" at new "," at ");return t.displayName&&G.includes("<anonymous>")&&(G=G.replace("<anonymous>",t.displayName)),typeof t=="function"&&Bc.set(t,G),G}while(O>=1&&M>=0);break}}}finally{dp=!1,Vu.current=v,Uc(),Error.prepareStackTrace=p}var q=t?t.displayName||t.name:"",ue=q?Xa(q):"";return typeof t=="function"&&Bc.set(t,ue),ue}function pp(t,r,u){return Hc(t,!0)}function Xo(t,r,u){return Hc(t,!1)}function ly(t){var r=t.prototype;return!!(r&&r.isReactComponent)}function gl(t,r,u){if(t==null)return"";if(typeof t=="function")return Hc(t,ly(t));if(typeof t=="string")return Xa(t);switch(t){case pi:return Xa("Suspense");case hl:return Xa("SuspenseList")}if(typeof t=="object")switch(t.$$typeof){case zu:return Xo(t.render);case ju:return gl(t.type,r,u);case Ar:{var l=t,p=l._payload,v=l._init;try{return gl(v(p),r,u)}catch{}}}return""}function Vt(t){switch(t._debugOwner&&t._debugOwner.type,t._debugSource,t.tag){case k:return Xa(t.type);case we:return Xa("Lazy");case Z:return Xa("Suspense");case Ee:return Xa("SuspenseList");case E:case C:case te:return Xo(t.type);case W:return Xo(t.type.render);case b:return pp(t.type);default:return""}}function hp(t){try{var r="",u=t;do r+=Vt(u),u=u.return;while(u);return r}catch(l){return`
73
- Error generating stack: `+l.message+`
74
- `+l.stack}}function s0(t,r,u){var l=t.displayName;if(l)return l;var p=r.displayName||r.name||"";return p!==""?u+"("+p+")":u}function zc(t){return t.displayName||"Context"}function Yt(t){if(t==null)return null;if(typeof t.tag=="number"&&d("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case Li:return"Fragment";case Ga:return"Portal";case pl:return"Profiler";case Hu:return"StrictMode";case pi:return"Suspense";case hl:return"SuspenseList"}if(typeof t=="object")switch(t.$$typeof){case sp:var r=t;return zc(r)+".Consumer";case up:var u=t;return zc(u._context)+".Provider";case zu:return s0(t,t.render,"ForwardRef");case ju:var l=t.displayName||null;return l!==null?l:Yt(t.type)||"Memo";case Ar:{var p=t,v=p._payload,w=p._init;try{return Yt(w(v))}catch{return null}}}return null}function l0(t,r,u){var l=r.displayName||r.name||"";return t.displayName||(l!==""?u+"("+l+")":u)}function mp(t){return t.displayName||"Context"}function mt(t){var r=t.tag,u=t.type;switch(r){case qe:return"Cache";case H:var l=u;return mp(l)+".Consumer";case $:var p=u;return mp(p._context)+".Provider";case K:return"DehydratedFragment";case W:return l0(u,u.render,"ForwardRef");case L:return"Fragment";case k:return u;case R:return"Portal";case S:return"Root";case D:return"Text";case we:return Yt(u);case B:return u===Hu?"StrictMode":"Mode";case Re:return"Offscreen";case J:return"Profiler";case ge:return"Scope";case Z:return"Suspense";case Ee:return"SuspenseList";case je:return"TracingMarker";case b:case E:case Me:case C:case X:case te:if(typeof u=="function")return u.displayName||u.name||null;if(typeof u=="string")return u;break}return null}var vl=a.ReactDebugCurrentFrame,On=null,Ta=!1;function Sa(){{if(On===null)return null;var t=On._debugOwner;if(t!==null&&typeof t<"u")return mt(t)}return null}function yl(){return On===null?"":hp(On)}function Un(){vl.getCurrentStack=null,On=null,Ta=!1}function Wt(t){vl.getCurrentStack=t===null?null:yl,On=t,Ta=!1}function cy(){return On}function Ka(t){Ta=t}function Er(t){return""+t}function ho(t){switch(typeof t){case"boolean":case"number":case"string":case"undefined":return t;case"object":return ua(t),t;default:return""}}var c0={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function Yu(t,r){c0[r.type]||r.onChange||r.onInput||r.readOnly||r.disabled||r.value==null||d("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),r.onChange||r.readOnly||r.disabled||r.checked==null||d("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function gp(t){var r=t.type,u=t.nodeName;return u&&u.toLowerCase()==="input"&&(r==="checkbox"||r==="radio")}function d0(t){return t._valueTracker}function El(t){t._valueTracker=null}function bl(t){var r="";return t&&(gp(t)?r=t.checked?"true":"false":r=t.value),r}function Wu(t){var r=gp(t)?"checked":"value",u=Object.getOwnPropertyDescriptor(t.constructor.prototype,r);ua(t[r]);var l=""+t[r];if(!(t.hasOwnProperty(r)||typeof u>"u"||typeof u.get!="function"||typeof u.set!="function")){var p=u.get,v=u.set;Object.defineProperty(t,r,{configurable:!0,get:function(){return p.call(this)},set:function(_){ua(_),l=""+_,v.call(this,_)}}),Object.defineProperty(t,r,{enumerable:u.enumerable});var w={getValue:function(){return l},setValue:function(_){ua(_),l=""+_},stopTracking:function(){El(t),delete t[r]}};return w}}function Ko(t){d0(t)||(t._valueTracker=Wu(t))}function f0(t){if(!t)return!1;var r=d0(t);if(!r)return!0;var u=r.getValue(),l=bl(t);return l!==u?(r.setValue(l),!0):!1}function jc(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}var Vc=!1,xl=!1,Yc=!1,vp=!1;function Mi(t){var r=t.type==="checkbox"||t.type==="radio";return r?t.checked!=null:t.value!=null}function wl(t,r){var u=t,l=r.checked,p=Ct({},r,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:l??u._wrapperState.initialChecked});return p}function Tl(t,r){Yu("input",r),r.checked!==void 0&&r.defaultChecked!==void 0&&!xl&&(d("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components",Sa()||"A component",r.type),xl=!0),r.value!==void 0&&r.defaultValue!==void 0&&!Vc&&(d("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components",Sa()||"A component",r.type),Vc=!0);var u=t,l=r.defaultValue==null?"":r.defaultValue;u._wrapperState={initialChecked:r.checked!=null?r.checked:r.defaultChecked,initialValue:ho(r.value!=null?r.value:l),controlled:Mi(r)}}function yp(t,r){var u=t,l=r.checked;l!=null&&Go(u,"checked",l,!1)}function qu(t,r){var u=t;{var l=Mi(r);!u._wrapperState.controlled&&l&&!vp&&(d("A component is changing an uncontrolled input to be controlled. This is likely caused by the value changing from undefined to a defined value, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://reactjs.org/link/controlled-components"),vp=!0),u._wrapperState.controlled&&!l&&!Yc&&(d("A component is changing a controlled input to be uncontrolled. This is likely caused by the value changing from a defined to undefined, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://reactjs.org/link/controlled-components"),Yc=!0)}yp(t,r);var p=ho(r.value),v=r.type;if(p!=null)v==="number"?(p===0&&u.value===""||u.value!=p)&&(u.value=Er(p)):u.value!==Er(p)&&(u.value=Er(p));else if(v==="submit"||v==="reset"){u.removeAttribute("value");return}r.hasOwnProperty("value")?mo(u,r.type,p):r.hasOwnProperty("defaultValue")&&mo(u,r.type,ho(r.defaultValue)),r.checked==null&&r.defaultChecked!=null&&(u.defaultChecked=!!r.defaultChecked)}function Sl(t,r,u){var l=t;if(r.hasOwnProperty("value")||r.hasOwnProperty("defaultValue")){var p=r.type,v=p==="submit"||p==="reset";if(v&&(r.value===void 0||r.value===null))return;var w=Er(l._wrapperState.initialValue);u||w!==l.value&&(l.value=w),l.defaultValue=w}var _=l.name;_!==""&&(l.name=""),l.defaultChecked=!l.defaultChecked,l.defaultChecked=!!l._wrapperState.initialChecked,_!==""&&(l.name=_)}function p0(t,r){var u=t;qu(u,r),sa(u,r)}function sa(t,r){var u=r.name;if(r.type==="radio"&&u!=null){for(var l=t;l.parentNode;)l=l.parentNode;oa(u,"name");for(var p=l.querySelectorAll("input[name="+JSON.stringify(""+u)+'][type="radio"]'),v=0;v<p.length;v++){var w=p[v];if(!(w===t||w.form!==t.form)){var _=Qg(w);if(!_)throw new Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");f0(w),qu(w,_)}}}}function mo(t,r,u){(r!=="number"||jc(t.ownerDocument)!==t)&&(u==null?t.defaultValue=Er(t._wrapperState.initialValue):t.defaultValue!==Er(u)&&(t.defaultValue=Er(u)))}var Wc=!1,Qu=!1,h0=!1;function qc(t,r){r.value==null&&(typeof r.children=="object"&&r.children!==null?e.Children.forEach(r.children,function(u){u!=null&&(typeof u=="string"||typeof u=="number"||Qu||(Qu=!0,d("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}):r.dangerouslySetInnerHTML!=null&&(h0||(h0=!0,d("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected.")))),r.selected!=null&&!Wc&&(d("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),Wc=!0)}function Ep(t,r){r.value!=null&&t.setAttribute("value",Er(ho(r.value)))}var Cl=Array.isArray;function Xn(t){return Cl(t)}var Qc;Qc=!1;function m0(){var t=Sa();return t?`
75
-
76
- Check the render method of \``+t+"`.":""}var g0=["value","defaultValue"];function dy(t){{Yu("select",t);for(var r=0;r<g0.length;r++){var u=g0[r];if(t[u]!=null){var l=Xn(t[u]);t.multiple&&!l?d("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",u,m0()):!t.multiple&&l&&d("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",u,m0())}}}}function go(t,r,u,l){var p=t.options;if(r){for(var v=u,w={},_=0;_<v.length;_++)w["$"+v[_]]=!0;for(var A=0;A<p.length;A++){var O=w.hasOwnProperty("$"+p[A].value);p[A].selected!==O&&(p[A].selected=O),O&&l&&(p[A].defaultSelected=!0)}}else{for(var M=Er(ho(u)),G=null,q=0;q<p.length;q++){if(p[q].value===M){p[q].selected=!0,l&&(p[q].defaultSelected=!0);return}G===null&&!p[q].disabled&&(G=p[q])}G!==null&&(G.selected=!0)}}function bp(t,r){return Ct({},r,{value:void 0})}function v0(t,r){var u=t;dy(r),u._wrapperState={wasMultiple:!!r.multiple},r.value!==void 0&&r.defaultValue!==void 0&&!Qc&&(d("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://reactjs.org/link/controlled-components"),Qc=!0)}function fy(t,r){var u=t;u.multiple=!!r.multiple;var l=r.value;l!=null?go(u,!!r.multiple,l,!1):r.defaultValue!=null&&go(u,!!r.multiple,r.defaultValue,!0)}function py(t,r){var u=t,l=u._wrapperState.wasMultiple;u._wrapperState.wasMultiple=!!r.multiple;var p=r.value;p!=null?go(u,!!r.multiple,p,!1):l!==!!r.multiple&&(r.defaultValue!=null?go(u,!!r.multiple,r.defaultValue,!0):go(u,!!r.multiple,r.multiple?[]:"",!1))}function hy(t,r){var u=t,l=r.value;l!=null&&go(u,!!r.multiple,l,!1)}var xp=!1;function wp(t,r){var u=t;if(r.dangerouslySetInnerHTML!=null)throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");var l=Ct({},r,{value:void 0,defaultValue:void 0,children:Er(u._wrapperState.initialValue)});return l}function y0(t,r){var u=t;Yu("textarea",r),r.value!==void 0&&r.defaultValue!==void 0&&!xp&&(d("%s contains a textarea with both value and defaultValue props. Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://reactjs.org/link/controlled-components",Sa()||"A component"),xp=!0);var l=r.value;if(l==null){var p=r.children,v=r.defaultValue;if(p!=null){d("Use the `defaultValue` or `value` props instead of setting children on <textarea>.");{if(v!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(Xn(p)){if(p.length>1)throw new Error("<textarea> can only have at most one child.");p=p[0]}v=p}}v==null&&(v=""),l=v}u._wrapperState={initialValue:ho(l)}}function E0(t,r){var u=t,l=ho(r.value),p=ho(r.defaultValue);if(l!=null){var v=Er(l);v!==u.value&&(u.value=v),r.defaultValue==null&&u.defaultValue!==v&&(u.defaultValue=v)}p!=null&&(u.defaultValue=Er(p))}function b0(t,r){var u=t,l=u.textContent;l===u._wrapperState.initialValue&&l!==""&&l!==null&&(u.value=l)}function Tp(t,r){E0(t,r)}var Pi="http://www.w3.org/1999/xhtml",my="http://www.w3.org/1998/Math/MathML",Sp="http://www.w3.org/2000/svg";function Gc(t){switch(t){case"svg":return Sp;case"math":return my;default:return Pi}}function Cp(t,r){return t==null||t===Pi?Gc(r):t===Sp&&r==="foreignObject"?Pi:t}var gy=function(t){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(r,u,l,p){MSApp.execUnsafeLocalFunction(function(){return t(r,u,l,p)})}:t},$c,x0=gy(function(t,r){if(t.namespaceURI===Sp&&!("innerHTML"in t)){$c=$c||document.createElement("div"),$c.innerHTML="<svg>"+r.valueOf().toString()+"</svg>";for(var u=$c.firstChild;t.firstChild;)t.removeChild(t.firstChild);for(;u.firstChild;)t.appendChild(u.firstChild);return}t.innerHTML=r}),zr=1,Fi=3,Ln=8,Ja=9,Jo=11,Xc=function(t,r){if(r){var u=t.firstChild;if(u&&u===t.lastChild&&u.nodeType===Fi){u.nodeValue=r;return}}t.textContent=r},w0={animation:["animationDelay","animationDirection","animationDuration","animationFillMode","animationIterationCount","animationName","animationPlayState","animationTimingFunction"],background:["backgroundAttachment","backgroundClip","backgroundColor","backgroundImage","backgroundOrigin","backgroundPositionX","backgroundPositionY","backgroundRepeat","backgroundSize"],backgroundPosition:["backgroundPositionX","backgroundPositionY"],border:["borderBottomColor","borderBottomStyle","borderBottomWidth","borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth","borderLeftColor","borderLeftStyle","borderLeftWidth","borderRightColor","borderRightStyle","borderRightWidth","borderTopColor","borderTopStyle","borderTopWidth"],borderBlockEnd:["borderBlockEndColor","borderBlockEndStyle","borderBlockEndWidth"],borderBlockStart:["borderBlockStartColor","borderBlockStartStyle","borderBlockStartWidth"],borderBottom:["borderBottomColor","borderBottomStyle","borderBottomWidth"],borderColor:["borderBottomColor","borderLeftColor","borderRightColor","borderTopColor"],borderImage:["borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth"],borderInlineEnd:["borderInlineEndColor","borderInlineEndStyle","borderInlineEndWidth"],borderInlineStart:["borderInlineStartColor","borderInlineStartStyle","borderInlineStartWidth"],borderLeft:["borderLeftColor","borderLeftStyle","borderLeftWidth"],borderRadius:["borderBottomLeftRadius","borderBottomRightRadius","borderTopLeftRadius","borderTopRightRadius"],borderRight:["borderRightColor","borderRightStyle","borderRightWidth"],borderStyle:["borderBottomStyle","borderLeftStyle","borderRightStyle","borderTopStyle"],borderTop:["borderTopColor","borderTopStyle","borderTopWidth"],borderWidth:["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth"],columnRule:["columnRuleColor","columnRuleStyle","columnRuleWidth"],columns:["columnCount","columnWidth"],flex:["flexBasis","flexGrow","flexShrink"],flexFlow:["flexDirection","flexWrap"],font:["fontFamily","fontFeatureSettings","fontKerning","fontLanguageOverride","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontVariantAlternates","fontVariantCaps","fontVariantEastAsian","fontVariantLigatures","fontVariantNumeric","fontVariantPosition","fontWeight","lineHeight"],fontVariant:["fontVariantAlternates","fontVariantCaps","fontVariantEastAsian","fontVariantLigatures","fontVariantNumeric","fontVariantPosition"],gap:["columnGap","rowGap"],grid:["gridAutoColumns","gridAutoFlow","gridAutoRows","gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],gridArea:["gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart"],gridColumn:["gridColumnEnd","gridColumnStart"],gridColumnGap:["columnGap"],gridGap:["columnGap","rowGap"],gridRow:["gridRowEnd","gridRowStart"],gridRowGap:["rowGap"],gridTemplate:["gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],listStyle:["listStyleImage","listStylePosition","listStyleType"],margin:["marginBottom","marginLeft","marginRight","marginTop"],marker:["markerEnd","markerMid","markerStart"],mask:["maskClip","maskComposite","maskImage","maskMode","maskOrigin","maskPositionX","maskPositionY","maskRepeat","maskSize"],maskPosition:["maskPositionX","maskPositionY"],outline:["outlineColor","outlineStyle","outlineWidth"],overflow:["overflowX","overflowY"],padding:["paddingBottom","paddingLeft","paddingRight","paddingTop"],placeContent:["alignContent","justifyContent"],placeItems:["alignItems","justifyItems"],placeSelf:["alignSelf","justifySelf"],textDecoration:["textDecorationColor","textDecorationLine","textDecorationStyle"],textEmphasis:["textEmphasisColor","textEmphasisStyle"],transition:["transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction"],wordWrap:["overflowWrap"]},Gu={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};function T0(t,r){return t+r.charAt(0).toUpperCase()+r.substring(1)}var S0=["Webkit","ms","Moz","O"];Object.keys(Gu).forEach(function(t){S0.forEach(function(r){Gu[T0(r,t)]=Gu[t]})});function Kc(t,r,u){var l=r==null||typeof r=="boolean"||r==="";return l?"":!u&&typeof r=="number"&&r!==0&&!(Gu.hasOwnProperty(t)&&Gu[t])?r+"px":(ci(r,t),(""+r).trim())}var $u=/([A-Z])/g,vy=/^ms-/;function yy(t){return t.replace($u,"-$1").toLowerCase().replace(vy,"-ms-")}var C0=function(){};{var _0=/^(?:webkit|moz|o)[A-Z]/,k0=/^-ms-/,_l=/-(.)/g,Xu=/;\s*$/,Ku={},Ju={},A0=!1,_p=!1,kp=function(t){return t.replace(_l,function(r,u){return u.toUpperCase()})},Ap=function(t){Ku.hasOwnProperty(t)&&Ku[t]||(Ku[t]=!0,d("Unsupported style property %s. Did you mean %s?",t,kp(t.replace(k0,"ms-"))))},R0=function(t){Ku.hasOwnProperty(t)&&Ku[t]||(Ku[t]=!0,d("Unsupported vendor-prefixed style property %s. Did you mean %s?",t,t.charAt(0).toUpperCase()+t.slice(1)))},N0=function(t,r){Ju.hasOwnProperty(r)&&Ju[r]||(Ju[r]=!0,d(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,t,r.replace(Xu,"")))},D0=function(t,r){A0||(A0=!0,d("`NaN` is an invalid value for the `%s` css style property.",t))},Ey=function(t,r){_p||(_p=!0,d("`Infinity` is an invalid value for the `%s` css style property.",t))};C0=function(t,r){t.indexOf("-")>-1?Ap(t):_0.test(t)?R0(t):Xu.test(r)&&N0(t,r),typeof r=="number"&&(isNaN(r)?D0(t,r):isFinite(r)||Ey(t,r))}}var by=C0;function xy(t){{var r="",u="";for(var l in t)if(t.hasOwnProperty(l)){var p=t[l];if(p!=null){var v=l.indexOf("--")===0;r+=u+(v?l:yy(l))+":",r+=Kc(l,p,v),u=";"}}return r||null}}function O0(t,r){var u=t.style;for(var l in r)if(r.hasOwnProperty(l)){var p=l.indexOf("--")===0;p||by(l,r[l]);var v=Kc(l,r[l],p);l==="float"&&(l="cssFloat"),p?u.setProperty(l,v):u[l]=v}}function wy(t){return t==null||typeof t=="boolean"||t===""}function Ca(t){var r={};for(var u in t)for(var l=w0[u]||[u],p=0;p<l.length;p++)r[l[p]]=u;return r}function kl(t,r){{if(!r)return;var u=Ca(t),l=Ca(r),p={};for(var v in u){var w=u[v],_=l[v];if(_&&w!==_){var A=w+","+_;if(p[A])continue;p[A]=!0,d("%s a style property during rerender (%s) when a conflicting property is set (%s) can lead to styling bugs. To avoid this, don't mix shorthand and non-shorthand properties for the same value; instead, replace the shorthand with separate values.",wy(t[w])?"Removing":"Updating",w,_)}}}}var L0={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},I0=Ct({menuitem:!0},L0),M0="__html";function Jc(t,r){if(r){if(I0[t]&&(r.children!=null||r.dangerouslySetInnerHTML!=null))throw new Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");if(r.dangerouslySetInnerHTML!=null){if(r.children!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof r.dangerouslySetInnerHTML!="object"||!(M0 in r.dangerouslySetInnerHTML))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.")}if(!r.suppressContentEditableWarning&&r.contentEditable&&r.children!=null&&d("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional."),r.style!=null&&typeof r.style!="object")throw new Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.")}}function Ui(t,r){if(t.indexOf("-")===-1)return typeof r.is=="string";switch(t){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 Zc={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},P0={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},Za={},Rp=new RegExp("^(aria)-["+Ge+"]*$"),Al=new RegExp("^(aria)[A-Z]["+Ge+"]*$");function Np(t,r){{if(Fn.call(Za,r)&&Za[r])return!0;if(Al.test(r)){var u="aria-"+r.slice(4).toLowerCase(),l=P0.hasOwnProperty(u)?u:null;if(l==null)return d("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",r),Za[r]=!0,!0;if(r!==l)return d("Invalid ARIA attribute `%s`. Did you mean `%s`?",r,l),Za[r]=!0,!0}if(Rp.test(r)){var p=r.toLowerCase(),v=P0.hasOwnProperty(p)?p:null;if(v==null)return Za[r]=!0,!1;if(r!==v)return d("Unknown ARIA attribute `%s`. Did you mean `%s`?",r,v),Za[r]=!0,!0}}return!0}function F0(t,r){{var u=[];for(var l in r){var p=Np(t,l);p||u.push(l)}var v=u.map(function(w){return"`"+w+"`"}).join(", ");u.length===1?d("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",v,t):u.length>1&&d("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",v,t)}}function ed(t,r){Ui(t,r)||F0(t,r)}var Zo=!1;function Dp(t,r){{if(t!=="input"&&t!=="textarea"&&t!=="select")return;r!=null&&r.value===null&&!Zo&&(Zo=!0,t==="select"&&r.multiple?d("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",t):d("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",t))}}var Op=function(){};{var Kn={},Lp=/^on./,U0=/^on[^A-Z]/,B0=new RegExp("^(aria)-["+Ge+"]*$"),H0=new RegExp("^(aria)[A-Z]["+Ge+"]*$");Op=function(t,r,u,l){if(Fn.call(Kn,r)&&Kn[r])return!0;var p=r.toLowerCase();if(p==="onfocusin"||p==="onfocusout")return d("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),Kn[r]=!0,!0;if(l!=null){var v=l.registrationNameDependencies,w=l.possibleRegistrationNames;if(v.hasOwnProperty(r))return!0;var _=w.hasOwnProperty(p)?w[p]:null;if(_!=null)return d("Invalid event handler property `%s`. Did you mean `%s`?",r,_),Kn[r]=!0,!0;if(Lp.test(r))return d("Unknown event handler property `%s`. It will be ignored.",r),Kn[r]=!0,!0}else if(Lp.test(r))return U0.test(r)&&d("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",r),Kn[r]=!0,!0;if(B0.test(r)||H0.test(r))return!0;if(p==="innerhtml")return d("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),Kn[r]=!0,!0;if(p==="aria")return d("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),Kn[r]=!0,!0;if(p==="is"&&u!==null&&u!==void 0&&typeof u!="string")return d("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof u),Kn[r]=!0,!0;if(typeof u=="number"&&isNaN(u))return d("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",r),Kn[r]=!0,!0;var A=fi(r),O=A!==null&&A.type===di;if(Zc.hasOwnProperty(p)){var M=Zc[p];if(M!==r)return d("Invalid DOM property `%s`. Did you mean `%s`?",r,M),Kn[r]=!0,!0}else if(!O&&r!==p)return d("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",r,p),Kn[r]=!0,!0;return typeof u=="boolean"&&mn(r,u,A,!1)?(u?d('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',u,r,r,u,r):d('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',u,r,r,u,r,r,r),Kn[r]=!0,!0):O?!0:mn(r,u,A,!1)?(Kn[r]=!0,!1):((u==="false"||u==="true")&&A!==null&&A.type===Ce&&(d("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",u,r,u==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',r,u),Kn[r]=!0),!0)}}var z0=function(t,r,u){{var l=[];for(var p in r){var v=Op(t,p,r[p],u);v||l.push(p)}var w=l.map(function(_){return"`"+_+"`"}).join(", ");l.length===1?d("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",w,t):l.length>1&&d("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",w,t)}};function j0(t,r,u){Ui(t,r)||z0(t,r,u)}var Bi=1,Rl=2,eu=4,Ty=Bi|Rl|eu,Nl=null;function Dl(t){Nl!==null&&d("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),Nl=t}function Sy(){Nl===null&&d("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),Nl=null}function V0(t){return t===Nl}function td(t){var r=t.target||t.srcElement||window;return r.correspondingUseElement&&(r=r.correspondingUseElement),r.nodeType===Fi?r.parentNode:r}var Xt=null,vo=null,Hi=null;function Zu(t){var r=Os(t);if(r){if(typeof Xt!="function")throw new Error("setRestoreImplementation() needs to be called to handle a target for controlled events. This error is likely caused by a bug in React. Please file an issue.");var u=r.stateNode;if(u){var l=Qg(u);Xt(r.stateNode,r.type,l)}}}function Y0(t){Xt=t}function nd(t){vo?Hi?Hi.push(t):Hi=[t]:vo=t}function Ol(){return vo!==null||Hi!==null}function Ll(){if(vo){var t=vo,r=Hi;if(vo=null,Hi=null,Zu(t),r)for(var u=0;u<r.length;u++)Zu(r[u])}}var tu=function(t,r){return t(r)},Ip=function(){},Mp=!1;function Cy(){var t=Ol();t&&(Ip(),Ll())}function Pp(t,r,u){if(Mp)return t(r,u);Mp=!0;try{return tu(t,r,u)}finally{Mp=!1,Cy()}}function rd(t,r,u){tu=t,Ip=u}function ad(t){return t==="button"||t==="input"||t==="select"||t==="textarea"}function Fp(t,r,u){switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":return!!(u.disabled&&ad(r));default:return!1}}function nu(t,r){var u=t.stateNode;if(u===null)return null;var l=Qg(u);if(l===null)return null;var p=l[r];if(Fp(r,t.type,l))return null;if(p&&typeof p!="function")throw new Error("Expected `"+r+"` listener to be a function, instead got a value of `"+typeof p+"` type.");return p}var Il=!1;if(an)try{var ru={};Object.defineProperty(ru,"passive",{get:function(){Il=!0}}),window.addEventListener("test",ru,ru),window.removeEventListener("test",ru,ru)}catch{Il=!1}function W0(t,r,u,l,p,v,w,_,A){var O=Array.prototype.slice.call(arguments,3);try{r.apply(u,O)}catch(M){this.onError(M)}}var Up=W0;if(typeof window<"u"&&typeof window.dispatchEvent=="function"&&typeof document<"u"&&typeof document.createEvent=="function"){var Bp=document.createElement("react");Up=function(r,u,l,p,v,w,_,A,O){if(typeof document>"u"||document===null)throw new Error("The `document` global was defined when React was initialized, but is not defined anymore. This can happen in a test environment if a component schedules an update from an asynchronous callback, but the test has already finished running. To solve this, you can either unmount the component at the end of your test (and ensure that any asynchronous operations get canceled in `componentWillUnmount`), or you can change the test itself to be asynchronous.");var M=document.createEvent("Event"),G=!1,q=!0,ue=window.event,le=Object.getOwnPropertyDescriptor(window,"event");function fe(){Bp.removeEventListener(pe,rt,!1),typeof window.event<"u"&&window.hasOwnProperty("event")&&(window.event=ue)}var Pe=Array.prototype.slice.call(arguments,3);function rt(){G=!0,fe(),u.apply(l,Pe),q=!1}var Je,Ot=!1,kt=!1;function ne(re){if(Je=re.error,Ot=!0,Je===null&&re.colno===0&&re.lineno===0&&(kt=!0),re.defaultPrevented&&Je!=null&&typeof Je=="object")try{Je._suppressLogging=!0}catch{}}var pe="react-"+(r||"invokeguardedcallback");if(window.addEventListener("error",ne),Bp.addEventListener(pe,rt,!1),M.initEvent(pe,!1,!1),Bp.dispatchEvent(M),le&&Object.defineProperty(window,"event",le),G&&q&&(Ot?kt&&(Je=new Error("A cross-origin error was thrown. React doesn't have access to the actual error object in development. See https://reactjs.org/link/crossorigin-error for more information.")):Je=new Error(`An error was thrown inside one of your components, but React doesn't know what it was. This is likely due to browser flakiness. React does its best to preserve the "Pause on exceptions" behavior of the DevTools, which requires some DEV-mode only tricks. It's possible that these don't work in your browser. Try triggering the error in production mode, or switching to a modern browser. If you suspect that this is actually an issue with React, please file an issue.`),this.onError(Je)),window.removeEventListener("error",ne),!G)return fe(),W0.apply(this,arguments)}}var _y=Up,yo=!1,ei=null,Ml=!1,Eo=null,hi={onError:function(t){yo=!0,ei=t}};function au(t,r,u,l,p,v,w,_,A){yo=!1,ei=null,_y.apply(hi,arguments)}function zi(t,r,u,l,p,v,w,_,A){if(au.apply(this,arguments),yo){var O=zp();Ml||(Ml=!0,Eo=O)}}function Hp(){if(Ml){var t=Eo;throw Ml=!1,Eo=null,t}}function ky(){return yo}function zp(){if(yo){var t=ei;return yo=!1,ei=null,t}else throw new Error("clearCaughtError was called but no error was captured. This error is likely caused by a bug in React. Please file an issue.")}function _a(t){return t._reactInternals}function Pl(t){return t._reactInternals!==void 0}function es(t,r){t._reactInternals=r}var nt=0,bo=1,Zt=2,vt=4,Bt=16,zt=32,mi=64,lt=128,En=256,jr=512,ka=1024,on=2048,Aa=4096,xo=8192,Fl=16384,id=on|vt|mi|jr|ka|Fl,q0=32767,la=32768,Jn=65536,Ul=131072,jp=1048576,Vp=2097152,Vr=4194304,wo=8388608,Yr=16777216,iu=33554432,ts=vt|ka|0,Wr=Zt|vt|Bt|zt|jr|Aa|xo,br=vt|mi|jr|xo,Ra=on|Bt,or=Vr|wo|Vp,ji=a.ReactCurrentOwner;function ca(t){var r=t,u=t;if(t.alternate)for(;r.return;)r=r.return;else{var l=r;do r=l,(r.flags&(Zt|Aa))!==nt&&(u=r.return),l=r.return;while(l)}return r.tag===S?u:null}function Yp(t){if(t.tag===Z){var r=t.memoizedState;if(r===null){var u=t.alternate;u!==null&&(r=u.memoizedState)}if(r!==null)return r.dehydrated}return null}function od(t){return t.tag===S?t.stateNode.containerInfo:null}function Wp(t){return ca(t)===t}function da(t){{var r=ji.current;if(r!==null&&r.tag===b){var u=r,l=u.stateNode;l._warnedAboutRefsInRender||d("%s is accessing isMounted inside its render() function. render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",mt(u)||"A component"),l._warnedAboutRefsInRender=!0}}var p=_a(t);return p?ca(p)===p:!1}function qr(t){if(ca(t)!==t)throw new Error("Unable to find node on an unmounted component.")}function en(t){var r=t.alternate;if(!r){var u=ca(t);if(u===null)throw new Error("Unable to find node on an unmounted component.");return u!==t?null:t}for(var l=t,p=r;;){var v=l.return;if(v===null)break;var w=v.alternate;if(w===null){var _=v.return;if(_!==null){l=p=_;continue}break}if(v.child===w.child){for(var A=v.child;A;){if(A===l)return qr(v),t;if(A===p)return qr(v),r;A=A.sibling}throw new Error("Unable to find node on an unmounted component.")}if(l.return!==p.return)l=v,p=w;else{for(var O=!1,M=v.child;M;){if(M===l){O=!0,l=v,p=w;break}if(M===p){O=!0,p=v,l=w;break}M=M.sibling}if(!O){for(M=w.child;M;){if(M===l){O=!0,l=w,p=v;break}if(M===p){O=!0,p=w,l=v;break}M=M.sibling}if(!O)throw new Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if(l.alternate!==p)throw new Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(l.tag!==S)throw new Error("Unable to find node on an unmounted component.");return l.stateNode.current===l?t:r}function Na(t){var r=en(t);return r!==null?qp(r):null}function qp(t){if(t.tag===k||t.tag===D)return t;for(var r=t.child;r!==null;){var u=qp(r);if(u!==null)return u;r=r.sibling}return null}function Q0(t){var r=en(t);return r!==null?ud(r):null}function ud(t){if(t.tag===k||t.tag===D)return t;for(var r=t.child;r!==null;){if(r.tag!==R){var u=ud(r);if(u!==null)return u}r=r.sibling}return null}var sd=n.unstable_scheduleCallback,G0=n.unstable_cancelCallback,ld=n.unstable_shouldYield,$0=n.unstable_requestPaint,dn=n.unstable_now,Qp=n.unstable_getCurrentPriorityLevel,cd=n.unstable_ImmediatePriority,ou=n.unstable_UserBlockingPriority,gi=n.unstable_NormalPriority,X0=n.unstable_LowPriority,dd=n.unstable_IdlePriority,ns=n.unstable_yieldValue,K0=n.unstable_setDisableYieldValue,Vi=null,Bn=null,Le=null,Da=!1,fa=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u";function Gp(t){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var r=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(r.isDisabled)return!0;if(!r.supportsFiber)return d("The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://reactjs.org/link/react-devtools"),!0;try{Gn&&(t=Ct({},t,{getLaneLabelMap:Yi,injectProfilingHooks:J0})),Vi=r.inject(t),Bn=r}catch(u){d("React instrumentation encountered an error: %s.",u)}return!!r.checkDCE}function $p(t,r){if(Bn&&typeof Bn.onScheduleFiberRoot=="function")try{Bn.onScheduleFiberRoot(Vi,t,r)}catch(u){Da||(Da=!0,d("React instrumentation encountered an error: %s",u))}}function rs(t,r){if(Bn&&typeof Bn.onCommitFiberRoot=="function")try{var u=(t.current.flags&lt)===lt;if(Nt){var l;switch(r){case _n:l=cd;break;case qi:l=ou;break;case vi:l=gi;break;case ms:l=dd;break;default:l=gi;break}Bn.onCommitFiberRoot(Vi,t,l,u)}}catch(p){Da||(Da=!0,d("React instrumentation encountered an error: %s",p))}}function Oa(t){if(Bn&&typeof Bn.onPostCommitFiberRoot=="function")try{Bn.onPostCommitFiberRoot(Vi,t)}catch(r){Da||(Da=!0,d("React instrumentation encountered an error: %s",r))}}function uu(t){if(Bn&&typeof Bn.onCommitFiberUnmount=="function")try{Bn.onCommitFiberUnmount(Vi,t)}catch(r){Da||(Da=!0,d("React instrumentation encountered an error: %s",r))}}function In(t){if(typeof ns=="function"&&(K0(t),f(t)),Bn&&typeof Bn.setStrictMode=="function")try{Bn.setStrictMode(Vi,t)}catch(r){Da||(Da=!0,d("React instrumentation encountered an error: %s",r))}}function J0(t){Le=t}function Yi(){{for(var t=new Map,r=1,u=0;u<Vl;u++){var l=Ry(r);t.set(r,l),r*=2}return t}}function To(t){Le!==null&&typeof Le.markCommitStarted=="function"&&Le.markCommitStarted(t)}function fd(){Le!==null&&typeof Le.markCommitStopped=="function"&&Le.markCommitStopped()}function as(t){Le!==null&&typeof Le.markComponentRenderStarted=="function"&&Le.markComponentRenderStarted(t)}function Qr(){Le!==null&&typeof Le.markComponentRenderStopped=="function"&&Le.markComponentRenderStopped()}function So(t){Le!==null&&typeof Le.markComponentPassiveEffectMountStarted=="function"&&Le.markComponentPassiveEffectMountStarted(t)}function pd(){Le!==null&&typeof Le.markComponentPassiveEffectMountStopped=="function"&&Le.markComponentPassiveEffectMountStopped()}function Z0(t){Le!==null&&typeof Le.markComponentPassiveEffectUnmountStarted=="function"&&Le.markComponentPassiveEffectUnmountStarted(t)}function hd(){Le!==null&&typeof Le.markComponentPassiveEffectUnmountStopped=="function"&&Le.markComponentPassiveEffectUnmountStopped()}function eg(t){Le!==null&&typeof Le.markComponentLayoutEffectMountStarted=="function"&&Le.markComponentLayoutEffectMountStarted(t)}function Bl(){Le!==null&&typeof Le.markComponentLayoutEffectMountStopped=="function"&&Le.markComponentLayoutEffectMountStopped()}function ti(t){Le!==null&&typeof Le.markComponentLayoutEffectUnmountStarted=="function"&&Le.markComponentLayoutEffectUnmountStarted(t)}function is(){Le!==null&&typeof Le.markComponentLayoutEffectUnmountStopped=="function"&&Le.markComponentLayoutEffectUnmountStopped()}function Hl(t,r,u){Le!==null&&typeof Le.markComponentErrored=="function"&&Le.markComponentErrored(t,r,u)}function su(t,r,u){Le!==null&&typeof Le.markComponentSuspended=="function"&&Le.markComponentSuspended(t,r,u)}function Xp(t){Le!==null&&typeof Le.markLayoutEffectsStarted=="function"&&Le.markLayoutEffectsStarted(t)}function os(){Le!==null&&typeof Le.markLayoutEffectsStopped=="function"&&Le.markLayoutEffectsStopped()}function tg(t){Le!==null&&typeof Le.markPassiveEffectsStarted=="function"&&Le.markPassiveEffectsStarted(t)}function Kp(){Le!==null&&typeof Le.markPassiveEffectsStopped=="function"&&Le.markPassiveEffectsStopped()}function un(t){Le!==null&&typeof Le.markRenderStarted=="function"&&Le.markRenderStarted(t)}function md(){Le!==null&&typeof Le.markRenderYielded=="function"&&Le.markRenderYielded()}function gd(){Le!==null&&typeof Le.markRenderStopped=="function"&&Le.markRenderStopped()}function Jp(t){Le!==null&&typeof Le.markRenderScheduled=="function"&&Le.markRenderScheduled(t)}function vd(t,r){Le!==null&&typeof Le.markForceUpdateScheduled=="function"&&Le.markForceUpdateScheduled(t,r)}function zl(t,r){Le!==null&&typeof Le.markStateUpdateScheduled=="function"&&Le.markStateUpdateScheduled(t,r)}var $e=0,Ke=1,ct=2,xt=8,pa=16,us=Math.clz32?Math.clz32:xr,jl=Math.log,Ay=Math.LN2;function xr(t){var r=t>>>0;return r===0?32:31-(jl(r)/Ay|0)|0}var Vl=31,ve=0,Mn=0,Ze=1,ur=2,ha=4,Wi=8,La=16,ss=32,lu=4194240,ls=64,yd=128,Ed=256,bd=512,xd=1024,wd=2048,cu=4096,Td=8192,cs=16384,ds=32768,Sd=65536,Yl=131072,Cd=262144,_d=524288,kd=1048576,Ad=2097152,fs=130023424,du=4194304,Rd=8388608,Nd=16777216,Zp=33554432,Dd=67108864,ng=du,Wl=134217728,eh=268435455,ps=268435456,Co=536870912,wr=1073741824;function Ry(t){{if(t&Ze)return"Sync";if(t&ur)return"InputContinuousHydration";if(t&ha)return"InputContinuous";if(t&Wi)return"DefaultHydration";if(t&La)return"Default";if(t&ss)return"TransitionHydration";if(t&lu)return"Transition";if(t&fs)return"Retry";if(t&Wl)return"SelectiveHydration";if(t&ps)return"IdleHydration";if(t&Co)return"Idle";if(t&wr)return"Offscreen"}}var Jt=-1,Od=ls,Gr=du;function fu(t){switch(Cn(t)){case Ze:return Ze;case ur:return ur;case ha:return ha;case Wi:return Wi;case La:return La;case ss:return ss;case ls:case yd:case Ed:case bd:case xd:case wd:case cu:case Td:case cs:case ds:case Sd:case Yl:case Cd:case _d:case kd:case Ad:return t&lu;case du:case Rd:case Nd:case Zp:case Dd:return t&fs;case Wl:return Wl;case ps:return ps;case Co:return Co;case wr:return wr;default:return d("Should have found matching lanes. This is a bug in React."),t}}function pu(t,r){var u=t.pendingLanes;if(u===ve)return ve;var l=ve,p=t.suspendedLanes,v=t.pingedLanes,w=u&eh;if(w!==ve){var _=w&~p;if(_!==ve)l=fu(_);else{var A=w&v;A!==ve&&(l=fu(A))}}else{var O=u&~p;O!==ve?l=fu(O):v!==ve&&(l=fu(v))}if(l===ve)return ve;if(r!==ve&&r!==l&&(r&p)===ve){var M=Cn(l),G=Cn(r);if(M>=G||M===La&&(G&lu)!==ve)return r}(l&ha)!==ve&&(l|=u&La);var q=t.entangledLanes;if(q!==ve)for(var ue=t.entanglements,le=l&q;le>0;){var fe=ko(le),Pe=1<<fe;l|=ue[fe],le&=~Pe}return l}function rg(t,r){for(var u=t.eventTimes,l=Jt;r>0;){var p=ko(r),v=1<<p,w=u[p];w>l&&(l=w),r&=~v}return l}function ag(t,r){switch(t){case Ze:case ur:case ha:return r+250;case Wi:case La:case ss:case ls:case yd:case Ed:case bd:case xd:case wd:case cu:case Td:case cs:case ds:case Sd:case Yl:case Cd:case _d:case kd:case Ad:return r+5e3;case du:case Rd:case Nd:case Zp:case Dd:return Jt;case Wl:case ps:case Co:case wr:return Jt;default:return d("Should have found matching lanes. This is a bug in React."),Jt}}function ig(t,r){for(var u=t.pendingLanes,l=t.suspendedLanes,p=t.pingedLanes,v=t.expirationTimes,w=u;w>0;){var _=ko(w),A=1<<_,O=v[_];O===Jt?((A&l)===ve||(A&p)!==ve)&&(v[_]=ag(A,r)):O<=r&&(t.expiredLanes|=A),w&=~A}}function th(t){return fu(t.pendingLanes)}function _o(t){var r=t.pendingLanes&~wr;return r!==ve?r:r&wr?wr:ve}function nh(t){return(t&Ze)!==ve}function ql(t){return(t&eh)!==ve}function og(t){return(t&fs)===t}function ug(t){var r=Ze|ha|La;return(t&r)===ve}function sg(t){return(t&lu)===t}function Ql(t,r){var u=ur|ha|Wi|La;return(r&u)!==ve}function lg(t,r){return(r&t.expiredLanes)!==ve}function rh(t){return(t&lu)!==ve}function cg(){var t=Od;return Od<<=1,(Od&lu)===ve&&(Od=ls),t}function $r(){var t=Gr;return Gr<<=1,(Gr&fs)===ve&&(Gr=du),t}function Cn(t){return t&-t}function hs(t){return Cn(t)}function ko(t){return 31-us(t)}function Ld(t){return ko(t)}function Xr(t,r){return(t&r)!==ve}function hu(t,r){return(t&r)===r}function gt(t,r){return t|r}function Gl(t,r){return t&~r}function Id(t,r){return t&r}function Ny(t){return t}function dg(t,r){return t!==Mn&&t<r?t:r}function $l(t){for(var r=[],u=0;u<Vl;u++)r.push(t);return r}function mu(t,r,u){t.pendingLanes|=r,r!==Co&&(t.suspendedLanes=ve,t.pingedLanes=ve);var l=t.eventTimes,p=Ld(r);l[p]=u}function fg(t,r){t.suspendedLanes|=r,t.pingedLanes&=~r;for(var u=t.expirationTimes,l=r;l>0;){var p=ko(l),v=1<<p;u[p]=Jt,l&=~v}}function Md(t,r,u){t.pingedLanes|=t.suspendedLanes&r}function Pd(t,r){var u=t.pendingLanes&~r;t.pendingLanes=r,t.suspendedLanes=ve,t.pingedLanes=ve,t.expiredLanes&=r,t.mutableReadLanes&=r,t.entangledLanes&=r;for(var l=t.entanglements,p=t.eventTimes,v=t.expirationTimes,w=u;w>0;){var _=ko(w),A=1<<_;l[_]=ve,p[_]=Jt,v[_]=Jt,w&=~A}}function ah(t,r){for(var u=t.entangledLanes|=r,l=t.entanglements,p=u;p;){var v=ko(p),w=1<<v;w&r|l[v]&r&&(l[v]|=r),p&=~w}}function pg(t,r){var u=Cn(r),l;switch(u){case ha:l=ur;break;case La:l=Wi;break;case ls:case yd:case Ed:case bd:case xd:case wd:case cu:case Td:case cs:case ds:case Sd:case Yl:case Cd:case _d:case kd:case Ad:case du:case Rd:case Nd:case Zp:case Dd:l=ss;break;case Co:l=ps;break;default:l=Mn;break}return(l&(t.suspendedLanes|r))!==Mn?Mn:l}function Fd(t,r,u){if(fa)for(var l=t.pendingUpdatersLaneMap;u>0;){var p=Ld(u),v=1<<p,w=l[p];w.add(r),u&=~v}}function ih(t,r){if(fa)for(var u=t.pendingUpdatersLaneMap,l=t.memoizedUpdaters;r>0;){var p=Ld(r),v=1<<p,w=u[p];w.size>0&&(w.forEach(function(_){var A=_.alternate;(A===null||!l.has(A))&&l.add(_)}),w.clear()),r&=~v}}function Xl(t,r){return null}var _n=Ze,qi=ha,vi=La,ms=Co,gs=Mn;function Ia(){return gs}function bn(t){gs=t}function Tr(t,r){var u=gs;try{return gs=t,r()}finally{gs=u}}function Dy(t,r){return t!==0&&t<r?t:r}function Oy(t,r){return t>r?t:r}function vs(t,r){return t!==0&&t<r}function sr(t){var r=Cn(t);return vs(_n,r)?vs(qi,r)?ql(r)?vi:ms:qi:_n}function Ud(t){var r=t.current.memoizedState;return r.isDehydrated}var ze;function ys(t){ze=t}function oh(t){ze(t)}var Bd;function Ly(t){Bd=t}var Es;function Hd(t){Es=t}var zd;function hg(t){zd=t}var uh;function mg(t){uh=t}var Kl=!1,bs=[],sn=null,Zn=null,Rr=null,xs=new Map,ws=new Map,er=[],gg=["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"];function yi(t){return gg.indexOf(t)>-1}function Iy(t,r,u,l,p){return{blockedOn:t,domEventName:r,eventSystemFlags:u,nativeEvent:p,targetContainers:[l]}}function sh(t,r){switch(t){case"focusin":case"focusout":sn=null;break;case"dragenter":case"dragleave":Zn=null;break;case"mouseover":case"mouseout":Rr=null;break;case"pointerover":case"pointerout":{var u=r.pointerId;xs.delete(u);break}case"gotpointercapture":case"lostpointercapture":{var l=r.pointerId;ws.delete(l);break}}}function Ts(t,r,u,l,p,v){if(t===null||t.nativeEvent!==v){var w=Iy(r,u,l,p,v);if(r!==null){var _=Os(r);_!==null&&Bd(_)}return w}t.eventSystemFlags|=l;var A=t.targetContainers;return p!==null&&A.indexOf(p)===-1&&A.push(p),t}function vg(t,r,u,l,p){switch(r){case"focusin":{var v=p;return sn=Ts(sn,t,r,u,l,v),!0}case"dragenter":{var w=p;return Zn=Ts(Zn,t,r,u,l,w),!0}case"mouseover":{var _=p;return Rr=Ts(Rr,t,r,u,l,_),!0}case"pointerover":{var A=p,O=A.pointerId;return xs.set(O,Ts(xs.get(O)||null,t,r,u,l,A)),!0}case"gotpointercapture":{var M=p,G=M.pointerId;return ws.set(G,Ts(ws.get(G)||null,t,r,u,l,M)),!0}}return!1}function lh(t){var r=lc(t.target);if(r!==null){var u=ca(r);if(u!==null){var l=u.tag;if(l===Z){var p=Yp(u);if(p!==null){t.blockedOn=p,uh(t.priority,function(){Es(u)});return}}else if(l===S){var v=u.stateNode;if(Ud(v)){t.blockedOn=od(u);return}}}}t.blockedOn=null}function My(t){for(var r=zd(),u={blockedOn:null,target:t,priority:r},l=0;l<er.length&&vs(r,er[l].priority);l++);er.splice(l,0,u),l===0&&lh(u)}function gu(t){if(t.blockedOn!==null)return!1;for(var r=t.targetContainers;r.length>0;){var u=r[0],l=Sr(t.domEventName,t.eventSystemFlags,u,t.nativeEvent);if(l===null){var p=t.nativeEvent,v=new p.constructor(p.type,p);Dl(v),p.target.dispatchEvent(v),Sy()}else{var w=Os(l);return w!==null&&Bd(w),t.blockedOn=l,!1}r.shift()}return!0}function jd(t,r,u){gu(t)&&u.delete(r)}function Ma(){Kl=!1,sn!==null&&gu(sn)&&(sn=null),Zn!==null&&gu(Zn)&&(Zn=null),Rr!==null&&gu(Rr)&&(Rr=null),xs.forEach(jd),ws.forEach(jd)}function _t(t,r){t.blockedOn===r&&(t.blockedOn=null,Kl||(Kl=!0,n.unstable_scheduleCallback(n.unstable_NormalPriority,Ma)))}function xn(t){if(bs.length>0){_t(bs[0],t);for(var r=1;r<bs.length;r++){var u=bs[r];u.blockedOn===t&&(u.blockedOn=null)}}sn!==null&&_t(sn,t),Zn!==null&&_t(Zn,t),Rr!==null&&_t(Rr,t);var l=function(_){return _t(_,t)};xs.forEach(l),ws.forEach(l);for(var p=0;p<er.length;p++){var v=er[p];v.blockedOn===t&&(v.blockedOn=null)}for(;er.length>0;){var w=er[0];if(w.blockedOn!==null)break;lh(w),w.blockedOn===null&&er.shift()}}var tn=a.ReactCurrentBatchConfig,Hn=!0;function Kr(t){Hn=!!t}function Ss(){return Hn}function zn(t,r,u){var l=Vd(r),p;switch(l){case _n:p=Jl;break;case qi:p=vu;break;case vi:default:p=Cs;break}return p.bind(null,r,u,t)}function Jl(t,r,u,l){var p=Ia(),v=tn.transition;tn.transition=null;try{bn(_n),Cs(t,r,u,l)}finally{bn(p),tn.transition=v}}function vu(t,r,u,l){var p=Ia(),v=tn.transition;tn.transition=null;try{bn(qi),Cs(t,r,u,l)}finally{bn(p),tn.transition=v}}function Cs(t,r,u,l){Hn&&ch(t,r,u,l)}function ch(t,r,u,l){var p=Sr(t,r,u,l);if(p===null){Jy(t,r,l,Ao,u),sh(t,l);return}if(vg(p,t,r,u,l)){l.stopPropagation();return}if(sh(t,l),r&eu&&yi(t)){for(;p!==null;){var v=Os(p);v!==null&&oh(v);var w=Sr(t,r,u,l);if(w===null&&Jy(t,r,l,Ao,u),w===p)break;p=w}p!==null&&l.stopPropagation();return}Jy(t,r,l,null,u)}var Ao=null;function Sr(t,r,u,l){Ao=null;var p=td(l),v=lc(p);if(v!==null){var w=ca(v);if(w===null)v=null;else{var _=w.tag;if(_===Z){var A=Yp(w);if(A!==null)return A;v=null}else if(_===S){var O=w.stateNode;if(Ud(O))return od(w);v=null}else w!==v&&(v=null)}}return Ao=v,null}function Vd(t){switch(t){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 _n;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 qi;case"message":{var r=Qp();switch(r){case cd:return _n;case ou:return qi;case gi:case X0:return vi;case dd:return ms;default:return vi}}default:return vi}}function _s(t,r,u){return t.addEventListener(r,u,!1),u}function Qi(t,r,u){return t.addEventListener(r,u,!0),u}function Yd(t,r,u,l){return t.addEventListener(r,u,{capture:!0,passive:l}),u}function dh(t,r,u,l){return t.addEventListener(r,u,{passive:l}),u}var Pa=null,ks=null,Fa=null;function Wd(t){return Pa=t,ks=ec(),!0}function Zl(){Pa=null,ks=null,Fa=null}function qd(){if(Fa)return Fa;var t,r=ks,u=r.length,l,p=ec(),v=p.length;for(t=0;t<u&&r[t]===p[t];t++);var w=u-t;for(l=1;l<=w&&r[u-l]===p[v-l];l++);var _=l>1?1-l:void 0;return Fa=p.slice(t,_),Fa}function ec(){return"value"in Pa?Pa.value:Pa.textContent}function yu(t){var r,u=t.keyCode;return"charCode"in t?(r=t.charCode,r===0&&u===13&&(r=13)):r=u,r===10&&(r=13),r>=32||r===13?r:0}function tr(){return!0}function Gi(){return!1}function fn(t){function r(u,l,p,v,w){this._reactName=u,this._targetInst=p,this.type=l,this.nativeEvent=v,this.target=w,this.currentTarget=null;for(var _ in t)if(t.hasOwnProperty(_)){var A=t[_];A?this[_]=A(v):this[_]=v[_]}var O=v.defaultPrevented!=null?v.defaultPrevented:v.returnValue===!1;return O?this.isDefaultPrevented=tr:this.isDefaultPrevented=Gi,this.isPropagationStopped=Gi,this}return Ct(r.prototype,{preventDefault:function(){this.defaultPrevented=!0;var u=this.nativeEvent;u&&(u.preventDefault?u.preventDefault():typeof u.returnValue!="unknown"&&(u.returnValue=!1),this.isDefaultPrevented=tr)},stopPropagation:function(){var u=this.nativeEvent;u&&(u.stopPropagation?u.stopPropagation():typeof u.cancelBubble!="unknown"&&(u.cancelBubble=!0),this.isPropagationStopped=tr)},persist:function(){},isPersistent:tr}),r}var jn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Qd=fn(jn),Eu=Ct({},jn,{view:0,detail:0}),fh=fn(Eu),ph,Ei,As;function hh(t){t!==As&&(As&&t.type==="mousemove"?(ph=t.screenX-As.screenX,Ei=t.screenY-As.screenY):(ph=0,Ei=0),As=t)}var bi=Ct({},Eu,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:mh,button:0,buttons:0,relatedTarget:function(t){return t.relatedTarget===void 0?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},movementX:function(t){return"movementX"in t?t.movementX:(hh(t),ph)},movementY:function(t){return"movementY"in t?t.movementY:Ei}}),Gd=fn(bi),bu=Ct({},bi,{dataTransfer:0}),yg=fn(bu),Eg=Ct({},Eu,{relatedTarget:0}),tc=fn(Eg),$d=Ct({},jn,{animationName:0,elapsedTime:0,pseudoElement:0}),Py=fn($d),Fy=Ct({},jn,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),bg=fn(Fy),xg=Ct({},jn,{data:0}),Ro=fn(xg),Uy=Ro,Rs={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},wg={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"};function wn(t){if(t.key){var r=Rs[t.key]||t.key;if(r!=="Unidentified")return r}if(t.type==="keypress"){var u=yu(t);return u===13?"Enter":String.fromCharCode(u)}return t.type==="keydown"||t.type==="keyup"?wg[t.keyCode]||"Unidentified":""}var By={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Tg(t){var r=this,u=r.nativeEvent;if(u.getModifierState)return u.getModifierState(t);var l=By[t];return l?!!u[l]:!1}function mh(t){return Tg}var Hy=Ct({},Eu,{key:wn,code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:mh,charCode:function(t){return t.type==="keypress"?yu(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?yu(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),Sg=fn(Hy),Cg=Ct({},bi,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),_g=fn(Cg),Ua=Ct({},Eu,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:mh}),gh=fn(Ua),zy=Ct({},jn,{propertyName:0,elapsedTime:0,pseudoElement:0}),No=fn(zy),Xd=Ct({},bi,{deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:0,deltaMode:0}),xu=fn(Xd),Kd=[9,13,27,32],Jd=229,nc=an&&"CompositionEvent"in window,rc=null;an&&"documentMode"in document&&(rc=document.documentMode);var vh=an&&"TextEvent"in window&&!rc,kg=an&&(!nc||rc&&rc>8&&rc<=11),yh=32,Eh=String.fromCharCode(yh);function Zd(){Nn("onBeforeInput",["compositionend","keypress","textInput","paste"]),Nn("onCompositionEnd",["compositionend","focusout","keydown","keypress","keyup","mousedown"]),Nn("onCompositionStart",["compositionstart","focusout","keydown","keypress","keyup","mousedown"]),Nn("onCompositionUpdate",["compositionupdate","focusout","keydown","keypress","keyup","mousedown"])}var ac=!1;function Ag(t){return(t.ctrlKey||t.altKey||t.metaKey)&&!(t.ctrlKey&&t.altKey)}function bh(t){switch(t){case"compositionstart":return"onCompositionStart";case"compositionend":return"onCompositionEnd";case"compositionupdate":return"onCompositionUpdate"}}function jy(t,r){return t==="keydown"&&r.keyCode===Jd}function xh(t,r){switch(t){case"keyup":return Kd.indexOf(r.keyCode)!==-1;case"keydown":return r.keyCode!==Jd;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function ef(t){var r=t.detail;return typeof r=="object"&&"data"in r?r.data:null}function ic(t){return t.locale==="ko"}var Do=!1;function tf(t,r,u,l,p){var v,w;if(nc?v=bh(r):Do?xh(r,l)&&(v="onCompositionEnd"):jy(r,l)&&(v="onCompositionStart"),!v)return null;kg&&!ic(l)&&(!Do&&v==="onCompositionStart"?Do=Wd(p):v==="onCompositionEnd"&&Do&&(w=qd()));var _=Ig(u,v);if(_.length>0){var A=new Ro(v,r,null,l,p);if(t.push({event:A,listeners:_}),w)A.data=w;else{var O=ef(l);O!==null&&(A.data=O)}}}function Rg(t,r){switch(t){case"compositionend":return ef(r);case"keypress":var u=r.which;return u!==yh?null:(ac=!0,Eh);case"textInput":var l=r.data;return l===Eh&&ac?null:l;default:return null}}function Vy(t,r){if(Do){if(t==="compositionend"||!nc&&xh(t,r)){var u=qd();return Zl(),Do=!1,u}return null}switch(t){case"paste":return null;case"keypress":if(!Ag(r)){if(r.char&&r.char.length>1)return r.char;if(r.which)return String.fromCharCode(r.which)}return null;case"compositionend":return kg&&!ic(r)?null:r.data;default:return null}}function nf(t,r,u,l,p){var v;if(vh?v=Rg(r,l):v=Vy(r,l),!v)return null;var w=Ig(u,"onBeforeInput");if(w.length>0){var _=new Uy("onBeforeInput","beforeinput",null,l,p);t.push({event:_,listeners:w}),_.data=v}}function Yy(t,r,u,l,p,v,w){tf(t,r,u,l,p),nf(t,r,u,l,p)}var oc={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 Ng(t){var r=t&&t.nodeName&&t.nodeName.toLowerCase();return r==="input"?!!oc[t.type]:r==="textarea"}/**
77
- * Checks if an event is supported in the current execution environment.
78
- *
79
- * NOTE: This will not work correctly for non-generic events such as `change`,
80
- * `reset`, `load`, `error`, and `select`.
81
- *
82
- * Borrows from Modernizr.
83
- *
84
- * @param {string} eventNameSuffix Event name, e.g. "click".
85
- * @return {boolean} True if the event is supported.
86
- * @internal
87
- * @license Modernizr 3.0.0pre (Custom Build) | MIT
88
- */function rf(t){if(!an)return!1;var r="on"+t,u=r in document;if(!u){var l=document.createElement("div");l.setAttribute(r,"return;"),u=typeof l[r]=="function"}return u}function i(){Nn("onChange",["change","click","focusin","focusout","input","keydown","keyup","selectionchange"])}function o(t,r,u,l){nd(l);var p=Ig(r,"onChange");if(p.length>0){var v=new Qd("onChange","change",null,u,l);t.push({event:v,listeners:p})}}var c=null,m=null;function x(t){var r=t.nodeName&&t.nodeName.toLowerCase();return r==="select"||r==="input"&&t.type==="file"}function T(t){var r=[];o(r,m,t,td(t)),Pp(N,r)}function N(t){NT(t,0)}function z(t){var r=cf(t);if(f0(r))return t}function Y(t,r){if(t==="change")return r}var se=!1;an&&(se=rf("input")&&(!document.documentMode||document.documentMode>9));function be(t,r){c=t,m=r,c.attachEvent("onpropertychange",ye)}function Te(){c&&(c.detachEvent("onpropertychange",ye),c=null,m=null)}function ye(t){t.propertyName==="value"&&z(m)&&T(t)}function Ue(t,r,u){t==="focusin"?(Te(),be(r,u)):t==="focusout"&&Te()}function Ve(t,r){if(t==="selectionchange"||t==="keyup"||t==="keydown")return z(m)}function Qe(t){var r=t.nodeName;return r&&r.toLowerCase()==="input"&&(t.type==="checkbox"||t.type==="radio")}function kn(t,r){if(t==="click")return z(r)}function ee(t,r){if(t==="input"||t==="change")return z(r)}function Q(t){var r=t._wrapperState;!r||!r.controlled||t.type!=="number"||mo(t,"number",t.value)}function oe(t,r,u,l,p,v,w){var _=u?cf(u):window,A,O;if(x(_)?A=Y:Ng(_)?se?A=ee:(A=Ve,O=Ue):Qe(_)&&(A=kn),A){var M=A(r,u);if(M){o(t,M,l,p);return}}O&&O(r,_,u),r==="focusout"&&Q(_)}function ke(){Br("onMouseEnter",["mouseout","mouseover"]),Br("onMouseLeave",["mouseout","mouseover"]),Br("onPointerEnter",["pointerout","pointerover"]),Br("onPointerLeave",["pointerout","pointerover"])}function Xe(t,r,u,l,p,v,w){var _=r==="mouseover"||r==="pointerover",A=r==="mouseout"||r==="pointerout";if(_&&!V0(l)){var O=l.relatedTarget||l.fromElement;if(O&&(lc(O)||Mh(O)))return}if(!(!A&&!_)){var M;if(p.window===p)M=p;else{var G=p.ownerDocument;G?M=G.defaultView||G.parentWindow:M=window}var q,ue;if(A){var le=l.relatedTarget||l.toElement;if(q=u,ue=le?lc(le):null,ue!==null){var fe=ca(ue);(ue!==fe||ue.tag!==k&&ue.tag!==D)&&(ue=null)}}else q=null,ue=u;if(q!==ue){var Pe=Gd,rt="onMouseLeave",Je="onMouseEnter",Ot="mouse";(r==="pointerout"||r==="pointerover")&&(Pe=_g,rt="onPointerLeave",Je="onPointerEnter",Ot="pointer");var kt=q==null?M:cf(q),ne=ue==null?M:cf(ue),pe=new Pe(rt,Ot+"leave",q,l,p);pe.target=kt,pe.relatedTarget=ne;var re=null,Se=lc(p);if(Se===u){var He=new Pe(Je,Ot+"enter",ue,l,p);He.target=ne,He.relatedTarget=kt,re=He}_N(t,pe,re,q,ue)}}}function it(t,r){return t===r&&(t!==0||1/t===1/r)||t!==t&&r!==r}var Ye=typeof Object.is=="function"?Object.is:it;function ot(t,r){if(Ye(t,r))return!0;if(typeof t!="object"||t===null||typeof r!="object"||r===null)return!1;var u=Object.keys(t),l=Object.keys(r);if(u.length!==l.length)return!1;for(var p=0;p<u.length;p++){var v=u[p];if(!Fn.call(r,v)||!Ye(t[v],r[v]))return!1}return!0}function Vn(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function Mt(t){for(;t;){if(t.nextSibling)return t.nextSibling;t=t.parentNode}}function $i(t,r){for(var u=Vn(t),l=0,p=0;u;){if(u.nodeType===Fi){if(p=l+u.textContent.length,l<=r&&p>=r)return{node:u,offset:r-l};l=p}u=Vn(Mt(u))}}function Wy(t){var r=t.ownerDocument,u=r&&r.defaultView||window,l=u.getSelection&&u.getSelection();if(!l||l.rangeCount===0)return null;var p=l.anchorNode,v=l.anchorOffset,w=l.focusNode,_=l.focusOffset;try{p.nodeType,w.nodeType}catch{return null}return oN(t,p,v,w,_)}function oN(t,r,u,l,p){var v=0,w=-1,_=-1,A=0,O=0,M=t,G=null;e:for(;;){for(var q=null;M===r&&(u===0||M.nodeType===Fi)&&(w=v+u),M===l&&(p===0||M.nodeType===Fi)&&(_=v+p),M.nodeType===Fi&&(v+=M.nodeValue.length),(q=M.firstChild)!==null;)G=M,M=q;for(;;){if(M===t)break e;if(G===r&&++A===u&&(w=v),G===l&&++O===p&&(_=v),(q=M.nextSibling)!==null)break;M=G,G=M.parentNode}M=q}return w===-1||_===-1?null:{start:w,end:_}}function uN(t,r){var u=t.ownerDocument||document,l=u&&u.defaultView||window;if(l.getSelection){var p=l.getSelection(),v=t.textContent.length,w=Math.min(r.start,v),_=r.end===void 0?w:Math.min(r.end,v);if(!p.extend&&w>_){var A=_;_=w,w=A}var O=$i(t,w),M=$i(t,_);if(O&&M){if(p.rangeCount===1&&p.anchorNode===O.node&&p.anchorOffset===O.offset&&p.focusNode===M.node&&p.focusOffset===M.offset)return;var G=u.createRange();G.setStart(O.node,O.offset),p.removeAllRanges(),w>_?(p.addRange(G),p.extend(M.node,M.offset)):(G.setEnd(M.node,M.offset),p.addRange(G))}}}function yT(t){return t&&t.nodeType===Fi}function ET(t,r){return!t||!r?!1:t===r?!0:yT(t)?!1:yT(r)?ET(t,r.parentNode):"contains"in t?t.contains(r):t.compareDocumentPosition?!!(t.compareDocumentPosition(r)&16):!1}function sN(t){return t&&t.ownerDocument&&ET(t.ownerDocument.documentElement,t)}function lN(t){try{return typeof t.contentWindow.location.href=="string"}catch{return!1}}function bT(){for(var t=window,r=jc();r instanceof t.HTMLIFrameElement;){if(lN(r))t=r.contentWindow;else return r;r=jc(t.document)}return r}function qy(t){var r=t&&t.nodeName&&t.nodeName.toLowerCase();return r&&(r==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||r==="textarea"||t.contentEditable==="true")}function cN(){var t=bT();return{focusedElem:t,selectionRange:qy(t)?fN(t):null}}function dN(t){var r=bT(),u=t.focusedElem,l=t.selectionRange;if(r!==u&&sN(u)){l!==null&&qy(u)&&pN(u,l);for(var p=[],v=u;v=v.parentNode;)v.nodeType===zr&&p.push({element:v,left:v.scrollLeft,top:v.scrollTop});typeof u.focus=="function"&&u.focus();for(var w=0;w<p.length;w++){var _=p[w];_.element.scrollLeft=_.left,_.element.scrollTop=_.top}}}function fN(t){var r;return"selectionStart"in t?r={start:t.selectionStart,end:t.selectionEnd}:r=Wy(t),r||{start:0,end:0}}function pN(t,r){var u=r.start,l=r.end;l===void 0&&(l=u),"selectionStart"in t?(t.selectionStart=u,t.selectionEnd=Math.min(l,t.value.length)):uN(t,r)}var hN=an&&"documentMode"in document&&document.documentMode<=11;function mN(){Nn("onSelect",["focusout","contextmenu","dragend","focusin","keydown","keyup","mousedown","mouseup","selectionchange"])}var af=null,Qy=null,wh=null,Gy=!1;function gN(t){if("selectionStart"in t&&qy(t))return{start:t.selectionStart,end:t.selectionEnd};var r=t.ownerDocument&&t.ownerDocument.defaultView||window,u=r.getSelection();return{anchorNode:u.anchorNode,anchorOffset:u.anchorOffset,focusNode:u.focusNode,focusOffset:u.focusOffset}}function vN(t){return t.window===t?t.document:t.nodeType===Ja?t:t.ownerDocument}function xT(t,r,u){var l=vN(u);if(!(Gy||af==null||af!==jc(l))){var p=gN(af);if(!wh||!ot(wh,p)){wh=p;var v=Ig(Qy,"onSelect");if(v.length>0){var w=new Qd("onSelect","select",null,r,u);t.push({event:w,listeners:v}),w.target=af}}}}function yN(t,r,u,l,p,v,w){var _=u?cf(u):window;switch(r){case"focusin":(Ng(_)||_.contentEditable==="true")&&(af=_,Qy=u,wh=null);break;case"focusout":af=null,Qy=null,wh=null;break;case"mousedown":Gy=!0;break;case"contextmenu":case"mouseup":case"dragend":Gy=!1,xT(t,l,p);break;case"selectionchange":if(hN)break;case"keydown":case"keyup":xT(t,l,p)}}function Dg(t,r){var u={};return u[t.toLowerCase()]=r.toLowerCase(),u["Webkit"+t]="webkit"+r,u["Moz"+t]="moz"+r,u}var of={animationend:Dg("Animation","AnimationEnd"),animationiteration:Dg("Animation","AnimationIteration"),animationstart:Dg("Animation","AnimationStart"),transitionend:Dg("Transition","TransitionEnd")},$y={},wT={};an&&(wT=document.createElement("div").style,"AnimationEvent"in window||(delete of.animationend.animation,delete of.animationiteration.animation,delete of.animationstart.animation),"TransitionEvent"in window||delete of.transitionend.transition);function Og(t){if($y[t])return $y[t];if(!of[t])return t;var r=of[t];for(var u in r)if(r.hasOwnProperty(u)&&u in wT)return $y[t]=r[u];return t}var TT=Og("animationend"),ST=Og("animationiteration"),CT=Og("animationstart"),_T=Og("transitionend"),kT=new Map,AT=["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"];function Ns(t,r){kT.set(t,r),Nn(r,[t])}function EN(){for(var t=0;t<AT.length;t++){var r=AT[t],u=r.toLowerCase(),l=r[0].toUpperCase()+r.slice(1);Ns(u,"on"+l)}Ns(TT,"onAnimationEnd"),Ns(ST,"onAnimationIteration"),Ns(CT,"onAnimationStart"),Ns("dblclick","onDoubleClick"),Ns("focusin","onFocus"),Ns("focusout","onBlur"),Ns(_T,"onTransitionEnd")}function bN(t,r,u,l,p,v,w){var _=kT.get(r);if(_!==void 0){var A=Qd,O=r;switch(r){case"keypress":if(yu(l)===0)return;case"keydown":case"keyup":A=Sg;break;case"focusin":O="focus",A=tc;break;case"focusout":O="blur",A=tc;break;case"beforeblur":case"afterblur":A=tc;break;case"click":if(l.button===2)return;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":A=Gd;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":A=yg;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":A=gh;break;case TT:case ST:case CT:A=Py;break;case _T:A=No;break;case"scroll":A=fh;break;case"wheel":A=xu;break;case"copy":case"cut":case"paste":A=bg;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":A=_g;break}var M=(v&eu)!==0;{var G=!M&&r==="scroll",q=SN(u,_,l.type,M,G);if(q.length>0){var ue=new A(_,O,null,l,p);t.push({event:ue,listeners:q})}}}}EN(),ke(),i(),mN(),Zd();function xN(t,r,u,l,p,v,w){bN(t,r,u,l,p,v);var _=(v&Ty)===0;_&&(Xe(t,r,u,l,p),oe(t,r,u,l,p),yN(t,r,u,l,p),Yy(t,r,u,l,p))}var Th=["abort","canplay","canplaythrough","durationchange","emptied","encrypted","ended","error","loadeddata","loadedmetadata","loadstart","pause","play","playing","progress","ratechange","resize","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting"],Xy=new Set(["cancel","close","invalid","load","scroll","toggle"].concat(Th));function RT(t,r,u){var l=t.type||"unknown-event";t.currentTarget=u,zi(l,r,void 0,t),t.currentTarget=null}function wN(t,r,u){var l;if(u)for(var p=r.length-1;p>=0;p--){var v=r[p],w=v.instance,_=v.currentTarget,A=v.listener;if(w!==l&&t.isPropagationStopped())return;RT(t,A,_),l=w}else for(var O=0;O<r.length;O++){var M=r[O],G=M.instance,q=M.currentTarget,ue=M.listener;if(G!==l&&t.isPropagationStopped())return;RT(t,ue,q),l=G}}function NT(t,r){for(var u=(r&eu)!==0,l=0;l<t.length;l++){var p=t[l],v=p.event,w=p.listeners;wN(v,w,u)}Hp()}function TN(t,r,u,l,p){var v=td(u),w=[];xN(w,t,l,u,v,r),NT(w,r)}function pn(t,r){Xy.has(t)||d('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',t);var u=!1,l=ZD(r),p=kN(t);l.has(p)||(DT(r,t,Rl,u),l.add(p))}function Ky(t,r,u){Xy.has(t)&&!r&&d('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',t);var l=0;r&&(l|=eu),DT(u,t,l,r)}var Lg="_reactListening"+Math.random().toString(36).slice(2);function Sh(t){if(!t[Lg]){t[Lg]=!0,cn.forEach(function(u){u!=="selectionchange"&&(Xy.has(u)||Ky(u,!1,t),Ky(u,!0,t))});var r=t.nodeType===Ja?t:t.ownerDocument;r!==null&&(r[Lg]||(r[Lg]=!0,Ky("selectionchange",!1,r)))}}function DT(t,r,u,l,p){var v=zn(t,r,u),w=void 0;Il&&(r==="touchstart"||r==="touchmove"||r==="wheel")&&(w=!0),t=t,l?w!==void 0?Yd(t,r,v,w):Qi(t,r,v):w!==void 0?dh(t,r,v,w):_s(t,r,v)}function OT(t,r){return t===r||t.nodeType===Ln&&t.parentNode===r}function Jy(t,r,u,l,p){var v=l;if(!(r&Bi)&&!(r&Rl)){var w=p;if(l!==null){var _=l;e:for(;;){if(_===null)return;var A=_.tag;if(A===S||A===R){var O=_.stateNode.containerInfo;if(OT(O,w))break;if(A===R)for(var M=_.return;M!==null;){var G=M.tag;if(G===S||G===R){var q=M.stateNode.containerInfo;if(OT(q,w))return}M=M.return}for(;O!==null;){var ue=lc(O);if(ue===null)return;var le=ue.tag;if(le===k||le===D){_=v=ue;continue e}O=O.parentNode}}_=_.return}}}Pp(function(){return TN(t,r,u,v)})}function Ch(t,r,u){return{instance:t,listener:r,currentTarget:u}}function SN(t,r,u,l,p,v){for(var w=r!==null?r+"Capture":null,_=l?w:r,A=[],O=t,M=null;O!==null;){var G=O,q=G.stateNode,ue=G.tag;if(ue===k&&q!==null&&(M=q,_!==null)){var le=nu(O,_);le!=null&&A.push(Ch(O,le,M))}if(p)break;O=O.return}return A}function Ig(t,r){for(var u=r+"Capture",l=[],p=t;p!==null;){var v=p,w=v.stateNode,_=v.tag;if(_===k&&w!==null){var A=w,O=nu(p,u);O!=null&&l.unshift(Ch(p,O,A));var M=nu(p,r);M!=null&&l.push(Ch(p,M,A))}p=p.return}return l}function uf(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==k);return t||null}function CN(t,r){for(var u=t,l=r,p=0,v=u;v;v=uf(v))p++;for(var w=0,_=l;_;_=uf(_))w++;for(;p-w>0;)u=uf(u),p--;for(;w-p>0;)l=uf(l),w--;for(var A=p;A--;){if(u===l||l!==null&&u===l.alternate)return u;u=uf(u),l=uf(l)}return null}function LT(t,r,u,l,p){for(var v=r._reactName,w=[],_=u;_!==null&&_!==l;){var A=_,O=A.alternate,M=A.stateNode,G=A.tag;if(O!==null&&O===l)break;if(G===k&&M!==null){var q=M;if(p){var ue=nu(_,v);ue!=null&&w.unshift(Ch(_,ue,q))}else if(!p){var le=nu(_,v);le!=null&&w.push(Ch(_,le,q))}}_=_.return}w.length!==0&&t.push({event:r,listeners:w})}function _N(t,r,u,l,p){var v=l&&p?CN(l,p):null;l!==null&&LT(t,r,l,v,!1),p!==null&&u!==null&&LT(t,u,p,v,!0)}function kN(t,r){return t+"__bubble"}var Ba=!1,_h="dangerouslySetInnerHTML",Mg="suppressContentEditableWarning",Ds="suppressHydrationWarning",IT="autoFocus",uc="children",sc="style",Pg="__html",Zy,Fg,kh,MT,Ug,PT,FT;Zy={dialog:!0,webview:!0},Fg=function(t,r){ed(t,r),Dp(t,r),j0(t,r,{registrationNameDependencies:Rn,possibleRegistrationNames:kr})},PT=an&&!document.documentMode,kh=function(t,r,u){if(!Ba){var l=Bg(u),p=Bg(r);p!==l&&(Ba=!0,d("Prop `%s` did not match. Server: %s Client: %s",t,JSON.stringify(p),JSON.stringify(l)))}},MT=function(t){if(!Ba){Ba=!0;var r=[];t.forEach(function(u){r.push(u)}),d("Extra attributes from the server: %s",r)}},Ug=function(t,r){r===!1?d("Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.",t,t,t):d("Expected `%s` listener to be a function, instead got a value of `%s` type.",t,typeof r)},FT=function(t,r){var u=t.namespaceURI===Pi?t.ownerDocument.createElement(t.tagName):t.ownerDocument.createElementNS(t.namespaceURI,t.tagName);return u.innerHTML=r,u.innerHTML};var AN=/\r\n?/g,RN=/\u0000|\uFFFD/g;function Bg(t){Oi(t);var r=typeof t=="string"?t:""+t;return r.replace(AN,`
89
- `).replace(RN,"")}function Hg(t,r,u,l){var p=Bg(r),v=Bg(t);if(v!==p&&(l&&(Ba||(Ba=!0,d('Text content did not match. Server: "%s" Client: "%s"',v,p))),u&&at))throw new Error("Text content does not match server-rendered HTML.")}function UT(t){return t.nodeType===Ja?t:t.ownerDocument}function NN(){}function zg(t){t.onclick=NN}function DN(t,r,u,l,p){for(var v in l)if(l.hasOwnProperty(v)){var w=l[v];if(v===sc)w&&Object.freeze(w),O0(r,w);else if(v===_h){var _=w?w[Pg]:void 0;_!=null&&x0(r,_)}else if(v===uc)if(typeof w=="string"){var A=t!=="textarea"||w!=="";A&&Xc(r,w)}else typeof w=="number"&&Xc(r,""+w);else v===Mg||v===Ds||v===IT||(Rn.hasOwnProperty(v)?w!=null&&(typeof w!="function"&&Ug(v,w),v==="onScroll"&&pn("scroll",r)):w!=null&&Go(r,v,w,p))}}function ON(t,r,u,l){for(var p=0;p<r.length;p+=2){var v=r[p],w=r[p+1];v===sc?O0(t,w):v===_h?x0(t,w):v===uc?Xc(t,w):Go(t,v,w,l)}}function LN(t,r,u,l){var p,v=UT(u),w,_=l;if(_===Pi&&(_=Gc(t)),_===Pi){if(p=Ui(t,r),!p&&t!==t.toLowerCase()&&d("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",t),t==="script"){var A=v.createElement("div");A.innerHTML="<script><\/script>";var O=A.firstChild;w=A.removeChild(O)}else if(typeof r.is=="string")w=v.createElement(t,{is:r.is});else if(w=v.createElement(t),t==="select"){var M=w;r.multiple?M.multiple=!0:r.size&&(M.size=r.size)}}else w=v.createElementNS(_,t);return _===Pi&&!p&&Object.prototype.toString.call(w)==="[object HTMLUnknownElement]"&&!Fn.call(Zy,t)&&(Zy[t]=!0,d("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",t)),w}function IN(t,r){return UT(r).createTextNode(t)}function MN(t,r,u,l){var p=Ui(r,u);Fg(r,u);var v;switch(r){case"dialog":pn("cancel",t),pn("close",t),v=u;break;case"iframe":case"object":case"embed":pn("load",t),v=u;break;case"video":case"audio":for(var w=0;w<Th.length;w++)pn(Th[w],t);v=u;break;case"source":pn("error",t),v=u;break;case"img":case"image":case"link":pn("error",t),pn("load",t),v=u;break;case"details":pn("toggle",t),v=u;break;case"input":Tl(t,u),v=wl(t,u),pn("invalid",t);break;case"option":qc(t,u),v=u;break;case"select":v0(t,u),v=bp(t,u),pn("invalid",t);break;case"textarea":y0(t,u),v=wp(t,u),pn("invalid",t);break;default:v=u}switch(Jc(r,v),DN(r,t,l,v,p),r){case"input":Ko(t),Sl(t,u,!1);break;case"textarea":Ko(t),b0(t);break;case"option":Ep(t,u);break;case"select":fy(t,u);break;default:typeof v.onClick=="function"&&zg(t);break}}function PN(t,r,u,l,p){Fg(r,l);var v=null,w,_;switch(r){case"input":w=wl(t,u),_=wl(t,l),v=[];break;case"select":w=bp(t,u),_=bp(t,l),v=[];break;case"textarea":w=wp(t,u),_=wp(t,l),v=[];break;default:w=u,_=l,typeof w.onClick!="function"&&typeof _.onClick=="function"&&zg(t);break}Jc(r,_);var A,O,M=null;for(A in w)if(!(_.hasOwnProperty(A)||!w.hasOwnProperty(A)||w[A]==null))if(A===sc){var G=w[A];for(O in G)G.hasOwnProperty(O)&&(M||(M={}),M[O]="")}else A===_h||A===uc||A===Mg||A===Ds||A===IT||(Rn.hasOwnProperty(A)?v||(v=[]):(v=v||[]).push(A,null));for(A in _){var q=_[A],ue=w!=null?w[A]:void 0;if(!(!_.hasOwnProperty(A)||q===ue||q==null&&ue==null))if(A===sc)if(q&&Object.freeze(q),ue){for(O in ue)ue.hasOwnProperty(O)&&(!q||!q.hasOwnProperty(O))&&(M||(M={}),M[O]="");for(O in q)q.hasOwnProperty(O)&&ue[O]!==q[O]&&(M||(M={}),M[O]=q[O])}else M||(v||(v=[]),v.push(A,M)),M=q;else if(A===_h){var le=q?q[Pg]:void 0,fe=ue?ue[Pg]:void 0;le!=null&&fe!==le&&(v=v||[]).push(A,le)}else A===uc?(typeof q=="string"||typeof q=="number")&&(v=v||[]).push(A,""+q):A===Mg||A===Ds||(Rn.hasOwnProperty(A)?(q!=null&&(typeof q!="function"&&Ug(A,q),A==="onScroll"&&pn("scroll",t)),!v&&ue!==q&&(v=[])):(v=v||[]).push(A,q))}return M&&(kl(M,_[sc]),(v=v||[]).push(sc,M)),v}function FN(t,r,u,l,p){u==="input"&&p.type==="radio"&&p.name!=null&&yp(t,p);var v=Ui(u,l),w=Ui(u,p);switch(ON(t,r,v,w),u){case"input":qu(t,p);break;case"textarea":E0(t,p);break;case"select":py(t,p);break}}function UN(t){{var r=t.toLowerCase();return Zc.hasOwnProperty(r)&&Zc[r]||null}}function BN(t,r,u,l,p,v,w){var _,A;switch(_=Ui(r,u),Fg(r,u),r){case"dialog":pn("cancel",t),pn("close",t);break;case"iframe":case"object":case"embed":pn("load",t);break;case"video":case"audio":for(var O=0;O<Th.length;O++)pn(Th[O],t);break;case"source":pn("error",t);break;case"img":case"image":case"link":pn("error",t),pn("load",t);break;case"details":pn("toggle",t);break;case"input":Tl(t,u),pn("invalid",t);break;case"option":qc(t,u);break;case"select":v0(t,u),pn("invalid",t);break;case"textarea":y0(t,u),pn("invalid",t);break}Jc(r,u);{A=new Set;for(var M=t.attributes,G=0;G<M.length;G++){var q=M[G].name.toLowerCase();switch(q){case"value":break;case"checked":break;case"selected":break;default:A.add(M[G].name)}}}var ue=null;for(var le in u)if(u.hasOwnProperty(le)){var fe=u[le];if(le===uc)typeof fe=="string"?t.textContent!==fe&&(u[Ds]!==!0&&Hg(t.textContent,fe,v,w),ue=[uc,fe]):typeof fe=="number"&&t.textContent!==""+fe&&(u[Ds]!==!0&&Hg(t.textContent,fe,v,w),ue=[uc,""+fe]);else if(Rn.hasOwnProperty(le))fe!=null&&(typeof fe!="function"&&Ug(le,fe),le==="onScroll"&&pn("scroll",t));else if(w&&typeof _=="boolean"){var Pe=void 0,rt=_&&V?null:fi(le);if(u[Ds]!==!0){if(!(le===Mg||le===Ds||le==="value"||le==="checked"||le==="selected")){if(le===_h){var Je=t.innerHTML,Ot=fe?fe[Pg]:void 0;if(Ot!=null){var kt=FT(t,Ot);kt!==Je&&kh(le,Je,kt)}}else if(le===sc){if(A.delete(le),PT){var ne=xy(fe);Pe=t.getAttribute("style"),ne!==Pe&&kh(le,Pe,ne)}}else if(_&&!V)A.delete(le.toLowerCase()),Pe=Fc(t,le,fe),fe!==Pe&&kh(le,Pe,fe);else if(!Kt(le,rt,_)&&!gn(le,fe,rt,_)){var pe=!1;if(rt!==null)A.delete(rt.attributeName),Pe=fl(t,le,fe,rt);else{var re=l;if(re===Pi&&(re=Gc(r)),re===Pi)A.delete(le.toLowerCase());else{var Se=UN(le);Se!==null&&Se!==le&&(pe=!0,A.delete(Se)),A.delete(le)}Pe=Fc(t,le,fe)}var He=V;!He&&fe!==Pe&&!pe&&kh(le,Pe,fe)}}}}}switch(w&&A.size>0&&u[Ds]!==!0&&MT(A),r){case"input":Ko(t),Sl(t,u,!0);break;case"textarea":Ko(t),b0(t);break;case"select":case"option":break;default:typeof u.onClick=="function"&&zg(t);break}return ue}function HN(t,r,u){var l=t.nodeValue!==r;return l}function eE(t,r){{if(Ba)return;Ba=!0,d("Did not expect server HTML to contain a <%s> in <%s>.",r.nodeName.toLowerCase(),t.nodeName.toLowerCase())}}function tE(t,r){{if(Ba)return;Ba=!0,d('Did not expect server HTML to contain the text node "%s" in <%s>.',r.nodeValue,t.nodeName.toLowerCase())}}function nE(t,r,u){{if(Ba)return;Ba=!0,d("Expected server HTML to contain a matching <%s> in <%s>.",r,t.nodeName.toLowerCase())}}function rE(t,r){{if(r===""||Ba)return;Ba=!0,d('Expected server HTML to contain a matching text node for "%s" in <%s>.',r,t.nodeName.toLowerCase())}}function zN(t,r,u){switch(r){case"input":p0(t,u);return;case"textarea":Tp(t,u);return;case"select":hy(t,u);return}}var Ah=function(){},Rh=function(){};{var jN=["address","applet","area","article","aside","base","basefont","bgsound","blockquote","body","br","button","caption","center","col","colgroup","dd","details","dir","div","dl","dt","embed","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","iframe","img","input","isindex","li","link","listing","main","marquee","menu","menuitem","meta","nav","noembed","noframes","noscript","object","ol","p","param","plaintext","pre","script","section","select","source","style","summary","table","tbody","td","template","textarea","tfoot","th","thead","title","tr","track","ul","wbr","xmp"],BT=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],VN=BT.concat(["button"]),YN=["dd","dt","li","option","optgroup","p","rp","rt"],HT={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null};Rh=function(t,r){var u=Ct({},t||HT),l={tag:r};return BT.indexOf(r)!==-1&&(u.aTagInScope=null,u.buttonTagInScope=null,u.nobrTagInScope=null),VN.indexOf(r)!==-1&&(u.pTagInButtonScope=null),jN.indexOf(r)!==-1&&r!=="address"&&r!=="div"&&r!=="p"&&(u.listItemTagAutoclosing=null,u.dlItemTagAutoclosing=null),u.current=l,r==="form"&&(u.formTag=l),r==="a"&&(u.aTagInScope=l),r==="button"&&(u.buttonTagInScope=l),r==="nobr"&&(u.nobrTagInScope=l),r==="p"&&(u.pTagInButtonScope=l),r==="li"&&(u.listItemTagAutoclosing=l),(r==="dd"||r==="dt")&&(u.dlItemTagAutoclosing=l),u};var WN=function(t,r){switch(r){case"select":return t==="option"||t==="optgroup"||t==="#text";case"optgroup":return t==="option"||t==="#text";case"option":return t==="#text";case"tr":return t==="th"||t==="td"||t==="style"||t==="script"||t==="template";case"tbody":case"thead":case"tfoot":return t==="tr"||t==="style"||t==="script"||t==="template";case"colgroup":return t==="col"||t==="template";case"table":return t==="caption"||t==="colgroup"||t==="tbody"||t==="tfoot"||t==="thead"||t==="style"||t==="script"||t==="template";case"head":return t==="base"||t==="basefont"||t==="bgsound"||t==="link"||t==="meta"||t==="title"||t==="noscript"||t==="noframes"||t==="style"||t==="script"||t==="template";case"html":return t==="head"||t==="body"||t==="frameset";case"frameset":return t==="frame";case"#document":return t==="html"}switch(t){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return r!=="h1"&&r!=="h2"&&r!=="h3"&&r!=="h4"&&r!=="h5"&&r!=="h6";case"rp":case"rt":return YN.indexOf(r)===-1;case"body":case"caption":case"col":case"colgroup":case"frameset":case"frame":case"head":case"html":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return r==null}return!0},qN=function(t,r){switch(t){case"address":case"article":case"aside":case"blockquote":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"main":case"menu":case"nav":case"ol":case"p":case"section":case"summary":case"ul":case"pre":case"listing":case"table":case"hr":case"xmp":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return r.pTagInButtonScope;case"form":return r.formTag||r.pTagInButtonScope;case"li":return r.listItemTagAutoclosing;case"dd":case"dt":return r.dlItemTagAutoclosing;case"button":return r.buttonTagInScope;case"a":return r.aTagInScope;case"nobr":return r.nobrTagInScope}return null},zT={};Ah=function(t,r,u){u=u||HT;var l=u.current,p=l&&l.tag;r!=null&&(t!=null&&d("validateDOMNesting: when childText is passed, childTag should be null"),t="#text");var v=WN(t,p)?null:l,w=v?null:qN(t,u),_=v||w;if(_){var A=_.tag,O=!!v+"|"+t+"|"+A;if(!zT[O]){zT[O]=!0;var M=t,G="";if(t==="#text"?/\S/.test(r)?M="Text nodes":(M="Whitespace text nodes",G=" Make sure you don't have any extra whitespace between tags on each line of your source code."):M="<"+t+">",v){var q="";A==="table"&&t==="tr"&&(q+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),d("validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s",M,A,G,q)}else d("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.",M,A)}}}}var jg="suppressHydrationWarning",Vg="$",Yg="/$",Nh="$?",Dh="$!",QN="style",aE=null,iE=null;function GN(t){var r,u,l=t.nodeType;switch(l){case Ja:case Jo:{r=l===Ja?"#document":"#fragment";var p=t.documentElement;u=p?p.namespaceURI:Cp(null,"");break}default:{var v=l===Ln?t.parentNode:t,w=v.namespaceURI||null;r=v.tagName,u=Cp(w,r);break}}{var _=r.toLowerCase(),A=Rh(null,_);return{namespace:u,ancestorInfo:A}}}function $N(t,r,u){{var l=t,p=Cp(l.namespace,r),v=Rh(l.ancestorInfo,r);return{namespace:p,ancestorInfo:v}}}function EY(t){return t}function XN(t){aE=Ss(),iE=cN();var r=null;return Kr(!1),r}function KN(t){dN(iE),Kr(aE),aE=null,iE=null}function JN(t,r,u,l,p){var v;{var w=l;if(Ah(t,null,w.ancestorInfo),typeof r.children=="string"||typeof r.children=="number"){var _=""+r.children,A=Rh(w.ancestorInfo,t);Ah(null,_,A)}v=w.namespace}var O=LN(t,r,u,v);return Ih(p,O),pE(O,r),O}function ZN(t,r){t.appendChild(r)}function eD(t,r,u,l,p){switch(MN(t,r,u,l),r){case"button":case"input":case"select":case"textarea":return!!u.autoFocus;case"img":return!0;default:return!1}}function tD(t,r,u,l,p,v){{var w=v;if(typeof l.children!=typeof u.children&&(typeof l.children=="string"||typeof l.children=="number")){var _=""+l.children,A=Rh(w.ancestorInfo,r);Ah(null,_,A)}}return PN(t,r,u,l)}function oE(t,r){return t==="textarea"||t==="noscript"||typeof r.children=="string"||typeof r.children=="number"||typeof r.dangerouslySetInnerHTML=="object"&&r.dangerouslySetInnerHTML!==null&&r.dangerouslySetInnerHTML.__html!=null}function nD(t,r,u,l){{var p=u;Ah(null,t,p.ancestorInfo)}var v=IN(t,r);return Ih(l,v),v}function rD(){var t=window.event;return t===void 0?vi:Vd(t.type)}var uE=typeof setTimeout=="function"?setTimeout:void 0,aD=typeof clearTimeout=="function"?clearTimeout:void 0,sE=-1,jT=typeof Promise=="function"?Promise:void 0,iD=typeof queueMicrotask=="function"?queueMicrotask:typeof jT<"u"?function(t){return jT.resolve(null).then(t).catch(oD)}:uE;function oD(t){setTimeout(function(){throw t})}function uD(t,r,u,l){switch(r){case"button":case"input":case"select":case"textarea":u.autoFocus&&t.focus();return;case"img":{u.src&&(t.src=u.src);return}}}function sD(t,r,u,l,p,v){FN(t,r,u,l,p),pE(t,p)}function VT(t){Xc(t,"")}function lD(t,r,u){t.nodeValue=u}function cD(t,r){t.appendChild(r)}function dD(t,r){var u;t.nodeType===Ln?(u=t.parentNode,u.insertBefore(r,t)):(u=t,u.appendChild(r));var l=t._reactRootContainer;l==null&&u.onclick===null&&zg(u)}function fD(t,r,u){t.insertBefore(r,u)}function pD(t,r,u){t.nodeType===Ln?t.parentNode.insertBefore(r,u):t.insertBefore(r,u)}function hD(t,r){t.removeChild(r)}function mD(t,r){t.nodeType===Ln?t.parentNode.removeChild(r):t.removeChild(r)}function lE(t,r){var u=r,l=0;do{var p=u.nextSibling;if(t.removeChild(u),p&&p.nodeType===Ln){var v=p.data;if(v===Yg)if(l===0){t.removeChild(p),xn(r);return}else l--;else(v===Vg||v===Nh||v===Dh)&&l++}u=p}while(u);xn(r)}function gD(t,r){t.nodeType===Ln?lE(t.parentNode,r):t.nodeType===zr&&lE(t,r),xn(t)}function vD(t){t=t;var r=t.style;typeof r.setProperty=="function"?r.setProperty("display","none","important"):r.display="none"}function yD(t){t.nodeValue=""}function ED(t,r){t=t;var u=r[QN],l=u!=null&&u.hasOwnProperty("display")?u.display:null;t.style.display=Kc("display",l)}function bD(t,r){t.nodeValue=r}function xD(t){t.nodeType===zr?t.textContent="":t.nodeType===Ja&&t.documentElement&&t.removeChild(t.documentElement)}function wD(t,r,u){return t.nodeType!==zr||r.toLowerCase()!==t.nodeName.toLowerCase()?null:t}function TD(t,r){return r===""||t.nodeType!==Fi?null:t}function SD(t){return t.nodeType!==Ln?null:t}function YT(t){return t.data===Nh}function cE(t){return t.data===Dh}function CD(t){var r=t.nextSibling&&t.nextSibling.dataset,u,l,p;return r&&(u=r.dgst,l=r.msg,p=r.stck),{message:l,digest:u,stack:p}}function _D(t,r){t._reactRetry=r}function Wg(t){for(;t!=null;t=t.nextSibling){var r=t.nodeType;if(r===zr||r===Fi)break;if(r===Ln){var u=t.data;if(u===Vg||u===Dh||u===Nh)break;if(u===Yg)return null}}return t}function Oh(t){return Wg(t.nextSibling)}function kD(t){return Wg(t.firstChild)}function AD(t){return Wg(t.firstChild)}function RD(t){return Wg(t.nextSibling)}function ND(t,r,u,l,p,v,w){Ih(v,t),pE(t,u);var _;{var A=p;_=A.namespace}var O=(v.mode&Ke)!==$e;return BN(t,r,u,_,l,O,w)}function DD(t,r,u,l){return Ih(u,t),u.mode&Ke,HN(t,r)}function OD(t,r){Ih(r,t)}function LD(t){for(var r=t.nextSibling,u=0;r;){if(r.nodeType===Ln){var l=r.data;if(l===Yg){if(u===0)return Oh(r);u--}else(l===Vg||l===Dh||l===Nh)&&u++}r=r.nextSibling}return null}function WT(t){for(var r=t.previousSibling,u=0;r;){if(r.nodeType===Ln){var l=r.data;if(l===Vg||l===Dh||l===Nh){if(u===0)return r;u--}else l===Yg&&u++}r=r.previousSibling}return null}function ID(t){xn(t)}function MD(t){xn(t)}function PD(t){return t!=="head"&&t!=="body"}function FD(t,r,u,l){var p=!0;Hg(r.nodeValue,u,l,p)}function UD(t,r,u,l,p,v){if(r[jg]!==!0){var w=!0;Hg(l.nodeValue,p,v,w)}}function BD(t,r){r.nodeType===zr?eE(t,r):r.nodeType===Ln||tE(t,r)}function HD(t,r){{var u=t.parentNode;u!==null&&(r.nodeType===zr?eE(u,r):r.nodeType===Ln||tE(u,r))}}function zD(t,r,u,l,p){(p||r[jg]!==!0)&&(l.nodeType===zr?eE(u,l):l.nodeType===Ln||tE(u,l))}function jD(t,r,u){nE(t,r)}function VD(t,r){rE(t,r)}function YD(t,r,u){{var l=t.parentNode;l!==null&&nE(l,r)}}function WD(t,r){{var u=t.parentNode;u!==null&&rE(u,r)}}function qD(t,r,u,l,p,v){(v||r[jg]!==!0)&&nE(u,l)}function QD(t,r,u,l,p){(p||r[jg]!==!0)&&rE(u,l)}function GD(t){d("An error occurred during hydration. The server HTML was replaced with client content in <%s>.",t.nodeName.toLowerCase())}function $D(t){Sh(t)}var sf=Math.random().toString(36).slice(2),lf="__reactFiber$"+sf,dE="__reactProps$"+sf,Lh="__reactContainer$"+sf,fE="__reactEvents$"+sf,XD="__reactListeners$"+sf,KD="__reactHandles$"+sf;function JD(t){delete t[lf],delete t[dE],delete t[fE],delete t[XD],delete t[KD]}function Ih(t,r){r[lf]=t}function qg(t,r){r[Lh]=t}function qT(t){t[Lh]=null}function Mh(t){return!!t[Lh]}function lc(t){var r=t[lf];if(r)return r;for(var u=t.parentNode;u;){if(r=u[Lh]||u[lf],r){var l=r.alternate;if(r.child!==null||l!==null&&l.child!==null)for(var p=WT(t);p!==null;){var v=p[lf];if(v)return v;p=WT(p)}return r}t=u,u=t.parentNode}return null}function Os(t){var r=t[lf]||t[Lh];return r&&(r.tag===k||r.tag===D||r.tag===Z||r.tag===S)?r:null}function cf(t){if(t.tag===k||t.tag===D)return t.stateNode;throw new Error("getNodeFromInstance: Invalid argument.")}function Qg(t){return t[dE]||null}function pE(t,r){t[dE]=r}function ZD(t){var r=t[fE];return r===void 0&&(r=t[fE]=new Set),r}var QT={},GT=a.ReactDebugCurrentFrame;function Gg(t){if(t){var r=t._owner,u=gl(t.type,t._source,r?r.type:null);GT.setExtraStackFrame(u)}else GT.setExtraStackFrame(null)}function Xi(t,r,u,l,p){{var v=Function.call.bind(Fn);for(var w in t)if(v(t,w)){var _=void 0;try{if(typeof t[w]!="function"){var A=Error((l||"React class")+": "+u+" type `"+w+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof t[w]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw A.name="Invariant Violation",A}_=t[w](r,w,l,u,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(O){_=O}_&&!(_ instanceof Error)&&(Gg(p),d("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",l||"React class",u,w,typeof _),Gg(null)),_ instanceof Error&&!(_.message in QT)&&(QT[_.message]=!0,Gg(p),d("Failed %s type: %s",u,_.message),Gg(null))}}}var hE=[],$g;$g=[];var wu=-1;function Ls(t){return{current:t}}function Jr(t,r){if(wu<0){d("Unexpected pop.");return}r!==$g[wu]&&d("Unexpected Fiber popped."),t.current=hE[wu],hE[wu]=null,$g[wu]=null,wu--}function Zr(t,r,u){wu++,hE[wu]=t.current,$g[wu]=u,t.current=r}var mE;mE={};var ni={};Object.freeze(ni);var Tu=Ls(ni),Oo=Ls(!1),gE=ni;function df(t,r,u){return u&&Lo(r)?gE:Tu.current}function $T(t,r,u){{var l=t.stateNode;l.__reactInternalMemoizedUnmaskedChildContext=r,l.__reactInternalMemoizedMaskedChildContext=u}}function ff(t,r){{var u=t.type,l=u.contextTypes;if(!l)return ni;var p=t.stateNode;if(p&&p.__reactInternalMemoizedUnmaskedChildContext===r)return p.__reactInternalMemoizedMaskedChildContext;var v={};for(var w in l)v[w]=r[w];{var _=mt(t)||"Unknown";Xi(l,v,"context",_)}return p&&$T(t,r,v),v}}function Xg(){return Oo.current}function Lo(t){{var r=t.childContextTypes;return r!=null}}function Kg(t){Jr(Oo,t),Jr(Tu,t)}function vE(t){Jr(Oo,t),Jr(Tu,t)}function XT(t,r,u){{if(Tu.current!==ni)throw new Error("Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.");Zr(Tu,r,t),Zr(Oo,u,t)}}function KT(t,r,u){{var l=t.stateNode,p=r.childContextTypes;if(typeof l.getChildContext!="function"){{var v=mt(t)||"Unknown";mE[v]||(mE[v]=!0,d("%s.childContextTypes is specified but there is no getChildContext() method on the instance. You can either define getChildContext() on %s or remove childContextTypes from it.",v,v))}return u}var w=l.getChildContext();for(var _ in w)if(!(_ in p))throw new Error((mt(t)||"Unknown")+'.getChildContext(): key "'+_+'" is not defined in childContextTypes.');{var A=mt(t)||"Unknown";Xi(p,w,"child context",A)}return Ct({},u,w)}}function Jg(t){{var r=t.stateNode,u=r&&r.__reactInternalMemoizedMergedChildContext||ni;return gE=Tu.current,Zr(Tu,u,t),Zr(Oo,Oo.current,t),!0}}function JT(t,r,u){{var l=t.stateNode;if(!l)throw new Error("Expected to have an instance by this point. This error is likely caused by a bug in React. Please file an issue.");if(u){var p=KT(t,r,gE);l.__reactInternalMemoizedMergedChildContext=p,Jr(Oo,t),Jr(Tu,t),Zr(Tu,p,t),Zr(Oo,u,t)}else Jr(Oo,t),Zr(Oo,u,t)}}function e6(t){{if(!Wp(t)||t.tag!==b)throw new Error("Expected subtree parent to be a mounted class component. This error is likely caused by a bug in React. Please file an issue.");var r=t;do{switch(r.tag){case S:return r.stateNode.context;case b:{var u=r.type;if(Lo(u))return r.stateNode.__reactInternalMemoizedMergedChildContext;break}}r=r.return}while(r!==null);throw new Error("Found unexpected detached subtree parent. This error is likely caused by a bug in React. Please file an issue.")}}var Is=0,Zg=1,Su=null,yE=!1,EE=!1;function ZT(t){Su===null?Su=[t]:Su.push(t)}function t6(t){yE=!0,ZT(t)}function eS(){yE&&Ms()}function Ms(){if(!EE&&Su!==null){EE=!0;var t=0,r=Ia();try{var u=!0,l=Su;for(bn(_n);t<l.length;t++){var p=l[t];do p=p(u);while(p!==null)}Su=null,yE=!1}catch(v){throw Su!==null&&(Su=Su.slice(t+1)),sd(cd,Ms),v}finally{bn(r),EE=!1}}return null}var pf=[],hf=0,ev=null,tv=0,xi=[],wi=0,cc=null,Cu=1,_u="";function n6(t){return fc(),(t.flags&jp)!==nt}function r6(t){return fc(),tv}function a6(){var t=_u,r=Cu,u=r&~i6(r);return u.toString(32)+t}function dc(t,r){fc(),pf[hf++]=tv,pf[hf++]=ev,ev=t,tv=r}function tS(t,r,u){fc(),xi[wi++]=Cu,xi[wi++]=_u,xi[wi++]=cc,cc=t;var l=Cu,p=_u,v=nv(l)-1,w=l&~(1<<v),_=u+1,A=nv(r)+v;if(A>30){var O=v-v%5,M=(1<<O)-1,G=(w&M).toString(32),q=w>>O,ue=v-O,le=nv(r)+ue,fe=_<<ue,Pe=fe|q,rt=G+p;Cu=1<<le|Pe,_u=rt}else{var Je=_<<v,Ot=Je|w,kt=p;Cu=1<<A|Ot,_u=kt}}function bE(t){fc();var r=t.return;if(r!==null){var u=1,l=0;dc(t,u),tS(t,u,l)}}function nv(t){return 32-us(t)}function i6(t){return 1<<nv(t)-1}function xE(t){for(;t===ev;)ev=pf[--hf],pf[hf]=null,tv=pf[--hf],pf[hf]=null;for(;t===cc;)cc=xi[--wi],xi[wi]=null,_u=xi[--wi],xi[wi]=null,Cu=xi[--wi],xi[wi]=null}function o6(){return fc(),cc!==null?{id:Cu,overflow:_u}:null}function u6(t,r){fc(),xi[wi++]=Cu,xi[wi++]=_u,xi[wi++]=cc,Cu=r.id,_u=r.overflow,cc=t}function fc(){Dr()||d("Expected to be hydrating. This is a bug in React. Please file an issue.")}var Nr=null,Ti=null,Ki=!1,pc=!1,Ps=null;function s6(){Ki&&d("We should not be hydrating here. This is a bug in React. Please file a bug.")}function nS(){pc=!0}function l6(){return pc}function c6(t){var r=t.stateNode.containerInfo;return Ti=AD(r),Nr=t,Ki=!0,Ps=null,pc=!1,!0}function d6(t,r,u){return Ti=RD(r),Nr=t,Ki=!0,Ps=null,pc=!1,u!==null&&u6(t,u),!0}function rS(t,r){switch(t.tag){case S:{BD(t.stateNode.containerInfo,r);break}case k:{var u=(t.mode&Ke)!==$e;zD(t.type,t.memoizedProps,t.stateNode,r,u);break}case Z:{var l=t.memoizedState;l.dehydrated!==null&&HD(l.dehydrated,r);break}}}function aS(t,r){rS(t,r);var u=m4();u.stateNode=r,u.return=t;var l=t.deletions;l===null?(t.deletions=[u],t.flags|=Bt):l.push(u)}function wE(t,r){{if(pc)return;switch(t.tag){case S:{var u=t.stateNode.containerInfo;switch(r.tag){case k:var l=r.type;r.pendingProps,jD(u,l);break;case D:var p=r.pendingProps;VD(u,p);break}break}case k:{var v=t.type,w=t.memoizedProps,_=t.stateNode;switch(r.tag){case k:{var A=r.type,O=r.pendingProps,M=(t.mode&Ke)!==$e;qD(v,w,_,A,O,M);break}case D:{var G=r.pendingProps,q=(t.mode&Ke)!==$e;QD(v,w,_,G,q);break}}break}case Z:{var ue=t.memoizedState,le=ue.dehydrated;if(le!==null)switch(r.tag){case k:var fe=r.type;r.pendingProps,YD(le,fe);break;case D:var Pe=r.pendingProps;WD(le,Pe);break}break}default:return}}}function iS(t,r){r.flags=r.flags&~Aa|Zt,wE(t,r)}function oS(t,r){switch(t.tag){case k:{var u=t.type;t.pendingProps;var l=wD(r,u);return l!==null?(t.stateNode=l,Nr=t,Ti=kD(l),!0):!1}case D:{var p=t.pendingProps,v=TD(r,p);return v!==null?(t.stateNode=v,Nr=t,Ti=null,!0):!1}case Z:{var w=SD(r);if(w!==null){var _={dehydrated:w,treeContext:o6(),retryLane:wr};t.memoizedState=_;var A=g4(w);return A.return=t,t.child=A,Nr=t,Ti=null,!0}return!1}default:return!1}}function TE(t){return(t.mode&Ke)!==$e&&(t.flags&lt)===nt}function SE(t){throw new Error("Hydration failed because the initial UI does not match what was rendered on the server.")}function CE(t){if(Ki){var r=Ti;if(!r){TE(t)&&(wE(Nr,t),SE()),iS(Nr,t),Ki=!1,Nr=t;return}var u=r;if(!oS(t,r)){TE(t)&&(wE(Nr,t),SE()),r=Oh(u);var l=Nr;if(!r||!oS(t,r)){iS(Nr,t),Ki=!1,Nr=t;return}aS(l,u)}}}function f6(t,r,u){var l=t.stateNode,p=!pc,v=ND(l,t.type,t.memoizedProps,r,u,t,p);return t.updateQueue=v,v!==null}function p6(t){var r=t.stateNode,u=t.memoizedProps,l=DD(r,u,t);if(l){var p=Nr;if(p!==null)switch(p.tag){case S:{var v=p.stateNode.containerInfo,w=(p.mode&Ke)!==$e;FD(v,r,u,w);break}case k:{var _=p.type,A=p.memoizedProps,O=p.stateNode,M=(p.mode&Ke)!==$e;UD(_,A,O,r,u,M);break}}}return l}function h6(t){var r=t.memoizedState,u=r!==null?r.dehydrated:null;if(!u)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");OD(u,t)}function m6(t){var r=t.memoizedState,u=r!==null?r.dehydrated:null;if(!u)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");return LD(u)}function uS(t){for(var r=t.return;r!==null&&r.tag!==k&&r.tag!==S&&r.tag!==Z;)r=r.return;Nr=r}function rv(t){if(t!==Nr)return!1;if(!Ki)return uS(t),Ki=!0,!1;if(t.tag!==S&&(t.tag!==k||PD(t.type)&&!oE(t.type,t.memoizedProps))){var r=Ti;if(r)if(TE(t))sS(t),SE();else for(;r;)aS(t,r),r=Oh(r)}return uS(t),t.tag===Z?Ti=m6(t):Ti=Nr?Oh(t.stateNode):null,!0}function g6(){return Ki&&Ti!==null}function sS(t){for(var r=Ti;r;)rS(t,r),r=Oh(r)}function mf(){Nr=null,Ti=null,Ki=!1,pc=!1}function lS(){Ps!==null&&(nC(Ps),Ps=null)}function Dr(){return Ki}function _E(t){Ps===null?Ps=[t]:Ps.push(t)}var v6=a.ReactCurrentBatchConfig,y6=null;function E6(){return v6.transition}var Ji={recordUnsafeLifecycleWarnings:function(t,r){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(t,r){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}};{var b6=function(t){for(var r=null,u=t;u!==null;)u.mode&xt&&(r=u),u=u.return;return r},hc=function(t){var r=[];return t.forEach(function(u){r.push(u)}),r.sort().join(", ")},Ph=[],Fh=[],Uh=[],Bh=[],Hh=[],zh=[],mc=new Set;Ji.recordUnsafeLifecycleWarnings=function(t,r){mc.has(t.type)||(typeof r.componentWillMount=="function"&&r.componentWillMount.__suppressDeprecationWarning!==!0&&Ph.push(t),t.mode&xt&&typeof r.UNSAFE_componentWillMount=="function"&&Fh.push(t),typeof r.componentWillReceiveProps=="function"&&r.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&Uh.push(t),t.mode&xt&&typeof r.UNSAFE_componentWillReceiveProps=="function"&&Bh.push(t),typeof r.componentWillUpdate=="function"&&r.componentWillUpdate.__suppressDeprecationWarning!==!0&&Hh.push(t),t.mode&xt&&typeof r.UNSAFE_componentWillUpdate=="function"&&zh.push(t))},Ji.flushPendingUnsafeLifecycleWarnings=function(){var t=new Set;Ph.length>0&&(Ph.forEach(function(q){t.add(mt(q)||"Component"),mc.add(q.type)}),Ph=[]);var r=new Set;Fh.length>0&&(Fh.forEach(function(q){r.add(mt(q)||"Component"),mc.add(q.type)}),Fh=[]);var u=new Set;Uh.length>0&&(Uh.forEach(function(q){u.add(mt(q)||"Component"),mc.add(q.type)}),Uh=[]);var l=new Set;Bh.length>0&&(Bh.forEach(function(q){l.add(mt(q)||"Component"),mc.add(q.type)}),Bh=[]);var p=new Set;Hh.length>0&&(Hh.forEach(function(q){p.add(mt(q)||"Component"),mc.add(q.type)}),Hh=[]);var v=new Set;if(zh.length>0&&(zh.forEach(function(q){v.add(mt(q)||"Component"),mc.add(q.type)}),zh=[]),r.size>0){var w=hc(r);d(`Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
90
-
91
- * Move code with side effects to componentDidMount, and set initial state in the constructor.
92
-
93
- Please update the following components: %s`,w)}if(l.size>0){var _=hc(l);d(`Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
94
-
95
- * Move data fetching code or side effects to componentDidUpdate.
96
- * If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state
97
-
98
- Please update the following components: %s`,_)}if(v.size>0){var A=hc(v);d(`Using UNSAFE_componentWillUpdate in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
99
-
100
- * Move data fetching code or side effects to componentDidUpdate.
101
-
102
- Please update the following components: %s`,A)}if(t.size>0){var O=hc(t);h(`componentWillMount has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
103
-
104
- * Move code with side effects to componentDidMount, and set initial state in the constructor.
105
- * Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
106
-
107
- Please update the following components: %s`,O)}if(u.size>0){var M=hc(u);h(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
108
-
109
- * Move data fetching code or side effects to componentDidUpdate.
110
- * If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state
111
- * Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
112
-
113
- Please update the following components: %s`,M)}if(p.size>0){var G=hc(p);h(`componentWillUpdate has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
114
-
115
- * Move data fetching code or side effects to componentDidUpdate.
116
- * Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
117
-
118
- Please update the following components: %s`,G)}};var av=new Map,cS=new Set;Ji.recordLegacyContextWarning=function(t,r){var u=b6(t);if(u===null){d("Expected to find a StrictMode component in a strict mode tree. This error is likely caused by a bug in React. Please file an issue.");return}if(!cS.has(t.type)){var l=av.get(u);(t.type.contextTypes!=null||t.type.childContextTypes!=null||r!==null&&typeof r.getChildContext=="function")&&(l===void 0&&(l=[],av.set(u,l)),l.push(t))}},Ji.flushLegacyContextWarning=function(){av.forEach(function(t,r){if(t.length!==0){var u=t[0],l=new Set;t.forEach(function(v){l.add(mt(v)||"Component"),cS.add(v.type)});var p=hc(l);try{Wt(u),d(`Legacy context API has been detected within a strict-mode tree.
119
-
120
- The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
121
-
122
- Please update the following components: %s
123
-
124
- Learn more about this warning here: https://reactjs.org/link/legacy-context`,p)}finally{Un()}}})},Ji.discardPendingWarnings=function(){Ph=[],Fh=[],Uh=[],Bh=[],Hh=[],zh=[],av=new Map}}var kE,AE,RE,NE,DE,dS=function(t,r){};kE=!1,AE=!1,RE={},NE={},DE={},dS=function(t,r){if(!(t===null||typeof t!="object")&&!(!t._store||t._store.validated||t.key!=null)){if(typeof t._store!="object")throw new Error("React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.");t._store.validated=!0;var u=mt(r)||"Component";NE[u]||(NE[u]=!0,d('Each child in a list should have a unique "key" prop. See https://reactjs.org/link/warning-keys for more information.'))}};function x6(t){return t.prototype&&t.prototype.isReactComponent}function jh(t,r,u){var l=u.ref;if(l!==null&&typeof l!="function"&&typeof l!="object"){if((t.mode&xt||Gt)&&!(u._owner&&u._self&&u._owner.stateNode!==u._self)&&!(u._owner&&u._owner.tag!==b)&&!(typeof u.type=="function"&&!x6(u.type))&&u._owner){var p=mt(t)||"Component";RE[p]||(d('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. We recommend using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',p,l),RE[p]=!0)}if(u._owner){var v=u._owner,w;if(v){var _=v;if(_.tag!==b)throw new Error("Function components cannot have string refs. We recommend using useRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref");w=_.stateNode}if(!w)throw new Error("Missing owner for string ref "+l+". This error is likely caused by a bug in React. Please file an issue.");var A=w;li(l,"ref");var O=""+l;if(r!==null&&r.ref!==null&&typeof r.ref=="function"&&r.ref._stringRef===O)return r.ref;var M=function(G){var q=A.refs;G===null?delete q[O]:q[O]=G};return M._stringRef=O,M}else{if(typeof l!="string")throw new Error("Expected ref to be a function, a string, an object returned by React.createRef(), or null.");if(!u._owner)throw new Error("Element ref was specified as a string ("+l+`) but no owner was set. This could happen for one of the following reasons:
125
- 1. You may be adding a ref to a function component
126
- 2. You may be adding a ref to a component that was not created inside a component's render method
127
- 3. You have multiple copies of React loaded
128
- See https://reactjs.org/link/refs-must-have-owner for more information.`)}}return l}function iv(t,r){var u=Object.prototype.toString.call(r);throw new Error("Objects are not valid as a React child (found: "+(u==="[object Object]"?"object with keys {"+Object.keys(r).join(", ")+"}":u)+"). If you meant to render a collection of children, use an array instead.")}function ov(t){{var r=mt(t)||"Component";if(DE[r])return;DE[r]=!0,d("Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it.")}}function fS(t){var r=t._payload,u=t._init;return u(r)}function pS(t){function r(ne,pe){if(t){var re=ne.deletions;re===null?(ne.deletions=[pe],ne.flags|=Bt):re.push(pe)}}function u(ne,pe){if(!t)return null;for(var re=pe;re!==null;)r(ne,re),re=re.sibling;return null}function l(ne,pe){for(var re=new Map,Se=pe;Se!==null;)Se.key!==null?re.set(Se.key,Se):re.set(Se.index,Se),Se=Se.sibling;return re}function p(ne,pe){var re=Sc(ne,pe);return re.index=0,re.sibling=null,re}function v(ne,pe,re){if(ne.index=re,!t)return ne.flags|=jp,pe;var Se=ne.alternate;if(Se!==null){var He=Se.index;return He<pe?(ne.flags|=Zt,pe):He}else return ne.flags|=Zt,pe}function w(ne){return t&&ne.alternate===null&&(ne.flags|=Zt),ne}function _(ne,pe,re,Se){if(pe===null||pe.tag!==D){var He=_x(re,ne.mode,Se);return He.return=ne,He}else{var Fe=p(pe,re);return Fe.return=ne,Fe}}function A(ne,pe,re,Se){var He=re.type;if(He===Li)return M(ne,pe,re.props.children,Se,re.key);if(pe!==null&&(pe.elementType===He||yC(pe,re)||typeof He=="object"&&He!==null&&He.$$typeof===Ar&&fS(He)===pe.type)){var Fe=p(pe,re.props);return Fe.ref=jh(ne,pe,re),Fe.return=ne,Fe._debugSource=re._source,Fe._debugOwner=re._owner,Fe}var st=Cx(re,ne.mode,Se);return st.ref=jh(ne,pe,re),st.return=ne,st}function O(ne,pe,re,Se){if(pe===null||pe.tag!==R||pe.stateNode.containerInfo!==re.containerInfo||pe.stateNode.implementation!==re.implementation){var He=kx(re,ne.mode,Se);return He.return=ne,He}else{var Fe=p(pe,re.children||[]);return Fe.return=ne,Fe}}function M(ne,pe,re,Se,He){if(pe===null||pe.tag!==L){var Fe=Qs(re,ne.mode,Se,He);return Fe.return=ne,Fe}else{var st=p(pe,re);return st.return=ne,st}}function G(ne,pe,re){if(typeof pe=="string"&&pe!==""||typeof pe=="number"){var Se=_x(""+pe,ne.mode,re);return Se.return=ne,Se}if(typeof pe=="object"&&pe!==null){switch(pe.$$typeof){case Bu:{var He=Cx(pe,ne.mode,re);return He.ref=jh(ne,null,pe),He.return=ne,He}case Ga:{var Fe=kx(pe,ne.mode,re);return Fe.return=ne,Fe}case Ar:{var st=pe._payload,ht=pe._init;return G(ne,ht(st),re)}}if(Xn(pe)||Ii(pe)){var Qt=Qs(pe,ne.mode,re,null);return Qt.return=ne,Qt}iv(ne,pe)}return typeof pe=="function"&&ov(ne),null}function q(ne,pe,re,Se){var He=pe!==null?pe.key:null;if(typeof re=="string"&&re!==""||typeof re=="number")return He!==null?null:_(ne,pe,""+re,Se);if(typeof re=="object"&&re!==null){switch(re.$$typeof){case Bu:return re.key===He?A(ne,pe,re,Se):null;case Ga:return re.key===He?O(ne,pe,re,Se):null;case Ar:{var Fe=re._payload,st=re._init;return q(ne,pe,st(Fe),Se)}}if(Xn(re)||Ii(re))return He!==null?null:M(ne,pe,re,Se,null);iv(ne,re)}return typeof re=="function"&&ov(ne),null}function ue(ne,pe,re,Se,He){if(typeof Se=="string"&&Se!==""||typeof Se=="number"){var Fe=ne.get(re)||null;return _(pe,Fe,""+Se,He)}if(typeof Se=="object"&&Se!==null){switch(Se.$$typeof){case Bu:{var st=ne.get(Se.key===null?re:Se.key)||null;return A(pe,st,Se,He)}case Ga:{var ht=ne.get(Se.key===null?re:Se.key)||null;return O(pe,ht,Se,He)}case Ar:var Qt=Se._payload,Pt=Se._init;return ue(ne,pe,re,Pt(Qt),He)}if(Xn(Se)||Ii(Se)){var Yn=ne.get(re)||null;return M(pe,Yn,Se,He,null)}iv(pe,Se)}return typeof Se=="function"&&ov(pe),null}function le(ne,pe,re){{if(typeof ne!="object"||ne===null)return pe;switch(ne.$$typeof){case Bu:case Ga:dS(ne,re);var Se=ne.key;if(typeof Se!="string")break;if(pe===null){pe=new Set,pe.add(Se);break}if(!pe.has(Se)){pe.add(Se);break}d("Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.",Se);break;case Ar:var He=ne._payload,Fe=ne._init;le(Fe(He),pe,re);break}}return pe}function fe(ne,pe,re,Se){for(var He=null,Fe=0;Fe<re.length;Fe++){var st=re[Fe];He=le(st,He,ne)}for(var ht=null,Qt=null,Pt=pe,Yn=0,Ft=0,Pn=null;Pt!==null&&Ft<re.length;Ft++){Pt.index>Ft?(Pn=Pt,Pt=null):Pn=Pt.sibling;var ta=q(ne,Pt,re[Ft],Se);if(ta===null){Pt===null&&(Pt=Pn);break}t&&Pt&&ta.alternate===null&&r(ne,Pt),Yn=v(ta,Yn,Ft),Qt===null?ht=ta:Qt.sibling=ta,Qt=ta,Pt=Pn}if(Ft===re.length){if(u(ne,Pt),Dr()){var Ur=Ft;dc(ne,Ur)}return ht}if(Pt===null){for(;Ft<re.length;Ft++){var ai=G(ne,re[Ft],Se);ai!==null&&(Yn=v(ai,Yn,Ft),Qt===null?ht=ai:Qt.sibling=ai,Qt=ai)}if(Dr()){var ya=Ft;dc(ne,ya)}return ht}for(var Ea=l(ne,Pt);Ft<re.length;Ft++){var na=ue(Ea,ne,Ft,re[Ft],Se);na!==null&&(t&&na.alternate!==null&&Ea.delete(na.key===null?Ft:na.key),Yn=v(na,Yn,Ft),Qt===null?ht=na:Qt.sibling=na,Qt=na)}if(t&&Ea.forEach(function(If){return r(ne,If)}),Dr()){var Lu=Ft;dc(ne,Lu)}return ht}function Pe(ne,pe,re,Se){var He=Ii(re);if(typeof He!="function")throw new Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");{typeof Symbol=="function"&&re[Symbol.toStringTag]==="Generator"&&(AE||d("Using Generators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. Keep in mind you might need to polyfill these features for older browsers."),AE=!0),re.entries===He&&(kE||d("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),kE=!0);var Fe=He.call(re);if(Fe)for(var st=null,ht=Fe.next();!ht.done;ht=Fe.next()){var Qt=ht.value;st=le(Qt,st,ne)}}var Pt=He.call(re);if(Pt==null)throw new Error("An iterable object provided no iterator.");for(var Yn=null,Ft=null,Pn=pe,ta=0,Ur=0,ai=null,ya=Pt.next();Pn!==null&&!ya.done;Ur++,ya=Pt.next()){Pn.index>Ur?(ai=Pn,Pn=null):ai=Pn.sibling;var Ea=q(ne,Pn,ya.value,Se);if(Ea===null){Pn===null&&(Pn=ai);break}t&&Pn&&Ea.alternate===null&&r(ne,Pn),ta=v(Ea,ta,Ur),Ft===null?Yn=Ea:Ft.sibling=Ea,Ft=Ea,Pn=ai}if(ya.done){if(u(ne,Pn),Dr()){var na=Ur;dc(ne,na)}return Yn}if(Pn===null){for(;!ya.done;Ur++,ya=Pt.next()){var Lu=G(ne,ya.value,Se);Lu!==null&&(ta=v(Lu,ta,Ur),Ft===null?Yn=Lu:Ft.sibling=Lu,Ft=Lu)}if(Dr()){var If=Ur;dc(ne,If)}return Yn}for(var bm=l(ne,Pn);!ya.done;Ur++,ya=Pt.next()){var zo=ue(bm,ne,Ur,ya.value,Se);zo!==null&&(t&&zo.alternate!==null&&bm.delete(zo.key===null?Ur:zo.key),ta=v(zo,ta,Ur),Ft===null?Yn=zo:Ft.sibling=zo,Ft=zo)}if(t&&bm.forEach(function(Q4){return r(ne,Q4)}),Dr()){var q4=Ur;dc(ne,q4)}return Yn}function rt(ne,pe,re,Se){if(pe!==null&&pe.tag===D){u(ne,pe.sibling);var He=p(pe,re);return He.return=ne,He}u(ne,pe);var Fe=_x(re,ne.mode,Se);return Fe.return=ne,Fe}function Je(ne,pe,re,Se){for(var He=re.key,Fe=pe;Fe!==null;){if(Fe.key===He){var st=re.type;if(st===Li){if(Fe.tag===L){u(ne,Fe.sibling);var ht=p(Fe,re.props.children);return ht.return=ne,ht._debugSource=re._source,ht._debugOwner=re._owner,ht}}else if(Fe.elementType===st||yC(Fe,re)||typeof st=="object"&&st!==null&&st.$$typeof===Ar&&fS(st)===Fe.type){u(ne,Fe.sibling);var Qt=p(Fe,re.props);return Qt.ref=jh(ne,Fe,re),Qt.return=ne,Qt._debugSource=re._source,Qt._debugOwner=re._owner,Qt}u(ne,Fe);break}else r(ne,Fe);Fe=Fe.sibling}if(re.type===Li){var Pt=Qs(re.props.children,ne.mode,Se,re.key);return Pt.return=ne,Pt}else{var Yn=Cx(re,ne.mode,Se);return Yn.ref=jh(ne,pe,re),Yn.return=ne,Yn}}function Ot(ne,pe,re,Se){for(var He=re.key,Fe=pe;Fe!==null;){if(Fe.key===He)if(Fe.tag===R&&Fe.stateNode.containerInfo===re.containerInfo&&Fe.stateNode.implementation===re.implementation){u(ne,Fe.sibling);var st=p(Fe,re.children||[]);return st.return=ne,st}else{u(ne,Fe);break}else r(ne,Fe);Fe=Fe.sibling}var ht=kx(re,ne.mode,Se);return ht.return=ne,ht}function kt(ne,pe,re,Se){var He=typeof re=="object"&&re!==null&&re.type===Li&&re.key===null;if(He&&(re=re.props.children),typeof re=="object"&&re!==null){switch(re.$$typeof){case Bu:return w(Je(ne,pe,re,Se));case Ga:return w(Ot(ne,pe,re,Se));case Ar:var Fe=re._payload,st=re._init;return kt(ne,pe,st(Fe),Se)}if(Xn(re))return fe(ne,pe,re,Se);if(Ii(re))return Pe(ne,pe,re,Se);iv(ne,re)}return typeof re=="string"&&re!==""||typeof re=="number"?w(rt(ne,pe,""+re,Se)):(typeof re=="function"&&ov(ne),u(ne,pe))}return kt}var gf=pS(!0),hS=pS(!1);function w6(t,r){if(t!==null&&r.child!==t.child)throw new Error("Resuming work not yet implemented.");if(r.child!==null){var u=r.child,l=Sc(u,u.pendingProps);for(r.child=l,l.return=r;u.sibling!==null;)u=u.sibling,l=l.sibling=Sc(u,u.pendingProps),l.return=r;l.sibling=null}}function T6(t,r){for(var u=t.child;u!==null;)c4(u,r),u=u.sibling}var OE=Ls(null),LE;LE={};var uv=null,vf=null,IE=null,sv=!1;function lv(){uv=null,vf=null,IE=null,sv=!1}function mS(){sv=!0}function gS(){sv=!1}function vS(t,r,u){Zr(OE,r._currentValue,t),r._currentValue=u,r._currentRenderer!==void 0&&r._currentRenderer!==null&&r._currentRenderer!==LE&&d("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),r._currentRenderer=LE}function ME(t,r){var u=OE.current;Jr(OE,r),t._currentValue=u}function PE(t,r,u){for(var l=t;l!==null;){var p=l.alternate;if(hu(l.childLanes,r)?p!==null&&!hu(p.childLanes,r)&&(p.childLanes=gt(p.childLanes,r)):(l.childLanes=gt(l.childLanes,r),p!==null&&(p.childLanes=gt(p.childLanes,r))),l===u)break;l=l.return}l!==u&&d("Expected to find the propagation root when scheduling context work. This error is likely caused by a bug in React. Please file an issue.")}function S6(t,r,u){C6(t,r,u)}function C6(t,r,u){var l=t.child;for(l!==null&&(l.return=t);l!==null;){var p=void 0,v=l.dependencies;if(v!==null){p=l.child;for(var w=v.firstContext;w!==null;){if(w.context===r){if(l.tag===b){var _=hs(u),A=ku(Jt,_);A.tag=dv;var O=l.updateQueue;if(O!==null){var M=O.shared,G=M.pending;G===null?A.next=A:(A.next=G.next,G.next=A),M.pending=A}}l.lanes=gt(l.lanes,u);var q=l.alternate;q!==null&&(q.lanes=gt(q.lanes,u)),PE(l.return,u,t),v.lanes=gt(v.lanes,u);break}w=w.next}}else if(l.tag===$)p=l.type===t.type?null:l.child;else if(l.tag===K){var ue=l.return;if(ue===null)throw new Error("We just came from a parent so we must have had a parent. This is a bug in React.");ue.lanes=gt(ue.lanes,u);var le=ue.alternate;le!==null&&(le.lanes=gt(le.lanes,u)),PE(ue,u,t),p=l.sibling}else p=l.child;if(p!==null)p.return=l;else for(p=l;p!==null;){if(p===t){p=null;break}var fe=p.sibling;if(fe!==null){fe.return=p.return,p=fe;break}p=p.return}l=p}}function yf(t,r){uv=t,vf=null,IE=null;var u=t.dependencies;if(u!==null){var l=u.firstContext;l!==null&&(Xr(u.lanes,r)&&rm(),u.firstContext=null)}}function nr(t){sv&&d("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");var r=t._currentValue;if(IE!==t){var u={context:t,memoizedValue:r,next:null};if(vf===null){if(uv===null)throw new Error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");vf=u,uv.dependencies={lanes:ve,firstContext:u}}else vf=vf.next=u}return r}var gc=null;function FE(t){gc===null?gc=[t]:gc.push(t)}function _6(){if(gc!==null){for(var t=0;t<gc.length;t++){var r=gc[t],u=r.interleaved;if(u!==null){r.interleaved=null;var l=u.next,p=r.pending;if(p!==null){var v=p.next;p.next=l,u.next=v}r.pending=u}}gc=null}}function yS(t,r,u,l){var p=r.interleaved;return p===null?(u.next=u,FE(r)):(u.next=p.next,p.next=u),r.interleaved=u,cv(t,l)}function k6(t,r,u,l){var p=r.interleaved;p===null?(u.next=u,FE(r)):(u.next=p.next,p.next=u),r.interleaved=u}function A6(t,r,u,l){var p=r.interleaved;return p===null?(u.next=u,FE(r)):(u.next=p.next,p.next=u),r.interleaved=u,cv(t,l)}function Ha(t,r){return cv(t,r)}var R6=cv;function cv(t,r){t.lanes=gt(t.lanes,r);var u=t.alternate;u!==null&&(u.lanes=gt(u.lanes,r)),u===null&&(t.flags&(Zt|Aa))!==nt&&hC(t);for(var l=t,p=t.return;p!==null;)p.childLanes=gt(p.childLanes,r),u=p.alternate,u!==null?u.childLanes=gt(u.childLanes,r):(p.flags&(Zt|Aa))!==nt&&hC(t),l=p,p=p.return;if(l.tag===S){var v=l.stateNode;return v}else return null}var ES=0,bS=1,dv=2,UE=3,fv=!1,BE,pv;BE=!1,pv=null;function HE(t){var r={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:ve},effects:null};t.updateQueue=r}function xS(t,r){var u=r.updateQueue,l=t.updateQueue;if(u===l){var p={baseState:l.baseState,firstBaseUpdate:l.firstBaseUpdate,lastBaseUpdate:l.lastBaseUpdate,shared:l.shared,effects:l.effects};r.updateQueue=p}}function ku(t,r){var u={eventTime:t,lane:r,tag:ES,payload:null,callback:null,next:null};return u}function Fs(t,r,u){var l=t.updateQueue;if(l===null)return null;var p=l.shared;if(pv===p&&!BE&&(d("An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback."),BE=!0),kL()){var v=p.pending;return v===null?r.next=r:(r.next=v.next,v.next=r),p.pending=r,R6(t,u)}else return A6(t,p,r,u)}function hv(t,r,u){var l=r.updateQueue;if(l!==null){var p=l.shared;if(rh(u)){var v=p.lanes;v=Id(v,t.pendingLanes);var w=gt(v,u);p.lanes=w,ah(t,w)}}}function zE(t,r){var u=t.updateQueue,l=t.alternate;if(l!==null){var p=l.updateQueue;if(u===p){var v=null,w=null,_=u.firstBaseUpdate;if(_!==null){var A=_;do{var O={eventTime:A.eventTime,lane:A.lane,tag:A.tag,payload:A.payload,callback:A.callback,next:null};w===null?v=w=O:(w.next=O,w=O),A=A.next}while(A!==null);w===null?v=w=r:(w.next=r,w=r)}else v=w=r;u={baseState:p.baseState,firstBaseUpdate:v,lastBaseUpdate:w,shared:p.shared,effects:p.effects},t.updateQueue=u;return}}var M=u.lastBaseUpdate;M===null?u.firstBaseUpdate=r:M.next=r,u.lastBaseUpdate=r}function N6(t,r,u,l,p,v){switch(u.tag){case bS:{var w=u.payload;if(typeof w=="function"){mS();var _=w.call(v,l,p);{if(t.mode&xt){In(!0);try{w.call(v,l,p)}finally{In(!1)}}gS()}return _}return w}case UE:t.flags=t.flags&~Jn|lt;case ES:{var A=u.payload,O;if(typeof A=="function"){mS(),O=A.call(v,l,p);{if(t.mode&xt){In(!0);try{A.call(v,l,p)}finally{In(!1)}}gS()}}else O=A;return O==null?l:Ct({},l,O)}case dv:return fv=!0,l}return l}function mv(t,r,u,l){var p=t.updateQueue;fv=!1,pv=p.shared;var v=p.firstBaseUpdate,w=p.lastBaseUpdate,_=p.shared.pending;if(_!==null){p.shared.pending=null;var A=_,O=A.next;A.next=null,w===null?v=O:w.next=O,w=A;var M=t.alternate;if(M!==null){var G=M.updateQueue,q=G.lastBaseUpdate;q!==w&&(q===null?G.firstBaseUpdate=O:q.next=O,G.lastBaseUpdate=A)}}if(v!==null){var ue=p.baseState,le=ve,fe=null,Pe=null,rt=null,Je=v;do{var Ot=Je.lane,kt=Je.eventTime;if(hu(l,Ot)){if(rt!==null){var pe={eventTime:kt,lane:Mn,tag:Je.tag,payload:Je.payload,callback:Je.callback,next:null};rt=rt.next=pe}ue=N6(t,p,Je,ue,r,u);var re=Je.callback;if(re!==null&&Je.lane!==Mn){t.flags|=mi;var Se=p.effects;Se===null?p.effects=[Je]:Se.push(Je)}}else{var ne={eventTime:kt,lane:Ot,tag:Je.tag,payload:Je.payload,callback:Je.callback,next:null};rt===null?(Pe=rt=ne,fe=ue):rt=rt.next=ne,le=gt(le,Ot)}if(Je=Je.next,Je===null){if(_=p.shared.pending,_===null)break;var He=_,Fe=He.next;He.next=null,Je=Fe,p.lastBaseUpdate=He,p.shared.pending=null}}while(!0);rt===null&&(fe=ue),p.baseState=fe,p.firstBaseUpdate=Pe,p.lastBaseUpdate=rt;var st=p.shared.interleaved;if(st!==null){var ht=st;do le=gt(le,ht.lane),ht=ht.next;while(ht!==st)}else v===null&&(p.shared.lanes=ve);mm(le),t.lanes=le,t.memoizedState=ue}pv=null}function D6(t,r){if(typeof t!="function")throw new Error("Invalid argument passed as callback. Expected a function. Instead "+("received: "+t));t.call(r)}function wS(){fv=!1}function gv(){return fv}function TS(t,r,u){var l=r.effects;if(r.effects=null,l!==null)for(var p=0;p<l.length;p++){var v=l[p],w=v.callback;w!==null&&(v.callback=null,D6(w,u))}}var Vh={},Us=Ls(Vh),Yh=Ls(Vh),vv=Ls(Vh);function yv(t){if(t===Vh)throw new Error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue.");return t}function SS(){var t=yv(vv.current);return t}function jE(t,r){Zr(vv,r,t),Zr(Yh,t,t),Zr(Us,Vh,t);var u=GN(r);Jr(Us,t),Zr(Us,u,t)}function Ef(t){Jr(Us,t),Jr(Yh,t),Jr(vv,t)}function VE(){var t=yv(Us.current);return t}function CS(t){yv(vv.current);var r=yv(Us.current),u=$N(r,t.type);r!==u&&(Zr(Yh,t,t),Zr(Us,u,t))}function YE(t){Yh.current===t&&(Jr(Us,t),Jr(Yh,t))}var O6=0,_S=1,kS=1,Wh=2,Zi=Ls(O6);function WE(t,r){return(t&r)!==0}function bf(t){return t&_S}function qE(t,r){return t&_S|r}function L6(t,r){return t|r}function Bs(t,r){Zr(Zi,r,t)}function xf(t){Jr(Zi,t)}function I6(t,r){var u=t.memoizedState;return u!==null?u.dehydrated!==null:(t.memoizedProps,!0)}function Ev(t){for(var r=t;r!==null;){if(r.tag===Z){var u=r.memoizedState;if(u!==null){var l=u.dehydrated;if(l===null||YT(l)||cE(l))return r}}else if(r.tag===Ee&&r.memoizedProps.revealOrder!==void 0){var p=(r.flags&lt)!==nt;if(p)return r}else if(r.child!==null){r.child.return=r,r=r.child;continue}if(r===t)return null;for(;r.sibling===null;){if(r.return===null||r.return===t)return null;r=r.return}r.sibling.return=r.return,r=r.sibling}return null}var za=0,lr=1,Io=2,cr=4,Or=8,QE=[];function GE(){for(var t=0;t<QE.length;t++){var r=QE[t];r._workInProgressVersionPrimary=null}QE.length=0}function M6(t,r){var u=r._getVersion,l=u(r._source);t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[r,l]:t.mutableSourceEagerHydrationData.push(r,l)}var Be=a.ReactCurrentDispatcher,qh=a.ReactCurrentBatchConfig,$E,wf;$E=new Set;var vc=ve,qt=null,dr=null,fr=null,bv=!1,Qh=!1,Gh=0,P6=0,F6=25,me=null,Si=null,Hs=-1,XE=!1;function jt(){{var t=me;Si===null?Si=[t]:Si.push(t)}}function Ie(){{var t=me;Si!==null&&(Hs++,Si[Hs]!==t&&U6(t))}}function Tf(t){t!=null&&!Xn(t)&&d("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",me,typeof t)}function U6(t){{var r=mt(qt);if(!$E.has(r)&&($E.add(r),Si!==null)){for(var u="",l=30,p=0;p<=Hs;p++){for(var v=Si[p],w=p===Hs?t:v,_=p+1+". "+v;_.length<l;)_+=" ";_+=w+`
129
- `,u+=_}d(`React has detected a change in the order of Hooks called by %s. This will lead to bugs and errors if not fixed. For more information, read the Rules of Hooks: https://reactjs.org/link/rules-of-hooks
130
-
131
- Previous render Next render
132
- ------------------------------------------------------
133
- %s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
134
- `,r,u)}}}function ea(){throw new Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
135
- 1. You might have mismatching versions of React and the renderer (such as React DOM)
136
- 2. You might be breaking the Rules of Hooks
137
- 3. You might have more than one copy of React in the same app
138
- See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function KE(t,r){if(XE)return!1;if(r===null)return d("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",me),!1;t.length!==r.length&&d(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
139
-
140
- Previous: %s
141
- Incoming: %s`,me,"["+r.join(", ")+"]","["+t.join(", ")+"]");for(var u=0;u<r.length&&u<t.length;u++)if(!Ye(t[u],r[u]))return!1;return!0}function Sf(t,r,u,l,p,v){vc=v,qt=r,Si=t!==null?t._debugHookTypes:null,Hs=-1,XE=t!==null&&t.type!==r.type,r.memoizedState=null,r.updateQueue=null,r.lanes=ve,t!==null&&t.memoizedState!==null?Be.current=$S:Si!==null?Be.current=GS:Be.current=QS;var w=u(l,p);if(Qh){var _=0;do{if(Qh=!1,Gh=0,_>=F6)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");_+=1,XE=!1,dr=null,fr=null,r.updateQueue=null,Hs=-1,Be.current=XS,w=u(l,p)}while(Qh)}Be.current=Lv,r._debugHookTypes=Si;var A=dr!==null&&dr.next!==null;if(vc=ve,qt=null,dr=null,fr=null,me=null,Si=null,Hs=-1,t!==null&&(t.flags&or)!==(r.flags&or)&&(t.mode&Ke)!==$e&&d("Internal React error: Expected static flag was missing. Please notify the React team."),bv=!1,A)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return w}function Cf(){var t=Gh!==0;return Gh=0,t}function AS(t,r,u){r.updateQueue=t.updateQueue,(r.mode&pa)!==$e?r.flags&=~(iu|Yr|on|vt):r.flags&=~(on|vt),t.lanes=Gl(t.lanes,u)}function RS(){if(Be.current=Lv,bv){for(var t=qt.memoizedState;t!==null;){var r=t.queue;r!==null&&(r.pending=null),t=t.next}bv=!1}vc=ve,qt=null,dr=null,fr=null,Si=null,Hs=-1,me=null,jS=!1,Qh=!1,Gh=0}function Mo(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return fr===null?qt.memoizedState=fr=t:fr=fr.next=t,fr}function Ci(){var t;if(dr===null){var r=qt.alternate;r!==null?t=r.memoizedState:t=null}else t=dr.next;var u;if(fr===null?u=qt.memoizedState:u=fr.next,u!==null)fr=u,u=fr.next,dr=t;else{if(t===null)throw new Error("Rendered more hooks than during the previous render.");dr=t;var l={memoizedState:dr.memoizedState,baseState:dr.baseState,baseQueue:dr.baseQueue,queue:dr.queue,next:null};fr===null?qt.memoizedState=fr=l:fr=fr.next=l}return fr}function NS(){return{lastEffect:null,stores:null}}function JE(t,r){return typeof r=="function"?r(t):r}function ZE(t,r,u){var l=Mo(),p;u!==void 0?p=u(r):p=r,l.memoizedState=l.baseState=p;var v={pending:null,interleaved:null,lanes:ve,dispatch:null,lastRenderedReducer:t,lastRenderedState:p};l.queue=v;var w=v.dispatch=j6.bind(null,qt,v);return[l.memoizedState,w]}function eb(t,r,u){var l=Ci(),p=l.queue;if(p===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");p.lastRenderedReducer=t;var v=dr,w=v.baseQueue,_=p.pending;if(_!==null){if(w!==null){var A=w.next,O=_.next;w.next=O,_.next=A}v.baseQueue!==w&&d("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),v.baseQueue=w=_,p.pending=null}if(w!==null){var M=w.next,G=v.baseState,q=null,ue=null,le=null,fe=M;do{var Pe=fe.lane;if(hu(vc,Pe)){if(le!==null){var Je={lane:Mn,action:fe.action,hasEagerState:fe.hasEagerState,eagerState:fe.eagerState,next:null};le=le.next=Je}if(fe.hasEagerState)G=fe.eagerState;else{var Ot=fe.action;G=t(G,Ot)}}else{var rt={lane:Pe,action:fe.action,hasEagerState:fe.hasEagerState,eagerState:fe.eagerState,next:null};le===null?(ue=le=rt,q=G):le=le.next=rt,qt.lanes=gt(qt.lanes,Pe),mm(Pe)}fe=fe.next}while(fe!==null&&fe!==M);le===null?q=G:le.next=ue,Ye(G,l.memoizedState)||rm(),l.memoizedState=G,l.baseState=q,l.baseQueue=le,p.lastRenderedState=G}var kt=p.interleaved;if(kt!==null){var ne=kt;do{var pe=ne.lane;qt.lanes=gt(qt.lanes,pe),mm(pe),ne=ne.next}while(ne!==kt)}else w===null&&(p.lanes=ve);var re=p.dispatch;return[l.memoizedState,re]}function tb(t,r,u){var l=Ci(),p=l.queue;if(p===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");p.lastRenderedReducer=t;var v=p.dispatch,w=p.pending,_=l.memoizedState;if(w!==null){p.pending=null;var A=w.next,O=A;do{var M=O.action;_=t(_,M),O=O.next}while(O!==A);Ye(_,l.memoizedState)||rm(),l.memoizedState=_,l.baseQueue===null&&(l.baseState=_),p.lastRenderedState=_}return[_,v]}function bY(t,r,u){}function xY(t,r,u){}function nb(t,r,u){var l=qt,p=Mo(),v,w=Dr();if(w){if(u===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");v=u(),wf||v!==u()&&(d("The result of getServerSnapshot should be cached to avoid an infinite loop"),wf=!0)}else{if(v=r(),!wf){var _=r();Ye(v,_)||(d("The result of getSnapshot should be cached to avoid an infinite loop"),wf=!0)}var A=Jv();if(A===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");Ql(A,vc)||DS(l,r,v)}p.memoizedState=v;var O={value:v,getSnapshot:r};return p.queue=O,Cv(LS.bind(null,l,O,t),[t]),l.flags|=on,$h(lr|Or,OS.bind(null,l,O,v,r),void 0,null),v}function xv(t,r,u){var l=qt,p=Ci(),v=r();if(!wf){var w=r();Ye(v,w)||(d("The result of getSnapshot should be cached to avoid an infinite loop"),wf=!0)}var _=p.memoizedState,A=!Ye(_,v);A&&(p.memoizedState=v,rm());var O=p.queue;if(Kh(LS.bind(null,l,O,t),[t]),O.getSnapshot!==r||A||fr!==null&&fr.memoizedState.tag&lr){l.flags|=on,$h(lr|Or,OS.bind(null,l,O,v,r),void 0,null);var M=Jv();if(M===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");Ql(M,vc)||DS(l,r,v)}return v}function DS(t,r,u){t.flags|=Fl;var l={getSnapshot:r,value:u},p=qt.updateQueue;if(p===null)p=NS(),qt.updateQueue=p,p.stores=[l];else{var v=p.stores;v===null?p.stores=[l]:v.push(l)}}function OS(t,r,u,l){r.value=u,r.getSnapshot=l,IS(r)&&MS(t)}function LS(t,r,u){var l=function(){IS(r)&&MS(t)};return u(l)}function IS(t){var r=t.getSnapshot,u=t.value;try{var l=r();return!Ye(u,l)}catch{return!0}}function MS(t){var r=Ha(t,Ze);r!==null&&gr(r,t,Ze,Jt)}function wv(t){var r=Mo();typeof t=="function"&&(t=t()),r.memoizedState=r.baseState=t;var u={pending:null,interleaved:null,lanes:ve,dispatch:null,lastRenderedReducer:JE,lastRenderedState:t};r.queue=u;var l=u.dispatch=V6.bind(null,qt,u);return[r.memoizedState,l]}function rb(t){return eb(JE)}function ab(t){return tb(JE)}function $h(t,r,u,l){var p={tag:t,create:r,destroy:u,deps:l,next:null},v=qt.updateQueue;if(v===null)v=NS(),qt.updateQueue=v,v.lastEffect=p.next=p;else{var w=v.lastEffect;if(w===null)v.lastEffect=p.next=p;else{var _=w.next;w.next=p,p.next=_,v.lastEffect=p}}return p}function ib(t){var r=Mo();{var u={current:t};return r.memoizedState=u,u}}function Tv(t){var r=Ci();return r.memoizedState}function Xh(t,r,u,l){var p=Mo(),v=l===void 0?null:l;qt.flags|=t,p.memoizedState=$h(lr|r,u,void 0,v)}function Sv(t,r,u,l){var p=Ci(),v=l===void 0?null:l,w=void 0;if(dr!==null){var _=dr.memoizedState;if(w=_.destroy,v!==null){var A=_.deps;if(KE(v,A)){p.memoizedState=$h(r,u,w,v);return}}}qt.flags|=t,p.memoizedState=$h(lr|r,u,w,v)}function Cv(t,r){return(qt.mode&pa)!==$e?Xh(iu|on|wo,Or,t,r):Xh(on|wo,Or,t,r)}function Kh(t,r){return Sv(on,Or,t,r)}function ob(t,r){return Xh(vt,Io,t,r)}function _v(t,r){return Sv(vt,Io,t,r)}function ub(t,r){var u=vt;return u|=Vr,(qt.mode&pa)!==$e&&(u|=Yr),Xh(u,cr,t,r)}function kv(t,r){return Sv(vt,cr,t,r)}function PS(t,r){if(typeof r=="function"){var u=r,l=t();return u(l),function(){u(null)}}else if(r!=null){var p=r;p.hasOwnProperty("current")||d("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(p).join(", ")+"}");var v=t();return p.current=v,function(){p.current=null}}}function sb(t,r,u){typeof r!="function"&&d("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",r!==null?typeof r:"null");var l=u!=null?u.concat([t]):null,p=vt;return p|=Vr,(qt.mode&pa)!==$e&&(p|=Yr),Xh(p,cr,PS.bind(null,r,t),l)}function Av(t,r,u){typeof r!="function"&&d("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",r!==null?typeof r:"null");var l=u!=null?u.concat([t]):null;return Sv(vt,cr,PS.bind(null,r,t),l)}function B6(t,r){}var Rv=B6;function lb(t,r){var u=Mo(),l=r===void 0?null:r;return u.memoizedState=[t,l],t}function Nv(t,r){var u=Ci(),l=r===void 0?null:r,p=u.memoizedState;if(p!==null&&l!==null){var v=p[1];if(KE(l,v))return p[0]}return u.memoizedState=[t,l],t}function cb(t,r){var u=Mo(),l=r===void 0?null:r,p=t();return u.memoizedState=[p,l],p}function Dv(t,r){var u=Ci(),l=r===void 0?null:r,p=u.memoizedState;if(p!==null&&l!==null){var v=p[1];if(KE(l,v))return p[0]}var w=t();return u.memoizedState=[w,l],w}function db(t){var r=Mo();return r.memoizedState=t,t}function FS(t){var r=Ci(),u=dr,l=u.memoizedState;return BS(r,l,t)}function US(t){var r=Ci();if(dr===null)return r.memoizedState=t,t;var u=dr.memoizedState;return BS(r,u,t)}function BS(t,r,u){var l=!ug(vc);if(l){if(!Ye(u,r)){var p=cg();qt.lanes=gt(qt.lanes,p),mm(p),t.baseState=!0}return r}else return t.baseState&&(t.baseState=!1,rm()),t.memoizedState=u,u}function H6(t,r,u){var l=Ia();bn(Dy(l,qi)),t(!0);var p=qh.transition;qh.transition={};var v=qh.transition;qh.transition._updatedFibers=new Set;try{t(!1),r()}finally{if(bn(l),qh.transition=p,p===null&&v._updatedFibers){var w=v._updatedFibers.size;w>10&&h("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."),v._updatedFibers.clear()}}}function fb(){var t=wv(!1),r=t[0],u=t[1],l=H6.bind(null,u),p=Mo();return p.memoizedState=l,[r,l]}function HS(){var t=rb(),r=t[0],u=Ci(),l=u.memoizedState;return[r,l]}function zS(){var t=ab(),r=t[0],u=Ci(),l=u.memoizedState;return[r,l]}var jS=!1;function z6(){return jS}function pb(){var t=Mo(),r=Jv(),u=r.identifierPrefix,l;if(Dr()){var p=a6();l=":"+u+"R"+p;var v=Gh++;v>0&&(l+="H"+v.toString(32)),l+=":"}else{var w=P6++;l=":"+u+"r"+w.toString(32)+":"}return t.memoizedState=l,l}function Ov(){var t=Ci(),r=t.memoizedState;return r}function j6(t,r,u){typeof arguments[3]=="function"&&d("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().");var l=Ws(t),p={lane:l,action:u,hasEagerState:!1,eagerState:null,next:null};if(VS(t))YS(r,p);else{var v=yS(t,r,p,l);if(v!==null){var w=va();gr(v,t,l,w),WS(v,r,l)}}qS(t,l)}function V6(t,r,u){typeof arguments[3]=="function"&&d("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().");var l=Ws(t),p={lane:l,action:u,hasEagerState:!1,eagerState:null,next:null};if(VS(t))YS(r,p);else{var v=t.alternate;if(t.lanes===ve&&(v===null||v.lanes===ve)){var w=r.lastRenderedReducer;if(w!==null){var _;_=Be.current,Be.current=eo;try{var A=r.lastRenderedState,O=w(A,u);if(p.hasEagerState=!0,p.eagerState=O,Ye(O,A)){k6(t,r,p,l);return}}catch{}finally{Be.current=_}}}var M=yS(t,r,p,l);if(M!==null){var G=va();gr(M,t,l,G),WS(M,r,l)}}qS(t,l)}function VS(t){var r=t.alternate;return t===qt||r!==null&&r===qt}function YS(t,r){Qh=bv=!0;var u=t.pending;u===null?r.next=r:(r.next=u.next,u.next=r),t.pending=r}function WS(t,r,u){if(rh(u)){var l=r.lanes;l=Id(l,t.pendingLanes);var p=gt(l,u);r.lanes=p,ah(t,p)}}function qS(t,r,u){zl(t,r)}var Lv={readContext:nr,useCallback:ea,useContext:ea,useEffect:ea,useImperativeHandle:ea,useInsertionEffect:ea,useLayoutEffect:ea,useMemo:ea,useReducer:ea,useRef:ea,useState:ea,useDebugValue:ea,useDeferredValue:ea,useTransition:ea,useMutableSource:ea,useSyncExternalStore:ea,useId:ea,unstable_isNewReconciler:he},QS=null,GS=null,$S=null,XS=null,Po=null,eo=null,Iv=null;{var hb=function(){d("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().")},pt=function(){d("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://reactjs.org/link/rules-of-hooks")};QS={readContext:function(t){return nr(t)},useCallback:function(t,r){return me="useCallback",jt(),Tf(r),lb(t,r)},useContext:function(t){return me="useContext",jt(),nr(t)},useEffect:function(t,r){return me="useEffect",jt(),Tf(r),Cv(t,r)},useImperativeHandle:function(t,r,u){return me="useImperativeHandle",jt(),Tf(u),sb(t,r,u)},useInsertionEffect:function(t,r){return me="useInsertionEffect",jt(),Tf(r),ob(t,r)},useLayoutEffect:function(t,r){return me="useLayoutEffect",jt(),Tf(r),ub(t,r)},useMemo:function(t,r){me="useMemo",jt(),Tf(r);var u=Be.current;Be.current=Po;try{return cb(t,r)}finally{Be.current=u}},useReducer:function(t,r,u){me="useReducer",jt();var l=Be.current;Be.current=Po;try{return ZE(t,r,u)}finally{Be.current=l}},useRef:function(t){return me="useRef",jt(),ib(t)},useState:function(t){me="useState",jt();var r=Be.current;Be.current=Po;try{return wv(t)}finally{Be.current=r}},useDebugValue:function(t,r){return me="useDebugValue",jt(),void 0},useDeferredValue:function(t){return me="useDeferredValue",jt(),db(t)},useTransition:function(){return me="useTransition",jt(),fb()},useMutableSource:function(t,r,u){return me="useMutableSource",jt(),void 0},useSyncExternalStore:function(t,r,u){return me="useSyncExternalStore",jt(),nb(t,r,u)},useId:function(){return me="useId",jt(),pb()},unstable_isNewReconciler:he},GS={readContext:function(t){return nr(t)},useCallback:function(t,r){return me="useCallback",Ie(),lb(t,r)},useContext:function(t){return me="useContext",Ie(),nr(t)},useEffect:function(t,r){return me="useEffect",Ie(),Cv(t,r)},useImperativeHandle:function(t,r,u){return me="useImperativeHandle",Ie(),sb(t,r,u)},useInsertionEffect:function(t,r){return me="useInsertionEffect",Ie(),ob(t,r)},useLayoutEffect:function(t,r){return me="useLayoutEffect",Ie(),ub(t,r)},useMemo:function(t,r){me="useMemo",Ie();var u=Be.current;Be.current=Po;try{return cb(t,r)}finally{Be.current=u}},useReducer:function(t,r,u){me="useReducer",Ie();var l=Be.current;Be.current=Po;try{return ZE(t,r,u)}finally{Be.current=l}},useRef:function(t){return me="useRef",Ie(),ib(t)},useState:function(t){me="useState",Ie();var r=Be.current;Be.current=Po;try{return wv(t)}finally{Be.current=r}},useDebugValue:function(t,r){return me="useDebugValue",Ie(),void 0},useDeferredValue:function(t){return me="useDeferredValue",Ie(),db(t)},useTransition:function(){return me="useTransition",Ie(),fb()},useMutableSource:function(t,r,u){return me="useMutableSource",Ie(),void 0},useSyncExternalStore:function(t,r,u){return me="useSyncExternalStore",Ie(),nb(t,r,u)},useId:function(){return me="useId",Ie(),pb()},unstable_isNewReconciler:he},$S={readContext:function(t){return nr(t)},useCallback:function(t,r){return me="useCallback",Ie(),Nv(t,r)},useContext:function(t){return me="useContext",Ie(),nr(t)},useEffect:function(t,r){return me="useEffect",Ie(),Kh(t,r)},useImperativeHandle:function(t,r,u){return me="useImperativeHandle",Ie(),Av(t,r,u)},useInsertionEffect:function(t,r){return me="useInsertionEffect",Ie(),_v(t,r)},useLayoutEffect:function(t,r){return me="useLayoutEffect",Ie(),kv(t,r)},useMemo:function(t,r){me="useMemo",Ie();var u=Be.current;Be.current=eo;try{return Dv(t,r)}finally{Be.current=u}},useReducer:function(t,r,u){me="useReducer",Ie();var l=Be.current;Be.current=eo;try{return eb(t,r,u)}finally{Be.current=l}},useRef:function(t){return me="useRef",Ie(),Tv()},useState:function(t){me="useState",Ie();var r=Be.current;Be.current=eo;try{return rb(t)}finally{Be.current=r}},useDebugValue:function(t,r){return me="useDebugValue",Ie(),Rv()},useDeferredValue:function(t){return me="useDeferredValue",Ie(),FS(t)},useTransition:function(){return me="useTransition",Ie(),HS()},useMutableSource:function(t,r,u){return me="useMutableSource",Ie(),void 0},useSyncExternalStore:function(t,r,u){return me="useSyncExternalStore",Ie(),xv(t,r)},useId:function(){return me="useId",Ie(),Ov()},unstable_isNewReconciler:he},XS={readContext:function(t){return nr(t)},useCallback:function(t,r){return me="useCallback",Ie(),Nv(t,r)},useContext:function(t){return me="useContext",Ie(),nr(t)},useEffect:function(t,r){return me="useEffect",Ie(),Kh(t,r)},useImperativeHandle:function(t,r,u){return me="useImperativeHandle",Ie(),Av(t,r,u)},useInsertionEffect:function(t,r){return me="useInsertionEffect",Ie(),_v(t,r)},useLayoutEffect:function(t,r){return me="useLayoutEffect",Ie(),kv(t,r)},useMemo:function(t,r){me="useMemo",Ie();var u=Be.current;Be.current=Iv;try{return Dv(t,r)}finally{Be.current=u}},useReducer:function(t,r,u){me="useReducer",Ie();var l=Be.current;Be.current=Iv;try{return tb(t,r,u)}finally{Be.current=l}},useRef:function(t){return me="useRef",Ie(),Tv()},useState:function(t){me="useState",Ie();var r=Be.current;Be.current=Iv;try{return ab(t)}finally{Be.current=r}},useDebugValue:function(t,r){return me="useDebugValue",Ie(),Rv()},useDeferredValue:function(t){return me="useDeferredValue",Ie(),US(t)},useTransition:function(){return me="useTransition",Ie(),zS()},useMutableSource:function(t,r,u){return me="useMutableSource",Ie(),void 0},useSyncExternalStore:function(t,r,u){return me="useSyncExternalStore",Ie(),xv(t,r)},useId:function(){return me="useId",Ie(),Ov()},unstable_isNewReconciler:he},Po={readContext:function(t){return hb(),nr(t)},useCallback:function(t,r){return me="useCallback",pt(),jt(),lb(t,r)},useContext:function(t){return me="useContext",pt(),jt(),nr(t)},useEffect:function(t,r){return me="useEffect",pt(),jt(),Cv(t,r)},useImperativeHandle:function(t,r,u){return me="useImperativeHandle",pt(),jt(),sb(t,r,u)},useInsertionEffect:function(t,r){return me="useInsertionEffect",pt(),jt(),ob(t,r)},useLayoutEffect:function(t,r){return me="useLayoutEffect",pt(),jt(),ub(t,r)},useMemo:function(t,r){me="useMemo",pt(),jt();var u=Be.current;Be.current=Po;try{return cb(t,r)}finally{Be.current=u}},useReducer:function(t,r,u){me="useReducer",pt(),jt();var l=Be.current;Be.current=Po;try{return ZE(t,r,u)}finally{Be.current=l}},useRef:function(t){return me="useRef",pt(),jt(),ib(t)},useState:function(t){me="useState",pt(),jt();var r=Be.current;Be.current=Po;try{return wv(t)}finally{Be.current=r}},useDebugValue:function(t,r){return me="useDebugValue",pt(),jt(),void 0},useDeferredValue:function(t){return me="useDeferredValue",pt(),jt(),db(t)},useTransition:function(){return me="useTransition",pt(),jt(),fb()},useMutableSource:function(t,r,u){return me="useMutableSource",pt(),jt(),void 0},useSyncExternalStore:function(t,r,u){return me="useSyncExternalStore",pt(),jt(),nb(t,r,u)},useId:function(){return me="useId",pt(),jt(),pb()},unstable_isNewReconciler:he},eo={readContext:function(t){return hb(),nr(t)},useCallback:function(t,r){return me="useCallback",pt(),Ie(),Nv(t,r)},useContext:function(t){return me="useContext",pt(),Ie(),nr(t)},useEffect:function(t,r){return me="useEffect",pt(),Ie(),Kh(t,r)},useImperativeHandle:function(t,r,u){return me="useImperativeHandle",pt(),Ie(),Av(t,r,u)},useInsertionEffect:function(t,r){return me="useInsertionEffect",pt(),Ie(),_v(t,r)},useLayoutEffect:function(t,r){return me="useLayoutEffect",pt(),Ie(),kv(t,r)},useMemo:function(t,r){me="useMemo",pt(),Ie();var u=Be.current;Be.current=eo;try{return Dv(t,r)}finally{Be.current=u}},useReducer:function(t,r,u){me="useReducer",pt(),Ie();var l=Be.current;Be.current=eo;try{return eb(t,r,u)}finally{Be.current=l}},useRef:function(t){return me="useRef",pt(),Ie(),Tv()},useState:function(t){me="useState",pt(),Ie();var r=Be.current;Be.current=eo;try{return rb(t)}finally{Be.current=r}},useDebugValue:function(t,r){return me="useDebugValue",pt(),Ie(),Rv()},useDeferredValue:function(t){return me="useDeferredValue",pt(),Ie(),FS(t)},useTransition:function(){return me="useTransition",pt(),Ie(),HS()},useMutableSource:function(t,r,u){return me="useMutableSource",pt(),Ie(),void 0},useSyncExternalStore:function(t,r,u){return me="useSyncExternalStore",pt(),Ie(),xv(t,r)},useId:function(){return me="useId",pt(),Ie(),Ov()},unstable_isNewReconciler:he},Iv={readContext:function(t){return hb(),nr(t)},useCallback:function(t,r){return me="useCallback",pt(),Ie(),Nv(t,r)},useContext:function(t){return me="useContext",pt(),Ie(),nr(t)},useEffect:function(t,r){return me="useEffect",pt(),Ie(),Kh(t,r)},useImperativeHandle:function(t,r,u){return me="useImperativeHandle",pt(),Ie(),Av(t,r,u)},useInsertionEffect:function(t,r){return me="useInsertionEffect",pt(),Ie(),_v(t,r)},useLayoutEffect:function(t,r){return me="useLayoutEffect",pt(),Ie(),kv(t,r)},useMemo:function(t,r){me="useMemo",pt(),Ie();var u=Be.current;Be.current=eo;try{return Dv(t,r)}finally{Be.current=u}},useReducer:function(t,r,u){me="useReducer",pt(),Ie();var l=Be.current;Be.current=eo;try{return tb(t,r,u)}finally{Be.current=l}},useRef:function(t){return me="useRef",pt(),Ie(),Tv()},useState:function(t){me="useState",pt(),Ie();var r=Be.current;Be.current=eo;try{return ab(t)}finally{Be.current=r}},useDebugValue:function(t,r){return me="useDebugValue",pt(),Ie(),Rv()},useDeferredValue:function(t){return me="useDeferredValue",pt(),Ie(),US(t)},useTransition:function(){return me="useTransition",pt(),Ie(),zS()},useMutableSource:function(t,r,u){return me="useMutableSource",pt(),Ie(),void 0},useSyncExternalStore:function(t,r,u){return me="useSyncExternalStore",pt(),Ie(),xv(t,r)},useId:function(){return me="useId",pt(),Ie(),Ov()},unstable_isNewReconciler:he}}var zs=n.unstable_now,KS=0,Mv=-1,Jh=-1,Pv=-1,mb=!1,Fv=!1;function JS(){return mb}function Y6(){Fv=!0}function W6(){mb=!1,Fv=!1}function q6(){mb=Fv,Fv=!1}function ZS(){return KS}function e2(){KS=zs()}function gb(t){Jh=zs(),t.actualStartTime<0&&(t.actualStartTime=zs())}function t2(t){Jh=-1}function Uv(t,r){if(Jh>=0){var u=zs()-Jh;t.actualDuration+=u,r&&(t.selfBaseDuration=u),Jh=-1}}function Fo(t){if(Mv>=0){var r=zs()-Mv;Mv=-1;for(var u=t.return;u!==null;){switch(u.tag){case S:var l=u.stateNode;l.effectDuration+=r;return;case J:var p=u.stateNode;p.effectDuration+=r;return}u=u.return}}}function vb(t){if(Pv>=0){var r=zs()-Pv;Pv=-1;for(var u=t.return;u!==null;){switch(u.tag){case S:var l=u.stateNode;l!==null&&(l.passiveEffectDuration+=r);return;case J:var p=u.stateNode;p!==null&&(p.passiveEffectDuration+=r);return}u=u.return}}}function Uo(){Mv=zs()}function yb(){Pv=zs()}function Eb(t){for(var r=t.child;r;)t.actualDuration+=r.actualDuration,r=r.sibling}function to(t,r){if(t&&t.defaultProps){var u=Ct({},r),l=t.defaultProps;for(var p in l)u[p]===void 0&&(u[p]=l[p]);return u}return r}var bb={},xb,wb,Tb,Sb,Cb,n2,Bv,_b,kb,Ab,Zh;{xb=new Set,wb=new Set,Tb=new Set,Sb=new Set,_b=new Set,Cb=new Set,kb=new Set,Ab=new Set,Zh=new Set;var r2=new Set;Bv=function(t,r){if(!(t===null||typeof t=="function")){var u=r+"_"+t;r2.has(u)||(r2.add(u),d("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",r,t))}},n2=function(t,r){if(r===void 0){var u=Yt(t)||"Component";Cb.has(u)||(Cb.add(u),d("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",u))}},Object.defineProperty(bb,"_processChildContext",{enumerable:!1,value:function(){throw new Error("_processChildContext is not available in React 16+. This likely means you have multiple copies of React and are attempting to nest a React 15 tree inside a React 16 tree using unstable_renderSubtreeIntoContainer, which isn't supported. Try to make sure you have only one copy of React (and ideally, switch to ReactDOM.createPortal).")}}),Object.freeze(bb)}function Rb(t,r,u,l){var p=t.memoizedState,v=u(l,p);{if(t.mode&xt){In(!0);try{v=u(l,p)}finally{In(!1)}}n2(r,v)}var w=v==null?p:Ct({},p,v);if(t.memoizedState=w,t.lanes===ve){var _=t.updateQueue;_.baseState=w}}var Nb={isMounted:da,enqueueSetState:function(t,r,u){var l=_a(t),p=va(),v=Ws(l),w=ku(p,v);w.payload=r,u!=null&&(Bv(u,"setState"),w.callback=u);var _=Fs(l,w,v);_!==null&&(gr(_,l,v,p),hv(_,l,v)),zl(l,v)},enqueueReplaceState:function(t,r,u){var l=_a(t),p=va(),v=Ws(l),w=ku(p,v);w.tag=bS,w.payload=r,u!=null&&(Bv(u,"replaceState"),w.callback=u);var _=Fs(l,w,v);_!==null&&(gr(_,l,v,p),hv(_,l,v)),zl(l,v)},enqueueForceUpdate:function(t,r){var u=_a(t),l=va(),p=Ws(u),v=ku(l,p);v.tag=dv,r!=null&&(Bv(r,"forceUpdate"),v.callback=r);var w=Fs(u,v,p);w!==null&&(gr(w,u,p,l),hv(w,u,p)),vd(u,p)}};function a2(t,r,u,l,p,v,w){var _=t.stateNode;if(typeof _.shouldComponentUpdate=="function"){var A=_.shouldComponentUpdate(l,v,w);{if(t.mode&xt){In(!0);try{A=_.shouldComponentUpdate(l,v,w)}finally{In(!1)}}A===void 0&&d("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",Yt(r)||"Component")}return A}return r.prototype&&r.prototype.isPureReactComponent?!ot(u,l)||!ot(p,v):!0}function Q6(t,r,u){var l=t.stateNode;{var p=Yt(r)||"Component",v=l.render;v||(r.prototype&&typeof r.prototype.render=="function"?d("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",p):d("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",p)),l.getInitialState&&!l.getInitialState.isReactClassApproved&&!l.state&&d("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",p),l.getDefaultProps&&!l.getDefaultProps.isReactClassApproved&&d("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",p),l.propTypes&&d("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",p),l.contextType&&d("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",p),r.childContextTypes&&!Zh.has(r)&&(t.mode&xt)===$e&&(Zh.add(r),d(`%s uses the legacy childContextTypes API which is no longer supported and will be removed in the next major release. Use React.createContext() instead
142
-
143
- .Learn more about this warning here: https://reactjs.org/link/legacy-context`,p)),r.contextTypes&&!Zh.has(r)&&(t.mode&xt)===$e&&(Zh.add(r),d(`%s uses the legacy contextTypes API which is no longer supported and will be removed in the next major release. Use React.createContext() with static contextType instead.
144
-
145
- Learn more about this warning here: https://reactjs.org/link/legacy-context`,p)),l.contextTypes&&d("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",p),r.contextType&&r.contextTypes&&!kb.has(r)&&(kb.add(r),d("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",p)),typeof l.componentShouldUpdate=="function"&&d("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",p),r.prototype&&r.prototype.isPureReactComponent&&typeof l.shouldComponentUpdate<"u"&&d("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",Yt(r)||"A pure component"),typeof l.componentDidUnmount=="function"&&d("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",p),typeof l.componentDidReceiveProps=="function"&&d("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",p),typeof l.componentWillRecieveProps=="function"&&d("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",p),typeof l.UNSAFE_componentWillRecieveProps=="function"&&d("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",p);var w=l.props!==u;l.props!==void 0&&w&&d("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",p,p),l.defaultProps&&d("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",p,p),typeof l.getSnapshotBeforeUpdate=="function"&&typeof l.componentDidUpdate!="function"&&!Tb.has(r)&&(Tb.add(r),d("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",Yt(r))),typeof l.getDerivedStateFromProps=="function"&&d("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",p),typeof l.getDerivedStateFromError=="function"&&d("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",p),typeof r.getSnapshotBeforeUpdate=="function"&&d("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",p);var _=l.state;_&&(typeof _!="object"||Xn(_))&&d("%s.state: must be set to an object or null",p),typeof l.getChildContext=="function"&&typeof r.childContextTypes!="object"&&d("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",p)}}function i2(t,r){r.updater=Nb,t.stateNode=r,es(r,t),r._reactInternalInstance=bb}function o2(t,r,u){var l=!1,p=ni,v=ni,w=r.contextType;if("contextType"in r){var _=w===null||w!==void 0&&w.$$typeof===sp&&w._context===void 0;if(!_&&!Ab.has(r)){Ab.add(r);var A="";w===void 0?A=" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":typeof w!="object"?A=" However, it is set to a "+typeof w+".":w.$$typeof===up?A=" Did you accidentally pass the Context.Provider instead?":w._context!==void 0?A=" Did you accidentally pass the Context.Consumer instead?":A=" However, it is set to an object with keys {"+Object.keys(w).join(", ")+"}.",d("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",Yt(r)||"Component",A)}}if(typeof w=="object"&&w!==null)v=nr(w);else{p=df(t,r,!0);var O=r.contextTypes;l=O!=null,v=l?ff(t,p):ni}var M=new r(u,v);if(t.mode&xt){In(!0);try{M=new r(u,v)}finally{In(!1)}}var G=t.memoizedState=M.state!==null&&M.state!==void 0?M.state:null;i2(t,M);{if(typeof r.getDerivedStateFromProps=="function"&&G===null){var q=Yt(r)||"Component";wb.has(q)||(wb.add(q),d("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",q,M.state===null?"null":"undefined",q))}if(typeof r.getDerivedStateFromProps=="function"||typeof M.getSnapshotBeforeUpdate=="function"){var ue=null,le=null,fe=null;if(typeof M.componentWillMount=="function"&&M.componentWillMount.__suppressDeprecationWarning!==!0?ue="componentWillMount":typeof M.UNSAFE_componentWillMount=="function"&&(ue="UNSAFE_componentWillMount"),typeof M.componentWillReceiveProps=="function"&&M.componentWillReceiveProps.__suppressDeprecationWarning!==!0?le="componentWillReceiveProps":typeof M.UNSAFE_componentWillReceiveProps=="function"&&(le="UNSAFE_componentWillReceiveProps"),typeof M.componentWillUpdate=="function"&&M.componentWillUpdate.__suppressDeprecationWarning!==!0?fe="componentWillUpdate":typeof M.UNSAFE_componentWillUpdate=="function"&&(fe="UNSAFE_componentWillUpdate"),ue!==null||le!==null||fe!==null){var Pe=Yt(r)||"Component",rt=typeof r.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";Sb.has(Pe)||(Sb.add(Pe),d(`Unsafe legacy lifecycles will not be called for components using new component APIs.
146
-
147
- %s uses %s but also contains the following legacy lifecycles:%s%s%s
148
-
149
- The above lifecycles should be removed. Learn more about this warning here:
150
- https://reactjs.org/link/unsafe-component-lifecycles`,Pe,rt,ue!==null?`
151
- `+ue:"",le!==null?`
152
- `+le:"",fe!==null?`
153
- `+fe:""))}}}return l&&$T(t,p,v),M}function G6(t,r){var u=r.state;typeof r.componentWillMount=="function"&&r.componentWillMount(),typeof r.UNSAFE_componentWillMount=="function"&&r.UNSAFE_componentWillMount(),u!==r.state&&(d("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",mt(t)||"Component"),Nb.enqueueReplaceState(r,r.state,null))}function u2(t,r,u,l){var p=r.state;if(typeof r.componentWillReceiveProps=="function"&&r.componentWillReceiveProps(u,l),typeof r.UNSAFE_componentWillReceiveProps=="function"&&r.UNSAFE_componentWillReceiveProps(u,l),r.state!==p){{var v=mt(t)||"Component";xb.has(v)||(xb.add(v),d("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",v))}Nb.enqueueReplaceState(r,r.state,null)}}function Db(t,r,u,l){Q6(t,r,u);var p=t.stateNode;p.props=u,p.state=t.memoizedState,p.refs={},HE(t);var v=r.contextType;if(typeof v=="object"&&v!==null)p.context=nr(v);else{var w=df(t,r,!0);p.context=ff(t,w)}{if(p.state===u){var _=Yt(r)||"Component";_b.has(_)||(_b.add(_),d("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",_))}t.mode&xt&&Ji.recordLegacyContextWarning(t,p),Ji.recordUnsafeLifecycleWarnings(t,p)}p.state=t.memoizedState;var A=r.getDerivedStateFromProps;if(typeof A=="function"&&(Rb(t,r,A,u),p.state=t.memoizedState),typeof r.getDerivedStateFromProps!="function"&&typeof p.getSnapshotBeforeUpdate!="function"&&(typeof p.UNSAFE_componentWillMount=="function"||typeof p.componentWillMount=="function")&&(G6(t,p),mv(t,u,p,l),p.state=t.memoizedState),typeof p.componentDidMount=="function"){var O=vt;O|=Vr,(t.mode&pa)!==$e&&(O|=Yr),t.flags|=O}}function $6(t,r,u,l){var p=t.stateNode,v=t.memoizedProps;p.props=v;var w=p.context,_=r.contextType,A=ni;if(typeof _=="object"&&_!==null)A=nr(_);else{var O=df(t,r,!0);A=ff(t,O)}var M=r.getDerivedStateFromProps,G=typeof M=="function"||typeof p.getSnapshotBeforeUpdate=="function";!G&&(typeof p.UNSAFE_componentWillReceiveProps=="function"||typeof p.componentWillReceiveProps=="function")&&(v!==u||w!==A)&&u2(t,p,u,A),wS();var q=t.memoizedState,ue=p.state=q;if(mv(t,u,p,l),ue=t.memoizedState,v===u&&q===ue&&!Xg()&&!gv()){if(typeof p.componentDidMount=="function"){var le=vt;le|=Vr,(t.mode&pa)!==$e&&(le|=Yr),t.flags|=le}return!1}typeof M=="function"&&(Rb(t,r,M,u),ue=t.memoizedState);var fe=gv()||a2(t,r,v,u,q,ue,A);if(fe){if(!G&&(typeof p.UNSAFE_componentWillMount=="function"||typeof p.componentWillMount=="function")&&(typeof p.componentWillMount=="function"&&p.componentWillMount(),typeof p.UNSAFE_componentWillMount=="function"&&p.UNSAFE_componentWillMount()),typeof p.componentDidMount=="function"){var Pe=vt;Pe|=Vr,(t.mode&pa)!==$e&&(Pe|=Yr),t.flags|=Pe}}else{if(typeof p.componentDidMount=="function"){var rt=vt;rt|=Vr,(t.mode&pa)!==$e&&(rt|=Yr),t.flags|=rt}t.memoizedProps=u,t.memoizedState=ue}return p.props=u,p.state=ue,p.context=A,fe}function X6(t,r,u,l,p){var v=r.stateNode;xS(t,r);var w=r.memoizedProps,_=r.type===r.elementType?w:to(r.type,w);v.props=_;var A=r.pendingProps,O=v.context,M=u.contextType,G=ni;if(typeof M=="object"&&M!==null)G=nr(M);else{var q=df(r,u,!0);G=ff(r,q)}var ue=u.getDerivedStateFromProps,le=typeof ue=="function"||typeof v.getSnapshotBeforeUpdate=="function";!le&&(typeof v.UNSAFE_componentWillReceiveProps=="function"||typeof v.componentWillReceiveProps=="function")&&(w!==A||O!==G)&&u2(r,v,l,G),wS();var fe=r.memoizedState,Pe=v.state=fe;if(mv(r,l,v,p),Pe=r.memoizedState,w===A&&fe===Pe&&!Xg()&&!gv()&&!De)return typeof v.componentDidUpdate=="function"&&(w!==t.memoizedProps||fe!==t.memoizedState)&&(r.flags|=vt),typeof v.getSnapshotBeforeUpdate=="function"&&(w!==t.memoizedProps||fe!==t.memoizedState)&&(r.flags|=ka),!1;typeof ue=="function"&&(Rb(r,u,ue,l),Pe=r.memoizedState);var rt=gv()||a2(r,u,_,l,fe,Pe,G)||De;return rt?(!le&&(typeof v.UNSAFE_componentWillUpdate=="function"||typeof v.componentWillUpdate=="function")&&(typeof v.componentWillUpdate=="function"&&v.componentWillUpdate(l,Pe,G),typeof v.UNSAFE_componentWillUpdate=="function"&&v.UNSAFE_componentWillUpdate(l,Pe,G)),typeof v.componentDidUpdate=="function"&&(r.flags|=vt),typeof v.getSnapshotBeforeUpdate=="function"&&(r.flags|=ka)):(typeof v.componentDidUpdate=="function"&&(w!==t.memoizedProps||fe!==t.memoizedState)&&(r.flags|=vt),typeof v.getSnapshotBeforeUpdate=="function"&&(w!==t.memoizedProps||fe!==t.memoizedState)&&(r.flags|=ka),r.memoizedProps=l,r.memoizedState=Pe),v.props=l,v.state=Pe,v.context=G,rt}function yc(t,r){return{value:t,source:r,stack:hp(r),digest:null}}function Ob(t,r,u){return{value:t,source:null,stack:u??null,digest:r??null}}function K6(t,r){return!0}function Lb(t,r){try{var u=K6(t,r);if(u===!1)return;var l=r.value,p=r.source,v=r.stack,w=v!==null?v:"";if(l!=null&&l._suppressLogging){if(t.tag===b)return;console.error(l)}var _=p?mt(p):null,A=_?"The above error occurred in the <"+_+"> component:":"The above error occurred in one of your React components:",O;if(t.tag===S)O=`Consider adding an error boundary to your tree to customize error handling behavior.
154
- Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.`;else{var M=mt(t)||"Anonymous";O="React will try to recreate this component tree from scratch "+("using the error boundary you provided, "+M+".")}var G=A+`
155
- `+w+`
156
-
157
- `+(""+O);console.error(G)}catch(q){setTimeout(function(){throw q})}}var J6=typeof WeakMap=="function"?WeakMap:Map;function s2(t,r,u){var l=ku(Jt,u);l.tag=UE,l.payload={element:null};var p=r.value;return l.callback=function(){YL(p),Lb(t,r)},l}function Ib(t,r,u){var l=ku(Jt,u);l.tag=UE;var p=t.type.getDerivedStateFromError;if(typeof p=="function"){var v=r.value;l.payload=function(){return p(v)},l.callback=function(){EC(t),Lb(t,r)}}var w=t.stateNode;return w!==null&&typeof w.componentDidCatch=="function"&&(l.callback=function(){EC(t),Lb(t,r),typeof p!="function"&&jL(this);var A=r.value,O=r.stack;this.componentDidCatch(A,{componentStack:O!==null?O:""}),typeof p!="function"&&(Xr(t.lanes,Ze)||d("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",mt(t)||"Unknown"))}),l}function l2(t,r,u){var l=t.pingCache,p;if(l===null?(l=t.pingCache=new J6,p=new Set,l.set(r,p)):(p=l.get(r),p===void 0&&(p=new Set,l.set(r,p))),!p.has(u)){p.add(u);var v=WL.bind(null,t,r,u);fa&&gm(t,u),r.then(v,v)}}function Z6(t,r,u,l){var p=t.updateQueue;if(p===null){var v=new Set;v.add(u),t.updateQueue=v}else p.add(u)}function eO(t,r){var u=t.tag;if((t.mode&Ke)===$e&&(u===E||u===W||u===te)){var l=t.alternate;l?(t.updateQueue=l.updateQueue,t.memoizedState=l.memoizedState,t.lanes=l.lanes):(t.updateQueue=null,t.memoizedState=null)}}function c2(t){var r=t;do{if(r.tag===Z&&I6(r))return r;r=r.return}while(r!==null);return null}function d2(t,r,u,l,p){if((t.mode&Ke)===$e){if(t===r)t.flags|=Jn;else{if(t.flags|=lt,u.flags|=Ul,u.flags&=~(id|la),u.tag===b){var v=u.alternate;if(v===null)u.tag=Me;else{var w=ku(Jt,Ze);w.tag=dv,Fs(u,w,Ze)}}u.lanes=gt(u.lanes,Ze)}return t}return t.flags|=Jn,t.lanes=p,t}function tO(t,r,u,l,p){if(u.flags|=la,fa&&gm(t,p),l!==null&&typeof l=="object"&&typeof l.then=="function"){var v=l;eO(u),Dr()&&u.mode&Ke&&nS();var w=c2(r);if(w!==null){w.flags&=~En,d2(w,r,u,t,p),w.mode&Ke&&l2(t,v,p),Z6(w,t,v);return}else{if(!nh(p)){l2(t,v,p),px();return}var _=new Error("A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with startTransition.");l=_}}else if(Dr()&&u.mode&Ke){nS();var A=c2(r);if(A!==null){(A.flags&Jn)===nt&&(A.flags|=En),d2(A,r,u,t,p),_E(yc(l,u));return}}l=yc(l,u),IL(l);var O=r;do{switch(O.tag){case S:{var M=l;O.flags|=Jn;var G=hs(p);O.lanes=gt(O.lanes,G);var q=s2(O,M,G);zE(O,q);return}case b:var ue=l,le=O.type,fe=O.stateNode;if((O.flags&lt)===nt&&(typeof le.getDerivedStateFromError=="function"||fe!==null&&typeof fe.componentDidCatch=="function"&&!cC(fe))){O.flags|=Jn;var Pe=hs(p);O.lanes=gt(O.lanes,Pe);var rt=Ib(O,ue,Pe);zE(O,rt);return}break}O=O.return}while(O!==null)}function nO(){return null}var em=a.ReactCurrentOwner,no=!1,Mb,tm,Pb,Fb,Ub,Ec,Bb,Hv,nm;Mb={},tm={},Pb={},Fb={},Ub={},Ec=!1,Bb={},Hv={},nm={};function ma(t,r,u,l){t===null?r.child=hS(r,null,u,l):r.child=gf(r,t.child,u,l)}function rO(t,r,u,l){r.child=gf(r,t.child,null,l),r.child=gf(r,null,u,l)}function f2(t,r,u,l,p){if(r.type!==r.elementType){var v=u.propTypes;v&&Xi(v,l,"prop",Yt(u))}var w=u.render,_=r.ref,A,O;yf(r,p),as(r);{if(em.current=r,Ka(!0),A=Sf(t,r,w,l,_,p),O=Cf(),r.mode&xt){In(!0);try{A=Sf(t,r,w,l,_,p),O=Cf()}finally{In(!1)}}Ka(!1)}return Qr(),t!==null&&!no?(AS(t,r,p),Au(t,r,p)):(Dr()&&O&&bE(r),r.flags|=bo,ma(t,r,A,p),r.child)}function p2(t,r,u,l,p){if(t===null){var v=u.type;if(s4(v)&&u.compare===null&&u.defaultProps===void 0){var w=v;return w=Lf(v),r.tag=te,r.type=w,jb(r,v),h2(t,r,w,l,p)}{var _=v.propTypes;if(_&&Xi(_,l,"prop",Yt(v)),u.defaultProps!==void 0){var A=Yt(v)||"Unknown";nm[A]||(d("%s: Support for defaultProps will be removed from memo components in a future major release. Use JavaScript default parameters instead.",A),nm[A]=!0)}}var O=Sx(u.type,null,l,r,r.mode,p);return O.ref=r.ref,O.return=r,r.child=O,O}{var M=u.type,G=M.propTypes;G&&Xi(G,l,"prop",Yt(M))}var q=t.child,ue=Gb(t,p);if(!ue){var le=q.memoizedProps,fe=u.compare;if(fe=fe!==null?fe:ot,fe(le,l)&&t.ref===r.ref)return Au(t,r,p)}r.flags|=bo;var Pe=Sc(q,l);return Pe.ref=r.ref,Pe.return=r,r.child=Pe,Pe}function h2(t,r,u,l,p){if(r.type!==r.elementType){var v=r.elementType;if(v.$$typeof===Ar){var w=v,_=w._payload,A=w._init;try{v=A(_)}catch{v=null}var O=v&&v.propTypes;O&&Xi(O,l,"prop",Yt(v))}}if(t!==null){var M=t.memoizedProps;if(ot(M,l)&&t.ref===r.ref&&r.type===t.type)if(no=!1,r.pendingProps=l=M,Gb(t,p))(t.flags&Ul)!==nt&&(no=!0);else return r.lanes=t.lanes,Au(t,r,p)}return Hb(t,r,u,l,p)}function m2(t,r,u){var l=r.pendingProps,p=l.children,v=t!==null?t.memoizedState:null;if(l.mode==="hidden"||F)if((r.mode&Ke)===$e){var w={baseLanes:ve,cachePool:null,transitions:null};r.memoizedState=w,Zv(r,u)}else if(Xr(u,wr)){var G={baseLanes:ve,cachePool:null,transitions:null};r.memoizedState=G;var q=v!==null?v.baseLanes:u;Zv(r,q)}else{var _=null,A;if(v!==null){var O=v.baseLanes;A=gt(O,u)}else A=u;r.lanes=r.childLanes=wr;var M={baseLanes:A,cachePool:_,transitions:null};return r.memoizedState=M,r.updateQueue=null,Zv(r,A),null}else{var ue;v!==null?(ue=gt(v.baseLanes,u),r.memoizedState=null):ue=u,Zv(r,ue)}return ma(t,r,p,u),r.child}function aO(t,r,u){var l=r.pendingProps;return ma(t,r,l,u),r.child}function iO(t,r,u){var l=r.pendingProps.children;return ma(t,r,l,u),r.child}function oO(t,r,u){{r.flags|=vt;{var l=r.stateNode;l.effectDuration=0,l.passiveEffectDuration=0}}var p=r.pendingProps,v=p.children;return ma(t,r,v,u),r.child}function g2(t,r){var u=r.ref;(t===null&&u!==null||t!==null&&t.ref!==u)&&(r.flags|=jr,r.flags|=Vp)}function Hb(t,r,u,l,p){if(r.type!==r.elementType){var v=u.propTypes;v&&Xi(v,l,"prop",Yt(u))}var w;{var _=df(r,u,!0);w=ff(r,_)}var A,O;yf(r,p),as(r);{if(em.current=r,Ka(!0),A=Sf(t,r,u,l,w,p),O=Cf(),r.mode&xt){In(!0);try{A=Sf(t,r,u,l,w,p),O=Cf()}finally{In(!1)}}Ka(!1)}return Qr(),t!==null&&!no?(AS(t,r,p),Au(t,r,p)):(Dr()&&O&&bE(r),r.flags|=bo,ma(t,r,A,p),r.child)}function v2(t,r,u,l,p){{switch(T4(r)){case!1:{var v=r.stateNode,w=r.type,_=new w(r.memoizedProps,v.context),A=_.state;v.updater.enqueueSetState(v,A,null);break}case!0:{r.flags|=lt,r.flags|=Jn;var O=new Error("Simulated error coming from DevTools"),M=hs(p);r.lanes=gt(r.lanes,M);var G=Ib(r,yc(O,r),M);zE(r,G);break}}if(r.type!==r.elementType){var q=u.propTypes;q&&Xi(q,l,"prop",Yt(u))}}var ue;Lo(u)?(ue=!0,Jg(r)):ue=!1,yf(r,p);var le=r.stateNode,fe;le===null?(jv(t,r),o2(r,u,l),Db(r,u,l,p),fe=!0):t===null?fe=$6(r,u,l,p):fe=X6(t,r,u,l,p);var Pe=zb(t,r,u,fe,ue,p);{var rt=r.stateNode;fe&&rt.props!==l&&(Ec||d("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",mt(r)||"a component"),Ec=!0)}return Pe}function zb(t,r,u,l,p,v){g2(t,r);var w=(r.flags&lt)!==nt;if(!l&&!w)return p&&JT(r,u,!1),Au(t,r,v);var _=r.stateNode;em.current=r;var A;if(w&&typeof u.getDerivedStateFromError!="function")A=null,t2();else{as(r);{if(Ka(!0),A=_.render(),r.mode&xt){In(!0);try{_.render()}finally{In(!1)}}Ka(!1)}Qr()}return r.flags|=bo,t!==null&&w?rO(t,r,A,v):ma(t,r,A,v),r.memoizedState=_.state,p&&JT(r,u,!0),r.child}function y2(t){var r=t.stateNode;r.pendingContext?XT(t,r.pendingContext,r.pendingContext!==r.context):r.context&&XT(t,r.context,!1),jE(t,r.containerInfo)}function uO(t,r,u){if(y2(r),t===null)throw new Error("Should have a current fiber. This is a bug in React.");var l=r.pendingProps,p=r.memoizedState,v=p.element;xS(t,r),mv(r,l,null,u);var w=r.memoizedState;r.stateNode;var _=w.element;if(p.isDehydrated){var A={element:_,isDehydrated:!1,cache:w.cache,pendingSuspenseBoundaries:w.pendingSuspenseBoundaries,transitions:w.transitions},O=r.updateQueue;if(O.baseState=A,r.memoizedState=A,r.flags&En){var M=yc(new Error("There was an error while hydrating. Because the error happened outside of a Suspense boundary, the entire root will switch to client rendering."),r);return E2(t,r,_,u,M)}else if(_!==v){var G=yc(new Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),r);return E2(t,r,_,u,G)}else{c6(r);var q=hS(r,null,_,u);r.child=q;for(var ue=q;ue;)ue.flags=ue.flags&~Zt|Aa,ue=ue.sibling}}else{if(mf(),_===v)return Au(t,r,u);ma(t,r,_,u)}return r.child}function E2(t,r,u,l,p){return mf(),_E(p),r.flags|=En,ma(t,r,u,l),r.child}function sO(t,r,u){CS(r),t===null&&CE(r);var l=r.type,p=r.pendingProps,v=t!==null?t.memoizedProps:null,w=p.children,_=oE(l,p);return _?w=null:v!==null&&oE(l,v)&&(r.flags|=zt),g2(t,r),ma(t,r,w,u),r.child}function lO(t,r){return t===null&&CE(r),null}function cO(t,r,u,l){jv(t,r);var p=r.pendingProps,v=u,w=v._payload,_=v._init,A=_(w);r.type=A;var O=r.tag=l4(A),M=to(A,p),G;switch(O){case E:return jb(r,A),r.type=A=Lf(A),G=Hb(null,r,A,M,l),G;case b:return r.type=A=yx(A),G=v2(null,r,A,M,l),G;case W:return r.type=A=Ex(A),G=f2(null,r,A,M,l),G;case X:{if(r.type!==r.elementType){var q=A.propTypes;q&&Xi(q,M,"prop",Yt(A))}return G=p2(null,r,A,to(A.type,M),l),G}}var ue="";throw A!==null&&typeof A=="object"&&A.$$typeof===Ar&&(ue=" Did you wrap a component in React.lazy() more than once?"),new Error("Element type is invalid. Received a promise that resolves to: "+A+". "+("Lazy element type must resolve to a class or function."+ue))}function dO(t,r,u,l,p){jv(t,r),r.tag=b;var v;return Lo(u)?(v=!0,Jg(r)):v=!1,yf(r,p),o2(r,u,l),Db(r,u,l,p),zb(null,r,u,!0,v,p)}function fO(t,r,u,l){jv(t,r);var p=r.pendingProps,v;{var w=df(r,u,!1);v=ff(r,w)}yf(r,l);var _,A;as(r);{if(u.prototype&&typeof u.prototype.render=="function"){var O=Yt(u)||"Unknown";Mb[O]||(d("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",O,O),Mb[O]=!0)}r.mode&xt&&Ji.recordLegacyContextWarning(r,null),Ka(!0),em.current=r,_=Sf(null,r,u,p,v,l),A=Cf(),Ka(!1)}if(Qr(),r.flags|=bo,typeof _=="object"&&_!==null&&typeof _.render=="function"&&_.$$typeof===void 0){var M=Yt(u)||"Unknown";tm[M]||(d("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",M,M,M),tm[M]=!0)}if(typeof _=="object"&&_!==null&&typeof _.render=="function"&&_.$$typeof===void 0){{var G=Yt(u)||"Unknown";tm[G]||(d("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",G,G,G),tm[G]=!0)}r.tag=b,r.memoizedState=null,r.updateQueue=null;var q=!1;return Lo(u)?(q=!0,Jg(r)):q=!1,r.memoizedState=_.state!==null&&_.state!==void 0?_.state:null,HE(r),i2(r,_),Db(r,u,p,l),zb(null,r,u,!0,q,l)}else{if(r.tag=E,r.mode&xt){In(!0);try{_=Sf(null,r,u,p,v,l),A=Cf()}finally{In(!1)}}return Dr()&&A&&bE(r),ma(null,r,_,l),jb(r,u),r.child}}function jb(t,r){{if(r&&r.childContextTypes&&d("%s(...): childContextTypes cannot be defined on a function component.",r.displayName||r.name||"Component"),t.ref!==null){var u="",l=Sa();l&&(u+=`
158
-
159
- Check the render method of \``+l+"`.");var p=l||"",v=t._debugSource;v&&(p=v.fileName+":"+v.lineNumber),Ub[p]||(Ub[p]=!0,d("Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?%s",u))}if(r.defaultProps!==void 0){var w=Yt(r)||"Unknown";nm[w]||(d("%s: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.",w),nm[w]=!0)}if(typeof r.getDerivedStateFromProps=="function"){var _=Yt(r)||"Unknown";Fb[_]||(d("%s: Function components do not support getDerivedStateFromProps.",_),Fb[_]=!0)}if(typeof r.contextType=="object"&&r.contextType!==null){var A=Yt(r)||"Unknown";Pb[A]||(d("%s: Function components do not support contextType.",A),Pb[A]=!0)}}}var Vb={dehydrated:null,treeContext:null,retryLane:Mn};function Yb(t){return{baseLanes:t,cachePool:nO(),transitions:null}}function pO(t,r){var u=null;return{baseLanes:gt(t.baseLanes,r),cachePool:u,transitions:t.transitions}}function hO(t,r,u,l){if(r!==null){var p=r.memoizedState;if(p===null)return!1}return WE(t,Wh)}function mO(t,r){return Gl(t.childLanes,r)}function b2(t,r,u){var l=r.pendingProps;S4(r)&&(r.flags|=lt);var p=Zi.current,v=!1,w=(r.flags&lt)!==nt;if(w||hO(p,t)?(v=!0,r.flags&=~lt):(t===null||t.memoizedState!==null)&&(p=L6(p,kS)),p=bf(p),Bs(r,p),t===null){CE(r);var _=r.memoizedState;if(_!==null){var A=_.dehydrated;if(A!==null)return bO(r,A)}var O=l.children,M=l.fallback;if(v){var G=gO(r,O,M,u),q=r.child;return q.memoizedState=Yb(u),r.memoizedState=Vb,G}else return Wb(r,O)}else{var ue=t.memoizedState;if(ue!==null){var le=ue.dehydrated;if(le!==null)return xO(t,r,w,l,le,ue,u)}if(v){var fe=l.fallback,Pe=l.children,rt=yO(t,r,Pe,fe,u),Je=r.child,Ot=t.child.memoizedState;return Je.memoizedState=Ot===null?Yb(u):pO(Ot,u),Je.childLanes=mO(t,u),r.memoizedState=Vb,rt}else{var kt=l.children,ne=vO(t,r,kt,u);return r.memoizedState=null,ne}}}function Wb(t,r,u){var l=t.mode,p={mode:"visible",children:r},v=qb(p,l);return v.return=t,t.child=v,v}function gO(t,r,u,l){var p=t.mode,v=t.child,w={mode:"hidden",children:r},_,A;return(p&Ke)===$e&&v!==null?(_=v,_.childLanes=ve,_.pendingProps=w,t.mode&ct&&(_.actualDuration=0,_.actualStartTime=-1,_.selfBaseDuration=0,_.treeBaseDuration=0),A=Qs(u,p,l,null)):(_=qb(w,p),A=Qs(u,p,l,null)),_.return=t,A.return=t,_.sibling=A,t.child=_,A}function qb(t,r,u){return xC(t,r,ve,null)}function x2(t,r){return Sc(t,r)}function vO(t,r,u,l){var p=t.child,v=p.sibling,w=x2(p,{mode:"visible",children:u});if((r.mode&Ke)===$e&&(w.lanes=l),w.return=r,w.sibling=null,v!==null){var _=r.deletions;_===null?(r.deletions=[v],r.flags|=Bt):_.push(v)}return r.child=w,w}function yO(t,r,u,l,p){var v=r.mode,w=t.child,_=w.sibling,A={mode:"hidden",children:u},O;if((v&Ke)===$e&&r.child!==w){var M=r.child;O=M,O.childLanes=ve,O.pendingProps=A,r.mode&ct&&(O.actualDuration=0,O.actualStartTime=-1,O.selfBaseDuration=w.selfBaseDuration,O.treeBaseDuration=w.treeBaseDuration),r.deletions=null}else O=x2(w,A),O.subtreeFlags=w.subtreeFlags&or;var G;return _!==null?G=Sc(_,l):(G=Qs(l,v,p,null),G.flags|=Zt),G.return=r,O.return=r,O.sibling=G,r.child=O,G}function zv(t,r,u,l){l!==null&&_E(l),gf(r,t.child,null,u);var p=r.pendingProps,v=p.children,w=Wb(r,v);return w.flags|=Zt,r.memoizedState=null,w}function EO(t,r,u,l,p){var v=r.mode,w={mode:"visible",children:u},_=qb(w,v),A=Qs(l,v,p,null);return A.flags|=Zt,_.return=r,A.return=r,_.sibling=A,r.child=_,(r.mode&Ke)!==$e&&gf(r,t.child,null,p),A}function bO(t,r,u){return(t.mode&Ke)===$e?(d("Cannot hydrate Suspense in legacy mode. Switch from ReactDOM.hydrate(element, container) to ReactDOMClient.hydrateRoot(container, <App />).render(element) or remove the Suspense components from the server rendered components."),t.lanes=Ze):cE(r)?t.lanes=Wi:t.lanes=wr,null}function xO(t,r,u,l,p,v,w){if(u)if(r.flags&En){r.flags&=~En;var ne=Ob(new Error("There was an error while hydrating this Suspense boundary. Switched to client rendering."));return zv(t,r,w,ne)}else{if(r.memoizedState!==null)return r.child=t.child,r.flags|=lt,null;var pe=l.children,re=l.fallback,Se=EO(t,r,pe,re,w),He=r.child;return He.memoizedState=Yb(w),r.memoizedState=Vb,Se}else{if(s6(),(r.mode&Ke)===$e)return zv(t,r,w,null);if(cE(p)){var _,A,O;{var M=CD(p);_=M.digest,A=M.message,O=M.stack}var G;A?G=new Error(A):G=new Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering.");var q=Ob(G,_,O);return zv(t,r,w,q)}var ue=Xr(w,t.childLanes);if(no||ue){var le=Jv();if(le!==null){var fe=pg(le,w);if(fe!==Mn&&fe!==v.retryLane){v.retryLane=fe;var Pe=Jt;Ha(t,fe),gr(le,t,fe,Pe)}}px();var rt=Ob(new Error("This Suspense boundary received an update before it finished hydrating. This caused the boundary to switch to client rendering. The usual way to fix this is to wrap the original update in startTransition."));return zv(t,r,w,rt)}else if(YT(p)){r.flags|=lt,r.child=t.child;var Je=qL.bind(null,t);return _D(p,Je),null}else{d6(r,p,v.treeContext);var Ot=l.children,kt=Wb(r,Ot);return kt.flags|=Aa,kt}}}function w2(t,r,u){t.lanes=gt(t.lanes,r);var l=t.alternate;l!==null&&(l.lanes=gt(l.lanes,r)),PE(t.return,r,u)}function wO(t,r,u){for(var l=r;l!==null;){if(l.tag===Z){var p=l.memoizedState;p!==null&&w2(l,u,t)}else if(l.tag===Ee)w2(l,u,t);else if(l.child!==null){l.child.return=l,l=l.child;continue}if(l===t)return;for(;l.sibling===null;){if(l.return===null||l.return===t)return;l=l.return}l.sibling.return=l.return,l=l.sibling}}function TO(t){for(var r=t,u=null;r!==null;){var l=r.alternate;l!==null&&Ev(l)===null&&(u=r),r=r.sibling}return u}function SO(t){if(t!==void 0&&t!=="forwards"&&t!=="backwards"&&t!=="together"&&!Bb[t])if(Bb[t]=!0,typeof t=="string")switch(t.toLowerCase()){case"together":case"forwards":case"backwards":{d('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',t,t.toLowerCase());break}case"forward":case"backward":{d('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',t,t.toLowerCase());break}default:d('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',t);break}else d('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',t)}function CO(t,r){t!==void 0&&!Hv[t]&&(t!=="collapsed"&&t!=="hidden"?(Hv[t]=!0,d('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',t)):r!=="forwards"&&r!=="backwards"&&(Hv[t]=!0,d('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',t)))}function T2(t,r){{var u=Xn(t),l=!u&&typeof Ii(t)=="function";if(u||l){var p=u?"array":"iterable";return d("A nested %s was passed to row #%s in <SuspenseList />. Wrap it in an additional SuspenseList to configure its revealOrder: <SuspenseList revealOrder=...> ... <SuspenseList revealOrder=...>{%s}</SuspenseList> ... </SuspenseList>",p,r,p),!1}}return!0}function _O(t,r){if((r==="forwards"||r==="backwards")&&t!==void 0&&t!==null&&t!==!1)if(Xn(t)){for(var u=0;u<t.length;u++)if(!T2(t[u],u))return}else{var l=Ii(t);if(typeof l=="function"){var p=l.call(t);if(p)for(var v=p.next(),w=0;!v.done;v=p.next()){if(!T2(v.value,w))return;w++}}else d('A single row was passed to a <SuspenseList revealOrder="%s" />. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?',r)}}function Qb(t,r,u,l,p){var v=t.memoizedState;v===null?t.memoizedState={isBackwards:r,rendering:null,renderingStartTime:0,last:l,tail:u,tailMode:p}:(v.isBackwards=r,v.rendering=null,v.renderingStartTime=0,v.last=l,v.tail=u,v.tailMode=p)}function S2(t,r,u){var l=r.pendingProps,p=l.revealOrder,v=l.tail,w=l.children;SO(p),CO(v,p),_O(w,p),ma(t,r,w,u);var _=Zi.current,A=WE(_,Wh);if(A)_=qE(_,Wh),r.flags|=lt;else{var O=t!==null&&(t.flags&lt)!==nt;O&&wO(r,r.child,u),_=bf(_)}if(Bs(r,_),(r.mode&Ke)===$e)r.memoizedState=null;else switch(p){case"forwards":{var M=TO(r.child),G;M===null?(G=r.child,r.child=null):(G=M.sibling,M.sibling=null),Qb(r,!1,G,M,v);break}case"backwards":{var q=null,ue=r.child;for(r.child=null;ue!==null;){var le=ue.alternate;if(le!==null&&Ev(le)===null){r.child=ue;break}var fe=ue.sibling;ue.sibling=q,q=ue,ue=fe}Qb(r,!0,q,null,v);break}case"together":{Qb(r,!1,null,null,void 0);break}default:r.memoizedState=null}return r.child}function kO(t,r,u){jE(r,r.stateNode.containerInfo);var l=r.pendingProps;return t===null?r.child=gf(r,null,l,u):ma(t,r,l,u),r.child}var C2=!1;function AO(t,r,u){var l=r.type,p=l._context,v=r.pendingProps,w=r.memoizedProps,_=v.value;{"value"in v||C2||(C2=!0,d("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?"));var A=r.type.propTypes;A&&Xi(A,v,"prop","Context.Provider")}if(vS(r,p,_),w!==null){var O=w.value;if(Ye(O,_)){if(w.children===v.children&&!Xg())return Au(t,r,u)}else S6(r,p,u)}var M=v.children;return ma(t,r,M,u),r.child}var _2=!1;function RO(t,r,u){var l=r.type;l._context===void 0?l!==l.Consumer&&(_2||(_2=!0,d("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):l=l._context;var p=r.pendingProps,v=p.children;typeof v!="function"&&d("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it."),yf(r,u);var w=nr(l);as(r);var _;return em.current=r,Ka(!0),_=v(w),Ka(!1),Qr(),r.flags|=bo,ma(t,r,_,u),r.child}function rm(){no=!0}function jv(t,r){(r.mode&Ke)===$e&&t!==null&&(t.alternate=null,r.alternate=null,r.flags|=Zt)}function Au(t,r,u){return t!==null&&(r.dependencies=t.dependencies),t2(),mm(r.lanes),Xr(u,r.childLanes)?(w6(t,r),r.child):null}function NO(t,r,u){{var l=r.return;if(l===null)throw new Error("Cannot swap the root fiber.");if(t.alternate=null,r.alternate=null,u.index=r.index,u.sibling=r.sibling,u.return=r.return,u.ref=r.ref,r===l.child)l.child=u;else{var p=l.child;if(p===null)throw new Error("Expected parent to have a child.");for(;p.sibling!==r;)if(p=p.sibling,p===null)throw new Error("Expected to find the previous sibling.");p.sibling=u}var v=l.deletions;return v===null?(l.deletions=[t],l.flags|=Bt):v.push(t),u.flags|=Zt,u}}function Gb(t,r){var u=t.lanes;return!!Xr(u,r)}function DO(t,r,u){switch(r.tag){case S:y2(r),r.stateNode,mf();break;case k:CS(r);break;case b:{var l=r.type;Lo(l)&&Jg(r);break}case R:jE(r,r.stateNode.containerInfo);break;case $:{var p=r.memoizedProps.value,v=r.type._context;vS(r,v,p);break}case J:{var w=Xr(u,r.childLanes);w&&(r.flags|=vt);{var _=r.stateNode;_.effectDuration=0,_.passiveEffectDuration=0}}break;case Z:{var A=r.memoizedState;if(A!==null){if(A.dehydrated!==null)return Bs(r,bf(Zi.current)),r.flags|=lt,null;var O=r.child,M=O.childLanes;if(Xr(u,M))return b2(t,r,u);Bs(r,bf(Zi.current));var G=Au(t,r,u);return G!==null?G.sibling:null}else Bs(r,bf(Zi.current));break}case Ee:{var q=(t.flags&lt)!==nt,ue=Xr(u,r.childLanes);if(q){if(ue)return S2(t,r,u);r.flags|=lt}var le=r.memoizedState;if(le!==null&&(le.rendering=null,le.tail=null,le.lastEffect=null),Bs(r,Zi.current),ue)break;return null}case Re:case Oe:return r.lanes=ve,m2(t,r,u)}return Au(t,r,u)}function k2(t,r,u){if(r._debugNeedsRemount&&t!==null)return NO(t,r,Sx(r.type,r.key,r.pendingProps,r._debugOwner||null,r.mode,r.lanes));if(t!==null){var l=t.memoizedProps,p=r.pendingProps;if(l!==p||Xg()||r.type!==t.type)no=!0;else{var v=Gb(t,u);if(!v&&(r.flags&lt)===nt)return no=!1,DO(t,r,u);(t.flags&Ul)!==nt?no=!0:no=!1}}else if(no=!1,Dr()&&n6(r)){var w=r.index,_=r6();tS(r,_,w)}switch(r.lanes=ve,r.tag){case C:return fO(t,r,r.type,u);case we:{var A=r.elementType;return cO(t,r,A,u)}case E:{var O=r.type,M=r.pendingProps,G=r.elementType===O?M:to(O,M);return Hb(t,r,O,G,u)}case b:{var q=r.type,ue=r.pendingProps,le=r.elementType===q?ue:to(q,ue);return v2(t,r,q,le,u)}case S:return uO(t,r,u);case k:return sO(t,r,u);case D:return lO(t,r);case Z:return b2(t,r,u);case R:return kO(t,r,u);case W:{var fe=r.type,Pe=r.pendingProps,rt=r.elementType===fe?Pe:to(fe,Pe);return f2(t,r,fe,rt,u)}case L:return aO(t,r,u);case B:return iO(t,r,u);case J:return oO(t,r,u);case $:return AO(t,r,u);case H:return RO(t,r,u);case X:{var Je=r.type,Ot=r.pendingProps,kt=to(Je,Ot);if(r.type!==r.elementType){var ne=Je.propTypes;ne&&Xi(ne,kt,"prop",Yt(Je))}return kt=to(Je.type,kt),p2(t,r,Je,kt,u)}case te:return h2(t,r,r.type,r.pendingProps,u);case Me:{var pe=r.type,re=r.pendingProps,Se=r.elementType===pe?re:to(pe,re);return dO(t,r,pe,Se,u)}case Ee:return S2(t,r,u);case ge:break;case Re:return m2(t,r,u)}throw new Error("Unknown unit of work tag ("+r.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function _f(t){t.flags|=vt}function A2(t){t.flags|=jr,t.flags|=Vp}var R2,$b,N2,D2;R2=function(t,r,u,l){for(var p=r.child;p!==null;){if(p.tag===k||p.tag===D)ZN(t,p.stateNode);else if(p.tag!==R){if(p.child!==null){p.child.return=p,p=p.child;continue}}if(p===r)return;for(;p.sibling===null;){if(p.return===null||p.return===r)return;p=p.return}p.sibling.return=p.return,p=p.sibling}},$b=function(t,r){},N2=function(t,r,u,l,p){var v=t.memoizedProps;if(v!==l){var w=r.stateNode,_=VE(),A=tD(w,u,v,l,p,_);r.updateQueue=A,A&&_f(r)}},D2=function(t,r,u,l){u!==l&&_f(r)};function am(t,r){if(!Dr())switch(t.tailMode){case"hidden":{for(var u=t.tail,l=null;u!==null;)u.alternate!==null&&(l=u),u=u.sibling;l===null?t.tail=null:l.sibling=null;break}case"collapsed":{for(var p=t.tail,v=null;p!==null;)p.alternate!==null&&(v=p),p=p.sibling;v===null?!r&&t.tail!==null?t.tail.sibling=null:t.tail=null:v.sibling=null;break}}}function Lr(t){var r=t.alternate!==null&&t.alternate.child===t.child,u=ve,l=nt;if(r){if((t.mode&ct)!==$e){for(var A=t.selfBaseDuration,O=t.child;O!==null;)u=gt(u,gt(O.lanes,O.childLanes)),l|=O.subtreeFlags&or,l|=O.flags&or,A+=O.treeBaseDuration,O=O.sibling;t.treeBaseDuration=A}else for(var M=t.child;M!==null;)u=gt(u,gt(M.lanes,M.childLanes)),l|=M.subtreeFlags&or,l|=M.flags&or,M.return=t,M=M.sibling;t.subtreeFlags|=l}else{if((t.mode&ct)!==$e){for(var p=t.actualDuration,v=t.selfBaseDuration,w=t.child;w!==null;)u=gt(u,gt(w.lanes,w.childLanes)),l|=w.subtreeFlags,l|=w.flags,p+=w.actualDuration,v+=w.treeBaseDuration,w=w.sibling;t.actualDuration=p,t.treeBaseDuration=v}else for(var _=t.child;_!==null;)u=gt(u,gt(_.lanes,_.childLanes)),l|=_.subtreeFlags,l|=_.flags,_.return=t,_=_.sibling;t.subtreeFlags|=l}return t.childLanes=u,r}function OO(t,r,u){if(g6()&&(r.mode&Ke)!==$e&&(r.flags&lt)===nt)return sS(r),mf(),r.flags|=En|la|Jn,!1;var l=rv(r);if(u!==null&&u.dehydrated!==null)if(t===null){if(!l)throw new Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(h6(r),Lr(r),(r.mode&ct)!==$e){var p=u!==null;if(p){var v=r.child;v!==null&&(r.treeBaseDuration-=v.treeBaseDuration)}}return!1}else{if(mf(),(r.flags&lt)===nt&&(r.memoizedState=null),r.flags|=vt,Lr(r),(r.mode&ct)!==$e){var w=u!==null;if(w){var _=r.child;_!==null&&(r.treeBaseDuration-=_.treeBaseDuration)}}return!1}else return lS(),!0}function O2(t,r,u){var l=r.pendingProps;switch(xE(r),r.tag){case C:case we:case te:case E:case W:case L:case B:case J:case H:case X:return Lr(r),null;case b:{var p=r.type;return Lo(p)&&Kg(r),Lr(r),null}case S:{var v=r.stateNode;if(Ef(r),vE(r),GE(),v.pendingContext&&(v.context=v.pendingContext,v.pendingContext=null),t===null||t.child===null){var w=rv(r);if(w)_f(r);else if(t!==null){var _=t.memoizedState;(!_.isDehydrated||(r.flags&En)!==nt)&&(r.flags|=ka,lS())}}return $b(t,r),Lr(r),null}case k:{YE(r);var A=SS(),O=r.type;if(t!==null&&r.stateNode!=null)N2(t,r,O,l,A),t.ref!==r.ref&&A2(r);else{if(!l){if(r.stateNode===null)throw new Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return Lr(r),null}var M=VE(),G=rv(r);if(G)f6(r,A,M)&&_f(r);else{var q=JN(O,l,A,M,r);R2(q,r,!1,!1),r.stateNode=q,eD(q,O,l,A)&&_f(r)}r.ref!==null&&A2(r)}return Lr(r),null}case D:{var ue=l;if(t&&r.stateNode!=null){var le=t.memoizedProps;D2(t,r,le,ue)}else{if(typeof ue!="string"&&r.stateNode===null)throw new Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");var fe=SS(),Pe=VE(),rt=rv(r);rt?p6(r)&&_f(r):r.stateNode=nD(ue,fe,Pe,r)}return Lr(r),null}case Z:{xf(r);var Je=r.memoizedState;if(t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){var Ot=OO(t,r,Je);if(!Ot)return r.flags&Jn?r:null}if((r.flags&lt)!==nt)return r.lanes=u,(r.mode&ct)!==$e&&Eb(r),r;var kt=Je!==null,ne=t!==null&&t.memoizedState!==null;if(kt!==ne&&kt){var pe=r.child;if(pe.flags|=xo,(r.mode&Ke)!==$e){var re=t===null&&(r.memoizedProps.unstable_avoidThisFallback!==!0||!et);re||WE(Zi.current,kS)?LL():px()}}var Se=r.updateQueue;if(Se!==null&&(r.flags|=vt),Lr(r),(r.mode&ct)!==$e&&kt){var He=r.child;He!==null&&(r.treeBaseDuration-=He.treeBaseDuration)}return null}case R:return Ef(r),$b(t,r),t===null&&$D(r.stateNode.containerInfo),Lr(r),null;case $:var Fe=r.type._context;return ME(Fe,r),Lr(r),null;case Me:{var st=r.type;return Lo(st)&&Kg(r),Lr(r),null}case Ee:{xf(r);var ht=r.memoizedState;if(ht===null)return Lr(r),null;var Qt=(r.flags&lt)!==nt,Pt=ht.rendering;if(Pt===null)if(Qt)am(ht,!1);else{var Yn=ML()&&(t===null||(t.flags&lt)===nt);if(!Yn)for(var Ft=r.child;Ft!==null;){var Pn=Ev(Ft);if(Pn!==null){Qt=!0,r.flags|=lt,am(ht,!1);var ta=Pn.updateQueue;return ta!==null&&(r.updateQueue=ta,r.flags|=vt),r.subtreeFlags=nt,T6(r,u),Bs(r,qE(Zi.current,Wh)),r.child}Ft=Ft.sibling}ht.tail!==null&&dn()>Z2()&&(r.flags|=lt,Qt=!0,am(ht,!1),r.lanes=ng)}else{if(!Qt){var Ur=Ev(Pt);if(Ur!==null){r.flags|=lt,Qt=!0;var ai=Ur.updateQueue;if(ai!==null&&(r.updateQueue=ai,r.flags|=vt),am(ht,!0),ht.tail===null&&ht.tailMode==="hidden"&&!Pt.alternate&&!Dr())return Lr(r),null}else dn()*2-ht.renderingStartTime>Z2()&&u!==wr&&(r.flags|=lt,Qt=!0,am(ht,!1),r.lanes=ng)}if(ht.isBackwards)Pt.sibling=r.child,r.child=Pt;else{var ya=ht.last;ya!==null?ya.sibling=Pt:r.child=Pt,ht.last=Pt}}if(ht.tail!==null){var Ea=ht.tail;ht.rendering=Ea,ht.tail=Ea.sibling,ht.renderingStartTime=dn(),Ea.sibling=null;var na=Zi.current;return Qt?na=qE(na,Wh):na=bf(na),Bs(r,na),Ea}return Lr(r),null}case ge:break;case Re:case Oe:{fx(r);var Lu=r.memoizedState,If=Lu!==null;if(t!==null){var bm=t.memoizedState,zo=bm!==null;zo!==If&&!F&&(r.flags|=xo)}return!If||(r.mode&Ke)===$e?Lr(r):Xr(Ho,wr)&&(Lr(r),r.subtreeFlags&(Zt|vt)&&(r.flags|=xo)),null}case qe:return null;case je:return null}throw new Error("Unknown unit of work tag ("+r.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function LO(t,r,u){switch(xE(r),r.tag){case b:{var l=r.type;Lo(l)&&Kg(r);var p=r.flags;return p&Jn?(r.flags=p&~Jn|lt,(r.mode&ct)!==$e&&Eb(r),r):null}case S:{r.stateNode,Ef(r),vE(r),GE();var v=r.flags;return(v&Jn)!==nt&&(v&lt)===nt?(r.flags=v&~Jn|lt,r):null}case k:return YE(r),null;case Z:{xf(r);var w=r.memoizedState;if(w!==null&&w.dehydrated!==null){if(r.alternate===null)throw new Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");mf()}var _=r.flags;return _&Jn?(r.flags=_&~Jn|lt,(r.mode&ct)!==$e&&Eb(r),r):null}case Ee:return xf(r),null;case R:return Ef(r),null;case $:var A=r.type._context;return ME(A,r),null;case Re:case Oe:return fx(r),null;case qe:return null;default:return null}}function L2(t,r,u){switch(xE(r),r.tag){case b:{var l=r.type.childContextTypes;l!=null&&Kg(r);break}case S:{r.stateNode,Ef(r),vE(r),GE();break}case k:{YE(r);break}case R:Ef(r);break;case Z:xf(r);break;case Ee:xf(r);break;case $:var p=r.type._context;ME(p,r);break;case Re:case Oe:fx(r);break}}var I2=null;I2=new Set;var Vv=!1,Ir=!1,IO=typeof WeakSet=="function"?WeakSet:Set,We=null,kf=null,Af=null;function MO(t){au(null,function(){throw t}),zp()}var PO=function(t,r){if(r.props=t.memoizedProps,r.state=t.memoizedState,t.mode&ct)try{Uo(),r.componentWillUnmount()}finally{Fo(t)}else r.componentWillUnmount()};function M2(t,r){try{js(cr,t)}catch(u){nn(t,r,u)}}function Xb(t,r,u){try{PO(t,u)}catch(l){nn(t,r,l)}}function FO(t,r,u){try{u.componentDidMount()}catch(l){nn(t,r,l)}}function P2(t,r){try{U2(t)}catch(u){nn(t,r,u)}}function Rf(t,r){var u=t.ref;if(u!==null)if(typeof u=="function"){var l;try{if(Nt&&ar&&t.mode&ct)try{Uo(),l=u(null)}finally{Fo(t)}else l=u(null)}catch(p){nn(t,r,p)}typeof l=="function"&&d("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",mt(t))}else u.current=null}function Yv(t,r,u){try{u()}catch(l){nn(t,r,l)}}var F2=!1;function UO(t,r){XN(t.containerInfo),We=r,BO();var u=F2;return F2=!1,u}function BO(){for(;We!==null;){var t=We,r=t.child;(t.subtreeFlags&ts)!==nt&&r!==null?(r.return=t,We=r):HO()}}function HO(){for(;We!==null;){var t=We;Wt(t);try{zO(t)}catch(u){nn(t,t.return,u)}Un();var r=t.sibling;if(r!==null){r.return=t.return,We=r;return}We=t.return}}function zO(t){var r=t.alternate,u=t.flags;if((u&ka)!==nt){switch(Wt(t),t.tag){case E:case W:case te:break;case b:{if(r!==null){var l=r.memoizedProps,p=r.memoizedState,v=t.stateNode;t.type===t.elementType&&!Ec&&(v.props!==t.memoizedProps&&d("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",mt(t)||"instance"),v.state!==t.memoizedState&&d("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",mt(t)||"instance"));var w=v.getSnapshotBeforeUpdate(t.elementType===t.type?l:to(t.type,l),p);{var _=I2;w===void 0&&!_.has(t.type)&&(_.add(t.type),d("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",mt(t)))}v.__reactInternalSnapshotBeforeUpdate=w}break}case S:{{var A=t.stateNode;xD(A.containerInfo)}break}case k:case D:case R:case Me:break;default:throw new Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}Un()}}function ro(t,r,u){var l=r.updateQueue,p=l!==null?l.lastEffect:null;if(p!==null){var v=p.next,w=v;do{if((w.tag&t)===t){var _=w.destroy;w.destroy=void 0,_!==void 0&&((t&Or)!==za?Z0(r):(t&cr)!==za&&ti(r),(t&Io)!==za&&vm(!0),Yv(r,u,_),(t&Io)!==za&&vm(!1),(t&Or)!==za?hd():(t&cr)!==za&&is())}w=w.next}while(w!==v)}}function js(t,r){var u=r.updateQueue,l=u!==null?u.lastEffect:null;if(l!==null){var p=l.next,v=p;do{if((v.tag&t)===t){(t&Or)!==za?So(r):(t&cr)!==za&&eg(r);var w=v.create;(t&Io)!==za&&vm(!0),v.destroy=w(),(t&Io)!==za&&vm(!1),(t&Or)!==za?pd():(t&cr)!==za&&Bl();{var _=v.destroy;if(_!==void 0&&typeof _!="function"){var A=void 0;(v.tag&cr)!==nt?A="useLayoutEffect":(v.tag&Io)!==nt?A="useInsertionEffect":A="useEffect";var O=void 0;_===null?O=" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof _.then=="function"?O=`
160
-
161
- It looks like you wrote `+A+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
162
-
163
- `+A+`(() => {
164
- async function fetchData() {
165
- // You can await here
166
- const response = await MyAPI.getData(someId);
167
- // ...
168
- }
169
- fetchData();
170
- }, [someId]); // Or [] if effect doesn't need props or state
171
-
172
- Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-fetching`:O=" You returned: "+_,d("%s must not return anything besides a function, which is used for clean-up.%s",A,O)}}}v=v.next}while(v!==p)}}function jO(t,r){if((r.flags&vt)!==nt)switch(r.tag){case J:{var u=r.stateNode.passiveEffectDuration,l=r.memoizedProps,p=l.id,v=l.onPostCommit,w=ZS(),_=r.alternate===null?"mount":"update";JS()&&(_="nested-update"),typeof v=="function"&&v(p,_,u,w);var A=r.return;e:for(;A!==null;){switch(A.tag){case S:var O=A.stateNode;O.passiveEffectDuration+=u;break e;case J:var M=A.stateNode;M.passiveEffectDuration+=u;break e}A=A.return}break}}}function VO(t,r,u,l){if((u.flags&br)!==nt)switch(u.tag){case E:case W:case te:{if(!Ir)if(u.mode&ct)try{Uo(),js(cr|lr,u)}finally{Fo(u)}else js(cr|lr,u);break}case b:{var p=u.stateNode;if(u.flags&vt&&!Ir)if(r===null)if(u.type===u.elementType&&!Ec&&(p.props!==u.memoizedProps&&d("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",mt(u)||"instance"),p.state!==u.memoizedState&&d("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",mt(u)||"instance")),u.mode&ct)try{Uo(),p.componentDidMount()}finally{Fo(u)}else p.componentDidMount();else{var v=u.elementType===u.type?r.memoizedProps:to(u.type,r.memoizedProps),w=r.memoizedState;if(u.type===u.elementType&&!Ec&&(p.props!==u.memoizedProps&&d("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",mt(u)||"instance"),p.state!==u.memoizedState&&d("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",mt(u)||"instance")),u.mode&ct)try{Uo(),p.componentDidUpdate(v,w,p.__reactInternalSnapshotBeforeUpdate)}finally{Fo(u)}else p.componentDidUpdate(v,w,p.__reactInternalSnapshotBeforeUpdate)}var _=u.updateQueue;_!==null&&(u.type===u.elementType&&!Ec&&(p.props!==u.memoizedProps&&d("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",mt(u)||"instance"),p.state!==u.memoizedState&&d("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",mt(u)||"instance")),TS(u,_,p));break}case S:{var A=u.updateQueue;if(A!==null){var O=null;if(u.child!==null)switch(u.child.tag){case k:O=u.child.stateNode;break;case b:O=u.child.stateNode;break}TS(u,A,O)}break}case k:{var M=u.stateNode;if(r===null&&u.flags&vt){var G=u.type,q=u.memoizedProps;uD(M,G,q)}break}case D:break;case R:break;case J:{{var ue=u.memoizedProps,le=ue.onCommit,fe=ue.onRender,Pe=u.stateNode.effectDuration,rt=ZS(),Je=r===null?"mount":"update";JS()&&(Je="nested-update"),typeof fe=="function"&&fe(u.memoizedProps.id,Je,u.actualDuration,u.treeBaseDuration,u.actualStartTime,rt);{typeof le=="function"&&le(u.memoizedProps.id,Je,Pe,rt),HL(u);var Ot=u.return;e:for(;Ot!==null;){switch(Ot.tag){case S:var kt=Ot.stateNode;kt.effectDuration+=Pe;break e;case J:var ne=Ot.stateNode;ne.effectDuration+=Pe;break e}Ot=Ot.return}}}break}case Z:{KO(t,u);break}case Ee:case Me:case ge:case Re:case Oe:case je:break;default:throw new Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}Ir||u.flags&jr&&U2(u)}function YO(t){switch(t.tag){case E:case W:case te:{if(t.mode&ct)try{Uo(),M2(t,t.return)}finally{Fo(t)}else M2(t,t.return);break}case b:{var r=t.stateNode;typeof r.componentDidMount=="function"&&FO(t,t.return,r),P2(t,t.return);break}case k:{P2(t,t.return);break}}}function WO(t,r){for(var u=null,l=t;;){if(l.tag===k){if(u===null){u=l;try{var p=l.stateNode;r?vD(p):ED(l.stateNode,l.memoizedProps)}catch(w){nn(t,t.return,w)}}}else if(l.tag===D){if(u===null)try{var v=l.stateNode;r?yD(v):bD(v,l.memoizedProps)}catch(w){nn(t,t.return,w)}}else if(!((l.tag===Re||l.tag===Oe)&&l.memoizedState!==null&&l!==t)){if(l.child!==null){l.child.return=l,l=l.child;continue}}if(l===t)return;for(;l.sibling===null;){if(l.return===null||l.return===t)return;u===l&&(u=null),l=l.return}u===l&&(u=null),l.sibling.return=l.return,l=l.sibling}}function U2(t){var r=t.ref;if(r!==null){var u=t.stateNode,l;switch(t.tag){case k:l=u;break;default:l=u}if(typeof r=="function"){var p;if(t.mode&ct)try{Uo(),p=r(l)}finally{Fo(t)}else p=r(l);typeof p=="function"&&d("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",mt(t))}else r.hasOwnProperty("current")||d("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",mt(t)),r.current=l}}function qO(t){var r=t.alternate;r!==null&&(r.return=null),t.return=null}function B2(t){var r=t.alternate;r!==null&&(t.alternate=null,B2(r));{if(t.child=null,t.deletions=null,t.sibling=null,t.tag===k){var u=t.stateNode;u!==null&&JD(u)}t.stateNode=null,t._debugOwner=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}}function QO(t){for(var r=t.return;r!==null;){if(H2(r))return r;r=r.return}throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.")}function H2(t){return t.tag===k||t.tag===S||t.tag===R}function z2(t){var r=t;e:for(;;){for(;r.sibling===null;){if(r.return===null||H2(r.return))return null;r=r.return}for(r.sibling.return=r.return,r=r.sibling;r.tag!==k&&r.tag!==D&&r.tag!==K;){if(r.flags&Zt||r.child===null||r.tag===R)continue e;r.child.return=r,r=r.child}if(!(r.flags&Zt))return r.stateNode}}function GO(t){var r=QO(t);switch(r.tag){case k:{var u=r.stateNode;r.flags&zt&&(VT(u),r.flags&=~zt);var l=z2(t);Jb(t,l,u);break}case S:case R:{var p=r.stateNode.containerInfo,v=z2(t);Kb(t,v,p);break}default:throw new Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function Kb(t,r,u){var l=t.tag,p=l===k||l===D;if(p){var v=t.stateNode;r?pD(u,v,r):dD(u,v)}else if(l!==R){var w=t.child;if(w!==null){Kb(w,r,u);for(var _=w.sibling;_!==null;)Kb(_,r,u),_=_.sibling}}}function Jb(t,r,u){var l=t.tag,p=l===k||l===D;if(p){var v=t.stateNode;r?fD(u,v,r):cD(u,v)}else if(l!==R){var w=t.child;if(w!==null){Jb(w,r,u);for(var _=w.sibling;_!==null;)Jb(_,r,u),_=_.sibling}}}var Mr=null,ao=!1;function $O(t,r,u){{var l=r;e:for(;l!==null;){switch(l.tag){case k:{Mr=l.stateNode,ao=!1;break e}case S:{Mr=l.stateNode.containerInfo,ao=!0;break e}case R:{Mr=l.stateNode.containerInfo,ao=!0;break e}}l=l.return}if(Mr===null)throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");j2(t,r,u),Mr=null,ao=!1}qO(u)}function Vs(t,r,u){for(var l=u.child;l!==null;)j2(t,r,l),l=l.sibling}function j2(t,r,u){switch(uu(u),u.tag){case k:Ir||Rf(u,r);case D:{{var l=Mr,p=ao;Mr=null,Vs(t,r,u),Mr=l,ao=p,Mr!==null&&(ao?mD(Mr,u.stateNode):hD(Mr,u.stateNode))}return}case K:{Mr!==null&&(ao?gD(Mr,u.stateNode):lE(Mr,u.stateNode));return}case R:{{var v=Mr,w=ao;Mr=u.stateNode.containerInfo,ao=!0,Vs(t,r,u),Mr=v,ao=w}return}case E:case W:case X:case te:{if(!Ir){var _=u.updateQueue;if(_!==null){var A=_.lastEffect;if(A!==null){var O=A.next,M=O;do{var G=M,q=G.destroy,ue=G.tag;q!==void 0&&((ue&Io)!==za?Yv(u,r,q):(ue&cr)!==za&&(ti(u),u.mode&ct?(Uo(),Yv(u,r,q),Fo(u)):Yv(u,r,q),is())),M=M.next}while(M!==O)}}}Vs(t,r,u);return}case b:{if(!Ir){Rf(u,r);var le=u.stateNode;typeof le.componentWillUnmount=="function"&&Xb(u,r,le)}Vs(t,r,u);return}case ge:{Vs(t,r,u);return}case Re:{if(u.mode&Ke){var fe=Ir;Ir=fe||u.memoizedState!==null,Vs(t,r,u),Ir=fe}else Vs(t,r,u);break}default:{Vs(t,r,u);return}}}function XO(t){t.memoizedState}function KO(t,r){var u=r.memoizedState;if(u===null){var l=r.alternate;if(l!==null){var p=l.memoizedState;if(p!==null){var v=p.dehydrated;v!==null&&MD(v)}}}}function V2(t){var r=t.updateQueue;if(r!==null){t.updateQueue=null;var u=t.stateNode;u===null&&(u=t.stateNode=new IO),r.forEach(function(l){var p=QL.bind(null,t,l);if(!u.has(l)){if(u.add(l),fa)if(kf!==null&&Af!==null)gm(Af,kf);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");l.then(p,p)}})}}function JO(t,r,u){kf=u,Af=t,Wt(r),Y2(r,t),Wt(r),kf=null,Af=null}function io(t,r,u){var l=r.deletions;if(l!==null)for(var p=0;p<l.length;p++){var v=l[p];try{$O(t,r,v)}catch(A){nn(v,r,A)}}var w=cy();if(r.subtreeFlags&Wr)for(var _=r.child;_!==null;)Wt(_),Y2(_,t),_=_.sibling;Wt(w)}function Y2(t,r,u){var l=t.alternate,p=t.flags;switch(t.tag){case E:case W:case X:case te:{if(io(r,t),Bo(t),p&vt){try{ro(Io|lr,t,t.return),js(Io|lr,t)}catch(st){nn(t,t.return,st)}if(t.mode&ct){try{Uo(),ro(cr|lr,t,t.return)}catch(st){nn(t,t.return,st)}Fo(t)}else try{ro(cr|lr,t,t.return)}catch(st){nn(t,t.return,st)}}return}case b:{io(r,t),Bo(t),p&jr&&l!==null&&Rf(l,l.return);return}case k:{io(r,t),Bo(t),p&jr&&l!==null&&Rf(l,l.return);{if(t.flags&zt){var v=t.stateNode;try{VT(v)}catch(st){nn(t,t.return,st)}}if(p&vt){var w=t.stateNode;if(w!=null){var _=t.memoizedProps,A=l!==null?l.memoizedProps:_,O=t.type,M=t.updateQueue;if(t.updateQueue=null,M!==null)try{sD(w,M,O,A,_,t)}catch(st){nn(t,t.return,st)}}}}return}case D:{if(io(r,t),Bo(t),p&vt){if(t.stateNode===null)throw new Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");var G=t.stateNode,q=t.memoizedProps,ue=l!==null?l.memoizedProps:q;try{lD(G,ue,q)}catch(st){nn(t,t.return,st)}}return}case S:{if(io(r,t),Bo(t),p&vt&&l!==null){var le=l.memoizedState;if(le.isDehydrated)try{ID(r.containerInfo)}catch(st){nn(t,t.return,st)}}return}case R:{io(r,t),Bo(t);return}case Z:{io(r,t),Bo(t);var fe=t.child;if(fe.flags&xo){var Pe=fe.stateNode,rt=fe.memoizedState,Je=rt!==null;if(Pe.isHidden=Je,Je){var Ot=fe.alternate!==null&&fe.alternate.memoizedState!==null;Ot||OL()}}if(p&vt){try{XO(t)}catch(st){nn(t,t.return,st)}V2(t)}return}case Re:{var kt=l!==null&&l.memoizedState!==null;if(t.mode&Ke){var ne=Ir;Ir=ne||kt,io(r,t),Ir=ne}else io(r,t);if(Bo(t),p&xo){var pe=t.stateNode,re=t.memoizedState,Se=re!==null,He=t;if(pe.isHidden=Se,Se&&!kt&&(He.mode&Ke)!==$e){We=He;for(var Fe=He.child;Fe!==null;)We=Fe,eL(Fe),Fe=Fe.sibling}WO(He,Se)}return}case Ee:{io(r,t),Bo(t),p&vt&&V2(t);return}case ge:return;default:{io(r,t),Bo(t);return}}}function Bo(t){var r=t.flags;if(r&Zt){try{GO(t)}catch(u){nn(t,t.return,u)}t.flags&=~Zt}r&Aa&&(t.flags&=~Aa)}function ZO(t,r,u){kf=u,Af=r,We=t,W2(t,r,u),kf=null,Af=null}function W2(t,r,u){for(var l=(t.mode&Ke)!==$e;We!==null;){var p=We,v=p.child;if(p.tag===Re&&l){var w=p.memoizedState!==null,_=w||Vv;if(_){Zb(t,r,u);continue}else{var A=p.alternate,O=A!==null&&A.memoizedState!==null,M=O||Ir,G=Vv,q=Ir;Vv=_,Ir=M,Ir&&!q&&(We=p,tL(p));for(var ue=v;ue!==null;)We=ue,W2(ue,r,u),ue=ue.sibling;We=p,Vv=G,Ir=q,Zb(t,r,u);continue}}(p.subtreeFlags&br)!==nt&&v!==null?(v.return=p,We=v):Zb(t,r,u)}}function Zb(t,r,u){for(;We!==null;){var l=We;if((l.flags&br)!==nt){var p=l.alternate;Wt(l);try{VO(r,p,l,u)}catch(w){nn(l,l.return,w)}Un()}if(l===t){We=null;return}var v=l.sibling;if(v!==null){v.return=l.return,We=v;return}We=l.return}}function eL(t){for(;We!==null;){var r=We,u=r.child;switch(r.tag){case E:case W:case X:case te:{if(r.mode&ct)try{Uo(),ro(cr,r,r.return)}finally{Fo(r)}else ro(cr,r,r.return);break}case b:{Rf(r,r.return);var l=r.stateNode;typeof l.componentWillUnmount=="function"&&Xb(r,r.return,l);break}case k:{Rf(r,r.return);break}case Re:{var p=r.memoizedState!==null;if(p){q2(t);continue}break}}u!==null?(u.return=r,We=u):q2(t)}}function q2(t){for(;We!==null;){var r=We;if(r===t){We=null;return}var u=r.sibling;if(u!==null){u.return=r.return,We=u;return}We=r.return}}function tL(t){for(;We!==null;){var r=We,u=r.child;if(r.tag===Re){var l=r.memoizedState!==null;if(l){Q2(t);continue}}u!==null?(u.return=r,We=u):Q2(t)}}function Q2(t){for(;We!==null;){var r=We;Wt(r);try{YO(r)}catch(l){nn(r,r.return,l)}if(Un(),r===t){We=null;return}var u=r.sibling;if(u!==null){u.return=r.return,We=u;return}We=r.return}}function nL(t,r,u,l){We=r,rL(r,t,u,l)}function rL(t,r,u,l){for(;We!==null;){var p=We,v=p.child;(p.subtreeFlags&Ra)!==nt&&v!==null?(v.return=p,We=v):aL(t,r,u,l)}}function aL(t,r,u,l){for(;We!==null;){var p=We;if((p.flags&on)!==nt){Wt(p);try{iL(r,p,u,l)}catch(w){nn(p,p.return,w)}Un()}if(p===t){We=null;return}var v=p.sibling;if(v!==null){v.return=p.return,We=v;return}We=p.return}}function iL(t,r,u,l){switch(r.tag){case E:case W:case te:{if(r.mode&ct){yb();try{js(Or|lr,r)}finally{vb(r)}}else js(Or|lr,r);break}}}function oL(t){We=t,uL()}function uL(){for(;We!==null;){var t=We,r=t.child;if((We.flags&Bt)!==nt){var u=t.deletions;if(u!==null){for(var l=0;l<u.length;l++){var p=u[l];We=p,cL(p,t)}{var v=t.alternate;if(v!==null){var w=v.child;if(w!==null){v.child=null;do{var _=w.sibling;w.sibling=null,w=_}while(w!==null)}}}We=t}}(t.subtreeFlags&Ra)!==nt&&r!==null?(r.return=t,We=r):sL()}}function sL(){for(;We!==null;){var t=We;(t.flags&on)!==nt&&(Wt(t),lL(t),Un());var r=t.sibling;if(r!==null){r.return=t.return,We=r;return}We=t.return}}function lL(t){switch(t.tag){case E:case W:case te:{t.mode&ct?(yb(),ro(Or|lr,t,t.return),vb(t)):ro(Or|lr,t,t.return);break}}}function cL(t,r){for(;We!==null;){var u=We;Wt(u),fL(u,r),Un();var l=u.child;l!==null?(l.return=u,We=l):dL(t)}}function dL(t){for(;We!==null;){var r=We,u=r.sibling,l=r.return;if(B2(r),r===t){We=null;return}if(u!==null){u.return=l,We=u;return}We=l}}function fL(t,r){switch(t.tag){case E:case W:case te:{t.mode&ct?(yb(),ro(Or,t,r),vb(t)):ro(Or,t,r);break}}}function pL(t){switch(t.tag){case E:case W:case te:{try{js(cr|lr,t)}catch(u){nn(t,t.return,u)}break}case b:{var r=t.stateNode;try{r.componentDidMount()}catch(u){nn(t,t.return,u)}break}}}function hL(t){switch(t.tag){case E:case W:case te:{try{js(Or|lr,t)}catch(r){nn(t,t.return,r)}break}}}function mL(t){switch(t.tag){case E:case W:case te:{try{ro(cr|lr,t,t.return)}catch(u){nn(t,t.return,u)}break}case b:{var r=t.stateNode;typeof r.componentWillUnmount=="function"&&Xb(t,t.return,r);break}}}function gL(t){switch(t.tag){case E:case W:case te:try{ro(Or|lr,t,t.return)}catch(r){nn(t,t.return,r)}}}if(typeof Symbol=="function"&&Symbol.for){var im=Symbol.for;im("selector.component"),im("selector.has_pseudo_class"),im("selector.role"),im("selector.test_id"),im("selector.text")}var vL=[];function yL(){vL.forEach(function(t){return t()})}var EL=a.ReactCurrentActQueue;function bL(t){{var r=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0,u=typeof jest<"u";return u&&r!==!1}}function G2(){{var t=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return!t&&EL.current!==null&&d("The current testing environment is not configured to support act(...)"),t}}var xL=Math.ceil,ex=a.ReactCurrentDispatcher,tx=a.ReactCurrentOwner,Pr=a.ReactCurrentBatchConfig,oo=a.ReactCurrentActQueue,pr=0,$2=1,Fr=2,_i=4,Ru=0,om=1,bc=2,Wv=3,um=4,X2=5,nx=6,Dt=pr,ga=null,An=null,hr=ve,Ho=ve,rx=Ls(ve),mr=Ru,sm=null,qv=ve,lm=ve,Qv=ve,cm=null,ja=null,ax=0,K2=500,J2=1/0,wL=500,Nu=null;function dm(){J2=dn()+wL}function Z2(){return J2}var Gv=!1,ix=null,Nf=null,xc=!1,Ys=null,fm=ve,ox=[],ux=null,TL=50,pm=0,sx=null,lx=!1,$v=!1,SL=50,Df=0,Xv=null,hm=Jt,Kv=ve,eC=!1;function Jv(){return ga}function va(){return(Dt&(Fr|_i))!==pr?dn():(hm!==Jt||(hm=dn()),hm)}function Ws(t){var r=t.mode;if((r&Ke)===$e)return Ze;if((Dt&Fr)!==pr&&hr!==ve)return hs(hr);var u=E6()!==y6;if(u){if(Pr.transition!==null){var l=Pr.transition;l._updatedFibers||(l._updatedFibers=new Set),l._updatedFibers.add(t)}return Kv===Mn&&(Kv=cg()),Kv}var p=Ia();if(p!==Mn)return p;var v=rD();return v}function CL(t){var r=t.mode;return(r&Ke)===$e?Ze:$r()}function gr(t,r,u,l){$L(),eC&&d("useInsertionEffect must not schedule updates."),lx&&($v=!0),mu(t,u,l),(Dt&Fr)!==ve&&t===ga?JL(r):(fa&&Fd(t,r,u),ZL(r),t===ga&&((Dt&Fr)===pr&&(lm=gt(lm,u)),mr===um&&qs(t,hr)),Va(t,l),u===Ze&&Dt===pr&&(r.mode&Ke)===$e&&!oo.isBatchingLegacy&&(dm(),eS()))}function _L(t,r,u){var l=t.current;l.lanes=r,mu(t,r,u),Va(t,u)}function kL(t){return(Dt&Fr)!==pr}function Va(t,r){var u=t.callbackNode;ig(t,r);var l=pu(t,t===ga?hr:ve);if(l===ve){u!==null&&gC(u),t.callbackNode=null,t.callbackPriority=Mn;return}var p=Cn(l),v=t.callbackPriority;if(v===p&&!(oo.current!==null&&u!==gx)){u==null&&v!==Ze&&d("Expected scheduled callback to exist. This error is likely caused by a bug in React. Please file an issue.");return}u!=null&&gC(u);var w;if(p===Ze)t.tag===Is?(oo.isBatchingLegacy!==null&&(oo.didScheduleLegacyUpdate=!0),t6(rC.bind(null,t))):ZT(rC.bind(null,t)),oo.current!==null?oo.current.push(Ms):iD(function(){(Dt&(Fr|_i))===pr&&Ms()}),w=null;else{var _;switch(sr(l)){case _n:_=cd;break;case qi:_=ou;break;case vi:_=gi;break;case ms:_=dd;break;default:_=gi;break}w=vx(_,tC.bind(null,t))}t.callbackPriority=p,t.callbackNode=w}function tC(t,r){if(W6(),hm=Jt,Kv=ve,(Dt&(Fr|_i))!==pr)throw new Error("Should not already be working.");var u=t.callbackNode,l=Ou();if(l&&t.callbackNode!==u)return null;var p=pu(t,t===ga?hr:ve);if(p===ve)return null;var v=!Ql(t,p)&&!lg(t,p)&&!r,w=v?FL(t,p):e1(t,p);if(w!==Ru){if(w===bc){var _=_o(t);_!==ve&&(p=_,w=cx(t,_))}if(w===om){var A=sm;throw wc(t,ve),qs(t,p),Va(t,dn()),A}if(w===nx)qs(t,p);else{var O=!Ql(t,p),M=t.current.alternate;if(O&&!RL(M)){if(w=e1(t,p),w===bc){var G=_o(t);G!==ve&&(p=G,w=cx(t,G))}if(w===om){var q=sm;throw wc(t,ve),qs(t,p),Va(t,dn()),q}}t.finishedWork=M,t.finishedLanes=p,AL(t,w,p)}}return Va(t,dn()),t.callbackNode===u?tC.bind(null,t):null}function cx(t,r){var u=cm;if(Ud(t)){var l=wc(t,r);l.flags|=En,GD(t.containerInfo)}var p=e1(t,r);if(p!==bc){var v=ja;ja=u,v!==null&&nC(v)}return p}function nC(t){ja===null?ja=t:ja.push.apply(ja,t)}function AL(t,r,u){switch(r){case Ru:case om:throw new Error("Root did not complete. This is a bug in React.");case bc:{Tc(t,ja,Nu);break}case Wv:{if(qs(t,u),og(u)&&!vC()){var l=ax+K2-dn();if(l>10){var p=pu(t,ve);if(p!==ve)break;var v=t.suspendedLanes;if(!hu(v,u)){va(),Md(t,v);break}t.timeoutHandle=uE(Tc.bind(null,t,ja,Nu),l);break}}Tc(t,ja,Nu);break}case um:{if(qs(t,u),sg(u))break;if(!vC()){var w=rg(t,u),_=w,A=dn()-_,O=GL(A)-A;if(O>10){t.timeoutHandle=uE(Tc.bind(null,t,ja,Nu),O);break}}Tc(t,ja,Nu);break}case X2:{Tc(t,ja,Nu);break}default:throw new Error("Unknown root exit status.")}}function RL(t){for(var r=t;;){if(r.flags&Fl){var u=r.updateQueue;if(u!==null){var l=u.stores;if(l!==null)for(var p=0;p<l.length;p++){var v=l[p],w=v.getSnapshot,_=v.value;try{if(!Ye(w(),_))return!1}catch{return!1}}}}var A=r.child;if(r.subtreeFlags&Fl&&A!==null){A.return=r,r=A;continue}if(r===t)return!0;for(;r.sibling===null;){if(r.return===null||r.return===t)return!0;r=r.return}r.sibling.return=r.return,r=r.sibling}return!0}function qs(t,r){r=Gl(r,Qv),r=Gl(r,lm),fg(t,r)}function rC(t){if(q6(),(Dt&(Fr|_i))!==pr)throw new Error("Should not already be working.");Ou();var r=pu(t,ve);if(!Xr(r,Ze))return Va(t,dn()),null;var u=e1(t,r);if(t.tag!==Is&&u===bc){var l=_o(t);l!==ve&&(r=l,u=cx(t,l))}if(u===om){var p=sm;throw wc(t,ve),qs(t,r),Va(t,dn()),p}if(u===nx)throw new Error("Root did not complete. This is a bug in React.");var v=t.current.alternate;return t.finishedWork=v,t.finishedLanes=r,Tc(t,ja,Nu),Va(t,dn()),null}function NL(t,r){r!==ve&&(ah(t,gt(r,Ze)),Va(t,dn()),(Dt&(Fr|_i))===pr&&(dm(),Ms()))}function dx(t,r){var u=Dt;Dt|=$2;try{return t(r)}finally{Dt=u,Dt===pr&&!oo.isBatchingLegacy&&(dm(),eS())}}function DL(t,r,u,l,p){var v=Ia(),w=Pr.transition;try{return Pr.transition=null,bn(_n),t(r,u,l,p)}finally{bn(v),Pr.transition=w,Dt===pr&&dm()}}function Du(t){Ys!==null&&Ys.tag===Is&&(Dt&(Fr|_i))===pr&&Ou();var r=Dt;Dt|=$2;var u=Pr.transition,l=Ia();try{return Pr.transition=null,bn(_n),t?t():void 0}finally{bn(l),Pr.transition=u,Dt=r,(Dt&(Fr|_i))===pr&&Ms()}}function aC(){return(Dt&(Fr|_i))!==pr}function Zv(t,r){Zr(rx,Ho,t),Ho=gt(Ho,r)}function fx(t){Ho=rx.current,Jr(rx,t)}function wc(t,r){t.finishedWork=null,t.finishedLanes=ve;var u=t.timeoutHandle;if(u!==sE&&(t.timeoutHandle=sE,aD(u)),An!==null)for(var l=An.return;l!==null;){var p=l.alternate;L2(p,l),l=l.return}ga=t;var v=Sc(t.current,null);return An=v,hr=Ho=r,mr=Ru,sm=null,qv=ve,lm=ve,Qv=ve,cm=null,ja=null,_6(),Ji.discardPendingWarnings(),v}function iC(t,r){do{var u=An;try{if(lv(),RS(),Un(),tx.current=null,u===null||u.return===null){mr=om,sm=r,An=null;return}if(Nt&&u.mode&ct&&Uv(u,!0),Gn)if(Qr(),r!==null&&typeof r=="object"&&typeof r.then=="function"){var l=r;su(u,l,hr)}else Hl(u,r,hr);tO(t,u.return,u,r,hr),lC(u)}catch(p){r=p,An===u&&u!==null?(u=u.return,An=u):u=An;continue}return}while(!0)}function oC(){var t=ex.current;return ex.current=Lv,t===null?Lv:t}function uC(t){ex.current=t}function OL(){ax=dn()}function mm(t){qv=gt(t,qv)}function LL(){mr===Ru&&(mr=Wv)}function px(){(mr===Ru||mr===Wv||mr===bc)&&(mr=um),ga!==null&&(ql(qv)||ql(lm))&&qs(ga,hr)}function IL(t){mr!==um&&(mr=bc),cm===null?cm=[t]:cm.push(t)}function ML(){return mr===Ru}function e1(t,r){var u=Dt;Dt|=Fr;var l=oC();if(ga!==t||hr!==r){if(fa){var p=t.memoizedUpdaters;p.size>0&&(gm(t,hr),p.clear()),ih(t,r)}Nu=Xl(),wc(t,r)}un(r);do try{PL();break}catch(v){iC(t,v)}while(!0);if(lv(),Dt=u,uC(l),An!==null)throw new Error("Cannot commit an incomplete root. This error is likely caused by a bug in React. Please file an issue.");return gd(),ga=null,hr=ve,mr}function PL(){for(;An!==null;)sC(An)}function FL(t,r){var u=Dt;Dt|=Fr;var l=oC();if(ga!==t||hr!==r){if(fa){var p=t.memoizedUpdaters;p.size>0&&(gm(t,hr),p.clear()),ih(t,r)}Nu=Xl(),dm(),wc(t,r)}un(r);do try{UL();break}catch(v){iC(t,v)}while(!0);return lv(),uC(l),Dt=u,An!==null?(md(),Ru):(gd(),ga=null,hr=ve,mr)}function UL(){for(;An!==null&&!ld();)sC(An)}function sC(t){var r=t.alternate;Wt(t);var u;(t.mode&ct)!==$e?(gb(t),u=hx(r,t,Ho),Uv(t,!0)):u=hx(r,t,Ho),Un(),t.memoizedProps=t.pendingProps,u===null?lC(t):An=u,tx.current=null}function lC(t){var r=t;do{var u=r.alternate,l=r.return;if((r.flags&la)===nt){Wt(r);var p=void 0;if((r.mode&ct)===$e?p=O2(u,r,Ho):(gb(r),p=O2(u,r,Ho),Uv(r,!1)),Un(),p!==null){An=p;return}}else{var v=LO(u,r);if(v!==null){v.flags&=q0,An=v;return}if((r.mode&ct)!==$e){Uv(r,!1);for(var w=r.actualDuration,_=r.child;_!==null;)w+=_.actualDuration,_=_.sibling;r.actualDuration=w}if(l!==null)l.flags|=la,l.subtreeFlags=nt,l.deletions=null;else{mr=nx,An=null;return}}var A=r.sibling;if(A!==null){An=A;return}r=l,An=r}while(r!==null);mr===Ru&&(mr=X2)}function Tc(t,r,u){var l=Ia(),p=Pr.transition;try{Pr.transition=null,bn(_n),BL(t,r,u,l)}finally{Pr.transition=p,bn(l)}return null}function BL(t,r,u,l){do Ou();while(Ys!==null);if(XL(),(Dt&(Fr|_i))!==pr)throw new Error("Should not already be working.");var p=t.finishedWork,v=t.finishedLanes;if(To(v),p===null)return fd(),null;if(v===ve&&d("root.finishedLanes should not be empty during a commit. This is a bug in React."),t.finishedWork=null,t.finishedLanes=ve,p===t.current)throw new Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");t.callbackNode=null,t.callbackPriority=Mn;var w=gt(p.lanes,p.childLanes);Pd(t,w),t===ga&&(ga=null,An=null,hr=ve),((p.subtreeFlags&Ra)!==nt||(p.flags&Ra)!==nt)&&(xc||(xc=!0,ux=u,vx(gi,function(){return Ou(),null})));var _=(p.subtreeFlags&(ts|Wr|br|Ra))!==nt,A=(p.flags&(ts|Wr|br|Ra))!==nt;if(_||A){var O=Pr.transition;Pr.transition=null;var M=Ia();bn(_n);var G=Dt;Dt|=_i,tx.current=null,UO(t,p),e2(),JO(t,p,v),KN(t.containerInfo),t.current=p,Xp(v),ZO(p,t,v),os(),$0(),Dt=G,bn(M),Pr.transition=O}else t.current=p,e2();var q=xc;if(xc?(xc=!1,Ys=t,fm=v):(Df=0,Xv=null),w=t.pendingLanes,w===ve&&(Nf=null),q||pC(t.current,!1),rs(p.stateNode,l),fa&&t.memoizedUpdaters.clear(),yL(),Va(t,dn()),r!==null)for(var ue=t.onRecoverableError,le=0;le<r.length;le++){var fe=r[le],Pe=fe.stack,rt=fe.digest;ue(fe.value,{componentStack:Pe,digest:rt})}if(Gv){Gv=!1;var Je=ix;throw ix=null,Je}return Xr(fm,Ze)&&t.tag!==Is&&Ou(),w=t.pendingLanes,Xr(w,Ze)?(Y6(),t===sx?pm++:(pm=0,sx=t)):pm=0,Ms(),fd(),null}function Ou(){if(Ys!==null){var t=sr(fm),r=Oy(vi,t),u=Pr.transition,l=Ia();try{return Pr.transition=null,bn(r),zL()}finally{bn(l),Pr.transition=u}}return!1}function HL(t){ox.push(t),xc||(xc=!0,vx(gi,function(){return Ou(),null}))}function zL(){if(Ys===null)return!1;var t=ux;ux=null;var r=Ys,u=fm;if(Ys=null,fm=ve,(Dt&(Fr|_i))!==pr)throw new Error("Cannot flush passive effects while already rendering.");lx=!0,$v=!1,tg(u);var l=Dt;Dt|=_i,oL(r.current),nL(r,r.current,u,t);{var p=ox;ox=[];for(var v=0;v<p.length;v++){var w=p[v];jO(r,w)}}Kp(),pC(r.current,!0),Dt=l,Ms(),$v?r===Xv?Df++:(Df=0,Xv=r):Df=0,lx=!1,$v=!1,Oa(r);{var _=r.current.stateNode;_.effectDuration=0,_.passiveEffectDuration=0}return!0}function cC(t){return Nf!==null&&Nf.has(t)}function jL(t){Nf===null?Nf=new Set([t]):Nf.add(t)}function VL(t){Gv||(Gv=!0,ix=t)}var YL=VL;function dC(t,r,u){var l=yc(u,r),p=s2(t,l,Ze),v=Fs(t,p,Ze),w=va();v!==null&&(mu(v,Ze,w),Va(v,w))}function nn(t,r,u){if(MO(u),vm(!1),t.tag===S){dC(t,t,u);return}var l=null;for(l=r;l!==null;){if(l.tag===S){dC(l,t,u);return}else if(l.tag===b){var p=l.type,v=l.stateNode;if(typeof p.getDerivedStateFromError=="function"||typeof v.componentDidCatch=="function"&&!cC(v)){var w=yc(u,t),_=Ib(l,w,Ze),A=Fs(l,_,Ze),O=va();A!==null&&(mu(A,Ze,O),Va(A,O));return}}l=l.return}d(`Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Likely causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.
173
-
174
- Error message:
175
-
176
- %s`,u)}function WL(t,r,u){var l=t.pingCache;l!==null&&l.delete(r);var p=va();Md(t,u),e4(t),ga===t&&hu(hr,u)&&(mr===um||mr===Wv&&og(hr)&&dn()-ax<K2?wc(t,ve):Qv=gt(Qv,u)),Va(t,p)}function fC(t,r){r===Mn&&(r=CL(t));var u=va(),l=Ha(t,r);l!==null&&(mu(l,r,u),Va(l,u))}function qL(t){var r=t.memoizedState,u=Mn;r!==null&&(u=r.retryLane),fC(t,u)}function QL(t,r){var u=Mn,l;switch(t.tag){case Z:l=t.stateNode;var p=t.memoizedState;p!==null&&(u=p.retryLane);break;case Ee:l=t.stateNode;break;default:throw new Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}l!==null&&l.delete(r),fC(t,u)}function GL(t){return t<120?120:t<480?480:t<1080?1080:t<1920?1920:t<3e3?3e3:t<4320?4320:xL(t/1960)*1960}function $L(){if(pm>TL)throw pm=0,sx=null,new Error("Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.");Df>SL&&(Df=0,Xv=null,d("Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render."))}function XL(){Ji.flushLegacyContextWarning(),Ji.flushPendingUnsafeLifecycleWarnings()}function pC(t,r){Wt(t),t1(t,Yr,mL),r&&t1(t,iu,gL),t1(t,Yr,pL),r&&t1(t,iu,hL),Un()}function t1(t,r,u){for(var l=t,p=null;l!==null;){var v=l.subtreeFlags&r;l!==p&&l.child!==null&&v!==nt?l=l.child:((l.flags&r)!==nt&&u(l),l.sibling!==null?l=l.sibling:l=p=l.return)}}var n1=null;function hC(t){{if((Dt&Fr)!==pr||!(t.mode&Ke))return;var r=t.tag;if(r!==C&&r!==S&&r!==b&&r!==E&&r!==W&&r!==X&&r!==te)return;var u=mt(t)||"ReactComponent";if(n1!==null){if(n1.has(u))return;n1.add(u)}else n1=new Set([u]);var l=On;try{Wt(t),d("Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously later calls tries to update the component. Move this work to useEffect instead.")}finally{l?Wt(t):Un()}}}var hx;{var KL=null;hx=function(t,r,u){var l=wC(KL,r);try{return k2(t,r,u)}catch(v){if(l6()||v!==null&&typeof v=="object"&&typeof v.then=="function")throw v;if(lv(),RS(),L2(t,r),wC(r,l),r.mode&ct&&gb(r),au(null,k2,null,t,r,u),ky()){var p=zp();typeof p=="object"&&p!==null&&p._suppressLogging&&typeof v=="object"&&v!==null&&!v._suppressLogging&&(v._suppressLogging=!0)}throw v}}}var mC=!1,mx;mx=new Set;function JL(t){if(Ta&&!z6())switch(t.tag){case E:case W:case te:{var r=An&&mt(An)||"Unknown",u=r;if(!mx.has(u)){mx.add(u);var l=mt(t)||"Unknown";d("Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://reactjs.org/link/setstate-in-render",l,r,r)}break}case b:{mC||(d("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),mC=!0);break}}}function gm(t,r){if(fa){var u=t.memoizedUpdaters;u.forEach(function(l){Fd(t,l,r)})}}var gx={};function vx(t,r){{var u=oo.current;return u!==null?(u.push(r),gx):sd(t,r)}}function gC(t){if(t!==gx)return G0(t)}function vC(){return oo.current!==null}function ZL(t){{if(t.mode&Ke){if(!G2())return}else if(!bL()||Dt!==pr||t.tag!==E&&t.tag!==W&&t.tag!==te)return;if(oo.current===null){var r=On;try{Wt(t),d(`An update to %s inside a test was not wrapped in act(...).
177
-
178
- When testing, code that causes React state updates should be wrapped into act(...):
179
-
180
- act(() => {
181
- /* fire events that update state */
182
- });
183
- /* assert on the output */
184
-
185
- This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act`,mt(t))}finally{r?Wt(t):Un()}}}}function e4(t){t.tag!==Is&&G2()&&oo.current===null&&d(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
186
-
187
- When testing, code that resolves suspended data should be wrapped into act(...):
188
-
189
- act(() => {
190
- /* finish loading suspended data */
191
- });
192
- /* assert on the output */
193
-
194
- This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act`)}function vm(t){eC=t}var ki=null,Of=null,t4=function(t){ki=t};function Lf(t){{if(ki===null)return t;var r=ki(t);return r===void 0?t:r.current}}function yx(t){return Lf(t)}function Ex(t){{if(ki===null)return t;var r=ki(t);if(r===void 0){if(t!=null&&typeof t.render=="function"){var u=Lf(t.render);if(t.render!==u){var l={$$typeof:zu,render:u};return t.displayName!==void 0&&(l.displayName=t.displayName),l}}return t}return r.current}}function yC(t,r){{if(ki===null)return!1;var u=t.elementType,l=r.type,p=!1,v=typeof l=="object"&&l!==null?l.$$typeof:null;switch(t.tag){case b:{typeof l=="function"&&(p=!0);break}case E:{(typeof l=="function"||v===Ar)&&(p=!0);break}case W:{(v===zu||v===Ar)&&(p=!0);break}case X:case te:{(v===ju||v===Ar)&&(p=!0);break}default:return!1}if(p){var w=ki(u);if(w!==void 0&&w===ki(l))return!0}return!1}}function EC(t){{if(ki===null||typeof WeakSet!="function")return;Of===null&&(Of=new WeakSet),Of.add(t)}}var n4=function(t,r){{if(ki===null)return;var u=r.staleFamilies,l=r.updatedFamilies;Ou(),Du(function(){bx(t.current,l,u)})}},r4=function(t,r){{if(t.context!==ni)return;Ou(),Du(function(){ym(r,t,null,null)})}};function bx(t,r,u){{var l=t.alternate,p=t.child,v=t.sibling,w=t.tag,_=t.type,A=null;switch(w){case E:case te:case b:A=_;break;case W:A=_.render;break}if(ki===null)throw new Error("Expected resolveFamily to be set during hot reload.");var O=!1,M=!1;if(A!==null){var G=ki(A);G!==void 0&&(u.has(G)?M=!0:r.has(G)&&(w===b?M=!0:O=!0))}if(Of!==null&&(Of.has(t)||l!==null&&Of.has(l))&&(M=!0),M&&(t._debugNeedsRemount=!0),M||O){var q=Ha(t,Ze);q!==null&&gr(q,t,Ze,Jt)}p!==null&&!M&&bx(p,r,u),v!==null&&bx(v,r,u)}}var a4=function(t,r){{var u=new Set,l=new Set(r.map(function(p){return p.current}));return xx(t.current,l,u),u}};function xx(t,r,u){{var l=t.child,p=t.sibling,v=t.tag,w=t.type,_=null;switch(v){case E:case te:case b:_=w;break;case W:_=w.render;break}var A=!1;_!==null&&r.has(_)&&(A=!0),A?i4(t,u):l!==null&&xx(l,r,u),p!==null&&xx(p,r,u)}}function i4(t,r){{var u=o4(t,r);if(u)return;for(var l=t;;){switch(l.tag){case k:r.add(l.stateNode);return;case R:r.add(l.stateNode.containerInfo);return;case S:r.add(l.stateNode.containerInfo);return}if(l.return===null)throw new Error("Expected to reach root first.");l=l.return}}}function o4(t,r){for(var u=t,l=!1;;){if(u.tag===k)l=!0,r.add(u.stateNode);else if(u.child!==null){u.child.return=u,u=u.child;continue}if(u===t)return l;for(;u.sibling===null;){if(u.return===null||u.return===t)return l;u=u.return}u.sibling.return=u.return,u=u.sibling}return!1}var wx;{wx=!1;try{var bC=Object.preventExtensions({})}catch{wx=!0}}function u4(t,r,u,l){this.tag=t,this.key=u,this.elementType=null,this.type=null,this.stateNode=null,this.return=null,this.child=null,this.sibling=null,this.index=0,this.ref=null,this.pendingProps=r,this.memoizedProps=null,this.updateQueue=null,this.memoizedState=null,this.dependencies=null,this.mode=l,this.flags=nt,this.subtreeFlags=nt,this.deletions=null,this.lanes=ve,this.childLanes=ve,this.alternate=null,this.actualDuration=Number.NaN,this.actualStartTime=Number.NaN,this.selfBaseDuration=Number.NaN,this.treeBaseDuration=Number.NaN,this.actualDuration=0,this.actualStartTime=-1,this.selfBaseDuration=0,this.treeBaseDuration=0,this._debugSource=null,this._debugOwner=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,!wx&&typeof Object.preventExtensions=="function"&&Object.preventExtensions(this)}var ri=function(t,r,u,l){return new u4(t,r,u,l)};function Tx(t){var r=t.prototype;return!!(r&&r.isReactComponent)}function s4(t){return typeof t=="function"&&!Tx(t)&&t.defaultProps===void 0}function l4(t){if(typeof t=="function")return Tx(t)?b:E;if(t!=null){var r=t.$$typeof;if(r===zu)return W;if(r===ju)return X}return C}function Sc(t,r){var u=t.alternate;u===null?(u=ri(t.tag,r,t.key,t.mode),u.elementType=t.elementType,u.type=t.type,u.stateNode=t.stateNode,u._debugSource=t._debugSource,u._debugOwner=t._debugOwner,u._debugHookTypes=t._debugHookTypes,u.alternate=t,t.alternate=u):(u.pendingProps=r,u.type=t.type,u.flags=nt,u.subtreeFlags=nt,u.deletions=null,u.actualDuration=0,u.actualStartTime=-1),u.flags=t.flags&or,u.childLanes=t.childLanes,u.lanes=t.lanes,u.child=t.child,u.memoizedProps=t.memoizedProps,u.memoizedState=t.memoizedState,u.updateQueue=t.updateQueue;var l=t.dependencies;switch(u.dependencies=l===null?null:{lanes:l.lanes,firstContext:l.firstContext},u.sibling=t.sibling,u.index=t.index,u.ref=t.ref,u.selfBaseDuration=t.selfBaseDuration,u.treeBaseDuration=t.treeBaseDuration,u._debugNeedsRemount=t._debugNeedsRemount,u.tag){case C:case E:case te:u.type=Lf(t.type);break;case b:u.type=yx(t.type);break;case W:u.type=Ex(t.type);break}return u}function c4(t,r){t.flags&=or|Zt;var u=t.alternate;if(u===null)t.childLanes=ve,t.lanes=r,t.child=null,t.subtreeFlags=nt,t.memoizedProps=null,t.memoizedState=null,t.updateQueue=null,t.dependencies=null,t.stateNode=null,t.selfBaseDuration=0,t.treeBaseDuration=0;else{t.childLanes=u.childLanes,t.lanes=u.lanes,t.child=u.child,t.subtreeFlags=nt,t.deletions=null,t.memoizedProps=u.memoizedProps,t.memoizedState=u.memoizedState,t.updateQueue=u.updateQueue,t.type=u.type;var l=u.dependencies;t.dependencies=l===null?null:{lanes:l.lanes,firstContext:l.firstContext},t.selfBaseDuration=u.selfBaseDuration,t.treeBaseDuration=u.treeBaseDuration}return t}function d4(t,r,u){var l;return t===Zg?(l=Ke,r===!0&&(l|=xt,l|=pa)):l=$e,fa&&(l|=ct),ri(S,null,null,l)}function Sx(t,r,u,l,p,v){var w=C,_=t;if(typeof t=="function")Tx(t)?(w=b,_=yx(_)):_=Lf(_);else if(typeof t=="string")w=k;else e:switch(t){case Li:return Qs(u.children,p,v,r);case Hu:w=B,p|=xt,(p&Ke)!==$e&&(p|=pa);break;case pl:return f4(u,p,v,r);case pi:return p4(u,p,v,r);case hl:return h4(u,p,v,r);case lp:return xC(u,p,v,r);case r0:case t0:case iy:case oy:case n0:default:{if(typeof t=="object"&&t!==null)switch(t.$$typeof){case up:w=$;break e;case sp:w=H;break e;case zu:w=W,_=Ex(_);break e;case ju:w=X;break e;case Ar:w=we,_=null;break e}var A="";{(t===void 0||typeof t=="object"&&t!==null&&Object.keys(t).length===0)&&(A+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var O=l?mt(l):null;O&&(A+=`
195
-
196
- Check the render method of \``+O+"`.")}throw new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) "+("but got: "+(t==null?t:typeof t)+"."+A))}}var M=ri(w,u,r,p);return M.elementType=t,M.type=_,M.lanes=v,M._debugOwner=l,M}function Cx(t,r,u){var l=null;l=t._owner;var p=t.type,v=t.key,w=t.props,_=Sx(p,v,w,l,r,u);return _._debugSource=t._source,_._debugOwner=t._owner,_}function Qs(t,r,u,l){var p=ri(L,t,l,r);return p.lanes=u,p}function f4(t,r,u,l){typeof t.id!="string"&&d('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof t.id);var p=ri(J,t,l,r|ct);return p.elementType=pl,p.lanes=u,p.stateNode={effectDuration:0,passiveEffectDuration:0},p}function p4(t,r,u,l){var p=ri(Z,t,l,r);return p.elementType=pi,p.lanes=u,p}function h4(t,r,u,l){var p=ri(Ee,t,l,r);return p.elementType=hl,p.lanes=u,p}function xC(t,r,u,l){var p=ri(Re,t,l,r);p.elementType=lp,p.lanes=u;var v={isHidden:!1};return p.stateNode=v,p}function _x(t,r,u){var l=ri(D,t,null,r);return l.lanes=u,l}function m4(){var t=ri(k,null,null,$e);return t.elementType="DELETED",t}function g4(t){var r=ri(K,null,null,$e);return r.stateNode=t,r}function kx(t,r,u){var l=t.children!==null?t.children:[],p=ri(R,l,t.key,r);return p.lanes=u,p.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},p}function wC(t,r){return t===null&&(t=ri(C,null,null,$e)),t.tag=r.tag,t.key=r.key,t.elementType=r.elementType,t.type=r.type,t.stateNode=r.stateNode,t.return=r.return,t.child=r.child,t.sibling=r.sibling,t.index=r.index,t.ref=r.ref,t.pendingProps=r.pendingProps,t.memoizedProps=r.memoizedProps,t.updateQueue=r.updateQueue,t.memoizedState=r.memoizedState,t.dependencies=r.dependencies,t.mode=r.mode,t.flags=r.flags,t.subtreeFlags=r.subtreeFlags,t.deletions=r.deletions,t.lanes=r.lanes,t.childLanes=r.childLanes,t.alternate=r.alternate,t.actualDuration=r.actualDuration,t.actualStartTime=r.actualStartTime,t.selfBaseDuration=r.selfBaseDuration,t.treeBaseDuration=r.treeBaseDuration,t._debugSource=r._debugSource,t._debugOwner=r._debugOwner,t._debugNeedsRemount=r._debugNeedsRemount,t._debugHookTypes=r._debugHookTypes,t}function v4(t,r,u,l,p){this.tag=r,this.containerInfo=t,this.pendingChildren=null,this.current=null,this.pingCache=null,this.finishedWork=null,this.timeoutHandle=sE,this.context=null,this.pendingContext=null,this.callbackNode=null,this.callbackPriority=Mn,this.eventTimes=$l(ve),this.expirationTimes=$l(Jt),this.pendingLanes=ve,this.suspendedLanes=ve,this.pingedLanes=ve,this.expiredLanes=ve,this.mutableReadLanes=ve,this.finishedLanes=ve,this.entangledLanes=ve,this.entanglements=$l(ve),this.identifierPrefix=l,this.onRecoverableError=p,this.mutableSourceEagerHydrationData=null,this.effectDuration=0,this.passiveEffectDuration=0;{this.memoizedUpdaters=new Set;for(var v=this.pendingUpdatersLaneMap=[],w=0;w<Vl;w++)v.push(new Set)}switch(r){case Zg:this._debugRootType=u?"hydrateRoot()":"createRoot()";break;case Is:this._debugRootType=u?"hydrate()":"render()";break}}function TC(t,r,u,l,p,v,w,_,A,O){var M=new v4(t,r,u,_,A),G=d4(r,v);M.current=G,G.stateNode=M;{var q={element:l,isDehydrated:u,cache:null,transitions:null,pendingSuspenseBoundaries:null};G.memoizedState=q}return HE(G),M}var Ax="18.3.1";function y4(t,r,u){var l=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;return Hr(l),{$$typeof:Ga,key:l==null?null:""+l,children:t,containerInfo:r,implementation:u}}var Rx,Nx;Rx=!1,Nx={};function SC(t){if(!t)return ni;var r=_a(t),u=e6(r);if(r.tag===b){var l=r.type;if(Lo(l))return KT(r,l,u)}return u}function E4(t,r){{var u=_a(t);if(u===void 0){if(typeof t.render=="function")throw new Error("Unable to find node on an unmounted component.");var l=Object.keys(t).join(",");throw new Error("Argument appears to not be a ReactComponent. Keys: "+l)}var p=Na(u);if(p===null)return null;if(p.mode&xt){var v=mt(u)||"Component";if(!Nx[v]){Nx[v]=!0;var w=On;try{Wt(p),u.mode&xt?d("%s is deprecated in StrictMode. %s was passed an instance of %s which is inside StrictMode. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node",r,r,v):d("%s is deprecated in StrictMode. %s was passed an instance of %s which renders StrictMode children. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node",r,r,v)}finally{w?Wt(w):Un()}}}return p.stateNode}}function CC(t,r,u,l,p,v,w,_){var A=!1,O=null;return TC(t,r,A,O,u,l,p,v,w)}function _C(t,r,u,l,p,v,w,_,A,O){var M=!0,G=TC(u,l,M,t,p,v,w,_,A);G.context=SC(null);var q=G.current,ue=va(),le=Ws(q),fe=ku(ue,le);return fe.callback=r??null,Fs(q,fe,le),_L(G,le,ue),G}function ym(t,r,u,l){$p(r,t);var p=r.current,v=va(),w=Ws(p);Jp(w);var _=SC(u);r.context===null?r.context=_:r.pendingContext=_,Ta&&On!==null&&!Rx&&(Rx=!0,d(`Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.
197
-
198
- Check the render method of %s.`,mt(On)||"Unknown"));var A=ku(v,w);A.payload={element:t},l=l===void 0?null:l,l!==null&&(typeof l!="function"&&d("render(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",l),A.callback=l);var O=Fs(p,A,w);return O!==null&&(gr(O,p,w,v),hv(O,p,w)),w}function r1(t){var r=t.current;if(!r.child)return null;switch(r.child.tag){case k:return r.child.stateNode;default:return r.child.stateNode}}function b4(t){switch(t.tag){case S:{var r=t.stateNode;if(Ud(r)){var u=th(r);NL(r,u)}break}case Z:{Du(function(){var p=Ha(t,Ze);if(p!==null){var v=va();gr(p,t,Ze,v)}});var l=Ze;Dx(t,l);break}}}function kC(t,r){var u=t.memoizedState;u!==null&&u.dehydrated!==null&&(u.retryLane=dg(u.retryLane,r))}function Dx(t,r){kC(t,r);var u=t.alternate;u&&kC(u,r)}function x4(t){if(t.tag===Z){var r=Wl,u=Ha(t,r);if(u!==null){var l=va();gr(u,t,r,l)}Dx(t,r)}}function w4(t){if(t.tag===Z){var r=Ws(t),u=Ha(t,r);if(u!==null){var l=va();gr(u,t,r,l)}Dx(t,r)}}function AC(t){var r=Q0(t);return r===null?null:r.stateNode}var RC=function(t){return null};function T4(t){return RC(t)}var NC=function(t){return!1};function S4(t){return NC(t)}var DC=null,OC=null,LC=null,IC=null,MC=null,PC=null,FC=null,UC=null,BC=null;{var HC=function(t,r,u){var l=r[u],p=Xn(t)?t.slice():Ct({},t);return u+1===r.length?(Xn(p)?p.splice(l,1):delete p[l],p):(p[l]=HC(t[l],r,u+1),p)},zC=function(t,r){return HC(t,r,0)},jC=function(t,r,u,l){var p=r[l],v=Xn(t)?t.slice():Ct({},t);if(l+1===r.length){var w=u[l];v[w]=v[p],Xn(v)?v.splice(p,1):delete v[p]}else v[p]=jC(t[p],r,u,l+1);return v},VC=function(t,r,u){if(r.length!==u.length){h("copyWithRename() expects paths of the same length");return}else for(var l=0;l<u.length-1;l++)if(r[l]!==u[l]){h("copyWithRename() expects paths to be the same except for the deepest key");return}return jC(t,r,u,0)},YC=function(t,r,u,l){if(u>=r.length)return l;var p=r[u],v=Xn(t)?t.slice():Ct({},t);return v[p]=YC(t[p],r,u+1,l),v},WC=function(t,r,u){return YC(t,r,0,u)},Ox=function(t,r){for(var u=t.memoizedState;u!==null&&r>0;)u=u.next,r--;return u};DC=function(t,r,u,l){var p=Ox(t,r);if(p!==null){var v=WC(p.memoizedState,u,l);p.memoizedState=v,p.baseState=v,t.memoizedProps=Ct({},t.memoizedProps);var w=Ha(t,Ze);w!==null&&gr(w,t,Ze,Jt)}},OC=function(t,r,u){var l=Ox(t,r);if(l!==null){var p=zC(l.memoizedState,u);l.memoizedState=p,l.baseState=p,t.memoizedProps=Ct({},t.memoizedProps);var v=Ha(t,Ze);v!==null&&gr(v,t,Ze,Jt)}},LC=function(t,r,u,l){var p=Ox(t,r);if(p!==null){var v=VC(p.memoizedState,u,l);p.memoizedState=v,p.baseState=v,t.memoizedProps=Ct({},t.memoizedProps);var w=Ha(t,Ze);w!==null&&gr(w,t,Ze,Jt)}},IC=function(t,r,u){t.pendingProps=WC(t.memoizedProps,r,u),t.alternate&&(t.alternate.pendingProps=t.pendingProps);var l=Ha(t,Ze);l!==null&&gr(l,t,Ze,Jt)},MC=function(t,r){t.pendingProps=zC(t.memoizedProps,r),t.alternate&&(t.alternate.pendingProps=t.pendingProps);var u=Ha(t,Ze);u!==null&&gr(u,t,Ze,Jt)},PC=function(t,r,u){t.pendingProps=VC(t.memoizedProps,r,u),t.alternate&&(t.alternate.pendingProps=t.pendingProps);var l=Ha(t,Ze);l!==null&&gr(l,t,Ze,Jt)},FC=function(t){var r=Ha(t,Ze);r!==null&&gr(r,t,Ze,Jt)},UC=function(t){RC=t},BC=function(t){NC=t}}function C4(t){var r=Na(t);return r===null?null:r.stateNode}function _4(t){return null}function k4(){return On}function A4(t){var r=t.findFiberByHostInstance,u=a.ReactCurrentDispatcher;return Gp({bundleType:t.bundleType,version:t.version,rendererPackageName:t.rendererPackageName,rendererConfig:t.rendererConfig,overrideHookState:DC,overrideHookStateDeletePath:OC,overrideHookStateRenamePath:LC,overrideProps:IC,overridePropsDeletePath:MC,overridePropsRenamePath:PC,setErrorHandler:UC,setSuspenseHandler:BC,scheduleUpdate:FC,currentDispatcherRef:u,findHostInstanceByFiber:C4,findFiberByHostInstance:r||_4,findHostInstancesForRefresh:a4,scheduleRefresh:n4,scheduleRoot:r4,setRefreshHandler:t4,getCurrentFiber:k4,reconcilerVersion:Ax})}var qC=typeof reportError=="function"?reportError:function(t){console.error(t)};function Lx(t){this._internalRoot=t}a1.prototype.render=Lx.prototype.render=function(t){var r=this._internalRoot;if(r===null)throw new Error("Cannot update an unmounted root.");{typeof arguments[1]=="function"?d("render(...): does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):i1(arguments[1])?d("You passed a container to the second argument of root.render(...). You don't need to pass it again since you already passed it to create the root."):typeof arguments[1]<"u"&&d("You passed a second argument to root.render(...) but it only accepts one argument.");var u=r.containerInfo;if(u.nodeType!==Ln){var l=AC(r.current);l&&l.parentNode!==u&&d("render(...): It looks like the React-rendered content of the root container was removed without using React. This is not supported and will cause errors. Instead, call root.unmount() to empty a root's container.")}}ym(t,r,null,null)},a1.prototype.unmount=Lx.prototype.unmount=function(){typeof arguments[0]=="function"&&d("unmount(...): does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect().");var t=this._internalRoot;if(t!==null){this._internalRoot=null;var r=t.containerInfo;aC()&&d("Attempted to synchronously unmount a root while React was already rendering. React cannot finish unmounting the root until the current render has completed, which may lead to a race condition."),Du(function(){ym(null,t,null,null)}),qT(r)}};function R4(t,r){if(!i1(t))throw new Error("createRoot(...): Target container is not a DOM element.");QC(t);var u=!1,l=!1,p="",v=qC;r!=null&&(r.hydrate?h("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof r=="object"&&r!==null&&r.$$typeof===Bu&&d(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
199
-
200
- let root = createRoot(domContainer);
201
- root.render(<App />);`),r.unstable_strictMode===!0&&(u=!0),r.identifierPrefix!==void 0&&(p=r.identifierPrefix),r.onRecoverableError!==void 0&&(v=r.onRecoverableError),r.transitionCallbacks!==void 0&&r.transitionCallbacks);var w=CC(t,Zg,null,u,l,p,v);qg(w.current,t);var _=t.nodeType===Ln?t.parentNode:t;return Sh(_),new Lx(w)}function a1(t){this._internalRoot=t}function N4(t){t&&My(t)}a1.prototype.unstable_scheduleHydration=N4;function D4(t,r,u){if(!i1(t))throw new Error("hydrateRoot(...): Target container is not a DOM element.");QC(t),r===void 0&&d("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var l=u??null,p=u!=null&&u.hydratedSources||null,v=!1,w=!1,_="",A=qC;u!=null&&(u.unstable_strictMode===!0&&(v=!0),u.identifierPrefix!==void 0&&(_=u.identifierPrefix),u.onRecoverableError!==void 0&&(A=u.onRecoverableError));var O=_C(r,null,t,Zg,l,v,w,_,A);if(qg(O.current,t),Sh(t),p)for(var M=0;M<p.length;M++){var G=p[M];M6(O,G)}return new a1(O)}function i1(t){return!!(t&&(t.nodeType===zr||t.nodeType===Ja||t.nodeType===Jo||!Et))}function Em(t){return!!(t&&(t.nodeType===zr||t.nodeType===Ja||t.nodeType===Jo||t.nodeType===Ln&&t.nodeValue===" react-mount-point-unstable "))}function QC(t){t.nodeType===zr&&t.tagName&&t.tagName.toUpperCase()==="BODY"&&d("createRoot(): Creating roots directly with document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try using a container element created for your app."),Mh(t)&&(t._reactRootContainer?d("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):d("You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it."))}var O4=a.ReactCurrentOwner,GC;GC=function(t){if(t._reactRootContainer&&t.nodeType!==Ln){var r=AC(t._reactRootContainer.current);r&&r.parentNode!==t&&d("render(...): It looks like the React-rendered content of this container was removed without using React. This is not supported and will cause errors. Instead, call ReactDOM.unmountComponentAtNode to empty a container.")}var u=!!t._reactRootContainer,l=Ix(t),p=!!(l&&Os(l));p&&!u&&d("render(...): Replacing React-rendered children with a new root component. If you intended to update the children of this node, you should instead have the existing children update their state and render the new components instead of calling ReactDOM.render."),t.nodeType===zr&&t.tagName&&t.tagName.toUpperCase()==="BODY"&&d("render(): Rendering components directly into document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try rendering into a container element created for your app.")};function Ix(t){return t?t.nodeType===Ja?t.documentElement:t.firstChild:null}function $C(){}function L4(t,r,u,l,p){if(p){if(typeof l=="function"){var v=l;l=function(){var q=r1(w);v.call(q)}}var w=_C(r,l,t,Is,null,!1,!1,"",$C);t._reactRootContainer=w,qg(w.current,t);var _=t.nodeType===Ln?t.parentNode:t;return Sh(_),Du(),w}else{for(var A;A=t.lastChild;)t.removeChild(A);if(typeof l=="function"){var O=l;l=function(){var q=r1(M);O.call(q)}}var M=CC(t,Is,null,!1,!1,"",$C);t._reactRootContainer=M,qg(M.current,t);var G=t.nodeType===Ln?t.parentNode:t;return Sh(G),Du(function(){ym(r,M,u,l)}),M}}function I4(t,r){t!==null&&typeof t!="function"&&d("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",r,t)}function o1(t,r,u,l,p){GC(u),I4(p===void 0?null:p,"render");var v=u._reactRootContainer,w;if(!v)w=L4(u,r,t,p,l);else{if(w=v,typeof p=="function"){var _=p;p=function(){var A=r1(w);_.call(A)}}ym(r,w,t,p)}return r1(w)}var XC=!1;function M4(t){{XC||(XC=!0,d("findDOMNode is deprecated and will be removed in the next major release. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node"));var r=O4.current;if(r!==null&&r.stateNode!==null){var u=r.stateNode._warnedAboutRefsInRender;u||d("%s is accessing findDOMNode inside its render(). render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",Yt(r.type)||"A component"),r.stateNode._warnedAboutRefsInRender=!0}}return t==null?null:t.nodeType===zr?t:E4(t,"findDOMNode")}function P4(t,r,u){if(d("ReactDOM.hydrate is no longer supported in React 18. Use hydrateRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!Em(r))throw new Error("Target container is not a DOM element.");{var l=Mh(r)&&r._reactRootContainer===void 0;l&&d("You are calling ReactDOM.hydrate() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call hydrateRoot(container, element)?")}return o1(null,t,r,!0,u)}function F4(t,r,u){if(d("ReactDOM.render is no longer supported in React 18. Use createRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!Em(r))throw new Error("Target container is not a DOM element.");{var l=Mh(r)&&r._reactRootContainer===void 0;l&&d("You are calling ReactDOM.render() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call root.render(element)?")}return o1(null,t,r,!1,u)}function U4(t,r,u,l){if(d("ReactDOM.unstable_renderSubtreeIntoContainer() is no longer supported in React 18. Consider using a portal instead. Until you switch to the createRoot API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!Em(u))throw new Error("Target container is not a DOM element.");if(t==null||!Pl(t))throw new Error("parentComponent must be a valid React Component");return o1(t,r,u,!1,l)}var KC=!1;function B4(t){if(KC||(KC=!0,d("unmountComponentAtNode is deprecated and will be removed in the next major release. Switch to the createRoot API. Learn more: https://reactjs.org/link/switch-to-createroot")),!Em(t))throw new Error("unmountComponentAtNode(...): Target container is not a DOM element.");{var r=Mh(t)&&t._reactRootContainer===void 0;r&&d("You are calling ReactDOM.unmountComponentAtNode() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call root.unmount()?")}if(t._reactRootContainer){{var u=Ix(t),l=u&&!Os(u);l&&d("unmountComponentAtNode(): The node you're attempting to unmount was rendered by another copy of React.")}return Du(function(){o1(null,null,t,!1,function(){t._reactRootContainer=null,qT(t)})}),!0}else{{var p=Ix(t),v=!!(p&&Os(p)),w=t.nodeType===zr&&Em(t.parentNode)&&!!t.parentNode._reactRootContainer;v&&d("unmountComponentAtNode(): The node you're attempting to unmount was rendered by React and is not a top-level container. %s",w?"You may have accidentally passed in a React root node instead of its container.":"Instead, have the parent component update its state and rerender in order to remove this component.")}return!1}}ys(b4),Ly(x4),Hd(w4),hg(Ia),mg(Tr),(typeof Map!="function"||Map.prototype==null||typeof Map.prototype.forEach!="function"||typeof Set!="function"||Set.prototype==null||typeof Set.prototype.clear!="function"||typeof Set.prototype.forEach!="function")&&d("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),Y0(zN),rd(dx,DL,Du);function H4(t,r){var u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!i1(r))throw new Error("Target container is not a DOM element.");return y4(t,r,null,u)}function z4(t,r,u,l){return U4(t,r,u,l)}var Mx={usingClientEntryPoint:!1,Events:[Os,cf,Qg,nd,Ll,dx]};function j4(t,r){return Mx.usingClientEntryPoint||d('You are importing createRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),R4(t,r)}function V4(t,r,u){return Mx.usingClientEntryPoint||d('You are importing hydrateRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),D4(t,r,u)}function Y4(t){return aC()&&d("flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task."),Du(t)}var W4=A4({findFiberByHostInstance:lc,bundleType:1,version:Ax,rendererPackageName:"react-dom"});if(!W4&&an&&window.top===window.self&&(navigator.userAgent.indexOf("Chrome")>-1&&navigator.userAgent.indexOf("Edge")===-1||navigator.userAgent.indexOf("Firefox")>-1)){var JC=window.location.protocol;/^(https?|file):$/.test(JC)&&console.info("%cDownload the React DevTools for a better development experience: https://reactjs.org/link/react-devtools"+(JC==="file:"?`
202
- You might need to use a local HTTP server (instead of file://): https://reactjs.org/link/react-devtools-faq`:""),"font-weight:bold")}qa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Mx,qa.createPortal=H4,qa.createRoot=j4,qa.findDOMNode=M4,qa.flushSync=Y4,qa.hydrate=P4,qa.hydrateRoot=V4,qa.render=F4,qa.unmountComponentAtNode=B4,qa.unstable_batchedUpdates=dx,qa.unstable_renderSubtreeIntoContainer=z4,qa.version=Ax,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),qa}function aR(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function")){if(process.env.NODE_ENV!=="production")throw new Error("^_^");try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(aR)}catch(e){console.error(e)}}}process.env.NODE_ENV==="production"?(aR(),Rw.exports=oz()):Rw.exports=uz();var Um=Rw.exports;function Nw(){return Nw=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var a=arguments[n];for(var s in a)({}).hasOwnProperty.call(a,s)&&(e[s]=a[s])}return e},Nw.apply(null,arguments)}function sz(e,n){if(e==null)return{};var a={};for(var s in e)if({}.hasOwnProperty.call(e,s)){if(n.includes(s))continue;a[s]=e[s]}return a}var iR,oR;typeof document<"u"&&(iR=document);typeof window<"u"&&(oR=window);var uR=Tt.createContext({document:iR,window:oR}),lz=()=>Tt.useContext(uR),cz=["children","head","initialContent","src","mountTarget"],sR=Tt.forwardRef((e,n)=>{var{children:a,head:s,initialContent:f,src:h,mountTarget:d}=e,g=sz(e,cz),[E,b]=Tt.useState(!1),[C,S]=Tt.useState(),R=J=>{J&&S(J)};Tt.useImperativeHandle(n,()=>C,[C]);var k=f||"<!DOCTYPE html><html><head></head><body></body></html>",D=()=>C?C.contentDocument:null,L=()=>{var J=D();return d?J==null?void 0:J.querySelector(d):J==null?void 0:J.body},B=Tt.useRef(),H=Tt.useCallback(J=>{B.current=J;var Z=()=>setInterval(()=>H(J),500);clearInterval(Z()),E||b(!0)},[E]);Tt.useMemo(()=>{!h&&g.onLoad&&E&&g.onLoad(B.current)},[E]),Tt.useEffect(()=>{if(C&&!h){var J;(J=C.contentWindow)==null||J.addEventListener("DOMContentLoaded",H)}return()=>{if(C&&!h){var Z;(Z=C.contentWindow)==null||Z.removeEventListener("DOMContentLoaded",H)}}},[C,H]);var $=()=>{var J,Z=D(),X=(J=D())==null?void 0:J.head,te=L(),we=(Z==null?void 0:Z.defaultView)||(Z==null?void 0:Z.parentView),Me=I.jsx(uR.Provider,{value:{document:Z,window:we},children:a});return[X&&s&&Um.createPortal(s,X),C&&te&&Um.createPortal(Me,te)]},W={};return h?(delete W.srcDoc,W.src=h,W.onLoad=g.onLoad):W.srcDoc=k,I.jsx("iframe",Nw({title:g.title,ref:R},g,{onLoad:H},W,{children:E&&$()}))});sR.displayName="IFrame";const lR="opencx-widget-portal";function J1(){return null}function dz({children:e}){var a,s;const n=(s=(a=lz())==null?void 0:a.document)==null?void 0:s.getElementById(lR);return n?Um.createPortal(e,n):(console.error("Portal container not found!"),null)}function fz(){return I.jsx("div",{id:lR,className:"absolute size-full top-0 left-0"})}J1.Portal=dz;J1.Container=fz;const pz=so.Root,hz=so.Trigger,cR=ie.forwardRef(({className:e,...n},a)=>I.jsx(so.Overlay,{ref:a,className:St("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...n}));cR.displayName=so.Overlay.displayName;const dR=ie.forwardRef(({className:e,children:n,...a},s)=>I.jsxs(J1.Portal,{children:[I.jsx(cR,{}),I.jsxs(so.Content,{ref:s,className:St("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",e),...a,children:[n,I.jsx(so.Close,{asChild:!0,className:"absolute right-4 top-4 opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:I.jsxs(si,{size:"fit",variant:"outline",children:[I.jsx(Wn.X,{className:"h-4 w-4"}),I.jsx("span",{className:"sr-only",children:"Close"})]})})]})]}));dR.displayName=so.Content.displayName;const fR=ie.forwardRef(({className:e,...n},a)=>I.jsx(so.Title,{ref:a,className:St("text-lg font-semibold leading-none tracking-tight",e),...n}));fR.displayName=so.Title.displayName;const mz=ie.forwardRef(({className:e,...n},a)=>I.jsx(so.Description,{ref:a,className:St("text-sm text-muted-foreground",e),...n}));mz.displayName=so.Description.displayName;function pR({attachment:e}){const{name:n,size:a,type:s,url:f}=e,h=s.startsWith("image/"),d=s.startsWith("video/"),g=s.startsWith("audio/");return g?I.jsx(el,{children:I.jsx("div",{className:"w-full shrink-0 overflow-hidden",children:I.jsxs("audio",{controls:!0,className:"w-full",children:[I.jsx("source",{src:f,type:s}),"Your browser does not support the audio tag."]})})}):d?I.jsx(el,{children:I.jsx("div",{className:"w-full border shrink-0 rounded-2xl overflow-hidden",children:I.jsxs("video",{controls:!0,children:[I.jsx("source",{src:f,type:s}),"Your browser does not support the video tag."]})})}):!h&&!d&&!g?I.jsx(el,{children:I.jsx("div",{className:"size-fit border shrink-0 rounded-2xl overflow-hidden",children:I.jsxs("div",{className:"flex items-end gap-2 p-2",children:[I.jsx("a",{href:f,target:"_blank",rel:"noopener noreferrer",className:St("text-xs text-blue-500 line-clamp-2 underline hover:text-blue-600","break-words [word-break:break-word]"),children:n}),I.jsxs("span",{className:"text-xs text-muted-foreground whitespace-nowrap",children:[(a/1024).toFixed(2)," KB"]})]})})}):I.jsxs(pz,{children:[I.jsx(el,{children:I.jsx(hz,{children:I.jsx("div",{className:"size-fit border shrink-0 rounded-2xl overflow-hidden",children:h&&I.jsx("img",{src:f,className:"object-cover size-16",alt:n})})})}),I.jsxs(dR,{"aria-describedby":void 0,className:"size-full rounded-3xl flex items-center justify-center bg-transparent backdrop-blur border-none gap-0",children:[I.jsx(fR,{className:"sr-only",children:"Image preview"}),h&&I.jsx("div",{className:"size-fit shrink-0 rounded-2xl overflow-hidden max-h-full",children:I.jsx("img",{src:f,className:"object-cover size-auto",alt:n})})]})]})}function Dw({data:e,id:n,type:a,attachments:s}){const{message:f,variant:h="default"}=e;return h==="error"?I.jsx("div",{children:I.jsx("div",{className:"flex flex-row flex-wrap items-center justify-start",children:I.jsx("div",{className:"leading-snug text-sm text-destructive",children:f})})}):I.jsxs("div",{className:"w-5/6 flex flex-col items-start gap-1",children:[I.jsx("div",{className:"w-full gap-1 flex flex-row flex-wrap items-center justify-start",children:s==null?void 0:s.map(d=>I.jsx(pR,{attachment:d},d.id))}),f.length>0&&I.jsx(v3,{"data-type":a,"data-id":n,remarkPlugins:[VA],rehypePlugins:[nR],components:{a:({children:d,...g})=>I.jsx("a",{target:"_top",...g,children:d})},className:St("w-fit p-2 rounded-2xl bg-secondary border shadow-sm","leading-snug text-sm prose prose-sm prose-a:decoration-primary prose-a:underline","break-words [word-break:break-word]"),children:f})]})}function hR(e){const{componentStore:n}=ft.useWidget();if(e.data.action){const s=n.getComponent(e.data.action.name);if(s)return I.jsx(s,{...e,id:e.id})}const a=n.getComponent(e.component);return a?I.jsx(a,{...e,id:e.id}):I.jsx(Dw,{...e})}const $m=ie.forwardRef(({className:e,...n},a)=>I.jsx(Xf.Root,{ref:a,className:St("relative flex size-6 aspect-square shrink-0 overflow-hidden rounded-full border bg-secondary",e),...n}));$m.displayName=Xf.Root.displayName;const Z1=ie.forwardRef(({className:e,...n},a)=>I.jsx(Xf.Image,{ref:a,className:St("aspect-square h-full w-full",e),...n}));Z1.displayName=Xf.Image.displayName;const ey=ie.forwardRef(({className:e,...n},a)=>I.jsx(Xf.Fallback,{ref:a,className:St("flex size-full text-xs items-center justify-center rounded-lg",e),...n}));ey.displayName=Xf.Fallback.displayName;function gz({message:e}){var n;return I.jsxs("div",{className:"w-5/6 flex flex-col items-end gap-1",children:[e.attachments&&e.attachments.length>0&&I.jsx("div",{className:"w-full flex gap-1 flex-wrap justify-end",children:(n=e.attachments)==null?void 0:n.map(a=>I.jsx(pR,{attachment:a},a.id))}),e.content.length>0&&I.jsx("div",{className:St("w-fit p-2 rounded-2xl text-sm","bg-primary text-primary-foreground border shadow-sm","break-words [word-break:break-word]","whitespace-pre-wrap"),children:e.content})]})}function vz({messages:e}){var a,s,f,h,d,g;const{user:n}=ft.useConfig();return I.jsxs("div",{className:St("group","flex flex-col gap-2 justify-end items-end"),children:[I.jsxs($m,{className:"bg-primary text-primary-foreground",children:[I.jsx(Z1,{src:(a=n==null?void 0:n.data)==null?void 0:a.avatarUrl,alt:((s=n==null?void 0:n.data)==null?void 0:s.name)||"User avatar"}),((f=n==null?void 0:n.data)==null?void 0:f.name)&&I.jsx(ey,{children:(g=(d=(h=n==null?void 0:n.data)==null?void 0:h.name)==null?void 0:d.slice(0,1))==null?void 0:g.toUpperCase()})]}),e.map(E=>I.jsx(gz,{message:E},E.id))]})}function yz({messages:e,agent:n}){var a,s;return I.jsxs("div",{className:St("flex flex-col items-start gap-2"),children:[I.jsx(k1,{content:n==null?void 0:n.name,side:"right",align:"end",children:I.jsxs($m,{children:[I.jsx(Z1,{src:(n==null?void 0:n.avatar)??"",alt:"Agent Icon"}),(n==null?void 0:n.name)&&I.jsx(ey,{children:(s=(a=n==null?void 0:n.name)==null?void 0:a.slice(0,1))==null?void 0:s.toUpperCase()})]})}),e.map(f=>I.jsx(hR,{...f},f.id))]})}function Ez(){const{messagesState:{messages:e}}=ft.useMessages(),{isAwaitingBotReply:n}=ft.useIsAwaitingBotReply(),{componentStore:a}=ft.useWidget(),s=ft.useConfig(),f=Tt.useMemo(()=>m5(e),[e.length]),h=!s.initialMessages||s.initialMessages.length===0?["Hello, how can I help you?"]:s.initialMessages,d=a.getComponent("loading"),g=Tt.useRef(null);function E(){setTimeout(()=>{const b=g.current;b&&(b.scrollTop=b.scrollHeight)},0)}return Tt.useEffect(()=>{E()},[e]),I.jsxs("div",{"data-messages":!0,ref:g,className:"max-h-full scroll-smooth relative flex-1 p-2 space-y-2 overflow-auto",children:[e.length===0&&h.map(b=>I.jsx(hR,{component:"bot_message",data:{message:b},id:b,type:"FROM_BOT",agent:s.bot?{...s.bot,isAi:!0,id:null}:void 0,timestamp:Date.now().toString()},b)),f.map(b=>{var R,k,D;const C=(R=b==null?void 0:b[0])==null?void 0:R.type,S=(k=b[0])==null?void 0:k.id;if(!C||!S)return null;if(g5(b))return I.jsx(vz,{messages:b},S);if(v5(b)||y5(b)){const L=(D=b[0])==null?void 0:D.agent;return I.jsx(yz,{messages:b,agent:L},S)}return null}),n&&I.jsx(d,{})]})}function mR({className:e}){return I.jsx(Wn.LoaderIcon,{className:St("size-4 animate-spin",e)})}function bz(){const{messagesState:{isInitialFetchLoading:e}}=ft.useMessages(),{sessionState:{session:n}}=ft.useSessions(),{observedElementRef:a}=zw({fallbackHeight:$k}),s=Tt.useRef((n==null?void 0:n.id)||"chat").current;return I.jsx("div",{ref:a,className:St(Bw.widgetHeight,"w-full flex flex-col overflow-hidden bg-background"),children:I.jsxs("div",{className:"size-full justify-between flex flex-col",children:[I.jsx(uA,{}),I.jsx(vr.AnimatePresence,{mode:"wait",children:e?I.jsx(Sn,{className:"flex flex-col items-center justify-center w-full flex-1",children:I.jsx(mR,{})},"loading"):I.jsxs(Sn,{className:"flex flex-col w-full flex-1 overflow-auto",snapExit:!0,children:[I.jsx(Ez,{}),I.jsx(a5,{})]},s)})]})})}const T1=ie.forwardRef(({className:e,type:n,...a},s)=>{const f=B1();return I.jsx(el,{ref:s,children:I.jsx("input",{dir:f,type:n,className:St("flex w-full rounded-xl border border-input bg-background p-2 text-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-primary-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 transition","rtl:placeholder:text-right",e),...a})})});T1.displayName="Input";const xz=Px.z.object({name:Px.z.string().min(2),email:Px.z.string().email()});function wz(){var D,L,B,H,$,W,J,Z,X;const{createUnverifiedContact:e}=ft.useContact(),n=ft.useConfig(),a=Jf(),{data:s}=ft.usePreludeData(),{observedElementRef:f}=zw({fallbackHeight:Gk}),[h,d]=Tt.useState(((D=n.prefillUserData)==null?void 0:D.name)||""),[g,E]=Tt.useState(((L=n.prefillUserData)==null?void 0:L.email)||""),b=(n.extraDataCollectionFields||[]).filter(te=>te!=="name"&&te!=="email"&&!!te),[C,S]=Tt.useState({}),[R,k]=ft._default(async te=>{te.preventDefault();const we=xz.safeParse({name:h,email:g});we.success&&await e({email:we.data.email,non_verified_name:we.data.name},Object.values(C).filter(Boolean).length?C:void 0)},[h,g,C]);return I.jsxs("div",{ref:f,className:St(Bw.widgetMinHeight,"h-fit bg-primary flex flex-col"),children:[I.jsxs("div",{dir:"auto",className:"flex-1 flex flex-col px-4 py-12 text-start space-y-4 relative z-10",children:[I.jsx("div",{className:"flex items-center justify-between w-full mb-2",children:(B=n.assets)!=null&&B.organizationLogo?I.jsx("img",{src:(H=n.assets)==null?void 0:H.organizationLogo,alt:"Company Logo",className:"h-8 w-auto object-contain"}):I.jsx("h2",{className:"font-bold text-xl text-primary-foreground",dir:"auto",children:($=s==null?void 0:s.data)==null?void 0:$.organizationName})}),I.jsxs("div",{className:"space-y-2",children:[I.jsx("h1",{className:"text-2xl font-bold text-primary-foreground",dir:"auto",children:((J=(W=n.textContent)==null?void 0:W.welcomeScreen)==null?void 0:J.title)||a.get("welcome-title")}),I.jsx("p",{className:"text-primary-foreground/90 text-sm max-w-[320px] leading-relaxed",dir:"auto",children:((X=(Z=n.textContent)==null?void 0:Z.welcomeScreen)==null?void 0:X.description)||a.get("welcome-description")})]})]}),I.jsx("div",{className:"p-2 bg-background rounded-t-3xl",dir:"auto",children:I.jsxs("form",{onSubmit:k,className:"space-y-2",children:[I.jsxs("div",{className:"space-y-2",children:[I.jsx(T1,{value:h,onChange:te=>d(te.target.value),required:!0,placeholder:a.get("your-name"),name:"name",className:"rounded-3xl pl-3"}),I.jsx(T1,{required:!0,value:g,onChange:te=>E(te.target.value),type:"email",placeholder:a.get("your-email"),name:"email",className:"rounded-3xl pl-3"}),b.map(te=>I.jsx(T1,{value:C[te],onChange:we=>S(Me=>({...Me,[te]:we.target.value})),placeholder:`${te} (${a.get("optional")})`,className:"rounded-3xl pl-3"},te))]}),I.jsxs(si,{disabled:R.loading,className:"w-full rounded-3xl",size:"lg",children:[R.loading?a.get("starting-chat"):a.get("start-chat"),I.jsx(Wn.SendHorizontal,{className:"size-4 rtl:-scale-100"})]})]})})]})}function Tz({session:e}){const{bot:n}=ft.useConfig(),{toChatScreen:a}=ft.useWidgetRouter(),s=e.assignee.kind==="human"?e.assignee.name||"Support Agent":(n==null?void 0:n.name)||"AI Support Agent",f=e.assignee.kind==="human"?e.assignee.avatarUrl||"":(n==null?void 0:n.avatar)||"";return I.jsxs(si,{variant:"outline",size:"lg",className:"border-muted rounded-full p-2 flex text-start justify-between w-full whitespace-normal",onClick:()=>a(e.id),children:[I.jsxs("div",{className:"flex-1 flex gap-2 items-center",children:[I.jsx(vr.AnimatePresence,{mode:"wait",children:I.jsx(Sn,{snapExit:!0,children:I.jsx($m,{className:"size-10",children:I.jsx(Z1,{src:f,alt:"Agent Icon"})})})}),I.jsxs("div",{className:"flex-1",children:[I.jsx(vr.AnimatePresence,{mode:"wait",children:I.jsx(Sn,{snapExit:!0,children:s},s)}),I.jsx(vr.AnimatePresence,{mode:"wait",children:e.lastMessage?I.jsx(Sn,{snapExit:!0,children:I.jsx(v3,{remarkPlugins:[VA],rehypePlugins:[nR],className:"line-clamp-1 overflow-hidden text-ellipsis text-xs text-muted-foreground",children:e.lastMessage})},e.lastMessage||"content"):I.jsx(Sn,{className:"w-1/2",snapExit:!0,children:I.jsx(oA,{className:"h-4 w-full"})},"skeleton")})]})]}),I.jsx(Wn.ChevronRightIcon,{className:"size-4 text-muted-foreground shrink-0"})]})}function Sz(){const e=Jf(),{toChatScreen:n}=ft.useWidgetRouter(),{sessionsState:{data:a,isInitialFetchLoading:s}}=ft.useSessions();return I.jsx("div",{className:"flex-1 flex flex-col overflow-scroll p-2",children:I.jsx(vr.AnimatePresence,{mode:"wait",children:s?I.jsx(Sn,{className:"flex-1 flex items-center justify-center",children:I.jsx(mR,{})},"loading"):I.jsx(Sn,{className:"flex-1 flex flex-col gap-2 relative",children:a.length?I.jsxs(I.Fragment,{children:[I.jsx(vr.AnimatePresence,{children:a.map((f,h)=>I.jsx(Sn,{snapExit:!0,children:I.jsx(Tz,{session:f})},`${f.id}-${h}`))}),I.jsx("div",{className:"mt-auto w-full rounded-3xl sticky bottom-0 outline outline-8 outline-background",children:I.jsx(si,{size:"lg",className:"w-full rounded-3xl",onClick:()=>n(),children:e.get("new-conversation")},"new-session")})]}):I.jsxs("div",{className:"flex-1 flex flex-col gap-2 items-center",children:[I.jsx("div",{className:"flex-1 flex items-center justify-center",children:I.jsx("p",{className:"text-muted-foreground",children:"No conversations yet"})}),I.jsx(si,{size:"lg",className:"w-full rounded-3xl",onClick:()=>n(),children:e.get("new-conversation")},"new-session")]})},"sessions")})})}function Cz(){const{observedElementRef:e}=zw({fallbackHeight:$k});return I.jsx("div",{ref:e,className:St(Bw.widgetHeight,"w-full flex flex-col overflow-hidden bg-background"),children:I.jsxs("div",{className:"size-full flex flex-col",children:[I.jsx(uA,{}),I.jsx(Sz,{})]})})}function _z(){ft.usePreludeData();const{routerState:{screen:e}}=ft.useWidgetRouter();return I.jsxs("div",{className:"relative bg-background size-full",children:[I.jsx(J1.Container,{}),I.jsx(vr.AnimatePresence,{mode:"wait",children:(()=>{switch(e){case"welcome":return I.jsx(Sn,{fadeIn:"right",className:"size-full",snapExit:!0,children:I.jsx(wz,{})},e);case"sessions":return I.jsx(Sn,{fadeIn:"right",className:"size-full",snapExit:!0,children:I.jsx(Cz,{})},e);case"chat":return I.jsx(Sn,{fadeIn:"right",className:"size-full",snapExit:!0,children:I.jsx(bz,{})},e);default:return null}})()})]})}function nl(e,n,{checkForDefaultPrevented:a=!0}={}){return function(f){if(e==null||e(f),a===!1||!f.defaultPrevented)return n==null?void 0:n(f)}}function kz(e,n){typeof e=="function"?e(n):e!=null&&(e.current=n)}function Az(...e){return n=>e.forEach(a=>kz(a,n))}function cl(...e){return ie.useCallback(Az(...e),e)}function Rz(e,n=[]){let a=[];function s(h,d){const g=ie.createContext(d),E=a.length;a=[...a,d];const b=S=>{var H;const{scope:R,children:k,...D}=S,L=((H=R==null?void 0:R[e])==null?void 0:H[E])||g,B=ie.useMemo(()=>D,Object.values(D));return I.jsx(L.Provider,{value:B,children:k})};b.displayName=h+"Provider";function C(S,R){var L;const k=((L=R==null?void 0:R[e])==null?void 0:L[E])||g,D=ie.useContext(k);if(D)return D;if(d!==void 0)return d;throw new Error(`\`${S}\` must be used within \`${h}\``)}return[b,C]}const f=()=>{const h=a.map(d=>ie.createContext(d));return function(g){const E=(g==null?void 0:g[e])||h;return ie.useMemo(()=>({[`__scope${e}`]:{...g,[e]:E}}),[g,E])}};return f.scopeName=e,[s,Nz(f,...n)]}function Nz(...e){const n=e[0];if(e.length===1)return n;const a=()=>{const s=e.map(f=>({useScope:f(),scopeName:f.scopeName}));return function(h){const d=s.reduce((g,{useScope:E,scopeName:b})=>{const S=E(h)[`__scope${b}`];return{...g,...S}},{});return ie.useMemo(()=>({[`__scope${n.scopeName}`]:d}),[d])}};return a.scopeName=n.scopeName,a}var Dz=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],dl=Dz.reduce((e,n)=>{const a=ie.forwardRef((s,f)=>{const{asChild:h,...d}=s,g=h?Uw.Slot:n;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),I.jsx(g,{...d,ref:f})});return a.displayName=`Primitive.${n}`,{...e,[n]:a}},{});function Oz(e,n){e&&Um.flushSync(()=>e.dispatchEvent(n))}function rl(e){const n=ie.useRef(e);return ie.useEffect(()=>{n.current=e}),ie.useMemo(()=>(...a)=>{var s;return(s=n.current)==null?void 0:s.call(n,...a)},[])}function Lz(e,n=globalThis==null?void 0:globalThis.document){const a=rl(e);ie.useEffect(()=>{const s=f=>{f.key==="Escape"&&a(f)};return n.addEventListener("keydown",s,{capture:!0}),()=>n.removeEventListener("keydown",s,{capture:!0})},[a,n])}var Iz="DismissableLayer",Ow="dismissableLayer.update",Mz="dismissableLayer.pointerDownOutside",Pz="dismissableLayer.focusOutside",kk,gR=ie.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),vR=ie.forwardRef((e,n)=>{const{disableOutsidePointerEvents:a=!1,onEscapeKeyDown:s,onPointerDownOutside:f,onFocusOutside:h,onInteractOutside:d,onDismiss:g,...E}=e,b=ie.useContext(gR),[C,S]=ie.useState(null),R=(C==null?void 0:C.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,k]=ie.useState({}),D=cl(n,te=>S(te)),L=Array.from(b.layers),[B]=[...b.layersWithOutsidePointerEventsDisabled].slice(-1),H=L.indexOf(B),$=C?L.indexOf(C):-1,W=b.layersWithOutsidePointerEventsDisabled.size>0,J=$>=H,Z=Bz(te=>{const we=te.target,Me=[...b.branches].some(K=>K.contains(we));!J||Me||(f==null||f(te),d==null||d(te),te.defaultPrevented||g==null||g())},R),X=Hz(te=>{const we=te.target;[...b.branches].some(K=>K.contains(we))||(h==null||h(te),d==null||d(te),te.defaultPrevented||g==null||g())},R);return Lz(te=>{$===b.layers.size-1&&(s==null||s(te),!te.defaultPrevented&&g&&(te.preventDefault(),g()))},R),ie.useEffect(()=>{if(C)return a&&(b.layersWithOutsidePointerEventsDisabled.size===0&&(kk=R.body.style.pointerEvents,R.body.style.pointerEvents="none"),b.layersWithOutsidePointerEventsDisabled.add(C)),b.layers.add(C),Ak(),()=>{a&&b.layersWithOutsidePointerEventsDisabled.size===1&&(R.body.style.pointerEvents=kk)}},[C,R,a,b]),ie.useEffect(()=>()=>{C&&(b.layers.delete(C),b.layersWithOutsidePointerEventsDisabled.delete(C),Ak())},[C,b]),ie.useEffect(()=>{const te=()=>k({});return document.addEventListener(Ow,te),()=>document.removeEventListener(Ow,te)},[]),I.jsx(dl.div,{...E,ref:D,style:{pointerEvents:W?J?"auto":"none":void 0,...e.style},onFocusCapture:nl(e.onFocusCapture,X.onFocusCapture),onBlurCapture:nl(e.onBlurCapture,X.onBlurCapture),onPointerDownCapture:nl(e.onPointerDownCapture,Z.onPointerDownCapture)})});vR.displayName=Iz;var Fz="DismissableLayerBranch",Uz=ie.forwardRef((e,n)=>{const a=ie.useContext(gR),s=ie.useRef(null),f=cl(n,s);return ie.useEffect(()=>{const h=s.current;if(h)return a.branches.add(h),()=>{a.branches.delete(h)}},[a.branches]),I.jsx(dl.div,{...e,ref:f})});Uz.displayName=Fz;function Bz(e,n=globalThis==null?void 0:globalThis.document){const a=rl(e),s=ie.useRef(!1),f=ie.useRef(()=>{});return ie.useEffect(()=>{const h=g=>{if(g.target&&!s.current){let E=function(){yR(Mz,a,b,{discrete:!0})};const b={originalEvent:g};g.pointerType==="touch"?(n.removeEventListener("click",f.current),f.current=E,n.addEventListener("click",f.current,{once:!0})):E()}else n.removeEventListener("click",f.current);s.current=!1},d=window.setTimeout(()=>{n.addEventListener("pointerdown",h)},0);return()=>{window.clearTimeout(d),n.removeEventListener("pointerdown",h),n.removeEventListener("click",f.current)}},[n,a]),{onPointerDownCapture:()=>s.current=!0}}function Hz(e,n=globalThis==null?void 0:globalThis.document){const a=rl(e),s=ie.useRef(!1);return ie.useEffect(()=>{const f=h=>{h.target&&!s.current&&yR(Pz,a,{originalEvent:h},{discrete:!1})};return n.addEventListener("focusin",f),()=>n.removeEventListener("focusin",f)},[n,a]),{onFocusCapture:()=>s.current=!0,onBlurCapture:()=>s.current=!1}}function Ak(){const e=new CustomEvent(Ow);document.dispatchEvent(e)}function yR(e,n,a,{discrete:s}){const f=a.originalEvent.target,h=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:a});n&&f.addEventListener(e,n,{once:!0}),s?Oz(f,h):f.dispatchEvent(h)}var aw=0;function zz(){ie.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??Rk()),document.body.insertAdjacentElement("beforeend",e[1]??Rk()),aw++,()=>{aw===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(n=>n.remove()),aw--}},[])}function Rk(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var iw="focusScope.autoFocusOnMount",ow="focusScope.autoFocusOnUnmount",Nk={bubbles:!1,cancelable:!0},jz="FocusScope",ER=ie.forwardRef((e,n)=>{const{loop:a=!1,trapped:s=!1,onMountAutoFocus:f,onUnmountAutoFocus:h,...d}=e,[g,E]=ie.useState(null),b=rl(f),C=rl(h),S=ie.useRef(null),R=cl(n,L=>E(L)),k=ie.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;ie.useEffect(()=>{if(s){let L=function(W){if(k.paused||!g)return;const J=W.target;g.contains(J)?S.current=J:Zs(S.current,{select:!0})},B=function(W){if(k.paused||!g)return;const J=W.relatedTarget;J!==null&&(g.contains(J)||Zs(S.current,{select:!0}))},H=function(W){if(document.activeElement===document.body)for(const Z of W)Z.removedNodes.length>0&&Zs(g)};document.addEventListener("focusin",L),document.addEventListener("focusout",B);const $=new MutationObserver(H);return g&&$.observe(g,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",L),document.removeEventListener("focusout",B),$.disconnect()}}},[s,g,k.paused]),ie.useEffect(()=>{if(g){Ok.add(k);const L=document.activeElement;if(!g.contains(L)){const H=new CustomEvent(iw,Nk);g.addEventListener(iw,b),g.dispatchEvent(H),H.defaultPrevented||(Vz(Gz(bR(g)),{select:!0}),document.activeElement===L&&Zs(g))}return()=>{g.removeEventListener(iw,b),setTimeout(()=>{const H=new CustomEvent(ow,Nk);g.addEventListener(ow,C),g.dispatchEvent(H),H.defaultPrevented||Zs(L??document.body,{select:!0}),g.removeEventListener(ow,C),Ok.remove(k)},0)}}},[g,b,C,k]);const D=ie.useCallback(L=>{if(!a&&!s||k.paused)return;const B=L.key==="Tab"&&!L.altKey&&!L.ctrlKey&&!L.metaKey,H=document.activeElement;if(B&&H){const $=L.currentTarget,[W,J]=Yz($);W&&J?!L.shiftKey&&H===J?(L.preventDefault(),a&&Zs(W,{select:!0})):L.shiftKey&&H===W&&(L.preventDefault(),a&&Zs(J,{select:!0})):H===$&&L.preventDefault()}},[a,s,k.paused]);return I.jsx(dl.div,{tabIndex:-1,...d,ref:R,onKeyDown:D})});ER.displayName=jz;function Vz(e,{select:n=!1}={}){const a=document.activeElement;for(const s of e)if(Zs(s,{select:n}),document.activeElement!==a)return}function Yz(e){const n=bR(e),a=Dk(n,e),s=Dk(n.reverse(),e);return[a,s]}function bR(e){const n=[],a=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:s=>{const f=s.tagName==="INPUT"&&s.type==="hidden";return s.disabled||s.hidden||f?NodeFilter.FILTER_SKIP:s.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;a.nextNode();)n.push(a.currentNode);return n}function Dk(e,n){for(const a of e)if(!Wz(a,{upTo:n}))return a}function Wz(e,{upTo:n}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(n!==void 0&&e===n)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function qz(e){return e instanceof HTMLInputElement&&"select"in e}function Zs(e,{select:n=!1}={}){if(e&&e.focus){const a=document.activeElement;e.focus({preventScroll:!0}),e!==a&&qz(e)&&n&&e.select()}}var Ok=Qz();function Qz(){let e=[];return{add(n){const a=e[0];n!==a&&(a==null||a.pause()),e=Lk(e,n),e.unshift(n)},remove(n){var a;e=Lk(e,n),(a=e[0])==null||a.resume()}}}function Lk(e,n){const a=[...e],s=a.indexOf(n);return s!==-1&&a.splice(s,1),a}function Gz(e){return e.filter(n=>n.tagName!=="A")}var Qf=globalThis!=null&&globalThis.document?ie.useLayoutEffect:()=>{},$z=ie.useId||(()=>{}),Xz=0;function Kz(e){const[n,a]=ie.useState($z());return Qf(()=>{e||a(s=>s??String(Xz++))},[e]),e||(n?`radix-${n}`:"")}const Jz=["top","right","bottom","left"],al=Math.min,oi=Math.max,M1=Math.round,p1=Math.floor,il=e=>({x:e,y:e}),Zz={left:"right",right:"left",bottom:"top",top:"bottom"},ej={start:"end",end:"start"};function Lw(e,n,a){return oi(e,al(n,a))}function Pu(e,n){return typeof e=="function"?e(n):e}function Fu(e){return e.split("-")[0]}function ap(e){return e.split("-")[1]}function lT(e){return e==="x"?"y":"x"}function cT(e){return e==="y"?"height":"width"}function ol(e){return["top","bottom"].includes(Fu(e))?"y":"x"}function dT(e){return lT(ol(e))}function tj(e,n,a){a===void 0&&(a=!1);const s=ap(e),f=dT(e),h=cT(f);let d=f==="x"?s===(a?"end":"start")?"right":"left":s==="start"?"bottom":"top";return n.reference[h]>n.floating[h]&&(d=P1(d)),[d,P1(d)]}function nj(e){const n=P1(e);return[Iw(e),n,Iw(n)]}function Iw(e){return e.replace(/start|end/g,n=>ej[n])}function rj(e,n,a){const s=["left","right"],f=["right","left"],h=["top","bottom"],d=["bottom","top"];switch(e){case"top":case"bottom":return a?n?f:s:n?s:f;case"left":case"right":return n?h:d;default:return[]}}function aj(e,n,a,s){const f=ap(e);let h=rj(Fu(e),a==="start",s);return f&&(h=h.map(d=>d+"-"+f),n&&(h=h.concat(h.map(Iw)))),h}function P1(e){return e.replace(/left|right|bottom|top/g,n=>Zz[n])}function ij(e){return{top:0,right:0,bottom:0,left:0,...e}}function xR(e){return typeof e!="number"?ij(e):{top:e,right:e,bottom:e,left:e}}function F1(e){const{x:n,y:a,width:s,height:f}=e;return{width:s,height:f,top:a,left:n,right:n+s,bottom:a+f,x:n,y:a}}function Ik(e,n,a){let{reference:s,floating:f}=e;const h=ol(n),d=dT(n),g=cT(d),E=Fu(n),b=h==="y",C=s.x+s.width/2-f.width/2,S=s.y+s.height/2-f.height/2,R=s[g]/2-f[g]/2;let k;switch(E){case"top":k={x:C,y:s.y-f.height};break;case"bottom":k={x:C,y:s.y+s.height};break;case"right":k={x:s.x+s.width,y:S};break;case"left":k={x:s.x-f.width,y:S};break;default:k={x:s.x,y:s.y}}switch(ap(n)){case"start":k[d]-=R*(a&&b?-1:1);break;case"end":k[d]+=R*(a&&b?-1:1);break}return k}const oj=async(e,n,a)=>{const{placement:s="bottom",strategy:f="absolute",middleware:h=[],platform:d}=a,g=h.filter(Boolean),E=await(d.isRTL==null?void 0:d.isRTL(n));let b=await d.getElementRects({reference:e,floating:n,strategy:f}),{x:C,y:S}=Ik(b,s,E),R=s,k={},D=0;for(let L=0;L<g.length;L++){const{name:B,fn:H}=g[L],{x:$,y:W,data:J,reset:Z}=await H({x:C,y:S,initialPlacement:s,placement:R,strategy:f,middlewareData:k,rects:b,platform:d,elements:{reference:e,floating:n}});C=$??C,S=W??S,k={...k,[B]:{...k[B],...J}},Z&&D<=50&&(D++,typeof Z=="object"&&(Z.placement&&(R=Z.placement),Z.rects&&(b=Z.rects===!0?await d.getElementRects({reference:e,floating:n,strategy:f}):Z.rects),{x:C,y:S}=Ik(b,R,E)),L=-1)}return{x:C,y:S,placement:R,strategy:f,middlewareData:k}};async function Bm(e,n){var a;n===void 0&&(n={});const{x:s,y:f,platform:h,rects:d,elements:g,strategy:E}=e,{boundary:b="clippingAncestors",rootBoundary:C="viewport",elementContext:S="floating",altBoundary:R=!1,padding:k=0}=Pu(n,e),D=xR(k),B=g[R?S==="floating"?"reference":"floating":S],H=F1(await h.getClippingRect({element:(a=await(h.isElement==null?void 0:h.isElement(B)))==null||a?B:B.contextElement||await(h.getDocumentElement==null?void 0:h.getDocumentElement(g.floating)),boundary:b,rootBoundary:C,strategy:E})),$=S==="floating"?{x:s,y:f,width:d.floating.width,height:d.floating.height}:d.reference,W=await(h.getOffsetParent==null?void 0:h.getOffsetParent(g.floating)),J=await(h.isElement==null?void 0:h.isElement(W))?await(h.getScale==null?void 0:h.getScale(W))||{x:1,y:1}:{x:1,y:1},Z=F1(h.convertOffsetParentRelativeRectToViewportRelativeRect?await h.convertOffsetParentRelativeRectToViewportRelativeRect({elements:g,rect:$,offsetParent:W,strategy:E}):$);return{top:(H.top-Z.top+D.top)/J.y,bottom:(Z.bottom-H.bottom+D.bottom)/J.y,left:(H.left-Z.left+D.left)/J.x,right:(Z.right-H.right+D.right)/J.x}}const uj=e=>({name:"arrow",options:e,async fn(n){const{x:a,y:s,placement:f,rects:h,platform:d,elements:g,middlewareData:E}=n,{element:b,padding:C=0}=Pu(e,n)||{};if(b==null)return{};const S=xR(C),R={x:a,y:s},k=dT(f),D=cT(k),L=await d.getDimensions(b),B=k==="y",H=B?"top":"left",$=B?"bottom":"right",W=B?"clientHeight":"clientWidth",J=h.reference[D]+h.reference[k]-R[k]-h.floating[D],Z=R[k]-h.reference[k],X=await(d.getOffsetParent==null?void 0:d.getOffsetParent(b));let te=X?X[W]:0;(!te||!await(d.isElement==null?void 0:d.isElement(X)))&&(te=g.floating[W]||h.floating[D]);const we=J/2-Z/2,Me=te/2-L[D]/2-1,K=al(S[H],Me),Ee=al(S[$],Me),ge=K,Re=te-L[D]-Ee,Oe=te/2-L[D]/2+we,qe=Lw(ge,Oe,Re),je=!E.arrow&&ap(f)!=null&&Oe!==qe&&h.reference[D]/2-(Oe<ge?K:Ee)-L[D]/2<0,at=je?Oe<ge?Oe-ge:Oe-Re:0;return{[k]:R[k]+at,data:{[k]:qe,centerOffset:Oe-qe-at,...je&&{alignmentOffset:at}},reset:je}}}),sj=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(n){var a,s;const{placement:f,middlewareData:h,rects:d,initialPlacement:g,platform:E,elements:b}=n,{mainAxis:C=!0,crossAxis:S=!0,fallbackPlacements:R,fallbackStrategy:k="bestFit",fallbackAxisSideDirection:D="none",flipAlignment:L=!0,...B}=Pu(e,n);if((a=h.arrow)!=null&&a.alignmentOffset)return{};const H=Fu(f),$=ol(g),W=Fu(g)===g,J=await(E.isRTL==null?void 0:E.isRTL(b.floating)),Z=R||(W||!L?[P1(g)]:nj(g)),X=D!=="none";!R&&X&&Z.push(...aj(g,L,D,J));const te=[g,...Z],we=await Bm(n,B),Me=[];let K=((s=h.flip)==null?void 0:s.overflows)||[];if(C&&Me.push(we[H]),S){const Oe=tj(f,d,J);Me.push(we[Oe[0]],we[Oe[1]])}if(K=[...K,{placement:f,overflows:Me}],!Me.every(Oe=>Oe<=0)){var Ee,ge;const Oe=(((Ee=h.flip)==null?void 0:Ee.index)||0)+1,qe=te[Oe];if(qe)return{data:{index:Oe,overflows:K},reset:{placement:qe}};let je=(ge=K.filter(at=>at.overflows[0]<=0).sort((at,he)=>at.overflows[1]-he.overflows[1])[0])==null?void 0:ge.placement;if(!je)switch(k){case"bestFit":{var Re;const at=(Re=K.filter(he=>{if(X){const De=ol(he.placement);return De===$||De==="y"}return!0}).map(he=>[he.placement,he.overflows.filter(De=>De>0).reduce((De,F)=>De+F,0)]).sort((he,De)=>he[1]-De[1])[0])==null?void 0:Re[0];at&&(je=at);break}case"initialPlacement":je=g;break}if(f!==je)return{reset:{placement:je}}}return{}}}};function Mk(e,n){return{top:e.top-n.height,right:e.right-n.width,bottom:e.bottom-n.height,left:e.left-n.width}}function Pk(e){return Jz.some(n=>e[n]>=0)}const lj=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(n){const{rects:a}=n,{strategy:s="referenceHidden",...f}=Pu(e,n);switch(s){case"referenceHidden":{const h=await Bm(n,{...f,elementContext:"reference"}),d=Mk(h,a.reference);return{data:{referenceHiddenOffsets:d,referenceHidden:Pk(d)}}}case"escaped":{const h=await Bm(n,{...f,altBoundary:!0}),d=Mk(h,a.floating);return{data:{escapedOffsets:d,escaped:Pk(d)}}}default:return{}}}}};async function cj(e,n){const{placement:a,platform:s,elements:f}=e,h=await(s.isRTL==null?void 0:s.isRTL(f.floating)),d=Fu(a),g=ap(a),E=ol(a)==="y",b=["left","top"].includes(d)?-1:1,C=h&&E?-1:1,S=Pu(n,e);let{mainAxis:R,crossAxis:k,alignmentAxis:D}=typeof S=="number"?{mainAxis:S,crossAxis:0,alignmentAxis:null}:{mainAxis:S.mainAxis||0,crossAxis:S.crossAxis||0,alignmentAxis:S.alignmentAxis};return g&&typeof D=="number"&&(k=g==="end"?D*-1:D),E?{x:k*C,y:R*b}:{x:R*b,y:k*C}}const dj=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(n){var a,s;const{x:f,y:h,placement:d,middlewareData:g}=n,E=await cj(n,e);return d===((a=g.offset)==null?void 0:a.placement)&&(s=g.arrow)!=null&&s.alignmentOffset?{}:{x:f+E.x,y:h+E.y,data:{...E,placement:d}}}}},fj=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(n){const{x:a,y:s,placement:f}=n,{mainAxis:h=!0,crossAxis:d=!1,limiter:g={fn:B=>{let{x:H,y:$}=B;return{x:H,y:$}}},...E}=Pu(e,n),b={x:a,y:s},C=await Bm(n,E),S=ol(Fu(f)),R=lT(S);let k=b[R],D=b[S];if(h){const B=R==="y"?"top":"left",H=R==="y"?"bottom":"right",$=k+C[B],W=k-C[H];k=Lw($,k,W)}if(d){const B=S==="y"?"top":"left",H=S==="y"?"bottom":"right",$=D+C[B],W=D-C[H];D=Lw($,D,W)}const L=g.fn({...n,[R]:k,[S]:D});return{...L,data:{x:L.x-a,y:L.y-s,enabled:{[R]:h,[S]:d}}}}}},pj=function(e){return e===void 0&&(e={}),{options:e,fn(n){const{x:a,y:s,placement:f,rects:h,middlewareData:d}=n,{offset:g=0,mainAxis:E=!0,crossAxis:b=!0}=Pu(e,n),C={x:a,y:s},S=ol(f),R=lT(S);let k=C[R],D=C[S];const L=Pu(g,n),B=typeof L=="number"?{mainAxis:L,crossAxis:0}:{mainAxis:0,crossAxis:0,...L};if(E){const W=R==="y"?"height":"width",J=h.reference[R]-h.floating[W]+B.mainAxis,Z=h.reference[R]+h.reference[W]-B.mainAxis;k<J?k=J:k>Z&&(k=Z)}if(b){var H,$;const W=R==="y"?"width":"height",J=["top","left"].includes(Fu(f)),Z=h.reference[S]-h.floating[W]+(J&&((H=d.offset)==null?void 0:H[S])||0)+(J?0:B.crossAxis),X=h.reference[S]+h.reference[W]+(J?0:(($=d.offset)==null?void 0:$[S])||0)-(J?B.crossAxis:0);D<Z?D=Z:D>X&&(D=X)}return{[R]:k,[S]:D}}}},hj=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(n){var a,s;const{placement:f,rects:h,platform:d,elements:g}=n,{apply:E=()=>{},...b}=Pu(e,n),C=await Bm(n,b),S=Fu(f),R=ap(f),k=ol(f)==="y",{width:D,height:L}=h.floating;let B,H;S==="top"||S==="bottom"?(B=S,H=R===(await(d.isRTL==null?void 0:d.isRTL(g.floating))?"start":"end")?"left":"right"):(H=S,B=R==="end"?"top":"bottom");const $=L-C.top-C.bottom,W=D-C.left-C.right,J=al(L-C[B],$),Z=al(D-C[H],W),X=!n.middlewareData.shift;let te=J,we=Z;if((a=n.middlewareData.shift)!=null&&a.enabled.x&&(we=W),(s=n.middlewareData.shift)!=null&&s.enabled.y&&(te=$),X&&!R){const K=oi(C.left,0),Ee=oi(C.right,0),ge=oi(C.top,0),Re=oi(C.bottom,0);k?we=D-2*(K!==0||Ee!==0?K+Ee:oi(C.left,C.right)):te=L-2*(ge!==0||Re!==0?ge+Re:oi(C.top,C.bottom))}await E({...n,availableWidth:we,availableHeight:te});const Me=await d.getDimensions(g.floating);return D!==Me.width||L!==Me.height?{reset:{rects:!0}}:{}}}};function ty(){return typeof window<"u"}function ip(e){return wR(e)?(e.nodeName||"").toLowerCase():"#document"}function ui(e){var n;return(e==null||(n=e.ownerDocument)==null?void 0:n.defaultView)||window}function Qo(e){var n;return(n=(wR(e)?e.ownerDocument:e.document)||window.document)==null?void 0:n.documentElement}function wR(e){return ty()?e instanceof Node||e instanceof ui(e).Node:!1}function lo(e){return ty()?e instanceof Element||e instanceof ui(e).Element:!1}function Yo(e){return ty()?e instanceof HTMLElement||e instanceof ui(e).HTMLElement:!1}function Fk(e){return!ty()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof ui(e).ShadowRoot}function Xm(e){const{overflow:n,overflowX:a,overflowY:s,display:f}=co(e);return/auto|scroll|overlay|hidden|clip/.test(n+s+a)&&!["inline","contents"].includes(f)}function mj(e){return["table","td","th"].includes(ip(e))}function ny(e){return[":popover-open",":modal"].some(n=>{try{return e.matches(n)}catch{return!1}})}function fT(e){const n=pT(),a=lo(e)?co(e):e;return a.transform!=="none"||a.perspective!=="none"||(a.containerType?a.containerType!=="normal":!1)||!n&&(a.backdropFilter?a.backdropFilter!=="none":!1)||!n&&(a.filter?a.filter!=="none":!1)||["transform","perspective","filter"].some(s=>(a.willChange||"").includes(s))||["paint","layout","strict","content"].some(s=>(a.contain||"").includes(s))}function gj(e){let n=ul(e);for(;Yo(n)&&!Gf(n);){if(fT(n))return n;if(ny(n))return null;n=ul(n)}return null}function pT(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Gf(e){return["html","body","#document"].includes(ip(e))}function co(e){return ui(e).getComputedStyle(e)}function ry(e){return lo(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ul(e){if(ip(e)==="html")return e;const n=e.assignedSlot||e.parentNode||Fk(e)&&e.host||Qo(e);return Fk(n)?n.host:n}function TR(e){const n=ul(e);return Gf(n)?e.ownerDocument?e.ownerDocument.body:e.body:Yo(n)&&Xm(n)?n:TR(n)}function Hm(e,n,a){var s;n===void 0&&(n=[]),a===void 0&&(a=!0);const f=TR(e),h=f===((s=e.ownerDocument)==null?void 0:s.body),d=ui(f);if(h){const g=Mw(d);return n.concat(d,d.visualViewport||[],Xm(f)?f:[],g&&a?Hm(g):[])}return n.concat(f,Hm(f,[],a))}function Mw(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function SR(e){const n=co(e);let a=parseFloat(n.width)||0,s=parseFloat(n.height)||0;const f=Yo(e),h=f?e.offsetWidth:a,d=f?e.offsetHeight:s,g=M1(a)!==h||M1(s)!==d;return g&&(a=h,s=d),{width:a,height:s,$:g}}function hT(e){return lo(e)?e:e.contextElement}function Vf(e){const n=hT(e);if(!Yo(n))return il(1);const a=n.getBoundingClientRect(),{width:s,height:f,$:h}=SR(n);let d=(h?M1(a.width):a.width)/s,g=(h?M1(a.height):a.height)/f;return(!d||!Number.isFinite(d))&&(d=1),(!g||!Number.isFinite(g))&&(g=1),{x:d,y:g}}const vj=il(0);function CR(e){const n=ui(e);return!pT()||!n.visualViewport?vj:{x:n.visualViewport.offsetLeft,y:n.visualViewport.offsetTop}}function yj(e,n,a){return n===void 0&&(n=!1),!a||n&&a!==ui(e)?!1:n}function Nc(e,n,a,s){n===void 0&&(n=!1),a===void 0&&(a=!1);const f=e.getBoundingClientRect(),h=hT(e);let d=il(1);n&&(s?lo(s)&&(d=Vf(s)):d=Vf(e));const g=yj(h,a,s)?CR(h):il(0);let E=(f.left+g.x)/d.x,b=(f.top+g.y)/d.y,C=f.width/d.x,S=f.height/d.y;if(h){const R=ui(h),k=s&&lo(s)?ui(s):s;let D=R,L=Mw(D);for(;L&&s&&k!==D;){const B=Vf(L),H=L.getBoundingClientRect(),$=co(L),W=H.left+(L.clientLeft+parseFloat($.paddingLeft))*B.x,J=H.top+(L.clientTop+parseFloat($.paddingTop))*B.y;E*=B.x,b*=B.y,C*=B.x,S*=B.y,E+=W,b+=J,D=ui(L),L=Mw(D)}}return F1({width:C,height:S,x:E,y:b})}function Ej(e){let{elements:n,rect:a,offsetParent:s,strategy:f}=e;const h=f==="fixed",d=Qo(s),g=n?ny(n.floating):!1;if(s===d||g&&h)return a;let E={scrollLeft:0,scrollTop:0},b=il(1);const C=il(0),S=Yo(s);if((S||!S&&!h)&&((ip(s)!=="body"||Xm(d))&&(E=ry(s)),Yo(s))){const R=Nc(s);b=Vf(s),C.x=R.x+s.clientLeft,C.y=R.y+s.clientTop}return{width:a.width*b.x,height:a.height*b.y,x:a.x*b.x-E.scrollLeft*b.x+C.x,y:a.y*b.y-E.scrollTop*b.y+C.y}}function bj(e){return Array.from(e.getClientRects())}function Pw(e,n){const a=ry(e).scrollLeft;return n?n.left+a:Nc(Qo(e)).left+a}function xj(e){const n=Qo(e),a=ry(e),s=e.ownerDocument.body,f=oi(n.scrollWidth,n.clientWidth,s.scrollWidth,s.clientWidth),h=oi(n.scrollHeight,n.clientHeight,s.scrollHeight,s.clientHeight);let d=-a.scrollLeft+Pw(e);const g=-a.scrollTop;return co(s).direction==="rtl"&&(d+=oi(n.clientWidth,s.clientWidth)-f),{width:f,height:h,x:d,y:g}}function wj(e,n){const a=ui(e),s=Qo(e),f=a.visualViewport;let h=s.clientWidth,d=s.clientHeight,g=0,E=0;if(f){h=f.width,d=f.height;const b=pT();(!b||b&&n==="fixed")&&(g=f.offsetLeft,E=f.offsetTop)}return{width:h,height:d,x:g,y:E}}function Tj(e,n){const a=Nc(e,!0,n==="fixed"),s=a.top+e.clientTop,f=a.left+e.clientLeft,h=Yo(e)?Vf(e):il(1),d=e.clientWidth*h.x,g=e.clientHeight*h.y,E=f*h.x,b=s*h.y;return{width:d,height:g,x:E,y:b}}function Uk(e,n,a){let s;if(n==="viewport")s=wj(e,a);else if(n==="document")s=xj(Qo(e));else if(lo(n))s=Tj(n,a);else{const f=CR(e);s={...n,x:n.x-f.x,y:n.y-f.y}}return F1(s)}function _R(e,n){const a=ul(e);return a===n||!lo(a)||Gf(a)?!1:co(a).position==="fixed"||_R(a,n)}function Sj(e,n){const a=n.get(e);if(a)return a;let s=Hm(e,[],!1).filter(g=>lo(g)&&ip(g)!=="body"),f=null;const h=co(e).position==="fixed";let d=h?ul(e):e;for(;lo(d)&&!Gf(d);){const g=co(d),E=fT(d);!E&&g.position==="fixed"&&(f=null),(h?!E&&!f:!E&&g.position==="static"&&!!f&&["absolute","fixed"].includes(f.position)||Xm(d)&&!E&&_R(e,d))?s=s.filter(C=>C!==d):f=g,d=ul(d)}return n.set(e,s),s}function Cj(e){let{element:n,boundary:a,rootBoundary:s,strategy:f}=e;const d=[...a==="clippingAncestors"?ny(n)?[]:Sj(n,this._c):[].concat(a),s],g=d[0],E=d.reduce((b,C)=>{const S=Uk(n,C,f);return b.top=oi(S.top,b.top),b.right=al(S.right,b.right),b.bottom=al(S.bottom,b.bottom),b.left=oi(S.left,b.left),b},Uk(n,g,f));return{width:E.right-E.left,height:E.bottom-E.top,x:E.left,y:E.top}}function _j(e){const{width:n,height:a}=SR(e);return{width:n,height:a}}function kj(e,n,a){const s=Yo(n),f=Qo(n),h=a==="fixed",d=Nc(e,!0,h,n);let g={scrollLeft:0,scrollTop:0};const E=il(0);if(s||!s&&!h)if((ip(n)!=="body"||Xm(f))&&(g=ry(n)),s){const k=Nc(n,!0,h,n);E.x=k.x+n.clientLeft,E.y=k.y+n.clientTop}else f&&(E.x=Pw(f));let b=0,C=0;if(f&&!s&&!h){const k=f.getBoundingClientRect();C=k.top+g.scrollTop,b=k.left+g.scrollLeft-Pw(f,k)}const S=d.left+g.scrollLeft-E.x-b,R=d.top+g.scrollTop-E.y-C;return{x:S,y:R,width:d.width,height:d.height}}function uw(e){return co(e).position==="static"}function Bk(e,n){if(!Yo(e)||co(e).position==="fixed")return null;if(n)return n(e);let a=e.offsetParent;return Qo(e)===a&&(a=a.ownerDocument.body),a}function kR(e,n){const a=ui(e);if(ny(e))return a;if(!Yo(e)){let f=ul(e);for(;f&&!Gf(f);){if(lo(f)&&!uw(f))return f;f=ul(f)}return a}let s=Bk(e,n);for(;s&&mj(s)&&uw(s);)s=Bk(s,n);return s&&Gf(s)&&uw(s)&&!fT(s)?a:s||gj(e)||a}const Aj=async function(e){const n=this.getOffsetParent||kR,a=this.getDimensions,s=await a(e.floating);return{reference:kj(e.reference,await n(e.floating),e.strategy),floating:{x:0,y:0,width:s.width,height:s.height}}};function Rj(e){return co(e).direction==="rtl"}const Nj={convertOffsetParentRelativeRectToViewportRelativeRect:Ej,getDocumentElement:Qo,getClippingRect:Cj,getOffsetParent:kR,getElementRects:Aj,getClientRects:bj,getDimensions:_j,getScale:Vf,isElement:lo,isRTL:Rj};function Dj(e,n){let a=null,s;const f=Qo(e);function h(){var g;clearTimeout(s),(g=a)==null||g.disconnect(),a=null}function d(g,E){g===void 0&&(g=!1),E===void 0&&(E=1),h();const{left:b,top:C,width:S,height:R}=e.getBoundingClientRect();if(g||n(),!S||!R)return;const k=p1(C),D=p1(f.clientWidth-(b+S)),L=p1(f.clientHeight-(C+R)),B=p1(b),$={rootMargin:-k+"px "+-D+"px "+-L+"px "+-B+"px",threshold:oi(0,al(1,E))||1};let W=!0;function J(Z){const X=Z[0].intersectionRatio;if(X!==E){if(!W)return d();X?d(!1,X):s=setTimeout(()=>{d(!1,1e-7)},1e3)}W=!1}try{a=new IntersectionObserver(J,{...$,root:f.ownerDocument})}catch{a=new IntersectionObserver(J,$)}a.observe(e)}return d(!0),h}function Oj(e,n,a,s){s===void 0&&(s={});const{ancestorScroll:f=!0,ancestorResize:h=!0,elementResize:d=typeof ResizeObserver=="function",layoutShift:g=typeof IntersectionObserver=="function",animationFrame:E=!1}=s,b=hT(e),C=f||h?[...b?Hm(b):[],...Hm(n)]:[];C.forEach(H=>{f&&H.addEventListener("scroll",a,{passive:!0}),h&&H.addEventListener("resize",a)});const S=b&&g?Dj(b,a):null;let R=-1,k=null;d&&(k=new ResizeObserver(H=>{let[$]=H;$&&$.target===b&&k&&(k.unobserve(n),cancelAnimationFrame(R),R=requestAnimationFrame(()=>{var W;(W=k)==null||W.observe(n)})),a()}),b&&!E&&k.observe(b),k.observe(n));let D,L=E?Nc(e):null;E&&B();function B(){const H=Nc(e);L&&(H.x!==L.x||H.y!==L.y||H.width!==L.width||H.height!==L.height)&&a(),L=H,D=requestAnimationFrame(B)}return a(),()=>{var H;C.forEach($=>{f&&$.removeEventListener("scroll",a),h&&$.removeEventListener("resize",a)}),S==null||S(),(H=k)==null||H.disconnect(),k=null,E&&cancelAnimationFrame(D)}}const Lj=dj,Ij=fj,Mj=sj,Pj=hj,Fj=lj,Hk=uj,Uj=pj,Bj=(e,n,a)=>{const s=new Map,f={platform:Nj,...a},h={...f.platform,_c:s};return oj(e,n,{...f,platform:h})};var S1=typeof document<"u"?Tt.useLayoutEffect:Tt.useEffect;function U1(e,n){if(e===n)return!0;if(typeof e!=typeof n)return!1;if(typeof e=="function"&&e.toString()===n.toString())return!0;let a,s,f;if(e&&n&&typeof e=="object"){if(Array.isArray(e)){if(a=e.length,a!==n.length)return!1;for(s=a;s--!==0;)if(!U1(e[s],n[s]))return!1;return!0}if(f=Object.keys(e),a=f.length,a!==Object.keys(n).length)return!1;for(s=a;s--!==0;)if(!{}.hasOwnProperty.call(n,f[s]))return!1;for(s=a;s--!==0;){const h=f[s];if(!(h==="_owner"&&e.$$typeof)&&!U1(e[h],n[h]))return!1}return!0}return e!==e&&n!==n}function AR(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function zk(e,n){const a=AR(e);return Math.round(n*a)/a}function sw(e){const n=ie.useRef(e);return S1(()=>{n.current=e}),n}function Hj(e){e===void 0&&(e={});const{placement:n="bottom",strategy:a="absolute",middleware:s=[],platform:f,elements:{reference:h,floating:d}={},transform:g=!0,whileElementsMounted:E,open:b}=e,[C,S]=ie.useState({x:0,y:0,strategy:a,placement:n,middlewareData:{},isPositioned:!1}),[R,k]=ie.useState(s);U1(R,s)||k(s);const[D,L]=ie.useState(null),[B,H]=ie.useState(null),$=ie.useCallback(he=>{he!==X.current&&(X.current=he,L(he))},[]),W=ie.useCallback(he=>{he!==te.current&&(te.current=he,H(he))},[]),J=h||D,Z=d||B,X=ie.useRef(null),te=ie.useRef(null),we=ie.useRef(C),Me=E!=null,K=sw(E),Ee=sw(f),ge=sw(b),Re=ie.useCallback(()=>{if(!X.current||!te.current)return;const he={placement:n,strategy:a,middleware:R};Ee.current&&(he.platform=Ee.current),Bj(X.current,te.current,he).then(De=>{const F={...De,isPositioned:ge.current!==!1};Oe.current&&!U1(we.current,F)&&(we.current=F,Um.flushSync(()=>{S(F)}))})},[R,n,a,Ee,ge]);S1(()=>{b===!1&&we.current.isPositioned&&(we.current.isPositioned=!1,S(he=>({...he,isPositioned:!1})))},[b]);const Oe=ie.useRef(!1);S1(()=>(Oe.current=!0,()=>{Oe.current=!1}),[]),S1(()=>{if(J&&(X.current=J),Z&&(te.current=Z),J&&Z){if(K.current)return K.current(J,Z,Re);Re()}},[J,Z,Re,K,Me]);const qe=ie.useMemo(()=>({reference:X,floating:te,setReference:$,setFloating:W}),[$,W]),je=ie.useMemo(()=>({reference:J,floating:Z}),[J,Z]),at=ie.useMemo(()=>{const he={position:a,left:0,top:0};if(!je.floating)return he;const De=zk(je.floating,C.x),F=zk(je.floating,C.y);return g?{...he,transform:"translate("+De+"px, "+F+"px)",...AR(je.floating)>=1.5&&{willChange:"transform"}}:{position:a,left:De,top:F}},[a,g,je.floating,C.x,C.y]);return ie.useMemo(()=>({...C,update:Re,refs:qe,elements:je,floatingStyles:at}),[C,Re,qe,je,at])}const zj=e=>{function n(a){return{}.hasOwnProperty.call(a,"current")}return{name:"arrow",options:e,fn(a){const{element:s,padding:f}=typeof e=="function"?e(a):e;return s&&n(s)?s.current!=null?Hk({element:s.current,padding:f}).fn(a):{}:s?Hk({element:s,padding:f}).fn(a):{}}}},jj=(e,n)=>({...Lj(e),options:[e,n]}),Vj=(e,n)=>({...Ij(e),options:[e,n]}),Yj=(e,n)=>({...Uj(e),options:[e,n]}),Wj=(e,n)=>({...Mj(e),options:[e,n]}),qj=(e,n)=>({...Pj(e),options:[e,n]}),Qj=(e,n)=>({...Fj(e),options:[e,n]}),Gj=(e,n)=>({...zj(e),options:[e,n]});var $j="Arrow",RR=ie.forwardRef((e,n)=>{const{children:a,width:s=10,height:f=5,...h}=e;return I.jsx(dl.svg,{...h,ref:n,width:s,height:f,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?a:I.jsx("polygon",{points:"0,0 30,0 15,10"})})});RR.displayName=$j;var Xj=RR;function Kj(e,n=[]){let a=[];function s(h,d){const g=ie.createContext(d),E=a.length;a=[...a,d];function b(S){const{scope:R,children:k,...D}=S,L=(R==null?void 0:R[e][E])||g,B=ie.useMemo(()=>D,Object.values(D));return I.jsx(L.Provider,{value:B,children:k})}function C(S,R){const k=(R==null?void 0:R[e][E])||g,D=ie.useContext(k);if(D)return D;if(d!==void 0)return d;throw new Error(`\`${S}\` must be used within \`${h}\``)}return b.displayName=h+"Provider",[b,C]}const f=()=>{const h=a.map(d=>ie.createContext(d));return function(g){const E=(g==null?void 0:g[e])||h;return ie.useMemo(()=>({[`__scope${e}`]:{...g,[e]:E}}),[g,E])}};return f.scopeName=e,[s,Jj(f,...n)]}function Jj(...e){const n=e[0];if(e.length===1)return n;const a=()=>{const s=e.map(f=>({useScope:f(),scopeName:f.scopeName}));return function(h){const d=s.reduce((g,{useScope:E,scopeName:b})=>{const S=E(h)[`__scope${b}`];return{...g,...S}},{});return ie.useMemo(()=>({[`__scope${n.scopeName}`]:d}),[d])}};return a.scopeName=n.scopeName,a}function Zj(e){const[n,a]=ie.useState(void 0);return Qf(()=>{if(e){a({width:e.offsetWidth,height:e.offsetHeight});const s=new ResizeObserver(f=>{if(!Array.isArray(f)||!f.length)return;const h=f[0];let d,g;if("borderBoxSize"in h){const E=h.borderBoxSize,b=Array.isArray(E)?E[0]:E;d=b.inlineSize,g=b.blockSize}else d=e.offsetWidth,g=e.offsetHeight;a({width:d,height:g})});return s.observe(e,{box:"border-box"}),()=>s.unobserve(e)}else a(void 0)},[e]),n}var mT="Popper",[NR,DR]=Kj(mT),[eV,OR]=NR(mT),LR=e=>{const{__scopePopper:n,children:a}=e,[s,f]=ie.useState(null);return I.jsx(eV,{scope:n,anchor:s,onAnchorChange:f,children:a})};LR.displayName=mT;var IR="PopperAnchor",MR=ie.forwardRef((e,n)=>{const{__scopePopper:a,virtualRef:s,...f}=e,h=OR(IR,a),d=ie.useRef(null),g=cl(n,d);return ie.useEffect(()=>{h.onAnchorChange((s==null?void 0:s.current)||d.current)}),s?null:I.jsx(dl.div,{...f,ref:g})});MR.displayName=IR;var gT="PopperContent",[tV,nV]=NR(gT),PR=ie.forwardRef((e,n)=>{var ar,cn,Rn,kr,Nn,Br;const{__scopePopper:a,side:s="bottom",sideOffset:f=0,align:h="center",alignOffset:d=0,arrowPadding:g=0,avoidCollisions:E=!0,collisionBoundary:b=[],collisionPadding:C=0,sticky:S="partial",hideWhenDetached:R=!1,updatePositionStrategy:k="optimized",onPlaced:D,...L}=e,B=OR(gT,a),[H,$]=ie.useState(null),W=cl(n,an=>$(an)),[J,Z]=ie.useState(null),X=Zj(J),te=(X==null?void 0:X.width)??0,we=(X==null?void 0:X.height)??0,Me=s+(h!=="center"?"-"+h:""),K=typeof C=="number"?C:{top:0,right:0,bottom:0,left:0,...C},Ee=Array.isArray(b)?b:[b],ge=Ee.length>0,Re={padding:K,boundary:Ee.filter(aV),altBoundary:ge},{refs:Oe,floatingStyles:qe,placement:je,isPositioned:at,middlewareData:he}=Hj({strategy:"fixed",placement:Me,whileElementsMounted:(...an)=>Oj(...an,{animationFrame:k==="always"}),elements:{reference:B.anchor},middleware:[jj({mainAxis:f+we,alignmentAxis:d}),E&&Vj({mainAxis:!0,crossAxis:!1,limiter:S==="partial"?Yj():void 0,...Re}),E&&Wj({...Re}),qj({...Re,apply:({elements:an,rects:Fn,availableWidth:ir,availableHeight:yr})=>{const{width:$n,height:oa}=Fn.reference,Hr=an.floating.style;Hr.setProperty("--radix-popper-available-width",`${ir}px`),Hr.setProperty("--radix-popper-available-height",`${yr}px`),Hr.setProperty("--radix-popper-anchor-width",`${$n}px`),Hr.setProperty("--radix-popper-anchor-height",`${oa}px`)}}),J&&Gj({element:J,padding:g}),iV({arrowWidth:te,arrowHeight:we}),R&&Qj({strategy:"referenceHidden",...Re})]}),[De,F]=BR(je),et=rl(D);Qf(()=>{at&&(et==null||et())},[at,et]);const Et=(ar=he.arrow)==null?void 0:ar.x,V=(cn=he.arrow)==null?void 0:cn.y,Gt=((Rn=he.arrow)==null?void 0:Rn.centerOffset)!==0,[Gn,Nt]=ie.useState();return Qf(()=>{H&&Nt(window.getComputedStyle(H).zIndex)},[H]),I.jsx("div",{ref:Oe.setFloating,"data-radix-popper-content-wrapper":"",style:{...qe,transform:at?qe.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:Gn,"--radix-popper-transform-origin":[(kr=he.transformOrigin)==null?void 0:kr.x,(Nn=he.transformOrigin)==null?void 0:Nn.y].join(" "),...((Br=he.hide)==null?void 0:Br.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:I.jsx(tV,{scope:a,placedSide:De,onArrowChange:Z,arrowX:Et,arrowY:V,shouldHideArrow:Gt,children:I.jsx(dl.div,{"data-side":De,"data-align":F,...L,ref:W,style:{...L.style,animation:at?void 0:"none"}})})})});PR.displayName=gT;var FR="PopperArrow",rV={top:"bottom",right:"left",bottom:"top",left:"right"},UR=ie.forwardRef(function(n,a){const{__scopePopper:s,...f}=n,h=nV(FR,s),d=rV[h.placedSide];return I.jsx("span",{ref:h.onArrowChange,style:{position:"absolute",left:h.arrowX,top:h.arrowY,[d]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[h.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[h.placedSide],visibility:h.shouldHideArrow?"hidden":void 0},children:I.jsx(Xj,{...f,ref:a,style:{...f.style,display:"block"}})})});UR.displayName=FR;function aV(e){return e!==null}var iV=e=>({name:"transformOrigin",options:e,fn(n){var B,H,$;const{placement:a,rects:s,middlewareData:f}=n,d=((B=f.arrow)==null?void 0:B.centerOffset)!==0,g=d?0:e.arrowWidth,E=d?0:e.arrowHeight,[b,C]=BR(a),S={start:"0%",center:"50%",end:"100%"}[C],R=(((H=f.arrow)==null?void 0:H.x)??0)+g/2,k=((($=f.arrow)==null?void 0:$.y)??0)+E/2;let D="",L="";return b==="bottom"?(D=d?S:`${R}px`,L=`${-E}px`):b==="top"?(D=d?S:`${R}px`,L=`${s.floating.height+E}px`):b==="right"?(D=`${-E}px`,L=d?S:`${k}px`):b==="left"&&(D=`${s.floating.width+E}px`,L=d?S:`${k}px`),{data:{x:D,y:L}}}});function BR(e){const[n,a="center"]=e.split("-");return[n,a]}var oV=LR,HR=MR,uV=PR,sV=UR;function lV(e,n){return ie.useReducer((a,s)=>n[a][s]??a,e)}var zR=e=>{const{present:n,children:a}=e,s=cV(n),f=typeof a=="function"?a({present:s.isPresent}):ie.Children.only(a),h=cl(s.ref,dV(f));return typeof a=="function"||s.isPresent?ie.cloneElement(f,{ref:h}):null};zR.displayName="Presence";function cV(e){const[n,a]=ie.useState(),s=ie.useRef({}),f=ie.useRef(e),h=ie.useRef("none"),d=e?"mounted":"unmounted",[g,E]=lV(d,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return ie.useEffect(()=>{const b=h1(s.current);h.current=g==="mounted"?b:"none"},[g]),Qf(()=>{const b=s.current,C=f.current;if(C!==e){const R=h.current,k=h1(b);e?E("MOUNT"):k==="none"||(b==null?void 0:b.display)==="none"?E("UNMOUNT"):E(C&&R!==k?"ANIMATION_OUT":"UNMOUNT"),f.current=e}},[e,E]),Qf(()=>{if(n){let b;const C=n.ownerDocument.defaultView??window,S=k=>{const L=h1(s.current).includes(k.animationName);if(k.target===n&&L&&(E("ANIMATION_END"),!f.current)){const B=n.style.animationFillMode;n.style.animationFillMode="forwards",b=C.setTimeout(()=>{n.style.animationFillMode==="forwards"&&(n.style.animationFillMode=B)})}},R=k=>{k.target===n&&(h.current=h1(s.current))};return n.addEventListener("animationstart",R),n.addEventListener("animationcancel",S),n.addEventListener("animationend",S),()=>{C.clearTimeout(b),n.removeEventListener("animationstart",R),n.removeEventListener("animationcancel",S),n.removeEventListener("animationend",S)}}else E("ANIMATION_END")},[n,E]),{isPresent:["mounted","unmountSuspended"].includes(g),ref:ie.useCallback(b=>{b&&(s.current=getComputedStyle(b)),a(b)},[])}}function h1(e){return(e==null?void 0:e.animationName)||"none"}function dV(e){var s,f;let n=(s=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:s.get,a=n&&"isReactWarning"in n&&n.isReactWarning;return a?e.ref:(n=(f=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:f.get,a=n&&"isReactWarning"in n&&n.isReactWarning,a?e.props.ref:e.props.ref||e.ref)}function fV({prop:e,defaultProp:n,onChange:a=()=>{}}){const[s,f]=pV({defaultProp:n,onChange:a}),h=e!==void 0,d=h?e:s,g=rl(a),E=ie.useCallback(b=>{if(h){const S=typeof b=="function"?b(e):b;S!==e&&g(S)}else f(b)},[h,e,f,g]);return[d,E]}function pV({defaultProp:e,onChange:n}){const a=ie.useState(e),[s]=a,f=ie.useRef(s),h=rl(n);return ie.useEffect(()=>{f.current!==s&&(h(s),f.current=s)},[s,f,h]),a}var hV=function(e){if(typeof document>"u")return null;var n=Array.isArray(e)?e[0]:e;return n.ownerDocument.body},Pf=new WeakMap,m1=new WeakMap,g1={},lw=0,jR=function(e){return e&&(e.host||jR(e.parentNode))},mV=function(e,n){return n.map(function(a){if(e.contains(a))return a;var s=jR(a);return s&&e.contains(s)?s:(console.error("aria-hidden",a,"in not contained inside",e,". Doing nothing"),null)}).filter(function(a){return!!a})},gV=function(e,n,a,s){var f=mV(n,Array.isArray(e)?e:[e]);g1[a]||(g1[a]=new WeakMap);var h=g1[a],d=[],g=new Set,E=new Set(f),b=function(S){!S||g.has(S)||(g.add(S),b(S.parentNode))};f.forEach(b);var C=function(S){!S||E.has(S)||Array.prototype.forEach.call(S.children,function(R){if(g.has(R))C(R);else try{var k=R.getAttribute(s),D=k!==null&&k!=="false",L=(Pf.get(R)||0)+1,B=(h.get(R)||0)+1;Pf.set(R,L),h.set(R,B),d.push(R),L===1&&D&&m1.set(R,!0),B===1&&R.setAttribute(a,"true"),D||R.setAttribute(s,"true")}catch(H){console.error("aria-hidden: cannot operate on ",R,H)}})};return C(n),g.clear(),lw++,function(){d.forEach(function(S){var R=Pf.get(S)-1,k=h.get(S)-1;Pf.set(S,R),h.set(S,k),R||(m1.has(S)||S.removeAttribute(s),m1.delete(S)),k||S.removeAttribute(a)}),lw--,lw||(Pf=new WeakMap,Pf=new WeakMap,m1=new WeakMap,g1={})}},vV=function(e,n,a){a===void 0&&(a="data-aria-hidden");var s=Array.from(Array.isArray(e)?e:[e]),f=hV(e);return f?(s.push.apply(s,Array.from(f.querySelectorAll("[aria-live]"))),gV(s,f,a,"aria-hidden")):function(){return null}},C1="right-scroll-bar-position",_1="width-before-scroll-bar",yV="with-scroll-bars-hidden",EV="--removed-body-scroll-bar-size";function cw(e,n){return typeof e=="function"?e(n):e&&(e.current=n),e}function bV(e,n){var a=Tt.useState(function(){return{value:e,callback:n,facade:{get current(){return a.value},set current(s){var f=a.value;f!==s&&(a.value=s,a.callback(s,f))}}}})[0];return a.callback=n,a.facade}var xV=typeof window<"u"?ie.useLayoutEffect:ie.useEffect,jk=new WeakMap;function wV(e,n){var a=bV(null,function(s){return e.forEach(function(f){return cw(f,s)})});return xV(function(){var s=jk.get(a);if(s){var f=new Set(s),h=new Set(e),d=a.current;f.forEach(function(g){h.has(g)||cw(g,null)}),h.forEach(function(g){f.has(g)||cw(g,d)})}jk.set(a,e)},[e]),a}function TV(e){return e}function SV(e,n){n===void 0&&(n=TV);var a=[],s=!1,f={read:function(){if(s)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return a.length?a[a.length-1]:e},useMedium:function(h){var d=n(h,s);return a.push(d),function(){a=a.filter(function(g){return g!==d})}},assignSyncMedium:function(h){for(s=!0;a.length;){var d=a;a=[],d.forEach(h)}a={push:function(g){return h(g)},filter:function(){return a}}},assignMedium:function(h){s=!0;var d=[];if(a.length){var g=a;a=[],g.forEach(h),d=a}var E=function(){var C=d;d=[],C.forEach(h)},b=function(){return Promise.resolve().then(E)};b(),a={push:function(C){d.push(C),b()},filter:function(C){return d=d.filter(C),a}}}};return f}function CV(e){e===void 0&&(e={});var n=SV(null);return n.options=ft.__assign({async:!0,ssr:!1},e),n}var VR=function(e){var n=e.sideCar,a=ft.__rest(e,["sideCar"]);if(!n)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var s=n.read();if(!s)throw new Error("Sidecar medium not found");return ie.createElement(s,ft.__assign({},a))};VR.isSideCarExport=!0;function _V(e,n){return e.useMedium(n),VR}var YR=CV(),dw=function(){},ay=ie.forwardRef(function(e,n){var a=ie.useRef(null),s=ie.useState({onScrollCapture:dw,onWheelCapture:dw,onTouchMoveCapture:dw}),f=s[0],h=s[1],d=e.forwardProps,g=e.children,E=e.className,b=e.removeScrollBar,C=e.enabled,S=e.shards,R=e.sideCar,k=e.noIsolation,D=e.inert,L=e.allowPinchZoom,B=e.as,H=B===void 0?"div":B,$=e.gapMode,W=ft.__rest(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),J=R,Z=wV([a,n]),X=ft.__assign(ft.__assign({},W),f);return ie.createElement(ie.Fragment,null,C&&ie.createElement(J,{sideCar:YR,removeScrollBar:b,shards:S,noIsolation:k,inert:D,setCallbacks:h,allowPinchZoom:!!L,lockRef:a,gapMode:$}),d?ie.cloneElement(ie.Children.only(g),ft.__assign(ft.__assign({},X),{ref:Z})):ie.createElement(H,ft.__assign({},X,{className:E,ref:Z}),g))});ay.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};ay.classNames={fullWidth:_1,zeroRight:C1};var kV=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function AV(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var n=kV();return n&&e.setAttribute("nonce",n),e}function RV(e,n){e.styleSheet?e.styleSheet.cssText=n:e.appendChild(document.createTextNode(n))}function NV(e){var n=document.head||document.getElementsByTagName("head")[0];n.appendChild(e)}var DV=function(){var e=0,n=null;return{add:function(a){e==0&&(n=AV())&&(RV(n,a),NV(n)),e++},remove:function(){e--,!e&&n&&(n.parentNode&&n.parentNode.removeChild(n),n=null)}}},OV=function(){var e=DV();return function(n,a){ie.useEffect(function(){return e.add(n),function(){e.remove()}},[n&&a])}},WR=function(){var e=OV(),n=function(a){var s=a.styles,f=a.dynamic;return e(s,f),null};return n},LV={left:0,top:0,right:0,gap:0},fw=function(e){return parseInt(e||"",10)||0},IV=function(e){var n=window.getComputedStyle(document.body),a=n[e==="padding"?"paddingLeft":"marginLeft"],s=n[e==="padding"?"paddingTop":"marginTop"],f=n[e==="padding"?"paddingRight":"marginRight"];return[fw(a),fw(s),fw(f)]},MV=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return LV;var n=IV(e),a=document.documentElement.clientWidth,s=window.innerWidth;return{left:n[0],top:n[1],right:n[2],gap:Math.max(0,s-a+n[2]-n[0])}},PV=WR(),Yf="data-scroll-locked",FV=function(e,n,a,s){var f=e.left,h=e.top,d=e.right,g=e.gap;return a===void 0&&(a="margin"),`
203
- .`.concat(yV,` {
204
- overflow: hidden `).concat(s,`;
205
- padding-right: `).concat(g,"px ").concat(s,`;
206
- }
207
- body[`).concat(Yf,`] {
208
- overflow: hidden `).concat(s,`;
209
- overscroll-behavior: contain;
210
- `).concat([n&&"position: relative ".concat(s,";"),a==="margin"&&`
211
- padding-left: `.concat(f,`px;
212
- padding-top: `).concat(h,`px;
213
- padding-right: `).concat(d,`px;
214
- margin-left:0;
215
- margin-top:0;
216
- margin-right: `).concat(g,"px ").concat(s,`;
217
- `),a==="padding"&&"padding-right: ".concat(g,"px ").concat(s,";")].filter(Boolean).join(""),`
218
- }
219
-
220
- .`).concat(C1,` {
221
- right: `).concat(g,"px ").concat(s,`;
222
- }
223
-
224
- .`).concat(_1,` {
225
- margin-right: `).concat(g,"px ").concat(s,`;
226
- }
227
-
228
- .`).concat(C1," .").concat(C1,` {
229
- right: 0 `).concat(s,`;
230
- }
231
-
232
- .`).concat(_1," .").concat(_1,` {
233
- margin-right: 0 `).concat(s,`;
234
- }
235
-
236
- body[`).concat(Yf,`] {
237
- `).concat(EV,": ").concat(g,`px;
238
- }
239
- `)},Vk=function(){var e=parseInt(document.body.getAttribute(Yf)||"0",10);return isFinite(e)?e:0},UV=function(){ie.useEffect(function(){return document.body.setAttribute(Yf,(Vk()+1).toString()),function(){var e=Vk()-1;e<=0?document.body.removeAttribute(Yf):document.body.setAttribute(Yf,e.toString())}},[])},BV=function(e){var n=e.noRelative,a=e.noImportant,s=e.gapMode,f=s===void 0?"margin":s;UV();var h=ie.useMemo(function(){return MV(f)},[f]);return ie.createElement(PV,{styles:FV(h,!n,f,a?"":"!important")})},Fw=!1;if(typeof window<"u")try{var v1=Object.defineProperty({},"passive",{get:function(){return Fw=!0,!0}});window.addEventListener("test",v1,v1),window.removeEventListener("test",v1,v1)}catch{Fw=!1}var Ff=Fw?{passive:!1}:!1,HV=function(e){return e.tagName==="TEXTAREA"},qR=function(e,n){if(!(e instanceof Element))return!1;var a=window.getComputedStyle(e);return a[n]!=="hidden"&&!(a.overflowY===a.overflowX&&!HV(e)&&a[n]==="visible")},zV=function(e){return qR(e,"overflowY")},jV=function(e){return qR(e,"overflowX")},Yk=function(e,n){var a=n.ownerDocument,s=n;do{typeof ShadowRoot<"u"&&s instanceof ShadowRoot&&(s=s.host);var f=QR(e,s);if(f){var h=GR(e,s),d=h[1],g=h[2];if(d>g)return!0}s=s.parentNode}while(s&&s!==a.body);return!1},VV=function(e){var n=e.scrollTop,a=e.scrollHeight,s=e.clientHeight;return[n,a,s]},YV=function(e){var n=e.scrollLeft,a=e.scrollWidth,s=e.clientWidth;return[n,a,s]},QR=function(e,n){return e==="v"?zV(n):jV(n)},GR=function(e,n){return e==="v"?VV(n):YV(n)},WV=function(e,n){return e==="h"&&n==="rtl"?-1:1},qV=function(e,n,a,s,f){var h=WV(e,window.getComputedStyle(n).direction),d=h*s,g=a.target,E=n.contains(g),b=!1,C=d>0,S=0,R=0;do{var k=GR(e,g),D=k[0],L=k[1],B=k[2],H=L-B-h*D;(D||H)&&QR(e,g)&&(S+=H,R+=D),g instanceof ShadowRoot?g=g.host:g=g.parentNode}while(!E&&g!==document.body||E&&(n.contains(g)||n===g));return(C&&(Math.abs(S)<1||!f)||!C&&(Math.abs(R)<1||!f))&&(b=!0),b},y1=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Wk=function(e){return[e.deltaX,e.deltaY]},qk=function(e){return e&&"current"in e?e.current:e},QV=function(e,n){return e[0]===n[0]&&e[1]===n[1]},GV=function(e){return`
240
- .block-interactivity-`.concat(e,` {pointer-events: none;}
241
- .allow-interactivity-`).concat(e,` {pointer-events: all;}
242
- `)},$V=0,Uf=[];function XV(e){var n=ie.useRef([]),a=ie.useRef([0,0]),s=ie.useRef(),f=ie.useState($V++)[0],h=ie.useState(WR)[0],d=ie.useRef(e);ie.useEffect(function(){d.current=e},[e]),ie.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(f));var L=ft.__spreadArray([e.lockRef.current],(e.shards||[]).map(qk),!0).filter(Boolean);return L.forEach(function(B){return B.classList.add("allow-interactivity-".concat(f))}),function(){document.body.classList.remove("block-interactivity-".concat(f)),L.forEach(function(B){return B.classList.remove("allow-interactivity-".concat(f))})}}},[e.inert,e.lockRef.current,e.shards]);var g=ie.useCallback(function(L,B){if("touches"in L&&L.touches.length===2||L.type==="wheel"&&L.ctrlKey)return!d.current.allowPinchZoom;var H=y1(L),$=a.current,W="deltaX"in L?L.deltaX:$[0]-H[0],J="deltaY"in L?L.deltaY:$[1]-H[1],Z,X=L.target,te=Math.abs(W)>Math.abs(J)?"h":"v";if("touches"in L&&te==="h"&&X.type==="range")return!1;var we=Yk(te,X);if(!we)return!0;if(we?Z=te:(Z=te==="v"?"h":"v",we=Yk(te,X)),!we)return!1;if(!s.current&&"changedTouches"in L&&(W||J)&&(s.current=Z),!Z)return!0;var Me=s.current||Z;return qV(Me,B,L,Me==="h"?W:J,!0)},[]),E=ie.useCallback(function(L){var B=L;if(!(!Uf.length||Uf[Uf.length-1]!==h)){var H="deltaY"in B?Wk(B):y1(B),$=n.current.filter(function(Z){return Z.name===B.type&&(Z.target===B.target||B.target===Z.shadowParent)&&QV(Z.delta,H)})[0];if($&&$.should){B.cancelable&&B.preventDefault();return}if(!$){var W=(d.current.shards||[]).map(qk).filter(Boolean).filter(function(Z){return Z.contains(B.target)}),J=W.length>0?g(B,W[0]):!d.current.noIsolation;J&&B.cancelable&&B.preventDefault()}}},[]),b=ie.useCallback(function(L,B,H,$){var W={name:L,delta:B,target:H,should:$,shadowParent:KV(H)};n.current.push(W),setTimeout(function(){n.current=n.current.filter(function(J){return J!==W})},1)},[]),C=ie.useCallback(function(L){a.current=y1(L),s.current=void 0},[]),S=ie.useCallback(function(L){b(L.type,Wk(L),L.target,g(L,e.lockRef.current))},[]),R=ie.useCallback(function(L){b(L.type,y1(L),L.target,g(L,e.lockRef.current))},[]);ie.useEffect(function(){return Uf.push(h),e.setCallbacks({onScrollCapture:S,onWheelCapture:S,onTouchMoveCapture:R}),document.addEventListener("wheel",E,Ff),document.addEventListener("touchmove",E,Ff),document.addEventListener("touchstart",C,Ff),function(){Uf=Uf.filter(function(L){return L!==h}),document.removeEventListener("wheel",E,Ff),document.removeEventListener("touchmove",E,Ff),document.removeEventListener("touchstart",C,Ff)}},[]);var k=e.removeScrollBar,D=e.inert;return ie.createElement(ie.Fragment,null,D?ie.createElement(h,{styles:GV(f)}):null,k?ie.createElement(BV,{gapMode:e.gapMode}):null)}function KV(e){for(var n=null;e!==null;)e instanceof ShadowRoot&&(n=e.host,e=e.host),e=e.parentNode;return n}const JV=_V(YR,XV);var $R=ie.forwardRef(function(e,n){return ie.createElement(ay,ft.__assign({},e,{ref:n,sideCar:JV}))});$R.classNames=ay.classNames;var vT="Popover",[XR,wY]=Rz(vT,[DR]),Km=DR(),[ZV,Lc]=XR(vT),KR=e=>{const{__scopePopover:n,children:a,open:s,defaultOpen:f,onOpenChange:h,modal:d=!1}=e,g=Km(n),E=ie.useRef(null),[b,C]=ie.useState(!1),[S=!1,R]=fV({prop:s,defaultProp:f,onChange:h});return I.jsx(oV,{...g,children:I.jsx(ZV,{scope:n,contentId:Kz(),triggerRef:E,open:S,onOpenChange:R,onOpenToggle:ie.useCallback(()=>R(k=>!k),[R]),hasCustomAnchor:b,onCustomAnchorAdd:ie.useCallback(()=>C(!0),[]),onCustomAnchorRemove:ie.useCallback(()=>C(!1),[]),modal:d,children:a})})};KR.displayName=vT;var JR="PopoverAnchor",eY=ie.forwardRef((e,n)=>{const{__scopePopover:a,...s}=e,f=Lc(JR,a),h=Km(a),{onCustomAnchorAdd:d,onCustomAnchorRemove:g}=f;return ie.useEffect(()=>(d(),()=>g()),[d,g]),I.jsx(HR,{...h,...s,ref:n})});eY.displayName=JR;var ZR="PopoverTrigger",eN=ie.forwardRef((e,n)=>{const{__scopePopover:a,...s}=e,f=Lc(ZR,a),h=Km(a),d=cl(n,f.triggerRef),g=I.jsx(dl.button,{type:"button","aria-haspopup":"dialog","aria-expanded":f.open,"aria-controls":f.contentId,"data-state":aN(f.open),...s,ref:d,onClick:nl(e.onClick,f.onOpenToggle)});return f.hasCustomAnchor?g:I.jsx(HR,{asChild:!0,...h,children:g})});eN.displayName=ZR;var tY="PopoverPortal",[TY,nY]=XR(tY,{forceMount:void 0}),$f="PopoverContent",tN=ie.forwardRef((e,n)=>{const a=nY($f,e.__scopePopover),{forceMount:s=a.forceMount,...f}=e,h=Lc($f,e.__scopePopover);return I.jsx(zR,{present:s||h.open,children:h.modal?I.jsx(rY,{...f,ref:n}):I.jsx(aY,{...f,ref:n})})});tN.displayName=$f;var rY=ie.forwardRef((e,n)=>{const a=Lc($f,e.__scopePopover),s=ie.useRef(null),f=cl(n,s),h=ie.useRef(!1);return ie.useEffect(()=>{const d=s.current;if(d)return vV(d)},[]),I.jsx($R,{as:Uw.Slot,allowPinchZoom:!0,children:I.jsx(nN,{...e,ref:f,trapFocus:a.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:nl(e.onCloseAutoFocus,d=>{var g;d.preventDefault(),h.current||(g=a.triggerRef.current)==null||g.focus()}),onPointerDownOutside:nl(e.onPointerDownOutside,d=>{const g=d.detail.originalEvent,E=g.button===0&&g.ctrlKey===!0,b=g.button===2||E;h.current=b},{checkForDefaultPrevented:!1}),onFocusOutside:nl(e.onFocusOutside,d=>d.preventDefault(),{checkForDefaultPrevented:!1})})})}),aY=ie.forwardRef((e,n)=>{const a=Lc($f,e.__scopePopover),s=ie.useRef(!1),f=ie.useRef(!1);return I.jsx(nN,{...e,ref:n,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:h=>{var d,g;(d=e.onCloseAutoFocus)==null||d.call(e,h),h.defaultPrevented||(s.current||(g=a.triggerRef.current)==null||g.focus(),h.preventDefault()),s.current=!1,f.current=!1},onInteractOutside:h=>{var E,b;(E=e.onInteractOutside)==null||E.call(e,h),h.defaultPrevented||(s.current=!0,h.detail.originalEvent.type==="pointerdown"&&(f.current=!0));const d=h.target;((b=a.triggerRef.current)==null?void 0:b.contains(d))&&h.preventDefault(),h.detail.originalEvent.type==="focusin"&&f.current&&h.preventDefault()}})}),nN=ie.forwardRef((e,n)=>{const{__scopePopover:a,trapFocus:s,onOpenAutoFocus:f,onCloseAutoFocus:h,disableOutsidePointerEvents:d,onEscapeKeyDown:g,onPointerDownOutside:E,onFocusOutside:b,onInteractOutside:C,...S}=e,R=Lc($f,a),k=Km(a);return zz(),I.jsx(ER,{asChild:!0,loop:!0,trapped:s,onMountAutoFocus:f,onUnmountAutoFocus:h,children:I.jsx(vR,{asChild:!0,disableOutsidePointerEvents:d,onInteractOutside:C,onEscapeKeyDown:g,onPointerDownOutside:E,onFocusOutside:b,onDismiss:()=>R.onOpenChange(!1),children:I.jsx(uV,{"data-state":aN(R.open),role:"dialog",id:R.contentId,...k,...S,ref:n,style:{...S.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),rN="PopoverClose",iY=ie.forwardRef((e,n)=>{const{__scopePopover:a,...s}=e,f=Lc(rN,a);return I.jsx(dl.button,{type:"button",...s,ref:n,onClick:nl(e.onClick,()=>f.onOpenChange(!1))})});iY.displayName=rN;var oY="PopoverArrow",uY=ie.forwardRef((e,n)=>{const{__scopePopover:a,...s}=e,f=Km(a);return I.jsx(sV,{...f,...s,ref:n})});uY.displayName=oY;function aN(e){return e?"open":"closed"}var sY=KR,lY=tN;const iN='@import"https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..700;1,14..32,100..700&display=swap";@import"https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap";[data-opencx-widget] *,[data-opencx-widget] :before,[data-opencx-widget] :after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }[data-opencx-widget] ::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }[data-opencx-widget] *,[data-opencx-widget] :before,[data-opencx-widget] :after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}[data-opencx-widget] :before,[data-opencx-widget] :after{--tw-content: ""}[data-opencx-widget] html,[data-opencx-widget] :host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}[data-opencx-widget] body{margin:0;line-height:inherit}[data-opencx-widget] hr{height:0;color:inherit;border-top-width:1px}[data-opencx-widget] abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}[data-opencx-widget] h1,[data-opencx-widget] h2,[data-opencx-widget] h3,[data-opencx-widget] h4,[data-opencx-widget] h5,[data-opencx-widget] h6{font-size:inherit;font-weight:inherit}[data-opencx-widget] a{color:inherit;text-decoration:inherit}[data-opencx-widget] b,[data-opencx-widget] strong{font-weight:bolder}[data-opencx-widget] code,[data-opencx-widget] kbd,[data-opencx-widget] samp,[data-opencx-widget] pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}[data-opencx-widget] small{font-size:80%}[data-opencx-widget] sub,[data-opencx-widget] sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}[data-opencx-widget] sub{bottom:-.25em}[data-opencx-widget] sup{top:-.5em}[data-opencx-widget] table{text-indent:0;border-color:inherit;border-collapse:collapse}[data-opencx-widget] button,[data-opencx-widget] input,[data-opencx-widget] optgroup,[data-opencx-widget] select,[data-opencx-widget] textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}[data-opencx-widget] button,[data-opencx-widget] select{text-transform:none}[data-opencx-widget] button,[data-opencx-widget] input:where([type=button]),[data-opencx-widget] input:where([type=reset]),[data-opencx-widget] input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}[data-opencx-widget] :-moz-focusring{outline:auto}[data-opencx-widget] :-moz-ui-invalid{box-shadow:none}[data-opencx-widget] progress{vertical-align:baseline}[data-opencx-widget] ::-webkit-inner-spin-button,[data-opencx-widget] ::-webkit-outer-spin-button{height:auto}[data-opencx-widget] [type=search]{-webkit-appearance:textfield;outline-offset:-2px}[data-opencx-widget] ::-webkit-search-decoration{-webkit-appearance:none}[data-opencx-widget] ::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}[data-opencx-widget] summary{display:list-item}[data-opencx-widget] blockquote,[data-opencx-widget] dl,[data-opencx-widget] dd,[data-opencx-widget] h1,[data-opencx-widget] h2,[data-opencx-widget] h3,[data-opencx-widget] h4,[data-opencx-widget] h5,[data-opencx-widget] h6,[data-opencx-widget] hr,[data-opencx-widget] figure,[data-opencx-widget] p,[data-opencx-widget] pre{margin:0}[data-opencx-widget] fieldset{margin:0;padding:0}[data-opencx-widget] legend{padding:0}[data-opencx-widget] ol,[data-opencx-widget] ul,[data-opencx-widget] menu{list-style:none;margin:0;padding:0}[data-opencx-widget] dialog{padding:0}[data-opencx-widget] textarea{resize:vertical}[data-opencx-widget] input::-moz-placeholder,[data-opencx-widget] textarea::-moz-placeholder{opacity:1;color:#9ca3af}[data-opencx-widget] input::placeholder,[data-opencx-widget] textarea::placeholder{opacity:1;color:#9ca3af}[data-opencx-widget] button,[data-opencx-widget] [role=button]{cursor:pointer}[data-opencx-widget] :disabled{cursor:default}[data-opencx-widget] img,[data-opencx-widget] svg,[data-opencx-widget] video,[data-opencx-widget] canvas,[data-opencx-widget] audio,[data-opencx-widget] iframe,[data-opencx-widget] embed,[data-opencx-widget] object{display:block;vertical-align:middle}[data-opencx-widget] img,[data-opencx-widget] video{max-width:100%;height:auto}[data-opencx-widget] [hidden]:where(:not([hidden=until-found])){display:none}[data-opencx-widget] *{-ms-overflow-style:none;scrollbar-width:none}[data-opencx-widget] *::-webkit-scrollbar{display:none}[data-opencx-widget] *{border-color:hsl(var(--opencx-border))}[data-opencx-widget] .container{width:100%}@media (min-width: 640px){[data-opencx-widget] .container{max-width:640px}}@media (min-width: 768px){[data-opencx-widget] .container{max-width:768px}}@media (min-width: 1024px){[data-opencx-widget] .container{max-width:1024px}}@media (min-width: 1280px){[data-opencx-widget] .container{max-width:1280px}}@media (min-width: 1536px){[data-opencx-widget] .container{max-width:1536px}}[data-opencx-widget] .prose{color:var(--tw-prose-body);max-width:65ch}[data-opencx-widget] .prose :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}[data-opencx-widget] .prose :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-lead);font-size:1.25em;line-height:1.6;margin-top:1.2em;margin-bottom:1.2em}[data-opencx-widget] .prose :where(a):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-links);text-decoration:underline;font-weight:500}[data-opencx-widget] .prose :where(strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-bold);font-weight:600}[data-opencx-widget] .prose :where(a strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}[data-opencx-widget] .prose :where(blockquote strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}[data-opencx-widget] .prose :where(thead th strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}[data-opencx-widget] .prose :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal;margin-top:1.25em;margin-bottom:1.25em;padding-inline-start:1.625em}[data-opencx-widget] .prose :where(ol[type=A]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}[data-opencx-widget] .prose :where(ol[type=a]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}[data-opencx-widget] .prose :where(ol[type=A s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}[data-opencx-widget] .prose :where(ol[type=a s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}[data-opencx-widget] .prose :where(ol[type=I]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}[data-opencx-widget] .prose :where(ol[type=i]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}[data-opencx-widget] .prose :where(ol[type=I s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}[data-opencx-widget] .prose :where(ol[type=i s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}[data-opencx-widget] .prose :where(ol[type="1"]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal}[data-opencx-widget] .prose :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:disc;margin-top:1.25em;margin-bottom:1.25em;padding-inline-start:1.625em}[data-opencx-widget] .prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{font-weight:400;color:var(--tw-prose-counters)}[data-opencx-widget] .prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{color:var(--tw-prose-bullets)}[data-opencx-widget] .prose :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.25em}[data-opencx-widget] .prose :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){border-color:var(--tw-prose-hr);border-top-width:1px;margin-top:3em;margin-bottom:3em}[data-opencx-widget] .prose :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500;font-style:italic;color:var(--tw-prose-quotes);border-inline-start-width:.25rem;border-inline-start-color:var(--tw-prose-quote-borders);quotes:"“""”""‘""’";margin-top:1.6em;margin-bottom:1.6em;padding-inline-start:1em}[data-opencx-widget] .prose :where(blockquote p:first-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:open-quote}[data-opencx-widget] .prose :where(blockquote p:last-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:close-quote}[data-opencx-widget] .prose :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:800;font-size:2.25em;margin-top:0;margin-bottom:.8888889em;line-height:1.1111111}[data-opencx-widget] .prose :where(h1 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:900;color:inherit}[data-opencx-widget] .prose :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:700;font-size:1.5em;margin-top:2em;margin-bottom:1em;line-height:1.3333333}[data-opencx-widget] .prose :where(h2 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:800;color:inherit}[data-opencx-widget] .prose :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;font-size:1.25em;margin-top:1.6em;margin-bottom:.6em;line-height:1.6}[data-opencx-widget] .prose :where(h3 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}[data-opencx-widget] .prose :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.5em;margin-bottom:.5em;line-height:1.5}[data-opencx-widget] .prose :where(h4 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}[data-opencx-widget] .prose :where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}[data-opencx-widget] .prose :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){display:block;margin-top:2em;margin-bottom:2em}[data-opencx-widget] .prose :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}[data-opencx-widget] .prose :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500;font-family:inherit;color:var(--tw-prose-kbd);box-shadow:0 0 0 1px rgb(var(--tw-prose-kbd-shadows) / 10%),0 3px rgb(var(--tw-prose-kbd-shadows) / 10%);font-size:.875em;border-radius:.3125rem;padding-top:.1875em;padding-inline-end:.375em;padding-bottom:.1875em;padding-inline-start:.375em}[data-opencx-widget] .prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-code);font-weight:600;font-size:.875em}[data-opencx-widget] .prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:"`"}[data-opencx-widget] .prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:"`"}[data-opencx-widget] .prose :where(a code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}[data-opencx-widget] .prose :where(h1 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}[data-opencx-widget] .prose :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.875em}[data-opencx-widget] .prose :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.9em}[data-opencx-widget] .prose :where(h4 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}[data-opencx-widget] .prose :where(blockquote code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}[data-opencx-widget] .prose :where(thead th code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}[data-opencx-widget] .prose :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-pre-code);background-color:var(--tw-prose-pre-bg);overflow-x:auto;font-weight:400;font-size:.875em;line-height:1.7142857;margin-top:1.7142857em;margin-bottom:1.7142857em;border-radius:.375rem;padding-top:.8571429em;padding-inline-end:1.1428571em;padding-bottom:.8571429em;padding-inline-start:1.1428571em}[data-opencx-widget] .prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)){background-color:transparent;border-width:0;border-radius:0;padding:0;font-weight:inherit;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}[data-opencx-widget] .prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:none}[data-opencx-widget] .prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:none}[data-opencx-widget] .prose :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){width:100%;table-layout:auto;margin-top:2em;margin-bottom:2em;font-size:.875em;line-height:1.7142857}[data-opencx-widget] .prose :where(thead):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-th-borders)}[data-opencx-widget] .prose :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;vertical-align:bottom;padding-inline-end:.5714286em;padding-bottom:.5714286em;padding-inline-start:.5714286em}[data-opencx-widget] .prose :where(tbody tr):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-td-borders)}[data-opencx-widget] .prose :where(tbody tr:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:0}[data-opencx-widget] .prose :where(tbody td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:baseline}[data-opencx-widget] .prose :where(tfoot):not(:where([class~=not-prose],[class~=not-prose] *)){border-top-width:1px;border-top-color:var(--tw-prose-th-borders)}[data-opencx-widget] .prose :where(tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:top}[data-opencx-widget] .prose :where(th,td):not(:where([class~=not-prose],[class~=not-prose] *)){text-align:start}[data-opencx-widget] .prose :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}[data-opencx-widget] .prose :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-captions);font-size:.875em;line-height:1.4285714;margin-top:.8571429em}[data-opencx-widget] .prose{--tw-prose-body: #374151;--tw-prose-headings: #111827;--tw-prose-lead: #4b5563;--tw-prose-links: #111827;--tw-prose-bold: #111827;--tw-prose-counters: #6b7280;--tw-prose-bullets: #d1d5db;--tw-prose-hr: #e5e7eb;--tw-prose-quotes: #111827;--tw-prose-quote-borders: #e5e7eb;--tw-prose-captions: #6b7280;--tw-prose-kbd: #111827;--tw-prose-kbd-shadows: 17 24 39;--tw-prose-code: #111827;--tw-prose-pre-code: #e5e7eb;--tw-prose-pre-bg: #1f2937;--tw-prose-th-borders: #d1d5db;--tw-prose-td-borders: #e5e7eb;--tw-prose-invert-body: #d1d5db;--tw-prose-invert-headings: #fff;--tw-prose-invert-lead: #9ca3af;--tw-prose-invert-links: #fff;--tw-prose-invert-bold: #fff;--tw-prose-invert-counters: #9ca3af;--tw-prose-invert-bullets: #4b5563;--tw-prose-invert-hr: #374151;--tw-prose-invert-quotes: #f3f4f6;--tw-prose-invert-quote-borders: #374151;--tw-prose-invert-captions: #9ca3af;--tw-prose-invert-kbd: #fff;--tw-prose-invert-kbd-shadows: 255 255 255;--tw-prose-invert-code: #fff;--tw-prose-invert-pre-code: #d1d5db;--tw-prose-invert-pre-bg: rgb(0 0 0 / 50%);--tw-prose-invert-th-borders: #4b5563;--tw-prose-invert-td-borders: #374151;font-size:1rem;line-height:1.75}[data-opencx-widget] .prose :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}[data-opencx-widget] .prose :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;margin-bottom:.5em}[data-opencx-widget] .prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.375em}[data-opencx-widget] .prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.375em}[data-opencx-widget] .prose :where(.prose>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}[data-opencx-widget] .prose :where(.prose>ul>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}[data-opencx-widget] .prose :where(.prose>ul>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}[data-opencx-widget] .prose :where(.prose>ol>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}[data-opencx-widget] .prose :where(.prose>ol>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}[data-opencx-widget] .prose :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}[data-opencx-widget] .prose :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}[data-opencx-widget] .prose :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;padding-inline-start:1.625em}[data-opencx-widget] .prose :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}[data-opencx-widget] .prose :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}[data-opencx-widget] .prose :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}[data-opencx-widget] .prose :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}[data-opencx-widget] .prose :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}[data-opencx-widget] .prose :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}[data-opencx-widget] .prose :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.5714286em;padding-inline-end:.5714286em;padding-bottom:.5714286em;padding-inline-start:.5714286em}[data-opencx-widget] .prose :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}[data-opencx-widget] .prose :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}[data-opencx-widget] .prose :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}[data-opencx-widget] .prose :where(.prose>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}[data-opencx-widget] .prose :where(.prose>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}[data-opencx-widget] .prose-sm{font-size:.875rem;line-height:1.7142857}[data-opencx-widget] .prose-sm :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em}[data-opencx-widget] .prose-sm :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:1.2857143em;line-height:1.5555556;margin-top:.8888889em;margin-bottom:.8888889em}[data-opencx-widget] .prose-sm :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.3333333em;margin-bottom:1.3333333em;padding-inline-start:1.1111111em}[data-opencx-widget] .prose-sm :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:2.1428571em;margin-top:0;margin-bottom:.8em;line-height:1.2}[data-opencx-widget] .prose-sm :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:1.4285714em;margin-top:1.6em;margin-bottom:.8em;line-height:1.4}[data-opencx-widget] .prose-sm :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:1.2857143em;margin-top:1.5555556em;margin-bottom:.4444444em;line-height:1.5555556}[data-opencx-widget] .prose-sm :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.4285714em;margin-bottom:.5714286em;line-height:1.4285714}[data-opencx-widget] .prose-sm :where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}[data-opencx-widget] .prose-sm :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}[data-opencx-widget] .prose-sm :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}[data-opencx-widget] .prose-sm :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}[data-opencx-widget] .prose-sm :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;border-radius:.3125rem;padding-top:.1428571em;padding-inline-end:.3571429em;padding-bottom:.1428571em;padding-inline-start:.3571429em}[data-opencx-widget] .prose-sm :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em}[data-opencx-widget] .prose-sm :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.9em}[data-opencx-widget] .prose-sm :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8888889em}[data-opencx-widget] .prose-sm :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;line-height:1.6666667;margin-top:1.6666667em;margin-bottom:1.6666667em;border-radius:.25rem;padding-top:.6666667em;padding-inline-end:1em;padding-bottom:.6666667em;padding-inline-start:1em}[data-opencx-widget] .prose-sm :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em;padding-inline-start:1.5714286em}[data-opencx-widget] .prose-sm :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em;padding-inline-start:1.5714286em}[data-opencx-widget] .prose-sm :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.2857143em;margin-bottom:.2857143em}[data-opencx-widget] .prose-sm :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.4285714em}[data-opencx-widget] .prose-sm :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.4285714em}[data-opencx-widget] .prose-sm :where(.prose-sm>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5714286em;margin-bottom:.5714286em}[data-opencx-widget] .prose-sm :where(.prose-sm>ul>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em}[data-opencx-widget] .prose-sm :where(.prose-sm>ul>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.1428571em}[data-opencx-widget] .prose-sm :where(.prose-sm>ol>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em}[data-opencx-widget] .prose-sm :where(.prose-sm>ol>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.1428571em}[data-opencx-widget] .prose-sm :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5714286em;margin-bottom:.5714286em}[data-opencx-widget] .prose-sm :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em}[data-opencx-widget] .prose-sm :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em}[data-opencx-widget] .prose-sm :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.2857143em;padding-inline-start:1.5714286em}[data-opencx-widget] .prose-sm :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2.8571429em;margin-bottom:2.8571429em}[data-opencx-widget] .prose-sm :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}[data-opencx-widget] .prose-sm :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}[data-opencx-widget] .prose-sm :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}[data-opencx-widget] .prose-sm :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}[data-opencx-widget] .prose-sm :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;line-height:1.5}[data-opencx-widget] .prose-sm :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:1em;padding-bottom:.6666667em;padding-inline-start:1em}[data-opencx-widget] .prose-sm :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}[data-opencx-widget] .prose-sm :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}[data-opencx-widget] .prose-sm :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.6666667em;padding-inline-end:1em;padding-bottom:.6666667em;padding-inline-start:1em}[data-opencx-widget] .prose-sm :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}[data-opencx-widget] .prose-sm :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}[data-opencx-widget] .prose-sm :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}[data-opencx-widget] .prose-sm :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}[data-opencx-widget] .prose-sm :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;line-height:1.3333333;margin-top:.6666667em}[data-opencx-widget] .prose-sm :where(.prose-sm>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}[data-opencx-widget] .prose-sm :where(.prose-sm>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}[data-opencx-widget] .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}[data-opencx-widget] .pointer-events-none{pointer-events:none}[data-opencx-widget] .visible{visibility:visible}[data-opencx-widget] .static{position:static}[data-opencx-widget] .fixed{position:fixed}[data-opencx-widget] .absolute{position:absolute}[data-opencx-widget] .relative{position:relative}[data-opencx-widget] .sticky{position:sticky}[data-opencx-widget] .inset-0{top:0;right:0;bottom:0;left:0}[data-opencx-widget] .bottom-0{bottom:0}[data-opencx-widget] .left-0{left:0}[data-opencx-widget] .left-2{left:.5rem}[data-opencx-widget] .left-\\[50\\%\\]{left:50%}[data-opencx-widget] .right-4{right:1rem}[data-opencx-widget] .top-0{top:0}[data-opencx-widget] .top-4{top:1rem}[data-opencx-widget] .top-\\[50\\%\\]{top:50%}[data-opencx-widget] .isolate{isolation:isolate}[data-opencx-widget] .z-10{z-index:10}[data-opencx-widget] .z-50{z-index:50}[data-opencx-widget] .-mx-1{margin-left:-.25rem;margin-right:-.25rem}[data-opencx-widget] .my-1{margin-top:.25rem;margin-bottom:.25rem}[data-opencx-widget] .mb-2{margin-bottom:.5rem}[data-opencx-widget] .ml-auto{margin-left:auto}[data-opencx-widget] .mt-auto{margin-top:auto}[data-opencx-widget] .line-clamp-1{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}[data-opencx-widget] .line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}[data-opencx-widget] .block{display:block}[data-opencx-widget] .inline{display:inline}[data-opencx-widget] .flex{display:flex}[data-opencx-widget] .inline-flex{display:inline-flex}[data-opencx-widget] .grid{display:grid}[data-opencx-widget] .contents{display:contents}[data-opencx-widget] .hidden{display:none}[data-opencx-widget] .aspect-square{aspect-ratio:1 / 1}[data-opencx-widget] .size-10{width:2.5rem;height:2.5rem}[data-opencx-widget] .size-12{width:3rem;height:3rem}[data-opencx-widget] .size-16{width:4rem;height:4rem}[data-opencx-widget] .size-3{width:.75rem;height:.75rem}[data-opencx-widget] .size-3\\.5{width:.875rem;height:.875rem}[data-opencx-widget] .size-4{width:1rem;height:1rem}[data-opencx-widget] .size-6{width:1.5rem;height:1.5rem}[data-opencx-widget] .size-8{width:2rem;height:2rem}[data-opencx-widget] .size-auto{width:auto;height:auto}[data-opencx-widget] .size-fit{width:-moz-fit-content;width:fit-content;height:-moz-fit-content;height:fit-content}[data-opencx-widget] .size-full{width:100%;height:100%}[data-opencx-widget] .h-10{height:2.5rem}[data-opencx-widget] .h-2{height:.5rem}[data-opencx-widget] .h-3\\.5{height:.875rem}[data-opencx-widget] .h-4{height:1rem}[data-opencx-widget] .h-5{height:1.25rem}[data-opencx-widget] .h-8{height:2rem}[data-opencx-widget] .h-\\[600px\\]{height:600px}[data-opencx-widget] .h-fit{height:-moz-fit-content;height:fit-content}[data-opencx-widget] .h-full{height:100%}[data-opencx-widget] .h-px{height:1px}[data-opencx-widget] .max-h-\\[600px\\]{max-height:600px}[data-opencx-widget] .max-h-full{max-height:100%}[data-opencx-widget] .min-h-12{min-height:3rem}[data-opencx-widget] .min-h-\\[400px\\]{min-height:400px}[data-opencx-widget] .w-1\\/2{width:50%}[data-opencx-widget] .w-10{width:2.5rem}[data-opencx-widget] .w-2{width:.5rem}[data-opencx-widget] .w-3\\.5{width:.875rem}[data-opencx-widget] .w-4{width:1rem}[data-opencx-widget] .w-5\\/6{width:83.333333%}[data-opencx-widget] .w-60{width:15rem}[data-opencx-widget] .w-9{width:2.25rem}[data-opencx-widget] .w-auto{width:auto}[data-opencx-widget] .w-fit{width:-moz-fit-content;width:fit-content}[data-opencx-widget] .w-full{width:100%}[data-opencx-widget] .min-w-56{min-width:14rem}[data-opencx-widget] .min-w-\\[8rem\\]{min-width:8rem}[data-opencx-widget] .max-w-\\[320px\\]{max-width:320px}[data-opencx-widget] .max-w-full{max-width:100%}[data-opencx-widget] .max-w-lg{max-width:32rem}[data-opencx-widget] .max-w-xs{max-width:20rem}[data-opencx-widget] .flex-1{flex:1 1 0%}[data-opencx-widget] .shrink-0{flex-shrink:0}[data-opencx-widget] .translate-x-\\[-50\\%\\]{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}[data-opencx-widget] .translate-x-\\[var\\(--opencx-wobble-x\\)\\]{--tw-translate-x: var(--opencx-wobble-x);transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}[data-opencx-widget] .translate-y-\\[-50\\%\\]{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}[data-opencx-widget] .translate-y-\\[var\\(--opencx-wobble-y\\)\\]{--tw-translate-y: var(--opencx-wobble-y);transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}[data-opencx-widget] .scale-\\[1\\.01\\]{--tw-scale-x: 1.01;--tw-scale-y: 1.01;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}[data-opencx-widget] .scale-\\[1\\.02\\]{--tw-scale-x: 1.02;--tw-scale-y: 1.02;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}[data-opencx-widget] .scale-\\[1\\.1\\]{--tw-scale-x: 1.1;--tw-scale-y: 1.1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}[data-opencx-widget] .scale-\\[1\\]{--tw-scale-x: 1;--tw-scale-y: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes bounce{0%,to{transform:translateY(-25%);animation-timing-function:cubic-bezier(.8,0,1,1)}50%{transform:none;animation-timing-function:cubic-bezier(0,0,.2,1)}}[data-opencx-widget] .animate-bounce{animation:bounce 1s infinite}@keyframes pulse{50%{opacity:.5}}[data-opencx-widget] .animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes spin{to{transform:rotate(360deg)}}[data-opencx-widget] .animate-spin{animation:spin 1s linear infinite}[data-opencx-widget] .cursor-default{cursor:default}[data-opencx-widget] .cursor-not-allowed{cursor:not-allowed}[data-opencx-widget] .cursor-pointer{cursor:pointer}[data-opencx-widget] .select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}[data-opencx-widget] .resize-none{resize:none}[data-opencx-widget] .flex-row{flex-direction:row}[data-opencx-widget] .flex-col{flex-direction:column}[data-opencx-widget] .flex-col-reverse{flex-direction:column-reverse}[data-opencx-widget] .flex-wrap{flex-wrap:wrap}[data-opencx-widget] .items-start{align-items:flex-start}[data-opencx-widget] .items-end{align-items:flex-end}[data-opencx-widget] .items-center{align-items:center}[data-opencx-widget] .justify-start{justify-content:flex-start}[data-opencx-widget] .justify-end{justify-content:flex-end}[data-opencx-widget] .justify-center{justify-content:center}[data-opencx-widget] .justify-between{justify-content:space-between}[data-opencx-widget] .gap-0{gap:0px}[data-opencx-widget] .gap-0\\.5{gap:.125rem}[data-opencx-widget] .gap-1{gap:.25rem}[data-opencx-widget] .gap-2{gap:.5rem}[data-opencx-widget] .gap-4{gap:1rem}[data-opencx-widget] .space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}[data-opencx-widget] .space-y-1\\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.375rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.375rem * var(--tw-space-y-reverse))}[data-opencx-widget] .space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}[data-opencx-widget] .space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}[data-opencx-widget] .overflow-auto{overflow:auto}[data-opencx-widget] .overflow-hidden{overflow:hidden}[data-opencx-widget] .overflow-scroll{overflow:scroll}[data-opencx-widget] .scroll-smooth{scroll-behavior:smooth}[data-opencx-widget] .text-ellipsis{text-overflow:ellipsis}[data-opencx-widget] .whitespace-normal{white-space:normal}[data-opencx-widget] .whitespace-nowrap{white-space:nowrap}[data-opencx-widget] .whitespace-pre-wrap{white-space:pre-wrap}[data-opencx-widget] .break-words{overflow-wrap:break-word}[data-opencx-widget] .rounded-2xl{border-radius:1rem}[data-opencx-widget] .rounded-3xl{border-radius:1.5rem}[data-opencx-widget] .rounded-full{border-radius:9999px}[data-opencx-widget] .rounded-lg{border-radius:.5rem}[data-opencx-widget] .rounded-md{border-radius:.375rem}[data-opencx-widget] .rounded-sm{border-radius:.125rem}[data-opencx-widget] .rounded-xl{border-radius:.75rem}[data-opencx-widget] .rounded-t-3xl{border-top-left-radius:1.5rem;border-top-right-radius:1.5rem}[data-opencx-widget] .border{border-width:1px}[data-opencx-widget] .border-2{border-width:2px}[data-opencx-widget] .border-b{border-bottom-width:1px}[data-opencx-widget] .border-none{border-style:none}[data-opencx-widget] .border-destructive{border-color:hsl(var(--opencx-destructive))}[data-opencx-widget] .border-input{border-color:hsl(var(--opencx-input))}[data-opencx-widget] .border-muted{border-color:hsl(var(--opencx-muted))}[data-opencx-widget] .border-primary{border-color:hsl(var(--opencx-primary))}[data-opencx-widget] .border-transparent{border-color:transparent}[data-opencx-widget] .bg-background{background-color:hsl(var(--opencx-background))}[data-opencx-widget] .bg-black\\/50{background-color:#00000080}[data-opencx-widget] .bg-black\\/80{background-color:#000c}[data-opencx-widget] .bg-destructive{background-color:hsl(var(--opencx-destructive))}[data-opencx-widget] .bg-muted{background-color:hsl(var(--opencx-muted))}[data-opencx-widget] .bg-primary{background-color:hsl(var(--opencx-primary))}[data-opencx-widget] .bg-secondary{background-color:hsl(var(--opencx-secondary))}[data-opencx-widget] .bg-transparent{background-color:transparent}[data-opencx-widget] .bg-gradient-to-t{background-image:linear-gradient(to top,var(--tw-gradient-stops))}[data-opencx-widget] .from-primary\\/50{--tw-gradient-from: hsl(var(--opencx-primary) / .5) var(--tw-gradient-from-position);--tw-gradient-to: hsl(var(--opencx-primary) / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}[data-opencx-widget] .via-primary{--tw-gradient-to: hsl(var(--opencx-primary) / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), hsl(var(--opencx-primary)) var(--tw-gradient-via-position), var(--tw-gradient-to)}[data-opencx-widget] .to-primary{--tw-gradient-to: hsl(var(--opencx-primary)) var(--tw-gradient-to-position)}[data-opencx-widget] .fill-current{fill:currentColor}[data-opencx-widget] .object-contain{-o-object-fit:contain;object-fit:contain}[data-opencx-widget] .object-cover{-o-object-fit:cover;object-fit:cover}[data-opencx-widget] .p-0{padding:0}[data-opencx-widget] .p-1{padding:.25rem}[data-opencx-widget] .p-2{padding:.5rem}[data-opencx-widget] .p-4{padding:1rem}[data-opencx-widget] .p-6{padding:1.5rem}[data-opencx-widget] .px-2{padding-left:.5rem;padding-right:.5rem}[data-opencx-widget] .px-3{padding-left:.75rem;padding-right:.75rem}[data-opencx-widget] .px-4{padding-left:1rem;padding-right:1rem}[data-opencx-widget] .py-1\\.5{padding-top:.375rem;padding-bottom:.375rem}[data-opencx-widget] .py-12{padding-top:3rem;padding-bottom:3rem}[data-opencx-widget] .py-2{padding-top:.5rem;padding-bottom:.5rem}[data-opencx-widget] .pb-0{padding-bottom:0}[data-opencx-widget] .pl-2{padding-left:.5rem}[data-opencx-widget] .pl-3{padding-left:.75rem}[data-opencx-widget] .pl-8{padding-left:2rem}[data-opencx-widget] .pr-2{padding-right:.5rem}[data-opencx-widget] .text-center{text-align:center}[data-opencx-widget] .text-start{text-align:start}[data-opencx-widget] .align-middle{vertical-align:middle}[data-opencx-widget] .font-inter{font-family:Inter,Rubik,serif,sans-serif}[data-opencx-widget] .text-2xl{font-size:1.5rem;line-height:2rem}[data-opencx-widget] .text-lg{font-size:1.125rem;line-height:1.75rem}[data-opencx-widget] .text-sm{font-size:.875rem;line-height:1.25rem}[data-opencx-widget] .text-xl{font-size:1.25rem;line-height:1.75rem}[data-opencx-widget] .text-xs{font-size:.75rem;line-height:1rem}[data-opencx-widget] .font-bold{font-weight:700}[data-opencx-widget] .font-medium{font-weight:500}[data-opencx-widget] .font-semibold{font-weight:600}[data-opencx-widget] .leading-none{line-height:1}[data-opencx-widget] .leading-relaxed{line-height:1.625}[data-opencx-widget] .leading-snug{line-height:1.375}[data-opencx-widget] .leading-tight{line-height:1.25}[data-opencx-widget] .tracking-tight{letter-spacing:-.025em}[data-opencx-widget] .tracking-widest{letter-spacing:.1em}[data-opencx-widget] .text-blue-500{--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity))}[data-opencx-widget] .text-destructive{color:hsl(var(--opencx-destructive))}[data-opencx-widget] .text-destructive-foreground{color:hsl(var(--opencx-destructive-foreground))}[data-opencx-widget] .text-emerald-500{--tw-text-opacity: 1;color:rgb(16 185 129 / var(--tw-text-opacity))}[data-opencx-widget] .text-foreground{color:hsl(var(--opencx-foreground))}[data-opencx-widget] .text-green-500{--tw-text-opacity: 1;color:rgb(34 197 94 / var(--tw-text-opacity))}[data-opencx-widget] .text-muted-foreground{color:hsl(var(--opencx-muted-foreground))}[data-opencx-widget] .text-primary{color:hsl(var(--opencx-primary))}[data-opencx-widget] .text-primary-foreground{color:hsl(var(--opencx-primary-foreground))}[data-opencx-widget] .text-primary-foreground\\/90{color:hsl(var(--opencx-primary-foreground) / .9)}[data-opencx-widget] .text-red-500{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity))}[data-opencx-widget] .text-secondary-foreground{color:hsl(var(--opencx-secondary-foreground))}[data-opencx-widget] .underline{text-decoration-line:underline}[data-opencx-widget] .underline-offset-4{text-underline-offset:4px}[data-opencx-widget] .antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}[data-opencx-widget] .opacity-0{opacity:0}[data-opencx-widget] .opacity-50{opacity:.5}[data-opencx-widget] .opacity-60{opacity:.6}[data-opencx-widget] .opacity-70{opacity:.7}[data-opencx-widget] .shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-opencx-widget] .shadow-2xl{--tw-shadow: 0 25px 50px -12px rgb(0 0 0 / .25);--tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-opencx-widget] .shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-opencx-widget] .shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-opencx-widget] .shadow-none{--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-opencx-widget] .shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-opencx-widget] .shadow-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-opencx-widget] .outline-none{outline:2px solid transparent;outline-offset:2px}[data-opencx-widget] .outline{outline-style:solid}[data-opencx-widget] .outline-8{outline-width:8px}[data-opencx-widget] .outline-background{outline-color:hsl(var(--opencx-background))}[data-opencx-widget] .ring-0{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}[data-opencx-widget] .ring-offset-background{--tw-ring-offset-color: hsl(var(--opencx-background))}[data-opencx-widget] .filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}[data-opencx-widget] .backdrop-blur{--tw-backdrop-blur: blur(8px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}[data-opencx-widget] .transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}[data-opencx-widget] .transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}[data-opencx-widget] .transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}[data-opencx-widget] .transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}[data-opencx-widget] .transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}[data-opencx-widget] .duration-200{transition-duration:.2s}[data-opencx-widget] .ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}@keyframes enter{0%{opacity:var(--tw-enter-opacity, 1);transform:translate3d(var(--tw-enter-translate-x, 0),var(--tw-enter-translate-y, 0),0) scale3d(var(--tw-enter-scale, 1),var(--tw-enter-scale, 1),var(--tw-enter-scale, 1)) rotate(var(--tw-enter-rotate, 0))}}@keyframes exit{to{opacity:var(--tw-exit-opacity, 1);transform:translate3d(var(--tw-exit-translate-x, 0),var(--tw-exit-translate-y, 0),0) scale3d(var(--tw-exit-scale, 1),var(--tw-exit-scale, 1),var(--tw-exit-scale, 1)) rotate(var(--tw-exit-rotate, 0))}}[data-opencx-widget] .animate-in{animation-name:enter;animation-duration:.15s;--tw-enter-opacity: initial;--tw-enter-scale: initial;--tw-enter-rotate: initial;--tw-enter-translate-x: initial;--tw-enter-translate-y: initial}[data-opencx-widget] .fade-in-0{--tw-enter-opacity: 0}[data-opencx-widget] .zoom-in-95{--tw-enter-scale: .95}[data-opencx-widget] .duration-200{animation-duration:.2s}[data-opencx-widget] .ease-out{animation-timing-function:cubic-bezier(0,0,.2,1)}[data-opencx-widget] .\\[animation-delay\\:-0\\.15s\\]{animation-delay:-.15s}[data-opencx-widget] .\\[animation-delay\\:-0\\.3s\\]{animation-delay:-.3s}[data-opencx-widget] .\\[background\\:radial-gradient\\(50\\%_50\\%_at_50\\%_100\\%\\,hsl\\(var\\(--opencx-primary-foreground\\)\\)_-75\\%\\,hsl\\(var\\(--opencx-primary\\)\\)_100\\%\\)\\]{background:radial-gradient(50% 50% at 50% 100%,hsl(var(--opencx-primary-foreground)) -75%,hsl(var(--opencx-primary)))}[data-opencx-widget] .\\[word-break\\:break-word\\]{word-break:break-word}[data-opencx-widget] .required:after{content:" *";color:red}[data-opencx-widget] .file\\:border-0::file-selector-button{border-width:0px}[data-opencx-widget] .file\\:bg-transparent::file-selector-button{background-color:transparent}[data-opencx-widget] .file\\:text-sm::file-selector-button{font-size:.875rem;line-height:1.25rem}[data-opencx-widget] .file\\:font-medium::file-selector-button{font-weight:500}[data-opencx-widget] .file\\:text-primary-foreground::file-selector-button{color:hsl(var(--opencx-primary-foreground))}[data-opencx-widget] .placeholder\\:text-muted-foreground::-moz-placeholder{color:hsl(var(--opencx-muted-foreground))}[data-opencx-widget] .placeholder\\:text-muted-foreground::placeholder{color:hsl(var(--opencx-muted-foreground))}[data-opencx-widget] .hover\\:bg-accent:hover{background-color:hsl(var(--opencx-accent))}[data-opencx-widget] .hover\\:bg-green-50\\/50:hover{background-color:#f0fdf480}[data-opencx-widget] .hover\\:bg-red-50\\/50:hover{background-color:#fef2f280}[data-opencx-widget] .hover\\:text-accent-foreground:hover{color:hsl(var(--opencx-accent-foreground))}[data-opencx-widget] .hover\\:text-blue-600:hover{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity))}[data-opencx-widget] .hover\\:text-green-500:hover{--tw-text-opacity: 1;color:rgb(34 197 94 / var(--tw-text-opacity))}[data-opencx-widget] .hover\\:text-primary:hover{color:hsl(var(--opencx-primary))}[data-opencx-widget] .hover\\:text-red-500:hover{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity))}[data-opencx-widget] .hover\\:underline:hover{text-decoration-line:underline}[data-opencx-widget] .hover\\:opacity-100:hover{opacity:1}[data-opencx-widget] .focus\\:bg-accent:focus{background-color:hsl(var(--opencx-accent))}[data-opencx-widget] .focus\\:text-accent-foreground:focus{color:hsl(var(--opencx-accent-foreground))}[data-opencx-widget] .focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}[data-opencx-widget] .focus\\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}[data-opencx-widget] .focus\\:ring-ring:focus{--tw-ring-color: hsl(var(--opencx-ring))}[data-opencx-widget] .focus\\:ring-offset-2:focus{--tw-ring-offset-width: 2px}[data-opencx-widget] .focus-visible\\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}[data-opencx-widget] .focus-visible\\:ring-2:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}[data-opencx-widget] .focus-visible\\:ring-ring:focus-visible{--tw-ring-color: hsl(var(--opencx-ring))}[data-opencx-widget] .focus-visible\\:ring-offset-2:focus-visible{--tw-ring-offset-width: 2px}[data-opencx-widget] .focus-visible\\:ring-offset-background:focus-visible{--tw-ring-offset-color: hsl(var(--opencx-background))}[data-opencx-widget] .active\\:scale-90:active{--tw-scale-x: .9;--tw-scale-y: .9;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}[data-opencx-widget] .active\\:scale-95:active{--tw-scale-x: .95;--tw-scale-y: .95;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}[data-opencx-widget] .active\\:shadow-none:active{--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-opencx-widget] .hover\\:active\\:scale-95:active:hover{--tw-scale-x: .95;--tw-scale-y: .95;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}[data-opencx-widget] .disabled\\:pointer-events-none:disabled{pointer-events:none}[data-opencx-widget] .disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}[data-opencx-widget] .disabled\\:opacity-0:disabled{opacity:0}[data-opencx-widget] .disabled\\:opacity-50:disabled{opacity:.5}[data-opencx-widget] .group:hover .group-hover\\:opacity-100{opacity:1}[data-opencx-widget] .group:hover .group-hover\\:active\\:scale-90:active,[data-opencx-widget] .group:active .group-active\\:scale-90{--tw-scale-x: .9;--tw-scale-y: .9;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}[data-opencx-widget] .data-\\[disabled\\]\\:pointer-events-none[data-disabled]{pointer-events:none}[data-opencx-widget] .data-\\[state\\=checked\\]\\:translate-x-4[data-state=checked]{--tw-translate-x: 1rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}[data-opencx-widget] .data-\\[state\\=unchecked\\]\\:translate-x-0[data-state=unchecked]{--tw-translate-x: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}[data-opencx-widget] .data-\\[state\\=checked\\]\\:bg-primary[data-state=checked]{background-color:hsl(var(--opencx-primary))}[data-opencx-widget] .data-\\[state\\=open\\]\\:bg-accent[data-state=open]{background-color:hsl(var(--opencx-accent))}[data-opencx-widget] .data-\\[state\\=unchecked\\]\\:bg-input[data-state=unchecked]{background-color:hsl(var(--opencx-input))}[data-opencx-widget] .data-\\[state\\=open\\]\\:text-muted-foreground[data-state=open]{color:hsl(var(--opencx-muted-foreground))}[data-opencx-widget] .data-\\[disabled\\]\\:opacity-50[data-disabled]{opacity:.5}[data-opencx-widget] .data-\\[state\\=open\\]\\:animate-in[data-state=open]{animation-name:enter;animation-duration:.15s;--tw-enter-opacity: initial;--tw-enter-scale: initial;--tw-enter-rotate: initial;--tw-enter-translate-x: initial;--tw-enter-translate-y: initial}[data-opencx-widget] .data-\\[state\\=closed\\]\\:animate-out[data-state=closed]{animation-name:exit;animation-duration:.15s;--tw-exit-opacity: initial;--tw-exit-scale: initial;--tw-exit-rotate: initial;--tw-exit-translate-x: initial;--tw-exit-translate-y: initial}[data-opencx-widget] .data-\\[state\\=closed\\]\\:fade-out-0[data-state=closed]{--tw-exit-opacity: 0}[data-opencx-widget] .data-\\[state\\=open\\]\\:fade-in-0[data-state=open]{--tw-enter-opacity: 0}[data-opencx-widget] .data-\\[state\\=closed\\]\\:zoom-out-95[data-state=closed]{--tw-exit-scale: .95}[data-opencx-widget] .data-\\[state\\=open\\]\\:zoom-in-95[data-state=open]{--tw-enter-scale: .95}[data-opencx-widget] .data-\\[side\\=bottom\\]\\:slide-in-from-top-2[data-side=bottom]{--tw-enter-translate-y: -.5rem}[data-opencx-widget] .data-\\[side\\=left\\]\\:slide-in-from-right-2[data-side=left]{--tw-enter-translate-x: .5rem}[data-opencx-widget] .data-\\[side\\=right\\]\\:slide-in-from-left-2[data-side=right]{--tw-enter-translate-x: -.5rem}[data-opencx-widget] .data-\\[side\\=top\\]\\:slide-in-from-bottom-2[data-side=top]{--tw-enter-translate-y: .5rem}[data-opencx-widget] .data-\\[state\\=closed\\]\\:slide-out-to-left-1\\/2[data-state=closed]{--tw-exit-translate-x: -50%}[data-opencx-widget] .data-\\[state\\=closed\\]\\:slide-out-to-top-\\[48\\%\\][data-state=closed]{--tw-exit-translate-y: -48%}[data-opencx-widget] .data-\\[state\\=open\\]\\:slide-in-from-left-1\\/2[data-state=open]{--tw-enter-translate-x: -50%}[data-opencx-widget] .data-\\[state\\=open\\]\\:slide-in-from-top-\\[48\\%\\][data-state=open]{--tw-enter-translate-y: -48%}[data-opencx-widget] .prose-a\\:underline :is(:where(a):not(:where([class~=not-prose],[class~=not-prose] *))){text-decoration-line:underline}[data-opencx-widget] .prose-a\\:decoration-primary :is(:where(a):not(:where([class~=not-prose],[class~=not-prose] *))){text-decoration-color:hsl(var(--opencx-primary))}@media (min-width: 640px){[data-opencx-widget] .sm\\:flex-row{flex-direction:row}[data-opencx-widget] .sm\\:justify-end{justify-content:flex-end}[data-opencx-widget] .sm\\:space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}[data-opencx-widget] .sm\\:rounded-lg{border-radius:.5rem}[data-opencx-widget] .sm\\:text-left{text-align:left}}[data-opencx-widget] .rtl\\:-scale-100:where([dir=rtl],[dir=rtl] *){--tw-scale-x: -1;--tw-scale-y: -1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}[data-opencx-widget] .rtl\\:flex-row-reverse:where([dir=rtl],[dir=rtl] *){flex-direction:row-reverse}[data-opencx-widget] .rtl\\:text-right:where([dir=rtl],[dir=rtl] *){text-align:right}[data-opencx-widget] .rtl\\:placeholder\\:text-right:where([dir=rtl],[dir=rtl] *)::-moz-placeholder{text-align:right}[data-opencx-widget] .rtl\\:placeholder\\:text-right:where([dir=rtl],[dir=rtl] *)::placeholder{text-align:right}[data-opencx-widget] .\\[\\&_span\\]\\:size-1 span{width:.25rem;height:.25rem}[data-opencx-widget] .\\[\\&_span\\]\\:bg-secondary-foreground span{background-color:hsl(var(--opencx-secondary-foreground))}[data-opencx-widget] .\\[\\&_svg\\]\\:pointer-events-none svg{pointer-events:none}[data-opencx-widget] .\\[\\&_svg\\]\\:size-4 svg{width:1rem;height:1rem}[data-opencx-widget] .\\[\\&_svg\\]\\:size-6 svg{width:1.5rem;height:1.5rem}[data-opencx-widget] .\\[\\&_svg\\]\\:shrink-0 svg{flex-shrink:0}';function cY({className:e}){return I.jsxs("svg",{width:"26",height:"32",viewBox:"0 0 26 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:St("text-primary-foreground",e),children:[I.jsx("title",{children:"Open Logo"}),I.jsx("path",{d:"M1.34103 25.6132H5.44245C5.74203 25.6228 6.02673 25.7462 6.23867 25.9582C6.45062 26.1703 6.5739 26.4551 6.58348 26.7548V30.8584C6.59305 31.1581 6.71634 31.443 6.92828 31.655C7.14023 31.8671 7.42492 31.9904 7.7245 32H18.2894C18.589 31.9904 18.8737 31.8671 19.0856 31.655C19.2976 31.443 19.4209 31.1581 19.4304 30.8584V26.7548C19.4401 26.4545 19.5638 26.1692 19.7765 25.957C19.9892 25.7449 20.2748 25.6219 20.5749 25.6132H24.659C24.9586 25.6036 25.2433 25.4803 25.4552 25.2682C25.6671 25.0562 25.7904 24.7713 25.8 24.4716V7.52839C25.7904 7.22865 25.6671 6.94381 25.4552 6.73176C25.2433 6.5197 24.9586 6.39635 24.659 6.38677H20.561C20.2603 6.37802 19.9742 6.25457 19.7614 6.04169C19.5487 5.82881 19.4253 5.54261 19.4165 5.24168V1.14161C19.4072 0.84419 19.2858 0.561291 19.0768 0.349589C18.8678 0.137887 18.5865 0.0130193 18.2894 0L7.7245 0C7.42492 0.00957792 7.14023 0.132929 6.92828 0.344983C6.71634 0.557036 6.59305 0.841878 6.58348 1.14161V5.24168C6.57477 5.54203 6.45187 5.82773 6.23983 6.04052C6.0278 6.25331 5.74262 6.37715 5.44245 6.38677H1.34103C1.04144 6.39635 0.756749 6.5197 0.544805 6.73176C0.332861 6.94381 0.209574 7.22865 0.200001 7.52839V24.4716C0.209574 24.7713 0.332861 25.0562 0.544805 25.2682C0.756749 25.4803 1.04144 25.6036 1.34103 25.6132ZM6.58348 24.4716V7.52839C6.59305 7.22865 6.71634 6.94381 6.92828 6.73176C7.14023 6.5197 7.42492 6.39635 7.7245 6.38677H18.2894C18.589 6.39635 18.8737 6.5197 19.0856 6.73176C19.2976 6.94381 19.4209 7.22865 19.4304 7.52839V24.4716C19.4209 24.7713 19.2976 25.0562 19.0856 25.2682C18.8737 25.4803 18.589 25.6036 18.2894 25.6132H7.7245C7.42492 25.6036 7.14023 25.4803 6.92828 25.2682C6.71634 25.0562 6.59305 24.7713 6.58348 24.4716Z",fill:"currentColor"})]})}function dY({isOpen:e}){const{theme:n}=ft.useConfig();return I.jsx(eN,{"data-opencx-widget":!0,style:{fontSize:"16px",position:"fixed",zIndex:1e7,...Xk({primary:n==null?void 0:n.primaryColor}),right:"20px",bottom:"20px"},className:St("size-12 font-inter flex items-center justify-center"),children:I.jsx(el,{children:I.jsx("div",{className:St("relative size-full rounded-full","flex items-center justify-center","transition-all","[background:radial-gradient(50%_50%_at_50%_100%,hsl(var(--opencx-primary-foreground))_-75%,hsl(var(--opencx-primary))_100%)]","text-primary-foreground","shadow-xl","active:scale-90","[&_svg]:size-6"),children:I.jsx(vr.AnimatePresence,{mode:"wait",children:e?I.jsx(Sn,{snapExit:!0,fadeIn:"up",overrides:{initial:{rotate:45},animate:{rotate:0}},children:I.jsx(Wn.XIcon,{})},"x-icon"):I.jsx(Sn,{snapExit:!0,overrides:{initial:{rotate:45},animate:{rotate:0}},children:I.jsx(cY,{})},"message-icon")})})})})}function fY(){return I.jsx(vr.AnimatePresence,{children:I.jsxs(Sn,{className:"flex flex-row items-end w-full gap-1 animate-pulse",children:[I.jsx("div",{className:"flex items-center gap-1",children:I.jsx($m,{children:I.jsx(ey,{})})}),I.jsxs("div",{className:"flex items-center [&_span]:bg-secondary-foreground [&_span]:size-1 gap-1 p-2 rounded-xl bg-secondary border",children:[I.jsx(vr.motion.span,{className:"rounded-full animate-bounce [animation-delay:-0.3s]"}),I.jsx(vr.motion.span,{className:"rounded-full animate-bounce [animation-delay:-0.15s]"}),I.jsx(vr.motion.span,{className:"rounded-full animate-bounce"})]})]})})}function pY(e){return I.jsx("div",{className:"w-full max-w-full overflow-auto shrink-0",children:I.jsx("pre",{dir:"auto",className:"text-xs leading-tight whitespace-pre-wrap break-word",children:JSON.stringify(e,null,1)})})}const hY=`<!DOCTYPE html>
10
+ `});return h(),d(),b+`
11
+ `+(a===1?"=":"-").repeat(b.length-(Math.max(b.lastIndexOf("\r"),b.lastIndexOf(`
12
+ `))+1))}const s="#".repeat(a),u=n.enter("headingAtx"),l=n.enter("phrasing");i.move(s+" ");let c=n.containerPhrasing(e,{before:"# ",after:`
13
+ `,...i.current()});return/^[\t ]/.test(c)&&(c="&#x"+c.charCodeAt(0).toString(16).toUpperCase()+";"+c.slice(1)),c=c?s+" "+c:s,n.options.closeAtx&&(c+=" "+s),l(),u(),c}$i.peek=qc;function $i(e){return e.value||""}function qc(){return"<"}Ji.peek=Wc;function Ji(e,t,n,r){const a=vr(n),i=a==='"'?"Quote":"Apostrophe",s=n.enter("image");let u=n.enter("label");const l=n.createTracker(r);let c=l.move("![");return c+=l.move(n.safe(e.alt,{before:c,after:"]",...l.current()})),c+=l.move("]("),u(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(u=n.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(n.safe(e.url,{before:c,after:">",...l.current()})),c+=l.move(">")):(u=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":")",...l.current()}))),u(),e.title&&(u=n.enter(`title${i}`),c+=l.move(" "+a),c+=l.move(n.safe(e.title,{before:c,after:a,...l.current()})),c+=l.move(a),u()),c+=l.move(")"),s(),c}function Wc(){return"!"}Zi.peek=Vc;function Zi(e,t,n,r){const a=e.referenceType,i=n.enter("imageReference");let s=n.enter("label");const u=n.createTracker(r);let l=u.move("![");const c=n.safe(e.alt,{before:l,after:"]",...u.current()});l+=u.move(c+"]["),s();const d=n.stack;n.stack=[],s=n.enter("reference");const h=n.safe(n.associationId(e),{before:l,after:"]",...u.current()});return s(),n.stack=d,i(),a==="full"||!c||c!==h?l+=u.move(h+"]"):a==="shortcut"?l=l.slice(0,-1):l+=u.move("]"),l}function Vc(){return"!"}es.peek=Gc;function es(e,t,n){let r=e.value||"",a="`",i=-1;for(;new RegExp("(^|[^`])"+a+"([^`]|$)").test(r);)a+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++i<n.unsafe.length;){const s=n.unsafe[i],u=n.compilePattern(s);let l;if(s.atBreak)for(;l=u.exec(r);){let c=l.index;r.charCodeAt(c)===10&&r.charCodeAt(c-1)===13&&c--,r=r.slice(0,c)+" "+r.slice(l.index+1)}}return a+r+a}function Gc(){return"`"}function ts(e,t){const n=Pr(e);return!!(!t.options.resourceLink&&e.url&&!e.title&&e.children&&e.children.length===1&&e.children[0].type==="text"&&(n===e.url||"mailto:"+n===e.url)&&/^[a-z][a-z+.-]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))}ns.peek=Qc;function ns(e,t,n,r){const a=vr(n),i=a==='"'?"Quote":"Apostrophe",s=n.createTracker(r);let u,l;if(ts(e,n)){const d=n.stack;n.stack=[],u=n.enter("autolink");let h=s.move("<");return h+=s.move(n.containerPhrasing(e,{before:h,after:">",...s.current()})),h+=s.move(">"),u(),n.stack=d,h}u=n.enter("link"),l=n.enter("label");let c=s.move("[");return c+=s.move(n.containerPhrasing(e,{before:c,after:"](",...s.current()})),c+=s.move("]("),l(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(l=n.enter("destinationLiteral"),c+=s.move("<"),c+=s.move(n.safe(e.url,{before:c,after:">",...s.current()})),c+=s.move(">")):(l=n.enter("destinationRaw"),c+=s.move(n.safe(e.url,{before:c,after:e.title?" ":")",...s.current()}))),l(),e.title&&(l=n.enter(`title${i}`),c+=s.move(" "+a),c+=s.move(n.safe(e.title,{before:c,after:a,...s.current()})),c+=s.move(a),l()),c+=s.move(")"),u(),c}function Qc(e,t,n){return ts(e,n)?"<":"["}rs.peek=Xc;function rs(e,t,n,r){const a=e.referenceType,i=n.enter("linkReference");let s=n.enter("label");const u=n.createTracker(r);let l=u.move("[");const c=n.containerPhrasing(e,{before:l,after:"]",...u.current()});l+=u.move(c+"]["),s();const d=n.stack;n.stack=[],s=n.enter("reference");const h=n.safe(n.associationId(e),{before:l,after:"]",...u.current()});return s(),n.stack=d,i(),a==="full"||!c||c!==h?l+=u.move(h+"]"):a==="shortcut"?l=l.slice(0,-1):l+=u.move("]"),l}function Xc(){return"["}function Mr(e){const t=e.options.bullet||"*";if(t!=="*"&&t!=="+"&&t!=="-")throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function Kc(e){const t=Mr(e),n=e.options.bulletOther;if(!n)return t==="*"?"-":"*";if(n!=="*"&&n!=="+"&&n!=="-")throw new Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw new Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}function $c(e){const t=e.options.bulletOrdered||".";if(t!=="."&&t!==")")throw new Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}function as(e){const t=e.options.rule||"*";if(t!=="*"&&t!=="-"&&t!=="_")throw new Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}function Jc(e,t,n,r){const a=n.enter("list"),i=n.bulletCurrent;let s=e.ordered?$c(n):Mr(n);const u=e.ordered?s==="."?")":".":Kc(n);let l=t&&n.bulletLastUsed?s===n.bulletLastUsed:!1;if(!e.ordered){const d=e.children?e.children[0]:void 0;if((s==="*"||s==="-")&&d&&(!d.children||!d.children[0])&&n.stack[n.stack.length-1]==="list"&&n.stack[n.stack.length-2]==="listItem"&&n.stack[n.stack.length-3]==="list"&&n.stack[n.stack.length-4]==="listItem"&&n.indexStack[n.indexStack.length-1]===0&&n.indexStack[n.indexStack.length-2]===0&&n.indexStack[n.indexStack.length-3]===0&&(l=!0),as(n)===s&&d){let h=-1;for(;++h<e.children.length;){const b=e.children[h];if(b&&b.type==="listItem"&&b.children&&b.children[0]&&b.children[0].type==="thematicBreak"){l=!0;break}}}}l&&(s=u),n.bulletCurrent=s;const c=n.containerFlow(e,r);return n.bulletLastUsed=s,n.bulletCurrent=i,a(),c}function Zc(e){const t=e.options.listItemIndent||"one";if(t!=="tab"&&t!=="one"&&t!=="mixed")throw new Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}function ed(e,t,n,r){const a=Zc(n);let i=n.bulletCurrent||Mr(n);t&&t.type==="list"&&t.ordered&&(i=(typeof t.start=="number"&&t.start>-1?t.start:1)+(n.options.incrementListMarker===!1?0:t.children.indexOf(e))+i);let s=i.length+1;(a==="tab"||a==="mixed"&&(t&&t.type==="list"&&t.spread||e.spread))&&(s=Math.ceil(s/4)*4);const u=n.createTracker(r);u.move(i+" ".repeat(s-i.length)),u.shift(s);const l=n.enter("listItem"),c=n.indentLines(n.containerFlow(e,u.current()),d);return l(),c;function d(h,b,p){return b?(p?"":" ".repeat(s))+h:(p?i:i+" ".repeat(s-i.length))+h}}function td(e,t,n,r){const a=n.enter("paragraph"),i=n.enter("phrasing"),s=n.containerPhrasing(e,r);return i(),a(),s}const nd=Ln(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function rd(e,t,n,r){return(e.children.some(function(s){return nd(s)})?n.containerPhrasing:n.containerFlow).call(n,e,r)}function ad(e){const t=e.options.strong||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}is.peek=id;function is(e,t,n,r){const a=ad(n),i=n.enter("strong"),s=n.createTracker(r);let u=s.move(a+a);return u+=s.move(n.containerPhrasing(e,{before:u,after:a,...s.current()})),u+=s.move(a+a),i(),u}function id(e,t,n){return n.options.strong||"*"}function sd(e,t,n,r){return n.safe(e.value,r)}function od(e){const t=e.options.ruleRepetition||3;if(t<3)throw new Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}function ud(e,t,n){const r=(as(n)+(n.options.ruleSpaces?" ":"")).repeat(od(n));return n.options.ruleSpaces?r.slice(0,-1):r}const ss={blockquote:Sc,break:ba,code:Pc,definition:Bc,emphasis:Xi,hardBreak:ba,heading:Yc,html:$i,image:Ji,imageReference:Zi,inlineCode:es,link:ns,linkReference:rs,list:Jc,listItem:ed,paragraph:td,root:rd,strong:is,text:sd,thematicBreak:ud},xa=document.createElement("i");function Br(e){const t="&"+e+";";xa.innerHTML=t;const n=xa.textContent;return n.charCodeAt(n.length-1)===59&&e!=="semi"||n===t?!1:n}function os(e,t){const n=Number.parseInt(e,t);return n<9||n===11||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"�":String.fromCodePoint(n)}const ld=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function cd(e){return e.replace(ld,dd)}function dd(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const a=n.charCodeAt(1),i=a===120||a===88;return os(n.slice(i?2:1),i?16:10)}return Br(n)||e}function hd(){return{enter:{table:pd,tableData:wa,tableHeader:wa,tableRow:md},exit:{codeText:gd,table:fd,tableData:Kn,tableHeader:Kn,tableRow:Kn}}}function pd(e){const t=e._align;this.enter({type:"table",align:t.map(function(n){return n==="none"?null:n}),children:[]},e),this.data.inTable=!0}function fd(e){this.exit(e),this.data.inTable=void 0}function md(e){this.enter({type:"tableRow",children:[]},e)}function Kn(e){this.exit(e)}function wa(e){this.enter({type:"tableCell",children:[]},e)}function gd(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,bd));const n=this.stack[this.stack.length-1];n.type,n.value=t,this.exit(e)}function bd(e,t){return t==="|"?t:e}function Ed(e){const t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,a=t.stringLength,i=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
14
+ `,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:b,table:s,tableCell:l,tableRow:u}};function s(p,E,y,C){return c(d(p,y,C),p.align)}function u(p,E,y,C){const A=h(p,y,C),O=c([A]);return O.slice(0,O.indexOf(`
15
+ `))}function l(p,E,y,C){const A=y.enter("tableCell"),O=y.enter("phrasing"),L=y.containerPhrasing(p,{...C,before:i,after:i});return O(),A(),L}function c(p,E){return kc(p,{align:E,alignDelimiters:r,padding:n,stringLength:a})}function d(p,E,y){const C=p.children;let A=-1;const O=[],L=E.enter("table");for(;++A<C.length;)O[A]=h(C[A],E,y);return L(),O}function h(p,E,y){const C=p.children;let A=-1;const O=[],L=E.enter("tableRow");for(;++A<C.length;)O[A]=l(C[A],p,E,y);return L(),O}function b(p,E,y){let C=ss.inlineCode(p,E,y);return y.stack.includes("tableCell")&&(C=C.replace(/\|/g,"\\$&")),C}}function xd(){return{exit:{taskListCheckValueChecked:Ta,taskListCheckValueUnchecked:Ta,paragraph:Td}}}function wd(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:yd}}}function Ta(e){const t=this.stack[this.stack.length-2];t.type,t.checked=e.type==="taskListCheckValueChecked"}function Td(e){const t=this.stack[this.stack.length-2];if(t&&t.type==="listItem"&&typeof t.checked=="boolean"){const n=this.stack[this.stack.length-1];n.type;const r=n.children[0];if(r&&r.type==="text"){const a=t.children;let i=-1,s;for(;++i<a.length;){const u=a[i];if(u.type==="paragraph"){s=u;break}}s===n&&(r.value=r.value.slice(1),r.value.length===0?n.children.shift():n.position&&r.position&&typeof r.position.start.offset=="number"&&(r.position.start.column++,r.position.start.offset++,n.position.start=Object.assign({},r.position.start)))}}this.exit(e)}function yd(e,t,n,r){const a=e.children[0],i=typeof e.checked=="boolean"&&a&&a.type==="paragraph",s="["+(e.checked?"x":" ")+"] ",u=n.createTracker(r);i&&u.move(s);let l=ss.listItem(e,t,n,{...r,...u.current()});return i&&(l=l.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,c)),l;function c(d){return d+s}}function _d(){return[Xl(),oc(),Tc(),hd(),xd()]}function Ad(e){return{extensions:[Kl(),uc(),yc(),Ed(e),wd()]}}function ve(e,t,n,r){const a=e.length;let i=0,s;if(t<0?t=-t>a?0:a+t:t=t>a?a:t,n=n>0?n:0,r.length<1e4)s=Array.from(r),s.unshift(t,n),e.splice(...s);else for(n&&e.splice(t,n);i<r.length;)s=r.slice(i,i+1e4),s.unshift(t,0),e.splice(...s),i+=1e4,t+=1e4}function Re(e,t){return e.length>0?(ve(e,e.length,0,t),e):t}const ya={}.hasOwnProperty;function us(e){const t={};let n=-1;for(;++n<e.length;)Cd(t,e[n]);return t}function Cd(e,t){let n;for(n in t){const a=(ya.call(e,n)?e[n]:void 0)||(e[n]={}),i=t[n];let s;if(i)for(s in i){ya.call(a,s)||(a[s]=[]);const u=i[s];kd(a[s],Array.isArray(u)?u:u?[u]:[])}}}function kd(e,t){let n=-1;const r=[];for(;++n<t.length;)(t[n].add==="after"?e:r).push(t[n]);ve(e,0,0,r)}const Nd={tokenize:Dd,partial:!0},ls={tokenize:vd,partial:!0},cs={tokenize:Pd,partial:!0},ds={tokenize:Md,partial:!0},Id={tokenize:Bd,partial:!0},hs={name:"wwwAutolink",tokenize:Ld,previous:fs},ps={name:"protocolAutolink",tokenize:Rd,previous:ms},Ke={name:"emailAutolink",tokenize:Od,previous:gs},Ye={};function Sd(){return{text:Ye}}let lt=48;for(;lt<123;)Ye[lt]=Ke,lt++,lt===58?lt=65:lt===91&&(lt=97);Ye[43]=Ke;Ye[45]=Ke;Ye[46]=Ke;Ye[95]=Ke;Ye[72]=[Ke,ps];Ye[104]=[Ke,ps];Ye[87]=[Ke,hs];Ye[119]=[Ke,hs];function Od(e,t,n){const r=this;let a,i;return s;function s(h){return!gr(h)||!gs.call(r,r.previous)||Fr(r.events)?n(h):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),u(h))}function u(h){return gr(h)?(e.consume(h),u):h===64?(e.consume(h),l):n(h)}function l(h){return h===46?e.check(Id,d,c)(h):h===45||h===95||Te(h)?(i=!0,e.consume(h),l):d(h)}function c(h){return e.consume(h),a=!0,l}function d(h){return i&&a&&ke(r.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(h)):n(h)}}function Ld(e,t,n){const r=this;return a;function a(s){return s!==87&&s!==119||!fs.call(r,r.previous)||Fr(r.events)?n(s):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(Nd,e.attempt(ls,e.attempt(cs,i),n),n)(s))}function i(s){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(s)}}function Rd(e,t,n){const r=this;let a="",i=!1;return s;function s(h){return(h===72||h===104)&&ms.call(r,r.previous)&&!Fr(r.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),a+=String.fromCodePoint(h),e.consume(h),u):n(h)}function u(h){if(ke(h)&&a.length<5)return a+=String.fromCodePoint(h),e.consume(h),u;if(h===58){const b=a.toLowerCase();if(b==="http"||b==="https")return e.consume(h),l}return n(h)}function l(h){return h===47?(e.consume(h),i?c:(i=!0,l)):n(h)}function c(h){return h===null||yn(h)||ae(h)||pt(h)||On(h)?n(h):e.attempt(ls,e.attempt(cs,d),n)(h)}function d(h){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(h)}}function Dd(e,t,n){let r=0;return a;function a(s){return(s===87||s===119)&&r<3?(r++,e.consume(s),a):s===46&&r===3?(e.consume(s),i):n(s)}function i(s){return s===null?n(s):t(s)}}function vd(e,t,n){let r,a,i;return s;function s(c){return c===46||c===95?e.check(ds,l,u)(c):c===null||ae(c)||pt(c)||c!==45&&On(c)?l(c):(i=!0,e.consume(c),s)}function u(c){return c===95?r=!0:(a=r,r=void 0),e.consume(c),s}function l(c){return a||r||!i?n(c):t(c)}}function Pd(e,t){let n=0,r=0;return a;function a(s){return s===40?(n++,e.consume(s),a):s===41&&r<n?i(s):s===33||s===34||s===38||s===39||s===41||s===42||s===44||s===46||s===58||s===59||s===60||s===63||s===93||s===95||s===126?e.check(ds,t,i)(s):s===null||ae(s)||pt(s)?t(s):(e.consume(s),a)}function i(s){return s===41&&r++,e.consume(s),a}}function Md(e,t,n){return r;function r(u){return u===33||u===34||u===39||u===41||u===42||u===44||u===46||u===58||u===59||u===63||u===95||u===126?(e.consume(u),r):u===38?(e.consume(u),i):u===93?(e.consume(u),a):u===60||u===null||ae(u)||pt(u)?t(u):n(u)}function a(u){return u===null||u===40||u===91||ae(u)||pt(u)?t(u):r(u)}function i(u){return ke(u)?s(u):n(u)}function s(u){return u===59?(e.consume(u),r):ke(u)?(e.consume(u),s):n(u)}}function Bd(e,t,n){return r;function r(i){return e.consume(i),a}function a(i){return Te(i)?n(i):t(i)}}function fs(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||ae(e)}function ms(e){return!ke(e)}function gs(e){return!(e===47||gr(e))}function gr(e){return e===43||e===45||e===46||e===95||Te(e)}function Fr(e){let t=e.length,n=!1;for(;t--;){const r=e[t][1];if((r.type==="labelLink"||r.type==="labelImage")&&!r._balanced){n=!0;break}if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}function Ot(e){const t=[];let n=-1,r=0,a=0;for(;++n<e.length;){const i=e.charCodeAt(n);let s="";if(i===37&&Te(e.charCodeAt(n+1))&&Te(e.charCodeAt(n+2)))a=2;else if(i<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(i))||(s=String.fromCharCode(i));else if(i>55295&&i<57344){const u=e.charCodeAt(n+1);i<56320&&u>56319&&u<57344?(s=String.fromCharCode(i,u),a=1):s="�"}else s=String.fromCharCode(i);s&&(t.push(e.slice(r,n),encodeURIComponent(s)),r=n+a+1,s=""),a&&(n+=a,a=0)}return t.join("")+e.slice(r)}function _n(e){if(e===null||ae(e)||pt(e))return 1;if(On(e))return 2}function vn(e,t,n){const r=[];let a=-1;for(;++a<e.length;){const i=e[a].resolveAll;i&&!r.includes(i)&&(t=i(t,n),r.push(i))}return t}const br={name:"attention",tokenize:Hd,resolveAll:Fd};function Fd(e,t){let n=-1,r,a,i,s,u,l,c,d;for(;++n<e.length;)if(e[n][0]==="enter"&&e[n][1].type==="attentionSequence"&&e[n][1]._close){for(r=n;r--;)if(e[r][0]==="exit"&&e[r][1].type==="attentionSequence"&&e[r][1]._open&&t.sliceSerialize(e[r][1]).charCodeAt(0)===t.sliceSerialize(e[n][1]).charCodeAt(0)){if((e[r][1]._close||e[n][1]._open)&&(e[n][1].end.offset-e[n][1].start.offset)%3&&!((e[r][1].end.offset-e[r][1].start.offset+e[n][1].end.offset-e[n][1].start.offset)%3))continue;l=e[r][1].end.offset-e[r][1].start.offset>1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;const h=Object.assign({},e[r][1].end),b=Object.assign({},e[n][1].start);_a(h,-l),_a(b,l),s={type:l>1?"strongSequence":"emphasisSequence",start:h,end:Object.assign({},e[r][1].end)},u={type:l>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[n][1].start),end:b},i={type:l>1?"strongText":"emphasisText",start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)},a={type:l>1?"strong":"emphasis",start:Object.assign({},s.start),end:Object.assign({},u.end)},e[r][1].end=Object.assign({},s.start),e[n][1].start=Object.assign({},u.end),c=[],e[r][1].end.offset-e[r][1].start.offset&&(c=Re(c,[["enter",e[r][1],t],["exit",e[r][1],t]])),c=Re(c,[["enter",a,t],["enter",s,t],["exit",s,t],["enter",i,t]]),c=Re(c,vn(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),c=Re(c,[["exit",i,t],["enter",u,t],["exit",u,t],["exit",a,t]]),e[n][1].end.offset-e[n][1].start.offset?(d=2,c=Re(c,[["enter",e[n][1],t],["exit",e[n][1],t]])):d=0,ve(e,r-1,n-r+3,c),n=r+c.length-d-2;break}}for(n=-1;++n<e.length;)e[n][1].type==="attentionSequence"&&(e[n][1].type="data");return e}function Hd(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,a=_n(r);let i;return s;function s(l){return i=l,e.enter("attentionSequence"),u(l)}function u(l){if(l===i)return e.consume(l),u;const c=e.exit("attentionSequence"),d=_n(l),h=!d||d===2&&a||n.includes(l),b=!a||a===2&&d||n.includes(r);return c._open=!!(i===42?h:h&&(a||!b)),c._close=!!(i===42?b:b&&(d||!h)),t(l)}}function _a(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const Ud={name:"autolink",tokenize:zd};function zd(e,t,n){let r=0;return a;function a(p){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(p),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),i}function i(p){return ke(p)?(e.consume(p),s):p===64?n(p):c(p)}function s(p){return p===43||p===45||p===46||Te(p)?(r=1,u(p)):c(p)}function u(p){return p===58?(e.consume(p),r=0,l):(p===43||p===45||p===46||Te(p))&&r++<32?(e.consume(p),u):(r=0,c(p))}function l(p){return p===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(p),e.exit("autolinkMarker"),e.exit("autolink"),t):p===null||p===32||p===60||yn(p)?n(p):(e.consume(p),l)}function c(p){return p===64?(e.consume(p),d):Dl(p)?(e.consume(p),c):n(p)}function d(p){return Te(p)?h(p):n(p)}function h(p){return p===46?(e.consume(p),r=0,d):p===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(p),e.exit("autolinkMarker"),e.exit("autolink"),t):b(p)}function b(p){if((p===45||Te(p))&&r++<63){const E=p===45?b:h;return e.consume(p),E}return n(p)}}function ee(e,t,n,r){const a=r?r-1:Number.POSITIVE_INFINITY;let i=0;return s;function s(l){return K(l)?(e.enter(n),u(l)):t(l)}function u(l){return K(l)&&i++<a?(e.consume(l),u):(e.exit(n),t(l))}}const nn={tokenize:jd,partial:!0};function jd(e,t,n){return r;function r(i){return K(i)?ee(e,a,"linePrefix")(i):a(i)}function a(i){return i===null||z(i)?t(i):n(i)}}const bs={name:"blockQuote",tokenize:Yd,continuation:{tokenize:qd},exit:Wd};function Yd(e,t,n){const r=this;return a;function a(s){if(s===62){const u=r.containerState;return u.open||(e.enter("blockQuote",{_container:!0}),u.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(s),e.exit("blockQuoteMarker"),i}return n(s)}function i(s){return K(s)?(e.enter("blockQuotePrefixWhitespace"),e.consume(s),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(s))}}function qd(e,t,n){const r=this;return a;function a(s){return K(s)?ee(e,i,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(s):i(s)}function i(s){return e.attempt(bs,t,n)(s)}}function Wd(e){e.exit("blockQuote")}const Es={name:"characterEscape",tokenize:Vd};function Vd(e,t,n){return r;function r(i){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(i),e.exit("escapeMarker"),a}function a(i){return Pl(i)?(e.enter("characterEscapeValue"),e.consume(i),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(i)}}const xs={name:"characterReference",tokenize:Gd};function Gd(e,t,n){const r=this;let a=0,i,s;return u;function u(h){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(h),e.exit("characterReferenceMarker"),l}function l(h){return h===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(h),e.exit("characterReferenceMarkerNumeric"),c):(e.enter("characterReferenceValue"),i=31,s=Te,d(h))}function c(h){return h===88||h===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(h),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),i=6,s=vl,d):(e.enter("characterReferenceValue"),i=7,s=fr,d(h))}function d(h){if(h===59&&a){const b=e.exit("characterReferenceValue");return s===Te&&!Br(r.sliceSerialize(b))?n(h):(e.enter("characterReferenceMarker"),e.consume(h),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return s(h)&&a++<i?(e.consume(h),d):n(h)}}const Aa={tokenize:Xd,partial:!0},Ca={name:"codeFenced",tokenize:Qd,concrete:!0};function Qd(e,t,n){const r=this,a={tokenize:H,partial:!0};let i=0,s=0,u;return l;function l(I){return c(I)}function c(I){const F=r.events[r.events.length-1];return i=F&&F[1].type==="linePrefix"?F[2].sliceSerialize(F[1],!0).length:0,u=I,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),d(I)}function d(I){return I===u?(s++,e.consume(I),d):s<3?n(I):(e.exit("codeFencedFenceSequence"),K(I)?ee(e,h,"whitespace")(I):h(I))}function h(I){return I===null||z(I)?(e.exit("codeFencedFence"),r.interrupt?t(I):e.check(Aa,y,P)(I)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),b(I))}function b(I){return I===null||z(I)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),h(I)):K(I)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),ee(e,p,"whitespace")(I)):I===96&&I===u?n(I):(e.consume(I),b)}function p(I){return I===null||z(I)?h(I):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),E(I))}function E(I){return I===null||z(I)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),h(I)):I===96&&I===u?n(I):(e.consume(I),E)}function y(I){return e.attempt(a,P,C)(I)}function C(I){return e.enter("lineEnding"),e.consume(I),e.exit("lineEnding"),A}function A(I){return i>0&&K(I)?ee(e,O,"linePrefix",i+1)(I):O(I)}function O(I){return I===null||z(I)?e.check(Aa,y,P)(I):(e.enter("codeFlowValue"),L(I))}function L(I){return I===null||z(I)?(e.exit("codeFlowValue"),O(I)):(e.consume(I),L)}function P(I){return e.exit("codeFenced"),t(I)}function H(I,F,j){let G=0;return N;function N($){return I.enter("lineEnding"),I.consume($),I.exit("lineEnding"),U}function U($){return I.enter("codeFencedFence"),K($)?ee(I,M,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)($):M($)}function M($){return $===u?(I.enter("codeFencedFenceSequence"),te($)):j($)}function te($){return $===u?(G++,I.consume($),te):G>=s?(I.exit("codeFencedFenceSequence"),K($)?ee(I,ne,"whitespace")($):ne($)):j($)}function ne($){return $===null||z($)?(I.exit("codeFencedFence"),F($)):j($)}}}function Xd(e,t,n){const r=this;return a;function a(s){return s===null?n(s):(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),i)}function i(s){return r.parser.lazy[r.now().line]?n(s):t(s)}}const $n={name:"codeIndented",tokenize:$d},Kd={tokenize:Jd,partial:!0};function $d(e,t,n){const r=this;return a;function a(c){return e.enter("codeIndented"),ee(e,i,"linePrefix",5)(c)}function i(c){const d=r.events[r.events.length-1];return d&&d[1].type==="linePrefix"&&d[2].sliceSerialize(d[1],!0).length>=4?s(c):n(c)}function s(c){return c===null?l(c):z(c)?e.attempt(Kd,s,l)(c):(e.enter("codeFlowValue"),u(c))}function u(c){return c===null||z(c)?(e.exit("codeFlowValue"),s(c)):(e.consume(c),u)}function l(c){return e.exit("codeIndented"),t(c)}}function Jd(e,t,n){const r=this;return a;function a(s){return r.parser.lazy[r.now().line]?n(s):z(s)?(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),a):ee(e,i,"linePrefix",5)(s)}function i(s){const u=r.events[r.events.length-1];return u&&u[1].type==="linePrefix"&&u[2].sliceSerialize(u[1],!0).length>=4?t(s):z(s)?a(s):n(s)}}const Zd={name:"codeText",tokenize:n0,resolve:e0,previous:t0};function e0(e){let t=e.length-4,n=3,r,a;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(r=n;++r<t;)if(e[r][1].type==="codeTextData"){e[n][1].type="codeTextPadding",e[t][1].type="codeTextPadding",n+=2,t-=2;break}}for(r=n-1,t++;++r<=t;)a===void 0?r!==t&&e[r][1].type!=="lineEnding"&&(a=r):(r===t||e[r][1].type==="lineEnding")&&(e[a][1].type="codeTextData",r!==a+2&&(e[a][1].end=e[r-1][1].end,e.splice(a+2,r-a-2),t-=r-a-2,r=a+2),a=void 0);return e}function t0(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function n0(e,t,n){let r=0,a,i;return s;function s(h){return e.enter("codeText"),e.enter("codeTextSequence"),u(h)}function u(h){return h===96?(e.consume(h),r++,u):(e.exit("codeTextSequence"),l(h))}function l(h){return h===null?n(h):h===32?(e.enter("space"),e.consume(h),e.exit("space"),l):h===96?(i=e.enter("codeTextSequence"),a=0,d(h)):z(h)?(e.enter("lineEnding"),e.consume(h),e.exit("lineEnding"),l):(e.enter("codeTextData"),c(h))}function c(h){return h===null||h===32||h===96||z(h)?(e.exit("codeTextData"),l(h)):(e.consume(h),c)}function d(h){return h===96?(e.consume(h),a++,d):a===r?(e.exit("codeTextSequence"),e.exit("codeText"),t(h)):(i.type="codeTextData",c(h))}}class r0{constructor(t){this.left=t?[...t]:[],this.right=[]}get(t){if(t<0||t>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+t+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return t<this.left.length?this.left[t]:this.right[this.right.length-t+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(t,n){const r=n??Number.POSITIVE_INFINITY;return r<this.left.length?this.left.slice(t,r):t>this.left.length?this.right.slice(this.right.length-r+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-r+this.left.length).reverse())}splice(t,n,r){const a=n||0;this.setCursor(Math.trunc(t));const i=this.right.splice(this.right.length-a,Number.POSITIVE_INFINITY);return r&&Ut(this.left,r),i.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(t){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(t)}pushMany(t){this.setCursor(Number.POSITIVE_INFINITY),Ut(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),Ut(this.right,t.reverse())}setCursor(t){if(!(t===this.left.length||t>this.left.length&&this.right.length===0||t<0&&this.left.length===0))if(t<this.left.length){const n=this.left.splice(t,Number.POSITIVE_INFINITY);Ut(this.right,n.reverse())}else{const n=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);Ut(this.left,n.reverse())}}}function Ut(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}function ws(e){const t={};let n=-1,r,a,i,s,u,l,c;const d=new r0(e);for(;++n<d.length;){for(;n in t;)n=t[n];if(r=d.get(n),n&&r[1].type==="chunkFlow"&&d.get(n-1)[1].type==="listItemPrefix"&&(l=r[1]._tokenizer.events,i=0,i<l.length&&l[i][1].type==="lineEndingBlank"&&(i+=2),i<l.length&&l[i][1].type==="content"))for(;++i<l.length&&l[i][1].type!=="content";)l[i][1].type==="chunkText"&&(l[i][1]._isInFirstContentOfListItem=!0,i++);if(r[0]==="enter")r[1].contentType&&(Object.assign(t,a0(d,n)),n=t[n],c=!0);else if(r[1]._container){for(i=n,a=void 0;i--&&(s=d.get(i),s[1].type==="lineEnding"||s[1].type==="lineEndingBlank");)s[0]==="enter"&&(a&&(d.get(a)[1].type="lineEndingBlank"),s[1].type="lineEnding",a=i);a&&(r[1].end=Object.assign({},d.get(a)[1].start),u=d.slice(a,n),u.unshift(r),d.splice(a,n-a+1,u))}}return ve(e,0,Number.POSITIVE_INFINITY,d.slice(0)),!c}function a0(e,t){const n=e.get(t)[1],r=e.get(t)[2];let a=t-1;const i=[],s=n._tokenizer||r.parser[n.contentType](n.start),u=s.events,l=[],c={};let d,h,b=-1,p=n,E=0,y=0;const C=[y];for(;p;){for(;e.get(++a)[1]!==p;);i.push(a),p._tokenizer||(d=r.sliceStream(p),p.next||d.push(null),h&&s.defineSkip(p.start),p._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=!0),s.write(d),p._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=void 0)),h=p,p=p.next}for(p=n;++b<u.length;)u[b][0]==="exit"&&u[b-1][0]==="enter"&&u[b][1].type===u[b-1][1].type&&u[b][1].start.line!==u[b][1].end.line&&(y=b+1,C.push(y),p._tokenizer=void 0,p.previous=void 0,p=p.next);for(s.events=[],p?(p._tokenizer=void 0,p.previous=void 0):C.pop(),b=C.length;b--;){const A=u.slice(C[b],C[b+1]),O=i.pop();l.push([O,O+A.length-1]),e.splice(O,2,A)}for(l.reverse(),b=-1;++b<l.length;)c[E+l[b][0]]=E+l[b][1],E+=l[b][1]-l[b][0]-1;return c}const i0={tokenize:u0,resolve:o0},s0={tokenize:l0,partial:!0};function o0(e){return ws(e),e}function u0(e,t){let n;return r;function r(u){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),a(u)}function a(u){return u===null?i(u):z(u)?e.check(s0,s,i)(u):(e.consume(u),a)}function i(u){return e.exit("chunkContent"),e.exit("content"),t(u)}function s(u){return e.consume(u),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,a}}function l0(e,t,n){const r=this;return a;function a(s){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),ee(e,i,"linePrefix")}function i(s){if(s===null||z(s))return n(s);const u=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&u&&u[1].type==="linePrefix"&&u[2].sliceSerialize(u[1],!0).length>=4?t(s):e.interrupt(r.parser.constructs.flow,n,t)(s)}}function Ts(e,t,n,r,a,i,s,u,l){const c=l||Number.POSITIVE_INFINITY;let d=0;return h;function h(A){return A===60?(e.enter(r),e.enter(a),e.enter(i),e.consume(A),e.exit(i),b):A===null||A===32||A===41||yn(A)?n(A):(e.enter(r),e.enter(s),e.enter(u),e.enter("chunkString",{contentType:"string"}),y(A))}function b(A){return A===62?(e.enter(i),e.consume(A),e.exit(i),e.exit(a),e.exit(r),t):(e.enter(u),e.enter("chunkString",{contentType:"string"}),p(A))}function p(A){return A===62?(e.exit("chunkString"),e.exit(u),b(A)):A===null||A===60||z(A)?n(A):(e.consume(A),A===92?E:p)}function E(A){return A===60||A===62||A===92?(e.consume(A),p):p(A)}function y(A){return!d&&(A===null||A===41||ae(A))?(e.exit("chunkString"),e.exit(u),e.exit(s),e.exit(r),t(A)):d<c&&A===40?(e.consume(A),d++,y):A===41?(e.consume(A),d--,y):A===null||A===32||A===40||yn(A)?n(A):(e.consume(A),A===92?C:y)}function C(A){return A===40||A===41||A===92?(e.consume(A),y):y(A)}}function ys(e,t,n,r,a,i){const s=this;let u=0,l;return c;function c(p){return e.enter(r),e.enter(a),e.consume(p),e.exit(a),e.enter(i),d}function d(p){return u>999||p===null||p===91||p===93&&!l||p===94&&!u&&"_hiddenFootnoteSupport"in s.parser.constructs?n(p):p===93?(e.exit(i),e.enter(a),e.consume(p),e.exit(a),e.exit(r),t):z(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),d):(e.enter("chunkString",{contentType:"string"}),h(p))}function h(p){return p===null||p===91||p===93||z(p)||u++>999?(e.exit("chunkString"),d(p)):(e.consume(p),l||(l=!K(p)),p===92?b:h)}function b(p){return p===91||p===92||p===93?(e.consume(p),u++,h):h(p)}}function _s(e,t,n,r,a,i){let s;return u;function u(b){return b===34||b===39||b===40?(e.enter(r),e.enter(a),e.consume(b),e.exit(a),s=b===40?41:b,l):n(b)}function l(b){return b===s?(e.enter(a),e.consume(b),e.exit(a),e.exit(r),t):(e.enter(i),c(b))}function c(b){return b===s?(e.exit(i),l(s)):b===null?n(b):z(b)?(e.enter("lineEnding"),e.consume(b),e.exit("lineEnding"),ee(e,c,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),d(b))}function d(b){return b===s||b===null||z(b)?(e.exit("chunkString"),c(b)):(e.consume(b),b===92?h:d)}function h(b){return b===s||b===92?(e.consume(b),d):d(b)}}function Wt(e,t){let n;return r;function r(a){return z(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),n=!0,r):K(a)?ee(e,r,n?"linePrefix":"lineSuffix")(a):t(a)}}const c0={name:"definition",tokenize:h0},d0={tokenize:p0,partial:!0};function h0(e,t,n){const r=this;let a;return i;function i(p){return e.enter("definition"),s(p)}function s(p){return ys.call(r,e,u,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(p)}function u(p){return a=Fe(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),p===58?(e.enter("definitionMarker"),e.consume(p),e.exit("definitionMarker"),l):n(p)}function l(p){return ae(p)?Wt(e,c)(p):c(p)}function c(p){return Ts(e,d,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(p)}function d(p){return e.attempt(d0,h,h)(p)}function h(p){return K(p)?ee(e,b,"whitespace")(p):b(p)}function b(p){return p===null||z(p)?(e.exit("definition"),r.parser.defined.push(a),t(p)):n(p)}}function p0(e,t,n){return r;function r(u){return ae(u)?Wt(e,a)(u):n(u)}function a(u){return _s(e,i,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(u)}function i(u){return K(u)?ee(e,s,"whitespace")(u):s(u)}function s(u){return u===null||z(u)?t(u):n(u)}}const f0={name:"hardBreakEscape",tokenize:m0};function m0(e,t,n){return r;function r(i){return e.enter("hardBreakEscape"),e.consume(i),a}function a(i){return z(i)?(e.exit("hardBreakEscape"),t(i)):n(i)}}const g0={name:"headingAtx",tokenize:E0,resolve:b0};function b0(e,t){let n=e.length-2,r=3,a,i;return e[r][1].type==="whitespace"&&(r+=2),n-2>r&&e[n][1].type==="whitespace"&&(n-=2),e[n][1].type==="atxHeadingSequence"&&(r===n-1||n-4>r&&e[n-2][1].type==="whitespace")&&(n-=r+1===n?2:4),n>r&&(a={type:"atxHeadingText",start:e[r][1].start,end:e[n][1].end},i={type:"chunkText",start:e[r][1].start,end:e[n][1].end,contentType:"text"},ve(e,r,n-r+1,[["enter",a,t],["enter",i,t],["exit",i,t],["exit",a,t]])),e}function E0(e,t,n){let r=0;return a;function a(d){return e.enter("atxHeading"),i(d)}function i(d){return e.enter("atxHeadingSequence"),s(d)}function s(d){return d===35&&r++<6?(e.consume(d),s):d===null||ae(d)?(e.exit("atxHeadingSequence"),u(d)):n(d)}function u(d){return d===35?(e.enter("atxHeadingSequence"),l(d)):d===null||z(d)?(e.exit("atxHeading"),t(d)):K(d)?ee(e,u,"whitespace")(d):(e.enter("atxHeadingText"),c(d))}function l(d){return d===35?(e.consume(d),l):(e.exit("atxHeadingSequence"),u(d))}function c(d){return d===null||d===35||ae(d)?(e.exit("atxHeadingText"),u(d)):(e.consume(d),c)}}const x0=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],ka=["pre","script","style","textarea"],w0={name:"htmlFlow",tokenize:A0,resolveTo:_0,concrete:!0},T0={tokenize:k0,partial:!0},y0={tokenize:C0,partial:!0};function _0(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function A0(e,t,n){const r=this;let a,i,s,u,l;return c;function c(T){return d(T)}function d(T){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(T),h}function h(T){return T===33?(e.consume(T),b):T===47?(e.consume(T),i=!0,y):T===63?(e.consume(T),a=3,r.interrupt?t:w):ke(T)?(e.consume(T),s=String.fromCharCode(T),C):n(T)}function b(T){return T===45?(e.consume(T),a=2,p):T===91?(e.consume(T),a=5,u=0,E):ke(T)?(e.consume(T),a=4,r.interrupt?t:w):n(T)}function p(T){return T===45?(e.consume(T),r.interrupt?t:w):n(T)}function E(T){const Me="CDATA[";return T===Me.charCodeAt(u++)?(e.consume(T),u===Me.length?r.interrupt?t:M:E):n(T)}function y(T){return ke(T)?(e.consume(T),s=String.fromCharCode(T),C):n(T)}function C(T){if(T===null||T===47||T===62||ae(T)){const Me=T===47,ot=s.toLowerCase();return!Me&&!i&&ka.includes(ot)?(a=1,r.interrupt?t(T):M(T)):x0.includes(s.toLowerCase())?(a=6,Me?(e.consume(T),A):r.interrupt?t(T):M(T)):(a=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(T):i?O(T):L(T))}return T===45||Te(T)?(e.consume(T),s+=String.fromCharCode(T),C):n(T)}function A(T){return T===62?(e.consume(T),r.interrupt?t:M):n(T)}function O(T){return K(T)?(e.consume(T),O):N(T)}function L(T){return T===47?(e.consume(T),N):T===58||T===95||ke(T)?(e.consume(T),P):K(T)?(e.consume(T),L):N(T)}function P(T){return T===45||T===46||T===58||T===95||Te(T)?(e.consume(T),P):H(T)}function H(T){return T===61?(e.consume(T),I):K(T)?(e.consume(T),H):L(T)}function I(T){return T===null||T===60||T===61||T===62||T===96?n(T):T===34||T===39?(e.consume(T),l=T,F):K(T)?(e.consume(T),I):j(T)}function F(T){return T===l?(e.consume(T),l=null,G):T===null||z(T)?n(T):(e.consume(T),F)}function j(T){return T===null||T===34||T===39||T===47||T===60||T===61||T===62||T===96||ae(T)?H(T):(e.consume(T),j)}function G(T){return T===47||T===62||K(T)?L(T):n(T)}function N(T){return T===62?(e.consume(T),U):n(T)}function U(T){return T===null||z(T)?M(T):K(T)?(e.consume(T),U):n(T)}function M(T){return T===45&&a===2?(e.consume(T),le):T===60&&a===1?(e.consume(T),fe):T===62&&a===4?(e.consume(T),ce):T===63&&a===3?(e.consume(T),w):T===93&&a===5?(e.consume(T),Ce):z(T)&&(a===6||a===7)?(e.exit("htmlFlowData"),e.check(T0,We,te)(T)):T===null||z(T)?(e.exit("htmlFlowData"),te(T)):(e.consume(T),M)}function te(T){return e.check(y0,ne,We)(T)}function ne(T){return e.enter("lineEnding"),e.consume(T),e.exit("lineEnding"),$}function $(T){return T===null||z(T)?te(T):(e.enter("htmlFlowData"),M(T))}function le(T){return T===45?(e.consume(T),w):M(T)}function fe(T){return T===47?(e.consume(T),s="",Ae):M(T)}function Ae(T){if(T===62){const Me=s.toLowerCase();return ka.includes(Me)?(e.consume(T),ce):M(T)}return ke(T)&&s.length<8?(e.consume(T),s+=String.fromCharCode(T),Ae):M(T)}function Ce(T){return T===93?(e.consume(T),w):M(T)}function w(T){return T===62?(e.consume(T),ce):T===45&&a===2?(e.consume(T),w):M(T)}function ce(T){return T===null||z(T)?(e.exit("htmlFlowData"),We(T)):(e.consume(T),ce)}function We(T){return e.exit("htmlFlow"),t(T)}}function C0(e,t,n){const r=this;return a;function a(s){return z(s)?(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),i):n(s)}function i(s){return r.parser.lazy[r.now().line]?n(s):t(s)}}function k0(e,t,n){return r;function r(a){return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),e.attempt(nn,t,n)}}const N0={name:"htmlText",tokenize:I0};function I0(e,t,n){const r=this;let a,i,s;return u;function u(w){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(w),l}function l(w){return w===33?(e.consume(w),c):w===47?(e.consume(w),H):w===63?(e.consume(w),L):ke(w)?(e.consume(w),j):n(w)}function c(w){return w===45?(e.consume(w),d):w===91?(e.consume(w),i=0,E):ke(w)?(e.consume(w),O):n(w)}function d(w){return w===45?(e.consume(w),p):n(w)}function h(w){return w===null?n(w):w===45?(e.consume(w),b):z(w)?(s=h,fe(w)):(e.consume(w),h)}function b(w){return w===45?(e.consume(w),p):h(w)}function p(w){return w===62?le(w):w===45?b(w):h(w)}function E(w){const ce="CDATA[";return w===ce.charCodeAt(i++)?(e.consume(w),i===ce.length?y:E):n(w)}function y(w){return w===null?n(w):w===93?(e.consume(w),C):z(w)?(s=y,fe(w)):(e.consume(w),y)}function C(w){return w===93?(e.consume(w),A):y(w)}function A(w){return w===62?le(w):w===93?(e.consume(w),A):y(w)}function O(w){return w===null||w===62?le(w):z(w)?(s=O,fe(w)):(e.consume(w),O)}function L(w){return w===null?n(w):w===63?(e.consume(w),P):z(w)?(s=L,fe(w)):(e.consume(w),L)}function P(w){return w===62?le(w):L(w)}function H(w){return ke(w)?(e.consume(w),I):n(w)}function I(w){return w===45||Te(w)?(e.consume(w),I):F(w)}function F(w){return z(w)?(s=F,fe(w)):K(w)?(e.consume(w),F):le(w)}function j(w){return w===45||Te(w)?(e.consume(w),j):w===47||w===62||ae(w)?G(w):n(w)}function G(w){return w===47?(e.consume(w),le):w===58||w===95||ke(w)?(e.consume(w),N):z(w)?(s=G,fe(w)):K(w)?(e.consume(w),G):le(w)}function N(w){return w===45||w===46||w===58||w===95||Te(w)?(e.consume(w),N):U(w)}function U(w){return w===61?(e.consume(w),M):z(w)?(s=U,fe(w)):K(w)?(e.consume(w),U):G(w)}function M(w){return w===null||w===60||w===61||w===62||w===96?n(w):w===34||w===39?(e.consume(w),a=w,te):z(w)?(s=M,fe(w)):K(w)?(e.consume(w),M):(e.consume(w),ne)}function te(w){return w===a?(e.consume(w),a=void 0,$):w===null?n(w):z(w)?(s=te,fe(w)):(e.consume(w),te)}function ne(w){return w===null||w===34||w===39||w===60||w===61||w===96?n(w):w===47||w===62||ae(w)?G(w):(e.consume(w),ne)}function $(w){return w===47||w===62||ae(w)?G(w):n(w)}function le(w){return w===62?(e.consume(w),e.exit("htmlTextData"),e.exit("htmlText"),t):n(w)}function fe(w){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(w),e.exit("lineEnding"),Ae}function Ae(w){return K(w)?ee(e,Ce,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(w):Ce(w)}function Ce(w){return e.enter("htmlTextData"),s(w)}}const Hr={name:"labelEnd",tokenize:v0,resolveTo:D0,resolveAll:R0},S0={tokenize:P0},O0={tokenize:M0},L0={tokenize:B0};function R0(e){let t=-1;for(;++t<e.length;){const n=e[t][1];(n.type==="labelImage"||n.type==="labelLink"||n.type==="labelEnd")&&(e.splice(t+1,n.type==="labelImage"?4:2),n.type="data",t++)}return e}function D0(e,t){let n=e.length,r=0,a,i,s,u;for(;n--;)if(a=e[n][1],i){if(a.type==="link"||a.type==="labelLink"&&a._inactive)break;e[n][0]==="enter"&&a.type==="labelLink"&&(a._inactive=!0)}else if(s){if(e[n][0]==="enter"&&(a.type==="labelImage"||a.type==="labelLink")&&!a._balanced&&(i=n,a.type!=="labelLink")){r=2;break}}else a.type==="labelEnd"&&(s=n);const l={type:e[i][1].type==="labelLink"?"link":"image",start:Object.assign({},e[i][1].start),end:Object.assign({},e[e.length-1][1].end)},c={type:"label",start:Object.assign({},e[i][1].start),end:Object.assign({},e[s][1].end)},d={type:"labelText",start:Object.assign({},e[i+r+2][1].end),end:Object.assign({},e[s-2][1].start)};return u=[["enter",l,t],["enter",c,t]],u=Re(u,e.slice(i+1,i+r+3)),u=Re(u,[["enter",d,t]]),u=Re(u,vn(t.parser.constructs.insideSpan.null,e.slice(i+r+4,s-3),t)),u=Re(u,[["exit",d,t],e[s-2],e[s-1],["exit",c,t]]),u=Re(u,e.slice(s+1)),u=Re(u,[["exit",l,t]]),ve(e,i,e.length,u),e}function v0(e,t,n){const r=this;let a=r.events.length,i,s;for(;a--;)if((r.events[a][1].type==="labelImage"||r.events[a][1].type==="labelLink")&&!r.events[a][1]._balanced){i=r.events[a][1];break}return u;function u(b){return i?i._inactive?h(b):(s=r.parser.defined.includes(Fe(r.sliceSerialize({start:i.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(b),e.exit("labelMarker"),e.exit("labelEnd"),l):n(b)}function l(b){return b===40?e.attempt(S0,d,s?d:h)(b):b===91?e.attempt(O0,d,s?c:h)(b):s?d(b):h(b)}function c(b){return e.attempt(L0,d,h)(b)}function d(b){return t(b)}function h(b){return i._balanced=!0,n(b)}}function P0(e,t,n){return r;function r(h){return e.enter("resource"),e.enter("resourceMarker"),e.consume(h),e.exit("resourceMarker"),a}function a(h){return ae(h)?Wt(e,i)(h):i(h)}function i(h){return h===41?d(h):Ts(e,s,u,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(h)}function s(h){return ae(h)?Wt(e,l)(h):d(h)}function u(h){return n(h)}function l(h){return h===34||h===39||h===40?_s(e,c,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(h):d(h)}function c(h){return ae(h)?Wt(e,d)(h):d(h)}function d(h){return h===41?(e.enter("resourceMarker"),e.consume(h),e.exit("resourceMarker"),e.exit("resource"),t):n(h)}}function M0(e,t,n){const r=this;return a;function a(u){return ys.call(r,e,i,s,"reference","referenceMarker","referenceString")(u)}function i(u){return r.parser.defined.includes(Fe(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(u):n(u)}function s(u){return n(u)}}function B0(e,t,n){return r;function r(i){return e.enter("reference"),e.enter("referenceMarker"),e.consume(i),e.exit("referenceMarker"),a}function a(i){return i===93?(e.enter("referenceMarker"),e.consume(i),e.exit("referenceMarker"),e.exit("reference"),t):n(i)}}const F0={name:"labelStartImage",tokenize:H0,resolveAll:Hr.resolveAll};function H0(e,t,n){const r=this;return a;function a(u){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(u),e.exit("labelImageMarker"),i}function i(u){return u===91?(e.enter("labelMarker"),e.consume(u),e.exit("labelMarker"),e.exit("labelImage"),s):n(u)}function s(u){return u===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(u):t(u)}}const U0={name:"labelStartLink",tokenize:z0,resolveAll:Hr.resolveAll};function z0(e,t,n){const r=this;return a;function a(s){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(s),e.exit("labelMarker"),e.exit("labelLink"),i}function i(s){return s===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(s):t(s)}}const Jn={name:"lineEnding",tokenize:j0};function j0(e,t){return n;function n(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),ee(e,t,"linePrefix")}}const gn={name:"thematicBreak",tokenize:Y0};function Y0(e,t,n){let r=0,a;return i;function i(c){return e.enter("thematicBreak"),s(c)}function s(c){return a=c,u(c)}function u(c){return c===a?(e.enter("thematicBreakSequence"),l(c)):r>=3&&(c===null||z(c))?(e.exit("thematicBreak"),t(c)):n(c)}function l(c){return c===a?(e.consume(c),r++,l):(e.exit("thematicBreakSequence"),K(c)?ee(e,u,"whitespace")(c):u(c))}}const Ie={name:"list",tokenize:V0,continuation:{tokenize:G0},exit:X0},q0={tokenize:K0,partial:!0},W0={tokenize:Q0,partial:!0};function V0(e,t,n){const r=this,a=r.events[r.events.length-1];let i=a&&a[1].type==="linePrefix"?a[2].sliceSerialize(a[1],!0).length:0,s=0;return u;function u(p){const E=r.containerState.type||(p===42||p===43||p===45?"listUnordered":"listOrdered");if(E==="listUnordered"?!r.containerState.marker||p===r.containerState.marker:fr(p)){if(r.containerState.type||(r.containerState.type=E,e.enter(E,{_container:!0})),E==="listUnordered")return e.enter("listItemPrefix"),p===42||p===45?e.check(gn,n,c)(p):c(p);if(!r.interrupt||p===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),l(p)}return n(p)}function l(p){return fr(p)&&++s<10?(e.consume(p),l):(!r.interrupt||s<2)&&(r.containerState.marker?p===r.containerState.marker:p===41||p===46)?(e.exit("listItemValue"),c(p)):n(p)}function c(p){return e.enter("listItemMarker"),e.consume(p),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||p,e.check(nn,r.interrupt?n:d,e.attempt(q0,b,h))}function d(p){return r.containerState.initialBlankLine=!0,i++,b(p)}function h(p){return K(p)?(e.enter("listItemPrefixWhitespace"),e.consume(p),e.exit("listItemPrefixWhitespace"),b):n(p)}function b(p){return r.containerState.size=i+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(p)}}function G0(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(nn,a,i);function a(u){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,ee(e,t,"listItemIndent",r.containerState.size+1)(u)}function i(u){return r.containerState.furtherBlankLines||!K(u)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,s(u)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(W0,t,s)(u))}function s(u){return r.containerState._closeFlow=!0,r.interrupt=void 0,ee(e,e.attempt(Ie,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(u)}}function Q0(e,t,n){const r=this;return ee(e,a,"listItemIndent",r.containerState.size+1);function a(i){const s=r.events[r.events.length-1];return s&&s[1].type==="listItemIndent"&&s[2].sliceSerialize(s[1],!0).length===r.containerState.size?t(i):n(i)}}function X0(e){e.exit(this.containerState.type)}function K0(e,t,n){const r=this;return ee(e,a,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function a(i){const s=r.events[r.events.length-1];return!K(i)&&s&&s[1].type==="listItemPrefixWhitespace"?t(i):n(i)}}const Na={name:"setextUnderline",tokenize:J0,resolveTo:$0};function $0(e,t){let n=e.length,r,a,i;for(;n--;)if(e[n][0]==="enter"){if(e[n][1].type==="content"){r=n;break}e[n][1].type==="paragraph"&&(a=n)}else e[n][1].type==="content"&&e.splice(n,1),!i&&e[n][1].type==="definition"&&(i=n);const s={type:"setextHeading",start:Object.assign({},e[a][1].start),end:Object.assign({},e[e.length-1][1].end)};return e[a][1].type="setextHeadingText",i?(e.splice(a,0,["enter",s,t]),e.splice(i+1,0,["exit",e[r][1],t]),e[r][1].end=Object.assign({},e[i][1].end)):e[r][1]=s,e.push(["exit",s,t]),e}function J0(e,t,n){const r=this;let a;return i;function i(c){let d=r.events.length,h;for(;d--;)if(r.events[d][1].type!=="lineEnding"&&r.events[d][1].type!=="linePrefix"&&r.events[d][1].type!=="content"){h=r.events[d][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||h)?(e.enter("setextHeadingLine"),a=c,s(c)):n(c)}function s(c){return e.enter("setextHeadingLineSequence"),u(c)}function u(c){return c===a?(e.consume(c),u):(e.exit("setextHeadingLineSequence"),K(c)?ee(e,l,"lineSuffix")(c):l(c))}function l(c){return c===null||z(c)?(e.exit("setextHeadingLine"),t(c)):n(c)}}const Z0={tokenize:oh,partial:!0};function eh(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:ah,continuation:{tokenize:ih},exit:sh}},text:{91:{name:"gfmFootnoteCall",tokenize:rh},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:th,resolveTo:nh}}}}function th(e,t,n){const r=this;let a=r.events.length;const i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let s;for(;a--;){const l=r.events[a][1];if(l.type==="labelImage"){s=l;break}if(l.type==="gfmFootnoteCall"||l.type==="labelLink"||l.type==="label"||l.type==="image"||l.type==="link")break}return u;function u(l){if(!s||!s._balanced)return n(l);const c=Fe(r.sliceSerialize({start:s.end,end:r.now()}));return c.codePointAt(0)!==94||!i.includes(c.slice(1))?n(l):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(l),e.exit("gfmFootnoteCallLabelMarker"),t(l))}}function nh(e,t){let n=e.length;for(;n--;)if(e[n][1].type==="labelImage"&&e[n][0]==="enter"){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";const r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},a={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};a.end.column++,a.end.offset++,a.end._bufferIndex++;const i={type:"gfmFootnoteCallString",start:Object.assign({},a.end),end:Object.assign({},e[e.length-1][1].start)},s={type:"chunkString",contentType:"string",start:Object.assign({},i.start),end:Object.assign({},i.end)},u=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",a,t],["exit",a,t],["enter",i,t],["enter",s,t],["exit",s,t],["exit",i,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...u),e}function rh(e,t,n){const r=this,a=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let i=0,s;return u;function u(h){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(h),e.exit("gfmFootnoteCallLabelMarker"),l}function l(h){return h!==94?n(h):(e.enter("gfmFootnoteCallMarker"),e.consume(h),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",c)}function c(h){if(i>999||h===93&&!s||h===null||h===91||ae(h))return n(h);if(h===93){e.exit("chunkString");const b=e.exit("gfmFootnoteCallString");return a.includes(Fe(r.sliceSerialize(b)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(h),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(h)}return ae(h)||(s=!0),i++,e.consume(h),h===92?d:c}function d(h){return h===91||h===92||h===93?(e.consume(h),i++,c):c(h)}}function ah(e,t,n){const r=this,a=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let i,s=0,u;return l;function l(E){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(E),e.exit("gfmFootnoteDefinitionLabelMarker"),c}function c(E){return E===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(E),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",d):n(E)}function d(E){if(s>999||E===93&&!u||E===null||E===91||ae(E))return n(E);if(E===93){e.exit("chunkString");const y=e.exit("gfmFootnoteDefinitionLabelString");return i=Fe(r.sliceSerialize(y)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(E),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),b}return ae(E)||(u=!0),s++,e.consume(E),E===92?h:d}function h(E){return E===91||E===92||E===93?(e.consume(E),s++,d):d(E)}function b(E){return E===58?(e.enter("definitionMarker"),e.consume(E),e.exit("definitionMarker"),a.includes(i)||a.push(i),ee(e,p,"gfmFootnoteDefinitionWhitespace")):n(E)}function p(E){return t(E)}}function ih(e,t,n){return e.check(nn,t,e.attempt(Z0,t,n))}function sh(e){e.exit("gfmFootnoteDefinition")}function oh(e,t,n){const r=this;return ee(e,a,"gfmFootnoteDefinitionIndent",5);function a(i){const s=r.events[r.events.length-1];return s&&s[1].type==="gfmFootnoteDefinitionIndent"&&s[2].sliceSerialize(s[1],!0).length===4?t(i):n(i)}}function uh(e){let n=(e||{}).singleTilde;const r={name:"strikethrough",tokenize:i,resolveAll:a};return n==null&&(n=!0),{text:{126:r},insideSpan:{null:[r]},attentionMarkers:{null:[126]}};function a(s,u){let l=-1;for(;++l<s.length;)if(s[l][0]==="enter"&&s[l][1].type==="strikethroughSequenceTemporary"&&s[l][1]._close){let c=l;for(;c--;)if(s[c][0]==="exit"&&s[c][1].type==="strikethroughSequenceTemporary"&&s[c][1]._open&&s[l][1].end.offset-s[l][1].start.offset===s[c][1].end.offset-s[c][1].start.offset){s[l][1].type="strikethroughSequence",s[c][1].type="strikethroughSequence";const d={type:"strikethrough",start:Object.assign({},s[c][1].start),end:Object.assign({},s[l][1].end)},h={type:"strikethroughText",start:Object.assign({},s[c][1].end),end:Object.assign({},s[l][1].start)},b=[["enter",d,u],["enter",s[c][1],u],["exit",s[c][1],u],["enter",h,u]],p=u.parser.constructs.insideSpan.null;p&&ve(b,b.length,0,vn(p,s.slice(c+1,l),u)),ve(b,b.length,0,[["exit",h,u],["enter",s[l][1],u],["exit",s[l][1],u],["exit",d,u]]),ve(s,c-1,l-c+3,b),l=c+b.length-2;break}}for(l=-1;++l<s.length;)s[l][1].type==="strikethroughSequenceTemporary"&&(s[l][1].type="data");return s}function i(s,u,l){const c=this.previous,d=this.events;let h=0;return b;function b(E){return c===126&&d[d.length-1][1].type!=="characterEscape"?l(E):(s.enter("strikethroughSequenceTemporary"),p(E))}function p(E){const y=_n(c);if(E===126)return h>1?l(E):(s.consume(E),h++,p);if(h<2&&!n)return l(E);const C=s.exit("strikethroughSequenceTemporary"),A=_n(E);return C._open=!A||A===2&&!!y,C._close=!y||y===2&&!!A,u(E)}}}class lh{constructor(){this.map=[]}add(t,n,r){ch(this,t,n,r)}consume(t){if(this.map.sort(function(i,s){return i[0]-s[0]}),this.map.length===0)return;let n=this.map.length;const r=[];for(;n>0;)n-=1,r.push(t.slice(this.map[n][0]+this.map[n][1]),this.map[n][2]),t.length=this.map[n][0];r.push([...t]),t.length=0;let a=r.pop();for(;a;)t.push(...a),a=r.pop();this.map.length=0}}function ch(e,t,n,r){let a=0;if(!(n===0&&r.length===0)){for(;a<e.map.length;){if(e.map[a][0]===t){e.map[a][1]+=n,e.map[a][2].push(...r);return}a+=1}e.map.push([t,n,r])}}function dh(e,t){let n=!1;const r=[];for(;t<e.length;){const a=e[t];if(n){if(a[0]==="enter")a[1].type==="tableContent"&&r.push(e[t+1][1].type==="tableDelimiterMarker"?"left":"none");else if(a[1].type==="tableContent"){if(e[t-1][1].type==="tableDelimiterMarker"){const i=r.length-1;r[i]=r[i]==="left"?"center":"right"}}else if(a[1].type==="tableDelimiterRow")break}else a[0]==="enter"&&a[1].type==="tableDelimiterRow"&&(n=!0);t+=1}return r}function hh(){return{flow:{null:{name:"table",tokenize:ph,resolveAll:fh}}}}function ph(e,t,n){const r=this;let a=0,i=0,s;return u;function u(N){let U=r.events.length-1;for(;U>-1;){const ne=r.events[U][1].type;if(ne==="lineEnding"||ne==="linePrefix")U--;else break}const M=U>-1?r.events[U][1].type:null,te=M==="tableHead"||M==="tableRow"?I:l;return te===I&&r.parser.lazy[r.now().line]?n(N):te(N)}function l(N){return e.enter("tableHead"),e.enter("tableRow"),c(N)}function c(N){return N===124||(s=!0,i+=1),d(N)}function d(N){return N===null?n(N):z(N)?i>1?(i=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(N),e.exit("lineEnding"),p):n(N):K(N)?ee(e,d,"whitespace")(N):(i+=1,s&&(s=!1,a+=1),N===124?(e.enter("tableCellDivider"),e.consume(N),e.exit("tableCellDivider"),s=!0,d):(e.enter("data"),h(N)))}function h(N){return N===null||N===124||ae(N)?(e.exit("data"),d(N)):(e.consume(N),N===92?b:h)}function b(N){return N===92||N===124?(e.consume(N),h):h(N)}function p(N){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(N):(e.enter("tableDelimiterRow"),s=!1,K(N)?ee(e,E,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(N):E(N))}function E(N){return N===45||N===58?C(N):N===124?(s=!0,e.enter("tableCellDivider"),e.consume(N),e.exit("tableCellDivider"),y):H(N)}function y(N){return K(N)?ee(e,C,"whitespace")(N):C(N)}function C(N){return N===58?(i+=1,s=!0,e.enter("tableDelimiterMarker"),e.consume(N),e.exit("tableDelimiterMarker"),A):N===45?(i+=1,A(N)):N===null||z(N)?P(N):H(N)}function A(N){return N===45?(e.enter("tableDelimiterFiller"),O(N)):H(N)}function O(N){return N===45?(e.consume(N),O):N===58?(s=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(N),e.exit("tableDelimiterMarker"),L):(e.exit("tableDelimiterFiller"),L(N))}function L(N){return K(N)?ee(e,P,"whitespace")(N):P(N)}function P(N){return N===124?E(N):N===null||z(N)?!s||a!==i?H(N):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(N)):H(N)}function H(N){return n(N)}function I(N){return e.enter("tableRow"),F(N)}function F(N){return N===124?(e.enter("tableCellDivider"),e.consume(N),e.exit("tableCellDivider"),F):N===null||z(N)?(e.exit("tableRow"),t(N)):K(N)?ee(e,F,"whitespace")(N):(e.enter("data"),j(N))}function j(N){return N===null||N===124||ae(N)?(e.exit("data"),F(N)):(e.consume(N),N===92?G:j)}function G(N){return N===92||N===124?(e.consume(N),j):j(N)}}function fh(e,t){let n=-1,r=!0,a=0,i=[0,0,0,0],s=[0,0,0,0],u=!1,l=0,c,d,h;const b=new lh;for(;++n<e.length;){const p=e[n],E=p[1];p[0]==="enter"?E.type==="tableHead"?(u=!1,l!==0&&(Ia(b,t,l,c,d),d=void 0,l=0),c={type:"table",start:Object.assign({},E.start),end:Object.assign({},E.end)},b.add(n,0,[["enter",c,t]])):E.type==="tableRow"||E.type==="tableDelimiterRow"?(r=!0,h=void 0,i=[0,0,0,0],s=[0,n+1,0,0],u&&(u=!1,d={type:"tableBody",start:Object.assign({},E.start),end:Object.assign({},E.end)},b.add(n,0,[["enter",d,t]])),a=E.type==="tableDelimiterRow"?2:d?3:1):a&&(E.type==="data"||E.type==="tableDelimiterMarker"||E.type==="tableDelimiterFiller")?(r=!1,s[2]===0&&(i[1]!==0&&(s[0]=s[1],h=dn(b,t,i,a,void 0,h),i=[0,0,0,0]),s[2]=n)):E.type==="tableCellDivider"&&(r?r=!1:(i[1]!==0&&(s[0]=s[1],h=dn(b,t,i,a,void 0,h)),i=s,s=[i[1],n,0,0])):E.type==="tableHead"?(u=!0,l=n):E.type==="tableRow"||E.type==="tableDelimiterRow"?(l=n,i[1]!==0?(s[0]=s[1],h=dn(b,t,i,a,n,h)):s[1]!==0&&(h=dn(b,t,s,a,n,h)),a=0):a&&(E.type==="data"||E.type==="tableDelimiterMarker"||E.type==="tableDelimiterFiller")&&(s[3]=n)}for(l!==0&&Ia(b,t,l,c,d),b.consume(t.events),n=-1;++n<t.events.length;){const p=t.events[n];p[0]==="enter"&&p[1].type==="table"&&(p[1]._align=dh(t.events,n))}return e}function dn(e,t,n,r,a,i){const s=r===1?"tableHeader":r===2?"tableDelimiter":"tableData",u="tableContent";n[0]!==0&&(i.end=Object.assign({},wt(t.events,n[0])),e.add(n[0],0,[["exit",i,t]]));const l=wt(t.events,n[1]);if(i={type:s,start:Object.assign({},l),end:Object.assign({},l)},e.add(n[1],0,[["enter",i,t]]),n[2]!==0){const c=wt(t.events,n[2]),d=wt(t.events,n[3]),h={type:u,start:Object.assign({},c),end:Object.assign({},d)};if(e.add(n[2],0,[["enter",h,t]]),r!==2){const b=t.events[n[2]],p=t.events[n[3]];if(b[1].end=Object.assign({},p[1].end),b[1].type="chunkText",b[1].contentType="text",n[3]>n[2]+1){const E=n[2]+1,y=n[3]-n[2]-1;e.add(E,y,[])}}e.add(n[3]+1,0,[["exit",h,t]])}return a!==void 0&&(i.end=Object.assign({},wt(t.events,a)),e.add(a,0,[["exit",i,t]]),i=void 0),i}function Ia(e,t,n,r,a){const i=[],s=wt(t.events,n);a&&(a.end=Object.assign({},s),i.push(["exit",a,t])),r.end=Object.assign({},s),i.push(["exit",r,t]),e.add(n+1,0,i)}function wt(e,t){const n=e[t],r=n[0]==="enter"?"start":"end";return n[1][r]}const mh={name:"tasklistCheck",tokenize:bh};function gh(){return{text:{91:mh}}}function bh(e,t,n){const r=this;return a;function a(l){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?n(l):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(l),e.exit("taskListCheckMarker"),i)}function i(l){return ae(l)?(e.enter("taskListCheckValueUnchecked"),e.consume(l),e.exit("taskListCheckValueUnchecked"),s):l===88||l===120?(e.enter("taskListCheckValueChecked"),e.consume(l),e.exit("taskListCheckValueChecked"),s):n(l)}function s(l){return l===93?(e.enter("taskListCheckMarker"),e.consume(l),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),u):n(l)}function u(l){return z(l)?t(l):K(l)?e.check({tokenize:Eh},t,n)(l):n(l)}}function Eh(e,t,n){return ee(e,r,"whitespace");function r(a){return a===null?n(a):t(a)}}function xh(e){return us([Sd(),eh(),uh(e),hh(),gh()])}const wh={};function As(e){const t=this,n=e||wh,r=t.data(),a=r.micromarkExtensions||(r.micromarkExtensions=[]),i=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),s=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);a.push(xh(n)),i.push(_d()),s.push(Ad(n))}function Sa(e){const t=[],n=String(e||"");let r=n.indexOf(","),a=0,i=!1;for(;!i;){r===-1&&(r=n.length,i=!0);const s=n.slice(a,r).trim();(s||!i)&&t.push(s),a=r+1,r=n.indexOf(",",a)}return t}function Cs(e,t){const n={};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}const Th=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,yh=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,_h={};function Oa(e,t){return(_h.jsx?yh:Th).test(e)}const Ah=/[ \t\n\f\r]/g;function Ch(e){return typeof e=="object"?e.type==="text"?La(e.value):!1:La(e)}function La(e){return e.replace(Ah,"")===""}class rn{constructor(t,n,r){this.property=t,this.normal=n,r&&(this.space=r)}}rn.prototype.property={};rn.prototype.normal={};rn.prototype.space=null;function ks(e,t){const n={},r={};let a=-1;for(;++a<e.length;)Object.assign(n,e[a].property),Object.assign(r,e[a].normal);return new rn(n,r,t)}function Jt(e){return e.toLowerCase()}class Pe{constructor(t,n){this.property=t,this.attribute=n}}Pe.prototype.space=null;Pe.prototype.boolean=!1;Pe.prototype.booleanish=!1;Pe.prototype.overloadedBoolean=!1;Pe.prototype.number=!1;Pe.prototype.commaSeparated=!1;Pe.prototype.spaceSeparated=!1;Pe.prototype.commaOrSpaceSeparated=!1;Pe.prototype.mustUseProperty=!1;Pe.prototype.defined=!1;let kh=0;const q=ft(),me=ft(),Ns=ft(),v=ft(),ie=ft(),_t=ft(),Oe=ft();function ft(){return 2**++kh}const Er=Object.freeze(Object.defineProperty({__proto__:null,boolean:q,booleanish:me,commaOrSpaceSeparated:Oe,commaSeparated:_t,number:v,overloadedBoolean:Ns,spaceSeparated:ie},Symbol.toStringTag,{value:"Module"})),Zn=Object.keys(Er);class Ur extends Pe{constructor(t,n,r,a){let i=-1;if(super(t,n),Ra(this,"space",a),typeof r=="number")for(;++i<Zn.length;){const s=Zn[i];Ra(this,Zn[i],(r&Er[s])===Er[s])}}}Ur.prototype.defined=!0;function Ra(e,t,n){n&&(e[t]=n)}const Nh={}.hasOwnProperty;function Lt(e){const t={},n={};let r;for(r in e.properties)if(Nh.call(e.properties,r)){const a=e.properties[r],i=new Ur(r,e.transform(e.attributes||{},r),a,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(i.mustUseProperty=!0),t[r]=i,n[Jt(r)]=r,n[Jt(i.attribute)]=r}return new rn(t,n,e.space)}const Is=Lt({space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),Ss=Lt({space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function Os(e,t){return t in e?e[t]:t}function Ls(e,t){return Os(e,t.toLowerCase())}const Rs=Lt({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:Ls,properties:{xmlns:null,xmlnsXLink:null}}),Ds=Lt({transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:me,ariaAutoComplete:null,ariaBusy:me,ariaChecked:me,ariaColCount:v,ariaColIndex:v,ariaColSpan:v,ariaControls:ie,ariaCurrent:null,ariaDescribedBy:ie,ariaDetails:null,ariaDisabled:me,ariaDropEffect:ie,ariaErrorMessage:null,ariaExpanded:me,ariaFlowTo:ie,ariaGrabbed:me,ariaHasPopup:null,ariaHidden:me,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:ie,ariaLevel:v,ariaLive:null,ariaModal:me,ariaMultiLine:me,ariaMultiSelectable:me,ariaOrientation:null,ariaOwns:ie,ariaPlaceholder:null,ariaPosInSet:v,ariaPressed:me,ariaReadOnly:me,ariaRelevant:null,ariaRequired:me,ariaRoleDescription:ie,ariaRowCount:v,ariaRowIndex:v,ariaRowSpan:v,ariaSelected:me,ariaSetSize:v,ariaSort:null,ariaValueMax:v,ariaValueMin:v,ariaValueNow:v,ariaValueText:null,role:null}}),Ih=Lt({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:Ls,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:_t,acceptCharset:ie,accessKey:ie,action:null,allow:null,allowFullScreen:q,allowPaymentRequest:q,allowUserMedia:q,alt:null,as:null,async:q,autoCapitalize:null,autoComplete:ie,autoFocus:q,autoPlay:q,blocking:ie,capture:null,charSet:null,checked:q,cite:null,className:ie,cols:v,colSpan:null,content:null,contentEditable:me,controls:q,controlsList:ie,coords:v|_t,crossOrigin:null,data:null,dateTime:null,decoding:null,default:q,defer:q,dir:null,dirName:null,disabled:q,download:Ns,draggable:me,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:q,formTarget:null,headers:ie,height:v,hidden:q,high:v,href:null,hrefLang:null,htmlFor:ie,httpEquiv:ie,id:null,imageSizes:null,imageSrcSet:null,inert:q,inputMode:null,integrity:null,is:null,isMap:q,itemId:null,itemProp:ie,itemRef:ie,itemScope:q,itemType:ie,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:q,low:v,manifest:null,max:null,maxLength:v,media:null,method:null,min:null,minLength:v,multiple:q,muted:q,name:null,nonce:null,noModule:q,noValidate:q,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:q,optimum:v,pattern:null,ping:ie,placeholder:null,playsInline:q,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:q,referrerPolicy:null,rel:ie,required:q,reversed:q,rows:v,rowSpan:v,sandbox:ie,scope:null,scoped:q,seamless:q,selected:q,shadowRootClonable:q,shadowRootDelegatesFocus:q,shadowRootMode:null,shape:null,size:v,sizes:null,slot:null,span:v,spellCheck:me,src:null,srcDoc:null,srcLang:null,srcSet:null,start:v,step:null,style:null,tabIndex:v,target:null,title:null,translate:null,type:null,typeMustMatch:q,useMap:null,value:me,width:v,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:ie,axis:null,background:null,bgColor:null,border:v,borderColor:null,bottomMargin:v,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:q,declare:q,event:null,face:null,frame:null,frameBorder:null,hSpace:v,leftMargin:v,link:null,longDesc:null,lowSrc:null,marginHeight:v,marginWidth:v,noResize:q,noHref:q,noShade:q,noWrap:q,object:null,profile:null,prompt:null,rev:null,rightMargin:v,rules:null,scheme:null,scrolling:me,standby:null,summary:null,text:null,topMargin:v,valueType:null,version:null,vAlign:null,vLink:null,vSpace:v,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:q,disableRemotePlayback:q,prefix:null,property:null,results:v,security:null,unselectable:null}}),Sh=Lt({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:Os,properties:{about:Oe,accentHeight:v,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:v,amplitude:v,arabicForm:null,ascent:v,attributeName:null,attributeType:null,azimuth:v,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:v,by:null,calcMode:null,capHeight:v,className:ie,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:v,diffuseConstant:v,direction:null,display:null,dur:null,divisor:v,dominantBaseline:null,download:q,dx:null,dy:null,edgeMode:null,editable:null,elevation:v,enableBackground:null,end:null,event:null,exponent:v,externalResourcesRequired:null,fill:null,fillOpacity:v,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:_t,g2:_t,glyphName:_t,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:v,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:v,horizOriginX:v,horizOriginY:v,id:null,ideographic:v,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:v,k:v,k1:v,k2:v,k3:v,k4:v,kernelMatrix:Oe,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:v,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:v,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:v,overlineThickness:v,paintOrder:null,panose1:null,path:null,pathLength:v,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:ie,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:v,pointsAtY:v,pointsAtZ:v,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Oe,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Oe,rev:Oe,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Oe,requiredFeatures:Oe,requiredFonts:Oe,requiredFormats:Oe,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:v,specularExponent:v,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:v,strikethroughThickness:v,string:null,stroke:null,strokeDashArray:Oe,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:v,strokeOpacity:v,strokeWidth:null,style:null,surfaceScale:v,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Oe,tabIndex:v,tableValues:null,target:null,targetX:v,targetY:v,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Oe,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:v,underlineThickness:v,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:v,values:null,vAlphabetic:v,vMathematical:v,vectorEffect:null,vHanging:v,vIdeographic:v,version:null,vertAdvY:v,vertOriginX:v,vertOriginY:v,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:v,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),Oh=/^data[-\w.:]+$/i,Da=/-[a-z]/g,Lh=/[A-Z]/g;function Pn(e,t){const n=Jt(t);let r=t,a=Pe;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&Oh.test(t)){if(t.charAt(4)==="-"){const i=t.slice(5).replace(Da,Dh);r="data"+i.charAt(0).toUpperCase()+i.slice(1)}else{const i=t.slice(4);if(!Da.test(i)){let s=i.replace(Lh,Rh);s.charAt(0)!=="-"&&(s="-"+s),t="data"+s}}a=Ur}return new a(r,t)}function Rh(e){return"-"+e.toLowerCase()}function Dh(e){return e.charAt(1).toUpperCase()}const vh={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},an=ks([Ss,Is,Rs,Ds,Ih],"html"),st=ks([Ss,Is,Rs,Ds,Sh],"svg");function va(e){const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function vs(e){return e.join(" ").trim()}var Ps={},Pa=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,Ph=/\n/g,Mh=/^\s*/,Bh=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,Fh=/^:\s*/,Hh=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,Uh=/^[;\s]*/,zh=/^\s+|\s+$/g,jh=`
16
+ `,Ma="/",Ba="*",ct="",Yh="comment",qh="declaration",Wh=function(e,t){if(typeof e!="string")throw new TypeError("First argument must be a string");if(!e)return[];t=t||{};var n=1,r=1;function a(E){var y=E.match(Ph);y&&(n+=y.length);var C=E.lastIndexOf(jh);r=~C?E.length-C:r+E.length}function i(){var E={line:n,column:r};return function(y){return y.position=new s(E),c(),y}}function s(E){this.start=E,this.end={line:n,column:r},this.source=t.source}s.prototype.content=e;function u(E){var y=new Error(t.source+":"+n+":"+r+": "+E);if(y.reason=E,y.filename=t.source,y.line=n,y.column=r,y.source=e,!t.silent)throw y}function l(E){var y=E.exec(e);if(y){var C=y[0];return a(C),e=e.slice(C.length),y}}function c(){l(Mh)}function d(E){var y;for(E=E||[];y=h();)y!==!1&&E.push(y);return E}function h(){var E=i();if(!(Ma!=e.charAt(0)||Ba!=e.charAt(1))){for(var y=2;ct!=e.charAt(y)&&(Ba!=e.charAt(y)||Ma!=e.charAt(y+1));)++y;if(y+=2,ct===e.charAt(y-1))return u("End of comment missing");var C=e.slice(2,y-2);return r+=2,a(C),e=e.slice(y),r+=2,E({type:Yh,comment:C})}}function b(){var E=i(),y=l(Bh);if(y){if(h(),!l(Fh))return u("property missing ':'");var C=l(Hh),A=E({type:qh,property:Fa(y[0].replace(Pa,ct)),value:C?Fa(C[0].replace(Pa,ct)):ct});return l(Uh),A}}function p(){var E=[];d(E);for(var y;y=b();)y!==!1&&(E.push(y),d(E));return E}return c(),p()};function Fa(e){return e?e.replace(zh,ct):ct}var Vh=X.commonjsGlobal&&X.commonjsGlobal.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Ps,"__esModule",{value:!0});var Ha=Ps.default=Qh,Gh=Vh(Wh);function Qh(e,t){var n=null;if(!e||typeof e!="string")return n;var r=(0,Gh.default)(e),a=typeof t=="function";return r.forEach(function(i){if(i.type==="declaration"){var s=i.property,u=i.value;a?t(s,u,i):u&&(n=n||{},n[s]=u)}}),n}const Xh=Ha.default||Ha,Mn=Ms("end"),qe=Ms("start");function Ms(e){return t;function t(n){const r=n&&n.position&&n.position[e]||{};if(typeof r.line=="number"&&r.line>0&&typeof r.column=="number"&&r.column>0)return{line:r.line,column:r.column,offset:typeof r.offset=="number"&&r.offset>-1?r.offset:void 0}}}function Kh(e){const t=qe(e),n=Mn(e);if(t&&n)return{start:t,end:n}}function Vt(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?Ua(e.position):"start"in e||"end"in e?Ua(e):"line"in e||"column"in e?xr(e):""}function xr(e){return za(e&&e.line)+":"+za(e&&e.column)}function Ua(e){return xr(e&&e.start)+"-"+xr(e&&e.end)}function za(e){return e&&typeof e=="number"?e:1}class ye extends Error{constructor(t,n,r){super(),typeof n=="string"&&(r=n,n=void 0);let a="",i={},s=!1;if(n&&("line"in n&&"column"in n?i={place:n}:"start"in n&&"end"in n?i={place:n}:"type"in n?i={ancestors:[n],place:n.position}:i={...n}),typeof t=="string"?a=t:!i.cause&&t&&(s=!0,a=t.message,i.cause=t),!i.ruleId&&!i.source&&typeof r=="string"){const l=r.indexOf(":");l===-1?i.ruleId=r:(i.source=r.slice(0,l),i.ruleId=r.slice(l+1))}if(!i.place&&i.ancestors&&i.ancestors){const l=i.ancestors[i.ancestors.length-1];l&&(i.place=l.position)}const u=i.place&&"start"in i.place?i.place.start:i.place;this.ancestors=i.ancestors||void 0,this.cause=i.cause||void 0,this.column=u?u.column:void 0,this.fatal=void 0,this.file,this.message=a,this.line=u?u.line:void 0,this.name=Vt(i.place)||"1:1",this.place=i.place||void 0,this.reason=this.message,this.ruleId=i.ruleId||void 0,this.source=i.source||void 0,this.stack=s&&i.cause&&typeof i.cause.stack=="string"?i.cause.stack:"",this.actual,this.expected,this.note,this.url}}ye.prototype.file="";ye.prototype.name="";ye.prototype.reason="";ye.prototype.message="";ye.prototype.stack="";ye.prototype.column=void 0;ye.prototype.line=void 0;ye.prototype.ancestors=void 0;ye.prototype.cause=void 0;ye.prototype.fatal=void 0;ye.prototype.place=void 0;ye.prototype.ruleId=void 0;ye.prototype.source=void 0;const zr={}.hasOwnProperty,$h=new Map,Jh=/[A-Z]/g,Zh=/-([a-z])/g,ep=new Set(["table","tbody","thead","tfoot","tr"]),tp=new Set(["td","th"]),Bs="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function np(e,t){if(!t||t.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const n=t.filePath||void 0;let r;if(t.development){if(typeof t.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");r=cp(n,t.jsxDEV)}else{if(typeof t.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof t.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");r=lp(n,t.jsx,t.jsxs)}const a={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:r,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:n,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:t.passKeys!==!1,passNode:t.passNode||!1,schema:t.space==="svg"?st:an,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},i=Fs(a,e,void 0);return i&&typeof i!="string"?i:a.create(e,a.Fragment,{children:i||void 0},void 0)}function Fs(e,t,n){if(t.type==="element")return rp(e,t,n);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return ap(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return sp(e,t,n);if(t.type==="mdxjsEsm")return ip(e,t);if(t.type==="root")return op(e,t,n);if(t.type==="text")return up(e,t)}function rp(e,t,n){const r=e.schema;let a=r;t.tagName.toLowerCase()==="svg"&&r.space==="html"&&(a=st,e.schema=a),e.ancestors.push(t);const i=Us(e,t.tagName,!1),s=dp(e,t);let u=Yr(e,t);return ep.has(t.tagName)&&(u=u.filter(function(l){return typeof l=="string"?!Ch(l):!0})),Hs(e,s,i,t),jr(s,u),e.ancestors.pop(),e.schema=r,e.create(t,i,s,n)}function ap(e,t){if(t.data&&t.data.estree&&e.evaluater){const r=t.data.estree.body[0];return r.type,e.evaluater.evaluateExpression(r.expression)}Zt(e,t.position)}function ip(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);Zt(e,t.position)}function sp(e,t,n){const r=e.schema;let a=r;t.name==="svg"&&r.space==="html"&&(a=st,e.schema=a),e.ancestors.push(t);const i=t.name===null?e.Fragment:Us(e,t.name,!0),s=hp(e,t),u=Yr(e,t);return Hs(e,s,i,t),jr(s,u),e.ancestors.pop(),e.schema=r,e.create(t,i,s,n)}function op(e,t,n){const r={};return jr(r,Yr(e,t)),e.create(t,e.Fragment,r,n)}function up(e,t){return t.value}function Hs(e,t,n,r){typeof n!="string"&&n!==e.Fragment&&e.passNode&&(t.node=r)}function jr(e,t){if(t.length>0){const n=t.length>1?t:t[0];n&&(e.children=n)}}function lp(e,t,n){return r;function r(a,i,s,u){const c=Array.isArray(s.children)?n:t;return u?c(i,s,u):c(i,s)}}function cp(e,t){return n;function n(r,a,i,s){const u=Array.isArray(i.children),l=qe(r);return t(a,i,s,u,{columnNumber:l?l.column-1:void 0,fileName:e,lineNumber:l?l.line:void 0},void 0)}}function dp(e,t){const n={};let r,a;for(a in t.properties)if(a!=="children"&&zr.call(t.properties,a)){const i=pp(e,a,t.properties[a]);if(i){const[s,u]=i;e.tableCellAlignToStyle&&s==="align"&&typeof u=="string"&&tp.has(t.tagName)?r=u:n[s]=u}}if(r){const i=n.style||(n.style={});i[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=r}return n}function hp(e,t){const n={};for(const r of t.attributes)if(r.type==="mdxJsxExpressionAttribute")if(r.data&&r.data.estree&&e.evaluater){const i=r.data.estree.body[0];i.type;const s=i.expression;s.type;const u=s.properties[0];u.type,Object.assign(n,e.evaluater.evaluateExpression(u.argument))}else Zt(e,t.position);else{const a=r.name;let i;if(r.value&&typeof r.value=="object")if(r.value.data&&r.value.data.estree&&e.evaluater){const u=r.value.data.estree.body[0];u.type,i=e.evaluater.evaluateExpression(u.expression)}else Zt(e,t.position);else i=r.value===null?!0:r.value;n[a]=i}return n}function Yr(e,t){const n=[];let r=-1;const a=e.passKeys?new Map:$h;for(;++r<t.children.length;){const i=t.children[r];let s;if(e.passKeys){const l=i.type==="element"?i.tagName:i.type==="mdxJsxFlowElement"||i.type==="mdxJsxTextElement"?i.name:void 0;if(l){const c=a.get(l)||0;s=l+"-"+c,a.set(l,c+1)}}const u=Fs(e,i,s);u!==void 0&&n.push(u)}return n}function pp(e,t,n){const r=Pn(e.schema,t);if(!(n==null||typeof n=="number"&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?Cs(n):vs(n)),r.property==="style"){let a=typeof n=="object"?n:fp(e,String(n));return e.stylePropertyNameCase==="css"&&(a=mp(a)),["style",a]}return[e.elementAttributeNameCase==="react"&&r.space?vh[r.property]||r.property:r.attribute,n]}}function fp(e,t){const n={};try{Xh(t,r)}catch(a){if(!e.ignoreInvalidStyle){const i=a,s=new ye("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:i,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw s.file=e.filePath||void 0,s.url=Bs+"#cannot-parse-style-attribute",s}}return n;function r(a,i){let s=a;s.slice(0,2)!=="--"&&(s.slice(0,4)==="-ms-"&&(s="ms-"+s.slice(4)),s=s.replace(Zh,bp)),n[s]=i}}function Us(e,t,n){let r;if(!n)r={type:"Literal",value:t};else if(t.includes(".")){const a=t.split(".");let i=-1,s;for(;++i<a.length;){const u=Oa(a[i])?{type:"Identifier",name:a[i]}:{type:"Literal",value:a[i]};s=s?{type:"MemberExpression",object:s,property:u,computed:!!(i&&u.type==="Literal"),optional:!1}:u}r=s}else r=Oa(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};if(r.type==="Literal"){const a=r.value;return zr.call(e.components,a)?e.components[a]:a}if(e.evaluater)return e.evaluater.evaluateExpression(r);Zt(e)}function Zt(e,t){const n=new ye("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw n.file=e.filePath||void 0,n.url=Bs+"#cannot-handle-mdx-estrees-without-createevaluater",n}function mp(e){const t={};let n;for(n in e)zr.call(e,n)&&(t[gp(n)]=e[n]);return t}function gp(e){let t=e.replace(Jh,Ep);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function bp(e,t){return t.toUpperCase()}function Ep(e){return"-"+e.toLowerCase()}const er={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]},xp={tokenize:wp};function wp(e){const t=e.attempt(this.parser.constructs.contentInitial,r,a);let n;return t;function r(u){if(u===null){e.consume(u);return}return e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),ee(e,t,"linePrefix")}function a(u){return e.enter("paragraph"),i(u)}function i(u){const l=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=l),n=l,s(u)}function s(u){if(u===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(u);return}return z(u)?(e.consume(u),e.exit("chunkText"),i):(e.consume(u),s)}}const Tp={tokenize:yp},ja={tokenize:_p};function yp(e){const t=this,n=[];let r=0,a,i,s;return u;function u(L){if(r<n.length){const P=n[r];return t.containerState=P[1],e.attempt(P[0].continuation,l,c)(L)}return c(L)}function l(L){if(r++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,a&&O();const P=t.events.length;let H=P,I;for(;H--;)if(t.events[H][0]==="exit"&&t.events[H][1].type==="chunkFlow"){I=t.events[H][1].end;break}A(r);let F=P;for(;F<t.events.length;)t.events[F][1].end=Object.assign({},I),F++;return ve(t.events,H+1,0,t.events.slice(P)),t.events.length=F,c(L)}return u(L)}function c(L){if(r===n.length){if(!a)return b(L);if(a.currentConstruct&&a.currentConstruct.concrete)return E(L);t.interrupt=!!(a.currentConstruct&&!a._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(ja,d,h)(L)}function d(L){return a&&O(),A(r),b(L)}function h(L){return t.parser.lazy[t.now().line]=r!==n.length,s=t.now().offset,E(L)}function b(L){return t.containerState={},e.attempt(ja,p,E)(L)}function p(L){return r++,n.push([t.currentConstruct,t.containerState]),b(L)}function E(L){if(L===null){a&&O(),A(0),e.consume(L);return}return a=a||t.parser.flow(t.now()),e.enter("chunkFlow",{contentType:"flow",previous:i,_tokenizer:a}),y(L)}function y(L){if(L===null){C(e.exit("chunkFlow"),!0),A(0),e.consume(L);return}return z(L)?(e.consume(L),C(e.exit("chunkFlow")),r=0,t.interrupt=void 0,u):(e.consume(L),y)}function C(L,P){const H=t.sliceStream(L);if(P&&H.push(null),L.previous=i,i&&(i.next=L),i=L,a.defineSkip(L.start),a.write(H),t.parser.lazy[L.start.line]){let I=a.events.length;for(;I--;)if(a.events[I][1].start.offset<s&&(!a.events[I][1].end||a.events[I][1].end.offset>s))return;const F=t.events.length;let j=F,G,N;for(;j--;)if(t.events[j][0]==="exit"&&t.events[j][1].type==="chunkFlow"){if(G){N=t.events[j][1].end;break}G=!0}for(A(r),I=F;I<t.events.length;)t.events[I][1].end=Object.assign({},N),I++;ve(t.events,j+1,0,t.events.slice(F)),t.events.length=I}}function A(L){let P=n.length;for(;P-- >L;){const H=n[P];t.containerState=H[1],H[0].exit.call(t,e)}n.length=L}function O(){a.write([null]),i=void 0,a=void 0,t.containerState._closeFlow=void 0}}function _p(e,t,n){return ee(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}const Ap={tokenize:Cp};function Cp(e){const t=this,n=e.attempt(nn,r,e.attempt(this.parser.constructs.flowInitial,a,ee(e,e.attempt(this.parser.constructs.flow,a,e.attempt(i0,a)),"linePrefix")));return n;function r(i){if(i===null){e.consume(i);return}return e.enter("lineEndingBlank"),e.consume(i),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}function a(i){if(i===null){e.consume(i);return}return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),t.currentConstruct=void 0,n}}const kp={resolveAll:js()},Np=zs("string"),Ip=zs("text");function zs(e){return{tokenize:t,resolveAll:js(e==="text"?Sp:void 0)};function t(n){const r=this,a=this.parser.constructs[e],i=n.attempt(a,s,u);return s;function s(d){return c(d)?i(d):u(d)}function u(d){if(d===null){n.consume(d);return}return n.enter("data"),n.consume(d),l}function l(d){return c(d)?(n.exit("data"),i(d)):(n.consume(d),l)}function c(d){if(d===null)return!0;const h=a[d];let b=-1;if(h)for(;++b<h.length;){const p=h[b];if(!p.previous||p.previous.call(r,r.previous))return!0}return!1}}}function js(e){return t;function t(n,r){let a=-1,i;for(;++a<=n.length;)i===void 0?n[a]&&n[a][1].type==="data"&&(i=a,a++):(!n[a]||n[a][1].type!=="data")&&(a!==i+2&&(n[i][1].end=n[a-1][1].end,n.splice(i+2,a-i-2),a=i+2),i=void 0);return e?e(n,r):n}}function Sp(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||e[n][1].type==="lineEnding")&&e[n-1][1].type==="data"){const r=e[n-1][1],a=t.sliceStream(r);let i=a.length,s=-1,u=0,l;for(;i--;){const c=a[i];if(typeof c=="string"){for(s=c.length;c.charCodeAt(s-1)===32;)u++,s--;if(s)break;s=-1}else if(c===-2)l=!0,u++;else if(c!==-1){i++;break}}if(u){const c={type:n===e.length||l||u<2?"lineSuffix":"hardBreakTrailing",start:{line:r.end.line,column:r.end.column-u,offset:r.end.offset-u,_index:r.start._index+i,_bufferIndex:i?s:r.start._bufferIndex+s},end:Object.assign({},r.end)};r.end=Object.assign({},c.start),r.start.offset===r.end.offset?Object.assign(r,c):(e.splice(n,0,["enter",c,t],["exit",c,t]),n+=2)}n++}return e}function Op(e,t,n){let r=Object.assign(n?Object.assign({},n):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1});const a={},i=[];let s=[],u=[];const l={consume:O,enter:L,exit:P,attempt:F(H),check:F(I),interrupt:F(I,{interrupt:!0})},c={previous:null,code:null,containerState:{},events:[],parser:e,sliceStream:p,sliceSerialize:b,now:E,defineSkip:y,write:h};let d=t.tokenize.call(c,l);return t.resolveAll&&i.push(t),c;function h(U){return s=Re(s,U),C(),s[s.length-1]!==null?[]:(j(t,0),c.events=vn(i,c.events,c),c.events)}function b(U,M){return Rp(p(U),M)}function p(U){return Lp(s,U)}function E(){const{line:U,column:M,offset:te,_index:ne,_bufferIndex:$}=r;return{line:U,column:M,offset:te,_index:ne,_bufferIndex:$}}function y(U){a[U.line]=U.column,N()}function C(){let U;for(;r._index<s.length;){const M=s[r._index];if(typeof M=="string")for(U=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===U&&r._bufferIndex<M.length;)A(M.charCodeAt(r._bufferIndex));else A(M)}}function A(U){d=d(U)}function O(U){z(U)?(r.line++,r.column=1,r.offset+=U===-3?2:1,N()):U!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===s[r._index].length&&(r._bufferIndex=-1,r._index++)),c.previous=U}function L(U,M){const te=M||{};return te.type=U,te.start=E(),c.events.push(["enter",te,c]),u.push(te),te}function P(U){const M=u.pop();return M.end=E(),c.events.push(["exit",M,c]),M}function H(U,M){j(U,M.from)}function I(U,M){M.restore()}function F(U,M){return te;function te(ne,$,le){let fe,Ae,Ce,w;return Array.isArray(ne)?We(ne):"tokenize"in ne?We([ne]):ce(ne);function ce(we){return Pt;function Pt($e){const gt=$e!==null&&we[$e],bt=$e!==null&&we.null,cn=[...Array.isArray(gt)?gt:gt?[gt]:[],...Array.isArray(bt)?bt:bt?[bt]:[]];return We(cn)($e)}}function We(we){return fe=we,Ae=0,we.length===0?le:T(we[Ae])}function T(we){return Pt;function Pt($e){return w=G(),Ce=we,we.partial||(c.currentConstruct=we),we.name&&c.parser.constructs.disable.null.includes(we.name)?ot():we.tokenize.call(M?Object.assign(Object.create(c),M):c,l,Me,ot)($e)}}function Me(we){return U(Ce,w),$}function ot(we){return w.restore(),++Ae<fe.length?T(fe[Ae]):le}}}function j(U,M){U.resolveAll&&!i.includes(U)&&i.push(U),U.resolve&&ve(c.events,M,c.events.length-M,U.resolve(c.events.slice(M),c)),U.resolveTo&&(c.events=U.resolveTo(c.events,c))}function G(){const U=E(),M=c.previous,te=c.currentConstruct,ne=c.events.length,$=Array.from(u);return{restore:le,from:ne};function le(){r=U,c.previous=M,c.currentConstruct=te,c.events.length=ne,u=$,N()}}function N(){r.line in a&&r.column<2&&(r.column=a[r.line],r.offset+=a[r.line]-1)}}function Lp(e,t){const n=t.start._index,r=t.start._bufferIndex,a=t.end._index,i=t.end._bufferIndex;let s;if(n===a)s=[e[n].slice(r,i)];else{if(s=e.slice(n,a),r>-1){const u=s[0];typeof u=="string"?s[0]=u.slice(r):s.shift()}i>0&&s.push(e[a].slice(0,i))}return s}function Rp(e,t){let n=-1;const r=[];let a;for(;++n<e.length;){const i=e[n];let s;if(typeof i=="string")s=i;else switch(i){case-5:{s="\r";break}case-4:{s=`
17
+ `;break}case-3:{s=`\r
18
+ `;break}case-2:{s=t?" ":" ";break}case-1:{if(!t&&a)continue;s=" ";break}default:s=String.fromCharCode(i)}a=i===-2,r.push(s)}return r.join("")}const Dp={42:Ie,43:Ie,45:Ie,48:Ie,49:Ie,50:Ie,51:Ie,52:Ie,53:Ie,54:Ie,55:Ie,56:Ie,57:Ie,62:bs},vp={91:c0},Pp={[-2]:$n,[-1]:$n,32:$n},Mp={35:g0,42:gn,45:[Na,gn],60:w0,61:Na,95:gn,96:Ca,126:Ca},Bp={38:xs,92:Es},Fp={[-5]:Jn,[-4]:Jn,[-3]:Jn,33:F0,38:xs,42:br,60:[Ud,N0],91:U0,92:[f0,Es],93:Hr,95:br,96:Zd},Hp={null:[br,kp]},Up={null:[42,95]},zp={null:[]},jp=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:Up,contentInitial:vp,disable:zp,document:Dp,flow:Mp,flowInitial:Pp,insideSpan:Hp,string:Bp,text:Fp},Symbol.toStringTag,{value:"Module"}));function Yp(e){const n=us([jp,...(e||{}).extensions||[]]),r={defined:[],lazy:{},constructs:n,content:a(xp),document:a(Tp),flow:a(Ap),string:a(Np),text:a(Ip)};return r;function a(i){return s;function s(u){return Op(r,i,u)}}}function qp(e){for(;!ws(e););return e}const Ya=/[\0\t\n\r]/g;function Wp(){let e=1,t="",n=!0,r;return a;function a(i,s,u){const l=[];let c,d,h,b,p;for(i=t+(typeof i=="string"?i.toString():new TextDecoder(s||void 0).decode(i)),h=0,t="",n&&(i.charCodeAt(0)===65279&&h++,n=void 0);h<i.length;){if(Ya.lastIndex=h,c=Ya.exec(i),b=c&&c.index!==void 0?c.index:i.length,p=i.charCodeAt(b),!c){t=i.slice(h);break}if(p===10&&h===b&&r)l.push(-3),r=void 0;else switch(r&&(l.push(-5),r=void 0),h<b&&(l.push(i.slice(h,b)),e+=b-h),p){case 0:{l.push(65533),e++;break}case 9:{for(d=Math.ceil(e/4)*4,l.push(-2);e++<d;)l.push(-1);break}case 10:{l.push(-4),e=1;break}default:r=!0,e=1}h=b+1}return u&&(r&&l.push(-5),t&&l.push(t),l.push(null)),l}}const Ys={}.hasOwnProperty;function Vp(e,t,n){return typeof t!="string"&&(n=t,t=void 0),Gp(n)(qp(Yp(n).document().write(Wp()(e,t,!0))))}function Gp(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:i(aa),autolinkProtocol:G,autolinkEmail:G,atxHeading:i(ta),blockQuote:i(bt),characterEscape:G,characterReference:G,codeFenced:i(cn),codeFencedFenceInfo:s,codeFencedFenceMeta:s,codeIndented:i(cn,s),codeText:i($o,s),codeTextData:G,data:G,codeFlowValue:G,definition:i(Jo),definitionDestinationString:s,definitionLabelString:s,definitionTitleString:s,emphasis:i(Zo),hardBreakEscape:i(na),hardBreakTrailing:i(na),htmlFlow:i(ra,s),htmlFlowData:G,htmlText:i(ra,s),htmlTextData:G,image:i(eu),label:s,link:i(aa),listItem:i(tu),listItemValue:b,listOrdered:i(ia,h),listUnordered:i(ia),paragraph:i(nu),reference:T,referenceString:s,resourceDestinationString:s,resourceTitleString:s,setextHeading:i(ta),strong:i(ru),thematicBreak:i(iu)},exit:{atxHeading:l(),atxHeadingSequence:H,autolink:l(),autolinkEmail:gt,autolinkProtocol:$e,blockQuote:l(),characterEscapeValue:N,characterReferenceMarkerHexadecimal:ot,characterReferenceMarkerNumeric:ot,characterReferenceValue:we,characterReference:Pt,codeFenced:l(C),codeFencedFence:y,codeFencedFenceInfo:p,codeFencedFenceMeta:E,codeFlowValue:N,codeIndented:l(A),codeText:l($),codeTextData:N,data:N,definition:l(),definitionDestinationString:P,definitionLabelString:O,definitionTitleString:L,emphasis:l(),hardBreakEscape:l(M),hardBreakTrailing:l(M),htmlFlow:l(te),htmlFlowData:N,htmlText:l(ne),htmlTextData:N,image:l(fe),label:Ce,labelText:Ae,lineEnding:U,link:l(le),listItem:l(),listOrdered:l(),listUnordered:l(),paragraph:l(),referenceString:Me,resourceDestinationString:w,resourceTitleString:ce,resource:We,setextHeading:l(j),setextHeadingLineSequence:F,setextHeadingText:I,strong:l(),thematicBreak:l()}};qs(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(S){let B={type:"root",children:[]};const Y={stack:[B],tokenStack:[],config:t,enter:u,exit:c,buffer:s,resume:d,data:n},Z=[];let re=-1;for(;++re<S.length;)if(S[re][1].type==="listOrdered"||S[re][1].type==="listUnordered")if(S[re][0]==="enter")Z.push(re);else{const Be=Z.pop();re=a(S,Be,re)}for(re=-1;++re<S.length;){const Be=t[S[re][0]];Ys.call(Be,S[re][1].type)&&Be[S[re][1].type].call(Object.assign({sliceSerialize:S[re][2].sliceSerialize},Y),S[re][1])}if(Y.tokenStack.length>0){const Be=Y.tokenStack[Y.tokenStack.length-1];(Be[1]||qa).call(Y,void 0,Be[0])}for(B.position={start:et(S.length>0?S[0][1].start:{line:1,column:1,offset:0}),end:et(S.length>0?S[S.length-2][1].end:{line:1,column:1,offset:0})},re=-1;++re<t.transforms.length;)B=t.transforms[re](B)||B;return B}function a(S,B,Y){let Z=B-1,re=-1,Be=!1,ut,Ve,Mt,Bt;for(;++Z<=Y;){const Se=S[Z];switch(Se[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{Se[0]==="enter"?re++:re--,Bt=void 0;break}case"lineEndingBlank":{Se[0]==="enter"&&(ut&&!Bt&&!re&&!Mt&&(Mt=Z),Bt=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:Bt=void 0}if(!re&&Se[0]==="enter"&&Se[1].type==="listItemPrefix"||re===-1&&Se[0]==="exit"&&(Se[1].type==="listUnordered"||Se[1].type==="listOrdered")){if(ut){let Et=Z;for(Ve=void 0;Et--;){const Ge=S[Et];if(Ge[1].type==="lineEnding"||Ge[1].type==="lineEndingBlank"){if(Ge[0]==="exit")continue;Ve&&(S[Ve][1].type="lineEndingBlank",Be=!0),Ge[1].type="lineEnding",Ve=Et}else if(!(Ge[1].type==="linePrefix"||Ge[1].type==="blockQuotePrefix"||Ge[1].type==="blockQuotePrefixWhitespace"||Ge[1].type==="blockQuoteMarker"||Ge[1].type==="listItemIndent"))break}Mt&&(!Ve||Mt<Ve)&&(ut._spread=!0),ut.end=Object.assign({},Ve?S[Ve][1].start:Se[1].end),S.splice(Ve||Z,0,["exit",ut,Se[2]]),Z++,Y++}if(Se[1].type==="listItemPrefix"){const Et={type:"listItem",_spread:!1,start:Object.assign({},Se[1].start),end:void 0};ut=Et,S.splice(Z,0,["enter",Et,Se[2]]),Z++,Y++,Mt=void 0,Bt=!0}}}return S[B][1]._spread=Be,Y}function i(S,B){return Y;function Y(Z){u.call(this,S(Z),Z),B&&B.call(this,Z)}}function s(){this.stack.push({type:"fragment",children:[]})}function u(S,B,Y){this.stack[this.stack.length-1].children.push(S),this.stack.push(S),this.tokenStack.push([B,Y]),S.position={start:et(B.start),end:void 0}}function l(S){return B;function B(Y){S&&S.call(this,Y),c.call(this,Y)}}function c(S,B){const Y=this.stack.pop(),Z=this.tokenStack.pop();if(Z)Z[0].type!==S.type&&(B?B.call(this,S,Z[0]):(Z[1]||qa).call(this,S,Z[0]));else throw new Error("Cannot close `"+S.type+"` ("+Vt({start:S.start,end:S.end})+"): it’s not open");Y.position.end=et(S.end)}function d(){return Pr(this.stack.pop())}function h(){this.data.expectingFirstListItemValue=!0}function b(S){if(this.data.expectingFirstListItemValue){const B=this.stack[this.stack.length-2];B.start=Number.parseInt(this.sliceSerialize(S),10),this.data.expectingFirstListItemValue=void 0}}function p(){const S=this.resume(),B=this.stack[this.stack.length-1];B.lang=S}function E(){const S=this.resume(),B=this.stack[this.stack.length-1];B.meta=S}function y(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function C(){const S=this.resume(),B=this.stack[this.stack.length-1];B.value=S.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function A(){const S=this.resume(),B=this.stack[this.stack.length-1];B.value=S.replace(/(\r?\n|\r)$/g,"")}function O(S){const B=this.resume(),Y=this.stack[this.stack.length-1];Y.label=B,Y.identifier=Fe(this.sliceSerialize(S)).toLowerCase()}function L(){const S=this.resume(),B=this.stack[this.stack.length-1];B.title=S}function P(){const S=this.resume(),B=this.stack[this.stack.length-1];B.url=S}function H(S){const B=this.stack[this.stack.length-1];if(!B.depth){const Y=this.sliceSerialize(S).length;B.depth=Y}}function I(){this.data.setextHeadingSlurpLineEnding=!0}function F(S){const B=this.stack[this.stack.length-1];B.depth=this.sliceSerialize(S).codePointAt(0)===61?1:2}function j(){this.data.setextHeadingSlurpLineEnding=void 0}function G(S){const Y=this.stack[this.stack.length-1].children;let Z=Y[Y.length-1];(!Z||Z.type!=="text")&&(Z=au(),Z.position={start:et(S.start),end:void 0},Y.push(Z)),this.stack.push(Z)}function N(S){const B=this.stack.pop();B.value+=this.sliceSerialize(S),B.position.end=et(S.end)}function U(S){const B=this.stack[this.stack.length-1];if(this.data.atHardBreak){const Y=B.children[B.children.length-1];Y.position.end=et(S.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(B.type)&&(G.call(this,S),N.call(this,S))}function M(){this.data.atHardBreak=!0}function te(){const S=this.resume(),B=this.stack[this.stack.length-1];B.value=S}function ne(){const S=this.resume(),B=this.stack[this.stack.length-1];B.value=S}function $(){const S=this.resume(),B=this.stack[this.stack.length-1];B.value=S}function le(){const S=this.stack[this.stack.length-1];if(this.data.inReference){const B=this.data.referenceType||"shortcut";S.type+="Reference",S.referenceType=B,delete S.url,delete S.title}else delete S.identifier,delete S.label;this.data.referenceType=void 0}function fe(){const S=this.stack[this.stack.length-1];if(this.data.inReference){const B=this.data.referenceType||"shortcut";S.type+="Reference",S.referenceType=B,delete S.url,delete S.title}else delete S.identifier,delete S.label;this.data.referenceType=void 0}function Ae(S){const B=this.sliceSerialize(S),Y=this.stack[this.stack.length-2];Y.label=cd(B),Y.identifier=Fe(B).toLowerCase()}function Ce(){const S=this.stack[this.stack.length-1],B=this.resume(),Y=this.stack[this.stack.length-1];if(this.data.inReference=!0,Y.type==="link"){const Z=S.children;Y.children=Z}else Y.alt=B}function w(){const S=this.resume(),B=this.stack[this.stack.length-1];B.url=S}function ce(){const S=this.resume(),B=this.stack[this.stack.length-1];B.title=S}function We(){this.data.inReference=void 0}function T(){this.data.referenceType="collapsed"}function Me(S){const B=this.resume(),Y=this.stack[this.stack.length-1];Y.label=B,Y.identifier=Fe(this.sliceSerialize(S)).toLowerCase(),this.data.referenceType="full"}function ot(S){this.data.characterReferenceType=S.type}function we(S){const B=this.sliceSerialize(S),Y=this.data.characterReferenceType;let Z;Y?(Z=os(B,Y==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):Z=Br(B);const re=this.stack[this.stack.length-1];re.value+=Z}function Pt(S){const B=this.stack.pop();B.position.end=et(S.end)}function $e(S){N.call(this,S);const B=this.stack[this.stack.length-1];B.url=this.sliceSerialize(S)}function gt(S){N.call(this,S);const B=this.stack[this.stack.length-1];B.url="mailto:"+this.sliceSerialize(S)}function bt(){return{type:"blockquote",children:[]}}function cn(){return{type:"code",lang:null,meta:null,value:""}}function $o(){return{type:"inlineCode",value:""}}function Jo(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Zo(){return{type:"emphasis",children:[]}}function ta(){return{type:"heading",depth:0,children:[]}}function na(){return{type:"break"}}function ra(){return{type:"html",value:""}}function eu(){return{type:"image",title:null,url:"",alt:null}}function aa(){return{type:"link",title:null,url:"",children:[]}}function ia(S){return{type:"list",ordered:S.type==="listOrdered",start:null,spread:S._spread,children:[]}}function tu(S){return{type:"listItem",spread:S._spread,checked:null,children:[]}}function nu(){return{type:"paragraph",children:[]}}function ru(){return{type:"strong",children:[]}}function au(){return{type:"text",value:""}}function iu(){return{type:"thematicBreak"}}}function et(e){return{line:e.line,column:e.column,offset:e.offset}}function qs(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?qs(e,r):Qp(e,r)}}function Qp(e,t){let n;for(n in t)if(Ys.call(t,n))switch(n){case"canContainEols":{const r=t[n];r&&e[n].push(...r);break}case"transforms":{const r=t[n];r&&e[n].push(...r);break}case"enter":case"exit":{const r=t[n];r&&Object.assign(e[n],r);break}}}function qa(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+Vt({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+Vt({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+Vt({start:t.start,end:t.end})+") is still open")}function Xp(e){const t=this;t.parser=n;function n(r){return Vp(r,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function Kp(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)}function $p(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:`
19
+ `}]}function Jp(e,t){const n=t.value?t.value+`
20
+ `:"",r={};t.lang&&(r.className=["language-"+t.lang]);let a={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(a.data={meta:t.meta}),e.patch(t,a),a=e.applyData(t,a),a={type:"element",tagName:"pre",properties:{},children:[a]},e.patch(t,a),a}function Zp(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function ef(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function tf(e,t){const n=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",r=String(t.identifier).toUpperCase(),a=Ot(r.toLowerCase()),i=e.footnoteOrder.indexOf(r);let s,u=e.footnoteCounts.get(r);u===void 0?(u=0,e.footnoteOrder.push(r),s=e.footnoteOrder.length):s=i+1,u+=1,e.footnoteCounts.set(r,u);const l={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+a,id:n+"fnref-"+a+(u>1?"-"+u:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(s)}]};e.patch(t,l);const c={type:"element",tagName:"sup",properties:{},children:[l]};return e.patch(t,c),e.applyData(t,c)}function nf(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function rf(e,t){if(e.options.allowDangerousHtml){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}}function Ws(e,t){const n=t.referenceType;let r="]";if(n==="collapsed"?r+="[]":n==="full"&&(r+="["+(t.label||t.identifier)+"]"),t.type==="imageReference")return[{type:"text",value:"!["+t.alt+r}];const a=e.all(t),i=a[0];i&&i.type==="text"?i.value="["+i.value:a.unshift({type:"text",value:"["});const s=a[a.length-1];return s&&s.type==="text"?s.value+=r:a.push({type:"text",value:r}),a}function af(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return Ws(e,t);const a={src:Ot(r.url||""),alt:t.alt};r.title!==null&&r.title!==void 0&&(a.title=r.title);const i={type:"element",tagName:"img",properties:a,children:[]};return e.patch(t,i),e.applyData(t,i)}function sf(e,t){const n={src:Ot(t.url)};t.alt!==null&&t.alt!==void 0&&(n.alt=t.alt),t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)}function of(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)}function uf(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return Ws(e,t);const a={href:Ot(r.url||"")};r.title!==null&&r.title!==void 0&&(a.title=r.title);const i={type:"element",tagName:"a",properties:a,children:e.all(t)};return e.patch(t,i),e.applyData(t,i)}function lf(e,t){const n={href:Ot(t.url)};t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function cf(e,t,n){const r=e.all(t),a=n?df(n):Vs(t),i={},s=[];if(typeof t.checked=="boolean"){const d=r[0];let h;d&&d.type==="element"&&d.tagName==="p"?h=d:(h={type:"element",tagName:"p",properties:{},children:[]},r.unshift(h)),h.children.length>0&&h.children.unshift({type:"text",value:" "}),h.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),i.className=["task-list-item"]}let u=-1;for(;++u<r.length;){const d=r[u];(a||u!==0||d.type!=="element"||d.tagName!=="p")&&s.push({type:"text",value:`
21
+ `}),d.type==="element"&&d.tagName==="p"&&!a?s.push(...d.children):s.push(d)}const l=r[r.length-1];l&&(a||l.type!=="element"||l.tagName!=="p")&&s.push({type:"text",value:`
22
+ `});const c={type:"element",tagName:"li",properties:i,children:s};return e.patch(t,c),e.applyData(t,c)}function df(e){let t=!1;if(e.type==="list"){t=e.spread||!1;const n=e.children;let r=-1;for(;!t&&++r<n.length;)t=Vs(n[r])}return t}function Vs(e){const t=e.spread;return t??e.children.length>1}function hf(e,t){const n={},r=e.all(t);let a=-1;for(typeof t.start=="number"&&t.start!==1&&(n.start=t.start);++a<r.length;){const s=r[a];if(s.type==="element"&&s.tagName==="li"&&s.properties&&Array.isArray(s.properties.className)&&s.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}const i={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)};return e.patch(t,i),e.applyData(t,i)}function pf(e,t){const n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function ff(e,t){const n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)}function mf(e,t){const n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function gf(e,t){const n=e.all(t),r=n.shift(),a=[];if(r){const s={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],s),a.push(s)}if(n.length>0){const s={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},u=qe(t.children[1]),l=Mn(t.children[t.children.length-1]);u&&l&&(s.position={start:u,end:l}),a.push(s)}const i={type:"element",tagName:"table",properties:{},children:e.wrap(a,!0)};return e.patch(t,i),e.applyData(t,i)}function bf(e,t,n){const r=n?n.children:void 0,i=(r?r.indexOf(t):1)===0?"th":"td",s=n&&n.type==="table"?n.align:void 0,u=s?s.length:t.children.length;let l=-1;const c=[];for(;++l<u;){const h=t.children[l],b={},p=s?s[l]:void 0;p&&(b.align=p);let E={type:"element",tagName:i,properties:b,children:[]};h&&(E.children=e.all(h),e.patch(h,E),E=e.applyData(h,E)),c.push(E)}const d={type:"element",tagName:"tr",properties:{},children:e.wrap(c,!0)};return e.patch(t,d),e.applyData(t,d)}function Ef(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}const Wa=9,Va=32;function xf(e){const t=String(e),n=/\r?\n|\r/g;let r=n.exec(t),a=0;const i=[];for(;r;)i.push(Ga(t.slice(a,r.index),a>0,!0),r[0]),a=r.index+r[0].length,r=n.exec(t);return i.push(Ga(t.slice(a),a>0,!1)),i.join("")}function Ga(e,t,n){let r=0,a=e.length;if(t){let i=e.codePointAt(r);for(;i===Wa||i===Va;)r++,i=e.codePointAt(r)}if(n){let i=e.codePointAt(a-1);for(;i===Wa||i===Va;)a--,i=e.codePointAt(a-1)}return a>r?e.slice(r,a):""}function wf(e,t){const n={type:"text",value:xf(String(t.value))};return e.patch(t,n),e.applyData(t,n)}function Tf(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}const yf={blockquote:Kp,break:$p,code:Jp,delete:Zp,emphasis:ef,footnoteReference:tf,heading:nf,html:rf,imageReference:af,image:sf,inlineCode:of,linkReference:uf,link:lf,listItem:cf,list:hf,paragraph:pf,root:ff,strong:mf,table:gf,tableCell:Ef,tableRow:bf,text:wf,thematicBreak:Tf,toml:hn,yaml:hn,definition:hn,footnoteDefinition:hn};function hn(){}const Gs=-1,Bn=0,An=1,Cn=2,qr=3,Wr=4,Vr=5,Gr=6,Qs=7,Xs=8,Qa=typeof self=="object"?self:globalThis,_f=(e,t)=>{const n=(a,i)=>(e.set(i,a),a),r=a=>{if(e.has(a))return e.get(a);const[i,s]=t[a];switch(i){case Bn:case Gs:return n(s,a);case An:{const u=n([],a);for(const l of s)u.push(r(l));return u}case Cn:{const u=n({},a);for(const[l,c]of s)u[r(l)]=r(c);return u}case qr:return n(new Date(s),a);case Wr:{const{source:u,flags:l}=s;return n(new RegExp(u,l),a)}case Vr:{const u=n(new Map,a);for(const[l,c]of s)u.set(r(l),r(c));return u}case Gr:{const u=n(new Set,a);for(const l of s)u.add(r(l));return u}case Qs:{const{name:u,message:l}=s;return n(new Qa[u](l),a)}case Xs:return n(BigInt(s),a);case"BigInt":return n(Object(BigInt(s)),a)}return n(new Qa[i](s),a)};return r},Xa=e=>_f(new Map,e)(0),xt="",{toString:Af}={},{keys:Cf}=Object,zt=e=>{const t=typeof e;if(t!=="object"||!e)return[Bn,t];const n=Af.call(e).slice(8,-1);switch(n){case"Array":return[An,xt];case"Object":return[Cn,xt];case"Date":return[qr,xt];case"RegExp":return[Wr,xt];case"Map":return[Vr,xt];case"Set":return[Gr,xt]}return n.includes("Array")?[An,n]:n.includes("Error")?[Qs,n]:[Cn,n]},pn=([e,t])=>e===Bn&&(t==="function"||t==="symbol"),kf=(e,t,n,r)=>{const a=(s,u)=>{const l=r.push(s)-1;return n.set(u,l),l},i=s=>{if(n.has(s))return n.get(s);let[u,l]=zt(s);switch(u){case Bn:{let d=s;switch(l){case"bigint":u=Xs,d=s.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+l);d=null;break;case"undefined":return a([Gs],s)}return a([u,d],s)}case An:{if(l)return a([l,[...s]],s);const d=[],h=a([u,d],s);for(const b of s)d.push(i(b));return h}case Cn:{if(l)switch(l){case"BigInt":return a([l,s.toString()],s);case"Boolean":case"Number":case"String":return a([l,s.valueOf()],s)}if(t&&"toJSON"in s)return i(s.toJSON());const d=[],h=a([u,d],s);for(const b of Cf(s))(e||!pn(zt(s[b])))&&d.push([i(b),i(s[b])]);return h}case qr:return a([u,s.toISOString()],s);case Wr:{const{source:d,flags:h}=s;return a([u,{source:d,flags:h}],s)}case Vr:{const d=[],h=a([u,d],s);for(const[b,p]of s)(e||!(pn(zt(b))||pn(zt(p))))&&d.push([i(b),i(p)]);return h}case Gr:{const d=[],h=a([u,d],s);for(const b of s)(e||!pn(zt(b)))&&d.push(i(b));return h}}const{message:c}=s;return a([u,{name:l,message:c}],s)};return i},Ka=(e,{json:t,lossy:n}={})=>{const r=[];return kf(!(t||n),!!t,new Map,r)(e),r},At=typeof structuredClone=="function"?(e,t)=>t&&("json"in t||"lossy"in t)?Xa(Ka(e,t)):structuredClone(e):(e,t)=>Xa(Ka(e,t));function Nf(e,t){const n=[{type:"text",value:"↩"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function If(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}function Sf(e){const t=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||Nf,r=e.options.footnoteBackLabel||If,a=e.options.footnoteLabel||"Footnotes",i=e.options.footnoteLabelTagName||"h2",s=e.options.footnoteLabelProperties||{className:["sr-only"]},u=[];let l=-1;for(;++l<e.footnoteOrder.length;){const c=e.footnoteById.get(e.footnoteOrder[l]);if(!c)continue;const d=e.all(c),h=String(c.identifier).toUpperCase(),b=Ot(h.toLowerCase());let p=0;const E=[],y=e.footnoteCounts.get(h);for(;y!==void 0&&++p<=y;){E.length>0&&E.push({type:"text",value:" "});let O=typeof n=="string"?n:n(l,p);typeof O=="string"&&(O={type:"text",value:O}),E.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+b+(p>1?"-"+p:""),dataFootnoteBackref:"",ariaLabel:typeof r=="string"?r:r(l,p),className:["data-footnote-backref"]},children:Array.isArray(O)?O:[O]})}const C=d[d.length-1];if(C&&C.type==="element"&&C.tagName==="p"){const O=C.children[C.children.length-1];O&&O.type==="text"?O.value+=" ":C.children.push({type:"text",value:" "}),C.children.push(...E)}else d.push(...E);const A={type:"element",tagName:"li",properties:{id:t+"fn-"+b},children:e.wrap(d,!0)};e.patch(c,A),u.push(A)}if(u.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:i,properties:{...At(s),id:"footnote-label"},children:[{type:"text",value:a}]},{type:"text",value:`
23
+ `},{type:"element",tagName:"ol",properties:{},children:e.wrap(u,!0)},{type:"text",value:`
24
+ `}]}}const wr={}.hasOwnProperty,Of={};function Lf(e,t){const n=t||Of,r=new Map,a=new Map,i=new Map,s={...yf,...n.handlers},u={all:c,applyData:Df,definitionById:r,footnoteById:a,footnoteCounts:i,footnoteOrder:[],handlers:s,one:l,options:n,patch:Rf,wrap:Pf};return Dn(e,function(d){if(d.type==="definition"||d.type==="footnoteDefinition"){const h=d.type==="definition"?r:a,b=String(d.identifier).toUpperCase();h.has(b)||h.set(b,d)}}),u;function l(d,h){const b=d.type,p=u.handlers[b];if(wr.call(u.handlers,b)&&p)return p(u,d,h);if(u.options.passThrough&&u.options.passThrough.includes(b)){if("children"in d){const{children:y,...C}=d,A=At(C);return A.children=u.all(d),A}return At(d)}return(u.options.unknownHandler||vf)(u,d,h)}function c(d){const h=[];if("children"in d){const b=d.children;let p=-1;for(;++p<b.length;){const E=u.one(b[p],d);if(E){if(p&&b[p-1].type==="break"&&(!Array.isArray(E)&&E.type==="text"&&(E.value=$a(E.value)),!Array.isArray(E)&&E.type==="element")){const y=E.children[0];y&&y.type==="text"&&(y.value=$a(y.value))}Array.isArray(E)?h.push(...E):h.push(E)}}}return h}}function Rf(e,t){e.position&&(t.position=Kh(e))}function Df(e,t){let n=t;if(e&&e.data){const r=e.data.hName,a=e.data.hChildren,i=e.data.hProperties;if(typeof r=="string")if(n.type==="element")n.tagName=r;else{const s="children"in n?n.children:[n];n={type:"element",tagName:r,properties:{},children:s}}n.type==="element"&&i&&Object.assign(n.properties,At(i)),"children"in n&&n.children&&a!==null&&a!==void 0&&(n.children=a)}return n}function vf(e,t){const n=t.data||{},r="value"in t&&!(wr.call(n,"hProperties")||wr.call(n,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function Pf(e,t){const n=[];let r=-1;for(t&&n.push({type:"text",value:`
25
+ `});++r<e.length;)r&&n.push({type:"text",value:`
26
+ `}),n.push(e[r]);return t&&e.length>0&&n.push({type:"text",value:`
27
+ `}),n}function $a(e){let t=0,n=e.charCodeAt(t);for(;n===9||n===32;)t++,n=e.charCodeAt(t);return e.slice(t)}function Ja(e,t){const n=Lf(e,t),r=n.one(e,void 0),a=Sf(n),i=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return a&&i.children.push({type:"text",value:`
28
+ `},a),i}function Mf(e,t){return e&&"run"in e?async function(n,r){const a=Ja(n,{file:r,...t});await e.run(a,r)}:function(n,r){return Ja(n,{file:r,...e||t})}}function Za(e){if(e)throw e}var bn=Object.prototype.hasOwnProperty,Ks=Object.prototype.toString,ei=Object.defineProperty,ti=Object.getOwnPropertyDescriptor,ni=function(t){return typeof Array.isArray=="function"?Array.isArray(t):Ks.call(t)==="[object Array]"},ri=function(t){if(!t||Ks.call(t)!=="[object Object]")return!1;var n=bn.call(t,"constructor"),r=t.constructor&&t.constructor.prototype&&bn.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!n&&!r)return!1;var a;for(a in t);return typeof a>"u"||bn.call(t,a)},ai=function(t,n){ei&&n.name==="__proto__"?ei(t,n.name,{enumerable:!0,configurable:!0,value:n.newValue,writable:!0}):t[n.name]=n.newValue},ii=function(t,n){if(n==="__proto__")if(bn.call(t,n)){if(ti)return ti(t,n).value}else return;return t[n]},Bf=function e(){var t,n,r,a,i,s,u=arguments[0],l=1,c=arguments.length,d=!1;for(typeof u=="boolean"&&(d=u,u=arguments[1]||{},l=2),(u==null||typeof u!="object"&&typeof u!="function")&&(u={});l<c;++l)if(t=arguments[l],t!=null)for(n in t)r=ii(u,n),a=ii(t,n),u!==a&&(d&&a&&(ri(a)||(i=ni(a)))?(i?(i=!1,s=r&&ni(r)?r:[]):s=r&&ri(r)?r:{},ai(u,{name:n,newValue:e(d,s,a)})):typeof a<"u"&&ai(u,{name:n,newValue:a}));return u};const tr=X.getDefaultExportFromCjs(Bf);function Tr(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function Ff(){const e=[],t={run:n,use:r};return t;function n(...a){let i=-1;const s=a.pop();if(typeof s!="function")throw new TypeError("Expected function as last argument, not "+s);u(null,...a);function u(l,...c){const d=e[++i];let h=-1;if(l){s(l);return}for(;++h<a.length;)(c[h]===null||c[h]===void 0)&&(c[h]=a[h]);a=c,d?Hf(d,u)(...c):s(null,...c)}}function r(a){if(typeof a!="function")throw new TypeError("Expected `middelware` to be a function, not "+a);return e.push(a),t}}function Hf(e,t){let n;return r;function r(...s){const u=e.length>s.length;let l;u&&s.push(a);try{l=e.apply(this,s)}catch(c){const d=c;if(u&&n)throw d;return a(d)}u||(l&&l.then&&typeof l.then=="function"?l.then(i,a):l instanceof Error?a(l):i(l))}function a(s,...u){n||(n=!0,t(s,...u))}function i(s){a(null,s)}}const ze={basename:Uf,dirname:zf,extname:jf,join:Yf,sep:"/"};function Uf(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');sn(e);let n=0,r=-1,a=e.length,i;if(t===void 0||t.length===0||t.length>e.length){for(;a--;)if(e.codePointAt(a)===47){if(i){n=a+1;break}}else r<0&&(i=!0,r=a+1);return r<0?"":e.slice(n,r)}if(t===e)return"";let s=-1,u=t.length-1;for(;a--;)if(e.codePointAt(a)===47){if(i){n=a+1;break}}else s<0&&(i=!0,s=a+1),u>-1&&(e.codePointAt(a)===t.codePointAt(u--)?u<0&&(r=a):(u=-1,r=s));return n===r?r=s:r<0&&(r=e.length),e.slice(n,r)}function zf(e){if(sn(e),e.length===0)return".";let t=-1,n=e.length,r;for(;--n;)if(e.codePointAt(n)===47){if(r){t=n;break}}else r||(r=!0);return t<0?e.codePointAt(0)===47?"/":".":t===1&&e.codePointAt(0)===47?"//":e.slice(0,t)}function jf(e){sn(e);let t=e.length,n=-1,r=0,a=-1,i=0,s;for(;t--;){const u=e.codePointAt(t);if(u===47){if(s){r=t+1;break}continue}n<0&&(s=!0,n=t+1),u===46?a<0?a=t:i!==1&&(i=1):a>-1&&(i=-1)}return a<0||n<0||i===0||i===1&&a===n-1&&a===r+1?"":e.slice(a,n)}function Yf(...e){let t=-1,n;for(;++t<e.length;)sn(e[t]),e[t]&&(n=n===void 0?e[t]:n+"/"+e[t]);return n===void 0?".":qf(n)}function qf(e){sn(e);const t=e.codePointAt(0)===47;let n=Wf(e,!t);return n.length===0&&!t&&(n="."),n.length>0&&e.codePointAt(e.length-1)===47&&(n+="/"),t?"/"+n:n}function Wf(e,t){let n="",r=0,a=-1,i=0,s=-1,u,l;for(;++s<=e.length;){if(s<e.length)u=e.codePointAt(s);else{if(u===47)break;u=47}if(u===47){if(!(a===s-1||i===1))if(a!==s-1&&i===2){if(n.length<2||r!==2||n.codePointAt(n.length-1)!==46||n.codePointAt(n.length-2)!==46){if(n.length>2){if(l=n.lastIndexOf("/"),l!==n.length-1){l<0?(n="",r=0):(n=n.slice(0,l),r=n.length-1-n.lastIndexOf("/")),a=s,i=0;continue}}else if(n.length>0){n="",r=0,a=s,i=0;continue}}t&&(n=n.length>0?n+"/..":"..",r=2)}else n.length>0?n+="/"+e.slice(a+1,s):n=e.slice(a+1,s),r=s-a-1;a=s,i=0}else u===46&&i>-1?i++:i=-1}return n}function sn(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const Vf={cwd:Gf};function Gf(){return"/"}function yr(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function Qf(e){if(typeof e=="string")e=new URL(e);else if(!yr(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if(e.protocol!=="file:"){const t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return Xf(e)}function Xf(e){if(e.hostname!==""){const r=new TypeError('File URL host must be "localhost" or empty on darwin');throw r.code="ERR_INVALID_FILE_URL_HOST",r}const t=e.pathname;let n=-1;for(;++n<t.length;)if(t.codePointAt(n)===37&&t.codePointAt(n+1)===50){const r=t.codePointAt(n+2);if(r===70||r===102){const a=new TypeError("File URL path must not include encoded / characters");throw a.code="ERR_INVALID_FILE_URL_PATH",a}}return decodeURIComponent(t)}const nr=["history","path","basename","stem","extname","dirname"];class $s{constructor(t){let n;t?yr(t)?n={path:t}:typeof t=="string"||Kf(t)?n={value:t}:n=t:n={},this.cwd="cwd"in n?"":Vf.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let r=-1;for(;++r<nr.length;){const i=nr[r];i in n&&n[i]!==void 0&&n[i]!==null&&(this[i]=i==="history"?[...n[i]]:n[i])}let a;for(a in n)nr.includes(a)||(this[a]=n[a])}get basename(){return typeof this.path=="string"?ze.basename(this.path):void 0}set basename(t){ar(t,"basename"),rr(t,"basename"),this.path=ze.join(this.dirname||"",t)}get dirname(){return typeof this.path=="string"?ze.dirname(this.path):void 0}set dirname(t){si(this.basename,"dirname"),this.path=ze.join(t||"",this.basename)}get extname(){return typeof this.path=="string"?ze.extname(this.path):void 0}set extname(t){if(rr(t,"extname"),si(this.dirname,"extname"),t){if(t.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(t.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=ze.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){yr(t)&&(t=Qf(t)),ar(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return typeof this.path=="string"?ze.basename(this.path,this.extname):void 0}set stem(t){ar(t,"stem"),rr(t,"stem"),this.path=ze.join(this.dirname||"",t+(this.extname||""))}fail(t,n,r){const a=this.message(t,n,r);throw a.fatal=!0,a}info(t,n,r){const a=this.message(t,n,r);return a.fatal=void 0,a}message(t,n,r){const a=new ye(t,n,r);return this.path&&(a.name=this.path+":"+a.name,a.file=this.path),a.fatal=!1,this.messages.push(a),a}toString(t){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(t||void 0).decode(this.value)}}function rr(e,t){if(e&&e.includes(ze.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+ze.sep+"`")}function ar(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function si(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function Kf(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const $f=function(e){const r=this.constructor.prototype,a=r[e],i=function(){return a.apply(i,arguments)};return Object.setPrototypeOf(i,r),i},Jf={}.hasOwnProperty;class Qr extends $f{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=Ff()}copy(){const t=new Qr;let n=-1;for(;++n<this.attachers.length;){const r=this.attachers[n];t.use(...r)}return t.data(tr(!0,{},this.namespace)),t}data(t,n){return typeof t=="string"?arguments.length===2?(or("data",this.frozen),this.namespace[t]=n,this):Jf.call(this.namespace,t)&&this.namespace[t]||void 0:t?(or("data",this.frozen),this.namespace=t,this):this.namespace}freeze(){if(this.frozen)return this;const t=this;for(;++this.freezeIndex<this.attachers.length;){const[n,...r]=this.attachers[this.freezeIndex];if(r[0]===!1)continue;r[0]===!0&&(r[0]=void 0);const a=n.call(t,...r);typeof a=="function"&&this.transformers.use(a)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(t){this.freeze();const n=fn(t),r=this.parser||this.Parser;return ir("parse",r),r(String(n),n)}process(t,n){const r=this;return this.freeze(),ir("process",this.parser||this.Parser),sr("process",this.compiler||this.Compiler),n?a(void 0,n):new Promise(a);function a(i,s){const u=fn(t),l=r.parse(u);r.run(l,u,function(d,h,b){if(d||!h||!b)return c(d);const p=h,E=r.stringify(p,b);tm(E)?b.value=E:b.result=E,c(d,b)});function c(d,h){d||!h?s(d):i?i(h):n(void 0,h)}}}processSync(t){let n=!1,r;return this.freeze(),ir("processSync",this.parser||this.Parser),sr("processSync",this.compiler||this.Compiler),this.process(t,a),ui("processSync","process",n),r;function a(i,s){n=!0,Za(i),r=s}}run(t,n,r){oi(t),this.freeze();const a=this.transformers;return!r&&typeof n=="function"&&(r=n,n=void 0),r?i(void 0,r):new Promise(i);function i(s,u){const l=fn(n);a.run(t,l,c);function c(d,h,b){const p=h||t;d?u(d):s?s(p):r(void 0,p,b)}}}runSync(t,n){let r=!1,a;return this.run(t,n,i),ui("runSync","run",r),a;function i(s,u){Za(s),a=u,r=!0}}stringify(t,n){this.freeze();const r=fn(n),a=this.compiler||this.Compiler;return sr("stringify",a),oi(t),a(t,r)}use(t,...n){const r=this.attachers,a=this.namespace;if(or("use",this.frozen),t!=null)if(typeof t=="function")l(t,n);else if(typeof t=="object")Array.isArray(t)?u(t):s(t);else throw new TypeError("Expected usable value, not `"+t+"`");return this;function i(c){if(typeof c=="function")l(c,[]);else if(typeof c=="object")if(Array.isArray(c)){const[d,...h]=c;l(d,h)}else s(c);else throw new TypeError("Expected usable value, not `"+c+"`")}function s(c){if(!("plugins"in c)&&!("settings"in c))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");u(c.plugins),c.settings&&(a.settings=tr(!0,a.settings,c.settings))}function u(c){let d=-1;if(c!=null)if(Array.isArray(c))for(;++d<c.length;){const h=c[d];i(h)}else throw new TypeError("Expected a list of plugins, not `"+c+"`")}function l(c,d){let h=-1,b=-1;for(;++h<r.length;)if(r[h][0]===c){b=h;break}if(b===-1)r.push([c,...d]);else if(d.length>0){let[p,...E]=d;const y=r[b][1];Tr(y)&&Tr(p)&&(p=tr(!0,y,p)),r[b]=[c,p,...E]}}}}const Zf=new Qr().freeze();function ir(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function sr(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function or(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function oi(e){if(!Tr(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function ui(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function fn(e){return em(e)?e:new $s(e)}function em(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function tm(e){return typeof e=="string"||nm(e)}function nm(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const rm="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",li=[],ci={allowDangerousHtml:!0},am=/^(https?|ircs?|mailto|xmpp)$/i,im=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function sm(e){const t=e.allowedElements,n=e.allowElement,r=e.children||"",a=e.className,i=e.components,s=e.disallowedElements,u=e.rehypePlugins||li,l=e.remarkPlugins||li,c=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...ci}:ci,d=e.skipHtml,h=e.unwrapDisallowed,b=e.urlTransform||om,p=Zf().use(Xp).use(l).use(Mf,c).use(u),E=new $s;typeof r=="string"&&(E.value=r);for(const O of im)Object.hasOwn(e,O.from)&&(""+O.from+(O.to?"use `"+O.to+"` instead":"remove it")+rm+O.id,void 0);const y=p.parse(E);let C=p.runSync(y,E);return a&&(C={type:"element",tagName:"div",properties:{className:a},children:C.type==="root"?C.children:[C]}),Dn(C,A),np(C,{Fragment:m.Fragment,components:i,ignoreInvalidStyle:!0,jsx:m.jsx,jsxs:m.jsxs,passKeys:!0,passNode:!0});function A(O,L,P){if(O.type==="raw"&&P&&typeof L=="number")return d?P.children.splice(L,1):P.children[L]={type:"text",value:O.value},L;if(O.type==="element"){let H;for(H in er)if(Object.hasOwn(er,H)&&Object.hasOwn(O.properties,H)){const I=O.properties[H],F=er[H];(F===null||F.includes(O.tagName))&&(O.properties[H]=b(String(I||""),H,O))}}if(O.type==="element"){let H=t?!t.includes(O.tagName):s?s.includes(O.tagName):!1;if(!H&&n&&typeof L=="number"&&(H=!n(O,L,P)),H&&P&&typeof L=="number")return h&&O.children?P.children.splice(L,1,...O.children):P.children.splice(L,1),L}}}function om(e){const t=e.indexOf(":"),n=e.indexOf("?"),r=e.indexOf("#"),a=e.indexOf("/");return t<0||a>-1&&t>a||n>-1&&t>n||r>-1&&t>r||am.test(e.slice(0,t))?e:""}const Js=J.memo(sm,(e,t)=>e.children===t.children&&e.className===t.className),di=/[#.]/g;function um(e,t){const n=e||"",r={};let a=0,i,s;for(;a<n.length;){di.lastIndex=a;const u=di.exec(n),l=n.slice(a,u?u.index:n.length);l&&(i?i==="#"?r.id=l:Array.isArray(r.className)?r.className.push(l):r.className=[l]:s=l,a+=l.length),u&&(i=u[0],a++)}return{type:"element",tagName:s||t||"div",properties:r,children:[]}}const _r={}.hasOwnProperty;function Zs(e,t,n){const r=n&&hm(n);function a(i,s,...u){let l=-1,c;if(i==null){c={type:"root",children:[]};const d=s;u.unshift(d)}else if(c=um(i,t),c.tagName=c.tagName.toLowerCase(),r&&_r.call(r,c.tagName)&&(c.tagName=r[c.tagName]),lm(s))u.unshift(s);else{let d;for(d in s)_r.call(s,d)&&cm(e,c.properties,d,s[d])}for(;++l<u.length;)Ar(c.children,u[l]);return c.type==="element"&&c.tagName==="template"&&(c.content={type:"root",children:c.children},c.children=[]),c}return a}function lm(e){if(e===null||typeof e!="object"||Array.isArray(e))return!0;if(typeof e.type!="string")return!1;const t=e,n=Object.keys(e);for(const r of n){const a=t[r];if(a&&typeof a=="object"){if(!Array.isArray(a))return!0;const i=a;for(const s of i)if(typeof s!="number"&&typeof s!="string")return!0}}return!!("children"in e&&Array.isArray(e.children))}function cm(e,t,n,r){const a=Pn(e,n);let i=-1,s;if(r!=null){if(typeof r=="number"){if(Number.isNaN(r))return;s=r}else typeof r=="boolean"?s=r:typeof r=="string"?a.spaceSeparated?s=va(r):a.commaSeparated?s=Sa(r):a.commaOrSpaceSeparated?s=va(Sa(r).join(" ")):s=hi(a,a.property,r):Array.isArray(r)?s=r.concat():s=a.property==="style"?dm(r):String(r);if(Array.isArray(s)){const u=[];for(;++i<s.length;){const l=hi(a,a.property,s[i]);u[i]=l}s=u}if(a.property==="className"&&Array.isArray(t.className)){const u=s;s=t.className.concat(u)}t[a.property]=s}}function Ar(e,t){let n=-1;if(t!=null)if(typeof t=="string"||typeof t=="number")e.push({type:"text",value:String(t)});else if(Array.isArray(t))for(;++n<t.length;)Ar(e,t[n]);else if(typeof t=="object"&&"type"in t)t.type==="root"?Ar(e,t.children):e.push(t);else throw new Error("Expected node, nodes, or string, got `"+t+"`")}function hi(e,t,n){if(typeof n=="string"){if(e.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((e.boolean||e.overloadedBoolean)&&(n===""||Jt(n)===Jt(t)))return!0}return n}function dm(e){const t=[];let n;for(n in e)_r.call(e,n)&&t.push([n,e[n]].join(": "));return t.join("; ")}function hm(e){const t={};let n=-1;for(;++n<e.length;)t[e[n].toLowerCase()]=e[n];return t}const pm=["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","solidColor","textArea","textPath"],fm=Zs(an,"div"),mm=Zs(st,"g",pm);function gm(e){const t=String(e),n=[];return{toOffset:a,toPoint:r};function r(i){if(typeof i=="number"&&i>-1&&i<=t.length){let s=0;for(;;){let u=n[s];if(u===void 0){const l=pi(t,n[s-1]);u=l===-1?t.length+1:l+1,n[s]=u}if(u>i)return{line:s+1,column:i-(s>0?n[s-1]:0)+1,offset:i};s++}}}function a(i){if(i&&typeof i.line=="number"&&typeof i.column=="number"&&!Number.isNaN(i.line)&&!Number.isNaN(i.column)){for(;n.length<i.line;){const u=n[n.length-1],l=pi(t,u),c=l===-1?t.length+1:l+1;if(u===c)break;n.push(c)}const s=(i.line>1?n[i.line-2]:0)+i.column-1;if(s<n[i.line-1])return s}}}function pi(e,t){const n=e.indexOf("\r",t),r=e.indexOf(`
29
+ `,t);return r===-1?n:n===-1||n+1===r?r:n<r?n:r}const dt={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},eo={}.hasOwnProperty,bm=Object.prototype;function Em(e,t){const n=t||{};return Xr({file:n.file||void 0,location:!1,schema:n.space==="svg"?st:an,verbose:n.verbose||!1},e)}function Xr(e,t){let n;switch(t.nodeName){case"#comment":{const r=t;return n={type:"comment",value:r.data},En(e,r,n),n}case"#document":case"#document-fragment":{const r=t,a="mode"in r?r.mode==="quirks"||r.mode==="limited-quirks":!1;if(n={type:"root",children:to(e,t.childNodes),data:{quirksMode:a}},e.file&&e.location){const i=String(e.file),s=gm(i),u=s.toPoint(0),l=s.toPoint(i.length);n.position={start:u,end:l}}return n}case"#documentType":{const r=t;return n={type:"doctype"},En(e,r,n),n}case"#text":{const r=t;return n={type:"text",value:r.value},En(e,r,n),n}default:return n=xm(e,t),n}}function to(e,t){let n=-1;const r=[];for(;++n<t.length;){const a=Xr(e,t[n]);r.push(a)}return r}function xm(e,t){const n=e.schema;e.schema=t.namespaceURI===dt.svg?st:an;let r=-1;const a={};for(;++r<t.attrs.length;){const u=t.attrs[r],l=(u.prefix?u.prefix+":":"")+u.name;eo.call(bm,l)||(a[l]=u.value)}const s=(e.schema.space==="svg"?mm:fm)(t.tagName,a,to(e,t.childNodes));if(En(e,t,s),s.tagName==="template"){const u=t,l=u.sourceCodeLocation,c=l&&l.startTag&&Tt(l.startTag),d=l&&l.endTag&&Tt(l.endTag),h=Xr(e,u.content);c&&d&&e.file&&(h.position={start:c.end,end:d.start}),s.content=h}return e.schema=n,s}function En(e,t,n){if("sourceCodeLocation"in t&&t.sourceCodeLocation&&e.file){const r=wm(e,n,t.sourceCodeLocation);r&&(e.location=!0,n.position=r)}}function wm(e,t,n){const r=Tt(n);if(t.type==="element"){const a=t.children[t.children.length-1];if(r&&!n.endTag&&a&&a.position&&a.position.end&&(r.end=Object.assign({},a.position.end)),e.verbose){const i={};let s;if(n.attrs)for(s in n.attrs)eo.call(n.attrs,s)&&(i[Pn(e.schema,s).property]=Tt(n.attrs[s]));n.startTag;const u=Tt(n.startTag),l=n.endTag?Tt(n.endTag):void 0,c={opening:u};l&&(c.closing=l),c.properties=i,t.data={position:c}}}return r}function Tt(e){const t=fi({line:e.startLine,column:e.startCol,offset:e.startOffset}),n=fi({line:e.endLine,column:e.endCol,offset:e.endOffset});return t||n?{start:t,end:n}:void 0}function fi(e){return e.line&&e.column?e:void 0}const Tm={},ym={}.hasOwnProperty,no=Qi("type",{handlers:{root:Am,element:Sm,text:Nm,comment:Im,doctype:km}});function _m(e,t){const r=(t||Tm).space;return no(e,r==="svg"?st:an)}function Am(e,t){const n={nodeName:"#document",mode:(e.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return n.childNodes=Kr(e.children,n,t),Rt(e,n),n}function Cm(e,t){const n={nodeName:"#document-fragment",childNodes:[]};return n.childNodes=Kr(e.children,n,t),Rt(e,n),n}function km(e){const t={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:null};return Rt(e,t),t}function Nm(e){const t={nodeName:"#text",value:e.value,parentNode:null};return Rt(e,t),t}function Im(e){const t={nodeName:"#comment",data:e.value,parentNode:null};return Rt(e,t),t}function Sm(e,t){const n=t;let r=n;e.type==="element"&&e.tagName.toLowerCase()==="svg"&&n.space==="html"&&(r=st);const a=[];let i;if(e.properties){for(i in e.properties)if(i!=="children"&&ym.call(e.properties,i)){const l=Om(r,i,e.properties[i]);l&&a.push(l)}}const s=r.space,u={nodeName:e.tagName,tagName:e.tagName,attrs:a,namespaceURI:dt[s],childNodes:[],parentNode:null};return u.childNodes=Kr(e.children,u,r),Rt(e,u),e.tagName==="template"&&e.content&&(u.content=Cm(e.content,r)),u}function Om(e,t,n){const r=Pn(e,t);if(n===!1||n===null||n===void 0||typeof n=="number"&&Number.isNaN(n)||!n&&r.boolean)return;Array.isArray(n)&&(n=r.commaSeparated?Cs(n):vs(n));const a={name:r.attribute,value:n===!0?"":String(n)};if(r.space&&r.space!=="html"&&r.space!=="svg"){const i=a.name.indexOf(":");i<0?a.prefix="":(a.name=a.name.slice(i+1),a.prefix=r.attribute.slice(0,i)),a.namespace=dt[r.space]}return a}function Kr(e,t,n){let r=-1;const a=[];if(e)for(;++r<e.length;){const i=no(e[r],n);i.parentNode=t,a.push(i)}return a}function Rt(e,t){const n=e.position;n&&n.start&&n.end&&(n.start.offset,n.end.offset,t.sourceCodeLocation={startLine:n.start.line,startCol:n.start.column,startOffset:n.start.offset,endLine:n.end.line,endCol:n.end.column,endOffset:n.end.offset})}const Lm=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"],Rm=new Set([65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111]),oe="�";var f;(function(e){e[e.EOF=-1]="EOF",e[e.NULL=0]="NULL",e[e.TABULATION=9]="TABULATION",e[e.CARRIAGE_RETURN=13]="CARRIAGE_RETURN",e[e.LINE_FEED=10]="LINE_FEED",e[e.FORM_FEED=12]="FORM_FEED",e[e.SPACE=32]="SPACE",e[e.EXCLAMATION_MARK=33]="EXCLAMATION_MARK",e[e.QUOTATION_MARK=34]="QUOTATION_MARK",e[e.AMPERSAND=38]="AMPERSAND",e[e.APOSTROPHE=39]="APOSTROPHE",e[e.HYPHEN_MINUS=45]="HYPHEN_MINUS",e[e.SOLIDUS=47]="SOLIDUS",e[e.DIGIT_0=48]="DIGIT_0",e[e.DIGIT_9=57]="DIGIT_9",e[e.SEMICOLON=59]="SEMICOLON",e[e.LESS_THAN_SIGN=60]="LESS_THAN_SIGN",e[e.EQUALS_SIGN=61]="EQUALS_SIGN",e[e.GREATER_THAN_SIGN=62]="GREATER_THAN_SIGN",e[e.QUESTION_MARK=63]="QUESTION_MARK",e[e.LATIN_CAPITAL_A=65]="LATIN_CAPITAL_A",e[e.LATIN_CAPITAL_Z=90]="LATIN_CAPITAL_Z",e[e.RIGHT_SQUARE_BRACKET=93]="RIGHT_SQUARE_BRACKET",e[e.GRAVE_ACCENT=96]="GRAVE_ACCENT",e[e.LATIN_SMALL_A=97]="LATIN_SMALL_A",e[e.LATIN_SMALL_Z=122]="LATIN_SMALL_Z"})(f||(f={}));const Ne={DASH_DASH:"--",CDATA_START:"[CDATA[",DOCTYPE:"doctype",SCRIPT:"script",PUBLIC:"public",SYSTEM:"system"};function ro(e){return e>=55296&&e<=57343}function Dm(e){return e>=56320&&e<=57343}function vm(e,t){return(e-55296)*1024+9216+t}function ao(e){return e!==32&&e!==10&&e!==13&&e!==9&&e!==12&&e>=1&&e<=31||e>=127&&e<=159}function io(e){return e>=64976&&e<=65007||Rm.has(e)}var k;(function(e){e.controlCharacterInInputStream="control-character-in-input-stream",e.noncharacterInInputStream="noncharacter-in-input-stream",e.surrogateInInputStream="surrogate-in-input-stream",e.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",e.endTagWithAttributes="end-tag-with-attributes",e.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",e.unexpectedSolidusInTag="unexpected-solidus-in-tag",e.unexpectedNullCharacter="unexpected-null-character",e.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",e.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",e.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",e.missingEndTagName="missing-end-tag-name",e.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",e.unknownNamedCharacterReference="unknown-named-character-reference",e.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",e.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",e.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",e.eofBeforeTagName="eof-before-tag-name",e.eofInTag="eof-in-tag",e.missingAttributeValue="missing-attribute-value",e.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",e.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",e.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",e.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",e.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",e.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",e.missingDoctypePublicIdentifier="missing-doctype-public-identifier",e.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",e.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",e.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",e.cdataInHtmlContent="cdata-in-html-content",e.incorrectlyOpenedComment="incorrectly-opened-comment",e.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",e.eofInDoctype="eof-in-doctype",e.nestedComment="nested-comment",e.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",e.eofInComment="eof-in-comment",e.incorrectlyClosedComment="incorrectly-closed-comment",e.eofInCdata="eof-in-cdata",e.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",e.nullCharacterReference="null-character-reference",e.surrogateCharacterReference="surrogate-character-reference",e.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",e.controlCharacterReference="control-character-reference",e.noncharacterCharacterReference="noncharacter-character-reference",e.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",e.missingDoctypeName="missing-doctype-name",e.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",e.duplicateAttribute="duplicate-attribute",e.nonConformingDoctype="non-conforming-doctype",e.missingDoctype="missing-doctype",e.misplacedDoctype="misplaced-doctype",e.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",e.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",e.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",e.openElementsLeftAfterEof="open-elements-left-after-eof",e.abandonedHeadElementChild="abandoned-head-element-child",e.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",e.nestedNoscriptInHead="nested-noscript-in-head",e.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text"})(k||(k={}));const Pm=65536;class Mm{constructor(t){this.handler=t,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=Pm,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+ +(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(t,n){const{line:r,col:a,offset:i}=this,s=a+n,u=i+n;return{code:t,startLine:r,endLine:r,startCol:s,endCol:s,startOffset:u,endOffset:u}}_err(t){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(t,0)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(t){if(this.pos!==this.html.length-1){const n=this.html.charCodeAt(this.pos+1);if(Dm(n))return this.pos++,this._addGap(),vm(t,n)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,f.EOF;return this._err(k.surrogateInInputStream),t}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(t,n){this.html.length>0?this.html+=t:this.html=t,this.endOfChunkHit=!1,this.lastChunkWritten=n}insertHtmlAtCurrentPos(t){this.html=this.html.substring(0,this.pos+1)+t+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(t,n){if(this.pos+t.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(n)return this.html.startsWith(t,this.pos);for(let r=0;r<t.length;r++)if((this.html.charCodeAt(this.pos+r)|32)!==t.charCodeAt(r))return!1;return!0}peek(t){const n=this.pos+t;if(n>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,f.EOF;const r=this.html.charCodeAt(n);return r===f.CARRIAGE_RETURN?f.LINE_FEED:r}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,f.EOF;let t=this.html.charCodeAt(this.pos);return t===f.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,f.LINE_FEED):t===f.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,ro(t)&&(t=this._processSurrogate(t)),this.handler.onParseError===null||t>31&&t<127||t===f.LINE_FEED||t===f.CARRIAGE_RETURN||t>159&&t<64976||this._checkForProblematicCharacters(t),t)}_checkForProblematicCharacters(t){ao(t)?this._err(k.controlCharacterInInputStream):io(t)&&this._err(k.noncharacterInInputStream)}retreat(t){for(this.pos-=t;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}}var Q;(function(e){e[e.CHARACTER=0]="CHARACTER",e[e.NULL_CHARACTER=1]="NULL_CHARACTER",e[e.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",e[e.START_TAG=3]="START_TAG",e[e.END_TAG=4]="END_TAG",e[e.COMMENT=5]="COMMENT",e[e.DOCTYPE=6]="DOCTYPE",e[e.EOF=7]="EOF",e[e.HIBERNATION=8]="HIBERNATION"})(Q||(Q={}));function so(e,t){for(let n=e.attrs.length-1;n>=0;n--)if(e.attrs[n].name===t)return e.attrs[n].value;return null}const oo=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(e=>e.charCodeAt(0))),Bm=new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(e=>e.charCodeAt(0)));var ur;const Fm=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),Hm=(ur=String.fromCodePoint)!==null&&ur!==void 0?ur:function(e){let t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|e&1023),t+=String.fromCharCode(e),t};function Um(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=Fm.get(e))!==null&&t!==void 0?t:e}var Ee;(function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"})(Ee||(Ee={}));const zm=32;var at;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(at||(at={}));function Cr(e){return e>=Ee.ZERO&&e<=Ee.NINE}function jm(e){return e>=Ee.UPPER_A&&e<=Ee.UPPER_F||e>=Ee.LOWER_A&&e<=Ee.LOWER_F}function Ym(e){return e>=Ee.UPPER_A&&e<=Ee.UPPER_Z||e>=Ee.LOWER_A&&e<=Ee.LOWER_Z||Cr(e)}function qm(e){return e===Ee.EQUALS||Ym(e)}var be;(function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"})(be||(be={}));var Xe;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(Xe||(Xe={}));class uo{constructor(t,n,r){this.decodeTree=t,this.emitCodePoint=n,this.errors=r,this.state=be.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Xe.Strict}startEntity(t){this.decodeMode=t,this.state=be.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,n){switch(this.state){case be.EntityStart:return t.charCodeAt(n)===Ee.NUM?(this.state=be.NumericStart,this.consumed+=1,this.stateNumericStart(t,n+1)):(this.state=be.NamedEntity,this.stateNamedEntity(t,n));case be.NumericStart:return this.stateNumericStart(t,n);case be.NumericDecimal:return this.stateNumericDecimal(t,n);case be.NumericHex:return this.stateNumericHex(t,n);case be.NamedEntity:return this.stateNamedEntity(t,n)}}stateNumericStart(t,n){return n>=t.length?-1:(t.charCodeAt(n)|zm)===Ee.LOWER_X?(this.state=be.NumericHex,this.consumed+=1,this.stateNumericHex(t,n+1)):(this.state=be.NumericDecimal,this.stateNumericDecimal(t,n))}addToNumericResult(t,n,r,a){if(n!==r){const i=r-n;this.result=this.result*Math.pow(a,i)+parseInt(t.substr(n,i),a),this.consumed+=i}}stateNumericHex(t,n){const r=n;for(;n<t.length;){const a=t.charCodeAt(n);if(Cr(a)||jm(a))n+=1;else return this.addToNumericResult(t,r,n,16),this.emitNumericEntity(a,3)}return this.addToNumericResult(t,r,n,16),-1}stateNumericDecimal(t,n){const r=n;for(;n<t.length;){const a=t.charCodeAt(n);if(Cr(a))n+=1;else return this.addToNumericResult(t,r,n,10),this.emitNumericEntity(a,2)}return this.addToNumericResult(t,r,n,10),-1}emitNumericEntity(t,n){var r;if(this.consumed<=n)return(r=this.errors)===null||r===void 0||r.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(t===Ee.SEMI)this.consumed+=1;else if(this.decodeMode===Xe.Strict)return 0;return this.emitCodePoint(Um(this.result),this.consumed),this.errors&&(t!==Ee.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(t,n){const{decodeTree:r}=this;let a=r[this.treeIndex],i=(a&at.VALUE_LENGTH)>>14;for(;n<t.length;n++,this.excess++){const s=t.charCodeAt(n);if(this.treeIndex=Wm(r,a,this.treeIndex+Math.max(1,i),s),this.treeIndex<0)return this.result===0||this.decodeMode===Xe.Attribute&&(i===0||qm(s))?0:this.emitNotTerminatedNamedEntity();if(a=r[this.treeIndex],i=(a&at.VALUE_LENGTH)>>14,i!==0){if(s===Ee.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==Xe.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;const{result:n,decodeTree:r}=this,a=(r[n]&at.VALUE_LENGTH)>>14;return this.emitNamedEntityData(n,a,this.consumed),(t=this.errors)===null||t===void 0||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,n,r){const{decodeTree:a}=this;return this.emitCodePoint(n===1?a[t]&~at.VALUE_LENGTH:a[t+1],r),n===3&&this.emitCodePoint(a[t+2],r),r}end(){var t;switch(this.state){case be.NamedEntity:return this.result!==0&&(this.decodeMode!==Xe.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case be.NumericDecimal:return this.emitNumericEntity(0,2);case be.NumericHex:return this.emitNumericEntity(0,3);case be.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case be.EntityStart:return 0}}}function lo(e){let t="";const n=new uo(e,r=>t+=Hm(r));return function(a,i){let s=0,u=0;for(;(u=a.indexOf("&",u))>=0;){t+=a.slice(s,u),n.startEntity(i);const c=n.write(a,u+1);if(c<0){s=u+n.end();break}s=u+c,u=c===0?s+1:s}const l=t+a.slice(s);return t="",l}}function Wm(e,t,n,r){const a=(t&at.BRANCH_LENGTH)>>7,i=t&at.JUMP_TABLE;if(a===0)return i!==0&&r===i?n:-1;if(i){const l=r-i;return l<0||l>=a?-1:e[n+l]-1}let s=n,u=s+a-1;for(;s<=u;){const l=s+u>>>1,c=e[l];if(c<r)s=l+1;else if(c>r)u=l-1;else return e[l+a]}return-1}lo(oo);lo(Bm);var R;(function(e){e.HTML="http://www.w3.org/1999/xhtml",e.MATHML="http://www.w3.org/1998/Math/MathML",e.SVG="http://www.w3.org/2000/svg",e.XLINK="http://www.w3.org/1999/xlink",e.XML="http://www.w3.org/XML/1998/namespace",e.XMLNS="http://www.w3.org/2000/xmlns/"})(R||(R={}));var ht;(function(e){e.TYPE="type",e.ACTION="action",e.ENCODING="encoding",e.PROMPT="prompt",e.NAME="name",e.COLOR="color",e.FACE="face",e.SIZE="size"})(ht||(ht={}));var De;(function(e){e.NO_QUIRKS="no-quirks",e.QUIRKS="quirks",e.LIMITED_QUIRKS="limited-quirks"})(De||(De={}));var _;(function(e){e.A="a",e.ADDRESS="address",e.ANNOTATION_XML="annotation-xml",e.APPLET="applet",e.AREA="area",e.ARTICLE="article",e.ASIDE="aside",e.B="b",e.BASE="base",e.BASEFONT="basefont",e.BGSOUND="bgsound",e.BIG="big",e.BLOCKQUOTE="blockquote",e.BODY="body",e.BR="br",e.BUTTON="button",e.CAPTION="caption",e.CENTER="center",e.CODE="code",e.COL="col",e.COLGROUP="colgroup",e.DD="dd",e.DESC="desc",e.DETAILS="details",e.DIALOG="dialog",e.DIR="dir",e.DIV="div",e.DL="dl",e.DT="dt",e.EM="em",e.EMBED="embed",e.FIELDSET="fieldset",e.FIGCAPTION="figcaption",e.FIGURE="figure",e.FONT="font",e.FOOTER="footer",e.FOREIGN_OBJECT="foreignObject",e.FORM="form",e.FRAME="frame",e.FRAMESET="frameset",e.H1="h1",e.H2="h2",e.H3="h3",e.H4="h4",e.H5="h5",e.H6="h6",e.HEAD="head",e.HEADER="header",e.HGROUP="hgroup",e.HR="hr",e.HTML="html",e.I="i",e.IMG="img",e.IMAGE="image",e.INPUT="input",e.IFRAME="iframe",e.KEYGEN="keygen",e.LABEL="label",e.LI="li",e.LINK="link",e.LISTING="listing",e.MAIN="main",e.MALIGNMARK="malignmark",e.MARQUEE="marquee",e.MATH="math",e.MENU="menu",e.META="meta",e.MGLYPH="mglyph",e.MI="mi",e.MO="mo",e.MN="mn",e.MS="ms",e.MTEXT="mtext",e.NAV="nav",e.NOBR="nobr",e.NOFRAMES="noframes",e.NOEMBED="noembed",e.NOSCRIPT="noscript",e.OBJECT="object",e.OL="ol",e.OPTGROUP="optgroup",e.OPTION="option",e.P="p",e.PARAM="param",e.PLAINTEXT="plaintext",e.PRE="pre",e.RB="rb",e.RP="rp",e.RT="rt",e.RTC="rtc",e.RUBY="ruby",e.S="s",e.SCRIPT="script",e.SEARCH="search",e.SECTION="section",e.SELECT="select",e.SOURCE="source",e.SMALL="small",e.SPAN="span",e.STRIKE="strike",e.STRONG="strong",e.STYLE="style",e.SUB="sub",e.SUMMARY="summary",e.SUP="sup",e.TABLE="table",e.TBODY="tbody",e.TEMPLATE="template",e.TEXTAREA="textarea",e.TFOOT="tfoot",e.TD="td",e.TH="th",e.THEAD="thead",e.TITLE="title",e.TR="tr",e.TRACK="track",e.TT="tt",e.U="u",e.UL="ul",e.SVG="svg",e.VAR="var",e.WBR="wbr",e.XMP="xmp"})(_||(_={}));var o;(function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.A=1]="A",e[e.ADDRESS=2]="ADDRESS",e[e.ANNOTATION_XML=3]="ANNOTATION_XML",e[e.APPLET=4]="APPLET",e[e.AREA=5]="AREA",e[e.ARTICLE=6]="ARTICLE",e[e.ASIDE=7]="ASIDE",e[e.B=8]="B",e[e.BASE=9]="BASE",e[e.BASEFONT=10]="BASEFONT",e[e.BGSOUND=11]="BGSOUND",e[e.BIG=12]="BIG",e[e.BLOCKQUOTE=13]="BLOCKQUOTE",e[e.BODY=14]="BODY",e[e.BR=15]="BR",e[e.BUTTON=16]="BUTTON",e[e.CAPTION=17]="CAPTION",e[e.CENTER=18]="CENTER",e[e.CODE=19]="CODE",e[e.COL=20]="COL",e[e.COLGROUP=21]="COLGROUP",e[e.DD=22]="DD",e[e.DESC=23]="DESC",e[e.DETAILS=24]="DETAILS",e[e.DIALOG=25]="DIALOG",e[e.DIR=26]="DIR",e[e.DIV=27]="DIV",e[e.DL=28]="DL",e[e.DT=29]="DT",e[e.EM=30]="EM",e[e.EMBED=31]="EMBED",e[e.FIELDSET=32]="FIELDSET",e[e.FIGCAPTION=33]="FIGCAPTION",e[e.FIGURE=34]="FIGURE",e[e.FONT=35]="FONT",e[e.FOOTER=36]="FOOTER",e[e.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",e[e.FORM=38]="FORM",e[e.FRAME=39]="FRAME",e[e.FRAMESET=40]="FRAMESET",e[e.H1=41]="H1",e[e.H2=42]="H2",e[e.H3=43]="H3",e[e.H4=44]="H4",e[e.H5=45]="H5",e[e.H6=46]="H6",e[e.HEAD=47]="HEAD",e[e.HEADER=48]="HEADER",e[e.HGROUP=49]="HGROUP",e[e.HR=50]="HR",e[e.HTML=51]="HTML",e[e.I=52]="I",e[e.IMG=53]="IMG",e[e.IMAGE=54]="IMAGE",e[e.INPUT=55]="INPUT",e[e.IFRAME=56]="IFRAME",e[e.KEYGEN=57]="KEYGEN",e[e.LABEL=58]="LABEL",e[e.LI=59]="LI",e[e.LINK=60]="LINK",e[e.LISTING=61]="LISTING",e[e.MAIN=62]="MAIN",e[e.MALIGNMARK=63]="MALIGNMARK",e[e.MARQUEE=64]="MARQUEE",e[e.MATH=65]="MATH",e[e.MENU=66]="MENU",e[e.META=67]="META",e[e.MGLYPH=68]="MGLYPH",e[e.MI=69]="MI",e[e.MO=70]="MO",e[e.MN=71]="MN",e[e.MS=72]="MS",e[e.MTEXT=73]="MTEXT",e[e.NAV=74]="NAV",e[e.NOBR=75]="NOBR",e[e.NOFRAMES=76]="NOFRAMES",e[e.NOEMBED=77]="NOEMBED",e[e.NOSCRIPT=78]="NOSCRIPT",e[e.OBJECT=79]="OBJECT",e[e.OL=80]="OL",e[e.OPTGROUP=81]="OPTGROUP",e[e.OPTION=82]="OPTION",e[e.P=83]="P",e[e.PARAM=84]="PARAM",e[e.PLAINTEXT=85]="PLAINTEXT",e[e.PRE=86]="PRE",e[e.RB=87]="RB",e[e.RP=88]="RP",e[e.RT=89]="RT",e[e.RTC=90]="RTC",e[e.RUBY=91]="RUBY",e[e.S=92]="S",e[e.SCRIPT=93]="SCRIPT",e[e.SEARCH=94]="SEARCH",e[e.SECTION=95]="SECTION",e[e.SELECT=96]="SELECT",e[e.SOURCE=97]="SOURCE",e[e.SMALL=98]="SMALL",e[e.SPAN=99]="SPAN",e[e.STRIKE=100]="STRIKE",e[e.STRONG=101]="STRONG",e[e.STYLE=102]="STYLE",e[e.SUB=103]="SUB",e[e.SUMMARY=104]="SUMMARY",e[e.SUP=105]="SUP",e[e.TABLE=106]="TABLE",e[e.TBODY=107]="TBODY",e[e.TEMPLATE=108]="TEMPLATE",e[e.TEXTAREA=109]="TEXTAREA",e[e.TFOOT=110]="TFOOT",e[e.TD=111]="TD",e[e.TH=112]="TH",e[e.THEAD=113]="THEAD",e[e.TITLE=114]="TITLE",e[e.TR=115]="TR",e[e.TRACK=116]="TRACK",e[e.TT=117]="TT",e[e.U=118]="U",e[e.UL=119]="UL",e[e.SVG=120]="SVG",e[e.VAR=121]="VAR",e[e.WBR=122]="WBR",e[e.XMP=123]="XMP"})(o||(o={}));const Vm=new Map([[_.A,o.A],[_.ADDRESS,o.ADDRESS],[_.ANNOTATION_XML,o.ANNOTATION_XML],[_.APPLET,o.APPLET],[_.AREA,o.AREA],[_.ARTICLE,o.ARTICLE],[_.ASIDE,o.ASIDE],[_.B,o.B],[_.BASE,o.BASE],[_.BASEFONT,o.BASEFONT],[_.BGSOUND,o.BGSOUND],[_.BIG,o.BIG],[_.BLOCKQUOTE,o.BLOCKQUOTE],[_.BODY,o.BODY],[_.BR,o.BR],[_.BUTTON,o.BUTTON],[_.CAPTION,o.CAPTION],[_.CENTER,o.CENTER],[_.CODE,o.CODE],[_.COL,o.COL],[_.COLGROUP,o.COLGROUP],[_.DD,o.DD],[_.DESC,o.DESC],[_.DETAILS,o.DETAILS],[_.DIALOG,o.DIALOG],[_.DIR,o.DIR],[_.DIV,o.DIV],[_.DL,o.DL],[_.DT,o.DT],[_.EM,o.EM],[_.EMBED,o.EMBED],[_.FIELDSET,o.FIELDSET],[_.FIGCAPTION,o.FIGCAPTION],[_.FIGURE,o.FIGURE],[_.FONT,o.FONT],[_.FOOTER,o.FOOTER],[_.FOREIGN_OBJECT,o.FOREIGN_OBJECT],[_.FORM,o.FORM],[_.FRAME,o.FRAME],[_.FRAMESET,o.FRAMESET],[_.H1,o.H1],[_.H2,o.H2],[_.H3,o.H3],[_.H4,o.H4],[_.H5,o.H5],[_.H6,o.H6],[_.HEAD,o.HEAD],[_.HEADER,o.HEADER],[_.HGROUP,o.HGROUP],[_.HR,o.HR],[_.HTML,o.HTML],[_.I,o.I],[_.IMG,o.IMG],[_.IMAGE,o.IMAGE],[_.INPUT,o.INPUT],[_.IFRAME,o.IFRAME],[_.KEYGEN,o.KEYGEN],[_.LABEL,o.LABEL],[_.LI,o.LI],[_.LINK,o.LINK],[_.LISTING,o.LISTING],[_.MAIN,o.MAIN],[_.MALIGNMARK,o.MALIGNMARK],[_.MARQUEE,o.MARQUEE],[_.MATH,o.MATH],[_.MENU,o.MENU],[_.META,o.META],[_.MGLYPH,o.MGLYPH],[_.MI,o.MI],[_.MO,o.MO],[_.MN,o.MN],[_.MS,o.MS],[_.MTEXT,o.MTEXT],[_.NAV,o.NAV],[_.NOBR,o.NOBR],[_.NOFRAMES,o.NOFRAMES],[_.NOEMBED,o.NOEMBED],[_.NOSCRIPT,o.NOSCRIPT],[_.OBJECT,o.OBJECT],[_.OL,o.OL],[_.OPTGROUP,o.OPTGROUP],[_.OPTION,o.OPTION],[_.P,o.P],[_.PARAM,o.PARAM],[_.PLAINTEXT,o.PLAINTEXT],[_.PRE,o.PRE],[_.RB,o.RB],[_.RP,o.RP],[_.RT,o.RT],[_.RTC,o.RTC],[_.RUBY,o.RUBY],[_.S,o.S],[_.SCRIPT,o.SCRIPT],[_.SEARCH,o.SEARCH],[_.SECTION,o.SECTION],[_.SELECT,o.SELECT],[_.SOURCE,o.SOURCE],[_.SMALL,o.SMALL],[_.SPAN,o.SPAN],[_.STRIKE,o.STRIKE],[_.STRONG,o.STRONG],[_.STYLE,o.STYLE],[_.SUB,o.SUB],[_.SUMMARY,o.SUMMARY],[_.SUP,o.SUP],[_.TABLE,o.TABLE],[_.TBODY,o.TBODY],[_.TEMPLATE,o.TEMPLATE],[_.TEXTAREA,o.TEXTAREA],[_.TFOOT,o.TFOOT],[_.TD,o.TD],[_.TH,o.TH],[_.THEAD,o.THEAD],[_.TITLE,o.TITLE],[_.TR,o.TR],[_.TRACK,o.TRACK],[_.TT,o.TT],[_.U,o.U],[_.UL,o.UL],[_.SVG,o.SVG],[_.VAR,o.VAR],[_.WBR,o.WBR],[_.XMP,o.XMP]]);function Dt(e){var t;return(t=Vm.get(e))!==null&&t!==void 0?t:o.UNKNOWN}const D=o,Gm={[R.HTML]:new Set([D.ADDRESS,D.APPLET,D.AREA,D.ARTICLE,D.ASIDE,D.BASE,D.BASEFONT,D.BGSOUND,D.BLOCKQUOTE,D.BODY,D.BR,D.BUTTON,D.CAPTION,D.CENTER,D.COL,D.COLGROUP,D.DD,D.DETAILS,D.DIR,D.DIV,D.DL,D.DT,D.EMBED,D.FIELDSET,D.FIGCAPTION,D.FIGURE,D.FOOTER,D.FORM,D.FRAME,D.FRAMESET,D.H1,D.H2,D.H3,D.H4,D.H5,D.H6,D.HEAD,D.HEADER,D.HGROUP,D.HR,D.HTML,D.IFRAME,D.IMG,D.INPUT,D.LI,D.LINK,D.LISTING,D.MAIN,D.MARQUEE,D.MENU,D.META,D.NAV,D.NOEMBED,D.NOFRAMES,D.NOSCRIPT,D.OBJECT,D.OL,D.P,D.PARAM,D.PLAINTEXT,D.PRE,D.SCRIPT,D.SECTION,D.SELECT,D.SOURCE,D.STYLE,D.SUMMARY,D.TABLE,D.TBODY,D.TD,D.TEMPLATE,D.TEXTAREA,D.TFOOT,D.TH,D.THEAD,D.TITLE,D.TR,D.TRACK,D.UL,D.WBR,D.XMP]),[R.MATHML]:new Set([D.MI,D.MO,D.MN,D.MS,D.MTEXT,D.ANNOTATION_XML]),[R.SVG]:new Set([D.TITLE,D.FOREIGN_OBJECT,D.DESC]),[R.XLINK]:new Set,[R.XML]:new Set,[R.XMLNS]:new Set},kr=new Set([D.H1,D.H2,D.H3,D.H4,D.H5,D.H6]);_.STYLE,_.SCRIPT,_.XMP,_.IFRAME,_.NOEMBED,_.NOFRAMES,_.PLAINTEXT;var g;(function(e){e[e.DATA=0]="DATA",e[e.RCDATA=1]="RCDATA",e[e.RAWTEXT=2]="RAWTEXT",e[e.SCRIPT_DATA=3]="SCRIPT_DATA",e[e.PLAINTEXT=4]="PLAINTEXT",e[e.TAG_OPEN=5]="TAG_OPEN",e[e.END_TAG_OPEN=6]="END_TAG_OPEN",e[e.TAG_NAME=7]="TAG_NAME",e[e.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",e[e.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",e[e.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",e[e.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",e[e.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",e[e.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",e[e.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",e[e.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",e[e.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",e[e.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",e[e.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",e[e.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",e[e.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",e[e.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",e[e.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",e[e.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",e[e.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",e[e.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",e[e.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",e[e.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",e[e.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",e[e.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",e[e.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",e[e.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",e[e.BOGUS_COMMENT=40]="BOGUS_COMMENT",e[e.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",e[e.COMMENT_START=42]="COMMENT_START",e[e.COMMENT_START_DASH=43]="COMMENT_START_DASH",e[e.COMMENT=44]="COMMENT",e[e.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",e[e.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",e[e.COMMENT_END_DASH=49]="COMMENT_END_DASH",e[e.COMMENT_END=50]="COMMENT_END",e[e.COMMENT_END_BANG=51]="COMMENT_END_BANG",e[e.DOCTYPE=52]="DOCTYPE",e[e.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",e[e.DOCTYPE_NAME=54]="DOCTYPE_NAME",e[e.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",e[e.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",e[e.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",e[e.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",e[e.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",e[e.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",e[e.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",e[e.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",e[e.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",e[e.CDATA_SECTION=68]="CDATA_SECTION",e[e.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",e[e.CDATA_SECTION_END=70]="CDATA_SECTION_END",e[e.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",e[e.AMBIGUOUS_AMPERSAND=72]="AMBIGUOUS_AMPERSAND"})(g||(g={}));const he={DATA:g.DATA,RCDATA:g.RCDATA,RAWTEXT:g.RAWTEXT,SCRIPT_DATA:g.SCRIPT_DATA,PLAINTEXT:g.PLAINTEXT,CDATA_SECTION:g.CDATA_SECTION};function Qm(e){return e>=f.DIGIT_0&&e<=f.DIGIT_9}function qt(e){return e>=f.LATIN_CAPITAL_A&&e<=f.LATIN_CAPITAL_Z}function Xm(e){return e>=f.LATIN_SMALL_A&&e<=f.LATIN_SMALL_Z}function tt(e){return Xm(e)||qt(e)}function mi(e){return tt(e)||Qm(e)}function mn(e){return e+32}function co(e){return e===f.SPACE||e===f.LINE_FEED||e===f.TABULATION||e===f.FORM_FEED}function gi(e){return co(e)||e===f.SOLIDUS||e===f.GREATER_THAN_SIGN}function Km(e){return e===f.NULL?k.nullCharacterReference:e>1114111?k.characterReferenceOutsideUnicodeRange:ro(e)?k.surrogateCharacterReference:io(e)?k.noncharacterCharacterReference:ao(e)||e===f.CARRIAGE_RETURN?k.controlCharacterReference:null}class $m{constructor(t,n){this.options=t,this.handler=n,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=g.DATA,this.returnState=g.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new Mm(n),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new uo(oo,(r,a)=>{this.preprocessor.pos=this.entityStartPos+a-1,this._flushCodePointConsumedAsCharacterReference(r)},n.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(k.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:r=>{this._err(k.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+r)},validateNumericCharacterReference:r=>{const a=Km(r);a&&this._err(a,1)}}:void 0)}_err(t,n=0){var r,a;(a=(r=this.handler).onParseError)===null||a===void 0||a.call(r,this.preprocessor.getError(t,n))}getCurrentLocation(t){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-t,startOffset:this.preprocessor.offset-t,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;const t=this._consume();this._ensureHibernation()||this._callState(t)}this.inLoop=!1}}pause(){this.paused=!0}resume(t){if(!this.paused)throw new Error("Parser was already resumed");this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||t==null||t())}write(t,n,r){this.active=!0,this.preprocessor.write(t,n),this._runParsingLoop(),this.paused||r==null||r()}insertHtmlAtCurrentPos(t){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(t),this._runParsingLoop()}_ensureHibernation(){return this.preprocessor.endOfChunkHit?(this.preprocessor.retreat(this.consumedAfterSnapshot),this.consumedAfterSnapshot=0,this.active=!1,!0):!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_advanceBy(t){this.consumedAfterSnapshot+=t;for(let n=0;n<t;n++)this.preprocessor.advance()}_consumeSequenceIfMatch(t,n){return this.preprocessor.startsWith(t,n)?(this._advanceBy(t.length-1),!0):!1}_createStartTagToken(){this.currentToken={type:Q.START_TAG,tagName:"",tagID:o.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:Q.END_TAG,tagName:"",tagID:o.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(t){this.currentToken={type:Q.COMMENT,data:"",location:this.getCurrentLocation(t)}}_createDoctypeToken(t){this.currentToken={type:Q.DOCTYPE,name:t,forceQuirks:!1,publicId:null,systemId:null,location:this.currentLocation}}_createCharacterToken(t,n){this.currentCharacterToken={type:t,chars:n,location:this.currentLocation}}_createAttr(t){this.currentAttr={name:t,value:""},this.currentLocation=this.getCurrentLocation(0)}_leaveAttrName(){var t,n;const r=this.currentToken;if(so(r,this.currentAttr.name)===null){if(r.attrs.push(this.currentAttr),r.location&&this.currentLocation){const a=(t=(n=r.location).attrs)!==null&&t!==void 0?t:n.attrs=Object.create(null);a[this.currentAttr.name]=this.currentLocation,this._leaveAttrValue()}}else this._err(k.duplicateAttribute)}_leaveAttrValue(){this.currentLocation&&(this.currentLocation.endLine=this.preprocessor.line,this.currentLocation.endCol=this.preprocessor.col,this.currentLocation.endOffset=this.preprocessor.offset)}prepareToken(t){this._emitCurrentCharacterToken(t.location),this.currentToken=null,t.location&&(t.location.endLine=this.preprocessor.line,t.location.endCol=this.preprocessor.col+1,t.location.endOffset=this.preprocessor.offset+1),this.currentLocation=this.getCurrentLocation(-1)}emitCurrentTagToken(){const t=this.currentToken;this.prepareToken(t),t.tagID=Dt(t.tagName),t.type===Q.START_TAG?(this.lastStartTagName=t.tagName,this.handler.onStartTag(t)):(t.attrs.length>0&&this._err(k.endTagWithAttributes),t.selfClosing&&this._err(k.endTagWithTrailingSolidus),this.handler.onEndTag(t)),this.preprocessor.dropParsedChunk()}emitCurrentComment(t){this.prepareToken(t),this.handler.onComment(t),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(t){this.prepareToken(t),this.handler.onDoctype(t),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(t){if(this.currentCharacterToken){switch(t&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=t.startLine,this.currentCharacterToken.location.endCol=t.startCol,this.currentCharacterToken.location.endOffset=t.startOffset),this.currentCharacterToken.type){case Q.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case Q.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case Q.WHITESPACE_CHARACTER:{this.handler.onWhitespaceCharacter(this.currentCharacterToken);break}}this.currentCharacterToken=null}}_emitEOFToken(){const t=this.getCurrentLocation(0);t&&(t.endLine=t.startLine,t.endCol=t.startCol,t.endOffset=t.startOffset),this._emitCurrentCharacterToken(t),this.handler.onEof({type:Q.EOF,location:t}),this.active=!1}_appendCharToCurrentCharacterToken(t,n){if(this.currentCharacterToken)if(this.currentCharacterToken.type===t){this.currentCharacterToken.chars+=n;return}else this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();this._createCharacterToken(t,n)}_emitCodePoint(t){const n=co(t)?Q.WHITESPACE_CHARACTER:t===f.NULL?Q.NULL_CHARACTER:Q.CHARACTER;this._appendCharToCurrentCharacterToken(n,String.fromCodePoint(t))}_emitChars(t){this._appendCharToCurrentCharacterToken(Q.CHARACTER,t)}_startCharacterReference(){this.returnState=this.state,this.state=g.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?Xe.Attribute:Xe.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===g.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===g.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===g.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(t){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(t):this._emitCodePoint(t)}_callState(t){switch(this.state){case g.DATA:{this._stateData(t);break}case g.RCDATA:{this._stateRcdata(t);break}case g.RAWTEXT:{this._stateRawtext(t);break}case g.SCRIPT_DATA:{this._stateScriptData(t);break}case g.PLAINTEXT:{this._statePlaintext(t);break}case g.TAG_OPEN:{this._stateTagOpen(t);break}case g.END_TAG_OPEN:{this._stateEndTagOpen(t);break}case g.TAG_NAME:{this._stateTagName(t);break}case g.RCDATA_LESS_THAN_SIGN:{this._stateRcdataLessThanSign(t);break}case g.RCDATA_END_TAG_OPEN:{this._stateRcdataEndTagOpen(t);break}case g.RCDATA_END_TAG_NAME:{this._stateRcdataEndTagName(t);break}case g.RAWTEXT_LESS_THAN_SIGN:{this._stateRawtextLessThanSign(t);break}case g.RAWTEXT_END_TAG_OPEN:{this._stateRawtextEndTagOpen(t);break}case g.RAWTEXT_END_TAG_NAME:{this._stateRawtextEndTagName(t);break}case g.SCRIPT_DATA_LESS_THAN_SIGN:{this._stateScriptDataLessThanSign(t);break}case g.SCRIPT_DATA_END_TAG_OPEN:{this._stateScriptDataEndTagOpen(t);break}case g.SCRIPT_DATA_END_TAG_NAME:{this._stateScriptDataEndTagName(t);break}case g.SCRIPT_DATA_ESCAPE_START:{this._stateScriptDataEscapeStart(t);break}case g.SCRIPT_DATA_ESCAPE_START_DASH:{this._stateScriptDataEscapeStartDash(t);break}case g.SCRIPT_DATA_ESCAPED:{this._stateScriptDataEscaped(t);break}case g.SCRIPT_DATA_ESCAPED_DASH:{this._stateScriptDataEscapedDash(t);break}case g.SCRIPT_DATA_ESCAPED_DASH_DASH:{this._stateScriptDataEscapedDashDash(t);break}case g.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataEscapedLessThanSign(t);break}case g.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:{this._stateScriptDataEscapedEndTagOpen(t);break}case g.SCRIPT_DATA_ESCAPED_END_TAG_NAME:{this._stateScriptDataEscapedEndTagName(t);break}case g.SCRIPT_DATA_DOUBLE_ESCAPE_START:{this._stateScriptDataDoubleEscapeStart(t);break}case g.SCRIPT_DATA_DOUBLE_ESCAPED:{this._stateScriptDataDoubleEscaped(t);break}case g.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:{this._stateScriptDataDoubleEscapedDash(t);break}case g.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:{this._stateScriptDataDoubleEscapedDashDash(t);break}case g.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataDoubleEscapedLessThanSign(t);break}case g.SCRIPT_DATA_DOUBLE_ESCAPE_END:{this._stateScriptDataDoubleEscapeEnd(t);break}case g.BEFORE_ATTRIBUTE_NAME:{this._stateBeforeAttributeName(t);break}case g.ATTRIBUTE_NAME:{this._stateAttributeName(t);break}case g.AFTER_ATTRIBUTE_NAME:{this._stateAfterAttributeName(t);break}case g.BEFORE_ATTRIBUTE_VALUE:{this._stateBeforeAttributeValue(t);break}case g.ATTRIBUTE_VALUE_DOUBLE_QUOTED:{this._stateAttributeValueDoubleQuoted(t);break}case g.ATTRIBUTE_VALUE_SINGLE_QUOTED:{this._stateAttributeValueSingleQuoted(t);break}case g.ATTRIBUTE_VALUE_UNQUOTED:{this._stateAttributeValueUnquoted(t);break}case g.AFTER_ATTRIBUTE_VALUE_QUOTED:{this._stateAfterAttributeValueQuoted(t);break}case g.SELF_CLOSING_START_TAG:{this._stateSelfClosingStartTag(t);break}case g.BOGUS_COMMENT:{this._stateBogusComment(t);break}case g.MARKUP_DECLARATION_OPEN:{this._stateMarkupDeclarationOpen(t);break}case g.COMMENT_START:{this._stateCommentStart(t);break}case g.COMMENT_START_DASH:{this._stateCommentStartDash(t);break}case g.COMMENT:{this._stateComment(t);break}case g.COMMENT_LESS_THAN_SIGN:{this._stateCommentLessThanSign(t);break}case g.COMMENT_LESS_THAN_SIGN_BANG:{this._stateCommentLessThanSignBang(t);break}case g.COMMENT_LESS_THAN_SIGN_BANG_DASH:{this._stateCommentLessThanSignBangDash(t);break}case g.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:{this._stateCommentLessThanSignBangDashDash(t);break}case g.COMMENT_END_DASH:{this._stateCommentEndDash(t);break}case g.COMMENT_END:{this._stateCommentEnd(t);break}case g.COMMENT_END_BANG:{this._stateCommentEndBang(t);break}case g.DOCTYPE:{this._stateDoctype(t);break}case g.BEFORE_DOCTYPE_NAME:{this._stateBeforeDoctypeName(t);break}case g.DOCTYPE_NAME:{this._stateDoctypeName(t);break}case g.AFTER_DOCTYPE_NAME:{this._stateAfterDoctypeName(t);break}case g.AFTER_DOCTYPE_PUBLIC_KEYWORD:{this._stateAfterDoctypePublicKeyword(t);break}case g.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateBeforeDoctypePublicIdentifier(t);break}case g.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypePublicIdentifierDoubleQuoted(t);break}case g.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypePublicIdentifierSingleQuoted(t);break}case g.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateAfterDoctypePublicIdentifier(t);break}case g.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:{this._stateBetweenDoctypePublicAndSystemIdentifiers(t);break}case g.AFTER_DOCTYPE_SYSTEM_KEYWORD:{this._stateAfterDoctypeSystemKeyword(t);break}case g.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateBeforeDoctypeSystemIdentifier(t);break}case g.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypeSystemIdentifierDoubleQuoted(t);break}case g.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypeSystemIdentifierSingleQuoted(t);break}case g.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateAfterDoctypeSystemIdentifier(t);break}case g.BOGUS_DOCTYPE:{this._stateBogusDoctype(t);break}case g.CDATA_SECTION:{this._stateCdataSection(t);break}case g.CDATA_SECTION_BRACKET:{this._stateCdataSectionBracket(t);break}case g.CDATA_SECTION_END:{this._stateCdataSectionEnd(t);break}case g.CHARACTER_REFERENCE:{this._stateCharacterReference();break}case g.AMBIGUOUS_AMPERSAND:{this._stateAmbiguousAmpersand(t);break}default:throw new Error("Unknown state")}}_stateData(t){switch(t){case f.LESS_THAN_SIGN:{this.state=g.TAG_OPEN;break}case f.AMPERSAND:{this._startCharacterReference();break}case f.NULL:{this._err(k.unexpectedNullCharacter),this._emitCodePoint(t);break}case f.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRcdata(t){switch(t){case f.AMPERSAND:{this._startCharacterReference();break}case f.LESS_THAN_SIGN:{this.state=g.RCDATA_LESS_THAN_SIGN;break}case f.NULL:{this._err(k.unexpectedNullCharacter),this._emitChars(oe);break}case f.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRawtext(t){switch(t){case f.LESS_THAN_SIGN:{this.state=g.RAWTEXT_LESS_THAN_SIGN;break}case f.NULL:{this._err(k.unexpectedNullCharacter),this._emitChars(oe);break}case f.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptData(t){switch(t){case f.LESS_THAN_SIGN:{this.state=g.SCRIPT_DATA_LESS_THAN_SIGN;break}case f.NULL:{this._err(k.unexpectedNullCharacter),this._emitChars(oe);break}case f.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_statePlaintext(t){switch(t){case f.NULL:{this._err(k.unexpectedNullCharacter),this._emitChars(oe);break}case f.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateTagOpen(t){if(tt(t))this._createStartTagToken(),this.state=g.TAG_NAME,this._stateTagName(t);else switch(t){case f.EXCLAMATION_MARK:{this.state=g.MARKUP_DECLARATION_OPEN;break}case f.SOLIDUS:{this.state=g.END_TAG_OPEN;break}case f.QUESTION_MARK:{this._err(k.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=g.BOGUS_COMMENT,this._stateBogusComment(t);break}case f.EOF:{this._err(k.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}default:this._err(k.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=g.DATA,this._stateData(t)}}_stateEndTagOpen(t){if(tt(t))this._createEndTagToken(),this.state=g.TAG_NAME,this._stateTagName(t);else switch(t){case f.GREATER_THAN_SIGN:{this._err(k.missingEndTagName),this.state=g.DATA;break}case f.EOF:{this._err(k.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break}default:this._err(k.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=g.BOGUS_COMMENT,this._stateBogusComment(t)}}_stateTagName(t){const n=this.currentToken;switch(t){case f.SPACE:case f.LINE_FEED:case f.TABULATION:case f.FORM_FEED:{this.state=g.BEFORE_ATTRIBUTE_NAME;break}case f.SOLIDUS:{this.state=g.SELF_CLOSING_START_TAG;break}case f.GREATER_THAN_SIGN:{this.state=g.DATA,this.emitCurrentTagToken();break}case f.NULL:{this._err(k.unexpectedNullCharacter),n.tagName+=oe;break}case f.EOF:{this._err(k.eofInTag),this._emitEOFToken();break}default:n.tagName+=String.fromCodePoint(qt(t)?mn(t):t)}}_stateRcdataLessThanSign(t){t===f.SOLIDUS?this.state=g.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=g.RCDATA,this._stateRcdata(t))}_stateRcdataEndTagOpen(t){tt(t)?(this.state=g.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(t)):(this._emitChars("</"),this.state=g.RCDATA,this._stateRcdata(t))}handleSpecialEndTag(t){if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation();this._createEndTagToken();const n=this.currentToken;switch(n.tagName=this.lastStartTagName,this.preprocessor.peek(this.lastStartTagName.length)){case f.SPACE:case f.LINE_FEED:case f.TABULATION:case f.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=g.BEFORE_ATTRIBUTE_NAME,!1;case f.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=g.SELF_CLOSING_START_TAG,!1;case f.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=g.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=g.RCDATA,this._stateRcdata(t))}_stateRawtextLessThanSign(t){t===f.SOLIDUS?this.state=g.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=g.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagOpen(t){tt(t)?(this.state=g.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(t)):(this._emitChars("</"),this.state=g.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=g.RAWTEXT,this._stateRawtext(t))}_stateScriptDataLessThanSign(t){switch(t){case f.SOLIDUS:{this.state=g.SCRIPT_DATA_END_TAG_OPEN;break}case f.EXCLAMATION_MARK:{this.state=g.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break}default:this._emitChars("<"),this.state=g.SCRIPT_DATA,this._stateScriptData(t)}}_stateScriptDataEndTagOpen(t){tt(t)?(this.state=g.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(t)):(this._emitChars("</"),this.state=g.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=g.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStart(t){t===f.HYPHEN_MINUS?(this.state=g.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=g.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStartDash(t){t===f.HYPHEN_MINUS?(this.state=g.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-")):(this.state=g.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscaped(t){switch(t){case f.HYPHEN_MINUS:{this.state=g.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break}case f.LESS_THAN_SIGN:{this.state=g.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case f.NULL:{this._err(k.unexpectedNullCharacter),this._emitChars(oe);break}case f.EOF:{this._err(k.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataEscapedDash(t){switch(t){case f.HYPHEN_MINUS:{this.state=g.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break}case f.LESS_THAN_SIGN:{this.state=g.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case f.NULL:{this._err(k.unexpectedNullCharacter),this.state=g.SCRIPT_DATA_ESCAPED,this._emitChars(oe);break}case f.EOF:{this._err(k.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=g.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedDashDash(t){switch(t){case f.HYPHEN_MINUS:{this._emitChars("-");break}case f.LESS_THAN_SIGN:{this.state=g.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case f.GREATER_THAN_SIGN:{this.state=g.SCRIPT_DATA,this._emitChars(">");break}case f.NULL:{this._err(k.unexpectedNullCharacter),this.state=g.SCRIPT_DATA_ESCAPED,this._emitChars(oe);break}case f.EOF:{this._err(k.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=g.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedLessThanSign(t){t===f.SOLIDUS?this.state=g.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:tt(t)?(this._emitChars("<"),this.state=g.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(t)):(this._emitChars("<"),this.state=g.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagOpen(t){tt(t)?(this.state=g.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(t)):(this._emitChars("</"),this.state=g.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=g.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataDoubleEscapeStart(t){if(this.preprocessor.startsWith(Ne.SCRIPT,!1)&&gi(this.preprocessor.peek(Ne.SCRIPT.length))){this._emitCodePoint(t);for(let n=0;n<Ne.SCRIPT.length;n++)this._emitCodePoint(this._consume());this.state=g.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=g.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataDoubleEscaped(t){switch(t){case f.HYPHEN_MINUS:{this.state=g.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break}case f.LESS_THAN_SIGN:{this.state=g.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case f.NULL:{this._err(k.unexpectedNullCharacter),this._emitChars(oe);break}case f.EOF:{this._err(k.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDash(t){switch(t){case f.HYPHEN_MINUS:{this.state=g.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break}case f.LESS_THAN_SIGN:{this.state=g.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case f.NULL:{this._err(k.unexpectedNullCharacter),this.state=g.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(oe);break}case f.EOF:{this._err(k.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=g.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDashDash(t){switch(t){case f.HYPHEN_MINUS:{this._emitChars("-");break}case f.LESS_THAN_SIGN:{this.state=g.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case f.GREATER_THAN_SIGN:{this.state=g.SCRIPT_DATA,this._emitChars(">");break}case f.NULL:{this._err(k.unexpectedNullCharacter),this.state=g.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(oe);break}case f.EOF:{this._err(k.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=g.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedLessThanSign(t){t===f.SOLIDUS?(this.state=g.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=g.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateScriptDataDoubleEscapeEnd(t){if(this.preprocessor.startsWith(Ne.SCRIPT,!1)&&gi(this.preprocessor.peek(Ne.SCRIPT.length))){this._emitCodePoint(t);for(let n=0;n<Ne.SCRIPT.length;n++)this._emitCodePoint(this._consume());this.state=g.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=g.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateBeforeAttributeName(t){switch(t){case f.SPACE:case f.LINE_FEED:case f.TABULATION:case f.FORM_FEED:break;case f.SOLIDUS:case f.GREATER_THAN_SIGN:case f.EOF:{this.state=g.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case f.EQUALS_SIGN:{this._err(k.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=g.ATTRIBUTE_NAME;break}default:this._createAttr(""),this.state=g.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateAttributeName(t){switch(t){case f.SPACE:case f.LINE_FEED:case f.TABULATION:case f.FORM_FEED:case f.SOLIDUS:case f.GREATER_THAN_SIGN:case f.EOF:{this._leaveAttrName(),this.state=g.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case f.EQUALS_SIGN:{this._leaveAttrName(),this.state=g.BEFORE_ATTRIBUTE_VALUE;break}case f.QUOTATION_MARK:case f.APOSTROPHE:case f.LESS_THAN_SIGN:{this._err(k.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(t);break}case f.NULL:{this._err(k.unexpectedNullCharacter),this.currentAttr.name+=oe;break}default:this.currentAttr.name+=String.fromCodePoint(qt(t)?mn(t):t)}}_stateAfterAttributeName(t){switch(t){case f.SPACE:case f.LINE_FEED:case f.TABULATION:case f.FORM_FEED:break;case f.SOLIDUS:{this.state=g.SELF_CLOSING_START_TAG;break}case f.EQUALS_SIGN:{this.state=g.BEFORE_ATTRIBUTE_VALUE;break}case f.GREATER_THAN_SIGN:{this.state=g.DATA,this.emitCurrentTagToken();break}case f.EOF:{this._err(k.eofInTag),this._emitEOFToken();break}default:this._createAttr(""),this.state=g.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateBeforeAttributeValue(t){switch(t){case f.SPACE:case f.LINE_FEED:case f.TABULATION:case f.FORM_FEED:break;case f.QUOTATION_MARK:{this.state=g.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break}case f.APOSTROPHE:{this.state=g.ATTRIBUTE_VALUE_SINGLE_QUOTED;break}case f.GREATER_THAN_SIGN:{this._err(k.missingAttributeValue),this.state=g.DATA,this.emitCurrentTagToken();break}default:this.state=g.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(t)}}_stateAttributeValueDoubleQuoted(t){switch(t){case f.QUOTATION_MARK:{this.state=g.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case f.AMPERSAND:{this._startCharacterReference();break}case f.NULL:{this._err(k.unexpectedNullCharacter),this.currentAttr.value+=oe;break}case f.EOF:{this._err(k.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueSingleQuoted(t){switch(t){case f.APOSTROPHE:{this.state=g.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case f.AMPERSAND:{this._startCharacterReference();break}case f.NULL:{this._err(k.unexpectedNullCharacter),this.currentAttr.value+=oe;break}case f.EOF:{this._err(k.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueUnquoted(t){switch(t){case f.SPACE:case f.LINE_FEED:case f.TABULATION:case f.FORM_FEED:{this._leaveAttrValue(),this.state=g.BEFORE_ATTRIBUTE_NAME;break}case f.AMPERSAND:{this._startCharacterReference();break}case f.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=g.DATA,this.emitCurrentTagToken();break}case f.NULL:{this._err(k.unexpectedNullCharacter),this.currentAttr.value+=oe;break}case f.QUOTATION_MARK:case f.APOSTROPHE:case f.LESS_THAN_SIGN:case f.EQUALS_SIGN:case f.GRAVE_ACCENT:{this._err(k.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(t);break}case f.EOF:{this._err(k.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAfterAttributeValueQuoted(t){switch(t){case f.SPACE:case f.LINE_FEED:case f.TABULATION:case f.FORM_FEED:{this._leaveAttrValue(),this.state=g.BEFORE_ATTRIBUTE_NAME;break}case f.SOLIDUS:{this._leaveAttrValue(),this.state=g.SELF_CLOSING_START_TAG;break}case f.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=g.DATA,this.emitCurrentTagToken();break}case f.EOF:{this._err(k.eofInTag),this._emitEOFToken();break}default:this._err(k.missingWhitespaceBetweenAttributes),this.state=g.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateSelfClosingStartTag(t){switch(t){case f.GREATER_THAN_SIGN:{const n=this.currentToken;n.selfClosing=!0,this.state=g.DATA,this.emitCurrentTagToken();break}case f.EOF:{this._err(k.eofInTag),this._emitEOFToken();break}default:this._err(k.unexpectedSolidusInTag),this.state=g.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateBogusComment(t){const n=this.currentToken;switch(t){case f.GREATER_THAN_SIGN:{this.state=g.DATA,this.emitCurrentComment(n);break}case f.EOF:{this.emitCurrentComment(n),this._emitEOFToken();break}case f.NULL:{this._err(k.unexpectedNullCharacter),n.data+=oe;break}default:n.data+=String.fromCodePoint(t)}}_stateMarkupDeclarationOpen(t){this._consumeSequenceIfMatch(Ne.DASH_DASH,!0)?(this._createCommentToken(Ne.DASH_DASH.length+1),this.state=g.COMMENT_START):this._consumeSequenceIfMatch(Ne.DOCTYPE,!1)?(this.currentLocation=this.getCurrentLocation(Ne.DOCTYPE.length+1),this.state=g.DOCTYPE):this._consumeSequenceIfMatch(Ne.CDATA_START,!0)?this.inForeignNode?this.state=g.CDATA_SECTION:(this._err(k.cdataInHtmlContent),this._createCommentToken(Ne.CDATA_START.length+1),this.currentToken.data="[CDATA[",this.state=g.BOGUS_COMMENT):this._ensureHibernation()||(this._err(k.incorrectlyOpenedComment),this._createCommentToken(2),this.state=g.BOGUS_COMMENT,this._stateBogusComment(t))}_stateCommentStart(t){switch(t){case f.HYPHEN_MINUS:{this.state=g.COMMENT_START_DASH;break}case f.GREATER_THAN_SIGN:{this._err(k.abruptClosingOfEmptyComment),this.state=g.DATA;const n=this.currentToken;this.emitCurrentComment(n);break}default:this.state=g.COMMENT,this._stateComment(t)}}_stateCommentStartDash(t){const n=this.currentToken;switch(t){case f.HYPHEN_MINUS:{this.state=g.COMMENT_END;break}case f.GREATER_THAN_SIGN:{this._err(k.abruptClosingOfEmptyComment),this.state=g.DATA,this.emitCurrentComment(n);break}case f.EOF:{this._err(k.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="-",this.state=g.COMMENT,this._stateComment(t)}}_stateComment(t){const n=this.currentToken;switch(t){case f.HYPHEN_MINUS:{this.state=g.COMMENT_END_DASH;break}case f.LESS_THAN_SIGN:{n.data+="<",this.state=g.COMMENT_LESS_THAN_SIGN;break}case f.NULL:{this._err(k.unexpectedNullCharacter),n.data+=oe;break}case f.EOF:{this._err(k.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+=String.fromCodePoint(t)}}_stateCommentLessThanSign(t){const n=this.currentToken;switch(t){case f.EXCLAMATION_MARK:{n.data+="!",this.state=g.COMMENT_LESS_THAN_SIGN_BANG;break}case f.LESS_THAN_SIGN:{n.data+="<";break}default:this.state=g.COMMENT,this._stateComment(t)}}_stateCommentLessThanSignBang(t){t===f.HYPHEN_MINUS?this.state=g.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=g.COMMENT,this._stateComment(t))}_stateCommentLessThanSignBangDash(t){t===f.HYPHEN_MINUS?this.state=g.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=g.COMMENT_END_DASH,this._stateCommentEndDash(t))}_stateCommentLessThanSignBangDashDash(t){t!==f.GREATER_THAN_SIGN&&t!==f.EOF&&this._err(k.nestedComment),this.state=g.COMMENT_END,this._stateCommentEnd(t)}_stateCommentEndDash(t){const n=this.currentToken;switch(t){case f.HYPHEN_MINUS:{this.state=g.COMMENT_END;break}case f.EOF:{this._err(k.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="-",this.state=g.COMMENT,this._stateComment(t)}}_stateCommentEnd(t){const n=this.currentToken;switch(t){case f.GREATER_THAN_SIGN:{this.state=g.DATA,this.emitCurrentComment(n);break}case f.EXCLAMATION_MARK:{this.state=g.COMMENT_END_BANG;break}case f.HYPHEN_MINUS:{n.data+="-";break}case f.EOF:{this._err(k.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="--",this.state=g.COMMENT,this._stateComment(t)}}_stateCommentEndBang(t){const n=this.currentToken;switch(t){case f.HYPHEN_MINUS:{n.data+="--!",this.state=g.COMMENT_END_DASH;break}case f.GREATER_THAN_SIGN:{this._err(k.incorrectlyClosedComment),this.state=g.DATA,this.emitCurrentComment(n);break}case f.EOF:{this._err(k.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="--!",this.state=g.COMMENT,this._stateComment(t)}}_stateDoctype(t){switch(t){case f.SPACE:case f.LINE_FEED:case f.TABULATION:case f.FORM_FEED:{this.state=g.BEFORE_DOCTYPE_NAME;break}case f.GREATER_THAN_SIGN:{this.state=g.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t);break}case f.EOF:{this._err(k.eofInDoctype),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(k.missingWhitespaceBeforeDoctypeName),this.state=g.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t)}}_stateBeforeDoctypeName(t){if(qt(t))this._createDoctypeToken(String.fromCharCode(mn(t))),this.state=g.DOCTYPE_NAME;else switch(t){case f.SPACE:case f.LINE_FEED:case f.TABULATION:case f.FORM_FEED:break;case f.NULL:{this._err(k.unexpectedNullCharacter),this._createDoctypeToken(oe),this.state=g.DOCTYPE_NAME;break}case f.GREATER_THAN_SIGN:{this._err(k.missingDoctypeName),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=g.DATA;break}case f.EOF:{this._err(k.eofInDoctype),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._createDoctypeToken(String.fromCodePoint(t)),this.state=g.DOCTYPE_NAME}}_stateDoctypeName(t){const n=this.currentToken;switch(t){case f.SPACE:case f.LINE_FEED:case f.TABULATION:case f.FORM_FEED:{this.state=g.AFTER_DOCTYPE_NAME;break}case f.GREATER_THAN_SIGN:{this.state=g.DATA,this.emitCurrentDoctype(n);break}case f.NULL:{this._err(k.unexpectedNullCharacter),n.name+=oe;break}case f.EOF:{this._err(k.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.name+=String.fromCodePoint(qt(t)?mn(t):t)}}_stateAfterDoctypeName(t){const n=this.currentToken;switch(t){case f.SPACE:case f.LINE_FEED:case f.TABULATION:case f.FORM_FEED:break;case f.GREATER_THAN_SIGN:{this.state=g.DATA,this.emitCurrentDoctype(n);break}case f.EOF:{this._err(k.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._consumeSequenceIfMatch(Ne.PUBLIC,!1)?this.state=g.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch(Ne.SYSTEM,!1)?this.state=g.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(k.invalidCharacterSequenceAfterDoctypeName),n.forceQuirks=!0,this.state=g.BOGUS_DOCTYPE,this._stateBogusDoctype(t))}}_stateAfterDoctypePublicKeyword(t){const n=this.currentToken;switch(t){case f.SPACE:case f.LINE_FEED:case f.TABULATION:case f.FORM_FEED:{this.state=g.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break}case f.QUOTATION_MARK:{this._err(k.missingWhitespaceAfterDoctypePublicKeyword),n.publicId="",this.state=g.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case f.APOSTROPHE:{this._err(k.missingWhitespaceAfterDoctypePublicKeyword),n.publicId="",this.state=g.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case f.GREATER_THAN_SIGN:{this._err(k.missingDoctypePublicIdentifier),n.forceQuirks=!0,this.state=g.DATA,this.emitCurrentDoctype(n);break}case f.EOF:{this._err(k.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(k.missingQuoteBeforeDoctypePublicIdentifier),n.forceQuirks=!0,this.state=g.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypePublicIdentifier(t){const n=this.currentToken;switch(t){case f.SPACE:case f.LINE_FEED:case f.TABULATION:case f.FORM_FEED:break;case f.QUOTATION_MARK:{n.publicId="",this.state=g.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case f.APOSTROPHE:{n.publicId="",this.state=g.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case f.GREATER_THAN_SIGN:{this._err(k.missingDoctypePublicIdentifier),n.forceQuirks=!0,this.state=g.DATA,this.emitCurrentDoctype(n);break}case f.EOF:{this._err(k.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(k.missingQuoteBeforeDoctypePublicIdentifier),n.forceQuirks=!0,this.state=g.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypePublicIdentifierDoubleQuoted(t){const n=this.currentToken;switch(t){case f.QUOTATION_MARK:{this.state=g.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case f.NULL:{this._err(k.unexpectedNullCharacter),n.publicId+=oe;break}case f.GREATER_THAN_SIGN:{this._err(k.abruptDoctypePublicIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=g.DATA;break}case f.EOF:{this._err(k.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.publicId+=String.fromCodePoint(t)}}_stateDoctypePublicIdentifierSingleQuoted(t){const n=this.currentToken;switch(t){case f.APOSTROPHE:{this.state=g.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case f.NULL:{this._err(k.unexpectedNullCharacter),n.publicId+=oe;break}case f.GREATER_THAN_SIGN:{this._err(k.abruptDoctypePublicIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=g.DATA;break}case f.EOF:{this._err(k.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.publicId+=String.fromCodePoint(t)}}_stateAfterDoctypePublicIdentifier(t){const n=this.currentToken;switch(t){case f.SPACE:case f.LINE_FEED:case f.TABULATION:case f.FORM_FEED:{this.state=g.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break}case f.GREATER_THAN_SIGN:{this.state=g.DATA,this.emitCurrentDoctype(n);break}case f.QUOTATION_MARK:{this._err(k.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),n.systemId="",this.state=g.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case f.APOSTROPHE:{this._err(k.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),n.systemId="",this.state=g.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case f.EOF:{this._err(k.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(k.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=g.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBetweenDoctypePublicAndSystemIdentifiers(t){const n=this.currentToken;switch(t){case f.SPACE:case f.LINE_FEED:case f.TABULATION:case f.FORM_FEED:break;case f.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=g.DATA;break}case f.QUOTATION_MARK:{n.systemId="",this.state=g.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case f.APOSTROPHE:{n.systemId="",this.state=g.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case f.EOF:{this._err(k.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(k.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=g.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateAfterDoctypeSystemKeyword(t){const n=this.currentToken;switch(t){case f.SPACE:case f.LINE_FEED:case f.TABULATION:case f.FORM_FEED:{this.state=g.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break}case f.QUOTATION_MARK:{this._err(k.missingWhitespaceAfterDoctypeSystemKeyword),n.systemId="",this.state=g.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case f.APOSTROPHE:{this._err(k.missingWhitespaceAfterDoctypeSystemKeyword),n.systemId="",this.state=g.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case f.GREATER_THAN_SIGN:{this._err(k.missingDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=g.DATA,this.emitCurrentDoctype(n);break}case f.EOF:{this._err(k.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(k.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=g.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypeSystemIdentifier(t){const n=this.currentToken;switch(t){case f.SPACE:case f.LINE_FEED:case f.TABULATION:case f.FORM_FEED:break;case f.QUOTATION_MARK:{n.systemId="",this.state=g.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case f.APOSTROPHE:{n.systemId="",this.state=g.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case f.GREATER_THAN_SIGN:{this._err(k.missingDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=g.DATA,this.emitCurrentDoctype(n);break}case f.EOF:{this._err(k.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(k.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=g.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypeSystemIdentifierDoubleQuoted(t){const n=this.currentToken;switch(t){case f.QUOTATION_MARK:{this.state=g.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case f.NULL:{this._err(k.unexpectedNullCharacter),n.systemId+=oe;break}case f.GREATER_THAN_SIGN:{this._err(k.abruptDoctypeSystemIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=g.DATA;break}case f.EOF:{this._err(k.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.systemId+=String.fromCodePoint(t)}}_stateDoctypeSystemIdentifierSingleQuoted(t){const n=this.currentToken;switch(t){case f.APOSTROPHE:{this.state=g.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case f.NULL:{this._err(k.unexpectedNullCharacter),n.systemId+=oe;break}case f.GREATER_THAN_SIGN:{this._err(k.abruptDoctypeSystemIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=g.DATA;break}case f.EOF:{this._err(k.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.systemId+=String.fromCodePoint(t)}}_stateAfterDoctypeSystemIdentifier(t){const n=this.currentToken;switch(t){case f.SPACE:case f.LINE_FEED:case f.TABULATION:case f.FORM_FEED:break;case f.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=g.DATA;break}case f.EOF:{this._err(k.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(k.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=g.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBogusDoctype(t){const n=this.currentToken;switch(t){case f.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=g.DATA;break}case f.NULL:{this._err(k.unexpectedNullCharacter);break}case f.EOF:{this.emitCurrentDoctype(n),this._emitEOFToken();break}}}_stateCdataSection(t){switch(t){case f.RIGHT_SQUARE_BRACKET:{this.state=g.CDATA_SECTION_BRACKET;break}case f.EOF:{this._err(k.eofInCdata),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateCdataSectionBracket(t){t===f.RIGHT_SQUARE_BRACKET?this.state=g.CDATA_SECTION_END:(this._emitChars("]"),this.state=g.CDATA_SECTION,this._stateCdataSection(t))}_stateCdataSectionEnd(t){switch(t){case f.GREATER_THAN_SIGN:{this.state=g.DATA;break}case f.RIGHT_SQUARE_BRACKET:{this._emitChars("]");break}default:this._emitChars("]]"),this.state=g.CDATA_SECTION,this._stateCdataSection(t)}}_stateCharacterReference(){let t=this.entityDecoder.write(this.preprocessor.html,this.preprocessor.pos);if(t<0)if(this.preprocessor.lastChunkWritten)t=this.entityDecoder.end();else{this.active=!1,this.preprocessor.pos=this.preprocessor.html.length-1,this.consumedAfterSnapshot=0,this.preprocessor.endOfChunkHit=!0;return}t===0?(this.preprocessor.pos=this.entityStartPos,this._flushCodePointConsumedAsCharacterReference(f.AMPERSAND),this.state=!this._isCharacterReferenceInAttribute()&&mi(this.preprocessor.peek(1))?g.AMBIGUOUS_AMPERSAND:this.returnState):this.state=this.returnState}_stateAmbiguousAmpersand(t){mi(t)?this._flushCodePointConsumedAsCharacterReference(t):(t===f.SEMICOLON&&this._err(k.unknownNamedCharacterReference),this.state=this.returnState,this._callState(t))}}const ho=new Set([o.DD,o.DT,o.LI,o.OPTGROUP,o.OPTION,o.P,o.RB,o.RP,o.RT,o.RTC]),bi=new Set([...ho,o.CAPTION,o.COLGROUP,o.TBODY,o.TD,o.TFOOT,o.TH,o.THEAD,o.TR]),kn=new Set([o.APPLET,o.CAPTION,o.HTML,o.MARQUEE,o.OBJECT,o.TABLE,o.TD,o.TEMPLATE,o.TH]),Jm=new Set([...kn,o.OL,o.UL]),Zm=new Set([...kn,o.BUTTON]),Ei=new Set([o.ANNOTATION_XML,o.MI,o.MN,o.MO,o.MS,o.MTEXT]),xi=new Set([o.DESC,o.FOREIGN_OBJECT,o.TITLE]),eg=new Set([o.TR,o.TEMPLATE,o.HTML]),tg=new Set([o.TBODY,o.TFOOT,o.THEAD,o.TEMPLATE,o.HTML]),ng=new Set([o.TABLE,o.TEMPLATE,o.HTML]),rg=new Set([o.TD,o.TH]);class ag{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(t,n,r){this.treeAdapter=n,this.handler=r,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=o.UNKNOWN,this.current=t}_indexOf(t){return this.items.lastIndexOf(t,this.stackTop)}_isInTemplate(){return this.currentTagId===o.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===R.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(t,n){this.stackTop++,this.items[this.stackTop]=t,this.current=t,this.tagIDs[this.stackTop]=n,this.currentTagId=n,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(t,n,!0)}pop(){const t=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,!0)}replace(t,n){const r=this._indexOf(t);this.items[r]=n,r===this.stackTop&&(this.current=n)}insertAfter(t,n,r){const a=this._indexOf(t)+1;this.items.splice(a,0,n),this.tagIDs.splice(a,0,r),this.stackTop++,a===this.stackTop&&this._updateCurrentElement(),this.handler.onItemPush(this.current,this.currentTagId,a===this.stackTop)}popUntilTagNamePopped(t){let n=this.stackTop+1;do n=this.tagIDs.lastIndexOf(t,n-1);while(n>0&&this.treeAdapter.getNamespaceURI(this.items[n])!==R.HTML);this.shortenToLength(n<0?0:n)}shortenToLength(t){for(;this.stackTop>=t;){const n=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(n,this.stackTop<t)}}popUntilElementPopped(t){const n=this._indexOf(t);this.shortenToLength(n<0?0:n)}popUntilPopped(t,n){const r=this._indexOfTagNames(t,n);this.shortenToLength(r<0?0:r)}popUntilNumberedHeaderPopped(){this.popUntilPopped(kr,R.HTML)}popUntilTableCellPopped(){this.popUntilPopped(rg,R.HTML)}popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}_indexOfTagNames(t,n){for(let r=this.stackTop;r>=0;r--)if(t.has(this.tagIDs[r])&&this.treeAdapter.getNamespaceURI(this.items[r])===n)return r;return-1}clearBackTo(t,n){const r=this._indexOfTagNames(t,n);this.shortenToLength(r+1)}clearBackToTableContext(){this.clearBackTo(ng,R.HTML)}clearBackToTableBodyContext(){this.clearBackTo(tg,R.HTML)}clearBackToTableRowContext(){this.clearBackTo(eg,R.HTML)}remove(t){const n=this._indexOf(t);n>=0&&(n===this.stackTop?this.pop():(this.items.splice(n,1),this.tagIDs.splice(n,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===o.BODY?this.items[1]:null}contains(t){return this._indexOf(t)>-1}getCommonAncestor(t){const n=this._indexOf(t)-1;return n>=0?this.items[n]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.tagIDs[0]===o.HTML}hasInDynamicScope(t,n){for(let r=this.stackTop;r>=0;r--){const a=this.tagIDs[r];switch(this.treeAdapter.getNamespaceURI(this.items[r])){case R.HTML:{if(a===t)return!0;if(n.has(a))return!1;break}case R.SVG:{if(xi.has(a))return!1;break}case R.MATHML:{if(Ei.has(a))return!1;break}}}return!0}hasInScope(t){return this.hasInDynamicScope(t,kn)}hasInListItemScope(t){return this.hasInDynamicScope(t,Jm)}hasInButtonScope(t){return this.hasInDynamicScope(t,Zm)}hasNumberedHeaderInScope(){for(let t=this.stackTop;t>=0;t--){const n=this.tagIDs[t];switch(this.treeAdapter.getNamespaceURI(this.items[t])){case R.HTML:{if(kr.has(n))return!0;if(kn.has(n))return!1;break}case R.SVG:{if(xi.has(n))return!1;break}case R.MATHML:{if(Ei.has(n))return!1;break}}}return!0}hasInTableScope(t){for(let n=this.stackTop;n>=0;n--)if(this.treeAdapter.getNamespaceURI(this.items[n])===R.HTML)switch(this.tagIDs[n]){case t:return!0;case o.TABLE:case o.HTML:return!1}return!0}hasTableBodyContextInTableScope(){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===R.HTML)switch(this.tagIDs[t]){case o.TBODY:case o.THEAD:case o.TFOOT:return!0;case o.TABLE:case o.HTML:return!1}return!0}hasInSelectScope(t){for(let n=this.stackTop;n>=0;n--)if(this.treeAdapter.getNamespaceURI(this.items[n])===R.HTML)switch(this.tagIDs[n]){case t:return!0;case o.OPTION:case o.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;ho.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;bi.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(t){for(;this.currentTagId!==t&&bi.has(this.currentTagId);)this.pop()}}const lr=3;var je;(function(e){e[e.Marker=0]="Marker",e[e.Element=1]="Element"})(je||(je={}));const wi={type:je.Marker};class ig{constructor(t){this.treeAdapter=t,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(t,n){const r=[],a=n.length,i=this.treeAdapter.getTagName(t),s=this.treeAdapter.getNamespaceURI(t);for(let u=0;u<this.entries.length;u++){const l=this.entries[u];if(l.type===je.Marker)break;const{element:c}=l;if(this.treeAdapter.getTagName(c)===i&&this.treeAdapter.getNamespaceURI(c)===s){const d=this.treeAdapter.getAttrList(c);d.length===a&&r.push({idx:u,attrs:d})}}return r}_ensureNoahArkCondition(t){if(this.entries.length<lr)return;const n=this.treeAdapter.getAttrList(t),r=this._getNoahArkConditionCandidates(t,n);if(r.length<lr)return;const a=new Map(n.map(s=>[s.name,s.value]));let i=0;for(let s=0;s<r.length;s++){const u=r[s];u.attrs.every(l=>a.get(l.name)===l.value)&&(i+=1,i>=lr&&this.entries.splice(u.idx,1))}}insertMarker(){this.entries.unshift(wi)}pushElement(t,n){this._ensureNoahArkCondition(t),this.entries.unshift({type:je.Element,element:t,token:n})}insertElementAfterBookmark(t,n){const r=this.entries.indexOf(this.bookmark);this.entries.splice(r,0,{type:je.Element,element:t,token:n})}removeEntry(t){const n=this.entries.indexOf(t);n>=0&&this.entries.splice(n,1)}clearToLastMarker(){const t=this.entries.indexOf(wi);t>=0?this.entries.splice(0,t+1):this.entries.length=0}getElementEntryInScopeWithTagName(t){const n=this.entries.find(r=>r.type===je.Marker||this.treeAdapter.getTagName(r.element)===t);return n&&n.type===je.Element?n:null}getElementEntry(t){return this.entries.find(n=>n.type===je.Element&&n.element===t)}}const nt={createDocument(){return{nodeName:"#document",mode:De.NO_QUIRKS,childNodes:[]}},createDocumentFragment(){return{nodeName:"#document-fragment",childNodes:[]}},createElement(e,t,n){return{nodeName:e,tagName:e,attrs:n,namespaceURI:t,childNodes:[],parentNode:null}},createCommentNode(e){return{nodeName:"#comment",data:e,parentNode:null}},createTextNode(e){return{nodeName:"#text",value:e,parentNode:null}},appendChild(e,t){e.childNodes.push(t),t.parentNode=e},insertBefore(e,t,n){const r=e.childNodes.indexOf(n);e.childNodes.splice(r,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent(e){return e.content},setDocumentType(e,t,n,r){const a=e.childNodes.find(i=>i.nodeName==="#documentType");if(a)a.name=t,a.publicId=n,a.systemId=r;else{const i={nodeName:"#documentType",name:t,publicId:n,systemId:r,parentNode:null};nt.appendChild(e,i)}},setDocumentMode(e,t){e.mode=t},getDocumentMode(e){return e.mode},detachNode(e){if(e.parentNode){const t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},insertText(e,t){if(e.childNodes.length>0){const n=e.childNodes[e.childNodes.length-1];if(nt.isTextNode(n)){n.value+=t;return}}nt.appendChild(e,nt.createTextNode(t))},insertTextBefore(e,t,n){const r=e.childNodes[e.childNodes.indexOf(n)-1];r&&nt.isTextNode(r)?r.value+=t:nt.insertBefore(e,nt.createTextNode(t),n)},adoptAttributes(e,t){const n=new Set(e.attrs.map(r=>r.name));for(let r=0;r<t.length;r++)n.has(t[r].name)||e.attrs.push(t[r])},getFirstChild(e){return e.childNodes[0]},getChildNodes(e){return e.childNodes},getParentNode(e){return e.parentNode},getAttrList(e){return e.attrs},getTagName(e){return e.tagName},getNamespaceURI(e){return e.namespaceURI},getTextNodeContent(e){return e.value},getCommentNodeContent(e){return e.data},getDocumentTypeNodeName(e){return e.name},getDocumentTypeNodePublicId(e){return e.publicId},getDocumentTypeNodeSystemId(e){return e.systemId},isTextNode(e){return e.nodeName==="#text"},isCommentNode(e){return e.nodeName==="#comment"},isDocumentTypeNode(e){return e.nodeName==="#documentType"},isElementNode(e){return Object.prototype.hasOwnProperty.call(e,"tagName")},setNodeSourceCodeLocation(e,t){e.sourceCodeLocation=t},getNodeSourceCodeLocation(e){return e.sourceCodeLocation},updateNodeSourceCodeLocation(e,t){e.sourceCodeLocation={...e.sourceCodeLocation,...t}}},po="html",sg="about:legacy-compat",og="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",fo=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],ug=[...fo,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],lg=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),mo=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],cg=[...mo,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function Ti(e,t){return t.some(n=>e.startsWith(n))}function dg(e){return e.name===po&&e.publicId===null&&(e.systemId===null||e.systemId===sg)}function hg(e){if(e.name!==po)return De.QUIRKS;const{systemId:t}=e;if(t&&t.toLowerCase()===og)return De.QUIRKS;let{publicId:n}=e;if(n!==null){if(n=n.toLowerCase(),lg.has(n))return De.QUIRKS;let r=t===null?ug:fo;if(Ti(n,r))return De.QUIRKS;if(r=t===null?mo:cg,Ti(n,r))return De.LIMITED_QUIRKS}return De.NO_QUIRKS}const yi={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},pg="definitionurl",fg="definitionURL",mg=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(e=>[e.toLowerCase(),e])),gg=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:R.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:R.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:R.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:R.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:R.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:R.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:R.XLINK}],["xml:lang",{prefix:"xml",name:"lang",namespace:R.XML}],["xml:space",{prefix:"xml",name:"space",namespace:R.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:R.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:R.XMLNS}]]),bg=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(e=>[e.toLowerCase(),e])),Eg=new Set([o.B,o.BIG,o.BLOCKQUOTE,o.BODY,o.BR,o.CENTER,o.CODE,o.DD,o.DIV,o.DL,o.DT,o.EM,o.EMBED,o.H1,o.H2,o.H3,o.H4,o.H5,o.H6,o.HEAD,o.HR,o.I,o.IMG,o.LI,o.LISTING,o.MENU,o.META,o.NOBR,o.OL,o.P,o.PRE,o.RUBY,o.S,o.SMALL,o.SPAN,o.STRONG,o.STRIKE,o.SUB,o.SUP,o.TABLE,o.TT,o.U,o.UL,o.VAR]);function xg(e){const t=e.tagID;return t===o.FONT&&e.attrs.some(({name:r})=>r===ht.COLOR||r===ht.SIZE||r===ht.FACE)||Eg.has(t)}function go(e){for(let t=0;t<e.attrs.length;t++)if(e.attrs[t].name===pg){e.attrs[t].name=fg;break}}function bo(e){for(let t=0;t<e.attrs.length;t++){const n=mg.get(e.attrs[t].name);n!=null&&(e.attrs[t].name=n)}}function $r(e){for(let t=0;t<e.attrs.length;t++){const n=gg.get(e.attrs[t].name);n&&(e.attrs[t].prefix=n.prefix,e.attrs[t].name=n.name,e.attrs[t].namespace=n.namespace)}}function wg(e){const t=bg.get(e.tagName);t!=null&&(e.tagName=t,e.tagID=Dt(e.tagName))}function Tg(e,t){return t===R.MATHML&&(e===o.MI||e===o.MO||e===o.MN||e===o.MS||e===o.MTEXT)}function yg(e,t,n){if(t===R.MATHML&&e===o.ANNOTATION_XML){for(let r=0;r<n.length;r++)if(n[r].name===ht.ENCODING){const a=n[r].value.toLowerCase();return a===yi.TEXT_HTML||a===yi.APPLICATION_XML}}return t===R.SVG&&(e===o.FOREIGN_OBJECT||e===o.DESC||e===o.TITLE)}function _g(e,t,n,r){return(!r||r===R.HTML)&&yg(e,t,n)||(!r||r===R.MATHML)&&Tg(e,t)}const Ag="hidden",Cg=8,kg=3;var x;(function(e){e[e.INITIAL=0]="INITIAL",e[e.BEFORE_HTML=1]="BEFORE_HTML",e[e.BEFORE_HEAD=2]="BEFORE_HEAD",e[e.IN_HEAD=3]="IN_HEAD",e[e.IN_HEAD_NO_SCRIPT=4]="IN_HEAD_NO_SCRIPT",e[e.AFTER_HEAD=5]="AFTER_HEAD",e[e.IN_BODY=6]="IN_BODY",e[e.TEXT=7]="TEXT",e[e.IN_TABLE=8]="IN_TABLE",e[e.IN_TABLE_TEXT=9]="IN_TABLE_TEXT",e[e.IN_CAPTION=10]="IN_CAPTION",e[e.IN_COLUMN_GROUP=11]="IN_COLUMN_GROUP",e[e.IN_TABLE_BODY=12]="IN_TABLE_BODY",e[e.IN_ROW=13]="IN_ROW",e[e.IN_CELL=14]="IN_CELL",e[e.IN_SELECT=15]="IN_SELECT",e[e.IN_SELECT_IN_TABLE=16]="IN_SELECT_IN_TABLE",e[e.IN_TEMPLATE=17]="IN_TEMPLATE",e[e.AFTER_BODY=18]="AFTER_BODY",e[e.IN_FRAMESET=19]="IN_FRAMESET",e[e.AFTER_FRAMESET=20]="AFTER_FRAMESET",e[e.AFTER_AFTER_BODY=21]="AFTER_AFTER_BODY",e[e.AFTER_AFTER_FRAMESET=22]="AFTER_AFTER_FRAMESET"})(x||(x={}));const Ng={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},Eo=new Set([o.TABLE,o.TBODY,o.TFOOT,o.THEAD,o.TR]),_i={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:nt,onParseError:null};class Ai{constructor(t,n,r=null,a=null){this.fragmentContext=r,this.scriptHandler=a,this.currentToken=null,this.stopped=!1,this.insertionMode=x.INITIAL,this.originalInsertionMode=x.INITIAL,this.headElement=null,this.formElement=null,this.currentNotInHTML=!1,this.tmplInsertionModeStack=[],this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1,this.options={..._i,...t},this.treeAdapter=this.options.treeAdapter,this.onParseError=this.options.onParseError,this.onParseError&&(this.options.sourceCodeLocationInfo=!0),this.document=n??this.treeAdapter.createDocument(),this.tokenizer=new $m(this.options,this),this.activeFormattingElements=new ig(this.treeAdapter),this.fragmentContextID=r?Dt(this.treeAdapter.getTagName(r)):o.UNKNOWN,this._setContextModes(r??this.document,this.fragmentContextID),this.openElements=new ag(this.document,this.treeAdapter,this)}static parse(t,n){const r=new this(n);return r.tokenizer.write(t,!0),r.document}static getFragmentParser(t,n){const r={..._i,...n};t??(t=r.treeAdapter.createElement(_.TEMPLATE,R.HTML,[]));const a=r.treeAdapter.createElement("documentmock",R.HTML,[]),i=new this(r,a,t);return i.fragmentContextID===o.TEMPLATE&&i.tmplInsertionModeStack.unshift(x.IN_TEMPLATE),i._initTokenizerForFragmentParsing(),i._insertFakeRootElement(),i._resetInsertionMode(),i._findFormInFragmentContext(),i}getFragment(){const t=this.treeAdapter.getFirstChild(this.document),n=this.treeAdapter.createDocumentFragment();return this._adoptNodes(t,n),n}_err(t,n,r){var a;if(!this.onParseError)return;const i=(a=t.location)!==null&&a!==void 0?a:Ng,s={code:n,startLine:i.startLine,startCol:i.startCol,startOffset:i.startOffset,endLine:r?i.startLine:i.endLine,endCol:r?i.startCol:i.endCol,endOffset:r?i.startOffset:i.endOffset};this.onParseError(s)}onItemPush(t,n,r){var a,i;(i=(a=this.treeAdapter).onItemPush)===null||i===void 0||i.call(a,t),r&&this.openElements.stackTop>0&&this._setContextModes(t,n)}onItemPop(t,n){var r,a;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(t,this.currentToken),(a=(r=this.treeAdapter).onItemPop)===null||a===void 0||a.call(r,t,this.openElements.current),n){let i,s;this.openElements.stackTop===0&&this.fragmentContext?(i=this.fragmentContext,s=this.fragmentContextID):{current:i,currentTagId:s}=this.openElements,this._setContextModes(i,s)}}_setContextModes(t,n){const r=t===this.document||this.treeAdapter.getNamespaceURI(t)===R.HTML;this.currentNotInHTML=!r,this.tokenizer.inForeignNode=!r&&!this._isIntegrationPoint(n,t)}_switchToTextParsing(t,n){this._insertElement(t,R.HTML),this.tokenizer.state=n,this.originalInsertionMode=this.insertionMode,this.insertionMode=x.TEXT}switchToPlaintextParsing(){this.insertionMode=x.TEXT,this.originalInsertionMode=x.IN_BODY,this.tokenizer.state=he.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let t=this.fragmentContext;for(;t;){if(this.treeAdapter.getTagName(t)===_.FORM){this.formElement=t;break}t=this.treeAdapter.getParentNode(t)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==R.HTML))switch(this.fragmentContextID){case o.TITLE:case o.TEXTAREA:{this.tokenizer.state=he.RCDATA;break}case o.STYLE:case o.XMP:case o.IFRAME:case o.NOEMBED:case o.NOFRAMES:case o.NOSCRIPT:{this.tokenizer.state=he.RAWTEXT;break}case o.SCRIPT:{this.tokenizer.state=he.SCRIPT_DATA;break}case o.PLAINTEXT:{this.tokenizer.state=he.PLAINTEXT;break}}}_setDocumentType(t){const n=t.name||"",r=t.publicId||"",a=t.systemId||"";if(this.treeAdapter.setDocumentType(this.document,n,r,a),t.location){const s=this.treeAdapter.getChildNodes(this.document).find(u=>this.treeAdapter.isDocumentTypeNode(u));s&&this.treeAdapter.setNodeSourceCodeLocation(s,t.location)}}_attachElementToTree(t,n){if(this.options.sourceCodeLocationInfo){const r=n&&{...n,startTag:n};this.treeAdapter.setNodeSourceCodeLocation(t,r)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(t);else{const r=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(r,t)}}_appendElement(t,n){const r=this.treeAdapter.createElement(t.tagName,n,t.attrs);this._attachElementToTree(r,t.location)}_insertElement(t,n){const r=this.treeAdapter.createElement(t.tagName,n,t.attrs);this._attachElementToTree(r,t.location),this.openElements.push(r,t.tagID)}_insertFakeElement(t,n){const r=this.treeAdapter.createElement(t,R.HTML,[]);this._attachElementToTree(r,null),this.openElements.push(r,n)}_insertTemplate(t){const n=this.treeAdapter.createElement(t.tagName,R.HTML,t.attrs),r=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(n,r),this._attachElementToTree(n,t.location),this.openElements.push(n,t.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,null)}_insertFakeRootElement(){const t=this.treeAdapter.createElement(_.HTML,R.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(t,null),this.treeAdapter.appendChild(this.openElements.current,t),this.openElements.push(t,o.HTML)}_appendCommentNode(t,n){const r=this.treeAdapter.createCommentNode(t.data);this.treeAdapter.appendChild(n,r),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,t.location)}_insertCharacters(t){let n,r;if(this._shouldFosterParentOnInsertion()?({parent:n,beforeElement:r}=this._findFosterParentingLocation(),r?this.treeAdapter.insertTextBefore(n,t.chars,r):this.treeAdapter.insertText(n,t.chars)):(n=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(n,t.chars)),!t.location)return;const a=this.treeAdapter.getChildNodes(n),i=r?a.lastIndexOf(r):a.length,s=a[i-1];if(this.treeAdapter.getNodeSourceCodeLocation(s)){const{endLine:l,endCol:c,endOffset:d}=t.location;this.treeAdapter.updateNodeSourceCodeLocation(s,{endLine:l,endCol:c,endOffset:d})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(s,t.location)}_adoptNodes(t,n){for(let r=this.treeAdapter.getFirstChild(t);r;r=this.treeAdapter.getFirstChild(t))this.treeAdapter.detachNode(r),this.treeAdapter.appendChild(n,r)}_setEndLocation(t,n){if(this.treeAdapter.getNodeSourceCodeLocation(t)&&n.location){const r=n.location,a=this.treeAdapter.getTagName(t),i=n.type===Q.END_TAG&&a===n.tagName?{endTag:{...r},endLine:r.endLine,endCol:r.endCol,endOffset:r.endOffset}:{endLine:r.startLine,endCol:r.startCol,endOffset:r.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(t,i)}}shouldProcessStartTagTokenInForeignContent(t){if(!this.currentNotInHTML)return!1;let n,r;return this.openElements.stackTop===0&&this.fragmentContext?(n=this.fragmentContext,r=this.fragmentContextID):{current:n,currentTagId:r}=this.openElements,t.tagID===o.SVG&&this.treeAdapter.getTagName(n)===_.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(n)===R.MATHML?!1:this.tokenizer.inForeignNode||(t.tagID===o.MGLYPH||t.tagID===o.MALIGNMARK)&&!this._isIntegrationPoint(r,n,R.HTML)}_processToken(t){switch(t.type){case Q.CHARACTER:{this.onCharacter(t);break}case Q.NULL_CHARACTER:{this.onNullCharacter(t);break}case Q.COMMENT:{this.onComment(t);break}case Q.DOCTYPE:{this.onDoctype(t);break}case Q.START_TAG:{this._processStartTag(t);break}case Q.END_TAG:{this.onEndTag(t);break}case Q.EOF:{this.onEof(t);break}case Q.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(t);break}}}_isIntegrationPoint(t,n,r){const a=this.treeAdapter.getNamespaceURI(n),i=this.treeAdapter.getAttrList(n);return _g(t,a,i,r)}_reconstructActiveFormattingElements(){const t=this.activeFormattingElements.entries.length;if(t){const n=this.activeFormattingElements.entries.findIndex(a=>a.type===je.Marker||this.openElements.contains(a.element)),r=n<0?t-1:n-1;for(let a=r;a>=0;a--){const i=this.activeFormattingElements.entries[a];this._insertElement(i.token,this.treeAdapter.getNamespaceURI(i.element)),i.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=x.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(o.P),this.openElements.popUntilTagNamePopped(o.P)}_resetInsertionMode(){for(let t=this.openElements.stackTop;t>=0;t--)switch(t===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[t]){case o.TR:{this.insertionMode=x.IN_ROW;return}case o.TBODY:case o.THEAD:case o.TFOOT:{this.insertionMode=x.IN_TABLE_BODY;return}case o.CAPTION:{this.insertionMode=x.IN_CAPTION;return}case o.COLGROUP:{this.insertionMode=x.IN_COLUMN_GROUP;return}case o.TABLE:{this.insertionMode=x.IN_TABLE;return}case o.BODY:{this.insertionMode=x.IN_BODY;return}case o.FRAMESET:{this.insertionMode=x.IN_FRAMESET;return}case o.SELECT:{this._resetInsertionModeForSelect(t);return}case o.TEMPLATE:{this.insertionMode=this.tmplInsertionModeStack[0];return}case o.HTML:{this.insertionMode=this.headElement?x.AFTER_HEAD:x.BEFORE_HEAD;return}case o.TD:case o.TH:{if(t>0){this.insertionMode=x.IN_CELL;return}break}case o.HEAD:{if(t>0){this.insertionMode=x.IN_HEAD;return}break}}this.insertionMode=x.IN_BODY}_resetInsertionModeForSelect(t){if(t>0)for(let n=t-1;n>0;n--){const r=this.openElements.tagIDs[n];if(r===o.TEMPLATE)break;if(r===o.TABLE){this.insertionMode=x.IN_SELECT_IN_TABLE;return}}this.insertionMode=x.IN_SELECT}_isElementCausesFosterParenting(t){return Eo.has(t)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let t=this.openElements.stackTop;t>=0;t--){const n=this.openElements.items[t];switch(this.openElements.tagIDs[t]){case o.TEMPLATE:{if(this.treeAdapter.getNamespaceURI(n)===R.HTML)return{parent:this.treeAdapter.getTemplateContent(n),beforeElement:null};break}case o.TABLE:{const r=this.treeAdapter.getParentNode(n);return r?{parent:r,beforeElement:n}:{parent:this.openElements.items[t-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(t){const n=this._findFosterParentingLocation();n.beforeElement?this.treeAdapter.insertBefore(n.parent,t,n.beforeElement):this.treeAdapter.appendChild(n.parent,t)}_isSpecialElement(t,n){const r=this.treeAdapter.getNamespaceURI(t);return Gm[r].has(n)}onCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){rb(this,t);return}switch(this.insertionMode){case x.INITIAL:{jt(this,t);break}case x.BEFORE_HTML:{Gt(this,t);break}case x.BEFORE_HEAD:{Qt(this,t);break}case x.IN_HEAD:{Xt(this,t);break}case x.IN_HEAD_NO_SCRIPT:{Kt(this,t);break}case x.AFTER_HEAD:{$t(this,t);break}case x.IN_BODY:case x.IN_CAPTION:case x.IN_CELL:case x.IN_TEMPLATE:{wo(this,t);break}case x.TEXT:case x.IN_SELECT:case x.IN_SELECT_IN_TABLE:{this._insertCharacters(t);break}case x.IN_TABLE:case x.IN_TABLE_BODY:case x.IN_ROW:{cr(this,t);break}case x.IN_TABLE_TEXT:{ko(this,t);break}case x.IN_COLUMN_GROUP:{Nn(this,t);break}case x.AFTER_BODY:{In(this,t);break}case x.AFTER_AFTER_BODY:{xn(this,t);break}}}onNullCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){nb(this,t);return}switch(this.insertionMode){case x.INITIAL:{jt(this,t);break}case x.BEFORE_HTML:{Gt(this,t);break}case x.BEFORE_HEAD:{Qt(this,t);break}case x.IN_HEAD:{Xt(this,t);break}case x.IN_HEAD_NO_SCRIPT:{Kt(this,t);break}case x.AFTER_HEAD:{$t(this,t);break}case x.TEXT:{this._insertCharacters(t);break}case x.IN_TABLE:case x.IN_TABLE_BODY:case x.IN_ROW:{cr(this,t);break}case x.IN_COLUMN_GROUP:{Nn(this,t);break}case x.AFTER_BODY:{In(this,t);break}case x.AFTER_AFTER_BODY:{xn(this,t);break}}}onComment(t){if(this.skipNextNewLine=!1,this.currentNotInHTML){Nr(this,t);return}switch(this.insertionMode){case x.INITIAL:case x.BEFORE_HTML:case x.BEFORE_HEAD:case x.IN_HEAD:case x.IN_HEAD_NO_SCRIPT:case x.AFTER_HEAD:case x.IN_BODY:case x.IN_TABLE:case x.IN_CAPTION:case x.IN_COLUMN_GROUP:case x.IN_TABLE_BODY:case x.IN_ROW:case x.IN_CELL:case x.IN_SELECT:case x.IN_SELECT_IN_TABLE:case x.IN_TEMPLATE:case x.IN_FRAMESET:case x.AFTER_FRAMESET:{Nr(this,t);break}case x.IN_TABLE_TEXT:{Yt(this,t);break}case x.AFTER_BODY:{vg(this,t);break}case x.AFTER_AFTER_BODY:case x.AFTER_AFTER_FRAMESET:{Pg(this,t);break}}}onDoctype(t){switch(this.skipNextNewLine=!1,this.insertionMode){case x.INITIAL:{Mg(this,t);break}case x.BEFORE_HEAD:case x.IN_HEAD:case x.IN_HEAD_NO_SCRIPT:case x.AFTER_HEAD:{this._err(t,k.misplacedDoctype);break}case x.IN_TABLE_TEXT:{Yt(this,t);break}}}onStartTag(t){this.skipNextNewLine=!1,this.currentToken=t,this._processStartTag(t),t.selfClosing&&!t.ackSelfClosing&&this._err(t,k.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(t){this.shouldProcessStartTagTokenInForeignContent(t)?ab(this,t):this._startTagOutsideForeignContent(t)}_startTagOutsideForeignContent(t){switch(this.insertionMode){case x.INITIAL:{jt(this,t);break}case x.BEFORE_HTML:{Bg(this,t);break}case x.BEFORE_HEAD:{Hg(this,t);break}case x.IN_HEAD:{Ue(this,t);break}case x.IN_HEAD_NO_SCRIPT:{jg(this,t);break}case x.AFTER_HEAD:{qg(this,t);break}case x.IN_BODY:{_e(this,t);break}case x.IN_TABLE:{Ct(this,t);break}case x.IN_TABLE_TEXT:{Yt(this,t);break}case x.IN_CAPTION:{U1(this,t);break}case x.IN_COLUMN_GROUP:{ea(this,t);break}case x.IN_TABLE_BODY:{Un(this,t);break}case x.IN_ROW:{zn(this,t);break}case x.IN_CELL:{Y1(this,t);break}case x.IN_SELECT:{So(this,t);break}case x.IN_SELECT_IN_TABLE:{W1(this,t);break}case x.IN_TEMPLATE:{G1(this,t);break}case x.AFTER_BODY:{X1(this,t);break}case x.IN_FRAMESET:{K1(this,t);break}case x.AFTER_FRAMESET:{J1(this,t);break}case x.AFTER_AFTER_BODY:{eb(this,t);break}case x.AFTER_AFTER_FRAMESET:{tb(this,t);break}}}onEndTag(t){this.skipNextNewLine=!1,this.currentToken=t,this.currentNotInHTML?ib(this,t):this._endTagOutsideForeignContent(t)}_endTagOutsideForeignContent(t){switch(this.insertionMode){case x.INITIAL:{jt(this,t);break}case x.BEFORE_HTML:{Fg(this,t);break}case x.BEFORE_HEAD:{Ug(this,t);break}case x.IN_HEAD:{zg(this,t);break}case x.IN_HEAD_NO_SCRIPT:{Yg(this,t);break}case x.AFTER_HEAD:{Wg(this,t);break}case x.IN_BODY:{Hn(this,t);break}case x.TEXT:{O1(this,t);break}case x.IN_TABLE:{en(this,t);break}case x.IN_TABLE_TEXT:{Yt(this,t);break}case x.IN_CAPTION:{z1(this,t);break}case x.IN_COLUMN_GROUP:{j1(this,t);break}case x.IN_TABLE_BODY:{Ir(this,t);break}case x.IN_ROW:{Io(this,t);break}case x.IN_CELL:{q1(this,t);break}case x.IN_SELECT:{Oo(this,t);break}case x.IN_SELECT_IN_TABLE:{V1(this,t);break}case x.IN_TEMPLATE:{Q1(this,t);break}case x.AFTER_BODY:{Ro(this,t);break}case x.IN_FRAMESET:{$1(this,t);break}case x.AFTER_FRAMESET:{Z1(this,t);break}case x.AFTER_AFTER_BODY:{xn(this,t);break}}}onEof(t){switch(this.insertionMode){case x.INITIAL:{jt(this,t);break}case x.BEFORE_HTML:{Gt(this,t);break}case x.BEFORE_HEAD:{Qt(this,t);break}case x.IN_HEAD:{Xt(this,t);break}case x.IN_HEAD_NO_SCRIPT:{Kt(this,t);break}case x.AFTER_HEAD:{$t(this,t);break}case x.IN_BODY:case x.IN_TABLE:case x.IN_CAPTION:case x.IN_COLUMN_GROUP:case x.IN_TABLE_BODY:case x.IN_ROW:case x.IN_CELL:case x.IN_SELECT:case x.IN_SELECT_IN_TABLE:{Ao(this,t);break}case x.TEXT:{L1(this,t);break}case x.IN_TABLE_TEXT:{Yt(this,t);break}case x.IN_TEMPLATE:{Lo(this,t);break}case x.AFTER_BODY:case x.IN_FRAMESET:case x.AFTER_FRAMESET:case x.AFTER_AFTER_BODY:case x.AFTER_AFTER_FRAMESET:{Zr(this,t);break}}}onWhitespaceCharacter(t){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,t.chars.charCodeAt(0)===f.LINE_FEED)){if(t.chars.length===1)return;t.chars=t.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(t);return}switch(this.insertionMode){case x.IN_HEAD:case x.IN_HEAD_NO_SCRIPT:case x.AFTER_HEAD:case x.TEXT:case x.IN_COLUMN_GROUP:case x.IN_SELECT:case x.IN_SELECT_IN_TABLE:case x.IN_FRAMESET:case x.AFTER_FRAMESET:{this._insertCharacters(t);break}case x.IN_BODY:case x.IN_CAPTION:case x.IN_CELL:case x.IN_TEMPLATE:case x.AFTER_BODY:case x.AFTER_AFTER_BODY:case x.AFTER_AFTER_FRAMESET:{xo(this,t);break}case x.IN_TABLE:case x.IN_TABLE_BODY:case x.IN_ROW:{cr(this,t);break}case x.IN_TABLE_TEXT:{Co(this,t);break}}}}function Ig(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return n?e.openElements.contains(n.element)?e.openElements.hasInScope(t.tagID)||(n=null):(e.activeFormattingElements.removeEntry(n),n=null):_o(e,t),n}function Sg(e,t){let n=null,r=e.openElements.stackTop;for(;r>=0;r--){const a=e.openElements.items[r];if(a===t.element)break;e._isSpecialElement(a,e.openElements.tagIDs[r])&&(n=a)}return n||(e.openElements.shortenToLength(r<0?0:r),e.activeFormattingElements.removeEntry(t)),n}function Og(e,t,n){let r=t,a=e.openElements.getCommonAncestor(t);for(let i=0,s=a;s!==n;i++,s=a){a=e.openElements.getCommonAncestor(s);const u=e.activeFormattingElements.getElementEntry(s),l=u&&i>=kg;!u||l?(l&&e.activeFormattingElements.removeEntry(u),e.openElements.remove(s)):(s=Lg(e,u),r===t&&(e.activeFormattingElements.bookmark=u),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(s,r),r=s)}return r}function Lg(e,t){const n=e.treeAdapter.getNamespaceURI(t.element),r=e.treeAdapter.createElement(t.token.tagName,n,t.token.attrs);return e.openElements.replace(t.element,r),t.element=r,r}function Rg(e,t,n){const r=e.treeAdapter.getTagName(t),a=Dt(r);if(e._isElementCausesFosterParenting(a))e._fosterParentElement(n);else{const i=e.treeAdapter.getNamespaceURI(t);a===o.TEMPLATE&&i===R.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}function Dg(e,t,n){const r=e.treeAdapter.getNamespaceURI(n.element),{token:a}=n,i=e.treeAdapter.createElement(a.tagName,r,a.attrs);e._adoptNodes(t,i),e.treeAdapter.appendChild(t,i),e.activeFormattingElements.insertElementAfterBookmark(i,a),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,i,a.tagID)}function Jr(e,t){for(let n=0;n<Cg;n++){const r=Ig(e,t);if(!r)break;const a=Sg(e,r);if(!a)break;e.activeFormattingElements.bookmark=r;const i=Og(e,a,r.element),s=e.openElements.getCommonAncestor(r.element);e.treeAdapter.detachNode(i),s&&Rg(e,s,i),Dg(e,a,r)}}function Nr(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function vg(e,t){e._appendCommentNode(t,e.openElements.items[0])}function Pg(e,t){e._appendCommentNode(t,e.document)}function Zr(e,t){if(e.stopped=!0,t.location){const n=e.fragmentContext?0:2;for(let r=e.openElements.stackTop;r>=n;r--)e._setEndLocation(e.openElements.items[r],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){const r=e.openElements.items[0],a=e.treeAdapter.getNodeSourceCodeLocation(r);if(a&&!a.endTag&&(e._setEndLocation(r,t),e.openElements.stackTop>=1)){const i=e.openElements.items[1],s=e.treeAdapter.getNodeSourceCodeLocation(i);s&&!s.endTag&&e._setEndLocation(i,t)}}}}function Mg(e,t){e._setDocumentType(t);const n=t.forceQuirks?De.QUIRKS:hg(t);dg(t)||e._err(t,k.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=x.BEFORE_HTML}function jt(e,t){e._err(t,k.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,De.QUIRKS),e.insertionMode=x.BEFORE_HTML,e._processToken(t)}function Bg(e,t){t.tagID===o.HTML?(e._insertElement(t,R.HTML),e.insertionMode=x.BEFORE_HEAD):Gt(e,t)}function Fg(e,t){const n=t.tagID;(n===o.HTML||n===o.HEAD||n===o.BODY||n===o.BR)&&Gt(e,t)}function Gt(e,t){e._insertFakeRootElement(),e.insertionMode=x.BEFORE_HEAD,e._processToken(t)}function Hg(e,t){switch(t.tagID){case o.HTML:{_e(e,t);break}case o.HEAD:{e._insertElement(t,R.HTML),e.headElement=e.openElements.current,e.insertionMode=x.IN_HEAD;break}default:Qt(e,t)}}function Ug(e,t){const n=t.tagID;n===o.HEAD||n===o.BODY||n===o.HTML||n===o.BR?Qt(e,t):e._err(t,k.endTagWithoutMatchingOpenElement)}function Qt(e,t){e._insertFakeElement(_.HEAD,o.HEAD),e.headElement=e.openElements.current,e.insertionMode=x.IN_HEAD,e._processToken(t)}function Ue(e,t){switch(t.tagID){case o.HTML:{_e(e,t);break}case o.BASE:case o.BASEFONT:case o.BGSOUND:case o.LINK:case o.META:{e._appendElement(t,R.HTML),t.ackSelfClosing=!0;break}case o.TITLE:{e._switchToTextParsing(t,he.RCDATA);break}case o.NOSCRIPT:{e.options.scriptingEnabled?e._switchToTextParsing(t,he.RAWTEXT):(e._insertElement(t,R.HTML),e.insertionMode=x.IN_HEAD_NO_SCRIPT);break}case o.NOFRAMES:case o.STYLE:{e._switchToTextParsing(t,he.RAWTEXT);break}case o.SCRIPT:{e._switchToTextParsing(t,he.SCRIPT_DATA);break}case o.TEMPLATE:{e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=x.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(x.IN_TEMPLATE);break}case o.HEAD:{e._err(t,k.misplacedStartTagForHeadElement);break}default:Xt(e,t)}}function zg(e,t){switch(t.tagID){case o.HEAD:{e.openElements.pop(),e.insertionMode=x.AFTER_HEAD;break}case o.BODY:case o.BR:case o.HTML:{Xt(e,t);break}case o.TEMPLATE:{mt(e,t);break}default:e._err(t,k.endTagWithoutMatchingOpenElement)}}function mt(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==o.TEMPLATE&&e._err(t,k.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(o.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,k.endTagWithoutMatchingOpenElement)}function Xt(e,t){e.openElements.pop(),e.insertionMode=x.AFTER_HEAD,e._processToken(t)}function jg(e,t){switch(t.tagID){case o.HTML:{_e(e,t);break}case o.BASEFONT:case o.BGSOUND:case o.HEAD:case o.LINK:case o.META:case o.NOFRAMES:case o.STYLE:{Ue(e,t);break}case o.NOSCRIPT:{e._err(t,k.nestedNoscriptInHead);break}default:Kt(e,t)}}function Yg(e,t){switch(t.tagID){case o.NOSCRIPT:{e.openElements.pop(),e.insertionMode=x.IN_HEAD;break}case o.BR:{Kt(e,t);break}default:e._err(t,k.endTagWithoutMatchingOpenElement)}}function Kt(e,t){const n=t.type===Q.EOF?k.openElementsLeftAfterEof:k.disallowedContentInNoscriptInHead;e._err(t,n),e.openElements.pop(),e.insertionMode=x.IN_HEAD,e._processToken(t)}function qg(e,t){switch(t.tagID){case o.HTML:{_e(e,t);break}case o.BODY:{e._insertElement(t,R.HTML),e.framesetOk=!1,e.insertionMode=x.IN_BODY;break}case o.FRAMESET:{e._insertElement(t,R.HTML),e.insertionMode=x.IN_FRAMESET;break}case o.BASE:case o.BASEFONT:case o.BGSOUND:case o.LINK:case o.META:case o.NOFRAMES:case o.SCRIPT:case o.STYLE:case o.TEMPLATE:case o.TITLE:{e._err(t,k.abandonedHeadElementChild),e.openElements.push(e.headElement,o.HEAD),Ue(e,t),e.openElements.remove(e.headElement);break}case o.HEAD:{e._err(t,k.misplacedStartTagForHeadElement);break}default:$t(e,t)}}function Wg(e,t){switch(t.tagID){case o.BODY:case o.HTML:case o.BR:{$t(e,t);break}case o.TEMPLATE:{mt(e,t);break}default:e._err(t,k.endTagWithoutMatchingOpenElement)}}function $t(e,t){e._insertFakeElement(_.BODY,o.BODY),e.insertionMode=x.IN_BODY,Fn(e,t)}function Fn(e,t){switch(t.type){case Q.CHARACTER:{wo(e,t);break}case Q.WHITESPACE_CHARACTER:{xo(e,t);break}case Q.COMMENT:{Nr(e,t);break}case Q.START_TAG:{_e(e,t);break}case Q.END_TAG:{Hn(e,t);break}case Q.EOF:{Ao(e,t);break}}}function xo(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function wo(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function Vg(e,t){e.openElements.tmplCount===0&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}function Gg(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e.openElements.tmplCount===0&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}function Qg(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,R.HTML),e.insertionMode=x.IN_FRAMESET)}function Xg(e,t){e.openElements.hasInButtonScope(o.P)&&e._closePElement(),e._insertElement(t,R.HTML)}function Kg(e,t){e.openElements.hasInButtonScope(o.P)&&e._closePElement(),kr.has(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,R.HTML)}function $g(e,t){e.openElements.hasInButtonScope(o.P)&&e._closePElement(),e._insertElement(t,R.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}function Jg(e,t){const n=e.openElements.tmplCount>0;(!e.formElement||n)&&(e.openElements.hasInButtonScope(o.P)&&e._closePElement(),e._insertElement(t,R.HTML),n||(e.formElement=e.openElements.current))}function Zg(e,t){e.framesetOk=!1;const n=t.tagID;for(let r=e.openElements.stackTop;r>=0;r--){const a=e.openElements.tagIDs[r];if(n===o.LI&&a===o.LI||(n===o.DD||n===o.DT)&&(a===o.DD||a===o.DT)){e.openElements.generateImpliedEndTagsWithExclusion(a),e.openElements.popUntilTagNamePopped(a);break}if(a!==o.ADDRESS&&a!==o.DIV&&a!==o.P&&e._isSpecialElement(e.openElements.items[r],a))break}e.openElements.hasInButtonScope(o.P)&&e._closePElement(),e._insertElement(t,R.HTML)}function e1(e,t){e.openElements.hasInButtonScope(o.P)&&e._closePElement(),e._insertElement(t,R.HTML),e.tokenizer.state=he.PLAINTEXT}function t1(e,t){e.openElements.hasInScope(o.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(o.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,R.HTML),e.framesetOk=!1}function n1(e,t){const n=e.activeFormattingElements.getElementEntryInScopeWithTagName(_.A);n&&(Jr(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,R.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function r1(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,R.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function a1(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(o.NOBR)&&(Jr(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,R.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function i1(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,R.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function s1(e,t){e.treeAdapter.getDocumentMode(e.document)!==De.QUIRKS&&e.openElements.hasInButtonScope(o.P)&&e._closePElement(),e._insertElement(t,R.HTML),e.framesetOk=!1,e.insertionMode=x.IN_TABLE}function To(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,R.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function yo(e){const t=so(e,ht.TYPE);return t!=null&&t.toLowerCase()===Ag}function o1(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,R.HTML),yo(t)||(e.framesetOk=!1),t.ackSelfClosing=!0}function u1(e,t){e._appendElement(t,R.HTML),t.ackSelfClosing=!0}function l1(e,t){e.openElements.hasInButtonScope(o.P)&&e._closePElement(),e._appendElement(t,R.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function c1(e,t){t.tagName=_.IMG,t.tagID=o.IMG,To(e,t)}function d1(e,t){e._insertElement(t,R.HTML),e.skipNextNewLine=!0,e.tokenizer.state=he.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=x.TEXT}function h1(e,t){e.openElements.hasInButtonScope(o.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,he.RAWTEXT)}function p1(e,t){e.framesetOk=!1,e._switchToTextParsing(t,he.RAWTEXT)}function Ci(e,t){e._switchToTextParsing(t,he.RAWTEXT)}function f1(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,R.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===x.IN_TABLE||e.insertionMode===x.IN_CAPTION||e.insertionMode===x.IN_TABLE_BODY||e.insertionMode===x.IN_ROW||e.insertionMode===x.IN_CELL?x.IN_SELECT_IN_TABLE:x.IN_SELECT}function m1(e,t){e.openElements.currentTagId===o.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,R.HTML)}function g1(e,t){e.openElements.hasInScope(o.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,R.HTML)}function b1(e,t){e.openElements.hasInScope(o.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(o.RTC),e._insertElement(t,R.HTML)}function E1(e,t){e._reconstructActiveFormattingElements(),go(t),$r(t),t.selfClosing?e._appendElement(t,R.MATHML):e._insertElement(t,R.MATHML),t.ackSelfClosing=!0}function x1(e,t){e._reconstructActiveFormattingElements(),bo(t),$r(t),t.selfClosing?e._appendElement(t,R.SVG):e._insertElement(t,R.SVG),t.ackSelfClosing=!0}function ki(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,R.HTML)}function _e(e,t){switch(t.tagID){case o.I:case o.S:case o.B:case o.U:case o.EM:case o.TT:case o.BIG:case o.CODE:case o.FONT:case o.SMALL:case o.STRIKE:case o.STRONG:{r1(e,t);break}case o.A:{n1(e,t);break}case o.H1:case o.H2:case o.H3:case o.H4:case o.H5:case o.H6:{Kg(e,t);break}case o.P:case o.DL:case o.OL:case o.UL:case o.DIV:case o.DIR:case o.NAV:case o.MAIN:case o.MENU:case o.ASIDE:case o.CENTER:case o.FIGURE:case o.FOOTER:case o.HEADER:case o.HGROUP:case o.DIALOG:case o.DETAILS:case o.ADDRESS:case o.ARTICLE:case o.SEARCH:case o.SECTION:case o.SUMMARY:case o.FIELDSET:case o.BLOCKQUOTE:case o.FIGCAPTION:{Xg(e,t);break}case o.LI:case o.DD:case o.DT:{Zg(e,t);break}case o.BR:case o.IMG:case o.WBR:case o.AREA:case o.EMBED:case o.KEYGEN:{To(e,t);break}case o.HR:{l1(e,t);break}case o.RB:case o.RTC:{g1(e,t);break}case o.RT:case o.RP:{b1(e,t);break}case o.PRE:case o.LISTING:{$g(e,t);break}case o.XMP:{h1(e,t);break}case o.SVG:{x1(e,t);break}case o.HTML:{Vg(e,t);break}case o.BASE:case o.LINK:case o.META:case o.STYLE:case o.TITLE:case o.SCRIPT:case o.BGSOUND:case o.BASEFONT:case o.TEMPLATE:{Ue(e,t);break}case o.BODY:{Gg(e,t);break}case o.FORM:{Jg(e,t);break}case o.NOBR:{a1(e,t);break}case o.MATH:{E1(e,t);break}case o.TABLE:{s1(e,t);break}case o.INPUT:{o1(e,t);break}case o.PARAM:case o.TRACK:case o.SOURCE:{u1(e,t);break}case o.IMAGE:{c1(e,t);break}case o.BUTTON:{t1(e,t);break}case o.APPLET:case o.OBJECT:case o.MARQUEE:{i1(e,t);break}case o.IFRAME:{p1(e,t);break}case o.SELECT:{f1(e,t);break}case o.OPTION:case o.OPTGROUP:{m1(e,t);break}case o.NOEMBED:case o.NOFRAMES:{Ci(e,t);break}case o.FRAMESET:{Qg(e,t);break}case o.TEXTAREA:{d1(e,t);break}case o.NOSCRIPT:{e.options.scriptingEnabled?Ci(e,t):ki(e,t);break}case o.PLAINTEXT:{e1(e,t);break}case o.COL:case o.TH:case o.TD:case o.TR:case o.HEAD:case o.FRAME:case o.TBODY:case o.TFOOT:case o.THEAD:case o.CAPTION:case o.COLGROUP:break;default:ki(e,t)}}function w1(e,t){if(e.openElements.hasInScope(o.BODY)&&(e.insertionMode=x.AFTER_BODY,e.options.sourceCodeLocationInfo)){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e._setEndLocation(n,t)}}function T1(e,t){e.openElements.hasInScope(o.BODY)&&(e.insertionMode=x.AFTER_BODY,Ro(e,t))}function y1(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}function _1(e){const t=e.openElements.tmplCount>0,{formElement:n}=e;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(o.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(o.FORM):n&&e.openElements.remove(n))}function A1(e){e.openElements.hasInButtonScope(o.P)||e._insertFakeElement(_.P,o.P),e._closePElement()}function C1(e){e.openElements.hasInListItemScope(o.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(o.LI),e.openElements.popUntilTagNamePopped(o.LI))}function k1(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}function N1(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}function I1(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}function S1(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(_.BR,o.BR),e.openElements.pop(),e.framesetOk=!1}function _o(e,t){const n=t.tagName,r=t.tagID;for(let a=e.openElements.stackTop;a>0;a--){const i=e.openElements.items[a],s=e.openElements.tagIDs[a];if(r===s&&(r!==o.UNKNOWN||e.treeAdapter.getTagName(i)===n)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.stackTop>=a&&e.openElements.shortenToLength(a);break}if(e._isSpecialElement(i,s))break}}function Hn(e,t){switch(t.tagID){case o.A:case o.B:case o.I:case o.S:case o.U:case o.EM:case o.TT:case o.BIG:case o.CODE:case o.FONT:case o.NOBR:case o.SMALL:case o.STRIKE:case o.STRONG:{Jr(e,t);break}case o.P:{A1(e);break}case o.DL:case o.UL:case o.OL:case o.DIR:case o.DIV:case o.NAV:case o.PRE:case o.MAIN:case o.MENU:case o.ASIDE:case o.BUTTON:case o.CENTER:case o.FIGURE:case o.FOOTER:case o.HEADER:case o.HGROUP:case o.DIALOG:case o.ADDRESS:case o.ARTICLE:case o.DETAILS:case o.SEARCH:case o.SECTION:case o.SUMMARY:case o.LISTING:case o.FIELDSET:case o.BLOCKQUOTE:case o.FIGCAPTION:{y1(e,t);break}case o.LI:{C1(e);break}case o.DD:case o.DT:{k1(e,t);break}case o.H1:case o.H2:case o.H3:case o.H4:case o.H5:case o.H6:{N1(e);break}case o.BR:{S1(e);break}case o.BODY:{w1(e,t);break}case o.HTML:{T1(e,t);break}case o.FORM:{_1(e);break}case o.APPLET:case o.OBJECT:case o.MARQUEE:{I1(e,t);break}case o.TEMPLATE:{mt(e,t);break}default:_o(e,t)}}function Ao(e,t){e.tmplInsertionModeStack.length>0?Lo(e,t):Zr(e,t)}function O1(e,t){var n;t.tagID===o.SCRIPT&&((n=e.scriptHandler)===null||n===void 0||n.call(e,e.openElements.current)),e.openElements.pop(),e.insertionMode=e.originalInsertionMode}function L1(e,t){e._err(t,k.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(t)}function cr(e,t){if(Eo.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=x.IN_TABLE_TEXT,t.type){case Q.CHARACTER:{ko(e,t);break}case Q.WHITESPACE_CHARACTER:{Co(e,t);break}}else on(e,t)}function R1(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,R.HTML),e.insertionMode=x.IN_CAPTION}function D1(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,R.HTML),e.insertionMode=x.IN_COLUMN_GROUP}function v1(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(_.COLGROUP,o.COLGROUP),e.insertionMode=x.IN_COLUMN_GROUP,ea(e,t)}function P1(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,R.HTML),e.insertionMode=x.IN_TABLE_BODY}function M1(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(_.TBODY,o.TBODY),e.insertionMode=x.IN_TABLE_BODY,Un(e,t)}function B1(e,t){e.openElements.hasInTableScope(o.TABLE)&&(e.openElements.popUntilTagNamePopped(o.TABLE),e._resetInsertionMode(),e._processStartTag(t))}function F1(e,t){yo(t)?e._appendElement(t,R.HTML):on(e,t),t.ackSelfClosing=!0}function H1(e,t){!e.formElement&&e.openElements.tmplCount===0&&(e._insertElement(t,R.HTML),e.formElement=e.openElements.current,e.openElements.pop())}function Ct(e,t){switch(t.tagID){case o.TD:case o.TH:case o.TR:{M1(e,t);break}case o.STYLE:case o.SCRIPT:case o.TEMPLATE:{Ue(e,t);break}case o.COL:{v1(e,t);break}case o.FORM:{H1(e,t);break}case o.TABLE:{B1(e,t);break}case o.TBODY:case o.TFOOT:case o.THEAD:{P1(e,t);break}case o.INPUT:{F1(e,t);break}case o.CAPTION:{R1(e,t);break}case o.COLGROUP:{D1(e,t);break}default:on(e,t)}}function en(e,t){switch(t.tagID){case o.TABLE:{e.openElements.hasInTableScope(o.TABLE)&&(e.openElements.popUntilTagNamePopped(o.TABLE),e._resetInsertionMode());break}case o.TEMPLATE:{mt(e,t);break}case o.BODY:case o.CAPTION:case o.COL:case o.COLGROUP:case o.HTML:case o.TBODY:case o.TD:case o.TFOOT:case o.TH:case o.THEAD:case o.TR:break;default:on(e,t)}}function on(e,t){const n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,Fn(e,t),e.fosterParentingEnabled=n}function Co(e,t){e.pendingCharacterTokens.push(t)}function ko(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function Yt(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n<e.pendingCharacterTokens.length;n++)on(e,e.pendingCharacterTokens[n]);else for(;n<e.pendingCharacterTokens.length;n++)e._insertCharacters(e.pendingCharacterTokens[n]);e.insertionMode=e.originalInsertionMode,e._processToken(t)}const No=new Set([o.CAPTION,o.COL,o.COLGROUP,o.TBODY,o.TD,o.TFOOT,o.TH,o.THEAD,o.TR]);function U1(e,t){const n=t.tagID;No.has(n)?e.openElements.hasInTableScope(o.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(o.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=x.IN_TABLE,Ct(e,t)):_e(e,t)}function z1(e,t){const n=t.tagID;switch(n){case o.CAPTION:case o.TABLE:{e.openElements.hasInTableScope(o.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(o.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=x.IN_TABLE,n===o.TABLE&&en(e,t));break}case o.BODY:case o.COL:case o.COLGROUP:case o.HTML:case o.TBODY:case o.TD:case o.TFOOT:case o.TH:case o.THEAD:case o.TR:break;default:Hn(e,t)}}function ea(e,t){switch(t.tagID){case o.HTML:{_e(e,t);break}case o.COL:{e._appendElement(t,R.HTML),t.ackSelfClosing=!0;break}case o.TEMPLATE:{Ue(e,t);break}default:Nn(e,t)}}function j1(e,t){switch(t.tagID){case o.COLGROUP:{e.openElements.currentTagId===o.COLGROUP&&(e.openElements.pop(),e.insertionMode=x.IN_TABLE);break}case o.TEMPLATE:{mt(e,t);break}case o.COL:break;default:Nn(e,t)}}function Nn(e,t){e.openElements.currentTagId===o.COLGROUP&&(e.openElements.pop(),e.insertionMode=x.IN_TABLE,e._processToken(t))}function Un(e,t){switch(t.tagID){case o.TR:{e.openElements.clearBackToTableBodyContext(),e._insertElement(t,R.HTML),e.insertionMode=x.IN_ROW;break}case o.TH:case o.TD:{e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(_.TR,o.TR),e.insertionMode=x.IN_ROW,zn(e,t);break}case o.CAPTION:case o.COL:case o.COLGROUP:case o.TBODY:case o.TFOOT:case o.THEAD:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=x.IN_TABLE,Ct(e,t));break}default:Ct(e,t)}}function Ir(e,t){const n=t.tagID;switch(t.tagID){case o.TBODY:case o.TFOOT:case o.THEAD:{e.openElements.hasInTableScope(n)&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=x.IN_TABLE);break}case o.TABLE:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=x.IN_TABLE,en(e,t));break}case o.BODY:case o.CAPTION:case o.COL:case o.COLGROUP:case o.HTML:case o.TD:case o.TH:case o.TR:break;default:en(e,t)}}function zn(e,t){switch(t.tagID){case o.TH:case o.TD:{e.openElements.clearBackToTableRowContext(),e._insertElement(t,R.HTML),e.insertionMode=x.IN_CELL,e.activeFormattingElements.insertMarker();break}case o.CAPTION:case o.COL:case o.COLGROUP:case o.TBODY:case o.TFOOT:case o.THEAD:case o.TR:{e.openElements.hasInTableScope(o.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=x.IN_TABLE_BODY,Un(e,t));break}default:Ct(e,t)}}function Io(e,t){switch(t.tagID){case o.TR:{e.openElements.hasInTableScope(o.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=x.IN_TABLE_BODY);break}case o.TABLE:{e.openElements.hasInTableScope(o.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=x.IN_TABLE_BODY,Ir(e,t));break}case o.TBODY:case o.TFOOT:case o.THEAD:{(e.openElements.hasInTableScope(t.tagID)||e.openElements.hasInTableScope(o.TR))&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=x.IN_TABLE_BODY,Ir(e,t));break}case o.BODY:case o.CAPTION:case o.COL:case o.COLGROUP:case o.HTML:case o.TD:case o.TH:break;default:en(e,t)}}function Y1(e,t){const n=t.tagID;No.has(n)?(e.openElements.hasInTableScope(o.TD)||e.openElements.hasInTableScope(o.TH))&&(e._closeTableCell(),zn(e,t)):_e(e,t)}function q1(e,t){const n=t.tagID;switch(n){case o.TD:case o.TH:{e.openElements.hasInTableScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=x.IN_ROW);break}case o.TABLE:case o.TBODY:case o.TFOOT:case o.THEAD:case o.TR:{e.openElements.hasInTableScope(n)&&(e._closeTableCell(),Io(e,t));break}case o.BODY:case o.CAPTION:case o.COL:case o.COLGROUP:case o.HTML:break;default:Hn(e,t)}}function So(e,t){switch(t.tagID){case o.HTML:{_e(e,t);break}case o.OPTION:{e.openElements.currentTagId===o.OPTION&&e.openElements.pop(),e._insertElement(t,R.HTML);break}case o.OPTGROUP:{e.openElements.currentTagId===o.OPTION&&e.openElements.pop(),e.openElements.currentTagId===o.OPTGROUP&&e.openElements.pop(),e._insertElement(t,R.HTML);break}case o.HR:{e.openElements.currentTagId===o.OPTION&&e.openElements.pop(),e.openElements.currentTagId===o.OPTGROUP&&e.openElements.pop(),e._appendElement(t,R.HTML),t.ackSelfClosing=!0;break}case o.INPUT:case o.KEYGEN:case o.TEXTAREA:case o.SELECT:{e.openElements.hasInSelectScope(o.SELECT)&&(e.openElements.popUntilTagNamePopped(o.SELECT),e._resetInsertionMode(),t.tagID!==o.SELECT&&e._processStartTag(t));break}case o.SCRIPT:case o.TEMPLATE:{Ue(e,t);break}}}function Oo(e,t){switch(t.tagID){case o.OPTGROUP:{e.openElements.stackTop>0&&e.openElements.currentTagId===o.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===o.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===o.OPTGROUP&&e.openElements.pop();break}case o.OPTION:{e.openElements.currentTagId===o.OPTION&&e.openElements.pop();break}case o.SELECT:{e.openElements.hasInSelectScope(o.SELECT)&&(e.openElements.popUntilTagNamePopped(o.SELECT),e._resetInsertionMode());break}case o.TEMPLATE:{mt(e,t);break}}}function W1(e,t){const n=t.tagID;n===o.CAPTION||n===o.TABLE||n===o.TBODY||n===o.TFOOT||n===o.THEAD||n===o.TR||n===o.TD||n===o.TH?(e.openElements.popUntilTagNamePopped(o.SELECT),e._resetInsertionMode(),e._processStartTag(t)):So(e,t)}function V1(e,t){const n=t.tagID;n===o.CAPTION||n===o.TABLE||n===o.TBODY||n===o.TFOOT||n===o.THEAD||n===o.TR||n===o.TD||n===o.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(o.SELECT),e._resetInsertionMode(),e.onEndTag(t)):Oo(e,t)}function G1(e,t){switch(t.tagID){case o.BASE:case o.BASEFONT:case o.BGSOUND:case o.LINK:case o.META:case o.NOFRAMES:case o.SCRIPT:case o.STYLE:case o.TEMPLATE:case o.TITLE:{Ue(e,t);break}case o.CAPTION:case o.COLGROUP:case o.TBODY:case o.TFOOT:case o.THEAD:{e.tmplInsertionModeStack[0]=x.IN_TABLE,e.insertionMode=x.IN_TABLE,Ct(e,t);break}case o.COL:{e.tmplInsertionModeStack[0]=x.IN_COLUMN_GROUP,e.insertionMode=x.IN_COLUMN_GROUP,ea(e,t);break}case o.TR:{e.tmplInsertionModeStack[0]=x.IN_TABLE_BODY,e.insertionMode=x.IN_TABLE_BODY,Un(e,t);break}case o.TD:case o.TH:{e.tmplInsertionModeStack[0]=x.IN_ROW,e.insertionMode=x.IN_ROW,zn(e,t);break}default:e.tmplInsertionModeStack[0]=x.IN_BODY,e.insertionMode=x.IN_BODY,_e(e,t)}}function Q1(e,t){t.tagID===o.TEMPLATE&&mt(e,t)}function Lo(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(o.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):Zr(e,t)}function X1(e,t){t.tagID===o.HTML?_e(e,t):In(e,t)}function Ro(e,t){var n;if(t.tagID===o.HTML){if(e.fragmentContext||(e.insertionMode=x.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===o.HTML){e._setEndLocation(e.openElements.items[0],t);const r=e.openElements.items[1];r&&!(!((n=e.treeAdapter.getNodeSourceCodeLocation(r))===null||n===void 0)&&n.endTag)&&e._setEndLocation(r,t)}}else In(e,t)}function In(e,t){e.insertionMode=x.IN_BODY,Fn(e,t)}function K1(e,t){switch(t.tagID){case o.HTML:{_e(e,t);break}case o.FRAMESET:{e._insertElement(t,R.HTML);break}case o.FRAME:{e._appendElement(t,R.HTML),t.ackSelfClosing=!0;break}case o.NOFRAMES:{Ue(e,t);break}}}function $1(e,t){t.tagID===o.FRAMESET&&!e.openElements.isRootHtmlElementCurrent()&&(e.openElements.pop(),!e.fragmentContext&&e.openElements.currentTagId!==o.FRAMESET&&(e.insertionMode=x.AFTER_FRAMESET))}function J1(e,t){switch(t.tagID){case o.HTML:{_e(e,t);break}case o.NOFRAMES:{Ue(e,t);break}}}function Z1(e,t){t.tagID===o.HTML&&(e.insertionMode=x.AFTER_AFTER_FRAMESET)}function eb(e,t){t.tagID===o.HTML?_e(e,t):xn(e,t)}function xn(e,t){e.insertionMode=x.IN_BODY,Fn(e,t)}function tb(e,t){switch(t.tagID){case o.HTML:{_e(e,t);break}case o.NOFRAMES:{Ue(e,t);break}}}function nb(e,t){t.chars=oe,e._insertCharacters(t)}function rb(e,t){e._insertCharacters(t),e.framesetOk=!1}function Do(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==R.HTML&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}function ab(e,t){if(xg(t))Do(e),e._startTagOutsideForeignContent(t);else{const n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);r===R.MATHML?go(t):r===R.SVG&&(wg(t),bo(t)),$r(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}function ib(e,t){if(t.tagID===o.P||t.tagID===o.BR){Do(e),e._endTagOutsideForeignContent(t);return}for(let n=e.openElements.stackTop;n>0;n--){const r=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(r)===R.HTML){e._endTagOutsideForeignContent(t);break}const a=e.treeAdapter.getTagName(r);if(a.toLowerCase()===t.tagName){t.tagName=a,e.openElements.shortenToLength(n);break}}}_.AREA,_.BASE,_.BASEFONT,_.BGSOUND,_.BR,_.COL,_.EMBED,_.FRAME,_.HR,_.IMG,_.INPUT,_.KEYGEN,_.LINK,_.META,_.PARAM,_.SOURCE,_.TRACK,_.WBR;const sb=/<(\/?)(iframe|noembed|noframes|plaintext|script|style|textarea|title|xmp)(?=[\t\n\f\r />])/gi,ob=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),Ni={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function vo(e,t){const n=bb(e),r=Qi("type",{handlers:{root:ub,element:lb,text:cb,comment:Mo,doctype:db,raw:pb},unknown:fb}),a={parser:n?new Ai(Ni):Ai.getFragmentParser(void 0,Ni),handle(u){r(u,a)},stitches:!1,options:t||{}};r(e,a),vt(a,qe());const i=n?a.parser.document:a.parser.getFragment(),s=Em(i,{file:a.options.file});return a.stitches&&Dn(s,"comment",function(u,l,c){const d=u;if(d.value.stitch&&c&&l!==void 0){const h=c.children;return h[l]=d.value.stitch,l}}),s.type==="root"&&s.children.length===1&&s.children[0].type===e.type?s.children[0]:s}function Po(e,t){let n=-1;if(e)for(;++n<e.length;)t.handle(e[n])}function ub(e,t){Po(e.children,t)}function lb(e,t){mb(e,t),Po(e.children,t),gb(e,t)}function cb(e,t){t.parser.tokenizer.state>4&&(t.parser.tokenizer.state=0);const n={type:Q.CHARACTER,chars:e.value,location:un(e)};vt(t,qe(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function db(e,t){const n={type:Q.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:un(e)};vt(t,qe(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function hb(e,t){t.stitches=!0;const n=Eb(e);if("children"in e&&"children"in n){const r=vo({type:"root",children:e.children},t.options);n.children=r.children}Mo({type:"comment",value:{stitch:n}},t)}function Mo(e,t){const n=e.value,r={type:Q.COMMENT,data:n,location:un(e)};vt(t,qe(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function pb(e,t){if(t.parser.tokenizer.preprocessor.html="",t.parser.tokenizer.preprocessor.pos=-1,t.parser.tokenizer.preprocessor.lastGapPos=-2,t.parser.tokenizer.preprocessor.gapStack=[],t.parser.tokenizer.preprocessor.skipNextNewLine=!1,t.parser.tokenizer.preprocessor.lastChunkWritten=!1,t.parser.tokenizer.preprocessor.endOfChunkHit=!1,t.parser.tokenizer.preprocessor.isEol=!1,Bo(t,qe(e)),t.parser.tokenizer.write(t.options.tagfilter?e.value.replace(sb,"&lt;$1$2"):e.value,!1),t.parser.tokenizer._runParsingLoop(),t.parser.tokenizer.state===72||t.parser.tokenizer.state===78){t.parser.tokenizer.preprocessor.lastChunkWritten=!0;const n=t.parser.tokenizer._consume();t.parser.tokenizer._callState(n)}}function fb(e,t){const n=e;if(t.options.passThrough&&t.options.passThrough.includes(n.type))hb(n,t);else{let r="";throw ob.has(n.type)&&(r=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"),new Error("Cannot compile `"+n.type+"` node"+r)}}function vt(e,t){Bo(e,t);const n=e.parser.tokenizer.currentCharacterToken;n&&n.location&&(n.location.endLine=e.parser.tokenizer.preprocessor.line,n.location.endCol=e.parser.tokenizer.preprocessor.col+1,n.location.endOffset=e.parser.tokenizer.preprocessor.offset+1,e.parser.currentToken=n,e.parser._processToken(e.parser.currentToken)),e.parser.tokenizer.paused=!1,e.parser.tokenizer.inLoop=!1,e.parser.tokenizer.active=!1,e.parser.tokenizer.returnState=he.DATA,e.parser.tokenizer.charRefCode=-1,e.parser.tokenizer.consumedAfterSnapshot=-1,e.parser.tokenizer.currentLocation=null,e.parser.tokenizer.currentCharacterToken=null,e.parser.tokenizer.currentToken=null,e.parser.tokenizer.currentAttr={name:"",value:""}}function Bo(e,t){if(t&&t.offset!==void 0){const n={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:-1,endCol:-1,endOffset:-1};e.parser.tokenizer.preprocessor.lineStartPos=-t.column+1,e.parser.tokenizer.preprocessor.droppedBufferSize=t.offset,e.parser.tokenizer.preprocessor.line=t.line,e.parser.tokenizer.currentLocation=n}}function mb(e,t){const n=e.tagName.toLowerCase();if(t.parser.tokenizer.state===he.PLAINTEXT)return;vt(t,qe(e));const r=t.parser.openElements.current;let a="namespaceURI"in r?r.namespaceURI:dt.html;a===dt.html&&n==="svg"&&(a=dt.svg);const i=_m({...e,children:[]},{space:a===dt.svg?"svg":"html"}),s={type:Q.START_TAG,tagName:n,tagID:Dt(n),selfClosing:!1,ackSelfClosing:!1,attrs:"attrs"in i?i.attrs:[],location:un(e)};t.parser.currentToken=s,t.parser._processToken(t.parser.currentToken),t.parser.tokenizer.lastStartTagName=n}function gb(e,t){const n=e.tagName.toLowerCase();if(!t.parser.tokenizer.inForeignNode&&Lm.includes(n)||t.parser.tokenizer.state===he.PLAINTEXT)return;vt(t,Mn(e));const r={type:Q.END_TAG,tagName:n,tagID:Dt(n),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:un(e)};t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken),n===t.parser.tokenizer.lastStartTagName&&(t.parser.tokenizer.state===he.RCDATA||t.parser.tokenizer.state===he.RAWTEXT||t.parser.tokenizer.state===he.SCRIPT_DATA)&&(t.parser.tokenizer.state=he.DATA)}function bb(e){const t=e.type==="root"?e.children[0]:e;return!!(t&&(t.type==="doctype"||t.type==="element"&&t.tagName.toLowerCase()==="html"))}function un(e){const t=qe(e)||{line:void 0,column:void 0,offset:void 0},n=Mn(e)||{line:void 0,column:void 0,offset:void 0};return{startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:n.line,endCol:n.column,endOffset:n.offset}}function Eb(e){return"children"in e?At({...e,children:[]}):At(e)}function Fo(e){return function(t,n){return vo(t,{...e,file:n})}}function Sr(){return Sr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Sr.apply(null,arguments)}function xb(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}var Ho,Uo;typeof document<"u"&&(Ho=document);typeof window<"u"&&(Uo=window);var zo=J.createContext({document:Ho,window:Uo}),wb=()=>J.useContext(zo),Tb=["children","head","initialContent","src","mountTarget"],jo=J.forwardRef((e,t)=>{var{children:n,head:r,initialContent:a,src:i,mountTarget:s}=e,u=xb(e,Tb),[l,c]=J.useState(!1),[d,h]=J.useState(),b=P=>{P&&h(P)};J.useImperativeHandle(t,()=>d,[d]);var p=a||"<!DOCTYPE html><html><head></head><body></body></html>",E=()=>d?d.contentDocument:null,y=()=>{var P=E();return s?P==null?void 0:P.querySelector(s):P==null?void 0:P.body},C=J.useRef(),A=J.useCallback(P=>{C.current=P;var H=()=>setInterval(()=>A(P),500);clearInterval(H()),l||c(!0)},[l]);J.useMemo(()=>{!i&&u.onLoad&&l&&u.onLoad(C.current)},[l]),J.useEffect(()=>{if(d&&!i){var P;(P=d.contentWindow)==null||P.addEventListener("DOMContentLoaded",A)}return()=>{if(d&&!i){var H;(H=d.contentWindow)==null||H.removeEventListener("DOMContentLoaded",A)}}},[d,A]);var O=()=>{var P,H=E(),I=(P=E())==null?void 0:P.head,F=y(),j=(H==null?void 0:H.defaultView)||(H==null?void 0:H.parentView),G=m.jsx(zo.Provider,{value:{document:H,window:j},children:n});return[I&&r&&dr.createPortal(r,I),d&&F&&dr.createPortal(G,F)]},L={};return i?(delete L.srcDoc,L.src=i,L.onLoad=u.onLoad):L.srcDoc=p,m.jsx("iframe",Sr({title:u.title,ref:b},u,{onLoad:A},L,{children:l&&O()}))});jo.displayName="IFrame";const Yo="opencx-widget-portal";function jn(){return null}function yb({children:e}){var n,r;const t=(r=(n=wb())==null?void 0:n.document)==null?void 0:r.getElementById(Yo);return t?dr.createPortal(e,t):(console.error("Portal container not found!"),null)}function _b(){return m.jsx("div",{id:Yo,className:"absolute size-full top-0 left-0"})}jn.Portal=yb;jn.Container=_b;const Ab=He.Root,Cb=He.Trigger,qo=xe.forwardRef(({className:e,...t},n)=>m.jsx(He.Overlay,{ref:n,className:V("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t}));qo.displayName=He.Overlay.displayName;const Wo=xe.forwardRef(({className:e,children:t,...n},r)=>m.jsxs(jn.Portal,{children:[m.jsx(qo,{}),m.jsxs(He.Content,{ref:r,className:V("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",e),...n,children:[t,m.jsx(He.Close,{asChild:!0,className:"absolute right-4 top-4 opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:m.jsxs(Le,{size:"fit",variant:"outline",children:[m.jsx(de.X,{className:"h-4 w-4"}),m.jsx("span",{className:"sr-only",children:"Close"})]})})]})]}));Wo.displayName=He.Content.displayName;const Vo=xe.forwardRef(({className:e,...t},n)=>m.jsx(He.Title,{ref:n,className:V("text-lg font-semibold leading-none tracking-tight",e),...t}));Vo.displayName=He.Title.displayName;const kb=xe.forwardRef(({className:e,...t},n)=>m.jsx(He.Description,{ref:n,className:V("text-sm text-muted-foreground",e),...t}));kb.displayName=He.Description.displayName;function Go({attachment:e}){const{name:t,size:n,type:r,url:a}=e,i=r.startsWith("image/"),s=r.startsWith("video/"),u=r.startsWith("audio/");return u?m.jsx(rt,{children:m.jsx("div",{className:"w-full shrink-0 overflow-hidden",children:m.jsxs("audio",{controls:!0,className:"w-full",children:[m.jsx("source",{src:a,type:r}),"Your browser does not support the audio tag."]})})}):s?m.jsx(rt,{children:m.jsx("div",{className:"w-full border shrink-0 rounded-2xl overflow-hidden",children:m.jsxs("video",{controls:!0,children:[m.jsx("source",{src:a,type:r}),"Your browser does not support the video tag."]})})}):!i&&!s&&!u?m.jsx(rt,{children:m.jsx("div",{className:"size-fit border shrink-0 rounded-2xl overflow-hidden",children:m.jsxs("div",{className:"flex items-end gap-2 p-2",children:[m.jsx("a",{href:a,target:"_blank",rel:"noopener noreferrer",className:V("text-xs text-blue-500 line-clamp-2 underline hover:text-blue-600","break-words [word-break:break-word]"),children:t}),m.jsxs("span",{className:"text-xs text-muted-foreground whitespace-nowrap",children:[(n/1024).toFixed(2)," KB"]})]})})}):m.jsxs(Ab,{children:[m.jsx(rt,{children:m.jsx(Cb,{children:m.jsx("div",{className:"size-fit border shrink-0 rounded-2xl overflow-hidden",children:i&&m.jsx("img",{src:a,className:"object-cover size-16",alt:t})})})}),m.jsxs(Wo,{"aria-describedby":void 0,className:"size-full rounded-3xl flex items-center justify-center bg-transparent backdrop-blur border-none gap-0",children:[m.jsx(Vo,{className:"sr-only",children:"Image preview"}),i&&m.jsx("div",{className:"size-fit shrink-0 rounded-2xl overflow-hidden max-h-full",children:m.jsx("img",{src:a,className:"object-cover size-auto",alt:t})})]})]})}function Or({data:e,id:t,type:n,attachments:r}){const{message:a,variant:i="default"}=e;return i==="error"?m.jsx("div",{children:m.jsx("div",{className:"flex flex-row flex-wrap items-center justify-start",children:m.jsx("div",{className:"leading-snug text-sm text-destructive",children:a})})}):m.jsxs("div",{className:"w-5/6 flex flex-col items-start gap-1",children:[m.jsx("div",{className:"w-full gap-1 flex flex-row flex-wrap items-center justify-start",children:r==null?void 0:r.map(s=>m.jsx(Go,{attachment:s},s.id))}),a.length>0&&m.jsx(Js,{"data-type":n,"data-id":t,remarkPlugins:[As],rehypePlugins:[Fo],components:{a:({children:s,...u})=>m.jsx("a",{target:"_top",...u,children:s})},className:V("w-fit p-2 rounded-2xl bg-secondary border shadow-sm","leading-snug text-sm prose prose-sm prose-a:decoration-primary prose-a:underline","break-words [word-break:break-word]"),children:a})]})}function Qo(e){const{componentStore:t}=X.useWidget();if(e.data.action){const r=t.getComponent(e.data.action.name);if(r)return m.jsx(r,{...e,id:e.id})}const n=t.getComponent(e.component);return n?m.jsx(n,{...e,id:e.id}):m.jsx(Or,{...e})}const ln=xe.forwardRef(({className:e,...t},n)=>m.jsx(Nt.Root,{ref:n,className:V("relative flex size-6 aspect-square shrink-0 overflow-hidden rounded-full border bg-secondary",e),...t}));ln.displayName=Nt.Root.displayName;const Yn=xe.forwardRef(({className:e,...t},n)=>m.jsx(Nt.Image,{ref:n,className:V("aspect-square h-full w-full",e),...t}));Yn.displayName=Nt.Image.displayName;const qn=xe.forwardRef(({className:e,...t},n)=>m.jsx(Nt.Fallback,{ref:n,className:V("flex size-full text-xs items-center justify-center rounded-lg",e),...t}));qn.displayName=Nt.Fallback.displayName;function Nb({message:e}){var t;return m.jsxs("div",{className:"w-5/6 flex flex-col items-end gap-1",children:[e.attachments&&e.attachments.length>0&&m.jsx("div",{className:"w-full flex gap-1 flex-wrap justify-end",children:(t=e.attachments)==null?void 0:t.map(n=>m.jsx(Go,{attachment:n},n.id))}),e.content.length>0&&m.jsx("div",{className:V("w-fit p-2 rounded-2xl text-sm","bg-primary text-primary-foreground border shadow-sm","break-words [word-break:break-word]","whitespace-pre-wrap"),children:e.content})]})}function Ib({messages:e}){var n,r,a,i,s,u;const{user:t}=X.useConfig();return m.jsxs("div",{className:V("group","flex flex-col gap-2 justify-end items-end"),children:[m.jsxs(ln,{className:"bg-primary text-primary-foreground",children:[m.jsx(Yn,{src:(n=t==null?void 0:t.data)==null?void 0:n.avatarUrl,alt:((r=t==null?void 0:t.data)==null?void 0:r.name)||"User avatar"}),((a=t==null?void 0:t.data)==null?void 0:a.name)&&m.jsx(qn,{children:(u=(s=(i=t==null?void 0:t.data)==null?void 0:i.name)==null?void 0:s.slice(0,1))==null?void 0:u.toUpperCase()})]}),e.map(l=>m.jsx(Nb,{message:l},l.id))]})}function Sb({messages:e,agent:t}){var n,r;return m.jsxs("div",{className:V("flex flex-col items-start gap-2"),children:[m.jsx(Tn,{content:t==null?void 0:t.name,side:"right",align:"end",children:m.jsxs(ln,{children:[m.jsx(Yn,{src:(t==null?void 0:t.avatar)??"",alt:"Agent Icon"}),(t==null?void 0:t.name)&&m.jsx(qn,{children:(r=(n=t==null?void 0:t.name)==null?void 0:n.slice(0,1))==null?void 0:r.toUpperCase()})]})}),e.map(a=>m.jsx(Qo,{...a},a.id))]})}function Ob(){const{messagesState:{messages:e}}=X.useMessages(),{isAwaitingBotReply:t}=X.useIsAwaitingBotReply(),{componentStore:n}=X.useWidget(),r=X.useConfig(),a=J.useMemo(()=>Sl(e),[e.length]),i=!r.initialMessages||r.initialMessages.length===0?["Hello, how can I help you?"]:r.initialMessages,s=n.getComponent("loading"),u=J.useRef(null);function l(){setTimeout(()=>{const c=u.current;c&&(c.scrollTop=c.scrollHeight)},0)}return J.useEffect(()=>{l()},[e]),m.jsxs("div",{"data-messages":!0,ref:u,className:"max-h-full scroll-smooth relative flex-1 p-2 space-y-2 overflow-auto",children:[e.length===0&&i.map(c=>m.jsx(Qo,{component:"bot_message",data:{message:c},id:c,type:"FROM_BOT",agent:r.bot?{...r.bot,isAi:!0,id:null}:void 0,timestamp:Date.now().toString()},c)),a.map(c=>{var b,p,E;const d=(b=c==null?void 0:c[0])==null?void 0:b.type,h=(p=c[0])==null?void 0:p.id;if(!d||!h)return null;if(Ol(c))return m.jsx(Ib,{messages:c},h);if(Ll(c)||Rl(c)){const y=(E=c[0])==null?void 0:E.agent;return m.jsx(Sb,{messages:c,agent:y},h)}return null}),t&&m.jsx(s,{})]})}function Xo({className:e}){return m.jsx(de.LoaderIcon,{className:V("size-4 animate-spin",e)})}function Lb(){const{messagesState:{isInitialFetchLoading:e}}=X.useMessages(),{sessionState:{session:t}}=X.useSessions(),{observedElementRef:n}=Dr({fallbackHeight:Oi}),r=J.useRef((t==null?void 0:t.id)||"chat").current;return m.jsx("div",{ref:n,className:V(Lr.widgetHeight,"w-full flex flex-col overflow-hidden bg-background"),children:m.jsxs("div",{className:"size-full justify-between flex flex-col",children:[m.jsx(ji,{}),m.jsx(ge.AnimatePresence,{mode:"wait",children:e?m.jsx(ue,{className:"flex flex-col items-center justify-center w-full flex-1",children:m.jsx(Xo,{})},"loading"):m.jsxs(ue,{className:"flex flex-col w-full flex-1 overflow-auto",snapExit:!0,children:[m.jsx(Ob,{}),m.jsx(El,{})]},r)})]})})}const wn=xe.forwardRef(({className:e,type:t,...n},r)=>{const a=Sn();return m.jsx(rt,{ref:r,children:m.jsx("input",{dir:a,type:t,className:V("flex w-full rounded-xl border border-input bg-background p-2 text-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-primary-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 transition","rtl:placeholder:text-right",e),...n})})});wn.displayName="Input";const Rb=Wn.z.object({name:Wn.z.string().min(2),email:Wn.z.string().email()});function Db(){var E,y,C,A,O,L,P,H,I;const{createUnverifiedContact:e}=X.useContact(),t=X.useConfig(),n=St(),{data:r}=X.usePreludeData(),{observedElementRef:a}=Dr({fallbackHeight:Si}),[i,s]=J.useState(((E=t.prefillUserData)==null?void 0:E.name)||""),[u,l]=J.useState(((y=t.prefillUserData)==null?void 0:y.email)||""),c=(t.extraDataCollectionFields||[]).filter(F=>F!=="name"&&F!=="email"&&!!F),[d,h]=J.useState({}),[b,p]=X._default(async F=>{F.preventDefault();const j=Rb.safeParse({name:i,email:u});j.success&&await e({email:j.data.email,non_verified_name:j.data.name},Object.values(d).filter(Boolean).length?d:void 0)},[i,u,d]);return m.jsxs("div",{ref:a,className:V(Lr.widgetMinHeight,"h-fit bg-primary flex flex-col"),children:[m.jsxs("div",{dir:"auto",className:"flex-1 flex flex-col px-4 py-12 text-start space-y-4 relative z-10",children:[m.jsx("div",{className:"flex items-center justify-between w-full mb-2",children:(C=t.assets)!=null&&C.organizationLogo?m.jsx("img",{src:(A=t.assets)==null?void 0:A.organizationLogo,alt:"Company Logo",className:"h-8 w-auto object-contain"}):m.jsx("h2",{className:"font-bold text-xl text-primary-foreground",dir:"auto",children:(O=r==null?void 0:r.data)==null?void 0:O.organizationName})}),m.jsxs("div",{className:"space-y-2",children:[m.jsx("h1",{className:"text-2xl font-bold text-primary-foreground",dir:"auto",children:((P=(L=t.textContent)==null?void 0:L.welcomeScreen)==null?void 0:P.title)||n.get("welcome-title")}),m.jsx("p",{className:"text-primary-foreground/90 text-sm max-w-[320px] leading-relaxed",dir:"auto",children:((I=(H=t.textContent)==null?void 0:H.welcomeScreen)==null?void 0:I.description)||n.get("welcome-description")})]})]}),m.jsx("div",{className:"p-2 bg-background rounded-t-3xl",dir:"auto",children:m.jsxs("form",{onSubmit:p,className:"space-y-2",children:[m.jsxs("div",{className:"space-y-2",children:[m.jsx(wn,{value:i,onChange:F=>s(F.target.value),required:!0,placeholder:n.get("your-name"),name:"name",className:"rounded-3xl pl-3"}),m.jsx(wn,{required:!0,value:u,onChange:F=>l(F.target.value),type:"email",placeholder:n.get("your-email"),name:"email",className:"rounded-3xl pl-3"}),c.map(F=>m.jsx(wn,{value:d[F],onChange:j=>h(G=>({...G,[F]:j.target.value})),placeholder:`${F} (${n.get("optional")})`,className:"rounded-3xl pl-3"},F))]}),m.jsxs(Le,{disabled:b.loading,className:"w-full rounded-3xl",size:"lg",children:[b.loading?n.get("starting-chat"):n.get("start-chat"),m.jsx(de.SendHorizontal,{className:"size-4 rtl:-scale-100"})]})]})})]})}function vb({session:e}){const{bot:t}=X.useConfig(),{toChatScreen:n}=X.useWidgetRouter(),r=e.assignee.kind==="human"?e.assignee.name||"Support Agent":(t==null?void 0:t.name)||"AI Support Agent",a=e.assignee.kind==="human"?e.assignee.avatarUrl||"":(t==null?void 0:t.avatar)||"";return m.jsxs(Le,{variant:"outline",size:"lg",className:"border-muted rounded-full p-2 flex text-start justify-between w-full whitespace-normal",onClick:()=>n(e.id),children:[m.jsxs("div",{className:"flex-1 flex gap-2 items-center",children:[m.jsx(ge.AnimatePresence,{mode:"wait",children:m.jsx(ue,{snapExit:!0,children:m.jsx(ln,{className:"size-10",children:m.jsx(Yn,{src:a,alt:"Agent Icon"})})})}),m.jsxs("div",{className:"flex-1",children:[m.jsx(ge.AnimatePresence,{mode:"wait",children:m.jsx(ue,{snapExit:!0,children:r},r)}),m.jsx(ge.AnimatePresence,{mode:"wait",children:e.lastMessage?m.jsx(ue,{snapExit:!0,children:m.jsx(Js,{remarkPlugins:[As],rehypePlugins:[Fo],className:"line-clamp-1 overflow-hidden text-ellipsis text-xs text-muted-foreground",children:e.lastMessage})},e.lastMessage||"content"):m.jsx(ue,{className:"w-1/2",snapExit:!0,children:m.jsx(zi,{className:"h-4 w-full"})},"skeleton")})]})]}),m.jsx(de.ChevronRightIcon,{className:"size-4 text-muted-foreground shrink-0"})]})}function Pb(){const e=St(),{toChatScreen:t}=X.useWidgetRouter(),{sessionsState:{data:n,isInitialFetchLoading:r}}=X.useSessions();return m.jsx("div",{className:"flex-1 flex flex-col overflow-scroll p-2",children:m.jsx(ge.AnimatePresence,{mode:"wait",children:r?m.jsx(ue,{className:"flex-1 flex items-center justify-center",children:m.jsx(Xo,{})},"loading"):m.jsx(ue,{className:"flex-1 flex flex-col gap-2 relative",children:n.length?m.jsxs(m.Fragment,{children:[m.jsx(ge.AnimatePresence,{children:n.map((a,i)=>m.jsx(ue,{snapExit:!0,children:m.jsx(vb,{session:a})},`${a.id}-${i}`))}),m.jsx("div",{className:"mt-auto w-full rounded-3xl sticky bottom-0 outline outline-8 outline-background",children:m.jsx(Le,{size:"lg",className:"w-full rounded-3xl",onClick:()=>t(),children:e.get("new-conversation")},"new-session")})]}):m.jsxs("div",{className:"flex-1 flex flex-col gap-2 items-center",children:[m.jsx("div",{className:"flex-1 flex items-center justify-center",children:m.jsx("p",{className:"text-muted-foreground",children:"No conversations yet"})}),m.jsx(Le,{size:"lg",className:"w-full rounded-3xl",onClick:()=>t(),children:e.get("new-conversation")},"new-session")]})},"sessions")})})}function Mb(){const{observedElementRef:e}=Dr({fallbackHeight:Oi});return m.jsx("div",{ref:e,className:V(Lr.widgetHeight,"w-full flex flex-col overflow-hidden bg-background"),children:m.jsxs("div",{className:"size-full flex flex-col",children:[m.jsx(ji,{}),m.jsx(Pb,{})]})})}function Bb(){X.usePreludeData();const{routerState:{screen:e}}=X.useWidgetRouter();return m.jsxs("div",{className:"relative bg-background size-full",children:[m.jsx(jn.Container,{}),m.jsx(ge.AnimatePresence,{mode:"wait",children:(()=>{switch(e){case"welcome":return m.jsx(ue,{fadeIn:"right",className:"size-full",snapExit:!0,children:m.jsx(Db,{})},e);case"sessions":return m.jsx(ue,{fadeIn:"right",className:"size-full",snapExit:!0,children:m.jsx(Mb,{})},e);case"chat":return m.jsx(ue,{fadeIn:"right",className:"size-full",snapExit:!0,children:m.jsx(Lb,{})},e);default:return null}})()})]})}const Ko='@import"https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..700;1,14..32,100..700&display=swap";@import"https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap";[data-opencx-widget] *,[data-opencx-widget] :before,[data-opencx-widget] :after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }[data-opencx-widget] ::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }[data-opencx-widget] *,[data-opencx-widget] :before,[data-opencx-widget] :after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}[data-opencx-widget] :before,[data-opencx-widget] :after{--tw-content: ""}[data-opencx-widget] html,[data-opencx-widget] :host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}[data-opencx-widget] body{margin:0;line-height:inherit}[data-opencx-widget] hr{height:0;color:inherit;border-top-width:1px}[data-opencx-widget] abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}[data-opencx-widget] h1,[data-opencx-widget] h2,[data-opencx-widget] h3,[data-opencx-widget] h4,[data-opencx-widget] h5,[data-opencx-widget] h6{font-size:inherit;font-weight:inherit}[data-opencx-widget] a{color:inherit;text-decoration:inherit}[data-opencx-widget] b,[data-opencx-widget] strong{font-weight:bolder}[data-opencx-widget] code,[data-opencx-widget] kbd,[data-opencx-widget] samp,[data-opencx-widget] pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}[data-opencx-widget] small{font-size:80%}[data-opencx-widget] sub,[data-opencx-widget] sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}[data-opencx-widget] sub{bottom:-.25em}[data-opencx-widget] sup{top:-.5em}[data-opencx-widget] table{text-indent:0;border-color:inherit;border-collapse:collapse}[data-opencx-widget] button,[data-opencx-widget] input,[data-opencx-widget] optgroup,[data-opencx-widget] select,[data-opencx-widget] textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}[data-opencx-widget] button,[data-opencx-widget] select{text-transform:none}[data-opencx-widget] button,[data-opencx-widget] input:where([type=button]),[data-opencx-widget] input:where([type=reset]),[data-opencx-widget] input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}[data-opencx-widget] :-moz-focusring{outline:auto}[data-opencx-widget] :-moz-ui-invalid{box-shadow:none}[data-opencx-widget] progress{vertical-align:baseline}[data-opencx-widget] ::-webkit-inner-spin-button,[data-opencx-widget] ::-webkit-outer-spin-button{height:auto}[data-opencx-widget] [type=search]{-webkit-appearance:textfield;outline-offset:-2px}[data-opencx-widget] ::-webkit-search-decoration{-webkit-appearance:none}[data-opencx-widget] ::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}[data-opencx-widget] summary{display:list-item}[data-opencx-widget] blockquote,[data-opencx-widget] dl,[data-opencx-widget] dd,[data-opencx-widget] h1,[data-opencx-widget] h2,[data-opencx-widget] h3,[data-opencx-widget] h4,[data-opencx-widget] h5,[data-opencx-widget] h6,[data-opencx-widget] hr,[data-opencx-widget] figure,[data-opencx-widget] p,[data-opencx-widget] pre{margin:0}[data-opencx-widget] fieldset{margin:0;padding:0}[data-opencx-widget] legend{padding:0}[data-opencx-widget] ol,[data-opencx-widget] ul,[data-opencx-widget] menu{list-style:none;margin:0;padding:0}[data-opencx-widget] dialog{padding:0}[data-opencx-widget] textarea{resize:vertical}[data-opencx-widget] input::-moz-placeholder,[data-opencx-widget] textarea::-moz-placeholder{opacity:1;color:#9ca3af}[data-opencx-widget] input::placeholder,[data-opencx-widget] textarea::placeholder{opacity:1;color:#9ca3af}[data-opencx-widget] button,[data-opencx-widget] [role=button]{cursor:pointer}[data-opencx-widget] :disabled{cursor:default}[data-opencx-widget] img,[data-opencx-widget] svg,[data-opencx-widget] video,[data-opencx-widget] canvas,[data-opencx-widget] audio,[data-opencx-widget] iframe,[data-opencx-widget] embed,[data-opencx-widget] object{display:block;vertical-align:middle}[data-opencx-widget] img,[data-opencx-widget] video{max-width:100%;height:auto}[data-opencx-widget] [hidden]:where(:not([hidden=until-found])){display:none}[data-opencx-widget] *{-ms-overflow-style:none;scrollbar-width:none}[data-opencx-widget] *::-webkit-scrollbar{display:none}[data-opencx-widget] *{border-color:hsl(var(--opencx-border))}[data-opencx-widget] .container{width:100%}@media (min-width: 640px){[data-opencx-widget] .container{max-width:640px}}@media (min-width: 768px){[data-opencx-widget] .container{max-width:768px}}@media (min-width: 1024px){[data-opencx-widget] .container{max-width:1024px}}@media (min-width: 1280px){[data-opencx-widget] .container{max-width:1280px}}@media (min-width: 1536px){[data-opencx-widget] .container{max-width:1536px}}[data-opencx-widget] .prose{color:var(--tw-prose-body);max-width:65ch}[data-opencx-widget] .prose :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}[data-opencx-widget] .prose :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-lead);font-size:1.25em;line-height:1.6;margin-top:1.2em;margin-bottom:1.2em}[data-opencx-widget] .prose :where(a):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-links);text-decoration:underline;font-weight:500}[data-opencx-widget] .prose :where(strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-bold);font-weight:600}[data-opencx-widget] .prose :where(a strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}[data-opencx-widget] .prose :where(blockquote strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}[data-opencx-widget] .prose :where(thead th strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}[data-opencx-widget] .prose :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal;margin-top:1.25em;margin-bottom:1.25em;padding-inline-start:1.625em}[data-opencx-widget] .prose :where(ol[type=A]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}[data-opencx-widget] .prose :where(ol[type=a]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}[data-opencx-widget] .prose :where(ol[type=A s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}[data-opencx-widget] .prose :where(ol[type=a s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}[data-opencx-widget] .prose :where(ol[type=I]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}[data-opencx-widget] .prose :where(ol[type=i]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}[data-opencx-widget] .prose :where(ol[type=I s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}[data-opencx-widget] .prose :where(ol[type=i s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}[data-opencx-widget] .prose :where(ol[type="1"]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal}[data-opencx-widget] .prose :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:disc;margin-top:1.25em;margin-bottom:1.25em;padding-inline-start:1.625em}[data-opencx-widget] .prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{font-weight:400;color:var(--tw-prose-counters)}[data-opencx-widget] .prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{color:var(--tw-prose-bullets)}[data-opencx-widget] .prose :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.25em}[data-opencx-widget] .prose :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){border-color:var(--tw-prose-hr);border-top-width:1px;margin-top:3em;margin-bottom:3em}[data-opencx-widget] .prose :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500;font-style:italic;color:var(--tw-prose-quotes);border-inline-start-width:.25rem;border-inline-start-color:var(--tw-prose-quote-borders);quotes:"“""”""‘""’";margin-top:1.6em;margin-bottom:1.6em;padding-inline-start:1em}[data-opencx-widget] .prose :where(blockquote p:first-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:open-quote}[data-opencx-widget] .prose :where(blockquote p:last-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:close-quote}[data-opencx-widget] .prose :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:800;font-size:2.25em;margin-top:0;margin-bottom:.8888889em;line-height:1.1111111}[data-opencx-widget] .prose :where(h1 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:900;color:inherit}[data-opencx-widget] .prose :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:700;font-size:1.5em;margin-top:2em;margin-bottom:1em;line-height:1.3333333}[data-opencx-widget] .prose :where(h2 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:800;color:inherit}[data-opencx-widget] .prose :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;font-size:1.25em;margin-top:1.6em;margin-bottom:.6em;line-height:1.6}[data-opencx-widget] .prose :where(h3 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}[data-opencx-widget] .prose :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.5em;margin-bottom:.5em;line-height:1.5}[data-opencx-widget] .prose :where(h4 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}[data-opencx-widget] .prose :where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}[data-opencx-widget] .prose :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){display:block;margin-top:2em;margin-bottom:2em}[data-opencx-widget] .prose :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}[data-opencx-widget] .prose :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500;font-family:inherit;color:var(--tw-prose-kbd);box-shadow:0 0 0 1px rgb(var(--tw-prose-kbd-shadows) / 10%),0 3px rgb(var(--tw-prose-kbd-shadows) / 10%);font-size:.875em;border-radius:.3125rem;padding-top:.1875em;padding-inline-end:.375em;padding-bottom:.1875em;padding-inline-start:.375em}[data-opencx-widget] .prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-code);font-weight:600;font-size:.875em}[data-opencx-widget] .prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:"`"}[data-opencx-widget] .prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:"`"}[data-opencx-widget] .prose :where(a code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}[data-opencx-widget] .prose :where(h1 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}[data-opencx-widget] .prose :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.875em}[data-opencx-widget] .prose :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.9em}[data-opencx-widget] .prose :where(h4 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}[data-opencx-widget] .prose :where(blockquote code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}[data-opencx-widget] .prose :where(thead th code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}[data-opencx-widget] .prose :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-pre-code);background-color:var(--tw-prose-pre-bg);overflow-x:auto;font-weight:400;font-size:.875em;line-height:1.7142857;margin-top:1.7142857em;margin-bottom:1.7142857em;border-radius:.375rem;padding-top:.8571429em;padding-inline-end:1.1428571em;padding-bottom:.8571429em;padding-inline-start:1.1428571em}[data-opencx-widget] .prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)){background-color:transparent;border-width:0;border-radius:0;padding:0;font-weight:inherit;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}[data-opencx-widget] .prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:none}[data-opencx-widget] .prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:none}[data-opencx-widget] .prose :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){width:100%;table-layout:auto;margin-top:2em;margin-bottom:2em;font-size:.875em;line-height:1.7142857}[data-opencx-widget] .prose :where(thead):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-th-borders)}[data-opencx-widget] .prose :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;vertical-align:bottom;padding-inline-end:.5714286em;padding-bottom:.5714286em;padding-inline-start:.5714286em}[data-opencx-widget] .prose :where(tbody tr):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-td-borders)}[data-opencx-widget] .prose :where(tbody tr:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:0}[data-opencx-widget] .prose :where(tbody td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:baseline}[data-opencx-widget] .prose :where(tfoot):not(:where([class~=not-prose],[class~=not-prose] *)){border-top-width:1px;border-top-color:var(--tw-prose-th-borders)}[data-opencx-widget] .prose :where(tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:top}[data-opencx-widget] .prose :where(th,td):not(:where([class~=not-prose],[class~=not-prose] *)){text-align:start}[data-opencx-widget] .prose :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}[data-opencx-widget] .prose :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-captions);font-size:.875em;line-height:1.4285714;margin-top:.8571429em}[data-opencx-widget] .prose{--tw-prose-body: #374151;--tw-prose-headings: #111827;--tw-prose-lead: #4b5563;--tw-prose-links: #111827;--tw-prose-bold: #111827;--tw-prose-counters: #6b7280;--tw-prose-bullets: #d1d5db;--tw-prose-hr: #e5e7eb;--tw-prose-quotes: #111827;--tw-prose-quote-borders: #e5e7eb;--tw-prose-captions: #6b7280;--tw-prose-kbd: #111827;--tw-prose-kbd-shadows: 17 24 39;--tw-prose-code: #111827;--tw-prose-pre-code: #e5e7eb;--tw-prose-pre-bg: #1f2937;--tw-prose-th-borders: #d1d5db;--tw-prose-td-borders: #e5e7eb;--tw-prose-invert-body: #d1d5db;--tw-prose-invert-headings: #fff;--tw-prose-invert-lead: #9ca3af;--tw-prose-invert-links: #fff;--tw-prose-invert-bold: #fff;--tw-prose-invert-counters: #9ca3af;--tw-prose-invert-bullets: #4b5563;--tw-prose-invert-hr: #374151;--tw-prose-invert-quotes: #f3f4f6;--tw-prose-invert-quote-borders: #374151;--tw-prose-invert-captions: #9ca3af;--tw-prose-invert-kbd: #fff;--tw-prose-invert-kbd-shadows: 255 255 255;--tw-prose-invert-code: #fff;--tw-prose-invert-pre-code: #d1d5db;--tw-prose-invert-pre-bg: rgb(0 0 0 / 50%);--tw-prose-invert-th-borders: #4b5563;--tw-prose-invert-td-borders: #374151;font-size:1rem;line-height:1.75}[data-opencx-widget] .prose :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}[data-opencx-widget] .prose :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;margin-bottom:.5em}[data-opencx-widget] .prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.375em}[data-opencx-widget] .prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.375em}[data-opencx-widget] .prose :where(.prose>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}[data-opencx-widget] .prose :where(.prose>ul>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}[data-opencx-widget] .prose :where(.prose>ul>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}[data-opencx-widget] .prose :where(.prose>ol>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}[data-opencx-widget] .prose :where(.prose>ol>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}[data-opencx-widget] .prose :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}[data-opencx-widget] .prose :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}[data-opencx-widget] .prose :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;padding-inline-start:1.625em}[data-opencx-widget] .prose :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}[data-opencx-widget] .prose :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}[data-opencx-widget] .prose :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}[data-opencx-widget] .prose :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}[data-opencx-widget] .prose :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}[data-opencx-widget] .prose :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}[data-opencx-widget] .prose :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.5714286em;padding-inline-end:.5714286em;padding-bottom:.5714286em;padding-inline-start:.5714286em}[data-opencx-widget] .prose :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}[data-opencx-widget] .prose :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}[data-opencx-widget] .prose :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}[data-opencx-widget] .prose :where(.prose>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}[data-opencx-widget] .prose :where(.prose>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}[data-opencx-widget] .prose-sm{font-size:.875rem;line-height:1.7142857}[data-opencx-widget] .prose-sm :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em}[data-opencx-widget] .prose-sm :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:1.2857143em;line-height:1.5555556;margin-top:.8888889em;margin-bottom:.8888889em}[data-opencx-widget] .prose-sm :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.3333333em;margin-bottom:1.3333333em;padding-inline-start:1.1111111em}[data-opencx-widget] .prose-sm :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:2.1428571em;margin-top:0;margin-bottom:.8em;line-height:1.2}[data-opencx-widget] .prose-sm :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:1.4285714em;margin-top:1.6em;margin-bottom:.8em;line-height:1.4}[data-opencx-widget] .prose-sm :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:1.2857143em;margin-top:1.5555556em;margin-bottom:.4444444em;line-height:1.5555556}[data-opencx-widget] .prose-sm :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.4285714em;margin-bottom:.5714286em;line-height:1.4285714}[data-opencx-widget] .prose-sm :where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}[data-opencx-widget] .prose-sm :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}[data-opencx-widget] .prose-sm :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}[data-opencx-widget] .prose-sm :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}[data-opencx-widget] .prose-sm :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;border-radius:.3125rem;padding-top:.1428571em;padding-inline-end:.3571429em;padding-bottom:.1428571em;padding-inline-start:.3571429em}[data-opencx-widget] .prose-sm :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em}[data-opencx-widget] .prose-sm :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.9em}[data-opencx-widget] .prose-sm :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8888889em}[data-opencx-widget] .prose-sm :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;line-height:1.6666667;margin-top:1.6666667em;margin-bottom:1.6666667em;border-radius:.25rem;padding-top:.6666667em;padding-inline-end:1em;padding-bottom:.6666667em;padding-inline-start:1em}[data-opencx-widget] .prose-sm :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em;padding-inline-start:1.5714286em}[data-opencx-widget] .prose-sm :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em;padding-inline-start:1.5714286em}[data-opencx-widget] .prose-sm :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.2857143em;margin-bottom:.2857143em}[data-opencx-widget] .prose-sm :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.4285714em}[data-opencx-widget] .prose-sm :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.4285714em}[data-opencx-widget] .prose-sm :where(.prose-sm>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5714286em;margin-bottom:.5714286em}[data-opencx-widget] .prose-sm :where(.prose-sm>ul>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em}[data-opencx-widget] .prose-sm :where(.prose-sm>ul>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.1428571em}[data-opencx-widget] .prose-sm :where(.prose-sm>ol>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em}[data-opencx-widget] .prose-sm :where(.prose-sm>ol>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.1428571em}[data-opencx-widget] .prose-sm :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5714286em;margin-bottom:.5714286em}[data-opencx-widget] .prose-sm :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em}[data-opencx-widget] .prose-sm :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em}[data-opencx-widget] .prose-sm :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.2857143em;padding-inline-start:1.5714286em}[data-opencx-widget] .prose-sm :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2.8571429em;margin-bottom:2.8571429em}[data-opencx-widget] .prose-sm :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}[data-opencx-widget] .prose-sm :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}[data-opencx-widget] .prose-sm :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}[data-opencx-widget] .prose-sm :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}[data-opencx-widget] .prose-sm :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;line-height:1.5}[data-opencx-widget] .prose-sm :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:1em;padding-bottom:.6666667em;padding-inline-start:1em}[data-opencx-widget] .prose-sm :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}[data-opencx-widget] .prose-sm :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}[data-opencx-widget] .prose-sm :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.6666667em;padding-inline-end:1em;padding-bottom:.6666667em;padding-inline-start:1em}[data-opencx-widget] .prose-sm :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}[data-opencx-widget] .prose-sm :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}[data-opencx-widget] .prose-sm :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}[data-opencx-widget] .prose-sm :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}[data-opencx-widget] .prose-sm :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;line-height:1.3333333;margin-top:.6666667em}[data-opencx-widget] .prose-sm :where(.prose-sm>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}[data-opencx-widget] .prose-sm :where(.prose-sm>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}[data-opencx-widget] .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}[data-opencx-widget] .pointer-events-none{pointer-events:none}[data-opencx-widget] .visible{visibility:visible}[data-opencx-widget] .static{position:static}[data-opencx-widget] .fixed{position:fixed}[data-opencx-widget] .absolute{position:absolute}[data-opencx-widget] .relative{position:relative}[data-opencx-widget] .sticky{position:sticky}[data-opencx-widget] .inset-0{top:0;right:0;bottom:0;left:0}[data-opencx-widget] .bottom-0{bottom:0}[data-opencx-widget] .left-0{left:0}[data-opencx-widget] .left-2{left:.5rem}[data-opencx-widget] .left-\\[50\\%\\]{left:50%}[data-opencx-widget] .right-4{right:1rem}[data-opencx-widget] .top-0{top:0}[data-opencx-widget] .top-4{top:1rem}[data-opencx-widget] .top-\\[50\\%\\]{top:50%}[data-opencx-widget] .isolate{isolation:isolate}[data-opencx-widget] .z-10{z-index:10}[data-opencx-widget] .z-50{z-index:50}[data-opencx-widget] .-mx-1{margin-left:-.25rem;margin-right:-.25rem}[data-opencx-widget] .my-1{margin-top:.25rem;margin-bottom:.25rem}[data-opencx-widget] .mb-2{margin-bottom:.5rem}[data-opencx-widget] .ml-auto{margin-left:auto}[data-opencx-widget] .mt-auto{margin-top:auto}[data-opencx-widget] .line-clamp-1{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}[data-opencx-widget] .line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}[data-opencx-widget] .block{display:block}[data-opencx-widget] .inline{display:inline}[data-opencx-widget] .flex{display:flex}[data-opencx-widget] .inline-flex{display:inline-flex}[data-opencx-widget] .grid{display:grid}[data-opencx-widget] .contents{display:contents}[data-opencx-widget] .hidden{display:none}[data-opencx-widget] .aspect-square{aspect-ratio:1 / 1}[data-opencx-widget] .size-10{width:2.5rem;height:2.5rem}[data-opencx-widget] .size-12{width:3rem;height:3rem}[data-opencx-widget] .size-16{width:4rem;height:4rem}[data-opencx-widget] .size-3{width:.75rem;height:.75rem}[data-opencx-widget] .size-3\\.5{width:.875rem;height:.875rem}[data-opencx-widget] .size-4{width:1rem;height:1rem}[data-opencx-widget] .size-6{width:1.5rem;height:1.5rem}[data-opencx-widget] .size-8{width:2rem;height:2rem}[data-opencx-widget] .size-auto{width:auto;height:auto}[data-opencx-widget] .size-fit{width:-moz-fit-content;width:fit-content;height:-moz-fit-content;height:fit-content}[data-opencx-widget] .size-full{width:100%;height:100%}[data-opencx-widget] .h-10{height:2.5rem}[data-opencx-widget] .h-2{height:.5rem}[data-opencx-widget] .h-3\\.5{height:.875rem}[data-opencx-widget] .h-4{height:1rem}[data-opencx-widget] .h-5{height:1.25rem}[data-opencx-widget] .h-8{height:2rem}[data-opencx-widget] .h-\\[600px\\]{height:600px}[data-opencx-widget] .h-fit{height:-moz-fit-content;height:fit-content}[data-opencx-widget] .h-full{height:100%}[data-opencx-widget] .h-px{height:1px}[data-opencx-widget] .max-h-\\[600px\\]{max-height:600px}[data-opencx-widget] .max-h-full{max-height:100%}[data-opencx-widget] .min-h-12{min-height:3rem}[data-opencx-widget] .min-h-\\[400px\\]{min-height:400px}[data-opencx-widget] .w-1\\/2{width:50%}[data-opencx-widget] .w-10{width:2.5rem}[data-opencx-widget] .w-2{width:.5rem}[data-opencx-widget] .w-3\\.5{width:.875rem}[data-opencx-widget] .w-4{width:1rem}[data-opencx-widget] .w-5\\/6{width:83.333333%}[data-opencx-widget] .w-60{width:15rem}[data-opencx-widget] .w-9{width:2.25rem}[data-opencx-widget] .w-auto{width:auto}[data-opencx-widget] .w-fit{width:-moz-fit-content;width:fit-content}[data-opencx-widget] .w-full{width:100%}[data-opencx-widget] .min-w-56{min-width:14rem}[data-opencx-widget] .min-w-\\[8rem\\]{min-width:8rem}[data-opencx-widget] .max-w-\\[320px\\]{max-width:320px}[data-opencx-widget] .max-w-full{max-width:100%}[data-opencx-widget] .max-w-lg{max-width:32rem}[data-opencx-widget] .max-w-xs{max-width:20rem}[data-opencx-widget] .flex-1{flex:1 1 0%}[data-opencx-widget] .shrink-0{flex-shrink:0}[data-opencx-widget] .translate-x-\\[-50\\%\\]{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}[data-opencx-widget] .translate-x-\\[var\\(--opencx-wobble-x\\)\\]{--tw-translate-x: var(--opencx-wobble-x);transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}[data-opencx-widget] .translate-y-\\[-50\\%\\]{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}[data-opencx-widget] .translate-y-\\[var\\(--opencx-wobble-y\\)\\]{--tw-translate-y: var(--opencx-wobble-y);transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}[data-opencx-widget] .scale-\\[1\\.01\\]{--tw-scale-x: 1.01;--tw-scale-y: 1.01;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}[data-opencx-widget] .scale-\\[1\\.02\\]{--tw-scale-x: 1.02;--tw-scale-y: 1.02;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}[data-opencx-widget] .scale-\\[1\\.1\\]{--tw-scale-x: 1.1;--tw-scale-y: 1.1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}[data-opencx-widget] .scale-\\[1\\]{--tw-scale-x: 1;--tw-scale-y: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes bounce{0%,to{transform:translateY(-25%);animation-timing-function:cubic-bezier(.8,0,1,1)}50%{transform:none;animation-timing-function:cubic-bezier(0,0,.2,1)}}[data-opencx-widget] .animate-bounce{animation:bounce 1s infinite}@keyframes pulse{50%{opacity:.5}}[data-opencx-widget] .animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes spin{to{transform:rotate(360deg)}}[data-opencx-widget] .animate-spin{animation:spin 1s linear infinite}[data-opencx-widget] .cursor-default{cursor:default}[data-opencx-widget] .cursor-not-allowed{cursor:not-allowed}[data-opencx-widget] .cursor-pointer{cursor:pointer}[data-opencx-widget] .select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}[data-opencx-widget] .resize-none{resize:none}[data-opencx-widget] .flex-row{flex-direction:row}[data-opencx-widget] .flex-col{flex-direction:column}[data-opencx-widget] .flex-col-reverse{flex-direction:column-reverse}[data-opencx-widget] .flex-wrap{flex-wrap:wrap}[data-opencx-widget] .items-start{align-items:flex-start}[data-opencx-widget] .items-end{align-items:flex-end}[data-opencx-widget] .items-center{align-items:center}[data-opencx-widget] .justify-start{justify-content:flex-start}[data-opencx-widget] .justify-end{justify-content:flex-end}[data-opencx-widget] .justify-center{justify-content:center}[data-opencx-widget] .justify-between{justify-content:space-between}[data-opencx-widget] .gap-0{gap:0px}[data-opencx-widget] .gap-0\\.5{gap:.125rem}[data-opencx-widget] .gap-1{gap:.25rem}[data-opencx-widget] .gap-2{gap:.5rem}[data-opencx-widget] .gap-4{gap:1rem}[data-opencx-widget] .space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}[data-opencx-widget] .space-y-1\\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.375rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.375rem * var(--tw-space-y-reverse))}[data-opencx-widget] .space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}[data-opencx-widget] .space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}[data-opencx-widget] .overflow-auto{overflow:auto}[data-opencx-widget] .overflow-hidden{overflow:hidden}[data-opencx-widget] .overflow-scroll{overflow:scroll}[data-opencx-widget] .scroll-smooth{scroll-behavior:smooth}[data-opencx-widget] .text-ellipsis{text-overflow:ellipsis}[data-opencx-widget] .whitespace-normal{white-space:normal}[data-opencx-widget] .whitespace-nowrap{white-space:nowrap}[data-opencx-widget] .whitespace-pre-wrap{white-space:pre-wrap}[data-opencx-widget] .break-words{overflow-wrap:break-word}[data-opencx-widget] .rounded-2xl{border-radius:1rem}[data-opencx-widget] .rounded-3xl{border-radius:1.5rem}[data-opencx-widget] .rounded-full{border-radius:9999px}[data-opencx-widget] .rounded-lg{border-radius:.5rem}[data-opencx-widget] .rounded-md{border-radius:.375rem}[data-opencx-widget] .rounded-sm{border-radius:.125rem}[data-opencx-widget] .rounded-xl{border-radius:.75rem}[data-opencx-widget] .rounded-t-3xl{border-top-left-radius:1.5rem;border-top-right-radius:1.5rem}[data-opencx-widget] .border{border-width:1px}[data-opencx-widget] .border-2{border-width:2px}[data-opencx-widget] .border-b{border-bottom-width:1px}[data-opencx-widget] .border-none{border-style:none}[data-opencx-widget] .border-destructive{border-color:hsl(var(--opencx-destructive))}[data-opencx-widget] .border-input{border-color:hsl(var(--opencx-input))}[data-opencx-widget] .border-muted{border-color:hsl(var(--opencx-muted))}[data-opencx-widget] .border-primary{border-color:hsl(var(--opencx-primary))}[data-opencx-widget] .border-transparent{border-color:transparent}[data-opencx-widget] .bg-background{background-color:hsl(var(--opencx-background))}[data-opencx-widget] .bg-black\\/50{background-color:#00000080}[data-opencx-widget] .bg-black\\/80{background-color:#000c}[data-opencx-widget] .bg-destructive{background-color:hsl(var(--opencx-destructive))}[data-opencx-widget] .bg-muted{background-color:hsl(var(--opencx-muted))}[data-opencx-widget] .bg-primary{background-color:hsl(var(--opencx-primary))}[data-opencx-widget] .bg-secondary{background-color:hsl(var(--opencx-secondary))}[data-opencx-widget] .bg-transparent{background-color:transparent}[data-opencx-widget] .bg-gradient-to-t{background-image:linear-gradient(to top,var(--tw-gradient-stops))}[data-opencx-widget] .from-primary\\/50{--tw-gradient-from: hsl(var(--opencx-primary) / .5) var(--tw-gradient-from-position);--tw-gradient-to: hsl(var(--opencx-primary) / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}[data-opencx-widget] .via-primary{--tw-gradient-to: hsl(var(--opencx-primary) / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), hsl(var(--opencx-primary)) var(--tw-gradient-via-position), var(--tw-gradient-to)}[data-opencx-widget] .to-primary{--tw-gradient-to: hsl(var(--opencx-primary)) var(--tw-gradient-to-position)}[data-opencx-widget] .fill-current{fill:currentColor}[data-opencx-widget] .object-contain{-o-object-fit:contain;object-fit:contain}[data-opencx-widget] .object-cover{-o-object-fit:cover;object-fit:cover}[data-opencx-widget] .p-0{padding:0}[data-opencx-widget] .p-1{padding:.25rem}[data-opencx-widget] .p-2{padding:.5rem}[data-opencx-widget] .p-4{padding:1rem}[data-opencx-widget] .p-6{padding:1.5rem}[data-opencx-widget] .px-2{padding-left:.5rem;padding-right:.5rem}[data-opencx-widget] .px-3{padding-left:.75rem;padding-right:.75rem}[data-opencx-widget] .px-4{padding-left:1rem;padding-right:1rem}[data-opencx-widget] .py-1\\.5{padding-top:.375rem;padding-bottom:.375rem}[data-opencx-widget] .py-12{padding-top:3rem;padding-bottom:3rem}[data-opencx-widget] .py-2{padding-top:.5rem;padding-bottom:.5rem}[data-opencx-widget] .pb-0{padding-bottom:0}[data-opencx-widget] .pl-2{padding-left:.5rem}[data-opencx-widget] .pl-3{padding-left:.75rem}[data-opencx-widget] .pl-8{padding-left:2rem}[data-opencx-widget] .pr-2{padding-right:.5rem}[data-opencx-widget] .text-center{text-align:center}[data-opencx-widget] .text-start{text-align:start}[data-opencx-widget] .align-middle{vertical-align:middle}[data-opencx-widget] .font-inter{font-family:Inter,Rubik,serif,sans-serif}[data-opencx-widget] .text-2xl{font-size:1.5rem;line-height:2rem}[data-opencx-widget] .text-lg{font-size:1.125rem;line-height:1.75rem}[data-opencx-widget] .text-sm{font-size:.875rem;line-height:1.25rem}[data-opencx-widget] .text-xl{font-size:1.25rem;line-height:1.75rem}[data-opencx-widget] .text-xs{font-size:.75rem;line-height:1rem}[data-opencx-widget] .font-bold{font-weight:700}[data-opencx-widget] .font-medium{font-weight:500}[data-opencx-widget] .font-semibold{font-weight:600}[data-opencx-widget] .leading-none{line-height:1}[data-opencx-widget] .leading-relaxed{line-height:1.625}[data-opencx-widget] .leading-snug{line-height:1.375}[data-opencx-widget] .leading-tight{line-height:1.25}[data-opencx-widget] .tracking-tight{letter-spacing:-.025em}[data-opencx-widget] .tracking-widest{letter-spacing:.1em}[data-opencx-widget] .text-blue-500{--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity))}[data-opencx-widget] .text-destructive{color:hsl(var(--opencx-destructive))}[data-opencx-widget] .text-destructive-foreground{color:hsl(var(--opencx-destructive-foreground))}[data-opencx-widget] .text-emerald-500{--tw-text-opacity: 1;color:rgb(16 185 129 / var(--tw-text-opacity))}[data-opencx-widget] .text-foreground{color:hsl(var(--opencx-foreground))}[data-opencx-widget] .text-green-500{--tw-text-opacity: 1;color:rgb(34 197 94 / var(--tw-text-opacity))}[data-opencx-widget] .text-muted-foreground{color:hsl(var(--opencx-muted-foreground))}[data-opencx-widget] .text-primary{color:hsl(var(--opencx-primary))}[data-opencx-widget] .text-primary-foreground{color:hsl(var(--opencx-primary-foreground))}[data-opencx-widget] .text-primary-foreground\\/90{color:hsl(var(--opencx-primary-foreground) / .9)}[data-opencx-widget] .text-red-500{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity))}[data-opencx-widget] .text-secondary-foreground{color:hsl(var(--opencx-secondary-foreground))}[data-opencx-widget] .underline{text-decoration-line:underline}[data-opencx-widget] .underline-offset-4{text-underline-offset:4px}[data-opencx-widget] .antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}[data-opencx-widget] .opacity-0{opacity:0}[data-opencx-widget] .opacity-50{opacity:.5}[data-opencx-widget] .opacity-60{opacity:.6}[data-opencx-widget] .opacity-70{opacity:.7}[data-opencx-widget] .shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-opencx-widget] .shadow-2xl{--tw-shadow: 0 25px 50px -12px rgb(0 0 0 / .25);--tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-opencx-widget] .shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-opencx-widget] .shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-opencx-widget] .shadow-none{--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-opencx-widget] .shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-opencx-widget] .shadow-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-opencx-widget] .outline-none{outline:2px solid transparent;outline-offset:2px}[data-opencx-widget] .outline{outline-style:solid}[data-opencx-widget] .outline-8{outline-width:8px}[data-opencx-widget] .outline-background{outline-color:hsl(var(--opencx-background))}[data-opencx-widget] .ring-0{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}[data-opencx-widget] .ring-offset-background{--tw-ring-offset-color: hsl(var(--opencx-background))}[data-opencx-widget] .filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}[data-opencx-widget] .backdrop-blur{--tw-backdrop-blur: blur(8px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}[data-opencx-widget] .transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}[data-opencx-widget] .transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}[data-opencx-widget] .transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}[data-opencx-widget] .transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}[data-opencx-widget] .transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}[data-opencx-widget] .duration-200{transition-duration:.2s}[data-opencx-widget] .ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}@keyframes enter{0%{opacity:var(--tw-enter-opacity, 1);transform:translate3d(var(--tw-enter-translate-x, 0),var(--tw-enter-translate-y, 0),0) scale3d(var(--tw-enter-scale, 1),var(--tw-enter-scale, 1),var(--tw-enter-scale, 1)) rotate(var(--tw-enter-rotate, 0))}}@keyframes exit{to{opacity:var(--tw-exit-opacity, 1);transform:translate3d(var(--tw-exit-translate-x, 0),var(--tw-exit-translate-y, 0),0) scale3d(var(--tw-exit-scale, 1),var(--tw-exit-scale, 1),var(--tw-exit-scale, 1)) rotate(var(--tw-exit-rotate, 0))}}[data-opencx-widget] .animate-in{animation-name:enter;animation-duration:.15s;--tw-enter-opacity: initial;--tw-enter-scale: initial;--tw-enter-rotate: initial;--tw-enter-translate-x: initial;--tw-enter-translate-y: initial}[data-opencx-widget] .fade-in-0{--tw-enter-opacity: 0}[data-opencx-widget] .zoom-in-95{--tw-enter-scale: .95}[data-opencx-widget] .duration-200{animation-duration:.2s}[data-opencx-widget] .ease-out{animation-timing-function:cubic-bezier(0,0,.2,1)}[data-opencx-widget] .\\[animation-delay\\:-0\\.15s\\]{animation-delay:-.15s}[data-opencx-widget] .\\[animation-delay\\:-0\\.3s\\]{animation-delay:-.3s}[data-opencx-widget] .\\[background\\:radial-gradient\\(50\\%_50\\%_at_50\\%_100\\%\\,hsl\\(var\\(--opencx-primary-foreground\\)\\)_-75\\%\\,hsl\\(var\\(--opencx-primary\\)\\)_100\\%\\)\\]{background:radial-gradient(50% 50% at 50% 100%,hsl(var(--opencx-primary-foreground)) -75%,hsl(var(--opencx-primary)))}[data-opencx-widget] .\\[word-break\\:break-word\\]{word-break:break-word}[data-opencx-widget] .required:after{content:" *";color:red}[data-opencx-widget] .file\\:border-0::file-selector-button{border-width:0px}[data-opencx-widget] .file\\:bg-transparent::file-selector-button{background-color:transparent}[data-opencx-widget] .file\\:text-sm::file-selector-button{font-size:.875rem;line-height:1.25rem}[data-opencx-widget] .file\\:font-medium::file-selector-button{font-weight:500}[data-opencx-widget] .file\\:text-primary-foreground::file-selector-button{color:hsl(var(--opencx-primary-foreground))}[data-opencx-widget] .placeholder\\:text-muted-foreground::-moz-placeholder{color:hsl(var(--opencx-muted-foreground))}[data-opencx-widget] .placeholder\\:text-muted-foreground::placeholder{color:hsl(var(--opencx-muted-foreground))}[data-opencx-widget] .hover\\:bg-accent:hover{background-color:hsl(var(--opencx-accent))}[data-opencx-widget] .hover\\:bg-green-50\\/50:hover{background-color:#f0fdf480}[data-opencx-widget] .hover\\:bg-red-50\\/50:hover{background-color:#fef2f280}[data-opencx-widget] .hover\\:text-accent-foreground:hover{color:hsl(var(--opencx-accent-foreground))}[data-opencx-widget] .hover\\:text-blue-600:hover{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity))}[data-opencx-widget] .hover\\:text-green-500:hover{--tw-text-opacity: 1;color:rgb(34 197 94 / var(--tw-text-opacity))}[data-opencx-widget] .hover\\:text-primary:hover{color:hsl(var(--opencx-primary))}[data-opencx-widget] .hover\\:text-red-500:hover{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity))}[data-opencx-widget] .hover\\:underline:hover{text-decoration-line:underline}[data-opencx-widget] .hover\\:opacity-100:hover{opacity:1}[data-opencx-widget] .focus\\:bg-accent:focus{background-color:hsl(var(--opencx-accent))}[data-opencx-widget] .focus\\:text-accent-foreground:focus{color:hsl(var(--opencx-accent-foreground))}[data-opencx-widget] .focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}[data-opencx-widget] .focus\\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}[data-opencx-widget] .focus\\:ring-ring:focus{--tw-ring-color: hsl(var(--opencx-ring))}[data-opencx-widget] .focus\\:ring-offset-2:focus{--tw-ring-offset-width: 2px}[data-opencx-widget] .focus-visible\\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}[data-opencx-widget] .focus-visible\\:ring-2:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}[data-opencx-widget] .focus-visible\\:ring-ring:focus-visible{--tw-ring-color: hsl(var(--opencx-ring))}[data-opencx-widget] .focus-visible\\:ring-offset-2:focus-visible{--tw-ring-offset-width: 2px}[data-opencx-widget] .focus-visible\\:ring-offset-background:focus-visible{--tw-ring-offset-color: hsl(var(--opencx-background))}[data-opencx-widget] .active\\:scale-90:active{--tw-scale-x: .9;--tw-scale-y: .9;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}[data-opencx-widget] .active\\:scale-95:active{--tw-scale-x: .95;--tw-scale-y: .95;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}[data-opencx-widget] .active\\:shadow-none:active{--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-opencx-widget] .hover\\:active\\:scale-95:active:hover{--tw-scale-x: .95;--tw-scale-y: .95;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}[data-opencx-widget] .disabled\\:pointer-events-none:disabled{pointer-events:none}[data-opencx-widget] .disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}[data-opencx-widget] .disabled\\:opacity-0:disabled{opacity:0}[data-opencx-widget] .disabled\\:opacity-50:disabled{opacity:.5}[data-opencx-widget] .group:hover .group-hover\\:opacity-100{opacity:1}[data-opencx-widget] .group:hover .group-hover\\:active\\:scale-90:active,[data-opencx-widget] .group:active .group-active\\:scale-90{--tw-scale-x: .9;--tw-scale-y: .9;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}[data-opencx-widget] .data-\\[disabled\\]\\:pointer-events-none[data-disabled]{pointer-events:none}[data-opencx-widget] .data-\\[state\\=checked\\]\\:translate-x-4[data-state=checked]{--tw-translate-x: 1rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}[data-opencx-widget] .data-\\[state\\=unchecked\\]\\:translate-x-0[data-state=unchecked]{--tw-translate-x: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}[data-opencx-widget] .data-\\[state\\=checked\\]\\:bg-primary[data-state=checked]{background-color:hsl(var(--opencx-primary))}[data-opencx-widget] .data-\\[state\\=open\\]\\:bg-accent[data-state=open]{background-color:hsl(var(--opencx-accent))}[data-opencx-widget] .data-\\[state\\=unchecked\\]\\:bg-input[data-state=unchecked]{background-color:hsl(var(--opencx-input))}[data-opencx-widget] .data-\\[state\\=open\\]\\:text-muted-foreground[data-state=open]{color:hsl(var(--opencx-muted-foreground))}[data-opencx-widget] .data-\\[disabled\\]\\:opacity-50[data-disabled]{opacity:.5}[data-opencx-widget] .data-\\[state\\=open\\]\\:animate-in[data-state=open]{animation-name:enter;animation-duration:.15s;--tw-enter-opacity: initial;--tw-enter-scale: initial;--tw-enter-rotate: initial;--tw-enter-translate-x: initial;--tw-enter-translate-y: initial}[data-opencx-widget] .data-\\[state\\=closed\\]\\:animate-out[data-state=closed]{animation-name:exit;animation-duration:.15s;--tw-exit-opacity: initial;--tw-exit-scale: initial;--tw-exit-rotate: initial;--tw-exit-translate-x: initial;--tw-exit-translate-y: initial}[data-opencx-widget] .data-\\[state\\=closed\\]\\:fade-out-0[data-state=closed]{--tw-exit-opacity: 0}[data-opencx-widget] .data-\\[state\\=open\\]\\:fade-in-0[data-state=open]{--tw-enter-opacity: 0}[data-opencx-widget] .data-\\[state\\=closed\\]\\:zoom-out-95[data-state=closed]{--tw-exit-scale: .95}[data-opencx-widget] .data-\\[state\\=open\\]\\:zoom-in-95[data-state=open]{--tw-enter-scale: .95}[data-opencx-widget] .data-\\[side\\=bottom\\]\\:slide-in-from-top-2[data-side=bottom]{--tw-enter-translate-y: -.5rem}[data-opencx-widget] .data-\\[side\\=left\\]\\:slide-in-from-right-2[data-side=left]{--tw-enter-translate-x: .5rem}[data-opencx-widget] .data-\\[side\\=right\\]\\:slide-in-from-left-2[data-side=right]{--tw-enter-translate-x: -.5rem}[data-opencx-widget] .data-\\[side\\=top\\]\\:slide-in-from-bottom-2[data-side=top]{--tw-enter-translate-y: .5rem}[data-opencx-widget] .data-\\[state\\=closed\\]\\:slide-out-to-left-1\\/2[data-state=closed]{--tw-exit-translate-x: -50%}[data-opencx-widget] .data-\\[state\\=closed\\]\\:slide-out-to-top-\\[48\\%\\][data-state=closed]{--tw-exit-translate-y: -48%}[data-opencx-widget] .data-\\[state\\=open\\]\\:slide-in-from-left-1\\/2[data-state=open]{--tw-enter-translate-x: -50%}[data-opencx-widget] .data-\\[state\\=open\\]\\:slide-in-from-top-\\[48\\%\\][data-state=open]{--tw-enter-translate-y: -48%}[data-opencx-widget] .prose-a\\:underline :is(:where(a):not(:where([class~=not-prose],[class~=not-prose] *))){text-decoration-line:underline}[data-opencx-widget] .prose-a\\:decoration-primary :is(:where(a):not(:where([class~=not-prose],[class~=not-prose] *))){text-decoration-color:hsl(var(--opencx-primary))}@media (min-width: 640px){[data-opencx-widget] .sm\\:flex-row{flex-direction:row}[data-opencx-widget] .sm\\:justify-end{justify-content:flex-end}[data-opencx-widget] .sm\\:space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}[data-opencx-widget] .sm\\:rounded-lg{border-radius:.5rem}[data-opencx-widget] .sm\\:text-left{text-align:left}}[data-opencx-widget] .rtl\\:-scale-100:where([dir=rtl],[dir=rtl] *){--tw-scale-x: -1;--tw-scale-y: -1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}[data-opencx-widget] .rtl\\:flex-row-reverse:where([dir=rtl],[dir=rtl] *){flex-direction:row-reverse}[data-opencx-widget] .rtl\\:text-right:where([dir=rtl],[dir=rtl] *){text-align:right}[data-opencx-widget] .rtl\\:placeholder\\:text-right:where([dir=rtl],[dir=rtl] *)::-moz-placeholder{text-align:right}[data-opencx-widget] .rtl\\:placeholder\\:text-right:where([dir=rtl],[dir=rtl] *)::placeholder{text-align:right}[data-opencx-widget] .\\[\\&_span\\]\\:size-1 span{width:.25rem;height:.25rem}[data-opencx-widget] .\\[\\&_span\\]\\:bg-secondary-foreground span{background-color:hsl(var(--opencx-secondary-foreground))}[data-opencx-widget] .\\[\\&_svg\\]\\:pointer-events-none svg{pointer-events:none}[data-opencx-widget] .\\[\\&_svg\\]\\:size-4 svg{width:1rem;height:1rem}[data-opencx-widget] .\\[\\&_svg\\]\\:size-6 svg{width:1.5rem;height:1.5rem}[data-opencx-widget] .\\[\\&_svg\\]\\:shrink-0 svg{flex-shrink:0}';function Fb({className:e}){return m.jsxs("svg",{width:"26",height:"32",viewBox:"0 0 26 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:V("text-primary-foreground",e),children:[m.jsx("title",{children:"Open Logo"}),m.jsx("path",{d:"M1.34103 25.6132H5.44245C5.74203 25.6228 6.02673 25.7462 6.23867 25.9582C6.45062 26.1703 6.5739 26.4551 6.58348 26.7548V30.8584C6.59305 31.1581 6.71634 31.443 6.92828 31.655C7.14023 31.8671 7.42492 31.9904 7.7245 32H18.2894C18.589 31.9904 18.8737 31.8671 19.0856 31.655C19.2976 31.443 19.4209 31.1581 19.4304 30.8584V26.7548C19.4401 26.4545 19.5638 26.1692 19.7765 25.957C19.9892 25.7449 20.2748 25.6219 20.5749 25.6132H24.659C24.9586 25.6036 25.2433 25.4803 25.4552 25.2682C25.6671 25.0562 25.7904 24.7713 25.8 24.4716V7.52839C25.7904 7.22865 25.6671 6.94381 25.4552 6.73176C25.2433 6.5197 24.9586 6.39635 24.659 6.38677H20.561C20.2603 6.37802 19.9742 6.25457 19.7614 6.04169C19.5487 5.82881 19.4253 5.54261 19.4165 5.24168V1.14161C19.4072 0.84419 19.2858 0.561291 19.0768 0.349589C18.8678 0.137887 18.5865 0.0130193 18.2894 0L7.7245 0C7.42492 0.00957792 7.14023 0.132929 6.92828 0.344983C6.71634 0.557036 6.59305 0.841878 6.58348 1.14161V5.24168C6.57477 5.54203 6.45187 5.82773 6.23983 6.04052C6.0278 6.25331 5.74262 6.37715 5.44245 6.38677H1.34103C1.04144 6.39635 0.756749 6.5197 0.544805 6.73176C0.332861 6.94381 0.209574 7.22865 0.200001 7.52839V24.4716C0.209574 24.7713 0.332861 25.0562 0.544805 25.2682C0.756749 25.4803 1.04144 25.6036 1.34103 25.6132ZM6.58348 24.4716V7.52839C6.59305 7.22865 6.71634 6.94381 6.92828 6.73176C7.14023 6.5197 7.42492 6.39635 7.7245 6.38677H18.2894C18.589 6.39635 18.8737 6.5197 19.0856 6.73176C19.2976 6.94381 19.4209 7.22865 19.4304 7.52839V24.4716C19.4209 24.7713 19.2976 25.0562 19.0856 25.2682C18.8737 25.4803 18.589 25.6036 18.2894 25.6132H7.7245C7.42492 25.6036 7.14023 25.4803 6.92828 25.2682C6.71634 25.0562 6.59305 24.7713 6.58348 24.4716Z",fill:"currentColor"})]})}function Hb({isOpen:e}){const{theme:t}=X.useConfig();return m.jsx(hr.PopoverTrigger,{"data-opencx-widget":!0,style:{fontSize:"16px",position:"fixed",zIndex:1e7,...Li({primary:t==null?void 0:t.primaryColor}),right:"20px",bottom:"20px"},className:V("size-12 font-inter flex items-center justify-center"),children:m.jsx(rt,{children:m.jsx("div",{className:V("relative size-full rounded-full","flex items-center justify-center","transition-all","[background:radial-gradient(50%_50%_at_50%_100%,hsl(var(--opencx-primary-foreground))_-75%,hsl(var(--opencx-primary))_100%)]","text-primary-foreground","shadow-xl","active:scale-90","[&_svg]:size-6"),children:m.jsx(ge.AnimatePresence,{mode:"wait",children:e?m.jsx(ue,{snapExit:!0,fadeIn:"up",overrides:{initial:{rotate:45},animate:{rotate:0}},children:m.jsx(de.XIcon,{})},"x-icon"):m.jsx(ue,{snapExit:!0,overrides:{initial:{rotate:45},animate:{rotate:0}},children:m.jsx(Fb,{})},"message-icon")})})})})}function Ub(){return m.jsx(ge.AnimatePresence,{children:m.jsxs(ue,{className:"flex flex-row items-end w-full gap-1 animate-pulse",children:[m.jsx("div",{className:"flex items-center gap-1",children:m.jsx(ln,{children:m.jsx(qn,{})})}),m.jsxs("div",{className:"flex items-center [&_span]:bg-secondary-foreground [&_span]:size-1 gap-1 p-2 rounded-xl bg-secondary border",children:[m.jsx(ge.motion.span,{className:"rounded-full animate-bounce [animation-delay:-0.3s]"}),m.jsx(ge.motion.span,{className:"rounded-full animate-bounce [animation-delay:-0.15s]"}),m.jsx(ge.motion.span,{className:"rounded-full animate-bounce"})]})]})})}function zb(e){return m.jsx("div",{className:"w-full max-w-full overflow-auto shrink-0",children:m.jsx("pre",{dir:"auto",className:"text-xs leading-tight whitespace-pre-wrap break-word",children:JSON.stringify(e,null,1)})})}const jb=`<!DOCTYPE html>
243
30
  <html>
244
31
  <head>
245
32
  <style>
246
- ${iN}
33
+ ${Ko}
247
34
  html, body {
248
35
  height: 100%;
249
36
  width: 100%;
@@ -255,5 +42,5 @@ html, body {
255
42
  </head>
256
43
  <body>
257
44
  </body>
258
- </html>`;function mY(){const e=ft.useWidget(),n=B1(),{theme:a}=ft.useConfig(),[s,f]=Tt.useState(!1);return I.jsxs(sY,{open:s,onOpenChange:f,children:[I.jsx("style",{children:iN}),I.jsx(dY,{isOpen:s}),I.jsx(lY,{onInteractOutside:h=>h.preventDefault(),side:"top","data-aria-expanded":s,forceMount:!0,style:{zIndex:1e6,fontSize:"16px"},sideOffset:8,"data-opencx-widget":!0,"data-opencx-widget-content-root":!0,align:n==="rtl"?"start":"end",asChild:!0,children:I.jsx(vr.motion.div,{animate:s?"visible":"hidden",initial:"hidden",variants:{hidden:{opacity:0,y:8,transitionEnd:{display:"none"},transition:{duration:.15}},visible:{opacity:1,y:0,display:"block"}},children:I.jsx(sR,{initialContent:hY,allowFullScreen:!0,"data-opencx-widget":!0,style:{maxHeight:"85dvh",width:Z4,minHeight:Gk,height:"var(--opencx-widget-height)",overflow:"hidden",outline:"1px solid",outlineColor:"hsl(0 0% 50% / .5)",borderRadius:"32px",boxShadow:"0 25px 50px -12px rgb(0 0 0 / 0.25)",transitionProperty:"height",transitionTimingFunction:"ease-out",transitionDuration:"150ms"},children:I.jsx(LI,{delayDuration:200,disableHoverableContent:!0,children:I.jsx("div",{style:{display:"contents"},"data-opencx-widget":!0,children:I.jsx("div",{style:{...Xk({primary:a==null?void 0:a.primaryColor})},"data-version":e.version,"data-opencx-widget":!0,className:St("antialiased font-inter bg-primary size-full overflow-hidden isolate relative text-secondary-foreground"),children:I.jsx(_z,{})})})})})})})]})}const gY=[{key:"loading",component:fY},{key:"fallback",component:pY},{key:"bot_message",component:Dw},{key:"agent_message",component:Dw}],vY={get:async e=>localStorage.getItem(e),set:async(e,n)=>{localStorage.setItem(e,n)},remove:async e=>{localStorage.removeItem(e)}};function yY({options:e,components:n=[]}){return I.jsx(ft.WidgetProvider,{components:[...gY,...n],options:e,storage:vY,children:I.jsx(mY,{})})}exports.Widget=yY;
45
+ </html>`;function Yb(){const e=X.useWidget(),t=Sn(),{theme:n}=X.useConfig(),[r,a]=J.useState(!1);return m.jsxs(hr.Root,{open:r,onOpenChange:a,children:[m.jsx("style",{children:Ko}),m.jsx(Hb,{isOpen:r}),m.jsx(hr.Content,{onInteractOutside:i=>i.preventDefault(),side:"top","data-aria-expanded":r,forceMount:!0,style:{zIndex:1e6,fontSize:"16px"},sideOffset:8,"data-opencx-widget":!0,"data-opencx-widget-content-root":!0,align:t==="rtl"?"start":"end",asChild:!0,children:m.jsx(ge.motion.div,{animate:r?"visible":"hidden",initial:"hidden",variants:{hidden:{opacity:0,y:8,transitionEnd:{display:"none"},transition:{duration:.15}},visible:{opacity:1,y:0,display:"block"}},children:m.jsx(jo,{initialContent:jb,allowFullScreen:!0,"data-opencx-widget":!0,style:{maxHeight:"85dvh",width:pu,minHeight:Si,height:"var(--opencx-widget-height)",overflow:"hidden",outline:"1px solid",outlineColor:"hsl(0 0% 50% / .5)",borderRadius:"32px",boxShadow:"0 25px 50px -12px rgb(0 0 0 / 0.25)",transitionProperty:"height",transitionTimingFunction:"ease-out",transitionDuration:"150ms"},children:m.jsx(Gu,{delayDuration:200,disableHoverableContent:!0,children:m.jsx("div",{style:{display:"contents"},"data-opencx-widget":!0,children:m.jsx("div",{style:{...Li({primary:n==null?void 0:n.primaryColor})},"data-version":e.version,"data-opencx-widget":!0,className:V("antialiased font-inter bg-primary size-full overflow-hidden isolate relative text-secondary-foreground"),children:m.jsx(Bb,{})})})})})})})]})}const qb=[{key:"loading",component:Ub},{key:"fallback",component:zb},{key:"bot_message",component:Or},{key:"agent_message",component:Or}],Wb={get:async e=>localStorage.getItem(e),set:async(e,t)=>{localStorage.setItem(e,t)},remove:async e=>{localStorage.removeItem(e)}};function Vb({options:e,components:t=[]}){return m.jsx(X.WidgetProvider,{components:[...qb,...t],options:e,storage:Wb,children:m.jsx(Yb,{})})}exports.Widget=Vb;
259
46
  //# sourceMappingURL=designs.cjs.map