@opencx/widget 2.4.4-rn.0 → 2.4.4-rn.2
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/basic.cjs +31 -31
- package/dist/basic.cjs.map +1 -1
- package/dist/basic.js +37 -38
- package/dist/basic.js.map +1 -1
- package/dist/core/client/api.d.ts +6 -15
- package/dist/core/client/chat.d.ts +10 -10
- package/dist/core/client/contact.d.ts +2 -2
- package/dist/core/index.d.ts +2 -0
- package/dist/core/types/helpers.d.ts +1 -1
- package/dist/core/types/index.d.ts +2 -3
- package/dist/core/types/schemas-v2.d.ts +92 -91
- package/dist/core/types/schemas.d.ts +123 -69
- package/dist/{index-Cjs7ckCU.js → index-B-VyJuQ9.js} +964 -864
- package/dist/index-B-VyJuQ9.js.map +1 -0
- package/dist/index-D2PGs8oF.cjs +18 -0
- package/dist/index-D2PGs8oF.cjs.map +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +337 -282
- package/dist/index.js.map +1 -1
- package/dist/package.json.d.ts +1 -1
- package/dist/react-web/hooks/useAbstractChat.d.ts +22 -21
- package/dist/react-web/hooks/useAxiosInstance.d.ts +35 -23
- package/dist/react-web/hooks/useUploadFiles.d.ts +1 -1
- package/dist/react-web/providers/ChatProvider.d.ts +24 -24
- package/dist/react-web/providers/ContactProvider.d.ts +4 -4
- package/dist/react.cjs +1 -1
- package/dist/react.js +1 -1
- package/dist/schemas-v2-BiJWHypc.cjs +2 -0
- package/dist/schemas-v2-BiJWHypc.cjs.map +1 -0
- package/dist/schemas-v2-DZ3nwfID.js +138 -0
- package/dist/schemas-v2-DZ3nwfID.js.map +1 -0
- package/dist/src/components/RenderFile.d.ts +1 -1
- package/dist/src/components/dialog.d.ts +2 -2
- package/dist-embed/script.js +107 -107
- package/dist-embed/script.js.map +1 -1
- package/package.json +1 -1
- package/dist/index-BVoLVQCZ.cjs +0 -18
- package/dist/index-BVoLVQCZ.cjs.map +0 -1
- package/dist/index-Cjs7ckCU.js.map +0 -1
- package/dist/schemas-BBAV6Sd_.js +0 -122
- package/dist/schemas-BBAV6Sd_.js.map +0 -1
- package/dist/schemas-wky4fpbc.cjs +0 -2
- package/dist/schemas-wky4fpbc.cjs.map +0 -1
package/dist/basic.cjs
CHANGED
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const U=require("react/jsx-runtime"),yt=require("./index-BVoLVQCZ.cjs"),IL=require("@radix-ui/react-tooltip"),Dt=require("react"),QA=require("clsx"),ML=require("@radix-ui/react-avatar"),Sr=require("framer-motion"),ZC=require("tinycolor2"),PT=require("@radix-ui/react-slot"),cn=require("lucide-react"),PL=require("date-fns"),FL=require("@radix-ui/react-dropdown-menu"),UL=require("@radix-ui/react-switch"),BL=require("react-dropzone"),JC=require("react-hot-toast"),HL=require("./schemas-wky4fpbc.cjs"),Nw=require("zod");function Fm(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 Um=Fm(IL),ie=Fm(Dt),$f=Fm(ML),qn=Fm(FL),sT=Fm(UL),zL="[data-chat-widget-content-root]";function $A({fallbackHeight:e}){const n=Dt.useRef(null);return Dt.useEffect(()=>{const a=document.querySelector(zL);if(a&&n.current){const s=n.current;let f;const p=new ResizeObserver(()=>{f=requestAnimationFrame(()=>{const d=Math.max(s.offsetHeight,e);a.style.setProperty("--opencx-widget-height",d.toFixed(1)+"px")})});return p.observe(s),()=>{cancelAnimationFrame(f),p.unobserve(s)}}},[]),{observedElementRef:n}}const FT="-",jL=e=>{const n=YL(e),{conflictingClassGroups:a,conflictingClassGroupModifiers:s}=e;return{getClassGroupId:d=>{const g=d.split(FT);return g[0]===""&&g.length!==1&&g.shift(),GA(g,n)||VL(d)},getConflictingClassGroupIds:(d,g)=>{const E=a[d]||[];return g&&s[d]?[...E,...s[d]]:E}}},GA=(e,n)=>{var d;if(e.length===0)return n.classGroupId;const a=e[0],s=n.nextPart.get(a),f=s?GA(e.slice(1),s):void 0;if(f)return f;if(n.validators.length===0)return;const p=e.join(FT);return(d=n.validators.find(({validator:g})=>g(p)))==null?void 0:d.classGroupId},e_=/^\[(.+)\]$/,VL=e=>{if(e_.test(e)){const n=e_.exec(e)[1],a=n==null?void 0:n.substring(0,n.indexOf(":"));if(a)return"arbitrary.."+a}},YL=e=>{const{theme:n,prefix:a}=e,s={nextPart:new Map,validators:[]};return qL(Object.entries(e.classGroups),a).forEach(([p,d])=>{lT(d,s,p,n)}),s},lT=(e,n,a,s)=>{e.forEach(f=>{if(typeof f=="string"){const p=f===""?n:t_(n,f);p.classGroupId=a;return}if(typeof f=="function"){if(WL(f)){lT(f(s),n,a,s);return}n.validators.push({validator:f,classGroupId:a});return}Object.entries(f).forEach(([p,d])=>{lT(d,t_(n,p),a,s)})})},t_=(e,n)=>{let a=e;return n.split(FT).forEach(s=>{a.nextPart.has(s)||a.nextPart.set(s,{nextPart:new Map,validators:[]}),a=a.nextPart.get(s)}),a},WL=e=>e.isThemeGetter,qL=(e,n)=>n?e.map(([a,s])=>{const f=s.map(p=>typeof p=="string"?n+p:typeof p=="object"?Object.fromEntries(Object.entries(p).map(([d,g])=>[n+d,g])):p);return[a,f]}):e,QL=e=>{if(e<1)return{get:()=>{},set:()=>{}};let n=0,a=new Map,s=new Map;const f=(p,d)=>{a.set(p,d),n++,n>e&&(n=0,s=a,a=new Map)};return{get(p){let d=a.get(p);if(d!==void 0)return d;if((d=s.get(p))!==void 0)return f(p,d),d},set(p,d){a.has(p)?a.set(p,d):f(p,d)}}},XA="!",$L=e=>{const{separator:n,experimentalParseClassName:a}=e,s=n.length===1,f=n[0],p=n.length,d=g=>{const E=[];let b=0,C=0,S;for(let B=0;B<g.length;B++){let z=g[B];if(b===0){if(z===f&&(s||g.slice(B,B+p)===n)){E.push(g.slice(C,B)),C=B+p;continue}if(z==="/"){S=B;continue}}z==="["?b++:z==="]"&&b--}const R=E.length===0?g:g.substring(C),A=R.startsWith(XA),D=A?R.substring(1):R,L=S&&S>C?S-C:void 0;return{modifiers:E,hasImportantModifier:A,baseClassName:D,maybePostfixModifierPosition:L}};return a?g=>a({className:g,parseClassName:d}):d},GL=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},XL=e=>({cache:QL(e.cacheSize),parseClassName:$L(e),...jL(e)}),KL=/\s+/,ZL=(e,n)=>{const{parseClassName:a,getClassGroupId:s,getConflictingClassGroupIds:f}=n,p=[],d=e.trim().split(KL);let g="";for(let E=d.length-1;E>=0;E-=1){const b=d[E],{modifiers:C,hasImportantModifier:S,baseClassName:R,maybePostfixModifierPosition:A}=a(b);let D=!!A,L=s(D?R.substring(0,A):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=GL(C).join(":"),z=S?B+XA:B,G=z+L;if(p.includes(G))continue;p.push(G);const W=f(L,D);for(let Z=0;Z<W.length;++Z){const J=W[Z];p.push(z+J)}g=b+(g.length>0?" "+g:g)}return g};function JL(){let e=0,n,a,s="";for(;e<arguments.length;)(n=arguments[e++])&&(a=KA(n))&&(s&&(s+=" "),s+=a);return s}const KA=e=>{if(typeof e=="string")return e;let n,a="";for(let s=0;s<e.length;s++)e[s]&&(n=KA(e[s]))&&(a&&(a+=" "),a+=n);return a};function eI(e,...n){let a,s,f,p=d;function d(E){const b=n.reduce((C,S)=>S(C),e());return a=XL(b),s=a.cache.get,f=a.cache.set,p=g,g(E)}function g(E){const b=s(E);if(b)return b;const C=ZL(E,a);return f(E,C),C}return function(){return p(JL.apply(null,arguments))}}const mn=e=>{const n=a=>a[e]||[];return n.isThemeGetter=!0,n},ZA=/^\[(?:([a-z-]+):)?(.+)\]$/i,tI=/^\d+\/\d+$/,nI=new Set(["px","full","screen"]),rI=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,aI=/\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$/,iI=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,oI=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,uI=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Lu=e=>Bf(e)||nI.has(e)||tI.test(e),Qs=e=>Gf(e,"length",mI),Bf=e=>!!e&&!Number.isNaN(Number(e)),Dw=e=>Gf(e,"number",Bf),ym=e=>!!e&&Number.isInteger(Number(e)),sI=e=>e.endsWith("%")&&Bf(e.slice(0,-1)),Tt=e=>ZA.test(e),$s=e=>rI.test(e),lI=new Set(["length","size","percentage"]),cI=e=>Gf(e,lI,JA),dI=e=>Gf(e,"position",JA),fI=new Set(["image","url"]),hI=e=>Gf(e,fI,vI),pI=e=>Gf(e,"",gI),Em=()=>!0,Gf=(e,n,a)=>{const s=ZA.exec(e);return s?s[1]?typeof n=="string"?s[1]===n:n.has(s[1]):a(s[2]):!1},mI=e=>aI.test(e)&&!iI.test(e),JA=()=>!1,gI=e=>oI.test(e),vI=e=>uI.test(e),yI=()=>{const e=mn("colors"),n=mn("spacing"),a=mn("blur"),s=mn("brightness"),f=mn("borderColor"),p=mn("borderRadius"),d=mn("borderSpacing"),g=mn("borderWidth"),E=mn("contrast"),b=mn("grayscale"),C=mn("hueRotate"),S=mn("invert"),R=mn("gap"),A=mn("gradientColorStops"),D=mn("gradientColorStopPositions"),L=mn("inset"),B=mn("margin"),z=mn("opacity"),G=mn("padding"),W=mn("saturate"),Z=mn("scale"),J=mn("sepia"),X=mn("skew"),ce=mn("space"),Te=mn("translate"),Me=()=>["auto","contain","none"],K=()=>["auto","hidden","clip","visible","scroll"],Ee=()=>["auto",Tt,n],ge=()=>[Tt,n],Re=()=>["",Lu,Qs],Oe=()=>["auto",Bf,Tt],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"],pe=()=>["start","end","center","between","around","evenly","stretch"],De=()=>["","0",Tt],P=()=>["auto","avoid","all","avoid-page","page","left","right","column"],et=()=>[Bf,Tt];return{cacheSize:500,separator:":",theme:{colors:[Em],spacing:[Lu,Qs],blur:["none","",$s,Tt],brightness:et(),borderColor:[e],borderRadius:["none","","full",$s,Tt],borderSpacing:ge(),borderWidth:Re(),contrast:et(),grayscale:De(),hueRotate:et(),invert:De(),gap:ge(),gradientColorStops:[e],gradientColorStopPositions:[sI,Qs],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",Tt]}],container:["container"],columns:[{columns:[$s]}],"break-after":[{"break-after":P()}],"break-before":[{"break-before":P()}],"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(),Tt]}],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",ym,Tt]}],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",Tt]}],grow:[{grow:De()}],shrink:[{shrink:De()}],order:[{order:["first","last","none",ym,Tt]}],"grid-cols":[{"grid-cols":[Em]}],"col-start-end":[{col:["auto",{span:["full",ym,Tt]},Tt]}],"col-start":[{"col-start":Oe()}],"col-end":[{"col-end":Oe()}],"grid-rows":[{"grid-rows":[Em]}],"row-start-end":[{row:["auto",{span:[ym,Tt]},Tt]}],"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",Tt]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",Tt]}],gap:[{gap:[R]}],"gap-x":[{"gap-x":[R]}],"gap-y":[{"gap-y":[R]}],"justify-content":[{justify:["normal",...pe()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...pe(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...pe(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[G]}],px:[{px:[G]}],py:[{py:[G]}],ps:[{ps:[G]}],pe:[{pe:[G]}],pt:[{pt:[G]}],pr:[{pr:[G]}],pb:[{pb:[G]}],pl:[{pl:[G]}],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":[ce]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[ce]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",Tt,n]}],"min-w":[{"min-w":[Tt,n,"min","max","fit"]}],"max-w":[{"max-w":[Tt,n,"none","full","min","max","fit","prose",{screen:[$s]},$s]}],h:[{h:[Tt,n,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[Tt,n,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[Tt,n,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[Tt,n,"auto","min","max","fit"]}],"font-size":[{text:["base",$s,Qs]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Dw]}],"font-family":[{font:[Em]}],"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",Tt]}],"line-clamp":[{"line-clamp":["none",Bf,Dw]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Lu,Tt]}],"list-image":[{"list-image":["none",Tt]}],"list-style-type":[{list:["none","disc","decimal",Tt]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[z]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[z]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...je(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Lu,Qs]}],"underline-offset":[{"underline-offset":["auto",Lu,Tt]}],"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",Tt]}],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",Tt]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[z]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...qe(),dI]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",cI]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},hI]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[D]}],"gradient-via-pos":[{via:[D]}],"gradient-to-pos":[{to:[D]}],"gradient-from":[{from:[A]}],"gradient-via":[{via:[A]}],"gradient-to":[{to:[A]}],rounded:[{rounded:[p]}],"rounded-s":[{"rounded-s":[p]}],"rounded-e":[{"rounded-e":[p]}],"rounded-t":[{"rounded-t":[p]}],"rounded-r":[{"rounded-r":[p]}],"rounded-b":[{"rounded-b":[p]}],"rounded-l":[{"rounded-l":[p]}],"rounded-ss":[{"rounded-ss":[p]}],"rounded-se":[{"rounded-se":[p]}],"rounded-ee":[{"rounded-ee":[p]}],"rounded-es":[{"rounded-es":[p]}],"rounded-tl":[{"rounded-tl":[p]}],"rounded-tr":[{"rounded-tr":[p]}],"rounded-br":[{"rounded-br":[p]}],"rounded-bl":[{"rounded-bl":[p]}],"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":[z]}],"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":[z]}],"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":[Lu,Tt]}],"outline-w":[{outline:[Lu,Qs]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:Re()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[z]}],"ring-offset-w":[{"ring-offset":[Lu,Qs]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",$s,pI]}],"shadow-color":[{shadow:[Em]}],opacity:[{opacity:[z]}],"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,Tt]}],grayscale:[{grayscale:[b]}],"hue-rotate":[{"hue-rotate":[C]}],invert:[{invert:[S]}],saturate:[{saturate:[W]}],sepia:[{sepia:[J]}],"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":[z]}],"backdrop-saturate":[{"backdrop-saturate":[W]}],"backdrop-sepia":[{"backdrop-sepia":[J]}],"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",Tt]}],duration:[{duration:et()}],ease:[{ease:["linear","in","out","in-out",Tt]}],delay:[{delay:et()}],animate:[{animate:["none","spin","ping","pulse","bounce",Tt]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[Z]}],"scale-x":[{"scale-x":[Z]}],"scale-y":[{"scale-y":[Z]}],rotate:[{rotate:[ym,Tt]}],"translate-x":[{"translate-x":[Te]}],"translate-y":[{"translate-y":[Te]}],"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",Tt]}],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",Tt]}],"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",Tt]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[Lu,Qs,Dw]}],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"]}}},EI=eI(yI);function Lt(...e){return EI(QA.clsx(e))}const bI=Um.Provider,wI=Um.Root,TI=Um.Trigger,ek=ie.forwardRef(({className:e,sideOffset:n=4,...a},s)=>U.jsx(Um.Content,{ref:s,sideOffset:n,className:Lt("z-50 overflow-hidden max-w-xs rounded-xl bg-black 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}));ek.displayName=Um.Content.displayName;function cT({children:e,content:n,side:a,align:s}){return U.jsxs(wI,{children:[U.jsx(TI,{asChild:!0,children:e}),U.jsx(ek,{side:a,align:s,collisionPadding:8,avoidCollisions:!0,children:n})]})}function n_(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 Ea=ol(/[A-Za-z]/),na=ol(/[\dA-Za-z]/),xI=ol(/[#-'*+\--9=?A-Z^-~]/);function S1(e){return e!==null&&(e<32||e===127)}const dT=ol(/\d/),SI=ol(/[\dA-Fa-f]/),CI=ol(/[!-/:-@[-`{-~]/);function ut(e){return e!==null&&e<-2}function rn(e){return e!==null&&(e<0||e===32)}function Ot(e){return e===-2||e===-1||e===32}const P1=ol(new RegExp("\\p{P}|\\p{S}","u")),Ac=ol(/\s/);function ol(e){return n;function n(a){return a!==null&&a>-1&&e.test(String.fromCharCode(a))}}function _I(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}const F1=function(e){if(e==null)return NI;if(typeof e=="function")return U1(e);if(typeof e=="object")return Array.isArray(e)?AI(e):kI(e);if(typeof e=="string")return RI(e);throw new Error("Expected function, string, or object as test")};function AI(e){const n=[];let a=-1;for(;++a<e.length;)n[a]=F1(e[a]);return U1(s);function s(...f){let p=-1;for(;++p<n.length;)if(n[p].apply(this,f))return!0;return!1}}function kI(e){const n=e;return U1(a);function a(s){const f=s;let p;for(p in e)if(f[p]!==n[p])return!1;return!0}}function RI(e){return U1(n);function n(a){return a&&a.type===e}}function U1(e){return n;function n(a,s,f){return!!(DI(a)&&e.call(this,a,typeof s=="number"?s:void 0,f||void 0))}}function NI(){return!0}function DI(e){return e!==null&&typeof e=="object"&&"type"in e}const tk=[],OI=!0,fT=!1,LI="skip";function nk(e,n,a,s){let f;typeof n=="function"&&typeof a!="function"?(s=a,a=n):f=n;const p=F1(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 A=typeof S.tagName=="string"?S.tagName:typeof S.name=="string"?S.name:void 0;Object.defineProperty(R,"name",{value:"node ("+(E.type+(A?"<"+A+">":""))+")"})}return R;function R(){let A=tk,D,L,B;if((!n||p(E,b,C[C.length-1]||void 0))&&(A=II(a(E,C)),A[0]===fT))return A;if("children"in E&&E.children){const z=E;if(z.children&&A[0]!==LI)for(L=(s?z.children.length:-1)+d,B=C.concat(z);L>-1&&L<z.children.length;){const G=z.children[L];if(D=g(G,L,B)(),D[0]===fT)return D;L=typeof D[1]=="number"?D[1]:L+d}}return A}}}function II(e){return Array.isArray(e)?e:typeof e=="number"?[OI,e]:e==null?tk:[e]}function MI(e,n,a){const f=F1((a||{}).ignore||[]),p=PI(n);let d=-1;for(;++d<p.length;)nk(e,"text",g);function g(b,C){let S=-1,R;for(;++S<C.length;){const A=C[S],D=R?R.children:void 0;if(f(A,D?D.indexOf(A):void 0,R))return;R=A}if(R)return E(b,C)}function E(b,C){const S=C[C.length-1],R=p[d][0],A=p[d][1];let D=0;const B=S.children.indexOf(b);let z=!1,G=[];R.lastIndex=0;let W=R.exec(b.value);for(;W;){const Z=W.index,J={index:W.index,input:W.input,stack:[...C,b]};let X=A(...W,J);if(typeof X=="string"&&(X=X.length>0?{type:"text",value:X}:void 0),X===!1?R.lastIndex=Z+1:(D!==Z&&G.push({type:"text",value:b.value.slice(D,Z)}),Array.isArray(X)?G.push(...X):X&&G.push(X),D=Z+W[0].length,z=!0),!R.global)break;W=R.exec(b.value)}return z?(D<b.value.length&&G.push({type:"text",value:b.value.slice(D)}),S.children.splice(B,1,...G)):G=[b],B+G.length}}function PI(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([FI(f[0]),UI(f[1])])}return n}function FI(e){return typeof e=="string"?new RegExp(_I(e),"g"):e}function UI(e){return typeof e=="function"?e:function(){return e}}const Ow="phrasing",Lw=["autolink","link","image","label"];function BI(){return{transforms:[qI],enter:{literalAutolink:zI,literalAutolinkEmail:Iw,literalAutolinkHttp:Iw,literalAutolinkWww:Iw},exit:{literalAutolink:WI,literalAutolinkEmail:YI,literalAutolinkHttp:jI,literalAutolinkWww:VI}}}function HI(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:Ow,notInConstruct:Lw},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:Ow,notInConstruct:Lw},{character:":",before:"[ps]",after:"\\/",inConstruct:Ow,notInConstruct:Lw}]}}function zI(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function Iw(e){this.config.enter.autolinkProtocol.call(this,e)}function jI(e){this.config.exit.autolinkProtocol.call(this,e)}function VI(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 YI(e){this.config.exit.autolinkEmail.call(this,e)}function WI(e){this.exit(e)}function qI(e){MI(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,QI],[new RegExp("(?<=^|\\s|\\p{P}|\\p{S})([-.\\w+]+)@([-\\w]+(?:\\.[-\\w]+)+)","gu"),$I]],{ignore:["link","linkReference"]})}function QI(e,n,a,s,f){let p="";if(!rk(f)||(/^w/i.test(n)&&(a=n+a,n="",p="http://"),!GI(a)))return!1;const d=XI(a+s);if(!d[0])return!1;const g={type:"link",title:null,url:p+n+d[0],children:[{type:"text",value:n+d[0]}]};return d[1]?[g,{type:"text",value:d[1]}]:g}function $I(e,n,a,s){return!rk(s,!0)||/[-\d_]$/.test(a)?!1:{type:"link",title:null,url:"mailto:"+n+"@"+a,children:[{type:"text",value:n+"@"+a}]}}function GI(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 XI(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=n_(e,"(");let p=n_(e,")");for(;s!==-1&&f>p;)e+=a.slice(0,s+1),a=a.slice(s+1),s=a.indexOf(")"),p++;return[e,a]}function rk(e,n){const a=e.input.charCodeAt(e.index-1);return(e.index===0||Ac(a)||P1(a))&&(!n||a!==47)}function oo(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}ak.peek=u5;function KI(){return{enter:{gfmFootnoteDefinition:JI,gfmFootnoteDefinitionLabelString:e5,gfmFootnoteCall:r5,gfmFootnoteCallString:a5},exit:{gfmFootnoteDefinition:n5,gfmFootnoteDefinitionLabelString:t5,gfmFootnoteCall:o5,gfmFootnoteCallString:i5}}}function ZI(){return{unsafe:[{character:"[",inConstruct:["phrasing","label","reference"]}],handlers:{footnoteDefinition:s5,footnoteReference:ak}}}function JI(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function e5(){this.buffer()}function t5(e){const n=this.resume(),a=this.stack[this.stack.length-1];a.type,a.label=n,a.identifier=oo(this.sliceSerialize(e)).toLowerCase()}function n5(e){this.exit(e)}function r5(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function a5(){this.buffer()}function i5(e){const n=this.resume(),a=this.stack[this.stack.length-1];a.type,a.label=n,a.identifier=oo(this.sliceSerialize(e)).toLowerCase()}function o5(e){this.exit(e)}function ak(e,n,a,s){const f=a.createTracker(s);let p=f.move("[^");const d=a.enter("footnoteReference"),g=a.enter("reference");return p+=f.move(a.safe(a.associationId(e),{...f.current(),before:p,after:"]"})),g(),d(),p+=f.move("]"),p}function u5(){return"["}function s5(e,n,a,s){const f=a.createTracker(s);let p=f.move("[^");const d=a.enter("footnoteDefinition"),g=a.enter("label");return p+=f.move(a.safe(a.associationId(e),{...f.current(),before:p,after:"]"})),g(),p+=f.move("]:"+(e.children&&e.children.length>0?" ":"")),f.shift(4),p+=f.move(a.indentLines(a.containerFlow(e,f.current()),l5)),d(),p}function l5(e,n,a){return n===0?e:(a?"":" ")+e}const c5=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];ik.peek=m5;function d5(){return{canContainEols:["delete"],enter:{strikethrough:h5},exit:{strikethrough:p5}}}function f5(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:c5}],handlers:{delete:ik}}}function h5(e){this.enter({type:"delete",children:[]},e)}function p5(e){this.exit(e)}function ik(e,n,a,s){const f=a.createTracker(s),p=a.enter("strikethrough");let d=f.move("~~");return d+=a.containerPhrasing(e,{...f.current(),before:d,after:"~"}),d+=f.move("~~"),p(),d}function m5(){return"~"}function g5(e,n={}){const a=(n.align||[]).concat(),s=n.stringLength||y5,f=[],p=[],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 z=v5(e[b][B]);if(n.alignDelimiters!==!1){const G=s(z);L[B]=G,(g[B]===void 0||G>g[B])&&(g[B]=G)}D.push(z)}p[b]=D,d[b]=L}let C=-1;if(typeof a=="object"&&"length"in a)for(;++C<E;)f[C]=r_(a[C]);else{const D=r_(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 z=n.alignDelimiters===!1?1:Math.max(1,g[C]-L.length-B.length);const G=L+"-".repeat(z)+B;n.alignDelimiters!==!1&&(z=L.length+z+B.length,z>g[C]&&(g[C]=z),R[C]=z),S[C]=G}p.splice(1,0,S),d.splice(1,0,R),b=-1;const A=[];for(;++b<p.length;){const D=p[b],L=d[b];C=-1;const B=[];for(;++C<E;){const z=D[C]||"";let G="",W="";if(n.alignDelimiters!==!1){const Z=g[C]-(L[C]||0),J=f[C];J===114?G=" ".repeat(Z):J===99?Z%2?(G=" ".repeat(Z/2+.5),W=" ".repeat(Z/2-.5)):(G=" ".repeat(Z/2),W=G):W=" ".repeat(Z)}n.delimiterStart!==!1&&!C&&B.push("|"),n.padding!==!1&&!(n.alignDelimiters===!1&&z==="")&&(n.delimiterStart!==!1||C)&&B.push(" "),n.alignDelimiters!==!1&&B.push(G),B.push(z),n.alignDelimiters!==!1&&B.push(W),n.padding!==!1&&B.push(" "),(n.delimiterEnd!==!1||C!==E-1)&&B.push("|")}A.push(n.delimiterEnd===!1?B.join("").replace(/ +$/,""):B.join(""))}return A.join(`
|
|
2
|
-
`)}function
|
|
3
|
-
`&&
|
|
4
|
-
`}function
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const U=require("react/jsx-runtime"),vt=require("./index-D2PGs8oF.cjs"),IL=require("@radix-ui/react-tooltip"),Dt=require("react"),QA=require("clsx"),ML=require("@radix-ui/react-avatar"),Sr=require("framer-motion"),ZC=require("tinycolor2"),PT=require("@radix-ui/react-slot"),cn=require("lucide-react"),PL=require("date-fns"),FL=require("@radix-ui/react-dropdown-menu"),UL=require("@radix-ui/react-switch"),BL=require("react-dropzone"),JC=require("react-hot-toast"),Nw=require("zod");function Fm(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 Um=Fm(IL),ie=Fm(Dt),$f=Fm(ML),qn=Fm(FL),sT=Fm(UL),HL="[data-chat-widget-content-root]";function $A({fallbackHeight:e}){const n=Dt.useRef(null);return Dt.useEffect(()=>{const a=document.querySelector(HL);if(a&&n.current){const s=n.current;let f;const p=new ResizeObserver(()=>{f=requestAnimationFrame(()=>{const d=Math.max(s.offsetHeight,e);a.style.setProperty("--opencx-widget-height",d.toFixed(1)+"px")})});return p.observe(s),()=>{cancelAnimationFrame(f),p.unobserve(s)}}},[]),{observedElementRef:n}}const FT="-",zL=e=>{const n=VL(e),{conflictingClassGroups:a,conflictingClassGroupModifiers:s}=e;return{getClassGroupId:d=>{const g=d.split(FT);return g[0]===""&&g.length!==1&&g.shift(),GA(g,n)||jL(d)},getConflictingClassGroupIds:(d,g)=>{const E=a[d]||[];return g&&s[d]?[...E,...s[d]]:E}}},GA=(e,n)=>{var d;if(e.length===0)return n.classGroupId;const a=e[0],s=n.nextPart.get(a),f=s?GA(e.slice(1),s):void 0;if(f)return f;if(n.validators.length===0)return;const p=e.join(FT);return(d=n.validators.find(({validator:g})=>g(p)))==null?void 0:d.classGroupId},e_=/^\[(.+)\]$/,jL=e=>{if(e_.test(e)){const n=e_.exec(e)[1],a=n==null?void 0:n.substring(0,n.indexOf(":"));if(a)return"arbitrary.."+a}},VL=e=>{const{theme:n,prefix:a}=e,s={nextPart:new Map,validators:[]};return WL(Object.entries(e.classGroups),a).forEach(([p,d])=>{lT(d,s,p,n)}),s},lT=(e,n,a,s)=>{e.forEach(f=>{if(typeof f=="string"){const p=f===""?n:t_(n,f);p.classGroupId=a;return}if(typeof f=="function"){if(YL(f)){lT(f(s),n,a,s);return}n.validators.push({validator:f,classGroupId:a});return}Object.entries(f).forEach(([p,d])=>{lT(d,t_(n,p),a,s)})})},t_=(e,n)=>{let a=e;return n.split(FT).forEach(s=>{a.nextPart.has(s)||a.nextPart.set(s,{nextPart:new Map,validators:[]}),a=a.nextPart.get(s)}),a},YL=e=>e.isThemeGetter,WL=(e,n)=>n?e.map(([a,s])=>{const f=s.map(p=>typeof p=="string"?n+p:typeof p=="object"?Object.fromEntries(Object.entries(p).map(([d,g])=>[n+d,g])):p);return[a,f]}):e,qL=e=>{if(e<1)return{get:()=>{},set:()=>{}};let n=0,a=new Map,s=new Map;const f=(p,d)=>{a.set(p,d),n++,n>e&&(n=0,s=a,a=new Map)};return{get(p){let d=a.get(p);if(d!==void 0)return d;if((d=s.get(p))!==void 0)return f(p,d),d},set(p,d){a.has(p)?a.set(p,d):f(p,d)}}},XA="!",QL=e=>{const{separator:n,experimentalParseClassName:a}=e,s=n.length===1,f=n[0],p=n.length,d=g=>{const E=[];let b=0,C=0,S;for(let B=0;B<g.length;B++){let z=g[B];if(b===0){if(z===f&&(s||g.slice(B,B+p)===n)){E.push(g.slice(C,B)),C=B+p;continue}if(z==="/"){S=B;continue}}z==="["?b++:z==="]"&&b--}const R=E.length===0?g:g.substring(C),A=R.startsWith(XA),D=A?R.substring(1):R,L=S&&S>C?S-C:void 0;return{modifiers:E,hasImportantModifier:A,baseClassName:D,maybePostfixModifierPosition:L}};return a?g=>a({className:g,parseClassName:d}):d},$L=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},GL=e=>({cache:qL(e.cacheSize),parseClassName:QL(e),...zL(e)}),XL=/\s+/,KL=(e,n)=>{const{parseClassName:a,getClassGroupId:s,getConflictingClassGroupIds:f}=n,p=[],d=e.trim().split(XL);let g="";for(let E=d.length-1;E>=0;E-=1){const b=d[E],{modifiers:C,hasImportantModifier:S,baseClassName:R,maybePostfixModifierPosition:A}=a(b);let D=!!A,L=s(D?R.substring(0,A):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=$L(C).join(":"),z=S?B+XA:B,G=z+L;if(p.includes(G))continue;p.push(G);const W=f(L,D);for(let Z=0;Z<W.length;++Z){const J=W[Z];p.push(z+J)}g=b+(g.length>0?" "+g:g)}return g};function ZL(){let e=0,n,a,s="";for(;e<arguments.length;)(n=arguments[e++])&&(a=KA(n))&&(s&&(s+=" "),s+=a);return s}const KA=e=>{if(typeof e=="string")return e;let n,a="";for(let s=0;s<e.length;s++)e[s]&&(n=KA(e[s]))&&(a&&(a+=" "),a+=n);return a};function JL(e,...n){let a,s,f,p=d;function d(E){const b=n.reduce((C,S)=>S(C),e());return a=GL(b),s=a.cache.get,f=a.cache.set,p=g,g(E)}function g(E){const b=s(E);if(b)return b;const C=KL(E,a);return f(E,C),C}return function(){return p(ZL.apply(null,arguments))}}const mn=e=>{const n=a=>a[e]||[];return n.isThemeGetter=!0,n},ZA=/^\[(?:([a-z-]+):)?(.+)\]$/i,eI=/^\d+\/\d+$/,tI=new Set(["px","full","screen"]),nI=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,rI=/\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$/,aI=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,iI=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,oI=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Lu=e=>Bf(e)||tI.has(e)||eI.test(e),Qs=e=>Gf(e,"length",pI),Bf=e=>!!e&&!Number.isNaN(Number(e)),Dw=e=>Gf(e,"number",Bf),ym=e=>!!e&&Number.isInteger(Number(e)),uI=e=>e.endsWith("%")&&Bf(e.slice(0,-1)),Tt=e=>ZA.test(e),$s=e=>nI.test(e),sI=new Set(["length","size","percentage"]),lI=e=>Gf(e,sI,JA),cI=e=>Gf(e,"position",JA),dI=new Set(["image","url"]),fI=e=>Gf(e,dI,gI),hI=e=>Gf(e,"",mI),Em=()=>!0,Gf=(e,n,a)=>{const s=ZA.exec(e);return s?s[1]?typeof n=="string"?s[1]===n:n.has(s[1]):a(s[2]):!1},pI=e=>rI.test(e)&&!aI.test(e),JA=()=>!1,mI=e=>iI.test(e),gI=e=>oI.test(e),vI=()=>{const e=mn("colors"),n=mn("spacing"),a=mn("blur"),s=mn("brightness"),f=mn("borderColor"),p=mn("borderRadius"),d=mn("borderSpacing"),g=mn("borderWidth"),E=mn("contrast"),b=mn("grayscale"),C=mn("hueRotate"),S=mn("invert"),R=mn("gap"),A=mn("gradientColorStops"),D=mn("gradientColorStopPositions"),L=mn("inset"),B=mn("margin"),z=mn("opacity"),G=mn("padding"),W=mn("saturate"),Z=mn("scale"),J=mn("sepia"),X=mn("skew"),ce=mn("space"),Te=mn("translate"),Me=()=>["auto","contain","none"],K=()=>["auto","hidden","clip","visible","scroll"],Ee=()=>["auto",Tt,n],ge=()=>[Tt,n],Re=()=>["",Lu,Qs],Oe=()=>["auto",Bf,Tt],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"],pe=()=>["start","end","center","between","around","evenly","stretch"],De=()=>["","0",Tt],P=()=>["auto","avoid","all","avoid-page","page","left","right","column"],et=()=>[Bf,Tt];return{cacheSize:500,separator:":",theme:{colors:[Em],spacing:[Lu,Qs],blur:["none","",$s,Tt],brightness:et(),borderColor:[e],borderRadius:["none","","full",$s,Tt],borderSpacing:ge(),borderWidth:Re(),contrast:et(),grayscale:De(),hueRotate:et(),invert:De(),gap:ge(),gradientColorStops:[e],gradientColorStopPositions:[uI,Qs],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",Tt]}],container:["container"],columns:[{columns:[$s]}],"break-after":[{"break-after":P()}],"break-before":[{"break-before":P()}],"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(),Tt]}],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",ym,Tt]}],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",Tt]}],grow:[{grow:De()}],shrink:[{shrink:De()}],order:[{order:["first","last","none",ym,Tt]}],"grid-cols":[{"grid-cols":[Em]}],"col-start-end":[{col:["auto",{span:["full",ym,Tt]},Tt]}],"col-start":[{"col-start":Oe()}],"col-end":[{"col-end":Oe()}],"grid-rows":[{"grid-rows":[Em]}],"row-start-end":[{row:["auto",{span:[ym,Tt]},Tt]}],"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",Tt]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",Tt]}],gap:[{gap:[R]}],"gap-x":[{"gap-x":[R]}],"gap-y":[{"gap-y":[R]}],"justify-content":[{justify:["normal",...pe()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...pe(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...pe(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[G]}],px:[{px:[G]}],py:[{py:[G]}],ps:[{ps:[G]}],pe:[{pe:[G]}],pt:[{pt:[G]}],pr:[{pr:[G]}],pb:[{pb:[G]}],pl:[{pl:[G]}],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":[ce]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[ce]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",Tt,n]}],"min-w":[{"min-w":[Tt,n,"min","max","fit"]}],"max-w":[{"max-w":[Tt,n,"none","full","min","max","fit","prose",{screen:[$s]},$s]}],h:[{h:[Tt,n,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[Tt,n,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[Tt,n,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[Tt,n,"auto","min","max","fit"]}],"font-size":[{text:["base",$s,Qs]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Dw]}],"font-family":[{font:[Em]}],"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",Tt]}],"line-clamp":[{"line-clamp":["none",Bf,Dw]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Lu,Tt]}],"list-image":[{"list-image":["none",Tt]}],"list-style-type":[{list:["none","disc","decimal",Tt]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[z]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[z]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...je(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Lu,Qs]}],"underline-offset":[{"underline-offset":["auto",Lu,Tt]}],"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",Tt]}],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",Tt]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[z]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...qe(),cI]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",lI]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},fI]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[D]}],"gradient-via-pos":[{via:[D]}],"gradient-to-pos":[{to:[D]}],"gradient-from":[{from:[A]}],"gradient-via":[{via:[A]}],"gradient-to":[{to:[A]}],rounded:[{rounded:[p]}],"rounded-s":[{"rounded-s":[p]}],"rounded-e":[{"rounded-e":[p]}],"rounded-t":[{"rounded-t":[p]}],"rounded-r":[{"rounded-r":[p]}],"rounded-b":[{"rounded-b":[p]}],"rounded-l":[{"rounded-l":[p]}],"rounded-ss":[{"rounded-ss":[p]}],"rounded-se":[{"rounded-se":[p]}],"rounded-ee":[{"rounded-ee":[p]}],"rounded-es":[{"rounded-es":[p]}],"rounded-tl":[{"rounded-tl":[p]}],"rounded-tr":[{"rounded-tr":[p]}],"rounded-br":[{"rounded-br":[p]}],"rounded-bl":[{"rounded-bl":[p]}],"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":[z]}],"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":[z]}],"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":[Lu,Tt]}],"outline-w":[{outline:[Lu,Qs]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:Re()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[z]}],"ring-offset-w":[{"ring-offset":[Lu,Qs]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",$s,hI]}],"shadow-color":[{shadow:[Em]}],opacity:[{opacity:[z]}],"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,Tt]}],grayscale:[{grayscale:[b]}],"hue-rotate":[{"hue-rotate":[C]}],invert:[{invert:[S]}],saturate:[{saturate:[W]}],sepia:[{sepia:[J]}],"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":[z]}],"backdrop-saturate":[{"backdrop-saturate":[W]}],"backdrop-sepia":[{"backdrop-sepia":[J]}],"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",Tt]}],duration:[{duration:et()}],ease:[{ease:["linear","in","out","in-out",Tt]}],delay:[{delay:et()}],animate:[{animate:["none","spin","ping","pulse","bounce",Tt]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[Z]}],"scale-x":[{"scale-x":[Z]}],"scale-y":[{"scale-y":[Z]}],rotate:[{rotate:[ym,Tt]}],"translate-x":[{"translate-x":[Te]}],"translate-y":[{"translate-y":[Te]}],"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",Tt]}],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",Tt]}],"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",Tt]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[Lu,Qs,Dw]}],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"]}}},yI=JL(vI);function Lt(...e){return yI(QA.clsx(e))}const EI=Um.Provider,bI=Um.Root,wI=Um.Trigger,ek=ie.forwardRef(({className:e,sideOffset:n=4,...a},s)=>U.jsx(Um.Content,{ref:s,sideOffset:n,className:Lt("z-50 overflow-hidden max-w-xs rounded-xl bg-black 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}));ek.displayName=Um.Content.displayName;function cT({children:e,content:n,side:a,align:s}){return U.jsxs(bI,{children:[U.jsx(wI,{asChild:!0,children:e}),U.jsx(ek,{side:a,align:s,collisionPadding:8,avoidCollisions:!0,children:n})]})}function n_(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 Ea=ol(/[A-Za-z]/),na=ol(/[\dA-Za-z]/),TI=ol(/[#-'*+\--9=?A-Z^-~]/);function S1(e){return e!==null&&(e<32||e===127)}const dT=ol(/\d/),xI=ol(/[\dA-Fa-f]/),SI=ol(/[!-/:-@[-`{-~]/);function ut(e){return e!==null&&e<-2}function rn(e){return e!==null&&(e<0||e===32)}function Ot(e){return e===-2||e===-1||e===32}const P1=ol(new RegExp("\\p{P}|\\p{S}","u")),Ac=ol(/\s/);function ol(e){return n;function n(a){return a!==null&&a>-1&&e.test(String.fromCharCode(a))}}function CI(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}const F1=function(e){if(e==null)return RI;if(typeof e=="function")return U1(e);if(typeof e=="object")return Array.isArray(e)?_I(e):AI(e);if(typeof e=="string")return kI(e);throw new Error("Expected function, string, or object as test")};function _I(e){const n=[];let a=-1;for(;++a<e.length;)n[a]=F1(e[a]);return U1(s);function s(...f){let p=-1;for(;++p<n.length;)if(n[p].apply(this,f))return!0;return!1}}function AI(e){const n=e;return U1(a);function a(s){const f=s;let p;for(p in e)if(f[p]!==n[p])return!1;return!0}}function kI(e){return U1(n);function n(a){return a&&a.type===e}}function U1(e){return n;function n(a,s,f){return!!(NI(a)&&e.call(this,a,typeof s=="number"?s:void 0,f||void 0))}}function RI(){return!0}function NI(e){return e!==null&&typeof e=="object"&&"type"in e}const tk=[],DI=!0,fT=!1,OI="skip";function nk(e,n,a,s){let f;typeof n=="function"&&typeof a!="function"?(s=a,a=n):f=n;const p=F1(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 A=typeof S.tagName=="string"?S.tagName:typeof S.name=="string"?S.name:void 0;Object.defineProperty(R,"name",{value:"node ("+(E.type+(A?"<"+A+">":""))+")"})}return R;function R(){let A=tk,D,L,B;if((!n||p(E,b,C[C.length-1]||void 0))&&(A=LI(a(E,C)),A[0]===fT))return A;if("children"in E&&E.children){const z=E;if(z.children&&A[0]!==OI)for(L=(s?z.children.length:-1)+d,B=C.concat(z);L>-1&&L<z.children.length;){const G=z.children[L];if(D=g(G,L,B)(),D[0]===fT)return D;L=typeof D[1]=="number"?D[1]:L+d}}return A}}}function LI(e){return Array.isArray(e)?e:typeof e=="number"?[DI,e]:e==null?tk:[e]}function II(e,n,a){const f=F1((a||{}).ignore||[]),p=MI(n);let d=-1;for(;++d<p.length;)nk(e,"text",g);function g(b,C){let S=-1,R;for(;++S<C.length;){const A=C[S],D=R?R.children:void 0;if(f(A,D?D.indexOf(A):void 0,R))return;R=A}if(R)return E(b,C)}function E(b,C){const S=C[C.length-1],R=p[d][0],A=p[d][1];let D=0;const B=S.children.indexOf(b);let z=!1,G=[];R.lastIndex=0;let W=R.exec(b.value);for(;W;){const Z=W.index,J={index:W.index,input:W.input,stack:[...C,b]};let X=A(...W,J);if(typeof X=="string"&&(X=X.length>0?{type:"text",value:X}:void 0),X===!1?R.lastIndex=Z+1:(D!==Z&&G.push({type:"text",value:b.value.slice(D,Z)}),Array.isArray(X)?G.push(...X):X&&G.push(X),D=Z+W[0].length,z=!0),!R.global)break;W=R.exec(b.value)}return z?(D<b.value.length&&G.push({type:"text",value:b.value.slice(D)}),S.children.splice(B,1,...G)):G=[b],B+G.length}}function MI(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([PI(f[0]),FI(f[1])])}return n}function PI(e){return typeof e=="string"?new RegExp(CI(e),"g"):e}function FI(e){return typeof e=="function"?e:function(){return e}}const Ow="phrasing",Lw=["autolink","link","image","label"];function UI(){return{transforms:[WI],enter:{literalAutolink:HI,literalAutolinkEmail:Iw,literalAutolinkHttp:Iw,literalAutolinkWww:Iw},exit:{literalAutolink:YI,literalAutolinkEmail:VI,literalAutolinkHttp:zI,literalAutolinkWww:jI}}}function BI(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:Ow,notInConstruct:Lw},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:Ow,notInConstruct:Lw},{character:":",before:"[ps]",after:"\\/",inConstruct:Ow,notInConstruct:Lw}]}}function HI(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function Iw(e){this.config.enter.autolinkProtocol.call(this,e)}function zI(e){this.config.exit.autolinkProtocol.call(this,e)}function jI(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 VI(e){this.config.exit.autolinkEmail.call(this,e)}function YI(e){this.exit(e)}function WI(e){II(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,qI],[new RegExp("(?<=^|\\s|\\p{P}|\\p{S})([-.\\w+]+)@([-\\w]+(?:\\.[-\\w]+)+)","gu"),QI]],{ignore:["link","linkReference"]})}function qI(e,n,a,s,f){let p="";if(!rk(f)||(/^w/i.test(n)&&(a=n+a,n="",p="http://"),!$I(a)))return!1;const d=GI(a+s);if(!d[0])return!1;const g={type:"link",title:null,url:p+n+d[0],children:[{type:"text",value:n+d[0]}]};return d[1]?[g,{type:"text",value:d[1]}]:g}function QI(e,n,a,s){return!rk(s,!0)||/[-\d_]$/.test(a)?!1:{type:"link",title:null,url:"mailto:"+n+"@"+a,children:[{type:"text",value:n+"@"+a}]}}function $I(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 GI(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=n_(e,"(");let p=n_(e,")");for(;s!==-1&&f>p;)e+=a.slice(0,s+1),a=a.slice(s+1),s=a.indexOf(")"),p++;return[e,a]}function rk(e,n){const a=e.input.charCodeAt(e.index-1);return(e.index===0||Ac(a)||P1(a))&&(!n||a!==47)}function oo(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}ak.peek=o5;function XI(){return{enter:{gfmFootnoteDefinition:ZI,gfmFootnoteDefinitionLabelString:JI,gfmFootnoteCall:n5,gfmFootnoteCallString:r5},exit:{gfmFootnoteDefinition:t5,gfmFootnoteDefinitionLabelString:e5,gfmFootnoteCall:i5,gfmFootnoteCallString:a5}}}function KI(){return{unsafe:[{character:"[",inConstruct:["phrasing","label","reference"]}],handlers:{footnoteDefinition:u5,footnoteReference:ak}}}function ZI(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function JI(){this.buffer()}function e5(e){const n=this.resume(),a=this.stack[this.stack.length-1];a.type,a.label=n,a.identifier=oo(this.sliceSerialize(e)).toLowerCase()}function t5(e){this.exit(e)}function n5(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function r5(){this.buffer()}function a5(e){const n=this.resume(),a=this.stack[this.stack.length-1];a.type,a.label=n,a.identifier=oo(this.sliceSerialize(e)).toLowerCase()}function i5(e){this.exit(e)}function ak(e,n,a,s){const f=a.createTracker(s);let p=f.move("[^");const d=a.enter("footnoteReference"),g=a.enter("reference");return p+=f.move(a.safe(a.associationId(e),{...f.current(),before:p,after:"]"})),g(),d(),p+=f.move("]"),p}function o5(){return"["}function u5(e,n,a,s){const f=a.createTracker(s);let p=f.move("[^");const d=a.enter("footnoteDefinition"),g=a.enter("label");return p+=f.move(a.safe(a.associationId(e),{...f.current(),before:p,after:"]"})),g(),p+=f.move("]:"+(e.children&&e.children.length>0?" ":"")),f.shift(4),p+=f.move(a.indentLines(a.containerFlow(e,f.current()),s5)),d(),p}function s5(e,n,a){return n===0?e:(a?"":" ")+e}const l5=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];ik.peek=p5;function c5(){return{canContainEols:["delete"],enter:{strikethrough:f5},exit:{strikethrough:h5}}}function d5(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:l5}],handlers:{delete:ik}}}function f5(e){this.enter({type:"delete",children:[]},e)}function h5(e){this.exit(e)}function ik(e,n,a,s){const f=a.createTracker(s),p=a.enter("strikethrough");let d=f.move("~~");return d+=a.containerPhrasing(e,{...f.current(),before:d,after:"~"}),d+=f.move("~~"),p(),d}function p5(){return"~"}function m5(e,n={}){const a=(n.align||[]).concat(),s=n.stringLength||v5,f=[],p=[],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 z=g5(e[b][B]);if(n.alignDelimiters!==!1){const G=s(z);L[B]=G,(g[B]===void 0||G>g[B])&&(g[B]=G)}D.push(z)}p[b]=D,d[b]=L}let C=-1;if(typeof a=="object"&&"length"in a)for(;++C<E;)f[C]=r_(a[C]);else{const D=r_(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 z=n.alignDelimiters===!1?1:Math.max(1,g[C]-L.length-B.length);const G=L+"-".repeat(z)+B;n.alignDelimiters!==!1&&(z=L.length+z+B.length,z>g[C]&&(g[C]=z),R[C]=z),S[C]=G}p.splice(1,0,S),d.splice(1,0,R),b=-1;const A=[];for(;++b<p.length;){const D=p[b],L=d[b];C=-1;const B=[];for(;++C<E;){const z=D[C]||"";let G="",W="";if(n.alignDelimiters!==!1){const Z=g[C]-(L[C]||0),J=f[C];J===114?G=" ".repeat(Z):J===99?Z%2?(G=" ".repeat(Z/2+.5),W=" ".repeat(Z/2-.5)):(G=" ".repeat(Z/2),W=G):W=" ".repeat(Z)}n.delimiterStart!==!1&&!C&&B.push("|"),n.padding!==!1&&!(n.alignDelimiters===!1&&z==="")&&(n.delimiterStart!==!1||C)&&B.push(" "),n.alignDelimiters!==!1&&B.push(G),B.push(z),n.alignDelimiters!==!1&&B.push(W),n.padding!==!1&&B.push(" "),(n.delimiterEnd!==!1||C!==E-1)&&B.push("|")}A.push(n.delimiterEnd===!1?B.join("").replace(/ +$/,""):B.join(""))}return A.join(`
|
|
2
|
+
`)}function g5(e){return e==null?"":String(e)}function v5(e){return e.length}function r_(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 a_={}.hasOwnProperty;function ok(e,n){const a=n||{};function s(f,...p){let d=s.invalid;const g=s.handlers;if(f&&a_.call(f,e)){const E=String(f[e]);d=a_.call(g,E)?g[E]:s.unknown}if(d)return d.call(this,f,...p)}return s.handlers=a.handlers||{},s.invalid=a.invalid,s.unknown=a.unknown,s}function y5(e,n,a,s){const f=a.enter("blockquote"),p=a.createTracker(s);p.move("> "),p.shift(2);const d=a.indentLines(a.containerFlow(e,p.current()),E5);return f(),d}function E5(e,n,a){return">"+(a?"":" ")+e}function b5(e,n){return i_(e,n.inConstruct,!0)&&!i_(e,n.notInConstruct,!1)}function i_(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 o_(e,n,a,s){let f=-1;for(;++f<a.unsafe.length;)if(a.unsafe[f].character===`
|
|
3
|
+
`&&b5(a.stack,a.unsafe[f]))return/[ \t]/.test(s.before)?"":" ";return`\\
|
|
4
|
+
`}function w5(e,n){const a=String(e);let s=a.indexOf(n),f=s,p=0,d=0;if(typeof n!="string")throw new TypeError("Expected substring");for(;s!==-1;)s===f?++p>d&&(d=p):p=1,f=s+n.length,s=a.indexOf(n,f);return d}function T5(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 x5(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 S5(e,n,a,s){const f=x5(a),p=e.value||"",d=f==="`"?"GraveAccent":"Tilde";if(T5(e,a)){const S=a.enter("codeIndented"),R=a.indentLines(p,C5);return S(),R}const g=a.createTracker(s),E=f.repeat(Math.max(w5(p,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
5
|
`,encode:["`"],...g.current()})),S()}return C+=g.move(`
|
|
6
6
|
`),p&&(C+=g.move(p+`
|
|
7
|
-
`)),C+=g.move(E),b(),C}function
|
|
8
|
-
`,...E.current()}))),g(),e.title&&(g=a.enter(`title${p}`),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
|
|
7
|
+
`)),C+=g.move(E),b(),C}function C5(e,n,a){return(a?"":" ")+e}function UT(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 _5(e,n,a,s){const f=UT(a),p=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${p}`),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 A5(e){const n=e.options.emphasis||"*";if(n!=="*"&&n!=="_")throw new Error("Cannot serialize emphasis with `"+n+"` for `options.emphasis`, expected `*`, or `_`");return n}uk.peek=k5;function uk(e,n,a,s){const f=A5(a),p=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),p(),g}function k5(e,n,a){return a.options.emphasis||"*"}function B1(e,n,a,s){let f,p,d;typeof n=="function"&&typeof a!="function"?(p=void 0,d=n,f=a):(p=n,d=a,f=s),nk(e,p,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 R5={};function BT(e,n){const a=R5,s=typeof a.includeImageAlt=="boolean"?a.includeImageAlt:!0,f=typeof a.includeHtml=="boolean"?a.includeHtml:!0;return sk(e,s,f)}function sk(e,n,a){if(N5(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 u_(e.children,n,a)}return Array.isArray(e)?u_(e,n,a):""}function u_(e,n,a){const s=[];let f=-1;for(;++f<e.length;)s[f]=sk(e[f],n,a);return s.join("")}function N5(e){return!!(e&&typeof e=="object")}function D5(e,n){let a=!1;return B1(e,function(s){if("value"in s&&/\r?\n|\r/.test(s.value)||s.type==="break")return a=!0,fT}),!!((!e.depth||e.depth<3)&&BT(e)&&(n.options.setext||a))}function O5(e,n,a,s){const f=Math.max(Math.min(6,e.depth||1),1),p=a.createTracker(s);if(D5(e,a)){const C=a.enter("headingSetext"),S=a.enter("phrasing"),R=a.containerPhrasing(e,{...p.current(),before:`
|
|
9
9
|
`,after:`
|
|
10
10
|
`});return S(),C(),R+`
|
|
11
11
|
`+(f===1?"=":"-").repeat(R.length-(Math.max(R.lastIndexOf("\r"),R.lastIndexOf(`
|
|
12
12
|
`))+1))}const d="#".repeat(f),g=a.enter("headingAtx"),E=a.enter("phrasing");p.move(d+" ");let b=a.containerPhrasing(e,{before:"# ",after:`
|
|
13
|
-
`,...p.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}lk.peek=
|
|
13
|
+
`,...p.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}lk.peek=L5;function lk(e){return e.value||""}function L5(){return"<"}ck.peek=I5;function ck(e,n,a,s){const f=UT(a),p=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${p}`),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 I5(){return"!"}dk.peek=M5;function dk(e,n,a,s){const f=e.referenceType,p=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,p(),f==="full"||!b||b!==S?E+=g.move(S+"]"):f==="shortcut"?E=E.slice(0,-1):E+=g.move("]"),E}function M5(){return"!"}fk.peek=P5;function fk(e,n,a){let s=e.value||"",f="`",p=-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+" ");++p<a.unsafe.length;){const d=a.unsafe[p],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 P5(){return"`"}function hk(e,n){const a=BT(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))}pk.peek=F5;function pk(e,n,a,s){const f=UT(a),p=f==='"'?"Quote":"Apostrophe",d=a.createTracker(s);let g,E;if(hk(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${p}`),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 F5(e,n,a){return hk(e,a)?"<":"["}mk.peek=U5;function mk(e,n,a,s){const f=e.referenceType,p=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,p(),f==="full"||!b||b!==S?E+=g.move(S+"]"):f==="shortcut"?E=E.slice(0,-1):E+=g.move("]"),E}function U5(){return"["}function HT(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 B5(e){const n=HT(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 H5(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 gk(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 z5(e,n,a,s){const f=a.enter("list"),p=a.bulletCurrent;let d=e.ordered?H5(a):HT(a);const g=e.ordered?d==="."?")":".":B5(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),gk(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=p,f(),b}function j5(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 V5(e,n,a,s){const f=j5(a);let p=a.bulletCurrent||HT(a);n&&n.type==="list"&&n.ordered&&(p=(typeof n.start=="number"&&n.start>-1?n.start:1)+(a.options.incrementListMarker===!1?0:n.children.indexOf(e))+p);let d=p.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(p+" ".repeat(d-p.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,A){return R?(A?"":" ".repeat(d))+S:(A?p:p+" ".repeat(d-p.length))+S}}function Y5(e,n,a,s){const f=a.enter("paragraph"),p=a.enter("phrasing"),d=a.containerPhrasing(e,s);return p(),f(),d}const W5=F1(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function q5(e,n,a,s){return(e.children.some(function(d){return W5(d)})?a.containerPhrasing:a.containerFlow).call(a,e,s)}function Q5(e){const n=e.options.strong||"*";if(n!=="*"&&n!=="_")throw new Error("Cannot serialize strong with `"+n+"` for `options.strong`, expected `*`, or `_`");return n}vk.peek=$5;function vk(e,n,a,s){const f=Q5(a),p=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),p(),g}function $5(e,n,a){return a.options.strong||"*"}function G5(e,n,a,s){return a.safe(e.value,s)}function X5(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 K5(e,n,a){const s=(gk(a)+(a.options.ruleSpaces?" ":"")).repeat(X5(a));return a.options.ruleSpaces?s.slice(0,-1):s}const yk={blockquote:y5,break:o_,code:S5,definition:_5,emphasis:uk,hardBreak:o_,heading:O5,html:lk,image:ck,imageReference:dk,inlineCode:fk,link:pk,linkReference:mk,list:z5,listItem:V5,paragraph:Y5,root:q5,strong:vk,text:G5,thematicBreak:K5},s_=document.createElement("i");function zT(e){const n="&"+e+";";s_.innerHTML=n;const a=s_.textContent;return a.charCodeAt(a.length-1)===59&&e!=="semi"||a===n?!1:a}function Ek(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 Z5=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function J5(e){return e.replace(Z5,e8)}function e8(e,n,a){if(n)return n;if(a.charCodeAt(0)===35){const f=a.charCodeAt(1),p=f===120||f===88;return Ek(a.slice(p?2:1),p?16:10)}return zT(a)||e}function t8(){return{enter:{table:n8,tableData:l_,tableHeader:l_,tableRow:a8},exit:{codeText:i8,table:r8,tableData:Mw,tableHeader:Mw,tableRow:Mw}}}function n8(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 r8(e){this.exit(e),this.data.inTable=void 0}function a8(e){this.enter({type:"tableRow",children:[]},e)}function Mw(e){this.exit(e)}function l_(e){this.enter({type:"tableCell",children:[]},e)}function i8(e){let n=this.resume();this.data.inTable&&(n=n.replace(/\\([\\|])/g,o8));const a=this.stack[this.stack.length-1];a.type,a.value=n,this.exit(e)}function o8(e,n){return n==="|"?n:e}function u8(e){const n=e||{},a=n.tableCellPadding,s=n.tablePipeAlign,f=n.stringLength,p=a?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
|
|
14
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(A,D,L,B){return b(C(A,L,B),A.align)}function g(A,D,L,B){const z=S(A,L,B),G=b([z]);return G.slice(0,G.indexOf(`
|
|
15
|
-
`))}function E(A,D,L,B){const z=L.enter("tableCell"),G=L.enter("phrasing"),W=L.containerPhrasing(A,{...B,before:p,after:p});return G(),z(),W}function b(A,D){return g5(A,{align:D,alignDelimiters:s,padding:a,stringLength:f})}function C(A,D,L){const B=A.children;let z=-1;const G=[],W=D.enter("table");for(;++z<B.length;)G[z]=S(B[z],D,L);return W(),G}function S(A,D,L){const B=A.children;let z=-1;const G=[],W=D.enter("tableRow");for(;++z<B.length;)G[z]=E(B[z],A,D,L);return W(),G}function R(A,D,L){let B=yk.inlineCode(A,D,L);return L.stack.includes("tableCell")&&(B=B.replace(/\|/g,"\\$&")),B}}function l8(){return{exit:{taskListCheckValueChecked:c_,taskListCheckValueUnchecked:c_,paragraph:d8}}}function c8(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:f8}}}function c_(e){const n=this.stack[this.stack.length-2];n.type,n.checked=e.type==="taskListCheckValueChecked"}function d8(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 p=-1,d;for(;++p<f.length;){const g=f[p];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 f8(e,n,a,s){const f=e.children[0],p=typeof e.checked=="boolean"&&f&&f.type==="paragraph",d="["+(e.checked?"x":" ")+"] ",g=a.createTracker(s);p&&g.move(d);let E=yk.listItem(e,n,a,{...s,...g.current()});return p&&(E=E.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,b)),E;function b(C){return C+d}}function h8(){return[BI(),KI(),d5(),n8(),l8()]}function p8(e){return{extensions:[HI(),ZI(),f5(),s8(e),c8()]}}function Ri(e,n,a,s){const f=e.length;let p=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);p<s.length;)d=s.slice(p,p+1e4),d.unshift(n,0),e.splice(...d),p+=1e4,n+=1e4}function Ai(e,n){return e.length>0?(Ri(e,e.length,0,n),e):n}const d_={}.hasOwnProperty;function bk(e){const n={};let a=-1;for(;++a<e.length;)m8(n,e[a]);return n}function m8(e,n){let a;for(a in n){const f=(d_.call(e,a)?e[a]:void 0)||(e[a]={}),p=n[a];let d;if(p)for(d in p){d_.call(f,d)||(f[d]=[]);const g=p[d];g8(f[d],Array.isArray(g)?g:g?[g]:[])}}}function g8(e,n){let a=-1;const s=[];for(;++a<n.length;)(n[a].add==="after"?e:s).push(n[a]);Ri(e,0,0,s)}const v8={tokenize:x8,partial:!0},wk={tokenize:S8,partial:!0},Tk={tokenize:C8,partial:!0},xk={tokenize:_8,partial:!0},y8={tokenize:A8,partial:!0},Sk={name:"wwwAutolink",tokenize:w8,previous:_k},Ck={name:"protocolAutolink",tokenize:T8,previous:Ak},Fu={name:"emailAutolink",tokenize:b8,previous:kk},Yo={};function E8(){return{text:Yo}}let xc=48;for(;xc<123;)Yo[xc]=Fu,xc++,xc===58?xc=65:xc===91&&(xc=97);Yo[43]=Fu;Yo[45]=Fu;Yo[46]=Fu;Yo[95]=Fu;Yo[72]=[Fu,Ck];Yo[104]=[Fu,Ck];Yo[87]=[Fu,Sk];Yo[119]=[Fu,Sk];function b8(e,n,a){const s=this;let f,p;return d;function d(S){return!hT(S)||!kk.call(s,s.previous)||jT(s.events)?a(S):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),g(S))}function g(S){return hT(S)?(e.consume(S),g):S===64?(e.consume(S),E):a(S)}function E(S){return S===46?e.check(y8,C,b)(S):S===45||S===95||na(S)?(p=!0,e.consume(S),E):C(S)}function b(S){return e.consume(S),f=!0,E}function C(S){return p&&f&&Ea(s.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),n(S)):a(S)}}function w8(e,n,a){const s=this;return f;function f(d){return d!==87&&d!==119||!_k.call(s,s.previous)||jT(s.events)?a(d):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(v8,e.attempt(wk,e.attempt(Tk,p),a),a)(d))}function p(d){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),n(d)}}function T8(e,n,a){const s=this;let f="",p=!1;return d;function d(S){return(S===72||S===104)&&Ak.call(s,s.previous)&&!jT(s.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),f+=String.fromCodePoint(S),e.consume(S),g):a(S)}function g(S){if(Ea(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),p?b:(p=!0,E)):a(S)}function b(S){return S===null||S1(S)||rn(S)||Ac(S)||P1(S)?a(S):e.attempt(wk,e.attempt(Tk,C),a)(S)}function C(S){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),n(S)}}function x8(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),p):a(d)}function p(d){return d===null?a(d):n(d)}}function S8(e,n,a){let s,f,p;return d;function d(b){return b===46||b===95?e.check(xk,E,g)(b):b===null||rn(b)||Ac(b)||b!==45&&P1(b)?E(b):(p=!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||!p?a(b):n(b)}}function C8(e,n){let a=0,s=0;return f;function f(d){return d===40?(a++,e.consume(d),f):d===41&&s<a?p(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(xk,n,p)(d):d===null||rn(d)||Ac(d)?n(d):(e.consume(d),f)}function p(d){return d===41&&s++,e.consume(d),f}}function _8(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),p):g===93?(e.consume(g),f):g===60||g===null||rn(g)||Ac(g)?n(g):a(g)}function f(g){return g===null||g===40||g===91||rn(g)||Ac(g)?n(g):s(g)}function p(g){return Ea(g)?d(g):a(g)}function d(g){return g===59?(e.consume(g),s):Ea(g)?(e.consume(g),d):a(g)}}function A8(e,n,a){return s;function s(p){return e.consume(p),f}function f(p){return na(p)?a(p):n(p)}}function _k(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||rn(e)}function Ak(e){return!Ea(e)}function kk(e){return!(e===47||hT(e))}function hT(e){return e===43||e===45||e===46||e===95||na(e)}function jT(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 Xf(e){const n=[];let a=-1,s=0,f=0;for(;++a<e.length;){const p=e.charCodeAt(a);let d="";if(p===37&&na(e.charCodeAt(a+1))&&na(e.charCodeAt(a+2)))f=2;else if(p<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(p))||(d=String.fromCharCode(p));else if(p>55295&&p<57344){const g=e.charCodeAt(a+1);p<56320&&g>56319&&g<57344?(d=String.fromCharCode(p,g),f=1):d="�"}else d=String.fromCharCode(p);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 C1(e){if(e===null||rn(e)||Ac(e))return 1;if(P1(e))return 2}function H1(e,n,a){const s=[];let f=-1;for(;++f<e.length;){const p=e[f].resolveAll;p&&!s.includes(p)&&(n=p(n,a),s.push(p))}return n}const pT={name:"attention",tokenize:R8,resolveAll:k8};function k8(e,n){let a=-1,s,f,p,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);f_(S,-E),f_(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},p={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",p,n]]),b=Ai(b,H1(n.parser.constructs.insideSpan.null,e.slice(s+1,a),n)),b=Ai(b,[["exit",p,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,Ri(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 R8(e,n){const a=this.parser.constructs.attentionMarkers.null,s=this.previous,f=C1(s);let p;return d;function d(E){return p=E,e.enter("attentionSequence"),g(E)}function g(E){if(E===p)return e.consume(E),g;const b=e.exit("attentionSequence"),C=C1(E),S=!C||C===2&&f||a.includes(E),R=!f||f===2&&C||a.includes(s);return b._open=!!(p===42?S:S&&(f||!R)),b._close=!!(p===42?R:R&&(C||!S)),n(E)}}function f_(e,n){e.column+=n,e.offset+=n,e._bufferIndex+=n}const N8={name:"autolink",tokenize:D8};function D8(e,n,a){let s=0;return f;function f(A){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(A),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),p}function p(A){return Ea(A)?(e.consume(A),d):A===64?a(A):b(A)}function d(A){return A===43||A===45||A===46||na(A)?(s=1,g(A)):b(A)}function g(A){return A===58?(e.consume(A),s=0,E):(A===43||A===45||A===46||na(A))&&s++<32?(e.consume(A),g):(s=0,b(A))}function E(A){return A===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(A),e.exit("autolinkMarker"),e.exit("autolink"),n):A===null||A===32||A===60||S1(A)?a(A):(e.consume(A),E)}function b(A){return A===64?(e.consume(A),C):xI(A)?(e.consume(A),b):a(A)}function C(A){return na(A)?S(A):a(A)}function S(A){return A===46?(e.consume(A),s=0,C):A===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(A),e.exit("autolinkMarker"),e.exit("autolink"),n):R(A)}function R(A){if((A===45||na(A))&&s++<63){const D=A===45?R:S;return e.consume(A),D}return a(A)}}function Ut(e,n,a,s){const f=s?s-1:Number.POSITIVE_INFINITY;let p=0;return d;function d(E){return Ot(E)?(e.enter(a),g(E)):n(E)}function g(E){return Ot(E)&&p++<f?(e.consume(E),g):(e.exit(a),n(E))}}const Bm={tokenize:O8,partial:!0};function O8(e,n,a){return s;function s(p){return Ot(p)?Ut(e,f,"linePrefix")(p):f(p)}function f(p){return p===null||ut(p)?n(p):a(p)}}const Rk={name:"blockQuote",tokenize:L8,continuation:{tokenize:I8},exit:M8};function L8(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"),p}return a(d)}function p(d){return Ot(d)?(e.enter("blockQuotePrefixWhitespace"),e.consume(d),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),n):(e.exit("blockQuotePrefix"),n(d))}}function I8(e,n,a){const s=this;return f;function f(d){return Ot(d)?Ut(e,p,"linePrefix",s.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(d):p(d)}function p(d){return e.attempt(Rk,n,a)(d)}}function M8(e){e.exit("blockQuote")}const Nk={name:"characterEscape",tokenize:P8};function P8(e,n,a){return s;function s(p){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(p),e.exit("escapeMarker"),f}function f(p){return CI(p)?(e.enter("characterEscapeValue"),e.consume(p),e.exit("characterEscapeValue"),e.exit("characterEscape"),n):a(p)}}const Dk={name:"characterReference",tokenize:F8};function F8(e,n,a){const s=this;let f=0,p,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"),p=31,d=na,C(S))}function b(S){return S===88||S===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(S),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),p=6,d=SI,C):(e.enter("characterReferenceValue"),p=7,d=dT,C(S))}function C(S){if(S===59&&f){const R=e.exit("characterReferenceValue");return d===na&&!zT(s.sliceSerialize(R))?a(S):(e.enter("characterReferenceMarker"),e.consume(S),e.exit("characterReferenceMarker"),e.exit("characterReference"),n)}return d(S)&&f++<p?(e.consume(S),C):a(S)}}const h_={tokenize:B8,partial:!0},p_={name:"codeFenced",tokenize:U8,concrete:!0};function U8(e,n,a){const s=this,f={tokenize:J,partial:!0};let p=0,d=0,g;return E;function E(X){return b(X)}function b(X){const ce=s.events[s.events.length-1];return p=ce&&ce[1].type==="linePrefix"?ce[2].sliceSerialize(ce[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"),Ot(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(h_,L,Z)(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)):Ot(X)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),Ut(e,A,"whitespace")(X)):X===96&&X===g?a(X):(e.consume(X),R)}function A(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,Z,B)(X)}function B(X){return e.enter("lineEnding"),e.consume(X),e.exit("lineEnding"),z}function z(X){return p>0&&Ot(X)?Ut(e,G,"linePrefix",p+1)(X):G(X)}function G(X){return X===null||ut(X)?e.check(h_,L,Z)(X):(e.enter("codeFlowValue"),W(X))}function W(X){return X===null||ut(X)?(e.exit("codeFlowValue"),G(X)):(e.consume(X),W)}function Z(X){return e.exit("codeFenced"),n(X)}function J(X,ce,Te){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"),Ot(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)):Te(qe)}function Re(qe){return qe===g?(Me++,X.consume(qe),Re):Me>=d?(X.exit("codeFencedFenceSequence"),Ot(qe)?Ut(X,Oe,"whitespace")(qe):Oe(qe)):Te(qe)}function Oe(qe){return qe===null||ut(qe)?(X.exit("codeFencedFence"),ce(qe)):Te(qe)}}}function B8(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"),p)}function p(d){return s.parser.lazy[s.now().line]?a(d):n(d)}}const Pw={name:"codeIndented",tokenize:z8},H8={tokenize:j8,partial:!0};function z8(e,n,a){const s=this;return f;function f(b){return e.enter("codeIndented"),Ut(e,p,"linePrefix",5)(b)}function p(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(H8,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 j8(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,p,"linePrefix",5)(d)}function p(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 V8={name:"codeText",tokenize:q8,resolve:Y8,previous:W8};function Y8(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 W8(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function q8(e,n,a){let s=0,f,p;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?(p=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)):(p.type="codeTextData",b(S))}}class Q8{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 p=this.right.splice(this.right.length-f,Number.POSITIVE_INFINITY);return s&&bm(this.left,s),p.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),bm(this.left,n)}unshift(n){this.setCursor(0),this.right.push(n)}unshiftMany(n){this.setCursor(0),bm(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);bm(this.right,a.reverse())}else{const a=this.right.splice(this.left.length+this.right.length-n,Number.POSITIVE_INFINITY);bm(this.left,a.reverse())}}}function bm(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 Ok(e){const n={};let a=-1,s,f,p,d,g,E,b;const C=new Q8(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,p=0,p<E.length&&E[p][1].type==="lineEndingBlank"&&(p+=2),p<E.length&&E[p][1].type==="content"))for(;++p<E.length&&E[p][1].type!=="content";)E[p][1].type==="chunkText"&&(E[p][1]._isInFirstContentOfListItem=!0,p++);if(s[0]==="enter")s[1].contentType&&(Object.assign(n,$8(C,a)),a=n[a],b=!0);else if(s[1]._container){for(p=a,f=void 0;p--&&(d=C.get(p),d[1].type==="lineEnding"||d[1].type==="lineEndingBlank");)d[0]==="enter"&&(f&&(C.get(f)[1].type="lineEndingBlank"),d[1].type="lineEnding",f=p);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 Ri(e,0,Number.POSITIVE_INFINITY,C.slice(0)),!b}function $8(e,n){const a=e.get(n)[1],s=e.get(n)[2];let f=n-1;const p=[],d=a._tokenizer||s.parser[a.contentType](a.start),g=d.events,E=[],b={};let C,S,R=-1,A=a,D=0,L=0;const B=[L];for(;A;){for(;e.get(++f)[1]!==A;);p.push(f),A._tokenizer||(C=s.sliceStream(A),A.next||C.push(null),S&&d.defineSkip(A.start),A._isInFirstContentOfListItem&&(d._gfmTasklistFirstContentOfListItem=!0),d.write(C),A._isInFirstContentOfListItem&&(d._gfmTasklistFirstContentOfListItem=void 0)),S=A,A=A.next}for(A=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),A._tokenizer=void 0,A.previous=void 0,A=A.next);for(d.events=[],A?(A._tokenizer=void 0,A.previous=void 0):B.pop(),R=B.length;R--;){const z=g.slice(B[R],B[R+1]),G=p.pop();E.push([G,G+z.length-1]),e.splice(G,2,z)}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 G8={tokenize:Z8,resolve:K8},X8={tokenize:J8,partial:!0};function K8(e){return Ok(e),e}function Z8(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?p(g):ut(g)?e.check(X8,d,p)(g):(e.consume(g),f)}function p(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 J8(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,p,"linePrefix")}function p(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 Lk(e,n,a,s,f,p,d,g,E){const b=E||Number.POSITIVE_INFINITY;let C=0;return S;function S(z){return z===60?(e.enter(s),e.enter(f),e.enter(p),e.consume(z),e.exit(p),R):z===null||z===32||z===41||S1(z)?a(z):(e.enter(s),e.enter(d),e.enter(g),e.enter("chunkString",{contentType:"string"}),L(z))}function R(z){return z===62?(e.enter(p),e.consume(z),e.exit(p),e.exit(f),e.exit(s),n):(e.enter(g),e.enter("chunkString",{contentType:"string"}),A(z))}function A(z){return z===62?(e.exit("chunkString"),e.exit(g),R(z)):z===null||z===60||ut(z)?a(z):(e.consume(z),z===92?D:A)}function D(z){return z===60||z===62||z===92?(e.consume(z),A):A(z)}function L(z){return!C&&(z===null||z===41||rn(z))?(e.exit("chunkString"),e.exit(g),e.exit(d),e.exit(s),n(z)):C<b&&z===40?(e.consume(z),C++,L):z===41?(e.consume(z),C--,L):z===null||z===32||z===40||S1(z)?a(z):(e.consume(z),z===92?B:L)}function B(z){return z===40||z===41||z===92?(e.consume(z),L):L(z)}}function Ik(e,n,a,s,f,p){const d=this;let g=0,E;return b;function b(A){return e.enter(s),e.enter(f),e.consume(A),e.exit(f),e.enter(p),C}function C(A){return g>999||A===null||A===91||A===93&&!E||A===94&&!g&&"_hiddenFootnoteSupport"in d.parser.constructs?a(A):A===93?(e.exit(p),e.enter(f),e.consume(A),e.exit(f),e.exit(s),n):ut(A)?(e.enter("lineEnding"),e.consume(A),e.exit("lineEnding"),C):(e.enter("chunkString",{contentType:"string"}),S(A))}function S(A){return A===null||A===91||A===93||ut(A)||g++>999?(e.exit("chunkString"),C(A)):(e.consume(A),E||(E=!Ot(A)),A===92?R:S)}function R(A){return A===91||A===92||A===93?(e.consume(A),g++,S):S(A)}}function Mk(e,n,a,s,f,p){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(p),b(R))}function b(R){return R===d?(e.exit(p),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 Cm(e,n){let a;return s;function s(f){return ut(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),a=!0,s):Ot(f)?Ut(e,s,a?"linePrefix":"lineSuffix")(f):n(f)}}const eM={name:"definition",tokenize:nM},tM={tokenize:rM,partial:!0};function nM(e,n,a){const s=this;let f;return p;function p(A){return e.enter("definition"),d(A)}function d(A){return Ik.call(s,e,g,a,"definitionLabel","definitionLabelMarker","definitionLabelString")(A)}function g(A){return f=oo(s.sliceSerialize(s.events[s.events.length-1][1]).slice(1,-1)),A===58?(e.enter("definitionMarker"),e.consume(A),e.exit("definitionMarker"),E):a(A)}function E(A){return rn(A)?Cm(e,b)(A):b(A)}function b(A){return Lk(e,C,a,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(A)}function C(A){return e.attempt(tM,S,S)(A)}function S(A){return Ot(A)?Ut(e,R,"whitespace")(A):R(A)}function R(A){return A===null||ut(A)?(e.exit("definition"),s.parser.defined.push(f),n(A)):a(A)}}function rM(e,n,a){return s;function s(g){return rn(g)?Cm(e,f)(g):a(g)}function f(g){return Mk(e,p,a,"definitionTitle","definitionTitleMarker","definitionTitleString")(g)}function p(g){return Ot(g)?Ut(e,d,"whitespace")(g):d(g)}function d(g){return g===null||ut(g)?n(g):a(g)}}const aM={name:"hardBreakEscape",tokenize:iM};function iM(e,n,a){return s;function s(p){return e.enter("hardBreakEscape"),e.consume(p),f}function f(p){return ut(p)?(e.exit("hardBreakEscape"),n(p)):a(p)}}const oM={name:"headingAtx",tokenize:sM,resolve:uM};function uM(e,n){let a=e.length-2,s=3,f,p;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},p={type:"chunkText",start:e[s][1].start,end:e[a][1].end,contentType:"text"},Ri(e,s,a-s+1,[["enter",f,n],["enter",p,n],["exit",p,n],["exit",f,n]])),e}function sM(e,n,a){let s=0;return f;function f(C){return e.enter("atxHeading"),p(C)}function p(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)):Ot(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 lM=["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"],m_=["pre","script","style","textarea"],cM={name:"htmlFlow",tokenize:pM,resolveTo:hM,concrete:!0},dM={tokenize:gM,partial:!0},fM={tokenize:mM,partial:!0};function hM(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 pM(e,n,a){const s=this;let f,p,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),p=!0,L):V===63?(e.consume(V),f=3,s.interrupt?n:P):Ea(V)?(e.consume(V),d=String.fromCharCode(V),B):a(V)}function R(V){return V===45?(e.consume(V),f=2,A):V===91?(e.consume(V),f=5,g=0,D):Ea(V)?(e.consume(V),f=4,s.interrupt?n:P):a(V)}function A(V){return V===45?(e.consume(V),s.interrupt?n:P):a(V)}function D(V){const $t="CDATA[";return V===$t.charCodeAt(g++)?(e.consume(V),g===$t.length?s.interrupt?n:ge:D):a(V)}function L(V){return Ea(V)?(e.consume(V),d=String.fromCharCode(V),B):a(V)}function B(V){if(V===null||V===47||V===62||rn(V)){const $t=V===47,Qn=d.toLowerCase();return!$t&&!p&&m_.includes(Qn)?(f=1,s.interrupt?n(V):ge(V)):lM.includes(d.toLowerCase())?(f=6,$t?(e.consume(V),z):s.interrupt?n(V):ge(V)):(f=7,s.interrupt&&!s.parser.lazy[s.now().line]?a(V):p?G(V):W(V))}return V===45||na(V)?(e.consume(V),d+=String.fromCharCode(V),B):a(V)}function z(V){return V===62?(e.consume(V),s.interrupt?n:ge):a(V)}function G(V){return Ot(V)?(e.consume(V),G):K(V)}function W(V){return V===47?(e.consume(V),K):V===58||V===95||Ea(V)?(e.consume(V),Z):Ot(V)?(e.consume(V),W):K(V)}function Z(V){return V===45||V===46||V===58||V===95||na(V)?(e.consume(V),Z):J(V)}function J(V){return V===61?(e.consume(V),X):Ot(V)?(e.consume(V),J):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,ce):Ot(V)?(e.consume(V),X):Te(V)}function ce(V){return V===E?(e.consume(V),E=null,Me):V===null||ut(V)?a(V):(e.consume(V),ce)}function Te(V){return V===null||V===34||V===39||V===47||V===60||V===61||V===62||V===96||rn(V)?J(V):(e.consume(V),Te)}function Me(V){return V===47||V===62||Ot(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):Ot(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),P):V===93&&f===5?(e.consume(V),De):ut(V)&&(f===6||f===7)?(e.exit("htmlFlowData"),e.check(dM,Et,Re)(V)):V===null||ut(V)?(e.exit("htmlFlowData"),Re(V)):(e.consume(V),ge)}function Re(V){return e.check(fM,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),P):ge(V)}function at(V){return V===47?(e.consume(V),d="",pe):ge(V)}function pe(V){if(V===62){const $t=d.toLowerCase();return m_.includes($t)?(e.consume(V),et):ge(V)}return Ea(V)&&d.length<8?(e.consume(V),d+=String.fromCharCode(V),pe):ge(V)}function De(V){return V===93?(e.consume(V),P):ge(V)}function P(V){return V===62?(e.consume(V),et):V===45&&f===2?(e.consume(V),P):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 mM(e,n,a){const s=this;return f;function f(d){return ut(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),p):a(d)}function p(d){return s.parser.lazy[s.now().line]?a(d):n(d)}}function gM(e,n,a){return s;function s(f){return e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),e.attempt(Bm,n,a)}}const vM={name:"htmlText",tokenize:yM};function yM(e,n,a){const s=this;let f,p,d;return g;function g(P){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(P),E}function E(P){return P===33?(e.consume(P),b):P===47?(e.consume(P),J):P===63?(e.consume(P),W):Ea(P)?(e.consume(P),Te):a(P)}function b(P){return P===45?(e.consume(P),C):P===91?(e.consume(P),p=0,D):Ea(P)?(e.consume(P),G):a(P)}function C(P){return P===45?(e.consume(P),A):a(P)}function S(P){return P===null?a(P):P===45?(e.consume(P),R):ut(P)?(d=S,at(P)):(e.consume(P),S)}function R(P){return P===45?(e.consume(P),A):S(P)}function A(P){return P===62?je(P):P===45?R(P):S(P)}function D(P){const et="CDATA[";return P===et.charCodeAt(p++)?(e.consume(P),p===et.length?L:D):a(P)}function L(P){return P===null?a(P):P===93?(e.consume(P),B):ut(P)?(d=L,at(P)):(e.consume(P),L)}function B(P){return P===93?(e.consume(P),z):L(P)}function z(P){return P===62?je(P):P===93?(e.consume(P),z):L(P)}function G(P){return P===null||P===62?je(P):ut(P)?(d=G,at(P)):(e.consume(P),G)}function W(P){return P===null?a(P):P===63?(e.consume(P),Z):ut(P)?(d=W,at(P)):(e.consume(P),W)}function Z(P){return P===62?je(P):W(P)}function J(P){return Ea(P)?(e.consume(P),X):a(P)}function X(P){return P===45||na(P)?(e.consume(P),X):ce(P)}function ce(P){return ut(P)?(d=ce,at(P)):Ot(P)?(e.consume(P),ce):je(P)}function Te(P){return P===45||na(P)?(e.consume(P),Te):P===47||P===62||rn(P)?Me(P):a(P)}function Me(P){return P===47?(e.consume(P),je):P===58||P===95||Ea(P)?(e.consume(P),K):ut(P)?(d=Me,at(P)):Ot(P)?(e.consume(P),Me):je(P)}function K(P){return P===45||P===46||P===58||P===95||na(P)?(e.consume(P),K):Ee(P)}function Ee(P){return P===61?(e.consume(P),ge):ut(P)?(d=Ee,at(P)):Ot(P)?(e.consume(P),Ee):Me(P)}function ge(P){return P===null||P===60||P===61||P===62||P===96?a(P):P===34||P===39?(e.consume(P),f=P,Re):ut(P)?(d=ge,at(P)):Ot(P)?(e.consume(P),ge):(e.consume(P),Oe)}function Re(P){return P===f?(e.consume(P),f=void 0,qe):P===null?a(P):ut(P)?(d=Re,at(P)):(e.consume(P),Re)}function Oe(P){return P===null||P===34||P===39||P===60||P===61||P===96?a(P):P===47||P===62||rn(P)?Me(P):(e.consume(P),Oe)}function qe(P){return P===47||P===62||rn(P)?Me(P):a(P)}function je(P){return P===62?(e.consume(P),e.exit("htmlTextData"),e.exit("htmlText"),n):a(P)}function at(P){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(P),e.exit("lineEnding"),pe}function pe(P){return Ot(P)?Ut(e,De,"linePrefix",s.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(P):De(P)}function De(P){return e.enter("htmlTextData"),d(P)}}const VT={name:"labelEnd",tokenize:SM,resolveTo:xM,resolveAll:TM},EM={tokenize:CM},bM={tokenize:_M},wM={tokenize:AM};function TM(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 xM(e,n){let a=e.length,s=0,f,p,d,g;for(;a--;)if(f=e[a][1],p){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&&(p=a,f.type!=="labelLink")){s=2;break}}else f.type==="labelEnd"&&(d=a);const E={type:e[p][1].type==="labelLink"?"link":"image",start:Object.assign({},e[p][1].start),end:Object.assign({},e[e.length-1][1].end)},b={type:"label",start:Object.assign({},e[p][1].start),end:Object.assign({},e[d][1].end)},C={type:"labelText",start:Object.assign({},e[p+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(p+1,p+s+3)),g=Ai(g,[["enter",C,n]]),g=Ai(g,H1(n.parser.constructs.insideSpan.null,e.slice(p+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]]),Ri(e,p,e.length,g),e}function SM(e,n,a){const s=this;let f=s.events.length,p,d;for(;f--;)if((s.events[f][1].type==="labelImage"||s.events[f][1].type==="labelLink")&&!s.events[f][1]._balanced){p=s.events[f][1];break}return g;function g(R){return p?p._inactive?S(R):(d=s.parser.defined.includes(oo(s.sliceSerialize({start:p.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(EM,C,d?C:S)(R):R===91?e.attempt(bM,C,d?b:S)(R):d?C(R):S(R)}function b(R){return e.attempt(wM,C,S)(R)}function C(R){return n(R)}function S(R){return p._balanced=!0,a(R)}}function CM(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)?Cm(e,p)(S):p(S)}function p(S){return S===41?C(S):Lk(e,d,g,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(S)}function d(S){return rn(S)?Cm(e,E)(S):C(S)}function g(S){return a(S)}function E(S){return S===34||S===39||S===40?Mk(e,b,a,"resourceTitle","resourceTitleMarker","resourceTitleString")(S):C(S)}function b(S){return rn(S)?Cm(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 _M(e,n,a){const s=this;return f;function f(g){return Ik.call(s,e,p,d,"reference","referenceMarker","referenceString")(g)}function p(g){return s.parser.defined.includes(oo(s.sliceSerialize(s.events[s.events.length-1][1]).slice(1,-1)))?n(g):a(g)}function d(g){return a(g)}}function AM(e,n,a){return s;function s(p){return e.enter("reference"),e.enter("referenceMarker"),e.consume(p),e.exit("referenceMarker"),f}function f(p){return p===93?(e.enter("referenceMarker"),e.consume(p),e.exit("referenceMarker"),e.exit("reference"),n):a(p)}}const kM={name:"labelStartImage",tokenize:RM,resolveAll:VT.resolveAll};function RM(e,n,a){const s=this;return f;function f(g){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(g),e.exit("labelImageMarker"),p}function p(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 NM={name:"labelStartLink",tokenize:DM,resolveAll:VT.resolveAll};function DM(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"),p}function p(d){return d===94&&"_hiddenFootnoteSupport"in s.parser.constructs?a(d):n(d)}}const Fw={name:"lineEnding",tokenize:OM};function OM(e,n){return a;function a(s){return e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),Ut(e,n,"linePrefix")}}const g1={name:"thematicBreak",tokenize:LM};function LM(e,n,a){let s=0,f;return p;function p(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"),Ot(b)?Ut(e,g,"whitespace")(b):g(b))}}const qa={name:"list",tokenize:PM,continuation:{tokenize:FM},exit:BM},IM={tokenize:HM,partial:!0},MM={tokenize:UM,partial:!0};function PM(e,n,a){const s=this,f=s.events[s.events.length-1];let p=f&&f[1].type==="linePrefix"?f[2].sliceSerialize(f[1],!0).length:0,d=0;return g;function g(A){const D=s.containerState.type||(A===42||A===43||A===45?"listUnordered":"listOrdered");if(D==="listUnordered"?!s.containerState.marker||A===s.containerState.marker:dT(A)){if(s.containerState.type||(s.containerState.type=D,e.enter(D,{_container:!0})),D==="listUnordered")return e.enter("listItemPrefix"),A===42||A===45?e.check(g1,a,b)(A):b(A);if(!s.interrupt||A===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),E(A)}return a(A)}function E(A){return dT(A)&&++d<10?(e.consume(A),E):(!s.interrupt||d<2)&&(s.containerState.marker?A===s.containerState.marker:A===41||A===46)?(e.exit("listItemValue"),b(A)):a(A)}function b(A){return e.enter("listItemMarker"),e.consume(A),e.exit("listItemMarker"),s.containerState.marker=s.containerState.marker||A,e.check(Bm,s.interrupt?a:C,e.attempt(IM,R,S))}function C(A){return s.containerState.initialBlankLine=!0,p++,R(A)}function S(A){return Ot(A)?(e.enter("listItemPrefixWhitespace"),e.consume(A),e.exit("listItemPrefixWhitespace"),R):a(A)}function R(A){return s.containerState.size=p+s.sliceSerialize(e.exit("listItemPrefix"),!0).length,n(A)}}function FM(e,n,a){const s=this;return s.containerState._closeFlow=void 0,e.check(Bm,f,p);function f(g){return s.containerState.furtherBlankLines=s.containerState.furtherBlankLines||s.containerState.initialBlankLine,Ut(e,n,"listItemIndent",s.containerState.size+1)(g)}function p(g){return s.containerState.furtherBlankLines||!Ot(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(MM,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 UM(e,n,a){const s=this;return Ut(e,f,"listItemIndent",s.containerState.size+1);function f(p){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(p):a(p)}}function BM(e){e.exit(this.containerState.type)}function HM(e,n,a){const s=this;return Ut(e,f,"listItemPrefixWhitespace",s.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function f(p){const d=s.events[s.events.length-1];return!Ot(p)&&d&&d[1].type==="listItemPrefixWhitespace"?n(p):a(p)}}const g_={name:"setextUnderline",tokenize:jM,resolveTo:zM};function zM(e,n){let a=e.length,s,f,p;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),!p&&e[a][1].type==="definition"&&(p=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",p?(e.splice(f,0,["enter",d,n]),e.splice(p+1,0,["exit",e[s][1],n]),e[s][1].end=Object.assign({},e[p][1].end)):e[s][1]=d,e.push(["exit",d,n]),e}function jM(e,n,a){const s=this;let f;return p;function p(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"),Ot(b)?Ut(e,E,"lineSuffix")(b):E(b))}function E(b){return b===null||ut(b)?(e.exit("setextHeadingLine"),n(b)):a(b)}}const VM={tokenize:KM,partial:!0};function YM(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:$M,continuation:{tokenize:GM},exit:XM}},text:{91:{name:"gfmFootnoteCall",tokenize:QM},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:WM,resolveTo:qM}}}}function WM(e,n,a){const s=this;let f=s.events.length;const p=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=oo(s.sliceSerialize({start:d.end,end:s.now()}));return b.codePointAt(0)!==94||!p.includes(b.slice(1))?a(E):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(E),e.exit("gfmFootnoteCallLabelMarker"),n(E))}}function qM(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 p={type:"gfmFootnoteCallString",start:Object.assign({},f.end),end:Object.assign({},e[e.length-1][1].start)},d={type:"chunkString",contentType:"string",start:Object.assign({},p.start),end:Object.assign({},p.end)},g=[e[a+1],e[a+2],["enter",s,n],e[a+3],e[a+4],["enter",f,n],["exit",f,n],["enter",p,n],["enter",d,n],["exit",d,n],["exit",p,n],e[e.length-2],e[e.length-1],["exit",s,n]];return e.splice(a,e.length-a+1,...g),e}function QM(e,n,a){const s=this,f=s.parser.gfmFootnotes||(s.parser.gfmFootnotes=[]);let p=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(p>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(oo(s.sliceSerialize(R)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(S),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),n):a(S)}return rn(S)||(d=!0),p++,e.consume(S),S===92?C:b}function C(S){return S===91||S===92||S===93?(e.consume(S),p++,b):b(S)}}function $M(e,n,a){const s=this,f=s.parser.gfmFootnotes||(s.parser.gfmFootnotes=[]);let p,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 p=oo(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(p)||f.push(p),Ut(e,A,"gfmFootnoteDefinitionWhitespace")):a(D)}function A(D){return n(D)}}function GM(e,n,a){return e.check(Bm,n,e.attempt(VM,n,a))}function XM(e){e.exit("gfmFootnoteDefinition")}function KM(e,n,a){const s=this;return Ut(e,f,"gfmFootnoteDefinitionIndent",5);function f(p){const d=s.events[s.events.length-1];return d&&d[1].type==="gfmFootnoteDefinitionIndent"&&d[2].sliceSerialize(d[1],!0).length===4?n(p):a(p)}}function ZM(e){let a=(e||{}).singleTilde;const s={name:"strikethrough",tokenize:p,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]],A=g.parser.constructs.insideSpan.null;A&&Ri(R,R.length,0,H1(A,d.slice(b+1,E),g)),Ri(R,R.length,0,[["exit",S,g],["enter",d[E][1],g],["exit",d[E][1],g],["exit",C,g]]),Ri(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 p(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"),A(D))}function A(D){const L=C1(b);if(D===126)return S>1?E(D):(d.consume(D),S++,A);if(S<2&&!a)return E(D);const B=d.exit("strikethroughSequenceTemporary"),z=C1(D);return B._open=!z||z===2&&!!L,B._close=!L||L===2&&!!z,g(D)}}}class JM{constructor(){this.map=[]}add(n,a,s){eP(this,n,a,s)}consume(n){if(this.map.sort(function(p,d){return p[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 eP(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 tP(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 p=s.length-1;s[p]=s[p]==="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 nP(){return{flow:{null:{name:"table",tokenize:rP,resolveAll:aP}}}}function rP(e,n,a){const s=this;let f=0,p=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,p+=1),C(K)}function C(K){return K===null?a(K):ut(K)?p>1?(p=0,s.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(K),e.exit("lineEnding"),A):a(K):Ot(K)?Ut(e,C,"whitespace")(K):(p+=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 A(K){return s.interrupt=!1,s.parser.lazy[s.now().line]?a(K):(e.enter("tableDelimiterRow"),d=!1,Ot(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):J(K)}function L(K){return Ot(K)?Ut(e,B,"whitespace")(K):B(K)}function B(K){return K===58?(p+=1,d=!0,e.enter("tableDelimiterMarker"),e.consume(K),e.exit("tableDelimiterMarker"),z):K===45?(p+=1,z(K)):K===null||ut(K)?Z(K):J(K)}function z(K){return K===45?(e.enter("tableDelimiterFiller"),G(K)):J(K)}function G(K){return K===45?(e.consume(K),G):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 Ot(K)?Ut(e,Z,"whitespace")(K):Z(K)}function Z(K){return K===124?D(K):K===null||ut(K)?!d||f!==p?J(K):(e.exit("tableDelimiterRow"),e.exit("tableHead"),n(K)):J(K)}function J(K){return a(K)}function X(K){return e.enter("tableRow"),ce(K)}function ce(K){return K===124?(e.enter("tableCellDivider"),e.consume(K),e.exit("tableCellDivider"),ce):K===null||ut(K)?(e.exit("tableRow"),n(K)):Ot(K)?Ut(e,ce,"whitespace")(K):(e.enter("data"),Te(K))}function Te(K){return K===null||K===124||rn(K)?(e.exit("data"),ce(K)):(e.consume(K),K===92?Me:Te)}function Me(K){return K===92||K===124?(e.consume(K),Te):Te(K)}}function aP(e,n){let a=-1,s=!0,f=0,p=[0,0,0,0],d=[0,0,0,0],g=!1,E=0,b,C,S;const R=new JM;for(;++a<e.length;){const A=e[a],D=A[1];A[0]==="enter"?D.type==="tableHead"?(g=!1,E!==0&&(v_(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,p=[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&&(p[1]!==0&&(d[0]=d[1],S=r1(R,n,p,f,void 0,S),p=[0,0,0,0]),d[2]=a)):D.type==="tableCellDivider"&&(s?s=!1:(p[1]!==0&&(d[0]=d[1],S=r1(R,n,p,f,void 0,S)),p=d,d=[p[1],a,0,0])):D.type==="tableHead"?(g=!0,E=a):D.type==="tableRow"||D.type==="tableDelimiterRow"?(E=a,p[1]!==0?(d[0]=d[1],S=r1(R,n,p,f,a,S)):d[1]!==0&&(S=r1(R,n,d,f,a,S)),f=0):f&&(D.type==="data"||D.type==="tableDelimiterMarker"||D.type==="tableDelimiterFiller")&&(d[3]=a)}for(E!==0&&v_(R,n,E,b,C),R.consume(n.events),a=-1;++a<n.events.length;){const A=n.events[a];A[0]==="enter"&&A[1].type==="table"&&(A[1]._align=tP(n.events,a))}return e}function r1(e,n,a,s,f,p){const d=s===1?"tableHeader":s===2?"tableDelimiter":"tableData",g="tableContent";a[0]!==0&&(p.end=Object.assign({},Ff(n.events,a[0])),e.add(a[0],0,[["exit",p,n]]));const E=Ff(n.events,a[1]);if(p={type:d,start:Object.assign({},E),end:Object.assign({},E)},e.add(a[1],0,[["enter",p,n]]),a[2]!==0){const b=Ff(n.events,a[2]),C=Ff(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]],A=n.events[a[3]];if(R[1].end=Object.assign({},A[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&&(p.end=Object.assign({},Ff(n.events,f)),e.add(f,0,[["exit",p,n]]),p=void 0),p}function v_(e,n,a,s,f){const p=[],d=Ff(n.events,a);f&&(f.end=Object.assign({},d),p.push(["exit",f,n])),s.end=Object.assign({},d),p.push(["exit",s,n]),e.add(a+1,0,p)}function Ff(e,n){const a=e[n],s=a[0]==="enter"?"start":"end";return a[1][s]}const iP={name:"tasklistCheck",tokenize:uP};function oP(){return{text:{91:iP}}}function uP(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"),p)}function p(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):Ot(E)?e.check({tokenize:sP},n,a)(E):a(E)}}function sP(e,n,a){return Ut(e,s,"whitespace");function s(f){return f===null?a(f):n(f)}}function lP(e){return bk([E8(),YM(),ZM(e),nP(),oP()])}const cP={};function dP(e){const n=this,a=e||cP,s=n.data(),f=s.micromarkExtensions||(s.micromarkExtensions=[]),p=s.fromMarkdownExtensions||(s.fromMarkdownExtensions=[]),d=s.toMarkdownExtensions||(s.toMarkdownExtensions=[]);f.push(lP(a)),p.push(h8()),d.push(p8(a))}function y_(e){const n=[],a=String(e||"");let s=a.indexOf(","),f=0,p=!1;for(;!p;){s===-1&&(s=a.length,p=!0);const d=a.slice(f,s).trim();(d||!p)&&n.push(d),f=s+1,s=a.indexOf(",",f)}return n}function Pk(e,n){const a={};return(e[e.length-1]===""?[...e,""]:e).join((a.padRight?" ":"")+","+(a.padLeft===!1?"":" ")).trim()}const fP=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,hP=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,pP={};function E_(e,n){return(pP.jsx?hP:fP).test(e)}const mP=/[ \t\n\f\r]/g;function gP(e){return typeof e=="object"?e.type==="text"?b_(e.value):!1:b_(e)}function b_(e){return e.replace(mP,"")===""}class Hm{constructor(n,a,s){this.property=n,this.normal=a,s&&(this.space=s)}}Hm.prototype.property={};Hm.prototype.normal={};Hm.prototype.space=null;function Fk(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 Hm(a,s,n)}function Om(e){return e.toLowerCase()}class Ni{constructor(n,a){this.property=n,this.attribute=a}}Ni.prototype.space=null;Ni.prototype.boolean=!1;Ni.prototype.booleanish=!1;Ni.prototype.overloadedBoolean=!1;Ni.prototype.number=!1;Ni.prototype.commaSeparated=!1;Ni.prototype.spaceSeparated=!1;Ni.prototype.commaOrSpaceSeparated=!1;Ni.prototype.mustUseProperty=!1;Ni.prototype.defined=!1;let vP=0;const bt=Rc(),nr=Rc(),Uk=Rc(),ke=Rc(),ln=Rc(),Hf=Rc(),ai=Rc();function Rc(){return 2**++vP}const mT=Object.freeze(Object.defineProperty({__proto__:null,boolean:bt,booleanish:nr,commaOrSpaceSeparated:ai,commaSeparated:Hf,number:ke,overloadedBoolean:Uk,spaceSeparated:ln},Symbol.toStringTag,{value:"Module"})),Uw=Object.keys(mT);class YT extends Ni{constructor(n,a,s,f){let p=-1;if(super(n,a),w_(this,"space",f),typeof s=="number")for(;++p<Uw.length;){const d=Uw[p];w_(this,Uw[p],(s&mT[d])===mT[d])}}}YT.prototype.defined=!0;function w_(e,n,a){a&&(e[n]=a)}const yP={}.hasOwnProperty;function Kf(e){const n={},a={};let s;for(s in e.properties)if(yP.call(e.properties,s)){const f=e.properties[s],p=new YT(s,e.transform(e.attributes||{},s),f,e.space);e.mustUseProperty&&e.mustUseProperty.includes(s)&&(p.mustUseProperty=!0),n[s]=p,a[Om(s)]=s,a[Om(p.attribute)]=s}return new Hm(n,a,e.space)}const Bk=Kf({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}}),Hk=Kf({space:"xml",transform(e,n){return"xml:"+n.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function zk(e,n){return n in e?e[n]:n}function jk(e,n){return zk(e,n.toLowerCase())}const Vk=Kf({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:jk,properties:{xmlns:null,xmlnsXLink:null}}),Yk=Kf({transform(e,n){return n==="role"?n:"aria-"+n.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:nr,ariaAutoComplete:null,ariaBusy:nr,ariaChecked:nr,ariaColCount:ke,ariaColIndex:ke,ariaColSpan:ke,ariaControls:ln,ariaCurrent:null,ariaDescribedBy:ln,ariaDetails:null,ariaDisabled:nr,ariaDropEffect:ln,ariaErrorMessage:null,ariaExpanded:nr,ariaFlowTo:ln,ariaGrabbed:nr,ariaHasPopup:null,ariaHidden:nr,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:ln,ariaLevel:ke,ariaLive:null,ariaModal:nr,ariaMultiLine:nr,ariaMultiSelectable:nr,ariaOrientation:null,ariaOwns:ln,ariaPlaceholder:null,ariaPosInSet:ke,ariaPressed:nr,ariaReadOnly:nr,ariaRelevant:null,ariaRequired:nr,ariaRoleDescription:ln,ariaRowCount:ke,ariaRowIndex:ke,ariaRowSpan:ke,ariaSelected:nr,ariaSetSize:ke,ariaSort:null,ariaValueMax:ke,ariaValueMin:ke,ariaValueNow:ke,ariaValueText:null,role:null}}),EP=Kf({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:jk,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Hf,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:ke,colSpan:null,content:null,contentEditable:nr,controls:bt,controlsList:ln,coords:ke|Hf,crossOrigin:null,data:null,dateTime:null,decoding:null,default:bt,defer:bt,dir:null,dirName:null,disabled:bt,download:Uk,draggable:nr,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:bt,formTarget:null,headers:ln,height:ke,hidden:bt,high:ke,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:ke,manifest:null,max:null,maxLength:ke,media:null,method:null,min:null,minLength:ke,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:ke,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:ke,rowSpan:ke,sandbox:ln,scope:null,scoped:bt,seamless:bt,selected:bt,shadowRootClonable:bt,shadowRootDelegatesFocus:bt,shadowRootMode:null,shape:null,size:ke,sizes:null,slot:null,span:ke,spellCheck:nr,src:null,srcDoc:null,srcLang:null,srcSet:null,start:ke,step:null,style:null,tabIndex:ke,target:null,title:null,translate:null,type:null,typeMustMatch:bt,useMap:null,value:nr,width:ke,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:ln,axis:null,background:null,bgColor:null,border:ke,borderColor:null,bottomMargin:ke,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:ke,leftMargin:ke,link:null,longDesc:null,lowSrc:null,marginHeight:ke,marginWidth:ke,noResize:bt,noHref:bt,noShade:bt,noWrap:bt,object:null,profile:null,prompt:null,rev:null,rightMargin:ke,rules:null,scheme:null,scrolling:nr,standby:null,summary:null,text:null,topMargin:ke,valueType:null,version:null,vAlign:null,vLink:null,vSpace:ke,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:bt,disableRemotePlayback:bt,prefix:null,property:null,results:ke,security:null,unselectable:null}}),bP=Kf({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:zk,properties:{about:ai,accentHeight:ke,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:ke,amplitude:ke,arabicForm:null,ascent:ke,attributeName:null,attributeType:null,azimuth:ke,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:ke,by:null,calcMode:null,capHeight:ke,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:ke,diffuseConstant:ke,direction:null,display:null,dur:null,divisor:ke,dominantBaseline:null,download:bt,dx:null,dy:null,edgeMode:null,editable:null,elevation:ke,enableBackground:null,end:null,event:null,exponent:ke,externalResourcesRequired:null,fill:null,fillOpacity:ke,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:Hf,g2:Hf,glyphName:Hf,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:ke,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:ke,horizOriginX:ke,horizOriginY:ke,id:null,ideographic:ke,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:ke,k:ke,k1:ke,k2:ke,k3:ke,k4:ke,kernelMatrix:ai,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:ke,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:ke,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:ke,overlineThickness:ke,paintOrder:null,panose1:null,path:null,pathLength:ke,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:ln,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:ke,pointsAtY:ke,pointsAtZ:ke,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:ai,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:ai,rev:ai,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:ai,requiredFeatures:ai,requiredFonts:ai,requiredFormats:ai,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:ke,specularExponent:ke,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:ke,strikethroughThickness:ke,string:null,stroke:null,strokeDashArray:ai,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:ke,strokeOpacity:ke,strokeWidth:null,style:null,surfaceScale:ke,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:ai,tabIndex:ke,tableValues:null,target:null,targetX:ke,targetY:ke,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:ai,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:ke,underlineThickness:ke,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:ke,values:null,vAlphabetic:ke,vMathematical:ke,vectorEffect:null,vHanging:ke,vIdeographic:ke,version:null,vertAdvY:ke,vertOriginX:ke,vertOriginY:ke,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:ke,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),wP=/^data[-\w.:]+$/i,T_=/-[a-z]/g,TP=/[A-Z]/g;function z1(e,n){const a=Om(n);let s=n,f=Ni;if(a in e.normal)return e.property[e.normal[a]];if(a.length>4&&a.slice(0,4)==="data"&&wP.test(n)){if(n.charAt(4)==="-"){const p=n.slice(5).replace(T_,SP);s="data"+p.charAt(0).toUpperCase()+p.slice(1)}else{const p=n.slice(4);if(!T_.test(p)){let d=p.replace(TP,xP);d.charAt(0)!=="-"&&(d="-"+d),n="data"+d}}f=YT}return new f(s,n)}function xP(e){return"-"+e.toLowerCase()}function SP(e){return e.charAt(1).toUpperCase()}const CP={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"},zm=Fk([Hk,Bk,Vk,Yk,EP],"html"),ul=Fk([Hk,Bk,Vk,Yk,bP],"svg");function x_(e){const n=String(e||"").trim();return n?n.split(/[ \t\n\r\f]+/g):[]}function Wk(e){return e.join(" ").trim()}var qk={},S_=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,_P=/\n/g,AP=/^\s*/,kP=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,RP=/^:\s*/,NP=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,DP=/^[;\s]*/,OP=/^\s+|\s+$/g,LP=`
|
|
16
|
-
`,C_="/",__="*",Sc="",IP="comment",MP="declaration",PP=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(_P);L&&(a+=L.length);var B=D.lastIndexOf(LP);s=~B?D.length-B:s+D.length}function p(){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(AP)}function C(D){var L;for(D=D||[];L=S();)L!==!1&&D.push(L);return D}function S(){var D=p();if(!(C_!=e.charAt(0)||__!=e.charAt(1))){for(var L=2;Sc!=e.charAt(L)&&(__!=e.charAt(L)||C_!=e.charAt(L+1));)++L;if(L+=2,Sc===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:IP,comment:B})}}function R(){var D=p(),L=E(kP);if(L){if(S(),!E(RP))return g("property missing ':'");var B=E(NP),z=D({type:MP,property:A_(L[0].replace(S_,Sc)),value:B?A_(B[0].replace(S_,Sc)):Sc});return E(DP),z}}function A(){var D=[];C(D);for(var L;L=R();)L!==!1&&(D.push(L),C(D));return D}return b(),A()};function A_(e){return e?e.replace(OP,Sc):Sc}var FP=yt.commonjsGlobal&&yt.commonjsGlobal.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(qk,"__esModule",{value:!0});var k_=qk.default=BP,UP=FP(PP);function BP(e,n){var a=null;if(!e||typeof e!="string")return a;var s=(0,UP.default)(e),f=typeof n=="function";return s.forEach(function(p){if(p.type==="declaration"){var d=p.property,g=p.value;f?n(d,g,p):g&&(a=a||{},a[d]=g)}}),a}const HP=k_.default||k_,j1=Qk("end"),Wo=Qk("start");function Qk(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 zP(e){const n=Wo(e),a=j1(e);if(n&&a)return{start:n,end:a}}function _m(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?R_(e.position):"start"in e||"end"in e?R_(e):"line"in e||"column"in e?gT(e):""}function gT(e){return N_(e&&e.line)+":"+N_(e&&e.column)}function R_(e){return gT(e&&e.start)+"-"+gT(e&&e.end)}function N_(e){return e&&typeof e=="number"?e:1}class ra extends Error{constructor(n,a,s){super(),typeof a=="string"&&(s=a,a=void 0);let f="",p={},d=!1;if(a&&("line"in a&&"column"in a?p={place:a}:"start"in a&&"end"in a?p={place:a}:"type"in a?p={ancestors:[a],place:a.position}:p={...a}),typeof n=="string"?f=n:!p.cause&&n&&(d=!0,f=n.message,p.cause=n),!p.ruleId&&!p.source&&typeof s=="string"){const E=s.indexOf(":");E===-1?p.ruleId=s:(p.source=s.slice(0,E),p.ruleId=s.slice(E+1))}if(!p.place&&p.ancestors&&p.ancestors){const E=p.ancestors[p.ancestors.length-1];E&&(p.place=E.position)}const g=p.place&&"start"in p.place?p.place.start:p.place;this.ancestors=p.ancestors||void 0,this.cause=p.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=_m(p.place)||"1:1",this.place=p.place||void 0,this.reason=this.message,this.ruleId=p.ruleId||void 0,this.source=p.source||void 0,this.stack=d&&p.cause&&typeof p.cause.stack=="string"?p.cause.stack:"",this.actual,this.expected,this.note,this.url}}ra.prototype.file="";ra.prototype.name="";ra.prototype.reason="";ra.prototype.message="";ra.prototype.stack="";ra.prototype.column=void 0;ra.prototype.line=void 0;ra.prototype.ancestors=void 0;ra.prototype.cause=void 0;ra.prototype.fatal=void 0;ra.prototype.place=void 0;ra.prototype.ruleId=void 0;ra.prototype.source=void 0;const WT={}.hasOwnProperty,jP=new Map,VP=/[A-Z]/g,YP=/-([a-z])/g,WP=new Set(["table","tbody","thead","tfoot","tr"]),qP=new Set(["td","th"]),$k="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function QP(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=t9(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=e9(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"?ul:zm,stylePropertyNameCase:n.stylePropertyNameCase||"dom",tableCellAlignToStyle:n.tableCellAlignToStyle!==!1},p=Gk(f,e,void 0);return p&&typeof p!="string"?p:f.create(e,f.Fragment,{children:p||void 0},void 0)}function Gk(e,n,a){if(n.type==="element")return $P(e,n,a);if(n.type==="mdxFlowExpression"||n.type==="mdxTextExpression")return GP(e,n);if(n.type==="mdxJsxFlowElement"||n.type==="mdxJsxTextElement")return KP(e,n,a);if(n.type==="mdxjsEsm")return XP(e,n);if(n.type==="root")return ZP(e,n,a);if(n.type==="text")return JP(e,n)}function $P(e,n,a){const s=e.schema;let f=s;n.tagName.toLowerCase()==="svg"&&s.space==="html"&&(f=ul,e.schema=f),e.ancestors.push(n);const p=Kk(e,n.tagName,!1),d=n9(e,n);let g=QT(e,n);return WP.has(n.tagName)&&(g=g.filter(function(E){return typeof E=="string"?!gP(E):!0})),Xk(e,d,p,n),qT(d,g),e.ancestors.pop(),e.schema=s,e.create(n,p,d,a)}function GP(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)}Lm(e,n.position)}function XP(e,n){if(n.data&&n.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(n.data.estree);Lm(e,n.position)}function KP(e,n,a){const s=e.schema;let f=s;n.name==="svg"&&s.space==="html"&&(f=ul,e.schema=f),e.ancestors.push(n);const p=n.name===null?e.Fragment:Kk(e,n.name,!0),d=r9(e,n),g=QT(e,n);return Xk(e,d,p,n),qT(d,g),e.ancestors.pop(),e.schema=s,e.create(n,p,d,a)}function ZP(e,n,a){const s={};return qT(s,QT(e,n)),e.create(n,e.Fragment,s,a)}function JP(e,n){return n.value}function Xk(e,n,a,s){typeof a!="string"&&a!==e.Fragment&&e.passNode&&(n.node=s)}function qT(e,n){if(n.length>0){const a=n.length>1?n:n[0];a&&(e.children=a)}}function e9(e,n,a){return s;function s(f,p,d,g){const b=Array.isArray(d.children)?a:n;return g?b(p,d,g):b(p,d)}}function t9(e,n){return a;function a(s,f,p,d){const g=Array.isArray(p.children),E=Wo(s);return n(f,p,d,g,{columnNumber:E?E.column-1:void 0,fileName:e,lineNumber:E?E.line:void 0},void 0)}}function n9(e,n){const a={};let s,f;for(f in n.properties)if(f!=="children"&&WT.call(n.properties,f)){const p=a9(e,f,n.properties[f]);if(p){const[d,g]=p;e.tableCellAlignToStyle&&d==="align"&&typeof g=="string"&&qP.has(n.tagName)?s=g:a[d]=g}}if(s){const p=a.style||(a.style={});p[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=s}return a}function r9(e,n){const a={};for(const s of n.attributes)if(s.type==="mdxJsxExpressionAttribute")if(s.data&&s.data.estree&&e.evaluater){const p=s.data.estree.body[0];p.type;const d=p.expression;d.type;const g=d.properties[0];g.type,Object.assign(a,e.evaluater.evaluateExpression(g.argument))}else Lm(e,n.position);else{const f=s.name;let p;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,p=e.evaluater.evaluateExpression(g.expression)}else Lm(e,n.position);else p=s.value===null?!0:s.value;a[f]=p}return a}function QT(e,n){const a=[];let s=-1;const f=e.passKeys?new Map:jP;for(;++s<n.children.length;){const p=n.children[s];let d;if(e.passKeys){const E=p.type==="element"?p.tagName:p.type==="mdxJsxFlowElement"||p.type==="mdxJsxTextElement"?p.name:void 0;if(E){const b=f.get(E)||0;d=E+"-"+b,f.set(E,b+1)}}const g=Gk(e,p,d);g!==void 0&&a.push(g)}return a}function a9(e,n,a){const s=z1(e.schema,n);if(!(a==null||typeof a=="number"&&Number.isNaN(a))){if(Array.isArray(a)&&(a=s.commaSeparated?Pk(a):Wk(a)),s.property==="style"){let f=typeof a=="object"?a:i9(e,String(a));return e.stylePropertyNameCase==="css"&&(f=o9(f)),["style",f]}return[e.elementAttributeNameCase==="react"&&s.space?CP[s.property]||s.property:s.attribute,a]}}function i9(e,n){const a={};try{HP(n,s)}catch(f){if(!e.ignoreInvalidStyle){const p=f,d=new ra("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:p,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw d.file=e.filePath||void 0,d.url=$k+"#cannot-parse-style-attribute",d}}return a;function s(f,p){let d=f;d.slice(0,2)!=="--"&&(d.slice(0,4)==="-ms-"&&(d="ms-"+d.slice(4)),d=d.replace(YP,s9)),a[d]=p}}function Kk(e,n,a){let s;if(!a)s={type:"Literal",value:n};else if(n.includes(".")){const f=n.split(".");let p=-1,d;for(;++p<f.length;){const g=E_(f[p])?{type:"Identifier",name:f[p]}:{type:"Literal",value:f[p]};d=d?{type:"MemberExpression",object:d,property:g,computed:!!(p&&g.type==="Literal"),optional:!1}:g}s=d}else s=E_(n)&&!/^[a-z]/.test(n)?{type:"Identifier",name:n}:{type:"Literal",value:n};if(s.type==="Literal"){const f=s.value;return WT.call(e.components,f)?e.components[f]:f}if(e.evaluater)return e.evaluater.evaluateExpression(s);Lm(e)}function Lm(e,n){const a=new ra("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=$k+"#cannot-handle-mdx-estrees-without-createevaluater",a}function o9(e){const n={};let a;for(a in e)WT.call(e,a)&&(n[u9(a)]=e[a]);return n}function u9(e){let n=e.replace(VP,l9);return n.slice(0,3)==="ms-"&&(n="-"+n),n}function s9(e,n){return n.toUpperCase()}function l9(e){return"-"+e.toLowerCase()}const Bw={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"]},c9={tokenize:d9};function d9(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"),p(g)}function p(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"),p):(e.consume(g),d)}}const f9={tokenize:h9},D_={tokenize:p9};function h9(e){const n=this,a=[];let s=0,f,p,d;return g;function g(W){if(s<a.length){const Z=a[s];return n.containerState=Z[1],e.attempt(Z[0].continuation,E,b)(W)}return b(W)}function E(W){if(s++,n.containerState._closeFlow){n.containerState._closeFlow=void 0,f&&G();const Z=n.events.length;let J=Z,X;for(;J--;)if(n.events[J][0]==="exit"&&n.events[J][1].type==="chunkFlow"){X=n.events[J][1].end;break}z(s);let ce=Z;for(;ce<n.events.length;)n.events[ce][1].end=Object.assign({},X),ce++;return Ri(n.events,J+1,0,n.events.slice(Z)),n.events.length=ce,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(D_,C,S)(W)}function C(W){return f&&G(),z(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(D_,A,D)(W)}function A(W){return s++,a.push([n.currentConstruct,n.containerState]),R(W)}function D(W){if(W===null){f&&G(),z(0),e.consume(W);return}return f=f||n.parser.flow(n.now()),e.enter("chunkFlow",{contentType:"flow",previous:p,_tokenizer:f}),L(W)}function L(W){if(W===null){B(e.exit("chunkFlow"),!0),z(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,Z){const J=n.sliceStream(W);if(Z&&J.push(null),W.previous=p,p&&(p.next=W),p=W,f.defineSkip(W.start),f.write(J),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 ce=n.events.length;let Te=ce,Me,K;for(;Te--;)if(n.events[Te][0]==="exit"&&n.events[Te][1].type==="chunkFlow"){if(Me){K=n.events[Te][1].end;break}Me=!0}for(z(s),X=ce;X<n.events.length;)n.events[X][1].end=Object.assign({},K),X++;Ri(n.events,Te+1,0,n.events.slice(ce)),n.events.length=X}}function z(W){let Z=a.length;for(;Z-- >W;){const J=a[Z];n.containerState=J[1],J[0].exit.call(n,e)}a.length=W}function G(){f.write([null]),p=void 0,f=void 0,n.containerState._closeFlow=void 0}}function p9(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 m9={tokenize:g9};function g9(e){const n=this,a=e.attempt(Bm,s,e.attempt(this.parser.constructs.flowInitial,f,Ut(e,e.attempt(this.parser.constructs.flow,f,e.attempt(G8,f)),"linePrefix")));return a;function s(p){if(p===null){e.consume(p);return}return e.enter("lineEndingBlank"),e.consume(p),e.exit("lineEndingBlank"),n.currentConstruct=void 0,a}function f(p){if(p===null){e.consume(p);return}return e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),n.currentConstruct=void 0,a}}const v9={resolveAll:Jk()},y9=Zk("string"),E9=Zk("text");function Zk(e){return{tokenize:n,resolveAll:Jk(e==="text"?b9:void 0)};function n(a){const s=this,f=this.parser.constructs[e],p=a.attempt(f,d,g);return d;function d(C){return b(C)?p(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"),p(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 A=S[R];if(!A.previous||A.previous.call(s,s.previous))return!0}return!1}}}function Jk(e){return n;function n(a,s){let f=-1,p;for(;++f<=a.length;)p===void 0?a[f]&&a[f][1].type==="data"&&(p=f,f++):(!a[f]||a[f][1].type!=="data")&&(f!==p+2&&(a[p][1].end=a[f-1][1].end,a.splice(p+2,f-p-2),f=p+2),p=void 0);return e?e(a,s):a}}function b9(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 p=f.length,d=-1,g=0,E;for(;p--;){const b=f[p];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){p++;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+p,_bufferIndex:p?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 w9(e,n,a){let s=Object.assign(a?Object.assign({},a):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1});const f={},p=[];let d=[],g=[];const E={consume:G,enter:W,exit:Z,attempt:ce(J),check:ce(X),interrupt:ce(X,{interrupt:!0})},b={previous:null,code:null,containerState:{},events:[],parser:e,sliceStream:A,sliceSerialize:R,now:D,defineSkip:L,write:S};let C=n.tokenize.call(b,E);return n.resolveAll&&p.push(n),b;function S(Ee){return d=Ai(d,Ee),B(),d[d.length-1]!==null?[]:(Te(n,0),b.events=H1(p,b.events,b),b.events)}function R(Ee,ge){return x9(A(Ee),ge)}function A(Ee){return T9(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;)z(ge.charCodeAt(s._bufferIndex));else z(ge)}}function z(Ee){C=C(Ee)}function G(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 Z(Ee){const ge=g.pop();return ge.end=D(),b.events.push(["exit",ge,b]),ge}function J(Ee,ge){Te(Ee,ge.from)}function X(Ee,ge){ge.restore()}function ce(Ee,ge){return Re;function Re(Oe,qe,je){let at,pe,De,P;return Array.isArray(Oe)?Et(Oe):"tokenize"in Oe?Et([Oe]):et(Oe);function et(kt){return rr;function rr(dn){const Rn=dn!==null&&kt[dn],_r=dn!==null&&kt.null,Nn=[...Array.isArray(Rn)?Rn:Rn?[Rn]:[],...Array.isArray(_r)?_r:_r?[_r]:[]];return Et(Nn)(dn)}}function Et(kt){return at=kt,pe=0,kt.length===0?je:V(kt[pe])}function V(kt){return rr;function rr(dn){return P=Me(),De=kt,kt.partial||(b.currentConstruct=kt),kt.name&&b.parser.constructs.disable.null.includes(kt.name)?Qn():kt.tokenize.call(ge?Object.assign(Object.create(b),ge):b,E,$t,Qn)(dn)}}function $t(kt){return Ee(De,P),qe}function Qn(kt){return P.restore(),++pe<at.length?V(at[pe]):je}}}function Te(Ee,ge){Ee.resolveAll&&!p.includes(Ee)&&p.push(Ee),Ee.resolve&&Ri(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 T9(e,n){const a=n.start._index,s=n.start._bufferIndex,f=n.end._index,p=n.end._bufferIndex;let d;if(a===f)d=[e[a].slice(s,p)];else{if(d=e.slice(a,f),s>-1){const g=d[0];typeof g=="string"?d[0]=g.slice(s):d.shift()}p>0&&d.push(e[f].slice(0,p))}return d}function x9(e,n){let a=-1;const s=[];let f;for(;++a<e.length;){const p=e[a];let d;if(typeof p=="string")d=p;else switch(p){case-5:{d="\r";break}case-4:{d=`
|
|
15
|
+
`))}function E(A,D,L,B){const z=L.enter("tableCell"),G=L.enter("phrasing"),W=L.containerPhrasing(A,{...B,before:p,after:p});return G(),z(),W}function b(A,D){return m5(A,{align:D,alignDelimiters:s,padding:a,stringLength:f})}function C(A,D,L){const B=A.children;let z=-1;const G=[],W=D.enter("table");for(;++z<B.length;)G[z]=S(B[z],D,L);return W(),G}function S(A,D,L){const B=A.children;let z=-1;const G=[],W=D.enter("tableRow");for(;++z<B.length;)G[z]=E(B[z],A,D,L);return W(),G}function R(A,D,L){let B=yk.inlineCode(A,D,L);return L.stack.includes("tableCell")&&(B=B.replace(/\|/g,"\\$&")),B}}function s8(){return{exit:{taskListCheckValueChecked:c_,taskListCheckValueUnchecked:c_,paragraph:c8}}}function l8(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:d8}}}function c_(e){const n=this.stack[this.stack.length-2];n.type,n.checked=e.type==="taskListCheckValueChecked"}function c8(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 p=-1,d;for(;++p<f.length;){const g=f[p];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 d8(e,n,a,s){const f=e.children[0],p=typeof e.checked=="boolean"&&f&&f.type==="paragraph",d="["+(e.checked?"x":" ")+"] ",g=a.createTracker(s);p&&g.move(d);let E=yk.listItem(e,n,a,{...s,...g.current()});return p&&(E=E.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,b)),E;function b(C){return C+d}}function f8(){return[UI(),XI(),c5(),t8(),s8()]}function h8(e){return{extensions:[BI(),KI(),d5(),u8(e),l8()]}}function Ri(e,n,a,s){const f=e.length;let p=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);p<s.length;)d=s.slice(p,p+1e4),d.unshift(n,0),e.splice(...d),p+=1e4,n+=1e4}function Ai(e,n){return e.length>0?(Ri(e,e.length,0,n),e):n}const d_={}.hasOwnProperty;function bk(e){const n={};let a=-1;for(;++a<e.length;)p8(n,e[a]);return n}function p8(e,n){let a;for(a in n){const f=(d_.call(e,a)?e[a]:void 0)||(e[a]={}),p=n[a];let d;if(p)for(d in p){d_.call(f,d)||(f[d]=[]);const g=p[d];m8(f[d],Array.isArray(g)?g:g?[g]:[])}}}function m8(e,n){let a=-1;const s=[];for(;++a<n.length;)(n[a].add==="after"?e:s).push(n[a]);Ri(e,0,0,s)}const g8={tokenize:T8,partial:!0},wk={tokenize:x8,partial:!0},Tk={tokenize:S8,partial:!0},xk={tokenize:C8,partial:!0},v8={tokenize:_8,partial:!0},Sk={name:"wwwAutolink",tokenize:b8,previous:_k},Ck={name:"protocolAutolink",tokenize:w8,previous:Ak},Fu={name:"emailAutolink",tokenize:E8,previous:kk},Yo={};function y8(){return{text:Yo}}let xc=48;for(;xc<123;)Yo[xc]=Fu,xc++,xc===58?xc=65:xc===91&&(xc=97);Yo[43]=Fu;Yo[45]=Fu;Yo[46]=Fu;Yo[95]=Fu;Yo[72]=[Fu,Ck];Yo[104]=[Fu,Ck];Yo[87]=[Fu,Sk];Yo[119]=[Fu,Sk];function E8(e,n,a){const s=this;let f,p;return d;function d(S){return!hT(S)||!kk.call(s,s.previous)||jT(s.events)?a(S):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),g(S))}function g(S){return hT(S)?(e.consume(S),g):S===64?(e.consume(S),E):a(S)}function E(S){return S===46?e.check(v8,C,b)(S):S===45||S===95||na(S)?(p=!0,e.consume(S),E):C(S)}function b(S){return e.consume(S),f=!0,E}function C(S){return p&&f&&Ea(s.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),n(S)):a(S)}}function b8(e,n,a){const s=this;return f;function f(d){return d!==87&&d!==119||!_k.call(s,s.previous)||jT(s.events)?a(d):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(g8,e.attempt(wk,e.attempt(Tk,p),a),a)(d))}function p(d){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),n(d)}}function w8(e,n,a){const s=this;let f="",p=!1;return d;function d(S){return(S===72||S===104)&&Ak.call(s,s.previous)&&!jT(s.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),f+=String.fromCodePoint(S),e.consume(S),g):a(S)}function g(S){if(Ea(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),p?b:(p=!0,E)):a(S)}function b(S){return S===null||S1(S)||rn(S)||Ac(S)||P1(S)?a(S):e.attempt(wk,e.attempt(Tk,C),a)(S)}function C(S){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),n(S)}}function T8(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),p):a(d)}function p(d){return d===null?a(d):n(d)}}function x8(e,n,a){let s,f,p;return d;function d(b){return b===46||b===95?e.check(xk,E,g)(b):b===null||rn(b)||Ac(b)||b!==45&&P1(b)?E(b):(p=!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||!p?a(b):n(b)}}function S8(e,n){let a=0,s=0;return f;function f(d){return d===40?(a++,e.consume(d),f):d===41&&s<a?p(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(xk,n,p)(d):d===null||rn(d)||Ac(d)?n(d):(e.consume(d),f)}function p(d){return d===41&&s++,e.consume(d),f}}function C8(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),p):g===93?(e.consume(g),f):g===60||g===null||rn(g)||Ac(g)?n(g):a(g)}function f(g){return g===null||g===40||g===91||rn(g)||Ac(g)?n(g):s(g)}function p(g){return Ea(g)?d(g):a(g)}function d(g){return g===59?(e.consume(g),s):Ea(g)?(e.consume(g),d):a(g)}}function _8(e,n,a){return s;function s(p){return e.consume(p),f}function f(p){return na(p)?a(p):n(p)}}function _k(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||rn(e)}function Ak(e){return!Ea(e)}function kk(e){return!(e===47||hT(e))}function hT(e){return e===43||e===45||e===46||e===95||na(e)}function jT(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 Xf(e){const n=[];let a=-1,s=0,f=0;for(;++a<e.length;){const p=e.charCodeAt(a);let d="";if(p===37&&na(e.charCodeAt(a+1))&&na(e.charCodeAt(a+2)))f=2;else if(p<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(p))||(d=String.fromCharCode(p));else if(p>55295&&p<57344){const g=e.charCodeAt(a+1);p<56320&&g>56319&&g<57344?(d=String.fromCharCode(p,g),f=1):d="�"}else d=String.fromCharCode(p);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 C1(e){if(e===null||rn(e)||Ac(e))return 1;if(P1(e))return 2}function H1(e,n,a){const s=[];let f=-1;for(;++f<e.length;){const p=e[f].resolveAll;p&&!s.includes(p)&&(n=p(n,a),s.push(p))}return n}const pT={name:"attention",tokenize:k8,resolveAll:A8};function A8(e,n){let a=-1,s,f,p,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);f_(S,-E),f_(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},p={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",p,n]]),b=Ai(b,H1(n.parser.constructs.insideSpan.null,e.slice(s+1,a),n)),b=Ai(b,[["exit",p,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,Ri(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 k8(e,n){const a=this.parser.constructs.attentionMarkers.null,s=this.previous,f=C1(s);let p;return d;function d(E){return p=E,e.enter("attentionSequence"),g(E)}function g(E){if(E===p)return e.consume(E),g;const b=e.exit("attentionSequence"),C=C1(E),S=!C||C===2&&f||a.includes(E),R=!f||f===2&&C||a.includes(s);return b._open=!!(p===42?S:S&&(f||!R)),b._close=!!(p===42?R:R&&(C||!S)),n(E)}}function f_(e,n){e.column+=n,e.offset+=n,e._bufferIndex+=n}const R8={name:"autolink",tokenize:N8};function N8(e,n,a){let s=0;return f;function f(A){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(A),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),p}function p(A){return Ea(A)?(e.consume(A),d):A===64?a(A):b(A)}function d(A){return A===43||A===45||A===46||na(A)?(s=1,g(A)):b(A)}function g(A){return A===58?(e.consume(A),s=0,E):(A===43||A===45||A===46||na(A))&&s++<32?(e.consume(A),g):(s=0,b(A))}function E(A){return A===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(A),e.exit("autolinkMarker"),e.exit("autolink"),n):A===null||A===32||A===60||S1(A)?a(A):(e.consume(A),E)}function b(A){return A===64?(e.consume(A),C):TI(A)?(e.consume(A),b):a(A)}function C(A){return na(A)?S(A):a(A)}function S(A){return A===46?(e.consume(A),s=0,C):A===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(A),e.exit("autolinkMarker"),e.exit("autolink"),n):R(A)}function R(A){if((A===45||na(A))&&s++<63){const D=A===45?R:S;return e.consume(A),D}return a(A)}}function Ut(e,n,a,s){const f=s?s-1:Number.POSITIVE_INFINITY;let p=0;return d;function d(E){return Ot(E)?(e.enter(a),g(E)):n(E)}function g(E){return Ot(E)&&p++<f?(e.consume(E),g):(e.exit(a),n(E))}}const Bm={tokenize:D8,partial:!0};function D8(e,n,a){return s;function s(p){return Ot(p)?Ut(e,f,"linePrefix")(p):f(p)}function f(p){return p===null||ut(p)?n(p):a(p)}}const Rk={name:"blockQuote",tokenize:O8,continuation:{tokenize:L8},exit:I8};function O8(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"),p}return a(d)}function p(d){return Ot(d)?(e.enter("blockQuotePrefixWhitespace"),e.consume(d),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),n):(e.exit("blockQuotePrefix"),n(d))}}function L8(e,n,a){const s=this;return f;function f(d){return Ot(d)?Ut(e,p,"linePrefix",s.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(d):p(d)}function p(d){return e.attempt(Rk,n,a)(d)}}function I8(e){e.exit("blockQuote")}const Nk={name:"characterEscape",tokenize:M8};function M8(e,n,a){return s;function s(p){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(p),e.exit("escapeMarker"),f}function f(p){return SI(p)?(e.enter("characterEscapeValue"),e.consume(p),e.exit("characterEscapeValue"),e.exit("characterEscape"),n):a(p)}}const Dk={name:"characterReference",tokenize:P8};function P8(e,n,a){const s=this;let f=0,p,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"),p=31,d=na,C(S))}function b(S){return S===88||S===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(S),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),p=6,d=xI,C):(e.enter("characterReferenceValue"),p=7,d=dT,C(S))}function C(S){if(S===59&&f){const R=e.exit("characterReferenceValue");return d===na&&!zT(s.sliceSerialize(R))?a(S):(e.enter("characterReferenceMarker"),e.consume(S),e.exit("characterReferenceMarker"),e.exit("characterReference"),n)}return d(S)&&f++<p?(e.consume(S),C):a(S)}}const h_={tokenize:U8,partial:!0},p_={name:"codeFenced",tokenize:F8,concrete:!0};function F8(e,n,a){const s=this,f={tokenize:J,partial:!0};let p=0,d=0,g;return E;function E(X){return b(X)}function b(X){const ce=s.events[s.events.length-1];return p=ce&&ce[1].type==="linePrefix"?ce[2].sliceSerialize(ce[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"),Ot(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(h_,L,Z)(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)):Ot(X)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),Ut(e,A,"whitespace")(X)):X===96&&X===g?a(X):(e.consume(X),R)}function A(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,Z,B)(X)}function B(X){return e.enter("lineEnding"),e.consume(X),e.exit("lineEnding"),z}function z(X){return p>0&&Ot(X)?Ut(e,G,"linePrefix",p+1)(X):G(X)}function G(X){return X===null||ut(X)?e.check(h_,L,Z)(X):(e.enter("codeFlowValue"),W(X))}function W(X){return X===null||ut(X)?(e.exit("codeFlowValue"),G(X)):(e.consume(X),W)}function Z(X){return e.exit("codeFenced"),n(X)}function J(X,ce,Te){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"),Ot(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)):Te(qe)}function Re(qe){return qe===g?(Me++,X.consume(qe),Re):Me>=d?(X.exit("codeFencedFenceSequence"),Ot(qe)?Ut(X,Oe,"whitespace")(qe):Oe(qe)):Te(qe)}function Oe(qe){return qe===null||ut(qe)?(X.exit("codeFencedFence"),ce(qe)):Te(qe)}}}function U8(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"),p)}function p(d){return s.parser.lazy[s.now().line]?a(d):n(d)}}const Pw={name:"codeIndented",tokenize:H8},B8={tokenize:z8,partial:!0};function H8(e,n,a){const s=this;return f;function f(b){return e.enter("codeIndented"),Ut(e,p,"linePrefix",5)(b)}function p(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(B8,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 z8(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,p,"linePrefix",5)(d)}function p(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 j8={name:"codeText",tokenize:W8,resolve:V8,previous:Y8};function V8(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 Y8(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function W8(e,n,a){let s=0,f,p;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?(p=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)):(p.type="codeTextData",b(S))}}class q8{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 p=this.right.splice(this.right.length-f,Number.POSITIVE_INFINITY);return s&&bm(this.left,s),p.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),bm(this.left,n)}unshift(n){this.setCursor(0),this.right.push(n)}unshiftMany(n){this.setCursor(0),bm(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);bm(this.right,a.reverse())}else{const a=this.right.splice(this.left.length+this.right.length-n,Number.POSITIVE_INFINITY);bm(this.left,a.reverse())}}}function bm(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 Ok(e){const n={};let a=-1,s,f,p,d,g,E,b;const C=new q8(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,p=0,p<E.length&&E[p][1].type==="lineEndingBlank"&&(p+=2),p<E.length&&E[p][1].type==="content"))for(;++p<E.length&&E[p][1].type!=="content";)E[p][1].type==="chunkText"&&(E[p][1]._isInFirstContentOfListItem=!0,p++);if(s[0]==="enter")s[1].contentType&&(Object.assign(n,Q8(C,a)),a=n[a],b=!0);else if(s[1]._container){for(p=a,f=void 0;p--&&(d=C.get(p),d[1].type==="lineEnding"||d[1].type==="lineEndingBlank");)d[0]==="enter"&&(f&&(C.get(f)[1].type="lineEndingBlank"),d[1].type="lineEnding",f=p);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 Ri(e,0,Number.POSITIVE_INFINITY,C.slice(0)),!b}function Q8(e,n){const a=e.get(n)[1],s=e.get(n)[2];let f=n-1;const p=[],d=a._tokenizer||s.parser[a.contentType](a.start),g=d.events,E=[],b={};let C,S,R=-1,A=a,D=0,L=0;const B=[L];for(;A;){for(;e.get(++f)[1]!==A;);p.push(f),A._tokenizer||(C=s.sliceStream(A),A.next||C.push(null),S&&d.defineSkip(A.start),A._isInFirstContentOfListItem&&(d._gfmTasklistFirstContentOfListItem=!0),d.write(C),A._isInFirstContentOfListItem&&(d._gfmTasklistFirstContentOfListItem=void 0)),S=A,A=A.next}for(A=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),A._tokenizer=void 0,A.previous=void 0,A=A.next);for(d.events=[],A?(A._tokenizer=void 0,A.previous=void 0):B.pop(),R=B.length;R--;){const z=g.slice(B[R],B[R+1]),G=p.pop();E.push([G,G+z.length-1]),e.splice(G,2,z)}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 $8={tokenize:K8,resolve:X8},G8={tokenize:Z8,partial:!0};function X8(e){return Ok(e),e}function K8(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?p(g):ut(g)?e.check(G8,d,p)(g):(e.consume(g),f)}function p(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 Z8(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,p,"linePrefix")}function p(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 Lk(e,n,a,s,f,p,d,g,E){const b=E||Number.POSITIVE_INFINITY;let C=0;return S;function S(z){return z===60?(e.enter(s),e.enter(f),e.enter(p),e.consume(z),e.exit(p),R):z===null||z===32||z===41||S1(z)?a(z):(e.enter(s),e.enter(d),e.enter(g),e.enter("chunkString",{contentType:"string"}),L(z))}function R(z){return z===62?(e.enter(p),e.consume(z),e.exit(p),e.exit(f),e.exit(s),n):(e.enter(g),e.enter("chunkString",{contentType:"string"}),A(z))}function A(z){return z===62?(e.exit("chunkString"),e.exit(g),R(z)):z===null||z===60||ut(z)?a(z):(e.consume(z),z===92?D:A)}function D(z){return z===60||z===62||z===92?(e.consume(z),A):A(z)}function L(z){return!C&&(z===null||z===41||rn(z))?(e.exit("chunkString"),e.exit(g),e.exit(d),e.exit(s),n(z)):C<b&&z===40?(e.consume(z),C++,L):z===41?(e.consume(z),C--,L):z===null||z===32||z===40||S1(z)?a(z):(e.consume(z),z===92?B:L)}function B(z){return z===40||z===41||z===92?(e.consume(z),L):L(z)}}function Ik(e,n,a,s,f,p){const d=this;let g=0,E;return b;function b(A){return e.enter(s),e.enter(f),e.consume(A),e.exit(f),e.enter(p),C}function C(A){return g>999||A===null||A===91||A===93&&!E||A===94&&!g&&"_hiddenFootnoteSupport"in d.parser.constructs?a(A):A===93?(e.exit(p),e.enter(f),e.consume(A),e.exit(f),e.exit(s),n):ut(A)?(e.enter("lineEnding"),e.consume(A),e.exit("lineEnding"),C):(e.enter("chunkString",{contentType:"string"}),S(A))}function S(A){return A===null||A===91||A===93||ut(A)||g++>999?(e.exit("chunkString"),C(A)):(e.consume(A),E||(E=!Ot(A)),A===92?R:S)}function R(A){return A===91||A===92||A===93?(e.consume(A),g++,S):S(A)}}function Mk(e,n,a,s,f,p){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(p),b(R))}function b(R){return R===d?(e.exit(p),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 Cm(e,n){let a;return s;function s(f){return ut(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),a=!0,s):Ot(f)?Ut(e,s,a?"linePrefix":"lineSuffix")(f):n(f)}}const J8={name:"definition",tokenize:tM},eM={tokenize:nM,partial:!0};function tM(e,n,a){const s=this;let f;return p;function p(A){return e.enter("definition"),d(A)}function d(A){return Ik.call(s,e,g,a,"definitionLabel","definitionLabelMarker","definitionLabelString")(A)}function g(A){return f=oo(s.sliceSerialize(s.events[s.events.length-1][1]).slice(1,-1)),A===58?(e.enter("definitionMarker"),e.consume(A),e.exit("definitionMarker"),E):a(A)}function E(A){return rn(A)?Cm(e,b)(A):b(A)}function b(A){return Lk(e,C,a,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(A)}function C(A){return e.attempt(eM,S,S)(A)}function S(A){return Ot(A)?Ut(e,R,"whitespace")(A):R(A)}function R(A){return A===null||ut(A)?(e.exit("definition"),s.parser.defined.push(f),n(A)):a(A)}}function nM(e,n,a){return s;function s(g){return rn(g)?Cm(e,f)(g):a(g)}function f(g){return Mk(e,p,a,"definitionTitle","definitionTitleMarker","definitionTitleString")(g)}function p(g){return Ot(g)?Ut(e,d,"whitespace")(g):d(g)}function d(g){return g===null||ut(g)?n(g):a(g)}}const rM={name:"hardBreakEscape",tokenize:aM};function aM(e,n,a){return s;function s(p){return e.enter("hardBreakEscape"),e.consume(p),f}function f(p){return ut(p)?(e.exit("hardBreakEscape"),n(p)):a(p)}}const iM={name:"headingAtx",tokenize:uM,resolve:oM};function oM(e,n){let a=e.length-2,s=3,f,p;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},p={type:"chunkText",start:e[s][1].start,end:e[a][1].end,contentType:"text"},Ri(e,s,a-s+1,[["enter",f,n],["enter",p,n],["exit",p,n],["exit",f,n]])),e}function uM(e,n,a){let s=0;return f;function f(C){return e.enter("atxHeading"),p(C)}function p(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)):Ot(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 sM=["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"],m_=["pre","script","style","textarea"],lM={name:"htmlFlow",tokenize:hM,resolveTo:fM,concrete:!0},cM={tokenize:mM,partial:!0},dM={tokenize:pM,partial:!0};function fM(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 hM(e,n,a){const s=this;let f,p,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),p=!0,L):V===63?(e.consume(V),f=3,s.interrupt?n:P):Ea(V)?(e.consume(V),d=String.fromCharCode(V),B):a(V)}function R(V){return V===45?(e.consume(V),f=2,A):V===91?(e.consume(V),f=5,g=0,D):Ea(V)?(e.consume(V),f=4,s.interrupt?n:P):a(V)}function A(V){return V===45?(e.consume(V),s.interrupt?n:P):a(V)}function D(V){const $t="CDATA[";return V===$t.charCodeAt(g++)?(e.consume(V),g===$t.length?s.interrupt?n:ge:D):a(V)}function L(V){return Ea(V)?(e.consume(V),d=String.fromCharCode(V),B):a(V)}function B(V){if(V===null||V===47||V===62||rn(V)){const $t=V===47,Qn=d.toLowerCase();return!$t&&!p&&m_.includes(Qn)?(f=1,s.interrupt?n(V):ge(V)):sM.includes(d.toLowerCase())?(f=6,$t?(e.consume(V),z):s.interrupt?n(V):ge(V)):(f=7,s.interrupt&&!s.parser.lazy[s.now().line]?a(V):p?G(V):W(V))}return V===45||na(V)?(e.consume(V),d+=String.fromCharCode(V),B):a(V)}function z(V){return V===62?(e.consume(V),s.interrupt?n:ge):a(V)}function G(V){return Ot(V)?(e.consume(V),G):K(V)}function W(V){return V===47?(e.consume(V),K):V===58||V===95||Ea(V)?(e.consume(V),Z):Ot(V)?(e.consume(V),W):K(V)}function Z(V){return V===45||V===46||V===58||V===95||na(V)?(e.consume(V),Z):J(V)}function J(V){return V===61?(e.consume(V),X):Ot(V)?(e.consume(V),J):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,ce):Ot(V)?(e.consume(V),X):Te(V)}function ce(V){return V===E?(e.consume(V),E=null,Me):V===null||ut(V)?a(V):(e.consume(V),ce)}function Te(V){return V===null||V===34||V===39||V===47||V===60||V===61||V===62||V===96||rn(V)?J(V):(e.consume(V),Te)}function Me(V){return V===47||V===62||Ot(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):Ot(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),P):V===93&&f===5?(e.consume(V),De):ut(V)&&(f===6||f===7)?(e.exit("htmlFlowData"),e.check(cM,Et,Re)(V)):V===null||ut(V)?(e.exit("htmlFlowData"),Re(V)):(e.consume(V),ge)}function Re(V){return e.check(dM,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),P):ge(V)}function at(V){return V===47?(e.consume(V),d="",pe):ge(V)}function pe(V){if(V===62){const $t=d.toLowerCase();return m_.includes($t)?(e.consume(V),et):ge(V)}return Ea(V)&&d.length<8?(e.consume(V),d+=String.fromCharCode(V),pe):ge(V)}function De(V){return V===93?(e.consume(V),P):ge(V)}function P(V){return V===62?(e.consume(V),et):V===45&&f===2?(e.consume(V),P):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 pM(e,n,a){const s=this;return f;function f(d){return ut(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),p):a(d)}function p(d){return s.parser.lazy[s.now().line]?a(d):n(d)}}function mM(e,n,a){return s;function s(f){return e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),e.attempt(Bm,n,a)}}const gM={name:"htmlText",tokenize:vM};function vM(e,n,a){const s=this;let f,p,d;return g;function g(P){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(P),E}function E(P){return P===33?(e.consume(P),b):P===47?(e.consume(P),J):P===63?(e.consume(P),W):Ea(P)?(e.consume(P),Te):a(P)}function b(P){return P===45?(e.consume(P),C):P===91?(e.consume(P),p=0,D):Ea(P)?(e.consume(P),G):a(P)}function C(P){return P===45?(e.consume(P),A):a(P)}function S(P){return P===null?a(P):P===45?(e.consume(P),R):ut(P)?(d=S,at(P)):(e.consume(P),S)}function R(P){return P===45?(e.consume(P),A):S(P)}function A(P){return P===62?je(P):P===45?R(P):S(P)}function D(P){const et="CDATA[";return P===et.charCodeAt(p++)?(e.consume(P),p===et.length?L:D):a(P)}function L(P){return P===null?a(P):P===93?(e.consume(P),B):ut(P)?(d=L,at(P)):(e.consume(P),L)}function B(P){return P===93?(e.consume(P),z):L(P)}function z(P){return P===62?je(P):P===93?(e.consume(P),z):L(P)}function G(P){return P===null||P===62?je(P):ut(P)?(d=G,at(P)):(e.consume(P),G)}function W(P){return P===null?a(P):P===63?(e.consume(P),Z):ut(P)?(d=W,at(P)):(e.consume(P),W)}function Z(P){return P===62?je(P):W(P)}function J(P){return Ea(P)?(e.consume(P),X):a(P)}function X(P){return P===45||na(P)?(e.consume(P),X):ce(P)}function ce(P){return ut(P)?(d=ce,at(P)):Ot(P)?(e.consume(P),ce):je(P)}function Te(P){return P===45||na(P)?(e.consume(P),Te):P===47||P===62||rn(P)?Me(P):a(P)}function Me(P){return P===47?(e.consume(P),je):P===58||P===95||Ea(P)?(e.consume(P),K):ut(P)?(d=Me,at(P)):Ot(P)?(e.consume(P),Me):je(P)}function K(P){return P===45||P===46||P===58||P===95||na(P)?(e.consume(P),K):Ee(P)}function Ee(P){return P===61?(e.consume(P),ge):ut(P)?(d=Ee,at(P)):Ot(P)?(e.consume(P),Ee):Me(P)}function ge(P){return P===null||P===60||P===61||P===62||P===96?a(P):P===34||P===39?(e.consume(P),f=P,Re):ut(P)?(d=ge,at(P)):Ot(P)?(e.consume(P),ge):(e.consume(P),Oe)}function Re(P){return P===f?(e.consume(P),f=void 0,qe):P===null?a(P):ut(P)?(d=Re,at(P)):(e.consume(P),Re)}function Oe(P){return P===null||P===34||P===39||P===60||P===61||P===96?a(P):P===47||P===62||rn(P)?Me(P):(e.consume(P),Oe)}function qe(P){return P===47||P===62||rn(P)?Me(P):a(P)}function je(P){return P===62?(e.consume(P),e.exit("htmlTextData"),e.exit("htmlText"),n):a(P)}function at(P){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(P),e.exit("lineEnding"),pe}function pe(P){return Ot(P)?Ut(e,De,"linePrefix",s.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(P):De(P)}function De(P){return e.enter("htmlTextData"),d(P)}}const VT={name:"labelEnd",tokenize:xM,resolveTo:TM,resolveAll:wM},yM={tokenize:SM},EM={tokenize:CM},bM={tokenize:_M};function wM(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 TM(e,n){let a=e.length,s=0,f,p,d,g;for(;a--;)if(f=e[a][1],p){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&&(p=a,f.type!=="labelLink")){s=2;break}}else f.type==="labelEnd"&&(d=a);const E={type:e[p][1].type==="labelLink"?"link":"image",start:Object.assign({},e[p][1].start),end:Object.assign({},e[e.length-1][1].end)},b={type:"label",start:Object.assign({},e[p][1].start),end:Object.assign({},e[d][1].end)},C={type:"labelText",start:Object.assign({},e[p+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(p+1,p+s+3)),g=Ai(g,[["enter",C,n]]),g=Ai(g,H1(n.parser.constructs.insideSpan.null,e.slice(p+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]]),Ri(e,p,e.length,g),e}function xM(e,n,a){const s=this;let f=s.events.length,p,d;for(;f--;)if((s.events[f][1].type==="labelImage"||s.events[f][1].type==="labelLink")&&!s.events[f][1]._balanced){p=s.events[f][1];break}return g;function g(R){return p?p._inactive?S(R):(d=s.parser.defined.includes(oo(s.sliceSerialize({start:p.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(yM,C,d?C:S)(R):R===91?e.attempt(EM,C,d?b:S)(R):d?C(R):S(R)}function b(R){return e.attempt(bM,C,S)(R)}function C(R){return n(R)}function S(R){return p._balanced=!0,a(R)}}function SM(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)?Cm(e,p)(S):p(S)}function p(S){return S===41?C(S):Lk(e,d,g,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(S)}function d(S){return rn(S)?Cm(e,E)(S):C(S)}function g(S){return a(S)}function E(S){return S===34||S===39||S===40?Mk(e,b,a,"resourceTitle","resourceTitleMarker","resourceTitleString")(S):C(S)}function b(S){return rn(S)?Cm(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 CM(e,n,a){const s=this;return f;function f(g){return Ik.call(s,e,p,d,"reference","referenceMarker","referenceString")(g)}function p(g){return s.parser.defined.includes(oo(s.sliceSerialize(s.events[s.events.length-1][1]).slice(1,-1)))?n(g):a(g)}function d(g){return a(g)}}function _M(e,n,a){return s;function s(p){return e.enter("reference"),e.enter("referenceMarker"),e.consume(p),e.exit("referenceMarker"),f}function f(p){return p===93?(e.enter("referenceMarker"),e.consume(p),e.exit("referenceMarker"),e.exit("reference"),n):a(p)}}const AM={name:"labelStartImage",tokenize:kM,resolveAll:VT.resolveAll};function kM(e,n,a){const s=this;return f;function f(g){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(g),e.exit("labelImageMarker"),p}function p(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 RM={name:"labelStartLink",tokenize:NM,resolveAll:VT.resolveAll};function NM(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"),p}function p(d){return d===94&&"_hiddenFootnoteSupport"in s.parser.constructs?a(d):n(d)}}const Fw={name:"lineEnding",tokenize:DM};function DM(e,n){return a;function a(s){return e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),Ut(e,n,"linePrefix")}}const g1={name:"thematicBreak",tokenize:OM};function OM(e,n,a){let s=0,f;return p;function p(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"),Ot(b)?Ut(e,g,"whitespace")(b):g(b))}}const qa={name:"list",tokenize:MM,continuation:{tokenize:PM},exit:UM},LM={tokenize:BM,partial:!0},IM={tokenize:FM,partial:!0};function MM(e,n,a){const s=this,f=s.events[s.events.length-1];let p=f&&f[1].type==="linePrefix"?f[2].sliceSerialize(f[1],!0).length:0,d=0;return g;function g(A){const D=s.containerState.type||(A===42||A===43||A===45?"listUnordered":"listOrdered");if(D==="listUnordered"?!s.containerState.marker||A===s.containerState.marker:dT(A)){if(s.containerState.type||(s.containerState.type=D,e.enter(D,{_container:!0})),D==="listUnordered")return e.enter("listItemPrefix"),A===42||A===45?e.check(g1,a,b)(A):b(A);if(!s.interrupt||A===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),E(A)}return a(A)}function E(A){return dT(A)&&++d<10?(e.consume(A),E):(!s.interrupt||d<2)&&(s.containerState.marker?A===s.containerState.marker:A===41||A===46)?(e.exit("listItemValue"),b(A)):a(A)}function b(A){return e.enter("listItemMarker"),e.consume(A),e.exit("listItemMarker"),s.containerState.marker=s.containerState.marker||A,e.check(Bm,s.interrupt?a:C,e.attempt(LM,R,S))}function C(A){return s.containerState.initialBlankLine=!0,p++,R(A)}function S(A){return Ot(A)?(e.enter("listItemPrefixWhitespace"),e.consume(A),e.exit("listItemPrefixWhitespace"),R):a(A)}function R(A){return s.containerState.size=p+s.sliceSerialize(e.exit("listItemPrefix"),!0).length,n(A)}}function PM(e,n,a){const s=this;return s.containerState._closeFlow=void 0,e.check(Bm,f,p);function f(g){return s.containerState.furtherBlankLines=s.containerState.furtherBlankLines||s.containerState.initialBlankLine,Ut(e,n,"listItemIndent",s.containerState.size+1)(g)}function p(g){return s.containerState.furtherBlankLines||!Ot(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(IM,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 FM(e,n,a){const s=this;return Ut(e,f,"listItemIndent",s.containerState.size+1);function f(p){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(p):a(p)}}function UM(e){e.exit(this.containerState.type)}function BM(e,n,a){const s=this;return Ut(e,f,"listItemPrefixWhitespace",s.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function f(p){const d=s.events[s.events.length-1];return!Ot(p)&&d&&d[1].type==="listItemPrefixWhitespace"?n(p):a(p)}}const g_={name:"setextUnderline",tokenize:zM,resolveTo:HM};function HM(e,n){let a=e.length,s,f,p;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),!p&&e[a][1].type==="definition"&&(p=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",p?(e.splice(f,0,["enter",d,n]),e.splice(p+1,0,["exit",e[s][1],n]),e[s][1].end=Object.assign({},e[p][1].end)):e[s][1]=d,e.push(["exit",d,n]),e}function zM(e,n,a){const s=this;let f;return p;function p(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"),Ot(b)?Ut(e,E,"lineSuffix")(b):E(b))}function E(b){return b===null||ut(b)?(e.exit("setextHeadingLine"),n(b)):a(b)}}const jM={tokenize:XM,partial:!0};function VM(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:QM,continuation:{tokenize:$M},exit:GM}},text:{91:{name:"gfmFootnoteCall",tokenize:qM},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:YM,resolveTo:WM}}}}function YM(e,n,a){const s=this;let f=s.events.length;const p=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=oo(s.sliceSerialize({start:d.end,end:s.now()}));return b.codePointAt(0)!==94||!p.includes(b.slice(1))?a(E):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(E),e.exit("gfmFootnoteCallLabelMarker"),n(E))}}function WM(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 p={type:"gfmFootnoteCallString",start:Object.assign({},f.end),end:Object.assign({},e[e.length-1][1].start)},d={type:"chunkString",contentType:"string",start:Object.assign({},p.start),end:Object.assign({},p.end)},g=[e[a+1],e[a+2],["enter",s,n],e[a+3],e[a+4],["enter",f,n],["exit",f,n],["enter",p,n],["enter",d,n],["exit",d,n],["exit",p,n],e[e.length-2],e[e.length-1],["exit",s,n]];return e.splice(a,e.length-a+1,...g),e}function qM(e,n,a){const s=this,f=s.parser.gfmFootnotes||(s.parser.gfmFootnotes=[]);let p=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(p>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(oo(s.sliceSerialize(R)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(S),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),n):a(S)}return rn(S)||(d=!0),p++,e.consume(S),S===92?C:b}function C(S){return S===91||S===92||S===93?(e.consume(S),p++,b):b(S)}}function QM(e,n,a){const s=this,f=s.parser.gfmFootnotes||(s.parser.gfmFootnotes=[]);let p,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 p=oo(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(p)||f.push(p),Ut(e,A,"gfmFootnoteDefinitionWhitespace")):a(D)}function A(D){return n(D)}}function $M(e,n,a){return e.check(Bm,n,e.attempt(jM,n,a))}function GM(e){e.exit("gfmFootnoteDefinition")}function XM(e,n,a){const s=this;return Ut(e,f,"gfmFootnoteDefinitionIndent",5);function f(p){const d=s.events[s.events.length-1];return d&&d[1].type==="gfmFootnoteDefinitionIndent"&&d[2].sliceSerialize(d[1],!0).length===4?n(p):a(p)}}function KM(e){let a=(e||{}).singleTilde;const s={name:"strikethrough",tokenize:p,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]],A=g.parser.constructs.insideSpan.null;A&&Ri(R,R.length,0,H1(A,d.slice(b+1,E),g)),Ri(R,R.length,0,[["exit",S,g],["enter",d[E][1],g],["exit",d[E][1],g],["exit",C,g]]),Ri(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 p(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"),A(D))}function A(D){const L=C1(b);if(D===126)return S>1?E(D):(d.consume(D),S++,A);if(S<2&&!a)return E(D);const B=d.exit("strikethroughSequenceTemporary"),z=C1(D);return B._open=!z||z===2&&!!L,B._close=!L||L===2&&!!z,g(D)}}}class ZM{constructor(){this.map=[]}add(n,a,s){JM(this,n,a,s)}consume(n){if(this.map.sort(function(p,d){return p[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 JM(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 eP(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 p=s.length-1;s[p]=s[p]==="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 tP(){return{flow:{null:{name:"table",tokenize:nP,resolveAll:rP}}}}function nP(e,n,a){const s=this;let f=0,p=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,p+=1),C(K)}function C(K){return K===null?a(K):ut(K)?p>1?(p=0,s.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(K),e.exit("lineEnding"),A):a(K):Ot(K)?Ut(e,C,"whitespace")(K):(p+=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 A(K){return s.interrupt=!1,s.parser.lazy[s.now().line]?a(K):(e.enter("tableDelimiterRow"),d=!1,Ot(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):J(K)}function L(K){return Ot(K)?Ut(e,B,"whitespace")(K):B(K)}function B(K){return K===58?(p+=1,d=!0,e.enter("tableDelimiterMarker"),e.consume(K),e.exit("tableDelimiterMarker"),z):K===45?(p+=1,z(K)):K===null||ut(K)?Z(K):J(K)}function z(K){return K===45?(e.enter("tableDelimiterFiller"),G(K)):J(K)}function G(K){return K===45?(e.consume(K),G):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 Ot(K)?Ut(e,Z,"whitespace")(K):Z(K)}function Z(K){return K===124?D(K):K===null||ut(K)?!d||f!==p?J(K):(e.exit("tableDelimiterRow"),e.exit("tableHead"),n(K)):J(K)}function J(K){return a(K)}function X(K){return e.enter("tableRow"),ce(K)}function ce(K){return K===124?(e.enter("tableCellDivider"),e.consume(K),e.exit("tableCellDivider"),ce):K===null||ut(K)?(e.exit("tableRow"),n(K)):Ot(K)?Ut(e,ce,"whitespace")(K):(e.enter("data"),Te(K))}function Te(K){return K===null||K===124||rn(K)?(e.exit("data"),ce(K)):(e.consume(K),K===92?Me:Te)}function Me(K){return K===92||K===124?(e.consume(K),Te):Te(K)}}function rP(e,n){let a=-1,s=!0,f=0,p=[0,0,0,0],d=[0,0,0,0],g=!1,E=0,b,C,S;const R=new ZM;for(;++a<e.length;){const A=e[a],D=A[1];A[0]==="enter"?D.type==="tableHead"?(g=!1,E!==0&&(v_(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,p=[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&&(p[1]!==0&&(d[0]=d[1],S=r1(R,n,p,f,void 0,S),p=[0,0,0,0]),d[2]=a)):D.type==="tableCellDivider"&&(s?s=!1:(p[1]!==0&&(d[0]=d[1],S=r1(R,n,p,f,void 0,S)),p=d,d=[p[1],a,0,0])):D.type==="tableHead"?(g=!0,E=a):D.type==="tableRow"||D.type==="tableDelimiterRow"?(E=a,p[1]!==0?(d[0]=d[1],S=r1(R,n,p,f,a,S)):d[1]!==0&&(S=r1(R,n,d,f,a,S)),f=0):f&&(D.type==="data"||D.type==="tableDelimiterMarker"||D.type==="tableDelimiterFiller")&&(d[3]=a)}for(E!==0&&v_(R,n,E,b,C),R.consume(n.events),a=-1;++a<n.events.length;){const A=n.events[a];A[0]==="enter"&&A[1].type==="table"&&(A[1]._align=eP(n.events,a))}return e}function r1(e,n,a,s,f,p){const d=s===1?"tableHeader":s===2?"tableDelimiter":"tableData",g="tableContent";a[0]!==0&&(p.end=Object.assign({},Ff(n.events,a[0])),e.add(a[0],0,[["exit",p,n]]));const E=Ff(n.events,a[1]);if(p={type:d,start:Object.assign({},E),end:Object.assign({},E)},e.add(a[1],0,[["enter",p,n]]),a[2]!==0){const b=Ff(n.events,a[2]),C=Ff(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]],A=n.events[a[3]];if(R[1].end=Object.assign({},A[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&&(p.end=Object.assign({},Ff(n.events,f)),e.add(f,0,[["exit",p,n]]),p=void 0),p}function v_(e,n,a,s,f){const p=[],d=Ff(n.events,a);f&&(f.end=Object.assign({},d),p.push(["exit",f,n])),s.end=Object.assign({},d),p.push(["exit",s,n]),e.add(a+1,0,p)}function Ff(e,n){const a=e[n],s=a[0]==="enter"?"start":"end";return a[1][s]}const aP={name:"tasklistCheck",tokenize:oP};function iP(){return{text:{91:aP}}}function oP(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"),p)}function p(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):Ot(E)?e.check({tokenize:uP},n,a)(E):a(E)}}function uP(e,n,a){return Ut(e,s,"whitespace");function s(f){return f===null?a(f):n(f)}}function sP(e){return bk([y8(),VM(),KM(e),tP(),iP()])}const lP={};function cP(e){const n=this,a=e||lP,s=n.data(),f=s.micromarkExtensions||(s.micromarkExtensions=[]),p=s.fromMarkdownExtensions||(s.fromMarkdownExtensions=[]),d=s.toMarkdownExtensions||(s.toMarkdownExtensions=[]);f.push(sP(a)),p.push(f8()),d.push(h8(a))}function y_(e){const n=[],a=String(e||"");let s=a.indexOf(","),f=0,p=!1;for(;!p;){s===-1&&(s=a.length,p=!0);const d=a.slice(f,s).trim();(d||!p)&&n.push(d),f=s+1,s=a.indexOf(",",f)}return n}function Pk(e,n){const a={};return(e[e.length-1]===""?[...e,""]:e).join((a.padRight?" ":"")+","+(a.padLeft===!1?"":" ")).trim()}const dP=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,fP=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,hP={};function E_(e,n){return(hP.jsx?fP:dP).test(e)}const pP=/[ \t\n\f\r]/g;function mP(e){return typeof e=="object"?e.type==="text"?b_(e.value):!1:b_(e)}function b_(e){return e.replace(pP,"")===""}class Hm{constructor(n,a,s){this.property=n,this.normal=a,s&&(this.space=s)}}Hm.prototype.property={};Hm.prototype.normal={};Hm.prototype.space=null;function Fk(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 Hm(a,s,n)}function Om(e){return e.toLowerCase()}class Ni{constructor(n,a){this.property=n,this.attribute=a}}Ni.prototype.space=null;Ni.prototype.boolean=!1;Ni.prototype.booleanish=!1;Ni.prototype.overloadedBoolean=!1;Ni.prototype.number=!1;Ni.prototype.commaSeparated=!1;Ni.prototype.spaceSeparated=!1;Ni.prototype.commaOrSpaceSeparated=!1;Ni.prototype.mustUseProperty=!1;Ni.prototype.defined=!1;let gP=0;const bt=Rc(),nr=Rc(),Uk=Rc(),ke=Rc(),ln=Rc(),Hf=Rc(),ai=Rc();function Rc(){return 2**++gP}const mT=Object.freeze(Object.defineProperty({__proto__:null,boolean:bt,booleanish:nr,commaOrSpaceSeparated:ai,commaSeparated:Hf,number:ke,overloadedBoolean:Uk,spaceSeparated:ln},Symbol.toStringTag,{value:"Module"})),Uw=Object.keys(mT);class YT extends Ni{constructor(n,a,s,f){let p=-1;if(super(n,a),w_(this,"space",f),typeof s=="number")for(;++p<Uw.length;){const d=Uw[p];w_(this,Uw[p],(s&mT[d])===mT[d])}}}YT.prototype.defined=!0;function w_(e,n,a){a&&(e[n]=a)}const vP={}.hasOwnProperty;function Kf(e){const n={},a={};let s;for(s in e.properties)if(vP.call(e.properties,s)){const f=e.properties[s],p=new YT(s,e.transform(e.attributes||{},s),f,e.space);e.mustUseProperty&&e.mustUseProperty.includes(s)&&(p.mustUseProperty=!0),n[s]=p,a[Om(s)]=s,a[Om(p.attribute)]=s}return new Hm(n,a,e.space)}const Bk=Kf({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}}),Hk=Kf({space:"xml",transform(e,n){return"xml:"+n.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function zk(e,n){return n in e?e[n]:n}function jk(e,n){return zk(e,n.toLowerCase())}const Vk=Kf({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:jk,properties:{xmlns:null,xmlnsXLink:null}}),Yk=Kf({transform(e,n){return n==="role"?n:"aria-"+n.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:nr,ariaAutoComplete:null,ariaBusy:nr,ariaChecked:nr,ariaColCount:ke,ariaColIndex:ke,ariaColSpan:ke,ariaControls:ln,ariaCurrent:null,ariaDescribedBy:ln,ariaDetails:null,ariaDisabled:nr,ariaDropEffect:ln,ariaErrorMessage:null,ariaExpanded:nr,ariaFlowTo:ln,ariaGrabbed:nr,ariaHasPopup:null,ariaHidden:nr,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:ln,ariaLevel:ke,ariaLive:null,ariaModal:nr,ariaMultiLine:nr,ariaMultiSelectable:nr,ariaOrientation:null,ariaOwns:ln,ariaPlaceholder:null,ariaPosInSet:ke,ariaPressed:nr,ariaReadOnly:nr,ariaRelevant:null,ariaRequired:nr,ariaRoleDescription:ln,ariaRowCount:ke,ariaRowIndex:ke,ariaRowSpan:ke,ariaSelected:nr,ariaSetSize:ke,ariaSort:null,ariaValueMax:ke,ariaValueMin:ke,ariaValueNow:ke,ariaValueText:null,role:null}}),yP=Kf({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:jk,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Hf,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:ke,colSpan:null,content:null,contentEditable:nr,controls:bt,controlsList:ln,coords:ke|Hf,crossOrigin:null,data:null,dateTime:null,decoding:null,default:bt,defer:bt,dir:null,dirName:null,disabled:bt,download:Uk,draggable:nr,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:bt,formTarget:null,headers:ln,height:ke,hidden:bt,high:ke,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:ke,manifest:null,max:null,maxLength:ke,media:null,method:null,min:null,minLength:ke,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:ke,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:ke,rowSpan:ke,sandbox:ln,scope:null,scoped:bt,seamless:bt,selected:bt,shadowRootClonable:bt,shadowRootDelegatesFocus:bt,shadowRootMode:null,shape:null,size:ke,sizes:null,slot:null,span:ke,spellCheck:nr,src:null,srcDoc:null,srcLang:null,srcSet:null,start:ke,step:null,style:null,tabIndex:ke,target:null,title:null,translate:null,type:null,typeMustMatch:bt,useMap:null,value:nr,width:ke,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:ln,axis:null,background:null,bgColor:null,border:ke,borderColor:null,bottomMargin:ke,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:ke,leftMargin:ke,link:null,longDesc:null,lowSrc:null,marginHeight:ke,marginWidth:ke,noResize:bt,noHref:bt,noShade:bt,noWrap:bt,object:null,profile:null,prompt:null,rev:null,rightMargin:ke,rules:null,scheme:null,scrolling:nr,standby:null,summary:null,text:null,topMargin:ke,valueType:null,version:null,vAlign:null,vLink:null,vSpace:ke,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:bt,disableRemotePlayback:bt,prefix:null,property:null,results:ke,security:null,unselectable:null}}),EP=Kf({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:zk,properties:{about:ai,accentHeight:ke,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:ke,amplitude:ke,arabicForm:null,ascent:ke,attributeName:null,attributeType:null,azimuth:ke,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:ke,by:null,calcMode:null,capHeight:ke,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:ke,diffuseConstant:ke,direction:null,display:null,dur:null,divisor:ke,dominantBaseline:null,download:bt,dx:null,dy:null,edgeMode:null,editable:null,elevation:ke,enableBackground:null,end:null,event:null,exponent:ke,externalResourcesRequired:null,fill:null,fillOpacity:ke,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:Hf,g2:Hf,glyphName:Hf,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:ke,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:ke,horizOriginX:ke,horizOriginY:ke,id:null,ideographic:ke,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:ke,k:ke,k1:ke,k2:ke,k3:ke,k4:ke,kernelMatrix:ai,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:ke,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:ke,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:ke,overlineThickness:ke,paintOrder:null,panose1:null,path:null,pathLength:ke,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:ln,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:ke,pointsAtY:ke,pointsAtZ:ke,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:ai,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:ai,rev:ai,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:ai,requiredFeatures:ai,requiredFonts:ai,requiredFormats:ai,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:ke,specularExponent:ke,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:ke,strikethroughThickness:ke,string:null,stroke:null,strokeDashArray:ai,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:ke,strokeOpacity:ke,strokeWidth:null,style:null,surfaceScale:ke,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:ai,tabIndex:ke,tableValues:null,target:null,targetX:ke,targetY:ke,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:ai,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:ke,underlineThickness:ke,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:ke,values:null,vAlphabetic:ke,vMathematical:ke,vectorEffect:null,vHanging:ke,vIdeographic:ke,version:null,vertAdvY:ke,vertOriginX:ke,vertOriginY:ke,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:ke,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),bP=/^data[-\w.:]+$/i,T_=/-[a-z]/g,wP=/[A-Z]/g;function z1(e,n){const a=Om(n);let s=n,f=Ni;if(a in e.normal)return e.property[e.normal[a]];if(a.length>4&&a.slice(0,4)==="data"&&bP.test(n)){if(n.charAt(4)==="-"){const p=n.slice(5).replace(T_,xP);s="data"+p.charAt(0).toUpperCase()+p.slice(1)}else{const p=n.slice(4);if(!T_.test(p)){let d=p.replace(wP,TP);d.charAt(0)!=="-"&&(d="-"+d),n="data"+d}}f=YT}return new f(s,n)}function TP(e){return"-"+e.toLowerCase()}function xP(e){return e.charAt(1).toUpperCase()}const SP={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"},zm=Fk([Hk,Bk,Vk,Yk,yP],"html"),ul=Fk([Hk,Bk,Vk,Yk,EP],"svg");function x_(e){const n=String(e||"").trim();return n?n.split(/[ \t\n\r\f]+/g):[]}function Wk(e){return e.join(" ").trim()}var qk={},S_=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,CP=/\n/g,_P=/^\s*/,AP=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,kP=/^:\s*/,RP=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,NP=/^[;\s]*/,DP=/^\s+|\s+$/g,OP=`
|
|
16
|
+
`,C_="/",__="*",Sc="",LP="comment",IP="declaration",MP=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(CP);L&&(a+=L.length);var B=D.lastIndexOf(OP);s=~B?D.length-B:s+D.length}function p(){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(_P)}function C(D){var L;for(D=D||[];L=S();)L!==!1&&D.push(L);return D}function S(){var D=p();if(!(C_!=e.charAt(0)||__!=e.charAt(1))){for(var L=2;Sc!=e.charAt(L)&&(__!=e.charAt(L)||C_!=e.charAt(L+1));)++L;if(L+=2,Sc===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:LP,comment:B})}}function R(){var D=p(),L=E(AP);if(L){if(S(),!E(kP))return g("property missing ':'");var B=E(RP),z=D({type:IP,property:A_(L[0].replace(S_,Sc)),value:B?A_(B[0].replace(S_,Sc)):Sc});return E(NP),z}}function A(){var D=[];C(D);for(var L;L=R();)L!==!1&&(D.push(L),C(D));return D}return b(),A()};function A_(e){return e?e.replace(DP,Sc):Sc}var PP=vt.commonjsGlobal&&vt.commonjsGlobal.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(qk,"__esModule",{value:!0});var k_=qk.default=UP,FP=PP(MP);function UP(e,n){var a=null;if(!e||typeof e!="string")return a;var s=(0,FP.default)(e),f=typeof n=="function";return s.forEach(function(p){if(p.type==="declaration"){var d=p.property,g=p.value;f?n(d,g,p):g&&(a=a||{},a[d]=g)}}),a}const BP=k_.default||k_,j1=Qk("end"),Wo=Qk("start");function Qk(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 HP(e){const n=Wo(e),a=j1(e);if(n&&a)return{start:n,end:a}}function _m(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?R_(e.position):"start"in e||"end"in e?R_(e):"line"in e||"column"in e?gT(e):""}function gT(e){return N_(e&&e.line)+":"+N_(e&&e.column)}function R_(e){return gT(e&&e.start)+"-"+gT(e&&e.end)}function N_(e){return e&&typeof e=="number"?e:1}class ra extends Error{constructor(n,a,s){super(),typeof a=="string"&&(s=a,a=void 0);let f="",p={},d=!1;if(a&&("line"in a&&"column"in a?p={place:a}:"start"in a&&"end"in a?p={place:a}:"type"in a?p={ancestors:[a],place:a.position}:p={...a}),typeof n=="string"?f=n:!p.cause&&n&&(d=!0,f=n.message,p.cause=n),!p.ruleId&&!p.source&&typeof s=="string"){const E=s.indexOf(":");E===-1?p.ruleId=s:(p.source=s.slice(0,E),p.ruleId=s.slice(E+1))}if(!p.place&&p.ancestors&&p.ancestors){const E=p.ancestors[p.ancestors.length-1];E&&(p.place=E.position)}const g=p.place&&"start"in p.place?p.place.start:p.place;this.ancestors=p.ancestors||void 0,this.cause=p.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=_m(p.place)||"1:1",this.place=p.place||void 0,this.reason=this.message,this.ruleId=p.ruleId||void 0,this.source=p.source||void 0,this.stack=d&&p.cause&&typeof p.cause.stack=="string"?p.cause.stack:"",this.actual,this.expected,this.note,this.url}}ra.prototype.file="";ra.prototype.name="";ra.prototype.reason="";ra.prototype.message="";ra.prototype.stack="";ra.prototype.column=void 0;ra.prototype.line=void 0;ra.prototype.ancestors=void 0;ra.prototype.cause=void 0;ra.prototype.fatal=void 0;ra.prototype.place=void 0;ra.prototype.ruleId=void 0;ra.prototype.source=void 0;const WT={}.hasOwnProperty,zP=new Map,jP=/[A-Z]/g,VP=/-([a-z])/g,YP=new Set(["table","tbody","thead","tfoot","tr"]),WP=new Set(["td","th"]),$k="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function qP(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=e9(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=JP(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"?ul:zm,stylePropertyNameCase:n.stylePropertyNameCase||"dom",tableCellAlignToStyle:n.tableCellAlignToStyle!==!1},p=Gk(f,e,void 0);return p&&typeof p!="string"?p:f.create(e,f.Fragment,{children:p||void 0},void 0)}function Gk(e,n,a){if(n.type==="element")return QP(e,n,a);if(n.type==="mdxFlowExpression"||n.type==="mdxTextExpression")return $P(e,n);if(n.type==="mdxJsxFlowElement"||n.type==="mdxJsxTextElement")return XP(e,n,a);if(n.type==="mdxjsEsm")return GP(e,n);if(n.type==="root")return KP(e,n,a);if(n.type==="text")return ZP(e,n)}function QP(e,n,a){const s=e.schema;let f=s;n.tagName.toLowerCase()==="svg"&&s.space==="html"&&(f=ul,e.schema=f),e.ancestors.push(n);const p=Kk(e,n.tagName,!1),d=t9(e,n);let g=QT(e,n);return YP.has(n.tagName)&&(g=g.filter(function(E){return typeof E=="string"?!mP(E):!0})),Xk(e,d,p,n),qT(d,g),e.ancestors.pop(),e.schema=s,e.create(n,p,d,a)}function $P(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)}Lm(e,n.position)}function GP(e,n){if(n.data&&n.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(n.data.estree);Lm(e,n.position)}function XP(e,n,a){const s=e.schema;let f=s;n.name==="svg"&&s.space==="html"&&(f=ul,e.schema=f),e.ancestors.push(n);const p=n.name===null?e.Fragment:Kk(e,n.name,!0),d=n9(e,n),g=QT(e,n);return Xk(e,d,p,n),qT(d,g),e.ancestors.pop(),e.schema=s,e.create(n,p,d,a)}function KP(e,n,a){const s={};return qT(s,QT(e,n)),e.create(n,e.Fragment,s,a)}function ZP(e,n){return n.value}function Xk(e,n,a,s){typeof a!="string"&&a!==e.Fragment&&e.passNode&&(n.node=s)}function qT(e,n){if(n.length>0){const a=n.length>1?n:n[0];a&&(e.children=a)}}function JP(e,n,a){return s;function s(f,p,d,g){const b=Array.isArray(d.children)?a:n;return g?b(p,d,g):b(p,d)}}function e9(e,n){return a;function a(s,f,p,d){const g=Array.isArray(p.children),E=Wo(s);return n(f,p,d,g,{columnNumber:E?E.column-1:void 0,fileName:e,lineNumber:E?E.line:void 0},void 0)}}function t9(e,n){const a={};let s,f;for(f in n.properties)if(f!=="children"&&WT.call(n.properties,f)){const p=r9(e,f,n.properties[f]);if(p){const[d,g]=p;e.tableCellAlignToStyle&&d==="align"&&typeof g=="string"&&WP.has(n.tagName)?s=g:a[d]=g}}if(s){const p=a.style||(a.style={});p[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=s}return a}function n9(e,n){const a={};for(const s of n.attributes)if(s.type==="mdxJsxExpressionAttribute")if(s.data&&s.data.estree&&e.evaluater){const p=s.data.estree.body[0];p.type;const d=p.expression;d.type;const g=d.properties[0];g.type,Object.assign(a,e.evaluater.evaluateExpression(g.argument))}else Lm(e,n.position);else{const f=s.name;let p;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,p=e.evaluater.evaluateExpression(g.expression)}else Lm(e,n.position);else p=s.value===null?!0:s.value;a[f]=p}return a}function QT(e,n){const a=[];let s=-1;const f=e.passKeys?new Map:zP;for(;++s<n.children.length;){const p=n.children[s];let d;if(e.passKeys){const E=p.type==="element"?p.tagName:p.type==="mdxJsxFlowElement"||p.type==="mdxJsxTextElement"?p.name:void 0;if(E){const b=f.get(E)||0;d=E+"-"+b,f.set(E,b+1)}}const g=Gk(e,p,d);g!==void 0&&a.push(g)}return a}function r9(e,n,a){const s=z1(e.schema,n);if(!(a==null||typeof a=="number"&&Number.isNaN(a))){if(Array.isArray(a)&&(a=s.commaSeparated?Pk(a):Wk(a)),s.property==="style"){let f=typeof a=="object"?a:a9(e,String(a));return e.stylePropertyNameCase==="css"&&(f=i9(f)),["style",f]}return[e.elementAttributeNameCase==="react"&&s.space?SP[s.property]||s.property:s.attribute,a]}}function a9(e,n){const a={};try{BP(n,s)}catch(f){if(!e.ignoreInvalidStyle){const p=f,d=new ra("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:p,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw d.file=e.filePath||void 0,d.url=$k+"#cannot-parse-style-attribute",d}}return a;function s(f,p){let d=f;d.slice(0,2)!=="--"&&(d.slice(0,4)==="-ms-"&&(d="ms-"+d.slice(4)),d=d.replace(VP,u9)),a[d]=p}}function Kk(e,n,a){let s;if(!a)s={type:"Literal",value:n};else if(n.includes(".")){const f=n.split(".");let p=-1,d;for(;++p<f.length;){const g=E_(f[p])?{type:"Identifier",name:f[p]}:{type:"Literal",value:f[p]};d=d?{type:"MemberExpression",object:d,property:g,computed:!!(p&&g.type==="Literal"),optional:!1}:g}s=d}else s=E_(n)&&!/^[a-z]/.test(n)?{type:"Identifier",name:n}:{type:"Literal",value:n};if(s.type==="Literal"){const f=s.value;return WT.call(e.components,f)?e.components[f]:f}if(e.evaluater)return e.evaluater.evaluateExpression(s);Lm(e)}function Lm(e,n){const a=new ra("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=$k+"#cannot-handle-mdx-estrees-without-createevaluater",a}function i9(e){const n={};let a;for(a in e)WT.call(e,a)&&(n[o9(a)]=e[a]);return n}function o9(e){let n=e.replace(jP,s9);return n.slice(0,3)==="ms-"&&(n="-"+n),n}function u9(e,n){return n.toUpperCase()}function s9(e){return"-"+e.toLowerCase()}const Bw={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"]},l9={tokenize:c9};function c9(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"),p(g)}function p(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"),p):(e.consume(g),d)}}const d9={tokenize:f9},D_={tokenize:h9};function f9(e){const n=this,a=[];let s=0,f,p,d;return g;function g(W){if(s<a.length){const Z=a[s];return n.containerState=Z[1],e.attempt(Z[0].continuation,E,b)(W)}return b(W)}function E(W){if(s++,n.containerState._closeFlow){n.containerState._closeFlow=void 0,f&&G();const Z=n.events.length;let J=Z,X;for(;J--;)if(n.events[J][0]==="exit"&&n.events[J][1].type==="chunkFlow"){X=n.events[J][1].end;break}z(s);let ce=Z;for(;ce<n.events.length;)n.events[ce][1].end=Object.assign({},X),ce++;return Ri(n.events,J+1,0,n.events.slice(Z)),n.events.length=ce,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(D_,C,S)(W)}function C(W){return f&&G(),z(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(D_,A,D)(W)}function A(W){return s++,a.push([n.currentConstruct,n.containerState]),R(W)}function D(W){if(W===null){f&&G(),z(0),e.consume(W);return}return f=f||n.parser.flow(n.now()),e.enter("chunkFlow",{contentType:"flow",previous:p,_tokenizer:f}),L(W)}function L(W){if(W===null){B(e.exit("chunkFlow"),!0),z(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,Z){const J=n.sliceStream(W);if(Z&&J.push(null),W.previous=p,p&&(p.next=W),p=W,f.defineSkip(W.start),f.write(J),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 ce=n.events.length;let Te=ce,Me,K;for(;Te--;)if(n.events[Te][0]==="exit"&&n.events[Te][1].type==="chunkFlow"){if(Me){K=n.events[Te][1].end;break}Me=!0}for(z(s),X=ce;X<n.events.length;)n.events[X][1].end=Object.assign({},K),X++;Ri(n.events,Te+1,0,n.events.slice(ce)),n.events.length=X}}function z(W){let Z=a.length;for(;Z-- >W;){const J=a[Z];n.containerState=J[1],J[0].exit.call(n,e)}a.length=W}function G(){f.write([null]),p=void 0,f=void 0,n.containerState._closeFlow=void 0}}function h9(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 p9={tokenize:m9};function m9(e){const n=this,a=e.attempt(Bm,s,e.attempt(this.parser.constructs.flowInitial,f,Ut(e,e.attempt(this.parser.constructs.flow,f,e.attempt($8,f)),"linePrefix")));return a;function s(p){if(p===null){e.consume(p);return}return e.enter("lineEndingBlank"),e.consume(p),e.exit("lineEndingBlank"),n.currentConstruct=void 0,a}function f(p){if(p===null){e.consume(p);return}return e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),n.currentConstruct=void 0,a}}const g9={resolveAll:Jk()},v9=Zk("string"),y9=Zk("text");function Zk(e){return{tokenize:n,resolveAll:Jk(e==="text"?E9:void 0)};function n(a){const s=this,f=this.parser.constructs[e],p=a.attempt(f,d,g);return d;function d(C){return b(C)?p(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"),p(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 A=S[R];if(!A.previous||A.previous.call(s,s.previous))return!0}return!1}}}function Jk(e){return n;function n(a,s){let f=-1,p;for(;++f<=a.length;)p===void 0?a[f]&&a[f][1].type==="data"&&(p=f,f++):(!a[f]||a[f][1].type!=="data")&&(f!==p+2&&(a[p][1].end=a[f-1][1].end,a.splice(p+2,f-p-2),f=p+2),p=void 0);return e?e(a,s):a}}function E9(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 p=f.length,d=-1,g=0,E;for(;p--;){const b=f[p];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){p++;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+p,_bufferIndex:p?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 b9(e,n,a){let s=Object.assign(a?Object.assign({},a):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1});const f={},p=[];let d=[],g=[];const E={consume:G,enter:W,exit:Z,attempt:ce(J),check:ce(X),interrupt:ce(X,{interrupt:!0})},b={previous:null,code:null,containerState:{},events:[],parser:e,sliceStream:A,sliceSerialize:R,now:D,defineSkip:L,write:S};let C=n.tokenize.call(b,E);return n.resolveAll&&p.push(n),b;function S(Ee){return d=Ai(d,Ee),B(),d[d.length-1]!==null?[]:(Te(n,0),b.events=H1(p,b.events,b),b.events)}function R(Ee,ge){return T9(A(Ee),ge)}function A(Ee){return w9(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;)z(ge.charCodeAt(s._bufferIndex));else z(ge)}}function z(Ee){C=C(Ee)}function G(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 Z(Ee){const ge=g.pop();return ge.end=D(),b.events.push(["exit",ge,b]),ge}function J(Ee,ge){Te(Ee,ge.from)}function X(Ee,ge){ge.restore()}function ce(Ee,ge){return Re;function Re(Oe,qe,je){let at,pe,De,P;return Array.isArray(Oe)?Et(Oe):"tokenize"in Oe?Et([Oe]):et(Oe);function et(kt){return rr;function rr(dn){const Rn=dn!==null&&kt[dn],_r=dn!==null&&kt.null,Nn=[...Array.isArray(Rn)?Rn:Rn?[Rn]:[],...Array.isArray(_r)?_r:_r?[_r]:[]];return Et(Nn)(dn)}}function Et(kt){return at=kt,pe=0,kt.length===0?je:V(kt[pe])}function V(kt){return rr;function rr(dn){return P=Me(),De=kt,kt.partial||(b.currentConstruct=kt),kt.name&&b.parser.constructs.disable.null.includes(kt.name)?Qn():kt.tokenize.call(ge?Object.assign(Object.create(b),ge):b,E,$t,Qn)(dn)}}function $t(kt){return Ee(De,P),qe}function Qn(kt){return P.restore(),++pe<at.length?V(at[pe]):je}}}function Te(Ee,ge){Ee.resolveAll&&!p.includes(Ee)&&p.push(Ee),Ee.resolve&&Ri(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 w9(e,n){const a=n.start._index,s=n.start._bufferIndex,f=n.end._index,p=n.end._bufferIndex;let d;if(a===f)d=[e[a].slice(s,p)];else{if(d=e.slice(a,f),s>-1){const g=d[0];typeof g=="string"?d[0]=g.slice(s):d.shift()}p>0&&d.push(e[f].slice(0,p))}return d}function T9(e,n){let a=-1;const s=[];let f;for(;++a<e.length;){const p=e[a];let d;if(typeof p=="string")d=p;else switch(p){case-5:{d="\r";break}case-4:{d=`
|
|
17
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(p)}f=p===-2,s.push(d)}return s.join("")}const S9={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:Rk},C9={91:eM},_9={[-2]:Pw,[-1]:Pw,32:Pw},A9={35:oM,42:g1,45:[g_,g1],60:cM,61:g_,95:g1,96:p_,126:p_},k9={38:Dk,92:Nk},R9={[-5]:Fw,[-4]:Fw,[-3]:Fw,33:kM,38:Dk,42:pT,60:[N8,vM],91:NM,92:[aM,Nk],93:VT,95:pT,96:V8},N9={null:[pT,v9]},D9={null:[42,95]},O9={null:[]},L9=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:D9,contentInitial:C9,disable:O9,document:S9,flow:A9,flowInitial:_9,insideSpan:N9,string:k9,text:R9},Symbol.toStringTag,{value:"Module"}));function I9(e){const a=bk([L9,...(e||{}).extensions||[]]),s={defined:[],lazy:{},constructs:a,content:f(c9),document:f(f9),flow:f(m9),string:f(y9),text:f(E9)};return s;function f(p){return d;function d(g){return w9(s,p,g)}}}function M9(e){for(;!Ok(e););return e}const O_=/[\0\t\n\r]/g;function P9(){let e=1,n="",a=!0,s;return f;function f(p,d,g){const E=[];let b,C,S,R,A;for(p=n+(typeof p=="string"?p.toString():new TextDecoder(d||void 0).decode(p)),S=0,n="",a&&(p.charCodeAt(0)===65279&&S++,a=void 0);S<p.length;){if(O_.lastIndex=S,b=O_.exec(p),R=b&&b.index!==void 0?b.index:p.length,A=p.charCodeAt(R),!b){n=p.slice(S);break}if(A===10&&S===R&&s)E.push(-3),s=void 0;else switch(s&&(E.push(-5),s=void 0),S<R&&(E.push(p.slice(S,R)),e+=R-S),A){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 e3={}.hasOwnProperty;function F9(e,n,a){return typeof n!="string"&&(a=n,n=void 0),U9(a)(M9(I9(a).document().write(P9()(e,n,!0))))}function U9(e){const n={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:p(Br),autolinkProtocol:Me,autolinkEmail:Me,atxHeading:p(ar),blockQuote:p(_r),characterEscape:Me,characterReference:Me,codeFenced:p(Nn),codeFencedFenceInfo:d,codeFencedFenceMeta:d,codeIndented:p(Nn,d),codeText:p(Ur,d),codeTextData:Me,data:Me,codeFlowValue:Me,definition:p(an),definitionDestinationString:d,definitionLabelString:d,definitionTitleString:d,emphasis:p(Fn),hardBreakEscape:p(gr),hardBreakTrailing:p(gr),htmlFlow:p($n,d),htmlFlowData:Me,htmlText:p($n,d),htmlTextData:Me,image:p(ia),label:d,link:p(Br),listItem:p(li),listItemValue:R,listOrdered:p(si,S),listUnordered:p(si),paragraph:p(Di),reference:V,referenceString:d,resourceDestinationString:d,resourceTitleString:d,setextHeading:p(ar),strong:p(oa),thematicBreak:p(ba)},exit:{atxHeading:E(),atxHeadingSequence:J,autolink:E(),autolinkEmail:Rn,autolinkProtocol:dn,blockQuote:E(),characterEscapeValue:K,characterReferenceMarkerHexadecimal:Qn,characterReferenceMarkerNumeric:Qn,characterReferenceValue:kt,characterReference:rr,codeFenced:E(B),codeFencedFence:L,codeFencedFenceInfo:A,codeFencedFenceMeta:D,codeFlowValue:K,codeIndented:E(z),codeText:E(qe),codeTextData:K,data:K,definition:E(),definitionDestinationString:Z,definitionLabelString:G,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:pe,lineEnding:Ee,link:E(je),listItem:E(),listOrdered:E(),listUnordered:E(),paragraph:E(),referenceString:$t,resourceDestinationString:P,resourceTitleString:et,resource:Et,setextHeading:E(Te),setextHeadingLineSequence:ce,setextHeadingText:X,strong:E(),thematicBreak:E()}};t3(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},vt=[];let _t=-1;for(;++_t<de.length;)if(de[_t][1].type==="listOrdered"||de[_t][1].type==="listUnordered")if(de[_t][0]==="enter")vt.push(_t);else{const Ne=vt.pop();_t=f(de,Ne,_t)}for(_t=-1;++_t<de.length;){const Ne=n[de[_t][0]];e3.call(Ne,de[_t][1].type)&&Ne[de[_t][1].type].call(Object.assign({sliceSerialize:de[_t][2].sliceSerialize},tt),de[_t][1])}if(tt.tokenStack.length>0){const Ne=tt.tokenStack[tt.tokenStack.length-1];(Ne[1]||L_).call(tt,void 0,Ne[0])}for(Ce.position={start:Gs(de.length>0?de[0][1].start:{line:1,column:1,offset:0}),end:Gs(de.length>0?de[de.length-2][1].end:{line:1,column:1,offset:0})},_t=-1;++_t<n.transforms.length;)Ce=n.transforms[_t](Ce)||Ce;return Ce}function f(de,Ce,tt){let vt=Ce-1,_t=-1,Ne=!1,$e,dt,It,Gt;for(;++vt<=tt;){const Ht=de[vt];switch(Ht[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{Ht[0]==="enter"?_t++:_t--,Gt=void 0;break}case"lineEndingBlank":{Ht[0]==="enter"&&($e&&!Gt&&!_t&&!It&&(It=vt),Gt=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:Gt=void 0}if(!_t&&Ht[0]==="enter"&&Ht[1].type==="listItemPrefix"||_t===-1&&Ht[0]==="exit"&&(Ht[1].type==="listUnordered"||Ht[1].type==="listOrdered")){if($e){let Kt=vt;for(dt=void 0;Kt--;){const gn=de[Kt];if(gn[1].type==="lineEnding"||gn[1].type==="lineEndingBlank"){if(gn[0]==="exit")continue;dt&&(de[dt][1].type="lineEndingBlank",Ne=!0),gn[1].type="lineEnding",dt=Kt}else if(!(gn[1].type==="linePrefix"||gn[1].type==="blockQuotePrefix"||gn[1].type==="blockQuotePrefixWhitespace"||gn[1].type==="blockQuoteMarker"||gn[1].type==="listItemIndent"))break}It&&(!dt||It<dt)&&($e._spread=!0),$e.end=Object.assign({},dt?de[dt][1].start:Ht[1].end),de.splice(dt||vt,0,["exit",$e,Ht[2]]),vt++,tt++}if(Ht[1].type==="listItemPrefix"){const Kt={type:"listItem",_spread:!1,start:Object.assign({},Ht[1].start),end:void 0};$e=Kt,de.splice(vt,0,["enter",Kt,Ht[2]]),vt++,tt++,It=void 0,Gt=!0}}}return de[Ce][1]._spread=Ne,tt}function p(de,Ce){return tt;function tt(vt){g.call(this,de(vt),vt),Ce&&Ce.call(this,vt)}}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:Gs(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(),vt=this.tokenStack.pop();if(vt)vt[0].type!==de.type&&(Ce?Ce.call(this,de,vt[0]):(vt[1]||L_).call(this,de,vt[0]));else throw new Error("Cannot close `"+de.type+"` ("+_m({start:de.start,end:de.end})+"): it’s not open");tt.position.end=Gs(de.end)}function C(){return BT(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 A(){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 z(){const de=this.resume(),Ce=this.stack[this.stack.length-1];Ce.value=de.replace(/(\r?\n|\r)$/g,"")}function G(de){const Ce=this.resume(),tt=this.stack[this.stack.length-1];tt.label=Ce,tt.identifier=oo(this.sliceSerialize(de)).toLowerCase()}function W(){const de=this.resume(),Ce=this.stack[this.stack.length-1];Ce.title=de}function Z(){const de=this.resume(),Ce=this.stack[this.stack.length-1];Ce.url=de}function J(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 ce(de){const Ce=this.stack[this.stack.length-1];Ce.depth=this.sliceSerialize(de).codePointAt(0)===61?1:2}function Te(){this.data.setextHeadingSlurpLineEnding=void 0}function Me(de){const tt=this.stack[this.stack.length-1].children;let vt=tt[tt.length-1];(!vt||vt.type!=="text")&&(vt=ci(),vt.position={start:Gs(de.start),end:void 0},tt.push(vt)),this.stack.push(vt)}function K(de){const Ce=this.stack.pop();Ce.value+=this.sliceSerialize(de),Ce.position.end=Gs(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=Gs(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 pe(de){const Ce=this.sliceSerialize(de),tt=this.stack[this.stack.length-2];tt.label=e8(Ce),tt.identifier=oo(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 vt=de.children;tt.children=vt}else tt.alt=Ce}function P(){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 $t(de){const Ce=this.resume(),tt=this.stack[this.stack.length-1];tt.label=Ce,tt.identifier=oo(this.sliceSerialize(de)).toLowerCase(),this.data.referenceType="full"}function Qn(de){this.data.characterReferenceType=de.type}function kt(de){const Ce=this.sliceSerialize(de),tt=this.data.characterReferenceType;let vt;tt?(vt=Ek(Ce,tt==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):vt=zT(Ce);const _t=this.stack[this.stack.length-1];_t.value+=vt}function rr(de){const Ce=this.stack.pop();Ce.position.end=Gs(de.end)}function dn(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 _r(){return{type:"blockquote",children:[]}}function Nn(){return{type:"code",lang:null,meta:null,value:""}}function Ur(){return{type:"inlineCode",value:""}}function an(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Fn(){return{type:"emphasis",children:[]}}function ar(){return{type:"heading",depth:0,children:[]}}function gr(){return{type:"break"}}function $n(){return{type:"html",value:""}}function ia(){return{type:"image",title:null,url:"",alt:null}}function Br(){return{type:"link",title:null,url:"",children:[]}}function si(de){return{type:"list",ordered:de.type==="listOrdered",start:null,spread:de._spread,children:[]}}function li(de){return{type:"listItem",spread:de._spread,checked:null,children:[]}}function Di(){return{type:"paragraph",children:[]}}function oa(){return{type:"strong",children:[]}}function ci(){return{type:"text",value:""}}function ba(){return{type:"thematicBreak"}}}function Gs(e){return{line:e.line,column:e.column,offset:e.offset}}function t3(e,n){let a=-1;for(;++a<n.length;){const s=n[a];Array.isArray(s)?t3(e,s):B9(e,s)}}function B9(e,n){let a;for(a in n)if(e3.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 L_(e,n){throw e?new Error("Cannot close `"+e.type+"` ("+_m({start:e.start,end:e.end})+"): a different token (`"+n.type+"`, "+_m({start:n.start,end:n.end})+") is open"):new Error("Cannot close document, a token (`"+n.type+"`, "+_m({start:n.start,end:n.end})+") is still open")}function H9(e){const n=this;n.parser=a;function a(s){return F9(s,{...n.data("settings"),...e,extensions:n.data("micromarkExtensions")||[],mdastExtensions:n.data("fromMarkdownExtensions")||[]})}}function z9(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 j9(e,n){const a={type:"element",tagName:"br",properties:{},children:[]};return e.patch(n,a),[e.applyData(n,a),{type:"text",value:`
|
|
19
|
-
`}]}function
|
|
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
|
|
18
|
+
`;break}case-2:{d=n?" ":" ";break}case-1:{if(!n&&f)continue;d=" ";break}default:d=String.fromCharCode(p)}f=p===-2,s.push(d)}return s.join("")}const x9={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:Rk},S9={91:J8},C9={[-2]:Pw,[-1]:Pw,32:Pw},_9={35:iM,42:g1,45:[g_,g1],60:lM,61:g_,95:g1,96:p_,126:p_},A9={38:Dk,92:Nk},k9={[-5]:Fw,[-4]:Fw,[-3]:Fw,33:AM,38:Dk,42:pT,60:[R8,gM],91:RM,92:[rM,Nk],93:VT,95:pT,96:j8},R9={null:[pT,g9]},N9={null:[42,95]},D9={null:[]},O9=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:N9,contentInitial:S9,disable:D9,document:x9,flow:_9,flowInitial:C9,insideSpan:R9,string:A9,text:k9},Symbol.toStringTag,{value:"Module"}));function L9(e){const a=bk([O9,...(e||{}).extensions||[]]),s={defined:[],lazy:{},constructs:a,content:f(l9),document:f(d9),flow:f(p9),string:f(v9),text:f(y9)};return s;function f(p){return d;function d(g){return b9(s,p,g)}}}function I9(e){for(;!Ok(e););return e}const O_=/[\0\t\n\r]/g;function M9(){let e=1,n="",a=!0,s;return f;function f(p,d,g){const E=[];let b,C,S,R,A;for(p=n+(typeof p=="string"?p.toString():new TextDecoder(d||void 0).decode(p)),S=0,n="",a&&(p.charCodeAt(0)===65279&&S++,a=void 0);S<p.length;){if(O_.lastIndex=S,b=O_.exec(p),R=b&&b.index!==void 0?b.index:p.length,A=p.charCodeAt(R),!b){n=p.slice(S);break}if(A===10&&S===R&&s)E.push(-3),s=void 0;else switch(s&&(E.push(-5),s=void 0),S<R&&(E.push(p.slice(S,R)),e+=R-S),A){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 e3={}.hasOwnProperty;function P9(e,n,a){return typeof n!="string"&&(a=n,n=void 0),F9(a)(I9(L9(a).document().write(M9()(e,n,!0))))}function F9(e){const n={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:p(Br),autolinkProtocol:Me,autolinkEmail:Me,atxHeading:p(ar),blockQuote:p(_r),characterEscape:Me,characterReference:Me,codeFenced:p(Nn),codeFencedFenceInfo:d,codeFencedFenceMeta:d,codeIndented:p(Nn,d),codeText:p(Ur,d),codeTextData:Me,data:Me,codeFlowValue:Me,definition:p(an),definitionDestinationString:d,definitionLabelString:d,definitionTitleString:d,emphasis:p(Fn),hardBreakEscape:p(gr),hardBreakTrailing:p(gr),htmlFlow:p($n,d),htmlFlowData:Me,htmlText:p($n,d),htmlTextData:Me,image:p(ia),label:d,link:p(Br),listItem:p(li),listItemValue:R,listOrdered:p(si,S),listUnordered:p(si),paragraph:p(Di),reference:V,referenceString:d,resourceDestinationString:d,resourceTitleString:d,setextHeading:p(ar),strong:p(oa),thematicBreak:p(ba)},exit:{atxHeading:E(),atxHeadingSequence:J,autolink:E(),autolinkEmail:Rn,autolinkProtocol:dn,blockQuote:E(),characterEscapeValue:K,characterReferenceMarkerHexadecimal:Qn,characterReferenceMarkerNumeric:Qn,characterReferenceValue:kt,characterReference:rr,codeFenced:E(B),codeFencedFence:L,codeFencedFenceInfo:A,codeFencedFenceMeta:D,codeFlowValue:K,codeIndented:E(z),codeText:E(qe),codeTextData:K,data:K,definition:E(),definitionDestinationString:Z,definitionLabelString:G,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:pe,lineEnding:Ee,link:E(je),listItem:E(),listOrdered:E(),listUnordered:E(),paragraph:E(),referenceString:$t,resourceDestinationString:P,resourceTitleString:et,resource:Et,setextHeading:E(Te),setextHeadingLineSequence:ce,setextHeadingText:X,strong:E(),thematicBreak:E()}};t3(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 _t=-1;for(;++_t<de.length;)if(de[_t][1].type==="listOrdered"||de[_t][1].type==="listUnordered")if(de[_t][0]==="enter")yt.push(_t);else{const Ne=yt.pop();_t=f(de,Ne,_t)}for(_t=-1;++_t<de.length;){const Ne=n[de[_t][0]];e3.call(Ne,de[_t][1].type)&&Ne[de[_t][1].type].call(Object.assign({sliceSerialize:de[_t][2].sliceSerialize},tt),de[_t][1])}if(tt.tokenStack.length>0){const Ne=tt.tokenStack[tt.tokenStack.length-1];(Ne[1]||L_).call(tt,void 0,Ne[0])}for(Ce.position={start:Gs(de.length>0?de[0][1].start:{line:1,column:1,offset:0}),end:Gs(de.length>0?de[de.length-2][1].end:{line:1,column:1,offset:0})},_t=-1;++_t<n.transforms.length;)Ce=n.transforms[_t](Ce)||Ce;return Ce}function f(de,Ce,tt){let yt=Ce-1,_t=-1,Ne=!1,$e,dt,It,Gt;for(;++yt<=tt;){const Ht=de[yt];switch(Ht[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{Ht[0]==="enter"?_t++:_t--,Gt=void 0;break}case"lineEndingBlank":{Ht[0]==="enter"&&($e&&!Gt&&!_t&&!It&&(It=yt),Gt=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:Gt=void 0}if(!_t&&Ht[0]==="enter"&&Ht[1].type==="listItemPrefix"||_t===-1&&Ht[0]==="exit"&&(Ht[1].type==="listUnordered"||Ht[1].type==="listOrdered")){if($e){let Kt=yt;for(dt=void 0;Kt--;){const gn=de[Kt];if(gn[1].type==="lineEnding"||gn[1].type==="lineEndingBlank"){if(gn[0]==="exit")continue;dt&&(de[dt][1].type="lineEndingBlank",Ne=!0),gn[1].type="lineEnding",dt=Kt}else if(!(gn[1].type==="linePrefix"||gn[1].type==="blockQuotePrefix"||gn[1].type==="blockQuotePrefixWhitespace"||gn[1].type==="blockQuoteMarker"||gn[1].type==="listItemIndent"))break}It&&(!dt||It<dt)&&($e._spread=!0),$e.end=Object.assign({},dt?de[dt][1].start:Ht[1].end),de.splice(dt||yt,0,["exit",$e,Ht[2]]),yt++,tt++}if(Ht[1].type==="listItemPrefix"){const Kt={type:"listItem",_spread:!1,start:Object.assign({},Ht[1].start),end:void 0};$e=Kt,de.splice(yt,0,["enter",Kt,Ht[2]]),yt++,tt++,It=void 0,Gt=!0}}}return de[Ce][1]._spread=Ne,tt}function p(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:Gs(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]||L_).call(this,de,yt[0]));else throw new Error("Cannot close `"+de.type+"` ("+_m({start:de.start,end:de.end})+"): it’s not open");tt.position.end=Gs(de.end)}function C(){return BT(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 A(){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 z(){const de=this.resume(),Ce=this.stack[this.stack.length-1];Ce.value=de.replace(/(\r?\n|\r)$/g,"")}function G(de){const Ce=this.resume(),tt=this.stack[this.stack.length-1];tt.label=Ce,tt.identifier=oo(this.sliceSerialize(de)).toLowerCase()}function W(){const de=this.resume(),Ce=this.stack[this.stack.length-1];Ce.title=de}function Z(){const de=this.resume(),Ce=this.stack[this.stack.length-1];Ce.url=de}function J(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 ce(de){const Ce=this.stack[this.stack.length-1];Ce.depth=this.sliceSerialize(de).codePointAt(0)===61?1:2}function Te(){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=ci(),yt.position={start:Gs(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=Gs(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=Gs(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 pe(de){const Ce=this.sliceSerialize(de),tt=this.stack[this.stack.length-2];tt.label=J5(Ce),tt.identifier=oo(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 P(){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 $t(de){const Ce=this.resume(),tt=this.stack[this.stack.length-1];tt.label=Ce,tt.identifier=oo(this.sliceSerialize(de)).toLowerCase(),this.data.referenceType="full"}function Qn(de){this.data.characterReferenceType=de.type}function kt(de){const Ce=this.sliceSerialize(de),tt=this.data.characterReferenceType;let yt;tt?(yt=Ek(Ce,tt==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):yt=zT(Ce);const _t=this.stack[this.stack.length-1];_t.value+=yt}function rr(de){const Ce=this.stack.pop();Ce.position.end=Gs(de.end)}function dn(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 _r(){return{type:"blockquote",children:[]}}function Nn(){return{type:"code",lang:null,meta:null,value:""}}function Ur(){return{type:"inlineCode",value:""}}function an(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Fn(){return{type:"emphasis",children:[]}}function ar(){return{type:"heading",depth:0,children:[]}}function gr(){return{type:"break"}}function $n(){return{type:"html",value:""}}function ia(){return{type:"image",title:null,url:"",alt:null}}function Br(){return{type:"link",title:null,url:"",children:[]}}function si(de){return{type:"list",ordered:de.type==="listOrdered",start:null,spread:de._spread,children:[]}}function li(de){return{type:"listItem",spread:de._spread,checked:null,children:[]}}function Di(){return{type:"paragraph",children:[]}}function oa(){return{type:"strong",children:[]}}function ci(){return{type:"text",value:""}}function ba(){return{type:"thematicBreak"}}}function Gs(e){return{line:e.line,column:e.column,offset:e.offset}}function t3(e,n){let a=-1;for(;++a<n.length;){const s=n[a];Array.isArray(s)?t3(e,s):U9(e,s)}}function U9(e,n){let a;for(a in n)if(e3.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 L_(e,n){throw e?new Error("Cannot close `"+e.type+"` ("+_m({start:e.start,end:e.end})+"): a different token (`"+n.type+"`, "+_m({start:n.start,end:n.end})+") is open"):new Error("Cannot close document, a token (`"+n.type+"`, "+_m({start:n.start,end:n.end})+") is still open")}function B9(e){const n=this;n.parser=a;function a(s){return P9(s,{...n.data("settings"),...e,extensions:n.data("micromarkExtensions")||[],mdastExtensions:n.data("fromMarkdownExtensions")||[]})}}function H9(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 z9(e,n){const a={type:"element",tagName:"br",properties:{},children:[]};return e.patch(n,a),[e.applyData(n,a),{type:"text",value:`
|
|
19
|
+
`}]}function j9(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 V9(e,n){const a={type:"element",tagName:"del",properties:{},children:e.all(n)};return e.patch(n,a),e.applyData(n,a)}function Y9(e,n){const a={type:"element",tagName:"em",properties:{},children:e.all(n)};return e.patch(n,a),e.applyData(n,a)}function W9(e,n){const a=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",s=String(n.identifier).toUpperCase(),f=Xf(s.toLowerCase()),p=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=p+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 q9(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 Q9(e,n){if(e.options.allowDangerousHtml){const a={type:"raw",value:n.value};return e.patch(n,a),e.applyData(n,a)}}function n3(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),p=f[0];p&&p.type==="text"?p.value="["+p.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 $9(e,n){const a=String(n.identifier).toUpperCase(),s=e.definitionById.get(a);if(!s)return n3(e,n);const f={src:Xf(s.url||""),alt:n.alt};s.title!==null&&s.title!==void 0&&(f.title=s.title);const p={type:"element",tagName:"img",properties:f,children:[]};return e.patch(n,p),e.applyData(n,p)}function G9(e,n){const a={src:Xf(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 X9(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 K9(e,n){const a=String(n.identifier).toUpperCase(),s=e.definitionById.get(a);if(!s)return n3(e,n);const f={href:Xf(s.url||"")};s.title!==null&&s.title!==void 0&&(f.title=s.title);const p={type:"element",tagName:"a",properties:f,children:e.all(n)};return e.patch(n,p),e.applyData(n,p)}function Z9(e,n){const a={href:Xf(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 J9(e,n,a){const s=e.all(n),f=a?eF(a):r3(n),p={},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:[]}),p.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
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:p,children:d};return e.patch(n,b),e.applyData(n,b)}function
|
|
22
|
+
`});const b={type:"element",tagName:"li",properties:p,children:d};return e.patch(n,b),e.applyData(n,b)}function eF(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=r3(a[s])}return n}function r3(e){const n=e.spread;return n??e.children.length>1}function tF(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 p={type:"element",tagName:n.ordered?"ol":"ul",properties:a,children:e.wrap(s,!0)};return e.patch(n,p),e.applyData(n,p)}function nF(e,n){const a={type:"element",tagName:"p",properties:{},children:e.all(n)};return e.patch(n,a),e.applyData(n,a)}function rF(e,n){const a={type:"root",children:e.wrap(e.all(n))};return e.patch(n,a),e.applyData(n,a)}function aF(e,n){const a={type:"element",tagName:"strong",properties:{},children:e.all(n)};return e.patch(n,a),e.applyData(n,a)}function iF(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=Wo(n.children[1]),E=j1(n.children[n.children.length-1]);g&&E&&(d.position={start:g,end:E}),f.push(d)}const p={type:"element",tagName:"table",properties:{},children:e.wrap(f,!0)};return e.patch(n,p),e.applyData(n,p)}function oF(e,n,a){const s=a?a.children:void 0,p=(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={},A=d?d[E]:void 0;A&&(R.align=A);let D={type:"element",tagName:p,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 uF(e,n){const a={type:"element",tagName:"td",properties:{},children:e.all(n)};return e.patch(n,a),e.applyData(n,a)}const I_=9,M_=32;function sF(e){const n=String(e),a=/\r?\n|\r/g;let s=a.exec(n),f=0;const p=[];for(;s;)p.push(P_(n.slice(f,s.index),f>0,!0),s[0]),f=s.index+s[0].length,s=a.exec(n);return p.push(P_(n.slice(f),f>0,!1)),p.join("")}function P_(e,n,a){let s=0,f=e.length;if(n){let p=e.codePointAt(s);for(;p===I_||p===M_;)s++,p=e.codePointAt(s)}if(a){let p=e.codePointAt(f-1);for(;p===I_||p===M_;)f--,p=e.codePointAt(f-1)}return f>s?e.slice(s,f):""}function lF(e,n){const a={type:"text",value:sF(String(n.value))};return e.patch(n,a),e.applyData(n,a)}function cF(e,n){const a={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(n,a),e.applyData(n,a)}const dF={blockquote:H9,break:z9,code:j9,delete:V9,emphasis:Y9,footnoteReference:W9,heading:q9,html:Q9,imageReference:$9,image:G9,inlineCode:X9,linkReference:K9,link:Z9,listItem:J9,list:tF,paragraph:nF,root:rF,strong:aF,table:iF,tableCell:uF,tableRow:oF,text:lF,thematicBreak:cF,toml:a1,yaml:a1,definition:a1,footnoteDefinition:a1};function a1(){}const a3=-1,V1=0,_1=1,A1=2,$T=3,GT=4,XT=5,KT=6,i3=7,o3=8,F_=typeof self=="object"?self:globalThis,fF=(e,n)=>{const a=(f,p)=>(e.set(p,f),f),s=f=>{if(e.has(f))return e.get(f);const[p,d]=n[f];switch(p){case V1:case a3:return a(d,f);case _1:{const g=a([],f);for(const E of d)g.push(s(E));return g}case A1:{const g=a({},f);for(const[E,b]of d)g[s(E)]=s(b);return g}case $T:return a(new Date(d),f);case GT:{const{source:g,flags:E}=d;return a(new RegExp(g,E),f)}case XT:{const g=a(new Map,f);for(const[E,b]of d)g.set(s(E),s(b));return g}case KT:{const g=a(new Set,f);for(const E of d)g.add(s(E));return g}case i3:{const{name:g,message:E}=d;return a(new F_[g](E),f)}case o3:return a(BigInt(d),f);case"BigInt":return a(Object(BigInt(d)),f)}return a(new F_[p](d),f)};return s},U_=e=>fF(new Map,e)(0),Lf="",{toString:hF}={},{keys:pF}=Object,wm=e=>{const n=typeof e;if(n!=="object"||!e)return[V1,n];const a=hF.call(e).slice(8,-1);switch(a){case"Array":return[_1,Lf];case"Object":return[A1,Lf];case"Date":return[$T,Lf];case"RegExp":return[GT,Lf];case"Map":return[XT,Lf];case"Set":return[KT,Lf]}return a.includes("Array")?[_1,a]:a.includes("Error")?[i3,a]:[A1,a]},i1=([e,n])=>e===V1&&(n==="function"||n==="symbol"),mF=(e,n,a,s)=>{const f=(d,g)=>{const E=s.push(d)-1;return a.set(g,E),E},p=d=>{if(a.has(d))return a.get(d);let[g,E]=wm(d);switch(g){case V1:{let C=d;switch(E){case"bigint":g=o3,C=d.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+E);C=null;break;case"undefined":return f([a3],d)}return f([g,C],d)}case _1:{if(E)return f([E,[...d]],d);const C=[],S=f([g,C],d);for(const R of d)C.push(p(R));return S}case A1:{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 p(d.toJSON());const C=[],S=f([g,C],d);for(const R of pF(d))(e||!i1(wm(d[R])))&&C.push([p(R),p(d[R])]);return S}case $T:return f([g,d.toISOString()],d);case GT:{const{source:C,flags:S}=d;return f([g,{source:C,flags:S}],d)}case XT:{const C=[],S=f([g,C],d);for(const[R,A]of d)(e||!(i1(wm(R))||i1(wm(A))))&&C.push([p(R),p(A)]);return S}case KT:{const C=[],S=f([g,C],d);for(const R of d)(e||!i1(wm(R)))&&C.push(p(R));return S}}const{message:b}=d;return f([g,{name:E,message:b}],d)};return p},B_=(e,{json:n,lossy:a}={})=>{const s=[];return mF(!(n||a),!!n,new Map,s)(e),s},Vf=typeof structuredClone=="function"?(e,n)=>n&&("json"in n||"lossy"in n)?U_(B_(e,n)):structuredClone(e):(e,n)=>U_(B_(e,n));function gF(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 vF(e,n){return"Back to reference "+(e+1)+(n>1?"-"+n:"")}function yF(e){const n=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",a=e.options.footnoteBackContent||gF,s=e.options.footnoteBackLabel||vF,f=e.options.footnoteLabel||"Footnotes",p=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=Xf(S.toLowerCase());let A=0;const D=[],L=e.footnoteCounts.get(S);for(;L!==void 0&&++A<=L;){D.length>0&&D.push({type:"text",value:" "});let G=typeof a=="string"?a:a(E,A);typeof G=="string"&&(G={type:"text",value:G}),D.push({type:"element",tagName:"a",properties:{href:"#"+n+"fnref-"+R+(A>1?"-"+A:""),dataFootnoteBackref:"",ariaLabel:typeof s=="string"?s:s(E,A),className:["data-footnote-backref"]},children:Array.isArray(G)?G:[G]})}const B=C[C.length-1];if(B&&B.type==="element"&&B.tagName==="p"){const G=B.children[B.children.length-1];G&&G.type==="text"?G.value+=" ":B.children.push({type:"text",value:" "}),B.children.push(...D)}else C.push(...D);const z={type:"element",tagName:"li",properties:{id:n+"fn-"+R},children:e.wrap(C,!0)};e.patch(b,z),g.push(z)}if(g.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:p,properties:{...Vf(d),id:"footnote-label"},children:[{type:"text",value:f}]},{type:"text",value:`
|
|
23
23
|
`},{type:"element",tagName:"ol",properties:{},children:e.wrap(g,!0)},{type:"text",value:`
|
|
24
|
-
`}]}}const vT={}.hasOwnProperty,
|
|
24
|
+
`}]}}const vT={}.hasOwnProperty,EF={};function bF(e,n){const a=n||EF,s=new Map,f=new Map,p=new Map,d={...dF,...a.handlers},g={all:b,applyData:TF,definitionById:s,footnoteById:f,footnoteCounts:p,footnoteOrder:[],handlers:d,one:E,options:a,patch:wF,wrap:SF};return B1(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,A=g.handlers[R];if(vT.call(g.handlers,R)&&A)return A(g,C,S);if(g.options.passThrough&&g.options.passThrough.includes(R)){if("children"in C){const{children:L,...B}=C,z=Vf(B);return z.children=g.all(C),z}return Vf(C)}return(g.options.unknownHandler||xF)(g,C,S)}function b(C){const S=[];if("children"in C){const R=C.children;let A=-1;for(;++A<R.length;){const D=g.one(R[A],C);if(D){if(A&&R[A-1].type==="break"&&(!Array.isArray(D)&&D.type==="text"&&(D.value=H_(D.value)),!Array.isArray(D)&&D.type==="element")){const L=D.children[0];L&&L.type==="text"&&(L.value=H_(L.value))}Array.isArray(D)?S.push(...D):S.push(D)}}}return S}}function wF(e,n){e.position&&(n.position=HP(e))}function TF(e,n){let a=n;if(e&&e.data){const s=e.data.hName,f=e.data.hChildren,p=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"&&p&&Object.assign(a.properties,Vf(p)),"children"in a&&a.children&&f!==null&&f!==void 0&&(a.children=f)}return a}function xF(e,n){const a=n.data||{},s="value"in n&&!(vT.call(a,"hProperties")||vT.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 SF(e,n){const a=[];let s=-1;for(n&&a.push({type:"text",value:`
|
|
25
25
|
`});++s<e.length;)s&&a.push({type:"text",value:`
|
|
26
26
|
`}),a.push(e[s]);return n&&e.length>0&&a.push({type:"text",value:`
|
|
27
|
-
`}),a}function H_(e){let n=0,a=e.charCodeAt(n);for(;a===9||a===32;)n++,a=e.charCodeAt(n);return e.slice(n)}function z_(e,n){const a=
|
|
28
|
-
`},f),p}function _F(e,n){return e&&"run"in e?async function(a,s){const f=z_(a,{file:s,...n});await e.run(f,s)}:function(a,s){return z_(a,{file:s,...e||n})}}function j_(e){if(e)throw e}var v1=Object.prototype.hasOwnProperty,u3=Object.prototype.toString,V_=Object.defineProperty,Y_=Object.getOwnPropertyDescriptor,W_=function(n){return typeof Array.isArray=="function"?Array.isArray(n):u3.call(n)==="[object Array]"},q_=function(n){if(!n||u3.call(n)!=="[object Object]")return!1;var a=v1.call(n,"constructor"),s=n.constructor&&n.constructor.prototype&&v1.call(n.constructor.prototype,"isPrototypeOf");if(n.constructor&&!a&&!s)return!1;var f;for(f in n);return typeof f>"u"||v1.call(n,f)},Q_=function(n,a){V_&&a.name==="__proto__"?V_(n,a.name,{enumerable:!0,configurable:!0,value:a.newValue,writable:!0}):n[a.name]=a.newValue},$_=function(n,a){if(a==="__proto__")if(v1.call(n,a)){if(Y_)return Y_(n,a).value}else return;return n[a]},AF=function e(){var n,a,s,f,p,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=$_(g,a),f=$_(n,a),g!==f&&(C&&f&&(q_(f)||(p=W_(f)))?(p?(p=!1,d=s&&W_(s)?s:[]):d=s&&q_(s)?s:{},Q_(g,{name:a,newValue:e(C,d,f)})):typeof f<"u"&&Q_(g,{name:a,newValue:f}));return g};const Hw=yt.getDefaultExportFromCjs(AF);function yT(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 kF(){const e=[],n={run:a,use:s};return n;function a(...f){let p=-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[++p];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?RF(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 RF(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(p,f):E instanceof Error?f(E):p(E))}function f(d,...g){a||(a=!0,n(d,...g))}function p(d){f(null,d)}}const zo={basename:NF,dirname:DF,extname:OF,join:LF,sep:"/"};function NF(e,n){if(n!==void 0&&typeof n!="string")throw new TypeError('"ext" argument must be a string');jm(e);let a=0,s=-1,f=e.length,p;if(n===void 0||n.length===0||n.length>e.length){for(;f--;)if(e.codePointAt(f)===47){if(p){a=f+1;break}}else s<0&&(p=!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(p){a=f+1;break}}else d<0&&(p=!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 DF(e){if(jm(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 OF(e){jm(e);let n=e.length,a=-1,s=0,f=-1,p=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:p!==1&&(p=1):f>-1&&(p=-1)}return f<0||a<0||p===0||p===1&&f===a-1&&f===s+1?"":e.slice(f,a)}function LF(...e){let n=-1,a;for(;++n<e.length;)jm(e[n]),e[n]&&(a=a===void 0?e[n]:a+"/"+e[n]);return a===void 0?".":IF(a)}function IF(e){jm(e);const n=e.codePointAt(0)===47;let a=MF(e,!n);return a.length===0&&!n&&(a="."),a.length>0&&e.codePointAt(e.length-1)===47&&(a+="/"),n?"/"+a:a}function MF(e,n){let a="",s=0,f=-1,p=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||p===1))if(f!==d-1&&p===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,p=0;continue}}else if(a.length>0){a="",s=0,f=d,p=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,p=0}else g===46&&p>-1?p++:p=-1}return a}function jm(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const PF={cwd:FF};function FF(){return"/"}function ET(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function UF(e){if(typeof e=="string")e=new URL(e);else if(!ET(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 BF(e)}function BF(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 zw=["history","path","basename","stem","extname","dirname"];class s3{constructor(n){let a;n?ET(n)?a={path:n}:typeof n=="string"||HF(n)?a={value:n}:a=n:a={},this.cwd="cwd"in a?"":PF.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let s=-1;for(;++s<zw.length;){const p=zw[s];p in a&&a[p]!==void 0&&a[p]!==null&&(this[p]=p==="history"?[...a[p]]:a[p])}let f;for(f in a)zw.includes(f)||(this[f]=a[f])}get basename(){return typeof this.path=="string"?zo.basename(this.path):void 0}set basename(n){Vw(n,"basename"),jw(n,"basename"),this.path=zo.join(this.dirname||"",n)}get dirname(){return typeof this.path=="string"?zo.dirname(this.path):void 0}set dirname(n){G_(this.basename,"dirname"),this.path=zo.join(n||"",this.basename)}get extname(){return typeof this.path=="string"?zo.extname(this.path):void 0}set extname(n){if(jw(n,"extname"),G_(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=zo.join(this.dirname,this.stem+(n||""))}get path(){return this.history[this.history.length-1]}set path(n){ET(n)&&(n=UF(n)),Vw(n,"path"),this.path!==n&&this.history.push(n)}get stem(){return typeof this.path=="string"?zo.basename(this.path,this.extname):void 0}set stem(n){Vw(n,"stem"),jw(n,"stem"),this.path=zo.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 ra(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 jw(e,n){if(e&&e.includes(zo.sep))throw new Error("`"+n+"` cannot be a path: did not expect `"+zo.sep+"`")}function Vw(e,n){if(!e)throw new Error("`"+n+"` cannot be empty")}function G_(e,n){if(!e)throw new Error("Setting `"+n+"` requires `path` to be set too")}function HF(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const zF=function(e){const s=this.constructor.prototype,f=s[e],p=function(){return f.apply(p,arguments)};return Object.setPrototypeOf(p,s),p},jF={}.hasOwnProperty;class ZT extends zF{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=kF()}copy(){const n=new ZT;let a=-1;for(;++a<this.attachers.length;){const s=this.attachers[a];n.use(...s)}return n.data(Hw(!0,{},this.namespace)),n}data(n,a){return typeof n=="string"?arguments.length===2?(qw("data",this.frozen),this.namespace[n]=a,this):jF.call(this.namespace,n)&&this.namespace[n]||void 0:n?(qw("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=o1(n),s=this.parser||this.Parser;return Yw("parse",s),s(String(a),a)}process(n,a){const s=this;return this.freeze(),Yw("process",this.parser||this.Parser),Ww("process",this.compiler||this.Compiler),a?f(void 0,a):new Promise(f);function f(p,d){const g=o1(n),E=s.parse(g);s.run(E,g,function(C,S,R){if(C||!S||!R)return b(C);const A=S,D=s.stringify(A,R);WF(D)?R.value=D:R.result=D,b(C,R)});function b(C,S){C||!S?d(C):p?p(S):a(void 0,S)}}}processSync(n){let a=!1,s;return this.freeze(),Yw("processSync",this.parser||this.Parser),Ww("processSync",this.compiler||this.Compiler),this.process(n,f),K_("processSync","process",a),s;function f(p,d){a=!0,j_(p),s=d}}run(n,a,s){X_(n),this.freeze();const f=this.transformers;return!s&&typeof a=="function"&&(s=a,a=void 0),s?p(void 0,s):new Promise(p);function p(d,g){const E=o1(a);f.run(n,E,b);function b(C,S,R){const A=S||n;C?g(C):d?d(A):s(void 0,A,R)}}}runSync(n,a){let s=!1,f;return this.run(n,a,p),K_("runSync","run",s),f;function p(d,g){j_(d),f=g,s=!0}}stringify(n,a){this.freeze();const s=o1(a),f=this.compiler||this.Compiler;return Ww("stringify",f),X_(n),f(n,s)}use(n,...a){const s=this.attachers,f=this.namespace;if(qw("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 p(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=Hw(!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];p(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[A,...D]=C;const L=s[R][1];yT(L)&&yT(A)&&(A=Hw(!0,L,A)),s[R]=[b,A,...D]}}}}const VF=new ZT().freeze();function Yw(e,n){if(typeof n!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function Ww(e,n){if(typeof n!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function qw(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 X_(e){if(!yT(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function K_(e,n,a){if(!a)throw new Error("`"+e+"` finished async. Use `"+n+"` instead")}function o1(e){return YF(e)?e:new s3(e)}function YF(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function WF(e){return typeof e=="string"||qF(e)}function qF(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const QF="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",Z_=[],J_={allowDangerousHtml:!0},$F=/^(https?|ircs?|mailto|xmpp)$/i,GF=[{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 XF(e){const n=e.allowedElements,a=e.allowElement,s=e.children||"",f=e.className,p=e.components,d=e.disallowedElements,g=e.rehypePlugins||Z_,E=e.remarkPlugins||Z_,b=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...J_}:J_,C=e.skipHtml,S=e.unwrapDisallowed,R=e.urlTransform||KF,A=VF().use(H9).use(E).use(_F,b).use(g),D=new s3;typeof s=="string"&&(D.value=s);for(const G of GF)Object.hasOwn(e,G.from)&&(""+G.from+(G.to?"use `"+G.to+"` instead":"remove it")+QF+G.id,void 0);const L=A.parse(D);let B=A.runSync(L,D);return f&&(B={type:"element",tagName:"div",properties:{className:f},children:B.type==="root"?B.children:[B]}),B1(B,z),QP(B,{Fragment:U.Fragment,components:p,ignoreInvalidStyle:!0,jsx:U.jsx,jsxs:U.jsxs,passKeys:!0,passNode:!0});function z(G,W,Z){if(G.type==="raw"&&Z&&typeof W=="number")return C?Z.children.splice(W,1):Z.children[W]={type:"text",value:G.value},W;if(G.type==="element"){let J;for(J in Bw)if(Object.hasOwn(Bw,J)&&Object.hasOwn(G.properties,J)){const X=G.properties[J],ce=Bw[J];(ce===null||ce.includes(G.tagName))&&(G.properties[J]=R(String(X||""),J,G))}}if(G.type==="element"){let J=n?!n.includes(G.tagName):d?d.includes(G.tagName):!1;if(!J&&a&&typeof W=="number"&&(J=!a(G,W,Z)),J&&Z&&typeof W=="number")return S&&G.children?Z.children.splice(W,1,...G.children):Z.children.splice(W,1),W}}}function KF(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||$F.test(e.slice(0,n))?e:""}const ZF=Dt.memo(XF,(e,n)=>e.children===n.children&&e.className===n.className),eA=/[#.]/g;function JF(e,n){const a=e||"",s={};let f=0,p,d;for(;f<a.length;){eA.lastIndex=f;const g=eA.exec(a),E=a.slice(f,g?g.index:a.length);E&&(p?p==="#"?s.id=E:Array.isArray(s.className)?s.className.push(E):s.className=[E]:d=E,f+=E.length),g&&(p=g[0],f++)}return{type:"element",tagName:d||n||"div",properties:s,children:[]}}const bT={}.hasOwnProperty;function l3(e,n,a){const s=a&&r7(a);function f(p,d,...g){let E=-1,b;if(p==null){b={type:"root",children:[]};const C=d;g.unshift(C)}else if(b=JF(p,n),b.tagName=b.tagName.toLowerCase(),s&&bT.call(s,b.tagName)&&(b.tagName=s[b.tagName]),e7(d))g.unshift(d);else{let C;for(C in d)bT.call(d,C)&&t7(e,b.properties,C,d[C])}for(;++E<g.length;)wT(b.children,g[E]);return b.type==="element"&&b.tagName==="template"&&(b.content={type:"root",children:b.children},b.children=[]),b}return f}function e7(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 p=f;for(const d of p)if(typeof d!="number"&&typeof d!="string")return!0}}return!!("children"in e&&Array.isArray(e.children))}function t7(e,n,a,s){const f=z1(e,a);let p=-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=x_(s):f.commaSeparated?d=y_(s):f.commaOrSpaceSeparated?d=x_(y_(s).join(" ")):d=tA(f,f.property,s):Array.isArray(s)?d=s.concat():d=f.property==="style"?n7(s):String(s);if(Array.isArray(d)){const g=[];for(;++p<d.length;){const E=tA(f,f.property,d[p]);g[p]=E}d=g}if(f.property==="className"&&Array.isArray(n.className)){const g=d;d=n.className.concat(g)}n[f.property]=d}}function wT(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;)wT(e,n[a]);else if(typeof n=="object"&&"type"in n)n.type==="root"?wT(e,n.children):e.push(n);else throw new Error("Expected node, nodes, or string, got `"+n+"`")}function tA(e,n,a){if(typeof a=="string"){if(e.number&&a&&!Number.isNaN(Number(a)))return Number(a);if((e.boolean||e.overloadedBoolean)&&(a===""||Om(a)===Om(n)))return!0}return a}function n7(e){const n=[];let a;for(a in e)bT.call(e,a)&&n.push([a,e[a]].join(": "));return n.join("; ")}function r7(e){const n={};let a=-1;for(;++a<e.length;)n[e[a].toLowerCase()]=e[a];return n}const a7=["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"],i7=l3(zm,"div"),o7=l3(ul,"g",a7);function u7(e){const n=String(e),a=[];return{toOffset:f,toPoint:s};function s(p){if(typeof p=="number"&&p>-1&&p<=n.length){let d=0;for(;;){let g=a[d];if(g===void 0){const E=nA(n,a[d-1]);g=E===-1?n.length+1:E+1,a[d]=g}if(g>p)return{line:d+1,column:p-(d>0?a[d-1]:0)+1,offset:p};d++}}}function f(p){if(p&&typeof p.line=="number"&&typeof p.column=="number"&&!Number.isNaN(p.line)&&!Number.isNaN(p.column)){for(;a.length<p.line;){const g=a[a.length-1],E=nA(n,g),b=E===-1?n.length+1:E+1;if(g===b)break;a.push(b)}const d=(p.line>1?a[p.line-2]:0)+p.column-1;if(d<a[p.line-1])return d}}}function nA(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 Cc={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/"},c3={}.hasOwnProperty,s7=Object.prototype;function l7(e,n){const a=n||{};return JT({file:a.file||void 0,location:!1,schema:a.space==="svg"?ul:zm,verbose:a.verbose||!1},e)}function JT(e,n){let a;switch(n.nodeName){case"#comment":{const s=n;return a={type:"comment",value:s.data},y1(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:d3(e,n.childNodes),data:{quirksMode:f}},e.file&&e.location){const p=String(e.file),d=u7(p),g=d.toPoint(0),E=d.toPoint(p.length);a.position={start:g,end:E}}return a}case"#documentType":{const s=n;return a={type:"doctype"},y1(e,s,a),a}case"#text":{const s=n;return a={type:"text",value:s.value},y1(e,s,a),a}default:return a=c7(e,n),a}}function d3(e,n){let a=-1;const s=[];for(;++a<n.length;){const f=JT(e,n[a]);s.push(f)}return s}function c7(e,n){const a=e.schema;e.schema=n.namespaceURI===Cc.svg?ul:zm;let s=-1;const f={};for(;++s<n.attrs.length;){const g=n.attrs[s],E=(g.prefix?g.prefix+":":"")+g.name;c3.call(s7,E)||(f[E]=g.value)}const d=(e.schema.space==="svg"?o7:i7)(n.tagName,f,d3(e,n.childNodes));if(y1(e,n,d),d.tagName==="template"){const g=n,E=g.sourceCodeLocation,b=E&&E.startTag&&Uf(E.startTag),C=E&&E.endTag&&Uf(E.endTag),S=JT(e,g.content);b&&C&&e.file&&(S.position={start:b.end,end:C.start}),d.content=S}return e.schema=a,d}function y1(e,n,a){if("sourceCodeLocation"in n&&n.sourceCodeLocation&&e.file){const s=d7(e,a,n.sourceCodeLocation);s&&(e.location=!0,a.position=s)}}function d7(e,n,a){const s=Uf(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 p={};let d;if(a.attrs)for(d in a.attrs)c3.call(a.attrs,d)&&(p[z1(e.schema,d).property]=Uf(a.attrs[d]));a.startTag;const g=Uf(a.startTag),E=a.endTag?Uf(a.endTag):void 0,b={opening:g};E&&(b.closing=E),b.properties=p,n.data={position:b}}}return s}function Uf(e){const n=rA({line:e.startLine,column:e.startCol,offset:e.startOffset}),a=rA({line:e.endLine,column:e.endCol,offset:e.endOffset});return n||a?{start:n,end:a}:void 0}function rA(e){return e.line&&e.column?e:void 0}const f7={},h7={}.hasOwnProperty,f3=ok("type",{handlers:{root:m7,element:b7,text:y7,comment:E7,doctype:v7}});function p7(e,n){const s=(n||f7).space;return f3(e,s==="svg"?ul:zm)}function m7(e,n){const a={nodeName:"#document",mode:(e.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return a.childNodes=ex(e.children,a,n),Zf(e,a),a}function g7(e,n){const a={nodeName:"#document-fragment",childNodes:[]};return a.childNodes=ex(e.children,a,n),Zf(e,a),a}function v7(e){const n={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:null};return Zf(e,n),n}function y7(e){const n={nodeName:"#text",value:e.value,parentNode:null};return Zf(e,n),n}function E7(e){const n={nodeName:"#comment",data:e.value,parentNode:null};return Zf(e,n),n}function b7(e,n){const a=n;let s=a;e.type==="element"&&e.tagName.toLowerCase()==="svg"&&a.space==="html"&&(s=ul);const f=[];let p;if(e.properties){for(p in e.properties)if(p!=="children"&&h7.call(e.properties,p)){const E=w7(s,p,e.properties[p]);E&&f.push(E)}}const d=s.space,g={nodeName:e.tagName,tagName:e.tagName,attrs:f,namespaceURI:Cc[d],childNodes:[],parentNode:null};return g.childNodes=ex(e.children,g,s),Zf(e,g),e.tagName==="template"&&e.content&&(g.content=g7(e.content,s)),g}function w7(e,n,a){const s=z1(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?Pk(a):Wk(a));const f={name:s.attribute,value:a===!0?"":String(a)};if(s.space&&s.space!=="html"&&s.space!=="svg"){const p=f.name.indexOf(":");p<0?f.prefix="":(f.name=f.name.slice(p+1),f.prefix=s.attribute.slice(0,p)),f.namespace=Cc[s.space]}return f}function ex(e,n,a){let s=-1;const f=[];if(e)for(;++s<e.length;){const p=f3(e[s],a);p.parentNode=n,f.push(p)}return f}function Zf(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 T7=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"],x7=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]),Sn="�";var M;(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"})(M||(M={}));const Va={DASH_DASH:"--",CDATA_START:"[CDATA[",DOCTYPE:"doctype",SCRIPT:"script",PUBLIC:"public",SYSTEM:"system"};function h3(e){return e>=55296&&e<=57343}function S7(e){return e>=56320&&e<=57343}function C7(e,n){return(e-55296)*1024+9216+n}function p3(e){return e!==32&&e!==10&&e!==13&&e!==9&&e!==12&&e>=1&&e<=31||e>=127&&e<=159}function m3(e){return e>=64976&&e<=65007||x7.has(e)}var le;(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"})(le||(le={}));const _7=65536;class A7{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=_7,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:p}=this,d=f+a,g=p+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(S7(a))return this.pos++,this._addGap(),C7(n,a)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,M.EOF;return this._err(le.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,M.EOF;const s=this.html.charCodeAt(a);return s===M.CARRIAGE_RETURN?M.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,M.EOF;let n=this.html.charCodeAt(this.pos);return n===M.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,M.LINE_FEED):n===M.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,h3(n)&&(n=this._processSurrogate(n)),this.handler.onParseError===null||n>31&&n<127||n===M.LINE_FEED||n===M.CARRIAGE_RETURN||n>159&&n<64976||this._checkForProblematicCharacters(n),n)}_checkForProblematicCharacters(n){p3(n)?this._err(le.controlCharacterInInputStream):m3(n)&&this._err(le.noncharacterInInputStream)}retreat(n){for(this.pos-=n;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}}var At;(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"})(At||(At={}));function g3(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 v3=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୕ୖ୪௫ఄ಄ದൡඅ櫬Āoungruent;扢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;怳Ādpuct;戏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ǣጓ\0y;䐎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Ā;tbrk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯᝳ;䎲;愶een;扬r;쀀𝔟gcostuvwឍឝឳេ៕៛ƀ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Ā;elƀ;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\0aĀ;t䀬;䁀ƀ;fl戁îᅠeĀmxent»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ↄⅪ←ٖ↛ǰ↉\0proø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;䅓Ācrir;榿;쀀𝔬ͯ\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\0m;櫳;櫽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))),k7=new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(e=>e.charCodeAt(0)));var Qw;const R7=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]]),N7=(Qw=String.fromCodePoint)!==null&&Qw!==void 0?Qw: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 D7(e){var n;return e>=55296&&e<=57343||e>1114111?65533:(n=R7.get(e))!==null&&n!==void 0?n:e}var Cr;(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"})(Cr||(Cr={}));const O7=32;var Js;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(Js||(Js={}));function TT(e){return e>=Cr.ZERO&&e<=Cr.NINE}function L7(e){return e>=Cr.UPPER_A&&e<=Cr.UPPER_F||e>=Cr.LOWER_A&&e<=Cr.LOWER_F}function I7(e){return e>=Cr.UPPER_A&&e<=Cr.UPPER_Z||e>=Cr.LOWER_A&&e<=Cr.LOWER_Z||TT(e)}function M7(e){return e===Cr.EQUALS||I7(e)}var xr;(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"})(xr||(xr={}));var Iu;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(Iu||(Iu={}));class y3{constructor(n,a,s){this.decodeTree=n,this.emitCodePoint=a,this.errors=s,this.state=xr.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Iu.Strict}startEntity(n){this.decodeMode=n,this.state=xr.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(n,a){switch(this.state){case xr.EntityStart:return n.charCodeAt(a)===Cr.NUM?(this.state=xr.NumericStart,this.consumed+=1,this.stateNumericStart(n,a+1)):(this.state=xr.NamedEntity,this.stateNamedEntity(n,a));case xr.NumericStart:return this.stateNumericStart(n,a);case xr.NumericDecimal:return this.stateNumericDecimal(n,a);case xr.NumericHex:return this.stateNumericHex(n,a);case xr.NamedEntity:return this.stateNamedEntity(n,a)}}stateNumericStart(n,a){return a>=n.length?-1:(n.charCodeAt(a)|O7)===Cr.LOWER_X?(this.state=xr.NumericHex,this.consumed+=1,this.stateNumericHex(n,a+1)):(this.state=xr.NumericDecimal,this.stateNumericDecimal(n,a))}addToNumericResult(n,a,s,f){if(a!==s){const p=s-a;this.result=this.result*Math.pow(f,p)+parseInt(n.substr(a,p),f),this.consumed+=p}}stateNumericHex(n,a){const s=a;for(;a<n.length;){const f=n.charCodeAt(a);if(TT(f)||L7(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(TT(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===Cr.SEMI)this.consumed+=1;else if(this.decodeMode===Iu.Strict)return 0;return this.emitCodePoint(D7(this.result),this.consumed),this.errors&&(n!==Cr.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(n,a){const{decodeTree:s}=this;let f=s[this.treeIndex],p=(f&Js.VALUE_LENGTH)>>14;for(;a<n.length;a++,this.excess++){const d=n.charCodeAt(a);if(this.treeIndex=P7(s,f,this.treeIndex+Math.max(1,p),d),this.treeIndex<0)return this.result===0||this.decodeMode===Iu.Attribute&&(p===0||M7(d))?0:this.emitNotTerminatedNamedEntity();if(f=s[this.treeIndex],p=(f&Js.VALUE_LENGTH)>>14,p!==0){if(d===Cr.SEMI)return this.emitNamedEntityData(this.treeIndex,p,this.consumed+this.excess);this.decodeMode!==Iu.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]&Js.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]&~Js.VALUE_LENGTH:f[n+1],s),a===3&&this.emitCodePoint(f[n+2],s),s}end(){var n;switch(this.state){case xr.NamedEntity:return this.result!==0&&(this.decodeMode!==Iu.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case xr.NumericDecimal:return this.emitNumericEntity(0,2);case xr.NumericHex:return this.emitNumericEntity(0,3);case xr.NumericStart:return(n=this.errors)===null||n===void 0||n.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case xr.EntityStart:return 0}}}function E3(e){let n="";const a=new y3(e,s=>n+=N7(s));return function(f,p){let d=0,g=0;for(;(g=f.indexOf("&",g))>=0;){n+=f.slice(d,g),a.startEntity(p);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 P7(e,n,a,s){const f=(n&Js.BRANCH_LENGTH)>>7,p=n&Js.JUMP_TABLE;if(f===0)return p!==0&&s===p?a:-1;if(p){const E=s-p;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}E3(v3);E3(k7);var we;(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/"})(we||(we={}));var _c;(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"})(_c||(_c={}));var ki;(function(e){e.NO_QUIRKS="no-quirks",e.QUIRKS="quirks",e.LIMITED_QUIRKS="limited-quirks"})(ki||(ki={}));var re;(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"})(re||(re={}));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 F7=new Map([[re.A,y.A],[re.ADDRESS,y.ADDRESS],[re.ANNOTATION_XML,y.ANNOTATION_XML],[re.APPLET,y.APPLET],[re.AREA,y.AREA],[re.ARTICLE,y.ARTICLE],[re.ASIDE,y.ASIDE],[re.B,y.B],[re.BASE,y.BASE],[re.BASEFONT,y.BASEFONT],[re.BGSOUND,y.BGSOUND],[re.BIG,y.BIG],[re.BLOCKQUOTE,y.BLOCKQUOTE],[re.BODY,y.BODY],[re.BR,y.BR],[re.BUTTON,y.BUTTON],[re.CAPTION,y.CAPTION],[re.CENTER,y.CENTER],[re.CODE,y.CODE],[re.COL,y.COL],[re.COLGROUP,y.COLGROUP],[re.DD,y.DD],[re.DESC,y.DESC],[re.DETAILS,y.DETAILS],[re.DIALOG,y.DIALOG],[re.DIR,y.DIR],[re.DIV,y.DIV],[re.DL,y.DL],[re.DT,y.DT],[re.EM,y.EM],[re.EMBED,y.EMBED],[re.FIELDSET,y.FIELDSET],[re.FIGCAPTION,y.FIGCAPTION],[re.FIGURE,y.FIGURE],[re.FONT,y.FONT],[re.FOOTER,y.FOOTER],[re.FOREIGN_OBJECT,y.FOREIGN_OBJECT],[re.FORM,y.FORM],[re.FRAME,y.FRAME],[re.FRAMESET,y.FRAMESET],[re.H1,y.H1],[re.H2,y.H2],[re.H3,y.H3],[re.H4,y.H4],[re.H5,y.H5],[re.H6,y.H6],[re.HEAD,y.HEAD],[re.HEADER,y.HEADER],[re.HGROUP,y.HGROUP],[re.HR,y.HR],[re.HTML,y.HTML],[re.I,y.I],[re.IMG,y.IMG],[re.IMAGE,y.IMAGE],[re.INPUT,y.INPUT],[re.IFRAME,y.IFRAME],[re.KEYGEN,y.KEYGEN],[re.LABEL,y.LABEL],[re.LI,y.LI],[re.LINK,y.LINK],[re.LISTING,y.LISTING],[re.MAIN,y.MAIN],[re.MALIGNMARK,y.MALIGNMARK],[re.MARQUEE,y.MARQUEE],[re.MATH,y.MATH],[re.MENU,y.MENU],[re.META,y.META],[re.MGLYPH,y.MGLYPH],[re.MI,y.MI],[re.MO,y.MO],[re.MN,y.MN],[re.MS,y.MS],[re.MTEXT,y.MTEXT],[re.NAV,y.NAV],[re.NOBR,y.NOBR],[re.NOFRAMES,y.NOFRAMES],[re.NOEMBED,y.NOEMBED],[re.NOSCRIPT,y.NOSCRIPT],[re.OBJECT,y.OBJECT],[re.OL,y.OL],[re.OPTGROUP,y.OPTGROUP],[re.OPTION,y.OPTION],[re.P,y.P],[re.PARAM,y.PARAM],[re.PLAINTEXT,y.PLAINTEXT],[re.PRE,y.PRE],[re.RB,y.RB],[re.RP,y.RP],[re.RT,y.RT],[re.RTC,y.RTC],[re.RUBY,y.RUBY],[re.S,y.S],[re.SCRIPT,y.SCRIPT],[re.SEARCH,y.SEARCH],[re.SECTION,y.SECTION],[re.SELECT,y.SELECT],[re.SOURCE,y.SOURCE],[re.SMALL,y.SMALL],[re.SPAN,y.SPAN],[re.STRIKE,y.STRIKE],[re.STRONG,y.STRONG],[re.STYLE,y.STYLE],[re.SUB,y.SUB],[re.SUMMARY,y.SUMMARY],[re.SUP,y.SUP],[re.TABLE,y.TABLE],[re.TBODY,y.TBODY],[re.TEMPLATE,y.TEMPLATE],[re.TEXTAREA,y.TEXTAREA],[re.TFOOT,y.TFOOT],[re.TD,y.TD],[re.TH,y.TH],[re.THEAD,y.THEAD],[re.TITLE,y.TITLE],[re.TR,y.TR],[re.TRACK,y.TRACK],[re.TT,y.TT],[re.U,y.U],[re.UL,y.UL],[re.SVG,y.SVG],[re.VAR,y.VAR],[re.WBR,y.WBR],[re.XMP,y.XMP]]);function Jf(e){var n;return(n=F7.get(e))!==null&&n!==void 0?n:y.UNKNOWN}const _e=y,U7={[we.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]),[we.MATHML]:new Set([_e.MI,_e.MO,_e.MN,_e.MS,_e.MTEXT,_e.ANNOTATION_XML]),[we.SVG]:new Set([_e.TITLE,_e.FOREIGN_OBJECT,_e.DESC]),[we.XLINK]:new Set,[we.XML]:new Set,[we.XMLNS]:new Set},xT=new Set([_e.H1,_e.H2,_e.H3,_e.H4,_e.H5,_e.H6]);re.STYLE,re.SCRIPT,re.XMP,re.IFRAME,re.NOEMBED,re.NOFRAMES,re.PLAINTEXT;var F;(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"})(F||(F={}));const Wn={DATA:F.DATA,RCDATA:F.RCDATA,RAWTEXT:F.RAWTEXT,SCRIPT_DATA:F.SCRIPT_DATA,PLAINTEXT:F.PLAINTEXT,CDATA_SECTION:F.CDATA_SECTION};function B7(e){return e>=M.DIGIT_0&&e<=M.DIGIT_9}function Sm(e){return e>=M.LATIN_CAPITAL_A&&e<=M.LATIN_CAPITAL_Z}function H7(e){return e>=M.LATIN_SMALL_A&&e<=M.LATIN_SMALL_Z}function Xs(e){return H7(e)||Sm(e)}function aA(e){return Xs(e)||B7(e)}function u1(e){return e+32}function b3(e){return e===M.SPACE||e===M.LINE_FEED||e===M.TABULATION||e===M.FORM_FEED}function iA(e){return b3(e)||e===M.SOLIDUS||e===M.GREATER_THAN_SIGN}function z7(e){return e===M.NULL?le.nullCharacterReference:e>1114111?le.characterReferenceOutsideUnicodeRange:h3(e)?le.surrogateCharacterReference:m3(e)?le.noncharacterCharacterReference:p3(e)||e===M.CARRIAGE_RETURN?le.controlCharacterReference:null}class j7{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=F.DATA,this.returnState=F.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new A7(a),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new y3(v3,(s,f)=>{this.preprocessor.pos=this.entityStartPos+f-1,this._flushCodePointConsumedAsCharacterReference(s)},a.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(le.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:s=>{this._err(le.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+s)},validateNumericCharacterReference:s=>{const f=z7(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:At.START_TAG,tagName:"",tagID:y.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:At.END_TAG,tagName:"",tagID:y.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(n){this.currentToken={type:At.COMMENT,data:"",location:this.getCurrentLocation(n)}}_createDoctypeToken(n){this.currentToken={type:At.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(g3(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(le.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=Jf(n.tagName),n.type===At.START_TAG?(this.lastStartTagName=n.tagName,this.handler.onStartTag(n)):(n.attrs.length>0&&this._err(le.endTagWithAttributes),n.selfClosing&&this._err(le.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 At.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case At.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case At.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:At.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=b3(n)?At.WHITESPACE_CHARACTER:n===M.NULL?At.NULL_CHARACTER:At.CHARACTER;this._appendCharToCurrentCharacterToken(a,String.fromCodePoint(n))}_emitChars(n){this._appendCharToCurrentCharacterToken(At.CHARACTER,n)}_startCharacterReference(){this.returnState=this.state,this.state=F.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?Iu.Attribute:Iu.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===F.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===F.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===F.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(n){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(n):this._emitCodePoint(n)}_callState(n){switch(this.state){case F.DATA:{this._stateData(n);break}case F.RCDATA:{this._stateRcdata(n);break}case F.RAWTEXT:{this._stateRawtext(n);break}case F.SCRIPT_DATA:{this._stateScriptData(n);break}case F.PLAINTEXT:{this._statePlaintext(n);break}case F.TAG_OPEN:{this._stateTagOpen(n);break}case F.END_TAG_OPEN:{this._stateEndTagOpen(n);break}case F.TAG_NAME:{this._stateTagName(n);break}case F.RCDATA_LESS_THAN_SIGN:{this._stateRcdataLessThanSign(n);break}case F.RCDATA_END_TAG_OPEN:{this._stateRcdataEndTagOpen(n);break}case F.RCDATA_END_TAG_NAME:{this._stateRcdataEndTagName(n);break}case F.RAWTEXT_LESS_THAN_SIGN:{this._stateRawtextLessThanSign(n);break}case F.RAWTEXT_END_TAG_OPEN:{this._stateRawtextEndTagOpen(n);break}case F.RAWTEXT_END_TAG_NAME:{this._stateRawtextEndTagName(n);break}case F.SCRIPT_DATA_LESS_THAN_SIGN:{this._stateScriptDataLessThanSign(n);break}case F.SCRIPT_DATA_END_TAG_OPEN:{this._stateScriptDataEndTagOpen(n);break}case F.SCRIPT_DATA_END_TAG_NAME:{this._stateScriptDataEndTagName(n);break}case F.SCRIPT_DATA_ESCAPE_START:{this._stateScriptDataEscapeStart(n);break}case F.SCRIPT_DATA_ESCAPE_START_DASH:{this._stateScriptDataEscapeStartDash(n);break}case F.SCRIPT_DATA_ESCAPED:{this._stateScriptDataEscaped(n);break}case F.SCRIPT_DATA_ESCAPED_DASH:{this._stateScriptDataEscapedDash(n);break}case F.SCRIPT_DATA_ESCAPED_DASH_DASH:{this._stateScriptDataEscapedDashDash(n);break}case F.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataEscapedLessThanSign(n);break}case F.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:{this._stateScriptDataEscapedEndTagOpen(n);break}case F.SCRIPT_DATA_ESCAPED_END_TAG_NAME:{this._stateScriptDataEscapedEndTagName(n);break}case F.SCRIPT_DATA_DOUBLE_ESCAPE_START:{this._stateScriptDataDoubleEscapeStart(n);break}case F.SCRIPT_DATA_DOUBLE_ESCAPED:{this._stateScriptDataDoubleEscaped(n);break}case F.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:{this._stateScriptDataDoubleEscapedDash(n);break}case F.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:{this._stateScriptDataDoubleEscapedDashDash(n);break}case F.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataDoubleEscapedLessThanSign(n);break}case F.SCRIPT_DATA_DOUBLE_ESCAPE_END:{this._stateScriptDataDoubleEscapeEnd(n);break}case F.BEFORE_ATTRIBUTE_NAME:{this._stateBeforeAttributeName(n);break}case F.ATTRIBUTE_NAME:{this._stateAttributeName(n);break}case F.AFTER_ATTRIBUTE_NAME:{this._stateAfterAttributeName(n);break}case F.BEFORE_ATTRIBUTE_VALUE:{this._stateBeforeAttributeValue(n);break}case F.ATTRIBUTE_VALUE_DOUBLE_QUOTED:{this._stateAttributeValueDoubleQuoted(n);break}case F.ATTRIBUTE_VALUE_SINGLE_QUOTED:{this._stateAttributeValueSingleQuoted(n);break}case F.ATTRIBUTE_VALUE_UNQUOTED:{this._stateAttributeValueUnquoted(n);break}case F.AFTER_ATTRIBUTE_VALUE_QUOTED:{this._stateAfterAttributeValueQuoted(n);break}case F.SELF_CLOSING_START_TAG:{this._stateSelfClosingStartTag(n);break}case F.BOGUS_COMMENT:{this._stateBogusComment(n);break}case F.MARKUP_DECLARATION_OPEN:{this._stateMarkupDeclarationOpen(n);break}case F.COMMENT_START:{this._stateCommentStart(n);break}case F.COMMENT_START_DASH:{this._stateCommentStartDash(n);break}case F.COMMENT:{this._stateComment(n);break}case F.COMMENT_LESS_THAN_SIGN:{this._stateCommentLessThanSign(n);break}case F.COMMENT_LESS_THAN_SIGN_BANG:{this._stateCommentLessThanSignBang(n);break}case F.COMMENT_LESS_THAN_SIGN_BANG_DASH:{this._stateCommentLessThanSignBangDash(n);break}case F.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:{this._stateCommentLessThanSignBangDashDash(n);break}case F.COMMENT_END_DASH:{this._stateCommentEndDash(n);break}case F.COMMENT_END:{this._stateCommentEnd(n);break}case F.COMMENT_END_BANG:{this._stateCommentEndBang(n);break}case F.DOCTYPE:{this._stateDoctype(n);break}case F.BEFORE_DOCTYPE_NAME:{this._stateBeforeDoctypeName(n);break}case F.DOCTYPE_NAME:{this._stateDoctypeName(n);break}case F.AFTER_DOCTYPE_NAME:{this._stateAfterDoctypeName(n);break}case F.AFTER_DOCTYPE_PUBLIC_KEYWORD:{this._stateAfterDoctypePublicKeyword(n);break}case F.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateBeforeDoctypePublicIdentifier(n);break}case F.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypePublicIdentifierDoubleQuoted(n);break}case F.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypePublicIdentifierSingleQuoted(n);break}case F.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateAfterDoctypePublicIdentifier(n);break}case F.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:{this._stateBetweenDoctypePublicAndSystemIdentifiers(n);break}case F.AFTER_DOCTYPE_SYSTEM_KEYWORD:{this._stateAfterDoctypeSystemKeyword(n);break}case F.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateBeforeDoctypeSystemIdentifier(n);break}case F.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypeSystemIdentifierDoubleQuoted(n);break}case F.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypeSystemIdentifierSingleQuoted(n);break}case F.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateAfterDoctypeSystemIdentifier(n);break}case F.BOGUS_DOCTYPE:{this._stateBogusDoctype(n);break}case F.CDATA_SECTION:{this._stateCdataSection(n);break}case F.CDATA_SECTION_BRACKET:{this._stateCdataSectionBracket(n);break}case F.CDATA_SECTION_END:{this._stateCdataSectionEnd(n);break}case F.CHARACTER_REFERENCE:{this._stateCharacterReference();break}case F.AMBIGUOUS_AMPERSAND:{this._stateAmbiguousAmpersand(n);break}default:throw new Error("Unknown state")}}_stateData(n){switch(n){case M.LESS_THAN_SIGN:{this.state=F.TAG_OPEN;break}case M.AMPERSAND:{this._startCharacterReference();break}case M.NULL:{this._err(le.unexpectedNullCharacter),this._emitCodePoint(n);break}case M.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(n)}}_stateRcdata(n){switch(n){case M.AMPERSAND:{this._startCharacterReference();break}case M.LESS_THAN_SIGN:{this.state=F.RCDATA_LESS_THAN_SIGN;break}case M.NULL:{this._err(le.unexpectedNullCharacter),this._emitChars(Sn);break}case M.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(n)}}_stateRawtext(n){switch(n){case M.LESS_THAN_SIGN:{this.state=F.RAWTEXT_LESS_THAN_SIGN;break}case M.NULL:{this._err(le.unexpectedNullCharacter),this._emitChars(Sn);break}case M.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(n)}}_stateScriptData(n){switch(n){case M.LESS_THAN_SIGN:{this.state=F.SCRIPT_DATA_LESS_THAN_SIGN;break}case M.NULL:{this._err(le.unexpectedNullCharacter),this._emitChars(Sn);break}case M.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(n)}}_statePlaintext(n){switch(n){case M.NULL:{this._err(le.unexpectedNullCharacter),this._emitChars(Sn);break}case M.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(n)}}_stateTagOpen(n){if(Xs(n))this._createStartTagToken(),this.state=F.TAG_NAME,this._stateTagName(n);else switch(n){case M.EXCLAMATION_MARK:{this.state=F.MARKUP_DECLARATION_OPEN;break}case M.SOLIDUS:{this.state=F.END_TAG_OPEN;break}case M.QUESTION_MARK:{this._err(le.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=F.BOGUS_COMMENT,this._stateBogusComment(n);break}case M.EOF:{this._err(le.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}default:this._err(le.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=F.DATA,this._stateData(n)}}_stateEndTagOpen(n){if(Xs(n))this._createEndTagToken(),this.state=F.TAG_NAME,this._stateTagName(n);else switch(n){case M.GREATER_THAN_SIGN:{this._err(le.missingEndTagName),this.state=F.DATA;break}case M.EOF:{this._err(le.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break}default:this._err(le.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=F.BOGUS_COMMENT,this._stateBogusComment(n)}}_stateTagName(n){const a=this.currentToken;switch(n){case M.SPACE:case M.LINE_FEED:case M.TABULATION:case M.FORM_FEED:{this.state=F.BEFORE_ATTRIBUTE_NAME;break}case M.SOLIDUS:{this.state=F.SELF_CLOSING_START_TAG;break}case M.GREATER_THAN_SIGN:{this.state=F.DATA,this.emitCurrentTagToken();break}case M.NULL:{this._err(le.unexpectedNullCharacter),a.tagName+=Sn;break}case M.EOF:{this._err(le.eofInTag),this._emitEOFToken();break}default:a.tagName+=String.fromCodePoint(Sm(n)?u1(n):n)}}_stateRcdataLessThanSign(n){n===M.SOLIDUS?this.state=F.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=F.RCDATA,this._stateRcdata(n))}_stateRcdataEndTagOpen(n){Xs(n)?(this.state=F.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(n)):(this._emitChars("</"),this.state=F.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 M.SPACE:case M.LINE_FEED:case M.TABULATION:case M.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=F.BEFORE_ATTRIBUTE_NAME,!1;case M.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=F.SELF_CLOSING_START_TAG,!1;case M.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=F.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(n){this.handleSpecialEndTag(n)&&(this._emitChars("</"),this.state=F.RCDATA,this._stateRcdata(n))}_stateRawtextLessThanSign(n){n===M.SOLIDUS?this.state=F.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=F.RAWTEXT,this._stateRawtext(n))}_stateRawtextEndTagOpen(n){Xs(n)?(this.state=F.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(n)):(this._emitChars("</"),this.state=F.RAWTEXT,this._stateRawtext(n))}_stateRawtextEndTagName(n){this.handleSpecialEndTag(n)&&(this._emitChars("</"),this.state=F.RAWTEXT,this._stateRawtext(n))}_stateScriptDataLessThanSign(n){switch(n){case M.SOLIDUS:{this.state=F.SCRIPT_DATA_END_TAG_OPEN;break}case M.EXCLAMATION_MARK:{this.state=F.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break}default:this._emitChars("<"),this.state=F.SCRIPT_DATA,this._stateScriptData(n)}}_stateScriptDataEndTagOpen(n){Xs(n)?(this.state=F.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(n)):(this._emitChars("</"),this.state=F.SCRIPT_DATA,this._stateScriptData(n))}_stateScriptDataEndTagName(n){this.handleSpecialEndTag(n)&&(this._emitChars("</"),this.state=F.SCRIPT_DATA,this._stateScriptData(n))}_stateScriptDataEscapeStart(n){n===M.HYPHEN_MINUS?(this.state=F.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=F.SCRIPT_DATA,this._stateScriptData(n))}_stateScriptDataEscapeStartDash(n){n===M.HYPHEN_MINUS?(this.state=F.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-")):(this.state=F.SCRIPT_DATA,this._stateScriptData(n))}_stateScriptDataEscaped(n){switch(n){case M.HYPHEN_MINUS:{this.state=F.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break}case M.LESS_THAN_SIGN:{this.state=F.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case M.NULL:{this._err(le.unexpectedNullCharacter),this._emitChars(Sn);break}case M.EOF:{this._err(le.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(n)}}_stateScriptDataEscapedDash(n){switch(n){case M.HYPHEN_MINUS:{this.state=F.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break}case M.LESS_THAN_SIGN:{this.state=F.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case M.NULL:{this._err(le.unexpectedNullCharacter),this.state=F.SCRIPT_DATA_ESCAPED,this._emitChars(Sn);break}case M.EOF:{this._err(le.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=F.SCRIPT_DATA_ESCAPED,this._emitCodePoint(n)}}_stateScriptDataEscapedDashDash(n){switch(n){case M.HYPHEN_MINUS:{this._emitChars("-");break}case M.LESS_THAN_SIGN:{this.state=F.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case M.GREATER_THAN_SIGN:{this.state=F.SCRIPT_DATA,this._emitChars(">");break}case M.NULL:{this._err(le.unexpectedNullCharacter),this.state=F.SCRIPT_DATA_ESCAPED,this._emitChars(Sn);break}case M.EOF:{this._err(le.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=F.SCRIPT_DATA_ESCAPED,this._emitCodePoint(n)}}_stateScriptDataEscapedLessThanSign(n){n===M.SOLIDUS?this.state=F.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:Xs(n)?(this._emitChars("<"),this.state=F.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(n)):(this._emitChars("<"),this.state=F.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(n))}_stateScriptDataEscapedEndTagOpen(n){Xs(n)?(this.state=F.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(n)):(this._emitChars("</"),this.state=F.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(n))}_stateScriptDataEscapedEndTagName(n){this.handleSpecialEndTag(n)&&(this._emitChars("</"),this.state=F.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(n))}_stateScriptDataDoubleEscapeStart(n){if(this.preprocessor.startsWith(Va.SCRIPT,!1)&&iA(this.preprocessor.peek(Va.SCRIPT.length))){this._emitCodePoint(n);for(let a=0;a<Va.SCRIPT.length;a++)this._emitCodePoint(this._consume());this.state=F.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=F.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(n))}_stateScriptDataDoubleEscaped(n){switch(n){case M.HYPHEN_MINUS:{this.state=F.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break}case M.LESS_THAN_SIGN:{this.state=F.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case M.NULL:{this._err(le.unexpectedNullCharacter),this._emitChars(Sn);break}case M.EOF:{this._err(le.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(n)}}_stateScriptDataDoubleEscapedDash(n){switch(n){case M.HYPHEN_MINUS:{this.state=F.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break}case M.LESS_THAN_SIGN:{this.state=F.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case M.NULL:{this._err(le.unexpectedNullCharacter),this.state=F.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(Sn);break}case M.EOF:{this._err(le.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=F.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(n)}}_stateScriptDataDoubleEscapedDashDash(n){switch(n){case M.HYPHEN_MINUS:{this._emitChars("-");break}case M.LESS_THAN_SIGN:{this.state=F.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case M.GREATER_THAN_SIGN:{this.state=F.SCRIPT_DATA,this._emitChars(">");break}case M.NULL:{this._err(le.unexpectedNullCharacter),this.state=F.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(Sn);break}case M.EOF:{this._err(le.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=F.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(n)}}_stateScriptDataDoubleEscapedLessThanSign(n){n===M.SOLIDUS?(this.state=F.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=F.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(n))}_stateScriptDataDoubleEscapeEnd(n){if(this.preprocessor.startsWith(Va.SCRIPT,!1)&&iA(this.preprocessor.peek(Va.SCRIPT.length))){this._emitCodePoint(n);for(let a=0;a<Va.SCRIPT.length;a++)this._emitCodePoint(this._consume());this.state=F.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=F.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(n))}_stateBeforeAttributeName(n){switch(n){case M.SPACE:case M.LINE_FEED:case M.TABULATION:case M.FORM_FEED:break;case M.SOLIDUS:case M.GREATER_THAN_SIGN:case M.EOF:{this.state=F.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(n);break}case M.EQUALS_SIGN:{this._err(le.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=F.ATTRIBUTE_NAME;break}default:this._createAttr(""),this.state=F.ATTRIBUTE_NAME,this._stateAttributeName(n)}}_stateAttributeName(n){switch(n){case M.SPACE:case M.LINE_FEED:case M.TABULATION:case M.FORM_FEED:case M.SOLIDUS:case M.GREATER_THAN_SIGN:case M.EOF:{this._leaveAttrName(),this.state=F.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(n);break}case M.EQUALS_SIGN:{this._leaveAttrName(),this.state=F.BEFORE_ATTRIBUTE_VALUE;break}case M.QUOTATION_MARK:case M.APOSTROPHE:case M.LESS_THAN_SIGN:{this._err(le.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(n);break}case M.NULL:{this._err(le.unexpectedNullCharacter),this.currentAttr.name+=Sn;break}default:this.currentAttr.name+=String.fromCodePoint(Sm(n)?u1(n):n)}}_stateAfterAttributeName(n){switch(n){case M.SPACE:case M.LINE_FEED:case M.TABULATION:case M.FORM_FEED:break;case M.SOLIDUS:{this.state=F.SELF_CLOSING_START_TAG;break}case M.EQUALS_SIGN:{this.state=F.BEFORE_ATTRIBUTE_VALUE;break}case M.GREATER_THAN_SIGN:{this.state=F.DATA,this.emitCurrentTagToken();break}case M.EOF:{this._err(le.eofInTag),this._emitEOFToken();break}default:this._createAttr(""),this.state=F.ATTRIBUTE_NAME,this._stateAttributeName(n)}}_stateBeforeAttributeValue(n){switch(n){case M.SPACE:case M.LINE_FEED:case M.TABULATION:case M.FORM_FEED:break;case M.QUOTATION_MARK:{this.state=F.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break}case M.APOSTROPHE:{this.state=F.ATTRIBUTE_VALUE_SINGLE_QUOTED;break}case M.GREATER_THAN_SIGN:{this._err(le.missingAttributeValue),this.state=F.DATA,this.emitCurrentTagToken();break}default:this.state=F.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(n)}}_stateAttributeValueDoubleQuoted(n){switch(n){case M.QUOTATION_MARK:{this.state=F.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case M.AMPERSAND:{this._startCharacterReference();break}case M.NULL:{this._err(le.unexpectedNullCharacter),this.currentAttr.value+=Sn;break}case M.EOF:{this._err(le.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(n)}}_stateAttributeValueSingleQuoted(n){switch(n){case M.APOSTROPHE:{this.state=F.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case M.AMPERSAND:{this._startCharacterReference();break}case M.NULL:{this._err(le.unexpectedNullCharacter),this.currentAttr.value+=Sn;break}case M.EOF:{this._err(le.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(n)}}_stateAttributeValueUnquoted(n){switch(n){case M.SPACE:case M.LINE_FEED:case M.TABULATION:case M.FORM_FEED:{this._leaveAttrValue(),this.state=F.BEFORE_ATTRIBUTE_NAME;break}case M.AMPERSAND:{this._startCharacterReference();break}case M.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=F.DATA,this.emitCurrentTagToken();break}case M.NULL:{this._err(le.unexpectedNullCharacter),this.currentAttr.value+=Sn;break}case M.QUOTATION_MARK:case M.APOSTROPHE:case M.LESS_THAN_SIGN:case M.EQUALS_SIGN:case M.GRAVE_ACCENT:{this._err(le.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(n);break}case M.EOF:{this._err(le.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(n)}}_stateAfterAttributeValueQuoted(n){switch(n){case M.SPACE:case M.LINE_FEED:case M.TABULATION:case M.FORM_FEED:{this._leaveAttrValue(),this.state=F.BEFORE_ATTRIBUTE_NAME;break}case M.SOLIDUS:{this._leaveAttrValue(),this.state=F.SELF_CLOSING_START_TAG;break}case M.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=F.DATA,this.emitCurrentTagToken();break}case M.EOF:{this._err(le.eofInTag),this._emitEOFToken();break}default:this._err(le.missingWhitespaceBetweenAttributes),this.state=F.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(n)}}_stateSelfClosingStartTag(n){switch(n){case M.GREATER_THAN_SIGN:{const a=this.currentToken;a.selfClosing=!0,this.state=F.DATA,this.emitCurrentTagToken();break}case M.EOF:{this._err(le.eofInTag),this._emitEOFToken();break}default:this._err(le.unexpectedSolidusInTag),this.state=F.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(n)}}_stateBogusComment(n){const a=this.currentToken;switch(n){case M.GREATER_THAN_SIGN:{this.state=F.DATA,this.emitCurrentComment(a);break}case M.EOF:{this.emitCurrentComment(a),this._emitEOFToken();break}case M.NULL:{this._err(le.unexpectedNullCharacter),a.data+=Sn;break}default:a.data+=String.fromCodePoint(n)}}_stateMarkupDeclarationOpen(n){this._consumeSequenceIfMatch(Va.DASH_DASH,!0)?(this._createCommentToken(Va.DASH_DASH.length+1),this.state=F.COMMENT_START):this._consumeSequenceIfMatch(Va.DOCTYPE,!1)?(this.currentLocation=this.getCurrentLocation(Va.DOCTYPE.length+1),this.state=F.DOCTYPE):this._consumeSequenceIfMatch(Va.CDATA_START,!0)?this.inForeignNode?this.state=F.CDATA_SECTION:(this._err(le.cdataInHtmlContent),this._createCommentToken(Va.CDATA_START.length+1),this.currentToken.data="[CDATA[",this.state=F.BOGUS_COMMENT):this._ensureHibernation()||(this._err(le.incorrectlyOpenedComment),this._createCommentToken(2),this.state=F.BOGUS_COMMENT,this._stateBogusComment(n))}_stateCommentStart(n){switch(n){case M.HYPHEN_MINUS:{this.state=F.COMMENT_START_DASH;break}case M.GREATER_THAN_SIGN:{this._err(le.abruptClosingOfEmptyComment),this.state=F.DATA;const a=this.currentToken;this.emitCurrentComment(a);break}default:this.state=F.COMMENT,this._stateComment(n)}}_stateCommentStartDash(n){const a=this.currentToken;switch(n){case M.HYPHEN_MINUS:{this.state=F.COMMENT_END;break}case M.GREATER_THAN_SIGN:{this._err(le.abruptClosingOfEmptyComment),this.state=F.DATA,this.emitCurrentComment(a);break}case M.EOF:{this._err(le.eofInComment),this.emitCurrentComment(a),this._emitEOFToken();break}default:a.data+="-",this.state=F.COMMENT,this._stateComment(n)}}_stateComment(n){const a=this.currentToken;switch(n){case M.HYPHEN_MINUS:{this.state=F.COMMENT_END_DASH;break}case M.LESS_THAN_SIGN:{a.data+="<",this.state=F.COMMENT_LESS_THAN_SIGN;break}case M.NULL:{this._err(le.unexpectedNullCharacter),a.data+=Sn;break}case M.EOF:{this._err(le.eofInComment),this.emitCurrentComment(a),this._emitEOFToken();break}default:a.data+=String.fromCodePoint(n)}}_stateCommentLessThanSign(n){const a=this.currentToken;switch(n){case M.EXCLAMATION_MARK:{a.data+="!",this.state=F.COMMENT_LESS_THAN_SIGN_BANG;break}case M.LESS_THAN_SIGN:{a.data+="<";break}default:this.state=F.COMMENT,this._stateComment(n)}}_stateCommentLessThanSignBang(n){n===M.HYPHEN_MINUS?this.state=F.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=F.COMMENT,this._stateComment(n))}_stateCommentLessThanSignBangDash(n){n===M.HYPHEN_MINUS?this.state=F.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=F.COMMENT_END_DASH,this._stateCommentEndDash(n))}_stateCommentLessThanSignBangDashDash(n){n!==M.GREATER_THAN_SIGN&&n!==M.EOF&&this._err(le.nestedComment),this.state=F.COMMENT_END,this._stateCommentEnd(n)}_stateCommentEndDash(n){const a=this.currentToken;switch(n){case M.HYPHEN_MINUS:{this.state=F.COMMENT_END;break}case M.EOF:{this._err(le.eofInComment),this.emitCurrentComment(a),this._emitEOFToken();break}default:a.data+="-",this.state=F.COMMENT,this._stateComment(n)}}_stateCommentEnd(n){const a=this.currentToken;switch(n){case M.GREATER_THAN_SIGN:{this.state=F.DATA,this.emitCurrentComment(a);break}case M.EXCLAMATION_MARK:{this.state=F.COMMENT_END_BANG;break}case M.HYPHEN_MINUS:{a.data+="-";break}case M.EOF:{this._err(le.eofInComment),this.emitCurrentComment(a),this._emitEOFToken();break}default:a.data+="--",this.state=F.COMMENT,this._stateComment(n)}}_stateCommentEndBang(n){const a=this.currentToken;switch(n){case M.HYPHEN_MINUS:{a.data+="--!",this.state=F.COMMENT_END_DASH;break}case M.GREATER_THAN_SIGN:{this._err(le.incorrectlyClosedComment),this.state=F.DATA,this.emitCurrentComment(a);break}case M.EOF:{this._err(le.eofInComment),this.emitCurrentComment(a),this._emitEOFToken();break}default:a.data+="--!",this.state=F.COMMENT,this._stateComment(n)}}_stateDoctype(n){switch(n){case M.SPACE:case M.LINE_FEED:case M.TABULATION:case M.FORM_FEED:{this.state=F.BEFORE_DOCTYPE_NAME;break}case M.GREATER_THAN_SIGN:{this.state=F.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(n);break}case M.EOF:{this._err(le.eofInDoctype),this._createDoctypeToken(null);const a=this.currentToken;a.forceQuirks=!0,this.emitCurrentDoctype(a),this._emitEOFToken();break}default:this._err(le.missingWhitespaceBeforeDoctypeName),this.state=F.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(n)}}_stateBeforeDoctypeName(n){if(Sm(n))this._createDoctypeToken(String.fromCharCode(u1(n))),this.state=F.DOCTYPE_NAME;else switch(n){case M.SPACE:case M.LINE_FEED:case M.TABULATION:case M.FORM_FEED:break;case M.NULL:{this._err(le.unexpectedNullCharacter),this._createDoctypeToken(Sn),this.state=F.DOCTYPE_NAME;break}case M.GREATER_THAN_SIGN:{this._err(le.missingDoctypeName),this._createDoctypeToken(null);const a=this.currentToken;a.forceQuirks=!0,this.emitCurrentDoctype(a),this.state=F.DATA;break}case M.EOF:{this._err(le.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=F.DOCTYPE_NAME}}_stateDoctypeName(n){const a=this.currentToken;switch(n){case M.SPACE:case M.LINE_FEED:case M.TABULATION:case M.FORM_FEED:{this.state=F.AFTER_DOCTYPE_NAME;break}case M.GREATER_THAN_SIGN:{this.state=F.DATA,this.emitCurrentDoctype(a);break}case M.NULL:{this._err(le.unexpectedNullCharacter),a.name+=Sn;break}case M.EOF:{this._err(le.eofInDoctype),a.forceQuirks=!0,this.emitCurrentDoctype(a),this._emitEOFToken();break}default:a.name+=String.fromCodePoint(Sm(n)?u1(n):n)}}_stateAfterDoctypeName(n){const a=this.currentToken;switch(n){case M.SPACE:case M.LINE_FEED:case M.TABULATION:case M.FORM_FEED:break;case M.GREATER_THAN_SIGN:{this.state=F.DATA,this.emitCurrentDoctype(a);break}case M.EOF:{this._err(le.eofInDoctype),a.forceQuirks=!0,this.emitCurrentDoctype(a),this._emitEOFToken();break}default:this._consumeSequenceIfMatch(Va.PUBLIC,!1)?this.state=F.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch(Va.SYSTEM,!1)?this.state=F.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(le.invalidCharacterSequenceAfterDoctypeName),a.forceQuirks=!0,this.state=F.BOGUS_DOCTYPE,this._stateBogusDoctype(n))}}_stateAfterDoctypePublicKeyword(n){const a=this.currentToken;switch(n){case M.SPACE:case M.LINE_FEED:case M.TABULATION:case M.FORM_FEED:{this.state=F.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break}case M.QUOTATION_MARK:{this._err(le.missingWhitespaceAfterDoctypePublicKeyword),a.publicId="",this.state=F.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case M.APOSTROPHE:{this._err(le.missingWhitespaceAfterDoctypePublicKeyword),a.publicId="",this.state=F.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case M.GREATER_THAN_SIGN:{this._err(le.missingDoctypePublicIdentifier),a.forceQuirks=!0,this.state=F.DATA,this.emitCurrentDoctype(a);break}case M.EOF:{this._err(le.eofInDoctype),a.forceQuirks=!0,this.emitCurrentDoctype(a),this._emitEOFToken();break}default:this._err(le.missingQuoteBeforeDoctypePublicIdentifier),a.forceQuirks=!0,this.state=F.BOGUS_DOCTYPE,this._stateBogusDoctype(n)}}_stateBeforeDoctypePublicIdentifier(n){const a=this.currentToken;switch(n){case M.SPACE:case M.LINE_FEED:case M.TABULATION:case M.FORM_FEED:break;case M.QUOTATION_MARK:{a.publicId="",this.state=F.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case M.APOSTROPHE:{a.publicId="",this.state=F.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case M.GREATER_THAN_SIGN:{this._err(le.missingDoctypePublicIdentifier),a.forceQuirks=!0,this.state=F.DATA,this.emitCurrentDoctype(a);break}case M.EOF:{this._err(le.eofInDoctype),a.forceQuirks=!0,this.emitCurrentDoctype(a),this._emitEOFToken();break}default:this._err(le.missingQuoteBeforeDoctypePublicIdentifier),a.forceQuirks=!0,this.state=F.BOGUS_DOCTYPE,this._stateBogusDoctype(n)}}_stateDoctypePublicIdentifierDoubleQuoted(n){const a=this.currentToken;switch(n){case M.QUOTATION_MARK:{this.state=F.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case M.NULL:{this._err(le.unexpectedNullCharacter),a.publicId+=Sn;break}case M.GREATER_THAN_SIGN:{this._err(le.abruptDoctypePublicIdentifier),a.forceQuirks=!0,this.emitCurrentDoctype(a),this.state=F.DATA;break}case M.EOF:{this._err(le.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 M.APOSTROPHE:{this.state=F.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case M.NULL:{this._err(le.unexpectedNullCharacter),a.publicId+=Sn;break}case M.GREATER_THAN_SIGN:{this._err(le.abruptDoctypePublicIdentifier),a.forceQuirks=!0,this.emitCurrentDoctype(a),this.state=F.DATA;break}case M.EOF:{this._err(le.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 M.SPACE:case M.LINE_FEED:case M.TABULATION:case M.FORM_FEED:{this.state=F.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break}case M.GREATER_THAN_SIGN:{this.state=F.DATA,this.emitCurrentDoctype(a);break}case M.QUOTATION_MARK:{this._err(le.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),a.systemId="",this.state=F.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case M.APOSTROPHE:{this._err(le.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),a.systemId="",this.state=F.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case M.EOF:{this._err(le.eofInDoctype),a.forceQuirks=!0,this.emitCurrentDoctype(a),this._emitEOFToken();break}default:this._err(le.missingQuoteBeforeDoctypeSystemIdentifier),a.forceQuirks=!0,this.state=F.BOGUS_DOCTYPE,this._stateBogusDoctype(n)}}_stateBetweenDoctypePublicAndSystemIdentifiers(n){const a=this.currentToken;switch(n){case M.SPACE:case M.LINE_FEED:case M.TABULATION:case M.FORM_FEED:break;case M.GREATER_THAN_SIGN:{this.emitCurrentDoctype(a),this.state=F.DATA;break}case M.QUOTATION_MARK:{a.systemId="",this.state=F.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case M.APOSTROPHE:{a.systemId="",this.state=F.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case M.EOF:{this._err(le.eofInDoctype),a.forceQuirks=!0,this.emitCurrentDoctype(a),this._emitEOFToken();break}default:this._err(le.missingQuoteBeforeDoctypeSystemIdentifier),a.forceQuirks=!0,this.state=F.BOGUS_DOCTYPE,this._stateBogusDoctype(n)}}_stateAfterDoctypeSystemKeyword(n){const a=this.currentToken;switch(n){case M.SPACE:case M.LINE_FEED:case M.TABULATION:case M.FORM_FEED:{this.state=F.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break}case M.QUOTATION_MARK:{this._err(le.missingWhitespaceAfterDoctypeSystemKeyword),a.systemId="",this.state=F.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case M.APOSTROPHE:{this._err(le.missingWhitespaceAfterDoctypeSystemKeyword),a.systemId="",this.state=F.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case M.GREATER_THAN_SIGN:{this._err(le.missingDoctypeSystemIdentifier),a.forceQuirks=!0,this.state=F.DATA,this.emitCurrentDoctype(a);break}case M.EOF:{this._err(le.eofInDoctype),a.forceQuirks=!0,this.emitCurrentDoctype(a),this._emitEOFToken();break}default:this._err(le.missingQuoteBeforeDoctypeSystemIdentifier),a.forceQuirks=!0,this.state=F.BOGUS_DOCTYPE,this._stateBogusDoctype(n)}}_stateBeforeDoctypeSystemIdentifier(n){const a=this.currentToken;switch(n){case M.SPACE:case M.LINE_FEED:case M.TABULATION:case M.FORM_FEED:break;case M.QUOTATION_MARK:{a.systemId="",this.state=F.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case M.APOSTROPHE:{a.systemId="",this.state=F.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case M.GREATER_THAN_SIGN:{this._err(le.missingDoctypeSystemIdentifier),a.forceQuirks=!0,this.state=F.DATA,this.emitCurrentDoctype(a);break}case M.EOF:{this._err(le.eofInDoctype),a.forceQuirks=!0,this.emitCurrentDoctype(a),this._emitEOFToken();break}default:this._err(le.missingQuoteBeforeDoctypeSystemIdentifier),a.forceQuirks=!0,this.state=F.BOGUS_DOCTYPE,this._stateBogusDoctype(n)}}_stateDoctypeSystemIdentifierDoubleQuoted(n){const a=this.currentToken;switch(n){case M.QUOTATION_MARK:{this.state=F.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case M.NULL:{this._err(le.unexpectedNullCharacter),a.systemId+=Sn;break}case M.GREATER_THAN_SIGN:{this._err(le.abruptDoctypeSystemIdentifier),a.forceQuirks=!0,this.emitCurrentDoctype(a),this.state=F.DATA;break}case M.EOF:{this._err(le.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 M.APOSTROPHE:{this.state=F.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case M.NULL:{this._err(le.unexpectedNullCharacter),a.systemId+=Sn;break}case M.GREATER_THAN_SIGN:{this._err(le.abruptDoctypeSystemIdentifier),a.forceQuirks=!0,this.emitCurrentDoctype(a),this.state=F.DATA;break}case M.EOF:{this._err(le.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 M.SPACE:case M.LINE_FEED:case M.TABULATION:case M.FORM_FEED:break;case M.GREATER_THAN_SIGN:{this.emitCurrentDoctype(a),this.state=F.DATA;break}case M.EOF:{this._err(le.eofInDoctype),a.forceQuirks=!0,this.emitCurrentDoctype(a),this._emitEOFToken();break}default:this._err(le.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=F.BOGUS_DOCTYPE,this._stateBogusDoctype(n)}}_stateBogusDoctype(n){const a=this.currentToken;switch(n){case M.GREATER_THAN_SIGN:{this.emitCurrentDoctype(a),this.state=F.DATA;break}case M.NULL:{this._err(le.unexpectedNullCharacter);break}case M.EOF:{this.emitCurrentDoctype(a),this._emitEOFToken();break}}}_stateCdataSection(n){switch(n){case M.RIGHT_SQUARE_BRACKET:{this.state=F.CDATA_SECTION_BRACKET;break}case M.EOF:{this._err(le.eofInCdata),this._emitEOFToken();break}default:this._emitCodePoint(n)}}_stateCdataSectionBracket(n){n===M.RIGHT_SQUARE_BRACKET?this.state=F.CDATA_SECTION_END:(this._emitChars("]"),this.state=F.CDATA_SECTION,this._stateCdataSection(n))}_stateCdataSectionEnd(n){switch(n){case M.GREATER_THAN_SIGN:{this.state=F.DATA;break}case M.RIGHT_SQUARE_BRACKET:{this._emitChars("]");break}default:this._emitChars("]]"),this.state=F.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(M.AMPERSAND),this.state=!this._isCharacterReferenceInAttribute()&&aA(this.preprocessor.peek(1))?F.AMBIGUOUS_AMPERSAND:this.returnState):this.state=this.returnState}_stateAmbiguousAmpersand(n){aA(n)?this._flushCodePointConsumedAsCharacterReference(n):(n===M.SEMICOLON&&this._err(le.unknownNamedCharacterReference),this.state=this.returnState,this._callState(n))}}const w3=new Set([y.DD,y.DT,y.LI,y.OPTGROUP,y.OPTION,y.P,y.RB,y.RP,y.RT,y.RTC]),oA=new Set([...w3,y.CAPTION,y.COLGROUP,y.TBODY,y.TD,y.TFOOT,y.TH,y.THEAD,y.TR]),k1=new Set([y.APPLET,y.CAPTION,y.HTML,y.MARQUEE,y.OBJECT,y.TABLE,y.TD,y.TEMPLATE,y.TH]),V7=new Set([...k1,y.OL,y.UL]),Y7=new Set([...k1,y.BUTTON]),uA=new Set([y.ANNOTATION_XML,y.MI,y.MN,y.MO,y.MS,y.MTEXT]),sA=new Set([y.DESC,y.FOREIGN_OBJECT,y.TITLE]),W7=new Set([y.TR,y.TEMPLATE,y.HTML]),q7=new Set([y.TBODY,y.TFOOT,y.THEAD,y.TEMPLATE,y.HTML]),Q7=new Set([y.TABLE,y.TEMPLATE,y.HTML]),$7=new Set([y.TD,y.TH]);class G7{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)===we.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])!==we.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(xT,we.HTML)}popUntilTableCellPopped(){this.popUntilPopped($7,we.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(Q7,we.HTML)}clearBackToTableBodyContext(){this.clearBackTo(q7,we.HTML)}clearBackToTableRowContext(){this.clearBackTo(W7,we.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 we.HTML:{if(f===n)return!0;if(a.has(f))return!1;break}case we.SVG:{if(sA.has(f))return!1;break}case we.MATHML:{if(uA.has(f))return!1;break}}}return!0}hasInScope(n){return this.hasInDynamicScope(n,k1)}hasInListItemScope(n){return this.hasInDynamicScope(n,V7)}hasInButtonScope(n){return this.hasInDynamicScope(n,Y7)}hasNumberedHeaderInScope(){for(let n=this.stackTop;n>=0;n--){const a=this.tagIDs[n];switch(this.treeAdapter.getNamespaceURI(this.items[n])){case we.HTML:{if(xT.has(a))return!0;if(k1.has(a))return!1;break}case we.SVG:{if(sA.has(a))return!1;break}case we.MATHML:{if(uA.has(a))return!1;break}}}return!0}hasInTableScope(n){for(let a=this.stackTop;a>=0;a--)if(this.treeAdapter.getNamespaceURI(this.items[a])===we.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])===we.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])===we.HTML)switch(this.tagIDs[a]){case n:return!0;case y.OPTION:case y.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;w3.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;oA.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(n){for(;this.currentTagId!==n&&oA.has(this.currentTagId);)this.pop()}}const $w=3;var jo;(function(e){e[e.Marker=0]="Marker",e[e.Element=1]="Element"})(jo||(jo={}));const lA={type:jo.Marker};class X7{constructor(n){this.treeAdapter=n,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(n,a){const s=[],f=a.length,p=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===jo.Marker)break;const{element:b}=E;if(this.treeAdapter.getTagName(b)===p&&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<$w)return;const a=this.treeAdapter.getAttrList(n),s=this._getNoahArkConditionCandidates(n,a);if(s.length<$w)return;const f=new Map(a.map(d=>[d.name,d.value]));let p=0;for(let d=0;d<s.length;d++){const g=s[d];g.attrs.every(E=>f.get(E.name)===E.value)&&(p+=1,p>=$w&&this.entries.splice(g.idx,1))}}insertMarker(){this.entries.unshift(lA)}pushElement(n,a){this._ensureNoahArkCondition(n),this.entries.unshift({type:jo.Element,element:n,token:a})}insertElementAfterBookmark(n,a){const s=this.entries.indexOf(this.bookmark);this.entries.splice(s,0,{type:jo.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(lA);n>=0?this.entries.splice(0,n+1):this.entries.length=0}getElementEntryInScopeWithTagName(n){const a=this.entries.find(s=>s.type===jo.Marker||this.treeAdapter.getTagName(s.element)===n);return a&&a.type===jo.Element?a:null}getElementEntry(n){return this.entries.find(a=>a.type===jo.Element&&a.element===n)}}const Ks={createDocument(){return{nodeName:"#document",mode:ki.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(p=>p.nodeName==="#documentType");if(f)f.name=n,f.publicId=a,f.systemId=s;else{const p={nodeName:"#documentType",name:n,publicId:a,systemId:s,parentNode:null};Ks.appendChild(e,p)}},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(Ks.isTextNode(a)){a.value+=n;return}}Ks.appendChild(e,Ks.createTextNode(n))},insertTextBefore(e,n,a){const s=e.childNodes[e.childNodes.indexOf(a)-1];s&&Ks.isTextNode(s)?s.value+=n:Ks.insertBefore(e,Ks.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}}},T3="html",K7="about:legacy-compat",Z7="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",x3=["+//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//"],J7=[...x3,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],eU=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),S3=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],tU=[...S3,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function cA(e,n){return n.some(a=>e.startsWith(a))}function nU(e){return e.name===T3&&e.publicId===null&&(e.systemId===null||e.systemId===K7)}function rU(e){if(e.name!==T3)return ki.QUIRKS;const{systemId:n}=e;if(n&&n.toLowerCase()===Z7)return ki.QUIRKS;let{publicId:a}=e;if(a!==null){if(a=a.toLowerCase(),eU.has(a))return ki.QUIRKS;let s=n===null?J7:x3;if(cA(a,s))return ki.QUIRKS;if(s=n===null?S3:tU,cA(a,s))return ki.LIMITED_QUIRKS}return ki.NO_QUIRKS}const dA={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},aU="definitionurl",iU="definitionURL",oU=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])),uU=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:we.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:we.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:we.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:we.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:we.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:we.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:we.XLINK}],["xml:lang",{prefix:"xml",name:"lang",namespace:we.XML}],["xml:space",{prefix:"xml",name:"space",namespace:we.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:we.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:we.XMLNS}]]),sU=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])),lU=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 cU(e){const n=e.tagID;return n===y.FONT&&e.attrs.some(({name:s})=>s===_c.COLOR||s===_c.SIZE||s===_c.FACE)||lU.has(n)}function C3(e){for(let n=0;n<e.attrs.length;n++)if(e.attrs[n].name===aU){e.attrs[n].name=iU;break}}function _3(e){for(let n=0;n<e.attrs.length;n++){const a=oU.get(e.attrs[n].name);a!=null&&(e.attrs[n].name=a)}}function tx(e){for(let n=0;n<e.attrs.length;n++){const a=uU.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 dU(e){const n=sU.get(e.tagName);n!=null&&(e.tagName=n,e.tagID=Jf(e.tagName))}function fU(e,n){return n===we.MATHML&&(e===y.MI||e===y.MO||e===y.MN||e===y.MS||e===y.MTEXT)}function hU(e,n,a){if(n===we.MATHML&&e===y.ANNOTATION_XML){for(let s=0;s<a.length;s++)if(a[s].name===_c.ENCODING){const f=a[s].value.toLowerCase();return f===dA.TEXT_HTML||f===dA.APPLICATION_XML}}return n===we.SVG&&(e===y.FOREIGN_OBJECT||e===y.DESC||e===y.TITLE)}function pU(e,n,a,s){return(!s||s===we.HTML)&&hU(e,n,a)||(!s||s===we.MATHML)&&fU(e,n)}const mU="hidden",gU=8,vU=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 yU={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},A3=new Set([y.TABLE,y.TBODY,y.TFOOT,y.THEAD,y.TR]),fA={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:Ks,onParseError:null};class hA{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={...fA,...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 j7(this.options,this),this.activeFormattingElements=new X7(this.treeAdapter),this.fragmentContextID=s?Jf(this.treeAdapter.getTagName(s)):y.UNKNOWN,this._setContextModes(s??this.document,this.fragmentContextID),this.openElements=new G7(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={...fA,...a};n??(n=s.treeAdapter.createElement(re.TEMPLATE,we.HTML,[]));const f=s.treeAdapter.createElement("documentmock",we.HTML,[]),p=new this(s,f,n);return p.fragmentContextID===y.TEMPLATE&&p.tmplInsertionModeStack.unshift(j.IN_TEMPLATE),p._initTokenizerForFragmentParsing(),p._insertFakeRootElement(),p._resetInsertionMode(),p._findFormInFragmentContext(),p}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 p=(f=n.location)!==null&&f!==void 0?f:yU,d={code:a,startLine:p.startLine,startCol:p.startCol,startOffset:p.startOffset,endLine:s?p.startLine:p.endLine,endCol:s?p.startCol:p.endCol,endOffset:s?p.startOffset:p.endOffset};this.onParseError(d)}onItemPush(n,a,s){var f,p;(p=(f=this.treeAdapter).onItemPush)===null||p===void 0||p.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 p,d;this.openElements.stackTop===0&&this.fragmentContext?(p=this.fragmentContext,d=this.fragmentContextID):{current:p,currentTagId:d}=this.openElements,this._setContextModes(p,d)}}_setContextModes(n,a){const s=n===this.document||this.treeAdapter.getNamespaceURI(n)===we.HTML;this.currentNotInHTML=!s,this.tokenizer.inForeignNode=!s&&!this._isIntegrationPoint(a,n)}_switchToTextParsing(n,a){this._insertElement(n,we.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=Wn.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)===re.FORM){this.formElement=n;break}n=this.treeAdapter.getParentNode(n)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==we.HTML))switch(this.fragmentContextID){case y.TITLE:case y.TEXTAREA:{this.tokenizer.state=Wn.RCDATA;break}case y.STYLE:case y.XMP:case y.IFRAME:case y.NOEMBED:case y.NOFRAMES:case y.NOSCRIPT:{this.tokenizer.state=Wn.RAWTEXT;break}case y.SCRIPT:{this.tokenizer.state=Wn.SCRIPT_DATA;break}case y.PLAINTEXT:{this.tokenizer.state=Wn.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,we.HTML,[]);this._attachElementToTree(s,null),this.openElements.push(s,a)}_insertTemplate(n){const a=this.treeAdapter.createElement(n.tagName,we.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(re.HTML,we.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),p=s?f.lastIndexOf(s):f.length,d=f[p-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),p=a.type===At.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,p)}}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)===re.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(a)===we.MATHML?!1:this.tokenizer.inForeignNode||(n.tagID===y.MGLYPH||n.tagID===y.MALIGNMARK)&&!this._isIntegrationPoint(s,a,we.HTML)}_processToken(n){switch(n.type){case At.CHARACTER:{this.onCharacter(n);break}case At.NULL_CHARACTER:{this.onNullCharacter(n);break}case At.COMMENT:{this.onComment(n);break}case At.DOCTYPE:{this.onDoctype(n);break}case At.START_TAG:{this._processStartTag(n);break}case At.END_TAG:{this.onEndTag(n);break}case At.EOF:{this.onEof(n);break}case At.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(n);break}}}_isIntegrationPoint(n,a,s){const f=this.treeAdapter.getNamespaceURI(a),p=this.treeAdapter.getAttrList(a);return pU(n,f,p,s)}_reconstructActiveFormattingElements(){const n=this.activeFormattingElements.entries.length;if(n){const a=this.activeFormattingElements.entries.findIndex(f=>f.type===jo.Marker||this.openElements.contains(f.element)),s=a<0?n-1:a-1;for(let f=s;f>=0;f--){const p=this.activeFormattingElements.entries[f];this._insertElement(p.token,this.treeAdapter.getNamespaceURI(p.element)),p.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 A3.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)===we.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 U7[s].has(a)}onCharacter(n){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){$B(this,n);return}switch(this.insertionMode){case j.INITIAL:{Tm(this,n);break}case j.BEFORE_HTML:{Am(this,n);break}case j.BEFORE_HEAD:{km(this,n);break}case j.IN_HEAD:{Rm(this,n);break}case j.IN_HEAD_NO_SCRIPT:{Nm(this,n);break}case j.AFTER_HEAD:{Dm(this,n);break}case j.IN_BODY:case j.IN_CAPTION:case j.IN_CELL:case j.IN_TEMPLATE:{R3(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:{Gw(this,n);break}case j.IN_TABLE_TEXT:{M3(this,n);break}case j.IN_COLUMN_GROUP:{R1(this,n);break}case j.AFTER_BODY:{N1(this,n);break}case j.AFTER_AFTER_BODY:{E1(this,n);break}}}onNullCharacter(n){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){QB(this,n);return}switch(this.insertionMode){case j.INITIAL:{Tm(this,n);break}case j.BEFORE_HTML:{Am(this,n);break}case j.BEFORE_HEAD:{km(this,n);break}case j.IN_HEAD:{Rm(this,n);break}case j.IN_HEAD_NO_SCRIPT:{Nm(this,n);break}case j.AFTER_HEAD:{Dm(this,n);break}case j.TEXT:{this._insertCharacters(n);break}case j.IN_TABLE:case j.IN_TABLE_BODY:case j.IN_ROW:{Gw(this,n);break}case j.IN_COLUMN_GROUP:{R1(this,n);break}case j.AFTER_BODY:{N1(this,n);break}case j.AFTER_AFTER_BODY:{E1(this,n);break}}}onComment(n){if(this.skipNextNewLine=!1,this.currentNotInHTML){ST(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:{ST(this,n);break}case j.IN_TABLE_TEXT:{xm(this,n);break}case j.AFTER_BODY:{CU(this,n);break}case j.AFTER_AFTER_BODY:case j.AFTER_AFTER_FRAMESET:{_U(this,n);break}}}onDoctype(n){switch(this.skipNextNewLine=!1,this.insertionMode){case j.INITIAL:{AU(this,n);break}case j.BEFORE_HEAD:case j.IN_HEAD:case j.IN_HEAD_NO_SCRIPT:case j.AFTER_HEAD:{this._err(n,le.misplacedDoctype);break}case j.IN_TABLE_TEXT:{xm(this,n);break}}}onStartTag(n){this.skipNextNewLine=!1,this.currentToken=n,this._processStartTag(n),n.selfClosing&&!n.ackSelfClosing&&this._err(n,le.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(n){this.shouldProcessStartTagTokenInForeignContent(n)?GB(this,n):this._startTagOutsideForeignContent(n)}_startTagOutsideForeignContent(n){switch(this.insertionMode){case j.INITIAL:{Tm(this,n);break}case j.BEFORE_HTML:{kU(this,n);break}case j.BEFORE_HEAD:{NU(this,n);break}case j.IN_HEAD:{co(this,n);break}case j.IN_HEAD_NO_SCRIPT:{LU(this,n);break}case j.AFTER_HEAD:{MU(this,n);break}case j.IN_BODY:{aa(this,n);break}case j.IN_TABLE:{Yf(this,n);break}case j.IN_TABLE_TEXT:{xm(this,n);break}case j.IN_CAPTION:{DB(this,n);break}case j.IN_COLUMN_GROUP:{ax(this,n);break}case j.IN_TABLE_BODY:{q1(this,n);break}case j.IN_ROW:{Q1(this,n);break}case j.IN_CELL:{IB(this,n);break}case j.IN_SELECT:{U3(this,n);break}case j.IN_SELECT_IN_TABLE:{PB(this,n);break}case j.IN_TEMPLATE:{UB(this,n);break}case j.AFTER_BODY:{HB(this,n);break}case j.IN_FRAMESET:{zB(this,n);break}case j.AFTER_FRAMESET:{VB(this,n);break}case j.AFTER_AFTER_BODY:{WB(this,n);break}case j.AFTER_AFTER_FRAMESET:{qB(this,n);break}}}onEndTag(n){this.skipNextNewLine=!1,this.currentToken=n,this.currentNotInHTML?XB(this,n):this._endTagOutsideForeignContent(n)}_endTagOutsideForeignContent(n){switch(this.insertionMode){case j.INITIAL:{Tm(this,n);break}case j.BEFORE_HTML:{RU(this,n);break}case j.BEFORE_HEAD:{DU(this,n);break}case j.IN_HEAD:{OU(this,n);break}case j.IN_HEAD_NO_SCRIPT:{IU(this,n);break}case j.AFTER_HEAD:{PU(this,n);break}case j.IN_BODY:{W1(this,n);break}case j.TEXT:{wB(this,n);break}case j.IN_TABLE:{Im(this,n);break}case j.IN_TABLE_TEXT:{xm(this,n);break}case j.IN_CAPTION:{OB(this,n);break}case j.IN_COLUMN_GROUP:{LB(this,n);break}case j.IN_TABLE_BODY:{CT(this,n);break}case j.IN_ROW:{F3(this,n);break}case j.IN_CELL:{MB(this,n);break}case j.IN_SELECT:{B3(this,n);break}case j.IN_SELECT_IN_TABLE:{FB(this,n);break}case j.IN_TEMPLATE:{BB(this,n);break}case j.AFTER_BODY:{z3(this,n);break}case j.IN_FRAMESET:{jB(this,n);break}case j.AFTER_FRAMESET:{YB(this,n);break}case j.AFTER_AFTER_BODY:{E1(this,n);break}}}onEof(n){switch(this.insertionMode){case j.INITIAL:{Tm(this,n);break}case j.BEFORE_HTML:{Am(this,n);break}case j.BEFORE_HEAD:{km(this,n);break}case j.IN_HEAD:{Rm(this,n);break}case j.IN_HEAD_NO_SCRIPT:{Nm(this,n);break}case j.AFTER_HEAD:{Dm(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:{L3(this,n);break}case j.TEXT:{TB(this,n);break}case j.IN_TABLE_TEXT:{xm(this,n);break}case j.IN_TEMPLATE:{H3(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:{rx(this,n);break}}}onWhitespaceCharacter(n){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,n.chars.charCodeAt(0)===M.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:{k3(this,n);break}case j.IN_TABLE:case j.IN_TABLE_BODY:case j.IN_ROW:{Gw(this,n);break}case j.IN_TABLE_TEXT:{I3(this,n);break}}}}function EU(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):O3(e,n),a}function bU(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 wU(e,n,a){let s=n,f=e.openElements.getCommonAncestor(n);for(let p=0,d=f;d!==a;p++,d=f){f=e.openElements.getCommonAncestor(d);const g=e.activeFormattingElements.getElementEntry(d),E=g&&p>=vU;!g||E?(E&&e.activeFormattingElements.removeEntry(g),e.openElements.remove(d)):(d=TU(e,g),s===n&&(e.activeFormattingElements.bookmark=g),e.treeAdapter.detachNode(s),e.treeAdapter.appendChild(d,s),s=d)}return s}function TU(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 xU(e,n,a){const s=e.treeAdapter.getTagName(n),f=Jf(s);if(e._isElementCausesFosterParenting(f))e._fosterParentElement(a);else{const p=e.treeAdapter.getNamespaceURI(n);f===y.TEMPLATE&&p===we.HTML&&(n=e.treeAdapter.getTemplateContent(n)),e.treeAdapter.appendChild(n,a)}}function SU(e,n,a){const s=e.treeAdapter.getNamespaceURI(a.element),{token:f}=a,p=e.treeAdapter.createElement(f.tagName,s,f.attrs);e._adoptNodes(n,p),e.treeAdapter.appendChild(n,p),e.activeFormattingElements.insertElementAfterBookmark(p,f),e.activeFormattingElements.removeEntry(a),e.openElements.remove(a.element),e.openElements.insertAfter(n,p,f.tagID)}function nx(e,n){for(let a=0;a<gU;a++){const s=EU(e,n);if(!s)break;const f=bU(e,s);if(!f)break;e.activeFormattingElements.bookmark=s;const p=wU(e,f,s.element),d=e.openElements.getCommonAncestor(s.element);e.treeAdapter.detachNode(p),d&&xU(e,d,p),SU(e,f,s)}}function ST(e,n){e._appendCommentNode(n,e.openElements.currentTmplContentOrNode)}function CU(e,n){e._appendCommentNode(n,e.openElements.items[0])}function _U(e,n){e._appendCommentNode(n,e.document)}function rx(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 p=e.openElements.items[1],d=e.treeAdapter.getNodeSourceCodeLocation(p);d&&!d.endTag&&e._setEndLocation(p,n)}}}}function AU(e,n){e._setDocumentType(n);const a=n.forceQuirks?ki.QUIRKS:rU(n);nU(n)||e._err(n,le.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,a),e.insertionMode=j.BEFORE_HTML}function Tm(e,n){e._err(n,le.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,ki.QUIRKS),e.insertionMode=j.BEFORE_HTML,e._processToken(n)}function kU(e,n){n.tagID===y.HTML?(e._insertElement(n,we.HTML),e.insertionMode=j.BEFORE_HEAD):Am(e,n)}function RU(e,n){const a=n.tagID;(a===y.HTML||a===y.HEAD||a===y.BODY||a===y.BR)&&Am(e,n)}function Am(e,n){e._insertFakeRootElement(),e.insertionMode=j.BEFORE_HEAD,e._processToken(n)}function NU(e,n){switch(n.tagID){case y.HTML:{aa(e,n);break}case y.HEAD:{e._insertElement(n,we.HTML),e.headElement=e.openElements.current,e.insertionMode=j.IN_HEAD;break}default:km(e,n)}}function DU(e,n){const a=n.tagID;a===y.HEAD||a===y.BODY||a===y.HTML||a===y.BR?km(e,n):e._err(n,le.endTagWithoutMatchingOpenElement)}function km(e,n){e._insertFakeElement(re.HEAD,y.HEAD),e.headElement=e.openElements.current,e.insertionMode=j.IN_HEAD,e._processToken(n)}function co(e,n){switch(n.tagID){case y.HTML:{aa(e,n);break}case y.BASE:case y.BASEFONT:case y.BGSOUND:case y.LINK:case y.META:{e._appendElement(n,we.HTML),n.ackSelfClosing=!0;break}case y.TITLE:{e._switchToTextParsing(n,Wn.RCDATA);break}case y.NOSCRIPT:{e.options.scriptingEnabled?e._switchToTextParsing(n,Wn.RAWTEXT):(e._insertElement(n,we.HTML),e.insertionMode=j.IN_HEAD_NO_SCRIPT);break}case y.NOFRAMES:case y.STYLE:{e._switchToTextParsing(n,Wn.RAWTEXT);break}case y.SCRIPT:{e._switchToTextParsing(n,Wn.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,le.misplacedStartTagForHeadElement);break}default:Rm(e,n)}}function OU(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:{Rm(e,n);break}case y.TEMPLATE:{Nc(e,n);break}default:e._err(n,le.endTagWithoutMatchingOpenElement)}}function Nc(e,n){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==y.TEMPLATE&&e._err(n,le.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(y.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(n,le.endTagWithoutMatchingOpenElement)}function Rm(e,n){e.openElements.pop(),e.insertionMode=j.AFTER_HEAD,e._processToken(n)}function LU(e,n){switch(n.tagID){case y.HTML:{aa(e,n);break}case y.BASEFONT:case y.BGSOUND:case y.HEAD:case y.LINK:case y.META:case y.NOFRAMES:case y.STYLE:{co(e,n);break}case y.NOSCRIPT:{e._err(n,le.nestedNoscriptInHead);break}default:Nm(e,n)}}function IU(e,n){switch(n.tagID){case y.NOSCRIPT:{e.openElements.pop(),e.insertionMode=j.IN_HEAD;break}case y.BR:{Nm(e,n);break}default:e._err(n,le.endTagWithoutMatchingOpenElement)}}function Nm(e,n){const a=n.type===At.EOF?le.openElementsLeftAfterEof:le.disallowedContentInNoscriptInHead;e._err(n,a),e.openElements.pop(),e.insertionMode=j.IN_HEAD,e._processToken(n)}function MU(e,n){switch(n.tagID){case y.HTML:{aa(e,n);break}case y.BODY:{e._insertElement(n,we.HTML),e.framesetOk=!1,e.insertionMode=j.IN_BODY;break}case y.FRAMESET:{e._insertElement(n,we.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,le.abandonedHeadElementChild),e.openElements.push(e.headElement,y.HEAD),co(e,n),e.openElements.remove(e.headElement);break}case y.HEAD:{e._err(n,le.misplacedStartTagForHeadElement);break}default:Dm(e,n)}}function PU(e,n){switch(n.tagID){case y.BODY:case y.HTML:case y.BR:{Dm(e,n);break}case y.TEMPLATE:{Nc(e,n);break}default:e._err(n,le.endTagWithoutMatchingOpenElement)}}function Dm(e,n){e._insertFakeElement(re.BODY,y.BODY),e.insertionMode=j.IN_BODY,Y1(e,n)}function Y1(e,n){switch(n.type){case At.CHARACTER:{R3(e,n);break}case At.WHITESPACE_CHARACTER:{k3(e,n);break}case At.COMMENT:{ST(e,n);break}case At.START_TAG:{aa(e,n);break}case At.END_TAG:{W1(e,n);break}case At.EOF:{L3(e,n);break}}}function k3(e,n){e._reconstructActiveFormattingElements(),e._insertCharacters(n)}function R3(e,n){e._reconstructActiveFormattingElements(),e._insertCharacters(n),e.framesetOk=!1}function FU(e,n){e.openElements.tmplCount===0&&e.treeAdapter.adoptAttributes(e.openElements.items[0],n.attrs)}function UU(e,n){const a=e.openElements.tryPeekProperlyNestedBodyElement();a&&e.openElements.tmplCount===0&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(a,n.attrs))}function BU(e,n){const a=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&a&&(e.treeAdapter.detachNode(a),e.openElements.popAllUpToHtmlElement(),e._insertElement(n,we.HTML),e.insertionMode=j.IN_FRAMESET)}function HU(e,n){e.openElements.hasInButtonScope(y.P)&&e._closePElement(),e._insertElement(n,we.HTML)}function zU(e,n){e.openElements.hasInButtonScope(y.P)&&e._closePElement(),xT.has(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(n,we.HTML)}function jU(e,n){e.openElements.hasInButtonScope(y.P)&&e._closePElement(),e._insertElement(n,we.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}function VU(e,n){const a=e.openElements.tmplCount>0;(!e.formElement||a)&&(e.openElements.hasInButtonScope(y.P)&&e._closePElement(),e._insertElement(n,we.HTML),a||(e.formElement=e.openElements.current))}function YU(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,we.HTML)}function WU(e,n){e.openElements.hasInButtonScope(y.P)&&e._closePElement(),e._insertElement(n,we.HTML),e.tokenizer.state=Wn.PLAINTEXT}function qU(e,n){e.openElements.hasInScope(y.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(y.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(n,we.HTML),e.framesetOk=!1}function QU(e,n){const a=e.activeFormattingElements.getElementEntryInScopeWithTagName(re.A);a&&(nx(e,n),e.openElements.remove(a.element),e.activeFormattingElements.removeEntry(a)),e._reconstructActiveFormattingElements(),e._insertElement(n,we.HTML),e.activeFormattingElements.pushElement(e.openElements.current,n)}function $U(e,n){e._reconstructActiveFormattingElements(),e._insertElement(n,we.HTML),e.activeFormattingElements.pushElement(e.openElements.current,n)}function GU(e,n){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(y.NOBR)&&(nx(e,n),e._reconstructActiveFormattingElements()),e._insertElement(n,we.HTML),e.activeFormattingElements.pushElement(e.openElements.current,n)}function XU(e,n){e._reconstructActiveFormattingElements(),e._insertElement(n,we.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function KU(e,n){e.treeAdapter.getDocumentMode(e.document)!==ki.QUIRKS&&e.openElements.hasInButtonScope(y.P)&&e._closePElement(),e._insertElement(n,we.HTML),e.framesetOk=!1,e.insertionMode=j.IN_TABLE}function N3(e,n){e._reconstructActiveFormattingElements(),e._appendElement(n,we.HTML),e.framesetOk=!1,n.ackSelfClosing=!0}function D3(e){const n=g3(e,_c.TYPE);return n!=null&&n.toLowerCase()===mU}function ZU(e,n){e._reconstructActiveFormattingElements(),e._appendElement(n,we.HTML),D3(n)||(e.framesetOk=!1),n.ackSelfClosing=!0}function JU(e,n){e._appendElement(n,we.HTML),n.ackSelfClosing=!0}function eB(e,n){e.openElements.hasInButtonScope(y.P)&&e._closePElement(),e._appendElement(n,we.HTML),e.framesetOk=!1,n.ackSelfClosing=!0}function tB(e,n){n.tagName=re.IMG,n.tagID=y.IMG,N3(e,n)}function nB(e,n){e._insertElement(n,we.HTML),e.skipNextNewLine=!0,e.tokenizer.state=Wn.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=j.TEXT}function rB(e,n){e.openElements.hasInButtonScope(y.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(n,Wn.RAWTEXT)}function aB(e,n){e.framesetOk=!1,e._switchToTextParsing(n,Wn.RAWTEXT)}function pA(e,n){e._switchToTextParsing(n,Wn.RAWTEXT)}function iB(e,n){e._reconstructActiveFormattingElements(),e._insertElement(n,we.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 oB(e,n){e.openElements.currentTagId===y.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(n,we.HTML)}function uB(e,n){e.openElements.hasInScope(y.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(n,we.HTML)}function sB(e,n){e.openElements.hasInScope(y.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(y.RTC),e._insertElement(n,we.HTML)}function lB(e,n){e._reconstructActiveFormattingElements(),C3(n),tx(n),n.selfClosing?e._appendElement(n,we.MATHML):e._insertElement(n,we.MATHML),n.ackSelfClosing=!0}function cB(e,n){e._reconstructActiveFormattingElements(),_3(n),tx(n),n.selfClosing?e._appendElement(n,we.SVG):e._insertElement(n,we.SVG),n.ackSelfClosing=!0}function mA(e,n){e._reconstructActiveFormattingElements(),e._insertElement(n,we.HTML)}function aa(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:{$U(e,n);break}case y.A:{QU(e,n);break}case y.H1:case y.H2:case y.H3:case y.H4:case y.H5:case y.H6:{zU(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:{HU(e,n);break}case y.LI:case y.DD:case y.DT:{YU(e,n);break}case y.BR:case y.IMG:case y.WBR:case y.AREA:case y.EMBED:case y.KEYGEN:{N3(e,n);break}case y.HR:{eB(e,n);break}case y.RB:case y.RTC:{uB(e,n);break}case y.RT:case y.RP:{sB(e,n);break}case y.PRE:case y.LISTING:{jU(e,n);break}case y.XMP:{rB(e,n);break}case y.SVG:{cB(e,n);break}case y.HTML:{FU(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:{co(e,n);break}case y.BODY:{UU(e,n);break}case y.FORM:{VU(e,n);break}case y.NOBR:{GU(e,n);break}case y.MATH:{lB(e,n);break}case y.TABLE:{KU(e,n);break}case y.INPUT:{ZU(e,n);break}case y.PARAM:case y.TRACK:case y.SOURCE:{JU(e,n);break}case y.IMAGE:{tB(e,n);break}case y.BUTTON:{qU(e,n);break}case y.APPLET:case y.OBJECT:case y.MARQUEE:{XU(e,n);break}case y.IFRAME:{aB(e,n);break}case y.SELECT:{iB(e,n);break}case y.OPTION:case y.OPTGROUP:{oB(e,n);break}case y.NOEMBED:case y.NOFRAMES:{pA(e,n);break}case y.FRAMESET:{BU(e,n);break}case y.TEXTAREA:{nB(e,n);break}case y.NOSCRIPT:{e.options.scriptingEnabled?pA(e,n):mA(e,n);break}case y.PLAINTEXT:{WU(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:mA(e,n)}}function dB(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 fB(e,n){e.openElements.hasInScope(y.BODY)&&(e.insertionMode=j.AFTER_BODY,z3(e,n))}function hB(e,n){const a=n.tagID;e.openElements.hasInScope(a)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(a))}function pB(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 mB(e){e.openElements.hasInButtonScope(y.P)||e._insertFakeElement(re.P,y.P),e._closePElement()}function gB(e){e.openElements.hasInListItemScope(y.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(y.LI),e.openElements.popUntilTagNamePopped(y.LI))}function vB(e,n){const a=n.tagID;e.openElements.hasInScope(a)&&(e.openElements.generateImpliedEndTagsWithExclusion(a),e.openElements.popUntilTagNamePopped(a))}function yB(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}function EB(e,n){const a=n.tagID;e.openElements.hasInScope(a)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(a),e.activeFormattingElements.clearToLastMarker())}function bB(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(re.BR,y.BR),e.openElements.pop(),e.framesetOk=!1}function O3(e,n){const a=n.tagName,s=n.tagID;for(let f=e.openElements.stackTop;f>0;f--){const p=e.openElements.items[f],d=e.openElements.tagIDs[f];if(s===d&&(s!==y.UNKNOWN||e.treeAdapter.getTagName(p)===a)){e.openElements.generateImpliedEndTagsWithExclusion(s),e.openElements.stackTop>=f&&e.openElements.shortenToLength(f);break}if(e._isSpecialElement(p,d))break}}function W1(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:{nx(e,n);break}case y.P:{mB(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:{hB(e,n);break}case y.LI:{gB(e);break}case y.DD:case y.DT:{vB(e,n);break}case y.H1:case y.H2:case y.H3:case y.H4:case y.H5:case y.H6:{yB(e);break}case y.BR:{bB(e);break}case y.BODY:{dB(e,n);break}case y.HTML:{fB(e,n);break}case y.FORM:{pB(e);break}case y.APPLET:case y.OBJECT:case y.MARQUEE:{EB(e,n);break}case y.TEMPLATE:{Nc(e,n);break}default:O3(e,n)}}function L3(e,n){e.tmplInsertionModeStack.length>0?H3(e,n):rx(e,n)}function wB(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 TB(e,n){e._err(n,le.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(n)}function Gw(e,n){if(A3.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 At.CHARACTER:{M3(e,n);break}case At.WHITESPACE_CHARACTER:{I3(e,n);break}}else Vm(e,n)}function xB(e,n){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(n,we.HTML),e.insertionMode=j.IN_CAPTION}function SB(e,n){e.openElements.clearBackToTableContext(),e._insertElement(n,we.HTML),e.insertionMode=j.IN_COLUMN_GROUP}function CB(e,n){e.openElements.clearBackToTableContext(),e._insertFakeElement(re.COLGROUP,y.COLGROUP),e.insertionMode=j.IN_COLUMN_GROUP,ax(e,n)}function _B(e,n){e.openElements.clearBackToTableContext(),e._insertElement(n,we.HTML),e.insertionMode=j.IN_TABLE_BODY}function AB(e,n){e.openElements.clearBackToTableContext(),e._insertFakeElement(re.TBODY,y.TBODY),e.insertionMode=j.IN_TABLE_BODY,q1(e,n)}function kB(e,n){e.openElements.hasInTableScope(y.TABLE)&&(e.openElements.popUntilTagNamePopped(y.TABLE),e._resetInsertionMode(),e._processStartTag(n))}function RB(e,n){D3(n)?e._appendElement(n,we.HTML):Vm(e,n),n.ackSelfClosing=!0}function NB(e,n){!e.formElement&&e.openElements.tmplCount===0&&(e._insertElement(n,we.HTML),e.formElement=e.openElements.current,e.openElements.pop())}function Yf(e,n){switch(n.tagID){case y.TD:case y.TH:case y.TR:{AB(e,n);break}case y.STYLE:case y.SCRIPT:case y.TEMPLATE:{co(e,n);break}case y.COL:{CB(e,n);break}case y.FORM:{NB(e,n);break}case y.TABLE:{kB(e,n);break}case y.TBODY:case y.TFOOT:case y.THEAD:{_B(e,n);break}case y.INPUT:{RB(e,n);break}case y.CAPTION:{xB(e,n);break}case y.COLGROUP:{SB(e,n);break}default:Vm(e,n)}}function Im(e,n){switch(n.tagID){case y.TABLE:{e.openElements.hasInTableScope(y.TABLE)&&(e.openElements.popUntilTagNamePopped(y.TABLE),e._resetInsertionMode());break}case y.TEMPLATE:{Nc(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:Vm(e,n)}}function Vm(e,n){const a=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,Y1(e,n),e.fosterParentingEnabled=a}function I3(e,n){e.pendingCharacterTokens.push(n)}function M3(e,n){e.pendingCharacterTokens.push(n),e.hasNonWhitespacePendingCharacterToken=!0}function xm(e,n){let a=0;if(e.hasNonWhitespacePendingCharacterToken)for(;a<e.pendingCharacterTokens.length;a++)Vm(e,e.pendingCharacterTokens[a]);else for(;a<e.pendingCharacterTokens.length;a++)e._insertCharacters(e.pendingCharacterTokens[a]);e.insertionMode=e.originalInsertionMode,e._processToken(n)}const P3=new Set([y.CAPTION,y.COL,y.COLGROUP,y.TBODY,y.TD,y.TFOOT,y.TH,y.THEAD,y.TR]);function DB(e,n){const a=n.tagID;P3.has(a)?e.openElements.hasInTableScope(y.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(y.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=j.IN_TABLE,Yf(e,n)):aa(e,n)}function OB(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&&Im(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:W1(e,n)}}function ax(e,n){switch(n.tagID){case y.HTML:{aa(e,n);break}case y.COL:{e._appendElement(n,we.HTML),n.ackSelfClosing=!0;break}case y.TEMPLATE:{co(e,n);break}default:R1(e,n)}}function LB(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:{Nc(e,n);break}case y.COL:break;default:R1(e,n)}}function R1(e,n){e.openElements.currentTagId===y.COLGROUP&&(e.openElements.pop(),e.insertionMode=j.IN_TABLE,e._processToken(n))}function q1(e,n){switch(n.tagID){case y.TR:{e.openElements.clearBackToTableBodyContext(),e._insertElement(n,we.HTML),e.insertionMode=j.IN_ROW;break}case y.TH:case y.TD:{e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(re.TR,y.TR),e.insertionMode=j.IN_ROW,Q1(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,Yf(e,n));break}default:Yf(e,n)}}function CT(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,Im(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:Im(e,n)}}function Q1(e,n){switch(n.tagID){case y.TH:case y.TD:{e.openElements.clearBackToTableRowContext(),e._insertElement(n,we.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,q1(e,n));break}default:Yf(e,n)}}function F3(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,CT(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,CT(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:Im(e,n)}}function IB(e,n){const a=n.tagID;P3.has(a)?(e.openElements.hasInTableScope(y.TD)||e.openElements.hasInTableScope(y.TH))&&(e._closeTableCell(),Q1(e,n)):aa(e,n)}function MB(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(),F3(e,n));break}case y.BODY:case y.CAPTION:case y.COL:case y.COLGROUP:case y.HTML:break;default:W1(e,n)}}function U3(e,n){switch(n.tagID){case y.HTML:{aa(e,n);break}case y.OPTION:{e.openElements.currentTagId===y.OPTION&&e.openElements.pop(),e._insertElement(n,we.HTML);break}case y.OPTGROUP:{e.openElements.currentTagId===y.OPTION&&e.openElements.pop(),e.openElements.currentTagId===y.OPTGROUP&&e.openElements.pop(),e._insertElement(n,we.HTML);break}case y.HR:{e.openElements.currentTagId===y.OPTION&&e.openElements.pop(),e.openElements.currentTagId===y.OPTGROUP&&e.openElements.pop(),e._appendElement(n,we.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:{co(e,n);break}}}function B3(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:{Nc(e,n);break}}}function PB(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)):U3(e,n)}function FB(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)):B3(e,n)}function UB(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:{co(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,Yf(e,n);break}case y.COL:{e.tmplInsertionModeStack[0]=j.IN_COLUMN_GROUP,e.insertionMode=j.IN_COLUMN_GROUP,ax(e,n);break}case y.TR:{e.tmplInsertionModeStack[0]=j.IN_TABLE_BODY,e.insertionMode=j.IN_TABLE_BODY,q1(e,n);break}case y.TD:case y.TH:{e.tmplInsertionModeStack[0]=j.IN_ROW,e.insertionMode=j.IN_ROW,Q1(e,n);break}default:e.tmplInsertionModeStack[0]=j.IN_BODY,e.insertionMode=j.IN_BODY,aa(e,n)}}function BB(e,n){n.tagID===y.TEMPLATE&&Nc(e,n)}function H3(e,n){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(y.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(n)):rx(e,n)}function HB(e,n){n.tagID===y.HTML?aa(e,n):N1(e,n)}function z3(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 N1(e,n)}function N1(e,n){e.insertionMode=j.IN_BODY,Y1(e,n)}function zB(e,n){switch(n.tagID){case y.HTML:{aa(e,n);break}case y.FRAMESET:{e._insertElement(n,we.HTML);break}case y.FRAME:{e._appendElement(n,we.HTML),n.ackSelfClosing=!0;break}case y.NOFRAMES:{co(e,n);break}}}function jB(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 VB(e,n){switch(n.tagID){case y.HTML:{aa(e,n);break}case y.NOFRAMES:{co(e,n);break}}}function YB(e,n){n.tagID===y.HTML&&(e.insertionMode=j.AFTER_AFTER_FRAMESET)}function WB(e,n){n.tagID===y.HTML?aa(e,n):E1(e,n)}function E1(e,n){e.insertionMode=j.IN_BODY,Y1(e,n)}function qB(e,n){switch(n.tagID){case y.HTML:{aa(e,n);break}case y.NOFRAMES:{co(e,n);break}}}function QB(e,n){n.chars=Sn,e._insertCharacters(n)}function $B(e,n){e._insertCharacters(n),e.framesetOk=!1}function j3(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==we.HTML&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}function GB(e,n){if(cU(n))j3(e),e._startTagOutsideForeignContent(n);else{const a=e._getAdjustedCurrentElement(),s=e.treeAdapter.getNamespaceURI(a);s===we.MATHML?C3(n):s===we.SVG&&(dU(n),_3(n)),tx(n),n.selfClosing?e._appendElement(n,s):e._insertElement(n,s),n.ackSelfClosing=!0}}function XB(e,n){if(n.tagID===y.P||n.tagID===y.BR){j3(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)===we.HTML){e._endTagOutsideForeignContent(n);break}const f=e.treeAdapter.getTagName(s);if(f.toLowerCase()===n.tagName){n.tagName=f,e.openElements.shortenToLength(a);break}}}re.AREA,re.BASE,re.BASEFONT,re.BGSOUND,re.BR,re.COL,re.EMBED,re.FRAME,re.HR,re.IMG,re.INPUT,re.KEYGEN,re.LINK,re.META,re.PARAM,re.SOURCE,re.TRACK,re.WBR;const KB=/<(\/?)(iframe|noembed|noframes|plaintext|script|style|textarea|title|xmp)(?=[\t\n\f\r />])/gi,ZB=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),gA={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function V3(e,n){const a=sH(e),s=ok("type",{handlers:{root:JB,element:eH,text:tH,comment:W3,doctype:nH,raw:aH},unknown:iH}),f={parser:a?new hA(gA):hA.getFragmentParser(void 0,gA),handle(g){s(g,f)},stitches:!1,options:n||{}};s(e,f),eh(f,Wo());const p=a?f.parser.document:f.parser.getFragment(),d=l7(p,{file:f.options.file});return f.stitches&&B1(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 Y3(e,n){let a=-1;if(e)for(;++a<e.length;)n.handle(e[a])}function JB(e,n){Y3(e.children,n)}function eH(e,n){oH(e,n),Y3(e.children,n),uH(e,n)}function tH(e,n){n.parser.tokenizer.state>4&&(n.parser.tokenizer.state=0);const a={type:At.CHARACTER,chars:e.value,location:Ym(e)};eh(n,Wo(e)),n.parser.currentToken=a,n.parser._processToken(n.parser.currentToken)}function nH(e,n){const a={type:At.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:Ym(e)};eh(n,Wo(e)),n.parser.currentToken=a,n.parser._processToken(n.parser.currentToken)}function rH(e,n){n.stitches=!0;const a=lH(e);if("children"in e&&"children"in a){const s=V3({type:"root",children:e.children},n.options);a.children=s.children}W3({type:"comment",value:{stitch:a}},n)}function W3(e,n){const a=e.value,s={type:At.COMMENT,data:a,location:Ym(e)};eh(n,Wo(e)),n.parser.currentToken=s,n.parser._processToken(n.parser.currentToken)}function aH(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,q3(n,Wo(e)),n.parser.tokenizer.write(n.options.tagfilter?e.value.replace(KB,"<$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 iH(e,n){const a=e;if(n.options.passThrough&&n.options.passThrough.includes(a.type))rH(a,n);else{let s="";throw ZB.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 eh(e,n){q3(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=Wn.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 q3(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 oH(e,n){const a=e.tagName.toLowerCase();if(n.parser.tokenizer.state===Wn.PLAINTEXT)return;eh(n,Wo(e));const s=n.parser.openElements.current;let f="namespaceURI"in s?s.namespaceURI:Cc.html;f===Cc.html&&a==="svg"&&(f=Cc.svg);const p=p7({...e,children:[]},{space:f===Cc.svg?"svg":"html"}),d={type:At.START_TAG,tagName:a,tagID:Jf(a),selfClosing:!1,ackSelfClosing:!1,attrs:"attrs"in p?p.attrs:[],location:Ym(e)};n.parser.currentToken=d,n.parser._processToken(n.parser.currentToken),n.parser.tokenizer.lastStartTagName=a}function uH(e,n){const a=e.tagName.toLowerCase();if(!n.parser.tokenizer.inForeignNode&&T7.includes(a)||n.parser.tokenizer.state===Wn.PLAINTEXT)return;eh(n,j1(e));const s={type:At.END_TAG,tagName:a,tagID:Jf(a),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:Ym(e)};n.parser.currentToken=s,n.parser._processToken(n.parser.currentToken),a===n.parser.tokenizer.lastStartTagName&&(n.parser.tokenizer.state===Wn.RCDATA||n.parser.tokenizer.state===Wn.RAWTEXT||n.parser.tokenizer.state===Wn.SCRIPT_DATA)&&(n.parser.tokenizer.state=Wn.DATA)}function sH(e){const n=e.type==="root"?e.children[0]:e;return!!(n&&(n.type==="doctype"||n.type==="element"&&n.tagName.toLowerCase()==="html"))}function Ym(e){const n=Wo(e)||{line:void 0,column:void 0,offset:void 0},a=j1(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 lH(e){return"children"in e?Vf({...e,children:[]}):Vf(e)}function cH(e){return function(n,a){return V3(n,{...e,file:a})}}function Q3({attachment:e}){const{name:n,size:a,type:s,url:f}=e,p=s.startsWith("image/"),d=s.startsWith("video/"),g=s.startsWith("audio/");return U.jsxs("div",{className:"size-fit gap-2 border shrink-0 rounded-xl overflow-hidden",children:[p&&U.jsx("img",{loading:"lazy",src:f,className:"object-cover size-16"}),d&&U.jsxs("video",{controls:!0,children:[U.jsx("source",{src:f,type:s}),"Your browser does not support the video tag."]}),g&&U.jsxs("audio",{controls:!0,className:"w-full mt-2 rounded-md border",children:[U.jsx("source",{src:f,type:s}),"Your browser does not support the audio tag."]}),!p&&!d&&!g&&U.jsxs("div",{className:"flex items-center gap-2 p-2",children:[U.jsx("a",{href:f,target:"_blank",rel:"noopener noreferrer",className:"text-blue-500 line-clamp-2 underline hover:text-blue-600",children:n}),U.jsxs("span",{className:"text-sm text-gray-500 whitespace-nowrap",children:[(a/1024).toFixed(2)," KB"]})]})]})}function dH({data:e,id:n,type:a,attachments:s}){const{message:f,variant:p="default"}=e;return p==="error"?U.jsx("div",{children:U.jsx("div",{className:"gap-0.5 flex flex-row flex-wrap items-center justify-start",children:U.jsx("div",{className:"leading-snug font-medium text-sm text-rose-500",children:f})})}):U.jsxs("div",{children:[U.jsx("div",{className:"gap-0.5 flex flex-row flex-wrap items-center justify-start",children:s==null?void 0:s.map(d=>U.jsx(Q3,{attachment:d},d.id))}),U.jsx(ZF,{"data-type":a,"data-id":n,remarkPlugins:[dP],rehypePlugins:[cH],components:{a:({children:d,...g})=>U.jsx("a",{target:"_top",...g,children:d})},className:"leading-snug font-medium text-sm prose prose-a:decoration-primary prose-a:underline prose-sm prose-slate",children:f})]})}const $1=ie.forwardRef(({className:e,...n},a)=>U.jsx($f.Root,{ref:a,className:Lt("relative flex size-6 aspect-square shrink-0 overflow-hidden rounded-lg border bg-secondary",e),...n}));$1.displayName=$f.Root.displayName;const ix=ie.forwardRef(({className:e,...n},a)=>U.jsx($f.Image,{ref:a,className:Lt("aspect-square h-full w-full",e),...n}));ix.displayName=$f.Image.displayName;const ox=ie.forwardRef(({className:e,...n},a)=>U.jsx($f.Fallback,{ref:a,className:Lt("flex size-full text-sm items-center justify-center rounded-lg",e),...n}));ox.displayName=$f.Fallback.displayName;function fH(){return U.jsx(Sr.AnimatePresence,{children:U.jsxs(Sr.motion.div,{animate:{opacity:1},exit:{opacity:0},transition:{duration:.5},className:"flex flex-row items-end w-full gap-1",children:[U.jsx("div",{className:"flex items-center gap-1",children:U.jsx($1,{className:"animate-pulse size-7 rounded-xl bg-secondary",children:U.jsx(ox,{})})}),U.jsxs("div",{className:"flex items-center [&_span]:bg-secondary-foreground [&_span]:size-1 gap-1 p-3 rounded-lg rounded-bl-none bg-secondary",children:[U.jsx(Sr.motion.span,{className:"rounded-full animate-bounce [animation-delay:-0.3s]"}),U.jsx(Sr.motion.span,{className:"rounded-full animate-bounce [animation-delay:-0.15s]"}),U.jsx(Sr.motion.span,{className:"rounded-full animate-bounce"})]})]})})}function hH(e){return U.jsx("div",{className:"w-full max-w-full overflow-auto shrink-0",children:U.jsx("pre",{dir:"auto",className:"text-xs leading-tight",children:JSON.stringify(e,null,1)})})}const vA=e=>typeof e=="boolean"?"".concat(e):e===0?"0":e,yA=QA.clsx,pH=(e,n)=>a=>{var s;if((n==null?void 0:n.variants)==null)return yA(e,a==null?void 0:a.class,a==null?void 0:a.className);const{variants:f,defaultVariants:p}=n,d=Object.keys(f).map(b=>{const C=a==null?void 0:a[b],S=p==null?void 0:p[b];if(C===null)return null;const R=vA(C)||vA(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,...A}=C;return Object.entries(A).every(D=>{let[L,B]=D;return Array.isArray(B)?B.includes({...p,...g}[L]):{...p,...g}[L]===B})?[...b,S,R]:b},[]);return yA(e,d,E,a==null?void 0:a.class,a==null?void 0:a.className)},EA={x:2,y:2},mH={1:"scale-[1]","1.01":"scale-[1.01]","1.02":"scale-[1.02]","1.1":"scale-[1.1]"},Wm=Dt.memo(Dt.forwardRef(({children:e,className:n,scale:a="1.02",off:s=!1},f)=>{const[p,d]=Dt.useState(!1),[g,E]=Dt.useState({x:0,y:0});if(s||/translate/.test(e.props.className||""))return e;const C=D=>{var Te,Me;const{clientX:L,clientY:B}=D,z=D.currentTarget.getBoundingClientRect(),G=L-(z.left+z.width/2),W=B-(z.top+z.height/2),Z=Math.max(-1,Math.min(1,G/(z.width/2))),J=Math.max(-1,Math.min(1,W/(z.height/2))),X=Z*EA.x,ce=J*EA.y;E({x:X,y:ce}),(Me=(Te=e.props).onMouseMove)==null||Me.call(Te,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)},A={"--opencx-wobble-x":p?`${g.x}px`:"0px","--opencx-wobble-y":p?`${g.y}px`:"0px"};return Dt.cloneElement(e,{ref:f,onMouseMove:C,onMouseEnter:S,onMouseLeave:R,style:{...A,...e.props.style},className:Lt("translate-x-[var(--opencx-wobble-x)]","translate-y-[var(--opencx-wobble-y)]",`hover:${mH[a]}`,n,e.props.className,"transition-all ease-out")})}));Wm.displayName="Wobble";const gH=pH(Lt("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:"h-11 px-8",icon:"h-10 w-10",fit:"size-fit p-2"}},defaultVariants:{variant:"default",size:"default"}}),uo=ie.forwardRef(({className:e,variant:n,size:a,asChild:s=!1,...f},p)=>{const d=s?PT.Slot:"button";return U.jsx(Wm,{ref:p,children:U.jsx(d,{className:Lt(gH({variant:n,size:a,className:e})),...f})})});uo.displayName="Button";function vH({messageId:e,sessionId:n,className:a}){const[s,f]=yt.useVote(e,n),[p,d]=Dt.useState(null),[g,E]=Dt.useState(null),b=async C=>{E(null);try{await f(C),d(C)}catch{E("Failed to submit feedback")}};return g?U.jsxs(Sr.motion.div,{initial:{opacity:0},animate:{opacity:1},className:Lt("flex items-center gap-1 text-destructive text-xs",a),children:[U.jsx(cn.AlertCircle,{className:"size-3"}),U.jsx("span",{children:g}),U.jsx(uo,{variant:"ghost",size:"fit",className:"text-xs hover:text-primary",onClick:()=>E(null),children:"Try again"})]}):U.jsx(Sr.AnimatePresence,{mode:"wait",children:p?U.jsxs(Sr.motion.div,{initial:{opacity:0,scale:.95},animate:{opacity:1,scale:1},className:Lt("text-sm text-muted-foreground flex items-center gap-2",a),children:[p==="up"?U.jsx(cn.ThumbsUp,{className:"size-3 text-green-500"}):U.jsx(cn.ThumbsDown,{className:"size-3 text-red-500"}),U.jsx("span",{className:"text-xs",children:p==="up"?"Feedback received, thank you!":"We'll work on improving"})]}):U.jsxs(Sr.motion.div,{className:Lt("flex gap-0.5",a),initial:{opacity:0,y:10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},children:[U.jsx(uo,{variant:"ghost",size:"fit",className:Lt("rounded-full transition-all hover:text-green-500 hover:bg-green-50/50",s.loading&&"opacity-50 cursor-not-allowed"),disabled:s.loading,onClick:()=>b("up"),children:U.jsx(cn.ThumbsUp,{className:"size-3.5"})}),U.jsx(uo,{variant:"ghost",size:"fit",className:Lt("rounded-full transition-all hover:text-red-500 hover:bg-red-50/50",s.loading&&"opacity-50 cursor-not-allowed"),disabled:s.loading,onClick:()=>b("down"),children:U.jsx(cn.ThumbsDown,{className:"size-3.5"})})]})})}function Xw({children:e,agent:n,className:a,messageId:s,sessionId:f}){return U.jsxs("div",{className:"flex flex-row items-end w-full gap-2",children:[U.jsx($1,{className:"flex items-center size-7 border-0",children:U.jsx(ix,{src:(n==null?void 0:n.profile_picture)??"",alt:"Agent Icon"})}),U.jsxs("div",{className:Lt("w-fit min-w-[80%]",a),children:[U.jsx("div",{className:"rounded-xl rounded-bl-none bg-secondary shadow-sm p-2.5 min-w-fit",children:e}),s&&f&&U.jsx(vH,{messageId:s,sessionId:f,className:"self-end"})]})]})}function s1({message:e,Wrapper:n,wrapperProps:a}){const s=yt.useConfigData(),f=s.componentStore.getComponent(e.component,s.debug);return f?n?Dt.createElement(n,{...a,key:e.id},U.jsx(f,{...e,id:e.id})):Dt.createElement(f,{...e,id:e.id,key:e.id}):null}const yH=400,EH=600,ux={widgetMinHeight:"min-h-[400px]",widgetMaxHeight:"max-h-[600px]",widgetHeight:"h-[600px]"},$3=(e,n)=>{const a=ZC(e.primary).toHsl(),s=ZC(e.primary).isLight()?"240 10% 3.9%":"0 0% 100%";return{"--opencx-primary":`${a.h} ${a.s}% ${a.l}%`,"--opencx-primary-foreground":s,"--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%","--opencx-trigger-offset":n.triggerOffset}},bH=10,wH=(e,n)=>({initial:{opacity:0,x:-e,...n.initial},animate:{opacity:1,x:0,...n.animate},exit:{opacity:0,x:e,...n.exit}}),TH=(e,n)=>({initial:{opacity:0,x:e,...n.initial},animate:{opacity:1,x:0,...n.animate},exit:{opacity:0,x:-e,...n.exit}}),xH=(e,n)=>({initial:{opacity:0,y:e,...n.initial},animate:{opacity:1,y:0,...n.animate},exit:{opacity:0,y:-e,...n.exit}}),SH=(e,n)=>({initial:{opacity:0,y:-e,...n.initial},animate:{opacity:1,y:0,...n.animate},exit:{opacity:0,y:e,...n.exit}}),CH={right:wH,left:TH,up:xH,down:SH},oi=Dt.forwardRef(({fadeIn:e="down",distance:n=bH,children:a,snapExit:s=!1,overrides:f={},...p},d)=>{const g=e?CH[e](n,f):{};return s&&g.exit&&typeof g.exit=="object"&&!Array.isArray(g.exit)&&(g.exit.transition={duration:0}),U.jsx(Sr.motion.div,{ref:d,...p,...g,children:a})});oi.displayName="MotionDiv";function _H(){const{contact:e}=yt.useContact(),{collectUserData:n}=yt.useConfigData();return{shouldCollectDataFirst:n&&!(e!=null&&e.id)}}function AH({children:e,user:n,message:a}){var f,p,d;const s=Dt.useMemo(()=>a.deliveredAt?PL.formatDistance(new Date(a.deliveredAt),new Date,{addSuffix:!0}):null,[a.deliveredAt]);return U.jsxs("div",{className:"flex flex-row w-full gap-2 justify-end items-start group",children:[U.jsx("div",{className:"flex flex-col items-end gap-1 relative",children:U.jsxs("div",{className:"max-w-[85%] min-w-fit",children:[U.jsx("div",{className:"bg-primary p-2 text-primary-foreground rounded-xl leading-relaxed text-sm",children:e}),a.attachments&&a.attachments.length>0&&U.jsx("div",{className:"flex gap-1 flex-wrap mb-1",children:(f=a.attachments)==null?void 0:f.map(g=>U.jsx(Q3,{attachment:g},g.id))}),s&&U.jsxs("div",{className:"flex items-center justify-end gap-1 mt-1 text-[10px] text-zinc-500 opacity-0 group-hover:opacity-100 transition-opacity duration-200",children:[U.jsx("span",{children:s}),U.jsx(cn.CheckCheck,{className:"size-3"})]})]})}),U.jsxs($1,{className:"size-8 ring-2 ring-white shadow-sm",children:[U.jsx(ix,{src:n==null?void 0:n.avatarUrl,className:"object-cover",alt:(n==null?void 0:n.name)||"User avatar"}),U.jsx(ox,{className:"bg-zinc-100 text-zinc-600 text-xs font-medium",children:((d=(p=n==null?void 0:n.name)==null?void 0:p.slice(0,2))==null?void 0:d.toUpperCase())||"U"})]})]})}function kH({options:e,onKeyboardClick:n}){return U.jsx("div",{className:"flex items-center gap-2 p-2 flex-wrap",children:e.map((a,s)=>U.jsx(uo,{onClick:()=>n(a),className:"flex-1 rounded-full",size:"sm",children:a},s))})}const RH=qn.Root,NH=qn.Trigger,bA=qn.Group,DH=ie.forwardRef(({className:e,inset:n,children:a,...s},f)=>U.jsxs(qn.SubTrigger,{ref:f,className:Lt("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,U.jsx(cn.ChevronRight,{className:"ml-auto"})]}));DH.displayName=qn.SubTrigger.displayName;const OH=ie.forwardRef(({className:e,...n},a)=>U.jsx(qn.SubContent,{ref:a,className:Lt("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}));OH.displayName=qn.SubContent.displayName;const G3=ie.forwardRef(({className:e,sideOffset:n=4,...a},s)=>U.jsx(qn.Content,{ref:s,sideOffset:n,className:Lt("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}));G3.displayName=qn.Content.displayName;const b1=ie.forwardRef(({className:e,inset:n,...a},s)=>U.jsx(oi,{children:U.jsx(qn.Item,{ref:s,className:Lt("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})}));b1.displayName=qn.Item.displayName;const LH=ie.forwardRef(({className:e,children:n,checked:a,...s},f)=>U.jsxs(qn.CheckboxItem,{ref:f,className:Lt("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:[U.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:U.jsx(qn.ItemIndicator,{children:U.jsx(cn.Check,{className:"h-4 w-4"})})}),n]}));LH.displayName=qn.CheckboxItem.displayName;const IH=ie.forwardRef(({className:e,children:n,...a},s)=>U.jsxs(qn.RadioItem,{ref:s,className:Lt("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:[U.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:U.jsx(qn.ItemIndicator,{children:U.jsx(cn.Circle,{className:"h-2 w-2 fill-current"})})}),n]}));IH.displayName=qn.RadioItem.displayName;const MH=ie.forwardRef(({className:e,inset:n,...a},s)=>U.jsx(qn.Label,{ref:s,className:Lt("px-2 py-1.5 text-sm font-semibold",n&&"pl-8",e),...a}));MH.displayName=qn.Label.displayName;const X3=ie.forwardRef(({className:e,...n},a)=>U.jsx(qn.Separator,{ref:a,className:Lt("-mx-1 my-1 h-px bg-muted",e),...n}));X3.displayName=qn.Separator.displayName;function PH({className:e,...n}){return U.jsx("div",{className:Lt("animate-pulse rounded-md bg-secondary",e),...n})}const _T=ie.forwardRef(({className:e,...n},a)=>U.jsx(Wm,{scale:"1.1",ref:a,children:U.jsx(sT.Root,{className:Lt("peer group inline-flex h-5 w-9 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent shadow-sm transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input",e),...n,ref:a,children:U.jsx(sT.Thumb,{className:Lt("pointer-events-none block size-4 rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-4 data-[state=unchecked]:translate-x-0","group-active:scale-90 group-hover:active:scale-90")})})}));_T.displayName=sT.Root.displayName;function FH(){const e=yt.useLocale(),[n,a]=Dt.useState(!1),{clearSession:s}=yt.useChat(),{widgetSettings:f,setSettings:p}=yt.useConfigData(),d=()=>{p({persistSession:!(f!=null&&f.persistSession)})},g=()=>{p({useSoundEffects:!(f!=null&&f.useSoundEffects)})};return U.jsxs(RH,{open:n,onOpenChange:a,children:[U.jsx(NH,{asChild:!0,children:U.jsx(uo,{variant:"ghost",size:"fit",className:"rounded-full",children:U.jsx(cn.EllipsisVerticalIcon,{className:"size-4"})})}),U.jsxs(G3,{align:"end",className:"min-w-56",children:[U.jsxs(bA,{children:[U.jsxs(b1,{onSelect:E=>{E.preventDefault(),d()},children:[U.jsx(Sr.AnimatePresence,{mode:"wait",children:f!=null&&f.persistSession?U.jsx(oi,{fadeIn:"right",distance:4,snapExit:!0,children:U.jsx(cn.SaveIcon,{})},"save"):U.jsx(oi,{fadeIn:"right",distance:4,snapExit:!0,children:U.jsx(cn.SaveOffIcon,{})},"save-off")}),e.get("persist-session"),U.jsx(_T,{className:"ml-auto",checked:f==null?void 0:f.persistSession,onCheckedChange:d})]}),U.jsxs(b1,{onSelect:E=>{E.preventDefault(),g()},children:[U.jsx(Sr.AnimatePresence,{mode:"wait",children:f!=null&&f.useSoundEffects?U.jsx(oi,{fadeIn:"right",distance:4,snapExit:!0,children:U.jsx(cn.Volume2Icon,{})},"volume-2"):U.jsx(oi,{fadeIn:"right",distance:4,snapExit:!0,children:U.jsx(cn.VolumeOffIcon,{})},"volume-off")}),e.get("sound-effects"),U.jsx(_T,{className:"ml-auto",checked:f==null?void 0:f.useSoundEffects,onCheckedChange:g})]})]}),U.jsx(X3,{}),U.jsx(bA,{children:U.jsxs(b1,{onSelect:()=>{s(),a(!1)},children:[U.jsx(Sr.motion.div,{initial:{opacity:0,x:-4,rotate:360},animate:{opacity:1,x:0,rotate:0},children:U.jsx(cn.RotateCcw,{})}),e.get("reset-conversation")]})})]})]})}function UH(){const{data:e,isLoading:n}=yt.usePreludeData();return U.jsx("header",{className:"p-2 border-b bg-background",children:U.jsxs("div",{className:"flex items-center gap-2",children:[U.jsx("div",{className:"flex-1 pl-2",children:n?U.jsx(PH,{className:"h-4 w-2/3"}):U.jsx("h2",{className:"font-semibold",children:e==null?void 0:e.organization_name})}),U.jsx(FH,{})]})})}function BH({file:{status:e,file:n,error:a},onCancel:s}){const[f,p]=Dt.useState(null);Dt.useEffect(()=>{if(!n.type.startsWith("image/"))return;const E=new FileReader;return E.onload=()=>p(E.result),E.onerror=()=>console.error("Error reading file"),E.readAsDataURL(n),()=>E.abort()},[n]);const d=()=>{switch(e){case"uploading":return U.jsx(cn.Loader2,{className:"size-4 animate-spin"});case"error":return U.jsx(cn.AlertCircle,{className:"size-4 text-destructive"});default:return null}},g=()=>{const E=n.type.split("/")[0];return E==="image"&&f?U.jsx("img",{src:typeof f=="string"?f:"",className:"object-cover bg-secondary size-full",alt:n.name}):E==="audio"?U.jsx(cn.FileAudio,{}):U.jsx(cn.FileIcon,{})};return U.jsx(cT,{content:e==="error"?U.jsxs("span",{className:"text-destructive",children:["Failed to upload: ",a]}):n.name,children:U.jsxs("div",{className:Lt(e==="uploading"&&"opacity-50","group","size-12 border rounded-2xl overflow-hidden relative","flex items-center justify-center shrink-0"),children:[U.jsx("div",{className:"absolute inset-0 flex items-center justify-center",children:d()}),U.jsx("button",{className:Lt("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:U.jsx(cn.XIcon,{className:"size-4 text-primary-foreground"})}),U.jsx(g,{})]})})}const wA=Lt("rounded-3xl");function HH(){const{collectUserData:e}=yt.useConfigData(),n=Dt.useRef(null),{sendMessage:a,hookState:s,session:f}=yt.useChat(),{contact:p}=yt.useContact(),d=yt.useLocale(),[g,E]=Dt.useState(""),{allFiles:b,emptyTheFiles:C,handleCancelUpload:S,appendFiles:R,isUploading:A,successFiles:D}=yt.useUploadFiles(),L=f&&((f==null?void 0:f.isAssignedToHuman)||f.ai_closure_type===HL.AIClosureType.handed_off),B=Te=>{L&&R(Te)},z=async()=>{s.state!=="loading"&&(A&&JC.error("please wait for the file(s) to upload"),g.trim()&&(E(""),C(),await a({content:{text:g.trim()},user:{email:(p==null?void 0:p.email)??void 0,name:(p==null?void 0:p.name)??void 0},attachments:D.map(Te=>({url:Te.fileUrl,type:Te.file.type,name:Te.file.name,id:Te.id,size:Te.file.size}))})))},{getRootProps:G,getInputProps:W,open:Z}=BL.useDropzone({onDrop:B,noClick:!0,onDropRejected(){L&&JC.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"]}}),J=s.state==="loading",X=e&&!(p!=null&&p.id),ce=Te=>{const Me=Te.clipboardData;Me&&Me.files.length>0&&B(Array.from(Me.files))};return U.jsxs("div",{className:"p-2 relative space-y-1",...G(),children:[U.jsx("input",{...W()}),U.jsxs("div",{className:Lt(wA,"relative space-y-2 border transition-all shadow py-2"),children:[U.jsx("div",{className:"flex items-center gap-1 px-2",children:U.jsx(Sr.AnimatePresence,{mode:"popLayout",children:b.map(Te=>U.jsx(oi,{snapExit:!0,children:U.jsx(BH,{onCancel:()=>S(Te.id),file:Te})},Te.id))})}),U.jsx("textarea",{onPaste:ce,ref:n,id:"chat-input",dir:"auto",disabled:J,value:g,rows:3,className:Lt(wA,"w-full px-3","resize-none","bg-transparent outline-none","text-sm"),onChange:Te=>E(Te.target.value),onKeyDown:async Te=>{Te.key==="Enter"&&!Te.shiftKey&&(Te.preventDefault(),z())},placeholder:d.get("write-a-message")}),U.jsxs("div",{className:"px-2 flex justify-between",children:[U.jsx(cT,{side:"top",align:"end",content:"attach files, (maximum size 5mb)",children:U.jsx(uo,{onClick:()=>{L&&Z()},size:"fit",variant:"outline",className:Lt("disabled:opacity-0","rounded-full size-8 flex items-center justify-center p-0"),disabled:!L,children:U.jsx(cn.PaperclipIcon,{className:"size-4"})})}),U.jsx(cT,{content:"send message",children:U.jsx(uo,{size:"fit",onClick:z,disabled:J||X||A,className:"rounded-full size-8 flex items-center justify-center p-0",children:J?U.jsx(cn.CircleDashed,{className:"size-4 animate-spin animate-iteration-infinite"}):U.jsx(cn.SendHorizonal,{className:"size-4 rtl:-scale-100"})})})]})]})]})}function zH(){const{recreateSession:e}=yt.useChat(),n=yt.useLocale();return U.jsx("div",{className:"p-2",children:U.jsxs("div",{className:"p-2 bg-background rounded-3xl border shadow-2xl space-y-2",children:[U.jsxs("div",{className:"flex items-center gap-1",children:[U.jsx(cn.CheckCheckIcon,{className:"size-4 text-emerald-500"}),U.jsx("h2",{className:"text-sm font-medium",dir:"auto",children:n.get("session-closed-lead")})]}),U.jsx("div",{children:U.jsx(uo,{onClick:e,className:"rounded-2xl w-full",children:n.get("create-new-ticket")})})]})})}function jH(){const{session:e,hookState:n}=yt.useChat(),a=e&&e.isSessionClosed===!0&&n.state!=="loading";return U.jsx("div",{children:U.jsx(Sr.AnimatePresence,{mode:"wait",children:a?U.jsx(oi,{className:"overflow-hidden",overrides:{initial:{height:0},animate:{height:"auto"},exit:{height:0}},children:U.jsx(zH,{})},"session-closed"):U.jsx(oi,{className:"overflow-hidden",overrides:{initial:{height:0},animate:{height:"auto"},exit:{height:0}},children:U.jsx(HH,{})},"chat-input")})})}function VH(){const{state:e,hookState:n,session:a}=yt.useChat(),{componentStore:s,initialMessages:f,...p}=yt.useConfigData(),d=s.getComponent("loading"),g=Dt.useRef(null);function E(){setTimeout(()=>{const b=g.current;b&&(b.scrollTop=b.scrollHeight)},0)}return Dt.useEffect(()=>{E()},[e.messages]),U.jsxs("div",{"data-messages":!0,ref:g,className:"max-h-full scroll-smooth relative flex-1 py-4 px-3 space-y-3 overflow-auto",children:[e.messages.length===0&&((f==null?void 0:f.map((b,C)=>U.jsx(s1,{message:{component:"text",data:{message:b},id:`initial-${C}`,type:"FROM_BOT",timestamp:Date.now().toString()},Wrapper:Xw,wrapperProps:{agent:p.bot}},C)))??U.jsx(s1,{message:{component:"text",data:{message:"Hello, how can I help?"},id:"default-welcome",type:"FROM_BOT",agent:p.bot,timestamp:Date.now().toString()},Wrapper:Xw,wrapperProps:{agent:p.bot}},"default-welcome")),e.messages.map(b=>b.type==="FROM_USER"?U.jsx(AH,{message:b,user:p.user,children:b.content},b.id):b.type==="FROM_BOT"?b.component=="CHAT_EVENT"?U.jsx(s1,{message:b},b.id):U.jsx(s1,{message:b,Wrapper:Xw,wrapperProps:{agent:b.agent,messageId:b.id,sessionId:a==null?void 0:a.id}},b.id):null),n.state==="loading"&&U.jsx(d,{})]})}function YH(){var g;const{state:e,sendMessage:n,noMessages:a,handleKeyboard:s}=yt.useChat(),p=(g=yt.usePreludeData().data)==null?void 0:g.initial_questions,{observedElementRef:d}=$A({fallbackHeight:EH});return U.jsx("div",{ref:d,className:Lt(ux.widgetHeight,"w-full flex flex-col overflow-hidden bg-background z-10 origin-bottom absolute bottom-0 inset-x-0"),children:U.jsxs("div",{className:"w-full h-full justify-between flex flex-col relative",style:{background:"linear-gradient(333.89deg, rgba(75, 240, 171, 0.8) 58%, rgba(75, 240, 171, 0) 85.74%), linear-gradient(113.43deg, #46B1FF 19.77%, #1883FF 65.81%)"},children:[U.jsx(UH,{}),U.jsxs("div",{className:"flex bg-background shadow-lg flex-col w-full flex-1 overflow-auto",children:[U.jsx(VH,{}),U.jsxs("footer",{children:[e.keyboard&&U.jsx(kH,{options:e.keyboard.options,onKeyboardClick:s}),a&&p&&U.jsx("div",{className:"flex items-center flex-row justify-end gap-2 flex-wrap px-2",children:p==null?void 0:p.map((E,b)=>U.jsx(uo,{dir:"auto",variant:"outline",size:"sm",onClick:()=>{n({content:{text:E}})},children:E},b))}),U.jsx(jH,{})]})]})]})})}const AT=ie.forwardRef(({className:e,type:n,...a},s)=>U.jsx(Wm,{ref:s,children:U.jsx("input",{type:n,className:Lt("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",e),...a})}));AT.displayName="Input";const WH=Nw.z.object({name:Nw.z.string().min(2),email:Nw.z.string().email()});function qH(){const e=yt.useLocale(),{data:n}=yt.usePreludeData(),{createContactAsync:a}=yt.useContact(),{assets:s}=yt.useConfigData(),{observedElementRef:f}=$A({fallbackHeight:yH}),[p,d]=yt._default(async g=>{g.preventDefault();const E=new FormData(g.currentTarget),b=Object.fromEntries(E.entries()),C=WH.safeParse(b);C.success&&await a(C.data)});return U.jsxs("div",{ref:f,className:Lt(ux.widgetMinHeight,"h-fit bg-primary rounded-3xl flex flex-col"),children:[U.jsxs("div",{className:"flex-1 flex flex-col px-4 py-12 text-start space-y-4 relative z-10",children:[U.jsx("div",{className:"flex items-center justify-between w-full mb-2",children:s!=null&&s.organizationLogo?U.jsx("img",{src:s==null?void 0:s.organizationLogo,alt:"Company Logo",className:"h-8 w-auto object-contain"}):U.jsx("h2",{className:"font-bold text-xl text-primary-foreground",children:n==null?void 0:n.organization_name})}),U.jsxs("div",{className:"space-y-2",children:[U.jsx("h1",{className:"text-2xl font-bold text-primary-foreground",children:e.get("welcome-title")}),U.jsx("p",{className:"text-primary-foreground/90 text-sm max-w-[320px] leading-relaxed",children:e.get("welcome-description")})]})]}),U.jsx("div",{className:"p-2 bg-background rounded-3xl",children:U.jsxs("form",{onSubmit:d,className:"space-y-2",children:[U.jsxs("div",{className:"space-y-2",children:[U.jsx(AT,{required:!0,dir:"auto",autoFocus:!0,placeholder:e.get("your-name"),name:"name",className:"rounded-3xl pl-3"}),U.jsx(AT,{required:!0,dir:"auto",type:"email",placeholder:e.get("your-email"),name:"email",className:"rounded-3xl pl-3"})]}),U.jsxs(uo,{disabled:p.loading,className:"w-full rounded-3xl",children:[p.loading?e.get("starting-chat"):e.get("start-chat"),U.jsx(cn.SendHorizontal,{className:"size-4"})]})]})})]})}function QH(){const{shouldCollectDataFirst:e}=_H();return U.jsx("div",{className:"bg-background size-full",children:U.jsx(Sr.AnimatePresence,{mode:"wait",children:e?U.jsx(oi,{fadeIn:"right",className:"size-full",snapExit:!0,children:U.jsx(qH,{})},"welcome-screen"):U.jsx(oi,{fadeIn:"right",className:"size-full",snapExit:!0,children:U.jsx(YH,{})},"chat-screen")})})}function el(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 $H(e,n){typeof e=="function"?e(n):e!=null&&(e.current=n)}function GH(...e){return n=>e.forEach(a=>$H(a,n))}function sl(...e){return ie.useCallback(GH(...e),e)}function XH(e,n=[]){let a=[];function s(p,d){const g=ie.createContext(d),E=a.length;a=[...a,d];const b=S=>{var z;const{scope:R,children:A,...D}=S,L=((z=R==null?void 0:R[e])==null?void 0:z[E])||g,B=ie.useMemo(()=>D,Object.values(D));return U.jsx(L.Provider,{value:B,children:A})};b.displayName=p+"Provider";function C(S,R){var L;const A=((L=R==null?void 0:R[e])==null?void 0:L[E])||g,D=ie.useContext(A);if(D)return D;if(d!==void 0)return d;throw new Error(`\`${S}\` must be used within \`${p}\``)}return[b,C]}const f=()=>{const p=a.map(d=>ie.createContext(d));return function(g){const E=(g==null?void 0:g[e])||p;return ie.useMemo(()=>({[`__scope${e}`]:{...g,[e]:E}}),[g,E])}};return f.scopeName=e,[s,KH(f,...n)]}function KH(...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(p){const d=s.reduce((g,{useScope:E,scopeName:b})=>{const S=E(p)[`__scope${b}`];return{...g,...S}},{});return ie.useMemo(()=>({[`__scope${n.scopeName}`]:d}),[d])}};return a.scopeName=n.scopeName,a}var kT={exports:{}},Ya={},l1={exports:{}},Kw={};/**
|
|
27
|
+
`}),a}function H_(e){let n=0,a=e.charCodeAt(n);for(;a===9||a===32;)n++,a=e.charCodeAt(n);return e.slice(n)}function z_(e,n){const a=bF(e,n),s=a.one(e,void 0),f=yF(a),p=Array.isArray(s)?{type:"root",children:s}:s||{type:"root",children:[]};return f&&p.children.push({type:"text",value:`
|
|
28
|
+
`},f),p}function CF(e,n){return e&&"run"in e?async function(a,s){const f=z_(a,{file:s,...n});await e.run(f,s)}:function(a,s){return z_(a,{file:s,...e||n})}}function j_(e){if(e)throw e}var v1=Object.prototype.hasOwnProperty,u3=Object.prototype.toString,V_=Object.defineProperty,Y_=Object.getOwnPropertyDescriptor,W_=function(n){return typeof Array.isArray=="function"?Array.isArray(n):u3.call(n)==="[object Array]"},q_=function(n){if(!n||u3.call(n)!=="[object Object]")return!1;var a=v1.call(n,"constructor"),s=n.constructor&&n.constructor.prototype&&v1.call(n.constructor.prototype,"isPrototypeOf");if(n.constructor&&!a&&!s)return!1;var f;for(f in n);return typeof f>"u"||v1.call(n,f)},Q_=function(n,a){V_&&a.name==="__proto__"?V_(n,a.name,{enumerable:!0,configurable:!0,value:a.newValue,writable:!0}):n[a.name]=a.newValue},$_=function(n,a){if(a==="__proto__")if(v1.call(n,a)){if(Y_)return Y_(n,a).value}else return;return n[a]},_F=function e(){var n,a,s,f,p,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=$_(g,a),f=$_(n,a),g!==f&&(C&&f&&(q_(f)||(p=W_(f)))?(p?(p=!1,d=s&&W_(s)?s:[]):d=s&&q_(s)?s:{},Q_(g,{name:a,newValue:e(C,d,f)})):typeof f<"u"&&Q_(g,{name:a,newValue:f}));return g};const Hw=vt.getDefaultExportFromCjs(_F);function yT(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 AF(){const e=[],n={run:a,use:s};return n;function a(...f){let p=-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[++p];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?kF(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 kF(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(p,f):E instanceof Error?f(E):p(E))}function f(d,...g){a||(a=!0,n(d,...g))}function p(d){f(null,d)}}const zo={basename:RF,dirname:NF,extname:DF,join:OF,sep:"/"};function RF(e,n){if(n!==void 0&&typeof n!="string")throw new TypeError('"ext" argument must be a string');jm(e);let a=0,s=-1,f=e.length,p;if(n===void 0||n.length===0||n.length>e.length){for(;f--;)if(e.codePointAt(f)===47){if(p){a=f+1;break}}else s<0&&(p=!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(p){a=f+1;break}}else d<0&&(p=!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 NF(e){if(jm(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 DF(e){jm(e);let n=e.length,a=-1,s=0,f=-1,p=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:p!==1&&(p=1):f>-1&&(p=-1)}return f<0||a<0||p===0||p===1&&f===a-1&&f===s+1?"":e.slice(f,a)}function OF(...e){let n=-1,a;for(;++n<e.length;)jm(e[n]),e[n]&&(a=a===void 0?e[n]:a+"/"+e[n]);return a===void 0?".":LF(a)}function LF(e){jm(e);const n=e.codePointAt(0)===47;let a=IF(e,!n);return a.length===0&&!n&&(a="."),a.length>0&&e.codePointAt(e.length-1)===47&&(a+="/"),n?"/"+a:a}function IF(e,n){let a="",s=0,f=-1,p=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||p===1))if(f!==d-1&&p===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,p=0;continue}}else if(a.length>0){a="",s=0,f=d,p=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,p=0}else g===46&&p>-1?p++:p=-1}return a}function jm(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const MF={cwd:PF};function PF(){return"/"}function ET(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function FF(e){if(typeof e=="string")e=new URL(e);else if(!ET(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 UF(e)}function UF(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 zw=["history","path","basename","stem","extname","dirname"];class s3{constructor(n){let a;n?ET(n)?a={path:n}:typeof n=="string"||BF(n)?a={value:n}:a=n:a={},this.cwd="cwd"in a?"":MF.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let s=-1;for(;++s<zw.length;){const p=zw[s];p in a&&a[p]!==void 0&&a[p]!==null&&(this[p]=p==="history"?[...a[p]]:a[p])}let f;for(f in a)zw.includes(f)||(this[f]=a[f])}get basename(){return typeof this.path=="string"?zo.basename(this.path):void 0}set basename(n){Vw(n,"basename"),jw(n,"basename"),this.path=zo.join(this.dirname||"",n)}get dirname(){return typeof this.path=="string"?zo.dirname(this.path):void 0}set dirname(n){G_(this.basename,"dirname"),this.path=zo.join(n||"",this.basename)}get extname(){return typeof this.path=="string"?zo.extname(this.path):void 0}set extname(n){if(jw(n,"extname"),G_(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=zo.join(this.dirname,this.stem+(n||""))}get path(){return this.history[this.history.length-1]}set path(n){ET(n)&&(n=FF(n)),Vw(n,"path"),this.path!==n&&this.history.push(n)}get stem(){return typeof this.path=="string"?zo.basename(this.path,this.extname):void 0}set stem(n){Vw(n,"stem"),jw(n,"stem"),this.path=zo.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 ra(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 jw(e,n){if(e&&e.includes(zo.sep))throw new Error("`"+n+"` cannot be a path: did not expect `"+zo.sep+"`")}function Vw(e,n){if(!e)throw new Error("`"+n+"` cannot be empty")}function G_(e,n){if(!e)throw new Error("Setting `"+n+"` requires `path` to be set too")}function BF(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const HF=function(e){const s=this.constructor.prototype,f=s[e],p=function(){return f.apply(p,arguments)};return Object.setPrototypeOf(p,s),p},zF={}.hasOwnProperty;class ZT extends HF{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=AF()}copy(){const n=new ZT;let a=-1;for(;++a<this.attachers.length;){const s=this.attachers[a];n.use(...s)}return n.data(Hw(!0,{},this.namespace)),n}data(n,a){return typeof n=="string"?arguments.length===2?(qw("data",this.frozen),this.namespace[n]=a,this):zF.call(this.namespace,n)&&this.namespace[n]||void 0:n?(qw("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=o1(n),s=this.parser||this.Parser;return Yw("parse",s),s(String(a),a)}process(n,a){const s=this;return this.freeze(),Yw("process",this.parser||this.Parser),Ww("process",this.compiler||this.Compiler),a?f(void 0,a):new Promise(f);function f(p,d){const g=o1(n),E=s.parse(g);s.run(E,g,function(C,S,R){if(C||!S||!R)return b(C);const A=S,D=s.stringify(A,R);YF(D)?R.value=D:R.result=D,b(C,R)});function b(C,S){C||!S?d(C):p?p(S):a(void 0,S)}}}processSync(n){let a=!1,s;return this.freeze(),Yw("processSync",this.parser||this.Parser),Ww("processSync",this.compiler||this.Compiler),this.process(n,f),K_("processSync","process",a),s;function f(p,d){a=!0,j_(p),s=d}}run(n,a,s){X_(n),this.freeze();const f=this.transformers;return!s&&typeof a=="function"&&(s=a,a=void 0),s?p(void 0,s):new Promise(p);function p(d,g){const E=o1(a);f.run(n,E,b);function b(C,S,R){const A=S||n;C?g(C):d?d(A):s(void 0,A,R)}}}runSync(n,a){let s=!1,f;return this.run(n,a,p),K_("runSync","run",s),f;function p(d,g){j_(d),f=g,s=!0}}stringify(n,a){this.freeze();const s=o1(a),f=this.compiler||this.Compiler;return Ww("stringify",f),X_(n),f(n,s)}use(n,...a){const s=this.attachers,f=this.namespace;if(qw("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 p(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=Hw(!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];p(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[A,...D]=C;const L=s[R][1];yT(L)&&yT(A)&&(A=Hw(!0,L,A)),s[R]=[b,A,...D]}}}}const jF=new ZT().freeze();function Yw(e,n){if(typeof n!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function Ww(e,n){if(typeof n!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function qw(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 X_(e){if(!yT(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function K_(e,n,a){if(!a)throw new Error("`"+e+"` finished async. Use `"+n+"` instead")}function o1(e){return VF(e)?e:new s3(e)}function VF(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function YF(e){return typeof e=="string"||WF(e)}function WF(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const qF="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",Z_=[],J_={allowDangerousHtml:!0},QF=/^(https?|ircs?|mailto|xmpp)$/i,$F=[{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 GF(e){const n=e.allowedElements,a=e.allowElement,s=e.children||"",f=e.className,p=e.components,d=e.disallowedElements,g=e.rehypePlugins||Z_,E=e.remarkPlugins||Z_,b=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...J_}:J_,C=e.skipHtml,S=e.unwrapDisallowed,R=e.urlTransform||XF,A=jF().use(B9).use(E).use(CF,b).use(g),D=new s3;typeof s=="string"&&(D.value=s);for(const G of $F)Object.hasOwn(e,G.from)&&(""+G.from+(G.to?"use `"+G.to+"` instead":"remove it")+qF+G.id,void 0);const L=A.parse(D);let B=A.runSync(L,D);return f&&(B={type:"element",tagName:"div",properties:{className:f},children:B.type==="root"?B.children:[B]}),B1(B,z),qP(B,{Fragment:U.Fragment,components:p,ignoreInvalidStyle:!0,jsx:U.jsx,jsxs:U.jsxs,passKeys:!0,passNode:!0});function z(G,W,Z){if(G.type==="raw"&&Z&&typeof W=="number")return C?Z.children.splice(W,1):Z.children[W]={type:"text",value:G.value},W;if(G.type==="element"){let J;for(J in Bw)if(Object.hasOwn(Bw,J)&&Object.hasOwn(G.properties,J)){const X=G.properties[J],ce=Bw[J];(ce===null||ce.includes(G.tagName))&&(G.properties[J]=R(String(X||""),J,G))}}if(G.type==="element"){let J=n?!n.includes(G.tagName):d?d.includes(G.tagName):!1;if(!J&&a&&typeof W=="number"&&(J=!a(G,W,Z)),J&&Z&&typeof W=="number")return S&&G.children?Z.children.splice(W,1,...G.children):Z.children.splice(W,1),W}}}function XF(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||QF.test(e.slice(0,n))?e:""}const KF=Dt.memo(GF,(e,n)=>e.children===n.children&&e.className===n.className),eA=/[#.]/g;function ZF(e,n){const a=e||"",s={};let f=0,p,d;for(;f<a.length;){eA.lastIndex=f;const g=eA.exec(a),E=a.slice(f,g?g.index:a.length);E&&(p?p==="#"?s.id=E:Array.isArray(s.className)?s.className.push(E):s.className=[E]:d=E,f+=E.length),g&&(p=g[0],f++)}return{type:"element",tagName:d||n||"div",properties:s,children:[]}}const bT={}.hasOwnProperty;function l3(e,n,a){const s=a&&n7(a);function f(p,d,...g){let E=-1,b;if(p==null){b={type:"root",children:[]};const C=d;g.unshift(C)}else if(b=ZF(p,n),b.tagName=b.tagName.toLowerCase(),s&&bT.call(s,b.tagName)&&(b.tagName=s[b.tagName]),JF(d))g.unshift(d);else{let C;for(C in d)bT.call(d,C)&&e7(e,b.properties,C,d[C])}for(;++E<g.length;)wT(b.children,g[E]);return b.type==="element"&&b.tagName==="template"&&(b.content={type:"root",children:b.children},b.children=[]),b}return f}function JF(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 p=f;for(const d of p)if(typeof d!="number"&&typeof d!="string")return!0}}return!!("children"in e&&Array.isArray(e.children))}function e7(e,n,a,s){const f=z1(e,a);let p=-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=x_(s):f.commaSeparated?d=y_(s):f.commaOrSpaceSeparated?d=x_(y_(s).join(" ")):d=tA(f,f.property,s):Array.isArray(s)?d=s.concat():d=f.property==="style"?t7(s):String(s);if(Array.isArray(d)){const g=[];for(;++p<d.length;){const E=tA(f,f.property,d[p]);g[p]=E}d=g}if(f.property==="className"&&Array.isArray(n.className)){const g=d;d=n.className.concat(g)}n[f.property]=d}}function wT(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;)wT(e,n[a]);else if(typeof n=="object"&&"type"in n)n.type==="root"?wT(e,n.children):e.push(n);else throw new Error("Expected node, nodes, or string, got `"+n+"`")}function tA(e,n,a){if(typeof a=="string"){if(e.number&&a&&!Number.isNaN(Number(a)))return Number(a);if((e.boolean||e.overloadedBoolean)&&(a===""||Om(a)===Om(n)))return!0}return a}function t7(e){const n=[];let a;for(a in e)bT.call(e,a)&&n.push([a,e[a]].join(": "));return n.join("; ")}function n7(e){const n={};let a=-1;for(;++a<e.length;)n[e[a].toLowerCase()]=e[a];return n}const r7=["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"],a7=l3(zm,"div"),i7=l3(ul,"g",r7);function o7(e){const n=String(e),a=[];return{toOffset:f,toPoint:s};function s(p){if(typeof p=="number"&&p>-1&&p<=n.length){let d=0;for(;;){let g=a[d];if(g===void 0){const E=nA(n,a[d-1]);g=E===-1?n.length+1:E+1,a[d]=g}if(g>p)return{line:d+1,column:p-(d>0?a[d-1]:0)+1,offset:p};d++}}}function f(p){if(p&&typeof p.line=="number"&&typeof p.column=="number"&&!Number.isNaN(p.line)&&!Number.isNaN(p.column)){for(;a.length<p.line;){const g=a[a.length-1],E=nA(n,g),b=E===-1?n.length+1:E+1;if(g===b)break;a.push(b)}const d=(p.line>1?a[p.line-2]:0)+p.column-1;if(d<a[p.line-1])return d}}}function nA(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 Cc={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/"},c3={}.hasOwnProperty,u7=Object.prototype;function s7(e,n){const a=n||{};return JT({file:a.file||void 0,location:!1,schema:a.space==="svg"?ul:zm,verbose:a.verbose||!1},e)}function JT(e,n){let a;switch(n.nodeName){case"#comment":{const s=n;return a={type:"comment",value:s.data},y1(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:d3(e,n.childNodes),data:{quirksMode:f}},e.file&&e.location){const p=String(e.file),d=o7(p),g=d.toPoint(0),E=d.toPoint(p.length);a.position={start:g,end:E}}return a}case"#documentType":{const s=n;return a={type:"doctype"},y1(e,s,a),a}case"#text":{const s=n;return a={type:"text",value:s.value},y1(e,s,a),a}default:return a=l7(e,n),a}}function d3(e,n){let a=-1;const s=[];for(;++a<n.length;){const f=JT(e,n[a]);s.push(f)}return s}function l7(e,n){const a=e.schema;e.schema=n.namespaceURI===Cc.svg?ul:zm;let s=-1;const f={};for(;++s<n.attrs.length;){const g=n.attrs[s],E=(g.prefix?g.prefix+":":"")+g.name;c3.call(u7,E)||(f[E]=g.value)}const d=(e.schema.space==="svg"?i7:a7)(n.tagName,f,d3(e,n.childNodes));if(y1(e,n,d),d.tagName==="template"){const g=n,E=g.sourceCodeLocation,b=E&&E.startTag&&Uf(E.startTag),C=E&&E.endTag&&Uf(E.endTag),S=JT(e,g.content);b&&C&&e.file&&(S.position={start:b.end,end:C.start}),d.content=S}return e.schema=a,d}function y1(e,n,a){if("sourceCodeLocation"in n&&n.sourceCodeLocation&&e.file){const s=c7(e,a,n.sourceCodeLocation);s&&(e.location=!0,a.position=s)}}function c7(e,n,a){const s=Uf(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 p={};let d;if(a.attrs)for(d in a.attrs)c3.call(a.attrs,d)&&(p[z1(e.schema,d).property]=Uf(a.attrs[d]));a.startTag;const g=Uf(a.startTag),E=a.endTag?Uf(a.endTag):void 0,b={opening:g};E&&(b.closing=E),b.properties=p,n.data={position:b}}}return s}function Uf(e){const n=rA({line:e.startLine,column:e.startCol,offset:e.startOffset}),a=rA({line:e.endLine,column:e.endCol,offset:e.endOffset});return n||a?{start:n,end:a}:void 0}function rA(e){return e.line&&e.column?e:void 0}const d7={},f7={}.hasOwnProperty,f3=ok("type",{handlers:{root:p7,element:E7,text:v7,comment:y7,doctype:g7}});function h7(e,n){const s=(n||d7).space;return f3(e,s==="svg"?ul:zm)}function p7(e,n){const a={nodeName:"#document",mode:(e.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return a.childNodes=ex(e.children,a,n),Zf(e,a),a}function m7(e,n){const a={nodeName:"#document-fragment",childNodes:[]};return a.childNodes=ex(e.children,a,n),Zf(e,a),a}function g7(e){const n={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:null};return Zf(e,n),n}function v7(e){const n={nodeName:"#text",value:e.value,parentNode:null};return Zf(e,n),n}function y7(e){const n={nodeName:"#comment",data:e.value,parentNode:null};return Zf(e,n),n}function E7(e,n){const a=n;let s=a;e.type==="element"&&e.tagName.toLowerCase()==="svg"&&a.space==="html"&&(s=ul);const f=[];let p;if(e.properties){for(p in e.properties)if(p!=="children"&&f7.call(e.properties,p)){const E=b7(s,p,e.properties[p]);E&&f.push(E)}}const d=s.space,g={nodeName:e.tagName,tagName:e.tagName,attrs:f,namespaceURI:Cc[d],childNodes:[],parentNode:null};return g.childNodes=ex(e.children,g,s),Zf(e,g),e.tagName==="template"&&e.content&&(g.content=m7(e.content,s)),g}function b7(e,n,a){const s=z1(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?Pk(a):Wk(a));const f={name:s.attribute,value:a===!0?"":String(a)};if(s.space&&s.space!=="html"&&s.space!=="svg"){const p=f.name.indexOf(":");p<0?f.prefix="":(f.name=f.name.slice(p+1),f.prefix=s.attribute.slice(0,p)),f.namespace=Cc[s.space]}return f}function ex(e,n,a){let s=-1;const f=[];if(e)for(;++s<e.length;){const p=f3(e[s],a);p.parentNode=n,f.push(p)}return f}function Zf(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 w7=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"],T7=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]),Sn="�";var M;(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"})(M||(M={}));const Va={DASH_DASH:"--",CDATA_START:"[CDATA[",DOCTYPE:"doctype",SCRIPT:"script",PUBLIC:"public",SYSTEM:"system"};function h3(e){return e>=55296&&e<=57343}function x7(e){return e>=56320&&e<=57343}function S7(e,n){return(e-55296)*1024+9216+n}function p3(e){return e!==32&&e!==10&&e!==13&&e!==9&&e!==12&&e>=1&&e<=31||e>=127&&e<=159}function m3(e){return e>=64976&&e<=65007||T7.has(e)}var le;(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"})(le||(le={}));const C7=65536;class _7{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=C7,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:p}=this,d=f+a,g=p+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(x7(a))return this.pos++,this._addGap(),S7(n,a)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,M.EOF;return this._err(le.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,M.EOF;const s=this.html.charCodeAt(a);return s===M.CARRIAGE_RETURN?M.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,M.EOF;let n=this.html.charCodeAt(this.pos);return n===M.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,M.LINE_FEED):n===M.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,h3(n)&&(n=this._processSurrogate(n)),this.handler.onParseError===null||n>31&&n<127||n===M.LINE_FEED||n===M.CARRIAGE_RETURN||n>159&&n<64976||this._checkForProblematicCharacters(n),n)}_checkForProblematicCharacters(n){p3(n)?this._err(le.controlCharacterInInputStream):m3(n)&&this._err(le.noncharacterInInputStream)}retreat(n){for(this.pos-=n;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}}var At;(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"})(At||(At={}));function g3(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 v3=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୕ୖ୪௫ఄ಄ದൡඅ櫬Āoungruent;扢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;怳Ādpuct;戏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ǣጓ\0y;䐎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Ā;tbrk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯᝳ;䎲;愶een;扬r;쀀𝔟gcostuvwឍឝឳេ៕៛ƀ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Ā;elƀ;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\0aĀ;t䀬;䁀ƀ;fl戁îᅠeĀmxent»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ↄⅪ←ٖ↛ǰ↉\0proø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;䅓Ācrir;榿;쀀𝔬ͯ\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\0m;櫳;櫽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))),A7=new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(e=>e.charCodeAt(0)));var Qw;const k7=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]]),R7=(Qw=String.fromCodePoint)!==null&&Qw!==void 0?Qw: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 N7(e){var n;return e>=55296&&e<=57343||e>1114111?65533:(n=k7.get(e))!==null&&n!==void 0?n:e}var Cr;(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"})(Cr||(Cr={}));const D7=32;var Js;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(Js||(Js={}));function TT(e){return e>=Cr.ZERO&&e<=Cr.NINE}function O7(e){return e>=Cr.UPPER_A&&e<=Cr.UPPER_F||e>=Cr.LOWER_A&&e<=Cr.LOWER_F}function L7(e){return e>=Cr.UPPER_A&&e<=Cr.UPPER_Z||e>=Cr.LOWER_A&&e<=Cr.LOWER_Z||TT(e)}function I7(e){return e===Cr.EQUALS||L7(e)}var xr;(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"})(xr||(xr={}));var Iu;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(Iu||(Iu={}));class y3{constructor(n,a,s){this.decodeTree=n,this.emitCodePoint=a,this.errors=s,this.state=xr.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Iu.Strict}startEntity(n){this.decodeMode=n,this.state=xr.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(n,a){switch(this.state){case xr.EntityStart:return n.charCodeAt(a)===Cr.NUM?(this.state=xr.NumericStart,this.consumed+=1,this.stateNumericStart(n,a+1)):(this.state=xr.NamedEntity,this.stateNamedEntity(n,a));case xr.NumericStart:return this.stateNumericStart(n,a);case xr.NumericDecimal:return this.stateNumericDecimal(n,a);case xr.NumericHex:return this.stateNumericHex(n,a);case xr.NamedEntity:return this.stateNamedEntity(n,a)}}stateNumericStart(n,a){return a>=n.length?-1:(n.charCodeAt(a)|D7)===Cr.LOWER_X?(this.state=xr.NumericHex,this.consumed+=1,this.stateNumericHex(n,a+1)):(this.state=xr.NumericDecimal,this.stateNumericDecimal(n,a))}addToNumericResult(n,a,s,f){if(a!==s){const p=s-a;this.result=this.result*Math.pow(f,p)+parseInt(n.substr(a,p),f),this.consumed+=p}}stateNumericHex(n,a){const s=a;for(;a<n.length;){const f=n.charCodeAt(a);if(TT(f)||O7(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(TT(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===Cr.SEMI)this.consumed+=1;else if(this.decodeMode===Iu.Strict)return 0;return this.emitCodePoint(N7(this.result),this.consumed),this.errors&&(n!==Cr.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(n,a){const{decodeTree:s}=this;let f=s[this.treeIndex],p=(f&Js.VALUE_LENGTH)>>14;for(;a<n.length;a++,this.excess++){const d=n.charCodeAt(a);if(this.treeIndex=M7(s,f,this.treeIndex+Math.max(1,p),d),this.treeIndex<0)return this.result===0||this.decodeMode===Iu.Attribute&&(p===0||I7(d))?0:this.emitNotTerminatedNamedEntity();if(f=s[this.treeIndex],p=(f&Js.VALUE_LENGTH)>>14,p!==0){if(d===Cr.SEMI)return this.emitNamedEntityData(this.treeIndex,p,this.consumed+this.excess);this.decodeMode!==Iu.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]&Js.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]&~Js.VALUE_LENGTH:f[n+1],s),a===3&&this.emitCodePoint(f[n+2],s),s}end(){var n;switch(this.state){case xr.NamedEntity:return this.result!==0&&(this.decodeMode!==Iu.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case xr.NumericDecimal:return this.emitNumericEntity(0,2);case xr.NumericHex:return this.emitNumericEntity(0,3);case xr.NumericStart:return(n=this.errors)===null||n===void 0||n.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case xr.EntityStart:return 0}}}function E3(e){let n="";const a=new y3(e,s=>n+=R7(s));return function(f,p){let d=0,g=0;for(;(g=f.indexOf("&",g))>=0;){n+=f.slice(d,g),a.startEntity(p);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 M7(e,n,a,s){const f=(n&Js.BRANCH_LENGTH)>>7,p=n&Js.JUMP_TABLE;if(f===0)return p!==0&&s===p?a:-1;if(p){const E=s-p;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}E3(v3);E3(A7);var we;(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/"})(we||(we={}));var _c;(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"})(_c||(_c={}));var ki;(function(e){e.NO_QUIRKS="no-quirks",e.QUIRKS="quirks",e.LIMITED_QUIRKS="limited-quirks"})(ki||(ki={}));var re;(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"})(re||(re={}));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 P7=new Map([[re.A,y.A],[re.ADDRESS,y.ADDRESS],[re.ANNOTATION_XML,y.ANNOTATION_XML],[re.APPLET,y.APPLET],[re.AREA,y.AREA],[re.ARTICLE,y.ARTICLE],[re.ASIDE,y.ASIDE],[re.B,y.B],[re.BASE,y.BASE],[re.BASEFONT,y.BASEFONT],[re.BGSOUND,y.BGSOUND],[re.BIG,y.BIG],[re.BLOCKQUOTE,y.BLOCKQUOTE],[re.BODY,y.BODY],[re.BR,y.BR],[re.BUTTON,y.BUTTON],[re.CAPTION,y.CAPTION],[re.CENTER,y.CENTER],[re.CODE,y.CODE],[re.COL,y.COL],[re.COLGROUP,y.COLGROUP],[re.DD,y.DD],[re.DESC,y.DESC],[re.DETAILS,y.DETAILS],[re.DIALOG,y.DIALOG],[re.DIR,y.DIR],[re.DIV,y.DIV],[re.DL,y.DL],[re.DT,y.DT],[re.EM,y.EM],[re.EMBED,y.EMBED],[re.FIELDSET,y.FIELDSET],[re.FIGCAPTION,y.FIGCAPTION],[re.FIGURE,y.FIGURE],[re.FONT,y.FONT],[re.FOOTER,y.FOOTER],[re.FOREIGN_OBJECT,y.FOREIGN_OBJECT],[re.FORM,y.FORM],[re.FRAME,y.FRAME],[re.FRAMESET,y.FRAMESET],[re.H1,y.H1],[re.H2,y.H2],[re.H3,y.H3],[re.H4,y.H4],[re.H5,y.H5],[re.H6,y.H6],[re.HEAD,y.HEAD],[re.HEADER,y.HEADER],[re.HGROUP,y.HGROUP],[re.HR,y.HR],[re.HTML,y.HTML],[re.I,y.I],[re.IMG,y.IMG],[re.IMAGE,y.IMAGE],[re.INPUT,y.INPUT],[re.IFRAME,y.IFRAME],[re.KEYGEN,y.KEYGEN],[re.LABEL,y.LABEL],[re.LI,y.LI],[re.LINK,y.LINK],[re.LISTING,y.LISTING],[re.MAIN,y.MAIN],[re.MALIGNMARK,y.MALIGNMARK],[re.MARQUEE,y.MARQUEE],[re.MATH,y.MATH],[re.MENU,y.MENU],[re.META,y.META],[re.MGLYPH,y.MGLYPH],[re.MI,y.MI],[re.MO,y.MO],[re.MN,y.MN],[re.MS,y.MS],[re.MTEXT,y.MTEXT],[re.NAV,y.NAV],[re.NOBR,y.NOBR],[re.NOFRAMES,y.NOFRAMES],[re.NOEMBED,y.NOEMBED],[re.NOSCRIPT,y.NOSCRIPT],[re.OBJECT,y.OBJECT],[re.OL,y.OL],[re.OPTGROUP,y.OPTGROUP],[re.OPTION,y.OPTION],[re.P,y.P],[re.PARAM,y.PARAM],[re.PLAINTEXT,y.PLAINTEXT],[re.PRE,y.PRE],[re.RB,y.RB],[re.RP,y.RP],[re.RT,y.RT],[re.RTC,y.RTC],[re.RUBY,y.RUBY],[re.S,y.S],[re.SCRIPT,y.SCRIPT],[re.SEARCH,y.SEARCH],[re.SECTION,y.SECTION],[re.SELECT,y.SELECT],[re.SOURCE,y.SOURCE],[re.SMALL,y.SMALL],[re.SPAN,y.SPAN],[re.STRIKE,y.STRIKE],[re.STRONG,y.STRONG],[re.STYLE,y.STYLE],[re.SUB,y.SUB],[re.SUMMARY,y.SUMMARY],[re.SUP,y.SUP],[re.TABLE,y.TABLE],[re.TBODY,y.TBODY],[re.TEMPLATE,y.TEMPLATE],[re.TEXTAREA,y.TEXTAREA],[re.TFOOT,y.TFOOT],[re.TD,y.TD],[re.TH,y.TH],[re.THEAD,y.THEAD],[re.TITLE,y.TITLE],[re.TR,y.TR],[re.TRACK,y.TRACK],[re.TT,y.TT],[re.U,y.U],[re.UL,y.UL],[re.SVG,y.SVG],[re.VAR,y.VAR],[re.WBR,y.WBR],[re.XMP,y.XMP]]);function Jf(e){var n;return(n=P7.get(e))!==null&&n!==void 0?n:y.UNKNOWN}const _e=y,F7={[we.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]),[we.MATHML]:new Set([_e.MI,_e.MO,_e.MN,_e.MS,_e.MTEXT,_e.ANNOTATION_XML]),[we.SVG]:new Set([_e.TITLE,_e.FOREIGN_OBJECT,_e.DESC]),[we.XLINK]:new Set,[we.XML]:new Set,[we.XMLNS]:new Set},xT=new Set([_e.H1,_e.H2,_e.H3,_e.H4,_e.H5,_e.H6]);re.STYLE,re.SCRIPT,re.XMP,re.IFRAME,re.NOEMBED,re.NOFRAMES,re.PLAINTEXT;var F;(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"})(F||(F={}));const Wn={DATA:F.DATA,RCDATA:F.RCDATA,RAWTEXT:F.RAWTEXT,SCRIPT_DATA:F.SCRIPT_DATA,PLAINTEXT:F.PLAINTEXT,CDATA_SECTION:F.CDATA_SECTION};function U7(e){return e>=M.DIGIT_0&&e<=M.DIGIT_9}function Sm(e){return e>=M.LATIN_CAPITAL_A&&e<=M.LATIN_CAPITAL_Z}function B7(e){return e>=M.LATIN_SMALL_A&&e<=M.LATIN_SMALL_Z}function Xs(e){return B7(e)||Sm(e)}function aA(e){return Xs(e)||U7(e)}function u1(e){return e+32}function b3(e){return e===M.SPACE||e===M.LINE_FEED||e===M.TABULATION||e===M.FORM_FEED}function iA(e){return b3(e)||e===M.SOLIDUS||e===M.GREATER_THAN_SIGN}function H7(e){return e===M.NULL?le.nullCharacterReference:e>1114111?le.characterReferenceOutsideUnicodeRange:h3(e)?le.surrogateCharacterReference:m3(e)?le.noncharacterCharacterReference:p3(e)||e===M.CARRIAGE_RETURN?le.controlCharacterReference:null}class z7{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=F.DATA,this.returnState=F.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new _7(a),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new y3(v3,(s,f)=>{this.preprocessor.pos=this.entityStartPos+f-1,this._flushCodePointConsumedAsCharacterReference(s)},a.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(le.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:s=>{this._err(le.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+s)},validateNumericCharacterReference:s=>{const f=H7(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:At.START_TAG,tagName:"",tagID:y.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:At.END_TAG,tagName:"",tagID:y.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(n){this.currentToken={type:At.COMMENT,data:"",location:this.getCurrentLocation(n)}}_createDoctypeToken(n){this.currentToken={type:At.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(g3(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(le.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=Jf(n.tagName),n.type===At.START_TAG?(this.lastStartTagName=n.tagName,this.handler.onStartTag(n)):(n.attrs.length>0&&this._err(le.endTagWithAttributes),n.selfClosing&&this._err(le.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 At.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case At.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case At.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:At.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=b3(n)?At.WHITESPACE_CHARACTER:n===M.NULL?At.NULL_CHARACTER:At.CHARACTER;this._appendCharToCurrentCharacterToken(a,String.fromCodePoint(n))}_emitChars(n){this._appendCharToCurrentCharacterToken(At.CHARACTER,n)}_startCharacterReference(){this.returnState=this.state,this.state=F.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?Iu.Attribute:Iu.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===F.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===F.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===F.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(n){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(n):this._emitCodePoint(n)}_callState(n){switch(this.state){case F.DATA:{this._stateData(n);break}case F.RCDATA:{this._stateRcdata(n);break}case F.RAWTEXT:{this._stateRawtext(n);break}case F.SCRIPT_DATA:{this._stateScriptData(n);break}case F.PLAINTEXT:{this._statePlaintext(n);break}case F.TAG_OPEN:{this._stateTagOpen(n);break}case F.END_TAG_OPEN:{this._stateEndTagOpen(n);break}case F.TAG_NAME:{this._stateTagName(n);break}case F.RCDATA_LESS_THAN_SIGN:{this._stateRcdataLessThanSign(n);break}case F.RCDATA_END_TAG_OPEN:{this._stateRcdataEndTagOpen(n);break}case F.RCDATA_END_TAG_NAME:{this._stateRcdataEndTagName(n);break}case F.RAWTEXT_LESS_THAN_SIGN:{this._stateRawtextLessThanSign(n);break}case F.RAWTEXT_END_TAG_OPEN:{this._stateRawtextEndTagOpen(n);break}case F.RAWTEXT_END_TAG_NAME:{this._stateRawtextEndTagName(n);break}case F.SCRIPT_DATA_LESS_THAN_SIGN:{this._stateScriptDataLessThanSign(n);break}case F.SCRIPT_DATA_END_TAG_OPEN:{this._stateScriptDataEndTagOpen(n);break}case F.SCRIPT_DATA_END_TAG_NAME:{this._stateScriptDataEndTagName(n);break}case F.SCRIPT_DATA_ESCAPE_START:{this._stateScriptDataEscapeStart(n);break}case F.SCRIPT_DATA_ESCAPE_START_DASH:{this._stateScriptDataEscapeStartDash(n);break}case F.SCRIPT_DATA_ESCAPED:{this._stateScriptDataEscaped(n);break}case F.SCRIPT_DATA_ESCAPED_DASH:{this._stateScriptDataEscapedDash(n);break}case F.SCRIPT_DATA_ESCAPED_DASH_DASH:{this._stateScriptDataEscapedDashDash(n);break}case F.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataEscapedLessThanSign(n);break}case F.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:{this._stateScriptDataEscapedEndTagOpen(n);break}case F.SCRIPT_DATA_ESCAPED_END_TAG_NAME:{this._stateScriptDataEscapedEndTagName(n);break}case F.SCRIPT_DATA_DOUBLE_ESCAPE_START:{this._stateScriptDataDoubleEscapeStart(n);break}case F.SCRIPT_DATA_DOUBLE_ESCAPED:{this._stateScriptDataDoubleEscaped(n);break}case F.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:{this._stateScriptDataDoubleEscapedDash(n);break}case F.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:{this._stateScriptDataDoubleEscapedDashDash(n);break}case F.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataDoubleEscapedLessThanSign(n);break}case F.SCRIPT_DATA_DOUBLE_ESCAPE_END:{this._stateScriptDataDoubleEscapeEnd(n);break}case F.BEFORE_ATTRIBUTE_NAME:{this._stateBeforeAttributeName(n);break}case F.ATTRIBUTE_NAME:{this._stateAttributeName(n);break}case F.AFTER_ATTRIBUTE_NAME:{this._stateAfterAttributeName(n);break}case F.BEFORE_ATTRIBUTE_VALUE:{this._stateBeforeAttributeValue(n);break}case F.ATTRIBUTE_VALUE_DOUBLE_QUOTED:{this._stateAttributeValueDoubleQuoted(n);break}case F.ATTRIBUTE_VALUE_SINGLE_QUOTED:{this._stateAttributeValueSingleQuoted(n);break}case F.ATTRIBUTE_VALUE_UNQUOTED:{this._stateAttributeValueUnquoted(n);break}case F.AFTER_ATTRIBUTE_VALUE_QUOTED:{this._stateAfterAttributeValueQuoted(n);break}case F.SELF_CLOSING_START_TAG:{this._stateSelfClosingStartTag(n);break}case F.BOGUS_COMMENT:{this._stateBogusComment(n);break}case F.MARKUP_DECLARATION_OPEN:{this._stateMarkupDeclarationOpen(n);break}case F.COMMENT_START:{this._stateCommentStart(n);break}case F.COMMENT_START_DASH:{this._stateCommentStartDash(n);break}case F.COMMENT:{this._stateComment(n);break}case F.COMMENT_LESS_THAN_SIGN:{this._stateCommentLessThanSign(n);break}case F.COMMENT_LESS_THAN_SIGN_BANG:{this._stateCommentLessThanSignBang(n);break}case F.COMMENT_LESS_THAN_SIGN_BANG_DASH:{this._stateCommentLessThanSignBangDash(n);break}case F.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:{this._stateCommentLessThanSignBangDashDash(n);break}case F.COMMENT_END_DASH:{this._stateCommentEndDash(n);break}case F.COMMENT_END:{this._stateCommentEnd(n);break}case F.COMMENT_END_BANG:{this._stateCommentEndBang(n);break}case F.DOCTYPE:{this._stateDoctype(n);break}case F.BEFORE_DOCTYPE_NAME:{this._stateBeforeDoctypeName(n);break}case F.DOCTYPE_NAME:{this._stateDoctypeName(n);break}case F.AFTER_DOCTYPE_NAME:{this._stateAfterDoctypeName(n);break}case F.AFTER_DOCTYPE_PUBLIC_KEYWORD:{this._stateAfterDoctypePublicKeyword(n);break}case F.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateBeforeDoctypePublicIdentifier(n);break}case F.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypePublicIdentifierDoubleQuoted(n);break}case F.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypePublicIdentifierSingleQuoted(n);break}case F.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateAfterDoctypePublicIdentifier(n);break}case F.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:{this._stateBetweenDoctypePublicAndSystemIdentifiers(n);break}case F.AFTER_DOCTYPE_SYSTEM_KEYWORD:{this._stateAfterDoctypeSystemKeyword(n);break}case F.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateBeforeDoctypeSystemIdentifier(n);break}case F.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypeSystemIdentifierDoubleQuoted(n);break}case F.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypeSystemIdentifierSingleQuoted(n);break}case F.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateAfterDoctypeSystemIdentifier(n);break}case F.BOGUS_DOCTYPE:{this._stateBogusDoctype(n);break}case F.CDATA_SECTION:{this._stateCdataSection(n);break}case F.CDATA_SECTION_BRACKET:{this._stateCdataSectionBracket(n);break}case F.CDATA_SECTION_END:{this._stateCdataSectionEnd(n);break}case F.CHARACTER_REFERENCE:{this._stateCharacterReference();break}case F.AMBIGUOUS_AMPERSAND:{this._stateAmbiguousAmpersand(n);break}default:throw new Error("Unknown state")}}_stateData(n){switch(n){case M.LESS_THAN_SIGN:{this.state=F.TAG_OPEN;break}case M.AMPERSAND:{this._startCharacterReference();break}case M.NULL:{this._err(le.unexpectedNullCharacter),this._emitCodePoint(n);break}case M.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(n)}}_stateRcdata(n){switch(n){case M.AMPERSAND:{this._startCharacterReference();break}case M.LESS_THAN_SIGN:{this.state=F.RCDATA_LESS_THAN_SIGN;break}case M.NULL:{this._err(le.unexpectedNullCharacter),this._emitChars(Sn);break}case M.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(n)}}_stateRawtext(n){switch(n){case M.LESS_THAN_SIGN:{this.state=F.RAWTEXT_LESS_THAN_SIGN;break}case M.NULL:{this._err(le.unexpectedNullCharacter),this._emitChars(Sn);break}case M.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(n)}}_stateScriptData(n){switch(n){case M.LESS_THAN_SIGN:{this.state=F.SCRIPT_DATA_LESS_THAN_SIGN;break}case M.NULL:{this._err(le.unexpectedNullCharacter),this._emitChars(Sn);break}case M.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(n)}}_statePlaintext(n){switch(n){case M.NULL:{this._err(le.unexpectedNullCharacter),this._emitChars(Sn);break}case M.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(n)}}_stateTagOpen(n){if(Xs(n))this._createStartTagToken(),this.state=F.TAG_NAME,this._stateTagName(n);else switch(n){case M.EXCLAMATION_MARK:{this.state=F.MARKUP_DECLARATION_OPEN;break}case M.SOLIDUS:{this.state=F.END_TAG_OPEN;break}case M.QUESTION_MARK:{this._err(le.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=F.BOGUS_COMMENT,this._stateBogusComment(n);break}case M.EOF:{this._err(le.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}default:this._err(le.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=F.DATA,this._stateData(n)}}_stateEndTagOpen(n){if(Xs(n))this._createEndTagToken(),this.state=F.TAG_NAME,this._stateTagName(n);else switch(n){case M.GREATER_THAN_SIGN:{this._err(le.missingEndTagName),this.state=F.DATA;break}case M.EOF:{this._err(le.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break}default:this._err(le.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=F.BOGUS_COMMENT,this._stateBogusComment(n)}}_stateTagName(n){const a=this.currentToken;switch(n){case M.SPACE:case M.LINE_FEED:case M.TABULATION:case M.FORM_FEED:{this.state=F.BEFORE_ATTRIBUTE_NAME;break}case M.SOLIDUS:{this.state=F.SELF_CLOSING_START_TAG;break}case M.GREATER_THAN_SIGN:{this.state=F.DATA,this.emitCurrentTagToken();break}case M.NULL:{this._err(le.unexpectedNullCharacter),a.tagName+=Sn;break}case M.EOF:{this._err(le.eofInTag),this._emitEOFToken();break}default:a.tagName+=String.fromCodePoint(Sm(n)?u1(n):n)}}_stateRcdataLessThanSign(n){n===M.SOLIDUS?this.state=F.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=F.RCDATA,this._stateRcdata(n))}_stateRcdataEndTagOpen(n){Xs(n)?(this.state=F.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(n)):(this._emitChars("</"),this.state=F.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 M.SPACE:case M.LINE_FEED:case M.TABULATION:case M.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=F.BEFORE_ATTRIBUTE_NAME,!1;case M.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=F.SELF_CLOSING_START_TAG,!1;case M.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=F.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(n){this.handleSpecialEndTag(n)&&(this._emitChars("</"),this.state=F.RCDATA,this._stateRcdata(n))}_stateRawtextLessThanSign(n){n===M.SOLIDUS?this.state=F.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=F.RAWTEXT,this._stateRawtext(n))}_stateRawtextEndTagOpen(n){Xs(n)?(this.state=F.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(n)):(this._emitChars("</"),this.state=F.RAWTEXT,this._stateRawtext(n))}_stateRawtextEndTagName(n){this.handleSpecialEndTag(n)&&(this._emitChars("</"),this.state=F.RAWTEXT,this._stateRawtext(n))}_stateScriptDataLessThanSign(n){switch(n){case M.SOLIDUS:{this.state=F.SCRIPT_DATA_END_TAG_OPEN;break}case M.EXCLAMATION_MARK:{this.state=F.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break}default:this._emitChars("<"),this.state=F.SCRIPT_DATA,this._stateScriptData(n)}}_stateScriptDataEndTagOpen(n){Xs(n)?(this.state=F.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(n)):(this._emitChars("</"),this.state=F.SCRIPT_DATA,this._stateScriptData(n))}_stateScriptDataEndTagName(n){this.handleSpecialEndTag(n)&&(this._emitChars("</"),this.state=F.SCRIPT_DATA,this._stateScriptData(n))}_stateScriptDataEscapeStart(n){n===M.HYPHEN_MINUS?(this.state=F.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=F.SCRIPT_DATA,this._stateScriptData(n))}_stateScriptDataEscapeStartDash(n){n===M.HYPHEN_MINUS?(this.state=F.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-")):(this.state=F.SCRIPT_DATA,this._stateScriptData(n))}_stateScriptDataEscaped(n){switch(n){case M.HYPHEN_MINUS:{this.state=F.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break}case M.LESS_THAN_SIGN:{this.state=F.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case M.NULL:{this._err(le.unexpectedNullCharacter),this._emitChars(Sn);break}case M.EOF:{this._err(le.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(n)}}_stateScriptDataEscapedDash(n){switch(n){case M.HYPHEN_MINUS:{this.state=F.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break}case M.LESS_THAN_SIGN:{this.state=F.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case M.NULL:{this._err(le.unexpectedNullCharacter),this.state=F.SCRIPT_DATA_ESCAPED,this._emitChars(Sn);break}case M.EOF:{this._err(le.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=F.SCRIPT_DATA_ESCAPED,this._emitCodePoint(n)}}_stateScriptDataEscapedDashDash(n){switch(n){case M.HYPHEN_MINUS:{this._emitChars("-");break}case M.LESS_THAN_SIGN:{this.state=F.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case M.GREATER_THAN_SIGN:{this.state=F.SCRIPT_DATA,this._emitChars(">");break}case M.NULL:{this._err(le.unexpectedNullCharacter),this.state=F.SCRIPT_DATA_ESCAPED,this._emitChars(Sn);break}case M.EOF:{this._err(le.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=F.SCRIPT_DATA_ESCAPED,this._emitCodePoint(n)}}_stateScriptDataEscapedLessThanSign(n){n===M.SOLIDUS?this.state=F.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:Xs(n)?(this._emitChars("<"),this.state=F.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(n)):(this._emitChars("<"),this.state=F.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(n))}_stateScriptDataEscapedEndTagOpen(n){Xs(n)?(this.state=F.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(n)):(this._emitChars("</"),this.state=F.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(n))}_stateScriptDataEscapedEndTagName(n){this.handleSpecialEndTag(n)&&(this._emitChars("</"),this.state=F.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(n))}_stateScriptDataDoubleEscapeStart(n){if(this.preprocessor.startsWith(Va.SCRIPT,!1)&&iA(this.preprocessor.peek(Va.SCRIPT.length))){this._emitCodePoint(n);for(let a=0;a<Va.SCRIPT.length;a++)this._emitCodePoint(this._consume());this.state=F.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=F.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(n))}_stateScriptDataDoubleEscaped(n){switch(n){case M.HYPHEN_MINUS:{this.state=F.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break}case M.LESS_THAN_SIGN:{this.state=F.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case M.NULL:{this._err(le.unexpectedNullCharacter),this._emitChars(Sn);break}case M.EOF:{this._err(le.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(n)}}_stateScriptDataDoubleEscapedDash(n){switch(n){case M.HYPHEN_MINUS:{this.state=F.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break}case M.LESS_THAN_SIGN:{this.state=F.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case M.NULL:{this._err(le.unexpectedNullCharacter),this.state=F.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(Sn);break}case M.EOF:{this._err(le.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=F.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(n)}}_stateScriptDataDoubleEscapedDashDash(n){switch(n){case M.HYPHEN_MINUS:{this._emitChars("-");break}case M.LESS_THAN_SIGN:{this.state=F.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case M.GREATER_THAN_SIGN:{this.state=F.SCRIPT_DATA,this._emitChars(">");break}case M.NULL:{this._err(le.unexpectedNullCharacter),this.state=F.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(Sn);break}case M.EOF:{this._err(le.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=F.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(n)}}_stateScriptDataDoubleEscapedLessThanSign(n){n===M.SOLIDUS?(this.state=F.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=F.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(n))}_stateScriptDataDoubleEscapeEnd(n){if(this.preprocessor.startsWith(Va.SCRIPT,!1)&&iA(this.preprocessor.peek(Va.SCRIPT.length))){this._emitCodePoint(n);for(let a=0;a<Va.SCRIPT.length;a++)this._emitCodePoint(this._consume());this.state=F.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=F.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(n))}_stateBeforeAttributeName(n){switch(n){case M.SPACE:case M.LINE_FEED:case M.TABULATION:case M.FORM_FEED:break;case M.SOLIDUS:case M.GREATER_THAN_SIGN:case M.EOF:{this.state=F.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(n);break}case M.EQUALS_SIGN:{this._err(le.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=F.ATTRIBUTE_NAME;break}default:this._createAttr(""),this.state=F.ATTRIBUTE_NAME,this._stateAttributeName(n)}}_stateAttributeName(n){switch(n){case M.SPACE:case M.LINE_FEED:case M.TABULATION:case M.FORM_FEED:case M.SOLIDUS:case M.GREATER_THAN_SIGN:case M.EOF:{this._leaveAttrName(),this.state=F.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(n);break}case M.EQUALS_SIGN:{this._leaveAttrName(),this.state=F.BEFORE_ATTRIBUTE_VALUE;break}case M.QUOTATION_MARK:case M.APOSTROPHE:case M.LESS_THAN_SIGN:{this._err(le.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(n);break}case M.NULL:{this._err(le.unexpectedNullCharacter),this.currentAttr.name+=Sn;break}default:this.currentAttr.name+=String.fromCodePoint(Sm(n)?u1(n):n)}}_stateAfterAttributeName(n){switch(n){case M.SPACE:case M.LINE_FEED:case M.TABULATION:case M.FORM_FEED:break;case M.SOLIDUS:{this.state=F.SELF_CLOSING_START_TAG;break}case M.EQUALS_SIGN:{this.state=F.BEFORE_ATTRIBUTE_VALUE;break}case M.GREATER_THAN_SIGN:{this.state=F.DATA,this.emitCurrentTagToken();break}case M.EOF:{this._err(le.eofInTag),this._emitEOFToken();break}default:this._createAttr(""),this.state=F.ATTRIBUTE_NAME,this._stateAttributeName(n)}}_stateBeforeAttributeValue(n){switch(n){case M.SPACE:case M.LINE_FEED:case M.TABULATION:case M.FORM_FEED:break;case M.QUOTATION_MARK:{this.state=F.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break}case M.APOSTROPHE:{this.state=F.ATTRIBUTE_VALUE_SINGLE_QUOTED;break}case M.GREATER_THAN_SIGN:{this._err(le.missingAttributeValue),this.state=F.DATA,this.emitCurrentTagToken();break}default:this.state=F.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(n)}}_stateAttributeValueDoubleQuoted(n){switch(n){case M.QUOTATION_MARK:{this.state=F.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case M.AMPERSAND:{this._startCharacterReference();break}case M.NULL:{this._err(le.unexpectedNullCharacter),this.currentAttr.value+=Sn;break}case M.EOF:{this._err(le.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(n)}}_stateAttributeValueSingleQuoted(n){switch(n){case M.APOSTROPHE:{this.state=F.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case M.AMPERSAND:{this._startCharacterReference();break}case M.NULL:{this._err(le.unexpectedNullCharacter),this.currentAttr.value+=Sn;break}case M.EOF:{this._err(le.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(n)}}_stateAttributeValueUnquoted(n){switch(n){case M.SPACE:case M.LINE_FEED:case M.TABULATION:case M.FORM_FEED:{this._leaveAttrValue(),this.state=F.BEFORE_ATTRIBUTE_NAME;break}case M.AMPERSAND:{this._startCharacterReference();break}case M.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=F.DATA,this.emitCurrentTagToken();break}case M.NULL:{this._err(le.unexpectedNullCharacter),this.currentAttr.value+=Sn;break}case M.QUOTATION_MARK:case M.APOSTROPHE:case M.LESS_THAN_SIGN:case M.EQUALS_SIGN:case M.GRAVE_ACCENT:{this._err(le.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(n);break}case M.EOF:{this._err(le.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(n)}}_stateAfterAttributeValueQuoted(n){switch(n){case M.SPACE:case M.LINE_FEED:case M.TABULATION:case M.FORM_FEED:{this._leaveAttrValue(),this.state=F.BEFORE_ATTRIBUTE_NAME;break}case M.SOLIDUS:{this._leaveAttrValue(),this.state=F.SELF_CLOSING_START_TAG;break}case M.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=F.DATA,this.emitCurrentTagToken();break}case M.EOF:{this._err(le.eofInTag),this._emitEOFToken();break}default:this._err(le.missingWhitespaceBetweenAttributes),this.state=F.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(n)}}_stateSelfClosingStartTag(n){switch(n){case M.GREATER_THAN_SIGN:{const a=this.currentToken;a.selfClosing=!0,this.state=F.DATA,this.emitCurrentTagToken();break}case M.EOF:{this._err(le.eofInTag),this._emitEOFToken();break}default:this._err(le.unexpectedSolidusInTag),this.state=F.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(n)}}_stateBogusComment(n){const a=this.currentToken;switch(n){case M.GREATER_THAN_SIGN:{this.state=F.DATA,this.emitCurrentComment(a);break}case M.EOF:{this.emitCurrentComment(a),this._emitEOFToken();break}case M.NULL:{this._err(le.unexpectedNullCharacter),a.data+=Sn;break}default:a.data+=String.fromCodePoint(n)}}_stateMarkupDeclarationOpen(n){this._consumeSequenceIfMatch(Va.DASH_DASH,!0)?(this._createCommentToken(Va.DASH_DASH.length+1),this.state=F.COMMENT_START):this._consumeSequenceIfMatch(Va.DOCTYPE,!1)?(this.currentLocation=this.getCurrentLocation(Va.DOCTYPE.length+1),this.state=F.DOCTYPE):this._consumeSequenceIfMatch(Va.CDATA_START,!0)?this.inForeignNode?this.state=F.CDATA_SECTION:(this._err(le.cdataInHtmlContent),this._createCommentToken(Va.CDATA_START.length+1),this.currentToken.data="[CDATA[",this.state=F.BOGUS_COMMENT):this._ensureHibernation()||(this._err(le.incorrectlyOpenedComment),this._createCommentToken(2),this.state=F.BOGUS_COMMENT,this._stateBogusComment(n))}_stateCommentStart(n){switch(n){case M.HYPHEN_MINUS:{this.state=F.COMMENT_START_DASH;break}case M.GREATER_THAN_SIGN:{this._err(le.abruptClosingOfEmptyComment),this.state=F.DATA;const a=this.currentToken;this.emitCurrentComment(a);break}default:this.state=F.COMMENT,this._stateComment(n)}}_stateCommentStartDash(n){const a=this.currentToken;switch(n){case M.HYPHEN_MINUS:{this.state=F.COMMENT_END;break}case M.GREATER_THAN_SIGN:{this._err(le.abruptClosingOfEmptyComment),this.state=F.DATA,this.emitCurrentComment(a);break}case M.EOF:{this._err(le.eofInComment),this.emitCurrentComment(a),this._emitEOFToken();break}default:a.data+="-",this.state=F.COMMENT,this._stateComment(n)}}_stateComment(n){const a=this.currentToken;switch(n){case M.HYPHEN_MINUS:{this.state=F.COMMENT_END_DASH;break}case M.LESS_THAN_SIGN:{a.data+="<",this.state=F.COMMENT_LESS_THAN_SIGN;break}case M.NULL:{this._err(le.unexpectedNullCharacter),a.data+=Sn;break}case M.EOF:{this._err(le.eofInComment),this.emitCurrentComment(a),this._emitEOFToken();break}default:a.data+=String.fromCodePoint(n)}}_stateCommentLessThanSign(n){const a=this.currentToken;switch(n){case M.EXCLAMATION_MARK:{a.data+="!",this.state=F.COMMENT_LESS_THAN_SIGN_BANG;break}case M.LESS_THAN_SIGN:{a.data+="<";break}default:this.state=F.COMMENT,this._stateComment(n)}}_stateCommentLessThanSignBang(n){n===M.HYPHEN_MINUS?this.state=F.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=F.COMMENT,this._stateComment(n))}_stateCommentLessThanSignBangDash(n){n===M.HYPHEN_MINUS?this.state=F.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=F.COMMENT_END_DASH,this._stateCommentEndDash(n))}_stateCommentLessThanSignBangDashDash(n){n!==M.GREATER_THAN_SIGN&&n!==M.EOF&&this._err(le.nestedComment),this.state=F.COMMENT_END,this._stateCommentEnd(n)}_stateCommentEndDash(n){const a=this.currentToken;switch(n){case M.HYPHEN_MINUS:{this.state=F.COMMENT_END;break}case M.EOF:{this._err(le.eofInComment),this.emitCurrentComment(a),this._emitEOFToken();break}default:a.data+="-",this.state=F.COMMENT,this._stateComment(n)}}_stateCommentEnd(n){const a=this.currentToken;switch(n){case M.GREATER_THAN_SIGN:{this.state=F.DATA,this.emitCurrentComment(a);break}case M.EXCLAMATION_MARK:{this.state=F.COMMENT_END_BANG;break}case M.HYPHEN_MINUS:{a.data+="-";break}case M.EOF:{this._err(le.eofInComment),this.emitCurrentComment(a),this._emitEOFToken();break}default:a.data+="--",this.state=F.COMMENT,this._stateComment(n)}}_stateCommentEndBang(n){const a=this.currentToken;switch(n){case M.HYPHEN_MINUS:{a.data+="--!",this.state=F.COMMENT_END_DASH;break}case M.GREATER_THAN_SIGN:{this._err(le.incorrectlyClosedComment),this.state=F.DATA,this.emitCurrentComment(a);break}case M.EOF:{this._err(le.eofInComment),this.emitCurrentComment(a),this._emitEOFToken();break}default:a.data+="--!",this.state=F.COMMENT,this._stateComment(n)}}_stateDoctype(n){switch(n){case M.SPACE:case M.LINE_FEED:case M.TABULATION:case M.FORM_FEED:{this.state=F.BEFORE_DOCTYPE_NAME;break}case M.GREATER_THAN_SIGN:{this.state=F.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(n);break}case M.EOF:{this._err(le.eofInDoctype),this._createDoctypeToken(null);const a=this.currentToken;a.forceQuirks=!0,this.emitCurrentDoctype(a),this._emitEOFToken();break}default:this._err(le.missingWhitespaceBeforeDoctypeName),this.state=F.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(n)}}_stateBeforeDoctypeName(n){if(Sm(n))this._createDoctypeToken(String.fromCharCode(u1(n))),this.state=F.DOCTYPE_NAME;else switch(n){case M.SPACE:case M.LINE_FEED:case M.TABULATION:case M.FORM_FEED:break;case M.NULL:{this._err(le.unexpectedNullCharacter),this._createDoctypeToken(Sn),this.state=F.DOCTYPE_NAME;break}case M.GREATER_THAN_SIGN:{this._err(le.missingDoctypeName),this._createDoctypeToken(null);const a=this.currentToken;a.forceQuirks=!0,this.emitCurrentDoctype(a),this.state=F.DATA;break}case M.EOF:{this._err(le.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=F.DOCTYPE_NAME}}_stateDoctypeName(n){const a=this.currentToken;switch(n){case M.SPACE:case M.LINE_FEED:case M.TABULATION:case M.FORM_FEED:{this.state=F.AFTER_DOCTYPE_NAME;break}case M.GREATER_THAN_SIGN:{this.state=F.DATA,this.emitCurrentDoctype(a);break}case M.NULL:{this._err(le.unexpectedNullCharacter),a.name+=Sn;break}case M.EOF:{this._err(le.eofInDoctype),a.forceQuirks=!0,this.emitCurrentDoctype(a),this._emitEOFToken();break}default:a.name+=String.fromCodePoint(Sm(n)?u1(n):n)}}_stateAfterDoctypeName(n){const a=this.currentToken;switch(n){case M.SPACE:case M.LINE_FEED:case M.TABULATION:case M.FORM_FEED:break;case M.GREATER_THAN_SIGN:{this.state=F.DATA,this.emitCurrentDoctype(a);break}case M.EOF:{this._err(le.eofInDoctype),a.forceQuirks=!0,this.emitCurrentDoctype(a),this._emitEOFToken();break}default:this._consumeSequenceIfMatch(Va.PUBLIC,!1)?this.state=F.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch(Va.SYSTEM,!1)?this.state=F.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(le.invalidCharacterSequenceAfterDoctypeName),a.forceQuirks=!0,this.state=F.BOGUS_DOCTYPE,this._stateBogusDoctype(n))}}_stateAfterDoctypePublicKeyword(n){const a=this.currentToken;switch(n){case M.SPACE:case M.LINE_FEED:case M.TABULATION:case M.FORM_FEED:{this.state=F.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break}case M.QUOTATION_MARK:{this._err(le.missingWhitespaceAfterDoctypePublicKeyword),a.publicId="",this.state=F.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case M.APOSTROPHE:{this._err(le.missingWhitespaceAfterDoctypePublicKeyword),a.publicId="",this.state=F.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case M.GREATER_THAN_SIGN:{this._err(le.missingDoctypePublicIdentifier),a.forceQuirks=!0,this.state=F.DATA,this.emitCurrentDoctype(a);break}case M.EOF:{this._err(le.eofInDoctype),a.forceQuirks=!0,this.emitCurrentDoctype(a),this._emitEOFToken();break}default:this._err(le.missingQuoteBeforeDoctypePublicIdentifier),a.forceQuirks=!0,this.state=F.BOGUS_DOCTYPE,this._stateBogusDoctype(n)}}_stateBeforeDoctypePublicIdentifier(n){const a=this.currentToken;switch(n){case M.SPACE:case M.LINE_FEED:case M.TABULATION:case M.FORM_FEED:break;case M.QUOTATION_MARK:{a.publicId="",this.state=F.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case M.APOSTROPHE:{a.publicId="",this.state=F.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case M.GREATER_THAN_SIGN:{this._err(le.missingDoctypePublicIdentifier),a.forceQuirks=!0,this.state=F.DATA,this.emitCurrentDoctype(a);break}case M.EOF:{this._err(le.eofInDoctype),a.forceQuirks=!0,this.emitCurrentDoctype(a),this._emitEOFToken();break}default:this._err(le.missingQuoteBeforeDoctypePublicIdentifier),a.forceQuirks=!0,this.state=F.BOGUS_DOCTYPE,this._stateBogusDoctype(n)}}_stateDoctypePublicIdentifierDoubleQuoted(n){const a=this.currentToken;switch(n){case M.QUOTATION_MARK:{this.state=F.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case M.NULL:{this._err(le.unexpectedNullCharacter),a.publicId+=Sn;break}case M.GREATER_THAN_SIGN:{this._err(le.abruptDoctypePublicIdentifier),a.forceQuirks=!0,this.emitCurrentDoctype(a),this.state=F.DATA;break}case M.EOF:{this._err(le.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 M.APOSTROPHE:{this.state=F.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case M.NULL:{this._err(le.unexpectedNullCharacter),a.publicId+=Sn;break}case M.GREATER_THAN_SIGN:{this._err(le.abruptDoctypePublicIdentifier),a.forceQuirks=!0,this.emitCurrentDoctype(a),this.state=F.DATA;break}case M.EOF:{this._err(le.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 M.SPACE:case M.LINE_FEED:case M.TABULATION:case M.FORM_FEED:{this.state=F.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break}case M.GREATER_THAN_SIGN:{this.state=F.DATA,this.emitCurrentDoctype(a);break}case M.QUOTATION_MARK:{this._err(le.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),a.systemId="",this.state=F.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case M.APOSTROPHE:{this._err(le.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),a.systemId="",this.state=F.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case M.EOF:{this._err(le.eofInDoctype),a.forceQuirks=!0,this.emitCurrentDoctype(a),this._emitEOFToken();break}default:this._err(le.missingQuoteBeforeDoctypeSystemIdentifier),a.forceQuirks=!0,this.state=F.BOGUS_DOCTYPE,this._stateBogusDoctype(n)}}_stateBetweenDoctypePublicAndSystemIdentifiers(n){const a=this.currentToken;switch(n){case M.SPACE:case M.LINE_FEED:case M.TABULATION:case M.FORM_FEED:break;case M.GREATER_THAN_SIGN:{this.emitCurrentDoctype(a),this.state=F.DATA;break}case M.QUOTATION_MARK:{a.systemId="",this.state=F.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case M.APOSTROPHE:{a.systemId="",this.state=F.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case M.EOF:{this._err(le.eofInDoctype),a.forceQuirks=!0,this.emitCurrentDoctype(a),this._emitEOFToken();break}default:this._err(le.missingQuoteBeforeDoctypeSystemIdentifier),a.forceQuirks=!0,this.state=F.BOGUS_DOCTYPE,this._stateBogusDoctype(n)}}_stateAfterDoctypeSystemKeyword(n){const a=this.currentToken;switch(n){case M.SPACE:case M.LINE_FEED:case M.TABULATION:case M.FORM_FEED:{this.state=F.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break}case M.QUOTATION_MARK:{this._err(le.missingWhitespaceAfterDoctypeSystemKeyword),a.systemId="",this.state=F.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case M.APOSTROPHE:{this._err(le.missingWhitespaceAfterDoctypeSystemKeyword),a.systemId="",this.state=F.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case M.GREATER_THAN_SIGN:{this._err(le.missingDoctypeSystemIdentifier),a.forceQuirks=!0,this.state=F.DATA,this.emitCurrentDoctype(a);break}case M.EOF:{this._err(le.eofInDoctype),a.forceQuirks=!0,this.emitCurrentDoctype(a),this._emitEOFToken();break}default:this._err(le.missingQuoteBeforeDoctypeSystemIdentifier),a.forceQuirks=!0,this.state=F.BOGUS_DOCTYPE,this._stateBogusDoctype(n)}}_stateBeforeDoctypeSystemIdentifier(n){const a=this.currentToken;switch(n){case M.SPACE:case M.LINE_FEED:case M.TABULATION:case M.FORM_FEED:break;case M.QUOTATION_MARK:{a.systemId="",this.state=F.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case M.APOSTROPHE:{a.systemId="",this.state=F.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case M.GREATER_THAN_SIGN:{this._err(le.missingDoctypeSystemIdentifier),a.forceQuirks=!0,this.state=F.DATA,this.emitCurrentDoctype(a);break}case M.EOF:{this._err(le.eofInDoctype),a.forceQuirks=!0,this.emitCurrentDoctype(a),this._emitEOFToken();break}default:this._err(le.missingQuoteBeforeDoctypeSystemIdentifier),a.forceQuirks=!0,this.state=F.BOGUS_DOCTYPE,this._stateBogusDoctype(n)}}_stateDoctypeSystemIdentifierDoubleQuoted(n){const a=this.currentToken;switch(n){case M.QUOTATION_MARK:{this.state=F.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case M.NULL:{this._err(le.unexpectedNullCharacter),a.systemId+=Sn;break}case M.GREATER_THAN_SIGN:{this._err(le.abruptDoctypeSystemIdentifier),a.forceQuirks=!0,this.emitCurrentDoctype(a),this.state=F.DATA;break}case M.EOF:{this._err(le.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 M.APOSTROPHE:{this.state=F.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case M.NULL:{this._err(le.unexpectedNullCharacter),a.systemId+=Sn;break}case M.GREATER_THAN_SIGN:{this._err(le.abruptDoctypeSystemIdentifier),a.forceQuirks=!0,this.emitCurrentDoctype(a),this.state=F.DATA;break}case M.EOF:{this._err(le.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 M.SPACE:case M.LINE_FEED:case M.TABULATION:case M.FORM_FEED:break;case M.GREATER_THAN_SIGN:{this.emitCurrentDoctype(a),this.state=F.DATA;break}case M.EOF:{this._err(le.eofInDoctype),a.forceQuirks=!0,this.emitCurrentDoctype(a),this._emitEOFToken();break}default:this._err(le.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=F.BOGUS_DOCTYPE,this._stateBogusDoctype(n)}}_stateBogusDoctype(n){const a=this.currentToken;switch(n){case M.GREATER_THAN_SIGN:{this.emitCurrentDoctype(a),this.state=F.DATA;break}case M.NULL:{this._err(le.unexpectedNullCharacter);break}case M.EOF:{this.emitCurrentDoctype(a),this._emitEOFToken();break}}}_stateCdataSection(n){switch(n){case M.RIGHT_SQUARE_BRACKET:{this.state=F.CDATA_SECTION_BRACKET;break}case M.EOF:{this._err(le.eofInCdata),this._emitEOFToken();break}default:this._emitCodePoint(n)}}_stateCdataSectionBracket(n){n===M.RIGHT_SQUARE_BRACKET?this.state=F.CDATA_SECTION_END:(this._emitChars("]"),this.state=F.CDATA_SECTION,this._stateCdataSection(n))}_stateCdataSectionEnd(n){switch(n){case M.GREATER_THAN_SIGN:{this.state=F.DATA;break}case M.RIGHT_SQUARE_BRACKET:{this._emitChars("]");break}default:this._emitChars("]]"),this.state=F.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(M.AMPERSAND),this.state=!this._isCharacterReferenceInAttribute()&&aA(this.preprocessor.peek(1))?F.AMBIGUOUS_AMPERSAND:this.returnState):this.state=this.returnState}_stateAmbiguousAmpersand(n){aA(n)?this._flushCodePointConsumedAsCharacterReference(n):(n===M.SEMICOLON&&this._err(le.unknownNamedCharacterReference),this.state=this.returnState,this._callState(n))}}const w3=new Set([y.DD,y.DT,y.LI,y.OPTGROUP,y.OPTION,y.P,y.RB,y.RP,y.RT,y.RTC]),oA=new Set([...w3,y.CAPTION,y.COLGROUP,y.TBODY,y.TD,y.TFOOT,y.TH,y.THEAD,y.TR]),k1=new Set([y.APPLET,y.CAPTION,y.HTML,y.MARQUEE,y.OBJECT,y.TABLE,y.TD,y.TEMPLATE,y.TH]),j7=new Set([...k1,y.OL,y.UL]),V7=new Set([...k1,y.BUTTON]),uA=new Set([y.ANNOTATION_XML,y.MI,y.MN,y.MO,y.MS,y.MTEXT]),sA=new Set([y.DESC,y.FOREIGN_OBJECT,y.TITLE]),Y7=new Set([y.TR,y.TEMPLATE,y.HTML]),W7=new Set([y.TBODY,y.TFOOT,y.THEAD,y.TEMPLATE,y.HTML]),q7=new Set([y.TABLE,y.TEMPLATE,y.HTML]),Q7=new Set([y.TD,y.TH]);class $7{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)===we.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])!==we.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(xT,we.HTML)}popUntilTableCellPopped(){this.popUntilPopped(Q7,we.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(q7,we.HTML)}clearBackToTableBodyContext(){this.clearBackTo(W7,we.HTML)}clearBackToTableRowContext(){this.clearBackTo(Y7,we.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 we.HTML:{if(f===n)return!0;if(a.has(f))return!1;break}case we.SVG:{if(sA.has(f))return!1;break}case we.MATHML:{if(uA.has(f))return!1;break}}}return!0}hasInScope(n){return this.hasInDynamicScope(n,k1)}hasInListItemScope(n){return this.hasInDynamicScope(n,j7)}hasInButtonScope(n){return this.hasInDynamicScope(n,V7)}hasNumberedHeaderInScope(){for(let n=this.stackTop;n>=0;n--){const a=this.tagIDs[n];switch(this.treeAdapter.getNamespaceURI(this.items[n])){case we.HTML:{if(xT.has(a))return!0;if(k1.has(a))return!1;break}case we.SVG:{if(sA.has(a))return!1;break}case we.MATHML:{if(uA.has(a))return!1;break}}}return!0}hasInTableScope(n){for(let a=this.stackTop;a>=0;a--)if(this.treeAdapter.getNamespaceURI(this.items[a])===we.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])===we.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])===we.HTML)switch(this.tagIDs[a]){case n:return!0;case y.OPTION:case y.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;w3.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;oA.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(n){for(;this.currentTagId!==n&&oA.has(this.currentTagId);)this.pop()}}const $w=3;var jo;(function(e){e[e.Marker=0]="Marker",e[e.Element=1]="Element"})(jo||(jo={}));const lA={type:jo.Marker};class G7{constructor(n){this.treeAdapter=n,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(n,a){const s=[],f=a.length,p=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===jo.Marker)break;const{element:b}=E;if(this.treeAdapter.getTagName(b)===p&&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<$w)return;const a=this.treeAdapter.getAttrList(n),s=this._getNoahArkConditionCandidates(n,a);if(s.length<$w)return;const f=new Map(a.map(d=>[d.name,d.value]));let p=0;for(let d=0;d<s.length;d++){const g=s[d];g.attrs.every(E=>f.get(E.name)===E.value)&&(p+=1,p>=$w&&this.entries.splice(g.idx,1))}}insertMarker(){this.entries.unshift(lA)}pushElement(n,a){this._ensureNoahArkCondition(n),this.entries.unshift({type:jo.Element,element:n,token:a})}insertElementAfterBookmark(n,a){const s=this.entries.indexOf(this.bookmark);this.entries.splice(s,0,{type:jo.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(lA);n>=0?this.entries.splice(0,n+1):this.entries.length=0}getElementEntryInScopeWithTagName(n){const a=this.entries.find(s=>s.type===jo.Marker||this.treeAdapter.getTagName(s.element)===n);return a&&a.type===jo.Element?a:null}getElementEntry(n){return this.entries.find(a=>a.type===jo.Element&&a.element===n)}}const Ks={createDocument(){return{nodeName:"#document",mode:ki.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(p=>p.nodeName==="#documentType");if(f)f.name=n,f.publicId=a,f.systemId=s;else{const p={nodeName:"#documentType",name:n,publicId:a,systemId:s,parentNode:null};Ks.appendChild(e,p)}},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(Ks.isTextNode(a)){a.value+=n;return}}Ks.appendChild(e,Ks.createTextNode(n))},insertTextBefore(e,n,a){const s=e.childNodes[e.childNodes.indexOf(a)-1];s&&Ks.isTextNode(s)?s.value+=n:Ks.insertBefore(e,Ks.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}}},T3="html",X7="about:legacy-compat",K7="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",x3=["+//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//"],Z7=[...x3,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],J7=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),S3=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],eU=[...S3,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function cA(e,n){return n.some(a=>e.startsWith(a))}function tU(e){return e.name===T3&&e.publicId===null&&(e.systemId===null||e.systemId===X7)}function nU(e){if(e.name!==T3)return ki.QUIRKS;const{systemId:n}=e;if(n&&n.toLowerCase()===K7)return ki.QUIRKS;let{publicId:a}=e;if(a!==null){if(a=a.toLowerCase(),J7.has(a))return ki.QUIRKS;let s=n===null?Z7:x3;if(cA(a,s))return ki.QUIRKS;if(s=n===null?S3:eU,cA(a,s))return ki.LIMITED_QUIRKS}return ki.NO_QUIRKS}const dA={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},rU="definitionurl",aU="definitionURL",iU=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])),oU=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:we.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:we.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:we.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:we.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:we.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:we.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:we.XLINK}],["xml:lang",{prefix:"xml",name:"lang",namespace:we.XML}],["xml:space",{prefix:"xml",name:"space",namespace:we.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:we.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:we.XMLNS}]]),uU=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])),sU=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 lU(e){const n=e.tagID;return n===y.FONT&&e.attrs.some(({name:s})=>s===_c.COLOR||s===_c.SIZE||s===_c.FACE)||sU.has(n)}function C3(e){for(let n=0;n<e.attrs.length;n++)if(e.attrs[n].name===rU){e.attrs[n].name=aU;break}}function _3(e){for(let n=0;n<e.attrs.length;n++){const a=iU.get(e.attrs[n].name);a!=null&&(e.attrs[n].name=a)}}function tx(e){for(let n=0;n<e.attrs.length;n++){const a=oU.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 cU(e){const n=uU.get(e.tagName);n!=null&&(e.tagName=n,e.tagID=Jf(e.tagName))}function dU(e,n){return n===we.MATHML&&(e===y.MI||e===y.MO||e===y.MN||e===y.MS||e===y.MTEXT)}function fU(e,n,a){if(n===we.MATHML&&e===y.ANNOTATION_XML){for(let s=0;s<a.length;s++)if(a[s].name===_c.ENCODING){const f=a[s].value.toLowerCase();return f===dA.TEXT_HTML||f===dA.APPLICATION_XML}}return n===we.SVG&&(e===y.FOREIGN_OBJECT||e===y.DESC||e===y.TITLE)}function hU(e,n,a,s){return(!s||s===we.HTML)&&fU(e,n,a)||(!s||s===we.MATHML)&&dU(e,n)}const pU="hidden",mU=8,gU=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 vU={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},A3=new Set([y.TABLE,y.TBODY,y.TFOOT,y.THEAD,y.TR]),fA={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:Ks,onParseError:null};class hA{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={...fA,...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 z7(this.options,this),this.activeFormattingElements=new G7(this.treeAdapter),this.fragmentContextID=s?Jf(this.treeAdapter.getTagName(s)):y.UNKNOWN,this._setContextModes(s??this.document,this.fragmentContextID),this.openElements=new $7(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={...fA,...a};n??(n=s.treeAdapter.createElement(re.TEMPLATE,we.HTML,[]));const f=s.treeAdapter.createElement("documentmock",we.HTML,[]),p=new this(s,f,n);return p.fragmentContextID===y.TEMPLATE&&p.tmplInsertionModeStack.unshift(j.IN_TEMPLATE),p._initTokenizerForFragmentParsing(),p._insertFakeRootElement(),p._resetInsertionMode(),p._findFormInFragmentContext(),p}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 p=(f=n.location)!==null&&f!==void 0?f:vU,d={code:a,startLine:p.startLine,startCol:p.startCol,startOffset:p.startOffset,endLine:s?p.startLine:p.endLine,endCol:s?p.startCol:p.endCol,endOffset:s?p.startOffset:p.endOffset};this.onParseError(d)}onItemPush(n,a,s){var f,p;(p=(f=this.treeAdapter).onItemPush)===null||p===void 0||p.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 p,d;this.openElements.stackTop===0&&this.fragmentContext?(p=this.fragmentContext,d=this.fragmentContextID):{current:p,currentTagId:d}=this.openElements,this._setContextModes(p,d)}}_setContextModes(n,a){const s=n===this.document||this.treeAdapter.getNamespaceURI(n)===we.HTML;this.currentNotInHTML=!s,this.tokenizer.inForeignNode=!s&&!this._isIntegrationPoint(a,n)}_switchToTextParsing(n,a){this._insertElement(n,we.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=Wn.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)===re.FORM){this.formElement=n;break}n=this.treeAdapter.getParentNode(n)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==we.HTML))switch(this.fragmentContextID){case y.TITLE:case y.TEXTAREA:{this.tokenizer.state=Wn.RCDATA;break}case y.STYLE:case y.XMP:case y.IFRAME:case y.NOEMBED:case y.NOFRAMES:case y.NOSCRIPT:{this.tokenizer.state=Wn.RAWTEXT;break}case y.SCRIPT:{this.tokenizer.state=Wn.SCRIPT_DATA;break}case y.PLAINTEXT:{this.tokenizer.state=Wn.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,we.HTML,[]);this._attachElementToTree(s,null),this.openElements.push(s,a)}_insertTemplate(n){const a=this.treeAdapter.createElement(n.tagName,we.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(re.HTML,we.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),p=s?f.lastIndexOf(s):f.length,d=f[p-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),p=a.type===At.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,p)}}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)===re.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(a)===we.MATHML?!1:this.tokenizer.inForeignNode||(n.tagID===y.MGLYPH||n.tagID===y.MALIGNMARK)&&!this._isIntegrationPoint(s,a,we.HTML)}_processToken(n){switch(n.type){case At.CHARACTER:{this.onCharacter(n);break}case At.NULL_CHARACTER:{this.onNullCharacter(n);break}case At.COMMENT:{this.onComment(n);break}case At.DOCTYPE:{this.onDoctype(n);break}case At.START_TAG:{this._processStartTag(n);break}case At.END_TAG:{this.onEndTag(n);break}case At.EOF:{this.onEof(n);break}case At.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(n);break}}}_isIntegrationPoint(n,a,s){const f=this.treeAdapter.getNamespaceURI(a),p=this.treeAdapter.getAttrList(a);return hU(n,f,p,s)}_reconstructActiveFormattingElements(){const n=this.activeFormattingElements.entries.length;if(n){const a=this.activeFormattingElements.entries.findIndex(f=>f.type===jo.Marker||this.openElements.contains(f.element)),s=a<0?n-1:a-1;for(let f=s;f>=0;f--){const p=this.activeFormattingElements.entries[f];this._insertElement(p.token,this.treeAdapter.getNamespaceURI(p.element)),p.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 A3.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)===we.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 F7[s].has(a)}onCharacter(n){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){QB(this,n);return}switch(this.insertionMode){case j.INITIAL:{Tm(this,n);break}case j.BEFORE_HTML:{Am(this,n);break}case j.BEFORE_HEAD:{km(this,n);break}case j.IN_HEAD:{Rm(this,n);break}case j.IN_HEAD_NO_SCRIPT:{Nm(this,n);break}case j.AFTER_HEAD:{Dm(this,n);break}case j.IN_BODY:case j.IN_CAPTION:case j.IN_CELL:case j.IN_TEMPLATE:{R3(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:{Gw(this,n);break}case j.IN_TABLE_TEXT:{M3(this,n);break}case j.IN_COLUMN_GROUP:{R1(this,n);break}case j.AFTER_BODY:{N1(this,n);break}case j.AFTER_AFTER_BODY:{E1(this,n);break}}}onNullCharacter(n){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){qB(this,n);return}switch(this.insertionMode){case j.INITIAL:{Tm(this,n);break}case j.BEFORE_HTML:{Am(this,n);break}case j.BEFORE_HEAD:{km(this,n);break}case j.IN_HEAD:{Rm(this,n);break}case j.IN_HEAD_NO_SCRIPT:{Nm(this,n);break}case j.AFTER_HEAD:{Dm(this,n);break}case j.TEXT:{this._insertCharacters(n);break}case j.IN_TABLE:case j.IN_TABLE_BODY:case j.IN_ROW:{Gw(this,n);break}case j.IN_COLUMN_GROUP:{R1(this,n);break}case j.AFTER_BODY:{N1(this,n);break}case j.AFTER_AFTER_BODY:{E1(this,n);break}}}onComment(n){if(this.skipNextNewLine=!1,this.currentNotInHTML){ST(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:{ST(this,n);break}case j.IN_TABLE_TEXT:{xm(this,n);break}case j.AFTER_BODY:{SU(this,n);break}case j.AFTER_AFTER_BODY:case j.AFTER_AFTER_FRAMESET:{CU(this,n);break}}}onDoctype(n){switch(this.skipNextNewLine=!1,this.insertionMode){case j.INITIAL:{_U(this,n);break}case j.BEFORE_HEAD:case j.IN_HEAD:case j.IN_HEAD_NO_SCRIPT:case j.AFTER_HEAD:{this._err(n,le.misplacedDoctype);break}case j.IN_TABLE_TEXT:{xm(this,n);break}}}onStartTag(n){this.skipNextNewLine=!1,this.currentToken=n,this._processStartTag(n),n.selfClosing&&!n.ackSelfClosing&&this._err(n,le.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(n){this.shouldProcessStartTagTokenInForeignContent(n)?$B(this,n):this._startTagOutsideForeignContent(n)}_startTagOutsideForeignContent(n){switch(this.insertionMode){case j.INITIAL:{Tm(this,n);break}case j.BEFORE_HTML:{AU(this,n);break}case j.BEFORE_HEAD:{RU(this,n);break}case j.IN_HEAD:{co(this,n);break}case j.IN_HEAD_NO_SCRIPT:{OU(this,n);break}case j.AFTER_HEAD:{IU(this,n);break}case j.IN_BODY:{aa(this,n);break}case j.IN_TABLE:{Yf(this,n);break}case j.IN_TABLE_TEXT:{xm(this,n);break}case j.IN_CAPTION:{NB(this,n);break}case j.IN_COLUMN_GROUP:{ax(this,n);break}case j.IN_TABLE_BODY:{q1(this,n);break}case j.IN_ROW:{Q1(this,n);break}case j.IN_CELL:{LB(this,n);break}case j.IN_SELECT:{U3(this,n);break}case j.IN_SELECT_IN_TABLE:{MB(this,n);break}case j.IN_TEMPLATE:{FB(this,n);break}case j.AFTER_BODY:{BB(this,n);break}case j.IN_FRAMESET:{HB(this,n);break}case j.AFTER_FRAMESET:{jB(this,n);break}case j.AFTER_AFTER_BODY:{YB(this,n);break}case j.AFTER_AFTER_FRAMESET:{WB(this,n);break}}}onEndTag(n){this.skipNextNewLine=!1,this.currentToken=n,this.currentNotInHTML?GB(this,n):this._endTagOutsideForeignContent(n)}_endTagOutsideForeignContent(n){switch(this.insertionMode){case j.INITIAL:{Tm(this,n);break}case j.BEFORE_HTML:{kU(this,n);break}case j.BEFORE_HEAD:{NU(this,n);break}case j.IN_HEAD:{DU(this,n);break}case j.IN_HEAD_NO_SCRIPT:{LU(this,n);break}case j.AFTER_HEAD:{MU(this,n);break}case j.IN_BODY:{W1(this,n);break}case j.TEXT:{bB(this,n);break}case j.IN_TABLE:{Im(this,n);break}case j.IN_TABLE_TEXT:{xm(this,n);break}case j.IN_CAPTION:{DB(this,n);break}case j.IN_COLUMN_GROUP:{OB(this,n);break}case j.IN_TABLE_BODY:{CT(this,n);break}case j.IN_ROW:{F3(this,n);break}case j.IN_CELL:{IB(this,n);break}case j.IN_SELECT:{B3(this,n);break}case j.IN_SELECT_IN_TABLE:{PB(this,n);break}case j.IN_TEMPLATE:{UB(this,n);break}case j.AFTER_BODY:{z3(this,n);break}case j.IN_FRAMESET:{zB(this,n);break}case j.AFTER_FRAMESET:{VB(this,n);break}case j.AFTER_AFTER_BODY:{E1(this,n);break}}}onEof(n){switch(this.insertionMode){case j.INITIAL:{Tm(this,n);break}case j.BEFORE_HTML:{Am(this,n);break}case j.BEFORE_HEAD:{km(this,n);break}case j.IN_HEAD:{Rm(this,n);break}case j.IN_HEAD_NO_SCRIPT:{Nm(this,n);break}case j.AFTER_HEAD:{Dm(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:{L3(this,n);break}case j.TEXT:{wB(this,n);break}case j.IN_TABLE_TEXT:{xm(this,n);break}case j.IN_TEMPLATE:{H3(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:{rx(this,n);break}}}onWhitespaceCharacter(n){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,n.chars.charCodeAt(0)===M.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:{k3(this,n);break}case j.IN_TABLE:case j.IN_TABLE_BODY:case j.IN_ROW:{Gw(this,n);break}case j.IN_TABLE_TEXT:{I3(this,n);break}}}}function yU(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):O3(e,n),a}function EU(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 bU(e,n,a){let s=n,f=e.openElements.getCommonAncestor(n);for(let p=0,d=f;d!==a;p++,d=f){f=e.openElements.getCommonAncestor(d);const g=e.activeFormattingElements.getElementEntry(d),E=g&&p>=gU;!g||E?(E&&e.activeFormattingElements.removeEntry(g),e.openElements.remove(d)):(d=wU(e,g),s===n&&(e.activeFormattingElements.bookmark=g),e.treeAdapter.detachNode(s),e.treeAdapter.appendChild(d,s),s=d)}return s}function wU(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 TU(e,n,a){const s=e.treeAdapter.getTagName(n),f=Jf(s);if(e._isElementCausesFosterParenting(f))e._fosterParentElement(a);else{const p=e.treeAdapter.getNamespaceURI(n);f===y.TEMPLATE&&p===we.HTML&&(n=e.treeAdapter.getTemplateContent(n)),e.treeAdapter.appendChild(n,a)}}function xU(e,n,a){const s=e.treeAdapter.getNamespaceURI(a.element),{token:f}=a,p=e.treeAdapter.createElement(f.tagName,s,f.attrs);e._adoptNodes(n,p),e.treeAdapter.appendChild(n,p),e.activeFormattingElements.insertElementAfterBookmark(p,f),e.activeFormattingElements.removeEntry(a),e.openElements.remove(a.element),e.openElements.insertAfter(n,p,f.tagID)}function nx(e,n){for(let a=0;a<mU;a++){const s=yU(e,n);if(!s)break;const f=EU(e,s);if(!f)break;e.activeFormattingElements.bookmark=s;const p=bU(e,f,s.element),d=e.openElements.getCommonAncestor(s.element);e.treeAdapter.detachNode(p),d&&TU(e,d,p),xU(e,f,s)}}function ST(e,n){e._appendCommentNode(n,e.openElements.currentTmplContentOrNode)}function SU(e,n){e._appendCommentNode(n,e.openElements.items[0])}function CU(e,n){e._appendCommentNode(n,e.document)}function rx(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 p=e.openElements.items[1],d=e.treeAdapter.getNodeSourceCodeLocation(p);d&&!d.endTag&&e._setEndLocation(p,n)}}}}function _U(e,n){e._setDocumentType(n);const a=n.forceQuirks?ki.QUIRKS:nU(n);tU(n)||e._err(n,le.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,a),e.insertionMode=j.BEFORE_HTML}function Tm(e,n){e._err(n,le.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,ki.QUIRKS),e.insertionMode=j.BEFORE_HTML,e._processToken(n)}function AU(e,n){n.tagID===y.HTML?(e._insertElement(n,we.HTML),e.insertionMode=j.BEFORE_HEAD):Am(e,n)}function kU(e,n){const a=n.tagID;(a===y.HTML||a===y.HEAD||a===y.BODY||a===y.BR)&&Am(e,n)}function Am(e,n){e._insertFakeRootElement(),e.insertionMode=j.BEFORE_HEAD,e._processToken(n)}function RU(e,n){switch(n.tagID){case y.HTML:{aa(e,n);break}case y.HEAD:{e._insertElement(n,we.HTML),e.headElement=e.openElements.current,e.insertionMode=j.IN_HEAD;break}default:km(e,n)}}function NU(e,n){const a=n.tagID;a===y.HEAD||a===y.BODY||a===y.HTML||a===y.BR?km(e,n):e._err(n,le.endTagWithoutMatchingOpenElement)}function km(e,n){e._insertFakeElement(re.HEAD,y.HEAD),e.headElement=e.openElements.current,e.insertionMode=j.IN_HEAD,e._processToken(n)}function co(e,n){switch(n.tagID){case y.HTML:{aa(e,n);break}case y.BASE:case y.BASEFONT:case y.BGSOUND:case y.LINK:case y.META:{e._appendElement(n,we.HTML),n.ackSelfClosing=!0;break}case y.TITLE:{e._switchToTextParsing(n,Wn.RCDATA);break}case y.NOSCRIPT:{e.options.scriptingEnabled?e._switchToTextParsing(n,Wn.RAWTEXT):(e._insertElement(n,we.HTML),e.insertionMode=j.IN_HEAD_NO_SCRIPT);break}case y.NOFRAMES:case y.STYLE:{e._switchToTextParsing(n,Wn.RAWTEXT);break}case y.SCRIPT:{e._switchToTextParsing(n,Wn.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,le.misplacedStartTagForHeadElement);break}default:Rm(e,n)}}function DU(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:{Rm(e,n);break}case y.TEMPLATE:{Nc(e,n);break}default:e._err(n,le.endTagWithoutMatchingOpenElement)}}function Nc(e,n){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==y.TEMPLATE&&e._err(n,le.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(y.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(n,le.endTagWithoutMatchingOpenElement)}function Rm(e,n){e.openElements.pop(),e.insertionMode=j.AFTER_HEAD,e._processToken(n)}function OU(e,n){switch(n.tagID){case y.HTML:{aa(e,n);break}case y.BASEFONT:case y.BGSOUND:case y.HEAD:case y.LINK:case y.META:case y.NOFRAMES:case y.STYLE:{co(e,n);break}case y.NOSCRIPT:{e._err(n,le.nestedNoscriptInHead);break}default:Nm(e,n)}}function LU(e,n){switch(n.tagID){case y.NOSCRIPT:{e.openElements.pop(),e.insertionMode=j.IN_HEAD;break}case y.BR:{Nm(e,n);break}default:e._err(n,le.endTagWithoutMatchingOpenElement)}}function Nm(e,n){const a=n.type===At.EOF?le.openElementsLeftAfterEof:le.disallowedContentInNoscriptInHead;e._err(n,a),e.openElements.pop(),e.insertionMode=j.IN_HEAD,e._processToken(n)}function IU(e,n){switch(n.tagID){case y.HTML:{aa(e,n);break}case y.BODY:{e._insertElement(n,we.HTML),e.framesetOk=!1,e.insertionMode=j.IN_BODY;break}case y.FRAMESET:{e._insertElement(n,we.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,le.abandonedHeadElementChild),e.openElements.push(e.headElement,y.HEAD),co(e,n),e.openElements.remove(e.headElement);break}case y.HEAD:{e._err(n,le.misplacedStartTagForHeadElement);break}default:Dm(e,n)}}function MU(e,n){switch(n.tagID){case y.BODY:case y.HTML:case y.BR:{Dm(e,n);break}case y.TEMPLATE:{Nc(e,n);break}default:e._err(n,le.endTagWithoutMatchingOpenElement)}}function Dm(e,n){e._insertFakeElement(re.BODY,y.BODY),e.insertionMode=j.IN_BODY,Y1(e,n)}function Y1(e,n){switch(n.type){case At.CHARACTER:{R3(e,n);break}case At.WHITESPACE_CHARACTER:{k3(e,n);break}case At.COMMENT:{ST(e,n);break}case At.START_TAG:{aa(e,n);break}case At.END_TAG:{W1(e,n);break}case At.EOF:{L3(e,n);break}}}function k3(e,n){e._reconstructActiveFormattingElements(),e._insertCharacters(n)}function R3(e,n){e._reconstructActiveFormattingElements(),e._insertCharacters(n),e.framesetOk=!1}function PU(e,n){e.openElements.tmplCount===0&&e.treeAdapter.adoptAttributes(e.openElements.items[0],n.attrs)}function FU(e,n){const a=e.openElements.tryPeekProperlyNestedBodyElement();a&&e.openElements.tmplCount===0&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(a,n.attrs))}function UU(e,n){const a=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&a&&(e.treeAdapter.detachNode(a),e.openElements.popAllUpToHtmlElement(),e._insertElement(n,we.HTML),e.insertionMode=j.IN_FRAMESET)}function BU(e,n){e.openElements.hasInButtonScope(y.P)&&e._closePElement(),e._insertElement(n,we.HTML)}function HU(e,n){e.openElements.hasInButtonScope(y.P)&&e._closePElement(),xT.has(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(n,we.HTML)}function zU(e,n){e.openElements.hasInButtonScope(y.P)&&e._closePElement(),e._insertElement(n,we.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}function jU(e,n){const a=e.openElements.tmplCount>0;(!e.formElement||a)&&(e.openElements.hasInButtonScope(y.P)&&e._closePElement(),e._insertElement(n,we.HTML),a||(e.formElement=e.openElements.current))}function VU(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,we.HTML)}function YU(e,n){e.openElements.hasInButtonScope(y.P)&&e._closePElement(),e._insertElement(n,we.HTML),e.tokenizer.state=Wn.PLAINTEXT}function WU(e,n){e.openElements.hasInScope(y.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(y.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(n,we.HTML),e.framesetOk=!1}function qU(e,n){const a=e.activeFormattingElements.getElementEntryInScopeWithTagName(re.A);a&&(nx(e,n),e.openElements.remove(a.element),e.activeFormattingElements.removeEntry(a)),e._reconstructActiveFormattingElements(),e._insertElement(n,we.HTML),e.activeFormattingElements.pushElement(e.openElements.current,n)}function QU(e,n){e._reconstructActiveFormattingElements(),e._insertElement(n,we.HTML),e.activeFormattingElements.pushElement(e.openElements.current,n)}function $U(e,n){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(y.NOBR)&&(nx(e,n),e._reconstructActiveFormattingElements()),e._insertElement(n,we.HTML),e.activeFormattingElements.pushElement(e.openElements.current,n)}function GU(e,n){e._reconstructActiveFormattingElements(),e._insertElement(n,we.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function XU(e,n){e.treeAdapter.getDocumentMode(e.document)!==ki.QUIRKS&&e.openElements.hasInButtonScope(y.P)&&e._closePElement(),e._insertElement(n,we.HTML),e.framesetOk=!1,e.insertionMode=j.IN_TABLE}function N3(e,n){e._reconstructActiveFormattingElements(),e._appendElement(n,we.HTML),e.framesetOk=!1,n.ackSelfClosing=!0}function D3(e){const n=g3(e,_c.TYPE);return n!=null&&n.toLowerCase()===pU}function KU(e,n){e._reconstructActiveFormattingElements(),e._appendElement(n,we.HTML),D3(n)||(e.framesetOk=!1),n.ackSelfClosing=!0}function ZU(e,n){e._appendElement(n,we.HTML),n.ackSelfClosing=!0}function JU(e,n){e.openElements.hasInButtonScope(y.P)&&e._closePElement(),e._appendElement(n,we.HTML),e.framesetOk=!1,n.ackSelfClosing=!0}function eB(e,n){n.tagName=re.IMG,n.tagID=y.IMG,N3(e,n)}function tB(e,n){e._insertElement(n,we.HTML),e.skipNextNewLine=!0,e.tokenizer.state=Wn.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=j.TEXT}function nB(e,n){e.openElements.hasInButtonScope(y.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(n,Wn.RAWTEXT)}function rB(e,n){e.framesetOk=!1,e._switchToTextParsing(n,Wn.RAWTEXT)}function pA(e,n){e._switchToTextParsing(n,Wn.RAWTEXT)}function aB(e,n){e._reconstructActiveFormattingElements(),e._insertElement(n,we.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 iB(e,n){e.openElements.currentTagId===y.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(n,we.HTML)}function oB(e,n){e.openElements.hasInScope(y.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(n,we.HTML)}function uB(e,n){e.openElements.hasInScope(y.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(y.RTC),e._insertElement(n,we.HTML)}function sB(e,n){e._reconstructActiveFormattingElements(),C3(n),tx(n),n.selfClosing?e._appendElement(n,we.MATHML):e._insertElement(n,we.MATHML),n.ackSelfClosing=!0}function lB(e,n){e._reconstructActiveFormattingElements(),_3(n),tx(n),n.selfClosing?e._appendElement(n,we.SVG):e._insertElement(n,we.SVG),n.ackSelfClosing=!0}function mA(e,n){e._reconstructActiveFormattingElements(),e._insertElement(n,we.HTML)}function aa(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:{QU(e,n);break}case y.A:{qU(e,n);break}case y.H1:case y.H2:case y.H3:case y.H4:case y.H5:case y.H6:{HU(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:{BU(e,n);break}case y.LI:case y.DD:case y.DT:{VU(e,n);break}case y.BR:case y.IMG:case y.WBR:case y.AREA:case y.EMBED:case y.KEYGEN:{N3(e,n);break}case y.HR:{JU(e,n);break}case y.RB:case y.RTC:{oB(e,n);break}case y.RT:case y.RP:{uB(e,n);break}case y.PRE:case y.LISTING:{zU(e,n);break}case y.XMP:{nB(e,n);break}case y.SVG:{lB(e,n);break}case y.HTML:{PU(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:{co(e,n);break}case y.BODY:{FU(e,n);break}case y.FORM:{jU(e,n);break}case y.NOBR:{$U(e,n);break}case y.MATH:{sB(e,n);break}case y.TABLE:{XU(e,n);break}case y.INPUT:{KU(e,n);break}case y.PARAM:case y.TRACK:case y.SOURCE:{ZU(e,n);break}case y.IMAGE:{eB(e,n);break}case y.BUTTON:{WU(e,n);break}case y.APPLET:case y.OBJECT:case y.MARQUEE:{GU(e,n);break}case y.IFRAME:{rB(e,n);break}case y.SELECT:{aB(e,n);break}case y.OPTION:case y.OPTGROUP:{iB(e,n);break}case y.NOEMBED:case y.NOFRAMES:{pA(e,n);break}case y.FRAMESET:{UU(e,n);break}case y.TEXTAREA:{tB(e,n);break}case y.NOSCRIPT:{e.options.scriptingEnabled?pA(e,n):mA(e,n);break}case y.PLAINTEXT:{YU(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:mA(e,n)}}function cB(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 dB(e,n){e.openElements.hasInScope(y.BODY)&&(e.insertionMode=j.AFTER_BODY,z3(e,n))}function fB(e,n){const a=n.tagID;e.openElements.hasInScope(a)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(a))}function hB(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 pB(e){e.openElements.hasInButtonScope(y.P)||e._insertFakeElement(re.P,y.P),e._closePElement()}function mB(e){e.openElements.hasInListItemScope(y.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(y.LI),e.openElements.popUntilTagNamePopped(y.LI))}function gB(e,n){const a=n.tagID;e.openElements.hasInScope(a)&&(e.openElements.generateImpliedEndTagsWithExclusion(a),e.openElements.popUntilTagNamePopped(a))}function vB(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}function yB(e,n){const a=n.tagID;e.openElements.hasInScope(a)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(a),e.activeFormattingElements.clearToLastMarker())}function EB(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(re.BR,y.BR),e.openElements.pop(),e.framesetOk=!1}function O3(e,n){const a=n.tagName,s=n.tagID;for(let f=e.openElements.stackTop;f>0;f--){const p=e.openElements.items[f],d=e.openElements.tagIDs[f];if(s===d&&(s!==y.UNKNOWN||e.treeAdapter.getTagName(p)===a)){e.openElements.generateImpliedEndTagsWithExclusion(s),e.openElements.stackTop>=f&&e.openElements.shortenToLength(f);break}if(e._isSpecialElement(p,d))break}}function W1(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:{nx(e,n);break}case y.P:{pB(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:{fB(e,n);break}case y.LI:{mB(e);break}case y.DD:case y.DT:{gB(e,n);break}case y.H1:case y.H2:case y.H3:case y.H4:case y.H5:case y.H6:{vB(e);break}case y.BR:{EB(e);break}case y.BODY:{cB(e,n);break}case y.HTML:{dB(e,n);break}case y.FORM:{hB(e);break}case y.APPLET:case y.OBJECT:case y.MARQUEE:{yB(e,n);break}case y.TEMPLATE:{Nc(e,n);break}default:O3(e,n)}}function L3(e,n){e.tmplInsertionModeStack.length>0?H3(e,n):rx(e,n)}function bB(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 wB(e,n){e._err(n,le.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(n)}function Gw(e,n){if(A3.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 At.CHARACTER:{M3(e,n);break}case At.WHITESPACE_CHARACTER:{I3(e,n);break}}else Vm(e,n)}function TB(e,n){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(n,we.HTML),e.insertionMode=j.IN_CAPTION}function xB(e,n){e.openElements.clearBackToTableContext(),e._insertElement(n,we.HTML),e.insertionMode=j.IN_COLUMN_GROUP}function SB(e,n){e.openElements.clearBackToTableContext(),e._insertFakeElement(re.COLGROUP,y.COLGROUP),e.insertionMode=j.IN_COLUMN_GROUP,ax(e,n)}function CB(e,n){e.openElements.clearBackToTableContext(),e._insertElement(n,we.HTML),e.insertionMode=j.IN_TABLE_BODY}function _B(e,n){e.openElements.clearBackToTableContext(),e._insertFakeElement(re.TBODY,y.TBODY),e.insertionMode=j.IN_TABLE_BODY,q1(e,n)}function AB(e,n){e.openElements.hasInTableScope(y.TABLE)&&(e.openElements.popUntilTagNamePopped(y.TABLE),e._resetInsertionMode(),e._processStartTag(n))}function kB(e,n){D3(n)?e._appendElement(n,we.HTML):Vm(e,n),n.ackSelfClosing=!0}function RB(e,n){!e.formElement&&e.openElements.tmplCount===0&&(e._insertElement(n,we.HTML),e.formElement=e.openElements.current,e.openElements.pop())}function Yf(e,n){switch(n.tagID){case y.TD:case y.TH:case y.TR:{_B(e,n);break}case y.STYLE:case y.SCRIPT:case y.TEMPLATE:{co(e,n);break}case y.COL:{SB(e,n);break}case y.FORM:{RB(e,n);break}case y.TABLE:{AB(e,n);break}case y.TBODY:case y.TFOOT:case y.THEAD:{CB(e,n);break}case y.INPUT:{kB(e,n);break}case y.CAPTION:{TB(e,n);break}case y.COLGROUP:{xB(e,n);break}default:Vm(e,n)}}function Im(e,n){switch(n.tagID){case y.TABLE:{e.openElements.hasInTableScope(y.TABLE)&&(e.openElements.popUntilTagNamePopped(y.TABLE),e._resetInsertionMode());break}case y.TEMPLATE:{Nc(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:Vm(e,n)}}function Vm(e,n){const a=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,Y1(e,n),e.fosterParentingEnabled=a}function I3(e,n){e.pendingCharacterTokens.push(n)}function M3(e,n){e.pendingCharacterTokens.push(n),e.hasNonWhitespacePendingCharacterToken=!0}function xm(e,n){let a=0;if(e.hasNonWhitespacePendingCharacterToken)for(;a<e.pendingCharacterTokens.length;a++)Vm(e,e.pendingCharacterTokens[a]);else for(;a<e.pendingCharacterTokens.length;a++)e._insertCharacters(e.pendingCharacterTokens[a]);e.insertionMode=e.originalInsertionMode,e._processToken(n)}const P3=new Set([y.CAPTION,y.COL,y.COLGROUP,y.TBODY,y.TD,y.TFOOT,y.TH,y.THEAD,y.TR]);function NB(e,n){const a=n.tagID;P3.has(a)?e.openElements.hasInTableScope(y.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(y.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=j.IN_TABLE,Yf(e,n)):aa(e,n)}function DB(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&&Im(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:W1(e,n)}}function ax(e,n){switch(n.tagID){case y.HTML:{aa(e,n);break}case y.COL:{e._appendElement(n,we.HTML),n.ackSelfClosing=!0;break}case y.TEMPLATE:{co(e,n);break}default:R1(e,n)}}function OB(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:{Nc(e,n);break}case y.COL:break;default:R1(e,n)}}function R1(e,n){e.openElements.currentTagId===y.COLGROUP&&(e.openElements.pop(),e.insertionMode=j.IN_TABLE,e._processToken(n))}function q1(e,n){switch(n.tagID){case y.TR:{e.openElements.clearBackToTableBodyContext(),e._insertElement(n,we.HTML),e.insertionMode=j.IN_ROW;break}case y.TH:case y.TD:{e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(re.TR,y.TR),e.insertionMode=j.IN_ROW,Q1(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,Yf(e,n));break}default:Yf(e,n)}}function CT(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,Im(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:Im(e,n)}}function Q1(e,n){switch(n.tagID){case y.TH:case y.TD:{e.openElements.clearBackToTableRowContext(),e._insertElement(n,we.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,q1(e,n));break}default:Yf(e,n)}}function F3(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,CT(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,CT(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:Im(e,n)}}function LB(e,n){const a=n.tagID;P3.has(a)?(e.openElements.hasInTableScope(y.TD)||e.openElements.hasInTableScope(y.TH))&&(e._closeTableCell(),Q1(e,n)):aa(e,n)}function IB(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(),F3(e,n));break}case y.BODY:case y.CAPTION:case y.COL:case y.COLGROUP:case y.HTML:break;default:W1(e,n)}}function U3(e,n){switch(n.tagID){case y.HTML:{aa(e,n);break}case y.OPTION:{e.openElements.currentTagId===y.OPTION&&e.openElements.pop(),e._insertElement(n,we.HTML);break}case y.OPTGROUP:{e.openElements.currentTagId===y.OPTION&&e.openElements.pop(),e.openElements.currentTagId===y.OPTGROUP&&e.openElements.pop(),e._insertElement(n,we.HTML);break}case y.HR:{e.openElements.currentTagId===y.OPTION&&e.openElements.pop(),e.openElements.currentTagId===y.OPTGROUP&&e.openElements.pop(),e._appendElement(n,we.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:{co(e,n);break}}}function B3(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:{Nc(e,n);break}}}function MB(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)):U3(e,n)}function PB(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)):B3(e,n)}function FB(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:{co(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,Yf(e,n);break}case y.COL:{e.tmplInsertionModeStack[0]=j.IN_COLUMN_GROUP,e.insertionMode=j.IN_COLUMN_GROUP,ax(e,n);break}case y.TR:{e.tmplInsertionModeStack[0]=j.IN_TABLE_BODY,e.insertionMode=j.IN_TABLE_BODY,q1(e,n);break}case y.TD:case y.TH:{e.tmplInsertionModeStack[0]=j.IN_ROW,e.insertionMode=j.IN_ROW,Q1(e,n);break}default:e.tmplInsertionModeStack[0]=j.IN_BODY,e.insertionMode=j.IN_BODY,aa(e,n)}}function UB(e,n){n.tagID===y.TEMPLATE&&Nc(e,n)}function H3(e,n){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(y.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(n)):rx(e,n)}function BB(e,n){n.tagID===y.HTML?aa(e,n):N1(e,n)}function z3(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 N1(e,n)}function N1(e,n){e.insertionMode=j.IN_BODY,Y1(e,n)}function HB(e,n){switch(n.tagID){case y.HTML:{aa(e,n);break}case y.FRAMESET:{e._insertElement(n,we.HTML);break}case y.FRAME:{e._appendElement(n,we.HTML),n.ackSelfClosing=!0;break}case y.NOFRAMES:{co(e,n);break}}}function zB(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 jB(e,n){switch(n.tagID){case y.HTML:{aa(e,n);break}case y.NOFRAMES:{co(e,n);break}}}function VB(e,n){n.tagID===y.HTML&&(e.insertionMode=j.AFTER_AFTER_FRAMESET)}function YB(e,n){n.tagID===y.HTML?aa(e,n):E1(e,n)}function E1(e,n){e.insertionMode=j.IN_BODY,Y1(e,n)}function WB(e,n){switch(n.tagID){case y.HTML:{aa(e,n);break}case y.NOFRAMES:{co(e,n);break}}}function qB(e,n){n.chars=Sn,e._insertCharacters(n)}function QB(e,n){e._insertCharacters(n),e.framesetOk=!1}function j3(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==we.HTML&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}function $B(e,n){if(lU(n))j3(e),e._startTagOutsideForeignContent(n);else{const a=e._getAdjustedCurrentElement(),s=e.treeAdapter.getNamespaceURI(a);s===we.MATHML?C3(n):s===we.SVG&&(cU(n),_3(n)),tx(n),n.selfClosing?e._appendElement(n,s):e._insertElement(n,s),n.ackSelfClosing=!0}}function GB(e,n){if(n.tagID===y.P||n.tagID===y.BR){j3(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)===we.HTML){e._endTagOutsideForeignContent(n);break}const f=e.treeAdapter.getTagName(s);if(f.toLowerCase()===n.tagName){n.tagName=f,e.openElements.shortenToLength(a);break}}}re.AREA,re.BASE,re.BASEFONT,re.BGSOUND,re.BR,re.COL,re.EMBED,re.FRAME,re.HR,re.IMG,re.INPUT,re.KEYGEN,re.LINK,re.META,re.PARAM,re.SOURCE,re.TRACK,re.WBR;const XB=/<(\/?)(iframe|noembed|noframes|plaintext|script|style|textarea|title|xmp)(?=[\t\n\f\r />])/gi,KB=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),gA={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function V3(e,n){const a=uH(e),s=ok("type",{handlers:{root:ZB,element:JB,text:eH,comment:W3,doctype:tH,raw:rH},unknown:aH}),f={parser:a?new hA(gA):hA.getFragmentParser(void 0,gA),handle(g){s(g,f)},stitches:!1,options:n||{}};s(e,f),eh(f,Wo());const p=a?f.parser.document:f.parser.getFragment(),d=s7(p,{file:f.options.file});return f.stitches&&B1(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 Y3(e,n){let a=-1;if(e)for(;++a<e.length;)n.handle(e[a])}function ZB(e,n){Y3(e.children,n)}function JB(e,n){iH(e,n),Y3(e.children,n),oH(e,n)}function eH(e,n){n.parser.tokenizer.state>4&&(n.parser.tokenizer.state=0);const a={type:At.CHARACTER,chars:e.value,location:Ym(e)};eh(n,Wo(e)),n.parser.currentToken=a,n.parser._processToken(n.parser.currentToken)}function tH(e,n){const a={type:At.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:Ym(e)};eh(n,Wo(e)),n.parser.currentToken=a,n.parser._processToken(n.parser.currentToken)}function nH(e,n){n.stitches=!0;const a=sH(e);if("children"in e&&"children"in a){const s=V3({type:"root",children:e.children},n.options);a.children=s.children}W3({type:"comment",value:{stitch:a}},n)}function W3(e,n){const a=e.value,s={type:At.COMMENT,data:a,location:Ym(e)};eh(n,Wo(e)),n.parser.currentToken=s,n.parser._processToken(n.parser.currentToken)}function rH(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,q3(n,Wo(e)),n.parser.tokenizer.write(n.options.tagfilter?e.value.replace(XB,"<$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 aH(e,n){const a=e;if(n.options.passThrough&&n.options.passThrough.includes(a.type))nH(a,n);else{let s="";throw KB.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 eh(e,n){q3(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=Wn.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 q3(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 iH(e,n){const a=e.tagName.toLowerCase();if(n.parser.tokenizer.state===Wn.PLAINTEXT)return;eh(n,Wo(e));const s=n.parser.openElements.current;let f="namespaceURI"in s?s.namespaceURI:Cc.html;f===Cc.html&&a==="svg"&&(f=Cc.svg);const p=h7({...e,children:[]},{space:f===Cc.svg?"svg":"html"}),d={type:At.START_TAG,tagName:a,tagID:Jf(a),selfClosing:!1,ackSelfClosing:!1,attrs:"attrs"in p?p.attrs:[],location:Ym(e)};n.parser.currentToken=d,n.parser._processToken(n.parser.currentToken),n.parser.tokenizer.lastStartTagName=a}function oH(e,n){const a=e.tagName.toLowerCase();if(!n.parser.tokenizer.inForeignNode&&w7.includes(a)||n.parser.tokenizer.state===Wn.PLAINTEXT)return;eh(n,j1(e));const s={type:At.END_TAG,tagName:a,tagID:Jf(a),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:Ym(e)};n.parser.currentToken=s,n.parser._processToken(n.parser.currentToken),a===n.parser.tokenizer.lastStartTagName&&(n.parser.tokenizer.state===Wn.RCDATA||n.parser.tokenizer.state===Wn.RAWTEXT||n.parser.tokenizer.state===Wn.SCRIPT_DATA)&&(n.parser.tokenizer.state=Wn.DATA)}function uH(e){const n=e.type==="root"?e.children[0]:e;return!!(n&&(n.type==="doctype"||n.type==="element"&&n.tagName.toLowerCase()==="html"))}function Ym(e){const n=Wo(e)||{line:void 0,column:void 0,offset:void 0},a=j1(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 sH(e){return"children"in e?Vf({...e,children:[]}):Vf(e)}function lH(e){return function(n,a){return V3(n,{...e,file:a})}}function Q3({attachment:e}){const{name:n,size:a,type:s,url:f}=e,p=s.startsWith("image/"),d=s.startsWith("video/"),g=s.startsWith("audio/");return U.jsxs("div",{className:"size-fit gap-2 border shrink-0 rounded-xl overflow-hidden",children:[p&&U.jsx("img",{loading:"lazy",src:f,className:"object-cover size-16"}),d&&U.jsxs("video",{controls:!0,children:[U.jsx("source",{src:f,type:s}),"Your browser does not support the video tag."]}),g&&U.jsxs("audio",{controls:!0,className:"w-full mt-2 rounded-md border",children:[U.jsx("source",{src:f,type:s}),"Your browser does not support the audio tag."]}),!p&&!d&&!g&&U.jsxs("div",{className:"flex items-center gap-2 p-2",children:[U.jsx("a",{href:f,target:"_blank",rel:"noopener noreferrer",className:"text-blue-500 line-clamp-2 underline hover:text-blue-600",children:n}),U.jsxs("span",{className:"text-sm text-gray-500 whitespace-nowrap",children:[(a/1024).toFixed(2)," KB"]})]})]})}function cH({data:e,id:n,type:a,attachments:s}){const{message:f,variant:p="default"}=e;return p==="error"?U.jsx("div",{children:U.jsx("div",{className:"gap-0.5 flex flex-row flex-wrap items-center justify-start",children:U.jsx("div",{className:"leading-snug font-medium text-sm text-rose-500",children:f})})}):U.jsxs("div",{children:[U.jsx("div",{className:"gap-0.5 flex flex-row flex-wrap items-center justify-start",children:s==null?void 0:s.map(d=>U.jsx(Q3,{attachment:d},d.id))}),U.jsx(KF,{"data-type":a,"data-id":n,remarkPlugins:[cP],rehypePlugins:[lH],components:{a:({children:d,...g})=>U.jsx("a",{target:"_top",...g,children:d})},className:"leading-snug font-medium text-sm prose prose-a:decoration-primary prose-a:underline prose-sm prose-slate",children:f})]})}const $1=ie.forwardRef(({className:e,...n},a)=>U.jsx($f.Root,{ref:a,className:Lt("relative flex size-6 aspect-square shrink-0 overflow-hidden rounded-lg border bg-secondary",e),...n}));$1.displayName=$f.Root.displayName;const ix=ie.forwardRef(({className:e,...n},a)=>U.jsx($f.Image,{ref:a,className:Lt("aspect-square h-full w-full",e),...n}));ix.displayName=$f.Image.displayName;const ox=ie.forwardRef(({className:e,...n},a)=>U.jsx($f.Fallback,{ref:a,className:Lt("flex size-full text-sm items-center justify-center rounded-lg",e),...n}));ox.displayName=$f.Fallback.displayName;function dH(){return U.jsx(Sr.AnimatePresence,{children:U.jsxs(Sr.motion.div,{animate:{opacity:1},exit:{opacity:0},transition:{duration:.5},className:"flex flex-row items-end w-full gap-1",children:[U.jsx("div",{className:"flex items-center gap-1",children:U.jsx($1,{className:"animate-pulse size-7 rounded-xl bg-secondary",children:U.jsx(ox,{})})}),U.jsxs("div",{className:"flex items-center [&_span]:bg-secondary-foreground [&_span]:size-1 gap-1 p-3 rounded-lg rounded-bl-none bg-secondary",children:[U.jsx(Sr.motion.span,{className:"rounded-full animate-bounce [animation-delay:-0.3s]"}),U.jsx(Sr.motion.span,{className:"rounded-full animate-bounce [animation-delay:-0.15s]"}),U.jsx(Sr.motion.span,{className:"rounded-full animate-bounce"})]})]})})}function fH(e){return U.jsx("div",{className:"w-full max-w-full overflow-auto shrink-0",children:U.jsx("pre",{dir:"auto",className:"text-xs leading-tight",children:JSON.stringify(e,null,1)})})}const vA=e=>typeof e=="boolean"?"".concat(e):e===0?"0":e,yA=QA.clsx,hH=(e,n)=>a=>{var s;if((n==null?void 0:n.variants)==null)return yA(e,a==null?void 0:a.class,a==null?void 0:a.className);const{variants:f,defaultVariants:p}=n,d=Object.keys(f).map(b=>{const C=a==null?void 0:a[b],S=p==null?void 0:p[b];if(C===null)return null;const R=vA(C)||vA(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,...A}=C;return Object.entries(A).every(D=>{let[L,B]=D;return Array.isArray(B)?B.includes({...p,...g}[L]):{...p,...g}[L]===B})?[...b,S,R]:b},[]);return yA(e,d,E,a==null?void 0:a.class,a==null?void 0:a.className)},EA={x:2,y:2},pH={1:"scale-[1]","1.01":"scale-[1.01]","1.02":"scale-[1.02]","1.1":"scale-[1.1]"},Wm=Dt.memo(Dt.forwardRef(({children:e,className:n,scale:a="1.02",off:s=!1},f)=>{const[p,d]=Dt.useState(!1),[g,E]=Dt.useState({x:0,y:0});if(s||/translate/.test(e.props.className||""))return e;const C=D=>{var Te,Me;const{clientX:L,clientY:B}=D,z=D.currentTarget.getBoundingClientRect(),G=L-(z.left+z.width/2),W=B-(z.top+z.height/2),Z=Math.max(-1,Math.min(1,G/(z.width/2))),J=Math.max(-1,Math.min(1,W/(z.height/2))),X=Z*EA.x,ce=J*EA.y;E({x:X,y:ce}),(Me=(Te=e.props).onMouseMove)==null||Me.call(Te,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)},A={"--opencx-wobble-x":p?`${g.x}px`:"0px","--opencx-wobble-y":p?`${g.y}px`:"0px"};return Dt.cloneElement(e,{ref:f,onMouseMove:C,onMouseEnter:S,onMouseLeave:R,style:{...A,...e.props.style},className:Lt("translate-x-[var(--opencx-wobble-x)]","translate-y-[var(--opencx-wobble-y)]",`hover:${pH[a]}`,n,e.props.className,"transition-all ease-out")})}));Wm.displayName="Wobble";const mH=hH(Lt("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:"h-11 px-8",icon:"h-10 w-10",fit:"size-fit p-2"}},defaultVariants:{variant:"default",size:"default"}}),uo=ie.forwardRef(({className:e,variant:n,size:a,asChild:s=!1,...f},p)=>{const d=s?PT.Slot:"button";return U.jsx(Wm,{ref:p,children:U.jsx(d,{className:Lt(mH({variant:n,size:a,className:e})),...f})})});uo.displayName="Button";function gH({messageId:e,sessionId:n,className:a}){const[s,f]=vt.useVote(e,n),[p,d]=Dt.useState(null),[g,E]=Dt.useState(null),b=async C=>{E(null);try{await f(C),d(C)}catch{E("Failed to submit feedback")}};return g?U.jsxs(Sr.motion.div,{initial:{opacity:0},animate:{opacity:1},className:Lt("flex items-center gap-1 text-destructive text-xs",a),children:[U.jsx(cn.AlertCircle,{className:"size-3"}),U.jsx("span",{children:g}),U.jsx(uo,{variant:"ghost",size:"fit",className:"text-xs hover:text-primary",onClick:()=>E(null),children:"Try again"})]}):U.jsx(Sr.AnimatePresence,{mode:"wait",children:p?U.jsxs(Sr.motion.div,{initial:{opacity:0,scale:.95},animate:{opacity:1,scale:1},className:Lt("text-sm text-muted-foreground flex items-center gap-2",a),children:[p==="up"?U.jsx(cn.ThumbsUp,{className:"size-3 text-green-500"}):U.jsx(cn.ThumbsDown,{className:"size-3 text-red-500"}),U.jsx("span",{className:"text-xs",children:p==="up"?"Feedback received, thank you!":"We'll work on improving"})]}):U.jsxs(Sr.motion.div,{className:Lt("flex gap-0.5",a),initial:{opacity:0,y:10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},children:[U.jsx(uo,{variant:"ghost",size:"fit",className:Lt("rounded-full transition-all hover:text-green-500 hover:bg-green-50/50",s.loading&&"opacity-50 cursor-not-allowed"),disabled:s.loading,onClick:()=>b("up"),children:U.jsx(cn.ThumbsUp,{className:"size-3.5"})}),U.jsx(uo,{variant:"ghost",size:"fit",className:Lt("rounded-full transition-all hover:text-red-500 hover:bg-red-50/50",s.loading&&"opacity-50 cursor-not-allowed"),disabled:s.loading,onClick:()=>b("down"),children:U.jsx(cn.ThumbsDown,{className:"size-3.5"})})]})})}function Xw({children:e,agent:n,className:a,messageId:s,sessionId:f}){return U.jsxs("div",{className:"flex flex-row items-end w-full gap-2",children:[U.jsx($1,{className:"flex items-center size-7 border-0",children:U.jsx(ix,{src:(n==null?void 0:n.profile_picture)??"",alt:"Agent Icon"})}),U.jsxs("div",{className:Lt("w-fit min-w-[80%]",a),children:[U.jsx("div",{className:"rounded-xl rounded-bl-none bg-secondary shadow-sm p-2.5 min-w-fit",children:e}),s&&f&&U.jsx(gH,{messageId:s,sessionId:f,className:"self-end"})]})]})}function s1({message:e,Wrapper:n,wrapperProps:a}){const s=vt.useConfigData(),f=s.componentStore.getComponent(e.component,s.debug);return f?n?Dt.createElement(n,{...a,key:e.id},U.jsx(f,{...e,id:e.id})):Dt.createElement(f,{...e,id:e.id,key:e.id}):null}const vH=400,yH=600,ux={widgetMinHeight:"min-h-[400px]",widgetMaxHeight:"max-h-[600px]",widgetHeight:"h-[600px]"},$3=(e,n)=>{const a=ZC(e.primary).toHsl(),s=ZC(e.primary).isLight()?"240 10% 3.9%":"0 0% 100%";return{"--opencx-primary":`${a.h} ${a.s}% ${a.l}%`,"--opencx-primary-foreground":s,"--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%","--opencx-trigger-offset":n.triggerOffset}},EH=10,bH=(e,n)=>({initial:{opacity:0,x:-e,...n.initial},animate:{opacity:1,x:0,...n.animate},exit:{opacity:0,x:e,...n.exit}}),wH=(e,n)=>({initial:{opacity:0,x:e,...n.initial},animate:{opacity:1,x:0,...n.animate},exit:{opacity:0,x:-e,...n.exit}}),TH=(e,n)=>({initial:{opacity:0,y:e,...n.initial},animate:{opacity:1,y:0,...n.animate},exit:{opacity:0,y:-e,...n.exit}}),xH=(e,n)=>({initial:{opacity:0,y:-e,...n.initial},animate:{opacity:1,y:0,...n.animate},exit:{opacity:0,y:e,...n.exit}}),SH={right:bH,left:wH,up:TH,down:xH},oi=Dt.forwardRef(({fadeIn:e="down",distance:n=EH,children:a,snapExit:s=!1,overrides:f={},...p},d)=>{const g=e?SH[e](n,f):{};return s&&g.exit&&typeof g.exit=="object"&&!Array.isArray(g.exit)&&(g.exit.transition={duration:0}),U.jsx(Sr.motion.div,{ref:d,...p,...g,children:a})});oi.displayName="MotionDiv";function CH(){const{contact:e}=vt.useContact(),{collectUserData:n}=vt.useConfigData();return{shouldCollectDataFirst:n&&!(e!=null&&e.id)}}function _H({children:e,user:n,message:a}){var f,p,d;const s=Dt.useMemo(()=>a.deliveredAt?PL.formatDistance(new Date(a.deliveredAt),new Date,{addSuffix:!0}):null,[a.deliveredAt]);return U.jsxs("div",{className:"flex flex-row w-full gap-2 justify-end items-start group",children:[U.jsx("div",{className:"flex flex-col items-end gap-1 relative",children:U.jsxs("div",{className:"max-w-[85%] min-w-fit",children:[U.jsx("div",{className:"bg-primary p-2 text-primary-foreground rounded-xl leading-relaxed text-sm",children:e}),a.attachments&&a.attachments.length>0&&U.jsx("div",{className:"flex gap-1 flex-wrap mb-1",children:(f=a.attachments)==null?void 0:f.map(g=>U.jsx(Q3,{attachment:g},g.id))}),s&&U.jsxs("div",{className:"flex items-center justify-end gap-1 mt-1 text-[10px] text-zinc-500 opacity-0 group-hover:opacity-100 transition-opacity duration-200",children:[U.jsx("span",{children:s}),U.jsx(cn.CheckCheck,{className:"size-3"})]})]})}),U.jsxs($1,{className:"size-8 ring-2 ring-white shadow-sm",children:[U.jsx(ix,{src:n==null?void 0:n.avatarUrl,className:"object-cover",alt:(n==null?void 0:n.name)||"User avatar"}),U.jsx(ox,{className:"bg-zinc-100 text-zinc-600 text-xs font-medium",children:((d=(p=n==null?void 0:n.name)==null?void 0:p.slice(0,2))==null?void 0:d.toUpperCase())||"U"})]})]})}function AH({options:e,onKeyboardClick:n}){return U.jsx("div",{className:"flex items-center gap-2 p-2 flex-wrap",children:e.map((a,s)=>U.jsx(uo,{onClick:()=>n(a),className:"flex-1 rounded-full",size:"sm",children:a},s))})}const kH=qn.Root,RH=qn.Trigger,bA=qn.Group,NH=ie.forwardRef(({className:e,inset:n,children:a,...s},f)=>U.jsxs(qn.SubTrigger,{ref:f,className:Lt("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,U.jsx(cn.ChevronRight,{className:"ml-auto"})]}));NH.displayName=qn.SubTrigger.displayName;const DH=ie.forwardRef(({className:e,...n},a)=>U.jsx(qn.SubContent,{ref:a,className:Lt("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}));DH.displayName=qn.SubContent.displayName;const G3=ie.forwardRef(({className:e,sideOffset:n=4,...a},s)=>U.jsx(qn.Content,{ref:s,sideOffset:n,className:Lt("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}));G3.displayName=qn.Content.displayName;const b1=ie.forwardRef(({className:e,inset:n,...a},s)=>U.jsx(oi,{children:U.jsx(qn.Item,{ref:s,className:Lt("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})}));b1.displayName=qn.Item.displayName;const OH=ie.forwardRef(({className:e,children:n,checked:a,...s},f)=>U.jsxs(qn.CheckboxItem,{ref:f,className:Lt("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:[U.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:U.jsx(qn.ItemIndicator,{children:U.jsx(cn.Check,{className:"h-4 w-4"})})}),n]}));OH.displayName=qn.CheckboxItem.displayName;const LH=ie.forwardRef(({className:e,children:n,...a},s)=>U.jsxs(qn.RadioItem,{ref:s,className:Lt("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:[U.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:U.jsx(qn.ItemIndicator,{children:U.jsx(cn.Circle,{className:"h-2 w-2 fill-current"})})}),n]}));LH.displayName=qn.RadioItem.displayName;const IH=ie.forwardRef(({className:e,inset:n,...a},s)=>U.jsx(qn.Label,{ref:s,className:Lt("px-2 py-1.5 text-sm font-semibold",n&&"pl-8",e),...a}));IH.displayName=qn.Label.displayName;const X3=ie.forwardRef(({className:e,...n},a)=>U.jsx(qn.Separator,{ref:a,className:Lt("-mx-1 my-1 h-px bg-muted",e),...n}));X3.displayName=qn.Separator.displayName;function MH({className:e,...n}){return U.jsx("div",{className:Lt("animate-pulse rounded-md bg-secondary",e),...n})}const _T=ie.forwardRef(({className:e,...n},a)=>U.jsx(Wm,{scale:"1.1",ref:a,children:U.jsx(sT.Root,{className:Lt("peer group inline-flex h-5 w-9 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent shadow-sm transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input",e),...n,ref:a,children:U.jsx(sT.Thumb,{className:Lt("pointer-events-none block size-4 rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-4 data-[state=unchecked]:translate-x-0","group-active:scale-90 group-hover:active:scale-90")})})}));_T.displayName=sT.Root.displayName;function PH(){const e=vt.useLocale(),[n,a]=Dt.useState(!1),{clearSession:s}=vt.useChat(),{widgetSettings:f,setSettings:p}=vt.useConfigData(),d=()=>{p({persistSession:!(f!=null&&f.persistSession)})},g=()=>{p({useSoundEffects:!(f!=null&&f.useSoundEffects)})};return U.jsxs(kH,{open:n,onOpenChange:a,children:[U.jsx(RH,{asChild:!0,children:U.jsx(uo,{variant:"ghost",size:"fit",className:"rounded-full",children:U.jsx(cn.EllipsisVerticalIcon,{className:"size-4"})})}),U.jsxs(G3,{align:"end",className:"min-w-56",children:[U.jsxs(bA,{children:[U.jsxs(b1,{onSelect:E=>{E.preventDefault(),d()},children:[U.jsx(Sr.AnimatePresence,{mode:"wait",children:f!=null&&f.persistSession?U.jsx(oi,{fadeIn:"right",distance:4,snapExit:!0,children:U.jsx(cn.SaveIcon,{})},"save"):U.jsx(oi,{fadeIn:"right",distance:4,snapExit:!0,children:U.jsx(cn.SaveOffIcon,{})},"save-off")}),e.get("persist-session"),U.jsx(_T,{className:"ml-auto",checked:f==null?void 0:f.persistSession,onCheckedChange:d})]}),U.jsxs(b1,{onSelect:E=>{E.preventDefault(),g()},children:[U.jsx(Sr.AnimatePresence,{mode:"wait",children:f!=null&&f.useSoundEffects?U.jsx(oi,{fadeIn:"right",distance:4,snapExit:!0,children:U.jsx(cn.Volume2Icon,{})},"volume-2"):U.jsx(oi,{fadeIn:"right",distance:4,snapExit:!0,children:U.jsx(cn.VolumeOffIcon,{})},"volume-off")}),e.get("sound-effects"),U.jsx(_T,{className:"ml-auto",checked:f==null?void 0:f.useSoundEffects,onCheckedChange:g})]})]}),U.jsx(X3,{}),U.jsx(bA,{children:U.jsxs(b1,{onSelect:()=>{s(),a(!1)},children:[U.jsx(Sr.motion.div,{initial:{opacity:0,x:-4,rotate:360},animate:{opacity:1,x:0,rotate:0},children:U.jsx(cn.RotateCcw,{})}),e.get("reset-conversation")]})})]})]})}function FH(){const{data:e,isLoading:n}=vt.usePreludeData();return U.jsx("header",{className:"p-2 border-b bg-background",children:U.jsxs("div",{className:"flex items-center gap-2",children:[U.jsx("div",{className:"flex-1 pl-2",children:n?U.jsx(MH,{className:"h-4 w-2/3"}):U.jsx("h2",{className:"font-semibold",children:e==null?void 0:e.organization_name})}),U.jsx(PH,{})]})})}function UH({file:{status:e,file:n,error:a},onCancel:s}){const[f,p]=Dt.useState(null);Dt.useEffect(()=>{if(!n.type.startsWith("image/"))return;const E=new FileReader;return E.onload=()=>p(E.result),E.onerror=()=>console.error("Error reading file"),E.readAsDataURL(n),()=>E.abort()},[n]);const d=()=>{switch(e){case"uploading":return U.jsx(cn.Loader2,{className:"size-4 animate-spin"});case"error":return U.jsx(cn.AlertCircle,{className:"size-4 text-destructive"});default:return null}},g=()=>{const E=n.type.split("/")[0];return E==="image"&&f?U.jsx("img",{src:typeof f=="string"?f:"",className:"object-cover bg-secondary size-full",alt:n.name}):E==="audio"?U.jsx(cn.FileAudio,{}):U.jsx(cn.FileIcon,{})};return U.jsx(cT,{content:e==="error"?U.jsxs("span",{className:"text-destructive",children:["Failed to upload: ",a]}):n.name,children:U.jsxs("div",{className:Lt(e==="uploading"&&"opacity-50","group","size-12 border rounded-2xl overflow-hidden relative","flex items-center justify-center shrink-0"),children:[U.jsx("div",{className:"absolute inset-0 flex items-center justify-center",children:d()}),U.jsx("button",{className:Lt("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:U.jsx(cn.XIcon,{className:"size-4 text-primary-foreground"})}),U.jsx(g,{})]})})}const wA=Lt("rounded-3xl");function BH(){const{collectUserData:e}=vt.useConfigData(),n=Dt.useRef(null),{sendMessage:a,hookState:s,session:f}=vt.useChat(),{contact:p}=vt.useContact(),d=vt.useLocale(),[g,E]=Dt.useState(""),{allFiles:b,emptyTheFiles:C,handleCancelUpload:S,appendFiles:R,isUploading:A,successFiles:D}=vt.useUploadFiles(),L=f&&((f==null?void 0:f.isAssignedToHuman)||f.ai_closure_type===vt.AIClosureType.handed_off),B=Te=>{L&&R(Te)},z=async()=>{s.state!=="loading"&&(A&&JC.error("please wait for the file(s) to upload"),g.trim()&&(E(""),C(),await a({content:{text:g.trim()},user:{email:(p==null?void 0:p.email)??void 0,name:(p==null?void 0:p.name)??void 0},attachments:D.map(Te=>({url:Te.fileUrl,type:Te.file.type,name:Te.file.name,id:Te.id,size:Te.file.size}))})))},{getRootProps:G,getInputProps:W,open:Z}=BL.useDropzone({onDrop:B,noClick:!0,onDropRejected(){L&&JC.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"]}}),J=s.state==="loading",X=e&&!(p!=null&&p.id),ce=Te=>{const Me=Te.clipboardData;Me&&Me.files.length>0&&B(Array.from(Me.files))};return U.jsxs("div",{className:"p-2 relative space-y-1",...G(),children:[U.jsx("input",{...W()}),U.jsxs("div",{className:Lt(wA,"relative space-y-2 border transition-all shadow py-2"),children:[U.jsx("div",{className:"flex items-center gap-1 px-2",children:U.jsx(Sr.AnimatePresence,{mode:"popLayout",children:b.map(Te=>U.jsx(oi,{snapExit:!0,children:U.jsx(UH,{onCancel:()=>S(Te.id),file:Te})},Te.id))})}),U.jsx("textarea",{onPaste:ce,ref:n,id:"chat-input",dir:"auto",disabled:J,value:g,rows:3,className:Lt(wA,"w-full px-3","resize-none","bg-transparent outline-none","text-sm"),onChange:Te=>E(Te.target.value),onKeyDown:async Te=>{Te.key==="Enter"&&!Te.shiftKey&&(Te.preventDefault(),z())},placeholder:d.get("write-a-message")}),U.jsxs("div",{className:"px-2 flex justify-between",children:[U.jsx(cT,{side:"top",align:"end",content:"attach files, (maximum size 5mb)",children:U.jsx(uo,{onClick:()=>{L&&Z()},size:"fit",variant:"outline",className:Lt("disabled:opacity-0","rounded-full size-8 flex items-center justify-center p-0"),disabled:!L,children:U.jsx(cn.PaperclipIcon,{className:"size-4"})})}),U.jsx(cT,{content:"send message",children:U.jsx(uo,{size:"fit",onClick:z,disabled:J||X||A,className:"rounded-full size-8 flex items-center justify-center p-0",children:J?U.jsx(cn.CircleDashed,{className:"size-4 animate-spin animate-iteration-infinite"}):U.jsx(cn.SendHorizonal,{className:"size-4 rtl:-scale-100"})})})]})]})]})}function HH(){const{recreateSession:e}=vt.useChat(),n=vt.useLocale();return U.jsx("div",{className:"p-2",children:U.jsxs("div",{className:"p-2 bg-background rounded-3xl border shadow-2xl space-y-2",children:[U.jsxs("div",{className:"flex items-center gap-1",children:[U.jsx(cn.CheckCheckIcon,{className:"size-4 text-emerald-500"}),U.jsx("h2",{className:"text-sm font-medium",dir:"auto",children:n.get("session-closed-lead")})]}),U.jsx("div",{children:U.jsx(uo,{onClick:e,className:"rounded-2xl w-full",children:n.get("create-new-ticket")})})]})})}function zH(){const{session:e,hookState:n}=vt.useChat(),a=e&&e.isSessionClosed===!0&&n.state!=="loading";return U.jsx("div",{children:U.jsx(Sr.AnimatePresence,{mode:"wait",children:a?U.jsx(oi,{className:"overflow-hidden",overrides:{initial:{height:0},animate:{height:"auto"},exit:{height:0}},children:U.jsx(HH,{})},"session-closed"):U.jsx(oi,{className:"overflow-hidden",overrides:{initial:{height:0},animate:{height:"auto"},exit:{height:0}},children:U.jsx(BH,{})},"chat-input")})})}function jH(){const{state:e,hookState:n,session:a}=vt.useChat(),{componentStore:s,initialMessages:f,...p}=vt.useConfigData(),d=s.getComponent("loading"),g=Dt.useRef(null);function E(){setTimeout(()=>{const b=g.current;b&&(b.scrollTop=b.scrollHeight)},0)}return Dt.useEffect(()=>{E()},[e.messages]),U.jsxs("div",{"data-messages":!0,ref:g,className:"max-h-full scroll-smooth relative flex-1 py-4 px-3 space-y-3 overflow-auto",children:[e.messages.length===0&&((f==null?void 0:f.map((b,C)=>U.jsx(s1,{message:{component:"text",data:{message:b},id:`initial-${C}`,type:"FROM_BOT",timestamp:Date.now().toString()},Wrapper:Xw,wrapperProps:{agent:p.bot}},C)))??U.jsx(s1,{message:{component:"text",data:{message:"Hello, how can I help?"},id:"default-welcome",type:"FROM_BOT",agent:p.bot,timestamp:Date.now().toString()},Wrapper:Xw,wrapperProps:{agent:p.bot}},"default-welcome")),e.messages.map(b=>b.type==="FROM_USER"?U.jsx(_H,{message:b,user:p.user,children:b.content},b.id):b.type==="FROM_BOT"?b.component=="CHAT_EVENT"?U.jsx(s1,{message:b},b.id):U.jsx(s1,{message:b,Wrapper:Xw,wrapperProps:{agent:b.agent,messageId:b.id,sessionId:a==null?void 0:a.id}},b.id):null),n.state==="loading"&&U.jsx(d,{})]})}function VH(){var g;const{state:e,sendMessage:n,noMessages:a,handleKeyboard:s}=vt.useChat(),p=(g=vt.usePreludeData().data)==null?void 0:g.initial_questions,{observedElementRef:d}=$A({fallbackHeight:yH});return U.jsx("div",{ref:d,className:Lt(ux.widgetHeight,"w-full flex flex-col overflow-hidden bg-background z-10 origin-bottom absolute bottom-0 inset-x-0"),children:U.jsxs("div",{className:"w-full h-full justify-between flex flex-col relative",style:{background:"linear-gradient(333.89deg, rgba(75, 240, 171, 0.8) 58%, rgba(75, 240, 171, 0) 85.74%), linear-gradient(113.43deg, #46B1FF 19.77%, #1883FF 65.81%)"},children:[U.jsx(FH,{}),U.jsxs("div",{className:"flex bg-background shadow-lg flex-col w-full flex-1 overflow-auto",children:[U.jsx(jH,{}),U.jsxs("footer",{children:[e.keyboard&&U.jsx(AH,{options:e.keyboard.options,onKeyboardClick:s}),a&&p&&U.jsx("div",{className:"flex items-center flex-row justify-end gap-2 flex-wrap px-2",children:p==null?void 0:p.map((E,b)=>U.jsx(uo,{dir:"auto",variant:"outline",size:"sm",onClick:()=>{n({content:{text:E}})},children:E},b))}),U.jsx(zH,{})]})]})]})})}const AT=ie.forwardRef(({className:e,type:n,...a},s)=>U.jsx(Wm,{ref:s,children:U.jsx("input",{type:n,className:Lt("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",e),...a})}));AT.displayName="Input";const YH=Nw.z.object({name:Nw.z.string().min(2),email:Nw.z.string().email()});function WH(){const e=vt.useLocale(),{data:n}=vt.usePreludeData(),{createContactAsync:a}=vt.useContact(),{assets:s}=vt.useConfigData(),{observedElementRef:f}=$A({fallbackHeight:vH}),[p,d]=vt._default(async g=>{g.preventDefault();const E=new FormData(g.currentTarget),b=Object.fromEntries(E.entries()),C=YH.safeParse(b);C.success&&await a(C.data)});return U.jsxs("div",{ref:f,className:Lt(ux.widgetMinHeight,"h-fit bg-primary rounded-3xl flex flex-col"),children:[U.jsxs("div",{className:"flex-1 flex flex-col px-4 py-12 text-start space-y-4 relative z-10",children:[U.jsx("div",{className:"flex items-center justify-between w-full mb-2",children:s!=null&&s.organizationLogo?U.jsx("img",{src:s==null?void 0:s.organizationLogo,alt:"Company Logo",className:"h-8 w-auto object-contain"}):U.jsx("h2",{className:"font-bold text-xl text-primary-foreground",children:n==null?void 0:n.organization_name})}),U.jsxs("div",{className:"space-y-2",children:[U.jsx("h1",{className:"text-2xl font-bold text-primary-foreground",children:e.get("welcome-title")}),U.jsx("p",{className:"text-primary-foreground/90 text-sm max-w-[320px] leading-relaxed",children:e.get("welcome-description")})]})]}),U.jsx("div",{className:"p-2 bg-background rounded-3xl",children:U.jsxs("form",{onSubmit:d,className:"space-y-2",children:[U.jsxs("div",{className:"space-y-2",children:[U.jsx(AT,{required:!0,dir:"auto",autoFocus:!0,placeholder:e.get("your-name"),name:"name",className:"rounded-3xl pl-3"}),U.jsx(AT,{required:!0,dir:"auto",type:"email",placeholder:e.get("your-email"),name:"email",className:"rounded-3xl pl-3"})]}),U.jsxs(uo,{disabled:p.loading,className:"w-full rounded-3xl",children:[p.loading?e.get("starting-chat"):e.get("start-chat"),U.jsx(cn.SendHorizontal,{className:"size-4"})]})]})})]})}function qH(){const{shouldCollectDataFirst:e}=CH();return U.jsx("div",{className:"bg-background size-full",children:U.jsx(Sr.AnimatePresence,{mode:"wait",children:e?U.jsx(oi,{fadeIn:"right",className:"size-full",snapExit:!0,children:U.jsx(WH,{})},"welcome-screen"):U.jsx(oi,{fadeIn:"right",className:"size-full",snapExit:!0,children:U.jsx(VH,{})},"chat-screen")})})}function el(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 QH(e,n){typeof e=="function"?e(n):e!=null&&(e.current=n)}function $H(...e){return n=>e.forEach(a=>QH(a,n))}function sl(...e){return ie.useCallback($H(...e),e)}function GH(e,n=[]){let a=[];function s(p,d){const g=ie.createContext(d),E=a.length;a=[...a,d];const b=S=>{var z;const{scope:R,children:A,...D}=S,L=((z=R==null?void 0:R[e])==null?void 0:z[E])||g,B=ie.useMemo(()=>D,Object.values(D));return U.jsx(L.Provider,{value:B,children:A})};b.displayName=p+"Provider";function C(S,R){var L;const A=((L=R==null?void 0:R[e])==null?void 0:L[E])||g,D=ie.useContext(A);if(D)return D;if(d!==void 0)return d;throw new Error(`\`${S}\` must be used within \`${p}\``)}return[b,C]}const f=()=>{const p=a.map(d=>ie.createContext(d));return function(g){const E=(g==null?void 0:g[e])||p;return ie.useMemo(()=>({[`__scope${e}`]:{...g,[e]:E}}),[g,E])}};return f.scopeName=e,[s,XH(f,...n)]}function XH(...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(p){const d=s.reduce((g,{useScope:E,scopeName:b})=>{const S=E(p)[`__scope${b}`];return{...g,...S}},{});return ie.useMemo(()=>({[`__scope${n.scopeName}`]:d}),[d])}};return a.scopeName=n.scopeName,a}var kT={exports:{}},Ya={},l1={exports:{}},Kw={};/**
|
|
30
30
|
* @license React
|
|
31
31
|
* scheduler.production.min.js
|
|
32
32
|
*
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
*
|
|
35
35
|
* This source code is licensed under the MIT license found in the
|
|
36
36
|
* LICENSE file in the root directory of this source tree.
|
|
37
|
-
*/var TA;function
|
|
37
|
+
*/var TA;function KH(){return TA||(TA=1,function(e){function n(pe,De){var P=pe.length;pe.push(De);e:for(;0<P;){var et=P-1>>>1,Et=pe[et];if(0<f(Et,De))pe[et]=De,pe[P]=Et,P=et;else break e}}function a(pe){return pe.length===0?null:pe[0]}function s(pe){if(pe.length===0)return null;var De=pe[0],P=pe.pop();if(P!==De){pe[0]=P;e:for(var et=0,Et=pe.length,V=Et>>>1;et<V;){var $t=2*(et+1)-1,Qn=pe[$t],kt=$t+1,rr=pe[kt];if(0>f(Qn,P))kt<Et&&0>f(rr,Qn)?(pe[et]=rr,pe[kt]=P,et=kt):(pe[et]=Qn,pe[$t]=P,et=$t);else if(kt<Et&&0>f(rr,P))pe[et]=rr,pe[kt]=P,et=kt;else break e}}return De}function f(pe,De){var P=pe.sortIndex-De.sortIndex;return P!==0?P:pe.id-De.id}if(typeof performance=="object"&&typeof performance.now=="function"){var p=performance;e.unstable_now=function(){return p.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,A=!1,D=!1,L=!1,B=typeof setTimeout=="function"?setTimeout:null,z=typeof clearTimeout=="function"?clearTimeout:null,G=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(pe){for(var De=a(b);De!==null;){if(De.callback===null)s(b);else if(De.startTime<=pe)s(b),De.sortIndex=De.expirationTime,n(E,De);else break;De=a(b)}}function Z(pe){if(L=!1,W(pe),!D)if(a(E)!==null)D=!0,je(J);else{var De=a(b);De!==null&&at(Z,De.startTime-pe)}}function J(pe,De){D=!1,L&&(L=!1,z(Te),Te=-1),A=!0;var P=R;try{for(W(De),S=a(E);S!==null&&(!(S.expirationTime>De)||pe&&!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 $t=a(b);$t!==null&&at(Z,$t.startTime-De),V=!1}return V}finally{S=null,R=P,A=!1}}var X=!1,ce=null,Te=-1,Me=5,K=-1;function Ee(){return!(e.unstable_now()-K<Me)}function ge(){if(ce!==null){var pe=e.unstable_now();K=pe;var De=!0;try{De=ce(!0,pe)}finally{De?Re():(X=!1,ce=null)}}else X=!1}var Re;if(typeof G=="function")Re=function(){G(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(pe){ce=pe,X||(X=!0,Re())}function at(pe,De){Te=B(function(){pe(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(pe){pe.callback=null},e.unstable_continueExecution=function(){D||A||(D=!0,je(J))},e.unstable_forceFrameRate=function(pe){0>pe||125<pe?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Me=0<pe?Math.floor(1e3/pe):5},e.unstable_getCurrentPriorityLevel=function(){return R},e.unstable_getFirstCallbackNode=function(){return a(E)},e.unstable_next=function(pe){switch(R){case 1:case 2:case 3:var De=3;break;default:De=R}var P=R;R=De;try{return pe()}finally{R=P}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(pe,De){switch(pe){case 1:case 2:case 3:case 4:case 5:break;default:pe=3}var P=R;R=pe;try{return De()}finally{R=P}},e.unstable_scheduleCallback=function(pe,De,P){var et=e.unstable_now();switch(typeof P=="object"&&P!==null?(P=P.delay,P=typeof P=="number"&&0<P?et+P:et):P=et,pe){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=P+Et,pe={id:C++,callback:De,priorityLevel:pe,startTime:P,expirationTime:Et,sortIndex:-1},P>et?(pe.sortIndex=P,n(b,pe),a(E)===null&&pe===a(b)&&(L?(z(Te),Te=-1):L=!0,at(Z,P-et))):(pe.sortIndex=Et,n(E,pe),D||A||(D=!0,je(J))),pe},e.unstable_shouldYield=Ee,e.unstable_wrapCallback=function(pe){var De=R;return function(){var P=R;R=De;try{return pe.apply(this,arguments)}finally{R=P}}}}(Kw)),Kw}var Zw={};/**
|
|
38
38
|
* @license React
|
|
39
39
|
* scheduler.development.js
|
|
40
40
|
*
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
*
|
|
43
43
|
* This source code is licensed under the MIT license found in the
|
|
44
44
|
* LICENSE file in the root directory of this source tree.
|
|
45
|
-
*/var xA;function
|
|
45
|
+
*/var xA;function ZH(){return xA||(xA=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,$e){var dt=Ne.length;Ne.push($e),g(Ne,$e,dt)}function p(Ne){return Ne.length===0?null:Ne[0]}function d(Ne){if(Ne.length===0)return null;var $e=Ne[0],dt=Ne.pop();return dt!==$e&&(Ne[0]=dt,E(Ne,dt,0)),$e}function g(Ne,$e,dt){for(var It=dt;It>0;){var Gt=It-1>>>1,Ht=Ne[Gt];if(b(Ht,$e)>0)Ne[Gt]=$e,Ne[It]=Ht,It=Gt;else return}}function E(Ne,$e,dt){for(var It=dt,Gt=Ne.length,Ht=Gt>>>1;It<Ht;){var Kt=(It+1)*2-1,gn=Ne[Kt],vn=Kt+1,di=Ne[vn];if(b(gn,$e)<0)vn<Gt&&b(di,gn)<0?(Ne[It]=di,Ne[vn]=$e,It=vn):(Ne[It]=gn,Ne[Kt]=$e,It=Kt);else if(vn<Gt&&b(di,$e)<0)Ne[It]=di,Ne[vn]=$e,It=vn;else return}}function b(Ne,$e){var dt=Ne.sortIndex-$e.sortIndex;return dt!==0?dt:Ne.id-$e.id}var C=1,S=2,R=3,A=4,D=5;function L(Ne,$e){}var B=typeof performance=="object"&&typeof performance.now=="function";if(B){var z=performance;e.unstable_now=function(){return z.now()}}else{var G=Date,W=G.now();e.unstable_now=function(){return G.now()-W}}var Z=1073741823,J=-1,X=250,ce=5e3,Te=1e4,Me=Z,K=[],Ee=[],ge=1,Re=null,Oe=R,qe=!1,je=!1,at=!1,pe=typeof setTimeout=="function"?setTimeout:null,De=typeof clearTimeout=="function"?clearTimeout:null,P=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 $e=p(Ee);$e!==null;){if($e.callback===null)d(Ee);else if($e.startTime<=Ne)d(Ee),$e.sortIndex=$e.expirationTime,f(K,$e);else return;$e=p(Ee)}}function Et(Ne){if(at=!1,et(Ne),!je)if(p(K)!==null)je=!0,de(V);else{var $e=p(Ee);$e!==null&&Ce(Et,$e.startTime-Ne)}}function V(Ne,$e){je=!1,at&&(at=!1,tt()),qe=!0;var dt=Oe;try{var It;if(!a)return $t(Ne,$e)}finally{Re=null,Oe=dt,qe=!1}}function $t(Ne,$e){var dt=$e;for(et(dt),Re=p(K);Re!==null&&!n&&!(Re.expirationTime>dt&&(!Ne||Br()));){var It=Re.callback;if(typeof It=="function"){Re.callback=null,Oe=Re.priorityLevel;var Gt=Re.expirationTime<=dt,Ht=It(Gt);dt=e.unstable_now(),typeof Ht=="function"?Re.callback=Ht:Re===p(K)&&d(K),et(dt)}else d(K);Re=p(K)}if(Re!==null)return!0;var Kt=p(Ee);return Kt!==null&&Ce(Et,Kt.startTime-dt),!1}function Qn(Ne,$e){switch(Ne){case C:case S:case R:case A:case D:break;default:Ne=R}var dt=Oe;Oe=Ne;try{return $e()}finally{Oe=dt}}function kt(Ne){var $e;switch(Oe){case C:case S:case R:$e=R;break;default:$e=Oe;break}var dt=Oe;Oe=$e;try{return Ne()}finally{Oe=dt}}function rr(Ne){var $e=Oe;return function(){var dt=Oe;Oe=$e;try{return Ne.apply(this,arguments)}finally{Oe=dt}}}function dn(Ne,$e,dt){var It=e.unstable_now(),Gt;if(typeof dt=="object"&&dt!==null){var Ht=dt.delay;typeof Ht=="number"&&Ht>0?Gt=It+Ht:Gt=It}else Gt=It;var Kt;switch(Ne){case C:Kt=J;break;case S:Kt=X;break;case D:Kt=Me;break;case A:Kt=Te;break;case R:default:Kt=ce;break}var gn=Gt+Kt,vn={id:ge++,callback:$e,priorityLevel:Ne,startTime:Gt,expirationTime:gn,sortIndex:-1};return Gt>It?(vn.sortIndex=Gt,f(Ee,vn),p(K)===null&&vn===p(Ee)&&(at?tt():at=!0,Ce(Et,Gt-It))):(vn.sortIndex=gn,f(K,vn),!je&&!qe&&(je=!0,de(V))),vn}function Rn(){}function _r(){!je&&!qe&&(je=!0,de(V))}function Nn(){return p(K)}function Ur(Ne){Ne.callback=null}function an(){return Oe}var Fn=!1,ar=null,gr=-1,$n=s,ia=-1;function Br(){var Ne=e.unstable_now()-ia;return!(Ne<$n)}function si(){}function li(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 Di=function(){if(ar!==null){var Ne=e.unstable_now();ia=Ne;var $e=!0,dt=!0;try{dt=ar($e,Ne)}finally{dt?oa():(Fn=!1,ar=null)}}else Fn=!1},oa;if(typeof P=="function")oa=function(){P(Di)};else if(typeof MessageChannel<"u"){var ci=new MessageChannel,ba=ci.port2;ci.port1.onmessage=Di,oa=function(){ba.postMessage(null)}}else oa=function(){pe(Di,0)};function de(Ne){ar=Ne,Fn||(Fn=!0,oa())}function Ce(Ne,$e){gr=pe(function(){Ne(e.unstable_now())},$e)}function tt(){De(gr),gr=-1}var yt=si,_t=null;e.unstable_IdlePriority=D,e.unstable_ImmediatePriority=C,e.unstable_LowPriority=A,e.unstable_NormalPriority=R,e.unstable_Profiling=_t,e.unstable_UserBlockingPriority=S,e.unstable_cancelCallback=Ur,e.unstable_continueExecution=_r,e.unstable_forceFrameRate=li,e.unstable_getCurrentPriorityLevel=an,e.unstable_getFirstCallbackNode=Nn,e.unstable_next=kt,e.unstable_pauseExecution=Rn,e.unstable_requestPaint=yt,e.unstable_runWithPriority=Qn,e.unstable_scheduleCallback=dn,e.unstable_shouldYield=Br,e.unstable_wrapCallback=rr,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()}(Zw)),Zw}var SA;function K3(){return SA||(SA=1,process.env.NODE_ENV==="production"?l1.exports=KH():l1.exports=ZH()),l1.exports}/**
|
|
46
46
|
* @license React
|
|
47
47
|
* react-dom.production.min.js
|
|
48
48
|
*
|
|
@@ -50,14 +50,14 @@
|
|
|
50
50
|
*
|
|
51
51
|
* This source code is licensed under the MIT license found in the
|
|
52
52
|
* LICENSE file in the root directory of this source tree.
|
|
53
|
-
*/var CA;function
|
|
53
|
+
*/var CA;function JH(){if(CA)return Ya;CA=1;var e=Dt,n=K3();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 p(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 A(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"||A(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,w,x,N){this.acceptsBooleans=o===2||o===3||o===4,this.attributeName=m,this.attributeNamespace=w,this.mustUseProperty=c,this.propertyName=i,this.type=o,this.sanitizeURL=x,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 z=/[\-:]([a-z])/g;function G(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(z,G);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(z,G);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(z,G);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 w=B.hasOwnProperty(o)?B[o]:null;(w!==null?w.type!==0:m||!(2<o.length)||o[0]!=="o"&&o[0]!=="O"||o[1]!=="n"&&o[1]!=="N")&&(D(o,c,w,m)&&(c=null),m||w===null?R(o)&&(c===null?i.removeAttribute(o):i.setAttribute(o,""+c)):w.mustUseProperty?i[w.propertyName]=c===null?w.type===3?!1:"":c:(o=w.attributeName,m=w.attributeNamespace,c===null?i.removeAttribute(o):(w=w.type,c=w===3||w===4&&c===!0?"":""+c,m?i.setAttributeNS(m,o,c):i.setAttribute(o,c))))}var Z=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,J=Symbol.for("react.element"),X=Symbol.for("react.portal"),ce=Symbol.for("react.fragment"),Te=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"),pe=Symbol.iterator;function De(i){return i===null||typeof i!="object"?null:(i=pe&&i[pe]||i["@@iterator"],typeof i=="function"?i:null)}var P=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
54
|
`+et+i}var V=!1;function $t(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(ue){var m=ue}Reflect.construct(i,[],o)}else{try{o.call()}catch(ue){m=ue}i.call(o.prototype)}else{try{throw Error()}catch(ue){m=ue}i()}}catch(ue){if(ue&&m&&typeof ue.stack=="string"){for(var w=ue.stack.split(`
|
|
55
55
|
`),x=m.stack.split(`
|
|
56
56
|
`),N=w.length-1,H=x.length-1;1<=N&&0<=H&&w[N]!==x[H];)H--;for(;1<=N&&0<=H;N--,H--)if(w[N]!==x[H]){if(N!==1||H!==1)do if(N--,H--,0>H||w[N]!==x[H]){var Y=`
|
|
57
|
-
`+w[N].replace(" at new "," at ");return i.displayName&&Y.includes("<anonymous>")&&(Y=Y.replace("<anonymous>",i.displayName)),Y}while(1<=N&&0<=H);break}}}finally{V=!1,Error.prepareStackTrace=c}return(i=i?i.displayName||i.name:"")?Et(i):""}function Qn(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=$t(i.type,!1),i;case 11:return i=$t(i.type.render,!1),i;case 1:return i=$t(i.type,!0),i;default:return""}}function kt(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 ce:return"Fragment";case X:return"Portal";case Me:return"Profiler";case Te: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:kt(i.type)||"Memo";case je:o=i._payload,i=i._init;try{return kt(i(o))}catch{}}return null}function rr(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 kt(o);case 8:return o===Te?"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 dn(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 _r(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 w=c.get,x=c.set;return Object.defineProperty(i,o,{configurable:!0,get:function(){return w.call(this)},set:function(N){m=""+N,x.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=_r(i))}function Ur(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 P({},o,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:c??i._wrapperState.initialChecked})}function ar(i,o){var c=o.defaultValue==null?"":o.defaultValue,m=o.checked!=null?o.checked:o.defaultChecked;c=dn(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 gr(i,o){o=o.checked,o!=null&&W(i,"checked",o,!1)}function $n(i,o){gr(i,o);var c=dn(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")?Br(i,o.type,c):o.hasOwnProperty("defaultValue")&&Br(i,o.type,dn(o.defaultValue)),o.checked==null&&o.defaultChecked!=null&&(i.defaultChecked=!!o.defaultChecked)}function ia(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 Br(i,o,c){(o!=="number"||an(i.ownerDocument)!==i)&&(c==null?i.defaultValue=""+i._wrapperState.initialValue:i.defaultValue!==""+c&&(i.defaultValue=""+c))}var si=Array.isArray;function li(i,o,c,m){if(i=i.options,o){o={};for(var w=0;w<c.length;w++)o["$"+c[w]]=!0;for(c=0;c<i.length;c++)w=o.hasOwnProperty("$"+i[c].value),i[c].selected!==w&&(i[c].selected=w),w&&m&&(i[c].defaultSelected=!0)}else{for(c=""+dn(c),o=null,w=0;w<i.length;w++){if(i[w].value===c){i[w].selected=!0,m&&(i[w].defaultSelected=!0);return}o!==null||i[w].disabled||(o=i[w])}o!==null&&(o.selected=!0)}}function Di(i,o){if(o.dangerouslySetInnerHTML!=null)throw Error(a(91));return P({},o,{value:void 0,defaultValue:void 0,children:""+i._wrapperState.initialValue})}function oa(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(si(c)){if(1<c.length)throw Error(a(93));c=c[0]}o=c}o==null&&(o=""),c=o}i._wrapperState={initialValue:dn(c)}}function ci(i,o){var c=dn(o.value),m=dn(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 ba(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,vt=function(i){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(o,c,m,w){MSApp.execUnsafeLocalFunction(function(){return i(o,c,m,w)})}: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 _t(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},$e=["Webkit","ms","Moz","O"];Object.keys(Ne).forEach(function(i){$e.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,w=dt(c,o[c],m);c==="float"&&(c="cssFloat"),m?i.setProperty(c,w):i[c]=w}}var Gt=P({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(Gt[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 gn=null;function vn(i){return i=i.target||i.srcElement||window,i.correspondingUseElement&&(i=i.correspondingUseElement),i.nodeType===3?i.parentNode:i}var di=null,Dn=null,yn=null;function $m(i){if(i=Il(i)){if(typeof di!="function")throw Error(a(280));var o=i.stateNode;o&&(o=nt(o),di(i.stateNode,i.type,o))}}function Oc(i){Dn?yn?yn.push(i):yn=[i]:Dn=i}function Lc(){if(Dn){var i=Dn,o=yn;if(yn=Dn=null,$m(i),o)for(i=0;i<o.length;i++)$m(o[i])}}function Gm(i,o){return i(o)}function Xm(){}var Ic=!1;function rh(i,o,c){if(Ic)return i(o,c);Ic=!0;try{return Gm(i,o,c)}finally{Ic=!1,(Dn!==null||yn!==null)&&(Xm(),Lc())}}function cl(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 Mc=!1;if(g)try{var Qo={};Object.defineProperty(Qo,"passive",{get:function(){Mc=!0}}),window.addEventListener("test",Qo,Qo),window.removeEventListener("test",Qo,Qo)}catch{Mc=!1}function Uu(i,o,c,m,w,x,N,H,Y){var ue=Array.prototype.slice.call(arguments,3);try{o.apply(c,ue)}catch(be){this.onError(be)}}var Qa=!1,Oi=null,Bu=!1,dl=null,ah={onError:function(i){Qa=!0,Oi=i}};function ih(i,o,c,m,w,x,N,H,Y){Qa=!1,Oi=null,Uu.apply(ah,arguments)}function Hu(i,o,c,m,w,x,N,H,Y){if(ih.apply(this,arguments),Qa){if(Qa){var ue=Oi;Qa=!1,Oi=null}else throw Error(a(198));Bu||(Bu=!0,dl=ue)}}function fi(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 fl(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 zu(i){if(fi(i)!==i)throw Error(a(188))}function Ar(i){var o=i.alternate;if(!o){if(o=fi(i),o===null)throw Error(a(188));return o!==i?null:i}for(var c=i,m=o;;){var w=c.return;if(w===null)break;var x=w.alternate;if(x===null){if(m=w.return,m!==null){c=m;continue}break}if(w.child===x.child){for(x=w.child;x;){if(x===c)return zu(w),i;if(x===m)return zu(w),o;x=x.sibling}throw Error(a(188))}if(c.return!==m.return)c=w,m=x;else{for(var N=!1,H=w.child;H;){if(H===c){N=!0,c=w,m=x;break}if(H===m){N=!0,m=w,c=x;break}H=H.sibling}if(!N){for(H=x.child;H;){if(H===c){N=!0,c=x,m=w;break}if(H===m){N=!0,m=x,c=w;break}H=H.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 Km(i){return i=Ar(i),i!==null?Zm(i):null}function Zm(i){if(i.tag===5||i.tag===6)return i;for(i=i.child;i!==null;){var o=Zm(i);if(o!==null)return o;i=i.sibling}return null}var oh=n.unstable_scheduleCallback,Jm=n.unstable_cancelCallback,J1=n.unstable_shouldYield,ey=n.unstable_requestPaint,En=n.unstable_now,ty=n.unstable_getCurrentPriorityLevel,Li=n.unstable_ImmediatePriority,xt=n.unstable_UserBlockingPriority,fo=n.unstable_NormalPriority,e0=n.unstable_LowPriority,uh=n.unstable_IdlePriority,hl=null,$a=null;function t0(i){if($a&&typeof $a.onCommitFiberRoot=="function")try{$a.onCommitFiberRoot(hl,i,void 0,(i.current.flags&128)===128)}catch{}}var wa=Math.clz32?Math.clz32:ny,n0=Math.log,r0=Math.LN2;function ny(i){return i>>>=0,i===0?32:31-(n0(i)/r0|0)|0}var Pc=64,ju=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 Ga(i,o){var c=i.pendingLanes;if(c===0)return 0;var m=0,w=i.suspendedLanes,x=i.pingedLanes,N=c&268435455;if(N!==0){var H=N&~w;H!==0?m=$o(H):(x&=N,x!==0&&(m=$o(x)))}else N=c&~w,N!==0?m=$o(N):x!==0&&(m=$o(x));if(m===0)return 0;if(o!==0&&o!==m&&!(o&w)&&(w=m&-m,x=o&-o,w>=x||w===16&&(x&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),w=1<<c,m|=i[c],o&=~w;return m}function sh(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 Fc(i,o){for(var c=i.suspendedLanes,m=i.pingedLanes,w=i.expirationTimes,x=i.pendingLanes;0<x;){var N=31-wa(x),H=1<<N,Y=w[N];Y===-1?(!(H&c)||H&m)&&(w[N]=sh(H,o)):Y<=o&&(i.expiredLanes|=H),x&=~H}}function lh(i){return i=i.pendingLanes&-1073741825,i!==0?i:i&1073741824?1073741824:0}function Uc(){var i=Pc;return Pc<<=1,!(Pc&4194240)&&(Pc=64),i}function ch(i){for(var o=[],c=0;31>c;c++)o.push(i);return o}function Go(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 ry(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 w=31-wa(c),x=1<<w;o[w]=0,m[w]=-1,i[w]=-1,c&=~x}}function pl(i,o){var c=i.entangledLanes|=o;for(i=i.entanglements;c;){var m=31-wa(c),w=1<<m;w&o|i[m]&o&&(i[m]|=o),c&=~w}}var Vt=0;function dh(i){return i&=-i,1<i?4<i?i&268435455?16:536870912:4:1}var a0,Bc,Yt,i0,fh,pt=!1,ml=[],On=null,Ta=null,xa=null,gl=new Map,Un=new Map,Wt=[],ay="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 Xa(i,o){switch(i){case"focusin":case"focusout":On=null;break;case"dragenter":case"dragleave":Ta=null;break;case"mouseover":case"mouseout":xa=null;break;case"pointerover":case"pointerout":gl.delete(o.pointerId);break;case"gotpointercapture":case"lostpointercapture":Un.delete(o.pointerId)}}function vr(i,o,c,m,w,x){return i===null||i.nativeEvent!==x?(i={blockedOn:o,domEventName:c,eventSystemFlags:m,nativeEvent:x,targetContainers:[w]},o!==null&&(o=Il(o),o!==null&&Bc(o)),i):(i.eventSystemFlags|=m,o=i.targetContainers,w!==null&&o.indexOf(w)===-1&&o.push(w),i)}function ho(i,o,c,m,w){switch(o){case"focusin":return On=vr(On,i,o,c,m,w),!0;case"dragenter":return Ta=vr(Ta,i,o,c,m,w),!0;case"mouseover":return xa=vr(xa,i,o,c,m,w),!0;case"pointerover":var x=w.pointerId;return gl.set(x,vr(gl.get(x)||null,i,o,c,m,w)),!0;case"gotpointercapture":return x=w.pointerId,Un.set(x,vr(Un.get(x)||null,i,o,c,m,w)),!0}return!1}function o0(i){var o=Ca(i.target);if(o!==null){var c=fi(o);if(c!==null){if(o=c.tag,o===13){if(o=fl(c),o!==null){i.blockedOn=o,fh(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 Vu(i){if(i.blockedOn!==null)return!1;for(var o=i.targetContainers;0<o.length;){var c=jc(i.domEventName,i.eventSystemFlags,o[0],i.nativeEvent);if(c===null){c=i.nativeEvent;var m=new c.constructor(c.type,c);gn=m,c.target.dispatchEvent(m),gn=null}else return o=Il(c),o!==null&&Bc(o),i.blockedOn=c,!1;o.shift()}return!0}function hh(i,o,c){Vu(i)&&c.delete(o)}function u0(){pt=!1,On!==null&&Vu(On)&&(On=null),Ta!==null&&Vu(Ta)&&(Ta=null),xa!==null&&Vu(xa)&&(xa=null),gl.forEach(hh),Un.forEach(hh)}function vl(i,o){i.blockedOn===o&&(i.blockedOn=null,pt||(pt=!0,n.unstable_scheduleCallback(n.unstable_NormalPriority,u0)))}function yl(i){function o(w){return vl(w,i)}if(0<ml.length){vl(ml[0],i);for(var c=1;c<ml.length;c++){var m=ml[c];m.blockedOn===i&&(m.blockedOn=null)}}for(On!==null&&vl(On,i),Ta!==null&&vl(Ta,i),xa!==null&&vl(xa,i),gl.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);)o0(c),c.blockedOn===null&&Wt.shift()}var Yu=Z.ReactCurrentBatchConfig,Xo=!0;function s0(i,o,c,m){var w=Vt,x=Yu.transition;Yu.transition=null;try{Vt=1,zc(i,o,c,m)}finally{Vt=w,Yu.transition=x}}function Hc(i,o,c,m){var w=Vt,x=Yu.transition;Yu.transition=null;try{Vt=4,zc(i,o,c,m)}finally{Vt=w,Yu.transition=x}}function zc(i,o,c,m){if(Xo){var w=jc(i,o,c,m);if(w===null)ed(i,o,m,El,c),Xa(i,m);else if(ho(w,i,o,c,m))m.stopPropagation();else if(Xa(i,m),o&4&&-1<ay.indexOf(i)){for(;w!==null;){var x=Il(w);if(x!==null&&a0(x),x=jc(i,o,c,m),x===null&&ed(i,o,m,El,c),x===w)break;w=x}w!==null&&m.stopPropagation()}else ed(i,o,m,null,c)}}var El=null;function jc(i,o,c,m){if(El=null,i=vn(m),i=Ca(i),i!==null)if(o=fi(i),o===null)i=null;else if(c=o.tag,c===13){if(i=fl(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 El=i,null}function ph(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(ty()){case Li:return 1;case xt:return 4;case fo:case e0:return 16;case uh:return 536870912;default:return 16}default:return 16}}var Ii=null,bl=null,wl=null;function mh(){if(wl)return wl;var i,o=bl,c=o.length,m,w="value"in Ii?Ii.value:Ii.textContent,x=w.length;for(i=0;i<c&&o[i]===w[i];i++);var N=c-i;for(m=1;m<=N&&o[c-m]===w[x-m];m++);return wl=w.slice(i,1<m?1-m:void 0)}function Wu(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 Tl(){return!0}function l0(){return!1}function ua(i){function o(c,m,w,x,N){this._reactName=c,this._targetInst=w,this.type=m,this.nativeEvent=x,this.target=N,this.currentTarget=null;for(var H in i)i.hasOwnProperty(H)&&(c=i[H],this[H]=c?c(x):x[H]);return this.isDefaultPrevented=(x.defaultPrevented!=null?x.defaultPrevented:x.returnValue===!1)?Tl:l0,this.isPropagationStopped=l0,this}return P(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=Tl)},stopPropagation:function(){var c=this.nativeEvent;c&&(c.stopPropagation?c.stopPropagation():typeof c.cancelBubble!="unknown"&&(c.cancelBubble=!0),this.isPropagationStopped=Tl)},persist:function(){},isPersistent:Tl}),o}var po={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(i){return i.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Vc=ua(po),qu=P({},po,{view:0,detail:0}),c0=ua(qu),Yc,gh,xl,Gn=P({},qu,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:bh,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!==xl&&(xl&&i.type==="mousemove"?(Yc=i.screenX-xl.screenX,gh=i.screenY-xl.screenY):gh=Yc=0,xl=i),Yc)},movementY:function(i){return"movementY"in i?i.movementY:gh}}),Wc=ua(Gn),d0=P({},Gn,{dataTransfer:0}),f0=ua(d0),iy=P({},qu,{relatedTarget:0}),mo=ua(iy),vh=P({},po,{animationName:0,elapsedTime:0,pseudoElement:0}),h0=ua(vh),oy=P({},po,{clipboardData:function(i){return"clipboardData"in i?i.clipboardData:window.clipboardData}}),uy=ua(oy),sy=P({},po,{data:0}),yh=ua(sy),Eh={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},p0={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"},m0={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function g0(i){var o=this.nativeEvent;return o.getModifierState?o.getModifierState(i):(i=m0[i])?!!o[i]:!1}function bh(){return g0}var Mi=P({},qu,{key:function(i){if(i.key){var o=Eh[i.key]||i.key;if(o!=="Unidentified")return o}return i.type==="keypress"?(i=Wu(i),i===13?"Enter":String.fromCharCode(i)):i.type==="keydown"||i.type==="keyup"?p0[i.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:bh,charCode:function(i){return i.type==="keypress"?Wu(i):0},keyCode:function(i){return i.type==="keydown"||i.type==="keyup"?i.keyCode:0},which:function(i){return i.type==="keypress"?Wu(i):i.type==="keydown"||i.type==="keyup"?i.keyCode:0}}),ly=ua(Mi),wh=P({},Gn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),qc=ua(wh),Th=P({},qu,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:bh}),cy=ua(Th),Qc=P({},po,{propertyName:0,elapsedTime:0,pseudoElement:0}),v0=ua(Qc),Hr=P({},Gn,{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}),Pi=ua(Hr),Ln=[9,13,27,32],Ka=g&&"CompositionEvent"in window,Ko=null;g&&"documentMode"in document&&(Ko=document.documentMode);var $c=g&&"TextEvent"in window&&!Ko,y0=g&&(!Ka||Ko&&8<Ko&&11>=Ko),Qu=" ",E0=!1;function b0(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 Gc(i){return i=i.detail,typeof i=="object"&&"data"in i?i.data:null}var $u=!1;function dy(i,o){switch(i){case"compositionend":return Gc(o);case"keypress":return o.which!==32?null:(E0=!0,Qu);case"textInput":return i=o.data,i===Qu&&E0?null:i;default:return null}}function fy(i,o){if($u)return i==="compositionend"||!Ka&&b0(i,o)?(i=mh(),wl=bl=Ii=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 y0&&o.locale!=="ko"?null:o.data;default:return null}}var w0={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 T0(i){var o=i&&i.nodeName&&i.nodeName.toLowerCase();return o==="input"?!!w0[i.type]:o==="textarea"}function x0(i,o,c,m){Oc(m),o=Dl(o,"onChange"),0<o.length&&(c=new Vc("onChange","change",null,c,m),i.push({event:c,listeners:o}))}var Sl=null,Gu=null;function Xu(i){Jc(i,0)}function Ku(i){var o=Ju(i);if(Ur(o))return i}function S0(i,o){if(i==="change")return o}var xh=!1;if(g){var Sh;if(g){var Ch="oninput"in document;if(!Ch){var C0=document.createElement("div");C0.setAttribute("oninput","return;"),Ch=typeof C0.oninput=="function"}Sh=Ch}else Sh=!1;xh=Sh&&(!document.documentMode||9<document.documentMode)}function _0(){Sl&&(Sl.detachEvent("onpropertychange",A0),Gu=Sl=null)}function A0(i){if(i.propertyName==="value"&&Ku(Gu)){var o=[];x0(o,Gu,i,vn(i)),rh(Xu,o)}}function hy(i,o,c){i==="focusin"?(_0(),Sl=o,Gu=c,Sl.attachEvent("onpropertychange",A0)):i==="focusout"&&_0()}function py(i){if(i==="selectionchange"||i==="keyup"||i==="keydown")return Ku(Gu)}function my(i,o){if(i==="click")return Ku(o)}function k0(i,o){if(i==="input"||i==="change")return Ku(o)}function gy(i,o){return i===o&&(i!==0||1/i===1/o)||i!==i&&o!==o}var Sa=typeof Object.is=="function"?Object.is:gy;function Cl(i,o){if(Sa(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 w=c[m];if(!E.call(o,w)||!Sa(i[w],o[w]))return!1}return!0}function R0(i){for(;i&&i.firstChild;)i=i.firstChild;return i}function N0(i,o){var c=R0(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=R0(c)}}function D0(i,o){return i&&o?i===o?!0:i&&i.nodeType===3?!1:o&&o.nodeType===3?D0(i,o.parentNode):"contains"in i?i.contains(o):i.compareDocumentPosition?!!(i.compareDocumentPosition(o)&16):!1:!1}function Xc(){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 Fi(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 Kc(i){var o=Xc(),c=i.focusedElem,m=i.selectionRange;if(o!==c&&c&&c.ownerDocument&&D0(c.ownerDocument.documentElement,c)){if(m!==null&&Fi(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 w=c.textContent.length,x=Math.min(m.start,w);m=m.end===void 0?x:Math.min(m.end,w),!i.extend&&x>m&&(w=m,m=x,x=w),w=N0(c,x);var N=N0(c,m);w&&N&&(i.rangeCount!==1||i.anchorNode!==w.node||i.anchorOffset!==w.offset||i.focusNode!==N.node||i.focusOffset!==N.offset)&&(o=o.createRange(),o.setStart(w.node,w.offset),i.removeAllRanges(),x>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 O0=g&&"documentMode"in document&&11>=document.documentMode,Za=null,_h=null,_l=null,Ah=!1;function L0(i,o,c){var m=c.window===c?c.document:c.nodeType===9?c:c.ownerDocument;Ah||Za==null||Za!==an(m)||(m=Za,"selectionStart"in m&&Fi(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}),_l&&Cl(_l,m)||(_l=m,m=Dl(_h,"onSelect"),0<m.length&&(o=new Vc("onSelect","select",null,o,c),i.push({event:o,listeners:m}),o.target=Za)))}function Zc(i,o){var c={};return c[i.toLowerCase()]=o.toLowerCase(),c["Webkit"+i]="webkit"+o,c["Moz"+i]="moz"+o,c}var Zo={animationend:Zc("Animation","AnimationEnd"),animationiteration:Zc("Animation","AnimationIteration"),animationstart:Zc("Animation","AnimationStart"),transitionend:Zc("Transition","TransitionEnd")},kh={},Rh={};g&&(Rh=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 Xn(i){if(kh[i])return kh[i];if(!Zo[i])return i;var o=Zo[i],c;for(c in o)if(o.hasOwnProperty(c)&&c in Rh)return kh[i]=o[c];return i}var Nh=Xn("animationend"),I0=Xn("animationiteration"),M0=Xn("animationstart"),P0=Xn("transitionend"),F0=new Map,U0="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 Ui(i,o){F0.set(i,o),p(o,[i])}for(var Al=0;Al<U0.length;Al++){var Jo=U0[Al],vy=Jo.toLowerCase(),kl=Jo[0].toUpperCase()+Jo.slice(1);Ui(vy,"on"+kl)}Ui(Nh,"onAnimationEnd"),Ui(I0,"onAnimationIteration"),Ui(M0,"onAnimationStart"),Ui("dblclick","onDoubleClick"),Ui("focusin","onFocus"),Ui("focusout","onBlur"),Ui(P0,"onTransitionEnd"),d("onMouseEnter",["mouseout","mouseover"]),d("onMouseLeave",["mouseout","mouseover"]),d("onPointerEnter",["pointerout","pointerover"]),d("onPointerLeave",["pointerout","pointerover"]),p("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),p("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),p("onBeforeInput",["compositionend","keypress","textInput","paste"]),p("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),p("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),p("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Rl="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(" "),yy=new Set("cancel close invalid load scroll toggle".split(" ").concat(Rl));function B0(i,o,c){var m=i.type||"unknown-event";i.currentTarget=c,Hu(m,o,void 0,i),i.currentTarget=null}function Jc(i,o){o=(o&4)!==0;for(var c=0;c<i.length;c++){var m=i[c],w=m.event;m=m.listeners;e:{var x=void 0;if(o)for(var N=m.length-1;0<=N;N--){var H=m[N],Y=H.instance,ue=H.currentTarget;if(H=H.listener,Y!==x&&w.isPropagationStopped())break e;B0(w,H,ue),x=Y}else for(N=0;N<m.length;N++){if(H=m[N],Y=H.instance,ue=H.currentTarget,H=H.listener,Y!==x&&w.isPropagationStopped())break e;B0(w,H,ue),x=Y}}}if(Bu)throw i=dl,Bu=!1,dl=null,i}function Xt(i,o){var c=o[Fh];c===void 0&&(c=o[Fh]=new Set);var m=i+"__bubble";c.has(m)||(H0(o,i,2,!1),c.add(m))}function go(i,o,c){var m=0;o&&(m|=4),H0(c,i,m,o)}var Bi="_reactListening"+Math.random().toString(36).slice(2);function Zu(i){if(!i[Bi]){i[Bi]=!0,s.forEach(function(c){c!=="selectionchange"&&(yy.has(c)||go(c,!1,i),go(c,!0,i))});var o=i.nodeType===9?i:i.ownerDocument;o===null||o[Bi]||(o[Bi]=!0,go("selectionchange",!1,o))}}function H0(i,o,c,m){switch(ph(o)){case 1:var w=s0;break;case 4:w=Hc;break;default:w=zc}c=w.bind(null,o,c,i),w=void 0,!Mc||o!=="touchstart"&&o!=="touchmove"&&o!=="wheel"||(w=!0),m?w!==void 0?i.addEventListener(o,c,{capture:!0,passive:w}):i.addEventListener(o,c,!0):w!==void 0?i.addEventListener(o,c,{passive:w}):i.addEventListener(o,c,!1)}function ed(i,o,c,m,w){var x=m;if(!(o&1)&&!(o&2)&&m!==null)e:for(;;){if(m===null)return;var N=m.tag;if(N===3||N===4){var H=m.stateNode.containerInfo;if(H===w||H.nodeType===8&&H.parentNode===w)break;if(N===4)for(N=m.return;N!==null;){var Y=N.tag;if((Y===3||Y===4)&&(Y=N.stateNode.containerInfo,Y===w||Y.nodeType===8&&Y.parentNode===w))return;N=N.return}for(;H!==null;){if(N=Ca(H),N===null)return;if(Y=N.tag,Y===5||Y===6){m=x=N;continue e}H=H.parentNode}}m=m.return}rh(function(){var ue=x,be=vn(c),xe=[];e:{var ye=F0.get(i);if(ye!==void 0){var Ue=Vc,Ve=i;switch(i){case"keypress":if(Wu(c)===0)break e;case"keydown":case"keyup":Ue=ly;break;case"focusin":Ve="focus",Ue=mo;break;case"focusout":Ve="blur",Ue=mo;break;case"beforeblur":case"afterblur":Ue=mo;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=Wc;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":Ue=f0;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":Ue=cy;break;case Nh:case I0:case M0:Ue=h0;break;case P0:Ue=v0;break;case"scroll":Ue=c0;break;case"wheel":Ue=Pi;break;case"copy":case"cut":case"paste":Ue=uy;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":Ue=qc}var Qe=(o&4)!==0,An=!Qe&&i==="scroll",ee=Qe?ye!==null?ye+"Capture":null:ye;Qe=[];for(var Q=ue,ae;Q!==null;){ae=Q;var Ae=ae.stateNode;if(ae.tag===5&&Ae!==null&&(ae=Ae,ee!==null&&(Ae=cl(Q,ee),Ae!=null&&Qe.push(Nl(Q,Ae,ae)))),An)break;Q=Q.return}0<Qe.length&&(ye=new Ue(ye,Ve,null,c,be),xe.push({event:ye,listeners:Qe}))}}if(!(o&7)){e:{if(ye=i==="mouseover"||i==="pointerover",Ue=i==="mouseout"||i==="pointerout",ye&&c!==gn&&(Ve=c.relatedTarget||c.fromElement)&&(Ca(Ve)||Ve[Hi]))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=ue,Ve=Ve?Ca(Ve):null,Ve!==null&&(An=fi(Ve),Ve!==An||Ve.tag!==5&&Ve.tag!==6)&&(Ve=null)):(Ue=null,Ve=ue),Ue!==Ve)){if(Qe=Wc,Ae="onMouseLeave",ee="onMouseEnter",Q="mouse",(i==="pointerout"||i==="pointerover")&&(Qe=qc,Ae="onPointerLeave",ee="onPointerEnter",Q="pointer"),An=Ue==null?ye:Ju(Ue),ae=Ve==null?ye:Ju(Ve),ye=new Qe(Ae,Q+"leave",Ue,c,be),ye.target=An,ye.relatedTarget=ae,Ae=null,Ca(be)===ue&&(Qe=new Qe(ee,Q+"enter",Ve,c,be),Qe.target=ae,Qe.relatedTarget=An,Ae=Qe),An=Ae,Ue&&Ve)t:{for(Qe=Ue,ee=Ve,Q=0,ae=Qe;ae;ae=eu(ae))Q++;for(ae=0,Ae=ee;Ae;Ae=eu(Ae))ae++;for(;0<Q-ae;)Qe=eu(Qe),Q--;for(;0<ae-Q;)ee=eu(ee),ae--;for(;Q--;){if(Qe===ee||ee!==null&&Qe===ee.alternate)break t;Qe=eu(Qe),ee=eu(ee)}Qe=null}else Qe=null;Ue!==null&&Dh(xe,ye,Ue,Qe,!1),Ve!==null&&An!==null&&Dh(xe,An,Ve,Qe,!0)}}e:{if(ye=ue?Ju(ue):window,Ue=ye.nodeName&&ye.nodeName.toLowerCase(),Ue==="select"||Ue==="input"&&ye.type==="file")var Xe=S0;else if(T0(ye))if(xh)Xe=k0;else{Xe=py;var it=hy}else(Ue=ye.nodeName)&&Ue.toLowerCase()==="input"&&(ye.type==="checkbox"||ye.type==="radio")&&(Xe=my);if(Xe&&(Xe=Xe(i,ue))){x0(xe,Xe,c,be);break e}it&&it(i,ye,ue),i==="focusout"&&(it=ye._wrapperState)&&it.controlled&&ye.type==="number"&&Br(ye,"number",ye.value)}switch(it=ue?Ju(ue):window,i){case"focusin":(T0(it)||it.contentEditable==="true")&&(Za=it,_h=ue,_l=null);break;case"focusout":_l=_h=Za=null;break;case"mousedown":Ah=!0;break;case"contextmenu":case"mouseup":case"dragend":Ah=!1,L0(xe,c,be);break;case"selectionchange":if(O0)break;case"keydown":case"keyup":L0(xe,c,be)}var Ye;if(Ka)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?b0(i,c)&&(ot="onCompositionEnd"):i==="keydown"&&c.keyCode===229&&(ot="onCompositionStart");ot&&(y0&&c.locale!=="ko"&&($u||ot!=="onCompositionStart"?ot==="onCompositionEnd"&&$u&&(Ye=mh()):(Ii=be,bl="value"in Ii?Ii.value:Ii.textContent,$u=!0)),it=Dl(ue,ot),0<it.length&&(ot=new yh(ot,i,null,c,be),xe.push({event:ot,listeners:it}),Ye?ot.data=Ye:(Ye=Gc(c),Ye!==null&&(ot.data=Ye)))),(Ye=$c?dy(i,c):fy(i,c))&&(ue=Dl(ue,"onBeforeInput"),0<ue.length&&(be=new yh("onBeforeInput","beforeinput",null,c,be),xe.push({event:be,listeners:ue}),be.data=Ye))}Jc(xe,o)})}function Nl(i,o,c){return{instance:i,listener:o,currentTarget:c}}function Dl(i,o){for(var c=o+"Capture",m=[];i!==null;){var w=i,x=w.stateNode;w.tag===5&&x!==null&&(w=x,x=cl(i,c),x!=null&&m.unshift(Nl(i,x,w)),x=cl(i,o),x!=null&&m.push(Nl(i,x,w))),i=i.return}return m}function eu(i){if(i===null)return null;do i=i.return;while(i&&i.tag!==5);return i||null}function Dh(i,o,c,m,w){for(var x=o._reactName,N=[];c!==null&&c!==m;){var H=c,Y=H.alternate,ue=H.stateNode;if(Y!==null&&Y===m)break;H.tag===5&&ue!==null&&(H=ue,w?(Y=cl(c,x),Y!=null&&N.unshift(Nl(c,Y,H))):w||(Y=cl(c,x),Y!=null&&N.push(Nl(c,Y,H)))),c=c.return}N.length!==0&&i.push({event:o,listeners:N})}var Oh=/\r\n?/g,Ey=/\u0000|\uFFFD/g;function Lh(i){return(typeof i=="string"?i:""+i).replace(Oh,`
|
|
57
|
+
`+w[N].replace(" at new "," at ");return i.displayName&&Y.includes("<anonymous>")&&(Y=Y.replace("<anonymous>",i.displayName)),Y}while(1<=N&&0<=H);break}}}finally{V=!1,Error.prepareStackTrace=c}return(i=i?i.displayName||i.name:"")?Et(i):""}function Qn(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=$t(i.type,!1),i;case 11:return i=$t(i.type.render,!1),i;case 1:return i=$t(i.type,!0),i;default:return""}}function kt(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 ce:return"Fragment";case X:return"Portal";case Me:return"Profiler";case Te: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:kt(i.type)||"Memo";case je:o=i._payload,i=i._init;try{return kt(i(o))}catch{}}return null}function rr(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 kt(o);case 8:return o===Te?"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 dn(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 _r(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 w=c.get,x=c.set;return Object.defineProperty(i,o,{configurable:!0,get:function(){return w.call(this)},set:function(N){m=""+N,x.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=_r(i))}function Ur(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 P({},o,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:c??i._wrapperState.initialChecked})}function ar(i,o){var c=o.defaultValue==null?"":o.defaultValue,m=o.checked!=null?o.checked:o.defaultChecked;c=dn(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 gr(i,o){o=o.checked,o!=null&&W(i,"checked",o,!1)}function $n(i,o){gr(i,o);var c=dn(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")?Br(i,o.type,c):o.hasOwnProperty("defaultValue")&&Br(i,o.type,dn(o.defaultValue)),o.checked==null&&o.defaultChecked!=null&&(i.defaultChecked=!!o.defaultChecked)}function ia(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 Br(i,o,c){(o!=="number"||an(i.ownerDocument)!==i)&&(c==null?i.defaultValue=""+i._wrapperState.initialValue:i.defaultValue!==""+c&&(i.defaultValue=""+c))}var si=Array.isArray;function li(i,o,c,m){if(i=i.options,o){o={};for(var w=0;w<c.length;w++)o["$"+c[w]]=!0;for(c=0;c<i.length;c++)w=o.hasOwnProperty("$"+i[c].value),i[c].selected!==w&&(i[c].selected=w),w&&m&&(i[c].defaultSelected=!0)}else{for(c=""+dn(c),o=null,w=0;w<i.length;w++){if(i[w].value===c){i[w].selected=!0,m&&(i[w].defaultSelected=!0);return}o!==null||i[w].disabled||(o=i[w])}o!==null&&(o.selected=!0)}}function Di(i,o){if(o.dangerouslySetInnerHTML!=null)throw Error(a(91));return P({},o,{value:void 0,defaultValue:void 0,children:""+i._wrapperState.initialValue})}function oa(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(si(c)){if(1<c.length)throw Error(a(93));c=c[0]}o=c}o==null&&(o=""),c=o}i._wrapperState={initialValue:dn(c)}}function ci(i,o){var c=dn(o.value),m=dn(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 ba(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,w){MSApp.execUnsafeLocalFunction(function(){return i(o,c,m,w)})}: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 _t(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},$e=["Webkit","ms","Moz","O"];Object.keys(Ne).forEach(function(i){$e.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,w=dt(c,o[c],m);c==="float"&&(c="cssFloat"),m?i.setProperty(c,w):i[c]=w}}var Gt=P({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(Gt[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 gn=null;function vn(i){return i=i.target||i.srcElement||window,i.correspondingUseElement&&(i=i.correspondingUseElement),i.nodeType===3?i.parentNode:i}var di=null,Dn=null,yn=null;function $m(i){if(i=Il(i)){if(typeof di!="function")throw Error(a(280));var o=i.stateNode;o&&(o=nt(o),di(i.stateNode,i.type,o))}}function Oc(i){Dn?yn?yn.push(i):yn=[i]:Dn=i}function Lc(){if(Dn){var i=Dn,o=yn;if(yn=Dn=null,$m(i),o)for(i=0;i<o.length;i++)$m(o[i])}}function Gm(i,o){return i(o)}function Xm(){}var Ic=!1;function rh(i,o,c){if(Ic)return i(o,c);Ic=!0;try{return Gm(i,o,c)}finally{Ic=!1,(Dn!==null||yn!==null)&&(Xm(),Lc())}}function cl(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 Mc=!1;if(g)try{var Qo={};Object.defineProperty(Qo,"passive",{get:function(){Mc=!0}}),window.addEventListener("test",Qo,Qo),window.removeEventListener("test",Qo,Qo)}catch{Mc=!1}function Uu(i,o,c,m,w,x,N,H,Y){var ue=Array.prototype.slice.call(arguments,3);try{o.apply(c,ue)}catch(be){this.onError(be)}}var Qa=!1,Oi=null,Bu=!1,dl=null,ah={onError:function(i){Qa=!0,Oi=i}};function ih(i,o,c,m,w,x,N,H,Y){Qa=!1,Oi=null,Uu.apply(ah,arguments)}function Hu(i,o,c,m,w,x,N,H,Y){if(ih.apply(this,arguments),Qa){if(Qa){var ue=Oi;Qa=!1,Oi=null}else throw Error(a(198));Bu||(Bu=!0,dl=ue)}}function fi(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 fl(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 zu(i){if(fi(i)!==i)throw Error(a(188))}function Ar(i){var o=i.alternate;if(!o){if(o=fi(i),o===null)throw Error(a(188));return o!==i?null:i}for(var c=i,m=o;;){var w=c.return;if(w===null)break;var x=w.alternate;if(x===null){if(m=w.return,m!==null){c=m;continue}break}if(w.child===x.child){for(x=w.child;x;){if(x===c)return zu(w),i;if(x===m)return zu(w),o;x=x.sibling}throw Error(a(188))}if(c.return!==m.return)c=w,m=x;else{for(var N=!1,H=w.child;H;){if(H===c){N=!0,c=w,m=x;break}if(H===m){N=!0,m=w,c=x;break}H=H.sibling}if(!N){for(H=x.child;H;){if(H===c){N=!0,c=x,m=w;break}if(H===m){N=!0,m=x,c=w;break}H=H.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 Km(i){return i=Ar(i),i!==null?Zm(i):null}function Zm(i){if(i.tag===5||i.tag===6)return i;for(i=i.child;i!==null;){var o=Zm(i);if(o!==null)return o;i=i.sibling}return null}var oh=n.unstable_scheduleCallback,Jm=n.unstable_cancelCallback,J1=n.unstable_shouldYield,ey=n.unstable_requestPaint,En=n.unstable_now,ty=n.unstable_getCurrentPriorityLevel,Li=n.unstable_ImmediatePriority,xt=n.unstable_UserBlockingPriority,fo=n.unstable_NormalPriority,e0=n.unstable_LowPriority,uh=n.unstable_IdlePriority,hl=null,$a=null;function t0(i){if($a&&typeof $a.onCommitFiberRoot=="function")try{$a.onCommitFiberRoot(hl,i,void 0,(i.current.flags&128)===128)}catch{}}var wa=Math.clz32?Math.clz32:ny,n0=Math.log,r0=Math.LN2;function ny(i){return i>>>=0,i===0?32:31-(n0(i)/r0|0)|0}var Pc=64,ju=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 Ga(i,o){var c=i.pendingLanes;if(c===0)return 0;var m=0,w=i.suspendedLanes,x=i.pingedLanes,N=c&268435455;if(N!==0){var H=N&~w;H!==0?m=$o(H):(x&=N,x!==0&&(m=$o(x)))}else N=c&~w,N!==0?m=$o(N):x!==0&&(m=$o(x));if(m===0)return 0;if(o!==0&&o!==m&&!(o&w)&&(w=m&-m,x=o&-o,w>=x||w===16&&(x&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),w=1<<c,m|=i[c],o&=~w;return m}function sh(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 Fc(i,o){for(var c=i.suspendedLanes,m=i.pingedLanes,w=i.expirationTimes,x=i.pendingLanes;0<x;){var N=31-wa(x),H=1<<N,Y=w[N];Y===-1?(!(H&c)||H&m)&&(w[N]=sh(H,o)):Y<=o&&(i.expiredLanes|=H),x&=~H}}function lh(i){return i=i.pendingLanes&-1073741825,i!==0?i:i&1073741824?1073741824:0}function Uc(){var i=Pc;return Pc<<=1,!(Pc&4194240)&&(Pc=64),i}function ch(i){for(var o=[],c=0;31>c;c++)o.push(i);return o}function Go(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 ry(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 w=31-wa(c),x=1<<w;o[w]=0,m[w]=-1,i[w]=-1,c&=~x}}function pl(i,o){var c=i.entangledLanes|=o;for(i=i.entanglements;c;){var m=31-wa(c),w=1<<m;w&o|i[m]&o&&(i[m]|=o),c&=~w}}var Vt=0;function dh(i){return i&=-i,1<i?4<i?i&268435455?16:536870912:4:1}var a0,Bc,Yt,i0,fh,pt=!1,ml=[],On=null,Ta=null,xa=null,gl=new Map,Un=new Map,Wt=[],ay="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 Xa(i,o){switch(i){case"focusin":case"focusout":On=null;break;case"dragenter":case"dragleave":Ta=null;break;case"mouseover":case"mouseout":xa=null;break;case"pointerover":case"pointerout":gl.delete(o.pointerId);break;case"gotpointercapture":case"lostpointercapture":Un.delete(o.pointerId)}}function vr(i,o,c,m,w,x){return i===null||i.nativeEvent!==x?(i={blockedOn:o,domEventName:c,eventSystemFlags:m,nativeEvent:x,targetContainers:[w]},o!==null&&(o=Il(o),o!==null&&Bc(o)),i):(i.eventSystemFlags|=m,o=i.targetContainers,w!==null&&o.indexOf(w)===-1&&o.push(w),i)}function ho(i,o,c,m,w){switch(o){case"focusin":return On=vr(On,i,o,c,m,w),!0;case"dragenter":return Ta=vr(Ta,i,o,c,m,w),!0;case"mouseover":return xa=vr(xa,i,o,c,m,w),!0;case"pointerover":var x=w.pointerId;return gl.set(x,vr(gl.get(x)||null,i,o,c,m,w)),!0;case"gotpointercapture":return x=w.pointerId,Un.set(x,vr(Un.get(x)||null,i,o,c,m,w)),!0}return!1}function o0(i){var o=Ca(i.target);if(o!==null){var c=fi(o);if(c!==null){if(o=c.tag,o===13){if(o=fl(c),o!==null){i.blockedOn=o,fh(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 Vu(i){if(i.blockedOn!==null)return!1;for(var o=i.targetContainers;0<o.length;){var c=jc(i.domEventName,i.eventSystemFlags,o[0],i.nativeEvent);if(c===null){c=i.nativeEvent;var m=new c.constructor(c.type,c);gn=m,c.target.dispatchEvent(m),gn=null}else return o=Il(c),o!==null&&Bc(o),i.blockedOn=c,!1;o.shift()}return!0}function hh(i,o,c){Vu(i)&&c.delete(o)}function u0(){pt=!1,On!==null&&Vu(On)&&(On=null),Ta!==null&&Vu(Ta)&&(Ta=null),xa!==null&&Vu(xa)&&(xa=null),gl.forEach(hh),Un.forEach(hh)}function vl(i,o){i.blockedOn===o&&(i.blockedOn=null,pt||(pt=!0,n.unstable_scheduleCallback(n.unstable_NormalPriority,u0)))}function yl(i){function o(w){return vl(w,i)}if(0<ml.length){vl(ml[0],i);for(var c=1;c<ml.length;c++){var m=ml[c];m.blockedOn===i&&(m.blockedOn=null)}}for(On!==null&&vl(On,i),Ta!==null&&vl(Ta,i),xa!==null&&vl(xa,i),gl.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);)o0(c),c.blockedOn===null&&Wt.shift()}var Yu=Z.ReactCurrentBatchConfig,Xo=!0;function s0(i,o,c,m){var w=Vt,x=Yu.transition;Yu.transition=null;try{Vt=1,zc(i,o,c,m)}finally{Vt=w,Yu.transition=x}}function Hc(i,o,c,m){var w=Vt,x=Yu.transition;Yu.transition=null;try{Vt=4,zc(i,o,c,m)}finally{Vt=w,Yu.transition=x}}function zc(i,o,c,m){if(Xo){var w=jc(i,o,c,m);if(w===null)ed(i,o,m,El,c),Xa(i,m);else if(ho(w,i,o,c,m))m.stopPropagation();else if(Xa(i,m),o&4&&-1<ay.indexOf(i)){for(;w!==null;){var x=Il(w);if(x!==null&&a0(x),x=jc(i,o,c,m),x===null&&ed(i,o,m,El,c),x===w)break;w=x}w!==null&&m.stopPropagation()}else ed(i,o,m,null,c)}}var El=null;function jc(i,o,c,m){if(El=null,i=vn(m),i=Ca(i),i!==null)if(o=fi(i),o===null)i=null;else if(c=o.tag,c===13){if(i=fl(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 El=i,null}function ph(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(ty()){case Li:return 1;case xt:return 4;case fo:case e0:return 16;case uh:return 536870912;default:return 16}default:return 16}}var Ii=null,bl=null,wl=null;function mh(){if(wl)return wl;var i,o=bl,c=o.length,m,w="value"in Ii?Ii.value:Ii.textContent,x=w.length;for(i=0;i<c&&o[i]===w[i];i++);var N=c-i;for(m=1;m<=N&&o[c-m]===w[x-m];m++);return wl=w.slice(i,1<m?1-m:void 0)}function Wu(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 Tl(){return!0}function l0(){return!1}function ua(i){function o(c,m,w,x,N){this._reactName=c,this._targetInst=w,this.type=m,this.nativeEvent=x,this.target=N,this.currentTarget=null;for(var H in i)i.hasOwnProperty(H)&&(c=i[H],this[H]=c?c(x):x[H]);return this.isDefaultPrevented=(x.defaultPrevented!=null?x.defaultPrevented:x.returnValue===!1)?Tl:l0,this.isPropagationStopped=l0,this}return P(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=Tl)},stopPropagation:function(){var c=this.nativeEvent;c&&(c.stopPropagation?c.stopPropagation():typeof c.cancelBubble!="unknown"&&(c.cancelBubble=!0),this.isPropagationStopped=Tl)},persist:function(){},isPersistent:Tl}),o}var po={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(i){return i.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Vc=ua(po),qu=P({},po,{view:0,detail:0}),c0=ua(qu),Yc,gh,xl,Gn=P({},qu,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:bh,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!==xl&&(xl&&i.type==="mousemove"?(Yc=i.screenX-xl.screenX,gh=i.screenY-xl.screenY):gh=Yc=0,xl=i),Yc)},movementY:function(i){return"movementY"in i?i.movementY:gh}}),Wc=ua(Gn),d0=P({},Gn,{dataTransfer:0}),f0=ua(d0),iy=P({},qu,{relatedTarget:0}),mo=ua(iy),vh=P({},po,{animationName:0,elapsedTime:0,pseudoElement:0}),h0=ua(vh),oy=P({},po,{clipboardData:function(i){return"clipboardData"in i?i.clipboardData:window.clipboardData}}),uy=ua(oy),sy=P({},po,{data:0}),yh=ua(sy),Eh={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},p0={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"},m0={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function g0(i){var o=this.nativeEvent;return o.getModifierState?o.getModifierState(i):(i=m0[i])?!!o[i]:!1}function bh(){return g0}var Mi=P({},qu,{key:function(i){if(i.key){var o=Eh[i.key]||i.key;if(o!=="Unidentified")return o}return i.type==="keypress"?(i=Wu(i),i===13?"Enter":String.fromCharCode(i)):i.type==="keydown"||i.type==="keyup"?p0[i.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:bh,charCode:function(i){return i.type==="keypress"?Wu(i):0},keyCode:function(i){return i.type==="keydown"||i.type==="keyup"?i.keyCode:0},which:function(i){return i.type==="keypress"?Wu(i):i.type==="keydown"||i.type==="keyup"?i.keyCode:0}}),ly=ua(Mi),wh=P({},Gn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),qc=ua(wh),Th=P({},qu,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:bh}),cy=ua(Th),Qc=P({},po,{propertyName:0,elapsedTime:0,pseudoElement:0}),v0=ua(Qc),Hr=P({},Gn,{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}),Pi=ua(Hr),Ln=[9,13,27,32],Ka=g&&"CompositionEvent"in window,Ko=null;g&&"documentMode"in document&&(Ko=document.documentMode);var $c=g&&"TextEvent"in window&&!Ko,y0=g&&(!Ka||Ko&&8<Ko&&11>=Ko),Qu=" ",E0=!1;function b0(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 Gc(i){return i=i.detail,typeof i=="object"&&"data"in i?i.data:null}var $u=!1;function dy(i,o){switch(i){case"compositionend":return Gc(o);case"keypress":return o.which!==32?null:(E0=!0,Qu);case"textInput":return i=o.data,i===Qu&&E0?null:i;default:return null}}function fy(i,o){if($u)return i==="compositionend"||!Ka&&b0(i,o)?(i=mh(),wl=bl=Ii=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 y0&&o.locale!=="ko"?null:o.data;default:return null}}var w0={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 T0(i){var o=i&&i.nodeName&&i.nodeName.toLowerCase();return o==="input"?!!w0[i.type]:o==="textarea"}function x0(i,o,c,m){Oc(m),o=Dl(o,"onChange"),0<o.length&&(c=new Vc("onChange","change",null,c,m),i.push({event:c,listeners:o}))}var Sl=null,Gu=null;function Xu(i){Jc(i,0)}function Ku(i){var o=Ju(i);if(Ur(o))return i}function S0(i,o){if(i==="change")return o}var xh=!1;if(g){var Sh;if(g){var Ch="oninput"in document;if(!Ch){var C0=document.createElement("div");C0.setAttribute("oninput","return;"),Ch=typeof C0.oninput=="function"}Sh=Ch}else Sh=!1;xh=Sh&&(!document.documentMode||9<document.documentMode)}function _0(){Sl&&(Sl.detachEvent("onpropertychange",A0),Gu=Sl=null)}function A0(i){if(i.propertyName==="value"&&Ku(Gu)){var o=[];x0(o,Gu,i,vn(i)),rh(Xu,o)}}function hy(i,o,c){i==="focusin"?(_0(),Sl=o,Gu=c,Sl.attachEvent("onpropertychange",A0)):i==="focusout"&&_0()}function py(i){if(i==="selectionchange"||i==="keyup"||i==="keydown")return Ku(Gu)}function my(i,o){if(i==="click")return Ku(o)}function k0(i,o){if(i==="input"||i==="change")return Ku(o)}function gy(i,o){return i===o&&(i!==0||1/i===1/o)||i!==i&&o!==o}var Sa=typeof Object.is=="function"?Object.is:gy;function Cl(i,o){if(Sa(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 w=c[m];if(!E.call(o,w)||!Sa(i[w],o[w]))return!1}return!0}function R0(i){for(;i&&i.firstChild;)i=i.firstChild;return i}function N0(i,o){var c=R0(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=R0(c)}}function D0(i,o){return i&&o?i===o?!0:i&&i.nodeType===3?!1:o&&o.nodeType===3?D0(i,o.parentNode):"contains"in i?i.contains(o):i.compareDocumentPosition?!!(i.compareDocumentPosition(o)&16):!1:!1}function Xc(){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 Fi(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 Kc(i){var o=Xc(),c=i.focusedElem,m=i.selectionRange;if(o!==c&&c&&c.ownerDocument&&D0(c.ownerDocument.documentElement,c)){if(m!==null&&Fi(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 w=c.textContent.length,x=Math.min(m.start,w);m=m.end===void 0?x:Math.min(m.end,w),!i.extend&&x>m&&(w=m,m=x,x=w),w=N0(c,x);var N=N0(c,m);w&&N&&(i.rangeCount!==1||i.anchorNode!==w.node||i.anchorOffset!==w.offset||i.focusNode!==N.node||i.focusOffset!==N.offset)&&(o=o.createRange(),o.setStart(w.node,w.offset),i.removeAllRanges(),x>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 O0=g&&"documentMode"in document&&11>=document.documentMode,Za=null,_h=null,_l=null,Ah=!1;function L0(i,o,c){var m=c.window===c?c.document:c.nodeType===9?c:c.ownerDocument;Ah||Za==null||Za!==an(m)||(m=Za,"selectionStart"in m&&Fi(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}),_l&&Cl(_l,m)||(_l=m,m=Dl(_h,"onSelect"),0<m.length&&(o=new Vc("onSelect","select",null,o,c),i.push({event:o,listeners:m}),o.target=Za)))}function Zc(i,o){var c={};return c[i.toLowerCase()]=o.toLowerCase(),c["Webkit"+i]="webkit"+o,c["Moz"+i]="moz"+o,c}var Zo={animationend:Zc("Animation","AnimationEnd"),animationiteration:Zc("Animation","AnimationIteration"),animationstart:Zc("Animation","AnimationStart"),transitionend:Zc("Transition","TransitionEnd")},kh={},Rh={};g&&(Rh=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 Xn(i){if(kh[i])return kh[i];if(!Zo[i])return i;var o=Zo[i],c;for(c in o)if(o.hasOwnProperty(c)&&c in Rh)return kh[i]=o[c];return i}var Nh=Xn("animationend"),I0=Xn("animationiteration"),M0=Xn("animationstart"),P0=Xn("transitionend"),F0=new Map,U0="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 Ui(i,o){F0.set(i,o),p(o,[i])}for(var Al=0;Al<U0.length;Al++){var Jo=U0[Al],vy=Jo.toLowerCase(),kl=Jo[0].toUpperCase()+Jo.slice(1);Ui(vy,"on"+kl)}Ui(Nh,"onAnimationEnd"),Ui(I0,"onAnimationIteration"),Ui(M0,"onAnimationStart"),Ui("dblclick","onDoubleClick"),Ui("focusin","onFocus"),Ui("focusout","onBlur"),Ui(P0,"onTransitionEnd"),d("onMouseEnter",["mouseout","mouseover"]),d("onMouseLeave",["mouseout","mouseover"]),d("onPointerEnter",["pointerout","pointerover"]),d("onPointerLeave",["pointerout","pointerover"]),p("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),p("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),p("onBeforeInput",["compositionend","keypress","textInput","paste"]),p("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),p("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),p("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Rl="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(" "),yy=new Set("cancel close invalid load scroll toggle".split(" ").concat(Rl));function B0(i,o,c){var m=i.type||"unknown-event";i.currentTarget=c,Hu(m,o,void 0,i),i.currentTarget=null}function Jc(i,o){o=(o&4)!==0;for(var c=0;c<i.length;c++){var m=i[c],w=m.event;m=m.listeners;e:{var x=void 0;if(o)for(var N=m.length-1;0<=N;N--){var H=m[N],Y=H.instance,ue=H.currentTarget;if(H=H.listener,Y!==x&&w.isPropagationStopped())break e;B0(w,H,ue),x=Y}else for(N=0;N<m.length;N++){if(H=m[N],Y=H.instance,ue=H.currentTarget,H=H.listener,Y!==x&&w.isPropagationStopped())break e;B0(w,H,ue),x=Y}}}if(Bu)throw i=dl,Bu=!1,dl=null,i}function Xt(i,o){var c=o[Fh];c===void 0&&(c=o[Fh]=new Set);var m=i+"__bubble";c.has(m)||(H0(o,i,2,!1),c.add(m))}function go(i,o,c){var m=0;o&&(m|=4),H0(c,i,m,o)}var Bi="_reactListening"+Math.random().toString(36).slice(2);function Zu(i){if(!i[Bi]){i[Bi]=!0,s.forEach(function(c){c!=="selectionchange"&&(yy.has(c)||go(c,!1,i),go(c,!0,i))});var o=i.nodeType===9?i:i.ownerDocument;o===null||o[Bi]||(o[Bi]=!0,go("selectionchange",!1,o))}}function H0(i,o,c,m){switch(ph(o)){case 1:var w=s0;break;case 4:w=Hc;break;default:w=zc}c=w.bind(null,o,c,i),w=void 0,!Mc||o!=="touchstart"&&o!=="touchmove"&&o!=="wheel"||(w=!0),m?w!==void 0?i.addEventListener(o,c,{capture:!0,passive:w}):i.addEventListener(o,c,!0):w!==void 0?i.addEventListener(o,c,{passive:w}):i.addEventListener(o,c,!1)}function ed(i,o,c,m,w){var x=m;if(!(o&1)&&!(o&2)&&m!==null)e:for(;;){if(m===null)return;var N=m.tag;if(N===3||N===4){var H=m.stateNode.containerInfo;if(H===w||H.nodeType===8&&H.parentNode===w)break;if(N===4)for(N=m.return;N!==null;){var Y=N.tag;if((Y===3||Y===4)&&(Y=N.stateNode.containerInfo,Y===w||Y.nodeType===8&&Y.parentNode===w))return;N=N.return}for(;H!==null;){if(N=Ca(H),N===null)return;if(Y=N.tag,Y===5||Y===6){m=x=N;continue e}H=H.parentNode}}m=m.return}rh(function(){var ue=x,be=vn(c),xe=[];e:{var ye=F0.get(i);if(ye!==void 0){var Ue=Vc,Ve=i;switch(i){case"keypress":if(Wu(c)===0)break e;case"keydown":case"keyup":Ue=ly;break;case"focusin":Ve="focus",Ue=mo;break;case"focusout":Ve="blur",Ue=mo;break;case"beforeblur":case"afterblur":Ue=mo;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=Wc;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":Ue=f0;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":Ue=cy;break;case Nh:case I0:case M0:Ue=h0;break;case P0:Ue=v0;break;case"scroll":Ue=c0;break;case"wheel":Ue=Pi;break;case"copy":case"cut":case"paste":Ue=uy;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":Ue=qc}var Qe=(o&4)!==0,An=!Qe&&i==="scroll",ee=Qe?ye!==null?ye+"Capture":null:ye;Qe=[];for(var Q=ue,ae;Q!==null;){ae=Q;var Ae=ae.stateNode;if(ae.tag===5&&Ae!==null&&(ae=Ae,ee!==null&&(Ae=cl(Q,ee),Ae!=null&&Qe.push(Nl(Q,Ae,ae)))),An)break;Q=Q.return}0<Qe.length&&(ye=new Ue(ye,Ve,null,c,be),xe.push({event:ye,listeners:Qe}))}}if(!(o&7)){e:{if(ye=i==="mouseover"||i==="pointerover",Ue=i==="mouseout"||i==="pointerout",ye&&c!==gn&&(Ve=c.relatedTarget||c.fromElement)&&(Ca(Ve)||Ve[Hi]))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=ue,Ve=Ve?Ca(Ve):null,Ve!==null&&(An=fi(Ve),Ve!==An||Ve.tag!==5&&Ve.tag!==6)&&(Ve=null)):(Ue=null,Ve=ue),Ue!==Ve)){if(Qe=Wc,Ae="onMouseLeave",ee="onMouseEnter",Q="mouse",(i==="pointerout"||i==="pointerover")&&(Qe=qc,Ae="onPointerLeave",ee="onPointerEnter",Q="pointer"),An=Ue==null?ye:Ju(Ue),ae=Ve==null?ye:Ju(Ve),ye=new Qe(Ae,Q+"leave",Ue,c,be),ye.target=An,ye.relatedTarget=ae,Ae=null,Ca(be)===ue&&(Qe=new Qe(ee,Q+"enter",Ve,c,be),Qe.target=ae,Qe.relatedTarget=An,Ae=Qe),An=Ae,Ue&&Ve)t:{for(Qe=Ue,ee=Ve,Q=0,ae=Qe;ae;ae=eu(ae))Q++;for(ae=0,Ae=ee;Ae;Ae=eu(Ae))ae++;for(;0<Q-ae;)Qe=eu(Qe),Q--;for(;0<ae-Q;)ee=eu(ee),ae--;for(;Q--;){if(Qe===ee||ee!==null&&Qe===ee.alternate)break t;Qe=eu(Qe),ee=eu(ee)}Qe=null}else Qe=null;Ue!==null&&Dh(xe,ye,Ue,Qe,!1),Ve!==null&&An!==null&&Dh(xe,An,Ve,Qe,!0)}}e:{if(ye=ue?Ju(ue):window,Ue=ye.nodeName&&ye.nodeName.toLowerCase(),Ue==="select"||Ue==="input"&&ye.type==="file")var Xe=S0;else if(T0(ye))if(xh)Xe=k0;else{Xe=py;var it=hy}else(Ue=ye.nodeName)&&Ue.toLowerCase()==="input"&&(ye.type==="checkbox"||ye.type==="radio")&&(Xe=my);if(Xe&&(Xe=Xe(i,ue))){x0(xe,Xe,c,be);break e}it&&it(i,ye,ue),i==="focusout"&&(it=ye._wrapperState)&&it.controlled&&ye.type==="number"&&Br(ye,"number",ye.value)}switch(it=ue?Ju(ue):window,i){case"focusin":(T0(it)||it.contentEditable==="true")&&(Za=it,_h=ue,_l=null);break;case"focusout":_l=_h=Za=null;break;case"mousedown":Ah=!0;break;case"contextmenu":case"mouseup":case"dragend":Ah=!1,L0(xe,c,be);break;case"selectionchange":if(O0)break;case"keydown":case"keyup":L0(xe,c,be)}var Ye;if(Ka)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?b0(i,c)&&(ot="onCompositionEnd"):i==="keydown"&&c.keyCode===229&&(ot="onCompositionStart");ot&&(y0&&c.locale!=="ko"&&($u||ot!=="onCompositionStart"?ot==="onCompositionEnd"&&$u&&(Ye=mh()):(Ii=be,bl="value"in Ii?Ii.value:Ii.textContent,$u=!0)),it=Dl(ue,ot),0<it.length&&(ot=new yh(ot,i,null,c,be),xe.push({event:ot,listeners:it}),Ye?ot.data=Ye:(Ye=Gc(c),Ye!==null&&(ot.data=Ye)))),(Ye=$c?dy(i,c):fy(i,c))&&(ue=Dl(ue,"onBeforeInput"),0<ue.length&&(be=new yh("onBeforeInput","beforeinput",null,c,be),xe.push({event:be,listeners:ue}),be.data=Ye))}Jc(xe,o)})}function Nl(i,o,c){return{instance:i,listener:o,currentTarget:c}}function Dl(i,o){for(var c=o+"Capture",m=[];i!==null;){var w=i,x=w.stateNode;w.tag===5&&x!==null&&(w=x,x=cl(i,c),x!=null&&m.unshift(Nl(i,x,w)),x=cl(i,o),x!=null&&m.push(Nl(i,x,w))),i=i.return}return m}function eu(i){if(i===null)return null;do i=i.return;while(i&&i.tag!==5);return i||null}function Dh(i,o,c,m,w){for(var x=o._reactName,N=[];c!==null&&c!==m;){var H=c,Y=H.alternate,ue=H.stateNode;if(Y!==null&&Y===m)break;H.tag===5&&ue!==null&&(H=ue,w?(Y=cl(c,x),Y!=null&&N.unshift(Nl(c,Y,H))):w||(Y=cl(c,x),Y!=null&&N.push(Nl(c,Y,H)))),c=c.return}N.length!==0&&i.push({event:o,listeners:N})}var Oh=/\r\n?/g,Ey=/\u0000|\uFFFD/g;function Lh(i){return(typeof i=="string"?i:""+i).replace(Oh,`
|
|
58
58
|
`).replace(Ey,"")}function td(i,o,c){if(o=Lh(o),Lh(i)!==o&&c)throw Error(a(425))}function nd(){}var Ih=null,tu=null;function Ol(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 nu=typeof setTimeout=="function"?setTimeout:void 0,z0=typeof clearTimeout=="function"?clearTimeout:void 0,Mh=typeof Promise=="function"?Promise:void 0,Ph=typeof queueMicrotask=="function"?queueMicrotask:typeof Mh<"u"?function(i){return Mh.resolve(null).then(i).catch(by)}:nu;function by(i){setTimeout(function(){throw i})}function vo(i,o){var c=o,m=0;do{var w=c.nextSibling;if(i.removeChild(c),w&&w.nodeType===8)if(c=w.data,c==="/$"){if(m===0){i.removeChild(w),yl(o);return}m--}else c!=="$"&&c!=="$?"&&c!=="$!"||m++;c=w}while(c);yl(o)}function Ja(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 Ll(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 yo=Math.random().toString(36).slice(2),hi="__reactFiber$"+yo,ru="__reactProps$"+yo,Hi="__reactContainer$"+yo,Fh="__reactEvents$"+yo,wy="__reactListeners$"+yo,Uh="__reactHandles$"+yo;function Ca(i){var o=i[hi];if(o)return o;for(var c=i.parentNode;c;){if(o=c[Hi]||c[hi]){if(c=o.alternate,o.child!==null||c!==null&&c.child!==null)for(i=Ll(i);i!==null;){if(c=i[hi])return c;i=Ll(i)}return o}i=c,c=i.parentNode}return null}function Il(i){return i=i[hi]||i[Hi],!i||i.tag!==5&&i.tag!==6&&i.tag!==13&&i.tag!==3?null:i}function Ju(i){if(i.tag===5||i.tag===6)return i.stateNode;throw Error(a(33))}function nt(i){return i[ru]||null}var Eo=[],Jt=-1;function gt(i){return{current:i}}function Bt(i){0>Jt||(i.current=Eo[Jt],Eo[Jt]=null,Jt--)}function zt(i,o){Jt++,Eo[Jt]=i.current,i.current=o}var pi={},lt=gt(pi),bn=gt(!1),zr=pi;function _a(i,o){var c=i.type.contextTypes;if(!c)return pi;var m=i.stateNode;if(m&&m.__reactInternalMemoizedUnmaskedChildContext===o)return m.__reactInternalMemoizedMaskedChildContext;var w={},x;for(x in c)w[x]=o[x];return m&&(i=i.stateNode,i.__reactInternalMemoizedUnmaskedChildContext=o,i.__reactInternalMemoizedMaskedChildContext=w),w}function on(i){return i=i.childContextTypes,i!=null}function Aa(){Bt(bn),Bt(lt)}function bo(i,o,c){if(lt.current!==pi)throw Error(a(168));zt(lt,o),zt(bn,c)}function Ml(i,o,c){var m=i.stateNode;if(o=o.childContextTypes,typeof m.getChildContext!="function")return c;m=m.getChildContext();for(var w in m)if(!(w in o))throw Error(a(108,rr(i)||"Unknown",w));return P({},c,m)}function rd(i){return i=(i=i.stateNode)&&i.__reactInternalMemoizedMergedChildContext||pi,zr=lt.current,zt(lt,i),zt(bn,bn.current),!0}function j0(i,o,c){var m=i.stateNode;if(!m)throw Error(a(169));c?(i=Ml(i,o,zr),m.__reactInternalMemoizedMergedChildContext=i,Bt(bn),Bt(lt),zt(lt,i)):Bt(bn),zt(bn,c)}var sa=null,Kn=!1,Pl=!1;function Bh(i){sa===null?sa=[i]:sa.push(i)}function Hh(i){Kn=!0,Bh(i)}function jr(){if(!Pl&&sa!==null){Pl=!0;var i=0,o=Vt;try{var c=sa;for(Vt=1;i<c.length;i++){var m=c[i];do m=m(!0);while(m!==null)}sa=null,Kn=!1}catch(w){throw sa!==null&&(sa=sa.slice(i+1)),oh(Li,jr),w}finally{Vt=o,Pl=!1}}return null}var wo=[],Vr=0,au=null,es=0,Yr=[],yr=0,ka=null,ir=1,zi="";function la(i,o){wo[Vr++]=es,wo[Vr++]=au,au=i,es=o}function zh(i,o,c){Yr[yr++]=ir,Yr[yr++]=zi,Yr[yr++]=ka,ka=i;var m=ir;i=zi;var w=32-wa(m)-1;m&=~(1<<w),c+=1;var x=32-wa(o)+w;if(30<x){var N=w-w%5;x=(m&(1<<N)-1).toString(32),m>>=N,w-=N,ir=1<<32-wa(o)+w|c<<w|m,zi=x+i}else ir=1<<x|c<<w|m,zi=i}function ad(i){i.return!==null&&(la(i,1),zh(i,1,0))}function jh(i){for(;i===au;)au=wo[--Vr],wo[Vr]=null,es=wo[--Vr],wo[Vr]=null;for(;i===ka;)ka=Yr[--yr],Yr[yr]=null,zi=Yr[--yr],Yr[yr]=null,ir=Yr[--yr],Yr[yr]=null}var ca=null,Wr=null,en=!1,Ra=null;function Vh(i,o){var c=Fa(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 V0(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,ca=i,Wr=Ja(o.firstChild),!0):!1;case 6:return o=i.pendingProps===""||o.nodeType!==3?null:o,o!==null?(i.stateNode=o,ca=i,Wr=null,!0):!1;case 13:return o=o.nodeType!==8?null:o,o!==null?(c=ka!==null?{id:ir,overflow:zi}:null,i.memoizedState={dehydrated:o,treeContext:c,retryLane:1073741824},c=Fa(18,null,null,0),c.stateNode=o,c.return=i,i.child=c,ca=i,Wr=null,!0):!1;default:return!1}}function id(i){return(i.mode&1)!==0&&(i.flags&128)===0}function od(i){if(en){var o=Wr;if(o){var c=o;if(!V0(i,o)){if(id(i))throw Error(a(418));o=Ja(c.nextSibling);var m=ca;o&&V0(i,o)?Vh(m,c):(i.flags=i.flags&-4097|2,en=!1,ca=i)}}else{if(id(i))throw Error(a(418));i.flags=i.flags&-4097|2,en=!1,ca=i}}}function Y0(i){for(i=i.return;i!==null&&i.tag!==5&&i.tag!==3&&i.tag!==13;)i=i.return;ca=i}function ud(i){if(i!==ca)return!1;if(!en)return Y0(i),en=!0,!1;var o;if((o=i.tag!==3)&&!(o=i.tag!==5)&&(o=i.type,o=o!=="head"&&o!=="body"&&!Ol(i.type,i.memoizedProps)),o&&(o=Wr)){if(id(i))throw W0(),Error(a(418));for(;o;)Vh(i,o),o=Ja(o.nextSibling)}if(Y0(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){Wr=Ja(i.nextSibling);break e}o--}else c!=="$"&&c!=="$!"&&c!=="$?"||o++}i=i.nextSibling}Wr=null}}else Wr=ca?Ja(i.stateNode.nextSibling):null;return!0}function W0(){for(var i=Wr;i;)i=Ja(i.nextSibling)}function fn(){Wr=ca=null,en=!1}function Yh(i){Ra===null?Ra=[i]:Ra.push(i)}var sd=Z.ReactCurrentBatchConfig;function iu(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 w=m,x=""+i;return o!==null&&o.ref!==null&&typeof o.ref=="function"&&o.ref._stringRef===x?o.ref:(o=function(N){var H=w.refs;N===null?delete H[x]:H[x]=N},o._stringRef=x,o)}if(typeof i!="string")throw Error(a(284));if(!c._owner)throw Error(a(290,i))}return i}function mi(i,o){throw i=Object.prototype.toString.call(o),Error(a(31,i==="[object Object]"?"object with keys {"+Object.keys(o).join(", ")+"}":i))}function q0(i){var o=i._init;return o(i._payload)}function ld(i){function o(ee,Q){if(i){var ae=ee.deletions;ae===null?(ee.deletions=[Q],ee.flags|=16):ae.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 w(ee,Q){return ee=Ro(ee,Q),ee.index=0,ee.sibling=null,ee}function x(ee,Q,ae){return ee.index=ae,i?(ae=ee.alternate,ae!==null?(ae=ae.index,ae<Q?(ee.flags|=2,Q):ae):(ee.flags|=2,Q)):(ee.flags|=1048576,Q)}function N(ee){return i&&ee.alternate===null&&(ee.flags|=2),ee}function H(ee,Q,ae,Ae){return Q===null||Q.tag!==6?(Q=Xd(ae,ee.mode,Ae),Q.return=ee,Q):(Q=w(Q,ae),Q.return=ee,Q)}function Y(ee,Q,ae,Ae){var Xe=ae.type;return Xe===ce?be(ee,Q,ae.props.children,Ae,ae.key):Q!==null&&(Q.elementType===Xe||typeof Xe=="object"&&Xe!==null&&Xe.$$typeof===je&&q0(Xe)===Q.type)?(Ae=w(Q,ae.props),Ae.ref=iu(ee,Q,ae),Ae.return=ee,Ae):(Ae=$d(ae.type,ae.key,ae.props,null,ee.mode,Ae),Ae.ref=iu(ee,Q,ae),Ae.return=ee,Ae)}function ue(ee,Q,ae,Ae){return Q===null||Q.tag!==4||Q.stateNode.containerInfo!==ae.containerInfo||Q.stateNode.implementation!==ae.implementation?(Q=ec(ae,ee.mode,Ae),Q.return=ee,Q):(Q=w(Q,ae.children||[]),Q.return=ee,Q)}function be(ee,Q,ae,Ae,Xe){return Q===null||Q.tag!==7?(Q=bu(ae,ee.mode,Ae,Xe),Q.return=ee,Q):(Q=w(Q,ae),Q.return=ee,Q)}function xe(ee,Q,ae){if(typeof Q=="string"&&Q!==""||typeof Q=="number")return Q=Xd(""+Q,ee.mode,ae),Q.return=ee,Q;if(typeof Q=="object"&&Q!==null){switch(Q.$$typeof){case J:return ae=$d(Q.type,Q.key,Q.props,null,ee.mode,ae),ae.ref=iu(ee,null,Q),ae.return=ee,ae;case X:return Q=ec(Q,ee.mode,ae),Q.return=ee,Q;case je:var Ae=Q._init;return xe(ee,Ae(Q._payload),ae)}if(si(Q)||De(Q))return Q=bu(Q,ee.mode,ae,null),Q.return=ee,Q;mi(ee,Q)}return null}function ye(ee,Q,ae,Ae){var Xe=Q!==null?Q.key:null;if(typeof ae=="string"&&ae!==""||typeof ae=="number")return Xe!==null?null:H(ee,Q,""+ae,Ae);if(typeof ae=="object"&&ae!==null){switch(ae.$$typeof){case J:return ae.key===Xe?Y(ee,Q,ae,Ae):null;case X:return ae.key===Xe?ue(ee,Q,ae,Ae):null;case je:return Xe=ae._init,ye(ee,Q,Xe(ae._payload),Ae)}if(si(ae)||De(ae))return Xe!==null?null:be(ee,Q,ae,Ae,null);mi(ee,ae)}return null}function Ue(ee,Q,ae,Ae,Xe){if(typeof Ae=="string"&&Ae!==""||typeof Ae=="number")return ee=ee.get(ae)||null,H(Q,ee,""+Ae,Xe);if(typeof Ae=="object"&&Ae!==null){switch(Ae.$$typeof){case J:return ee=ee.get(Ae.key===null?ae:Ae.key)||null,Y(Q,ee,Ae,Xe);case X:return ee=ee.get(Ae.key===null?ae:Ae.key)||null,ue(Q,ee,Ae,Xe);case je:var it=Ae._init;return Ue(ee,Q,ae,it(Ae._payload),Xe)}if(si(Ae)||De(Ae))return ee=ee.get(ae)||null,be(Q,ee,Ae,Xe,null);mi(Q,Ae)}return null}function Ve(ee,Q,ae,Ae){for(var Xe=null,it=null,Ye=Q,ot=Q=0,Vn=null;Ye!==null&&ot<ae.length;ot++){Ye.index>ot?(Vn=Ye,Ye=null):Vn=Ye.sibling;var Mt=ye(ee,Ye,ae[ot],Ae);if(Mt===null){Ye===null&&(Ye=Vn);break}i&&Ye&&Mt.alternate===null&&o(ee,Ye),Q=x(Mt,Q,ot),it===null?Xe=Mt:it.sibling=Mt,it=Mt,Ye=Vn}if(ot===ae.length)return c(ee,Ye),en&&la(ee,ot),Xe;if(Ye===null){for(;ot<ae.length;ot++)Ye=xe(ee,ae[ot],Ae),Ye!==null&&(Q=x(Ye,Q,ot),it===null?Xe=Ye:it.sibling=Ye,it=Ye);return en&&la(ee,ot),Xe}for(Ye=m(ee,Ye);ot<ae.length;ot++)Vn=Ue(Ye,ee,ot,ae[ot],Ae),Vn!==null&&(i&&Vn.alternate!==null&&Ye.delete(Vn.key===null?ot:Vn.key),Q=x(Vn,Q,ot),it===null?Xe=Vn:it.sibling=Vn,it=Vn);return i&&Ye.forEach(function($i){return o(ee,$i)}),en&&la(ee,ot),Xe}function Qe(ee,Q,ae,Ae){var Xe=De(ae);if(typeof Xe!="function")throw Error(a(150));if(ae=Xe.call(ae),ae==null)throw Error(a(151));for(var it=Xe=null,Ye=Q,ot=Q=0,Vn=null,Mt=ae.next();Ye!==null&&!Mt.done;ot++,Mt=ae.next()){Ye.index>ot?(Vn=Ye,Ye=null):Vn=Ye.sibling;var $i=ye(ee,Ye,Mt.value,Ae);if($i===null){Ye===null&&(Ye=Vn);break}i&&Ye&&$i.alternate===null&&o(ee,Ye),Q=x($i,Q,ot),it===null?Xe=$i:it.sibling=$i,it=$i,Ye=Vn}if(Mt.done)return c(ee,Ye),en&&la(ee,ot),Xe;if(Ye===null){for(;!Mt.done;ot++,Mt=ae.next())Mt=xe(ee,Mt.value,Ae),Mt!==null&&(Q=x(Mt,Q,ot),it===null?Xe=Mt:it.sibling=Mt,it=Mt);return en&&la(ee,ot),Xe}for(Ye=m(ee,Ye);!Mt.done;ot++,Mt=ae.next())Mt=Ue(Ye,ee,ot,Mt.value,Ae),Mt!==null&&(i&&Mt.alternate!==null&&Ye.delete(Mt.key===null?ot:Mt.key),Q=x(Mt,Q,ot),it===null?Xe=Mt:it.sibling=Mt,it=Mt);return i&&Ye.forEach(function(By){return o(ee,By)}),en&&la(ee,ot),Xe}function An(ee,Q,ae,Ae){if(typeof ae=="object"&&ae!==null&&ae.type===ce&&ae.key===null&&(ae=ae.props.children),typeof ae=="object"&&ae!==null){switch(ae.$$typeof){case J:e:{for(var Xe=ae.key,it=Q;it!==null;){if(it.key===Xe){if(Xe=ae.type,Xe===ce){if(it.tag===7){c(ee,it.sibling),Q=w(it,ae.props.children),Q.return=ee,ee=Q;break e}}else if(it.elementType===Xe||typeof Xe=="object"&&Xe!==null&&Xe.$$typeof===je&&q0(Xe)===it.type){c(ee,it.sibling),Q=w(it,ae.props),Q.ref=iu(ee,it,ae),Q.return=ee,ee=Q;break e}c(ee,it);break}else o(ee,it);it=it.sibling}ae.type===ce?(Q=bu(ae.props.children,ee.mode,Ae,ae.key),Q.return=ee,ee=Q):(Ae=$d(ae.type,ae.key,ae.props,null,ee.mode,Ae),Ae.ref=iu(ee,Q,ae),Ae.return=ee,ee=Ae)}return N(ee);case X:e:{for(it=ae.key;Q!==null;){if(Q.key===it)if(Q.tag===4&&Q.stateNode.containerInfo===ae.containerInfo&&Q.stateNode.implementation===ae.implementation){c(ee,Q.sibling),Q=w(Q,ae.children||[]),Q.return=ee,ee=Q;break e}else{c(ee,Q);break}else o(ee,Q);Q=Q.sibling}Q=ec(ae,ee.mode,Ae),Q.return=ee,ee=Q}return N(ee);case je:return it=ae._init,An(ee,Q,it(ae._payload),Ae)}if(si(ae))return Ve(ee,Q,ae,Ae);if(De(ae))return Qe(ee,Q,ae,Ae);mi(ee,ae)}return typeof ae=="string"&&ae!==""||typeof ae=="number"?(ae=""+ae,Q!==null&&Q.tag===6?(c(ee,Q.sibling),Q=w(Q,ae),Q.return=ee,ee=Q):(c(ee,Q),Q=Xd(ae,ee.mode,Ae),Q.return=ee,ee=Q),N(ee)):c(ee,Q)}return An}var ts=ld(!0),Q0=ld(!1),ji=gt(null),Bn=null,Le=null,Na=null;function da(){Na=Le=Bn=null}function Wh(i){var o=ji.current;Bt(ji),i._currentValue=o}function qh(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 ns(i,o){Bn=i,Na=Le=null,i=i.dependencies,i!==null&&i.firstContext!==null&&(i.lanes&o&&($r=!0),i.firstContext=null)}function Da(i){var o=i._currentValue;if(Na!==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 ou=null;function In(i){ou===null?ou=[i]:ou.push(i)}function $0(i,o,c,m){var w=o.interleaved;return w===null?(c.next=c,In(o)):(c.next=w.next,w.next=c),o.interleaved=c,Vi(i,m)}function Vi(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 cd(i){i.updateQueue={baseState:i.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function rs(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 xo(i,o,c){var m=i.updateQueue;if(m===null)return null;if(m=m.shared,St&2){var w=m.pending;return w===null?o.next=o:(o.next=w.next,w.next=o),m.pending=o,Vi(i,c)}return w=m.interleaved,w===null?(o.next=o,In(m)):(o.next=w.next,w.next=o),m.interleaved=o,Vi(i,c)}function dd(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,pl(i,c)}}function G0(i,o){var c=i.updateQueue,m=i.alternate;if(m!==null&&(m=m.updateQueue,c===m)){var w=null,x=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};x===null?w=x=N:x=x.next=N,c=c.next}while(c!==null);x===null?w=x=o:x=x.next=o}else w=x=o;c={baseState:m.baseState,firstBaseUpdate:w,lastBaseUpdate:x,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 fd(i,o,c,m){var w=i.updateQueue;To=!1;var x=w.firstBaseUpdate,N=w.lastBaseUpdate,H=w.shared.pending;if(H!==null){w.shared.pending=null;var Y=H,ue=Y.next;Y.next=null,N===null?x=ue:N.next=ue,N=Y;var be=i.alternate;be!==null&&(be=be.updateQueue,H=be.lastBaseUpdate,H!==N&&(H===null?be.firstBaseUpdate=ue:H.next=ue,be.lastBaseUpdate=Y))}if(x!==null){var xe=w.baseState;N=0,be=ue=Y=null,H=x;do{var ye=H.lane,Ue=H.eventTime;if((m&ye)===ye){be!==null&&(be=be.next={eventTime:Ue,lane:0,tag:H.tag,payload:H.payload,callback:H.callback,next:null});e:{var Ve=i,Qe=H;switch(ye=o,Ue=c,Qe.tag){case 1:if(Ve=Qe.payload,typeof Ve=="function"){xe=Ve.call(Ue,xe,ye);break e}xe=Ve;break e;case 3:Ve.flags=Ve.flags&-65537|128;case 0:if(Ve=Qe.payload,ye=typeof Ve=="function"?Ve.call(Ue,xe,ye):Ve,ye==null)break e;xe=P({},xe,ye);break e;case 2:To=!0}}H.callback!==null&&H.lane!==0&&(i.flags|=64,ye=w.effects,ye===null?w.effects=[H]:ye.push(H))}else Ue={eventTime:Ue,lane:ye,tag:H.tag,payload:H.payload,callback:H.callback,next:null},be===null?(ue=be=Ue,Y=xe):be=be.next=Ue,N|=ye;if(H=H.next,H===null){if(H=w.shared.pending,H===null)break;ye=H,H=ye.next,ye.next=null,w.lastBaseUpdate=ye,w.shared.pending=null}}while(!0);if(be===null&&(Y=xe),w.baseState=Y,w.firstBaseUpdate=ue,w.lastBaseUpdate=be,o=w.shared.interleaved,o!==null){w=o;do N|=w.lane,w=w.next;while(w!==o)}else x===null&&(w.shared.lanes=0);gu|=N,i.lanes=N,i.memoizedState=xe}}function X0(i,o,c){if(i=o.effects,o.effects=null,i!==null)for(o=0;o<i.length;o++){var m=i[o],w=m.callback;if(w!==null){if(m.callback=null,m=c,typeof w!="function")throw Error(a(191,w));w.call(m)}}}var Fl={},ei=gt(Fl),as=gt(Fl),Ul=gt(Fl);function uu(i){if(i===Fl)throw Error(a(174));return i}function Qh(i,o){switch(zt(Ul,o),zt(as,i),zt(ei,Fl),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(ei),zt(ei,o)}function is(){Bt(ei),Bt(as),Bt(Ul)}function K0(i){uu(Ul.current);var o=uu(ei.current),c=Ce(o,i.type);o!==c&&(zt(as,i),zt(ei,c))}function $h(i){as.current===i&&(Bt(ei),Bt(as))}var un=gt(0);function hd(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 pd=[];function Gh(){for(var i=0;i<pd.length;i++)pd[i]._workInProgressVersionPrimary=null;pd.length=0}var md=Z.ReactCurrentDispatcher,Bl=Z.ReactCurrentBatchConfig,Ge=0,Ke=null,ct=null,wt=null,fa=!1,os=!1,Hl=0,Ty=0;function Er(){throw Error(a(321))}function zl(i,o){if(o===null)return!1;for(var c=0;c<o.length&&c<i.length;c++)if(!Sa(i[c],o[c]))return!1;return!0}function ve(i,o,c,m,w,x){if(Ge=x,Ke=o,o.memoizedState=null,o.updateQueue=null,o.lanes=0,md.current=i===null||i.memoizedState===null?xy:Zt,i=c(m,w),os){x=0;do{if(os=!1,Hl=0,25<=x)throw Error(a(301));x+=1,wt=ct=null,o.updateQueue=null,md.current=Nd,i=c(m,w)}while(os)}if(md.current=br,o=ct!==null&&ct.next!==null,Ge=0,wt=ct=Ke=null,fa=!1,o)throw Error(a(300));return i}function Mn(){var i=Hl!==0;return Hl=0,i}function Je(){var i={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return wt===null?Ke.memoizedState=wt=i:wt=wt.next=i,wt}function or(){if(ct===null){var i=Ke.alternate;i=i!==null?i.memoizedState:null}else i=ct.next;var o=wt===null?Ke.memoizedState:wt.next;if(o!==null)wt=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},wt===null?Ke.memoizedState=wt=i:wt=wt.next=i}return wt}function ha(i,o){return typeof o=="function"?o(i):o}function Yi(i){var o=or(),c=o.queue;if(c===null)throw Error(a(311));c.lastRenderedReducer=i;var m=ct,w=m.baseQueue,x=c.pending;if(x!==null){if(w!==null){var N=w.next;w.next=x.next,x.next=N}m.baseQueue=w=x,c.pending=null}if(w!==null){x=w.next,m=m.baseState;var H=N=null,Y=null,ue=x;do{var be=ue.lane;if((Ge&be)===be)Y!==null&&(Y=Y.next={lane:0,action:ue.action,hasEagerState:ue.hasEagerState,eagerState:ue.eagerState,next:null}),m=ue.hasEagerState?ue.eagerState:i(m,ue.action);else{var xe={lane:be,action:ue.action,hasEagerState:ue.hasEagerState,eagerState:ue.eagerState,next:null};Y===null?(H=Y=xe,N=m):Y=Y.next=xe,Ke.lanes|=be,gu|=be}ue=ue.next}while(ue!==null&&ue!==x);Y===null?N=m:Y.next=H,Sa(m,o.memoizedState)||($r=!0),o.memoizedState=m,o.baseState=N,o.baseQueue=Y,c.lastRenderedState=m}if(i=c.interleaved,i!==null){w=i;do x=w.lane,Ke.lanes|=x,gu|=x,w=w.next;while(w!==i)}else w===null&&(c.lanes=0);return[o.memoizedState,c.dispatch]}function Oa(i){var o=or(),c=o.queue;if(c===null)throw Error(a(311));c.lastRenderedReducer=i;var m=c.dispatch,w=c.pending,x=o.memoizedState;if(w!==null){c.pending=null;var N=w=w.next;do x=i(x,N.action),N=N.next;while(N!==w);Sa(x,o.memoizedState)||($r=!0),o.memoizedState=x,o.baseQueue===null&&(o.baseState=x),c.lastRenderedState=x}return[x,m]}function us(){}function su(i,o){var c=Ke,m=or(),w=o(),x=!Sa(m.memoizedState,w);if(x&&(m.memoizedState=w,$r=!0),m=m.queue,jl(vd.bind(null,c,m,i),[i]),m.getSnapshot!==o||x||wt!==null&&wt.memoizedState.tag&1){if(c.flags|=2048,lu(9,gd.bind(null,c,m,w,o),void 0,null),Tn===null)throw Error(a(349));Ge&30||ss(c,o,w)}return w}function ss(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 gd(i,o,c,m){o.value=c,o.getSnapshot=m,yd(o)&&Ed(i)}function vd(i,o,c){return c(function(){yd(o)&&Ed(i)})}function yd(i){var o=i.getSnapshot;i=i.value;try{var c=o();return!Sa(i,c)}catch{return!0}}function Ed(i){var o=Vi(i,1);o!==null&&hn(o,i,1,-1)}function bd(i){var o=Je();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=Vl.bind(null,Ke,i),[o.memoizedState,i]}function lu(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 wd(){return or().memoizedState}function ls(i,o,c,m){var w=Je();Ke.flags|=i,w.memoizedState=lu(1|o,c,void 0,m===void 0?null:m)}function cs(i,o,c,m){var w=or();m=m===void 0?null:m;var x=void 0;if(ct!==null){var N=ct.memoizedState;if(x=N.destroy,m!==null&&zl(m,N.deps)){w.memoizedState=lu(o,c,x,m);return}}Ke.flags|=i,w.memoizedState=lu(1|o,c,x,m)}function Td(i,o){return ls(8390656,8,i,o)}function jl(i,o){return cs(2048,8,i,o)}function xd(i,o){return cs(4,2,i,o)}function Sd(i,o){return cs(4,4,i,o)}function Cd(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 _d(i,o,c){return c=c!=null?c.concat([i]):null,cs(4,4,Cd.bind(null,o,i),c)}function ds(){}function cu(i,o){var c=or();o=o===void 0?null:o;var m=c.memoizedState;return m!==null&&o!==null&&zl(o,m[1])?m[0]:(c.memoizedState=[i,o],i)}function Ad(i,o){var c=or();o=o===void 0?null:o;var m=c.memoizedState;return m!==null&&o!==null&&zl(o,m[1])?m[0]:(i=i(),c.memoizedState=[i,o],i)}function kd(i,o,c){return Ge&21?(Sa(c,o)||(c=Uc(),Ke.lanes|=c,gu|=c,i.baseState=!0),o):(i.baseState&&(i.baseState=!1,$r=!0),i.memoizedState=c)}function Xh(i,o){var c=Vt;Vt=c!==0&&4>c?c:4,i(!0);var m=Bl.transition;Bl.transition={};try{i(!1),o()}finally{Vt=c,Bl.transition=m}}function Rd(){return or().memoizedState}function Z0(i,o,c){var m=Qi(i);if(c={lane:m,action:c,hasEagerState:!1,eagerState:null,next:null},Kh(i))fs(o,c);else if(c=$0(i,o,c,m),c!==null){var w=er();hn(c,i,m,w),So(c,o,m)}}function Vl(i,o,c){var m=Qi(i),w={lane:m,action:c,hasEagerState:!1,eagerState:null,next:null};if(Kh(i))fs(o,w);else{var x=i.alternate;if(i.lanes===0&&(x===null||x.lanes===0)&&(x=o.lastRenderedReducer,x!==null))try{var N=o.lastRenderedState,H=x(N,c);if(w.hasEagerState=!0,w.eagerState=H,Sa(H,N)){var Y=o.interleaved;Y===null?(w.next=w,In(o)):(w.next=Y.next,Y.next=w),o.interleaved=w;return}}catch{}finally{}c=$0(i,o,w,m),c!==null&&(w=er(),hn(c,i,m,w),So(c,o,m))}}function Kh(i){var o=i.alternate;return i===Ke||o!==null&&o===Ke}function fs(i,o){os=fa=!0;var c=i.pending;c===null?o.next=o:(o.next=c.next,c.next=o),i.pending=o}function So(i,o,c){if(c&4194240){var m=o.lanes;m&=i.pendingLanes,c|=m,o.lanes=c,pl(i,c)}}var br={readContext:Da,useCallback:Er,useContext:Er,useEffect:Er,useImperativeHandle:Er,useInsertionEffect:Er,useLayoutEffect:Er,useMemo:Er,useReducer:Er,useRef:Er,useState:Er,useDebugValue:Er,useDeferredValue:Er,useTransition:Er,useMutableSource:Er,useSyncExternalStore:Er,useId:Er,unstable_isNewReconciler:!1},xy={readContext:Da,useCallback:function(i,o){return Je().memoizedState=[i,o===void 0?null:o],i},useContext:Da,useEffect:Td,useImperativeHandle:function(i,o,c){return c=c!=null?c.concat([i]):null,ls(4194308,4,Cd.bind(null,o,i),c)},useLayoutEffect:function(i,o){return ls(4194308,4,i,o)},useInsertionEffect:function(i,o){return ls(4,2,i,o)},useMemo:function(i,o){var c=Je();return o=o===void 0?null:o,i=i(),c.memoizedState=[i,o],i},useReducer:function(i,o,c){var m=Je();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=Z0.bind(null,Ke,i),[m.memoizedState,i]},useRef:function(i){var o=Je();return i={current:i},o.memoizedState=i},useState:bd,useDebugValue:ds,useDeferredValue:function(i){return Je().memoizedState=i},useTransition:function(){var i=bd(!1),o=i[0];return i=Xh.bind(null,i[1]),Je().memoizedState=i,[o,i]},useMutableSource:function(){},useSyncExternalStore:function(i,o,c){var m=Ke,w=Je();if(en){if(c===void 0)throw Error(a(407));c=c()}else{if(c=o(),Tn===null)throw Error(a(349));Ge&30||ss(m,o,c)}w.memoizedState=c;var x={value:c,getSnapshot:o};return w.queue=x,Td(vd.bind(null,m,x,i),[i]),m.flags|=2048,lu(9,gd.bind(null,m,x,c,o),void 0,null),c},useId:function(){var i=Je(),o=Tn.identifierPrefix;if(en){var c=zi,m=ir;c=(m&~(1<<32-wa(m)-1)).toString(32)+c,o=":"+o+"R"+c,c=Hl++,0<c&&(o+="H"+c.toString(32)),o+=":"}else c=Ty++,o=":"+o+"r"+c.toString(32)+":";return i.memoizedState=o},unstable_isNewReconciler:!1},Zt={readContext:Da,useCallback:cu,useContext:Da,useEffect:jl,useImperativeHandle:_d,useInsertionEffect:xd,useLayoutEffect:Sd,useMemo:Ad,useReducer:Yi,useRef:wd,useState:function(){return Yi(ha)},useDebugValue:ds,useDeferredValue:function(i){var o=or();return kd(o,ct.memoizedState,i)},useTransition:function(){var i=Yi(ha)[0],o=or().memoizedState;return[i,o]},useMutableSource:us,useSyncExternalStore:su,useId:Rd,unstable_isNewReconciler:!1},Nd={readContext:Da,useCallback:cu,useContext:Da,useEffect:jl,useImperativeHandle:_d,useInsertionEffect:xd,useLayoutEffect:Sd,useMemo:Ad,useReducer:Oa,useRef:wd,useState:function(){return Oa(ha)},useDebugValue:ds,useDeferredValue:function(i){var o=or();return ct===null?o.memoizedState=i:kd(o,ct.memoizedState,i)},useTransition:function(){var i=Oa(ha)[0],o=or().memoizedState;return[i,o]},useMutableSource:us,useSyncExternalStore:su,useId:Rd,unstable_isNewReconciler:!1};function Qr(i,o){if(i&&i.defaultProps){o=P({},o),i=i.defaultProps;for(var c in i)o[c]===void 0&&(o[c]=i[c]);return o}return o}function du(i,o,c,m){o=i.memoizedState,c=c(m,o),c=c==null?o:P({},o,c),i.memoizedState=c,i.lanes===0&&(i.updateQueue.baseState=c)}var fu={isMounted:function(i){return(i=i._reactInternals)?fi(i)===i:!1},enqueueSetState:function(i,o,c){i=i._reactInternals;var m=er(),w=Qi(i),x=qr(m,w);x.payload=o,c!=null&&(x.callback=c),o=xo(i,x,w),o!==null&&(hn(o,i,w,m),dd(o,i,w))},enqueueReplaceState:function(i,o,c){i=i._reactInternals;var m=er(),w=Qi(i),x=qr(m,w);x.tag=1,x.payload=o,c!=null&&(x.callback=c),o=xo(i,x,w),o!==null&&(hn(o,i,w,m),dd(o,i,w))},enqueueForceUpdate:function(i,o){i=i._reactInternals;var c=er(),m=Qi(i),w=qr(c,m);w.tag=2,o!=null&&(w.callback=o),o=xo(i,w,m),o!==null&&(hn(o,i,m,c),dd(o,i,m))}};function J0(i,o,c,m,w,x,N){return i=i.stateNode,typeof i.shouldComponentUpdate=="function"?i.shouldComponentUpdate(m,x,N):o.prototype&&o.prototype.isPureReactComponent?!Cl(c,m)||!Cl(w,x):!0}function eg(i,o,c){var m=!1,w=pi,x=o.contextType;return typeof x=="object"&&x!==null?x=Da(x):(w=on(o)?zr:lt.current,m=o.contextTypes,x=(m=m!=null)?_a(i,w):pi),o=new o(c,x),i.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,o.updater=fu,i.stateNode=o,o._reactInternals=i,m&&(i=i.stateNode,i.__reactInternalMemoizedUnmaskedChildContext=w,i.__reactInternalMemoizedMaskedChildContext=x),o}function tg(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&&fu.enqueueReplaceState(o,o.state,null)}function Zh(i,o,c,m){var w=i.stateNode;w.props=c,w.state=i.memoizedState,w.refs={},cd(i);var x=o.contextType;typeof x=="object"&&x!==null?w.context=Da(x):(x=on(o)?zr:lt.current,w.context=_a(i,x)),w.state=i.memoizedState,x=o.getDerivedStateFromProps,typeof x=="function"&&(du(i,o,x,c),w.state=i.memoizedState),typeof o.getDerivedStateFromProps=="function"||typeof w.getSnapshotBeforeUpdate=="function"||typeof w.UNSAFE_componentWillMount!="function"&&typeof w.componentWillMount!="function"||(o=w.state,typeof w.componentWillMount=="function"&&w.componentWillMount(),typeof w.UNSAFE_componentWillMount=="function"&&w.UNSAFE_componentWillMount(),o!==w.state&&fu.enqueueReplaceState(w,w.state,null),fd(i,c,w,m),w.state=i.memoizedState),typeof w.componentDidMount=="function"&&(i.flags|=4194308)}function Co(i,o){try{var c="",m=o;do c+=Qn(m),m=m.return;while(m);var w=c}catch(x){w=`
|
|
59
59
|
Error generating stack: `+x.message+`
|
|
60
|
-
`+x.stack}return{value:i,source:o,stack:w,digest:null}}function Jh(i,o,c){return{value:i,source:null,stack:c??null,digest:o??null}}function Yl(i,o){try{console.error(o.value)}catch(c){setTimeout(function(){throw c})}}var ng=typeof WeakMap=="function"?WeakMap:Map;function rg(i,o,c){c=qr(-1,c),c.tag=3,c.payload={element:null};var m=o.value;return c.callback=function(){jd||(jd=!0,sp=m),Yl(i,o)},c}function ag(i,o,c){c=qr(-1,c),c.tag=3;var m=i.type.getDerivedStateFromError;if(typeof m=="function"){var w=o.value;c.payload=function(){return m(w)},c.callback=function(){Yl(i,o)}}var x=i.stateNode;return x!==null&&typeof x.componentDidCatch=="function"&&(c.callback=function(){Yl(i,o),typeof m!="function"&&(Ma===null?Ma=new Set([this]):Ma.add(this));var N=o.stack;this.componentDidCatch(o.value,{componentStack:N!==null?N:""})}),c}function Wl(i,o,c){var m=i.pingCache;if(m===null){m=i.pingCache=new ng;var w=new Set;m.set(o,w)}else w=m.get(o),w===void 0&&(w=new Set,m.set(o,w));w.has(c)||(w.add(c),i=Ly.bind(null,i,o,c),o.then(i,i))}function ig(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 ep(i,o,c,m,w){return i.mode&1?(i.flags|=65536,i.lanes=w,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,xo(c,o,1))),c.lanes|=1),i)}var og=Z.ReactCurrentOwner,$r=!1;function Cn(i,o,c,m){o.child=i===null?Q0(o,null,c,m):ts(o,i.child,c,m)}function hs(i,o,c,m,w){c=c.render;var x=o.ref;return ns(o,w),m=ve(i,o,c,m,x,w),c=Mn(),i!==null&&!$r?(o.updateQueue=i.updateQueue,o.flags&=-2053,i.lanes&=~w,_n(i,o,w)):(en&&c&&ad(o),o.flags|=1,Cn(i,o,m,w),o.child)}function _o(i,o,c,m,w){if(i===null){var x=c.type;return typeof x=="function"&&!hp(x)&&x.defaultProps===void 0&&c.compare===null&&c.defaultProps===void 0?(o.tag=15,o.type=x,Dd(i,o,x,m,w)):(i=$d(c.type,null,m,o,o.mode,w),i.ref=o.ref,i.return=o,o.child=i)}if(x=i.child,!(i.lanes&w)){var N=x.memoizedProps;if(c=c.compare,c=c!==null?c:Cl,c(N,m)&&i.ref===o.ref)return _n(i,o,w)}return o.flags|=1,i=Ro(x,m),i.ref=o.ref,i.return=o,o.child=i}function Dd(i,o,c,m,w){if(i!==null){var x=i.memoizedProps;if(Cl(x,m)&&i.ref===o.ref)if($r=!1,o.pendingProps=m=x,(i.lanes&w)!==0)i.flags&131072&&($r=!0);else return o.lanes=i.lanes,_n(i,o,w)}return mt(i,o,c,m,w)}function Gr(i,o,c){var m=o.pendingProps,w=m.children,x=i!==null?i.memoizedState:null;if(m.mode==="hidden")if(!(o.mode&1))o.memoizedState={baseLanes:0,cachePool:null,transitions:null},zt(xs,Xr),Xr|=c;else{if(!(c&1073741824))return i=x!==null?x.baseLanes|c:c,o.lanes=o.childLanes=1073741824,o.memoizedState={baseLanes:i,cachePool:null,transitions:null},o.updateQueue=null,zt(xs,Xr),Xr|=i,null;o.memoizedState={baseLanes:0,cachePool:null,transitions:null},m=x!==null?x.baseLanes:c,zt(xs,Xr),Xr|=m}else x!==null?(m=x.baseLanes|c,o.memoizedState=null):m=c,zt(xs,Xr),Xr|=m;return Cn(i,o,w,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 mt(i,o,c,m,w){var x=on(c)?zr:lt.current;return x=_a(o,x),ns(o,w),c=ve(i,o,c,m,x,w),m=Mn(),i!==null&&!$r?(o.updateQueue=i.updateQueue,o.flags&=-2053,i.lanes&=~w,_n(i,o,w)):(en&&m&&ad(o),o.flags|=1,Cn(i,o,c,w),o.child)}function ql(i,o,c,m,w){if(on(c)){var x=!0;rd(o)}else x=!1;if(ns(o,w),o.stateNode===null)$l(i,o),eg(o,c,m),Zh(o,c,m,w),m=!0;else if(i===null){var N=o.stateNode,H=o.memoizedProps;N.props=H;var Y=N.context,ue=c.contextType;typeof ue=="object"&&ue!==null?ue=Da(ue):(ue=on(c)?zr:lt.current,ue=_a(o,ue));var be=c.getDerivedStateFromProps,xe=typeof be=="function"||typeof N.getSnapshotBeforeUpdate=="function";xe||typeof N.UNSAFE_componentWillReceiveProps!="function"&&typeof N.componentWillReceiveProps!="function"||(H!==m||Y!==ue)&&tg(o,N,m,ue),To=!1;var ye=o.memoizedState;N.state=ye,fd(o,m,N,w),Y=o.memoizedState,H!==m||ye!==Y||bn.current||To?(typeof be=="function"&&(du(o,c,be,m),Y=o.memoizedState),(H=To||J0(o,c,H,m,ye,Y,ue))?(xe||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=ue,m=H):(typeof N.componentDidMount=="function"&&(o.flags|=4194308),m=!1)}else{N=o.stateNode,rs(i,o),H=o.memoizedProps,ue=o.type===o.elementType?H:Qr(o.type,H),N.props=ue,xe=o.pendingProps,ye=N.context,Y=c.contextType,typeof Y=="object"&&Y!==null?Y=Da(Y):(Y=on(c)?zr:lt.current,Y=_a(o,Y));var Ue=c.getDerivedStateFromProps;(be=typeof Ue=="function"||typeof N.getSnapshotBeforeUpdate=="function")||typeof N.UNSAFE_componentWillReceiveProps!="function"&&typeof N.componentWillReceiveProps!="function"||(H!==xe||ye!==Y)&&tg(o,N,m,Y),To=!1,ye=o.memoizedState,N.state=ye,fd(o,m,N,w);var Ve=o.memoizedState;H!==xe||ye!==Ve||bn.current||To?(typeof Ue=="function"&&(du(o,c,Ue,m),Ve=o.memoizedState),(ue=To||J0(o,c,ue,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"||H===i.memoizedProps&&ye===i.memoizedState||(o.flags|=4),typeof N.getSnapshotBeforeUpdate!="function"||H===i.memoizedProps&&ye===i.memoizedState||(o.flags|=1024),o.memoizedProps=m,o.memoizedState=Ve),N.props=m,N.state=Ve,N.context=Y,m=ue):(typeof N.componentDidUpdate!="function"||H===i.memoizedProps&&ye===i.memoizedState||(o.flags|=4),typeof N.getSnapshotBeforeUpdate!="function"||H===i.memoizedProps&&ye===i.memoizedState||(o.flags|=1024),m=!1)}return Od(i,o,c,m,x,w)}function Od(i,o,c,m,w,x){hu(i,o);var N=(o.flags&128)!==0;if(!m&&!N)return w&&j0(o,c,!1),_n(i,o,x);m=o.stateNode,og.current=o;var H=N&&typeof c.getDerivedStateFromError!="function"?null:m.render();return o.flags|=1,i!==null&&N?(o.child=ts(o,i.child,null,x),o.child=ts(o,null,H,x)):Cn(i,o,H,x),o.memoizedState=m.state,w&&j0(o,c,!0),o.child}function Sy(i){var o=i.stateNode;o.pendingContext?bo(i,o.pendingContext,o.pendingContext!==o.context):o.context&&bo(i,o.context,!1),Qh(i,o.containerInfo)}function ug(i,o,c,m,w){return fn(),Yh(w),o.flags|=256,Cn(i,o,c,m),o.child}var Ql={dehydrated:null,treeContext:null,retryLane:0};function pu(i){return{baseLanes:i,cachePool:null,transitions:null}}function sg(i,o,c){var m=o.pendingProps,w=un.current,x=!1,N=(o.flags&128)!==0,H;if((H=N)||(H=i!==null&&i.memoizedState===null?!1:(w&2)!==0),H?(x=!0,o.flags&=-129):(i===null||i.memoizedState!==null)&&(w|=1),zt(un,w&1),i===null)return od(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,x?(m=o.mode,x=o.child,N={mode:"hidden",children:N},!(m&1)&&x!==null?(x.childLanes=0,x.pendingProps=N):x=Gd(N,m,0,null),i=bu(i,m,c,null),x.return=o,i.return=o,x.sibling=i,o.child=x,o.child.memoizedState=pu(c),o.memoizedState=Ql,i):Ld(o,N));if(w=i.memoizedState,w!==null&&(H=w.dehydrated,H!==null))return tp(i,o,N,m,H,w,c);if(x){x=m.fallback,N=o.mode,w=i.child,H=w.sibling;var Y={mode:"hidden",children:m.children};return!(N&1)&&o.child!==w?(m=o.child,m.childLanes=0,m.pendingProps=Y,o.deletions=null):(m=Ro(w,Y),m.subtreeFlags=w.subtreeFlags&14680064),H!==null?x=Ro(H,x):(x=bu(x,N,c,null),x.flags|=2),x.return=o,m.return=o,m.sibling=x,o.child=m,m=x,x=o.child,N=i.child.memoizedState,N=N===null?pu(c):{baseLanes:N.baseLanes|c,cachePool:null,transitions:N.transitions},x.memoizedState=N,x.childLanes=i.childLanes&~c,o.memoizedState=Ql,m}return x=i.child,i=x.sibling,m=Ro(x,{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 Ld(i,o){return o=Gd({mode:"visible",children:o},i.mode,0,null),o.return=i,i.child=o}function Id(i,o,c,m){return m!==null&&Yh(m),ts(o,i.child,null,c),i=Ld(o,o.pendingProps.children),i.flags|=2,o.memoizedState=null,i}function tp(i,o,c,m,w,x,N){if(c)return o.flags&256?(o.flags&=-257,m=Jh(Error(a(422))),Id(i,o,N,m)):o.memoizedState!==null?(o.child=i.child,o.flags|=128,null):(x=m.fallback,w=o.mode,m=Gd({mode:"visible",children:m.children},w,0,null),x=bu(x,w,N,null),x.flags|=2,m.return=o,x.return=o,m.sibling=x,o.child=m,o.mode&1&&ts(o,i.child,null,N),o.child.memoizedState=pu(N),o.memoizedState=Ql,x);if(!(o.mode&1))return Id(i,o,N,null);if(w.data==="$!"){if(m=w.nextSibling&&w.nextSibling.dataset,m)var H=m.dgst;return m=H,x=Error(a(419)),m=Jh(x,m,void 0),Id(i,o,N,m)}if(H=(N&i.childLanes)!==0,$r||H){if(m=Tn,m!==null){switch(N&-N){case 4:w=2;break;case 16:w=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:w=32;break;case 536870912:w=268435456;break;default:w=0}w=w&(m.suspendedLanes|N)?0:w,w!==0&&w!==x.retryLane&&(x.retryLane=w,Vi(i,w),hn(m,i,w,-1))}return Jl(),m=Jh(Error(a(421))),Id(i,o,N,m)}return w.data==="$?"?(o.flags|=128,o.child=i.child,o=fp.bind(null,i),w._reactRetry=o,null):(i=x.treeContext,Wr=Ja(w.nextSibling),ca=o,en=!0,Ra=null,i!==null&&(Yr[yr++]=ir,Yr[yr++]=zi,Yr[yr++]=ka,ir=i.id,zi=i.overflow,ka=o),o=Ld(o,m.children),o.flags|=4096,o)}function lg(i,o,c){i.lanes|=o;var m=i.alternate;m!==null&&(m.lanes|=o),qh(i.return,o,c)}function Md(i,o,c,m,w){var x=i.memoizedState;x===null?i.memoizedState={isBackwards:o,rendering:null,renderingStartTime:0,last:m,tail:c,tailMode:w}:(x.isBackwards=o,x.rendering=null,x.renderingStartTime=0,x.last=m,x.tail=c,x.tailMode=w)}function np(i,o,c){var m=o.pendingProps,w=m.revealOrder,x=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&&lg(i,c,o);else if(i.tag===19)lg(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(w){case"forwards":for(c=o.child,w=null;c!==null;)i=c.alternate,i!==null&&hd(i)===null&&(w=c),c=c.sibling;c=w,c===null?(w=o.child,o.child=null):(w=c.sibling,c.sibling=null),Md(o,!1,w,c,x);break;case"backwards":for(c=null,w=o.child,o.child=null;w!==null;){if(i=w.alternate,i!==null&&hd(i)===null){o.child=w;break}i=w.sibling,w.sibling=c,c=w,w=i}Md(o,!0,c,null,x);break;case"together":Md(o,!1,null,null,void 0);break;default:o.memoizedState=null}return o.child}function $l(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),gu|=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=Ro(i,i.pendingProps),o.child=c,c.return=o;i.sibling!==null;)i=i.sibling,c=c.sibling=Ro(i,i.pendingProps),c.return=o;c.sibling=null}return o.child}function Wi(i,o,c){switch(o.tag){case 3:Sy(o),fn();break;case 5:K0(o);break;case 1:on(o.type)&&rd(o);break;case 4:Qh(o,o.stateNode.containerInfo);break;case 10:var m=o.type._context,w=o.memoizedProps.value;zt(ji,m._currentValue),m._currentValue=w;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?sg(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 np(i,o,c);o.flags|=128}if(w=o.memoizedState,w!==null&&(w.rendering=null,w.tail=null,w.lastEffect=null),zt(un,un.current),m)break;return null;case 22:case 23:return o.lanes=0,Gr(i,o,c)}return _n(i,o,c)}var gi,ps,ms,La;gi=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}},ps=function(){},ms=function(i,o,c,m){var w=i.memoizedProps;if(w!==m){i=o.stateNode,uu(ei.current);var x=null;switch(c){case"input":w=Fn(i,w),m=Fn(i,m),x=[];break;case"select":w=P({},w,{value:void 0}),m=P({},m,{value:void 0}),x=[];break;case"textarea":w=Di(i,w),m=Di(i,m),x=[];break;default:typeof w.onClick!="function"&&typeof m.onClick=="function"&&(i.onclick=nd)}Ht(c,m);var N;c=null;for(ue in w)if(!m.hasOwnProperty(ue)&&w.hasOwnProperty(ue)&&w[ue]!=null)if(ue==="style"){var H=w[ue];for(N in H)H.hasOwnProperty(N)&&(c||(c={}),c[N]="")}else ue!=="dangerouslySetInnerHTML"&&ue!=="children"&&ue!=="suppressContentEditableWarning"&&ue!=="suppressHydrationWarning"&&ue!=="autoFocus"&&(f.hasOwnProperty(ue)?x||(x=[]):(x=x||[]).push(ue,null));for(ue in m){var Y=m[ue];if(H=w!=null?w[ue]:void 0,m.hasOwnProperty(ue)&&Y!==H&&(Y!=null||H!=null))if(ue==="style")if(H){for(N in H)!H.hasOwnProperty(N)||Y&&Y.hasOwnProperty(N)||(c||(c={}),c[N]="");for(N in Y)Y.hasOwnProperty(N)&&H[N]!==Y[N]&&(c||(c={}),c[N]=Y[N])}else c||(x||(x=[]),x.push(ue,c)),c=Y;else ue==="dangerouslySetInnerHTML"?(Y=Y?Y.__html:void 0,H=H?H.__html:void 0,Y!=null&&H!==Y&&(x=x||[]).push(ue,Y)):ue==="children"?typeof Y!="string"&&typeof Y!="number"||(x=x||[]).push(ue,""+Y):ue!=="suppressContentEditableWarning"&&ue!=="suppressHydrationWarning"&&(f.hasOwnProperty(ue)?(Y!=null&&ue==="onScroll"&&Xt("scroll",i),x||H===Y||(x=[])):(x=x||[]).push(ue,Y))}c&&(x=x||[]).push("style",c);var ue=x;(o.updateQueue=ue)&&(o.flags|=4)}},La=function(i,o,c,m){c!==m&&(o.flags|=4)};function wn(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 wr(i){var o=i.alternate!==null&&i.alternate.child===i.child,c=0,m=0;if(o)for(var w=i.child;w!==null;)c|=w.lanes|w.childLanes,m|=w.subtreeFlags&14680064,m|=w.flags&14680064,w.return=i,w=w.sibling;else for(w=i.child;w!==null;)c|=w.lanes|w.childLanes,m|=w.subtreeFlags,m|=w.flags,w.return=i,w=w.sibling;return i.subtreeFlags|=m,i.childLanes=c,o}function Cy(i,o,c){var m=o.pendingProps;switch(jh(o),o.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return wr(o),null;case 1:return on(o.type)&&Aa(),wr(o),null;case 3:return m=o.stateNode,is(),Bt(bn),Bt(lt),Gh(),m.pendingContext&&(m.context=m.pendingContext,m.pendingContext=null),(i===null||i.child===null)&&(ud(o)?o.flags|=4:i===null||i.memoizedState.isDehydrated&&!(o.flags&256)||(o.flags|=1024,Ra!==null&&(lp(Ra),Ra=null))),ps(i,o),wr(o),null;case 5:$h(o);var w=uu(Ul.current);if(c=o.type,i!==null&&o.stateNode!=null)ms(i,o,c,m,w),i.ref!==o.ref&&(o.flags|=512,o.flags|=2097152);else{if(!m){if(o.stateNode===null)throw Error(a(166));return wr(o),null}if(i=uu(ei.current),ud(o)){m=o.stateNode,c=o.type;var x=o.memoizedProps;switch(m[hi]=o,m[ru]=x,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(w=0;w<Rl.length;w++)Xt(Rl[w],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":ar(m,x),Xt("invalid",m);break;case"select":m._wrapperState={wasMultiple:!!x.multiple},Xt("invalid",m);break;case"textarea":oa(m,x),Xt("invalid",m)}Ht(c,x),w=null;for(var N in x)if(x.hasOwnProperty(N)){var H=x[N];N==="children"?typeof H=="string"?m.textContent!==H&&(x.suppressHydrationWarning!==!0&&td(m.textContent,H,i),w=["children",H]):typeof H=="number"&&m.textContent!==""+H&&(x.suppressHydrationWarning!==!0&&td(m.textContent,H,i),w=["children",""+H]):f.hasOwnProperty(N)&&H!=null&&N==="onScroll"&&Xt("scroll",m)}switch(c){case"input":Nn(m),ia(m,x,!0);break;case"textarea":Nn(m),ba(m);break;case"select":case"option":break;default:typeof x.onClick=="function"&&(m.onclick=nd)}m=w,o.updateQueue=m,m!==null&&(o.flags|=4)}else{N=w.nodeType===9?w:w.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[ru]=m,gi(i,o,!1,!1),o.stateNode=i;e:{switch(N=Kt(c,m),c){case"dialog":Xt("cancel",i),Xt("close",i),w=m;break;case"iframe":case"object":case"embed":Xt("load",i),w=m;break;case"video":case"audio":for(w=0;w<Rl.length;w++)Xt(Rl[w],i);w=m;break;case"source":Xt("error",i),w=m;break;case"img":case"image":case"link":Xt("error",i),Xt("load",i),w=m;break;case"details":Xt("toggle",i),w=m;break;case"input":ar(i,m),w=Fn(i,m),Xt("invalid",i);break;case"option":w=m;break;case"select":i._wrapperState={wasMultiple:!!m.multiple},w=P({},m,{value:void 0}),Xt("invalid",i);break;case"textarea":oa(i,m),w=Di(i,m),Xt("invalid",i);break;default:w=m}Ht(c,w),H=w;for(x in H)if(H.hasOwnProperty(x)){var Y=H[x];x==="style"?It(i,Y):x==="dangerouslySetInnerHTML"?(Y=Y?Y.__html:void 0,Y!=null&&vt(i,Y)):x==="children"?typeof Y=="string"?(c!=="textarea"||Y!=="")&&_t(i,Y):typeof Y=="number"&&_t(i,""+Y):x!=="suppressContentEditableWarning"&&x!=="suppressHydrationWarning"&&x!=="autoFocus"&&(f.hasOwnProperty(x)?Y!=null&&x==="onScroll"&&Xt("scroll",i):Y!=null&&W(i,x,Y,N))}switch(c){case"input":Nn(i),ia(i,m,!1);break;case"textarea":Nn(i),ba(i);break;case"option":m.value!=null&&i.setAttribute("value",""+dn(m.value));break;case"select":i.multiple=!!m.multiple,x=m.value,x!=null?li(i,!!m.multiple,x,!1):m.defaultValue!=null&&li(i,!!m.multiple,m.defaultValue,!0);break;default:typeof w.onClick=="function"&&(i.onclick=nd)}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 wr(o),null;case 6:if(i&&o.stateNode!=null)La(i,o,i.memoizedProps,m);else{if(typeof m!="string"&&o.stateNode===null)throw Error(a(166));if(c=uu(Ul.current),uu(ei.current),ud(o)){if(m=o.stateNode,c=o.memoizedProps,m[hi]=o,(x=m.nodeValue!==c)&&(i=ca,i!==null))switch(i.tag){case 3:td(m.nodeValue,c,(i.mode&1)!==0);break;case 5:i.memoizedProps.suppressHydrationWarning!==!0&&td(m.nodeValue,c,(i.mode&1)!==0)}x&&(o.flags|=4)}else m=(c.nodeType===9?c:c.ownerDocument).createTextNode(m),m[hi]=o,o.stateNode=m}return wr(o),null;case 13:if(Bt(un),m=o.memoizedState,i===null||i.memoizedState!==null&&i.memoizedState.dehydrated!==null){if(en&&Wr!==null&&o.mode&1&&!(o.flags&128))W0(),fn(),o.flags|=98560,x=!1;else if(x=ud(o),m!==null&&m.dehydrated!==null){if(i===null){if(!x)throw Error(a(318));if(x=o.memoizedState,x=x!==null?x.dehydrated:null,!x)throw Error(a(317));x[hi]=o}else fn(),!(o.flags&128)&&(o.memoizedState=null),o.flags|=4;wr(o),x=!1}else Ra!==null&&(lp(Ra),Ra=null),x=!0;if(!x)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):Jl())),o.updateQueue!==null&&(o.flags|=4),wr(o),null);case 4:return is(),ps(i,o),i===null&&Zu(o.stateNode.containerInfo),wr(o),null;case 10:return Wh(o.type._context),wr(o),null;case 17:return on(o.type)&&Aa(),wr(o),null;case 19:if(Bt(un),x=o.memoizedState,x===null)return wr(o),null;if(m=(o.flags&128)!==0,N=x.rendering,N===null)if(m)wn(x,!1);else{if(zn!==0||i!==null&&i.flags&128)for(i=o.child;i!==null;){if(N=hd(i),N!==null){for(o.flags|=128,wn(x,!1),m=N.updateQueue,m!==null&&(o.updateQueue=m,o.flags|=4),o.subtreeFlags=0,m=c,c=o.child;c!==null;)x=c,i=m,x.flags&=14680066,N=x.alternate,N===null?(x.childLanes=0,x.lanes=i,x.child=null,x.subtreeFlags=0,x.memoizedProps=null,x.memoizedState=null,x.updateQueue=null,x.dependencies=null,x.stateNode=null):(x.childLanes=N.childLanes,x.lanes=N.lanes,x.child=N.child,x.subtreeFlags=0,x.deletions=null,x.memoizedProps=N.memoizedProps,x.memoizedState=N.memoizedState,x.updateQueue=N.updateQueue,x.type=N.type,i=N.dependencies,x.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}x.tail!==null&&En()>Cs&&(o.flags|=128,m=!0,wn(x,!1),o.lanes=4194304)}else{if(!m)if(i=hd(N),i!==null){if(o.flags|=128,m=!0,c=i.updateQueue,c!==null&&(o.updateQueue=c,o.flags|=4),wn(x,!0),x.tail===null&&x.tailMode==="hidden"&&!N.alternate&&!en)return wr(o),null}else 2*En()-x.renderingStartTime>Cs&&c!==1073741824&&(o.flags|=128,m=!0,wn(x,!1),o.lanes=4194304);x.isBackwards?(N.sibling=o.child,o.child=N):(c=x.last,c!==null?c.sibling=N:o.child=N,x.last=N)}return x.tail!==null?(o=x.tail,x.rendering=o,x.tail=o.sibling,x.renderingStartTime=En(),o.sibling=null,c=un.current,zt(un,m?c&1|2:c&1),o):(wr(o),null);case 22:case 23:return qd(),m=o.memoizedState!==null,i!==null&&i.memoizedState!==null!==m&&(o.flags|=8192),m&&o.mode&1?Xr&1073741824&&(wr(o),o.subtreeFlags&6&&(o.flags|=8192)):wr(o),null;case 24:return null;case 25:return null}throw Error(a(156,o.tag))}function _y(i,o){switch(jh(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 is(),Bt(bn),Bt(lt),Gh(),i=o.flags,i&65536&&!(i&128)?(o.flags=i&-65537|128,o):null;case 5:return $h(o),null;case 13:if(Bt(un),i=o.memoizedState,i!==null&&i.dehydrated!==null){if(o.alternate===null)throw Error(a(340));fn()}return i=o.flags,i&65536?(o.flags=i&-65537|128,o):null;case 19:return Bt(un),null;case 4:return is(),null;case 10:return Wh(o.type._context),null;case 22:case 23:return qd(),null;case 24:return null;default:return null}}var gs=!1,ur=!1,Pd=typeof WeakSet=="function"?WeakSet:Set,ze=null;function vs(i,o){var c=i.ref;if(c!==null)if(typeof c=="function")try{c(null)}catch(m){xn(i,o,m)}else c.current=null}function rp(i,o,c){try{c()}catch(m){xn(i,o,m)}}var Fd=!1;function Ay(i,o){if(Ih=Xo,i=Xc(),Fi(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 w=m.anchorOffset,x=m.focusNode;m=m.focusOffset;try{c.nodeType,x.nodeType}catch{c=null;break e}var N=0,H=-1,Y=-1,ue=0,be=0,xe=i,ye=null;t:for(;;){for(var Ue;xe!==c||w!==0&&xe.nodeType!==3||(H=N+w),xe!==x||m!==0&&xe.nodeType!==3||(Y=N+m),xe.nodeType===3&&(N+=xe.nodeValue.length),(Ue=xe.firstChild)!==null;)ye=xe,xe=Ue;for(;;){if(xe===i)break t;if(ye===c&&++ue===w&&(H=N),ye===x&&++be===m&&(Y=N),(Ue=xe.nextSibling)!==null)break;xe=ye,ye=xe.parentNode}xe=Ue}c=H===-1||Y===-1?null:{start:H,end:Y}}else c=null}c=c||{start:0,end:0}}else c=null;for(tu={focusedElem:i,selectionRange:c},Xo=!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,An=Ve.memoizedState,ee=o.stateNode,Q=ee.getSnapshotBeforeUpdate(o.elementType===o.type?Qe:Qr(o.type,Qe),An);ee.__reactInternalSnapshotBeforeUpdate=Q}break;case 3:var ae=o.stateNode.containerInfo;ae.nodeType===1?ae.textContent="":ae.nodeType===9&&ae.documentElement&&ae.removeChild(ae.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(a(163))}}catch(Ae){xn(o,o.return,Ae)}if(i=o.sibling,i!==null){i.return=o.return,ze=i;break}ze=o.return}return Ve=Fd,Fd=!1,Ve}function ys(i,o,c){var m=o.updateQueue;if(m=m!==null?m.lastEffect:null,m!==null){var w=m=m.next;do{if((w.tag&i)===i){var x=w.destroy;w.destroy=void 0,x!==void 0&&rp(o,c,x)}w=w.next}while(w!==m)}}function Ud(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 Bd(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 cg(i){var o=i.alternate;o!==null&&(i.alternate=null,cg(o)),i.child=null,i.deletions=null,i.sibling=null,i.tag===5&&(o=i.stateNode,o!==null&&(delete o[hi],delete o[ru],delete o[Fh],delete o[wy],delete o[Uh])),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 ap(i){return i.tag===5||i.tag===3||i.tag===4}function dg(i){e:for(;;){for(;i.sibling===null;){if(i.return===null||ap(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 Gl(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=nd));else if(m!==4&&(i=i.child,i!==null))for(Gl(i,o,c),i=i.sibling;i!==null;)Gl(i,o,c),i=i.sibling}function Es(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(Es(i,o,c),i=i.sibling;i!==null;)Es(i,o,c),i=i.sibling}var sn=null,Zn=!1;function kr(i,o,c){for(c=c.child;c!==null;)bs(i,o,c),c=c.sibling}function bs(i,o,c){if($a&&typeof $a.onCommitFiberUnmount=="function")try{$a.onCommitFiberUnmount(hl,c)}catch{}switch(c.tag){case 5:ur||vs(c,o);case 6:var m=sn,w=Zn;sn=null,kr(i,o,c),sn=m,Zn=w,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?vo(i.parentNode,c):i.nodeType===1&&vo(i,c),yl(i)):vo(sn,c.stateNode));break;case 4:m=sn,w=Zn,sn=c.stateNode.containerInfo,Zn=!0,kr(i,o,c),sn=m,Zn=w;break;case 0:case 11:case 14:case 15:if(!ur&&(m=c.updateQueue,m!==null&&(m=m.lastEffect,m!==null))){w=m=m.next;do{var x=w,N=x.destroy;x=x.tag,N!==void 0&&(x&2||x&4)&&rp(c,o,N),w=w.next}while(w!==m)}kr(i,o,c);break;case 1:if(!ur&&(vs(c,o),m=c.stateNode,typeof m.componentWillUnmount=="function"))try{m.props=c.memoizedProps,m.state=c.memoizedState,m.componentWillUnmount()}catch(H){xn(c,o,H)}kr(i,o,c);break;case 21:kr(i,o,c);break;case 22:c.mode&1?(ur=(m=ur)||c.memoizedState!==null,kr(i,o,c),ur=m):kr(i,o,c);break;default:kr(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 Pd),o.forEach(function(m){var w=Iy.bind(null,i,m);c.has(m)||(c.add(m),m.then(w,w))})}}function Jn(i,o){var c=o.deletions;if(c!==null)for(var m=0;m<c.length;m++){var w=c[m];try{var x=i,N=o,H=N;e:for(;H!==null;){switch(H.tag){case 5:sn=H.stateNode,Zn=!1;break e;case 3:sn=H.stateNode.containerInfo,Zn=!0;break e;case 4:sn=H.stateNode.containerInfo,Zn=!0;break e}H=H.return}if(sn===null)throw Error(a(160));bs(x,N,w),sn=null,Zn=!1;var Y=w.alternate;Y!==null&&(Y.return=null),w.return=null}catch(ue){xn(w,o,ue)}}if(o.subtreeFlags&12854)for(o=o.child;o!==null;)fg(o,i),o=o.sibling}function fg(i,o){var c=i.alternate,m=i.flags;switch(i.tag){case 0:case 11:case 14:case 15:if(Jn(o,i),vi(i),m&4){try{ys(3,i,i.return),Ud(3,i)}catch(Qe){xn(i,i.return,Qe)}try{ys(5,i,i.return)}catch(Qe){xn(i,i.return,Qe)}}break;case 1:Jn(o,i),vi(i),m&512&&c!==null&&vs(c,c.return);break;case 5:if(Jn(o,i),vi(i),m&512&&c!==null&&vs(c,c.return),i.flags&32){var w=i.stateNode;try{_t(w,"")}catch(Qe){xn(i,i.return,Qe)}}if(m&4&&(w=i.stateNode,w!=null)){var x=i.memoizedProps,N=c!==null?c.memoizedProps:x,H=i.type,Y=i.updateQueue;if(i.updateQueue=null,Y!==null)try{H==="input"&&x.type==="radio"&&x.name!=null&&gr(w,x),Kt(H,N);var ue=Kt(H,x);for(N=0;N<Y.length;N+=2){var be=Y[N],xe=Y[N+1];be==="style"?It(w,xe):be==="dangerouslySetInnerHTML"?vt(w,xe):be==="children"?_t(w,xe):W(w,be,xe,ue)}switch(H){case"input":$n(w,x);break;case"textarea":ci(w,x);break;case"select":var ye=w._wrapperState.wasMultiple;w._wrapperState.wasMultiple=!!x.multiple;var Ue=x.value;Ue!=null?li(w,!!x.multiple,Ue,!1):ye!==!!x.multiple&&(x.defaultValue!=null?li(w,!!x.multiple,x.defaultValue,!0):li(w,!!x.multiple,x.multiple?[]:"",!1))}w[ru]=x}catch(Qe){xn(i,i.return,Qe)}}break;case 6:if(Jn(o,i),vi(i),m&4){if(i.stateNode===null)throw Error(a(162));w=i.stateNode,x=i.memoizedProps;try{w.nodeValue=x}catch(Qe){xn(i,i.return,Qe)}}break;case 3:if(Jn(o,i),vi(i),m&4&&c!==null&&c.memoizedState.isDehydrated)try{yl(o.containerInfo)}catch(Qe){xn(i,i.return,Qe)}break;case 4:Jn(o,i),vi(i);break;case 13:Jn(o,i),vi(i),w=i.child,w.flags&8192&&(x=w.memoizedState!==null,w.stateNode.isHidden=x,!x||w.alternate!==null&&w.alternate.memoizedState!==null||(zd=En())),m&4&&ws(i);break;case 22:if(be=c!==null&&c.memoizedState!==null,i.mode&1?(ur=(ue=ur)||be,Jn(o,i),ur=ue):Jn(o,i),vi(i),m&8192){if(ue=i.memoizedState!==null,(i.stateNode.isHidden=ue)&&!be&&i.mode&1)for(ze=i,be=i.child;be!==null;){for(xe=ze=be;ze!==null;){switch(ye=ze,Ue=ye.child,ye.tag){case 0:case 11:case 14:case 15:ys(4,ye,ye.return);break;case 1:vs(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){xn(m,c,Qe)}}break;case 5:vs(ye,ye.return);break;case 22:if(ye.memoizedState!==null){hg(xe);continue}}Ue!==null?(Ue.return=ye,ze=Ue):hg(xe)}be=be.sibling}e:for(be=null,xe=i;;){if(xe.tag===5){if(be===null){be=xe;try{w=xe.stateNode,ue?(x=w.style,typeof x.setProperty=="function"?x.setProperty("display","none","important"):x.display="none"):(H=xe.stateNode,Y=xe.memoizedProps.style,N=Y!=null&&Y.hasOwnProperty("display")?Y.display:null,H.style.display=dt("display",N))}catch(Qe){xn(i,i.return,Qe)}}}else if(xe.tag===6){if(be===null)try{xe.stateNode.nodeValue=ue?"":xe.memoizedProps}catch(Qe){xn(i,i.return,Qe)}}else if((xe.tag!==22&&xe.tag!==23||xe.memoizedState===null||xe===i)&&xe.child!==null){xe.child.return=xe,xe=xe.child;continue}if(xe===i)break e;for(;xe.sibling===null;){if(xe.return===null||xe.return===i)break e;be===xe&&(be=null),xe=xe.return}be===xe&&(be=null),xe.sibling.return=xe.return,xe=xe.sibling}}break;case 19:Jn(o,i),vi(i),m&4&&ws(i);break;case 21:break;default:Jn(o,i),vi(i)}}function vi(i){var o=i.flags;if(o&2){try{e:{for(var c=i.return;c!==null;){if(ap(c)){var m=c;break e}c=c.return}throw Error(a(160))}switch(m.tag){case 5:var w=m.stateNode;m.flags&32&&(_t(w,""),m.flags&=-33);var x=dg(i);Es(i,x,w);break;case 3:case 4:var N=m.stateNode.containerInfo,H=dg(i);Gl(i,H,N);break;default:throw Error(a(161))}}catch(Y){xn(i,i.return,Y)}i.flags&=-3}o&4096&&(i.flags&=-4097)}function ky(i,o,c){ze=i,ip(i)}function ip(i,o,c){for(var m=(i.mode&1)!==0;ze!==null;){var w=ze,x=w.child;if(w.tag===22&&m){var N=w.memoizedState!==null||gs;if(!N){var H=w.alternate,Y=H!==null&&H.memoizedState!==null||ur;H=gs;var ue=ur;if(gs=N,(ur=Y)&&!ue)for(ze=w;ze!==null;)N=ze,Y=N.child,N.tag===22&&N.memoizedState!==null?op(w):Y!==null?(Y.return=N,ze=Y):op(w);for(;x!==null;)ze=x,ip(x),x=x.sibling;ze=w,gs=H,ur=ue}Ts(i)}else w.subtreeFlags&8772&&x!==null?(x.return=w,ze=x):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:ur||Ud(5,o);break;case 1:var m=o.stateNode;if(o.flags&4&&!ur)if(c===null)m.componentDidMount();else{var w=o.elementType===o.type?c.memoizedProps:Qr(o.type,c.memoizedProps);m.componentDidUpdate(w,c.memoizedState,m.__reactInternalSnapshotBeforeUpdate)}var x=o.updateQueue;x!==null&&X0(o,x,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}X0(o,N,c)}break;case 5:var H=o.stateNode;if(c===null&&o.flags&4){c=H;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 ue=o.alternate;if(ue!==null){var be=ue.memoizedState;if(be!==null){var xe=be.dehydrated;xe!==null&&yl(xe)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(a(163))}ur||o.flags&512&&Bd(o)}catch(ye){xn(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 hg(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 op(i){for(;ze!==null;){var o=ze;try{switch(o.tag){case 0:case 11:case 15:var c=o.return;try{Ud(4,o)}catch(Y){xn(o,c,Y)}break;case 1:var m=o.stateNode;if(typeof m.componentDidMount=="function"){var w=o.return;try{m.componentDidMount()}catch(Y){xn(o,w,Y)}}var x=o.return;try{Bd(o)}catch(Y){xn(o,x,Y)}break;case 5:var N=o.return;try{Bd(o)}catch(Y){xn(o,N,Y)}}}catch(Y){xn(o,o.return,Y)}if(o===i){ze=null;break}var H=o.sibling;if(H!==null){H.return=o.return,ze=H;break}ze=o.return}}var Ry=Math.ceil,mu=Z.ReactCurrentDispatcher,Hd=Z.ReactCurrentOwner,Ia=Z.ReactCurrentBatchConfig,St=0,Tn=null,tn=null,Hn=0,Xr=0,xs=gt(0),zn=0,Xl=null,gu=0,Ss=0,up=0,Ao=null,Tr=null,zd=0,Cs=1/0,qi=null,jd=!1,sp=null,Ma=null,_s=!1,Pa=null,Vd=0,Kl=0,Yd=null,Zl=-1,vu=0;function er(){return St&6?En():Zl!==-1?Zl:Zl=En()}function Qi(i){return i.mode&1?St&2&&Hn!==0?Hn&-Hn:sd.transition!==null?(vu===0&&(vu=Uc()),vu):(i=Vt,i!==0||(i=window.event,i=i===void 0?16:ph(i.type)),i):1}function hn(i,o,c,m){if(50<Kl)throw Kl=0,Yd=null,Error(a(185));Go(i,c,m),(!(St&2)||i!==Tn)&&(i===Tn&&(!(St&2)&&(Ss|=c),zn===4&&yi(i,Hn)),jn(i,m),c===1&&St===0&&!(o.mode&1)&&(Cs=En()+500,Kn&&jr()))}function jn(i,o){var c=i.callbackNode;Fc(i,o);var m=Ga(i,i===Tn?Hn:0);if(m===0)c!==null&&Jm(c),i.callbackNode=null,i.callbackPriority=0;else if(o=m&-m,i.callbackPriority!==o){if(c!=null&&Jm(c),o===1)i.tag===0?Hh(As.bind(null,i)):Bh(As.bind(null,i)),Ph(function(){!(St&6)&&jr()}),c=null;else{switch(dh(m)){case 1:c=Li;break;case 4:c=xt;break;case 16:c=fo;break;case 536870912:c=uh;break;default:c=fo}c=wg(c,Wd.bind(null,i))}i.callbackPriority=o,i.callbackNode=c}}function Wd(i,o){if(Zl=-1,vu=0,St&6)throw Error(a(327));var c=i.callbackNode;if(ks()&&i.callbackNode!==c)return null;var m=Ga(i,i===Tn?Hn:0);if(m===0)return null;if(m&30||m&i.expiredLanes||o)o=Qd(i,m);else{o=m;var w=St;St|=2;var x=mg();(Tn!==i||Hn!==o)&&(qi=null,Cs=En()+500,Eu(i,o));do try{Dy();break}catch(H){pg(i,H)}while(!0);da(),mu.current=x,St=w,tn!==null?o=0:(Tn=null,Hn=0,o=zn)}if(o!==0){if(o===2&&(w=lh(i),w!==0&&(m=w,o=yu(i,w))),o===1)throw c=Xl,Eu(i,0),yi(i,m),jn(i,En()),c;if(o===6)yi(i,m);else{if(w=i.current.alternate,!(m&30)&&!cp(w)&&(o=Qd(i,m),o===2&&(x=lh(i),x!==0&&(m=x,o=yu(i,x))),o===1))throw c=Xl,Eu(i,0),yi(i,m),jn(i,En()),c;switch(i.finishedWork=w,i.finishedLanes=m,o){case 0:case 1:throw Error(a(345));case 2:ko(i,Tr,qi);break;case 3:if(yi(i,m),(m&130023424)===m&&(o=zd+500-En(),10<o)){if(Ga(i,0)!==0)break;if(w=i.suspendedLanes,(w&m)!==m){er(),i.pingedLanes|=i.suspendedLanes&w;break}i.timeoutHandle=nu(ko.bind(null,i,Tr,qi),o);break}ko(i,Tr,qi);break;case 4:if(yi(i,m),(m&4194240)===m)break;for(o=i.eventTimes,w=-1;0<m;){var N=31-wa(m);x=1<<N,N=o[N],N>w&&(w=N),m&=~x}if(m=w,m=En()-m,m=(120>m?120:480>m?480:1080>m?1080:1920>m?1920:3e3>m?3e3:4320>m?4320:1960*Ry(m/1960))-m,10<m){i.timeoutHandle=nu(ko.bind(null,i,Tr,qi),m);break}ko(i,Tr,qi);break;case 5:ko(i,Tr,qi);break;default:throw Error(a(329))}}}return jn(i,En()),i.callbackNode===c?Wd.bind(null,i):null}function yu(i,o){var c=Ao;return i.current.memoizedState.isDehydrated&&(Eu(i,o).flags|=256),i=Qd(i,o),i!==2&&(o=Tr,Tr=c,o!==null&&lp(o)),i}function lp(i){Tr===null?Tr=i:Tr.push.apply(Tr,i)}function cp(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 w=c[m],x=w.getSnapshot;w=w.value;try{if(!Sa(x(),w))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 yi(i,o){for(o&=~up,o&=~Ss,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(St&6)throw Error(a(327));ks();var o=Ga(i,0);if(!(o&1))return jn(i,En()),null;var c=Qd(i,o);if(i.tag!==0&&c===2){var m=lh(i);m!==0&&(o=m,c=yu(i,m))}if(c===1)throw c=Xl,Eu(i,0),yi(i,o),jn(i,En()),c;if(c===6)throw Error(a(345));return i.finishedWork=i.current.alternate,i.finishedLanes=o,ko(i,Tr,qi),jn(i,En()),null}function dp(i,o){var c=St;St|=1;try{return i(o)}finally{St=c,St===0&&(Cs=En()+500,Kn&&jr())}}function Ei(i){Pa!==null&&Pa.tag===0&&!(St&6)&&ks();var o=St;St|=1;var c=Ia.transition,m=Vt;try{if(Ia.transition=null,Vt=1,i)return i()}finally{Vt=m,Ia.transition=c,St=o,!(St&6)&&jr()}}function qd(){Xr=xs.current,Bt(xs)}function Eu(i,o){i.finishedWork=null,i.finishedLanes=0;var c=i.timeoutHandle;if(c!==-1&&(i.timeoutHandle=-1,z0(c)),tn!==null)for(c=tn.return;c!==null;){var m=c;switch(jh(m),m.tag){case 1:m=m.type.childContextTypes,m!=null&&Aa();break;case 3:is(),Bt(bn),Bt(lt),Gh();break;case 5:$h(m);break;case 4:is();break;case 13:Bt(un);break;case 19:Bt(un);break;case 10:Wh(m.type._context);break;case 22:case 23:qd()}c=c.return}if(Tn=i,tn=i=Ro(i.current,null),Hn=Xr=o,zn=0,Xl=null,up=Ss=gu=0,Tr=Ao=null,ou!==null){for(o=0;o<ou.length;o++)if(c=ou[o],m=c.interleaved,m!==null){c.interleaved=null;var w=m.next,x=c.pending;if(x!==null){var N=x.next;x.next=w,m.next=N}c.pending=m}ou=null}return i}function pg(i,o){do{var c=tn;try{if(da(),md.current=br,fa){for(var m=Ke.memoizedState;m!==null;){var w=m.queue;w!==null&&(w.pending=null),m=m.next}fa=!1}if(Ge=0,wt=ct=Ke=null,os=!1,Hl=0,Hd.current=null,c===null||c.return===null){zn=1,Xl=o,tn=null;break}e:{var x=i,N=c.return,H=c,Y=o;if(o=Hn,H.flags|=32768,Y!==null&&typeof Y=="object"&&typeof Y.then=="function"){var ue=Y,be=H,xe=be.tag;if(!(be.mode&1)&&(xe===0||xe===11||xe===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=ig(N);if(Ue!==null){Ue.flags&=-257,ep(Ue,N,H,x,o),Ue.mode&1&&Wl(x,ue,o),o=Ue,Y=ue;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)){Wl(x,ue,o),Jl();break e}Y=Error(a(426))}}else if(en&&H.mode&1){var An=ig(N);if(An!==null){!(An.flags&65536)&&(An.flags|=256),ep(An,N,H,x,o),Yh(Co(Y,H));break e}}x=Y=Co(Y,H),zn!==4&&(zn=2),Ao===null?Ao=[x]:Ao.push(x),x=N;do{switch(x.tag){case 3:x.flags|=65536,o&=-o,x.lanes|=o;var ee=rg(x,Y,o);G0(x,ee);break e;case 1:H=Y;var Q=x.type,ae=x.stateNode;if(!(x.flags&128)&&(typeof Q.getDerivedStateFromError=="function"||ae!==null&&typeof ae.componentDidCatch=="function"&&(Ma===null||!Ma.has(ae)))){x.flags|=65536,o&=-o,x.lanes|=o;var Ae=ag(x,H,o);G0(x,Ae);break e}}x=x.return}while(x!==null)}vg(c)}catch(Xe){o=Xe,tn===c&&c!==null&&(tn=c=c.return);continue}break}while(!0)}function mg(){var i=mu.current;return mu.current=br,i===null?br:i}function Jl(){(zn===0||zn===3||zn===2)&&(zn=4),Tn===null||!(gu&268435455)&&!(Ss&268435455)||yi(Tn,Hn)}function Qd(i,o){var c=St;St|=2;var m=mg();(Tn!==i||Hn!==o)&&(qi=null,Eu(i,o));do try{Ny();break}catch(w){pg(i,w)}while(!0);if(da(),St=c,mu.current=m,tn!==null)throw Error(a(261));return Tn=null,Hn=0,zn}function Ny(){for(;tn!==null;)gg(tn)}function Dy(){for(;tn!==null&&!J1();)gg(tn)}function gg(i){var o=bg(i.alternate,i,Xr);i.memoizedProps=i.pendingProps,o===null?vg(i):tn=o,Hd.current=null}function vg(i){var o=i;do{var c=o.alternate;if(i=o.return,o.flags&32768){if(c=_y(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=Cy(c,o,Xr),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 ko(i,o,c){var m=Vt,w=Ia.transition;try{Ia.transition=null,Vt=1,Oy(i,o,c,m)}finally{Ia.transition=w,Vt=m}return null}function Oy(i,o,c,m){do ks();while(Pa!==null);if(St&6)throw Error(a(327));c=i.finishedWork;var w=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 x=c.lanes|c.childLanes;if(ry(i,x),i===Tn&&(tn=Tn=null,Hn=0),!(c.subtreeFlags&2064)&&!(c.flags&2064)||_s||(_s=!0,wg(fo,function(){return ks(),null})),x=(c.flags&15990)!==0,c.subtreeFlags&15990||x){x=Ia.transition,Ia.transition=null;var N=Vt;Vt=1;var H=St;St|=4,Hd.current=null,Ay(i,c),fg(c,i),Kc(tu),Xo=!!Ih,tu=Ih=null,i.current=c,ky(c),ey(),St=H,Vt=N,Ia.transition=x}else i.current=c;if(_s&&(_s=!1,Pa=i,Vd=w),x=i.pendingLanes,x===0&&(Ma=null),t0(c.stateNode),jn(i,En()),o!==null)for(m=i.onRecoverableError,c=0;c<o.length;c++)w=o[c],m(w.value,{componentStack:w.stack,digest:w.digest});if(jd)throw jd=!1,i=sp,sp=null,i;return Vd&1&&i.tag!==0&&ks(),x=i.pendingLanes,x&1?i===Yd?Kl++:(Kl=0,Yd=i):Kl=0,jr(),null}function ks(){if(Pa!==null){var i=dh(Vd),o=Ia.transition,c=Vt;try{if(Ia.transition=null,Vt=16>i?16:i,Pa===null)var m=!1;else{if(i=Pa,Pa=null,Vd=0,St&6)throw Error(a(331));var w=St;for(St|=4,ze=i.current;ze!==null;){var x=ze,N=x.child;if(ze.flags&16){var H=x.deletions;if(H!==null){for(var Y=0;Y<H.length;Y++){var ue=H[Y];for(ze=ue;ze!==null;){var be=ze;switch(be.tag){case 0:case 11:case 15:ys(8,be,x)}var xe=be.child;if(xe!==null)xe.return=be,ze=xe;else for(;ze!==null;){be=ze;var ye=be.sibling,Ue=be.return;if(cg(be),be===ue){ze=null;break}if(ye!==null){ye.return=Ue,ze=ye;break}ze=Ue}}}var Ve=x.alternate;if(Ve!==null){var Qe=Ve.child;if(Qe!==null){Ve.child=null;do{var An=Qe.sibling;Qe.sibling=null,Qe=An}while(Qe!==null)}}ze=x}}if(x.subtreeFlags&2064&&N!==null)N.return=x,ze=N;else e:for(;ze!==null;){if(x=ze,x.flags&2048)switch(x.tag){case 0:case 11:case 15:ys(9,x,x.return)}var ee=x.sibling;if(ee!==null){ee.return=x.return,ze=ee;break e}ze=x.return}}var Q=i.current;for(ze=Q;ze!==null;){N=ze;var ae=N.child;if(N.subtreeFlags&2064&&ae!==null)ae.return=N,ze=ae;else e:for(N=Q;ze!==null;){if(H=ze,H.flags&2048)try{switch(H.tag){case 0:case 11:case 15:Ud(9,H)}}catch(Xe){xn(H,H.return,Xe)}if(H===N){ze=null;break e}var Ae=H.sibling;if(Ae!==null){Ae.return=H.return,ze=Ae;break e}ze=H.return}}if(St=w,jr(),$a&&typeof $a.onPostCommitFiberRoot=="function")try{$a.onPostCommitFiberRoot(hl,i)}catch{}m=!0}return m}finally{Vt=c,Ia.transition=o}}return!1}function yg(i,o,c){o=Co(c,o),o=rg(i,o,1),i=xo(i,o,1),o=er(),i!==null&&(Go(i,1,o),jn(i,o))}function xn(i,o,c){if(i.tag===3)yg(i,i,c);else for(;o!==null;){if(o.tag===3){yg(o,i,c);break}else if(o.tag===1){var m=o.stateNode;if(typeof o.type.getDerivedStateFromError=="function"||typeof m.componentDidCatch=="function"&&(Ma===null||!Ma.has(m))){i=Co(c,i),i=ag(o,i,1),o=xo(o,i,1),i=er(),o!==null&&(Go(o,1,i),jn(o,i));break}}o=o.return}}function Ly(i,o,c){var m=i.pingCache;m!==null&&m.delete(o),o=er(),i.pingedLanes|=i.suspendedLanes&c,Tn===i&&(Hn&c)===c&&(zn===4||zn===3&&(Hn&130023424)===Hn&&500>En()-zd?Eu(i,0):up|=c),jn(i,o)}function Eg(i,o){o===0&&(i.mode&1?(o=ju,ju<<=1,!(ju&130023424)&&(ju=4194304)):o=1);var c=er();i=Vi(i,o),i!==null&&(Go(i,o,c),jn(i,c))}function fp(i){var o=i.memoizedState,c=0;o!==null&&(c=o.retryLane),Eg(i,c)}function Iy(i,o){var c=0;switch(i.tag){case 13:var m=i.stateNode,w=i.memoizedState;w!==null&&(c=w.retryLane);break;case 19:m=i.stateNode;break;default:throw Error(a(314))}m!==null&&m.delete(o),Eg(i,c)}var bg;bg=function(i,o,c){if(i!==null)if(i.memoizedProps!==o.pendingProps||bn.current)$r=!0;else{if(!(i.lanes&c)&&!(o.flags&128))return $r=!1,Wi(i,o,c);$r=!!(i.flags&131072)}else $r=!1,en&&o.flags&1048576&&zh(o,es,o.index);switch(o.lanes=0,o.tag){case 2:var m=o.type;$l(i,o),i=o.pendingProps;var w=_a(o,lt.current);ns(o,c),w=ve(null,o,m,i,w,c);var x=Mn();return o.flags|=1,typeof w=="object"&&w!==null&&typeof w.render=="function"&&w.$$typeof===void 0?(o.tag=1,o.memoizedState=null,o.updateQueue=null,on(m)?(x=!0,rd(o)):x=!1,o.memoizedState=w.state!==null&&w.state!==void 0?w.state:null,cd(o),w.updater=fu,o.stateNode=w,w._reactInternals=o,Zh(o,m,i,c),o=Od(null,o,m,!0,x,c)):(o.tag=0,en&&x&&ad(o),Cn(null,o,w,c),o=o.child),o;case 16:m=o.elementType;e:{switch($l(i,o),i=o.pendingProps,w=m._init,m=w(m._payload),o.type=m,w=o.tag=My(m),i=Qr(m,i),w){case 0:o=mt(null,o,m,i,c);break e;case 1:o=ql(null,o,m,i,c);break e;case 11:o=hs(null,o,m,i,c);break e;case 14:o=_o(null,o,m,Qr(m.type,i),c);break e}throw Error(a(306,m,""))}return o;case 0:return m=o.type,w=o.pendingProps,w=o.elementType===m?w:Qr(m,w),mt(i,o,m,w,c);case 1:return m=o.type,w=o.pendingProps,w=o.elementType===m?w:Qr(m,w),ql(i,o,m,w,c);case 3:e:{if(Sy(o),i===null)throw Error(a(387));m=o.pendingProps,x=o.memoizedState,w=x.element,rs(i,o),fd(o,m,null,c);var N=o.memoizedState;if(m=N.element,x.isDehydrated)if(x={element:m,isDehydrated:!1,cache:N.cache,pendingSuspenseBoundaries:N.pendingSuspenseBoundaries,transitions:N.transitions},o.updateQueue.baseState=x,o.memoizedState=x,o.flags&256){w=Co(Error(a(423)),o),o=ug(i,o,m,c,w);break e}else if(m!==w){w=Co(Error(a(424)),o),o=ug(i,o,m,c,w);break e}else for(Wr=Ja(o.stateNode.containerInfo.firstChild),ca=o,en=!0,Ra=null,c=Q0(o,null,m,c),o.child=c;c;)c.flags=c.flags&-3|4096,c=c.sibling;else{if(fn(),m===w){o=_n(i,o,c);break e}Cn(i,o,m,c)}o=o.child}return o;case 5:return K0(o),i===null&&od(o),m=o.type,w=o.pendingProps,x=i!==null?i.memoizedProps:null,N=w.children,Ol(m,w)?N=null:x!==null&&Ol(m,x)&&(o.flags|=32),hu(i,o),Cn(i,o,N,c),o.child;case 6:return i===null&&od(o),null;case 13:return sg(i,o,c);case 4:return Qh(o,o.stateNode.containerInfo),m=o.pendingProps,i===null?o.child=ts(o,null,m,c):Cn(i,o,m,c),o.child;case 11:return m=o.type,w=o.pendingProps,w=o.elementType===m?w:Qr(m,w),hs(i,o,m,w,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,w=o.pendingProps,x=o.memoizedProps,N=w.value,zt(ji,m._currentValue),m._currentValue=N,x!==null)if(Sa(x.value,N)){if(x.children===w.children&&!bn.current){o=_n(i,o,c);break e}}else for(x=o.child,x!==null&&(x.return=o);x!==null;){var H=x.dependencies;if(H!==null){N=x.child;for(var Y=H.firstContext;Y!==null;){if(Y.context===m){if(x.tag===1){Y=qr(-1,c&-c),Y.tag=2;var ue=x.updateQueue;if(ue!==null){ue=ue.shared;var be=ue.pending;be===null?Y.next=Y:(Y.next=be.next,be.next=Y),ue.pending=Y}}x.lanes|=c,Y=x.alternate,Y!==null&&(Y.lanes|=c),qh(x.return,c,o),H.lanes|=c;break}Y=Y.next}}else if(x.tag===10)N=x.type===o.type?null:x.child;else if(x.tag===18){if(N=x.return,N===null)throw Error(a(341));N.lanes|=c,H=N.alternate,H!==null&&(H.lanes|=c),qh(N,c,o),N=x.sibling}else N=x.child;if(N!==null)N.return=x;else for(N=x;N!==null;){if(N===o){N=null;break}if(x=N.sibling,x!==null){x.return=N.return,N=x;break}N=N.return}x=N}Cn(i,o,w.children,c),o=o.child}return o;case 9:return w=o.type,m=o.pendingProps.children,ns(o,c),w=Da(w),m=m(w),o.flags|=1,Cn(i,o,m,c),o.child;case 14:return m=o.type,w=Qr(m,o.pendingProps),w=Qr(m.type,w),_o(i,o,m,w,c);case 15:return Dd(i,o,o.type,o.pendingProps,c);case 17:return m=o.type,w=o.pendingProps,w=o.elementType===m?w:Qr(m,w),$l(i,o),o.tag=1,on(m)?(i=!0,rd(o)):i=!1,ns(o,c),eg(o,m,w),Zh(o,m,w,c),Od(null,o,m,!0,i,c);case 19:return np(i,o,c);case 22:return Gr(i,o,c)}throw Error(a(156,o.tag))};function wg(i,o){return oh(i,o)}function Tg(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 Fa(i,o,c,m){return new Tg(i,o,c,m)}function hp(i){return i=i.prototype,!(!i||!i.isReactComponent)}function My(i){if(typeof i=="function")return hp(i)?1:0;if(i!=null){if(i=i.$$typeof,i===ge)return 11;if(i===qe)return 14}return 2}function Ro(i,o){var c=i.alternate;return c===null?(c=Fa(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 $d(i,o,c,m,w,x){var N=2;if(m=i,typeof i=="function")hp(i)&&(N=1);else if(typeof i=="string")N=5;else e:switch(i){case ce:return bu(c.children,w,x,o);case Te:N=8,w|=8;break;case Me:return i=Fa(12,c,o,w|2),i.elementType=Me,i.lanes=x,i;case Re:return i=Fa(13,c,o,w),i.elementType=Re,i.lanes=x,i;case Oe:return i=Fa(19,c,o,w),i.elementType=Oe,i.lanes=x,i;case at:return Gd(c,w,x,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=Fa(N,c,o,w),o.elementType=i,o.type=m,o.lanes=x,o}function bu(i,o,c,m){return i=Fa(7,i,m,o),i.lanes=c,i}function Gd(i,o,c,m){return i=Fa(22,i,m,o),i.elementType=at,i.lanes=c,i.stateNode={isHidden:!1},i}function Xd(i,o,c){return i=Fa(6,i,null,o),i.lanes=c,i}function ec(i,o,c){return o=Fa(4,i.children!==null?i.children:[],i.key,o),o.lanes=c,o.stateNode={containerInfo:i.containerInfo,pendingChildren:null,implementation:i.implementation},o}function tc(i,o,c,m,w){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=ch(0),this.expirationTimes=ch(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ch(0),this.identifierPrefix=m,this.onRecoverableError=w,this.mutableSourceEagerHydrationData=null}function pp(i,o,c,m,w,x,N,H,Y){return i=new tc(i,o,c,H,Y),o===1?(o=1,x===!0&&(o|=8)):o=0,x=Fa(3,null,null,o),i.current=x,x.stateNode=i,x.memoizedState={element:m,isDehydrated:c,cache:null,transitions:null,pendingSuspenseBoundaries:null},cd(x),i}function xg(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 mp(i){if(!i)return pi;i=i._reactInternals;e:{if(fi(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 Ml(i,c,o)}return o}function gp(i,o,c,m,w,x,N,H,Y){return i=pp(c,m,!0,i,w,x,N,H,Y),i.context=mp(null),c=i.current,m=er(),w=Qi(c),x=qr(m,w),x.callback=o??null,xo(c,x,w),i.current.lanes=w,Go(i,w,m),jn(i,m),i}function Kd(i,o,c,m){var w=o.current,x=er(),N=Qi(w);return c=mp(c),o.context===null?o.context=c:o.pendingContext=c,o=qr(x,N),o.payload={element:i},m=m===void 0?null:m,m!==null&&(o.callback=m),i=xo(w,o,N),i!==null&&(hn(i,w,N,x),dd(i,w,N)),N}function nc(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 Sg(i,o){if(i=i.memoizedState,i!==null&&i.dehydrated!==null){var c=i.retryLane;i.retryLane=c!==0&&c<o?c:o}}function vp(i,o){Sg(i,o),(i=i.alternate)&&Sg(i,o)}function Py(){return null}var yp=typeof reportError=="function"?reportError:function(i){console.error(i)};function Zd(i){this._internalRoot=i}rc.prototype.render=Zd.prototype.render=function(i){var o=this._internalRoot;if(o===null)throw Error(a(409));Kd(i,o,null,null)},rc.prototype.unmount=Zd.prototype.unmount=function(){var i=this._internalRoot;if(i!==null){this._internalRoot=null;var o=i.containerInfo;Ei(function(){Kd(null,i,null,null)}),o[Hi]=null}};function rc(i){this._internalRoot=i}rc.prototype.unstable_scheduleHydration=function(i){if(i){var o=i0();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&&o0(i)}};function No(i){return!(!i||i.nodeType!==1&&i.nodeType!==9&&i.nodeType!==11)}function Jd(i){return!(!i||i.nodeType!==1&&i.nodeType!==9&&i.nodeType!==11&&(i.nodeType!==8||i.nodeValue!==" react-mount-point-unstable "))}function Cg(){}function Fy(i,o,c,m,w){if(w){if(typeof m=="function"){var x=m;m=function(){var ue=nc(N);x.call(ue)}}var N=gp(o,m,i,0,null,!1,!1,"",Cg);return i._reactRootContainer=N,i[Hi]=N.current,Zu(i.nodeType===8?i.parentNode:i),Ei(),N}for(;w=i.lastChild;)i.removeChild(w);if(typeof m=="function"){var H=m;m=function(){var ue=nc(Y);H.call(ue)}}var Y=pp(i,0,!1,null,null,!1,!1,"",Cg);return i._reactRootContainer=Y,i[Hi]=Y.current,Zu(i.nodeType===8?i.parentNode:i),Ei(function(){Kd(o,Y,c,m)}),Y}function ef(i,o,c,m,w){var x=c._reactRootContainer;if(x){var N=x;if(typeof w=="function"){var H=w;w=function(){var Y=nc(N);H.call(Y)}}Kd(o,N,i,w)}else N=Fy(c,o,i,w,m);return nc(N)}a0=function(i){switch(i.tag){case 3:var o=i.stateNode;if(o.current.memoizedState.isDehydrated){var c=$o(o.pendingLanes);c!==0&&(pl(o,c|1),jn(o,En()),!(St&6)&&(Cs=En()+500,jr()))}break;case 13:Ei(function(){var m=Vi(i,1);if(m!==null){var w=er();hn(m,i,1,w)}}),vp(i,1)}},Bc=function(i){if(i.tag===13){var o=Vi(i,134217728);if(o!==null){var c=er();hn(o,i,134217728,c)}vp(i,134217728)}},Yt=function(i){if(i.tag===13){var o=Qi(i),c=Vi(i,o);if(c!==null){var m=er();hn(c,i,o,m)}vp(i,o)}},i0=function(){return Vt},fh=function(i,o){var c=Vt;try{return Vt=i,o()}finally{Vt=c}},di=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 w=nt(m);if(!w)throw Error(a(90));Ur(m),$n(m,w)}}}break;case"textarea":ci(i,c);break;case"select":o=c.value,o!=null&&li(i,!!c.multiple,o,!1)}},Gm=dp,Xm=Ei;var Uy={usingClientEntryPoint:!1,Events:[Il,Ju,nt,Oc,Lc,dp]},ac={findFiberByHostInstance:Ca,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},_g={bundleType:ac.bundleType,version:ac.version,rendererPackageName:ac.rendererPackageName,rendererConfig:ac.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Z.ReactCurrentDispatcher,findHostInstanceByFiber:function(i){return i=Km(i),i===null?null:i.stateNode},findFiberByHostInstance:ac.findFiberByHostInstance||Py,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 tf=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!tf.isDisabled&&tf.supportsFiber)try{hl=tf.inject(_g),$a=tf}catch{}}return Ya.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Uy,Ya.createPortal=function(i,o){var c=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!No(o))throw Error(a(200));return xg(i,o,null,c)},Ya.createRoot=function(i,o){if(!No(i))throw Error(a(299));var c=!1,m="",w=yp;return o!=null&&(o.unstable_strictMode===!0&&(c=!0),o.identifierPrefix!==void 0&&(m=o.identifierPrefix),o.onRecoverableError!==void 0&&(w=o.onRecoverableError)),o=pp(i,1,!1,null,null,c,!1,m,w),i[Hi]=o.current,Zu(i.nodeType===8?i.parentNode:i),new Zd(o)},Ya.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=Km(o),i=i===null?null:i.stateNode,i},Ya.flushSync=function(i){return Ei(i)},Ya.hydrate=function(i,o,c){if(!Jd(o))throw Error(a(200));return ef(null,i,o,!0,c)},Ya.hydrateRoot=function(i,o,c){if(!No(i))throw Error(a(405));var m=c!=null&&c.hydratedSources||null,w=!1,x="",N=yp;if(c!=null&&(c.unstable_strictMode===!0&&(w=!0),c.identifierPrefix!==void 0&&(x=c.identifierPrefix),c.onRecoverableError!==void 0&&(N=c.onRecoverableError)),o=gp(o,null,i,1,c??null,w,!1,x,N),i[Hi]=o.current,Zu(i),m)for(i=0;i<m.length;i++)c=m[i],w=c._getVersion,w=w(c._source),o.mutableSourceEagerHydrationData==null?o.mutableSourceEagerHydrationData=[c,w]:o.mutableSourceEagerHydrationData.push(c,w);return new rc(o)},Ya.render=function(i,o,c){if(!Jd(o))throw Error(a(200));return ef(null,i,o,!1,c)},Ya.unmountComponentAtNode=function(i){if(!Jd(i))throw Error(a(40));return i._reactRootContainer?(Ei(function(){ef(null,null,i,!1,function(){i._reactRootContainer=null,i[Hi]=null})}),!0):!1},Ya.unstable_batchedUpdates=dp,Ya.unstable_renderSubtreeIntoContainer=function(i,o,c,m){if(!Jd(c))throw Error(a(200));if(i==null||i._reactInternals===void 0)throw Error(a(38));return ef(i,o,c,!1,m)},Ya.version="18.3.1-next-f1338f8080-20240426",Ya}var Wa={};/**
|
|
60
|
+
`+x.stack}return{value:i,source:o,stack:w,digest:null}}function Jh(i,o,c){return{value:i,source:null,stack:c??null,digest:o??null}}function Yl(i,o){try{console.error(o.value)}catch(c){setTimeout(function(){throw c})}}var ng=typeof WeakMap=="function"?WeakMap:Map;function rg(i,o,c){c=qr(-1,c),c.tag=3,c.payload={element:null};var m=o.value;return c.callback=function(){jd||(jd=!0,sp=m),Yl(i,o)},c}function ag(i,o,c){c=qr(-1,c),c.tag=3;var m=i.type.getDerivedStateFromError;if(typeof m=="function"){var w=o.value;c.payload=function(){return m(w)},c.callback=function(){Yl(i,o)}}var x=i.stateNode;return x!==null&&typeof x.componentDidCatch=="function"&&(c.callback=function(){Yl(i,o),typeof m!="function"&&(Ma===null?Ma=new Set([this]):Ma.add(this));var N=o.stack;this.componentDidCatch(o.value,{componentStack:N!==null?N:""})}),c}function Wl(i,o,c){var m=i.pingCache;if(m===null){m=i.pingCache=new ng;var w=new Set;m.set(o,w)}else w=m.get(o),w===void 0&&(w=new Set,m.set(o,w));w.has(c)||(w.add(c),i=Ly.bind(null,i,o,c),o.then(i,i))}function ig(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 ep(i,o,c,m,w){return i.mode&1?(i.flags|=65536,i.lanes=w,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,xo(c,o,1))),c.lanes|=1),i)}var og=Z.ReactCurrentOwner,$r=!1;function Cn(i,o,c,m){o.child=i===null?Q0(o,null,c,m):ts(o,i.child,c,m)}function hs(i,o,c,m,w){c=c.render;var x=o.ref;return ns(o,w),m=ve(i,o,c,m,x,w),c=Mn(),i!==null&&!$r?(o.updateQueue=i.updateQueue,o.flags&=-2053,i.lanes&=~w,_n(i,o,w)):(en&&c&&ad(o),o.flags|=1,Cn(i,o,m,w),o.child)}function _o(i,o,c,m,w){if(i===null){var x=c.type;return typeof x=="function"&&!hp(x)&&x.defaultProps===void 0&&c.compare===null&&c.defaultProps===void 0?(o.tag=15,o.type=x,Dd(i,o,x,m,w)):(i=$d(c.type,null,m,o,o.mode,w),i.ref=o.ref,i.return=o,o.child=i)}if(x=i.child,!(i.lanes&w)){var N=x.memoizedProps;if(c=c.compare,c=c!==null?c:Cl,c(N,m)&&i.ref===o.ref)return _n(i,o,w)}return o.flags|=1,i=Ro(x,m),i.ref=o.ref,i.return=o,o.child=i}function Dd(i,o,c,m,w){if(i!==null){var x=i.memoizedProps;if(Cl(x,m)&&i.ref===o.ref)if($r=!1,o.pendingProps=m=x,(i.lanes&w)!==0)i.flags&131072&&($r=!0);else return o.lanes=i.lanes,_n(i,o,w)}return mt(i,o,c,m,w)}function Gr(i,o,c){var m=o.pendingProps,w=m.children,x=i!==null?i.memoizedState:null;if(m.mode==="hidden")if(!(o.mode&1))o.memoizedState={baseLanes:0,cachePool:null,transitions:null},zt(xs,Xr),Xr|=c;else{if(!(c&1073741824))return i=x!==null?x.baseLanes|c:c,o.lanes=o.childLanes=1073741824,o.memoizedState={baseLanes:i,cachePool:null,transitions:null},o.updateQueue=null,zt(xs,Xr),Xr|=i,null;o.memoizedState={baseLanes:0,cachePool:null,transitions:null},m=x!==null?x.baseLanes:c,zt(xs,Xr),Xr|=m}else x!==null?(m=x.baseLanes|c,o.memoizedState=null):m=c,zt(xs,Xr),Xr|=m;return Cn(i,o,w,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 mt(i,o,c,m,w){var x=on(c)?zr:lt.current;return x=_a(o,x),ns(o,w),c=ve(i,o,c,m,x,w),m=Mn(),i!==null&&!$r?(o.updateQueue=i.updateQueue,o.flags&=-2053,i.lanes&=~w,_n(i,o,w)):(en&&m&&ad(o),o.flags|=1,Cn(i,o,c,w),o.child)}function ql(i,o,c,m,w){if(on(c)){var x=!0;rd(o)}else x=!1;if(ns(o,w),o.stateNode===null)$l(i,o),eg(o,c,m),Zh(o,c,m,w),m=!0;else if(i===null){var N=o.stateNode,H=o.memoizedProps;N.props=H;var Y=N.context,ue=c.contextType;typeof ue=="object"&&ue!==null?ue=Da(ue):(ue=on(c)?zr:lt.current,ue=_a(o,ue));var be=c.getDerivedStateFromProps,xe=typeof be=="function"||typeof N.getSnapshotBeforeUpdate=="function";xe||typeof N.UNSAFE_componentWillReceiveProps!="function"&&typeof N.componentWillReceiveProps!="function"||(H!==m||Y!==ue)&&tg(o,N,m,ue),To=!1;var ye=o.memoizedState;N.state=ye,fd(o,m,N,w),Y=o.memoizedState,H!==m||ye!==Y||bn.current||To?(typeof be=="function"&&(du(o,c,be,m),Y=o.memoizedState),(H=To||J0(o,c,H,m,ye,Y,ue))?(xe||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=ue,m=H):(typeof N.componentDidMount=="function"&&(o.flags|=4194308),m=!1)}else{N=o.stateNode,rs(i,o),H=o.memoizedProps,ue=o.type===o.elementType?H:Qr(o.type,H),N.props=ue,xe=o.pendingProps,ye=N.context,Y=c.contextType,typeof Y=="object"&&Y!==null?Y=Da(Y):(Y=on(c)?zr:lt.current,Y=_a(o,Y));var Ue=c.getDerivedStateFromProps;(be=typeof Ue=="function"||typeof N.getSnapshotBeforeUpdate=="function")||typeof N.UNSAFE_componentWillReceiveProps!="function"&&typeof N.componentWillReceiveProps!="function"||(H!==xe||ye!==Y)&&tg(o,N,m,Y),To=!1,ye=o.memoizedState,N.state=ye,fd(o,m,N,w);var Ve=o.memoizedState;H!==xe||ye!==Ve||bn.current||To?(typeof Ue=="function"&&(du(o,c,Ue,m),Ve=o.memoizedState),(ue=To||J0(o,c,ue,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"||H===i.memoizedProps&&ye===i.memoizedState||(o.flags|=4),typeof N.getSnapshotBeforeUpdate!="function"||H===i.memoizedProps&&ye===i.memoizedState||(o.flags|=1024),o.memoizedProps=m,o.memoizedState=Ve),N.props=m,N.state=Ve,N.context=Y,m=ue):(typeof N.componentDidUpdate!="function"||H===i.memoizedProps&&ye===i.memoizedState||(o.flags|=4),typeof N.getSnapshotBeforeUpdate!="function"||H===i.memoizedProps&&ye===i.memoizedState||(o.flags|=1024),m=!1)}return Od(i,o,c,m,x,w)}function Od(i,o,c,m,w,x){hu(i,o);var N=(o.flags&128)!==0;if(!m&&!N)return w&&j0(o,c,!1),_n(i,o,x);m=o.stateNode,og.current=o;var H=N&&typeof c.getDerivedStateFromError!="function"?null:m.render();return o.flags|=1,i!==null&&N?(o.child=ts(o,i.child,null,x),o.child=ts(o,null,H,x)):Cn(i,o,H,x),o.memoizedState=m.state,w&&j0(o,c,!0),o.child}function Sy(i){var o=i.stateNode;o.pendingContext?bo(i,o.pendingContext,o.pendingContext!==o.context):o.context&&bo(i,o.context,!1),Qh(i,o.containerInfo)}function ug(i,o,c,m,w){return fn(),Yh(w),o.flags|=256,Cn(i,o,c,m),o.child}var Ql={dehydrated:null,treeContext:null,retryLane:0};function pu(i){return{baseLanes:i,cachePool:null,transitions:null}}function sg(i,o,c){var m=o.pendingProps,w=un.current,x=!1,N=(o.flags&128)!==0,H;if((H=N)||(H=i!==null&&i.memoizedState===null?!1:(w&2)!==0),H?(x=!0,o.flags&=-129):(i===null||i.memoizedState!==null)&&(w|=1),zt(un,w&1),i===null)return od(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,x?(m=o.mode,x=o.child,N={mode:"hidden",children:N},!(m&1)&&x!==null?(x.childLanes=0,x.pendingProps=N):x=Gd(N,m,0,null),i=bu(i,m,c,null),x.return=o,i.return=o,x.sibling=i,o.child=x,o.child.memoizedState=pu(c),o.memoizedState=Ql,i):Ld(o,N));if(w=i.memoizedState,w!==null&&(H=w.dehydrated,H!==null))return tp(i,o,N,m,H,w,c);if(x){x=m.fallback,N=o.mode,w=i.child,H=w.sibling;var Y={mode:"hidden",children:m.children};return!(N&1)&&o.child!==w?(m=o.child,m.childLanes=0,m.pendingProps=Y,o.deletions=null):(m=Ro(w,Y),m.subtreeFlags=w.subtreeFlags&14680064),H!==null?x=Ro(H,x):(x=bu(x,N,c,null),x.flags|=2),x.return=o,m.return=o,m.sibling=x,o.child=m,m=x,x=o.child,N=i.child.memoizedState,N=N===null?pu(c):{baseLanes:N.baseLanes|c,cachePool:null,transitions:N.transitions},x.memoizedState=N,x.childLanes=i.childLanes&~c,o.memoizedState=Ql,m}return x=i.child,i=x.sibling,m=Ro(x,{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 Ld(i,o){return o=Gd({mode:"visible",children:o},i.mode,0,null),o.return=i,i.child=o}function Id(i,o,c,m){return m!==null&&Yh(m),ts(o,i.child,null,c),i=Ld(o,o.pendingProps.children),i.flags|=2,o.memoizedState=null,i}function tp(i,o,c,m,w,x,N){if(c)return o.flags&256?(o.flags&=-257,m=Jh(Error(a(422))),Id(i,o,N,m)):o.memoizedState!==null?(o.child=i.child,o.flags|=128,null):(x=m.fallback,w=o.mode,m=Gd({mode:"visible",children:m.children},w,0,null),x=bu(x,w,N,null),x.flags|=2,m.return=o,x.return=o,m.sibling=x,o.child=m,o.mode&1&&ts(o,i.child,null,N),o.child.memoizedState=pu(N),o.memoizedState=Ql,x);if(!(o.mode&1))return Id(i,o,N,null);if(w.data==="$!"){if(m=w.nextSibling&&w.nextSibling.dataset,m)var H=m.dgst;return m=H,x=Error(a(419)),m=Jh(x,m,void 0),Id(i,o,N,m)}if(H=(N&i.childLanes)!==0,$r||H){if(m=Tn,m!==null){switch(N&-N){case 4:w=2;break;case 16:w=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:w=32;break;case 536870912:w=268435456;break;default:w=0}w=w&(m.suspendedLanes|N)?0:w,w!==0&&w!==x.retryLane&&(x.retryLane=w,Vi(i,w),hn(m,i,w,-1))}return Jl(),m=Jh(Error(a(421))),Id(i,o,N,m)}return w.data==="$?"?(o.flags|=128,o.child=i.child,o=fp.bind(null,i),w._reactRetry=o,null):(i=x.treeContext,Wr=Ja(w.nextSibling),ca=o,en=!0,Ra=null,i!==null&&(Yr[yr++]=ir,Yr[yr++]=zi,Yr[yr++]=ka,ir=i.id,zi=i.overflow,ka=o),o=Ld(o,m.children),o.flags|=4096,o)}function lg(i,o,c){i.lanes|=o;var m=i.alternate;m!==null&&(m.lanes|=o),qh(i.return,o,c)}function Md(i,o,c,m,w){var x=i.memoizedState;x===null?i.memoizedState={isBackwards:o,rendering:null,renderingStartTime:0,last:m,tail:c,tailMode:w}:(x.isBackwards=o,x.rendering=null,x.renderingStartTime=0,x.last=m,x.tail=c,x.tailMode=w)}function np(i,o,c){var m=o.pendingProps,w=m.revealOrder,x=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&&lg(i,c,o);else if(i.tag===19)lg(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(w){case"forwards":for(c=o.child,w=null;c!==null;)i=c.alternate,i!==null&&hd(i)===null&&(w=c),c=c.sibling;c=w,c===null?(w=o.child,o.child=null):(w=c.sibling,c.sibling=null),Md(o,!1,w,c,x);break;case"backwards":for(c=null,w=o.child,o.child=null;w!==null;){if(i=w.alternate,i!==null&&hd(i)===null){o.child=w;break}i=w.sibling,w.sibling=c,c=w,w=i}Md(o,!0,c,null,x);break;case"together":Md(o,!1,null,null,void 0);break;default:o.memoizedState=null}return o.child}function $l(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),gu|=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=Ro(i,i.pendingProps),o.child=c,c.return=o;i.sibling!==null;)i=i.sibling,c=c.sibling=Ro(i,i.pendingProps),c.return=o;c.sibling=null}return o.child}function Wi(i,o,c){switch(o.tag){case 3:Sy(o),fn();break;case 5:K0(o);break;case 1:on(o.type)&&rd(o);break;case 4:Qh(o,o.stateNode.containerInfo);break;case 10:var m=o.type._context,w=o.memoizedProps.value;zt(ji,m._currentValue),m._currentValue=w;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?sg(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 np(i,o,c);o.flags|=128}if(w=o.memoizedState,w!==null&&(w.rendering=null,w.tail=null,w.lastEffect=null),zt(un,un.current),m)break;return null;case 22:case 23:return o.lanes=0,Gr(i,o,c)}return _n(i,o,c)}var gi,ps,ms,La;gi=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}},ps=function(){},ms=function(i,o,c,m){var w=i.memoizedProps;if(w!==m){i=o.stateNode,uu(ei.current);var x=null;switch(c){case"input":w=Fn(i,w),m=Fn(i,m),x=[];break;case"select":w=P({},w,{value:void 0}),m=P({},m,{value:void 0}),x=[];break;case"textarea":w=Di(i,w),m=Di(i,m),x=[];break;default:typeof w.onClick!="function"&&typeof m.onClick=="function"&&(i.onclick=nd)}Ht(c,m);var N;c=null;for(ue in w)if(!m.hasOwnProperty(ue)&&w.hasOwnProperty(ue)&&w[ue]!=null)if(ue==="style"){var H=w[ue];for(N in H)H.hasOwnProperty(N)&&(c||(c={}),c[N]="")}else ue!=="dangerouslySetInnerHTML"&&ue!=="children"&&ue!=="suppressContentEditableWarning"&&ue!=="suppressHydrationWarning"&&ue!=="autoFocus"&&(f.hasOwnProperty(ue)?x||(x=[]):(x=x||[]).push(ue,null));for(ue in m){var Y=m[ue];if(H=w!=null?w[ue]:void 0,m.hasOwnProperty(ue)&&Y!==H&&(Y!=null||H!=null))if(ue==="style")if(H){for(N in H)!H.hasOwnProperty(N)||Y&&Y.hasOwnProperty(N)||(c||(c={}),c[N]="");for(N in Y)Y.hasOwnProperty(N)&&H[N]!==Y[N]&&(c||(c={}),c[N]=Y[N])}else c||(x||(x=[]),x.push(ue,c)),c=Y;else ue==="dangerouslySetInnerHTML"?(Y=Y?Y.__html:void 0,H=H?H.__html:void 0,Y!=null&&H!==Y&&(x=x||[]).push(ue,Y)):ue==="children"?typeof Y!="string"&&typeof Y!="number"||(x=x||[]).push(ue,""+Y):ue!=="suppressContentEditableWarning"&&ue!=="suppressHydrationWarning"&&(f.hasOwnProperty(ue)?(Y!=null&&ue==="onScroll"&&Xt("scroll",i),x||H===Y||(x=[])):(x=x||[]).push(ue,Y))}c&&(x=x||[]).push("style",c);var ue=x;(o.updateQueue=ue)&&(o.flags|=4)}},La=function(i,o,c,m){c!==m&&(o.flags|=4)};function wn(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 wr(i){var o=i.alternate!==null&&i.alternate.child===i.child,c=0,m=0;if(o)for(var w=i.child;w!==null;)c|=w.lanes|w.childLanes,m|=w.subtreeFlags&14680064,m|=w.flags&14680064,w.return=i,w=w.sibling;else for(w=i.child;w!==null;)c|=w.lanes|w.childLanes,m|=w.subtreeFlags,m|=w.flags,w.return=i,w=w.sibling;return i.subtreeFlags|=m,i.childLanes=c,o}function Cy(i,o,c){var m=o.pendingProps;switch(jh(o),o.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return wr(o),null;case 1:return on(o.type)&&Aa(),wr(o),null;case 3:return m=o.stateNode,is(),Bt(bn),Bt(lt),Gh(),m.pendingContext&&(m.context=m.pendingContext,m.pendingContext=null),(i===null||i.child===null)&&(ud(o)?o.flags|=4:i===null||i.memoizedState.isDehydrated&&!(o.flags&256)||(o.flags|=1024,Ra!==null&&(lp(Ra),Ra=null))),ps(i,o),wr(o),null;case 5:$h(o);var w=uu(Ul.current);if(c=o.type,i!==null&&o.stateNode!=null)ms(i,o,c,m,w),i.ref!==o.ref&&(o.flags|=512,o.flags|=2097152);else{if(!m){if(o.stateNode===null)throw Error(a(166));return wr(o),null}if(i=uu(ei.current),ud(o)){m=o.stateNode,c=o.type;var x=o.memoizedProps;switch(m[hi]=o,m[ru]=x,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(w=0;w<Rl.length;w++)Xt(Rl[w],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":ar(m,x),Xt("invalid",m);break;case"select":m._wrapperState={wasMultiple:!!x.multiple},Xt("invalid",m);break;case"textarea":oa(m,x),Xt("invalid",m)}Ht(c,x),w=null;for(var N in x)if(x.hasOwnProperty(N)){var H=x[N];N==="children"?typeof H=="string"?m.textContent!==H&&(x.suppressHydrationWarning!==!0&&td(m.textContent,H,i),w=["children",H]):typeof H=="number"&&m.textContent!==""+H&&(x.suppressHydrationWarning!==!0&&td(m.textContent,H,i),w=["children",""+H]):f.hasOwnProperty(N)&&H!=null&&N==="onScroll"&&Xt("scroll",m)}switch(c){case"input":Nn(m),ia(m,x,!0);break;case"textarea":Nn(m),ba(m);break;case"select":case"option":break;default:typeof x.onClick=="function"&&(m.onclick=nd)}m=w,o.updateQueue=m,m!==null&&(o.flags|=4)}else{N=w.nodeType===9?w:w.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[ru]=m,gi(i,o,!1,!1),o.stateNode=i;e:{switch(N=Kt(c,m),c){case"dialog":Xt("cancel",i),Xt("close",i),w=m;break;case"iframe":case"object":case"embed":Xt("load",i),w=m;break;case"video":case"audio":for(w=0;w<Rl.length;w++)Xt(Rl[w],i);w=m;break;case"source":Xt("error",i),w=m;break;case"img":case"image":case"link":Xt("error",i),Xt("load",i),w=m;break;case"details":Xt("toggle",i),w=m;break;case"input":ar(i,m),w=Fn(i,m),Xt("invalid",i);break;case"option":w=m;break;case"select":i._wrapperState={wasMultiple:!!m.multiple},w=P({},m,{value:void 0}),Xt("invalid",i);break;case"textarea":oa(i,m),w=Di(i,m),Xt("invalid",i);break;default:w=m}Ht(c,w),H=w;for(x in H)if(H.hasOwnProperty(x)){var Y=H[x];x==="style"?It(i,Y):x==="dangerouslySetInnerHTML"?(Y=Y?Y.__html:void 0,Y!=null&&yt(i,Y)):x==="children"?typeof Y=="string"?(c!=="textarea"||Y!=="")&&_t(i,Y):typeof Y=="number"&&_t(i,""+Y):x!=="suppressContentEditableWarning"&&x!=="suppressHydrationWarning"&&x!=="autoFocus"&&(f.hasOwnProperty(x)?Y!=null&&x==="onScroll"&&Xt("scroll",i):Y!=null&&W(i,x,Y,N))}switch(c){case"input":Nn(i),ia(i,m,!1);break;case"textarea":Nn(i),ba(i);break;case"option":m.value!=null&&i.setAttribute("value",""+dn(m.value));break;case"select":i.multiple=!!m.multiple,x=m.value,x!=null?li(i,!!m.multiple,x,!1):m.defaultValue!=null&&li(i,!!m.multiple,m.defaultValue,!0);break;default:typeof w.onClick=="function"&&(i.onclick=nd)}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 wr(o),null;case 6:if(i&&o.stateNode!=null)La(i,o,i.memoizedProps,m);else{if(typeof m!="string"&&o.stateNode===null)throw Error(a(166));if(c=uu(Ul.current),uu(ei.current),ud(o)){if(m=o.stateNode,c=o.memoizedProps,m[hi]=o,(x=m.nodeValue!==c)&&(i=ca,i!==null))switch(i.tag){case 3:td(m.nodeValue,c,(i.mode&1)!==0);break;case 5:i.memoizedProps.suppressHydrationWarning!==!0&&td(m.nodeValue,c,(i.mode&1)!==0)}x&&(o.flags|=4)}else m=(c.nodeType===9?c:c.ownerDocument).createTextNode(m),m[hi]=o,o.stateNode=m}return wr(o),null;case 13:if(Bt(un),m=o.memoizedState,i===null||i.memoizedState!==null&&i.memoizedState.dehydrated!==null){if(en&&Wr!==null&&o.mode&1&&!(o.flags&128))W0(),fn(),o.flags|=98560,x=!1;else if(x=ud(o),m!==null&&m.dehydrated!==null){if(i===null){if(!x)throw Error(a(318));if(x=o.memoizedState,x=x!==null?x.dehydrated:null,!x)throw Error(a(317));x[hi]=o}else fn(),!(o.flags&128)&&(o.memoizedState=null),o.flags|=4;wr(o),x=!1}else Ra!==null&&(lp(Ra),Ra=null),x=!0;if(!x)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):Jl())),o.updateQueue!==null&&(o.flags|=4),wr(o),null);case 4:return is(),ps(i,o),i===null&&Zu(o.stateNode.containerInfo),wr(o),null;case 10:return Wh(o.type._context),wr(o),null;case 17:return on(o.type)&&Aa(),wr(o),null;case 19:if(Bt(un),x=o.memoizedState,x===null)return wr(o),null;if(m=(o.flags&128)!==0,N=x.rendering,N===null)if(m)wn(x,!1);else{if(zn!==0||i!==null&&i.flags&128)for(i=o.child;i!==null;){if(N=hd(i),N!==null){for(o.flags|=128,wn(x,!1),m=N.updateQueue,m!==null&&(o.updateQueue=m,o.flags|=4),o.subtreeFlags=0,m=c,c=o.child;c!==null;)x=c,i=m,x.flags&=14680066,N=x.alternate,N===null?(x.childLanes=0,x.lanes=i,x.child=null,x.subtreeFlags=0,x.memoizedProps=null,x.memoizedState=null,x.updateQueue=null,x.dependencies=null,x.stateNode=null):(x.childLanes=N.childLanes,x.lanes=N.lanes,x.child=N.child,x.subtreeFlags=0,x.deletions=null,x.memoizedProps=N.memoizedProps,x.memoizedState=N.memoizedState,x.updateQueue=N.updateQueue,x.type=N.type,i=N.dependencies,x.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}x.tail!==null&&En()>Cs&&(o.flags|=128,m=!0,wn(x,!1),o.lanes=4194304)}else{if(!m)if(i=hd(N),i!==null){if(o.flags|=128,m=!0,c=i.updateQueue,c!==null&&(o.updateQueue=c,o.flags|=4),wn(x,!0),x.tail===null&&x.tailMode==="hidden"&&!N.alternate&&!en)return wr(o),null}else 2*En()-x.renderingStartTime>Cs&&c!==1073741824&&(o.flags|=128,m=!0,wn(x,!1),o.lanes=4194304);x.isBackwards?(N.sibling=o.child,o.child=N):(c=x.last,c!==null?c.sibling=N:o.child=N,x.last=N)}return x.tail!==null?(o=x.tail,x.rendering=o,x.tail=o.sibling,x.renderingStartTime=En(),o.sibling=null,c=un.current,zt(un,m?c&1|2:c&1),o):(wr(o),null);case 22:case 23:return qd(),m=o.memoizedState!==null,i!==null&&i.memoizedState!==null!==m&&(o.flags|=8192),m&&o.mode&1?Xr&1073741824&&(wr(o),o.subtreeFlags&6&&(o.flags|=8192)):wr(o),null;case 24:return null;case 25:return null}throw Error(a(156,o.tag))}function _y(i,o){switch(jh(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 is(),Bt(bn),Bt(lt),Gh(),i=o.flags,i&65536&&!(i&128)?(o.flags=i&-65537|128,o):null;case 5:return $h(o),null;case 13:if(Bt(un),i=o.memoizedState,i!==null&&i.dehydrated!==null){if(o.alternate===null)throw Error(a(340));fn()}return i=o.flags,i&65536?(o.flags=i&-65537|128,o):null;case 19:return Bt(un),null;case 4:return is(),null;case 10:return Wh(o.type._context),null;case 22:case 23:return qd(),null;case 24:return null;default:return null}}var gs=!1,ur=!1,Pd=typeof WeakSet=="function"?WeakSet:Set,ze=null;function vs(i,o){var c=i.ref;if(c!==null)if(typeof c=="function")try{c(null)}catch(m){xn(i,o,m)}else c.current=null}function rp(i,o,c){try{c()}catch(m){xn(i,o,m)}}var Fd=!1;function Ay(i,o){if(Ih=Xo,i=Xc(),Fi(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 w=m.anchorOffset,x=m.focusNode;m=m.focusOffset;try{c.nodeType,x.nodeType}catch{c=null;break e}var N=0,H=-1,Y=-1,ue=0,be=0,xe=i,ye=null;t:for(;;){for(var Ue;xe!==c||w!==0&&xe.nodeType!==3||(H=N+w),xe!==x||m!==0&&xe.nodeType!==3||(Y=N+m),xe.nodeType===3&&(N+=xe.nodeValue.length),(Ue=xe.firstChild)!==null;)ye=xe,xe=Ue;for(;;){if(xe===i)break t;if(ye===c&&++ue===w&&(H=N),ye===x&&++be===m&&(Y=N),(Ue=xe.nextSibling)!==null)break;xe=ye,ye=xe.parentNode}xe=Ue}c=H===-1||Y===-1?null:{start:H,end:Y}}else c=null}c=c||{start:0,end:0}}else c=null;for(tu={focusedElem:i,selectionRange:c},Xo=!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,An=Ve.memoizedState,ee=o.stateNode,Q=ee.getSnapshotBeforeUpdate(o.elementType===o.type?Qe:Qr(o.type,Qe),An);ee.__reactInternalSnapshotBeforeUpdate=Q}break;case 3:var ae=o.stateNode.containerInfo;ae.nodeType===1?ae.textContent="":ae.nodeType===9&&ae.documentElement&&ae.removeChild(ae.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(a(163))}}catch(Ae){xn(o,o.return,Ae)}if(i=o.sibling,i!==null){i.return=o.return,ze=i;break}ze=o.return}return Ve=Fd,Fd=!1,Ve}function ys(i,o,c){var m=o.updateQueue;if(m=m!==null?m.lastEffect:null,m!==null){var w=m=m.next;do{if((w.tag&i)===i){var x=w.destroy;w.destroy=void 0,x!==void 0&&rp(o,c,x)}w=w.next}while(w!==m)}}function Ud(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 Bd(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 cg(i){var o=i.alternate;o!==null&&(i.alternate=null,cg(o)),i.child=null,i.deletions=null,i.sibling=null,i.tag===5&&(o=i.stateNode,o!==null&&(delete o[hi],delete o[ru],delete o[Fh],delete o[wy],delete o[Uh])),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 ap(i){return i.tag===5||i.tag===3||i.tag===4}function dg(i){e:for(;;){for(;i.sibling===null;){if(i.return===null||ap(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 Gl(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=nd));else if(m!==4&&(i=i.child,i!==null))for(Gl(i,o,c),i=i.sibling;i!==null;)Gl(i,o,c),i=i.sibling}function Es(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(Es(i,o,c),i=i.sibling;i!==null;)Es(i,o,c),i=i.sibling}var sn=null,Zn=!1;function kr(i,o,c){for(c=c.child;c!==null;)bs(i,o,c),c=c.sibling}function bs(i,o,c){if($a&&typeof $a.onCommitFiberUnmount=="function")try{$a.onCommitFiberUnmount(hl,c)}catch{}switch(c.tag){case 5:ur||vs(c,o);case 6:var m=sn,w=Zn;sn=null,kr(i,o,c),sn=m,Zn=w,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?vo(i.parentNode,c):i.nodeType===1&&vo(i,c),yl(i)):vo(sn,c.stateNode));break;case 4:m=sn,w=Zn,sn=c.stateNode.containerInfo,Zn=!0,kr(i,o,c),sn=m,Zn=w;break;case 0:case 11:case 14:case 15:if(!ur&&(m=c.updateQueue,m!==null&&(m=m.lastEffect,m!==null))){w=m=m.next;do{var x=w,N=x.destroy;x=x.tag,N!==void 0&&(x&2||x&4)&&rp(c,o,N),w=w.next}while(w!==m)}kr(i,o,c);break;case 1:if(!ur&&(vs(c,o),m=c.stateNode,typeof m.componentWillUnmount=="function"))try{m.props=c.memoizedProps,m.state=c.memoizedState,m.componentWillUnmount()}catch(H){xn(c,o,H)}kr(i,o,c);break;case 21:kr(i,o,c);break;case 22:c.mode&1?(ur=(m=ur)||c.memoizedState!==null,kr(i,o,c),ur=m):kr(i,o,c);break;default:kr(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 Pd),o.forEach(function(m){var w=Iy.bind(null,i,m);c.has(m)||(c.add(m),m.then(w,w))})}}function Jn(i,o){var c=o.deletions;if(c!==null)for(var m=0;m<c.length;m++){var w=c[m];try{var x=i,N=o,H=N;e:for(;H!==null;){switch(H.tag){case 5:sn=H.stateNode,Zn=!1;break e;case 3:sn=H.stateNode.containerInfo,Zn=!0;break e;case 4:sn=H.stateNode.containerInfo,Zn=!0;break e}H=H.return}if(sn===null)throw Error(a(160));bs(x,N,w),sn=null,Zn=!1;var Y=w.alternate;Y!==null&&(Y.return=null),w.return=null}catch(ue){xn(w,o,ue)}}if(o.subtreeFlags&12854)for(o=o.child;o!==null;)fg(o,i),o=o.sibling}function fg(i,o){var c=i.alternate,m=i.flags;switch(i.tag){case 0:case 11:case 14:case 15:if(Jn(o,i),vi(i),m&4){try{ys(3,i,i.return),Ud(3,i)}catch(Qe){xn(i,i.return,Qe)}try{ys(5,i,i.return)}catch(Qe){xn(i,i.return,Qe)}}break;case 1:Jn(o,i),vi(i),m&512&&c!==null&&vs(c,c.return);break;case 5:if(Jn(o,i),vi(i),m&512&&c!==null&&vs(c,c.return),i.flags&32){var w=i.stateNode;try{_t(w,"")}catch(Qe){xn(i,i.return,Qe)}}if(m&4&&(w=i.stateNode,w!=null)){var x=i.memoizedProps,N=c!==null?c.memoizedProps:x,H=i.type,Y=i.updateQueue;if(i.updateQueue=null,Y!==null)try{H==="input"&&x.type==="radio"&&x.name!=null&&gr(w,x),Kt(H,N);var ue=Kt(H,x);for(N=0;N<Y.length;N+=2){var be=Y[N],xe=Y[N+1];be==="style"?It(w,xe):be==="dangerouslySetInnerHTML"?yt(w,xe):be==="children"?_t(w,xe):W(w,be,xe,ue)}switch(H){case"input":$n(w,x);break;case"textarea":ci(w,x);break;case"select":var ye=w._wrapperState.wasMultiple;w._wrapperState.wasMultiple=!!x.multiple;var Ue=x.value;Ue!=null?li(w,!!x.multiple,Ue,!1):ye!==!!x.multiple&&(x.defaultValue!=null?li(w,!!x.multiple,x.defaultValue,!0):li(w,!!x.multiple,x.multiple?[]:"",!1))}w[ru]=x}catch(Qe){xn(i,i.return,Qe)}}break;case 6:if(Jn(o,i),vi(i),m&4){if(i.stateNode===null)throw Error(a(162));w=i.stateNode,x=i.memoizedProps;try{w.nodeValue=x}catch(Qe){xn(i,i.return,Qe)}}break;case 3:if(Jn(o,i),vi(i),m&4&&c!==null&&c.memoizedState.isDehydrated)try{yl(o.containerInfo)}catch(Qe){xn(i,i.return,Qe)}break;case 4:Jn(o,i),vi(i);break;case 13:Jn(o,i),vi(i),w=i.child,w.flags&8192&&(x=w.memoizedState!==null,w.stateNode.isHidden=x,!x||w.alternate!==null&&w.alternate.memoizedState!==null||(zd=En())),m&4&&ws(i);break;case 22:if(be=c!==null&&c.memoizedState!==null,i.mode&1?(ur=(ue=ur)||be,Jn(o,i),ur=ue):Jn(o,i),vi(i),m&8192){if(ue=i.memoizedState!==null,(i.stateNode.isHidden=ue)&&!be&&i.mode&1)for(ze=i,be=i.child;be!==null;){for(xe=ze=be;ze!==null;){switch(ye=ze,Ue=ye.child,ye.tag){case 0:case 11:case 14:case 15:ys(4,ye,ye.return);break;case 1:vs(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){xn(m,c,Qe)}}break;case 5:vs(ye,ye.return);break;case 22:if(ye.memoizedState!==null){hg(xe);continue}}Ue!==null?(Ue.return=ye,ze=Ue):hg(xe)}be=be.sibling}e:for(be=null,xe=i;;){if(xe.tag===5){if(be===null){be=xe;try{w=xe.stateNode,ue?(x=w.style,typeof x.setProperty=="function"?x.setProperty("display","none","important"):x.display="none"):(H=xe.stateNode,Y=xe.memoizedProps.style,N=Y!=null&&Y.hasOwnProperty("display")?Y.display:null,H.style.display=dt("display",N))}catch(Qe){xn(i,i.return,Qe)}}}else if(xe.tag===6){if(be===null)try{xe.stateNode.nodeValue=ue?"":xe.memoizedProps}catch(Qe){xn(i,i.return,Qe)}}else if((xe.tag!==22&&xe.tag!==23||xe.memoizedState===null||xe===i)&&xe.child!==null){xe.child.return=xe,xe=xe.child;continue}if(xe===i)break e;for(;xe.sibling===null;){if(xe.return===null||xe.return===i)break e;be===xe&&(be=null),xe=xe.return}be===xe&&(be=null),xe.sibling.return=xe.return,xe=xe.sibling}}break;case 19:Jn(o,i),vi(i),m&4&&ws(i);break;case 21:break;default:Jn(o,i),vi(i)}}function vi(i){var o=i.flags;if(o&2){try{e:{for(var c=i.return;c!==null;){if(ap(c)){var m=c;break e}c=c.return}throw Error(a(160))}switch(m.tag){case 5:var w=m.stateNode;m.flags&32&&(_t(w,""),m.flags&=-33);var x=dg(i);Es(i,x,w);break;case 3:case 4:var N=m.stateNode.containerInfo,H=dg(i);Gl(i,H,N);break;default:throw Error(a(161))}}catch(Y){xn(i,i.return,Y)}i.flags&=-3}o&4096&&(i.flags&=-4097)}function ky(i,o,c){ze=i,ip(i)}function ip(i,o,c){for(var m=(i.mode&1)!==0;ze!==null;){var w=ze,x=w.child;if(w.tag===22&&m){var N=w.memoizedState!==null||gs;if(!N){var H=w.alternate,Y=H!==null&&H.memoizedState!==null||ur;H=gs;var ue=ur;if(gs=N,(ur=Y)&&!ue)for(ze=w;ze!==null;)N=ze,Y=N.child,N.tag===22&&N.memoizedState!==null?op(w):Y!==null?(Y.return=N,ze=Y):op(w);for(;x!==null;)ze=x,ip(x),x=x.sibling;ze=w,gs=H,ur=ue}Ts(i)}else w.subtreeFlags&8772&&x!==null?(x.return=w,ze=x):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:ur||Ud(5,o);break;case 1:var m=o.stateNode;if(o.flags&4&&!ur)if(c===null)m.componentDidMount();else{var w=o.elementType===o.type?c.memoizedProps:Qr(o.type,c.memoizedProps);m.componentDidUpdate(w,c.memoizedState,m.__reactInternalSnapshotBeforeUpdate)}var x=o.updateQueue;x!==null&&X0(o,x,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}X0(o,N,c)}break;case 5:var H=o.stateNode;if(c===null&&o.flags&4){c=H;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 ue=o.alternate;if(ue!==null){var be=ue.memoizedState;if(be!==null){var xe=be.dehydrated;xe!==null&&yl(xe)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(a(163))}ur||o.flags&512&&Bd(o)}catch(ye){xn(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 hg(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 op(i){for(;ze!==null;){var o=ze;try{switch(o.tag){case 0:case 11:case 15:var c=o.return;try{Ud(4,o)}catch(Y){xn(o,c,Y)}break;case 1:var m=o.stateNode;if(typeof m.componentDidMount=="function"){var w=o.return;try{m.componentDidMount()}catch(Y){xn(o,w,Y)}}var x=o.return;try{Bd(o)}catch(Y){xn(o,x,Y)}break;case 5:var N=o.return;try{Bd(o)}catch(Y){xn(o,N,Y)}}}catch(Y){xn(o,o.return,Y)}if(o===i){ze=null;break}var H=o.sibling;if(H!==null){H.return=o.return,ze=H;break}ze=o.return}}var Ry=Math.ceil,mu=Z.ReactCurrentDispatcher,Hd=Z.ReactCurrentOwner,Ia=Z.ReactCurrentBatchConfig,St=0,Tn=null,tn=null,Hn=0,Xr=0,xs=gt(0),zn=0,Xl=null,gu=0,Ss=0,up=0,Ao=null,Tr=null,zd=0,Cs=1/0,qi=null,jd=!1,sp=null,Ma=null,_s=!1,Pa=null,Vd=0,Kl=0,Yd=null,Zl=-1,vu=0;function er(){return St&6?En():Zl!==-1?Zl:Zl=En()}function Qi(i){return i.mode&1?St&2&&Hn!==0?Hn&-Hn:sd.transition!==null?(vu===0&&(vu=Uc()),vu):(i=Vt,i!==0||(i=window.event,i=i===void 0?16:ph(i.type)),i):1}function hn(i,o,c,m){if(50<Kl)throw Kl=0,Yd=null,Error(a(185));Go(i,c,m),(!(St&2)||i!==Tn)&&(i===Tn&&(!(St&2)&&(Ss|=c),zn===4&&yi(i,Hn)),jn(i,m),c===1&&St===0&&!(o.mode&1)&&(Cs=En()+500,Kn&&jr()))}function jn(i,o){var c=i.callbackNode;Fc(i,o);var m=Ga(i,i===Tn?Hn:0);if(m===0)c!==null&&Jm(c),i.callbackNode=null,i.callbackPriority=0;else if(o=m&-m,i.callbackPriority!==o){if(c!=null&&Jm(c),o===1)i.tag===0?Hh(As.bind(null,i)):Bh(As.bind(null,i)),Ph(function(){!(St&6)&&jr()}),c=null;else{switch(dh(m)){case 1:c=Li;break;case 4:c=xt;break;case 16:c=fo;break;case 536870912:c=uh;break;default:c=fo}c=wg(c,Wd.bind(null,i))}i.callbackPriority=o,i.callbackNode=c}}function Wd(i,o){if(Zl=-1,vu=0,St&6)throw Error(a(327));var c=i.callbackNode;if(ks()&&i.callbackNode!==c)return null;var m=Ga(i,i===Tn?Hn:0);if(m===0)return null;if(m&30||m&i.expiredLanes||o)o=Qd(i,m);else{o=m;var w=St;St|=2;var x=mg();(Tn!==i||Hn!==o)&&(qi=null,Cs=En()+500,Eu(i,o));do try{Dy();break}catch(H){pg(i,H)}while(!0);da(),mu.current=x,St=w,tn!==null?o=0:(Tn=null,Hn=0,o=zn)}if(o!==0){if(o===2&&(w=lh(i),w!==0&&(m=w,o=yu(i,w))),o===1)throw c=Xl,Eu(i,0),yi(i,m),jn(i,En()),c;if(o===6)yi(i,m);else{if(w=i.current.alternate,!(m&30)&&!cp(w)&&(o=Qd(i,m),o===2&&(x=lh(i),x!==0&&(m=x,o=yu(i,x))),o===1))throw c=Xl,Eu(i,0),yi(i,m),jn(i,En()),c;switch(i.finishedWork=w,i.finishedLanes=m,o){case 0:case 1:throw Error(a(345));case 2:ko(i,Tr,qi);break;case 3:if(yi(i,m),(m&130023424)===m&&(o=zd+500-En(),10<o)){if(Ga(i,0)!==0)break;if(w=i.suspendedLanes,(w&m)!==m){er(),i.pingedLanes|=i.suspendedLanes&w;break}i.timeoutHandle=nu(ko.bind(null,i,Tr,qi),o);break}ko(i,Tr,qi);break;case 4:if(yi(i,m),(m&4194240)===m)break;for(o=i.eventTimes,w=-1;0<m;){var N=31-wa(m);x=1<<N,N=o[N],N>w&&(w=N),m&=~x}if(m=w,m=En()-m,m=(120>m?120:480>m?480:1080>m?1080:1920>m?1920:3e3>m?3e3:4320>m?4320:1960*Ry(m/1960))-m,10<m){i.timeoutHandle=nu(ko.bind(null,i,Tr,qi),m);break}ko(i,Tr,qi);break;case 5:ko(i,Tr,qi);break;default:throw Error(a(329))}}}return jn(i,En()),i.callbackNode===c?Wd.bind(null,i):null}function yu(i,o){var c=Ao;return i.current.memoizedState.isDehydrated&&(Eu(i,o).flags|=256),i=Qd(i,o),i!==2&&(o=Tr,Tr=c,o!==null&&lp(o)),i}function lp(i){Tr===null?Tr=i:Tr.push.apply(Tr,i)}function cp(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 w=c[m],x=w.getSnapshot;w=w.value;try{if(!Sa(x(),w))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 yi(i,o){for(o&=~up,o&=~Ss,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(St&6)throw Error(a(327));ks();var o=Ga(i,0);if(!(o&1))return jn(i,En()),null;var c=Qd(i,o);if(i.tag!==0&&c===2){var m=lh(i);m!==0&&(o=m,c=yu(i,m))}if(c===1)throw c=Xl,Eu(i,0),yi(i,o),jn(i,En()),c;if(c===6)throw Error(a(345));return i.finishedWork=i.current.alternate,i.finishedLanes=o,ko(i,Tr,qi),jn(i,En()),null}function dp(i,o){var c=St;St|=1;try{return i(o)}finally{St=c,St===0&&(Cs=En()+500,Kn&&jr())}}function Ei(i){Pa!==null&&Pa.tag===0&&!(St&6)&&ks();var o=St;St|=1;var c=Ia.transition,m=Vt;try{if(Ia.transition=null,Vt=1,i)return i()}finally{Vt=m,Ia.transition=c,St=o,!(St&6)&&jr()}}function qd(){Xr=xs.current,Bt(xs)}function Eu(i,o){i.finishedWork=null,i.finishedLanes=0;var c=i.timeoutHandle;if(c!==-1&&(i.timeoutHandle=-1,z0(c)),tn!==null)for(c=tn.return;c!==null;){var m=c;switch(jh(m),m.tag){case 1:m=m.type.childContextTypes,m!=null&&Aa();break;case 3:is(),Bt(bn),Bt(lt),Gh();break;case 5:$h(m);break;case 4:is();break;case 13:Bt(un);break;case 19:Bt(un);break;case 10:Wh(m.type._context);break;case 22:case 23:qd()}c=c.return}if(Tn=i,tn=i=Ro(i.current,null),Hn=Xr=o,zn=0,Xl=null,up=Ss=gu=0,Tr=Ao=null,ou!==null){for(o=0;o<ou.length;o++)if(c=ou[o],m=c.interleaved,m!==null){c.interleaved=null;var w=m.next,x=c.pending;if(x!==null){var N=x.next;x.next=w,m.next=N}c.pending=m}ou=null}return i}function pg(i,o){do{var c=tn;try{if(da(),md.current=br,fa){for(var m=Ke.memoizedState;m!==null;){var w=m.queue;w!==null&&(w.pending=null),m=m.next}fa=!1}if(Ge=0,wt=ct=Ke=null,os=!1,Hl=0,Hd.current=null,c===null||c.return===null){zn=1,Xl=o,tn=null;break}e:{var x=i,N=c.return,H=c,Y=o;if(o=Hn,H.flags|=32768,Y!==null&&typeof Y=="object"&&typeof Y.then=="function"){var ue=Y,be=H,xe=be.tag;if(!(be.mode&1)&&(xe===0||xe===11||xe===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=ig(N);if(Ue!==null){Ue.flags&=-257,ep(Ue,N,H,x,o),Ue.mode&1&&Wl(x,ue,o),o=Ue,Y=ue;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)){Wl(x,ue,o),Jl();break e}Y=Error(a(426))}}else if(en&&H.mode&1){var An=ig(N);if(An!==null){!(An.flags&65536)&&(An.flags|=256),ep(An,N,H,x,o),Yh(Co(Y,H));break e}}x=Y=Co(Y,H),zn!==4&&(zn=2),Ao===null?Ao=[x]:Ao.push(x),x=N;do{switch(x.tag){case 3:x.flags|=65536,o&=-o,x.lanes|=o;var ee=rg(x,Y,o);G0(x,ee);break e;case 1:H=Y;var Q=x.type,ae=x.stateNode;if(!(x.flags&128)&&(typeof Q.getDerivedStateFromError=="function"||ae!==null&&typeof ae.componentDidCatch=="function"&&(Ma===null||!Ma.has(ae)))){x.flags|=65536,o&=-o,x.lanes|=o;var Ae=ag(x,H,o);G0(x,Ae);break e}}x=x.return}while(x!==null)}vg(c)}catch(Xe){o=Xe,tn===c&&c!==null&&(tn=c=c.return);continue}break}while(!0)}function mg(){var i=mu.current;return mu.current=br,i===null?br:i}function Jl(){(zn===0||zn===3||zn===2)&&(zn=4),Tn===null||!(gu&268435455)&&!(Ss&268435455)||yi(Tn,Hn)}function Qd(i,o){var c=St;St|=2;var m=mg();(Tn!==i||Hn!==o)&&(qi=null,Eu(i,o));do try{Ny();break}catch(w){pg(i,w)}while(!0);if(da(),St=c,mu.current=m,tn!==null)throw Error(a(261));return Tn=null,Hn=0,zn}function Ny(){for(;tn!==null;)gg(tn)}function Dy(){for(;tn!==null&&!J1();)gg(tn)}function gg(i){var o=bg(i.alternate,i,Xr);i.memoizedProps=i.pendingProps,o===null?vg(i):tn=o,Hd.current=null}function vg(i){var o=i;do{var c=o.alternate;if(i=o.return,o.flags&32768){if(c=_y(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=Cy(c,o,Xr),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 ko(i,o,c){var m=Vt,w=Ia.transition;try{Ia.transition=null,Vt=1,Oy(i,o,c,m)}finally{Ia.transition=w,Vt=m}return null}function Oy(i,o,c,m){do ks();while(Pa!==null);if(St&6)throw Error(a(327));c=i.finishedWork;var w=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 x=c.lanes|c.childLanes;if(ry(i,x),i===Tn&&(tn=Tn=null,Hn=0),!(c.subtreeFlags&2064)&&!(c.flags&2064)||_s||(_s=!0,wg(fo,function(){return ks(),null})),x=(c.flags&15990)!==0,c.subtreeFlags&15990||x){x=Ia.transition,Ia.transition=null;var N=Vt;Vt=1;var H=St;St|=4,Hd.current=null,Ay(i,c),fg(c,i),Kc(tu),Xo=!!Ih,tu=Ih=null,i.current=c,ky(c),ey(),St=H,Vt=N,Ia.transition=x}else i.current=c;if(_s&&(_s=!1,Pa=i,Vd=w),x=i.pendingLanes,x===0&&(Ma=null),t0(c.stateNode),jn(i,En()),o!==null)for(m=i.onRecoverableError,c=0;c<o.length;c++)w=o[c],m(w.value,{componentStack:w.stack,digest:w.digest});if(jd)throw jd=!1,i=sp,sp=null,i;return Vd&1&&i.tag!==0&&ks(),x=i.pendingLanes,x&1?i===Yd?Kl++:(Kl=0,Yd=i):Kl=0,jr(),null}function ks(){if(Pa!==null){var i=dh(Vd),o=Ia.transition,c=Vt;try{if(Ia.transition=null,Vt=16>i?16:i,Pa===null)var m=!1;else{if(i=Pa,Pa=null,Vd=0,St&6)throw Error(a(331));var w=St;for(St|=4,ze=i.current;ze!==null;){var x=ze,N=x.child;if(ze.flags&16){var H=x.deletions;if(H!==null){for(var Y=0;Y<H.length;Y++){var ue=H[Y];for(ze=ue;ze!==null;){var be=ze;switch(be.tag){case 0:case 11:case 15:ys(8,be,x)}var xe=be.child;if(xe!==null)xe.return=be,ze=xe;else for(;ze!==null;){be=ze;var ye=be.sibling,Ue=be.return;if(cg(be),be===ue){ze=null;break}if(ye!==null){ye.return=Ue,ze=ye;break}ze=Ue}}}var Ve=x.alternate;if(Ve!==null){var Qe=Ve.child;if(Qe!==null){Ve.child=null;do{var An=Qe.sibling;Qe.sibling=null,Qe=An}while(Qe!==null)}}ze=x}}if(x.subtreeFlags&2064&&N!==null)N.return=x,ze=N;else e:for(;ze!==null;){if(x=ze,x.flags&2048)switch(x.tag){case 0:case 11:case 15:ys(9,x,x.return)}var ee=x.sibling;if(ee!==null){ee.return=x.return,ze=ee;break e}ze=x.return}}var Q=i.current;for(ze=Q;ze!==null;){N=ze;var ae=N.child;if(N.subtreeFlags&2064&&ae!==null)ae.return=N,ze=ae;else e:for(N=Q;ze!==null;){if(H=ze,H.flags&2048)try{switch(H.tag){case 0:case 11:case 15:Ud(9,H)}}catch(Xe){xn(H,H.return,Xe)}if(H===N){ze=null;break e}var Ae=H.sibling;if(Ae!==null){Ae.return=H.return,ze=Ae;break e}ze=H.return}}if(St=w,jr(),$a&&typeof $a.onPostCommitFiberRoot=="function")try{$a.onPostCommitFiberRoot(hl,i)}catch{}m=!0}return m}finally{Vt=c,Ia.transition=o}}return!1}function yg(i,o,c){o=Co(c,o),o=rg(i,o,1),i=xo(i,o,1),o=er(),i!==null&&(Go(i,1,o),jn(i,o))}function xn(i,o,c){if(i.tag===3)yg(i,i,c);else for(;o!==null;){if(o.tag===3){yg(o,i,c);break}else if(o.tag===1){var m=o.stateNode;if(typeof o.type.getDerivedStateFromError=="function"||typeof m.componentDidCatch=="function"&&(Ma===null||!Ma.has(m))){i=Co(c,i),i=ag(o,i,1),o=xo(o,i,1),i=er(),o!==null&&(Go(o,1,i),jn(o,i));break}}o=o.return}}function Ly(i,o,c){var m=i.pingCache;m!==null&&m.delete(o),o=er(),i.pingedLanes|=i.suspendedLanes&c,Tn===i&&(Hn&c)===c&&(zn===4||zn===3&&(Hn&130023424)===Hn&&500>En()-zd?Eu(i,0):up|=c),jn(i,o)}function Eg(i,o){o===0&&(i.mode&1?(o=ju,ju<<=1,!(ju&130023424)&&(ju=4194304)):o=1);var c=er();i=Vi(i,o),i!==null&&(Go(i,o,c),jn(i,c))}function fp(i){var o=i.memoizedState,c=0;o!==null&&(c=o.retryLane),Eg(i,c)}function Iy(i,o){var c=0;switch(i.tag){case 13:var m=i.stateNode,w=i.memoizedState;w!==null&&(c=w.retryLane);break;case 19:m=i.stateNode;break;default:throw Error(a(314))}m!==null&&m.delete(o),Eg(i,c)}var bg;bg=function(i,o,c){if(i!==null)if(i.memoizedProps!==o.pendingProps||bn.current)$r=!0;else{if(!(i.lanes&c)&&!(o.flags&128))return $r=!1,Wi(i,o,c);$r=!!(i.flags&131072)}else $r=!1,en&&o.flags&1048576&&zh(o,es,o.index);switch(o.lanes=0,o.tag){case 2:var m=o.type;$l(i,o),i=o.pendingProps;var w=_a(o,lt.current);ns(o,c),w=ve(null,o,m,i,w,c);var x=Mn();return o.flags|=1,typeof w=="object"&&w!==null&&typeof w.render=="function"&&w.$$typeof===void 0?(o.tag=1,o.memoizedState=null,o.updateQueue=null,on(m)?(x=!0,rd(o)):x=!1,o.memoizedState=w.state!==null&&w.state!==void 0?w.state:null,cd(o),w.updater=fu,o.stateNode=w,w._reactInternals=o,Zh(o,m,i,c),o=Od(null,o,m,!0,x,c)):(o.tag=0,en&&x&&ad(o),Cn(null,o,w,c),o=o.child),o;case 16:m=o.elementType;e:{switch($l(i,o),i=o.pendingProps,w=m._init,m=w(m._payload),o.type=m,w=o.tag=My(m),i=Qr(m,i),w){case 0:o=mt(null,o,m,i,c);break e;case 1:o=ql(null,o,m,i,c);break e;case 11:o=hs(null,o,m,i,c);break e;case 14:o=_o(null,o,m,Qr(m.type,i),c);break e}throw Error(a(306,m,""))}return o;case 0:return m=o.type,w=o.pendingProps,w=o.elementType===m?w:Qr(m,w),mt(i,o,m,w,c);case 1:return m=o.type,w=o.pendingProps,w=o.elementType===m?w:Qr(m,w),ql(i,o,m,w,c);case 3:e:{if(Sy(o),i===null)throw Error(a(387));m=o.pendingProps,x=o.memoizedState,w=x.element,rs(i,o),fd(o,m,null,c);var N=o.memoizedState;if(m=N.element,x.isDehydrated)if(x={element:m,isDehydrated:!1,cache:N.cache,pendingSuspenseBoundaries:N.pendingSuspenseBoundaries,transitions:N.transitions},o.updateQueue.baseState=x,o.memoizedState=x,o.flags&256){w=Co(Error(a(423)),o),o=ug(i,o,m,c,w);break e}else if(m!==w){w=Co(Error(a(424)),o),o=ug(i,o,m,c,w);break e}else for(Wr=Ja(o.stateNode.containerInfo.firstChild),ca=o,en=!0,Ra=null,c=Q0(o,null,m,c),o.child=c;c;)c.flags=c.flags&-3|4096,c=c.sibling;else{if(fn(),m===w){o=_n(i,o,c);break e}Cn(i,o,m,c)}o=o.child}return o;case 5:return K0(o),i===null&&od(o),m=o.type,w=o.pendingProps,x=i!==null?i.memoizedProps:null,N=w.children,Ol(m,w)?N=null:x!==null&&Ol(m,x)&&(o.flags|=32),hu(i,o),Cn(i,o,N,c),o.child;case 6:return i===null&&od(o),null;case 13:return sg(i,o,c);case 4:return Qh(o,o.stateNode.containerInfo),m=o.pendingProps,i===null?o.child=ts(o,null,m,c):Cn(i,o,m,c),o.child;case 11:return m=o.type,w=o.pendingProps,w=o.elementType===m?w:Qr(m,w),hs(i,o,m,w,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,w=o.pendingProps,x=o.memoizedProps,N=w.value,zt(ji,m._currentValue),m._currentValue=N,x!==null)if(Sa(x.value,N)){if(x.children===w.children&&!bn.current){o=_n(i,o,c);break e}}else for(x=o.child,x!==null&&(x.return=o);x!==null;){var H=x.dependencies;if(H!==null){N=x.child;for(var Y=H.firstContext;Y!==null;){if(Y.context===m){if(x.tag===1){Y=qr(-1,c&-c),Y.tag=2;var ue=x.updateQueue;if(ue!==null){ue=ue.shared;var be=ue.pending;be===null?Y.next=Y:(Y.next=be.next,be.next=Y),ue.pending=Y}}x.lanes|=c,Y=x.alternate,Y!==null&&(Y.lanes|=c),qh(x.return,c,o),H.lanes|=c;break}Y=Y.next}}else if(x.tag===10)N=x.type===o.type?null:x.child;else if(x.tag===18){if(N=x.return,N===null)throw Error(a(341));N.lanes|=c,H=N.alternate,H!==null&&(H.lanes|=c),qh(N,c,o),N=x.sibling}else N=x.child;if(N!==null)N.return=x;else for(N=x;N!==null;){if(N===o){N=null;break}if(x=N.sibling,x!==null){x.return=N.return,N=x;break}N=N.return}x=N}Cn(i,o,w.children,c),o=o.child}return o;case 9:return w=o.type,m=o.pendingProps.children,ns(o,c),w=Da(w),m=m(w),o.flags|=1,Cn(i,o,m,c),o.child;case 14:return m=o.type,w=Qr(m,o.pendingProps),w=Qr(m.type,w),_o(i,o,m,w,c);case 15:return Dd(i,o,o.type,o.pendingProps,c);case 17:return m=o.type,w=o.pendingProps,w=o.elementType===m?w:Qr(m,w),$l(i,o),o.tag=1,on(m)?(i=!0,rd(o)):i=!1,ns(o,c),eg(o,m,w),Zh(o,m,w,c),Od(null,o,m,!0,i,c);case 19:return np(i,o,c);case 22:return Gr(i,o,c)}throw Error(a(156,o.tag))};function wg(i,o){return oh(i,o)}function Tg(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 Fa(i,o,c,m){return new Tg(i,o,c,m)}function hp(i){return i=i.prototype,!(!i||!i.isReactComponent)}function My(i){if(typeof i=="function")return hp(i)?1:0;if(i!=null){if(i=i.$$typeof,i===ge)return 11;if(i===qe)return 14}return 2}function Ro(i,o){var c=i.alternate;return c===null?(c=Fa(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 $d(i,o,c,m,w,x){var N=2;if(m=i,typeof i=="function")hp(i)&&(N=1);else if(typeof i=="string")N=5;else e:switch(i){case ce:return bu(c.children,w,x,o);case Te:N=8,w|=8;break;case Me:return i=Fa(12,c,o,w|2),i.elementType=Me,i.lanes=x,i;case Re:return i=Fa(13,c,o,w),i.elementType=Re,i.lanes=x,i;case Oe:return i=Fa(19,c,o,w),i.elementType=Oe,i.lanes=x,i;case at:return Gd(c,w,x,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=Fa(N,c,o,w),o.elementType=i,o.type=m,o.lanes=x,o}function bu(i,o,c,m){return i=Fa(7,i,m,o),i.lanes=c,i}function Gd(i,o,c,m){return i=Fa(22,i,m,o),i.elementType=at,i.lanes=c,i.stateNode={isHidden:!1},i}function Xd(i,o,c){return i=Fa(6,i,null,o),i.lanes=c,i}function ec(i,o,c){return o=Fa(4,i.children!==null?i.children:[],i.key,o),o.lanes=c,o.stateNode={containerInfo:i.containerInfo,pendingChildren:null,implementation:i.implementation},o}function tc(i,o,c,m,w){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=ch(0),this.expirationTimes=ch(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ch(0),this.identifierPrefix=m,this.onRecoverableError=w,this.mutableSourceEagerHydrationData=null}function pp(i,o,c,m,w,x,N,H,Y){return i=new tc(i,o,c,H,Y),o===1?(o=1,x===!0&&(o|=8)):o=0,x=Fa(3,null,null,o),i.current=x,x.stateNode=i,x.memoizedState={element:m,isDehydrated:c,cache:null,transitions:null,pendingSuspenseBoundaries:null},cd(x),i}function xg(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 mp(i){if(!i)return pi;i=i._reactInternals;e:{if(fi(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 Ml(i,c,o)}return o}function gp(i,o,c,m,w,x,N,H,Y){return i=pp(c,m,!0,i,w,x,N,H,Y),i.context=mp(null),c=i.current,m=er(),w=Qi(c),x=qr(m,w),x.callback=o??null,xo(c,x,w),i.current.lanes=w,Go(i,w,m),jn(i,m),i}function Kd(i,o,c,m){var w=o.current,x=er(),N=Qi(w);return c=mp(c),o.context===null?o.context=c:o.pendingContext=c,o=qr(x,N),o.payload={element:i},m=m===void 0?null:m,m!==null&&(o.callback=m),i=xo(w,o,N),i!==null&&(hn(i,w,N,x),dd(i,w,N)),N}function nc(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 Sg(i,o){if(i=i.memoizedState,i!==null&&i.dehydrated!==null){var c=i.retryLane;i.retryLane=c!==0&&c<o?c:o}}function vp(i,o){Sg(i,o),(i=i.alternate)&&Sg(i,o)}function Py(){return null}var yp=typeof reportError=="function"?reportError:function(i){console.error(i)};function Zd(i){this._internalRoot=i}rc.prototype.render=Zd.prototype.render=function(i){var o=this._internalRoot;if(o===null)throw Error(a(409));Kd(i,o,null,null)},rc.prototype.unmount=Zd.prototype.unmount=function(){var i=this._internalRoot;if(i!==null){this._internalRoot=null;var o=i.containerInfo;Ei(function(){Kd(null,i,null,null)}),o[Hi]=null}};function rc(i){this._internalRoot=i}rc.prototype.unstable_scheduleHydration=function(i){if(i){var o=i0();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&&o0(i)}};function No(i){return!(!i||i.nodeType!==1&&i.nodeType!==9&&i.nodeType!==11)}function Jd(i){return!(!i||i.nodeType!==1&&i.nodeType!==9&&i.nodeType!==11&&(i.nodeType!==8||i.nodeValue!==" react-mount-point-unstable "))}function Cg(){}function Fy(i,o,c,m,w){if(w){if(typeof m=="function"){var x=m;m=function(){var ue=nc(N);x.call(ue)}}var N=gp(o,m,i,0,null,!1,!1,"",Cg);return i._reactRootContainer=N,i[Hi]=N.current,Zu(i.nodeType===8?i.parentNode:i),Ei(),N}for(;w=i.lastChild;)i.removeChild(w);if(typeof m=="function"){var H=m;m=function(){var ue=nc(Y);H.call(ue)}}var Y=pp(i,0,!1,null,null,!1,!1,"",Cg);return i._reactRootContainer=Y,i[Hi]=Y.current,Zu(i.nodeType===8?i.parentNode:i),Ei(function(){Kd(o,Y,c,m)}),Y}function ef(i,o,c,m,w){var x=c._reactRootContainer;if(x){var N=x;if(typeof w=="function"){var H=w;w=function(){var Y=nc(N);H.call(Y)}}Kd(o,N,i,w)}else N=Fy(c,o,i,w,m);return nc(N)}a0=function(i){switch(i.tag){case 3:var o=i.stateNode;if(o.current.memoizedState.isDehydrated){var c=$o(o.pendingLanes);c!==0&&(pl(o,c|1),jn(o,En()),!(St&6)&&(Cs=En()+500,jr()))}break;case 13:Ei(function(){var m=Vi(i,1);if(m!==null){var w=er();hn(m,i,1,w)}}),vp(i,1)}},Bc=function(i){if(i.tag===13){var o=Vi(i,134217728);if(o!==null){var c=er();hn(o,i,134217728,c)}vp(i,134217728)}},Yt=function(i){if(i.tag===13){var o=Qi(i),c=Vi(i,o);if(c!==null){var m=er();hn(c,i,o,m)}vp(i,o)}},i0=function(){return Vt},fh=function(i,o){var c=Vt;try{return Vt=i,o()}finally{Vt=c}},di=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 w=nt(m);if(!w)throw Error(a(90));Ur(m),$n(m,w)}}}break;case"textarea":ci(i,c);break;case"select":o=c.value,o!=null&&li(i,!!c.multiple,o,!1)}},Gm=dp,Xm=Ei;var Uy={usingClientEntryPoint:!1,Events:[Il,Ju,nt,Oc,Lc,dp]},ac={findFiberByHostInstance:Ca,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},_g={bundleType:ac.bundleType,version:ac.version,rendererPackageName:ac.rendererPackageName,rendererConfig:ac.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Z.ReactCurrentDispatcher,findHostInstanceByFiber:function(i){return i=Km(i),i===null?null:i.stateNode},findFiberByHostInstance:ac.findFiberByHostInstance||Py,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 tf=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!tf.isDisabled&&tf.supportsFiber)try{hl=tf.inject(_g),$a=tf}catch{}}return Ya.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Uy,Ya.createPortal=function(i,o){var c=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!No(o))throw Error(a(200));return xg(i,o,null,c)},Ya.createRoot=function(i,o){if(!No(i))throw Error(a(299));var c=!1,m="",w=yp;return o!=null&&(o.unstable_strictMode===!0&&(c=!0),o.identifierPrefix!==void 0&&(m=o.identifierPrefix),o.onRecoverableError!==void 0&&(w=o.onRecoverableError)),o=pp(i,1,!1,null,null,c,!1,m,w),i[Hi]=o.current,Zu(i.nodeType===8?i.parentNode:i),new Zd(o)},Ya.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=Km(o),i=i===null?null:i.stateNode,i},Ya.flushSync=function(i){return Ei(i)},Ya.hydrate=function(i,o,c){if(!Jd(o))throw Error(a(200));return ef(null,i,o,!0,c)},Ya.hydrateRoot=function(i,o,c){if(!No(i))throw Error(a(405));var m=c!=null&&c.hydratedSources||null,w=!1,x="",N=yp;if(c!=null&&(c.unstable_strictMode===!0&&(w=!0),c.identifierPrefix!==void 0&&(x=c.identifierPrefix),c.onRecoverableError!==void 0&&(N=c.onRecoverableError)),o=gp(o,null,i,1,c??null,w,!1,x,N),i[Hi]=o.current,Zu(i),m)for(i=0;i<m.length;i++)c=m[i],w=c._getVersion,w=w(c._source),o.mutableSourceEagerHydrationData==null?o.mutableSourceEagerHydrationData=[c,w]:o.mutableSourceEagerHydrationData.push(c,w);return new rc(o)},Ya.render=function(i,o,c){if(!Jd(o))throw Error(a(200));return ef(null,i,o,!1,c)},Ya.unmountComponentAtNode=function(i){if(!Jd(i))throw Error(a(40));return i._reactRootContainer?(Ei(function(){ef(null,null,i,!1,function(){i._reactRootContainer=null,i[Hi]=null})}),!0):!1},Ya.unstable_batchedUpdates=dp,Ya.unstable_renderSubtreeIntoContainer=function(i,o,c,m){if(!Jd(c))throw Error(a(200));if(i==null||i._reactInternals===void 0)throw Error(a(38));return ef(i,o,c,!1,m)},Ya.version="18.3.1-next-f1338f8080-20240426",Ya}var Wa={};/**
|
|
61
61
|
* @license React
|
|
62
62
|
* react-dom.development.js
|
|
63
63
|
*
|
|
@@ -65,7 +65,7 @@ Error generating stack: `+x.message+`
|
|
|
65
65
|
*
|
|
66
66
|
* This source code is licensed under the MIT license found in the
|
|
67
67
|
* LICENSE file in the root directory of this source tree.
|
|
68
|
-
*/var _A;function tz(){return _A||(_A=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=Dt,n=K3(),a=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,s=!1;function f(t){s=t}function p(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,h=l.getStackAddendum();h!==""&&(r+="%s",u=u.concat([h]));var v=u.map(function(T){return String(T)});v.unshift("Warning: "+r),Function.prototype.apply.call(console[t],console,v)}}var E=0,b=1,C=2,S=3,R=4,A=5,D=6,L=7,B=8,z=9,G=10,W=11,Z=12,J=13,X=14,ce=15,Te=16,Me=17,K=18,Ee=19,ge=21,Re=22,Oe=23,qe=24,je=25,at=!0,pe=!1,De=!1,P=!1,et=!1,Et=!0,V=!1,$t=!0,Qn=!0,kt=!0,rr=!0,dn=new Set,Rn={},_r={};function Nn(t,r){Ur(t,r),Ur(t+"Capture",r)}function Ur(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();_r[u]=t,t==="onDoubleClick"&&(_r.ondblclick=t)}for(var l=0;l<r.length;l++)dn.add(r[l])}var an=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Fn=Object.prototype.hasOwnProperty;function ar(t){{var r=typeof Symbol=="function"&&Symbol.toStringTag,u=r&&t[Symbol.toStringTag]||t.constructor.name||"Object";return u}}function gr(t){try{return $n(t),!1}catch{return!0}}function $n(t){return""+t}function ia(t,r){if(gr(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,ar(t)),$n(t)}function Br(t){if(gr(t))return d("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",ar(t)),$n(t)}function si(t,r){if(gr(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,ar(t)),$n(t)}function li(t,r){if(gr(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,ar(t)),$n(t)}function Di(t){if(gr(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.",ar(t)),$n(t)}function oa(t){if(gr(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.",ar(t)),$n(t)}var ci=0,ba=1,de=2,Ce=3,tt=4,vt=5,_t=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",$e=Ne+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",dt=new RegExp("^["+Ne+"]["+$e+"]*$"),It={},Gt={};function Ht(t){return Fn.call(Gt,t)?!0:Fn.call(It,t)?!1:dt.test(t)?(Gt[t]=!0,!0):(It[t]=!0,d("Invalid attribute name: `%s`",t),!1)}function Kt(t,r,u){return r!==null?r.type===ci:u?!1:t.length>2&&(t[0]==="o"||t[0]==="O")&&(t[1]==="n"||t[1]==="N")}function gn(t,r,u,l){if(u!==null&&u.type===ci)return!1;switch(typeof r){case"function":case"symbol":return!0;case"boolean":{if(l)return!1;if(u!==null)return!u.acceptsBooleans;var h=t.toLowerCase().slice(0,5);return h!=="data-"&&h!=="aria-"}default:return!1}}function vn(t,r,u,l){if(r===null||typeof r>"u"||gn(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 vt:return isNaN(r);case _t:return isNaN(r)||r<1}return!1}function di(t){return yn.hasOwnProperty(t)?yn[t]:null}function Dn(t,r,u,l,h,v,T){this.acceptsBooleans=r===de||r===Ce||r===tt,this.attributeName=l,this.attributeNamespace=h,this.mustUseProperty=u,this.propertyName=t,this.type=r,this.sanitizeURL=v,this.removeEmptyString=T}var yn={},$m=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];$m.forEach(function(t){yn[t]=new Dn(t,ci,!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];yn[r]=new Dn(r,ba,!1,u,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(t){yn[t]=new Dn(t,de,!1,t.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(t){yn[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){yn[t]=new Dn(t,Ce,!1,t.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(t){yn[t]=new Dn(t,Ce,!0,t,null,!1,!1)}),["capture","download"].forEach(function(t){yn[t]=new Dn(t,tt,!1,t,null,!1,!1)}),["cols","rows","size","span"].forEach(function(t){yn[t]=new Dn(t,_t,!1,t,null,!1,!1)}),["rowSpan","start"].forEach(function(t){yn[t]=new Dn(t,vt,!1,t.toLowerCase(),null,!1,!1)});var Oc=/[\-\:]([a-z])/g,Lc=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(Oc,Lc);yn[r]=new Dn(r,ba,!1,t,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(t){var r=t.replace(Oc,Lc);yn[r]=new Dn(r,ba,!1,t,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(t){var r=t.replace(Oc,Lc);yn[r]=new Dn(r,ba,!1,t,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(t){yn[t]=new Dn(t,ba,!1,t.toLowerCase(),null,!1,!1)});var Gm="xlinkHref";yn[Gm]=new Dn("xlinkHref",ba,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(t){yn[t]=new Dn(t,ba,!1,t.toLowerCase(),null,!0,!0)});var Xm=/^[\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,Ic=!1;function rh(t){!Ic&&Xm.test(t)&&(Ic=!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 cl(t,r,u,l){if(l.mustUseProperty){var h=l.propertyName;return t[h]}else{ia(u,r),l.sanitizeURL&&rh(""+u);var v=l.attributeName,T=null;if(l.type===tt){if(t.hasAttribute(v)){var _=t.getAttribute(v);return _===""?!0:vn(r,u,l,!1)?_:_===""+u?u:_}}else if(t.hasAttribute(v)){if(vn(r,u,l,!1))return t.getAttribute(v);if(l.type===Ce)return u;T=t.getAttribute(v)}return vn(r,u,l,!1)?T===null?u:T:T===""+u?u:T}}function Mc(t,r,u,l){{if(!Ht(r))return;if(!t.hasAttribute(r))return u===void 0?void 0:null;var h=t.getAttribute(r);return ia(u,r),h===""+u?u:h}}function Qo(t,r,u,l){var h=di(r);if(!Kt(r,h,l)){if(vn(r,u,h,l)&&(u=null),l||h===null){if(Ht(r)){var v=r;u===null?t.removeAttribute(v):(ia(u,r),t.setAttribute(v,""+u))}return}var T=h.mustUseProperty;if(T){var _=h.propertyName;if(u===null){var k=h.type;t[_]=k===Ce?!1:""}else t[_]=u;return}var O=h.attributeName,I=h.attributeNamespace;if(u===null)t.removeAttribute(O);else{var $=h.type,q;$===Ce||$===tt&&u===!0?q="":(ia(u,O),q=""+u,h.sanitizeURL&&rh(q.toString())),I?t.setAttributeNS(I,O,q):t.setAttribute(O,q)}}}var Uu=Symbol.for("react.element"),Qa=Symbol.for("react.portal"),Oi=Symbol.for("react.fragment"),Bu=Symbol.for("react.strict_mode"),dl=Symbol.for("react.profiler"),ah=Symbol.for("react.provider"),ih=Symbol.for("react.context"),Hu=Symbol.for("react.forward_ref"),fi=Symbol.for("react.suspense"),fl=Symbol.for("react.suspense_list"),zu=Symbol.for("react.memo"),Ar=Symbol.for("react.lazy"),Km=Symbol.for("react.scope"),Zm=Symbol.for("react.debug_trace_mode"),oh=Symbol.for("react.offscreen"),Jm=Symbol.for("react.legacy_hidden"),J1=Symbol.for("react.cache"),ey=Symbol.for("react.tracing_marker"),En=Symbol.iterator,ty="@@iterator";function Li(t){if(t===null||typeof t!="object")return null;var r=En&&t[En]||t[ty];return typeof r=="function"?r:null}var xt=Object.assign,fo=0,e0,uh,hl,$a,t0,wa,n0;function r0(){}r0.__reactDisabledLog=!0;function ny(){{if(fo===0){e0=console.log,uh=console.info,hl=console.warn,$a=console.error,t0=console.group,wa=console.groupCollapsed,n0=console.groupEnd;var t={configurable:!0,enumerable:!0,value:r0,writable:!0};Object.defineProperties(console,{info:t,log:t,warn:t,error:t,group:t,groupCollapsed:t,groupEnd:t})}fo++}}function Pc(){{if(fo--,fo===0){var t={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:xt({},t,{value:e0}),info:xt({},t,{value:uh}),warn:xt({},t,{value:hl}),error:xt({},t,{value:$a}),group:xt({},t,{value:t0}),groupCollapsed:xt({},t,{value:wa}),groupEnd:xt({},t,{value:n0})})}fo<0&&d("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ju=a.ReactCurrentDispatcher,$o;function Ga(t,r,u){{if($o===void 0)try{throw Error()}catch(h){var l=h.stack.trim().match(/\n( *(at )?)/);$o=l&&l[1]||""}return`
|
|
68
|
+
*/var _A;function ez(){return _A||(_A=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=Dt,n=K3(),a=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,s=!1;function f(t){s=t}function p(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,h=l.getStackAddendum();h!==""&&(r+="%s",u=u.concat([h]));var v=u.map(function(T){return String(T)});v.unshift("Warning: "+r),Function.prototype.apply.call(console[t],console,v)}}var E=0,b=1,C=2,S=3,R=4,A=5,D=6,L=7,B=8,z=9,G=10,W=11,Z=12,J=13,X=14,ce=15,Te=16,Me=17,K=18,Ee=19,ge=21,Re=22,Oe=23,qe=24,je=25,at=!0,pe=!1,De=!1,P=!1,et=!1,Et=!0,V=!1,$t=!0,Qn=!0,kt=!0,rr=!0,dn=new Set,Rn={},_r={};function Nn(t,r){Ur(t,r),Ur(t+"Capture",r)}function Ur(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();_r[u]=t,t==="onDoubleClick"&&(_r.ondblclick=t)}for(var l=0;l<r.length;l++)dn.add(r[l])}var an=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Fn=Object.prototype.hasOwnProperty;function ar(t){{var r=typeof Symbol=="function"&&Symbol.toStringTag,u=r&&t[Symbol.toStringTag]||t.constructor.name||"Object";return u}}function gr(t){try{return $n(t),!1}catch{return!0}}function $n(t){return""+t}function ia(t,r){if(gr(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,ar(t)),$n(t)}function Br(t){if(gr(t))return d("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",ar(t)),$n(t)}function si(t,r){if(gr(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,ar(t)),$n(t)}function li(t,r){if(gr(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,ar(t)),$n(t)}function Di(t){if(gr(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.",ar(t)),$n(t)}function oa(t){if(gr(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.",ar(t)),$n(t)}var ci=0,ba=1,de=2,Ce=3,tt=4,yt=5,_t=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",$e=Ne+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",dt=new RegExp("^["+Ne+"]["+$e+"]*$"),It={},Gt={};function Ht(t){return Fn.call(Gt,t)?!0:Fn.call(It,t)?!1:dt.test(t)?(Gt[t]=!0,!0):(It[t]=!0,d("Invalid attribute name: `%s`",t),!1)}function Kt(t,r,u){return r!==null?r.type===ci:u?!1:t.length>2&&(t[0]==="o"||t[0]==="O")&&(t[1]==="n"||t[1]==="N")}function gn(t,r,u,l){if(u!==null&&u.type===ci)return!1;switch(typeof r){case"function":case"symbol":return!0;case"boolean":{if(l)return!1;if(u!==null)return!u.acceptsBooleans;var h=t.toLowerCase().slice(0,5);return h!=="data-"&&h!=="aria-"}default:return!1}}function vn(t,r,u,l){if(r===null||typeof r>"u"||gn(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 _t:return isNaN(r)||r<1}return!1}function di(t){return yn.hasOwnProperty(t)?yn[t]:null}function Dn(t,r,u,l,h,v,T){this.acceptsBooleans=r===de||r===Ce||r===tt,this.attributeName=l,this.attributeNamespace=h,this.mustUseProperty=u,this.propertyName=t,this.type=r,this.sanitizeURL=v,this.removeEmptyString=T}var yn={},$m=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];$m.forEach(function(t){yn[t]=new Dn(t,ci,!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];yn[r]=new Dn(r,ba,!1,u,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(t){yn[t]=new Dn(t,de,!1,t.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(t){yn[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){yn[t]=new Dn(t,Ce,!1,t.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(t){yn[t]=new Dn(t,Ce,!0,t,null,!1,!1)}),["capture","download"].forEach(function(t){yn[t]=new Dn(t,tt,!1,t,null,!1,!1)}),["cols","rows","size","span"].forEach(function(t){yn[t]=new Dn(t,_t,!1,t,null,!1,!1)}),["rowSpan","start"].forEach(function(t){yn[t]=new Dn(t,yt,!1,t.toLowerCase(),null,!1,!1)});var Oc=/[\-\:]([a-z])/g,Lc=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(Oc,Lc);yn[r]=new Dn(r,ba,!1,t,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(t){var r=t.replace(Oc,Lc);yn[r]=new Dn(r,ba,!1,t,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(t){var r=t.replace(Oc,Lc);yn[r]=new Dn(r,ba,!1,t,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(t){yn[t]=new Dn(t,ba,!1,t.toLowerCase(),null,!1,!1)});var Gm="xlinkHref";yn[Gm]=new Dn("xlinkHref",ba,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(t){yn[t]=new Dn(t,ba,!1,t.toLowerCase(),null,!0,!0)});var Xm=/^[\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,Ic=!1;function rh(t){!Ic&&Xm.test(t)&&(Ic=!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 cl(t,r,u,l){if(l.mustUseProperty){var h=l.propertyName;return t[h]}else{ia(u,r),l.sanitizeURL&&rh(""+u);var v=l.attributeName,T=null;if(l.type===tt){if(t.hasAttribute(v)){var _=t.getAttribute(v);return _===""?!0:vn(r,u,l,!1)?_:_===""+u?u:_}}else if(t.hasAttribute(v)){if(vn(r,u,l,!1))return t.getAttribute(v);if(l.type===Ce)return u;T=t.getAttribute(v)}return vn(r,u,l,!1)?T===null?u:T:T===""+u?u:T}}function Mc(t,r,u,l){{if(!Ht(r))return;if(!t.hasAttribute(r))return u===void 0?void 0:null;var h=t.getAttribute(r);return ia(u,r),h===""+u?u:h}}function Qo(t,r,u,l){var h=di(r);if(!Kt(r,h,l)){if(vn(r,u,h,l)&&(u=null),l||h===null){if(Ht(r)){var v=r;u===null?t.removeAttribute(v):(ia(u,r),t.setAttribute(v,""+u))}return}var T=h.mustUseProperty;if(T){var _=h.propertyName;if(u===null){var k=h.type;t[_]=k===Ce?!1:""}else t[_]=u;return}var O=h.attributeName,I=h.attributeNamespace;if(u===null)t.removeAttribute(O);else{var $=h.type,q;$===Ce||$===tt&&u===!0?q="":(ia(u,O),q=""+u,h.sanitizeURL&&rh(q.toString())),I?t.setAttributeNS(I,O,q):t.setAttribute(O,q)}}}var Uu=Symbol.for("react.element"),Qa=Symbol.for("react.portal"),Oi=Symbol.for("react.fragment"),Bu=Symbol.for("react.strict_mode"),dl=Symbol.for("react.profiler"),ah=Symbol.for("react.provider"),ih=Symbol.for("react.context"),Hu=Symbol.for("react.forward_ref"),fi=Symbol.for("react.suspense"),fl=Symbol.for("react.suspense_list"),zu=Symbol.for("react.memo"),Ar=Symbol.for("react.lazy"),Km=Symbol.for("react.scope"),Zm=Symbol.for("react.debug_trace_mode"),oh=Symbol.for("react.offscreen"),Jm=Symbol.for("react.legacy_hidden"),J1=Symbol.for("react.cache"),ey=Symbol.for("react.tracing_marker"),En=Symbol.iterator,ty="@@iterator";function Li(t){if(t===null||typeof t!="object")return null;var r=En&&t[En]||t[ty];return typeof r=="function"?r:null}var xt=Object.assign,fo=0,e0,uh,hl,$a,t0,wa,n0;function r0(){}r0.__reactDisabledLog=!0;function ny(){{if(fo===0){e0=console.log,uh=console.info,hl=console.warn,$a=console.error,t0=console.group,wa=console.groupCollapsed,n0=console.groupEnd;var t={configurable:!0,enumerable:!0,value:r0,writable:!0};Object.defineProperties(console,{info:t,log:t,warn:t,error:t,group:t,groupCollapsed:t,groupEnd:t})}fo++}}function Pc(){{if(fo--,fo===0){var t={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:xt({},t,{value:e0}),info:xt({},t,{value:uh}),warn:xt({},t,{value:hl}),error:xt({},t,{value:$a}),group:xt({},t,{value:t0}),groupCollapsed:xt({},t,{value:wa}),groupEnd:xt({},t,{value:n0})})}fo<0&&d("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ju=a.ReactCurrentDispatcher,$o;function Ga(t,r,u){{if($o===void 0)try{throw Error()}catch(h){var l=h.stack.trim().match(/\n( *(at )?)/);$o=l&&l[1]||""}return`
|
|
69
69
|
`+$o+t}}var sh=!1,Fc;{var lh=typeof WeakMap=="function"?WeakMap:Map;Fc=new lh}function Uc(t,r){if(!t||sh)return"";{var u=Fc.get(t);if(u!==void 0)return u}var l;sh=!0;var h=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var v;v=ju.current,ju.current=null,ny();try{if(r){var T=function(){throw Error()};if(Object.defineProperty(T.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(T,[])}catch(se){l=se}Reflect.construct(t,[],T)}else{try{T.call()}catch(se){l=se}t.call(T.prototype)}}else{try{throw Error()}catch(se){l=se}t()}}catch(se){if(se&&l&&typeof se.stack=="string"){for(var _=se.stack.split(`
|
|
70
70
|
`),k=l.stack.split(`
|
|
71
71
|
`),O=_.length-1,I=k.length-1;O>=1&&I>=0&&_[O]!==k[I];)I--;for(;O>=1&&I>=0;O--,I--)if(_[O]!==k[I]){if(O!==1||I!==1)do if(O--,I--,I<0||_[O]!==k[I]){var $=`
|
|
@@ -86,7 +86,7 @@ Check the render method of \``+t+"`.":""}var f0=["value","defaultValue"];functio
|
|
|
86
86
|
* @internal
|
|
87
87
|
* @license Modernizr 3.0.0pre (Custom Build) | MIT
|
|
88
88
|
*/function tf(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){ed(l);var h=Ng(r,"onChange");if(h.length>0){var v=new Wd("onChange","change",null,u,l);t.push({event:v,listeners:h})}}var c=null,m=null;function w(t){var r=t.nodeName&&t.nodeName.toLowerCase();return r==="select"||r==="input"&&t.type==="file"}function x(t){var r=[];o(r,m,t,Jc(t)),Lh(N,r)}function N(t){Rx(t,0)}function H(t){var r=sf(t);if(s0(r))return t}function Y(t,r){if(t==="change")return r}var ue=!1;an&&(ue=tf("input")&&(!document.documentMode||document.documentMode>9));function be(t,r){c=t,m=r,c.attachEvent("onpropertychange",ye)}function xe(){c&&(c.detachEvent("onpropertychange",ye),c=null,m=null)}function ye(t){t.propertyName==="value"&&H(m)&&x(t)}function Ue(t,r,u){t==="focusin"?(xe(),be(r,u)):t==="focusout"&&xe()}function Ve(t,r){if(t==="selectionchange"||t==="keyup"||t==="keydown")return H(m)}function Qe(t){var r=t.nodeName;return r&&r.toLowerCase()==="input"&&(t.type==="checkbox"||t.type==="radio")}function An(t,r){if(t==="click")return H(r)}function ee(t,r){if(t==="input"||t==="change")return H(r)}function Q(t){var r=t._wrapperState;!r||!r.controlled||t.type!=="number"||po(t,"number",t.value)}function ae(t,r,u,l,h,v,T){var _=u?sf(u):window,k,O;if(w(_)?k=Y:_g(_)?ue?k=ee:(k=Ve,O=Ue):Qe(_)&&(k=An),k){var I=k(r,u);if(I){o(t,I,l,h);return}}O&&O(r,_,u),r==="focusout"&&Q(_)}function Ae(){Ur("onMouseEnter",["mouseout","mouseover"]),Ur("onMouseLeave",["mouseout","mouseover"]),Ur("onPointerEnter",["pointerout","pointerover"]),Ur("onPointerLeave",["pointerout","pointerover"])}function Xe(t,r,u,l,h,v,T){var _=r==="mouseover"||r==="pointerover",k=r==="mouseout"||r==="pointerout";if(_&&!B0(l)){var O=l.relatedTarget||l.fromElement;if(O&&(uc(O)||Op(O)))return}if(!(!k&&!_)){var I;if(h.window===h)I=h;else{var $=h.ownerDocument;$?I=$.defaultView||$.parentWindow:I=window}var q,oe;if(k){var se=l.relatedTarget||l.toElement;if(q=u,oe=se?uc(se):null,oe!==null){var fe=la(oe);(oe!==fe||oe.tag!==A&&oe.tag!==D)&&(oe=null)}}else q=null,oe=u;if(q!==oe){var Pe=qd,rt="onMouseLeave",Ze="onMouseEnter",Nt="mouse";(r==="pointerout"||r==="pointerover")&&(Pe=Tg,rt="onPointerLeave",Ze="onPointerEnter",Nt="pointer");var Ct=q==null?I:sf(q),te=oe==null?I:sf(oe),he=new Pe(rt,Nt+"leave",q,l,h);he.target=Ct,he.relatedTarget=te;var ne=null,Se=uc(h);if(Se===u){var He=new Pe(Ze,Nt+"enter",oe,l,h);He.target=te,He.relatedTarget=Ct,ne=He}fN(t,he,ne,q,oe)}}}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 h=0;h<u.length;h++){var v=u[h];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,h=0;u;){if(u.nodeType===Pi){if(h=l+u.textContent.length,l<=r&&h>=r)return{node:u,offset:r-l};l=h}u=Vn(Mt(u))}}function By(t){var r=t.ownerDocument,u=r&&r.defaultView||window,l=u.getSelection&&u.getSelection();if(!l||l.rangeCount===0)return null;var h=l.anchorNode,v=l.anchorOffset,T=l.focusNode,_=l.focusOffset;try{h.nodeType,T.nodeType}catch{return null}return qR(t,h,v,T,_)}function qR(t,r,u,l,h){var v=0,T=-1,_=-1,k=0,O=0,I=t,$=null;e:for(;;){for(var q=null;I===r&&(u===0||I.nodeType===Pi)&&(T=v+u),I===l&&(h===0||I.nodeType===Pi)&&(_=v+h),I.nodeType===Pi&&(v+=I.nodeValue.length),(q=I.firstChild)!==null;)$=I,I=q;for(;;){if(I===t)break e;if($===r&&++k===u&&(T=v),$===l&&++O===h&&(_=v),(q=I.nextSibling)!==null)break;I=$,$=I.parentNode}I=q}return T===-1||_===-1?null:{start:T,end:_}}function QR(t,r){var u=t.ownerDocument||document,l=u&&u.defaultView||window;if(l.getSelection){var h=l.getSelection(),v=t.textContent.length,T=Math.min(r.start,v),_=r.end===void 0?T:Math.min(r.end,v);if(!h.extend&&T>_){var k=_;_=T,T=k}var O=$i(t,T),I=$i(t,_);if(O&&I){if(h.rangeCount===1&&h.anchorNode===O.node&&h.anchorOffset===O.offset&&h.focusNode===I.node&&h.focusOffset===I.offset)return;var $=u.createRange();$.setStart(O.node,O.offset),h.removeAllRanges(),T>_?(h.addRange($),h.extend(I.node,I.offset)):($.setEnd(I.node,I.offset),h.addRange($))}}}function vx(t){return t&&t.nodeType===Pi}function yx(t,r){return!t||!r?!1:t===r?!0:vx(t)?!1:vx(r)?yx(t,r.parentNode):"contains"in t?t.contains(r):t.compareDocumentPosition?!!(t.compareDocumentPosition(r)&16):!1}function $R(t){return t&&t.ownerDocument&&yx(t.ownerDocument.documentElement,t)}function GR(t){try{return typeof t.contentWindow.location.href=="string"}catch{return!1}}function Ex(){for(var t=window,r=Hc();r instanceof t.HTMLIFrameElement;){if(GR(r))t=r.contentWindow;else return r;r=Hc(t.document)}return r}function Hy(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 XR(){var t=Ex();return{focusedElem:t,selectionRange:Hy(t)?ZR(t):null}}function KR(t){var r=Ex(),u=t.focusedElem,l=t.selectionRange;if(r!==u&&$R(u)){l!==null&&Hy(u)&&JR(u,l);for(var h=[],v=u;v=v.parentNode;)v.nodeType===Hr&&h.push({element:v,left:v.scrollLeft,top:v.scrollTop});typeof u.focus=="function"&&u.focus();for(var T=0;T<h.length;T++){var _=h[T];_.element.scrollLeft=_.left,_.element.scrollTop=_.top}}}function ZR(t){var r;return"selectionStart"in t?r={start:t.selectionStart,end:t.selectionEnd}:r=By(t),r||{start:0,end:0}}function JR(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)):QR(t,r)}var eN=an&&"documentMode"in document&&document.documentMode<=11;function tN(){Nn("onSelect",["focusout","contextmenu","dragend","focusin","keydown","keyup","mousedown","mouseup","selectionchange"])}var nf=null,zy=null,Ep=null,jy=!1;function nN(t){if("selectionStart"in t&&Hy(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 rN(t){return t.window===t?t.document:t.nodeType===Ka?t:t.ownerDocument}function bx(t,r,u){var l=rN(u);if(!(jy||nf==null||nf!==Hc(l))){var h=nN(nf);if(!Ep||!ot(Ep,h)){Ep=h;var v=Ng(zy,"onSelect");if(v.length>0){var T=new Wd("onSelect","select",null,r,u);t.push({event:T,listeners:v}),T.target=nf}}}}function aN(t,r,u,l,h,v,T){var _=u?sf(u):window;switch(r){case"focusin":(_g(_)||_.contentEditable==="true")&&(nf=_,zy=u,Ep=null);break;case"focusout":nf=null,zy=null,Ep=null;break;case"mousedown":jy=!0;break;case"contextmenu":case"mouseup":case"dragend":jy=!1,bx(t,l,h);break;case"selectionchange":if(eN)break;case"keydown":case"keyup":bx(t,l,h)}}function Ag(t,r){var u={};return u[t.toLowerCase()]=r.toLowerCase(),u["Webkit"+t]="webkit"+r,u["Moz"+t]="moz"+r,u}var rf={animationend:Ag("Animation","AnimationEnd"),animationiteration:Ag("Animation","AnimationIteration"),animationstart:Ag("Animation","AnimationStart"),transitionend:Ag("Transition","TransitionEnd")},Vy={},wx={};an&&(wx=document.createElement("div").style,"AnimationEvent"in window||(delete rf.animationend.animation,delete rf.animationiteration.animation,delete rf.animationstart.animation),"TransitionEvent"in window||delete rf.transitionend.transition);function kg(t){if(Vy[t])return Vy[t];if(!rf[t])return t;var r=rf[t];for(var u in r)if(r.hasOwnProperty(u)&&u in wx)return Vy[t]=r[u];return t}var Tx=kg("animationend"),xx=kg("animationiteration"),Sx=kg("animationstart"),Cx=kg("transitionend"),_x=new Map,Ax=["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 Rs(t,r){_x.set(t,r),Nn(r,[t])}function iN(){for(var t=0;t<Ax.length;t++){var r=Ax[t],u=r.toLowerCase(),l=r[0].toUpperCase()+r.slice(1);Rs(u,"on"+l)}Rs(Tx,"onAnimationEnd"),Rs(xx,"onAnimationIteration"),Rs(Sx,"onAnimationStart"),Rs("dblclick","onDoubleClick"),Rs("focusin","onFocus"),Rs("focusout","onBlur"),Rs(Cx,"onTransitionEnd")}function oN(t,r,u,l,h,v,T){var _=_x.get(r);if(_!==void 0){var k=Wd,O=r;switch(r){case"keypress":if(vu(l)===0)return;case"keydown":case"keyup":k=bg;break;case"focusin":O="focus",k=Jl;break;case"focusout":O="blur",k=Jl;break;case"beforeblur":case"afterblur":k=Jl;break;case"click":if(l.button===2)return;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":k=qd;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":k=pg;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":k=hp;break;case Tx:case xx:case Sx:k=Ny;break;case Cx:k=Ro;break;case"scroll":k=lp;break;case"wheel":k=bu;break;case"copy":case"cut":case"paste":k=gg;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":k=Tg;break}var I=(v&Jo)!==0;{var $=!I&&r==="scroll",q=cN(u,_,l.type,I,$);if(q.length>0){var oe=new k(_,O,null,l,h);t.push({event:oe,listeners:q})}}}}iN(),Ae(),i(),tN(),Kd();function uN(t,r,u,l,h,v,T){oN(t,r,u,l,h,v);var _=(v&vy)===0;_&&(Xe(t,r,u,l,h),ae(t,r,u,l,h),aN(t,r,u,l,h),Uy(t,r,u,l,h))}var bp=["abort","canplay","canplaythrough","durationchange","emptied","encrypted","ended","error","loadeddata","loadedmetadata","loadstart","pause","play","playing","progress","ratechange","resize","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting"],Yy=new Set(["cancel","close","invalid","load","scroll","toggle"].concat(bp));function kx(t,r,u){var l=t.type||"unknown-event";t.currentTarget=u,Hi(l,r,void 0,t),t.currentTarget=null}function sN(t,r,u){var l;if(u)for(var h=r.length-1;h>=0;h--){var v=r[h],T=v.instance,_=v.currentTarget,k=v.listener;if(T!==l&&t.isPropagationStopped())return;kx(t,k,_),l=T}else for(var O=0;O<r.length;O++){var I=r[O],$=I.instance,q=I.currentTarget,oe=I.listener;if($!==l&&t.isPropagationStopped())return;kx(t,oe,q),l=$}}function Rx(t,r){for(var u=(r&Jo)!==0,l=0;l<t.length;l++){var h=t[l],v=h.event,T=h.listeners;sN(v,T,u)}Fh()}function lN(t,r,u,l,h){var v=Jc(u),T=[];uN(T,t,l,u,v,r),Rx(T,r)}function pn(t,r){Yy.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=B6(r),h=hN(t);l.has(h)||(Nx(r,t,Al,u),l.add(h))}function Wy(t,r,u){Yy.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|=Jo),Nx(u,t,l,r)}var Rg="_reactListening"+Math.random().toString(36).slice(2);function wp(t){if(!t[Rg]){t[Rg]=!0,dn.forEach(function(u){u!=="selectionchange"&&(Yy.has(u)||Wy(u,!1,t),Wy(u,!0,t))});var r=t.nodeType===Ka?t:t.ownerDocument;r!==null&&(r[Rg]||(r[Rg]=!0,Wy("selectionchange",!1,r)))}}function Nx(t,r,u,l,h){var v=zn(t,r,u),T=void 0;Ol&&(r==="touchstart"||r==="touchmove"||r==="wheel")&&(T=!0),t=t,l?T!==void 0?jd(t,r,v,T):qi(t,r,v):T!==void 0?sp(t,r,v,T):Cs(t,r,v)}function Dx(t,r){return t===r||t.nodeType===Ln&&t.parentNode===r}function qy(t,r,u,l,h){var v=l;if(!(r&Ui)&&!(r&Al)){var T=h;if(l!==null){var _=l;e:for(;;){if(_===null)return;var k=_.tag;if(k===S||k===R){var O=_.stateNode.containerInfo;if(Dx(O,T))break;if(k===R)for(var I=_.return;I!==null;){var $=I.tag;if($===S||$===R){var q=I.stateNode.containerInfo;if(Dx(q,T))return}I=I.return}for(;O!==null;){var oe=uc(O);if(oe===null)return;var se=oe.tag;if(se===A||se===D){_=v=oe;continue e}O=O.parentNode}}_=_.return}}}Lh(function(){return lN(t,r,u,v)})}function Tp(t,r,u){return{instance:t,listener:r,currentTarget:u}}function cN(t,r,u,l,h,v){for(var T=r!==null?r+"Capture":null,_=l?T:r,k=[],O=t,I=null;O!==null;){var $=O,q=$.stateNode,oe=$.tag;if(oe===A&&q!==null&&(I=q,_!==null)){var se=tu(O,_);se!=null&&k.push(Tp(O,se,I))}if(h)break;O=O.return}return k}function Ng(t,r){for(var u=r+"Capture",l=[],h=t;h!==null;){var v=h,T=v.stateNode,_=v.tag;if(_===A&&T!==null){var k=T,O=tu(h,u);O!=null&&l.unshift(Tp(h,O,k));var I=tu(h,r);I!=null&&l.push(Tp(h,I,k))}h=h.return}return l}function af(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==A);return t||null}function dN(t,r){for(var u=t,l=r,h=0,v=u;v;v=af(v))h++;for(var T=0,_=l;_;_=af(_))T++;for(;h-T>0;)u=af(u),h--;for(;T-h>0;)l=af(l),T--;for(var k=h;k--;){if(u===l||l!==null&&u===l.alternate)return u;u=af(u),l=af(l)}return null}function Ox(t,r,u,l,h){for(var v=r._reactName,T=[],_=u;_!==null&&_!==l;){var k=_,O=k.alternate,I=k.stateNode,$=k.tag;if(O!==null&&O===l)break;if($===A&&I!==null){var q=I;if(h){var oe=tu(_,v);oe!=null&&T.unshift(Tp(_,oe,q))}else if(!h){var se=tu(_,v);se!=null&&T.push(Tp(_,se,q))}}_=_.return}T.length!==0&&t.push({event:r,listeners:T})}function fN(t,r,u,l,h){var v=l&&h?dN(l,h):null;l!==null&&Ox(t,r,l,v,!1),h!==null&&u!==null&&Ox(t,u,h,v,!0)}function hN(t,r){return t+"__bubble"}var Ua=!1,xp="dangerouslySetInnerHTML",Dg="suppressContentEditableWarning",Ns="suppressHydrationWarning",Lx="autoFocus",ic="children",oc="style",Og="__html",Qy,Lg,Sp,Ix,Ig,Mx,Px;Qy={dialog:!0,webview:!0},Lg=function(t,r){Zc(t,r),kh(t,r),U0(t,r,{registrationNameDependencies:Rn,possibleRegistrationNames:_r})},Mx=an&&!document.documentMode,Sp=function(t,r,u){if(!Ua){var l=Mg(u),h=Mg(r);h!==l&&(Ua=!0,d("Prop `%s` did not match. Server: %s Client: %s",t,JSON.stringify(h),JSON.stringify(l)))}},Ix=function(t){if(!Ua){Ua=!0;var r=[];t.forEach(function(u){r.push(u)}),d("Extra attributes from the server: %s",r)}},Ig=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)},Px=function(t,r){var u=t.namespaceURI===Mi?t.ownerDocument.createElement(t.tagName):t.ownerDocument.createElementNS(t.namespaceURI,t.tagName);return u.innerHTML=r,u.innerHTML};var pN=/\r\n?/g,mN=/\u0000|\uFFFD/g;function Mg(t){Di(t);var r=typeof t=="string"?t:""+t;return r.replace(pN,`
|
|
89
|
-
`).replace(mN,"")}function Pg(t,r,u,l){var h=Mg(r),v=Mg(t);if(v!==h&&(l&&(Ua||(Ua=!0,d('Text content did not match. Server: "%s" Client: "%s"',v,h))),u&&at))throw new Error("Text content does not match server-rendered HTML.")}function Fx(t){return t.nodeType===Ka?t:t.ownerDocument}function gN(){}function Fg(t){t.onclick=gN}function vN(t,r,u,l,h){for(var v in l)if(l.hasOwnProperty(v)){var T=l[v];if(v===oc)T&&Object.freeze(T),k0(r,T);else if(v===xp){var _=T?T[Og]:void 0;_!=null&&v0(r,_)}else if(v===ic)if(typeof T=="string"){var k=t!=="textarea"||T!=="";k&&$c(r,T)}else typeof T=="number"&&$c(r,""+T);else v===Dg||v===Ns||v===Lx||(Rn.hasOwnProperty(v)?T!=null&&(typeof T!="function"&&Ig(v,T),v==="onScroll"&&pn("scroll",r)):T!=null&&Qo(r,v,T,h))}}function yN(t,r,u,l){for(var h=0;h<r.length;h+=2){var v=r[h],T=r[h+1];v===oc?k0(t,T):v===xp?v0(t,T):v===ic?$c(t,T):Qo(t,v,T,l)}}function EN(t,r,u,l){var h,v=Fx(u),T,_=l;if(_===Mi&&(_=qc(t)),_===Mi){if(h=Fi(t,r),!h&&t!==t.toLowerCase()&&d("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",t),t==="script"){var k=v.createElement("div");k.innerHTML="<script><\/script>";var O=k.firstChild;T=k.removeChild(O)}else if(typeof r.is=="string")T=v.createElement(t,{is:r.is});else if(T=v.createElement(t),t==="select"){var I=T;r.multiple?I.multiple=!0:r.size&&(I.size=r.size)}}else T=v.createElementNS(_,t);return _===Mi&&!h&&Object.prototype.toString.call(T)==="[object HTMLUnknownElement]"&&!Fn.call(Qy,t)&&(Qy[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)),T}function bN(t,r){return Fx(r).createTextNode(t)}function wN(t,r,u,l){var h=Fi(r,u);Lg(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 T=0;T<bp.length;T++)pn(bp[T],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":wl(t,u),v=bl(t,u),pn("invalid",t);break;case"option":Yc(t,u),v=u;break;case"select":h0(t,u),v=vh(t,u),pn("invalid",t);break;case"textarea":p0(t,u),v=Eh(t,u),pn("invalid",t);break;default:v=u}switch(Xc(r,v),vN(r,t,l,v,h),r){case"input":Xo(t),Tl(t,u,!1);break;case"textarea":Xo(t),g0(t);break;case"option":gh(t,u);break;case"select":oy(t,u);break;default:typeof v.onClick=="function"&&Fg(t);break}}function TN(t,r,u,l,h){Lg(r,l);var v=null,T,_;switch(r){case"input":T=bl(t,u),_=bl(t,l),v=[];break;case"select":T=vh(t,u),_=vh(t,l),v=[];break;case"textarea":T=Eh(t,u),_=Eh(t,l),v=[];break;default:T=u,_=l,typeof T.onClick!="function"&&typeof _.onClick=="function"&&Fg(t);break}Xc(r,_);var k,O,I=null;for(k in T)if(!(_.hasOwnProperty(k)||!T.hasOwnProperty(k)||T[k]==null))if(k===oc){var $=T[k];for(O in $)$.hasOwnProperty(O)&&(I||(I={}),I[O]="")}else k===xp||k===ic||k===Dg||k===Ns||k===Lx||(Rn.hasOwnProperty(k)?v||(v=[]):(v=v||[]).push(k,null));for(k in _){var q=_[k],oe=T!=null?T[k]:void 0;if(!(!_.hasOwnProperty(k)||q===oe||q==null&&oe==null))if(k===oc)if(q&&Object.freeze(q),oe){for(O in oe)oe.hasOwnProperty(O)&&(!q||!q.hasOwnProperty(O))&&(I||(I={}),I[O]="");for(O in q)q.hasOwnProperty(O)&&oe[O]!==q[O]&&(I||(I={}),I[O]=q[O])}else I||(v||(v=[]),v.push(k,I)),I=q;else if(k===xp){var se=q?q[Og]:void 0,fe=oe?oe[Og]:void 0;se!=null&&fe!==se&&(v=v||[]).push(k,se)}else k===ic?(typeof q=="string"||typeof q=="number")&&(v=v||[]).push(k,""+q):k===Dg||k===Ns||(Rn.hasOwnProperty(k)?(q!=null&&(typeof q!="function"&&Ig(k,q),k==="onScroll"&&pn("scroll",t)),!v&&oe!==q&&(v=[])):(v=v||[]).push(k,q))}return I&&(Cl(I,_[oc]),(v=v||[]).push(oc,I)),v}function xN(t,r,u,l,h){u==="input"&&h.type==="radio"&&h.name!=null&&mh(t,h);var v=Fi(u,l),T=Fi(u,h);switch(yN(t,r,v,T),u){case"input":Wu(t,h);break;case"textarea":m0(t,h);break;case"select":uy(t,h);break}}function SN(t){{var r=t.toLowerCase();return Kc.hasOwnProperty(r)&&Kc[r]||null}}function CN(t,r,u,l,h,v,T){var _,k;switch(_=Fi(r,u),Lg(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<bp.length;O++)pn(bp[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":wl(t,u),pn("invalid",t);break;case"option":Yc(t,u);break;case"select":h0(t,u),pn("invalid",t);break;case"textarea":p0(t,u),pn("invalid",t);break}Xc(r,u);{k=new Set;for(var I=t.attributes,$=0;$<I.length;$++){var q=I[$].name.toLowerCase();switch(q){case"value":break;case"checked":break;case"selected":break;default:k.add(I[$].name)}}}var oe=null;for(var se in u)if(u.hasOwnProperty(se)){var fe=u[se];if(se===ic)typeof fe=="string"?t.textContent!==fe&&(u[Ns]!==!0&&Pg(t.textContent,fe,v,T),oe=[ic,fe]):typeof fe=="number"&&t.textContent!==""+fe&&(u[Ns]!==!0&&Pg(t.textContent,fe,v,T),oe=[ic,""+fe]);else if(Rn.hasOwnProperty(se))fe!=null&&(typeof fe!="function"&&Ig(se,fe),se==="onScroll"&&pn("scroll",t));else if(T&&typeof _=="boolean"){var Pe=void 0,rt=_&&V?null:di(se);if(u[Ns]!==!0){if(!(se===Dg||se===Ns||se==="value"||se==="checked"||se==="selected")){if(se===xp){var Ze=t.innerHTML,Nt=fe?fe[Og]:void 0;if(Nt!=null){var Ct=Px(t,Nt);Ct!==Ze&&Sp(se,Ze,Ct)}}else if(se===oc){if(k.delete(se),Mx){var te=my(fe);Pe=t.getAttribute("style"),te!==Pe&&Sp(se,Pe,te)}}else if(_&&!V)k.delete(se.toLowerCase()),Pe=Mc(t,se,fe),fe!==Pe&&Sp(se,Pe,fe);else if(!Kt(se,rt,_)&&!vn(se,fe,rt,_)){var he=!1;if(rt!==null)k.delete(rt.attributeName),Pe=cl(t,se,fe,rt);else{var ne=l;if(ne===Mi&&(ne=qc(r)),ne===Mi)k.delete(se.toLowerCase());else{var Se=SN(se);Se!==null&&Se!==se&&(he=!0,k.delete(Se)),k.delete(se)}Pe=Mc(t,se,fe)}var He=V;!He&&fe!==Pe&&!he&&Sp(se,Pe,fe)}}}}}switch(T&&k.size>0&&u[Ns]!==!0&&Ix(k),r){case"input":Xo(t),Tl(t,u,!0);break;case"textarea":Xo(t),g0(t);break;case"select":case"option":break;default:typeof u.onClick=="function"&&Fg(t);break}return oe}function _N(t,r,u){var l=t.nodeValue!==r;return l}function $y(t,r){{if(Ua)return;Ua=!0,d("Did not expect server HTML to contain a <%s> in <%s>.",r.nodeName.toLowerCase(),t.nodeName.toLowerCase())}}function Gy(t,r){{if(Ua)return;Ua=!0,d('Did not expect server HTML to contain the text node "%s" in <%s>.',r.nodeValue,t.nodeName.toLowerCase())}}function Xy(t,r,u){{if(Ua)return;Ua=!0,d("Expected server HTML to contain a matching <%s> in <%s>.",r,t.nodeName.toLowerCase())}}function Ky(t,r){{if(r===""||Ua)return;Ua=!0,d('Expected server HTML to contain a matching text node for "%s" in <%s>.',r,t.nodeName.toLowerCase())}}function AN(t,r,u){switch(r){case"input":l0(t,u);return;case"textarea":bh(t,u);return;case"select":sy(t,u);return}}var Cp=function(){},_p=function(){};{var kN=["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"],Ux=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],RN=Ux.concat(["button"]),NN=["dd","dt","li","option","optgroup","p","rp","rt"],Bx={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null};_p=function(t,r){var u=xt({},t||Bx),l={tag:r};return Ux.indexOf(r)!==-1&&(u.aTagInScope=null,u.buttonTagInScope=null,u.nobrTagInScope=null),RN.indexOf(r)!==-1&&(u.pTagInButtonScope=null),kN.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 DN=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 NN.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},ON=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},Hx={};Cp=function(t,r,u){u=u||Bx;var l=u.current,h=l&&l.tag;r!=null&&(t!=null&&d("validateDOMNesting: when childText is passed, childTag should be null"),t="#text");var v=DN(t,h)?null:l,T=v?null:ON(t,u),_=v||T;if(_){var k=_.tag,O=!!v+"|"+t+"|"+k;if(!Hx[O]){Hx[O]=!0;var I=t,$="";if(t==="#text"?/\S/.test(r)?I="Text nodes":(I="Whitespace text nodes",$=" Make sure you don't have any extra whitespace between tags on each line of your source code."):I="<"+t+">",v){var q="";k==="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",I,k,$,q)}else d("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.",I,k)}}}}var Ug="suppressHydrationWarning",Bg="$",Hg="/$",Ap="$?",kp="$!",LN="style",Zy=null,Jy=null;function IN(t){var r,u,l=t.nodeType;switch(l){case Ka:case Ko:{r=l===Ka?"#document":"#fragment";var h=t.documentElement;u=h?h.namespaceURI:Th(null,"");break}default:{var v=l===Ln?t.parentNode:t,T=v.namespaceURI||null;r=v.tagName,u=Th(T,r);break}}{var _=r.toLowerCase(),k=_p(null,_);return{namespace:u,ancestorInfo:k}}}function MN(t,r,u){{var l=t,h=Th(l.namespace,r),v=_p(l.ancestorInfo,r);return{namespace:h,ancestorInfo:v}}}function VV(t){return t}function PN(t){Zy=xs(),Jy=XR();var r=null;return Xr(!1),r}function FN(t){KR(Jy),Xr(Zy),Zy=null,Jy=null}function UN(t,r,u,l,h){var v;{var T=l;if(Cp(t,null,T.ancestorInfo),typeof r.children=="string"||typeof r.children=="number"){var _=""+r.children,k=_p(T.ancestorInfo,t);Cp(null,_,k)}v=T.namespace}var O=EN(t,r,u,v);return Dp(h,O),uE(O,r),O}function BN(t,r){t.appendChild(r)}function HN(t,r,u,l,h){switch(wN(t,r,u,l),r){case"button":case"input":case"select":case"textarea":return!!u.autoFocus;case"img":return!0;default:return!1}}function zN(t,r,u,l,h,v){{var T=v;if(typeof l.children!=typeof u.children&&(typeof l.children=="string"||typeof l.children=="number")){var _=""+l.children,k=_p(T.ancestorInfo,r);Cp(null,_,k)}}return TN(t,r,u,l)}function eE(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 jN(t,r,u,l){{var h=u;Cp(null,t,h.ancestorInfo)}var v=bN(t,r);return Dp(l,v),v}function VN(){var t=window.event;return t===void 0?gi:zd(t.type)}var tE=typeof setTimeout=="function"?setTimeout:void 0,YN=typeof clearTimeout=="function"?clearTimeout:void 0,nE=-1,zx=typeof Promise=="function"?Promise:void 0,WN=typeof queueMicrotask=="function"?queueMicrotask:typeof zx<"u"?function(t){return zx.resolve(null).then(t).catch(qN)}:tE;function qN(t){setTimeout(function(){throw t})}function QN(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 $N(t,r,u,l,h,v){xN(t,r,u,l,h),uE(t,h)}function jx(t){$c(t,"")}function GN(t,r,u){t.nodeValue=u}function XN(t,r){t.appendChild(r)}function KN(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&&Fg(u)}function ZN(t,r,u){t.insertBefore(r,u)}function JN(t,r,u){t.nodeType===Ln?t.parentNode.insertBefore(r,u):t.insertBefore(r,u)}function e6(t,r){t.removeChild(r)}function t6(t,r){t.nodeType===Ln?t.parentNode.removeChild(r):t.removeChild(r)}function rE(t,r){var u=r,l=0;do{var h=u.nextSibling;if(t.removeChild(u),h&&h.nodeType===Ln){var v=h.data;if(v===Hg)if(l===0){t.removeChild(h),Tn(r);return}else l--;else(v===Bg||v===Ap||v===kp)&&l++}u=h}while(u);Tn(r)}function n6(t,r){t.nodeType===Ln?rE(t.parentNode,r):t.nodeType===Hr&&rE(t,r),Tn(t)}function r6(t){t=t;var r=t.style;typeof r.setProperty=="function"?r.setProperty("display","none","important"):r.display="none"}function a6(t){t.nodeValue=""}function i6(t,r){t=t;var u=r[LN],l=u!=null&&u.hasOwnProperty("display")?u.display:null;t.style.display=Gc("display",l)}function o6(t,r){t.nodeValue=r}function u6(t){t.nodeType===Hr?t.textContent="":t.nodeType===Ka&&t.documentElement&&t.removeChild(t.documentElement)}function s6(t,r,u){return t.nodeType!==Hr||r.toLowerCase()!==t.nodeName.toLowerCase()?null:t}function l6(t,r){return r===""||t.nodeType!==Pi?null:t}function c6(t){return t.nodeType!==Ln?null:t}function Vx(t){return t.data===Ap}function aE(t){return t.data===kp}function d6(t){var r=t.nextSibling&&t.nextSibling.dataset,u,l,h;return r&&(u=r.dgst,l=r.msg,h=r.stck),{message:l,digest:u,stack:h}}function f6(t,r){t._reactRetry=r}function zg(t){for(;t!=null;t=t.nextSibling){var r=t.nodeType;if(r===Hr||r===Pi)break;if(r===Ln){var u=t.data;if(u===Bg||u===kp||u===Ap)break;if(u===Hg)return null}}return t}function Rp(t){return zg(t.nextSibling)}function h6(t){return zg(t.firstChild)}function p6(t){return zg(t.firstChild)}function m6(t){return zg(t.nextSibling)}function g6(t,r,u,l,h,v,T){Dp(v,t),uE(t,u);var _;{var k=h;_=k.namespace}var O=(v.mode&Ke)!==Ge;return CN(t,r,u,_,l,O,T)}function v6(t,r,u,l){return Dp(u,t),u.mode&Ke,_N(t,r)}function y6(t,r){Dp(r,t)}function E6(t){for(var r=t.nextSibling,u=0;r;){if(r.nodeType===Ln){var l=r.data;if(l===Hg){if(u===0)return Rp(r);u--}else(l===Bg||l===kp||l===Ap)&&u++}r=r.nextSibling}return null}function Yx(t){for(var r=t.previousSibling,u=0;r;){if(r.nodeType===Ln){var l=r.data;if(l===Bg||l===kp||l===Ap){if(u===0)return r;u--}else l===Hg&&u++}r=r.previousSibling}return null}function b6(t){Tn(t)}function w6(t){Tn(t)}function T6(t){return t!=="head"&&t!=="body"}function x6(t,r,u,l){var h=!0;Pg(r.nodeValue,u,l,h)}function S6(t,r,u,l,h,v){if(r[Ug]!==!0){var T=!0;Pg(l.nodeValue,h,v,T)}}function C6(t,r){r.nodeType===Hr?$y(t,r):r.nodeType===Ln||Gy(t,r)}function _6(t,r){{var u=t.parentNode;u!==null&&(r.nodeType===Hr?$y(u,r):r.nodeType===Ln||Gy(u,r))}}function A6(t,r,u,l,h){(h||r[Ug]!==!0)&&(l.nodeType===Hr?$y(u,l):l.nodeType===Ln||Gy(u,l))}function k6(t,r,u){Xy(t,r)}function R6(t,r){Ky(t,r)}function N6(t,r,u){{var l=t.parentNode;l!==null&&Xy(l,r)}}function D6(t,r){{var u=t.parentNode;u!==null&&Ky(u,r)}}function O6(t,r,u,l,h,v){(v||r[Ug]!==!0)&&Xy(u,l)}function L6(t,r,u,l,h){(h||r[Ug]!==!0)&&Ky(u,l)}function I6(t){d("An error occurred during hydration. The server HTML was replaced with client content in <%s>.",t.nodeName.toLowerCase())}function M6(t){wp(t)}var of=Math.random().toString(36).slice(2),uf="__reactFiber$"+of,iE="__reactProps$"+of,Np="__reactContainer$"+of,oE="__reactEvents$"+of,P6="__reactListeners$"+of,F6="__reactHandles$"+of;function U6(t){delete t[uf],delete t[iE],delete t[oE],delete t[P6],delete t[F6]}function Dp(t,r){r[uf]=t}function jg(t,r){r[Np]=t}function Wx(t){t[Np]=null}function Op(t){return!!t[Np]}function uc(t){var r=t[uf];if(r)return r;for(var u=t.parentNode;u;){if(r=u[Np]||u[uf],r){var l=r.alternate;if(r.child!==null||l!==null&&l.child!==null)for(var h=Yx(t);h!==null;){var v=h[uf];if(v)return v;h=Yx(h)}return r}t=u,u=t.parentNode}return null}function Ds(t){var r=t[uf]||t[Np];return r&&(r.tag===A||r.tag===D||r.tag===J||r.tag===S)?r:null}function sf(t){if(t.tag===A||t.tag===D)return t.stateNode;throw new Error("getNodeFromInstance: Invalid argument.")}function Vg(t){return t[iE]||null}function uE(t,r){t[iE]=r}function B6(t){var r=t[oE];return r===void 0&&(r=t[oE]=new Set),r}var qx={},Qx=a.ReactDebugCurrentFrame;function Yg(t){if(t){var r=t._owner,u=pl(t.type,t._source,r?r.type:null);Qx.setExtraStackFrame(u)}else Qx.setExtraStackFrame(null)}function Gi(t,r,u,l,h){{var v=Function.call.bind(Fn);for(var T in t)if(v(t,T)){var _=void 0;try{if(typeof t[T]!="function"){var k=Error((l||"React class")+": "+u+" type `"+T+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof t[T]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw k.name="Invariant Violation",k}_=t[T](r,T,l,u,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(O){_=O}_&&!(_ instanceof Error)&&(Yg(h),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,T,typeof _),Yg(null)),_ instanceof Error&&!(_.message in qx)&&(qx[_.message]=!0,Yg(h),d("Failed %s type: %s",u,_.message),Yg(null))}}}var sE=[],Wg;Wg=[];var wu=-1;function Os(t){return{current:t}}function Kr(t,r){if(wu<0){d("Unexpected pop.");return}r!==Wg[wu]&&d("Unexpected Fiber popped."),t.current=sE[wu],sE[wu]=null,Wg[wu]=null,wu--}function Zr(t,r,u){wu++,sE[wu]=t.current,Wg[wu]=u,t.current=r}var lE;lE={};var ti={};Object.freeze(ti);var Tu=Os(ti),Do=Os(!1),cE=ti;function lf(t,r,u){return u&&Oo(r)?cE:Tu.current}function $x(t,r,u){{var l=t.stateNode;l.__reactInternalMemoizedUnmaskedChildContext=r,l.__reactInternalMemoizedMaskedChildContext=u}}function cf(t,r){{var u=t.type,l=u.contextTypes;if(!l)return ti;var h=t.stateNode;if(h&&h.__reactInternalMemoizedUnmaskedChildContext===r)return h.__reactInternalMemoizedMaskedChildContext;var v={};for(var T in l)v[T]=r[T];{var _=pt(t)||"Unknown";Gi(l,v,"context",_)}return h&&$x(t,r,v),v}}function qg(){return Do.current}function Oo(t){{var r=t.childContextTypes;return r!=null}}function Qg(t){Kr(Do,t),Kr(Tu,t)}function dE(t){Kr(Do,t),Kr(Tu,t)}function Gx(t,r,u){{if(Tu.current!==ti)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(Do,u,t)}}function Xx(t,r,u){{var l=t.stateNode,h=r.childContextTypes;if(typeof l.getChildContext!="function"){{var v=pt(t)||"Unknown";lE[v]||(lE[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 T=l.getChildContext();for(var _ in T)if(!(_ in h))throw new Error((pt(t)||"Unknown")+'.getChildContext(): key "'+_+'" is not defined in childContextTypes.');{var k=pt(t)||"Unknown";Gi(h,T,"child context",k)}return xt({},u,T)}}function $g(t){{var r=t.stateNode,u=r&&r.__reactInternalMemoizedMergedChildContext||ti;return cE=Tu.current,Zr(Tu,u,t),Zr(Do,Do.current,t),!0}}function Kx(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 h=Xx(t,r,cE);l.__reactInternalMemoizedMergedChildContext=h,Kr(Do,t),Kr(Tu,t),Zr(Tu,h,t),Zr(Do,u,t)}else Kr(Do,t),Zr(Do,u,t)}}function H6(t){{if(!jh(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(Oo(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 Ls=0,Gg=1,xu=null,fE=!1,hE=!1;function Zx(t){xu===null?xu=[t]:xu.push(t)}function z6(t){fE=!0,Zx(t)}function Jx(){fE&&Is()}function Is(){if(!hE&&xu!==null){hE=!0;var t=0,r=La();try{var u=!0,l=xu;for(wn(_n);t<l.length;t++){var h=l[t];do h=h(u);while(h!==null)}xu=null,fE=!1}catch(v){throw xu!==null&&(xu=xu.slice(t+1)),od(sd,Is),v}finally{wn(r),hE=!1}}return null}var df=[],ff=0,Xg=null,Kg=0,bi=[],wi=0,sc=null,Su=1,Cu="";function j6(t){return cc(),(t.flags&Bh)!==nt}function V6(t){return cc(),Kg}function Y6(){var t=Cu,r=Su,u=r&~W6(r);return u.toString(32)+t}function lc(t,r){cc(),df[ff++]=Kg,df[ff++]=Xg,Xg=t,Kg=r}function eS(t,r,u){cc(),bi[wi++]=Su,bi[wi++]=Cu,bi[wi++]=sc,sc=t;var l=Su,h=Cu,v=Zg(l)-1,T=l&~(1<<v),_=u+1,k=Zg(r)+v;if(k>30){var O=v-v%5,I=(1<<O)-1,$=(T&I).toString(32),q=T>>O,oe=v-O,se=Zg(r)+oe,fe=_<<oe,Pe=fe|q,rt=$+h;Su=1<<se|Pe,Cu=rt}else{var Ze=_<<v,Nt=Ze|T,Ct=h;Su=1<<k|Nt,Cu=Ct}}function pE(t){cc();var r=t.return;if(r!==null){var u=1,l=0;lc(t,u),eS(t,u,l)}}function Zg(t){return 32-os(t)}function W6(t){return 1<<Zg(t)-1}function mE(t){for(;t===Xg;)Xg=df[--ff],df[ff]=null,Kg=df[--ff],df[ff]=null;for(;t===sc;)sc=bi[--wi],bi[wi]=null,Cu=bi[--wi],bi[wi]=null,Su=bi[--wi],bi[wi]=null}function q6(){return cc(),sc!==null?{id:Su,overflow:Cu}:null}function Q6(t,r){cc(),bi[wi++]=Su,bi[wi++]=Cu,bi[wi++]=sc,Su=r.id,Cu=r.overflow,sc=t}function cc(){Nr()||d("Expected to be hydrating. This is a bug in React. Please file an issue.")}var Rr=null,Ti=null,Xi=!1,dc=!1,Ms=null;function $6(){Xi&&d("We should not be hydrating here. This is a bug in React. Please file a bug.")}function tS(){dc=!0}function G6(){return dc}function X6(t){var r=t.stateNode.containerInfo;return Ti=p6(r),Rr=t,Xi=!0,Ms=null,dc=!1,!0}function K6(t,r,u){return Ti=m6(r),Rr=t,Xi=!0,Ms=null,dc=!1,u!==null&&Q6(t,u),!0}function nS(t,r){switch(t.tag){case S:{C6(t.stateNode.containerInfo,r);break}case A:{var u=(t.mode&Ke)!==Ge;A6(t.type,t.memoizedProps,t.stateNode,r,u);break}case J:{var l=t.memoizedState;l.dehydrated!==null&&_6(l.dehydrated,r);break}}}function rS(t,r){nS(t,r);var u=tL();u.stateNode=r,u.return=t;var l=t.deletions;l===null?(t.deletions=[u],t.flags|=Bt):l.push(u)}function gE(t,r){{if(dc)return;switch(t.tag){case S:{var u=t.stateNode.containerInfo;switch(r.tag){case A:var l=r.type;r.pendingProps,k6(u,l);break;case D:var h=r.pendingProps;R6(u,h);break}break}case A:{var v=t.type,T=t.memoizedProps,_=t.stateNode;switch(r.tag){case A:{var k=r.type,O=r.pendingProps,I=(t.mode&Ke)!==Ge;O6(v,T,_,k,O,I);break}case D:{var $=r.pendingProps,q=(t.mode&Ke)!==Ge;L6(v,T,_,$,q);break}}break}case J:{var oe=t.memoizedState,se=oe.dehydrated;if(se!==null)switch(r.tag){case A:var fe=r.type;r.pendingProps,N6(se,fe);break;case D:var Pe=r.pendingProps;D6(se,Pe);break}break}default:return}}}function aS(t,r){r.flags=r.flags&~Aa|Jt,gE(t,r)}function iS(t,r){switch(t.tag){case A:{var u=t.type;t.pendingProps;var l=s6(r,u);return l!==null?(t.stateNode=l,Rr=t,Ti=h6(l),!0):!1}case D:{var h=t.pendingProps,v=l6(r,h);return v!==null?(t.stateNode=v,Rr=t,Ti=null,!0):!1}case J:{var T=c6(r);if(T!==null){var _={dehydrated:T,treeContext:q6(),retryLane:br};t.memoizedState=_;var k=nL(T);return k.return=t,t.child=k,Rr=t,Ti=null,!0}return!1}default:return!1}}function vE(t){return(t.mode&Ke)!==Ge&&(t.flags<)===nt}function yE(t){throw new Error("Hydration failed because the initial UI does not match what was rendered on the server.")}function EE(t){if(Xi){var r=Ti;if(!r){vE(t)&&(gE(Rr,t),yE()),aS(Rr,t),Xi=!1,Rr=t;return}var u=r;if(!iS(t,r)){vE(t)&&(gE(Rr,t),yE()),r=Rp(u);var l=Rr;if(!r||!iS(t,r)){aS(Rr,t),Xi=!1,Rr=t;return}rS(l,u)}}}function Z6(t,r,u){var l=t.stateNode,h=!dc,v=g6(l,t.type,t.memoizedProps,r,u,t,h);return t.updateQueue=v,v!==null}function J6(t){var r=t.stateNode,u=t.memoizedProps,l=v6(r,u,t);if(l){var h=Rr;if(h!==null)switch(h.tag){case S:{var v=h.stateNode.containerInfo,T=(h.mode&Ke)!==Ge;x6(v,r,u,T);break}case A:{var _=h.type,k=h.memoizedProps,O=h.stateNode,I=(h.mode&Ke)!==Ge;S6(_,k,O,r,u,I);break}}}return l}function eD(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.");y6(u,t)}function tD(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 E6(u)}function oS(t){for(var r=t.return;r!==null&&r.tag!==A&&r.tag!==S&&r.tag!==J;)r=r.return;Rr=r}function Jg(t){if(t!==Rr)return!1;if(!Xi)return oS(t),Xi=!0,!1;if(t.tag!==S&&(t.tag!==A||T6(t.type)&&!eE(t.type,t.memoizedProps))){var r=Ti;if(r)if(vE(t))uS(t),yE();else for(;r;)rS(t,r),r=Rp(r)}return oS(t),t.tag===J?Ti=tD(t):Ti=Rr?Rp(t.stateNode):null,!0}function nD(){return Xi&&Ti!==null}function uS(t){for(var r=Ti;r;)nS(t,r),r=Rp(r)}function hf(){Rr=null,Ti=null,Xi=!1,dc=!1}function sS(){Ms!==null&&(tC(Ms),Ms=null)}function Nr(){return Xi}function bE(t){Ms===null?Ms=[t]:Ms.push(t)}var rD=a.ReactCurrentBatchConfig,aD=null;function iD(){return rD.transition}var Ki={recordUnsafeLifecycleWarnings:function(t,r){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(t,r){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}};{var oD=function(t){for(var r=null,u=t;u!==null;)u.mode&wt&&(r=u),u=u.return;return r},fc=function(t){var r=[];return t.forEach(function(u){r.push(u)}),r.sort().join(", ")},Lp=[],Ip=[],Mp=[],Pp=[],Fp=[],Up=[],hc=new Set;Ki.recordUnsafeLifecycleWarnings=function(t,r){hc.has(t.type)||(typeof r.componentWillMount=="function"&&r.componentWillMount.__suppressDeprecationWarning!==!0&&Lp.push(t),t.mode&wt&&typeof r.UNSAFE_componentWillMount=="function"&&Ip.push(t),typeof r.componentWillReceiveProps=="function"&&r.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&Mp.push(t),t.mode&wt&&typeof r.UNSAFE_componentWillReceiveProps=="function"&&Pp.push(t),typeof r.componentWillUpdate=="function"&&r.componentWillUpdate.__suppressDeprecationWarning!==!0&&Fp.push(t),t.mode&wt&&typeof r.UNSAFE_componentWillUpdate=="function"&&Up.push(t))},Ki.flushPendingUnsafeLifecycleWarnings=function(){var t=new Set;Lp.length>0&&(Lp.forEach(function(q){t.add(pt(q)||"Component"),hc.add(q.type)}),Lp=[]);var r=new Set;Ip.length>0&&(Ip.forEach(function(q){r.add(pt(q)||"Component"),hc.add(q.type)}),Ip=[]);var u=new Set;Mp.length>0&&(Mp.forEach(function(q){u.add(pt(q)||"Component"),hc.add(q.type)}),Mp=[]);var l=new Set;Pp.length>0&&(Pp.forEach(function(q){l.add(pt(q)||"Component"),hc.add(q.type)}),Pp=[]);var h=new Set;Fp.length>0&&(Fp.forEach(function(q){h.add(pt(q)||"Component"),hc.add(q.type)}),Fp=[]);var v=new Set;if(Up.length>0&&(Up.forEach(function(q){v.add(pt(q)||"Component"),hc.add(q.type)}),Up=[]),r.size>0){var T=fc(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.
|
|
89
|
+
`).replace(mN,"")}function Pg(t,r,u,l){var h=Mg(r),v=Mg(t);if(v!==h&&(l&&(Ua||(Ua=!0,d('Text content did not match. Server: "%s" Client: "%s"',v,h))),u&&at))throw new Error("Text content does not match server-rendered HTML.")}function Fx(t){return t.nodeType===Ka?t:t.ownerDocument}function gN(){}function Fg(t){t.onclick=gN}function vN(t,r,u,l,h){for(var v in l)if(l.hasOwnProperty(v)){var T=l[v];if(v===oc)T&&Object.freeze(T),k0(r,T);else if(v===xp){var _=T?T[Og]:void 0;_!=null&&v0(r,_)}else if(v===ic)if(typeof T=="string"){var k=t!=="textarea"||T!=="";k&&$c(r,T)}else typeof T=="number"&&$c(r,""+T);else v===Dg||v===Ns||v===Lx||(Rn.hasOwnProperty(v)?T!=null&&(typeof T!="function"&&Ig(v,T),v==="onScroll"&&pn("scroll",r)):T!=null&&Qo(r,v,T,h))}}function yN(t,r,u,l){for(var h=0;h<r.length;h+=2){var v=r[h],T=r[h+1];v===oc?k0(t,T):v===xp?v0(t,T):v===ic?$c(t,T):Qo(t,v,T,l)}}function EN(t,r,u,l){var h,v=Fx(u),T,_=l;if(_===Mi&&(_=qc(t)),_===Mi){if(h=Fi(t,r),!h&&t!==t.toLowerCase()&&d("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",t),t==="script"){var k=v.createElement("div");k.innerHTML="<script><\/script>";var O=k.firstChild;T=k.removeChild(O)}else if(typeof r.is=="string")T=v.createElement(t,{is:r.is});else if(T=v.createElement(t),t==="select"){var I=T;r.multiple?I.multiple=!0:r.size&&(I.size=r.size)}}else T=v.createElementNS(_,t);return _===Mi&&!h&&Object.prototype.toString.call(T)==="[object HTMLUnknownElement]"&&!Fn.call(Qy,t)&&(Qy[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)),T}function bN(t,r){return Fx(r).createTextNode(t)}function wN(t,r,u,l){var h=Fi(r,u);Lg(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 T=0;T<bp.length;T++)pn(bp[T],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":wl(t,u),v=bl(t,u),pn("invalid",t);break;case"option":Yc(t,u),v=u;break;case"select":h0(t,u),v=vh(t,u),pn("invalid",t);break;case"textarea":p0(t,u),v=Eh(t,u),pn("invalid",t);break;default:v=u}switch(Xc(r,v),vN(r,t,l,v,h),r){case"input":Xo(t),Tl(t,u,!1);break;case"textarea":Xo(t),g0(t);break;case"option":gh(t,u);break;case"select":oy(t,u);break;default:typeof v.onClick=="function"&&Fg(t);break}}function TN(t,r,u,l,h){Lg(r,l);var v=null,T,_;switch(r){case"input":T=bl(t,u),_=bl(t,l),v=[];break;case"select":T=vh(t,u),_=vh(t,l),v=[];break;case"textarea":T=Eh(t,u),_=Eh(t,l),v=[];break;default:T=u,_=l,typeof T.onClick!="function"&&typeof _.onClick=="function"&&Fg(t);break}Xc(r,_);var k,O,I=null;for(k in T)if(!(_.hasOwnProperty(k)||!T.hasOwnProperty(k)||T[k]==null))if(k===oc){var $=T[k];for(O in $)$.hasOwnProperty(O)&&(I||(I={}),I[O]="")}else k===xp||k===ic||k===Dg||k===Ns||k===Lx||(Rn.hasOwnProperty(k)?v||(v=[]):(v=v||[]).push(k,null));for(k in _){var q=_[k],oe=T!=null?T[k]:void 0;if(!(!_.hasOwnProperty(k)||q===oe||q==null&&oe==null))if(k===oc)if(q&&Object.freeze(q),oe){for(O in oe)oe.hasOwnProperty(O)&&(!q||!q.hasOwnProperty(O))&&(I||(I={}),I[O]="");for(O in q)q.hasOwnProperty(O)&&oe[O]!==q[O]&&(I||(I={}),I[O]=q[O])}else I||(v||(v=[]),v.push(k,I)),I=q;else if(k===xp){var se=q?q[Og]:void 0,fe=oe?oe[Og]:void 0;se!=null&&fe!==se&&(v=v||[]).push(k,se)}else k===ic?(typeof q=="string"||typeof q=="number")&&(v=v||[]).push(k,""+q):k===Dg||k===Ns||(Rn.hasOwnProperty(k)?(q!=null&&(typeof q!="function"&&Ig(k,q),k==="onScroll"&&pn("scroll",t)),!v&&oe!==q&&(v=[])):(v=v||[]).push(k,q))}return I&&(Cl(I,_[oc]),(v=v||[]).push(oc,I)),v}function xN(t,r,u,l,h){u==="input"&&h.type==="radio"&&h.name!=null&&mh(t,h);var v=Fi(u,l),T=Fi(u,h);switch(yN(t,r,v,T),u){case"input":Wu(t,h);break;case"textarea":m0(t,h);break;case"select":uy(t,h);break}}function SN(t){{var r=t.toLowerCase();return Kc.hasOwnProperty(r)&&Kc[r]||null}}function CN(t,r,u,l,h,v,T){var _,k;switch(_=Fi(r,u),Lg(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<bp.length;O++)pn(bp[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":wl(t,u),pn("invalid",t);break;case"option":Yc(t,u);break;case"select":h0(t,u),pn("invalid",t);break;case"textarea":p0(t,u),pn("invalid",t);break}Xc(r,u);{k=new Set;for(var I=t.attributes,$=0;$<I.length;$++){var q=I[$].name.toLowerCase();switch(q){case"value":break;case"checked":break;case"selected":break;default:k.add(I[$].name)}}}var oe=null;for(var se in u)if(u.hasOwnProperty(se)){var fe=u[se];if(se===ic)typeof fe=="string"?t.textContent!==fe&&(u[Ns]!==!0&&Pg(t.textContent,fe,v,T),oe=[ic,fe]):typeof fe=="number"&&t.textContent!==""+fe&&(u[Ns]!==!0&&Pg(t.textContent,fe,v,T),oe=[ic,""+fe]);else if(Rn.hasOwnProperty(se))fe!=null&&(typeof fe!="function"&&Ig(se,fe),se==="onScroll"&&pn("scroll",t));else if(T&&typeof _=="boolean"){var Pe=void 0,rt=_&&V?null:di(se);if(u[Ns]!==!0){if(!(se===Dg||se===Ns||se==="value"||se==="checked"||se==="selected")){if(se===xp){var Ze=t.innerHTML,Nt=fe?fe[Og]:void 0;if(Nt!=null){var Ct=Px(t,Nt);Ct!==Ze&&Sp(se,Ze,Ct)}}else if(se===oc){if(k.delete(se),Mx){var te=my(fe);Pe=t.getAttribute("style"),te!==Pe&&Sp(se,Pe,te)}}else if(_&&!V)k.delete(se.toLowerCase()),Pe=Mc(t,se,fe),fe!==Pe&&Sp(se,Pe,fe);else if(!Kt(se,rt,_)&&!vn(se,fe,rt,_)){var he=!1;if(rt!==null)k.delete(rt.attributeName),Pe=cl(t,se,fe,rt);else{var ne=l;if(ne===Mi&&(ne=qc(r)),ne===Mi)k.delete(se.toLowerCase());else{var Se=SN(se);Se!==null&&Se!==se&&(he=!0,k.delete(Se)),k.delete(se)}Pe=Mc(t,se,fe)}var He=V;!He&&fe!==Pe&&!he&&Sp(se,Pe,fe)}}}}}switch(T&&k.size>0&&u[Ns]!==!0&&Ix(k),r){case"input":Xo(t),Tl(t,u,!0);break;case"textarea":Xo(t),g0(t);break;case"select":case"option":break;default:typeof u.onClick=="function"&&Fg(t);break}return oe}function _N(t,r,u){var l=t.nodeValue!==r;return l}function $y(t,r){{if(Ua)return;Ua=!0,d("Did not expect server HTML to contain a <%s> in <%s>.",r.nodeName.toLowerCase(),t.nodeName.toLowerCase())}}function Gy(t,r){{if(Ua)return;Ua=!0,d('Did not expect server HTML to contain the text node "%s" in <%s>.',r.nodeValue,t.nodeName.toLowerCase())}}function Xy(t,r,u){{if(Ua)return;Ua=!0,d("Expected server HTML to contain a matching <%s> in <%s>.",r,t.nodeName.toLowerCase())}}function Ky(t,r){{if(r===""||Ua)return;Ua=!0,d('Expected server HTML to contain a matching text node for "%s" in <%s>.',r,t.nodeName.toLowerCase())}}function AN(t,r,u){switch(r){case"input":l0(t,u);return;case"textarea":bh(t,u);return;case"select":sy(t,u);return}}var Cp=function(){},_p=function(){};{var kN=["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"],Ux=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],RN=Ux.concat(["button"]),NN=["dd","dt","li","option","optgroup","p","rp","rt"],Bx={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null};_p=function(t,r){var u=xt({},t||Bx),l={tag:r};return Ux.indexOf(r)!==-1&&(u.aTagInScope=null,u.buttonTagInScope=null,u.nobrTagInScope=null),RN.indexOf(r)!==-1&&(u.pTagInButtonScope=null),kN.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 DN=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 NN.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},ON=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},Hx={};Cp=function(t,r,u){u=u||Bx;var l=u.current,h=l&&l.tag;r!=null&&(t!=null&&d("validateDOMNesting: when childText is passed, childTag should be null"),t="#text");var v=DN(t,h)?null:l,T=v?null:ON(t,u),_=v||T;if(_){var k=_.tag,O=!!v+"|"+t+"|"+k;if(!Hx[O]){Hx[O]=!0;var I=t,$="";if(t==="#text"?/\S/.test(r)?I="Text nodes":(I="Whitespace text nodes",$=" Make sure you don't have any extra whitespace between tags on each line of your source code."):I="<"+t+">",v){var q="";k==="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",I,k,$,q)}else d("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.",I,k)}}}}var Ug="suppressHydrationWarning",Bg="$",Hg="/$",Ap="$?",kp="$!",LN="style",Zy=null,Jy=null;function IN(t){var r,u,l=t.nodeType;switch(l){case Ka:case Ko:{r=l===Ka?"#document":"#fragment";var h=t.documentElement;u=h?h.namespaceURI:Th(null,"");break}default:{var v=l===Ln?t.parentNode:t,T=v.namespaceURI||null;r=v.tagName,u=Th(T,r);break}}{var _=r.toLowerCase(),k=_p(null,_);return{namespace:u,ancestorInfo:k}}}function MN(t,r,u){{var l=t,h=Th(l.namespace,r),v=_p(l.ancestorInfo,r);return{namespace:h,ancestorInfo:v}}}function jV(t){return t}function PN(t){Zy=xs(),Jy=XR();var r=null;return Xr(!1),r}function FN(t){KR(Jy),Xr(Zy),Zy=null,Jy=null}function UN(t,r,u,l,h){var v;{var T=l;if(Cp(t,null,T.ancestorInfo),typeof r.children=="string"||typeof r.children=="number"){var _=""+r.children,k=_p(T.ancestorInfo,t);Cp(null,_,k)}v=T.namespace}var O=EN(t,r,u,v);return Dp(h,O),uE(O,r),O}function BN(t,r){t.appendChild(r)}function HN(t,r,u,l,h){switch(wN(t,r,u,l),r){case"button":case"input":case"select":case"textarea":return!!u.autoFocus;case"img":return!0;default:return!1}}function zN(t,r,u,l,h,v){{var T=v;if(typeof l.children!=typeof u.children&&(typeof l.children=="string"||typeof l.children=="number")){var _=""+l.children,k=_p(T.ancestorInfo,r);Cp(null,_,k)}}return TN(t,r,u,l)}function eE(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 jN(t,r,u,l){{var h=u;Cp(null,t,h.ancestorInfo)}var v=bN(t,r);return Dp(l,v),v}function VN(){var t=window.event;return t===void 0?gi:zd(t.type)}var tE=typeof setTimeout=="function"?setTimeout:void 0,YN=typeof clearTimeout=="function"?clearTimeout:void 0,nE=-1,zx=typeof Promise=="function"?Promise:void 0,WN=typeof queueMicrotask=="function"?queueMicrotask:typeof zx<"u"?function(t){return zx.resolve(null).then(t).catch(qN)}:tE;function qN(t){setTimeout(function(){throw t})}function QN(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 $N(t,r,u,l,h,v){xN(t,r,u,l,h),uE(t,h)}function jx(t){$c(t,"")}function GN(t,r,u){t.nodeValue=u}function XN(t,r){t.appendChild(r)}function KN(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&&Fg(u)}function ZN(t,r,u){t.insertBefore(r,u)}function JN(t,r,u){t.nodeType===Ln?t.parentNode.insertBefore(r,u):t.insertBefore(r,u)}function e6(t,r){t.removeChild(r)}function t6(t,r){t.nodeType===Ln?t.parentNode.removeChild(r):t.removeChild(r)}function rE(t,r){var u=r,l=0;do{var h=u.nextSibling;if(t.removeChild(u),h&&h.nodeType===Ln){var v=h.data;if(v===Hg)if(l===0){t.removeChild(h),Tn(r);return}else l--;else(v===Bg||v===Ap||v===kp)&&l++}u=h}while(u);Tn(r)}function n6(t,r){t.nodeType===Ln?rE(t.parentNode,r):t.nodeType===Hr&&rE(t,r),Tn(t)}function r6(t){t=t;var r=t.style;typeof r.setProperty=="function"?r.setProperty("display","none","important"):r.display="none"}function a6(t){t.nodeValue=""}function i6(t,r){t=t;var u=r[LN],l=u!=null&&u.hasOwnProperty("display")?u.display:null;t.style.display=Gc("display",l)}function o6(t,r){t.nodeValue=r}function u6(t){t.nodeType===Hr?t.textContent="":t.nodeType===Ka&&t.documentElement&&t.removeChild(t.documentElement)}function s6(t,r,u){return t.nodeType!==Hr||r.toLowerCase()!==t.nodeName.toLowerCase()?null:t}function l6(t,r){return r===""||t.nodeType!==Pi?null:t}function c6(t){return t.nodeType!==Ln?null:t}function Vx(t){return t.data===Ap}function aE(t){return t.data===kp}function d6(t){var r=t.nextSibling&&t.nextSibling.dataset,u,l,h;return r&&(u=r.dgst,l=r.msg,h=r.stck),{message:l,digest:u,stack:h}}function f6(t,r){t._reactRetry=r}function zg(t){for(;t!=null;t=t.nextSibling){var r=t.nodeType;if(r===Hr||r===Pi)break;if(r===Ln){var u=t.data;if(u===Bg||u===kp||u===Ap)break;if(u===Hg)return null}}return t}function Rp(t){return zg(t.nextSibling)}function h6(t){return zg(t.firstChild)}function p6(t){return zg(t.firstChild)}function m6(t){return zg(t.nextSibling)}function g6(t,r,u,l,h,v,T){Dp(v,t),uE(t,u);var _;{var k=h;_=k.namespace}var O=(v.mode&Ke)!==Ge;return CN(t,r,u,_,l,O,T)}function v6(t,r,u,l){return Dp(u,t),u.mode&Ke,_N(t,r)}function y6(t,r){Dp(r,t)}function E6(t){for(var r=t.nextSibling,u=0;r;){if(r.nodeType===Ln){var l=r.data;if(l===Hg){if(u===0)return Rp(r);u--}else(l===Bg||l===kp||l===Ap)&&u++}r=r.nextSibling}return null}function Yx(t){for(var r=t.previousSibling,u=0;r;){if(r.nodeType===Ln){var l=r.data;if(l===Bg||l===kp||l===Ap){if(u===0)return r;u--}else l===Hg&&u++}r=r.previousSibling}return null}function b6(t){Tn(t)}function w6(t){Tn(t)}function T6(t){return t!=="head"&&t!=="body"}function x6(t,r,u,l){var h=!0;Pg(r.nodeValue,u,l,h)}function S6(t,r,u,l,h,v){if(r[Ug]!==!0){var T=!0;Pg(l.nodeValue,h,v,T)}}function C6(t,r){r.nodeType===Hr?$y(t,r):r.nodeType===Ln||Gy(t,r)}function _6(t,r){{var u=t.parentNode;u!==null&&(r.nodeType===Hr?$y(u,r):r.nodeType===Ln||Gy(u,r))}}function A6(t,r,u,l,h){(h||r[Ug]!==!0)&&(l.nodeType===Hr?$y(u,l):l.nodeType===Ln||Gy(u,l))}function k6(t,r,u){Xy(t,r)}function R6(t,r){Ky(t,r)}function N6(t,r,u){{var l=t.parentNode;l!==null&&Xy(l,r)}}function D6(t,r){{var u=t.parentNode;u!==null&&Ky(u,r)}}function O6(t,r,u,l,h,v){(v||r[Ug]!==!0)&&Xy(u,l)}function L6(t,r,u,l,h){(h||r[Ug]!==!0)&&Ky(u,l)}function I6(t){d("An error occurred during hydration. The server HTML was replaced with client content in <%s>.",t.nodeName.toLowerCase())}function M6(t){wp(t)}var of=Math.random().toString(36).slice(2),uf="__reactFiber$"+of,iE="__reactProps$"+of,Np="__reactContainer$"+of,oE="__reactEvents$"+of,P6="__reactListeners$"+of,F6="__reactHandles$"+of;function U6(t){delete t[uf],delete t[iE],delete t[oE],delete t[P6],delete t[F6]}function Dp(t,r){r[uf]=t}function jg(t,r){r[Np]=t}function Wx(t){t[Np]=null}function Op(t){return!!t[Np]}function uc(t){var r=t[uf];if(r)return r;for(var u=t.parentNode;u;){if(r=u[Np]||u[uf],r){var l=r.alternate;if(r.child!==null||l!==null&&l.child!==null)for(var h=Yx(t);h!==null;){var v=h[uf];if(v)return v;h=Yx(h)}return r}t=u,u=t.parentNode}return null}function Ds(t){var r=t[uf]||t[Np];return r&&(r.tag===A||r.tag===D||r.tag===J||r.tag===S)?r:null}function sf(t){if(t.tag===A||t.tag===D)return t.stateNode;throw new Error("getNodeFromInstance: Invalid argument.")}function Vg(t){return t[iE]||null}function uE(t,r){t[iE]=r}function B6(t){var r=t[oE];return r===void 0&&(r=t[oE]=new Set),r}var qx={},Qx=a.ReactDebugCurrentFrame;function Yg(t){if(t){var r=t._owner,u=pl(t.type,t._source,r?r.type:null);Qx.setExtraStackFrame(u)}else Qx.setExtraStackFrame(null)}function Gi(t,r,u,l,h){{var v=Function.call.bind(Fn);for(var T in t)if(v(t,T)){var _=void 0;try{if(typeof t[T]!="function"){var k=Error((l||"React class")+": "+u+" type `"+T+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof t[T]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw k.name="Invariant Violation",k}_=t[T](r,T,l,u,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(O){_=O}_&&!(_ instanceof Error)&&(Yg(h),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,T,typeof _),Yg(null)),_ instanceof Error&&!(_.message in qx)&&(qx[_.message]=!0,Yg(h),d("Failed %s type: %s",u,_.message),Yg(null))}}}var sE=[],Wg;Wg=[];var wu=-1;function Os(t){return{current:t}}function Kr(t,r){if(wu<0){d("Unexpected pop.");return}r!==Wg[wu]&&d("Unexpected Fiber popped."),t.current=sE[wu],sE[wu]=null,Wg[wu]=null,wu--}function Zr(t,r,u){wu++,sE[wu]=t.current,Wg[wu]=u,t.current=r}var lE;lE={};var ti={};Object.freeze(ti);var Tu=Os(ti),Do=Os(!1),cE=ti;function lf(t,r,u){return u&&Oo(r)?cE:Tu.current}function $x(t,r,u){{var l=t.stateNode;l.__reactInternalMemoizedUnmaskedChildContext=r,l.__reactInternalMemoizedMaskedChildContext=u}}function cf(t,r){{var u=t.type,l=u.contextTypes;if(!l)return ti;var h=t.stateNode;if(h&&h.__reactInternalMemoizedUnmaskedChildContext===r)return h.__reactInternalMemoizedMaskedChildContext;var v={};for(var T in l)v[T]=r[T];{var _=pt(t)||"Unknown";Gi(l,v,"context",_)}return h&&$x(t,r,v),v}}function qg(){return Do.current}function Oo(t){{var r=t.childContextTypes;return r!=null}}function Qg(t){Kr(Do,t),Kr(Tu,t)}function dE(t){Kr(Do,t),Kr(Tu,t)}function Gx(t,r,u){{if(Tu.current!==ti)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(Do,u,t)}}function Xx(t,r,u){{var l=t.stateNode,h=r.childContextTypes;if(typeof l.getChildContext!="function"){{var v=pt(t)||"Unknown";lE[v]||(lE[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 T=l.getChildContext();for(var _ in T)if(!(_ in h))throw new Error((pt(t)||"Unknown")+'.getChildContext(): key "'+_+'" is not defined in childContextTypes.');{var k=pt(t)||"Unknown";Gi(h,T,"child context",k)}return xt({},u,T)}}function $g(t){{var r=t.stateNode,u=r&&r.__reactInternalMemoizedMergedChildContext||ti;return cE=Tu.current,Zr(Tu,u,t),Zr(Do,Do.current,t),!0}}function Kx(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 h=Xx(t,r,cE);l.__reactInternalMemoizedMergedChildContext=h,Kr(Do,t),Kr(Tu,t),Zr(Tu,h,t),Zr(Do,u,t)}else Kr(Do,t),Zr(Do,u,t)}}function H6(t){{if(!jh(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(Oo(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 Ls=0,Gg=1,xu=null,fE=!1,hE=!1;function Zx(t){xu===null?xu=[t]:xu.push(t)}function z6(t){fE=!0,Zx(t)}function Jx(){fE&&Is()}function Is(){if(!hE&&xu!==null){hE=!0;var t=0,r=La();try{var u=!0,l=xu;for(wn(_n);t<l.length;t++){var h=l[t];do h=h(u);while(h!==null)}xu=null,fE=!1}catch(v){throw xu!==null&&(xu=xu.slice(t+1)),od(sd,Is),v}finally{wn(r),hE=!1}}return null}var df=[],ff=0,Xg=null,Kg=0,bi=[],wi=0,sc=null,Su=1,Cu="";function j6(t){return cc(),(t.flags&Bh)!==nt}function V6(t){return cc(),Kg}function Y6(){var t=Cu,r=Su,u=r&~W6(r);return u.toString(32)+t}function lc(t,r){cc(),df[ff++]=Kg,df[ff++]=Xg,Xg=t,Kg=r}function eS(t,r,u){cc(),bi[wi++]=Su,bi[wi++]=Cu,bi[wi++]=sc,sc=t;var l=Su,h=Cu,v=Zg(l)-1,T=l&~(1<<v),_=u+1,k=Zg(r)+v;if(k>30){var O=v-v%5,I=(1<<O)-1,$=(T&I).toString(32),q=T>>O,oe=v-O,se=Zg(r)+oe,fe=_<<oe,Pe=fe|q,rt=$+h;Su=1<<se|Pe,Cu=rt}else{var Ze=_<<v,Nt=Ze|T,Ct=h;Su=1<<k|Nt,Cu=Ct}}function pE(t){cc();var r=t.return;if(r!==null){var u=1,l=0;lc(t,u),eS(t,u,l)}}function Zg(t){return 32-os(t)}function W6(t){return 1<<Zg(t)-1}function mE(t){for(;t===Xg;)Xg=df[--ff],df[ff]=null,Kg=df[--ff],df[ff]=null;for(;t===sc;)sc=bi[--wi],bi[wi]=null,Cu=bi[--wi],bi[wi]=null,Su=bi[--wi],bi[wi]=null}function q6(){return cc(),sc!==null?{id:Su,overflow:Cu}:null}function Q6(t,r){cc(),bi[wi++]=Su,bi[wi++]=Cu,bi[wi++]=sc,Su=r.id,Cu=r.overflow,sc=t}function cc(){Nr()||d("Expected to be hydrating. This is a bug in React. Please file an issue.")}var Rr=null,Ti=null,Xi=!1,dc=!1,Ms=null;function $6(){Xi&&d("We should not be hydrating here. This is a bug in React. Please file a bug.")}function tS(){dc=!0}function G6(){return dc}function X6(t){var r=t.stateNode.containerInfo;return Ti=p6(r),Rr=t,Xi=!0,Ms=null,dc=!1,!0}function K6(t,r,u){return Ti=m6(r),Rr=t,Xi=!0,Ms=null,dc=!1,u!==null&&Q6(t,u),!0}function nS(t,r){switch(t.tag){case S:{C6(t.stateNode.containerInfo,r);break}case A:{var u=(t.mode&Ke)!==Ge;A6(t.type,t.memoizedProps,t.stateNode,r,u);break}case J:{var l=t.memoizedState;l.dehydrated!==null&&_6(l.dehydrated,r);break}}}function rS(t,r){nS(t,r);var u=tL();u.stateNode=r,u.return=t;var l=t.deletions;l===null?(t.deletions=[u],t.flags|=Bt):l.push(u)}function gE(t,r){{if(dc)return;switch(t.tag){case S:{var u=t.stateNode.containerInfo;switch(r.tag){case A:var l=r.type;r.pendingProps,k6(u,l);break;case D:var h=r.pendingProps;R6(u,h);break}break}case A:{var v=t.type,T=t.memoizedProps,_=t.stateNode;switch(r.tag){case A:{var k=r.type,O=r.pendingProps,I=(t.mode&Ke)!==Ge;O6(v,T,_,k,O,I);break}case D:{var $=r.pendingProps,q=(t.mode&Ke)!==Ge;L6(v,T,_,$,q);break}}break}case J:{var oe=t.memoizedState,se=oe.dehydrated;if(se!==null)switch(r.tag){case A:var fe=r.type;r.pendingProps,N6(se,fe);break;case D:var Pe=r.pendingProps;D6(se,Pe);break}break}default:return}}}function aS(t,r){r.flags=r.flags&~Aa|Jt,gE(t,r)}function iS(t,r){switch(t.tag){case A:{var u=t.type;t.pendingProps;var l=s6(r,u);return l!==null?(t.stateNode=l,Rr=t,Ti=h6(l),!0):!1}case D:{var h=t.pendingProps,v=l6(r,h);return v!==null?(t.stateNode=v,Rr=t,Ti=null,!0):!1}case J:{var T=c6(r);if(T!==null){var _={dehydrated:T,treeContext:q6(),retryLane:br};t.memoizedState=_;var k=nL(T);return k.return=t,t.child=k,Rr=t,Ti=null,!0}return!1}default:return!1}}function vE(t){return(t.mode&Ke)!==Ge&&(t.flags<)===nt}function yE(t){throw new Error("Hydration failed because the initial UI does not match what was rendered on the server.")}function EE(t){if(Xi){var r=Ti;if(!r){vE(t)&&(gE(Rr,t),yE()),aS(Rr,t),Xi=!1,Rr=t;return}var u=r;if(!iS(t,r)){vE(t)&&(gE(Rr,t),yE()),r=Rp(u);var l=Rr;if(!r||!iS(t,r)){aS(Rr,t),Xi=!1,Rr=t;return}rS(l,u)}}}function Z6(t,r,u){var l=t.stateNode,h=!dc,v=g6(l,t.type,t.memoizedProps,r,u,t,h);return t.updateQueue=v,v!==null}function J6(t){var r=t.stateNode,u=t.memoizedProps,l=v6(r,u,t);if(l){var h=Rr;if(h!==null)switch(h.tag){case S:{var v=h.stateNode.containerInfo,T=(h.mode&Ke)!==Ge;x6(v,r,u,T);break}case A:{var _=h.type,k=h.memoizedProps,O=h.stateNode,I=(h.mode&Ke)!==Ge;S6(_,k,O,r,u,I);break}}}return l}function eD(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.");y6(u,t)}function tD(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 E6(u)}function oS(t){for(var r=t.return;r!==null&&r.tag!==A&&r.tag!==S&&r.tag!==J;)r=r.return;Rr=r}function Jg(t){if(t!==Rr)return!1;if(!Xi)return oS(t),Xi=!0,!1;if(t.tag!==S&&(t.tag!==A||T6(t.type)&&!eE(t.type,t.memoizedProps))){var r=Ti;if(r)if(vE(t))uS(t),yE();else for(;r;)rS(t,r),r=Rp(r)}return oS(t),t.tag===J?Ti=tD(t):Ti=Rr?Rp(t.stateNode):null,!0}function nD(){return Xi&&Ti!==null}function uS(t){for(var r=Ti;r;)nS(t,r),r=Rp(r)}function hf(){Rr=null,Ti=null,Xi=!1,dc=!1}function sS(){Ms!==null&&(tC(Ms),Ms=null)}function Nr(){return Xi}function bE(t){Ms===null?Ms=[t]:Ms.push(t)}var rD=a.ReactCurrentBatchConfig,aD=null;function iD(){return rD.transition}var Ki={recordUnsafeLifecycleWarnings:function(t,r){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(t,r){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}};{var oD=function(t){for(var r=null,u=t;u!==null;)u.mode&wt&&(r=u),u=u.return;return r},fc=function(t){var r=[];return t.forEach(function(u){r.push(u)}),r.sort().join(", ")},Lp=[],Ip=[],Mp=[],Pp=[],Fp=[],Up=[],hc=new Set;Ki.recordUnsafeLifecycleWarnings=function(t,r){hc.has(t.type)||(typeof r.componentWillMount=="function"&&r.componentWillMount.__suppressDeprecationWarning!==!0&&Lp.push(t),t.mode&wt&&typeof r.UNSAFE_componentWillMount=="function"&&Ip.push(t),typeof r.componentWillReceiveProps=="function"&&r.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&Mp.push(t),t.mode&wt&&typeof r.UNSAFE_componentWillReceiveProps=="function"&&Pp.push(t),typeof r.componentWillUpdate=="function"&&r.componentWillUpdate.__suppressDeprecationWarning!==!0&&Fp.push(t),t.mode&wt&&typeof r.UNSAFE_componentWillUpdate=="function"&&Up.push(t))},Ki.flushPendingUnsafeLifecycleWarnings=function(){var t=new Set;Lp.length>0&&(Lp.forEach(function(q){t.add(pt(q)||"Component"),hc.add(q.type)}),Lp=[]);var r=new Set;Ip.length>0&&(Ip.forEach(function(q){r.add(pt(q)||"Component"),hc.add(q.type)}),Ip=[]);var u=new Set;Mp.length>0&&(Mp.forEach(function(q){u.add(pt(q)||"Component"),hc.add(q.type)}),Mp=[]);var l=new Set;Pp.length>0&&(Pp.forEach(function(q){l.add(pt(q)||"Component"),hc.add(q.type)}),Pp=[]);var h=new Set;Fp.length>0&&(Fp.forEach(function(q){h.add(pt(q)||"Component"),hc.add(q.type)}),Fp=[]);var v=new Set;if(Up.length>0&&(Up.forEach(function(q){v.add(pt(q)||"Component"),hc.add(q.type)}),Up=[]),r.size>0){var T=fc(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
90
|
|
|
91
91
|
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
92
92
|
|
|
@@ -138,7 +138,7 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`)}}retur
|
|
|
138
138
|
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function WE(t,r){if(YE)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
139
|
|
|
140
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 Tf(t,r,u,l,h,v){mc=v,qt=r,xi=t!==null?t._debugHookTypes:null,Bs=-1,YE=t!==null&&t.type!==r.type,r.memoizedState=null,r.updateQueue=null,r.lanes=ve,t!==null&&t.memoizedState!==null?Be.current=$S:xi!==null?Be.current=QS:Be.current=qS;var T=u(l,h);if(Yp){var _=0;do{if(Yp=!1,Wp=0,_>=xD)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");_+=1,YE=!1,cr=null,dr=null,r.updateQueue=null,Bs=-1,Be.current=GS,T=u(l,h)}while(Yp)}Be.current=Rv,r._debugHookTypes=xi;var k=cr!==null&&cr.next!==null;if(mc=ve,qt=null,cr=null,dr=null,me=null,xi=null,Bs=-1,t!==null&&(t.flags&ir)!==(r.flags&ir)&&(t.mode&Ke)!==Ge&&d("Internal React error: Expected static flag was missing. Please notify the React team."),gv=!1,k)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return T}function xf(){var t=Wp!==0;return Wp=0,t}function AS(t,r,u){r.updateQueue=t.updateQueue,(r.mode&fa)!==Ge?r.flags&=~(au|Vr|on|gt):r.flags&=~(on|gt),t.lanes=ql(t.lanes,u)}function kS(){if(Be.current=Rv,gv){for(var t=qt.memoizedState;t!==null;){var r=t.queue;r!==null&&(r.pending=null),t=t.next}gv=!1}mc=ve,qt=null,cr=null,dr=null,xi=null,Bs=-1,me=null,zS=!1,Yp=!1,Wp=0}function Io(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return dr===null?qt.memoizedState=dr=t:dr=dr.next=t,dr}function Si(){var t;if(cr===null){var r=qt.alternate;r!==null?t=r.memoizedState:t=null}else t=cr.next;var u;if(dr===null?u=qt.memoizedState:u=dr.next,u!==null)dr=u,u=dr.next,cr=t;else{if(t===null)throw new Error("Rendered more hooks than during the previous render.");cr=t;var l={memoizedState:cr.memoizedState,baseState:cr.baseState,baseQueue:cr.baseQueue,queue:cr.queue,next:null};dr===null?qt.memoizedState=dr=l:dr=dr.next=l}return dr}function RS(){return{lastEffect:null,stores:null}}function qE(t,r){return typeof r=="function"?r(t):r}function QE(t,r,u){var l=Io(),h;u!==void 0?h=u(r):h=r,l.memoizedState=l.baseState=h;var v={pending:null,interleaved:null,lanes:ve,dispatch:null,lastRenderedReducer:t,lastRenderedState:h};l.queue=v;var T=v.dispatch=kD.bind(null,qt,v);return[l.memoizedState,T]}function $E(t,r,u){var l=Si(),h=l.queue;if(h===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");h.lastRenderedReducer=t;var v=cr,T=v.baseQueue,_=h.pending;if(_!==null){if(T!==null){var k=T.next,O=_.next;T.next=O,_.next=k}v.baseQueue!==T&&d("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),v.baseQueue=T=_,h.pending=null}if(T!==null){var I=T.next,$=v.baseState,q=null,oe=null,se=null,fe=I;do{var Pe=fe.lane;if(hu(mc,Pe)){if(se!==null){var Ze={lane:Mn,action:fe.action,hasEagerState:fe.hasEagerState,eagerState:fe.eagerState,next:null};se=se.next=Ze}if(fe.hasEagerState)$=fe.eagerState;else{var Nt=fe.action;$=t($,Nt)}}else{var rt={lane:Pe,action:fe.action,hasEagerState:fe.hasEagerState,eagerState:fe.eagerState,next:null};se===null?(oe=se=rt,q=$):se=se.next=rt,qt.lanes=mt(qt.lanes,Pe),fm(Pe)}fe=fe.next}while(fe!==null&&fe!==I);se===null?q=$:se.next=oe,Ye($,l.memoizedState)||em(),l.memoizedState=$,l.baseState=q,l.baseQueue=se,h.lastRenderedState=$}var Ct=h.interleaved;if(Ct!==null){var te=Ct;do{var he=te.lane;qt.lanes=mt(qt.lanes,he),fm(he),te=te.next}while(te!==Ct)}else T===null&&(h.lanes=ve);var ne=h.dispatch;return[l.memoizedState,ne]}function GE(t,r,u){var l=Si(),h=l.queue;if(h===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");h.lastRenderedReducer=t;var v=h.dispatch,T=h.pending,_=l.memoizedState;if(T!==null){h.pending=null;var k=T.next,O=k;do{var I=O.action;_=t(_,I),O=O.next}while(O!==k);Ye(_,l.memoizedState)||em(),l.memoizedState=_,l.baseQueue===null&&(l.baseState=_),h.lastRenderedState=_}return[_,v]}function YV(t,r,u){}function WV(t,r,u){}function XE(t,r,u){var l=qt,h=Io(),v,T=Nr();if(T){if(u===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");v=u(),bf||v!==u()&&(d("The result of getServerSnapshot should be cached to avoid an infinite loop"),bf=!0)}else{if(v=r(),!bf){var _=r();Ye(v,_)||(d("The result of getSnapshot should be cached to avoid an infinite loop"),bf=!0)}var k=$v();if(k===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");Wl(k,mc)||NS(l,r,v)}h.memoizedState=v;var O={value:v,getSnapshot:r};return h.queue=O,wv(OS.bind(null,l,O,t),[t]),l.flags|=on,qp(sr|Dr,DS.bind(null,l,O,v,r),void 0,null),v}function vv(t,r,u){var l=qt,h=Si(),v=r();if(!bf){var T=r();Ye(v,T)||(d("The result of getSnapshot should be cached to avoid an infinite loop"),bf=!0)}var _=h.memoizedState,k=!Ye(_,v);k&&(h.memoizedState=v,em());var O=h.queue;if($p(OS.bind(null,l,O,t),[t]),O.getSnapshot!==r||k||dr!==null&&dr.memoizedState.tag&sr){l.flags|=on,qp(sr|Dr,DS.bind(null,l,O,v,r),void 0,null);var I=$v();if(I===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");Wl(I,mc)||NS(l,r,v)}return v}function NS(t,r,u){t.flags|=Ml;var l={getSnapshot:r,value:u},h=qt.updateQueue;if(h===null)h=RS(),qt.updateQueue=h,h.stores=[l];else{var v=h.stores;v===null?h.stores=[l]:v.push(l)}}function DS(t,r,u,l){r.value=u,r.getSnapshot=l,LS(r)&&IS(t)}function OS(t,r,u){var l=function(){LS(r)&&IS(t)};return u(l)}function LS(t){var r=t.getSnapshot,u=t.value;try{var l=r();return!Ye(u,l)}catch{return!0}}function IS(t){var r=Ba(t,Je);r!==null&&mr(r,t,Je,Zt)}function yv(t){var r=Io();typeof t=="function"&&(t=t()),r.memoizedState=r.baseState=t;var u={pending:null,interleaved:null,lanes:ve,dispatch:null,lastRenderedReducer:qE,lastRenderedState:t};r.queue=u;var l=u.dispatch=RD.bind(null,qt,u);return[r.memoizedState,l]}function KE(t){return $E(qE)}function ZE(t){return GE(qE)}function qp(t,r,u,l){var h={tag:t,create:r,destroy:u,deps:l,next:null},v=qt.updateQueue;if(v===null)v=RS(),qt.updateQueue=v,v.lastEffect=h.next=h;else{var T=v.lastEffect;if(T===null)v.lastEffect=h.next=h;else{var _=T.next;T.next=h,h.next=_,v.lastEffect=h}}return h}function JE(t){var r=Io();{var u={current:t};return r.memoizedState=u,u}}function Ev(t){var r=Si();return r.memoizedState}function Qp(t,r,u,l){var h=Io(),v=l===void 0?null:l;qt.flags|=t,h.memoizedState=qp(sr|r,u,void 0,v)}function bv(t,r,u,l){var h=Si(),v=l===void 0?null:l,T=void 0;if(cr!==null){var _=cr.memoizedState;if(T=_.destroy,v!==null){var k=_.deps;if(WE(v,k)){h.memoizedState=qp(r,u,T,v);return}}}qt.flags|=t,h.memoizedState=qp(sr|r,u,T,v)}function wv(t,r){return(qt.mode&fa)!==Ge?Qp(au|on|wo,Dr,t,r):Qp(on|wo,Dr,t,r)}function $p(t,r){return bv(on,Dr,t,r)}function eb(t,r){return Qp(gt,Lo,t,r)}function Tv(t,r){return bv(gt,Lo,t,r)}function tb(t,r){var u=gt;return u|=jr,(qt.mode&fa)!==Ge&&(u|=Vr),Qp(u,lr,t,r)}function xv(t,r){return bv(gt,lr,t,r)}function MS(t,r){if(typeof r=="function"){var u=r,l=t();return u(l),function(){u(null)}}else if(r!=null){var h=r;h.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(h).join(", ")+"}");var v=t();return h.current=v,function(){h.current=null}}}function nb(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,h=gt;return h|=jr,(qt.mode&fa)!==Ge&&(h|=Vr),Qp(h,lr,MS.bind(null,r,t),l)}function Sv(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 bv(gt,lr,MS.bind(null,r,t),l)}function CD(t,r){}var Cv=CD;function rb(t,r){var u=Io(),l=r===void 0?null:r;return u.memoizedState=[t,l],t}function _v(t,r){var u=Si(),l=r===void 0?null:r,h=u.memoizedState;if(h!==null&&l!==null){var v=h[1];if(WE(l,v))return h[0]}return u.memoizedState=[t,l],t}function ab(t,r){var u=Io(),l=r===void 0?null:r,h=t();return u.memoizedState=[h,l],h}function Av(t,r){var u=Si(),l=r===void 0?null:r,h=u.memoizedState;if(h!==null&&l!==null){var v=h[1];if(WE(l,v))return h[0]}var T=t();return u.memoizedState=[T,l],T}function ib(t){var r=Io();return r.memoizedState=t,t}function PS(t){var r=Si(),u=cr,l=u.memoizedState;return US(r,l,t)}function FS(t){var r=Si();if(cr===null)return r.memoizedState=t,t;var u=cr.memoizedState;return US(r,u,t)}function US(t,r,u){var l=!rg(mc);if(l){if(!Ye(u,r)){var h=og();qt.lanes=mt(qt.lanes,h),fm(h),t.baseState=!0}return r}else return t.baseState&&(t.baseState=!1,em()),t.memoizedState=u,u}function _D(t,r,u){var l=La();wn(Cy(l,Wi)),t(!0);var h=Vp.transition;Vp.transition={};var v=Vp.transition;Vp.transition._updatedFibers=new Set;try{t(!1),r()}finally{if(wn(l),Vp.transition=h,h===null&&v._updatedFibers){var T=v._updatedFibers.size;T>10&&p("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 ob(){var t=yv(!1),r=t[0],u=t[1],l=_D.bind(null,u),h=Io();return h.memoizedState=l,[r,l]}function BS(){var t=KE(),r=t[0],u=Si(),l=u.memoizedState;return[r,l]}function HS(){var t=ZE(),r=t[0],u=Si(),l=u.memoizedState;return[r,l]}var zS=!1;function AD(){return zS}function ub(){var t=Io(),r=$v(),u=r.identifierPrefix,l;if(Nr()){var h=Y6();l=":"+u+"R"+h;var v=Wp++;v>0&&(l+="H"+v.toString(32)),l+=":"}else{var T=TD++;l=":"+u+"r"+T.toString(32)+":"}return t.memoizedState=l,l}function kv(){var t=Si(),r=t.memoizedState;return r}function kD(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=Ys(t),h={lane:l,action:u,hasEagerState:!1,eagerState:null,next:null};if(jS(t))VS(r,h);else{var v=vS(t,r,h,l);if(v!==null){var T=ga();mr(v,t,l,T),YS(v,r,l)}}WS(t,l)}function RD(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=Ys(t),h={lane:l,action:u,hasEagerState:!1,eagerState:null,next:null};if(jS(t))VS(r,h);else{var v=t.alternate;if(t.lanes===ve&&(v===null||v.lanes===ve)){var T=r.lastRenderedReducer;if(T!==null){var _;_=Be.current,Be.current=Ji;try{var k=r.lastRenderedState,O=T(k,u);if(h.hasEagerState=!0,h.eagerState=O,Ye(O,k)){hD(t,r,h,l);return}}catch{}finally{Be.current=_}}}var I=vS(t,r,h,l);if(I!==null){var $=ga();mr(I,t,l,$),YS(I,r,l)}}WS(t,l)}function jS(t){var r=t.alternate;return t===qt||r!==null&&r===qt}function VS(t,r){Yp=gv=!0;var u=t.pending;u===null?r.next=r:(r.next=u.next,u.next=r),t.pending=r}function YS(t,r,u){if(ep(u)){var l=r.lanes;l=Od(l,t.pendingLanes);var h=mt(l,u);r.lanes=h,tp(t,h)}}function WS(t,r,u){Bl(t,r)}var Rv={readContext:tr,useCallback:Jr,useContext:Jr,useEffect:Jr,useImperativeHandle:Jr,useInsertionEffect:Jr,useLayoutEffect:Jr,useMemo:Jr,useReducer:Jr,useRef:Jr,useState:Jr,useDebugValue:Jr,useDeferredValue:Jr,useTransition:Jr,useMutableSource:Jr,useSyncExternalStore:Jr,useId:Jr,unstable_isNewReconciler:pe},qS=null,QS=null,$S=null,GS=null,Mo=null,Ji=null,Nv=null;{var sb=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().")},ft=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 tr(t)},useCallback:function(t,r){return me="useCallback",jt(),wf(r),rb(t,r)},useContext:function(t){return me="useContext",jt(),tr(t)},useEffect:function(t,r){return me="useEffect",jt(),wf(r),wv(t,r)},useImperativeHandle:function(t,r,u){return me="useImperativeHandle",jt(),wf(u),nb(t,r,u)},useInsertionEffect:function(t,r){return me="useInsertionEffect",jt(),wf(r),eb(t,r)},useLayoutEffect:function(t,r){return me="useLayoutEffect",jt(),wf(r),tb(t,r)},useMemo:function(t,r){me="useMemo",jt(),wf(r);var u=Be.current;Be.current=Mo;try{return ab(t,r)}finally{Be.current=u}},useReducer:function(t,r,u){me="useReducer",jt();var l=Be.current;Be.current=Mo;try{return QE(t,r,u)}finally{Be.current=l}},useRef:function(t){return me="useRef",jt(),JE(t)},useState:function(t){me="useState",jt();var r=Be.current;Be.current=Mo;try{return yv(t)}finally{Be.current=r}},useDebugValue:function(t,r){return me="useDebugValue",jt(),void 0},useDeferredValue:function(t){return me="useDeferredValue",jt(),ib(t)},useTransition:function(){return me="useTransition",jt(),ob()},useMutableSource:function(t,r,u){return me="useMutableSource",jt(),void 0},useSyncExternalStore:function(t,r,u){return me="useSyncExternalStore",jt(),XE(t,r,u)},useId:function(){return me="useId",jt(),ub()},unstable_isNewReconciler:pe},QS={readContext:function(t){return tr(t)},useCallback:function(t,r){return me="useCallback",Ie(),rb(t,r)},useContext:function(t){return me="useContext",Ie(),tr(t)},useEffect:function(t,r){return me="useEffect",Ie(),wv(t,r)},useImperativeHandle:function(t,r,u){return me="useImperativeHandle",Ie(),nb(t,r,u)},useInsertionEffect:function(t,r){return me="useInsertionEffect",Ie(),eb(t,r)},useLayoutEffect:function(t,r){return me="useLayoutEffect",Ie(),tb(t,r)},useMemo:function(t,r){me="useMemo",Ie();var u=Be.current;Be.current=Mo;try{return ab(t,r)}finally{Be.current=u}},useReducer:function(t,r,u){me="useReducer",Ie();var l=Be.current;Be.current=Mo;try{return QE(t,r,u)}finally{Be.current=l}},useRef:function(t){return me="useRef",Ie(),JE(t)},useState:function(t){me="useState",Ie();var r=Be.current;Be.current=Mo;try{return yv(t)}finally{Be.current=r}},useDebugValue:function(t,r){return me="useDebugValue",Ie(),void 0},useDeferredValue:function(t){return me="useDeferredValue",Ie(),ib(t)},useTransition:function(){return me="useTransition",Ie(),ob()},useMutableSource:function(t,r,u){return me="useMutableSource",Ie(),void 0},useSyncExternalStore:function(t,r,u){return me="useSyncExternalStore",Ie(),XE(t,r,u)},useId:function(){return me="useId",Ie(),ub()},unstable_isNewReconciler:pe},$S={readContext:function(t){return tr(t)},useCallback:function(t,r){return me="useCallback",Ie(),_v(t,r)},useContext:function(t){return me="useContext",Ie(),tr(t)},useEffect:function(t,r){return me="useEffect",Ie(),$p(t,r)},useImperativeHandle:function(t,r,u){return me="useImperativeHandle",Ie(),Sv(t,r,u)},useInsertionEffect:function(t,r){return me="useInsertionEffect",Ie(),Tv(t,r)},useLayoutEffect:function(t,r){return me="useLayoutEffect",Ie(),xv(t,r)},useMemo:function(t,r){me="useMemo",Ie();var u=Be.current;Be.current=Ji;try{return Av(t,r)}finally{Be.current=u}},useReducer:function(t,r,u){me="useReducer",Ie();var l=Be.current;Be.current=Ji;try{return $E(t,r,u)}finally{Be.current=l}},useRef:function(t){return me="useRef",Ie(),Ev()},useState:function(t){me="useState",Ie();var r=Be.current;Be.current=Ji;try{return KE(t)}finally{Be.current=r}},useDebugValue:function(t,r){return me="useDebugValue",Ie(),Cv()},useDeferredValue:function(t){return me="useDeferredValue",Ie(),PS(t)},useTransition:function(){return me="useTransition",Ie(),BS()},useMutableSource:function(t,r,u){return me="useMutableSource",Ie(),void 0},useSyncExternalStore:function(t,r,u){return me="useSyncExternalStore",Ie(),vv(t,r)},useId:function(){return me="useId",Ie(),kv()},unstable_isNewReconciler:pe},GS={readContext:function(t){return tr(t)},useCallback:function(t,r){return me="useCallback",Ie(),_v(t,r)},useContext:function(t){return me="useContext",Ie(),tr(t)},useEffect:function(t,r){return me="useEffect",Ie(),$p(t,r)},useImperativeHandle:function(t,r,u){return me="useImperativeHandle",Ie(),Sv(t,r,u)},useInsertionEffect:function(t,r){return me="useInsertionEffect",Ie(),Tv(t,r)},useLayoutEffect:function(t,r){return me="useLayoutEffect",Ie(),xv(t,r)},useMemo:function(t,r){me="useMemo",Ie();var u=Be.current;Be.current=Nv;try{return Av(t,r)}finally{Be.current=u}},useReducer:function(t,r,u){me="useReducer",Ie();var l=Be.current;Be.current=Nv;try{return GE(t,r,u)}finally{Be.current=l}},useRef:function(t){return me="useRef",Ie(),Ev()},useState:function(t){me="useState",Ie();var r=Be.current;Be.current=Nv;try{return ZE(t)}finally{Be.current=r}},useDebugValue:function(t,r){return me="useDebugValue",Ie(),Cv()},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(),vv(t,r)},useId:function(){return me="useId",Ie(),kv()},unstable_isNewReconciler:pe},Mo={readContext:function(t){return sb(),tr(t)},useCallback:function(t,r){return me="useCallback",ft(),jt(),rb(t,r)},useContext:function(t){return me="useContext",ft(),jt(),tr(t)},useEffect:function(t,r){return me="useEffect",ft(),jt(),wv(t,r)},useImperativeHandle:function(t,r,u){return me="useImperativeHandle",ft(),jt(),nb(t,r,u)},useInsertionEffect:function(t,r){return me="useInsertionEffect",ft(),jt(),eb(t,r)},useLayoutEffect:function(t,r){return me="useLayoutEffect",ft(),jt(),tb(t,r)},useMemo:function(t,r){me="useMemo",ft(),jt();var u=Be.current;Be.current=Mo;try{return ab(t,r)}finally{Be.current=u}},useReducer:function(t,r,u){me="useReducer",ft(),jt();var l=Be.current;Be.current=Mo;try{return QE(t,r,u)}finally{Be.current=l}},useRef:function(t){return me="useRef",ft(),jt(),JE(t)},useState:function(t){me="useState",ft(),jt();var r=Be.current;Be.current=Mo;try{return yv(t)}finally{Be.current=r}},useDebugValue:function(t,r){return me="useDebugValue",ft(),jt(),void 0},useDeferredValue:function(t){return me="useDeferredValue",ft(),jt(),ib(t)},useTransition:function(){return me="useTransition",ft(),jt(),ob()},useMutableSource:function(t,r,u){return me="useMutableSource",ft(),jt(),void 0},useSyncExternalStore:function(t,r,u){return me="useSyncExternalStore",ft(),jt(),XE(t,r,u)},useId:function(){return me="useId",ft(),jt(),ub()},unstable_isNewReconciler:pe},Ji={readContext:function(t){return sb(),tr(t)},useCallback:function(t,r){return me="useCallback",ft(),Ie(),_v(t,r)},useContext:function(t){return me="useContext",ft(),Ie(),tr(t)},useEffect:function(t,r){return me="useEffect",ft(),Ie(),$p(t,r)},useImperativeHandle:function(t,r,u){return me="useImperativeHandle",ft(),Ie(),Sv(t,r,u)},useInsertionEffect:function(t,r){return me="useInsertionEffect",ft(),Ie(),Tv(t,r)},useLayoutEffect:function(t,r){return me="useLayoutEffect",ft(),Ie(),xv(t,r)},useMemo:function(t,r){me="useMemo",ft(),Ie();var u=Be.current;Be.current=Ji;try{return Av(t,r)}finally{Be.current=u}},useReducer:function(t,r,u){me="useReducer",ft(),Ie();var l=Be.current;Be.current=Ji;try{return $E(t,r,u)}finally{Be.current=l}},useRef:function(t){return me="useRef",ft(),Ie(),Ev()},useState:function(t){me="useState",ft(),Ie();var r=Be.current;Be.current=Ji;try{return KE(t)}finally{Be.current=r}},useDebugValue:function(t,r){return me="useDebugValue",ft(),Ie(),Cv()},useDeferredValue:function(t){return me="useDeferredValue",ft(),Ie(),PS(t)},useTransition:function(){return me="useTransition",ft(),Ie(),BS()},useMutableSource:function(t,r,u){return me="useMutableSource",ft(),Ie(),void 0},useSyncExternalStore:function(t,r,u){return me="useSyncExternalStore",ft(),Ie(),vv(t,r)},useId:function(){return me="useId",ft(),Ie(),kv()},unstable_isNewReconciler:pe},Nv={readContext:function(t){return sb(),tr(t)},useCallback:function(t,r){return me="useCallback",ft(),Ie(),_v(t,r)},useContext:function(t){return me="useContext",ft(),Ie(),tr(t)},useEffect:function(t,r){return me="useEffect",ft(),Ie(),$p(t,r)},useImperativeHandle:function(t,r,u){return me="useImperativeHandle",ft(),Ie(),Sv(t,r,u)},useInsertionEffect:function(t,r){return me="useInsertionEffect",ft(),Ie(),Tv(t,r)},useLayoutEffect:function(t,r){return me="useLayoutEffect",ft(),Ie(),xv(t,r)},useMemo:function(t,r){me="useMemo",ft(),Ie();var u=Be.current;Be.current=Ji;try{return Av(t,r)}finally{Be.current=u}},useReducer:function(t,r,u){me="useReducer",ft(),Ie();var l=Be.current;Be.current=Ji;try{return GE(t,r,u)}finally{Be.current=l}},useRef:function(t){return me="useRef",ft(),Ie(),Ev()},useState:function(t){me="useState",ft(),Ie();var r=Be.current;Be.current=Ji;try{return ZE(t)}finally{Be.current=r}},useDebugValue:function(t,r){return me="useDebugValue",ft(),Ie(),Cv()},useDeferredValue:function(t){return me="useDeferredValue",ft(),Ie(),FS(t)},useTransition:function(){return me="useTransition",ft(),Ie(),HS()},useMutableSource:function(t,r,u){return me="useMutableSource",ft(),Ie(),void 0},useSyncExternalStore:function(t,r,u){return me="useSyncExternalStore",ft(),Ie(),vv(t,r)},useId:function(){return me="useId",ft(),Ie(),kv()},unstable_isNewReconciler:pe}}var Hs=n.unstable_now,XS=0,Dv=-1,Gp=-1,Ov=-1,lb=!1,Lv=!1;function KS(){return lb}function ND(){Lv=!0}function DD(){lb=!1,Lv=!1}function OD(){lb=Lv,Lv=!1}function ZS(){return XS}function JS(){XS=Hs()}function cb(t){Gp=Hs(),t.actualStartTime<0&&(t.actualStartTime=Hs())}function e2(t){Gp=-1}function Iv(t,r){if(Gp>=0){var u=Hs()-Gp;t.actualDuration+=u,r&&(t.selfBaseDuration=u),Gp=-1}}function Po(t){if(Dv>=0){var r=Hs()-Dv;Dv=-1;for(var u=t.return;u!==null;){switch(u.tag){case S:var l=u.stateNode;l.effectDuration+=r;return;case Z:var h=u.stateNode;h.effectDuration+=r;return}u=u.return}}}function db(t){if(Ov>=0){var r=Hs()-Ov;Ov=-1;for(var u=t.return;u!==null;){switch(u.tag){case S:var l=u.stateNode;l!==null&&(l.passiveEffectDuration+=r);return;case Z:var h=u.stateNode;h!==null&&(h.passiveEffectDuration+=r);return}u=u.return}}}function Fo(){Dv=Hs()}function fb(){Ov=Hs()}function hb(t){for(var r=t.child;r;)t.actualDuration+=r.actualDuration,r=r.sibling}function eo(t,r){if(t&&t.defaultProps){var u=xt({},r),l=t.defaultProps;for(var h in l)u[h]===void 0&&(u[h]=l[h]);return u}return r}var pb={},mb,gb,vb,yb,Eb,t2,Mv,bb,wb,Tb,Xp;{mb=new Set,gb=new Set,vb=new Set,yb=new Set,bb=new Set,Eb=new Set,wb=new Set,Tb=new Set,Xp=new Set;var n2=new Set;Mv=function(t,r){if(!(t===null||typeof t=="function")){var u=r+"_"+t;n2.has(u)||(n2.add(u),d("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",r,t))}},t2=function(t,r){if(r===void 0){var u=Yt(t)||"Component";Eb.has(u)||(Eb.add(u),d("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",u))}},Object.defineProperty(pb,"_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(pb)}function xb(t,r,u,l){var h=t.memoizedState,v=u(l,h);{if(t.mode&wt){In(!0);try{v=u(l,h)}finally{In(!1)}}t2(r,v)}var T=v==null?h:xt({},h,v);if(t.memoizedState=T,t.lanes===ve){var _=t.updateQueue;_.baseState=T}}var Sb={isMounted:ca,enqueueSetState:function(t,r,u){var l=Ca(t),h=ga(),v=Ys(l),T=_u(h,v);T.payload=r,u!=null&&(Mv(u,"setState"),T.callback=u);var _=Ps(l,T,v);_!==null&&(mr(_,l,v,h),cv(_,l,v)),Bl(l,v)},enqueueReplaceState:function(t,r,u){var l=Ca(t),h=ga(),v=Ys(l),T=_u(h,v);T.tag=ES,T.payload=r,u!=null&&(Mv(u,"replaceState"),T.callback=u);var _=Ps(l,T,v);_!==null&&(mr(_,l,v,h),cv(_,l,v)),Bl(l,v)},enqueueForceUpdate:function(t,r){var u=Ca(t),l=ga(),h=Ys(u),v=_u(l,h);v.tag=uv,r!=null&&(Mv(r,"forceUpdate"),v.callback=r);var T=Ps(u,v,h);T!==null&&(mr(T,u,h,l),cv(T,u,h)),md(u,h)}};function r2(t,r,u,l,h,v,T){var _=t.stateNode;if(typeof _.shouldComponentUpdate=="function"){var k=_.shouldComponentUpdate(l,v,T);{if(t.mode&wt){In(!0);try{k=_.shouldComponentUpdate(l,v,T)}finally{In(!1)}}k===void 0&&d("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",Yt(r)||"Component")}return k}return r.prototype&&r.prototype.isPureReactComponent?!ot(u,l)||!ot(h,v):!0}function LD(t,r,u){var l=t.stateNode;{var h=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?",h):d("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",h)),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?",h),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.",h),l.propTypes&&d("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",h),l.contextType&&d("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",h),r.childContextTypes&&!Xp.has(r)&&(t.mode&wt)===Ge&&(Xp.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
|
|
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 Tf(t,r,u,l,h,v){mc=v,qt=r,xi=t!==null?t._debugHookTypes:null,Bs=-1,YE=t!==null&&t.type!==r.type,r.memoizedState=null,r.updateQueue=null,r.lanes=ve,t!==null&&t.memoizedState!==null?Be.current=$S:xi!==null?Be.current=QS:Be.current=qS;var T=u(l,h);if(Yp){var _=0;do{if(Yp=!1,Wp=0,_>=xD)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");_+=1,YE=!1,cr=null,dr=null,r.updateQueue=null,Bs=-1,Be.current=GS,T=u(l,h)}while(Yp)}Be.current=Rv,r._debugHookTypes=xi;var k=cr!==null&&cr.next!==null;if(mc=ve,qt=null,cr=null,dr=null,me=null,xi=null,Bs=-1,t!==null&&(t.flags&ir)!==(r.flags&ir)&&(t.mode&Ke)!==Ge&&d("Internal React error: Expected static flag was missing. Please notify the React team."),gv=!1,k)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return T}function xf(){var t=Wp!==0;return Wp=0,t}function AS(t,r,u){r.updateQueue=t.updateQueue,(r.mode&fa)!==Ge?r.flags&=~(au|Vr|on|gt):r.flags&=~(on|gt),t.lanes=ql(t.lanes,u)}function kS(){if(Be.current=Rv,gv){for(var t=qt.memoizedState;t!==null;){var r=t.queue;r!==null&&(r.pending=null),t=t.next}gv=!1}mc=ve,qt=null,cr=null,dr=null,xi=null,Bs=-1,me=null,zS=!1,Yp=!1,Wp=0}function Io(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return dr===null?qt.memoizedState=dr=t:dr=dr.next=t,dr}function Si(){var t;if(cr===null){var r=qt.alternate;r!==null?t=r.memoizedState:t=null}else t=cr.next;var u;if(dr===null?u=qt.memoizedState:u=dr.next,u!==null)dr=u,u=dr.next,cr=t;else{if(t===null)throw new Error("Rendered more hooks than during the previous render.");cr=t;var l={memoizedState:cr.memoizedState,baseState:cr.baseState,baseQueue:cr.baseQueue,queue:cr.queue,next:null};dr===null?qt.memoizedState=dr=l:dr=dr.next=l}return dr}function RS(){return{lastEffect:null,stores:null}}function qE(t,r){return typeof r=="function"?r(t):r}function QE(t,r,u){var l=Io(),h;u!==void 0?h=u(r):h=r,l.memoizedState=l.baseState=h;var v={pending:null,interleaved:null,lanes:ve,dispatch:null,lastRenderedReducer:t,lastRenderedState:h};l.queue=v;var T=v.dispatch=kD.bind(null,qt,v);return[l.memoizedState,T]}function $E(t,r,u){var l=Si(),h=l.queue;if(h===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");h.lastRenderedReducer=t;var v=cr,T=v.baseQueue,_=h.pending;if(_!==null){if(T!==null){var k=T.next,O=_.next;T.next=O,_.next=k}v.baseQueue!==T&&d("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),v.baseQueue=T=_,h.pending=null}if(T!==null){var I=T.next,$=v.baseState,q=null,oe=null,se=null,fe=I;do{var Pe=fe.lane;if(hu(mc,Pe)){if(se!==null){var Ze={lane:Mn,action:fe.action,hasEagerState:fe.hasEagerState,eagerState:fe.eagerState,next:null};se=se.next=Ze}if(fe.hasEagerState)$=fe.eagerState;else{var Nt=fe.action;$=t($,Nt)}}else{var rt={lane:Pe,action:fe.action,hasEagerState:fe.hasEagerState,eagerState:fe.eagerState,next:null};se===null?(oe=se=rt,q=$):se=se.next=rt,qt.lanes=mt(qt.lanes,Pe),fm(Pe)}fe=fe.next}while(fe!==null&&fe!==I);se===null?q=$:se.next=oe,Ye($,l.memoizedState)||em(),l.memoizedState=$,l.baseState=q,l.baseQueue=se,h.lastRenderedState=$}var Ct=h.interleaved;if(Ct!==null){var te=Ct;do{var he=te.lane;qt.lanes=mt(qt.lanes,he),fm(he),te=te.next}while(te!==Ct)}else T===null&&(h.lanes=ve);var ne=h.dispatch;return[l.memoizedState,ne]}function GE(t,r,u){var l=Si(),h=l.queue;if(h===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");h.lastRenderedReducer=t;var v=h.dispatch,T=h.pending,_=l.memoizedState;if(T!==null){h.pending=null;var k=T.next,O=k;do{var I=O.action;_=t(_,I),O=O.next}while(O!==k);Ye(_,l.memoizedState)||em(),l.memoizedState=_,l.baseQueue===null&&(l.baseState=_),h.lastRenderedState=_}return[_,v]}function VV(t,r,u){}function YV(t,r,u){}function XE(t,r,u){var l=qt,h=Io(),v,T=Nr();if(T){if(u===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");v=u(),bf||v!==u()&&(d("The result of getServerSnapshot should be cached to avoid an infinite loop"),bf=!0)}else{if(v=r(),!bf){var _=r();Ye(v,_)||(d("The result of getSnapshot should be cached to avoid an infinite loop"),bf=!0)}var k=$v();if(k===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");Wl(k,mc)||NS(l,r,v)}h.memoizedState=v;var O={value:v,getSnapshot:r};return h.queue=O,wv(OS.bind(null,l,O,t),[t]),l.flags|=on,qp(sr|Dr,DS.bind(null,l,O,v,r),void 0,null),v}function vv(t,r,u){var l=qt,h=Si(),v=r();if(!bf){var T=r();Ye(v,T)||(d("The result of getSnapshot should be cached to avoid an infinite loop"),bf=!0)}var _=h.memoizedState,k=!Ye(_,v);k&&(h.memoizedState=v,em());var O=h.queue;if($p(OS.bind(null,l,O,t),[t]),O.getSnapshot!==r||k||dr!==null&&dr.memoizedState.tag&sr){l.flags|=on,qp(sr|Dr,DS.bind(null,l,O,v,r),void 0,null);var I=$v();if(I===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");Wl(I,mc)||NS(l,r,v)}return v}function NS(t,r,u){t.flags|=Ml;var l={getSnapshot:r,value:u},h=qt.updateQueue;if(h===null)h=RS(),qt.updateQueue=h,h.stores=[l];else{var v=h.stores;v===null?h.stores=[l]:v.push(l)}}function DS(t,r,u,l){r.value=u,r.getSnapshot=l,LS(r)&&IS(t)}function OS(t,r,u){var l=function(){LS(r)&&IS(t)};return u(l)}function LS(t){var r=t.getSnapshot,u=t.value;try{var l=r();return!Ye(u,l)}catch{return!0}}function IS(t){var r=Ba(t,Je);r!==null&&mr(r,t,Je,Zt)}function yv(t){var r=Io();typeof t=="function"&&(t=t()),r.memoizedState=r.baseState=t;var u={pending:null,interleaved:null,lanes:ve,dispatch:null,lastRenderedReducer:qE,lastRenderedState:t};r.queue=u;var l=u.dispatch=RD.bind(null,qt,u);return[r.memoizedState,l]}function KE(t){return $E(qE)}function ZE(t){return GE(qE)}function qp(t,r,u,l){var h={tag:t,create:r,destroy:u,deps:l,next:null},v=qt.updateQueue;if(v===null)v=RS(),qt.updateQueue=v,v.lastEffect=h.next=h;else{var T=v.lastEffect;if(T===null)v.lastEffect=h.next=h;else{var _=T.next;T.next=h,h.next=_,v.lastEffect=h}}return h}function JE(t){var r=Io();{var u={current:t};return r.memoizedState=u,u}}function Ev(t){var r=Si();return r.memoizedState}function Qp(t,r,u,l){var h=Io(),v=l===void 0?null:l;qt.flags|=t,h.memoizedState=qp(sr|r,u,void 0,v)}function bv(t,r,u,l){var h=Si(),v=l===void 0?null:l,T=void 0;if(cr!==null){var _=cr.memoizedState;if(T=_.destroy,v!==null){var k=_.deps;if(WE(v,k)){h.memoizedState=qp(r,u,T,v);return}}}qt.flags|=t,h.memoizedState=qp(sr|r,u,T,v)}function wv(t,r){return(qt.mode&fa)!==Ge?Qp(au|on|wo,Dr,t,r):Qp(on|wo,Dr,t,r)}function $p(t,r){return bv(on,Dr,t,r)}function eb(t,r){return Qp(gt,Lo,t,r)}function Tv(t,r){return bv(gt,Lo,t,r)}function tb(t,r){var u=gt;return u|=jr,(qt.mode&fa)!==Ge&&(u|=Vr),Qp(u,lr,t,r)}function xv(t,r){return bv(gt,lr,t,r)}function MS(t,r){if(typeof r=="function"){var u=r,l=t();return u(l),function(){u(null)}}else if(r!=null){var h=r;h.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(h).join(", ")+"}");var v=t();return h.current=v,function(){h.current=null}}}function nb(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,h=gt;return h|=jr,(qt.mode&fa)!==Ge&&(h|=Vr),Qp(h,lr,MS.bind(null,r,t),l)}function Sv(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 bv(gt,lr,MS.bind(null,r,t),l)}function CD(t,r){}var Cv=CD;function rb(t,r){var u=Io(),l=r===void 0?null:r;return u.memoizedState=[t,l],t}function _v(t,r){var u=Si(),l=r===void 0?null:r,h=u.memoizedState;if(h!==null&&l!==null){var v=h[1];if(WE(l,v))return h[0]}return u.memoizedState=[t,l],t}function ab(t,r){var u=Io(),l=r===void 0?null:r,h=t();return u.memoizedState=[h,l],h}function Av(t,r){var u=Si(),l=r===void 0?null:r,h=u.memoizedState;if(h!==null&&l!==null){var v=h[1];if(WE(l,v))return h[0]}var T=t();return u.memoizedState=[T,l],T}function ib(t){var r=Io();return r.memoizedState=t,t}function PS(t){var r=Si(),u=cr,l=u.memoizedState;return US(r,l,t)}function FS(t){var r=Si();if(cr===null)return r.memoizedState=t,t;var u=cr.memoizedState;return US(r,u,t)}function US(t,r,u){var l=!rg(mc);if(l){if(!Ye(u,r)){var h=og();qt.lanes=mt(qt.lanes,h),fm(h),t.baseState=!0}return r}else return t.baseState&&(t.baseState=!1,em()),t.memoizedState=u,u}function _D(t,r,u){var l=La();wn(Cy(l,Wi)),t(!0);var h=Vp.transition;Vp.transition={};var v=Vp.transition;Vp.transition._updatedFibers=new Set;try{t(!1),r()}finally{if(wn(l),Vp.transition=h,h===null&&v._updatedFibers){var T=v._updatedFibers.size;T>10&&p("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 ob(){var t=yv(!1),r=t[0],u=t[1],l=_D.bind(null,u),h=Io();return h.memoizedState=l,[r,l]}function BS(){var t=KE(),r=t[0],u=Si(),l=u.memoizedState;return[r,l]}function HS(){var t=ZE(),r=t[0],u=Si(),l=u.memoizedState;return[r,l]}var zS=!1;function AD(){return zS}function ub(){var t=Io(),r=$v(),u=r.identifierPrefix,l;if(Nr()){var h=Y6();l=":"+u+"R"+h;var v=Wp++;v>0&&(l+="H"+v.toString(32)),l+=":"}else{var T=TD++;l=":"+u+"r"+T.toString(32)+":"}return t.memoizedState=l,l}function kv(){var t=Si(),r=t.memoizedState;return r}function kD(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=Ys(t),h={lane:l,action:u,hasEagerState:!1,eagerState:null,next:null};if(jS(t))VS(r,h);else{var v=vS(t,r,h,l);if(v!==null){var T=ga();mr(v,t,l,T),YS(v,r,l)}}WS(t,l)}function RD(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=Ys(t),h={lane:l,action:u,hasEagerState:!1,eagerState:null,next:null};if(jS(t))VS(r,h);else{var v=t.alternate;if(t.lanes===ve&&(v===null||v.lanes===ve)){var T=r.lastRenderedReducer;if(T!==null){var _;_=Be.current,Be.current=Ji;try{var k=r.lastRenderedState,O=T(k,u);if(h.hasEagerState=!0,h.eagerState=O,Ye(O,k)){hD(t,r,h,l);return}}catch{}finally{Be.current=_}}}var I=vS(t,r,h,l);if(I!==null){var $=ga();mr(I,t,l,$),YS(I,r,l)}}WS(t,l)}function jS(t){var r=t.alternate;return t===qt||r!==null&&r===qt}function VS(t,r){Yp=gv=!0;var u=t.pending;u===null?r.next=r:(r.next=u.next,u.next=r),t.pending=r}function YS(t,r,u){if(ep(u)){var l=r.lanes;l=Od(l,t.pendingLanes);var h=mt(l,u);r.lanes=h,tp(t,h)}}function WS(t,r,u){Bl(t,r)}var Rv={readContext:tr,useCallback:Jr,useContext:Jr,useEffect:Jr,useImperativeHandle:Jr,useInsertionEffect:Jr,useLayoutEffect:Jr,useMemo:Jr,useReducer:Jr,useRef:Jr,useState:Jr,useDebugValue:Jr,useDeferredValue:Jr,useTransition:Jr,useMutableSource:Jr,useSyncExternalStore:Jr,useId:Jr,unstable_isNewReconciler:pe},qS=null,QS=null,$S=null,GS=null,Mo=null,Ji=null,Nv=null;{var sb=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().")},ft=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 tr(t)},useCallback:function(t,r){return me="useCallback",jt(),wf(r),rb(t,r)},useContext:function(t){return me="useContext",jt(),tr(t)},useEffect:function(t,r){return me="useEffect",jt(),wf(r),wv(t,r)},useImperativeHandle:function(t,r,u){return me="useImperativeHandle",jt(),wf(u),nb(t,r,u)},useInsertionEffect:function(t,r){return me="useInsertionEffect",jt(),wf(r),eb(t,r)},useLayoutEffect:function(t,r){return me="useLayoutEffect",jt(),wf(r),tb(t,r)},useMemo:function(t,r){me="useMemo",jt(),wf(r);var u=Be.current;Be.current=Mo;try{return ab(t,r)}finally{Be.current=u}},useReducer:function(t,r,u){me="useReducer",jt();var l=Be.current;Be.current=Mo;try{return QE(t,r,u)}finally{Be.current=l}},useRef:function(t){return me="useRef",jt(),JE(t)},useState:function(t){me="useState",jt();var r=Be.current;Be.current=Mo;try{return yv(t)}finally{Be.current=r}},useDebugValue:function(t,r){return me="useDebugValue",jt(),void 0},useDeferredValue:function(t){return me="useDeferredValue",jt(),ib(t)},useTransition:function(){return me="useTransition",jt(),ob()},useMutableSource:function(t,r,u){return me="useMutableSource",jt(),void 0},useSyncExternalStore:function(t,r,u){return me="useSyncExternalStore",jt(),XE(t,r,u)},useId:function(){return me="useId",jt(),ub()},unstable_isNewReconciler:pe},QS={readContext:function(t){return tr(t)},useCallback:function(t,r){return me="useCallback",Ie(),rb(t,r)},useContext:function(t){return me="useContext",Ie(),tr(t)},useEffect:function(t,r){return me="useEffect",Ie(),wv(t,r)},useImperativeHandle:function(t,r,u){return me="useImperativeHandle",Ie(),nb(t,r,u)},useInsertionEffect:function(t,r){return me="useInsertionEffect",Ie(),eb(t,r)},useLayoutEffect:function(t,r){return me="useLayoutEffect",Ie(),tb(t,r)},useMemo:function(t,r){me="useMemo",Ie();var u=Be.current;Be.current=Mo;try{return ab(t,r)}finally{Be.current=u}},useReducer:function(t,r,u){me="useReducer",Ie();var l=Be.current;Be.current=Mo;try{return QE(t,r,u)}finally{Be.current=l}},useRef:function(t){return me="useRef",Ie(),JE(t)},useState:function(t){me="useState",Ie();var r=Be.current;Be.current=Mo;try{return yv(t)}finally{Be.current=r}},useDebugValue:function(t,r){return me="useDebugValue",Ie(),void 0},useDeferredValue:function(t){return me="useDeferredValue",Ie(),ib(t)},useTransition:function(){return me="useTransition",Ie(),ob()},useMutableSource:function(t,r,u){return me="useMutableSource",Ie(),void 0},useSyncExternalStore:function(t,r,u){return me="useSyncExternalStore",Ie(),XE(t,r,u)},useId:function(){return me="useId",Ie(),ub()},unstable_isNewReconciler:pe},$S={readContext:function(t){return tr(t)},useCallback:function(t,r){return me="useCallback",Ie(),_v(t,r)},useContext:function(t){return me="useContext",Ie(),tr(t)},useEffect:function(t,r){return me="useEffect",Ie(),$p(t,r)},useImperativeHandle:function(t,r,u){return me="useImperativeHandle",Ie(),Sv(t,r,u)},useInsertionEffect:function(t,r){return me="useInsertionEffect",Ie(),Tv(t,r)},useLayoutEffect:function(t,r){return me="useLayoutEffect",Ie(),xv(t,r)},useMemo:function(t,r){me="useMemo",Ie();var u=Be.current;Be.current=Ji;try{return Av(t,r)}finally{Be.current=u}},useReducer:function(t,r,u){me="useReducer",Ie();var l=Be.current;Be.current=Ji;try{return $E(t,r,u)}finally{Be.current=l}},useRef:function(t){return me="useRef",Ie(),Ev()},useState:function(t){me="useState",Ie();var r=Be.current;Be.current=Ji;try{return KE(t)}finally{Be.current=r}},useDebugValue:function(t,r){return me="useDebugValue",Ie(),Cv()},useDeferredValue:function(t){return me="useDeferredValue",Ie(),PS(t)},useTransition:function(){return me="useTransition",Ie(),BS()},useMutableSource:function(t,r,u){return me="useMutableSource",Ie(),void 0},useSyncExternalStore:function(t,r,u){return me="useSyncExternalStore",Ie(),vv(t,r)},useId:function(){return me="useId",Ie(),kv()},unstable_isNewReconciler:pe},GS={readContext:function(t){return tr(t)},useCallback:function(t,r){return me="useCallback",Ie(),_v(t,r)},useContext:function(t){return me="useContext",Ie(),tr(t)},useEffect:function(t,r){return me="useEffect",Ie(),$p(t,r)},useImperativeHandle:function(t,r,u){return me="useImperativeHandle",Ie(),Sv(t,r,u)},useInsertionEffect:function(t,r){return me="useInsertionEffect",Ie(),Tv(t,r)},useLayoutEffect:function(t,r){return me="useLayoutEffect",Ie(),xv(t,r)},useMemo:function(t,r){me="useMemo",Ie();var u=Be.current;Be.current=Nv;try{return Av(t,r)}finally{Be.current=u}},useReducer:function(t,r,u){me="useReducer",Ie();var l=Be.current;Be.current=Nv;try{return GE(t,r,u)}finally{Be.current=l}},useRef:function(t){return me="useRef",Ie(),Ev()},useState:function(t){me="useState",Ie();var r=Be.current;Be.current=Nv;try{return ZE(t)}finally{Be.current=r}},useDebugValue:function(t,r){return me="useDebugValue",Ie(),Cv()},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(),vv(t,r)},useId:function(){return me="useId",Ie(),kv()},unstable_isNewReconciler:pe},Mo={readContext:function(t){return sb(),tr(t)},useCallback:function(t,r){return me="useCallback",ft(),jt(),rb(t,r)},useContext:function(t){return me="useContext",ft(),jt(),tr(t)},useEffect:function(t,r){return me="useEffect",ft(),jt(),wv(t,r)},useImperativeHandle:function(t,r,u){return me="useImperativeHandle",ft(),jt(),nb(t,r,u)},useInsertionEffect:function(t,r){return me="useInsertionEffect",ft(),jt(),eb(t,r)},useLayoutEffect:function(t,r){return me="useLayoutEffect",ft(),jt(),tb(t,r)},useMemo:function(t,r){me="useMemo",ft(),jt();var u=Be.current;Be.current=Mo;try{return ab(t,r)}finally{Be.current=u}},useReducer:function(t,r,u){me="useReducer",ft(),jt();var l=Be.current;Be.current=Mo;try{return QE(t,r,u)}finally{Be.current=l}},useRef:function(t){return me="useRef",ft(),jt(),JE(t)},useState:function(t){me="useState",ft(),jt();var r=Be.current;Be.current=Mo;try{return yv(t)}finally{Be.current=r}},useDebugValue:function(t,r){return me="useDebugValue",ft(),jt(),void 0},useDeferredValue:function(t){return me="useDeferredValue",ft(),jt(),ib(t)},useTransition:function(){return me="useTransition",ft(),jt(),ob()},useMutableSource:function(t,r,u){return me="useMutableSource",ft(),jt(),void 0},useSyncExternalStore:function(t,r,u){return me="useSyncExternalStore",ft(),jt(),XE(t,r,u)},useId:function(){return me="useId",ft(),jt(),ub()},unstable_isNewReconciler:pe},Ji={readContext:function(t){return sb(),tr(t)},useCallback:function(t,r){return me="useCallback",ft(),Ie(),_v(t,r)},useContext:function(t){return me="useContext",ft(),Ie(),tr(t)},useEffect:function(t,r){return me="useEffect",ft(),Ie(),$p(t,r)},useImperativeHandle:function(t,r,u){return me="useImperativeHandle",ft(),Ie(),Sv(t,r,u)},useInsertionEffect:function(t,r){return me="useInsertionEffect",ft(),Ie(),Tv(t,r)},useLayoutEffect:function(t,r){return me="useLayoutEffect",ft(),Ie(),xv(t,r)},useMemo:function(t,r){me="useMemo",ft(),Ie();var u=Be.current;Be.current=Ji;try{return Av(t,r)}finally{Be.current=u}},useReducer:function(t,r,u){me="useReducer",ft(),Ie();var l=Be.current;Be.current=Ji;try{return $E(t,r,u)}finally{Be.current=l}},useRef:function(t){return me="useRef",ft(),Ie(),Ev()},useState:function(t){me="useState",ft(),Ie();var r=Be.current;Be.current=Ji;try{return KE(t)}finally{Be.current=r}},useDebugValue:function(t,r){return me="useDebugValue",ft(),Ie(),Cv()},useDeferredValue:function(t){return me="useDeferredValue",ft(),Ie(),PS(t)},useTransition:function(){return me="useTransition",ft(),Ie(),BS()},useMutableSource:function(t,r,u){return me="useMutableSource",ft(),Ie(),void 0},useSyncExternalStore:function(t,r,u){return me="useSyncExternalStore",ft(),Ie(),vv(t,r)},useId:function(){return me="useId",ft(),Ie(),kv()},unstable_isNewReconciler:pe},Nv={readContext:function(t){return sb(),tr(t)},useCallback:function(t,r){return me="useCallback",ft(),Ie(),_v(t,r)},useContext:function(t){return me="useContext",ft(),Ie(),tr(t)},useEffect:function(t,r){return me="useEffect",ft(),Ie(),$p(t,r)},useImperativeHandle:function(t,r,u){return me="useImperativeHandle",ft(),Ie(),Sv(t,r,u)},useInsertionEffect:function(t,r){return me="useInsertionEffect",ft(),Ie(),Tv(t,r)},useLayoutEffect:function(t,r){return me="useLayoutEffect",ft(),Ie(),xv(t,r)},useMemo:function(t,r){me="useMemo",ft(),Ie();var u=Be.current;Be.current=Ji;try{return Av(t,r)}finally{Be.current=u}},useReducer:function(t,r,u){me="useReducer",ft(),Ie();var l=Be.current;Be.current=Ji;try{return GE(t,r,u)}finally{Be.current=l}},useRef:function(t){return me="useRef",ft(),Ie(),Ev()},useState:function(t){me="useState",ft(),Ie();var r=Be.current;Be.current=Ji;try{return ZE(t)}finally{Be.current=r}},useDebugValue:function(t,r){return me="useDebugValue",ft(),Ie(),Cv()},useDeferredValue:function(t){return me="useDeferredValue",ft(),Ie(),FS(t)},useTransition:function(){return me="useTransition",ft(),Ie(),HS()},useMutableSource:function(t,r,u){return me="useMutableSource",ft(),Ie(),void 0},useSyncExternalStore:function(t,r,u){return me="useSyncExternalStore",ft(),Ie(),vv(t,r)},useId:function(){return me="useId",ft(),Ie(),kv()},unstable_isNewReconciler:pe}}var Hs=n.unstable_now,XS=0,Dv=-1,Gp=-1,Ov=-1,lb=!1,Lv=!1;function KS(){return lb}function ND(){Lv=!0}function DD(){lb=!1,Lv=!1}function OD(){lb=Lv,Lv=!1}function ZS(){return XS}function JS(){XS=Hs()}function cb(t){Gp=Hs(),t.actualStartTime<0&&(t.actualStartTime=Hs())}function e2(t){Gp=-1}function Iv(t,r){if(Gp>=0){var u=Hs()-Gp;t.actualDuration+=u,r&&(t.selfBaseDuration=u),Gp=-1}}function Po(t){if(Dv>=0){var r=Hs()-Dv;Dv=-1;for(var u=t.return;u!==null;){switch(u.tag){case S:var l=u.stateNode;l.effectDuration+=r;return;case Z:var h=u.stateNode;h.effectDuration+=r;return}u=u.return}}}function db(t){if(Ov>=0){var r=Hs()-Ov;Ov=-1;for(var u=t.return;u!==null;){switch(u.tag){case S:var l=u.stateNode;l!==null&&(l.passiveEffectDuration+=r);return;case Z:var h=u.stateNode;h!==null&&(h.passiveEffectDuration+=r);return}u=u.return}}}function Fo(){Dv=Hs()}function fb(){Ov=Hs()}function hb(t){for(var r=t.child;r;)t.actualDuration+=r.actualDuration,r=r.sibling}function eo(t,r){if(t&&t.defaultProps){var u=xt({},r),l=t.defaultProps;for(var h in l)u[h]===void 0&&(u[h]=l[h]);return u}return r}var pb={},mb,gb,vb,yb,Eb,t2,Mv,bb,wb,Tb,Xp;{mb=new Set,gb=new Set,vb=new Set,yb=new Set,bb=new Set,Eb=new Set,wb=new Set,Tb=new Set,Xp=new Set;var n2=new Set;Mv=function(t,r){if(!(t===null||typeof t=="function")){var u=r+"_"+t;n2.has(u)||(n2.add(u),d("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",r,t))}},t2=function(t,r){if(r===void 0){var u=Yt(t)||"Component";Eb.has(u)||(Eb.add(u),d("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",u))}},Object.defineProperty(pb,"_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(pb)}function xb(t,r,u,l){var h=t.memoizedState,v=u(l,h);{if(t.mode&wt){In(!0);try{v=u(l,h)}finally{In(!1)}}t2(r,v)}var T=v==null?h:xt({},h,v);if(t.memoizedState=T,t.lanes===ve){var _=t.updateQueue;_.baseState=T}}var Sb={isMounted:ca,enqueueSetState:function(t,r,u){var l=Ca(t),h=ga(),v=Ys(l),T=_u(h,v);T.payload=r,u!=null&&(Mv(u,"setState"),T.callback=u);var _=Ps(l,T,v);_!==null&&(mr(_,l,v,h),cv(_,l,v)),Bl(l,v)},enqueueReplaceState:function(t,r,u){var l=Ca(t),h=ga(),v=Ys(l),T=_u(h,v);T.tag=ES,T.payload=r,u!=null&&(Mv(u,"replaceState"),T.callback=u);var _=Ps(l,T,v);_!==null&&(mr(_,l,v,h),cv(_,l,v)),Bl(l,v)},enqueueForceUpdate:function(t,r){var u=Ca(t),l=ga(),h=Ys(u),v=_u(l,h);v.tag=uv,r!=null&&(Mv(r,"forceUpdate"),v.callback=r);var T=Ps(u,v,h);T!==null&&(mr(T,u,h,l),cv(T,u,h)),md(u,h)}};function r2(t,r,u,l,h,v,T){var _=t.stateNode;if(typeof _.shouldComponentUpdate=="function"){var k=_.shouldComponentUpdate(l,v,T);{if(t.mode&wt){In(!0);try{k=_.shouldComponentUpdate(l,v,T)}finally{In(!1)}}k===void 0&&d("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",Yt(r)||"Component")}return k}return r.prototype&&r.prototype.isPureReactComponent?!ot(u,l)||!ot(h,v):!0}function LD(t,r,u){var l=t.stateNode;{var h=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?",h):d("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",h)),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?",h),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.",h),l.propTypes&&d("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",h),l.contextType&&d("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",h),r.childContextTypes&&!Xp.has(r)&&(t.mode&wt)===Ge&&(Xp.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
142
|
|
|
143
143
|
.Learn more about this warning here: https://reactjs.org/link/legacy-context`,h)),r.contextTypes&&!Xp.has(r)&&(t.mode&wt)===Ge&&(Xp.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
144
|
|
|
@@ -199,8 +199,8 @@ Check the render method of %s.`,pt(On)||"Unknown"));var k=_u(v,T);k.payload={ele
|
|
|
199
199
|
|
|
200
200
|
let root = createRoot(domContainer);
|
|
201
201
|
root.render(<App />);`),r.unstable_strictMode===!0&&(u=!0),r.identifierPrefix!==void 0&&(h=r.identifierPrefix),r.onRecoverableError!==void 0&&(v=r.onRecoverableError),r.transitionCallbacks!==void 0&&r.transitionCallbacks);var T=SC(t,Gg,null,u,l,h,v);jg(T.current,t);var _=t.nodeType===Ln?t.parentNode:t;return wp(_),new Aw(T)}function e1(t){this._internalRoot=t}function gL(t){t&&Ry(t)}e1.prototype.unstable_scheduleHydration=gL;function vL(t,r,u){if(!t1(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,h=u!=null&&u.hydratedSources||null,v=!1,T=!1,_="",k=WC;u!=null&&(u.unstable_strictMode===!0&&(v=!0),u.identifierPrefix!==void 0&&(_=u.identifierPrefix),u.onRecoverableError!==void 0&&(k=u.onRecoverableError));var O=CC(r,null,t,Gg,l,v,T,_,k);if(jg(O.current,t),wp(t),h)for(var I=0;I<h.length;I++){var $=h[I];wD(O,$)}return new e1(O)}function t1(t){return!!(t&&(t.nodeType===Hr||t.nodeType===Ka||t.nodeType===Ko||!Et))}function gm(t){return!!(t&&(t.nodeType===Hr||t.nodeType===Ka||t.nodeType===Ko||t.nodeType===Ln&&t.nodeValue===" react-mount-point-unstable "))}function qC(t){t.nodeType===Hr&&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."),Op(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 yL=a.ReactCurrentOwner,QC;QC=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=kw(t),h=!!(l&&Ds(l));h&&!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===Hr&&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 kw(t){return t?t.nodeType===Ka?t.documentElement:t.firstChild:null}function $C(){}function EL(t,r,u,l,h){if(h){if(typeof l=="function"){var v=l;l=function(){var q=Jv(T);v.call(q)}}var T=CC(r,l,t,Ls,null,!1,!1,"",$C);t._reactRootContainer=T,jg(T.current,t);var _=t.nodeType===Ln?t.parentNode:t;return wp(_),Nu(),T}else{for(var k;k=t.lastChild;)t.removeChild(k);if(typeof l=="function"){var O=l;l=function(){var q=Jv(I);O.call(q)}}var I=SC(t,Ls,null,!1,!1,"",$C);t._reactRootContainer=I,jg(I.current,t);var $=t.nodeType===Ln?t.parentNode:t;return wp($),Nu(function(){mm(r,I,u,l)}),I}}function bL(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 n1(t,r,u,l,h){QC(u),bL(h===void 0?null:h,"render");var v=u._reactRootContainer,T;if(!v)T=EL(u,r,t,h,l);else{if(T=v,typeof h=="function"){var _=h;h=function(){var k=Jv(T);_.call(k)}}mm(r,T,t,h)}return Jv(T)}var GC=!1;function wL(t){{GC||(GC=!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=yL.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===Hr?t:iL(t,"findDOMNode")}function TL(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"),!gm(r))throw new Error("Target container is not a DOM element.");{var l=Op(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 n1(null,t,r,!0,u)}function xL(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"),!gm(r))throw new Error("Target container is not a DOM element.");{var l=Op(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 n1(null,t,r,!1,u)}function SL(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"),!gm(u))throw new Error("Target container is not a DOM element.");if(t==null||!Il(t))throw new Error("parentComponent must be a valid React Component");return n1(t,r,u,!1,l)}var XC=!1;function CL(t){if(XC||(XC=!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")),!gm(t))throw new Error("unmountComponentAtNode(...): Target container is not a DOM element.");{var r=Op(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=kw(t),l=u&&!Ds(u);l&&d("unmountComponentAtNode(): The node you're attempting to unmount was rendered by another copy of React.")}return Nu(function(){n1(null,null,t,!1,function(){t._reactRootContainer=null,Wx(t)})}),!0}else{{var h=kw(t),v=!!(h&&Ds(h)),T=t.nodeType===Hr&&gm(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",T?"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}}vs(oL),Ay(uL),Ud(sL),cg(La),dg(wr),(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"),H0(AN),td(iw,v4,Nu);function _L(t,r){var u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!t1(r))throw new Error("Target container is not a DOM element.");return aL(t,r,null,u)}function AL(t,r,u,l){return SL(t,r,u,l)}var Rw={usingClientEntryPoint:!1,Events:[Ds,sf,Vg,ed,Dl,iw]};function kL(t,r){return Rw.usingClientEntryPoint||d('You are importing createRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),mL(t,r)}function RL(t,r,u){return Rw.usingClientEntryPoint||d('You are importing hydrateRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),vL(t,r,u)}function NL(t){return rC()&&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."),Nu(t)}var DL=pL({findFiberByHostInstance:uc,bundleType:1,version:Tw,rendererPackageName:"react-dom"});if(!DL&&an&&window.top===window.self&&(navigator.userAgent.indexOf("Chrome")>-1&&navigator.userAgent.indexOf("Edge")===-1||navigator.userAgent.indexOf("Firefox")>-1)){var KC=window.location.protocol;/^(https?|file):$/.test(KC)&&console.info("%cDownload the React DevTools for a better development experience: https://reactjs.org/link/react-devtools"+(KC==="file:"?`
|
|
202
|
-
You might need to use a local HTTP server (instead of file://): https://reactjs.org/link/react-devtools-faq`:""),"font-weight:bold")}Wa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Rw,Wa.createPortal=_L,Wa.createRoot=kL,Wa.findDOMNode=wL,Wa.flushSync=NL,Wa.hydrate=TL,Wa.hydrateRoot=RL,Wa.render=xL,Wa.unmountComponentAtNode=CL,Wa.unstable_batchedUpdates=iw,Wa.unstable_renderSubtreeIntoContainer=AL,Wa.version=Tw,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),Wa}function Z3(){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(Z3)}catch(e){console.error(e)}}}process.env.NODE_ENV==="production"?(Z3(),kT.exports=ez()):kT.exports=tz();var D1=kT.exports,nz=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],ll=nz.reduce((e,n)=>{const a=ie.forwardRef((s,f)=>{const{asChild:p,...d}=s,g=p?PT.Slot:n;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),U.jsx(g,{...d,ref:f})});return a.displayName=`Primitive.${n}`,{...e,[n]:a}},{});function rz(e,n){e&&D1.flushSync(()=>e.dispatchEvent(n))}function tl(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 az(e,n=globalThis==null?void 0:globalThis.document){const a=tl(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",RT="dismissableLayer.update",oz="dismissableLayer.pointerDownOutside",uz="dismissableLayer.focusOutside",AA,J3=ie.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),eR=ie.forwardRef((e,n)=>{const{disableOutsidePointerEvents:a=!1,onEscapeKeyDown:s,onPointerDownOutside:f,onFocusOutside:p,onInteractOutside:d,onDismiss:g,...E}=e,b=ie.useContext(J3),[C,S]=ie.useState(null),R=(C==null?void 0:C.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,A]=ie.useState({}),D=sl(n,ce=>S(ce)),L=Array.from(b.layers),[B]=[...b.layersWithOutsidePointerEventsDisabled].slice(-1),z=L.indexOf(B),G=C?L.indexOf(C):-1,W=b.layersWithOutsidePointerEventsDisabled.size>0,Z=G>=z,J=cz(ce=>{const Te=ce.target,Me=[...b.branches].some(K=>K.contains(Te));!Z||Me||(f==null||f(ce),d==null||d(ce),ce.defaultPrevented||g==null||g())},R),X=dz(ce=>{const Te=ce.target;[...b.branches].some(K=>K.contains(Te))||(p==null||p(ce),d==null||d(ce),ce.defaultPrevented||g==null||g())},R);return az(ce=>{G===b.layers.size-1&&(s==null||s(ce),!ce.defaultPrevented&&g&&(ce.preventDefault(),g()))},R),ie.useEffect(()=>{if(C)return a&&(b.layersWithOutsidePointerEventsDisabled.size===0&&(AA=R.body.style.pointerEvents,R.body.style.pointerEvents="none"),b.layersWithOutsidePointerEventsDisabled.add(C)),b.layers.add(C),kA(),()=>{a&&b.layersWithOutsidePointerEventsDisabled.size===1&&(R.body.style.pointerEvents=AA)}},[C,R,a,b]),ie.useEffect(()=>()=>{C&&(b.layers.delete(C),b.layersWithOutsidePointerEventsDisabled.delete(C),kA())},[C,b]),ie.useEffect(()=>{const ce=()=>A({});return document.addEventListener(RT,ce),()=>document.removeEventListener(RT,ce)},[]),U.jsx(ll.div,{...E,ref:D,style:{pointerEvents:W?Z?"auto":"none":void 0,...e.style},onFocusCapture:el(e.onFocusCapture,X.onFocusCapture),onBlurCapture:el(e.onBlurCapture,X.onBlurCapture),onPointerDownCapture:el(e.onPointerDownCapture,J.onPointerDownCapture)})});eR.displayName=iz;var sz="DismissableLayerBranch",lz=ie.forwardRef((e,n)=>{const a=ie.useContext(J3),s=ie.useRef(null),f=sl(n,s);return ie.useEffect(()=>{const p=s.current;if(p)return a.branches.add(p),()=>{a.branches.delete(p)}},[a.branches]),U.jsx(ll.div,{...e,ref:f})});lz.displayName=sz;function cz(e,n=globalThis==null?void 0:globalThis.document){const a=tl(e),s=ie.useRef(!1),f=ie.useRef(()=>{});return ie.useEffect(()=>{const p=g=>{if(g.target&&!s.current){let E=function(){tR(oz,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",p)},0);return()=>{window.clearTimeout(d),n.removeEventListener("pointerdown",p),n.removeEventListener("click",f.current)}},[n,a]),{onPointerDownCapture:()=>s.current=!0}}function dz(e,n=globalThis==null?void 0:globalThis.document){const a=tl(e),s=ie.useRef(!1);return ie.useEffect(()=>{const f=p=>{p.target&&!s.current&&tR(uz,a,{originalEvent:p},{discrete:!1})};return n.addEventListener("focusin",f),()=>n.removeEventListener("focusin",f)},[n,a]),{onFocusCapture:()=>s.current=!0,onBlurCapture:()=>s.current=!1}}function kA(){const e=new CustomEvent(RT);document.dispatchEvent(e)}function tR(e,n,a,{discrete:s}){const f=a.originalEvent.target,p=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:a});n&&f.addEventListener(e,n,{once:!0}),s?rz(f,p):f.dispatchEvent(p)}var Jw=0;function fz(){ie.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??RA()),document.body.insertAdjacentElement("beforeend",e[1]??RA()),Jw++,()=>{Jw===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(n=>n.remove()),Jw--}},[])}function RA(){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 eT="focusScope.autoFocusOnMount",tT="focusScope.autoFocusOnUnmount",NA={bubbles:!1,cancelable:!0},hz="FocusScope",nR=ie.forwardRef((e,n)=>{const{loop:a=!1,trapped:s=!1,onMountAutoFocus:f,onUnmountAutoFocus:p,...d}=e,[g,E]=ie.useState(null),b=tl(f),C=tl(p),S=ie.useRef(null),R=sl(n,L=>E(L)),A=ie.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;ie.useEffect(()=>{if(s){let L=function(W){if(A.paused||!g)return;const Z=W.target;g.contains(Z)?S.current=Z:Zs(S.current,{select:!0})},B=function(W){if(A.paused||!g)return;const Z=W.relatedTarget;Z!==null&&(g.contains(Z)||Zs(S.current,{select:!0}))},z=function(W){if(document.activeElement===document.body)for(const J of W)J.removedNodes.length>0&&Zs(g)};document.addEventListener("focusin",L),document.addEventListener("focusout",B);const G=new MutationObserver(z);return g&&G.observe(g,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",L),document.removeEventListener("focusout",B),G.disconnect()}}},[s,g,A.paused]),ie.useEffect(()=>{if(g){OA.add(A);const L=document.activeElement;if(!g.contains(L)){const z=new CustomEvent(eT,NA);g.addEventListener(eT,b),g.dispatchEvent(z),z.defaultPrevented||(pz(Ez(rR(g)),{select:!0}),document.activeElement===L&&Zs(g))}return()=>{g.removeEventListener(eT,b),setTimeout(()=>{const z=new CustomEvent(tT,NA);g.addEventListener(tT,C),g.dispatchEvent(z),z.defaultPrevented||Zs(L??document.body,{select:!0}),g.removeEventListener(tT,C),OA.remove(A)},0)}}},[g,b,C,A]);const D=ie.useCallback(L=>{if(!a&&!s||A.paused)return;const B=L.key==="Tab"&&!L.altKey&&!L.ctrlKey&&!L.metaKey,z=document.activeElement;if(B&&z){const G=L.currentTarget,[W,Z]=mz(G);W&&Z?!L.shiftKey&&z===Z?(L.preventDefault(),a&&Zs(W,{select:!0})):L.shiftKey&&z===W&&(L.preventDefault(),a&&Zs(Z,{select:!0})):z===G&&L.preventDefault()}},[a,s,A.paused]);return U.jsx(ll.div,{tabIndex:-1,...d,ref:R,onKeyDown:D})});nR.displayName=hz;function pz(e,{select:n=!1}={}){const a=document.activeElement;for(const s of e)if(Zs(s,{select:n}),document.activeElement!==a)return}function mz(e){const n=rR(e),a=DA(n,e),s=DA(n.reverse(),e);return[a,s]}function rR(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 DA(e,n){for(const a of e)if(!gz(a,{upTo:n}))return a}function gz(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 vz(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&&vz(e)&&n&&e.select()}}var OA=yz();function yz(){let e=[];return{add(n){const a=e[0];n!==a&&(a==null||a.pause()),e=LA(e,n),e.unshift(n)},remove(n){var a;e=LA(e,n),(a=e[0])==null||a.resume()}}}function LA(e,n){const a=[...e],s=a.indexOf(n);return s!==-1&&a.splice(s,1),a}function Ez(e){return e.filter(n=>n.tagName!=="A")}var Wf=globalThis!=null&&globalThis.document?ie.useLayoutEffect:()=>{},bz=ie.useId||(()=>{}),wz=0;function Tz(e){const[n,a]=ie.useState(bz());return Wf(()=>{e||a(s=>s??String(wz++))},[e]),e||(n?`radix-${n}`:"")}const xz=["top","right","bottom","left"],nl=Math.min,ii=Math.max,O1=Math.round,c1=Math.floor,rl=e=>({x:e,y:e}),Sz={left:"right",right:"left",bottom:"top",top:"bottom"},Cz={start:"end",end:"start"};function NT(e,n,a){return ii(e,nl(n,a))}function Mu(e,n){return typeof e=="function"?e(n):e}function Pu(e){return e.split("-")[0]}function th(e){return e.split("-")[1]}function sx(e){return e==="x"?"y":"x"}function lx(e){return e==="y"?"height":"width"}function al(e){return["top","bottom"].includes(Pu(e))?"y":"x"}function cx(e){return sx(al(e))}function _z(e,n,a){a===void 0&&(a=!1);const s=th(e),f=cx(e),p=lx(f);let d=f==="x"?s===(a?"end":"start")?"right":"left":s==="start"?"bottom":"top";return n.reference[p]>n.floating[p]&&(d=L1(d)),[d,L1(d)]}function Az(e){const n=L1(e);return[DT(e),n,DT(n)]}function DT(e){return e.replace(/start|end/g,n=>Cz[n])}function kz(e,n,a){const s=["left","right"],f=["right","left"],p=["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?p:d;default:return[]}}function Rz(e,n,a,s){const f=th(e);let p=kz(Pu(e),a==="start",s);return f&&(p=p.map(d=>d+"-"+f),n&&(p=p.concat(p.map(DT)))),p}function L1(e){return e.replace(/left|right|bottom|top/g,n=>Sz[n])}function Nz(e){return{top:0,right:0,bottom:0,left:0,...e}}function aR(e){return typeof e!="number"?Nz(e):{top:e,right:e,bottom:e,left:e}}function I1(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 IA(e,n,a){let{reference:s,floating:f}=e;const p=al(n),d=cx(n),g=lx(d),E=Pu(n),b=p==="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 A;switch(E){case"top":A={x:C,y:s.y-f.height};break;case"bottom":A={x:C,y:s.y+s.height};break;case"right":A={x:s.x+s.width,y:S};break;case"left":A={x:s.x-f.width,y:S};break;default:A={x:s.x,y:s.y}}switch(th(n)){case"start":A[d]-=R*(a&&b?-1:1);break;case"end":A[d]+=R*(a&&b?-1:1);break}return A}const Dz=async(e,n,a)=>{const{placement:s="bottom",strategy:f="absolute",middleware:p=[],platform:d}=a,g=p.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}=IA(b,s,E),R=s,A={},D=0;for(let L=0;L<g.length;L++){const{name:B,fn:z}=g[L],{x:G,y:W,data:Z,reset:J}=await z({x:C,y:S,initialPlacement:s,placement:R,strategy:f,middlewareData:A,rects:b,platform:d,elements:{reference:e,floating:n}});C=G??C,S=W??S,A={...A,[B]:{...A[B],...Z}},J&&D<=50&&(D++,typeof J=="object"&&(J.placement&&(R=J.placement),J.rects&&(b=J.rects===!0?await d.getElementRects({reference:e,floating:n,strategy:f}):J.rects),{x:C,y:S}=IA(b,R,E)),L=-1)}return{x:C,y:S,placement:R,strategy:f,middlewareData:A}};async function Mm(e,n){var a;n===void 0&&(n={});const{x:s,y:f,platform:p,rects:d,elements:g,strategy:E}=e,{boundary:b="clippingAncestors",rootBoundary:C="viewport",elementContext:S="floating",altBoundary:R=!1,padding:A=0}=Mu(n,e),D=aR(A),B=g[R?S==="floating"?"reference":"floating":S],z=I1(await p.getClippingRect({element:(a=await(p.isElement==null?void 0:p.isElement(B)))==null||a?B:B.contextElement||await(p.getDocumentElement==null?void 0:p.getDocumentElement(g.floating)),boundary:b,rootBoundary:C,strategy:E})),G=S==="floating"?{x:s,y:f,width:d.floating.width,height:d.floating.height}:d.reference,W=await(p.getOffsetParent==null?void 0:p.getOffsetParent(g.floating)),Z=await(p.isElement==null?void 0:p.isElement(W))?await(p.getScale==null?void 0:p.getScale(W))||{x:1,y:1}:{x:1,y:1},J=I1(p.convertOffsetParentRelativeRectToViewportRelativeRect?await p.convertOffsetParentRelativeRectToViewportRelativeRect({elements:g,rect:G,offsetParent:W,strategy:E}):G);return{top:(z.top-J.top+D.top)/Z.y,bottom:(J.bottom-z.bottom+D.bottom)/Z.y,left:(z.left-J.left+D.left)/Z.x,right:(J.right-z.right+D.right)/Z.x}}const Oz=e=>({name:"arrow",options:e,async fn(n){const{x:a,y:s,placement:f,rects:p,platform:d,elements:g,middlewareData:E}=n,{element:b,padding:C=0}=Mu(e,n)||{};if(b==null)return{};const S=aR(C),R={x:a,y:s},A=cx(f),D=lx(A),L=await d.getDimensions(b),B=A==="y",z=B?"top":"left",G=B?"bottom":"right",W=B?"clientHeight":"clientWidth",Z=p.reference[D]+p.reference[A]-R[A]-p.floating[D],J=R[A]-p.reference[A],X=await(d.getOffsetParent==null?void 0:d.getOffsetParent(b));let ce=X?X[W]:0;(!ce||!await(d.isElement==null?void 0:d.isElement(X)))&&(ce=g.floating[W]||p.floating[D]);const Te=Z/2-J/2,Me=ce/2-L[D]/2-1,K=nl(S[z],Me),Ee=nl(S[G],Me),ge=K,Re=ce-L[D]-Ee,Oe=ce/2-L[D]/2+Te,qe=NT(ge,Oe,Re),je=!E.arrow&&th(f)!=null&&Oe!==qe&&p.reference[D]/2-(Oe<ge?K:Ee)-L[D]/2<0,at=je?Oe<ge?Oe-ge:Oe-Re:0;return{[A]:R[A]+at,data:{[A]:qe,centerOffset:Oe-qe-at,...je&&{alignmentOffset:at}},reset:je}}}),Lz=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(n){var a,s;const{placement:f,middlewareData:p,rects:d,initialPlacement:g,platform:E,elements:b}=n,{mainAxis:C=!0,crossAxis:S=!0,fallbackPlacements:R,fallbackStrategy:A="bestFit",fallbackAxisSideDirection:D="none",flipAlignment:L=!0,...B}=Mu(e,n);if((a=p.arrow)!=null&&a.alignmentOffset)return{};const z=Pu(f),G=al(g),W=Pu(g)===g,Z=await(E.isRTL==null?void 0:E.isRTL(b.floating)),J=R||(W||!L?[L1(g)]:Az(g)),X=D!=="none";!R&&X&&J.push(...Rz(g,L,D,Z));const ce=[g,...J],Te=await Mm(n,B),Me=[];let K=((s=p.flip)==null?void 0:s.overflows)||[];if(C&&Me.push(Te[z]),S){const Oe=_z(f,d,Z);Me.push(Te[Oe[0]],Te[Oe[1]])}if(K=[...K,{placement:f,overflows:Me}],!Me.every(Oe=>Oe<=0)){var Ee,ge;const Oe=(((Ee=p.flip)==null?void 0:Ee.index)||0)+1,qe=ce[Oe];if(qe)return{data:{index:Oe,overflows:K},reset:{placement:qe}};let je=(ge=K.filter(at=>at.overflows[0]<=0).sort((at,pe)=>at.overflows[1]-pe.overflows[1])[0])==null?void 0:ge.placement;if(!je)switch(A){case"bestFit":{var Re;const at=(Re=K.filter(pe=>{if(X){const De=al(pe.placement);return De===G||De==="y"}return!0}).map(pe=>[pe.placement,pe.overflows.filter(De=>De>0).reduce((De,P)=>De+P,0)]).sort((pe,De)=>pe[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 MA(e,n){return{top:e.top-n.height,right:e.right-n.width,bottom:e.bottom-n.height,left:e.left-n.width}}function PA(e){return xz.some(n=>e[n]>=0)}const Iz=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(n){const{rects:a}=n,{strategy:s="referenceHidden",...f}=Mu(e,n);switch(s){case"referenceHidden":{const p=await Mm(n,{...f,elementContext:"reference"}),d=MA(p,a.reference);return{data:{referenceHiddenOffsets:d,referenceHidden:PA(d)}}}case"escaped":{const p=await Mm(n,{...f,altBoundary:!0}),d=MA(p,a.floating);return{data:{escapedOffsets:d,escaped:PA(d)}}}default:return{}}}}};async function Mz(e,n){const{placement:a,platform:s,elements:f}=e,p=await(s.isRTL==null?void 0:s.isRTL(f.floating)),d=Pu(a),g=th(a),E=al(a)==="y",b=["left","top"].includes(d)?-1:1,C=p&&E?-1:1,S=Mu(n,e);let{mainAxis:R,crossAxis:A,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"&&(A=g==="end"?D*-1:D),E?{x:A*C,y:R*b}:{x:R*b,y:A*C}}const Pz=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(n){var a,s;const{x:f,y:p,placement:d,middlewareData:g}=n,E=await Mz(n,e);return d===((a=g.offset)==null?void 0:a.placement)&&(s=g.arrow)!=null&&s.alignmentOffset?{}:{x:f+E.x,y:p+E.y,data:{...E,placement:d}}}}},Fz=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(n){const{x:a,y:s,placement:f}=n,{mainAxis:p=!0,crossAxis:d=!1,limiter:g={fn:B=>{let{x:z,y:G}=B;return{x:z,y:G}}},...E}=Mu(e,n),b={x:a,y:s},C=await Mm(n,E),S=al(Pu(f)),R=sx(S);let A=b[R],D=b[S];if(p){const B=R==="y"?"top":"left",z=R==="y"?"bottom":"right",G=A+C[B],W=A-C[z];A=NT(G,A,W)}if(d){const B=S==="y"?"top":"left",z=S==="y"?"bottom":"right",G=D+C[B],W=D-C[z];D=NT(G,D,W)}const L=g.fn({...n,[R]:A,[S]:D});return{...L,data:{x:L.x-a,y:L.y-s,enabled:{[R]:p,[S]:d}}}}}},Uz=function(e){return e===void 0&&(e={}),{options:e,fn(n){const{x:a,y:s,placement:f,rects:p,middlewareData:d}=n,{offset:g=0,mainAxis:E=!0,crossAxis:b=!0}=Mu(e,n),C={x:a,y:s},S=al(f),R=sx(S);let A=C[R],D=C[S];const L=Mu(g,n),B=typeof L=="number"?{mainAxis:L,crossAxis:0}:{mainAxis:0,crossAxis:0,...L};if(E){const W=R==="y"?"height":"width",Z=p.reference[R]-p.floating[W]+B.mainAxis,J=p.reference[R]+p.reference[W]-B.mainAxis;A<Z?A=Z:A>J&&(A=J)}if(b){var z,G;const W=R==="y"?"width":"height",Z=["top","left"].includes(Pu(f)),J=p.reference[S]-p.floating[W]+(Z&&((z=d.offset)==null?void 0:z[S])||0)+(Z?0:B.crossAxis),X=p.reference[S]+p.reference[W]+(Z?0:((G=d.offset)==null?void 0:G[S])||0)-(Z?B.crossAxis:0);D<J?D=J:D>X&&(D=X)}return{[R]:A,[S]:D}}}},Bz=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(n){var a,s;const{placement:f,rects:p,platform:d,elements:g}=n,{apply:E=()=>{},...b}=Mu(e,n),C=await Mm(n,b),S=Pu(f),R=th(f),A=al(f)==="y",{width:D,height:L}=p.floating;let B,z;S==="top"||S==="bottom"?(B=S,z=R===(await(d.isRTL==null?void 0:d.isRTL(g.floating))?"start":"end")?"left":"right"):(z=S,B=R==="end"?"top":"bottom");const G=L-C.top-C.bottom,W=D-C.left-C.right,Z=nl(L-C[B],G),J=nl(D-C[z],W),X=!n.middlewareData.shift;let ce=Z,Te=J;if((a=n.middlewareData.shift)!=null&&a.enabled.x&&(Te=W),(s=n.middlewareData.shift)!=null&&s.enabled.y&&(ce=G),X&&!R){const K=ii(C.left,0),Ee=ii(C.right,0),ge=ii(C.top,0),Re=ii(C.bottom,0);A?Te=D-2*(K!==0||Ee!==0?K+Ee:ii(C.left,C.right)):ce=L-2*(ge!==0||Re!==0?ge+Re:ii(C.top,C.bottom))}await E({...n,availableWidth:Te,availableHeight:ce});const Me=await d.getDimensions(g.floating);return D!==Me.width||L!==Me.height?{reset:{rects:!0}}:{}}}};function G1(){return typeof window<"u"}function nh(e){return iR(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=(iR(e)?e.ownerDocument:e.document)||window.document)==null?void 0:n.documentElement}function iR(e){return G1()?e instanceof Node||e instanceof ui(e).Node:!1}function so(e){return G1()?e instanceof Element||e instanceof ui(e).Element:!1}function Vo(e){return G1()?e instanceof HTMLElement||e instanceof ui(e).HTMLElement:!1}function FA(e){return!G1()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof ui(e).ShadowRoot}function qm(e){const{overflow:n,overflowX:a,overflowY:s,display:f}=lo(e);return/auto|scroll|overlay|hidden|clip/.test(n+s+a)&&!["inline","contents"].includes(f)}function Hz(e){return["table","td","th"].includes(nh(e))}function X1(e){return[":popover-open",":modal"].some(n=>{try{return e.matches(n)}catch{return!1}})}function dx(e){const n=fx(),a=so(e)?lo(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 zz(e){let n=il(e);for(;Vo(n)&&!qf(n);){if(dx(n))return n;if(X1(n))return null;n=il(n)}return null}function fx(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function qf(e){return["html","body","#document"].includes(nh(e))}function lo(e){return ui(e).getComputedStyle(e)}function K1(e){return so(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function il(e){if(nh(e)==="html")return e;const n=e.assignedSlot||e.parentNode||FA(e)&&e.host||qo(e);return FA(n)?n.host:n}function oR(e){const n=il(e);return qf(n)?e.ownerDocument?e.ownerDocument.body:e.body:Vo(n)&&qm(n)?n:oR(n)}function Pm(e,n,a){var s;n===void 0&&(n=[]),a===void 0&&(a=!0);const f=oR(e),p=f===((s=e.ownerDocument)==null?void 0:s.body),d=ui(f);if(p){const g=OT(d);return n.concat(d,d.visualViewport||[],qm(f)?f:[],g&&a?Pm(g):[])}return n.concat(f,Pm(f,[],a))}function OT(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function uR(e){const n=lo(e);let a=parseFloat(n.width)||0,s=parseFloat(n.height)||0;const f=Vo(e),p=f?e.offsetWidth:a,d=f?e.offsetHeight:s,g=O1(a)!==p||O1(s)!==d;return g&&(a=p,s=d),{width:a,height:s,$:g}}function hx(e){return so(e)?e:e.contextElement}function zf(e){const n=hx(e);if(!Vo(n))return rl(1);const a=n.getBoundingClientRect(),{width:s,height:f,$:p}=uR(n);let d=(p?O1(a.width):a.width)/s,g=(p?O1(a.height):a.height)/f;return(!d||!Number.isFinite(d))&&(d=1),(!g||!Number.isFinite(g))&&(g=1),{x:d,y:g}}const jz=rl(0);function sR(e){const n=ui(e);return!fx()||!n.visualViewport?jz:{x:n.visualViewport.offsetLeft,y:n.visualViewport.offsetTop}}function Vz(e,n,a){return n===void 0&&(n=!1),!a||n&&a!==ui(e)?!1:n}function kc(e,n,a,s){n===void 0&&(n=!1),a===void 0&&(a=!1);const f=e.getBoundingClientRect(),p=hx(e);let d=rl(1);n&&(s?so(s)&&(d=zf(s)):d=zf(e));const g=Vz(p,a,s)?sR(p):rl(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(p){const R=ui(p),A=s&&so(s)?ui(s):s;let D=R,L=OT(D);for(;L&&s&&A!==D;){const B=zf(L),z=L.getBoundingClientRect(),G=lo(L),W=z.left+(L.clientLeft+parseFloat(G.paddingLeft))*B.x,Z=z.top+(L.clientTop+parseFloat(G.paddingTop))*B.y;E*=B.x,b*=B.y,C*=B.x,S*=B.y,E+=W,b+=Z,D=ui(L),L=OT(D)}}return I1({width:C,height:S,x:E,y:b})}function Yz(e){let{elements:n,rect:a,offsetParent:s,strategy:f}=e;const p=f==="fixed",d=qo(s),g=n?X1(n.floating):!1;if(s===d||g&&p)return a;let E={scrollLeft:0,scrollTop:0},b=rl(1);const C=rl(0),S=Vo(s);if((S||!S&&!p)&&((nh(s)!=="body"||qm(d))&&(E=K1(s)),Vo(s))){const R=kc(s);b=zf(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 Wz(e){return Array.from(e.getClientRects())}function LT(e,n){const a=K1(e).scrollLeft;return n?n.left+a:kc(qo(e)).left+a}function qz(e){const n=qo(e),a=K1(e),s=e.ownerDocument.body,f=ii(n.scrollWidth,n.clientWidth,s.scrollWidth,s.clientWidth),p=ii(n.scrollHeight,n.clientHeight,s.scrollHeight,s.clientHeight);let d=-a.scrollLeft+LT(e);const g=-a.scrollTop;return lo(s).direction==="rtl"&&(d+=ii(n.clientWidth,s.clientWidth)-f),{width:f,height:p,x:d,y:g}}function Qz(e,n){const a=ui(e),s=qo(e),f=a.visualViewport;let p=s.clientWidth,d=s.clientHeight,g=0,E=0;if(f){p=f.width,d=f.height;const b=fx();(!b||b&&n==="fixed")&&(g=f.offsetLeft,E=f.offsetTop)}return{width:p,height:d,x:g,y:E}}function $z(e,n){const a=kc(e,!0,n==="fixed"),s=a.top+e.clientTop,f=a.left+e.clientLeft,p=Vo(e)?zf(e):rl(1),d=e.clientWidth*p.x,g=e.clientHeight*p.y,E=f*p.x,b=s*p.y;return{width:d,height:g,x:E,y:b}}function UA(e,n,a){let s;if(n==="viewport")s=Qz(e,a);else if(n==="document")s=qz(qo(e));else if(so(n))s=$z(n,a);else{const f=sR(e);s={...n,x:n.x-f.x,y:n.y-f.y}}return I1(s)}function lR(e,n){const a=il(e);return a===n||!so(a)||qf(a)?!1:lo(a).position==="fixed"||lR(a,n)}function Gz(e,n){const a=n.get(e);if(a)return a;let s=Pm(e,[],!1).filter(g=>so(g)&&nh(g)!=="body"),f=null;const p=lo(e).position==="fixed";let d=p?il(e):e;for(;so(d)&&!qf(d);){const g=lo(d),E=dx(d);!E&&g.position==="fixed"&&(f=null),(p?!E&&!f:!E&&g.position==="static"&&!!f&&["absolute","fixed"].includes(f.position)||qm(d)&&!E&&lR(e,d))?s=s.filter(C=>C!==d):f=g,d=il(d)}return n.set(e,s),s}function Xz(e){let{element:n,boundary:a,rootBoundary:s,strategy:f}=e;const d=[...a==="clippingAncestors"?X1(n)?[]:Gz(n,this._c):[].concat(a),s],g=d[0],E=d.reduce((b,C)=>{const S=UA(n,C,f);return b.top=ii(S.top,b.top),b.right=nl(S.right,b.right),b.bottom=nl(S.bottom,b.bottom),b.left=ii(S.left,b.left),b},UA(n,g,f));return{width:E.right-E.left,height:E.bottom-E.top,x:E.left,y:E.top}}function Kz(e){const{width:n,height:a}=uR(e);return{width:n,height:a}}function Zz(e,n,a){const s=Vo(n),f=qo(n),p=a==="fixed",d=kc(e,!0,p,n);let g={scrollLeft:0,scrollTop:0};const E=rl(0);if(s||!s&&!p)if((nh(n)!=="body"||qm(f))&&(g=K1(n)),s){const A=kc(n,!0,p,n);E.x=A.x+n.clientLeft,E.y=A.y+n.clientTop}else f&&(E.x=LT(f));let b=0,C=0;if(f&&!s&&!p){const A=f.getBoundingClientRect();C=A.top+g.scrollTop,b=A.left+g.scrollLeft-LT(f,A)}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 nT(e){return lo(e).position==="static"}function BA(e,n){if(!Vo(e)||lo(e).position==="fixed")return null;if(n)return n(e);let a=e.offsetParent;return qo(e)===a&&(a=a.ownerDocument.body),a}function cR(e,n){const a=ui(e);if(X1(e))return a;if(!Vo(e)){let f=il(e);for(;f&&!qf(f);){if(so(f)&&!nT(f))return f;f=il(f)}return a}let s=BA(e,n);for(;s&&Hz(s)&&nT(s);)s=BA(s,n);return s&&qf(s)&&nT(s)&&!dx(s)?a:s||zz(e)||a}const Jz=async function(e){const n=this.getOffsetParent||cR,a=this.getDimensions,s=await a(e.floating);return{reference:Zz(e.reference,await n(e.floating),e.strategy),floating:{x:0,y:0,width:s.width,height:s.height}}};function ej(e){return lo(e).direction==="rtl"}const tj={convertOffsetParentRelativeRectToViewportRelativeRect:Yz,getDocumentElement:qo,getClippingRect:Xz,getOffsetParent:cR,getElementRects:Jz,getClientRects:Wz,getDimensions:Kz,getScale:zf,isElement:so,isRTL:ej};function nj(e,n){let a=null,s;const f=qo(e);function p(){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),p();const{left:b,top:C,width:S,height:R}=e.getBoundingClientRect();if(g||n(),!S||!R)return;const A=c1(C),D=c1(f.clientWidth-(b+S)),L=c1(f.clientHeight-(C+R)),B=c1(b),G={rootMargin:-A+"px "+-D+"px "+-L+"px "+-B+"px",threshold:ii(0,nl(1,E))||1};let W=!0;function Z(J){const X=J[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(Z,{...G,root:f.ownerDocument})}catch{a=new IntersectionObserver(Z,G)}a.observe(e)}return d(!0),p}function rj(e,n,a,s){s===void 0&&(s={});const{ancestorScroll:f=!0,ancestorResize:p=!0,elementResize:d=typeof ResizeObserver=="function",layoutShift:g=typeof IntersectionObserver=="function",animationFrame:E=!1}=s,b=hx(e),C=f||p?[...b?Pm(b):[],...Pm(n)]:[];C.forEach(z=>{f&&z.addEventListener("scroll",a,{passive:!0}),p&&z.addEventListener("resize",a)});const S=b&&g?nj(b,a):null;let R=-1,A=null;d&&(A=new ResizeObserver(z=>{let[G]=z;G&&G.target===b&&A&&(A.unobserve(n),cancelAnimationFrame(R),R=requestAnimationFrame(()=>{var W;(W=A)==null||W.observe(n)})),a()}),b&&!E&&A.observe(b),A.observe(n));let D,L=E?kc(e):null;E&&B();function B(){const z=kc(e);L&&(z.x!==L.x||z.y!==L.y||z.width!==L.width||z.height!==L.height)&&a(),L=z,D=requestAnimationFrame(B)}return a(),()=>{var z;C.forEach(G=>{f&&G.removeEventListener("scroll",a),p&&G.removeEventListener("resize",a)}),S==null||S(),(z=A)==null||z.disconnect(),A=null,E&&cancelAnimationFrame(D)}}const aj=Pz,ij=Fz,oj=Lz,uj=Bz,sj=Iz,HA=Oz,lj=Uz,cj=(e,n,a)=>{const s=new Map,f={platform:tj,...a},p={...f.platform,_c:s};return Dz(e,n,{...f,platform:p})};var w1=typeof document<"u"?Dt.useLayoutEffect:Dt.useEffect;function M1(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(!M1(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 p=f[s];if(!(p==="_owner"&&e.$$typeof)&&!M1(e[p],n[p]))return!1}return!0}return e!==e&&n!==n}function dR(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function zA(e,n){const a=dR(e);return Math.round(n*a)/a}function rT(e){const n=ie.useRef(e);return w1(()=>{n.current=e}),n}function dj(e){e===void 0&&(e={});const{placement:n="bottom",strategy:a="absolute",middleware:s=[],platform:f,elements:{reference:p,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,A]=ie.useState(s);M1(R,s)||A(s);const[D,L]=ie.useState(null),[B,z]=ie.useState(null),G=ie.useCallback(pe=>{pe!==X.current&&(X.current=pe,L(pe))},[]),W=ie.useCallback(pe=>{pe!==ce.current&&(ce.current=pe,z(pe))},[]),Z=p||D,J=d||B,X=ie.useRef(null),ce=ie.useRef(null),Te=ie.useRef(C),Me=E!=null,K=rT(E),Ee=rT(f),ge=rT(b),Re=ie.useCallback(()=>{if(!X.current||!ce.current)return;const pe={placement:n,strategy:a,middleware:R};Ee.current&&(pe.platform=Ee.current),cj(X.current,ce.current,pe).then(De=>{const P={...De,isPositioned:ge.current!==!1};Oe.current&&!M1(Te.current,P)&&(Te.current=P,D1.flushSync(()=>{S(P)}))})},[R,n,a,Ee,ge]);w1(()=>{b===!1&&Te.current.isPositioned&&(Te.current.isPositioned=!1,S(pe=>({...pe,isPositioned:!1})))},[b]);const Oe=ie.useRef(!1);w1(()=>(Oe.current=!0,()=>{Oe.current=!1}),[]),w1(()=>{if(Z&&(X.current=Z),J&&(ce.current=J),Z&&J){if(K.current)return K.current(Z,J,Re);Re()}},[Z,J,Re,K,Me]);const qe=ie.useMemo(()=>({reference:X,floating:ce,setReference:G,setFloating:W}),[G,W]),je=ie.useMemo(()=>({reference:Z,floating:J}),[Z,J]),at=ie.useMemo(()=>{const pe={position:a,left:0,top:0};if(!je.floating)return pe;const De=zA(je.floating,C.x),P=zA(je.floating,C.y);return g?{...pe,transform:"translate("+De+"px, "+P+"px)",...dR(je.floating)>=1.5&&{willChange:"transform"}}:{position:a,left:De,top:P}},[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 fj=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?HA({element:s.current,padding:f}).fn(a):{}:s?HA({element:s,padding:f}).fn(a):{}}}},hj=(e,n)=>({...aj(e),options:[e,n]}),pj=(e,n)=>({...ij(e),options:[e,n]}),mj=(e,n)=>({...lj(e),options:[e,n]}),gj=(e,n)=>({...oj(e),options:[e,n]}),vj=(e,n)=>({...uj(e),options:[e,n]}),yj=(e,n)=>({...sj(e),options:[e,n]}),Ej=(e,n)=>({...fj(e),options:[e,n]});var bj="Arrow",fR=ie.forwardRef((e,n)=>{const{children:a,width:s=10,height:f=5,...p}=e;return U.jsx(ll.svg,{...p,ref:n,width:s,height:f,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?a:U.jsx("polygon",{points:"0,0 30,0 15,10"})})});fR.displayName=bj;var wj=fR;function Tj(e,n=[]){let a=[];function s(p,d){const g=ie.createContext(d),E=a.length;a=[...a,d];function b(S){const{scope:R,children:A,...D}=S,L=(R==null?void 0:R[e][E])||g,B=ie.useMemo(()=>D,Object.values(D));return U.jsx(L.Provider,{value:B,children:A})}function C(S,R){const A=(R==null?void 0:R[e][E])||g,D=ie.useContext(A);if(D)return D;if(d!==void 0)return d;throw new Error(`\`${S}\` must be used within \`${p}\``)}return b.displayName=p+"Provider",[b,C]}const f=()=>{const p=a.map(d=>ie.createContext(d));return function(g){const E=(g==null?void 0:g[e])||p;return ie.useMemo(()=>({[`__scope${e}`]:{...g,[e]:E}}),[g,E])}};return f.scopeName=e,[s,xj(f,...n)]}function xj(...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(p){const d=s.reduce((g,{useScope:E,scopeName:b})=>{const S=E(p)[`__scope${b}`];return{...g,...S}},{});return ie.useMemo(()=>({[`__scope${n.scopeName}`]:d}),[d])}};return a.scopeName=n.scopeName,a}function Sj(e){const[n,a]=ie.useState(void 0);return Wf(()=>{if(e){a({width:e.offsetWidth,height:e.offsetHeight});const s=new ResizeObserver(f=>{if(!Array.isArray(f)||!f.length)return;const p=f[0];let d,g;if("borderBoxSize"in p){const E=p.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 px="Popper",[hR,pR]=Tj(px),[Cj,mR]=hR(px),gR=e=>{const{__scopePopper:n,children:a}=e,[s,f]=ie.useState(null);return U.jsx(Cj,{scope:n,anchor:s,onAnchorChange:f,children:a})};gR.displayName=px;var vR="PopperAnchor",yR=ie.forwardRef((e,n)=>{const{__scopePopper:a,virtualRef:s,...f}=e,p=mR(vR,a),d=ie.useRef(null),g=sl(n,d);return ie.useEffect(()=>{p.onAnchorChange((s==null?void 0:s.current)||d.current)}),s?null:U.jsx(ll.div,{...f,ref:g})});yR.displayName=vR;var mx="PopperContent",[_j,Aj]=hR(mx),ER=ie.forwardRef((e,n)=>{var rr,dn,Rn,_r,Nn,Ur;const{__scopePopper:a,side:s="bottom",sideOffset:f=0,align:p="center",alignOffset:d=0,arrowPadding:g=0,avoidCollisions:E=!0,collisionBoundary:b=[],collisionPadding:C=0,sticky:S="partial",hideWhenDetached:R=!1,updatePositionStrategy:A="optimized",onPlaced:D,...L}=e,B=mR(mx,a),[z,G]=ie.useState(null),W=sl(n,an=>G(an)),[Z,J]=ie.useState(null),X=Sj(Z),ce=(X==null?void 0:X.width)??0,Te=(X==null?void 0:X.height)??0,Me=s+(p!=="center"?"-"+p:""),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(Rj),altBoundary:ge},{refs:Oe,floatingStyles:qe,placement:je,isPositioned:at,middlewareData:pe}=dj({strategy:"fixed",placement:Me,whileElementsMounted:(...an)=>rj(...an,{animationFrame:A==="always"}),elements:{reference:B.anchor},middleware:[hj({mainAxis:f+Te,alignmentAxis:d}),E&&pj({mainAxis:!0,crossAxis:!1,limiter:S==="partial"?mj():void 0,...Re}),E&&gj({...Re}),vj({...Re,apply:({elements:an,rects:Fn,availableWidth:ar,availableHeight:gr})=>{const{width:$n,height:ia}=Fn.reference,Br=an.floating.style;Br.setProperty("--radix-popper-available-width",`${ar}px`),Br.setProperty("--radix-popper-available-height",`${gr}px`),Br.setProperty("--radix-popper-anchor-width",`${$n}px`),Br.setProperty("--radix-popper-anchor-height",`${ia}px`)}}),Z&&Ej({element:Z,padding:g}),Nj({arrowWidth:ce,arrowHeight:Te}),R&&yj({strategy:"referenceHidden",...Re})]}),[De,P]=TR(je),et=tl(D);Wf(()=>{at&&(et==null||et())},[at,et]);const Et=(rr=pe.arrow)==null?void 0:rr.x,V=(dn=pe.arrow)==null?void 0:dn.y,$t=((Rn=pe.arrow)==null?void 0:Rn.centerOffset)!==0,[Qn,kt]=ie.useState();return Wf(()=>{z&&kt(window.getComputedStyle(z).zIndex)},[z]),U.jsx("div",{ref:Oe.setFloating,"data-radix-popper-content-wrapper":"",style:{...qe,transform:at?qe.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:Qn,"--radix-popper-transform-origin":[(_r=pe.transformOrigin)==null?void 0:_r.x,(Nn=pe.transformOrigin)==null?void 0:Nn.y].join(" "),...((Ur=pe.hide)==null?void 0:Ur.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:U.jsx(_j,{scope:a,placedSide:De,onArrowChange:J,arrowX:Et,arrowY:V,shouldHideArrow:$t,children:U.jsx(ll.div,{"data-side":De,"data-align":P,...L,ref:W,style:{...L.style,animation:at?void 0:"none"}})})})});ER.displayName=mx;var bR="PopperArrow",kj={top:"bottom",right:"left",bottom:"top",left:"right"},wR=ie.forwardRef(function(n,a){const{__scopePopper:s,...f}=n,p=Aj(bR,s),d=kj[p.placedSide];return U.jsx("span",{ref:p.onArrowChange,style:{position:"absolute",left:p.arrowX,top:p.arrowY,[d]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[p.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[p.placedSide],visibility:p.shouldHideArrow?"hidden":void 0},children:U.jsx(wj,{...f,ref:a,style:{...f.style,display:"block"}})})});wR.displayName=bR;function Rj(e){return e!==null}var Nj=e=>({name:"transformOrigin",options:e,fn(n){var B,z,G;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]=TR(a),S={start:"0%",center:"50%",end:"100%"}[C],R=(((z=f.arrow)==null?void 0:z.x)??0)+g/2,A=(((G=f.arrow)==null?void 0:G.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:`${A}px`):b==="left"&&(D=`${s.floating.width+E}px`,L=d?S:`${A}px`),{data:{x:D,y:L}}}});function TR(e){const[n,a="center"]=e.split("-");return[n,a]}var Dj=gR,xR=yR,Oj=ER,Lj=wR;function Ij(e,n){return ie.useReducer((a,s)=>n[a][s]??a,e)}var SR=e=>{const{present:n,children:a}=e,s=Mj(n),f=typeof a=="function"?a({present:s.isPresent}):ie.Children.only(a),p=sl(s.ref,Pj(f));return typeof a=="function"||s.isPresent?ie.cloneElement(f,{ref:p}):null};SR.displayName="Presence";function Mj(e){const[n,a]=ie.useState(),s=ie.useRef({}),f=ie.useRef(e),p=ie.useRef("none"),d=e?"mounted":"unmounted",[g,E]=Ij(d,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return ie.useEffect(()=>{const b=d1(s.current);p.current=g==="mounted"?b:"none"},[g]),Wf(()=>{const b=s.current,C=f.current;if(C!==e){const R=p.current,A=d1(b);e?E("MOUNT"):A==="none"||(b==null?void 0:b.display)==="none"?E("UNMOUNT"):E(C&&R!==A?"ANIMATION_OUT":"UNMOUNT"),f.current=e}},[e,E]),Wf(()=>{if(n){let b;const C=n.ownerDocument.defaultView??window,S=A=>{const L=d1(s.current).includes(A.animationName);if(A.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=A=>{A.target===n&&(p.current=d1(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 d1(e){return(e==null?void 0:e.animationName)||"none"}function Pj(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 Fj({prop:e,defaultProp:n,onChange:a=()=>{}}){const[s,f]=Uj({defaultProp:n,onChange:a}),p=e!==void 0,d=p?e:s,g=tl(a),E=ie.useCallback(b=>{if(p){const S=typeof b=="function"?b(e):b;S!==e&&g(S)}else f(b)},[p,e,f,g]);return[d,E]}function Uj({defaultProp:e,onChange:n}){const a=ie.useState(e),[s]=a,f=ie.useRef(s),p=tl(n);return ie.useEffect(()=>{f.current!==s&&(p(s),f.current=s)},[s,f,p]),a}var Bj=function(e){if(typeof document>"u")return null;var n=Array.isArray(e)?e[0]:e;return n.ownerDocument.body},If=new WeakMap,f1=new WeakMap,h1={},aT=0,CR=function(e){return e&&(e.host||CR(e.parentNode))},Hj=function(e,n){return n.map(function(a){if(e.contains(a))return a;var s=CR(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})},zj=function(e,n,a,s){var f=Hj(n,Array.isArray(e)?e:[e]);h1[a]||(h1[a]=new WeakMap);var p=h1[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 A=R.getAttribute(s),D=A!==null&&A!=="false",L=(If.get(R)||0)+1,B=(p.get(R)||0)+1;If.set(R,L),p.set(R,B),d.push(R),L===1&&D&&f1.set(R,!0),B===1&&R.setAttribute(a,"true"),D||R.setAttribute(s,"true")}catch(z){console.error("aria-hidden: cannot operate on ",R,z)}})};return C(n),g.clear(),aT++,function(){d.forEach(function(S){var R=If.get(S)-1,A=p.get(S)-1;If.set(S,R),p.set(S,A),R||(f1.has(S)||S.removeAttribute(s),f1.delete(S)),A||S.removeAttribute(a)}),aT--,aT||(If=new WeakMap,If=new WeakMap,f1=new WeakMap,h1={})}},jj=function(e,n,a){a===void 0&&(a="data-aria-hidden");var s=Array.from(Array.isArray(e)?e:[e]),f=Bj(e);return f?(s.push.apply(s,Array.from(f.querySelectorAll("[aria-live]"))),zj(s,f,a,"aria-hidden")):function(){return null}},T1="right-scroll-bar-position",x1="width-before-scroll-bar",Vj="with-scroll-bars-hidden",Yj="--removed-body-scroll-bar-size";function iT(e,n){return typeof e=="function"?e(n):e&&(e.current=n),e}function Wj(e,n){var a=Dt.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 qj=typeof window<"u"?ie.useLayoutEffect:ie.useEffect,jA=new WeakMap;function Qj(e,n){var a=Wj(null,function(s){return e.forEach(function(f){return iT(f,s)})});return qj(function(){var s=jA.get(a);if(s){var f=new Set(s),p=new Set(e),d=a.current;f.forEach(function(g){p.has(g)||iT(g,null)}),p.forEach(function(g){f.has(g)||iT(g,d)})}jA.set(a,e)},[e]),a}function $j(e){return e}function Gj(e,n){n===void 0&&(n=$j);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(p){var d=n(p,s);return a.push(d),function(){a=a.filter(function(g){return g!==d})}},assignSyncMedium:function(p){for(s=!0;a.length;){var d=a;a=[],d.forEach(p)}a={push:function(g){return p(g)},filter:function(){return a}}},assignMedium:function(p){s=!0;var d=[];if(a.length){var g=a;a=[],g.forEach(p),d=a}var E=function(){var C=d;d=[],C.forEach(p)},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 Xj(e){e===void 0&&(e={});var n=Gj(null);return n.options=yt.__assign({async:!0,ssr:!1},e),n}var _R=function(e){var n=e.sideCar,a=yt.__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,yt.__assign({},a))};_R.isSideCarExport=!0;function Kj(e,n){return e.useMedium(n),_R}var AR=Xj(),oT=function(){},Z1=ie.forwardRef(function(e,n){var a=ie.useRef(null),s=ie.useState({onScrollCapture:oT,onWheelCapture:oT,onTouchMoveCapture:oT}),f=s[0],p=s[1],d=e.forwardProps,g=e.children,E=e.className,b=e.removeScrollBar,C=e.enabled,S=e.shards,R=e.sideCar,A=e.noIsolation,D=e.inert,L=e.allowPinchZoom,B=e.as,z=B===void 0?"div":B,G=e.gapMode,W=yt.__rest(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),Z=R,J=Qj([a,n]),X=yt.__assign(yt.__assign({},W),f);return ie.createElement(ie.Fragment,null,C&&ie.createElement(Z,{sideCar:AR,removeScrollBar:b,shards:S,noIsolation:A,inert:D,setCallbacks:p,allowPinchZoom:!!L,lockRef:a,gapMode:G}),d?ie.cloneElement(ie.Children.only(g),yt.__assign(yt.__assign({},X),{ref:J})):ie.createElement(z,yt.__assign({},X,{className:E,ref:J}),g))});Z1.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};Z1.classNames={fullWidth:x1,zeroRight:T1};var Zj=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function Jj(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var n=Zj();return n&&e.setAttribute("nonce",n),e}function eV(e,n){e.styleSheet?e.styleSheet.cssText=n:e.appendChild(document.createTextNode(n))}function tV(e){var n=document.head||document.getElementsByTagName("head")[0];n.appendChild(e)}var nV=function(){var e=0,n=null;return{add:function(a){e==0&&(n=Jj())&&(eV(n,a),tV(n)),e++},remove:function(){e--,!e&&n&&(n.parentNode&&n.parentNode.removeChild(n),n=null)}}},rV=function(){var e=nV();return function(n,a){ie.useEffect(function(){return e.add(n),function(){e.remove()}},[n&&a])}},kR=function(){var e=rV(),n=function(a){var s=a.styles,f=a.dynamic;return e(s,f),null};return n},aV={left:0,top:0,right:0,gap:0},uT=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[uT(a),uT(s),uT(f)]},oV=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return aV;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])}},uV=kR(),jf="data-scroll-locked",sV=function(e,n,a,s){var f=e.left,p=e.top,d=e.right,g=e.gap;return a===void 0&&(a="margin"),`
|
|
203
|
-
.`.concat(
|
|
202
|
+
You might need to use a local HTTP server (instead of file://): https://reactjs.org/link/react-devtools-faq`:""),"font-weight:bold")}Wa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Rw,Wa.createPortal=_L,Wa.createRoot=kL,Wa.findDOMNode=wL,Wa.flushSync=NL,Wa.hydrate=TL,Wa.hydrateRoot=RL,Wa.render=xL,Wa.unmountComponentAtNode=CL,Wa.unstable_batchedUpdates=iw,Wa.unstable_renderSubtreeIntoContainer=AL,Wa.version=Tw,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),Wa}function Z3(){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(Z3)}catch(e){console.error(e)}}}process.env.NODE_ENV==="production"?(Z3(),kT.exports=JH()):kT.exports=ez();var D1=kT.exports,tz=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],ll=tz.reduce((e,n)=>{const a=ie.forwardRef((s,f)=>{const{asChild:p,...d}=s,g=p?PT.Slot:n;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),U.jsx(g,{...d,ref:f})});return a.displayName=`Primitive.${n}`,{...e,[n]:a}},{});function nz(e,n){e&&D1.flushSync(()=>e.dispatchEvent(n))}function tl(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 rz(e,n=globalThis==null?void 0:globalThis.document){const a=tl(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 az="DismissableLayer",RT="dismissableLayer.update",iz="dismissableLayer.pointerDownOutside",oz="dismissableLayer.focusOutside",AA,J3=ie.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),eR=ie.forwardRef((e,n)=>{const{disableOutsidePointerEvents:a=!1,onEscapeKeyDown:s,onPointerDownOutside:f,onFocusOutside:p,onInteractOutside:d,onDismiss:g,...E}=e,b=ie.useContext(J3),[C,S]=ie.useState(null),R=(C==null?void 0:C.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,A]=ie.useState({}),D=sl(n,ce=>S(ce)),L=Array.from(b.layers),[B]=[...b.layersWithOutsidePointerEventsDisabled].slice(-1),z=L.indexOf(B),G=C?L.indexOf(C):-1,W=b.layersWithOutsidePointerEventsDisabled.size>0,Z=G>=z,J=lz(ce=>{const Te=ce.target,Me=[...b.branches].some(K=>K.contains(Te));!Z||Me||(f==null||f(ce),d==null||d(ce),ce.defaultPrevented||g==null||g())},R),X=cz(ce=>{const Te=ce.target;[...b.branches].some(K=>K.contains(Te))||(p==null||p(ce),d==null||d(ce),ce.defaultPrevented||g==null||g())},R);return rz(ce=>{G===b.layers.size-1&&(s==null||s(ce),!ce.defaultPrevented&&g&&(ce.preventDefault(),g()))},R),ie.useEffect(()=>{if(C)return a&&(b.layersWithOutsidePointerEventsDisabled.size===0&&(AA=R.body.style.pointerEvents,R.body.style.pointerEvents="none"),b.layersWithOutsidePointerEventsDisabled.add(C)),b.layers.add(C),kA(),()=>{a&&b.layersWithOutsidePointerEventsDisabled.size===1&&(R.body.style.pointerEvents=AA)}},[C,R,a,b]),ie.useEffect(()=>()=>{C&&(b.layers.delete(C),b.layersWithOutsidePointerEventsDisabled.delete(C),kA())},[C,b]),ie.useEffect(()=>{const ce=()=>A({});return document.addEventListener(RT,ce),()=>document.removeEventListener(RT,ce)},[]),U.jsx(ll.div,{...E,ref:D,style:{pointerEvents:W?Z?"auto":"none":void 0,...e.style},onFocusCapture:el(e.onFocusCapture,X.onFocusCapture),onBlurCapture:el(e.onBlurCapture,X.onBlurCapture),onPointerDownCapture:el(e.onPointerDownCapture,J.onPointerDownCapture)})});eR.displayName=az;var uz="DismissableLayerBranch",sz=ie.forwardRef((e,n)=>{const a=ie.useContext(J3),s=ie.useRef(null),f=sl(n,s);return ie.useEffect(()=>{const p=s.current;if(p)return a.branches.add(p),()=>{a.branches.delete(p)}},[a.branches]),U.jsx(ll.div,{...e,ref:f})});sz.displayName=uz;function lz(e,n=globalThis==null?void 0:globalThis.document){const a=tl(e),s=ie.useRef(!1),f=ie.useRef(()=>{});return ie.useEffect(()=>{const p=g=>{if(g.target&&!s.current){let E=function(){tR(iz,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",p)},0);return()=>{window.clearTimeout(d),n.removeEventListener("pointerdown",p),n.removeEventListener("click",f.current)}},[n,a]),{onPointerDownCapture:()=>s.current=!0}}function cz(e,n=globalThis==null?void 0:globalThis.document){const a=tl(e),s=ie.useRef(!1);return ie.useEffect(()=>{const f=p=>{p.target&&!s.current&&tR(oz,a,{originalEvent:p},{discrete:!1})};return n.addEventListener("focusin",f),()=>n.removeEventListener("focusin",f)},[n,a]),{onFocusCapture:()=>s.current=!0,onBlurCapture:()=>s.current=!1}}function kA(){const e=new CustomEvent(RT);document.dispatchEvent(e)}function tR(e,n,a,{discrete:s}){const f=a.originalEvent.target,p=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:a});n&&f.addEventListener(e,n,{once:!0}),s?nz(f,p):f.dispatchEvent(p)}var Jw=0;function dz(){ie.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??RA()),document.body.insertAdjacentElement("beforeend",e[1]??RA()),Jw++,()=>{Jw===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(n=>n.remove()),Jw--}},[])}function RA(){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 eT="focusScope.autoFocusOnMount",tT="focusScope.autoFocusOnUnmount",NA={bubbles:!1,cancelable:!0},fz="FocusScope",nR=ie.forwardRef((e,n)=>{const{loop:a=!1,trapped:s=!1,onMountAutoFocus:f,onUnmountAutoFocus:p,...d}=e,[g,E]=ie.useState(null),b=tl(f),C=tl(p),S=ie.useRef(null),R=sl(n,L=>E(L)),A=ie.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;ie.useEffect(()=>{if(s){let L=function(W){if(A.paused||!g)return;const Z=W.target;g.contains(Z)?S.current=Z:Zs(S.current,{select:!0})},B=function(W){if(A.paused||!g)return;const Z=W.relatedTarget;Z!==null&&(g.contains(Z)||Zs(S.current,{select:!0}))},z=function(W){if(document.activeElement===document.body)for(const J of W)J.removedNodes.length>0&&Zs(g)};document.addEventListener("focusin",L),document.addEventListener("focusout",B);const G=new MutationObserver(z);return g&&G.observe(g,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",L),document.removeEventListener("focusout",B),G.disconnect()}}},[s,g,A.paused]),ie.useEffect(()=>{if(g){OA.add(A);const L=document.activeElement;if(!g.contains(L)){const z=new CustomEvent(eT,NA);g.addEventListener(eT,b),g.dispatchEvent(z),z.defaultPrevented||(hz(yz(rR(g)),{select:!0}),document.activeElement===L&&Zs(g))}return()=>{g.removeEventListener(eT,b),setTimeout(()=>{const z=new CustomEvent(tT,NA);g.addEventListener(tT,C),g.dispatchEvent(z),z.defaultPrevented||Zs(L??document.body,{select:!0}),g.removeEventListener(tT,C),OA.remove(A)},0)}}},[g,b,C,A]);const D=ie.useCallback(L=>{if(!a&&!s||A.paused)return;const B=L.key==="Tab"&&!L.altKey&&!L.ctrlKey&&!L.metaKey,z=document.activeElement;if(B&&z){const G=L.currentTarget,[W,Z]=pz(G);W&&Z?!L.shiftKey&&z===Z?(L.preventDefault(),a&&Zs(W,{select:!0})):L.shiftKey&&z===W&&(L.preventDefault(),a&&Zs(Z,{select:!0})):z===G&&L.preventDefault()}},[a,s,A.paused]);return U.jsx(ll.div,{tabIndex:-1,...d,ref:R,onKeyDown:D})});nR.displayName=fz;function hz(e,{select:n=!1}={}){const a=document.activeElement;for(const s of e)if(Zs(s,{select:n}),document.activeElement!==a)return}function pz(e){const n=rR(e),a=DA(n,e),s=DA(n.reverse(),e);return[a,s]}function rR(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 DA(e,n){for(const a of e)if(!mz(a,{upTo:n}))return a}function mz(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 gz(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&&gz(e)&&n&&e.select()}}var OA=vz();function vz(){let e=[];return{add(n){const a=e[0];n!==a&&(a==null||a.pause()),e=LA(e,n),e.unshift(n)},remove(n){var a;e=LA(e,n),(a=e[0])==null||a.resume()}}}function LA(e,n){const a=[...e],s=a.indexOf(n);return s!==-1&&a.splice(s,1),a}function yz(e){return e.filter(n=>n.tagName!=="A")}var Wf=globalThis!=null&&globalThis.document?ie.useLayoutEffect:()=>{},Ez=ie.useId||(()=>{}),bz=0;function wz(e){const[n,a]=ie.useState(Ez());return Wf(()=>{e||a(s=>s??String(bz++))},[e]),e||(n?`radix-${n}`:"")}const Tz=["top","right","bottom","left"],nl=Math.min,ii=Math.max,O1=Math.round,c1=Math.floor,rl=e=>({x:e,y:e}),xz={left:"right",right:"left",bottom:"top",top:"bottom"},Sz={start:"end",end:"start"};function NT(e,n,a){return ii(e,nl(n,a))}function Mu(e,n){return typeof e=="function"?e(n):e}function Pu(e){return e.split("-")[0]}function th(e){return e.split("-")[1]}function sx(e){return e==="x"?"y":"x"}function lx(e){return e==="y"?"height":"width"}function al(e){return["top","bottom"].includes(Pu(e))?"y":"x"}function cx(e){return sx(al(e))}function Cz(e,n,a){a===void 0&&(a=!1);const s=th(e),f=cx(e),p=lx(f);let d=f==="x"?s===(a?"end":"start")?"right":"left":s==="start"?"bottom":"top";return n.reference[p]>n.floating[p]&&(d=L1(d)),[d,L1(d)]}function _z(e){const n=L1(e);return[DT(e),n,DT(n)]}function DT(e){return e.replace(/start|end/g,n=>Sz[n])}function Az(e,n,a){const s=["left","right"],f=["right","left"],p=["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?p:d;default:return[]}}function kz(e,n,a,s){const f=th(e);let p=Az(Pu(e),a==="start",s);return f&&(p=p.map(d=>d+"-"+f),n&&(p=p.concat(p.map(DT)))),p}function L1(e){return e.replace(/left|right|bottom|top/g,n=>xz[n])}function Rz(e){return{top:0,right:0,bottom:0,left:0,...e}}function aR(e){return typeof e!="number"?Rz(e):{top:e,right:e,bottom:e,left:e}}function I1(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 IA(e,n,a){let{reference:s,floating:f}=e;const p=al(n),d=cx(n),g=lx(d),E=Pu(n),b=p==="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 A;switch(E){case"top":A={x:C,y:s.y-f.height};break;case"bottom":A={x:C,y:s.y+s.height};break;case"right":A={x:s.x+s.width,y:S};break;case"left":A={x:s.x-f.width,y:S};break;default:A={x:s.x,y:s.y}}switch(th(n)){case"start":A[d]-=R*(a&&b?-1:1);break;case"end":A[d]+=R*(a&&b?-1:1);break}return A}const Nz=async(e,n,a)=>{const{placement:s="bottom",strategy:f="absolute",middleware:p=[],platform:d}=a,g=p.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}=IA(b,s,E),R=s,A={},D=0;for(let L=0;L<g.length;L++){const{name:B,fn:z}=g[L],{x:G,y:W,data:Z,reset:J}=await z({x:C,y:S,initialPlacement:s,placement:R,strategy:f,middlewareData:A,rects:b,platform:d,elements:{reference:e,floating:n}});C=G??C,S=W??S,A={...A,[B]:{...A[B],...Z}},J&&D<=50&&(D++,typeof J=="object"&&(J.placement&&(R=J.placement),J.rects&&(b=J.rects===!0?await d.getElementRects({reference:e,floating:n,strategy:f}):J.rects),{x:C,y:S}=IA(b,R,E)),L=-1)}return{x:C,y:S,placement:R,strategy:f,middlewareData:A}};async function Mm(e,n){var a;n===void 0&&(n={});const{x:s,y:f,platform:p,rects:d,elements:g,strategy:E}=e,{boundary:b="clippingAncestors",rootBoundary:C="viewport",elementContext:S="floating",altBoundary:R=!1,padding:A=0}=Mu(n,e),D=aR(A),B=g[R?S==="floating"?"reference":"floating":S],z=I1(await p.getClippingRect({element:(a=await(p.isElement==null?void 0:p.isElement(B)))==null||a?B:B.contextElement||await(p.getDocumentElement==null?void 0:p.getDocumentElement(g.floating)),boundary:b,rootBoundary:C,strategy:E})),G=S==="floating"?{x:s,y:f,width:d.floating.width,height:d.floating.height}:d.reference,W=await(p.getOffsetParent==null?void 0:p.getOffsetParent(g.floating)),Z=await(p.isElement==null?void 0:p.isElement(W))?await(p.getScale==null?void 0:p.getScale(W))||{x:1,y:1}:{x:1,y:1},J=I1(p.convertOffsetParentRelativeRectToViewportRelativeRect?await p.convertOffsetParentRelativeRectToViewportRelativeRect({elements:g,rect:G,offsetParent:W,strategy:E}):G);return{top:(z.top-J.top+D.top)/Z.y,bottom:(J.bottom-z.bottom+D.bottom)/Z.y,left:(z.left-J.left+D.left)/Z.x,right:(J.right-z.right+D.right)/Z.x}}const Dz=e=>({name:"arrow",options:e,async fn(n){const{x:a,y:s,placement:f,rects:p,platform:d,elements:g,middlewareData:E}=n,{element:b,padding:C=0}=Mu(e,n)||{};if(b==null)return{};const S=aR(C),R={x:a,y:s},A=cx(f),D=lx(A),L=await d.getDimensions(b),B=A==="y",z=B?"top":"left",G=B?"bottom":"right",W=B?"clientHeight":"clientWidth",Z=p.reference[D]+p.reference[A]-R[A]-p.floating[D],J=R[A]-p.reference[A],X=await(d.getOffsetParent==null?void 0:d.getOffsetParent(b));let ce=X?X[W]:0;(!ce||!await(d.isElement==null?void 0:d.isElement(X)))&&(ce=g.floating[W]||p.floating[D]);const Te=Z/2-J/2,Me=ce/2-L[D]/2-1,K=nl(S[z],Me),Ee=nl(S[G],Me),ge=K,Re=ce-L[D]-Ee,Oe=ce/2-L[D]/2+Te,qe=NT(ge,Oe,Re),je=!E.arrow&&th(f)!=null&&Oe!==qe&&p.reference[D]/2-(Oe<ge?K:Ee)-L[D]/2<0,at=je?Oe<ge?Oe-ge:Oe-Re:0;return{[A]:R[A]+at,data:{[A]:qe,centerOffset:Oe-qe-at,...je&&{alignmentOffset:at}},reset:je}}}),Oz=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(n){var a,s;const{placement:f,middlewareData:p,rects:d,initialPlacement:g,platform:E,elements:b}=n,{mainAxis:C=!0,crossAxis:S=!0,fallbackPlacements:R,fallbackStrategy:A="bestFit",fallbackAxisSideDirection:D="none",flipAlignment:L=!0,...B}=Mu(e,n);if((a=p.arrow)!=null&&a.alignmentOffset)return{};const z=Pu(f),G=al(g),W=Pu(g)===g,Z=await(E.isRTL==null?void 0:E.isRTL(b.floating)),J=R||(W||!L?[L1(g)]:_z(g)),X=D!=="none";!R&&X&&J.push(...kz(g,L,D,Z));const ce=[g,...J],Te=await Mm(n,B),Me=[];let K=((s=p.flip)==null?void 0:s.overflows)||[];if(C&&Me.push(Te[z]),S){const Oe=Cz(f,d,Z);Me.push(Te[Oe[0]],Te[Oe[1]])}if(K=[...K,{placement:f,overflows:Me}],!Me.every(Oe=>Oe<=0)){var Ee,ge;const Oe=(((Ee=p.flip)==null?void 0:Ee.index)||0)+1,qe=ce[Oe];if(qe)return{data:{index:Oe,overflows:K},reset:{placement:qe}};let je=(ge=K.filter(at=>at.overflows[0]<=0).sort((at,pe)=>at.overflows[1]-pe.overflows[1])[0])==null?void 0:ge.placement;if(!je)switch(A){case"bestFit":{var Re;const at=(Re=K.filter(pe=>{if(X){const De=al(pe.placement);return De===G||De==="y"}return!0}).map(pe=>[pe.placement,pe.overflows.filter(De=>De>0).reduce((De,P)=>De+P,0)]).sort((pe,De)=>pe[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 MA(e,n){return{top:e.top-n.height,right:e.right-n.width,bottom:e.bottom-n.height,left:e.left-n.width}}function PA(e){return Tz.some(n=>e[n]>=0)}const Lz=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(n){const{rects:a}=n,{strategy:s="referenceHidden",...f}=Mu(e,n);switch(s){case"referenceHidden":{const p=await Mm(n,{...f,elementContext:"reference"}),d=MA(p,a.reference);return{data:{referenceHiddenOffsets:d,referenceHidden:PA(d)}}}case"escaped":{const p=await Mm(n,{...f,altBoundary:!0}),d=MA(p,a.floating);return{data:{escapedOffsets:d,escaped:PA(d)}}}default:return{}}}}};async function Iz(e,n){const{placement:a,platform:s,elements:f}=e,p=await(s.isRTL==null?void 0:s.isRTL(f.floating)),d=Pu(a),g=th(a),E=al(a)==="y",b=["left","top"].includes(d)?-1:1,C=p&&E?-1:1,S=Mu(n,e);let{mainAxis:R,crossAxis:A,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"&&(A=g==="end"?D*-1:D),E?{x:A*C,y:R*b}:{x:R*b,y:A*C}}const Mz=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(n){var a,s;const{x:f,y:p,placement:d,middlewareData:g}=n,E=await Iz(n,e);return d===((a=g.offset)==null?void 0:a.placement)&&(s=g.arrow)!=null&&s.alignmentOffset?{}:{x:f+E.x,y:p+E.y,data:{...E,placement:d}}}}},Pz=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(n){const{x:a,y:s,placement:f}=n,{mainAxis:p=!0,crossAxis:d=!1,limiter:g={fn:B=>{let{x:z,y:G}=B;return{x:z,y:G}}},...E}=Mu(e,n),b={x:a,y:s},C=await Mm(n,E),S=al(Pu(f)),R=sx(S);let A=b[R],D=b[S];if(p){const B=R==="y"?"top":"left",z=R==="y"?"bottom":"right",G=A+C[B],W=A-C[z];A=NT(G,A,W)}if(d){const B=S==="y"?"top":"left",z=S==="y"?"bottom":"right",G=D+C[B],W=D-C[z];D=NT(G,D,W)}const L=g.fn({...n,[R]:A,[S]:D});return{...L,data:{x:L.x-a,y:L.y-s,enabled:{[R]:p,[S]:d}}}}}},Fz=function(e){return e===void 0&&(e={}),{options:e,fn(n){const{x:a,y:s,placement:f,rects:p,middlewareData:d}=n,{offset:g=0,mainAxis:E=!0,crossAxis:b=!0}=Mu(e,n),C={x:a,y:s},S=al(f),R=sx(S);let A=C[R],D=C[S];const L=Mu(g,n),B=typeof L=="number"?{mainAxis:L,crossAxis:0}:{mainAxis:0,crossAxis:0,...L};if(E){const W=R==="y"?"height":"width",Z=p.reference[R]-p.floating[W]+B.mainAxis,J=p.reference[R]+p.reference[W]-B.mainAxis;A<Z?A=Z:A>J&&(A=J)}if(b){var z,G;const W=R==="y"?"width":"height",Z=["top","left"].includes(Pu(f)),J=p.reference[S]-p.floating[W]+(Z&&((z=d.offset)==null?void 0:z[S])||0)+(Z?0:B.crossAxis),X=p.reference[S]+p.reference[W]+(Z?0:((G=d.offset)==null?void 0:G[S])||0)-(Z?B.crossAxis:0);D<J?D=J:D>X&&(D=X)}return{[R]:A,[S]:D}}}},Uz=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(n){var a,s;const{placement:f,rects:p,platform:d,elements:g}=n,{apply:E=()=>{},...b}=Mu(e,n),C=await Mm(n,b),S=Pu(f),R=th(f),A=al(f)==="y",{width:D,height:L}=p.floating;let B,z;S==="top"||S==="bottom"?(B=S,z=R===(await(d.isRTL==null?void 0:d.isRTL(g.floating))?"start":"end")?"left":"right"):(z=S,B=R==="end"?"top":"bottom");const G=L-C.top-C.bottom,W=D-C.left-C.right,Z=nl(L-C[B],G),J=nl(D-C[z],W),X=!n.middlewareData.shift;let ce=Z,Te=J;if((a=n.middlewareData.shift)!=null&&a.enabled.x&&(Te=W),(s=n.middlewareData.shift)!=null&&s.enabled.y&&(ce=G),X&&!R){const K=ii(C.left,0),Ee=ii(C.right,0),ge=ii(C.top,0),Re=ii(C.bottom,0);A?Te=D-2*(K!==0||Ee!==0?K+Ee:ii(C.left,C.right)):ce=L-2*(ge!==0||Re!==0?ge+Re:ii(C.top,C.bottom))}await E({...n,availableWidth:Te,availableHeight:ce});const Me=await d.getDimensions(g.floating);return D!==Me.width||L!==Me.height?{reset:{rects:!0}}:{}}}};function G1(){return typeof window<"u"}function nh(e){return iR(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=(iR(e)?e.ownerDocument:e.document)||window.document)==null?void 0:n.documentElement}function iR(e){return G1()?e instanceof Node||e instanceof ui(e).Node:!1}function so(e){return G1()?e instanceof Element||e instanceof ui(e).Element:!1}function Vo(e){return G1()?e instanceof HTMLElement||e instanceof ui(e).HTMLElement:!1}function FA(e){return!G1()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof ui(e).ShadowRoot}function qm(e){const{overflow:n,overflowX:a,overflowY:s,display:f}=lo(e);return/auto|scroll|overlay|hidden|clip/.test(n+s+a)&&!["inline","contents"].includes(f)}function Bz(e){return["table","td","th"].includes(nh(e))}function X1(e){return[":popover-open",":modal"].some(n=>{try{return e.matches(n)}catch{return!1}})}function dx(e){const n=fx(),a=so(e)?lo(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 Hz(e){let n=il(e);for(;Vo(n)&&!qf(n);){if(dx(n))return n;if(X1(n))return null;n=il(n)}return null}function fx(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function qf(e){return["html","body","#document"].includes(nh(e))}function lo(e){return ui(e).getComputedStyle(e)}function K1(e){return so(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function il(e){if(nh(e)==="html")return e;const n=e.assignedSlot||e.parentNode||FA(e)&&e.host||qo(e);return FA(n)?n.host:n}function oR(e){const n=il(e);return qf(n)?e.ownerDocument?e.ownerDocument.body:e.body:Vo(n)&&qm(n)?n:oR(n)}function Pm(e,n,a){var s;n===void 0&&(n=[]),a===void 0&&(a=!0);const f=oR(e),p=f===((s=e.ownerDocument)==null?void 0:s.body),d=ui(f);if(p){const g=OT(d);return n.concat(d,d.visualViewport||[],qm(f)?f:[],g&&a?Pm(g):[])}return n.concat(f,Pm(f,[],a))}function OT(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function uR(e){const n=lo(e);let a=parseFloat(n.width)||0,s=parseFloat(n.height)||0;const f=Vo(e),p=f?e.offsetWidth:a,d=f?e.offsetHeight:s,g=O1(a)!==p||O1(s)!==d;return g&&(a=p,s=d),{width:a,height:s,$:g}}function hx(e){return so(e)?e:e.contextElement}function zf(e){const n=hx(e);if(!Vo(n))return rl(1);const a=n.getBoundingClientRect(),{width:s,height:f,$:p}=uR(n);let d=(p?O1(a.width):a.width)/s,g=(p?O1(a.height):a.height)/f;return(!d||!Number.isFinite(d))&&(d=1),(!g||!Number.isFinite(g))&&(g=1),{x:d,y:g}}const zz=rl(0);function sR(e){const n=ui(e);return!fx()||!n.visualViewport?zz:{x:n.visualViewport.offsetLeft,y:n.visualViewport.offsetTop}}function jz(e,n,a){return n===void 0&&(n=!1),!a||n&&a!==ui(e)?!1:n}function kc(e,n,a,s){n===void 0&&(n=!1),a===void 0&&(a=!1);const f=e.getBoundingClientRect(),p=hx(e);let d=rl(1);n&&(s?so(s)&&(d=zf(s)):d=zf(e));const g=jz(p,a,s)?sR(p):rl(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(p){const R=ui(p),A=s&&so(s)?ui(s):s;let D=R,L=OT(D);for(;L&&s&&A!==D;){const B=zf(L),z=L.getBoundingClientRect(),G=lo(L),W=z.left+(L.clientLeft+parseFloat(G.paddingLeft))*B.x,Z=z.top+(L.clientTop+parseFloat(G.paddingTop))*B.y;E*=B.x,b*=B.y,C*=B.x,S*=B.y,E+=W,b+=Z,D=ui(L),L=OT(D)}}return I1({width:C,height:S,x:E,y:b})}function Vz(e){let{elements:n,rect:a,offsetParent:s,strategy:f}=e;const p=f==="fixed",d=qo(s),g=n?X1(n.floating):!1;if(s===d||g&&p)return a;let E={scrollLeft:0,scrollTop:0},b=rl(1);const C=rl(0),S=Vo(s);if((S||!S&&!p)&&((nh(s)!=="body"||qm(d))&&(E=K1(s)),Vo(s))){const R=kc(s);b=zf(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 Yz(e){return Array.from(e.getClientRects())}function LT(e,n){const a=K1(e).scrollLeft;return n?n.left+a:kc(qo(e)).left+a}function Wz(e){const n=qo(e),a=K1(e),s=e.ownerDocument.body,f=ii(n.scrollWidth,n.clientWidth,s.scrollWidth,s.clientWidth),p=ii(n.scrollHeight,n.clientHeight,s.scrollHeight,s.clientHeight);let d=-a.scrollLeft+LT(e);const g=-a.scrollTop;return lo(s).direction==="rtl"&&(d+=ii(n.clientWidth,s.clientWidth)-f),{width:f,height:p,x:d,y:g}}function qz(e,n){const a=ui(e),s=qo(e),f=a.visualViewport;let p=s.clientWidth,d=s.clientHeight,g=0,E=0;if(f){p=f.width,d=f.height;const b=fx();(!b||b&&n==="fixed")&&(g=f.offsetLeft,E=f.offsetTop)}return{width:p,height:d,x:g,y:E}}function Qz(e,n){const a=kc(e,!0,n==="fixed"),s=a.top+e.clientTop,f=a.left+e.clientLeft,p=Vo(e)?zf(e):rl(1),d=e.clientWidth*p.x,g=e.clientHeight*p.y,E=f*p.x,b=s*p.y;return{width:d,height:g,x:E,y:b}}function UA(e,n,a){let s;if(n==="viewport")s=qz(e,a);else if(n==="document")s=Wz(qo(e));else if(so(n))s=Qz(n,a);else{const f=sR(e);s={...n,x:n.x-f.x,y:n.y-f.y}}return I1(s)}function lR(e,n){const a=il(e);return a===n||!so(a)||qf(a)?!1:lo(a).position==="fixed"||lR(a,n)}function $z(e,n){const a=n.get(e);if(a)return a;let s=Pm(e,[],!1).filter(g=>so(g)&&nh(g)!=="body"),f=null;const p=lo(e).position==="fixed";let d=p?il(e):e;for(;so(d)&&!qf(d);){const g=lo(d),E=dx(d);!E&&g.position==="fixed"&&(f=null),(p?!E&&!f:!E&&g.position==="static"&&!!f&&["absolute","fixed"].includes(f.position)||qm(d)&&!E&&lR(e,d))?s=s.filter(C=>C!==d):f=g,d=il(d)}return n.set(e,s),s}function Gz(e){let{element:n,boundary:a,rootBoundary:s,strategy:f}=e;const d=[...a==="clippingAncestors"?X1(n)?[]:$z(n,this._c):[].concat(a),s],g=d[0],E=d.reduce((b,C)=>{const S=UA(n,C,f);return b.top=ii(S.top,b.top),b.right=nl(S.right,b.right),b.bottom=nl(S.bottom,b.bottom),b.left=ii(S.left,b.left),b},UA(n,g,f));return{width:E.right-E.left,height:E.bottom-E.top,x:E.left,y:E.top}}function Xz(e){const{width:n,height:a}=uR(e);return{width:n,height:a}}function Kz(e,n,a){const s=Vo(n),f=qo(n),p=a==="fixed",d=kc(e,!0,p,n);let g={scrollLeft:0,scrollTop:0};const E=rl(0);if(s||!s&&!p)if((nh(n)!=="body"||qm(f))&&(g=K1(n)),s){const A=kc(n,!0,p,n);E.x=A.x+n.clientLeft,E.y=A.y+n.clientTop}else f&&(E.x=LT(f));let b=0,C=0;if(f&&!s&&!p){const A=f.getBoundingClientRect();C=A.top+g.scrollTop,b=A.left+g.scrollLeft-LT(f,A)}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 nT(e){return lo(e).position==="static"}function BA(e,n){if(!Vo(e)||lo(e).position==="fixed")return null;if(n)return n(e);let a=e.offsetParent;return qo(e)===a&&(a=a.ownerDocument.body),a}function cR(e,n){const a=ui(e);if(X1(e))return a;if(!Vo(e)){let f=il(e);for(;f&&!qf(f);){if(so(f)&&!nT(f))return f;f=il(f)}return a}let s=BA(e,n);for(;s&&Bz(s)&&nT(s);)s=BA(s,n);return s&&qf(s)&&nT(s)&&!dx(s)?a:s||Hz(e)||a}const Zz=async function(e){const n=this.getOffsetParent||cR,a=this.getDimensions,s=await a(e.floating);return{reference:Kz(e.reference,await n(e.floating),e.strategy),floating:{x:0,y:0,width:s.width,height:s.height}}};function Jz(e){return lo(e).direction==="rtl"}const ej={convertOffsetParentRelativeRectToViewportRelativeRect:Vz,getDocumentElement:qo,getClippingRect:Gz,getOffsetParent:cR,getElementRects:Zz,getClientRects:Yz,getDimensions:Xz,getScale:zf,isElement:so,isRTL:Jz};function tj(e,n){let a=null,s;const f=qo(e);function p(){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),p();const{left:b,top:C,width:S,height:R}=e.getBoundingClientRect();if(g||n(),!S||!R)return;const A=c1(C),D=c1(f.clientWidth-(b+S)),L=c1(f.clientHeight-(C+R)),B=c1(b),G={rootMargin:-A+"px "+-D+"px "+-L+"px "+-B+"px",threshold:ii(0,nl(1,E))||1};let W=!0;function Z(J){const X=J[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(Z,{...G,root:f.ownerDocument})}catch{a=new IntersectionObserver(Z,G)}a.observe(e)}return d(!0),p}function nj(e,n,a,s){s===void 0&&(s={});const{ancestorScroll:f=!0,ancestorResize:p=!0,elementResize:d=typeof ResizeObserver=="function",layoutShift:g=typeof IntersectionObserver=="function",animationFrame:E=!1}=s,b=hx(e),C=f||p?[...b?Pm(b):[],...Pm(n)]:[];C.forEach(z=>{f&&z.addEventListener("scroll",a,{passive:!0}),p&&z.addEventListener("resize",a)});const S=b&&g?tj(b,a):null;let R=-1,A=null;d&&(A=new ResizeObserver(z=>{let[G]=z;G&&G.target===b&&A&&(A.unobserve(n),cancelAnimationFrame(R),R=requestAnimationFrame(()=>{var W;(W=A)==null||W.observe(n)})),a()}),b&&!E&&A.observe(b),A.observe(n));let D,L=E?kc(e):null;E&&B();function B(){const z=kc(e);L&&(z.x!==L.x||z.y!==L.y||z.width!==L.width||z.height!==L.height)&&a(),L=z,D=requestAnimationFrame(B)}return a(),()=>{var z;C.forEach(G=>{f&&G.removeEventListener("scroll",a),p&&G.removeEventListener("resize",a)}),S==null||S(),(z=A)==null||z.disconnect(),A=null,E&&cancelAnimationFrame(D)}}const rj=Mz,aj=Pz,ij=Oz,oj=Uz,uj=Lz,HA=Dz,sj=Fz,lj=(e,n,a)=>{const s=new Map,f={platform:ej,...a},p={...f.platform,_c:s};return Nz(e,n,{...f,platform:p})};var w1=typeof document<"u"?Dt.useLayoutEffect:Dt.useEffect;function M1(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(!M1(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 p=f[s];if(!(p==="_owner"&&e.$$typeof)&&!M1(e[p],n[p]))return!1}return!0}return e!==e&&n!==n}function dR(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function zA(e,n){const a=dR(e);return Math.round(n*a)/a}function rT(e){const n=ie.useRef(e);return w1(()=>{n.current=e}),n}function cj(e){e===void 0&&(e={});const{placement:n="bottom",strategy:a="absolute",middleware:s=[],platform:f,elements:{reference:p,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,A]=ie.useState(s);M1(R,s)||A(s);const[D,L]=ie.useState(null),[B,z]=ie.useState(null),G=ie.useCallback(pe=>{pe!==X.current&&(X.current=pe,L(pe))},[]),W=ie.useCallback(pe=>{pe!==ce.current&&(ce.current=pe,z(pe))},[]),Z=p||D,J=d||B,X=ie.useRef(null),ce=ie.useRef(null),Te=ie.useRef(C),Me=E!=null,K=rT(E),Ee=rT(f),ge=rT(b),Re=ie.useCallback(()=>{if(!X.current||!ce.current)return;const pe={placement:n,strategy:a,middleware:R};Ee.current&&(pe.platform=Ee.current),lj(X.current,ce.current,pe).then(De=>{const P={...De,isPositioned:ge.current!==!1};Oe.current&&!M1(Te.current,P)&&(Te.current=P,D1.flushSync(()=>{S(P)}))})},[R,n,a,Ee,ge]);w1(()=>{b===!1&&Te.current.isPositioned&&(Te.current.isPositioned=!1,S(pe=>({...pe,isPositioned:!1})))},[b]);const Oe=ie.useRef(!1);w1(()=>(Oe.current=!0,()=>{Oe.current=!1}),[]),w1(()=>{if(Z&&(X.current=Z),J&&(ce.current=J),Z&&J){if(K.current)return K.current(Z,J,Re);Re()}},[Z,J,Re,K,Me]);const qe=ie.useMemo(()=>({reference:X,floating:ce,setReference:G,setFloating:W}),[G,W]),je=ie.useMemo(()=>({reference:Z,floating:J}),[Z,J]),at=ie.useMemo(()=>{const pe={position:a,left:0,top:0};if(!je.floating)return pe;const De=zA(je.floating,C.x),P=zA(je.floating,C.y);return g?{...pe,transform:"translate("+De+"px, "+P+"px)",...dR(je.floating)>=1.5&&{willChange:"transform"}}:{position:a,left:De,top:P}},[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 dj=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?HA({element:s.current,padding:f}).fn(a):{}:s?HA({element:s,padding:f}).fn(a):{}}}},fj=(e,n)=>({...rj(e),options:[e,n]}),hj=(e,n)=>({...aj(e),options:[e,n]}),pj=(e,n)=>({...sj(e),options:[e,n]}),mj=(e,n)=>({...ij(e),options:[e,n]}),gj=(e,n)=>({...oj(e),options:[e,n]}),vj=(e,n)=>({...uj(e),options:[e,n]}),yj=(e,n)=>({...dj(e),options:[e,n]});var Ej="Arrow",fR=ie.forwardRef((e,n)=>{const{children:a,width:s=10,height:f=5,...p}=e;return U.jsx(ll.svg,{...p,ref:n,width:s,height:f,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?a:U.jsx("polygon",{points:"0,0 30,0 15,10"})})});fR.displayName=Ej;var bj=fR;function wj(e,n=[]){let a=[];function s(p,d){const g=ie.createContext(d),E=a.length;a=[...a,d];function b(S){const{scope:R,children:A,...D}=S,L=(R==null?void 0:R[e][E])||g,B=ie.useMemo(()=>D,Object.values(D));return U.jsx(L.Provider,{value:B,children:A})}function C(S,R){const A=(R==null?void 0:R[e][E])||g,D=ie.useContext(A);if(D)return D;if(d!==void 0)return d;throw new Error(`\`${S}\` must be used within \`${p}\``)}return b.displayName=p+"Provider",[b,C]}const f=()=>{const p=a.map(d=>ie.createContext(d));return function(g){const E=(g==null?void 0:g[e])||p;return ie.useMemo(()=>({[`__scope${e}`]:{...g,[e]:E}}),[g,E])}};return f.scopeName=e,[s,Tj(f,...n)]}function Tj(...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(p){const d=s.reduce((g,{useScope:E,scopeName:b})=>{const S=E(p)[`__scope${b}`];return{...g,...S}},{});return ie.useMemo(()=>({[`__scope${n.scopeName}`]:d}),[d])}};return a.scopeName=n.scopeName,a}function xj(e){const[n,a]=ie.useState(void 0);return Wf(()=>{if(e){a({width:e.offsetWidth,height:e.offsetHeight});const s=new ResizeObserver(f=>{if(!Array.isArray(f)||!f.length)return;const p=f[0];let d,g;if("borderBoxSize"in p){const E=p.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 px="Popper",[hR,pR]=wj(px),[Sj,mR]=hR(px),gR=e=>{const{__scopePopper:n,children:a}=e,[s,f]=ie.useState(null);return U.jsx(Sj,{scope:n,anchor:s,onAnchorChange:f,children:a})};gR.displayName=px;var vR="PopperAnchor",yR=ie.forwardRef((e,n)=>{const{__scopePopper:a,virtualRef:s,...f}=e,p=mR(vR,a),d=ie.useRef(null),g=sl(n,d);return ie.useEffect(()=>{p.onAnchorChange((s==null?void 0:s.current)||d.current)}),s?null:U.jsx(ll.div,{...f,ref:g})});yR.displayName=vR;var mx="PopperContent",[Cj,_j]=hR(mx),ER=ie.forwardRef((e,n)=>{var rr,dn,Rn,_r,Nn,Ur;const{__scopePopper:a,side:s="bottom",sideOffset:f=0,align:p="center",alignOffset:d=0,arrowPadding:g=0,avoidCollisions:E=!0,collisionBoundary:b=[],collisionPadding:C=0,sticky:S="partial",hideWhenDetached:R=!1,updatePositionStrategy:A="optimized",onPlaced:D,...L}=e,B=mR(mx,a),[z,G]=ie.useState(null),W=sl(n,an=>G(an)),[Z,J]=ie.useState(null),X=xj(Z),ce=(X==null?void 0:X.width)??0,Te=(X==null?void 0:X.height)??0,Me=s+(p!=="center"?"-"+p:""),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(kj),altBoundary:ge},{refs:Oe,floatingStyles:qe,placement:je,isPositioned:at,middlewareData:pe}=cj({strategy:"fixed",placement:Me,whileElementsMounted:(...an)=>nj(...an,{animationFrame:A==="always"}),elements:{reference:B.anchor},middleware:[fj({mainAxis:f+Te,alignmentAxis:d}),E&&hj({mainAxis:!0,crossAxis:!1,limiter:S==="partial"?pj():void 0,...Re}),E&&mj({...Re}),gj({...Re,apply:({elements:an,rects:Fn,availableWidth:ar,availableHeight:gr})=>{const{width:$n,height:ia}=Fn.reference,Br=an.floating.style;Br.setProperty("--radix-popper-available-width",`${ar}px`),Br.setProperty("--radix-popper-available-height",`${gr}px`),Br.setProperty("--radix-popper-anchor-width",`${$n}px`),Br.setProperty("--radix-popper-anchor-height",`${ia}px`)}}),Z&&yj({element:Z,padding:g}),Rj({arrowWidth:ce,arrowHeight:Te}),R&&vj({strategy:"referenceHidden",...Re})]}),[De,P]=TR(je),et=tl(D);Wf(()=>{at&&(et==null||et())},[at,et]);const Et=(rr=pe.arrow)==null?void 0:rr.x,V=(dn=pe.arrow)==null?void 0:dn.y,$t=((Rn=pe.arrow)==null?void 0:Rn.centerOffset)!==0,[Qn,kt]=ie.useState();return Wf(()=>{z&&kt(window.getComputedStyle(z).zIndex)},[z]),U.jsx("div",{ref:Oe.setFloating,"data-radix-popper-content-wrapper":"",style:{...qe,transform:at?qe.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:Qn,"--radix-popper-transform-origin":[(_r=pe.transformOrigin)==null?void 0:_r.x,(Nn=pe.transformOrigin)==null?void 0:Nn.y].join(" "),...((Ur=pe.hide)==null?void 0:Ur.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:U.jsx(Cj,{scope:a,placedSide:De,onArrowChange:J,arrowX:Et,arrowY:V,shouldHideArrow:$t,children:U.jsx(ll.div,{"data-side":De,"data-align":P,...L,ref:W,style:{...L.style,animation:at?void 0:"none"}})})})});ER.displayName=mx;var bR="PopperArrow",Aj={top:"bottom",right:"left",bottom:"top",left:"right"},wR=ie.forwardRef(function(n,a){const{__scopePopper:s,...f}=n,p=_j(bR,s),d=Aj[p.placedSide];return U.jsx("span",{ref:p.onArrowChange,style:{position:"absolute",left:p.arrowX,top:p.arrowY,[d]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[p.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[p.placedSide],visibility:p.shouldHideArrow?"hidden":void 0},children:U.jsx(bj,{...f,ref:a,style:{...f.style,display:"block"}})})});wR.displayName=bR;function kj(e){return e!==null}var Rj=e=>({name:"transformOrigin",options:e,fn(n){var B,z,G;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]=TR(a),S={start:"0%",center:"50%",end:"100%"}[C],R=(((z=f.arrow)==null?void 0:z.x)??0)+g/2,A=(((G=f.arrow)==null?void 0:G.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:`${A}px`):b==="left"&&(D=`${s.floating.width+E}px`,L=d?S:`${A}px`),{data:{x:D,y:L}}}});function TR(e){const[n,a="center"]=e.split("-");return[n,a]}var Nj=gR,xR=yR,Dj=ER,Oj=wR;function Lj(e,n){return ie.useReducer((a,s)=>n[a][s]??a,e)}var SR=e=>{const{present:n,children:a}=e,s=Ij(n),f=typeof a=="function"?a({present:s.isPresent}):ie.Children.only(a),p=sl(s.ref,Mj(f));return typeof a=="function"||s.isPresent?ie.cloneElement(f,{ref:p}):null};SR.displayName="Presence";function Ij(e){const[n,a]=ie.useState(),s=ie.useRef({}),f=ie.useRef(e),p=ie.useRef("none"),d=e?"mounted":"unmounted",[g,E]=Lj(d,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return ie.useEffect(()=>{const b=d1(s.current);p.current=g==="mounted"?b:"none"},[g]),Wf(()=>{const b=s.current,C=f.current;if(C!==e){const R=p.current,A=d1(b);e?E("MOUNT"):A==="none"||(b==null?void 0:b.display)==="none"?E("UNMOUNT"):E(C&&R!==A?"ANIMATION_OUT":"UNMOUNT"),f.current=e}},[e,E]),Wf(()=>{if(n){let b;const C=n.ownerDocument.defaultView??window,S=A=>{const L=d1(s.current).includes(A.animationName);if(A.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=A=>{A.target===n&&(p.current=d1(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 d1(e){return(e==null?void 0:e.animationName)||"none"}function Mj(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 Pj({prop:e,defaultProp:n,onChange:a=()=>{}}){const[s,f]=Fj({defaultProp:n,onChange:a}),p=e!==void 0,d=p?e:s,g=tl(a),E=ie.useCallback(b=>{if(p){const S=typeof b=="function"?b(e):b;S!==e&&g(S)}else f(b)},[p,e,f,g]);return[d,E]}function Fj({defaultProp:e,onChange:n}){const a=ie.useState(e),[s]=a,f=ie.useRef(s),p=tl(n);return ie.useEffect(()=>{f.current!==s&&(p(s),f.current=s)},[s,f,p]),a}var Uj=function(e){if(typeof document>"u")return null;var n=Array.isArray(e)?e[0]:e;return n.ownerDocument.body},If=new WeakMap,f1=new WeakMap,h1={},aT=0,CR=function(e){return e&&(e.host||CR(e.parentNode))},Bj=function(e,n){return n.map(function(a){if(e.contains(a))return a;var s=CR(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})},Hj=function(e,n,a,s){var f=Bj(n,Array.isArray(e)?e:[e]);h1[a]||(h1[a]=new WeakMap);var p=h1[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 A=R.getAttribute(s),D=A!==null&&A!=="false",L=(If.get(R)||0)+1,B=(p.get(R)||0)+1;If.set(R,L),p.set(R,B),d.push(R),L===1&&D&&f1.set(R,!0),B===1&&R.setAttribute(a,"true"),D||R.setAttribute(s,"true")}catch(z){console.error("aria-hidden: cannot operate on ",R,z)}})};return C(n),g.clear(),aT++,function(){d.forEach(function(S){var R=If.get(S)-1,A=p.get(S)-1;If.set(S,R),p.set(S,A),R||(f1.has(S)||S.removeAttribute(s),f1.delete(S)),A||S.removeAttribute(a)}),aT--,aT||(If=new WeakMap,If=new WeakMap,f1=new WeakMap,h1={})}},zj=function(e,n,a){a===void 0&&(a="data-aria-hidden");var s=Array.from(Array.isArray(e)?e:[e]),f=Uj(e);return f?(s.push.apply(s,Array.from(f.querySelectorAll("[aria-live]"))),Hj(s,f,a,"aria-hidden")):function(){return null}},T1="right-scroll-bar-position",x1="width-before-scroll-bar",jj="with-scroll-bars-hidden",Vj="--removed-body-scroll-bar-size";function iT(e,n){return typeof e=="function"?e(n):e&&(e.current=n),e}function Yj(e,n){var a=Dt.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 Wj=typeof window<"u"?ie.useLayoutEffect:ie.useEffect,jA=new WeakMap;function qj(e,n){var a=Yj(null,function(s){return e.forEach(function(f){return iT(f,s)})});return Wj(function(){var s=jA.get(a);if(s){var f=new Set(s),p=new Set(e),d=a.current;f.forEach(function(g){p.has(g)||iT(g,null)}),p.forEach(function(g){f.has(g)||iT(g,d)})}jA.set(a,e)},[e]),a}function Qj(e){return e}function $j(e,n){n===void 0&&(n=Qj);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(p){var d=n(p,s);return a.push(d),function(){a=a.filter(function(g){return g!==d})}},assignSyncMedium:function(p){for(s=!0;a.length;){var d=a;a=[],d.forEach(p)}a={push:function(g){return p(g)},filter:function(){return a}}},assignMedium:function(p){s=!0;var d=[];if(a.length){var g=a;a=[],g.forEach(p),d=a}var E=function(){var C=d;d=[],C.forEach(p)},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 Gj(e){e===void 0&&(e={});var n=$j(null);return n.options=vt.__assign({async:!0,ssr:!1},e),n}var _R=function(e){var n=e.sideCar,a=vt.__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,vt.__assign({},a))};_R.isSideCarExport=!0;function Xj(e,n){return e.useMedium(n),_R}var AR=Gj(),oT=function(){},Z1=ie.forwardRef(function(e,n){var a=ie.useRef(null),s=ie.useState({onScrollCapture:oT,onWheelCapture:oT,onTouchMoveCapture:oT}),f=s[0],p=s[1],d=e.forwardProps,g=e.children,E=e.className,b=e.removeScrollBar,C=e.enabled,S=e.shards,R=e.sideCar,A=e.noIsolation,D=e.inert,L=e.allowPinchZoom,B=e.as,z=B===void 0?"div":B,G=e.gapMode,W=vt.__rest(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),Z=R,J=qj([a,n]),X=vt.__assign(vt.__assign({},W),f);return ie.createElement(ie.Fragment,null,C&&ie.createElement(Z,{sideCar:AR,removeScrollBar:b,shards:S,noIsolation:A,inert:D,setCallbacks:p,allowPinchZoom:!!L,lockRef:a,gapMode:G}),d?ie.cloneElement(ie.Children.only(g),vt.__assign(vt.__assign({},X),{ref:J})):ie.createElement(z,vt.__assign({},X,{className:E,ref:J}),g))});Z1.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};Z1.classNames={fullWidth:x1,zeroRight:T1};var Kj=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function Zj(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var n=Kj();return n&&e.setAttribute("nonce",n),e}function Jj(e,n){e.styleSheet?e.styleSheet.cssText=n:e.appendChild(document.createTextNode(n))}function eV(e){var n=document.head||document.getElementsByTagName("head")[0];n.appendChild(e)}var tV=function(){var e=0,n=null;return{add:function(a){e==0&&(n=Zj())&&(Jj(n,a),eV(n)),e++},remove:function(){e--,!e&&n&&(n.parentNode&&n.parentNode.removeChild(n),n=null)}}},nV=function(){var e=tV();return function(n,a){ie.useEffect(function(){return e.add(n),function(){e.remove()}},[n&&a])}},kR=function(){var e=nV(),n=function(a){var s=a.styles,f=a.dynamic;return e(s,f),null};return n},rV={left:0,top:0,right:0,gap:0},uT=function(e){return parseInt(e||"",10)||0},aV=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[uT(a),uT(s),uT(f)]},iV=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return rV;var n=aV(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])}},oV=kR(),jf="data-scroll-locked",uV=function(e,n,a,s){var f=e.left,p=e.top,d=e.right,g=e.gap;return a===void 0&&(a="margin"),`
|
|
203
|
+
.`.concat(jj,` {
|
|
204
204
|
overflow: hidden `).concat(s,`;
|
|
205
205
|
padding-right: `).concat(g,"px ").concat(s,`;
|
|
206
206
|
}
|
|
@@ -234,12 +234,12 @@ You might need to use a local HTTP server (instead of file://): https://reactjs.
|
|
|
234
234
|
}
|
|
235
235
|
|
|
236
236
|
body[`).concat(jf,`] {
|
|
237
|
-
`).concat(
|
|
237
|
+
`).concat(Vj,": ").concat(g,`px;
|
|
238
238
|
}
|
|
239
|
-
`)},VA=function(){var e=parseInt(document.body.getAttribute(jf)||"0",10);return isFinite(e)?e:0},
|
|
239
|
+
`)},VA=function(){var e=parseInt(document.body.getAttribute(jf)||"0",10);return isFinite(e)?e:0},sV=function(){ie.useEffect(function(){return document.body.setAttribute(jf,(VA()+1).toString()),function(){var e=VA()-1;e<=0?document.body.removeAttribute(jf):document.body.setAttribute(jf,e.toString())}},[])},lV=function(e){var n=e.noRelative,a=e.noImportant,s=e.gapMode,f=s===void 0?"margin":s;sV();var p=ie.useMemo(function(){return iV(f)},[f]);return ie.createElement(oV,{styles:uV(p,!n,f,a?"":"!important")})},IT=!1;if(typeof window<"u")try{var p1=Object.defineProperty({},"passive",{get:function(){return IT=!0,!0}});window.addEventListener("test",p1,p1),window.removeEventListener("test",p1,p1)}catch{IT=!1}var Mf=IT?{passive:!1}:!1,cV=function(e){return e.tagName==="TEXTAREA"},RR=function(e,n){if(!(e instanceof Element))return!1;var a=window.getComputedStyle(e);return a[n]!=="hidden"&&!(a.overflowY===a.overflowX&&!cV(e)&&a[n]==="visible")},dV=function(e){return RR(e,"overflowY")},fV=function(e){return RR(e,"overflowX")},YA=function(e,n){var a=n.ownerDocument,s=n;do{typeof ShadowRoot<"u"&&s instanceof ShadowRoot&&(s=s.host);var f=NR(e,s);if(f){var p=DR(e,s),d=p[1],g=p[2];if(d>g)return!0}s=s.parentNode}while(s&&s!==a.body);return!1},hV=function(e){var n=e.scrollTop,a=e.scrollHeight,s=e.clientHeight;return[n,a,s]},pV=function(e){var n=e.scrollLeft,a=e.scrollWidth,s=e.clientWidth;return[n,a,s]},NR=function(e,n){return e==="v"?dV(n):fV(n)},DR=function(e,n){return e==="v"?hV(n):pV(n)},mV=function(e,n){return e==="h"&&n==="rtl"?-1:1},gV=function(e,n,a,s,f){var p=mV(e,window.getComputedStyle(n).direction),d=p*s,g=a.target,E=n.contains(g),b=!1,C=d>0,S=0,R=0;do{var A=DR(e,g),D=A[0],L=A[1],B=A[2],z=L-B-p*D;(D||z)&&NR(e,g)&&(S+=z,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},m1=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},WA=function(e){return[e.deltaX,e.deltaY]},qA=function(e){return e&&"current"in e?e.current:e},vV=function(e,n){return e[0]===n[0]&&e[1]===n[1]},yV=function(e){return`
|
|
240
240
|
.block-interactivity-`.concat(e,` {pointer-events: none;}
|
|
241
241
|
.allow-interactivity-`).concat(e,` {pointer-events: all;}
|
|
242
|
-
`)},bV=0,Pf=[];function wV(e){var n=ie.useRef([]),a=ie.useRef([0,0]),s=ie.useRef(),f=ie.useState(bV++)[0],p=ie.useState(kR)[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=yt.__spreadArray([e.lockRef.current],(e.shards||[]).map(qA),!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 z=m1(L),G=a.current,W="deltaX"in L?L.deltaX:G[0]-z[0],Z="deltaY"in L?L.deltaY:G[1]-z[1],J,X=L.target,ce=Math.abs(W)>Math.abs(Z)?"h":"v";if("touches"in L&&ce==="h"&&X.type==="range")return!1;var Te=YA(ce,X);if(!Te)return!0;if(Te?J=ce:(J=ce==="v"?"h":"v",Te=YA(ce,X)),!Te)return!1;if(!s.current&&"changedTouches"in L&&(W||Z)&&(s.current=J),!J)return!0;var Me=s.current||J;return vV(Me,B,L,Me==="h"?W:Z,!0)},[]),E=ie.useCallback(function(L){var B=L;if(!(!Pf.length||Pf[Pf.length-1]!==p)){var z="deltaY"in B?WA(B):m1(B),G=n.current.filter(function(J){return J.name===B.type&&(J.target===B.target||B.target===J.shadowParent)&&yV(J.delta,z)})[0];if(G&&G.should){B.cancelable&&B.preventDefault();return}if(!G){var W=(d.current.shards||[]).map(qA).filter(Boolean).filter(function(J){return J.contains(B.target)}),Z=W.length>0?g(B,W[0]):!d.current.noIsolation;Z&&B.cancelable&&B.preventDefault()}}},[]),b=ie.useCallback(function(L,B,z,G){var W={name:L,delta:B,target:z,should:G,shadowParent:TV(z)};n.current.push(W),setTimeout(function(){n.current=n.current.filter(function(Z){return Z!==W})},1)},[]),C=ie.useCallback(function(L){a.current=m1(L),s.current=void 0},[]),S=ie.useCallback(function(L){b(L.type,WA(L),L.target,g(L,e.lockRef.current))},[]),R=ie.useCallback(function(L){b(L.type,m1(L),L.target,g(L,e.lockRef.current))},[]);ie.useEffect(function(){return Pf.push(p),e.setCallbacks({onScrollCapture:S,onWheelCapture:S,onTouchMoveCapture:R}),document.addEventListener("wheel",E,Mf),document.addEventListener("touchmove",E,Mf),document.addEventListener("touchstart",C,Mf),function(){Pf=Pf.filter(function(L){return L!==p}),document.removeEventListener("wheel",E,Mf),document.removeEventListener("touchmove",E,Mf),document.removeEventListener("touchstart",C,Mf)}},[]);var A=e.removeScrollBar,D=e.inert;return ie.createElement(ie.Fragment,null,D?ie.createElement(p,{styles:EV(f)}):null,A?ie.createElement(cV,{gapMode:e.gapMode}):null)}function TV(e){for(var n=null;e!==null;)e instanceof ShadowRoot&&(n=e.host,e=e.host),e=e.parentNode;return n}const xV=Kj(AR,wV);var OR=ie.forwardRef(function(e,n){return ie.createElement(Z1,yt.__assign({},e,{ref:n,sideCar:xV}))});OR.classNames=Z1.classNames;var gx="Popover",[LR,qV]=XH(gx,[pR]),Qm=pR(),[SV,Dc]=LR(gx),IR=e=>{const{__scopePopover:n,children:a,open:s,defaultOpen:f,onOpenChange:p,modal:d=!1}=e,g=Qm(n),E=ie.useRef(null),[b,C]=ie.useState(!1),[S=!1,R]=Fj({prop:s,defaultProp:f,onChange:p});return U.jsx(Dj,{...g,children:U.jsx(SV,{scope:n,contentId:Tz(),triggerRef:E,open:S,onOpenChange:R,onOpenToggle:ie.useCallback(()=>R(A=>!A),[R]),hasCustomAnchor:b,onCustomAnchorAdd:ie.useCallback(()=>C(!0),[]),onCustomAnchorRemove:ie.useCallback(()=>C(!1),[]),modal:d,children:a})})};IR.displayName=gx;var MR="PopoverAnchor",CV=ie.forwardRef((e,n)=>{const{__scopePopover:a,...s}=e,f=Dc(MR,a),p=Qm(a),{onCustomAnchorAdd:d,onCustomAnchorRemove:g}=f;return ie.useEffect(()=>(d(),()=>g()),[d,g]),U.jsx(xR,{...p,...s,ref:n})});CV.displayName=MR;var PR="PopoverTrigger",FR=ie.forwardRef((e,n)=>{const{__scopePopover:a,...s}=e,f=Dc(PR,a),p=Qm(a),d=sl(n,f.triggerRef),g=U.jsx(ll.button,{type:"button","aria-haspopup":"dialog","aria-expanded":f.open,"aria-controls":f.contentId,"data-state":zR(f.open),...s,ref:d,onClick:el(e.onClick,f.onOpenToggle)});return f.hasCustomAnchor?g:U.jsx(xR,{asChild:!0,...p,children:g})});FR.displayName=PR;var _V="PopoverPortal",[QV,AV]=LR(_V,{forceMount:void 0}),Qf="PopoverContent",UR=ie.forwardRef((e,n)=>{const a=AV(Qf,e.__scopePopover),{forceMount:s=a.forceMount,...f}=e,p=Dc(Qf,e.__scopePopover);return U.jsx(SR,{present:s||p.open,children:p.modal?U.jsx(kV,{...f,ref:n}):U.jsx(RV,{...f,ref:n})})});UR.displayName=Qf;var kV=ie.forwardRef((e,n)=>{const a=Dc(Qf,e.__scopePopover),s=ie.useRef(null),f=sl(n,s),p=ie.useRef(!1);return ie.useEffect(()=>{const d=s.current;if(d)return jj(d)},[]),U.jsx(OR,{as:PT.Slot,allowPinchZoom:!0,children:U.jsx(BR,{...e,ref:f,trapFocus:a.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:el(e.onCloseAutoFocus,d=>{var g;d.preventDefault(),p.current||(g=a.triggerRef.current)==null||g.focus()}),onPointerDownOutside:el(e.onPointerDownOutside,d=>{const g=d.detail.originalEvent,E=g.button===0&&g.ctrlKey===!0,b=g.button===2||E;p.current=b},{checkForDefaultPrevented:!1}),onFocusOutside:el(e.onFocusOutside,d=>d.preventDefault(),{checkForDefaultPrevented:!1})})})}),RV=ie.forwardRef((e,n)=>{const a=Dc(Qf,e.__scopePopover),s=ie.useRef(!1),f=ie.useRef(!1);return U.jsx(BR,{...e,ref:n,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:p=>{var d,g;(d=e.onCloseAutoFocus)==null||d.call(e,p),p.defaultPrevented||(s.current||(g=a.triggerRef.current)==null||g.focus(),p.preventDefault()),s.current=!1,f.current=!1},onInteractOutside:p=>{var E,b;(E=e.onInteractOutside)==null||E.call(e,p),p.defaultPrevented||(s.current=!0,p.detail.originalEvent.type==="pointerdown"&&(f.current=!0));const d=p.target;((b=a.triggerRef.current)==null?void 0:b.contains(d))&&p.preventDefault(),p.detail.originalEvent.type==="focusin"&&f.current&&p.preventDefault()}})}),BR=ie.forwardRef((e,n)=>{const{__scopePopover:a,trapFocus:s,onOpenAutoFocus:f,onCloseAutoFocus:p,disableOutsidePointerEvents:d,onEscapeKeyDown:g,onPointerDownOutside:E,onFocusOutside:b,onInteractOutside:C,...S}=e,R=Dc(Qf,a),A=Qm(a);return fz(),U.jsx(nR,{asChild:!0,loop:!0,trapped:s,onMountAutoFocus:f,onUnmountAutoFocus:p,children:U.jsx(eR,{asChild:!0,disableOutsidePointerEvents:d,onInteractOutside:C,onEscapeKeyDown:g,onPointerDownOutside:E,onFocusOutside:b,onDismiss:()=>R.onOpenChange(!1),children:U.jsx(Oj,{"data-state":zR(R.open),role:"dialog",id:R.contentId,...A,...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)"}})})})}),HR="PopoverClose",NV=ie.forwardRef((e,n)=>{const{__scopePopover:a,...s}=e,f=Dc(HR,a);return U.jsx(ll.button,{type:"button",...s,ref:n,onClick:el(e.onClick,()=>f.onOpenChange(!1))})});NV.displayName=HR;var DV="PopoverArrow",OV=ie.forwardRef((e,n)=>{const{__scopePopover:a,...s}=e,f=Qm(a);return U.jsx(Lj,{...f,...s,ref:n})});OV.displayName=DV;function zR(e){return e?"open":"closed"}var LV=IR,IV=UR;function MT(){return MT=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},MT.apply(null,arguments)}function MV(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 jR,VR;typeof document<"u"&&(jR=document);typeof window<"u"&&(VR=window);var PV=Dt.createContext({document:jR,window:VR}),FV=["children","head","initialContent","src","mountTarget"],YR=Dt.forwardRef((e,n)=>{var{children:a,head:s,initialContent:f,src:p,mountTarget:d}=e,g=MV(e,FV),[E,b]=Dt.useState(!1),[C,S]=Dt.useState(),R=Z=>{Z&&S(Z)};Dt.useImperativeHandle(n,()=>C,[C]);var A=f||"<!DOCTYPE html><html><head></head><body></body></html>",D=()=>C?C.contentDocument:null,L=()=>{var Z=D();return d?Z==null?void 0:Z.querySelector(d):Z==null?void 0:Z.body},B=Dt.useRef(),z=Dt.useCallback(Z=>{B.current=Z;var J=()=>setInterval(()=>z(Z),500);clearInterval(J()),E||b(!0)},[E]);Dt.useMemo(()=>{!p&&g.onLoad&&E&&g.onLoad(B.current)},[E]),Dt.useEffect(()=>{if(C&&!p){var Z;(Z=C.contentWindow)==null||Z.addEventListener("DOMContentLoaded",z)}return()=>{if(C&&!p){var J;(J=C.contentWindow)==null||J.removeEventListener("DOMContentLoaded",z)}}},[C,z]);var G=()=>{var Z,J=D(),X=(Z=D())==null?void 0:Z.head,ce=L(),Te=(J==null?void 0:J.defaultView)||(J==null?void 0:J.parentView),Me=U.jsx(PV.Provider,{value:{document:J,window:Te},children:a});return[X&&s&&D1.createPortal(s,X),C&&ce&&D1.createPortal(Me,ce)]},W={};return p?(delete W.srcDoc,W.src=p,W.onLoad=g.onLoad):W.srcDoc=A,U.jsx("iframe",MT({title:g.title,ref:R},g,{onLoad:z},W,{children:E&&G()}))});YR.displayName="IFrame";const WR='@import"https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..700;1,14..32,100..700&display=swap";[data-chat-widget] *,[data-chat-widget] :before,[data-chat-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-chat-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-chat-widget] *,[data-chat-widget] :before,[data-chat-widget] :after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}[data-chat-widget] :before,[data-chat-widget] :after{--tw-content: ""}[data-chat-widget] html,[data-chat-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-chat-widget] body{margin:0;line-height:inherit}[data-chat-widget] hr{height:0;color:inherit;border-top-width:1px}[data-chat-widget] abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}[data-chat-widget] h1,[data-chat-widget] h2,[data-chat-widget] h3,[data-chat-widget] h4,[data-chat-widget] h5,[data-chat-widget] h6{font-size:inherit;font-weight:inherit}[data-chat-widget] a{color:inherit;text-decoration:inherit}[data-chat-widget] b,[data-chat-widget] strong{font-weight:bolder}[data-chat-widget] code,[data-chat-widget] kbd,[data-chat-widget] samp,[data-chat-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-chat-widget] small{font-size:80%}[data-chat-widget] sub,[data-chat-widget] sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}[data-chat-widget] sub{bottom:-.25em}[data-chat-widget] sup{top:-.5em}[data-chat-widget] table{text-indent:0;border-color:inherit;border-collapse:collapse}[data-chat-widget] button,[data-chat-widget] input,[data-chat-widget] optgroup,[data-chat-widget] select,[data-chat-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-chat-widget] button,[data-chat-widget] select{text-transform:none}[data-chat-widget] button,[data-chat-widget] input:where([type=button]),[data-chat-widget] input:where([type=reset]),[data-chat-widget] input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}[data-chat-widget] :-moz-focusring{outline:auto}[data-chat-widget] :-moz-ui-invalid{box-shadow:none}[data-chat-widget] progress{vertical-align:baseline}[data-chat-widget] ::-webkit-inner-spin-button,[data-chat-widget] ::-webkit-outer-spin-button{height:auto}[data-chat-widget] [type=search]{-webkit-appearance:textfield;outline-offset:-2px}[data-chat-widget] ::-webkit-search-decoration{-webkit-appearance:none}[data-chat-widget] ::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}[data-chat-widget] summary{display:list-item}[data-chat-widget] blockquote,[data-chat-widget] dl,[data-chat-widget] dd,[data-chat-widget] h1,[data-chat-widget] h2,[data-chat-widget] h3,[data-chat-widget] h4,[data-chat-widget] h5,[data-chat-widget] h6,[data-chat-widget] hr,[data-chat-widget] figure,[data-chat-widget] p,[data-chat-widget] pre{margin:0}[data-chat-widget] fieldset{margin:0;padding:0}[data-chat-widget] legend{padding:0}[data-chat-widget] ol,[data-chat-widget] ul,[data-chat-widget] menu{list-style:none;margin:0;padding:0}[data-chat-widget] dialog{padding:0}[data-chat-widget] textarea{resize:vertical}[data-chat-widget] input::-moz-placeholder,[data-chat-widget] textarea::-moz-placeholder{opacity:1;color:#9ca3af}[data-chat-widget] input::placeholder,[data-chat-widget] textarea::placeholder{opacity:1;color:#9ca3af}[data-chat-widget] button,[data-chat-widget] [role=button]{cursor:pointer}[data-chat-widget] :disabled{cursor:default}[data-chat-widget] img,[data-chat-widget] svg,[data-chat-widget] video,[data-chat-widget] canvas,[data-chat-widget] audio,[data-chat-widget] iframe,[data-chat-widget] embed,[data-chat-widget] object{display:block;vertical-align:middle}[data-chat-widget] img,[data-chat-widget] video{max-width:100%;height:auto}[data-chat-widget] [hidden]:where(:not([hidden=until-found])){display:none}[data-chat-widget] *{-ms-overflow-style:none;scrollbar-width:none}[data-chat-widget] *::-webkit-scrollbar{display:none}[data-chat-widget] *{border-color:hsl(var(--opencx-border))}[data-chat-widget] .container{width:100%}@media (min-width: 640px){[data-chat-widget] .container{max-width:640px}}@media (min-width: 768px){[data-chat-widget] .container{max-width:768px}}@media (min-width: 1024px){[data-chat-widget] .container{max-width:1024px}}@media (min-width: 1280px){[data-chat-widget] .container{max-width:1280px}}@media (min-width: 1536px){[data-chat-widget] .container{max-width:1536px}}[data-chat-widget] .prose{color:var(--tw-prose-body);max-width:65ch}[data-chat-widget] .prose :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}[data-chat-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-chat-widget] .prose :where(a):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-links);text-decoration:underline;font-weight:500}[data-chat-widget] .prose :where(strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-bold);font-weight:600}[data-chat-widget] .prose :where(a strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}[data-chat-widget] .prose :where(blockquote strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}[data-chat-widget] .prose :where(thead th strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}[data-chat-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-chat-widget] .prose :where(ol[type=A]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}[data-chat-widget] .prose :where(ol[type=a]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}[data-chat-widget] .prose :where(ol[type=A s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}[data-chat-widget] .prose :where(ol[type=a s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}[data-chat-widget] .prose :where(ol[type=I]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}[data-chat-widget] .prose :where(ol[type=i]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}[data-chat-widget] .prose :where(ol[type=I s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}[data-chat-widget] .prose :where(ol[type=i s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}[data-chat-widget] .prose :where(ol[type="1"]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal}[data-chat-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-chat-widget] .prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{font-weight:400;color:var(--tw-prose-counters)}[data-chat-widget] .prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{color:var(--tw-prose-bullets)}[data-chat-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-chat-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-chat-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-chat-widget] .prose :where(blockquote p:first-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:open-quote}[data-chat-widget] .prose :where(blockquote p:last-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:close-quote}[data-chat-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-chat-widget] .prose :where(h1 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:900;color:inherit}[data-chat-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-chat-widget] .prose :where(h2 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:800;color:inherit}[data-chat-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-chat-widget] .prose :where(h3 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}[data-chat-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-chat-widget] .prose :where(h4 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}[data-chat-widget] .prose :where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}[data-chat-widget] .prose :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){display:block;margin-top:2em;margin-bottom:2em}[data-chat-widget] .prose :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}[data-chat-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-chat-widget] .prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-code);font-weight:600;font-size:.875em}[data-chat-widget] .prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:"`"}[data-chat-widget] .prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:"`"}[data-chat-widget] .prose :where(a code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}[data-chat-widget] .prose :where(h1 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}[data-chat-widget] .prose :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.875em}[data-chat-widget] .prose :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.9em}[data-chat-widget] .prose :where(h4 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}[data-chat-widget] .prose :where(blockquote code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}[data-chat-widget] .prose :where(thead th code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}[data-chat-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-chat-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-chat-widget] .prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:none}[data-chat-widget] .prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:none}[data-chat-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-chat-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-chat-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-chat-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-chat-widget] .prose :where(tbody tr:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:0}[data-chat-widget] .prose :where(tbody td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:baseline}[data-chat-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-chat-widget] .prose :where(tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:top}[data-chat-widget] .prose :where(th,td):not(:where([class~=not-prose],[class~=not-prose] *)){text-align:start}[data-chat-widget] .prose :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}[data-chat-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-chat-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-chat-widget] .prose :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}[data-chat-widget] .prose :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;margin-bottom:.5em}[data-chat-widget] .prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.375em}[data-chat-widget] .prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.375em}[data-chat-widget] .prose :where(.prose>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}[data-chat-widget] .prose :where(.prose>ul>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}[data-chat-widget] .prose :where(.prose>ul>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}[data-chat-widget] .prose :where(.prose>ol>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}[data-chat-widget] .prose :where(.prose>ol>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}[data-chat-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-chat-widget] .prose :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}[data-chat-widget] .prose :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;padding-inline-start:1.625em}[data-chat-widget] .prose :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}[data-chat-widget] .prose :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}[data-chat-widget] .prose :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}[data-chat-widget] .prose :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}[data-chat-widget] .prose :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}[data-chat-widget] .prose :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}[data-chat-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-chat-widget] .prose :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}[data-chat-widget] .prose :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}[data-chat-widget] .prose :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}[data-chat-widget] .prose :where(.prose>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}[data-chat-widget] .prose :where(.prose>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}[data-chat-widget] .prose-sm{font-size:.875rem;line-height:1.7142857}[data-chat-widget] .prose-sm :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em}[data-chat-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-chat-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-chat-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-chat-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-chat-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-chat-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-chat-widget] .prose-sm :where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}[data-chat-widget] .prose-sm :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}[data-chat-widget] .prose-sm :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}[data-chat-widget] .prose-sm :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}[data-chat-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-chat-widget] .prose-sm :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em}[data-chat-widget] .prose-sm :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.9em}[data-chat-widget] .prose-sm :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8888889em}[data-chat-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-chat-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-chat-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-chat-widget] .prose-sm :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.2857143em;margin-bottom:.2857143em}[data-chat-widget] .prose-sm :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.4285714em}[data-chat-widget] .prose-sm :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.4285714em}[data-chat-widget] .prose-sm :where(.prose-sm>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5714286em;margin-bottom:.5714286em}[data-chat-widget] .prose-sm :where(.prose-sm>ul>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em}[data-chat-widget] .prose-sm :where(.prose-sm>ul>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.1428571em}[data-chat-widget] .prose-sm :where(.prose-sm>ol>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em}[data-chat-widget] .prose-sm :where(.prose-sm>ol>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.1428571em}[data-chat-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-chat-widget] .prose-sm :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em}[data-chat-widget] .prose-sm :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em}[data-chat-widget] .prose-sm :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.2857143em;padding-inline-start:1.5714286em}[data-chat-widget] .prose-sm :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2.8571429em;margin-bottom:2.8571429em}[data-chat-widget] .prose-sm :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}[data-chat-widget] .prose-sm :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}[data-chat-widget] .prose-sm :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}[data-chat-widget] .prose-sm :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}[data-chat-widget] .prose-sm :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;line-height:1.5}[data-chat-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-chat-widget] .prose-sm :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}[data-chat-widget] .prose-sm :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}[data-chat-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-chat-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-chat-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-chat-widget] .prose-sm :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}[data-chat-widget] .prose-sm :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}[data-chat-widget] .prose-sm :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;line-height:1.3333333;margin-top:.6666667em}[data-chat-widget] .prose-sm :where(.prose-sm>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}[data-chat-widget] .prose-sm :where(.prose-sm>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}[data-chat-widget] .prose-slate{--tw-prose-body: #334155;--tw-prose-headings: #0f172a;--tw-prose-lead: #475569;--tw-prose-links: #0f172a;--tw-prose-bold: #0f172a;--tw-prose-counters: #64748b;--tw-prose-bullets: #cbd5e1;--tw-prose-hr: #e2e8f0;--tw-prose-quotes: #0f172a;--tw-prose-quote-borders: #e2e8f0;--tw-prose-captions: #64748b;--tw-prose-kbd: #0f172a;--tw-prose-kbd-shadows: 15 23 42;--tw-prose-code: #0f172a;--tw-prose-pre-code: #e2e8f0;--tw-prose-pre-bg: #1e293b;--tw-prose-th-borders: #cbd5e1;--tw-prose-td-borders: #e2e8f0;--tw-prose-invert-body: #cbd5e1;--tw-prose-invert-headings: #fff;--tw-prose-invert-lead: #94a3b8;--tw-prose-invert-links: #fff;--tw-prose-invert-bold: #fff;--tw-prose-invert-counters: #94a3b8;--tw-prose-invert-bullets: #475569;--tw-prose-invert-hr: #334155;--tw-prose-invert-quotes: #f1f5f9;--tw-prose-invert-quote-borders: #334155;--tw-prose-invert-captions: #94a3b8;--tw-prose-invert-kbd: #fff;--tw-prose-invert-kbd-shadows: 255 255 255;--tw-prose-invert-code: #fff;--tw-prose-invert-pre-code: #cbd5e1;--tw-prose-invert-pre-bg: rgb(0 0 0 / 50%);--tw-prose-invert-th-borders: #475569;--tw-prose-invert-td-borders: #334155}[data-chat-widget] .pointer-events-none{pointer-events:none}[data-chat-widget] .visible{visibility:visible}[data-chat-widget] .fixed{position:fixed}[data-chat-widget] .absolute{position:absolute}[data-chat-widget] .relative{position:relative}[data-chat-widget] .inset-0{top:0;right:0;bottom:0;left:0}[data-chat-widget] .inset-x-0{left:0;right:0}[data-chat-widget] .bottom-0{bottom:0}[data-chat-widget] .bottom-2{bottom:.5rem}[data-chat-widget] .left-0{left:0}[data-chat-widget] .left-1\\/2{left:50%}[data-chat-widget] .left-2{left:.5rem}[data-chat-widget] .right-0{right:0}[data-chat-widget] .top-1\\/2{top:50%}[data-chat-widget] .isolate{isolation:isolate}[data-chat-widget] .z-0{z-index:0}[data-chat-widget] .z-10{z-index:10}[data-chat-widget] .z-50{z-index:50}[data-chat-widget] .z-\\[24\\]{z-index:24}[data-chat-widget] .z-\\[25\\]{z-index:25}[data-chat-widget] .-mx-1{margin-left:-.25rem;margin-right:-.25rem}[data-chat-widget] .my-1{margin-top:.25rem;margin-bottom:.25rem}[data-chat-widget] .my-2{margin-top:.5rem;margin-bottom:.5rem}[data-chat-widget] .mb-1{margin-bottom:.25rem}[data-chat-widget] .mb-2{margin-bottom:.5rem}[data-chat-widget] .ml-auto{margin-left:auto}[data-chat-widget] .mt-1{margin-top:.25rem}[data-chat-widget] .mt-2{margin-top:.5rem}[data-chat-widget] .line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}[data-chat-widget] .block{display:block}[data-chat-widget] .inline{display:inline}[data-chat-widget] .flex{display:flex}[data-chat-widget] .inline-flex{display:inline-flex}[data-chat-widget] .contents{display:contents}[data-chat-widget] .hidden{display:none}[data-chat-widget] .aspect-square{aspect-ratio:1 / 1}[data-chat-widget] .size-12{width:3rem;height:3rem}[data-chat-widget] .size-16{width:4rem;height:4rem}[data-chat-widget] .size-3{width:.75rem;height:.75rem}[data-chat-widget] .size-3\\.5{width:.875rem;height:.875rem}[data-chat-widget] .size-4{width:1rem;height:1rem}[data-chat-widget] .size-6{width:1.5rem;height:1.5rem}[data-chat-widget] .size-7{width:1.75rem;height:1.75rem}[data-chat-widget] .size-8{width:2rem;height:2rem}[data-chat-widget] .size-fit{width:-moz-fit-content;width:fit-content;height:-moz-fit-content;height:fit-content}[data-chat-widget] .size-full{width:100%;height:100%}[data-chat-widget] .h-10{height:2.5rem}[data-chat-widget] .h-11{height:2.75rem}[data-chat-widget] .h-2{height:.5rem}[data-chat-widget] .h-3\\.5{height:.875rem}[data-chat-widget] .h-4{height:1rem}[data-chat-widget] .h-5{height:1.25rem}[data-chat-widget] .h-8{height:2rem}[data-chat-widget] .h-\\[600px\\]{height:600px}[data-chat-widget] .h-fit{height:-moz-fit-content;height:fit-content}[data-chat-widget] .h-full{height:100%}[data-chat-widget] .h-px{height:1px}[data-chat-widget] .max-h-\\[600px\\]{max-height:600px}[data-chat-widget] .max-h-full{max-height:100%}[data-chat-widget] .min-h-\\[400px\\]{min-height:400px}[data-chat-widget] .w-10{width:2.5rem}[data-chat-widget] .w-2{width:.5rem}[data-chat-widget] .w-2\\/3{width:66.666667%}[data-chat-widget] .w-3\\.5{width:.875rem}[data-chat-widget] .w-4{width:1rem}[data-chat-widget] .w-60{width:15rem}[data-chat-widget] .w-9{width:2.25rem}[data-chat-widget] .w-\\[calc\\(100\\%-1rem\\)\\]{width:calc(100% - 1rem)}[data-chat-widget] .w-auto{width:auto}[data-chat-widget] .w-fit{width:-moz-fit-content;width:fit-content}[data-chat-widget] .w-full{width:100%}[data-chat-widget] .min-w-56{min-width:14rem}[data-chat-widget] .min-w-\\[80\\%\\]{min-width:80%}[data-chat-widget] .min-w-\\[8rem\\]{min-width:8rem}[data-chat-widget] .min-w-fit{min-width:-moz-fit-content;min-width:fit-content}[data-chat-widget] .max-w-\\[320px\\]{max-width:320px}[data-chat-widget] .max-w-\\[85\\%\\]{max-width:85%}[data-chat-widget] .max-w-full{max-width:100%}[data-chat-widget] .max-w-xs{max-width:20rem}[data-chat-widget] .flex-1{flex:1 1 0%}[data-chat-widget] .shrink-0{flex-shrink:0}[data-chat-widget] .origin-bottom{transform-origin:bottom}[data-chat-widget] .-translate-x-1\\/2{--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-chat-widget] .-translate-y-1\\/2{--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-chat-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-chat-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-chat-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-chat-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-chat-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-chat-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-chat-widget] .animate-bounce{animation:bounce 1s infinite}@keyframes pulse{50%{opacity:.5}}[data-chat-widget] .animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes spin{to{transform:rotate(360deg)}}[data-chat-widget] .animate-spin{animation:spin 1s linear infinite}[data-chat-widget] .cursor-default{cursor:default}[data-chat-widget] .cursor-not-allowed{cursor:not-allowed}[data-chat-widget] .cursor-pointer{cursor:pointer}[data-chat-widget] .select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}[data-chat-widget] .resize-none{resize:none}[data-chat-widget] .flex-row{flex-direction:row}[data-chat-widget] .flex-col{flex-direction:column}[data-chat-widget] .flex-wrap{flex-wrap:wrap}[data-chat-widget] .items-start{align-items:flex-start}[data-chat-widget] .items-end{align-items:flex-end}[data-chat-widget] .items-center{align-items:center}[data-chat-widget] .justify-start{justify-content:flex-start}[data-chat-widget] .justify-end{justify-content:flex-end}[data-chat-widget] .justify-center{justify-content:center}[data-chat-widget] .justify-between{justify-content:space-between}[data-chat-widget] .gap-0\\.5{gap:.125rem}[data-chat-widget] .gap-1{gap:.25rem}[data-chat-widget] .gap-2{gap:.5rem}[data-chat-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-chat-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-chat-widget] .space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem * var(--tw-space-y-reverse))}[data-chat-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-chat-widget] .self-end{align-self:flex-end}[data-chat-widget] .overflow-auto{overflow:auto}[data-chat-widget] .overflow-hidden{overflow:hidden}[data-chat-widget] .scroll-smooth{scroll-behavior:smooth}[data-chat-widget] .whitespace-nowrap{white-space:nowrap}[data-chat-widget] .rounded-2xl{border-radius:1rem}[data-chat-widget] .rounded-3xl{border-radius:1.5rem}[data-chat-widget] .rounded-full{border-radius:9999px}[data-chat-widget] .rounded-lg{border-radius:.5rem}[data-chat-widget] .rounded-md{border-radius:.375rem}[data-chat-widget] .rounded-sm{border-radius:.125rem}[data-chat-widget] .rounded-xl{border-radius:.75rem}[data-chat-widget] .rounded-bl-none{border-bottom-left-radius:0}[data-chat-widget] .border{border-width:1px}[data-chat-widget] .border-0{border-width:0px}[data-chat-widget] .border-2{border-width:2px}[data-chat-widget] .border-b{border-bottom-width:1px}[data-chat-widget] .border-destructive{border-color:hsl(var(--opencx-destructive))}[data-chat-widget] .border-input{border-color:hsl(var(--opencx-input))}[data-chat-widget] .border-primary{border-color:hsl(var(--opencx-primary))}[data-chat-widget] .border-transparent{border-color:transparent}[data-chat-widget] .bg-background{background-color:hsl(var(--opencx-background))}[data-chat-widget] .bg-black{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity))}[data-chat-widget] .bg-black\\/50{background-color:#00000080}[data-chat-widget] .bg-destructive{background-color:hsl(var(--opencx-destructive))}[data-chat-widget] .bg-muted{background-color:hsl(var(--opencx-muted))}[data-chat-widget] .bg-primary{background-color:hsl(var(--opencx-primary))}[data-chat-widget] .bg-secondary{background-color:hsl(var(--opencx-secondary))}[data-chat-widget] .bg-transparent{background-color:transparent}[data-chat-widget] .bg-zinc-100{--tw-bg-opacity: 1;background-color:rgb(244 244 245 / var(--tw-bg-opacity))}[data-chat-widget] .bg-gradient-to-t{background-image:linear-gradient(to top,var(--tw-gradient-stops))}[data-chat-widget] .from-gray-100\\/30{--tw-gradient-from: rgb(243 244 246 / .3) var(--tw-gradient-from-position);--tw-gradient-to: rgb(243 244 246 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}[data-chat-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-chat-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-chat-widget] .to-gray-50\\/30{--tw-gradient-to: rgb(249 250 251 / .3) var(--tw-gradient-to-position)}[data-chat-widget] .to-primary{--tw-gradient-to: hsl(var(--opencx-primary)) var(--tw-gradient-to-position)}[data-chat-widget] .fill-current{fill:currentColor}[data-chat-widget] .object-contain{-o-object-fit:contain;object-fit:contain}[data-chat-widget] .object-cover{-o-object-fit:cover;object-fit:cover}[data-chat-widget] .p-0{padding:0}[data-chat-widget] .p-1{padding:.25rem}[data-chat-widget] .p-2{padding:.5rem}[data-chat-widget] .p-2\\.5{padding:.625rem}[data-chat-widget] .p-3{padding:.75rem}[data-chat-widget] .p-4{padding:1rem}[data-chat-widget] .px-2{padding-left:.5rem;padding-right:.5rem}[data-chat-widget] .px-3{padding-left:.75rem;padding-right:.75rem}[data-chat-widget] .px-4{padding-left:1rem;padding-right:1rem}[data-chat-widget] .px-8{padding-left:2rem;padding-right:2rem}[data-chat-widget] .py-1\\.5{padding-top:.375rem;padding-bottom:.375rem}[data-chat-widget] .py-12{padding-top:3rem;padding-bottom:3rem}[data-chat-widget] .py-2{padding-top:.5rem;padding-bottom:.5rem}[data-chat-widget] .py-3{padding-top:.75rem;padding-bottom:.75rem}[data-chat-widget] .py-4{padding-top:1rem;padding-bottom:1rem}[data-chat-widget] .pl-2{padding-left:.5rem}[data-chat-widget] .pl-3{padding-left:.75rem}[data-chat-widget] .pl-8{padding-left:2rem}[data-chat-widget] .pr-2{padding-right:.5rem}[data-chat-widget] .text-center{text-align:center}[data-chat-widget] .text-start{text-align:start}[data-chat-widget] .align-middle{vertical-align:middle}[data-chat-widget] .font-inter{font-family:Inter,sans-serif}[data-chat-widget] .text-2xl{font-size:1.5rem;line-height:2rem}[data-chat-widget] .text-\\[10px\\]{font-size:10px}[data-chat-widget] .text-sm{font-size:.875rem;line-height:1.25rem}[data-chat-widget] .text-xl{font-size:1.25rem;line-height:1.75rem}[data-chat-widget] .text-xs{font-size:.75rem;line-height:1rem}[data-chat-widget] .font-bold{font-weight:700}[data-chat-widget] .font-medium{font-weight:500}[data-chat-widget] .font-semibold{font-weight:600}[data-chat-widget] .leading-relaxed{line-height:1.625}[data-chat-widget] .leading-snug{line-height:1.375}[data-chat-widget] .leading-tight{line-height:1.25}[data-chat-widget] .tracking-widest{letter-spacing:.1em}[data-chat-widget] .text-blue-500{--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity))}[data-chat-widget] .text-destructive{color:hsl(var(--opencx-destructive))}[data-chat-widget] .text-destructive-foreground{color:hsl(var(--opencx-destructive-foreground))}[data-chat-widget] .text-emerald-500{--tw-text-opacity: 1;color:rgb(16 185 129 / var(--tw-text-opacity))}[data-chat-widget] .text-foreground{color:hsl(var(--opencx-foreground))}[data-chat-widget] .text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}[data-chat-widget] .text-green-500{--tw-text-opacity: 1;color:rgb(34 197 94 / var(--tw-text-opacity))}[data-chat-widget] .text-muted-foreground{color:hsl(var(--opencx-muted-foreground))}[data-chat-widget] .text-primary{color:hsl(var(--opencx-primary))}[data-chat-widget] .text-primary-foreground{color:hsl(var(--opencx-primary-foreground))}[data-chat-widget] .text-primary-foreground\\/90{color:hsl(var(--opencx-primary-foreground) / .9)}[data-chat-widget] .text-red-500{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity))}[data-chat-widget] .text-rose-500{--tw-text-opacity: 1;color:rgb(244 63 94 / var(--tw-text-opacity))}[data-chat-widget] .text-secondary-foreground{color:hsl(var(--opencx-secondary-foreground))}[data-chat-widget] .text-zinc-500{--tw-text-opacity: 1;color:rgb(113 113 122 / var(--tw-text-opacity))}[data-chat-widget] .text-zinc-600{--tw-text-opacity: 1;color:rgb(82 82 91 / var(--tw-text-opacity))}[data-chat-widget] .underline{text-decoration-line:underline}[data-chat-widget] .underline-offset-4{text-underline-offset:4px}[data-chat-widget] .antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}[data-chat-widget] .opacity-0{opacity:0}[data-chat-widget] .opacity-50{opacity:.5}[data-chat-widget] .opacity-60{opacity:.6}[data-chat-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-chat-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-chat-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-chat-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-chat-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-chat-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-chat-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-chat-widget] .outline-none{outline:2px solid transparent;outline-offset:2px}[data-chat-widget] .outline{outline-style:solid}[data-chat-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-chat-widget] .ring-2{--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-chat-widget] .ring-white{--tw-ring-opacity: 1;--tw-ring-color: rgb(255 255 255 / var(--tw-ring-opacity))}[data-chat-widget] .ring-offset-background{--tw-ring-offset-color: hsl(var(--opencx-background))}[data-chat-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-chat-widget] .backdrop-blur-sm{--tw-backdrop-blur: blur(4px);-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-chat-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-chat-widget] .transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}[data-chat-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-chat-widget] .transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}[data-chat-widget] .transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}[data-chat-widget] .duration-200{transition-duration:.2s}[data-chat-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-chat-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-chat-widget] .fade-in-0{--tw-enter-opacity: 0}[data-chat-widget] .zoom-in-95{--tw-enter-scale: .95}[data-chat-widget] .duration-200{animation-duration:.2s}[data-chat-widget] .ease-out{animation-timing-function:cubic-bezier(0,0,.2,1)}[data-chat-widget] .paused{animation-play-state:paused}[data-chat-widget] .\\[animation-delay\\:-0\\.15s\\]{animation-delay:-.15s}[data-chat-widget] .\\[animation-delay\\:-0\\.3s\\]{animation-delay:-.3s}[data-chat-widget] .\\[background\\:radial-gradient\\(68\\.75\\%_68\\.75\\%_at_50\\%_100\\%\\,_\\#717171_0\\%\\,_\\#000000_100\\%\\)\\]{background:radial-gradient(68.75% 68.75% at 50% 100%,#717171,#000)}[data-chat-widget] .required:after{content:" *";color:red}[data-chat-widget] .file\\:border-0::file-selector-button{border-width:0px}[data-chat-widget] .file\\:bg-transparent::file-selector-button{background-color:transparent}[data-chat-widget] .file\\:text-sm::file-selector-button{font-size:.875rem;line-height:1.25rem}[data-chat-widget] .file\\:font-medium::file-selector-button{font-weight:500}[data-chat-widget] .file\\:text-primary-foreground::file-selector-button{color:hsl(var(--opencx-primary-foreground))}[data-chat-widget] .placeholder\\:text-muted-foreground::-moz-placeholder{color:hsl(var(--opencx-muted-foreground))}[data-chat-widget] .placeholder\\:text-muted-foreground::placeholder{color:hsl(var(--opencx-muted-foreground))}[data-chat-widget] .hover\\:bg-accent:hover{background-color:hsl(var(--opencx-accent))}[data-chat-widget] .hover\\:bg-green-50\\/50:hover{background-color:#f0fdf480}[data-chat-widget] .hover\\:bg-red-50\\/50:hover{background-color:#fef2f280}[data-chat-widget] .hover\\:text-accent-foreground:hover{color:hsl(var(--opencx-accent-foreground))}[data-chat-widget] .hover\\:text-blue-600:hover{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity))}[data-chat-widget] .hover\\:text-green-500:hover{--tw-text-opacity: 1;color:rgb(34 197 94 / var(--tw-text-opacity))}[data-chat-widget] .hover\\:text-primary:hover{color:hsl(var(--opencx-primary))}[data-chat-widget] .hover\\:text-red-500:hover{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity))}[data-chat-widget] .hover\\:underline:hover{text-decoration-line:underline}[data-chat-widget] .focus\\:bg-accent:focus{background-color:hsl(var(--opencx-accent))}[data-chat-widget] .focus\\:text-accent-foreground:focus{color:hsl(var(--opencx-accent-foreground))}[data-chat-widget] .focus-visible\\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}[data-chat-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-chat-widget] .focus-visible\\:ring-ring:focus-visible{--tw-ring-color: hsl(var(--opencx-ring))}[data-chat-widget] .focus-visible\\:ring-offset-2:focus-visible{--tw-ring-offset-width: 2px}[data-chat-widget] .focus-visible\\:ring-offset-background:focus-visible{--tw-ring-offset-color: hsl(var(--opencx-background))}[data-chat-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-chat-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-chat-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-chat-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-chat-widget] .disabled\\:pointer-events-none:disabled{pointer-events:none}[data-chat-widget] .disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}[data-chat-widget] .disabled\\:opacity-0:disabled{opacity:0}[data-chat-widget] .disabled\\:opacity-50:disabled{opacity:.5}[data-chat-widget] .group:hover .group-hover\\:opacity-100{opacity:1}[data-chat-widget] .group:hover .group-hover\\:active\\:scale-90:active,[data-chat-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-chat-widget] .data-\\[disabled\\]\\:pointer-events-none[data-disabled]{pointer-events:none}[data-chat-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-chat-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-chat-widget] .data-\\[state\\=checked\\]\\:bg-primary[data-state=checked]{background-color:hsl(var(--opencx-primary))}[data-chat-widget] .data-\\[state\\=open\\]\\:bg-accent[data-state=open]{background-color:hsl(var(--opencx-accent))}[data-chat-widget] .data-\\[state\\=unchecked\\]\\:bg-input[data-state=unchecked]{background-color:hsl(var(--opencx-input))}[data-chat-widget] .data-\\[disabled\\]\\:opacity-50[data-disabled]{opacity:.5}[data-chat-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-chat-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-chat-widget] .data-\\[state\\=closed\\]\\:fade-out-0[data-state=closed]{--tw-exit-opacity: 0}[data-chat-widget] .data-\\[state\\=open\\]\\:fade-in-0[data-state=open]{--tw-enter-opacity: 0}[data-chat-widget] .data-\\[state\\=closed\\]\\:zoom-out-95[data-state=closed]{--tw-exit-scale: .95}[data-chat-widget] .data-\\[state\\=open\\]\\:zoom-in-95[data-state=open]{--tw-enter-scale: .95}[data-chat-widget] .data-\\[side\\=bottom\\]\\:slide-in-from-top-2[data-side=bottom]{--tw-enter-translate-y: -.5rem}[data-chat-widget] .data-\\[side\\=left\\]\\:slide-in-from-right-2[data-side=left]{--tw-enter-translate-x: .5rem}[data-chat-widget] .data-\\[side\\=right\\]\\:slide-in-from-left-2[data-side=right]{--tw-enter-translate-x: -.5rem}[data-chat-widget] .data-\\[side\\=top\\]\\:slide-in-from-bottom-2[data-side=top]{--tw-enter-translate-y: .5rem}[data-chat-widget] .prose-a\\:underline :is(:where(a):not(:where([class~=not-prose],[class~=not-prose] *))){text-decoration-line:underline}[data-chat-widget] .prose-a\\:decoration-primary :is(:where(a):not(:where([class~=not-prose],[class~=not-prose] *))){text-decoration-color:hsl(var(--opencx-primary))}[data-chat-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-chat-widget] .\\[\\&_span\\]\\:size-1 span{width:.25rem;height:.25rem}[data-chat-widget] .\\[\\&_span\\]\\:bg-secondary-foreground span{background-color:hsl(var(--opencx-secondary-foreground))}[data-chat-widget] .\\[\\&_svg\\]\\:pointer-events-none svg{pointer-events:none}[data-chat-widget] .\\[\\&_svg\\]\\:size-4 svg{width:1rem;height:1rem}[data-chat-widget] .\\[\\&_svg\\]\\:size-6 svg{width:1.5rem;height:1.5rem}[data-chat-widget] .\\[\\&_svg\\]\\:shrink-0 svg{flex-shrink:0}';function UV({className:e}){return U.jsx("svg",{width:"26",height:"32",viewBox:"0 0 26 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:Lt("text-primary-foreground",e),children:U.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 BV({isOpen:e}){const{theme:n}=yt.useConfigData();return U.jsx(FR,{"data-chat-widget":!0,style:{fontSize:"16px",position:"fixed",zIndex:1e7,...$3({primary:n.primaryColor},{triggerOffset:n.triggerOffset}),right:n.triggerOffset,bottom:n.triggerOffset},className:Lt("size-12 font-inter flex items-center justify-center"),children:U.jsx(Wm,{children:U.jsx("div",{className:Lt("relative size-full rounded-full","flex items-center justify-center","transition-all","[background:radial-gradient(68.75%_68.75%_at_50%_100%,_#717171_0%,_#000000_100%)]","text-primary-foreground","shadow-xl","active:scale-90","[&_svg]:size-6"),children:U.jsx(Sr.AnimatePresence,{mode:"wait",children:e?U.jsx(oi,{snapExit:!0,fadeIn:"up",overrides:{initial:{rotate:45},animate:{rotate:0}},children:U.jsx(cn.XIcon,{})},"x-icon"):U.jsx(oi,{snapExit:!0,overrides:{initial:{rotate:45},animate:{rotate:0}},children:U.jsx(UV,{})},"message-icon")})})})})}const HV=`<!DOCTYPE html>
|
|
242
|
+
`)},EV=0,Pf=[];function bV(e){var n=ie.useRef([]),a=ie.useRef([0,0]),s=ie.useRef(),f=ie.useState(EV++)[0],p=ie.useState(kR)[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=vt.__spreadArray([e.lockRef.current],(e.shards||[]).map(qA),!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 z=m1(L),G=a.current,W="deltaX"in L?L.deltaX:G[0]-z[0],Z="deltaY"in L?L.deltaY:G[1]-z[1],J,X=L.target,ce=Math.abs(W)>Math.abs(Z)?"h":"v";if("touches"in L&&ce==="h"&&X.type==="range")return!1;var Te=YA(ce,X);if(!Te)return!0;if(Te?J=ce:(J=ce==="v"?"h":"v",Te=YA(ce,X)),!Te)return!1;if(!s.current&&"changedTouches"in L&&(W||Z)&&(s.current=J),!J)return!0;var Me=s.current||J;return gV(Me,B,L,Me==="h"?W:Z,!0)},[]),E=ie.useCallback(function(L){var B=L;if(!(!Pf.length||Pf[Pf.length-1]!==p)){var z="deltaY"in B?WA(B):m1(B),G=n.current.filter(function(J){return J.name===B.type&&(J.target===B.target||B.target===J.shadowParent)&&vV(J.delta,z)})[0];if(G&&G.should){B.cancelable&&B.preventDefault();return}if(!G){var W=(d.current.shards||[]).map(qA).filter(Boolean).filter(function(J){return J.contains(B.target)}),Z=W.length>0?g(B,W[0]):!d.current.noIsolation;Z&&B.cancelable&&B.preventDefault()}}},[]),b=ie.useCallback(function(L,B,z,G){var W={name:L,delta:B,target:z,should:G,shadowParent:wV(z)};n.current.push(W),setTimeout(function(){n.current=n.current.filter(function(Z){return Z!==W})},1)},[]),C=ie.useCallback(function(L){a.current=m1(L),s.current=void 0},[]),S=ie.useCallback(function(L){b(L.type,WA(L),L.target,g(L,e.lockRef.current))},[]),R=ie.useCallback(function(L){b(L.type,m1(L),L.target,g(L,e.lockRef.current))},[]);ie.useEffect(function(){return Pf.push(p),e.setCallbacks({onScrollCapture:S,onWheelCapture:S,onTouchMoveCapture:R}),document.addEventListener("wheel",E,Mf),document.addEventListener("touchmove",E,Mf),document.addEventListener("touchstart",C,Mf),function(){Pf=Pf.filter(function(L){return L!==p}),document.removeEventListener("wheel",E,Mf),document.removeEventListener("touchmove",E,Mf),document.removeEventListener("touchstart",C,Mf)}},[]);var A=e.removeScrollBar,D=e.inert;return ie.createElement(ie.Fragment,null,D?ie.createElement(p,{styles:yV(f)}):null,A?ie.createElement(lV,{gapMode:e.gapMode}):null)}function wV(e){for(var n=null;e!==null;)e instanceof ShadowRoot&&(n=e.host,e=e.host),e=e.parentNode;return n}const TV=Xj(AR,bV);var OR=ie.forwardRef(function(e,n){return ie.createElement(Z1,vt.__assign({},e,{ref:n,sideCar:TV}))});OR.classNames=Z1.classNames;var gx="Popover",[LR,WV]=GH(gx,[pR]),Qm=pR(),[xV,Dc]=LR(gx),IR=e=>{const{__scopePopover:n,children:a,open:s,defaultOpen:f,onOpenChange:p,modal:d=!1}=e,g=Qm(n),E=ie.useRef(null),[b,C]=ie.useState(!1),[S=!1,R]=Pj({prop:s,defaultProp:f,onChange:p});return U.jsx(Nj,{...g,children:U.jsx(xV,{scope:n,contentId:wz(),triggerRef:E,open:S,onOpenChange:R,onOpenToggle:ie.useCallback(()=>R(A=>!A),[R]),hasCustomAnchor:b,onCustomAnchorAdd:ie.useCallback(()=>C(!0),[]),onCustomAnchorRemove:ie.useCallback(()=>C(!1),[]),modal:d,children:a})})};IR.displayName=gx;var MR="PopoverAnchor",SV=ie.forwardRef((e,n)=>{const{__scopePopover:a,...s}=e,f=Dc(MR,a),p=Qm(a),{onCustomAnchorAdd:d,onCustomAnchorRemove:g}=f;return ie.useEffect(()=>(d(),()=>g()),[d,g]),U.jsx(xR,{...p,...s,ref:n})});SV.displayName=MR;var PR="PopoverTrigger",FR=ie.forwardRef((e,n)=>{const{__scopePopover:a,...s}=e,f=Dc(PR,a),p=Qm(a),d=sl(n,f.triggerRef),g=U.jsx(ll.button,{type:"button","aria-haspopup":"dialog","aria-expanded":f.open,"aria-controls":f.contentId,"data-state":zR(f.open),...s,ref:d,onClick:el(e.onClick,f.onOpenToggle)});return f.hasCustomAnchor?g:U.jsx(xR,{asChild:!0,...p,children:g})});FR.displayName=PR;var CV="PopoverPortal",[qV,_V]=LR(CV,{forceMount:void 0}),Qf="PopoverContent",UR=ie.forwardRef((e,n)=>{const a=_V(Qf,e.__scopePopover),{forceMount:s=a.forceMount,...f}=e,p=Dc(Qf,e.__scopePopover);return U.jsx(SR,{present:s||p.open,children:p.modal?U.jsx(AV,{...f,ref:n}):U.jsx(kV,{...f,ref:n})})});UR.displayName=Qf;var AV=ie.forwardRef((e,n)=>{const a=Dc(Qf,e.__scopePopover),s=ie.useRef(null),f=sl(n,s),p=ie.useRef(!1);return ie.useEffect(()=>{const d=s.current;if(d)return zj(d)},[]),U.jsx(OR,{as:PT.Slot,allowPinchZoom:!0,children:U.jsx(BR,{...e,ref:f,trapFocus:a.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:el(e.onCloseAutoFocus,d=>{var g;d.preventDefault(),p.current||(g=a.triggerRef.current)==null||g.focus()}),onPointerDownOutside:el(e.onPointerDownOutside,d=>{const g=d.detail.originalEvent,E=g.button===0&&g.ctrlKey===!0,b=g.button===2||E;p.current=b},{checkForDefaultPrevented:!1}),onFocusOutside:el(e.onFocusOutside,d=>d.preventDefault(),{checkForDefaultPrevented:!1})})})}),kV=ie.forwardRef((e,n)=>{const a=Dc(Qf,e.__scopePopover),s=ie.useRef(!1),f=ie.useRef(!1);return U.jsx(BR,{...e,ref:n,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:p=>{var d,g;(d=e.onCloseAutoFocus)==null||d.call(e,p),p.defaultPrevented||(s.current||(g=a.triggerRef.current)==null||g.focus(),p.preventDefault()),s.current=!1,f.current=!1},onInteractOutside:p=>{var E,b;(E=e.onInteractOutside)==null||E.call(e,p),p.defaultPrevented||(s.current=!0,p.detail.originalEvent.type==="pointerdown"&&(f.current=!0));const d=p.target;((b=a.triggerRef.current)==null?void 0:b.contains(d))&&p.preventDefault(),p.detail.originalEvent.type==="focusin"&&f.current&&p.preventDefault()}})}),BR=ie.forwardRef((e,n)=>{const{__scopePopover:a,trapFocus:s,onOpenAutoFocus:f,onCloseAutoFocus:p,disableOutsidePointerEvents:d,onEscapeKeyDown:g,onPointerDownOutside:E,onFocusOutside:b,onInteractOutside:C,...S}=e,R=Dc(Qf,a),A=Qm(a);return dz(),U.jsx(nR,{asChild:!0,loop:!0,trapped:s,onMountAutoFocus:f,onUnmountAutoFocus:p,children:U.jsx(eR,{asChild:!0,disableOutsidePointerEvents:d,onInteractOutside:C,onEscapeKeyDown:g,onPointerDownOutside:E,onFocusOutside:b,onDismiss:()=>R.onOpenChange(!1),children:U.jsx(Dj,{"data-state":zR(R.open),role:"dialog",id:R.contentId,...A,...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)"}})})})}),HR="PopoverClose",RV=ie.forwardRef((e,n)=>{const{__scopePopover:a,...s}=e,f=Dc(HR,a);return U.jsx(ll.button,{type:"button",...s,ref:n,onClick:el(e.onClick,()=>f.onOpenChange(!1))})});RV.displayName=HR;var NV="PopoverArrow",DV=ie.forwardRef((e,n)=>{const{__scopePopover:a,...s}=e,f=Qm(a);return U.jsx(Oj,{...f,...s,ref:n})});DV.displayName=NV;function zR(e){return e?"open":"closed"}var OV=IR,LV=UR;function MT(){return MT=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},MT.apply(null,arguments)}function IV(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 jR,VR;typeof document<"u"&&(jR=document);typeof window<"u"&&(VR=window);var MV=Dt.createContext({document:jR,window:VR}),PV=["children","head","initialContent","src","mountTarget"],YR=Dt.forwardRef((e,n)=>{var{children:a,head:s,initialContent:f,src:p,mountTarget:d}=e,g=IV(e,PV),[E,b]=Dt.useState(!1),[C,S]=Dt.useState(),R=Z=>{Z&&S(Z)};Dt.useImperativeHandle(n,()=>C,[C]);var A=f||"<!DOCTYPE html><html><head></head><body></body></html>",D=()=>C?C.contentDocument:null,L=()=>{var Z=D();return d?Z==null?void 0:Z.querySelector(d):Z==null?void 0:Z.body},B=Dt.useRef(),z=Dt.useCallback(Z=>{B.current=Z;var J=()=>setInterval(()=>z(Z),500);clearInterval(J()),E||b(!0)},[E]);Dt.useMemo(()=>{!p&&g.onLoad&&E&&g.onLoad(B.current)},[E]),Dt.useEffect(()=>{if(C&&!p){var Z;(Z=C.contentWindow)==null||Z.addEventListener("DOMContentLoaded",z)}return()=>{if(C&&!p){var J;(J=C.contentWindow)==null||J.removeEventListener("DOMContentLoaded",z)}}},[C,z]);var G=()=>{var Z,J=D(),X=(Z=D())==null?void 0:Z.head,ce=L(),Te=(J==null?void 0:J.defaultView)||(J==null?void 0:J.parentView),Me=U.jsx(MV.Provider,{value:{document:J,window:Te},children:a});return[X&&s&&D1.createPortal(s,X),C&&ce&&D1.createPortal(Me,ce)]},W={};return p?(delete W.srcDoc,W.src=p,W.onLoad=g.onLoad):W.srcDoc=A,U.jsx("iframe",MT({title:g.title,ref:R},g,{onLoad:z},W,{children:E&&G()}))});YR.displayName="IFrame";const WR='@import"https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..700;1,14..32,100..700&display=swap";[data-chat-widget] *,[data-chat-widget] :before,[data-chat-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-chat-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-chat-widget] *,[data-chat-widget] :before,[data-chat-widget] :after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}[data-chat-widget] :before,[data-chat-widget] :after{--tw-content: ""}[data-chat-widget] html,[data-chat-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-chat-widget] body{margin:0;line-height:inherit}[data-chat-widget] hr{height:0;color:inherit;border-top-width:1px}[data-chat-widget] abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}[data-chat-widget] h1,[data-chat-widget] h2,[data-chat-widget] h3,[data-chat-widget] h4,[data-chat-widget] h5,[data-chat-widget] h6{font-size:inherit;font-weight:inherit}[data-chat-widget] a{color:inherit;text-decoration:inherit}[data-chat-widget] b,[data-chat-widget] strong{font-weight:bolder}[data-chat-widget] code,[data-chat-widget] kbd,[data-chat-widget] samp,[data-chat-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-chat-widget] small{font-size:80%}[data-chat-widget] sub,[data-chat-widget] sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}[data-chat-widget] sub{bottom:-.25em}[data-chat-widget] sup{top:-.5em}[data-chat-widget] table{text-indent:0;border-color:inherit;border-collapse:collapse}[data-chat-widget] button,[data-chat-widget] input,[data-chat-widget] optgroup,[data-chat-widget] select,[data-chat-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-chat-widget] button,[data-chat-widget] select{text-transform:none}[data-chat-widget] button,[data-chat-widget] input:where([type=button]),[data-chat-widget] input:where([type=reset]),[data-chat-widget] input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}[data-chat-widget] :-moz-focusring{outline:auto}[data-chat-widget] :-moz-ui-invalid{box-shadow:none}[data-chat-widget] progress{vertical-align:baseline}[data-chat-widget] ::-webkit-inner-spin-button,[data-chat-widget] ::-webkit-outer-spin-button{height:auto}[data-chat-widget] [type=search]{-webkit-appearance:textfield;outline-offset:-2px}[data-chat-widget] ::-webkit-search-decoration{-webkit-appearance:none}[data-chat-widget] ::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}[data-chat-widget] summary{display:list-item}[data-chat-widget] blockquote,[data-chat-widget] dl,[data-chat-widget] dd,[data-chat-widget] h1,[data-chat-widget] h2,[data-chat-widget] h3,[data-chat-widget] h4,[data-chat-widget] h5,[data-chat-widget] h6,[data-chat-widget] hr,[data-chat-widget] figure,[data-chat-widget] p,[data-chat-widget] pre{margin:0}[data-chat-widget] fieldset{margin:0;padding:0}[data-chat-widget] legend{padding:0}[data-chat-widget] ol,[data-chat-widget] ul,[data-chat-widget] menu{list-style:none;margin:0;padding:0}[data-chat-widget] dialog{padding:0}[data-chat-widget] textarea{resize:vertical}[data-chat-widget] input::-moz-placeholder,[data-chat-widget] textarea::-moz-placeholder{opacity:1;color:#9ca3af}[data-chat-widget] input::placeholder,[data-chat-widget] textarea::placeholder{opacity:1;color:#9ca3af}[data-chat-widget] button,[data-chat-widget] [role=button]{cursor:pointer}[data-chat-widget] :disabled{cursor:default}[data-chat-widget] img,[data-chat-widget] svg,[data-chat-widget] video,[data-chat-widget] canvas,[data-chat-widget] audio,[data-chat-widget] iframe,[data-chat-widget] embed,[data-chat-widget] object{display:block;vertical-align:middle}[data-chat-widget] img,[data-chat-widget] video{max-width:100%;height:auto}[data-chat-widget] [hidden]:where(:not([hidden=until-found])){display:none}[data-chat-widget] *{-ms-overflow-style:none;scrollbar-width:none}[data-chat-widget] *::-webkit-scrollbar{display:none}[data-chat-widget] *{border-color:hsl(var(--opencx-border))}[data-chat-widget] .container{width:100%}@media (min-width: 640px){[data-chat-widget] .container{max-width:640px}}@media (min-width: 768px){[data-chat-widget] .container{max-width:768px}}@media (min-width: 1024px){[data-chat-widget] .container{max-width:1024px}}@media (min-width: 1280px){[data-chat-widget] .container{max-width:1280px}}@media (min-width: 1536px){[data-chat-widget] .container{max-width:1536px}}[data-chat-widget] .prose{color:var(--tw-prose-body);max-width:65ch}[data-chat-widget] .prose :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}[data-chat-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-chat-widget] .prose :where(a):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-links);text-decoration:underline;font-weight:500}[data-chat-widget] .prose :where(strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-bold);font-weight:600}[data-chat-widget] .prose :where(a strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}[data-chat-widget] .prose :where(blockquote strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}[data-chat-widget] .prose :where(thead th strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}[data-chat-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-chat-widget] .prose :where(ol[type=A]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}[data-chat-widget] .prose :where(ol[type=a]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}[data-chat-widget] .prose :where(ol[type=A s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}[data-chat-widget] .prose :where(ol[type=a s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}[data-chat-widget] .prose :where(ol[type=I]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}[data-chat-widget] .prose :where(ol[type=i]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}[data-chat-widget] .prose :where(ol[type=I s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}[data-chat-widget] .prose :where(ol[type=i s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}[data-chat-widget] .prose :where(ol[type="1"]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal}[data-chat-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-chat-widget] .prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{font-weight:400;color:var(--tw-prose-counters)}[data-chat-widget] .prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{color:var(--tw-prose-bullets)}[data-chat-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-chat-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-chat-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-chat-widget] .prose :where(blockquote p:first-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:open-quote}[data-chat-widget] .prose :where(blockquote p:last-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:close-quote}[data-chat-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-chat-widget] .prose :where(h1 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:900;color:inherit}[data-chat-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-chat-widget] .prose :where(h2 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:800;color:inherit}[data-chat-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-chat-widget] .prose :where(h3 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}[data-chat-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-chat-widget] .prose :where(h4 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}[data-chat-widget] .prose :where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}[data-chat-widget] .prose :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){display:block;margin-top:2em;margin-bottom:2em}[data-chat-widget] .prose :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}[data-chat-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-chat-widget] .prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-code);font-weight:600;font-size:.875em}[data-chat-widget] .prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:"`"}[data-chat-widget] .prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:"`"}[data-chat-widget] .prose :where(a code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}[data-chat-widget] .prose :where(h1 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}[data-chat-widget] .prose :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.875em}[data-chat-widget] .prose :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.9em}[data-chat-widget] .prose :where(h4 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}[data-chat-widget] .prose :where(blockquote code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}[data-chat-widget] .prose :where(thead th code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}[data-chat-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-chat-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-chat-widget] .prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:none}[data-chat-widget] .prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:none}[data-chat-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-chat-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-chat-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-chat-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-chat-widget] .prose :where(tbody tr:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:0}[data-chat-widget] .prose :where(tbody td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:baseline}[data-chat-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-chat-widget] .prose :where(tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:top}[data-chat-widget] .prose :where(th,td):not(:where([class~=not-prose],[class~=not-prose] *)){text-align:start}[data-chat-widget] .prose :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}[data-chat-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-chat-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-chat-widget] .prose :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}[data-chat-widget] .prose :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;margin-bottom:.5em}[data-chat-widget] .prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.375em}[data-chat-widget] .prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.375em}[data-chat-widget] .prose :where(.prose>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}[data-chat-widget] .prose :where(.prose>ul>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}[data-chat-widget] .prose :where(.prose>ul>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}[data-chat-widget] .prose :where(.prose>ol>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}[data-chat-widget] .prose :where(.prose>ol>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}[data-chat-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-chat-widget] .prose :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}[data-chat-widget] .prose :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;padding-inline-start:1.625em}[data-chat-widget] .prose :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}[data-chat-widget] .prose :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}[data-chat-widget] .prose :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}[data-chat-widget] .prose :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}[data-chat-widget] .prose :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}[data-chat-widget] .prose :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}[data-chat-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-chat-widget] .prose :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}[data-chat-widget] .prose :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}[data-chat-widget] .prose :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}[data-chat-widget] .prose :where(.prose>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}[data-chat-widget] .prose :where(.prose>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}[data-chat-widget] .prose-sm{font-size:.875rem;line-height:1.7142857}[data-chat-widget] .prose-sm :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em}[data-chat-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-chat-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-chat-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-chat-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-chat-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-chat-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-chat-widget] .prose-sm :where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}[data-chat-widget] .prose-sm :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}[data-chat-widget] .prose-sm :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}[data-chat-widget] .prose-sm :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}[data-chat-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-chat-widget] .prose-sm :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em}[data-chat-widget] .prose-sm :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.9em}[data-chat-widget] .prose-sm :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8888889em}[data-chat-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-chat-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-chat-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-chat-widget] .prose-sm :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.2857143em;margin-bottom:.2857143em}[data-chat-widget] .prose-sm :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.4285714em}[data-chat-widget] .prose-sm :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.4285714em}[data-chat-widget] .prose-sm :where(.prose-sm>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5714286em;margin-bottom:.5714286em}[data-chat-widget] .prose-sm :where(.prose-sm>ul>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em}[data-chat-widget] .prose-sm :where(.prose-sm>ul>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.1428571em}[data-chat-widget] .prose-sm :where(.prose-sm>ol>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em}[data-chat-widget] .prose-sm :where(.prose-sm>ol>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.1428571em}[data-chat-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-chat-widget] .prose-sm :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em}[data-chat-widget] .prose-sm :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em}[data-chat-widget] .prose-sm :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.2857143em;padding-inline-start:1.5714286em}[data-chat-widget] .prose-sm :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2.8571429em;margin-bottom:2.8571429em}[data-chat-widget] .prose-sm :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}[data-chat-widget] .prose-sm :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}[data-chat-widget] .prose-sm :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}[data-chat-widget] .prose-sm :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}[data-chat-widget] .prose-sm :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;line-height:1.5}[data-chat-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-chat-widget] .prose-sm :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}[data-chat-widget] .prose-sm :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}[data-chat-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-chat-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-chat-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-chat-widget] .prose-sm :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}[data-chat-widget] .prose-sm :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}[data-chat-widget] .prose-sm :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;line-height:1.3333333;margin-top:.6666667em}[data-chat-widget] .prose-sm :where(.prose-sm>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}[data-chat-widget] .prose-sm :where(.prose-sm>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}[data-chat-widget] .prose-slate{--tw-prose-body: #334155;--tw-prose-headings: #0f172a;--tw-prose-lead: #475569;--tw-prose-links: #0f172a;--tw-prose-bold: #0f172a;--tw-prose-counters: #64748b;--tw-prose-bullets: #cbd5e1;--tw-prose-hr: #e2e8f0;--tw-prose-quotes: #0f172a;--tw-prose-quote-borders: #e2e8f0;--tw-prose-captions: #64748b;--tw-prose-kbd: #0f172a;--tw-prose-kbd-shadows: 15 23 42;--tw-prose-code: #0f172a;--tw-prose-pre-code: #e2e8f0;--tw-prose-pre-bg: #1e293b;--tw-prose-th-borders: #cbd5e1;--tw-prose-td-borders: #e2e8f0;--tw-prose-invert-body: #cbd5e1;--tw-prose-invert-headings: #fff;--tw-prose-invert-lead: #94a3b8;--tw-prose-invert-links: #fff;--tw-prose-invert-bold: #fff;--tw-prose-invert-counters: #94a3b8;--tw-prose-invert-bullets: #475569;--tw-prose-invert-hr: #334155;--tw-prose-invert-quotes: #f1f5f9;--tw-prose-invert-quote-borders: #334155;--tw-prose-invert-captions: #94a3b8;--tw-prose-invert-kbd: #fff;--tw-prose-invert-kbd-shadows: 255 255 255;--tw-prose-invert-code: #fff;--tw-prose-invert-pre-code: #cbd5e1;--tw-prose-invert-pre-bg: rgb(0 0 0 / 50%);--tw-prose-invert-th-borders: #475569;--tw-prose-invert-td-borders: #334155}[data-chat-widget] .pointer-events-none{pointer-events:none}[data-chat-widget] .visible{visibility:visible}[data-chat-widget] .fixed{position:fixed}[data-chat-widget] .absolute{position:absolute}[data-chat-widget] .relative{position:relative}[data-chat-widget] .inset-0{top:0;right:0;bottom:0;left:0}[data-chat-widget] .inset-x-0{left:0;right:0}[data-chat-widget] .bottom-0{bottom:0}[data-chat-widget] .bottom-2{bottom:.5rem}[data-chat-widget] .left-0{left:0}[data-chat-widget] .left-1\\/2{left:50%}[data-chat-widget] .left-2{left:.5rem}[data-chat-widget] .right-0{right:0}[data-chat-widget] .top-1\\/2{top:50%}[data-chat-widget] .isolate{isolation:isolate}[data-chat-widget] .z-0{z-index:0}[data-chat-widget] .z-10{z-index:10}[data-chat-widget] .z-50{z-index:50}[data-chat-widget] .z-\\[24\\]{z-index:24}[data-chat-widget] .z-\\[25\\]{z-index:25}[data-chat-widget] .-mx-1{margin-left:-.25rem;margin-right:-.25rem}[data-chat-widget] .my-1{margin-top:.25rem;margin-bottom:.25rem}[data-chat-widget] .my-2{margin-top:.5rem;margin-bottom:.5rem}[data-chat-widget] .mb-1{margin-bottom:.25rem}[data-chat-widget] .mb-2{margin-bottom:.5rem}[data-chat-widget] .ml-auto{margin-left:auto}[data-chat-widget] .mt-1{margin-top:.25rem}[data-chat-widget] .mt-2{margin-top:.5rem}[data-chat-widget] .line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}[data-chat-widget] .block{display:block}[data-chat-widget] .inline{display:inline}[data-chat-widget] .flex{display:flex}[data-chat-widget] .inline-flex{display:inline-flex}[data-chat-widget] .contents{display:contents}[data-chat-widget] .hidden{display:none}[data-chat-widget] .aspect-square{aspect-ratio:1 / 1}[data-chat-widget] .size-12{width:3rem;height:3rem}[data-chat-widget] .size-16{width:4rem;height:4rem}[data-chat-widget] .size-3{width:.75rem;height:.75rem}[data-chat-widget] .size-3\\.5{width:.875rem;height:.875rem}[data-chat-widget] .size-4{width:1rem;height:1rem}[data-chat-widget] .size-6{width:1.5rem;height:1.5rem}[data-chat-widget] .size-7{width:1.75rem;height:1.75rem}[data-chat-widget] .size-8{width:2rem;height:2rem}[data-chat-widget] .size-fit{width:-moz-fit-content;width:fit-content;height:-moz-fit-content;height:fit-content}[data-chat-widget] .size-full{width:100%;height:100%}[data-chat-widget] .h-10{height:2.5rem}[data-chat-widget] .h-11{height:2.75rem}[data-chat-widget] .h-2{height:.5rem}[data-chat-widget] .h-3\\.5{height:.875rem}[data-chat-widget] .h-4{height:1rem}[data-chat-widget] .h-5{height:1.25rem}[data-chat-widget] .h-8{height:2rem}[data-chat-widget] .h-\\[600px\\]{height:600px}[data-chat-widget] .h-fit{height:-moz-fit-content;height:fit-content}[data-chat-widget] .h-full{height:100%}[data-chat-widget] .h-px{height:1px}[data-chat-widget] .max-h-\\[600px\\]{max-height:600px}[data-chat-widget] .max-h-full{max-height:100%}[data-chat-widget] .min-h-\\[400px\\]{min-height:400px}[data-chat-widget] .w-10{width:2.5rem}[data-chat-widget] .w-2{width:.5rem}[data-chat-widget] .w-2\\/3{width:66.666667%}[data-chat-widget] .w-3\\.5{width:.875rem}[data-chat-widget] .w-4{width:1rem}[data-chat-widget] .w-60{width:15rem}[data-chat-widget] .w-9{width:2.25rem}[data-chat-widget] .w-\\[calc\\(100\\%-1rem\\)\\]{width:calc(100% - 1rem)}[data-chat-widget] .w-auto{width:auto}[data-chat-widget] .w-fit{width:-moz-fit-content;width:fit-content}[data-chat-widget] .w-full{width:100%}[data-chat-widget] .min-w-56{min-width:14rem}[data-chat-widget] .min-w-\\[80\\%\\]{min-width:80%}[data-chat-widget] .min-w-\\[8rem\\]{min-width:8rem}[data-chat-widget] .min-w-fit{min-width:-moz-fit-content;min-width:fit-content}[data-chat-widget] .max-w-\\[320px\\]{max-width:320px}[data-chat-widget] .max-w-\\[85\\%\\]{max-width:85%}[data-chat-widget] .max-w-full{max-width:100%}[data-chat-widget] .max-w-xs{max-width:20rem}[data-chat-widget] .flex-1{flex:1 1 0%}[data-chat-widget] .shrink-0{flex-shrink:0}[data-chat-widget] .origin-bottom{transform-origin:bottom}[data-chat-widget] .-translate-x-1\\/2{--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-chat-widget] .-translate-y-1\\/2{--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-chat-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-chat-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-chat-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-chat-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-chat-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-chat-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-chat-widget] .animate-bounce{animation:bounce 1s infinite}@keyframes pulse{50%{opacity:.5}}[data-chat-widget] .animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes spin{to{transform:rotate(360deg)}}[data-chat-widget] .animate-spin{animation:spin 1s linear infinite}[data-chat-widget] .cursor-default{cursor:default}[data-chat-widget] .cursor-not-allowed{cursor:not-allowed}[data-chat-widget] .cursor-pointer{cursor:pointer}[data-chat-widget] .select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}[data-chat-widget] .resize-none{resize:none}[data-chat-widget] .flex-row{flex-direction:row}[data-chat-widget] .flex-col{flex-direction:column}[data-chat-widget] .flex-wrap{flex-wrap:wrap}[data-chat-widget] .items-start{align-items:flex-start}[data-chat-widget] .items-end{align-items:flex-end}[data-chat-widget] .items-center{align-items:center}[data-chat-widget] .justify-start{justify-content:flex-start}[data-chat-widget] .justify-end{justify-content:flex-end}[data-chat-widget] .justify-center{justify-content:center}[data-chat-widget] .justify-between{justify-content:space-between}[data-chat-widget] .gap-0\\.5{gap:.125rem}[data-chat-widget] .gap-1{gap:.25rem}[data-chat-widget] .gap-2{gap:.5rem}[data-chat-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-chat-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-chat-widget] .space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem * var(--tw-space-y-reverse))}[data-chat-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-chat-widget] .self-end{align-self:flex-end}[data-chat-widget] .overflow-auto{overflow:auto}[data-chat-widget] .overflow-hidden{overflow:hidden}[data-chat-widget] .scroll-smooth{scroll-behavior:smooth}[data-chat-widget] .whitespace-nowrap{white-space:nowrap}[data-chat-widget] .rounded-2xl{border-radius:1rem}[data-chat-widget] .rounded-3xl{border-radius:1.5rem}[data-chat-widget] .rounded-full{border-radius:9999px}[data-chat-widget] .rounded-lg{border-radius:.5rem}[data-chat-widget] .rounded-md{border-radius:.375rem}[data-chat-widget] .rounded-sm{border-radius:.125rem}[data-chat-widget] .rounded-xl{border-radius:.75rem}[data-chat-widget] .rounded-bl-none{border-bottom-left-radius:0}[data-chat-widget] .border{border-width:1px}[data-chat-widget] .border-0{border-width:0px}[data-chat-widget] .border-2{border-width:2px}[data-chat-widget] .border-b{border-bottom-width:1px}[data-chat-widget] .border-destructive{border-color:hsl(var(--opencx-destructive))}[data-chat-widget] .border-input{border-color:hsl(var(--opencx-input))}[data-chat-widget] .border-primary{border-color:hsl(var(--opencx-primary))}[data-chat-widget] .border-transparent{border-color:transparent}[data-chat-widget] .bg-background{background-color:hsl(var(--opencx-background))}[data-chat-widget] .bg-black{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity))}[data-chat-widget] .bg-black\\/50{background-color:#00000080}[data-chat-widget] .bg-destructive{background-color:hsl(var(--opencx-destructive))}[data-chat-widget] .bg-muted{background-color:hsl(var(--opencx-muted))}[data-chat-widget] .bg-primary{background-color:hsl(var(--opencx-primary))}[data-chat-widget] .bg-secondary{background-color:hsl(var(--opencx-secondary))}[data-chat-widget] .bg-transparent{background-color:transparent}[data-chat-widget] .bg-zinc-100{--tw-bg-opacity: 1;background-color:rgb(244 244 245 / var(--tw-bg-opacity))}[data-chat-widget] .bg-gradient-to-t{background-image:linear-gradient(to top,var(--tw-gradient-stops))}[data-chat-widget] .from-gray-100\\/30{--tw-gradient-from: rgb(243 244 246 / .3) var(--tw-gradient-from-position);--tw-gradient-to: rgb(243 244 246 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}[data-chat-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-chat-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-chat-widget] .to-gray-50\\/30{--tw-gradient-to: rgb(249 250 251 / .3) var(--tw-gradient-to-position)}[data-chat-widget] .to-primary{--tw-gradient-to: hsl(var(--opencx-primary)) var(--tw-gradient-to-position)}[data-chat-widget] .fill-current{fill:currentColor}[data-chat-widget] .object-contain{-o-object-fit:contain;object-fit:contain}[data-chat-widget] .object-cover{-o-object-fit:cover;object-fit:cover}[data-chat-widget] .p-0{padding:0}[data-chat-widget] .p-1{padding:.25rem}[data-chat-widget] .p-2{padding:.5rem}[data-chat-widget] .p-2\\.5{padding:.625rem}[data-chat-widget] .p-3{padding:.75rem}[data-chat-widget] .p-4{padding:1rem}[data-chat-widget] .px-2{padding-left:.5rem;padding-right:.5rem}[data-chat-widget] .px-3{padding-left:.75rem;padding-right:.75rem}[data-chat-widget] .px-4{padding-left:1rem;padding-right:1rem}[data-chat-widget] .px-8{padding-left:2rem;padding-right:2rem}[data-chat-widget] .py-1\\.5{padding-top:.375rem;padding-bottom:.375rem}[data-chat-widget] .py-12{padding-top:3rem;padding-bottom:3rem}[data-chat-widget] .py-2{padding-top:.5rem;padding-bottom:.5rem}[data-chat-widget] .py-3{padding-top:.75rem;padding-bottom:.75rem}[data-chat-widget] .py-4{padding-top:1rem;padding-bottom:1rem}[data-chat-widget] .pl-2{padding-left:.5rem}[data-chat-widget] .pl-3{padding-left:.75rem}[data-chat-widget] .pl-8{padding-left:2rem}[data-chat-widget] .pr-2{padding-right:.5rem}[data-chat-widget] .text-center{text-align:center}[data-chat-widget] .text-start{text-align:start}[data-chat-widget] .align-middle{vertical-align:middle}[data-chat-widget] .font-inter{font-family:Inter,sans-serif}[data-chat-widget] .text-2xl{font-size:1.5rem;line-height:2rem}[data-chat-widget] .text-\\[10px\\]{font-size:10px}[data-chat-widget] .text-sm{font-size:.875rem;line-height:1.25rem}[data-chat-widget] .text-xl{font-size:1.25rem;line-height:1.75rem}[data-chat-widget] .text-xs{font-size:.75rem;line-height:1rem}[data-chat-widget] .font-bold{font-weight:700}[data-chat-widget] .font-medium{font-weight:500}[data-chat-widget] .font-semibold{font-weight:600}[data-chat-widget] .leading-relaxed{line-height:1.625}[data-chat-widget] .leading-snug{line-height:1.375}[data-chat-widget] .leading-tight{line-height:1.25}[data-chat-widget] .tracking-widest{letter-spacing:.1em}[data-chat-widget] .text-blue-500{--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity))}[data-chat-widget] .text-destructive{color:hsl(var(--opencx-destructive))}[data-chat-widget] .text-destructive-foreground{color:hsl(var(--opencx-destructive-foreground))}[data-chat-widget] .text-emerald-500{--tw-text-opacity: 1;color:rgb(16 185 129 / var(--tw-text-opacity))}[data-chat-widget] .text-foreground{color:hsl(var(--opencx-foreground))}[data-chat-widget] .text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}[data-chat-widget] .text-green-500{--tw-text-opacity: 1;color:rgb(34 197 94 / var(--tw-text-opacity))}[data-chat-widget] .text-muted-foreground{color:hsl(var(--opencx-muted-foreground))}[data-chat-widget] .text-primary{color:hsl(var(--opencx-primary))}[data-chat-widget] .text-primary-foreground{color:hsl(var(--opencx-primary-foreground))}[data-chat-widget] .text-primary-foreground\\/90{color:hsl(var(--opencx-primary-foreground) / .9)}[data-chat-widget] .text-red-500{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity))}[data-chat-widget] .text-rose-500{--tw-text-opacity: 1;color:rgb(244 63 94 / var(--tw-text-opacity))}[data-chat-widget] .text-secondary-foreground{color:hsl(var(--opencx-secondary-foreground))}[data-chat-widget] .text-zinc-500{--tw-text-opacity: 1;color:rgb(113 113 122 / var(--tw-text-opacity))}[data-chat-widget] .text-zinc-600{--tw-text-opacity: 1;color:rgb(82 82 91 / var(--tw-text-opacity))}[data-chat-widget] .underline{text-decoration-line:underline}[data-chat-widget] .underline-offset-4{text-underline-offset:4px}[data-chat-widget] .antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}[data-chat-widget] .opacity-0{opacity:0}[data-chat-widget] .opacity-50{opacity:.5}[data-chat-widget] .opacity-60{opacity:.6}[data-chat-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-chat-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-chat-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-chat-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-chat-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-chat-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-chat-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-chat-widget] .outline-none{outline:2px solid transparent;outline-offset:2px}[data-chat-widget] .outline{outline-style:solid}[data-chat-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-chat-widget] .ring-2{--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-chat-widget] .ring-white{--tw-ring-opacity: 1;--tw-ring-color: rgb(255 255 255 / var(--tw-ring-opacity))}[data-chat-widget] .ring-offset-background{--tw-ring-offset-color: hsl(var(--opencx-background))}[data-chat-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-chat-widget] .backdrop-blur-sm{--tw-backdrop-blur: blur(4px);-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-chat-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-chat-widget] .transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}[data-chat-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-chat-widget] .transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}[data-chat-widget] .transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}[data-chat-widget] .duration-200{transition-duration:.2s}[data-chat-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-chat-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-chat-widget] .fade-in-0{--tw-enter-opacity: 0}[data-chat-widget] .zoom-in-95{--tw-enter-scale: .95}[data-chat-widget] .duration-200{animation-duration:.2s}[data-chat-widget] .ease-out{animation-timing-function:cubic-bezier(0,0,.2,1)}[data-chat-widget] .paused{animation-play-state:paused}[data-chat-widget] .\\[animation-delay\\:-0\\.15s\\]{animation-delay:-.15s}[data-chat-widget] .\\[animation-delay\\:-0\\.3s\\]{animation-delay:-.3s}[data-chat-widget] .\\[background\\:radial-gradient\\(68\\.75\\%_68\\.75\\%_at_50\\%_100\\%\\,_\\#717171_0\\%\\,_\\#000000_100\\%\\)\\]{background:radial-gradient(68.75% 68.75% at 50% 100%,#717171,#000)}[data-chat-widget] .required:after{content:" *";color:red}[data-chat-widget] .file\\:border-0::file-selector-button{border-width:0px}[data-chat-widget] .file\\:bg-transparent::file-selector-button{background-color:transparent}[data-chat-widget] .file\\:text-sm::file-selector-button{font-size:.875rem;line-height:1.25rem}[data-chat-widget] .file\\:font-medium::file-selector-button{font-weight:500}[data-chat-widget] .file\\:text-primary-foreground::file-selector-button{color:hsl(var(--opencx-primary-foreground))}[data-chat-widget] .placeholder\\:text-muted-foreground::-moz-placeholder{color:hsl(var(--opencx-muted-foreground))}[data-chat-widget] .placeholder\\:text-muted-foreground::placeholder{color:hsl(var(--opencx-muted-foreground))}[data-chat-widget] .hover\\:bg-accent:hover{background-color:hsl(var(--opencx-accent))}[data-chat-widget] .hover\\:bg-green-50\\/50:hover{background-color:#f0fdf480}[data-chat-widget] .hover\\:bg-red-50\\/50:hover{background-color:#fef2f280}[data-chat-widget] .hover\\:text-accent-foreground:hover{color:hsl(var(--opencx-accent-foreground))}[data-chat-widget] .hover\\:text-blue-600:hover{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity))}[data-chat-widget] .hover\\:text-green-500:hover{--tw-text-opacity: 1;color:rgb(34 197 94 / var(--tw-text-opacity))}[data-chat-widget] .hover\\:text-primary:hover{color:hsl(var(--opencx-primary))}[data-chat-widget] .hover\\:text-red-500:hover{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity))}[data-chat-widget] .hover\\:underline:hover{text-decoration-line:underline}[data-chat-widget] .focus\\:bg-accent:focus{background-color:hsl(var(--opencx-accent))}[data-chat-widget] .focus\\:text-accent-foreground:focus{color:hsl(var(--opencx-accent-foreground))}[data-chat-widget] .focus-visible\\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}[data-chat-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-chat-widget] .focus-visible\\:ring-ring:focus-visible{--tw-ring-color: hsl(var(--opencx-ring))}[data-chat-widget] .focus-visible\\:ring-offset-2:focus-visible{--tw-ring-offset-width: 2px}[data-chat-widget] .focus-visible\\:ring-offset-background:focus-visible{--tw-ring-offset-color: hsl(var(--opencx-background))}[data-chat-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-chat-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-chat-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-chat-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-chat-widget] .disabled\\:pointer-events-none:disabled{pointer-events:none}[data-chat-widget] .disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}[data-chat-widget] .disabled\\:opacity-0:disabled{opacity:0}[data-chat-widget] .disabled\\:opacity-50:disabled{opacity:.5}[data-chat-widget] .group:hover .group-hover\\:opacity-100{opacity:1}[data-chat-widget] .group:hover .group-hover\\:active\\:scale-90:active,[data-chat-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-chat-widget] .data-\\[disabled\\]\\:pointer-events-none[data-disabled]{pointer-events:none}[data-chat-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-chat-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-chat-widget] .data-\\[state\\=checked\\]\\:bg-primary[data-state=checked]{background-color:hsl(var(--opencx-primary))}[data-chat-widget] .data-\\[state\\=open\\]\\:bg-accent[data-state=open]{background-color:hsl(var(--opencx-accent))}[data-chat-widget] .data-\\[state\\=unchecked\\]\\:bg-input[data-state=unchecked]{background-color:hsl(var(--opencx-input))}[data-chat-widget] .data-\\[disabled\\]\\:opacity-50[data-disabled]{opacity:.5}[data-chat-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-chat-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-chat-widget] .data-\\[state\\=closed\\]\\:fade-out-0[data-state=closed]{--tw-exit-opacity: 0}[data-chat-widget] .data-\\[state\\=open\\]\\:fade-in-0[data-state=open]{--tw-enter-opacity: 0}[data-chat-widget] .data-\\[state\\=closed\\]\\:zoom-out-95[data-state=closed]{--tw-exit-scale: .95}[data-chat-widget] .data-\\[state\\=open\\]\\:zoom-in-95[data-state=open]{--tw-enter-scale: .95}[data-chat-widget] .data-\\[side\\=bottom\\]\\:slide-in-from-top-2[data-side=bottom]{--tw-enter-translate-y: -.5rem}[data-chat-widget] .data-\\[side\\=left\\]\\:slide-in-from-right-2[data-side=left]{--tw-enter-translate-x: .5rem}[data-chat-widget] .data-\\[side\\=right\\]\\:slide-in-from-left-2[data-side=right]{--tw-enter-translate-x: -.5rem}[data-chat-widget] .data-\\[side\\=top\\]\\:slide-in-from-bottom-2[data-side=top]{--tw-enter-translate-y: .5rem}[data-chat-widget] .prose-a\\:underline :is(:where(a):not(:where([class~=not-prose],[class~=not-prose] *))){text-decoration-line:underline}[data-chat-widget] .prose-a\\:decoration-primary :is(:where(a):not(:where([class~=not-prose],[class~=not-prose] *))){text-decoration-color:hsl(var(--opencx-primary))}[data-chat-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-chat-widget] .\\[\\&_span\\]\\:size-1 span{width:.25rem;height:.25rem}[data-chat-widget] .\\[\\&_span\\]\\:bg-secondary-foreground span{background-color:hsl(var(--opencx-secondary-foreground))}[data-chat-widget] .\\[\\&_svg\\]\\:pointer-events-none svg{pointer-events:none}[data-chat-widget] .\\[\\&_svg\\]\\:size-4 svg{width:1rem;height:1rem}[data-chat-widget] .\\[\\&_svg\\]\\:size-6 svg{width:1.5rem;height:1.5rem}[data-chat-widget] .\\[\\&_svg\\]\\:shrink-0 svg{flex-shrink:0}';function FV({className:e}){return U.jsx("svg",{width:"26",height:"32",viewBox:"0 0 26 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:Lt("text-primary-foreground",e),children:U.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 UV({isOpen:e}){const{theme:n}=vt.useConfigData();return U.jsx(FR,{"data-chat-widget":!0,style:{fontSize:"16px",position:"fixed",zIndex:1e7,...$3({primary:n.primaryColor},{triggerOffset:n.triggerOffset}),right:n.triggerOffset,bottom:n.triggerOffset},className:Lt("size-12 font-inter flex items-center justify-center"),children:U.jsx(Wm,{children:U.jsx("div",{className:Lt("relative size-full rounded-full","flex items-center justify-center","transition-all","[background:radial-gradient(68.75%_68.75%_at_50%_100%,_#717171_0%,_#000000_100%)]","text-primary-foreground","shadow-xl","active:scale-90","[&_svg]:size-6"),children:U.jsx(Sr.AnimatePresence,{mode:"wait",children:e?U.jsx(oi,{snapExit:!0,fadeIn:"up",overrides:{initial:{rotate:45},animate:{rotate:0}},children:U.jsx(cn.XIcon,{})},"x-icon"):U.jsx(oi,{snapExit:!0,overrides:{initial:{rotate:45},animate:{rotate:0}},children:U.jsx(FV,{})},"message-icon")})})})})}const BV=`<!DOCTYPE html>
|
|
243
243
|
<html>
|
|
244
244
|
<head>
|
|
245
245
|
<style>
|
|
@@ -255,5 +255,5 @@ html, body {
|
|
|
255
255
|
</head>
|
|
256
256
|
<body>
|
|
257
257
|
</body>
|
|
258
|
-
</html>`;function
|
|
258
|
+
</html>`;function HV({className:e,...n}){const a=vt.useChat(),{theme:s}=vt.useConfigData(),[f,p]=Dt.useState(!1);return U.jsxs(OV,{open:f,onOpenChange:p,children:[U.jsx("style",{children:WR}),U.jsx(LV,{onInteractOutside:d=>d.preventDefault(),side:"top",forceMount:!0,style:{zIndex:1e6,fontSize:"16px"},sideOffset:8,"data-chat-widget":!0,"data-chat-widget-content-root":!0,align:"end",asChild:!0,children:U.jsx(Sr.motion.div,{animate:f?"visible":"hidden",initial:"hidden",variants:{hidden:{opacity:0,y:8,transitionEnd:{display:"none"},transition:{duration:.15}},visible:{opacity:1,y:0,display:"block"}},children:U.jsx(YR,{initialContent:BV,allowFullScreen:!0,"data-chat-widget":!0,style:{maxHeight:"85dvh",width:"350px",minHeight:ux.widgetMinHeight,height:"var(--opencx-widget-height)",overflow:"hidden",outline:"1px solid",outlineColor:"hsl(240 10% 3.9% / 0.2)",borderRadius:"32px",boxShadow:"0 25px 50px -12px rgb(0 0 0 / 0.25)",transitionProperty:"height",transitionTimingFunction:"ease-out",transitionDuration:"150ms"},children:U.jsx(EI,{delayDuration:200,disableHoverableContent:!0,children:U.jsx("div",{style:{display:"contents",...$3({primary:s.primaryColor},{triggerOffset:s.triggerOffset})},"data-chat-widget":!0,children:U.jsx("div",{...n,"data-version":a.version,"data-chat-widget":!0,className:Lt("antialiased font-inter size-full overflow-hidden isolate relative text-secondary-foreground",e),children:U.jsx(qH,{})})})})})})}),U.jsx(UV,{isOpen:f})]})}function zV({options:e,children:n}){return U.jsx(vt.WidgetRoot,{options:{...e,components:[{key:"LOADING",component:dH},{key:"FALLBACK",component:fH},{key:"TEXT",component:cH}]},children:n})}exports.Widget=HV;exports.WidgetRoot=zV;
|
|
259
259
|
//# sourceMappingURL=basic.cjs.map
|