satori 0.6.0 → 0.7.0

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 fl=Object.create;var yr=Object.defineProperty;var cl=Object.getOwnPropertyDescriptor;var dl=Object.getOwnPropertyNames;var pl=Object.getPrototypeOf,hl=Object.prototype.hasOwnProperty;var xr=(e,t)=>()=>(e&&(t=e(e=0)),t);var R=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),wr=(e,t)=>{for(var n in t)yr(e,n,{get:t[n],enumerable:!0})},Ro=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of dl(t))!hl.call(e,i)&&i!==n&&yr(e,i,{get:()=>t[i],enumerable:!(r=cl(t,i))||r.enumerable});return e};var tt=(e,t,n)=>(n=e!=null?fl(pl(e)):{},Ro(t||!e||!e.__esModule?yr(n,"default",{value:e,enumerable:!0}):n,e)),_t=e=>Ro(yr({},"__esModule",{value:!0}),e);var c=xr(()=>{});var Lo={};wr(Lo,{getYogaModule:()=>ml});async function ml(){let{default:e}=await import("yoga-wasm-web/asm");return e()}var Co=xr(()=>{c()});var Dn=R(Cn=>{"use strict";c();Object.defineProperty(Cn,"__esModule",{value:!0});Object.defineProperty(Cn,"default",{enumerable:!0,get:()=>lf});function lf(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 Ts=R(Mn=>{"use strict";c();Object.defineProperty(Mn,"__esModule",{value:!0});Object.defineProperty(Mn,"default",{enumerable:!0,get:()=>ff});var ff=["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 Es=R(Nn=>{"use strict";c();Object.defineProperty(Nn,"__esModule",{value:!0});Object.defineProperty(Nn,"default",{enumerable:!0,get:()=>cf});function cf(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 Fn=R((qg,Os)=>{c();Os.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 Nr={};wr(Nr,{default:()=>df});var df,Fr=xr(()=>{c();df={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 Ps=R(Wn=>{"use strict";c();Object.defineProperty(Wn,"__esModule",{value:!0});Object.defineProperty(Wn,"default",{enumerable:!0,get:()=>mf});var pf=hf((Fr(),_t(Nr)));function hf(e){return e&&e.__esModule?e:{default:e}}function Ct({version:e,from:t,to:n}){pf.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 mf={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 Ct({version:"v2.2",from:"lightBlue",to:"sky"}),this.sky},get warmGray(){return Ct({version:"v3.0",from:"warmGray",to:"stone"}),this.stone},get trueGray(){return Ct({version:"v3.0",from:"trueGray",to:"neutral"}),this.neutral},get coolGray(){return Ct({version:"v3.0",from:"coolGray",to:"gray"}),this.gray},get blueGray(){return Ct({version:"v3.0",from:"blueGray",to:"slate"}),this.slate}}});var As=R($n=>{"use strict";c();Object.defineProperty($n,"__esModule",{value:!0});Object.defineProperty($n,"defaults",{enumerable:!0,get:()=>gf});function gf(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 Is=R(qn=>{"use strict";c();Object.defineProperty(qn,"__esModule",{value:!0});Object.defineProperty(qn,"toPath",{enumerable:!0,get:()=>vf});function vf(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=R(Bn=>{"use strict";c();Object.defineProperty(Bn,"__esModule",{value:!0});Object.defineProperty(Bn,"normalizeConfig",{enumerable:!0,get:()=>yf});var Dt=bf((Fr(),_t(Nr)));function Rs(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,n=new WeakMap;return(Rs=function(r){return r?n:t})(e)}function bf(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var n=Rs(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 yf(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})()||Dt.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")Dt.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,g,h,p,m;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:!((g=e.purge)===null||g===void 0||(h=g.options)===null||h===void 0)&&h.extractors?e.purge.options.extractors:!((p=e.content)===null||p===void 0||(m=p.options)===null||m===void 0)&&m.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)){Dt.default.warn("invalid-glob-braces",[`The glob pattern ${(0,Dt.dim)(r)} in your Tailwind CSS configuration is invalid.`,`Update it to ${(0,Dt.dim)(r.replace(/{([^,]*?)}/g,"$1"))} to silence this warning.`]);break}return e}});var Cs=R(Un=>{"use strict";c();Object.defineProperty(Un,"__esModule",{value:!0});Object.defineProperty(Un,"default",{enumerable:!0,get:()=>xf});function xf(e){if(Object.prototype.toString.call(e)!=="[object Object]")return!1;let t=Object.getPrototypeOf(e);return t===null||t===Object.prototype}});var Ds=R(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=R((Wr,Ms)=>{"use strict";c();Wr.__esModule=!0;Wr.default=Sf;function wf(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 _f=/\\/;function Sf(e){var t=_f.test(e);if(!t)return e;for(var n="",r=0;r<e.length;r++){if(e[r]==="\\"){var i=wf(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}Ms.exports=Wr.default});var Fs=R(($r,Ns)=>{"use strict";c();$r.__esModule=!0;$r.default=kf;function kf(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}Ns.exports=$r.default});var $s=R((qr,Ws)=>{"use strict";c();qr.__esModule=!0;qr.default=Tf;function Tf(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]}}Ws.exports=qr.default});var Bs=R((Br,qs)=>{"use strict";c();Br.__esModule=!0;Br.default=Ef;function Ef(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=Br.default});var Mt=R(Le=>{"use strict";c();Le.__esModule=!0;Le.stripComments=Le.ensureObject=Le.getProp=Le.unesc=void 0;var Of=Ur(jn());Le.unesc=Of.default;var Pf=Ur(Fs());Le.getProp=Pf.default;var Af=Ur($s());Le.ensureObject=Af.default;var If=Ur(Bs());Le.stripComments=If.default;function Ur(e){return e&&e.__esModule?e:{default:e}}});var $e=R((Nt,zs)=>{"use strict";c();Nt.__esModule=!0;Nt.default=void 0;var Us=Mt();function Gs(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 Rf(e,t,n){return t&&Gs(e.prototype,t),n&&Gs(e,n),e}var Lf=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},Cf=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=Lf(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("")},Rf(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,Us.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,Us.ensureObject)(this,"raws","spaces"),this.raws.spaces.after=r}}]),e}();Nt.default=Cf;zs.exports=Nt.default});var fe=R(X=>{"use strict";c();X.__esModule=!0;X.UNIVERSAL=X.ATTRIBUTE=X.CLASS=X.COMBINATOR=X.COMMENT=X.ID=X.NESTING=X.PSEUDO=X.ROOT=X.SELECTOR=X.STRING=X.TAG=void 0;var Df="tag";X.TAG=Df;var Mf="string";X.STRING=Mf;var Nf="selector";X.SELECTOR=Nf;var Ff="root";X.ROOT=Ff;var Wf="pseudo";X.PSEUDO=Wf;var $f="nesting";X.NESTING=$f;var qf="id";X.ID=qf;var Bf="comment";X.COMMENT=Bf;var Uf="combinator";X.COMBINATOR=Uf;var Gf="class";X.CLASS=Gf;var zf="attribute";X.ATTRIBUTE=zf;var jf="universal";X.UNIVERSAL=jf});var Gr=R((Ft,Ys)=>{"use strict";c();Ft.__esModule=!0;Ft.default=void 0;var Hf=Yf($e()),qe=Vf(fe());function Vs(){if(typeof WeakMap!="function")return null;var e=new WeakMap;return Vs=function(){return e},e}function Vf(e){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=Vs();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 Yf(e){return e&&e.__esModule?e:{default:e}}function Xf(e,t){var n;if(typeof Symbol>"u"||e[Symbol.iterator]==null){if(Array.isArray(e)||(n=Qf(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 Qf(e,t){if(!!e){if(typeof e=="string")return js(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 js(e,t)}}function js(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 Hs(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 Kf(e,t,n){return t&&Hs(e.prototype,t),n&&Hs(e,n),e}function Jf(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 Zf=function(e){Jf(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=Xf(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===qe.ATTRIBUTE)return i.call(s,o)})},n.walkClasses=function(i){var s=this;return this.walk(function(o){if(o.type===qe.CLASS)return i.call(s,o)})},n.walkCombinators=function(i){var s=this;return this.walk(function(o){if(o.type===qe.COMBINATOR)return i.call(s,o)})},n.walkComments=function(i){var s=this;return this.walk(function(o){if(o.type===qe.COMMENT)return i.call(s,o)})},n.walkIds=function(i){var s=this;return this.walk(function(o){if(o.type===qe.ID)return i.call(s,o)})},n.walkNesting=function(i){var s=this;return this.walk(function(o){if(o.type===qe.NESTING)return i.call(s,o)})},n.walkPseudos=function(i){var s=this;return this.walk(function(o){if(o.type===qe.PSEUDO)return i.call(s,o)})},n.walkTags=function(i){var s=this;return this.walk(function(o){if(o.type===qe.TAG)return i.call(s,o)})},n.walkUniversals=function(i){var s=this;return this.walk(function(o){if(o.type===qe.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("")},Kf(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}(Hf.default);Ft.default=Zf;Ys.exports=Ft.default});var Yn=R((Wt,Qs)=>{"use strict";c();Wt.__esModule=!0;Wt.default=void 0;var ec=rc(Gr()),tc=fe();function rc(e){return e&&e.__esModule?e:{default:e}}function Xs(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 nc(e,t,n){return t&&Xs(e.prototype,t),n&&Xs(e,n),e}function ic(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 oc=function(e){ic(t,e);function t(r){var i;return i=e.call(this,r)||this,i.type=tc.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)},nc(t,[{key:"errorGenerator",set:function(i){this._error=i}}]),t}(ec.default);Wt.default=oc;Qs.exports=Wt.default});var Qn=R(($t,Ks)=>{"use strict";c();$t.__esModule=!0;$t.default=void 0;var sc=uc(Gr()),ac=fe();function uc(e){return e&&e.__esModule?e:{default:e}}function lc(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 fc=function(e){lc(t,e);function t(n){var r;return r=e.call(this,n)||this,r.type=ac.SELECTOR,r}return t}(sc.default);$t.default=fc;Ks.exports=$t.default});var zr=R((Xg,Js)=>{"use strict";c();var cc={},dc=cc.hasOwnProperty,pc=function(t,n){if(!t)return n;var r={};for(var i in n)r[i]=dc.call(t,i)?t[i]:n[i];return r},hc=/[ -,\.\/:-@\[-\^`\{-~]/,mc=/[ -,\.\/:-@\[\]\^`\{-~]/,gc=/(^|\\+)?(\\[A-F0-9]{1,6})\x20(?![a-fA-F0-9\x20])/g,Kn=function e(t,n){n=pc(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 g=t.charCodeAt(a++);(g&64512)==56320?f=((f&1023)<<10)+(g&1023)+65536:a--}d="\\"+f.toString(16).toUpperCase()+" "}else n.escapeEverything?hc.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&&mc.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(gc,function(h,p,m){return p&&p.length%2?h:(p||"")+m}),!i&&n.wrap?r+o+r:o};Kn.options={escapeEverything:!1,isIdentifier:!1,quotes:"single",wrap:!1};Kn.version="3.0.0";Js.exports=Kn});var Zn=R((qt,ta)=>{"use strict";c();qt.__esModule=!0;qt.default=void 0;var vc=ea(zr()),bc=Mt(),yc=ea($e()),xc=fe();function ea(e){return e&&e.__esModule?e:{default:e}}function Zs(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 wc(e,t,n){return t&&Zs(e.prototype,t),n&&Zs(e,n),e}function _c(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 Sc=function(e){_c(t,e);function t(r){var i;return i=e.call(this,r)||this,i.type=xc.CLASS,i._constructed=!0,i}var n=t.prototype;return n.valueToString=function(){return"."+e.prototype.valueToString.call(this)},wc(t,[{key:"value",get:function(){return this._value},set:function(i){if(this._constructed){var s=(0,vc.default)(i,{isIdentifier:!0});s!==i?((0,bc.ensureObject)(this,"raws"),this.raws.value=s):this.raws&&delete this.raws.value}this._value=i}}]),t}(yc.default);qt.default=Sc;ta.exports=qt.default});var ti=R((Bt,ra)=>{"use strict";c();Bt.__esModule=!0;Bt.default=void 0;var kc=Ec($e()),Tc=fe();function Ec(e){return e&&e.__esModule?e:{default:e}}function Oc(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 Pc=function(e){Oc(t,e);function t(n){var r;return r=e.call(this,n)||this,r.type=Tc.COMMENT,r}return t}(kc.default);Bt.default=Pc;ra.exports=Bt.default});var ni=R((Ut,na)=>{"use strict";c();Ut.__esModule=!0;Ut.default=void 0;var Ac=Rc($e()),Ic=fe();function Rc(e){return e&&e.__esModule?e:{default:e}}function Lc(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 Cc=function(e){Lc(t,e);function t(r){var i;return i=e.call(this,r)||this,i.type=Ic.ID,i}var n=t.prototype;return n.valueToString=function(){return"#"+e.prototype.valueToString.call(this)},t}(Ac.default);Ut.default=Cc;na.exports=Ut.default});var jr=R((Gt,sa)=>{"use strict";c();Gt.__esModule=!0;Gt.default=void 0;var Dc=oa(zr()),Mc=Mt(),Nc=oa($e());function oa(e){return e&&e.__esModule?e:{default:e}}function ia(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 Fc(e,t,n){return t&&ia(e.prototype,t),n&&ia(e,n),e}function Wc(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 $c=function(e){Wc(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))},Fc(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,Dc.default)(i,{isIdentifier:!0});this._namespace=i,s!==i?((0,Mc.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}(Nc.default);Gt.default=$c;sa.exports=Gt.default});var si=R((zt,aa)=>{"use strict";c();zt.__esModule=!0;zt.default=void 0;var qc=Uc(jr()),Bc=fe();function Uc(e){return e&&e.__esModule?e:{default:e}}function Gc(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 zc=function(e){Gc(t,e);function t(n){var r;return r=e.call(this,n)||this,r.type=Bc.TAG,r}return t}(qc.default);zt.default=zc;aa.exports=zt.default});var ui=R((jt,ua)=>{"use strict";c();jt.__esModule=!0;jt.default=void 0;var jc=Vc($e()),Hc=fe();function Vc(e){return e&&e.__esModule?e:{default:e}}function Yc(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 Xc=function(e){Yc(t,e);function t(n){var r;return r=e.call(this,n)||this,r.type=Hc.STRING,r}return t}(jc.default);jt.default=Xc;ua.exports=jt.default});var fi=R((Ht,la)=>{"use strict";c();Ht.__esModule=!0;Ht.default=void 0;var Qc=Jc(Gr()),Kc=fe();function Jc(e){return e&&e.__esModule?e:{default:e}}function Zc(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 ed=function(e){Zc(t,e);function t(r){var i;return i=e.call(this,r)||this,i.type=Kc.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}(Qc.default);Ht.default=ed;la.exports=Ht.default});var ca=R((Qg,fa)=>{c();fa.exports=function(t,n){return function(...r){return console.warn(n),t(...r)}}});var gi=R(Xt=>{"use strict";c();Xt.__esModule=!0;Xt.unescapeValue=mi;Xt.default=void 0;var Vt=hi(zr()),td=hi(jn()),rd=hi(jr()),nd=fe(),ci;function hi(e){return e&&e.__esModule?e:{default:e}}function da(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 id(e,t,n){return t&&da(e.prototype,t),n&&da(e,n),e}function od(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 Yt=ca(),sd=/^('|")([^]*)\1$/,ad=Yt(function(){},"Assigning an attribute a value containing characters that might need to be escaped is deprecated. Call attribute.setValue() instead."),ud=Yt(function(){},"Assigning attr.quoted is deprecated and has no effect. Assign to attr.quoteMark instead."),ld=Yt(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(sd);return i&&(n=i[1],r=i[2]),r=(0,td.default)(r),r!==e&&(t=!0),{deprecatedUsage:t,unescaped:r,quoteMark:n}}function fd(e){if(e.quoteMark!==void 0||e.value===void 0)return e;ld();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 Hr=function(e){od(t,e);function t(r){var i;return r===void 0&&(r={}),i=e.call(this,fd(r))||this,i.type=nd.ATTRIBUTE,i.raws=i.raws||{},Object.defineProperty(i.raws,"unquoted",{get:Yt(function(){return i.value},"attr.raws.unquoted is deprecated. Call attr.value instead."),set:Yt(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,Vt.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,Vt.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],g=(0,Vt.default)(s,d);if(g.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,Vt.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,Vt.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=pa);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=" "),pa(o,a)}))),s.push("]"),s.push(this.rawSpaceAfter),s.join("")},id(t,[{key:"quoted",get:function(){var i=this.quoteMark;return i==="'"||i==='"'},set:function(i){ud()}},{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&&ad(),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}(rd.default);Xt.default=Hr;Hr.NO_QUOTE=null;Hr.SINGLE_QUOTE="'";Hr.DOUBLE_QUOTE='"';var di=(ci={"'":{quotes:"single",wrap:!0},'"':{quotes:"double",wrap:!0}},ci[null]={isIdentifier:!0},ci);function pa(e,t){return""+t.before+e+t.after}});var bi=R((Qt,ha)=>{"use strict";c();Qt.__esModule=!0;Qt.default=void 0;var cd=pd(jr()),dd=fe();function pd(e){return e&&e.__esModule?e:{default:e}}function hd(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 md=function(e){hd(t,e);function t(n){var r;return r=e.call(this,n)||this,r.type=dd.UNIVERSAL,r.value="*",r}return t}(cd.default);Qt.default=md;ha.exports=Qt.default});var xi=R((Kt,ma)=>{"use strict";c();Kt.__esModule=!0;Kt.default=void 0;var gd=bd($e()),vd=fe();function bd(e){return e&&e.__esModule?e:{default:e}}function yd(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 xd=function(e){yd(t,e);function t(n){var r;return r=e.call(this,n)||this,r.type=vd.COMBINATOR,r}return t}(gd.default);Kt.default=xd;ma.exports=Kt.default});var _i=R((Jt,ga)=>{"use strict";c();Jt.__esModule=!0;Jt.default=void 0;var wd=Sd($e()),_d=fe();function Sd(e){return e&&e.__esModule?e:{default:e}}function kd(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 Td=function(e){kd(t,e);function t(n){var r;return r=e.call(this,n)||this,r.type=_d.NESTING,r.value="&",r}return t}(wd.default);Jt.default=Td;ga.exports=Jt.default});var ba=R((Vr,va)=>{"use strict";c();Vr.__esModule=!0;Vr.default=Ed;function Ed(e){return e.sort(function(t,n){return t-n})}va.exports=Vr.default});var Si=R(A=>{"use strict";c();A.__esModule=!0;A.combinator=A.word=A.comment=A.str=A.tab=A.newline=A.feed=A.cr=A.backslash=A.bang=A.slash=A.doubleQuote=A.singleQuote=A.space=A.greaterThan=A.pipe=A.equals=A.plus=A.caret=A.tilde=A.dollar=A.closeSquare=A.openSquare=A.closeParenthesis=A.openParenthesis=A.semicolon=A.colon=A.comma=A.at=A.asterisk=A.ampersand=void 0;var Od=38;A.ampersand=Od;var Pd=42;A.asterisk=Pd;var Ad=64;A.at=Ad;var Id=44;A.comma=Id;var Rd=58;A.colon=Rd;var Ld=59;A.semicolon=Ld;var Cd=40;A.openParenthesis=Cd;var Dd=41;A.closeParenthesis=Dd;var Md=91;A.openSquare=Md;var Nd=93;A.closeSquare=Nd;var Fd=36;A.dollar=Fd;var Wd=126;A.tilde=Wd;var $d=94;A.caret=$d;var qd=43;A.plus=qd;var Bd=61;A.equals=Bd;var Ud=124;A.pipe=Ud;var Gd=62;A.greaterThan=Gd;var zd=32;A.space=zd;var ya=39;A.singleQuote=ya;var jd=34;A.doubleQuote=jd;var Hd=47;A.slash=Hd;var Vd=33;A.bang=Vd;var Yd=92;A.backslash=Yd;var Xd=13;A.cr=Xd;var Qd=12;A.feed=Qd;var Kd=10;A.newline=Kd;var Jd=9;A.tab=Jd;var Zd=ya;A.str=Zd;var ep=-1;A.comment=ep;var tp=-2;A.word=tp;var rp=-3;A.combinator=rp});var _a=R(Zt=>{"use strict";c();Zt.__esModule=!0;Zt.default=lp;Zt.FIELDS=void 0;var E=np(Si()),ht,H;function wa(){if(typeof WeakMap!="function")return null;var e=new WeakMap;return wa=function(){return e},e}function np(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}var ip=(ht={},ht[E.tab]=!0,ht[E.newline]=!0,ht[E.cr]=!0,ht[E.feed]=!0,ht),op=(H={},H[E.space]=!0,H[E.tab]=!0,H[E.newline]=!0,H[E.cr]=!0,H[E.feed]=!0,H[E.ampersand]=!0,H[E.asterisk]=!0,H[E.bang]=!0,H[E.comma]=!0,H[E.colon]=!0,H[E.semicolon]=!0,H[E.openParenthesis]=!0,H[E.closeParenthesis]=!0,H[E.openSquare]=!0,H[E.closeSquare]=!0,H[E.singleQuote]=!0,H[E.doubleQuote]=!0,H[E.plus]=!0,H[E.pipe]=!0,H[E.tilde]=!0,H[E.greaterThan]=!0,H[E.equals]=!0,H[E.dollar]=!0,H[E.caret]=!0,H[E.slash]=!0,H),ki={},xa="0123456789abcdefABCDEF";for(Yr=0;Yr<xa.length;Yr++)ki[xa.charCodeAt(Yr)]=!0;var Yr;function sp(e,t){var n=t,r;do{if(r=e.charCodeAt(n),op[r])return n-1;r===E.backslash?n=ap(e,n)+1:n++}while(n<e.length);return n-1}function ap(e,t){var n=t,r=e.charCodeAt(n+1);if(!ip[r])if(ki[r]){var i=0;do n++,i++,r=e.charCodeAt(n+1);while(ki[r]&&i<6);i<6&&r===E.space&&n++}else n++;return n}var up={TYPE:0,START_LINE:1,START_COL:2,END_LINE:3,END_COL:4,START_POS:5,END_POS:6};Zt.FIELDS=up;function lp(e){var t=[],n=e.css.valueOf(),r=n,i=r.length,s=-1,o=1,a=0,u=0,l,f,d,g,h,p,m,_,b,y,w,T,k;function C(D,N){if(e.safe)n+=N,b=n.length-1;else throw e.error("Unclosed "+D,o,a-s,a)}for(;a<i;){switch(l=n.charCodeAt(a),l===E.newline&&(s=a,o+=1),l){case E.space:case E.tab:case E.newline:case E.cr:case E.feed:b=a;do b+=1,l=n.charCodeAt(b),l===E.newline&&(s=b,o+=1);while(l===E.space||l===E.newline||l===E.tab||l===E.cr||l===E.feed);k=E.space,g=o,d=b-s-1,u=b;break;case E.plus:case E.greaterThan:case E.tilde:case E.pipe:b=a;do b+=1,l=n.charCodeAt(b);while(l===E.plus||l===E.greaterThan||l===E.tilde||l===E.pipe);k=E.combinator,g=o,d=a-s,u=b;break;case E.asterisk:case E.ampersand:case E.bang:case E.comma:case E.equals:case E.dollar:case E.caret:case E.openSquare:case E.closeSquare:case E.colon:case E.semicolon:case E.openParenthesis:case E.closeParenthesis:b=a,k=l,g=o,d=a-s,u=b+1;break;case E.singleQuote:case E.doubleQuote:T=l===E.singleQuote?"'":'"',b=a;do for(h=!1,b=n.indexOf(T,b+1),b===-1&&C("quote",T),p=b;n.charCodeAt(p-1)===E.backslash;)p-=1,h=!h;while(h);k=E.str,g=o,d=a-s,u=b+1;break;default:l===E.slash&&n.charCodeAt(a+1)===E.asterisk?(b=n.indexOf("*/",a+2)+1,b===0&&C("comment","*/"),f=n.slice(a,b+1),_=f.split(`
3
- `),m=_.length-1,m>0?(y=o+m,w=b-_[m].length):(y=o,w=s),k=E.comment,o=y,g=y,d=b-w):l===E.slash?(b=a,k=l,g=o,d=a-s,u=b+1):(b=sp(n,a),k=E.word,g=o,d=b-s),u=b+1;break}t.push([k,o,a-s,g,d,a,u]),w&&(s=w,w=null),a=u}return t}});var Ia=R((er,Aa)=>{"use strict";c();er.__esModule=!0;er.default=void 0;var fp=Te(Yn()),Ti=Te(Qn()),cp=Te(Zn()),Sa=Te(ti()),dp=Te(ni()),pp=Te(si()),Ei=Te(ui()),hp=Te(fi()),ka=Xr(gi()),mp=Te(bi()),Oi=Te(xi()),gp=Te(_i()),vp=Te(ba()),S=Xr(_a()),O=Xr(Si()),bp=Xr(fe()),ee=Mt(),rt,Pi;function Pa(){if(typeof WeakMap!="function")return null;var e=new WeakMap;return Pa=function(){return e},e}function Xr(e){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=Pa();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 Te(e){return e&&e.__esModule?e:{default:e}}function Ta(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 yp(e,t,n){return t&&Ta(e.prototype,t),n&&Ta(e,n),e}var Ri=(rt={},rt[O.space]=!0,rt[O.cr]=!0,rt[O.feed]=!0,rt[O.newline]=!0,rt[O.tab]=!0,rt),xp=Object.assign({},Ri,(Pi={},Pi[O.comment]=!0,Pi));function Ea(e){return{line:e[S.FIELDS.START_LINE],column:e[S.FIELDS.START_COL]}}function Oa(e){return{line:e[S.FIELDS.END_LINE],column:e[S.FIELDS.END_COL]}}function nt(e,t,n,r){return{start:{line:e,column:t},end:{line:n,column:r}}}function mt(e){return nt(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 nt(e[S.FIELDS.START_LINE],e[S.FIELDS.START_COL],t[S.FIELDS.END_LINE],t[S.FIELDS.END_COL])}function gt(e,t){var n=e[t];if(typeof n=="string")return n.indexOf("\\")!==-1&&((0,ee.ensureObject)(e,"raws"),e[t]=(0,ee.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 wp(){var e=Array.prototype.concat.apply([],arguments);return e.filter(function(t,n){return n===e.indexOf(t)})}var _p=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 fp.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:nt(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 g=r[a],h=this.content(g),p=r[a+1];switch(g[S.FIELDS.TYPE]){case O.space:if(d=!0,this.options.lossy)break;if(f){(0,ee.ensureObject)(o,"spaces",f);var m=o.spaces[f].after||"";o.spaces[f].after=m+h;var _=(0,ee.getProp)(o,"raws","spaces",f,"after")||null;_&&(o.raws.spaces[f].after=_+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,ee.ensureObject)(o,"spaces","attribute"),o.spaces.attribute.before=u,u=""),l&&((0,ee.ensureObject)(o,"raws","spaces","attribute"),o.raws.spaces.attribute.before=u,l=""),o.namespace=(o.namespace||"")+h;var b=(0,ee.getProp)(o,"raws","namespace")||null;b&&(o.raws.namespace+=h),f="namespace"}d=!1;break;case O.dollar:if(f==="value"){var y=(0,ee.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,ee.ensureObject)(o,"spaces","attribute"),o.spaces.attribute.before=u,u=""),l&&((0,ee.ensureObject)(o,"raws","spaces","attribute"),o.raws.spaces.attribute.before=l,l=""),o.attribute=(o.attribute||"")+h;var w=(0,ee.getProp)(o,"raws","attribute")||null;w&&(o.raws.attribute+=h),f="attribute"}else if(!o.value&&o.value!==""||f==="value"&&!d){var T=(0,ee.unesc)(h),k=(0,ee.getProp)(o,"raws","value")||"",C=o.value||"";o.value=C+T,o.quoteMark=null,(T!==h||k)&&((0,ee.ensureObject)(o,"raws"),o.raws.value=(k||C)+h),f="value"}else{var D=h==="i"||h==="I";(o.value||o.value==="")&&(o.quoteMark||d)?(o.insensitive=D,(!D||h==="I")&&((0,ee.ensureObject)(o,"raws"),o.raws.insensitiveFlag=h),f="insensitive",u&&((0,ee.ensureObject)(o,"spaces","insensitive"),o.spaces.insensitive.before=u,u=""),l&&((0,ee.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:g[S.FIELDS.START_POS]});var N=(0,ka.unescapeValue)(h),V=N.unescaped,K=N.quoteMark;o.value=V,o.quoteMark=K,f="value",(0,ee.ensureObject)(o,"raws"),o.raws.value=h,d=!1;break;case O.equals:if(!o.attribute)return this.expected("attribute",g[S.FIELDS.START_POS],h);if(o.value)return this.error('Unexpected "=" found; an operator was already defined.',{index:g[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 re=(0,ee.getProp)(o,"spaces",f,"after")||"",U=(0,ee.getProp)(o,"raws","spaces",f,"after")||re;(0,ee.ensureObject)(o,"raws","spaces",f),o.raws.spaces[f].after=U+h}else{var F=o[f]||"",J=(0,ee.getProp)(o,"raws",f)||F;(0,ee.ensureObject)(o,"raws"),o.raws[f]=J+h}else l=l+h;break;default:return this.error('Unexpected "'+h+'" found.',{index:g[S.FIELDS.START_POS]})}a++}gt(o,"attribute"),gt(o,"namespace"),this.newNode(new ka.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(Ri[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 Sa.default({value:this.content(),source:mt(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:nt(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,ee.unesc)(r).toLowerCase(),s={};i!==r&&(s.value="/"+r+"/");var o=new Oi.default({value:"/"+i+"/",source:nt(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 g;if(this.isNamedCombinator()?g=this.namedCombinator():this.currToken[S.FIELDS.TYPE]===O.combinator?(g=new Oi.default({value:this.content(),source:mt(this.currToken),sourceIndex:this.currToken[S.FIELDS.START_POS]}),this.position++):Ri[this.currToken[S.FIELDS.TYPE]]||d||this.unexpected(),g){if(d){var h=this.convertWhitespaceNodesToSpace(d),p=h.space,m=h.rawSpace;g.spaces.before=p,g.rawSpaceBefore=m}}else{var _=this.convertWhitespaceNodesToSpace(d,!0),b=_.space,y=_.rawSpace;y||(y=b);var w={},T={spaces:{}};b.endsWith(" ")&&y.endsWith(" ")?(w.before=b.slice(0,b.length-1),T.spaces.before=y.slice(0,y.length-1)):b.startsWith(" ")&&y.startsWith(" ")?(w.after=b.slice(1),T.spaces.after=y.slice(1)):T.value=y,g=new Oi.default({value:" ",source:Ai(f,this.tokens[this.position-1]),sourceIndex:f[S.FIELDS.START_POS],spaces:w,raws:T})}return this.currToken&&this.currToken[S.FIELDS.TYPE]===O.space&&(g.spaces.after=this.optionalSpace(this.content()),this.position++),this.newNode(g)},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:Ea(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 Sa.default({value:this.content(),source:mt(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 gp.default({value:this.content(),source:mt(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===bp.PSEUDO){var s=new Ti.default({source:{start:Ea(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=Oa(this.currToken),this.current.parent.source.end=Oa(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:nt(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 hp.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:mt(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 mp.default({value:this.content(),source:mt(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 m=a[p-1]==="\\",_=/^\d+\.\d+%$/.test(a);return!m&&!_}),d=Ii(a,"#").filter(function(p){return a[p-1]!=="\\"}),g=Ii(a,"#{");g.length&&(d=d.filter(function(p){return!~g.indexOf(p)}));var h=(0,vp.default)(wp([0].concat(f,d)));h.forEach(function(p,m){var _=h[m+1]||a.length,b=a.slice(p,_);if(m===0&&i)return i.call(s,b,h.length);var y,w=s.currToken,T=w[S.FIELDS.START_POS]+h[m],k=nt(w[1],w[2]+p,w[3],w[2]+(_-1));if(~f.indexOf(p)){var C={value:b.slice(1),source:k,sourceIndex:T};y=new cp.default(gt(C,"value"))}else if(~d.indexOf(p)){var D={value:b.slice(1),source:k,sourceIndex:T};y=new dp.default(gt(D,"value"))}else{var N={value:b,source:k,sourceIndex:T};gt(N,"value"),y=new pp.default(N)}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,gt(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(xp[this.tokens[i][S.FIELDS.TYPE]]){i++;continue}else return i;return-1},yp(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}();er.default=_p;Aa.exports=er.default});var La=R((tr,Ra)=>{"use strict";c();tr.__esModule=!0;tr.default=void 0;var Sp=kp(Ia());function kp(e){return e&&e.__esModule?e:{default:e}}var Tp=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 Sp.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}();tr.default=Tp;Ra.exports=tr.default});var Ca=R(Q=>{"use strict";c();Q.__esModule=!0;Q.universal=Q.tag=Q.string=Q.selector=Q.root=Q.pseudo=Q.nesting=Q.id=Q.comment=Q.combinator=Q.className=Q.attribute=void 0;var Ep=Ee(gi()),Op=Ee(Zn()),Pp=Ee(xi()),Ap=Ee(ti()),Ip=Ee(ni()),Rp=Ee(_i()),Lp=Ee(fi()),Cp=Ee(Yn()),Dp=Ee(Qn()),Mp=Ee(ui()),Np=Ee(si()),Fp=Ee(bi());function Ee(e){return e&&e.__esModule?e:{default:e}}var Wp=function(t){return new Ep.default(t)};Q.attribute=Wp;var $p=function(t){return new Op.default(t)};Q.className=$p;var qp=function(t){return new Pp.default(t)};Q.combinator=qp;var Bp=function(t){return new Ap.default(t)};Q.comment=Bp;var Up=function(t){return new Ip.default(t)};Q.id=Up;var Gp=function(t){return new Rp.default(t)};Q.nesting=Gp;var zp=function(t){return new Lp.default(t)};Q.pseudo=zp;var jp=function(t){return new Cp.default(t)};Q.root=jp;var Hp=function(t){return new Dp.default(t)};Q.selector=Hp;var Vp=function(t){return new Mp.default(t)};Q.string=Vp;var Yp=function(t){return new Np.default(t)};Q.tag=Yp;var Xp=function(t){return new Fp.default(t)};Q.universal=Xp});var Fa=R(G=>{"use strict";c();G.__esModule=!0;G.isNode=Li;G.isPseudoElement=Na;G.isPseudoClass=sh;G.isContainer=ah;G.isNamespace=uh;G.isUniversal=G.isTag=G.isString=G.isSelector=G.isRoot=G.isPseudo=G.isNesting=G.isIdentifier=G.isComment=G.isCombinator=G.isClassName=G.isAttribute=void 0;var te=fe(),ve,Qp=(ve={},ve[te.ATTRIBUTE]=!0,ve[te.CLASS]=!0,ve[te.COMBINATOR]=!0,ve[te.COMMENT]=!0,ve[te.ID]=!0,ve[te.NESTING]=!0,ve[te.PSEUDO]=!0,ve[te.ROOT]=!0,ve[te.SELECTOR]=!0,ve[te.STRING]=!0,ve[te.TAG]=!0,ve[te.UNIVERSAL]=!0,ve);function Li(e){return typeof e=="object"&&Qp[e.type]}function Oe(e,t){return Li(t)&&t.type===e}var Da=Oe.bind(null,te.ATTRIBUTE);G.isAttribute=Da;var Kp=Oe.bind(null,te.CLASS);G.isClassName=Kp;var Jp=Oe.bind(null,te.COMBINATOR);G.isCombinator=Jp;var Zp=Oe.bind(null,te.COMMENT);G.isComment=Zp;var eh=Oe.bind(null,te.ID);G.isIdentifier=eh;var th=Oe.bind(null,te.NESTING);G.isNesting=th;var Ci=Oe.bind(null,te.PSEUDO);G.isPseudo=Ci;var rh=Oe.bind(null,te.ROOT);G.isRoot=rh;var nh=Oe.bind(null,te.SELECTOR);G.isSelector=nh;var ih=Oe.bind(null,te.STRING);G.isString=ih;var Ma=Oe.bind(null,te.TAG);G.isTag=Ma;var oh=Oe.bind(null,te.UNIVERSAL);G.isUniversal=oh;function Na(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 sh(e){return Ci(e)&&!Na(e)}function ah(e){return!!(Li(e)&&e.walk)}function uh(e){return Da(e)||Ma(e)}});var Wa=R(Re=>{"use strict";c();Re.__esModule=!0;var Di=fe();Object.keys(Di).forEach(function(e){e==="default"||e==="__esModule"||e in Re&&Re[e]===Di[e]||(Re[e]=Di[e])});var Mi=Ca();Object.keys(Mi).forEach(function(e){e==="default"||e==="__esModule"||e in Re&&Re[e]===Mi[e]||(Re[e]=Mi[e])});var Ni=Fa();Object.keys(Ni).forEach(function(e){e==="default"||e==="__esModule"||e in Re&&Re[e]===Ni[e]||(Re[e]=Ni[e])})});var Ba=R((rr,qa)=>{"use strict";c();rr.__esModule=!0;rr.default=void 0;var lh=dh(La()),fh=ch(Wa());function $a(){if(typeof WeakMap!="function")return null;var e=new WeakMap;return $a=function(){return e},e}function ch(e){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=$a();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 dh(e){return e&&e.__esModule?e:{default:e}}var Fi=function(t){return new lh.default(t)};Object.assign(Fi,fh);delete Fi.__esModule;var ph=Fi;rr.default=ph;qa.exports=rr.default});var Ua=R(Wi=>{"use strict";c();Object.defineProperty(Wi,"__esModule",{value:!0});Object.defineProperty(Wi,"default",{enumerable:!0,get:()=>hh});function hh(e){return e.replace(/\\,/g,"\\2c ")}});var za=R((iv,Ga)=>{"use strict";c();Ga.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 qi=R($i=>{"use strict";c();Object.defineProperty($i,"__esModule",{value:!0});function mh(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}mh($i,{parseColor:()=>wh,formatColor:()=>_h});var ja=gh(za());function gh(e){return e&&e.__esModule?e:{default:e}}var vh=/^#([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})?$/i,bh=/^#([a-f\d])([a-f\d])([a-f\d])([a-f\d])?$/i,Ye=/(?:\d+|\d*\.\d+)%?/,Qr=/(?:\s*,\s*|\s+)/,Ha=/\s*[,/]\s*/,Xe=/var\(--(?:[^ )]*?)\)/,yh=new RegExp(`^(rgb)a?\\(\\s*(${Ye.source}|${Xe.source})(?:${Qr.source}(${Ye.source}|${Xe.source}))?(?:${Qr.source}(${Ye.source}|${Xe.source}))?(?:${Ha.source}(${Ye.source}|${Xe.source}))?\\s*\\)$`),xh=new RegExp(`^(hsl)a?\\(\\s*((?:${Ye.source})(?:deg|rad|grad|turn)?|${Xe.source})(?:${Qr.source}(${Ye.source}|${Xe.source}))?(?:${Qr.source}(${Ye.source}|${Xe.source}))?(?:${Ha.source}(${Ye.source}|${Xe.source}))?\\s*\\)$`);function wh(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 ja.default)return{mode:"rgb",color:ja.default[e].map(u=>u.toString())};let i=e.replace(bh,(u,l,f,d,g)=>["#",l,l,f,f,d,d,g?g+g:""].join("")).match(vh);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(yh))!==null&&s!==void 0?s:e.match(xh);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 _h({mode:e,color:t,alpha:n}){let r=n!==void 0;return`${e}(${t.join(" ")}${r?` / ${n}`:""})`}});var Ui=R(Bi=>{"use strict";c();Object.defineProperty(Bi,"__esModule",{value:!0});function Sh(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}Sh(Bi,{withAlphaValue:()=>kh,default:()=>Th});var Kr=qi();function kh(e,t,n){if(typeof e=="function")return e({opacityValue:t});let r=(0,Kr.parseColor)(e,{loose:!0});return r===null?n:(0,Kr.formatColor)({...r,alpha:t})}function Th({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,Kr.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,Kr.formatColor)({...i,alpha:`var(${n})`})]))}}});var Ka=R(Gi=>{"use strict";c();Object.defineProperty(Gi,"__esModule",{value:!0});function Eh(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}Eh(Gi,{pattern:()=>Ph,withoutCapturing:()=>Ya,any:()=>Xa,optional:()=>Ah,zeroOrMore:()=>Ih,nestedBrackets:()=>Qa,escape:()=>it});var Va=/[\\^$.*+?()[\]{}|]/g,Oh=RegExp(Va.source);function nr(e){return e=Array.isArray(e)?e:[e],e=e.map(t=>t instanceof RegExp?t.source:t),e.join("")}function Ph(e){return new RegExp(nr(e),"g")}function Ya(e){return new RegExp(`(?:${nr(e)})`,"g")}function Xa(e){return`(?:${e.map(nr).join("|")})`}function Ah(e){return`(?:${nr(e)})?`}function Ih(e){return`(?:${nr(e)})*`}function Qa(e,t,n=1){return Ya([it(e),/[^\s]*/,n===1?`[^${it(e)}${it(t)}s]*`:Xa([`[^${it(e)}${it(t)}s]*`,Qa(e,t,n-1)]),/[^\s]*/,it(t)])}function it(e){return e&&Oh.test(e)?e.replace(Va,"\\$&"):e||""}});var Za=R(zi=>{"use strict";c();Object.defineProperty(zi,"__esModule",{value:!0});Object.defineProperty(zi,"splitAtTopLevelOnly",{enumerable:!0,get:()=>Ch});var Rh=Lh(Ka());function Ja(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,n=new WeakMap;return(Ja=function(r){return r?n:t})(e)}function Lh(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var n=Ja(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*Ch(e,t){let n=new RegExp(`[(){}\\[\\]${Rh.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,g=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++),g&&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 tu=R(ji=>{"use strict";c();Object.defineProperty(ji,"__esModule",{value:!0});function Dh(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}Dh(ji,{parseBoxShadowValue:()=>Wh,formatBoxShadowValue:()=>$h});var Mh=Za(),Nh=new Set(["inset","inherit","initial","revert","unset"]),Fh=/\ +(?![^(]*\))/g,eu=/^-?(\d+|\.\d+)(.*?)$/g;function Wh(e){return Array.from((0,Mh.splitAtTopLevelOnly)(e,",")).map(n=>{let r=n.trim(),i={raw:r},s=r.split(Fh),o=new Set;for(let a of s)eu.lastIndex=0,!o.has("KEYWORD")&&Nh.has(a)?(i.keyword=a,o.add("KEYWORD")):eu.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 $h(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 uu=R(Vi=>{"use strict";c();Object.defineProperty(Vi,"__esModule",{value:!0});function qh(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}qh(Vi,{normalize:()=>Qe,url:()=>iu,number:()=>Gh,percentage:()=>ou,length:()=>su,lineWidth:()=>Hh,shadow:()=>Vh,color:()=>Yh,image:()=>Xh,gradient:()=>au,position:()=>Jh,familyName:()=>Zh,genericName:()=>t0,absoluteSize:()=>n0,relativeSize:()=>o0});var Bh=qi(),Uh=tu(),Hi=["min","max","clamp","calc"],nu=/,(?![^(]*\))/g,Jr=/_(?![^(]*\))/g;function Qe(e,t=!0){return e.includes("url(")?e.split(/(url\(.*?\))/g).filter(Boolean).map(n=>/^url\(.*?\)$/.test(n)?n:Qe(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 iu(e){return e.startsWith("url(")}function Gh(e){return!isNaN(Number(e))||Hi.some(t=>new RegExp(`^${t}\\(.+?`).test(e))}function ou(e){return e.split(Jr).every(t=>/%$/g.test(t)||Hi.some(n=>new RegExp(`^${n}\\(.+?%`).test(t)))}var zh=["cm","mm","Q","in","pc","pt","px","em","ex","ch","rem","lh","vw","vh","vmin","vmax"],ru=`(?:${zh.join("|")})`;function su(e){return e.split(Jr).every(t=>t==="0"||new RegExp(`${ru}$`).test(t)||Hi.some(n=>new RegExp(`^${n}\\(.+?${ru}`).test(t)))}var jh=new Set(["thin","medium","thick"]);function Hh(e){return jh.has(e)}function Vh(e){let t=(0,Uh.parseBoxShadowValue)(Qe(e));for(let n of t)if(!n.valid)return!1;return!0}function Yh(e){let t=0;return e.split(Jr).every(r=>(r=Qe(r),r.startsWith("var(")?!0:(0,Bh.parseColor)(r,{loose:!0})!==null?(t++,!0):!1))?t>0:!1}function Xh(e){let t=0;return e.split(nu).every(r=>(r=Qe(r),r.startsWith("var(")?!0:iu(r)||au(r)||["element(","image(","cross-fade(","image-set("].some(i=>r.startsWith(i))?(t++,!0):!1))?t>0:!1}var Qh=new Set(["linear-gradient","radial-gradient","repeating-linear-gradient","repeating-radial-gradient","conic-gradient"]);function au(e){e=Qe(e);for(let t of Qh)if(e.startsWith(`${t}(`))return!0;return!1}var Kh=new Set(["center","top","right","bottom","left"]);function Jh(e){let t=0;return e.split(Jr).every(r=>(r=Qe(r),r.startsWith("var(")?!0:Kh.has(r)||su(r)||ou(r)?(t++,!0):!1))?t>0:!1}function Zh(e){let t=0;return e.split(nu).every(r=>(r=Qe(r),r.startsWith("var(")?!0:r.includes(" ")&&!/(['"])([^"']+)\1/g.test(r)||/^\d/g.test(r)?!1:(t++,!0)))?t>0:!1}var e0=new Set(["serif","sans-serif","monospace","cursive","fantasy","system-ui","ui-serif","ui-sans-serif","ui-monospace","ui-rounded","math","emoji","fangsong"]);function t0(e){return e0.has(e)}var r0=new Set(["xx-small","x-small","small","medium","large","x-large","x-large","xxx-large"]);function n0(e){return r0.has(e)}var i0=new Set(["larger","smaller"]);function o0(e){return i0.has(e)}});var gu=R(Qi=>{"use strict";c();Object.defineProperty(Qi,"__esModule",{value:!0});function s0(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}s0(Qi,{updateAllClasses:()=>l0,asValue:()=>or,parseColorFormat:()=>Yi,asColor:()=>pu,asLookupValue:()=>hu,coerceValue:()=>p0});var a0=Xi(Ba()),u0=Xi(Ua()),lu=Ui(),be=uu(),fu=Xi(Dn());function Xi(e){return e&&e.__esModule?e:{default:e}}function l0(e,t){return(0,a0.default)(i=>{i.walkClasses(s=>{let o=t(s.value);s.value=o,s.raws&&s.raws.value&&(s.raws.value=(0,u0.default)(s.raws.value))})}).processSync(e)}function du(e,t){if(!ir(e))return;let n=e.slice(1,-1);if(!!t(n))return(0,be.normalize)(n)}function f0(e,t={},n){let r=t[e];if(r!==void 0)return(0,fu.default)(r);if(ir(e)){let i=du(e,n);return i===void 0?void 0:(0,fu.default)(i)}}function or(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("-")?f0(e.slice(1),t.values,n):du(e,n)}function ir(e){return e.startsWith("[")&&e.endsWith("]")}function c0(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 pu(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]=c0(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:ir(s)?s.slice(1,-1):void 0;return d===void 0?void 0:(d=Yi(d),ir(o)?(0,lu.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,lu.withAlphaValue)(d,n.theme.opacity[o]))}return or(e,t,{validate:be.color})}function hu(e,t={}){var n;return(n=t.values)===null||n===void 0?void 0:n[e]}function Pe(e){return(t,n)=>or(t,n,{validate:e})}var mu={any:or,color:pu,url:Pe(be.url),image:Pe(be.image),length:Pe(be.length),percentage:Pe(be.percentage),position:Pe(be.position),lookup:hu,"generic-name":Pe(be.genericName),"family-name":Pe(be.familyName),number:Pe(be.number),"line-width":Pe(be.lineWidth),"absolute-size":Pe(be.absoluteSize),"relative-size":Pe(be.relativeSize),shadow:Pe(be.shadow)},cu=Object.keys(mu);function d0(e,t){let n=e.indexOf(t);return n===-1?[void 0,e]:[e.slice(0,n),e.slice(n+1)]}function p0(e,t,n,r){if(ir(t)){let i=t.slice(1,-1),[s,o]=d0(i,":");if(!/^[\w-_]+$/g.test(s))o=i;else if(s!==void 0&&!cu.includes(s))return[];if(o.length>0&&cu.includes(s))return[or(`[${o}]`,n),s]}for(let i of[].concat(e)){let s=mu[i](t,n,{tailwindConfig:r});if(s!==void 0)return[s,i]}return[]}});var vu=R(Ki=>{"use strict";c();Object.defineProperty(Ki,"__esModule",{value:!0});Object.defineProperty(Ki,"default",{enumerable:!0,get:()=>h0});function h0(e){return typeof e=="function"?e({}):e}});var _u=R(Zi=>{"use strict";c();Object.defineProperty(Zi,"__esModule",{value:!0});Object.defineProperty(Zi,"default",{enumerable:!0,get:()=>D0});var m0=ot(Dn()),g0=ot(Ts()),v0=ot(Es()),b0=ot(Fn()),y0=ot(Ps()),xu=As(),bu=Is(),x0=Ls(),w0=ot(Cs()),_0=Ds(),S0=gu(),k0=Ui(),T0=ot(vu());function ot(e){return e&&e.__esModule?e:{default:e}}function vt(e){return typeof e=="function"}function sr(e){return typeof e=="object"&&e!==null}function ar(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?sr(e[i])&&sr(r[i])?e[i]=ar(e[i],r[i],n):e[i]=r[i]:e[i]=s}return e}var Ji={colors:y0.default,negative(e){return Object.keys(e).filter(t=>e[t]!=="0").reduce((t,n)=>{let r=(0,m0.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 E0(e,...t){return vt(e)?e(...t):e}function O0(e){return e.reduce((t,{extend:n})=>ar(t,n,(r,i)=>r===void 0?[i]:Array.isArray(r)?[i,...r]:[i,r]),{})}function P0(e){return{...e.reduce((t,n)=>(0,xu.defaults)(t,n),{}),extend:O0(e)}}function yu(e,t){if(Array.isArray(e)&&sr(e[0]))return e.concat(t);if(Array.isArray(t)&&sr(t[0])&&sr(e))return[e,...t];if(Array.isArray(t))return t}function A0({extend:e,...t}){return ar(t,e,(n,r)=>!vt(n)&&!r.some(vt)?ar({},n,...r,yu):(i,s)=>ar({},...[n,...r].map(o=>E0(o,i,s)),yu))}function*I0(e){let t=(0,bu.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,bu.toPath)(i);o.alpha=s,yield o}}function R0(e){let t=(n,r)=>{for(let i of I0(n)){let s=0,o=e;for(;o!=null&&s<i.length;)o=o[i[s++]],o=vt(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,S0.parseColorFormat)(o);return(0,k0.withAlphaValue)(a,i.alpha,(0,T0.default)(a))}return(0,w0.default)(o)?(0,_0.cloneDeep)(o):o}}return r};return Object.assign(t,{theme:t,...Ji}),Object.keys(e).reduce((n,r)=>(n[r]=vt(e[r])?e[r](t,Ji):e[r],n),{})}function wu(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,...wu([(o=s==null?void 0:s.config)!==null&&o!==void 0?o:{}])]})}),t}function L0(e){return[...e].reduceRight((n,r)=>vt(r)?r({corePlugins:n}):(0,v0.default)(r,n),g0.default)}function C0(e){return[...e].reduceRight((n,r)=>[...n,...r],[])}function D0(e){let t=[...wu(e),{prefix:"",important:!1,separator:":",variantOrder:b0.default.variantOrder}];var n,r;return(0,x0.normalizeConfig)((0,xu.defaults)({theme:R0(A0(P0(t.map(i=>(n=i==null?void 0:i.theme)!==null&&n!==void 0?n:{})))),corePlugins:L0(t.map(i=>i.corePlugins)),plugins:C0(e.map(i=>(r=i==null?void 0:i.plugins)!==null&&r!==void 0?r:[]))},...t))}});var Su={};wr(Su,{default:()=>M0});var M0,ku=xr(()=>{c();M0={yellow:e=>e}});var Pu=R(eo=>{"use strict";c();Object.defineProperty(eo,"__esModule",{value:!0});function N0(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}N0(eo,{flagEnabled:()=>$0,issueFlagNotices:()=>q0,default:()=>B0});var F0=Ou((ku(),_t(Su))),W0=Ou((Fr(),_t(Nr)));function Ou(e){return e&&e.__esModule?e:{default:e}}var Tu={optimizeUniversalDefaults:!1},ur={future:["hoverOnlyWhenSupported","respectDefaultRingColorOpacity"],experimental:["optimizeUniversalDefaults","matchVariant"]};function $0(e,t){if(ur.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:Tu[t])!==null&&i!==void 0?i:!1)}if(ur.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:Tu[t])!==null&&a!==void 0?a:!1)}return!1}function Eu(e){if(e.experimental==="all")return ur.experimental;var t;return Object.keys((t=e==null?void 0:e.experimental)!==null&&t!==void 0?t:{}).filter(n=>ur.experimental.includes(n)&&e.experimental[n])}function q0(e){if(process.env.JEST_WORKER_ID===void 0&&Eu(e).length>0){let t=Eu(e).map(n=>F0.default.yellow(n)).join(", ");W0.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 B0=ur});var Iu=R(to=>{"use strict";c();Object.defineProperty(to,"__esModule",{value:!0});Object.defineProperty(to,"default",{enumerable:!0,get:()=>Au});var U0=z0(Fn()),G0=Pu();function z0(e){return e&&e.__esModule?e:{default:e}}function Au(e){var t;let n=((t=e==null?void 0:e.presets)!==null&&t!==void 0?t:[U0.default]).slice().reverse().flatMap(s=>Au(typeof s=="function"?s():s)),r={respectDefaultRingColorOpacity:{theme:{ringColor:{DEFAULT:"#3b82f67f"}}}},i=Object.keys(r).filter(s=>(0,G0.flagEnabled)(e,s)).map(s=>r[s]);return[e,...i,...n]}});var Lu=R(ro=>{"use strict";c();Object.defineProperty(ro,"__esModule",{value:!0});Object.defineProperty(ro,"default",{enumerable:!0,get:()=>V0});var j0=Ru(_u()),H0=Ru(Iu());function Ru(e){return e&&e.__esModule?e:{default:e}}function V0(...e){let[,...t]=(0,H0.default)(e[0]);return(0,j0.default)([...e,...t])}});var Du=R((vv,Cu)=>{c();var no=Lu();Cu.exports=(no.__esModule?no:{default:no}).default});var pm={};wr(pm,{default:()=>_o,init:()=>Do});module.exports=_t(pm);c();c();c();var dt;function Do(e){dt=e}var St=null;async function We(){return dt||(St?(await St,dt):(St=Promise.resolve().then(()=>(Co(),Lo)).then(e=>e.getYogaModule()).then(e=>dt=e),await St,St=null,dt))}c();c();c();var kt=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),gl=kt((e,t)=>{t.exports=["em","ex","ch","rem","vh","vw","vmin","vmax","px","mm","cm","in","pt","pc","mozmm"]}),vl=kt((e,t)=>{t.exports=["deg","grad","rad","turn"]}),bl=kt((e,t)=>{t.exports=["dpi","dpcm","dppx"]}),yl=kt((e,t)=>{t.exports=["Hz","kHz"]}),xl=kt((e,t)=>{t.exports=["s","ms"]}),wl=gl(),Mo=vl(),No=bl(),Fo=yl(),Wo=xl();function cn(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(_l(e)>1)throw new Error("Only one dot is allowed");if(/%$/.test(e)){this.type="percentage",this.value=fn(e),this.unit="%";return}var t=kl(e);if(!t){this.type="number",this.value=fn(e);return}this.type=El(t),this.value=fn(e.substr(0,e.length-t.length)),this.unit=t}cn.prototype.valueOf=function(){return this.value};cn.prototype.toString=function(){return this.value+(this.unit||"")};function Ve(e){return new cn(e)}function _l(e){var t=e.match(/\./g);return t?t.length:0}function fn(e){var t=parseFloat(e);if(isNaN(t))throw new Error("Invalid number: "+e);return t}var Sl=[].concat(Mo,Fo,wl,No,Wo);function kl(e){var t=e.match(/\D+$/),n=t&&t[0];if(n&&Sl.indexOf(n)===-1)throw new Error("Invalid unit: "+n);return n}var Tl=Object.assign(_r(Mo,"angle"),_r(Fo,"frequency"),_r(No,"resolution"),_r(Wo,"time"));function _r(e,t){return Object.fromEntries(e.map(n=>[n,t]))}function El(e){return Tl[e]||"length"}var $o=tt(require("linebreak"),1);function Sr(e){let t=typeof e;return!(t==="number"||t==="bigint"||t==="string"||t==="boolean")}function qo(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 se(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 Ve(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 Tt(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 ge(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 dn,pn,Go=[32,160,4961,65792,65793,4153,4241,10].map(e=>String.fromCodePoint(e));function me(e,t,n){if(!dn||!pn){if(!(typeof Intl<"u"&&"Segmenter"in Intl))throw new Error("Intl.Segmenter does not exist, please use import a polyfill.");dn=new Intl.Segmenter(n,{granularity:"word"}),pn=new Intl.Segmenter(n,{granularity:"grapheme"})}if(t==="grapheme")return[...pn.segment(e)].map(r=>r.segment);{let r=[...dn.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 P(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"},Ol=/[\r\n%#()<>?[\\\]^`{|}"']/g;function hn(e,t){if(!e)return"";if(Array.isArray(e))return e.map(a=>hn(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("")}>${hn(r,o)}</${n}>`}function Et(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=Et(n),g=d?d[3]/d[2]:null;return i=i||g&&s?s/g:null,s=s||g&&i?i*g: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("")}>${hn(u,f)}</svg>`.replace(Ol,encodeURIComponent)}`}function Pl(e){return Object.prototype.toString.call(e)}function Vo(e){return typeof e=="string"}function Yo(e){return Pl(e)==="[object Undefined]"}function Xo(e,t){if(t==="break-all")return{words:me(e,"grapheme"),requiredBreaks:[]};if(t==="keep-all")return{words:me(e,"word"),requiredBreaks:[]};let n=new $o.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 ke="flex",Qo={p:{display:ke,marginTop:"1em",marginBottom:"1em"},div:{display:ke},blockquote:{display:ke,marginTop:"1em",marginBottom:"1em",marginLeft:40,marginRight:40},center:{display:ke,textAlign:"center"},hr:{display:ke,marginTop:"0.5em",marginBottom:"0.5em",marginLeft:"auto",marginRight:"auto",borderWidth:1,borderStyle:"solid"},h1:{display:ke,fontSize:"2em",marginTop:"0.67em",marginBottom:"0.67em",marginLeft:0,marginRight:0,fontWeight:"bold"},h2:{display:ke,fontSize:"1.5em",marginTop:"0.83em",marginBottom:"0.83em",marginLeft:0,marginRight:0,fontWeight:"bold"},h3:{display:ke,fontSize:"1.17em",marginTop:"1em",marginBottom:"1em",marginLeft:0,marginRight:0,fontWeight:"bold"},h4:{display:ke,marginTop:"1.33em",marginBottom:"1.33em",marginLeft:0,marginRight:0,fontWeight:"bold"},h5:{display:ke,fontSize:"0.83em",marginTop:"1.67em",marginBottom:"1.67em",marginLeft:0,marginRight:0,fontWeight:"bold"},h6:{display:ke,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:ke,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 Al=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)Al.has(n)&&(t[n]=e[n]);return t}c();var Ie=require("css-to-react-native"),ts=require("css-background-parser"),rs=require("css-box-shadow"),ns=tt(require("parse-css-color"),1);c();var Ko=tt(require("postcss-value-parser"),1);function Il(e,t){try{let n=new Ve(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=Il(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 Rl=new Set(["flex","flexGrow","flexShrink","flexBasis","fontWeight","lineHeight","opacity","scale","scaleX","scaleY"]),Ll=new Set(["lineHeight"]);function Cl(e,t,n,r){return e==="textDecoration"&&!n.includes(t.textDecorationColor)&&(t.textDecorationColor=r),t}function Ot(e,t){return typeof t=="number"?Rl.has(e)?Ll.has(e)?t:String(t):t+"px":t}function Dl(e,t,n){if(e==="lineHeight")return{lineHeight:Ot(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,Ie.getStylesForProperty)(e,r,!0),o=(0,Ie.getStylesForProperty)(e,i,!0);for(let a in s)o[a]=Ot(e,s[a])+" "+Ot(e,o[a]);return o}if(/^border(Top|Right|Bottom|Left)?$/.test(e)){let r=(0,Ie.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:Ot(e+"Width",r.borderWidth),Style:ge(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,Ie.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,Ie.getStylesForProperty)("backgroundImage",t,!0):(0,Ie.getStylesForProperty)("background",t,!0);if(e==="textShadow"&&(t=t.toString().trim(),t.includes(","))){let r=Ml(t),i={};for(let s of r){let o=(0,Ie.getStylesForProperty)("textShadow",s,!0);for(let a in o)i[a]?i[a].push(o[a]):i[a]=[o[a]]}return i}}function Ml(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 kr(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,Ie.getPropertyName)(s),a=$l(e[s],i);try{let u=Dl(o,a,i)||Cl(o,(0,Ie.getStylesForProperty)(o,Ot(o,a),!0),a,i);Object.assign(n,u)}catch(u){throw new Error(u.message+(u.message.includes(a)?`
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=Nl(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]=se(s,r,r,t,!0)/r);else{if(typeof s=="string"){let o=se(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"?se(l,r,r,t)??l:l;a[u]=f}}}return n}function Nl(e,t){if(typeof e=="number")return e;try{let n=new Ve(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 Wl(e,t){return e.replace(/currentcolor/gi,t)}function $l(e,t){return Vo(e)&&(e=Wl(e,t)),e}c();var ql="image/avif",Bl="image/webp",Tr="image/png",Er="image/jpeg",Or="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,Ul=[Tr,Er,Or,yn];function Gl(e){let t="",n=new Uint8Array(e);for(let r=0;r<n.byteLength;r++)t+=String.fromCharCode(n[r]);return btoa(t)}function zl(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?Et(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=jl(new Uint8Array(e));switch(n){case Tr:t=fs(e);break;case Or:t=ls(e);break;case Er:t=us(e);break}if(!Ul.includes(n))throw new Error(`Unsupported image type: ${n||"unknown"}`);return[`data:${n};base64,${Gl(e)}`,t]}async function Pr(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=zl(a);switch(s){case Tr:u=fs(l);break;case Or:u=ls(l);break;case Er: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 jl(e){return[255,216,255].every((t,n)=>e[n]===t)?Er:[137,80,78,71,13,10,26,10].every((t,n)=>e[n]===t)?Tr:[71,73,70,56].every((t,n)=>e[n]===t)?Or:[82,73,70,70,0,0,0,0,87,69,66,80].every((t,n)=>!t||e[n]===t)?Bl:[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 We(),o={...n,...kr(Qo[t],n),...kr(r,n)};if(t==="img"){let[a,u,l]=await Pr(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),g=(o.borderTopWidth||0)+(o.borderBottomWidth||0)+(o.paddingTop||0)+(o.paddingBottom||0),h=o.width||i.width,p=o.height||i.height,m=typeof h!="string"&&typeof p!="string";typeof h=="number"&&m&&(h-=d),typeof p=="number"&&m&&(p-=g),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=m?h+d:h,o.height=m?p+g:p,o.__src=a}if(t==="svg"){let a=i.viewBox||i.viewbox,u=Et(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=se(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=se(f,n.fontSize,1,n),d=f*l):(typeof f<"u"&&(f=se(f,n.fontSize,1,n)||f),typeof d<"u"&&(d=se(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(ge(o.display,{flex:s.DISPLAY_FLEX,none:s.DISPLAY_NONE},s.DISPLAY_FLEX,"display")),e.setAlignContent(ge(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(ge(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(ge(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(ge(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(ge(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(ge(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(ge(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(ge(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 Hl(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=Tt(u,r)}e.splice(0,e.length),e.push(...r),e.__resolved=!0}function Pt({left:e,top:t,width:n,height:r},i,s,o){let a;i.__resolved||Hl(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,g=t+f;a=Tt([1,0,0,1,d,g],Tt(u,[1,0,0,1,-d,-g])),u.__parent&&(a=Tt(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=Pt({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:g,decorationShape:h},p){let m="";if(d&&(m=P("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 b={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})">`:"")+P("image",{...b,opacity:u!==1?u:void 0})+(h||"")+(n?"</g>":"")+m,""]}let _={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})">`:"")+P("text",{..._,fill:p.color,opacity:u!==1?u:void 0},t)+(h||"")+(n?"</g>":"")+m,g?P("text",_,t):""]}c();function Vl(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 Ar=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 g=r.shadowRadius[d]*r.shadowRadius[d]/4;a=Math.min(r.shadowOffset[d].width-g,a),u=Math.max(r.shadowOffset[d].width+g+t,u),l=Math.min(r.shadowOffset[d].height-g,l),f=Math.max(r.shadowOffset[d].height+g+n,f),s+=P("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=P("feMergeNode",{in:`satori_s-${e}-result-${d}`})+o)}return P("filter",{id:`satori_s-${e}`,x:(a/t*100*Ar).toFixed(2)+"%",y:(l/n*100*Ar).toFixed(2)+"%",width:((u-a)/t*100*Ar).toFixed(2)+"%",height:((f-l)/n*100*Ar).toFixed(2)+"%"},s+(o?P("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),g=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),m=Math.max(d+t-(f.inset?f.offsetY:0),t),_=`satori_s-${i}-${u}`,b=`satori_ms-${i}-${u}`,y=f.spreadRadius?n.replace('stroke-width="0"',`stroke-width="${f.spreadRadius*2}"`):n;l+=P("mask",{id:b,maskUnits:"userSpaceOnUse"},P("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 w=y.replace(/d="([^"]+)"/,(T,k)=>'d="'+Vl(k,f.offsetX,f.offsetY)+'"').replace(/x="([^"]+)"/,(T,k)=>'x="'+(parseFloat(k)+f.offsetX)+'"').replace(/y="([^"]+)"/,(T,k)=>'y="'+(parseFloat(k)+f.offsetY)+'"');f.spreadRadius&&f.spreadRadius<0&&(l+=P("mask",{id:b+"-neg",maskUnits:"userSpaceOnUse"},w.replace('stroke="#fff"','stroke="#000"').replace(/stroke-width="[^"]+"/,`stroke-width="${-f.spreadRadius*2}"`))),f.spreadRadius&&f.spreadRadius<0&&(w=P("g",{mask:`url(#${b}-neg)`},w)),l+=P("defs",{},P("filter",{id:_,x:`${g/e*100}%`,y:`${p/t*100}%`,width:`${(h-g)/e*100}%`,height:`${(m-p)/t*100}%`},P("feGaussianBlur",{stdDeviation:f.blurRadius/2,result:"b"})+P("feFlood",{"flood-color":f.color,in:"SourceGraphic",result:"f"})+P("feComposite",{in:"f",in2:"b",operator:f.inset?"out":"in"})))+P("g",{mask:`url(#${b})`,filter:`url(#${_})`,opacity:r},w),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,g=a==="dashed"?`${f*1.2} ${f*2}`:a==="dotted"?`0 ${f*2}`:void 0;return P("line",{x1:t,y1:d,x2:t+e,y2:d,stroke:o,"stroke-width":f,"stroke-dasharray":g,"stroke-linecap":a==="dotted"?"round":"square","clip-path":i?`url(#${i})`:void 0})}async function*Sn(e,t){var Ao;let n=await We(),{parentStyle:r,inheritedStyle:i,parent:s,font:o,id:a,isInheritingTransform:u,debug:l,embedFont:f,graphemeImages:d,locale:g,canLoadAdditionalAssets:h}=t,{textAlign:p,textOverflow:m,whiteSpace:_,wordBreak:b,lineHeight:y,textTransform:w,textWrap:T,fontSize:k,filter:C,_inheritedBackgroundClipTextPath:D}=r;e=Yl(e,w,g);let{content:N,shouldCollapseWhitespace:V,allowSoftWrap:K}=Ql(e,_),{words:re,requiredBreaks:U,allowBreakWord:F}=Xl(N,b),J=Kl(n,p);s.insertChild(J,s.getChildCount()),Yo(r.flexShrink)&&s.setFlexShrink(1);let j=o.getEngine(k,y,r,g),ce=h?me(e,"grapheme").filter(q=>!j.has(q)):[];yield ce.map(q=>({word:q,locale:g})),ce.length&&(j=o.getEngine(k,y,r,g));let _e=Jl(j,r);function ne(q){return!!(d&&d[q])}function Z(q){let B=0;for(let W of q)ne(W)?B+=k:B+=_e(W);return B}let Me=q=>{if(q.length===0)return{originWidth:0,endingSpacesWidth:0};let B=Z(me(q,"grapheme")),W=q.trimEnd()===q?B:Z(me(q.trimEnd(),"grapheme"));return{originWidth:B,endingSpacesWidth:B-W}},I=[],L=[],$=[],M=[],ie=[];function xe(q){let B=0,W=0,we=0,pe=-1,he=0,oe=0,ue=0;I=[],$=[0],M=[],ie=[];let Fe=0;for(;Fe<re.length;){let Y=re[Fe],Je=U[Fe],Se=0,je=0,{originWidth:wt,endingSpacesWidth:Ze}=Me(Y);Se=wt,je=Ze,Je&&oe===0&&(oe=j.height(Y));let le=",.!?:-@)>]}%#".indexOf(Y[0])<0,de=!W,He=Fe&&le&&W+Se>q+je&&K;if(F&&Se>q&&(!W||He||Je)){let et=me(Y,"grapheme");re.splice(Fe,1,...et),W>0&&(I.push(W),L.push(ue),B++,he+=oe,W=0,oe=0,ue=0,$.push(1),pe=-1);continue}if(Je||He)V&&Y===" "&&(Se=0),I.push(W),L.push(ue),B++,he+=oe,W=Se,oe=Se?j.height(Y):0,ue=Se?j.baseline(Y):0,$.push(1),pe=-1,Je||(we=Math.max(we,q));else{W+=Se;let et=j.height(Y);et>oe&&(oe=et,ue=j.baseline(Y)),de&&$[$.length-1]++}de&&pe++,we=Math.max(we,W);let ct=W-Se;if(Se===0)ie.push({y:he,x:ct,width:0,line:B,lineIndex:pe,isImage:!1});else{let et=me(Y,"word");for(let un=0;un<et.length;un++){let ln=et[un],br=0,Io=!1;ne(ln)?(br=k,Io=!0):br=_e(ln),M.push(ln),ie.push({y:he,x:ct,width:br,line:B,lineIndex:pe,isImage:Io}),ct+=br}}Fe++}return W&&(B++,I.push(W),L.push(ue),he+=oe),{width:we,height:he}}let Ue={width:0,height:0};J.setMeasureFunc(q=>{let{width:B,height:W}=xe(q);if(T==="balance"){let we=B/2,pe=B,he=B;for(;we+1<pe;){he=(we+pe)/2;let{height:oe}=xe(he);oe>W?we=he:pe=he}return xe(pe),Ue={width:pe,height:W},{width:pe,height:W}}return Ue={width:B,height:W},{width:B,height:W}});let[sl,al]=yield,rn="",hr="",Ge=i._inheritedClipPathId,So=i._inheritedMaskId,{left:ko,top:To,width:nn,height:ul}=J.getComputedLayout(),on=s.getComputedWidth()-s.getComputedPadding(n.EDGE_LEFT)-s.getComputedPadding(n.EDGE_RIGHT)-s.getComputedBorder(n.EDGE_LEFT)-s.getComputedBorder(n.EDGE_RIGHT),ut=sl+ko,lt=al+To,{matrix:Ne,opacity:mr}=ds({left:ko,top:To,width:nn,height:ul,isInheritingTransform:u},r),ft="";if(r.textShadowOffset){let{textShadowColor:q,textShadowOffset:B,textShadowRadius:W}=r;Array.isArray(r.textShadowOffset)||(q=[q],B=[B],W=[W]),ft=ps({width:Ue.width,height:Ue.height,id:a},{shadowColor:q,shadowOffset:B,shadowRadius:W}),ft=P("defs",{},ft)}let xt="",gr="",Eo="",sn=-1,Oo=m==="ellipsis"?Z(["\u2026"]):0,ll=m==="ellipsis"?Z([" "]):0,vr={},ze=null,Po=0;for(let q=0;q<M.length;q++){let B=ie[q];if(!B)continue;let W=M[q],we=null,pe=!1,he=d?d[W]:null,oe=B.y,ue=B.x,Fe=B.width,Y=B.line;if(Y===sn)continue;let Je=!1;if(I.length>1){let le=nn-I[Y];if(p==="right"||p==="end")ue+=le;else if(p==="center")ue+=le/2;else if(p==="justify"&&Y<I.length-1){let de=$[Y];ue+=(de>1?le/(de-1):0)*B.lineIndex,Je=!0}}if(vr[Y]||(vr[Y]=[ue,Je?nn:I[Y]]),m==="ellipsis"&&I[Y]>on&&B.x+Fe+Oo+ll>on){let le=me(W,"grapheme",g),de="",He=0;for(let an of le){let ct=B.x+Z([de+an]);if(de&&ct+Oo>on)break;de+=an,He=ct}W=de+"\u2026",sn=Y,vr[Y][1]=He,pe=!0}let Se=L[Y],je=j.baseline(W),wt=j.height(W),Ze=Se-je;if(he)oe+=0;else if(f){if(!Go.includes(W)&&M[q+1]&&ie[q+1]&&!ie[q+1].isImage&&oe===ie[q+1].y&&!pe){ze===null&&(Po=ue),ze=ze===null?W:ze+W;continue}let le=ze===null?W:ze+W,de=ze===null?ue:Po,He=B.width+ue-de;we=j.getSVG(le,{...r,left:ut+de,top:lt+oe+je+Ze,letterSpacing:r.letterSpacing}),ze=null,l&&(Eo+=P("rect",{x:ut+de,y:lt+oe+Ze,width:He,height:wt,fill:"transparent",stroke:"#575eff","stroke-width":1,transform:Ne||void 0,"clip-path":Ge?`url(#${Ge})`:void 0})+P("line",{x1:ut+ue,x2:ut+ue+B.width,y1:lt+oe+Ze+je,y2:lt+oe+Ze+je,stroke:"#14c000","stroke-width":1,transform:Ne||void 0,"clip-path":Ge?`url(#${Ge})`:void 0}))}else oe+=je+Ze;if(r.textDecorationLine&&(Y!==((Ao=ie[q+1])==null?void 0:Ao.line)||sn===Y)){let le=vr[Y];le&&!le[2]&&(xt+=_n({left:ut+le[0],top:lt+wt*+Y,width:le[1],ascender:j.baseline(W),clipPathId:Ge},r),le[2]=1)}if(we!==null)gr+=we+" ";else{let[le,de]=wn({content:W,filter:ft,id:a,left:ut+ue,top:lt+oe,width:Fe,height:wt,matrix:Ne,opacity:mr,image:he,clipPathId:Ge,debug:l,shape:!!D,decorationShape:xt},r);rn+=le,hr+=de,xt=""}}if(gr){let q=r.color!=="transparent"&&mr!==0?P("path",{fill:r.color,d:gr,transform:Ne||void 0,opacity:mr!==1?mr:void 0,"clip-path":Ge?`url(#${Ge})`:void 0,mask:So?`url(#${So})`:void 0,style:C?`filter:${C}`:void 0}):"";D&&(hr=P("path",{d:gr,transform:Ne||void 0})),rn+=(ft?ft+P("g",{filter:`url(#satori_s-${a})`},q+xt):q+xt)+Eo}return hr&&(r._inheritedBackgroundClipTextPath.value+=hr),rn}function Yl(e,t,n){return t==="uppercase"?e=e.toLocaleUpperCase(n):t==="lowercase"?e=e.toLocaleLowerCase(n):t==="capitalize"&&(e=me(e,"word",n).map(r=>me(r,"grapheme",n).map((i,s)=>s===0?i.toLocaleUpperCase(n):i).join("")).join("")),e}function Xl(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 Ql(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 Kl(e,t){let n=e.Node.create();return n.setAlignItems(e.ALIGN_BASELINE),n.setJustifyContent(ge(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 Jl(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]+\.?)))\%/,emLikeValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))(r?em|vw|vh)/,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 L=new Error(t+": "+I);throw L.source=t,L}function r(){var I=i();return t.length>0&&n("Invalid input not EOF"),I}function i(){return C(s)}function s(){return a("linear-gradient",e.linearGradient,l,ms)||a("repeating-linear-gradient",e.repeatingLinearGradient,l,ms)||a("radial-gradient",e.radialGradient,h)||a("repeating-radial-gradient",e.repeatingRadialGradient,h)}function o(I={}){var $,M,ie,xe;let L={...I};return Object.assign(L,{style:(L.style||[]).length>0?L.style:[{type:"extent-keyword",value:"farthest-corner"}],at:{type:"position",value:{x:{type:"position-keyword",value:"center",...((M=($=L.at)==null?void 0:$.value)==null?void 0:M.x)||{}},y:{type:"position-keyword",value:"center",...((xe=(ie=L.at)==null?void 0:ie.value)==null?void 0:xe.y)||{}}}}}),I.value||Object.assign(L,{type:"shape",value:L.style.some(Ue=>["%","extent-keyword"].includes(Ue.type))?"ellipse":"circle"}),L}function a(I,L,$,M){return u(L,function(ie){var xe=$();return xe?Z(e.comma)||n("Missing comma before color stops"):xe=M,{type:I,orientation:I.endsWith("radial-gradient")?(xe==null?void 0:xe.map(Ue=>o(Ue)))??[o()]:xe,colorStops:C(D)}})}function u(I,L){var $=Z(I);if($){Z(e.startCall)||n("Missing (");var M=L($);return Z(e.endCall)||n("Missing )"),M}}function l(){return f()||d()||g()}function f(){return ne("directional",e.sideOrCorner,1)}function d(){return ne("angular",e.angleValue,1)}function g(){return ne("directional",e.zeroValue,0)}function h(){var I,L=p(),$;return L&&(I=[],I.push(L),$=t,Z(e.comma)&&(L=p(),L?I.push(L):t=$)),I}function p(){let I=m(),L=w();if(!(!I&&!L))return{...I,at:L}}function m(){let I=_()||b(),L=y()||ce()||J(),$=ne("%",e.percentageValue,1);if(I)return{...I,style:[L,$].filter(M=>M)};if(L)return{style:[L,$].filter(M=>M),..._()||b()}}function _(){return ne("shape",/^(circle)/i,0)}function b(){return ne("shape",/^(ellipse)/i,0)}function y(){return ne("extent-keyword",e.extentKeywords,1)}function w(){if(ne("position",/^at/,0)){var I=T();return I||n("Missing positioning value"),I}}function T(){var I=k();if(I.x||I.y)return{type:"position",value:I}}function k(){return{x:J(),y:J()}}function C(I){var L=I(),$=[];if(L)for($.push(L);Z(e.comma);)L=I(),L?$.push(L):n("One extra comma");return $}function D(){var I=N();return I||n("Expected color definition"),I.length=J(),I}function N(){return K()||U()||re()||V()}function V(){return ne("literal",e.literalColor,0)}function K(){return ne("hex",e.hexColor,1)}function re(){return u(e.rgbColor,function(){return{type:"rgb",value:C(F)}})}function U(){return u(e.rgbaColor,function(){return{type:"rgba",value:C(F)}})}function F(){return Z(e.number)[1]}function J(){return ne("%",e.percentageValue,1)||j()||ce()}function j(){return ne("position-keyword",e.positionKeywords,1)}function ce(){return ne("px",e.pixelValue,1)||_e(e.emLikeValue,1)}function _e(I,L){var $=Z(I);if($)return{type:$[5],value:$[L]}}function ne(I,L,$){var M=Z(L);if(M)return{type:I,value:M[$]}}function Z(I){var L,$;return $=/^[\n\r\t\s]+/.exec(t),$&&Me($[0].length),L=I.exec(t),L&&Me(L[0].length),L}function Me(I){t=t.substr(I)}return function(I){return t=I.toString(),r()}}();var Tn=kn;function Zl(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 ef(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 tf(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 Ve(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)=>tf(s,[t,n][o]))}function gs(e,t){let n=[];for(let o of t){let a=Zl(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},l){u=u||"repeat";let f=u==="repeat-x"||u==="repeat",d=u==="repeat-y"||u==="repeat",g=En(o,{x:t,y:n,defaultX:t,defaultY:n}),h=En(a,{x:t,y:n,defaultX:0,defaultY:0});if(s.startsWith("linear-gradient(")){let p=Tn.parse(s)[0],[m,_]=g,b,y,w,T,k;if(p.orientation.type==="directional")[b,y,w,T]=ef(p.orientation.value),k=Math.sqrt(Math.pow((w-b)*m,2)+Math.pow((T-y)*_,2));else if(p.orientation.type==="angular"){let U=function(F){if(F=(F%(Math.PI*2)+Math.PI*2)%(Math.PI*2),Math.abs(F-Math.PI/2)<1e-6){b=0,y=0,w=1,T=0,k=m;return}else if(Math.abs(F)<1e-6){b=0,y=1,w=0,T=0,k=_;return}if(F>=Math.PI/2&&F<Math.PI){U(Math.PI-F),y=1-y,T=1-T;return}else if(F>=Math.PI){U(F-Math.PI);let L=b;b=w,w=L,L=y,y=T,T=L;return}let J=Math.tan(F),j=J*re,ce=Math.atan(j),_e=Math.sqrt(2)*Math.cos(Math.PI/4-ce);b=0,y=1,w=Math.sin(ce)*_e,T=1-Math.cos(ce)*_e;let ne=1,Z=1/J,Me=Math.abs((ne*re+Z)/Math.sqrt(ne*ne+Z*Z)/Math.sqrt(re*re+1));k=Math.sqrt(m*m+_*_)*Me},re=m/_;U(+p.orientation.value/180*Math.PI)}let C=gs(k,p.colorStops),D=`satori_bi${e}`,N=`satori_pattern_${e}`,V=P("pattern",{id:N,x:h[0]/t,y:h[1]/n,width:f?m/t:"1",height:d?_/n:"1",patternUnits:"objectBoundingBox"},P("linearGradient",{id:D,x1:b,y1:y,x2:w,y2:T},C.map(K=>P("stop",{offset:K.offset*100+"%","stop-color":K.color})).join(""))+P("rect",{x:0,y:0,width:m,height:_,fill:`url(#${D})`}));return[N,V]}if(s.startsWith("radial-gradient(")){let p=Tn.parse(s)[0],m=p.orientation[0],[_,b]=g,y="circle",w=_/2,T=b/2;if(m.type==="shape"){if(y=m.value,m.at)if(m.at.type==="position"){let U=rf(m.at.value.x,m.at.value.y,_,b,l.fontSize,l);w=U.x,T=U.y}else throw new Error("orientation.at.type not implemented: "+m.at.type)}else throw new Error("orientation.type not implemented: "+m.type);let k=gs(t,p.colorStops),C=`satori_radial_${e}`,D=`satori_pattern_${e}`,N=`satori_mask_${e}`,V=nf(y,m.style,l.fontSize,{x:w,y:T},[_,b],l),K=P("pattern",{id:D,x:h[0]/t,y:h[1]/n,width:f?_/t:"1",height:d?b/n:"1",patternUnits:"objectBoundingBox"},P("radialGradient",{id:C},k.map(U=>P("stop",{offset:U.offset,"stop-color":U.color})).join(""))+P("mask",{id:N},P("rect",{x:0,y:0,width:_,height:b,fill:"#fff"}))+P("rect",{x:0,y:0,width:_,height:b,fill:k.at(-1).color})+P(y,{cx:w,cy:T,width:_,height:b,...V,fill:`url(#${C})`,mask:`url(#${N})`}));return[D,K]}if(s.startsWith("url(")){let p=En(o,{x:t,y:n,defaultX:0,defaultY:0}),[m,_,b]=await Pr(s.slice(4,-1)),y=p[0]||_,w=p[1]||b;return[`satori_bi${e}`,P("pattern",{id:`satori_bi${e}`,patternContentUnits:"userSpaceOnUse",patternUnits:"userSpaceOnUse",x:h[0]+r,y:h[1]+i,width:f?y:"100%",height:d?w:"100%"},P("image",{x:0,y:0,width:y,height:w,preserveAspectRatio:"none",href:m}))]}throw new Error(`Invalid background image: "${s}"`)}function rf(e,t,n,r,i,s){let o={x:n/2,y:r/2};return e.type==="position-keyword"?Object.assign(o,vs(e.value,n,r,"x")):o.x=se(`${e.value}${e.type}`,i,n,s,!0),t.type==="position-keyword"?Object.assign(o,vs(t.value,n,r,"y")):o.y=se(`${t.value}${t.type}`,i,r,s,!0),o}function vs(e,t,n,r){switch(e){case"center":return{[r]:r==="x"?t/2:n/2};case"left":return{x:0};case"top":return{y:0};case"right":return{x:t};case"bottom":return{y:n}}}function nf(e,t,n,r,i,s){let[o,a]=i,{x:u,y:l}=r,f={},d=0,g=0;if(!t.some(p=>p.type==="extent-keyword")){if(t.some(p=>p.value.startsWith("-")))throw new Error("disallow setting negative values to the size of the shape. Check https://w3c.github.io/csswg-drafts/css-images/#valdef-rg-size-length-0");return e==="circle"?{r:se(`${t[0].value}${t[0].type}`,n,o,s,!0)}:{rx:se(`${t[0].value}${t[0].type}`,n,o,s,!0),ry:se(`${t[1].value}${t[1].type}`,n,a,s,!0)}}switch(t[0].value){case"farthest-corner":d=Math.max(Math.abs(o-u),Math.abs(u)),g=Math.max(Math.abs(a-l),Math.abs(l));break;case"closest-corner":d=Math.min(Math.abs(o-u),Math.abs(u)),g=Math.min(Math.abs(a-l),Math.abs(l));break;case"farthest-side":return e==="circle"?f.r=Math.max(Math.abs(o-u),Math.abs(u),Math.abs(a-l),Math.abs(l)):(f.rx=Math.max(Math.abs(o-u),Math.abs(u)),f.ry=Math.max(Math.abs(a-l),Math.abs(l))),f;case"closest-side":return e==="circle"?f.r=Math.min(Math.abs(o-u),Math.abs(u),Math.abs(a-l),Math.abs(l)):(f.rx=Math.min(Math.abs(o-u),Math.abs(u)),f.ry=Math.min(Math.abs(a-l),Math.abs(l))),f}if(e==="circle")f.r=Math.sqrt(d*d+g*g);else{let p=g!==0?d/g:1;d===0?(f.rx=0,f.ry=0):(f.ry=Math.sqrt(d*d+g*g*p*p)/p,f.rx=f.ry*p)}return f}c();function of([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 Ir(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 Rr(e){e[0]=e[1]=Math.min(e[0],e[1])}function Lr(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(se(s[0],r,t,i,!0),t),Math.min(se(s[1],r,n,i,!0),n)]]}return typeof e=="number"?[!0,[Math.min(e,t),Math.min(e,n)]]:[!0,void 0]}var Cr=e=>e&&e[0]!==0&&e[1]!==0;function pt({left:e,top:t,width:n,height:r},i,s){let{borderTopLeftRadius:o,borderTopRightRadius:a,borderBottomLeftRadius:u,borderBottomRightRadius:l,fontSize:f}=i,d,g,h,p;if([d,o]=Lr(o,n,r,f,i),[g,a]=Lr(a,n,r,f,i),[h,u]=Lr(u,n,r,f,i),[p,l]=Lr(l,n,r,f,i),!s&&!Cr(o)&&!Cr(a)&&!Cr(u)&&!Cr(l))return"";o||=[0,0],a||=[0,0],u||=[0,0],l||=[0,0],[o[0],a[0]]=Ir(o[0],a[0],n),[u[0],l[0]]=Ir(u[0],l[0],n),[o[1],u[1]]=Ir(o[1],u[1],r),[a[1],l[1]]=Ir(a[1],l[1],r),d&&Rr(o),g&&Rr(a),h&&Rr(u),p&&Rr(l);let m=[];m[0]=[a,a],m[1]=[l,[-l[0],l[1]]],m[2]=[u,[-u[0],-u[1]]],m[3]=[o,[o[0],-o[1]]];let _=`h${n-o[0]-a[0]} a${m[0][0]} 0 0 1 ${m[0][1]}`,b=`v${r-a[1]-l[1]} a${m[1][0]} 0 0 1 ${m[1][1]}`,y=`h${l[0]+u[0]-n} a${m[2][0]} 0 0 1 ${m[2][1]}`,w=`v${u[1]+o[1]-r} a${m[3][0]} 0 0 1 ${m[3][1]}`;if(s){let k=function(U){let F=of([o,a,l,u][U]);return U===0?[[e+o[0]-F,t+o[1]-F],[e+o[0],t]]:U===1?[[e+n-a[0]+F,t+a[1]-F],[e+n,t+a[1]]]:U===2?[[e+n-l[0]+F,t+r-l[1]+F],[e+n-l[0],t+r]]:[[e+u[0]-F,t+r-u[1]+F],[e,t+r-u[1]]]},T=s.indexOf(!1);if(!s.includes(!0))throw new Error("Invalid `partialSides`.");if(T===-1)T=0;else for(;!s[T];)T=(T+1)%4;let C="",D=k(T),N=`M${D[0]} A${m[(T+3)%4][0]} 0 0 1 ${D[1]}`,V=0;for(;V<4&&s[(T+V)%4];V++)C+=N+" ",N=[_,b,y,w][(T+V)%4];let K=(T+V)%4;C+=N.split(" ")[0];let re=k(K);return C+=` A${m[(K+3)%4][0]} 0 0 1 ${re[0]}`,C}return`M${e+o[0]},${t} ${_} ${b} ${y} ${w}`}c();c();c();function bs(e,t,n){return n[e+"Width"]===n[t+"Width"]&&n[e+"Style"]===n[t+"Style"]&&n[e+"Color"]===n[t+"Color"]}function ys({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[P("clipPath",{id:f,"clip-path":t?`url(#${t})`:void 0},P(r,{x:i,y:s,width:o,height:a,d:n||void 0})),f]}function At({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&&bs(u[f],u[(f+3)%4],a);)f=(f+3)%4;let d=[!1,!1,!1,!1],g=[];for(let h=0;h<4;h++){let p=(f+h)%4,m=(f+h+1)%4,_=u[p],b=u[m];if(d[p]=!0,g=[a[_+"Width"],a[_+"Style"],a[_+"Color"],_],!bs(_,b,a)){let y=(g[0]||0)+(s&&!o&&a[_.replace("border","padding")]||0);y&&(l+=P("path",{width:n,height:r,...i,fill:"none",stroke:s?"#000":g[2],"stroke-width":y*2,"stroke-dasharray":!s&&g[1]==="dashed"?y*2+" "+y:void 0,d:pt({left:e,top:t,width:n,height:r},a,d)})),d=[!1,!1,!1,!1]}}if(d.some(Boolean)){let h=(g[0]||0)+(s&&!o&&a[g[3].replace("border","padding")]||0);h&&(l+=P("path",{width:n,height:r,...i,fill:"none",stroke:s?"#000":g[2],"stroke-width":h*2,"stroke-dasharray":!s&&g[1]==="dashed"?h*2+" "+h:void 0,d:pt({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),g={x:t+u,y:n+l,width:r-u-f,height:i-l-d};return P("mask",{id:e},P("rect",{...g,fill:"#fff",mask:a._inheritedMaskId?`url(#${a._inheritedMaskId})`:void 0})+At({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 P("clipPath",{id:`satori_cp-${o}`,"clip-path":a},P(i?"path":"rect",{x:e,y:t,width:n,height:r,d:i||void 0}))+f}async function It({id:e,left:t,top:n,width:r,height:i,isInheritingTransform:s,src:o,debug:a},u,l){if(u.display==="none")return"";let f=!!o,d="rect",g="",h="",p=[],m=1,_="";u.backgroundColor&&p.push(u.backgroundColor),u.opacity!==void 0&&(m=+u.opacity),u.transform&&(g=Pt({left:t,top:n,width:r,height:i},u.transform,s,u.transformOrigin));let b="";if(u.backgroundImage){let U=[];for(let F=0;F<u.backgroundImage.length;F++){let J=u.backgroundImage[F],j=await On({id:e+"_"+F,width:r,height:i,left:t,top:n},J,l);j&&U.unshift(j)}for(let F of U)p.push(`url(#${F[0]})`),h+=F[1],F[2]&&(b+=F[2])}let y=pt({left:t,top:n,width:r,height:i},u);y&&(d="path");let w=u._inheritedClipPathId,T=u._inheritedMaskId;a&&(_=P("rect",{x:t,y:n,width:r,height:i,fill:"transparent",stroke:"#ff5757","stroke-width":1,transform:g||void 0,"clip-path":w?`url(#${w})`:void 0}));let{backgroundClip:k,filter:C}=u,D=k==="text"?`url(#satori_bct-${e})`:w?`url(#${w})`:void 0,N=An({left:t,top:n,width:r,height:i,path:y,id:e,matrix:g,currentClipPath:D,src:o},u),V=p.map(U=>P(d,{x:t,y:n,width:r,height:i,fill:U,d:y||void 0,transform:g||void 0,"clip-path":D,style:C?`filter:${C}`:void 0,mask:T?`url(#${T})`:void 0})).join(""),K=ys({id:e,left:t,top:n,width:r,height:i,currentClipPathId:w,borderPath:y,borderType:d},u);if(f){let U=(u.borderLeftWidth||0)+(u.paddingLeft||0),F=(u.borderTopWidth||0)+(u.paddingTop||0),J=(u.borderRightWidth||0)+(u.paddingRight||0),j=(u.borderBottomWidth||0)+(u.paddingBottom||0),ce=u.objectFit==="contain"?"xMidYMid":u.objectFit==="cover"?"xMidYMid slice":"none";V+=P("image",{x:t+U,y:n+F,width:r-U-J,height:i-F-j,href:o,preserveAspectRatio:ce,transform:g||void 0,style:C?`filter:${C}`:void 0,"clip-path":`url(#satori_cp-${e})`,mask:`url(#satori_om-${e})`})}if(K){h+=K[0];let U=K[1];V+=At({left:t,top:n,width:r,height:i,props:{transform:g||void 0,"clip-path":`url(#${U})`}},u)}let re=hs({width:r,height:i,id:e,opacity:m,shape:P(d,{x:t,y:n,width:r,height:i,fill:"#fff",stroke:"#fff","stroke-width":0,d:y||void 0,transform:g||void 0,"clip-path":D,mask:T?`url(#${T})`:void 0})},u);return(h?P("defs",{},h):"")+(re?re[0]:"")+N+(m!==1?`<g opacity="${m}">`:"")+(b||V)+(m!==1?"</g>":"")+(re?re[1]:"")+_}c();var xs=tt(require("emoji-regex"),1),sf=new RegExp((0,xs.default)(),""),In={emoji:sf,symbol:/\p{Symbol}/u,math:/\p{Math}/u},Rn={"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},Dr=Object.keys({...Rn,...In});function ws(e){return Dr.includes(e)}function _s(e,t){for(let r of Object.keys(In))if(In[r].test(e))return[r];let n=Object.keys(Rn).filter(r=>Rn[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 Ss(e){if(e)return Dr.find(t=>t.toLowerCase()===e.toLowerCase()||t.toLowerCase().startsWith(e.toLowerCase()))}async function*Rt(e,t){var $;let n=await We(),{id:r,inheritedStyle:i,parent:s,font:o,debug:a,locale:u,embedFont:l=!0,graphemeImages:f,canLoadAdditionalAssets:d,getTwStyles:g}=t;if(e===null||typeof e>"u")return yield,yield,"";if(!Sr(e)||typeof e.type=="function"){let M;if(!Sr(e))M=Sn(String(e),t),yield(await M.next()).value;else{if(qo(e.type))throw new Error("Class component is not supported.");M=Rt(e.type(e.props),t),yield(await M.next()).value}await M.next();let ie=yield;return(await M.next(ie)).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:m,children:_,tw:b,lang:y=u}=p||{},w=Ss(y);if(b){let M=g(b,m);m=Object.assign(M,m)}let T=n.Node.create();s.insertChild(T,s.getChildCount());let[k,C]=await xn(T,h,i,m,p),D=k.transform===i.transform;if(D||(k.transform.__parent=i.transform),k.overflow==="hidden"&&(C._inheritedClipPathId=`satori_cp-${r}`,C._inheritedMaskId=`satori_om-${r}`),k.backgroundClip==="text"){let M={value:""};C._inheritedBackgroundClipTextPath=M,k._inheritedBackgroundClipTextPath=M}let N=Uo(_),V=[],K=0,re=[];for(let M of N){let ie=Rt(M,{id:r+"-"+K++,parentStyle:k,inheritedStyle:C,isInheritingTransform:!0,parent:T,font:o,embedFont:l,debug:a,graphemeImages:f,canLoadAdditionalAssets:d,locale:w,getTwStyles:g,onNodeDetected:t.onNodeDetected});d?re.push(...(await ie.next()).value||[]):await ie.next(),V.push(ie)}yield re;for(let M of V)await M.next();let[U,F]=yield,{left:J,top:j,width:ce,height:_e}=T.getComputedLayout();J+=U,j+=F;let ne="",Z="",Me="",{children:I,...L}=p;if(($=t.onNodeDetected)==null||$.call(t,{left:J,top:j,width:ce,height:_e,type:h,props:L,key:e.key,textContent:Sr(I)?void 0:I}),h==="img"){let M=k.__src;Z=await It({id:r,left:J,top:j,width:ce,height:_e,src:M,isInheritingTransform:D,debug:a},k,C)}else if(h==="svg"){let M=k.color,ie=Ho(e,M);Z=await It({id:r,left:J,top:j,width:ce,height:_e,src:ie,isInheritingTransform:D,debug:a},k,C)}else{let M=m==null?void 0:m.display;if(h==="div"&&_&&typeof _!="string"&&M!=="flex"&&M!=="none")throw new Error('Expected <div> to have explicit "display: flex" or "display: none" if it has more than one child node.');Z=await It({id:r,left:J,top:j,width:ce,height:_e,isInheritingTransform:D,debug:a},k,C)}for(let M of V)ne+=(await M.next([J,j])).value;return k._inheritedBackgroundClipTextPath&&(Me+=P("clipPath",{id:`satori_bct-${r}`,"clip-path":k._inheritedClipPathId?`url(#${k._inheritedClipPathId})`:void 0},k._inheritedBackgroundClipTextPath.value)),Me+Z+ne}c();var Mr=tt(require("@shuding/opentype.js"),1);var ks="unknown";function af(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 Lt=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];af(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&&!ws(s))throw new Error(`Invalid value for props \`lang\`: "${s}". The value must be one of the following: ${Dr.join(", ")}.`);let o=s??ks,a=Mr.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 w=this.get({name:y,weight:i,style:s});if(w){a.push(w);return}let T=this.get({name:y+"_unknown",weight:i,style:s});if(T){a.push(T);return}});let u=Array.from(this.fonts.keys()),l=[],f=[],d=[];for(let y of u)if(!r.includes(y))if(o){let w=uf(y);w?w===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 g=new Map,h=(y,w=!0)=>{let T=[...a,...d,...l,...w?f:[]];if(typeof y>"u")return w?T[T.length-1]:void 0;let k=y.charCodeAt(0);if(g.has(k))return g.get(k);let C=T.find((D,N)=>!!D.charToGlyphIndex(y)||w&&N===T.length-1);return C&&g.set(k,C),C},p=(y,w=!1)=>{var k,C;return((w?(C=(k=y.tables)==null?void 0:k.os2)==null?void 0:C.sTypoAscender:0)||y.ascender)/y.unitsPerEm*t},m=(y,w=!1)=>{var k,C;return((w?(C=(k=y.tables)==null?void 0:k.os2)==null?void 0:C.sTypoDescender:0)||y.descender)/y.unitsPerEm*t},_=y=>h(y,!1),b={has:y=>{if(y===`
6
- `)return!0;let w=_(y);return w?(w._trackBrokenChars=[],w.stringToGlyphs(y),w._trackBrokenChars.length?(w._trackBrokenChars=void 0,!1):!0):!1},baseline:(y,w=typeof y>"u"?a[0]:h(y))=>{let T=p(w,!0),k=m(w,!0),C=b.height(y,w),{yMax:D,yMin:N}=w.tables.head,V=T-k,K=(D/(D-N)-1)*V;return C*((1.2/n+1)/2)+K},height:(y,w=typeof y>"u"?a[0]:h(y))=>(p(w)-m(w))*(n/1.2),measure:(y,w)=>this.measure(h,y,w),getSVG:(y,w)=>this.getSVG(h,y,w)};return b}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),g=t.unitsPerEm/f.unitsPerEm,h=new Mr.default.Path;h.unitsPerEm=t.unitsPerEm,h.commands=d.path.commands.map(m=>{let _={...m};for(let b in _)typeof _[b]=="number"&&(_[b]*=g);return _});let p=new Mr.default.Glyph({...d,advanceWidth:d.advanceWidth*g,xMin:d.xMin*g,xMax:d.xMax*g,yMin:d.yMin*g,yMax:d.yMax*g,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 uf(e){let t=e.split("_"),n=t[t.length-1];return n===ks?void 0:n}c();function Ln({width:e,height:t,content:n}){return P("svg",{width:e,height:t,viewBox:`0 0 ${e} ${t}`,xmlns:"http://www.w3.org/2000/svg"},n)}c();c();var nl=tt(Du());c();c();c();c();var Y0=["ios","android","windows","macos","web"];function Nu(e){return Y0.includes(e)}var X0=["portrait","landscape"];function Fu(e){return X0.includes(e)}var Mu;(function(e){e.fontSize="fontSize",e.lineHeight="lineHeight"})(Mu||(Mu={}));var z;(function(e){e.rem="rem",e.em="em",e.px="px",e.percent="%",e.vw="vw",e.vh="vh",e.none="<no-css-unit>"})(z||(z={}));function io(e){return typeof e=="string"}function oo(e){return typeof e=="object"}var so;function v(e){return{kind:"complete",style:e}}function ae(e,t={}){let{fractions:n}=t;if(n&&e.includes("/")){let[s="",o=""]=e.split("/",2),a=ae(s),u=ae(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,z.none];switch(i==null?void 0:i[1]){case"rem":return[r,z.rem];case"px":return[r,z.px];case"em":return[r,z.em];case"%":return[r,z.percent];case"vw":return[r,z.vw];case"vh":return[r,z.vh];default:return null}}function Be(e,t,n={}){let r=Ce(t,n);return r===null?null:v({[e]:r})}function Zr(e,t,n){let r=Ce(t);return r!==null&&(n[e]=r),n}function $u(e,t){let n=Ce(t);return n===null?null:{[e]:n}}function Ce(e,t={}){if(e===void 0)return null;let n=ae(String(e),t);return n?Ke(...n,t):null}function Ke(e,t,n={}){let{isNegative:r,device:i}=n;switch(t){case z.rem:return e*16*(r?-1:1);case z.px:return e*(r?-1:1);case z.percent:return`${r?"-":""}${e}%`;case z.none:return e*(r?-1:1);case z.vw:return i!=null&&i.windowDimensions?i.windowDimensions.width*(e/100):(ye("`vw` CSS unit requires configuration with `useDeviceContext()`"),null);case z.vh:return i!=null&&i.windowDimensions?i.windowDimensions.height*(e/100):(ye("`vh` CSS unit requires configuration with `useDeviceContext()`"),null);default:return null}}function ao(e){let t=ae(e);if(!t)return null;let[n,r]=t;switch(r){case z.rem:return n*16;case z.px:return n;default:return null}}var Q0={t:"Top",tr:"TopRight",tl:"TopLeft",b:"Bottom",br:"BottomRight",bl:"BottomLeft",l:"Left",r:"Right",x:"Horizontal",y:"Vertical"};function uo(e){return Q0[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 st(e,t={}){if(e.includes("/")){let n=Wu(e,{...t,fractions:!0});if(n)return n}return e[0]==="["&&(e=e.slice(1,-1)),Wu(e,t)}function Ae(e,t,n={}){let r=st(t,n);return r===null?null:v({[e]:r})}function Wu(e,t={}){if(e==="px")return 1;let n=ae(e,t);if(!n)return null;let[r,i]=n;return t.fractions&&(i=z.percent,r*=100),i===z.none&&(r=r/4,i=z.rem),Ke(r,i,t)}function K0(...e){console.warn(...e)}function J0(...e){}var ye=typeof process>"u"||((so=process==null?void 0:process.env)===null||so===void 0?void 0:so.JEST_WORKER_ID)===void 0?K0:J0;var Z0=[["aspect-square",v({aspectRatio:1})],["aspect-video",v({aspectRatio:16/9})],["items-center",v({alignItems:"center"})],["items-start",v({alignItems:"flex-start"})],["items-end",v({alignItems:"flex-end"})],["items-baseline",v({alignItems:"baseline"})],["items-stretch",v({alignItems:"stretch"})],["justify-start",v({justifyContent:"flex-start"})],["justify-end",v({justifyContent:"flex-end"})],["justify-center",v({justifyContent:"center"})],["justify-between",v({justifyContent:"space-between"})],["justify-around",v({justifyContent:"space-around"})],["justify-evenly",v({justifyContent:"space-evenly"})],["content-start",v({alignContent:"flex-start"})],["content-end",v({alignContent:"flex-end"})],["content-between",v({alignContent:"space-between"})],["content-around",v({alignContent:"space-around"})],["content-stretch",v({alignContent:"stretch"})],["content-center",v({alignContent:"center"})],["self-auto",v({alignSelf:"auto"})],["self-start",v({alignSelf:"flex-start"})],["self-end",v({alignSelf:"flex-end"})],["self-center",v({alignSelf:"center"})],["self-stretch",v({alignSelf:"stretch"})],["self-baseline",v({alignSelf:"baseline"})],["direction-inherit",v({direction:"inherit"})],["direction-ltr",v({direction:"ltr"})],["direction-rtl",v({direction:"rtl"})],["hidden",v({display:"none"})],["flex",v({display:"flex"})],["flex-row",v({flexDirection:"row"})],["flex-row-reverse",v({flexDirection:"row-reverse"})],["flex-col",v({flexDirection:"column"})],["flex-col-reverse",v({flexDirection:"column-reverse"})],["flex-wrap",v({flexWrap:"wrap"})],["flex-wrap-reverse",v({flexWrap:"wrap-reverse"})],["flex-nowrap",v({flexWrap:"nowrap"})],["flex-auto",v({flexGrow:1,flexShrink:1,flexBasis:"auto"})],["flex-initial",v({flexGrow:0,flexShrink:1,flexBasis:"auto"})],["flex-none",v({flexGrow:0,flexShrink:0,flexBasis:"auto"})],["overflow-hidden",v({overflow:"hidden"})],["overflow-visible",v({overflow:"visible"})],["overflow-scroll",v({overflow:"scroll"})],["absolute",v({position:"absolute"})],["relative",v({position:"relative"})],["italic",v({fontStyle:"italic"})],["not-italic",v({fontStyle:"normal"})],["oldstyle-nums",lr("oldstyle-nums")],["small-caps",lr("small-caps")],["lining-nums",lr("lining-nums")],["tabular-nums",lr("tabular-nums")],["proportional-nums",lr("proportional-nums")],["font-thin",v({fontWeight:"100"})],["font-100",v({fontWeight:"100"})],["font-extralight",v({fontWeight:"200"})],["font-200",v({fontWeight:"200"})],["font-light",v({fontWeight:"300"})],["font-300",v({fontWeight:"300"})],["font-normal",v({fontWeight:"normal"})],["font-400",v({fontWeight:"400"})],["font-medium",v({fontWeight:"500"})],["font-500",v({fontWeight:"500"})],["font-semibold",v({fontWeight:"600"})],["font-600",v({fontWeight:"600"})],["font-bold",v({fontWeight:"bold"})],["font-700",v({fontWeight:"700"})],["font-extrabold",v({fontWeight:"800"})],["font-800",v({fontWeight:"800"})],["font-black",v({fontWeight:"900"})],["font-900",v({fontWeight:"900"})],["include-font-padding",v({includeFontPadding:!0})],["remove-font-padding",v({includeFontPadding:!1})],["max-w-none",v({maxWidth:"99999%"})],["text-left",v({textAlign:"left"})],["text-center",v({textAlign:"center"})],["text-right",v({textAlign:"right"})],["text-justify",v({textAlign:"justify"})],["text-auto",v({textAlign:"auto"})],["underline",v({textDecorationLine:"underline"})],["line-through",v({textDecorationLine:"line-through"})],["no-underline",v({textDecorationLine:"none"})],["uppercase",v({textTransform:"uppercase"})],["lowercase",v({textTransform:"lowercase"})],["capitalize",v({textTransform:"capitalize"})],["normal-case",v({textTransform:"none"})],["w-auto",v({width:"auto"})],["h-auto",v({height:"auto"})],["shadow-sm",v({shadowOffset:{width:1,height:1},shadowColor:"#000",shadowRadius:1,shadowOpacity:.025,elevation:1})],["shadow",v({shadowOffset:{width:1,height:1},shadowColor:"#000",shadowRadius:1,shadowOpacity:.075,elevation:2})],["shadow-md",v({shadowOffset:{width:1,height:1},shadowColor:"#000",shadowRadius:3,shadowOpacity:.125,elevation:3})],["shadow-lg",v({shadowOffset:{width:1,height:1},shadowColor:"#000",shadowOpacity:.15,shadowRadius:8,elevation:8})],["shadow-xl",v({shadowOffset:{width:1,height:1},shadowColor:"#000",shadowOpacity:.19,shadowRadius:20,elevation:12})],["shadow-2xl",v({shadowOffset:{width:1,height:1},shadowColor:"#000",shadowOpacity:.25,shadowRadius:30,elevation:16})],["shadow-none",v({shadowOffset:{width:0,height:0},shadowColor:"#000",shadowRadius:0,shadowOpacity:0,elevation:0})]],fo=Z0;function lr(e){return{kind:"dependent",complete(t){(!t.fontVariant||!Array.isArray(t.fontVariant))&&(t.fontVariant=[]),t.fontVariant.push(e)}}}var fr=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 Ae("fontSize",e,n);if(typeof r=="string")return Be("fontSize",r);let i={},[s,o]=r,a=$u("fontSize",s);if(a&&(i=a),typeof o=="string")return v(Zr("lineHeight",qu(o,i),i));let{lineHeight:u,letterSpacing:l}=o;return u&&Zr("lineHeight",qu(u,i),i),l&&Zr("letterSpacing",l,i),v(i)}function qu(e,t){let n=ae(e);if(n){let[r,i]=n;if((i===z.none||i===z.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=ae(r);if(!i)return null;let[s,o]=i;if(o===z.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=Ke(s,o);return a!==null?v({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=st(r);return f&&typeof f=="number"?Bu(f,z.px,t,e):null}}if(s==="auto")return Uu(t,e,"auto");let o=ae(s);if(!o)return null;let[a,u]=o;return n&&(a=-a),Bu(a,u,t,e)}function Bu(e,t,n,r){let i=Ke(e,t);return i===null?null:Uu(n,r,i)}function Uu(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?ye(`invalid screen config value: ${s}->min: ${u.min}`):a[0]=l;let f=u.max?ao(u.max):1/0;return f===null?ye(`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 v({fontFamily:n});let r=n[0];return r?v({fontFamily:r}):null}c();function at(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=ju(t,n),!i)return null;if(r){let s=Number(r);if(!Number.isNaN(s))return i=Gu(i,s/100),v({[en[e].color]:i})}return{kind:"dependent",complete(s){let o=en[e].opacity,a=s[o];typeof a=="number"&&(i=Gu(i,a)),s[en[e].color]=i}}}function cr(e,t){let n=parseInt(t,10);if(Number.isNaN(n))return null;let r=n/100,i={[en[e].opacity]:r};return{kind:"complete",style:i}}function Gu(e,t){return e.startsWith("#")?e=em(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 en={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 em(e){let t=e;e=e.replace(tm,(o,a,u,l)=>a+a+u+u+l+l);let n=rm.exec(e);if(!n)return ye(`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 ju(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 ju(i.join("-"),s);if(i.length===0)return"";r=`${r}-${i.shift()}`}return""}var tm=/^#?([a-f\d])([a-f\d])([a-f\d])$/i,rm=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i;c();function Vu(e,t){let[n,r]=lo(e);if(n.match(/^(-?(\d)+)?$/))return nm(n,r,t==null?void 0:t.borderWidth);if(n=n.replace(/^-/,""),["dashed","solid","dotted"].includes(n))return v({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=at(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=Ae(a,u);return typeof(l==null?void 0:l.style[a])!="number"?null:l}function nm(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 Be(s,i)}function Yu(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 Hu(Be(i,s));let o=Ae(i,n);return typeof(o==null?void 0:o.style[i])!="number"?null:Hu(o)}function Hu(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 bt(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=Ce(s,{isNegative:n});if(a!==null)return Xu(e,i,a)}let o=st(t,{isNegative:n});return o!==null?Xu(e,i,o):null}function Xu(e,t,n){if(e!=="inset")return v({[e]:n});switch(t){case null:return v({top:n,left:n,right:n,bottom:n});case"y":return v({top:n,bottom:n});case"x":return v({left:n,right:n})}}c();function dr(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:v({[`flex${e}`]:s})}function Qu(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 v({flexGrow:Number(e),flexBasis:"0%"});let i=e.match(/^(\d+)\s+(\d+)$/);if(i)return v({flexGrow:Number(i[1]),flexShrink:Number(i[2])});if(i=e.match(/^(\d+)\s+([^ ]+)$/),i){let s=Ce((n=i[2])!==null&&n!==void 0?n:"");return s?v({flexGrow:Number(i[1]),flexBasis:s}):null}if(i=e.match(/^(\d+)\s+(\d+)\s+(.+)$/),i){let s=Ce((r=i[3])!==null&&r!==void 0?r:"");return s?v({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?Be(e,i,n):Ae(e,t,n)}function pr(e,t,n={},r){let i=Ce(r==null?void 0:r[t],n);return i?v({[e]:i}):(t==="screen"&&(t=e.includes("Width")?"100vw":"100vh"),Ae(e,t,n))}c();function Ku(e,t,n){let r=n==null?void 0:n[e];if(r){let i=ae(r,{isNegative:t});if(!i)return null;let[s,o]=i;if(o===z.em)return im(s);if(o===z.percent)return ye("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=Ke(s,o,{isNegative:t});return a!==null?v({letterSpacing:a}):null}return Ae("letterSpacing",e,{isNegative:t})}function im(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 Ju(e,t){let n=t==null?void 0:t[e];if(n){let i=ae(String(n));if(i)return v({opacity:i[0]})}let r=ae(e);return r?v({opacity:r[0]/100}):null}c();function Zu(e){let t=parseInt(e,10);return Number.isNaN(t)?null:{kind:"complete",style:{shadowOpacity:t/100}}}function el(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=st(e);return typeof t=="number"?t:null}var yt=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 g=t.trim().split(":"),h=[];g.length===1?this.string=t:(this.string=(o=g.pop())!==null&&o!==void 0?o:"",h=g),this.char=this.string[0];let p=mo((a=this.config.theme)===null||a===void 0?void 0:a.screens);for(let m of h)if(p[m]){let _=(u=p[m])===null||u===void 0?void 0:u[2];_!==void 0&&(this.order=((l=this.order)!==null&&l!==void 0?l:0)+_);let b=(f=i.windowDimensions)===null||f===void 0?void 0:f.width;if(b){let[y,w]=(d=p[m])!==null&&d!==void 0?d:[0,0];(b<=y||b>w)&&(this.isNull=!0)}else this.isNull=!0}else Nu(m)?this.isNull=m!==s:Fu(m)?i.windowDimensions?(i.windowDimensions.width>i.windowDimensions.height?"landscape":"portrait")!==m?this.isNull=!0:this.incrementOrder():this.isNull=!0:m==="retina"?i.pixelDensity===2?this.incrementOrder():this.isNull=!0:m==="dark"?i.colorScheme!=="dark"?this.isNull=!0:this.incrementOrder():this.handlePossibleArbitraryBreakpointPrefix(m)||(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=pr("minWidth",this.rest,this.context,o==null?void 0:o.minWidth),a)||this.consumePeeked("min-h-")&&(a=pr("minHeight",this.rest,this.context,o==null?void 0:o.minHeight),a)||this.consumePeeked("max-w-")&&(a=pr("maxWidth",this.rest,this.context,o==null?void 0:o.maxWidth),a)||this.consumePeeked("max-h-")&&(a=pr("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=at("text",this.rest,o==null?void 0:o.textColor),a)||this.consumePeeked("opacity-")&&(a=cr("text",this.rest),a))||this.consumePeeked("font-")&&(a=go(this.rest,o==null?void 0:o.fontFamily),a)||this.consumePeeked("aspect-")&&(this.consumePeeked("ratio-")&&ye("`aspect-ratio-{ratio}` is deprecated, use `aspect-{ratio}` instead"),a=Be("aspectRatio",this.rest,{fractions:!0}),a)||this.consumePeeked("tint-")&&(a=at("tint",this.rest,o==null?void 0:o.colors),a)||this.consumePeeked("bg-")&&(a=at("bg",this.rest,o==null?void 0:o.backgroundColor),a||this.consumePeeked("opacity-")&&(a=cr("bg",this.rest),a))||this.consumePeeked("border")&&(a=Vu(this.rest,o),a||this.consumePeeked("-opacity-")&&(a=cr("border",this.rest),a))||this.consumePeeked("rounded")&&(a=Yu(this.rest,o==null?void 0:o.borderRadius),a)||this.consumePeeked("bottom-")&&(a=bt("bottom",this.rest,this.isNegative,o==null?void 0:o.inset),a)||this.consumePeeked("top-")&&(a=bt("top",this.rest,this.isNegative,o==null?void 0:o.inset),a)||this.consumePeeked("left-")&&(a=bt("left",this.rest,this.isNegative,o==null?void 0:o.inset),a)||this.consumePeeked("right-")&&(a=bt("right",this.rest,this.isNegative,o==null?void 0:o.inset),a)||this.consumePeeked("inset-")&&(a=bt("inset",this.rest,this.isNegative,o==null?void 0:o.inset),a)||this.consumePeeked("flex-")&&(this.consumePeeked("grow")?a=dr("Grow",this.rest,o==null?void 0:o.flexGrow):this.consumePeeked("shrink")?a=dr("Shrink",this.rest,o==null?void 0:o.flexShrink):a=Qu(this.rest,o==null?void 0:o.flex),a)||this.consumePeeked("grow")&&(a=dr("Grow",this.rest,o==null?void 0:o.flexGrow),a)||this.consumePeeked("shrink")&&(a=dr("Shrink",this.rest,o==null?void 0:o.flexShrink),a)||this.consumePeeked("shadow-color-opacity-")&&(a=cr("shadow",this.rest),a)||this.consumePeeked("shadow-opacity-")&&(a=Zu(this.rest),a)||this.consumePeeked("shadow-offset-")&&(a=el(this.rest),a)||this.consumePeeked("shadow-radius-")&&(a=Ae("shadowRadius",this.rest),a)||this.consumePeeked("shadow-")&&(a=at("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 v({elevation:u})}if(this.consumePeeked("opacity-")&&(a=Ju(this.rest,o==null?void 0:o.opacity),a)||this.consumePeeked("tracking-")&&(a=Ku(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 v({zIndex:u})}return ye(`\`${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=ae(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 tl(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(om),n]}function yo(e){return e.trim().split(/\s+/)}function om(e,t,n){return n.indexOf(e)===t}c();function rl(e){var t;return(t=e==null?void 0:e.reduce((n,r)=>({...n,...sm(r.handler)}),{}))!==null&&t!==void 0?t:{}}function sm(e){let t={};return e({addUtilities:n=>{t=n},...am}),t}function De(e){throw new Error(`tailwindcss plugin function argument object prop "${e}" not implemented`)}var am={addComponents:De,addBase:De,addVariant:De,e:De,prefix:De,theme:De,variants:De,config:De,corePlugins:De,matchUtilities:De,postcss:null};function il(e,t){let n=(0,nl.default)(um(e)),r={},i=rl(n.plugins),s={},o=Object.entries(i).map(([p,m])=>typeof m=="string"?(s[p]=m,[p,{kind:"null"}]):[p,v(m)]).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 m=new fr(o);return l[u]=m,m}function d(...p){let m=f(),_={},b=[],y=[],[w,T]=tl(p),k=w.join(" "),C=m.getStyle(k);if(C)return{...C,...T||{}};for(let D of w){let N=m.getIr(D);if(!N&&D in s){let K=d(s[D]);m.setIr(D,v(K)),_={..._,...K};continue}switch(N=new yt(D,n,m,r,t).parse(),N.kind){case"complete":_={..._,...N.style},m.setIr(D,N);break;case"dependent":b.push(N);break;case"ordered":y.push(N);break;case"null":m.setIr(D,N);break}}if(y.length>0){y.sort((D,N)=>D.order-N.order);for(let D of y)switch(D.styleIr.kind){case"complete":_={..._,...D.styleIr.style};break;case"dependent":b.push(D.styleIr);break}}if(b.length>0){for(let D of b){let N=D.complete(_);N&&ye(N)}zu(_)}return k!==""&&m.setStyle(k,_),T&&(_={..._,...T}),_}function g(p){let m=d(p.split(/\s+/g).map(_=>_.replace(/^(bg|text|border)-/,"")).map(_=>`bg-${_}`).join(" "));return typeof m.backgroundColor=="string"?m.backgroundColor:void 0}let h=(p,...m)=>{let _="";return p.forEach((b,y)=>{var w;_+=b+((w=m[y])!==null&&w!==void 0?w:"")}),d(_)};return h.style=d,h.color=g,h.prefixMatch=(...p)=>{let m=p.sort().join(":"),_=f(),b=_.getPrefixMatch(m);if(b!==void 0)return b;let T=new yt(`${m}:flex`,n,_,r,t).parse().kind!=="null";return _.setPrefixMatch(m,T),T},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 um(e){return{...e,content:["_no_warnings_please"]}}var fm={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 cm(e){return il({...e,plugins:[...(e==null?void 0:e.plugins)??[],fm]},"web")}var tn;function xo({width:e,height:t,config:n}){return tn||(tn=cm(n)),tn.setWindowDimensions({width:+e,height:+t}),tn}var wo=new WeakMap;async function _o(e,t){let n=await We();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 Lt(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=Rt(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,onNodeDetected:t.onNodeDetected,getTwStyles:(p,m)=>{let b={...xo({width:i,height:s,config:t.tailwindConfig})([p])};return typeof b.lineHeight=="number"&&(b.lineHeight=b.lineHeight/(+b.fontSize||m.fontSize||16)),b.shadowColor&&b.boxShadow&&(b.boxShadow=b.boxShadow.replace(/rgba?\([^)]+\)/,b.shadowColor)),b}}),f=(await l.next()).value;if(t.loadAdditionalAsset&&f.length){let p=dm(f),m=[],_={};await Promise.all(Object.entries(p).flatMap(([b,y])=>y.map(w=>{let T=`${b}_${w}`;return u.has(T)?null:(u.add(T),t.loadAdditionalAsset(b,w).then(k=>{typeof k=="string"?_[w]=k:k&&(Array.isArray(k)?m.push(...k):m.push(k))}))}))),r.addFonts(m),Object.assign(a,_)}await l.next(),o.calculateLayout(i,s,n.DIRECTION_LTR);let d=(await l.next([0,0])).value,g=o.getComputedWidth(),h=o.getComputedHeight();return o.freeRecursive(),Ln({width:g,height:h,content:d})}function dm(e){let t={},n={};for(let{word:r,locale:i}of e){let s=_s(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(...ol(me(n[r],"grapheme"))):(t[r][0]=t[r][0]||"",t[r][0]+=ol(me(n[r],"grapheme",r==="unknown"?void 0:r)).join(""))}),t}function ol(e){return Array.from(new Set(e))}0&&(module.exports={init});
1
+ var vl=Object.create;var xr=Object.defineProperty;var yl=Object.getOwnPropertyDescriptor;var xl=Object.getOwnPropertyNames;var wl=Object.getPrototypeOf,_l=Object.prototype.hasOwnProperty;var wr=(e,t)=>()=>(e&&(t=e(e=0)),t);var I=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),_r=(e,t)=>{for(var n in t)xr(e,n,{get:t[n],enumerable:!0})},Do=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of xl(t))!_l.call(e,i)&&i!==n&&xr(e,i,{get:()=>t[i],enumerable:!(r=yl(t,i))||r.enumerable});return e};var rt=(e,t,n)=>(n=e!=null?vl(wl(e)):{},Do(t||!e||!e.__esModule?xr(n,"default",{value:e,enumerable:!0}):n,e)),_t=e=>Do(xr({},"__esModule",{value:!0}),e);var c=wr(()=>{});var Mo={};_r(Mo,{getYogaModule:()=>Sl});async function Sl(){let{default:e}=await import("yoga-wasm-web/asm");return e()}var Fo=wr(()=>{c()});var Nn=I(Fn=>{"use strict";c();Object.defineProperty(Fn,"__esModule",{value:!0});Object.defineProperty(Fn,"default",{enumerable:!0,get:()=>bf});function bf(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 Cs=I(Wn=>{"use strict";c();Object.defineProperty(Wn,"__esModule",{value:!0});Object.defineProperty(Wn,"default",{enumerable:!0,get:()=>vf});var vf=["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 Ds=I($n=>{"use strict";c();Object.defineProperty($n,"__esModule",{value:!0});Object.defineProperty($n,"default",{enumerable:!0,get:()=>yf});function yf(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 qn=I((rb,Ms)=>{c();Ms.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 Wr={};_r(Wr,{default:()=>xf});var xf,$r=wr(()=>{c();xf={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 Fs=I(Bn=>{"use strict";c();Object.defineProperty(Bn,"__esModule",{value:!0});Object.defineProperty(Bn,"default",{enumerable:!0,get:()=>Sf});var wf=_f(($r(),_t(Wr)));function _f(e){return e&&e.__esModule?e:{default:e}}function Dt({version:e,from:t,to:n}){wf.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 Sf={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 Dt({version:"v2.2",from:"lightBlue",to:"sky"}),this.sky},get warmGray(){return Dt({version:"v3.0",from:"warmGray",to:"stone"}),this.stone},get trueGray(){return Dt({version:"v3.0",from:"trueGray",to:"neutral"}),this.neutral},get coolGray(){return Dt({version:"v3.0",from:"coolGray",to:"gray"}),this.gray},get blueGray(){return Dt({version:"v3.0",from:"blueGray",to:"slate"}),this.slate}}});var Ns=I(Un=>{"use strict";c();Object.defineProperty(Un,"__esModule",{value:!0});Object.defineProperty(Un,"defaults",{enumerable:!0,get:()=>kf});function kf(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 Ws=I(zn=>{"use strict";c();Object.defineProperty(zn,"__esModule",{value:!0});Object.defineProperty(zn,"toPath",{enumerable:!0,get:()=>Tf});function Tf(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 qs=I(Gn=>{"use strict";c();Object.defineProperty(Gn,"__esModule",{value:!0});Object.defineProperty(Gn,"normalizeConfig",{enumerable:!0,get:()=>Of});var Mt=Ef(($r(),_t(Wr)));function $s(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,n=new WeakMap;return($s=function(r){return r?n:t})(e)}function Ef(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var n=$s(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 Of(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})()||Mt.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")Mt.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,g,h,p,m;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:!((g=e.purge)===null||g===void 0||(h=g.options)===null||h===void 0)&&h.extractors?e.purge.options.extractors:!((p=e.content)===null||p===void 0||(m=p.options)===null||m===void 0)&&m.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)){Mt.default.warn("invalid-glob-braces",[`The glob pattern ${(0,Mt.dim)(r)} in your Tailwind CSS configuration is invalid.`,`Update it to ${(0,Mt.dim)(r.replace(/{([^,]*?)}/g,"$1"))} to silence this warning.`]);break}return e}});var Bs=I(jn=>{"use strict";c();Object.defineProperty(jn,"__esModule",{value:!0});Object.defineProperty(jn,"default",{enumerable:!0,get:()=>Pf});function Pf(e){if(Object.prototype.toString.call(e)!=="[object Object]")return!1;let t=Object.getPrototypeOf(e);return t===null||t===Object.prototype}});var Us=I(Vn=>{"use strict";c();Object.defineProperty(Vn,"__esModule",{value:!0});Object.defineProperty(Vn,"cloneDeep",{enumerable:!0,get:()=>Hn});function Hn(e){return Array.isArray(e)?e.map(t=>Hn(t)):typeof e=="object"&&e!==null?Object.fromEntries(Object.entries(e).map(([t,n])=>[t,Hn(n)])):e}});var Yn=I((qr,zs)=>{"use strict";c();qr.__esModule=!0;qr.default=If;function Af(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 Rf=/\\/;function If(e){var t=Rf.test(e);if(!t)return e;for(var n="",r=0;r<e.length;r++){if(e[r]==="\\"){var i=Af(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}zs.exports=qr.default});var js=I((Br,Gs)=>{"use strict";c();Br.__esModule=!0;Br.default=Lf;function Lf(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}Gs.exports=Br.default});var Vs=I((Ur,Hs)=>{"use strict";c();Ur.__esModule=!0;Ur.default=Cf;function Cf(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]}}Hs.exports=Ur.default});var Xs=I((zr,Ys)=>{"use strict";c();zr.__esModule=!0;zr.default=Df;function Df(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}Ys.exports=zr.default});var Ft=I(Le=>{"use strict";c();Le.__esModule=!0;Le.stripComments=Le.ensureObject=Le.getProp=Le.unesc=void 0;var Mf=Gr(Yn());Le.unesc=Mf.default;var Ff=Gr(js());Le.getProp=Ff.default;var Nf=Gr(Vs());Le.ensureObject=Nf.default;var Wf=Gr(Xs());Le.stripComments=Wf.default;function Gr(e){return e&&e.__esModule?e:{default:e}}});var $e=I((Nt,Js)=>{"use strict";c();Nt.__esModule=!0;Nt.default=void 0;var Qs=Ft();function Ks(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 $f(e,t,n){return t&&Ks(e.prototype,t),n&&Ks(e,n),e}var qf=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},Bf=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=qf(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("")},$f(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,Qs.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,Qs.ensureObject)(this,"raws","spaces"),this.raws.spaces.after=r}}]),e}();Nt.default=Bf;Js.exports=Nt.default});var fe=I(Q=>{"use strict";c();Q.__esModule=!0;Q.UNIVERSAL=Q.ATTRIBUTE=Q.CLASS=Q.COMBINATOR=Q.COMMENT=Q.ID=Q.NESTING=Q.PSEUDO=Q.ROOT=Q.SELECTOR=Q.STRING=Q.TAG=void 0;var Uf="tag";Q.TAG=Uf;var zf="string";Q.STRING=zf;var Gf="selector";Q.SELECTOR=Gf;var jf="root";Q.ROOT=jf;var Hf="pseudo";Q.PSEUDO=Hf;var Vf="nesting";Q.NESTING=Vf;var Yf="id";Q.ID=Yf;var Xf="comment";Q.COMMENT=Xf;var Qf="combinator";Q.COMBINATOR=Qf;var Kf="class";Q.CLASS=Kf;var Jf="attribute";Q.ATTRIBUTE=Jf;var Zf="universal";Q.UNIVERSAL=Zf});var jr=I((Wt,ra)=>{"use strict";c();Wt.__esModule=!0;Wt.default=void 0;var ec=rc($e()),qe=tc(fe());function ta(){if(typeof WeakMap!="function")return null;var e=new WeakMap;return ta=function(){return e},e}function tc(e){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=ta();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 rc(e){return e&&e.__esModule?e:{default:e}}function nc(e,t){var n;if(typeof Symbol>"u"||e[Symbol.iterator]==null){if(Array.isArray(e)||(n=ic(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 ic(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 ea(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 oc(e,t,n){return t&&ea(e.prototype,t),n&&ea(e,n),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(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=nc(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===qe.ATTRIBUTE)return i.call(s,o)})},n.walkClasses=function(i){var s=this;return this.walk(function(o){if(o.type===qe.CLASS)return i.call(s,o)})},n.walkCombinators=function(i){var s=this;return this.walk(function(o){if(o.type===qe.COMBINATOR)return i.call(s,o)})},n.walkComments=function(i){var s=this;return this.walk(function(o){if(o.type===qe.COMMENT)return i.call(s,o)})},n.walkIds=function(i){var s=this;return this.walk(function(o){if(o.type===qe.ID)return i.call(s,o)})},n.walkNesting=function(i){var s=this;return this.walk(function(o){if(o.type===qe.NESTING)return i.call(s,o)})},n.walkPseudos=function(i){var s=this;return this.walk(function(o){if(o.type===qe.PSEUDO)return i.call(s,o)})},n.walkTags=function(i){var s=this;return this.walk(function(o){if(o.type===qe.TAG)return i.call(s,o)})},n.walkUniversals=function(i){var s=this;return this.walk(function(o){if(o.type===qe.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("")},oc(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}(ec.default);Wt.default=ac;ra.exports=Wt.default});var Kn=I(($t,ia)=>{"use strict";c();$t.__esModule=!0;$t.default=void 0;var uc=fc(jr()),lc=fe();function fc(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,Qn(e,t)}function Qn(e,t){return Qn=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},Qn(e,t)}var pc=function(e){dc(t,e);function t(r){var i;return i=e.call(this,r)||this,i.type=lc.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)},cc(t,[{key:"errorGenerator",set:function(i){this._error=i}}]),t}(uc.default);$t.default=pc;ia.exports=$t.default});var Zn=I((qt,oa)=>{"use strict";c();qt.__esModule=!0;qt.default=void 0;var hc=gc(jr()),mc=fe();function gc(e){return e&&e.__esModule?e:{default: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 vc=function(e){bc(t,e);function t(n){var r;return r=e.call(this,n)||this,r.type=mc.SELECTOR,r}return t}(hc.default);qt.default=vc;oa.exports=qt.default});var Hr=I((cb,sa)=>{"use strict";c();var yc={},xc=yc.hasOwnProperty,wc=function(t,n){if(!t)return n;var r={};for(var i in n)r[i]=xc.call(t,i)?t[i]:n[i];return r},_c=/[ -,\.\/:-@\[-\^`\{-~]/,Sc=/[ -,\.\/:-@\[\]\^`\{-~]/,kc=/(^|\\+)?(\\[A-F0-9]{1,6})\x20(?![a-fA-F0-9\x20])/g,ei=function e(t,n){n=wc(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 g=t.charCodeAt(a++);(g&64512)==56320?f=((f&1023)<<10)+(g&1023)+65536:a--}d="\\"+f.toString(16).toUpperCase()+" "}else n.escapeEverything?_c.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&&Sc.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(kc,function(h,p,m){return p&&p.length%2?h:(p||"")+m}),!i&&n.wrap?r+o+r:o};ei.options={escapeEverything:!1,isIdentifier:!1,quotes:"single",wrap:!1};ei.version="3.0.0";sa.exports=ei});var ri=I((Bt,la)=>{"use strict";c();Bt.__esModule=!0;Bt.default=void 0;var Tc=ua(Hr()),Ec=Ft(),Oc=ua($e()),Pc=fe();function ua(e){return e&&e.__esModule?e:{default:e}}function aa(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 Ac(e,t,n){return t&&aa(e.prototype,t),n&&aa(e,n),e}function Rc(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,ti(e,t)}function ti(e,t){return ti=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},ti(e,t)}var Ic=function(e){Rc(t,e);function t(r){var i;return i=e.call(this,r)||this,i.type=Pc.CLASS,i._constructed=!0,i}var n=t.prototype;return n.valueToString=function(){return"."+e.prototype.valueToString.call(this)},Ac(t,[{key:"value",get:function(){return this._value},set:function(i){if(this._constructed){var s=(0,Tc.default)(i,{isIdentifier:!0});s!==i?((0,Ec.ensureObject)(this,"raws"),this.raws.value=s):this.raws&&delete this.raws.value}this._value=i}}]),t}(Oc.default);Bt.default=Ic;la.exports=Bt.default});var ii=I((Ut,fa)=>{"use strict";c();Ut.__esModule=!0;Ut.default=void 0;var Lc=Dc($e()),Cc=fe();function Dc(e){return e&&e.__esModule?e:{default:e}}function Mc(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,ni(e,t)}function ni(e,t){return ni=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},ni(e,t)}var Fc=function(e){Mc(t,e);function t(n){var r;return r=e.call(this,n)||this,r.type=Cc.COMMENT,r}return t}(Lc.default);Ut.default=Fc;fa.exports=Ut.default});var si=I((zt,ca)=>{"use strict";c();zt.__esModule=!0;zt.default=void 0;var Nc=$c($e()),Wc=fe();function $c(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 Bc=function(e){qc(t,e);function t(r){var i;return i=e.call(this,r)||this,i.type=Wc.ID,i}var n=t.prototype;return n.valueToString=function(){return"#"+e.prototype.valueToString.call(this)},t}(Nc.default);zt.default=Bc;ca.exports=zt.default});var Vr=I((Gt,ha)=>{"use strict";c();Gt.__esModule=!0;Gt.default=void 0;var Uc=pa(Hr()),zc=Ft(),Gc=pa($e());function pa(e){return e&&e.__esModule?e:{default:e}}function da(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 jc(e,t,n){return t&&da(e.prototype,t),n&&da(e,n),e}function Hc(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 Vc=function(e){Hc(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))},jc(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,Uc.default)(i,{isIdentifier:!0});this._namespace=i,s!==i?((0,zc.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}(Gc.default);Gt.default=Vc;ha.exports=Gt.default});var li=I((jt,ma)=>{"use strict";c();jt.__esModule=!0;jt.default=void 0;var Yc=Qc(Vr()),Xc=fe();function Qc(e){return e&&e.__esModule?e:{default:e}}function Kc(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,ui(e,t)}function ui(e,t){return ui=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},ui(e,t)}var Jc=function(e){Kc(t,e);function t(n){var r;return r=e.call(this,n)||this,r.type=Xc.TAG,r}return t}(Yc.default);jt.default=Jc;ma.exports=jt.default});var ci=I((Ht,ga)=>{"use strict";c();Ht.__esModule=!0;Ht.default=void 0;var Zc=td($e()),ed=fe();function td(e){return e&&e.__esModule?e:{default:e}}function rd(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,fi(e,t)}function fi(e,t){return fi=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},fi(e,t)}var nd=function(e){rd(t,e);function t(n){var r;return r=e.call(this,n)||this,r.type=ed.STRING,r}return t}(Zc.default);Ht.default=nd;ga.exports=Ht.default});var pi=I((Vt,ba)=>{"use strict";c();Vt.__esModule=!0;Vt.default=void 0;var id=sd(jr()),od=fe();function sd(e){return e&&e.__esModule?e:{default:e}}function ad(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,di(e,t)}function di(e,t){return di=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},di(e,t)}var ud=function(e){ad(t,e);function t(r){var i;return i=e.call(this,r)||this,i.type=od.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}(id.default);Vt.default=ud;ba.exports=Vt.default});var ya=I((db,va)=>{c();va.exports=function(t,n){return function(...r){return console.warn(n),t(...r)}}});var yi=I(Qt=>{"use strict";c();Qt.__esModule=!0;Qt.unescapeValue=vi;Qt.default=void 0;var Yt=bi(Hr()),ld=bi(Yn()),fd=bi(Vr()),cd=fe(),hi;function bi(e){return e&&e.__esModule?e:{default:e}}function xa(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 dd(e,t,n){return t&&xa(e.prototype,t),n&&xa(e,n),e}function pd(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,gi(e,t)}function gi(e,t){return gi=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},gi(e,t)}var Xt=ya(),hd=/^('|")([^]*)\1$/,md=Xt(function(){},"Assigning an attribute a value containing characters that might need to be escaped is deprecated. Call attribute.setValue() instead."),gd=Xt(function(){},"Assigning attr.quoted is deprecated and has no effect. Assign to attr.quoteMark instead."),bd=Xt(function(){},"Constructing an Attribute selector with a value without specifying quoteMark is deprecated. Note: The value should be unescaped now.");function vi(e){var t=!1,n=null,r=e,i=r.match(hd);return i&&(n=i[1],r=i[2]),r=(0,ld.default)(r),r!==e&&(t=!0),{deprecatedUsage:t,unescaped:r,quoteMark:n}}function vd(e){if(e.quoteMark!==void 0||e.value===void 0)return e;bd();var t=vi(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 Yr=function(e){pd(t,e);function t(r){var i;return r===void 0&&(r={}),i=e.call(this,vd(r))||this,i.type=cd.ATTRIBUTE,i.raws=i.raws||{},Object.defineProperty(i.raws,"unquoted",{get:Xt(function(){return i.value},"attr.raws.unquoted is deprecated. Call attr.value instead."),set:Xt(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=mi[s],a=(0,Yt.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,Yt.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=mi[f],g=(0,Yt.default)(s,d);if(g.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,Yt.default)(this._value,mi[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,Yt.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=wa);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=" "),wa(o,a)}))),s.push("]"),s.push(this.rawSpaceAfter),s.join("")},dd(t,[{key:"quoted",get:function(){var i=this.quoteMark;return i==="'"||i==='"'},set:function(i){gd()}},{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=vi(i),o=s.deprecatedUsage,a=s.unescaped,u=s.quoteMark;if(o&&md(),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}(fd.default);Qt.default=Yr;Yr.NO_QUOTE=null;Yr.SINGLE_QUOTE="'";Yr.DOUBLE_QUOTE='"';var mi=(hi={"'":{quotes:"single",wrap:!0},'"':{quotes:"double",wrap:!0}},hi[null]={isIdentifier:!0},hi);function wa(e,t){return""+t.before+e+t.after}});var wi=I((Kt,_a)=>{"use strict";c();Kt.__esModule=!0;Kt.default=void 0;var yd=wd(Vr()),xd=fe();function wd(e){return e&&e.__esModule?e:{default:e}}function _d(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,xi(e,t)}function xi(e,t){return xi=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},xi(e,t)}var Sd=function(e){_d(t,e);function t(n){var r;return r=e.call(this,n)||this,r.type=xd.UNIVERSAL,r.value="*",r}return t}(yd.default);Kt.default=Sd;_a.exports=Kt.default});var Si=I((Jt,Sa)=>{"use strict";c();Jt.__esModule=!0;Jt.default=void 0;var kd=Ed($e()),Td=fe();function Ed(e){return e&&e.__esModule?e:{default:e}}function Od(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,_i(e,t)}function _i(e,t){return _i=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},_i(e,t)}var Pd=function(e){Od(t,e);function t(n){var r;return r=e.call(this,n)||this,r.type=Td.COMBINATOR,r}return t}(kd.default);Jt.default=Pd;Sa.exports=Jt.default});var Ti=I((Zt,ka)=>{"use strict";c();Zt.__esModule=!0;Zt.default=void 0;var Ad=Id($e()),Rd=fe();function Id(e){return e&&e.__esModule?e:{default:e}}function Ld(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,ki(e,t)}function ki(e,t){return ki=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},ki(e,t)}var Cd=function(e){Ld(t,e);function t(n){var r;return r=e.call(this,n)||this,r.type=Rd.NESTING,r.value="&",r}return t}(Ad.default);Zt.default=Cd;ka.exports=Zt.default});var Ea=I((Xr,Ta)=>{"use strict";c();Xr.__esModule=!0;Xr.default=Dd;function Dd(e){return e.sort(function(t,n){return t-n})}Ta.exports=Xr.default});var Ei=I(A=>{"use strict";c();A.__esModule=!0;A.combinator=A.word=A.comment=A.str=A.tab=A.newline=A.feed=A.cr=A.backslash=A.bang=A.slash=A.doubleQuote=A.singleQuote=A.space=A.greaterThan=A.pipe=A.equals=A.plus=A.caret=A.tilde=A.dollar=A.closeSquare=A.openSquare=A.closeParenthesis=A.openParenthesis=A.semicolon=A.colon=A.comma=A.at=A.asterisk=A.ampersand=void 0;var Md=38;A.ampersand=Md;var Fd=42;A.asterisk=Fd;var Nd=64;A.at=Nd;var Wd=44;A.comma=Wd;var $d=58;A.colon=$d;var qd=59;A.semicolon=qd;var Bd=40;A.openParenthesis=Bd;var Ud=41;A.closeParenthesis=Ud;var zd=91;A.openSquare=zd;var Gd=93;A.closeSquare=Gd;var jd=36;A.dollar=jd;var Hd=126;A.tilde=Hd;var Vd=94;A.caret=Vd;var Yd=43;A.plus=Yd;var Xd=61;A.equals=Xd;var Qd=124;A.pipe=Qd;var Kd=62;A.greaterThan=Kd;var Jd=32;A.space=Jd;var Oa=39;A.singleQuote=Oa;var Zd=34;A.doubleQuote=Zd;var ep=47;A.slash=ep;var tp=33;A.bang=tp;var rp=92;A.backslash=rp;var np=13;A.cr=np;var ip=12;A.feed=ip;var op=10;A.newline=op;var sp=9;A.tab=sp;var ap=Oa;A.str=ap;var up=-1;A.comment=up;var lp=-2;A.word=lp;var fp=-3;A.combinator=fp});var Ra=I(er=>{"use strict";c();er.__esModule=!0;er.default=bp;er.FIELDS=void 0;var E=cp(Ei()),ht,V;function Aa(){if(typeof WeakMap!="function")return null;var e=new WeakMap;return Aa=function(){return e},e}function cp(e){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=Aa();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 dp=(ht={},ht[E.tab]=!0,ht[E.newline]=!0,ht[E.cr]=!0,ht[E.feed]=!0,ht),pp=(V={},V[E.space]=!0,V[E.tab]=!0,V[E.newline]=!0,V[E.cr]=!0,V[E.feed]=!0,V[E.ampersand]=!0,V[E.asterisk]=!0,V[E.bang]=!0,V[E.comma]=!0,V[E.colon]=!0,V[E.semicolon]=!0,V[E.openParenthesis]=!0,V[E.closeParenthesis]=!0,V[E.openSquare]=!0,V[E.closeSquare]=!0,V[E.singleQuote]=!0,V[E.doubleQuote]=!0,V[E.plus]=!0,V[E.pipe]=!0,V[E.tilde]=!0,V[E.greaterThan]=!0,V[E.equals]=!0,V[E.dollar]=!0,V[E.caret]=!0,V[E.slash]=!0,V),Oi={},Pa="0123456789abcdefABCDEF";for(Qr=0;Qr<Pa.length;Qr++)Oi[Pa.charCodeAt(Qr)]=!0;var Qr;function hp(e,t){var n=t,r;do{if(r=e.charCodeAt(n),pp[r])return n-1;r===E.backslash?n=mp(e,n)+1:n++}while(n<e.length);return n-1}function mp(e,t){var n=t,r=e.charCodeAt(n+1);if(!dp[r])if(Oi[r]){var i=0;do n++,i++,r=e.charCodeAt(n+1);while(Oi[r]&&i<6);i<6&&r===E.space&&n++}else n++;return n}var gp={TYPE:0,START_LINE:1,START_COL:2,END_LINE:3,END_COL:4,START_POS:5,END_POS:6};er.FIELDS=gp;function bp(e){var t=[],n=e.css.valueOf(),r=n,i=r.length,s=-1,o=1,a=0,u=0,l,f,d,g,h,p,m,w,v,y,_,S,k;function C(D,F){if(e.safe)n+=F,v=n.length-1;else throw e.error("Unclosed "+D,o,a-s,a)}for(;a<i;){switch(l=n.charCodeAt(a),l===E.newline&&(s=a,o+=1),l){case E.space:case E.tab:case E.newline:case E.cr:case E.feed:v=a;do v+=1,l=n.charCodeAt(v),l===E.newline&&(s=v,o+=1);while(l===E.space||l===E.newline||l===E.tab||l===E.cr||l===E.feed);k=E.space,g=o,d=v-s-1,u=v;break;case E.plus:case E.greaterThan:case E.tilde:case E.pipe:v=a;do v+=1,l=n.charCodeAt(v);while(l===E.plus||l===E.greaterThan||l===E.tilde||l===E.pipe);k=E.combinator,g=o,d=a-s,u=v;break;case E.asterisk:case E.ampersand:case E.bang:case E.comma:case E.equals:case E.dollar:case E.caret:case E.openSquare:case E.closeSquare:case E.colon:case E.semicolon:case E.openParenthesis:case E.closeParenthesis:v=a,k=l,g=o,d=a-s,u=v+1;break;case E.singleQuote:case E.doubleQuote:S=l===E.singleQuote?"'":'"',v=a;do for(h=!1,v=n.indexOf(S,v+1),v===-1&&C("quote",S),p=v;n.charCodeAt(p-1)===E.backslash;)p-=1,h=!h;while(h);k=E.str,g=o,d=a-s,u=v+1;break;default:l===E.slash&&n.charCodeAt(a+1)===E.asterisk?(v=n.indexOf("*/",a+2)+1,v===0&&C("comment","*/"),f=n.slice(a,v+1),w=f.split(`
3
+ `),m=w.length-1,m>0?(y=o+m,_=v-w[m].length):(y=o,_=s),k=E.comment,o=y,g=y,d=v-_):l===E.slash?(v=a,k=l,g=o,d=a-s,u=v+1):(v=hp(n,a),k=E.word,g=o,d=v-s),u=v+1;break}t.push([k,o,a-s,g,d,a,u]),_&&(s=_,_=null),a=u}return t}});var Wa=I((tr,Na)=>{"use strict";c();tr.__esModule=!0;tr.default=void 0;var vp=Te(Kn()),Pi=Te(Zn()),yp=Te(ri()),Ia=Te(ii()),xp=Te(si()),wp=Te(li()),Ai=Te(ci()),_p=Te(pi()),La=Kr(yi()),Sp=Te(wi()),Ri=Te(Si()),kp=Te(Ti()),Tp=Te(Ea()),T=Kr(Ra()),O=Kr(Ei()),Ep=Kr(fe()),te=Ft(),nt,Ii;function Fa(){if(typeof WeakMap!="function")return null;var e=new WeakMap;return Fa=function(){return e},e}function Kr(e){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=Fa();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 Te(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 Op(e,t,n){return t&&Ca(e.prototype,t),n&&Ca(e,n),e}var Di=(nt={},nt[O.space]=!0,nt[O.cr]=!0,nt[O.feed]=!0,nt[O.newline]=!0,nt[O.tab]=!0,nt),Pp=Object.assign({},Di,(Ii={},Ii[O.comment]=!0,Ii));function Da(e){return{line:e[T.FIELDS.START_LINE],column:e[T.FIELDS.START_COL]}}function Ma(e){return{line:e[T.FIELDS.END_LINE],column:e[T.FIELDS.END_COL]}}function it(e,t,n,r){return{start:{line:e,column:t},end:{line:n,column:r}}}function mt(e){return it(e[T.FIELDS.START_LINE],e[T.FIELDS.START_COL],e[T.FIELDS.END_LINE],e[T.FIELDS.END_COL])}function Li(e,t){if(!!e)return it(e[T.FIELDS.START_LINE],e[T.FIELDS.START_COL],t[T.FIELDS.END_LINE],t[T.FIELDS.END_COL])}function gt(e,t){var n=e[t];if(typeof n=="string")return n.indexOf("\\")!==-1&&((0,te.ensureObject)(e,"raws"),e[t]=(0,te.unesc)(n),e.raws[t]===void 0&&(e.raws[t]=n)),e}function Ci(e,t){for(var n=-1,r=[];(n=e.indexOf(t,n+1))!==-1;)r.push(n);return r}function Ap(){var e=Array.prototype.concat.apply([],arguments);return e.filter(function(t,n){return n===e.indexOf(t)})}var Rp=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,T.default)({css:this.css,error:this._errorGenerator(),safe:this.options.safe});var i=Li(this.tokens[0],this.tokens[this.tokens.length-1]);this.root=new vp.default({source:i}),this.root.errorGenerator=this._errorGenerator();var s=new Pi.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[T.FIELDS.TYPE]!==O.closeSquare;)r.push(this.currToken),this.position++;if(this.currToken[T.FIELDS.TYPE]!==O.closeSquare)return this.expected("closing square bracket",this.currToken[T.FIELDS.START_POS]);var s=r.length,o={source:it(i[1],i[2],this.currToken[3],this.currToken[4]),sourceIndex:i[T.FIELDS.START_POS]};if(s===1&&!~[O.word].indexOf(r[0][T.FIELDS.TYPE]))return this.expected("attribute",r[0][T.FIELDS.START_POS]);for(var a=0,u="",l="",f=null,d=!1;a<s;){var g=r[a],h=this.content(g),p=r[a+1];switch(g[T.FIELDS.TYPE]){case O.space:if(d=!0,this.options.lossy)break;if(f){(0,te.ensureObject)(o,"spaces",f);var m=o.spaces[f].after||"";o.spaces[f].after=m+h;var w=(0,te.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[T.FIELDS.TYPE]===O.equals)o.operator=h,f="operator";else if((!o.namespace||f==="namespace"&&!d)&&p){u&&((0,te.ensureObject)(o,"spaces","attribute"),o.spaces.attribute.before=u,u=""),l&&((0,te.ensureObject)(o,"raws","spaces","attribute"),o.raws.spaces.attribute.before=u,l=""),o.namespace=(o.namespace||"")+h;var v=(0,te.getProp)(o,"raws","namespace")||null;v&&(o.raws.namespace+=h),f="namespace"}d=!1;break;case O.dollar:if(f==="value"){var y=(0,te.getProp)(o,"raws","value");o.value+="$",y&&(o.raws.value=y+"$");break}case O.caret:p[T.FIELDS.TYPE]===O.equals&&(o.operator=h,f="operator"),d=!1;break;case O.combinator:if(h==="~"&&p[T.FIELDS.TYPE]===O.equals&&(o.operator=h,f="operator"),h!=="|"){d=!1;break}p[T.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][T.FIELDS.TYPE]!==O.equals&&!o.operator&&!o.namespace)o.namespace=h,f="namespace";else if(!o.attribute||f==="attribute"&&!d){u&&((0,te.ensureObject)(o,"spaces","attribute"),o.spaces.attribute.before=u,u=""),l&&((0,te.ensureObject)(o,"raws","spaces","attribute"),o.raws.spaces.attribute.before=l,l=""),o.attribute=(o.attribute||"")+h;var _=(0,te.getProp)(o,"raws","attribute")||null;_&&(o.raws.attribute+=h),f="attribute"}else if(!o.value&&o.value!==""||f==="value"&&!d){var S=(0,te.unesc)(h),k=(0,te.getProp)(o,"raws","value")||"",C=o.value||"";o.value=C+S,o.quoteMark=null,(S!==h||k)&&((0,te.ensureObject)(o,"raws"),o.raws.value=(k||C)+h),f="value"}else{var D=h==="i"||h==="I";(o.value||o.value==="")&&(o.quoteMark||d)?(o.insensitive=D,(!D||h==="I")&&((0,te.ensureObject)(o,"raws"),o.raws.insensitiveFlag=h),f="insensitive",u&&((0,te.ensureObject)(o,"spaces","insensitive"),o.spaces.insensitive.before=u,u=""),l&&((0,te.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:g[T.FIELDS.START_POS]});var F=(0,La.unescapeValue)(h),Y=F.unescaped,J=F.quoteMark;o.value=Y,o.quoteMark=J,f="value",(0,te.ensureObject)(o,"raws"),o.raws.value=h,d=!1;break;case O.equals:if(!o.attribute)return this.expected("attribute",g[T.FIELDS.START_POS],h);if(o.value)return this.error('Unexpected "=" found; an operator was already defined.',{index:g[T.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[T.FIELDS.TYPE]===O.space||f==="insensitive"){var ne=(0,te.getProp)(o,"spaces",f,"after")||"",U=(0,te.getProp)(o,"raws","spaces",f,"after")||ne;(0,te.ensureObject)(o,"raws","spaces",f),o.raws.spaces[f].after=U+h}else{var N=o[f]||"",Z=(0,te.getProp)(o,"raws",f)||N;(0,te.ensureObject)(o,"raws"),o.raws[f]=Z+h}else l=l+h;break;default:return this.error('Unexpected "'+h+'" found.',{index:g[T.FIELDS.START_POS]})}a++}gt(o,"attribute"),gt(o,"namespace"),this.newNode(new La.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(Di[this.currToken[T.FIELDS.TYPE]])this.options.lossy||(o+=this.content());else if(this.currToken[T.FIELDS.TYPE]===O.comment){var u={};o&&(u.before=o,o=""),a=new Ia.default({value:this.content(),source:mt(this.currToken),sourceIndex:this.currToken[T.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 Ai.default({value:"",source:it(l[T.FIELDS.START_LINE],l[T.FIELDS.START_COL],f[T.FIELDS.END_LINE],f[T.FIELDS.END_COL]),sourceIndex:l[T.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][T.FIELDS.TYPE]===O.slash&&this.tokens[r+1]&&this.tokens[r+1][T.FIELDS.TYPE]===O.word&&this.tokens[r+2]&&this.tokens[r+2][T.FIELDS.TYPE]===O.slash},t.namedCombinator=function(){if(this.isNamedCombinator()){var r=this.content(this.tokens[this.position+1]),i=(0,te.unesc)(r).toLowerCase(),s={};i!==r&&(s.value="/"+r+"/");var o=new Ri.default({value:"/"+i+"/",source:it(this.currToken[T.FIELDS.START_LINE],this.currToken[T.FIELDS.START_COL],this.tokens[this.position+2][T.FIELDS.END_LINE],this.tokens[this.position+2][T.FIELDS.END_COL]),sourceIndex:this.currToken[T.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][T.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 g;if(this.isNamedCombinator()?g=this.namedCombinator():this.currToken[T.FIELDS.TYPE]===O.combinator?(g=new Ri.default({value:this.content(),source:mt(this.currToken),sourceIndex:this.currToken[T.FIELDS.START_POS]}),this.position++):Di[this.currToken[T.FIELDS.TYPE]]||d||this.unexpected(),g){if(d){var h=this.convertWhitespaceNodesToSpace(d),p=h.space,m=h.rawSpace;g.spaces.before=p,g.rawSpaceBefore=m}}else{var w=this.convertWhitespaceNodesToSpace(d,!0),v=w.space,y=w.rawSpace;y||(y=v);var _={},S={spaces:{}};v.endsWith(" ")&&y.endsWith(" ")?(_.before=v.slice(0,v.length-1),S.spaces.before=y.slice(0,y.length-1)):v.startsWith(" ")&&y.startsWith(" ")?(_.after=v.slice(1),S.spaces.after=y.slice(1)):S.value=y,g=new Ri.default({value:" ",source:Li(f,this.tokens[this.position-1]),sourceIndex:f[T.FIELDS.START_POS],spaces:_,raws:S})}return this.currToken&&this.currToken[T.FIELDS.TYPE]===O.space&&(g.spaces.after=this.optionalSpace(this.content()),this.position++),this.newNode(g)},t.comma=function(){if(this.position===this.tokens.length-1){this.root.trailingComma=!0,this.position++;return}this.current._inferEndPosition();var r=new Pi.default({source:{start:Da(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 Ia.default({value:this.content(),source:mt(r),sourceIndex:r[T.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[T.FIELDS.START_POS]})},t.missingParenthesis=function(){return this.expected("opening parenthesis",this.currToken[T.FIELDS.START_POS])},t.missingSquareBracket=function(){return this.expected("opening square bracket",this.currToken[T.FIELDS.START_POS])},t.unexpected=function(){return this.error("Unexpected '"+this.content()+"'. Escaping special characters with \\ may help.",this.currToken[T.FIELDS.START_POS])},t.namespace=function(){var r=this.prevToken&&this.content(this.prevToken)||!0;if(this.nextToken[T.FIELDS.TYPE]===O.word)return this.position++,this.word(r);if(this.nextToken[T.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 kp.default({value:this.content(),source:mt(i),sourceIndex:i[T.FIELDS.START_POS]})),this.position++},t.parentheses=function(){var r=this.current.last,i=1;if(this.position++,r&&r.type===Ep.PSEUDO){var s=new Pi.default({source:{start:Da(this.tokens[this.position-1])}}),o=this.current;for(r.append(s),this.current=s;this.position<this.tokens.length&&i;)this.currToken[T.FIELDS.TYPE]===O.openParenthesis&&i++,this.currToken[T.FIELDS.TYPE]===O.closeParenthesis&&i--,i?this.parse():(this.current.source.end=Ma(this.currToken),this.current.parent.source.end=Ma(this.currToken),this.position++);this.current=o}else{for(var a=this.currToken,u="(",l;this.position<this.tokens.length&&i;)this.currToken[T.FIELDS.TYPE]===O.openParenthesis&&i++,this.currToken[T.FIELDS.TYPE]===O.closeParenthesis&&i--,l=this.currToken,u+=this.parseParenthesisToken(this.currToken),this.position++;r?r.appendToPropertyAndEscape("value",u,u):this.newNode(new Ai.default({value:u,source:it(a[T.FIELDS.START_LINE],a[T.FIELDS.START_COL],l[T.FIELDS.END_LINE],l[T.FIELDS.END_COL]),sourceIndex:a[T.FIELDS.START_POS]}))}if(i)return this.expected("closing parenthesis",this.currToken[T.FIELDS.START_POS])},t.pseudo=function(){for(var r=this,i="",s=this.currToken;this.currToken&&this.currToken[T.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[T.FIELDS.TYPE]===O.word)this.splitWord(!1,function(o,a){i+=o,r.newNode(new _p.default({value:i,source:Li(s,r.currToken),sourceIndex:s[T.FIELDS.START_POS]})),a>1&&r.nextToken&&r.nextToken[T.FIELDS.TYPE]===O.openParenthesis&&r.error("Misplaced parenthesis.",{index:r.nextToken[T.FIELDS.START_POS]})});else return this.expected(["pseudo-class","pseudo-element"],this.currToken[T.FIELDS.START_POS])},t.space=function(){var r=this.content();this.position===0||this.prevToken[T.FIELDS.TYPE]===O.comma||this.prevToken[T.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[T.FIELDS.TYPE]===O.comma||this.nextToken[T.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 Ai.default({value:this.content(),source:mt(r),sourceIndex:r[T.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 Sp.default({value:this.content(),source:mt(s),sourceIndex:s[T.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[T.FIELDS.TYPE]);){this.position++;var u=this.content();if(a+=u,u.lastIndexOf("\\")===u.length-1){var l=this.nextToken;l&&l[T.FIELDS.TYPE]===O.space&&(a+=this.requiredSpace(this.content(l)),this.position++)}o=this.nextToken}var f=Ci(a,".").filter(function(p){var m=a[p-1]==="\\",w=/^\d+\.\d+%$/.test(a);return!m&&!w}),d=Ci(a,"#").filter(function(p){return a[p-1]!=="\\"}),g=Ci(a,"#{");g.length&&(d=d.filter(function(p){return!~g.indexOf(p)}));var h=(0,Tp.default)(Ap([0].concat(f,d)));h.forEach(function(p,m){var w=h[m+1]||a.length,v=a.slice(p,w);if(m===0&&i)return i.call(s,v,h.length);var y,_=s.currToken,S=_[T.FIELDS.START_POS]+h[m],k=it(_[1],_[2]+p,_[3],_[2]+(w-1));if(~f.indexOf(p)){var C={value:v.slice(1),source:k,sourceIndex:S};y=new yp.default(gt(C,"value"))}else if(~d.indexOf(p)){var D={value:v.slice(1),source:k,sourceIndex:S};y=new xp.default(gt(D,"value"))}else{var F={value:v,source:k,sourceIndex:S};gt(F,"value"),y=new wp.default(F)}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[T.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[T.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,gt(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[T.FIELDS.START_POS],r[T.FIELDS.END_POS])},t.locateNextMeaningfulToken=function(r){r===void 0&&(r=this.position+1);for(var i=r;i<this.tokens.length;)if(Pp[this.tokens[i][T.FIELDS.TYPE]]){i++;continue}else return i;return-1},Op(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}();tr.default=Rp;Na.exports=tr.default});var qa=I((rr,$a)=>{"use strict";c();rr.__esModule=!0;rr.default=void 0;var Ip=Lp(Wa());function Lp(e){return e&&e.__esModule?e:{default:e}}var Cp=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 Ip.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}();rr.default=Cp;$a.exports=rr.default});var Ba=I(K=>{"use strict";c();K.__esModule=!0;K.universal=K.tag=K.string=K.selector=K.root=K.pseudo=K.nesting=K.id=K.comment=K.combinator=K.className=K.attribute=void 0;var Dp=Ee(yi()),Mp=Ee(ri()),Fp=Ee(Si()),Np=Ee(ii()),Wp=Ee(si()),$p=Ee(Ti()),qp=Ee(pi()),Bp=Ee(Kn()),Up=Ee(Zn()),zp=Ee(ci()),Gp=Ee(li()),jp=Ee(wi());function Ee(e){return e&&e.__esModule?e:{default:e}}var Hp=function(t){return new Dp.default(t)};K.attribute=Hp;var Vp=function(t){return new Mp.default(t)};K.className=Vp;var Yp=function(t){return new Fp.default(t)};K.combinator=Yp;var Xp=function(t){return new Np.default(t)};K.comment=Xp;var Qp=function(t){return new Wp.default(t)};K.id=Qp;var Kp=function(t){return new $p.default(t)};K.nesting=Kp;var Jp=function(t){return new qp.default(t)};K.pseudo=Jp;var Zp=function(t){return new Bp.default(t)};K.root=Zp;var eh=function(t){return new Up.default(t)};K.selector=eh;var th=function(t){return new zp.default(t)};K.string=th;var rh=function(t){return new Gp.default(t)};K.tag=rh;var nh=function(t){return new jp.default(t)};K.universal=nh});var ja=I(z=>{"use strict";c();z.__esModule=!0;z.isNode=Mi;z.isPseudoElement=Ga;z.isPseudoClass=hh;z.isContainer=mh;z.isNamespace=gh;z.isUniversal=z.isTag=z.isString=z.isSelector=z.isRoot=z.isPseudo=z.isNesting=z.isIdentifier=z.isComment=z.isCombinator=z.isClassName=z.isAttribute=void 0;var re=fe(),be,ih=(be={},be[re.ATTRIBUTE]=!0,be[re.CLASS]=!0,be[re.COMBINATOR]=!0,be[re.COMMENT]=!0,be[re.ID]=!0,be[re.NESTING]=!0,be[re.PSEUDO]=!0,be[re.ROOT]=!0,be[re.SELECTOR]=!0,be[re.STRING]=!0,be[re.TAG]=!0,be[re.UNIVERSAL]=!0,be);function Mi(e){return typeof e=="object"&&ih[e.type]}function Oe(e,t){return Mi(t)&&t.type===e}var Ua=Oe.bind(null,re.ATTRIBUTE);z.isAttribute=Ua;var oh=Oe.bind(null,re.CLASS);z.isClassName=oh;var sh=Oe.bind(null,re.COMBINATOR);z.isCombinator=sh;var ah=Oe.bind(null,re.COMMENT);z.isComment=ah;var uh=Oe.bind(null,re.ID);z.isIdentifier=uh;var lh=Oe.bind(null,re.NESTING);z.isNesting=lh;var Fi=Oe.bind(null,re.PSEUDO);z.isPseudo=Fi;var fh=Oe.bind(null,re.ROOT);z.isRoot=fh;var ch=Oe.bind(null,re.SELECTOR);z.isSelector=ch;var dh=Oe.bind(null,re.STRING);z.isString=dh;var za=Oe.bind(null,re.TAG);z.isTag=za;var ph=Oe.bind(null,re.UNIVERSAL);z.isUniversal=ph;function Ga(e){return Fi(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 hh(e){return Fi(e)&&!Ga(e)}function mh(e){return!!(Mi(e)&&e.walk)}function gh(e){return Ua(e)||za(e)}});var Ha=I(Ie=>{"use strict";c();Ie.__esModule=!0;var Ni=fe();Object.keys(Ni).forEach(function(e){e==="default"||e==="__esModule"||e in Ie&&Ie[e]===Ni[e]||(Ie[e]=Ni[e])});var Wi=Ba();Object.keys(Wi).forEach(function(e){e==="default"||e==="__esModule"||e in Ie&&Ie[e]===Wi[e]||(Ie[e]=Wi[e])});var $i=ja();Object.keys($i).forEach(function(e){e==="default"||e==="__esModule"||e in Ie&&Ie[e]===$i[e]||(Ie[e]=$i[e])})});var Xa=I((nr,Ya)=>{"use strict";c();nr.__esModule=!0;nr.default=void 0;var bh=xh(qa()),vh=yh(Ha());function Va(){if(typeof WeakMap!="function")return null;var e=new WeakMap;return Va=function(){return e},e}function yh(e){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=Va();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 xh(e){return e&&e.__esModule?e:{default:e}}var qi=function(t){return new bh.default(t)};Object.assign(qi,vh);delete qi.__esModule;var wh=qi;nr.default=wh;Ya.exports=nr.default});var Qa=I(Bi=>{"use strict";c();Object.defineProperty(Bi,"__esModule",{value:!0});Object.defineProperty(Bi,"default",{enumerable:!0,get:()=>_h});function _h(e){return e.replace(/\\,/g,"\\2c ")}});var Ja=I((xb,Ka)=>{"use strict";c();Ka.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 zi=I(Ui=>{"use strict";c();Object.defineProperty(Ui,"__esModule",{value:!0});function Sh(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}Sh(Ui,{parseColor:()=>Ah,formatColor:()=>Rh});var Za=kh(Ja());function kh(e){return e&&e.__esModule?e:{default:e}}var Th=/^#([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})?$/i,Eh=/^#([a-f\d])([a-f\d])([a-f\d])([a-f\d])?$/i,Xe=/(?:\d+|\d*\.\d+)%?/,Jr=/(?:\s*,\s*|\s+)/,eu=/\s*[,/]\s*/,Qe=/var\(--(?:[^ )]*?)\)/,Oh=new RegExp(`^(rgb)a?\\(\\s*(${Xe.source}|${Qe.source})(?:${Jr.source}(${Xe.source}|${Qe.source}))?(?:${Jr.source}(${Xe.source}|${Qe.source}))?(?:${eu.source}(${Xe.source}|${Qe.source}))?\\s*\\)$`),Ph=new RegExp(`^(hsl)a?\\(\\s*((?:${Xe.source})(?:deg|rad|grad|turn)?|${Qe.source})(?:${Jr.source}(${Xe.source}|${Qe.source}))?(?:${Jr.source}(${Xe.source}|${Qe.source}))?(?:${eu.source}(${Xe.source}|${Qe.source}))?\\s*\\)$`);function Ah(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(Eh,(u,l,f,d,g)=>["#",l,l,f,f,d,d,g?g+g:""].join("")).match(Th);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(Oh))!==null&&s!==void 0?s:e.match(Ph);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 Rh({mode:e,color:t,alpha:n}){let r=n!==void 0;return`${e}(${t.join(" ")}${r?` / ${n}`:""})`}});var ji=I(Gi=>{"use strict";c();Object.defineProperty(Gi,"__esModule",{value:!0});function Ih(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}Ih(Gi,{withAlphaValue:()=>Lh,default:()=>Ch});var Zr=zi();function Lh(e,t,n){if(typeof e=="function")return e({opacityValue:t});let r=(0,Zr.parseColor)(e,{loose:!0});return r===null?n:(0,Zr.formatColor)({...r,alpha:t})}function Ch({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,Zr.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,Zr.formatColor)({...i,alpha:`var(${n})`})]))}}});var ou=I(Hi=>{"use strict";c();Object.defineProperty(Hi,"__esModule",{value:!0});function Dh(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}Dh(Hi,{pattern:()=>Fh,withoutCapturing:()=>ru,any:()=>nu,optional:()=>Nh,zeroOrMore:()=>Wh,nestedBrackets:()=>iu,escape:()=>ot});var tu=/[\\^$.*+?()[\]{}|]/g,Mh=RegExp(tu.source);function ir(e){return e=Array.isArray(e)?e:[e],e=e.map(t=>t instanceof RegExp?t.source:t),e.join("")}function Fh(e){return new RegExp(ir(e),"g")}function ru(e){return new RegExp(`(?:${ir(e)})`,"g")}function nu(e){return`(?:${e.map(ir).join("|")})`}function Nh(e){return`(?:${ir(e)})?`}function Wh(e){return`(?:${ir(e)})*`}function iu(e,t,n=1){return ru([ot(e),/[^\s]*/,n===1?`[^${ot(e)}${ot(t)}s]*`:nu([`[^${ot(e)}${ot(t)}s]*`,iu(e,t,n-1)]),/[^\s]*/,ot(t)])}function ot(e){return e&&Mh.test(e)?e.replace(tu,"\\$&"):e||""}});var au=I(Vi=>{"use strict";c();Object.defineProperty(Vi,"__esModule",{value:!0});Object.defineProperty(Vi,"splitAtTopLevelOnly",{enumerable:!0,get:()=>Bh});var $h=qh(ou());function su(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,n=new WeakMap;return(su=function(r){return r?n:t})(e)}function qh(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var n=su(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*Bh(e,t){let n=new RegExp(`[(){}\\[\\]${$h.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,g=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++),g&&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 lu=I(Yi=>{"use strict";c();Object.defineProperty(Yi,"__esModule",{value:!0});function Uh(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}Uh(Yi,{parseBoxShadowValue:()=>Hh,formatBoxShadowValue:()=>Vh});var zh=au(),Gh=new Set(["inset","inherit","initial","revert","unset"]),jh=/\ +(?![^(]*\))/g,uu=/^-?(\d+|\.\d+)(.*?)$/g;function Hh(e){return Array.from((0,zh.splitAtTopLevelOnly)(e,",")).map(n=>{let r=n.trim(),i={raw:r},s=r.split(jh),o=new Set;for(let a of s)uu.lastIndex=0,!o.has("KEYWORD")&&Gh.has(a)?(i.keyword=a,o.add("KEYWORD")):uu.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 Vh(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 gu=I(Qi=>{"use strict";c();Object.defineProperty(Qi,"__esModule",{value:!0});function Yh(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}Yh(Qi,{normalize:()=>Ke,url:()=>du,number:()=>Kh,percentage:()=>pu,length:()=>hu,lineWidth:()=>e0,shadow:()=>t0,color:()=>r0,image:()=>n0,gradient:()=>mu,position:()=>s0,familyName:()=>a0,genericName:()=>l0,absoluteSize:()=>c0,relativeSize:()=>p0});var Xh=zi(),Qh=lu(),Xi=["min","max","clamp","calc"],cu=/,(?![^(]*\))/g,en=/_(?![^(]*\))/g;function Ke(e,t=!0){return e.includes("url(")?e.split(/(url\(.*?\))/g).filter(Boolean).map(n=>/^url\(.*?\)$/.test(n)?n:Ke(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 du(e){return e.startsWith("url(")}function Kh(e){return!isNaN(Number(e))||Xi.some(t=>new RegExp(`^${t}\\(.+?`).test(e))}function pu(e){return e.split(en).every(t=>/%$/g.test(t)||Xi.some(n=>new RegExp(`^${n}\\(.+?%`).test(t)))}var Jh=["cm","mm","Q","in","pc","pt","px","em","ex","ch","rem","lh","vw","vh","vmin","vmax"],fu=`(?:${Jh.join("|")})`;function hu(e){return e.split(en).every(t=>t==="0"||new RegExp(`${fu}$`).test(t)||Xi.some(n=>new RegExp(`^${n}\\(.+?${fu}`).test(t)))}var Zh=new Set(["thin","medium","thick"]);function e0(e){return Zh.has(e)}function t0(e){let t=(0,Qh.parseBoxShadowValue)(Ke(e));for(let n of t)if(!n.valid)return!1;return!0}function r0(e){let t=0;return e.split(en).every(r=>(r=Ke(r),r.startsWith("var(")?!0:(0,Xh.parseColor)(r,{loose:!0})!==null?(t++,!0):!1))?t>0:!1}function n0(e){let t=0;return e.split(cu).every(r=>(r=Ke(r),r.startsWith("var(")?!0:du(r)||mu(r)||["element(","image(","cross-fade(","image-set("].some(i=>r.startsWith(i))?(t++,!0):!1))?t>0:!1}var i0=new Set(["linear-gradient","radial-gradient","repeating-linear-gradient","repeating-radial-gradient","conic-gradient"]);function mu(e){e=Ke(e);for(let t of i0)if(e.startsWith(`${t}(`))return!0;return!1}var o0=new Set(["center","top","right","bottom","left"]);function s0(e){let t=0;return e.split(en).every(r=>(r=Ke(r),r.startsWith("var(")?!0:o0.has(r)||hu(r)||pu(r)?(t++,!0):!1))?t>0:!1}function a0(e){let t=0;return e.split(cu).every(r=>(r=Ke(r),r.startsWith("var(")?!0:r.includes(" ")&&!/(['"])([^"']+)\1/g.test(r)||/^\d/g.test(r)?!1:(t++,!0)))?t>0:!1}var u0=new Set(["serif","sans-serif","monospace","cursive","fantasy","system-ui","ui-serif","ui-sans-serif","ui-monospace","ui-rounded","math","emoji","fangsong"]);function l0(e){return u0.has(e)}var f0=new Set(["xx-small","x-small","small","medium","large","x-large","x-large","xxx-large"]);function c0(e){return f0.has(e)}var d0=new Set(["larger","smaller"]);function p0(e){return d0.has(e)}});var ku=I(Zi=>{"use strict";c();Object.defineProperty(Zi,"__esModule",{value:!0});function h0(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}h0(Zi,{updateAllClasses:()=>b0,asValue:()=>sr,parseColorFormat:()=>Ki,asColor:()=>wu,asLookupValue:()=>_u,coerceValue:()=>w0});var m0=Ji(Xa()),g0=Ji(Qa()),bu=ji(),ve=gu(),vu=Ji(Nn());function Ji(e){return e&&e.__esModule?e:{default:e}}function b0(e,t){return(0,m0.default)(i=>{i.walkClasses(s=>{let o=t(s.value);s.value=o,s.raws&&s.raws.value&&(s.raws.value=(0,g0.default)(s.raws.value))})}).processSync(e)}function xu(e,t){if(!or(e))return;let n=e.slice(1,-1);if(!!t(n))return(0,ve.normalize)(n)}function v0(e,t={},n){let r=t[e];if(r!==void 0)return(0,vu.default)(r);if(or(e)){let i=xu(e,n);return i===void 0?void 0:(0,vu.default)(i)}}function sr(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("-")?v0(e.slice(1),t.values,n):xu(e,n)}function or(e){return e.startsWith("[")&&e.endsWith("]")}function y0(e){let t=e.lastIndexOf("/");return t===-1||t===e.length-1?[e]:[e.slice(0,t),e.slice(t+1)]}function Ki(e){if(typeof e=="string"&&e.includes("<alpha-value>")){let t=e;return({opacityValue:n=1})=>t.replace("<alpha-value>",n)}return e}function wu(e,t={},{tailwindConfig:n={}}={}){var r;if(((r=t.values)===null||r===void 0?void 0:r[e])!==void 0){var i;return Ki((i=t.values)===null||i===void 0?void 0:i[e])}let[s,o]=y0(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:or(s)?s.slice(1,-1):void 0;return d===void 0?void 0:(d=Ki(d),or(o)?(0,bu.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,bu.withAlphaValue)(d,n.theme.opacity[o]))}return sr(e,t,{validate:ve.color})}function _u(e,t={}){var n;return(n=t.values)===null||n===void 0?void 0:n[e]}function Pe(e){return(t,n)=>sr(t,n,{validate:e})}var Su={any:sr,color:wu,url:Pe(ve.url),image:Pe(ve.image),length:Pe(ve.length),percentage:Pe(ve.percentage),position:Pe(ve.position),lookup:_u,"generic-name":Pe(ve.genericName),"family-name":Pe(ve.familyName),number:Pe(ve.number),"line-width":Pe(ve.lineWidth),"absolute-size":Pe(ve.absoluteSize),"relative-size":Pe(ve.relativeSize),shadow:Pe(ve.shadow)},yu=Object.keys(Su);function x0(e,t){let n=e.indexOf(t);return n===-1?[void 0,e]:[e.slice(0,n),e.slice(n+1)]}function w0(e,t,n,r){if(or(t)){let i=t.slice(1,-1),[s,o]=x0(i,":");if(!/^[\w-_]+$/g.test(s))o=i;else if(s!==void 0&&!yu.includes(s))return[];if(o.length>0&&yu.includes(s))return[sr(`[${o}]`,n),s]}for(let i of[].concat(e)){let s=Su[i](t,n,{tailwindConfig:r});if(s!==void 0)return[s,i]}return[]}});var Tu=I(eo=>{"use strict";c();Object.defineProperty(eo,"__esModule",{value:!0});Object.defineProperty(eo,"default",{enumerable:!0,get:()=>_0});function _0(e){return typeof e=="function"?e({}):e}});var Ru=I(ro=>{"use strict";c();Object.defineProperty(ro,"__esModule",{value:!0});Object.defineProperty(ro,"default",{enumerable:!0,get:()=>U0});var S0=st(Nn()),k0=st(Cs()),T0=st(Ds()),E0=st(qn()),O0=st(Fs()),Pu=Ns(),Eu=Ws(),P0=qs(),A0=st(Bs()),R0=Us(),I0=ku(),L0=ji(),C0=st(Tu());function st(e){return e&&e.__esModule?e:{default:e}}function bt(e){return typeof e=="function"}function ar(e){return typeof e=="object"&&e!==null}function ur(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?ar(e[i])&&ar(r[i])?e[i]=ur(e[i],r[i],n):e[i]=r[i]:e[i]=s}return e}var to={colors:O0.default,negative(e){return Object.keys(e).filter(t=>e[t]!=="0").reduce((t,n)=>{let r=(0,S0.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 D0(e,...t){return bt(e)?e(...t):e}function M0(e){return e.reduce((t,{extend:n})=>ur(t,n,(r,i)=>r===void 0?[i]:Array.isArray(r)?[i,...r]:[i,r]),{})}function F0(e){return{...e.reduce((t,n)=>(0,Pu.defaults)(t,n),{}),extend:M0(e)}}function Ou(e,t){if(Array.isArray(e)&&ar(e[0]))return e.concat(t);if(Array.isArray(t)&&ar(t[0])&&ar(e))return[e,...t];if(Array.isArray(t))return t}function N0({extend:e,...t}){return ur(t,e,(n,r)=>!bt(n)&&!r.some(bt)?ur({},n,...r,Ou):(i,s)=>ur({},...[n,...r].map(o=>D0(o,i,s)),Ou))}function*W0(e){let t=(0,Eu.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,Eu.toPath)(i);o.alpha=s,yield o}}function $0(e){let t=(n,r)=>{for(let i of W0(n)){let s=0,o=e;for(;o!=null&&s<i.length;)o=o[i[s++]],o=bt(o)&&(i.alpha===void 0||s<=i.length-1)?o(t,to):o;if(o!==void 0){if(i.alpha!==void 0){let a=(0,I0.parseColorFormat)(o);return(0,L0.withAlphaValue)(a,i.alpha,(0,C0.default)(a))}return(0,A0.default)(o)?(0,R0.cloneDeep)(o):o}}return r};return Object.assign(t,{theme:t,...to}),Object.keys(e).reduce((n,r)=>(n[r]=bt(e[r])?e[r](t,to):e[r],n),{})}function Au(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,...Au([(o=s==null?void 0:s.config)!==null&&o!==void 0?o:{}])]})}),t}function q0(e){return[...e].reduceRight((n,r)=>bt(r)?r({corePlugins:n}):(0,T0.default)(r,n),k0.default)}function B0(e){return[...e].reduceRight((n,r)=>[...n,...r],[])}function U0(e){let t=[...Au(e),{prefix:"",important:!1,separator:":",variantOrder:E0.default.variantOrder}];var n,r;return(0,P0.normalizeConfig)((0,Pu.defaults)({theme:$0(N0(F0(t.map(i=>(n=i==null?void 0:i.theme)!==null&&n!==void 0?n:{})))),corePlugins:q0(t.map(i=>i.corePlugins)),plugins:B0(e.map(i=>(r=i==null?void 0:i.plugins)!==null&&r!==void 0?r:[]))},...t))}});var Iu={};_r(Iu,{default:()=>z0});var z0,Lu=wr(()=>{c();z0={yellow:e=>e}});var Fu=I(no=>{"use strict";c();Object.defineProperty(no,"__esModule",{value:!0});function G0(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}G0(no,{flagEnabled:()=>V0,issueFlagNotices:()=>Y0,default:()=>X0});var j0=Mu((Lu(),_t(Iu))),H0=Mu(($r(),_t(Wr)));function Mu(e){return e&&e.__esModule?e:{default:e}}var Cu={optimizeUniversalDefaults:!1},lr={future:["hoverOnlyWhenSupported","respectDefaultRingColorOpacity"],experimental:["optimizeUniversalDefaults","matchVariant"]};function V0(e,t){if(lr.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:Cu[t])!==null&&i!==void 0?i:!1)}if(lr.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:Cu[t])!==null&&a!==void 0?a:!1)}return!1}function Du(e){if(e.experimental==="all")return lr.experimental;var t;return Object.keys((t=e==null?void 0:e.experimental)!==null&&t!==void 0?t:{}).filter(n=>lr.experimental.includes(n)&&e.experimental[n])}function Y0(e){if(process.env.JEST_WORKER_ID===void 0&&Du(e).length>0){let t=Du(e).map(n=>j0.default.yellow(n)).join(", ");H0.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 X0=lr});var Wu=I(io=>{"use strict";c();Object.defineProperty(io,"__esModule",{value:!0});Object.defineProperty(io,"default",{enumerable:!0,get:()=>Nu});var Q0=J0(qn()),K0=Fu();function J0(e){return e&&e.__esModule?e:{default:e}}function Nu(e){var t;let n=((t=e==null?void 0:e.presets)!==null&&t!==void 0?t:[Q0.default]).slice().reverse().flatMap(s=>Nu(typeof s=="function"?s():s)),r={respectDefaultRingColorOpacity:{theme:{ringColor:{DEFAULT:"#3b82f67f"}}}},i=Object.keys(r).filter(s=>(0,K0.flagEnabled)(e,s)).map(s=>r[s]);return[e,...i,...n]}});var qu=I(oo=>{"use strict";c();Object.defineProperty(oo,"__esModule",{value:!0});Object.defineProperty(oo,"default",{enumerable:!0,get:()=>tm});var Z0=$u(Ru()),em=$u(Wu());function $u(e){return e&&e.__esModule?e:{default:e}}function tm(...e){let[,...t]=(0,em.default)(e[0]);return(0,Z0.default)([...e,...t])}});var Uu=I((Cb,Bu)=>{c();var so=qu();Bu.exports=(so.__esModule?so:{default:so}).default});var wm={};_r(wm,{default:()=>To,init:()=>No});module.exports=_t(wm);c();c();c();var pt;function No(e){pt=e}var St=null;async function We(){return pt||(St?(await St,pt):(St=Promise.resolve().then(()=>(Fo(),Mo)).then(e=>e.getYogaModule()).then(e=>pt=e),await St,St=null,pt))}c();c();c();var kt=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),kl=kt((e,t)=>{t.exports=["em","ex","ch","rem","vh","vw","vmin","vmax","px","mm","cm","in","pt","pc","mozmm"]}),Tl=kt((e,t)=>{t.exports=["deg","grad","rad","turn"]}),El=kt((e,t)=>{t.exports=["dpi","dpcm","dppx"]}),Ol=kt((e,t)=>{t.exports=["Hz","kHz"]}),Pl=kt((e,t)=>{t.exports=["s","ms"]}),Al=kl(),Wo=Tl(),$o=El(),qo=Ol(),Bo=Pl();function pn(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(Rl(e)>1)throw new Error("Only one dot is allowed");if(/%$/.test(e)){this.type="percentage",this.value=dn(e),this.unit="%";return}var t=Ll(e);if(!t){this.type="number",this.value=dn(e);return}this.type=Dl(t),this.value=dn(e.substr(0,e.length-t.length)),this.unit=t}pn.prototype.valueOf=function(){return this.value};pn.prototype.toString=function(){return this.value+(this.unit||"")};function Ve(e){return new pn(e)}function Rl(e){var t=e.match(/\./g);return t?t.length:0}function dn(e){var t=parseFloat(e);if(isNaN(t))throw new Error("Invalid number: "+e);return t}var Il=[].concat(Wo,qo,Al,$o,Bo);function Ll(e){var t=e.match(/\D+$/),n=t&&t[0];if(n&&Il.indexOf(n)===-1)throw new Error("Invalid unit: "+n);return n}var Cl=Object.assign(Sr(Wo,"angle"),Sr(qo,"frequency"),Sr($o,"resolution"),Sr(Bo,"time"));function Sr(e,t){return Object.fromEntries(e.map(n=>[n,t]))}function Dl(e){return Cl[e]||"length"}var Uo=rt(require("linebreak"),1);function kr(e){let t=typeof e;return!(t==="number"||t==="bigint"||t==="string"||t==="boolean")}function zo(e){return/^class\s/.test(e.toString())}function Go(e){return"dangerouslySetInnerHTML"in e}function jo(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 j(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 Ve(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 Tt(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 ge(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 hn,mn,Ho=[32,160,4961,65792,65793,4153,4241,10].map(e=>String.fromCodePoint(e));function me(e,t,n){if(!hn||!mn){if(!(typeof Intl<"u"&&"Segmenter"in Intl))throw new Error("Intl.Segmenter does not exist, please use import a polyfill.");hn=new Intl.Segmenter(n,{granularity:"word"}),mn=new Intl.Segmenter(n,{granularity:"grapheme"})}if(t==="grapheme")return[...mn.segment(e)].map(r=>r.segment);{let r=[...hn.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 P(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 Vo(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 Yo={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"},Ml=/[\r\n%#()<>?[\\\]^`{|}"']/g;function gn(e,t){if(!e)return"";if(Array.isArray(e))return e.map(a=>gn(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),` ${Yo[a]||a}="${u}"`)).join("")}>${gn(r,o)}</${n}>`}function Et(e){return e?e.split(/[, ]/).filter(Boolean).map(Number):null}function Xo(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=Et(n),g=d?d[3]/d[2]:null;return i=i||g&&s?s/g:null,s=s||g&&i?i*g: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),` ${Yo[h]||h}="${p}"`)).join("")}>${gn(u,f)}</svg>`.replace(Ml,encodeURIComponent)}`}function Fl(e){return Object.prototype.toString.call(e)}function Qo(e){return typeof e=="string"}function Ko(e){return Fl(e)==="[object Undefined]"}function Jo(e,t){if(t==="break-all")return{words:me(e,"grapheme"),requiredBreaks:[]};if(t==="keep-all")return{words:me(e,"word"),requiredBreaks:[]};let n=new Uo.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 ke="flex",Zo={p:{display:ke,marginTop:"1em",marginBottom:"1em"},div:{display:ke},blockquote:{display:ke,marginTop:"1em",marginBottom:"1em",marginLeft:40,marginRight:40},center:{display:ke,textAlign:"center"},hr:{display:ke,marginTop:"0.5em",marginBottom:"0.5em",marginLeft:"auto",marginRight:"auto",borderWidth:1,borderStyle:"solid"},h1:{display:ke,fontSize:"2em",marginTop:"0.67em",marginBottom:"0.67em",marginLeft:0,marginRight:0,fontWeight:"bold"},h2:{display:ke,fontSize:"1.5em",marginTop:"0.83em",marginBottom:"0.83em",marginLeft:0,marginRight:0,fontWeight:"bold"},h3:{display:ke,fontSize:"1.17em",marginTop:"1em",marginBottom:"1em",marginLeft:0,marginRight:0,fontWeight:"bold"},h4:{display:ke,marginTop:"1.33em",marginBottom:"1.33em",marginLeft:0,marginRight:0,fontWeight:"bold"},h5:{display:ke,fontSize:"0.83em",marginTop:"1.67em",marginBottom:"1.67em",marginLeft:0,marginRight:0,fontWeight:"bold"},h6:{display:ke,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:ke,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 Nl=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 bn(e){let t={};for(let n in e)Nl.has(n)&&(t[n]=e[n]);return t}c();var Re=require("css-to-react-native"),is=require("css-background-parser"),os=require("css-box-shadow"),ss=rt(require("parse-css-color"),1);c();var es=rt(require("postcss-value-parser"),1);function Wl(e,t){try{let n=new Ve(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 vn(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=Wl(e,t);return r.absolute?{[n?"xAbsolute":"yAbsolute"]:r.absolute}:r.relative?{[n?"xRelative":"yRelative"]:r.relative}:{}}}}function yn(e,t){if(typeof e=="number")return{xAbsolute:e};let n;try{n=(0,es.default)(e).nodes.filter(r=>r.type==="word").map(r=>r.value)}catch{return{}}return n.length===1?vn(n[0],t,!0):n.length===2?((n[0]==="top"||n[0]==="bottom"||n[1]==="left"||n[1]==="right")&&n.reverse(),{...vn(n[0],t,!0),...vn(n[1],t,!1)}):{}}var $l=new Set(["flex","flexGrow","flexShrink","flexBasis","fontWeight","lineHeight","opacity","scale","scaleX","scaleY"]),ql=new Set(["lineHeight"]);function Bl(e,t,n,r){return e==="textDecoration"&&!n.includes(t.textDecorationColor)&&(t.textDecorationColor=r),t}function Ot(e,t){return typeof t=="number"?$l.has(e)?ql.has(e)?t:String(t):t+"px":t}function Ul(e,t,n){if(e==="lineHeight")return{lineHeight:Ot(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,Re.getStylesForProperty)(e,r,!0),o=(0,Re.getStylesForProperty)(e,i,!0);for(let a in s)o[a]=Ot(e,s[a])+" "+Ot(e,o[a]);return o}if(/^border(Top|Right|Bottom|Left)?$/.test(e)){let r=(0,Re.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:Ot(e+"Width",r.borderWidth),Style:ge(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,os.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,Re.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,Re.getStylesForProperty)("backgroundImage",t,!0):(0,Re.getStylesForProperty)("background",t,!0);if(e==="textShadow"&&(t=t.toString().trim(),t.includes(","))){let r=zl(t),i={};for(let s of r){let o=(0,Re.getStylesForProperty)("textShadow",s,!0);for(let a in o)i[a]?i[a].push(o[a]):i[a]=[o[a]]}return i}}function zl(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 ts(e){return e==="transform"?" Only absolute lengths such as `10px` are supported.":""}var rs=/rgb\((\d+)\s+(\d+)\s+(\d+)\s*\/\s*([\.\d]+)\)/;function as(e){if(typeof e=="string"&&rs.test(e.trim()))return e.trim().replace(rs,(t,n,r,i,s)=>`rgba(${n}, ${r}, ${i}, ${s})`);if(typeof e=="object"&&e!==null){for(let t in e)e[t]=as(e[t]);return e}return e}function Tr(e,t){let n={};if(e){let i=jl(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,Re.getPropertyName)(s),a=Vl(e[s],i);try{let u=Ul(o,a,i)||Bl(o,(0,Re.getStylesForProperty)(o,Ot(o,a),!0),a,i);Object.assign(n,u)}catch(u){throw new Error(u.message+(u.message.includes(a)?`
4
+ `+ts(o):`
5
+ in CSS rule \`${o}: ${a}\`.${ts(o)}`))}}}if(n.backgroundImage){let{backgrounds:i}=(0,is.parseElementStyle)(n);n.backgroundImage=i}let r=Gl(n.fontSize,t.fontSize);typeof n.fontSize<"u"&&(n.fontSize=r),n.transformOrigin&&(n.transformOrigin=yn(n.transformOrigin,r));for(let i in n){let s=n[i];if(i==="lineHeight")typeof s=="string"&&(s=n[i]=j(s,r,r,t,!0)/r);else{if(typeof s=="string"){let o=j(s,r,r,t);typeof o<"u"&&(n[i]=o),s=n[i]}if(typeof s=="string"||typeof s=="object"){let o=as(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"?j(l,r,r,t)??l:l;a[u]=f}}}return n}function Gl(e,t){if(typeof e=="number")return e;try{let n=new Ve(e);switch(n.unit){case"em":return n.value*t;case"rem":return n.value*16}}catch{return t}}function ns(e){if(e.startsWith("hsl")){let t=(0,ss.default)(e),[n,r,i]=t.values;return`hsl(${[n,`${r}%`,`${i}%`].concat(t.alpha===1?[]:[t.alpha]).join(",")})`}return e}function jl(e,t){return e&&e.toLowerCase()!=="currentcolor"?ns(e):ns(t)}function Hl(e,t){return e.replace(/currentcolor/gi,t)}function Vl(e,t){return Qo(e)&&(e=Hl(e,t)),e}c();var Yl="image/avif",Xl="image/webp",Er="image/png",Or="image/jpeg",Pr="image/gif",wn="image/svg+xml";function cs(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 ds(e){let t=new Uint8Array(e.slice(6,10));return[t[0]|t[1]<<8,t[2]|t[3]<<8]}function ps(e){let t=new DataView(e);return[t.getUint16(18,!1),t.getUint16(22,!1)]}var us=Vo(100),xn=new Map,Ql=[Er,Or,Pr,wn];function Kl(e){let t="",n=new Uint8Array(e);for(let r=0;r<n.byteLength;r++)t+=String.fromCharCode(n[r]);return btoa(t)}function Jl(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 ls(e,t){let n=t.match(/<svg[^>]*>/)[0],r=n.match(/viewBox=['"](.+)['"]/),i=r?Et(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 fs(e){let t,n=Zl(new Uint8Array(e));switch(n){case Er:t=ps(e);break;case Pr:t=ds(e);break;case Or:t=cs(e);break}if(!Ql.includes(n))throw new Error(`Unsupported image type: ${n||"unknown"}`);return[`data:${n};base64,${Kl(e)}`,t]}async function Ar(e){if(!e)throw new Error("Image source is not provided.");if(typeof e=="object"){let[i,s]=fs(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===wn){let u=o==="base64"?atob(a):decodeURIComponent(a.replace(/ /g,"%20")),l=o==="base64"?e:`data:image/svg+xml;base64,${btoa(u)}`,f=ls(e,u);return[l,...f]}else if(o==="base64"){let u,l=Jl(a);switch(s){case Er:u=ps(l);break;case Pr:u=ds(l);break;case Or:u=cs(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(xn.has(e))return xn.get(e);let t=us.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=ls(n,i);return[a,...u]}catch(a){throw new Error(`Failed to parse SVG image: ${a.message}`)}let[s,o]=fs(i);return[s,...o]}).then(i=>(us.set(n,i),i)).catch(i=>(console.error(`Can't load image ${n}: `+i.message),[]));return xn.set(n,r),r}function Zl(e){return[255,216,255].every((t,n)=>e[n]===t)?Or:[137,80,78,71,13,10,26,10].every((t,n)=>e[n]===t)?Er:[71,73,70,56].every((t,n)=>e[n]===t)?Pr:[82,73,70,70,0,0,0,0,87,69,66,80].every((t,n)=>!t||e[n]===t)?Xl:[60,63,120,109,108].every((t,n)=>e[n]===t)?wn:[0,0,0,0,102,116,121,112,97,118,105,102].every((t,n)=>!t||e[n]===t)?Yl:null}async function _n(e,t,n,r,i){let s=await We(),o={...n,...Tr(Zo[t],n),...Tr(r,n)};if(t==="img"){let[a,u,l]=await Ar(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),g=(o.borderTopWidth||0)+(o.borderBottomWidth||0)+(o.paddingTop||0)+(o.paddingBottom||0),h=o.width||i.width,p=o.height||i.height,m=typeof h!="string"&&typeof p!="string";typeof h=="number"&&m&&(h-=d),typeof p=="number"&&m&&(p-=g),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=m?h+d:h,o.height=m?p+g:p,o.__src=a}if(t==="svg"){let a=i.viewBox||i.viewbox,u=Et(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=j(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=j(f,n.fontSize,1,n),d=f*l):(typeof f<"u"&&(f=j(f,n.fontSize,1,n)||f),typeof d<"u"&&(d=j(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(ge(o.display,{flex:s.DISPLAY_FLEX,none:s.DISPLAY_NONE},s.DISPLAY_FLEX,"display")),e.setAlignContent(ge(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(ge(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(ge(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(ge(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(ge(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(ge(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(ge(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(ge(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,bn(o)]}c();c();c();var hs=[1,0,0,1,0,0];function ef(e,t,n){let r=[...hs];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=[...hs];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=Tt(u,r)}e.splice(0,e.length),e.push(...r),e.__resolved=!0}function Pt({left:e,top:t,width:n,height:r},i,s,o){let a;i.__resolved||ef(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,g=t+f;a=Tt([1,0,0,1,d,g],Tt(u,[1,0,0,1,-d,-g])),u.__parent&&(a=Tt(u.__parent,a)),u.splice(0,6,...a)}return`matrix(${a.map(l=>l.toFixed(2)).join(",")})`}function ms({left:e,top:t,width:n,height:r,isInheritingTransform:i},s){let o="",a=1;return s.transform&&(o=Pt({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 Sn({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:g,decorationShape:h},p){let m="";if(d&&(m=P("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})">`:"")+P("image",{...v,opacity:u!==1?u:void 0})+(h||"")+(n?"</g>":"")+m,""]}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})">`:"")+P("text",{...w,fill:p.color,opacity:u!==1?u:void 0},t)+(h||"")+(n?"</g>":"")+m,g?P("text",w,t):""]}c();function tf(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 Rr=1.1;function gs({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 g=r.shadowRadius[d]*r.shadowRadius[d]/4;a=Math.min(r.shadowOffset[d].width-g,a),u=Math.max(r.shadowOffset[d].width+g+t,u),l=Math.min(r.shadowOffset[d].height-g,l),f=Math.max(r.shadowOffset[d].height+g+n,f),s+=P("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=P("feMergeNode",{in:`satori_s-${e}-result-${d}`})+o)}return P("filter",{id:`satori_s-${e}`,x:(a/t*100*Rr).toFixed(2)+"%",y:(l/n*100*Rr).toFixed(2)+"%",width:((u-a)/t*100*Rr).toFixed(2)+"%",height:((f-l)/n*100*Rr).toFixed(2)+"%"},s+(o?P("feMerge",{},o):""))}function bs({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),g=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),m=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+=P("mask",{id:v,maskUnits:"userSpaceOnUse"},P("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="([^"]+)"/,(S,k)=>'d="'+tf(k,f.offsetX,f.offsetY)+'"').replace(/x="([^"]+)"/,(S,k)=>'x="'+(parseFloat(k)+f.offsetX)+'"').replace(/y="([^"]+)"/,(S,k)=>'y="'+(parseFloat(k)+f.offsetY)+'"');f.spreadRadius&&f.spreadRadius<0&&(l+=P("mask",{id:v+"-neg",maskUnits:"userSpaceOnUse"},_.replace('stroke="#fff"','stroke="#000"').replace(/stroke-width="[^"]+"/,`stroke-width="${-f.spreadRadius*2}"`))),f.spreadRadius&&f.spreadRadius<0&&(_=P("g",{mask:`url(#${v}-neg)`},_)),l+=P("defs",{},P("filter",{id:w,x:`${g/e*100}%`,y:`${p/t*100}%`,width:`${(h-g)/e*100}%`,height:`${(m-p)/t*100}%`},P("feGaussianBlur",{stdDeviation:f.blurRadius/2,result:"b"})+P("feFlood",{"flood-color":f.color,in:"SourceGraphic",result:"f"})+P("feComposite",{in:"f",in2:"b",operator:f.inset?"out":"in"})))+P("g",{mask:`url(#${v})`,filter:`url(#${w})`,opacity:r},_),f.inset?a+=l:o+=l}return[o,a]}c();function kn({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,g=a==="dashed"?`${f*1.2} ${f*2}`:a==="dotted"?`0 ${f*2}`:void 0;return P("line",{x1:t,y1:d,x2:t+e,y2:d,stroke:o,"stroke-width":f,"stroke-dasharray":g,"stroke-linecap":a==="dotted"?"round":"square","clip-path":i?`url(#${i})`:void 0})}async function*Tn(e,t){var Lo;let n=await We(),{parentStyle:r,inheritedStyle:i,parent:s,font:o,id:a,isInheritingTransform:u,debug:l,embedFont:f,graphemeImages:d,locale:g,canLoadAdditionalAssets:h}=t,{textAlign:p,textOverflow:m,whiteSpace:w,wordBreak:v,lineHeight:y,textTransform:_,textWrap:S,fontSize:k,filter:C,_inheritedBackgroundClipTextPath:D}=r;e=rf(e,_,g);let{content:F,shouldCollapseWhitespace:Y,allowSoftWrap:J}=of(e,w),{words:ne,requiredBreaks:U,allowBreakWord:N}=nf(F,v),Z=sf(n,p);s.insertChild(Z,s.getChildCount()),Ko(r.flexShrink)&&s.setFlexShrink(1);let H=o.getEngine(k,y,r,g),ce=h?me(e,"grapheme").filter(q=>!H.has(q)):[];yield ce.map(q=>({word:q,locale:g})),ce.length&&(H=o.getEngine(k,y,r,g));let _e=af(H,r);function ie(q){return!!(d&&d[q])}function ee(q){let B=0;for(let W of q)ie(W)?B+=k:B+=_e(W);return B}let Me=q=>{if(q.length===0)return{originWidth:0,endingSpacesWidth:0};let B=ee(me(q,"grapheme")),W=q.trimEnd()===q?B:ee(me(q.trimEnd(),"grapheme"));return{originWidth:B,endingSpacesWidth:B-W}},R=[],L=[],$=[],M=[],oe=[];function xe(q){let B=0,W=0,we=0,pe=-1,he=0,se=0,ue=0;R=[],$=[0],M=[],oe=[];let Ne=0;for(;Ne<ne.length;){let X=ne[Ne],Ze=U[Ne],Se=0,je=0,{originWidth:wt,endingSpacesWidth:et}=Me(X);Se=wt,je=et,Ze&&se===0&&(se=H.height(X));let le=",.!?:-@)>]}%#".indexOf(X[0])<0,de=!W,He=Ne&&le&&W+Se>q+je&&J;if(N&&Se>q&&(!W||He||Ze)){let tt=me(X,"grapheme");ne.splice(Ne,1,...tt),W>0&&(R.push(W),L.push(ue),B++,he+=se,W=0,se=0,ue=0,$.push(1),pe=-1);continue}if(Ze||He)Y&&X===" "&&(Se=0),R.push(W),L.push(ue),B++,he+=se,W=Se,se=Se?H.height(X):0,ue=Se?H.baseline(X):0,$.push(1),pe=-1,Ze||(we=Math.max(we,q));else{W+=Se;let tt=H.height(X);tt>se&&(se=tt,ue=H.baseline(X)),de&&$[$.length-1]++}de&&pe++,we=Math.max(we,W);let dt=W-Se;if(Se===0)oe.push({y:he,x:dt,width:0,line:B,lineIndex:pe,isImage:!1});else{let tt=me(X,"word");for(let fn=0;fn<tt.length;fn++){let cn=tt[fn],yr=0,Co=!1;ie(cn)?(yr=k,Co=!0):yr=_e(cn),M.push(cn),oe.push({y:he,x:dt,width:yr,line:B,lineIndex:pe,isImage:Co}),dt+=yr}}Ne++}return W&&(B++,R.push(W),L.push(ue),he+=se),{width:we,height:he}}let Ue={width:0,height:0};Z.setMeasureFunc(q=>{let{width:B,height:W}=xe(q);if(S==="balance"){let we=B/2,pe=B,he=B;for(;we+1<pe;){he=(we+pe)/2;let{height:se}=xe(he);se>W?we=he:pe=he}return xe(pe),Ue={width:pe,height:W},{width:pe,height:W}}return Ue={width:B,height:W},{width:B,height:W}});let[hl,ml]=yield,on="",mr="",ze=i._inheritedClipPathId,Eo=i._inheritedMaskId,{left:Oo,top:Po,width:sn,height:gl}=Z.getComputedLayout(),an=s.getComputedWidth()-s.getComputedPadding(n.EDGE_LEFT)-s.getComputedPadding(n.EDGE_RIGHT)-s.getComputedBorder(n.EDGE_LEFT)-s.getComputedBorder(n.EDGE_RIGHT),lt=hl+Oo,ft=ml+Po,{matrix:Fe,opacity:gr}=ms({left:Oo,top:Po,width:sn,height:gl,isInheritingTransform:u},r),ct="";if(r.textShadowOffset){let{textShadowColor:q,textShadowOffset:B,textShadowRadius:W}=r;Array.isArray(r.textShadowOffset)||(q=[q],B=[B],W=[W]),ct=gs({width:Ue.width,height:Ue.height,id:a},{shadowColor:q,shadowOffset:B,shadowRadius:W}),ct=P("defs",{},ct)}let xt="",br="",Ao="",un=-1,Ro=m==="ellipsis"?ee(["\u2026"]):0,bl=m==="ellipsis"?ee([" "]):0,vr={},Ge=null,Io=0;for(let q=0;q<M.length;q++){let B=oe[q];if(!B)continue;let W=M[q],we=null,pe=!1,he=d?d[W]:null,se=B.y,ue=B.x,Ne=B.width,X=B.line;if(X===un)continue;let Ze=!1;if(R.length>1){let le=sn-R[X];if(p==="right"||p==="end")ue+=le;else if(p==="center")ue+=le/2;else if(p==="justify"&&X<R.length-1){let de=$[X];ue+=(de>1?le/(de-1):0)*B.lineIndex,Ze=!0}}if(vr[X]||(vr[X]=[ue,Ze?sn:R[X]]),m==="ellipsis"&&R[X]>an&&B.x+Ne+Ro+bl>an){let le=me(W,"grapheme",g),de="",He=0;for(let ln of le){let dt=B.x+ee([de+ln]);if(de&&dt+Ro>an)break;de+=ln,He=dt}W=de+"\u2026",un=X,vr[X][1]=He,pe=!0}let Se=L[X],je=H.baseline(W),wt=H.height(W),et=Se-je;if(he)se+=0;else if(f){if(!Ho.includes(W)&&M[q+1]&&oe[q+1]&&!oe[q+1].isImage&&se===oe[q+1].y&&!pe){Ge===null&&(Io=ue),Ge=Ge===null?W:Ge+W;continue}let le=Ge===null?W:Ge+W,de=Ge===null?ue:Io,He=B.width+ue-de;we=H.getSVG(le,{...r,left:lt+de,top:ft+se+je+et,letterSpacing:r.letterSpacing}),Ge=null,l&&(Ao+=P("rect",{x:lt+de,y:ft+se+et,width:He,height:wt,fill:"transparent",stroke:"#575eff","stroke-width":1,transform:Fe||void 0,"clip-path":ze?`url(#${ze})`:void 0})+P("line",{x1:lt+ue,x2:lt+ue+B.width,y1:ft+se+et+je,y2:ft+se+et+je,stroke:"#14c000","stroke-width":1,transform:Fe||void 0,"clip-path":ze?`url(#${ze})`:void 0}))}else se+=je+et;if(r.textDecorationLine&&(X!==((Lo=oe[q+1])==null?void 0:Lo.line)||un===X)){let le=vr[X];le&&!le[2]&&(xt+=kn({left:lt+le[0],top:ft+wt*+X,width:le[1],ascender:H.baseline(W),clipPathId:ze},r),le[2]=1)}if(we!==null)br+=we+" ";else{let[le,de]=Sn({content:W,filter:ct,id:a,left:lt+ue,top:ft+se,width:Ne,height:wt,matrix:Fe,opacity:gr,image:he,clipPathId:ze,debug:l,shape:!!D,decorationShape:xt},r);on+=le,mr+=de,xt=""}}if(br){let q=r.color!=="transparent"&&gr!==0?P("path",{fill:r.color,d:br,transform:Fe||void 0,opacity:gr!==1?gr:void 0,"clip-path":ze?`url(#${ze})`:void 0,mask:Eo?`url(#${Eo})`:void 0,style:C?`filter:${C}`:void 0}):"";D&&(mr=P("path",{d:br,transform:Fe||void 0})),on+=(ct?ct+P("g",{filter:`url(#satori_s-${a})`},q+xt):q+xt)+Ao}return mr&&(r._inheritedBackgroundClipTextPath.value+=mr),on}function rf(e,t,n){return t==="uppercase"?e=e.toLocaleUpperCase(n):t==="lowercase"?e=e.toLocaleLowerCase(n):t==="capitalize"&&(e=me(e,"word",n).map(r=>me(r,"grapheme",n).map((i,s)=>s===0?i.toLocaleUpperCase(n):i).join("")).join("")),e}function nf(e,t){let n=["break-all","break-word"].includes(t),{words:r,requiredBreaks:i}=Jo(e,t);return{words:r,requiredBreaks:i,allowBreakWord:n}}function of(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 sf(e,t){let n=e.Node.create();return n.setAlignItems(e.ALIGN_BASELINE),n.setJustifyContent(ge(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 af(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 En=En||{},vs={type:"directional",value:"bottom"};En.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]+\.?)))\%/,emLikeValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))(r?em|vw|vh)/,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(R){var L=new Error(t+": "+R);throw L.source=t,L}function r(){var R=i();return t.length>0&&n("Invalid input not EOF"),R}function i(){return C(s)}function s(){return a("linear-gradient",e.linearGradient,l,vs)||a("repeating-linear-gradient",e.repeatingLinearGradient,l,vs)||a("radial-gradient",e.radialGradient,h)||a("repeating-radial-gradient",e.repeatingRadialGradient,h)}function o(R={}){var $,M,oe,xe;let L={...R};return Object.assign(L,{style:(L.style||[]).length>0?L.style:[{type:"extent-keyword",value:"farthest-corner"}],at:{type:"position",value:{x:{type:"position-keyword",value:"center",...((M=($=L.at)==null?void 0:$.value)==null?void 0:M.x)||{}},y:{type:"position-keyword",value:"center",...((xe=(oe=L.at)==null?void 0:oe.value)==null?void 0:xe.y)||{}}}}}),R.value||Object.assign(L,{type:"shape",value:L.style.some(Ue=>["%","extent-keyword"].includes(Ue.type))?"ellipse":"circle"}),L}function a(R,L,$,M){return u(L,function(oe){var xe=$();return xe?ee(e.comma)||n("Missing comma before color stops"):xe=M,{type:R,orientation:R.endsWith("radial-gradient")?(xe==null?void 0:xe.map(Ue=>o(Ue)))??[o()]:xe,colorStops:C(D)}})}function u(R,L){var $=ee(R);if($){ee(e.startCall)||n("Missing (");var M=L($);return ee(e.endCall)||n("Missing )"),M}}function l(){return f()||d()||g()}function f(){return ie("directional",e.sideOrCorner,1)}function d(){return ie("angular",e.angleValue,1)}function g(){return ie("directional",e.zeroValue,0)}function h(){var R,L=p(),$;return L&&(R=[],R.push(L),$=t,ee(e.comma)&&(L=p(),L?R.push(L):t=$)),R}function p(){let R=m(),L=_();if(!(!R&&!L))return{...R,at:L}}function m(){let R=w()||v(),L=y()||ce()||Z(),$=ie("%",e.percentageValue,1);if(R)return{...R,style:[L,$].filter(M=>M)};if(L)return{style:[L,$].filter(M=>M),...w()||v()}}function w(){return ie("shape",/^(circle)/i,0)}function v(){return ie("shape",/^(ellipse)/i,0)}function y(){return ie("extent-keyword",e.extentKeywords,1)}function _(){if(ie("position",/^at/,0)){var R=S();return R||n("Missing positioning value"),R}}function S(){var R=k();if(R.x||R.y)return{type:"position",value:R}}function k(){return{x:Z(),y:Z()}}function C(R){var L=R(),$=[];if(L)for($.push(L);ee(e.comma);)L=R(),L?$.push(L):n("One extra comma");return $}function D(){var R=F();return R||n("Expected color definition"),R.length=Z(),R}function F(){return J()||U()||ne()||Y()}function Y(){return ie("literal",e.literalColor,0)}function J(){return ie("hex",e.hexColor,1)}function ne(){return u(e.rgbColor,function(){return{type:"rgb",value:C(N)}})}function U(){return u(e.rgbaColor,function(){return{type:"rgba",value:C(N)}})}function N(){return ee(e.number)[1]}function Z(){return ie("%",e.percentageValue,1)||H()||ce()}function H(){return ie("position-keyword",e.positionKeywords,1)}function ce(){return ie("px",e.pixelValue,1)||_e(e.emLikeValue,1)}function _e(R,L){var $=ee(R);if($)return{type:$[5],value:$[L]}}function ie(R,L,$){var M=ee(L);if(M)return{type:R,value:M[$]}}function ee(R){var L,$;return $=/^[\n\r\t\s]+/.exec(t),$&&Me($[0].length),L=R.exec(t),L&&Me(L[0].length),L}function Me(R){t=t.substr(R)}return function(R){return t=R.toString(),r()}}();var On=En;function uf(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 lf(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 ff(e,t){return typeof e=="string"&&e.endsWith("%")?t*parseFloat(e)/100:+e}function Pn(e,{x:t,y:n,defaultX:r,defaultY:i}){return(e?e.split(" ").map(s=>{try{let o=new Ve(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)=>ff(s,[t,n][o]))}function ys(e,t){let n=[];for(let o of t){let a=uf(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 An({id:e,width:t,height:n,left:r,top:i},{image:s,size:o,position:a,repeat:u},l){u=u||"repeat";let f=u==="repeat-x"||u==="repeat",d=u==="repeat-y"||u==="repeat",g=Pn(o,{x:t,y:n,defaultX:t,defaultY:n}),h=Pn(a,{x:t,y:n,defaultX:0,defaultY:0});if(s.startsWith("linear-gradient(")){let p=On.parse(s)[0],[m,w]=g,v,y,_,S,k;if(p.orientation.type==="directional")[v,y,_,S]=lf(p.orientation.value),k=Math.sqrt(Math.pow((_-v)*m,2)+Math.pow((S-y)*w,2));else if(p.orientation.type==="angular"){let U=function(N){if(N=(N%(Math.PI*2)+Math.PI*2)%(Math.PI*2),Math.abs(N-Math.PI/2)<1e-6){v=0,y=0,_=1,S=0,k=m;return}else if(Math.abs(N)<1e-6){v=0,y=1,_=0,S=0,k=w;return}if(N>=Math.PI/2&&N<Math.PI){U(Math.PI-N),y=1-y,S=1-S;return}else if(N>=Math.PI){U(N-Math.PI);let L=v;v=_,_=L,L=y,y=S,S=L;return}let Z=Math.tan(N),H=Z*ne,ce=Math.atan(H),_e=Math.sqrt(2)*Math.cos(Math.PI/4-ce);v=0,y=1,_=Math.sin(ce)*_e,S=1-Math.cos(ce)*_e;let ie=1,ee=1/Z,Me=Math.abs((ie*ne+ee)/Math.sqrt(ie*ie+ee*ee)/Math.sqrt(ne*ne+1));k=Math.sqrt(m*m+w*w)*Me},ne=m/w;U(+p.orientation.value/180*Math.PI)}let C=ys(k,p.colorStops),D=`satori_bi${e}`,F=`satori_pattern_${e}`,Y=P("pattern",{id:F,x:h[0]/t,y:h[1]/n,width:f?m/t:"1",height:d?w/n:"1",patternUnits:"objectBoundingBox"},P("linearGradient",{id:D,x1:v,y1:y,x2:_,y2:S},C.map(J=>P("stop",{offset:J.offset*100+"%","stop-color":J.color})).join(""))+P("rect",{x:0,y:0,width:m,height:w,fill:`url(#${D})`}));return[F,Y]}if(s.startsWith("radial-gradient(")){let p=On.parse(s)[0],m=p.orientation[0],[w,v]=g,y="circle",_=w/2,S=v/2;if(m.type==="shape"){if(y=m.value,m.at)if(m.at.type==="position"){let U=cf(m.at.value.x,m.at.value.y,w,v,l.fontSize,l);_=U.x,S=U.y}else throw new Error("orientation.at.type not implemented: "+m.at.type)}else throw new Error("orientation.type not implemented: "+m.type);let k=ys(t,p.colorStops),C=`satori_radial_${e}`,D=`satori_pattern_${e}`,F=`satori_mask_${e}`,Y=df(y,m.style,l.fontSize,{x:_,y:S},[w,v],l),J=P("pattern",{id:D,x:h[0]/t,y:h[1]/n,width:f?w/t:"1",height:d?v/n:"1",patternUnits:"objectBoundingBox"},P("radialGradient",{id:C},k.map(U=>P("stop",{offset:U.offset,"stop-color":U.color})).join(""))+P("mask",{id:F},P("rect",{x:0,y:0,width:w,height:v,fill:"#fff"}))+P("rect",{x:0,y:0,width:w,height:v,fill:k.at(-1).color})+P(y,{cx:_,cy:S,width:w,height:v,...Y,fill:`url(#${C})`,mask:`url(#${F})`}));return[D,J]}if(s.startsWith("url(")){let p=Pn(o,{x:t,y:n,defaultX:0,defaultY:0}),[m,w,v]=await Ar(s.slice(4,-1)),y=p[0]||w,_=p[1]||v;return[`satori_bi${e}`,P("pattern",{id:`satori_bi${e}`,patternContentUnits:"userSpaceOnUse",patternUnits:"userSpaceOnUse",x:h[0]+r,y:h[1]+i,width:f?y:"100%",height:d?_:"100%"},P("image",{x:0,y:0,width:y,height:_,preserveAspectRatio:"none",href:m}))]}throw new Error(`Invalid background image: "${s}"`)}function cf(e,t,n,r,i,s){let o={x:n/2,y:r/2};return e.type==="position-keyword"?Object.assign(o,xs(e.value,n,r,"x")):o.x=j(`${e.value}${e.type}`,i,n,s,!0),t.type==="position-keyword"?Object.assign(o,xs(t.value,n,r,"y")):o.y=j(`${t.value}${t.type}`,i,r,s,!0),o}function xs(e,t,n,r){switch(e){case"center":return{[r]:r==="x"?t/2:n/2};case"left":return{x:0};case"top":return{y:0};case"right":return{x:t};case"bottom":return{y:n}}}function df(e,t,n,r,i,s){let[o,a]=i,{x:u,y:l}=r,f={},d=0,g=0;if(!t.some(p=>p.type==="extent-keyword")){if(t.some(p=>p.value.startsWith("-")))throw new Error("disallow setting negative values to the size of the shape. Check https://w3c.github.io/csswg-drafts/css-images/#valdef-rg-size-length-0");return e==="circle"?{r:j(`${t[0].value}${t[0].type}`,n,o,s,!0)}:{rx:j(`${t[0].value}${t[0].type}`,n,o,s,!0),ry:j(`${t[1].value}${t[1].type}`,n,a,s,!0)}}switch(t[0].value){case"farthest-corner":d=Math.max(Math.abs(o-u),Math.abs(u)),g=Math.max(Math.abs(a-l),Math.abs(l));break;case"closest-corner":d=Math.min(Math.abs(o-u),Math.abs(u)),g=Math.min(Math.abs(a-l),Math.abs(l));break;case"farthest-side":return e==="circle"?f.r=Math.max(Math.abs(o-u),Math.abs(u),Math.abs(a-l),Math.abs(l)):(f.rx=Math.max(Math.abs(o-u),Math.abs(u)),f.ry=Math.max(Math.abs(a-l),Math.abs(l))),f;case"closest-side":return e==="circle"?f.r=Math.min(Math.abs(o-u),Math.abs(u),Math.abs(a-l),Math.abs(l)):(f.rx=Math.min(Math.abs(o-u),Math.abs(u)),f.ry=Math.min(Math.abs(a-l),Math.abs(l))),f}if(e==="circle")f.r=Math.sqrt(d*d+g*g);else{let p=g!==0?d/g:1;d===0?(f.rx=0,f.ry=0):(f.ry=Math.sqrt(d*d+g*g*p*p)/p,f.rx=f.ry*p)}return f}c();function pf([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 Ir(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 Lr(e){e[0]=e[1]=Math.min(e[0],e[1])}function Cr(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(j(s[0],r,t,i,!0),t),Math.min(j(s[1],r,n,i,!0),n)]]}return typeof e=="number"?[!0,[Math.min(e,t),Math.min(e,n)]]:[!0,void 0]}var Dr=e=>e&&e[0]!==0&&e[1]!==0;function Ye({left:e,top:t,width:n,height:r},i,s){let{borderTopLeftRadius:o,borderTopRightRadius:a,borderBottomLeftRadius:u,borderBottomRightRadius:l,fontSize:f}=i,d,g,h,p;if([d,o]=Cr(o,n,r,f,i),[g,a]=Cr(a,n,r,f,i),[h,u]=Cr(u,n,r,f,i),[p,l]=Cr(l,n,r,f,i),!s&&!Dr(o)&&!Dr(a)&&!Dr(u)&&!Dr(l))return"";o||=[0,0],a||=[0,0],u||=[0,0],l||=[0,0],[o[0],a[0]]=Ir(o[0],a[0],n),[u[0],l[0]]=Ir(u[0],l[0],n),[o[1],u[1]]=Ir(o[1],u[1],r),[a[1],l[1]]=Ir(a[1],l[1],r),d&&Lr(o),g&&Lr(a),h&&Lr(u),p&&Lr(l);let m=[];m[0]=[a,a],m[1]=[l,[-l[0],l[1]]],m[2]=[u,[-u[0],-u[1]]],m[3]=[o,[o[0],-o[1]]];let w=`h${n-o[0]-a[0]} a${m[0][0]} 0 0 1 ${m[0][1]}`,v=`v${r-a[1]-l[1]} a${m[1][0]} 0 0 1 ${m[1][1]}`,y=`h${l[0]+u[0]-n} a${m[2][0]} 0 0 1 ${m[2][1]}`,_=`v${u[1]+o[1]-r} a${m[3][0]} 0 0 1 ${m[3][1]}`;if(s){let k=function(U){let N=pf([o,a,l,u][U]);return U===0?[[e+o[0]-N,t+o[1]-N],[e+o[0],t]]:U===1?[[e+n-a[0]+N,t+a[1]-N],[e+n,t+a[1]]]:U===2?[[e+n-l[0]+N,t+r-l[1]+N],[e+n-l[0],t+r]]:[[e+u[0]-N,t+r-u[1]+N],[e,t+r-u[1]]]},S=s.indexOf(!1);if(!s.includes(!0))throw new Error("Invalid `partialSides`.");if(S===-1)S=0;else for(;!s[S];)S=(S+1)%4;let C="",D=k(S),F=`M${D[0]} A${m[(S+3)%4][0]} 0 0 1 ${D[1]}`,Y=0;for(;Y<4&&s[(S+Y)%4];Y++)C+=F+" ",F=[w,v,y,_][(S+Y)%4];let J=(S+Y)%4;C+=F.split(" ")[0];let ne=k(J);return C+=` A${m[(J+3)%4][0]} 0 0 1 ${ne[0]}`,C}return`M${e+o[0]},${t} ${w} ${v} ${y} ${_}`}c();c();c();function ws(e,t,n){return n[e+"Width"]===n[t+"Width"]&&n[e+"Style"]===n[t+"Style"]&&n[e+"Color"]===n[t+"Color"]}function _s({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[P("clipPath",{id:f,"clip-path":t?`url(#${t})`:void 0},P(r,{x:i,y:s,width:o,height:a,d:n||void 0})),f]}function At({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&&ws(u[f],u[(f+3)%4],a);)f=(f+3)%4;let d=[!1,!1,!1,!1],g=[];for(let h=0;h<4;h++){let p=(f+h)%4,m=(f+h+1)%4,w=u[p],v=u[m];if(d[p]=!0,g=[a[w+"Width"],a[w+"Style"],a[w+"Color"],w],!ws(w,v,a)){let y=(g[0]||0)+(s&&!o&&a[w.replace("border","padding")]||0);y&&(l+=P("path",{width:n,height:r,...i,fill:"none",stroke:s?"#000":g[2],"stroke-width":y*2,"stroke-dasharray":!s&&g[1]==="dashed"?y*2+" "+y:void 0,d:Ye({left:e,top:t,width:n,height:r},a,d)})),d=[!1,!1,!1,!1]}}if(d.some(Boolean)){let h=(g[0]||0)+(s&&!o&&a[g[3].replace("border","padding")]||0);h&&(l+=P("path",{width:n,height:r,...i,fill:"none",stroke:s?"#000":g[2],"stroke-width":h*2,"stroke-dasharray":!s&&g[1]==="dashed"?h*2+" "+h:void 0,d:Ye({left:e,top:t,width:n,height:r},a,d)}))}return l}function Rn({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),g={x:t+u,y:n+l,width:r-u-f,height:i-l-d};return P("mask",{id:e},P("rect",{...g,fill:"#fff",mask:a._inheritedMaskId?`url(#${a._inheritedMaskId})`:void 0})+At({left:t,top:n,width:r,height:i,props:{transform:s||void 0},asContentMask:!0,maskBorderOnly:o},a))}c();c();var In=require("css-to-react-native"),Rt={circle:/circle\((.+)\)/,ellipse:/ellipse\((.+)\)/,path:/path\((.+)\)/,polygon:/polygon\((.+)\)/,inset:/inset\((.+)\)/};function Ts({width:e,height:t},n,r){function i(l){let f=l.match(Rt.circle);if(!f)return null;let[,d]=f,[g,h=""]=d.split("at").map(w=>w.trim()),{x:p,y:m}=ks(h,e,t);return{type:"circle",r:j(g,r.fontSize,Math.sqrt(Math.pow(e,2)+Math.pow(t,2))/Math.sqrt(2),r,!0),cx:j(p,r.fontSize,e,r,!0),cy:j(m,r.fontSize,t,r,!0)}}function s(l){let f=l.match(Rt.ellipse);if(!f)return null;let[,d]=f,[g,h=""]=d.split("at").map(y=>y.trim()),[p,m]=g.split(" "),{x:w,y:v}=ks(h,e,t);return{type:"ellipse",rx:j(p||"50%",r.fontSize,e,r,!0),ry:j(m||"50%",r.fontSize,t,r,!0),cx:j(w,r.fontSize,e,r,!0),cy:j(v,r.fontSize,t,r,!0)}}function o(l){let f=l.match(Rt.path);if(!f)return null;let[d,g]=Ss(f[1]);return{type:"path",d:g,"fill-rule":d}}function a(l){let f=l.match(Rt.polygon);if(!f)return null;let[d,g]=Ss(f[1]);return{type:"polygon","fill-rule":d,points:g.split(",").map(h=>h.split(" ").map((p,m)=>j(p,r.fontSize,m===0?e:t,r,!0)).join(" ")).join(",")}}function u(l){let f=l.match(Rt.inset);if(!f)return null;let[d,g]=(f[1].includes("round")?f[1]:`${f[1].trim()} round 0`).split("round"),h=(0,In.getStylesForProperty)("borderRadius",g,!0),p=Object.values(h).map(S=>String(S)).map((S,k)=>j(S,r.fontSize,k===0||k===2?t:e,r,!0)||0),m=Object.values((0,In.getStylesForProperty)("margin",d,!0)).map(S=>String(S)).map((S,k)=>j(S,r.fontSize,k===0||k===2?t:e,r,!0)||0),w=m[3],v=m[0],y=e-(m[1]+m[3]),_=t-(m[0]+m[2]);if(p.some(S=>S>0)){let S=Ye({left:w,top:v,width:y,height:_},{...n,...h});return{type:"path",d:S}}return{type:"rect",x:w,y:v,width:y,height:_}}return{parseCircle:i,parseEllipse:s,parsePath:o,parsePolygon:a,parseInset:u}}function Ss(e){let[,t="nonzero",n]=e.replace(/('|")/g,"").match(/^(nonzero|evenodd)?,?(.+)/)||[];return[t,n]}function ks(e,t,n){let r=e.split(" "),i={x:r[0]||"50%",y:r[1]||"50%"};return r.forEach(s=>{s==="top"?i.y=0:s==="bottom"?i.y=n:s==="left"?i.x=0:s==="right"?i.x=t:(i.x=t/2,i.y=n/2)}),i}function Mr(e){return`satori_cp-${e}`}function Es(e){return`url(#${Mr(e)})`}function Os(e,t,n){if(t.clipPath==="none")return"";let r=Ts(e,t,n),i=t.clipPath,s={type:""};for(let o of Object.keys(r))if(s=r[o](i),s)break;if(s){let{type:o,...a}=s;return P("clipPath",{id:Mr(e.id),"clip-path":e.currentClipPath},P(o,a))}return""}function Ln({left:e,top:t,width:n,height:r,path:i,matrix:s,id:o,currentClipPath:a,src:u},l,f){let d="",g=l.clipPath&&l.clipPath!=="none"?Os({left:e,top:t,width:n,height:r,path:i,id:o,matrix:s,currentClipPath:a,src:u},l,f):"";if(l.overflow!=="hidden"&&!u)d="";else{let p=g?`satori_ocp-${o}`:Mr(o);d=P("clipPath",{id:p,"clip-path":a},P(i?"path":"rect",{x:e,y:t,width:n,height:r,d:i||void 0}))}let h=Rn({id:`satori_om-${o}`,left:e,top:t,width:n,height:r,matrix:s,borderOnly:!u},l);return g+d+h}async function It({id:e,left:t,top:n,width:r,height:i,isInheritingTransform:s,src:o,debug:a},u,l){if(u.display==="none")return"";let f=!!o,d="rect",g="",h="",p=[],m=1,w="";u.backgroundColor&&p.push(u.backgroundColor),u.opacity!==void 0&&(m=+u.opacity),u.transform&&(g=Pt({left:t,top:n,width:r,height:i},u.transform,s,u.transformOrigin));let v="";if(u.backgroundImage){let U=[];for(let N=0;N<u.backgroundImage.length;N++){let Z=u.backgroundImage[N],H=await An({id:e+"_"+N,width:r,height:i,left:t,top:n},Z,l);H&&U.unshift(H)}for(let N of U)p.push(`url(#${N[0]})`),h+=N[1],N[2]&&(v+=N[2])}let y=Ye({left:t,top:n,width:r,height:i},u);y&&(d="path");let _=u._inheritedClipPathId,S=u._inheritedMaskId;a&&(w=P("rect",{x:t,y:n,width:r,height:i,fill:"transparent",stroke:"#ff5757","stroke-width":1,transform:g||void 0,"clip-path":_?`url(#${_})`:void 0}));let{backgroundClip:k,filter:C}=u,D=k==="text"?`url(#satori_bct-${e})`:_?`url(#${_})`:u.clipPath?Es(e):void 0,F=Ln({left:t,top:n,width:r,height:i,path:y,id:e,matrix:g,currentClipPath:D,src:o},u,l),Y=p.map(U=>P(d,{x:t,y:n,width:r,height:i,fill:U,d:y||void 0,transform:g||void 0,"clip-path":D,style:C?`filter:${C}`:void 0,mask:S?`url(#${S})`:void 0})).join(""),J=_s({id:e,left:t,top:n,width:r,height:i,currentClipPathId:_,borderPath:y,borderType:d},u);if(f){let U=(u.borderLeftWidth||0)+(u.paddingLeft||0),N=(u.borderTopWidth||0)+(u.paddingTop||0),Z=(u.borderRightWidth||0)+(u.paddingRight||0),H=(u.borderBottomWidth||0)+(u.paddingBottom||0),ce=u.objectFit==="contain"?"xMidYMid":u.objectFit==="cover"?"xMidYMid slice":"none";Y+=P("image",{x:t+U,y:n+N,width:r-U-Z,height:i-N-H,href:o,preserveAspectRatio:ce,transform:g||void 0,style:C?`filter:${C}`:void 0,"clip-path":`url(#satori_cp-${e})`,mask:`url(#satori_om-${e})`})}if(J){h+=J[0];let U=J[1];Y+=At({left:t,top:n,width:r,height:i,props:{transform:g||void 0,"clip-path":`url(#${U})`}},u)}let ne=bs({width:r,height:i,id:e,opacity:m,shape:P(d,{x:t,y:n,width:r,height:i,fill:"#fff",stroke:"#fff","stroke-width":0,d:y||void 0,transform:g||void 0,"clip-path":D,mask:S?`url(#${S})`:void 0})},u);return(h?P("defs",{},h):"")+(ne?ne[0]:"")+F+(m!==1?`<g opacity="${m}">`:"")+(v||Y)+(m!==1?"</g>":"")+(ne?ne[1]:"")+w}c();var Ps=rt(require("emoji-regex"),1),hf=new RegExp((0,Ps.default)(),""),Cn={emoji:hf,symbol:/\p{Symbol}/u,math:/\p{Math}/u},Dn={"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},Fr=Object.keys({...Dn,...Cn});function As(e){return Fr.includes(e)}function Rs(e,t){for(let r of Object.keys(Cn))if(Cn[r].test(e))return[r];let n=Object.keys(Dn).filter(r=>Dn[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 Is(e){if(e)return Fr.find(t=>t.toLowerCase()===e.toLowerCase()||t.toLowerCase().startsWith(e.toLowerCase()))}async function*Lt(e,t){var $;let n=await We(),{id:r,inheritedStyle:i,parent:s,font:o,debug:a,locale:u,embedFont:l=!0,graphemeImages:f,canLoadAdditionalAssets:d,getTwStyles:g}=t;if(e===null||typeof e>"u")return yield,yield,"";if(!kr(e)||typeof e.type=="function"){let M;if(!kr(e))M=Tn(String(e),t),yield(await M.next()).value;else{if(zo(e.type))throw new Error("Class component is not supported.");M=Lt(e.type(e.props),t),yield(await M.next()).value}await M.next();let oe=yield;return(await M.next(oe)).value}let{type:h,props:p}=e;if(p&&Go(p))throw new Error("dangerouslySetInnerHTML property is not supported. See documentation for more information https://github.com/vercel/satori#jsx.");let{style:m,children:w,tw:v,lang:y=u}=p||{},_=Is(y);if(v){let M=g(v,m);m=Object.assign(M,m)}let S=n.Node.create();s.insertChild(S,s.getChildCount());let[k,C]=await _n(S,h,i,m,p),D=k.transform===i.transform;if(D||(k.transform.__parent=i.transform),(k.overflow==="hidden"||k.clipPath&&k.clipPath!=="none")&&(C._inheritedClipPathId=`satori_cp-${r}`,C._inheritedMaskId=`satori_om-${r}`),k.backgroundClip==="text"){let M={value:""};C._inheritedBackgroundClipTextPath=M,k._inheritedBackgroundClipTextPath=M}let F=jo(w),Y=[],J=0,ne=[];for(let M of F){let oe=Lt(M,{id:r+"-"+J++,parentStyle:k,inheritedStyle:C,isInheritingTransform:!0,parent:S,font:o,embedFont:l,debug:a,graphemeImages:f,canLoadAdditionalAssets:d,locale:_,getTwStyles:g,onNodeDetected:t.onNodeDetected});d?ne.push(...(await oe.next()).value||[]):await oe.next(),Y.push(oe)}yield ne;for(let M of Y)await M.next();let[U,N]=yield,{left:Z,top:H,width:ce,height:_e}=S.getComputedLayout();Z+=U,H+=N;let ie="",ee="",Me="",{children:R,...L}=p;if(($=t.onNodeDetected)==null||$.call(t,{left:Z,top:H,width:ce,height:_e,type:h,props:L,key:e.key,textContent:kr(R)?void 0:R}),h==="img"){let M=k.__src;ee=await It({id:r,left:Z,top:H,width:ce,height:_e,src:M,isInheritingTransform:D,debug:a},k,C)}else if(h==="svg"){let M=k.color,oe=Xo(e,M);ee=await It({id:r,left:Z,top:H,width:ce,height:_e,src:oe,isInheritingTransform:D,debug:a},k,C)}else{let M=m==null?void 0:m.display;if(h==="div"&&w&&typeof w!="string"&&M!=="flex"&&M!=="none")throw new Error('Expected <div> to have explicit "display: flex" or "display: none" if it has more than one child node.');ee=await It({id:r,left:Z,top:H,width:ce,height:_e,isInheritingTransform:D,debug:a},k,C)}for(let M of Y)ie+=(await M.next([Z,H])).value;return k._inheritedBackgroundClipTextPath&&(Me+=P("clipPath",{id:`satori_bct-${r}`,"clip-path":k._inheritedClipPathId?`url(#${k._inheritedClipPathId})`:void 0},k._inheritedBackgroundClipTextPath.value)),Me+ee+ie}c();var Nr=rt(require("@shuding/opentype.js"),1);var Ls="unknown";function mf(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 Ct=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];mf(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&&!As(s))throw new Error(`Invalid value for props \`lang\`: "${s}". The value must be one of the following: ${Fr.join(", ")}.`);let o=s??Ls,a=Nr.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 S=this.get({name:y+"_unknown",weight:i,style:s});if(S){a.push(S);return}});let u=Array.from(this.fonts.keys()),l=[],f=[],d=[];for(let y of u)if(!r.includes(y))if(o){let _=gf(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 g=new Map,h=(y,_=!0)=>{let S=[...a,...d,...l,..._?f:[]];if(typeof y>"u")return _?S[S.length-1]:void 0;let k=y.charCodeAt(0);if(g.has(k))return g.get(k);let C=S.find((D,F)=>!!D.charToGlyphIndex(y)||_&&F===S.length-1);return C&&g.set(k,C),C},p=(y,_=!1)=>{var k,C;return((_?(C=(k=y.tables)==null?void 0:k.os2)==null?void 0:C.sTypoAscender:0)||y.ascender)/y.unitsPerEm*t},m=(y,_=!1)=>{var k,C;return((_?(C=(k=y.tables)==null?void 0:k.os2)==null?void 0:C.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 S=p(_,!0),k=m(_,!0),C=v.height(y,_),{yMax:D,yMin:F}=_.tables.head,Y=S-k,J=(D/(D-F)-1)*Y;return C*((1.2/n+1)/2)+J},height:(y,_=typeof y>"u"?a[0]:h(y))=>(p(_)-m(_))*(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),g=t.unitsPerEm/f.unitsPerEm,h=new Nr.default.Path;h.unitsPerEm=t.unitsPerEm,h.commands=d.path.commands.map(m=>{let w={...m};for(let v in w)typeof w[v]=="number"&&(w[v]*=g);return w});let p=new Nr.default.Glyph({...d,advanceWidth:d.advanceWidth*g,xMin:d.xMin*g,xMax:d.xMax*g,yMin:d.yMin*g,yMax:d.yMax*g,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 gf(e){let t=e.split("_"),n=t[t.length-1];return n===Ls?void 0:n}c();function Mn({width:e,height:t,content:n}){return P("svg",{width:e,height:t,viewBox:`0 0 ${e} ${t}`,xmlns:"http://www.w3.org/2000/svg"},n)}c();c();var cl=rt(Uu());c();c();c();c();var rm=["ios","android","windows","macos","web"];function Gu(e){return rm.includes(e)}var nm=["portrait","landscape"];function ju(e){return nm.includes(e)}var zu;(function(e){e.fontSize="fontSize",e.lineHeight="lineHeight"})(zu||(zu={}));var G;(function(e){e.rem="rem",e.em="em",e.px="px",e.percent="%",e.vw="vw",e.vh="vh",e.none="<no-css-unit>"})(G||(G={}));function ao(e){return typeof e=="string"}function uo(e){return typeof e=="object"}var lo;function b(e){return{kind:"complete",style:e}}function ae(e,t={}){let{fractions:n}=t;if(n&&e.includes("/")){let[s="",o=""]=e.split("/",2),a=ae(s),u=ae(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,G.none];switch(i==null?void 0:i[1]){case"rem":return[r,G.rem];case"px":return[r,G.px];case"em":return[r,G.em];case"%":return[r,G.percent];case"vw":return[r,G.vw];case"vh":return[r,G.vh];default:return null}}function Be(e,t,n={}){let r=Ce(t,n);return r===null?null:b({[e]:r})}function tn(e,t,n){let r=Ce(t);return r!==null&&(n[e]=r),n}function Vu(e,t){let n=Ce(t);return n===null?null:{[e]:n}}function Ce(e,t={}){if(e===void 0)return null;let n=ae(String(e),t);return n?Je(...n,t):null}function Je(e,t,n={}){let{isNegative:r,device:i}=n;switch(t){case G.rem:return e*16*(r?-1:1);case G.px:return e*(r?-1:1);case G.percent:return`${r?"-":""}${e}%`;case G.none:return e*(r?-1:1);case G.vw:return i!=null&&i.windowDimensions?i.windowDimensions.width*(e/100):(ye("`vw` CSS unit requires configuration with `useDeviceContext()`"),null);case G.vh:return i!=null&&i.windowDimensions?i.windowDimensions.height*(e/100):(ye("`vh` CSS unit requires configuration with `useDeviceContext()`"),null);default:return null}}function fo(e){let t=ae(e);if(!t)return null;let[n,r]=t;switch(r){case G.rem:return n*16;case G.px:return n;default:return null}}var im={t:"Top",tr:"TopRight",tl:"TopLeft",b:"Bottom",br:"BottomRight",bl:"BottomLeft",l:"Left",r:"Right",x:"Horizontal",y:"Vertical"};function co(e){return im[e??""]||"All"}function po(e){let t="All";return[e.replace(/^-(t|b|r|l|tr|tl|br|bl)(-|$)/,(r,i)=>(t=co(i),"")),t]}function at(e,t={}){if(e.includes("/")){let n=Hu(e,{...t,fractions:!0});if(n)return n}return e[0]==="["&&(e=e.slice(1,-1)),Hu(e,t)}function Ae(e,t,n={}){let r=at(t,n);return r===null?null:b({[e]:r})}function Hu(e,t={}){if(e==="px")return 1;let n=ae(e,t);if(!n)return null;let[r,i]=n;return t.fractions&&(i=G.percent,r*=100),i===G.none&&(r=r/4,i=G.rem),Je(r,i,t)}function om(...e){console.warn(...e)}function sm(...e){}var ye=typeof process>"u"||((lo=process==null?void 0:process.env)===null||lo===void 0?void 0:lo.JEST_WORKER_ID)===void 0?om:sm;var am=[["aspect-square",b({aspectRatio:1})],["aspect-video",b({aspectRatio:16/9})],["items-center",b({alignItems:"center"})],["items-start",b({alignItems:"flex-start"})],["items-end",b({alignItems:"flex-end"})],["items-baseline",b({alignItems:"baseline"})],["items-stretch",b({alignItems:"stretch"})],["justify-start",b({justifyContent:"flex-start"})],["justify-end",b({justifyContent:"flex-end"})],["justify-center",b({justifyContent:"center"})],["justify-between",b({justifyContent:"space-between"})],["justify-around",b({justifyContent:"space-around"})],["justify-evenly",b({justifyContent:"space-evenly"})],["content-start",b({alignContent:"flex-start"})],["content-end",b({alignContent:"flex-end"})],["content-between",b({alignContent:"space-between"})],["content-around",b({alignContent:"space-around"})],["content-stretch",b({alignContent:"stretch"})],["content-center",b({alignContent:"center"})],["self-auto",b({alignSelf:"auto"})],["self-start",b({alignSelf:"flex-start"})],["self-end",b({alignSelf:"flex-end"})],["self-center",b({alignSelf:"center"})],["self-stretch",b({alignSelf:"stretch"})],["self-baseline",b({alignSelf:"baseline"})],["direction-inherit",b({direction:"inherit"})],["direction-ltr",b({direction:"ltr"})],["direction-rtl",b({direction:"rtl"})],["hidden",b({display:"none"})],["flex",b({display:"flex"})],["flex-row",b({flexDirection:"row"})],["flex-row-reverse",b({flexDirection:"row-reverse"})],["flex-col",b({flexDirection:"column"})],["flex-col-reverse",b({flexDirection:"column-reverse"})],["flex-wrap",b({flexWrap:"wrap"})],["flex-wrap-reverse",b({flexWrap:"wrap-reverse"})],["flex-nowrap",b({flexWrap:"nowrap"})],["flex-auto",b({flexGrow:1,flexShrink:1,flexBasis:"auto"})],["flex-initial",b({flexGrow:0,flexShrink:1,flexBasis:"auto"})],["flex-none",b({flexGrow:0,flexShrink:0,flexBasis:"auto"})],["overflow-hidden",b({overflow:"hidden"})],["overflow-visible",b({overflow:"visible"})],["overflow-scroll",b({overflow:"scroll"})],["absolute",b({position:"absolute"})],["relative",b({position:"relative"})],["italic",b({fontStyle:"italic"})],["not-italic",b({fontStyle:"normal"})],["oldstyle-nums",fr("oldstyle-nums")],["small-caps",fr("small-caps")],["lining-nums",fr("lining-nums")],["tabular-nums",fr("tabular-nums")],["proportional-nums",fr("proportional-nums")],["font-thin",b({fontWeight:"100"})],["font-100",b({fontWeight:"100"})],["font-extralight",b({fontWeight:"200"})],["font-200",b({fontWeight:"200"})],["font-light",b({fontWeight:"300"})],["font-300",b({fontWeight:"300"})],["font-normal",b({fontWeight:"normal"})],["font-400",b({fontWeight:"400"})],["font-medium",b({fontWeight:"500"})],["font-500",b({fontWeight:"500"})],["font-semibold",b({fontWeight:"600"})],["font-600",b({fontWeight:"600"})],["font-bold",b({fontWeight:"bold"})],["font-700",b({fontWeight:"700"})],["font-extrabold",b({fontWeight:"800"})],["font-800",b({fontWeight:"800"})],["font-black",b({fontWeight:"900"})],["font-900",b({fontWeight:"900"})],["include-font-padding",b({includeFontPadding:!0})],["remove-font-padding",b({includeFontPadding:!1})],["max-w-none",b({maxWidth:"99999%"})],["text-left",b({textAlign:"left"})],["text-center",b({textAlign:"center"})],["text-right",b({textAlign:"right"})],["text-justify",b({textAlign:"justify"})],["text-auto",b({textAlign:"auto"})],["underline",b({textDecorationLine:"underline"})],["line-through",b({textDecorationLine:"line-through"})],["no-underline",b({textDecorationLine:"none"})],["uppercase",b({textTransform:"uppercase"})],["lowercase",b({textTransform:"lowercase"})],["capitalize",b({textTransform:"capitalize"})],["normal-case",b({textTransform:"none"})],["w-auto",b({width:"auto"})],["h-auto",b({height:"auto"})],["shadow-sm",b({shadowOffset:{width:1,height:1},shadowColor:"#000",shadowRadius:1,shadowOpacity:.025,elevation:1})],["shadow",b({shadowOffset:{width:1,height:1},shadowColor:"#000",shadowRadius:1,shadowOpacity:.075,elevation:2})],["shadow-md",b({shadowOffset:{width:1,height:1},shadowColor:"#000",shadowRadius:3,shadowOpacity:.125,elevation:3})],["shadow-lg",b({shadowOffset:{width:1,height:1},shadowColor:"#000",shadowOpacity:.15,shadowRadius:8,elevation:8})],["shadow-xl",b({shadowOffset:{width:1,height:1},shadowColor:"#000",shadowOpacity:.19,shadowRadius:20,elevation:12})],["shadow-2xl",b({shadowOffset:{width:1,height:1},shadowColor:"#000",shadowOpacity:.25,shadowRadius:30,elevation:16})],["shadow-none",b({shadowOffset:{width:0,height:0},shadowColor:"#000",shadowRadius:0,shadowOpacity:0,elevation:0})]],ho=am;function fr(e){return{kind:"dependent",complete(t){(!t.fontVariant||!Array.isArray(t.fontVariant))&&(t.fontVariant=[]),t.fontVariant.push(e)}}}var cr=class{constructor(t){this.ir=new Map(ho),this.styles=new Map,this.prefixes=new Map,this.ir=new Map([...ho,...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 mo(e,t,n={}){let r=t==null?void 0:t[e];if(!r)return Ae("fontSize",e,n);if(typeof r=="string")return Be("fontSize",r);let i={},[s,o]=r,a=Vu("fontSize",s);if(a&&(i=a),typeof o=="string")return b(tn("lineHeight",Yu(o,i),i));let{lineHeight:u,letterSpacing:l}=o;return u&&tn("lineHeight",Yu(u,i),i),l&&tn("letterSpacing",l,i),b(i)}function Yu(e,t){let n=ae(e);if(n){let[r,i]=n;if((i===G.none||i===G.em)&&typeof t.fontSize=="number")return t.fontSize*r}return e}c();function go(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=ae(r);if(!i)return null;let[s,o]=i;if(o===G.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=Je(s,o);return a!==null?b({lineHeight:a}):null}c();function bo(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=at(r);return f&&typeof f=="number"?Xu(f,G.px,t,e):null}}if(s==="auto")return Qu(t,e,"auto");let o=ae(s);if(!o)return null;let[a,u]=o;return n&&(a=-a),Xu(a,u,t,e)}function Xu(e,t,n,r){let i=Je(e,t);return i===null?null:Qu(n,r,i)}function Qu(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 vo(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?fo(u.min):0;l===null?ye(`invalid screen config value: ${s}->min: ${u.min}`):a[0]=l;let f=u.max?fo(u.max):1/0;return f===null?ye(`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 yo(e,t){let n=t==null?void 0:t[e];if(!n)return null;if(typeof n=="string")return b({fontFamily:n});let r=n[0];return r?b({fontFamily:r}):null}c();function ut(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=Ku(i,s/100),b({[rn[e].color]:i})}return{kind:"dependent",complete(s){let o=rn[e].opacity,a=s[o];typeof a=="number"&&(i=Ku(i,a)),s[rn[e].color]=i}}}function dr(e,t){let n=parseInt(t,10);if(Number.isNaN(n))return null;let r=n/100,i={[rn[e].opacity]:r};return{kind:"complete",style:i}}function Ku(e,t){return e.startsWith("#")?e=um(e):e.startsWith("rgb(")&&(e=e.replace(/^rgb\(/,"rgba(").replace(/\)$/,", 1)")),e.replace(/, ?\d*\.?(\d+)\)$/,`, ${t})`)}function Ju(e){for(let t in e)t.startsWith("__opacity_")&&delete e[t]}var rn={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 um(e){let t=e;e=e.replace(lm,(o,a,u,l)=>a+a+u+u+l+l);let n=fm.exec(e);if(!n)return ye(`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(ao(n))return n;if(uo(n)&&ao(n.DEFAULT))return n.DEFAULT;let[r="",...i]=e.split("-");for(;r!==e;){let s=t[r];if(uo(s))return Zu(i.join("-"),s);if(i.length===0)return"";r=`${r}-${i.shift()}`}return""}var lm=/^#?([a-f\d])([a-f\d])([a-f\d])$/i,fm=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i;c();function tl(e,t){let[n,r]=po(e);if(n.match(/^(-?(\d)+)?$/))return cm(n,r,t==null?void 0:t.borderWidth);if(n=n.replace(/^-/,""),["dashed","solid","dotted"].includes(n))return b({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=ut(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=Ae(a,u);return typeof(l==null?void 0:l.style[a])!="number"?null:l}function cm(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 Be(s,i)}function rl(e,t){if(!t)return null;let[n,r]=po(e);n=n.replace(/^-/,""),n===""&&(n="DEFAULT");let i=`border${r==="All"?"":r}Radius`,s=t[n];if(s)return el(Be(i,s));let o=Ae(i,n);return typeof(o==null?void 0:o.style[i])!="number"?null:el(o)}function el(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 vt(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=Ce(s,{isNegative:n});if(a!==null)return nl(e,i,a)}let o=at(t,{isNegative:n});return o!==null?nl(e,i,o):null}function nl(e,t,n){if(e!=="inset")return b({[e]:n});switch(t){case null:return b({top:n,left:n,right:n,bottom:n});case"y":return b({top:n,bottom:n});case"x":return b({left:n,right:n})}}c();function pr(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:b({[`flex${e}`]:s})}function il(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 b({flexGrow:Number(e),flexBasis:"0%"});let i=e.match(/^(\d+)\s+(\d+)$/);if(i)return b({flexGrow:Number(i[1]),flexShrink:Number(i[2])});if(i=e.match(/^(\d+)\s+([^ ]+)$/),i){let s=Ce((n=i[2])!==null&&n!==void 0?n:"");return s?b({flexGrow:Number(i[1]),flexBasis:s}):null}if(i=e.match(/^(\d+)\s+(\d+)\s+(.+)$/),i){let s=Ce((r=i[3])!==null&&r!==void 0?r:"");return s?b({flexGrow:Number(i[1]),flexShrink:Number(i[2]),flexBasis:s}):null}return null}c();function xo(e,t,n={},r){let i=r==null?void 0:r[t];return i!==void 0?Be(e,i,n):Ae(e,t,n)}function hr(e,t,n={},r){let i=Ce(r==null?void 0:r[t],n);return i?b({[e]:i}):(t==="screen"&&(t=e.includes("Width")?"100vw":"100vh"),Ae(e,t,n))}c();function ol(e,t,n){let r=n==null?void 0:n[e];if(r){let i=ae(r,{isNegative:t});if(!i)return null;let[s,o]=i;if(o===G.em)return dm(s);if(o===G.percent)return ye("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=Je(s,o,{isNegative:t});return a!==null?b({letterSpacing:a}):null}return Ae("letterSpacing",e,{isNegative:t})}function dm(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 sl(e,t){let n=t==null?void 0:t[e];if(n){let i=ae(String(n));if(i)return b({opacity:i[0]})}let r=ae(e);return r?b({opacity:r[0]/100}):null}c();function al(e){let t=parseInt(e,10);return Number.isNaN(t)?null:{kind:"complete",style:{shadowOpacity:t/100}}}function ul(e){if(e.includes("/")){let[n="",r=""]=e.split("/",2),i=wo(n),s=wo(r);return i===null||s===null?null:{kind:"complete",style:{shadowOffset:{width:i,height:s}}}}let t=wo(e);return t===null?null:{kind:"complete",style:{shadowOffset:{width:t,height:t}}}}function wo(e){let t=at(e);return typeof t=="number"?t:null}var yt=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 g=t.trim().split(":"),h=[];g.length===1?this.string=t:(this.string=(o=g.pop())!==null&&o!==void 0?o:"",h=g),this.char=this.string[0];let p=vo((a=this.config.theme)===null||a===void 0?void 0:a.screens);for(let m of h)if(p[m]){let w=(u=p[m])===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[m])!==null&&d!==void 0?d:[0,0];(v<=y||v>_)&&(this.isNull=!0)}else this.isNull=!0}else Gu(m)?this.isNull=m!==s:ju(m)?i.windowDimensions?(i.windowDimensions.width>i.windowDimensions.height?"landscape":"portrait")!==m?this.isNull=!0:this.incrementOrder():this.isNull=!0:m==="retina"?i.pixelDensity===2?this.incrementOrder():this.isNull=!0:m==="dark"?i.colorScheme!=="dark"?this.isNull=!0:this.incrementOrder():this.handlePossibleArbitraryBreakpointPrefix(m)||(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=co(u[1]),d=bo(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=xo("height",this.rest,this.context,o==null?void 0:o.height),a)||this.consumePeeked("w-")&&(a=xo("width",this.rest,this.context,o==null?void 0:o.width),a)||this.consumePeeked("min-w-")&&(a=hr("minWidth",this.rest,this.context,o==null?void 0:o.minWidth),a)||this.consumePeeked("min-h-")&&(a=hr("minHeight",this.rest,this.context,o==null?void 0:o.minHeight),a)||this.consumePeeked("max-w-")&&(a=hr("maxWidth",this.rest,this.context,o==null?void 0:o.maxWidth),a)||this.consumePeeked("max-h-")&&(a=hr("maxHeight",this.rest,this.context,o==null?void 0:o.maxHeight),a)||this.consumePeeked("leading-")&&(a=go(this.rest,o==null?void 0:o.lineHeight),a)||this.consumePeeked("text-")&&(a=mo(this.rest,o==null?void 0:o.fontSize,this.context),a||(a=ut("text",this.rest,o==null?void 0:o.textColor),a)||this.consumePeeked("opacity-")&&(a=dr("text",this.rest),a))||this.consumePeeked("font-")&&(a=yo(this.rest,o==null?void 0:o.fontFamily),a)||this.consumePeeked("aspect-")&&(this.consumePeeked("ratio-")&&ye("`aspect-ratio-{ratio}` is deprecated, use `aspect-{ratio}` instead"),a=Be("aspectRatio",this.rest,{fractions:!0}),a)||this.consumePeeked("tint-")&&(a=ut("tint",this.rest,o==null?void 0:o.colors),a)||this.consumePeeked("bg-")&&(a=ut("bg",this.rest,o==null?void 0:o.backgroundColor),a||this.consumePeeked("opacity-")&&(a=dr("bg",this.rest),a))||this.consumePeeked("border")&&(a=tl(this.rest,o),a||this.consumePeeked("-opacity-")&&(a=dr("border",this.rest),a))||this.consumePeeked("rounded")&&(a=rl(this.rest,o==null?void 0:o.borderRadius),a)||this.consumePeeked("bottom-")&&(a=vt("bottom",this.rest,this.isNegative,o==null?void 0:o.inset),a)||this.consumePeeked("top-")&&(a=vt("top",this.rest,this.isNegative,o==null?void 0:o.inset),a)||this.consumePeeked("left-")&&(a=vt("left",this.rest,this.isNegative,o==null?void 0:o.inset),a)||this.consumePeeked("right-")&&(a=vt("right",this.rest,this.isNegative,o==null?void 0:o.inset),a)||this.consumePeeked("inset-")&&(a=vt("inset",this.rest,this.isNegative,o==null?void 0:o.inset),a)||this.consumePeeked("flex-")&&(this.consumePeeked("grow")?a=pr("Grow",this.rest,o==null?void 0:o.flexGrow):this.consumePeeked("shrink")?a=pr("Shrink",this.rest,o==null?void 0:o.flexShrink):a=il(this.rest,o==null?void 0:o.flex),a)||this.consumePeeked("grow")&&(a=pr("Grow",this.rest,o==null?void 0:o.flexGrow),a)||this.consumePeeked("shrink")&&(a=pr("Shrink",this.rest,o==null?void 0:o.flexShrink),a)||this.consumePeeked("shadow-color-opacity-")&&(a=dr("shadow",this.rest),a)||this.consumePeeked("shadow-opacity-")&&(a=al(this.rest),a)||this.consumePeeked("shadow-offset-")&&(a=ul(this.rest),a)||this.consumePeeked("shadow-radius-")&&(a=Ae("shadowRadius",this.rest),a)||this.consumePeeked("shadow-")&&(a=ut("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 b({elevation:u})}if(this.consumePeeked("opacity-")&&(a=sl(this.rest,o==null?void 0:o.opacity),a)||this.consumePeeked("tracking-")&&(a=ol(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 b({zIndex:u})}return ye(`\`${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=ae(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 ll(e){let t=[],n=null;return e.forEach(r=>{if(typeof r=="string")t=[...t,..._o(r)];else if(Array.isArray(r))t=[...t,...r.flatMap(_o)];else if(typeof r=="object"&&r!==null)for(let[i,s]of Object.entries(r))typeof s=="boolean"?t=[...t,...s?_o(i):[]]:n?n[i]=s:n={[i]:s}}),[t.filter(Boolean).filter(pm),n]}function _o(e){return e.trim().split(/\s+/)}function pm(e,t,n){return n.indexOf(e)===t}c();function fl(e){var t;return(t=e==null?void 0:e.reduce((n,r)=>({...n,...hm(r.handler)}),{}))!==null&&t!==void 0?t:{}}function hm(e){let t={};return e({addUtilities:n=>{t=n},...mm}),t}function De(e){throw new Error(`tailwindcss plugin function argument object prop "${e}" not implemented`)}var mm={addComponents:De,addBase:De,addVariant:De,e:De,prefix:De,theme:De,variants:De,config:De,corePlugins:De,matchUtilities:De,postcss:null};function dl(e,t){let n=(0,cl.default)(gm(e)),r={},i=fl(n.plugins),s={},o=Object.entries(i).map(([p,m])=>typeof m=="string"?(s[p]=m,[p,{kind:"null"}]):[p,b(m)]).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 m=new cr(o);return l[u]=m,m}function d(...p){let m=f(),w={},v=[],y=[],[_,S]=ll(p),k=_.join(" "),C=m.getStyle(k);if(C)return{...C,...S||{}};for(let D of _){let F=m.getIr(D);if(!F&&D in s){let J=d(s[D]);m.setIr(D,b(J)),w={...w,...J};continue}switch(F=new yt(D,n,m,r,t).parse(),F.kind){case"complete":w={...w,...F.style},m.setIr(D,F);break;case"dependent":v.push(F);break;case"ordered":y.push(F);break;case"null":m.setIr(D,F);break}}if(y.length>0){y.sort((D,F)=>D.order-F.order);for(let D of y)switch(D.styleIr.kind){case"complete":w={...w,...D.styleIr.style};break;case"dependent":v.push(D.styleIr);break}}if(v.length>0){for(let D of v){let F=D.complete(w);F&&ye(F)}Ju(w)}return k!==""&&m.setStyle(k,w),S&&(w={...w,...S}),w}function g(p){let m=d(p.split(/\s+/g).map(w=>w.replace(/^(bg|text|border)-/,"")).map(w=>`bg-${w}`).join(" "));return typeof m.backgroundColor=="string"?m.backgroundColor:void 0}let h=(p,...m)=>{let w="";return p.forEach((v,y)=>{var _;w+=v+((_=m[y])!==null&&_!==void 0?_:"")}),d(w)};return h.style=d,h.color=g,h.prefixMatch=(...p)=>{let m=p.sort().join(":"),w=f(),v=w.getPrefixMatch(m);if(v!==void 0)return v;let S=new yt(`${m}:flex`,n,w,r,t).parse().kind!=="null";return w.setPrefixMatch(m,S),S},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 gm(e){return{...e,content:["_no_warnings_please"]}}var vm={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 ym(e){return dl({...e,plugins:[...(e==null?void 0:e.plugins)??[],vm]},"web")}var nn;function So({width:e,height:t,config:n}){return nn||(nn=ym(n)),nn.setWindowDimensions({width:+e,height:+t}),nn}var ko=new WeakMap;async function To(e,t){let n=await We();if(!n||!n.Node)throw new Error("Satori is not initialized: expect `yoga` to be loaded, got "+n);t.fonts=t.fonts||[];let r;ko.has(t.fonts)?r=ko.get(t.fonts):ko.set(t.fonts,r=new Ct(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=Lt(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,onNodeDetected:t.onNodeDetected,getTwStyles:(p,m)=>{let v={...So({width:i,height:s,config:t.tailwindConfig})([p])};return typeof v.lineHeight=="number"&&(v.lineHeight=v.lineHeight/(+v.fontSize||m.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=xm(f),m=[],w={};await Promise.all(Object.entries(p).flatMap(([v,y])=>y.map(_=>{let S=`${v}_${_}`;return u.has(S)?null:(u.add(S),t.loadAdditionalAsset(v,_).then(k=>{typeof k=="string"?w[_]=k:k&&(Array.isArray(k)?m.push(...k):m.push(k))}))}))),r.addFonts(m),Object.assign(a,w)}await l.next(),o.calculateLayout(i,s,n.DIRECTION_LTR);let d=(await l.next([0,0])).value,g=o.getComputedWidth(),h=o.getComputedHeight();return o.freeRecursive(),Mn({width:g,height:h,content:d})}function xm(e){let t={},n={};for(let{word:r,locale:i}of e){let s=Rs(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(...pl(me(n[r],"grapheme"))):(t[r][0]=t[r][0]||"",t[r][0]+=pl(me(n[r],"grapheme",r==="unknown"?void 0:r)).join(""))}),t}function pl(e){return Array.from(new Set(e))}0&&(module.exports={init});
7
7
  //# sourceMappingURL=index.cjs.map