Socket
Socket
Sign inDemoInstall

@twind/core

Package Overview
Dependencies
Maintainers
1
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@twind/core - npm Package Compare versions

Comparing version 1.1.0-next-20221214212338 to 1.1.0-next-20221214220313

2

CHANGELOG.md
# @twind/core
## 1.1.0-next-20221214212338
## 1.1.0-next-20221214220313

@@ -5,0 +5,0 @@ ### Minor Changes

@@ -1,1 +0,1 @@

let e;function t(e){return[...e.v,(e.i?"!":"")+e.n].join(":")}function r(e,r=","){return e.map(t).join(r)}let n="undefined"!=typeof CSS&&CSS.escape||(e=>e.replace(/[!"'`*+.,;:\\/<=>?@#$%&^|~()[\]{}]/g,"\\$&").replace(/^\d/,"\\3$& "));function i(e){for(var t=9,r=e.length;r--;)t=Math.imul(t^e.charCodeAt(r),1597334677);return"#"+((t^t>>>9)>>>0).toString(36)}function l(e,t="@media "){return t+o(e).map(e=>("string"==typeof e&&(e={min:e}),e.raw||Object.keys(e).map(t=>`(${t}-width:${e[t]})`).join(" and "))).join(",")}function o(e=[]){return Array.isArray(e)?e:null==e?[]:[e]}function u(e){return e}function s(){}let a={d:0,b:134217728,c:268435456,a:671088640,u:805306368,o:939524096};function c(e){var t;return(null==(t=e.match(/[-=:;]/g))?void 0:t.length)||0}function f(e){return Math.min(/(?:^|width[^\d]+)(\d+(?:.\d+)?)(p)?/.test(e)?Math.max(0,29.63*(+RegExp.$1/(RegExp.$2?15:1))**.137-43):0,15)<<22|Math.min(c(e),15)<<18}let p=["rst-c","st-ch","h-chi","y-lin","nk","sited","ecked","pty","ad-on","cus-w","ver","cus","cus-v","tive","sable","tiona","quire"];function h({n:e,i:r,v:n=[]},i,u,s){for(let a of(e&&(e=t({n:e,i:r,v:n})),s=[...o(s)],n)){let c=i.theme("screens",a);for(let h of o(c&&l(c)||i.v(a))){var d;s.push(h),u|=c?67108864|f(h):"dark"==a?1073741824:"@"==h[0]?f(h):(d=h,1<<~(/:([a-z-]+)/.test(d)&&~p.indexOf(RegExp.$1.slice(2,7))||-18))}}return{n:e,p:u,r:s,i:r}}let d=new Map;function g(e){if(e.d){let t=[],r=y(e.r.reduce((e,r)=>"@"==r[0]?(t.push(r),e):r?y(e,e=>y(r,t=>{let r=/(:merge\(.+?\))(:[a-z-]+|\\[.+])/.exec(t);if(r){let n=e.indexOf(r[1]);return~n?e.slice(0,n)+r[0]+e.slice(n+r[1].length):m(e,t)}return m(t,e)})):e,"&"),t=>m(t,e.n?"."+n(e.n):""));return r&&t.push(r.replace(/:merge\((.+?)\)/g,"$1")),t.reduceRight((e,t)=>t+"{"+e+"}",e.d)}}function y(e,t){return e.replace(/ *((?:\(.+?\)|\[.+?\]|[^,])+) *(,|$)/g,(e,r,n)=>t(r)+n)}function m(e,t){return e.replace(/&/g,t)}let b=new Intl.Collator("en",{numeric:!0});function v(e,t){for(var r=0,n=e.length;r<n;){let i=n+r>>1;0>=$(e[i],t)?r=i+1:n=i}return n}function $(e,t){let r=e.p&a.o;return r==(t.p&a.o)&&(r==a.b||r==a.o)?0:e.p-t.p||e.o-t.o||b.compare(w(e.n),w(t.n))||b.compare(x(e.n),x(t.n))}function w(e){return(e||"").split(/:/).pop().split("/").pop()||"\0"}function x(e){return(e||"").replace(/\W/g,e=>String.fromCharCode(127+e.charCodeAt(0)))+"\0"}function A(e,t){return Math.round(parseInt(e,16)*t)}function k(e,t={}){if("function"==typeof e)return e(t);let{opacityValue:r="1",opacityVariable:n}=t,i=n?`var(${n})`:r;if(e.includes("<alpha-value>"))return e.replace("<alpha-value>",i);if("#"==e[0]&&(4==e.length||7==e.length)){let l=(e.length-1)/3,o=[17,1,.062272][l-1];return`rgba(${[A(e.substr(1,l),o),A(e.substr(1+l,l),o),A(e.substr(1+2*l,l),o),i]})`}return"1"==i?e:"0"==i?"#0000":e.replace(/^(rgb|hsl)(\([^)]+)\)$/,`$1a$2,${i})`)}function j(e,t,{theme:r}){return r(e,t=t.replace(/\d+$/,e=>100*(9-~~(parseInt(e,10)/100)||.5)))}function S(e,t,r,n,u=[]){return function e(t,{n:r,p:n,r:u=[],i:s},p){let h=[],d="",y=0,m=0;for(let b in t||{}){var v,w;let x=t[b];if("@"==b[0]){if(!x)continue;if("a"==b[1]){h.push(...E(r,n,P(""+x),p,n,u,s,!0));continue}if("l"==b[1]){for(let A of o(x))h.push(...e(A,{n:r,p:(v=a[b[7]],n&~a.o|v),r:u,i:s},p));continue}if("i"==b[1]){h.push(...o(x).map(e=>({p:-1,o:0,r:[],d:b+" "+e})));continue}if("k"==b[1]){h.push({p:a.d,o:0,r:[b],d:e(x,{p:a.d},p).map(g).join("")});continue}if("f"==b[1]){h.push(...o(x).map(t=>({p:a.d,o:0,r:[b],d:e(t,{p:a.d},p).map(g).join("")})));continue}}if("object"!=typeof x||Array.isArray(x))"label"==b&&x?r=x+i(JSON.stringify([n,s,t])):(x||0===x)&&(b=b.replace(/[A-Z]/g,e=>"-"+e.toLowerCase()),m+=1,y=Math.max(y,"-"==(w=b)[0]?0:c(w)+(/^(?:(border-(?!w|c|sty)|[tlbr].{2,4}m?$|c.{7,8}$)|([fl].{5}l|g.{8}$|pl))/.test(w)?+!!RegExp.$1||-!!RegExp.$2:0)+1),d+=(d?";":"")+o(x).map(e=>p.s(b,O(""+e,p.theme)+(s?" !important":""))).join(";"));else if("@"==b[0]||b.includes("&")){let k=n;"@"==b[0]&&(b=b.replace(/\bscreen\(([^)]+)\)/g,(e,t)=>{let r=p.theme("screens",t);return r?(k|=67108864,l(r,"")):e}),k|=f(b)),h.push(...e(x,{n:r,p:k,r:[...u,b],i:s},p))}else h.push(...e(x,{p:n,r:[...u,b]},p))}return h.unshift({n:r,p:n,o:Math.max(0,15-m)+1.5*Math.min(y||15,15),r:u,d:d}),h.sort($)}(e,h(t,r,n,u),r)}function O(e,t){return e.replace(/theme\((["'`])?(.+?)\1(?:\s*,\s*(["'`])?(.+?)\3)?\)/g,(e,r,n,i,l="")=>{let u=t(n,l);return"function"==typeof u&&/color|fill|stroke/i.test(n)?k(u):""+o(u).filter(e=>Object(e)!==e)})}function M(e,t){let r;let n=[];for(let i of e)i.d&&i.n?(null==r?void 0:r.p)==i.p&&""+r.r==""+i.r?(r.c=[r.c,i.c].filter(Boolean).join(" "),r.d=r.d+";"+i.d):n.push(r={...i,n:i.n&&t}):n.push({...i,n:i.n&&t});return n}function C(e,r,n=a.u,i,l){let u=[];for(let s of e)for(let c of function(e,r,n,i,l){var u;e={...e,i:e.i||l};let s=function(e,t){let r=d.get(e.n);return r?r(e,t):t.r(e.n,"dark"==e.v[0])}(e,r);return s?"string"==typeof s?({r:i,p:n}=h(e,r,n,i),M(C(P(s),r,n,i,e.i),e.n)):Array.isArray(s)?s.map(e=>{var t,r;return{o:0,...e,r:[...o(i),...o(e.r)],p:(t=n,r=null!=(u=e.p)?u:n,t&~a.o|r)}}):S(s,e,r,n,i):[{c:t(e),p:0,o:0,r:[]}]}(s,r,n,i,l))u.splice(v(u,c),0,c);return u}function E(e,t,r,n,i,l,o,u){return M((u?r.flatMap(e=>C([e],n,i,l,o)):C(r,n,i,l,o)).map(e=>e.p&a.o&&(e.n||t==a.b)?{...e,p:e.p&~a.o|t,o:0}:e),e)}function R(e,t,r,n){var i;return i=(e,i)=>{let{n:l,p:o,r:u,i:s}=h(e,i,t);return r&&E(l,t,r,i,o,u,s,n)},d.set(e,i),e}function z(e,t){if("("!=e[e.length-1]){let r=[],n=!1,i=!1,l="";for(let o of e)if(!("("==o||/[~@]$/.test(o))){if("!"==o[0]&&(o=o.slice(1),n=!n),o.endsWith(":")){r["dark:"==o?"unshift":"push"](o.slice(0,-1));continue}"-"==o[0]&&(o=o.slice(1),i=!i),o.endsWith("-")&&(o=o.slice(0,-1)),o&&"&"!=o&&(l+=(l&&"-")+o)}l&&(i&&(l="-"+l),t[0].push({n:l,v:r.filter(N),i:n}))}}function N(e,t,r){return r.indexOf(e)==t}let V=new Map;function P(e){let t=V.get(e);if(!t){let n=[],l=[[]],o=0,u=0,s=null,c=0,f=(t,r=0)=>{o!=c&&(n.push(e.slice(o,c+r)),t&&z(n,l)),o=c+1};for(;c<e.length;c++){let p=e[c];if(u)"\\"!=e[c-1]&&(u+=+("["==p)||-("]"==p));else if("["==p)u+=1;else if(s)"\\"!=e[c-1]&&s.test(e.slice(c))&&(s=null,o=c+RegExp.lastMatch.length);else if("/"==p&&"\\"!=e[c-1]&&("*"==e[c+1]||"/"==e[c+1]))s="*"==e[c+1]?/^\*\//:/^[\r\n]/;else if("("==p)f(),n.push(p);else if(":"==p)":"!=e[c+1]&&f(!1,1);else if(/[\s,)]/.test(p)){f(!0);let h=n.lastIndexOf("(");if(")"==p){let d=n[h-1];if(/[~@]$/.test(d)){let g=l.shift();n.length=h,z([...n,"#"],l);let{v:y}=l[0].pop();for(let m of g)m.v.splice(+("dark"==m.v[0])-+("dark"==y[0]),y.length);z([...n,R(d.length>1?d.slice(0,-1)+i(JSON.stringify([d,g])):d+"("+r(g)+")",a.a,g,/@$/.test(d))],l)}h=n.lastIndexOf("(",h-1)}n.length=h+1}else/[~@]/.test(p)&&"("==e[c+1]&&l.unshift([])}f(!0),V.set(e,t=l[0])}return t}function T(e,t,r){return t.reduce((t,n,i)=>t+r(n)+e[i+1],e[0])}function F(e,t){return Array.isArray(e)&&Array.isArray(e.raw)?T(e,t,e=>_(e).trim()):t.filter(Boolean).reduce((e,t)=>e+_(t),e?_(e):"")}function _(e){let t,r="";if(e&&"object"==typeof e){if(Array.isArray(e))(t=F(e[0],e.slice(1)))&&(r+=" "+t);else for(let n in e)e[n]&&(r+=" "+n)}else null!=e&&"boolean"!=typeof e&&(r+=" "+e);return r}let I=q("@"),L=q("~");function q(e){return new Proxy(function(e,...r){return t("",e,r)},{get:(e,r)=>r in e?e[r]:function(e,...n){return t(r,e,n)}});function t(t,n,i){return r(P(t+e+"("+F(n,i)+")"))}}function D(e,t){return Array.isArray(e)?B(T(e,t,e=>null!=e&&"boolean"!=typeof e?e:"")):"string"==typeof e?B(e):[e]}let J=/ *(?:(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}))/g;function B(e){let t;e=e.replace(/\/\*[^]*?\*\/|\s\s+|\n/gm," ");let r=[{}],n=[r[0]],i=[];for(;t=J.exec(e);)t[4]&&(r.shift(),i.shift()),t[3]?(i.unshift(t[3]),r.unshift({}),n.push(i.reduce((e,t)=>({[t]:e}),r[0]))):t[4]||(r[0][t[1]]&&(r.unshift({}),n.push(i.reduce((e,t)=>({[t]:e}),r[0]))),r[0][t[1]]=t[2]);return n}function U(e,...t){var r,n;let l=D(e,t),o=((null==(r=l.find(e=>e.label))?void 0:r.label)||"css")+i(JSON.stringify(l));return n=(e,t)=>M(l.flatMap(r=>S(r,e,t,a.o)),o),d.set(o,n),o}let W=new Proxy(function(e,t){return G("animation",e,t)},{get:(e,t)=>t in e?e[t]:function(e,r){return G(t,e,r)}});function G(e,t,r){return{toString:()=>U({label:e,"@layer components":{..."object"==typeof t?t:{animation:t},animationName:""+r}})}}function Y(e,t,r){return[e,Z(t,r)]}function Z(e,t){return"function"==typeof e?e:"string"==typeof e&&/^[\w-]+$/.test(e)?(r,n)=>({[e]:t?t(r,n):H(r,1)}):t=>e||{[t[1]]:H(t,2)}}function H(e,t,r=e.slice(t).find(Boolean)||e.$$||e.input){return"-"==e.input[0]?`calc(${r} * -1)`:r}function K(e,t,r,n){return[e,Q(t,r,n)]}function Q(e,t,r){let n="string"==typeof t?(e,n)=>({[t]:r?r(e,n):e._}):t||(({1:e,_:t},r,n)=>({[e||n]:t}));return(t,r)=>{var i;let l=ei(e||t[1]),o=null!=(i=r.theme(l,t.$$))?i:en(t.$$,l,r);if(null!=o)return t._=H(t,0,o),n(t,r,l)}}function X(e,t={},r){return[e,ee(t,r)]}function ee(e={},t){return(r,n)=>{let{section:i=ei(r[0]).replace("-","")+"Color"}=e,[l,o]=et(r.$$);if(!l)return;let u=n.theme(i,l)||en(l,i,n);if(!u||"object"==typeof u)return;let{opacityVariable:s=`--tw-${r[0].replace(/-$/,"")}-opacity`,opacitySection:a=i.replace("Color","Opacity"),property:c=i,selector:f}=e,p=n.theme(a,o||"DEFAULT")||o&&en(o,a,n),h=t||(({_:e})=>{let t=er(c,e);return f?{[f]:t}:t});r._={value:k(u,{opacityVariable:s||void 0,opacityValue:p||void 0}),color:e=>k(u,e),opacityVariable:s||void 0,opacityValue:p||void 0};let d=h(r,n);if(!r.dark){let g=n.d(i,l,u);g&&g!==u&&(r._={value:k(g,{opacityVariable:s||void 0,opacityValue:p||"1"}),color:e=>k(g,e),opacityVariable:s||void 0,opacityValue:p||void 0},d={"&":d,[n.v("dark")]:h(r,n)})}return d}}function et(e){return(e.match(/^(\[[^\]]+]|[^/]+?)(?:\/(.+))?$/)||[]).slice(1)}function er(e,t){let r={};return"string"==typeof t?r[e]=t:(t.opacityVariable&&t.value.includes(t.opacityVariable)&&(r[t.opacityVariable]=t.opacityValue||"1"),r[e]=t.value),r}function en(e,t,r){if("["==e[0]&&"]"==e.slice(-1)){if(e=el(O(e.slice(1,-1),r.theme)),!t)return e;if(!(/color|fill|stroke/i.test(t)&&!(/^color:/.test(e)||/^(#|((hsl|rgb)a?|hwb|lab|lch|color)\(|[a-z]+$)/.test(e))||/image/i.test(t)&&!(/^image:/.test(e)||/^[a-z-]+\(/.test(e))||/weight/i.test(t)&&!(/^(number|any):/.test(e)||/^\d+$/.test(e))||/position/i.test(t)&&/^(length|size):/.test(e)))return e.replace(/^[a-z-]+:/,"")}}function ei(e){return e.replace(/-./g,e=>e[1].toUpperCase())}function el(e){return e.includes("url(")?e.replace(/(.*?)(url\(.*?\))(.*?)/g,(e,t="",r,n="")=>el(t)+r+el(n)):e.replace(/(^|[^\\])_+/g,(e,t)=>t+" ".repeat(e.length-t.length)).replace(/\\_/g,"_").replace(/(calc|min|max|clamp)\(.+\)/g,e=>e.replace(/(-?\d*\.?\d(?!\b-.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g,"$1 $2 "))}let eo=Symbol();function eu(e){return e}function es(e){return e[eo]}function ea(e,...t){return r(P(F(e,t))," ")}function ec({presets:e=[],...t}){let r={darkMode:void 0,darkColor:void 0,preflight:!1!==t.preflight&&[],theme:{},variants:o(t.variants),rules:o(t.rules),ignorelist:o(t.ignorelist),hash:void 0,stringify:(e,t)=>e+":"+t,finalize:[]};for(let n of o([...e,{darkMode:t.darkMode,darkColor:t.darkColor,preflight:!1!==t.preflight&&o(t.preflight),theme:t.theme,hash:t.hash,stringify:t.stringify,finalize:t.finalize}])){let{preflight:i,darkMode:l=r.darkMode,darkColor:u=r.darkColor,theme:s,variants:a,rules:c,ignorelist:f,hash:p=r.hash,stringify:h=r.stringify,finalize:d}="function"==typeof n?n(r):n;r={preflight:!1!==r.preflight&&!1!==i&&[...r.preflight,...o(i)],darkMode:l,darkColor:u,theme:{...r.theme,...s,extend:{...r.theme.extend,...null==s?void 0:s.extend}},variants:[...r.variants,...o(a)],rules:[...r.rules,...o(c)],ignorelist:[...r.ignorelist,...o(f)],hash:p,stringify:h,finalize:[...r.finalize,...o(d)]}}return r}function ef(e,t,r,n,i,l){for(let o of t){let u=r.get(o);u||r.set(o,u=n(o));let s=u(e,i,l);if(s)return s}}function ep(e){var t;return ed(e[0],"function"==typeof(t=e[1])?t:()=>t)}function eh(e){var t,r;return Array.isArray(e)?ed(e[0],Z(e[1],e[2])):ed(e,Z(t,r))}function ed(e,t){return eg(e,(e,r,n,i)=>{let l=r.exec(e);if(l)return l.$$=e.slice(l[0].length),l.dark=i,t(l,n)})}function eg(e,t){let r=o(e).map(ey);return(e,n,i)=>{for(let l of r){let o=t(e,l,n,i);if(o)return o}}}function ey(e){return"string"==typeof e?RegExp("^"+e+(e.includes("$")||"-"==e.slice(-1)?"":"$")):e}function em(e,t){let r=ec(e),l=function({theme:e,darkMode:t,darkColor:r=s,variants:l,rules:a,hash:c,stringify:f,ignorelist:p,finalize:h}){let d=new Map,g=new Map,y=new Map,m=new Map,b=eg(p,(e,t)=>t.test(e));l.push(["dark",Array.isArray(t)||"class"==t?`${o(t)[1]||".dark"} &`:"string"==typeof t&&"media"!=t?t:"@media (prefers-color-scheme:dark)"]);let v="function"==typeof c?e=>c(e,i):c?i:u;return v!==u&&h.push(e=>{var t;return{...e,n:e.n&&v(e.n),d:null==(t=e.d)?void 0:t.replace(/--(tw(?:-[\w-]+)?)\b/g,(e,t)=>"--"+v(t).replace("#",""))}}),{theme:function({extend:e={},...t}){let r={},n={get colors(){return i("colors")},theme:i,negative:()=>({}),breakpoints(e){let t={};for(let r in e)"string"==typeof e[r]&&(t["screen-"+r]=e[r]);return t}};return i;function i(n,o,u,s){if(n){var a,c;if({1:n,2:s}=/^(\S+?)(?:\s*\/\s*([^/]+))?$/.exec(n)||[,n],/[.[]/.test(n)){let f=[];n.replace(/\[([^\]]+)\]|([^.[]+)/g,(e,t,r=t)=>f.push(r)),n=f.shift(),u=o,o=f.join("-")}let p=r[n]||Object.assign(Object.assign(r[n]={},l(t,n)),l(e,n));if(null==o)return p;o||(o="DEFAULT");let h=null!=(c=null!=(a=p[o])?a:o.split("-").reduce((e,t)=>null==e?void 0:e[t],p))?c:u;return s?k(h,{opacityValue:O(s,i)}):h}let d={};for(let g of[...Object.keys(t),...Object.keys(e)])d[g]=i(g);return d}function l(e,t){let r=e[t];return("function"==typeof r&&(r=r(n)),r&&/color|fill|stroke/i.test(t))?function e(t,r=[]){let n={};for(let i in t){let l=t[i],o=[...r,i];n[o.join("-")]=l,"DEFAULT"==i&&(o=r,n[r.join("-")]=l),"object"==typeof l&&Object.assign(n,e(l,o))}return n}(r):r}}(e),e:n,h:v,s(e,t){return f(e,t,this)},d(e,t,n){return r(e,t,this,n)},v(e){return d.has(e)||d.set(e,ef(e,l,g,ep,this)||"&:"+e),d.get(e)},r(e,t){let r=JSON.stringify([e,t]);return y.has(r)||y.set(r,!b(e,this)&&ef(e,a,m,eh,this,t)),y.get(r)},f(e){return h.reduce((e,t)=>t(e,this),e)}}}(r),c=new Map,f=[],p=new Set;function h(e){let r=l.f(e),n=g(r);if(n&&!p.has(n)){p.add(n);let i=v(f,e);t.insert(n,i,e),f.splice(i,0,e)}return r.n}return t.resume(e=>c.set(e,e),(e,r)=>{t.insert(e,f.length,r),f.push(r),p.add(e)}),Object.defineProperties(function(e){if(!c.size)for(let t of o(r.preflight))"function"==typeof t&&(t=t(l)),t&&("string"==typeof t?E("",a.b,P(t),l,a.b,[],!1,!0):S(t,{},l,a.b)).forEach(h);e=""+e;let n=c.get(e);if(!n){let i=new Set;for(let u of C(P(e),l))i.add(u.c).add(h(u));n=[...i].filter(Boolean).join(" "),c.set(e,n).set(n,n)}return n},Object.getOwnPropertyDescriptors({get target(){return t.target},theme:l.theme,config:r,snapshot(){let e=t.snapshot(),r=new Set(p),n=new Map(c),i=[...f];return()=>{e(),p=r,c=n,f=i}},clear(){t.clear(),p=new Set,c=new Map,f=[]},destroy(){this.clear(),t.destroy()}}))}function eb(e,t){return e!=t&&""+e.split(" ").sort()!=""+t.split(" ").sort()}function ev(e=eM,t=document.documentElement){if(!t)return e;let r=new MutationObserver(i);r.observe(t,{attributeFilter:["class"],subtree:!0,childList:!0}),l(t),i([{target:t,type:""}]);let{destroy:n}=e;return e.destroy=()=>{r.disconnect(),n.call(e)},e;function i(e){for(let{type:t,target:n}of e)if("a"==t[0])l(n);else for(let i of n.querySelectorAll("[class]"))l(i);r.takeRecords()}function l(t){let r;let n=t.getAttribute("class");n&&eb(n,r=e(n))&&t.setAttribute("class",r)}}function e$(e){let t=document.querySelector(e||"style[data-twind]");return t&&"STYLE"==t.tagName||((t=document.createElement("style")).dataset.twind="",document.head.prepend(t)),t}function ew(e){let t=(null==e?void 0:e.cssRules)?e:(e&&"string"!=typeof e?e:e$(e)).sheet;return{target:t,snapshot(){let e=Array.from(t.cssRules,e=>e.cssText);return()=>{this.clear(),e.forEach(this.insert)}},clear(){for(let e=t.cssRules.length;e--;)t.deleteRule(e)},destroy(){var e;null==(e=t.ownerNode)||e.remove()},insert(e,r){try{t.insertRule(e,r)}catch(n){t.insertRule(":root{}",r),/:-[mwo]/.test(e)}},resume:s}}function ex(e){let t=e&&"string"!=typeof e?e:e$(e);return{target:t,snapshot(){let e=Array.from(t.childNodes,e=>e.textContent);return()=>{this.clear(),e.forEach(this.insert)}},clear(){t.textContent=""},destroy(){t.remove()},insert(e,r){t.insertBefore(document.createTextNode(e),t.childNodes[r]||null)},resume:s}}function eA(e){let t=[];return{target:t,snapshot(){let e=[...t];return()=>{t.splice(0,t.length,...e)}},clear(){t.length=0},destroy(){this.clear()},insert(r,n,i){t.splice(n,0,e?`/*!${i.p.toString(36)},${(2*i.o).toString(36)}${i.n?","+i.n:""}*/${r}`:r)},resume:s}}function ek(e,t){let r=e?ex():ew();return t||(r.resume=eS),r}function ej(e){return(e.ownerNode||e).textContent||(e.cssRules?Array.from(e.cssRules,e=>e.cssText):o(e)).join("")}function eS(e,t){let r=ej(this.target),n=/\/\*!([\da-z]+),([\da-z]+)(?:,(.+?))?\*\//g;if(n.test(r)){var i;let l;for(let o of(n.lastIndex=0,this.clear(),document.querySelectorAll("[class]")))e(o.getAttribute("class"));for(;i=n.exec(r),l&&t(r.slice(l.index+l[0].length,null==i?void 0:i.index),{p:parseInt(l[1],36),o:parseInt(l[2],36)/2,n:l[3]}),l=i;);}}function eO(e){if(document.currentScript){let t=()=>r.disconnect(),r=new MutationObserver(r=>{for(let{target:n}of r)if(n===document.body)return e(),t()});return r.observe(document.documentElement,{childList:!0,subtree:!0}),t}return s}let eM=new Proxy(s,{apply:(t,r,n)=>e(n[0]),get(t,r){let n=e[r];return"function"==typeof n?function(){return n.apply(e,arguments)}:n}});function eC(t={},r=ek,n){return null==e||e.destroy(),e=ev(em(t,"function"==typeof r?r():r),n)}let eE=function(e,...t){("function"==typeof this?this:eM)(U({"@layer base":D(e,t)}))};function eR(e,t=!0){var r;let n=ec(e);return eC({...n,hash:null!=(r=n.hash)?r:t},()=>ek(!t))}let ez=function e(t){return new Proxy(function(e,...r){return eN(t,"",e,r)},{get:(r,n)=>"bind"===n?e:n in r?r[n]:function(e,...r){return eN(t,n,e,r)}})}();function eN(e,t,r,l){return{toString(){let o=D(r,l),u=n(t+i(JSON.stringify([t,o])));return("function"==typeof e?e:eM)(U({[`@keyframes ${u}`]:D(r,l)})),u}}}function eV(e,t={}){let{tw:r=eM,minify:n=u}="function"==typeof t?{tw:t}:t,{html:i,css:l}=eP(e,r);return i.replace("</head>",`<style data-twind>${n(l,i)}</style></head>`)}function eP(e,t=eM){let r=t.snapshot(),n={html:eT(e,t),css:ej(t.target)};return r(),n}function eT(e,t=eM){let r="",n=0;return!function(e,t){let r=1,n=0,i="",l="",o=o=>{5==r&&"class"==l&&!1===t(n,o,i)&&(e="")};for(let u=0;u<e.length;u++){let s=e[u];1==r?"<"==s&&(r="!--"==e.substr(u+1,3)?4:3):4==r?">"==s&&"--"==e.slice(u-2,u)&&(r=1):i?s==i&&"\\"!=e[u-1]&&(o(u),r=2,i=""):'"'==s||"'"==s?(i=s,n+=1):">"==s?(o(u),r=1):r&&("="==s?(l=e.slice(n,u),r=5,n=u+1):"/"==s&&(r<5||">"==e[u+1])?(o(u),r=0):/\s/.test(s)&&(o(u),r=2,n=u+1))}}(e,(i,l,o)=>{var u;let s=e.slice(i,l),a=t(('"'==(u=o)?s.replace(/(=|\[)(?:&#39;|&apos;|&#x27;)|(?:&#39;|&apos;|&#x27;)(])/g,"$1'$2"):"'"==u?s.replace(/(=|\[)(?:&#34;|&quot;|&#x22;)|(?:&#34;|&quot;|&#x22;)(])/g,'$1"$2'):s).replace(/(&#38;|&amp;|&#x26;)/g,"&"));eb(s,a)&&(o=o?"":'"',r+=e.slice(n,i)+o+a+o,n=l)}),r+e.slice(n,e.length)}let eF=(e,t)=>"function"==typeof e?e_(t,e):e_(e);function e_(e={},t){let{label:r="style",base:l,props:o={},defaults:u,when:s=[]}=e,c={...null==t?void 0:t.defaults,...u},f=i(JSON.stringify([r,null==t?void 0:t.className,l,o,c,s])),p=h("",l||"",a.c);function h(e,n,i){return R(((t?t.className.replace(/#.+$/,"~"):"")+r+e+f).replace(/[: ,()[\]]/,""),i,n&&P(n))}return Object.defineProperties(function(e){let r,n;Array.isArray(e)&&(r=!0,e=Object.fromEntries(new URLSearchParams(e[1]).entries()));let i={...c,...e},l=r?"":(t?t(i)+" ":"")+p;for(let u in o){let a=o[u],f=i[u];if(f===Object(f)){let d="";for(let g in n="",f){let y=a[f[g]];y&&(d+="@"+g+"-"+f[g],n+=(n&&" ")+("_"==g?y:g+":("+y+")"))}n&&(l+=" "+h("--"+u+"-"+d,n,402653184))}else(n=a[f])&&(l+=" "+h("--"+u+"-"+f,n,402653184))}return s.forEach((e,t)=>{let r="";for(let o in e[0]){let u=i[o];if(u!==Object(u)&&""+u==""+e[0][o])r+=(r&&"_")+o+"-"+u;else{r="";break}}r&&(n=e[1])&&(l+=" "+h("-"+t+"--"+r,n,536870912))}),l},Object.getOwnPropertyDescriptors({className:p,defaults:c,selector:"."+n(p)}))}let eI=function(e,...t){return("function"==typeof this?this:eM)(F(e,t))};export{W as animation,I as apply,en as arbitrary,o as asArray,eO as auto,j as autoDarkColor,ee as colorFromTheme,eT as consume,U as css,ew as cssom,ea as cx,ec as defineConfig,ex as dom,n as escape,eP as extract,Z as fromMatch,Q as fromTheme,es as getAutocompleteProvider,ek as getSheet,i as hash,u as identity,eE as injectGlobal,eV as inline,eR as install,ez as keyframes,Y as match,X as matchColor,K as matchTheme,l as mql,s as noop,el as normalize,ev as observe,P as parse,et as parseValue,eC as setup,L as shortcut,ej as stringify,eF as style,er as toCSS,k as toColorValue,eM as tw,em as twind,eI as tx,eA as virtual,eu as withAutocomplete};//# sourceMappingURL=core.browser.js.map
let e;function t(e){return[...e.v,(e.i?"!":"")+e.n].join(":")}function r(e,r=","){return e.map(t).join(r)}let n="undefined"!=typeof CSS&&CSS.escape||(e=>e.replace(/[!"'`*+.,;:\\/<=>?@#$%&^|~()[\]{}]/g,"\\$&").replace(/^\d/,"\\3$& "));function i(e){for(var t=9,r=e.length;r--;)t=Math.imul(t^e.charCodeAt(r),1597334677);return"#"+((t^t>>>9)>>>0).toString(36)}function l(e,t="@media "){return t+o(e).map(e=>("string"==typeof e&&(e={min:e}),e.raw||Object.keys(e).map(t=>`(${t}-width:${e[t]})`).join(" and "))).join(",")}function o(e=[]){return Array.isArray(e)?e:null==e?[]:[e]}function u(e){return e}function s(){}let a={d:0,b:134217728,c:268435456,a:671088640,u:805306368,o:939524096};function c(e){var t;return(null==(t=e.match(/[-=:;]/g))?void 0:t.length)||0}function f(e){return Math.min(/(?:^|width[^\d]+)(\d+(?:.\d+)?)(p)?/.test(e)?Math.max(0,29.63*(+RegExp.$1/(RegExp.$2?15:1))**.137-43):0,15)<<22|Math.min(c(e),15)<<18}let p=["rst-c","st-ch","h-chi","y-lin","nk","sited","ecked","pty","ad-on","cus-w","ver","cus","cus-v","tive","sable","tiona","quire"];function h({n:e,i:r,v:n=[]},i,u,s){for(let a of(e&&(e=t({n:e,i:r,v:n})),s=[...o(s)],n)){let c=i.theme("screens",a);for(let h of o(c&&l(c)||i.v(a))){var d;s.push(h),u|=c?67108864|f(h):"dark"==a?1073741824:"@"==h[0]?f(h):(d=h,1<<~(/:([a-z-]+)/.test(d)&&~p.indexOf(RegExp.$1.slice(2,7))||-18))}}return{n:e,p:u,r:s,i:r}}let d=new Map;function g(e){if(e.d){let t=[],r=y(e.r.reduce((e,r)=>"@"==r[0]?(t.push(r),e):r?y(e,e=>y(r,t=>{let r=/(:merge\(.+?\))(:[a-z-]+|\\[.+])/.exec(t);if(r){let n=e.indexOf(r[1]);return~n?e.slice(0,n)+r[0]+e.slice(n+r[1].length):m(e,t)}return m(t,e)})):e,"&"),t=>m(t,e.n?"."+n(e.n):""));return r&&t.push(r.replace(/:merge\((.+?)\)/g,"$1")),t.reduceRight((e,t)=>t+"{"+e+"}",e.d)}}function y(e,t){return e.replace(/ *((?:\(.+?\)|\[.+?\]|[^,])+) *(,|$)/g,(e,r,n)=>t(r)+n)}function m(e,t){return e.replace(/&/g,t)}let b=new Intl.Collator("en",{numeric:!0});function v(e,t){for(var r=0,n=e.length;r<n;){let i=n+r>>1;0>=$(e[i],t)?r=i+1:n=i}return n}function $(e,t){let r=e.p&a.o;return r==(t.p&a.o)&&(r==a.b||r==a.o)?0:e.p-t.p||e.o-t.o||b.compare(w(e.n),w(t.n))||b.compare(x(e.n),x(t.n))}function w(e){return(e||"").split(/:/).pop().split("/").pop()||"\0"}function x(e){return(e||"").replace(/\W/g,e=>String.fromCharCode(127+e.charCodeAt(0)))+"\0"}function A(e,t){return Math.round(parseInt(e,16)*t)}function k(e,t={}){if("function"==typeof e)return e(t);let{opacityValue:r="1",opacityVariable:n}=t,i=n?`var(${n})`:r;if(e.includes("<alpha-value>"))return e.replace("<alpha-value>",i);if("#"==e[0]&&(4==e.length||7==e.length)){let l=(e.length-1)/3,o=[17,1,.062272][l-1];return`rgba(${[A(e.substr(1,l),o),A(e.substr(1+l,l),o),A(e.substr(1+2*l,l),o),i]})`}return"1"==i?e:"0"==i?"#0000":e.replace(/^(rgb|hsl)(\([^)]+)\)$/,`$1a$2,${i})`)}function j(e,t,{theme:r}){return r(e,t=t.replace(/\d+$/,e=>100*(9-~~(parseInt(e,10)/100)||.5)))}function S(e,t,r,n,u=[]){return function e(t,{n:r,p:n,r:u=[],i:s},p){let h=[],d="",y=0,m=0;for(let b in t||{}){var v,w;let x=t[b];if("@"==b[0]){if(!x)continue;if("a"==b[1]){h.push(...E(r,n,P(""+x),p,n,u,s,!0));continue}if("l"==b[1]){for(let A of o(x))h.push(...e(A,{n:r,p:(v=a[b[7]],n&~a.o|v),r:u,i:s},p));continue}if("i"==b[1]){h.push(...o(x).map(e=>({p:-1,o:0,r:[],d:b+" "+e})));continue}if("k"==b[1]){h.push({p:a.d,o:0,r:[b],d:e(x,{p:a.d},p).map(g).join("")});continue}if("f"==b[1]){h.push(...o(x).map(t=>({p:a.d,o:0,r:[b],d:e(t,{p:a.d},p).map(g).join("")})));continue}}if("object"!=typeof x||Array.isArray(x))"label"==b&&x?r=x+i(JSON.stringify([n,s,t])):(x||0===x)&&(b=b.replace(/[A-Z]/g,e=>"-"+e.toLowerCase()),m+=1,y=Math.max(y,"-"==(w=b)[0]?0:c(w)+(/^(?:(border-(?!w|c|sty)|[tlbr].{2,4}m?$|c.{7,8}$)|([fl].{5}l|g.{8}$|pl))/.test(w)?+!!RegExp.$1||-!!RegExp.$2:0)+1),d+=(d?";":"")+o(x).map(e=>p.s(b,O(""+e,p.theme)+(s?" !important":""))).join(";"));else if("@"==b[0]||b.includes("&")){let k=n;"@"==b[0]&&(b=b.replace(/\bscreen\(([^)]+)\)/g,(e,t)=>{let r=p.theme("screens",t);return r?(k|=67108864,l(r,"")):e}),k|=f(b)),h.push(...e(x,{n:r,p:k,r:[...u,b],i:s},p))}else h.push(...e(x,{p:n,r:[...u,b]},p))}return h.unshift({n:r,p:n,o:Math.max(0,15-m)+1.5*Math.min(y||15,15),r:u,d:d}),h.sort($)}(e,h(t,r,n,u),r)}function O(e,t){return e.replace(/theme\((["'`])?(.+?)\1(?:\s*,\s*(["'`])?(.+?)\3)?\)/g,(e,r,n,i,l="")=>{let u=t(n,l);return"function"==typeof u&&/color|fill|stroke/i.test(n)?k(u):""+o(u).filter(e=>Object(e)!==e)})}function M(e,t){let r;let n=[];for(let i of e)i.d&&i.n?(null==r?void 0:r.p)==i.p&&""+r.r==""+i.r?(r.c=[r.c,i.c].filter(Boolean).join(" "),r.d=r.d+";"+i.d):n.push(r={...i,n:i.n&&t}):n.push({...i,n:i.n&&t});return n}function C(e,r,n=a.u,i,l){let u=[];for(let s of e)for(let c of function(e,r,n,i,l){var u;e={...e,i:e.i||l};let s=function(e,t){let r=d.get(e.n);return r?r(e,t):t.r(e.n,"dark"==e.v[0])}(e,r);return s?"string"==typeof s?({r:i,p:n}=h(e,r,n,i),M(C(P(s),r,n,i,e.i),e.n)):Array.isArray(s)?s.map(e=>{var t,r;return{o:0,...e,r:[...o(i),...o(e.r)],p:(t=n,r=null!=(u=e.p)?u:n,t&~a.o|r)}}):S(s,e,r,n,i):[{c:t(e),p:0,o:0,r:[]}]}(s,r,n,i,l))u.splice(v(u,c),0,c);return u}function E(e,t,r,n,i,l,o,u){return M((u?r.flatMap(e=>C([e],n,i,l,o)):C(r,n,i,l,o)).map(e=>e.p&a.o&&(e.n||t==a.b)?{...e,p:e.p&~a.o|t,o:0}:e),e)}function R(e,t,r,n){var i;return i=(e,i)=>{let{n:l,p:o,r:u,i:s}=h(e,i,t);return r&&E(l,t,r,i,o,u,s,n)},d.set(e,i),e}function z(e,t){if("("!=e[e.length-1]){let r=[],n=!1,i=!1,l="";for(let o of e)if(!("("==o||/[~@]$/.test(o))){if("!"==o[0]&&(o=o.slice(1),n=!n),o.endsWith(":")){r["dark:"==o?"unshift":"push"](o.slice(0,-1));continue}"-"==o[0]&&(o=o.slice(1),i=!i),o.endsWith("-")&&(o=o.slice(0,-1)),o&&"&"!=o&&(l+=(l&&"-")+o)}l&&(i&&(l="-"+l),t[0].push({n:l,v:r.filter(N),i:n}))}}function N(e,t,r){return r.indexOf(e)==t}let V=new Map;function P(e){let t=V.get(e);if(!t){let n=[],l=[[]],o=0,u=0,s=null,c=0,f=(t,r=0)=>{o!=c&&(n.push(e.slice(o,c+r)),t&&z(n,l)),o=c+1};for(;c<e.length;c++){let p=e[c];if(u)"\\"!=e[c-1]&&(u+=+("["==p)||-("]"==p));else if("["==p)u+=1;else if(s)"\\"!=e[c-1]&&s.test(e.slice(c))&&(s=null,o=c+RegExp.lastMatch.length);else if("/"==p&&"\\"!=e[c-1]&&("*"==e[c+1]||"/"==e[c+1]))s="*"==e[c+1]?/^\*\//:/^[\r\n]/;else if("("==p)f(),n.push(p);else if(":"==p)":"!=e[c+1]&&f(!1,1);else if(/[\s,)]/.test(p)){f(!0);let h=n.lastIndexOf("(");if(")"==p){let d=n[h-1];if(/[~@]$/.test(d)){let g=l.shift();n.length=h,z([...n,"#"],l);let{v:y}=l[0].pop();for(let m of g)m.v.splice(+("dark"==m.v[0])-+("dark"==y[0]),y.length);z([...n,R(d.length>1?d.slice(0,-1)+i(JSON.stringify([d,g])):d+"("+r(g)+")",a.a,g,/@$/.test(d))],l)}h=n.lastIndexOf("(",h-1)}n.length=h+1}else/[~@]/.test(p)&&"("==e[c+1]&&l.unshift([])}f(!0),V.set(e,t=l[0])}return t}function T(e,t,r){return t.reduce((t,n,i)=>t+r(n)+e[i+1],e[0])}function F(e,t){return Array.isArray(e)&&Array.isArray(e.raw)?T(e,t,e=>_(e).trim()):t.filter(Boolean).reduce((e,t)=>e+_(t),e?_(e):"")}function _(e){let t,r="";if(e&&"object"==typeof e){if(Array.isArray(e))(t=F(e[0],e.slice(1)))&&(r+=" "+t);else for(let n in e)e[n]&&(r+=" "+n)}else null!=e&&"boolean"!=typeof e&&(r+=" "+e);return r}let I=q("@"),L=q("~");function q(e){return new Proxy(function(e,...r){return t("",e,r)},{get:(e,r)=>r in e?e[r]:function(e,...n){return t(r,e,n)}});function t(t,n,i){return r(P(t+e+"("+F(n,i)+")"))}}function D(e,t){return Array.isArray(e)?B(T(e,t,e=>null!=e&&"boolean"!=typeof e?e:"")):"string"==typeof e?B(e):[e]}let J=/ *(?:(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}))/g;function B(e){let t;e=e.replace(/\/\*[^]*?\*\/|\s\s+|\n/gm," ");let r=[{}],n=[r[0]],i=[];for(;t=J.exec(e);)t[4]&&(r.shift(),i.shift()),t[3]?(i.unshift(t[3]),r.unshift({}),n.push(i.reduce((e,t)=>({[t]:e}),r[0]))):t[4]||(r[0][t[1]]&&(r.unshift({}),n.push(i.reduce((e,t)=>({[t]:e}),r[0]))),r[0][t[1]]=t[2]);return n}function U(e,...t){var r,n;let l=D(e,t),o=((null==(r=l.find(e=>e.label))?void 0:r.label)||"css")+i(JSON.stringify(l));return n=(e,t)=>M(l.flatMap(r=>S(r,e,t,a.o)),o),d.set(o,n),o}let W=new Proxy(function(e,t){return G("animation",e,t)},{get:(e,t)=>t in e?e[t]:function(e,r){return G(t,e,r)}});function G(e,t,r){return{toString:()=>U({label:e,"@layer components":{..."object"==typeof t?t:{animation:t},animationName:""+r}})}}function Y(e,t,r){return[e,Z(t,r)]}function Z(e,t){return"function"==typeof e?e:"string"==typeof e&&/^[\w-]+$/.test(e)?(r,n)=>({[e]:t?t(r,n):H(r,1)}):t=>e||{[t[1]]:H(t,2)}}function H(e,t,r=e.slice(t).find(Boolean)||e.$$||e.input){return"-"==e.input[0]?`calc(${r} * -1)`:r}function K(e,t,r,n){return[e,Q(t,r,n)]}function Q(e,t,r){let n="string"==typeof t?(e,n)=>({[t]:r?r(e,n):e._}):t||(({1:e,_:t},r,n)=>({[e||n]:t}));return(t,r)=>{var i;let l=ei(e||t[1]),o=null!=(i=r.theme(l,t.$$))?i:en(t.$$,l,r);if(null!=o)return t._=H(t,0,o),n(t,r,l)}}function X(e,t={},r){return[e,ee(t,r)]}function ee(e={},t){return(r,n)=>{let{section:i=ei(r[0]).replace("-","")+"Color"}=e,[l,o]=et(r.$$);if(!l)return;let u=n.theme(i,l)||en(l,i,n);if(!u||"object"==typeof u)return;let{opacityVariable:s=`--tw-${r[0].replace(/-$/,"")}-opacity`,opacitySection:a=i.replace("Color","Opacity"),property:c=i,selector:f}=e,p=n.theme(a,o||"DEFAULT")||o&&en(o,a,n),h=t||(({_:e})=>{let t=er(c,e);return f?{[f]:t}:t});r._={value:k(u,{opacityVariable:s||void 0,opacityValue:p||void 0}),color:e=>k(u,e),opacityVariable:s||void 0,opacityValue:p||void 0};let d=h(r,n);if(!r.dark){let g=n.d(i,l,u);g&&g!==u&&(r._={value:k(g,{opacityVariable:s||void 0,opacityValue:p||"1"}),color:e=>k(g,e),opacityVariable:s||void 0,opacityValue:p||void 0},d={"&":d,[n.v("dark")]:h(r,n)})}return d}}function et(e){return(e.match(/^(\[[^\]]+]|[^/]+?)(?:\/(.+))?$/)||[]).slice(1)}function er(e,t){let r={};return"string"==typeof t?r[e]=t:(t.opacityVariable&&t.value.includes(t.opacityVariable)&&(r[t.opacityVariable]=t.opacityValue||"1"),r[e]=t.value),r}function en(e,t,r){if("["==e[0]&&"]"==e.slice(-1)){if(e=el(O(e.slice(1,-1),r.theme)),!t)return e;if(!(/color|fill|stroke/i.test(t)&&!(/^color:/.test(e)||/^(#|((hsl|rgb)a?|hwb|lab|lch|color)\(|[a-z]+$)/.test(e))||/image/i.test(t)&&!(/^image:/.test(e)||/^[a-z-]+\(/.test(e))||/weight/i.test(t)&&!(/^(number|any):/.test(e)||/^\d+$/.test(e))||/position/i.test(t)&&/^(length|size):/.test(e)))return e.replace(/^[a-z-]+:/,"")}}function ei(e){return e.replace(/-./g,e=>e[1].toUpperCase())}function el(e){return e.includes("url(")?e.replace(/(.*?)(url\(.*?\))(.*?)/g,(e,t="",r,n="")=>el(t)+r+el(n)):e.replace(/(^|[^\\])_+/g,(e,t)=>t+" ".repeat(e.length-t.length)).replace(/\\_/g,"_").replace(/(calc|min|max|clamp)\(.+\)/g,e=>e.replace(/(-?\d*\.?\d(?!\b-.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g,"$1 $2 "))}let eo=Symbol();function eu(e){return e}function es(e){return e[eo]}function ea(e,...t){return r(P(F(e,t))," ")}function ec({presets:e=[],...t}){let r={darkMode:void 0,darkColor:void 0,preflight:!1!==t.preflight&&[],theme:{},variants:o(t.variants),rules:o(t.rules),ignorelist:o(t.ignorelist),hash:void 0,stringify:(e,t)=>e+":"+t,finalize:[]};for(let n of o([...e,{darkMode:t.darkMode,darkColor:t.darkColor,preflight:!1!==t.preflight&&o(t.preflight),theme:t.theme,hash:t.hash,stringify:t.stringify,finalize:t.finalize}])){let{preflight:i,darkMode:l=r.darkMode,darkColor:u=r.darkColor,theme:s,variants:a,rules:c,ignorelist:f,hash:p=r.hash,stringify:h=r.stringify,finalize:d}="function"==typeof n?n(r):n;r={preflight:!1!==r.preflight&&!1!==i&&[...r.preflight,...o(i)],darkMode:l,darkColor:u,theme:{...r.theme,...s,extend:{...r.theme.extend,...null==s?void 0:s.extend}},variants:[...r.variants,...o(a)],rules:[...r.rules,...o(c)],ignorelist:[...r.ignorelist,...o(f)],hash:p,stringify:h,finalize:[...r.finalize,...o(d)]}}return r}function ef(e,t,r,n,i,l){for(let o of t){let u=r.get(o);u||r.set(o,u=n(o));let s=u(e,i,l);if(s)return s}}function ep(e){var t;return ed(e[0],"function"==typeof(t=e[1])?t:()=>t)}function eh(e){var t,r;return Array.isArray(e)?ed(e[0],Z(e[1],e[2])):ed(e,Z(t,r))}function ed(e,t){return eg(e,(e,r,n,i)=>{let l=r.exec(e);if(l)return l.$$=e.slice(l[0].length),l.dark=i,t(l,n)})}function eg(e,t){let r=o(e).map(ey);return(e,n,i)=>{for(let l of r){let o=t(e,l,n,i);if(o)return o}}}function ey(e){return"string"==typeof e?RegExp("^"+e+(e.includes("$")||"-"==e.slice(-1)?"":"$")):e}function em(e,t){let r=ec(e),l=function({theme:e,darkMode:t,darkColor:r=s,variants:l,rules:a,hash:c,stringify:f,ignorelist:p,finalize:h}){let d=new Map,g=new Map,y=new Map,m=new Map,b=eg(p,(e,t)=>t.test(e));l.push(["dark",Array.isArray(t)||"class"==t?`${o(t)[1]||".dark"} &`:"string"==typeof t&&"media"!=t?t:"@media (prefers-color-scheme:dark)"]);let v="function"==typeof c?e=>c(e,i):c?i:u;return v!==u&&h.push(e=>{var t;return{...e,n:e.n&&v(e.n),d:null==(t=e.d)?void 0:t.replace(/--(tw(?:-[\w-]+)?)\b/g,(e,t)=>"--"+v(t).replace("#",""))}}),{theme:function({extend:e={},...t}){let r={},n={get colors(){return i("colors")},theme:i,negative:()=>({}),breakpoints(e){let t={};for(let r in e)"string"==typeof e[r]&&(t["screen-"+r]=e[r]);return t}};return i;function i(n,o,u,s){if(n){var a,c;if({1:n,2:s}=/^(\S+?)(?:\s*\/\s*([^/]+))?$/.exec(n)||[,n],/[.[]/.test(n)){let f=[];n.replace(/\[([^\]]+)\]|([^.[]+)/g,(e,t,r=t)=>f.push(r)),n=f.shift(),u=o,o=f.join("-")}let p=r[n]||Object.assign(Object.assign(r[n]={},l(t,n)),l(e,n));if(null==o)return p;o||(o="DEFAULT");let h=null!=(c=null!=(a=p[o])?a:o.split("-").reduce((e,t)=>null==e?void 0:e[t],p))?c:u;return s?k(h,{opacityValue:O(s,i)}):h}let d={};for(let g of[...Object.keys(t),...Object.keys(e)])d[g]=i(g);return d}function l(e,t){let r=e[t];return("function"==typeof r&&(r=r(n)),r&&/color|fill|stroke/i.test(t))?function e(t,r=[]){let n={};for(let i in t){let l=t[i],o=[...r,i];n[o.join("-")]=l,"DEFAULT"==i&&(o=r,n[r.join("-")]=l),"object"==typeof l&&Object.assign(n,e(l,o))}return n}(r):r}}(e),e:n,h:v,s(e,t){return f(e,t,this)},d(e,t,n){return r(e,t,this,n)},v(e){return d.has(e)||d.set(e,ef(e,l,g,ep,this)||"&:"+e),d.get(e)},r(e,t){let r=JSON.stringify([e,t]);return y.has(r)||y.set(r,!b(e,this)&&ef(e,a,m,eh,this,t)),y.get(r)},f(e){return h.reduce((e,t)=>t(e,this),e)}}}(r),c=new Map,f=[],p=new Set;function h(e){let r=l.f(e),n=g(r);if(n&&!p.has(n)){p.add(n);let i=v(f,e);t.insert(n,i,e),f.splice(i,0,e)}return r.n}return t.resume(e=>c.set(e,e),(e,r)=>{t.insert(e,f.length,r),f.push(r),p.add(e)}),Object.defineProperties(function(e){if(!c.size)for(let t of o(r.preflight))"function"==typeof t&&(t=t(l)),t&&("string"==typeof t?E("",a.b,P(t),l,a.b,[],!1,!0):S(t,{},l,a.b)).forEach(h);e=""+e;let n=c.get(e);if(!n){let i=new Set;for(let u of C(P(e),l))i.add(u.c).add(h(u));n=[...i].filter(Boolean).join(" "),c.set(e,n).set(n,n)}return n},Object.getOwnPropertyDescriptors({get target(){return t.target},theme:l.theme,config:r,snapshot(){let e=t.snapshot(),r=new Set(p),n=new Map(c),i=[...f];return()=>{e(),p=r,c=n,f=i}},clear(){t.clear(),p=new Set,c=new Map,f=[]},destroy(){this.clear(),t.destroy()}}))}function eb(e,t){return e!=t&&""+e.split(" ").sort()!=""+t.split(" ").sort()}function ev(e=eM,t=document.documentElement){if(!t)return e;let r=new MutationObserver(i);r.observe(t,{attributeFilter:["class"],subtree:!0,childList:!0}),l(t),i([{target:t,type:""}]);let{destroy:n}=e;return e.destroy=()=>{r.disconnect(),n.call(e)},e;function i(e){for(let{type:t,target:n}of e)if("a"==t[0])l(n);else for(let i of n.querySelectorAll("[class]"))l(i);r.takeRecords()}function l(t){let r;let n=t.getAttribute("class");n&&eb(n,r=e(n))&&t.setAttribute("class",r)}}function e$(e){let t=document.querySelector(e||"style[data-twind]");return t&&"STYLE"==t.tagName||((t=document.createElement("style")).dataset.twind="",document.head.prepend(t)),t}function ew(e){let t=(null==e?void 0:e.cssRules)?e:(e&&"string"!=typeof e?e:e$(e)).sheet;return{target:t,snapshot(){let e=Array.from(t.cssRules,e=>e.cssText);return()=>{this.clear(),e.forEach(this.insert)}},clear(){for(let e=t.cssRules.length;e--;)t.deleteRule(e)},destroy(){var e;null==(e=t.ownerNode)||e.remove()},insert(e,r){try{t.insertRule(e,r)}catch(n){t.insertRule(":root{}",r)}},resume:s}}function ex(e){let t=e&&"string"!=typeof e?e:e$(e);return{target:t,snapshot(){let e=Array.from(t.childNodes,e=>e.textContent);return()=>{this.clear(),e.forEach(this.insert)}},clear(){t.textContent=""},destroy(){t.remove()},insert(e,r){t.insertBefore(document.createTextNode(e),t.childNodes[r]||null)},resume:s}}function eA(e){let t=[];return{target:t,snapshot(){let e=[...t];return()=>{t.splice(0,t.length,...e)}},clear(){t.length=0},destroy(){this.clear()},insert(r,n,i){t.splice(n,0,e?`/*!${i.p.toString(36)},${(2*i.o).toString(36)}${i.n?","+i.n:""}*/${r}`:r)},resume:s}}function ek(e,t){let r=e?ex():ew();return t||(r.resume=eS),r}function ej(e){return(e.ownerNode||e).textContent||(e.cssRules?Array.from(e.cssRules,e=>e.cssText):o(e)).join("")}function eS(e,t){let r=ej(this.target),n=/\/\*!([\da-z]+),([\da-z]+)(?:,(.+?))?\*\//g;if(n.test(r)){var i;let l;for(let o of(n.lastIndex=0,this.clear(),document.querySelectorAll("[class]")))e(o.getAttribute("class"));for(;i=n.exec(r),l&&t(r.slice(l.index+l[0].length,null==i?void 0:i.index),{p:parseInt(l[1],36),o:parseInt(l[2],36)/2,n:l[3]}),l=i;);}}function eO(e){if(document.currentScript){let t=()=>r.disconnect(),r=new MutationObserver(r=>{for(let{target:n}of r)if(n===document.body)return e(),t()});return r.observe(document.documentElement,{childList:!0,subtree:!0}),t}return s}let eM=new Proxy(s,{apply:(t,r,n)=>e(n[0]),get(t,r){let n=e[r];return"function"==typeof n?function(){return n.apply(e,arguments)}:n}});function eC(t={},r=ek,n){return null==e||e.destroy(),e=ev(em(t,"function"==typeof r?r():r),n)}let eE=function(e,...t){("function"==typeof this?this:eM)(U({"@layer base":D(e,t)}))};function eR(e,t=!0){var r;let n=ec(e);return eC({...n,hash:null!=(r=n.hash)?r:t},()=>ek(!t))}let ez=function e(t){return new Proxy(function(e,...r){return eN(t,"",e,r)},{get:(r,n)=>"bind"===n?e:n in r?r[n]:function(e,...r){return eN(t,n,e,r)}})}();function eN(e,t,r,l){return{toString(){let o=D(r,l),u=n(t+i(JSON.stringify([t,o])));return("function"==typeof e?e:eM)(U({[`@keyframes ${u}`]:D(r,l)})),u}}}function eV(e,t={}){let{tw:r=eM,minify:n=u}="function"==typeof t?{tw:t}:t,{html:i,css:l}=eP(e,r);return i.replace("</head>",`<style data-twind>${n(l,i)}</style></head>`)}function eP(e,t=eM){let r=t.snapshot(),n={html:eT(e,t),css:ej(t.target)};return r(),n}function eT(e,t=eM){let r="",n=0;return!function(e,t){let r=1,n=0,i="",l="",o=o=>{5==r&&"class"==l&&!1===t(n,o,i)&&(e="")};for(let u=0;u<e.length;u++){let s=e[u];1==r?"<"==s&&(r="!--"==e.substr(u+1,3)?4:3):4==r?">"==s&&"--"==e.slice(u-2,u)&&(r=1):i?s==i&&"\\"!=e[u-1]&&(o(u),r=2,i=""):'"'==s||"'"==s?(i=s,n+=1):">"==s?(o(u),r=1):r&&("="==s?(l=e.slice(n,u),r=5,n=u+1):"/"==s&&(r<5||">"==e[u+1])?(o(u),r=0):/\s/.test(s)&&(o(u),r=2,n=u+1))}}(e,(i,l,o)=>{var u;let s=e.slice(i,l),a=t(('"'==(u=o)?s.replace(/(=|\[)(?:&#39;|&apos;|&#x27;)|(?:&#39;|&apos;|&#x27;)(])/g,"$1'$2"):"'"==u?s.replace(/(=|\[)(?:&#34;|&quot;|&#x22;)|(?:&#34;|&quot;|&#x22;)(])/g,'$1"$2'):s).replace(/(&#38;|&amp;|&#x26;)/g,"&"));eb(s,a)&&(o=o?"":'"',r+=e.slice(n,i)+o+a+o,n=l)}),r+e.slice(n,e.length)}let eF=(e,t)=>"function"==typeof e?e_(t,e):e_(e);function e_(e={},t){let{label:r="style",base:l,props:o={},defaults:u,when:s=[]}=e,c={...null==t?void 0:t.defaults,...u},f=i(JSON.stringify([r,null==t?void 0:t.className,l,o,c,s])),p=h("",l||"",a.c);function h(e,n,i){return R(((t?t.className.replace(/#.+$/,"~"):"")+r+e+f).replace(/[: ,()[\]]/,""),i,n&&P(n))}return Object.defineProperties(function(e){let r,n;Array.isArray(e)&&(r=!0,e=Object.fromEntries(new URLSearchParams(e[1]).entries()));let i={...c,...e},l=r?"":(t?t(i)+" ":"")+p;for(let u in o){let a=o[u],f=i[u];if(f===Object(f)){let d="";for(let g in n="",f){let y=a[f[g]];y&&(d+="@"+g+"-"+f[g],n+=(n&&" ")+("_"==g?y:g+":("+y+")"))}n&&(l+=" "+h("--"+u+"-"+d,n,402653184))}else(n=a[f])&&(l+=" "+h("--"+u+"-"+f,n,402653184))}return s.forEach((e,t)=>{let r="";for(let o in e[0]){let u=i[o];if(u!==Object(u)&&""+u==""+e[0][o])r+=(r&&"_")+o+"-"+u;else{r="";break}}r&&(n=e[1])&&(l+=" "+h("-"+t+"--"+r,n,536870912))}),l},Object.getOwnPropertyDescriptors({className:p,defaults:c,selector:"."+n(p)}))}let eI=function(e,...t){return("function"==typeof this?this:eM)(F(e,t))};export{W as animation,I as apply,en as arbitrary,o as asArray,eO as auto,j as autoDarkColor,ee as colorFromTheme,eT as consume,U as css,ew as cssom,ea as cx,ec as defineConfig,ex as dom,n as escape,eP as extract,Z as fromMatch,Q as fromTheme,es as getAutocompleteProvider,ek as getSheet,i as hash,u as identity,eE as injectGlobal,eV as inline,eR as install,ez as keyframes,Y as match,X as matchColor,K as matchTheme,l as mql,s as noop,el as normalize,ev as observe,P as parse,et as parseValue,eC as setup,L as shortcut,ej as stringify,eF as style,er as toCSS,k as toColorValue,eM as tw,em as twind,eI as tx,eA as virtual,eu as withAutocomplete};//# sourceMappingURL=core.browser.js.map

@@ -1,1 +0,1 @@

var twind=function(e){"use strict";let t;function r(e){return[...e.v,(e.i?"!":"")+e.n].join(":")}function n(e,t=","){return e.map(r).join(t)}let i="undefined"!=typeof CSS&&CSS.escape||(e=>e.replace(/[!"'`*+.,;:\\/<=>?@#$%&^|~()[\]{}]/g,"\\$&").replace(/^\d/,"\\3$& "));function l(e){for(var t=9,r=e.length;r--;)t=Math.imul(t^e.charCodeAt(r),1597334677);return"#"+((t^t>>>9)>>>0).toString(36)}function o(e,t="@media "){return t+u(e).map(e=>("string"==typeof e&&(e={min:e}),e.raw||Object.keys(e).map(t=>`(${t}-width:${e[t]})`).join(" and "))).join(",")}function u(e=[]){return Array.isArray(e)?e:null==e?[]:[e]}function s(e){return e}function a(){}let c={d:0,b:134217728,c:268435456,a:671088640,u:805306368,o:939524096};function f(e){var t;return(null==(t=e.match(/[-=:;]/g))?void 0:t.length)||0}function p(e){return Math.min(/(?:^|width[^\d]+)(\d+(?:.\d+)?)(p)?/.test(e)?Math.max(0,29.63*(+RegExp.$1/(RegExp.$2?15:1))**.137-43):0,15)<<22|Math.min(f(e),15)<<18}let h=["rst-c","st-ch","h-chi","y-lin","nk","sited","ecked","pty","ad-on","cus-w","ver","cus","cus-v","tive","sable","tiona","quire"];function d({n:e,i:t,v:n=[]},i,l,s){for(let a of(e&&(e=r({n:e,i:t,v:n})),s=[...u(s)],n)){let c=i.theme("screens",a);for(let f of u(c&&o(c)||i.v(a))){var d;s.push(f),l|=c?67108864|p(f):"dark"==a?1073741824:"@"==f[0]?p(f):(d=f,1<<~(/:([a-z-]+)/.test(d)&&~h.indexOf(RegExp.$1.slice(2,7))||-18))}}return{n:e,p:l,r:s,i:t}}let g=new Map;function y(){return(y=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function m(){return y.apply(this,arguments)}function v(e){if(e.d){let t=[],r=b(e.r.reduce((e,r)=>"@"==r[0]?(t.push(r),e):r?b(e,e=>b(r,t=>{let r=/(:merge\(.+?\))(:[a-z-]+|\\[.+])/.exec(t);if(r){let n=e.indexOf(r[1]);return~n?e.slice(0,n)+r[0]+e.slice(n+r[1].length):$(e,t)}return $(t,e)})):e,"&"),t=>$(t,e.n?"."+i(e.n):""));return r&&t.push(r.replace(/:merge\((.+?)\)/g,"$1")),t.reduceRight((e,t)=>t+"{"+e+"}",e.d)}}function b(e,t){return e.replace(/ *((?:\(.+?\)|\[.+?\]|[^,])+) *(,|$)/g,(e,r,n)=>t(r)+n)}function $(e,t){return e.replace(/&/g,t)}let w=new Intl.Collator("en",{numeric:!0});function x(e,t){for(var r=0,n=e.length;r<n;){let i=n+r>>1;0>=A(e[i],t)?r=i+1:n=i}return n}function A(e,t){let r=e.p&c.o;return r==(t.p&c.o)&&(r==c.b||r==c.o)?0:e.p-t.p||e.o-t.o||w.compare(j(e.n),j(t.n))||w.compare(k(e.n),k(t.n))}function j(e){return(e||"").split(/:/).pop().split("/").pop()||"\0"}function k(e){return(e||"").replace(/\W/g,e=>String.fromCharCode(127+e.charCodeAt(0)))+"\0"}function O(e,t){return Math.round(parseInt(e,16)*t)}function S(e,t={}){if("function"==typeof e)return e(t);let{opacityValue:r="1",opacityVariable:n}=t,i=n?`var(${n})`:r;if(e.includes("<alpha-value>"))return e.replace("<alpha-value>",i);if("#"==e[0]&&(4==e.length||7==e.length)){let l=(e.length-1)/3,o=[17,1,.062272][l-1];return`rgba(${[O(e.substr(1,l),o),O(e.substr(1+l,l),o),O(e.substr(1+2*l,l),o),i]})`}return"1"==i?e:"0"==i?"#0000":e.replace(/^(rgb|hsl)(\([^)]+)\)$/,`$1a$2,${i})`)}function M(e,t,r,n,i=[]){return function e(t,{n:r,p:n,r:i=[],i:s},a){let h=[],d="",g=0,y=0;for(let m in t||{}){var b,$;let w=t[m];if("@"==m[0]){if(!w)continue;if("a"==m[1]){h.push(...z(r,n,F(""+w),a,n,i,s,!0));continue}if("l"==m[1]){for(let x of u(w))h.push(...e(x,{n:r,p:(b=c[m[7]],n&~c.o|b),r:i,i:s},a));continue}if("i"==m[1]){h.push(...u(w).map(e=>({p:-1,o:0,r:[],d:m+" "+e})));continue}if("k"==m[1]){h.push({p:c.d,o:0,r:[m],d:e(w,{p:c.d},a).map(v).join("")});continue}if("f"==m[1]){h.push(...u(w).map(t=>({p:c.d,o:0,r:[m],d:e(t,{p:c.d},a).map(v).join("")})));continue}}if("object"!=typeof w||Array.isArray(w))"label"==m&&w?r=w+l(JSON.stringify([n,s,t])):(w||0===w)&&(m=m.replace(/[A-Z]/g,e=>"-"+e.toLowerCase()),y+=1,g=Math.max(g,"-"==($=m)[0]?0:f($)+(/^(?:(border-(?!w|c|sty)|[tlbr].{2,4}m?$|c.{7,8}$)|([fl].{5}l|g.{8}$|pl))/.test($)?+!!RegExp.$1||-!!RegExp.$2:0)+1),d+=(d?";":"")+u(w).map(e=>a.s(m,C(""+e,a.theme)+(s?" !important":""))).join(";"));else if("@"==m[0]||m.includes("&")){let j=n;"@"==m[0]&&(m=m.replace(/\bscreen\(([^)]+)\)/g,(e,t)=>{let r=a.theme("screens",t);return r?(j|=67108864,o(r,"")):e}),j|=p(m)),h.push(...e(w,{n:r,p:j,r:[...i,m],i:s},a))}else h.push(...e(w,{p:n,r:[...i,m]},a))}return h.unshift({n:r,p:n,o:Math.max(0,15-y)+1.5*Math.min(g||15,15),r:i,d:d}),h.sort(A)}(e,d(t,r,n,i),r)}function C(e,t){return e.replace(/theme\((["'`])?(.+?)\1(?:\s*,\s*(["'`])?(.+?)\3)?\)/g,(e,r,n,i,l="")=>{let o=t(n,l);return"function"==typeof o&&/color|fill|stroke/i.test(n)?S(o):""+u(o).filter(e=>Object(e)!==e)})}function E(e,t){let r;let n=[];for(let i of e)i.d&&i.n?(null==r?void 0:r.p)==i.p&&""+r.r==""+i.r?(r.c=[r.c,i.c].filter(Boolean).join(" "),r.d=r.d+";"+i.d):n.push(r=m({},i,{n:i.n&&t})):n.push(m({},i,{n:i.n&&t}));return n}function R(e,t,n=c.u,i,l){let o=[];for(let s of e)for(let a of function(e,t,n,i,l){var o;e=m({},e,{i:e.i||l});let s=function(e,t){let r=g.get(e.n);return r?r(e,t):t.r(e.n,"dark"==e.v[0])}(e,t);return s?"string"==typeof s?({r:i,p:n}=d(e,t,n,i),E(R(F(s),t,n,i,e.i),e.n)):Array.isArray(s)?s.map(e=>{var t,r;return m({o:0},e,{r:[...u(i),...u(e.r)],p:(t=n,r=null!=(o=e.p)?o:n,t&~c.o|r)})}):M(s,e,t,n,i):[{c:r(e),p:0,o:0,r:[]}]}(s,t,n,i,l))o.splice(x(o,a),0,a);return o}function z(e,t,r,n,i,l,o,u){return E((u?r.flatMap(e=>R([e],n,i,l,o)):R(r,n,i,l,o)).map(e=>e.p&c.o&&(e.n||t==c.b)?m({},e,{p:e.p&~c.o|t,o:0}):e),e)}function N(e,t,r,n){var i;return i=(e,i)=>{let{n:l,p:o,r:u,i:s}=d(e,i,t);return r&&z(l,t,r,i,o,u,s,n)},g.set(e,i),e}function V(e,t){if("("!=e[e.length-1]){let r=[],n=!1,i=!1,l="";for(let o of e)if(!("("==o||/[~@]$/.test(o))){if("!"==o[0]&&(o=o.slice(1),n=!n),o.endsWith(":")){r["dark:"==o?"unshift":"push"](o.slice(0,-1));continue}"-"==o[0]&&(o=o.slice(1),i=!i),o.endsWith("-")&&(o=o.slice(0,-1)),o&&"&"!=o&&(l+=(l&&"-")+o)}l&&(i&&(l="-"+l),t[0].push({n:l,v:r.filter(P),i:n}))}}function P(e,t,r){return r.indexOf(e)==t}let T=new Map;function F(e){let t=T.get(e);if(!t){let r=[],i=[[]],o=0,u=0,s=null,a=0,f=(t,n=0)=>{o!=a&&(r.push(e.slice(o,a+n)),t&&V(r,i)),o=a+1};for(;a<e.length;a++){let p=e[a];if(u)"\\"!=e[a-1]&&(u+=+("["==p)||-("]"==p));else if("["==p)u+=1;else if(s)"\\"!=e[a-1]&&s.test(e.slice(a))&&(s=null,o=a+RegExp.lastMatch.length);else if("/"==p&&"\\"!=e[a-1]&&("*"==e[a+1]||"/"==e[a+1]))s="*"==e[a+1]?/^\*\//:/^[\r\n]/;else if("("==p)f(),r.push(p);else if(":"==p)":"!=e[a+1]&&f(!1,1);else if(/[\s,)]/.test(p)){f(!0);let h=r.lastIndexOf("(");if(")"==p){let d=r[h-1];if(/[~@]$/.test(d)){let g=i.shift();r.length=h,V([...r,"#"],i);let{v:y}=i[0].pop();for(let m of g)m.v.splice(+("dark"==m.v[0])-+("dark"==y[0]),y.length);V([...r,N(d.length>1?d.slice(0,-1)+l(JSON.stringify([d,g])):d+"("+n(g)+")",c.a,g,/@$/.test(d))],i)}h=r.lastIndexOf("(",h-1)}r.length=h+1}else/[~@]/.test(p)&&"("==e[a+1]&&i.unshift([])}f(!0),T.set(e,t=i[0])}return t}function _(e,t,r){return t.reduce((t,n,i)=>t+r(n)+e[i+1],e[0])}function I(e,t){return Array.isArray(e)&&Array.isArray(e.raw)?_(e,t,e=>L(e).trim()):t.filter(Boolean).reduce((e,t)=>e+L(t),e?L(e):"")}function L(e){let t,r="";if(e&&"object"==typeof e){if(Array.isArray(e))(t=I(e[0],e.slice(1)))&&(r+=" "+t);else for(let n in e)e[n]&&(r+=" "+n)}else null!=e&&"boolean"!=typeof e&&(r+=" "+e);return r}let q=J("@"),D=J("~");function J(e){return new Proxy(function(e,...r){return t("",e,r)},{get:(e,r)=>r in e?e[r]:function(e,...n){return t(r,e,n)}});function t(t,r,i){return n(F(t+e+"("+I(r,i)+")"))}}function B(e,t){return Array.isArray(e)?W(_(e,t,e=>null!=e&&"boolean"!=typeof e?e:"")):"string"==typeof e?W(e):[e]}let U=/ *(?:(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}))/g;function W(e){let t;e=e.replace(/\/\*[^]*?\*\/|\s\s+|\n/gm," ");let r=[{}],n=[r[0]],i=[];for(;t=U.exec(e);)t[4]&&(r.shift(),i.shift()),t[3]?(i.unshift(t[3]),r.unshift({}),n.push(i.reduce((e,t)=>({[t]:e}),r[0]))):t[4]||(r[0][t[1]]&&(r.unshift({}),n.push(i.reduce((e,t)=>({[t]:e}),r[0]))),r[0][t[1]]=t[2]);return n}function G(e,...t){var r,n;let i=B(e,t),o=((null==(r=i.find(e=>e.label))?void 0:r.label)||"css")+l(JSON.stringify(i));return n=(e,t)=>E(i.flatMap(r=>M(r,e,t,c.o)),o),g.set(o,n),o}let Y=new Proxy(function(e,t){return Z("animation",e,t)},{get:(e,t)=>t in e?e[t]:function(e,r){return Z(t,e,r)}});function Z(e,t,r){return{toString:()=>G({label:e,"@layer components":m({},"object"==typeof t?t:{animation:t},{animationName:""+r})})}}function H(e,t){return"function"==typeof e?e:"string"==typeof e&&/^[\w-]+$/.test(e)?(r,n)=>({[e]:t?t(r,n):K(r,1)}):t=>e||{[t[1]]:K(t,2)}}function K(e,t,r=e.slice(t).find(Boolean)||e.$$||e.input){return"-"==e.input[0]?`calc(${r} * -1)`:r}function Q(e,t,r){let n="string"==typeof t?(e,n)=>({[t]:r?r(e,n):e._}):t||(({1:e,_:t},r,n)=>({[e||n]:t}));return(t,r)=>{var i;let l=en(e||t[1]),o=null!=(i=r.theme(l,t.$$))?i:er(t.$$,l,r);if(null!=o)return t._=K(t,0,o),n(t,r,l)}}function X(e={},t){return(r,n)=>{let{section:i=en(r[0]).replace("-","")+"Color"}=e,[l,o]=ee(r.$$);if(!l)return;let u=n.theme(i,l)||er(l,i,n);if(!u||"object"==typeof u)return;let{opacityVariable:s=`--tw-${r[0].replace(/-$/,"")}-opacity`,opacitySection:a=i.replace("Color","Opacity"),property:c=i,selector:f}=e,p=n.theme(a,o||"DEFAULT")||o&&er(o,a,n),h=t||(({_:e})=>{let t=et(c,e);return f?{[f]:t}:t});r._={value:S(u,{opacityVariable:s||void 0,opacityValue:p||void 0}),color:e=>S(u,e),opacityVariable:s||void 0,opacityValue:p||void 0};let d=h(r,n);if(!r.dark){let g=n.d(i,l,u);g&&g!==u&&(r._={value:S(g,{opacityVariable:s||void 0,opacityValue:p||"1"}),color:e=>S(g,e),opacityVariable:s||void 0,opacityValue:p||void 0},d={"&":d,[n.v("dark")]:h(r,n)})}return d}}function ee(e){return(e.match(/^(\[[^\]]+]|[^/]+?)(?:\/(.+))?$/)||[]).slice(1)}function et(e,t){let r={};return"string"==typeof t?r[e]=t:(t.opacityVariable&&t.value.includes(t.opacityVariable)&&(r[t.opacityVariable]=t.opacityValue||"1"),r[e]=t.value),r}function er(e,t,r){if("["==e[0]&&"]"==e.slice(-1)){if(e=ei(C(e.slice(1,-1),r.theme)),!t)return e;if(!(/color|fill|stroke/i.test(t)&&!(/^color:/.test(e)||/^(#|((hsl|rgb)a?|hwb|lab|lch|color)\(|[a-z]+$)/.test(e))||/image/i.test(t)&&!(/^image:/.test(e)||/^[a-z-]+\(/.test(e))||/weight/i.test(t)&&!(/^(number|any):/.test(e)||/^\d+$/.test(e))||/position/i.test(t)&&/^(length|size):/.test(e)))return e.replace(/^[a-z-]+:/,"")}}function en(e){return e.replace(/-./g,e=>e[1].toUpperCase())}function ei(e){return e.includes("url(")?e.replace(/(.*?)(url\(.*?\))(.*?)/g,(e,t="",r,n="")=>ei(t)+r+ei(n)):e.replace(/(^|[^\\])_+/g,(e,t)=>t+" ".repeat(e.length-t.length)).replace(/\\_/g,"_").replace(/(calc|min|max|clamp)\(.+\)/g,e=>e.replace(/(-?\d*\.?\d(?!\b-.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g,"$1 $2 "))}let el=Symbol();function eo(e,t){if(null==e)return{};var r,n,i={},l=Object.keys(e);for(n=0;n<l.length;n++)r=l[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}function eu(e){var{presets:t=[]}=e,r=eo(e,["presets"]);let n={darkMode:void 0,darkColor:void 0,preflight:!1!==r.preflight&&[],theme:{},variants:u(r.variants),rules:u(r.rules),ignorelist:u(r.ignorelist),hash:void 0,stringify:(e,t)=>e+":"+t,finalize:[]};for(let i of u([...t,{darkMode:r.darkMode,darkColor:r.darkColor,preflight:!1!==r.preflight&&u(r.preflight),theme:r.theme,hash:r.hash,stringify:r.stringify,finalize:r.finalize}])){let{preflight:l,darkMode:o=n.darkMode,darkColor:s=n.darkColor,theme:a,variants:c,rules:f,ignorelist:p,hash:h=n.hash,stringify:d=n.stringify,finalize:g}="function"==typeof i?i(n):i;n={preflight:!1!==n.preflight&&!1!==l&&[...n.preflight,...u(l)],darkMode:o,darkColor:s,theme:m({},n.theme,a,{extend:m({},n.theme.extend,null==a?void 0:a.extend)}),variants:[...n.variants,...u(c)],rules:[...n.rules,...u(f)],ignorelist:[...n.ignorelist,...u(p)],hash:h,stringify:d,finalize:[...n.finalize,...u(g)]}}return n}function es(e,t,r,n,i,l){for(let o of t){let u=r.get(o);u||r.set(o,u=n(o));let s=u(e,i,l);if(s)return s}}function ea(e){var t;return ef(e[0],"function"==typeof(t=e[1])?t:()=>t)}function ec(e){var t,r;return Array.isArray(e)?ef(e[0],H(e[1],e[2])):ef(e,H(t,r))}function ef(e,t){return ep(e,(e,r,n,i)=>{let l=r.exec(e);if(l)return l.$$=e.slice(l[0].length),l.dark=i,t(l,n)})}function ep(e,t){let r=u(e).map(eh);return(e,n,i)=>{for(let l of r){let o=t(e,l,n,i);if(o)return o}}}function eh(e){return"string"==typeof e?RegExp("^"+e+(e.includes("$")||"-"==e.slice(-1)?"":"$")):e}function ed(e,t){let r=eu(e),n=function({theme:e,darkMode:t,darkColor:r=a,variants:n,rules:o,hash:c,stringify:f,ignorelist:p,finalize:h}){let d=new Map,g=new Map,y=new Map,v=new Map,b=ep(p,(e,t)=>t.test(e));n.push(["dark",Array.isArray(t)||"class"==t?`${u(t)[1]||".dark"} &`:"string"==typeof t&&"media"!=t?t:"@media (prefers-color-scheme:dark)"]);let $="function"==typeof c?e=>c(e,l):c?l:s;return $!==s&&h.push(e=>{var t;return m({},e,{n:e.n&&$(e.n),d:null==(t=e.d)?void 0:t.replace(/--(tw(?:-[\w-]+)?)\b/g,(e,t)=>"--"+$(t).replace("#",""))})}),{theme:function(e){var{extend:t={}}=e,r=eo(e,["extend"]);let n={},i={get colors(){return l("colors")},theme:l,negative:()=>({}),breakpoints(e){let t={};for(let r in e)"string"==typeof e[r]&&(t["screen-"+r]=e[r]);return t}};return l;function l(e,i,u,s){if(e){var a,c;if({1:e,2:s}=/^(\S+?)(?:\s*\/\s*([^/]+))?$/.exec(e)||[,e],/[.[]/.test(e)){let f=[];e.replace(/\[([^\]]+)\]|([^.[]+)/g,(e,t,r=t)=>f.push(r)),e=f.shift(),u=i,i=f.join("-")}let p=n[e]||Object.assign(Object.assign(n[e]={},o(r,e)),o(t,e));if(null==i)return p;i||(i="DEFAULT");let h=null!=(c=null!=(a=p[i])?a:i.split("-").reduce((e,t)=>null==e?void 0:e[t],p))?c:u;return s?S(h,{opacityValue:C(s,l)}):h}let d={};for(let g of[...Object.keys(r),...Object.keys(t)])d[g]=l(g);return d}function o(e,t){let r=e[t];return("function"==typeof r&&(r=r(i)),r&&/color|fill|stroke/i.test(t))?function e(t,r=[]){let n={};for(let i in t){let l=t[i],o=[...r,i];n[o.join("-")]=l,"DEFAULT"==i&&(o=r,n[r.join("-")]=l),"object"==typeof l&&Object.assign(n,e(l,o))}return n}(r):r}}(e),e:i,h:$,s(e,t){return f(e,t,this)},d(e,t,n){return r(e,t,this,n)},v(e){return d.has(e)||d.set(e,es(e,n,g,ea,this)||"&:"+e),d.get(e)},r(e,t){let r=JSON.stringify([e,t]);return y.has(r)||y.set(r,!b(e,this)&&es(e,o,v,ec,this,t)),y.get(r)},f(e){return h.reduce((e,t)=>t(e,this),e)}}}(r),o=new Map,f=[],p=new Set;function h(e){let r=n.f(e),i=v(r);if(i&&!p.has(i)){p.add(i);let l=x(f,e);t.insert(i,l,e),f.splice(l,0,e)}return r.n}return t.resume(e=>o.set(e,e),(e,r)=>{t.insert(e,f.length,r),f.push(r),p.add(e)}),Object.defineProperties(function(e){if(!o.size)for(let t of u(r.preflight))"function"==typeof t&&(t=t(n)),t&&("string"==typeof t?z("",c.b,F(t),n,c.b,[],!1,!0):M(t,{},n,c.b)).forEach(h);e=""+e;let i=o.get(e);if(!i){let l=new Set;for(let s of R(F(e),n))l.add(s.c).add(h(s));i=[...l].filter(Boolean).join(" "),o.set(e,i).set(i,i)}return i},Object.getOwnPropertyDescriptors({get target(){return t.target},theme:n.theme,config:r,snapshot(){let e=t.snapshot(),r=new Set(p),n=new Map(o),i=[...f];return()=>{e(),p=r,o=n,f=i}},clear(){t.clear(),p=new Set,o=new Map,f=[]},destroy(){this.clear(),t.destroy()}}))}function eg(e,t){return e!=t&&""+e.split(" ").sort()!=""+t.split(" ").sort()}function ey(e=eA,t=document.documentElement){if(!t)return e;let r=new MutationObserver(i);r.observe(t,{attributeFilter:["class"],subtree:!0,childList:!0}),l(t),i([{target:t,type:""}]);let{destroy:n}=e;return e.destroy=()=>{r.disconnect(),n.call(e)},e;function i(e){for(let{type:t,target:n}of e)if("a"==t[0])l(n);else for(let i of n.querySelectorAll("[class]"))l(i);r.takeRecords()}function l(t){let r;let n=t.getAttribute("class");n&&eg(n,r=e(n))&&t.setAttribute("class",r)}}function em(e){let t=document.querySelector(e||"style[data-twind]");return t&&"STYLE"==t.tagName||((t=document.createElement("style")).dataset.twind="",document.head.prepend(t)),t}function ev(e){let t=(null==e?void 0:e.cssRules)?e:(e&&"string"!=typeof e?e:em(e)).sheet;return{target:t,snapshot(){let e=Array.from(t.cssRules,e=>e.cssText);return()=>{this.clear(),e.forEach(this.insert)}},clear(){for(let e=t.cssRules.length;e--;)t.deleteRule(e)},destroy(){var e;null==(e=t.ownerNode)||e.remove()},insert(e,r){try{t.insertRule(e,r)}catch(n){t.insertRule(":root{}",r),/:-[mwo]/.test(e)}},resume:a}}function eb(e){let t=e&&"string"!=typeof e?e:em(e);return{target:t,snapshot(){let e=Array.from(t.childNodes,e=>e.textContent);return()=>{this.clear(),e.forEach(this.insert)}},clear(){t.textContent=""},destroy(){t.remove()},insert(e,r){t.insertBefore(document.createTextNode(e),t.childNodes[r]||null)},resume:a}}function e$(e,t){let r=e?eb():ev();return t||(r.resume=ex),r}function ew(e){return(e.ownerNode||e).textContent||(e.cssRules?Array.from(e.cssRules,e=>e.cssText):u(e)).join("")}function ex(e,t){let r=ew(this.target),n=/\/\*!([\da-z]+),([\da-z]+)(?:,(.+?))?\*\//g;if(n.test(r)){var i;let l;for(let o of(n.lastIndex=0,this.clear(),document.querySelectorAll("[class]")))e(o.getAttribute("class"));for(;i=n.exec(r),l&&t(r.slice(l.index+l[0].length,null==i?void 0:i.index),{p:parseInt(l[1],36),o:parseInt(l[2],36)/2,n:l[3]}),l=i;);}}let eA=new Proxy(a,{apply:(e,r,n)=>t(n[0]),get(e,r){let n=t[r];return"function"==typeof n?function(){return n.apply(t,arguments)}:n}});function ej(e={},r=e$,n){return null==t||t.destroy(),t=ey(ed(e,"function"==typeof r?r():r),n)}let ek=function e(t){return new Proxy(function(e,...r){return eO(t,"",e,r)},{get:(r,n)=>"bind"===n?e:n in r?r[n]:function(e,...r){return eO(t,n,e,r)}})}();function eO(e,t,r,n){return{toString(){let o=B(r,n),u=i(t+l(JSON.stringify([t,o])));return("function"==typeof e?e:eA)(G({[`@keyframes ${u}`]:B(r,n)})),u}}}function eS(e,t=eA){let r=t.snapshot(),n={html:eM(e,t),css:ew(t.target)};return r(),n}function eM(e,t=eA){let r="",n=0;return!function(e,t){let r=1,n=0,i="",l="",o=o=>{5==r&&"class"==l&&!1===t(n,o,i)&&(e="")};for(let u=0;u<e.length;u++){let s=e[u];1==r?"<"==s&&(r="!--"==e.substr(u+1,3)?4:3):4==r?">"==s&&"--"==e.slice(u-2,u)&&(r=1):i?s==i&&"\\"!=e[u-1]&&(o(u),r=2,i=""):'"'==s||"'"==s?(i=s,n+=1):">"==s?(o(u),r=1):r&&("="==s?(l=e.slice(n,u),r=5,n=u+1):"/"==s&&(r<5||">"==e[u+1])?(o(u),r=0):/\s/.test(s)&&(o(u),r=2,n=u+1))}}(e,(i,l,o)=>{var u;let s=e.slice(i,l),a=t(('"'==(u=o)?s.replace(/(=|\[)(?:&#39;|&apos;|&#x27;)|(?:&#39;|&apos;|&#x27;)(])/g,"$1'$2"):"'"==u?s.replace(/(=|\[)(?:&#34;|&quot;|&#x22;)|(?:&#34;|&quot;|&#x22;)(])/g,'$1"$2'):s).replace(/(&#38;|&amp;|&#x26;)/g,"&"));eg(s,a)&&(o=o?"":'"',r+=e.slice(n,i)+o+a+o,n=l)}),r+e.slice(n,e.length)}let eC=(e,t)=>"function"==typeof e?eE(t,e):eE(e);function eE(e={},t){let{label:r="style",base:n,props:o={},defaults:u,when:s=[]}=e,a=m({},null==t?void 0:t.defaults,u),f=l(JSON.stringify([r,null==t?void 0:t.className,n,o,a,s])),p=h("",n||"",c.c);function h(e,n,i){return N(((t?t.className.replace(/#.+$/,"~"):"")+r+e+f).replace(/[: ,()[\]]/,""),i,n&&F(n))}return Object.defineProperties(function(e){let r,n;Array.isArray(e)&&(r=!0,e=Object.fromEntries(new URLSearchParams(e[1]).entries()));let i=m({},a,e),l=r?"":(t?t(i)+" ":"")+p;for(let u in o){let c=o[u],f=i[u];if(f===Object(f)){let d="";for(let g in n="",f){let y=c[f[g]];y&&(d+="@"+g+"-"+f[g],n+=(n&&" ")+("_"==g?y:g+":("+y+")"))}n&&(l+=" "+h("--"+u+"-"+d,n,402653184))}else(n=c[f])&&(l+=" "+h("--"+u+"-"+f,n,402653184))}return s.forEach((e,t)=>{let r="";for(let o in e[0]){let u=i[o];if(u!==Object(u)&&""+u==""+e[0][o])r+=(r&&"_")+o+"-"+u;else{r="";break}}r&&(n=e[1])&&(l+=" "+h("-"+t+"--"+r,n,536870912))}),l},Object.getOwnPropertyDescriptors({className:p,defaults:a,selector:"."+i(p)}))}return e.animation=Y,e.apply=q,e.arbitrary=er,e.asArray=u,e.auto=function(e){if(document.currentScript){let t=()=>r.disconnect(),r=new MutationObserver(r=>{for(let{target:n}of r)if(n===document.body)return e(),t()});return r.observe(document.documentElement,{childList:!0,subtree:!0}),t}return a},e.autoDarkColor=function(e,t,{theme:r}){return r(e,t=t.replace(/\d+$/,e=>100*(9-~~(parseInt(e,10)/100)||.5)))},e.colorFromTheme=X,e.consume=eM,e.css=G,e.cssom=ev,e.cx=function(e,...t){return n(F(I(e,t))," ")},e.defineConfig=eu,e.dom=eb,e.escape=i,e.extract=eS,e.fromMatch=H,e.fromTheme=Q,e.getAutocompleteProvider=function(e){return e[el]},e.getSheet=e$,e.hash=l,e.identity=s,e.injectGlobal=function(e,...t){("function"==typeof this?this:eA)(G({"@layer base":B(e,t)}))},e.inline=function(e,t={}){let{tw:r=eA,minify:n=s}="function"==typeof t?{tw:t}:t,{html:i,css:l}=eS(e,r);return i.replace("</head>",`<style data-twind>${n(l,i)}</style></head>`)},e.install=function(e,t=!0){var r;let n=eu(e);return ej(m({},n,{hash:null!=(r=n.hash)?r:t}),()=>e$(!t))},e.keyframes=ek,e.match=function(e,t,r){return[e,H(t,r)]},e.matchColor=function(e,t={},r){return[e,X(t,r)]},e.matchTheme=function(e,t,r,n){return[e,Q(t,r,n)]},e.mql=o,e.noop=a,e.normalize=ei,e.observe=ey,e.parse=F,e.parseValue=ee,e.setup=ej,e.shortcut=D,e.stringify=ew,e.style=eC,e.toCSS=et,e.toColorValue=S,e.tw=eA,e.twind=ed,e.tx=function(e,...t){return("function"==typeof this?this:eA)(I(e,t))},e.virtual=function(e){let t=[];return{target:t,snapshot(){let e=[...t];return()=>{t.splice(0,t.length,...e)}},clear(){t.length=0},destroy(){this.clear()},insert(r,n,i){t.splice(n,0,e?`/*!${i.p.toString(36)},${(2*i.o).toString(36)}${i.n?","+i.n:""}*/${r}`:r)},resume:a}},e.withAutocomplete=function(e){return e},e}({});//# sourceMappingURL=core.global.js.map
var twind=function(e){"use strict";let t;function r(e){return[...e.v,(e.i?"!":"")+e.n].join(":")}function n(e,t=","){return e.map(r).join(t)}let i="undefined"!=typeof CSS&&CSS.escape||(e=>e.replace(/[!"'`*+.,;:\\/<=>?@#$%&^|~()[\]{}]/g,"\\$&").replace(/^\d/,"\\3$& "));function l(e){for(var t=9,r=e.length;r--;)t=Math.imul(t^e.charCodeAt(r),1597334677);return"#"+((t^t>>>9)>>>0).toString(36)}function o(e,t="@media "){return t+u(e).map(e=>("string"==typeof e&&(e={min:e}),e.raw||Object.keys(e).map(t=>`(${t}-width:${e[t]})`).join(" and "))).join(",")}function u(e=[]){return Array.isArray(e)?e:null==e?[]:[e]}function s(e){return e}function a(){}let c={d:0,b:134217728,c:268435456,a:671088640,u:805306368,o:939524096};function f(e){var t;return(null==(t=e.match(/[-=:;]/g))?void 0:t.length)||0}function p(e){return Math.min(/(?:^|width[^\d]+)(\d+(?:.\d+)?)(p)?/.test(e)?Math.max(0,29.63*(+RegExp.$1/(RegExp.$2?15:1))**.137-43):0,15)<<22|Math.min(f(e),15)<<18}let h=["rst-c","st-ch","h-chi","y-lin","nk","sited","ecked","pty","ad-on","cus-w","ver","cus","cus-v","tive","sable","tiona","quire"];function d({n:e,i:t,v:n=[]},i,l,s){for(let a of(e&&(e=r({n:e,i:t,v:n})),s=[...u(s)],n)){let c=i.theme("screens",a);for(let f of u(c&&o(c)||i.v(a))){var d;s.push(f),l|=c?67108864|p(f):"dark"==a?1073741824:"@"==f[0]?p(f):(d=f,1<<~(/:([a-z-]+)/.test(d)&&~h.indexOf(RegExp.$1.slice(2,7))||-18))}}return{n:e,p:l,r:s,i:t}}let g=new Map;function y(){return(y=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function m(){return y.apply(this,arguments)}function v(e){if(e.d){let t=[],r=b(e.r.reduce((e,r)=>"@"==r[0]?(t.push(r),e):r?b(e,e=>b(r,t=>{let r=/(:merge\(.+?\))(:[a-z-]+|\\[.+])/.exec(t);if(r){let n=e.indexOf(r[1]);return~n?e.slice(0,n)+r[0]+e.slice(n+r[1].length):$(e,t)}return $(t,e)})):e,"&"),t=>$(t,e.n?"."+i(e.n):""));return r&&t.push(r.replace(/:merge\((.+?)\)/g,"$1")),t.reduceRight((e,t)=>t+"{"+e+"}",e.d)}}function b(e,t){return e.replace(/ *((?:\(.+?\)|\[.+?\]|[^,])+) *(,|$)/g,(e,r,n)=>t(r)+n)}function $(e,t){return e.replace(/&/g,t)}let w=new Intl.Collator("en",{numeric:!0});function x(e,t){for(var r=0,n=e.length;r<n;){let i=n+r>>1;0>=A(e[i],t)?r=i+1:n=i}return n}function A(e,t){let r=e.p&c.o;return r==(t.p&c.o)&&(r==c.b||r==c.o)?0:e.p-t.p||e.o-t.o||w.compare(j(e.n),j(t.n))||w.compare(k(e.n),k(t.n))}function j(e){return(e||"").split(/:/).pop().split("/").pop()||"\0"}function k(e){return(e||"").replace(/\W/g,e=>String.fromCharCode(127+e.charCodeAt(0)))+"\0"}function O(e,t){return Math.round(parseInt(e,16)*t)}function S(e,t={}){if("function"==typeof e)return e(t);let{opacityValue:r="1",opacityVariable:n}=t,i=n?`var(${n})`:r;if(e.includes("<alpha-value>"))return e.replace("<alpha-value>",i);if("#"==e[0]&&(4==e.length||7==e.length)){let l=(e.length-1)/3,o=[17,1,.062272][l-1];return`rgba(${[O(e.substr(1,l),o),O(e.substr(1+l,l),o),O(e.substr(1+2*l,l),o),i]})`}return"1"==i?e:"0"==i?"#0000":e.replace(/^(rgb|hsl)(\([^)]+)\)$/,`$1a$2,${i})`)}function M(e,t,r,n,i=[]){return function e(t,{n:r,p:n,r:i=[],i:s},a){let h=[],d="",g=0,y=0;for(let m in t||{}){var b,$;let w=t[m];if("@"==m[0]){if(!w)continue;if("a"==m[1]){h.push(...z(r,n,F(""+w),a,n,i,s,!0));continue}if("l"==m[1]){for(let x of u(w))h.push(...e(x,{n:r,p:(b=c[m[7]],n&~c.o|b),r:i,i:s},a));continue}if("i"==m[1]){h.push(...u(w).map(e=>({p:-1,o:0,r:[],d:m+" "+e})));continue}if("k"==m[1]){h.push({p:c.d,o:0,r:[m],d:e(w,{p:c.d},a).map(v).join("")});continue}if("f"==m[1]){h.push(...u(w).map(t=>({p:c.d,o:0,r:[m],d:e(t,{p:c.d},a).map(v).join("")})));continue}}if("object"!=typeof w||Array.isArray(w))"label"==m&&w?r=w+l(JSON.stringify([n,s,t])):(w||0===w)&&(m=m.replace(/[A-Z]/g,e=>"-"+e.toLowerCase()),y+=1,g=Math.max(g,"-"==($=m)[0]?0:f($)+(/^(?:(border-(?!w|c|sty)|[tlbr].{2,4}m?$|c.{7,8}$)|([fl].{5}l|g.{8}$|pl))/.test($)?+!!RegExp.$1||-!!RegExp.$2:0)+1),d+=(d?";":"")+u(w).map(e=>a.s(m,C(""+e,a.theme)+(s?" !important":""))).join(";"));else if("@"==m[0]||m.includes("&")){let j=n;"@"==m[0]&&(m=m.replace(/\bscreen\(([^)]+)\)/g,(e,t)=>{let r=a.theme("screens",t);return r?(j|=67108864,o(r,"")):e}),j|=p(m)),h.push(...e(w,{n:r,p:j,r:[...i,m],i:s},a))}else h.push(...e(w,{p:n,r:[...i,m]},a))}return h.unshift({n:r,p:n,o:Math.max(0,15-y)+1.5*Math.min(g||15,15),r:i,d:d}),h.sort(A)}(e,d(t,r,n,i),r)}function C(e,t){return e.replace(/theme\((["'`])?(.+?)\1(?:\s*,\s*(["'`])?(.+?)\3)?\)/g,(e,r,n,i,l="")=>{let o=t(n,l);return"function"==typeof o&&/color|fill|stroke/i.test(n)?S(o):""+u(o).filter(e=>Object(e)!==e)})}function E(e,t){let r;let n=[];for(let i of e)i.d&&i.n?(null==r?void 0:r.p)==i.p&&""+r.r==""+i.r?(r.c=[r.c,i.c].filter(Boolean).join(" "),r.d=r.d+";"+i.d):n.push(r=m({},i,{n:i.n&&t})):n.push(m({},i,{n:i.n&&t}));return n}function R(e,t,n=c.u,i,l){let o=[];for(let s of e)for(let a of function(e,t,n,i,l){var o;e=m({},e,{i:e.i||l});let s=function(e,t){let r=g.get(e.n);return r?r(e,t):t.r(e.n,"dark"==e.v[0])}(e,t);return s?"string"==typeof s?({r:i,p:n}=d(e,t,n,i),E(R(F(s),t,n,i,e.i),e.n)):Array.isArray(s)?s.map(e=>{var t,r;return m({o:0},e,{r:[...u(i),...u(e.r)],p:(t=n,r=null!=(o=e.p)?o:n,t&~c.o|r)})}):M(s,e,t,n,i):[{c:r(e),p:0,o:0,r:[]}]}(s,t,n,i,l))o.splice(x(o,a),0,a);return o}function z(e,t,r,n,i,l,o,u){return E((u?r.flatMap(e=>R([e],n,i,l,o)):R(r,n,i,l,o)).map(e=>e.p&c.o&&(e.n||t==c.b)?m({},e,{p:e.p&~c.o|t,o:0}):e),e)}function N(e,t,r,n){var i;return i=(e,i)=>{let{n:l,p:o,r:u,i:s}=d(e,i,t);return r&&z(l,t,r,i,o,u,s,n)},g.set(e,i),e}function V(e,t){if("("!=e[e.length-1]){let r=[],n=!1,i=!1,l="";for(let o of e)if(!("("==o||/[~@]$/.test(o))){if("!"==o[0]&&(o=o.slice(1),n=!n),o.endsWith(":")){r["dark:"==o?"unshift":"push"](o.slice(0,-1));continue}"-"==o[0]&&(o=o.slice(1),i=!i),o.endsWith("-")&&(o=o.slice(0,-1)),o&&"&"!=o&&(l+=(l&&"-")+o)}l&&(i&&(l="-"+l),t[0].push({n:l,v:r.filter(P),i:n}))}}function P(e,t,r){return r.indexOf(e)==t}let T=new Map;function F(e){let t=T.get(e);if(!t){let r=[],i=[[]],o=0,u=0,s=null,a=0,f=(t,n=0)=>{o!=a&&(r.push(e.slice(o,a+n)),t&&V(r,i)),o=a+1};for(;a<e.length;a++){let p=e[a];if(u)"\\"!=e[a-1]&&(u+=+("["==p)||-("]"==p));else if("["==p)u+=1;else if(s)"\\"!=e[a-1]&&s.test(e.slice(a))&&(s=null,o=a+RegExp.lastMatch.length);else if("/"==p&&"\\"!=e[a-1]&&("*"==e[a+1]||"/"==e[a+1]))s="*"==e[a+1]?/^\*\//:/^[\r\n]/;else if("("==p)f(),r.push(p);else if(":"==p)":"!=e[a+1]&&f(!1,1);else if(/[\s,)]/.test(p)){f(!0);let h=r.lastIndexOf("(");if(")"==p){let d=r[h-1];if(/[~@]$/.test(d)){let g=i.shift();r.length=h,V([...r,"#"],i);let{v:y}=i[0].pop();for(let m of g)m.v.splice(+("dark"==m.v[0])-+("dark"==y[0]),y.length);V([...r,N(d.length>1?d.slice(0,-1)+l(JSON.stringify([d,g])):d+"("+n(g)+")",c.a,g,/@$/.test(d))],i)}h=r.lastIndexOf("(",h-1)}r.length=h+1}else/[~@]/.test(p)&&"("==e[a+1]&&i.unshift([])}f(!0),T.set(e,t=i[0])}return t}function _(e,t,r){return t.reduce((t,n,i)=>t+r(n)+e[i+1],e[0])}function I(e,t){return Array.isArray(e)&&Array.isArray(e.raw)?_(e,t,e=>L(e).trim()):t.filter(Boolean).reduce((e,t)=>e+L(t),e?L(e):"")}function L(e){let t,r="";if(e&&"object"==typeof e){if(Array.isArray(e))(t=I(e[0],e.slice(1)))&&(r+=" "+t);else for(let n in e)e[n]&&(r+=" "+n)}else null!=e&&"boolean"!=typeof e&&(r+=" "+e);return r}let q=J("@"),D=J("~");function J(e){return new Proxy(function(e,...r){return t("",e,r)},{get:(e,r)=>r in e?e[r]:function(e,...n){return t(r,e,n)}});function t(t,r,i){return n(F(t+e+"("+I(r,i)+")"))}}function B(e,t){return Array.isArray(e)?W(_(e,t,e=>null!=e&&"boolean"!=typeof e?e:"")):"string"==typeof e?W(e):[e]}let U=/ *(?:(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}))/g;function W(e){let t;e=e.replace(/\/\*[^]*?\*\/|\s\s+|\n/gm," ");let r=[{}],n=[r[0]],i=[];for(;t=U.exec(e);)t[4]&&(r.shift(),i.shift()),t[3]?(i.unshift(t[3]),r.unshift({}),n.push(i.reduce((e,t)=>({[t]:e}),r[0]))):t[4]||(r[0][t[1]]&&(r.unshift({}),n.push(i.reduce((e,t)=>({[t]:e}),r[0]))),r[0][t[1]]=t[2]);return n}function G(e,...t){var r,n;let i=B(e,t),o=((null==(r=i.find(e=>e.label))?void 0:r.label)||"css")+l(JSON.stringify(i));return n=(e,t)=>E(i.flatMap(r=>M(r,e,t,c.o)),o),g.set(o,n),o}let Y=new Proxy(function(e,t){return Z("animation",e,t)},{get:(e,t)=>t in e?e[t]:function(e,r){return Z(t,e,r)}});function Z(e,t,r){return{toString:()=>G({label:e,"@layer components":m({},"object"==typeof t?t:{animation:t},{animationName:""+r})})}}function H(e,t){return"function"==typeof e?e:"string"==typeof e&&/^[\w-]+$/.test(e)?(r,n)=>({[e]:t?t(r,n):K(r,1)}):t=>e||{[t[1]]:K(t,2)}}function K(e,t,r=e.slice(t).find(Boolean)||e.$$||e.input){return"-"==e.input[0]?`calc(${r} * -1)`:r}function Q(e,t,r){let n="string"==typeof t?(e,n)=>({[t]:r?r(e,n):e._}):t||(({1:e,_:t},r,n)=>({[e||n]:t}));return(t,r)=>{var i;let l=en(e||t[1]),o=null!=(i=r.theme(l,t.$$))?i:er(t.$$,l,r);if(null!=o)return t._=K(t,0,o),n(t,r,l)}}function X(e={},t){return(r,n)=>{let{section:i=en(r[0]).replace("-","")+"Color"}=e,[l,o]=ee(r.$$);if(!l)return;let u=n.theme(i,l)||er(l,i,n);if(!u||"object"==typeof u)return;let{opacityVariable:s=`--tw-${r[0].replace(/-$/,"")}-opacity`,opacitySection:a=i.replace("Color","Opacity"),property:c=i,selector:f}=e,p=n.theme(a,o||"DEFAULT")||o&&er(o,a,n),h=t||(({_:e})=>{let t=et(c,e);return f?{[f]:t}:t});r._={value:S(u,{opacityVariable:s||void 0,opacityValue:p||void 0}),color:e=>S(u,e),opacityVariable:s||void 0,opacityValue:p||void 0};let d=h(r,n);if(!r.dark){let g=n.d(i,l,u);g&&g!==u&&(r._={value:S(g,{opacityVariable:s||void 0,opacityValue:p||"1"}),color:e=>S(g,e),opacityVariable:s||void 0,opacityValue:p||void 0},d={"&":d,[n.v("dark")]:h(r,n)})}return d}}function ee(e){return(e.match(/^(\[[^\]]+]|[^/]+?)(?:\/(.+))?$/)||[]).slice(1)}function et(e,t){let r={};return"string"==typeof t?r[e]=t:(t.opacityVariable&&t.value.includes(t.opacityVariable)&&(r[t.opacityVariable]=t.opacityValue||"1"),r[e]=t.value),r}function er(e,t,r){if("["==e[0]&&"]"==e.slice(-1)){if(e=ei(C(e.slice(1,-1),r.theme)),!t)return e;if(!(/color|fill|stroke/i.test(t)&&!(/^color:/.test(e)||/^(#|((hsl|rgb)a?|hwb|lab|lch|color)\(|[a-z]+$)/.test(e))||/image/i.test(t)&&!(/^image:/.test(e)||/^[a-z-]+\(/.test(e))||/weight/i.test(t)&&!(/^(number|any):/.test(e)||/^\d+$/.test(e))||/position/i.test(t)&&/^(length|size):/.test(e)))return e.replace(/^[a-z-]+:/,"")}}function en(e){return e.replace(/-./g,e=>e[1].toUpperCase())}function ei(e){return e.includes("url(")?e.replace(/(.*?)(url\(.*?\))(.*?)/g,(e,t="",r,n="")=>ei(t)+r+ei(n)):e.replace(/(^|[^\\])_+/g,(e,t)=>t+" ".repeat(e.length-t.length)).replace(/\\_/g,"_").replace(/(calc|min|max|clamp)\(.+\)/g,e=>e.replace(/(-?\d*\.?\d(?!\b-.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g,"$1 $2 "))}let el=Symbol();function eo(e,t){if(null==e)return{};var r,n,i={},l=Object.keys(e);for(n=0;n<l.length;n++)r=l[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}function eu(e){var{presets:t=[]}=e,r=eo(e,["presets"]);let n={darkMode:void 0,darkColor:void 0,preflight:!1!==r.preflight&&[],theme:{},variants:u(r.variants),rules:u(r.rules),ignorelist:u(r.ignorelist),hash:void 0,stringify:(e,t)=>e+":"+t,finalize:[]};for(let i of u([...t,{darkMode:r.darkMode,darkColor:r.darkColor,preflight:!1!==r.preflight&&u(r.preflight),theme:r.theme,hash:r.hash,stringify:r.stringify,finalize:r.finalize}])){let{preflight:l,darkMode:o=n.darkMode,darkColor:s=n.darkColor,theme:a,variants:c,rules:f,ignorelist:p,hash:h=n.hash,stringify:d=n.stringify,finalize:g}="function"==typeof i?i(n):i;n={preflight:!1!==n.preflight&&!1!==l&&[...n.preflight,...u(l)],darkMode:o,darkColor:s,theme:m({},n.theme,a,{extend:m({},n.theme.extend,null==a?void 0:a.extend)}),variants:[...n.variants,...u(c)],rules:[...n.rules,...u(f)],ignorelist:[...n.ignorelist,...u(p)],hash:h,stringify:d,finalize:[...n.finalize,...u(g)]}}return n}function es(e,t,r,n,i,l){for(let o of t){let u=r.get(o);u||r.set(o,u=n(o));let s=u(e,i,l);if(s)return s}}function ea(e){var t;return ef(e[0],"function"==typeof(t=e[1])?t:()=>t)}function ec(e){var t,r;return Array.isArray(e)?ef(e[0],H(e[1],e[2])):ef(e,H(t,r))}function ef(e,t){return ep(e,(e,r,n,i)=>{let l=r.exec(e);if(l)return l.$$=e.slice(l[0].length),l.dark=i,t(l,n)})}function ep(e,t){let r=u(e).map(eh);return(e,n,i)=>{for(let l of r){let o=t(e,l,n,i);if(o)return o}}}function eh(e){return"string"==typeof e?RegExp("^"+e+(e.includes("$")||"-"==e.slice(-1)?"":"$")):e}function ed(e,t){let r=eu(e),n=function({theme:e,darkMode:t,darkColor:r=a,variants:n,rules:o,hash:c,stringify:f,ignorelist:p,finalize:h}){let d=new Map,g=new Map,y=new Map,v=new Map,b=ep(p,(e,t)=>t.test(e));n.push(["dark",Array.isArray(t)||"class"==t?`${u(t)[1]||".dark"} &`:"string"==typeof t&&"media"!=t?t:"@media (prefers-color-scheme:dark)"]);let $="function"==typeof c?e=>c(e,l):c?l:s;return $!==s&&h.push(e=>{var t;return m({},e,{n:e.n&&$(e.n),d:null==(t=e.d)?void 0:t.replace(/--(tw(?:-[\w-]+)?)\b/g,(e,t)=>"--"+$(t).replace("#",""))})}),{theme:function(e){var{extend:t={}}=e,r=eo(e,["extend"]);let n={},i={get colors(){return l("colors")},theme:l,negative:()=>({}),breakpoints(e){let t={};for(let r in e)"string"==typeof e[r]&&(t["screen-"+r]=e[r]);return t}};return l;function l(e,i,u,s){if(e){var a,c;if({1:e,2:s}=/^(\S+?)(?:\s*\/\s*([^/]+))?$/.exec(e)||[,e],/[.[]/.test(e)){let f=[];e.replace(/\[([^\]]+)\]|([^.[]+)/g,(e,t,r=t)=>f.push(r)),e=f.shift(),u=i,i=f.join("-")}let p=n[e]||Object.assign(Object.assign(n[e]={},o(r,e)),o(t,e));if(null==i)return p;i||(i="DEFAULT");let h=null!=(c=null!=(a=p[i])?a:i.split("-").reduce((e,t)=>null==e?void 0:e[t],p))?c:u;return s?S(h,{opacityValue:C(s,l)}):h}let d={};for(let g of[...Object.keys(r),...Object.keys(t)])d[g]=l(g);return d}function o(e,t){let r=e[t];return("function"==typeof r&&(r=r(i)),r&&/color|fill|stroke/i.test(t))?function e(t,r=[]){let n={};for(let i in t){let l=t[i],o=[...r,i];n[o.join("-")]=l,"DEFAULT"==i&&(o=r,n[r.join("-")]=l),"object"==typeof l&&Object.assign(n,e(l,o))}return n}(r):r}}(e),e:i,h:$,s(e,t){return f(e,t,this)},d(e,t,n){return r(e,t,this,n)},v(e){return d.has(e)||d.set(e,es(e,n,g,ea,this)||"&:"+e),d.get(e)},r(e,t){let r=JSON.stringify([e,t]);return y.has(r)||y.set(r,!b(e,this)&&es(e,o,v,ec,this,t)),y.get(r)},f(e){return h.reduce((e,t)=>t(e,this),e)}}}(r),o=new Map,f=[],p=new Set;function h(e){let r=n.f(e),i=v(r);if(i&&!p.has(i)){p.add(i);let l=x(f,e);t.insert(i,l,e),f.splice(l,0,e)}return r.n}return t.resume(e=>o.set(e,e),(e,r)=>{t.insert(e,f.length,r),f.push(r),p.add(e)}),Object.defineProperties(function(e){if(!o.size)for(let t of u(r.preflight))"function"==typeof t&&(t=t(n)),t&&("string"==typeof t?z("",c.b,F(t),n,c.b,[],!1,!0):M(t,{},n,c.b)).forEach(h);e=""+e;let i=o.get(e);if(!i){let l=new Set;for(let s of R(F(e),n))l.add(s.c).add(h(s));i=[...l].filter(Boolean).join(" "),o.set(e,i).set(i,i)}return i},Object.getOwnPropertyDescriptors({get target(){return t.target},theme:n.theme,config:r,snapshot(){let e=t.snapshot(),r=new Set(p),n=new Map(o),i=[...f];return()=>{e(),p=r,o=n,f=i}},clear(){t.clear(),p=new Set,o=new Map,f=[]},destroy(){this.clear(),t.destroy()}}))}function eg(e,t){return e!=t&&""+e.split(" ").sort()!=""+t.split(" ").sort()}function ey(e=eA,t=document.documentElement){if(!t)return e;let r=new MutationObserver(i);r.observe(t,{attributeFilter:["class"],subtree:!0,childList:!0}),l(t),i([{target:t,type:""}]);let{destroy:n}=e;return e.destroy=()=>{r.disconnect(),n.call(e)},e;function i(e){for(let{type:t,target:n}of e)if("a"==t[0])l(n);else for(let i of n.querySelectorAll("[class]"))l(i);r.takeRecords()}function l(t){let r;let n=t.getAttribute("class");n&&eg(n,r=e(n))&&t.setAttribute("class",r)}}function em(e){let t=document.querySelector(e||"style[data-twind]");return t&&"STYLE"==t.tagName||((t=document.createElement("style")).dataset.twind="",document.head.prepend(t)),t}function ev(e){let t=(null==e?void 0:e.cssRules)?e:(e&&"string"!=typeof e?e:em(e)).sheet;return{target:t,snapshot(){let e=Array.from(t.cssRules,e=>e.cssText);return()=>{this.clear(),e.forEach(this.insert)}},clear(){for(let e=t.cssRules.length;e--;)t.deleteRule(e)},destroy(){var e;null==(e=t.ownerNode)||e.remove()},insert(e,r){try{t.insertRule(e,r)}catch(n){t.insertRule(":root{}",r)}},resume:a}}function eb(e){let t=e&&"string"!=typeof e?e:em(e);return{target:t,snapshot(){let e=Array.from(t.childNodes,e=>e.textContent);return()=>{this.clear(),e.forEach(this.insert)}},clear(){t.textContent=""},destroy(){t.remove()},insert(e,r){t.insertBefore(document.createTextNode(e),t.childNodes[r]||null)},resume:a}}function e$(e,t){let r=e?eb():ev();return t||(r.resume=ex),r}function ew(e){return(e.ownerNode||e).textContent||(e.cssRules?Array.from(e.cssRules,e=>e.cssText):u(e)).join("")}function ex(e,t){let r=ew(this.target),n=/\/\*!([\da-z]+),([\da-z]+)(?:,(.+?))?\*\//g;if(n.test(r)){var i;let l;for(let o of(n.lastIndex=0,this.clear(),document.querySelectorAll("[class]")))e(o.getAttribute("class"));for(;i=n.exec(r),l&&t(r.slice(l.index+l[0].length,null==i?void 0:i.index),{p:parseInt(l[1],36),o:parseInt(l[2],36)/2,n:l[3]}),l=i;);}}let eA=new Proxy(a,{apply:(e,r,n)=>t(n[0]),get(e,r){let n=t[r];return"function"==typeof n?function(){return n.apply(t,arguments)}:n}});function ej(e={},r=e$,n){return null==t||t.destroy(),t=ey(ed(e,"function"==typeof r?r():r),n)}let ek=function e(t){return new Proxy(function(e,...r){return eO(t,"",e,r)},{get:(r,n)=>"bind"===n?e:n in r?r[n]:function(e,...r){return eO(t,n,e,r)}})}();function eO(e,t,r,n){return{toString(){let o=B(r,n),u=i(t+l(JSON.stringify([t,o])));return("function"==typeof e?e:eA)(G({[`@keyframes ${u}`]:B(r,n)})),u}}}function eS(e,t=eA){let r=t.snapshot(),n={html:eM(e,t),css:ew(t.target)};return r(),n}function eM(e,t=eA){let r="",n=0;return!function(e,t){let r=1,n=0,i="",l="",o=o=>{5==r&&"class"==l&&!1===t(n,o,i)&&(e="")};for(let u=0;u<e.length;u++){let s=e[u];1==r?"<"==s&&(r="!--"==e.substr(u+1,3)?4:3):4==r?">"==s&&"--"==e.slice(u-2,u)&&(r=1):i?s==i&&"\\"!=e[u-1]&&(o(u),r=2,i=""):'"'==s||"'"==s?(i=s,n+=1):">"==s?(o(u),r=1):r&&("="==s?(l=e.slice(n,u),r=5,n=u+1):"/"==s&&(r<5||">"==e[u+1])?(o(u),r=0):/\s/.test(s)&&(o(u),r=2,n=u+1))}}(e,(i,l,o)=>{var u;let s=e.slice(i,l),a=t(('"'==(u=o)?s.replace(/(=|\[)(?:&#39;|&apos;|&#x27;)|(?:&#39;|&apos;|&#x27;)(])/g,"$1'$2"):"'"==u?s.replace(/(=|\[)(?:&#34;|&quot;|&#x22;)|(?:&#34;|&quot;|&#x22;)(])/g,'$1"$2'):s).replace(/(&#38;|&amp;|&#x26;)/g,"&"));eg(s,a)&&(o=o?"":'"',r+=e.slice(n,i)+o+a+o,n=l)}),r+e.slice(n,e.length)}let eC=(e,t)=>"function"==typeof e?eE(t,e):eE(e);function eE(e={},t){let{label:r="style",base:n,props:o={},defaults:u,when:s=[]}=e,a=m({},null==t?void 0:t.defaults,u),f=l(JSON.stringify([r,null==t?void 0:t.className,n,o,a,s])),p=h("",n||"",c.c);function h(e,n,i){return N(((t?t.className.replace(/#.+$/,"~"):"")+r+e+f).replace(/[: ,()[\]]/,""),i,n&&F(n))}return Object.defineProperties(function(e){let r,n;Array.isArray(e)&&(r=!0,e=Object.fromEntries(new URLSearchParams(e[1]).entries()));let i=m({},a,e),l=r?"":(t?t(i)+" ":"")+p;for(let u in o){let c=o[u],f=i[u];if(f===Object(f)){let d="";for(let g in n="",f){let y=c[f[g]];y&&(d+="@"+g+"-"+f[g],n+=(n&&" ")+("_"==g?y:g+":("+y+")"))}n&&(l+=" "+h("--"+u+"-"+d,n,402653184))}else(n=c[f])&&(l+=" "+h("--"+u+"-"+f,n,402653184))}return s.forEach((e,t)=>{let r="";for(let o in e[0]){let u=i[o];if(u!==Object(u)&&""+u==""+e[0][o])r+=(r&&"_")+o+"-"+u;else{r="";break}}r&&(n=e[1])&&(l+=" "+h("-"+t+"--"+r,n,536870912))}),l},Object.getOwnPropertyDescriptors({className:p,defaults:a,selector:"."+i(p)}))}return e.animation=Y,e.apply=q,e.arbitrary=er,e.asArray=u,e.auto=function(e){if(document.currentScript){let t=()=>r.disconnect(),r=new MutationObserver(r=>{for(let{target:n}of r)if(n===document.body)return e(),t()});return r.observe(document.documentElement,{childList:!0,subtree:!0}),t}return a},e.autoDarkColor=function(e,t,{theme:r}){return r(e,t=t.replace(/\d+$/,e=>100*(9-~~(parseInt(e,10)/100)||.5)))},e.colorFromTheme=X,e.consume=eM,e.css=G,e.cssom=ev,e.cx=function(e,...t){return n(F(I(e,t))," ")},e.defineConfig=eu,e.dom=eb,e.escape=i,e.extract=eS,e.fromMatch=H,e.fromTheme=Q,e.getAutocompleteProvider=function(e){return e[el]},e.getSheet=e$,e.hash=l,e.identity=s,e.injectGlobal=function(e,...t){("function"==typeof this?this:eA)(G({"@layer base":B(e,t)}))},e.inline=function(e,t={}){let{tw:r=eA,minify:n=s}="function"==typeof t?{tw:t}:t,{html:i,css:l}=eS(e,r);return i.replace("</head>",`<style data-twind>${n(l,i)}</style></head>`)},e.install=function(e,t=!0){var r;let n=eu(e);return ej(m({},n,{hash:null!=(r=n.hash)?r:t}),()=>e$(!t))},e.keyframes=ek,e.match=function(e,t,r){return[e,H(t,r)]},e.matchColor=function(e,t={},r){return[e,X(t,r)]},e.matchTheme=function(e,t,r,n){return[e,Q(t,r,n)]},e.mql=o,e.noop=a,e.normalize=ei,e.observe=ey,e.parse=F,e.parseValue=ee,e.setup=ej,e.shortcut=D,e.stringify=ew,e.style=eC,e.toCSS=et,e.toColorValue=S,e.tw=eA,e.twind=ed,e.tx=function(e,...t){return("function"==typeof this?this:eA)(I(e,t))},e.virtual=function(e){let t=[];return{target:t,snapshot(){let e=[...t];return()=>{t.splice(0,t.length,...e)}},clear(){t.length=0},destroy(){this.clear()},insert(r,n,i){t.splice(n,0,e?`/*!${i.p.toString(36)},${(2*i.o).toString(36)}${i.n?","+i.n:""}*/${r}`:r)},resume:a}},e.withAutocomplete=function(e){return e},e}({});//# sourceMappingURL=core.global.js.map
{
"name": "@twind/core",
"version": "1.1.0-next-20221214212338",
"version": "1.1.0-next-20221214220313",
"description": "The core engine without any presets.",

@@ -51,2 +51,3 @@ "type": "module",

"module": "./core.dev.js",
"worker": "./core.dev.js",
"browser": "./core.browser.dev.js",

@@ -62,2 +63,3 @@ "script": "./core.global.dev.js",

"module": "./core.js",
"worker": "./core.js",
"browser": "./core.browser.js",

@@ -90,2 +92,3 @@ "script": "./core.global.js",

"module": "./core.js",
"worker": "./core.js",
"esnext": "./core.esnext.js",

@@ -92,0 +95,0 @@ "unpkg": "./core.global.js",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc