satori 0.4.13 → 0.4.14

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/index.cjs CHANGED
@@ -1,7 +1,7 @@
1
- var ll=Object.create;var br=Object.defineProperty;var fl=Object.getOwnPropertyDescriptor;var cl=Object.getOwnPropertyNames;var dl=Object.getPrototypeOf,pl=Object.prototype.hasOwnProperty;var yr=(e,t)=>()=>(e&&(t=e(e=0)),t);var L=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),xr=(e,t)=>{for(var n in t)br(e,n,{get:t[n],enumerable:!0})},Lo=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of cl(t))!pl.call(e,i)&&i!==n&&br(e,i,{get:()=>t[i],enumerable:!(r=fl(t,i))||r.enumerable});return e};var Je=(e,t,n)=>(n=e!=null?ll(dl(e)):{},Lo(t||!e||!e.__esModule?br(n,"default",{value:e,enumerable:!0}):n,e)),xt=e=>Lo(br({},"__esModule",{value:!0}),e);var c=yr(()=>{});var Ro={};xr(Ro,{getYogaModule:()=>hl});async function hl(){let{default:e}=await import("yoga-wasm-web/asm");return e()}var Co=yr(()=>{c()});var Dn=L(Cn=>{"use strict";c();Object.defineProperty(Cn,"__esModule",{value:!0});Object.defineProperty(Cn,"default",{enumerable:!0,get:()=>of});function of(e){if(e=`${e}`,e==="0")return"0";if(/^[+-]?(\d+|\d*\.\d+)(e[+-]?\d+)?(%|\w+)?$/.test(e))return e.replace(/^[+-]?/,t=>t==="-"?"":"-");if(e.includes("var(")||e.includes("calc("))return`calc(${e} * -1)`}});var ks=L(Mn=>{"use strict";c();Object.defineProperty(Mn,"__esModule",{value:!0});Object.defineProperty(Mn,"default",{enumerable:!0,get:()=>sf});var sf=["preflight","container","accessibility","pointerEvents","visibility","position","inset","isolation","zIndex","order","gridColumn","gridColumnStart","gridColumnEnd","gridRow","gridRowStart","gridRowEnd","float","clear","margin","boxSizing","display","aspectRatio","height","maxHeight","minHeight","width","minWidth","maxWidth","flex","flexShrink","flexGrow","flexBasis","tableLayout","borderCollapse","borderSpacing","transformOrigin","translate","rotate","skew","scale","transform","animation","cursor","touchAction","userSelect","resize","scrollSnapType","scrollSnapAlign","scrollSnapStop","scrollMargin","scrollPadding","listStylePosition","listStyleType","appearance","columns","breakBefore","breakInside","breakAfter","gridAutoColumns","gridAutoFlow","gridAutoRows","gridTemplateColumns","gridTemplateRows","flexDirection","flexWrap","placeContent","placeItems","alignContent","alignItems","justifyContent","justifyItems","gap","space","divideWidth","divideStyle","divideColor","divideOpacity","placeSelf","alignSelf","justifySelf","overflow","overscrollBehavior","scrollBehavior","textOverflow","whitespace","wordBreak","borderRadius","borderWidth","borderStyle","borderColor","borderOpacity","backgroundColor","backgroundOpacity","backgroundImage","gradientColorStops","boxDecorationBreak","backgroundSize","backgroundAttachment","backgroundClip","backgroundPosition","backgroundRepeat","backgroundOrigin","fill","stroke","strokeWidth","objectFit","objectPosition","padding","textAlign","textIndent","verticalAlign","fontFamily","fontSize","fontWeight","textTransform","fontStyle","fontVariantNumeric","lineHeight","letterSpacing","textColor","textOpacity","textDecoration","textDecorationColor","textDecorationStyle","textDecorationThickness","textUnderlineOffset","fontSmoothing","placeholderColor","placeholderOpacity","caretColor","accentColor","opacity","backgroundBlendMode","mixBlendMode","boxShadow","boxShadowColor","outlineStyle","outlineWidth","outlineOffset","outlineColor","ringWidth","ringColor","ringOpacity","ringOffsetWidth","ringOffsetColor","blur","brightness","contrast","dropShadow","grayscale","hueRotate","invert","saturate","sepia","filter","backdropBlur","backdropBrightness","backdropContrast","backdropGrayscale","backdropHueRotate","backdropInvert","backdropOpacity","backdropSaturate","backdropSepia","backdropFilter","transitionProperty","transitionDelay","transitionDuration","transitionTimingFunction","willChange","content"]});var Ts=L(Fn=>{"use strict";c();Object.defineProperty(Fn,"__esModule",{value:!0});Object.defineProperty(Fn,"default",{enumerable:!0,get:()=>af});function af(e,t){return e===void 0?t:Array.isArray(e)?e:[...new Set(t.filter(r=>e!==!1&&e[r]!==!1).concat(Object.keys(e).filter(r=>e[r]!==!1)))]}});var Nn=L((Fg,Es)=>{c();Es.exports={content:[],presets:[],darkMode:"media",theme:{screens:{sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},colors:({colors:e})=>({inherit:e.inherit,current:e.current,transparent:e.transparent,black:e.black,white:e.white,slate:e.slate,gray:e.gray,zinc:e.zinc,neutral:e.neutral,stone:e.stone,red:e.red,orange:e.orange,amber:e.amber,yellow:e.yellow,lime:e.lime,green:e.green,emerald:e.emerald,teal:e.teal,cyan:e.cyan,sky:e.sky,blue:e.blue,indigo:e.indigo,violet:e.violet,purple:e.purple,fuchsia:e.fuchsia,pink:e.pink,rose:e.rose}),columns:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12","3xs":"16rem","2xs":"18rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem"},spacing:{px:"1px",0:"0px",.5:"0.125rem",1:"0.25rem",1.5:"0.375rem",2:"0.5rem",2.5:"0.625rem",3:"0.75rem",3.5:"0.875rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",11:"2.75rem",12:"3rem",14:"3.5rem",16:"4rem",20:"5rem",24:"6rem",28:"7rem",32:"8rem",36:"9rem",40:"10rem",44:"11rem",48:"12rem",52:"13rem",56:"14rem",60:"15rem",64:"16rem",72:"18rem",80:"20rem",96:"24rem"},animation:{none:"none",spin:"spin 1s linear infinite",ping:"ping 1s cubic-bezier(0, 0, 0.2, 1) infinite",pulse:"pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite",bounce:"bounce 1s infinite"},aspectRatio:{auto:"auto",square:"1 / 1",video:"16 / 9"},backdropBlur:({theme:e})=>e("blur"),backdropBrightness:({theme:e})=>e("brightness"),backdropContrast:({theme:e})=>e("contrast"),backdropGrayscale:({theme:e})=>e("grayscale"),backdropHueRotate:({theme:e})=>e("hueRotate"),backdropInvert:({theme:e})=>e("invert"),backdropOpacity:({theme:e})=>e("opacity"),backdropSaturate:({theme:e})=>e("saturate"),backdropSepia:({theme:e})=>e("sepia"),backgroundColor:({theme:e})=>e("colors"),backgroundImage:{none:"none","gradient-to-t":"linear-gradient(to top, var(--tw-gradient-stops))","gradient-to-tr":"linear-gradient(to top right, var(--tw-gradient-stops))","gradient-to-r":"linear-gradient(to right, var(--tw-gradient-stops))","gradient-to-br":"linear-gradient(to bottom right, var(--tw-gradient-stops))","gradient-to-b":"linear-gradient(to bottom, var(--tw-gradient-stops))","gradient-to-bl":"linear-gradient(to bottom left, var(--tw-gradient-stops))","gradient-to-l":"linear-gradient(to left, var(--tw-gradient-stops))","gradient-to-tl":"linear-gradient(to top left, var(--tw-gradient-stops))"},backgroundOpacity:({theme:e})=>e("opacity"),backgroundPosition:{bottom:"bottom",center:"center",left:"left","left-bottom":"left bottom","left-top":"left top",right:"right","right-bottom":"right bottom","right-top":"right top",top:"top"},backgroundSize:{auto:"auto",cover:"cover",contain:"contain"},blur:{0:"0",none:"0",sm:"4px",DEFAULT:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},brightness:{0:"0",50:".5",75:".75",90:".9",95:".95",100:"1",105:"1.05",110:"1.1",125:"1.25",150:"1.5",200:"2"},borderColor:({theme:e})=>({...e("colors"),DEFAULT:e("colors.gray.200","currentColor")}),borderOpacity:({theme:e})=>e("opacity"),borderRadius:{none:"0px",sm:"0.125rem",DEFAULT:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},borderSpacing:({theme:e})=>({...e("spacing")}),borderWidth:{DEFAULT:"1px",0:"0px",2:"2px",4:"4px",8:"8px"},boxShadow:{sm:"0 1px 2px 0 rgb(0 0 0 / 0.05)",DEFAULT:"0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)",md:"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)",lg:"0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)",xl:"0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)","2xl":"0 25px 50px -12px rgb(0 0 0 / 0.25)",inner:"inset 0 2px 4px 0 rgb(0 0 0 / 0.05)",none:"none"},boxShadowColor:({theme:e})=>e("colors"),caretColor:({theme:e})=>e("colors"),accentColor:({theme:e})=>({...e("colors"),auto:"auto"}),contrast:{0:"0",50:".5",75:".75",100:"1",125:"1.25",150:"1.5",200:"2"},container:{},content:{none:"none"},cursor:{auto:"auto",default:"default",pointer:"pointer",wait:"wait",text:"text",move:"move",help:"help","not-allowed":"not-allowed",none:"none","context-menu":"context-menu",progress:"progress",cell:"cell",crosshair:"crosshair","vertical-text":"vertical-text",alias:"alias",copy:"copy","no-drop":"no-drop",grab:"grab",grabbing:"grabbing","all-scroll":"all-scroll","col-resize":"col-resize","row-resize":"row-resize","n-resize":"n-resize","e-resize":"e-resize","s-resize":"s-resize","w-resize":"w-resize","ne-resize":"ne-resize","nw-resize":"nw-resize","se-resize":"se-resize","sw-resize":"sw-resize","ew-resize":"ew-resize","ns-resize":"ns-resize","nesw-resize":"nesw-resize","nwse-resize":"nwse-resize","zoom-in":"zoom-in","zoom-out":"zoom-out"},divideColor:({theme:e})=>e("borderColor"),divideOpacity:({theme:e})=>e("borderOpacity"),divideWidth:({theme:e})=>e("borderWidth"),dropShadow:{sm:"0 1px 1px rgb(0 0 0 / 0.05)",DEFAULT:["0 1px 2px rgb(0 0 0 / 0.1)","0 1px 1px rgb(0 0 0 / 0.06)"],md:["0 4px 3px rgb(0 0 0 / 0.07)","0 2px 2px rgb(0 0 0 / 0.06)"],lg:["0 10px 8px rgb(0 0 0 / 0.04)","0 4px 3px rgb(0 0 0 / 0.1)"],xl:["0 20px 13px rgb(0 0 0 / 0.03)","0 8px 5px rgb(0 0 0 / 0.08)"],"2xl":"0 25px 25px rgb(0 0 0 / 0.15)",none:"0 0 #0000"},fill:({theme:e})=>e("colors"),grayscale:{0:"0",DEFAULT:"100%"},hueRotate:{0:"0deg",15:"15deg",30:"30deg",60:"60deg",90:"90deg",180:"180deg"},invert:{0:"0",DEFAULT:"100%"},flex:{1:"1 1 0%",auto:"1 1 auto",initial:"0 1 auto",none:"none"},flexBasis:({theme:e})=>({auto:"auto",...e("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%","1/12":"8.333333%","2/12":"16.666667%","3/12":"25%","4/12":"33.333333%","5/12":"41.666667%","6/12":"50%","7/12":"58.333333%","8/12":"66.666667%","9/12":"75%","10/12":"83.333333%","11/12":"91.666667%",full:"100%"}),flexGrow:{0:"0",DEFAULT:"1"},flexShrink:{0:"0",DEFAULT:"1"},fontFamily:{sans:["ui-sans-serif","system-ui","-apple-system","BlinkMacSystemFont",'"Segoe UI"',"Roboto",'"Helvetica Neue"',"Arial",'"Noto Sans"',"sans-serif",'"Apple Color Emoji"','"Segoe UI Emoji"','"Segoe UI Symbol"','"Noto Color Emoji"'],serif:["ui-serif","Georgia","Cambria",'"Times New Roman"',"Times","serif"],mono:["ui-monospace","SFMono-Regular","Menlo","Monaco","Consolas",'"Liberation Mono"','"Courier New"',"monospace"]},fontSize:{xs:["0.75rem",{lineHeight:"1rem"}],sm:["0.875rem",{lineHeight:"1.25rem"}],base:["1rem",{lineHeight:"1.5rem"}],lg:["1.125rem",{lineHeight:"1.75rem"}],xl:["1.25rem",{lineHeight:"1.75rem"}],"2xl":["1.5rem",{lineHeight:"2rem"}],"3xl":["1.875rem",{lineHeight:"2.25rem"}],"4xl":["2.25rem",{lineHeight:"2.5rem"}],"5xl":["3rem",{lineHeight:"1"}],"6xl":["3.75rem",{lineHeight:"1"}],"7xl":["4.5rem",{lineHeight:"1"}],"8xl":["6rem",{lineHeight:"1"}],"9xl":["8rem",{lineHeight:"1"}]},fontWeight:{thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},gap:({theme:e})=>e("spacing"),gradientColorStops:({theme:e})=>e("colors"),gridAutoColumns:{auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0, 1fr)"},gridAutoRows:{auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0, 1fr)"},gridColumn:{auto:"auto","span-1":"span 1 / span 1","span-2":"span 2 / span 2","span-3":"span 3 / span 3","span-4":"span 4 / span 4","span-5":"span 5 / span 5","span-6":"span 6 / span 6","span-7":"span 7 / span 7","span-8":"span 8 / span 8","span-9":"span 9 / span 9","span-10":"span 10 / span 10","span-11":"span 11 / span 11","span-12":"span 12 / span 12","span-full":"1 / -1"},gridColumnEnd:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13"},gridColumnStart:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13"},gridRow:{auto:"auto","span-1":"span 1 / span 1","span-2":"span 2 / span 2","span-3":"span 3 / span 3","span-4":"span 4 / span 4","span-5":"span 5 / span 5","span-6":"span 6 / span 6","span-full":"1 / -1"},gridRowStart:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7"},gridRowEnd:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7"},gridTemplateColumns:{none:"none",1:"repeat(1, minmax(0, 1fr))",2:"repeat(2, minmax(0, 1fr))",3:"repeat(3, minmax(0, 1fr))",4:"repeat(4, minmax(0, 1fr))",5:"repeat(5, minmax(0, 1fr))",6:"repeat(6, minmax(0, 1fr))",7:"repeat(7, minmax(0, 1fr))",8:"repeat(8, minmax(0, 1fr))",9:"repeat(9, minmax(0, 1fr))",10:"repeat(10, minmax(0, 1fr))",11:"repeat(11, minmax(0, 1fr))",12:"repeat(12, minmax(0, 1fr))"},gridTemplateRows:{none:"none",1:"repeat(1, minmax(0, 1fr))",2:"repeat(2, minmax(0, 1fr))",3:"repeat(3, minmax(0, 1fr))",4:"repeat(4, minmax(0, 1fr))",5:"repeat(5, minmax(0, 1fr))",6:"repeat(6, minmax(0, 1fr))"},height:({theme:e})=>({auto:"auto",...e("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%",full:"100%",screen:"100vh",min:"min-content",max:"max-content",fit:"fit-content"}),inset:({theme:e})=>({auto:"auto",...e("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%",full:"100%"}),keyframes:{spin:{to:{transform:"rotate(360deg)"}},ping:{"75%, 100%":{transform:"scale(2)",opacity:"0"}},pulse:{"50%":{opacity:".5"}},bounce:{"0%, 100%":{transform:"translateY(-25%)",animationTimingFunction:"cubic-bezier(0.8,0,1,1)"},"50%":{transform:"none",animationTimingFunction:"cubic-bezier(0,0,0.2,1)"}}},letterSpacing:{tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},lineHeight:{none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2",3:".75rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem"},listStyleType:{none:"none",disc:"disc",decimal:"decimal"},margin:({theme:e})=>({auto:"auto",...e("spacing")}),maxHeight:({theme:e})=>({...e("spacing"),full:"100%",screen:"100vh",min:"min-content",max:"max-content",fit:"fit-content"}),maxWidth:({theme:e,breakpoints:t})=>({none:"none",0:"0rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",full:"100%",min:"min-content",max:"max-content",fit:"fit-content",prose:"65ch",...t(e("screens"))}),minHeight:{0:"0px",full:"100%",screen:"100vh",min:"min-content",max:"max-content",fit:"fit-content"},minWidth:{0:"0px",full:"100%",min:"min-content",max:"max-content",fit:"fit-content"},objectPosition:{bottom:"bottom",center:"center",left:"left","left-bottom":"left bottom","left-top":"left top",right:"right","right-bottom":"right bottom","right-top":"right top",top:"top"},opacity:{0:"0",5:"0.05",10:"0.1",20:"0.2",25:"0.25",30:"0.3",40:"0.4",50:"0.5",60:"0.6",70:"0.7",75:"0.75",80:"0.8",90:"0.9",95:"0.95",100:"1"},order:{first:"-9999",last:"9999",none:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12"},padding:({theme:e})=>e("spacing"),placeholderColor:({theme:e})=>e("colors"),placeholderOpacity:({theme:e})=>e("opacity"),outlineColor:({theme:e})=>e("colors"),outlineOffset:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},outlineWidth:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},ringColor:({theme:e})=>({DEFAULT:e("colors.blue.500","#3b82f6"),...e("colors")}),ringOffsetColor:({theme:e})=>e("colors"),ringOffsetWidth:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},ringOpacity:({theme:e})=>({DEFAULT:"0.5",...e("opacity")}),ringWidth:{DEFAULT:"3px",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},rotate:{0:"0deg",1:"1deg",2:"2deg",3:"3deg",6:"6deg",12:"12deg",45:"45deg",90:"90deg",180:"180deg"},saturate:{0:"0",50:".5",100:"1",150:"1.5",200:"2"},scale:{0:"0",50:".5",75:".75",90:".9",95:".95",100:"1",105:"1.05",110:"1.1",125:"1.25",150:"1.5"},scrollMargin:({theme:e})=>({...e("spacing")}),scrollPadding:({theme:e})=>e("spacing"),sepia:{0:"0",DEFAULT:"100%"},skew:{0:"0deg",1:"1deg",2:"2deg",3:"3deg",6:"6deg",12:"12deg"},space:({theme:e})=>({...e("spacing")}),stroke:({theme:e})=>e("colors"),strokeWidth:{0:"0",1:"1",2:"2"},textColor:({theme:e})=>e("colors"),textDecorationColor:({theme:e})=>e("colors"),textDecorationThickness:{auto:"auto","from-font":"from-font",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},textUnderlineOffset:{auto:"auto",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},textIndent:({theme:e})=>({...e("spacing")}),textOpacity:({theme:e})=>e("opacity"),transformOrigin:{center:"center",top:"top","top-right":"top right",right:"right","bottom-right":"bottom right",bottom:"bottom","bottom-left":"bottom left",left:"left","top-left":"top left"},transitionDelay:{75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},transitionDuration:{DEFAULT:"150ms",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},transitionProperty:{none:"none",all:"all",DEFAULT:"color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter",colors:"color, background-color, border-color, text-decoration-color, fill, stroke",opacity:"opacity",shadow:"box-shadow",transform:"transform"},transitionTimingFunction:{DEFAULT:"cubic-bezier(0.4, 0, 0.2, 1)",linear:"linear",in:"cubic-bezier(0.4, 0, 1, 1)",out:"cubic-bezier(0, 0, 0.2, 1)","in-out":"cubic-bezier(0.4, 0, 0.2, 1)"},translate:({theme:e})=>({...e("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%",full:"100%"}),width:({theme:e})=>({auto:"auto",...e("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%","1/12":"8.333333%","2/12":"16.666667%","3/12":"25%","4/12":"33.333333%","5/12":"41.666667%","6/12":"50%","7/12":"58.333333%","8/12":"66.666667%","9/12":"75%","10/12":"83.333333%","11/12":"91.666667%",full:"100%",screen:"100vw",min:"min-content",max:"max-content",fit:"fit-content"}),willChange:{auto:"auto",scroll:"scroll-position",contents:"contents",transform:"transform"},zIndex:{auto:"auto",0:"0",10:"10",20:"20",30:"30",40:"40",50:"50"}},variantOrder:["first","last","odd","even","visited","checked","empty","read-only","group-hover","group-focus","focus-within","hover","focus","focus-visible","active","disabled"],plugins:[]}});var Dr={};xr(Dr,{default:()=>uf});var uf,Mr=yr(()=>{c();uf={info(e,t){console.info(...Array.isArray(e)?[e]:[t,e])},warn(e,t){console.warn(...Array.isArray(e)?[e]:[t,e])},risk(e,t){console.error(...Array.isArray(e)?[e]:[t,e])}}});var Os=L(Wn=>{"use strict";c();Object.defineProperty(Wn,"__esModule",{value:!0});Object.defineProperty(Wn,"default",{enumerable:!0,get:()=>cf});var lf=ff((Mr(),xt(Dr)));function ff(e){return e&&e.__esModule?e:{default:e}}function Lt({version:e,from:t,to:n}){lf.default.warn(`${t}-color-renamed`,[`As of Tailwind CSS ${e}, \`${t}\` has been renamed to \`${n}\`.`,"Update your configuration file to silence this warning."])}var cf={inherit:"inherit",current:"currentColor",transparent:"transparent",black:"#000",white:"#fff",slate:{50:"#f8fafc",100:"#f1f5f9",200:"#e2e8f0",300:"#cbd5e1",400:"#94a3b8",500:"#64748b",600:"#475569",700:"#334155",800:"#1e293b",900:"#0f172a"},gray:{50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5db",400:"#9ca3af",500:"#6b7280",600:"#4b5563",700:"#374151",800:"#1f2937",900:"#111827"},zinc:{50:"#fafafa",100:"#f4f4f5",200:"#e4e4e7",300:"#d4d4d8",400:"#a1a1aa",500:"#71717a",600:"#52525b",700:"#3f3f46",800:"#27272a",900:"#18181b"},neutral:{50:"#fafafa",100:"#f5f5f5",200:"#e5e5e5",300:"#d4d4d4",400:"#a3a3a3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717"},stone:{50:"#fafaf9",100:"#f5f5f4",200:"#e7e5e4",300:"#d6d3d1",400:"#a8a29e",500:"#78716c",600:"#57534e",700:"#44403c",800:"#292524",900:"#1c1917"},red:{50:"#fef2f2",100:"#fee2e2",200:"#fecaca",300:"#fca5a5",400:"#f87171",500:"#ef4444",600:"#dc2626",700:"#b91c1c",800:"#991b1b",900:"#7f1d1d"},orange:{50:"#fff7ed",100:"#ffedd5",200:"#fed7aa",300:"#fdba74",400:"#fb923c",500:"#f97316",600:"#ea580c",700:"#c2410c",800:"#9a3412",900:"#7c2d12"},amber:{50:"#fffbeb",100:"#fef3c7",200:"#fde68a",300:"#fcd34d",400:"#fbbf24",500:"#f59e0b",600:"#d97706",700:"#b45309",800:"#92400e",900:"#78350f"},yellow:{50:"#fefce8",100:"#fef9c3",200:"#fef08a",300:"#fde047",400:"#facc15",500:"#eab308",600:"#ca8a04",700:"#a16207",800:"#854d0e",900:"#713f12"},lime:{50:"#f7fee7",100:"#ecfccb",200:"#d9f99d",300:"#bef264",400:"#a3e635",500:"#84cc16",600:"#65a30d",700:"#4d7c0f",800:"#3f6212",900:"#365314"},green:{50:"#f0fdf4",100:"#dcfce7",200:"#bbf7d0",300:"#86efac",400:"#4ade80",500:"#22c55e",600:"#16a34a",700:"#15803d",800:"#166534",900:"#14532d"},emerald:{50:"#ecfdf5",100:"#d1fae5",200:"#a7f3d0",300:"#6ee7b7",400:"#34d399",500:"#10b981",600:"#059669",700:"#047857",800:"#065f46",900:"#064e3b"},teal:{50:"#f0fdfa",100:"#ccfbf1",200:"#99f6e4",300:"#5eead4",400:"#2dd4bf",500:"#14b8a6",600:"#0d9488",700:"#0f766e",800:"#115e59",900:"#134e4a"},cyan:{50:"#ecfeff",100:"#cffafe",200:"#a5f3fc",300:"#67e8f9",400:"#22d3ee",500:"#06b6d4",600:"#0891b2",700:"#0e7490",800:"#155e75",900:"#164e63"},sky:{50:"#f0f9ff",100:"#e0f2fe",200:"#bae6fd",300:"#7dd3fc",400:"#38bdf8",500:"#0ea5e9",600:"#0284c7",700:"#0369a1",800:"#075985",900:"#0c4a6e"},blue:{50:"#eff6ff",100:"#dbeafe",200:"#bfdbfe",300:"#93c5fd",400:"#60a5fa",500:"#3b82f6",600:"#2563eb",700:"#1d4ed8",800:"#1e40af",900:"#1e3a8a"},indigo:{50:"#eef2ff",100:"#e0e7ff",200:"#c7d2fe",300:"#a5b4fc",400:"#818cf8",500:"#6366f1",600:"#4f46e5",700:"#4338ca",800:"#3730a3",900:"#312e81"},violet:{50:"#f5f3ff",100:"#ede9fe",200:"#ddd6fe",300:"#c4b5fd",400:"#a78bfa",500:"#8b5cf6",600:"#7c3aed",700:"#6d28d9",800:"#5b21b6",900:"#4c1d95"},purple:{50:"#faf5ff",100:"#f3e8ff",200:"#e9d5ff",300:"#d8b4fe",400:"#c084fc",500:"#a855f7",600:"#9333ea",700:"#7e22ce",800:"#6b21a8",900:"#581c87"},fuchsia:{50:"#fdf4ff",100:"#fae8ff",200:"#f5d0fe",300:"#f0abfc",400:"#e879f9",500:"#d946ef",600:"#c026d3",700:"#a21caf",800:"#86198f",900:"#701a75"},pink:{50:"#fdf2f8",100:"#fce7f3",200:"#fbcfe8",300:"#f9a8d4",400:"#f472b6",500:"#ec4899",600:"#db2777",700:"#be185d",800:"#9d174d",900:"#831843"},rose:{50:"#fff1f2",100:"#ffe4e6",200:"#fecdd3",300:"#fda4af",400:"#fb7185",500:"#f43f5e",600:"#e11d48",700:"#be123c",800:"#9f1239",900:"#881337"},get lightBlue(){return Lt({version:"v2.2",from:"lightBlue",to:"sky"}),this.sky},get warmGray(){return Lt({version:"v3.0",from:"warmGray",to:"stone"}),this.stone},get trueGray(){return Lt({version:"v3.0",from:"trueGray",to:"neutral"}),this.neutral},get coolGray(){return Lt({version:"v3.0",from:"coolGray",to:"gray"}),this.gray},get blueGray(){return Lt({version:"v3.0",from:"blueGray",to:"slate"}),this.slate}}});var Ps=L(qn=>{"use strict";c();Object.defineProperty(qn,"__esModule",{value:!0});Object.defineProperty(qn,"defaults",{enumerable:!0,get:()=>df});function df(e,...t){for(let i of t){for(let s in i){var n;!(e==null||(n=e.hasOwnProperty)===null||n===void 0)&&n.call(e,s)||(e[s]=i[s])}for(let s of Object.getOwnPropertySymbols(i)){var r;!(e==null||(r=e.hasOwnProperty)===null||r===void 0)&&r.call(e,s)||(e[s]=i[s])}}return e}});var As=L($n=>{"use strict";c();Object.defineProperty($n,"__esModule",{value:!0});Object.defineProperty($n,"toPath",{enumerable:!0,get:()=>pf});function pf(e){if(Array.isArray(e))return e;let t=e.split("[").length-1,n=e.split("]").length-1;if(t!==n)throw new Error(`Path is invalid. Has unbalanced brackets: ${e}`);return e.split(/\.(?![^\[]*\])|[\[\]]/g).filter(Boolean)}});var Ls=L(Bn=>{"use strict";c();Object.defineProperty(Bn,"__esModule",{value:!0});Object.defineProperty(Bn,"normalizeConfig",{enumerable:!0,get:()=>mf});var Rt=hf((Mr(),xt(Dr)));function Is(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,n=new WeakMap;return(Is=function(r){return r?n:t})(e)}function hf(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var n=Is(t);if(n&&n.has(e))return n.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if(s!=="default"&&Object.prototype.hasOwnProperty.call(e,s)){var o=i?Object.getOwnPropertyDescriptor(e,s):null;o&&(o.get||o.set)?Object.defineProperty(r,s,o):r[s]=e[s]}return r.default=e,n&&n.set(e,r),r}function mf(e){if((()=>{if(e.purge||!e.content||!Array.isArray(e.content)&&!(typeof e.content=="object"&&e.content!==null))return!1;if(Array.isArray(e.content))return e.content.every(r=>typeof r=="string"?!0:!(typeof(r==null?void 0:r.raw)!="string"||(r==null?void 0:r.extension)&&typeof(r==null?void 0:r.extension)!="string"));if(typeof e.content=="object"&&e.content!==null){if(Object.keys(e.content).some(r=>!["files","extract","transform"].includes(r)))return!1;if(Array.isArray(e.content.files)){if(!e.content.files.every(r=>typeof r=="string"?!0:!(typeof(r==null?void 0:r.raw)!="string"||(r==null?void 0:r.extension)&&typeof(r==null?void 0:r.extension)!="string")))return!1;if(typeof e.content.extract=="object"){for(let r of Object.values(e.content.extract))if(typeof r!="function")return!1}else if(!(e.content.extract===void 0||typeof e.content.extract=="function"))return!1;if(typeof e.content.transform=="object"){for(let r of Object.values(e.content.transform))if(typeof r!="function")return!1}else if(!(e.content.transform===void 0||typeof e.content.transform=="function"))return!1}return!0}return!1})()||Rt.default.warn("purge-deprecation",["The `purge`/`content` options have changed in Tailwind CSS v3.0.","Update your configuration file to eliminate this warning.","https://tailwindcss.com/docs/upgrade-guide#configure-content-sources"]),e.safelist=(()=>{var r;let{content:i,purge:s,safelist:o}=e;return Array.isArray(o)?o:Array.isArray(i==null?void 0:i.safelist)?i.safelist:Array.isArray(s==null?void 0:s.safelist)?s.safelist:Array.isArray(s==null||(r=s.options)===null||r===void 0?void 0:r.safelist)?s.options.safelist:[]})(),typeof e.prefix=="function")Rt.default.warn("prefix-function",["As of Tailwind CSS v3.0, `prefix` cannot be a function.","Update `prefix` in your configuration to be a string to eliminate this warning.","https://tailwindcss.com/docs/upgrade-guide#prefix-cannot-be-a-function"]),e.prefix="";else{var n;e.prefix=(n=e.prefix)!==null&&n!==void 0?n:""}e.content={files:(()=>{let{content:r,purge:i}=e;return Array.isArray(i)?i:Array.isArray(i==null?void 0:i.content)?i.content:Array.isArray(r)?r:Array.isArray(r==null?void 0:r.content)?r.content:Array.isArray(r==null?void 0:r.files)?r.files:[]})(),extract:(()=>{let r=(()=>{var o,a,u,l,f,d,b,h,p,g;return!((o=e.purge)===null||o===void 0)&&o.extract?e.purge.extract:!((a=e.content)===null||a===void 0)&&a.extract?e.content.extract:!((u=e.purge)===null||u===void 0||(l=u.extract)===null||l===void 0)&&l.DEFAULT?e.purge.extract.DEFAULT:!((f=e.content)===null||f===void 0||(d=f.extract)===null||d===void 0)&&d.DEFAULT?e.content.extract.DEFAULT:!((b=e.purge)===null||b===void 0||(h=b.options)===null||h===void 0)&&h.extractors?e.purge.options.extractors:!((p=e.content)===null||p===void 0||(g=p.options)===null||g===void 0)&&g.extractors?e.content.options.extractors:{}})(),i={},s=(()=>{var o,a,u,l;if(!((o=e.purge)===null||o===void 0||(a=o.options)===null||a===void 0)&&a.defaultExtractor)return e.purge.options.defaultExtractor;if(!((u=e.content)===null||u===void 0||(l=u.options)===null||l===void 0)&&l.defaultExtractor)return e.content.options.defaultExtractor})();if(s!==void 0&&(i.DEFAULT=s),typeof r=="function")i.DEFAULT=r;else if(Array.isArray(r))for(let{extensions:o,extractor:a}of r??[])for(let u of o)i[u]=a;else typeof r=="object"&&r!==null&&Object.assign(i,r);return i})(),transform:(()=>{let r=(()=>{var s,o,a,u,l,f;return!((s=e.purge)===null||s===void 0)&&s.transform?e.purge.transform:!((o=e.content)===null||o===void 0)&&o.transform?e.content.transform:!((a=e.purge)===null||a===void 0||(u=a.transform)===null||u===void 0)&&u.DEFAULT?e.purge.transform.DEFAULT:!((l=e.content)===null||l===void 0||(f=l.transform)===null||f===void 0)&&f.DEFAULT?e.content.transform.DEFAULT:{}})(),i={};return typeof r=="function"&&(i.DEFAULT=r),typeof r=="object"&&r!==null&&Object.assign(i,r),i})()};for(let r of e.content.files)if(typeof r=="string"&&/{([^,]*?)}/g.test(r)){Rt.default.warn("invalid-glob-braces",[`The glob pattern ${(0,Rt.dim)(r)} in your Tailwind CSS configuration is invalid.`,`Update it to ${(0,Rt.dim)(r.replace(/{([^,]*?)}/g,"$1"))} to silence this warning.`]);break}return e}});var Rs=L(Un=>{"use strict";c();Object.defineProperty(Un,"__esModule",{value:!0});Object.defineProperty(Un,"default",{enumerable:!0,get:()=>gf});function gf(e){if(Object.prototype.toString.call(e)!=="[object Object]")return!1;let t=Object.getPrototypeOf(e);return t===null||t===Object.prototype}});var Cs=L(Gn=>{"use strict";c();Object.defineProperty(Gn,"__esModule",{value:!0});Object.defineProperty(Gn,"cloneDeep",{enumerable:!0,get:()=>zn});function zn(e){return Array.isArray(e)?e.map(t=>zn(t)):typeof e=="object"&&e!==null?Object.fromEntries(Object.entries(e).map(([t,n])=>[t,zn(n)])):e}});var jn=L((Fr,Ds)=>{"use strict";c();Fr.__esModule=!0;Fr.default=yf;function vf(e){for(var t=e.toLowerCase(),n="",r=!1,i=0;i<6&&t[i]!==void 0;i++){var s=t.charCodeAt(i),o=s>=97&&s<=102||s>=48&&s<=57;if(r=s===32,!o)break;n+=t[i]}if(n.length!==0){var a=parseInt(n,16),u=a>=55296&&a<=57343;return u||a===0||a>1114111?["\uFFFD",n.length+(r?1:0)]:[String.fromCodePoint(a),n.length+(r?1:0)]}}var bf=/\\/;function yf(e){var t=bf.test(e);if(!t)return e;for(var n="",r=0;r<e.length;r++){if(e[r]==="\\"){var i=vf(e.slice(r+1,r+7));if(i!==void 0){n+=i[0],r+=i[1];continue}if(e[r+1]==="\\"){n+="\\",r++;continue}e.length===r+1&&(n+=e[r]);continue}n+=e[r]}return n}Ds.exports=Fr.default});var Fs=L((Nr,Ms)=>{"use strict";c();Nr.__esModule=!0;Nr.default=xf;function xf(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];for(;n.length>0;){var i=n.shift();if(!e[i])return;e=e[i]}return e}Ms.exports=Nr.default});var Ws=L((Wr,Ns)=>{"use strict";c();Wr.__esModule=!0;Wr.default=wf;function wf(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];for(;n.length>0;){var i=n.shift();e[i]||(e[i]={}),e=e[i]}}Ns.exports=Wr.default});var $s=L((qr,qs)=>{"use strict";c();qr.__esModule=!0;qr.default=_f;function _f(e){for(var t="",n=e.indexOf("/*"),r=0;n>=0;){t=t+e.slice(r,n);var i=e.indexOf("*/",n+2);if(i<0)return t;r=i+2,n=e.indexOf("/*",r)}return t=t+e.slice(r),t}qs.exports=qr.default});var Ct=L(Ie=>{"use strict";c();Ie.__esModule=!0;Ie.stripComments=Ie.ensureObject=Ie.getProp=Ie.unesc=void 0;var Sf=$r(jn());Ie.unesc=Sf.default;var kf=$r(Fs());Ie.getProp=kf.default;var Tf=$r(Ws());Ie.ensureObject=Tf.default;var Ef=$r($s());Ie.stripComments=Ef.default;function $r(e){return e&&e.__esModule?e:{default:e}}});var Fe=L((Dt,zs)=>{"use strict";c();Dt.__esModule=!0;Dt.default=void 0;var Bs=Ct();function Us(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Of(e,t,n){return t&&Us(e.prototype,t),n&&Us(e,n),e}var Pf=function e(t,n){if(typeof t!="object"||t===null)return t;var r=new t.constructor;for(var i in t)if(!!t.hasOwnProperty(i)){var s=t[i],o=typeof s;i==="parent"&&o==="object"?n&&(r[i]=n):s instanceof Array?r[i]=s.map(function(a){return e(a,r)}):r[i]=e(s,r)}return r},Af=function(){function e(n){n===void 0&&(n={}),Object.assign(this,n),this.spaces=this.spaces||{},this.spaces.before=this.spaces.before||"",this.spaces.after=this.spaces.after||""}var t=e.prototype;return t.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},t.replaceWith=function(){if(this.parent){for(var r in arguments)this.parent.insertBefore(this,arguments[r]);this.remove()}return this},t.next=function(){return this.parent.at(this.parent.index(this)+1)},t.prev=function(){return this.parent.at(this.parent.index(this)-1)},t.clone=function(r){r===void 0&&(r={});var i=Pf(this);for(var s in r)i[s]=r[s];return i},t.appendToPropertyAndEscape=function(r,i,s){this.raws||(this.raws={});var o=this[r],a=this.raws[r];this[r]=o+i,a||s!==i?this.raws[r]=(a||o)+s:delete this.raws[r]},t.setPropertyAndEscape=function(r,i,s){this.raws||(this.raws={}),this[r]=i,this.raws[r]=s},t.setPropertyWithoutEscape=function(r,i){this[r]=i,this.raws&&delete this.raws[r]},t.isAtPosition=function(r,i){if(this.source&&this.source.start&&this.source.end)return!(this.source.start.line>r||this.source.end.line<r||this.source.start.line===r&&this.source.start.column>i||this.source.end.line===r&&this.source.end.column<i)},t.stringifyProperty=function(r){return this.raws&&this.raws[r]||this[r]},t.valueToString=function(){return String(this.stringifyProperty("value"))},t.toString=function(){return[this.rawSpaceBefore,this.valueToString(),this.rawSpaceAfter].join("")},Of(e,[{key:"rawSpaceBefore",get:function(){var r=this.raws&&this.raws.spaces&&this.raws.spaces.before;return r===void 0&&(r=this.spaces&&this.spaces.before),r||""},set:function(r){(0,Bs.ensureObject)(this,"raws","spaces"),this.raws.spaces.before=r}},{key:"rawSpaceAfter",get:function(){var r=this.raws&&this.raws.spaces&&this.raws.spaces.after;return r===void 0&&(r=this.spaces.after),r||""},set:function(r){(0,Bs.ensureObject)(this,"raws","spaces"),this.raws.spaces.after=r}}]),e}();Dt.default=Af;zs.exports=Dt.default});var ae=L(K=>{"use strict";c();K.__esModule=!0;K.UNIVERSAL=K.ATTRIBUTE=K.CLASS=K.COMBINATOR=K.COMMENT=K.ID=K.NESTING=K.PSEUDO=K.ROOT=K.SELECTOR=K.STRING=K.TAG=void 0;var If="tag";K.TAG=If;var Lf="string";K.STRING=Lf;var Rf="selector";K.SELECTOR=Rf;var Cf="root";K.ROOT=Cf;var Df="pseudo";K.PSEUDO=Df;var Mf="nesting";K.NESTING=Mf;var Ff="id";K.ID=Ff;var Nf="comment";K.COMMENT=Nf;var Wf="combinator";K.COMBINATOR=Wf;var qf="class";K.CLASS=qf;var $f="attribute";K.ATTRIBUTE=$f;var Bf="universal";K.UNIVERSAL=Bf});var Br=L((Mt,Vs)=>{"use strict";c();Mt.__esModule=!0;Mt.default=void 0;var Uf=Gf(Fe()),Ne=zf(ae());function Hs(){if(typeof WeakMap!="function")return null;var e=new WeakMap;return Hs=function(){return e},e}function zf(e){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=Hs();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var s=r?Object.getOwnPropertyDescriptor(e,i):null;s&&(s.get||s.set)?Object.defineProperty(n,i,s):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}function Gf(e){return e&&e.__esModule?e:{default:e}}function jf(e,t){var n;if(typeof Symbol>"u"||e[Symbol.iterator]==null){if(Array.isArray(e)||(n=Hf(e))||t&&e&&typeof e.length=="number"){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
2
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}return n=e[Symbol.iterator](),n.next.bind(n)}function Hf(e,t){if(!!e){if(typeof e=="string")return Gs(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Gs(e,t)}}function Gs(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function js(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Vf(e,t,n){return t&&js(e.prototype,t),n&&js(e,n),e}function Yf(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Hn(e,t)}function Hn(e,t){return Hn=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},Hn(e,t)}var Xf=function(e){Yf(t,e);function t(r){var i;return i=e.call(this,r)||this,i.nodes||(i.nodes=[]),i}var n=t.prototype;return n.append=function(i){return i.parent=this,this.nodes.push(i),this},n.prepend=function(i){return i.parent=this,this.nodes.unshift(i),this},n.at=function(i){return this.nodes[i]},n.index=function(i){return typeof i=="number"?i:this.nodes.indexOf(i)},n.removeChild=function(i){i=this.index(i),this.at(i).parent=void 0,this.nodes.splice(i,1);var s;for(var o in this.indexes)s=this.indexes[o],s>=i&&(this.indexes[o]=s-1);return this},n.removeAll=function(){for(var i=jf(this.nodes),s;!(s=i()).done;){var o=s.value;o.parent=void 0}return this.nodes=[],this},n.empty=function(){return this.removeAll()},n.insertAfter=function(i,s){s.parent=this;var o=this.index(i);this.nodes.splice(o+1,0,s),s.parent=this;var a;for(var u in this.indexes)a=this.indexes[u],o<=a&&(this.indexes[u]=a+1);return this},n.insertBefore=function(i,s){s.parent=this;var o=this.index(i);this.nodes.splice(o,0,s),s.parent=this;var a;for(var u in this.indexes)a=this.indexes[u],a<=o&&(this.indexes[u]=a+1);return this},n._findChildAtPosition=function(i,s){var o=void 0;return this.each(function(a){if(a.atPosition){var u=a.atPosition(i,s);if(u)return o=u,!1}else if(a.isAtPosition(i,s))return o=a,!1}),o},n.atPosition=function(i,s){if(this.isAtPosition(i,s))return this._findChildAtPosition(i,s)||this},n._inferEndPosition=function(){this.last&&this.last.source&&this.last.source.end&&(this.source=this.source||{},this.source.end=this.source.end||{},Object.assign(this.source.end,this.last.source.end))},n.each=function(i){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach++;var s=this.lastEach;if(this.indexes[s]=0,!!this.length){for(var o,a;this.indexes[s]<this.length&&(o=this.indexes[s],a=i(this.at(o),o),a!==!1);)this.indexes[s]+=1;if(delete this.indexes[s],a===!1)return!1}},n.walk=function(i){return this.each(function(s,o){var a=i(s,o);if(a!==!1&&s.length&&(a=s.walk(i)),a===!1)return!1})},n.walkAttributes=function(i){var s=this;return this.walk(function(o){if(o.type===Ne.ATTRIBUTE)return i.call(s,o)})},n.walkClasses=function(i){var s=this;return this.walk(function(o){if(o.type===Ne.CLASS)return i.call(s,o)})},n.walkCombinators=function(i){var s=this;return this.walk(function(o){if(o.type===Ne.COMBINATOR)return i.call(s,o)})},n.walkComments=function(i){var s=this;return this.walk(function(o){if(o.type===Ne.COMMENT)return i.call(s,o)})},n.walkIds=function(i){var s=this;return this.walk(function(o){if(o.type===Ne.ID)return i.call(s,o)})},n.walkNesting=function(i){var s=this;return this.walk(function(o){if(o.type===Ne.NESTING)return i.call(s,o)})},n.walkPseudos=function(i){var s=this;return this.walk(function(o){if(o.type===Ne.PSEUDO)return i.call(s,o)})},n.walkTags=function(i){var s=this;return this.walk(function(o){if(o.type===Ne.TAG)return i.call(s,o)})},n.walkUniversals=function(i){var s=this;return this.walk(function(o){if(o.type===Ne.UNIVERSAL)return i.call(s,o)})},n.split=function(i){var s=this,o=[];return this.reduce(function(a,u,l){var f=i.call(s,u);return o.push(u),f?(a.push(o),o=[]):l===s.length-1&&a.push(o),a},[])},n.map=function(i){return this.nodes.map(i)},n.reduce=function(i,s){return this.nodes.reduce(i,s)},n.every=function(i){return this.nodes.every(i)},n.some=function(i){return this.nodes.some(i)},n.filter=function(i){return this.nodes.filter(i)},n.sort=function(i){return this.nodes.sort(i)},n.toString=function(){return this.map(String).join("")},Vf(t,[{key:"first",get:function(){return this.at(0)}},{key:"last",get:function(){return this.at(this.length-1)}},{key:"length",get:function(){return this.nodes.length}}]),t}(Uf.default);Mt.default=Xf;Vs.exports=Mt.default});var Yn=L((Ft,Xs)=>{"use strict";c();Ft.__esModule=!0;Ft.default=void 0;var Qf=Jf(Br()),Kf=ae();function Jf(e){return e&&e.__esModule?e:{default:e}}function Ys(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Zf(e,t,n){return t&&Ys(e.prototype,t),n&&Ys(e,n),e}function ec(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Vn(e,t)}function Vn(e,t){return Vn=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},Vn(e,t)}var tc=function(e){ec(t,e);function t(r){var i;return i=e.call(this,r)||this,i.type=Kf.ROOT,i}var n=t.prototype;return n.toString=function(){var i=this.reduce(function(s,o){return s.push(String(o)),s},[]).join(",");return this.trailingComma?i+",":i},n.error=function(i,s){return this._error?this._error(i,s):new Error(i)},Zf(t,[{key:"errorGenerator",set:function(i){this._error=i}}]),t}(Qf.default);Ft.default=tc;Xs.exports=Ft.default});var Qn=L((Nt,Qs)=>{"use strict";c();Nt.__esModule=!0;Nt.default=void 0;var rc=ic(Br()),nc=ae();function ic(e){return e&&e.__esModule?e:{default:e}}function oc(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Xn(e,t)}function Xn(e,t){return Xn=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},Xn(e,t)}var sc=function(e){oc(t,e);function t(n){var r;return r=e.call(this,n)||this,r.type=nc.SELECTOR,r}return t}(rc.default);Nt.default=sc;Qs.exports=Nt.default});var Ur=L((jg,Ks)=>{"use strict";c();var ac={},uc=ac.hasOwnProperty,lc=function(t,n){if(!t)return n;var r={};for(var i in n)r[i]=uc.call(t,i)?t[i]:n[i];return r},fc=/[ -,\.\/:-@\[-\^`\{-~]/,cc=/[ -,\.\/:-@\[\]\^`\{-~]/,dc=/(^|\\+)?(\\[A-F0-9]{1,6})\x20(?![a-fA-F0-9\x20])/g,Kn=function e(t,n){n=lc(n,e.options),n.quotes!="single"&&n.quotes!="double"&&(n.quotes="single");for(var r=n.quotes=="double"?'"':"'",i=n.isIdentifier,s=t.charAt(0),o="",a=0,u=t.length;a<u;){var l=t.charAt(a++),f=l.charCodeAt(),d=void 0;if(f<32||f>126){if(f>=55296&&f<=56319&&a<u){var b=t.charCodeAt(a++);(b&64512)==56320?f=((f&1023)<<10)+(b&1023)+65536:a--}d="\\"+f.toString(16).toUpperCase()+" "}else n.escapeEverything?fc.test(l)?d="\\"+l:d="\\"+f.toString(16).toUpperCase()+" ":/[\t\n\f\r\x0B]/.test(l)?d="\\"+f.toString(16).toUpperCase()+" ":l=="\\"||!i&&(l=='"'&&r==l||l=="'"&&r==l)||i&&cc.test(l)?d="\\"+l:d=l;o+=d}return i&&(/^-[-\d]/.test(o)?o="\\-"+o.slice(1):/\d/.test(s)&&(o="\\3"+s+" "+o.slice(1))),o=o.replace(dc,function(h,p,g){return p&&p.length%2?h:(p||"")+g}),!i&&n.wrap?r+o+r:o};Kn.options={escapeEverything:!1,isIdentifier:!1,quotes:"single",wrap:!1};Kn.version="3.0.0";Ks.exports=Kn});var Zn=L((Wt,ea)=>{"use strict";c();Wt.__esModule=!0;Wt.default=void 0;var pc=Zs(Ur()),hc=Ct(),mc=Zs(Fe()),gc=ae();function Zs(e){return e&&e.__esModule?e:{default:e}}function Js(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function vc(e,t,n){return t&&Js(e.prototype,t),n&&Js(e,n),e}function bc(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Jn(e,t)}function Jn(e,t){return Jn=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},Jn(e,t)}var yc=function(e){bc(t,e);function t(r){var i;return i=e.call(this,r)||this,i.type=gc.CLASS,i._constructed=!0,i}var n=t.prototype;return n.valueToString=function(){return"."+e.prototype.valueToString.call(this)},vc(t,[{key:"value",get:function(){return this._value},set:function(i){if(this._constructed){var s=(0,pc.default)(i,{isIdentifier:!0});s!==i?((0,hc.ensureObject)(this,"raws"),this.raws.value=s):this.raws&&delete this.raws.value}this._value=i}}]),t}(mc.default);Wt.default=yc;ea.exports=Wt.default});var ti=L((qt,ta)=>{"use strict";c();qt.__esModule=!0;qt.default=void 0;var xc=_c(Fe()),wc=ae();function _c(e){return e&&e.__esModule?e:{default:e}}function Sc(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,ei(e,t)}function ei(e,t){return ei=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},ei(e,t)}var kc=function(e){Sc(t,e);function t(n){var r;return r=e.call(this,n)||this,r.type=wc.COMMENT,r}return t}(xc.default);qt.default=kc;ta.exports=qt.default});var ni=L(($t,ra)=>{"use strict";c();$t.__esModule=!0;$t.default=void 0;var Tc=Oc(Fe()),Ec=ae();function Oc(e){return e&&e.__esModule?e:{default:e}}function Pc(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,ri(e,t)}function ri(e,t){return ri=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},ri(e,t)}var Ac=function(e){Pc(t,e);function t(r){var i;return i=e.call(this,r)||this,i.type=Ec.ID,i}var n=t.prototype;return n.valueToString=function(){return"#"+e.prototype.valueToString.call(this)},t}(Tc.default);$t.default=Ac;ra.exports=$t.default});var zr=L((Bt,oa)=>{"use strict";c();Bt.__esModule=!0;Bt.default=void 0;var Ic=ia(Ur()),Lc=Ct(),Rc=ia(Fe());function ia(e){return e&&e.__esModule?e:{default:e}}function na(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Cc(e,t,n){return t&&na(e.prototype,t),n&&na(e,n),e}function Dc(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,ii(e,t)}function ii(e,t){return ii=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},ii(e,t)}var Mc=function(e){Dc(t,e);function t(){return e.apply(this,arguments)||this}var n=t.prototype;return n.qualifiedName=function(i){return this.namespace?this.namespaceString+"|"+i:i},n.valueToString=function(){return this.qualifiedName(e.prototype.valueToString.call(this))},Cc(t,[{key:"namespace",get:function(){return this._namespace},set:function(i){if(i===!0||i==="*"||i==="&"){this._namespace=i,this.raws&&delete this.raws.namespace;return}var s=(0,Ic.default)(i,{isIdentifier:!0});this._namespace=i,s!==i?((0,Lc.ensureObject)(this,"raws"),this.raws.namespace=s):this.raws&&delete this.raws.namespace}},{key:"ns",get:function(){return this._namespace},set:function(i){this.namespace=i}},{key:"namespaceString",get:function(){if(this.namespace){var i=this.stringifyProperty("namespace");return i===!0?"":i}else return""}}]),t}(Rc.default);Bt.default=Mc;oa.exports=Bt.default});var si=L((Ut,sa)=>{"use strict";c();Ut.__esModule=!0;Ut.default=void 0;var Fc=Wc(zr()),Nc=ae();function Wc(e){return e&&e.__esModule?e:{default:e}}function qc(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,oi(e,t)}function oi(e,t){return oi=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},oi(e,t)}var $c=function(e){qc(t,e);function t(n){var r;return r=e.call(this,n)||this,r.type=Nc.TAG,r}return t}(Fc.default);Ut.default=$c;sa.exports=Ut.default});var ui=L((zt,aa)=>{"use strict";c();zt.__esModule=!0;zt.default=void 0;var Bc=zc(Fe()),Uc=ae();function zc(e){return e&&e.__esModule?e:{default:e}}function Gc(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,ai(e,t)}function ai(e,t){return ai=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},ai(e,t)}var jc=function(e){Gc(t,e);function t(n){var r;return r=e.call(this,n)||this,r.type=Uc.STRING,r}return t}(Bc.default);zt.default=jc;aa.exports=zt.default});var fi=L((Gt,ua)=>{"use strict";c();Gt.__esModule=!0;Gt.default=void 0;var Hc=Yc(Br()),Vc=ae();function Yc(e){return e&&e.__esModule?e:{default:e}}function Xc(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,li(e,t)}function li(e,t){return li=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},li(e,t)}var Qc=function(e){Xc(t,e);function t(r){var i;return i=e.call(this,r)||this,i.type=Vc.PSEUDO,i}var n=t.prototype;return n.toString=function(){var i=this.length?"("+this.map(String).join(",")+")":"";return[this.rawSpaceBefore,this.stringifyProperty("value"),i,this.rawSpaceAfter].join("")},t}(Hc.default);Gt.default=Qc;ua.exports=Gt.default});var fa=L((Hg,la)=>{c();la.exports=function(t,n){return function(...r){return console.warn(n),t(...r)}}});var gi=L(Vt=>{"use strict";c();Vt.__esModule=!0;Vt.unescapeValue=mi;Vt.default=void 0;var jt=hi(Ur()),Kc=hi(jn()),Jc=hi(zr()),Zc=ae(),ci;function hi(e){return e&&e.__esModule?e:{default:e}}function ca(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ed(e,t,n){return t&&ca(e.prototype,t),n&&ca(e,n),e}function td(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,pi(e,t)}function pi(e,t){return pi=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},pi(e,t)}var Ht=fa(),rd=/^('|")([^]*)\1$/,nd=Ht(function(){},"Assigning an attribute a value containing characters that might need to be escaped is deprecated. Call attribute.setValue() instead."),id=Ht(function(){},"Assigning attr.quoted is deprecated and has no effect. Assign to attr.quoteMark instead."),od=Ht(function(){},"Constructing an Attribute selector with a value without specifying quoteMark is deprecated. Note: The value should be unescaped now.");function mi(e){var t=!1,n=null,r=e,i=r.match(rd);return i&&(n=i[1],r=i[2]),r=(0,Kc.default)(r),r!==e&&(t=!0),{deprecatedUsage:t,unescaped:r,quoteMark:n}}function sd(e){if(e.quoteMark!==void 0||e.value===void 0)return e;od();var t=mi(e.value),n=t.quoteMark,r=t.unescaped;return e.raws||(e.raws={}),e.raws.value===void 0&&(e.raws.value=e.value),e.value=r,e.quoteMark=n,e}var Gr=function(e){td(t,e);function t(r){var i;return r===void 0&&(r={}),i=e.call(this,sd(r))||this,i.type=Zc.ATTRIBUTE,i.raws=i.raws||{},Object.defineProperty(i.raws,"unquoted",{get:Ht(function(){return i.value},"attr.raws.unquoted is deprecated. Call attr.value instead."),set:Ht(function(){return i.value},"Setting attr.raws.unquoted is deprecated and has no effect. attr.value is unescaped by default now.")}),i._constructed=!0,i}var n=t.prototype;return n.getQuotedValue=function(i){i===void 0&&(i={});var s=this._determineQuoteMark(i),o=di[s],a=(0,jt.default)(this._value,o);return a},n._determineQuoteMark=function(i){return i.smart?this.smartQuoteMark(i):this.preferredQuoteMark(i)},n.setValue=function(i,s){s===void 0&&(s={}),this._value=i,this._quoteMark=this._determineQuoteMark(s),this._syncRawValue()},n.smartQuoteMark=function(i){var s=this.value,o=s.replace(/[^']/g,"").length,a=s.replace(/[^"]/g,"").length;if(o+a===0){var u=(0,jt.default)(s,{isIdentifier:!0});if(u===s)return t.NO_QUOTE;var l=this.preferredQuoteMark(i);if(l===t.NO_QUOTE){var f=this.quoteMark||i.quoteMark||t.DOUBLE_QUOTE,d=di[f],b=(0,jt.default)(s,d);if(b.length<u.length)return f}return l}else return a===o?this.preferredQuoteMark(i):a<o?t.DOUBLE_QUOTE:t.SINGLE_QUOTE},n.preferredQuoteMark=function(i){var s=i.preferCurrentQuoteMark?this.quoteMark:i.quoteMark;return s===void 0&&(s=i.preferCurrentQuoteMark?i.quoteMark:this.quoteMark),s===void 0&&(s=t.DOUBLE_QUOTE),s},n._syncRawValue=function(){var i=(0,jt.default)(this._value,di[this.quoteMark]);i===this._value?this.raws&&delete this.raws.value:this.raws.value=i},n._handleEscapes=function(i,s){if(this._constructed){var o=(0,jt.default)(s,{isIdentifier:!0});o!==s?this.raws[i]=o:delete this.raws[i]}},n._spacesFor=function(i){var s={before:"",after:""},o=this.spaces[i]||{},a=this.raws.spaces&&this.raws.spaces[i]||{};return Object.assign(s,o,a)},n._stringFor=function(i,s,o){s===void 0&&(s=i),o===void 0&&(o=da);var a=this._spacesFor(s);return o(this.stringifyProperty(i),a)},n.offsetOf=function(i){var s=1,o=this._spacesFor("attribute");if(s+=o.before.length,i==="namespace"||i==="ns")return this.namespace?s:-1;if(i==="attributeNS"||(s+=this.namespaceString.length,this.namespace&&(s+=1),i==="attribute"))return s;s+=this.stringifyProperty("attribute").length,s+=o.after.length;var a=this._spacesFor("operator");s+=a.before.length;var u=this.stringifyProperty("operator");if(i==="operator")return u?s:-1;s+=u.length,s+=a.after.length;var l=this._spacesFor("value");s+=l.before.length;var f=this.stringifyProperty("value");if(i==="value")return f?s:-1;s+=f.length,s+=l.after.length;var d=this._spacesFor("insensitive");return s+=d.before.length,i==="insensitive"&&this.insensitive?s:-1},n.toString=function(){var i=this,s=[this.rawSpaceBefore,"["];return s.push(this._stringFor("qualifiedAttribute","attribute")),this.operator&&(this.value||this.value==="")&&(s.push(this._stringFor("operator")),s.push(this._stringFor("value")),s.push(this._stringFor("insensitiveFlag","insensitive",function(o,a){return o.length>0&&!i.quoted&&a.before.length===0&&!(i.spaces.value&&i.spaces.value.after)&&(a.before=" "),da(o,a)}))),s.push("]"),s.push(this.rawSpaceAfter),s.join("")},ed(t,[{key:"quoted",get:function(){var i=this.quoteMark;return i==="'"||i==='"'},set:function(i){id()}},{key:"quoteMark",get:function(){return this._quoteMark},set:function(i){if(!this._constructed){this._quoteMark=i;return}this._quoteMark!==i&&(this._quoteMark=i,this._syncRawValue())}},{key:"qualifiedAttribute",get:function(){return this.qualifiedName(this.raws.attribute||this.attribute)}},{key:"insensitiveFlag",get:function(){return this.insensitive?"i":""}},{key:"value",get:function(){return this._value},set:function(i){if(this._constructed){var s=mi(i),o=s.deprecatedUsage,a=s.unescaped,u=s.quoteMark;if(o&&nd(),a===this._value&&u===this._quoteMark)return;this._value=a,this._quoteMark=u,this._syncRawValue()}else this._value=i}},{key:"attribute",get:function(){return this._attribute},set:function(i){this._handleEscapes("attribute",i),this._attribute=i}}]),t}(Jc.default);Vt.default=Gr;Gr.NO_QUOTE=null;Gr.SINGLE_QUOTE="'";Gr.DOUBLE_QUOTE='"';var di=(ci={"'":{quotes:"single",wrap:!0},'"':{quotes:"double",wrap:!0}},ci[null]={isIdentifier:!0},ci);function da(e,t){return""+t.before+e+t.after}});var bi=L((Yt,pa)=>{"use strict";c();Yt.__esModule=!0;Yt.default=void 0;var ad=ld(zr()),ud=ae();function ld(e){return e&&e.__esModule?e:{default:e}}function fd(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,vi(e,t)}function vi(e,t){return vi=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},vi(e,t)}var cd=function(e){fd(t,e);function t(n){var r;return r=e.call(this,n)||this,r.type=ud.UNIVERSAL,r.value="*",r}return t}(ad.default);Yt.default=cd;pa.exports=Yt.default});var xi=L((Xt,ha)=>{"use strict";c();Xt.__esModule=!0;Xt.default=void 0;var dd=hd(Fe()),pd=ae();function hd(e){return e&&e.__esModule?e:{default:e}}function md(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,yi(e,t)}function yi(e,t){return yi=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},yi(e,t)}var gd=function(e){md(t,e);function t(n){var r;return r=e.call(this,n)||this,r.type=pd.COMBINATOR,r}return t}(dd.default);Xt.default=gd;ha.exports=Xt.default});var _i=L((Qt,ma)=>{"use strict";c();Qt.__esModule=!0;Qt.default=void 0;var vd=yd(Fe()),bd=ae();function yd(e){return e&&e.__esModule?e:{default:e}}function xd(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,wi(e,t)}function wi(e,t){return wi=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},wi(e,t)}var wd=function(e){xd(t,e);function t(n){var r;return r=e.call(this,n)||this,r.type=bd.NESTING,r.value="&",r}return t}(vd.default);Qt.default=wd;ma.exports=Qt.default});var va=L((jr,ga)=>{"use strict";c();jr.__esModule=!0;jr.default=_d;function _d(e){return e.sort(function(t,n){return t-n})}ga.exports=jr.default});var Si=L(P=>{"use strict";c();P.__esModule=!0;P.combinator=P.word=P.comment=P.str=P.tab=P.newline=P.feed=P.cr=P.backslash=P.bang=P.slash=P.doubleQuote=P.singleQuote=P.space=P.greaterThan=P.pipe=P.equals=P.plus=P.caret=P.tilde=P.dollar=P.closeSquare=P.openSquare=P.closeParenthesis=P.openParenthesis=P.semicolon=P.colon=P.comma=P.at=P.asterisk=P.ampersand=void 0;var Sd=38;P.ampersand=Sd;var kd=42;P.asterisk=kd;var Td=64;P.at=Td;var Ed=44;P.comma=Ed;var Od=58;P.colon=Od;var Pd=59;P.semicolon=Pd;var Ad=40;P.openParenthesis=Ad;var Id=41;P.closeParenthesis=Id;var Ld=91;P.openSquare=Ld;var Rd=93;P.closeSquare=Rd;var Cd=36;P.dollar=Cd;var Dd=126;P.tilde=Dd;var Md=94;P.caret=Md;var Fd=43;P.plus=Fd;var Nd=61;P.equals=Nd;var Wd=124;P.pipe=Wd;var qd=62;P.greaterThan=qd;var $d=32;P.space=$d;var ba=39;P.singleQuote=ba;var Bd=34;P.doubleQuote=Bd;var Ud=47;P.slash=Ud;var zd=33;P.bang=zd;var Gd=92;P.backslash=Gd;var jd=13;P.cr=jd;var Hd=12;P.feed=Hd;var Vd=10;P.newline=Vd;var Yd=9;P.tab=Yd;var Xd=ba;P.str=Xd;var Qd=-1;P.comment=Qd;var Kd=-2;P.word=Kd;var Jd=-3;P.combinator=Jd});var wa=L(Kt=>{"use strict";c();Kt.__esModule=!0;Kt.default=op;Kt.FIELDS=void 0;var T=Zd(Si()),ct,X;function xa(){if(typeof WeakMap!="function")return null;var e=new WeakMap;return xa=function(){return e},e}function Zd(e){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=xa();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var s=r?Object.getOwnPropertyDescriptor(e,i):null;s&&(s.get||s.set)?Object.defineProperty(n,i,s):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}var ep=(ct={},ct[T.tab]=!0,ct[T.newline]=!0,ct[T.cr]=!0,ct[T.feed]=!0,ct),tp=(X={},X[T.space]=!0,X[T.tab]=!0,X[T.newline]=!0,X[T.cr]=!0,X[T.feed]=!0,X[T.ampersand]=!0,X[T.asterisk]=!0,X[T.bang]=!0,X[T.comma]=!0,X[T.colon]=!0,X[T.semicolon]=!0,X[T.openParenthesis]=!0,X[T.closeParenthesis]=!0,X[T.openSquare]=!0,X[T.closeSquare]=!0,X[T.singleQuote]=!0,X[T.doubleQuote]=!0,X[T.plus]=!0,X[T.pipe]=!0,X[T.tilde]=!0,X[T.greaterThan]=!0,X[T.equals]=!0,X[T.dollar]=!0,X[T.caret]=!0,X[T.slash]=!0,X),ki={},ya="0123456789abcdefABCDEF";for(Hr=0;Hr<ya.length;Hr++)ki[ya.charCodeAt(Hr)]=!0;var Hr;function rp(e,t){var n=t,r;do{if(r=e.charCodeAt(n),tp[r])return n-1;r===T.backslash?n=np(e,n)+1:n++}while(n<e.length);return n-1}function np(e,t){var n=t,r=e.charCodeAt(n+1);if(!ep[r])if(ki[r]){var i=0;do n++,i++,r=e.charCodeAt(n+1);while(ki[r]&&i<6);i<6&&r===T.space&&n++}else n++;return n}var ip={TYPE:0,START_LINE:1,START_COL:2,END_LINE:3,END_COL:4,START_POS:5,END_POS:6};Kt.FIELDS=ip;function op(e){var t=[],n=e.css.valueOf(),r=n,i=r.length,s=-1,o=1,a=0,u=0,l,f,d,b,h,p,g,w,v,y,_,E,k;function D(R,M){if(e.safe)n+=M,v=n.length-1;else throw e.error("Unclosed "+R,o,a-s,a)}for(;a<i;){switch(l=n.charCodeAt(a),l===T.newline&&(s=a,o+=1),l){case T.space:case T.tab:case T.newline:case T.cr:case T.feed:v=a;do v+=1,l=n.charCodeAt(v),l===T.newline&&(s=v,o+=1);while(l===T.space||l===T.newline||l===T.tab||l===T.cr||l===T.feed);k=T.space,b=o,d=v-s-1,u=v;break;case T.plus:case T.greaterThan:case T.tilde:case T.pipe:v=a;do v+=1,l=n.charCodeAt(v);while(l===T.plus||l===T.greaterThan||l===T.tilde||l===T.pipe);k=T.combinator,b=o,d=a-s,u=v;break;case T.asterisk:case T.ampersand:case T.bang:case T.comma:case T.equals:case T.dollar:case T.caret:case T.openSquare:case T.closeSquare:case T.colon:case T.semicolon:case T.openParenthesis:case T.closeParenthesis:v=a,k=l,b=o,d=a-s,u=v+1;break;case T.singleQuote:case T.doubleQuote:E=l===T.singleQuote?"'":'"',v=a;do for(h=!1,v=n.indexOf(E,v+1),v===-1&&D("quote",E),p=v;n.charCodeAt(p-1)===T.backslash;)p-=1,h=!h;while(h);k=T.str,b=o,d=a-s,u=v+1;break;default:l===T.slash&&n.charCodeAt(a+1)===T.asterisk?(v=n.indexOf("*/",a+2)+1,v===0&&D("comment","*/"),f=n.slice(a,v+1),w=f.split(`
3
- `),g=w.length-1,g>0?(y=o+g,_=v-w[g].length):(y=o,_=s),k=T.comment,o=y,b=y,d=v-_):l===T.slash?(v=a,k=l,b=o,d=a-s,u=v+1):(v=rp(n,a),k=T.word,b=o,d=v-s),u=v+1;break}t.push([k,o,a-s,b,d,a,u]),_&&(s=_,_=null),a=u}return t}});var Aa=L((Jt,Pa)=>{"use strict";c();Jt.__esModule=!0;Jt.default=void 0;var sp=_e(Yn()),Ti=_e(Qn()),ap=_e(Zn()),_a=_e(ti()),up=_e(ni()),lp=_e(si()),Ei=_e(ui()),fp=_e(fi()),Sa=Vr(gi()),cp=_e(bi()),Oi=_e(xi()),dp=_e(_i()),pp=_e(va()),S=Vr(wa()),O=Vr(Si()),hp=Vr(ae()),Z=Ct(),Ze,Pi;function Oa(){if(typeof WeakMap!="function")return null;var e=new WeakMap;return Oa=function(){return e},e}function Vr(e){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=Oa();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var s=r?Object.getOwnPropertyDescriptor(e,i):null;s&&(s.get||s.set)?Object.defineProperty(n,i,s):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}function _e(e){return e&&e.__esModule?e:{default:e}}function ka(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function mp(e,t,n){return t&&ka(e.prototype,t),n&&ka(e,n),e}var Li=(Ze={},Ze[O.space]=!0,Ze[O.cr]=!0,Ze[O.feed]=!0,Ze[O.newline]=!0,Ze[O.tab]=!0,Ze),gp=Object.assign({},Li,(Pi={},Pi[O.comment]=!0,Pi));function Ta(e){return{line:e[S.FIELDS.START_LINE],column:e[S.FIELDS.START_COL]}}function Ea(e){return{line:e[S.FIELDS.END_LINE],column:e[S.FIELDS.END_COL]}}function et(e,t,n,r){return{start:{line:e,column:t},end:{line:n,column:r}}}function dt(e){return et(e[S.FIELDS.START_LINE],e[S.FIELDS.START_COL],e[S.FIELDS.END_LINE],e[S.FIELDS.END_COL])}function Ai(e,t){if(!!e)return et(e[S.FIELDS.START_LINE],e[S.FIELDS.START_COL],t[S.FIELDS.END_LINE],t[S.FIELDS.END_COL])}function pt(e,t){var n=e[t];if(typeof n=="string")return n.indexOf("\\")!==-1&&((0,Z.ensureObject)(e,"raws"),e[t]=(0,Z.unesc)(n),e.raws[t]===void 0&&(e.raws[t]=n)),e}function Ii(e,t){for(var n=-1,r=[];(n=e.indexOf(t,n+1))!==-1;)r.push(n);return r}function vp(){var e=Array.prototype.concat.apply([],arguments);return e.filter(function(t,n){return n===e.indexOf(t)})}var bp=function(){function e(n,r){r===void 0&&(r={}),this.rule=n,this.options=Object.assign({lossy:!1,safe:!1},r),this.position=0,this.css=typeof this.rule=="string"?this.rule:this.rule.selector,this.tokens=(0,S.default)({css:this.css,error:this._errorGenerator(),safe:this.options.safe});var i=Ai(this.tokens[0],this.tokens[this.tokens.length-1]);this.root=new sp.default({source:i}),this.root.errorGenerator=this._errorGenerator();var s=new Ti.default({source:{start:{line:1,column:1}}});this.root.append(s),this.current=s,this.loop()}var t=e.prototype;return t._errorGenerator=function(){var r=this;return function(i,s){return typeof r.rule=="string"?new Error(i):r.rule.error(i,s)}},t.attribute=function(){var r=[],i=this.currToken;for(this.position++;this.position<this.tokens.length&&this.currToken[S.FIELDS.TYPE]!==O.closeSquare;)r.push(this.currToken),this.position++;if(this.currToken[S.FIELDS.TYPE]!==O.closeSquare)return this.expected("closing square bracket",this.currToken[S.FIELDS.START_POS]);var s=r.length,o={source:et(i[1],i[2],this.currToken[3],this.currToken[4]),sourceIndex:i[S.FIELDS.START_POS]};if(s===1&&!~[O.word].indexOf(r[0][S.FIELDS.TYPE]))return this.expected("attribute",r[0][S.FIELDS.START_POS]);for(var a=0,u="",l="",f=null,d=!1;a<s;){var b=r[a],h=this.content(b),p=r[a+1];switch(b[S.FIELDS.TYPE]){case O.space:if(d=!0,this.options.lossy)break;if(f){(0,Z.ensureObject)(o,"spaces",f);var g=o.spaces[f].after||"";o.spaces[f].after=g+h;var w=(0,Z.getProp)(o,"raws","spaces",f,"after")||null;w&&(o.raws.spaces[f].after=w+h)}else u=u+h,l=l+h;break;case O.asterisk:if(p[S.FIELDS.TYPE]===O.equals)o.operator=h,f="operator";else if((!o.namespace||f==="namespace"&&!d)&&p){u&&((0,Z.ensureObject)(o,"spaces","attribute"),o.spaces.attribute.before=u,u=""),l&&((0,Z.ensureObject)(o,"raws","spaces","attribute"),o.raws.spaces.attribute.before=u,l=""),o.namespace=(o.namespace||"")+h;var v=(0,Z.getProp)(o,"raws","namespace")||null;v&&(o.raws.namespace+=h),f="namespace"}d=!1;break;case O.dollar:if(f==="value"){var y=(0,Z.getProp)(o,"raws","value");o.value+="$",y&&(o.raws.value=y+"$");break}case O.caret:p[S.FIELDS.TYPE]===O.equals&&(o.operator=h,f="operator"),d=!1;break;case O.combinator:if(h==="~"&&p[S.FIELDS.TYPE]===O.equals&&(o.operator=h,f="operator"),h!=="|"){d=!1;break}p[S.FIELDS.TYPE]===O.equals?(o.operator=h,f="operator"):!o.namespace&&!o.attribute&&(o.namespace=!0),d=!1;break;case O.word:if(p&&this.content(p)==="|"&&r[a+2]&&r[a+2][S.FIELDS.TYPE]!==O.equals&&!o.operator&&!o.namespace)o.namespace=h,f="namespace";else if(!o.attribute||f==="attribute"&&!d){u&&((0,Z.ensureObject)(o,"spaces","attribute"),o.spaces.attribute.before=u,u=""),l&&((0,Z.ensureObject)(o,"raws","spaces","attribute"),o.raws.spaces.attribute.before=l,l=""),o.attribute=(o.attribute||"")+h;var _=(0,Z.getProp)(o,"raws","attribute")||null;_&&(o.raws.attribute+=h),f="attribute"}else if(!o.value&&o.value!==""||f==="value"&&!d){var E=(0,Z.unesc)(h),k=(0,Z.getProp)(o,"raws","value")||"",D=o.value||"";o.value=D+E,o.quoteMark=null,(E!==h||k)&&((0,Z.ensureObject)(o,"raws"),o.raws.value=(k||D)+h),f="value"}else{var R=h==="i"||h==="I";(o.value||o.value==="")&&(o.quoteMark||d)?(o.insensitive=R,(!R||h==="I")&&((0,Z.ensureObject)(o,"raws"),o.raws.insensitiveFlag=h),f="insensitive",u&&((0,Z.ensureObject)(o,"spaces","insensitive"),o.spaces.insensitive.before=u,u=""),l&&((0,Z.ensureObject)(o,"raws","spaces","insensitive"),o.raws.spaces.insensitive.before=l,l="")):(o.value||o.value==="")&&(f="value",o.value+=h,o.raws.value&&(o.raws.value+=h))}d=!1;break;case O.str:if(!o.attribute||!o.operator)return this.error("Expected an attribute followed by an operator preceding the string.",{index:b[S.FIELDS.START_POS]});var M=(0,Sa.unescapeValue)(h),U=M.unescaped,z=M.quoteMark;o.value=U,o.quoteMark=z,f="value",(0,Z.ensureObject)(o,"raws"),o.raws.value=h,d=!1;break;case O.equals:if(!o.attribute)return this.expected("attribute",b[S.FIELDS.START_POS],h);if(o.value)return this.error('Unexpected "=" found; an operator was already defined.',{index:b[S.FIELDS.START_POS]});o.operator=o.operator?o.operator+h:h,f="operator",d=!1;break;case O.comment:if(f)if(d||p&&p[S.FIELDS.TYPE]===O.space||f==="insensitive"){var V=(0,Z.getProp)(o,"spaces",f,"after")||"",W=(0,Z.getProp)(o,"raws","spaces",f,"after")||V;(0,Z.ensureObject)(o,"raws","spaces",f),o.raws.spaces[f].after=W+h}else{var G=o[f]||"",te=(0,Z.getProp)(o,"raws",f)||G;(0,Z.ensureObject)(o,"raws"),o.raws[f]=te+h}else l=l+h;break;default:return this.error('Unexpected "'+h+'" found.',{index:b[S.FIELDS.START_POS]})}a++}pt(o,"attribute"),pt(o,"namespace"),this.newNode(new Sa.default(o)),this.position++},t.parseWhitespaceEquivalentTokens=function(r){r<0&&(r=this.tokens.length);var i=this.position,s=[],o="",a=void 0;do if(Li[this.currToken[S.FIELDS.TYPE]])this.options.lossy||(o+=this.content());else if(this.currToken[S.FIELDS.TYPE]===O.comment){var u={};o&&(u.before=o,o=""),a=new _a.default({value:this.content(),source:dt(this.currToken),sourceIndex:this.currToken[S.FIELDS.START_POS],spaces:u}),s.push(a)}while(++this.position<r);if(o){if(a)a.spaces.after=o;else if(!this.options.lossy){var l=this.tokens[i],f=this.tokens[this.position-1];s.push(new Ei.default({value:"",source:et(l[S.FIELDS.START_LINE],l[S.FIELDS.START_COL],f[S.FIELDS.END_LINE],f[S.FIELDS.END_COL]),sourceIndex:l[S.FIELDS.START_POS],spaces:{before:o,after:""}}))}}return s},t.convertWhitespaceNodesToSpace=function(r,i){var s=this;i===void 0&&(i=!1);var o="",a="";r.forEach(function(l){var f=s.lossySpace(l.spaces.before,i),d=s.lossySpace(l.rawSpaceBefore,i);o+=f+s.lossySpace(l.spaces.after,i&&f.length===0),a+=f+l.value+s.lossySpace(l.rawSpaceAfter,i&&d.length===0)}),a===o&&(a=void 0);var u={space:o,rawSpace:a};return u},t.isNamedCombinator=function(r){return r===void 0&&(r=this.position),this.tokens[r+0]&&this.tokens[r+0][S.FIELDS.TYPE]===O.slash&&this.tokens[r+1]&&this.tokens[r+1][S.FIELDS.TYPE]===O.word&&this.tokens[r+2]&&this.tokens[r+2][S.FIELDS.TYPE]===O.slash},t.namedCombinator=function(){if(this.isNamedCombinator()){var r=this.content(this.tokens[this.position+1]),i=(0,Z.unesc)(r).toLowerCase(),s={};i!==r&&(s.value="/"+r+"/");var o=new Oi.default({value:"/"+i+"/",source:et(this.currToken[S.FIELDS.START_LINE],this.currToken[S.FIELDS.START_COL],this.tokens[this.position+2][S.FIELDS.END_LINE],this.tokens[this.position+2][S.FIELDS.END_COL]),sourceIndex:this.currToken[S.FIELDS.START_POS],raws:s});return this.position=this.position+3,o}else this.unexpected()},t.combinator=function(){var r=this;if(this.content()==="|")return this.namespace();var i=this.locateNextMeaningfulToken(this.position);if(i<0||this.tokens[i][S.FIELDS.TYPE]===O.comma){var s=this.parseWhitespaceEquivalentTokens(i);if(s.length>0){var o=this.current.last;if(o){var a=this.convertWhitespaceNodesToSpace(s),u=a.space,l=a.rawSpace;l!==void 0&&(o.rawSpaceAfter+=l),o.spaces.after+=u}else s.forEach(function(k){return r.newNode(k)})}return}var f=this.currToken,d=void 0;i>this.position&&(d=this.parseWhitespaceEquivalentTokens(i));var b;if(this.isNamedCombinator()?b=this.namedCombinator():this.currToken[S.FIELDS.TYPE]===O.combinator?(b=new Oi.default({value:this.content(),source:dt(this.currToken),sourceIndex:this.currToken[S.FIELDS.START_POS]}),this.position++):Li[this.currToken[S.FIELDS.TYPE]]||d||this.unexpected(),b){if(d){var h=this.convertWhitespaceNodesToSpace(d),p=h.space,g=h.rawSpace;b.spaces.before=p,b.rawSpaceBefore=g}}else{var w=this.convertWhitespaceNodesToSpace(d,!0),v=w.space,y=w.rawSpace;y||(y=v);var _={},E={spaces:{}};v.endsWith(" ")&&y.endsWith(" ")?(_.before=v.slice(0,v.length-1),E.spaces.before=y.slice(0,y.length-1)):v.startsWith(" ")&&y.startsWith(" ")?(_.after=v.slice(1),E.spaces.after=y.slice(1)):E.value=y,b=new Oi.default({value:" ",source:Ai(f,this.tokens[this.position-1]),sourceIndex:f[S.FIELDS.START_POS],spaces:_,raws:E})}return this.currToken&&this.currToken[S.FIELDS.TYPE]===O.space&&(b.spaces.after=this.optionalSpace(this.content()),this.position++),this.newNode(b)},t.comma=function(){if(this.position===this.tokens.length-1){this.root.trailingComma=!0,this.position++;return}this.current._inferEndPosition();var r=new Ti.default({source:{start:Ta(this.tokens[this.position+1])}});this.current.parent.append(r),this.current=r,this.position++},t.comment=function(){var r=this.currToken;this.newNode(new _a.default({value:this.content(),source:dt(r),sourceIndex:r[S.FIELDS.START_POS]})),this.position++},t.error=function(r,i){throw this.root.error(r,i)},t.missingBackslash=function(){return this.error("Expected a backslash preceding the semicolon.",{index:this.currToken[S.FIELDS.START_POS]})},t.missingParenthesis=function(){return this.expected("opening parenthesis",this.currToken[S.FIELDS.START_POS])},t.missingSquareBracket=function(){return this.expected("opening square bracket",this.currToken[S.FIELDS.START_POS])},t.unexpected=function(){return this.error("Unexpected '"+this.content()+"'. Escaping special characters with \\ may help.",this.currToken[S.FIELDS.START_POS])},t.namespace=function(){var r=this.prevToken&&this.content(this.prevToken)||!0;if(this.nextToken[S.FIELDS.TYPE]===O.word)return this.position++,this.word(r);if(this.nextToken[S.FIELDS.TYPE]===O.asterisk)return this.position++,this.universal(r)},t.nesting=function(){if(this.nextToken){var r=this.content(this.nextToken);if(r==="|"){this.position++;return}}var i=this.currToken;this.newNode(new dp.default({value:this.content(),source:dt(i),sourceIndex:i[S.FIELDS.START_POS]})),this.position++},t.parentheses=function(){var r=this.current.last,i=1;if(this.position++,r&&r.type===hp.PSEUDO){var s=new Ti.default({source:{start:Ta(this.tokens[this.position-1])}}),o=this.current;for(r.append(s),this.current=s;this.position<this.tokens.length&&i;)this.currToken[S.FIELDS.TYPE]===O.openParenthesis&&i++,this.currToken[S.FIELDS.TYPE]===O.closeParenthesis&&i--,i?this.parse():(this.current.source.end=Ea(this.currToken),this.current.parent.source.end=Ea(this.currToken),this.position++);this.current=o}else{for(var a=this.currToken,u="(",l;this.position<this.tokens.length&&i;)this.currToken[S.FIELDS.TYPE]===O.openParenthesis&&i++,this.currToken[S.FIELDS.TYPE]===O.closeParenthesis&&i--,l=this.currToken,u+=this.parseParenthesisToken(this.currToken),this.position++;r?r.appendToPropertyAndEscape("value",u,u):this.newNode(new Ei.default({value:u,source:et(a[S.FIELDS.START_LINE],a[S.FIELDS.START_COL],l[S.FIELDS.END_LINE],l[S.FIELDS.END_COL]),sourceIndex:a[S.FIELDS.START_POS]}))}if(i)return this.expected("closing parenthesis",this.currToken[S.FIELDS.START_POS])},t.pseudo=function(){for(var r=this,i="",s=this.currToken;this.currToken&&this.currToken[S.FIELDS.TYPE]===O.colon;)i+=this.content(),this.position++;if(!this.currToken)return this.expected(["pseudo-class","pseudo-element"],this.position-1);if(this.currToken[S.FIELDS.TYPE]===O.word)this.splitWord(!1,function(o,a){i+=o,r.newNode(new fp.default({value:i,source:Ai(s,r.currToken),sourceIndex:s[S.FIELDS.START_POS]})),a>1&&r.nextToken&&r.nextToken[S.FIELDS.TYPE]===O.openParenthesis&&r.error("Misplaced parenthesis.",{index:r.nextToken[S.FIELDS.START_POS]})});else return this.expected(["pseudo-class","pseudo-element"],this.currToken[S.FIELDS.START_POS])},t.space=function(){var r=this.content();this.position===0||this.prevToken[S.FIELDS.TYPE]===O.comma||this.prevToken[S.FIELDS.TYPE]===O.openParenthesis||this.current.nodes.every(function(i){return i.type==="comment"})?(this.spaces=this.optionalSpace(r),this.position++):this.position===this.tokens.length-1||this.nextToken[S.FIELDS.TYPE]===O.comma||this.nextToken[S.FIELDS.TYPE]===O.closeParenthesis?(this.current.last.spaces.after=this.optionalSpace(r),this.position++):this.combinator()},t.string=function(){var r=this.currToken;this.newNode(new Ei.default({value:this.content(),source:dt(r),sourceIndex:r[S.FIELDS.START_POS]})),this.position++},t.universal=function(r){var i=this.nextToken;if(i&&this.content(i)==="|")return this.position++,this.namespace();var s=this.currToken;this.newNode(new cp.default({value:this.content(),source:dt(s),sourceIndex:s[S.FIELDS.START_POS]}),r),this.position++},t.splitWord=function(r,i){for(var s=this,o=this.nextToken,a=this.content();o&&~[O.dollar,O.caret,O.equals,O.word].indexOf(o[S.FIELDS.TYPE]);){this.position++;var u=this.content();if(a+=u,u.lastIndexOf("\\")===u.length-1){var l=this.nextToken;l&&l[S.FIELDS.TYPE]===O.space&&(a+=this.requiredSpace(this.content(l)),this.position++)}o=this.nextToken}var f=Ii(a,".").filter(function(p){var g=a[p-1]==="\\",w=/^\d+\.\d+%$/.test(a);return!g&&!w}),d=Ii(a,"#").filter(function(p){return a[p-1]!=="\\"}),b=Ii(a,"#{");b.length&&(d=d.filter(function(p){return!~b.indexOf(p)}));var h=(0,pp.default)(vp([0].concat(f,d)));h.forEach(function(p,g){var w=h[g+1]||a.length,v=a.slice(p,w);if(g===0&&i)return i.call(s,v,h.length);var y,_=s.currToken,E=_[S.FIELDS.START_POS]+h[g],k=et(_[1],_[2]+p,_[3],_[2]+(w-1));if(~f.indexOf(p)){var D={value:v.slice(1),source:k,sourceIndex:E};y=new ap.default(pt(D,"value"))}else if(~d.indexOf(p)){var R={value:v.slice(1),source:k,sourceIndex:E};y=new up.default(pt(R,"value"))}else{var M={value:v,source:k,sourceIndex:E};pt(M,"value"),y=new lp.default(M)}s.newNode(y,r),r=null}),this.position++},t.word=function(r){var i=this.nextToken;return i&&this.content(i)==="|"?(this.position++,this.namespace()):this.splitWord(r)},t.loop=function(){for(;this.position<this.tokens.length;)this.parse(!0);return this.current._inferEndPosition(),this.root},t.parse=function(r){switch(this.currToken[S.FIELDS.TYPE]){case O.space:this.space();break;case O.comment:this.comment();break;case O.openParenthesis:this.parentheses();break;case O.closeParenthesis:r&&this.missingParenthesis();break;case O.openSquare:this.attribute();break;case O.dollar:case O.caret:case O.equals:case O.word:this.word();break;case O.colon:this.pseudo();break;case O.comma:this.comma();break;case O.asterisk:this.universal();break;case O.ampersand:this.nesting();break;case O.slash:case O.combinator:this.combinator();break;case O.str:this.string();break;case O.closeSquare:this.missingSquareBracket();case O.semicolon:this.missingBackslash();default:this.unexpected()}},t.expected=function(r,i,s){if(Array.isArray(r)){var o=r.pop();r=r.join(", ")+" or "+o}var a=/^[aeiou]/.test(r[0])?"an":"a";return s?this.error("Expected "+a+" "+r+', found "'+s+'" instead.',{index:i}):this.error("Expected "+a+" "+r+".",{index:i})},t.requiredSpace=function(r){return this.options.lossy?" ":r},t.optionalSpace=function(r){return this.options.lossy?"":r},t.lossySpace=function(r,i){return this.options.lossy?i?" ":"":r},t.parseParenthesisToken=function(r){var i=this.content(r);return r[S.FIELDS.TYPE]===O.space?this.requiredSpace(i):i},t.newNode=function(r,i){return i&&(/^ +$/.test(i)&&(this.options.lossy||(this.spaces=(this.spaces||"")+i),i=!0),r.namespace=i,pt(r,"namespace")),this.spaces&&(r.spaces.before=this.spaces,this.spaces=""),this.current.append(r)},t.content=function(r){return r===void 0&&(r=this.currToken),this.css.slice(r[S.FIELDS.START_POS],r[S.FIELDS.END_POS])},t.locateNextMeaningfulToken=function(r){r===void 0&&(r=this.position+1);for(var i=r;i<this.tokens.length;)if(gp[this.tokens[i][S.FIELDS.TYPE]]){i++;continue}else return i;return-1},mp(e,[{key:"currToken",get:function(){return this.tokens[this.position]}},{key:"nextToken",get:function(){return this.tokens[this.position+1]}},{key:"prevToken",get:function(){return this.tokens[this.position-1]}}]),e}();Jt.default=bp;Pa.exports=Jt.default});var La=L((Zt,Ia)=>{"use strict";c();Zt.__esModule=!0;Zt.default=void 0;var yp=xp(Aa());function xp(e){return e&&e.__esModule?e:{default:e}}var wp=function(){function e(n,r){this.func=n||function(){},this.funcRes=null,this.options=r}var t=e.prototype;return t._shouldUpdateSelector=function(r,i){i===void 0&&(i={});var s=Object.assign({},this.options,i);return s.updateSelector===!1?!1:typeof r!="string"},t._isLossy=function(r){r===void 0&&(r={});var i=Object.assign({},this.options,r);return i.lossless===!1},t._root=function(r,i){i===void 0&&(i={});var s=new yp.default(r,this._parseOptions(i));return s.root},t._parseOptions=function(r){return{lossy:this._isLossy(r)}},t._run=function(r,i){var s=this;return i===void 0&&(i={}),new Promise(function(o,a){try{var u=s._root(r,i);Promise.resolve(s.func(u)).then(function(l){var f=void 0;return s._shouldUpdateSelector(r,i)&&(f=u.toString(),r.selector=f),{transform:l,root:u,string:f}}).then(o,a)}catch(l){a(l);return}})},t._runSync=function(r,i){i===void 0&&(i={});var s=this._root(r,i),o=this.func(s);if(o&&typeof o.then=="function")throw new Error("Selector processor returned a promise to a synchronous call.");var a=void 0;return i.updateSelector&&typeof r!="string"&&(a=s.toString(),r.selector=a),{transform:o,root:s,string:a}},t.ast=function(r,i){return this._run(r,i).then(function(s){return s.root})},t.astSync=function(r,i){return this._runSync(r,i).root},t.transform=function(r,i){return this._run(r,i).then(function(s){return s.transform})},t.transformSync=function(r,i){return this._runSync(r,i).transform},t.process=function(r,i){return this._run(r,i).then(function(s){return s.string||s.root.toString()})},t.processSync=function(r,i){var s=this._runSync(r,i);return s.string||s.root.toString()},e}();Zt.default=wp;Ia.exports=Zt.default});var Ra=L(J=>{"use strict";c();J.__esModule=!0;J.universal=J.tag=J.string=J.selector=J.root=J.pseudo=J.nesting=J.id=J.comment=J.combinator=J.className=J.attribute=void 0;var _p=Se(gi()),Sp=Se(Zn()),kp=Se(xi()),Tp=Se(ti()),Ep=Se(ni()),Op=Se(_i()),Pp=Se(fi()),Ap=Se(Yn()),Ip=Se(Qn()),Lp=Se(ui()),Rp=Se(si()),Cp=Se(bi());function Se(e){return e&&e.__esModule?e:{default:e}}var Dp=function(t){return new _p.default(t)};J.attribute=Dp;var Mp=function(t){return new Sp.default(t)};J.className=Mp;var Fp=function(t){return new kp.default(t)};J.combinator=Fp;var Np=function(t){return new Tp.default(t)};J.comment=Np;var Wp=function(t){return new Ep.default(t)};J.id=Wp;var qp=function(t){return new Op.default(t)};J.nesting=qp;var $p=function(t){return new Pp.default(t)};J.pseudo=$p;var Bp=function(t){return new Ap.default(t)};J.root=Bp;var Up=function(t){return new Ip.default(t)};J.selector=Up;var zp=function(t){return new Lp.default(t)};J.string=zp;var Gp=function(t){return new Rp.default(t)};J.tag=Gp;var jp=function(t){return new Cp.default(t)};J.universal=jp});var Fa=L(j=>{"use strict";c();j.__esModule=!0;j.isNode=Ri;j.isPseudoElement=Ma;j.isPseudoClass=rh;j.isContainer=nh;j.isNamespace=ih;j.isUniversal=j.isTag=j.isString=j.isSelector=j.isRoot=j.isPseudo=j.isNesting=j.isIdentifier=j.isComment=j.isCombinator=j.isClassName=j.isAttribute=void 0;var ee=ae(),pe,Hp=(pe={},pe[ee.ATTRIBUTE]=!0,pe[ee.CLASS]=!0,pe[ee.COMBINATOR]=!0,pe[ee.COMMENT]=!0,pe[ee.ID]=!0,pe[ee.NESTING]=!0,pe[ee.PSEUDO]=!0,pe[ee.ROOT]=!0,pe[ee.SELECTOR]=!0,pe[ee.STRING]=!0,pe[ee.TAG]=!0,pe[ee.UNIVERSAL]=!0,pe);function Ri(e){return typeof e=="object"&&Hp[e.type]}function ke(e,t){return Ri(t)&&t.type===e}var Ca=ke.bind(null,ee.ATTRIBUTE);j.isAttribute=Ca;var Vp=ke.bind(null,ee.CLASS);j.isClassName=Vp;var Yp=ke.bind(null,ee.COMBINATOR);j.isCombinator=Yp;var Xp=ke.bind(null,ee.COMMENT);j.isComment=Xp;var Qp=ke.bind(null,ee.ID);j.isIdentifier=Qp;var Kp=ke.bind(null,ee.NESTING);j.isNesting=Kp;var Ci=ke.bind(null,ee.PSEUDO);j.isPseudo=Ci;var Jp=ke.bind(null,ee.ROOT);j.isRoot=Jp;var Zp=ke.bind(null,ee.SELECTOR);j.isSelector=Zp;var eh=ke.bind(null,ee.STRING);j.isString=eh;var Da=ke.bind(null,ee.TAG);j.isTag=Da;var th=ke.bind(null,ee.UNIVERSAL);j.isUniversal=th;function Ma(e){return Ci(e)&&e.value&&(e.value.startsWith("::")||e.value.toLowerCase()===":before"||e.value.toLowerCase()===":after"||e.value.toLowerCase()===":first-letter"||e.value.toLowerCase()===":first-line")}function rh(e){return Ci(e)&&!Ma(e)}function nh(e){return!!(Ri(e)&&e.walk)}function ih(e){return Ca(e)||Da(e)}});var Na=L(Pe=>{"use strict";c();Pe.__esModule=!0;var Di=ae();Object.keys(Di).forEach(function(e){e==="default"||e==="__esModule"||e in Pe&&Pe[e]===Di[e]||(Pe[e]=Di[e])});var Mi=Ra();Object.keys(Mi).forEach(function(e){e==="default"||e==="__esModule"||e in Pe&&Pe[e]===Mi[e]||(Pe[e]=Mi[e])});var Fi=Fa();Object.keys(Fi).forEach(function(e){e==="default"||e==="__esModule"||e in Pe&&Pe[e]===Fi[e]||(Pe[e]=Fi[e])})});var $a=L((er,qa)=>{"use strict";c();er.__esModule=!0;er.default=void 0;var oh=uh(La()),sh=ah(Na());function Wa(){if(typeof WeakMap!="function")return null;var e=new WeakMap;return Wa=function(){return e},e}function ah(e){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=Wa();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var s=r?Object.getOwnPropertyDescriptor(e,i):null;s&&(s.get||s.set)?Object.defineProperty(n,i,s):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}function uh(e){return e&&e.__esModule?e:{default:e}}var Ni=function(t){return new oh.default(t)};Object.assign(Ni,sh);delete Ni.__esModule;var lh=Ni;er.default=lh;qa.exports=er.default});var Ba=L(Wi=>{"use strict";c();Object.defineProperty(Wi,"__esModule",{value:!0});Object.defineProperty(Wi,"default",{enumerable:!0,get:()=>fh});function fh(e){return e.replace(/\\,/g,"\\2c ")}});var za=L((ev,Ua)=>{"use strict";c();Ua.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}});var $i=L(qi=>{"use strict";c();Object.defineProperty(qi,"__esModule",{value:!0});function ch(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}ch(qi,{parseColor:()=>vh,formatColor:()=>bh});var Ga=dh(za());function dh(e){return e&&e.__esModule?e:{default:e}}var ph=/^#([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})?$/i,hh=/^#([a-f\d])([a-f\d])([a-f\d])([a-f\d])?$/i,je=/(?:\d+|\d*\.\d+)%?/,Yr=/(?:\s*,\s*|\s+)/,ja=/\s*[,/]\s*/,He=/var\(--(?:[^ )]*?)\)/,mh=new RegExp(`^(rgb)a?\\(\\s*(${je.source}|${He.source})(?:${Yr.source}(${je.source}|${He.source}))?(?:${Yr.source}(${je.source}|${He.source}))?(?:${ja.source}(${je.source}|${He.source}))?\\s*\\)$`),gh=new RegExp(`^(hsl)a?\\(\\s*((?:${je.source})(?:deg|rad|grad|turn)?|${He.source})(?:${Yr.source}(${je.source}|${He.source}))?(?:${Yr.source}(${je.source}|${He.source}))?(?:${ja.source}(${je.source}|${He.source}))?\\s*\\)$`);function vh(e,{loose:t=!1}={}){var n,r;if(typeof e!="string")return null;if(e=e.trim(),e==="transparent")return{mode:"rgb",color:["0","0","0"],alpha:"0"};if(e in Ga.default)return{mode:"rgb",color:Ga.default[e].map(u=>u.toString())};let i=e.replace(hh,(u,l,f,d,b)=>["#",l,l,f,f,d,d,b?b+b:""].join("")).match(ph);if(i!==null)return{mode:"rgb",color:[parseInt(i[1],16),parseInt(i[2],16),parseInt(i[3],16)].map(u=>u.toString()),alpha:i[4]?(parseInt(i[4],16)/255).toString():void 0};var s;let o=(s=e.match(mh))!==null&&s!==void 0?s:e.match(gh);if(o===null)return null;let a=[o[2],o[3],o[4]].filter(Boolean).map(u=>u.toString());return!t&&a.length!==3||a.length<3&&!a.some(u=>/^var\(.*?\)$/.test(u))?null:{mode:o[1],color:a,alpha:(n=o[5])===null||n===void 0||(r=n.toString)===null||r===void 0?void 0:r.call(n)}}function bh({mode:e,color:t,alpha:n}){let r=n!==void 0;return`${e}(${t.join(" ")}${r?` / ${n}`:""})`}});var Ui=L(Bi=>{"use strict";c();Object.defineProperty(Bi,"__esModule",{value:!0});function yh(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}yh(Bi,{withAlphaValue:()=>xh,default:()=>wh});var Xr=$i();function xh(e,t,n){if(typeof e=="function")return e({opacityValue:t});let r=(0,Xr.parseColor)(e,{loose:!0});return r===null?n:(0,Xr.formatColor)({...r,alpha:t})}function wh({color:e,property:t,variable:n}){let r=[].concat(t);if(typeof e=="function")return{[n]:"1",...Object.fromEntries(r.map(s=>[s,e({opacityVariable:n,opacityValue:`var(${n})`})]))};let i=(0,Xr.parseColor)(e);return i===null?Object.fromEntries(r.map(s=>[s,e])):i.alpha!==void 0?Object.fromEntries(r.map(s=>[s,e])):{[n]:"1",...Object.fromEntries(r.map(s=>[s,(0,Xr.formatColor)({...i,alpha:`var(${n})`})]))}}});var Qa=L(zi=>{"use strict";c();Object.defineProperty(zi,"__esModule",{value:!0});function _h(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}_h(zi,{pattern:()=>kh,withoutCapturing:()=>Va,any:()=>Ya,optional:()=>Th,zeroOrMore:()=>Eh,nestedBrackets:()=>Xa,escape:()=>tt});var Ha=/[\\^$.*+?()[\]{}|]/g,Sh=RegExp(Ha.source);function tr(e){return e=Array.isArray(e)?e:[e],e=e.map(t=>t instanceof RegExp?t.source:t),e.join("")}function kh(e){return new RegExp(tr(e),"g")}function Va(e){return new RegExp(`(?:${tr(e)})`,"g")}function Ya(e){return`(?:${e.map(tr).join("|")})`}function Th(e){return`(?:${tr(e)})?`}function Eh(e){return`(?:${tr(e)})*`}function Xa(e,t,n=1){return Va([tt(e),/[^\s]*/,n===1?`[^${tt(e)}${tt(t)}s]*`:Ya([`[^${tt(e)}${tt(t)}s]*`,Xa(e,t,n-1)]),/[^\s]*/,tt(t)])}function tt(e){return e&&Sh.test(e)?e.replace(Ha,"\\$&"):e||""}});var Ja=L(Gi=>{"use strict";c();Object.defineProperty(Gi,"__esModule",{value:!0});Object.defineProperty(Gi,"splitAtTopLevelOnly",{enumerable:!0,get:()=>Ah});var Oh=Ph(Qa());function Ka(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,n=new WeakMap;return(Ka=function(r){return r?n:t})(e)}function Ph(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var n=Ka(t);if(n&&n.has(e))return n.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if(s!=="default"&&Object.prototype.hasOwnProperty.call(e,s)){var o=i?Object.getOwnPropertyDescriptor(e,s):null;o&&(o.get||o.set)?Object.defineProperty(r,s,o):r[s]=e[s]}return r.default=e,n&&n.set(e,r),r}function*Ah(e,t){let n=new RegExp(`[(){}\\[\\]${Oh.escape(t)}]`,"g"),r=0,i=0,s=!1,o=0,a=0,u=t.length;for(let l of e.matchAll(n)){let f=l[0]===t[o],d=o===u-1,b=f&&d;l[0]==="("&&r++,l[0]===")"&&r--,l[0]==="["&&r++,l[0]==="]"&&r--,l[0]==="{"&&r++,l[0]==="}"&&r--,f&&r===0&&(a===0&&(a=l.index),o++),b&&r===0&&(s=!0,yield e.substring(i,a),i=a+u),o===u&&(o=0,a=0)}s?yield e.substring(i):yield e}});var eu=L(ji=>{"use strict";c();Object.defineProperty(ji,"__esModule",{value:!0});function Ih(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}Ih(ji,{parseBoxShadowValue:()=>Dh,formatBoxShadowValue:()=>Mh});var Lh=Ja(),Rh=new Set(["inset","inherit","initial","revert","unset"]),Ch=/\ +(?![^(]*\))/g,Za=/^-?(\d+|\.\d+)(.*?)$/g;function Dh(e){return Array.from((0,Lh.splitAtTopLevelOnly)(e,",")).map(n=>{let r=n.trim(),i={raw:r},s=r.split(Ch),o=new Set;for(let a of s)Za.lastIndex=0,!o.has("KEYWORD")&&Rh.has(a)?(i.keyword=a,o.add("KEYWORD")):Za.test(a)?o.has("X")?o.has("Y")?o.has("BLUR")?o.has("SPREAD")||(i.spread=a,o.add("SPREAD")):(i.blur=a,o.add("BLUR")):(i.y=a,o.add("Y")):(i.x=a,o.add("X")):i.color?(i.unknown||(i.unknown=[]),i.unknown.push(a)):i.color=a;return i.valid=i.x!==void 0&&i.y!==void 0,i})}function Mh(e){return e.map(t=>t.valid?[t.keyword,t.x,t.y,t.blur,t.spread,t.color].filter(Boolean).join(" "):t.raw).join(", ")}});var au=L(Vi=>{"use strict";c();Object.defineProperty(Vi,"__esModule",{value:!0});function Fh(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}Fh(Vi,{normalize:()=>Ve,url:()=>nu,number:()=>qh,percentage:()=>iu,length:()=>ou,lineWidth:()=>Uh,shadow:()=>zh,color:()=>Gh,image:()=>jh,gradient:()=>su,position:()=>Yh,familyName:()=>Xh,genericName:()=>Kh,absoluteSize:()=>Zh,relativeSize:()=>t0});var Nh=$i(),Wh=eu(),Hi=["min","max","clamp","calc"],ru=/,(?![^(]*\))/g,Qr=/_(?![^(]*\))/g;function Ve(e,t=!0){return e.includes("url(")?e.split(/(url\(.*?\))/g).filter(Boolean).map(n=>/^url\(.*?\)$/.test(n)?n:Ve(n,!1)).join(""):(e=e.replace(/([^\\])_+/g,(n,r)=>r+" ".repeat(n.length-1)).replace(/^_/g," ").replace(/\\_/g,"_"),t&&(e=e.trim()),e=e.replace(/(calc|min|max|clamp)\(.+\)/g,n=>n.replace(/(-?\d*\.?\d(?!\b-.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g,"$1 $2 ")),e)}function nu(e){return e.startsWith("url(")}function qh(e){return!isNaN(Number(e))||Hi.some(t=>new RegExp(`^${t}\\(.+?`).test(e))}function iu(e){return e.split(Qr).every(t=>/%$/g.test(t)||Hi.some(n=>new RegExp(`^${n}\\(.+?%`).test(t)))}var $h=["cm","mm","Q","in","pc","pt","px","em","ex","ch","rem","lh","vw","vh","vmin","vmax"],tu=`(?:${$h.join("|")})`;function ou(e){return e.split(Qr).every(t=>t==="0"||new RegExp(`${tu}$`).test(t)||Hi.some(n=>new RegExp(`^${n}\\(.+?${tu}`).test(t)))}var Bh=new Set(["thin","medium","thick"]);function Uh(e){return Bh.has(e)}function zh(e){let t=(0,Wh.parseBoxShadowValue)(Ve(e));for(let n of t)if(!n.valid)return!1;return!0}function Gh(e){let t=0;return e.split(Qr).every(r=>(r=Ve(r),r.startsWith("var(")?!0:(0,Nh.parseColor)(r,{loose:!0})!==null?(t++,!0):!1))?t>0:!1}function jh(e){let t=0;return e.split(ru).every(r=>(r=Ve(r),r.startsWith("var(")?!0:nu(r)||su(r)||["element(","image(","cross-fade(","image-set("].some(i=>r.startsWith(i))?(t++,!0):!1))?t>0:!1}var Hh=new Set(["linear-gradient","radial-gradient","repeating-linear-gradient","repeating-radial-gradient","conic-gradient"]);function su(e){e=Ve(e);for(let t of Hh)if(e.startsWith(`${t}(`))return!0;return!1}var Vh=new Set(["center","top","right","bottom","left"]);function Yh(e){let t=0;return e.split(Qr).every(r=>(r=Ve(r),r.startsWith("var(")?!0:Vh.has(r)||ou(r)||iu(r)?(t++,!0):!1))?t>0:!1}function Xh(e){let t=0;return e.split(ru).every(r=>(r=Ve(r),r.startsWith("var(")?!0:r.includes(" ")&&!/(['"])([^"']+)\1/g.test(r)||/^\d/g.test(r)?!1:(t++,!0)))?t>0:!1}var Qh=new Set(["serif","sans-serif","monospace","cursive","fantasy","system-ui","ui-serif","ui-sans-serif","ui-monospace","ui-rounded","math","emoji","fangsong"]);function Kh(e){return Qh.has(e)}var Jh=new Set(["xx-small","x-small","small","medium","large","x-large","x-large","xxx-large"]);function Zh(e){return Jh.has(e)}var e0=new Set(["larger","smaller"]);function t0(e){return e0.has(e)}});var mu=L(Qi=>{"use strict";c();Object.defineProperty(Qi,"__esModule",{value:!0});function r0(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}r0(Qi,{updateAllClasses:()=>o0,asValue:()=>nr,parseColorFormat:()=>Yi,asColor:()=>du,asLookupValue:()=>pu,coerceValue:()=>l0});var n0=Xi($a()),i0=Xi(Ba()),uu=Ui(),he=au(),lu=Xi(Dn());function Xi(e){return e&&e.__esModule?e:{default:e}}function o0(e,t){return(0,n0.default)(i=>{i.walkClasses(s=>{let o=t(s.value);s.value=o,s.raws&&s.raws.value&&(s.raws.value=(0,i0.default)(s.raws.value))})}).processSync(e)}function cu(e,t){if(!rr(e))return;let n=e.slice(1,-1);if(!!t(n))return(0,he.normalize)(n)}function s0(e,t={},n){let r=t[e];if(r!==void 0)return(0,lu.default)(r);if(rr(e)){let i=cu(e,n);return i===void 0?void 0:(0,lu.default)(i)}}function nr(e,t={},{validate:n=()=>!0}={}){var r;let i=(r=t.values)===null||r===void 0?void 0:r[e];return i!==void 0?i:t.supportsNegativeValues&&e.startsWith("-")?s0(e.slice(1),t.values,n):cu(e,n)}function rr(e){return e.startsWith("[")&&e.endsWith("]")}function a0(e){let t=e.lastIndexOf("/");return t===-1||t===e.length-1?[e]:[e.slice(0,t),e.slice(t+1)]}function Yi(e){if(typeof e=="string"&&e.includes("<alpha-value>")){let t=e;return({opacityValue:n=1})=>t.replace("<alpha-value>",n)}return e}function du(e,t={},{tailwindConfig:n={}}={}){var r;if(((r=t.values)===null||r===void 0?void 0:r[e])!==void 0){var i;return Yi((i=t.values)===null||i===void 0?void 0:i[e])}let[s,o]=a0(e);if(o!==void 0){var a,u,l,f;let d=(f=(a=t.values)===null||a===void 0?void 0:a[s])!==null&&f!==void 0?f:rr(s)?s.slice(1,-1):void 0;return d===void 0?void 0:(d=Yi(d),rr(o)?(0,uu.withAlphaValue)(d,o.slice(1,-1)):((u=n.theme)===null||u===void 0||(l=u.opacity)===null||l===void 0?void 0:l[o])===void 0?void 0:(0,uu.withAlphaValue)(d,n.theme.opacity[o]))}return nr(e,t,{validate:he.color})}function pu(e,t={}){var n;return(n=t.values)===null||n===void 0?void 0:n[e]}function Te(e){return(t,n)=>nr(t,n,{validate:e})}var hu={any:nr,color:du,url:Te(he.url),image:Te(he.image),length:Te(he.length),percentage:Te(he.percentage),position:Te(he.position),lookup:pu,"generic-name":Te(he.genericName),"family-name":Te(he.familyName),number:Te(he.number),"line-width":Te(he.lineWidth),"absolute-size":Te(he.absoluteSize),"relative-size":Te(he.relativeSize),shadow:Te(he.shadow)},fu=Object.keys(hu);function u0(e,t){let n=e.indexOf(t);return n===-1?[void 0,e]:[e.slice(0,n),e.slice(n+1)]}function l0(e,t,n,r){if(rr(t)){let i=t.slice(1,-1),[s,o]=u0(i,":");if(!/^[\w-_]+$/g.test(s))o=i;else if(s!==void 0&&!fu.includes(s))return[];if(o.length>0&&fu.includes(s))return[nr(`[${o}]`,n),s]}for(let i of[].concat(e)){let s=hu[i](t,n,{tailwindConfig:r});if(s!==void 0)return[s,i]}return[]}});var gu=L(Ki=>{"use strict";c();Object.defineProperty(Ki,"__esModule",{value:!0});Object.defineProperty(Ki,"default",{enumerable:!0,get:()=>f0});function f0(e){return typeof e=="function"?e({}):e}});var wu=L(Zi=>{"use strict";c();Object.defineProperty(Zi,"__esModule",{value:!0});Object.defineProperty(Zi,"default",{enumerable:!0,get:()=>I0});var c0=rt(Dn()),d0=rt(ks()),p0=rt(Ts()),h0=rt(Nn()),m0=rt(Os()),yu=Ps(),vu=As(),g0=Ls(),v0=rt(Rs()),b0=Cs(),y0=mu(),x0=Ui(),w0=rt(gu());function rt(e){return e&&e.__esModule?e:{default:e}}function ht(e){return typeof e=="function"}function ir(e){return typeof e=="object"&&e!==null}function or(e,...t){let n=t.pop();for(let r of t)for(let i in r){let s=n(e[i],r[i]);s===void 0?ir(e[i])&&ir(r[i])?e[i]=or(e[i],r[i],n):e[i]=r[i]:e[i]=s}return e}var Ji={colors:m0.default,negative(e){return Object.keys(e).filter(t=>e[t]!=="0").reduce((t,n)=>{let r=(0,c0.default)(e[n]);return r!==void 0&&(t[`-${n}`]=r),t},{})},breakpoints(e){return Object.keys(e).filter(t=>typeof e[t]=="string").reduce((t,n)=>({...t,[`screen-${n}`]:e[n]}),{})}};function _0(e,...t){return ht(e)?e(...t):e}function S0(e){return e.reduce((t,{extend:n})=>or(t,n,(r,i)=>r===void 0?[i]:Array.isArray(r)?[i,...r]:[i,r]),{})}function k0(e){return{...e.reduce((t,n)=>(0,yu.defaults)(t,n),{}),extend:S0(e)}}function bu(e,t){if(Array.isArray(e)&&ir(e[0]))return e.concat(t);if(Array.isArray(t)&&ir(t[0])&&ir(e))return[e,...t];if(Array.isArray(t))return t}function T0({extend:e,...t}){return or(t,e,(n,r)=>!ht(n)&&!r.some(ht)?or({},n,...r,bu):(i,s)=>or({},...[n,...r].map(o=>_0(o,i,s)),bu))}function*E0(e){let t=(0,vu.toPath)(e);if(t.length===0||(yield t,Array.isArray(e)))return;let n=/^(.*?)\s*\/\s*([^/]+)$/,r=e.match(n);if(r!==null){let[,i,s]=r,o=(0,vu.toPath)(i);o.alpha=s,yield o}}function O0(e){let t=(n,r)=>{for(let i of E0(n)){let s=0,o=e;for(;o!=null&&s<i.length;)o=o[i[s++]],o=ht(o)&&(i.alpha===void 0||s<=i.length-1)?o(t,Ji):o;if(o!==void 0){if(i.alpha!==void 0){let a=(0,y0.parseColorFormat)(o);return(0,x0.withAlphaValue)(a,i.alpha,(0,w0.default)(a))}return(0,v0.default)(o)?(0,b0.cloneDeep)(o):o}}return r};return Object.assign(t,{theme:t,...Ji}),Object.keys(e).reduce((n,r)=>(n[r]=ht(e[r])?e[r](t,Ji):e[r],n),{})}function xu(e){let t=[];return e.forEach(n=>{t=[...t,n];var r;let i=(r=n==null?void 0:n.plugins)!==null&&r!==void 0?r:[];i.length!==0&&i.forEach(s=>{s.__isOptionsFunction&&(s=s());var o;t=[...t,...xu([(o=s==null?void 0:s.config)!==null&&o!==void 0?o:{}])]})}),t}function P0(e){return[...e].reduceRight((n,r)=>ht(r)?r({corePlugins:n}):(0,p0.default)(r,n),d0.default)}function A0(e){return[...e].reduceRight((n,r)=>[...n,...r],[])}function I0(e){let t=[...xu(e),{prefix:"",important:!1,separator:":",variantOrder:h0.default.variantOrder}];var n,r;return(0,g0.normalizeConfig)((0,yu.defaults)({theme:O0(T0(k0(t.map(i=>(n=i==null?void 0:i.theme)!==null&&n!==void 0?n:{})))),corePlugins:P0(t.map(i=>i.corePlugins)),plugins:A0(e.map(i=>(r=i==null?void 0:i.plugins)!==null&&r!==void 0?r:[]))},...t))}});var _u={};xr(_u,{default:()=>L0});var L0,Su=yr(()=>{c();L0={yellow:e=>e}});var Ou=L(eo=>{"use strict";c();Object.defineProperty(eo,"__esModule",{value:!0});function R0(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}R0(eo,{flagEnabled:()=>M0,issueFlagNotices:()=>F0,default:()=>N0});var C0=Eu((Su(),xt(_u))),D0=Eu((Mr(),xt(Dr)));function Eu(e){return e&&e.__esModule?e:{default:e}}var ku={optimizeUniversalDefaults:!1},sr={future:["hoverOnlyWhenSupported","respectDefaultRingColorOpacity"],experimental:["optimizeUniversalDefaults","matchVariant"]};function M0(e,t){if(sr.future.includes(t)){var n,r,i;return e.future==="all"||((i=(r=e==null||(n=e.future)===null||n===void 0?void 0:n[t])!==null&&r!==void 0?r:ku[t])!==null&&i!==void 0?i:!1)}if(sr.experimental.includes(t)){var s,o,a;return e.experimental==="all"||((a=(o=e==null||(s=e.experimental)===null||s===void 0?void 0:s[t])!==null&&o!==void 0?o:ku[t])!==null&&a!==void 0?a:!1)}return!1}function Tu(e){if(e.experimental==="all")return sr.experimental;var t;return Object.keys((t=e==null?void 0:e.experimental)!==null&&t!==void 0?t:{}).filter(n=>sr.experimental.includes(n)&&e.experimental[n])}function F0(e){if(process.env.JEST_WORKER_ID===void 0&&Tu(e).length>0){let t=Tu(e).map(n=>C0.default.yellow(n)).join(", ");D0.default.warn("experimental-flags-enabled",[`You have enabled experimental features: ${t}`,"Experimental features in Tailwind CSS are not covered by semver, may introduce breaking changes, and can change at any time."])}}var N0=sr});var Au=L(to=>{"use strict";c();Object.defineProperty(to,"__esModule",{value:!0});Object.defineProperty(to,"default",{enumerable:!0,get:()=>Pu});var W0=$0(Nn()),q0=Ou();function $0(e){return e&&e.__esModule?e:{default:e}}function Pu(e){var t;let n=((t=e==null?void 0:e.presets)!==null&&t!==void 0?t:[W0.default]).slice().reverse().flatMap(s=>Pu(typeof s=="function"?s():s)),r={respectDefaultRingColorOpacity:{theme:{ringColor:{DEFAULT:"#3b82f67f"}}}},i=Object.keys(r).filter(s=>(0,q0.flagEnabled)(e,s)).map(s=>r[s]);return[e,...i,...n]}});var Lu=L(ro=>{"use strict";c();Object.defineProperty(ro,"__esModule",{value:!0});Object.defineProperty(ro,"default",{enumerable:!0,get:()=>z0});var B0=Iu(wu()),U0=Iu(Au());function Iu(e){return e&&e.__esModule?e:{default:e}}function z0(...e){let[,...t]=(0,U0.default)(e[0]);return(0,B0.default)([...e,...t])}});var Cu=L((pv,Ru)=>{c();var no=Lu();Ru.exports=(no.__esModule?no:{default:no}).default});var lm={};xr(lm,{default:()=>_o,init:()=>Do});module.exports=xt(lm);c();c();c();var lt;function Do(e){lt=e}var wt=null;async function Me(){return lt||(wt?(await wt,lt):(wt=Promise.resolve().then(()=>(Co(),Ro)).then(e=>e.getYogaModule()).then(e=>lt=e),await wt,wt=null,lt))}c();c();c();var _t=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),ml=_t((e,t)=>{t.exports=["em","ex","ch","rem","vh","vw","vmin","vmax","px","mm","cm","in","pt","pc","mozmm"]}),gl=_t((e,t)=>{t.exports=["deg","grad","rad","turn"]}),vl=_t((e,t)=>{t.exports=["dpi","dpcm","dppx"]}),bl=_t((e,t)=>{t.exports=["Hz","kHz"]}),yl=_t((e,t)=>{t.exports=["s","ms"]}),xl=ml(),Mo=gl(),Fo=vl(),No=bl(),Wo=yl();function fn(e){if(/\.\D?$/.test(e))throw new Error("The dot should be followed by a number");if(/^[+-]{2}/.test(e))throw new Error("Only one leading +/- is allowed");if(wl(e)>1)throw new Error("Only one dot is allowed");if(/%$/.test(e)){this.type="percentage",this.value=ln(e),this.unit="%";return}var t=Sl(e);if(!t){this.type="number",this.value=ln(e);return}this.type=Tl(t),this.value=ln(e.substr(0,e.length-t.length)),this.unit=t}fn.prototype.valueOf=function(){return this.value};fn.prototype.toString=function(){return this.value+(this.unit||"")};function Ge(e){return new fn(e)}function wl(e){var t=e.match(/\./g);return t?t.length:0}function ln(e){var t=parseFloat(e);if(isNaN(t))throw new Error("Invalid number: "+e);return t}var _l=[].concat(Mo,No,xl,Fo,Wo);function Sl(e){var t=e.match(/\D+$/),n=t&&t[0];if(n&&_l.indexOf(n)===-1)throw new Error("Invalid unit: "+n);return n}var kl=Object.assign(wr(Mo,"angle"),wr(No,"frequency"),wr(Fo,"resolution"),wr(Wo,"time"));function wr(e,t){return Object.fromEntries(e.map(n=>[n,t]))}function Tl(e){return kl[e]||"length"}var qo=Je(require("linebreak"),1);function hn(e){let t=typeof e;return!(t==="number"||t==="bigint"||t==="string"||t==="boolean")}function $o(e){return/^class\s/.test(e.toString())}function Bo(e){return"dangerouslySetInnerHTML"in e}function Uo(e){let t=typeof e>"u"?[]:[].concat(e).flat(1/0),n=[];for(let r=0;r<t.length;r++){let i=t[r];typeof i>"u"||typeof i=="boolean"||i===null||(typeof i=="number"&&(i=String(i)),typeof i=="string"&&n.length&&typeof n[n.length-1]=="string"?n[n.length-1]+=i:n.push(i))}return n}function xe(e,t,n,r,i=!1){if(typeof e=="number")return e;try{if(e=e.trim(),/[ /\(,]/.test(e))return;if(e===String(+e))return+e;let s=new Ge(e);if(s.type==="length")switch(s.unit){case"em":return s.value*t;case"rem":return s.value*16;case"vw":return~~(s.value*r._viewportWidth/100);case"vh":return~~(s.value*r._viewportHeight/100);default:return s.value}else if(s.type==="angle")switch(s.unit){case"deg":return s.value;case"rad":return s.value*180/Math.PI;default:return s.value}else if(s.type==="percentage"&&i)return s.value/100*n}catch{}}function St(e,t){return[e[0]*t[0]+e[2]*t[1],e[1]*t[0]+e[3]*t[1],e[0]*t[2]+e[2]*t[3],e[1]*t[2]+e[3]*t[3],e[0]*t[4]+e[2]*t[5]+e[4],e[1]*t[4]+e[3]*t[5]+e[5]]}function de(e,t,n,r){let i=t[e];if(typeof i>"u"){if(r&&typeof e<"u")throw new Error(`Invalid value for CSS property "${r}". Allowed values: ${Object.keys(t).map(s=>`"${s}"`).join(" | ")}. Received: "${e}".`);i=n}return i}var cn,dn,zo=[32,160,4961,65792,65793,4153,4241,10].map(e=>String.fromCodePoint(e));function ce(e,t,n){if(!cn||!dn){if(!(typeof Intl<"u"&&"Segmenter"in Intl))throw new Error("Intl.Segmenter does not exist, please use import a polyfill.");cn=new Intl.Segmenter(n,{granularity:"word"}),dn=new Intl.Segmenter(n,{granularity:"grapheme"})}if(t==="grapheme")return[...dn.segment(e)].map(r=>r.segment);{let r=[...cn.segment(e)].map(o=>o.segment),i=[],s=0;for(;s<r.length;){let o=r[s];if(o=="\xA0"){let a=s===0?"":i.pop(),u=s===r.length-1?"":r[s+1];i.push(a+"\xA0"+u),s+=2}else i.push(o),s++}return i}}function A(e,t,n){let r="";for(let[i,s]of Object.entries(t))typeof s<"u"&&(r+=` ${i}="${s}"`);return n?`<${e}${r}>${n}</${e}>`:`<${e}${r}/>`}function Go(e=20){let t=new Map;function n(i,s){if(t.size>=e){let o=t.keys().next().value;t.delete(o)}t.set(i,s)}function r(i){if(!t.has(i))return;let o=t.get(i);return t.delete(i),t.set(i,o),o}return{set:n,get:r}}var jo={accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",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",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",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",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",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",xlinkActuate:"xlink:actuate",xlinkArcrole:"xlink:arcrole",xlinkHref:"xlink:href",xlinkRole:"xlink:role",xlinkShow:"xlink:show",xlinkTitle:"xlink:title",xlinkType:"xlink:type",xmlBase:"xml:base",xmlLang:"xml:lang",xmlSpace:"xml:space",xmlnsXlink:"xmlns:xlink"},El=/[\r\n%#()<>?[\\\]^`{|}"']/g;function pn(e,t){if(!e)return"";if(Array.isArray(e))return e.map(a=>pn(a,t)).join("");if(typeof e!="object")return String(e);let n=e.type;if(n==="text")throw new Error("<text> nodes are not currently supported, please convert them to <path>");let{children:r,style:i,...s}=e.props||{},o=(i==null?void 0:i.color)||t;return`<${n}${Object.entries(s).map(([a,u])=>(typeof u=="string"&&u.toLowerCase()==="currentcolor"&&(u=o),` ${jo[a]||a}="${u}"`)).join("")}>${pn(r,o)}</${n}>`}function kt(e){return e?e.split(/[, ]/).filter(Boolean).map(Number):null}function Ho(e,t){let{viewBox:n,viewbox:r,width:i,height:s,className:o,style:a,children:u,...l}=e.props||{};n||=r,l.xmlns="http://www.w3.org/2000/svg";let f=(a==null?void 0:a.color)||t,d=kt(n),b=d?d[3]/d[2]:null;return i=i||b&&s?s/b:null,s=s||b&&i?i*b:null,l.width=i,l.height=s,n&&(l.viewBox=n),`data:image/svg+xml;utf8,${`<svg ${Object.entries(l).map(([h,p])=>(typeof p=="string"&&p.toLowerCase()==="currentcolor"&&(p=f),` ${jo[h]||h}="${p}"`)).join("")}>${pn(u,f)}</svg>`.replace(El,encodeURIComponent)}`}function Ol(e){return Object.prototype.toString.call(e)}function Vo(e){return typeof e=="string"}function Yo(e){return Ol(e)==="[object Undefined]"}function Xo(e,t){if(t==="break-all")return{words:ce(e,"grapheme"),requiredBreaks:[]};if(t==="keep-all")return{words:ce(e,"word"),requiredBreaks:[]};let n=new qo.default(e),r=0,i=n.nextBreak(),s=[],o=[!1];for(;i;){let a=e.slice(r,i.position);s.push(a),i.required?o.push(!0):o.push(!1),r=i.position,i=n.nextBreak()}return{words:s,requiredBreaks:o}}c();c();var we="flex",Qo={p:{display:we,marginTop:"1em",marginBottom:"1em"},div:{display:we},blockquote:{display:we,marginTop:"1em",marginBottom:"1em",marginLeft:40,marginRight:40},center:{display:we,textAlign:"center"},hr:{display:we,marginTop:"0.5em",marginBottom:"0.5em",marginLeft:"auto",marginRight:"auto",borderWidth:1,borderStyle:"solid"},h1:{display:we,fontSize:"2em",marginTop:"0.67em",marginBottom:"0.67em",marginLeft:0,marginRight:0,fontWeight:"bold"},h2:{display:we,fontSize:"1.5em",marginTop:"0.83em",marginBottom:"0.83em",marginLeft:0,marginRight:0,fontWeight:"bold"},h3:{display:we,fontSize:"1.17em",marginTop:"1em",marginBottom:"1em",marginLeft:0,marginRight:0,fontWeight:"bold"},h4:{display:we,marginTop:"1.33em",marginBottom:"1.33em",marginLeft:0,marginRight:0,fontWeight:"bold"},h5:{display:we,fontSize:"0.83em",marginTop:"1.67em",marginBottom:"1.67em",marginLeft:0,marginRight:0,fontWeight:"bold"},h6:{display:we,fontSize:"0.67em",marginTop:"2.33em",marginBottom:"2.33em",marginLeft:0,marginRight:0,fontWeight:"bold"},u:{textDecoration:"underline"},strong:{fontWeight:"bold"},b:{fontWeight:"bold"},i:{fontStyle:"italic"},em:{fontStyle:"italic"},code:{fontFamily:"monospace"},kbd:{fontFamily:"monospace"},pre:{display:we,fontFamily:"monospace",whiteSpace:"pre",marginTop:"1em",marginBottom:"1em"},mark:{backgroundColor:"yellow",color:"black"},big:{fontSize:"larger"},small:{fontSize:"smaller"},s:{textDecoration:"line-through"}};c();var Pl=new Set(["color","font","fontFamily","fontSize","fontStyle","fontWeight","letterSpacing","lineHeight","textAlign","textTransform","textShadowOffset","textShadowColor","textShadowRadius","textDecorationLine","textDecorationStyle","textDecorationColor","whiteSpace","transform","wordBreak","opacity","filter","_viewportWidth","_viewportHeight","_inheritedClipPathId","_inheritedMaskId","_inheritedBackgroundClipTextPath"]);function mn(e){let t={};for(let n in e)Pl.has(n)&&(t[n]=e[n]);return t}c();var Oe=require("css-to-react-native"),ts=require("css-background-parser"),rs=require("css-box-shadow"),ns=Je(require("parse-css-color"),1);c();var Ko=Je(require("postcss-value-parser"),1);function Al(e,t){try{let n=new Ge(e);switch(n.unit){case"px":return{absolute:n.value};case"em":return{absolute:n.value*t};case"rem":return{absolute:n.value*16};case"%":return{relative:n.value};default:return{}}}catch{return{}}}function gn(e,t,n){switch(e){case"top":return{yRelative:0};case"left":return{xRelative:0};case"right":return{xRelative:100};case"bottom":return{yRelative:100};case"center":return{};default:{let r=Al(e,t);return r.absolute?{[n?"xAbsolute":"yAbsolute"]:r.absolute}:r.relative?{[n?"xRelative":"yRelative"]:r.relative}:{}}}}function vn(e,t){if(typeof e=="number")return{xAbsolute:e};let n;try{n=(0,Ko.default)(e).nodes.filter(r=>r.type==="word").map(r=>r.value)}catch{return{}}return n.length===1?gn(n[0],t,!0):n.length===2?((n[0]==="top"||n[0]==="bottom"||n[1]==="left"||n[1]==="right")&&n.reverse(),{...gn(n[0],t,!0),...gn(n[1],t,!1)}):{}}var Il=new Set(["flex","flexGrow","flexShrink","flexBasis","fontWeight","lineHeight","opacity","scale","scaleX","scaleY"]),Ll=new Set(["lineHeight"]);function Rl(e,t,n,r){return e==="textDecoration"&&!n.includes(t.textDecorationColor)&&(t.textDecorationColor=r),t}function Tt(e,t){return typeof t=="number"?Il.has(e)?Ll.has(e)?t:String(t):t+"px":t}function Cl(e,t,n){if(e==="lineHeight")return{lineHeight:Tt(e,t)};if(e==="fontFamily")return{fontFamily:t.split(",").map(r=>r.trim().replace(/(^['"])|(['"]$)/g,"").toLocaleLowerCase())};if(e==="borderRadius"){if(typeof t!="string"||!t.includes("/"))return;let[r,i]=t.split("/"),s=(0,Oe.getStylesForProperty)(e,r,!0),o=(0,Oe.getStylesForProperty)(e,i,!0);for(let a in s)o[a]=Tt(e,s[a])+" "+Tt(e,o[a]);return o}if(/^border(Top|Right|Bottom|Left)?$/.test(e)){let r=(0,Oe.getStylesForProperty)("border",t,!0);r.borderWidth===1&&!String(t).includes("1px")&&(r.borderWidth=3),r.borderColor==="black"&&!String(t).includes("black")&&(r.borderColor=n);let i={Width:Tt(e+"Width",r.borderWidth),Style:de(r.borderStyle,{solid:"solid",dashed:"dashed"},"solid",e+"Style"),Color:r.borderColor},s={};for(let o of e==="border"?["Top","Right","Bottom","Left"]:[e.slice(6)])for(let a in i)s["border"+o+a]=i[a];return s}if(e==="boxShadow"){if(!t)throw new Error('Invalid `boxShadow` value: "'+t+'".');return{[e]:typeof t=="string"?(0,rs.parse)(t):t}}if(e==="transform"){if(typeof t!="string")throw new Error("Invalid `transform` value.");let r={},i=t.replace(/(-?[\d.]+%)/g,(o,a)=>{let u=~~(Math.random()*1e9);return r[u]=a,u+"px"}),s=(0,Oe.getStylesForProperty)("transform",i,!0);for(let o of s.transform)for(let a in o)r[o[a]]&&(o[a]=r[o[a]]);return s}if(e==="background")return t=t.toString().trim(),/^(linear-gradient|radial-gradient|url)\(/.test(t)?(0,Oe.getStylesForProperty)("backgroundImage",t,!0):(0,Oe.getStylesForProperty)("background",t,!0);if(e==="textShadow"&&(t=t.toString().trim(),t.includes(","))){let r=Dl(t),i={};for(let s of r){let o=(0,Oe.getStylesForProperty)("textShadow",s,!0);for(let a in o)i[a]?i[a].push(o[a]):i[a]=[o[a]]}return i}}function Dl(e){let t=[],n=!1,r=0,i=e.length;for(let s=0;s<i;++s){let o=e[s];o===")"&&(n=!1),!n&&(o==="("&&(n=!0),o===","&&(t.push(e.substring(r,s)),r=s+1))}return t.push(e.substring(r,i)),t.map(s=>s.trim())}function Jo(e){return e==="transform"?" Only absolute lengths such as `10px` are supported.":""}var Zo=/rgb\((\d+)\s+(\d+)\s+(\d+)\s*\/\s*([\.\d]+)\)/;function is(e){if(typeof e=="string"&&Zo.test(e.trim()))return e.trim().replace(Zo,(t,n,r,i,s)=>`rgba(${n}, ${r}, ${i}, ${s})`);if(typeof e=="object"&&e!==null){for(let t in e)e[t]=is(e[t]);return e}return e}function _r(e,t){let n={};if(e){let i=Ml(e.color,t.color);n.color=i;for(let s in e){if(s.startsWith("_")){n[s]=e[s];continue}if(s==="color")continue;let o=(0,Oe.getPropertyName)(s),a=Nl(e[s],i);try{let u=Cl(o,a,i)||Rl(o,(0,Oe.getStylesForProperty)(o,Tt(o,a),!0),a,i);Object.assign(n,u)}catch(u){throw new Error(u.message+(u.message.includes(a)?`
1
+ var ll=Object.create;var br=Object.defineProperty;var fl=Object.getOwnPropertyDescriptor;var cl=Object.getOwnPropertyNames;var dl=Object.getPrototypeOf,pl=Object.prototype.hasOwnProperty;var yr=(e,t)=>()=>(e&&(t=e(e=0)),t);var L=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),xr=(e,t)=>{for(var n in t)br(e,n,{get:t[n],enumerable:!0})},Lo=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of cl(t))!pl.call(e,i)&&i!==n&&br(e,i,{get:()=>t[i],enumerable:!(r=fl(t,i))||r.enumerable});return e};var Je=(e,t,n)=>(n=e!=null?ll(dl(e)):{},Lo(t||!e||!e.__esModule?br(n,"default",{value:e,enumerable:!0}):n,e)),xt=e=>Lo(br({},"__esModule",{value:!0}),e);var c=yr(()=>{});var Ro={};xr(Ro,{getYogaModule:()=>hl});async function hl(){let{default:e}=await import("yoga-wasm-web/asm");return e()}var Co=yr(()=>{c()});var Dn=L(Cn=>{"use strict";c();Object.defineProperty(Cn,"__esModule",{value:!0});Object.defineProperty(Cn,"default",{enumerable:!0,get:()=>sf});function sf(e){if(e=`${e}`,e==="0")return"0";if(/^[+-]?(\d+|\d*\.\d+)(e[+-]?\d+)?(%|\w+)?$/.test(e))return e.replace(/^[+-]?/,t=>t==="-"?"":"-");if(e.includes("var(")||e.includes("calc("))return`calc(${e} * -1)`}});var ks=L(Mn=>{"use strict";c();Object.defineProperty(Mn,"__esModule",{value:!0});Object.defineProperty(Mn,"default",{enumerable:!0,get:()=>af});var af=["preflight","container","accessibility","pointerEvents","visibility","position","inset","isolation","zIndex","order","gridColumn","gridColumnStart","gridColumnEnd","gridRow","gridRowStart","gridRowEnd","float","clear","margin","boxSizing","display","aspectRatio","height","maxHeight","minHeight","width","minWidth","maxWidth","flex","flexShrink","flexGrow","flexBasis","tableLayout","borderCollapse","borderSpacing","transformOrigin","translate","rotate","skew","scale","transform","animation","cursor","touchAction","userSelect","resize","scrollSnapType","scrollSnapAlign","scrollSnapStop","scrollMargin","scrollPadding","listStylePosition","listStyleType","appearance","columns","breakBefore","breakInside","breakAfter","gridAutoColumns","gridAutoFlow","gridAutoRows","gridTemplateColumns","gridTemplateRows","flexDirection","flexWrap","placeContent","placeItems","alignContent","alignItems","justifyContent","justifyItems","gap","space","divideWidth","divideStyle","divideColor","divideOpacity","placeSelf","alignSelf","justifySelf","overflow","overscrollBehavior","scrollBehavior","textOverflow","whitespace","wordBreak","borderRadius","borderWidth","borderStyle","borderColor","borderOpacity","backgroundColor","backgroundOpacity","backgroundImage","gradientColorStops","boxDecorationBreak","backgroundSize","backgroundAttachment","backgroundClip","backgroundPosition","backgroundRepeat","backgroundOrigin","fill","stroke","strokeWidth","objectFit","objectPosition","padding","textAlign","textIndent","verticalAlign","fontFamily","fontSize","fontWeight","textTransform","fontStyle","fontVariantNumeric","lineHeight","letterSpacing","textColor","textOpacity","textDecoration","textDecorationColor","textDecorationStyle","textDecorationThickness","textUnderlineOffset","fontSmoothing","placeholderColor","placeholderOpacity","caretColor","accentColor","opacity","backgroundBlendMode","mixBlendMode","boxShadow","boxShadowColor","outlineStyle","outlineWidth","outlineOffset","outlineColor","ringWidth","ringColor","ringOpacity","ringOffsetWidth","ringOffsetColor","blur","brightness","contrast","dropShadow","grayscale","hueRotate","invert","saturate","sepia","filter","backdropBlur","backdropBrightness","backdropContrast","backdropGrayscale","backdropHueRotate","backdropInvert","backdropOpacity","backdropSaturate","backdropSepia","backdropFilter","transitionProperty","transitionDelay","transitionDuration","transitionTimingFunction","willChange","content"]});var Ts=L(Fn=>{"use strict";c();Object.defineProperty(Fn,"__esModule",{value:!0});Object.defineProperty(Fn,"default",{enumerable:!0,get:()=>uf});function uf(e,t){return e===void 0?t:Array.isArray(e)?e:[...new Set(t.filter(r=>e!==!1&&e[r]!==!1).concat(Object.keys(e).filter(r=>e[r]!==!1)))]}});var Nn=L((Ng,Es)=>{c();Es.exports={content:[],presets:[],darkMode:"media",theme:{screens:{sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},colors:({colors:e})=>({inherit:e.inherit,current:e.current,transparent:e.transparent,black:e.black,white:e.white,slate:e.slate,gray:e.gray,zinc:e.zinc,neutral:e.neutral,stone:e.stone,red:e.red,orange:e.orange,amber:e.amber,yellow:e.yellow,lime:e.lime,green:e.green,emerald:e.emerald,teal:e.teal,cyan:e.cyan,sky:e.sky,blue:e.blue,indigo:e.indigo,violet:e.violet,purple:e.purple,fuchsia:e.fuchsia,pink:e.pink,rose:e.rose}),columns:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12","3xs":"16rem","2xs":"18rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem"},spacing:{px:"1px",0:"0px",.5:"0.125rem",1:"0.25rem",1.5:"0.375rem",2:"0.5rem",2.5:"0.625rem",3:"0.75rem",3.5:"0.875rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",11:"2.75rem",12:"3rem",14:"3.5rem",16:"4rem",20:"5rem",24:"6rem",28:"7rem",32:"8rem",36:"9rem",40:"10rem",44:"11rem",48:"12rem",52:"13rem",56:"14rem",60:"15rem",64:"16rem",72:"18rem",80:"20rem",96:"24rem"},animation:{none:"none",spin:"spin 1s linear infinite",ping:"ping 1s cubic-bezier(0, 0, 0.2, 1) infinite",pulse:"pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite",bounce:"bounce 1s infinite"},aspectRatio:{auto:"auto",square:"1 / 1",video:"16 / 9"},backdropBlur:({theme:e})=>e("blur"),backdropBrightness:({theme:e})=>e("brightness"),backdropContrast:({theme:e})=>e("contrast"),backdropGrayscale:({theme:e})=>e("grayscale"),backdropHueRotate:({theme:e})=>e("hueRotate"),backdropInvert:({theme:e})=>e("invert"),backdropOpacity:({theme:e})=>e("opacity"),backdropSaturate:({theme:e})=>e("saturate"),backdropSepia:({theme:e})=>e("sepia"),backgroundColor:({theme:e})=>e("colors"),backgroundImage:{none:"none","gradient-to-t":"linear-gradient(to top, var(--tw-gradient-stops))","gradient-to-tr":"linear-gradient(to top right, var(--tw-gradient-stops))","gradient-to-r":"linear-gradient(to right, var(--tw-gradient-stops))","gradient-to-br":"linear-gradient(to bottom right, var(--tw-gradient-stops))","gradient-to-b":"linear-gradient(to bottom, var(--tw-gradient-stops))","gradient-to-bl":"linear-gradient(to bottom left, var(--tw-gradient-stops))","gradient-to-l":"linear-gradient(to left, var(--tw-gradient-stops))","gradient-to-tl":"linear-gradient(to top left, var(--tw-gradient-stops))"},backgroundOpacity:({theme:e})=>e("opacity"),backgroundPosition:{bottom:"bottom",center:"center",left:"left","left-bottom":"left bottom","left-top":"left top",right:"right","right-bottom":"right bottom","right-top":"right top",top:"top"},backgroundSize:{auto:"auto",cover:"cover",contain:"contain"},blur:{0:"0",none:"0",sm:"4px",DEFAULT:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},brightness:{0:"0",50:".5",75:".75",90:".9",95:".95",100:"1",105:"1.05",110:"1.1",125:"1.25",150:"1.5",200:"2"},borderColor:({theme:e})=>({...e("colors"),DEFAULT:e("colors.gray.200","currentColor")}),borderOpacity:({theme:e})=>e("opacity"),borderRadius:{none:"0px",sm:"0.125rem",DEFAULT:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},borderSpacing:({theme:e})=>({...e("spacing")}),borderWidth:{DEFAULT:"1px",0:"0px",2:"2px",4:"4px",8:"8px"},boxShadow:{sm:"0 1px 2px 0 rgb(0 0 0 / 0.05)",DEFAULT:"0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)",md:"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)",lg:"0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)",xl:"0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)","2xl":"0 25px 50px -12px rgb(0 0 0 / 0.25)",inner:"inset 0 2px 4px 0 rgb(0 0 0 / 0.05)",none:"none"},boxShadowColor:({theme:e})=>e("colors"),caretColor:({theme:e})=>e("colors"),accentColor:({theme:e})=>({...e("colors"),auto:"auto"}),contrast:{0:"0",50:".5",75:".75",100:"1",125:"1.25",150:"1.5",200:"2"},container:{},content:{none:"none"},cursor:{auto:"auto",default:"default",pointer:"pointer",wait:"wait",text:"text",move:"move",help:"help","not-allowed":"not-allowed",none:"none","context-menu":"context-menu",progress:"progress",cell:"cell",crosshair:"crosshair","vertical-text":"vertical-text",alias:"alias",copy:"copy","no-drop":"no-drop",grab:"grab",grabbing:"grabbing","all-scroll":"all-scroll","col-resize":"col-resize","row-resize":"row-resize","n-resize":"n-resize","e-resize":"e-resize","s-resize":"s-resize","w-resize":"w-resize","ne-resize":"ne-resize","nw-resize":"nw-resize","se-resize":"se-resize","sw-resize":"sw-resize","ew-resize":"ew-resize","ns-resize":"ns-resize","nesw-resize":"nesw-resize","nwse-resize":"nwse-resize","zoom-in":"zoom-in","zoom-out":"zoom-out"},divideColor:({theme:e})=>e("borderColor"),divideOpacity:({theme:e})=>e("borderOpacity"),divideWidth:({theme:e})=>e("borderWidth"),dropShadow:{sm:"0 1px 1px rgb(0 0 0 / 0.05)",DEFAULT:["0 1px 2px rgb(0 0 0 / 0.1)","0 1px 1px rgb(0 0 0 / 0.06)"],md:["0 4px 3px rgb(0 0 0 / 0.07)","0 2px 2px rgb(0 0 0 / 0.06)"],lg:["0 10px 8px rgb(0 0 0 / 0.04)","0 4px 3px rgb(0 0 0 / 0.1)"],xl:["0 20px 13px rgb(0 0 0 / 0.03)","0 8px 5px rgb(0 0 0 / 0.08)"],"2xl":"0 25px 25px rgb(0 0 0 / 0.15)",none:"0 0 #0000"},fill:({theme:e})=>e("colors"),grayscale:{0:"0",DEFAULT:"100%"},hueRotate:{0:"0deg",15:"15deg",30:"30deg",60:"60deg",90:"90deg",180:"180deg"},invert:{0:"0",DEFAULT:"100%"},flex:{1:"1 1 0%",auto:"1 1 auto",initial:"0 1 auto",none:"none"},flexBasis:({theme:e})=>({auto:"auto",...e("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%","1/12":"8.333333%","2/12":"16.666667%","3/12":"25%","4/12":"33.333333%","5/12":"41.666667%","6/12":"50%","7/12":"58.333333%","8/12":"66.666667%","9/12":"75%","10/12":"83.333333%","11/12":"91.666667%",full:"100%"}),flexGrow:{0:"0",DEFAULT:"1"},flexShrink:{0:"0",DEFAULT:"1"},fontFamily:{sans:["ui-sans-serif","system-ui","-apple-system","BlinkMacSystemFont",'"Segoe UI"',"Roboto",'"Helvetica Neue"',"Arial",'"Noto Sans"',"sans-serif",'"Apple Color Emoji"','"Segoe UI Emoji"','"Segoe UI Symbol"','"Noto Color Emoji"'],serif:["ui-serif","Georgia","Cambria",'"Times New Roman"',"Times","serif"],mono:["ui-monospace","SFMono-Regular","Menlo","Monaco","Consolas",'"Liberation Mono"','"Courier New"',"monospace"]},fontSize:{xs:["0.75rem",{lineHeight:"1rem"}],sm:["0.875rem",{lineHeight:"1.25rem"}],base:["1rem",{lineHeight:"1.5rem"}],lg:["1.125rem",{lineHeight:"1.75rem"}],xl:["1.25rem",{lineHeight:"1.75rem"}],"2xl":["1.5rem",{lineHeight:"2rem"}],"3xl":["1.875rem",{lineHeight:"2.25rem"}],"4xl":["2.25rem",{lineHeight:"2.5rem"}],"5xl":["3rem",{lineHeight:"1"}],"6xl":["3.75rem",{lineHeight:"1"}],"7xl":["4.5rem",{lineHeight:"1"}],"8xl":["6rem",{lineHeight:"1"}],"9xl":["8rem",{lineHeight:"1"}]},fontWeight:{thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},gap:({theme:e})=>e("spacing"),gradientColorStops:({theme:e})=>e("colors"),gridAutoColumns:{auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0, 1fr)"},gridAutoRows:{auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0, 1fr)"},gridColumn:{auto:"auto","span-1":"span 1 / span 1","span-2":"span 2 / span 2","span-3":"span 3 / span 3","span-4":"span 4 / span 4","span-5":"span 5 / span 5","span-6":"span 6 / span 6","span-7":"span 7 / span 7","span-8":"span 8 / span 8","span-9":"span 9 / span 9","span-10":"span 10 / span 10","span-11":"span 11 / span 11","span-12":"span 12 / span 12","span-full":"1 / -1"},gridColumnEnd:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13"},gridColumnStart:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13"},gridRow:{auto:"auto","span-1":"span 1 / span 1","span-2":"span 2 / span 2","span-3":"span 3 / span 3","span-4":"span 4 / span 4","span-5":"span 5 / span 5","span-6":"span 6 / span 6","span-full":"1 / -1"},gridRowStart:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7"},gridRowEnd:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7"},gridTemplateColumns:{none:"none",1:"repeat(1, minmax(0, 1fr))",2:"repeat(2, minmax(0, 1fr))",3:"repeat(3, minmax(0, 1fr))",4:"repeat(4, minmax(0, 1fr))",5:"repeat(5, minmax(0, 1fr))",6:"repeat(6, minmax(0, 1fr))",7:"repeat(7, minmax(0, 1fr))",8:"repeat(8, minmax(0, 1fr))",9:"repeat(9, minmax(0, 1fr))",10:"repeat(10, minmax(0, 1fr))",11:"repeat(11, minmax(0, 1fr))",12:"repeat(12, minmax(0, 1fr))"},gridTemplateRows:{none:"none",1:"repeat(1, minmax(0, 1fr))",2:"repeat(2, minmax(0, 1fr))",3:"repeat(3, minmax(0, 1fr))",4:"repeat(4, minmax(0, 1fr))",5:"repeat(5, minmax(0, 1fr))",6:"repeat(6, minmax(0, 1fr))"},height:({theme:e})=>({auto:"auto",...e("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%",full:"100%",screen:"100vh",min:"min-content",max:"max-content",fit:"fit-content"}),inset:({theme:e})=>({auto:"auto",...e("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%",full:"100%"}),keyframes:{spin:{to:{transform:"rotate(360deg)"}},ping:{"75%, 100%":{transform:"scale(2)",opacity:"0"}},pulse:{"50%":{opacity:".5"}},bounce:{"0%, 100%":{transform:"translateY(-25%)",animationTimingFunction:"cubic-bezier(0.8,0,1,1)"},"50%":{transform:"none",animationTimingFunction:"cubic-bezier(0,0,0.2,1)"}}},letterSpacing:{tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},lineHeight:{none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2",3:".75rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem"},listStyleType:{none:"none",disc:"disc",decimal:"decimal"},margin:({theme:e})=>({auto:"auto",...e("spacing")}),maxHeight:({theme:e})=>({...e("spacing"),full:"100%",screen:"100vh",min:"min-content",max:"max-content",fit:"fit-content"}),maxWidth:({theme:e,breakpoints:t})=>({none:"none",0:"0rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",full:"100%",min:"min-content",max:"max-content",fit:"fit-content",prose:"65ch",...t(e("screens"))}),minHeight:{0:"0px",full:"100%",screen:"100vh",min:"min-content",max:"max-content",fit:"fit-content"},minWidth:{0:"0px",full:"100%",min:"min-content",max:"max-content",fit:"fit-content"},objectPosition:{bottom:"bottom",center:"center",left:"left","left-bottom":"left bottom","left-top":"left top",right:"right","right-bottom":"right bottom","right-top":"right top",top:"top"},opacity:{0:"0",5:"0.05",10:"0.1",20:"0.2",25:"0.25",30:"0.3",40:"0.4",50:"0.5",60:"0.6",70:"0.7",75:"0.75",80:"0.8",90:"0.9",95:"0.95",100:"1"},order:{first:"-9999",last:"9999",none:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12"},padding:({theme:e})=>e("spacing"),placeholderColor:({theme:e})=>e("colors"),placeholderOpacity:({theme:e})=>e("opacity"),outlineColor:({theme:e})=>e("colors"),outlineOffset:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},outlineWidth:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},ringColor:({theme:e})=>({DEFAULT:e("colors.blue.500","#3b82f6"),...e("colors")}),ringOffsetColor:({theme:e})=>e("colors"),ringOffsetWidth:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},ringOpacity:({theme:e})=>({DEFAULT:"0.5",...e("opacity")}),ringWidth:{DEFAULT:"3px",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},rotate:{0:"0deg",1:"1deg",2:"2deg",3:"3deg",6:"6deg",12:"12deg",45:"45deg",90:"90deg",180:"180deg"},saturate:{0:"0",50:".5",100:"1",150:"1.5",200:"2"},scale:{0:"0",50:".5",75:".75",90:".9",95:".95",100:"1",105:"1.05",110:"1.1",125:"1.25",150:"1.5"},scrollMargin:({theme:e})=>({...e("spacing")}),scrollPadding:({theme:e})=>e("spacing"),sepia:{0:"0",DEFAULT:"100%"},skew:{0:"0deg",1:"1deg",2:"2deg",3:"3deg",6:"6deg",12:"12deg"},space:({theme:e})=>({...e("spacing")}),stroke:({theme:e})=>e("colors"),strokeWidth:{0:"0",1:"1",2:"2"},textColor:({theme:e})=>e("colors"),textDecorationColor:({theme:e})=>e("colors"),textDecorationThickness:{auto:"auto","from-font":"from-font",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},textUnderlineOffset:{auto:"auto",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},textIndent:({theme:e})=>({...e("spacing")}),textOpacity:({theme:e})=>e("opacity"),transformOrigin:{center:"center",top:"top","top-right":"top right",right:"right","bottom-right":"bottom right",bottom:"bottom","bottom-left":"bottom left",left:"left","top-left":"top left"},transitionDelay:{75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},transitionDuration:{DEFAULT:"150ms",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},transitionProperty:{none:"none",all:"all",DEFAULT:"color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter",colors:"color, background-color, border-color, text-decoration-color, fill, stroke",opacity:"opacity",shadow:"box-shadow",transform:"transform"},transitionTimingFunction:{DEFAULT:"cubic-bezier(0.4, 0, 0.2, 1)",linear:"linear",in:"cubic-bezier(0.4, 0, 1, 1)",out:"cubic-bezier(0, 0, 0.2, 1)","in-out":"cubic-bezier(0.4, 0, 0.2, 1)"},translate:({theme:e})=>({...e("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%",full:"100%"}),width:({theme:e})=>({auto:"auto",...e("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%","1/12":"8.333333%","2/12":"16.666667%","3/12":"25%","4/12":"33.333333%","5/12":"41.666667%","6/12":"50%","7/12":"58.333333%","8/12":"66.666667%","9/12":"75%","10/12":"83.333333%","11/12":"91.666667%",full:"100%",screen:"100vw",min:"min-content",max:"max-content",fit:"fit-content"}),willChange:{auto:"auto",scroll:"scroll-position",contents:"contents",transform:"transform"},zIndex:{auto:"auto",0:"0",10:"10",20:"20",30:"30",40:"40",50:"50"}},variantOrder:["first","last","odd","even","visited","checked","empty","read-only","group-hover","group-focus","focus-within","hover","focus","focus-visible","active","disabled"],plugins:[]}});var Dr={};xr(Dr,{default:()=>lf});var lf,Mr=yr(()=>{c();lf={info(e,t){console.info(...Array.isArray(e)?[e]:[t,e])},warn(e,t){console.warn(...Array.isArray(e)?[e]:[t,e])},risk(e,t){console.error(...Array.isArray(e)?[e]:[t,e])}}});var Os=L(Wn=>{"use strict";c();Object.defineProperty(Wn,"__esModule",{value:!0});Object.defineProperty(Wn,"default",{enumerable:!0,get:()=>df});var ff=cf((Mr(),xt(Dr)));function cf(e){return e&&e.__esModule?e:{default:e}}function Lt({version:e,from:t,to:n}){ff.default.warn(`${t}-color-renamed`,[`As of Tailwind CSS ${e}, \`${t}\` has been renamed to \`${n}\`.`,"Update your configuration file to silence this warning."])}var df={inherit:"inherit",current:"currentColor",transparent:"transparent",black:"#000",white:"#fff",slate:{50:"#f8fafc",100:"#f1f5f9",200:"#e2e8f0",300:"#cbd5e1",400:"#94a3b8",500:"#64748b",600:"#475569",700:"#334155",800:"#1e293b",900:"#0f172a"},gray:{50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5db",400:"#9ca3af",500:"#6b7280",600:"#4b5563",700:"#374151",800:"#1f2937",900:"#111827"},zinc:{50:"#fafafa",100:"#f4f4f5",200:"#e4e4e7",300:"#d4d4d8",400:"#a1a1aa",500:"#71717a",600:"#52525b",700:"#3f3f46",800:"#27272a",900:"#18181b"},neutral:{50:"#fafafa",100:"#f5f5f5",200:"#e5e5e5",300:"#d4d4d4",400:"#a3a3a3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717"},stone:{50:"#fafaf9",100:"#f5f5f4",200:"#e7e5e4",300:"#d6d3d1",400:"#a8a29e",500:"#78716c",600:"#57534e",700:"#44403c",800:"#292524",900:"#1c1917"},red:{50:"#fef2f2",100:"#fee2e2",200:"#fecaca",300:"#fca5a5",400:"#f87171",500:"#ef4444",600:"#dc2626",700:"#b91c1c",800:"#991b1b",900:"#7f1d1d"},orange:{50:"#fff7ed",100:"#ffedd5",200:"#fed7aa",300:"#fdba74",400:"#fb923c",500:"#f97316",600:"#ea580c",700:"#c2410c",800:"#9a3412",900:"#7c2d12"},amber:{50:"#fffbeb",100:"#fef3c7",200:"#fde68a",300:"#fcd34d",400:"#fbbf24",500:"#f59e0b",600:"#d97706",700:"#b45309",800:"#92400e",900:"#78350f"},yellow:{50:"#fefce8",100:"#fef9c3",200:"#fef08a",300:"#fde047",400:"#facc15",500:"#eab308",600:"#ca8a04",700:"#a16207",800:"#854d0e",900:"#713f12"},lime:{50:"#f7fee7",100:"#ecfccb",200:"#d9f99d",300:"#bef264",400:"#a3e635",500:"#84cc16",600:"#65a30d",700:"#4d7c0f",800:"#3f6212",900:"#365314"},green:{50:"#f0fdf4",100:"#dcfce7",200:"#bbf7d0",300:"#86efac",400:"#4ade80",500:"#22c55e",600:"#16a34a",700:"#15803d",800:"#166534",900:"#14532d"},emerald:{50:"#ecfdf5",100:"#d1fae5",200:"#a7f3d0",300:"#6ee7b7",400:"#34d399",500:"#10b981",600:"#059669",700:"#047857",800:"#065f46",900:"#064e3b"},teal:{50:"#f0fdfa",100:"#ccfbf1",200:"#99f6e4",300:"#5eead4",400:"#2dd4bf",500:"#14b8a6",600:"#0d9488",700:"#0f766e",800:"#115e59",900:"#134e4a"},cyan:{50:"#ecfeff",100:"#cffafe",200:"#a5f3fc",300:"#67e8f9",400:"#22d3ee",500:"#06b6d4",600:"#0891b2",700:"#0e7490",800:"#155e75",900:"#164e63"},sky:{50:"#f0f9ff",100:"#e0f2fe",200:"#bae6fd",300:"#7dd3fc",400:"#38bdf8",500:"#0ea5e9",600:"#0284c7",700:"#0369a1",800:"#075985",900:"#0c4a6e"},blue:{50:"#eff6ff",100:"#dbeafe",200:"#bfdbfe",300:"#93c5fd",400:"#60a5fa",500:"#3b82f6",600:"#2563eb",700:"#1d4ed8",800:"#1e40af",900:"#1e3a8a"},indigo:{50:"#eef2ff",100:"#e0e7ff",200:"#c7d2fe",300:"#a5b4fc",400:"#818cf8",500:"#6366f1",600:"#4f46e5",700:"#4338ca",800:"#3730a3",900:"#312e81"},violet:{50:"#f5f3ff",100:"#ede9fe",200:"#ddd6fe",300:"#c4b5fd",400:"#a78bfa",500:"#8b5cf6",600:"#7c3aed",700:"#6d28d9",800:"#5b21b6",900:"#4c1d95"},purple:{50:"#faf5ff",100:"#f3e8ff",200:"#e9d5ff",300:"#d8b4fe",400:"#c084fc",500:"#a855f7",600:"#9333ea",700:"#7e22ce",800:"#6b21a8",900:"#581c87"},fuchsia:{50:"#fdf4ff",100:"#fae8ff",200:"#f5d0fe",300:"#f0abfc",400:"#e879f9",500:"#d946ef",600:"#c026d3",700:"#a21caf",800:"#86198f",900:"#701a75"},pink:{50:"#fdf2f8",100:"#fce7f3",200:"#fbcfe8",300:"#f9a8d4",400:"#f472b6",500:"#ec4899",600:"#db2777",700:"#be185d",800:"#9d174d",900:"#831843"},rose:{50:"#fff1f2",100:"#ffe4e6",200:"#fecdd3",300:"#fda4af",400:"#fb7185",500:"#f43f5e",600:"#e11d48",700:"#be123c",800:"#9f1239",900:"#881337"},get lightBlue(){return Lt({version:"v2.2",from:"lightBlue",to:"sky"}),this.sky},get warmGray(){return Lt({version:"v3.0",from:"warmGray",to:"stone"}),this.stone},get trueGray(){return Lt({version:"v3.0",from:"trueGray",to:"neutral"}),this.neutral},get coolGray(){return Lt({version:"v3.0",from:"coolGray",to:"gray"}),this.gray},get blueGray(){return Lt({version:"v3.0",from:"blueGray",to:"slate"}),this.slate}}});var Ps=L(qn=>{"use strict";c();Object.defineProperty(qn,"__esModule",{value:!0});Object.defineProperty(qn,"defaults",{enumerable:!0,get:()=>pf});function pf(e,...t){for(let i of t){for(let s in i){var n;!(e==null||(n=e.hasOwnProperty)===null||n===void 0)&&n.call(e,s)||(e[s]=i[s])}for(let s of Object.getOwnPropertySymbols(i)){var r;!(e==null||(r=e.hasOwnProperty)===null||r===void 0)&&r.call(e,s)||(e[s]=i[s])}}return e}});var As=L($n=>{"use strict";c();Object.defineProperty($n,"__esModule",{value:!0});Object.defineProperty($n,"toPath",{enumerable:!0,get:()=>hf});function hf(e){if(Array.isArray(e))return e;let t=e.split("[").length-1,n=e.split("]").length-1;if(t!==n)throw new Error(`Path is invalid. Has unbalanced brackets: ${e}`);return e.split(/\.(?![^\[]*\])|[\[\]]/g).filter(Boolean)}});var Ls=L(Bn=>{"use strict";c();Object.defineProperty(Bn,"__esModule",{value:!0});Object.defineProperty(Bn,"normalizeConfig",{enumerable:!0,get:()=>gf});var Rt=mf((Mr(),xt(Dr)));function Is(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,n=new WeakMap;return(Is=function(r){return r?n:t})(e)}function mf(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var n=Is(t);if(n&&n.has(e))return n.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if(s!=="default"&&Object.prototype.hasOwnProperty.call(e,s)){var o=i?Object.getOwnPropertyDescriptor(e,s):null;o&&(o.get||o.set)?Object.defineProperty(r,s,o):r[s]=e[s]}return r.default=e,n&&n.set(e,r),r}function gf(e){if((()=>{if(e.purge||!e.content||!Array.isArray(e.content)&&!(typeof e.content=="object"&&e.content!==null))return!1;if(Array.isArray(e.content))return e.content.every(r=>typeof r=="string"?!0:!(typeof(r==null?void 0:r.raw)!="string"||(r==null?void 0:r.extension)&&typeof(r==null?void 0:r.extension)!="string"));if(typeof e.content=="object"&&e.content!==null){if(Object.keys(e.content).some(r=>!["files","extract","transform"].includes(r)))return!1;if(Array.isArray(e.content.files)){if(!e.content.files.every(r=>typeof r=="string"?!0:!(typeof(r==null?void 0:r.raw)!="string"||(r==null?void 0:r.extension)&&typeof(r==null?void 0:r.extension)!="string")))return!1;if(typeof e.content.extract=="object"){for(let r of Object.values(e.content.extract))if(typeof r!="function")return!1}else if(!(e.content.extract===void 0||typeof e.content.extract=="function"))return!1;if(typeof e.content.transform=="object"){for(let r of Object.values(e.content.transform))if(typeof r!="function")return!1}else if(!(e.content.transform===void 0||typeof e.content.transform=="function"))return!1}return!0}return!1})()||Rt.default.warn("purge-deprecation",["The `purge`/`content` options have changed in Tailwind CSS v3.0.","Update your configuration file to eliminate this warning.","https://tailwindcss.com/docs/upgrade-guide#configure-content-sources"]),e.safelist=(()=>{var r;let{content:i,purge:s,safelist:o}=e;return Array.isArray(o)?o:Array.isArray(i==null?void 0:i.safelist)?i.safelist:Array.isArray(s==null?void 0:s.safelist)?s.safelist:Array.isArray(s==null||(r=s.options)===null||r===void 0?void 0:r.safelist)?s.options.safelist:[]})(),typeof e.prefix=="function")Rt.default.warn("prefix-function",["As of Tailwind CSS v3.0, `prefix` cannot be a function.","Update `prefix` in your configuration to be a string to eliminate this warning.","https://tailwindcss.com/docs/upgrade-guide#prefix-cannot-be-a-function"]),e.prefix="";else{var n;e.prefix=(n=e.prefix)!==null&&n!==void 0?n:""}e.content={files:(()=>{let{content:r,purge:i}=e;return Array.isArray(i)?i:Array.isArray(i==null?void 0:i.content)?i.content:Array.isArray(r)?r:Array.isArray(r==null?void 0:r.content)?r.content:Array.isArray(r==null?void 0:r.files)?r.files:[]})(),extract:(()=>{let r=(()=>{var o,a,u,l,f,d,b,h,p,g;return!((o=e.purge)===null||o===void 0)&&o.extract?e.purge.extract:!((a=e.content)===null||a===void 0)&&a.extract?e.content.extract:!((u=e.purge)===null||u===void 0||(l=u.extract)===null||l===void 0)&&l.DEFAULT?e.purge.extract.DEFAULT:!((f=e.content)===null||f===void 0||(d=f.extract)===null||d===void 0)&&d.DEFAULT?e.content.extract.DEFAULT:!((b=e.purge)===null||b===void 0||(h=b.options)===null||h===void 0)&&h.extractors?e.purge.options.extractors:!((p=e.content)===null||p===void 0||(g=p.options)===null||g===void 0)&&g.extractors?e.content.options.extractors:{}})(),i={},s=(()=>{var o,a,u,l;if(!((o=e.purge)===null||o===void 0||(a=o.options)===null||a===void 0)&&a.defaultExtractor)return e.purge.options.defaultExtractor;if(!((u=e.content)===null||u===void 0||(l=u.options)===null||l===void 0)&&l.defaultExtractor)return e.content.options.defaultExtractor})();if(s!==void 0&&(i.DEFAULT=s),typeof r=="function")i.DEFAULT=r;else if(Array.isArray(r))for(let{extensions:o,extractor:a}of r??[])for(let u of o)i[u]=a;else typeof r=="object"&&r!==null&&Object.assign(i,r);return i})(),transform:(()=>{let r=(()=>{var s,o,a,u,l,f;return!((s=e.purge)===null||s===void 0)&&s.transform?e.purge.transform:!((o=e.content)===null||o===void 0)&&o.transform?e.content.transform:!((a=e.purge)===null||a===void 0||(u=a.transform)===null||u===void 0)&&u.DEFAULT?e.purge.transform.DEFAULT:!((l=e.content)===null||l===void 0||(f=l.transform)===null||f===void 0)&&f.DEFAULT?e.content.transform.DEFAULT:{}})(),i={};return typeof r=="function"&&(i.DEFAULT=r),typeof r=="object"&&r!==null&&Object.assign(i,r),i})()};for(let r of e.content.files)if(typeof r=="string"&&/{([^,]*?)}/g.test(r)){Rt.default.warn("invalid-glob-braces",[`The glob pattern ${(0,Rt.dim)(r)} in your Tailwind CSS configuration is invalid.`,`Update it to ${(0,Rt.dim)(r.replace(/{([^,]*?)}/g,"$1"))} to silence this warning.`]);break}return e}});var Rs=L(Un=>{"use strict";c();Object.defineProperty(Un,"__esModule",{value:!0});Object.defineProperty(Un,"default",{enumerable:!0,get:()=>vf});function vf(e){if(Object.prototype.toString.call(e)!=="[object Object]")return!1;let t=Object.getPrototypeOf(e);return t===null||t===Object.prototype}});var Cs=L(zn=>{"use strict";c();Object.defineProperty(zn,"__esModule",{value:!0});Object.defineProperty(zn,"cloneDeep",{enumerable:!0,get:()=>Gn});function Gn(e){return Array.isArray(e)?e.map(t=>Gn(t)):typeof e=="object"&&e!==null?Object.fromEntries(Object.entries(e).map(([t,n])=>[t,Gn(n)])):e}});var jn=L((Fr,Ds)=>{"use strict";c();Fr.__esModule=!0;Fr.default=xf;function bf(e){for(var t=e.toLowerCase(),n="",r=!1,i=0;i<6&&t[i]!==void 0;i++){var s=t.charCodeAt(i),o=s>=97&&s<=102||s>=48&&s<=57;if(r=s===32,!o)break;n+=t[i]}if(n.length!==0){var a=parseInt(n,16),u=a>=55296&&a<=57343;return u||a===0||a>1114111?["\uFFFD",n.length+(r?1:0)]:[String.fromCodePoint(a),n.length+(r?1:0)]}}var yf=/\\/;function xf(e){var t=yf.test(e);if(!t)return e;for(var n="",r=0;r<e.length;r++){if(e[r]==="\\"){var i=bf(e.slice(r+1,r+7));if(i!==void 0){n+=i[0],r+=i[1];continue}if(e[r+1]==="\\"){n+="\\",r++;continue}e.length===r+1&&(n+=e[r]);continue}n+=e[r]}return n}Ds.exports=Fr.default});var Fs=L((Nr,Ms)=>{"use strict";c();Nr.__esModule=!0;Nr.default=wf;function wf(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];for(;n.length>0;){var i=n.shift();if(!e[i])return;e=e[i]}return e}Ms.exports=Nr.default});var Ws=L((Wr,Ns)=>{"use strict";c();Wr.__esModule=!0;Wr.default=_f;function _f(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];for(;n.length>0;){var i=n.shift();e[i]||(e[i]={}),e=e[i]}}Ns.exports=Wr.default});var $s=L((qr,qs)=>{"use strict";c();qr.__esModule=!0;qr.default=Sf;function Sf(e){for(var t="",n=e.indexOf("/*"),r=0;n>=0;){t=t+e.slice(r,n);var i=e.indexOf("*/",n+2);if(i<0)return t;r=i+2,n=e.indexOf("/*",r)}return t=t+e.slice(r),t}qs.exports=qr.default});var Ct=L(Ie=>{"use strict";c();Ie.__esModule=!0;Ie.stripComments=Ie.ensureObject=Ie.getProp=Ie.unesc=void 0;var kf=$r(jn());Ie.unesc=kf.default;var Tf=$r(Fs());Ie.getProp=Tf.default;var Ef=$r(Ws());Ie.ensureObject=Ef.default;var Of=$r($s());Ie.stripComments=Of.default;function $r(e){return e&&e.__esModule?e:{default:e}}});var Fe=L((Dt,Gs)=>{"use strict";c();Dt.__esModule=!0;Dt.default=void 0;var Bs=Ct();function Us(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Pf(e,t,n){return t&&Us(e.prototype,t),n&&Us(e,n),e}var Af=function e(t,n){if(typeof t!="object"||t===null)return t;var r=new t.constructor;for(var i in t)if(!!t.hasOwnProperty(i)){var s=t[i],o=typeof s;i==="parent"&&o==="object"?n&&(r[i]=n):s instanceof Array?r[i]=s.map(function(a){return e(a,r)}):r[i]=e(s,r)}return r},If=function(){function e(n){n===void 0&&(n={}),Object.assign(this,n),this.spaces=this.spaces||{},this.spaces.before=this.spaces.before||"",this.spaces.after=this.spaces.after||""}var t=e.prototype;return t.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},t.replaceWith=function(){if(this.parent){for(var r in arguments)this.parent.insertBefore(this,arguments[r]);this.remove()}return this},t.next=function(){return this.parent.at(this.parent.index(this)+1)},t.prev=function(){return this.parent.at(this.parent.index(this)-1)},t.clone=function(r){r===void 0&&(r={});var i=Af(this);for(var s in r)i[s]=r[s];return i},t.appendToPropertyAndEscape=function(r,i,s){this.raws||(this.raws={});var o=this[r],a=this.raws[r];this[r]=o+i,a||s!==i?this.raws[r]=(a||o)+s:delete this.raws[r]},t.setPropertyAndEscape=function(r,i,s){this.raws||(this.raws={}),this[r]=i,this.raws[r]=s},t.setPropertyWithoutEscape=function(r,i){this[r]=i,this.raws&&delete this.raws[r]},t.isAtPosition=function(r,i){if(this.source&&this.source.start&&this.source.end)return!(this.source.start.line>r||this.source.end.line<r||this.source.start.line===r&&this.source.start.column>i||this.source.end.line===r&&this.source.end.column<i)},t.stringifyProperty=function(r){return this.raws&&this.raws[r]||this[r]},t.valueToString=function(){return String(this.stringifyProperty("value"))},t.toString=function(){return[this.rawSpaceBefore,this.valueToString(),this.rawSpaceAfter].join("")},Pf(e,[{key:"rawSpaceBefore",get:function(){var r=this.raws&&this.raws.spaces&&this.raws.spaces.before;return r===void 0&&(r=this.spaces&&this.spaces.before),r||""},set:function(r){(0,Bs.ensureObject)(this,"raws","spaces"),this.raws.spaces.before=r}},{key:"rawSpaceAfter",get:function(){var r=this.raws&&this.raws.spaces&&this.raws.spaces.after;return r===void 0&&(r=this.spaces.after),r||""},set:function(r){(0,Bs.ensureObject)(this,"raws","spaces"),this.raws.spaces.after=r}}]),e}();Dt.default=If;Gs.exports=Dt.default});var ae=L(K=>{"use strict";c();K.__esModule=!0;K.UNIVERSAL=K.ATTRIBUTE=K.CLASS=K.COMBINATOR=K.COMMENT=K.ID=K.NESTING=K.PSEUDO=K.ROOT=K.SELECTOR=K.STRING=K.TAG=void 0;var Lf="tag";K.TAG=Lf;var Rf="string";K.STRING=Rf;var Cf="selector";K.SELECTOR=Cf;var Df="root";K.ROOT=Df;var Mf="pseudo";K.PSEUDO=Mf;var Ff="nesting";K.NESTING=Ff;var Nf="id";K.ID=Nf;var Wf="comment";K.COMMENT=Wf;var qf="combinator";K.COMBINATOR=qf;var $f="class";K.CLASS=$f;var Bf="attribute";K.ATTRIBUTE=Bf;var Uf="universal";K.UNIVERSAL=Uf});var Br=L((Mt,Vs)=>{"use strict";c();Mt.__esModule=!0;Mt.default=void 0;var Gf=jf(Fe()),Ne=zf(ae());function Hs(){if(typeof WeakMap!="function")return null;var e=new WeakMap;return Hs=function(){return e},e}function zf(e){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=Hs();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var s=r?Object.getOwnPropertyDescriptor(e,i):null;s&&(s.get||s.set)?Object.defineProperty(n,i,s):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}function jf(e){return e&&e.__esModule?e:{default:e}}function Hf(e,t){var n;if(typeof Symbol>"u"||e[Symbol.iterator]==null){if(Array.isArray(e)||(n=Vf(e))||t&&e&&typeof e.length=="number"){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
2
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}return n=e[Symbol.iterator](),n.next.bind(n)}function Vf(e,t){if(!!e){if(typeof e=="string")return zs(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return zs(e,t)}}function zs(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function js(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Yf(e,t,n){return t&&js(e.prototype,t),n&&js(e,n),e}function Xf(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Hn(e,t)}function Hn(e,t){return Hn=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},Hn(e,t)}var Qf=function(e){Xf(t,e);function t(r){var i;return i=e.call(this,r)||this,i.nodes||(i.nodes=[]),i}var n=t.prototype;return n.append=function(i){return i.parent=this,this.nodes.push(i),this},n.prepend=function(i){return i.parent=this,this.nodes.unshift(i),this},n.at=function(i){return this.nodes[i]},n.index=function(i){return typeof i=="number"?i:this.nodes.indexOf(i)},n.removeChild=function(i){i=this.index(i),this.at(i).parent=void 0,this.nodes.splice(i,1);var s;for(var o in this.indexes)s=this.indexes[o],s>=i&&(this.indexes[o]=s-1);return this},n.removeAll=function(){for(var i=Hf(this.nodes),s;!(s=i()).done;){var o=s.value;o.parent=void 0}return this.nodes=[],this},n.empty=function(){return this.removeAll()},n.insertAfter=function(i,s){s.parent=this;var o=this.index(i);this.nodes.splice(o+1,0,s),s.parent=this;var a;for(var u in this.indexes)a=this.indexes[u],o<=a&&(this.indexes[u]=a+1);return this},n.insertBefore=function(i,s){s.parent=this;var o=this.index(i);this.nodes.splice(o,0,s),s.parent=this;var a;for(var u in this.indexes)a=this.indexes[u],a<=o&&(this.indexes[u]=a+1);return this},n._findChildAtPosition=function(i,s){var o=void 0;return this.each(function(a){if(a.atPosition){var u=a.atPosition(i,s);if(u)return o=u,!1}else if(a.isAtPosition(i,s))return o=a,!1}),o},n.atPosition=function(i,s){if(this.isAtPosition(i,s))return this._findChildAtPosition(i,s)||this},n._inferEndPosition=function(){this.last&&this.last.source&&this.last.source.end&&(this.source=this.source||{},this.source.end=this.source.end||{},Object.assign(this.source.end,this.last.source.end))},n.each=function(i){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach++;var s=this.lastEach;if(this.indexes[s]=0,!!this.length){for(var o,a;this.indexes[s]<this.length&&(o=this.indexes[s],a=i(this.at(o),o),a!==!1);)this.indexes[s]+=1;if(delete this.indexes[s],a===!1)return!1}},n.walk=function(i){return this.each(function(s,o){var a=i(s,o);if(a!==!1&&s.length&&(a=s.walk(i)),a===!1)return!1})},n.walkAttributes=function(i){var s=this;return this.walk(function(o){if(o.type===Ne.ATTRIBUTE)return i.call(s,o)})},n.walkClasses=function(i){var s=this;return this.walk(function(o){if(o.type===Ne.CLASS)return i.call(s,o)})},n.walkCombinators=function(i){var s=this;return this.walk(function(o){if(o.type===Ne.COMBINATOR)return i.call(s,o)})},n.walkComments=function(i){var s=this;return this.walk(function(o){if(o.type===Ne.COMMENT)return i.call(s,o)})},n.walkIds=function(i){var s=this;return this.walk(function(o){if(o.type===Ne.ID)return i.call(s,o)})},n.walkNesting=function(i){var s=this;return this.walk(function(o){if(o.type===Ne.NESTING)return i.call(s,o)})},n.walkPseudos=function(i){var s=this;return this.walk(function(o){if(o.type===Ne.PSEUDO)return i.call(s,o)})},n.walkTags=function(i){var s=this;return this.walk(function(o){if(o.type===Ne.TAG)return i.call(s,o)})},n.walkUniversals=function(i){var s=this;return this.walk(function(o){if(o.type===Ne.UNIVERSAL)return i.call(s,o)})},n.split=function(i){var s=this,o=[];return this.reduce(function(a,u,l){var f=i.call(s,u);return o.push(u),f?(a.push(o),o=[]):l===s.length-1&&a.push(o),a},[])},n.map=function(i){return this.nodes.map(i)},n.reduce=function(i,s){return this.nodes.reduce(i,s)},n.every=function(i){return this.nodes.every(i)},n.some=function(i){return this.nodes.some(i)},n.filter=function(i){return this.nodes.filter(i)},n.sort=function(i){return this.nodes.sort(i)},n.toString=function(){return this.map(String).join("")},Yf(t,[{key:"first",get:function(){return this.at(0)}},{key:"last",get:function(){return this.at(this.length-1)}},{key:"length",get:function(){return this.nodes.length}}]),t}(Gf.default);Mt.default=Qf;Vs.exports=Mt.default});var Yn=L((Ft,Xs)=>{"use strict";c();Ft.__esModule=!0;Ft.default=void 0;var Kf=Zf(Br()),Jf=ae();function Zf(e){return e&&e.__esModule?e:{default:e}}function Ys(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ec(e,t,n){return t&&Ys(e.prototype,t),n&&Ys(e,n),e}function tc(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Vn(e,t)}function Vn(e,t){return Vn=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},Vn(e,t)}var rc=function(e){tc(t,e);function t(r){var i;return i=e.call(this,r)||this,i.type=Jf.ROOT,i}var n=t.prototype;return n.toString=function(){var i=this.reduce(function(s,o){return s.push(String(o)),s},[]).join(",");return this.trailingComma?i+",":i},n.error=function(i,s){return this._error?this._error(i,s):new Error(i)},ec(t,[{key:"errorGenerator",set:function(i){this._error=i}}]),t}(Kf.default);Ft.default=rc;Xs.exports=Ft.default});var Qn=L((Nt,Qs)=>{"use strict";c();Nt.__esModule=!0;Nt.default=void 0;var nc=oc(Br()),ic=ae();function oc(e){return e&&e.__esModule?e:{default:e}}function sc(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Xn(e,t)}function Xn(e,t){return Xn=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},Xn(e,t)}var ac=function(e){sc(t,e);function t(n){var r;return r=e.call(this,n)||this,r.type=ic.SELECTOR,r}return t}(nc.default);Nt.default=ac;Qs.exports=Nt.default});var Ur=L((Hg,Ks)=>{"use strict";c();var uc={},lc=uc.hasOwnProperty,fc=function(t,n){if(!t)return n;var r={};for(var i in n)r[i]=lc.call(t,i)?t[i]:n[i];return r},cc=/[ -,\.\/:-@\[-\^`\{-~]/,dc=/[ -,\.\/:-@\[\]\^`\{-~]/,pc=/(^|\\+)?(\\[A-F0-9]{1,6})\x20(?![a-fA-F0-9\x20])/g,Kn=function e(t,n){n=fc(n,e.options),n.quotes!="single"&&n.quotes!="double"&&(n.quotes="single");for(var r=n.quotes=="double"?'"':"'",i=n.isIdentifier,s=t.charAt(0),o="",a=0,u=t.length;a<u;){var l=t.charAt(a++),f=l.charCodeAt(),d=void 0;if(f<32||f>126){if(f>=55296&&f<=56319&&a<u){var b=t.charCodeAt(a++);(b&64512)==56320?f=((f&1023)<<10)+(b&1023)+65536:a--}d="\\"+f.toString(16).toUpperCase()+" "}else n.escapeEverything?cc.test(l)?d="\\"+l:d="\\"+f.toString(16).toUpperCase()+" ":/[\t\n\f\r\x0B]/.test(l)?d="\\"+f.toString(16).toUpperCase()+" ":l=="\\"||!i&&(l=='"'&&r==l||l=="'"&&r==l)||i&&dc.test(l)?d="\\"+l:d=l;o+=d}return i&&(/^-[-\d]/.test(o)?o="\\-"+o.slice(1):/\d/.test(s)&&(o="\\3"+s+" "+o.slice(1))),o=o.replace(pc,function(h,p,g){return p&&p.length%2?h:(p||"")+g}),!i&&n.wrap?r+o+r:o};Kn.options={escapeEverything:!1,isIdentifier:!1,quotes:"single",wrap:!1};Kn.version="3.0.0";Ks.exports=Kn});var Zn=L((Wt,ea)=>{"use strict";c();Wt.__esModule=!0;Wt.default=void 0;var hc=Zs(Ur()),mc=Ct(),gc=Zs(Fe()),vc=ae();function Zs(e){return e&&e.__esModule?e:{default:e}}function Js(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function bc(e,t,n){return t&&Js(e.prototype,t),n&&Js(e,n),e}function yc(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Jn(e,t)}function Jn(e,t){return Jn=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},Jn(e,t)}var xc=function(e){yc(t,e);function t(r){var i;return i=e.call(this,r)||this,i.type=vc.CLASS,i._constructed=!0,i}var n=t.prototype;return n.valueToString=function(){return"."+e.prototype.valueToString.call(this)},bc(t,[{key:"value",get:function(){return this._value},set:function(i){if(this._constructed){var s=(0,hc.default)(i,{isIdentifier:!0});s!==i?((0,mc.ensureObject)(this,"raws"),this.raws.value=s):this.raws&&delete this.raws.value}this._value=i}}]),t}(gc.default);Wt.default=xc;ea.exports=Wt.default});var ti=L((qt,ta)=>{"use strict";c();qt.__esModule=!0;qt.default=void 0;var wc=Sc(Fe()),_c=ae();function Sc(e){return e&&e.__esModule?e:{default:e}}function kc(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,ei(e,t)}function ei(e,t){return ei=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},ei(e,t)}var Tc=function(e){kc(t,e);function t(n){var r;return r=e.call(this,n)||this,r.type=_c.COMMENT,r}return t}(wc.default);qt.default=Tc;ta.exports=qt.default});var ni=L(($t,ra)=>{"use strict";c();$t.__esModule=!0;$t.default=void 0;var Ec=Pc(Fe()),Oc=ae();function Pc(e){return e&&e.__esModule?e:{default:e}}function Ac(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,ri(e,t)}function ri(e,t){return ri=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},ri(e,t)}var Ic=function(e){Ac(t,e);function t(r){var i;return i=e.call(this,r)||this,i.type=Oc.ID,i}var n=t.prototype;return n.valueToString=function(){return"#"+e.prototype.valueToString.call(this)},t}(Ec.default);$t.default=Ic;ra.exports=$t.default});var Gr=L((Bt,oa)=>{"use strict";c();Bt.__esModule=!0;Bt.default=void 0;var Lc=ia(Ur()),Rc=Ct(),Cc=ia(Fe());function ia(e){return e&&e.__esModule?e:{default:e}}function na(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Dc(e,t,n){return t&&na(e.prototype,t),n&&na(e,n),e}function Mc(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,ii(e,t)}function ii(e,t){return ii=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},ii(e,t)}var Fc=function(e){Mc(t,e);function t(){return e.apply(this,arguments)||this}var n=t.prototype;return n.qualifiedName=function(i){return this.namespace?this.namespaceString+"|"+i:i},n.valueToString=function(){return this.qualifiedName(e.prototype.valueToString.call(this))},Dc(t,[{key:"namespace",get:function(){return this._namespace},set:function(i){if(i===!0||i==="*"||i==="&"){this._namespace=i,this.raws&&delete this.raws.namespace;return}var s=(0,Lc.default)(i,{isIdentifier:!0});this._namespace=i,s!==i?((0,Rc.ensureObject)(this,"raws"),this.raws.namespace=s):this.raws&&delete this.raws.namespace}},{key:"ns",get:function(){return this._namespace},set:function(i){this.namespace=i}},{key:"namespaceString",get:function(){if(this.namespace){var i=this.stringifyProperty("namespace");return i===!0?"":i}else return""}}]),t}(Cc.default);Bt.default=Fc;oa.exports=Bt.default});var si=L((Ut,sa)=>{"use strict";c();Ut.__esModule=!0;Ut.default=void 0;var Nc=qc(Gr()),Wc=ae();function qc(e){return e&&e.__esModule?e:{default:e}}function $c(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,oi(e,t)}function oi(e,t){return oi=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},oi(e,t)}var Bc=function(e){$c(t,e);function t(n){var r;return r=e.call(this,n)||this,r.type=Wc.TAG,r}return t}(Nc.default);Ut.default=Bc;sa.exports=Ut.default});var ui=L((Gt,aa)=>{"use strict";c();Gt.__esModule=!0;Gt.default=void 0;var Uc=zc(Fe()),Gc=ae();function zc(e){return e&&e.__esModule?e:{default:e}}function jc(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,ai(e,t)}function ai(e,t){return ai=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},ai(e,t)}var Hc=function(e){jc(t,e);function t(n){var r;return r=e.call(this,n)||this,r.type=Gc.STRING,r}return t}(Uc.default);Gt.default=Hc;aa.exports=Gt.default});var fi=L((zt,ua)=>{"use strict";c();zt.__esModule=!0;zt.default=void 0;var Vc=Xc(Br()),Yc=ae();function Xc(e){return e&&e.__esModule?e:{default:e}}function Qc(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,li(e,t)}function li(e,t){return li=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},li(e,t)}var Kc=function(e){Qc(t,e);function t(r){var i;return i=e.call(this,r)||this,i.type=Yc.PSEUDO,i}var n=t.prototype;return n.toString=function(){var i=this.length?"("+this.map(String).join(",")+")":"";return[this.rawSpaceBefore,this.stringifyProperty("value"),i,this.rawSpaceAfter].join("")},t}(Vc.default);zt.default=Kc;ua.exports=zt.default});var fa=L((Vg,la)=>{c();la.exports=function(t,n){return function(...r){return console.warn(n),t(...r)}}});var gi=L(Vt=>{"use strict";c();Vt.__esModule=!0;Vt.unescapeValue=mi;Vt.default=void 0;var jt=hi(Ur()),Jc=hi(jn()),Zc=hi(Gr()),ed=ae(),ci;function hi(e){return e&&e.__esModule?e:{default:e}}function ca(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function td(e,t,n){return t&&ca(e.prototype,t),n&&ca(e,n),e}function rd(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,pi(e,t)}function pi(e,t){return pi=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},pi(e,t)}var Ht=fa(),nd=/^('|")([^]*)\1$/,id=Ht(function(){},"Assigning an attribute a value containing characters that might need to be escaped is deprecated. Call attribute.setValue() instead."),od=Ht(function(){},"Assigning attr.quoted is deprecated and has no effect. Assign to attr.quoteMark instead."),sd=Ht(function(){},"Constructing an Attribute selector with a value without specifying quoteMark is deprecated. Note: The value should be unescaped now.");function mi(e){var t=!1,n=null,r=e,i=r.match(nd);return i&&(n=i[1],r=i[2]),r=(0,Jc.default)(r),r!==e&&(t=!0),{deprecatedUsage:t,unescaped:r,quoteMark:n}}function ad(e){if(e.quoteMark!==void 0||e.value===void 0)return e;sd();var t=mi(e.value),n=t.quoteMark,r=t.unescaped;return e.raws||(e.raws={}),e.raws.value===void 0&&(e.raws.value=e.value),e.value=r,e.quoteMark=n,e}var zr=function(e){rd(t,e);function t(r){var i;return r===void 0&&(r={}),i=e.call(this,ad(r))||this,i.type=ed.ATTRIBUTE,i.raws=i.raws||{},Object.defineProperty(i.raws,"unquoted",{get:Ht(function(){return i.value},"attr.raws.unquoted is deprecated. Call attr.value instead."),set:Ht(function(){return i.value},"Setting attr.raws.unquoted is deprecated and has no effect. attr.value is unescaped by default now.")}),i._constructed=!0,i}var n=t.prototype;return n.getQuotedValue=function(i){i===void 0&&(i={});var s=this._determineQuoteMark(i),o=di[s],a=(0,jt.default)(this._value,o);return a},n._determineQuoteMark=function(i){return i.smart?this.smartQuoteMark(i):this.preferredQuoteMark(i)},n.setValue=function(i,s){s===void 0&&(s={}),this._value=i,this._quoteMark=this._determineQuoteMark(s),this._syncRawValue()},n.smartQuoteMark=function(i){var s=this.value,o=s.replace(/[^']/g,"").length,a=s.replace(/[^"]/g,"").length;if(o+a===0){var u=(0,jt.default)(s,{isIdentifier:!0});if(u===s)return t.NO_QUOTE;var l=this.preferredQuoteMark(i);if(l===t.NO_QUOTE){var f=this.quoteMark||i.quoteMark||t.DOUBLE_QUOTE,d=di[f],b=(0,jt.default)(s,d);if(b.length<u.length)return f}return l}else return a===o?this.preferredQuoteMark(i):a<o?t.DOUBLE_QUOTE:t.SINGLE_QUOTE},n.preferredQuoteMark=function(i){var s=i.preferCurrentQuoteMark?this.quoteMark:i.quoteMark;return s===void 0&&(s=i.preferCurrentQuoteMark?i.quoteMark:this.quoteMark),s===void 0&&(s=t.DOUBLE_QUOTE),s},n._syncRawValue=function(){var i=(0,jt.default)(this._value,di[this.quoteMark]);i===this._value?this.raws&&delete this.raws.value:this.raws.value=i},n._handleEscapes=function(i,s){if(this._constructed){var o=(0,jt.default)(s,{isIdentifier:!0});o!==s?this.raws[i]=o:delete this.raws[i]}},n._spacesFor=function(i){var s={before:"",after:""},o=this.spaces[i]||{},a=this.raws.spaces&&this.raws.spaces[i]||{};return Object.assign(s,o,a)},n._stringFor=function(i,s,o){s===void 0&&(s=i),o===void 0&&(o=da);var a=this._spacesFor(s);return o(this.stringifyProperty(i),a)},n.offsetOf=function(i){var s=1,o=this._spacesFor("attribute");if(s+=o.before.length,i==="namespace"||i==="ns")return this.namespace?s:-1;if(i==="attributeNS"||(s+=this.namespaceString.length,this.namespace&&(s+=1),i==="attribute"))return s;s+=this.stringifyProperty("attribute").length,s+=o.after.length;var a=this._spacesFor("operator");s+=a.before.length;var u=this.stringifyProperty("operator");if(i==="operator")return u?s:-1;s+=u.length,s+=a.after.length;var l=this._spacesFor("value");s+=l.before.length;var f=this.stringifyProperty("value");if(i==="value")return f?s:-1;s+=f.length,s+=l.after.length;var d=this._spacesFor("insensitive");return s+=d.before.length,i==="insensitive"&&this.insensitive?s:-1},n.toString=function(){var i=this,s=[this.rawSpaceBefore,"["];return s.push(this._stringFor("qualifiedAttribute","attribute")),this.operator&&(this.value||this.value==="")&&(s.push(this._stringFor("operator")),s.push(this._stringFor("value")),s.push(this._stringFor("insensitiveFlag","insensitive",function(o,a){return o.length>0&&!i.quoted&&a.before.length===0&&!(i.spaces.value&&i.spaces.value.after)&&(a.before=" "),da(o,a)}))),s.push("]"),s.push(this.rawSpaceAfter),s.join("")},td(t,[{key:"quoted",get:function(){var i=this.quoteMark;return i==="'"||i==='"'},set:function(i){od()}},{key:"quoteMark",get:function(){return this._quoteMark},set:function(i){if(!this._constructed){this._quoteMark=i;return}this._quoteMark!==i&&(this._quoteMark=i,this._syncRawValue())}},{key:"qualifiedAttribute",get:function(){return this.qualifiedName(this.raws.attribute||this.attribute)}},{key:"insensitiveFlag",get:function(){return this.insensitive?"i":""}},{key:"value",get:function(){return this._value},set:function(i){if(this._constructed){var s=mi(i),o=s.deprecatedUsage,a=s.unescaped,u=s.quoteMark;if(o&&id(),a===this._value&&u===this._quoteMark)return;this._value=a,this._quoteMark=u,this._syncRawValue()}else this._value=i}},{key:"attribute",get:function(){return this._attribute},set:function(i){this._handleEscapes("attribute",i),this._attribute=i}}]),t}(Zc.default);Vt.default=zr;zr.NO_QUOTE=null;zr.SINGLE_QUOTE="'";zr.DOUBLE_QUOTE='"';var di=(ci={"'":{quotes:"single",wrap:!0},'"':{quotes:"double",wrap:!0}},ci[null]={isIdentifier:!0},ci);function da(e,t){return""+t.before+e+t.after}});var bi=L((Yt,pa)=>{"use strict";c();Yt.__esModule=!0;Yt.default=void 0;var ud=fd(Gr()),ld=ae();function fd(e){return e&&e.__esModule?e:{default:e}}function cd(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,vi(e,t)}function vi(e,t){return vi=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},vi(e,t)}var dd=function(e){cd(t,e);function t(n){var r;return r=e.call(this,n)||this,r.type=ld.UNIVERSAL,r.value="*",r}return t}(ud.default);Yt.default=dd;pa.exports=Yt.default});var xi=L((Xt,ha)=>{"use strict";c();Xt.__esModule=!0;Xt.default=void 0;var pd=md(Fe()),hd=ae();function md(e){return e&&e.__esModule?e:{default:e}}function gd(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,yi(e,t)}function yi(e,t){return yi=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},yi(e,t)}var vd=function(e){gd(t,e);function t(n){var r;return r=e.call(this,n)||this,r.type=hd.COMBINATOR,r}return t}(pd.default);Xt.default=vd;ha.exports=Xt.default});var _i=L((Qt,ma)=>{"use strict";c();Qt.__esModule=!0;Qt.default=void 0;var bd=xd(Fe()),yd=ae();function xd(e){return e&&e.__esModule?e:{default:e}}function wd(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,wi(e,t)}function wi(e,t){return wi=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},wi(e,t)}var _d=function(e){wd(t,e);function t(n){var r;return r=e.call(this,n)||this,r.type=yd.NESTING,r.value="&",r}return t}(bd.default);Qt.default=_d;ma.exports=Qt.default});var va=L((jr,ga)=>{"use strict";c();jr.__esModule=!0;jr.default=Sd;function Sd(e){return e.sort(function(t,n){return t-n})}ga.exports=jr.default});var Si=L(P=>{"use strict";c();P.__esModule=!0;P.combinator=P.word=P.comment=P.str=P.tab=P.newline=P.feed=P.cr=P.backslash=P.bang=P.slash=P.doubleQuote=P.singleQuote=P.space=P.greaterThan=P.pipe=P.equals=P.plus=P.caret=P.tilde=P.dollar=P.closeSquare=P.openSquare=P.closeParenthesis=P.openParenthesis=P.semicolon=P.colon=P.comma=P.at=P.asterisk=P.ampersand=void 0;var kd=38;P.ampersand=kd;var Td=42;P.asterisk=Td;var Ed=64;P.at=Ed;var Od=44;P.comma=Od;var Pd=58;P.colon=Pd;var Ad=59;P.semicolon=Ad;var Id=40;P.openParenthesis=Id;var Ld=41;P.closeParenthesis=Ld;var Rd=91;P.openSquare=Rd;var Cd=93;P.closeSquare=Cd;var Dd=36;P.dollar=Dd;var Md=126;P.tilde=Md;var Fd=94;P.caret=Fd;var Nd=43;P.plus=Nd;var Wd=61;P.equals=Wd;var qd=124;P.pipe=qd;var $d=62;P.greaterThan=$d;var Bd=32;P.space=Bd;var ba=39;P.singleQuote=ba;var Ud=34;P.doubleQuote=Ud;var Gd=47;P.slash=Gd;var zd=33;P.bang=zd;var jd=92;P.backslash=jd;var Hd=13;P.cr=Hd;var Vd=12;P.feed=Vd;var Yd=10;P.newline=Yd;var Xd=9;P.tab=Xd;var Qd=ba;P.str=Qd;var Kd=-1;P.comment=Kd;var Jd=-2;P.word=Jd;var Zd=-3;P.combinator=Zd});var wa=L(Kt=>{"use strict";c();Kt.__esModule=!0;Kt.default=sp;Kt.FIELDS=void 0;var T=ep(Si()),ct,X;function xa(){if(typeof WeakMap!="function")return null;var e=new WeakMap;return xa=function(){return e},e}function ep(e){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=xa();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var s=r?Object.getOwnPropertyDescriptor(e,i):null;s&&(s.get||s.set)?Object.defineProperty(n,i,s):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}var tp=(ct={},ct[T.tab]=!0,ct[T.newline]=!0,ct[T.cr]=!0,ct[T.feed]=!0,ct),rp=(X={},X[T.space]=!0,X[T.tab]=!0,X[T.newline]=!0,X[T.cr]=!0,X[T.feed]=!0,X[T.ampersand]=!0,X[T.asterisk]=!0,X[T.bang]=!0,X[T.comma]=!0,X[T.colon]=!0,X[T.semicolon]=!0,X[T.openParenthesis]=!0,X[T.closeParenthesis]=!0,X[T.openSquare]=!0,X[T.closeSquare]=!0,X[T.singleQuote]=!0,X[T.doubleQuote]=!0,X[T.plus]=!0,X[T.pipe]=!0,X[T.tilde]=!0,X[T.greaterThan]=!0,X[T.equals]=!0,X[T.dollar]=!0,X[T.caret]=!0,X[T.slash]=!0,X),ki={},ya="0123456789abcdefABCDEF";for(Hr=0;Hr<ya.length;Hr++)ki[ya.charCodeAt(Hr)]=!0;var Hr;function np(e,t){var n=t,r;do{if(r=e.charCodeAt(n),rp[r])return n-1;r===T.backslash?n=ip(e,n)+1:n++}while(n<e.length);return n-1}function ip(e,t){var n=t,r=e.charCodeAt(n+1);if(!tp[r])if(ki[r]){var i=0;do n++,i++,r=e.charCodeAt(n+1);while(ki[r]&&i<6);i<6&&r===T.space&&n++}else n++;return n}var op={TYPE:0,START_LINE:1,START_COL:2,END_LINE:3,END_COL:4,START_POS:5,END_POS:6};Kt.FIELDS=op;function sp(e){var t=[],n=e.css.valueOf(),r=n,i=r.length,s=-1,o=1,a=0,u=0,l,f,d,b,h,p,g,w,v,y,_,E,k;function D(R,M){if(e.safe)n+=M,v=n.length-1;else throw e.error("Unclosed "+R,o,a-s,a)}for(;a<i;){switch(l=n.charCodeAt(a),l===T.newline&&(s=a,o+=1),l){case T.space:case T.tab:case T.newline:case T.cr:case T.feed:v=a;do v+=1,l=n.charCodeAt(v),l===T.newline&&(s=v,o+=1);while(l===T.space||l===T.newline||l===T.tab||l===T.cr||l===T.feed);k=T.space,b=o,d=v-s-1,u=v;break;case T.plus:case T.greaterThan:case T.tilde:case T.pipe:v=a;do v+=1,l=n.charCodeAt(v);while(l===T.plus||l===T.greaterThan||l===T.tilde||l===T.pipe);k=T.combinator,b=o,d=a-s,u=v;break;case T.asterisk:case T.ampersand:case T.bang:case T.comma:case T.equals:case T.dollar:case T.caret:case T.openSquare:case T.closeSquare:case T.colon:case T.semicolon:case T.openParenthesis:case T.closeParenthesis:v=a,k=l,b=o,d=a-s,u=v+1;break;case T.singleQuote:case T.doubleQuote:E=l===T.singleQuote?"'":'"',v=a;do for(h=!1,v=n.indexOf(E,v+1),v===-1&&D("quote",E),p=v;n.charCodeAt(p-1)===T.backslash;)p-=1,h=!h;while(h);k=T.str,b=o,d=a-s,u=v+1;break;default:l===T.slash&&n.charCodeAt(a+1)===T.asterisk?(v=n.indexOf("*/",a+2)+1,v===0&&D("comment","*/"),f=n.slice(a,v+1),w=f.split(`
3
+ `),g=w.length-1,g>0?(y=o+g,_=v-w[g].length):(y=o,_=s),k=T.comment,o=y,b=y,d=v-_):l===T.slash?(v=a,k=l,b=o,d=a-s,u=v+1):(v=np(n,a),k=T.word,b=o,d=v-s),u=v+1;break}t.push([k,o,a-s,b,d,a,u]),_&&(s=_,_=null),a=u}return t}});var Aa=L((Jt,Pa)=>{"use strict";c();Jt.__esModule=!0;Jt.default=void 0;var ap=_e(Yn()),Ti=_e(Qn()),up=_e(Zn()),_a=_e(ti()),lp=_e(ni()),fp=_e(si()),Ei=_e(ui()),cp=_e(fi()),Sa=Vr(gi()),dp=_e(bi()),Oi=_e(xi()),pp=_e(_i()),hp=_e(va()),S=Vr(wa()),O=Vr(Si()),mp=Vr(ae()),Z=Ct(),Ze,Pi;function Oa(){if(typeof WeakMap!="function")return null;var e=new WeakMap;return Oa=function(){return e},e}function Vr(e){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=Oa();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var s=r?Object.getOwnPropertyDescriptor(e,i):null;s&&(s.get||s.set)?Object.defineProperty(n,i,s):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}function _e(e){return e&&e.__esModule?e:{default:e}}function ka(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function gp(e,t,n){return t&&ka(e.prototype,t),n&&ka(e,n),e}var Li=(Ze={},Ze[O.space]=!0,Ze[O.cr]=!0,Ze[O.feed]=!0,Ze[O.newline]=!0,Ze[O.tab]=!0,Ze),vp=Object.assign({},Li,(Pi={},Pi[O.comment]=!0,Pi));function Ta(e){return{line:e[S.FIELDS.START_LINE],column:e[S.FIELDS.START_COL]}}function Ea(e){return{line:e[S.FIELDS.END_LINE],column:e[S.FIELDS.END_COL]}}function et(e,t,n,r){return{start:{line:e,column:t},end:{line:n,column:r}}}function dt(e){return et(e[S.FIELDS.START_LINE],e[S.FIELDS.START_COL],e[S.FIELDS.END_LINE],e[S.FIELDS.END_COL])}function Ai(e,t){if(!!e)return et(e[S.FIELDS.START_LINE],e[S.FIELDS.START_COL],t[S.FIELDS.END_LINE],t[S.FIELDS.END_COL])}function pt(e,t){var n=e[t];if(typeof n=="string")return n.indexOf("\\")!==-1&&((0,Z.ensureObject)(e,"raws"),e[t]=(0,Z.unesc)(n),e.raws[t]===void 0&&(e.raws[t]=n)),e}function Ii(e,t){for(var n=-1,r=[];(n=e.indexOf(t,n+1))!==-1;)r.push(n);return r}function bp(){var e=Array.prototype.concat.apply([],arguments);return e.filter(function(t,n){return n===e.indexOf(t)})}var yp=function(){function e(n,r){r===void 0&&(r={}),this.rule=n,this.options=Object.assign({lossy:!1,safe:!1},r),this.position=0,this.css=typeof this.rule=="string"?this.rule:this.rule.selector,this.tokens=(0,S.default)({css:this.css,error:this._errorGenerator(),safe:this.options.safe});var i=Ai(this.tokens[0],this.tokens[this.tokens.length-1]);this.root=new ap.default({source:i}),this.root.errorGenerator=this._errorGenerator();var s=new Ti.default({source:{start:{line:1,column:1}}});this.root.append(s),this.current=s,this.loop()}var t=e.prototype;return t._errorGenerator=function(){var r=this;return function(i,s){return typeof r.rule=="string"?new Error(i):r.rule.error(i,s)}},t.attribute=function(){var r=[],i=this.currToken;for(this.position++;this.position<this.tokens.length&&this.currToken[S.FIELDS.TYPE]!==O.closeSquare;)r.push(this.currToken),this.position++;if(this.currToken[S.FIELDS.TYPE]!==O.closeSquare)return this.expected("closing square bracket",this.currToken[S.FIELDS.START_POS]);var s=r.length,o={source:et(i[1],i[2],this.currToken[3],this.currToken[4]),sourceIndex:i[S.FIELDS.START_POS]};if(s===1&&!~[O.word].indexOf(r[0][S.FIELDS.TYPE]))return this.expected("attribute",r[0][S.FIELDS.START_POS]);for(var a=0,u="",l="",f=null,d=!1;a<s;){var b=r[a],h=this.content(b),p=r[a+1];switch(b[S.FIELDS.TYPE]){case O.space:if(d=!0,this.options.lossy)break;if(f){(0,Z.ensureObject)(o,"spaces",f);var g=o.spaces[f].after||"";o.spaces[f].after=g+h;var w=(0,Z.getProp)(o,"raws","spaces",f,"after")||null;w&&(o.raws.spaces[f].after=w+h)}else u=u+h,l=l+h;break;case O.asterisk:if(p[S.FIELDS.TYPE]===O.equals)o.operator=h,f="operator";else if((!o.namespace||f==="namespace"&&!d)&&p){u&&((0,Z.ensureObject)(o,"spaces","attribute"),o.spaces.attribute.before=u,u=""),l&&((0,Z.ensureObject)(o,"raws","spaces","attribute"),o.raws.spaces.attribute.before=u,l=""),o.namespace=(o.namespace||"")+h;var v=(0,Z.getProp)(o,"raws","namespace")||null;v&&(o.raws.namespace+=h),f="namespace"}d=!1;break;case O.dollar:if(f==="value"){var y=(0,Z.getProp)(o,"raws","value");o.value+="$",y&&(o.raws.value=y+"$");break}case O.caret:p[S.FIELDS.TYPE]===O.equals&&(o.operator=h,f="operator"),d=!1;break;case O.combinator:if(h==="~"&&p[S.FIELDS.TYPE]===O.equals&&(o.operator=h,f="operator"),h!=="|"){d=!1;break}p[S.FIELDS.TYPE]===O.equals?(o.operator=h,f="operator"):!o.namespace&&!o.attribute&&(o.namespace=!0),d=!1;break;case O.word:if(p&&this.content(p)==="|"&&r[a+2]&&r[a+2][S.FIELDS.TYPE]!==O.equals&&!o.operator&&!o.namespace)o.namespace=h,f="namespace";else if(!o.attribute||f==="attribute"&&!d){u&&((0,Z.ensureObject)(o,"spaces","attribute"),o.spaces.attribute.before=u,u=""),l&&((0,Z.ensureObject)(o,"raws","spaces","attribute"),o.raws.spaces.attribute.before=l,l=""),o.attribute=(o.attribute||"")+h;var _=(0,Z.getProp)(o,"raws","attribute")||null;_&&(o.raws.attribute+=h),f="attribute"}else if(!o.value&&o.value!==""||f==="value"&&!d){var E=(0,Z.unesc)(h),k=(0,Z.getProp)(o,"raws","value")||"",D=o.value||"";o.value=D+E,o.quoteMark=null,(E!==h||k)&&((0,Z.ensureObject)(o,"raws"),o.raws.value=(k||D)+h),f="value"}else{var R=h==="i"||h==="I";(o.value||o.value==="")&&(o.quoteMark||d)?(o.insensitive=R,(!R||h==="I")&&((0,Z.ensureObject)(o,"raws"),o.raws.insensitiveFlag=h),f="insensitive",u&&((0,Z.ensureObject)(o,"spaces","insensitive"),o.spaces.insensitive.before=u,u=""),l&&((0,Z.ensureObject)(o,"raws","spaces","insensitive"),o.raws.spaces.insensitive.before=l,l="")):(o.value||o.value==="")&&(f="value",o.value+=h,o.raws.value&&(o.raws.value+=h))}d=!1;break;case O.str:if(!o.attribute||!o.operator)return this.error("Expected an attribute followed by an operator preceding the string.",{index:b[S.FIELDS.START_POS]});var M=(0,Sa.unescapeValue)(h),U=M.unescaped,G=M.quoteMark;o.value=U,o.quoteMark=G,f="value",(0,Z.ensureObject)(o,"raws"),o.raws.value=h,d=!1;break;case O.equals:if(!o.attribute)return this.expected("attribute",b[S.FIELDS.START_POS],h);if(o.value)return this.error('Unexpected "=" found; an operator was already defined.',{index:b[S.FIELDS.START_POS]});o.operator=o.operator?o.operator+h:h,f="operator",d=!1;break;case O.comment:if(f)if(d||p&&p[S.FIELDS.TYPE]===O.space||f==="insensitive"){var V=(0,Z.getProp)(o,"spaces",f,"after")||"",W=(0,Z.getProp)(o,"raws","spaces",f,"after")||V;(0,Z.ensureObject)(o,"raws","spaces",f),o.raws.spaces[f].after=W+h}else{var z=o[f]||"",te=(0,Z.getProp)(o,"raws",f)||z;(0,Z.ensureObject)(o,"raws"),o.raws[f]=te+h}else l=l+h;break;default:return this.error('Unexpected "'+h+'" found.',{index:b[S.FIELDS.START_POS]})}a++}pt(o,"attribute"),pt(o,"namespace"),this.newNode(new Sa.default(o)),this.position++},t.parseWhitespaceEquivalentTokens=function(r){r<0&&(r=this.tokens.length);var i=this.position,s=[],o="",a=void 0;do if(Li[this.currToken[S.FIELDS.TYPE]])this.options.lossy||(o+=this.content());else if(this.currToken[S.FIELDS.TYPE]===O.comment){var u={};o&&(u.before=o,o=""),a=new _a.default({value:this.content(),source:dt(this.currToken),sourceIndex:this.currToken[S.FIELDS.START_POS],spaces:u}),s.push(a)}while(++this.position<r);if(o){if(a)a.spaces.after=o;else if(!this.options.lossy){var l=this.tokens[i],f=this.tokens[this.position-1];s.push(new Ei.default({value:"",source:et(l[S.FIELDS.START_LINE],l[S.FIELDS.START_COL],f[S.FIELDS.END_LINE],f[S.FIELDS.END_COL]),sourceIndex:l[S.FIELDS.START_POS],spaces:{before:o,after:""}}))}}return s},t.convertWhitespaceNodesToSpace=function(r,i){var s=this;i===void 0&&(i=!1);var o="",a="";r.forEach(function(l){var f=s.lossySpace(l.spaces.before,i),d=s.lossySpace(l.rawSpaceBefore,i);o+=f+s.lossySpace(l.spaces.after,i&&f.length===0),a+=f+l.value+s.lossySpace(l.rawSpaceAfter,i&&d.length===0)}),a===o&&(a=void 0);var u={space:o,rawSpace:a};return u},t.isNamedCombinator=function(r){return r===void 0&&(r=this.position),this.tokens[r+0]&&this.tokens[r+0][S.FIELDS.TYPE]===O.slash&&this.tokens[r+1]&&this.tokens[r+1][S.FIELDS.TYPE]===O.word&&this.tokens[r+2]&&this.tokens[r+2][S.FIELDS.TYPE]===O.slash},t.namedCombinator=function(){if(this.isNamedCombinator()){var r=this.content(this.tokens[this.position+1]),i=(0,Z.unesc)(r).toLowerCase(),s={};i!==r&&(s.value="/"+r+"/");var o=new Oi.default({value:"/"+i+"/",source:et(this.currToken[S.FIELDS.START_LINE],this.currToken[S.FIELDS.START_COL],this.tokens[this.position+2][S.FIELDS.END_LINE],this.tokens[this.position+2][S.FIELDS.END_COL]),sourceIndex:this.currToken[S.FIELDS.START_POS],raws:s});return this.position=this.position+3,o}else this.unexpected()},t.combinator=function(){var r=this;if(this.content()==="|")return this.namespace();var i=this.locateNextMeaningfulToken(this.position);if(i<0||this.tokens[i][S.FIELDS.TYPE]===O.comma){var s=this.parseWhitespaceEquivalentTokens(i);if(s.length>0){var o=this.current.last;if(o){var a=this.convertWhitespaceNodesToSpace(s),u=a.space,l=a.rawSpace;l!==void 0&&(o.rawSpaceAfter+=l),o.spaces.after+=u}else s.forEach(function(k){return r.newNode(k)})}return}var f=this.currToken,d=void 0;i>this.position&&(d=this.parseWhitespaceEquivalentTokens(i));var b;if(this.isNamedCombinator()?b=this.namedCombinator():this.currToken[S.FIELDS.TYPE]===O.combinator?(b=new Oi.default({value:this.content(),source:dt(this.currToken),sourceIndex:this.currToken[S.FIELDS.START_POS]}),this.position++):Li[this.currToken[S.FIELDS.TYPE]]||d||this.unexpected(),b){if(d){var h=this.convertWhitespaceNodesToSpace(d),p=h.space,g=h.rawSpace;b.spaces.before=p,b.rawSpaceBefore=g}}else{var w=this.convertWhitespaceNodesToSpace(d,!0),v=w.space,y=w.rawSpace;y||(y=v);var _={},E={spaces:{}};v.endsWith(" ")&&y.endsWith(" ")?(_.before=v.slice(0,v.length-1),E.spaces.before=y.slice(0,y.length-1)):v.startsWith(" ")&&y.startsWith(" ")?(_.after=v.slice(1),E.spaces.after=y.slice(1)):E.value=y,b=new Oi.default({value:" ",source:Ai(f,this.tokens[this.position-1]),sourceIndex:f[S.FIELDS.START_POS],spaces:_,raws:E})}return this.currToken&&this.currToken[S.FIELDS.TYPE]===O.space&&(b.spaces.after=this.optionalSpace(this.content()),this.position++),this.newNode(b)},t.comma=function(){if(this.position===this.tokens.length-1){this.root.trailingComma=!0,this.position++;return}this.current._inferEndPosition();var r=new Ti.default({source:{start:Ta(this.tokens[this.position+1])}});this.current.parent.append(r),this.current=r,this.position++},t.comment=function(){var r=this.currToken;this.newNode(new _a.default({value:this.content(),source:dt(r),sourceIndex:r[S.FIELDS.START_POS]})),this.position++},t.error=function(r,i){throw this.root.error(r,i)},t.missingBackslash=function(){return this.error("Expected a backslash preceding the semicolon.",{index:this.currToken[S.FIELDS.START_POS]})},t.missingParenthesis=function(){return this.expected("opening parenthesis",this.currToken[S.FIELDS.START_POS])},t.missingSquareBracket=function(){return this.expected("opening square bracket",this.currToken[S.FIELDS.START_POS])},t.unexpected=function(){return this.error("Unexpected '"+this.content()+"'. Escaping special characters with \\ may help.",this.currToken[S.FIELDS.START_POS])},t.namespace=function(){var r=this.prevToken&&this.content(this.prevToken)||!0;if(this.nextToken[S.FIELDS.TYPE]===O.word)return this.position++,this.word(r);if(this.nextToken[S.FIELDS.TYPE]===O.asterisk)return this.position++,this.universal(r)},t.nesting=function(){if(this.nextToken){var r=this.content(this.nextToken);if(r==="|"){this.position++;return}}var i=this.currToken;this.newNode(new pp.default({value:this.content(),source:dt(i),sourceIndex:i[S.FIELDS.START_POS]})),this.position++},t.parentheses=function(){var r=this.current.last,i=1;if(this.position++,r&&r.type===mp.PSEUDO){var s=new Ti.default({source:{start:Ta(this.tokens[this.position-1])}}),o=this.current;for(r.append(s),this.current=s;this.position<this.tokens.length&&i;)this.currToken[S.FIELDS.TYPE]===O.openParenthesis&&i++,this.currToken[S.FIELDS.TYPE]===O.closeParenthesis&&i--,i?this.parse():(this.current.source.end=Ea(this.currToken),this.current.parent.source.end=Ea(this.currToken),this.position++);this.current=o}else{for(var a=this.currToken,u="(",l;this.position<this.tokens.length&&i;)this.currToken[S.FIELDS.TYPE]===O.openParenthesis&&i++,this.currToken[S.FIELDS.TYPE]===O.closeParenthesis&&i--,l=this.currToken,u+=this.parseParenthesisToken(this.currToken),this.position++;r?r.appendToPropertyAndEscape("value",u,u):this.newNode(new Ei.default({value:u,source:et(a[S.FIELDS.START_LINE],a[S.FIELDS.START_COL],l[S.FIELDS.END_LINE],l[S.FIELDS.END_COL]),sourceIndex:a[S.FIELDS.START_POS]}))}if(i)return this.expected("closing parenthesis",this.currToken[S.FIELDS.START_POS])},t.pseudo=function(){for(var r=this,i="",s=this.currToken;this.currToken&&this.currToken[S.FIELDS.TYPE]===O.colon;)i+=this.content(),this.position++;if(!this.currToken)return this.expected(["pseudo-class","pseudo-element"],this.position-1);if(this.currToken[S.FIELDS.TYPE]===O.word)this.splitWord(!1,function(o,a){i+=o,r.newNode(new cp.default({value:i,source:Ai(s,r.currToken),sourceIndex:s[S.FIELDS.START_POS]})),a>1&&r.nextToken&&r.nextToken[S.FIELDS.TYPE]===O.openParenthesis&&r.error("Misplaced parenthesis.",{index:r.nextToken[S.FIELDS.START_POS]})});else return this.expected(["pseudo-class","pseudo-element"],this.currToken[S.FIELDS.START_POS])},t.space=function(){var r=this.content();this.position===0||this.prevToken[S.FIELDS.TYPE]===O.comma||this.prevToken[S.FIELDS.TYPE]===O.openParenthesis||this.current.nodes.every(function(i){return i.type==="comment"})?(this.spaces=this.optionalSpace(r),this.position++):this.position===this.tokens.length-1||this.nextToken[S.FIELDS.TYPE]===O.comma||this.nextToken[S.FIELDS.TYPE]===O.closeParenthesis?(this.current.last.spaces.after=this.optionalSpace(r),this.position++):this.combinator()},t.string=function(){var r=this.currToken;this.newNode(new Ei.default({value:this.content(),source:dt(r),sourceIndex:r[S.FIELDS.START_POS]})),this.position++},t.universal=function(r){var i=this.nextToken;if(i&&this.content(i)==="|")return this.position++,this.namespace();var s=this.currToken;this.newNode(new dp.default({value:this.content(),source:dt(s),sourceIndex:s[S.FIELDS.START_POS]}),r),this.position++},t.splitWord=function(r,i){for(var s=this,o=this.nextToken,a=this.content();o&&~[O.dollar,O.caret,O.equals,O.word].indexOf(o[S.FIELDS.TYPE]);){this.position++;var u=this.content();if(a+=u,u.lastIndexOf("\\")===u.length-1){var l=this.nextToken;l&&l[S.FIELDS.TYPE]===O.space&&(a+=this.requiredSpace(this.content(l)),this.position++)}o=this.nextToken}var f=Ii(a,".").filter(function(p){var g=a[p-1]==="\\",w=/^\d+\.\d+%$/.test(a);return!g&&!w}),d=Ii(a,"#").filter(function(p){return a[p-1]!=="\\"}),b=Ii(a,"#{");b.length&&(d=d.filter(function(p){return!~b.indexOf(p)}));var h=(0,hp.default)(bp([0].concat(f,d)));h.forEach(function(p,g){var w=h[g+1]||a.length,v=a.slice(p,w);if(g===0&&i)return i.call(s,v,h.length);var y,_=s.currToken,E=_[S.FIELDS.START_POS]+h[g],k=et(_[1],_[2]+p,_[3],_[2]+(w-1));if(~f.indexOf(p)){var D={value:v.slice(1),source:k,sourceIndex:E};y=new up.default(pt(D,"value"))}else if(~d.indexOf(p)){var R={value:v.slice(1),source:k,sourceIndex:E};y=new lp.default(pt(R,"value"))}else{var M={value:v,source:k,sourceIndex:E};pt(M,"value"),y=new fp.default(M)}s.newNode(y,r),r=null}),this.position++},t.word=function(r){var i=this.nextToken;return i&&this.content(i)==="|"?(this.position++,this.namespace()):this.splitWord(r)},t.loop=function(){for(;this.position<this.tokens.length;)this.parse(!0);return this.current._inferEndPosition(),this.root},t.parse=function(r){switch(this.currToken[S.FIELDS.TYPE]){case O.space:this.space();break;case O.comment:this.comment();break;case O.openParenthesis:this.parentheses();break;case O.closeParenthesis:r&&this.missingParenthesis();break;case O.openSquare:this.attribute();break;case O.dollar:case O.caret:case O.equals:case O.word:this.word();break;case O.colon:this.pseudo();break;case O.comma:this.comma();break;case O.asterisk:this.universal();break;case O.ampersand:this.nesting();break;case O.slash:case O.combinator:this.combinator();break;case O.str:this.string();break;case O.closeSquare:this.missingSquareBracket();case O.semicolon:this.missingBackslash();default:this.unexpected()}},t.expected=function(r,i,s){if(Array.isArray(r)){var o=r.pop();r=r.join(", ")+" or "+o}var a=/^[aeiou]/.test(r[0])?"an":"a";return s?this.error("Expected "+a+" "+r+', found "'+s+'" instead.',{index:i}):this.error("Expected "+a+" "+r+".",{index:i})},t.requiredSpace=function(r){return this.options.lossy?" ":r},t.optionalSpace=function(r){return this.options.lossy?"":r},t.lossySpace=function(r,i){return this.options.lossy?i?" ":"":r},t.parseParenthesisToken=function(r){var i=this.content(r);return r[S.FIELDS.TYPE]===O.space?this.requiredSpace(i):i},t.newNode=function(r,i){return i&&(/^ +$/.test(i)&&(this.options.lossy||(this.spaces=(this.spaces||"")+i),i=!0),r.namespace=i,pt(r,"namespace")),this.spaces&&(r.spaces.before=this.spaces,this.spaces=""),this.current.append(r)},t.content=function(r){return r===void 0&&(r=this.currToken),this.css.slice(r[S.FIELDS.START_POS],r[S.FIELDS.END_POS])},t.locateNextMeaningfulToken=function(r){r===void 0&&(r=this.position+1);for(var i=r;i<this.tokens.length;)if(vp[this.tokens[i][S.FIELDS.TYPE]]){i++;continue}else return i;return-1},gp(e,[{key:"currToken",get:function(){return this.tokens[this.position]}},{key:"nextToken",get:function(){return this.tokens[this.position+1]}},{key:"prevToken",get:function(){return this.tokens[this.position-1]}}]),e}();Jt.default=yp;Pa.exports=Jt.default});var La=L((Zt,Ia)=>{"use strict";c();Zt.__esModule=!0;Zt.default=void 0;var xp=wp(Aa());function wp(e){return e&&e.__esModule?e:{default:e}}var _p=function(){function e(n,r){this.func=n||function(){},this.funcRes=null,this.options=r}var t=e.prototype;return t._shouldUpdateSelector=function(r,i){i===void 0&&(i={});var s=Object.assign({},this.options,i);return s.updateSelector===!1?!1:typeof r!="string"},t._isLossy=function(r){r===void 0&&(r={});var i=Object.assign({},this.options,r);return i.lossless===!1},t._root=function(r,i){i===void 0&&(i={});var s=new xp.default(r,this._parseOptions(i));return s.root},t._parseOptions=function(r){return{lossy:this._isLossy(r)}},t._run=function(r,i){var s=this;return i===void 0&&(i={}),new Promise(function(o,a){try{var u=s._root(r,i);Promise.resolve(s.func(u)).then(function(l){var f=void 0;return s._shouldUpdateSelector(r,i)&&(f=u.toString(),r.selector=f),{transform:l,root:u,string:f}}).then(o,a)}catch(l){a(l);return}})},t._runSync=function(r,i){i===void 0&&(i={});var s=this._root(r,i),o=this.func(s);if(o&&typeof o.then=="function")throw new Error("Selector processor returned a promise to a synchronous call.");var a=void 0;return i.updateSelector&&typeof r!="string"&&(a=s.toString(),r.selector=a),{transform:o,root:s,string:a}},t.ast=function(r,i){return this._run(r,i).then(function(s){return s.root})},t.astSync=function(r,i){return this._runSync(r,i).root},t.transform=function(r,i){return this._run(r,i).then(function(s){return s.transform})},t.transformSync=function(r,i){return this._runSync(r,i).transform},t.process=function(r,i){return this._run(r,i).then(function(s){return s.string||s.root.toString()})},t.processSync=function(r,i){var s=this._runSync(r,i);return s.string||s.root.toString()},e}();Zt.default=_p;Ia.exports=Zt.default});var Ra=L(J=>{"use strict";c();J.__esModule=!0;J.universal=J.tag=J.string=J.selector=J.root=J.pseudo=J.nesting=J.id=J.comment=J.combinator=J.className=J.attribute=void 0;var Sp=Se(gi()),kp=Se(Zn()),Tp=Se(xi()),Ep=Se(ti()),Op=Se(ni()),Pp=Se(_i()),Ap=Se(fi()),Ip=Se(Yn()),Lp=Se(Qn()),Rp=Se(ui()),Cp=Se(si()),Dp=Se(bi());function Se(e){return e&&e.__esModule?e:{default:e}}var Mp=function(t){return new Sp.default(t)};J.attribute=Mp;var Fp=function(t){return new kp.default(t)};J.className=Fp;var Np=function(t){return new Tp.default(t)};J.combinator=Np;var Wp=function(t){return new Ep.default(t)};J.comment=Wp;var qp=function(t){return new Op.default(t)};J.id=qp;var $p=function(t){return new Pp.default(t)};J.nesting=$p;var Bp=function(t){return new Ap.default(t)};J.pseudo=Bp;var Up=function(t){return new Ip.default(t)};J.root=Up;var Gp=function(t){return new Lp.default(t)};J.selector=Gp;var zp=function(t){return new Rp.default(t)};J.string=zp;var jp=function(t){return new Cp.default(t)};J.tag=jp;var Hp=function(t){return new Dp.default(t)};J.universal=Hp});var Fa=L(j=>{"use strict";c();j.__esModule=!0;j.isNode=Ri;j.isPseudoElement=Ma;j.isPseudoClass=nh;j.isContainer=ih;j.isNamespace=oh;j.isUniversal=j.isTag=j.isString=j.isSelector=j.isRoot=j.isPseudo=j.isNesting=j.isIdentifier=j.isComment=j.isCombinator=j.isClassName=j.isAttribute=void 0;var ee=ae(),pe,Vp=(pe={},pe[ee.ATTRIBUTE]=!0,pe[ee.CLASS]=!0,pe[ee.COMBINATOR]=!0,pe[ee.COMMENT]=!0,pe[ee.ID]=!0,pe[ee.NESTING]=!0,pe[ee.PSEUDO]=!0,pe[ee.ROOT]=!0,pe[ee.SELECTOR]=!0,pe[ee.STRING]=!0,pe[ee.TAG]=!0,pe[ee.UNIVERSAL]=!0,pe);function Ri(e){return typeof e=="object"&&Vp[e.type]}function ke(e,t){return Ri(t)&&t.type===e}var Ca=ke.bind(null,ee.ATTRIBUTE);j.isAttribute=Ca;var Yp=ke.bind(null,ee.CLASS);j.isClassName=Yp;var Xp=ke.bind(null,ee.COMBINATOR);j.isCombinator=Xp;var Qp=ke.bind(null,ee.COMMENT);j.isComment=Qp;var Kp=ke.bind(null,ee.ID);j.isIdentifier=Kp;var Jp=ke.bind(null,ee.NESTING);j.isNesting=Jp;var Ci=ke.bind(null,ee.PSEUDO);j.isPseudo=Ci;var Zp=ke.bind(null,ee.ROOT);j.isRoot=Zp;var eh=ke.bind(null,ee.SELECTOR);j.isSelector=eh;var th=ke.bind(null,ee.STRING);j.isString=th;var Da=ke.bind(null,ee.TAG);j.isTag=Da;var rh=ke.bind(null,ee.UNIVERSAL);j.isUniversal=rh;function Ma(e){return Ci(e)&&e.value&&(e.value.startsWith("::")||e.value.toLowerCase()===":before"||e.value.toLowerCase()===":after"||e.value.toLowerCase()===":first-letter"||e.value.toLowerCase()===":first-line")}function nh(e){return Ci(e)&&!Ma(e)}function ih(e){return!!(Ri(e)&&e.walk)}function oh(e){return Ca(e)||Da(e)}});var Na=L(Pe=>{"use strict";c();Pe.__esModule=!0;var Di=ae();Object.keys(Di).forEach(function(e){e==="default"||e==="__esModule"||e in Pe&&Pe[e]===Di[e]||(Pe[e]=Di[e])});var Mi=Ra();Object.keys(Mi).forEach(function(e){e==="default"||e==="__esModule"||e in Pe&&Pe[e]===Mi[e]||(Pe[e]=Mi[e])});var Fi=Fa();Object.keys(Fi).forEach(function(e){e==="default"||e==="__esModule"||e in Pe&&Pe[e]===Fi[e]||(Pe[e]=Fi[e])})});var $a=L((er,qa)=>{"use strict";c();er.__esModule=!0;er.default=void 0;var sh=lh(La()),ah=uh(Na());function Wa(){if(typeof WeakMap!="function")return null;var e=new WeakMap;return Wa=function(){return e},e}function uh(e){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=Wa();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var s=r?Object.getOwnPropertyDescriptor(e,i):null;s&&(s.get||s.set)?Object.defineProperty(n,i,s):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}function lh(e){return e&&e.__esModule?e:{default:e}}var Ni=function(t){return new sh.default(t)};Object.assign(Ni,ah);delete Ni.__esModule;var fh=Ni;er.default=fh;qa.exports=er.default});var Ba=L(Wi=>{"use strict";c();Object.defineProperty(Wi,"__esModule",{value:!0});Object.defineProperty(Wi,"default",{enumerable:!0,get:()=>ch});function ch(e){return e.replace(/\\,/g,"\\2c ")}});var Ga=L((tv,Ua)=>{"use strict";c();Ua.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}});var $i=L(qi=>{"use strict";c();Object.defineProperty(qi,"__esModule",{value:!0});function dh(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}dh(qi,{parseColor:()=>bh,formatColor:()=>yh});var za=ph(Ga());function ph(e){return e&&e.__esModule?e:{default:e}}var hh=/^#([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})?$/i,mh=/^#([a-f\d])([a-f\d])([a-f\d])([a-f\d])?$/i,je=/(?:\d+|\d*\.\d+)%?/,Yr=/(?:\s*,\s*|\s+)/,ja=/\s*[,/]\s*/,He=/var\(--(?:[^ )]*?)\)/,gh=new RegExp(`^(rgb)a?\\(\\s*(${je.source}|${He.source})(?:${Yr.source}(${je.source}|${He.source}))?(?:${Yr.source}(${je.source}|${He.source}))?(?:${ja.source}(${je.source}|${He.source}))?\\s*\\)$`),vh=new RegExp(`^(hsl)a?\\(\\s*((?:${je.source})(?:deg|rad|grad|turn)?|${He.source})(?:${Yr.source}(${je.source}|${He.source}))?(?:${Yr.source}(${je.source}|${He.source}))?(?:${ja.source}(${je.source}|${He.source}))?\\s*\\)$`);function bh(e,{loose:t=!1}={}){var n,r;if(typeof e!="string")return null;if(e=e.trim(),e==="transparent")return{mode:"rgb",color:["0","0","0"],alpha:"0"};if(e in za.default)return{mode:"rgb",color:za.default[e].map(u=>u.toString())};let i=e.replace(mh,(u,l,f,d,b)=>["#",l,l,f,f,d,d,b?b+b:""].join("")).match(hh);if(i!==null)return{mode:"rgb",color:[parseInt(i[1],16),parseInt(i[2],16),parseInt(i[3],16)].map(u=>u.toString()),alpha:i[4]?(parseInt(i[4],16)/255).toString():void 0};var s;let o=(s=e.match(gh))!==null&&s!==void 0?s:e.match(vh);if(o===null)return null;let a=[o[2],o[3],o[4]].filter(Boolean).map(u=>u.toString());return!t&&a.length!==3||a.length<3&&!a.some(u=>/^var\(.*?\)$/.test(u))?null:{mode:o[1],color:a,alpha:(n=o[5])===null||n===void 0||(r=n.toString)===null||r===void 0?void 0:r.call(n)}}function yh({mode:e,color:t,alpha:n}){let r=n!==void 0;return`${e}(${t.join(" ")}${r?` / ${n}`:""})`}});var Ui=L(Bi=>{"use strict";c();Object.defineProperty(Bi,"__esModule",{value:!0});function xh(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}xh(Bi,{withAlphaValue:()=>wh,default:()=>_h});var Xr=$i();function wh(e,t,n){if(typeof e=="function")return e({opacityValue:t});let r=(0,Xr.parseColor)(e,{loose:!0});return r===null?n:(0,Xr.formatColor)({...r,alpha:t})}function _h({color:e,property:t,variable:n}){let r=[].concat(t);if(typeof e=="function")return{[n]:"1",...Object.fromEntries(r.map(s=>[s,e({opacityVariable:n,opacityValue:`var(${n})`})]))};let i=(0,Xr.parseColor)(e);return i===null?Object.fromEntries(r.map(s=>[s,e])):i.alpha!==void 0?Object.fromEntries(r.map(s=>[s,e])):{[n]:"1",...Object.fromEntries(r.map(s=>[s,(0,Xr.formatColor)({...i,alpha:`var(${n})`})]))}}});var Qa=L(Gi=>{"use strict";c();Object.defineProperty(Gi,"__esModule",{value:!0});function Sh(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}Sh(Gi,{pattern:()=>Th,withoutCapturing:()=>Va,any:()=>Ya,optional:()=>Eh,zeroOrMore:()=>Oh,nestedBrackets:()=>Xa,escape:()=>tt});var Ha=/[\\^$.*+?()[\]{}|]/g,kh=RegExp(Ha.source);function tr(e){return e=Array.isArray(e)?e:[e],e=e.map(t=>t instanceof RegExp?t.source:t),e.join("")}function Th(e){return new RegExp(tr(e),"g")}function Va(e){return new RegExp(`(?:${tr(e)})`,"g")}function Ya(e){return`(?:${e.map(tr).join("|")})`}function Eh(e){return`(?:${tr(e)})?`}function Oh(e){return`(?:${tr(e)})*`}function Xa(e,t,n=1){return Va([tt(e),/[^\s]*/,n===1?`[^${tt(e)}${tt(t)}s]*`:Ya([`[^${tt(e)}${tt(t)}s]*`,Xa(e,t,n-1)]),/[^\s]*/,tt(t)])}function tt(e){return e&&kh.test(e)?e.replace(Ha,"\\$&"):e||""}});var Ja=L(zi=>{"use strict";c();Object.defineProperty(zi,"__esModule",{value:!0});Object.defineProperty(zi,"splitAtTopLevelOnly",{enumerable:!0,get:()=>Ih});var Ph=Ah(Qa());function Ka(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,n=new WeakMap;return(Ka=function(r){return r?n:t})(e)}function Ah(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var n=Ka(t);if(n&&n.has(e))return n.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if(s!=="default"&&Object.prototype.hasOwnProperty.call(e,s)){var o=i?Object.getOwnPropertyDescriptor(e,s):null;o&&(o.get||o.set)?Object.defineProperty(r,s,o):r[s]=e[s]}return r.default=e,n&&n.set(e,r),r}function*Ih(e,t){let n=new RegExp(`[(){}\\[\\]${Ph.escape(t)}]`,"g"),r=0,i=0,s=!1,o=0,a=0,u=t.length;for(let l of e.matchAll(n)){let f=l[0]===t[o],d=o===u-1,b=f&&d;l[0]==="("&&r++,l[0]===")"&&r--,l[0]==="["&&r++,l[0]==="]"&&r--,l[0]==="{"&&r++,l[0]==="}"&&r--,f&&r===0&&(a===0&&(a=l.index),o++),b&&r===0&&(s=!0,yield e.substring(i,a),i=a+u),o===u&&(o=0,a=0)}s?yield e.substring(i):yield e}});var eu=L(ji=>{"use strict";c();Object.defineProperty(ji,"__esModule",{value:!0});function Lh(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}Lh(ji,{parseBoxShadowValue:()=>Mh,formatBoxShadowValue:()=>Fh});var Rh=Ja(),Ch=new Set(["inset","inherit","initial","revert","unset"]),Dh=/\ +(?![^(]*\))/g,Za=/^-?(\d+|\.\d+)(.*?)$/g;function Mh(e){return Array.from((0,Rh.splitAtTopLevelOnly)(e,",")).map(n=>{let r=n.trim(),i={raw:r},s=r.split(Dh),o=new Set;for(let a of s)Za.lastIndex=0,!o.has("KEYWORD")&&Ch.has(a)?(i.keyword=a,o.add("KEYWORD")):Za.test(a)?o.has("X")?o.has("Y")?o.has("BLUR")?o.has("SPREAD")||(i.spread=a,o.add("SPREAD")):(i.blur=a,o.add("BLUR")):(i.y=a,o.add("Y")):(i.x=a,o.add("X")):i.color?(i.unknown||(i.unknown=[]),i.unknown.push(a)):i.color=a;return i.valid=i.x!==void 0&&i.y!==void 0,i})}function Fh(e){return e.map(t=>t.valid?[t.keyword,t.x,t.y,t.blur,t.spread,t.color].filter(Boolean).join(" "):t.raw).join(", ")}});var au=L(Vi=>{"use strict";c();Object.defineProperty(Vi,"__esModule",{value:!0});function Nh(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}Nh(Vi,{normalize:()=>Ve,url:()=>nu,number:()=>$h,percentage:()=>iu,length:()=>ou,lineWidth:()=>Gh,shadow:()=>zh,color:()=>jh,image:()=>Hh,gradient:()=>su,position:()=>Xh,familyName:()=>Qh,genericName:()=>Jh,absoluteSize:()=>e0,relativeSize:()=>r0});var Wh=$i(),qh=eu(),Hi=["min","max","clamp","calc"],ru=/,(?![^(]*\))/g,Qr=/_(?![^(]*\))/g;function Ve(e,t=!0){return e.includes("url(")?e.split(/(url\(.*?\))/g).filter(Boolean).map(n=>/^url\(.*?\)$/.test(n)?n:Ve(n,!1)).join(""):(e=e.replace(/([^\\])_+/g,(n,r)=>r+" ".repeat(n.length-1)).replace(/^_/g," ").replace(/\\_/g,"_"),t&&(e=e.trim()),e=e.replace(/(calc|min|max|clamp)\(.+\)/g,n=>n.replace(/(-?\d*\.?\d(?!\b-.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g,"$1 $2 ")),e)}function nu(e){return e.startsWith("url(")}function $h(e){return!isNaN(Number(e))||Hi.some(t=>new RegExp(`^${t}\\(.+?`).test(e))}function iu(e){return e.split(Qr).every(t=>/%$/g.test(t)||Hi.some(n=>new RegExp(`^${n}\\(.+?%`).test(t)))}var Bh=["cm","mm","Q","in","pc","pt","px","em","ex","ch","rem","lh","vw","vh","vmin","vmax"],tu=`(?:${Bh.join("|")})`;function ou(e){return e.split(Qr).every(t=>t==="0"||new RegExp(`${tu}$`).test(t)||Hi.some(n=>new RegExp(`^${n}\\(.+?${tu}`).test(t)))}var Uh=new Set(["thin","medium","thick"]);function Gh(e){return Uh.has(e)}function zh(e){let t=(0,qh.parseBoxShadowValue)(Ve(e));for(let n of t)if(!n.valid)return!1;return!0}function jh(e){let t=0;return e.split(Qr).every(r=>(r=Ve(r),r.startsWith("var(")?!0:(0,Wh.parseColor)(r,{loose:!0})!==null?(t++,!0):!1))?t>0:!1}function Hh(e){let t=0;return e.split(ru).every(r=>(r=Ve(r),r.startsWith("var(")?!0:nu(r)||su(r)||["element(","image(","cross-fade(","image-set("].some(i=>r.startsWith(i))?(t++,!0):!1))?t>0:!1}var Vh=new Set(["linear-gradient","radial-gradient","repeating-linear-gradient","repeating-radial-gradient","conic-gradient"]);function su(e){e=Ve(e);for(let t of Vh)if(e.startsWith(`${t}(`))return!0;return!1}var Yh=new Set(["center","top","right","bottom","left"]);function Xh(e){let t=0;return e.split(Qr).every(r=>(r=Ve(r),r.startsWith("var(")?!0:Yh.has(r)||ou(r)||iu(r)?(t++,!0):!1))?t>0:!1}function Qh(e){let t=0;return e.split(ru).every(r=>(r=Ve(r),r.startsWith("var(")?!0:r.includes(" ")&&!/(['"])([^"']+)\1/g.test(r)||/^\d/g.test(r)?!1:(t++,!0)))?t>0:!1}var Kh=new Set(["serif","sans-serif","monospace","cursive","fantasy","system-ui","ui-serif","ui-sans-serif","ui-monospace","ui-rounded","math","emoji","fangsong"]);function Jh(e){return Kh.has(e)}var Zh=new Set(["xx-small","x-small","small","medium","large","x-large","x-large","xxx-large"]);function e0(e){return Zh.has(e)}var t0=new Set(["larger","smaller"]);function r0(e){return t0.has(e)}});var mu=L(Qi=>{"use strict";c();Object.defineProperty(Qi,"__esModule",{value:!0});function n0(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}n0(Qi,{updateAllClasses:()=>s0,asValue:()=>nr,parseColorFormat:()=>Yi,asColor:()=>du,asLookupValue:()=>pu,coerceValue:()=>f0});var i0=Xi($a()),o0=Xi(Ba()),uu=Ui(),he=au(),lu=Xi(Dn());function Xi(e){return e&&e.__esModule?e:{default:e}}function s0(e,t){return(0,i0.default)(i=>{i.walkClasses(s=>{let o=t(s.value);s.value=o,s.raws&&s.raws.value&&(s.raws.value=(0,o0.default)(s.raws.value))})}).processSync(e)}function cu(e,t){if(!rr(e))return;let n=e.slice(1,-1);if(!!t(n))return(0,he.normalize)(n)}function a0(e,t={},n){let r=t[e];if(r!==void 0)return(0,lu.default)(r);if(rr(e)){let i=cu(e,n);return i===void 0?void 0:(0,lu.default)(i)}}function nr(e,t={},{validate:n=()=>!0}={}){var r;let i=(r=t.values)===null||r===void 0?void 0:r[e];return i!==void 0?i:t.supportsNegativeValues&&e.startsWith("-")?a0(e.slice(1),t.values,n):cu(e,n)}function rr(e){return e.startsWith("[")&&e.endsWith("]")}function u0(e){let t=e.lastIndexOf("/");return t===-1||t===e.length-1?[e]:[e.slice(0,t),e.slice(t+1)]}function Yi(e){if(typeof e=="string"&&e.includes("<alpha-value>")){let t=e;return({opacityValue:n=1})=>t.replace("<alpha-value>",n)}return e}function du(e,t={},{tailwindConfig:n={}}={}){var r;if(((r=t.values)===null||r===void 0?void 0:r[e])!==void 0){var i;return Yi((i=t.values)===null||i===void 0?void 0:i[e])}let[s,o]=u0(e);if(o!==void 0){var a,u,l,f;let d=(f=(a=t.values)===null||a===void 0?void 0:a[s])!==null&&f!==void 0?f:rr(s)?s.slice(1,-1):void 0;return d===void 0?void 0:(d=Yi(d),rr(o)?(0,uu.withAlphaValue)(d,o.slice(1,-1)):((u=n.theme)===null||u===void 0||(l=u.opacity)===null||l===void 0?void 0:l[o])===void 0?void 0:(0,uu.withAlphaValue)(d,n.theme.opacity[o]))}return nr(e,t,{validate:he.color})}function pu(e,t={}){var n;return(n=t.values)===null||n===void 0?void 0:n[e]}function Te(e){return(t,n)=>nr(t,n,{validate:e})}var hu={any:nr,color:du,url:Te(he.url),image:Te(he.image),length:Te(he.length),percentage:Te(he.percentage),position:Te(he.position),lookup:pu,"generic-name":Te(he.genericName),"family-name":Te(he.familyName),number:Te(he.number),"line-width":Te(he.lineWidth),"absolute-size":Te(he.absoluteSize),"relative-size":Te(he.relativeSize),shadow:Te(he.shadow)},fu=Object.keys(hu);function l0(e,t){let n=e.indexOf(t);return n===-1?[void 0,e]:[e.slice(0,n),e.slice(n+1)]}function f0(e,t,n,r){if(rr(t)){let i=t.slice(1,-1),[s,o]=l0(i,":");if(!/^[\w-_]+$/g.test(s))o=i;else if(s!==void 0&&!fu.includes(s))return[];if(o.length>0&&fu.includes(s))return[nr(`[${o}]`,n),s]}for(let i of[].concat(e)){let s=hu[i](t,n,{tailwindConfig:r});if(s!==void 0)return[s,i]}return[]}});var gu=L(Ki=>{"use strict";c();Object.defineProperty(Ki,"__esModule",{value:!0});Object.defineProperty(Ki,"default",{enumerable:!0,get:()=>c0});function c0(e){return typeof e=="function"?e({}):e}});var wu=L(Zi=>{"use strict";c();Object.defineProperty(Zi,"__esModule",{value:!0});Object.defineProperty(Zi,"default",{enumerable:!0,get:()=>L0});var d0=rt(Dn()),p0=rt(ks()),h0=rt(Ts()),m0=rt(Nn()),g0=rt(Os()),yu=Ps(),vu=As(),v0=Ls(),b0=rt(Rs()),y0=Cs(),x0=mu(),w0=Ui(),_0=rt(gu());function rt(e){return e&&e.__esModule?e:{default:e}}function ht(e){return typeof e=="function"}function ir(e){return typeof e=="object"&&e!==null}function or(e,...t){let n=t.pop();for(let r of t)for(let i in r){let s=n(e[i],r[i]);s===void 0?ir(e[i])&&ir(r[i])?e[i]=or(e[i],r[i],n):e[i]=r[i]:e[i]=s}return e}var Ji={colors:g0.default,negative(e){return Object.keys(e).filter(t=>e[t]!=="0").reduce((t,n)=>{let r=(0,d0.default)(e[n]);return r!==void 0&&(t[`-${n}`]=r),t},{})},breakpoints(e){return Object.keys(e).filter(t=>typeof e[t]=="string").reduce((t,n)=>({...t,[`screen-${n}`]:e[n]}),{})}};function S0(e,...t){return ht(e)?e(...t):e}function k0(e){return e.reduce((t,{extend:n})=>or(t,n,(r,i)=>r===void 0?[i]:Array.isArray(r)?[i,...r]:[i,r]),{})}function T0(e){return{...e.reduce((t,n)=>(0,yu.defaults)(t,n),{}),extend:k0(e)}}function bu(e,t){if(Array.isArray(e)&&ir(e[0]))return e.concat(t);if(Array.isArray(t)&&ir(t[0])&&ir(e))return[e,...t];if(Array.isArray(t))return t}function E0({extend:e,...t}){return or(t,e,(n,r)=>!ht(n)&&!r.some(ht)?or({},n,...r,bu):(i,s)=>or({},...[n,...r].map(o=>S0(o,i,s)),bu))}function*O0(e){let t=(0,vu.toPath)(e);if(t.length===0||(yield t,Array.isArray(e)))return;let n=/^(.*?)\s*\/\s*([^/]+)$/,r=e.match(n);if(r!==null){let[,i,s]=r,o=(0,vu.toPath)(i);o.alpha=s,yield o}}function P0(e){let t=(n,r)=>{for(let i of O0(n)){let s=0,o=e;for(;o!=null&&s<i.length;)o=o[i[s++]],o=ht(o)&&(i.alpha===void 0||s<=i.length-1)?o(t,Ji):o;if(o!==void 0){if(i.alpha!==void 0){let a=(0,x0.parseColorFormat)(o);return(0,w0.withAlphaValue)(a,i.alpha,(0,_0.default)(a))}return(0,b0.default)(o)?(0,y0.cloneDeep)(o):o}}return r};return Object.assign(t,{theme:t,...Ji}),Object.keys(e).reduce((n,r)=>(n[r]=ht(e[r])?e[r](t,Ji):e[r],n),{})}function xu(e){let t=[];return e.forEach(n=>{t=[...t,n];var r;let i=(r=n==null?void 0:n.plugins)!==null&&r!==void 0?r:[];i.length!==0&&i.forEach(s=>{s.__isOptionsFunction&&(s=s());var o;t=[...t,...xu([(o=s==null?void 0:s.config)!==null&&o!==void 0?o:{}])]})}),t}function A0(e){return[...e].reduceRight((n,r)=>ht(r)?r({corePlugins:n}):(0,h0.default)(r,n),p0.default)}function I0(e){return[...e].reduceRight((n,r)=>[...n,...r],[])}function L0(e){let t=[...xu(e),{prefix:"",important:!1,separator:":",variantOrder:m0.default.variantOrder}];var n,r;return(0,v0.normalizeConfig)((0,yu.defaults)({theme:P0(E0(T0(t.map(i=>(n=i==null?void 0:i.theme)!==null&&n!==void 0?n:{})))),corePlugins:A0(t.map(i=>i.corePlugins)),plugins:I0(e.map(i=>(r=i==null?void 0:i.plugins)!==null&&r!==void 0?r:[]))},...t))}});var _u={};xr(_u,{default:()=>R0});var R0,Su=yr(()=>{c();R0={yellow:e=>e}});var Ou=L(eo=>{"use strict";c();Object.defineProperty(eo,"__esModule",{value:!0});function C0(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}C0(eo,{flagEnabled:()=>F0,issueFlagNotices:()=>N0,default:()=>W0});var D0=Eu((Su(),xt(_u))),M0=Eu((Mr(),xt(Dr)));function Eu(e){return e&&e.__esModule?e:{default:e}}var ku={optimizeUniversalDefaults:!1},sr={future:["hoverOnlyWhenSupported","respectDefaultRingColorOpacity"],experimental:["optimizeUniversalDefaults","matchVariant"]};function F0(e,t){if(sr.future.includes(t)){var n,r,i;return e.future==="all"||((i=(r=e==null||(n=e.future)===null||n===void 0?void 0:n[t])!==null&&r!==void 0?r:ku[t])!==null&&i!==void 0?i:!1)}if(sr.experimental.includes(t)){var s,o,a;return e.experimental==="all"||((a=(o=e==null||(s=e.experimental)===null||s===void 0?void 0:s[t])!==null&&o!==void 0?o:ku[t])!==null&&a!==void 0?a:!1)}return!1}function Tu(e){if(e.experimental==="all")return sr.experimental;var t;return Object.keys((t=e==null?void 0:e.experimental)!==null&&t!==void 0?t:{}).filter(n=>sr.experimental.includes(n)&&e.experimental[n])}function N0(e){if(process.env.JEST_WORKER_ID===void 0&&Tu(e).length>0){let t=Tu(e).map(n=>D0.default.yellow(n)).join(", ");M0.default.warn("experimental-flags-enabled",[`You have enabled experimental features: ${t}`,"Experimental features in Tailwind CSS are not covered by semver, may introduce breaking changes, and can change at any time."])}}var W0=sr});var Au=L(to=>{"use strict";c();Object.defineProperty(to,"__esModule",{value:!0});Object.defineProperty(to,"default",{enumerable:!0,get:()=>Pu});var q0=B0(Nn()),$0=Ou();function B0(e){return e&&e.__esModule?e:{default:e}}function Pu(e){var t;let n=((t=e==null?void 0:e.presets)!==null&&t!==void 0?t:[q0.default]).slice().reverse().flatMap(s=>Pu(typeof s=="function"?s():s)),r={respectDefaultRingColorOpacity:{theme:{ringColor:{DEFAULT:"#3b82f67f"}}}},i=Object.keys(r).filter(s=>(0,$0.flagEnabled)(e,s)).map(s=>r[s]);return[e,...i,...n]}});var Lu=L(ro=>{"use strict";c();Object.defineProperty(ro,"__esModule",{value:!0});Object.defineProperty(ro,"default",{enumerable:!0,get:()=>z0});var U0=Iu(wu()),G0=Iu(Au());function Iu(e){return e&&e.__esModule?e:{default:e}}function z0(...e){let[,...t]=(0,G0.default)(e[0]);return(0,U0.default)([...e,...t])}});var Cu=L((hv,Ru)=>{c();var no=Lu();Ru.exports=(no.__esModule?no:{default:no}).default});var fm={};xr(fm,{default:()=>_o,init:()=>Do});module.exports=xt(fm);c();c();c();var lt;function Do(e){lt=e}var wt=null;async function Me(){return lt||(wt?(await wt,lt):(wt=Promise.resolve().then(()=>(Co(),Ro)).then(e=>e.getYogaModule()).then(e=>lt=e),await wt,wt=null,lt))}c();c();c();var _t=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),ml=_t((e,t)=>{t.exports=["em","ex","ch","rem","vh","vw","vmin","vmax","px","mm","cm","in","pt","pc","mozmm"]}),gl=_t((e,t)=>{t.exports=["deg","grad","rad","turn"]}),vl=_t((e,t)=>{t.exports=["dpi","dpcm","dppx"]}),bl=_t((e,t)=>{t.exports=["Hz","kHz"]}),yl=_t((e,t)=>{t.exports=["s","ms"]}),xl=ml(),Mo=gl(),Fo=vl(),No=bl(),Wo=yl();function fn(e){if(/\.\D?$/.test(e))throw new Error("The dot should be followed by a number");if(/^[+-]{2}/.test(e))throw new Error("Only one leading +/- is allowed");if(wl(e)>1)throw new Error("Only one dot is allowed");if(/%$/.test(e)){this.type="percentage",this.value=ln(e),this.unit="%";return}var t=Sl(e);if(!t){this.type="number",this.value=ln(e);return}this.type=Tl(t),this.value=ln(e.substr(0,e.length-t.length)),this.unit=t}fn.prototype.valueOf=function(){return this.value};fn.prototype.toString=function(){return this.value+(this.unit||"")};function ze(e){return new fn(e)}function wl(e){var t=e.match(/\./g);return t?t.length:0}function ln(e){var t=parseFloat(e);if(isNaN(t))throw new Error("Invalid number: "+e);return t}var _l=[].concat(Mo,No,xl,Fo,Wo);function Sl(e){var t=e.match(/\D+$/),n=t&&t[0];if(n&&_l.indexOf(n)===-1)throw new Error("Invalid unit: "+n);return n}var kl=Object.assign(wr(Mo,"angle"),wr(No,"frequency"),wr(Fo,"resolution"),wr(Wo,"time"));function wr(e,t){return Object.fromEntries(e.map(n=>[n,t]))}function Tl(e){return kl[e]||"length"}var qo=Je(require("linebreak"),1);function hn(e){let t=typeof e;return!(t==="number"||t==="bigint"||t==="string"||t==="boolean")}function $o(e){return/^class\s/.test(e.toString())}function Bo(e){return"dangerouslySetInnerHTML"in e}function Uo(e){let t=typeof e>"u"?[]:[].concat(e).flat(1/0),n=[];for(let r=0;r<t.length;r++){let i=t[r];typeof i>"u"||typeof i=="boolean"||i===null||(typeof i=="number"&&(i=String(i)),typeof i=="string"&&n.length&&typeof n[n.length-1]=="string"?n[n.length-1]+=i:n.push(i))}return n}function xe(e,t,n,r,i=!1){if(typeof e=="number")return e;try{if(e=e.trim(),/[ /\(,]/.test(e))return;if(e===String(+e))return+e;let s=new ze(e);if(s.type==="length")switch(s.unit){case"em":return s.value*t;case"rem":return s.value*16;case"vw":return~~(s.value*r._viewportWidth/100);case"vh":return~~(s.value*r._viewportHeight/100);default:return s.value}else if(s.type==="angle")switch(s.unit){case"deg":return s.value;case"rad":return s.value*180/Math.PI;default:return s.value}else if(s.type==="percentage"&&i)return s.value/100*n}catch{}}function St(e,t){return[e[0]*t[0]+e[2]*t[1],e[1]*t[0]+e[3]*t[1],e[0]*t[2]+e[2]*t[3],e[1]*t[2]+e[3]*t[3],e[0]*t[4]+e[2]*t[5]+e[4],e[1]*t[4]+e[3]*t[5]+e[5]]}function de(e,t,n,r){let i=t[e];if(typeof i>"u"){if(r&&typeof e<"u")throw new Error(`Invalid value for CSS property "${r}". Allowed values: ${Object.keys(t).map(s=>`"${s}"`).join(" | ")}. Received: "${e}".`);i=n}return i}var cn,dn,Go=[32,160,4961,65792,65793,4153,4241,10].map(e=>String.fromCodePoint(e));function ce(e,t,n){if(!cn||!dn){if(!(typeof Intl<"u"&&"Segmenter"in Intl))throw new Error("Intl.Segmenter does not exist, please use import a polyfill.");cn=new Intl.Segmenter(n,{granularity:"word"}),dn=new Intl.Segmenter(n,{granularity:"grapheme"})}if(t==="grapheme")return[...dn.segment(e)].map(r=>r.segment);{let r=[...cn.segment(e)].map(o=>o.segment),i=[],s=0;for(;s<r.length;){let o=r[s];if(o=="\xA0"){let a=s===0?"":i.pop(),u=s===r.length-1?"":r[s+1];i.push(a+"\xA0"+u),s+=2}else i.push(o),s++}return i}}function A(e,t,n){let r="";for(let[i,s]of Object.entries(t))typeof s<"u"&&(r+=` ${i}="${s}"`);return n?`<${e}${r}>${n}</${e}>`:`<${e}${r}/>`}function zo(e=20){let t=new Map;function n(i,s){if(t.size>=e){let o=t.keys().next().value;t.delete(o)}t.set(i,s)}function r(i){if(!t.has(i))return;let o=t.get(i);return t.delete(i),t.set(i,o),o}return{set:n,get:r}}var jo={accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",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",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",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",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",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",xlinkActuate:"xlink:actuate",xlinkArcrole:"xlink:arcrole",xlinkHref:"xlink:href",xlinkRole:"xlink:role",xlinkShow:"xlink:show",xlinkTitle:"xlink:title",xlinkType:"xlink:type",xmlBase:"xml:base",xmlLang:"xml:lang",xmlSpace:"xml:space",xmlnsXlink:"xmlns:xlink"},El=/[\r\n%#()<>?[\\\]^`{|}"']/g;function pn(e,t){if(!e)return"";if(Array.isArray(e))return e.map(a=>pn(a,t)).join("");if(typeof e!="object")return String(e);let n=e.type;if(n==="text")throw new Error("<text> nodes are not currently supported, please convert them to <path>");let{children:r,style:i,...s}=e.props||{},o=(i==null?void 0:i.color)||t;return`<${n}${Object.entries(s).map(([a,u])=>(typeof u=="string"&&u.toLowerCase()==="currentcolor"&&(u=o),` ${jo[a]||a}="${u}"`)).join("")}>${pn(r,o)}</${n}>`}function kt(e){return e?e.split(/[, ]/).filter(Boolean).map(Number):null}function Ho(e,t){let{viewBox:n,viewbox:r,width:i,height:s,className:o,style:a,children:u,...l}=e.props||{};n||=r,l.xmlns="http://www.w3.org/2000/svg";let f=(a==null?void 0:a.color)||t,d=kt(n),b=d?d[3]/d[2]:null;return i=i||b&&s?s/b:null,s=s||b&&i?i*b:null,l.width=i,l.height=s,n&&(l.viewBox=n),`data:image/svg+xml;utf8,${`<svg ${Object.entries(l).map(([h,p])=>(typeof p=="string"&&p.toLowerCase()==="currentcolor"&&(p=f),` ${jo[h]||h}="${p}"`)).join("")}>${pn(u,f)}</svg>`.replace(El,encodeURIComponent)}`}function Ol(e){return Object.prototype.toString.call(e)}function Vo(e){return typeof e=="string"}function Yo(e){return Ol(e)==="[object Undefined]"}function Xo(e,t){if(t==="break-all")return{words:ce(e,"grapheme"),requiredBreaks:[]};if(t==="keep-all")return{words:ce(e,"word"),requiredBreaks:[]};let n=new qo.default(e),r=0,i=n.nextBreak(),s=[],o=[!1];for(;i;){let a=e.slice(r,i.position);s.push(a),i.required?o.push(!0):o.push(!1),r=i.position,i=n.nextBreak()}return{words:s,requiredBreaks:o}}c();c();var we="flex",Qo={p:{display:we,marginTop:"1em",marginBottom:"1em"},div:{display:we},blockquote:{display:we,marginTop:"1em",marginBottom:"1em",marginLeft:40,marginRight:40},center:{display:we,textAlign:"center"},hr:{display:we,marginTop:"0.5em",marginBottom:"0.5em",marginLeft:"auto",marginRight:"auto",borderWidth:1,borderStyle:"solid"},h1:{display:we,fontSize:"2em",marginTop:"0.67em",marginBottom:"0.67em",marginLeft:0,marginRight:0,fontWeight:"bold"},h2:{display:we,fontSize:"1.5em",marginTop:"0.83em",marginBottom:"0.83em",marginLeft:0,marginRight:0,fontWeight:"bold"},h3:{display:we,fontSize:"1.17em",marginTop:"1em",marginBottom:"1em",marginLeft:0,marginRight:0,fontWeight:"bold"},h4:{display:we,marginTop:"1.33em",marginBottom:"1.33em",marginLeft:0,marginRight:0,fontWeight:"bold"},h5:{display:we,fontSize:"0.83em",marginTop:"1.67em",marginBottom:"1.67em",marginLeft:0,marginRight:0,fontWeight:"bold"},h6:{display:we,fontSize:"0.67em",marginTop:"2.33em",marginBottom:"2.33em",marginLeft:0,marginRight:0,fontWeight:"bold"},u:{textDecoration:"underline"},strong:{fontWeight:"bold"},b:{fontWeight:"bold"},i:{fontStyle:"italic"},em:{fontStyle:"italic"},code:{fontFamily:"monospace"},kbd:{fontFamily:"monospace"},pre:{display:we,fontFamily:"monospace",whiteSpace:"pre",marginTop:"1em",marginBottom:"1em"},mark:{backgroundColor:"yellow",color:"black"},big:{fontSize:"larger"},small:{fontSize:"smaller"},s:{textDecoration:"line-through"}};c();var Pl=new Set(["color","font","fontFamily","fontSize","fontStyle","fontWeight","letterSpacing","lineHeight","textAlign","textTransform","textShadowOffset","textShadowColor","textShadowRadius","textDecorationLine","textDecorationStyle","textDecorationColor","whiteSpace","transform","wordBreak","opacity","filter","_viewportWidth","_viewportHeight","_inheritedClipPathId","_inheritedMaskId","_inheritedBackgroundClipTextPath"]);function mn(e){let t={};for(let n in e)Pl.has(n)&&(t[n]=e[n]);return t}c();var Oe=require("css-to-react-native"),ts=require("css-background-parser"),rs=require("css-box-shadow"),ns=Je(require("parse-css-color"),1);c();var Ko=Je(require("postcss-value-parser"),1);function Al(e,t){try{let n=new ze(e);switch(n.unit){case"px":return{absolute:n.value};case"em":return{absolute:n.value*t};case"rem":return{absolute:n.value*16};case"%":return{relative:n.value};default:return{}}}catch{return{}}}function gn(e,t,n){switch(e){case"top":return{yRelative:0};case"left":return{xRelative:0};case"right":return{xRelative:100};case"bottom":return{yRelative:100};case"center":return{};default:{let r=Al(e,t);return r.absolute?{[n?"xAbsolute":"yAbsolute"]:r.absolute}:r.relative?{[n?"xRelative":"yRelative"]:r.relative}:{}}}}function vn(e,t){if(typeof e=="number")return{xAbsolute:e};let n;try{n=(0,Ko.default)(e).nodes.filter(r=>r.type==="word").map(r=>r.value)}catch{return{}}return n.length===1?gn(n[0],t,!0):n.length===2?((n[0]==="top"||n[0]==="bottom"||n[1]==="left"||n[1]==="right")&&n.reverse(),{...gn(n[0],t,!0),...gn(n[1],t,!1)}):{}}var Il=new Set(["flex","flexGrow","flexShrink","flexBasis","fontWeight","lineHeight","opacity","scale","scaleX","scaleY"]),Ll=new Set(["lineHeight"]);function Rl(e,t,n,r){return e==="textDecoration"&&!n.includes(t.textDecorationColor)&&(t.textDecorationColor=r),t}function Tt(e,t){return typeof t=="number"?Il.has(e)?Ll.has(e)?t:String(t):t+"px":t}function Cl(e,t,n){if(e==="lineHeight")return{lineHeight:Tt(e,t)};if(e==="fontFamily")return{fontFamily:t.split(",").map(r=>r.trim().replace(/(^['"])|(['"]$)/g,"").toLocaleLowerCase())};if(e==="borderRadius"){if(typeof t!="string"||!t.includes("/"))return;let[r,i]=t.split("/"),s=(0,Oe.getStylesForProperty)(e,r,!0),o=(0,Oe.getStylesForProperty)(e,i,!0);for(let a in s)o[a]=Tt(e,s[a])+" "+Tt(e,o[a]);return o}if(/^border(Top|Right|Bottom|Left)?$/.test(e)){let r=(0,Oe.getStylesForProperty)("border",t,!0);r.borderWidth===1&&!String(t).includes("1px")&&(r.borderWidth=3),r.borderColor==="black"&&!String(t).includes("black")&&(r.borderColor=n);let i={Width:Tt(e+"Width",r.borderWidth),Style:de(r.borderStyle,{solid:"solid",dashed:"dashed"},"solid",e+"Style"),Color:r.borderColor},s={};for(let o of e==="border"?["Top","Right","Bottom","Left"]:[e.slice(6)])for(let a in i)s["border"+o+a]=i[a];return s}if(e==="boxShadow"){if(!t)throw new Error('Invalid `boxShadow` value: "'+t+'".');return{[e]:typeof t=="string"?(0,rs.parse)(t):t}}if(e==="transform"){if(typeof t!="string")throw new Error("Invalid `transform` value.");let r={},i=t.replace(/(-?[\d.]+%)/g,(o,a)=>{let u=~~(Math.random()*1e9);return r[u]=a,u+"px"}),s=(0,Oe.getStylesForProperty)("transform",i,!0);for(let o of s.transform)for(let a in o)r[o[a]]&&(o[a]=r[o[a]]);return s}if(e==="background")return t=t.toString().trim(),/^(linear-gradient|radial-gradient|url)\(/.test(t)?(0,Oe.getStylesForProperty)("backgroundImage",t,!0):(0,Oe.getStylesForProperty)("background",t,!0);if(e==="textShadow"&&(t=t.toString().trim(),t.includes(","))){let r=Dl(t),i={};for(let s of r){let o=(0,Oe.getStylesForProperty)("textShadow",s,!0);for(let a in o)i[a]?i[a].push(o[a]):i[a]=[o[a]]}return i}}function Dl(e){let t=[],n=!1,r=0,i=e.length;for(let s=0;s<i;++s){let o=e[s];o===")"&&(n=!1),!n&&(o==="("&&(n=!0),o===","&&(t.push(e.substring(r,s)),r=s+1))}return t.push(e.substring(r,i)),t.map(s=>s.trim())}function Jo(e){return e==="transform"?" Only absolute lengths such as `10px` are supported.":""}var Zo=/rgb\((\d+)\s+(\d+)\s+(\d+)\s*\/\s*([\.\d]+)\)/;function is(e){if(typeof e=="string"&&Zo.test(e.trim()))return e.trim().replace(Zo,(t,n,r,i,s)=>`rgba(${n}, ${r}, ${i}, ${s})`);if(typeof e=="object"&&e!==null){for(let t in e)e[t]=is(e[t]);return e}return e}function _r(e,t){let n={};if(e){let i=Fl(e.color,t.color);n.color=i;for(let s in e){if(s.startsWith("_")){n[s]=e[s];continue}if(s==="color")continue;let o=(0,Oe.getPropertyName)(s),a=Wl(e[s],i);try{let u=Cl(o,a,i)||Rl(o,(0,Oe.getStylesForProperty)(o,Tt(o,a),!0),a,i);Object.assign(n,u)}catch(u){throw new Error(u.message+(u.message.includes(a)?`
4
4
  `+Jo(o):`
5
- in CSS rule \`${o}: ${a}\`.${Jo(o)}`))}}}if(n.backgroundImage){let{backgrounds:i}=(0,ts.parseElementStyle)(n);n.backgroundImage=i}let r=typeof n.fontSize=="number"?n.fontSize:t.fontSize;if(typeof r=="string")try{let i=new Ge(r);switch(i.unit){case"em":r=i.value*t.fontSize;break;case"rem":r=i.value*16;break}}catch{r=16}typeof n.fontSize<"u"&&(n.fontSize=r),n.transformOrigin&&(n.transformOrigin=vn(n.transformOrigin,r));for(let i in n){let s=n[i];if(i==="lineHeight")typeof s=="string"&&(s=n[i]=xe(s,r,r,t,!0)/r);else{if(typeof s=="string"){let o=xe(s,r,r,t);typeof o<"u"&&(n[i]=o),s=n[i]}if(typeof s=="string"||typeof s=="object"){let o=is(s);o&&(n[i]=o),s=n[i]}}if(i==="opacity"&&(s=n[i]=s*t.opacity),i==="transform"){let o=s;for(let a of o){let u=Object.keys(a)[0],l=a[u],f=typeof l=="string"?xe(l,r,r,t)??l:l;a[u]=f}}}return n}function es(e){if(e.startsWith("hsl")){let t=(0,ns.default)(e),[n,r,i]=t.values;return`hsl(${[n,`${r}%`,`${i}%`].concat(t.alpha===1?[]:[t.alpha]).join(",")})`}return e}function Ml(e,t){return e&&e.toLowerCase()!=="currentcolor"?es(e):es(t)}function Fl(e,t){return e.replace(/currentcolor/gi,t)}function Nl(e,t){return Vo(e)&&(e=Fl(e,t)),e}c();var Wl="image/avif",ql="image/webp",Sr="image/png",kr="image/jpeg",Tr="image/gif",yn="image/svg+xml";function us(e){let t=new DataView(e),n=4,r=t.byteLength;for(;n<r;){let i=t.getUint16(n,!1);if(i>r)throw new TypeError("Invalid JPEG");let s=t.getUint8(i+1+n);if(s===192||s===193||s===194)return[t.getUint16(i+7+n,!1),t.getUint16(i+5+n,!1)];n+=i+2}throw new TypeError("Invalid JPEG")}function ls(e){let t=new Uint8Array(e.slice(6,10));return[t[0]|t[1]<<8,t[2]|t[3]<<8]}function fs(e){let t=new DataView(e);return[t.getUint16(18,!1),t.getUint16(22,!1)]}var os=Go(100),bn=new Map,$l=[Sr,kr,Tr,yn];function Bl(e){let t="",n=new Uint8Array(e);for(let r=0;r<n.byteLength;r++)t+=String.fromCharCode(n[r]);return btoa(t)}function Ul(e){let t=atob(e),n=t.length,r=new Uint8Array(n);for(let i=0;i<n;i++)r[i]=t.charCodeAt(i);return r.buffer}function ss(e,t){let n=t.match(/<svg[^>]*>/)[0],r=n.match(/viewBox=['"](.+)['"]/),i=r?kt(r[1]):null,s=n.match(/width=['"](\d*\.\d+|\d+)['"]/),o=n.match(/height=['"](\d*\.\d+|\d+)['"]/);if(!i&&(!s||!o))throw new Error(`Failed to parse SVG from ${e}: missing "viewBox"`);let a=i?[i[2],i[3]]:[+s[1],+o[1]],u=a[0]/a[1];return s&&o?[+s[1],+o[1]]:s?[+s[1],+s[1]/u]:o?[+o[1]*u,+o[1]]:[a[0],a[1]]}function as(e){let t,n=zl(new Uint8Array(e));switch(n){case Sr:t=fs(e);break;case Tr:t=ls(e);break;case kr:t=us(e);break}if(!$l.includes(n))throw new Error(`Unsupported image type: ${n||"unknown"}`);return[`data:${n};base64,${Bl(e)}`,t]}async function Er(e){if(!e)throw new Error("Image source is not provided.");if(typeof e=="object"){let[i,s]=as(e);return[i,...s]}if((e.startsWith('"')&&e.endsWith('"')||e.startsWith("'")&&e.endsWith("'"))&&(e=e.slice(1,-1)),typeof window>"u"&&!e.startsWith("http")&&!e.startsWith("data:"))throw new Error(`Image source must be an absolute URL: ${e}`);if(e.startsWith("data:")){let i;try{i=/data:(?<imageType>[a-z/+]+)(;(?<encodingType>base64|utf8))?,(?<dataString>.*)/g.exec(e).groups}catch{return console.warn("Image data URI resolved without size:"+e),[e]}let{imageType:s,encodingType:o,dataString:a}=i;if(s===yn){let u=o==="base64"?atob(a):decodeURIComponent(a.replace(/ /g,"%20")),l=o==="base64"?e:`data:image/svg+xml;base64,${btoa(u)}`,f=ss(e,u);return[l,...f]}else if(o==="base64"){let u,l=Ul(a);switch(s){case Sr:u=fs(l);break;case Tr:u=ls(l);break;case kr:u=us(l);break}return[e,...u]}else return console.warn("Image data URI resolved without size:"+e),[e]}if(!globalThis.fetch)throw new Error("`fetch` is required to be polyfilled to load images.");if(bn.has(e))return bn.get(e);let t=os.get(e);if(t)return t;let n=e,r=fetch(n).then(i=>{let s=i.headers.get("content-type");return s==="image/svg+xml"||s==="application/svg+xml"?i.text():i.arrayBuffer()}).then(i=>{if(typeof i=="string")try{let a=`data:image/svg+xml;base64,${btoa(i)}`,u=ss(n,i);return[a,...u]}catch(a){throw new Error(`Failed to parse SVG image: ${a.message}`)}let[s,o]=as(i);return[s,...o]}).then(i=>(os.set(n,i),i)).catch(i=>(console.error(`Can't load image ${n}: `+i.message),[]));return bn.set(n,r),r}function zl(e){return[255,216,255].every((t,n)=>e[n]===t)?kr:[137,80,78,71,13,10,26,10].every((t,n)=>e[n]===t)?Sr:[71,73,70,56].every((t,n)=>e[n]===t)?Tr:[82,73,70,70,0,0,0,0,87,69,66,80].every((t,n)=>!t||e[n]===t)?ql:[60,63,120,109,108].every((t,n)=>e[n]===t)?yn:[0,0,0,0,102,116,121,112,97,118,105,102].every((t,n)=>!t||e[n]===t)?Wl:null}async function xn(e,t,n,r,i){let s=await Me(),o={...n,..._r(Qo[t],n),..._r(r,n)};if(t==="img"){let[a,u,l]=await Er(i.src);if(u===void 0&&l===void 0){if(i.width===void 0||i.height===void 0)throw new Error("Image size cannot be determined. Please provide the width and height of the image.");u=parseInt(i.width),l=parseInt(i.height)}let f=l/u,d=(o.borderLeftWidth||0)+(o.borderRightWidth||0)+(o.paddingLeft||0)+(o.paddingRight||0),b=(o.borderTopWidth||0)+(o.borderBottomWidth||0)+(o.paddingTop||0)+(o.paddingBottom||0),h=o.width||i.width,p=o.height||i.height,g=typeof h!="string"&&typeof p!="string";typeof h=="number"&&g&&(h-=d),typeof p=="number"&&g&&(p-=b),h===void 0&&p===void 0?(h=u,p=l):h===void 0?typeof p=="number"?h=p/f:e.setAspectRatio(1/f):p===void 0&&(typeof h=="number"?p=h*f:e.setAspectRatio(1/f)),o.width=g?h+d:h,o.height=g?p+b:p,o.__src=a}if(t==="svg"){let a=i.viewBox||i.viewbox,u=kt(a),l=u?u[3]/u[2]:null,{width:f,height:d}=i;typeof f>"u"&&d?l==null?f=0:typeof d=="string"&&d.endsWith("%")?f=parseInt(d)/l+"%":(d=xe(d,n.fontSize,1,n),f=d/l):typeof d>"u"&&f?l==null?f=0:typeof f=="string"&&f.endsWith("%")?d=parseInt(f)*l+"%":(f=xe(f,n.fontSize,1,n),d=f*l):(typeof f<"u"&&(f=xe(f,n.fontSize,1,n)||f),typeof d<"u"&&(d=xe(d,n.fontSize,1,n)||d),f||=u==null?void 0:u[2],d||=u==null?void 0:u[3]),!o.width&&f&&(o.width=f),!o.height&&d&&(o.height=d)}return e.setDisplay(de(o.display,{flex:s.DISPLAY_FLEX,none:s.DISPLAY_NONE},s.DISPLAY_FLEX,"display")),e.setAlignContent(de(o.alignContent,{stretch:s.ALIGN_STRETCH,center:s.ALIGN_CENTER,"flex-start":s.ALIGN_FLEX_START,"flex-end":s.ALIGN_FLEX_END,"space-between":s.ALIGN_SPACE_BETWEEN,"space-around":s.ALIGN_SPACE_AROUND,baseline:s.ALIGN_BASELINE,normal:s.ALIGN_AUTO},s.ALIGN_AUTO,"alignContent")),e.setAlignItems(de(o.alignItems,{stretch:s.ALIGN_STRETCH,center:s.ALIGN_CENTER,"flex-start":s.ALIGN_FLEX_START,"flex-end":s.ALIGN_FLEX_END,baseline:s.ALIGN_BASELINE,normal:s.ALIGN_AUTO},s.ALIGN_STRETCH,"alignItems")),e.setAlignSelf(de(o.alignSelf,{stretch:s.ALIGN_STRETCH,center:s.ALIGN_CENTER,"flex-start":s.ALIGN_FLEX_START,"flex-end":s.ALIGN_FLEX_END,baseline:s.ALIGN_BASELINE,normal:s.ALIGN_AUTO},s.ALIGN_AUTO,"alignSelf")),e.setJustifyContent(de(o.justifyContent,{center:s.JUSTIFY_CENTER,"flex-start":s.JUSTIFY_FLEX_START,"flex-end":s.JUSTIFY_FLEX_END,"space-between":s.JUSTIFY_SPACE_BETWEEN,"space-around":s.JUSTIFY_SPACE_AROUND},s.JUSTIFY_FLEX_START,"justifyContent")),e.setFlexDirection(de(o.flexDirection,{row:s.FLEX_DIRECTION_ROW,column:s.FLEX_DIRECTION_COLUMN,"row-reverse":s.FLEX_DIRECTION_ROW_REVERSE,"column-reverse":s.FLEX_DIRECTION_COLUMN_REVERSE},s.FLEX_DIRECTION_ROW,"flexDirection")),e.setFlexWrap(de(o.flexWrap,{wrap:s.WRAP_WRAP,nowrap:s.WRAP_NO_WRAP,"wrap-reverse":s.WRAP_WRAP_REVERSE},s.WRAP_NO_WRAP,"flexWrap")),typeof o.gap<"u"&&e.setGap(s.GUTTER_ALL,o.gap),typeof o.rowGap<"u"&&e.setGap(s.GUTTER_ROW,o.rowGap),typeof o.columnGap<"u"&&e.setGap(s.GUTTER_COLUMN,o.columnGap),typeof o.flexBasis<"u"&&e.setFlexBasis(o.flexBasis),e.setFlexGrow(typeof o.flexGrow>"u"?0:o.flexGrow),e.setFlexShrink(typeof o.flexShrink>"u"?0:o.flexShrink),typeof o.maxHeight<"u"&&e.setMaxHeight(o.maxHeight),typeof o.maxWidth<"u"&&e.setMaxWidth(o.maxWidth),typeof o.minHeight<"u"&&e.setMinHeight(o.minHeight),typeof o.minWidth<"u"&&e.setMinWidth(o.minWidth),e.setOverflow(de(o.overflow,{visible:s.OVERFLOW_VISIBLE,hidden:s.OVERFLOW_HIDDEN},s.OVERFLOW_VISIBLE,"overflow")),e.setMargin(s.EDGE_TOP,o.marginTop||0),e.setMargin(s.EDGE_BOTTOM,o.marginBottom||0),e.setMargin(s.EDGE_LEFT,o.marginLeft||0),e.setMargin(s.EDGE_RIGHT,o.marginRight||0),e.setBorder(s.EDGE_TOP,o.borderTopWidth||0),e.setBorder(s.EDGE_BOTTOM,o.borderBottomWidth||0),e.setBorder(s.EDGE_LEFT,o.borderLeftWidth||0),e.setBorder(s.EDGE_RIGHT,o.borderRightWidth||0),e.setPadding(s.EDGE_TOP,o.paddingTop||0),e.setPadding(s.EDGE_BOTTOM,o.paddingBottom||0),e.setPadding(s.EDGE_LEFT,o.paddingLeft||0),e.setPadding(s.EDGE_RIGHT,o.paddingRight||0),e.setPositionType(de(o.position,{absolute:s.POSITION_TYPE_ABSOLUTE,relative:s.POSITION_TYPE_RELATIVE},s.POSITION_TYPE_RELATIVE,"position")),typeof o.top<"u"&&e.setPosition(s.EDGE_TOP,o.top),typeof o.bottom<"u"&&e.setPosition(s.EDGE_BOTTOM,o.bottom),typeof o.left<"u"&&e.setPosition(s.EDGE_LEFT,o.left),typeof o.right<"u"&&e.setPosition(s.EDGE_RIGHT,o.right),typeof o.height<"u"?e.setHeight(o.height):e.setHeightAuto(),typeof o.width<"u"?e.setWidth(o.width):e.setWidthAuto(),[o,mn(o)]}c();c();c();var cs=[1,0,0,1,0,0];function Gl(e,t,n){let r=[...cs];for(let i of e){let s=Object.keys(i)[0],o=i[s];if(typeof o=="string")if(s==="translateX")o=parseFloat(o)/100*t,i[s]=o;else if(s==="translateY")o=parseFloat(o)/100*n,i[s]=o;else throw new Error(`Invalid transform: "${s}: ${o}".`);let a=o,u=[...cs];switch(s){case"translateX":u[4]=a;break;case"translateY":u[5]=a;break;case"scale":u[0]=a,u[3]=a;break;case"scaleX":u[0]=a;break;case"scaleY":u[3]=a;break;case"rotate":{let l=a*Math.PI/180,f=Math.cos(l),d=Math.sin(l);u[0]=f,u[1]=d,u[2]=-d,u[3]=f;break}case"skewX":u[2]=Math.tan(a*Math.PI/180);break;case"skewY":u[1]=Math.tan(a*Math.PI/180);break}r=St(u,r)}e.splice(0,e.length),e.push(...r),e.__resolved=!0}function Et({left:e,top:t,width:n,height:r},i,s,o){let a;i.__resolved||Gl(i,n,r);let u=i;if(s)a=u;else{let l=(o==null?void 0:o.xAbsolute)??((o==null?void 0:o.xRelative)??50)*n/100,f=(o==null?void 0:o.yAbsolute)??((o==null?void 0:o.yRelative)??50)*r/100,d=e+l,b=t+f;a=St([1,0,0,1,d,b],St(u,[1,0,0,1,-d,-b])),u.__parent&&(a=St(u.__parent,a)),u.splice(0,6,...a)}return`matrix(${a.map(l=>l.toFixed(2)).join(",")})`}function ds({left:e,top:t,width:n,height:r,isInheritingTransform:i},s){let o="",a=1;return s.transform&&(o=Et({left:e,top:t,width:n,height:r},s.transform,i,s.transformOrigin)),s.opacity!==void 0&&(a=+s.opacity),{matrix:o,opacity:a}}function wn({id:e,content:t,filter:n,left:r,top:i,width:s,height:o,matrix:a,opacity:u,image:l,clipPathId:f,debug:d,shape:b,decorationShape:h},p){let g="";if(d&&(g=A("rect",{x:r,y:i-o,width:s,height:o,fill:"transparent",stroke:"#575eff","stroke-width":1,transform:a||void 0,"clip-path":f?`url(#${f})`:void 0})),l){let v={href:l,x:r,y:i,width:s,height:o,transform:a||void 0,"clip-path":f?`url(#${f})`:void 0,style:p.filter?`filter:${p.filter}`:void 0};return[(n?`${n}<g filter="url(#satori_s-${e})">`:"")+A("image",{...v,opacity:u!==1?u:void 0})+(h||"")+(n?"</g>":"")+g,""]}let w={x:r,y:i,width:s,height:o,"font-weight":p.fontWeight,"font-style":p.fontStyle,"font-size":p.fontSize,"font-family":p.fontFamily,"letter-spacing":p.letterSpacing||void 0,transform:a||void 0,"clip-path":f?`url(#${f})`:void 0,style:p.filter?`filter:${p.filter}`:void 0};return[(n?`${n}<g filter="url(#satori_s-${e})">`:"")+A("text",{...w,fill:p.color,opacity:u!==1?u:void 0},t)+(h||"")+(n?"</g>":"")+g,b?A("text",w,t):""]}c();function jl(e,t,n){return e.replace(/([MA])([0-9.-]+),([0-9.-]+)/g,function(r,i,s,o){return i+(parseFloat(s)+t)+","+(parseFloat(o)+n)})}var Or=1.1;function ps({id:e,width:t,height:n},r){if(!r.shadowColor||!r.shadowOffset||typeof r.shadowRadius>"u")return"";let i=r.shadowColor.length,s="",o="",a=0,u=t,l=0,f=n;for(let d=0;d<i;d++){let b=r.shadowRadius[d]*r.shadowRadius[d]/4;a=Math.min(r.shadowOffset[d].width-b,a),u=Math.max(r.shadowOffset[d].width+b+t,u),l=Math.min(r.shadowOffset[d].height-b,l),f=Math.max(r.shadowOffset[d].height+b+n,f),s+=A("feDropShadow",{dx:r.shadowOffset[d].width,dy:r.shadowOffset[d].height,stdDeviation:r.shadowRadius[d]/2,"flood-color":r.shadowColor[d],"flood-opacity":1,...i>1?{in:"SourceGraphic",result:`satori_s-${e}-result-${d}`}:{}}),i>1&&(o=A("feMergeNode",{in:`satori_s-${e}-result-${d}`})+o)}return A("filter",{id:`satori_s-${e}`,x:(a/t*100*Or).toFixed(2)+"%",y:(l/n*100*Or).toFixed(2)+"%",width:((u-a)/t*100*Or).toFixed(2)+"%",height:((f-l)/n*100*Or).toFixed(2)+"%"},s+(o?A("feMerge",{},o):""))}function hs({width:e,height:t,shape:n,opacity:r,id:i},s){if(!s.boxShadow)return null;let o="",a="";for(let u=s.boxShadow.length-1;u>=0;u--){let l="",f=s.boxShadow[u];f.spreadRadius&&f.inset&&(f.spreadRadius=-f.spreadRadius);let d=f.blurRadius*f.blurRadius/4+(f.spreadRadius||0),b=Math.min(-d-(f.inset?f.offsetX:0),0),h=Math.max(d+e-(f.inset?f.offsetX:0),e),p=Math.min(-d-(f.inset?f.offsetY:0),0),g=Math.max(d+t-(f.inset?f.offsetY:0),t),w=`satori_s-${i}-${u}`,v=`satori_ms-${i}-${u}`,y=f.spreadRadius?n.replace('stroke-width="0"',`stroke-width="${f.spreadRadius*2}"`):n;l+=A("mask",{id:v,maskUnits:"userSpaceOnUse"},A("rect",{x:0,y:0,width:s._viewportWidth||"100%",height:s._viewportHeight||"100%",fill:f.inset?"#000":"#fff"})+y.replace('fill="#fff"',f.inset?'fill="#fff"':'fill="#000"').replace('stroke="#fff"',""));let _=y.replace(/d="([^"]+)"/,(E,k)=>'d="'+jl(k,f.offsetX,f.offsetY)+'"').replace(/x="([^"]+)"/,(E,k)=>'x="'+(parseFloat(k)+f.offsetX)+'"').replace(/y="([^"]+)"/,(E,k)=>'y="'+(parseFloat(k)+f.offsetY)+'"');f.spreadRadius&&f.spreadRadius<0&&(l+=A("mask",{id:v+"-neg",maskUnits:"userSpaceOnUse"},_.replace('stroke="#fff"','stroke="#000"').replace(/stroke-width="[^"]+"/,`stroke-width="${-f.spreadRadius*2}"`))),f.spreadRadius&&f.spreadRadius<0&&(_=A("g",{mask:`url(#${v}-neg)`},_)),l+=A("defs",{},A("filter",{id:w,x:`${b/e*100}%`,y:`${p/t*100}%`,width:`${(h-b)/e*100}%`,height:`${(g-p)/t*100}%`},A("feGaussianBlur",{stdDeviation:f.blurRadius/2,result:"b"})+A("feFlood",{"flood-color":f.color,in:"SourceGraphic",result:"f"})+A("feComposite",{in:"f",in2:"b",operator:f.inset?"out":"in"})))+A("g",{mask:`url(#${v})`,filter:`url(#${w})`,opacity:r},_),f.inset?a+=l:o+=l}return[o,a]}c();function _n({width:e,left:t,top:n,ascender:r,clipPathId:i},s){let{textDecorationColor:o,textDecorationStyle:a,textDecorationLine:u,fontSize:l}=s;if(!u||u==="none")return"";let f=Math.max(1,l*.1),d=u==="line-through"?n+r*.5:u==="underline"?n+r*1.1:n,b=a==="dashed"?`${f*1.2} ${f*2}`:a==="dotted"?`0 ${f*2}`:void 0;return A("line",{x1:t,y1:d,x2:t+e,y2:d,stroke:o,"stroke-width":f,"stroke-dasharray":b,"stroke-linecap":a==="dotted"?"round":"square","clip-path":i?`url(#${i})`:void 0})}async function*Sn(e,t){var Ao;let n=await Me(),{parentStyle:r,inheritedStyle:i,parent:s,font:o,id:a,isInheritingTransform:u,debug:l,embedFont:f,graphemeImages:d,locale:b,canLoadAdditionalAssets:h}=t,{textAlign:p,textOverflow:g,whiteSpace:w,wordBreak:v,lineHeight:y,textTransform:_,textWrap:E,fontSize:k,filter:D,_inheritedBackgroundClipTextPath:R}=r;e=Hl(e,_,b);let{content:M,shouldCollapseWhitespace:U,allowSoftWrap:z}=Yl(e,w),{words:V,requiredBreaks:W,allowBreakWord:G}=Vl(M,v),te=Xl(n,p);s.insertChild(te,s.getChildCount()),Yo(r.flexShrink)&&s.setFlexShrink(1);let q=o.getEngine(k,y,r,b),ne=h?ce(e,"grapheme").filter($=>!q.has($)):[];yield ne.map($=>({word:$,locale:b})),ne.length&&(q=o.getEngine(k,y,r,b));let ge=Ql(q,r);function I($){return!!(d&&d[$])}function F($){let B=0;for(let N of $)I(N)?B+=k:B+=ge(N);return B}let Y=$=>{if($.length===0)return{originWidth:0,endingSpacesWidth:0};let B=F(ce($,"grapheme")),N=$.trimEnd()===$?B:F(ce($.trimEnd(),"grapheme"));return{originWidth:B,endingSpacesWidth:B-N}},C=[],ve=[],Ae=[],vt=[],qe=[];function en($){let B=0,N=0,be=0,le=-1,fe=0,re=0,oe=0;C=[],Ae=[0],vt=[],qe=[];let De=0;for(;De<V.length;){let Q=V[De],Xe=W[De],ye=0,Ue=0,{originWidth:yt,endingSpacesWidth:Qe}=Y(Q);ye=yt,Ue=Qe,Xe&&re===0&&(re=q.height(Q));let se=",.!?:-@)>]}%#".indexOf(Q[0])<0,ue=!N,ze=De&&se&&N+ye>$+Ue&&z;if(G&&ye>$&&(!N||ze||Xe)){let Ke=ce(Q,"grapheme");V.splice(De,1,...Ke),N>0&&(C.push(N),ve.push(oe),B++,fe+=re,N=0,re=0,oe=0,Ae.push(1),le=-1);continue}if(Xe||ze)U&&Q===" "&&(ye=0),C.push(N),ve.push(oe),B++,fe+=re,N=ye,re=ye?q.height(Q):0,oe=ye?q.baseline(Q):0,Ae.push(1),le=-1,Xe||(be=Math.max(be,$));else{N+=ye;let Ke=q.height(Q);Ke>re&&(re=Ke,oe=q.baseline(Q)),ue&&Ae[Ae.length-1]++}ue&&le++,be=Math.max(be,N);let ut=N-ye;if(ye===0)qe.push({y:fe,x:ut,width:0,line:B,lineIndex:le,isImage:!1});else{let Ke=ce(Q,"word");for(let an=0;an<Ke.length;an++){let un=Ke[an],vr=0,Io=!1;I(un)?(vr=k,Io=!0):vr=ge(un),vt.push(un),qe.push({y:fe,x:ut,width:vr,line:B,lineIndex:le,isImage:Io}),ut+=vr}}De++}return N&&(B++,C.push(N),ve.push(oe),fe+=re),{width:be,height:fe}}let dr={width:0,height:0};te.setMeasureFunc($=>{let{width:B,height:N}=en($);if(E==="balance"){let be=B/2,le=B,fe=B;for(;be+1<le;){fe=(be+le)/2;let{height:re}=en(fe);re>N?be=fe:le=fe}return en(le),dr={width:le,height:N},{width:le,height:N}}return dr={width:B,height:N},{width:B,height:N}});let[ol,sl]=yield,tn="",pr="",$e=i._inheritedClipPathId,So=i._inheritedMaskId,{left:ko,top:To,width:rn,height:al}=te.getComputedLayout(),nn=s.getComputedWidth()-s.getComputedPadding(n.EDGE_LEFT)-s.getComputedPadding(n.EDGE_RIGHT)-s.getComputedBorder(n.EDGE_LEFT)-s.getComputedBorder(n.EDGE_RIGHT),ot=ol+ko,st=sl+To,{matrix:Ce,opacity:hr}=ds({left:ko,top:To,width:rn,height:al,isInheritingTransform:u},r),at="";if(r.textShadowOffset){let{textShadowColor:$,textShadowOffset:B,textShadowRadius:N}=r;Array.isArray(r.textShadowOffset)||($=[$],B=[B],N=[N]),at=ps({width:dr.width,height:dr.height,id:a},{shadowColor:$,shadowOffset:B,shadowRadius:N}),at=A("defs",{},at)}let bt="",mr="",Eo="",on=-1,Oo=g==="ellipsis"?F(["\u2026"]):0,ul=g==="ellipsis"?F([" "]):0,gr={},Be=null,Po=0;for(let $=0;$<vt.length;$++){let B=qe[$];if(!B)continue;let N=vt[$],be=null,le=!1,fe=d?d[N]:null,re=B.y,oe=B.x,De=B.width,Q=B.line;if(Q===on)continue;let Xe=!1;if(C.length>1){let se=rn-C[Q];if(p==="right"||p==="end")oe+=se;else if(p==="center")oe+=se/2;else if(p==="justify"&&Q<C.length-1){let ue=Ae[Q];oe+=(ue>1?se/(ue-1):0)*B.lineIndex,Xe=!0}}if(gr[Q]||(gr[Q]=[oe,Xe?rn:C[Q]]),g==="ellipsis"&&C[Q]>nn&&B.x+De+Oo+ul>nn){let se=ce(N,"grapheme",b),ue="",ze=0;for(let sn of se){let ut=B.x+F([ue+sn]);if(ue&&ut+Oo>nn)break;ue+=sn,ze=ut}N=ue+"\u2026",on=Q,gr[Q][1]=ze,le=!0}let ye=ve[Q],Ue=q.baseline(N),yt=q.height(N),Qe=ye-Ue;if(fe)re+=0;else if(f){if(!zo.includes(N)&&vt[$+1]&&qe[$+1]&&!qe[$+1].isImage&&re===qe[$+1].y&&!le){Be===null&&(Po=oe),Be=Be===null?N:Be+N;continue}let se=Be===null?N:Be+N,ue=Be===null?oe:Po,ze=B.width+oe-ue;be=q.getSVG(se,{...r,left:ot+ue,top:st+re+Ue+Qe,letterSpacing:r.letterSpacing}),Be=null,l&&(Eo+=A("rect",{x:ot+ue,y:st+re+Qe,width:ze,height:yt,fill:"transparent",stroke:"#575eff","stroke-width":1,transform:Ce||void 0,"clip-path":$e?`url(#${$e})`:void 0})+A("line",{x1:ot+oe,x2:ot+oe+B.width,y1:st+re+Qe+Ue,y2:st+re+Qe+Ue,stroke:"#14c000","stroke-width":1,transform:Ce||void 0,"clip-path":$e?`url(#${$e})`:void 0}))}else re+=Ue+Qe;if(r.textDecorationLine&&(Q!==((Ao=qe[$+1])==null?void 0:Ao.line)||on===Q)){let se=gr[Q];se&&!se[2]&&(bt+=_n({left:ot+se[0],top:st+yt*+Q,width:se[1],ascender:q.baseline(N),clipPathId:$e},r),se[2]=1)}if(be!==null)mr+=be+" ";else{let[se,ue]=wn({content:N,filter:at,id:a,left:ot+oe,top:st+re,width:De,height:yt,matrix:Ce,opacity:hr,image:fe,clipPathId:$e,debug:l,shape:!!R,decorationShape:bt},r);tn+=se,pr+=ue,bt=""}}if(mr){let $=r.color!=="transparent"&&hr!==0?A("path",{fill:r.color,d:mr,transform:Ce||void 0,opacity:hr!==1?hr:void 0,"clip-path":$e?`url(#${$e})`:void 0,mask:So?`url(#${So})`:void 0,style:D?`filter:${D}`:void 0}):"";R&&(pr=A("path",{d:mr,transform:Ce||void 0})),tn+=(at?at+A("g",{filter:`url(#satori_s-${a})`},$+bt):$+bt)+Eo}return pr&&(r._inheritedBackgroundClipTextPath.value+=pr),tn}function Hl(e,t,n){return t==="uppercase"?e=e.toLocaleUpperCase(n):t==="lowercase"?e=e.toLocaleLowerCase(n):t==="capitalize"&&(e=ce(e,"word",n).map(r=>ce(r,"grapheme",n).map((i,s)=>s===0?i.toLocaleUpperCase(n):i).join("")).join("")),e}function Vl(e,t){let n=["break-all","break-word"].includes(t),{words:r,requiredBreaks:i}=Xo(e,t);return{words:r,requiredBreaks:i,allowBreakWord:n}}function Yl(e,t){let n=["pre","pre-wrap","pre-line"].includes(t),r=!["pre","pre-wrap"].includes(t),i=!["pre","nowrap"].includes(t);return n||(e=e.replace(/\n/g," ")),r&&(e=e.replace(/[ ]+/g," "),e=e.trim()),{content:e,shouldCollapseWhitespace:r,allowSoftWrap:i}}function Xl(e,t){let n=e.Node.create();return n.setAlignItems(e.ALIGN_BASELINE),n.setJustifyContent(de(t,{left:e.JUSTIFY_FLEX_START,right:e.JUSTIFY_FLEX_END,center:e.JUSTIFY_CENTER,justify:e.JUSTIFY_SPACE_BETWEEN,start:e.JUSTIFY_FLEX_START,end:e.JUSTIFY_FLEX_END},e.JUSTIFY_FLEX_START,"textAlign")),n}function Ql(e,t){let n=new Map;return function(i){if(n.has(i))return n.get(i);let s=e.measure(i,t);return n.set(i,s),s}}c();c();c();var kn=kn||{},ms={type:"directional",value:"bottom"};kn.parse=function(){var e={linearGradient:/^(\-(webkit|o|ms|moz)\-)?(linear\-gradient)/i,repeatingLinearGradient:/^(\-(webkit|o|ms|moz)\-)?(repeating\-linear\-gradient)/i,radialGradient:/^(\-(webkit|o|ms|moz)\-)?(radial\-gradient)/i,repeatingRadialGradient:/^(\-(webkit|o|ms|moz)\-)?(repeating\-radial\-gradient)/i,sideOrCorner:/^to (left (top|bottom)|right (top|bottom)|top (left|right)|bottom (left|right)|left|right|top|bottom)/i,extentKeywords:/^(closest\-side|closest\-corner|farthest\-side|farthest\-corner|contain|cover)/,positionKeywords:/^(left|center|right|top|bottom)/i,pixelValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))px/,percentageValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))\%/,emValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))em/,angleValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))deg/,zeroValue:/[0]/,startCall:/^\(/,endCall:/^\)/,comma:/^,/,hexColor:/^\#([0-9a-fA-F]+)/,literalColor:/^([a-zA-Z]+)/,rgbColor:/^rgb/i,rgbaColor:/^rgba/i,number:/^(([0-9]*\.[0-9]+)|([0-9]+\.?))/},t="";function n(I){var F=new Error(t+": "+I);throw F.source=t,F}function r(){var I=i();return t.length>0&&n("Invalid input not EOF"),I}function i(){return E(s)}function s(){return o("linear-gradient",e.linearGradient,u,ms)||o("repeating-linear-gradient",e.repeatingLinearGradient,u,ms)||o("radial-gradient",e.radialGradient,b)||o("repeating-radial-gradient",e.repeatingRadialGradient,b)}function o(I,F,Y,C){return a(F,function(ve){var Ae=Y();return Ae?ne(e.comma)||n("Missing comma before color stops"):Ae=C,{type:I,orientation:Ae,colorStops:E(k)}})}function a(I,F){var Y=ne(I);if(Y){ne(e.startCall)||n("Missing (");var C=F(Y);return ne(e.endCall)||n("Missing )"),C}}function u(){return l()||f()||d()}function l(){return q("directional",e.sideOrCorner,1)}function f(){return q("angular",e.angleValue,1)}function d(){return q("directional",e.zeroValue,0)}function b(){var I,F=h(),Y;return F&&(I=[],I.push(F),Y=t,ne(e.comma)&&(F=h(),F?I.push(F):t=Y)),I}function h(){var I=p()||g();if(I)I.at=v();else{var F=w();if(F){I=F;var Y=v();Y&&(I.at=Y)}else{var Y=v();if(Y)I={type:"shape",value:"ellipse",at:Y};else{var C=y();C&&(I={type:"default-radial",at:C})}}}return I}function p(){var I=q("shape",/^(circle)/i,0);return I&&(I.style=te()||w()),I}function g(){var I=q("shape",/^(ellipse)/i,0);return I&&(I.style=W()||w()),I}function w(){return q("extent-keyword",e.extentKeywords,1)}function v(){if(q("position",/^at/,0)){var I=y();return I||n("Missing positioning value"),I}}function y(){var I=_();if(I.x||I.y)return{type:"position",value:I}}function _(){return{x:W(),y:W()}}function E(I){var F=I(),Y=[];if(F)for(Y.push(F);ne(e.comma);)F=I(),F?Y.push(F):n("One extra comma");return Y}function k(){var I=D();return I||n("Expected color definition"),I.length=W(),I}function D(){return M()||z()||U()||R()}function R(){return q("literal",e.literalColor,0)}function M(){return q("hex",e.hexColor,1)}function U(){return a(e.rgbColor,function(){return{type:"rgb",value:E(V)}})}function z(){return a(e.rgbaColor,function(){return{type:"rgba",value:E(V)}})}function V(){return ne(e.number)[1]}function W(){return q("%",e.percentageValue,1)||G()||te()}function G(){return q("position-keyword",e.positionKeywords,1)}function te(){return q("px",e.pixelValue,1)||q("em",e.emValue,1)}function q(I,F,Y){var C=ne(F);if(C)return{type:I,value:C[Y]}}function ne(I){var F,Y;return Y=/^[\n\r\t\s]+/.exec(t),Y&&ge(Y[0].length),F=I.exec(t),F&&ge(F[0].length),F}function ge(I){t=t.substr(I)}return function(I){return t=I.toString(),r()}}();var Tn=kn;function Kl(e){return e.type==="literal"?e.value:e.type==="hex"?`#${e.value}`:e.type==="rgb"?`rgb(${e.value.join(",")})`:e.type==="rgba"?`rgba(${e.value.join(",")})`:"transparent"}function Jl(e){let t=0,n=0,r=0,i=0;return e.includes("top")?n=1:e.includes("bottom")&&(i=1),e.includes("left")?t=1:e.includes("right")&&(r=1),!t&&!r&&!n&&!i&&(n=1),[t,n,r,i]}function Zl(e,t){return typeof e=="string"&&e.endsWith("%")?t*parseFloat(e)/100:+e}function En(e,{x:t,y:n,defaultX:r,defaultY:i}){return(e?e.split(" ").map(s=>{try{let o=new Ge(s);return o.type==="length"||o.type==="number"?o.value:o.value+o.unit}catch{return null}}).filter(s=>s!==null):[r,i]).map((s,o)=>Zl(s,[t,n][o]))}function gs(e,t){let n=[];for(let o of t){let a=Kl(o);if(!n.length&&(n.push({offset:0,color:a}),typeof o.length>"u"||o.length.value==="0"))continue;let u=typeof o.length>"u"?void 0:o.length.type==="%"?o.length.value/100:o.length.value/e;n.push({offset:u,color:a})}n.length||n.push({offset:0,color:"transparent"});let r=n[n.length-1];r.offset!==1&&(typeof r.offset>"u"?r.offset=1:n.push({offset:1,color:r.color}));let i=0,s=1;for(let o=0;o<n.length;o++)if(typeof n[o].offset>"u"){for(s<o&&(s=o);typeof n[s].offset>"u";)s++;n[o].offset=(n[s].offset-n[i].offset)/(s-i)*(o-i)+n[i].offset}else i=o;return n}async function On({id:e,width:t,height:n,left:r,top:i},{image:s,size:o,position:a,repeat:u}){u=u||"repeat";let l=u==="repeat-x"||u==="repeat",f=u==="repeat-y"||u==="repeat",d=En(o,{x:t,y:n,defaultX:t,defaultY:n}),b=En(a,{x:t,y:n,defaultX:0,defaultY:0});if(s.startsWith("linear-gradient(")){let h=Tn.parse(s)[0],[p,g]=d,w,v,y,_,E;if(h.orientation.type==="directional")[w,v,y,_]=Jl(h.orientation.value),E=Math.sqrt(Math.pow((y-w)*p,2)+Math.pow((_-v)*g,2));else if(h.orientation.type==="angular"){let V=function(W){if(W=(W%(Math.PI*2)+Math.PI*2)%(Math.PI*2),Math.abs(W-Math.PI/2)<1e-6){w=0,v=0,y=1,_=0,E=p;return}else if(Math.abs(W)<1e-6){w=0,v=1,y=0,_=0,E=g;return}if(W>=Math.PI/2&&W<Math.PI){V(Math.PI-W),v=1-v,_=1-_;return}else if(W>=Math.PI){V(W-Math.PI);let C=w;w=y,y=C,C=v,v=_,_=C;return}let G=Math.tan(W),te=G*z,q=Math.atan(te),ne=Math.sqrt(2)*Math.cos(Math.PI/4-q);w=0,v=1,y=Math.sin(q)*ne,_=1-Math.cos(q)*ne;let ge=1,I=1/G,F=Math.abs((ge*z+I)/Math.sqrt(ge*ge+I*I)/Math.sqrt(z*z+1));E=Math.sqrt(p*p+g*g)*F},z=p/g;V(+h.orientation.value/180*Math.PI)}let k=gs(E,h.colorStops),D=`satori_bi${e}`,R=`satori_pattern_${e}`,M=A("pattern",{id:R,x:b[0]/t,y:b[1]/n,width:l?p/t:"1",height:f?g/n:"1",patternUnits:"objectBoundingBox"},A("linearGradient",{id:D,x1:w,y1:v,x2:y,y2:_},k.map(U=>A("stop",{offset:U.offset*100+"%","stop-color":U.color})).join(""))+A("rect",{x:0,y:0,width:p,height:g,fill:`url(#${D})`}));return[R,M]}if(s.startsWith("radial-gradient(")){let h=Tn.parse(s)[0],p=h.orientation[0],[g,w]=d,v="circle",y=g/2,_=w/2;if(p.type==="shape"){if(v=p.value,p.at)if(p.at.type==="position")y=p.at.value.x.value,_=p.at.value.y.value;else throw new Error("orientation.at.type not implemented: "+p.at.type)}else throw new Error("orientation.type not implemented: "+p.type);let E=gs(t,h.colorStops),k=`satori_radial_${e}`,D=`satori_pattern_${e}`,R=`satori_mask_${e}`,M={},U=Math.max(Math.abs(g-y),Math.abs(y)),z=Math.max(Math.abs(w-_),Math.abs(_));if(v==="circle")M.r=Math.sqrt(U*U+z*z);else if(v==="ellipse"){let G=z!==0?U/z:1;M.ry=Math.sqrt(U*U+z*z*G*G)/G,M.rx=M.ry*G}let V=A("pattern",{id:D,x:b[0]/t,y:b[1]/n,width:l?g/t:"1",height:f?w/n:"1",patternUnits:"objectBoundingBox"},A("radialGradient",{id:k},E.map(G=>A("stop",{offset:G.offset,"stop-color":G.color})).join(""))+A("mask",{id:R},A("rect",{x:0,y:0,width:g,height:w,fill:"#fff"}))+A(v,{cx:y,cy:_,width:g,height:w,...M,fill:`url(#${k})`,mask:`url(#${R})`}));return[D,V]}if(s.startsWith("url(")){let h=En(o,{x:t,y:n,defaultX:0,defaultY:0}),[p,g,w]=await Er(s.slice(4,-1)),v=h[0]||g,y=h[1]||w;return[`satori_bi${e}`,A("pattern",{id:`satori_bi${e}`,patternContentUnits:"userSpaceOnUse",patternUnits:"userSpaceOnUse",x:b[0]+r,y:b[1]+i,width:l?v:"100%",height:f?y:"100%"},A("image",{x:0,y:0,width:v,height:y,preserveAspectRatio:"none",href:p}))]}throw new Error(`Invalid background image: "${s}"`)}c();function ef([e,t]){return Math.round(e*1e3)===0&&Math.round(t*1e3)===0?0:Math.round(e*t/Math.sqrt(e*e+t*t)*1e3)/1e3}function Pr(e,t,n){return n<e+t&&(n/2<e&&n/2<t?e=t=n/2:n/2<e?e=n-t:n/2<t&&(t=n-e)),[e,t]}function Ar(e){e[0]=e[1]=Math.min(e[0],e[1])}function Ir(e,t,n,r,i){if(typeof e=="string"){let s=e.split(" ").map(a=>a.trim()),o=!s[1]&&!s[0].endsWith("%");return s[1]=s[1]||s[0],[o,[Math.min(xe(s[0],r,t,i,!0),t),Math.min(xe(s[1],r,n,i,!0),n)]]}return typeof e=="number"?[!0,[Math.min(e,t),Math.min(e,n)]]:[!0,void 0]}var Lr=e=>e&&e[0]!==0&&e[1]!==0;function ft({left:e,top:t,width:n,height:r},i,s){let{borderTopLeftRadius:o,borderTopRightRadius:a,borderBottomLeftRadius:u,borderBottomRightRadius:l,fontSize:f}=i,d,b,h,p;if([d,o]=Ir(o,n,r,f,i),[b,a]=Ir(a,n,r,f,i),[h,u]=Ir(u,n,r,f,i),[p,l]=Ir(l,n,r,f,i),!s&&!Lr(o)&&!Lr(a)&&!Lr(u)&&!Lr(l))return"";o||=[0,0],a||=[0,0],u||=[0,0],l||=[0,0],[o[0],a[0]]=Pr(o[0],a[0],n),[u[0],l[0]]=Pr(u[0],l[0],n),[o[1],u[1]]=Pr(o[1],u[1],r),[a[1],l[1]]=Pr(a[1],l[1],r),d&&Ar(o),b&&Ar(a),h&&Ar(u),p&&Ar(l);let g=[];g[0]=[a,a],g[1]=[l,[-l[0],l[1]]],g[2]=[u,[-u[0],-u[1]]],g[3]=[o,[o[0],-o[1]]];let w=`h${n-o[0]-a[0]} a${g[0][0]} 0 0 1 ${g[0][1]}`,v=`v${r-a[1]-l[1]} a${g[1][0]} 0 0 1 ${g[1][1]}`,y=`h${l[0]+u[0]-n} a${g[2][0]} 0 0 1 ${g[2][1]}`,_=`v${u[1]+o[1]-r} a${g[3][0]} 0 0 1 ${g[3][1]}`;if(s){let k=function(W){let G=ef([o,a,l,u][W]);return W===0?[[e+o[0]-G,t+o[1]-G],[e+o[0],t]]:W===1?[[e+n-a[0]+G,t+a[1]-G],[e+n,t+a[1]]]:W===2?[[e+n-l[0]+G,t+r-l[1]+G],[e+n-l[0],t+r]]:[[e+u[0]-G,t+r-u[1]+G],[e,t+r-u[1]]]},E=s.indexOf(!1);if(!s.includes(!0))throw new Error("Invalid `partialSides`.");if(E===-1)E=0;else for(;!s[E];)E=(E+1)%4;let D="",R=k(E),M=`M${R[0]} A${g[(E+3)%4][0]} 0 0 1 ${R[1]}`,U=0;for(;U<4&&s[(E+U)%4];U++)D+=M+" ",M=[w,v,y,_][(E+U)%4];let z=(E+U)%4;D+=M.split(" ")[0];let V=k(z);return D+=` A${g[(z+3)%4][0]} 0 0 1 ${V[0]}`,D}return`M${e+o[0]},${t} ${w} ${v} ${y} ${_}`}c();c();c();function vs(e,t,n){return n[e+"Width"]===n[t+"Width"]&&n[e+"Style"]===n[t+"Style"]&&n[e+"Color"]===n[t+"Color"]}function bs({id:e,currentClipPathId:t,borderPath:n,borderType:r,left:i,top:s,width:o,height:a},u){if(!(u.borderTopWidth||u.borderRightWidth||u.borderBottomWidth||u.borderLeftWidth))return null;let f=`satori_bc-${e}`;return[A("clipPath",{id:f,"clip-path":t?`url(#${t})`:void 0},A(r,{x:i,y:s,width:o,height:a,d:n||void 0})),f]}function Ot({left:e,top:t,width:n,height:r,props:i,asContentMask:s,maskBorderOnly:o},a){let u=["borderTop","borderRight","borderBottom","borderLeft"];if(!s&&!u.some(h=>a[h+"Width"]))return"";let l="",f=0;for(;f>0&&vs(u[f],u[(f+3)%4],a);)f=(f+3)%4;let d=[!1,!1,!1,!1],b=[];for(let h=0;h<4;h++){let p=(f+h)%4,g=(f+h+1)%4,w=u[p],v=u[g];if(d[p]=!0,b=[a[w+"Width"],a[w+"Style"],a[w+"Color"],w],!vs(w,v,a)){let y=(b[0]||0)+(s&&!o&&a[w.replace("border","padding")]||0);y&&(l+=A("path",{width:n,height:r,...i,fill:"none",stroke:s?"#000":b[2],"stroke-width":y*2,"stroke-dasharray":!s&&b[1]==="dashed"?y*2+" "+y:void 0,d:ft({left:e,top:t,width:n,height:r},a,d)})),d=[!1,!1,!1,!1]}}if(d.some(Boolean)){let h=(b[0]||0)+(s&&!o&&a[b[3].replace("border","padding")]||0);h&&(l+=A("path",{width:n,height:r,...i,fill:"none",stroke:s?"#000":b[2],"stroke-width":h*2,"stroke-dasharray":!s&&b[1]==="dashed"?h*2+" "+h:void 0,d:ft({left:e,top:t,width:n,height:r},a,d)}))}return l}function Pn({id:e,left:t,top:n,width:r,height:i,matrix:s,borderOnly:o},a){let u=(a.borderLeftWidth||0)+(o?0:a.paddingLeft||0),l=(a.borderTopWidth||0)+(o?0:a.paddingTop||0),f=(a.borderRightWidth||0)+(o?0:a.paddingRight||0),d=(a.borderBottomWidth||0)+(o?0:a.paddingBottom||0),b={x:t+u,y:n+l,width:r-u-f,height:i-l-d};return A("mask",{id:e},A("rect",{...b,fill:"#fff",mask:a._inheritedMaskId?`url(#${a._inheritedMaskId})`:void 0})+Ot({left:t,top:n,width:r,height:i,props:{transform:s||void 0},asContentMask:!0,maskBorderOnly:o},a))}function An({left:e,top:t,width:n,height:r,path:i,matrix:s,id:o,currentClipPath:a,src:u},l){if(l.overflow!=="hidden"&&!u)return"";let f=Pn({id:`satori_om-${o}`,left:e,top:t,width:n,height:r,matrix:s,borderOnly:!u},l);return A("clipPath",{id:`satori_cp-${o}`,"clip-path":a},A(i?"path":"rect",{x:e,y:t,width:n,height:r,d:i||void 0}))+f}async function Pt({id:e,left:t,top:n,width:r,height:i,isInheritingTransform:s,src:o,debug:a},u){if(u.display==="none")return"";let l=!!o,f="rect",d="",b="",h=[],p=1,g="";u.backgroundColor&&h.push(u.backgroundColor),u.opacity!==void 0&&(p=+u.opacity),u.transform&&(d=Et({left:t,top:n,width:r,height:i},u.transform,s,u.transformOrigin));let w="";if(u.backgroundImage){let V=[];for(let W=0;W<u.backgroundImage.length;W++){let G=u.backgroundImage[W],te=await On({id:e+"_"+W,width:r,height:i,left:t,top:n},G);te&&V.unshift(te)}for(let W of V)h.push(`url(#${W[0]})`),b+=W[1],W[2]&&(w+=W[2])}let v=ft({left:t,top:n,width:r,height:i},u);v&&(f="path");let y=u._inheritedClipPathId,_=u._inheritedMaskId;a&&(g=A("rect",{x:t,y:n,width:r,height:i,fill:"transparent",stroke:"#ff5757","stroke-width":1,transform:d||void 0,"clip-path":y?`url(#${y})`:void 0}));let{backgroundClip:E,filter:k}=u,D=E==="text"?`url(#satori_bct-${e})`:y?`url(#${y})`:void 0,R=An({left:t,top:n,width:r,height:i,path:v,id:e,matrix:d,currentClipPath:D,src:o},u),M=h.map(V=>A(f,{x:t,y:n,width:r,height:i,fill:V,d:v||void 0,transform:d||void 0,"clip-path":D,style:k?`filter:${k}`:void 0,mask:_?`url(#${_})`:void 0})).join(""),U=bs({id:e,left:t,top:n,width:r,height:i,currentClipPathId:y,borderPath:v,borderType:f},u);if(l){let V=(u.borderLeftWidth||0)+(u.paddingLeft||0),W=(u.borderTopWidth||0)+(u.paddingTop||0),G=(u.borderRightWidth||0)+(u.paddingRight||0),te=(u.borderBottomWidth||0)+(u.paddingBottom||0),q=u.objectFit==="contain"?"xMidYMid":u.objectFit==="cover"?"xMidYMid slice":"none";M+=A("image",{x:t+V,y:n+W,width:r-V-G,height:i-W-te,href:o,preserveAspectRatio:q,transform:d||void 0,style:k?`filter:${k}`:void 0,"clip-path":`url(#satori_cp-${e})`,mask:`url(#satori_om-${e})`})}if(U){b+=U[0];let V=U[1];M+=Ot({left:t,top:n,width:r,height:i,props:{transform:d||void 0,"clip-path":`url(#${V})`}},u)}let z=hs({width:r,height:i,id:e,opacity:p,shape:A(f,{x:t,y:n,width:r,height:i,fill:"#fff",stroke:"#fff","stroke-width":0,d:v||void 0,transform:d||void 0,"clip-path":D,mask:_?`url(#${_})`:void 0})},u);return(b?A("defs",{},b):"")+(z?z[0]:"")+R+(p!==1?`<g opacity="${p}">`:"")+(w||M)+(p!==1?"</g>":"")+(z?z[1]:"")+g}c();var ys=Je(require("emoji-regex"),1),tf=new RegExp((0,ys.default)(),""),In={emoji:tf,symbol:/\p{Symbol}/u,math:/\p{Math}/u},Ln={"ja-JP":/\p{scx=Hira}|\p{scx=Kana}|\p{scx=Han}|[\u3000]|[\uFF00-\uFFEF]/u,"ko-KR":/\p{scx=Hangul}/u,"zh-CN":/\p{scx=Han}/u,"zh-TW":/\p{scx=Han}/u,"zh-HK":/\p{scx=Han}/u,"th-TH":/\p{scx=Thai}/u,"bn-IN":/\p{scx=Bengali}/u,"ar-AR":/\p{scx=Arabic}/u,"ta-IN":/\p{scx=Tamil}/u,"ml-IN":/\p{scx=Malayalam}/u,"he-IL":/\p{scx=Hebrew}/u,"te-IN":/\p{scx=Telugu}/u,devanagari:/\p{scx=Devanagari}/u,kannada:/\p{scx=Kannada}/u},Rr=Object.keys({...Ln,...In});function xs(e){return Rr.includes(e)}function ws(e,t){for(let r of Object.keys(In))if(In[r].test(e))return[r];let n=Object.keys(Ln).filter(r=>Ln[r].test(e));if(n.length===0)return["unknown"];if(t){let r=n.findIndex(i=>i===t);r!==-1&&(n.splice(r,1),n.unshift(t))}return n}function _s(e){if(e)return Rr.find(t=>t.toLowerCase()===e.toLowerCase()||t.toLowerCase().startsWith(e.toLowerCase()))}async function*At(e,t){let n=await Me(),{id:r,inheritedStyle:i,parent:s,font:o,debug:a,locale:u,embedFont:l=!0,graphemeImages:f,canLoadAdditionalAssets:d,getTwStyles:b}=t;if(e===null||typeof e>"u")return yield,yield,"";if(!hn(e)||typeof e.type=="function"){let C;if(!hn(e))C=Sn(String(e),t),yield(await C.next()).value;else{if($o(e.type))throw new Error("Class component is not supported.");C=At(e.type(e.props),t),yield(await C.next()).value}await C.next();let ve=yield;return(await C.next(ve)).value}let{type:h,props:p}=e;if(p&&Bo(p))throw new Error("dangerouslySetInnerHTML property is not supported. See documentation for more information https://github.com/vercel/satori#jsx.");let{style:g,children:w,tw:v,lang:y=u}=p||{},_=_s(y);if(v){let C=b(v,g);g=Object.assign(C,g)}let E=n.Node.create();s.insertChild(E,s.getChildCount());let[k,D]=await xn(E,h,i,g,p),R=k.transform===i.transform;if(R||(k.transform.__parent=i.transform),k.overflow==="hidden"&&(D._inheritedClipPathId=`satori_cp-${r}`,D._inheritedMaskId=`satori_om-${r}`),k.backgroundClip==="text"){let C={value:""};D._inheritedBackgroundClipTextPath=C,k._inheritedBackgroundClipTextPath=C}let M=Uo(w),U=[],z=0,V=[];for(let C of M){let ve=At(C,{id:r+"-"+z++,parentStyle:k,inheritedStyle:D,isInheritingTransform:!0,parent:E,font:o,embedFont:l,debug:a,graphemeImages:f,canLoadAdditionalAssets:d,locale:_,getTwStyles:b});d?V.push(...(await ve.next()).value||[]):await ve.next(),U.push(ve)}yield V;for(let C of U)await C.next();let[W,G]=yield,{left:te,top:q,width:ne,height:ge}=E.getComputedLayout();te+=W,q+=G;let I="",F="",Y="";if(h==="img"){let C=k.__src;F=await Pt({id:r,left:te,top:q,width:ne,height:ge,src:C,isInheritingTransform:R,debug:a},k)}else if(h==="svg"){let C=k.color,ve=Ho(e,C);F=await Pt({id:r,left:te,top:q,width:ne,height:ge,src:ve,isInheritingTransform:R,debug:a},k)}else{let C=g==null?void 0:g.display;if(h==="div"&&w&&typeof w!="string"&&C!=="flex"&&C!=="none")throw new Error('Expected <div> to have explicit "display: flex" or "display: none" if it has more than one child node.');F=await Pt({id:r,left:te,top:q,width:ne,height:ge,isInheritingTransform:R,debug:a},k)}for(let C of U)I+=(await C.next([te,q])).value;return k._inheritedBackgroundClipTextPath&&(Y+=A("clipPath",{id:`satori_bct-${r}`,"clip-path":k._inheritedClipPathId?`url(#${k._inheritedClipPathId})`:void 0},k._inheritedBackgroundClipTextPath.value)),Y+F+I}c();var Cr=Je(require("@shuding/opentype.js"),1);var Ss="unknown";function rf(e,t,[n,r],[i,s]){if(n!==i)return n?!i||n===e?-1:i===e?1:e===400&&n===500||e===500&&n===400?-1:e===400&&i===500||e===500&&i===400?1:e<400?n<e&&i<e?i-n:n<e?-1:i<e?1:n-i:e<n&&e<i?n-i:e<n?-1:e<i?1:i-n:1;if(r!==s){if(r===t)return-1;if(s===t)return 1}return-1}var It=class{constructor(t){this.fonts=new Map;this.addFonts(t)}get({name:t,weight:n,style:r}){if(!this.fonts.has(t))return null;n==="normal"&&(n=400),n==="bold"&&(n=700),typeof n=="string"&&(n=Number.parseInt(n,10));let i=[...this.fonts.get(t)],s=i[0];for(let o=1;o<i.length;o++){let[,a,u]=s,[,l,f]=i[o];rf(n,r,[a,u],[l,f])>0&&(s=i[o])}return s[0]}addFonts(t){for(let n of t){let{name:r,data:i,lang:s}=n;if(s&&!xs(s))throw new Error(`Invalid value for props \`lang\`: "${s}". The value must be one of the following: ${Rr.join(", ")}.`);let o=s??Ss,a=Cr.default.parse("buffer"in i?i.buffer.slice(i.byteOffset,i.byteOffset+i.byteLength):i,{lowMemory:!0}),u=a.charToGlyphIndex;a.charToGlyphIndex=f=>{let d=u.call(a,f);return d===0&&a._trackBrokenChars&&a._trackBrokenChars.push(f),d},this.defaultFont||(this.defaultFont=a);let l=`${r.toLowerCase()}_${o}`;this.fonts.has(l)||this.fonts.set(l,[]),this.fonts.get(l).push([a,n.weight,n.style])}}getEngine(t=16,n=1.2,{fontFamily:r="sans-serif",fontWeight:i=400,fontStyle:s="normal"},o){if(!this.fonts.size)throw new Error("No fonts are loaded. At least one font is required to calculate the layout.");r=(Array.isArray(r)?r:[r]).map(y=>y.toLowerCase());let a=[];r.forEach(y=>{let _=this.get({name:y,weight:i,style:s});if(_){a.push(_);return}let E=this.get({name:y+"_unknown",weight:i,style:s});if(E){a.push(E);return}});let u=Array.from(this.fonts.keys()),l=[],f=[],d=[];for(let y of u)if(!r.includes(y))if(o){let _=nf(y);_?_===o?l.push(this.get({name:y,weight:i,style:s})):f.push(this.get({name:y,weight:i,style:s})):d.push(this.get({name:y,weight:i,style:s}))}else d.push(this.get({name:y,weight:i,style:s}));let b=new Map,h=(y,_=!0)=>{let E=[...a,...d,...l,..._?f:[]];if(typeof y>"u")return _?E[E.length-1]:void 0;let k=y.charCodeAt(0);if(b.has(k))return b.get(k);let D=E.find((R,M)=>!!R.charToGlyphIndex(y)||_&&M===E.length-1);return D&&b.set(k,D),D},p=(y,_=!1)=>{var k,D;return((_?(D=(k=y.tables)==null?void 0:k.os2)==null?void 0:D.sTypoAscender:0)||y.ascender)/y.unitsPerEm*t},g=(y,_=!1)=>{var k,D;return((_?(D=(k=y.tables)==null?void 0:k.os2)==null?void 0:D.sTypoDescender:0)||y.descender)/y.unitsPerEm*t},w=y=>h(y,!1),v={has:y=>{if(y===`
6
- `)return!0;let _=w(y);return _?(_._trackBrokenChars=[],_.stringToGlyphs(y),_._trackBrokenChars.length?(_._trackBrokenChars=void 0,!1):!0):!1},baseline:(y,_=typeof y>"u"?a[0]:h(y))=>{let E=p(_,!0),k=g(_,!0),D=v.height(y,_),{yMax:R,yMin:M}=_.tables.head,U=E-k,z=(R/(R-M)-1)*U;return D*((1.2/n+1)/2)+z},height:(y,_=typeof y>"u"?a[0]:h(y))=>(p(_)-g(_))*(n/1.2),measure:(y,_)=>this.measure(h,y,_),getSVG:(y,_)=>this.getSVG(h,y,_)};return v}patchFontFallbackResolver(t,n){let r=[];t._trackBrokenChars=r;let i=t.stringToGlyphs;return t.stringToGlyphs=(s,...o)=>{let a=i.call(t,s,...o);for(let u=0;u<a.length;u++)if(a[u].unicode===void 0){let l=r.shift(),f=n(l);if(f!==t){let d=f.charToGlyph(l),b=t.unitsPerEm/f.unitsPerEm,h=new Cr.default.Path;h.unitsPerEm=t.unitsPerEm,h.commands=d.path.commands.map(g=>{let w={...g};for(let v in w)typeof w[v]=="number"&&(w[v]*=b);return w});let p=new Cr.default.Glyph({...d,advanceWidth:d.advanceWidth*b,xMin:d.xMin*b,xMax:d.xMax*b,yMin:d.yMin*b,yMax:d.yMax*b,path:h});a[u]=p}}return a},()=>{t.stringToGlyphs=i,t._trackBrokenChars=void 0}}measure(t,n,{fontSize:r,letterSpacing:i=0}){let s=t(n),o=this.patchFontFallbackResolver(s,t);try{return s.getAdvanceWidth(n,r,{letterSpacing:i/r})}finally{o()}}getSVG(t,n,{fontSize:r,top:i,left:s,letterSpacing:o=0}){let a=t(n),u=this.patchFontFallbackResolver(a,t);try{return r===0?"":a.getPath(n.replace(/\n/g,""),s,i,r,{letterSpacing:o/r}).toPathData(1)}finally{u()}}};function nf(e){let t=e.split("_"),n=t[t.length-1];return n===Ss?void 0:n}c();function Rn({width:e,height:t,content:n}){return A("svg",{width:e,height:t,viewBox:`0 0 ${e} ${t}`,xmlns:"http://www.w3.org/2000/svg"},n)}c();c();var rl=Je(Cu());c();c();c();c();var G0=["ios","android","windows","macos","web"];function Mu(e){return G0.includes(e)}var j0=["portrait","landscape"];function Fu(e){return j0.includes(e)}var Du;(function(e){e.fontSize="fontSize",e.lineHeight="lineHeight"})(Du||(Du={}));var H;(function(e){e.rem="rem",e.em="em",e.px="px",e.percent="%",e.vw="vw",e.vh="vh",e.none="<no-css-unit>"})(H||(H={}));function io(e){return typeof e=="string"}function oo(e){return typeof e=="object"}var so;function m(e){return{kind:"complete",style:e}}function ie(e,t={}){let{fractions:n}=t;if(n&&e.includes("/")){let[s="",o=""]=e.split("/",2),a=ie(s),u=ie(o);return!a||!u?null:[a[0]/u[0],u[1]]}let r=parseFloat(e);if(Number.isNaN(r))return null;let i=e.match(/(([a-z]{2,}|%))$/);if(!i)return[r,H.none];switch(i==null?void 0:i[1]){case"rem":return[r,H.rem];case"px":return[r,H.px];case"em":return[r,H.em];case"%":return[r,H.percent];case"vw":return[r,H.vw];case"vh":return[r,H.vh];default:return null}}function We(e,t,n={}){let r=Le(t,n);return r===null?null:m({[e]:r})}function Kr(e,t,n){let r=Le(t);return r!==null&&(n[e]=r),n}function Wu(e,t){let n=Le(t);return n===null?null:{[e]:n}}function Le(e,t={}){if(e===void 0)return null;let n=ie(String(e),t);return n?Ye(...n,t):null}function Ye(e,t,n={}){let{isNegative:r,device:i}=n;switch(t){case H.rem:return e*16*(r?-1:1);case H.px:return e*(r?-1:1);case H.percent:return`${r?"-":""}${e}%`;case H.none:return e*(r?-1:1);case H.vw:return i!=null&&i.windowDimensions?i.windowDimensions.width*(e/100):(me("`vw` CSS unit requires configuration with `useDeviceContext()`"),null);case H.vh:return i!=null&&i.windowDimensions?i.windowDimensions.height*(e/100):(me("`vh` CSS unit requires configuration with `useDeviceContext()`"),null);default:return null}}function ao(e){let t=ie(e);if(!t)return null;let[n,r]=t;switch(r){case H.rem:return n*16;case H.px:return n;default:return null}}var H0={t:"Top",tr:"TopRight",tl:"TopLeft",b:"Bottom",br:"BottomRight",bl:"BottomLeft",l:"Left",r:"Right",x:"Horizontal",y:"Vertical"};function uo(e){return H0[e??""]||"All"}function lo(e){let t="All";return[e.replace(/^-(t|b|r|l|tr|tl|br|bl)(-|$)/,(r,i)=>(t=uo(i),"")),t]}function nt(e,t={}){if(e.includes("/")){let n=Nu(e,{...t,fractions:!0});if(n)return n}return e[0]==="["&&(e=e.slice(1,-1)),Nu(e,t)}function Ee(e,t,n={}){let r=nt(t,n);return r===null?null:m({[e]:r})}function Nu(e,t={}){if(e==="px")return 1;let n=ie(e,t);if(!n)return null;let[r,i]=n;return t.fractions&&(i=H.percent,r*=100),i===H.none&&(r=r/4,i=H.rem),Ye(r,i,t)}function V0(...e){console.warn(...e)}function Y0(...e){}var me=typeof process>"u"||((so=process==null?void 0:process.env)===null||so===void 0?void 0:so.JEST_WORKER_ID)===void 0?V0:Y0;var X0=[["aspect-square",m({aspectRatio:1})],["aspect-video",m({aspectRatio:16/9})],["items-center",m({alignItems:"center"})],["items-start",m({alignItems:"flex-start"})],["items-end",m({alignItems:"flex-end"})],["items-baseline",m({alignItems:"baseline"})],["items-stretch",m({alignItems:"stretch"})],["justify-start",m({justifyContent:"flex-start"})],["justify-end",m({justifyContent:"flex-end"})],["justify-center",m({justifyContent:"center"})],["justify-between",m({justifyContent:"space-between"})],["justify-around",m({justifyContent:"space-around"})],["justify-evenly",m({justifyContent:"space-evenly"})],["content-start",m({alignContent:"flex-start"})],["content-end",m({alignContent:"flex-end"})],["content-between",m({alignContent:"space-between"})],["content-around",m({alignContent:"space-around"})],["content-stretch",m({alignContent:"stretch"})],["content-center",m({alignContent:"center"})],["self-auto",m({alignSelf:"auto"})],["self-start",m({alignSelf:"flex-start"})],["self-end",m({alignSelf:"flex-end"})],["self-center",m({alignSelf:"center"})],["self-stretch",m({alignSelf:"stretch"})],["self-baseline",m({alignSelf:"baseline"})],["direction-inherit",m({direction:"inherit"})],["direction-ltr",m({direction:"ltr"})],["direction-rtl",m({direction:"rtl"})],["hidden",m({display:"none"})],["flex",m({display:"flex"})],["flex-row",m({flexDirection:"row"})],["flex-row-reverse",m({flexDirection:"row-reverse"})],["flex-col",m({flexDirection:"column"})],["flex-col-reverse",m({flexDirection:"column-reverse"})],["flex-wrap",m({flexWrap:"wrap"})],["flex-wrap-reverse",m({flexWrap:"wrap-reverse"})],["flex-nowrap",m({flexWrap:"nowrap"})],["flex-auto",m({flexGrow:1,flexShrink:1,flexBasis:"auto"})],["flex-initial",m({flexGrow:0,flexShrink:1,flexBasis:"auto"})],["flex-none",m({flexGrow:0,flexShrink:0,flexBasis:"auto"})],["overflow-hidden",m({overflow:"hidden"})],["overflow-visible",m({overflow:"visible"})],["overflow-scroll",m({overflow:"scroll"})],["absolute",m({position:"absolute"})],["relative",m({position:"relative"})],["italic",m({fontStyle:"italic"})],["not-italic",m({fontStyle:"normal"})],["oldstyle-nums",ar("oldstyle-nums")],["small-caps",ar("small-caps")],["lining-nums",ar("lining-nums")],["tabular-nums",ar("tabular-nums")],["proportional-nums",ar("proportional-nums")],["font-thin",m({fontWeight:"100"})],["font-100",m({fontWeight:"100"})],["font-extralight",m({fontWeight:"200"})],["font-200",m({fontWeight:"200"})],["font-light",m({fontWeight:"300"})],["font-300",m({fontWeight:"300"})],["font-normal",m({fontWeight:"normal"})],["font-400",m({fontWeight:"400"})],["font-medium",m({fontWeight:"500"})],["font-500",m({fontWeight:"500"})],["font-semibold",m({fontWeight:"600"})],["font-600",m({fontWeight:"600"})],["font-bold",m({fontWeight:"bold"})],["font-700",m({fontWeight:"700"})],["font-extrabold",m({fontWeight:"800"})],["font-800",m({fontWeight:"800"})],["font-black",m({fontWeight:"900"})],["font-900",m({fontWeight:"900"})],["include-font-padding",m({includeFontPadding:!0})],["remove-font-padding",m({includeFontPadding:!1})],["max-w-none",m({maxWidth:"99999%"})],["text-left",m({textAlign:"left"})],["text-center",m({textAlign:"center"})],["text-right",m({textAlign:"right"})],["text-justify",m({textAlign:"justify"})],["text-auto",m({textAlign:"auto"})],["underline",m({textDecorationLine:"underline"})],["line-through",m({textDecorationLine:"line-through"})],["no-underline",m({textDecorationLine:"none"})],["uppercase",m({textTransform:"uppercase"})],["lowercase",m({textTransform:"lowercase"})],["capitalize",m({textTransform:"capitalize"})],["normal-case",m({textTransform:"none"})],["w-auto",m({width:"auto"})],["h-auto",m({height:"auto"})],["shadow-sm",m({shadowOffset:{width:1,height:1},shadowColor:"#000",shadowRadius:1,shadowOpacity:.025,elevation:1})],["shadow",m({shadowOffset:{width:1,height:1},shadowColor:"#000",shadowRadius:1,shadowOpacity:.075,elevation:2})],["shadow-md",m({shadowOffset:{width:1,height:1},shadowColor:"#000",shadowRadius:3,shadowOpacity:.125,elevation:3})],["shadow-lg",m({shadowOffset:{width:1,height:1},shadowColor:"#000",shadowOpacity:.15,shadowRadius:8,elevation:8})],["shadow-xl",m({shadowOffset:{width:1,height:1},shadowColor:"#000",shadowOpacity:.19,shadowRadius:20,elevation:12})],["shadow-2xl",m({shadowOffset:{width:1,height:1},shadowColor:"#000",shadowOpacity:.25,shadowRadius:30,elevation:16})],["shadow-none",m({shadowOffset:{width:0,height:0},shadowColor:"#000",shadowRadius:0,shadowOpacity:0,elevation:0})]],fo=X0;function ar(e){return{kind:"dependent",complete(t){(!t.fontVariant||!Array.isArray(t.fontVariant))&&(t.fontVariant=[]),t.fontVariant.push(e)}}}var ur=class{constructor(t){this.ir=new Map(fo),this.styles=new Map,this.prefixes=new Map,this.ir=new Map([...fo,...t??[]])}getStyle(t){return this.styles.get(t)}setStyle(t,n){this.styles.set(t,n)}getIr(t){return this.ir.get(t)}setIr(t,n){this.ir.set(t,n)}getPrefixMatch(t){return this.prefixes.get(t)}setPrefixMatch(t,n){this.prefixes.set(t,n)}};c();c();function co(e,t,n={}){let r=t==null?void 0:t[e];if(!r)return Ee("fontSize",e,n);if(typeof r=="string")return We("fontSize",r);let i={},[s,o]=r,a=Wu("fontSize",s);if(a&&(i=a),typeof o=="string")return m(Kr("lineHeight",qu(o,i),i));let{lineHeight:u,letterSpacing:l}=o;return u&&Kr("lineHeight",qu(u,i),i),l&&Kr("letterSpacing",l,i),m(i)}function qu(e,t){let n=ie(e);if(n){let[r,i]=n;if((i===H.none||i===H.em)&&typeof t.fontSize=="number")return t.fontSize*r}return e}c();function po(e,t){var n;let r=(n=t==null?void 0:t[e])!==null&&n!==void 0?n:e.startsWith("[")?e.slice(1,-1):e,i=ie(r);if(!i)return null;let[s,o]=i;if(o===H.none)return{kind:"dependent",complete(u){if(typeof u.fontSize!="number")return"relative line-height utilities require that font-size be set";u.lineHeight=u.fontSize*s}};let a=Ye(s,o);return a!==null?m({lineHeight:a}):null}c();function ho(e,t,n,r,i){let s="";if(r[0]==="[")s=r.slice(1,-1);else{let l=i==null?void 0:i[r];if(l)s=l;else{let f=nt(r);return f&&typeof f=="number"?$u(f,H.px,t,e):null}}if(s==="auto")return Bu(t,e,"auto");let o=ie(s);if(!o)return null;let[a,u]=o;return n&&(a=-a),$u(a,u,t,e)}function $u(e,t,n,r){let i=Ye(e,t);return i===null?null:Bu(n,r,i)}function Bu(e,t,n){switch(e){case"All":return{kind:"complete",style:{[`${t}Top`]:n,[`${t}Right`]:n,[`${t}Bottom`]:n,[`${t}Left`]:n}};case"Bottom":case"Top":case"Left":case"Right":return{kind:"complete",style:{[`${t}${e}`]:n}};case"Vertical":return{kind:"complete",style:{[`${t}Top`]:n,[`${t}Bottom`]:n}};case"Horizontal":return{kind:"complete",style:{[`${t}Left`]:n,[`${t}Right`]:n}};default:return null}}c();function mo(e){if(!e)return{};let t=Object.entries(e).reduce((i,[s,o])=>{let a=[0,1/0,0],u=typeof o=="string"?{min:o}:o,l=u.min?ao(u.min):0;l===null?me(`invalid screen config value: ${s}->min: ${u.min}`):a[0]=l;let f=u.max?ao(u.max):1/0;return f===null?me(`invalid screen config value: ${s}->max: ${u.max}`):a[1]=f,i[s]=a,i},{}),n=Object.values(t);n.sort((i,s)=>{let[o,a]=i,[u,l]=s;return a===1/0||l===1/0?o-u:a-l});let r=0;return n.forEach(i=>i[2]=r++),t}c();function go(e,t){let n=t==null?void 0:t[e];if(!n)return null;if(typeof n=="string")return m({fontFamily:n});let r=n[0];return r?m({fontFamily:r}):null}c();function it(e,t,n){if(!n)return null;let r;t.includes("/")&&([t="",r]=t.split("/",2));let i="";if(t.startsWith("[#")||t.startsWith("[rgb")?i=t.slice(1,-1):i=Gu(t,n),!i)return null;if(r){let s=Number(r);if(!Number.isNaN(s))return i=Uu(i,s/100),m({[Jr[e].color]:i})}return{kind:"dependent",complete(s){let o=Jr[e].opacity,a=s[o];typeof a=="number"&&(i=Uu(i,a)),s[Jr[e].color]=i}}}function lr(e,t){let n=parseInt(t,10);if(Number.isNaN(n))return null;let r=n/100,i={[Jr[e].opacity]:r};return{kind:"complete",style:i}}function Uu(e,t){return e.startsWith("#")?e=Q0(e):e.startsWith("rgb(")&&(e=e.replace(/^rgb\(/,"rgba(").replace(/\)$/,", 1)")),e.replace(/, ?\d*\.?(\d+)\)$/,`, ${t})`)}function zu(e){for(let t in e)t.startsWith("__opacity_")&&delete e[t]}var Jr={bg:{opacity:"__opacity_bg",color:"backgroundColor"},text:{opacity:"__opacity_text",color:"color"},border:{opacity:"__opacity_border",color:"borderColor"},borderTop:{opacity:"__opacity_border",color:"borderTopColor"},borderBottom:{opacity:"__opacity_border",color:"borderBottomColor"},borderLeft:{opacity:"__opacity_border",color:"borderLeftColor"},borderRight:{opacity:"__opacity_border",color:"borderRightColor"},shadow:{opacity:"__opacity_shadow",color:"shadowColor"},tint:{opacity:"__opacity_tint",color:"tintColor"}};function Q0(e){let t=e;e=e.replace(K0,(o,a,u,l)=>a+a+u+u+l+l);let n=J0.exec(e);if(!n)return me(`invalid config hex color value: ${t}`),"rgba(0, 0, 0, 1)";let r=parseInt(n[1],16),i=parseInt(n[2],16),s=parseInt(n[3],16);return`rgba(${r}, ${i}, ${s}, 1)`}function Gu(e,t){let n=t[e];if(io(n))return n;if(oo(n)&&io(n.DEFAULT))return n.DEFAULT;let[r="",...i]=e.split("-");for(;r!==e;){let s=t[r];if(oo(s))return Gu(i.join("-"),s);if(i.length===0)return"";r=`${r}-${i.shift()}`}return""}var K0=/^#?([a-f\d])([a-f\d])([a-f\d])$/i,J0=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i;c();function Hu(e,t){let[n,r]=lo(e);if(n.match(/^(-?(\d)+)?$/))return Z0(n,r,t==null?void 0:t.borderWidth);if(n=n.replace(/^-/,""),["dashed","solid","dotted"].includes(n))return m({borderStyle:n});let s="border";switch(r){case"Bottom":s="borderBottom";break;case"Top":s="borderTop";break;case"Left":s="borderLeft";break;case"Right":s="borderRight";break}let o=it(s,n,t==null?void 0:t.borderColor);if(o)return o;let a=`border${r==="All"?"":r}Width`;n=n.replace(/^-/,"");let u=n.slice(1,-1),l=Ee(a,u);return typeof(l==null?void 0:l.style[a])!="number"?null:l}function Z0(e,t,n){if(!n)return null;e=e.replace(/^-/,"");let i=n[e===""?"DEFAULT":e];if(i===void 0)return null;let s=`border${t==="All"?"":t}Width`;return We(s,i)}function Vu(e,t){if(!t)return null;let[n,r]=lo(e);n=n.replace(/^-/,""),n===""&&(n="DEFAULT");let i=`border${r==="All"?"":r}Radius`,s=t[n];if(s)return ju(We(i,s));let o=Ee(i,n);return typeof(o==null?void 0:o.style[i])!="number"?null:ju(o)}function ju(e){if((e==null?void 0:e.kind)!=="complete")return e;let t=e.style.borderTopRadius;t!==void 0&&(e.style.borderTopLeftRadius=t,e.style.borderTopRightRadius=t,delete e.style.borderTopRadius);let n=e.style.borderBottomRadius;n!==void 0&&(e.style.borderBottomLeftRadius=n,e.style.borderBottomRightRadius=n,delete e.style.borderBottomRadius);let r=e.style.borderLeftRadius;r!==void 0&&(e.style.borderBottomLeftRadius=r,e.style.borderTopLeftRadius=r,delete e.style.borderLeftRadius);let i=e.style.borderRightRadius;return i!==void 0&&(e.style.borderBottomRightRadius=i,e.style.borderTopRightRadius=i,delete e.style.borderRightRadius),e}c();function mt(e,t,n,r){let i=null;e==="inset"&&(t=t.replace(/^(x|y)-/,(a,u)=>(i=u==="x"?"x":"y","")));let s=r==null?void 0:r[t];if(s){let a=Le(s,{isNegative:n});if(a!==null)return Yu(e,i,a)}let o=nt(t,{isNegative:n});return o!==null?Yu(e,i,o):null}function Yu(e,t,n){if(e!=="inset")return m({[e]:n});switch(t){case null:return m({top:n,left:n,right:n,bottom:n});case"y":return m({top:n,bottom:n});case"x":return m({left:n,right:n})}}c();function fr(e,t,n){var r;t=t.replace(/^-/,"");let i=t===""?"DEFAULT":t,s=Number((r=n==null?void 0:n[i])!==null&&r!==void 0?r:t);return Number.isNaN(s)?null:m({[`flex${e}`]:s})}function Xu(e,t){var n,r;if(e=(t==null?void 0:t[e])||e,["min-content","revert","unset"].includes(e))return null;if(e.match(/^\d+(\.\d+)?$/))return m({flexGrow:Number(e),flexBasis:"0%"});let i=e.match(/^(\d+)\s+(\d+)$/);if(i)return m({flexGrow:Number(i[1]),flexShrink:Number(i[2])});if(i=e.match(/^(\d+)\s+([^ ]+)$/),i){let s=Le((n=i[2])!==null&&n!==void 0?n:"");return s?m({flexGrow:Number(i[1]),flexBasis:s}):null}if(i=e.match(/^(\d+)\s+(\d+)\s+(.+)$/),i){let s=Le((r=i[3])!==null&&r!==void 0?r:"");return s?m({flexGrow:Number(i[1]),flexShrink:Number(i[2]),flexBasis:s}):null}return null}c();function vo(e,t,n={},r){let i=r==null?void 0:r[t];return i!==void 0?We(e,i,n):Ee(e,t,n)}function cr(e,t,n={},r){let i=Le(r==null?void 0:r[t],n);return i?m({[e]:i}):(t==="screen"&&(t=e.includes("Width")?"100vw":"100vh"),Ee(e,t,n))}c();function Qu(e,t,n){let r=n==null?void 0:n[e];if(r){let i=ie(r,{isNegative:t});if(!i)return null;let[s,o]=i;if(o===H.em)return em(s);if(o===H.percent)return me("percentage-based letter-spacing configuration currently unsupported, switch to `em`s, or open an issue if you'd like to see support added."),null;let a=Ye(s,o,{isNegative:t});return a!==null?m({letterSpacing:a}):null}return Ee("letterSpacing",e,{isNegative:t})}function em(e){return{kind:"dependent",complete(t){let n=t.fontSize;if(typeof n!="number"||Number.isNaN(n))return"tracking-X relative letter spacing classes require font-size to be set";t.letterSpacing=Math.round((e*n+Number.EPSILON)*100)/100}}}c();function Ku(e,t){let n=t==null?void 0:t[e];if(n){let i=ie(String(n));if(i)return m({opacity:i[0]})}let r=ie(e);return r?m({opacity:r[0]/100}):null}c();function Ju(e){let t=parseInt(e,10);return Number.isNaN(t)?null:{kind:"complete",style:{shadowOpacity:t/100}}}function Zu(e){if(e.includes("/")){let[n="",r=""]=e.split("/",2),i=bo(n),s=bo(r);return i===null||s===null?null:{kind:"complete",style:{shadowOffset:{width:i,height:s}}}}let t=bo(e);return t===null?null:{kind:"complete",style:{shadowOffset:{width:t,height:t}}}}function bo(e){let t=nt(e);return typeof t=="number"?t:null}var gt=class{constructor(t,n={},r,i,s){var o,a,u,l,f,d;this.config=n,this.cache=r,this.position=0,this.isNull=!1,this.isNegative=!1,this.context={},this.context.device=i;let b=t.trim().split(":"),h=[];b.length===1?this.string=t:(this.string=(o=b.pop())!==null&&o!==void 0?o:"",h=b),this.char=this.string[0];let p=mo((a=this.config.theme)===null||a===void 0?void 0:a.screens);for(let g of h)if(p[g]){let w=(u=p[g])===null||u===void 0?void 0:u[2];w!==void 0&&(this.order=((l=this.order)!==null&&l!==void 0?l:0)+w);let v=(f=i.windowDimensions)===null||f===void 0?void 0:f.width;if(v){let[y,_]=(d=p[g])!==null&&d!==void 0?d:[0,0];(v<=y||v>_)&&(this.isNull=!0)}else this.isNull=!0}else Mu(g)?this.isNull=g!==s:Fu(g)?i.windowDimensions?(i.windowDimensions.width>i.windowDimensions.height?"landscape":"portrait")!==g?this.isNull=!0:this.incrementOrder():this.isNull=!0:g==="retina"?i.pixelDensity===2?this.incrementOrder():this.isNull=!0:g==="dark"?i.colorScheme!=="dark"?this.isNull=!0:this.incrementOrder():this.handlePossibleArbitraryBreakpointPrefix(g)||(this.isNull=!0)}parse(){if(this.isNull)return{kind:"null"};let t=this.cache.getIr(this.rest);if(t)return t;this.parseIsNegative();let n=this.parseUtility();return n?this.order!==void 0?{kind:"ordered",order:this.order,styleIr:n}:n:{kind:"null"}}parseUtility(){var t,n,r,i,s;let o=this.config.theme,a=null;switch(this.char){case"m":case"p":{let u=this.peekSlice(1,3).match(/^(t|b|r|l|x|y)?-/);if(u){let l=this.char==="m"?"margin":"padding";this.advance(((n=(t=u[0])===null||t===void 0?void 0:t.length)!==null&&n!==void 0?n:0)+1);let f=uo(u[1]),d=ho(l,f,this.isNegative,this.rest,(r=this.config.theme)===null||r===void 0?void 0:r[l]);if(d)return d}}}if(this.consumePeeked("h-")&&(a=vo("height",this.rest,this.context,o==null?void 0:o.height),a)||this.consumePeeked("w-")&&(a=vo("width",this.rest,this.context,o==null?void 0:o.width),a)||this.consumePeeked("min-w-")&&(a=cr("minWidth",this.rest,this.context,o==null?void 0:o.minWidth),a)||this.consumePeeked("min-h-")&&(a=cr("minHeight",this.rest,this.context,o==null?void 0:o.minHeight),a)||this.consumePeeked("max-w-")&&(a=cr("maxWidth",this.rest,this.context,o==null?void 0:o.maxWidth),a)||this.consumePeeked("max-h-")&&(a=cr("maxHeight",this.rest,this.context,o==null?void 0:o.maxHeight),a)||this.consumePeeked("leading-")&&(a=po(this.rest,o==null?void 0:o.lineHeight),a)||this.consumePeeked("text-")&&(a=co(this.rest,o==null?void 0:o.fontSize,this.context),a||(a=it("text",this.rest,o==null?void 0:o.textColor),a)||this.consumePeeked("opacity-")&&(a=lr("text",this.rest),a))||this.consumePeeked("font-")&&(a=go(this.rest,o==null?void 0:o.fontFamily),a)||this.consumePeeked("aspect-")&&(this.consumePeeked("ratio-")&&me("`aspect-ratio-{ratio}` is deprecated, use `aspect-{ratio}` instead"),a=We("aspectRatio",this.rest,{fractions:!0}),a)||this.consumePeeked("tint-")&&(a=it("tint",this.rest,o==null?void 0:o.colors),a)||this.consumePeeked("bg-")&&(a=it("bg",this.rest,o==null?void 0:o.backgroundColor),a||this.consumePeeked("opacity-")&&(a=lr("bg",this.rest),a))||this.consumePeeked("border")&&(a=Hu(this.rest,o),a||this.consumePeeked("-opacity-")&&(a=lr("border",this.rest),a))||this.consumePeeked("rounded")&&(a=Vu(this.rest,o==null?void 0:o.borderRadius),a)||this.consumePeeked("bottom-")&&(a=mt("bottom",this.rest,this.isNegative,o==null?void 0:o.inset),a)||this.consumePeeked("top-")&&(a=mt("top",this.rest,this.isNegative,o==null?void 0:o.inset),a)||this.consumePeeked("left-")&&(a=mt("left",this.rest,this.isNegative,o==null?void 0:o.inset),a)||this.consumePeeked("right-")&&(a=mt("right",this.rest,this.isNegative,o==null?void 0:o.inset),a)||this.consumePeeked("inset-")&&(a=mt("inset",this.rest,this.isNegative,o==null?void 0:o.inset),a)||this.consumePeeked("flex-")&&(this.consumePeeked("grow")?a=fr("Grow",this.rest,o==null?void 0:o.flexGrow):this.consumePeeked("shrink")?a=fr("Shrink",this.rest,o==null?void 0:o.flexShrink):a=Xu(this.rest,o==null?void 0:o.flex),a)||this.consumePeeked("grow")&&(a=fr("Grow",this.rest,o==null?void 0:o.flexGrow),a)||this.consumePeeked("shrink")&&(a=fr("Shrink",this.rest,o==null?void 0:o.flexShrink),a)||this.consumePeeked("shadow-color-opacity-")&&(a=lr("shadow",this.rest),a)||this.consumePeeked("shadow-opacity-")&&(a=Ju(this.rest),a)||this.consumePeeked("shadow-offset-")&&(a=Zu(this.rest),a)||this.consumePeeked("shadow-radius-")&&(a=Ee("shadowRadius",this.rest),a)||this.consumePeeked("shadow-")&&(a=it("shadow",this.rest,o==null?void 0:o.colors),a))return a;if(this.consumePeeked("elevation-")){let u=parseInt(this.rest,10);if(!Number.isNaN(u))return m({elevation:u})}if(this.consumePeeked("opacity-")&&(a=Ku(this.rest,o==null?void 0:o.opacity),a)||this.consumePeeked("tracking-")&&(a=Qu(this.rest,this.isNegative,o==null?void 0:o.letterSpacing),a))return a;if(this.consumePeeked("z-")){let u=Number((s=(i=o==null?void 0:o.zIndex)===null||i===void 0?void 0:i[this.rest])!==null&&s!==void 0?s:this.rest);if(!Number.isNaN(u))return m({zIndex:u})}return me(`\`${this.rest}\` unknown or invalid utility`),null}handlePossibleArbitraryBreakpointPrefix(t){var n;if(t[0]!=="m")return!1;let r=t.match(/^(min|max)-(w|h)-\[([^\]]+)\]$/);if(!r)return!1;if(!(!((n=this.context.device)===null||n===void 0)&&n.windowDimensions))return this.isNull=!0,!0;let i=this.context.device.windowDimensions,[,s="",o="",a=""]=r,u=o==="w"?i.width:i.height,l=ie(a,this.context);if(l===null)return this.isNull=!0,!0;let[f,d]=l;return d!=="px"&&(this.isNull=!0),(s==="min"?u>=f:u<=f)?this.incrementOrder():this.isNull=!0,!0}advance(t=1){this.position+=t,this.char=this.string[this.position]}get rest(){return this.peekSlice(0,this.string.length)}peekSlice(t,n){return this.string.slice(this.position+t,this.position+n)}consumePeeked(t){return this.peekSlice(0,t.length)===t?(this.advance(t.length),!0):!1}parseIsNegative(){this.char==="-"&&(this.advance(),this.isNegative=!0,this.context.isNegative=!0)}incrementOrder(){var t;this.order=((t=this.order)!==null&&t!==void 0?t:0)+1}};c();function el(e){let t=[],n=null;return e.forEach(r=>{if(typeof r=="string")t=[...t,...yo(r)];else if(Array.isArray(r))t=[...t,...r.flatMap(yo)];else if(typeof r=="object"&&r!==null)for(let[i,s]of Object.entries(r))typeof s=="boolean"?t=[...t,...s?yo(i):[]]:n?n[i]=s:n={[i]:s}}),[t.filter(Boolean).filter(tm),n]}function yo(e){return e.trim().split(/\s+/)}function tm(e,t,n){return n.indexOf(e)===t}c();function tl(e){var t;return(t=e==null?void 0:e.reduce((n,r)=>({...n,...rm(r.handler)}),{}))!==null&&t!==void 0?t:{}}function rm(e){let t={};return e({addUtilities:n=>{t=n},...nm}),t}function Re(e){throw new Error(`tailwindcss plugin function argument object prop "${e}" not implemented`)}var nm={addComponents:Re,addBase:Re,addVariant:Re,e:Re,prefix:Re,theme:Re,variants:Re,config:Re,corePlugins:Re,matchUtilities:Re,postcss:null};function nl(e,t){let n=(0,rl.default)(im(e)),r={},i=tl(n.plugins),s={},o=Object.entries(i).map(([p,g])=>typeof g=="string"?(s[p]=g,[p,{kind:"null"}]):[p,m(g)]).filter(([,p])=>p.kind!=="null");function a(){return[r.windowDimensions?`w${r.windowDimensions.width}`:!1,r.windowDimensions?`h${r.windowDimensions.height}`:!1,r.fontScale?`fs${r.fontScale}`:!1,r.colorScheme==="dark"?"dark":!1,r.pixelDensity===2?"retina":!1].filter(Boolean).join("--")||"default"}let u=a(),l={};function f(){let p=l[u];if(p)return p;let g=new ur(o);return l[u]=g,g}function d(...p){let g=f(),w={},v=[],y=[],[_,E]=el(p),k=_.join(" "),D=g.getStyle(k);if(D)return{...D,...E||{}};for(let R of _){let M=g.getIr(R);if(!M&&R in s){let z=d(s[R]);g.setIr(R,m(z)),w={...w,...z};continue}switch(M=new gt(R,n,g,r,t).parse(),M.kind){case"complete":w={...w,...M.style},g.setIr(R,M);break;case"dependent":v.push(M);break;case"ordered":y.push(M);break;case"null":g.setIr(R,M);break}}if(y.length>0){y.sort((R,M)=>R.order-M.order);for(let R of y)switch(R.styleIr.kind){case"complete":w={...w,...R.styleIr.style};break;case"dependent":v.push(R.styleIr);break}}if(v.length>0){for(let R of v){let M=R.complete(w);M&&me(M)}zu(w)}return k!==""&&g.setStyle(k,w),E&&(w={...w,...E}),w}function b(p){let g=d(p.split(/\s+/g).map(w=>w.replace(/^(bg|text|border)-/,"")).map(w=>`bg-${w}`).join(" "));return typeof g.backgroundColor=="string"?g.backgroundColor:void 0}let h=(p,...g)=>{let w="";return p.forEach((v,y)=>{var _;w+=v+((_=g[y])!==null&&_!==void 0?_:"")}),d(w)};return h.style=d,h.color=b,h.prefixMatch=(...p)=>{let g=p.sort().join(":"),w=f(),v=w.getPrefixMatch(g);if(v!==void 0)return v;let E=new gt(`${g}:flex`,n,w,r,t).parse().kind!=="null";return w.setPrefixMatch(g,E),E},h.setWindowDimensions=p=>{r.windowDimensions=p,u=a()},h.setFontScale=p=>{r.fontScale=p,u=a()},h.setPixelDensity=p=>{r.pixelDensity=p,u=a()},h.setColorScheme=p=>{r.colorScheme=p,u=a()},h}function im(e){return{...e,content:["_no_warnings_please"]}}var sm={handler:({addUtilities:e})=>{e({"shadow-sm":{boxShadow:"0 1px 2px 0 rgb(0 0 0 / 0.05)"},shadow:{boxShadow:"0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)"},"shadow-md":{boxShadow:"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)"},"shadow-lg":{boxShadow:"0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)"},"shadow-xl":{boxShadow:"0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)"},"shadow-2xl":{boxShadow:"0 25px 50px -12px rgb(0 0 0 / 0.25)"},"shadow-inner":{boxShadow:"inset 0 2px 4px 0 rgb(0 0 0 / 0.05)"},"shadow-none":{boxShadow:"0 0 #0000"}})}};function am(e){return nl({...e,plugins:[...(e==null?void 0:e.plugins)??[],sm]},"web")}var Zr;function xo({width:e,height:t,config:n}){return Zr||(Zr=am(n)),Zr.setWindowDimensions({width:+e,height:+t}),Zr}var wo=new WeakMap;async function _o(e,t){let n=await Me();if(!n||!n.Node)throw new Error("Satori is not initialized: expect `yoga` to be loaded, got "+n);t.fonts=t.fonts||[];let r;wo.has(t.fonts)?r=wo.get(t.fonts):wo.set(t.fonts,r=new It(t.fonts));let i="width"in t?t.width:void 0,s="height"in t?t.height:void 0,o=n.Node.create();i&&o.setWidth(i),s&&o.setHeight(s),o.setFlexDirection(n.FLEX_DIRECTION_ROW),o.setFlexWrap(n.WRAP_WRAP),o.setAlignContent(n.ALIGN_AUTO),o.setAlignItems(n.ALIGN_FLEX_START),o.setJustifyContent(n.JUSTIFY_FLEX_START),o.setOverflow(n.OVERFLOW_HIDDEN);let a={...t.graphemeImages},u=new Set,l=At(e,{id:"id",parentStyle:{},inheritedStyle:{fontSize:16,fontWeight:"normal",fontFamily:"serif",fontStyle:"normal",lineHeight:1.2,color:"black",opacity:1,whiteSpace:"normal",_viewportWidth:i,_viewportHeight:s},parent:o,font:r,embedFont:t.embedFont,debug:t.debug,graphemeImages:a,canLoadAdditionalAssets:!!t.loadAdditionalAsset,getTwStyles:(p,g)=>{let v={...xo({width:i,height:s,config:t.tailwindConfig})([p])};return typeof v.lineHeight=="number"&&(v.lineHeight=v.lineHeight/(+v.fontSize||g.fontSize||16)),v.shadowColor&&v.boxShadow&&(v.boxShadow=v.boxShadow.replace(/rgba?\([^)]+\)/,v.shadowColor)),v}}),f=(await l.next()).value;if(t.loadAdditionalAsset&&f.length){let p=um(f),g=[],w={};await Promise.all(Object.entries(p).flatMap(([v,y])=>y.map(_=>{let E=`${v}_${_}`;return u.has(E)?null:(u.add(E),t.loadAdditionalAsset(v,_).then(k=>{typeof k=="string"?w[_]=k:k&&(Array.isArray(k)?g.push(...k):g.push(k))}))}))),r.addFonts(g),Object.assign(a,w)}await l.next(),o.calculateLayout(i,s,n.DIRECTION_LTR);let d=(await l.next([0,0])).value,b=o.getComputedWidth(),h=o.getComputedHeight();return o.freeRecursive(),Rn({width:b,height:h,content:d})}function um(e){let t={},n={};for(let{word:r,locale:i}of e){let s=ws(r,i).join("|");n[s]=n[s]||"",n[s]+=r}return Object.keys(n).forEach(r=>{t[r]=t[r]||[],r==="emoji"?t[r].push(...il(ce(n[r],"grapheme"))):(t[r][0]=t[r][0]||"",t[r][0]+=il(ce(n[r],"grapheme",r==="unknown"?void 0:r)).join(""))}),t}function il(e){return Array.from(new Set(e))}0&&(module.exports={init});
5
+ in CSS rule \`${o}: ${a}\`.${Jo(o)}`))}}}if(n.backgroundImage){let{backgrounds:i}=(0,ts.parseElementStyle)(n);n.backgroundImage=i}let r=Ml(n.fontSize,t.fontSize);typeof n.fontSize<"u"&&(n.fontSize=r),n.transformOrigin&&(n.transformOrigin=vn(n.transformOrigin,r));for(let i in n){let s=n[i];if(i==="lineHeight")typeof s=="string"&&(s=n[i]=xe(s,r,r,t,!0)/r);else{if(typeof s=="string"){let o=xe(s,r,r,t);typeof o<"u"&&(n[i]=o),s=n[i]}if(typeof s=="string"||typeof s=="object"){let o=is(s);o&&(n[i]=o),s=n[i]}}if(i==="opacity"&&(s=n[i]=s*t.opacity),i==="transform"){let o=s;for(let a of o){let u=Object.keys(a)[0],l=a[u],f=typeof l=="string"?xe(l,r,r,t)??l:l;a[u]=f}}}return n}function Ml(e,t){if(typeof e=="number")return e;try{let n=new ze(e);switch(n.unit){case"em":return n.value*t;case"rem":return n.value*16}}catch{return t}}function es(e){if(e.startsWith("hsl")){let t=(0,ns.default)(e),[n,r,i]=t.values;return`hsl(${[n,`${r}%`,`${i}%`].concat(t.alpha===1?[]:[t.alpha]).join(",")})`}return e}function Fl(e,t){return e&&e.toLowerCase()!=="currentcolor"?es(e):es(t)}function Nl(e,t){return e.replace(/currentcolor/gi,t)}function Wl(e,t){return Vo(e)&&(e=Nl(e,t)),e}c();var ql="image/avif",$l="image/webp",Sr="image/png",kr="image/jpeg",Tr="image/gif",yn="image/svg+xml";function us(e){let t=new DataView(e),n=4,r=t.byteLength;for(;n<r;){let i=t.getUint16(n,!1);if(i>r)throw new TypeError("Invalid JPEG");let s=t.getUint8(i+1+n);if(s===192||s===193||s===194)return[t.getUint16(i+7+n,!1),t.getUint16(i+5+n,!1)];n+=i+2}throw new TypeError("Invalid JPEG")}function ls(e){let t=new Uint8Array(e.slice(6,10));return[t[0]|t[1]<<8,t[2]|t[3]<<8]}function fs(e){let t=new DataView(e);return[t.getUint16(18,!1),t.getUint16(22,!1)]}var os=zo(100),bn=new Map,Bl=[Sr,kr,Tr,yn];function Ul(e){let t="",n=new Uint8Array(e);for(let r=0;r<n.byteLength;r++)t+=String.fromCharCode(n[r]);return btoa(t)}function Gl(e){let t=atob(e),n=t.length,r=new Uint8Array(n);for(let i=0;i<n;i++)r[i]=t.charCodeAt(i);return r.buffer}function ss(e,t){let n=t.match(/<svg[^>]*>/)[0],r=n.match(/viewBox=['"](.+)['"]/),i=r?kt(r[1]):null,s=n.match(/width=['"](\d*\.\d+|\d+)['"]/),o=n.match(/height=['"](\d*\.\d+|\d+)['"]/);if(!i&&(!s||!o))throw new Error(`Failed to parse SVG from ${e}: missing "viewBox"`);let a=i?[i[2],i[3]]:[+s[1],+o[1]],u=a[0]/a[1];return s&&o?[+s[1],+o[1]]:s?[+s[1],+s[1]/u]:o?[+o[1]*u,+o[1]]:[a[0],a[1]]}function as(e){let t,n=zl(new Uint8Array(e));switch(n){case Sr:t=fs(e);break;case Tr:t=ls(e);break;case kr:t=us(e);break}if(!Bl.includes(n))throw new Error(`Unsupported image type: ${n||"unknown"}`);return[`data:${n};base64,${Ul(e)}`,t]}async function Er(e){if(!e)throw new Error("Image source is not provided.");if(typeof e=="object"){let[i,s]=as(e);return[i,...s]}if((e.startsWith('"')&&e.endsWith('"')||e.startsWith("'")&&e.endsWith("'"))&&(e=e.slice(1,-1)),typeof window>"u"&&!e.startsWith("http")&&!e.startsWith("data:"))throw new Error(`Image source must be an absolute URL: ${e}`);if(e.startsWith("data:")){let i;try{i=/data:(?<imageType>[a-z/+]+)(;(?<encodingType>base64|utf8))?,(?<dataString>.*)/g.exec(e).groups}catch{return console.warn("Image data URI resolved without size:"+e),[e]}let{imageType:s,encodingType:o,dataString:a}=i;if(s===yn){let u=o==="base64"?atob(a):decodeURIComponent(a.replace(/ /g,"%20")),l=o==="base64"?e:`data:image/svg+xml;base64,${btoa(u)}`,f=ss(e,u);return[l,...f]}else if(o==="base64"){let u,l=Gl(a);switch(s){case Sr:u=fs(l);break;case Tr:u=ls(l);break;case kr:u=us(l);break}return[e,...u]}else return console.warn("Image data URI resolved without size:"+e),[e]}if(!globalThis.fetch)throw new Error("`fetch` is required to be polyfilled to load images.");if(bn.has(e))return bn.get(e);let t=os.get(e);if(t)return t;let n=e,r=fetch(n).then(i=>{let s=i.headers.get("content-type");return s==="image/svg+xml"||s==="application/svg+xml"?i.text():i.arrayBuffer()}).then(i=>{if(typeof i=="string")try{let a=`data:image/svg+xml;base64,${btoa(i)}`,u=ss(n,i);return[a,...u]}catch(a){throw new Error(`Failed to parse SVG image: ${a.message}`)}let[s,o]=as(i);return[s,...o]}).then(i=>(os.set(n,i),i)).catch(i=>(console.error(`Can't load image ${n}: `+i.message),[]));return bn.set(n,r),r}function zl(e){return[255,216,255].every((t,n)=>e[n]===t)?kr:[137,80,78,71,13,10,26,10].every((t,n)=>e[n]===t)?Sr:[71,73,70,56].every((t,n)=>e[n]===t)?Tr:[82,73,70,70,0,0,0,0,87,69,66,80].every((t,n)=>!t||e[n]===t)?$l:[60,63,120,109,108].every((t,n)=>e[n]===t)?yn:[0,0,0,0,102,116,121,112,97,118,105,102].every((t,n)=>!t||e[n]===t)?ql:null}async function xn(e,t,n,r,i){let s=await Me(),o={...n,..._r(Qo[t],n),..._r(r,n)};if(t==="img"){let[a,u,l]=await Er(i.src);if(u===void 0&&l===void 0){if(i.width===void 0||i.height===void 0)throw new Error("Image size cannot be determined. Please provide the width and height of the image.");u=parseInt(i.width),l=parseInt(i.height)}let f=l/u,d=(o.borderLeftWidth||0)+(o.borderRightWidth||0)+(o.paddingLeft||0)+(o.paddingRight||0),b=(o.borderTopWidth||0)+(o.borderBottomWidth||0)+(o.paddingTop||0)+(o.paddingBottom||0),h=o.width||i.width,p=o.height||i.height,g=typeof h!="string"&&typeof p!="string";typeof h=="number"&&g&&(h-=d),typeof p=="number"&&g&&(p-=b),h===void 0&&p===void 0?(h=u,p=l):h===void 0?typeof p=="number"?h=p/f:e.setAspectRatio(1/f):p===void 0&&(typeof h=="number"?p=h*f:e.setAspectRatio(1/f)),o.width=g?h+d:h,o.height=g?p+b:p,o.__src=a}if(t==="svg"){let a=i.viewBox||i.viewbox,u=kt(a),l=u?u[3]/u[2]:null,{width:f,height:d}=i;typeof f>"u"&&d?l==null?f=0:typeof d=="string"&&d.endsWith("%")?f=parseInt(d)/l+"%":(d=xe(d,n.fontSize,1,n),f=d/l):typeof d>"u"&&f?l==null?f=0:typeof f=="string"&&f.endsWith("%")?d=parseInt(f)*l+"%":(f=xe(f,n.fontSize,1,n),d=f*l):(typeof f<"u"&&(f=xe(f,n.fontSize,1,n)||f),typeof d<"u"&&(d=xe(d,n.fontSize,1,n)||d),f||=u==null?void 0:u[2],d||=u==null?void 0:u[3]),!o.width&&f&&(o.width=f),!o.height&&d&&(o.height=d)}return e.setDisplay(de(o.display,{flex:s.DISPLAY_FLEX,none:s.DISPLAY_NONE},s.DISPLAY_FLEX,"display")),e.setAlignContent(de(o.alignContent,{stretch:s.ALIGN_STRETCH,center:s.ALIGN_CENTER,"flex-start":s.ALIGN_FLEX_START,"flex-end":s.ALIGN_FLEX_END,"space-between":s.ALIGN_SPACE_BETWEEN,"space-around":s.ALIGN_SPACE_AROUND,baseline:s.ALIGN_BASELINE,normal:s.ALIGN_AUTO},s.ALIGN_AUTO,"alignContent")),e.setAlignItems(de(o.alignItems,{stretch:s.ALIGN_STRETCH,center:s.ALIGN_CENTER,"flex-start":s.ALIGN_FLEX_START,"flex-end":s.ALIGN_FLEX_END,baseline:s.ALIGN_BASELINE,normal:s.ALIGN_AUTO},s.ALIGN_STRETCH,"alignItems")),e.setAlignSelf(de(o.alignSelf,{stretch:s.ALIGN_STRETCH,center:s.ALIGN_CENTER,"flex-start":s.ALIGN_FLEX_START,"flex-end":s.ALIGN_FLEX_END,baseline:s.ALIGN_BASELINE,normal:s.ALIGN_AUTO},s.ALIGN_AUTO,"alignSelf")),e.setJustifyContent(de(o.justifyContent,{center:s.JUSTIFY_CENTER,"flex-start":s.JUSTIFY_FLEX_START,"flex-end":s.JUSTIFY_FLEX_END,"space-between":s.JUSTIFY_SPACE_BETWEEN,"space-around":s.JUSTIFY_SPACE_AROUND},s.JUSTIFY_FLEX_START,"justifyContent")),e.setFlexDirection(de(o.flexDirection,{row:s.FLEX_DIRECTION_ROW,column:s.FLEX_DIRECTION_COLUMN,"row-reverse":s.FLEX_DIRECTION_ROW_REVERSE,"column-reverse":s.FLEX_DIRECTION_COLUMN_REVERSE},s.FLEX_DIRECTION_ROW,"flexDirection")),e.setFlexWrap(de(o.flexWrap,{wrap:s.WRAP_WRAP,nowrap:s.WRAP_NO_WRAP,"wrap-reverse":s.WRAP_WRAP_REVERSE},s.WRAP_NO_WRAP,"flexWrap")),typeof o.gap<"u"&&e.setGap(s.GUTTER_ALL,o.gap),typeof o.rowGap<"u"&&e.setGap(s.GUTTER_ROW,o.rowGap),typeof o.columnGap<"u"&&e.setGap(s.GUTTER_COLUMN,o.columnGap),typeof o.flexBasis<"u"&&e.setFlexBasis(o.flexBasis),e.setFlexGrow(typeof o.flexGrow>"u"?0:o.flexGrow),e.setFlexShrink(typeof o.flexShrink>"u"?0:o.flexShrink),typeof o.maxHeight<"u"&&e.setMaxHeight(o.maxHeight),typeof o.maxWidth<"u"&&e.setMaxWidth(o.maxWidth),typeof o.minHeight<"u"&&e.setMinHeight(o.minHeight),typeof o.minWidth<"u"&&e.setMinWidth(o.minWidth),e.setOverflow(de(o.overflow,{visible:s.OVERFLOW_VISIBLE,hidden:s.OVERFLOW_HIDDEN},s.OVERFLOW_VISIBLE,"overflow")),e.setMargin(s.EDGE_TOP,o.marginTop||0),e.setMargin(s.EDGE_BOTTOM,o.marginBottom||0),e.setMargin(s.EDGE_LEFT,o.marginLeft||0),e.setMargin(s.EDGE_RIGHT,o.marginRight||0),e.setBorder(s.EDGE_TOP,o.borderTopWidth||0),e.setBorder(s.EDGE_BOTTOM,o.borderBottomWidth||0),e.setBorder(s.EDGE_LEFT,o.borderLeftWidth||0),e.setBorder(s.EDGE_RIGHT,o.borderRightWidth||0),e.setPadding(s.EDGE_TOP,o.paddingTop||0),e.setPadding(s.EDGE_BOTTOM,o.paddingBottom||0),e.setPadding(s.EDGE_LEFT,o.paddingLeft||0),e.setPadding(s.EDGE_RIGHT,o.paddingRight||0),e.setPositionType(de(o.position,{absolute:s.POSITION_TYPE_ABSOLUTE,relative:s.POSITION_TYPE_RELATIVE},s.POSITION_TYPE_RELATIVE,"position")),typeof o.top<"u"&&e.setPosition(s.EDGE_TOP,o.top),typeof o.bottom<"u"&&e.setPosition(s.EDGE_BOTTOM,o.bottom),typeof o.left<"u"&&e.setPosition(s.EDGE_LEFT,o.left),typeof o.right<"u"&&e.setPosition(s.EDGE_RIGHT,o.right),typeof o.height<"u"?e.setHeight(o.height):e.setHeightAuto(),typeof o.width<"u"?e.setWidth(o.width):e.setWidthAuto(),[o,mn(o)]}c();c();c();var cs=[1,0,0,1,0,0];function jl(e,t,n){let r=[...cs];for(let i of e){let s=Object.keys(i)[0],o=i[s];if(typeof o=="string")if(s==="translateX")o=parseFloat(o)/100*t,i[s]=o;else if(s==="translateY")o=parseFloat(o)/100*n,i[s]=o;else throw new Error(`Invalid transform: "${s}: ${o}".`);let a=o,u=[...cs];switch(s){case"translateX":u[4]=a;break;case"translateY":u[5]=a;break;case"scale":u[0]=a,u[3]=a;break;case"scaleX":u[0]=a;break;case"scaleY":u[3]=a;break;case"rotate":{let l=a*Math.PI/180,f=Math.cos(l),d=Math.sin(l);u[0]=f,u[1]=d,u[2]=-d,u[3]=f;break}case"skewX":u[2]=Math.tan(a*Math.PI/180);break;case"skewY":u[1]=Math.tan(a*Math.PI/180);break}r=St(u,r)}e.splice(0,e.length),e.push(...r),e.__resolved=!0}function Et({left:e,top:t,width:n,height:r},i,s,o){let a;i.__resolved||jl(i,n,r);let u=i;if(s)a=u;else{let l=(o==null?void 0:o.xAbsolute)??((o==null?void 0:o.xRelative)??50)*n/100,f=(o==null?void 0:o.yAbsolute)??((o==null?void 0:o.yRelative)??50)*r/100,d=e+l,b=t+f;a=St([1,0,0,1,d,b],St(u,[1,0,0,1,-d,-b])),u.__parent&&(a=St(u.__parent,a)),u.splice(0,6,...a)}return`matrix(${a.map(l=>l.toFixed(2)).join(",")})`}function ds({left:e,top:t,width:n,height:r,isInheritingTransform:i},s){let o="",a=1;return s.transform&&(o=Et({left:e,top:t,width:n,height:r},s.transform,i,s.transformOrigin)),s.opacity!==void 0&&(a=+s.opacity),{matrix:o,opacity:a}}function wn({id:e,content:t,filter:n,left:r,top:i,width:s,height:o,matrix:a,opacity:u,image:l,clipPathId:f,debug:d,shape:b,decorationShape:h},p){let g="";if(d&&(g=A("rect",{x:r,y:i-o,width:s,height:o,fill:"transparent",stroke:"#575eff","stroke-width":1,transform:a||void 0,"clip-path":f?`url(#${f})`:void 0})),l){let v={href:l,x:r,y:i,width:s,height:o,transform:a||void 0,"clip-path":f?`url(#${f})`:void 0,style:p.filter?`filter:${p.filter}`:void 0};return[(n?`${n}<g filter="url(#satori_s-${e})">`:"")+A("image",{...v,opacity:u!==1?u:void 0})+(h||"")+(n?"</g>":"")+g,""]}let w={x:r,y:i,width:s,height:o,"font-weight":p.fontWeight,"font-style":p.fontStyle,"font-size":p.fontSize,"font-family":p.fontFamily,"letter-spacing":p.letterSpacing||void 0,transform:a||void 0,"clip-path":f?`url(#${f})`:void 0,style:p.filter?`filter:${p.filter}`:void 0};return[(n?`${n}<g filter="url(#satori_s-${e})">`:"")+A("text",{...w,fill:p.color,opacity:u!==1?u:void 0},t)+(h||"")+(n?"</g>":"")+g,b?A("text",w,t):""]}c();function Hl(e,t,n){return e.replace(/([MA])([0-9.-]+),([0-9.-]+)/g,function(r,i,s,o){return i+(parseFloat(s)+t)+","+(parseFloat(o)+n)})}var Or=1.1;function ps({id:e,width:t,height:n},r){if(!r.shadowColor||!r.shadowOffset||typeof r.shadowRadius>"u")return"";let i=r.shadowColor.length,s="",o="",a=0,u=t,l=0,f=n;for(let d=0;d<i;d++){let b=r.shadowRadius[d]*r.shadowRadius[d]/4;a=Math.min(r.shadowOffset[d].width-b,a),u=Math.max(r.shadowOffset[d].width+b+t,u),l=Math.min(r.shadowOffset[d].height-b,l),f=Math.max(r.shadowOffset[d].height+b+n,f),s+=A("feDropShadow",{dx:r.shadowOffset[d].width,dy:r.shadowOffset[d].height,stdDeviation:r.shadowRadius[d]/2,"flood-color":r.shadowColor[d],"flood-opacity":1,...i>1?{in:"SourceGraphic",result:`satori_s-${e}-result-${d}`}:{}}),i>1&&(o=A("feMergeNode",{in:`satori_s-${e}-result-${d}`})+o)}return A("filter",{id:`satori_s-${e}`,x:(a/t*100*Or).toFixed(2)+"%",y:(l/n*100*Or).toFixed(2)+"%",width:((u-a)/t*100*Or).toFixed(2)+"%",height:((f-l)/n*100*Or).toFixed(2)+"%"},s+(o?A("feMerge",{},o):""))}function hs({width:e,height:t,shape:n,opacity:r,id:i},s){if(!s.boxShadow)return null;let o="",a="";for(let u=s.boxShadow.length-1;u>=0;u--){let l="",f=s.boxShadow[u];f.spreadRadius&&f.inset&&(f.spreadRadius=-f.spreadRadius);let d=f.blurRadius*f.blurRadius/4+(f.spreadRadius||0),b=Math.min(-d-(f.inset?f.offsetX:0),0),h=Math.max(d+e-(f.inset?f.offsetX:0),e),p=Math.min(-d-(f.inset?f.offsetY:0),0),g=Math.max(d+t-(f.inset?f.offsetY:0),t),w=`satori_s-${i}-${u}`,v=`satori_ms-${i}-${u}`,y=f.spreadRadius?n.replace('stroke-width="0"',`stroke-width="${f.spreadRadius*2}"`):n;l+=A("mask",{id:v,maskUnits:"userSpaceOnUse"},A("rect",{x:0,y:0,width:s._viewportWidth||"100%",height:s._viewportHeight||"100%",fill:f.inset?"#000":"#fff"})+y.replace('fill="#fff"',f.inset?'fill="#fff"':'fill="#000"').replace('stroke="#fff"',""));let _=y.replace(/d="([^"]+)"/,(E,k)=>'d="'+Hl(k,f.offsetX,f.offsetY)+'"').replace(/x="([^"]+)"/,(E,k)=>'x="'+(parseFloat(k)+f.offsetX)+'"').replace(/y="([^"]+)"/,(E,k)=>'y="'+(parseFloat(k)+f.offsetY)+'"');f.spreadRadius&&f.spreadRadius<0&&(l+=A("mask",{id:v+"-neg",maskUnits:"userSpaceOnUse"},_.replace('stroke="#fff"','stroke="#000"').replace(/stroke-width="[^"]+"/,`stroke-width="${-f.spreadRadius*2}"`))),f.spreadRadius&&f.spreadRadius<0&&(_=A("g",{mask:`url(#${v}-neg)`},_)),l+=A("defs",{},A("filter",{id:w,x:`${b/e*100}%`,y:`${p/t*100}%`,width:`${(h-b)/e*100}%`,height:`${(g-p)/t*100}%`},A("feGaussianBlur",{stdDeviation:f.blurRadius/2,result:"b"})+A("feFlood",{"flood-color":f.color,in:"SourceGraphic",result:"f"})+A("feComposite",{in:"f",in2:"b",operator:f.inset?"out":"in"})))+A("g",{mask:`url(#${v})`,filter:`url(#${w})`,opacity:r},_),f.inset?a+=l:o+=l}return[o,a]}c();function _n({width:e,left:t,top:n,ascender:r,clipPathId:i},s){let{textDecorationColor:o,textDecorationStyle:a,textDecorationLine:u,fontSize:l}=s;if(!u||u==="none")return"";let f=Math.max(1,l*.1),d=u==="line-through"?n+r*.5:u==="underline"?n+r*1.1:n,b=a==="dashed"?`${f*1.2} ${f*2}`:a==="dotted"?`0 ${f*2}`:void 0;return A("line",{x1:t,y1:d,x2:t+e,y2:d,stroke:o,"stroke-width":f,"stroke-dasharray":b,"stroke-linecap":a==="dotted"?"round":"square","clip-path":i?`url(#${i})`:void 0})}async function*Sn(e,t){var Ao;let n=await Me(),{parentStyle:r,inheritedStyle:i,parent:s,font:o,id:a,isInheritingTransform:u,debug:l,embedFont:f,graphemeImages:d,locale:b,canLoadAdditionalAssets:h}=t,{textAlign:p,textOverflow:g,whiteSpace:w,wordBreak:v,lineHeight:y,textTransform:_,textWrap:E,fontSize:k,filter:D,_inheritedBackgroundClipTextPath:R}=r;e=Vl(e,_,b);let{content:M,shouldCollapseWhitespace:U,allowSoftWrap:G}=Xl(e,w),{words:V,requiredBreaks:W,allowBreakWord:z}=Yl(M,v),te=Ql(n,p);s.insertChild(te,s.getChildCount()),Yo(r.flexShrink)&&s.setFlexShrink(1);let q=o.getEngine(k,y,r,b),ne=h?ce(e,"grapheme").filter($=>!q.has($)):[];yield ne.map($=>({word:$,locale:b})),ne.length&&(q=o.getEngine(k,y,r,b));let ge=Kl(q,r);function I($){return!!(d&&d[$])}function F($){let B=0;for(let N of $)I(N)?B+=k:B+=ge(N);return B}let Y=$=>{if($.length===0)return{originWidth:0,endingSpacesWidth:0};let B=F(ce($,"grapheme")),N=$.trimEnd()===$?B:F(ce($.trimEnd(),"grapheme"));return{originWidth:B,endingSpacesWidth:B-N}},C=[],ve=[],Ae=[],vt=[],qe=[];function en($){let B=0,N=0,be=0,le=-1,fe=0,re=0,oe=0;C=[],Ae=[0],vt=[],qe=[];let De=0;for(;De<V.length;){let Q=V[De],Xe=W[De],ye=0,Ue=0,{originWidth:yt,endingSpacesWidth:Qe}=Y(Q);ye=yt,Ue=Qe,Xe&&re===0&&(re=q.height(Q));let se=",.!?:-@)>]}%#".indexOf(Q[0])<0,ue=!N,Ge=De&&se&&N+ye>$+Ue&&G;if(z&&ye>$&&(!N||Ge||Xe)){let Ke=ce(Q,"grapheme");V.splice(De,1,...Ke),N>0&&(C.push(N),ve.push(oe),B++,fe+=re,N=0,re=0,oe=0,Ae.push(1),le=-1);continue}if(Xe||Ge)U&&Q===" "&&(ye=0),C.push(N),ve.push(oe),B++,fe+=re,N=ye,re=ye?q.height(Q):0,oe=ye?q.baseline(Q):0,Ae.push(1),le=-1,Xe||(be=Math.max(be,$));else{N+=ye;let Ke=q.height(Q);Ke>re&&(re=Ke,oe=q.baseline(Q)),ue&&Ae[Ae.length-1]++}ue&&le++,be=Math.max(be,N);let ut=N-ye;if(ye===0)qe.push({y:fe,x:ut,width:0,line:B,lineIndex:le,isImage:!1});else{let Ke=ce(Q,"word");for(let an=0;an<Ke.length;an++){let un=Ke[an],vr=0,Io=!1;I(un)?(vr=k,Io=!0):vr=ge(un),vt.push(un),qe.push({y:fe,x:ut,width:vr,line:B,lineIndex:le,isImage:Io}),ut+=vr}}De++}return N&&(B++,C.push(N),ve.push(oe),fe+=re),{width:be,height:fe}}let dr={width:0,height:0};te.setMeasureFunc($=>{let{width:B,height:N}=en($);if(E==="balance"){let be=B/2,le=B,fe=B;for(;be+1<le;){fe=(be+le)/2;let{height:re}=en(fe);re>N?be=fe:le=fe}return en(le),dr={width:le,height:N},{width:le,height:N}}return dr={width:B,height:N},{width:B,height:N}});let[ol,sl]=yield,tn="",pr="",$e=i._inheritedClipPathId,So=i._inheritedMaskId,{left:ko,top:To,width:rn,height:al}=te.getComputedLayout(),nn=s.getComputedWidth()-s.getComputedPadding(n.EDGE_LEFT)-s.getComputedPadding(n.EDGE_RIGHT)-s.getComputedBorder(n.EDGE_LEFT)-s.getComputedBorder(n.EDGE_RIGHT),ot=ol+ko,st=sl+To,{matrix:Ce,opacity:hr}=ds({left:ko,top:To,width:rn,height:al,isInheritingTransform:u},r),at="";if(r.textShadowOffset){let{textShadowColor:$,textShadowOffset:B,textShadowRadius:N}=r;Array.isArray(r.textShadowOffset)||($=[$],B=[B],N=[N]),at=ps({width:dr.width,height:dr.height,id:a},{shadowColor:$,shadowOffset:B,shadowRadius:N}),at=A("defs",{},at)}let bt="",mr="",Eo="",on=-1,Oo=g==="ellipsis"?F(["\u2026"]):0,ul=g==="ellipsis"?F([" "]):0,gr={},Be=null,Po=0;for(let $=0;$<vt.length;$++){let B=qe[$];if(!B)continue;let N=vt[$],be=null,le=!1,fe=d?d[N]:null,re=B.y,oe=B.x,De=B.width,Q=B.line;if(Q===on)continue;let Xe=!1;if(C.length>1){let se=rn-C[Q];if(p==="right"||p==="end")oe+=se;else if(p==="center")oe+=se/2;else if(p==="justify"&&Q<C.length-1){let ue=Ae[Q];oe+=(ue>1?se/(ue-1):0)*B.lineIndex,Xe=!0}}if(gr[Q]||(gr[Q]=[oe,Xe?rn:C[Q]]),g==="ellipsis"&&C[Q]>nn&&B.x+De+Oo+ul>nn){let se=ce(N,"grapheme",b),ue="",Ge=0;for(let sn of se){let ut=B.x+F([ue+sn]);if(ue&&ut+Oo>nn)break;ue+=sn,Ge=ut}N=ue+"\u2026",on=Q,gr[Q][1]=Ge,le=!0}let ye=ve[Q],Ue=q.baseline(N),yt=q.height(N),Qe=ye-Ue;if(fe)re+=0;else if(f){if(!Go.includes(N)&&vt[$+1]&&qe[$+1]&&!qe[$+1].isImage&&re===qe[$+1].y&&!le){Be===null&&(Po=oe),Be=Be===null?N:Be+N;continue}let se=Be===null?N:Be+N,ue=Be===null?oe:Po,Ge=B.width+oe-ue;be=q.getSVG(se,{...r,left:ot+ue,top:st+re+Ue+Qe,letterSpacing:r.letterSpacing}),Be=null,l&&(Eo+=A("rect",{x:ot+ue,y:st+re+Qe,width:Ge,height:yt,fill:"transparent",stroke:"#575eff","stroke-width":1,transform:Ce||void 0,"clip-path":$e?`url(#${$e})`:void 0})+A("line",{x1:ot+oe,x2:ot+oe+B.width,y1:st+re+Qe+Ue,y2:st+re+Qe+Ue,stroke:"#14c000","stroke-width":1,transform:Ce||void 0,"clip-path":$e?`url(#${$e})`:void 0}))}else re+=Ue+Qe;if(r.textDecorationLine&&(Q!==((Ao=qe[$+1])==null?void 0:Ao.line)||on===Q)){let se=gr[Q];se&&!se[2]&&(bt+=_n({left:ot+se[0],top:st+yt*+Q,width:se[1],ascender:q.baseline(N),clipPathId:$e},r),se[2]=1)}if(be!==null)mr+=be+" ";else{let[se,ue]=wn({content:N,filter:at,id:a,left:ot+oe,top:st+re,width:De,height:yt,matrix:Ce,opacity:hr,image:fe,clipPathId:$e,debug:l,shape:!!R,decorationShape:bt},r);tn+=se,pr+=ue,bt=""}}if(mr){let $=r.color!=="transparent"&&hr!==0?A("path",{fill:r.color,d:mr,transform:Ce||void 0,opacity:hr!==1?hr:void 0,"clip-path":$e?`url(#${$e})`:void 0,mask:So?`url(#${So})`:void 0,style:D?`filter:${D}`:void 0}):"";R&&(pr=A("path",{d:mr,transform:Ce||void 0})),tn+=(at?at+A("g",{filter:`url(#satori_s-${a})`},$+bt):$+bt)+Eo}return pr&&(r._inheritedBackgroundClipTextPath.value+=pr),tn}function Vl(e,t,n){return t==="uppercase"?e=e.toLocaleUpperCase(n):t==="lowercase"?e=e.toLocaleLowerCase(n):t==="capitalize"&&(e=ce(e,"word",n).map(r=>ce(r,"grapheme",n).map((i,s)=>s===0?i.toLocaleUpperCase(n):i).join("")).join("")),e}function Yl(e,t){let n=["break-all","break-word"].includes(t),{words:r,requiredBreaks:i}=Xo(e,t);return{words:r,requiredBreaks:i,allowBreakWord:n}}function Xl(e,t){let n=["pre","pre-wrap","pre-line"].includes(t),r=!["pre","pre-wrap"].includes(t),i=!["pre","nowrap"].includes(t);return n||(e=e.replace(/\n/g," ")),r&&(e=e.replace(/[ ]+/g," "),e=e.trim()),{content:e,shouldCollapseWhitespace:r,allowSoftWrap:i}}function Ql(e,t){let n=e.Node.create();return n.setAlignItems(e.ALIGN_BASELINE),n.setJustifyContent(de(t,{left:e.JUSTIFY_FLEX_START,right:e.JUSTIFY_FLEX_END,center:e.JUSTIFY_CENTER,justify:e.JUSTIFY_SPACE_BETWEEN,start:e.JUSTIFY_FLEX_START,end:e.JUSTIFY_FLEX_END},e.JUSTIFY_FLEX_START,"textAlign")),n}function Kl(e,t){let n=new Map;return function(i){if(n.has(i))return n.get(i);let s=e.measure(i,t);return n.set(i,s),s}}c();c();c();var kn=kn||{},ms={type:"directional",value:"bottom"};kn.parse=function(){var e={linearGradient:/^(\-(webkit|o|ms|moz)\-)?(linear\-gradient)/i,repeatingLinearGradient:/^(\-(webkit|o|ms|moz)\-)?(repeating\-linear\-gradient)/i,radialGradient:/^(\-(webkit|o|ms|moz)\-)?(radial\-gradient)/i,repeatingRadialGradient:/^(\-(webkit|o|ms|moz)\-)?(repeating\-radial\-gradient)/i,sideOrCorner:/^to (left (top|bottom)|right (top|bottom)|top (left|right)|bottom (left|right)|left|right|top|bottom)/i,extentKeywords:/^(closest\-side|closest\-corner|farthest\-side|farthest\-corner|contain|cover)/,positionKeywords:/^(left|center|right|top|bottom)/i,pixelValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))px/,percentageValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))\%/,emValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))em/,angleValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))deg/,zeroValue:/[0]/,startCall:/^\(/,endCall:/^\)/,comma:/^,/,hexColor:/^\#([0-9a-fA-F]+)/,literalColor:/^([a-zA-Z]+)/,rgbColor:/^rgb/i,rgbaColor:/^rgba/i,number:/^(([0-9]*\.[0-9]+)|([0-9]+\.?))/},t="";function n(I){var F=new Error(t+": "+I);throw F.source=t,F}function r(){var I=i();return t.length>0&&n("Invalid input not EOF"),I}function i(){return E(s)}function s(){return o("linear-gradient",e.linearGradient,u,ms)||o("repeating-linear-gradient",e.repeatingLinearGradient,u,ms)||o("radial-gradient",e.radialGradient,b)||o("repeating-radial-gradient",e.repeatingRadialGradient,b)}function o(I,F,Y,C){return a(F,function(ve){var Ae=Y();return Ae?ne(e.comma)||n("Missing comma before color stops"):Ae=C,{type:I,orientation:Ae,colorStops:E(k)}})}function a(I,F){var Y=ne(I);if(Y){ne(e.startCall)||n("Missing (");var C=F(Y);return ne(e.endCall)||n("Missing )"),C}}function u(){return l()||f()||d()}function l(){return q("directional",e.sideOrCorner,1)}function f(){return q("angular",e.angleValue,1)}function d(){return q("directional",e.zeroValue,0)}function b(){var I,F=h(),Y;return F&&(I=[],I.push(F),Y=t,ne(e.comma)&&(F=h(),F?I.push(F):t=Y)),I}function h(){var I=p()||g();if(I)I.at=v();else{var F=w();if(F){I=F;var Y=v();Y&&(I.at=Y)}else{var Y=v();if(Y)I={type:"shape",value:"ellipse",at:Y};else{var C=y();C&&(I={type:"default-radial",at:C})}}}return I}function p(){var I=q("shape",/^(circle)/i,0);return I&&(I.style=te()||w()),I}function g(){var I=q("shape",/^(ellipse)/i,0);return I&&(I.style=W()||w()),I}function w(){return q("extent-keyword",e.extentKeywords,1)}function v(){if(q("position",/^at/,0)){var I=y();return I||n("Missing positioning value"),I}}function y(){var I=_();if(I.x||I.y)return{type:"position",value:I}}function _(){return{x:W(),y:W()}}function E(I){var F=I(),Y=[];if(F)for(Y.push(F);ne(e.comma);)F=I(),F?Y.push(F):n("One extra comma");return Y}function k(){var I=D();return I||n("Expected color definition"),I.length=W(),I}function D(){return M()||G()||U()||R()}function R(){return q("literal",e.literalColor,0)}function M(){return q("hex",e.hexColor,1)}function U(){return a(e.rgbColor,function(){return{type:"rgb",value:E(V)}})}function G(){return a(e.rgbaColor,function(){return{type:"rgba",value:E(V)}})}function V(){return ne(e.number)[1]}function W(){return q("%",e.percentageValue,1)||z()||te()}function z(){return q("position-keyword",e.positionKeywords,1)}function te(){return q("px",e.pixelValue,1)||q("em",e.emValue,1)}function q(I,F,Y){var C=ne(F);if(C)return{type:I,value:C[Y]}}function ne(I){var F,Y;return Y=/^[\n\r\t\s]+/.exec(t),Y&&ge(Y[0].length),F=I.exec(t),F&&ge(F[0].length),F}function ge(I){t=t.substr(I)}return function(I){return t=I.toString(),r()}}();var Tn=kn;function Jl(e){return e.type==="literal"?e.value:e.type==="hex"?`#${e.value}`:e.type==="rgb"?`rgb(${e.value.join(",")})`:e.type==="rgba"?`rgba(${e.value.join(",")})`:"transparent"}function Zl(e){let t=0,n=0,r=0,i=0;return e.includes("top")?n=1:e.includes("bottom")&&(i=1),e.includes("left")?t=1:e.includes("right")&&(r=1),!t&&!r&&!n&&!i&&(n=1),[t,n,r,i]}function ef(e,t){return typeof e=="string"&&e.endsWith("%")?t*parseFloat(e)/100:+e}function En(e,{x:t,y:n,defaultX:r,defaultY:i}){return(e?e.split(" ").map(s=>{try{let o=new ze(s);return o.type==="length"||o.type==="number"?o.value:o.value+o.unit}catch{return null}}).filter(s=>s!==null):[r,i]).map((s,o)=>ef(s,[t,n][o]))}function gs(e,t){let n=[];for(let o of t){let a=Jl(o);if(!n.length&&(n.push({offset:0,color:a}),typeof o.length>"u"||o.length.value==="0"))continue;let u=typeof o.length>"u"?void 0:o.length.type==="%"?o.length.value/100:o.length.value/e;n.push({offset:u,color:a})}n.length||n.push({offset:0,color:"transparent"});let r=n[n.length-1];r.offset!==1&&(typeof r.offset>"u"?r.offset=1:n.push({offset:1,color:r.color}));let i=0,s=1;for(let o=0;o<n.length;o++)if(typeof n[o].offset>"u"){for(s<o&&(s=o);typeof n[s].offset>"u";)s++;n[o].offset=(n[s].offset-n[i].offset)/(s-i)*(o-i)+n[i].offset}else i=o;return n}async function On({id:e,width:t,height:n,left:r,top:i},{image:s,size:o,position:a,repeat:u}){u=u||"repeat";let l=u==="repeat-x"||u==="repeat",f=u==="repeat-y"||u==="repeat",d=En(o,{x:t,y:n,defaultX:t,defaultY:n}),b=En(a,{x:t,y:n,defaultX:0,defaultY:0});if(s.startsWith("linear-gradient(")){let h=Tn.parse(s)[0],[p,g]=d,w,v,y,_,E;if(h.orientation.type==="directional")[w,v,y,_]=Zl(h.orientation.value),E=Math.sqrt(Math.pow((y-w)*p,2)+Math.pow((_-v)*g,2));else if(h.orientation.type==="angular"){let V=function(W){if(W=(W%(Math.PI*2)+Math.PI*2)%(Math.PI*2),Math.abs(W-Math.PI/2)<1e-6){w=0,v=0,y=1,_=0,E=p;return}else if(Math.abs(W)<1e-6){w=0,v=1,y=0,_=0,E=g;return}if(W>=Math.PI/2&&W<Math.PI){V(Math.PI-W),v=1-v,_=1-_;return}else if(W>=Math.PI){V(W-Math.PI);let C=w;w=y,y=C,C=v,v=_,_=C;return}let z=Math.tan(W),te=z*G,q=Math.atan(te),ne=Math.sqrt(2)*Math.cos(Math.PI/4-q);w=0,v=1,y=Math.sin(q)*ne,_=1-Math.cos(q)*ne;let ge=1,I=1/z,F=Math.abs((ge*G+I)/Math.sqrt(ge*ge+I*I)/Math.sqrt(G*G+1));E=Math.sqrt(p*p+g*g)*F},G=p/g;V(+h.orientation.value/180*Math.PI)}let k=gs(E,h.colorStops),D=`satori_bi${e}`,R=`satori_pattern_${e}`,M=A("pattern",{id:R,x:b[0]/t,y:b[1]/n,width:l?p/t:"1",height:f?g/n:"1",patternUnits:"objectBoundingBox"},A("linearGradient",{id:D,x1:w,y1:v,x2:y,y2:_},k.map(U=>A("stop",{offset:U.offset*100+"%","stop-color":U.color})).join(""))+A("rect",{x:0,y:0,width:p,height:g,fill:`url(#${D})`}));return[R,M]}if(s.startsWith("radial-gradient(")){let h=Tn.parse(s)[0],p=h.orientation[0],[g,w]=d,v="circle",y=g/2,_=w/2;if(p.type==="shape"){if(v=p.value,p.at)if(p.at.type==="position")y=p.at.value.x.value,_=p.at.value.y.value;else throw new Error("orientation.at.type not implemented: "+p.at.type)}else throw new Error("orientation.type not implemented: "+p.type);let E=gs(t,h.colorStops),k=`satori_radial_${e}`,D=`satori_pattern_${e}`,R=`satori_mask_${e}`,M={},U=Math.max(Math.abs(g-y),Math.abs(y)),G=Math.max(Math.abs(w-_),Math.abs(_));if(v==="circle")M.r=Math.sqrt(U*U+G*G);else if(v==="ellipse"){let z=G!==0?U/G:1;M.ry=Math.sqrt(U*U+G*G*z*z)/z,M.rx=M.ry*z}let V=A("pattern",{id:D,x:b[0]/t,y:b[1]/n,width:l?g/t:"1",height:f?w/n:"1",patternUnits:"objectBoundingBox"},A("radialGradient",{id:k},E.map(z=>A("stop",{offset:z.offset,"stop-color":z.color})).join(""))+A("mask",{id:R},A("rect",{x:0,y:0,width:g,height:w,fill:"#fff"}))+A(v,{cx:y,cy:_,width:g,height:w,...M,fill:`url(#${k})`,mask:`url(#${R})`}));return[D,V]}if(s.startsWith("url(")){let h=En(o,{x:t,y:n,defaultX:0,defaultY:0}),[p,g,w]=await Er(s.slice(4,-1)),v=h[0]||g,y=h[1]||w;return[`satori_bi${e}`,A("pattern",{id:`satori_bi${e}`,patternContentUnits:"userSpaceOnUse",patternUnits:"userSpaceOnUse",x:b[0]+r,y:b[1]+i,width:l?v:"100%",height:f?y:"100%"},A("image",{x:0,y:0,width:v,height:y,preserveAspectRatio:"none",href:p}))]}throw new Error(`Invalid background image: "${s}"`)}c();function tf([e,t]){return Math.round(e*1e3)===0&&Math.round(t*1e3)===0?0:Math.round(e*t/Math.sqrt(e*e+t*t)*1e3)/1e3}function Pr(e,t,n){return n<e+t&&(n/2<e&&n/2<t?e=t=n/2:n/2<e?e=n-t:n/2<t&&(t=n-e)),[e,t]}function Ar(e){e[0]=e[1]=Math.min(e[0],e[1])}function Ir(e,t,n,r,i){if(typeof e=="string"){let s=e.split(" ").map(a=>a.trim()),o=!s[1]&&!s[0].endsWith("%");return s[1]=s[1]||s[0],[o,[Math.min(xe(s[0],r,t,i,!0),t),Math.min(xe(s[1],r,n,i,!0),n)]]}return typeof e=="number"?[!0,[Math.min(e,t),Math.min(e,n)]]:[!0,void 0]}var Lr=e=>e&&e[0]!==0&&e[1]!==0;function ft({left:e,top:t,width:n,height:r},i,s){let{borderTopLeftRadius:o,borderTopRightRadius:a,borderBottomLeftRadius:u,borderBottomRightRadius:l,fontSize:f}=i,d,b,h,p;if([d,o]=Ir(o,n,r,f,i),[b,a]=Ir(a,n,r,f,i),[h,u]=Ir(u,n,r,f,i),[p,l]=Ir(l,n,r,f,i),!s&&!Lr(o)&&!Lr(a)&&!Lr(u)&&!Lr(l))return"";o||=[0,0],a||=[0,0],u||=[0,0],l||=[0,0],[o[0],a[0]]=Pr(o[0],a[0],n),[u[0],l[0]]=Pr(u[0],l[0],n),[o[1],u[1]]=Pr(o[1],u[1],r),[a[1],l[1]]=Pr(a[1],l[1],r),d&&Ar(o),b&&Ar(a),h&&Ar(u),p&&Ar(l);let g=[];g[0]=[a,a],g[1]=[l,[-l[0],l[1]]],g[2]=[u,[-u[0],-u[1]]],g[3]=[o,[o[0],-o[1]]];let w=`h${n-o[0]-a[0]} a${g[0][0]} 0 0 1 ${g[0][1]}`,v=`v${r-a[1]-l[1]} a${g[1][0]} 0 0 1 ${g[1][1]}`,y=`h${l[0]+u[0]-n} a${g[2][0]} 0 0 1 ${g[2][1]}`,_=`v${u[1]+o[1]-r} a${g[3][0]} 0 0 1 ${g[3][1]}`;if(s){let k=function(W){let z=tf([o,a,l,u][W]);return W===0?[[e+o[0]-z,t+o[1]-z],[e+o[0],t]]:W===1?[[e+n-a[0]+z,t+a[1]-z],[e+n,t+a[1]]]:W===2?[[e+n-l[0]+z,t+r-l[1]+z],[e+n-l[0],t+r]]:[[e+u[0]-z,t+r-u[1]+z],[e,t+r-u[1]]]},E=s.indexOf(!1);if(!s.includes(!0))throw new Error("Invalid `partialSides`.");if(E===-1)E=0;else for(;!s[E];)E=(E+1)%4;let D="",R=k(E),M=`M${R[0]} A${g[(E+3)%4][0]} 0 0 1 ${R[1]}`,U=0;for(;U<4&&s[(E+U)%4];U++)D+=M+" ",M=[w,v,y,_][(E+U)%4];let G=(E+U)%4;D+=M.split(" ")[0];let V=k(G);return D+=` A${g[(G+3)%4][0]} 0 0 1 ${V[0]}`,D}return`M${e+o[0]},${t} ${w} ${v} ${y} ${_}`}c();c();c();function vs(e,t,n){return n[e+"Width"]===n[t+"Width"]&&n[e+"Style"]===n[t+"Style"]&&n[e+"Color"]===n[t+"Color"]}function bs({id:e,currentClipPathId:t,borderPath:n,borderType:r,left:i,top:s,width:o,height:a},u){if(!(u.borderTopWidth||u.borderRightWidth||u.borderBottomWidth||u.borderLeftWidth))return null;let f=`satori_bc-${e}`;return[A("clipPath",{id:f,"clip-path":t?`url(#${t})`:void 0},A(r,{x:i,y:s,width:o,height:a,d:n||void 0})),f]}function Ot({left:e,top:t,width:n,height:r,props:i,asContentMask:s,maskBorderOnly:o},a){let u=["borderTop","borderRight","borderBottom","borderLeft"];if(!s&&!u.some(h=>a[h+"Width"]))return"";let l="",f=0;for(;f>0&&vs(u[f],u[(f+3)%4],a);)f=(f+3)%4;let d=[!1,!1,!1,!1],b=[];for(let h=0;h<4;h++){let p=(f+h)%4,g=(f+h+1)%4,w=u[p],v=u[g];if(d[p]=!0,b=[a[w+"Width"],a[w+"Style"],a[w+"Color"],w],!vs(w,v,a)){let y=(b[0]||0)+(s&&!o&&a[w.replace("border","padding")]||0);y&&(l+=A("path",{width:n,height:r,...i,fill:"none",stroke:s?"#000":b[2],"stroke-width":y*2,"stroke-dasharray":!s&&b[1]==="dashed"?y*2+" "+y:void 0,d:ft({left:e,top:t,width:n,height:r},a,d)})),d=[!1,!1,!1,!1]}}if(d.some(Boolean)){let h=(b[0]||0)+(s&&!o&&a[b[3].replace("border","padding")]||0);h&&(l+=A("path",{width:n,height:r,...i,fill:"none",stroke:s?"#000":b[2],"stroke-width":h*2,"stroke-dasharray":!s&&b[1]==="dashed"?h*2+" "+h:void 0,d:ft({left:e,top:t,width:n,height:r},a,d)}))}return l}function Pn({id:e,left:t,top:n,width:r,height:i,matrix:s,borderOnly:o},a){let u=(a.borderLeftWidth||0)+(o?0:a.paddingLeft||0),l=(a.borderTopWidth||0)+(o?0:a.paddingTop||0),f=(a.borderRightWidth||0)+(o?0:a.paddingRight||0),d=(a.borderBottomWidth||0)+(o?0:a.paddingBottom||0),b={x:t+u,y:n+l,width:r-u-f,height:i-l-d};return A("mask",{id:e},A("rect",{...b,fill:"#fff",mask:a._inheritedMaskId?`url(#${a._inheritedMaskId})`:void 0})+Ot({left:t,top:n,width:r,height:i,props:{transform:s||void 0},asContentMask:!0,maskBorderOnly:o},a))}function An({left:e,top:t,width:n,height:r,path:i,matrix:s,id:o,currentClipPath:a,src:u},l){if(l.overflow!=="hidden"&&!u)return"";let f=Pn({id:`satori_om-${o}`,left:e,top:t,width:n,height:r,matrix:s,borderOnly:!u},l);return A("clipPath",{id:`satori_cp-${o}`,"clip-path":a},A(i?"path":"rect",{x:e,y:t,width:n,height:r,d:i||void 0}))+f}async function Pt({id:e,left:t,top:n,width:r,height:i,isInheritingTransform:s,src:o,debug:a},u){if(u.display==="none")return"";let l=!!o,f="rect",d="",b="",h=[],p=1,g="";u.backgroundColor&&h.push(u.backgroundColor),u.opacity!==void 0&&(p=+u.opacity),u.transform&&(d=Et({left:t,top:n,width:r,height:i},u.transform,s,u.transformOrigin));let w="";if(u.backgroundImage){let V=[];for(let W=0;W<u.backgroundImage.length;W++){let z=u.backgroundImage[W],te=await On({id:e+"_"+W,width:r,height:i,left:t,top:n},z);te&&V.unshift(te)}for(let W of V)h.push(`url(#${W[0]})`),b+=W[1],W[2]&&(w+=W[2])}let v=ft({left:t,top:n,width:r,height:i},u);v&&(f="path");let y=u._inheritedClipPathId,_=u._inheritedMaskId;a&&(g=A("rect",{x:t,y:n,width:r,height:i,fill:"transparent",stroke:"#ff5757","stroke-width":1,transform:d||void 0,"clip-path":y?`url(#${y})`:void 0}));let{backgroundClip:E,filter:k}=u,D=E==="text"?`url(#satori_bct-${e})`:y?`url(#${y})`:void 0,R=An({left:t,top:n,width:r,height:i,path:v,id:e,matrix:d,currentClipPath:D,src:o},u),M=h.map(V=>A(f,{x:t,y:n,width:r,height:i,fill:V,d:v||void 0,transform:d||void 0,"clip-path":D,style:k?`filter:${k}`:void 0,mask:_?`url(#${_})`:void 0})).join(""),U=bs({id:e,left:t,top:n,width:r,height:i,currentClipPathId:y,borderPath:v,borderType:f},u);if(l){let V=(u.borderLeftWidth||0)+(u.paddingLeft||0),W=(u.borderTopWidth||0)+(u.paddingTop||0),z=(u.borderRightWidth||0)+(u.paddingRight||0),te=(u.borderBottomWidth||0)+(u.paddingBottom||0),q=u.objectFit==="contain"?"xMidYMid":u.objectFit==="cover"?"xMidYMid slice":"none";M+=A("image",{x:t+V,y:n+W,width:r-V-z,height:i-W-te,href:o,preserveAspectRatio:q,transform:d||void 0,style:k?`filter:${k}`:void 0,"clip-path":`url(#satori_cp-${e})`,mask:`url(#satori_om-${e})`})}if(U){b+=U[0];let V=U[1];M+=Ot({left:t,top:n,width:r,height:i,props:{transform:d||void 0,"clip-path":`url(#${V})`}},u)}let G=hs({width:r,height:i,id:e,opacity:p,shape:A(f,{x:t,y:n,width:r,height:i,fill:"#fff",stroke:"#fff","stroke-width":0,d:v||void 0,transform:d||void 0,"clip-path":D,mask:_?`url(#${_})`:void 0})},u);return(b?A("defs",{},b):"")+(G?G[0]:"")+R+(p!==1?`<g opacity="${p}">`:"")+(w||M)+(p!==1?"</g>":"")+(G?G[1]:"")+g}c();var ys=Je(require("emoji-regex"),1),rf=new RegExp((0,ys.default)(),""),In={emoji:rf,symbol:/\p{Symbol}/u,math:/\p{Math}/u},Ln={"ja-JP":/\p{scx=Hira}|\p{scx=Kana}|\p{scx=Han}|[\u3000]|[\uFF00-\uFFEF]/u,"ko-KR":/\p{scx=Hangul}/u,"zh-CN":/\p{scx=Han}/u,"zh-TW":/\p{scx=Han}/u,"zh-HK":/\p{scx=Han}/u,"th-TH":/\p{scx=Thai}/u,"bn-IN":/\p{scx=Bengali}/u,"ar-AR":/\p{scx=Arabic}/u,"ta-IN":/\p{scx=Tamil}/u,"ml-IN":/\p{scx=Malayalam}/u,"he-IL":/\p{scx=Hebrew}/u,"te-IN":/\p{scx=Telugu}/u,devanagari:/\p{scx=Devanagari}/u,kannada:/\p{scx=Kannada}/u},Rr=Object.keys({...Ln,...In});function xs(e){return Rr.includes(e)}function ws(e,t){for(let r of Object.keys(In))if(In[r].test(e))return[r];let n=Object.keys(Ln).filter(r=>Ln[r].test(e));if(n.length===0)return["unknown"];if(t){let r=n.findIndex(i=>i===t);r!==-1&&(n.splice(r,1),n.unshift(t))}return n}function _s(e){if(e)return Rr.find(t=>t.toLowerCase()===e.toLowerCase()||t.toLowerCase().startsWith(e.toLowerCase()))}async function*At(e,t){let n=await Me(),{id:r,inheritedStyle:i,parent:s,font:o,debug:a,locale:u,embedFont:l=!0,graphemeImages:f,canLoadAdditionalAssets:d,getTwStyles:b}=t;if(e===null||typeof e>"u")return yield,yield,"";if(!hn(e)||typeof e.type=="function"){let C;if(!hn(e))C=Sn(String(e),t),yield(await C.next()).value;else{if($o(e.type))throw new Error("Class component is not supported.");C=At(e.type(e.props),t),yield(await C.next()).value}await C.next();let ve=yield;return(await C.next(ve)).value}let{type:h,props:p}=e;if(p&&Bo(p))throw new Error("dangerouslySetInnerHTML property is not supported. See documentation for more information https://github.com/vercel/satori#jsx.");let{style:g,children:w,tw:v,lang:y=u}=p||{},_=_s(y);if(v){let C=b(v,g);g=Object.assign(C,g)}let E=n.Node.create();s.insertChild(E,s.getChildCount());let[k,D]=await xn(E,h,i,g,p),R=k.transform===i.transform;if(R||(k.transform.__parent=i.transform),k.overflow==="hidden"&&(D._inheritedClipPathId=`satori_cp-${r}`,D._inheritedMaskId=`satori_om-${r}`),k.backgroundClip==="text"){let C={value:""};D._inheritedBackgroundClipTextPath=C,k._inheritedBackgroundClipTextPath=C}let M=Uo(w),U=[],G=0,V=[];for(let C of M){let ve=At(C,{id:r+"-"+G++,parentStyle:k,inheritedStyle:D,isInheritingTransform:!0,parent:E,font:o,embedFont:l,debug:a,graphemeImages:f,canLoadAdditionalAssets:d,locale:_,getTwStyles:b});d?V.push(...(await ve.next()).value||[]):await ve.next(),U.push(ve)}yield V;for(let C of U)await C.next();let[W,z]=yield,{left:te,top:q,width:ne,height:ge}=E.getComputedLayout();te+=W,q+=z;let I="",F="",Y="";if(h==="img"){let C=k.__src;F=await Pt({id:r,left:te,top:q,width:ne,height:ge,src:C,isInheritingTransform:R,debug:a},k)}else if(h==="svg"){let C=k.color,ve=Ho(e,C);F=await Pt({id:r,left:te,top:q,width:ne,height:ge,src:ve,isInheritingTransform:R,debug:a},k)}else{let C=g==null?void 0:g.display;if(h==="div"&&w&&typeof w!="string"&&C!=="flex"&&C!=="none")throw new Error('Expected <div> to have explicit "display: flex" or "display: none" if it has more than one child node.');F=await Pt({id:r,left:te,top:q,width:ne,height:ge,isInheritingTransform:R,debug:a},k)}for(let C of U)I+=(await C.next([te,q])).value;return k._inheritedBackgroundClipTextPath&&(Y+=A("clipPath",{id:`satori_bct-${r}`,"clip-path":k._inheritedClipPathId?`url(#${k._inheritedClipPathId})`:void 0},k._inheritedBackgroundClipTextPath.value)),Y+F+I}c();var Cr=Je(require("@shuding/opentype.js"),1);var Ss="unknown";function nf(e,t,[n,r],[i,s]){if(n!==i)return n?!i||n===e?-1:i===e?1:e===400&&n===500||e===500&&n===400?-1:e===400&&i===500||e===500&&i===400?1:e<400?n<e&&i<e?i-n:n<e?-1:i<e?1:n-i:e<n&&e<i?n-i:e<n?-1:e<i?1:i-n:1;if(r!==s){if(r===t)return-1;if(s===t)return 1}return-1}var It=class{constructor(t){this.fonts=new Map;this.addFonts(t)}get({name:t,weight:n,style:r}){if(!this.fonts.has(t))return null;n==="normal"&&(n=400),n==="bold"&&(n=700),typeof n=="string"&&(n=Number.parseInt(n,10));let i=[...this.fonts.get(t)],s=i[0];for(let o=1;o<i.length;o++){let[,a,u]=s,[,l,f]=i[o];nf(n,r,[a,u],[l,f])>0&&(s=i[o])}return s[0]}addFonts(t){for(let n of t){let{name:r,data:i,lang:s}=n;if(s&&!xs(s))throw new Error(`Invalid value for props \`lang\`: "${s}". The value must be one of the following: ${Rr.join(", ")}.`);let o=s??Ss,a=Cr.default.parse("buffer"in i?i.buffer.slice(i.byteOffset,i.byteOffset+i.byteLength):i,{lowMemory:!0}),u=a.charToGlyphIndex;a.charToGlyphIndex=f=>{let d=u.call(a,f);return d===0&&a._trackBrokenChars&&a._trackBrokenChars.push(f),d},this.defaultFont||(this.defaultFont=a);let l=`${r.toLowerCase()}_${o}`;this.fonts.has(l)||this.fonts.set(l,[]),this.fonts.get(l).push([a,n.weight,n.style])}}getEngine(t=16,n=1.2,{fontFamily:r="sans-serif",fontWeight:i=400,fontStyle:s="normal"},o){if(!this.fonts.size)throw new Error("No fonts are loaded. At least one font is required to calculate the layout.");r=(Array.isArray(r)?r:[r]).map(y=>y.toLowerCase());let a=[];r.forEach(y=>{let _=this.get({name:y,weight:i,style:s});if(_){a.push(_);return}let E=this.get({name:y+"_unknown",weight:i,style:s});if(E){a.push(E);return}});let u=Array.from(this.fonts.keys()),l=[],f=[],d=[];for(let y of u)if(!r.includes(y))if(o){let _=of(y);_?_===o?l.push(this.get({name:y,weight:i,style:s})):f.push(this.get({name:y,weight:i,style:s})):d.push(this.get({name:y,weight:i,style:s}))}else d.push(this.get({name:y,weight:i,style:s}));let b=new Map,h=(y,_=!0)=>{let E=[...a,...d,...l,..._?f:[]];if(typeof y>"u")return _?E[E.length-1]:void 0;let k=y.charCodeAt(0);if(b.has(k))return b.get(k);let D=E.find((R,M)=>!!R.charToGlyphIndex(y)||_&&M===E.length-1);return D&&b.set(k,D),D},p=(y,_=!1)=>{var k,D;return((_?(D=(k=y.tables)==null?void 0:k.os2)==null?void 0:D.sTypoAscender:0)||y.ascender)/y.unitsPerEm*t},g=(y,_=!1)=>{var k,D;return((_?(D=(k=y.tables)==null?void 0:k.os2)==null?void 0:D.sTypoDescender:0)||y.descender)/y.unitsPerEm*t},w=y=>h(y,!1),v={has:y=>{if(y===`
6
+ `)return!0;let _=w(y);return _?(_._trackBrokenChars=[],_.stringToGlyphs(y),_._trackBrokenChars.length?(_._trackBrokenChars=void 0,!1):!0):!1},baseline:(y,_=typeof y>"u"?a[0]:h(y))=>{let E=p(_,!0),k=g(_,!0),D=v.height(y,_),{yMax:R,yMin:M}=_.tables.head,U=E-k,G=(R/(R-M)-1)*U;return D*((1.2/n+1)/2)+G},height:(y,_=typeof y>"u"?a[0]:h(y))=>(p(_)-g(_))*(n/1.2),measure:(y,_)=>this.measure(h,y,_),getSVG:(y,_)=>this.getSVG(h,y,_)};return v}patchFontFallbackResolver(t,n){let r=[];t._trackBrokenChars=r;let i=t.stringToGlyphs;return t.stringToGlyphs=(s,...o)=>{let a=i.call(t,s,...o);for(let u=0;u<a.length;u++)if(a[u].unicode===void 0){let l=r.shift(),f=n(l);if(f!==t){let d=f.charToGlyph(l),b=t.unitsPerEm/f.unitsPerEm,h=new Cr.default.Path;h.unitsPerEm=t.unitsPerEm,h.commands=d.path.commands.map(g=>{let w={...g};for(let v in w)typeof w[v]=="number"&&(w[v]*=b);return w});let p=new Cr.default.Glyph({...d,advanceWidth:d.advanceWidth*b,xMin:d.xMin*b,xMax:d.xMax*b,yMin:d.yMin*b,yMax:d.yMax*b,path:h});a[u]=p}}return a},()=>{t.stringToGlyphs=i,t._trackBrokenChars=void 0}}measure(t,n,{fontSize:r,letterSpacing:i=0}){let s=t(n),o=this.patchFontFallbackResolver(s,t);try{return s.getAdvanceWidth(n,r,{letterSpacing:i/r})}finally{o()}}getSVG(t,n,{fontSize:r,top:i,left:s,letterSpacing:o=0}){let a=t(n),u=this.patchFontFallbackResolver(a,t);try{return r===0?"":a.getPath(n.replace(/\n/g,""),s,i,r,{letterSpacing:o/r}).toPathData(1)}finally{u()}}};function of(e){let t=e.split("_"),n=t[t.length-1];return n===Ss?void 0:n}c();function Rn({width:e,height:t,content:n}){return A("svg",{width:e,height:t,viewBox:`0 0 ${e} ${t}`,xmlns:"http://www.w3.org/2000/svg"},n)}c();c();var rl=Je(Cu());c();c();c();c();var j0=["ios","android","windows","macos","web"];function Mu(e){return j0.includes(e)}var H0=["portrait","landscape"];function Fu(e){return H0.includes(e)}var Du;(function(e){e.fontSize="fontSize",e.lineHeight="lineHeight"})(Du||(Du={}));var H;(function(e){e.rem="rem",e.em="em",e.px="px",e.percent="%",e.vw="vw",e.vh="vh",e.none="<no-css-unit>"})(H||(H={}));function io(e){return typeof e=="string"}function oo(e){return typeof e=="object"}var so;function m(e){return{kind:"complete",style:e}}function ie(e,t={}){let{fractions:n}=t;if(n&&e.includes("/")){let[s="",o=""]=e.split("/",2),a=ie(s),u=ie(o);return!a||!u?null:[a[0]/u[0],u[1]]}let r=parseFloat(e);if(Number.isNaN(r))return null;let i=e.match(/(([a-z]{2,}|%))$/);if(!i)return[r,H.none];switch(i==null?void 0:i[1]){case"rem":return[r,H.rem];case"px":return[r,H.px];case"em":return[r,H.em];case"%":return[r,H.percent];case"vw":return[r,H.vw];case"vh":return[r,H.vh];default:return null}}function We(e,t,n={}){let r=Le(t,n);return r===null?null:m({[e]:r})}function Kr(e,t,n){let r=Le(t);return r!==null&&(n[e]=r),n}function Wu(e,t){let n=Le(t);return n===null?null:{[e]:n}}function Le(e,t={}){if(e===void 0)return null;let n=ie(String(e),t);return n?Ye(...n,t):null}function Ye(e,t,n={}){let{isNegative:r,device:i}=n;switch(t){case H.rem:return e*16*(r?-1:1);case H.px:return e*(r?-1:1);case H.percent:return`${r?"-":""}${e}%`;case H.none:return e*(r?-1:1);case H.vw:return i!=null&&i.windowDimensions?i.windowDimensions.width*(e/100):(me("`vw` CSS unit requires configuration with `useDeviceContext()`"),null);case H.vh:return i!=null&&i.windowDimensions?i.windowDimensions.height*(e/100):(me("`vh` CSS unit requires configuration with `useDeviceContext()`"),null);default:return null}}function ao(e){let t=ie(e);if(!t)return null;let[n,r]=t;switch(r){case H.rem:return n*16;case H.px:return n;default:return null}}var V0={t:"Top",tr:"TopRight",tl:"TopLeft",b:"Bottom",br:"BottomRight",bl:"BottomLeft",l:"Left",r:"Right",x:"Horizontal",y:"Vertical"};function uo(e){return V0[e??""]||"All"}function lo(e){let t="All";return[e.replace(/^-(t|b|r|l|tr|tl|br|bl)(-|$)/,(r,i)=>(t=uo(i),"")),t]}function nt(e,t={}){if(e.includes("/")){let n=Nu(e,{...t,fractions:!0});if(n)return n}return e[0]==="["&&(e=e.slice(1,-1)),Nu(e,t)}function Ee(e,t,n={}){let r=nt(t,n);return r===null?null:m({[e]:r})}function Nu(e,t={}){if(e==="px")return 1;let n=ie(e,t);if(!n)return null;let[r,i]=n;return t.fractions&&(i=H.percent,r*=100),i===H.none&&(r=r/4,i=H.rem),Ye(r,i,t)}function Y0(...e){console.warn(...e)}function X0(...e){}var me=typeof process>"u"||((so=process==null?void 0:process.env)===null||so===void 0?void 0:so.JEST_WORKER_ID)===void 0?Y0:X0;var Q0=[["aspect-square",m({aspectRatio:1})],["aspect-video",m({aspectRatio:16/9})],["items-center",m({alignItems:"center"})],["items-start",m({alignItems:"flex-start"})],["items-end",m({alignItems:"flex-end"})],["items-baseline",m({alignItems:"baseline"})],["items-stretch",m({alignItems:"stretch"})],["justify-start",m({justifyContent:"flex-start"})],["justify-end",m({justifyContent:"flex-end"})],["justify-center",m({justifyContent:"center"})],["justify-between",m({justifyContent:"space-between"})],["justify-around",m({justifyContent:"space-around"})],["justify-evenly",m({justifyContent:"space-evenly"})],["content-start",m({alignContent:"flex-start"})],["content-end",m({alignContent:"flex-end"})],["content-between",m({alignContent:"space-between"})],["content-around",m({alignContent:"space-around"})],["content-stretch",m({alignContent:"stretch"})],["content-center",m({alignContent:"center"})],["self-auto",m({alignSelf:"auto"})],["self-start",m({alignSelf:"flex-start"})],["self-end",m({alignSelf:"flex-end"})],["self-center",m({alignSelf:"center"})],["self-stretch",m({alignSelf:"stretch"})],["self-baseline",m({alignSelf:"baseline"})],["direction-inherit",m({direction:"inherit"})],["direction-ltr",m({direction:"ltr"})],["direction-rtl",m({direction:"rtl"})],["hidden",m({display:"none"})],["flex",m({display:"flex"})],["flex-row",m({flexDirection:"row"})],["flex-row-reverse",m({flexDirection:"row-reverse"})],["flex-col",m({flexDirection:"column"})],["flex-col-reverse",m({flexDirection:"column-reverse"})],["flex-wrap",m({flexWrap:"wrap"})],["flex-wrap-reverse",m({flexWrap:"wrap-reverse"})],["flex-nowrap",m({flexWrap:"nowrap"})],["flex-auto",m({flexGrow:1,flexShrink:1,flexBasis:"auto"})],["flex-initial",m({flexGrow:0,flexShrink:1,flexBasis:"auto"})],["flex-none",m({flexGrow:0,flexShrink:0,flexBasis:"auto"})],["overflow-hidden",m({overflow:"hidden"})],["overflow-visible",m({overflow:"visible"})],["overflow-scroll",m({overflow:"scroll"})],["absolute",m({position:"absolute"})],["relative",m({position:"relative"})],["italic",m({fontStyle:"italic"})],["not-italic",m({fontStyle:"normal"})],["oldstyle-nums",ar("oldstyle-nums")],["small-caps",ar("small-caps")],["lining-nums",ar("lining-nums")],["tabular-nums",ar("tabular-nums")],["proportional-nums",ar("proportional-nums")],["font-thin",m({fontWeight:"100"})],["font-100",m({fontWeight:"100"})],["font-extralight",m({fontWeight:"200"})],["font-200",m({fontWeight:"200"})],["font-light",m({fontWeight:"300"})],["font-300",m({fontWeight:"300"})],["font-normal",m({fontWeight:"normal"})],["font-400",m({fontWeight:"400"})],["font-medium",m({fontWeight:"500"})],["font-500",m({fontWeight:"500"})],["font-semibold",m({fontWeight:"600"})],["font-600",m({fontWeight:"600"})],["font-bold",m({fontWeight:"bold"})],["font-700",m({fontWeight:"700"})],["font-extrabold",m({fontWeight:"800"})],["font-800",m({fontWeight:"800"})],["font-black",m({fontWeight:"900"})],["font-900",m({fontWeight:"900"})],["include-font-padding",m({includeFontPadding:!0})],["remove-font-padding",m({includeFontPadding:!1})],["max-w-none",m({maxWidth:"99999%"})],["text-left",m({textAlign:"left"})],["text-center",m({textAlign:"center"})],["text-right",m({textAlign:"right"})],["text-justify",m({textAlign:"justify"})],["text-auto",m({textAlign:"auto"})],["underline",m({textDecorationLine:"underline"})],["line-through",m({textDecorationLine:"line-through"})],["no-underline",m({textDecorationLine:"none"})],["uppercase",m({textTransform:"uppercase"})],["lowercase",m({textTransform:"lowercase"})],["capitalize",m({textTransform:"capitalize"})],["normal-case",m({textTransform:"none"})],["w-auto",m({width:"auto"})],["h-auto",m({height:"auto"})],["shadow-sm",m({shadowOffset:{width:1,height:1},shadowColor:"#000",shadowRadius:1,shadowOpacity:.025,elevation:1})],["shadow",m({shadowOffset:{width:1,height:1},shadowColor:"#000",shadowRadius:1,shadowOpacity:.075,elevation:2})],["shadow-md",m({shadowOffset:{width:1,height:1},shadowColor:"#000",shadowRadius:3,shadowOpacity:.125,elevation:3})],["shadow-lg",m({shadowOffset:{width:1,height:1},shadowColor:"#000",shadowOpacity:.15,shadowRadius:8,elevation:8})],["shadow-xl",m({shadowOffset:{width:1,height:1},shadowColor:"#000",shadowOpacity:.19,shadowRadius:20,elevation:12})],["shadow-2xl",m({shadowOffset:{width:1,height:1},shadowColor:"#000",shadowOpacity:.25,shadowRadius:30,elevation:16})],["shadow-none",m({shadowOffset:{width:0,height:0},shadowColor:"#000",shadowRadius:0,shadowOpacity:0,elevation:0})]],fo=Q0;function ar(e){return{kind:"dependent",complete(t){(!t.fontVariant||!Array.isArray(t.fontVariant))&&(t.fontVariant=[]),t.fontVariant.push(e)}}}var ur=class{constructor(t){this.ir=new Map(fo),this.styles=new Map,this.prefixes=new Map,this.ir=new Map([...fo,...t??[]])}getStyle(t){return this.styles.get(t)}setStyle(t,n){this.styles.set(t,n)}getIr(t){return this.ir.get(t)}setIr(t,n){this.ir.set(t,n)}getPrefixMatch(t){return this.prefixes.get(t)}setPrefixMatch(t,n){this.prefixes.set(t,n)}};c();c();function co(e,t,n={}){let r=t==null?void 0:t[e];if(!r)return Ee("fontSize",e,n);if(typeof r=="string")return We("fontSize",r);let i={},[s,o]=r,a=Wu("fontSize",s);if(a&&(i=a),typeof o=="string")return m(Kr("lineHeight",qu(o,i),i));let{lineHeight:u,letterSpacing:l}=o;return u&&Kr("lineHeight",qu(u,i),i),l&&Kr("letterSpacing",l,i),m(i)}function qu(e,t){let n=ie(e);if(n){let[r,i]=n;if((i===H.none||i===H.em)&&typeof t.fontSize=="number")return t.fontSize*r}return e}c();function po(e,t){var n;let r=(n=t==null?void 0:t[e])!==null&&n!==void 0?n:e.startsWith("[")?e.slice(1,-1):e,i=ie(r);if(!i)return null;let[s,o]=i;if(o===H.none)return{kind:"dependent",complete(u){if(typeof u.fontSize!="number")return"relative line-height utilities require that font-size be set";u.lineHeight=u.fontSize*s}};let a=Ye(s,o);return a!==null?m({lineHeight:a}):null}c();function ho(e,t,n,r,i){let s="";if(r[0]==="[")s=r.slice(1,-1);else{let l=i==null?void 0:i[r];if(l)s=l;else{let f=nt(r);return f&&typeof f=="number"?$u(f,H.px,t,e):null}}if(s==="auto")return Bu(t,e,"auto");let o=ie(s);if(!o)return null;let[a,u]=o;return n&&(a=-a),$u(a,u,t,e)}function $u(e,t,n,r){let i=Ye(e,t);return i===null?null:Bu(n,r,i)}function Bu(e,t,n){switch(e){case"All":return{kind:"complete",style:{[`${t}Top`]:n,[`${t}Right`]:n,[`${t}Bottom`]:n,[`${t}Left`]:n}};case"Bottom":case"Top":case"Left":case"Right":return{kind:"complete",style:{[`${t}${e}`]:n}};case"Vertical":return{kind:"complete",style:{[`${t}Top`]:n,[`${t}Bottom`]:n}};case"Horizontal":return{kind:"complete",style:{[`${t}Left`]:n,[`${t}Right`]:n}};default:return null}}c();function mo(e){if(!e)return{};let t=Object.entries(e).reduce((i,[s,o])=>{let a=[0,1/0,0],u=typeof o=="string"?{min:o}:o,l=u.min?ao(u.min):0;l===null?me(`invalid screen config value: ${s}->min: ${u.min}`):a[0]=l;let f=u.max?ao(u.max):1/0;return f===null?me(`invalid screen config value: ${s}->max: ${u.max}`):a[1]=f,i[s]=a,i},{}),n=Object.values(t);n.sort((i,s)=>{let[o,a]=i,[u,l]=s;return a===1/0||l===1/0?o-u:a-l});let r=0;return n.forEach(i=>i[2]=r++),t}c();function go(e,t){let n=t==null?void 0:t[e];if(!n)return null;if(typeof n=="string")return m({fontFamily:n});let r=n[0];return r?m({fontFamily:r}):null}c();function it(e,t,n){if(!n)return null;let r;t.includes("/")&&([t="",r]=t.split("/",2));let i="";if(t.startsWith("[#")||t.startsWith("[rgb")?i=t.slice(1,-1):i=zu(t,n),!i)return null;if(r){let s=Number(r);if(!Number.isNaN(s))return i=Uu(i,s/100),m({[Jr[e].color]:i})}return{kind:"dependent",complete(s){let o=Jr[e].opacity,a=s[o];typeof a=="number"&&(i=Uu(i,a)),s[Jr[e].color]=i}}}function lr(e,t){let n=parseInt(t,10);if(Number.isNaN(n))return null;let r=n/100,i={[Jr[e].opacity]:r};return{kind:"complete",style:i}}function Uu(e,t){return e.startsWith("#")?e=K0(e):e.startsWith("rgb(")&&(e=e.replace(/^rgb\(/,"rgba(").replace(/\)$/,", 1)")),e.replace(/, ?\d*\.?(\d+)\)$/,`, ${t})`)}function Gu(e){for(let t in e)t.startsWith("__opacity_")&&delete e[t]}var Jr={bg:{opacity:"__opacity_bg",color:"backgroundColor"},text:{opacity:"__opacity_text",color:"color"},border:{opacity:"__opacity_border",color:"borderColor"},borderTop:{opacity:"__opacity_border",color:"borderTopColor"},borderBottom:{opacity:"__opacity_border",color:"borderBottomColor"},borderLeft:{opacity:"__opacity_border",color:"borderLeftColor"},borderRight:{opacity:"__opacity_border",color:"borderRightColor"},shadow:{opacity:"__opacity_shadow",color:"shadowColor"},tint:{opacity:"__opacity_tint",color:"tintColor"}};function K0(e){let t=e;e=e.replace(J0,(o,a,u,l)=>a+a+u+u+l+l);let n=Z0.exec(e);if(!n)return me(`invalid config hex color value: ${t}`),"rgba(0, 0, 0, 1)";let r=parseInt(n[1],16),i=parseInt(n[2],16),s=parseInt(n[3],16);return`rgba(${r}, ${i}, ${s}, 1)`}function zu(e,t){let n=t[e];if(io(n))return n;if(oo(n)&&io(n.DEFAULT))return n.DEFAULT;let[r="",...i]=e.split("-");for(;r!==e;){let s=t[r];if(oo(s))return zu(i.join("-"),s);if(i.length===0)return"";r=`${r}-${i.shift()}`}return""}var J0=/^#?([a-f\d])([a-f\d])([a-f\d])$/i,Z0=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i;c();function Hu(e,t){let[n,r]=lo(e);if(n.match(/^(-?(\d)+)?$/))return em(n,r,t==null?void 0:t.borderWidth);if(n=n.replace(/^-/,""),["dashed","solid","dotted"].includes(n))return m({borderStyle:n});let s="border";switch(r){case"Bottom":s="borderBottom";break;case"Top":s="borderTop";break;case"Left":s="borderLeft";break;case"Right":s="borderRight";break}let o=it(s,n,t==null?void 0:t.borderColor);if(o)return o;let a=`border${r==="All"?"":r}Width`;n=n.replace(/^-/,"");let u=n.slice(1,-1),l=Ee(a,u);return typeof(l==null?void 0:l.style[a])!="number"?null:l}function em(e,t,n){if(!n)return null;e=e.replace(/^-/,"");let i=n[e===""?"DEFAULT":e];if(i===void 0)return null;let s=`border${t==="All"?"":t}Width`;return We(s,i)}function Vu(e,t){if(!t)return null;let[n,r]=lo(e);n=n.replace(/^-/,""),n===""&&(n="DEFAULT");let i=`border${r==="All"?"":r}Radius`,s=t[n];if(s)return ju(We(i,s));let o=Ee(i,n);return typeof(o==null?void 0:o.style[i])!="number"?null:ju(o)}function ju(e){if((e==null?void 0:e.kind)!=="complete")return e;let t=e.style.borderTopRadius;t!==void 0&&(e.style.borderTopLeftRadius=t,e.style.borderTopRightRadius=t,delete e.style.borderTopRadius);let n=e.style.borderBottomRadius;n!==void 0&&(e.style.borderBottomLeftRadius=n,e.style.borderBottomRightRadius=n,delete e.style.borderBottomRadius);let r=e.style.borderLeftRadius;r!==void 0&&(e.style.borderBottomLeftRadius=r,e.style.borderTopLeftRadius=r,delete e.style.borderLeftRadius);let i=e.style.borderRightRadius;return i!==void 0&&(e.style.borderBottomRightRadius=i,e.style.borderTopRightRadius=i,delete e.style.borderRightRadius),e}c();function mt(e,t,n,r){let i=null;e==="inset"&&(t=t.replace(/^(x|y)-/,(a,u)=>(i=u==="x"?"x":"y","")));let s=r==null?void 0:r[t];if(s){let a=Le(s,{isNegative:n});if(a!==null)return Yu(e,i,a)}let o=nt(t,{isNegative:n});return o!==null?Yu(e,i,o):null}function Yu(e,t,n){if(e!=="inset")return m({[e]:n});switch(t){case null:return m({top:n,left:n,right:n,bottom:n});case"y":return m({top:n,bottom:n});case"x":return m({left:n,right:n})}}c();function fr(e,t,n){var r;t=t.replace(/^-/,"");let i=t===""?"DEFAULT":t,s=Number((r=n==null?void 0:n[i])!==null&&r!==void 0?r:t);return Number.isNaN(s)?null:m({[`flex${e}`]:s})}function Xu(e,t){var n,r;if(e=(t==null?void 0:t[e])||e,["min-content","revert","unset"].includes(e))return null;if(e.match(/^\d+(\.\d+)?$/))return m({flexGrow:Number(e),flexBasis:"0%"});let i=e.match(/^(\d+)\s+(\d+)$/);if(i)return m({flexGrow:Number(i[1]),flexShrink:Number(i[2])});if(i=e.match(/^(\d+)\s+([^ ]+)$/),i){let s=Le((n=i[2])!==null&&n!==void 0?n:"");return s?m({flexGrow:Number(i[1]),flexBasis:s}):null}if(i=e.match(/^(\d+)\s+(\d+)\s+(.+)$/),i){let s=Le((r=i[3])!==null&&r!==void 0?r:"");return s?m({flexGrow:Number(i[1]),flexShrink:Number(i[2]),flexBasis:s}):null}return null}c();function vo(e,t,n={},r){let i=r==null?void 0:r[t];return i!==void 0?We(e,i,n):Ee(e,t,n)}function cr(e,t,n={},r){let i=Le(r==null?void 0:r[t],n);return i?m({[e]:i}):(t==="screen"&&(t=e.includes("Width")?"100vw":"100vh"),Ee(e,t,n))}c();function Qu(e,t,n){let r=n==null?void 0:n[e];if(r){let i=ie(r,{isNegative:t});if(!i)return null;let[s,o]=i;if(o===H.em)return tm(s);if(o===H.percent)return me("percentage-based letter-spacing configuration currently unsupported, switch to `em`s, or open an issue if you'd like to see support added."),null;let a=Ye(s,o,{isNegative:t});return a!==null?m({letterSpacing:a}):null}return Ee("letterSpacing",e,{isNegative:t})}function tm(e){return{kind:"dependent",complete(t){let n=t.fontSize;if(typeof n!="number"||Number.isNaN(n))return"tracking-X relative letter spacing classes require font-size to be set";t.letterSpacing=Math.round((e*n+Number.EPSILON)*100)/100}}}c();function Ku(e,t){let n=t==null?void 0:t[e];if(n){let i=ie(String(n));if(i)return m({opacity:i[0]})}let r=ie(e);return r?m({opacity:r[0]/100}):null}c();function Ju(e){let t=parseInt(e,10);return Number.isNaN(t)?null:{kind:"complete",style:{shadowOpacity:t/100}}}function Zu(e){if(e.includes("/")){let[n="",r=""]=e.split("/",2),i=bo(n),s=bo(r);return i===null||s===null?null:{kind:"complete",style:{shadowOffset:{width:i,height:s}}}}let t=bo(e);return t===null?null:{kind:"complete",style:{shadowOffset:{width:t,height:t}}}}function bo(e){let t=nt(e);return typeof t=="number"?t:null}var gt=class{constructor(t,n={},r,i,s){var o,a,u,l,f,d;this.config=n,this.cache=r,this.position=0,this.isNull=!1,this.isNegative=!1,this.context={},this.context.device=i;let b=t.trim().split(":"),h=[];b.length===1?this.string=t:(this.string=(o=b.pop())!==null&&o!==void 0?o:"",h=b),this.char=this.string[0];let p=mo((a=this.config.theme)===null||a===void 0?void 0:a.screens);for(let g of h)if(p[g]){let w=(u=p[g])===null||u===void 0?void 0:u[2];w!==void 0&&(this.order=((l=this.order)!==null&&l!==void 0?l:0)+w);let v=(f=i.windowDimensions)===null||f===void 0?void 0:f.width;if(v){let[y,_]=(d=p[g])!==null&&d!==void 0?d:[0,0];(v<=y||v>_)&&(this.isNull=!0)}else this.isNull=!0}else Mu(g)?this.isNull=g!==s:Fu(g)?i.windowDimensions?(i.windowDimensions.width>i.windowDimensions.height?"landscape":"portrait")!==g?this.isNull=!0:this.incrementOrder():this.isNull=!0:g==="retina"?i.pixelDensity===2?this.incrementOrder():this.isNull=!0:g==="dark"?i.colorScheme!=="dark"?this.isNull=!0:this.incrementOrder():this.handlePossibleArbitraryBreakpointPrefix(g)||(this.isNull=!0)}parse(){if(this.isNull)return{kind:"null"};let t=this.cache.getIr(this.rest);if(t)return t;this.parseIsNegative();let n=this.parseUtility();return n?this.order!==void 0?{kind:"ordered",order:this.order,styleIr:n}:n:{kind:"null"}}parseUtility(){var t,n,r,i,s;let o=this.config.theme,a=null;switch(this.char){case"m":case"p":{let u=this.peekSlice(1,3).match(/^(t|b|r|l|x|y)?-/);if(u){let l=this.char==="m"?"margin":"padding";this.advance(((n=(t=u[0])===null||t===void 0?void 0:t.length)!==null&&n!==void 0?n:0)+1);let f=uo(u[1]),d=ho(l,f,this.isNegative,this.rest,(r=this.config.theme)===null||r===void 0?void 0:r[l]);if(d)return d}}}if(this.consumePeeked("h-")&&(a=vo("height",this.rest,this.context,o==null?void 0:o.height),a)||this.consumePeeked("w-")&&(a=vo("width",this.rest,this.context,o==null?void 0:o.width),a)||this.consumePeeked("min-w-")&&(a=cr("minWidth",this.rest,this.context,o==null?void 0:o.minWidth),a)||this.consumePeeked("min-h-")&&(a=cr("minHeight",this.rest,this.context,o==null?void 0:o.minHeight),a)||this.consumePeeked("max-w-")&&(a=cr("maxWidth",this.rest,this.context,o==null?void 0:o.maxWidth),a)||this.consumePeeked("max-h-")&&(a=cr("maxHeight",this.rest,this.context,o==null?void 0:o.maxHeight),a)||this.consumePeeked("leading-")&&(a=po(this.rest,o==null?void 0:o.lineHeight),a)||this.consumePeeked("text-")&&(a=co(this.rest,o==null?void 0:o.fontSize,this.context),a||(a=it("text",this.rest,o==null?void 0:o.textColor),a)||this.consumePeeked("opacity-")&&(a=lr("text",this.rest),a))||this.consumePeeked("font-")&&(a=go(this.rest,o==null?void 0:o.fontFamily),a)||this.consumePeeked("aspect-")&&(this.consumePeeked("ratio-")&&me("`aspect-ratio-{ratio}` is deprecated, use `aspect-{ratio}` instead"),a=We("aspectRatio",this.rest,{fractions:!0}),a)||this.consumePeeked("tint-")&&(a=it("tint",this.rest,o==null?void 0:o.colors),a)||this.consumePeeked("bg-")&&(a=it("bg",this.rest,o==null?void 0:o.backgroundColor),a||this.consumePeeked("opacity-")&&(a=lr("bg",this.rest),a))||this.consumePeeked("border")&&(a=Hu(this.rest,o),a||this.consumePeeked("-opacity-")&&(a=lr("border",this.rest),a))||this.consumePeeked("rounded")&&(a=Vu(this.rest,o==null?void 0:o.borderRadius),a)||this.consumePeeked("bottom-")&&(a=mt("bottom",this.rest,this.isNegative,o==null?void 0:o.inset),a)||this.consumePeeked("top-")&&(a=mt("top",this.rest,this.isNegative,o==null?void 0:o.inset),a)||this.consumePeeked("left-")&&(a=mt("left",this.rest,this.isNegative,o==null?void 0:o.inset),a)||this.consumePeeked("right-")&&(a=mt("right",this.rest,this.isNegative,o==null?void 0:o.inset),a)||this.consumePeeked("inset-")&&(a=mt("inset",this.rest,this.isNegative,o==null?void 0:o.inset),a)||this.consumePeeked("flex-")&&(this.consumePeeked("grow")?a=fr("Grow",this.rest,o==null?void 0:o.flexGrow):this.consumePeeked("shrink")?a=fr("Shrink",this.rest,o==null?void 0:o.flexShrink):a=Xu(this.rest,o==null?void 0:o.flex),a)||this.consumePeeked("grow")&&(a=fr("Grow",this.rest,o==null?void 0:o.flexGrow),a)||this.consumePeeked("shrink")&&(a=fr("Shrink",this.rest,o==null?void 0:o.flexShrink),a)||this.consumePeeked("shadow-color-opacity-")&&(a=lr("shadow",this.rest),a)||this.consumePeeked("shadow-opacity-")&&(a=Ju(this.rest),a)||this.consumePeeked("shadow-offset-")&&(a=Zu(this.rest),a)||this.consumePeeked("shadow-radius-")&&(a=Ee("shadowRadius",this.rest),a)||this.consumePeeked("shadow-")&&(a=it("shadow",this.rest,o==null?void 0:o.colors),a))return a;if(this.consumePeeked("elevation-")){let u=parseInt(this.rest,10);if(!Number.isNaN(u))return m({elevation:u})}if(this.consumePeeked("opacity-")&&(a=Ku(this.rest,o==null?void 0:o.opacity),a)||this.consumePeeked("tracking-")&&(a=Qu(this.rest,this.isNegative,o==null?void 0:o.letterSpacing),a))return a;if(this.consumePeeked("z-")){let u=Number((s=(i=o==null?void 0:o.zIndex)===null||i===void 0?void 0:i[this.rest])!==null&&s!==void 0?s:this.rest);if(!Number.isNaN(u))return m({zIndex:u})}return me(`\`${this.rest}\` unknown or invalid utility`),null}handlePossibleArbitraryBreakpointPrefix(t){var n;if(t[0]!=="m")return!1;let r=t.match(/^(min|max)-(w|h)-\[([^\]]+)\]$/);if(!r)return!1;if(!(!((n=this.context.device)===null||n===void 0)&&n.windowDimensions))return this.isNull=!0,!0;let i=this.context.device.windowDimensions,[,s="",o="",a=""]=r,u=o==="w"?i.width:i.height,l=ie(a,this.context);if(l===null)return this.isNull=!0,!0;let[f,d]=l;return d!=="px"&&(this.isNull=!0),(s==="min"?u>=f:u<=f)?this.incrementOrder():this.isNull=!0,!0}advance(t=1){this.position+=t,this.char=this.string[this.position]}get rest(){return this.peekSlice(0,this.string.length)}peekSlice(t,n){return this.string.slice(this.position+t,this.position+n)}consumePeeked(t){return this.peekSlice(0,t.length)===t?(this.advance(t.length),!0):!1}parseIsNegative(){this.char==="-"&&(this.advance(),this.isNegative=!0,this.context.isNegative=!0)}incrementOrder(){var t;this.order=((t=this.order)!==null&&t!==void 0?t:0)+1}};c();function el(e){let t=[],n=null;return e.forEach(r=>{if(typeof r=="string")t=[...t,...yo(r)];else if(Array.isArray(r))t=[...t,...r.flatMap(yo)];else if(typeof r=="object"&&r!==null)for(let[i,s]of Object.entries(r))typeof s=="boolean"?t=[...t,...s?yo(i):[]]:n?n[i]=s:n={[i]:s}}),[t.filter(Boolean).filter(rm),n]}function yo(e){return e.trim().split(/\s+/)}function rm(e,t,n){return n.indexOf(e)===t}c();function tl(e){var t;return(t=e==null?void 0:e.reduce((n,r)=>({...n,...nm(r.handler)}),{}))!==null&&t!==void 0?t:{}}function nm(e){let t={};return e({addUtilities:n=>{t=n},...im}),t}function Re(e){throw new Error(`tailwindcss plugin function argument object prop "${e}" not implemented`)}var im={addComponents:Re,addBase:Re,addVariant:Re,e:Re,prefix:Re,theme:Re,variants:Re,config:Re,corePlugins:Re,matchUtilities:Re,postcss:null};function nl(e,t){let n=(0,rl.default)(om(e)),r={},i=tl(n.plugins),s={},o=Object.entries(i).map(([p,g])=>typeof g=="string"?(s[p]=g,[p,{kind:"null"}]):[p,m(g)]).filter(([,p])=>p.kind!=="null");function a(){return[r.windowDimensions?`w${r.windowDimensions.width}`:!1,r.windowDimensions?`h${r.windowDimensions.height}`:!1,r.fontScale?`fs${r.fontScale}`:!1,r.colorScheme==="dark"?"dark":!1,r.pixelDensity===2?"retina":!1].filter(Boolean).join("--")||"default"}let u=a(),l={};function f(){let p=l[u];if(p)return p;let g=new ur(o);return l[u]=g,g}function d(...p){let g=f(),w={},v=[],y=[],[_,E]=el(p),k=_.join(" "),D=g.getStyle(k);if(D)return{...D,...E||{}};for(let R of _){let M=g.getIr(R);if(!M&&R in s){let G=d(s[R]);g.setIr(R,m(G)),w={...w,...G};continue}switch(M=new gt(R,n,g,r,t).parse(),M.kind){case"complete":w={...w,...M.style},g.setIr(R,M);break;case"dependent":v.push(M);break;case"ordered":y.push(M);break;case"null":g.setIr(R,M);break}}if(y.length>0){y.sort((R,M)=>R.order-M.order);for(let R of y)switch(R.styleIr.kind){case"complete":w={...w,...R.styleIr.style};break;case"dependent":v.push(R.styleIr);break}}if(v.length>0){for(let R of v){let M=R.complete(w);M&&me(M)}Gu(w)}return k!==""&&g.setStyle(k,w),E&&(w={...w,...E}),w}function b(p){let g=d(p.split(/\s+/g).map(w=>w.replace(/^(bg|text|border)-/,"")).map(w=>`bg-${w}`).join(" "));return typeof g.backgroundColor=="string"?g.backgroundColor:void 0}let h=(p,...g)=>{let w="";return p.forEach((v,y)=>{var _;w+=v+((_=g[y])!==null&&_!==void 0?_:"")}),d(w)};return h.style=d,h.color=b,h.prefixMatch=(...p)=>{let g=p.sort().join(":"),w=f(),v=w.getPrefixMatch(g);if(v!==void 0)return v;let E=new gt(`${g}:flex`,n,w,r,t).parse().kind!=="null";return w.setPrefixMatch(g,E),E},h.setWindowDimensions=p=>{r.windowDimensions=p,u=a()},h.setFontScale=p=>{r.fontScale=p,u=a()},h.setPixelDensity=p=>{r.pixelDensity=p,u=a()},h.setColorScheme=p=>{r.colorScheme=p,u=a()},h}function om(e){return{...e,content:["_no_warnings_please"]}}var am={handler:({addUtilities:e})=>{e({"shadow-sm":{boxShadow:"0 1px 2px 0 rgb(0 0 0 / 0.05)"},shadow:{boxShadow:"0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)"},"shadow-md":{boxShadow:"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)"},"shadow-lg":{boxShadow:"0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)"},"shadow-xl":{boxShadow:"0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)"},"shadow-2xl":{boxShadow:"0 25px 50px -12px rgb(0 0 0 / 0.25)"},"shadow-inner":{boxShadow:"inset 0 2px 4px 0 rgb(0 0 0 / 0.05)"},"shadow-none":{boxShadow:"0 0 #0000"}})}};function um(e){return nl({...e,plugins:[...(e==null?void 0:e.plugins)??[],am]},"web")}var Zr;function xo({width:e,height:t,config:n}){return Zr||(Zr=um(n)),Zr.setWindowDimensions({width:+e,height:+t}),Zr}var wo=new WeakMap;async function _o(e,t){let n=await Me();if(!n||!n.Node)throw new Error("Satori is not initialized: expect `yoga` to be loaded, got "+n);t.fonts=t.fonts||[];let r;wo.has(t.fonts)?r=wo.get(t.fonts):wo.set(t.fonts,r=new It(t.fonts));let i="width"in t?t.width:void 0,s="height"in t?t.height:void 0,o=n.Node.create();i&&o.setWidth(i),s&&o.setHeight(s),o.setFlexDirection(n.FLEX_DIRECTION_ROW),o.setFlexWrap(n.WRAP_WRAP),o.setAlignContent(n.ALIGN_AUTO),o.setAlignItems(n.ALIGN_FLEX_START),o.setJustifyContent(n.JUSTIFY_FLEX_START),o.setOverflow(n.OVERFLOW_HIDDEN);let a={...t.graphemeImages},u=new Set,l=At(e,{id:"id",parentStyle:{},inheritedStyle:{fontSize:16,fontWeight:"normal",fontFamily:"serif",fontStyle:"normal",lineHeight:1.2,color:"black",opacity:1,whiteSpace:"normal",_viewportWidth:i,_viewportHeight:s},parent:o,font:r,embedFont:t.embedFont,debug:t.debug,graphemeImages:a,canLoadAdditionalAssets:!!t.loadAdditionalAsset,getTwStyles:(p,g)=>{let v={...xo({width:i,height:s,config:t.tailwindConfig})([p])};return typeof v.lineHeight=="number"&&(v.lineHeight=v.lineHeight/(+v.fontSize||g.fontSize||16)),v.shadowColor&&v.boxShadow&&(v.boxShadow=v.boxShadow.replace(/rgba?\([^)]+\)/,v.shadowColor)),v}}),f=(await l.next()).value;if(t.loadAdditionalAsset&&f.length){let p=lm(f),g=[],w={};await Promise.all(Object.entries(p).flatMap(([v,y])=>y.map(_=>{let E=`${v}_${_}`;return u.has(E)?null:(u.add(E),t.loadAdditionalAsset(v,_).then(k=>{typeof k=="string"?w[_]=k:k&&(Array.isArray(k)?g.push(...k):g.push(k))}))}))),r.addFonts(g),Object.assign(a,w)}await l.next(),o.calculateLayout(i,s,n.DIRECTION_LTR);let d=(await l.next([0,0])).value,b=o.getComputedWidth(),h=o.getComputedHeight();return o.freeRecursive(),Rn({width:b,height:h,content:d})}function lm(e){let t={},n={};for(let{word:r,locale:i}of e){let s=ws(r,i).join("|");n[s]=n[s]||"",n[s]+=r}return Object.keys(n).forEach(r=>{t[r]=t[r]||[],r==="emoji"?t[r].push(...il(ce(n[r],"grapheme"))):(t[r][0]=t[r][0]||"",t[r][0]+=il(ce(n[r],"grapheme",r==="unknown"?void 0:r)).join(""))}),t}function il(e){return Array.from(new Set(e))}0&&(module.exports={init});
7
7
  //# sourceMappingURL=index.cjs.map